There is a -m <file> option in fast (accessible by typing fast -h to see
advanced options), however I have not found setting the tissue means
manually to improve my results.
Peace,
Matt.
-----Original Message-----
From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf
Of Robert Kelly
Sent: Tuesday, March 18, 2008 2:56 PM
To: [log in to unmask]
Subject: Re: [FSL] custom values of FAST segments
I haven't tested this, but I suppose you could use fslmaths to map
the values 1, 2, and 3 to 10, 150, and 250. If FAST_OUT_1_2_3 is the
output from FAST, then the following might work:
fslmaths FAST_OUT_1_2_3 -mul 100 TEMP
fslmaths TEMP -sub 60 TEMP
fslmaths TEMP -thr 100 TEMP
fslmaths TEMP -add 10 FAST_OUT_10_150_250
I believe fslmaths also allows these operations to be entered on one
line, eliminating the need for a temporary image.
I hope this helps.
Robert Kelly
At 05:17 AM 3/18/2008, you wrote:
>Dear all,
>I need hard segmentation of T1 images with following values of the voxels:
>CSF=10, GM=150, WM=250.
>FAST outputs values 1-3.
>Is tehre a way how to force FAST to use my custom values?
>Or is there a way how to change the values of the segmented image?
>Thank you,
>Tomas Kasparek
>Dep. of Psychiatry, Masaryk University
>Brno, the Czech Republic
|