Function File: mean2 (I)

Compute mean value of array.

While the function name suggests that it computes the mean value of a 2D array, it will actually computes the mean value of an entire array. It is equivalent to mean (I(:)).

The return value will be of class double independently of the input class.

See also: mean, std2.

Package: image