Function File: immse (x, y)

Compute mean squared error.

Calculates the mean squared error (MSE), between the arrays x and y. x and y must be of same size and class.

The returned value will be a scalar double, unless x and y are of class single in which case, it returns a scalar single.

See also: psnr.

Package: image