Class BackgroundSubtractorLSBPDesc
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
This is for calculation of the LSBP descriptors.
public static class BackgroundSubtractorLSBPDesc
- Inheritance
-
BackgroundSubtractorLSBPDesc
- Inherited Members
Methods
CalcLocalSVDValues(OutputArray, Mat)
Calculates the local SVD values used internally by ComputeFromLocalSVDValues(OutputArray, Mat, Point[]).
public static void CalcLocalSVDValues(OutputArray localSVDValues, Mat frame)
Parameters
localSVDValuesOutputArrayoutput local SVD values.
frameMatinput frame.
Compute(OutputArray, Mat, Point[])
Computes the LSBP descriptor directly from a frame.
public static void Compute(OutputArray desc, Mat frame, Point[] lsbpSamplePoints)
Parameters
descOutputArrayoutput descriptor.
frameMatinput frame.
lsbpSamplePointsPoint[]the 32 sample points used by the LSBP algorithm.
ComputeFromLocalSVDValues(OutputArray, Mat, Point[])
Computes the LSBP descriptor from precomputed local SVD values.
public static void ComputeFromLocalSVDValues(OutputArray desc, Mat localSVDValues, Point[] lsbpSamplePoints)
Parameters
descOutputArrayoutput descriptor.
localSVDValuesMatlocal SVD values, as computed by CalcLocalSVDValues(OutputArray, Mat).
lsbpSamplePointsPoint[]the 32 sample points used by the LSBP algorithm.