Inpainting is an image-editing technique in which only a masked area of a picture is regenerated, while everything outside the mask stays untouched. You select a region, describe what should be there, and the model fills it in so it blends with the rest of the image.
Uses in interior images
- Swapping one item: replace the sofa but keep the rest of the redesign.
- Fixing defects: a warped lamp, a melted chair leg, a window frame that went wrong.
- Removing objects: clutter, cables or a car in front of a house.
- Adding objects: a plant in the corner, art on a bare wall.
Tips
- Mask a little more than the object, including its shadow, so lighting blends.
- Describe what should be in the masked area, not the whole room.
- Keep scale in mind: a mask the size of a footstool will not produce a convincing sofa.
Inpainting works inside the frame; to extend an image beyond its edges, see outpainting.