Class BackgroundSubtractorGMG
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
intNumber of frames used to initialize the background models.
decisionThreshold
doubleThreshold value, above which it is marked foreground, else background.
Properties
AlgorithmPtr
Pointer to the unmanaged Algorithm object
public nint AlgorithmPtr { get; }
Property Value
BackgroundSubtractorPtr
Pointer to the unmanaged BackgroundSubtractor object
public nint BackgroundSubtractorPtr { get; }
Property Value
Methods
DisposeObject()
Release all the unmanaged memory associated with this background model.
protected override void DisposeObject()