一直找不到opencv stereo matching的根据和原理出处,下面这个文章贴了个链接,有时间看看:
Basically OpenCV
provides 2 methods to calculate a dense disparity
map:
cvFindStereoCorrespondenceBM: Fast (can
proce...
分类:
编程语言 时间:
2015-04-26 12:26:24
阅读次数:
1812
http://acm.hdu.edu.cn/showproblem.php?pid=1012简单套公式# include double Factorial(double num){ if(num == 0 || num == 1) return 1; return Factorial(num - ....
分类:
其他好文 时间:
2015-04-26 10:42:31
阅读次数:
131
越来越明白了一个道理:你写不出代码的原因只有一个,那就是你没有彻底理解这个算法的思想!!
以前写过最小生成树,但是,水了几道题后,过了一段时间,就会忘却,一点也写不出来了。也许原因只有一个,那就是我没有彻底理解这两种算法。
主题:
其实,求最小生成树有两个要点,一个是权值最小,还有一个就是这个图必须是树。而Prime和Kruskal的不同之处在于两者选择的变量不同,Prime选择的是始终保持...
分类:
编程语言 时间:
2015-04-26 09:23:26
阅读次数:
186
Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7)...
分类:
其他好文 时间:
2015-04-24 12:29:58
阅读次数:
166
描述I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.A,B must be positive.输入The first line of...
分类:
其他好文 时间:
2015-04-24 00:55:13
阅读次数:
128
Calculate the Function
Time Limit: 2 Seconds
Memory Limit: 65536 KB
You are given a list of numbers A1 A2 ..
AN and M queries. For the i-th query:
The query has two parameters L...
分类:
其他好文 时间:
2015-04-23 17:39:54
阅读次数:
185
点击打开杭电1042
Problem Description
Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!
Input
One N in one line, process to the end of file.
Output
For each N, output N! i...
分类:
其他好文 时间:
2015-04-23 15:50:21
阅读次数:
239
效果如图
这是一个非常简略的计算器。。。。
放上代码
class.h
class list
{
public:
list(){ a = 1; b = 1; e = '+'; }
list(double x, CString p, double y) :a(x), e(p), b(y){}
double calculate(void);
private:
double a, ...
分类:
其他好文 时间:
2015-04-23 00:07:33
阅读次数:
153
Sum of Consecutive Prime NumbersTime Limit:1000MSMemory Limit:65536KTotal Submissions:20560Accepted:11243DescriptionSome positive integers can be repr...
分类:
其他好文 时间:
2015-04-22 23:50:54
阅读次数:
130
Problem Description
A number sequence is defined as follows:
f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.
Given A, B, and n, you are to calculate the value of f(n).
I...
分类:
其他好文 时间:
2015-04-22 14:01:08
阅读次数:
145