Hello Freesurfers,
I have Brodmann Area binary masks in the ICBM MNI 152 space, that I acquired
using WFU_PickAtlas toolbox in SPM. These
masks are .nii files, and have a RAS orientation.
I am trying to resample these masks into the fsaverage MNI 305 space,
specifically with the dimensions matching the "mni305.cor.subfov2.mgz"
file found in the $FREESURFER_HOME/average file. This file is in the LIA
orientation.
However, the mni152.register.dat file seems to be transforming volumes from
the MNI 305 space to the MNI 152 Space in LAS orientation (MNI152_T1_2mm.nii
in FSL).
Should I transform my Brodmann Area masks from the RAS orientation to a LAS
orientation? If so, how can I achieve this? The RAS orientation is correct,
so I know using mri_convert --out_dimension is out of the question.
I have tried to use
*mri_label2vol --seg {BA_mask} --temp
{$FREESURFER_HOME/average/mni305.cor.subfov2.mgz} --o {output_file} --reg
mni152.register.dat --invertmtx*
Also, I have tried to use the inverted matrix from mni152.register.dat and
use it with
*mri_vol2vol -mov {BA_mask} --reg {inverted_mni152.register.dat} --o
{output_file} --tal --talres 2*
However, the output files had interchanged posterior (P) and anterior (A),
and superior (S) and interior (I) orientations.
What is the best way to achieve the resampling? Any guidance is really
appreciated!
Regards,
Balaji Goparaju