www.pudn.com > ImgSeg.rar > ImgSegDoc.h
// ImgSegDoc.h : interface of the CImgSegDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_IMGSEGDOC_H__E343E68C_66B5_11D6_9386_00E04C395D54__INCLUDED_)
#define AFX_IMGSEGDOC_H__E343E68C_66B5_11D6_9386_00E04C395D54__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CImgSegDoc : public CDocument
{
protected: // create from serialization only
CImgSegDoc();
DECLARE_DYNCREATE(CImgSegDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImgSegDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
BITMAPFILEHEADER m_bmpHeader;
LONG m_lHeight;
LONG m_lWidth;
void ShowBitmap(CDC* pDC);
LPBYTE m_lpBits;
LPBITMAPINFO m_lpBmpInf;
virtual ~CImgSegDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CImgSegDoc)
afx_msg void OnChrctIntensity();
afx_msg void OnEdgeRoberts();
afx_msg void OnEdgeSobel();
afx_msg void OnAreaIterativethresh();
afx_msg void OnReserve();
afx_msg void OnEdgeFacefit();
afx_msg void OnEdgePrewitt();
afx_msg void OnEdgeGauss();
afx_msg void OnEdgeKirsch();
afx_msg void OnAreaFuzzy();
afx_msg void OnEdgeLaplace();
afx_msg void OnEdgeShenjun();
afx_msg void OnEdgeColorth();
afx_msg void OnEdgeEdgemod();
afx_msg void OnEdgePointmod();
afx_msg void OnEdgeLinemod();
afx_msg void OnAreaOstu();
afx_msg void OnEdgePalking();
afx_msg void OnEdgeImppal();
afx_msg void OnBinary();
afx_msg void OnThinSobel();
afx_msg void OnThinLaplacian();
afx_msg void OnAreaEntropy();
afx_msg void OnNormalthreshold();
afx_msg void OnEnqualthreshold();
afx_msg void OnImprovedthreshold();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMGSEGDOC_H__E343E68C_66B5_11D6_9386_00E04C395D54__INCLUDED_)