Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
3b5f1f76
Commit
3b5f1f76
authored
Feb 07, 2017
by
Alexander Alekhin
Committed by
GitHub
Feb 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8137 from LaurentBerger:thresholdDoc
Solve issue 8136 opencv doc of threshold
parents
072f873d
b3c1bd78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
imgproc.hpp
modules/imgproc/include/opencv2/imgproc.hpp
+5
-3
No files found.
modules/imgproc/include/opencv2/imgproc.hpp
View file @
3b5f1f76
...
...
@@ -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.
The function applies fixed-level thresholding to a
sing
le-channel array. The function is typically
The function applies fixed-level thresholding to a
multip
le-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
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
...
...
@@ -2721,8 +2721,10 @@ 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
images.
@param src input array (single-channel, 8-bit or 32-bit floating point).
@param dst output array of the same size and type as src.
@note Input image should be single channel only in case of CV_THRESH_OTSU or CV_THRESH_TRIANGLE flags
@param src input array (multiple-channel, 8-bit or 32-bit floating point).
@param dst output array of the same size and type and the same number of channels as src.
@param thresh threshold value.
@param maxval maximum value to use with the THRESH_BINARY and THRESH_BINARY_INV thresholding
types.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment