AddBiLevelEffect

IImageTransformOperationCollection.AddBiLevelEffect method

将新的 Bi-Level(黑/白)效果添加到集合的末尾。

public IBiLevel AddBiLevelEffect(float threshold)
范围类型描述
thresholdSingleBi-Level 效果的亮度阈值。 大于或等于阈值的值设置为白色。 小于阈值的值设置为黑色。

返回值

集合中新图像效果的索引。

也可以看看