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.

Community Treasure Hunt

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

Start Hunting!

Translated by