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

6 vues (au cours des 30 derniers jours)
Emmanuel
Emmanuel le 20 Mai 2014
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.

Réponse acceptée

Image Analyst
Image Analyst le 20 Mai 2014
See my attached spatial calibration demo.

Plus de réponses (1)

Emmanuel
Emmanuel le 20 Mai 2014
awesome!

Catégories

En savoir plus sur Feature Detection and Extraction dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by