Filter 常用滤镜
作者:互联网
Filter 常用滤镜
1. 低亮度
[
1, 0, 0, 0, -50,
0, 1, 0, 0, -50,
0, 0, 1, 0, -50,
0, 0, 0, 1, 0
];
- 高亮度改为正数即可
2. 置灰
[
0.3, 0.6, 0, 0, 0,
0.3, 0.6, 0, 0, 0,
0.3, 0.6, 0, 0, 0,
0, 0, 0, 1, 0
];
3. 置黑
[
1, 0, 0, 0, -255,
0, 1, 0, 0, -255,
0, 0, 1, 0, -255,
0, 0, 0, 1, 0
];
标签:常用,0.3,50,0.6,Filter,滤镜,255 来源: https://www.cnblogs.com/ixenos/p/15771115.html