⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewcdibview.h

📁 自己用VC6.0编写的用遗传算法进行图像分割的软件
💻 H
字号:
// ViewCDibView.h : interface of the CViewCDibView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_VIEWCDIBVIEW_H__2D6BCDB1_F77D_4FE1_9F13_519AB6A112CF__INCLUDED_)
#define AFX_VIEWCDIBVIEW_H__2D6BCDB1_F77D_4FE1_9F13_519AB6A112CF__INCLUDED_

#include "Datainput1.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WIDTHBYTES(bits) (((bits) + 31) / 32 * 4)
//#include "DataInput.h"
#include "Datainput.h"
#include "thisparam.h"	// Added by ClassView

class CViewCDibView : public CScrollView
{
protected: // create from serialization only
	CViewCDibView();
	DECLARE_DYNCREATE(CViewCDibView)

// Attributes
public:
	CViewCDibDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CViewCDibView)
	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:
	thisparam m_thisparam;
	Datainput m_param;
	Datainput m_thresh;
//	CDataInput m_pthreshold;
	virtual ~CViewCDibView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CViewCDibView)
	afx_msg void OnChangetogray();
	afx_msg void OnSobel();
	afx_msg void OnPixeloper();
	afx_msg void OnFudiao();
	afx_msg void OnMymind();
	afx_msg void OnDosobel();
	afx_msg void OnEdgedetect();
	afx_msg void OnMediafilter();
	afx_msg void OnOpen();
	afx_msg void OnClose();
	afx_msg void OnBw();
	afx_msg void OnRever();
	afx_msg void OnContour2();
	afx_msg void OnLapedge8();
	afx_msg void OnXihua();
	afx_msg void OnSubpixel49();
	afx_msg void OnSubpixel49ii();
	//}}AFX_MSG
	afx_msg LRESULT OnRealizePal(WPARAM wParam, LPARAM lParam);
	//LRESULT void OnRealizePal(
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ViewCDibView.cpp
inline CViewCDibDoc* CViewCDibView::GetDocument()
   { return (CViewCDibDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VIEWCDIBVIEW_H__2D6BCDB1_F77D_4FE1_9F13_519AB6A112CF__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -