Print

Print


Hi Guillaume and all,

How can use the same code or any other code to get a standard error (not
standard variation) of a ROI (of the non-zero voxels)?

Many thanks

Aser

On Thu, Feb 19, 2015 at 2:29 PM, Flandin, Guillaume <[log in to unmask]>
wrote:

>  Hello Aser,
>
>
>  if you want to compute the average signal of a set of images within a
> ROI (defined as a binary mask) you can use the following:
>
>
>  M = spm_select(1,'image','Select ROI');
> P = spm_select([1 Inf],'image','Select image(s)');
> spm_summarise(P,M,@mean)
>
>
>  Best regards,
> Guillaume.
>
>
>  ------------------------------
> *From:* SPM (Statistical Parametric Mapping) <[log in to unmask]> on
> behalf of Aser A <[log in to unmask]>
> *Sent:* 19 February 2015 14:18
> *To:* [log in to unmask]
> *Subject:* [SPM] computing average of values in ROI
>
>  Hello,
>
>  Is it possible to use for example spm_select and select a ROI and then
> output an average of the values inside this ROI?
>
>  If yes how can I do this ?
>
>  Many thanks
>
>  Aser
>