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

Modules/ImageProcessor/GT2005ImageProcessor/GT2005GoalRecognizer.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 "Tools/Range.h"

Include dependency graph for GT2005GoalRecognizer.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  GT2005GoalRecognizer
 TODO: Write Summary. More...

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

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

struct  GT2005GoalRecognizer::Goalpost
struct  GT2005GoalRecognizer::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 GT2005GoalRecognizer.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 27 of file GT2005GoalRecognizer.h.

Referenced by VLCGoalRecognizer::detectEdge(), GT2005GoalRecognizer::detectEdge(), VLCGoalRecognizer::detectGreenBelowGoalpost(), GT2005GoalRecognizer::detectGreenBelowGoalpost(), VLCGoalRecognizer::inspectPixel(), GT2005GoalRecognizer::inspectPixel(), VLCGoalRecognizer::scanAlongLine(), and GT2005GoalRecognizer::scanAlongLine().

#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 37 of file GT2005GoalRecognizer.h.

Referenced by GT2005GoalRecognizer::detectEdge(), GT2005GoalRecognizer::detectGreenBelowGoalpost(), GT2005GoalRecognizer::inspectPixel(), and GT2005GoalRecognizer::scanAlongLine().


Generated on Mon Mar 20 22:01:54 2006 for GT2005 by doxygen 1.3.6