- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
ShowDIBView.h
资源名称:dip.rar [点击查看]
上传用户:hongxinly
上传日期:2022-06-13
资源大小:2588k
文件大小:3k
源码类别:
图形图像处理
开发平台:
Visual C++
- // ShowDIBView.h : interface of the CShowDIBView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_SHOWDIBVIEW_H__75A589AC_0FE7_11D1_813A_0020AF337325__INCLUDED_)
- #define AFX_SHOWDIBVIEW_H__75A589AC_0FE7_11D1_813A_0020AF337325__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include "DIB.h"
- class CShowDIBView : public CView
- {
- protected: // create from serialization only
- CShowDIBView();
- DECLARE_DYNCREATE(CShowDIBView)
- // Attributes
- public:
- CShowDIBDoc* GetDocument();
- // unsigned char *m_lpDIBBuffer;
- // BITMAPINFOHEADER *m_lpBIH;
- CDib m_Dib;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CShowDIBView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CShowDIBView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CShowDIBView)
- afx_msg void OnFileOpen();
- afx_msg void OnStyleStretched();
- afx_msg void OnStyleNormal();
- afx_msg void OnFileSave();
- afx_msg void OnPROCESS2value();
- afx_msg void OnInvert();
- afx_msg void OnVMax();
- afx_msg void OnVMin();
- afx_msg void OnVAve();
- afx_msg void OnReverse();
- afx_msg void OnPointLiner();
- afx_msg void OnHistogram();
- afx_msg void OnHistEqua();
- afx_msg void OnGeomTran();
- afx_msg void OnGeomZoom();
- afx_msg void OnGeomRota();
- afx_msg void OnFft();
- afx_msg void OnDct();
- afx_msg void OnFreqWalh();
- afx_msg void OnFreqWave();
- afx_msg void OnENHAAverF();
- afx_msg void OnENHAMidianF();
- afx_msg void OnEnhaSobel();
- afx_msg void OnEnhaLaplace();
- afx_msg void OnRestoreRandomnoise();
- afx_msg void OnRestoreSaltnoise();
- afx_msg void OnRestoreInverse();
- afx_msg void OnRestoreWiener();
- afx_msg void OnRecon();
- afx_msg void OnHuffman();
- afx_msg void OnRunlength();
- afx_msg void OnAlgorith();
- afx_msg void OnLzw();
- afx_msg void OnJpeg();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- int ImageStyle; // 0: Normal ; non_zero: Stretched
- };
- #ifndef _DEBUG // debug version in ShowDIBView.cpp
- inline CShowDIBDoc* CShowDIBView::GetDocument()
- { return (CShowDIBDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SHOWDIBVIEW_H__75A589AC_0FE7_11D1_813A_0020AF337325__INCLUDED_)