00001
00008 #ifndef LANE_DETECTOR_HH
00009 #define LANE_DETECTOR_HH
00010
00011 #include "mcv.hh"
00012 #include "InversePerspectiveMapping.hh"
00013 #include "LaneDetector.hh"
00014 #include "cmdline.h"
00015
00016 #include <vector>
00017 #include <string>
00018
00019 using namespace std;
00020
00021 namespace LaneDetector
00022 {
00023
00038 void ProcessImage(const char* filename, CameraInfo& cameraInfo,
00039 LaneDetectorConf& lanesConf, LaneDetectorConf& stoplinesConf,
00040 gengetopt_args_info& options, ofstream* outputFile = NULL,
00041 int index = 0, clock_t *elapsedTime = NULL);
00042
00049 bool ReadLines(const char* filename, vector<string> *lines);
00050
00051 }
00052
00053 #endif //define LANE_DETECTOR_HH
00054