Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Md Shahidul Islam
Md Shahidul Islam le 17 Août 2021
Commenté : Md Shahidul Islam le 22 Août 2021
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 commentaires
Bhuvanyu Dogra
Bhuvanyu Dogra le 20 Août 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:

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Code Generation, GPU, and Third-Party Support dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by