Options
All
  • Public
  • Public/Protected
  • All
Menu

Lsh hash table. As its key is a sub-feature, and as usually the size of it is pretty small, we keep it as a continuous memory array. The value is an index in the corpus of features (we keep it as an unsigned int for pure memory reasons, it could be a size_t)

Source: opencv2/flann/lsh_table.h.

Hierarchy

  • LshTable

Index

Constructors

constructor

  • new LshTable(): LshTable
  • new LshTable(feature_size: any, key_size: any): LshTable
  • new LshTable(feature_size: any, subsignature_size: any): LshTable
  • Default constructor

    Returns LshTable

  • Default constructor Create the mask and allocate the memory

    Parameters

    • feature_size: any

      is the size of the feature (considered as a ElementType[])

    • key_size: any

      is the number of bits that are turned on in the feature

    Returns LshTable

  • Default constructor Default constructor Create the mask and allocate the memory

    Parameters

    • feature_size: any

      is the size of the feature (considered as a ElementType[])

    • subsignature_size: any

    Returns LshTable

Methods

add

  • add(value: any, feature: any): void
  • add(dataset: Matrix): Matrix

getBucketFromKey

getKey

getStats

Generated using TypeDoc