Length Measurement on Pictures

조회 수: 1 (최근 30일)
Steffen
Steffen 2012년 6월 7일
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
Ryan
Ryan 2012년 6월 8일
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 2012년 6월 8일
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 ;)

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2012년 6월 8일
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
Image Analyst
Image Analyst 2012년 6월 8일
Ryan, I don't believe Canny uses ridge detection: http://en.wikipedia.org/wiki/Canny_edge_detector
Ryan
Ryan 2012년 6월 8일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by