I am new to ceres (non-linear Least Square) solver and c++ template programming. I have successfully installed ceres solver and executed the bundle_adjuster.cc code on ubuntu by downloading the dataset posted on http://grail.cs.washington.edu/projects/bal/. I have to use Bundle Adjustment as a black-box in the project. I want to print the refined camera poses, three dimensional coordinate of the datasets. How to do this, what should I edit in the bundle_adjuster.cc to get new pose matrix and 3D coordinate.
Thanks.