QMRITools`
QMRITools`

CheckSegmentation

CheckSegmentation[seg]

checks the segmentation for errors and returns a vector of two numbers, the first indicates if the segmentation has more than one region, the second indicates if it hase holes.

Examples