Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

program this in matlab H2.1 Geometric transformations: Capture an image of yourself and resize it to N ~ N pixels for N = 256. 20

program this in matlab

image text in transcribed

H2.1 Geometric transformations: Capture an image of yourself and resize it to N ~ N pixels for N = 256. 20 pts (a) Create a square mesh of size N = 64 (using (xx,yy] = meshgrid(1:N); function), rotate the grid points by 30, and plot the original and rotate meshes. (You may use surf (xx,yy,C) function for a constant C.) (b) Rotate your 256 x 256 reference image by 30 to create a target image in following steps: (1) create a mesh of size N = 256 for the target image (say (uu,vv] = meshgrid(1:N)), (2) apply inverse rotation of 30 on all points (i.e., transform (uu, vv) to (xx,yy)) to map them in the reference image frame indices, (3) interpolate image intensities on the mapped points (i.e., (xx,yy)) using interp2 function, (4) place interpolated intensity values at the corresponding locations in the target image (i.e., (uu, vv)). H2.1 Geometric transformations: Capture an image of yourself and resize it to N ~ N pixels for N = 256. 20 pts (a) Create a square mesh of size N = 64 (using (xx,yy] = meshgrid(1:N); function), rotate the grid points by 30, and plot the original and rotate meshes. (You may use surf (xx,yy,C) function for a constant C.) (b) Rotate your 256 x 256 reference image by 30 to create a target image in following steps: (1) create a mesh of size N = 256 for the target image (say (uu,vv] = meshgrid(1:N)), (2) apply inverse rotation of 30 on all points (i.e., transform (uu, vv) to (xx,yy)) to map them in the reference image frame indices, (3) interpolate image intensities on the mapped points (i.e., (xx,yy)) using interp2 function, (4) place interpolated intensity values at the corresponding locations in the target image (i.e., (uu, vv))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 1 Lncs 8055

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013 Edition

3642402844, 978-3642402845

More Books

Students also viewed these Databases questions