Is there any alternatives of 'getOptima​lNewCamera​Matrix' method in matlab?

4 次查看(过去 30 天)
I need to use getOptimalNewCameraMatrix method for camera calibration but I do not find any alternatives in matlab. Here is my code:
image = imread(image_path + "\" + file);
[height, width] = size(image);
[newcameramtx, roi] = cv2.getOptimalNewCameraMatrix(camera_matrix, dist, [width,height], 0, [width,height]);
  3 个评论
Bhuvanyu Dogra
Bhuvanyu Dogra 2021-8-20
It is my understanding that you are looking for ways to use 'getOptimalNewCameraMatrix' method in MATLAB.
Please refer to the following File Exchange submission for using OpenCV methods with MATLAB:

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Camera Calibration 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by