07-Oct-2025 18:16:43 bwlabel_test(): MATLAB/Octave version 24.2.0.2806996 (R2024b) Update 3 bwlabel() groups nonzero cells into components. bwlabel_2d_4_test(): Test bwlabel() with 2d data and 4-way connectivity. Componentss using 4-way connectivity: label = 1 1 0 0 0 2 0 0 1 1 1 0 2 2 0 0 1 1 1 0 2 2 0 0 0 1 1 0 0 0 3 0 0 0 1 0 0 0 3 0 1 0 1 0 0 0 3 0 1 1 1 1 0 3 3 3 1 1 0 0 0 0 0 0 Elements of componentomponents labeled #2: rc = 2 5 3 5 1 6 2 6 3 6 bwlabel_2d_8_test(): Test bwlabel() with 2d data and 8-way connectivity. Components using 8-way connectivity: label = 1 1 0 0 0 2 0 0 1 1 1 0 2 2 0 0 1 1 1 0 2 2 0 0 0 1 1 0 0 0 2 0 0 0 1 0 0 0 2 0 1 0 1 0 0 0 2 0 1 1 1 1 0 2 2 2 1 1 0 0 0 0 0 0 Elements of component labeled #2: rc = 2 5 3 5 1 6 2 6 3 6 7 6 4 7 5 7 6 7 7 7 7 8 bwlabel_3d_6_test(): bwlabeln() can find components in 3D data with connectivity 6. A is a 3D block of order 64*64*26 Number of nonzero A values is 1099 Number of components = 6 Component Size 1 163 2 210 3 312 4 90 5 102 6 222 ------ -------- Total 1099 bwlabel_3d_18_test(): bwlabeln() can find components in 3D data with connectivity 18. A is a 3D block of order 64*64*26 Number of nonzero A values is 1099 Number of components = 5 Component Size 1 163 2 210 3 312 4 90 5 324 ------ -------- Total 1099 bwlabel_3d_26_test(): bwlabeln() can find components in 3D data with connectivity 26. A is a 3D block of order 64*64*26 Number of nonzero A values is 1099 Number of components = 5 Component Size 1 163 2 210 3 312 4 90 5 324 ------ -------- Total 1099 bwlabel_test(): Normal end of execution. 07-Oct-2025 18:16:43