help > RE: physical space to voxel space (i,j,k)
Oct 18, 2012  02:10 PM | Birkan Tunc
RE: physical space to voxel space (i,j,k)
here is the header for the image I painted

Dataset header file:                            deneme.nii.gz
Dataset data file:                              deneme.nii.gz
Size of header:                                 348         
File offset to data blob:                       352.0       
Endianness:                                     little      
Magic filetype string:                          n+1         
Datatype:                                       4 (NIFTI_TYPE_INT16)
Bits per voxel:                                 16                 
Scaling slope and intercept:                    1.0 0.0            
Dataset dimensions (Count, X,Y,Z,T...):         3 128 128 70       
Grid spacings (X,Y,Z,T,...):                    1.875 1.875 2.0    
XYZ  units:                                     2 (NIFTI_UNITS_MM) 
T units:                                        0 (NIFTI_UNITS_UNKNOWN)
T offset:                                       0.0                   
Intent parameters:                              0.0 0.0 0.0           
Intent code:                                    0 (NIFTI_INTENT_NONE) 
Cal. (display) max/min:                         1.0 0.0               
Slice timing code:                              0 (INVALID_NIFTI_SLICE_SEQ_CODE)
MRI slice ordering (freq, phase, slice index):  0 0 0                          
Start/end slice:                                0 0
Slice duration:                                 0.0
Q factor:                                       1
Qform transform code:                           2 (NIFTI_XFORM_ALIGNED_ANAT)
Quaternion b,c,d params:                        0.0 0.0 1.0
Quaternion x,y,z shifts:                        120.0 132.10999 -37.523003
Affine transform code:                          1 (NIFTI_XFORM_SCANNER_ANAT)
1st row affine transform:                       -1.875 0.0 0.0 120.0
2nd row affine transform:                       0.0 -1.875 0.0 132.10999
3rd row affine transform:                       0.0 0.0 2.0 -37.523003
Description:                                    Written by PyNIfTI version 0.20090303.1
Intent name:
Auxiliary file:
Extension byte 1:                                       0


Unused Fields
----------------------------------------------------------------------
Data type string:
db_name:
extents:                                        0
session_error:                                  0
regular:                                        r
glmax/glmin:                                    0 0
Extension bytes 2-4:                            0 0 0

Threaded View

TitleAuthorDate
Birkan Tunc Oct 17, 2012
Philip Cook Oct 17, 2012
Birkan Tunc Oct 17, 2012
Philip Cook Oct 17, 2012
Birkan Tunc Oct 18, 2012
Philip Cook Oct 18, 2012
Birkan Tunc Oct 18, 2012
Philip Cook Oct 18, 2012
RE: physical space to voxel space (i,j,k)
Birkan Tunc Oct 18, 2012