Hi everyone,
I’m trying to register a brain-extracted T1w image into MNI space using FLIRT. The output image results cropped and off-center and I’m not quite understanding why.
Here is the command I’m using:
flirt -in sub-1_ses-1_brain.nii.gz -ref /fsl/data/standard/MNI152_T1_1mm_brain.nii.gz -applyxfm -usesqform -out sub-1_ses-1_reg.nii.gz
Here is the mrinfo output of my brain-extracted T1 image:
Dimensions: 512 x 512 x 168
Voxel size: 0.4688 x 0.4688 x 1
Data strides: [ 1 2 3 ]
Format: NIfTI-1.1 (GZip compressed)
Data type: 32 bit float (little endian)
Intensity scaling: offset = 0, multiplier = 1
Transform: 0.9928 0.1189 0.01212 -131.3
-0.1195 0.9877 0.1007 -58.7
0 -0.1014 0.9948 -53.34
comments: 2203.8-dirty 2023-04-27T16:47:05+01:00
And here is the mrinfo of the MNI brain template I’m using:
Dimensions: 182 x 218 x 182
Voxel size: 1 x 1 x 1
Data strides: [ -1 2 3 ]
Format: NIfTI-1.1 (GZip compressed)
Data type: signed 16 bit integer (little endian)
Intensity scaling: offset = 0, multiplier = 1
Transform: 1 0 0 -91
-0 1 0 -126
-0 0 1 -72
comments: FSL3.3
Can you help me understand what the issue may be? Thanks.