add_luminance_adjustment
Apply selective brightness adjustments to shadows, midtones, or highlights in RAW photos. Fine-tune exposure, contrast, and more only within the chosen luminance range.
Instructions
Add a luminance-based local adjustment to a PP3 profile.
Creates a Locallab spot that targets a specific luminance range (shadows, midtones, highlights, or custom). The adjustment only affects pixels within the specified brightness range, enabling selective edits like shadow recovery or highlight compression without affecting the rest.
adjustment_type: "shadows" (0-30%), "midtones" (25-75%), "highlights" (70-100%), or "custom" (requires luminance_range).
parameters: Processing adjustments to apply in the selected range. Keys: exposure (-2 to +2 EV), contrast (-100 to +100), saturation (-100 to +100), brightness (-100 to +100), black (0-500), highlight_compression (0-500), sharpening (0-100), denoise_luma (0-100), denoise_chroma (0-100), white_balance_shift (Kelvin, -500 to +500).
luminance_range (custom only): {"lower": 0-100, "upper": 0-100, "lower_transition": 0-100, "upper_transition": 0-100}.
Params: profile_path, adjustment_type, parameters, luminance_range, transition, strength, spot_name, save_as
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_path | Yes | ||
| adjustment_type | Yes | ||
| parameters | Yes | ||
| luminance_range | No | ||
| transition | No | ||
| strength | No | ||
| spot_name | No | ||
| save_as | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||