Content-type: text/html
Straight pipeline
cat data.Bfloat | dtfit - schemefile | dt2nii -header image.nii -outputroot camino_
Convert an existing tensor file dt.Bfloat
dt2nii -inputfile dt.Bfloat -inputdatatype float -header image.nii -outputroot camino_
Reads Camino diffusion tensors, and converts them to NIFTI format. The output is dependent on the input model. For all input models, the output includes
${root}exitcode.nii[.gz] - exit codes from Camino reconstruction.
${root}lns0.nii[.gz] - estimated lns0 from Camino reconstruction.
For input model "dt" (the default), the diffusion tensors are written to
${root}dt.nii[.gz]
For multi-tensor data, additional files are written:
${root}dt${i}.nii[.gz] - tensor component i
${root}mix${i}.nii[.gz] - estimated mixing fraction for tensor i
The supplied nii header (which may or may not be attached to an image) is used to initialize NIFTI header fields for the output. The header should correctly describe the physical space of the tensor image. The following fields are overwritten:
dim[0] - set to 5 for the dt file, 3 for other images
intent_code - set to NIFTI_INTENT_SYMMATRIX for the dt, NIFTI_INTENT_NONE for the others
scl_slope - set to 1
scl_inter - set to 0
The output data type can be set at run time.