GpuVis Class Reference

Object performs different operations on the GPU. It requires a single initialization call, application needs to interface with this object by passing in image objects This class extracts KLT features and returns them in KLT feature lists. More...

#include <GpuVis.h>

List of all members.

Public Member Functions

 GpuVis (GpuVis_Options &parameters)
 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_FeatureListselectGoodFeatures ()
 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.


Detailed Description

Object performs different operations on the GPU. It requires a single initialization call, application needs to interface with this object by passing in image objects This class extracts KLT features and returns them in KLT feature lists.


Member Function Documentation

void GpuVis::reselectGoodFeatures GpuKLT_FeatureList **  ftList,
int  dir,
float  percentage
 

KLT ReSelect Good Features to replenish Feature List.

Parameters:
ftList,: Feature List
dir,: direction 1: left, 2: right, 3: top, 4: bot
percentage,: what fraction of image to look for features in (Urbanscape needs this since vehicle driving direction means new features will appear on one side of frame)

void GpuVis::trackFeatures GpuKLT_FeatureList **  ftList  ) 
 

KLT Track routine.

Fragment Programs: floatingWindow_Kernel partialSum_Kernel matrixElem_Kernel matrixSolve_Kernel Storage Buffers : PyramidTU _kltFeaturesTU _kltFloatingWindowTU _kltPartialSumTU _kltMatrixElemTU


The documentation for this class was generated from the following files:
Generated on Sat Apr 15 01:22:18 2006 for GpuVis by  doxygen 1.4.6-NO