code_device/hgdriver/ImageProcess/ImageApplyRefuseInflow.h

35 lines
848 B
C++
Raw 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
* 最近修改时间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 GIMGPROC_LIBRARY_API 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