measure_core_clipping
Measure clipped highlights in the brightest region. Counts pixels above a threshold in a wide and inner box centered on the peak, returning fractions and peak coordinates.
Instructions
Measure how much of the brightest region is above a level. Around the brightest 64 px block (mean luminance), counts pixels with any channel above level in a 128 px box (every 2nd pixel) and a 32 px box (every pixel), both centred on that block and held inside the image. Returns JSON: fraction_above_wide, fraction_above_inner, peak (largest luminance in the wide box), core_center [x, y], wide_box, inner_box. luminance is 0.2126R + 0.7152G + 0.0722B.
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>",
"level": "<level>"
},
"name": "measure_core_clipping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Pixel level; a pixel with any channel above it is counted | |
| view_id | Yes | View to measure |