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

Syntax

public InteractiveForegroundSegmenter(
    IImageProvider imageSource,
    Color foregroundColor,
    Color backgroundColor,
    IImageProvider annotationsSource
)
'Declaration
Public Sub New ( 
    imageSource As IImageProvider,
    foregroundColor As Color,
    backgroundColor As Color,
    annotationsSource As IImageProvider
)
public:
InteractiveForegroundSegmenter(
    [InAttribute] IImageProvider^ imageSource, 
    [InAttribute] Color foregroundColor, 
    [InAttribute] Color backgroundColor, 
    [InAttribute] IImageProvider^ annotationsSource
)
Lumia.Imaging.Compositing.InteractiveForegroundSegmenter = function(imageSource, foregroundColor, backgroundColor, annotationsSource);

Parameters

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

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

InteractiveForegroundSegmenter Class

InteractiveForegroundSegmenter.InteractiveForegroundSegmenter Members

InteractiveForegroundSegmenter Overload

Lumia.Imaging.Compositing Namespace