DIPlib Documentation - ©1995-2014 Quantitative Imaging Group, Delft University of Technology.

Mean

statistics function

SYNOPSIS

dip_Error dip_Mean ( in, mask, out, ps )

DATA TYPES

binary, integer, float, complex

FUNCTION

Calculates the mean of the pixel values over all those dimensions which are specified by ps.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_Imagemask (0)Mask
dip_ImageoutOutput
dip_BooleanArrayps (0)Dimensions to project

SEE ALSO

From images to scalars

Sum, Variance, StandardDeviation, MeanModulus, SumModulus, MeanSquareModulus, Maximum, Minimum, Median, Percentile