Table of Contents

Enum AlphaCompositeOperations

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll
[SuppressMessage("Microsoft.Design", "CA1717: Only FlagsAttribute enums should have plural names")]
public enum AlphaCompositeOperations

Fields

Atop = 9

Draws the overlay over the background, clipped to the background alpha.

Clear = 0

Clears both images.

Dest = 2

Keeps the background only.

DestAtop = 10

Draws the background over the overlay, clipped to the overlay alpha.

DestIn = 6

Keeps the background weighted by the overlay alpha.

DestOut = 8

Keeps the background weighted by the inverse overlay alpha.

DestOver = 4

Draws the background over the overlay.

In = 5

Keeps the overlay weighted by the background alpha.

Out = 7

Keeps the overlay weighted by the inverse background alpha.

Over = 3

Draws the overlay over the background.

Plus = 12

Adds the premultiplied colors and alphas with saturation.

Source = 1

Keeps the overlay only.

Xor = 11

Keeps the nonoverlapping parts of both images.