distance

2024/4/14 20:28:42

基于邻域投票的噪声边缘抑制

前段时间做Contour Grouping比较纠结的一个问题是受噪声边缘的干扰太厉害。 这里说的噪声边缘指的是非目标的边缘,比如我现在在做交通图像,那么,出了车的轮廓,其他对于我来说都是噪声图像。在实际做的时候,遇到的主要…

Eagles 不朽经典《Hotel California》歌词翻译

Eagles 不朽经典《Hotel California》歌词翻译On a dark desert highway cool wind in my hairWarm smell of colitas rising up through the airUp ahead in the distance I saw a shimmering lightMy head grew heavy and my sight grew dimI had to stop for the nightThere…

poj_1789 Truck History

Truck History Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 12456 Accepted: 4713 题目链接:http://poj.org/problem?id1789 Description Advanced Cargo Movement, Ltd.uses trucks of different types. Some trucks are used for vegetab…

poj_1135 Domino Effect

Domino Effect Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5637 Accepted: 1425 题目链接:http://poj.org/problem?id1135 Description Did you know that you can use domino bones for otherthings besides playing Dominoes? Take a n…

基于图论的色谱指纹图谱谱峰的全局匹配

http://www.bioon.com/drug/herbmap/287924.shtml 【英文篇名】Plant-Wide Matching of Corresponding Chromatogram Peaks in Fingerprints Based on Graph Theory【作者】倪力军; 王国东; 郭佳; 张立国;【英文作者】Ni Lijun; Wang Guodong; Guo Jia; Zhang Liguo &#xff0…

视角不变形的动态纹理识别(Bag of systems)~

解读文献:View-invariant dynamic texture recognition using a bag of dynamical systems 目标:分类不同视角下的,动态纹理视频~ 用先线性动态系统的集合,来建模每个视频~ 其中线性动态系统来描述视频patch~ Bag of systems (BOS)表示方法…

POJ 1251 最小生成树prim算法

还是最小生成树prim算法&#xff0c;套用的浙大模板 #include <iostream>#define MAXN 28#define inf 10000typedef int elem_t;using namespace std;elem_t prim(int n,elem_t mat[MAXN][MAXN],int* pre){elem_t min[MAXN],ret0;int v[MAXN],i,j,k;for (i0;i<n;i)mi…

使用Matlab实现英文单词的形近词查找

引言 最近在背考博词汇,考博词汇是12000词左右. 短时间内去记忆这么多单词是很有挑战性的.我个人习惯用的方法是: 将陌生的长单词分成熟悉的小单词, 用小单词造句, 把生词的意义包含进去;多读一些这个生词的句子, 在语境中加深意义;通过一个与这个生词长的很相近的自己很熟悉的…

英语学习方法总论(中英文对照)

发信人: yilina (小麦), 信区: English 标 题: 英语学习方法总论&#xff08;中英文对照&#xff09; 发信站: BBS 同舟共济站 (Thu Aug 19 14:35:47 2004), 站内一、英语学习方法总论&#xff08;中英文对照&#xff09;方法就是方法,它最终无法取代刻苦的学习.第1部分 整体建…

《重庆森林》

重庆森林 Chong qing sen lin (1994) 把这部影片加入到你的IE收藏夹里 导 演&#xff1a; Kar Wai Wong 主 演&#xff1a; 林青霞 Brigitte Lin 梁朝伟 Tony Leung Chiu Wai 王菲 Faye Wong 金城武 Takeshi Kaneshiro 周嘉玲 Valerie Chow Chen Jinquan Guan Lina Huang Zhi…

神秘永远的《加州旅馆》

来源&#xff1a;http://blog.csdn.net/zhumi/archive/2004/07/15/42423.aspx 一 数日前与几位朋友聊起各自心目中最喜爱的歌&#xff0c;有人提到披头士&#xff08;Beatles&#xff09;的《昨日》&#xff08;Yesterday&#xff09;与《嘿&#xff0c;朱弟》&#xff08;Hey …

一个水母BBS上的SA的MATLAB程序

发信站: BBS 水木清华站 (Wed May 16 11:36:04 2001) 这是SA解决TSP问题的程序。 function out tsp(loc) % TSP Traveling salesman problem (TSP) using SA (simulated annealing). % TSP by itself will generate 20 cities within a unit cube and % then use SA to slove …

poj_1258 Agri-Net

Agri-Net Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 28121 Accepted: 11149 题目链接&#xff1a;http://poj.org/problem?id1258 Description Farmer John has been electedmayor of his town! One of his campaign promises was to bring internet…

模糊聚类算法(FCM)和硬聚类算法(HCM)的VB6.0实现及其应用

程序实现&#xff1a; 上面的公式看似复杂&#xff0c;其实我们关心的就是最后的5个计算步骤&#xff0c;这里说明一下&#xff0c;有的书上以隶属度矩阵的某一范数小于一定值作为收敛的条件&#xff0c;这也可&#xff0c;不过计算量稍微要大一点了。 程序采用VB6.0编制&#…

显著性轮廓提取、轮廓编组综述要看的内容(二)Stochastic Completion Fields学派

Stochastic Completion Fields学派 97年提出来后来好像没啥发展了。。。 David W. Jacobs 92 年从MIT博士毕业&#xff0c;师从Eric Grimson。现在是Maryland大学的A.P.。关注的问题是图像中目标的识别&#xff0c;知觉组织方面研究的大牛&#xff0c;做了很多知觉组织方面计…

初学Android,手势翻页效果(四十九)

下面是一个利用手势功能做的一个翻页效果上图实际是一个ViewFlipper容器&#xff0c;里面放了5张图片&#xff0c;从右向左划动&#xff0c;看下一张图片&#xff0c;从左向右划动&#xff0c;看上一张图片 同时在划动时播放动画(缩放和透明度的改变)&#xff0c;这样看起来更生…

Fun with MVC Objects(玩转 MVC 对象)

Objective 目标 Google Maps Javascript API V3 has introduced the implementation of MVC objects that allow map objects to store state and update their presentation automatically, which are awesome, but what can you do with them? Google Maps JavaScript AP…

Ogre Intermediate Tutorial 1 改进版

///以下是main.cpp #include "ExampleApplication.h" #include <deque>using namespace std; class MoveDemoListener : public ExampleFrameListener{public: MoveDemoListener(RenderWindow* win, Camera* cam, SceneNode *sn, Entity *ent, deque…

求三角形的外接圆和内切圆

三角形外接圆求法&#xff1a;&#xff1a;Point circumcircleofTriangle(PointSet[]) {double a,b,c,xa,xb,xc,ya,yb,yc,c1,c2;Point tem;a Distance(PointSet[0],PointSet[1]);b Distance(PointSet[0],PointSet[2]);c Distance(PointSet[2],PointSet[1]);r a *b *c/trian…

POJ 2421 图的最小生成树 prim算法 模板代码的利用

这题调试了很久&#xff0c;开始自己试图按照自己的理解实现prim算法&#xff0c;但是总是出错。后来参考了网上的算法模板&#xff0c;总算把此题解决。算法模板可以用&#xff0c;但不可以滥用&#xff0c;最好是理解使用的细节&#xff0c;代码库不在多&#xff0c;好用是关…

阿尔伯特·爱因斯坦 和 伯兰特·罗素 对人生的思考

我为何而生 ——伯兰特罗素自传前言   对爱情的渴望&#xff0c;对知识的追求&#xff0c;对人类苦难不可遏制的同情&#xff0c;是支配我一生的单纯而强烈的三种感情。这些感情如阵阵巨风&#xff0c;吹拂在我动荡不定的生涯中&#xff0c;有时甚至吹过深沉痛苦的海洋&#…

关于Http Live Streaming 的一点儿记录

此文合并到本人的文章 如何用nginxffmpeg实现苹果HLS协议 http://blog.csdn.net/deltatang/article/details/7931827 ------------------------------------------------------------------------------------------------------------------------------------------------…

poj-3258 River Hopscotch

题目链接&#xff1a;http://poj.org/problem?id3258 River HopscotchTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 3829 Accepted: 1649 Description Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully …

Extraction of Entities and Relations调研

Extraction of Entities and Relations调研&#xff0c;后面将推出基于Stanford Parser 的具体实现 Phrase Dependency Parsing • A lot of product features are phrases • Phrase dependency parsing extends traditional dependency parsing tophrase level …

poj 2420 A Star not a Tree?(贪心+求多边形费马点)

【题目大意】&#xff1a;找出一个点&#xff0c;使得到多边形每个点的距离和最小。输出最小距离和。 【解题思路】&#xff1a;求的是一个多边形的费马点。三边以上没有公式&#xff0c;我们可以使用随机化变步长贪心法来解这道题。 【随机化变步长贪心法】&#xff1a;随机选…

灰度图像双边滤波代码

function B bfltGray(A,w,sigma_d,sigma_r) % Pre-compute Gaussian distance weights. [X,Y] meshgrid(-w:w,-w:w); G exp(-(X.^2Y.^2)/(2*sigma_d^2));% Apply bilateral filter. dim size(A); B zeros(dim); for i 1:dim(1)for j 1:dim(2)%这里的处理方式采用批方式&…

计算机视觉中——流形学习

今日对于流形学习&#xff0c;不知如何下手才好~ 发现一个关于Seminar in Manifold and Subspace Learning课程网址 http://www.cse.buffalo.edu/~yunfu/course/CSE704FU_Spring2010.htm 系统安排了相关学习文献&#xff0c;觉得甚好~ 转载于此~ CSE 704 Seminar in Manifol…

HTML5渐变

准备&#xff1a; Safari中的 color-stop 语法&#xff1a;color-stop&#xff08;stop, color&#xff09; 参数&#xff1a;stop&#xff0c;值为百分比或0-1之间的一个十进制数。表示color的位置位于整个渐变路径的相对位置。color&#xff0c;表示在stop处出现的颜色。…

凸包加sort

已验证语法&#xff1a;Graham_scan(Point PointSet[],Point ch[],int n,int &len);参数&#xff1a;PointSet[]&#xff1a;输入的点集ch[]&#xff1a;输出的凸包上的点集&#xff0c;按照逆时针方向排列n&#xff1a;PointSet中的点的数目len&#xff1a;输出的凸包上的…

POJ1258 最小生成树prim算法

典型的prim算法 这类题目可以稍作变形&#xff0c;比如POJ2421 #include <iostream>#include <map>#define MAXN 102typedef long elem_t;using namespace std;elem_t prim(int n,elem_t mat[MAXN][MAXN]){elem_t closeEdge[MAXN],sum0,min;int i,j,k;for(i 0; i…

poj 2349 Arctic Network

Arctic Network Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 5764 Accepted: 2007 题目链接&#xff1a;http://poj.org/problem?id2349 Description The Department of NationalDefence (DND) wishes to connect several northern outposts by a wire…

poj_2485 Highways

Highways Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16037 Accepted: 7460 题目链接&#xff1a;http://poj.org/problem?id2485 Description The island nation of Flatopiais perfectly flat. Unfortunately, Flatopia has no public highways. So…

【转】77个优美句子+漂亮翻译

1 我的世界不允许你的消失,不管结局是否完美. No matter the ending is perfect or not, you cannot disappear from my world. 2 爱情是一个精心设计的谎言 Love is a carefully designed lie. 3 承诺常常很像蝴蝶,美丽的飞盘旋然后不见 Promises are often…

POJ2485 求最小生成树的最大边长度

此题关键要理解输出的定义 For each test case, you should output a line contains an integer, which is the length of the longest road to be built such that all the villages are connected, and this value is minimum.输出是最小生成树中最长边的长度 对prim算法稍作…

OpenCV 矩阵操作

GEMM 通用矩阵乘法 void cvGEMM( const CvArr* src1, const CvArr* src2, double alpha,const CvArr* src3, double beta, CvArr* dst, int tABC0 ); #define cvMatMulAdd( src1, src2, src3, dst ) cvGEMM( src1, src2, 1, src3, 1, dst, 0 ) #define cvMatMul( src1, src2,…

空间插值方法总结

Inverse Distance to a Power&#xff08;反距离加权插值法&#xff09; Kriging&#xff08;克里金插值法&#xff09;Minimum Curvature&#xff08;最小曲率&#xff09;Modified Shepards Method&#xff08;改进谢别德法&#xff09;Natural Neighbor&#xff08;自然邻点…

车牌识别及验证码识别的一般思路

全文分两部分&#xff0c;第一部分讲车牌识别及普通验证码这一类识别的普通方法&#xff0c;第二部分讲对类似QQ验证码&#xff0c;Gmail验证码这一类变态验证码的识别方法和思路。算法概述如下&#xff1a;一、车牌/验证码识别的普通方法车牌、验证码识别的普通方法为&#xf…

poj_2387 Til the Cows Come Home

Til the Cows Come Home Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 20550 Accepted: 6864 题目链接&#xff1a;http://poj.org/problem?id2387 Description Bessie is out in the field andwants to get back to the barn to get as much sleep as …

[转]Mapnik

转自:http://blog.csdn.net/mmtxcp/archive/2010/06/02/5638968.aspx 一篇Mapnik的介绍文档 一、 Mapnik 介绍 Mapnik 是一个开源的 Python/C 地图渲染引擎&#xff0c;他的功能是把数据形式的地图&#xff0c;包含一些地理对象&#xff0c;如地图、层、数据源、特征和地理几…

SA解决TSP问题的程序

发信人: lonelyu (小鱼儿◎大海的方向), 信区: AI标 题: Re: 谁有模拟退火的程序发信站: 饮水思源 (2002年01月21日21:46:45 星期一), 站内信件发信站: BBS 水木清华站 (Wed May 16 11:36:04 2001)这是SA解决TSP问题的程序。function out tsp(loc)% TSP Traveling salesman p…

poj_2075 Tangled in Cables

Tangled in Cables Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 4841 Accepted: 1947 题目连接&#xff1a;http://poj.org/problem?id2075 Description You are the owner of SmallCableCo and have purchased thefranchise rights for a small town.…

MD(manhattan distance) 和欧氏距离

MD(manhattan distance) 曼哈顿距离和欧式距离的比较&#xff1a; 欧氏距离是橡平方差异相加的开根方。 曼哈顿距离与欧氏距离&#xff1a;红 蓝和黄分别表示曼哈顿距离都拥有一样的长度12. 绿色表示欧式距离 6*1.4148.48的长度。 欧式距离也称为欧几里得距离。

爱情物语

Comes from: 中国英语学习论坛 Where there is great love, there are always miracles. 哪里有真爱存在&#xff0c;哪里就有奇迹。 Love is like a butterfly. It goes where it pleases and it pleases where it goes. 爱情就像一只蝴蝶&#xff0c;它喜欢飞到哪里&#x…

webservice axis一

http://u.download.csdn.net/source/1241241http://blog.csdn.net/happydaytx/archive/2007/05/08/1600318.aspxhttp://hi.baidu.com/zhong8880/blog/item/01290efa1d1f8812a8d311d9.html Axis的安装 应用Axis开发Web Services&#xff0c;你需要安装如下软件&#xff1a;1.J…

TWaver 3D for Flex 3.0发布

随着Stage3D技术的推广&#xff0c;为了进一步提升TWaver 3D产品的性能和渲染效果&#xff0c;TWaver提供了全新3.0版本&#xff0c;支持Stage3D&#xff0c;并且保持绝大部分接口不变化。对于3.0之前版本的用户&#xff0c;可以与相关的TWaver技术支持人员联系获得更新接口介绍…

Indexed Nearest Neighbour Search in PostGIS

原文出自&#xff1a;http://blog.opengeo.org/2011/09/28/indexed-nearest-neighbour-search-in-postgis/ An always popular question on the PostGIS users mailing list has been “how do I find the N nearest things to this point?”. To date, the answer has genera…

HC-SR04 超声波测距模块 51串口读取代码

HC-SR04 是最常见的用于单片机的超声波测距模块。 我拿到手后&#xff0c;研究了一番&#xff0c;改进了厂方提供的代码&#xff0c;重新整理成一个函数库。 如果最近你也在研究的话&#xff0c;可以参考一下。测距速度很快。调用也很方便&#xff0c;使用T0计数器。 并且采…