BackgroundSubtractorMOG2 Constructor (Int32, Single, Boolean) OpenCvSharp Class Library
the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public BackgroundSubtractorMOG2(
	int history,
	float varThreshold,
	bool bShadowDetection = true
)

Parameters

history
Type: SystemInt32

[Missing <param name="history"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractorMOG2.#ctor(System.Int32,System.Single,System.Boolean)"]

varThreshold
Type: SystemSingle

[Missing <param name="varThreshold"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractorMOG2.#ctor(System.Int32,System.Single,System.Boolean)"]

bShadowDetection (Optional)
Type: SystemBoolean

[Missing <param name="bShadowDetection"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractorMOG2.#ctor(System.Int32,System.Single,System.Boolean)"]

See Also

Reference