Clear Filters
Clear Filters

finding focal length of mobile camera

2 views (last 30 days)
Hi, I want to get specification of my camera e.g., focal length of lens etc.I made a picture of known distance. By measuring pixel difference of known 3D distance, how can I proceed further? I also know how many Mega pixel camera I have. Regards,

Accepted Answer

Ivan van der Kroon
Ivan van der Kroon on 20 May 2011
The magnification of a positive lens is M=f/(f-v) (see wikipedia), with f the focal length and v the distance of the center of the lens to the object. So if you can find the magnification with your pixel difference and know distance to the lens, you can find it with this formula.
It is also written on the lens in 99% of the cases.
  2 Comments
shah baba
shah baba on 20 May 2011
But how can I find (camera-object) distance?. I can roughly know it. But I know only length of table.
Sean de Wolski
Sean de Wolski on 20 May 2011
According to the above formula you have to know M,f.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!