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

# Tools/Debugging/DebugImages2.h File Reference

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

`#include "Tools/Debugging/Debugging.h"`
`#include "Representations/Perception/GrayScaleImage.h"`

Include dependency graph for DebugImages2.h:

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 | N_DECLARE_DEBUG_IMAGE(id) /**/
#define | N_INIT_DEBUG_IMAGE(id, image) /**/
#define | N_INIT_DEBUG_IMAGE_BLACK(id, image) /**/
#define | N_SEND_DEBUG_IMAGE(id) /**/
#define | N_SEND_DEBUG_IMAGE_AS_JPEG(id) /**/
#define | N_SEND_DEBUG_IMAGE_AS_JPEG2(id) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_YUV(id, xx, yy, y, u, v) /**/
#define | N_DEBUG_IMAGE_GET_PIXEL_Y(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_GET_PIXEL_U(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_GET_PIXEL_V(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_BLACK(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_WHITE(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_GREEN(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_LIGHT_GRAY(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_GRAY(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_DARK_GRAY(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_DARK_GREEN(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_ORANGE(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_YELLOW(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_RED(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_MAUVE(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_BLUE(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_PINK(id, xx, yy) /**/
#define | N_DEBUG_IMAGE_SET_PIXEL_DARK_BLUE(id, xx, yy) /**/
#define | N_DECLARE_DEBUG_GRAY_SCALE_IMAGE(id) /**/
#define | N_SET_COLORED_PIXEL_IN_GRAY_SCALE_IMAGE(id, x, y, color) /**/
#define | N_INIT_DEBUG_GRAY_SCALE_IMAGE(id, image) /**/
#define | N_SEND_DEBUG_GRAY_SCALE_IMAGE(id) /**/
#define | N_DECLARE_DEBUG_COLOR_CLASS_IMAGE(id) /**/
#define | N_SEND_DEBUG_COLOR_CLASS_IMAGE(id) /**/
#define | N_GENERATE_DEBUG_IMAGE(id, expression) /**/
#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 DebugImages2.h.

## Define Documentation

#define N_DECLARE_DEBUG_IMAGE | ( | id |  | ) | /**/

| Definition at line 107 of file DebugImages2.h.

#define N_INIT_DEBUG_IMAGE | ( | id,
|  | image |  | ) | /**/

| Definition at line 109 of file DebugImages2.h.

#define N_INIT_DEBUG_IMAGE_BLACK | ( | id,
|  | image |  | ) | /**/

| Definition at line 111 of file DebugImages2.h.

#define N_SEND_DEBUG_IMAGE | ( | id |  | ) | /**/

| Definition at line 113 of file DebugImages2.h.

#define N_SEND_DEBUG_IMAGE_AS_JPEG | ( | id |  | ) | /**/

| Definition at line 115 of file DebugImages2.h.

#define N_SEND_DEBUG_IMAGE_AS_JPEG2 | ( | id |  | ) | /**/

| Definition at line 117 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_YUV | ( | id,
|  | xx,
|  | yy,
|  | y,
|  | u,
|  | v |  | ) | /**/

| Definition at line 119 of file DebugImages2.h.

#define N_DEBUG_IMAGE_GET_PIXEL_Y | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 121 of file DebugImages2.h.

#define N_DEBUG_IMAGE_GET_PIXEL_U | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 123 of file DebugImages2.h.

#define N_DEBUG_IMAGE_GET_PIXEL_V | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 125 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_BLACK | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 127 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_WHITE | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 129 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_GREEN | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 131 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_LIGHT_GRAY | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 133 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_GRAY | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 135 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_DARK_GRAY | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 137 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_DARK_GREEN | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 139 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_ORANGE | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 141 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_YELLOW | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 143 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_RED | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 145 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_MAUVE | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 147 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_BLUE | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 149 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_PINK | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 151 of file DebugImages2.h.

#define N_DEBUG_IMAGE_SET_PIXEL_DARK_BLUE | ( | id,
|  | xx,
|  | yy |  | ) | /**/

| Definition at line 153 of file DebugImages2.h.

#define N_DECLARE_DEBUG_GRAY_SCALE_IMAGE | ( | id |  | ) | /**/

| Definition at line 157 of file DebugImages2.h.

#define N_SET_COLORED_PIXEL_IN_GRAY_SCALE_IMAGE | ( | id,
|  | x,
|  | y,
|  | color |  | ) | /**/

| Definition at line 159 of file DebugImages2.h.

#define N_INIT_DEBUG_GRAY_SCALE_IMAGE | ( | id,
|  | image |  | ) | /**/

| Definition at line 161 of file DebugImages2.h.

#define N_SEND_DEBUG_GRAY_SCALE_IMAGE | ( | id |  | ) | /**/

| Definition at line 163 of file DebugImages2.h.

#define N_DECLARE_DEBUG_COLOR_CLASS_IMAGE | ( | id |  | ) | /**/

| Definition at line 167 of file DebugImages2.h.

#define N_SEND_DEBUG_COLOR_CLASS_IMAGE | ( | id |  | ) | /**/

| Definition at line 169 of file DebugImages2.h.

#define N_GENERATE_DEBUG_IMAGE | ( | id,
|  | expression |  | ) | /**/

| Definition at line 173 of file DebugImages2.h.

#define DECLARE_DEBUG_COLOR_CLASS_IMAGE | ( | id |  | ) | ColorClassImage id##ColorClassImage

  | Declares a debug image. Parameters:
  id | An image id (Images::ImageID)
Definition at line 198 of file DebugImages2.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 201 of file DebugImages2.h.

#define DECLARE_DEBUG_IMAGE | ( | id |  | ) | static bool id##Dummy

| Definition at line 303 of file DebugImages2.h.

#define INIT_DEBUG_IMAGE | ( | id,
|  | image |  | ) | /**/

| Definition at line 305 of file DebugImages2.h.

#define GENERATE_DEBUG_IMAGE | ( | id,
|  | expression |  | ) | /**/

| Definition at line 307 of file DebugImages2.h.

#define SEND_DEBUG_IMAGE | ( | id |  | ) | /**/

| Definition at line 309 of file DebugImages2.h.

#define DEBUG_IMAGE_SET_PIXEL_Y | ( | id,
|  | xx,
|  | yy,
|  | y |  | ) | /**/

| Definition at line 311 of file DebugImages2.h.

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

| Definition at line 313 of file DebugImages2.h.

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

| Definition at line 315 of file DebugImages2.h.

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

| Definition at line 317 of file DebugImages2.h.

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

| Definition at line 319 of file DebugImages2.h.

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

| Definition at line 321 of file DebugImages2.h.

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

| Definition at line 323 of file DebugImages2.h.

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

| Definition at line 325 of file DebugImages2.h.

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

| Definition at line 327 of file DebugImages2.h.

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

| Definition at line 329 of file DebugImages2.h.

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

| Definition at line 331 of file DebugImages2.h.

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

| Definition at line 333 of file DebugImages2.h.

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

| Definition at line 335 of file DebugImages2.h.

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

| Definition at line 337 of file DebugImages2.h.

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

| Definition at line 339 of file DebugImages2.h.

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

| Definition at line 341 of file DebugImages2.h.

#define DEBUG_IMAGE_GET_PIXEL_Y | ( | id,
|  | xx,
|  | yy |  | ) | 0

| Definition at line 343 of file DebugImages2.h.

#define DEBUG_IMAGE_GET_PIXEL_U | ( | id,
|  | xx,
|  | yy |  | ) | 0

| Definition at line 344 of file DebugImages2.h.

#define DEBUG_IMAGE_GET_PIXEL_V | ( | id,
|  | xx,
|  | yy |  | ) | 0

| Definition at line 345 of file DebugImages2.h.