Global refinement of image-to-geometry registration for color projection