OpenCV: cv::flann::KMeansIndexParams Struct Reference

| OpenCV 3.4.2 Open Source Computer Vision

Public Member Functions | List of all members
cv::flann::KMeansIndexParams Struct Reference

`#include "miniflann.hpp"`

Inheritance diagram for cv::flann::KMeansIndexParams:

## Public Member Functions
| KMeansIndexParams (int branching=32, int iterations=11, cvflann::flann_centers_init_t centers_init=cvflann::FLANN_CENTERS_RANDOM, float cb_index=0.2f)
Public Member Functions inherited from cv::flann::IndexParams
| IndexParams ()
| ~IndexParams ()
void | getAll (std::vector< String > &names, std::vector< int > &types, std::vector< String > &strValues, std::vector< double > &numValues) const
double | getDouble (const String &key, double defaultVal=-1) const
int | getInt (const String &key, int defaultVal=-1) const
String | getString (const String &key, const String &defaultVal=String()) const
void | setAlgorithm (int value)
void | setBool (const String &key, bool value)
void | setDouble (const String &key, double value)
void | setFloat (const String &key, float value)
void | setInt (const String &key, int value)
void | setString (const String &key, const String &value)

## Additional Inherited Members
Public Attributes inherited from cv::flann::IndexParams
void * | params

## Constructor & Destructor Documentation

## ◆ KMeansIndexParams()

cv::flann::KMeansIndexParams::KMeansIndexParams | ( | int | branching = `32`,
|  | int | iterations = `11`,
|  | cvflann::flann_centers_init_t | centers_init = `cvflann::FLANN_CENTERS_RANDOM`,
|  | float | cb_index = `0.2f`
| ) |  |

The documentation for this struct was generated from the following file:

- flann/include/opencv2/flann/miniflann.hpp