36 lines
770 B
C++
36 lines
770 B
C++
/*
|
||
* ====================================================
|
||
|
||
* 功能:消除色散
|
||
* 作者:刘丁维
|
||
* 生成时间:2021/09/24
|
||
* 最近修改时间:2021/11/12 v1.1.0 重构算法
|
||
* 2022/04/21 v1.2.0 重构算法
|
||
* 版本号:v1.2.0
|
||
|
||
* ====================================================
|
||
*/
|
||
|
||
#ifndef IMAGE_APPLY_DISPERSION_COLOR_H
|
||
#define IMAGE_APPLY_DISPERSION_COLOR_H
|
||
|
||
#include "ImageApply.h"
|
||
|
||
class CImageApplyDispersion : public CImageApply
|
||
{
|
||
public:
|
||
CImageApplyDispersion();
|
||
|
||
virtual ~CImageApplyDispersion();
|
||
|
||
virtual void apply(cv::Mat& pDib, int side);
|
||
|
||
virtual void apply(std::vector<cv::Mat>& mats, bool isTwoSide);
|
||
|
||
private:
|
||
cv::Mat m_kernal_b;
|
||
cv::Mat m_kernal_g;
|
||
cv::Mat m_kernal_r;
|
||
};
|
||
#endif
|