Mesh Repair

Mesh representations of objects can be imperfect. Particular to neurons, meshes from one object can be artificially separated into multiple connected components due to imperfections of the data because many segmentation approaches will only join together voxels that share a connected component.

For this reason, it can become necessary to add edges to the mesh that represent connections between distinct components. The meshparty.trimesh_repair is oriented around this process. Presently it downloads data from a remote server for a set of merge point operations that were performed on an object, and uses those locations to add edges between mesh vertices.