Class LshIndexParams
When using a parameters object of this type the index created uses multi-probe LSH (by Multi-Probe LSH: Efficient Indexing for High-Dimensional Similarity Search by Qin Lv, William Josephson, Zhe Wang, Moses Charikar, Kai Li., Proceedings of the 33rd International Conference on Very Large Data Bases (VLDB). Vienna, Austria. September 2007)
Implements
Inherited Members
Namespace: OpenCvSharp.Flann
Assembly: OpenCvSharp.dll
Syntax
public class LshIndexParams : IndexParams, ICvPtrHolder
Constructors
| Improve this Doc View SourceLshIndexParams(Ptr)
Declaration
protected LshIndexParams(Ptr ptrObj)
Parameters
Type | Name | Description |
---|---|---|
Ptr | ptrObj |
LshIndexParams(Int32, Int32, Int32)
Constructor
Declaration
public LshIndexParams(int tableNumber, int keySize, int multiProbeLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tableNumber | The number of hash tables to use (between 10 and 30 usually). |
System.Int32 | keySize | The size of the hash key in bits (between 10 and 20 usually). |
System.Int32 | multiProbeLevel | The number of bits to shift to check for neighboring buckets (0 is regular LSH, 2 is recommended). |