ChromaKeyFilter Constructor (Color, Double, Double)

Creates and initializes a new ChromaKeyFilter with specified specified color, distance and noiseSuppression values.

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

Syntax

public ChromaKeyFilter(
    Color color,
    double colorDistance,
    double noiseSuppression
)
'Declaration
Public Sub New ( 
    color As Color,
    colorDistance As Double,
    noiseSuppression As Double
)
public:
ChromaKeyFilter(
    [InAttribute] Color color, 
    [InAttribute] double colorDistance, 
    [InAttribute] double noiseSuppression
)
Lumia.Imaging.Compositing.ChromaKeyFilter = function(color, colorDistance, noiseSuppression);

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].

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

ChromaKeyFilter Class

ChromaKeyFilter.ChromaKeyFilter Members

ChromaKeyFilter Overload

Lumia.Imaging.Compositing Namespace