Enlarging or Contracting a Digital Image

Slides:



Advertisements
Similar presentations
Image Processing Ch2: Digital image Fundamentals Part 2 Prepared by: Tahani Khatib.
Advertisements

Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Resizing Image.
Image Interpolation CS4670: Computer Vision Noah Snavely.
Bellwork  Perform a glide reflection of and over line y=x for the points A: (-4,2), B:(-22,-3) and C:( 0,2) No Clickers.
Digital Image Processing. 2 Interpolation of Data Suppose we have a collection of four values that we wish to enlarge to eight: Interpolated results x-axis.
Original image: 512 pixels by 512 pixels. Probe is the size of 1 pixel. Picture is sampled at every pixel ( samples taken)
N u v P(0,0) P(4,1) Orthographic (parallel) projection: Finding the starting point of the ray P(0,0): origin of image plane P(4,1): image pixel at i=4,
Digital Image Processing
1 Formation et Analyse d’Images Daniela Hall 30 Septembre 2004.
Chapter 3: Image Restoration Geometric Transforms.
Digital Image Processing Lecture 2
Digital Terminology. Bitmap A representation consisting of rows and columns of dots of a graphic image stored in computer memory. To display a bitmap.
Sections 1.8/1.9: Linear Transformations
Transformations: Dilations Math 8 Ms. Stewart COPY SLIDES WITH A PENCIL ICON.
Chapter Teacher: Remah W. Al-Khatib. This lecture will cover:  The human visual system  Light and the electromagnetic spectrum  Image representation.
Digital Image Fundamentals Faculty of Science Silpakorn University.
Spring 2012Meeting 2, 7:20PM-10PM1 Image Processing with Applications-CSCI567/MATH563 Lectures 3, 4, and 5: L3. Representing Digital Images; Zooming. Bilinear.
3. Image Sampling & Quantisation 3.1 Basic Concepts To create a digital image, we need to convert continuous sensed data into digital form. This involves.
Medical Image Processing & Neural Networks Laboratory 1 Medical Image Processing Chapter 2 Digital Image Fundamentals 國立雲林科技大學 資訊工程研究所 張傳育 (Chuan-Yu Chang.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Image Acquisition.
GEOMETRIC OPERATIONS. Transformations and directions Affine (linear) transformations Translation, rotation and scaling Non linear (Warping transformations)
1 Formation et Analyse d’Images Session 2 Daniela Hall 26 September 2005.
Dilations in the Coordinate Plane
Image Processing Ch2: Digital image Fundamentals Prepared by: Tahani Khatib.
Digital Image Processing Sampling and Quantization
A.) Scalar - A single number which is used to represent a quantity indicating magnitude or size. B.) Vector - A representation of certain quantities which.
Image Warping 2D Geometric Transformations
Objectives Introduce standard transformations Introduce standard transformations Derive homogeneous coordinate transformation matrices Derive homogeneous.
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM D IGITAL S TILL I MAGES Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny Winter.
2D Transformations By: KanwarjeetSingh
Chapter 6: Image Geometry 6.1 Interpolation of Data
Image Processing Digital image Fundamentals. Introduction to the course Grading – Project: 30% – Midterm Exam: 30% – Final Exam : 40% – Total: 100% –
IMAGE PROCESSING Questions and Answers.
Introduction To Matrices
Physics 131 9/9/15 Vectors Each point in space is specified by three numbers: (x, y, z), and a position vector– an arrow showing the displacement from.
Gouraud Shading with Bilinear Interpolation
The Unit Square Saturday, 22 September 2018.
Introduction to Digital Signal Processing
Getting Image Data Image Data Files 11/15/2018
T490 (IP): Tutorial 2 Chapter 2: Digital Image Fundamentals
7.3 Matrices.
EE/CSE 576 HW 1 Notes.
Find a vector equation for the line through the points {image} and {image} {image}
Find a vector equation for the line through the points {image} and {image} {image}
EEE 501 Applied Digital Image Processing Dr. Türker İnce
Digital Image Fundamentals
PCA is “an orthogonal linear transformation that transfers the data to a new coordinate system such that the greatest variance by any projection of the.
Volume Rendering.
Orthographic (parallel) projection:
EE/CSE 576 HW 1 Notes.
Computer and Robot Vision I
Morphological Image Processing
Which of the equations below is an equation of a cone?
Enhancing the Enlargement of Images
Graphs and Graphing Utilities
Principal Components What matters most?.
Magnetic Resonance Imaging
Digital Image Fundamentals
Image Resampling & Interpolation
© 2010 Cengage Learning Engineering. All Rights Reserved.
Derivation of the 2D Rotation Matrix
Rendering – Matrix Transformations and the Graphics Pipeline
Data hiding method using image interpolation
Linear Algebra and Matrices
Lecture 2 Digital Image Fundamentals
Image cross-correlation analysis reveals the emergence of a dynamic steady state actin distribution in the minimal cortex. Image cross-correlation analysis.
ECE/CSE 576 HW 1 Notes.
Enhancing the Enlargement of Images
Principal Components What matters most?.
: Chapter 7: Two Dimensional Image Transformation
Presentation transcript:

Enlarging or Contracting a Digital Image Zoom, zoom, zoom…

Image Resizing May either increase or decrease the total number of pixels used to represent the image The process may be viewed as projecting samples from one scale to another 11/30/2018 Gene A. Tagliarini, PhD

Pixel Arrays Start with an M row x N column array of image samples Assume a zoom factor zf so that the number of rows M* and columns N* in the zoomed image are M* = zf * M N* = zf * N 11/30/2018 Gene A. Tagliarini, PhD

Visualizing An Image Zoom 11/30/2018 Gene A. Tagliarini, PhD

More Notation and Conventions Let (assume Java): M* = (int) zf * M; N* = (int) zf * N; Assume ms and ns are row and column indices of the source, respectively, and that mz and nz are row and column indices, respectively, of the zoomed image ms ε {0,…,M} and ns ε {0,…,N} mz ε {0,…,M*} and nz ε {0,…,N*} 11/30/2018 Gene A. Tagliarini, PhD

Zooming By Pixel Replication Map the pixel coordinates (mz, nz) back to the source image coordinates (ms, ns) ms = (int) (mz/zf) ns = (int) (nz /zf) Use the value v of the nearby source image pixel v(ms, ns) 11/30/2018 Gene A. Tagliarini, PhD

Visualizing An Image Zoom nz mz m n 11/30/2018 Gene A. Tagliarini, PhD

Pixel Replication Uses a neighbor of the contracted representation May give rise to a pixelated representation 11/30/2018 Gene A. Tagliarini, PhD

A Useful Parametric Form Let: a and b be constants with a < b x ε [0, 1] y = a + (b-a) * x Note y(0) = a y(1) = b If x ε (0, 1), then a < y < b a b y(x) 11/30/2018 Gene A. Tagliarini, PhD

Extending A Useful Parametric Form Let: a and b be vectors x ε [0, 1] is scalar y = a + (b-a) * x Note y(0) = a y(1) = b If x ε (0, 1), then y lies “between” a and b in the plane determined by a and b b-a y b a 11/30/2018 Gene A. Tagliarini, PhD

Bilinear Interpolation Zoomed pixel at (mz, nz) When mapped back to the source image coordinates likely lies in a region bounded by 4 original image pixels (ms, ns) (ms+1, ns) (ms, ns+1) (ms+1, ns+1) Where ms = (int) (mz/zf) ns = (int) (nz /zf) 11/30/2018 Gene A. Tagliarini, PhD

Bilinear Interpolation (continued) The intensity of pixel P can be calculated given the intensities of pixels A, B, C, and D, with scalars x, y ε [0, 1] using: E = A + (B-A)*x F = C + (D-C)*x P = E + (F-E)*y ms ns ms+1 ns+1 A B C D P x nz F E mz y 11/30/2018 Gene A. Tagliarini, PhD

Bilinear Interpolation (continued) F E 11/30/2018 Gene A. Tagliarini, PhD