Brain Atrophy - Cross-Sectional with White-Matter Lesions
The picture below shows the setup for assessing brain atrophy at a single time-point
(cross-sectionally) when there are white-matter (WM) lesions present. For this, you need both
a T1-weighted image and a FLAIR image.

The T1-weighted image should, ideally, have been acquired using a 3-D (not
multi-slice) pulse sequence.
- Load the T1-weighted image in the first input image
selection panel. In the example above, this is called
"
T1Weighted.nii
".
Load the FLAIR image in the second input image
selection panel. In the example above, this is called "FLAIR.nii
".
.
If the T1-weighted image was acquired multi-slice (with slice
selection), rather than 3-D (with the slice dimension being
phase-encoded), then select this option.
- Leave the
slider at its
default value of 5. This should not need to be changed.
- Select
. Jim
has been trained to segment WM lesions using a selection of images
from different MR scanners with variations in pulse
sequence. However, if your images have unusual contrast (particularly
the FLAIR images) then you may need to change the "lesion threshold
fraction" setting from its default value of 0.5.
Either move the slider, or type in a value between 0 and 1.
Using lower values will increase the WM lesion load, and higher
values will decrease it.
If you trained the lesion
segmentation using your own data, you will need to select
,
and set the file containing the trained image region statistics using:
.
- Set the base name and folder for the output images.
Now press the
button to
start the analysis, which will take some time.
When the analysis is complete, you will see a pop-up message showing the results:

These results show:
- The grey-matter (GM) lesion volume.
- The white-matter (WM) lesion volume.
- The total lesion volume.
- The probabilistic GM lesion load - an intensity-weighted volume as a
percentage of the total GM volume.
- The probabilistic WM lesion load - an intensity-weighted volume as a
percentage of the total WM volume.
- The total probabilisticlesion load - - an intensity-weighted volume as a
percentage of the total brain parcenchyma volume.
- The GM volume (including GM lesions).
- The WM volume (including WM lesions).
- The cerebro-spinal fluid (CSF) volume.
- The intra-cranial (IC) volume, which is the sum of the volumes of the 3 compartments
above.
- The brain parenchymal fraction (BPF), which is: (GM Volume + WM Volume) / ICV.
- The grey-matter fraction (GMF), which is: GM Volume / ICV.
- The white-matter fraction (WMF), which is: WM Volume / ICV.
To make a permanent record of these results, you can:
- Write to a text file report. A
File chooser will appear, for you
to choose a log file name. The default file extension for log
files is ".log". If the chosen file already exists, an
entry will be appended to the log file.
- Write to a
PDF file report. A File chooser will appear, for you
to choose a PDF file name. If the chosen file already exists, an
entry will be appended to the PDF file. A PDF report will also include an illustration the
GM/WM/CSF segmentation.
For an input T1-weighted image called "T1Weighted.nii",
and FLAIR image called "FLAIR.nii", and a base name of "Test", these
output images will be created in the selected folder:
TestGMPrior.nii
- the grey-matter prior probability image, registered to
the cropped T1-weighted image.
TestWMPrior.nii
- the white-matter prior probability image, registered to
the cropped T1-weighted image.
TestCSFPrior.nii
- the CSF prior probability image, registered to
the cropped T1-weighted image.
TestLVPrior.nii
- the lateral ventricles prior
probability image, registered to the cropped T1-weighted image.
TestPosition.nii
- an image of the pixel positions in
template image space.
rT1Weighted_pGM.nii
- the grey-matter posterior
probability image.
rT1Weighted_pWM.nii
- the white-matter posterior
probability image.
rT1Weighted_pCSF.nii
- the CSF posterior probability
image.
rT1Weighted_pOTHER.nii
- the other (non-tissue)
class posterior probability image.
rT1Weighted_Classes.nii
- a colour image showing the
final segmented tissue classes.
rT1Weighted.nii
- a cropped version of the T1-weighted
input image and bcrT1Weighted.nii
, a bias-corrected version of this.
rFLAIR.nii
- the FLAIR image registered to
the cropped T1-weighted image
and bcrFLAIR.nii
, a bias-corrected version of
this.
Lesion review
Also produced is an ROI file called (in this example) "rFLAIR.roi"
, where the
ROIs outline the segmented lesions on every image slice. These ROIs can
be reviewed by
loading
them onto either rFLAIR.nii or bcrFLAIR.nii, to ensure that the outlining of lesions is
satisfactory. If the outlining is not satisfactory, you can either:
Note: when the analysis is repeated like this, as long as the output images
initally produced are not removed, and the output images Basename is not
changed, then the analysis will run in a much shorter time, since
intermediate registration steps can be skipped.
The procedure for cross-sectional atrophy assessment when hyperintense
lesions are present (after the registration steps), is summarised in
the flow-chart below.

The Expectation-Maximization first classifies the tissue.
Lesions are then segmented using a
lesion intensity model, before the E-M classifier is run again after
excluding lesion pixels. The location of the lesions (GM or WM) is
determined by examining their position relative to the prior tissue
class probabilities. The GM and WM lesion volumes are added to the
E-M segmented GM and WM volumes when reporting the final tissue volumes.