UndistortImage function error for Fisheye Image
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1069020/image.png)
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 Comments
Answers (1)
Walter Roberson
on 18 Jul 2022
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);
See Also
Categories
Find more on Camera Calibration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!