UndistortImage function error for Fisheye Image

2 ビュー (過去 30 日間)
dinesh bharathi
dinesh bharathi 2022 年 7 月 18 日
コメント済み: dinesh bharathi 2022 年 7 月 18 日
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);
  1 件のコメント
dinesh bharathi
dinesh bharathi 2022 年 7 月 18 日
Got it working!! Thank you.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCamera Calibration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by