ha_inject_luminance
Boost RGB luminance in Ha-emitting regions while preserving color balance. Use when narrowband Ha signal surpasses broadband luminance, multiplying channels by strength-scaled excess fraction.
Instructions
Raise the luminance of an RGB view in place where Ha exceeds it, keeping colour ratios. With Y the Rec.709 luminance, each channel is multiplied by (Y + strength * max(Ha - Y, 0)) / Y. Runs as 64-bit PixelMath truncated to [0,1].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ha_id | Yes | Ha view (mono, same dimensions) | |
| strength | Yes | Fraction of the Ha excess over the luminance that is added | |
| target_id | Yes | Target RGB view, modified in place |