The CvKNearest type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) |
![]() | AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) |
![]() | Clear |
Deallocates memory and resets the model state
(Overrides CvStatModelClear.) |
![]() | Dispose |
Releases the resources
(Inherited from DisposableObject.) |
![]() | Dispose(Boolean) |
Clean up any resources being used.
(Overrides CvStatModelDispose(Boolean).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | FindNearest(Mat, Int32, Mat, Mat, Mat) |
Finds the K nearest neighbors of samples
|
![]() | FindNearest(CvMat, Int32, CvMat, Single, CvMat, CvMat) |
Finds the K nearest neighbors of samples
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetMaxK | |
![]() | GetSampleCount | |
![]() | GetType | (Inherited from Object.) |
![]() | GetVarCount | |
![]() | IsRegression | |
![]() | Load(String) |
Loads the model from file
(Inherited from CvStatModel.) |
![]() | Load(String, String) |
Loads the model from file
(Inherited from CvStatModel.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) |
![]() | Read |
Reads the model from file storage
(Inherited from CvStatModel.) |
![]() | Save(String) |
Saves the model to file
(Inherited from CvStatModel.) |
![]() | Save(String, String) |
Saves the model to file
(Inherited from CvStatModel.) |
![]() | ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) |
![]() | ToString | (Inherited from Object.) |
![]() | Train(CvMat, CvMat, CvMat, Boolean, Int32, Boolean) |
Trains the model
|
![]() | Train(Mat, Mat, Mat, Boolean, Int32, Boolean) |
Trains the model
|
![]() | Write |
Writes the model to file storage
(Inherited from CvStatModel.) |
See Also