How to measure distance between two lines in an image?

4 views (last 30 days)
I want to measure the distance between the two red coloured lines marked in the image (Lines are supposed to be straight).
I don't know the pixel location of these lines. The distance is supposed to be in micrometers. How can I do it?

Accepted Answer

Image Analyst
Image Analyst on 21 Mar 2021
How about imdistline() or improfile()?
  3 Comments
Image Analyst
Image Analyst on 22 Mar 2021
Can you state in words, exactly where you would place the endpoints of the lines?
Praveen Kumar Kandavel
Praveen Kumar Kandavel on 22 Mar 2021
the vertical length of the upper part of brown region (above the bisecting line) in the left side and the horizontal length between the edge and center of the S-curve on the right side as mentioned in the image

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!