http://www.emgu.com
Create an "Improved adaptive Gausian mixture model for background subtraction".
Namespace: Emgu.CV.VideoSurveillanceAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public BackgroundSubstractorMOG2(
int history,
float varThreshold,
bool bShadowDetection
) |
Visual Basic |
---|
Public Sub New ( _
history As Integer, _
varThreshold As Single, _
bShadowDetection As Boolean _
) |
Visual C++ |
---|
public:
BackgroundSubstractorMOG2(
int history,
float varThreshold,
bool bShadowDetection
) |
Parameters
- history
- Type: System..::..Int32
The length of the history. Use 0 for default
- varThreshold
- Type: System..::..Single
The maximum allowed number of mixture comonents. Actual number is determined dynamically per pixel.
- bShadowDetection
- Type: System..::..Boolean
If true, perform shadow detection.
See Also