measure_saturation
Measures HSV saturation of bright subject pixels in a colour view, returning median, p90, p99, and max values for analysis.
Instructions
Measure HSV saturation, (max - min) / max, of subject pixels of a colour view: every 8th pixel whose luminance is above the luminance of the channel medians + 5 x (median |luminance - that| on a 32 px grid). Returns JSON: median, p90, p99, max, subject_pixel_count. A mono view is an error. luminance is 0.2126R + 0.7152G + 0.0722B.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | Colour view to measure |