Table of Contents

Class BackgroundSubtractorGMG

Namespace
Emgu.CV.BgSegm
Assembly
Emgu.CV.dll

Background Subtractor module based on the algorithm given in: Andrew B. Godbehere, Akihiro Matsukawa, Ken Goldberg, "Visual Tracking of Human Visitors under Variable-Lighting Conditions for a Responsive Audio Art Installation", American Control Conference, Montreal, June 2012.

public class BackgroundSubtractorGMG : UnmanagedObject, IDisposable, IBackgroundSubtractor, IAlgorithm
Inheritance
BackgroundSubtractorGMG
Implements
Inherited Members
Extension Methods

Constructors

BackgroundSubtractorGMG(int, double)

Create a background subtractor module based on GMG

public BackgroundSubtractorGMG(int initializationFrames, double decisionThreshold)

Parameters

initializationFrames int

Number of frames used to initialize the background models.

decisionThreshold double

Threshold value, above which it is marked foreground, else background.

Properties

AlgorithmPtr

Pointer to the unmanaged Algorithm object

public nint AlgorithmPtr { get; }

Property Value

nint

BackgroundSubtractorPtr

Pointer to the unmanaged BackgroundSubtractor object

public nint BackgroundSubtractorPtr { get; }

Property Value

nint

Methods

DisposeObject()

Release all the unmanaged memory associated with this background model.

protected override void DisposeObject()