twain3.0/huagao/ImageProcess/ImageApplyDispersion.h

36 lines
730 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.

/*
* ====================================================
* 功能:消除色散
* 作者:刘丁维
* 生成时间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