Figure 2:
(a) The segmentation process involves utilizing a 2D connectivity matrix to label segments in each 2D slice, followed by the selection of the segment with the highest pixel count. Small segments, depicted in different colors withtin each slice, are subsequently discarded. (b) Analogously, the 3D segmentation process involves labelling distinct segments using a 3D connectivity matrix and selecting the segment with the highest voxel count.