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

Tools/Debugging/DebugImages.h File Reference

Macros to manipulate and send debug images. More...

#include "Tools/Debugging/Debugging.h"

Include dependency graph for DebugImages.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  Images
 Contains IDs for different (debug) image types as well as a method to output their names. More...


Defines

#define DECLARE_DEBUG_COLOR_CLASS_IMAGE(id)   ColorClassImage id##ColorClassImage
 Declares a debug image.

#define SEND_DEBUG_COLOR_CLASS_IMAGE(id)   INFO(send_##id##_image, idDebugColorClassImage, bin, Images::id << id##ColorClassImage)
 Sends the debug image with the specified id (Images::ImageID).

#define DECLARE_DEBUG_IMAGE(id)   static bool id##Dummy
#define INIT_DEBUG_IMAGE(id, image)   /**/
#define GENERATE_DEBUG_IMAGE(id, expression)   /**/
#define SEND_DEBUG_IMAGE(id)   /**/
#define DEBUG_IMAGE_SET_PIXEL_Y(id, xx, yy, y)   /**/
#define DEBUG_IMAGE_SET_PIXEL_YUV(id, xx, yy, y, u, v)   /**/
#define DEBUG_IMAGE_SET_PIXEL_BLACK(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_WHITE(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_GREEN(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_GRAY(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_LIGHT_GRAY(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_DARK_GRAY(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_DARK_GREEN(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_ORANGE(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_YELLOW(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_RED(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_MAUVE(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_BLUE(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_PINK(id, xx, yy)   /**/
#define DEBUG_IMAGE_SET_PIXEL_DARK_BLUE(id, xx, yy)   /**/
#define DEBUG_IMAGE_GET_PIXEL_Y(id, xx, yy)   0
#define DEBUG_IMAGE_GET_PIXEL_U(id, xx, yy)   0
#define DEBUG_IMAGE_GET_PIXEL_V(id, xx, yy)   0


Detailed Description

Macros to manipulate and send debug images.

Author:
Matthias Jüngel

Definition in file DebugImages.h.


Define Documentation

#define DECLARE_DEBUG_COLOR_CLASS_IMAGE id   )     ColorClassImage id##ColorClassImage
 

Declares a debug image.

Parameters:
id An image id (Images::ImageID)

Definition at line 28 of file DebugImages.h.

#define SEND_DEBUG_COLOR_CLASS_IMAGE id   )     INFO(send_##id##_image, idDebugColorClassImage, bin, Images::id << id##ColorClassImage)
 

Sends the debug image with the specified id (Images::ImageID).

Definition at line 31 of file DebugImages.h.

Referenced by GT2004ImageProcessor::execute(), and RasterImageProcessor::init().

#define DECLARE_DEBUG_IMAGE id   )     static bool id##Dummy
 

Definition at line 135 of file DebugImages.h.

Referenced by BarCodeReader::execute().

#define INIT_DEBUG_IMAGE id,
image   )     /**/
 

Definition at line 137 of file DebugImages.h.

Referenced by MotionRecognition::drawDynamicDiff(), BarCodeReader::execute(), RasterImageProcessor::execute(), GT2004ImageProcessor::execute(), GT2004GoalRecognizer::execute(), CheckerboardDetector::execute(), GoalRecognizer::getGoalPercept(), and GT2004FlagSpecialist::init().

#define GENERATE_DEBUG_IMAGE id,
expression   )     /**/
 

Definition at line 139 of file DebugImages.h.

Referenced by GT2004ImageProcessor::execute(), and RasterImageProcessor::init().

#define SEND_DEBUG_IMAGE id   )     /**/
 

Definition at line 141 of file DebugImages.h.

Referenced by MotionRecognition::drawDynamicDiff(), BarCodeReader::execute(), GT2004ImageProcessor::execute(), GT2004GoalRecognizer::execute(), CheckerboardDetector::execute(), GT2004FlagSpecialist::getFlagPercept(), and GoalRecognizer::getGoalPercept().

#define DEBUG_IMAGE_SET_PIXEL_Y id,
xx,
yy,
 )     /**/
 

Definition at line 143 of file DebugImages.h.

Referenced by CheckerboardDetector::execute(), and GT2004FlagSpecialist::findEndOfFlag().

#define DEBUG_IMAGE_SET_PIXEL_YUV id,
xx,
yy,
y,
u,
 )     /**/
 

Definition at line 145 of file DebugImages.h.

#define DEBUG_IMAGE_SET_PIXEL_BLACK id,
xx,
yy   )     /**/
 

Definition at line 147 of file DebugImages.h.

Referenced by CheckerboardDetector::execute(), GT2004ImageProcessor::scan(), GoalRecognizer::scanHorizontalForGoals(), GT2004GoalRecognizer::scanHorizontalForGoals(), GoalRecognizer::scanLinesForGoals(), and GT2004GoalRecognizer::scanLinesForGoals().

#define DEBUG_IMAGE_SET_PIXEL_WHITE id,
xx,
yy   )     /**/
 

Definition at line 149 of file DebugImages.h.

Referenced by CheckerboardDetector::execute(), GoalRecognizer::scanHorizontalForGoals(), GT2004GoalRecognizer::scanHorizontalForGoals(), GoalRecognizer::scanLinesForGoals(), and GT2004GoalRecognizer::scanLinesForGoals().

#define DEBUG_IMAGE_SET_PIXEL_GREEN id,
xx,
yy   )     /**/
 

Definition at line 151 of file DebugImages.h.

Referenced by BarCodeReader::execute(), CheckerboardDetector::execute(), GT2004ImageProcessor::scan(), GoalRecognizer::scanLinesForGoals(), GT2004GoalRecognizer::scanLinesForGoals(), and GT2004FlagSpecialist::searchFlags().

#define DEBUG_IMAGE_SET_PIXEL_GRAY id,
xx,
yy   )     /**/
 

Definition at line 153 of file DebugImages.h.

Referenced by GoalRecognizer::scanHorizontalForGoals(), GT2004GoalRecognizer::scanHorizontalForGoals(), GoalRecognizer::scanLinesForGoals(), and GT2004GoalRecognizer::scanLinesForGoals().

#define DEBUG_IMAGE_SET_PIXEL_LIGHT_GRAY id,
xx,
yy   )     /**/
 

Definition at line 155 of file DebugImages.h.

#define DEBUG_IMAGE_SET_PIXEL_DARK_GRAY id,
xx,
yy   )     /**/
 

Definition at line 157 of file DebugImages.h.

#define DEBUG_IMAGE_SET_PIXEL_DARK_GREEN id,
xx,
yy   )     /**/
 

Definition at line 159 of file DebugImages.h.

#define DEBUG_IMAGE_SET_PIXEL_ORANGE id,
xx,
yy   )     /**/
 

Definition at line 161 of file DebugImages.h.

#define DEBUG_IMAGE_SET_PIXEL_YELLOW id,
xx,
yy   )     /**/
 

Definition at line 163 of file DebugImages.h.

Referenced by CheckerboardDetector::execute(), GT2004ImageProcessor::scan(), and GT2004FlagSpecialist::searchFlags().

#define DEBUG_IMAGE_SET_PIXEL_RED id,
xx,
yy   )     /**/
 

Definition at line 165 of file DebugImages.h.

Referenced by CheckerboardDetector::execute(), GT2004FlagSpecialist::findEndOfFlag(), CheckerboardDetector::getTransitionsOnLine(), GT2004ImageProcessor::scan(), GoalRecognizer::scanLinesForGoals(), GT2004GoalRecognizer::scanLinesForGoals(), and GT2004FlagSpecialist::searchFlags().

#define DEBUG_IMAGE_SET_PIXEL_MAUVE id,
xx,
yy   )     /**/
 

Definition at line 167 of file DebugImages.h.

#define DEBUG_IMAGE_SET_PIXEL_BLUE id,
xx,
yy   )     /**/
 

Definition at line 169 of file DebugImages.h.

Referenced by CheckerboardDetector::execute(), CheckerboardDetector::getTransitionsOnLine(), GoalRecognizer::scanLinesForGoals(), GT2004GoalRecognizer::scanLinesForGoals(), and GT2004FlagSpecialist::searchFlags().

#define DEBUG_IMAGE_SET_PIXEL_PINK id,
xx,
yy   )     /**/
 

Definition at line 171 of file DebugImages.h.

Referenced by GT2004ImageProcessor::scan(), GoalRecognizer::scanLinesForGoals(), and GT2004GoalRecognizer::scanLinesForGoals().

#define DEBUG_IMAGE_SET_PIXEL_DARK_BLUE id,
xx,
yy   )     /**/
 

Definition at line 173 of file DebugImages.h.

#define DEBUG_IMAGE_GET_PIXEL_Y id,
xx,
yy   )     0
 

Definition at line 175 of file DebugImages.h.

#define DEBUG_IMAGE_GET_PIXEL_U id,
xx,
yy   )     0
 

Definition at line 176 of file DebugImages.h.

#define DEBUG_IMAGE_GET_PIXEL_V id,
xx,
yy   )     0
 

Definition at line 177 of file DebugImages.h.


Generated on Thu Sep 23 20:01:59 2004 for GT2004 by doxygen 1.3.6