📄 linjunjuandoc.h
字号:
// linjunjuanDoc.h : interface of the CLinjunjuanDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_LINJUNJUANDOC_H__474A624C_547D_11D5_BD50_5254AB10D0A6__INCLUDED_)
#define AFX_LINJUNJUANDOC_H__474A624C_547D_11D5_BD50_5254AB10D0A6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef COMLIB_H
#define COMLIB_H
#include "omlib.h"
#endif
#ifndef LAPDIALOGBOX_H
#define LAPDIALOGBOX_H
#include "LapDialogBox.h"
#endif
#ifndef JPGIMAGE_H
#define JPGIMAGE_H
#include "jpgImage.h"
#endif
#ifndef SOBELDIALOGBOX_H
#define SOBELDIALOGBOX_H
#include "SobelDialogBox.h"
#endif
#ifndef HISTOGRAM_H
#define HISTOGRAM_H
#include "Histogram.h"
#endif
#ifndef PARTFLITERDIALOG_H
#define PARTFLITERDIALOG_H
#include "PartFliterDialog.h"
#endif
#ifndef RADONDIALOGBOX_H
#define RADONDIALOGBOX_H
#include "radondialogbox.h"
#endif
#ifndef NOISEDIALGOBOX_H
#define NOISEDIALGOBOX_H
#include "NoiseDialogBox.h"
#endif
#ifndef LOWPASS_H
#define LOWPASS_H
#include "LowPass.h"
#endif
#ifndef GASSDIALOG_H
#define GASSDIALOG_H
#include "gassdialog.h"
#endif
#ifndef TWOTHRESHOLD_H
#define TWOTHRESHOLD_H
#include "TwoThreshold.h"
#endif
#ifndef CROTATEDIALGO_H
#define CROTATEDIALOG_H
#include "RotateDialog.h"
#endif
#ifndef CLOG_H
#define CLOG_H
#include "log.h"
#endif
#ifndef BMPAPI_H
#define BMPAPI_H
#endif
#include "extractiondialog.h"
#ifndef RRADON_H
#define RRADON_H
#include "radon.h"
#endif
#ifndef SUSAN_H
#define SUSAN_H
#include "susan.h"
#endif
#ifndef SUSANDLG_H
#define SUSAGDLG_H
#include "susandlg.h"
#endif
#ifndef DLGMORPHEROSION_H
#define DLGMORPHEROSION_H
#include "cDlgMorphErosion.h"
#endif
#ifndef DLGMORPHDILATION_H
#define DLGMORPHDILATION_H
#include "cDlgMorphDilation.h"
#endif
/*
#ifndef NEW_RADON_H
#define NEW_RADON_H
#include "NEW_RADON.H"
#endif
*/
#ifndef BROWSE_H
#define BROWSE_H
#include "Browse.h"
#endif
#ifndef CUTPIC_H
#define CUTPIC_H
#include "CutPic.h"
#endif
#ifndef FUTUERKNOWLEDGE_H
#define FUTUERKNOWLEDGE_H
#include "FutuerKnowledge.h"
#endif
class CLinjunjuanDoc : public CDocument
{
protected: // create from serialization only
CLinjunjuanDoc();
DECLARE_DYNCREATE(CLinjunjuanDoc)
// Attributes
public:
CJpgImage * Jpg;
Picture orgpic;
Picture dealpic;
Picture oldpic;
BOOL flagpic;
complex **cData;
int **Radonpic;
BOOL flagFourier;
BOOL flagRadon;
float step;
int cornernum;
int rhoMax;
int threshold;
float rate;
int flagchange;
BOOL flagsmall_big;
BOOL anotherflag;
//protected:
HDIB m_hDIB;
double m_aver;
CPalette* m_palDIB;
public:
Picture Deal() const
{
return dealpic;
}
Picture Org() const
{
return orgpic;
}
HDIB GetHDIB() const
{ return m_hDIB; }
CPalette* GetDocPalette() const
{ return m_palDIB; }
// Operations
public:
void InitDIBData();
public:
Picture History[100];
BOOL SaveHistory();
int Historystep;
int dealnum;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLinjunjuanDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CLinjunjuanDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CLinjunjuanDoc)
afx_msg void OnSobel();
afx_msg void OnLap();
afx_msg void OnFitItself();
afx_msg void OnNoclear();
afx_msg void OnFilterMed();
afx_msg void OnLlineDeal();
afx_msg void OnHistogramEqualization();
afx_msg void OnOstu();
afx_msg void OnFourier();
afx_msg void OnIfft();
afx_msg void OnHistogram();
afx_msg void OnFliterPart();
afx_msg void OnPrewitt();
afx_msg void OnRoberts();
afx_msg void OnRadon();
afx_msg void OnFileSaveAs();
afx_msg void OnNoise();
afx_msg void OnLowpass();
afx_msg void OnHighpass();
afx_msg void OnInvradon();
afx_msg void OnBigger();
afx_msg void OnSmaller();
afx_msg void OnViewReal();
afx_msg void OnThresholdTwo();
afx_msg void OnUpdateBack(CCmdUI* pCmdUI);
afx_msg void OnUpdateFoward(CCmdUI* pCmdUI);
afx_msg void OnBack();
afx_msg void OnFoward();
afx_msg void OnNoiseGass();
afx_msg void OnRotate90Closewise();
afx_msg void OnRotate90Noclockwise();
afx_msg void OnRotate180();
afx_msg void OnRotateFree();
afx_msg void OnRotateH();
afx_msg void OnRotateV();
afx_msg void OnLog();
afx_msg void OnLayer8();
afx_msg void OnSub();
afx_msg void OnProproSusan();
afx_msg void OnProproHof();
afx_msg void OnMorphErosion();
afx_msg void OnMorphDilation();
afx_msg void OnMorphOpen();
afx_msg void OnMorphClose();
afx_msg void OnMorphThining();
afx_msg void OnEdgeContour();
afx_msg void OnEdgeFill2();
afx_msg void OnEdgeFill();
afx_msg void OnMathAnd();
afx_msg void OnMathNot();
afx_msg void OnMathOr();
afx_msg void OnMathXor();
afx_msg void OnExtraDigimg();
afx_msg void OnProcess();
afx_msg void OnExtraFindport();
afx_msg void OnFindPoint1();
afx_msg void OnFindMoniPort();
afx_msg void OnCutReference();
afx_msg void OnRecognition();
afx_msg void OnFindpoint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LINJUNJUANDOC_H__474A624C_547D_11D5_BD50_5254AB10D0A6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -