How do I calculate the distance between two user selected points on an image and use the calibration to get the real life distance?

2 views (last 30 days)
I am trying to use the calibration image (scale.jpg) to calculate the distance (in centimeter) between two points on the image (stacked_image.jpg). Can someone please help me with this. scale.jpg

Answers (1)

Bhargavi Maganuru
Bhargavi Maganuru on 11 Feb 2020
You can refer imdistline to find the distance between two points on an image. You can refer this link to calculate distance in centimeters.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!