Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes
SiftGPU Class Reference

#include <SiftGPU.h>

Inheritance diagram for SiftGPU:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 98 of file SiftGPU.h.


Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
SIFTGPU_NOT_SUPPORTED 
SIFTGPU_PARTIAL_SUPPORTED 
SIFTGPU_FULL_SUPPORTED 

Definition at line 101 of file SiftGPU.h.


Constructor & Destructor Documentation

SiftGPU::SiftGPU ( int  np = 1)

Definition at line 84 of file SiftGPU.cpp.

SiftGPU::~SiftGPU ( ) [virtual]

Definition at line 129 of file SiftGPU.cpp.


Member Function Documentation

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]

Definition at line 140 of file SiftGPU.h.

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]

Definition at line 188 of file SiftGPU.h.

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]

Definition at line 165 of file SiftGPU.h.

int SiftGPU::VerifyContextGL ( ) [virtual]

Definition at line 1311 of file SiftGPU.cpp.


Member Data Documentation

int SiftGPU::_current [protected]

Definition at line 114 of file SiftGPU.h.

int SiftGPU::_image_loaded [protected]

Definition at line 120 of file SiftGPU.h.

char* SiftGPU::_imgpath [protected]

Definition at line 122 of file SiftGPU.h.

int SiftGPU::_initialized [protected]

Definition at line 118 of file SiftGPU.h.

ImageList* SiftGPU::_list [protected]

Definition at line 126 of file SiftGPU.h.

char* SiftGPU::_outpath [protected]

Definition at line 124 of file SiftGPU.h.

Definition at line 130 of file SiftGPU.h.

Definition at line 128 of file SiftGPU.h.

float SiftGPU::_timing[10]

Definition at line 139 of file SiftGPU.h.


The documentation for this class was generated from the following files:


siftgpu
Author(s): Changchang Wu (library), Bence Magyar (ROS wrapper)
autogenerated on Thu Jan 2 2014 11:38:01