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 (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
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
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Properties
  NameDescription
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also