@@ -3703,8 +3703,10 @@ image with 4 or 8 way connectivity - returns N, the total number of labels [0, N
3703
3703
represents the background label. ltype specifies the output label image type, an important
3704
3704
consideration based on the total number of labels or alternatively the total number of pixels in
3705
3705
the source image. ccltype specifies the connected components labeling algorithm to use, currently
3706
- Grana's (BBDT) and Wu's (SAUF) algorithms are supported, see the cv::ConnectedComponentsAlgorithmsTypes
3706
+ Grana (BBDT) and Wu's (SAUF) algorithms are supported, see the cv::ConnectedComponentsAlgorithmsTypes
3707
3707
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
3708
+ This function uses parallel version of both Grana and Wu's algorithms if at least one allowed
3709
+ parallel framework is enabled and if the rows of the image are at least twice the number returned by getNumberOfCPUs.
3708
3710
3709
3711
@param image the 8-bit single-channel image to be labeled
3710
3712
@param labels destination labeled image
@@ -3735,7 +3737,8 @@ consideration based on the total number of labels or alternatively the total num
3735
3737
the source image. ccltype specifies the connected components labeling algorithm to use, currently
3736
3738
Grana's (BBDT) and Wu's (SAUF) algorithms are supported, see the cv::ConnectedComponentsAlgorithmsTypes
3737
3739
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
3738
-
3740
+ This function uses parallel version of both Grana and Wu's algorithms (statistics included) if at least one allowed
3741
+ parallel framework is enabled and if the rows of the image are at least twice the number returned by getNumberOfCPUs.
3739
3742
3740
3743
@param image the 8-bit single-channel image to be labeled
3741
3744
@param labels destination labeled image
0 commit comments