Dear FSL experts,
As the final preprocessing step for my fMRI dataset, I need to normalize 4D images to MNI space. I want the output preprocessed images to have the same dimensions as the raw images: 64x64x27 and voxel sizes: [3.4375 3.4375 5] mm. For this purpose, I am using
flirt and a reference image that I have generated using fslcreatehd:
- flirt -in ${Path_InputImg} -ref ${Path_Ref} -applyxfm -init ${Path_TransMat} -out ${Path_OutputImg_trilin}
fslcreatehd <xsize> <ysize> <zsize> <tsize> <xvoxsize> <yvoxsize> <zvoxsize> <tr> <xorigin> <yorigin> <zorigin> <datatype> <headername>
with the following values:
- fslcreatehd 64 64 27 0 3.4375 3.4375 5 0 0 0 0 16 Reference_image
The PROBLEM is that the top part of the brain is cropped in the output image as can be seen in the attached file(b). Also the brain is not positioned in the centre of the FOV. (I get a nice output when I use the default reference image but apparently the dimensions
match the MNI template's brain, which is unnecessarily large for the purpose of our analysis. please see attached figure a)
I have played with different variables of the reference image, including xyz "voxsize"s and "origin"s but did not succeed in generating a correct output image. I would very much appreciate your advise and comments on how to set the parameters of the reference
image to get a correctly positioned and uncropped output image similar to figure a. Or, do I actually have other options to complete this task?
Below is some information about the input image and transformation matrix that I used in the flirt command above:
- The input image is the 'filtered_func_data.nii.gz', output of the feat first-level analysis/Preprocessing. This 4D image is motion corrected and spatially/temporally filtered and has the same dimension and voxel sizes as the raw data.
- I am using the transformation matrix '/reg/example_func2standard.mat', generated previously using the above feat analysis with the raw 4D fMRI data as input, brain extracted T1 image of the same subject as 'main structural image' (to co-register functional
to structural), and MNI152_T1_2mm_brain as the 'standard space' reference. (The transformation settings are 7DOF for co-registration and linear 12 DOF for normalization to standard space.)
Thank you very much in advance.
Mina
Attachments: Flirt output images using (a) default MNI 2mm reference brain with 91x109x91 voxels and (b) the reference image with my desired dimensions and voxel sizes, identical to the raw data.
--------------------------------------------------
Mina Gheiratmand
Postdoctoral fellow, Alberta Innovates Centre for Machine Learning (AICML)
University of Alberta, Edmonton, AB