資源簡介
本程序適用于一般高校數字圖像處理課程的簡單程序。用幾個簡單的功能,如圖像旋轉 線性變換 傅里葉變換 黑白顛倒。注:本程序只能打開bmp格式的圖片。內附源程序及經典lean.bmp原圖

代碼片段和文件信息
//?20060101008.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“20060101008.h“
#include?“MainFrm.h“
#include?“20060101008Doc.h“
#include?“20060101008View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?C20060101008App
BEGIN_MESSAGE_MAP(C20060101008App?CWinApp)
//{{AFX_MSG_MAP(C20060101008App)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}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()
/////////////////////////////////////////////////////////////////////////////
//?C20060101008App?construction
C20060101008App::C20060101008App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?C20060101008App?object
C20060101008App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?C20060101008App?initialization
BOOL?C20060101008App::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(C20060101008Doc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(C20060101008View));
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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1480??2009-04-10?11:16??數字圖像處理程序\20060101008\DIB.h
?????文件???????2512??2009-03-25?08:10??數字圖像處理程序\20060101008\MainFrm.cpp
?????文件???????1581??2009-03-25?08:10??數字圖像處理程序\20060101008\MainFrm.h
?????文件???????4431??2009-03-25?08:10??數字圖像處理程序\20060101008\ReadMe.txt
?????文件????????927??2009-04-10?11:12??數字圖像處理程序\20060101008\Resource.h
?????文件????????213??2009-03-25?08:10??數字圖像處理程序\20060101008\StdAfx.cpp
?????文件???????1054??2009-03-25?08:10??數字圖像處理程序\20060101008\StdAfx.h
?????文件???????2499??2009-04-15?08:19??數字圖像處理程序\20060101008\20060101008.clw
?????文件???????4299??2009-03-25?08:10??數字圖像處理程序\20060101008\20060101008.cpp
?????文件???????4779??2009-04-01?09:45??數字圖像處理程序\20060101008\20060101008.dsp
?????文件????????545??2009-03-25?08:10??數字圖像處理程序\20060101008\20060101008.dsw
?????文件???????1411??2009-03-25?08:10??數字圖像處理程序\20060101008\20060101008.h
?????文件??????82944??2009-03-25?08:09??數字圖像處理程序\20060101008\XinJiDIP.ncb
?????文件????????910??2009-04-15?08:19??數字圖像處理程序\20060101008\20060101008.plg
?????文件???????4234??2009-04-10?11:17??數字圖像處理程序\20060101008\20060101008VIEW.cpp
?????文件???????2065??2009-04-10?11:11??數字圖像處理程序\20060101008\20060101008VIEW.h
?????文件?????495616??2009-03-25?08:09??數字圖像處理程序\20060101008\XinJiDIP.opt
?????文件???????1565??2009-03-25?08:26??數字圖像處理程序\20060101008\20060101008DOC.h
?????文件??????16364??2009-04-10?11:29??數字圖像處理程序\20060101008\DIB.cpp
?????文件???????1942??2009-03-25?08:27??數字圖像處理程序\20060101008\20060101008DOC.cpp
?????文件??????66560??2009-04-15?08:19??數字圖像處理程序\20060101008\20060101008.ncb
?????文件???????8901??2009-03-31?10:18??數字圖像處理程序\20060101008\20060101008.vcproj
?????文件???????1409??2009-03-31?10:19??數字圖像處理程序\20060101008\20060101008.vcproj.MATH23.student.user
?????文件??????44476??2009-04-15?08:19??數字圖像處理程序\20060101008\20060101008.aps
?????文件??????12429??2009-04-15?08:19??數字圖像處理程序\20060101008\20060101008.rc
?????文件?????496640??2009-04-15?08:19??數字圖像處理程序\20060101008\20060101008.opt
?????文件???????7632??2009-04-15?08:19??數字圖像處理程序\20060101008\Debug\20060101008.res
?????文件?????279552??2009-04-15?08:19??數字圖像處理程序\20060101008\Debug\vc60.idb
?????文件?????462848??2009-04-10?11:29??數字圖像處理程序\20060101008\Debug\vc60.pdb
?????文件?????374540??2009-04-15?08:19??數字圖像處理程序\20060101008\Debug\20060101008.ilk
............此處省略38個文件信息
評論
共有 條評論