UndistortImage function error for Fisheye Image

Hi, I have calibrated the camera and created the cameraparams using the calibration process. When i use the same camera params to undistort an image am getting the following error. I am not sure about what am missing here. Please guide me on this.
Expected intrinsics to be one of these types:
fisheyeIntrinsics
Instead its type was fisheyeParameters.
Error in undistortFisheyeImage (line 91)
validateattributes(intrinsics, {'fisheyeIntrinsics'}, {'scalar'}, ...
Error in Batch_Process_Imr_imw (line 37)
I=undistortFisheyeImage(I,cameraParams);

답변 (1개)

Walter Roberson
Walter Roberson 2022년 7월 18일
I = undistortFisheyeImage(I, cameraParams.intrinsics);
J1 = undistortFisheyeImage(I,params.Intrinsics);

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

질문:

2022년 7월 18일

댓글:

2022년 7월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by