nipy / nibabel

Python package to access a cacophony of neuro-imaging file formats
http://nipy.org/nibabel/
Other
656 stars 259 forks source link

Document coordinates refer to voxel centers #333

Open matthew-brett opened 9 years ago

matthew-brett commented 9 years ago

The NIfTI standard : http://nifti.nimh.nih.gov/pub/dist/src/niftilib/nifti1.h - says that:

The (x,y,z) coordinates refer to the CENTER of a voxel

That's our convention, but it's not documented anywhere. Need to add this in the docs.

bcipolli commented 9 years ago

Trying to find a good spot for this. Could be in Working with NiftiImages (since it's Nifti-specific). However, there's not a clear place to put it.

Discussion of voxel positions is in Coordinate Systems, and that largely uses Nifti images. However, that's kind of decentralized.

Could also go into the Nifti API docs.

Glad to insert the info (I'm reading docs now) if advised!

matthew-brett commented 9 years ago

Are there any formats for which this is not true?