fn_roiavg

Contents

Syntax

y = fn_roiavg(x,mask|ind)

Description

Compute average signal from a region of interest.
Input:
- x       ND array (N>=2) - first 2 dimensions represent space
- ind     data indices of the pixels belonging to the ROI
Output:
- y       (N-2)D array - average of x for the pixels inside the ROI
See also fn_maskavg

Source

Thomas Deneux

Copyright 2015-2017