Hi Zheng,
To use prior images you need to specify both the -a and -A options:
fast -a prior2input.mat -A prior_prob_0 prior_prob_1 prior_prob_2 [-P] <other options>
The -a option specifies the affine transformation (from FLIRT) that registers the priors to the input image. If you have already registered them, you can specify $FSLDIR/etc/flirtsch/ident.mat for the matrix. The optional -P option tells fast to use the priors in the final segmentation as well; by default it only uses them for initialisation (see the manual for some more details).
You can specify the prior images in any order - the order of the outputs will correspond to the input order.
Cheers,
Eelke
> On 29 Sep 2015, at 22:50, Zheng Liu <[log in to unmask]> wrote:
>
> Hello:
>
>
>
> How to input the prior probability maps in fast command?
>
> For example:
>
> fast -t 1 -n 3 -H 0 -I 4 -l 20.0 -g -p -o output-withprior input.nii.gz -P prior_prob_0.nii.gz prior_prob_1.nii.gz prior_prob_2.nii.gz
>
> that’s correct? And the order of probability maps is CSF, GM and WM?
>
>
>
> Thanks,
>
> Zheng
>
|