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?

 채택된 답변

Qu Cao
Qu Cao 2020년 6월 25일

1 개 추천

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

Swapnil Sayan Saha
Swapnil Sayan Saha 2020년 6월 25일
Umm I do not want to undistort the image, I want the intrinsics to be of the form (or transpose of the form) I showed above. But if you see MATLAB output, the intrinsics is entirely something else, consisting of mapping coefficients and distortion centers.
Qu Cao
Qu Cao 2020년 6월 25일
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 2020년 6월 25일
Oh all right. Thanks a lot!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 6월 25일

댓글:

2020년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by