1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef __ROAD_THRESHOLDER_IFACE_H__ #define __ROAD_THRESHOLDER_IFACE_H__ #include <opencv2/opencv.hpp> using namespace cv; class RoadThresholderIface { public: virtual void process_image(const Mat& img)=0; virtual Mat& get_road()=0; }; #endif