compare_volumes
Perform voxelwise arithmetic comparison (difference or ratio) between two loaded brain volumes and store the result in the session.
Instructions
Voxelwise difference or ratio of two loaded volumes; adds the result to the session.
Arithmetic, not inference. The output is not a statistical map and carries no significance of any kind — describe it as a difference image, nothing more.
Args: a: First volume (the minuend / numerator). Defines the output grid. b: Second volume. Resampled onto a's grid if the grids differ. method: "difference" or "ratio". name: Handle for the result volume.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "compare_volumes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| name | No | ||
| method | No | difference |