run_pixelmath
Execute custom PixelMath expressions on a PixInsight view for pixel-level calculations and image transformations.
Instructions
Run an arbitrary PixelMath expression in place on a view. RULES: (1) NO pow() — use exp(exponent*ln(base)). (2) Channel access is $T[0] for R, $T[1] for G, $T[2] for B — NOT $T.R or $T.B. (3) For other images use viewId[0], viewId[1], viewId[2].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | No | Symbol declarations (comma-separated) | |
| view_id | Yes | View ID to process | |
| expression | Yes | PixelMath expression using $T for current pixel value | |
| single_expression | No | Apply the same expression to all channels (default true) |