powered by
Binary segmentation in 3d
bwlabel3d(img)
A 3d array. x is considered as a binary image, whose pixels of value 0 are considered as background ones and other pixels as foreground ones.
A grayscale 3d array, containing the labeled version of x.