AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
September 06, 2012 08:55PM
Hello,

I'm stuck and not quite sure what is going on.

Unfortunately, I do not have the original dicoms, therefore I am converting Analyze formatted data to .nii using an outside program. When I use 3dinfo on the newly created .nii data it is oriented as LPI, however, when I view the data in the AFNI viewer axial looks good (eyes forward, back of head in back), but both sagittal and coronal have the brain as being upside down. I first tried using 3dresample to change the orientation to a new orientation (e.g. LPS) and while the header information changed (e.g. LPS), when I loaded the data up into the viewer the data is unchanged - both sagittal and coronal are upside down.

Then back on the original .nii data I tried "3drefit -orient LPI" and while this did not change the header information (3dinfo still showed LPI), now when I load the data into the viewer everything is upright and looks correct. So it looks like my conversion process to .nii is not setting the header orientation in a way that the AFNI viewer can read it, so I need to use 3drefit to correctly set the header.

My question is - why does the header indicate LPI but the viewer does not seem to interpret this correctly? If the AFNI viewer cannot interpret the orientation information correctly, can I trust that 3dinfo is correctly reporting the data is LPI to begin with - i.e. is the data I am converting to .nii really LPI? Any help would be greatly appreciated!


Thanks,
David
Subject Author Posted

convert Analyze to .nii: header orientation issue

David September 06, 2012 08:55PM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 06, 2012 09:23PM

Re: convert Analyze to .nii: header orientation issue

David September 15, 2012 02:02PM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 17, 2012 11:02AM

Re: convert Analyze to .nii: header orientation issue

David September 17, 2012 04:39PM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 19, 2012 09:38PM

Re: convert Analyze to .nii: header orientation issue

David September 20, 2012 04:17PM

Re: convert Analyze to .nii: header orientation issue

David September 22, 2012 12:02AM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 22, 2012 08:37PM

Re: convert Analyze to .nii: header orientation issue

David September 23, 2012 12:30PM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 23, 2012 08:34PM

Re: convert Analyze to .nii: header orientation issue

David September 24, 2012 03:30AM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 24, 2012 08:41AM

Re: convert Analyze to .nii: header orientation issue

David September 25, 2012 06:57PM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 25, 2012 09:04PM

Re: convert Analyze to .nii: header orientation issue

David September 26, 2012 02:02AM

Re: convert Analyze to .nii: header orientation issue

rick reynolds September 26, 2012 10:36AM