Add estimation and refinement of camera parameters