資源簡介
讀研期間做的文獻復原,關鍵點提取、建立特征描述符、匹配特征點、RANSAC去除誤匹配、坐標配準全部流程都走了一遍,用bunny數據做的測試,每一步都有畫圖,結果精度還不錯。有沒做好的地方歡迎指正。

代碼片段和文件信息
function?b?=?ascread(filename)??????%read?my?file
format?long;
fi?=?fopen(filename‘r‘);???????%openfile??‘r‘讀出參數
if?fi?0
??error(sprintf(‘File?%s?not?found‘?filename))
end
templine?=?1;?%
a?=?sscanf(fgetl(fi)?‘%d‘);%%fgetl從已經打開的文件中讀取一行,并且丟掉末尾的換行符。
templine?=?templine?+1;
if?length(a)==1
????points=a(1);
end
pointlist?=?zeros(3points);
for?vnum?=?1?:?points
??coord?=?sscanf(fgetl(fi)?‘%e?%e?%e‘);
??if?length(coord)?~=?3
????errmsg?=?sprintf(‘Each?vertex?line?must?contain?three?coordinates?(error?on?line?%d)‘?templine);
????error(errmsg);
??end
??templine?=?templine?+1;
??pointlist(:vnum)?=?coord;
end
b?=?cell({points;pointlist});
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-04-04?13:10??基于特征匹配的點云拼接\
?????文件?????????704??2015-12-23?13:38??基于特征匹配的點云拼接\ascread.m
?????文件?????1182978??2010-10-14?20:28??基于特征匹配的點云拼接\bun000.asc
?????文件?????1161413??2010-10-14?20:28??基于特征匹配的點云拼接\bun045.asc
?????文件????????5779??2018-04-03?13:15??基于特征匹配的點云拼接\fuyuan.m
?????文件?????????608??2018-04-03?18:47??基于特征匹配的點云拼接\lsqnormest.m
?????文件????????1200??2016-03-09?17:27??基于特征匹配的點云拼接\Quater_Registration.m
?????文件??????267891??2015-11-18?15:39??基于特征匹配的點云拼接\一種基于法向量的點云自動配準方法_陶海躋.caj
- 上一篇:matlab 求最小外接矩形
- 下一篇:圖像處理識別圖中棒材個數
評論
共有 條評論