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

1 回表示 (過去 30 日間)
Mary
Mary 2012 年 12 月 11 日
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.)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by