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  

|
Daniel Glen
January 16, 2008 11:57AM
For IMA files, these files can be handled fairly simply using Dimon to organize your Dicom files into the proper order, and then use the script it produces to call to3d.

Dimon -GERT_Reco -quit -dicom_org -infile_pattern "ima/*.IMA"
./GERT_Reco_dicom

You can edit the GERT_Reco_dicom script if you would like to change the defaults for to3d (like the file prefix, for example).

For the files you sent as .dcm, it's a bit more complicated. These are actually at least 4 different sets of data. Each one includes a separate base set labeled as 0102, 0103 or 0104 inside the filename. Each run of data is different with different orientations (axial, coronal and sagittal) and obliquities. Additionally, there is a marker slice in an alternate orientation in each run that can not be read in with the others that needs to be ignored, all labeled as slice 00000, or at least read in separately as a single slice. None of this data was out of order, so Dimon was not necessary to compute the correct order of files.

mkdir sagmarker
mv *00000.dcm sagmarker/
cd ..
to3d -prefix testto3d_0104 ima2/*0104*.dcm
to3d -prefix testto3d_0102 ima2/*0102*.dcm
to3d -prefix testto3d_0103 ima2/*0103*.dcm

Several of these datasets were also acquired obliquely, so you will need to be careful about their processing and comparisons with other datasets. You will need to consider using the 3dWarp options for oblique data.
Subject Author Posted

problems with to3d

Yuhan January 15, 2008 10:29PM

Re: problems with to3d

Daniel Glen January 16, 2008 08:52AM

Re: problems with to3d

Yuhan January 16, 2008 09:21AM

Re: problems with to3d

Daniel Glen January 16, 2008 11:57AM

Re: problems with to3d

Yuhan January 22, 2008 05:11PM

Re: problems with to3d

Daniel Glen January 23, 2008 01:39PM

Re: problems with to3d

Yuhan January 23, 2008 09:06PM

Re: problems with to3d

bob cox January 24, 2008 08:40AM