Files
AnyImage/openspec/changes/improve-cutout-adaptive-mesh/experiment-cases.md
nan 7e55af6722 Add comprehensive tests for edge depth extension, empty image edits, and material view adaptation
- Introduced `test_edge_depth.py` to validate the functionality of edge depth extension, ensuring core alpha preservation, proper depth handling, and edge padding behavior.
- Created `test_empty_image_edits.py` to verify the behavior of image edits in Blender, focusing on shared edits, preservation of image properties, and handling of failed operations.
- Developed `test_material_view_adaptation.py` to test material adaptation preferences, ensuring color space and alpha settings are correctly applied and preserved across various scenarios.
2026-09-06 21:43:47 +08:00

33 lines
2.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 十张新增实图
2026-09-06,固定上一轮独立 `final.py`,从 Wikimedia Commons 选取十张公开图片。下载图缩至长边不超过 768 像素且不放大,再以本地 BEN2 抠图;已有透明图先合成白底。Alpha 阈值 0.9、独立岛面积阈值 16,四档间距 32/16/8/4。未按单张图片调参。
每档预热一次,测三次数值构建取中位数,计时边界沿用 experiment.md。BEN2 本轮实际使用 CPUExecutionProvider,约每图 3.5–4.1 秒,未纳入网格耗时。
| 图片 | 尺寸 | Low 秒 | Medium 秒 | High 秒 | Ultra 秒 |
|---|---|---:|---:|---:|---:|
| 螳螂 | 768×565 | 0.092 | 0.116 | 0.231 | 0.429 |
| 蚁后 | 475×768 | 0.045 | 0.050 | 0.067 | 0.088 |
| 蚁蛉 | 479×768 | 0.112 | 0.135 | 0.224 | 0.354 |
| 捕鸟蛛 | 768×548 | 0.082 | 0.099 | 0.167 | 0.383 |
| 凤蝶 | 768×412 | 0.069 | 0.098 | 0.201 | 0.540 |
| 枫叶 | 768×512 | 0.058 | 0.074 | 0.115 | 0.284 |
| 羽毛 | 576×768 | 0.287 | 0.466 | 0.771 | 1.264 |
| 剪刀 | 400×290 | 0.058 | 0.072 | 0.117 | 0.229 |
| 蕨叶 | 768×768 | 6.026 | 10.211 | 18.854 | 23.600 |
| 骑行者 | 768×507 | 0.089 | 0.103 | 0.149 | 0.272 |
## 新发现
- 蕨叶仅约 97,003 个前景像素,与先前蜘蛛相近,但 Low 已有 8,012 点和 3,459 条内部约束。清理将独立区域从 661 减至 58,移除 1,475 像素;保留下来的细枝和孔洞仍形成显著开销。Ultra 有 24,007 点,约 23.6 秒。密集分枝必须作为性能反例,不能沿用四图结论推断其运行时间。
- 羽毛 Low / Ultra 分别有 24 / 42 条端点均在边界的内部边,存在局部零高度夹扁风险。额外内部顶点图分量从 1 增至 25。蕨叶的额外内部图分量从 Low 的 3 增至 Ultra 的 172。
- 剪刀、捕鸟蛛、蚁后和骑行者在四档内部图诊断中没有额外内部分量,但此指标不等于逐腿端部覆盖证明。没有为新图人工指定每条细腿的完整检查点。
- BEN2 与高 Alpha 阈值造成的分割缺失、图片中主体本身很小、网格自身产生的支撑间断必须分别展示。原图、BEN2、网格和高度图均保存用于对照。
- 四十组数值构建均完成并保存。蕨叶在全部数值结果保存后触及单例总流程 240 秒超时,随后从 NPZ 补绘图表;超时不属于表中的单次数值构建耗时。
## 验收影响
提案尚不能视为已经解决普遍的细分枝连通和性能问题。正式实施需增加蕨叶型多级分枝、羽毛型细丝的合成回归,检查最终内部顶点图与局部零高度边,并在保留细部支撑的前提下处理候选路径数量和几何查询开销。
逐图来源、作者、许可、全部指标及对比图保存在本机 `cutout-experiment/case-study/report.md` 与 `sources.json`。完整路径前缀为 `C:/Users/icrdr/.codex/visualizations/2026/09/05/01a07226-3125-7c63-b655-8206da43c177/`。