Precise Object and Effect Removal with Adaptive Target-Aware Attention

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhao, Jixin, Wang, Zhouxia, Yang, Peiqing, Zhou, Shangchen
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915866169311232
author Zhao, Jixin
Wang, Zhouxia
Yang, Peiqing
Zhou, Shangchen
author_facet Zhao, Jixin
Wang, Zhouxia
Yang, Peiqing
Zhou, Shangchen
contents Object removal requires eliminating not only the target object but also its associated visual effects such as shadows and reflections. However, diffusion-based inpainting and removal methods often introduce artifacts, hallucinate contents, alter background, and struggle to remove object effects accurately. To address these challenges, we propose ObjectClear, a novel framework that decouples foreground removal from background reconstruction via an adaptive target-aware attention mechanism. This design empowers the model to precisely localize and remove both objects and their effects while maintaining high background fidelity. Moreover, the learned attention maps are leveraged for an attention-guided fusion strategy during inference, further enhancing visual consistency. To facilitate the training and evaluation, we construct OBER, a large-scale dataset for OBject-Effect Removal, which provides paired images with and without object-effects, along with precise masks for both objects and their effects. The dataset comprises high-quality captured and simulated data, covering diverse objects, effects, and complex multi-object scenes. Extensive experiments demonstrate that ObjectClear outperforms prior methods, achieving superior object-effect removal quality and background fidelity, especially in challenging scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2505_22636
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Precise Object and Effect Removal with Adaptive Target-Aware Attention
Zhao, Jixin
Wang, Zhouxia
Yang, Peiqing
Zhou, Shangchen
Computer Vision and Pattern Recognition
Object removal requires eliminating not only the target object but also its associated visual effects such as shadows and reflections. However, diffusion-based inpainting and removal methods often introduce artifacts, hallucinate contents, alter background, and struggle to remove object effects accurately. To address these challenges, we propose ObjectClear, a novel framework that decouples foreground removal from background reconstruction via an adaptive target-aware attention mechanism. This design empowers the model to precisely localize and remove both objects and their effects while maintaining high background fidelity. Moreover, the learned attention maps are leveraged for an attention-guided fusion strategy during inference, further enhancing visual consistency. To facilitate the training and evaluation, we construct OBER, a large-scale dataset for OBject-Effect Removal, which provides paired images with and without object-effects, along with precise masks for both objects and their effects. The dataset comprises high-quality captured and simulated data, covering diverse objects, effects, and complex multi-object scenes. Extensive experiments demonstrate that ObjectClear outperforms prior methods, achieving superior object-effect removal quality and background fidelity, especially in challenging scenarios.
title Precise Object and Effect Removal with Adaptive Target-Aware Attention
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.22636