Skip to content

Commit e4bcd46

Browse files
authored
Merge pull request opencv#26356 from hardikkamboj:4.x
Update py_thresholding.markdown
2 parents 35571be + 9fc7ca8 commit e4bcd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/py_tutorials/py_imgproc/py_thresholding/py_thresholding.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Simple Thresholding
1111
-------------------
1212

1313
Here, the matter is straight-forward. For every pixel, the same threshold value is applied.
14-
If the pixel value is smaller than the threshold, it is set to 0, otherwise it is set to a maximum value.
14+
If the pixel value is smaller than or equal to the threshold, it is set to 0, otherwise it is set to a maximum value.
1515
The function **cv.threshold** is used to apply the thresholding.
1616
The first argument is the source image, which **should be a grayscale image**.
1717
The second argument is the threshold value which is used to classify the pixel values.

0 commit comments

Comments
 (0)