00001 /*************************************************************** 00002 00003 Mini Grand Challenge 2010 00004 Pennsylvania State University - Robotics Club 00005 Learn more at www.psurobotics.org 00006 Protected by the GNU General Public License 00007 00008 This source file is developed and maintained by: 00009 + Adam Brockett arb5118@psu.edu 00010 00011 File: RoadSelectInterface.cpp/h 00012 Desc: This component segments an image into areas considered 00013 "the road" and those not. 00014 Input: IplImage and two points on the road from LaserVisionFusion 00015 Output: Black and White Image with the road in white 00016 ***************************************************************/ 00017 00018 //Inclusion Guard 00019 #ifndef __ROADSELECTINTERFACE_H_ 00020 #define __ROADSELECTINTERFACE_H_ 00021 00022 // Standard includes 00023 #include "Utilities.h" 00024 #include "BaseComponent.h" 00025 #include "Utilities_Vision.h" 00026 00028 class RoadSelectInterface : public BaseComponent 00029 { 00030 public: 00031 00033 RoadSelectInterface(); 00034 00036 ~RoadSelectInterface(); 00037 00039 int Update(); 00040 00041 private: 00042 00044 IplImage* input; 00045 00047 IplImage* dest; 00048 }; 00049 00050 00051 #endif
1.5.5