Re: [Freesurfer] mri_info orientation string ???

2022-01-26 Thread Douglas N. Greve
what happens if you convert it to an mgz file and then use mri_info to look at the orientation string? On 1/11/2022 11:52 AM, Xiaojiang Yang wrote: External Email - Use Caution Dear Freesurfer Developers, I have scrutinized the Freesurfer source code from github, found that this

Re: [Freesurfer] mri_info orientation string ???

2022-01-26 Thread Douglas N. Greve
The direction cosines (DCs) for the row, col, and slice.    The DCs for the row and column are obtained from DICOM (20,37),    which is a string of the form "cx\cy\cz\rx\ry\rz". The slice DC is    obtained from the ASCII header. The x, y, and z components are from    three lines of the form

[Freesurfer] mri_info orientation string ???

2022-01-11 Thread Xiaojiang Yang
External Email - Use Caution Dear Freesurfer Developers, I have scrutinized the Freesurfer source code from github, found that this might be a bug in Freesurfer. Basically, the string "Orientation : ???" comes from the function MRIdircosToOrientationString defined in

[Freesurfer] mri_info orientation string ???

2022-01-10 Thread Xiaojiang Yang
External Email - Use Caution Dear Freesurfer Experts, I have a question regarding the orientation string gotten from mri_info. When I apply mri_info command to a DIOM series I generated programmatically, I get the "???" result, and hence primary slice direction is also unknown: