Guang,
If you're 100% certain that case_2 is oriented the same way as case_1, for instance if they were from the same scanner, then you can do this:
mri_convert case_2.nii case_2.img
(this outputs case_2.mat)
cp case_2.mat case_1.mat
now tkregister2 should work. Keep in mind this is a hack accounting for the missing case_1 data. If the data is from different scanners, then there is a risk of L-R reversal, because the orientation info may not be the same.
Nick
On Fri, 2009-09-18 at 17:33 -0500, Guang Zeng wrote:
Hi, there,
I have a case_1.hdr file and case_1.img file, but no the corresponding .mat file which contains the necessary direction cosine info. So everytime when I try to register another nifti file case_2.nii to it using tkregister2 or mri_vol2vol, it always complains that
"INFO: could not find ../../case_1.mat file for direction cosine info. INFO: use Analyze 7.5 hdr->hist.orient value: 0, transverse unflipped (default). INFO: if not valid, please provide the information in ../../case_1.mat file"
Just want to know if there are other methods I can use to register case_1 and case_2? Any kinds of method!
Thanks a lot!
Guang
Bing™ brings you maps, menus, and reviews organized in one place. Try it now. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer