EECE253_13_Rotation

EECE253_13_Rotation - EECE\CS 253 Image Processing Lecture...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
EECE\CS 253 Image Processing Richard Alan Peters II Department of Electrical Engineering and Computer Science Fall Semester 2007 Lecture Notes Lecture Notes: Rotating Images This work is licensed under the Creative Commons Attribution-Noncommercial 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2008-04-27 2 2008-04-27 2 1999-2007 by Richard Alan Peters II Geometric Remapping Input Image Warping Function Interpolation Function Output Image
Background image of page 2
2008-04-27 3 2008-04-27 3 1999-2007 by Richard Alan Peters II Geometric Remapping 1. Assume the input image, I , has infinite spatial resolution. 2. Calculate the size, R out × C out × B , of the output image, J , and allocate it. 3. Create an image map ( a warping function, Φ ) as follows: a) Allocate an R out × C out ×2 array, Φ . b) For every pixel location ( r , c ) in J find the corresponding real-valued pixel location ( r f , c f ) in I . c) Set Φ ( r , c, 1) = r f and set Φ ( r , c, 2) = c f . 4. Create an interpolation function, Θ , that generates a pixel value from the values of I on a neighborhood, N ( r f , c f ) . 5. Then set J( r , c ) = Θ {I; N ( r f , c f )} .
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2008-04-27 4 2008-04-27 4 1999-2007 by Richard Alan Peters II Image Rotation [] ( ) I size , , in in = B C R 2 in 2 in C R D + = = in in 1 tan θ C R A image size: aspect angle: length of diagonal:
Background image of page 4
2008-04-27 5 2008-04-27 5 1999-2007 by Richard Alan Peters II Image Rotation () ⎣ ⎦ ⎣ ⎦ 1 , 1 , in 2 1 in 2 1 in0 in0 + + = C R C R 0 in 0 in C R ( )
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/06/2011 for the course EECE 253 taught by Professor Alanpeters during the Summer '07 term at Vanderbilt.

Page1 / 21

EECE253_13_Rotation - EECE\CS 253 Image Processing Lecture...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online