#include "Tools/ColorClasses.h"
#include "Tools/Math/Geometry.h"
#include "Tools/Debugging/DebugImages.h"
#include "Tools/Debugging/DebugDrawings.h"
#include "Platform/GTAssert.h"
#include "Representations/Perception/LandmarksPercept.h"
#include "GT2005ImageProcessorTools.h"
#include "GT2005GoalRecognizer.h"
Include dependency graph for GT2005GoalRecognizer.cpp:

Go to the source code of this file.
Defines | |
| #define | HORIZON_ALIGNED_RECTANGLE(horizoninfo, id, x1, y1, x2, y2, penwidth, penstyle, pencolor, cross) |
| Macro to draw a rectangle that is given in horizon-aligned coordinates. | |
Enumerations | |
| enum | parameters { maxScanLengthToGoalpostEdge = 14, minGoalpostHeight = 7 } |
| Parameters. More... | |
Definition in file GT2005GoalRecognizer.cpp.
|
|
Value: { \
Vector2<int> _topleft = horizoninfo.toImageCoordinates(x1, y1); \
Vector2<int> _bottomleft = horizonInfo.toImageCoordinates(x1, y2); \
Vector2<int> _bottomright = horizoninfo.toImageCoordinates(x2, y2); \
Vector2<int> _topright = horizoninfo.toImageCoordinates(x2, y1); \
QUADRANGLE(imageProcessor_flagsAndGoals, _topleft.x, _topleft.y, _bottomleft.x, _bottomleft.y, _bottomright.x, _bottomright.y, _topright.x, _topright.y, penwidth, penstyle, pencolor); \
NQUADRANGLE(id, _topleft.x, _topleft.y, _bottomleft.x, _bottomleft.y, _bottomright.x, _bottomright.y, _topright.x, _topright.y, penwidth, penstyle, pencolor); \
if (cross) \
{ \
NLINE(id, _topleft.x, _topleft.y, _bottomright.x, _bottomright.y, penwidth, penstyle, pencolor); \
NLINE(id, _bottomleft.x, _bottomleft.y, _topright.x, _topright.y, penwidth, penstyle, pencolor); \
} \
}
Definition at line 56 of file GT2005GoalRecognizer.cpp. Referenced by VLCGoalRecognizer::analyzeGoal(), GT2005GoalRecognizer::analyzeGoal(), VLCGoalRecognizer::interpretResults(), GT2005GoalRecognizer::interpretResults(), and GT2005GoalRecognizer::mergeFragments(). |
|
|
Parameters.
Definition at line 31 of file GT2005GoalRecognizer.cpp. |
1.3.6