stereolabs / zed-opencv

ZED SDK interface sample for OpenCV
https://www.stereolabs.com/docs/opencv/
MIT License
139 stars 79 forks source link

ZED / focal length ; Size of sensors ; Size of a Photosite #39

Closed gauthier-duponchel closed 7 years ago

gauthier-duponchel commented 7 years ago

In order to calibrate each camera of the ZED using MicMAc, I need those informations :

Gauthier

WASCHMASCHINE commented 7 years ago

Open the ZED Explorer -> Settings -> Calibration, or just look at the calibration file of your camera. I think you can derive your values from there for each setting (edit: with the pixel sizes below).

gauthier-duponchel commented 7 years ago

In the SNxxxx.conf file [calibration file], I can find fx and fy which are [I think] the projection of the optical center on the sensor but I do not see the focal length in meters which should be a kind of fz.

Concerning the sensor size, there is unfortunately no information concerning the size in m.

Gauthier

adujardin commented 7 years ago

Hi, Here is the pixel size by resolution:

gauthier-duponchel commented 7 years ago

Thank you!!

What about the focal length ? What are fx & fy in the SNxxxx.conf file / focal length ?

Gauthier

gauthier-duponchel commented 7 years ago

Thank you!

What about the focal length ??

In the SNxxxx.conf file I can find fx and fy but I think they are the coordinates of the optical center projection on the sensor. What I search is the focal length (fz if you see what I neam).

Gauthier

Hi, Here is the pixel size by resolution: HD2K (2208x1242) : 0.002mm HD1080 (1920x1080) : 0.002mm HD720 (1280x720) : 0.004mm WVGA (672x376) : 0.008mm

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/stereolabs/zed-opencv/issues/39#issuecomment-311603369

adujardin commented 7 years ago

The focal length is 2.8mm.

You can also compute it from the focal in pixels in the SNxxxx.conf :

gauthier-duponchel commented 7 years ago

OK! Thank you again, Gauthier.