MIRTK icon indicating copy to clipboard operation
MIRTK copied to clipboard

Use more efficient implementation of merge-surfaces DeleteCellsNearLabelBoundary

Open schuhschuh opened this issue 5 years ago • 0 comments

For each connected label boundary, find closest points on surface. Use region growing on surface from which cells should be deleted while pruning when distance to label boundary exceeds the threshold. Keep track of already visited points. This should avoid a lot of the unnecessary distance calculations in vtkDistancePolyDataFilter. Moreover, as signed distance not needed, it would be best not to use this filter which also computes surface normals and dot products.

See also #744.

schuhschuh avatar Nov 19 '20 00:11 schuhschuh