![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
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 () |
| int | VerifyContextGL () |
| SiftMatchGPU (int max_sift=4096) | |
| virtual void | SetLanguage (int gpu_language) |
| virtual void | SetDeviceParam (int argc, char **argv) |
| virtual bool | Allocate (int max_sift, int mbm) |
| virtual void | SetMaxSift (int max_sift) |
| virtual int | GetMaxSift () const |
| virtual | ~SiftMatchGPU () |
| virtual void | SetDescriptors (int index, int num, const float *descriptors, int id=-1) |
| virtual void | SetDescriptors (int index, int num, const unsigned char *descriptors, int id=-1) |
| virtual int | GetSiftMatch (int max_match, uint32_t match_buffer[][2], float distmax=0.7, float ratiomax=0.8, int mutual_best_match=1) |
| virtual void | SetFeautreLocation (int index, const float *locations, int gap=0) |
| void | SetFeatureLocation (int index, const SiftGPU::SiftKeypoint *keys) |
| virtual int | GetGuidedSiftMatch (int max_match, uint32_t match_buffer[][2], float *H, float *F, float distmax=0.7, float ratiomax=0.8, float hdistmax=32, float fdistmax=16, int mutual_best_match=1) |
Public Attributes | |
| int | gpu_index = 0 |
Protected Member Functions | |
| virtual int | _CreateContextGL () |
| virtual int | _VerifyContextGL () |
Protected Attributes | |
| int | __max_sift |
|
explicit |
Definition at line 613 of file SiftMatch.cpp.
References __max_sift, max(), and NULL.
|
virtual |
Definition at line 656 of file SiftMatch.cpp.
|
protectedvirtual |
Definition at line 559 of file SiftMatch.cpp.
References GlobalUtil::CreateWindowEZ(), SIFTMATCH_CUDA, and VerifyContextGL().
Referenced by CreateContextGL().
|
protectedvirtual |
Definition at line 575 of file SiftMatch.cpp.
References __max_sift, GlobalParam::_DeviceIndex, GlobalParam::_GoodOpenGL, GlobalParam::_UseCUDA, GlobalParam::_verbose, GlobalUtil::InitGLParam(), SIFTMATCH_CUDA, SIFTMATCH_GLSL, and SIFTMATCH_SAME_AS_SIFTGPU.
Referenced by VerifyContextGL().
|
virtual |
Reimplemented in SiftMatchGL.
Definition at line 636 of file SiftMatch.cpp.
References __max_sift, and Allocate().
Referenced by Allocate().
|
inline |
Definition at line 291 of file SiftGPU.h.
References _CreateContextGL().
|
virtual |
Reimplemented in SiftMatchGL.
Definition at line 676 of file SiftMatch.cpp.
References GetGuidedSiftMatch(), GetSiftMatch(), and NULL.
Referenced by GetGuidedSiftMatch().
|
inlinevirtual |
Definition at line 311 of file SiftGPU.h.
References __max_sift.
|
virtual |
Reimplemented in SiftMatchGL.
Definition at line 691 of file SiftMatch.cpp.
References GetSiftMatch().
Referenced by GetGuidedSiftMatch(), and GetSiftMatch().
|
virtual |
Reimplemented in SiftMatchGL.
Definition at line 666 of file SiftMatch.cpp.
References descriptors, and SetDescriptors().
Referenced by SetDescriptors().
|
virtual |
Reimplemented in SiftMatchGL.
Definition at line 661 of file SiftMatch.cpp.
References descriptors, and SetDescriptors().
|
virtual |
Definition at line 630 of file SiftMatch.cpp.
References GlobalUtil::SetDeviceParam().
|
inline |
Definition at line 336 of file SiftGPU.h.
References SetFeautreLocation().
|
virtual |
Reimplemented in SiftMatchGL.
Definition at line 671 of file SiftMatch.cpp.
References SetFeautreLocation().
Referenced by SetFeatureLocation(), and SetFeautreLocation().
|
virtual |
Definition at line 620 of file SiftMatch.cpp.
References GlobalParam::_DeviceIndex, and SIFTMATCH_CUDA.
|
virtual |
Reimplemented in SiftMatchGL.
Definition at line 646 of file SiftMatch.cpp.
References __max_sift, max(), and SetMaxSift().
Referenced by SetMaxSift().
|
inline |
Definition at line 292 of file SiftGPU.h.
References _VerifyContextGL().
Referenced by _CreateContextGL().
|
protected |
Definition at line 285 of file SiftGPU.h.
Referenced by _VerifyContextGL(), Allocate(), GetMaxSift(), SiftMatchGL::SetDescriptors(), SetMaxSift(), SiftMatchGL::SetMaxSift(), SiftMatchGL::SiftMatchGL(), and SiftMatchGPU().