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 Center および File ExchangeFeature Detection and Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by