[mmSymdif] [Up] [mmImg2se] Operations

mmUnion
Union of images.

Synopsis

Image mmUnion ( const Image& f1 , const Image& f2 , const Image& f3 = NullImage, const Image& f4 = NullImage, const Image& f5 = NullImage );

Input

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

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

Or constant

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

Or constant.

Default: NullImage

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

Or constant.

Default: NullImage

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

Or constant.

Default: NullImage

Output

y Image

Description

mmUnion creates the image y by taking the pixelwise maximum between the images f1, f2, f3, f4, and f5. When f1, f2, f3, f4, and f5 are binary images, y represents the union of them.

Equation

union:
generalized union:

See also

mmIntersec Intersection of images.
[mmSymdif] [Up] [mmImg2se]