measure_bright_chroma
Measure colorfulness (chroma) of bright pixels in a color view by applying a brightness threshold. Returns median, mean, quartiles, and count of bright pixels.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"view_id": "<view_id>",
"brightness_threshold": "<brightness_threshold>"
},
"name": "measure_bright_chroma"
}
}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 |