create_luminance_mask
Generate a luminance mask from a color view for selective edits. Uses Rec.709 coefficients, optional blur, and shadow clip to isolate bright areas.
Instructions
Create a luminance mask from a color view: Y = 0.2126R + 0.7152G + 0.0722B, then an optional blur and shadow clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | Blur sigma applied to the mask (default 5) | |
| gamma | No | Gamma curve applied to the mask (default 1.0) | |
| mask_id | Yes | Name for the mask | |
| clip_low | No | Shadow clip threshold, below which the mask is 0 (default 0.10) | |
| source_id | Yes | Source color view ID |