Hi i exported camera XML files use RC, and i want to undistort images myself, how can i do that? And the distortion model is Brown3. Thanks!
Hi Wenguang,
what do you mean by yourself? Using the undistort data in external software?
How are we supposed to know what you intend to use?
If you don’t need to do it outside RC, you can export undistorted images with the fbx format (maybe others as well).
Thanks, yes i want to use some raw images and the Brown3 distort parameters export by RC, undistort the raw images myself.
Hi Wenguang,
I still don’t understand what your question is.
You say you exported the XML files with the undistort information, that means you know how to get the required data from RC.
If you don’t know how to continue from there you should ask the question in a different forum since it is not related to RC.
Or did I misunderstand you?
You can also export undistorted images from RC, but I understand this is not what you want…
You can use the undistort() function in OpenCV, using the values found in the XMP files.
I am still trying to figure the exact conversion of the values to OpenCV convention.
Is there any answer on this thread? Conversion between RC XMP parameters and OpenCV fashion camera parameters that describes in the following page
https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html
Thanks.