Commit fa4d32f7 authored by LaurentBerger's avatar LaurentBerger

Solve issue 8136 opencv doc of threshold

parent 072f873d
...@@ -2709,7 +2709,7 @@ CV_EXPORTS_W void createHanningWindow(OutputArray dst, Size winSize, int type); ...@@ -2709,7 +2709,7 @@ CV_EXPORTS_W void createHanningWindow(OutputArray dst, Size winSize, int type);
/** @brief Applies a fixed-level threshold to each array element. /** @brief Applies a fixed-level threshold to each array element.
The function applies fixed-level thresholding to a single-channel array. The function is typically The function applies fixed-level thresholding to a multiple-channel array. The function is typically
used to get a bi-level (binary) image out of a grayscale image ( cv::compare could be also used for used to get a bi-level (binary) image out of a grayscale image ( cv::compare could be also used for
this purpose) or for removing a noise, that is, filtering out pixels with too small or too large this purpose) or for removing a noise, that is, filtering out pixels with too small or too large
values. There are several types of thresholding supported by the function. They are determined by 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 ...@@ -2721,8 +2721,8 @@ or Triangle algorithm and uses it instead of the specified thresh . The function
computed threshold value. Currently, the Otsu's and Triangle methods are implemented only for 8-bit computed threshold value. Currently, the Otsu's and Triangle methods are implemented only for 8-bit
images. images.
@param src input array (single-channel, 8-bit or 32-bit floating point). @param src input array (multiple-channel, 8-bit or 32-bit floating point).
@param dst output array of the same size and type as src. @param dst output array of the same size and type and the same number of channels as src.
@param thresh threshold value. @param thresh threshold value.
@param maxval maximum value to use with the THRESH_BINARY and THRESH_BINARY_INV thresholding @param maxval maximum value to use with the THRESH_BINARY and THRESH_BINARY_INV thresholding
types. types.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment