Table of Contents

Class BackgroundSubtraction

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that performs image segmentation of every frame in the sequence using an online estimation of the background.

public class BackgroundSubtraction : Transform<IplImage, IplImage>
Inheritance
BackgroundSubtraction
Inherited Members

Properties

AdaptationRate

Gets or sets a value determining how fast the online estimation of the background is adapted.

BackgroundFrames

Gets or sets the number of frames to use for initial background estimation.

SubtractionMethod

Gets or sets a value specifying the subtraction method used to isolate foreground pixels.

ThresholdType

Gets or sets a value specifying the type of threshold to apply to individual pixels.

ThresholdValue

Gets or sets the threshold value used to test whether individual pixels are foreground or background.

Methods

Process(IObservable<IplImage>)

Performs image segmentation of every frame in an observable sequence using an online estimation of the background.