资源简介
采用VC及opencv实现图像的局部放大功能,获取鼠标的单击相应以及鼠标的移动信息,进行放大功能的实现
代码片段和文件信息
// opencv.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “opencv.h“
#include “opencvDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COpencvApp
BEGIN_MESSAGE_MAP(COpencvApp CWinApp)
//{{AFX_MSG_MAP(COpencvApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// COpencvApp construction
COpencvApp::COpencvApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only COpencvApp object
COpencvApp theApp;
/////////////////////////////////////////////////////////////////////////////
// COpencvApp initialization
BOOL COpencvApp::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
COpencvDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 36298 2010-08-30 18:30 opencv\cake.gif
文件 122949 2010-10-05 07:51 opencv\Debug\opencv.exe
文件 244012 2010-10-05 07:51 opencv\Debug\opencv.ilk
文件 13993 2010-10-05 01:16 opencv\Debug\opencv.obj
文件 6182480 2010-10-03 23:00 opencv\Debug\opencv.pch
文件 410624 2010-10-05 07:51 opencv\Debug\opencv.pdb
文件 12020 2010-10-05 07:51 opencv\Debug\opencv.res
文件 42831 2010-10-05 01:31 opencv\Debug\opencvDlg.obj
文件 109115 2010-10-03 23:00 opencv\Debug\StdAfx.obj
文件 238592 2010-10-05 13:28 opencv\Debug\vc60.idb
文件 405504 2010-10-05 01:31 opencv\Debug\vc60.pdb
文件 45344 2010-10-05 07:51 opencv\opencv.aps
文件 1344 2010-10-05 15:56 opencv\opencv.clw
文件 2063 2010-10-02 22:15 opencv\opencv.cpp
文件 4306 2010-10-04 00:09 opencv\opencv.dsp
文件 537 2010-10-02 22:15 opencv\opencv.dsw
文件 1324 2010-10-02 22:15 opencv\opencv.h
文件 58368 2010-10-05 16:02 opencv\opencv.ncb
文件 54784 2010-10-05 16:02 opencv\opencv.opt
文件 886 2010-10-05 07:51 opencv\opencv.plg
文件 6094 2010-10-05 07:51 opencv\opencv.rc
文件 9719 2010-10-05 01:31 opencv\opencvDlg.cpp
文件 1836 2010-10-05 01:15 opencv\opencvDlg.h
文件 3579 2010-10-02 22:15 opencv\ReadMe.txt
文件 9270 2010-10-02 23:59 opencv\res\cake.BMP
文件 1078 2010-10-02 22:15 opencv\res\opencv.ico
文件 398 2010-10-02 22:15 opencv\res\opencv.rc2
文件 1004 2010-10-03 23:50 opencv\resource.h
文件 208 2010-10-02 22:15 opencv\StdAfx.cpp
文件 1384 2010-10-03 23:00 opencv\StdAfx.h
............此处省略6个文件信息
- 上一篇:购物系统设计
- 下一篇:网络安全基础应用与标准第4版课件
相关资源
- Opencv静态手势识别
- 双边滤波opencv实现
- 图像的平均亮度
- Opencv绘制物体轮廓,定位主要物件坐
-
OpenCV生成xm
l分类器文件 - Linux下QT及OpenCV搭建
- 张正友相机标定(OpenCV实现)223402
- Adaboost人头部检测 opencv vc
- OpenCv+Ocr 图片文字识别源码
- 于老师的人脸识别VS2015工程
- opencv相机检校
- 车型识别系统vc源码opencv
- opencv依靠颜色识别和跟踪物体
- OpenCV的PCA人脸识别
- openCV+qt视频传输
- OpenCV 现实高斯金字塔的源码,非常经
- opencv运动目标检测与跟踪源代码
- labview与Opencv 人眼识别
- opencv 将两幅等宽图像拼接在一起
- 图像分类代码
- OpenCV 1.0.0 patch for ffmpeg errors
- 车辆分类检测正负样本共计1000张
- 使用Visual Studio+OpenCV进行的Susan算子边
- 跟踪特征点并画AR物体
- 别踩白块 毕业论文
- 支持OpenCV3.2的opencv_ffmpeg.7z
- openCVSharp Unity3d
- 彩色图像的SVM分割,Opencv实现
- OpenCV2.31库
- Delphi的OpenCV头文件和
评论
共有 条评论