91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 49.73MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-17
  • 語言: C/C++
  • 標簽: MFC????OpenCV????Mat??

資源簡介

MFC OpenCV 顯示圖像,VS2013 寫的,不用添加CvvImage類,用的是VS2013 + OPENCV2.4.9 , 其他版本類似,界面能顯示打開圖片的路徑,同時有灰度直方圖均衡化和中值濾波的代碼,網上其他程序要不是用vc6.0寫,太老了,有的還要加已經被淘汰的CVVimage類。

資源截圖

代碼片段和文件信息


//?ImageProcess.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“ImageProcess.h“
#include?“ImageProcessDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif


//?CImageProcessApp

BEGIN_MESSAGE_MAP(CImageProcessApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()


//?CImageProcessApp?construction

CImageProcessApp::CImageProcessApp()
{
//?support?Restart?Manager
m_dwRestartManagerSupportFlags?=?AFX_RESTART_MANAGER_SUPPORT_RESTART;

//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}


//?The?one?and?only?CImageProcessApp?object

CImageProcessApp?theApp;


//?CImageProcessApp?initialization

BOOL?CImageProcessApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?Set?this?to?include?all?the?common?control?classes?you?want?to?use
//?in?your?application.
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();


AfxEnableControlContainer();

//?Create?the?shell?manager?in?case?the?dialog?contains
//?any?shell?tree?view?or?shell?list?view?controls.
CShellManager?*pShellManager?=?new?CShellManager;

//?Activate?“Windows?Native“?visual?manager?for?enabling?themes?in?MFC?controls
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));

//?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
//?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“));

CImageProcessDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();

?????if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
else?if?(nResponse?==?-1)
{
TRACE(traceAppMsg?0?“Warning:?dialog?creation?failed?so?application?is?terminating?unexpectedly.\n“);
TRACE(traceAppMsg?0?“Warning:?if?you?are?using?MFC?controls?on?the?dialog?you?cannot?#define?_AFX_NO_MFC_CONTROLS_IN_DIALOGS.\n“);
}

//?Delete?the?shell?manager?created?above.
if?(pShellManager?!=?NULL)
{
delete?pShellManager;
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-10-24?20:30??ImageProcess\
?????目錄???????????0??2017-10-24?20:27??ImageProcess\Debug\
?????文件??????243200??2017-10-24?20:27??ImageProcess\Debug\ImageProcess.exe
?????文件?????1367424??2017-10-24?20:27??ImageProcess\Debug\ImageProcess.ilk
?????文件?????9826304??2017-10-24?20:27??ImageProcess\Debug\ImageProcess.pdb
?????目錄???????????0??2017-10-24?20:26??ImageProcess\ImageProcess\
?????目錄???????????0??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\
?????文件????????3864??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.log
?????文件???????44766??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.obj
?????文件????73400320??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.pch
?????文件???????69632??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.res
?????目錄???????????0??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\
?????文件??????361272??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\CL.read.1.tlog
?????文件????????9816??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\CL.write.1.tlog
?????文件?????????173??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\ImageProcess.lastbuildstate
?????文件????????9650??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\cl.command.1.tlog
?????文件???????14006??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\link.command.1.tlog
?????文件???????40498??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\link.read.1.tlog
?????文件????????4018??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\link.write.1.tlog
?????文件????????2874??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\rc.command.1.tlog
?????文件???????12602??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\rc.read.1.tlog
?????文件????????1202??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcess.tlog\rc.write.1.tlog
?????文件??????275683??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\ImageProcessDlg.obj
?????文件?????1254197??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\stdafx.obj
?????文件?????2878464??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\vc120.idb
?????文件?????8605696??2017-10-24?20:27??ImageProcess\ImageProcess\Debug\vc120.pdb
?????文件??????108700??2017-07-25?19:59??ImageProcess\ImageProcess\ImageProcess.aps
?????文件????????2880??2017-07-14?14:36??ImageProcess\ImageProcess\ImageProcess.cpp
?????文件?????????541??2017-07-14?14:33??ImageProcess\ImageProcess\ImageProcess.h
?????文件???????11190??2017-07-25?19:59??ImageProcess\ImageProcess\ImageProcess.rc
?????文件????????6184??2017-07-14?15:10??ImageProcess\ImageProcess\ImageProcess.vcxproj
............此處省略15個文件信息

評論

共有 條評論