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 222 of file ImageProcessor.cpp.

Definition at line 229 of file ImageProcessor.cpp.


Member Function Documentation

Definition at line 423 of file ImageProcessor.cpp.

Definition at line 455 of file ImageProcessor.cpp.

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

Definition at line 433 of file ImageProcessor.cpp.

Definition at line 81 of file ImageProcessor.h.

GLenum ImageProcessor::avgInit ( int  res)

Definition at line 367 of file ImageProcessor.cpp.

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

Definition at line 255 of file ImageProcessor.cpp.

Definition at line 129 of file ImageProcessor.cpp.

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.

Definition at line 154 of file ImageProcessor.cpp.

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

Definition at line 246 of file ImageProcessor.cpp.

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

Definition at line 273 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 462 of file ImageProcessor.cpp.

Definition at line 10 of file ImageProcessor.cpp.

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

Definition at line 264 of file ImageProcessor.cpp.

Definition at line 351 of file ImageProcessor.cpp.

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

Definition at line 359 of file ImageProcessor.cpp.

Definition at line 241 of file ImageProcessor.cpp.

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

Definition at line 284 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 298 of file ImageProcessor.cpp.

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

Definition at line 340 of file ImageProcessor.cpp.

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

Definition at line 315 of file ImageProcessor.cpp.

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

Definition at line 326 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): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:27