The Medical Image Registration ToolKit (MIRTK), the successor of the IRTK, contains common CMake build configuration files, core libraries, and basic command-line tools. Extension packages are hosted by the MIRTK GitHub group at
This PR patches change #744 to only introduce a single hole in each surface to be merged for each (largest) connected component of the label boundary. It also avoids removing cells when this would leave surface triangles that are only connected by a single vertex but not an edge.
With this PR, mirtk recon-neonatal-cortex should no longer produce the error:
Exception: Merged surface is non-closed, no. of boundaries: N
At the intersection where the cortical surfaces are merged.
This PR patches change #744 to only introduce a single hole in each surface to be merged for each (largest) connected component of the label boundary. It also avoids removing cells when this would leave surface triangles that are only connected by a single vertex but not an edge.
With this PR,
mirtk recon-neonatal-cortex
should no longer produce the error:At the intersection where the cortical surfaces are merged.
CC @jcupitt @amakropoulos