Locality Sensitive Hash (LSH) table
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvLSH
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvLSH type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CvLSH(IntPtr) |
Initializes from pointer
| |
CvLSH(Int32, Int32) |
Construct in-memory LSH table, with n bins.
| |
CvLSH(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.
| |
CvLSH(Int32, Int32, Int32) |
Construct in-memory LSH table, with n bins.
| |
CvLSH(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.
| |
CvLSH(Int32, Int32, Int32, Int32) |
Construct in-memory LSH table, with n bins.
| |
CvLSH(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.
| |
CvLSH(Int32, Int32, Int32, Int32, MatrixType) |
Construct in-memory LSH table, with n bins.
| |
CvLSH(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.
| |
CvLSH(Int32, Int32, Int32, Int32, MatrixType, Double) |
Construct in-memory LSH table, with n bins.
| |
CvLSH(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.
| |
CvLSH(Int32, Int32, Int32, Int32, MatrixType, Double, Int64) |
Construct in-memory LSH table, with n bins.
| |
CvLSH(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.
|
Properties
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
Size |
Return the number of vectors in the LSH.
|
Methods
Name | Description | |
---|---|---|
Add(CvMat) |
Add vectors to the LSH structure, optionally returning indices.
| |
Add(CvMat, CvMat) |
Add vectors to the LSH structure, optionally returning indices.
| |
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
CreateLSH(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.
| |
CreateLSH(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.
| |
CreateLSH(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.
| |
CreateLSH(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.
| |
CreateLSH(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.
| |
CreateLSH(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.
| |
CreateMemoryLSH(Int32, Int32) |
Construct in-memory LSH table, with n bins.
| |
CreateMemoryLSH(Int32, Int32, Int32) |
Construct in-memory LSH table, with n bins.
| |
CreateMemoryLSH(Int32, Int32, Int32, Int32) |
Construct in-memory LSH table, with n bins.
| |
CreateMemoryLSH(Int32, Int32, Int32, Int32, MatrixType) |
Construct in-memory LSH table, with n bins.
| |
CreateMemoryLSH(Int32, Int32, Int32, Int32, MatrixType, Double) |
Construct in-memory LSH table, with n bins.
| |
CreateMemoryLSH(Int32, Int32, Int32, Int32, MatrixType, Double, Int64) |
Construct in-memory LSH table, with n bins.
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
FromPtr |
Initializes from pointer
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
Query |
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.
| |
Release |
Free the given LSH structure.
| |
Remove |
Remove vectors from LSH, as addressed by given indices.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also