open-forest-observatory / geograypher

Multiview Semantic Reasoning with Geospatial Data
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Implement `TexturedPhotogrammetryMesh.face_to_vert_IDs` #17

Open russelldj opened 8 months ago

russelldj commented 8 months ago

This method is currently un-implemented. The goal is to set vertex IDs based on the most common ID for neighboring faces. To do this efficiently, my thought was to iterate over the face IDs and build a dict containing a list of IDs for each vertex. Then use a collections.Counter to record the most common one per vertex.