Length Measurement on Pictures

1 view (last 30 days)
Hi,
i have images with fibres on them and I need a simple way to measure the length of those fibres.
My idea is, that I can add a starting point and several points in between the starting point and a endpoint, maybe just by left mouse click, and finish the process by right click. Since not all the fibres at straight but also curved, I need more than a starting and end point.
What would be the easiest way to write a program for that? Using GUI? Any ideas ? :)
Thanks for your help
  6 Comments
Ryan
Ryan on 8 Jun 2012
I'll play with it in my free time at work tomorrow, see if I can figure something out quickly to segment it.
Steffen
Steffen on 8 Jun 2012
well good luck, i have tested the code of a guy who wrote a whole master thesis about this problem.
but if you find a way, it would be great ;)

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 8 Jun 2012
That looks tough. I can foresee A LOT of false positives and false negatives. You might have to combine a multitude of approaches, like thresholding, edge detection, Hough() or Houghlines(), morphological filters, etc. Or do some research on ridge and valley detection: http://en.wikipedia.org/wiki/Ridge_detection
  6 Comments
Image Analyst
Image Analyst on 8 Jun 2012
Ryan, I don't believe Canny uses ridge detection: http://en.wikipedia.org/wiki/Canny_edge_detector
Ryan
Ryan on 8 Jun 2012
I was under the impression that the nonmaximal supression step in Canny edge detection was needed as a result of the ridges that result in the gradient calculation.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!