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 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by