imageprocessing.h

Go to the documentation of this file.
00001 #ifndef _IMAGEPROCESSING_H_
00002 #define _IMAGEPROCESSING_H_ 1
00003 
00004 #include "CVIPtoolsInc.h"
00005 
00006 #define ROBOT_MINAREA     150
00007 #define ROBOT_MAXAREA     400
00008 #define SUBJECT_MINAREA   50 
00009 #define SUBJECT_MAXAREA   10000 //150
00010 #define GOAL_MINAREA      400
00011 #define GOAL_MAXAREA      10000 
00012 
00013 #define RGB_RED            1
00014 #define RGB_GREEN          2
00015 #define RGB_BLUE           3
00016 
00017 
00018 #include <list>
00019 #include "Entity.h"
00020 
00021 
00022 typedef std::list <class Entity> ENTITYLIST;
00023 typedef std::list <class Entity>::iterator ENTITYLIST_ITER;
00024 
00025 
00026 int init_imageprocessing();
00027 
00028 bool get_first_non_null_point(Image *inputImage, int *row,int *column);
00029 //bool get_centroid_off_first_object(Image *inputImage, int *center_row, 
00030 //                                   int *center_col);
00031 
00032 Image *get_component (Image *cvipImage, int color);
00033 
00034 
00035 Image *find_color_entities(Image *inputimage, int color , 
00036                           ENTITYLIST *entitylist );
00037 bool find_labeled_entity(Image *inputImage, int &row,int &col, int &label);
00038 
00039 //void print_entities(List <Entity> *objectlist);
00040 //void send_entities(List <Entity> *objectlist);
00041 
00042 void print_entities(ENTITYLIST *entitylist);
00043 
00044 #endif // _IMAGEPROCESSING_H_

Generated on Wed Nov 29 01:27:41 2006 by  doxygen 1.4.6