00001 /* -*- mode: C++ -*- 00002 * 00003 * Copyright (C) 2011 Austin Robot Technology 00004 * License: Modified BSD Software License Agreement 00005 * 00006 * $Id: filter.h 1649 2011-08-14 15:12:34Z jack.oquin $ 00007 */ 00008 00017 #ifndef _LANE_FILTER_H_ 00018 #define _LANE_FILTER_H_ 00019 00020 #include <filters/mean.h> 00021 #include <filters/median.h> 00022 #include <filters/realtime_circular_buffer.h> 00023 00024 class MedianFilter : public filters::MedianFilter<float> 00025 { 00026 public: 00027 MedianFilter(); 00028 ~MedianFilter(); 00029 bool configure(); 00030 bool isFull(); 00031 }; 00032 00033 class MeanFilter : public filters::MeanFilter<float> 00034 { 00035 public: 00036 MeanFilter(); 00037 ~MeanFilter(); 00038 bool configure(); 00039 bool isFull(); 00040 }; 00041 00042 #endif // _LANE_FILTER_H_