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

1 次查看(过去 30 天)
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.

回答(1 个)

Walter Roberson
Walter Roberson 2012-12-11
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.)

Community Treasure Hunt

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

Start Hunting!

Translated by