pixel_statistics
Calculate ROI or whole-frame pixel statistics in modality units (HU for CT), including mean, std, min, max, percentiles, and area in mm².
Instructions
Pixel value statistics in modality units (HU for CT): mean, std, min, max, percentiles and area in mm2.
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": {
"path": "<path>"
},
"name": "pixel_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roi | No | Region of interest; omit for the whole frame. | |
| path | Yes | Path to a local DICOM file inside the allowed paths (e.g. from retrieve). | |
| frame | No | 0-based frame index for multi-frame images. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||