code_device/hgdriver/ImageProcess/ImageApply.h

35 lines
749 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* ====================================================
* 功能:所有图像处理功能类的基类
* 作者:刘丁维
* 生成时间2020/4/21
* 最近修改时间2020/4/21
* 版本号v1.0
* ====================================================
*/
#ifndef IMAGE_APPLY_H
#define IMAGE_APPLY_H
#include <memory>
#include <vector>
#include <opencv2/opencv.hpp>
#include "imgprocdefs.h"
class GIMGPROC_LIBRARY_API CImageApply
{
public:
CImageApply(void);
virtual ~CImageApply(void);
virtual void apply(cv::Mat& pDib,int side) = 0;
virtual void apply(std::vector<cv::Mat>& mats, bool isTwoSide) = 0;
};
typedef std::shared_ptr<CImageApply> ImageApplyPtr;
#endif // !IMAGE_APPLY_H