libvot
0.1.3
A C++11 multithread library for image retrieval
|
Sift data structure used in libvot. More...
#include <data_types.h>
Public Member Functions | |
SiftData () | |
SiftData (const SiftData &obj) | |
SiftData & | operator= (const SiftData &rhs) |
~SiftData () | |
bool | ReadSiftFile (std::string const &szFileName) |
ReadSiftFile: read sift file, this function is compatible with the sfm version of sift file. More... | |
bool | ReadChar2DTYPE (std::string const &szFileName) |
ConvertChar2Float: Read a char sift file and convert it to DTYPE(float/double) sift. The descriptors are L1 normalized and then square-rooted (RootSift) More... | |
template<typename T , std::size_t N> | |
bool | ReadOpenmvgDesc (std::string const &szFileName) |
ReadOpenmvgDesc: read desc file of openmvg. More... | |
bool | SaveSiftFile (std::string const &szFileName) |
const int | getFeatureNum () const |
void | setFeatureNum (int feat_num) |
const int | getLocDim () const |
void | setLocDim (int loc_dim) |
const int | getDesDim () const |
void | setDesDim (int des_dim) |
const int | getVersion () const |
void | setVersion (int version) |
void | clear () |
LTYPE *& | getLocPointer () |
DTYPE *& | getDesPointer () |
Sift data structure used in libvot.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ConvertChar2Float: Read a char sift file and convert it to DTYPE(float/double) sift. The descriptors are L1 normalized and then square-rooted (RootSift)
szFileName | the name of the sift file |
|
inline |
ReadOpenmvgDesc: read desc file of openmvg.
szFileName | the name of the sift file |
|
inline |
ReadSiftFile: read sift file, this function is compatible with the sfm version of sift file.
szFileName | the name of the sift file |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |