Question
Image registration using MATLAB Use two images first.png and second.png and do: (a) Formulate the least-squares problem for similaritytransformation with isotropic scaling. In other words,
Image registration using MATLAB
Use two images first.png and second.png and do:
(a) Formulate the least-squares problem for similaritytransformation with isotropic scaling. In other words, change theestimation model to similarity for formulation.
(b) Using your formulation, write a MATLAB program:
function xformed image=transform(fixed pts, moving pts, movingimage)
% fixed pts is the point list from the fixed image.
% moving pts is the corresponding point list from the movingimage.
% moving image is the image to be transformed to the spaceof
% the fixed image, which is assumed the same size as the
% moving image.
% The result of transformation is the transformed image of
% moving image.
You?re not allowed to use the built-in functions imtransform(.)and cp2tform(.), so that you can gain a better understanding of theprocess of geometric transformation. Test your function with themoving image (first) and fixed image(second)given below. Youcan either generate the corresponding point lists using cpselect(.)or use the lists below, which are in conventional coordinate, notthe Matlab coordinate
First image->
Second image->
Point set for the fixed image ([x, y]) [95,97] [127, 102] [88, 158] [138, 158] [113,37] [161, 174] [49, 128] [72, 198] Point set for the moving image ([x, y]) [104, 85] [135, 84] [107, 145] [154, 136] [110, 22] [183,148] [62, 124] [99, 186]
Step by Step Solution
3.45 Rating (152 Votes )
There are 3 Steps involved in it
Step: 1
To tackle this problem first lets break down the steps a Formulate the similarity transformation pro...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started