get_image_stats
Retrieve median, MAD, min, max, per-channel medians, and clamp fractions from a PixInsight image view to assess pixel distribution and clipping.
Instructions
Get image statistics: median, MAD, min, max, per-channel medians, and per channel the fraction of samples at exactly 0 and at exactly 1 (clampFractions).
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>"
},
"name": "get_image_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | PixInsight view ID |