资源简介
很详细的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 版本官方源码
相关资源
- 双目已知图像坐标求空间坐标opencv
- h264+ffmpeg+opencv开发手册
- opencvjs编译后的文件
- OpenCV图像处理教程 - 贾志刚 课程配套
- boostdesc vgg_generated.zip
- 机器视觉标定板选型表-凯林博
- opencv源程序
- 全景拼接_多张图像拼接(stitching_de
- protobuf-cpp-3.1.0.tar.gz 配置文件
- 图像特征点提取与匹配
- opencv获取图像像素值
- 动作识别 Hu距 SVM opencv2.4.9 VS2013
- createsamples.exe和haartraining.exe及所需d
- opencv车牌识别系统可直接运行
- 基于opencv与yolo的目标识别案例
- svm颜色分类
- QT OPENCV车牌识别 识别结果输出到Tex
- opencv3.2交叉编译移植笔记
- OpenCV人脸识别290071
- openCV库文件卷3
- opencv运动目标跟踪
- opencv基于颜色直方图进行模板图像匹
- 双目标定以及双目测距程序.rar
- OpenCV插件UE4
- opencv_world420.dll
- OpenCV 4.2.0 Visual Studio 2017 32位 版本
- OpenCV实现的图像2D转3D Image-2D-to-3D.ra
- 一幅图片中画两个矩形
- VS2015编译好的opencv3.4.1+contrib3.4.1
- 基于opencv的双目相机标定代码
评论
共有 条评论