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 27, 2006 07:20PM
Hi Matt,

An AFNI dataset consists of a collection of 3D volumes
(possibly over time, possibly multiple statistics, etc).
Each 3D volume is nx voxels by ny voxels by nz voxels
(the number of voxels in each of x, y and z directions).

For a single voxel (out of nx*ny*nz), the i, j and k
values are the indices for that voxel in the x, y and z
directions. So i is in {0..nx-1}, j is in {0..ny-1},
etc.

The origin of a dataset is the xyz coordinate of the
voxel with indices (0,0,0), i.e. the first voxel in the
dataset.

So the xyz coordinate of voxel (i,j,k) is:

(Ox + i*dx, Oy + j*dy, Oz + k*dz)

where (Ox,Oy,Oz) are the xyz-coordinates of the origin.

Running '3dinfo' on a dataset will provide information
about the origin, orientation, etc.

----

For more information, consider the class handouts on this
web site. Under the top-level location:

[afni.nimh.nih.gov]

You might view "Introduction and Overview of AFNI":

[afni.nimh.nih.gov]

or perhaps "Image Input to AFNI - to3d and other data formats":

[afni.nimh.nih.gov]

- rick

Subject Author Posted

I J K values

Matt Leonard June 27, 2006 05:40PM

Re: I J K values

rick reynolds June 27, 2006 07:20PM