Change Read Only Properties to writable?
古いコメントを表示
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 件のコメント
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.
採用された回答
その他の回答 (1 件)
Joel David Berkson
2021 年 7 月 1 日
2 投票
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 :-)
カテゴリ
ヘルプ センター および File Exchange で OpenCV Support についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!