InteractiveForegroundSegmenter Members
Include Protected Members
Include Inherited Members
The InteractiveForegroundSegmenter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InteractiveForegroundSegmenter() | Creates and initializes a new empty InteractiveForegroundSegmenter. |
|
InteractiveForegroundSegmenter(IImageProvider) | Creates and initializes a new InteractiveForegroundSegmenter with the specified source. |
|
InteractiveForegroundSegmenter(IImageProvider, Color, Color) | Creates and initializes a new InteractiveForegroundSegmenter with the specified source, foreground color, and background color. |
|
InteractiveForegroundSegmenter(IImageProvider, Color, Color, IImageProvider) | Creates and initializes a new InteractiveForegroundSegmenter with the specified source, annotations source, foreground color, and background color. |
Methods
Name | Description | |
---|---|---|
Clone |
Clone the image provider.
|
|
Close | ||
CreateImageWorker |
Create a worker that can perform image processing.
|
|
GetBitmapAsync(Void, Bitmap) | ||
GetBitmapAsync(Bitmap, OutputOption) |
Creates a Bitmap from the contents of the image provider.
|
|
GetInfoAsync |
This method is no longer supported and should not be called. See remarks.
|
|
GetSources | ||
Lock |
This method is no longer supported and should not be called. See remarks.
|
|
PreloadAsync |
This method is no longer supported and should not be called. See remarks.
|
|
SetSource |
Set a source by index.
|
Extension Methods
Name | Description | |
---|---|---|
AsAnimationFrame |
Returns an AnimationFrame with the specified IImageProvider as its source and the specified frame duration.
(Defined by ImageProviderExtensions.) |
|
GetBitmapAsync |
Creates a WriteableBitmap with the contents of the image provider.
(Defined by ImageProviderExtensions.) |
|
Then<TImageConsumer> |
Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.
(Defined by ImageProviderExtensions.) |
Properties
Name | Description | |
---|---|---|
AnnotationsSource | An image containing the user annotations for the foreground and the background. Must contain at least one pixel in foreground color and one pixel in background color. The segmenter will only consider pixels of foreground color or background color, any other color will be treated as unknown. |
|
BackgroundColor | The color that represents the background annotations in the AnnotationsSource image. Default value is blue (A = 255, R = 0, G = 0, B = 255). |
|
ForegroundColor | The color that represents the foreground annotations in the AnnotationsSource image. Default value is red (R = 255, G = 0, B = 0). |
|
PropertyDescriptions | ||
Quality | Quality of the result. Changing quality of the effect affects time and memory consumption of the effect by adjusting the working size. The working size of the effect is dependent on the Source's size, so a lower Quality value might be necessary to avoid an OutOfMemoryException. Range [0.0, 1.0]. Default value is 1. |
|
Source |
The IImageProvider that will be used as source.
|
|
SourceCount | ||
SupportedRenderOptions |
Supported rendering options.
|