资源简介

3d重建 ,包括特征点的提取,匹配,以及三维点云的建立

资源截图

代码片段和文件信息

function f = eightPoint(points1homo points2homo)
% Normalize the points
num = size(points1homo 2);
[points1homo t1] = vision.internal.normalizePoints(points1homo 2 ‘double‘);
[points2homo t2] = vision.internal.normalizePoints(points2homo 2 ‘double‘);
% unravel
m = coder.nullcopy(zeros(num 9 ‘double‘));
m(:1)=(points1homo(1:).*points2homo(1:))‘;
m(:2)=(points1homo(2:).*points2homo(1:))‘;
m(:3)=points2homo(1:)‘;
m(:4)=(points1homo(1:).*points2homo(2:))‘;
m(:5)=(points1homo(2:).*points2homo(2:))‘;
m(:6)=points2homo(2:)‘;
m(:7)=points1homo(1:)‘;
m(:8)=points1homo(2:)‘;
m(:9)=1;
% last eigen vector
[~ ~ vm] = svd(m 0);
f = reshape(vm(: end) 3 3)‘;
[u s v] = svd(f);
s(end) = 0;
f = u * s * v‘;
% denormalize
f = t2‘ * f * t1;
f = f / norm(f);
if f(end) < 0
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         812  2020-10-02 19:56  3D-reconstruction-master\eightPoint.m
     文件         351  2020-10-02 19:56  3D-reconstruction-master\getMatches.m
     文件         259  2020-10-02 19:56  3D-reconstruction-master\getSIFTFeatures.m
     文件         511  2020-10-02 19:56  3D-reconstruction-master\main.m
     文件         445  2020-10-02 19:56  3D-reconstruction-master\matchFeaturePoints.m
     文件        1245  2020-10-02 19:56  3D-reconstruction-master\motionFromF.m
     文件         942  2020-10-02 19:56  3D-reconstruction-master\MSAC.m
     文件         566  2020-10-02 19:56  3D-reconstruction-master\mytriangualation.m
     文件        2266  2020-10-02 19:56  3D-reconstruction-master\README.md
     文件        1713  2020-10-02 19:56  3D-reconstruction-master\SfM2.m
     文件         125  2020-10-02 19:56  3D-reconstruction-master\imgs\get-pj3.sh
     文件      647655  2020-10-02 19:56  3D-reconstruction-master\imgs\church3\CIMG4552.JPG
     文件      661796  2020-10-02 19:56  3D-reconstruction-master\imgs\church3\CIMG4553.JPG
     文件         120  2020-10-02 19:56  3D-reconstruction-master\imgs\church3\intrinsic.new
     文件      102296  2020-10-02 19:56  3D-reconstruction-master\imgs\fountain\6.jpg
     文件      105498  2020-10-02 19:56  3D-reconstruction-master\imgs\fountain\7.jpg
     文件         117  2020-10-02 19:56  3D-reconstruction-master\imgs\fountain\intrinsic.new
     文件      257273  2020-10-02 19:56  3D-reconstruction-master\imgs\handprint\1.jpg
     文件      257173  2020-10-02 19:56  3D-reconstruction-master\imgs\handprint\2.jpg
     文件         116  2020-10-02 19:56  3D-reconstruction-master\imgs\handprint\intrinsic.new
     文件       84531  2020-10-02 19:56  3D-reconstruction-master\imgs\medusa\18.jpg
     文件       86061  2020-10-02 19:56  3D-reconstruction-master\imgs\medusa\19.jpg
     文件         118  2020-10-02 19:56  3D-reconstruction-master\imgs\medusa\intrinsic.new
     文件      678593  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4593.JPG
     文件      686159  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4594.JPG
     文件      688614  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4595.JPG
     文件      687936  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4596.JPG
     文件      693385  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4597.JPG
     文件      691589  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4598.JPG
     文件      686372  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4599.JPG
     文件      692285  2020-10-02 19:56  3D-reconstruction-master\imgs\statue\CIMG4600.JPG
............此处省略25个文件信息

评论

共有 条评论