Picture Transformation Finder

版本 1.0.0.0 (1.9 KB) 作者: Alexander Wallar
This function finds the transformation matrix of two images.
321.0 次下载
更新时间 2011/10/7

查看许可证

%%
%%Purpose:
%%The purpose of this function is to find the transformation matrix between
%%two images
%%
%%How it works:
%%This function first detects all of the "corners" in the two pictures.
%%Then the function estimates the transformational matrix between the two
%%images
%%
%%Inputs:
%%pic1 = The first JPEG image
%%pic2 = The second JPEG image.
%%
%%Outputs:
%%pts1: the corner points on pic1
%%pts2: the corner points on pic2
%%tform: This is the transformational matrix from pic1 to pic2
%%
%%Comments:
%%The images should be of relative objects in order for the
%%transformational matrix to have any meaning. Also please do not be too
%%harsh in the comments, this is my first computer vision toolbox function
%%and my first parallel computation toolbox function. Please note that if
%%you do not have the parallel computation tool, all you need to do is get
%%rid of the spmd construct but keep the statements. You will also need to get
%%rid of pts1 = points1{1} and pts2 = points2{2} and rename the points1 and
%%points2 to pts1 and pts2 respectfully.
%%
%%Version: 1.0 $ $Date: 7-Oct-2011
%%@author Alexander James Wallar

If you use this function to find the transformation from one image to the same image, you will get a matrix closely resembling the identity matrix

引用格式

Alexander Wallar (2024). Picture Transformation Finder (https://www.mathworks.com/matlabcentral/fileexchange/33179-picture-transformation-finder), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0