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 visualizaciones (últimos 30 días)
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

Respuestas (1)

Bhargavi Maganuru
Bhargavi Maganuru el 11 de Feb. de 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.

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by