image_statistics
image_statisticsCompute per-channel image statistics (median, mean, sigma, min/max, clipped/saturated counts, noise, SNR, background ratios) to validate every stretch or sharpen step.
Instructions
Per-channel median, MAD, mean, σ, min/max, clipped-black and saturated counts/percent, MRS noise estimate, SNR proxy, background neutrality ratios, linear guess. Read-only. Use after every stretch/sharpen step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| rect | No | [x, y, width, height] in image pixels | |
| clip_low | No | Value at/below which pixels count as clipped (default 0) | |
| clip_high | No | Value at/above which pixels count as saturated (default 1) |