I have a scene with both simple images and static videos. I did the RC alignment workflow using the simple images and one frame from each video, which works fine, giving me the undistorted cameras.
Now my problem is how I can apply the distortions found for the frames to the whole videos ?
Basically it should just be reduced to extracting the camera intrinsic parameters and distortion (RC -> Registration -> save as Internal/External camera parameters), and then apply the undistortion formula to the other frames, for example using OpenCV undistort built in function: https://docs.opencv.org/2.4/modules/imgproc/doc/geometric_transformations.html?#undistort
However I was unable to reproduce the same effect, and I am guessing the issue comes from converting the calibration parameters from RC to OpenCV (the distortion coefficients should not be a problem, here I am using Brown3 model with k1, k2 and k3 radial coefficients).
I saw some related threads here but they were not really helpful:
https://support.capturingreality.com/hc/en-us/community/posts/115001359032-Camera-calibration-and-distortion-parameters-to-OpenCV (marked as answered but not providing anything)
So is it possible to apply the same transformation directly in RC ? And if not, has someone successfully convert RC cameras parameters to OpenCV or to any other setup that allows to do the undistortion myself.
Please sign in to leave a comment.