Class BackgroundSubtractorLSBP
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Background Subtraction using Local SVD Binary Pattern. More details about the algorithm can be found at "Local SVD Binary Pattern (LSBP) for Background Subtraction in Complex Scenes" (Guo et al., 2016).
public class BackgroundSubtractorLSBP : BackgroundSubtractor, IDisposable
- Inheritance
-
BackgroundSubtractorLSBP
- Implements
- Inherited Members
Methods
Create(LSBPCameraMotionCompensation, int, int, float, float, float, float, float, float, float, float, int, int)
Creates an instance of BackgroundSubtractorLSBP algorithm.
public static BackgroundSubtractorLSBP Create(LSBPCameraMotionCompensation mc = LSBPCameraMotionCompensation.None, int nSamples = 20, int lsbpRadius = 16, float tLower = 2, float tUpper = 32, float tInc = 1, float tDec = 0.05, float rScale = 10, float rIncdec = 0.005, float noiseRemovalThresholdFacBG = 0.0004, float noiseRemovalThresholdFacFG = 0.0008, int lsbpThreshold = 8, int minCount = 2)
Parameters
mcLSBPCameraMotionCompensationWhether to use camera motion compensation.
nSamplesintNumber of samples to maintain at each point of the frame.
lsbpRadiusintLSBP descriptor radius.
tLowerfloatLower bound for T-values.
tUpperfloatUpper bound for T-values.
tIncfloatIncrease step for T-values.
tDecfloatDecrease step for T-values.
rScalefloatScale coefficient for threshold values.
rIncdecfloatIncrease/Decrease step for threshold values.
noiseRemovalThresholdFacBGfloatStrength of the noise removal for background points.
noiseRemovalThresholdFacFGfloatStrength of the noise removal for foreground points.
lsbpThresholdintThreshold for LSBP binary string.
minCountintMinimal number of matches for sample to be considered as foreground.