二值化
hreshold
Applies a fixed-level threshold to each array element.
-
C++:
double
threshold
(InputArray
src, OutputArray
dst, double
thresh, double
maxval, int
type
)
-
Python:
cv2.
threshold
(src, thresh, maxval, type
[, dst
]
) → retval, dst
-
C:
double
cvThreshold
(const CvArr*
src, CvArr*
dst, double
threshold, double
max_value, int