11
$\begingroup$

I am completely new to image analysis. Do you know how to binarize this image in such a way to get the fibers only?

enter image description here

A step by step procedure would be awesome, but any hint is appreciated as well. I can use Matlab, .NET and I am open to any other tool.

PS: At this address you can find the same question

$\endgroup$
9
$\begingroup$

Hough transform is your friend. Basicaly it deals with straight lines (and almost all fibers in your example are straight). You can find open source implementation in OpenCV (here is doc + result example).

Moreover there is some generalizations that able to detect custom shapes.
P.S. Since you're using C#, OpenCV wrapper could be helpfull for you.

$\endgroup$
3
$\begingroup$

In my experience, the results are not good if you do not use a proper low pass filter as you clearly stated that you do not want noise. Also, for usage in Hough Transform, you have lot of option to change in order to detect. Length of line segment and angle of the line segments, you may adjust what you want. Hough Transform Result with little noise

$\endgroup$
1
$\begingroup$

I concur about Hough transform, but before it would be good to pass image through the edge detector (Canny is preferable and available in OpenCV)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.