检查透明PNG预处理后的主体范围,避免罐盖与灯杆边缘被裁掉
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json


本课实际输入字段
| input_file | alpha_bbox_fixture | padding_px | critical_region | processed_file |
|---|---|---|---|---|
| blue-storage-jar.png | read actual alpha bbox | 40 | lid and full side edges | pending target preprocessing |
| apricot-desk-lamp.png | read actual alpha bbox | 80 | lamp shade and stem | pending target preprocessing |
| paper-fox.png | RGB original; alpha not assumed | 80 | ears and feet | pending target preprocessing |


查看官方预处理路径
reference.csv:作者验收映射,不是目标API回包
| item | expected | identity |
|---|---|---|
| Alpha | 仅RGBA原创具原生透明层 | author_acceptance_reference |
| 边界 | 源完整不等预处理完整 | author_acceptance_reference |
| 输入身份 | sage-bottle原图为RGB,不假装透明PNG | author_acceptance_reference |
实际原生GLB读回
{
"measurements": {},
"files": [
{
"file": "author-control.glb",
"bytes": 66456,
"extensionsUsed": [],
"animations": 0
}
]
}应当保留的约束
| item | expected | identity |
|---|---|---|
| Alpha | 仅RGBA原创具原生透明层 | author_acceptance_reference |
| 边界 | 源完整不等预处理完整 | author_acceptance_reference |
| 输入身份 | sage-bottle原图为RGB,不假装透明PNG | author_acceptance_reference |
故意构造的错误样例
| case | bad_value | why_reject |
|---|---|---|
| 格式假设 | RGB sage-bottle称透明PNG | 无原生Alpha |
| 裁切漏查 | 只看输入不存processed image | 漏预处理截掉主体 |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。