Masking / Mask
What is Masking / Mask?
A Mask is a defined area within an image that controls where an edit or AI generation applies: like using a stencil to paint only specific parts of a picture while protecting everything else from being changed.
At a glance
- Also known as
- Selection maskAlpha maskInpainting maskRotoscope mask
- Used for
- Defining areas for targeted AI inpainting and regenerationSeparating subjects from backgrounds in compositingApplying colour grades or effects to specific image regions only
- Common tools
- Adobe photoshopAfter effectsDaVinci resolveAI generation platforms with inpainting toolsAutomatic subject detection tools
- Related terms
- InpaintingCompositingLayer/LayeringRotoscopingChroma keyAlpha channel
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.
How it compares
Compared with related concepts
Masking differs from full-image operations in its spatial precision: rather than applying a change globally to the entire image, masking constrains the operation to exactly the region where it is needed. This precision is what makes masking essential to professional compositing and AI generation refinement workflows. Without masking, every correction requires full regeneration or global adjustment; with masking, corrections can be applied surgically to exactly the area that needs them.
Think of it like…
A mask in image editing works exactly like a physical stencil: it defines the shape through which paint can reach the surface, protecting everything outside that shape from being affected. You can apply any treatment through the stencil's opening, and nothing outside it changes.
Pro tip
When using masks for AI inpainting corrections, paint the mask slightly larger than the specific problem area: including a small border of surrounding good content within the mask helps the model understand the context and blend the regenerated area more convincingly into the surrounding composition rather than producing a sharp, visible boundary between old and new content.
Types and variations
Mask types include hard masks with sharp, defined edges between affected and protected areas; soft or feathered masks with a gradual transition zone that blends the effect more naturally into surrounding content; luminance masks that are generated from the brightness values of the image itself, protecting highlights or shadows selectively; colour range masks that protect or isolate specific hues; and AI-generated semantic masks that automatically detect and outline specific content categories like people, sky, or objects.
Ready to make your first scene in Morphic?
Try MorphicCommon use cases
Masking is used for inpainting corrections in AI generation workflows to fix specific problem areas while preserving successful regions, for background replacement in compositing by masking the foreground subject, for targeted colour grading adjustments in post-production, for visual effects application to specific scene elements, for extending images through outpainting by masking the new canvas area, for replacing product labels, text, or brand elements in advertising imagery, and for any editing task requiring precision application of a change to a specific part of a composition.
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.