Skip to content

Instantly share code, notes, and snippets.

@SubhiH
Created December 21, 2018 00:28
Show Gist options
  • Save SubhiH/fb2cd5dc0d61a5458af6035def486be8 to your computer and use it in GitHub Desktop.
Save SubhiH/fb2cd5dc0d61a5458af6035def486be8 to your computer and use it in GitHub Desktop.
ImageOperator class
class ImageOperator{
public:
ImageOperator() = default;
~ImageOperator() = default;
static void to_gray_m1(const cv::Mat& input, cv::Mat& output);
static void to_gray_m2(const cv::Mat& input, cv::Mat& output);
static void to_gray_m3(const cv::Mat& input, cv::Mat& output);
static void to_gray(const unsigned char* input,
const int width,
const int height,
const int channel,
unsigned char* output);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment