Put all the maps in a folder with out anything else in that folder and make
the following script:
Path="/Folder/Where/Your/Files/Are"
NewPath="/Folder/Where/You/Want/The/Results"
FileList=`ls "$Path"/*.nii.gz`
for File in $FileList ; do
fslmaths $Path/$File -div 10000 $NewPath/$File
done
Peace,
Matt.
-----Original Message-----
From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf
Of Nick Papanikolaou
Sent: Tuesday, May 26, 2009 2:08 AM
To: [log in to unmask]
Subject: [FSL] Maths on FA for TBSS
Dear All,
I'm a newcomer with fsl. I have fa maps generated with other dti software
where the dynamic range is from 0 to 10000 instead from 0 to 1 (in other
words the values have been multiplied with a factor of 10000). I would like
to use these fa maps for TBSS analysis, I presume that I must convert them
to a 0...1 scheme. Is it possible with fslmaths in a batch fashion (there
are more than 100 fa maps). Thank you in advance for your help.
npapan
|