抠图抠出被挡住的部分
从一张照片里抠出一个物体,它被挡住的那半边,AI 现在能自己补出来,还顺带把「材质」和「光照」拆开。做法是先用 Blender 造了一批成对的数据:同一场景有物体和没物体各渲染一遍,并标注被遮挡区域该有的材质、反照率等属性;再训练一个共享的扩散 Transformer,用材质查询条件同时输出前景、背景和完整的本征层,被挡部分也在内。另有一个冻结的插入模型,负责把抠出的资产放进新背景,并在训练时反过来监督抠取。结果是补出的被挡部分物理上说得通,物体能干净移除,材质可单独改,还能跨场景重新摆放,透明和自发光物体也处理得了,不需要目标场景的几何或光照信息。做电商换背景、室内摆件预览、把照片里的东西挪到另一张图里的人,这是能直接用上的方向。
📄 原文摘要(英文)
Extracting editable object assets from a single image requires completing occluded regions, disentangling intrinsic properties, and removing object-induced background effects. Existing layering methods retain environment-dependent appearance, while inverse rendering typically estimates visible-surface attributes without completing occluded object regions. To address these limitations, we introduce IntrinsicPairs, a Blender-rendered dataset pairing object-present and object-absent scenes with amodal intrinsic annotations. We propose IntrinsicLayers, a shared diffusion Transformer with material query conditioning that jointly recovers foreground, background, and complete intrinsic layers, including attributes of occluded object regions. The companion IntrinsicInsert model synthesizes edited assets in target backgrounds and is frozen to provide insertion-response supervision during extraction training. It handles transparent and emissive object interactions without explicit target-scene geometry or lighting, which conventional rendering of 2.5D assets typically requires. Experiments demonstrate physically plausible amodal foreground completion, object removal, and intrinsic decomposition for material editing and cross-scene reinsertion. Project page: https://cr-1201.github.io/IntrinsicLayers/