ChromaKeyEffect Constructor (Color, Double, Double, Boolean)

Creates and initializes a new ChromaKeyEffect with specified settings.

Namespace: Lumia.Imaging.Compositing
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

public:
ChromaKeyEffect(
	[InAttribute] Color color, 
	[InAttribute] double colorDistance, 
	[InAttribute] double noiseSuppression, 
	[InAttribute] bool invertAlpha
)

Parameters

color
Type: Windows.UI::Color
The chroma key color that will be made transparent.

The alpha component will be ignored.

colorDistance
Type: System::Double
Specifies how much variation around the chroma key color will be considered for transparency.

If the color distance is small, only a small variation around the chroma key color will be considered for transparency.

Range [0.0, 1.0].

noiseSuppression
Type: System::Double
Specifies the noise suppression level.

If the noise suppression level is low, only a small amount of noise will be suppressed.

Range [0.0, 1.0].

invertAlpha
Type: System::Boolean
Controls how the alpha channel is generated.

If false, full transparency in the resulting alpha channel is the value 0.

If true, full transparency in the resulting alpha channel is the value 255.

Lumia Imaging SDK

Supported in: 3.0
Show: