Click or drag to resize

CudaBackgroundSubtractorFGD Constructor

http://www.emgu.com
Create a Background/Foreground Segmentation model

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntax
public CudaBackgroundSubtractorFGD(
	int Lc = 128,
	int N1c = 15,
	int N2c = 25,
	int Lcc = 64,
	int N1cc = 25,
	int N2cc = 40,
	bool isObjWithoutHoles = true,
	int performMorphing = 1,
	float alpha1 = 0.1f,
	float alpha2 = 0.005f,
	float alpha3 = 0.1f,
	float delta = 2f,
	float T = 0.9f,
	float minArea = 15f
)

Parameters

Lc (Optional)
Type: SystemInt32
Quantized levels per 'color' component. Power of two, typically 32, 64 or 128.
N1c (Optional)
Type: SystemInt32
Number of color vectors used to model normal background color variation at a given pixel.
N2c (Optional)
Type: SystemInt32
Used to allow the first N1c vectors to adapt over time to changing background.
Lcc (Optional)
Type: SystemInt32
Quantized levels per 'color co-occurrence' component. Power of two, typically 16, 32 or 64.
N1cc (Optional)
Type: SystemInt32
Number of color co-occurrence vectors used to model normal background color variation at a given pixel.
N2cc (Optional)
Type: SystemInt32
Used to allow the first N1cc vectors to adapt over time to changing background.
isObjWithoutHoles (Optional)
Type: SystemBoolean
If TRUE we ignore holes within foreground blobs. Defaults to TRUE.
performMorphing (Optional)
Type: SystemInt32
These erase one-pixel junk blobs and merge almost-touching blobs. Default value is 1.
alpha1 (Optional)
Type: SystemSingle
Background reference image update parameter
alpha2 (Optional)
Type: SystemSingle
Stat model update parameter. 0.002f ~ 1K frame(~45sec), 0.005 ~ 18sec (if 25fps and absolutely static BG)
alpha3 (Optional)
Type: SystemSingle
start value for alpha parameter (to fast initiate statistic model)
delta (Optional)
Type: SystemSingle
Affects color and color co-occurrence quantization, typically set to 2.
T (Optional)
Type: SystemSingle
T
minArea (Optional)
Type: SystemSingle
Discard foreground blobs whose bounding box is smaller than this threshold.
See Also