×

InteractiveForegroundSegmenter Constructor (IImageProvider, Color, Color, IImageProvider)

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

Namespace: Nokia.Graphics.ImagingAssembly: Nokia.Graphics.Imaging (in Nokia.Graphics.Imaging.dll) Version: 255.255.255.255

Syntax

C#
public InteractiveForegroundSegmenter(
	IImageProvider imageSource,
	Color foregroundColor,
	Color backgroundColor,
	IImageProvider annotationsSource
)
Visual Basic
Public Sub New ( 
	imageSource As IImageProvider,
	foregroundColor As Color,
	backgroundColor As Color,
	annotationsSource As IImageProvider
)
Visual C++
public:
InteractiveForegroundSegmenter(
	[InAttribute] IImageProvider^ imageSource, 
	[InAttribute] Color foregroundColor, 
	[InAttribute] Color backgroundColor, 
	[InAttribute] IImageProvider^ annotationsSource
)
Parameters
imageSource
Type: Nokia.Graphics.Imaging..::..IImageProviderAn image source for the effect.
foregroundColor
Type: Windows.UI..::..ColorThe color that represents the foreground annotations on AnnotationsSource.
backgroundColor
Type: Windows.UI..::..ColorThe color that represents the background annotations on AnnotationsSource.
annotationsSource
Type: Nokia.Graphics.Imaging..::..IImageProviderAn image containing the user annotations for foreground and background. Must contain at least one pixel in foreground color, and one pixel in background color.

Last updated 19 June 2014

Back to top

×