当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 下面是采用 CANNY 算子进行图像边缘检测的 C/C++ 源代码,在OPENCV BETA 4.0, VC6.0 环境下编译通过。
 

 

 ·dataguard - msn教程    »显示摘要«
    摘要:你说:很简单的 你说:特别是用了rman以后 catherine(在北京)说:现在怎么做 你说:先把standby的昨天晚上起来的那个数据库停了 catherine(在北京)说:ok 你说:停了? catherine(在北京)说:还没完,怎么这么慢 你说:shutdown immediate? catherine(在北京)说:是的 你说:还没停? 你说:不管他了,shutdow......
 ·设计模式学习笔记(5)    »显示摘要«
    摘要:18.command 19.bridge 18.command说明:command模式在java菜单中使用的很多,非常好的一种模式,大家也经常会使用到,下面的java代码非常清楚,我就不废话了。 command定义将来自客户端的请求传入一个对象,无需了解这个请求激活的 动作或有关接受这个请求的处理细节。 这是一种两台机器之间通讯联系性质的模式,类似传统过程语 言的 callback功能。 ......


边缘检测(Edge Detection)的源代码(需要OPENCV库的支持)

下面是采用 canny 算子进行图像边缘检测的 c/c++ 源代码,在opencv beta 4.0, vc6.0 环境下编译通过.关于opencv库的使用方法以及相关问题,请查阅下面的相关文章:

========= 【程序编程相关:经典之后的经典

http://forum.assuredigit.com/display_topic_threads.asp?forumid=11&topicid=3471 【推荐阅读:上海花旗软件这个公司怎样?

========= 【扩展信息:配置描述符(web.xml)DTD

程序开始

#ifdef _ch_

#pragma package

#endif

#ifndef _eic

#include "cv.h"

#include "highgui.h"

#endif

char wndname[] = "edge";

char tbarname[] = "threshold";

int edge_thresh = 1;

iplimage *image = 0, *cedge = 0, *gray = 0, *edge = 0;

// 定义跟踪条的 callback 函数

void on_trackbar(int h)

{

    cvsmooth( gray, edge, cv_blur, 3, 3, 0 );

    cvnot( gray, edge );


...   下一页
    摘要:peeking inside the box: attribute-oriented programming with java 1.5 in the previous article in this series, "peeking inside the box, part 1," i introduced the concepts of attribute-oriente......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE