필터 지우기
필터 지우기

How do I measure a distance between a

조회 수: 96 (최근 30일)
Gergana Petrova
Gergana Petrova 2018년 2월 19일
답변: javad ebrahimi 2018년 2월 24일
I want to measure the distance between cyclist passing another cyclist by photo

채택된 답변

javad ebrahimi
javad ebrahimi 2018년 2월 19일
편집: javad ebrahimi 2018년 2월 19일
  • Display an image in the Image Viewer.
imtool('moon.tif')
  • Click the Distance tool button in the Image Viewer toolbar or select Measure Distance from the Tools menu. The Distance tool allows you to measure distance with a click-and-drag approach. When you move the pointer over the image, the pointer changes to cross hairs . Position the cross hairs at the beginning of the region you wish to measure, hold down the mouse button, drag the cross hairs to the end of the region, and release the button.
  • The Distance tool displays the Euclidean distance between the two endpoints of the line in a label superimposed over the line. The tool specifies the distance in data units determined by the XData and YData properties, which is pixels, by default.
  댓글 수: 1
Gergana Petrova
Gergana Petrova 2018년 2월 19일
Hi, thank you, but I want to know the real distance between two dynamic objects and I thought the distance between the camera and those objects must be taken into account.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

javad ebrahimi
javad ebrahimi 2018년 2월 24일
Hi,I believe that you should have the amount of road width and by using it And according to the following, you can calculate the horizontal distance of two cyclists
Dist/DistOnpic=youranswere/RealDist
Dist and DistOnpic Measured with
imtool('moon.tif')

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by