Merge pull request #18628 from innerlee:patch-1

pull/18639/head^2
Alexander Alekhin 4 years ago
commit 7f3d8de26f
  1. 2
      modules/imgproc/include/opencv2/imgproc.hpp

@ -3500,7 +3500,7 @@ but also identifies the nearest connected component consisting of zero pixels
(labelType==#DIST_LABEL_CCOMP) or the nearest zero pixel (labelType==#DIST_LABEL_PIXEL). Index of the (labelType==#DIST_LABEL_CCOMP) or the nearest zero pixel (labelType==#DIST_LABEL_PIXEL). Index of the
component/pixel is stored in `labels(x, y)`. When labelType==#DIST_LABEL_CCOMP, the function component/pixel is stored in `labels(x, y)`. When labelType==#DIST_LABEL_CCOMP, the function
automatically finds connected components of zero pixels in the input image and marks them with automatically finds connected components of zero pixels in the input image and marks them with
distinct labels. When labelType==#DIST_LABEL_CCOMP, the function scans through the input image and distinct labels. When labelType==#DIST_LABEL_PIXEL, the function scans through the input image and
marks all the zero pixels with distinct labels. marks all the zero pixels with distinct labels.
In this mode, the complexity is still linear. That is, the function provides a very fast way to In this mode, the complexity is still linear. That is, the function provides a very fast way to

Loading…
Cancel
Save