EECE253_13_Rotation

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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: 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. 12/06/11 2 12/06/11 2 1999-2007 by Richard Alan Peters II Geometric Remapping Input Image Warping Function Interpolation Function Output Image 12/06/11 3 12/06/11 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 )} . 12/06/11 4 12/06/11 4 1999-2007 by Richard Alan Peters II Image Rotation image size: aspect angle: length of diagonal: 12/06/11 5 12/06/11 5 1999-2007 by Richard...
View Full Document

Page1 / 21

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

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