AddBiLevelEffect
ImageTransformOperationCollection.AddBiLevelEffect 方法
将新的二级(黑白)效果添加到集合的末尾。
public IBiLevel AddBiLevelEffect(float threshold)
参数 | 类型 | 描述 |
---|---|---|
threshold | Single | 二级效果的亮度阈值。大于或等于阈值的值设为白色。小于阈值的值设为黑色。 |
返回值
新图像效果在集合中的索引。
将新的二级(黑白)效果添加到集合的末尾。
public IBiLevel AddBiLevelEffect(float threshold)
参数 | 类型 | 描述 |
---|---|---|
threshold | Single | 二级效果的亮度阈值。大于或等于阈值的值设为白色。小于阈值的值设为黑色。 |
新图像效果在集合中的索引。