AmodalSVG: Amodal Image Vectorization via Semantic Layer Peeling
Organizations: School of Software, Beihang University · Igarashi Lab, The University of Tokyo · Bambu Lab · Department of Computer Science, The University of Hong Kong
Abstract
We introduce AmodalSVG, a new framework for amodal image vectorization that produces semantically organized and geometrically complete SVG representations from natural images. Existing vectorization methods operate under a modal paradigm: tracing only visible pixels and disregarding occlusion. Consequently, the resulting SVGs are semantically entangled and geometrically incomplete, limiting SVG's structural editability. In contrast, AmodalSVG reconstructs full object geometries, including occluded regions, into independent, editable vector layers. To achieve this, AmodalSVG reformulates image vectorization as a two-stage framework, performing semantic decoupling and completion in the raster domain to produce amodally complete semantic layers, which are then independently vectorized. In the first stage, we introduce Semantic Layer Peeling (SLP), a VLM-guided strategy that progressively decomposes an image into semantically coherent layers. By hybrid inpainting, SLP recovers complete object appearances under occlusions, enabling explicit semantic decoupling. To vectorize these layers efficiently, we propose Adaptive Layered Vectorization (ALV), which dynamically modulates the primitive budget via an error-budget-driven adjustment mechanism. Extensive experiments demonstrate that AmodalSVG significantly outperforms prior methods in visual fidelity. Moreover, the resulting amodal layers enable object-level editing directly in the vector domain, capabilities not supported by existing vectorization approaches. Code will be released upon acceptance.
Figures & tables
| Metric | Global Optimization | Coarse-to-fine Layering | Path-by-path Layering | Amodal Layering | |||||
|---|---|---|---|---|---|---|---|---|---|
| DiffVG [ 20 ] | O&R [ 14 ] | LIVE [ 24 ] | SGLIVE [ 59 ] | LayerTracer [ 35 ] | LayeredVec [ 43 ] | LayerPeeler [ 46 ] | AdaVec [ 58 ] | Ours | |
| MSE | 0.00098 | 0.00423 | 0.00110 | 0.01809 | 0.00464 | 0.00099 | 0.14324 | 0.00891 | 0.00072 |
| PSNR | 30.52 | 23.76 | 30.07 | 18.00 | 24.01 | 30.45 | 9.72 | 20.61 | 32.91 |
| SSIM | 0.8860 | 0.7093 | 0.8863 | 0.6230 | 0.7533 | 0.8939 | 0.5591 | 0.6943 | 0.9342 |
| LPIPS | 0.1075 | 0.3450 | 0.1635 | 0.3727 | 0.2161 | 0.1307 | 0.5211 | 0.3280 | 0.0554 |
| Paradigm | Semantic Decoupling | Structural Completion | Recolor | Resize | Reposition | Reorder | Remove | Replace |
|---|---|---|---|---|---|---|---|---|
| Global Optimization [ 34 , 40 , 20 , 29 , 14 ] | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Path-by-path Layering [ 58 , 46 ] | ✗ | ➚ | ➚ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Coarse-to-Fine Layering [ 24 , 59 , 35 , 43 ] | ➚ | ✗ | ➚ | ➚ | ➚ | ✗ | ➚ | ➚ |
| Amodal Layering (Ours) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Prune ratio | Method | Quality | Runtime (s) | |||
|---|---|---|---|---|---|---|
| MSE | PSNR | SSIM | LPIPS | |||
| Area | 40.24 | 0.9896 | 0.0104 | 0.533 | ||
| Opacity | 37.76 | 0.9856 | 0.0177 | 0.244 | ||
| Oracle | 0.9997 | 0.0020 | 129.049 | |||
| 10% | Ours | 52.49 | 0.9946 | 0.0065 | 6.468 | |
| Area | 36.57 | 0.9769 | 0.0232 | 0.322 | ||