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.
408
+
CCL_DEFAULT = -1, //!< Spaghetti @cite Bolelli2019 algorithm for 8-way connectivity, Spaghetti4C @cite Bolelli2021 algorithm for 4-way connectivity.
409
409
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.
410
410
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.
411
-
CCL_BOLELLI = 2, //!< Spaghetti @cite Bolelli2019 algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity.
411
+
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.
412
412
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).
413
413
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).
414
414
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).
@@ -3858,9 +3858,10 @@ image with 4 or 8 way connectivity - returns N, the total number of labels [0, N
3858
3858
represents the background label. ltype specifies the output label image type, an important
3859
3859
consideration based on the total number of labels or alternatively the total number of pixels in
3860
3860
the source image. ccltype specifies the connected components labeling algorithm to use, currently
3861
-
Grana (BBDT) and Wu's (SAUF) @cite Wu2009 algorithms are supported, see the #ConnectedComponentsAlgorithmsTypes
3862
-
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
3863
-
This function uses parallel version of both Grana and Wu's algorithms if at least one allowed
3861
+
Bolelli (Spaghetti) @cite Bolelli2019, Grana (BBDT) @cite Grana2010 and Wu's (SAUF) @cite Wu2009 algorithms
3862
+
are supported, see the #ConnectedComponentsAlgorithmsTypes for details. Note that SAUF algorithm forces
3863
+
a row major ordering of labels while Spaghetti and BBDT do not.
3864
+
This function uses parallel version of the algorithms if at least one allowed
3864
3865
parallel framework is enabled and if the rows of the image are at least twice the number returned by #getNumberOfCPUs.
3865
3866
3866
3867
@param image the 8-bit single-channel image to be labeled
@@ -3890,9 +3891,10 @@ image with 4 or 8 way connectivity - returns N, the total number of labels [0, N
3890
3891
represents the background label. ltype specifies the output label image type, an important
3891
3892
consideration based on the total number of labels or alternatively the total number of pixels in
3892
3893
the source image. ccltype specifies the connected components labeling algorithm to use, currently
3893
-
Grana's (BBDT) and Wu's (SAUF) @cite Wu2009 algorithms are supported, see the #ConnectedComponentsAlgorithmsTypes
3894
-
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
3895
-
This function uses parallel version of both Grana and Wu's algorithms (statistics included) if at least one allowed
3894
+
Bolelli (Spaghetti) @cite Bolelli2019, Grana (BBDT) @cite Grana2010 and Wu's (SAUF) @cite Wu2009 algorithms
3895
+
are supported, see the #ConnectedComponentsAlgorithmsTypes for details. Note that SAUF algorithm forces
3896
+
a row major ordering of labels while Spaghetti and BBDT do not.
3897
+
This function uses parallel version of the algorithms (statistics included) if at least one allowed
3896
3898
parallel framework is enabled and if the rows of the image are at least twice the number returned by #getNumberOfCPUs.
3897
3899
3898
3900
@param image the 8-bit single-channel image to be labeled
0 commit comments