InteractiveForegroundSegmenter Constructor (IImageProvider, Color, Color, IImageProvider)

Creates and initializes a new InteractiveForegroundSegmenter with the specified source, annotations source, foreground color, and background color.

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

Lumia.Imaging.Compositing.InteractiveForegroundSegmenter = function(imageSource, foregroundColor, backgroundColor, annotationsSource);

Parameters

imageSource
Type: Lumia.Imaging.IImageProvider
An image source for the effect.
foregroundColor
Type: Windows.UI.Color
The color that represents the foreground annotations on AnnotationsSource.
backgroundColor
Type: Windows.UI.Color
The color that represents the background annotations on AnnotationsSource.
annotationsSource
Type: Lumia.Imaging.IImageProvider
An image containing the user annotations for foreground and background. Must contain at least one pixel in foreground color, and one pixel in background color.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: