Algorithm to texture 3D reconstructions from multi-view stereo images