create_zone_masks
Creates core, shell, and halo masks from luminance thresholds, each with linear ramps and Gaussian blur. Set three clip values to generate masks for targeted edits.
Instructions
Create core, shell and halo masks from three fixed luminance thresholds. Luminance is the Rec.709 luma of a color view, the samples of a gray one: core = above core_clip, shell = shell_clip to core_clip, halo = halo_clip to shell_clip, each ramped linearly from 0 to 1 across its band and Gaussian-blurred with sigma 8, 12 and 20. Creates views mask_core, mask_shell and mask_halo, replacing views of those names. Requires halo_clip < shell_clip < core_clip < 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | Source view the masks are computed from | |
| core_clip | Yes | Luminance above which a pixel is in the core mask (0-1) | |
| halo_clip | Yes | Luminance above which a pixel, up to shell_clip, is in the halo mask (0-1) | |
| shell_clip | Yes | Luminance above which a pixel, up to core_clip, is in the shell mask (0-1) |