Change Read Only Properties to writable?
Afficher commentaires plus anciens
Using the vision toolbox for camera calibration you get the cameraParams out. These params are only read. How is it possible to do some changes in these params or a good way to by pass these limia
cameraParams=estimateCameraParameters(imagePoints, worldPoints)
Why I want to change it, I want to use a different radial and tangential distortion which I found in C+ with OpenCV and create a undistorted image and it's undistorted points.
1 commentaire
cameraParameters = vision.CameraParameters returns an object that contains the intrinsic, extrinsic, and lens distortion parameters of a camera. cameraParameters = vision.CameraParameters(Name,Value) configures the camera parameters object properties, specified as one or more Name,Value pair arguments. Unspecified properties use default values.
Réponse acceptée
Plus de réponses (1)
Joel David Berkson
le 1 Juil 2021
2 votes
Found a much better way to do this! Use the 'toStruct' function on the cameraparamets (this converts it to a normal struct that can be editted) then use the cameraParameters function to convert it back :-)
Catégories
En savoir plus sur OpenCV Support dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!