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  

|
June 14, 2006 03:36AM
I would like to correct and restate my previous questions, hoping to be a bit more specific.


(1) This is self-response. 3dretroicor seems to do recognize slice order information in NIfTI header (I generated several patterns of 'slice_code' and 'slice_duration' in NIfTI header and checked resultant images (after converted to NIFTI_PAIR format) using 'diff' and found that those images are sometimes different. But I am not quite sure.) May I have suggestion if there are tips or pitfalls using 3dretroicor on NIfTI-format images?


(2) Below is header information for second question regarding slice order information change (?) during conversion of AFNI BRIK to NIFTI.

-- generate AFNI format

to3d -prefix ${OutPrefix}_run_013 \
-time:zt 3 1000 0.2sec alt+z \
-@ < dimon.files.run.013

-- some information from generated AFNI HEAD

type = integer-attribute
name = TAXIS_NUMS
count = 8
1000 3 77002 -999 -999
-999 -999 -999

type = float-attribute
name = TAXIS_FLOATS
count = 8
0 0.2 0 25.19741 1.6
-999999 -999999 -999999

type = float-attribute
name = TAXIS_OFFSETS
count = 3
0 0.1333333 0.06666667 // Slice order looks OK here.

type = integer-attribute
name = DATASET_RANK
count = 8
3 1000 0 0 0
0 0 0

type = integer-attribute
name = DATASET_DIMENSIONS
count = 5
64 64 3 0 0

-- Images were converted to NIfTI format using 3dAFNItoNIFTI

-- Part of output from 'nifti_tool -disp_hdr -in_files OutBrick_run_013.nii'

header file 'OutBrick_run_013.nii', num_fields = 43

name offset nvals values
------------------- ------ ----- ------
dim_info 39 1 48
dim 40 8 4 64 64 3 1000 1 1 1
slice_start 74 1 1
slice_end 120 1 2
slice_code 122 1 2 // (value 2 == sequential decreasing ??)


I found possible inconsistency in slice_code.
Since I am very new to both AFNI and NIfTI, I am not sure whether just my interpretation is wrong or there is someting wrong on header information.
Any comments will be very appreciated.

Toshi
Subject Author Posted

3dretroicor and NIfTI

Toshihiro Hayashi June 13, 2006 06:24PM

Re: 3dretroicor and NIfTI

Toshihiro Hayashi June 14, 2006 03:36AM

Re: 3dretroicor and NIfTI

rick reynolds June 14, 2006 09:02AM

Re: 3dretroicor and NIfTI

Toshihiro Hayashi June 14, 2006 12:56PM

Re: 3dretroicor and NIfTI

Fred Tam June 14, 2006 09:29PM

Re: 3dretroicor and NIfTI

rick reynolds June 14, 2006 09:54PM

Re: 3dretroicor and NIfTI

Fred Tam June 14, 2006 04:39PM

Re: 3dretroicor and NIfTI

Toshihiro Hayashi June 14, 2006 07:11PM

Re: 3dretroicor and NIfTI

rick reynolds June 16, 2006 06:45PM

Re: 3dretroicor and NIfTI

Toshihiro Hayashi June 16, 2006 10:40PM

Re: 3dretroicor and NIfTI

rick reynolds June 17, 2006 09:33AM

Re: 3dretroicor and NIfTI

Toshihiro Hayashi June 19, 2006 07:45PM