资源简介
三个基础性的立体匹配算法,直接下载下来就可以运行,学立体匹配必须掌握的算法,只要5个币,真的是白菜价。 希望能够帮助到大家,下载后绝对不会后悔的。
代码片段和文件信息
%function StereoMatching()
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This function consits of three methods for stereo matching (SADSSDNCC).
% Usage
% 1. A input dialog will appear for setting Window Size. Set a
% number bigger than 2 and click OK button.
% 2. Wait for some seconds. Then you can see the results of SAD SSD and
% NCC stereo mathing in order.
%
% You can also compare the results by changing window size !
%
% InYeopJang(20082044) Dept.of Mechatronics GIST
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function StereoMatching
prompt = {‘Enter window size:‘};
dlg_title = ‘Input for setting window size‘;
num_lines = 1;
def = {‘9‘};
answer=inputdlg(promptdlg_titlenum_linesdef);
winSize = str2double(answer);
if(winSize>2)
fprintf(1‘Loading Images....\n‘);
imL=rgb2gray(imread(‘imL.jpg‘));
imL=double(imL);
imR=rgb2gray(imread(‘imR.jpg‘));
imR=double(imR);
%groundtruth=imread(‘disp2.pgm‘);
%groundtruth=double(groundtruth);
figure
subplot(231); imshow(‘imL.jpg‘); title(‘左视角‘);
subplot(233); imshow(‘imR.jpg‘); title(‘右视角‘);
fprintf(1‘Now Processing SAD based Stereo Matching....\n‘);
[dispMap_SAD]=StereoMatchingSAD(imLimRwinSize052);
dispMap1=dispMap_SAD;
%figure(‘Name‘‘SAD‘‘Numbertitle‘‘off‘);
subplot(234); imshow(dispMap1[0 52]);title(‘SAD算法‘);
%fprintf(1‘SAD RMSE : %f\n‘sqrt( (mean( dispMap)-groundtruth).^2));
fprintf(1‘Now Processing SSD based Stereo Matching....\n‘);
[dispMap_SSD]=StereoMatchingSSD(imLimRwinSize052);
dispMap2=dispMap_SSD;
%figure(‘Name‘‘SSD‘‘Numbertitle‘‘off‘);
subplot(235); imshow(dispMap2[0 52]); title(‘SSD算法‘);
fprintf(1‘Now Processing NCC based Stereo Matching....\n‘);
[dispMap_NCC]=StereoMatchingNCC(imLimRwinSize052);
dispMap3=dispMap_NCC;
%figure(‘Name‘‘NCC‘‘Numbertitle‘‘off‘);
subplot(236); imshow(dispMap3[0 52]); title(‘NCC算法‘);
else
fprintf(1‘\nYou must set window-size integer bigger than 2!!!!\n‘);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-05-04 14:47 SSD+SAD+NCC算法\
文件 23826 2013-07-02 09:03 SSD+SAD+NCC算法\imL.jpg
文件 342036 2013-07-02 11:02 SSD+SAD+NCC算法\imL.png
文件 23826 2013-07-02 09:03 SSD+SAD+NCC算法\imR.jpg
文件 343316 2013-07-02 11:02 SSD+SAD+NCC算法\imR.png
文件 21720 2013-07-04 19:48 SSD+SAD+NCC算法\rect-left2.jpg
文件 22069 2013-07-04 19:48 SSD+SAD+NCC算法\rect-right2.jpg
文件 2150 2018-05-04 14:35 SSD+SAD+NCC算法\StereoMatching.asv
文件 2275 2018-05-04 14:41 SSD+SAD+NCC算法\StereoMatching.m
文件 1741 2018-05-04 14:49 SSD+SAD+NCC算法\StereoMatchingNCC.m
文件 1587 2018-05-04 14:49 SSD+SAD+NCC算法\StereoMatchingSAD.m
文件 1461 2018-05-04 14:49 SSD+SAD+NCC算法\StereoMatchingSSD.m
文件 21504 2013-07-02 18:54 SSD+SAD+NCC算法\Thumbs.db
相关资源
- SSDA图像匹配算法
- 双目立体视觉快速NCC算法 matlab
- 双目立体视觉彩色SAD算法matlab
- SSDA 利用SSDA算法实现模板匹配
- Ncc 图像配准
- 解决win7下AHCI模式SSD开机蓝屏的工具
- matlab的实现的NCC算法
- SSDA SSDA序贯相似性检测方法对图像进
- RANSAC-match 可以在harris角点检测和ncc粗
- imageMosaic 基于Harris角点检测的图像拼
- harris-ncc-ransac 本代码主要是harris角点
-
NCC-and-the-SSDA-ba
sed-feature-points-match - ImageFusion_SSSDI
- 立体匹配sad算法
- 归一化交叉相关图像匹配算法NCC
- 归一化交叉相关图像匹配算法NCC
评论
共有 条评论