[][src]Crate flann_sys

Structs

FLANNParameters

Constants

FLANN_VERSION_
flann_algorithm_t_FLANN_INDEX_AUTOTUNED
flann_algorithm_t_FLANN_INDEX_COMPOSITE
flann_algorithm_t_FLANN_INDEX_HIERARCHICAL
flann_algorithm_t_FLANN_INDEX_KDTREE
flann_algorithm_t_FLANN_INDEX_KDTREE_SINGLE
flann_algorithm_t_FLANN_INDEX_KMEANS
flann_algorithm_t_FLANN_INDEX_LINEAR
flann_algorithm_t_FLANN_INDEX_LSH
flann_algorithm_t_FLANN_INDEX_SAVED
flann_centers_init_t_FLANN_CENTERS_GONZALES
flann_centers_init_t_FLANN_CENTERS_GROUPWISE
flann_centers_init_t_FLANN_CENTERS_KMEANSPP
flann_centers_init_t_FLANN_CENTERS_RANDOM
flann_checks_t_FLANN_CHECKS_AUTOTUNED
flann_checks_t_FLANN_CHECKS_UNLIMITED
flann_datatype_t_FLANN_FLOAT32
flann_datatype_t_FLANN_FLOAT64
flann_datatype_t_FLANN_INT8
flann_datatype_t_FLANN_INT16
flann_datatype_t_FLANN_INT32
flann_datatype_t_FLANN_INT64
flann_datatype_t_FLANN_NONE
flann_datatype_t_FLANN_UINT8
flann_datatype_t_FLANN_UINT16
flann_datatype_t_FLANN_UINT32
flann_datatype_t_FLANN_UINT64
flann_distance_t_FLANN_DIST_CHI_SQUARE
flann_distance_t_FLANN_DIST_EUCLIDEAN
flann_distance_t_FLANN_DIST_HAMMING
flann_distance_t_FLANN_DIST_HAMMING_LUT
flann_distance_t_FLANN_DIST_HAMMING_POPCNT
flann_distance_t_FLANN_DIST_HELLINGER
flann_distance_t_FLANN_DIST_HIST_INTERSECT
flann_distance_t_FLANN_DIST_KULLBACK_LEIBLER
flann_distance_t_FLANN_DIST_L1
flann_distance_t_FLANN_DIST_L2
flann_distance_t_FLANN_DIST_L2_SIMPLE
flann_distance_t_FLANN_DIST_MANHATTAN
flann_distance_t_FLANN_DIST_MAX
flann_distance_t_FLANN_DIST_MINKOWSKI
flann_log_level_t_FLANN_LOG_DEBUG
flann_log_level_t_FLANN_LOG_ERROR
flann_log_level_t_FLANN_LOG_FATAL
flann_log_level_t_FLANN_LOG_INFO
flann_log_level_t_FLANN_LOG_NONE
flann_log_level_t_FLANN_LOG_WARN

Statics

DEFAULT_FLANN_PARAMETERS

Functions

flann_add_points

Adds points to pre-built index.

flann_add_points_byte
flann_add_points_double
flann_add_points_float
flann_add_points_int
flann_build_index

Builds and returns an index. It uses autotuning if the target_precision field of index_params is between 0 and 1, or the parameters specified if it's -1.

flann_build_index_byte
flann_build_index_double
flann_build_index_float
flann_build_index_int
flann_compute_cluster_centers

Clusters the features in the dataset using a hierarchical kmeans clustering approach. This is significantly faster than using a flat kmeans clustering for a large number of clusters.

flann_compute_cluster_centers_byte
flann_compute_cluster_centers_double
flann_compute_cluster_centers_float
flann_compute_cluster_centers_int
flann_find_nearest_neighbors

Builds an index and uses it to find nearest neighbors.

flann_find_nearest_neighbors_byte
flann_find_nearest_neighbors_double
flann_find_nearest_neighbors_float
flann_find_nearest_neighbors_index

Searches for nearest neighbors using the index provided

flann_find_nearest_neighbors_index_byte
flann_find_nearest_neighbors_index_double
flann_find_nearest_neighbors_index_float
flann_find_nearest_neighbors_index_int
flann_find_nearest_neighbors_int
flann_free_index

Deletes an index and releases the memory used by it.

flann_free_index_byte
flann_free_index_double
flann_free_index_float
flann_free_index_int
flann_get_distance_order

Gets the distance order in use throughout FLANN (only applicable if minkowski distance is in use).

flann_get_distance_type

Gets the distance type in use throughout FLANN.

flann_get_point

Gets a point from a given index position.

flann_get_point_byte
flann_get_point_double
flann_get_point_float
flann_get_point_int
flann_load_index

Loads an index from a file.

flann_load_index_byte
flann_load_index_double
flann_load_index_float
flann_load_index_int
flann_log_verbosity

Sets the log level used for all flann functions (unless specified in FLANNParameters for each call

flann_radius_search

Performs an radius search using an already constructed index.

flann_radius_search_byte
flann_radius_search_double
flann_radius_search_float
flann_radius_search_int
flann_remove_point

Removes a point from a pre-built index.

flann_remove_point_byte
flann_remove_point_double
flann_remove_point_float
flann_remove_point_int
flann_save_index

Saves the index to a file. Only the index is saved into the file, the dataset corresponding to the index is not saved.

flann_save_index_byte
flann_save_index_double
flann_save_index_float
flann_save_index_int
flann_set_distance_type

Sets the distance type to use throughout FLANN. If distance type specified is MINKOWSKI, the second argument specifies which order the minkowski distance should have.

flann_size

Returns the dimensionality of datapoints stored in index.

flann_size_byte
flann_size_double
flann_size_float
flann_size_int
flann_used_memory

Returns the number of bytes consumed by the index.

flann_used_memory_byte
flann_used_memory_double
flann_used_memory_float
flann_used_memory_int
flann_veclen

Returns the number of datapoints stored in index.

flann_veclen_byte
flann_veclen_double
flann_veclen_float
flann_veclen_int

Type Definitions

FLANN_INDEX
flann_algorithm_t
flann_centers_init_t
flann_checks_t
flann_datatype_t
flann_distance_t
flann_index_t
flann_log_level_t