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
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0isw4o5226t1chf0cw03bwzzm-b41o9g
Direct link to example