get_tx_pixel_stats
Compute per-channel pixel statistics at a chosen MIP level, including min, max, mean, percentiles, and NaN/Inf counts. Use higher MIP levels for approximate stats on large TX textures.
Instructions
Compute pixel statistics per channel at the specified MIP level: min, max, mean,
percentiles (p25/p50/p75/p95), and NaN/Inf counts. Use a higher MIP level
(e.g. mip_level=4) for fast approximate statistics on large textures.
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": {
"file_path": "<file_path>"
},
"name": "get_tx_pixel_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channels | No | Channel names to compute stats for; null means all channels | |
| file_path | Yes | Absolute path to the TX file | |
| mip_level | No | MIP level to sample (0 = full resolution, higher = smaller/faster) | |
| ignore_nan | No | Exclude NaN/Inf values from statistics |