UndistortImage function error for Fisheye Image
2 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
回答(1 个)
Walter Roberson
2022-7-18
I = undistortFisheyeImage(I, cameraParams.intrinsics);
See for example https://www.mathworks.com/help/vision/ref/undistortfisheyeimage.html#mw_a3f2a54b-c45e-472e-b788-de9075fe7573 which has
J1 = undistortFisheyeImage(I,params.Intrinsics);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Camera Calibration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!