paper-with-me

홈 › Papers

SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Model

2022-12-09 · CVPR 2023 1 · Shaoan Xie, Zhifei Zhang, Zhe Lin, Tobias Hinz, Kun Zhang

Generic image inpainting aims to complete a corrupted image by borrowing surrounding information, which barely generates novel content. By contrast, multi-modal inpainting provides more flexible and useful controls on the inpainted content, \eg, a text prompt can be used to describe an object with richer attributes, and a mask can be used to constrain the shape of the inpainted object rather than being only considered as a missing area. We propose a new diffusion-based model named SmartBrush for completing a missing region with an object using both text and shape-guidance. While previous work such as DALLE-2 and Stable Diffusion can do text-guided inapinting they do not support shape guidance and tend to modify background texture surrounding the generated object. Our model incorporates both text and shape guidance with precision control. To preserve the background better, we propose a novel training and sampling strategy by augmenting the diffusion U-net with object-mask prediction. Lastly, we introduce a multi-task training strategy by jointly training inpainting with text-to-image generation to leverage more training data. We conduct extensive experiments showing that our model outperforms all baselines in terms of visual quality, mask controllability, and background preservation.

📄 PDF Abstract BibTeX arXiv:2212.05034

Code (1)

IjustAi/smartbrush pytorch

Tasks

Image GenerationImage InpaintingObjectText to Image GenerationText-to-Image Generation

Methods 이 논문이 사용한 방법론

Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Max Pooling Max Pooling is a pooling operation that calculates the maximum value for patches of a feature map, and uses it to create a downsampled (pooled) feature map. It is usually…
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Concatenated Skip Connection A Concatenated Skip Connection is a type of skip connection that seeks to reuse features by concatenating them to new layers, allowing more information to be retained from…
Inpainting Train a convolutional neural network to generate the contents of an arbitrary image region conditioned on its surroundings.
U-Net 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Shape-guided Object Inpainting

2022-04-16 · Yu Zeng, Zhe Lin, Vishal M. Patel

Previous works on image inpainting mainly focus on inpainting background or partially missing objects, while the problem of inpainting an entire missing object remains unexplored. This work studies a new image inpainting…

Image InpaintingObject

Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpainting

2022-12-13 · CVPR 2023 1 · Su Wang, Chitwan Saharia, Ceslee Montgomery, Jordi Pont-Tuset 외

Text-guided image editing can have a transformative impact in supporting creative applications. A key challenge is to generate edits that are faithful to input text prompts, while consistent with input images. We present…

Image InpaintingObjecttext-guided-image-editing

A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting

2023-12-06 · Junhao Zhuang, Yanhong Zeng, Wenran Liu, Chun Yuan 외

Advancing image inpainting is challenging as it requires filling user-specified regions for various intents, such as background filling and object synthesis. Existing approaches focus on either context-aware filling or o…

Image InpaintingObject

Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Model

2024-07-24 · Lirui Zhao, Tianshuo Yang, Wenqi Shao, Yuxin Zhang 외

This paper addresses an important problem of object addition for images with only text guidance. It is challenging because the new object must be integrated seamlessly into the image with consistent visual context, such …

Image InpaintingObject

Sketch-guided Image Inpainting with Partial Discrete Diffusion Process

2024-04-18 · Nakul Sharma, Aditay Tripathi, Anirban Chakraborty, Anand Mishra

In this work, we study the task of sketch-guided image inpainting. Unlike the well-explored natural language-guided image inpainting, which excels in capturing semantic details, the relatively less-studied sketch-guided …

Image Inpainting