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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| name | No | ||
| method | No | difference |