Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fitting lines on small pixel clusters

Is there an existing function in OpenCV that allows line-fitting across the major axis of bright pixel clusters? (see below) I want to automate the detection of short filaments in a series of images.

I have tried fitting the minimum bounding box around these features, but with little accuracy. I also found skeletonizing (using the Zhang-Suen method) these features quite difficult, as it seems to connect what used to be distinct pixel clusters.

image description