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
];