Content-type: text/html
Reads Camino diffusion tensors, and converts them to NIFTI format. The output is three
nii files:
${root}dt.nii - diffusion tensors.
${root}exitcode.nii - exit codes from Camino reconstruction.
${root}lns0.nii - estimated lns0 from Camino reconstruction.
The supplied nii header (which may or may not be attached to an image) is used to initialize all NIFTI header fields for the output. 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
intent_name - set to "camino dt2nii"
scl_slope - set to 1
scl_inter - set to 0
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_
Doesn't output gzipped images because the niftijlib code does not support compressed output.