measure_bright_chroma
Measures colorfulness (chroma) of bright pixels in a color image by thresholding brightness, returning median, mean, and percentile values.
Instructions
Measure chroma, (max - min) / max, of the bright pixels of a colour view: every 8th pixel whose mean of R, G and B is above brightness_threshold. Returns JSON: median_chroma, mean_chroma, p25_chroma, p75_chroma, bright_pixel_count. A mono view is an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | Colour view to measure | |
| brightness_threshold | Yes | Mean of R, G and B above which a pixel is measured |