Basic image stitching code using sum of squares

版本 1.0.0.0 (1.9 KB) 作者: Paresh Kamble
This code stitches two images having common parts in one image.
923.0 次下载
更新时间 2013/3/1

查看许可证

Here two images of leena are used as input. The images have one common portion which needs to be used only once. The identification of the common portion comes under image registration while identification of optimal point(column) is used as the stitching point. In the code the first image is read and saved as a new image. A small patch (a matrix of rows * 20) is used as a mask. This mask is placed on the first image. The corresponding difference of the pixels is found out, squared and added. The values are stored in a blank matrix. Once the mask covers all the pixels of the first image, the process is stopped. Now the minimum value from the 1* (columns - 20) matrix is found out. The corresponding optimal point (column value) is used as the reference for stitching. Now the second image is appended to the original image from the optimal point. This gives the resulting stitched image.

引用格式

Paresh Kamble (2026). Basic image stitching code using sum of squares (https://ww2.mathworks.cn/matlabcentral/fileexchange/40587-basic-image-stitching-code-using-sum-of-squares), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Geometric Transformation and Image Registration 的更多信息
版本 已发布 发行说明
1.0.0.0