pixelmath_new_image
Apply PixelMath expressions to create a new image from RGB or grayscale formulas referencing open views. Set the output ID and size source to generate the result.
Instructions
Run PixelMath to create a NEW image from expressions that reference other open views by id. Color "rgb" takes red/green/blue expressions; color "gray" takes a single expression. View ids used inside expressions must be simple identifiers (rename_view renames a view). No pow() — use exp(exponent*ln(base)) or the ^ operator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| red | No | Red channel expression (color "rgb") | |
| blue | No | Blue channel expression (color "rgb") | |
| color | Yes | ||
| green | No | Green channel expression (color "rgb") | |
| symbols | No | PixelMath symbols; constants only, e.g. "k=0.3". Symbols cannot hold images: write image expressions inline. | |
| output_id | Yes | Id for the new image | |
| size_from | Yes | A view whose width and height the new image copies | |
| expression | No | Single expression for color "gray" |