I want to import anlayze75 with a right direction (still).
I have those files:
subject.hdr subject.img
And got warnings as: -------------------------- INFO: could not find ~/subject.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 ~/subject.mat file --------------------------
I know the orientation info should be provided somehow; but I don't know how to do it.
I just tried to make a corresponding MAT file containing header info by simply saving whole header info as
HRD=analyze75info('subject.hdr'); save subject.mat HDR
But I got another error as ----------- unsupported matlab format 262149 (unknown) MatrixMultiply: m1 cols 1 does not match m2 rows 4 Segmentation fault -----------
*Does someone who handled Analyze75 format before know how to create a corresponding MAT file?*
SG.
+I firstly tried import without MAT file, then I worked but with a wrong direction (fig1). I checked the header file. It says 'Transverse unflipped' as default, which is also perplexing because the import was made using the default orientation 'Transverse unflipped' anyway.
Try pulling out the matrix and saving as version 4, something like
M = HDR.M; save('subject.mat','M','-v4')
doug
SG KIM wrote:
I want to import anlayze75 with a right direction (still).
I have those files:
subject.hdr subject.img
And got warnings as:
INFO: could not find ~/subject.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 ~/subject.mat file
I know the orientation info should be provided somehow; but I don't know how to do it.
I just tried to make a corresponding MAT file containing header info by simply saving whole header info as
HRD=analyze75info('subject.hdr'); save subject.mat HDR
But I got another error as
unsupported matlab format 262149 (unknown) MatrixMultiply: m1 cols 1 does not match m2 rows 4 Segmentation fault
*Does someone who handled Analyze75 format before know how to create a corresponding MAT file?*
SG.
+I firstly tried import without MAT file, then I worked but with a wrong direction (fig1). I checked the header file. It says 'Transverse unflipped' as default, which is also perplexing because the import was made using the default orientation 'Transverse unflipped' anyway.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu