Class BackgroundSubtractorLSBP
Background Subtraction using Local SVD Binary Pattern.
public class BackgroundSubtractorLSBP : UnmanagedObject, IDisposable, IBackgroundSubtractor, IAlgorithm
- Inheritance
-
BackgroundSubtractorLSBP
- Implements
- Inherited Members
- Extension Methods
Remarks
More details about the algorithm can be found at: L. Guo, D. Xu, and Z. Qiang. Background subtraction using local svd binary pattern. In 2016 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1159–1167, June 2016.
Constructors
BackgroundSubtractorLSBP(CameraMotionCompensation, int, int, float, float, float, float, float, float, float, float, int, int)
Creates an instance of BackgroundSubtractorLSBP algorithm.
public BackgroundSubtractorLSBP(BackgroundSubtractorLSBP.CameraMotionCompensation mc = CameraMotionCompensation.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
mc
BackgroundSubtractorLSBP.CameraMotionCompensationWhether to use camera motion compensation.
nSamples
intNumber of samples to maintain at each point of the frame.
LSBPRadius
intLSBP descriptor radius.
tlower
floatLower bound for T-values.
tupper
floatUpper bound for T-values.
tinc
floatIncrease step for T-values.
tdec
floatDecrease step for T-values.
rscale
floatScale coefficient for threshold values.
rincdec
floatIncrease/Decrease step for threshold values.
noiseRemovalThresholdFacBG
floatStrength of the noise removal for background points.
noiseRemovalThresholdFacFG
floatStrength of the noise removal for foreground points.
LSBPthreshold
intThreshold for LSBP binary string.
minCount
intMinimal number of matches for sample to be considered as foreground.
Properties
AlgorithmPtr
Pointer to the unmanaged Algorithm object
public nint AlgorithmPtr { get; }
Property Value
BackgroundSubtractorPtr
Pointer to the unmanaged BackgroundSubtractor object
public nint BackgroundSubtractorPtr { get; }
Property Value
Methods
DisposeObject()
Release all the unmanaged memory associated with this background model.
protected override void DisposeObject()