Add foreground color estimation pass
This commit is contained in:
@@ -71,6 +71,8 @@ trimap 约束 alpha
|
||||
↓
|
||||
alpha 轻量清理
|
||||
↓
|
||||
foreground color estimation
|
||||
↓
|
||||
de-spill 去绿边
|
||||
↓
|
||||
RGBA PNG 导出
|
||||
@@ -370,6 +372,10 @@ result_rgba.png
|
||||
debug/bg_confidence.png
|
||||
debug/trimap.png
|
||||
debug/alpha.png
|
||||
debug/foreground_mask.png
|
||||
debug/foreground_unmix_mask.png
|
||||
debug/foreground_local_mask.png
|
||||
debug/foreground_rgb.png
|
||||
debug/despill_mask.png
|
||||
debug/preview_black.png
|
||||
debug/preview_white.png
|
||||
@@ -419,12 +425,13 @@ debug/qa_grid.png
|
||||
```text
|
||||
1. 能生成 RGBA PNG。
|
||||
2. 能生成 bg_confidence / trimap / alpha debug 图。
|
||||
3. 能生成黑白灰红蓝多背景 QA 图。
|
||||
4. 外部绿幕基本无残留。
|
||||
5. 发丝区域不是硬切边。
|
||||
6. 镂空洞露出绿幕时可透明。
|
||||
7. 边缘没有明显绿色污染。
|
||||
8. `scripts/smoke_samples.py` 能处理样例图并验证 RGBA、debug 产物和边缘绿色污染指标。
|
||||
3. 能生成 foreground color estimation debug 图。
|
||||
4. 能生成黑白灰红蓝多背景 QA 图。
|
||||
5. 外部绿幕基本无残留。
|
||||
6. 发丝区域不是硬切边。
|
||||
7. 镂空洞露出绿幕时可透明。
|
||||
8. 边缘没有明显绿色污染。
|
||||
9. `scripts/smoke_samples.py` 能处理样例图并验证 RGBA、debug 产物和边缘绿色污染指标。
|
||||
```
|
||||
|
||||
## 19. 推荐落地顺序
|
||||
@@ -438,7 +445,8 @@ debug/qa_grid.png
|
||||
6. 接入 ViTMatte GPU 推理。
|
||||
7. 加 trimap alpha 强约束。
|
||||
8. 实现轻量 alpha 清理。
|
||||
9. 实现 de-spill。
|
||||
10. 实现 QA grid。
|
||||
11. 用样例图调默认参数。
|
||||
9. 实现 foreground color estimation。
|
||||
10. 实现 de-spill。
|
||||
11. 实现 QA grid。
|
||||
12. 用样例图调默认参数。
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user