Question
Develop a Matlab function to geometrically transform the input image (i.e., scale, rotate or translate) using affine transformations discussed in the class. Following are the
Develop a Matlab function to geometrically transform the input image (i.e., scale, rotate or translate) using affine transformations discussed in the class. Following are the specific requirements: Your function must accept following three parameters: o name of the input image (which is in the same folder as your Matlab function) o a scalar value (1 = scaling, 2 = rotation, or 3 = translation) for the specific geometric transform to be performed o a vector [x y ] denoting the transform parameters (x and y values are used in case of scaling or translation, and value is used for rotation) Show the input image along with transformed output image using subplot function. Both images must be shown in one figure with appropriate titles. Note: You CANNOT use the direct Matlab functions such as imscale, imrotate, and imtranslate for transforming the image, i.e., you must implement the full affine transformation algorithm
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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