openMVS
openMVS copied to clipboard
Mesh vertex coloring as an alternative to mesh texturing
- Added an option to TextureMesh NOT to generate a texture image but rather assign colors to vertices after seam leveling
- Added vertex color support in Mesh class to be able to hold these colors and save them into a PLY file
This feature is a nice-have when working with large collections of images (say, 500). With the default TextureMesh behavior, the PNG texture tends to take forever to generate and in the end is not loadable anyway. Vertex coloring is an alternative that at least gives the mesh some coloring, even if not that beautiful. Taking the colors from texture patches rather than the dense point cloud benefits from seam leveling, which is very important in case of photos taken under diverse lighting conditions (in my case it is in caves).