Show / Hide Table of Contents

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)

Inheritance
System.Object
DisposableObject
DisposableCvObject
IndexParams
LshIndexParams
Implements
ICvPtrHolder
Inherited Members
IndexParams.DisposeManaged()
IndexParams.GetString(String, String)
IndexParams.GetInt(String, Int32)
IndexParams.GetDouble(String, Double)
IndexParams.SetString(String, String)
IndexParams.SetInt(String, Int32)
IndexParams.SetDouble(String, Double)
IndexParams.SetFloat(String, Single)
IndexParams.SetBool(String, Boolean)
IndexParams.SetAlgorithm(Int32)
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp.Flann
Assembly: OpenCvSharp.dll
Syntax
public class LshIndexParams : IndexParams, ICvPtrHolder

Constructors

| Improve this Doc View Source

LshIndexParams(Ptr)

Declaration
protected LshIndexParams(Ptr ptrObj)
Parameters
Type Name Description
Ptr ptrObj
| Improve this Doc View Source

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).

Methods

| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
IndexParams.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr
Overrides
IndexParams.Get()

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX