Skip to content

Commit 89a0a46

Browse files
Removed parallel version for CV_16U label type
1 parent 4b7fc59 commit 89a0a46

File tree

2 files changed

+884
-893
lines changed

2 files changed

+884
-893
lines changed

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3677,7 +3677,7 @@ the source image. ccltype specifies the connected components labeling algorithm
36773677
Grana (BBDT) and Wu's (SAUF) algorithms are supported, see the cv::ConnectedComponentsAlgorithmsTypes
36783678
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
36793679
This function uses parallel version of both Grana and Wu's algorithms if at least one allowed
3680-
parallel framework is enabled.
3680+
parallel framework is enabled and if the rows of the image are at least twice the number returned by getNumberOfCPUs.
36813681
36823682
@param image the 8-bit single-channel image to be labeled
36833683
@param labels destination labeled image
@@ -3709,7 +3709,7 @@ the source image. ccltype specifies the connected components labeling algorithm
37093709
Grana's (BBDT) and Wu's (SAUF) algorithms are supported, see the cv::ConnectedComponentsAlgorithmsTypes
37103710
for details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not.
37113711
This function uses parallel version of both Grana and Wu's algorithms (statistics included) if at least one allowed
3712-
parallel framework is enabled.
3712+
parallel framework is enabled and if the rows of the image are at least twice the number returned by getNumberOfCPUs.
37133713
37143714
@param image the 8-bit single-channel image to be labeled
37153715
@param labels destination labeled image

0 commit comments

Comments
 (0)