Skip to content

Official Implementation of "Trans-Adapter: A Plug-and-Play Framework for Transparent Image Inpainting"

Notifications You must be signed in to change notification settings

ykdai/Trans-Adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Trans-Adapter: A Plug-and-Play Framework for Transparent Image Inpainting (ICCV2025)

Paper | Project Page | Dataset

Yuekun Dai, Haitian Li, Shangchen Zhou, Chen Change Loy

S-Lab, Nanyang Technological University

Trans-Adapter Banner

Code will be released soon. Please stay tuned.

Abstract

RGBA images, with the additional alpha channel, are crucial for any application that needs blending, masking, or transparency effects, making them more versatile than standard RGB images. Nevertheless, existing image inpainting methods are designed exclusively for RGB images. Conventional approaches to transparent image inpainting typically involve placing a background underneath RGBA images and employing a two-stage process: image inpainting followed by image matting. This pipeline, however, struggles to preserve transparency consistency in edited regions, and matting can introduce jagged edges along transparency boundaries. To address these challenges, we propose Trans-Adapter, a plug-and-play adapter that enables diffusion-based inpainting models to process transparent images directly. Trans-Adapter also supports controllable editing via ControlNet and can be seamlessly integrated into various community models. To evaluate our method, we introduce LayerBench, along with a novel non-reference alpha edge quality evaluation metric for assessing transparency edge quality.

Citation

If you find this work useful, please cite:

@article{transadapter2025,
  title     = {Trans-Adapter: A Plug-and-Play Framework for Transparent Image Inpainting},
  author    = {Dai, Yuekun and Li, Haitian and Zhou, Shangchen and Loy, Chen Change},
  journal   = {ICCV},
  year      = {2025},
}

Contact

If you have any question, please feel free to reach me out at ydai005@e.ntu.edu.sg.

About

Official Implementation of "Trans-Adapter: A Plug-and-Play Framework for Transparent Image Inpainting"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published