How to calculate fisheye intrinsics?

2 views (last 30 days)
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?

Accepted Answer

Qu Cao
Qu Cao on 25 Jun 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 Comments
Qu Cao
Qu Cao on 25 Jun 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).

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!