How to calculate fisheye intrinsics?

2 visualizzazioni (ultimi 30 giorni)
I have performed camera calibration for a 360 camera and obtained camera params as follows:
However, I want the intrinsics to be in this form as it is the standard form used by many applications for image correction
How to format the parameters in the form shown above?

Risposta accettata

Qu Cao
Qu Cao il 25 Giu 2020
You can use undistortFisheyeImage function to produce a "virtual perspective" camera intrinsics, which is the format you need. See syntax which returns "camIntrinsics". Note that in CVT, the intrisnics matrix is the transpose of the one you mentioned.
  3 Commenti
Qu Cao
Qu Cao il 25 Giu 2020
I understand that you don't want to undistor the image, but what I'm trying to say is that you can use the function as a workaround to get the intrinsics format you showed above. You only need the second output of this function. Note that the input intrinsics is a fisheyeIntrinsics object (what you have right now) while the output camIntrinsics is a cameraIntrinsics object (what you are asking for).
Swapnil Sayan Saha
Swapnil Sayan Saha il 25 Giu 2020
Oh all right. Thanks a lot!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Support Package for USB Webcams in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by