![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#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 | |
| const char * | GetCurrentImagePath () |
| virtual void | SetImageList (int nimage, const char **filelist) |
| virtual int | GetFeatureNum () |
| virtual void | SaveSIFT (const char *szFileName) |
| virtual void | GetFeatureVector (SiftKeypoint *keys, float *descriptors) |
| virtual void | SetKeypointList (int num, const SiftKeypoint *keys, int keys_have_orientation=1) |
| virtual int | CreateContextGL () |
| virtual int | VerifyContextGL () |
| virtual int | IsFullSupported () |
| virtual void | SetVerbose (int verbose=4) |
| void | SetVerboseBrief () |
| virtual void | ParseParam (int argc, const char **argv) |
| virtual int | RunSIFT (const char *imgpath) |
| virtual int | RunSIFT (int index) |
| virtual int | RunSIFT (int width, int height, const void *data, unsigned int gl_format, unsigned int gl_type) |
| virtual int | RunSIFT () |
| virtual int | RunSIFT (int num, const SiftKeypoint *keys, int keys_have_orientation=1) |
| SiftGPU (int np=1) | |
| virtual | ~SiftGPU () |
| virtual void | SetActivePyramid (int) |
| virtual int | GetImageCount () |
| virtual void | SetTightPyramid (int tight=1) |
| virtual int | AllocatePyramid (int width, int height) |
| virtual void | SetMaxDimension (int sz) |
| int | GetFeatureCountThreshold () |
| int | GetMaxOrientation () |
| int | GetMaxDimension () |
Public Member Functions inherited from SiftParam | |
| void | ParseSiftParam () |
| float | GetLevelSigma (int lev) |
| float | GetInitialSmoothSigma (int octave_min) |
| SiftParam () | |
Public Attributes | |
| int | gpu_index = 0 |
| float | _timing [10] |
Public Attributes inherited from SiftParam | |
| float * | _sigma |
| float | _sigma_skip0 |
| float | _sigma_skip1 |
| float | _sigma0 |
| float | _sigman |
| int | _sigma_num |
| int | _dog_level_num |
| int | _level_num |
| int | _level_min |
| int | _level_max |
| int | _level_ds |
| float | _dog_threshold |
| float | _edge_threshold |
Protected Member Functions | |
| void | InitSiftGPU () |
| void | LoadImageList (const char *imlist) |
Static Protected Member Functions | |
| static void | PrintUsage () |
Protected Attributes | |
| int | _current |
| int | _initialized |
| int | _image_loaded |
| char * | _imgpath |
| char * | _outpath |
| ImageList * | _list |
| GLTexInput * | _texImage |
| SiftPyramid * | _pyramid |
| typedef struct SiftGPU::SiftKeypoint SiftGPU::SiftKeypoint |
| anonymous enum |
|
explicit |
Definition at line 84 of file SiftGPU.cpp.
|
virtual |
Definition at line 119 of file SiftGPU.cpp.
|
virtual |
Definition at line 1336 of file SiftGPU.cpp.
References GlobalParam::_octave_min_default, height, and width.
|
virtual |
Definition at line 1278 of file SiftGPU.cpp.
References GlobalParam::_UseCUDA, GlobalParam::_UseOpenCL, and GlobalUtil::CreateWindowEZ().
|
inline |
| int SiftGPU::GetFeatureCountThreshold | ( | ) |
Definition at line 1361 of file SiftGPU.cpp.
References GlobalParam::_FeatureCountThreshold.
|
virtual |
Definition at line 1312 of file SiftGPU.cpp.
|
virtual |
Definition at line 1317 of file SiftGPU.cpp.
References GlobalParam::_DescriptorPPT, descriptors, and NULL.
|
virtual |
Definition at line 1376 of file SiftGPU.cpp.
| int SiftGPU::GetMaxDimension | ( | ) |
Definition at line 1371 of file SiftGPU.cpp.
References GlobalParam::_texMaxDim.
| int SiftGPU::GetMaxOrientation | ( | ) |
Definition at line 1366 of file SiftGPU.cpp.
References GlobalParam::_MaxOrientation.
|
inlineprotected |
Definition at line 129 of file SiftGPU.cpp.
References GlobalParam::_DeviceIndex, GlobalParam::_GoodOpenGL, GlobalParam::_InitPyramidHeight, GlobalParam::_InitPyramidWidth, GlobalParam::_UseCUDA, GlobalParam::_UseOpenCL, GlobalParam::_usePackedTex, GlobalParam::_verbose, ClockTimer::InitHighResolution(), GlobalUtil::StartTimer(), and GlobalUtil::StopTimer().
|
virtual |
Definition at line 1302 of file SiftGPU.cpp.
References GlobalParam::_FullSupported, and GlobalParam::_GoodOpenGL.
|
protected |
Definition at line 1163 of file SiftGPU.cpp.
|
virtual |
Definition at line 706 of file SiftGPU.cpp.
References GlobalParam::_BinarySIFT, GlobalParam::_DarknessAdaption, GlobalParam::_debug, GlobalParam::_DescriptorPPT, GlobalParam::_DescriptorWindowFactor, GlobalParam::_DeviceIndex, SiftParam::_dog_level_num, SiftParam::_dog_threshold, SiftParam::_edge_threshold, GlobalParam::_ExitAfterSIFT, GlobalParam::_FeatureCountThreshold, GlobalParam::_FeatureTexBlock, GlobalParam::_FilterWidthFactor, GlobalParam::_FitMemoryCap, GlobalParam::_FixedOrientation, GlobalParam::_ForceTightPyramid, GlobalParam::_InitPyramidHeight, GlobalParam::_InitPyramidWidth, GlobalParam::_KeepExtremumSign, GlobalParam::_KeyPointListForceLevel0, GlobalParam::_ListGenGPU, GlobalParam::_ListGenSkipGPU, GlobalParam::_LoweOrigin, GlobalParam::_MaxFeaturePercent, GlobalParam::_MaxLevelFeatureNum, GlobalParam::_MaxOrientation, GlobalParam::_MulitiOrientationThreshold, GlobalParam::_NarrowFeatureTex, GlobalParam::_NormalizedSIFT, GlobalParam::_octave_min_default, GlobalParam::_octave_num_default, GlobalParam::_OrientationPack2, GlobalParam::_OrientationWindowFactor, GlobalParam::_PreProcessOnCPU, _stricmp, GlobalParam::_SubpixelLocalization, GlobalParam::_texMaxDim, GlobalParam::_texMinDim, GlobalParam::_TruncateMethod, GlobalParam::_UseCUDA, GlobalParam::_UseDynamicIndexing, GlobalParam::_UseOpenCL, GlobalParam::_usePackedTex, GlobalParam::_WindowDisplay, GlobalParam::_WindowInitX, GlobalParam::_WindowInitY, MAKEINT1, MAKEINT2, MAKEINT3, MAKEINT4, max(), min(), NULL, GlobalUtil::SelectDisplay(), STRING_TO_INT, and FrameBufferObject::UseSingleFBO.
|
staticprotected |
Definition at line 658 of file SiftGPU.cpp.
|
virtual |
Definition at line 273 of file SiftGPU.cpp.
References GlobalParam::_ExitAfterSIFT, GlobalParam::_GoodOpenGL, GlobalParam::_UseCUDA, GlobalParam::_UseOpenCL, GlobalParam::_UseSiftGPUEX, GlobalParam::_verbose, QtCompat::endl(), GlobalUtil::FitViewPort(), GlobalUtil::GetElapsedTime(), height, GlobalUtil::SetGLParam(), GlobalUtil::StartTimer(), GlobalUtil::StopTimer(), and width.
|
virtual |
Definition at line 250 of file SiftGPU.cpp.
|
virtual |
Definition at line 194 of file SiftGPU.cpp.
|
virtual |
Definition at line 266 of file SiftGPU.cpp.
|
virtual |
Definition at line 213 of file SiftGPU.cpp.
References GlobalParam::_GoodOpenGL, GlobalUtil::GetElapsedTime(), height, NULL, GlobalUtil::SetGLParam(), GlobalUtil::StartTimer(), GlobalUtil::StopTimer(), and width.
|
virtual |
Definition at line 1307 of file SiftGPU.cpp.
|
inlinevirtual |
|
virtual |
Definition at line 1153 of file SiftGPU.cpp.
|
virtual |
Definition at line 355 of file SiftGPU.cpp.
|
virtual |
Definition at line 1353 of file SiftGPU.cpp.
References GlobalParam::_texMaxDim, and GlobalParam::_texMaxDimGL.
|
virtual |
Definition at line 1331 of file SiftGPU.cpp.
References GlobalParam::_ForceTightPyramid.
|
virtual |
Definition at line 370 of file SiftGPU.cpp.
References GlobalParam::_timingL, GlobalParam::_timingO, GlobalParam::_timingS, GlobalParam::_UseSiftGPUEX, and GlobalParam::_verbose.
Referenced by SetVerboseBrief().
|
inline |
Definition at line 182 of file SiftGPU.h.
References SetVerbose().
|
virtual |
Definition at line 1296 of file SiftGPU.cpp.
References GlobalParam::_FullSupported, and GlobalParam::_GoodOpenGL.
|
protected |
Definition at line 139 of file SiftGPU.h.
Referenced by GetCurrentImagePath().
|
protected |
|
protected |