#include <SiftGPU.h>
Classes | |
struct | SiftKeypoint |
Public Types | |
enum | { SIFTGPU_NOT_SUPPORTED = 0, SIFTGPU_PARTIAL_SUPPORTED = 1, SIFTGPU_FULL_SUPPORTED = 2 } |
typedef struct SiftGPU::SiftKeypoint | SiftKeypoint |
Public Member Functions | |
virtual SIFTGPU_EXPORT int | AllocatePyramid (int width, int height) |
virtual SIFTGPU_EXPORT int | CreateContextGL () |
const char * | GetCurrentImagePath () |
virtual SIFTGPU_EXPORT int | GetFeatureNum () |
virtual SIFTGPU_EXPORT void | GetFeatureVector (SiftKeypoint *keys, float *descriptors) |
virtual SIFTGPU_EXPORT int | GetImageCount () |
virtual SIFTGPU_EXPORT int | IsFullSupported () |
SIFTGPU_EXPORT void * | operator new (size_t size) |
virtual SIFTGPU_EXPORT void | ParseParam (int argc, char **argv) |
virtual SIFTGPU_EXPORT int | RunSIFT (const char *imgpath) |
virtual SIFTGPU_EXPORT int | RunSIFT (int index) |
virtual SIFTGPU_EXPORT int | RunSIFT (int width, int height, const void *data, unsigned int gl_format, unsigned int gl_type) |
virtual SIFTGPU_EXPORT int | RunSIFT () |
virtual SIFTGPU_EXPORT int | RunSIFT (int num, const SiftKeypoint *keys, int keys_have_orientation=1) |
virtual SIFTGPU_EXPORT void | SaveSIFT (const char *szFileName) |
virtual SIFTGPU_EXPORT void | SetActivePyramid (int index) |
virtual SIFTGPU_EXPORT void | SetImageList (int nimage, const char **filelist) |
virtual SIFTGPU_EXPORT void | SetKeypointList (int num, const SiftKeypoint *keys, int keys_have_orientation=1) |
virtual SIFTGPU_EXPORT void | SetMaxDimension (int sz) |
virtual SIFTGPU_EXPORT void | SetTightPyramid (int tight=1) |
virtual SIFTGPU_EXPORT void | SetVerbose (int verbose=4) |
void | SetVerboseBrief () |
SIFTGPU_EXPORT | SiftGPU (int np=1) |
virtual SIFTGPU_EXPORT int | VerifyContextGL () |
virtual SIFTGPU_EXPORT | ~SiftGPU () |
Public Attributes | |
float | _timing [10] |
Protected Member Functions | |
void | InitSiftGPU () |
void | LoadImageList (const char *imlist) |
Static Protected Member Functions | |
static void | PrintUsage () |
Protected Attributes | |
int | _current |
int | _image_loaded |
char * | _imgpath |
int | _initialized |
ImageList * | _list |
char * | _outpath |
SiftPyramid * | _pyramid |
GLTexInput * | _texImage |
typedef struct SiftGPU::SiftKeypoint SiftGPU::SiftKeypoint |
anonymous enum |
SiftGPU::SiftGPU | ( | int | np = 1 | ) |
Definition at line 84 of file SiftGPU.cpp.
SiftGPU::~SiftGPU | ( | ) | [virtual] |
Definition at line 129 of file SiftGPU.cpp.
int SiftGPU::AllocatePyramid | ( | int | width, |
int | height | ||
) | [virtual] |
Definition at line 1351 of file SiftGPU.cpp.
int SiftGPU::CreateContextGL | ( | ) | [virtual] |
Definition at line 1293 of file SiftGPU.cpp.
const char* SiftGPU::GetCurrentImagePath | ( | ) | [inline] |
int SiftGPU::GetFeatureNum | ( | ) | [virtual] |
Definition at line 1327 of file SiftGPU.cpp.
void SiftGPU::GetFeatureVector | ( | SiftKeypoint * | keys, |
float * | descriptors | ||
) | [virtual] |
Definition at line 1332 of file SiftGPU.cpp.
int SiftGPU::GetImageCount | ( | ) | [virtual] |
Definition at line 1375 of file SiftGPU.cpp.
void SiftGPU::InitSiftGPU | ( | ) | [protected] |
Definition at line 140 of file SiftGPU.cpp.
int SiftGPU::IsFullSupported | ( | ) | [virtual] |
Definition at line 1317 of file SiftGPU.cpp.
void SiftGPU::LoadImageList | ( | const char * | imlist | ) | [protected] |
Definition at line 1178 of file SiftGPU.cpp.
void * SiftGPU::operator new | ( | size_t | size | ) |
Reimplemented in ComboSiftGPU.
Definition at line 108 of file SiftGPU.cpp.
void SiftGPU::ParseParam | ( | int | argc, |
char ** | argv | ||
) | [virtual] |
Definition at line 721 of file SiftGPU.cpp.
void SiftGPU::PrintUsage | ( | ) | [static, protected] |
Definition at line 673 of file SiftGPU.cpp.
int SiftGPU::RunSIFT | ( | const char * | imgpath | ) | [virtual] |
Definition at line 261 of file SiftGPU.cpp.
int SiftGPU::RunSIFT | ( | int | index | ) | [virtual] |
Definition at line 205 of file SiftGPU.cpp.
int SiftGPU::RunSIFT | ( | int | width, |
int | height, | ||
const void * | data, | ||
unsigned int | gl_format, | ||
unsigned int | gl_type | ||
) | [virtual] |
Definition at line 224 of file SiftGPU.cpp.
int SiftGPU::RunSIFT | ( | ) | [virtual] |
Definition at line 284 of file SiftGPU.cpp.
int SiftGPU::RunSIFT | ( | int | num, |
const SiftKeypoint * | keys, | ||
int | keys_have_orientation = 1 |
||
) | [virtual] |
Definition at line 277 of file SiftGPU.cpp.
void SiftGPU::SaveSIFT | ( | const char * | szFileName | ) | [virtual] |
Definition at line 1322 of file SiftGPU.cpp.
virtual SIFTGPU_EXPORT void SiftGPU::SetActivePyramid | ( | int | index | ) | [inline, virtual] |
void SiftGPU::SetImageList | ( | int | nimage, |
const char ** | filelist | ||
) | [virtual] |
Definition at line 1168 of file SiftGPU.cpp.
void SiftGPU::SetKeypointList | ( | int | num, |
const SiftKeypoint * | keys, | ||
int | keys_have_orientation = 1 |
||
) | [virtual] |
Definition at line 366 of file SiftGPU.cpp.
void SiftGPU::SetMaxDimension | ( | int | sz | ) | [virtual] |
Definition at line 1368 of file SiftGPU.cpp.
void SiftGPU::SetTightPyramid | ( | int | tight = 1 | ) | [virtual] |
Definition at line 1346 of file SiftGPU.cpp.
void SiftGPU::SetVerbose | ( | int | verbose = 4 | ) | [virtual] |
Definition at line 381 of file SiftGPU.cpp.
void SiftGPU::SetVerboseBrief | ( | ) | [inline] |
int SiftGPU::VerifyContextGL | ( | ) | [virtual] |
Definition at line 1311 of file SiftGPU.cpp.
int SiftGPU::_current [protected] |
int SiftGPU::_image_loaded [protected] |
char* SiftGPU::_imgpath [protected] |
int SiftGPU::_initialized [protected] |
ImageList* SiftGPU::_list [protected] |
char* SiftGPU::_outpath [protected] |
SiftPyramid* SiftGPU::_pyramid [protected] |
GLTexInput* SiftGPU::_texImage [protected] |
float SiftGPU::_timing[10] |