#include <GuideDogRobotSpecialist.h>
Collaboration diagram for GuideDogRobotSpecialist:

Public Member Functions | |
| GuideDogRobotSpecialist (const Image &image, const CameraMatrix &cameraMatrix, const CameraMatrix &prevCameraMatrix, const ColorTable &colorTable, const ColorCorrector &colorCorrector, PlayersPercept &playersPercept) | |
| ~GuideDogRobotSpecialist () | |
| void | execute () |
Private Member Functions | |
| void | calculateScanLinesParallelToHorizon () |
| void | scanParallelToHorizon () |
| bool | isRed (int x, int y) |
Private Attributes | |
| const Image & | image |
| A reference to the image that is scanned for a goal. | |
| const CameraMatrix & | cameraMatrix |
| A reference to the camera matrix that describes position and rotation of the camera when the image was aquired. | |
| const CameraMatrix & | prevCameraMatrix |
| A reference to the previous camera matrix that describes position and rotation of the camera when the image was aquired. | |
| const ColorTable & | colorTable |
| A reference to the color table. | |
| PlayersPercept & | playersPercept |
| A reference to the singeplayer percept. | |
| const ColorCorrector & | colorCorrector |
| A reference to the color corrector. | |
| Geometry::Line | horizonLine |
| A representation of the horizon. | |
| Geometry::Line | verticalLine |
| A representation of the horizon. | |
| int | numberOfHorizontalScanLines |
| The number of horizontal scan lines. | |
| Vector2< int > | leftPoint [maxNumberOfHorizontalScanLines] |
| representation of the left points of the horizontal scan lines | |
| Vector2< int > | rightPoint [maxNumberOfHorizontalScanLines] |
| representation of the right points of the horizontal scan lines | |
Static Private Attributes | |
| const int | maxNumberOfHorizontalScanLines = 32 |
|
||||||||||||||||||||||||||||
|
Definition at line 22 of file GuideDogRobotSpecialist.cpp. |
|
|
Definition at line 40 of file GuideDogRobotSpecialist.cpp. |
|
Here is the call graph for this function:

|
|
Definition at line 62 of file GuideDogRobotSpecialist.cpp. References Geometry::Line::base, Image::cameraInfo, Geometry::Line::direction, Geometry::getIntersectionPointsOfLineAndRectangle(), horizonLine, leftPoint, maxNumberOfHorizontalScanLines, numberOfHorizontalScanLines, CameraInfo::resolutionHeight, CameraInfo::resolutionWidth, rightPoint, and verticalLine. Referenced by execute(). |
Here is the call graph for this function:

|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 156 of file GuideDogRobotSpecialist.cpp. References CORRECTED_COLOR_CLASS, and Image::image. Referenced by scanParallelToHorizon(). |
|
|
A reference to the image that is scanned for a goal.
Definition at line 21 of file GuideDogRobotSpecialist.h. |
|
|
A reference to the camera matrix that describes position and rotation of the camera when the image was aquired.
Definition at line 24 of file GuideDogRobotSpecialist.h. |
|
|
A reference to the previous camera matrix that describes position and rotation of the camera when the image was aquired.
Definition at line 27 of file GuideDogRobotSpecialist.h. |
|
|
A reference to the color table.
Definition at line 30 of file GuideDogRobotSpecialist.h. |
|
|
A reference to the singeplayer percept.
Definition at line 33 of file GuideDogRobotSpecialist.h. |
|
|
A reference to the color corrector.
Definition at line 36 of file GuideDogRobotSpecialist.h. |
|
|
A representation of the horizon.
Definition at line 39 of file GuideDogRobotSpecialist.h. Referenced by calculateScanLinesParallelToHorizon(), and execute(). |
|
|
A representation of the horizon.
Definition at line 39 of file GuideDogRobotSpecialist.h. Referenced by calculateScanLinesParallelToHorizon(), and execute(). |
|
|
The number of horizontal scan lines.
Definition at line 42 of file GuideDogRobotSpecialist.h. Referenced by calculateScanLinesParallelToHorizon(), and scanParallelToHorizon(). |
|
|
Definition at line 44 of file GuideDogRobotSpecialist.h. Referenced by calculateScanLinesParallelToHorizon(). |
|
|
representation of the left points of the horizontal scan lines
Definition at line 47 of file GuideDogRobotSpecialist.h. Referenced by calculateScanLinesParallelToHorizon(), and scanParallelToHorizon(). |
|
|
representation of the right points of the horizontal scan lines
Definition at line 50 of file GuideDogRobotSpecialist.h. Referenced by calculateScanLinesParallelToHorizon(), and scanParallelToHorizon(). |
1.3.6