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  

|
bob cox
January 27, 2004 09:39AM
This is hard, which is what you are finding out. The problem is that DICOM from its origin is a 2D image oriented protocol/format. The way that the AFNI function mri_read_dicom() works is to use the "Image Position" (0020,0032) field from 2 consecutive positions to determine the orientation of the third direction. This is clumsy, but seems to work OK for us. (If the images are a Siemens' mosaic, then the Siemens custom info contains the slice locations of each sub-image in the mosaic.)

The gruesome details are in mri_read_dicom.c in the AFNI source code. Global variables are used, alas. When I was a computer science professor (back in the Stone Age) I used to give students grief over global variables. Oh well, they probably aren't checking out my code like I used to check theirs.

I've tried to read the Supplement 49 information which is the new standard way to store multiple images in a single DICOM file. But I've not been able to figure it out. I have a lot of trouble reading DICOM-ese.

bob cox

Subject Author Posted

DICOM orientation

zrinka January 26, 2004 06:29PM

Re: DICOM orientation

bob cox January 27, 2004 09:39AM

Re: DICOM orientation

zrinka January 27, 2004 12:39PM