InteractiveForegroundSegmenter Properties

The InteractiveForegroundSegmenter type exposes the following members.

  Name Description
Public property 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.

Public property BackgroundColor

The color that represents the background annotations in the AnnotationsSource image.

Default value is blue (A = 255, R = 0, G = 0, B = 255).

Public property ForegroundColor

The color that represents the foreground annotations in the AnnotationsSource image.

Default value is red (R = 255, G = 0, B = 0).

Public property PropertyDescriptions
Public property 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.

Public property Source
The IImageProvider that will be used as source.
Public property SourceCount
Public property SupportedRenderOptions
Supported rendering options.