Supported modalities & formats
NeuXelec accepts any combination of the following imaging modalities. All coregistrations are performed using MRI 1 as the reference volume.
- MRI 1: reference volume, all other images are registered to this one
- MRI 2: registered to MRI 1, rigid then affine (accepts any MRI modality: T1, T2, FLAIR, etc.)
- CT: rigid registration, preserves electrode geometry
- PET: registered to MRI 1, rigid then affine
- SPECT ictal & interictal: for SISCOM computation
- fMRI: read as a statistical map or as a scanner colour fusion, from which the activation is recovered
- Implantation plan: a NeuroInspire
.nipfile, registered on MRI 1 when it was drawn on another image - Pial surfaces: left/right hemisphere meshes (FreeSurfer)
- Brain parcellations: FreeSurfer aparc+aseg or custom atlases
Accepted file formats: NIfTI (.nii, .nii.gz), DICOM folders (auto-converted), MGZ (FreeSurfer native).
ANTs coregistration
All modalities are registered to MRI 1 using ANTs (Advanced Normalization Tools): rigid then affine, except for the CT, which is rigid only, so the geometry of the electrodes is never scaled.
Transform matrices are saved for downstream use.
Automatic brain masking
NeuXelec uses template-based ANTs registration to generate a brain mask from the MRI 1 volume. The mask constrains all downstream processing to brain tissue, improving coregistration quality and SISCOM accuracy.
The cockpit
Every image of the patient is listed with three columns: loaded, coregistered, saved. A green dot means done, an orange dot is what remains to do, an empty circle means nothing is there. A coregistration only turns green once you have reviewed it, because only a reviewed one can be saved.
So the state of the patient reads at a glance, without re-running anything.
Save coregistered images
Once coregistration is reviewed, all aligned volumes can be written from one window, line by line or all at once. Each coregistered file is saved in NIfTI format to your project directory, ready for further analysis or sharing with collaborators.
The save then offers to remove the files that led to it: a CT arrives as a DICOM folder, becomes a NIfTI, then a cleaned copy, and only then the volume resampled into MRI 1. Nothing is ticked in advance, and what you let go goes to the recycle bin.
Visual validation
After coregistration, use the built-in overlay viewer to inspect alignment quality for any pair of modalities. Adjust or re-run registration if needed: all original files remain untouched.
SISCOM computation
When both ictal and interictal SPECT scans are loaded and coregistered, NeuXelec computes SISCOM automatically: normalization, subtraction, z-score map, thresholded result.
Workflow
- Load asks what you are loading: imaging, parcellation, surfaces and brain mask, or the implantation plan
- Load MRI 1 first, it is the reference; every other modality is optional
- Read the three columns of the cockpit to see what is left to do
- Align asks which image to register, and the step follows the calculation while it runs
- Review opens the comparison on the alignment that was just computed, green against red, with a manual console to correct it by hand
- Save writes the reviewed outputs, and offers to clean up what led to them