Skip to content

Commit fa4d32f

Browse files
committed
Solve issue 8136 opencv doc of threshold
1 parent 072f873 commit fa4d32f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2709,7 +2709,7 @@ CV_EXPORTS_W void createHanningWindow(OutputArray dst, Size winSize, int type);
27092709

27102710
/** @brief Applies a fixed-level threshold to each array element.
27112711
2712-
The function applies fixed-level thresholding to a single-channel array. The function is typically
2712+
The function applies fixed-level thresholding to a multiple-channel array. The function is typically
27132713
used to get a bi-level (binary) image out of a grayscale image ( cv::compare could be also used for
27142714
this purpose) or for removing a noise, that is, filtering out pixels with too small or too large
27152715
values. There are several types of thresholding supported by the function. They are determined by
@@ -2721,8 +2721,8 @@ or Triangle algorithm and uses it instead of the specified thresh . The function
27212721
computed threshold value. Currently, the Otsu's and Triangle methods are implemented only for 8-bit
27222722
images.
27232723
2724-
@param src input array (single-channel, 8-bit or 32-bit floating point).
2725-
@param dst output array of the same size and type as src.
2724+
@param src input array (multiple-channel, 8-bit or 32-bit floating point).
2725+
@param dst output array of the same size and type and the same number of channels as src.
27262726
@param thresh threshold value.
27272727
@param maxval maximum value to use with the THRESH_BINARY and THRESH_BINARY_INV thresholding
27282728
types.

0 commit comments

Comments
 (0)