35 lines
794 B
C++
35 lines
794 B
C++
/*
|
||
* ====================================================
|
||
|
||
* 功能:防渗透。
|
||
* 作者:刘丁维
|
||
* 生成时间:2020/4/21
|
||
* 最近修改时间:v1.0 2020/04/21
|
||
* v1.1 2022/05/04 重构算法,采用提高对比度实现防渗透。
|
||
* 版本号:v1.1
|
||
|
||
* ====================================================
|
||
*/
|
||
|
||
#ifndef IMAGE_APPLY_REFUSE_INFLOW_H
|
||
#define IMAGE_APPLY_REFUSE_INFLOW_H
|
||
|
||
#include "ImageApply.h"
|
||
|
||
class CImageApplyAdjustColors;
|
||
class CImageApplyRefuseInflow : public CImageApply
|
||
{
|
||
public:
|
||
CImageApplyRefuseInflow(int constrast = 15);
|
||
|
||
virtual ~CImageApplyRefuseInflow();
|
||
|
||
virtual void apply(cv::Mat& pDib, int side);
|
||
|
||
virtual void apply(std::vector<cv::Mat>& mats, bool isTwoSide);
|
||
|
||
private:
|
||
CImageApplyAdjustColors* m_adjustColor;
|
||
};
|
||
#endif // !IMAGE_APPLY_REFUSE_INFLOW_H
|