PreprocessingFilter.Threshold

Threshold(int)

根据对原始图像的像素强度设置阈值来创建二值图像。

public static PreprocessingFilter Threshold(int value)
范围类型描述
valueInt32最大值。

返回值

二值化过滤器对象。

也可以看看


Threshold(int, Rectangle)

根据对原始图像部分的像素强度设置阈值来创建图像的二进制部分。

public static PreprocessingFilter Threshold(int value, Rectangle area)
范围类型描述
valueInt32最大值。
areaRectangle要校正的图像部分的坐标。

返回值

二值化过滤器对象。

也可以看看