twain2/hugaotwainds/ImageProcess.h

41 lines
2.0 KiB
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
// ImageProcess 对话框
class ImageProcess : public CDialog
{
DECLARE_DYNAMIC(ImageProcess)
public:
ImageProcess(CWnd* pParent = nullptr); // 标准构造函数
virtual ~ImageProcess();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DIALOG_PAGEIMGPROC };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
private:
CComboBox m_cmBoxFilter;
CSliderCtrl m_sldEageEnhance;
CSliderCtrl m_sldCharEnhance;
CSliderCtrl m_sldOutHole;
void OnInitcmBoxFilter(int selectIndex);
void OnInitsldEageEnhance(int selectIndex);
void OnInitsldCharEnhance(int selectIndex);
void OnInitsldOutHole(int selectIndex);
public:
afx_msg void OnBnClickedCkremovehole();
void EnableOutHoleCheckChanged(BOOL enable);
void SetOutHoleValue(int value);
void SetMultiOutputEnable(int pixtype,bool enable);
};