apply_mask
Apply a mask to a target view, protecting black pixels from processing while allowing white pixels. Set inverted=true to swap protected and processed areas.
Instructions
Apply a mask to a target view. The mask protects areas where it is black (0) and allows processing where it is white (1). Use inverted=true to flip this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask_id | Yes | Mask view ID | |
| inverted | No | Invert the mask (default false) | |
| target_id | Yes | Target view ID |