转为灰度

PreprocessingFilter.ToGrayscale method

将图像转换为灰度图像。灰度图像在图像中具有 256 级亮度(0 到 255)。

public static PreprocessingFilter ToGrayscale()

返回值

GrayscaleFilter 对象。

另请参见