Public Member Functions | Private Member Functions | Private Attributes
Tracking::ImageProcessor Class Reference

class ImageProcessor More...

#include <ImageProcessor.h>

List of all members.

Public Member Functions

void avgActivate ()
void avgDeactivate ()
void avgGet (float *avg, int lvl=0)
int avgGetResolution ()
GLenum avgInit (int res)
void copy (Texture *source, Texture *result)
void flipUpsideDown (Texture *source, Texture *result)
void gauss (Texture *source, Texture *result)
int getHeight ()
int getWidth ()
 ImageProcessor ()
bool init (unsigned w, unsigned h)
void rectification (Texture *source, Texture *result)
void render (Texture *tex)
void render (Texture *tex, int x, int y, unsigned w, unsigned h)
void setCamOrtho ()
void sobel (Texture *source, Texture *result, float threshold=0.01, bool normalise=false, bool binary=false)
void sobel (Texture *source, Texture *result, Texture *mask, float threshold=0.01, bool normalize=false, bool binary=false)
void spreading (Texture *source, Texture *result)
void thinning (Texture *source, Texture *result)
void thinning (Texture *source, Texture *result, Texture *mask)
 ~ImageProcessor ()

Private Member Functions

bool dlFlipUpsideDown ()
bool dlImage ()
bool dlImage (float x, float y, float w, float h)
bool dlRectification ()
bool initShader ()
bool transform (float i, float j, float *ix, float *iy)

Private Attributes

GLuint fbo
int fbo_res
int fbo_stage
GLuint fbo_tex
GLuint fbo_tex_depth
TomGine::tgCamera m_cam_ortho
TomGine::tgCamera m_cam_ortho_fbo
int m_dlImage
int m_dlRect
int m_dlUpsideDown
unsigned m_height
LensMode m_lensMode
Shaderm_shadeGauss
Shaderm_shadeSobel
Shaderm_shadeSpreading
Shaderm_shadeThinning
bool m_sum_init
unsigned m_width

Detailed Description

class ImageProcessor

Definition at line 23 of file ImageProcessor.h.


Constructor & Destructor Documentation

Definition at line 224 of file ImageProcessor.cpp.

Definition at line 231 of file ImageProcessor.cpp.


Member Function Documentation

Definition at line 425 of file ImageProcessor.cpp.

Definition at line 457 of file ImageProcessor.cpp.

void ImageProcessor::avgGet ( float *  avg,
int  lvl = 0 
)

Definition at line 435 of file ImageProcessor.cpp.

Definition at line 81 of file ImageProcessor.h.

GLenum ImageProcessor::avgInit ( int  res)

Definition at line 369 of file ImageProcessor.cpp.

void ImageProcessor::copy ( Texture source,
Texture result 
)

Definition at line 257 of file ImageProcessor.cpp.

Definition at line 129 of file ImageProcessor.cpp.

bool ImageProcessor::dlImage ( ) [private]

Definition at line 91 of file ImageProcessor.cpp.

bool ImageProcessor::dlImage ( float  x,
float  y,
float  w,
float  h 
) [private]

Definition at line 115 of file ImageProcessor.cpp.

bool ImageProcessor::dlRectification ( ) [private]

Definition at line 154 of file ImageProcessor.cpp.

void ImageProcessor::flipUpsideDown ( Texture source,
Texture result 
)

Definition at line 248 of file ImageProcessor.cpp.

void ImageProcessor::gauss ( Texture source,
Texture result 
)

Definition at line 275 of file ImageProcessor.cpp.

Definition at line 61 of file ImageProcessor.h.

Definition at line 60 of file ImageProcessor.h.

bool ImageProcessor::init ( unsigned  w,
unsigned  h 
)

Definition at line 464 of file ImageProcessor.cpp.

bool ImageProcessor::initShader ( ) [private]

Definition at line 10 of file ImageProcessor.cpp.

void ImageProcessor::rectification ( Texture source,
Texture result 
)

Definition at line 266 of file ImageProcessor.cpp.

Definition at line 353 of file ImageProcessor.cpp.

void ImageProcessor::render ( Texture tex,
int  x,
int  y,
unsigned  w,
unsigned  h 
)

Definition at line 361 of file ImageProcessor.cpp.

Definition at line 243 of file ImageProcessor.cpp.

void ImageProcessor::sobel ( Texture source,
Texture result,
float  threshold = 0.01,
bool  normalise = false,
bool  binary = false 
)

Definition at line 286 of file ImageProcessor.cpp.

void ImageProcessor::sobel ( Texture source,
Texture result,
Texture mask,
float  threshold = 0.01,
bool  normalize = false,
bool  binary = false 
)

Definition at line 300 of file ImageProcessor.cpp.

void ImageProcessor::spreading ( Texture source,
Texture result 
)

Definition at line 342 of file ImageProcessor.cpp.

void ImageProcessor::thinning ( Texture source,
Texture result 
)

Definition at line 317 of file ImageProcessor.cpp.

void ImageProcessor::thinning ( Texture source,
Texture result,
Texture mask 
)

Definition at line 328 of file ImageProcessor.cpp.

bool ImageProcessor::transform ( float  i,
float  j,
float *  ix,
float *  iy 
) [private]

Definition at line 188 of file ImageProcessor.cpp.


Member Data Documentation

Definition at line 39 of file ImageProcessor.h.

Definition at line 42 of file ImageProcessor.h.

Definition at line 43 of file ImageProcessor.h.

Definition at line 40 of file ImageProcessor.h.

Definition at line 41 of file ImageProcessor.h.

Definition at line 37 of file ImageProcessor.h.

Definition at line 37 of file ImageProcessor.h.

Definition at line 28 of file ImageProcessor.h.

Definition at line 27 of file ImageProcessor.h.

Definition at line 29 of file ImageProcessor.h.

Definition at line 26 of file ImageProcessor.h.

Definition at line 30 of file ImageProcessor.h.

Definition at line 32 of file ImageProcessor.h.

Definition at line 33 of file ImageProcessor.h.

Definition at line 35 of file ImageProcessor.h.

Definition at line 34 of file ImageProcessor.h.

Definition at line 44 of file ImageProcessor.h.

Definition at line 25 of file ImageProcessor.h.


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


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:13