码迷,mamicode.com
首页 >  
搜索关键字:edge    ( 2375个结果
OpenCV Tutorials —— Laplace Operator
发掘图像边界 —— 一阶导数顶点不好求,可用二阶导数过零点来代替 Getting the first derivative of the intensity, we observed that an edge is characterized by a maximum, as it can be s...
分类:其他好文   时间:2014-11-18 23:55:21    阅读次数:286
OpenCV Tutorials —— Adding borders to your images
扩展图像边界: BORDER_CONSTANT: Pad the image with a constant value (i.e. black or BORDER_REPLICATE: The row or column at the very edge of the original is re...
分类:其他好文   时间:2014-11-18 23:44:20    阅读次数:338
通信技术1G-4G
通信技术:1G 模拟制式 只能进行语音通话.2G GSM, CDMA 收发短信和邮件.2.5G GPRS, EDGE 访问wap网络数据.(图片, 壁纸, 文字信息) 3G WCDMA(联通), CDMA2000(电信), TD-SCDMA(移动) 发微博, 查看高清图片, 小电影. 3.5G H....
分类:其他好文   时间:2014-11-17 14:00:33    阅读次数:154
图像处理之Canny边缘检测
带你一步一步剖析经典图像边缘检测算法Canny Edge Detection,从高斯模糊到 梯度计算、边缘幅值与角度计算、非最大信号压制、双阈值选取边缘、边缘连接到 结果输出,完整代码实现。...
分类:其他好文   时间:2014-11-16 17:18:28    阅读次数:321
HDU 4405
简单的概率DP,求期望,逆推更好。#include #include #include #include #define N 100005using namespace std;double p[N];struct e{ int u,v; int next;}edge[1010];int head[...
分类:其他好文   时间:2014-11-16 10:41:07    阅读次数:166
【译】Why JavaScript Is and Will Continue to Be the First Choice of Programmers
The software industry is constantly evolving. Many languages that were cutting edge just a few years ago either look outdated or have been made completely redundant today. Today, new languages are emerging with surprising frequency to meet the changing ne...
分类:编程语言   时间:2014-11-15 00:16:57    阅读次数:246
matlab 图像常用函数
Cannyfunction [ canny ] = canny( rgb )temp=rgb2gray(rgb);canny=edge(temp,'canny');end灰度temp=rgb2gray(rgb);播放视频clear allsource = VideoReader('d:\v\\bus...
分类:其他好文   时间:2014-11-11 12:30:23    阅读次数:265
OpenGL GL_EDGE_FLAG、GL_POLYGON_MODE、glPolygonMode组合使用将凹多边形切割成凸多边形绘制
1、虽然很多显卡已经底层支持凹多边形,但是仍然了解凸多边形组合成凹多边形 2、先保存原先的边角标志:开始绘制图多边形,因为是由两个凸多边形组合成一个凹多边形,所以第一个凸多边形的最后一条边留缺口,接着的凸多边形的开始边留缺口,这样子就能组合成凹多边形。原理:glEdgeFlag(GL_FALSE);标记从该顶点出发的边为非边界。这样子绘制的时候,从该顶点出发的线段不会绘制,只会绘制到达该顶点的边...
分类:其他好文   时间:2014-11-09 18:09:05    阅读次数:223
Save your cat (Aizu 2224 并查集)
题意:有N个木桩M个栅栏,栅栏连接木桩,现在这些栅栏围成的封闭空间里有至少一只猫,要求破环若干个栅栏救出猫,问破环栅栏的最小长度。 思路:并查集,我也是参考了别人的思想,首先将边存在结构体edge里面,按照边长从大到小排序,然后遍历M条边,当加入某条边时,若两个端点的father值不同,则修改father[x],添加到同一个集合里;设想当加人某一条边时,它的两个端点的father值相同,则加入这条边将形成一个封闭空间(题目中说栅栏不会相交错),那么要打破这个封闭空间就是将这条边破环就行了。 Descr...
分类:其他好文   时间:2014-11-09 15:22:54    阅读次数:190
Poj1330Nearest Common Ancestors LCA
题意给一颗树,再给一个查询两点之间的最近公共祖先。#include#include#include#include#includeusing namespace std;const int maxn = 111111;struct edge{ int to; int next;}e[maxn ...
分类:其他好文   时间:2014-11-08 16:42:57    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!