OpenCV  2.4.13
Open Source Computer Vision
saving.h File Reference
#include <cstring>
#include <vector>
#include "general.h"
#include "nn_index.h"

Classes

struct  cvflann::Datatype< T >
 
struct  cvflann::Datatype< char >
 
struct  cvflann::Datatype< short >
 
struct  cvflann::Datatype< int >
 
struct  cvflann::Datatype< unsigned char >
 
struct  cvflann::Datatype< unsigned short >
 
struct  cvflann::Datatype< unsigned int >
 
struct  cvflann::Datatype< float >
 
struct  cvflann::Datatype< double >
 
struct  cvflann::IndexHeader
 

Namespaces

 cvflann
 

Macros

#define FLANN_SIGNATURE_   "FLANN_INDEX"
 

Functions

template<typename Distance >
void cvflann::save_header (FILE *stream, const NNIndex< Distance > &index)
 
IndexHeader cvflann::load_header (FILE *stream)
 
template<typename T >
void cvflann::save_value (FILE *stream, const T &value, size_t count=1)
 
template<typename T >
void cvflann::save_value (FILE *stream, const cvflann::Matrix< T > &value)
 
template<typename T >
void cvflann::save_value (FILE *stream, const std::vector< T > &value)
 
template<typename T >
void cvflann::load_value (FILE *stream, T &value, size_t count=1)
 
template<typename T >
void cvflann::load_value (FILE *stream, cvflann::Matrix< T > &value)
 
template<typename T >
void cvflann::load_value (FILE *stream, std::vector< T > &value)
 

Macro Definition Documentation

#define FLANN_SIGNATURE_   "FLANN_INDEX"