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 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Bhargavi Maganuru
Bhargavi Maganuru il 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.

Community Treasure Hunt

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

Start Hunting!

Translated by