2007年12月9日

SAD匹配产生致密的深度图

摘要: 今晚突然想写一个matlab的,基于SAD的区域法立体匹配方法。下面以并列出matlab和c++版本的代码及实验结果。MATLAB版本:有个地方36~42行应该还能优化,只是我没找到相应的函数,这个地方运行很慢 1%function SADMatch 2clear,clc 3tic 4%im1=imread('Test_left.jpg'); 5%im2=imread('Test_right.j... 阅读全文

posted @ 2007-12-09 23:58 cutepig 阅读(3653) 评论(9) 推荐(0) 编辑

find whether a given string is formed by the

摘要: 1/**//*Design an algorithm to find whether a given string is formed by the 2interleaving of two given strings or not. s1= aabccabc s2= dbbabc s3= aabdbbccababcc 3Given s1,s2,s3 design an efficien... 阅读全文

posted @ 2007-12-09 19:12 cutepig 阅读(339) 评论(0) 推荐(0) 编辑

导航