19 #ifndef SNARK_IMAGING_CVMAT_FILTERS_H_
20 #define SNARK_IMAGING_CVMAT_FILTERS_H_
23 #include <boost/function.hpp>
24 #include <boost/date_time/posix_time/posix_time.hpp>
26 #include <opencv2/core/core.hpp>
28 namespace snark{
namespace cv_mat {
32 typedef std::pair< boost::posix_time::ptime, cv::Mat > value_type;
33 filter( boost::function< value_type( value_type ) > f,
bool p =
true ): filter_function( f ), parallel( p ) {}
34 boost::function< value_type( value_type ) > filter_function;
42 typedef std::pair< boost::posix_time::ptime, cv::Mat >
value_type;
45 static std::vector< filter >
make(
const std::string& how );
51 static const std::string&
usage();
56 #endif // SNARK_IMAGING_CVMAT_FILTERS_H_