This repository has been archived on 2021-03-01. You can view files and clone it, but cannot push or open issues or pull requests.
prpa/src/filterSample/color.hh

18 lines
306 B
C++

#ifndef COLOR_HH_
# define COLOR_HH_
# include "tbb/pipeline.h"
# include "opencv2/opencv.hpp"
class Color: public tbb::filter
{
public:
Color(cv::Vec3b ref)
: filter(tbb::filter::parallel), ref_(ref) {}
void* operator()(void*);
private:
cv::Vec3b ref_;
};
#endif /* !COLOR_HH_ */