BackgroundSubtractorLSBP Constructor |
http://www.emgu.com
Creates an instance of BackgroundSubtractorLSBP algorithm.
Namespace:
Emgu.CV.BgSegm
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic BackgroundSubtractorLSBP(
BackgroundSubtractorLSBPCameraMotionCompensation mc = BackgroundSubtractorLSBPCameraMotionCompensation.None,
int nSamples = 20,
int LSBPRadius = 16,
float tlower = 2f,
float tupper = 32f,
float tinc = 1f,
float tdec = 0.05f,
float rscale = 10f,
float rincdec = 0.005f,
float noiseRemovalThresholdFacBG = 0.0004f,
float noiseRemovalThresholdFacFG = 0.0008f,
int LSBPthreshold = 8,
int minCount = 2
)
Public Sub New (
Optional mc As BackgroundSubtractorLSBPCameraMotionCompensation = BackgroundSubtractorLSBPCameraMotionCompensation.None,
Optional nSamples As Integer = 20,
Optional LSBPRadius As Integer = 16,
Optional tlower As Single = 2F,
Optional tupper As Single = 32F,
Optional tinc As Single = 1F,
Optional tdec As Single = 0.05F,
Optional rscale As Single = 10F,
Optional rincdec As Single = 0.005F,
Optional noiseRemovalThresholdFacBG As Single = 0.0004F,
Optional noiseRemovalThresholdFacFG As Single = 0.0008F,
Optional LSBPthreshold As Integer = 8,
Optional minCount As Integer = 2
)
public:
BackgroundSubtractorLSBP(
BackgroundSubtractorLSBPCameraMotionCompensation mc = BackgroundSubtractorLSBPCameraMotionCompensation::None,
int nSamples = 20,
int LSBPRadius = 16,
float tlower = 2f,
float tupper = 32f,
float tinc = 1f,
float tdec = 0.05f,
float rscale = 10f,
float rincdec = 0.005f,
float noiseRemovalThresholdFacBG = 0.0004f,
float noiseRemovalThresholdFacFG = 0.0008f,
int LSBPthreshold = 8,
int minCount = 2
)
new :
?mc : BackgroundSubtractorLSBPCameraMotionCompensation *
?nSamples : int *
?LSBPRadius : int *
?tlower : float32 *
?tupper : float32 *
?tinc : float32 *
?tdec : float32 *
?rscale : float32 *
?rincdec : float32 *
?noiseRemovalThresholdFacBG : float32 *
?noiseRemovalThresholdFacFG : float32 *
?LSBPthreshold : int *
?minCount : int
(* Defaults:
let _mc = defaultArg mc BackgroundSubtractorLSBPCameraMotionCompensation.None
let _nSamples = defaultArg nSamples 20
let _LSBPRadius = defaultArg LSBPRadius 16
let _tlower = defaultArg tlower 2f
let _tupper = defaultArg tupper 32f
let _tinc = defaultArg tinc 1f
let _tdec = defaultArg tdec 0.05f
let _rscale = defaultArg rscale 10f
let _rincdec = defaultArg rincdec 0.005f
let _noiseRemovalThresholdFacBG = defaultArg noiseRemovalThresholdFacBG 0.0004f
let _noiseRemovalThresholdFacFG = defaultArg noiseRemovalThresholdFacFG 0.0008f
let _LSBPthreshold = defaultArg LSBPthreshold 8
let _minCount = defaultArg minCount 2
*)
-> BackgroundSubtractorLSBP
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. - LSBPRadius (Optional)
- Type: SystemInt32
LSBP descriptor radius. - tlower (Optional)
- Type: SystemSingle
Lower bound for T-values. - tupper (Optional)
- Type: SystemSingle
Upper bound for T-values. - tinc (Optional)
- Type: SystemSingle
Increase step for T-values. - tdec (Optional)
- Type: SystemSingle
Decrease step for T-values. - rscale (Optional)
- Type: SystemSingle
Scale coefficient for threshold values. - rincdec (Optional)
- Type: SystemSingle
Increase/Decrease step for threshold values. - noiseRemovalThresholdFacBG (Optional)
- Type: SystemSingle
Strength of the noise removal for background points. - noiseRemovalThresholdFacFG (Optional)
- Type: SystemSingle
Strength of the noise removal for foreground points. - LSBPthreshold (Optional)
- Type: SystemInt32
Threshold for LSBP binary string. - minCount (Optional)
- Type: SystemInt32
Minimal number of matches for sample to be considered as foreground.
See Also