資源簡介
高斯濾波在圖像處理中具有很重要的作用,可以去除噪聲等等。作為入門者來說,這是一個很基礎的程序。

代碼片段和文件信息
//?FogRemove.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“FogRemove.h“
#include?“MainFrm.h“
#include?“FogRemoveDoc.h“
#include?“FogRemoveView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CFogRemoveApp
BEGIN_MESSAGE_MAP(CFogRemoveApp?CWinApp)
//{{AFX_MSG_MAP(CFogRemoveApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
ON_COMMAND(ID_FILE_OPEN?OnFileOpen)
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CFogRemoveApp?construction
CFogRemoveApp::CFogRemoveApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFogRemoveApp?object
CFogRemoveApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CFogRemoveApp?initialization
BOOL?CFogRemoveApp::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
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CFogRemoveDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CFogRemoveView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return?TRUE;
}
/////////////////////////////////////////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????103546??2003-12-04?12:34??gaosi\cximage.lib
?????文件??????30372??2007-01-05?15:20??gaosi\FogRemove.aps
?????文件???????3492??2007-01-05?19:06??gaosi\FogRemove.clw
?????文件???????4588??2006-10-31?11:24??gaosi\FogRemove.cpp
?????文件???????5104??2007-01-05?19:06??gaosi\FogRemove.dsp
?????文件????????543??2006-10-31?11:24??gaosi\FogRemove.dsw
?????文件???????1276??2006-10-31?11:24??gaosi\FogRemove.h
?????文件?????173056??2009-03-21?14:07??gaosi\FogRemove.ncb
?????文件???????2457??2008-10-14?23:18??gaosi\FogRemove.plg
?????文件??????13503??2006-11-01?17:48??gaosi\FogRemove.rc
?????文件???????7072??2007-01-05?18:46??gaosi\FogRemoveDOC.cpp
?????文件???????1733??2006-11-01?17:44??gaosi\FogRemoveDOC.h
?????文件???????3158??2006-10-31?11:40??gaosi\FogRemoveVIEW.cpp
?????文件???????2014??2006-10-31?11:24??gaosi\FogRemoveVIEW.h
?????文件???????8953??2007-01-11?18:04??gaosi\ImageEnhance.cpp
?????文件????????862??2006-11-01?14:29??gaosi\ImageEnhance.h
?????文件???????2510??2006-10-31?11:24??gaosi\MainFrm.cpp
?????文件???????1581??2006-10-31?11:24??gaosi\MainFrm.h
?????文件???????4383??2005-03-24?10:46??gaosi\ReadMe.txt
?????文件???????1291??2006-11-01?17:48??gaosi\resource.h
?????文件????????211??2006-10-31?11:24??gaosi\StdAfx.cpp
?????文件???????1128??2006-10-31?11:24??gaosi\StdAfx.h
?????文件???????2159??2006-10-31?11:24??gaosi\xfile.h
?????文件???????3289??2006-10-31?11:24??gaosi\ximadefs.h
?????文件??????19123??2006-10-31?11:24??gaosi\ximage.h
?????文件???????2624??2006-10-31?11:24??gaosi\xiofile.h
?????文件???????1730??2006-10-31?11:24??gaosi\xmemfile.h
?????文件????????179??2007-12-31?21:42??gaosi\『源碼天空』.url
?????文件???????1673??2008-01-09?21:51??gaosi\使用說明.txt
?????文件????????179??2007-12-31?21:43??gaosi\免費『商業源碼』.url
............此處省略14個文件信息
- 上一篇:MFCN42D.DLL
- 下一篇:最新版Zlib1.2.5 編譯好 支持vc6.0
評論
共有 條評論