魚眼鏡頭校正和普通相機校正,在matlab工具箱中有所區別
一 工具箱操作
二 用標定結果參數 校正其他圖像用
用undistortFisheyeImage函數
%利用matlab工具箱標定魚眼之後,導出標定參數到工作區,然後運行程序
result = undistortFisheyeImage(img, cameraParams.Intrinsics);
subplot(1,2,1);imshow(img);title('原始圖像')
subplot(1,2,2);imshow(result);title('校正圖像')