資源簡介
關(guān)于數(shù)字圖像的峰值信噪比的計算程序,相當(dāng)好用。

代碼片段和文件信息
//?CalBMPpsnr.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CalBMPpsnr.h“
#include?“CalBMPpsnrDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCalBMPpsnrApp
BEGIN_MESSAGE_MAP(CCalBMPpsnrApp?CWinApp)
//{{AFX_MSG_MAP(CCalBMPpsnrApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CCalBMPpsnrApp?construction
CCalBMPpsnrApp::CCalBMPpsnrApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCalBMPpsnrApp?object
CCalBMPpsnrApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCalBMPpsnrApp?initialization
BOOL?CCalBMPpsnrApp::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
CCalBMPpsnrDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????35828??2010-09-03?16:42??CalBMPpsnr\CalBMPpsnr.aps
?????文件???????1392??2010-09-03?17:14??CalBMPpsnr\CalBMPpsnr.clw
?????文件???????2119??2010-09-03?14:20??CalBMPpsnr\CalBMPpsnr.cpp
?????文件???????4150??2010-09-03?14:20??CalBMPpsnr\CalBMPpsnr.dsp
?????文件????????543??2010-09-03?14:20??CalBMPpsnr\CalBMPpsnr.dsw
?????文件???????1368??2010-09-03?14:20??CalBMPpsnr\CalBMPpsnr.h
?????文件??????50176??2010-09-03?17:14??CalBMPpsnr\CalBMPpsnr.ncb
?????文件??????55808??2010-09-03?17:14??CalBMPpsnr\CalBMPpsnr.opt
?????文件????????616??2010-09-03?17:05??CalBMPpsnr\CalBMPpsnr.plg
?????文件???????5705??2010-09-03?16:42??CalBMPpsnr\CalBMPpsnr.rc
?????文件???????9354??2010-09-03?17:05??CalBMPpsnr\CalBMPpsnrDlg.cpp
?????文件???????1854??2010-09-03?15:46??CalBMPpsnr\CalBMPpsnrDlg.h
?????文件??????53302??2010-09-03?17:05??CalBMPpsnr\Debug\CalBMPpsnr.exe
?????文件?????224384??2010-09-03?17:05??CalBMPpsnr\Debug\CalBMPpsnr.ilk
?????文件?????218235??2010-09-03?15:46??CalBMPpsnr\Debug\CalBMPpsnr.obj
?????文件????5240584??2010-09-03?14:20??CalBMPpsnr\Debug\CalBMPpsnr.pch
?????文件???15399362??2010-09-03?15:50??CalBMPpsnr\Debug\CalBMPpsnr.pchi
?????文件?????590848??2010-09-03?17:05??CalBMPpsnr\Debug\CalBMPpsnr.pdb
?????文件???????2764??2010-09-03?16:42??CalBMPpsnr\Debug\CalBMPpsnr.res
?????文件?????247590??2010-09-03?17:05??CalBMPpsnr\Debug\CalBMPpsnrDlg.obj
?????文件???????9011??2010-09-03?14:20??CalBMPpsnr\Debug\StdAfx.obj
?????文件?????214016??2010-09-03?17:05??CalBMPpsnr\Debug\vc60.idb
?????文件??????77824??2010-09-03?17:05??CalBMPpsnr\Debug\vc60.pdb
?????目錄??????????0??2010-09-03?16:42??CalBMPpsnr\Debug
?????文件???????3651??2010-09-03?14:20??CalBMPpsnr\ReadMe.txt
?????文件???????1078??2010-09-03?14:20??CalBMPpsnr\res\CalBMPpsnr.ico
?????文件????????402??2010-09-03?14:20??CalBMPpsnr\res\CalBMPpsnr.rc2
?????目錄??????????0??2010-09-03?14:20??CalBMPpsnr\res
?????文件????????872??2010-09-03?14:57??CalBMPpsnr\resource.h
?????文件????????212??2010-09-03?14:20??CalBMPpsnr\StdAfx.cpp
............此處省略5個文件信息
評論
共有 條評論