資源簡介
把兩幅有相互重疊部分的圖片拼接在一起,合成一副大的圖片
代碼片段和文件信息
function?[X?Y]?=?ginput(n)
X?=?[];
Y?=?[];
for?i=1:n
[px?py?]?=?ginput(1);
X?=?[X?;?px];
Y?=?[Y?;?py];
plot(?px?py?‘r+‘?);
text_handle?=?text(?px+5?py?num2str(i)?);
set(text_handle‘Color‘[1?1?1])
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????225??2001-08-20?09:23??MosaicKit(matlab)\ginput2.m
?????文件??????40049??2001-08-14?10:24??MosaicKit(matlab)\left.jpg
?????文件???????1796??2003-07-25?11:54??MosaicKit(matlab)\mosaic.m
?????文件??????33145??2001-08-14?13:50??MosaicKit(matlab)\right.jpg
????..A.SH.?????11264??2006-12-30?16:01??MosaicKit(matlab)\Thumbs.db
????..AD...?????????0??2008-04-25?14:10??MosaicKit(matlab)
-----------?---------??----------?-----??----
????????????????86479????????????????????6
評論
共有 條評論