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  

|
August 09, 2004 09:20PM
Hi Alison,

This is from a change that went in at the beginning of the year.
Since the I-files contain the locations of the slices, that is
overriding what you entered. Perhaps that needs to be changed.
If you enter that information on the command line, that should
override the contents of the I-file.

However, note that the files have z coordinates that differ by
4.36446, not 5. But that may be a side effect of the oblique
slices... At any rate, you might verify the thickness.

If you want to inspect the contents of the I-files, you can use
the file_tool program. Note the second example:

file_tool -ge_header -infiles I.*
file_tool -ge_header -infiles I.* | grep zoff

---

But since you know your I-files best, let me just explain how
to fix that. First note that 3dZregrid is not the way to go.
That program resamples your data to fit the new grid. But you
do not want to change your data, you just want to alter the
slice thickness to 5.0 mm.

For that, use 3drefit, it does not touch the data, it just alters
the contents of the HEAD file. So you may want to try a command
like:

3drefit -zdel 5 T1_new+orig

Once you do this, use "3dinfo T1_new+orig" to verify that the
results match what you have shown on your command line.

- rick

Subject Author Posted

slice thickess for GE I* files

Alison Adcock August 09, 2004 08:18PM

Re: slice thickess for GE I* files

rick reynolds August 09, 2004 09:20PM

Re: slice thickess for GE I* files

Alison Adcock August 09, 2004 10:26PM

Re: slice thickess for GE I* files

Rich Hammett August 10, 2004 01:02AM

Re: slice thickess for GE I* files

Alison Adcock August 10, 2004 01:44PM