Change Read Only Properties to writable?
Ältere Kommentare anzeigen
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 Kommentar
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.
Akzeptierte Antwort
Weitere Antworten (1)
Joel David Berkson
am 1 Jul. 2021
2 Stimmen
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 :-)
Kategorien
Mehr zu OpenCV Support finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!