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

📄 photostarview.h

📁 一些自己做的关于图象处理的程序(如傅立叶变换
💻 H
字号:
#if !defined(PhotoStarVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED_)
#define PhotoStarVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED_

// PhotoStarView.h : interface of the CPhotoStarView class
//
/////////////////////////////////////////////////////////////////////////////

#include "ImageObject.h"
#include "ChildFrm.h"
#include "PhotoStarDoc.h"
#include "Gray.h"
#include "Histogram1.h"
#include "GRAYLINERCHANGE.h"
#include "HistogramBlance.h"
#include "HistogramSpecify.h"
#include "ColorsFake.h"
#include "MaxFiltDlg.h"
#include "MinFiltDlg.h"
#include "Algebra.h"
#include "ImageOperation.h"
#include "Logic.h"
#include "Mirror.h"
#include "ZoomImage.h"
#include "Ffuriour.h"
#include "FrequencyFilterDlg.h"
#include "LinerFilterDlg.h"
#include "Filter.h"
#include "Morphology.h"
#include "Threshold.h"
#include "DownHill.h"
#include "time.h"
//#include "Feature.h"
struct End 
{
	int x;
	int y;
};
class CPhotoStarView : public CScrollView
{
protected: // create from serialization only
	CPhotoStarView();
	DECLARE_DYNCREATE(CPhotoStarView)

// Attributes
public:
	CPhotoStarDoc* GetDocument();
	CImageObject *m_pImageObject;
	
	BOOL m_bImageLoaded;

	void ResizeWindow( void );

// Operations
public:
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPhotoStarView)
	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
	//}}AFX_VIRTUAL

// Implementation
public:
	CPoint m_nmidvalue;
	int m_nEndY;
	int m_nEndX;
	int m_nStep;
	int m_nStartY;
	int m_nStartX;
	int m_flag;
	int m_y;
	int m_x;
	int m_ndistance;
	int m_nangle;
	virtual ~CPhotoStarView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

private:

// Generated message map functions
protected:
	//{{AFX_MSG(CPhotoStarView)
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnEditCopy();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnViewShowhistogram();
	afx_msg void OnEnhanceMedianfilter();
	afx_msg void OnHistogramBlance();
	afx_msg void OnLinerchangeGray();
	afx_msg void OnHistogramSpecify();
	afx_msg void OnFakeColors();
	afx_msg void OnEnhanceMaxfilter();
	afx_msg void OnEnhanceMinfiltdig();
	afx_msg void OnOperationAlgrbra();
	afx_msg void OnEnhanceLogicoperation();
	afx_msg void OnEnhanceMirroroperation();
	afx_msg void OnZoomimage();
	afx_msg void OnEnhanceFft1();
	afx_msg void OnEnhanceUntifft();
	afx_msg void OnIdeallowfilter();
	afx_msg void OnIdealhightfilter();
	afx_msg void OnButworthhightfilter();
	afx_msg void OnButworthlowfilter();
	afx_msg void OnHomofilter();
	afx_msg void OnPeppersaltnoise();
	afx_msg void OnGussnoise();
	afx_msg void OnEnhanceLinerfilterdlg();
	afx_msg void OnEnhanceDegenration();
	afx_msg void OnEnhanceRevercefilter();
	afx_msg void OnEnhanceVenusfilter();
	afx_msg void OnErosion();
	afx_msg void OnDilation();
	afx_msg void OnOpen();
	afx_msg void OnClose();
	afx_msg void OnThining();
	afx_msg void OnThicking();
	afx_msg void OnSkeleton();
	afx_msg void OnManualthreshold();
	afx_msg void OnAutoworth();
	afx_msg void OnRegiongrowing();
	afx_msg void OnAreacombine();
	afx_msg void OnEnhanceSelectfilter();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnDownhillfilter();
	afx_msg void OnConstractAlgorithmOne();
	afx_msg void OnConstractAlgorithmTwo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in PhotoStarView.cpp
inline CPhotoStarDoc* CPhotoStarView::GetDocument()
   { return (CPhotoStarDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(PhotoStarVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED)





















⌨️ 快捷键说明

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