open-forest-observatory / geograypher

Enabling Geospatial Predictions from Individual Drone Images
https://open-forest-observatory.github.io/geograypher/
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Implement method to texture mesh from another mesh using nearest neighbor queries #18

Closed russelldj closed 3 months ago

russelldj commented 11 months ago

When we downsample a mesh, we loose the texture information that was originally present. This has not been a huge issue yet, but could become one in the future.

The idea is we'd have one source mesh that has a texture and want to apply this texture to a target mesh. The meshes are assumed to be in the same spatial frame. Each point in the target mesh should be given the label from the closest vertex source mesh. To speed up this computation, it may help to build a KD-tree on the source vertices.