Image Processing F34IMP lecture 1

Slides:



Advertisements
Similar presentations
Md. Monjur –ul-Hasan Department of Computer Science & Engineering Chittagong University of Engineering & Technology Chittagong 4349
Advertisements

L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Image Data Representations and Standards
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Graphics in the web Digital Media: Communication and Design
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
SCCS 4761 Introduction What is Image Processing? Fundamental of Image Processing.
Department of Physics and Astronomy DIGITAL IMAGE PROCESSING
1 Ethics of Computing MONT 113G, Spring 2012 Session 11 Graphics on the Web Limits of Computer Science.
CSCI-235 Micro-Computers in Science Hardware Part II.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Adding some light to computing ….
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Imaging Systems. Medical Imaging Systems Projection Radiography Computed Tomography Nuclear Medicine Ultrasound Imaging Magnetic Resonance Imaging.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
1 Lecture 1 1 Image Processing Eng. Ahmed H. Abo absa
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
1 Chapter 1: Introduction 1.1 Images and Pictures Human have evolved very precise visual skills: We can identify a face in an instant We can differentiate.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
Graphics workshop Library and Information Services University of St Andrews.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Web Graphics. Colours and Display Graphics and Modems 28.8kbps = 3.6 KB per second 36 KB takes 10 seconds to load. Pixels and color.
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.
CSCI-100 Introduction to Computing Hardware Part II.
Computer Science 121 Scientific Computing Winter 2014 Chapter 14 Images.
Introduction to Image Processing Representasi Citra Tahap-Tahap Kunci pada Image Processing Aplikasi dan Topik Penelitian pada Image Processing.
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
Introduction to Image Processing. What is Image Processing? Manipulation of digital images by computer. Image processing focuses on two major tasks: –Improvement.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Lesson 2: Introduction to Digital Imaging Digital Photography MITSAA IAP 2003 Rob Zehner.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2014.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
COMP 9517 Computer Vision Digital Images 1/28/2018 COMP 9517 S2, 2009.
DIGITAL MEDIA FOUNDATIONS
Computer Application in Engineering Design
What is an image? a representation, likeness, or imitation of an object or thing a vivid or graphic description something introduced to represent something.
Unit 1 The History of Photography & The Camera
Images and 2D Graphics COMP
Data Representation.
Sampling, Quantization, Color Models & Indexed Color
Binary Representation in Audio and Images
Image Processing Digital image Fundamentals. Introduction to the course Grading – Project: 30% – Midterm Exam: 30% – Final Exam : 40% – Total: 100% –
Images, Display, Perception
IT – 472 Digital Image Processing
Digital 2D Image Basic Masaki Hayashi
Raster Images CPSC 1030.
Chapter I Digital Imaging Fundamentals
Digital Image Fundamentals
Representing Images 2.6 – Data Representation.
Web Design and Development
Graphic File Format Skill Area
COMS 161 Introduction to Computing
Digital Image Processing
Multimedia System Image
© 2010 Cengage Learning Engineering. All Rights Reserved.
Binary CSCE 101.
Course No.: EE 6604 Course Title: Advanced Digital Image Processing
Presentation transcript:

Image Processing F34IMP lecture 1 Alfonso Aragón-Salamanca CAPT B106 alfonso.aragon@nottingham.ac.uk

Lecture 1 Aim: to introduce image processing: what can it be used for? how do computers store images?

1. Introduction What is image processing? Why is it in a Physics degree course?

What is a digital image? An image is a two-dimensional function f(x,y), where x and y are spatial co-ordinates and the amplitude of f is the intensity of the image. If f, x and y are finite, discrete quantities then the image is a digital image. The elements of a digital image are usually referred to as pixels.

What is digital image processing? What is a digital image? An image is a two-dimensional function f(x,y), where x and y are spatial co-ordinates and the amplitude of f is the intensity of the image. If f, x and y are finite, discrete quantities then the image is a digital image. The elements of a digital image are usually referred to as pixels. What is digital image processing? Processing digital images using a computer. For instance: restoration (e.g. removing motion blur) enhancement (e.g. enhancing contrast) registration (matching size & orientation of multiple images) transformation (changing properties) segmentation (divide into regions) recognition (recognise objects)

Many different sources of images e.g. medical X-rays (detect with solid state device or crystal scintillator or convert to visible photons) e.g. photo taken with digital camera e.g. heat camera (using Charge Coupled Devices) e.g. radio telescope Also non-electromagnetic images e.g.: Ultrasound (reflection of phonons by body) Magnetic Resonance Imaging (imaging interior of object using magnetic field and pulses of radio waves) Positron Emission Tomography (3-d image from gamma-rays produced by positron emitting isotope)

Restoration Before (blurred) After (deblurred) Deconvolution

Grey level enhancement Before After Grey level enhancement

Registration MRI brain images: Registration: precisely matching size and orientation of two or more images. Find matching points, and hence geometric transformation.

Transformation(geometric and colour)

Transformation (geometric and colour) Morphing

Segmentation detect sign pixels

Object recognition Character recognition (postcodes, cheques, car registration numbers) Face recognition Recognising people and their movements

(mini)-Summary Image processing: ◆ Restoration ◆ Enhancement ◆ Registration ◆ Transforming ◆ Segmentation ◆ Recognition Essential in astronomy and medical physics (and all sorts of ‘real world’ applications).

2. Computer handling of images a) pixels pixel 337 pixels 206 pixels

Each pixel = “average” of b) Resolution Each pixel = “average” of original image 337 pixels 5 pixels 206 pixels 3 pixels

Important to have sufficiently high spatial resolution. Original ÷2 ÷4 ÷6 ÷8 ÷10 ÷12 sketch aliasing on whiteboard Aliasing artefacts hopeless Important to have sufficiently high spatial resolution.

Nyquist criterion Resolution required depends on how rapidly Img(x,y) changes across the image. This is measured by the spatial frequency: gradual changes ≡ low spatial frequency rapid changes ≡ high spatial frequency

Nyquist criterion Resolution required depends on how rapidly Img(x,y) changes across the image. This is measured by the spatial frequency: gradual changes ≡ low spatial frequency rapid changes ≡ high spatial frequency can be adequately represented in coarse grained image can only be adequately represented in densely sampled image

Nyquist criterion Resolution required depends on how rapidly Img(x,y) changes across the image. This is measured by the spatial frequency: gradual changes ≡ low spatial frequency rapid changes ≡ high spatial frequency can be adequately represented in coarse grained image can only be adequately represented in densely sampled image Nyquist criterion: need pixel size less than 1/2 wavelength of highest spatial frequency in image. equivalently: sampling frequency must be greater than double the highest spatial frequency.

c) How matlab stores images Represents them as a 2-d array: Img(1,2) Img(1,1) Img(j,k) value of element in j-th row and k-th column Img(2,1) Elements are pixels. Number of elements in each direction is called the spatial resolution.

i) Greyscale images Each pixel assigned value from: British english: grey, American english: gray Each pixel assigned value from: 0=black to 255=white. 256 greylevels (quantisation levels) 255

False contouring 256 greylevels 8 greylevels

Two caveats Some image processing software packages represent greylevels differently, e.g., 1 → 256 [g = g’-1] 0.0 → 1.0 [g = round(g’*255)] g’=0 → g=0 g’=0.0004 → g=0 Matlab does not actually support greylevels directly [see task1].

ii) Colour images British english: colour, American english: color 3 numbers needed e.g., RGB [amount of red, green, blue primaries]. Each from 0→255. yellow (255,255,0) red (255,0,0) grey (X,X,X)

Truecolour Each of the three levels can take a value from 0 to 255. Therefore 2563 ≈ 16 million different possible colours, hence “true”. Stored in matlab as a 3D array: y x R G B first problem in task 1

Indexed colour Most images actually only contain 10s or 100s of colours (<< 16 million). Can make the image data file a lot smaller by using a colour table. “image array” “colour table” R G B img(1,1)=c f (1,1) (1,2) (1,3) (2,1) (2,2) (2,3) (c,1) (c,2) (c,3) (f,1) (f,2) (f,3) Each element of image array contains an integer. Used to “look up” colour from colour table. Size of colour table determined by number of unique colours in image. second problem in task 1

File formats PNG JPEG GIF Truecolour 1MB Indexed colour 396KB Portable Network Graphics Truecolour 1MB Indexed colour 396KB Greyscale 376KB lossless compression JPEG Joint Photographic Experts Group Truecolour 122KB Greyscale substantial, but lossy, compression GIF Graphic Interchange Format Indexed colour 367KB lossless compression

Summary Greyscale Image Pixels Truecolour Colour Indexed colour

Task 1: useful sources of Matlab help: Matlab help function Matlab introductory notes (available from Moodle)