8. Geometric Operations Geometric operations change image geometry by moving pixels around in a carefully constrained way. We might do this to remove distortions.

Slides:



Advertisements
Similar presentations
Image Rectification for Stereo Vision
Advertisements

Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Announcements. Structure-from-Motion Determining the 3-D structure of the world, and/or the motion of a camera using a sequence of images taken by a moving.
Computer Graphics Lecture 4 Geometry & Transformations.
Chapter 8 Content-Based Image Retrieval. Query By Keyword: Some textual attributes (keywords) should be maintained for each image. The image can be indexed.
Mapping: Scaling Rotation Translation Warp
1 Computer Graphics Chapter 6 2D Transformations.
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
Linear Algebra and SVD (Some slides adapted from Octavia Camps)
7. Neighbourhood operations A single pixel considered in isolation conveys information on the intensity and colour at a single location in an image, but.
Uncalibrated Geometry & Stratification Sastry and Yang
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
04 – Geometric Transformations Overview Geometric Primitives –Points, Lines, Planes 2D Geometric Transformations –Translation, Rotation, Scaling, Affine,
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Recap of linear algebra: vectors, matrices, transformations, … Background knowledge for 3DM Marc van Kreveld.
CS 480/680 Computer Graphics Representation Dr. Frederick C Harris, Jr. Fall 2012.
Chapter 3: Image Restoration Geometric Transforms.
Transformation of Graphics
Geometric transformations Affine transformations Forward mapping Interpolations schemes.
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Geometric Operations and Morphing.
2D Geometric Transformations
Autonomous Navigation for Flying Robots Lecture 2.2: 2D Geometry
Transformations Jehee Lee Seoul National University.
Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.
Basic Image Manipulation Raed S. Rasheed Agenda Region of Interest (ROI) Basic geometric manipulation. – Enlarge – shrink – Reflection Arithmetic.
Geometric Transformations
University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2: Image.
Metrology 1.Perspective distortion. 2.Depth is lost.
Digital Image Processing Lecture 6: Image Geometry
Geometric Camera Models
Geometric transformations Affine transformations Forward mapping Interpolations schemes.
Geometric Transformations CSE 455 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Computer Graphics 3D Transformations. Translation.
L6 – Transformations in the Euclidean Plane NGEN06(TEK230) – Algorithms in Geographical Information Systems by: Irene Rangel, updated by Sadegh Jamali.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Affine Geometry.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
CS559: Computer Graphics Lecture 7: Image Warping and Morphing Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
CHAPTER 4 TRANSFORMATIONS  What you will learn:  Perform translations  Perform compositions  Solve real-life problems involving compositions 4.1.
4. Affine transformations. Reading Required:  Watt, Section 1.1. Further reading:  Foley, et al, Chapter  David F. Rogers and J. Alan Adams,
Image Warping 2D Geometric Transformations
 A transformation is an operation that moves or changes a geometric figure in some way to produce a new figure. The new figure is called the image. Another.
Lecture 16: Image alignment
3. Transformation
Chapter 14 Transformations.
Graphing in the Coordinate Plane
COMPUTER GRAPHICS CHAPTERS CS 482 – Fall 2017 TRANSFORMATIONS
DO NOW W ( , ) X ( , ) Y ( , ) Z ( , ) YES NO YES NO YES NO
9-1 Translations.
Homogeneous Coordinates (Projective Space)
Lecture 7: Image alignment
Outline Announcement Local operations (continued) Linear filters
Geometric Transformations
Computer Graphics Recitation 12.
Geometric Transformations
Geometric Camera Models
Uncalibrated Geometry & Stratification
Geometric Transformations
Computation & Estimation
Geometric Transformations
8th grade math end of year review
Transformations 2 University of British Columbia
Geometric Transformations
Chapter 4 . Trajectory planning and Inverse kinematics
Geometric Transformations
Presentation transcript:

8. Geometric Operations Geometric operations change image geometry by moving pixels around in a carefully constrained way. We might do this to remove distortions inherent in the imagingprocess, or to introduce a deliberate distortion that matches one image with another. In this chapter, we will consider simple operations such as scaling and rotation.

Simple techniques There are some simple techniques for manipulating image geometry. An image can be enlarged by an integer factor, n, simply by copying each pixel to an n x n block of pixels in the output image. This technique is fast, and has been a standard feature of specialised image processing hardware.

An obvious disadvantage is that it cannot be used to expand an image by some arbitrary, non ‑ integer factor. Another problem is that greatly enlarged images have a very 'blocky' appearance. This may not bother us in applications where we merely wish to examine pixels more closely, but is of serious concern otherwise.

There are similar problems with the technique of shrinking an image by subsampling its array of pixels. First, the technique cannot be used to reduce image dimensions by an arbitrary factor. Second, subsampling can eliminate information from the image completely. One solution to this latter problem is to turn an n x n block of pixels in the input image into a single pixel in the output image. The value of each output pixel must be representative of the corresponding block in the input image. The median and mean grey level of the block can be used.

Fig. 8.1 Shrinking. (a) Original image. (b) Subsampling (c) Mean of n x n block. (d) Median of n x n block.

Figure 8.1 compares subsampling with the n x n mean and n x n median approaches for a real image of a face. In this case, there is little to choose between the mean and median images. The subsampled image is clearly inferior, with data loss leading to an apparent change in facial expression.

Affine transformation An arbitrary geometric transformation will move a pixel at coordinates (x, y) to a new position, (x’, y'), given by a pair of transformation equations, X’ = T x (X, Y), (8.1) Y’ = T Y (X, Y) (8.2) Tx and Ty are typically expressed as polynomials in x and y. In their simplest form, they are linear in x and y, giving us an affine transformation,

x' = a 0 x + a 1 y + a 2 (8.3) y' = b 0 x + b 1 y + b 2 (8.4) This can be expressed in matrix form as

Under an affine transformation, straight lines are preserved and parallel lines remain parallel. Translation, scaling, rotation and shearing are all special cases of Equations 8.3 and 8.4.

For example, a translation of 3 pixels down and 5 pixels to the right is x' = x + 5, y' = y + 3. The corresponding aftine transformation matrix is

Table 8.1 specifies how the elements of the transformation matrix are computed for selected special cases of affine transformation. Table 8.1 Transformation coefficients for some simple affine transformations.

Rotation Suppose, for example, that we wish to rotate an image by an angle θ about the origin. This is accomplished with the transformation matrix

Algorithm 8.1 Image rotation by forward mapping