Click2Mask: Local Editing with Dynamic Mask Generation

Abstract

Recent advancements in generative models have revolutionized image generation and editing, making these tasks accessible to non-experts. This paper focuses on local image editing, particularly the task of adding new content to a loosely specified area. Existing methods often require a precise mask or a detailed description of the location, which can be cumbersome and prone to errors. We propose Click2Mask, a novel approach that simplifies the local editing process by requiring only a single point of reference (in addition to the content description). A mask is dynamically grown around this point during a Blended Latent Diffusion (BLD) process, guided by a masked CLIP-based semantic loss. Click2Mask surpasses the limitations of segmentation-based and fine-tuning dependent methods, offering a more user-friendly and contextually accurate solution. Our experiments demonstrate that Click2Mask not only minimizes user effort but also enables competitive or superior local image manipulations compared to SoTA methods, according to both human judgement and automatic metrics. Key contributions include the simplification of user input, the ability to freely add objects unconstrained by existing segments, and the integration potential of our dynamic mask approach within other editing methods.

Cite

Text

Regev et al. "Click2Mask: Local Editing with Dynamic Mask Generation." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I7.32720

Markdown

[Regev et al. "Click2Mask: Local Editing with Dynamic Mask Generation." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/regev2025aaai-click/) doi:10.1609/AAAI.V39I7.32720

BibTeX

@inproceedings{regev2025aaai-click,
  title     = {{Click2Mask: Local Editing with Dynamic Mask Generation}},
  author    = {Regev, Omer and Avrahami, Omri and Lischinski, Dani},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {6713-6721},
  doi       = {10.1609/AAAI.V39I7.32720},
  url       = {https://mlanthology.org/aaai/2025/regev2025aaai-click/}
}