- 13
- 0
- 约3.47千字
- 约 5页
- 2017-12-20 发布于江西
- 举报
拼接图像matlab可执行的程序
图1 待拼接图像
图2 拼接后的图像
Matlab程序代码:
I1 = double(imread(left.bmp));
[h1 w1 d1] = size(I1);
I2 = double(imread(right.bmp));
[h2 w2 d2] = size(I2);
% show input images and prompt for correspondences
figure; subplot(1,2,1); image(I1/255); axis image; hold on;
title(first input image);
[X1 Y1] = ginput(2); % get two points from the usersubplot(1,2,2); image(I2/255); axis image; hold on;
title(second input image);
[X2 Y2] = ginput(2); % get two points from the user% estimate parameter vector (t)
Z = [ X2 Y2 ; Y2 -X2 ; 1 1 0 0 ; 0 0 1 1 ];
xp = [ X1 ; Y1 ];
t = Z \ xp; % solve the linear system
a
您可能关注的文档
- 护理人际关系.ppt
- 护理专业学生职业素质教育培养方案.doc
- 护理宗旨一本通.doc
- 护理教育导论教学大纲.doc
- 护理服务礼仪与沟通1.ppt
- 护理的审美修养.ppt
- 护理礼仪第一章《绪论》.ppt
- 护理程序的基本步骤.ppt
- 护理系《病理学》课程标准.doc
- 护理论文的书写格式.ppt
- Beosin Web3安全报告行业-38页.docx
- AI行业跟踪报告之二:ChatGPT开启AI发展新浪潮,算力紧缺和海量应用驱动AI硬件广阔空间-230215.docx
- GPT已拉开AIGC技术革命序幕:海外为鉴,看国内大模型与终端应用投资机会-国信证券-2023.5.5-52页(1).docx
- GPT已拉开AIGC技术革命序幕:海外为鉴,看国内大模型与终端应用投资机会-国信证券-2023.5.5-52页.docx
- ChatGPT开启AI新纪元,AIGC投资框架梳理-中国银河-20230217.docx
- AI应用进入落地期,+AI游戏、AI营销.docx
- ChatGPT过去现在与未来.docx
- ChatGPT的前世今生行业研究报告.docx
- A股核心产业赛道述评月刊(第13期):AIGC与ChatGPT,为什么火了?.docx
- Can ChatGPT Forecast Stock Price Movements Return Predictability and Large Language Models行业研究报告.docx
原创力文档

文档评论(0)