OpenCV and Bundle adjustment
Hello,
I have an estimate of camera internal calibration done using calibratecamera, and an estimated trajectory computed using solvepnp. The issue is that it's not accurate enough for my purpose, so I would like to refine it with bundle adjustment.
My camera is 1:1 aspect ratio and the principal point is definitely off the center.
What would you recommend? Seems like I have the options - ceres solver. I will need to write my own conversion code from/to OpenCV - cvsba: already integrated with OpenCV - others?
may be you can find an answer in this sample
Hello, thanks for the sample. Is the "reconstruct" function equivalent to bundle adjustment? So the process would look like: 1) calibrate camera 2) solvePnp 3) reconstruction for refinement ? I will try it as it's definitely easier than throwing in a new library altogether. Other opionions? As an even simpler form of "bundle adjustment", could I use non planar markers for calibratecamera?
Sounds like I need the ceres solver build on windows, then I need to also build the SFM module myself. Besides, I see that the SFM module is not free for commercial projects?