Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Modules/ImageProcessor/VLCImageProcessor/VLCGoalRecognizer.h File Reference

More...

#include "Modules/ImageProcessor/ImageProcessor.h"
#include "Modules/ImageProcessor/ImageProcessorTools/ImageProcessorUtilityClasses.h"
#include "Modules/ImageProcessor/ImageProcessorTools/BresenhamLineScan.h"
#include "Modules/ImageProcessor/ImageProcessorTools/ColorCorrector.h"

Include dependency graph for VLCGoalRecognizer.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  VLCGoalRecognizer
 TODO: Write Summary. More...

class  VLCGoalRecognizer::EdgeDetector
 TODO: Write Summary. More...

struct  VLCGoalRecognizer::EdgePointList
 TODO: Write Summary. More...

struct  VLCGoalRecognizer::Goalpost
struct  VLCGoalRecognizer::GoalHypothesis
 TODO: Write Summary. More...


Defines

#define STUPID_DEBUG_IMAGE_SET_PIXEL(targetcolor, x, y, drawcolor)
 Macro to handle the stupid problem, that the DEBUG_IMAGE_SET_PIXEL_xxx macros need the debug image identifier at compile time.

#define N_STUPID_DEBUG_IMAGE_SET_PIXEL(targetcolor, x, y, drawcolor)


Detailed Description

Author:
Tobias Oberlies

Definition in file VLCGoalRecognizer.h.


Define Documentation

#define STUPID_DEBUG_IMAGE_SET_PIXEL targetcolor,
x,
y,
drawcolor   ) 
 

Value:

if (targetcolor == yellow) \
  { \
    DEBUG_IMAGE_SET_PIXEL_##drawcolor(imageProcessorGoal1, (x), (y)); \
  } \
  else \
  { \
    DEBUG_IMAGE_SET_PIXEL_##drawcolor(imageProcessorGoal2, (x), (y)); \
  }
Macro to handle the stupid problem, that the DEBUG_IMAGE_SET_PIXEL_xxx macros need the debug image identifier at compile time.

There are two instances of this class, and one of them uses imageProcessorGoal1 and the other imageProcessorGoal2.

Parameters:
targetcolor A variable that contains the goal colour at runtime.
x The x-value of the pixel to be set (at runtime).
y The y-value of the pixel to be set (at runtime).
drawcolor Text suitable to complete DEBUG_IMAGE_SET_PIXEL_ at compile time.

Definition at line 26 of file VLCGoalRecognizer.h.

#define N_STUPID_DEBUG_IMAGE_SET_PIXEL targetcolor,
x,
y,
drawcolor   ) 
 

Value:

if (targetcolor == yellow) \
  { \
    N_SET_COLORED_PIXEL_IN_GRAY_SCALE_IMAGE(goalRecognizerYellow, (x), (y), (drawcolor)); \
  } \
  else \
  { \
    N_SET_COLORED_PIXEL_IN_GRAY_SCALE_IMAGE(goalRecognizerBlue, (x), (y), (drawcolor)); \
  }

Definition at line 36 of file VLCGoalRecognizer.h.


Generated on Mon Mar 20 22:02:46 2006 for GT2005 by doxygen 1.3.6