[mmSubm] [Up] [mmUnion] Operations

mmSymdif
Symmetric difference between two images

Synopsis

Image mmSymdif ( const Image& f1 , const Image& f2 );

Input

f1 Image [ Gray-scale (uint8 or uint16) or binary image ]

f2 Image [ Gray-scale (uint8 or uint16) or binary image ]

Output

y Image

Description

mmSymdif creates the image y by taken the union of the subtractions of f1 from f2 and f2 from f1. When f1 and f2 are binary images, y represents the set of points that are in f1 and not in f2 or that are in f2 and not in f1 .

Equation

See also

See also

mmSubm Subtraction of two images, with saturation.
mmUnion Union of images.
[mmSubm] [Up] [mmUnion]