Table of Contents

Class BackgroundSubtractorLSBP

Namespace
Emgu.CV.BgSegm
Assembly
Emgu.CV.dll

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.CameraMotionCompensation

Whether to use camera motion compensation.

nSamples int

Number of samples to maintain at each point of the frame.

LSBPRadius int

LSBP descriptor radius.

tlower float

Lower bound for T-values.

tupper float

Upper bound for T-values.

tinc float

Increase step for T-values.

tdec float

Decrease step for T-values.

rscale float

Scale coefficient for threshold values.

rincdec float

Increase/Decrease step for threshold values.

noiseRemovalThresholdFacBG float

Strength of the noise removal for background points.

noiseRemovalThresholdFacFG float

Strength of the noise removal for foreground points.

LSBPthreshold int

Threshold for LSBP binary string.

minCount int

Minimal number of matches for sample to be considered as foreground.

Properties

AlgorithmPtr

Pointer to the unmanaged Algorithm object

public nint AlgorithmPtr { get; }

Property Value

nint

BackgroundSubtractorPtr

Pointer to the unmanaged BackgroundSubtractor object

public nint BackgroundSubtractorPtr { get; }

Property Value

nint

Methods

DisposeObject()

Release all the unmanaged memory associated with this background model.

protected override void DisposeObject()