twain3/ImageProcess/ImageApplyAutoContrast.h

33 lines
655 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
* 最近修改时间2020/4/21
* 版本号v1.0
* ====================================================
*/
#ifndef IMAGE_APPLY_AUTO_CONTRAST_H
#define IMAGE_APPLY_AUTO_CONTRAST_H
#include "ImageApply.h"
class CImageApplyAutoContrast : public CImageApply
{
public:
CImageApplyAutoContrast();
virtual ~CImageApplyAutoContrast();
virtual void apply(cv::Mat& pDib, int side);
virtual void apply(std::vector<cv::Mat>& mats, bool isTwoSide);
private:
};
#endif // !IMAGE_APPLY_AUTO_CONTRAST_H