Click or drag to resize

BackgroundSubtractorGSOC Constructor

http://www.emgu.com
Creates an instance of BackgroundSubtractorGSOC algorithm.

Namespace:  Emgu.CV.BgSegm
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public BackgroundSubtractorGSOC(
	BackgroundSubtractorLSBPCameraMotionCompensation mc = BackgroundSubtractorLSBPCameraMotionCompensation.None,
	int nSamples = 20,
	float replaceRate = 0.003f,
	float propagationRate = 0.01f,
	int hitsThreshold = 32,
	float alpha = 0.01f,
	float beta = 0.0022f,
	float blinkingSupressionDecay = 0.1f,
	float blinkingSupressionMultiplier = 0.1f,
	float noiseRemovalThresholdFacBG = 0.0004f,
	float noiseRemovalThresholdFacFG = 0.0008f
)

Parameters

mc (Optional)
Type: Emgu.CV.BgSegmBackgroundSubtractorLSBPCameraMotionCompensation
Whether to use camera motion compensation.
nSamples (Optional)
Type: SystemInt32
Number of samples to maintain at each point of the frame.
replaceRate (Optional)
Type: SystemSingle
Probability of replacing the old sample - how fast the model will update itself.
propagationRate (Optional)
Type: SystemSingle
Probability of propagating to neighbors.
hitsThreshold (Optional)
Type: SystemInt32
How many positives the sample must get before it will be considered as a possible replacement.
alpha (Optional)
Type: SystemSingle
Scale coefficient for threshold.
beta (Optional)
Type: SystemSingle
Bias coefficient for threshold.
blinkingSupressionDecay (Optional)
Type: SystemSingle
Blinking supression decay factor.
blinkingSupressionMultiplier (Optional)
Type: SystemSingle
Blinking supression multiplier.
noiseRemovalThresholdFacBG (Optional)
Type: SystemSingle
Strength of the noise removal for background points.
noiseRemovalThresholdFacFG (Optional)
Type: SystemSingle
Strength of the noise removal for foreground points.
See Also