CvLSH Methods OpenCvSharp Class Library

The CvLSH type exposes the following members.

Methods

  NameDescription
Public methodAdd(CvMat)
Add vectors to the LSH structure, optionally returning indices.
Public methodAdd(CvMat, CvMat)
Add vectors to the LSH structure, optionally returning indices.
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodStatic memberCreateLSH(IntPtr, Int32)
Construct a Locality Sensitive Hash (LSH) table, for indexing d-dimensional vectors of given type. Vectors will be hashed L times with k-dimensional p-stable (p=2) functions.
Public methodStatic memberCreateLSH(IntPtr, Int32, Int32)
Construct a Locality Sensitive Hash (LSH) table, for indexing d-dimensional vectors of given type. Vectors will be hashed L times with k-dimensional p-stable (p=2) functions.
Public methodStatic memberCreateLSH(IntPtr, Int32, Int32, Int32)
Construct a Locality Sensitive Hash (LSH) table, for indexing d-dimensional vectors of given type. Vectors will be hashed L times with k-dimensional p-stable (p=2) functions.
Public methodStatic memberCreateLSH(IntPtr, Int32, Int32, Int32, MatrixType)
Construct a Locality Sensitive Hash (LSH) table, for indexing d-dimensional vectors of given type. Vectors will be hashed L times with k-dimensional p-stable (p=2) functions.
Public methodStatic memberCreateLSH(IntPtr, Int32, Int32, Int32, MatrixType, Double)
Construct a Locality Sensitive Hash (LSH) table, for indexing d-dimensional vectors of given type. Vectors will be hashed L times with k-dimensional p-stable (p=2) functions.
Public methodStatic memberCreateLSH(IntPtr, Int32, Int32, Int32, MatrixType, Double, Int64)
Construct a Locality Sensitive Hash (LSH) table, for indexing d-dimensional vectors of given type. Vectors will be hashed L times with k-dimensional p-stable (p=2) functions.
Public methodStatic memberCreateMemoryLSH(Int32, Int32)
Construct in-memory LSH table, with n bins.
Public methodStatic memberCreateMemoryLSH(Int32, Int32, Int32)
Construct in-memory LSH table, with n bins.
Public methodStatic memberCreateMemoryLSH(Int32, Int32, Int32, Int32)
Construct in-memory LSH table, with n bins.
Public methodStatic memberCreateMemoryLSH(Int32, Int32, Int32, Int32, MatrixType)
Construct in-memory LSH table, with n bins.
Public methodStatic memberCreateMemoryLSH(Int32, Int32, Int32, Int32, MatrixType, Double)
Construct in-memory LSH table, with n bins.
Public methodStatic memberCreateMemoryLSH(Int32, Int32, Int32, Int32, MatrixType, Double, Int64)
Construct in-memory LSH table, with n bins.
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodStatic memberFromPtr
Initializes from pointer
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodQuery
Query the LSH n times for at most k nearest points; data is n x d, indices and dist are n x k. At most emax stored points will be accessed.
Public methodRelease
Free the given LSH structure.
Public methodRemove
Remove vectors from LSH, as addressed by given indices.
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference