• 大小: 2.56M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-02
  • 语言: Matlab
  • 标签: 三维重建  3d重建  

资源简介

利用2张不同角度的图像,重建出三维图像 two view 3D reconstruction

资源截图

代码片段和文件信息

function [l inc] = boxseqlines(X);

ind = find(X(1:) ~= 0);
ss = size(X);
l(:1) = [X(:1); X(:2)]; 
l(:2) = [X(:2); X(:3)]; 
l(:3) = [X(:3); X(:4)]; 
l(:4) = [X(:4); X(:5)]; 
l(:5) = [X(:5); X(:6)]; 
l(:6) = [X(:6); X(:1)]; 
l(:7) = [X(:2); X(:5)]; 

l(:8) = [X(:7); X(:8)]; 
l(:9) = [X(:10); X(:11)];
l(:10) = [X(:11); X(:12)];  
l(:11) = [X(:12); X(:13)]; 
l(:12) = [X(:13); X(:10)];
l(:13) = zeros(2*ss(1)1); 
l(:14) = zeros(2*ss(1)1); 
l(:15) = zeros(2*ss(1)1); 
l(:16) = zeros(2*ss(1)1); 
l(:17) = zeros(2*ss(1)1); 

if find(ind == 14)
l(:13) = [X(:7); X(:14)]; 
end

if find(ind == 15)
l(:14) = [X(:10); X(:15)]; 
end

if find(ind == 16)
l(:15) = [X(:11); X(:16)]; 
end

if find(ind == 17)
l(:16) = [X

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-11-02 13:57  twoview_reconstruction\
     文件      921656  2012-10-15 18:44  twoview_reconstruction\1.bmp
     文件       53485  2012-10-15 18:49  twoview_reconstruction\1.JPG
     文件      921656  2012-10-15 18:44  twoview_reconstruction\2.bmp
     文件       53529  2012-10-15 18:49  twoview_reconstruction\2.JPG
     文件      418048  2012-10-15 18:44  twoview_reconstruction\box1.mat
     文件      435080  2012-10-15 18:44  twoview_reconstruction\box2.mat
     文件      502216  2012-10-15 18:44  twoview_reconstruction\box3.mat
     文件        2688  2012-10-15 18:44  twoview_reconstruction\box3data.mat
     文件      418048  2012-10-15 18:44  twoview_reconstruction\box4.mat
     文件         548  2012-10-15 18:44  twoview_reconstruction\boxpoints.mat
     文件        1365  2012-10-15 18:44  twoview_reconstruction\boxseqlines.m
     文件        3456  2012-10-15 18:44  twoview_reconstruction\boxxim2.mat
     文件        1286  2012-10-15 18:44  twoview_reconstruction\click_image.m
     文件        1021  2012-10-15 18:44  twoview_reconstruction\compute3DStructure.m
     文件        3970  2012-10-15 18:44  twoview_reconstruction\dessential.m
     文件        1287  2012-10-15 18:44  twoview_reconstruction\dfundamental.m
     文件        2017  2012-10-15 18:44  twoview_reconstruction\distortion.m
     文件         318  2012-10-15 18:44  twoview_reconstruction\exp_rotation.m
     文件         469  2012-10-15 18:44  twoview_reconstruction\rot_matrix.m
     文件         237  2012-10-15 18:44  twoview_reconstruction\skew.m
     文件         252  2012-10-15 18:44  twoview_reconstruction\triple_product.m
     文件        1588  2012-10-15 18:51  twoview_reconstruction\TwoViewDemo.m

评论

共有 条评论