You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CCL_DEFAULT = -1, //!< BBDT @cite Grana2010 algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity. The parallel implementation described in @cite Bolelli2017 is available for both BBDT and SAUF.
409
+
CCL_DEFAULT = -1, //!< Spaghetti @cite Bolelli2019 algorithm for 8-way connectivity, Spaghetti4C @cite Bolelli2021 algorithm for 4-way connectivity.
410
410
CCL_WU = 0, //!< SAUF @cite Wu2009 algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity. The parallel implementation described in @cite Bolelli2017 is available for SAUF.
411
411
CCL_GRANA = 1, //!< BBDT @cite Grana2010 algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity. The parallel implementation described in @cite Bolelli2017 is available for both BBDT and SAUF.
412
-
CCL_BOLELLI = 2, //!< Spaghetti @cite Bolelli2019 algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity.
412
+
CCL_BOLELLI = 2, //!< Spaghetti @cite Bolelli2019 algorithm for 8-way connectivity, Spaghetti4C @cite Bolelli2021 algorithm for 4-way connectivity. The parallel implementation described in @cite Bolelli2017 is available for both Spaghetti and Spaghetti4C.
413
413
CCL_SAUF = 3, //!< Same as CCL_WU. It is preferable to use the flag with the name of the algorithm (CCL_SAUF) rather than the one with the name of the first author (CCL_WU).
414
414
CCL_BBDT = 4, //!< Same as CCL_GRANA. It is preferable to use the flag with the name of the algorithm (CCL_BBDT) rather than the one with the name of the first author (CCL_GRANA).
415
415
CCL_SPAGHETTI = 5, //!< Same as CCL_BOLELLI. It is preferable to use the flag with the name of the algorithm (CCL_SPAGHETTI) rather than the one with the name of the first author (CCL_BOLELLI).
@@ -3912,9 +3912,10 @@ image with 4 or 8 way connectivity - returns N, the total number of labels [0, N
3912
3912
represents the background label. ltype specifies the output label image type, an important
3913
3913
consideration based on the total number of labels or alternatively the total number of pixels in
3914
3914
the source image. ccltype specifies the connected components labeling algorithm to use, currently
3915
-
Grana (BBDT) and Wu's (SAUF) @cite Wu2009 algorithms are supported, see the #ConnectedComponentsAlgorithmsTypes
3916
-
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
3917
-
This function uses parallel version of both Grana and Wu's algorithms if at least one allowed
3915
+
Bolelli (Spaghetti) @cite Bolelli2019, Grana (BBDT) @cite Grana2010 and Wu's (SAUF) @cite Wu2009 algorithms
3916
+
are supported, see the #ConnectedComponentsAlgorithmsTypes for details. Note that SAUF algorithm forces
3917
+
a row major ordering of labels while Spaghetti and BBDT do not.
3918
+
This function uses parallel version of the algorithms if at least one allowed
3918
3919
parallel framework is enabled and if the rows of the image are at least twice the number returned by #getNumberOfCPUs.
3919
3920
3920
3921
@param image the 8-bit single-channel image to be labeled
@@ -3944,9 +3945,10 @@ image with 4 or 8 way connectivity - returns N, the total number of labels [0, N
3944
3945
represents the background label. ltype specifies the output label image type, an important
3945
3946
consideration based on the total number of labels or alternatively the total number of pixels in
3946
3947
the source image. ccltype specifies the connected components labeling algorithm to use, currently
3947
-
Grana's (BBDT) and Wu's (SAUF) @cite Wu2009 algorithms are supported, see the #ConnectedComponentsAlgorithmsTypes
3948
-
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
3949
-
This function uses parallel version of both Grana and Wu's algorithms (statistics included) if at least one allowed
3948
+
Bolelli (Spaghetti) @cite Bolelli2019, Grana (BBDT) @cite Grana2010 and Wu's (SAUF) @cite Wu2009 algorithms
3949
+
are supported, see the #ConnectedComponentsAlgorithmsTypes for details. Note that SAUF algorithm forces
3950
+
a row major ordering of labels while Spaghetti and BBDT do not.
3951
+
This function uses parallel version of the algorithms (statistics included) if at least one allowed
3950
3952
parallel framework is enabled and if the rows of the image are at least twice the number returned by #getNumberOfCPUs.
3951
3953
3952
3954
@param image the 8-bit single-channel image to be labeled
0 commit comments