34 lines
669 B
C++
34 lines
669 B
C++
/*
|
||
* ====================================================
|
||
|
||
* 功能:所有图像处理功能类的基类
|
||
* 作者:刘丁维
|
||
* 生成时间:2020/4/21
|
||
* 最近修改时间:2020/4/21
|
||
* 版本号:v1.0
|
||
|
||
* ====================================================
|
||
*/
|
||
|
||
#ifndef IMAGE_APPLY_H
|
||
#define IMAGE_APPLY_H
|
||
|
||
#include <memory>
|
||
#include <vector>
|
||
#include <opencv2/opencv.hpp>
|
||
|
||
class 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
|