Click or drag to resize
BackgroundSubtractorKNN Class
http://www.emgu.com
K-nearest neighbors - based Background/Foreground Segmentation Algorithm.
Inheritance Hierarchy

Namespace: Emgu.CV.VideoSurveillance
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public class BackgroundSubtractorKNN : BackgroundSubtractor

The BackgroundSubtractorKNN type exposes the following members.

Constructors
  NameDescription
Public methodBackgroundSubtractorKNN
Create a K-nearest neighbors - based Background/Foreground Segmentation Algorithm.
Top
Properties
  NameDescription
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Methods
  NameDescription
Public methodApply
Update the background model
(Inherited from BackgroundSubtractor.)
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release all the unmanaged memory associated with this background model.
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also