MRX Tool: PhantomLib
Load one of the 20 BrainWeb simulated brain phantoms at a specified resolution and slice. Built using the MRX ToolAPI for use with MRI simulation pipelines.
BrainWeb Phantom Database
The BrainWeb database provides 20 realistic digital brain phantoms constructed from normal adult MRI scans, capturing intersubject anatomical variability. Each phantom includes fuzzy tissue classification maps that can drive MRI, PET, or SPECT simulations.
Input Parameters
| Parameter | Type | Description |
|---|---|---|
| subject | int | Subject number (1–20) |
| res_x | int | X resolution (1–434) |
| res_y | int | Y resolution (1–362) |
| res_z | int | Z resolution (1–434) |
| slice | int | Axial slice index to extract |
Output
Returns a MultiTissuePhantom containing tissue maps (GM, WM, CSF, etc.) for the selected slice.
Run locally cargo run --release Deploy to fly.io flyctl deploy