ha_inject_luminance
Boosts RGB luminance wherever hydrogen-alpha signal exceeds it, maintaining original color ratios by scaling channels equally.
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].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_id": "<target_id>",
"ha_id": "<ha_id>",
"strength": "<strength>"
},
"name": "ha_inject_luminance"
}
}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 |