Effacer les filtres
Effacer les filtres

finding focal length of mobile camera

2 vues (au cours des 30 derniers jours)
shah baba
shah baba le 20 Mai 2011
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,

Réponse acceptée

Ivan van der Kroon
Ivan van der Kroon le 20 Mai 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 commentaires
shah baba
shah baba le 20 Mai 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 le 20 Mai 2011
According to the above formula you have to know M,f.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Support Package for IP Cameras 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