📄 imagelabdoc.h
字号:
// ImageLABDoc.h : interface of the CImageLABDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_IMAGELABDOC_H__A5C85A0D_0580_11D3_B6E5_5254AB111C09__INCLUDED_)
#define AFX_IMAGELABDOC_H__A5C85A0D_0580_11D3_B6E5_5254AB111C09__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CImageLABView;
class CImageLABDoc : public CDocument
{
protected: // create from serialization only
CImageLABDoc();
DECLARE_DYNCREATE(CImageLABDoc)
// Attributes
public:
CAllImage Image, SmallImage;
CString ImageFileName, ImageName;
CString ImageDesFileName;
DWORD Channel,temp;
CPoint MetalLinePt[256];
int LineNum;
BOOL MetalLineGeted;
// Operations
public:
CImageLABView *m_pView;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImageLABDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
void DoNeedMaskGrayProcess(eProcessType type);
void DoGrayProcess(eProcessType type);
void DoBinaryProcess(eProcessType type);
void DoMorphProcess(int type, BOOL IsBinaryImage = true);
virtual ~CImageLABDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CImageLABDoc)
afx_msg void OnCcwrotate();
afx_msg void OnCwrotate();
afx_msg void OnHorflip();
afx_msg void OnVertflip();
afx_msg void OnShowbluecomponent();
afx_msg void OnUpdateShowbluecomponent(CCmdUI* pCmdUI);
afx_msg void OnShowgreencomponent();
afx_msg void OnUpdateShowgreencomponent(CCmdUI* pCmdUI);
afx_msg void OnShowhuecomponent();
afx_msg void OnUpdateShowhuecomponent(CCmdUI* pCmdUI);
afx_msg void OnShowintcomponent();
afx_msg void OnUpdateShowintcomponent(CCmdUI* pCmdUI);
afx_msg void OnShowredcomponent();
afx_msg void OnUpdateShowredcomponent(CCmdUI* pCmdUI);
afx_msg void OnShowrgbimage();
afx_msg void OnUpdateShowrgbimage(CCmdUI* pCmdUI);
afx_msg void OnShowsatcomponent();
afx_msg void OnUpdateShowsatcomponent(CCmdUI* pCmdUI);
afx_msg void OnInverseimage();
afx_msg void OnImageinfo();
afx_msg void OnYclSharpenSobel();
afx_msg void OnEditUndo();
afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
afx_msg void OnYclSharpenPrewitt();
afx_msg void OnYclSharpenRoberts();
afx_msg void OnYclSegmentManualbinary();
afx_msg void OnYclEnhancementLaplacian();
afx_msg void OnYclEnhancementWallis();
afx_msg void OnYclSmoothingMean();
afx_msg void OnYclSmoothingNonrmiddle();
afx_msg void OnYclSmoothingRmiddle();
afx_msg void OnYclSmoothingSusan();
afx_msg void OnYclSmoothingFastmiddle();
afx_msg void OnYclEnhancementLinear();
afx_msg void OnYclEnhancementNonlinear();
afx_msg void OnYclEnhancementHistogram();
afx_msg void OnEditUndoall();
afx_msg void OnUpdateEditUndoall(CCmdUI* pCmdUI);
afx_msg void OnYclSegmentEdgeSusannormal();
afx_msg void OnYclSegmentPrincipleNormal();
afx_msg void OnYclDescriptionBinaryhough();
afx_msg void OnYclDescriptionBinaryradon();
afx_msg void OnImageShowhistogram();
afx_msg void OnUpdate8BitImage(CCmdUI* pCmdUI);
afx_msg void OnYclMorphologyClosing();
afx_msg void OnYclMorphologyDilation();
afx_msg void OnYclMorphologyErosion();
afx_msg void OnYclMorphologyOpening();
afx_msg void OnImageShowfftmagniyude();
afx_msg void OnYclSegmentRoinvaroperator();
afx_msg void OnYclSharpenSobelAngle();
afx_msg void OnYclDescriptionEdgeorentionRoi();
afx_msg void OnYclDescriptionBinaryArealabel();
afx_msg void OnConverttograyimage();
afx_msg void OnUpdateConverttograyimage(CCmdUI* pCmdUI);
afx_msg void OnImageShowpyramidimage();
afx_msg void OnYclEnhancementGaussring();
afx_msg void OnYclSmoothingGaussblur();
afx_msg void OnYclSegmentEdgeMarrhildreth();
afx_msg void OnYclSegmentThinHiliditch();
afx_msg void OnYclSegmentThinSomenew();
afx_msg void OnYclSegmentThinZhangsuen();
afx_msg void OnYclBinaryEdge();
afx_msg void OnImageShowmosaicimage();
afx_msg void OnYclDescriptionGrayDilation();
afx_msg void OnYclDescriptionGrayErosion();
afx_msg void OnYclDescriptionGrayClosing();
afx_msg void OnYclDescriptionGrayOpening();
afx_msg void OnYclSegmentAutobinary();
afx_msg void OnJgimageRadon();
afx_msg void OnUpdateJgimageRadon(CCmdUI* pCmdUI);
afx_msg void OnYclSegmentAutobinary1();
afx_msg void OnYclSegmentAutobinary2();
afx_msg void OnImageShowhistogram2();
afx_msg void OnYclSegmentEdgeCanny();
afx_msg void OnYclSegmentAutobinary3();
afx_msg void OnYclSegmentEdgeSpatialZernikemoment();
afx_msg void OnFileSaveAs();
afx_msg void OnFileSave();
afx_msg void OnYclEnhancementAutolevels();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMAGELABDOC_H__A5C85A0D_0580_11D3_B6E5_5254AB111C09__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -