Datatype information:
-dt sets the datatype used internally for calculations (default float for all except double images)
-odt sets the output datatype (default as original image)
Possible datatypes are: char short int float double
Additionally "-dt input" will set the internal datatype to that of the original image
-Dianne
On Thu, Jul 22, 2010 at 2:30 PM, Theodor R?ber
<[log in to unmask]> wrote:
Dear FSL-experts,
I recently ran a script multiplying the same binarized mask with several normalized dti_FA images (fslmaths mask.nii.gz -mul norm_dti_FA.nii.gz output.nii.gz). In most of the cases, I got what I wanted: An .nii.gz with a cutout from my normalized dti_FA image. However in some of the cases (which seemed to be totally random), I got a binarized mask which included only high-FA voxels and thus covered just a part of my original mask. Changing the order of my command (fslmaths norm_dti_FA.nii.gz -mul mask.nii.gz output.nii.gz) solves this problem. However, I was wondering whether this is a bug or why the order of my multiplication makes a difference.
Thank you very much. Your help is greatly appreciated.
Best,
Theodor
--
Dianne Patterson, Ph.D.
[log in to unmask]University of Arizona
SLHS 328
621-5105