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

8 views (last 30 days)
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 Comments
Bhuvanyu Dogra
Bhuvanyu Dogra on 20 Aug 2021
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:

Sign in to comment.

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!