#include "stdafx.h"#include "resource.h"#include "legoprojectDlg.h"#include "ImageProcessor.h"#include "defines.h"Go to the source code of this file.
Defines | |
| #define | WINAPI __stdcall |
| #define | LOGIMAGE |
Functions | |
| void | print_entities (List< Entity > *objectlist) |
| void | send_entities (List< Entity > *objectlist) |
| Image * | find_color_objects (Image *inputimage, int color, List< Entity > *objectlist) |
| Image * | get_component (Image *inputImage, int color) |
| bool | get_centroid_off_first_object (Image *inputImage, int *center_row, int *center_col) |
| bool | get_first_non_null_point (Image *inputImage, int *row, int *column) |
| bool | find_labeled_object (Image *inputImage, int &row, int &col, int &label) |
| bool | robot_angle (Image *inputimage, int ¢er_row, int ¢er_col, int &angle) |
| void | log_Image (Image *cvipimage, char *description) |
| mybriefdef log_Image | |
| void | view_logged_Image (CImage *visimg, int number) |
| Image * | Robot_Position_and_Angle (Image *inputImage) |
| Image * | Object_Position_and_Angle (Image *inputImage, int obj_color, int *obj_row, int *obj_col, int *obj_angle) |
Variables | |
| int | myview = 0 |
| int | iImageCount = 0 |
| char | szNameFormat [100] |
| char | szFileName [100] |
|
|
|
|
|
Definition at line 54 of file ImageProcessor.cpp. |
|
||||||||||||||||
|
Definition at line 398 of file ImageProcessor.cpp. References area(), find_labeled_object(), get_component(), get_first_non_null_point(), Entity::GOAL, GOAL_MAXAREA, GOAL_MINAREA, Entity::ROBOT, robot_angle(), ROBOT_MAXAREA, ROBOT_MINAREA, Entity::setAngle(), Entity::setColor(), Entity::setType(), Entity::setX(), Entity::setY(), Entity::SUBJECT, SUBJECT_MAXAREA, and SUBJECT_MINAREA. Referenced by ImageProcessor::MyAlgorithm(). |
|
||||||||||||||||||||
|
Definition at line 787 of file ImageProcessor.cpp. Referenced by find_color_objects(). |
|
||||||||||||||||
|
Definition at line 725 of file ImageProcessor.cpp. References get_first_non_null_point(). Referenced by Object_Position_and_Angle(), and robot_angle(). |
|
||||||||||||
|
Definition at line 650 of file ImageProcessor.cpp. References log_Image(), RGB_BLUE, RGB_GREEN, RGB_RED, threshold_blue, threshold_green, and threshold_red. |
|
||||||||||||||||
|
Definition at line 757 of file ImageProcessor.cpp. |
|
||||||||||||
|
mybriefdef log_Image mylongdef regle4 Method documentation.
Definition at line 911 of file ImageProcessor.cpp. References iImageCount, szFileName, and szNameFormat. Referenced by get_component(), ImageProcessor::MyAlgorithm(), Object_Position_and_Angle(), and robot_angle(). |
|
||||||||||||||||||||||||
|
Definition at line 1036 of file ImageProcessor.cpp. References get_centroid_off_first_object(), get_component(), and log_Image(). Referenced by Robot_Position_and_Angle(). |
|
|
Definition at line 335 of file ImageProcessor.cpp. |
|
||||||||||||||||||||
|
Definition at line 826 of file ImageProcessor.cpp. References get_centroid_off_first_object(), and log_Image(). Referenced by find_color_objects(). |
|
|
Definition at line 1008 of file ImageProcessor.cpp. References Object_Position_and_Angle(). |
|
|
Definition at line 360 of file ImageProcessor.cpp. Referenced by ImageProcessor::MyAlgorithm(), and MyApp::OnRun(). |
|
||||||||||||
|
Definition at line 952 of file ImageProcessor.cpp. References szFileName, and szNameFormat. |
|
|
Definition at line 72 of file ImageProcessor.cpp. Referenced by log_Image(), and ImageProcessor::MyAlgorithm(). |
|
|
Definition at line 56 of file ImageProcessor.cpp. |
|
|
Definition at line 74 of file ImageProcessor.cpp. Referenced by log_Image(), and view_logged_Image(). |
|
|
Definition at line 73 of file ImageProcessor.cpp. Referenced by log_Image(), and view_logged_Image(). |
1.4.6