The order matters in this case. Did you try putting the "-odt char"
portion at the END of the command, as indicated by the Usage statement
of fslmaths?
ie.
fslmaths zstat1.nii.gz -uthr -2.3 zstat_deact -odt char
cheers,
-MH
On Tue, 2011-09-20 at 16:27 -0400, Leslie Engineering wrote:
> I'm sorry, I spoke to soon. I did all my activation masks. That worked
> fine. But, I must have the syntax wrong for deactivation. This is what
> I tried:
>
>
> fslmaths zstat1.nii.gz -uthr -2.3 -odt char zstat_deact*
>
>
> Am I doing something wrong? I can't find a usage explanation for -odt
> other than Usage: fslmaths [-dt <datatype>] <first_input> [operations
> and inputs] <output> [-odt <datatype>]
> which I thought I did?
> Thanks
>
> On Tue, Sep 20, 2011 at 3:32 PM, Leslie Engineering
> <[log in to unmask]> wrote:
> Worked! Thanks so much!
>
>
> On Tue, Sep 20, 2011 at 2:47 PM, wolf zinke <[log in to unmask]
> bremen.de> wrote:
> Hi,
>
> If you refer to positive z-values as activations, and
> negative values as deactivations, you can do this with
> fslmaths (assuming a z-threshold of 2.3)
>
> fslmaths zstat1.nii.gz -thr 2.3 zstat1_activation
> fslmaths zstat1.nii.gz -uthr -2.3 zstat1_deactivation
>
> Use the -bin option and -odt char, if your output
> should be a binary mask.
>
> good luck,
> wolf
>
>
> I have a zstat1.nii.gz from a group Feat
> analysis. It contains regions of activation
> and deactivation. How do I separate the two or
> make masks for each region?
>
> Thanks so much!
>
>
>
>
|