Public Member Functions | Private Types | Private Member Functions | Private Attributes
SiftMatchGL Class Reference

#include <SiftMatch.h>

Inheritance diagram for SiftMatchGL:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int GetGuidedSiftMatch (int max_match, int match_buffer[][2], float H[3][3], float F[3][3], float distmax, float ratiomax, float hdistmax, float fdistmax, int mbm)
int GetSiftMatch (int max_match, int match_buffer[][2], float distmax, float ratiomax, int mbm)
void InitSiftMatch ()
void SetDescriptors (int index, int num, const unsigned char *descriptor, int id=-1)
void SetDescriptors (int index, int num, const float *descriptor, int id=-1)
void SetFeautreLocation (int index, const float *locatoins, int gap)
void SetMaxSift (int max_sift)
 SiftMatchGL (int max_sift, int use_glsl)
virtual ~SiftMatchGL ()

Private Types

typedef GLint ParameterGL

Private Member Functions

void AllocateSiftMatch ()
int GetBestMatch (int max_match, int match_buffer[][2], float distmax, float ratiomax, int mbm)
void LoadSiftMatchShadersGLSL ()

Private Attributes

int _have_loc [2]
int _id_sift [2]
int _initialized
int _max_sift
int _num_sift [2]
ParameterGL _param_colmax_param
ParameterGL _param_guided_mult_f
ParameterGL _param_guided_mult_h
ParameterGL _param_guided_mult_param
ParameterGL _param_guided_mult_tex1
 guided matching
ParameterGL _param_guided_mult_tex2
ParameterGL _param_guided_mult_texl1
ParameterGL _param_guided_mult_texl2
ParameterGL _param_multiply_size
ParameterGL _param_multiply_tex1
ParameterGL _param_multiply_tex2
ParameterGL _param_rowmax_param
int _pixel_per_sift
int _sift_num_stripe
int _sift_per_row
int _sift_per_stripe
GLTexImage _texDes [2]
GLTexImage _texDot
GLTexImage _texLoc [2]
GLTexImage _texMatch [2]
ProgramGPUs_col_max
ProgramGPUs_guided_mult
ProgramGPUs_multiply
ProgramGPUs_row_max
vector< float > sift_buffer

Detailed Description

Definition at line 28 of file SiftMatch.h.


Member Typedef Documentation

typedef GLint SiftMatchGL::ParameterGL [private]

Definition at line 30 of file SiftMatch.h.


Constructor & Destructor Documentation

SiftMatchGL::SiftMatchGL ( int  max_sift,
int  use_glsl 
)

Definition at line 45 of file SiftMatch.cpp.

Definition at line 59 of file SiftMatch.cpp.


Member Function Documentation

void SiftMatchGL::AllocateSiftMatch ( ) [private]

Definition at line 86 of file SiftMatch.cpp.

int SiftMatchGL::GetBestMatch ( int  max_match,
int  match_buffer[][2],
float  distmax,
float  ratiomax,
int  mbm 
) [private]

set parameter glsl

Definition at line 454 of file SiftMatch.cpp.

int SiftMatchGL::GetGuidedSiftMatch ( int  max_match,
int  match_buffer[][2],
float  H[3][3],
float  F[3][3],
float  distmax,
float  ratiomax,
float  hdistmax,
float  fdistmax,
int  mbm 
) [virtual]

Reimplemented from SiftMatchGPU.

Definition at line 406 of file SiftMatch.cpp.

int SiftMatchGL::GetSiftMatch ( int  max_match,
int  match_buffer[][2],
float  distmax,
float  ratiomax,
int  mbm 
) [virtual]

Reimplemented from SiftMatchGPU.

Definition at line 511 of file SiftMatch.cpp.

void SiftMatchGL::InitSiftMatch ( ) [virtual]

Reimplemented from SiftMatchGPU.

Definition at line 120 of file SiftMatch.cpp.

Definition at line 249 of file SiftMatch.cpp.

void SiftMatchGL::SetDescriptors ( int  index,
int  num,
const unsigned char *  descriptor,
int  id = -1 
) [virtual]

Reimplemented from SiftMatchGPU.

Definition at line 131 of file SiftMatch.cpp.

void SiftMatchGL::SetDescriptors ( int  index,
int  num,
const float *  descriptor,
int  id = -1 
) [virtual]

Reimplemented from SiftMatchGPU.

Definition at line 207 of file SiftMatch.cpp.

void SiftMatchGL::SetFeautreLocation ( int  index,
const float *  locatoins,
int  gap 
) [virtual]

Reimplemented from SiftMatchGPU.

Definition at line 169 of file SiftMatch.cpp.

void SiftMatchGL::SetMaxSift ( int  max_sift) [virtual]

Reimplemented from SiftMatchGPU.

Definition at line 67 of file SiftMatch.cpp.


Member Data Documentation

int SiftMatchGL::_have_loc[2] [private]

Definition at line 63 of file SiftMatch.h.

int SiftMatchGL::_id_sift[2] [private]

Definition at line 62 of file SiftMatch.h.

Definition at line 70 of file SiftMatch.h.

int SiftMatchGL::_max_sift [private]

Definition at line 60 of file SiftMatch.h.

int SiftMatchGL::_num_sift[2] [private]

Definition at line 61 of file SiftMatch.h.

Definition at line 49 of file SiftMatch.h.

Definition at line 57 of file SiftMatch.h.

Definition at line 56 of file SiftMatch.h.

Definition at line 58 of file SiftMatch.h.

guided matching

Definition at line 52 of file SiftMatch.h.

Definition at line 53 of file SiftMatch.h.

Definition at line 54 of file SiftMatch.h.

Definition at line 55 of file SiftMatch.h.

Definition at line 47 of file SiftMatch.h.

Definition at line 45 of file SiftMatch.h.

Definition at line 46 of file SiftMatch.h.

Definition at line 48 of file SiftMatch.h.

Definition at line 69 of file SiftMatch.h.

Definition at line 67 of file SiftMatch.h.

Definition at line 68 of file SiftMatch.h.

Definition at line 66 of file SiftMatch.h.

Definition at line 34 of file SiftMatch.h.

Definition at line 35 of file SiftMatch.h.

Definition at line 33 of file SiftMatch.h.

Definition at line 36 of file SiftMatch.h.

Definition at line 41 of file SiftMatch.h.

Definition at line 40 of file SiftMatch.h.

Definition at line 39 of file SiftMatch.h.

Definition at line 42 of file SiftMatch.h.

vector<float> SiftMatchGL::sift_buffer [private]

Definition at line 72 of file SiftMatch.h.


The documentation for this class was generated from the following files:


siftgpu
Author(s): Changchang Wu (library), Bence Magyar (ROS wrapper)
autogenerated on Thu Jan 2 2014 11:38:01