Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 9: Rotation, Scaling, Shear, Affine Transformation.

Slides:



Advertisements
Similar presentations
CS 691 Computational Photography Instructor: Gianfranco Doretto Image Warping.
Advertisements

Dr. Engr. Sami ur Rahman Assistant Professor Department of Computer Science University of Malakand Medical Imaging Principle of 3D Image acquisition.
Translations I can: Vocabulary: Define and identify translations.
Dr. Engr. Sami ur Rahman Data Analysis Lecture 4: Binomial Distribution.
Lecture 11: Transformations CS4670/5760: Computer Vision Kavita Bala.
Image Warping : Computational Photography Alexei Efros, CMU, Fall 2006 Some slides from Steve Seitz
Linear Algebra and SVD (Some slides adapted from Octavia Camps)
Lecture 8: Geometric transformations CS4670: Computer Vision Noah Snavely.
Image Warping : Computational Photography Alexei Efros, CMU, Fall 2008 Some slides from Steve Seitz
Image Warping : Computational Photography Alexei Efros, CMU, Fall 2005 Some slides from Steve Seitz
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
©College of Computer and Information Science, Northeastern UniversityJune 26, CS U540 Computer Graphics Prof. Harriet Fell Spring 2009 Lecture 11.
Image warping/morphing Digital Video Special Effects Fall /10/17 with slides by Y.Y. Chuang,Richard Szeliski, Steve Seitz and Alexei Efros.
Geometric Transformation-2D
Image Warping (Szeliski 3.6.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Slides from Alexei Efros and Steve Seitz
©College of Computer and Information Science, Northeastern UniversitySeptember 9, CS 4300 Computer Graphics Prof. Harriet Fell Fall 2011 Lecture.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
Warping CSE 590 Computational Photography Tamara Berg.
Geometric Operations and Morphing.
Autonomous Navigation for Flying Robots Lecture 2.2: 2D Geometry
Dr. Engr. Sami ur Rahman Data Analysis Lecture 3: Data Distribution Normal Distribution.
Introduction Rigid motions can also be called congruency transformations. A congruency transformation moves a geometric figure but keeps the same size.
Dr. Engr. Sami ur Rahman Data Analysis Basic Analysis in SPSS.
Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 2: Visual System.
Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 1: Introduction.
Dr. Engr. Sami ur Rahman Data Analysis Correlational Research.
Dr. Engr. Sami ur Rahman Research Methods in Computer Science Lecture: Data Analysis (Introduction to SPSS)
Geometric Transformations CSE 455 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Unit 4 – Flip, Slide & Turn Vocabulary. Unit 4 – Flip, Slide & Turn - Vocabulary Plane: One of the basic undefined terms of geometry. A plane goes on.
GEOMETRIC OPERATIONS. Transformations and directions Affine (linear) transformations Translation, rotation and scaling Non linear (Warping transformations)
Prof. Amr Goneid Department of Computer Science & Engineering
Multimedia Programming 07: Image Warping Keyframe Animation Departments of Digital Contents Sang Il Park.
Transformations on the Coordinate Plane Mr. J. Grossman.
Aim: Transformation: Translation, Rotation, Dilation Course: Alg. 2 & Trig. Do Now: Reflect ΔCDE through the line y = -2. Aim: How do we move from here.
Dr. Engr. Sami ur Rahman Data Analysis Lecture 2: Basic Concepts of Statistical Methods.
WAM “Writing About Math”
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Warm Up. True or False? 1.A reflection preserves angle measure. 2.A reflection preserves segment length. 3.A reflection preserves orientation. False True.
Lecture 4b Data augmentation for CNN training
Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 3: Image Formation.
Image Warping 2D Geometric Transformations
9-4 Compositions of Isometries. Isometry: a transformation that preserves distance or length (translations, reflections, rotations) There are 4 kinds.
Modeling Transformation
Transformations University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner.
Computer Graphics Lecture 15 Fasih ur Rehman. Last Class Combining Transformations Affine versus Rigid body Transformations Homogenous Transformations.
Dr. Engr. Sami ur Rahman Data Analysis Survey Research.
9.5 & 9.6 – Compositions of Transformations & Symmetry
3. Transformation
Transformations.
Lecture 3 Jitendra Malik
Warm up Identify the transformation ∆RST → ∆XYZ.
Every segment is congruent to its image.
Every segment is congruent to its image.
Defining Congruence in Terms of Rigid Motions
Computer Graphics Transformations
Translation Rotation reflection Dilation Pre Image Image Rigid Motions
Transformations.
Geometric Transformations
Geometric Transformations
Day 13 – Effects of rigid motion
Geometric Transformations
Transformations As Functions
Geometric Transformations
Essential Question: What can I add to the words slide, flip and turn to more precisely define the rigid-motion transformations – translation, reflection.
Dilations NOT an isometry.
9.2 Reflections By Brit Caswell.
Maintenance Sheet 24 due Friday
Geometric Transformations
Geometric Transformations
Geometric Transformations
Presentation transcript:

Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 9: Rotation, Scaling, Shear, Affine Transformation

University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 2 Courtesy Gonzalez and Woods

Transformation Transformations: Move and rotate objects, scaling, stretching Euclidean Transformations The Euclidean transformations are the most commonly used transformations. An Euclidean transformation is either a translation, a rotation, or a reflection. The angles and lengths remain constant. University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 3

Translation University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 4

Translation University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 5

Translation University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 6

Rotation (x, y) (x’, y’) x = r cos () y = r sin () x’ = r cos ( +  ) y’ = r sin ( +  ) Trig Identity… x’ = r cos() cos(  ) – r sin() sin(  ) y’ = r cos() sin(  ) + r sin() cos(  ) Substitute… x’ = x cos(  ) - y sin(  ) y’ = x sin(  ) + y cos(  ) r  x = r cos () y = r sin () x’ = r cos ( +  ) y’ = r sin ( +  ) r University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 7 Sin ( +  ) = sin cos  + cos sin  Sin ( -  ) = sin cos  - cos  sin cos ( +  ) = cos cos  - sin  sin cos ( -  ) = cos cos  +sin  sin

Rotation University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 8

Scaling University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 9 Scaling: Resizing an image

Scaling University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 10

Scaling University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | Rescaling and interpolation

Interpolation University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 12 Interpolation: Constructing new data points from existing data points Types of interpolation  Nearest neighbor interpolation  Linear interpolation  Bilinear interpolation  Polynomial interpolation  Piecewise constant interpolation  Spline interpolation

Shear University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 13 Shear: the deformation of a material substance in which parallel internal surfaces slide past one another Horizontal shearVertical shearNo shear

Shear University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 14 Horizontal shear Vertical shear

Affine Transformation University Of Malakand | Department of Computer Science | UoMIPS | Dr. Engr. Sami ur Rahman | 15 Affine transformation or affine map or an affinity:  A transformation which preserves straight lines (i.e., all points lying on a line initially still lie on a line after transformation)  Preserves ratios of distances between points lying on a straight line (e.g., the midpoint of a line segment remains the midpoint after transformation).midpoint  Does not necessarily preserve angles or lengths.

Thanks for your attention