the relation between the distance and the number of pixels in the image

3 vues (au cours des 30 derniers jours)
Mary
Mary le 11 Déc 2012
Hi guys I am trying to find the relationship between the number of pixels and the distance . I have taken some images for a pole at different distances, and I am trying to count the number of pixels for the width of this object in each image. could you please help me to do this in MATLAB. I am working with color images.

Réponses (1)

Walter Roberson
Walter Roberson le 11 Déc 2012
When the pole is N times further away, it will appear to be 1/N times as long, provided that the lens is linear (e.g., is not something like a fish-eye lens that distorts distance non-linearly with distance from the optical axes.)

Catégories

En savoir plus sur Read, Write, and Modify Image 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