-
大小: 1.84MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-09-27
- 語言: C/C++
- 標(biāo)簽:
資源簡介
基于MFC界面設(shè)計的圖像中值、均值濾波處理,實現(xiàn)了圖像的打開及其修改再現(xiàn)

代碼片段和文件信息
//?HistDemoA1.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“HistDemoA1.h“
#include?“HistDemoA1Dlg.h“
#include?“ImageWnd.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CHistDemoA1App
BEGIN_MESSAGE_MAP(CHistDemoA1App?CWinApp)
//{{AFX_MSG_MAP(CHistDemoA1App)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CHistDemoA1App?construction
CHistDemoA1App::CHistDemoA1App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHistDemoA1App?object
CHistDemoA1App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CHistDemoA1App?initialization
BOOL?CHistDemoA1App::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CHistDemoA1Dlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????35908??2011-05-09?14:21??HistDemoA1\HistDemoA1.aps
?????文件???????5460??2011-05-09?14:21??HistDemoA1\HistDemoA1.rc
?????文件??????50688??2011-05-11?11:30??HistDemoA1\HistDemoA1.opt
?????文件??????10464??2011-05-11?11:30??HistDemoA1\HistDemoA1Dlg.cpp
?????文件???????1308??2011-05-11?11:30??HistDemoA1\HistDemoA1.clw
?????文件???????3651??2011-05-04?20:55??HistDemoA1\ReadMe.txt
?????文件???????1368??2011-05-04?20:55??HistDemoA1\HistDemoA1.h
?????文件???????1900??2011-05-09?20:27??HistDemoA1\HistDemoA1Dlg.h
?????文件???????1054??2011-05-04?20:55??HistDemoA1\StdAfx.h
?????文件????????212??2011-05-04?20:55??HistDemoA1\StdAfx.cpp
?????文件????????402??2011-05-04?20:55??HistDemoA1\res\HistDemoA1.rc2
?????文件???????1078??2011-05-04?20:55??HistDemoA1\res\HistDemoA1.ico
?????文件????????528??2011-05-04?20:55??HistDemoA1\HistDemoA1.dsw
?????文件??????66560??2011-05-11?11:30??HistDemoA1\HistDemoA1.ncb
?????文件?????214016??2011-05-11?11:20??HistDemoA1\Debug\vc60.idb
?????文件?????364544??2011-05-11?11:18??HistDemoA1\Debug\vc60.pdb
?????文件???????2700??2011-05-09?14:21??HistDemoA1\Debug\HistDemoA1.res
?????文件????5498940??2011-05-04?21:21??HistDemoA1\Debug\HistDemoA1.pch
?????文件?????105756??2011-05-04?21:21??HistDemoA1\Debug\StdAfx.obj
?????文件?????114788??2011-05-11?11:18??HistDemoA1\Debug\HistDemoA1.exe
?????文件?????410624??2011-05-11?11:18??HistDemoA1\Debug\HistDemoA1.pdb
?????文件??????24366??2011-05-09?20:27??HistDemoA1\Debug\HistDemoA1.obj
?????文件??????18457??2011-05-09?20:27??HistDemoA1\Debug\ImageWnd.obj
?????文件?????353212??2011-05-11?11:18??HistDemoA1\Debug\HistDemoA1.ilk
?????文件??????43489??2011-05-11?11:18??HistDemoA1\Debug\HistDemoA1Dlg.obj
?????文件???????1078??2011-05-04?21:15??HistDemoA1\ImageWnd.h
?????文件???????1185??2011-05-11?11:18??HistDemoA1\HistDemoA1.plg
?????文件???????4502??2011-05-04?21:44??HistDemoA1\HistDemoA1.dsp
?????文件???????4071??2011-05-06?21:28??HistDemoA1\ImageWnd.cpp
?????文件???????2140??2011-05-06?21:28??HistDemoA1\HistDemoA1.cpp
............此處省略7個文件信息
評論
共有 條評論