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

MeanSquareError

difference measure

SYNOPSIS

#include "dip_math.h"

dip_Error dip_MeanSquareError ( in1, in2, mask, out )

DATA TYPES

binary, integer, float, complex

FUNCTION

Calculates the mean square error difference between all pixel values of in1 and in2. Optionally the mask image can be used to exclude pixels from the calculation by setting the value of these pixels in mask to zero.

ARGUMENTS

Data typeNameDescription
dip_Imagein1First input
dip_Imagein2Second input
dip_ImagemaskMask
dip_ImageoutOutput

SEE ALSO

MeanError, RootMeanSquareError, MeanAbsoluteError, LnNormError, IDivergence

DIPlib on-line documentation | Function reference | Global function index