mirror of http://192.168.1.51:8099/lmh188/twain3
33 lines
655 B
C++
33 lines
655 B
C++
/*
|
||
* ====================================================
|
||
|
||
* 功能:自动色彩校正,实现原理为直方图均衡化
|
||
* 作者:刘丁维
|
||
* 生成时间: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
|