ImageProcessingView.h
资源名称:Canny边缘检测.rar [点击查看]
上传用户:wzyhdz
上传日期:2010-04-06
资源大小:164k
文件大小:2k
源码类别:
2D图形编程
开发平台:
Visual C++
- // ImageProcessingView.h : interface of the CImageProcessingView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_IMAGEPROCESSINGVIEW_H__613B030F_9C37_11D6_A6C4_00D0094CCE8A__INCLUDED_)
- #define AFX_IMAGEPROCESSINGVIEW_H__613B030F_9C37_11D6_A6C4_00D0094CCE8A__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CImageProcessingView : public CScrollView
- {
- protected: // create from serialization only
- CImageProcessingView();
- DECLARE_DYNCREATE(CImageProcessingView)
- // Attributes
- public:
- CImageProcessingDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CImageProcessingView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- double* m_pDbImage;
- int m_nSupp;
- int m_nDWTCurDepth;
- virtual ~CImageProcessingView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CImageProcessingView)
- afx_msg void OnEdgeCanny();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in ImageProcessingView.cpp
- inline CImageProcessingDoc* CImageProcessingView::GetDocument()
- { return (CImageProcessingDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_IMAGEPROCESSINGVIEW_H__613B030F_9C37_11D6_A6C4_00D0094CCE8A__INCLUDED_)