matcher export More...
#include <SiftGPU.h>
Public Types | |
enum | SIFTMATCH_LANGUAGE { SIFTMATCH_SAME_AS_SIFTGPU = 0, SIFTMATCH_GLSL = 2, SIFTMATCH_CUDA = 3, SIFTMATCH_CUDA_DEVICE0 = 3 } |
Public Member Functions | |
int | CreateContextGL () |
virtual SIFTGPU_EXPORT int | GetGuidedSiftMatch (int max_match, int match_buffer[][2], float H[3][3], float F[3][3], float distmax=0.7, float ratiomax=0.8, float hdistmax=32, float fdistmax=16, int mutual_best_match=1) |
virtual SIFTGPU_EXPORT int | GetSiftMatch (int max_match, int match_buffer[][2], float distmax=0.7, float ratiomax=0.8, int mutual_best_match=1) |
SIFTGPU_EXPORT void * | operator new (size_t size) |
virtual SIFTGPU_EXPORT void | SetDescriptors (int index, int num, const float *descriptors, int id=-1) |
virtual SIFTGPU_EXPORT void | SetDescriptors (int index, int num, const unsigned char *descriptors, int id=-1) |
virtual SIFTGPU_EXPORT void | SetDeviceParam (int argc, char **argv) |
void | SetFeatureLocation (int index, const SiftGPU::SiftKeypoint *keys) |
virtual SIFTGPU_EXPORT void | SetFeautreLocation (int index, const float *locations, int gap=0) |
virtual SIFTGPU_EXPORT void | SetLanguage (int gpu_language) |
virtual SIFTGPU_EXPORT void | SetMaxSift (int max_sift) |
SIFTGPU_EXPORT | SiftMatchGPU (int max_sift=4096) |
int | VerifyContextGL () |
virtual SIFTGPU_EXPORT | ~SiftMatchGPU () |
Protected Member Functions | |
virtual SIFTGPU_EXPORT int | _CreateContextGL () |
virtual SIFTGPU_EXPORT int | _VerifyContextGL () |
Private Member Functions | |
virtual void | InitSiftMatch () |
Private Attributes | |
int | __language |
SiftMatchGPU * | __matcher |
int | __max_sift |
SiftMatchGPU::SiftMatchGPU | ( | int | max_sift = 4096 | ) |
Definition at line 614 of file SiftMatch.cpp.
SiftMatchGPU::~SiftMatchGPU | ( | ) | [virtual] |
Definition at line 643 of file SiftMatch.cpp.
int SiftMatchGPU::_CreateContextGL | ( | ) | [protected, virtual] |
Definition at line 549 of file SiftMatch.cpp.
int SiftMatchGPU::_VerifyContextGL | ( | ) | [protected, virtual] |
Definition at line 565 of file SiftMatch.cpp.
int SiftMatchGPU::CreateContextGL | ( | ) | [inline] |
int SiftMatchGPU::GetGuidedSiftMatch | ( | int | max_match, |
int | match_buffer[][2], | ||
float | H[3][3], | ||
float | F[3][3], | ||
float | distmax = 0.7 , |
||
float | ratiomax = 0.8 , |
||
float | hdistmax = 32 , |
||
float | fdistmax = 16 , |
||
int | mutual_best_match = 1 |
||
) | [virtual] |
Reimplemented in SiftMatchGL.
Definition at line 663 of file SiftMatch.cpp.
int SiftMatchGPU::GetSiftMatch | ( | int | max_match, |
int | match_buffer[][2], | ||
float | distmax = 0.7 , |
||
float | ratiomax = 0.8 , |
||
int | mutual_best_match = 1 |
||
) | [virtual] |
Reimplemented in SiftMatchGL.
Definition at line 678 of file SiftMatch.cpp.
virtual void SiftMatchGPU::InitSiftMatch | ( | ) | [inline, private, virtual] |
Reimplemented in SiftMatchGL.
void * SiftMatchGPU::operator new | ( | size_t | size | ) |
Reimplemented in ComboSiftGPU.
Definition at line 603 of file SiftMatch.cpp.
void SiftMatchGPU::SetDescriptors | ( | int | index, |
int | num, | ||
const float * | descriptors, | ||
int | id = -1 |
||
) | [virtual] |
Reimplemented in SiftMatchGL.
Definition at line 653 of file SiftMatch.cpp.
void SiftMatchGPU::SetDescriptors | ( | int | index, |
int | num, | ||
const unsigned char * | descriptors, | ||
int | id = -1 |
||
) | [virtual] |
Reimplemented in SiftMatchGL.
Definition at line 648 of file SiftMatch.cpp.
void SiftMatchGPU::SetDeviceParam | ( | int | argc, |
char ** | argv | ||
) | [virtual] |
Definition at line 631 of file SiftMatch.cpp.
void SiftMatchGPU::SetFeatureLocation | ( | int | index, |
const SiftGPU::SiftKeypoint * | keys | ||
) | [inline] |
void SiftMatchGPU::SetFeautreLocation | ( | int | index, |
const float * | locations, | ||
int | gap = 0 |
||
) | [virtual] |
Reimplemented in SiftMatchGL.
Definition at line 658 of file SiftMatch.cpp.
void SiftMatchGPU::SetLanguage | ( | int | gpu_language | ) | [virtual] |
Definition at line 621 of file SiftMatch.cpp.
void SiftMatchGPU::SetMaxSift | ( | int | max_sift | ) | [virtual] |
Reimplemented in SiftMatchGL.
Definition at line 637 of file SiftMatch.cpp.
int SiftMatchGPU::VerifyContextGL | ( | ) | [inline] |
int SiftMatchGPU::__language [private] |
SiftMatchGPU* SiftMatchGPU::__matcher [private] |
int SiftMatchGPU::__max_sift [private] |