资源简介
很详细的Canny算子代码,程序可以运行

代码片段和文件信息
// Canny.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Canny.h“
#include “MainFrm.h“
#include “CannyDoc.h“
#include “CannyView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCannyApp
BEGIN_MESSAGE_MAP(CCannyApp CWinApp)
//{{AFX_MSG_MAP(CCannyApp)
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()
/////////////////////////////////////////////////////////////////////////////
// CCannyApp construction
CCannyApp::CCannyApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCannyApp object
CCannyApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCannyApp initialization
BOOL CCannyApp::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(CCannyDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CCannyView));
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;
}
/////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 43788 2015-07-03 16:55 Canny\Canny.aps
文件 2255 2015-07-03 16:56 Canny\Canny.clw
文件 4191 2015-07-03 16:52 Canny\Canny.cpp
文件 4619 2015-07-03 17:05 Canny\Canny.dsp
文件 535 2015-07-03 16:52 Canny\Canny.dsw
文件 1345 2015-07-03 16:52 Canny\Canny.h
文件 50176 2015-07-03 17:05 Canny\Canny.ncb
文件 244 2015-07-03 17:05 Canny\Canny.plg
文件 11669 2015-07-03 16:55 Canny\Canny.rc
文件 1722 2015-07-03 16:52 Canny\CannyDoc.cpp
文件 1464 2015-07-03 16:52 Canny\CannyDoc.h
文件 9319 2015-07-03 17:03 Canny\CannyView.cpp
文件 2049 2015-07-03 17:03 Canny\CannyView.h
文件 122926 2015-07-03 17:03 Canny\Debug\Canny.exe
文件 316360 2015-07-03 17:03 Canny\Debug\Canny.ilk
文件 22981 2015-07-03 17:03 Canny\Debug\Canny.obj
文件 6121472 2015-07-03 16:55 Canny\Debug\Canny.pch
文件 336896 2015-07-03 17:03 Canny\Debug\Canny.pdb
文件 7260 2015-07-03 16:55 Canny\Debug\Canny.res
文件 14757 2015-07-03 16:55 Canny\Debug\CannyDoc.obj
文件 33107 2015-07-03 17:03 Canny\Debug\CannyView.obj
文件 20006 2015-07-03 16:55 Canny\Debug\MainFrm.obj
文件 109080 2015-07-03 16:55 Canny\Debug\StdAfx.obj
文件 246784 2015-07-03 17:05 Canny\Debug\vc60.idb
文件 397312 2015-07-03 17:03 Canny\Debug\vc60.pdb
文件 36492 2015-05-04 20:23 Canny\lena.jpg
文件 2506 2015-07-03 16:52 Canny\MainFrm.cpp
文件 1581 2015-07-03 16:52 Canny\MainFrm.h
文件 4287 2015-07-03 16:52 Canny\ReadMe.txt
文件 1078 2015-07-03 16:52 Canny\res\Canny.ico
............此处省略12个文件信息
- 上一篇:蓝牙4.0 协议栈 开源代码
- 下一篇:Fatfs R0.13b 版本官方源码
相关资源
- VC 获得文件属性 获取文件的创建时
- 读者写者问题(读者优先,写者优先
- 用VC 编写的仿QQ聊天室程序源代码
- 基于OpenCV的数字识别468815
- VC 游戏编程—附源代码
- 使用opencv去掉二值化图像中黑色面积
- IpHlpApi.h&IpHlpApi.lib
- vc 6.0开发的流程图编辑器
- VC 天空盒(skyBox)实现(附源代码)
- c MFC 画多边形
- VC 围棋源代码
- 用VC 编写的基于SNMP的路由器拓扑程序
- 清华大学郑莉C 语言程序设计课件
- ping 程序 C语言
- 操作系统实验综合设计【附代码】
- VC 编程实现活动主机扫描源代码
- vc 编写的基于TCP协议的客户/服务器
- opencv环境配置
- 树状导航菜单的制作
- VC工程转Qt工程文件的工具
- win10 64位下编译的opencv4.5.5库,opencv
- NVIDIAOpticalFlowSDK-79c6cee80a2df9a196f20afd6
- opencv_contrib-3.4.0.zip
- opencv2.4.9源码分析——SIFT
- 用两个摄像头实现,双目标定,双目
- opencv_traincascade训练分类器,手势识别
- opencv3.0交叉编译用parallel.cpp
- 基于opencv的图像识别识别图像中的色
- 基于openCV的识别特定颜色区域
- 基于OpenCV的分水岭算法实现
评论
共有 条评论