#include <GpuVis.h>
Public Member Functions | |
GpuVis (GpuVis_Options ¶meters) | |
Constructor. | |
~GpuVis () | |
Destructor. | |
void | Init (GpuVis_Image &image) |
Initialize the GpuVIS Object - call once at startup. | |
void | computePyramid (GpuVis_Image &image) |
Computes the Image Pyramid on the GPU. | |
void | readBackPyramid (unsigned char **charbuf) |
Readback the Image Pyramid. | |
GpuKLT_FeatureList * | selectGoodFeatures () |
KLT Select Good Features. | |
void | reselectGoodFeatures (GpuKLT_FeatureList **list, int dir, float percentage) |
KLT ReSelect Good Features to replenish Feature List. | |
void | enforceMinDist (int *pointlist, int npoints, GpuKLT_FeatureList **ftlist, int mindist, bool overwriteAll) |
Enforce the minimum distance between KLT features (On the CPU). | |
void | trackFeatures (GpuKLT_FeatureList **ftList) |
KLT Track routine. | |
void | debugTrack (GpuKLT_FeatureList **ftList) |
KLT Track Debugging Routine (REMOVE LATER). | |
void | resetWindowSize (int w, int h) |
Reset the window size. | |
void | displayVideoMemory (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayCornerness (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayOrigFrame (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayDistortionMap (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayFeatureTable (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayFloatingWindow (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayPartialSum (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayMatrixElem (int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayPyramidBlock (int aux, int level, int chan) |
Display Routines : show whole or parts of different texture units. | |
void | displayUndistortedFrame (int chan, int winw, int winh, int trcount, int ftcount) |
Display Routines : show whole or parts of different texture units. | |
void | displayFtList (GpuKLT_FeatureList *list, int imgW, int imgH, int winW, int winH) |
Display Routines : show whole or parts of different texture units. | |
void | drawDebugPatches (int ft_num, int fx, int fy, int iteration, int frame, GLuint attachment) |
Display Routines : show whole or parts of different texture units. | |
void | displayDebugTable () |
Display Routines : show whole or parts of different texture units. | |
int | getNLevels () |
Accessor Function. | |
Public Attributes | |
float | proctime |
per frame processing time. | |
int | ftadded |
features added | |
GLint | _currentDrawBuffer |
This variable is used by the display code. | |
float * | cornerNessBuffer |
Float buffer used for reading back cornerness. | |
int | pointcount |
Used during select / re-select features. | |
int * | pointlist |
Used during select / re-select features. |
|
KLT ReSelect Good Features to replenish Feature List.
|
|
KLT Track routine. Fragment Programs: floatingWindow_Kernel partialSum_Kernel matrixElem_Kernel matrixSolve_Kernel Storage Buffers : PyramidTU _kltFeaturesTU _kltFloatingWindowTU _kltPartialSumTU _kltMatrixElemTU |