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
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.