Hi Doug,
I used the fslout command, but fsl is still looking for a header file when I try to use the matrix.
[striatum:FSL_ASL_analysis] (nmr-std-env) applywarp --ref=swap_CTRL01_T1.nii.gz --in=swap_CTRL01_ASL.nii.gz --warp=CTRL01_fslreg.mat --out=swap_CTRL01_ASL_testwarp.nii.gz ** ERROR (nifti_image_read): failed to find header file for 'CTRL01_fslreg.mat' ** ERROR: nifti_image_open(CTRL01_fslreg.mat): bad header info Error: failed to open file CTRL01_fslreg.mat ERROR: Could not open image CTRL01_fslreg.mat Image Exception : #22 :: Failed to read volume CTRL01_fslreg.mat An error occured while reading file: CTRL01_fslreg.mat
I feel like I'm missing something obvious..
thanks Jake
use tkregister2, something like
tkregister2 --mov mov.nii --targ targ.nii --reg register.dat --fslout fsl.mat --noedit
and
tkregister2 --mov mov.nii --targ targ.nii --reg register.dat --fsl fsl.mat --noedit
John Kuster wrote:
Dear Freesurfers,
I was wondering if anyone can tell me if there is a command to convert an existing register.dat file from to .mat format for FSL, and vice versa. Thank you!
Jake
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
-- Douglas N. Greve, Ph.D. MGH-NMR Center greve@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422
In order to help us help you, please follow the steps in: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting