Photo-consistent planar patches from unstructured cloud of points