-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fslmath -odt short #6
Comments
r = fslmaths(file = "data.img", outfile = "output.img", opts = "-odt short", opts_after_outfile = TRUE) NB: if options(fsl.outputtype = "NIFTI_PAIR") if you want hdr/img pairs (I do not recommend this). Also, you cannot currently perform an |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear John,
I was trying to run fslmaths input output -odt short in fslr R package, as below:
FSLDIR='/usr'; PATH=${FSLDIR}/bin:${PATH};export PATH FSLDIR; FSLOUTPUTTYPE=NIFTI; export FSLOUTPUTTYPE; ${FSLDIR}/bin/fsl5.0-fslmaths "/home/kaimingyin/Desktop/data.img" -odt short "/tmp/RtmpceSI2O/file2244322574e3";
Error in command line: unknown option "-odt"
It reports error as above, do you know how to fix it?
Also, should I run the ourput in one of the below ways like:
Thanks,
Kaiming
The text was updated successfully, but these errors were encountered: