Create a BGStatModel

Namespace:  Emgu.CV.VideoSurveillance
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public BGStatModel(
	Image<TColor, byte> image,
	BG_STAT_TYPE type
)
Visual Basic (Declaration)
Public Sub New ( _
	image As Image(Of TColor, Byte), _
	type As BG_STAT_TYPE _
)
Visual C++
public:
BGStatModel(
	Image<TColor, unsigned char>^ image, 
	BG_STAT_TYPE type
)

Parameters

image
Type: Emgu.CV..::.Image<(Of <(TColor, Byte>)>)
The image used for initiating the statistic model
type
Type: Emgu.CV.CvEnum..::.BG_STAT_TYPE
The type of the statistics model

See Also