A spatial masking tool in color grading software that isolates specific regions of an image using shapes and curves, with motion tracking capability to follow moving objects through a scene.
Definition
A Power Window is a spatial masking tool in professional grading software (primarily DaVinci Resolve) that allows specific areas of an image to be isolated and corrected independently. Power Windows combine:
- Mask Shapes: Rectangles, circles, ellipses, polygons, Bezier curves
- Feathering: Soft transitions between the mask and the outer area
- Motion Tracking: Automatic tracking of moving objects
- Grade Application: Independent color corrections within the mask
Historical Context
Origins (1980s-1990s)
The technology originates from professional grading systems:
- DaVinci (1980s): First digital grading system with masking
- Philips Evolution: Competing system with advanced masking
- Quantel Domino/Pablo: Broadcast standard with masking
Modern Implementation
DaVinci Resolve (since v12+):
- Multi-window support (any number of windows per node)
- Advanced motion tracking
- GPU-accelerated rendering
Other Software:
- Nuke: Roto nodes for masking
- After Effects: Mask tools
- Flame: Classic roto/masking
Power Window Shapes
Shape Types
1. Rectangle
Characteristics:
- Four corners, right-angled
- Good for structured areas
- Rotation and scaling
- Ideal for: Windows, walls, background areasApplications:
- Background darkening
- TV/monitor screen in the frame (separate correction)
- Area-based corrections
2. Circle / Oval
Characteristics:
- Round or elliptical
- Center-based
- Scalable in X/Y
- Ideal for: Round objects, focusApplications:
- Isolating a face or eye
- Circular vignetting effect
- Spotlight effect on a performer
- Round objects (lamps, balls)
3. Polygon
Characteristics:
- Any number of points
- Manual point placement
- For complex shapes
- Ideal for: Organic shapesApplications:
- Performer outline (rough)
- Complex background shapes
- Multi-object isolation
4. Bezier Curves
Characteristics:
- Smooth, curved lines
- Control points with handles
- Maximum precision
- Ideal for: Smooth, organic edgesApplications:
- Precise performer corrections
- Hair edge masking
- Professional roto work
5. Paint / Freehand
Characteristics:
- Freehand drawing
- Adjustable brush size
- Quick for rough masks
- Ideal for: Fast, imprecise masksApplications:
- Quick preliminary masks
- Rough area isolation
- Not for final grading
Feathering and Transitions
Feathering Concept
Definition:
Feathering is the transition area between the masked and unmasked regions.
Mathematics:
Hard Edge (Feathering = 0%):
Inside mask: 100% effect
Outside mask: 0% effect
Transition: Sharp/instant
Soft Edge (Feathering = 50%):
Transition zone with gradual reduction
0% (far) → 50% (mid) → 100% (inside)
Transition: Soft/gradualFeathering Values and Effects
| Feathering | Effect | Use Case |
|---|---|---|
| 0-5 Pixels | Very hard | Technical masks, green screen |
| 10-30 Pixels | Soft transition | Standard Power Windows |
| 50-100 Pixels | Very soft transition | Vignetting, subtle effects |
| 100+ Pixels | Extremely soft transition | Global vignetting, large-area effects |
Best Practice for Feathering
- Standard Power Window: 30-50 pixels
- Subtle Adjustments: 50-100 pixels
- Motion Tracking: Larger feathering for stability
- Never 0: Hard edges look unrealistic
Motion Tracking in Power Windows
Tracking Concept
Motion tracking enables automatic tracking of moving objects:
Example: Performer moves through scene
Frame 1: Draw window around performer's face
Frame 2-N: Tracking calculates automatic window position
Result: Window follows performer's movementTracking Algorithms
Point Tracking (Feature Tracking):
- Tracks a point in the image
- Uses pixel differences (contrast)
- Fast and reliable
- Works with good contrasts
Planar Tracking:
- Tracks a flat surface
- Considers rotation and perspective
- More accurate, but CPU-intensive
- Ideal for flat surfaces
Correlation Tracking:
- Template matching with a stored pattern
- Very robust against lighting changes
- Very CPU-intensive
DaVinci Resolve Tracking Workflow
Step 1: Create Window
Add Power Window
├── Select Shape (usually circle for face)
├── Position on object
└── Set Feathering (30-50 pixels)Step 2: Activate Tracking
Power Window > Motion Tab
├── Select Tracking Type (Point or Planar)
├── Choose Forward/Backward/Bidirectional
└── Define Tracking RegionStep 3: Perform Tracking
Resolve > Analyze/Track Forward
├── Tracking calculates automatically
├── Progress bar shows progress
└── Automatic keyframes are setStep 4: Validate Tracking
Scrub through timeline
├── Visually check window tracking
├── If errors: Manually correct keyframes
├── Optional: Re-track with different settingsTracking Errors and Solutions
| Error | Cause | Solution |
|---|---|---|
| Tracking loses object | Too fast movement | Smaller tracking region, choose simpler point |
| Tracking "dances" | Similar pixels in image | Choose a more specific point, larger region |
| Rotation not captured | Point tracking instead of Planar | Switch to Planar tracking |
| Tracking too slow | Too large region/complex algo | Reduce tracking region, use Point tracking |
| Sudden jumps | Cut or large movement | Split keyframes, separate track ranges |
Practical Power Window Scenarios
Scenario 1: Performer Isolation and Skin Tone Adjustment
Problem: Multiple performers with different skin tones in one scene.
Workflow:
Step 1: Perform primary grade (base for the whole image)
Step 2: Power Window #1 (Performer A - Face)
├── Ellipse around Face A
├── Feathering: 40 pixels
├── Tracking: Forward (performer remains relatively still)
└── Grade: Adjust skin tone specifically
Step 3: Power Window #2 (Performer B - Face)
├── Ellipse around Face B
├── Feathering: 40 pixels
├── Tracking: Forward
└── Grade: Match skin tone to A
Step 4: Validation
├── Skin tones should be consistent
├── Tracking should follow smoothly
└── Background should remain unchangedResult: Consistent skin tone grading across multiple performers
Scenario 2: Background Darkening and Separation
Problem: Background is too bright and distracts from the performer.
Workflow:
Step 1: Create Power Window (Inverted)
├── Draw rectangle or polygon around performer
├── Invert Toggle: Everything EXCEPT performer
├── Feathering: 60 pixels (soft transition)
└── Mask: Background is now isolated
Step 2: Grade on Inverted Mask
├── Exposure: -0.5 to -1.0 (darken)
├── Optional: Slightly increase contrast
├── Saturation: Optionally reduce for focus
└── Result: Background becomes darker/subtler
Step 3: Performer remains unchanged
├── Original brightness
├── Original color
└── Focus hierarchy establishedResult: Performer visually stands out, background is subtle
Scenario 3: Campfire or Light Object Isolation
Problem: Campfire or candlelight in the background needs separate color treatment.
Workflow:
Step 1: Power Window (Circle) around fire
├── Size: Slightly larger than the fire
├── Feathering: 30-40 pixels
└── Position: Centered on the fire
Step 2: Grade for firelight
├── Hue: Shift to orange/red
├── Saturation: Increase for intensity
├── Luminance: Lift for glow effect
└── Result: Fire looks more alive, vibrant
Step 3: Tracking (optional)
├── If camera is moving: Motion track
├── If fire is flickering: Adjust keyframes manually
└── Feathering prevents hard transitionsResult: Realistic, vibrant fire/light effect
Scenario 4: Eye-Light Enhancement
Problem: Eyes are too dark, need sparkle/glint for expression.
Workflow:
Step 1: Power Window (very small circle)
├── Size: Only over the eye
├── Center: On the eye
├── Feathering: 5-10 pixels (keep small)
└── Without feathering, it's too large for just the eye
Step 2: Grade for eye-light
├── Luminance: +0.3 to +0.5 (brighten)
├── Optional: Slightly increase saturation
├── Result: Eye sparkles more, livelier
Step 3: Repeat for other eye
├── Window #2 for the second eye
├── Same grade settings
└── Symmetrical for both eyes
Step 4: Check subtlety
├── Effect should be barely noticeable
├── Looks natural
├── Not too extremeResult: Lively, expressive eyes
Advanced Power Window Techniques
Multi-Window Layering
Multiple Power Windows in one node:
Node 1: Primary Grade (Base)
Node 2: Power Windows (multiple)
├── Window 1: Performer A skin
├── Window 2: Performer B skin
├── Window 3: Sky
├── Window 4: Foreground focus
└── All stackable in one nodeAdvantage: Organic structure, easier to manage
Nested Nodes for Complex Grading
Node 1: Primary Grade
├──→ Node 2: Power Window A (Tracking)
├──→ Node 3: Qualifier (e.g., Hue)
└──→ Node 4: Curves (Fine-tuning)
└──→ Node 5: Power Window B (Inverted)
└──→ Node 6: Secondary SaturationAdvantage: Modular, traceable structure
Keyframe-based Animation
Power Windows can be animated over time:
Frame 1: Window Position A
↓ (Keyframe Set)
Frame 100: Window Position B
↓ (Linear Interpolation)
Frames 1-100: Smooth transition between positionsApplications:
- Pan-following Power Windows
- Focus shifts during a scene
- Tracking error corrections
Performance and Optimization
Rendering Performance
GPU vs. CPU:
- GPU: Faster for simple shapes and tracking
- CPU: Fallback for complex geometry
Optimization Tips:
- Maximum 5-8 Power Windows per node
- Too many = rendering slowdown
- Node splitting for complex projects
Tracking Performance
| Tracking Type | Speed | Accuracy |
|---|---|---|
| Point | Fast | Medium |
| Planar | Medium | High |
| Correlation | Slow | Very High |
Best Practice: Point for fast workflows, Planar for precision
Common Errors and Solutions
| Error | Symptom | Solution |
|---|---|---|
| Hard edges visible | Feathering too small | Increase feathering to 30-50 pixels |
| Tracking dances back and forth | Faulty motion track | Manually set keyframes for problem frames |
| Entire scene disappears | Incorrect invert setting | Check invert toggle |
| Performance issues | Too many windows | Reduce windows or split node |
| Unnatural appearance | Too aggressive grade | Reduce grade values |
Best Practices for Power Windows
Rule 1: Feathering is Central
- Feathering prevents hard, unrealistic edges
- Standard: 30-50 pixels
- Larger windows: 50-100 pixels
- Bigger is better than too small
Rule 2: Subtle Adjustments
- Power Window grades should be barely noticeable
- If very visible: Too aggressive
- Goal: Supportive, not dominant, adjustment
Rule 3: Always Validate Tracking
- Never blindly trust tracking
- Scrub through the entire scene for checks
- If problems arise: Manually keyframe for fixes
- Spot-check at different frames
Rule 4: Documentation and Notes
- Name particularly important Power Windows (e.g., "Face A Tracking")
- Leave notes for special adjustments
- Helps for future modifications
Summary
Power Windows are the spatial masking tool for precise, localized color corrections. With modern motion tracking capabilities, it's possible to track complex masks over moving objects. Understanding shapes, feathering, and tracking is essential for professional high-end grading. Power Windows differentiate amateur grading from professional grading.
News
In DaVinci Resolve, the practical application of Power Windows is particularly evident in their integration with Magic Mask functions and the tracking of polygon masks. Users frequently discuss the differences between Power Windows on the Color page and comparable masking tools in Fusion, with the automatic tracking of moving objects remaining a central aspect.