- 操作系统:ubuntu22.04
- OpenCV版本:OpenCV4.9
- IDE:Visual Studio Code
- 编程语言:C++11
算法描述
函数对数组应用自适应阈值。
该函数根据以下公式将灰度图像转换为二值图像:
-
对于 THRESH_BINARY:
textdst(x,y)={ maxValue如果 src(x,y)>T(x,y)0否则\\text{dst}(x, y) =\begin{cases}\ \text{maxValue} & \text{如果 } \text{src}(x, y) > T(x, y) \\ 0 & \text{否则} \end{cases} textdst(x,y)={ maxValue0如果 src(

最低0.47元/天 解锁文章
1462

被折叠的 条评论
为什么被折叠?



