How do I find the distance between two pixel co-ordinates

조회 수: 6 (최근 30일)
Emmanuel
Emmanuel 2014년 5월 20일
답변: Emmanuel 2014년 5월 20일
I would like to find the distance between two pixel co-ordinates detected by the camera , whose screenshot has been attached below. the unit of co-ordinates is in pixel whereas I want to know the euclidean distance. By lukign at it, we can say that the distance is approx 4, but how I detect it from matlab? pdist doesn't work as the co-ords are in pixels.

채택된 답변

Image Analyst
Image Analyst 2014년 5월 20일
See my attached spatial calibration demo.

추가 답변 (1개)

Emmanuel
Emmanuel 2014년 5월 20일
awesome!

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by