Digital Image Processing Sampling and Quantization

Slides:



Advertisements
Similar presentations
Digital Image Processing Lecture 3: Image Display & Enhancement
Advertisements

Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Resizing Image.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Image Display MATLAB functions for displaying image Bit Planes
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Processing Contrast Enhancement: Part II
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Digital Image Processing: Digital Imaging Fundamentals.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 1: Introduction.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 12 Object Recognition Chapter 12 Object Recognition.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part II.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 10 Image Segmentation Chapter 10 Image Segmentation.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 2: Digital Image Fundamentals.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 9 Morphological Image Processing Chapter 9 Morphological.
Chapter 2: Digital Image Fundamentals Fall 2003, 劉震昌.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 6 Color Image Processing Chapter 6 Color Image.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP3 Digital Images Miguel Tavares Coimbra.
The Digital Image.
What is an image? f(x,y):2 
Digital Image Processing
Digital Image Processing Contrast Enhancement: Part I
M ATLAB L ECTURE 1 Basic Concepts of Digital Image Processing.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
University of Ioannina - Department of Computer Science Digital Imaging Fundamentals Christophoros Nikou Digital Image Processing Images.
Chapter Teacher: Remah W. Al-Khatib. This lecture will cover:  The human visual system  Light and the electromagnetic spectrum  Image representation.
© 2004 R. C. Gonzalez, R. E. Woods, and S. L. Eddins Digital Image Processing Using MATLAB ® Chapter 2 Fundamentals Chapter.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 12 Object Recognition.
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.
Digital Imaging. Digital image - definition Image = “a two-dimensional function, f(x,y), where x and y are spatial coordinates, and the amplitude of f.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 1 Introduction Chapter.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Image Processing Example.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Image Acquisition.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Image Processing Example.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Aliasing and Image Enhancement.
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Image Processing Ch2: Digital image Fundamentals Prepared by: Tahani Khatib.
3-1 Chapter 3: Image Display The goodness of display of an image depends on (a) Image quality: i) Spatial resolution, ii) Quantization (b) Display device:
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 2 Digital Image Fundamentals.
ISAN-DSP GROUP Digital Image Fundamentals ISAN-DSP GROUP What is Digital Image Processing ? Processing of a multidimensional pictures by a digital computer.
Image Representation Last update st March Heejune Ahn, SeoulTech.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods.
Digital Image Processing Image Enhancement in Spatial Domain
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part I.
SPS Lab 14 th. 진성민. Contents  Scan Converter Memory  Digital Device  Analog-to-digital converter  Scan converter matrix  Writing, Reading, and image.
Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 3: Image Formation.
DIGITAL IMAGE PROCESSING: DIGITAL IMAGING FUNDAMENTALS.
Miguel Tavares Coimbra
Lecture 19 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Fundamentals Data.
Image Acquisition.
T490 (IP): Tutorial 2 Chapter 2: Digital Image Fundamentals
Lecture Five Figures from Gonzalez and Woods, Digital Image Processing, Second edition, Prentice-Hall,2002.
EEE 501 Applied Digital Image Processing Dr. Türker İnce
Enlarging or Contracting a Digital Image
Lecture 16 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
I UNDERSTAND CONCEPTS OF MULTIMEDIA
© 2010 Cengage Learning Engineering. All Rights Reserved.
Miguel Tavares Coimbra
Lecture 2 Digital Image Fundamentals
Lecture 12 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Presentation transcript:

Digital Image Processing Sampling and Quantization

key stages in digital image processing Sampling : related to coordinates values (Nyquist frequency) Quantization : related to intensity values

y (intensity values) a b c d Generating a digital image. (a) Continuous image. (b) A scaling line from A to B in the continuous image, used to illustrate the concepts of sampling and quantization. (c) sampling and quantization. (d) Digital scan line. © 2002 R. C. Gonzalez & R. E. Woods

a b (a) Continuous image projected onto a sensor array. (b) Result of image sampling and quantization. © 2002 R. C. Gonzalez & R. E. Woods

75 128 255 200 175 225 100 35

Sampling 32 64 128 256 512 1024

Sampling 1024 512 256 128 64 32

imread() – reading an image with different postfixes imresize() – resizing an image to any given size figure – opening a new graphical window subplot(#of row, # of col, location) – showing different plots/images in one graphical window imshow() – displaying an image

generating figures of slide 6 im=imread('obelix.jpg'); im=rgb2gray(imread('obelix.jpg')); im1=imresize(im, [1024 1024]); im2=imresize(im1, [1024 1024]/2); im3=imresize(im1, [1024 1024]/4); im4=imresize(im1, [1024 1024]/8); im5=imresize(im1, [1024 1024]/16); im6=imresize(im1, [1024 1024]/32); figure;imshow(im1) figure;imshow(im2) figure;imshow(im3) figure;imshow(im4) figure;imshow(im5)

generating figure of slide 7 subplot(2,3,1);imshow(im1);subplot(2,3,2);imshow(im2) subplot(2,3,3);imshow(im3);subplot(2,3,4);imshow(im4) subplot(2,3,5);imshow(im5);subplot(2,3,6);imshow(im6)

Quantization 8-bit 7-bit 6-bit 5-bit 4-bit 3-bit 2-bit 1-bit

generating figure of slide 11 im=imread('obelix.jpg'); im=rgb2gray(imread('obelix.jpg')); im1=imresize(im, [1024 1024]); im2= gray2ind(im1,2^7); im3= gray2ind(im1,2^6); im4= gray2ind(im1,2^5); im5= gray2ind(im1,2^4); im6= gray2ind(im1,2^3); im7= gray2ind(im1,2^2); im8= gray2ind(im1,2^1);

figure; subplot(2,4,1);imshow(im1,[]);subplot(2,4,2);imshow(im2,[]) subplot(2,4,3);imshow(im3,[]);subplot(2,4,4);imshow(im4,[]) subplot(2,4,5);imshow(im5,[]);subplot(2,4,6);imshow(im6,[]) subplot(2,4,7);imshow(im7,[]);subplot(2,4,8);imshow(im8,[])

Summary We have looked at: What is sampling? What is spatial resolution? What is quantization? What is grey-level resolution? Next time we will start to see zooming and interpolation