help > Running VLSM with NiiStat: Unexpected image dimensions
Nov 15, 2022  10:11 AM | Hanne Huygelier - KU Leuven
Running VLSM with NiiStat: Unexpected image dimensions
Dear NiiStat forum,

It's my first time performing a VLSM.
I am working on a dataset of binary lesion maps delineated on different clinical scan modalities (i.e., CT, T2, FLAIR). 
I first ran the nii_nii2mat conversion to create a folder with all binary lesion maps in .mat format.
I then tried to run a basic VLSM (single modality: lesion map) with Bonferroni correction (just to practice) and considering lesion volume.

However, I got the following error message: 

"Unexpected image dimensions vary [with after that a reference to a FLAIR lesion map] and then a number: 18685."

What could be causing this error? // Update: I found cause of issue.
Images still needed to be resliced to match them on dimensions.


With kind regards,
Hanne