You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

DTI reconstruction: output format is not different from the online document.

UserPost

1:16 pm
November 7, 2011


mayliszt

Member

posts 4

The online document:

          _tensor.nii. Diffusion tensor data. A 5D nifti file with 1 time point (the 4th dimension) and
the 5th dimension size as 6 (6 elements of a diffusion tensor matrix)format.

 

But nifti_tool reading  the _tensor.nii shows that it is actually a 4D nifti file, storing the tensor in the dimension designated for the time dimension.  q and s is not set correctly.

Confused

———————————————-

header file './dts_PEDS031.nii', num_fields = 43

all fields:
  name                offset  nvals  values
  ——————- ——  —–  ——
  sizeof_hdr             0      1    348
  data_type              4     10    
  db_name               14     18    
  extents               32      1    0
  session_error         36      1    0
  regular               38      1    r
  dim_info              39      1    0
  dim                   40      8    4 128 128 75 6 0 0 0
  intent_p1             56      1    3.0
  intent_p2             60      1    0.0
  intent_p3             64      1    0.0
  intent_code           68      1    1005
  datatype              70      1    16
  bitpix                72      1    32
  slice_start           74      1    0
  pixdim                76      8    1.0 2.0 2.0 2.0 9.5 0.0 0.0 0.0
  vox_offset           108      1    352.0
  scl_slope            112      1    0.0
  scl_inter            116      1    0.0
  slice_end            120      1    0
  slice_code           122      1    0
  xyzt_units           123      1    10
  cal_max              124      1    0.0
  cal_min              128      1    0.0
  slice_duration       132      1    0.0
  toffset              136      1    0.0
  glmax                140      1    0
  glmin                144      1    0
  descrip              148     80    SIEMENS TrioTim 3T
  aux_file             228     24    
  qform_code           252      1    1
  sform_code           254      1    0
  quatern_b            256      1    0.0
  quatern_c            260      1    0.0
  quatern_d            264      1    1.0
  qoffset_x            268      1    130.905518
  qoffset_y            272      1    134.537476
  qoffset_z            276      1    -79.084747
  srow_x               280      4    0.0 0.0 0.0 0.0
  srow_y               296      4    0.0 0.0 0.0 0.0
  srow_z               312      4    0.0 0.0 0.0 0.0
  intent_name          328     16    Tensor
  magic                344      4    n+1

11:39 am
November 8, 2011


Ruopeng

Admin

posts 406

Oh, I think at some point I changed it to 4D simply because many image viewers do not take 5D data. In the end it shouldn't affect data processing. As to q or s not set correctly, does your original data have it? Does it say the same on _dwi.nii file?

Ruopeng