Introduction to Digital Image Processing Asim Banerjee IEEE - - PowerPoint PPT Presentation

introduction to digital image processing
SMART_READER_LITE
LIVE PREVIEW

Introduction to Digital Image Processing Asim Banerjee IEEE - - PowerPoint PPT Presentation

Introduction to Digital Image Processing Asim Banerjee IEEE Workshop on Image Processing. 1 st March 2009. Objective To provide an introduction to basic concepts and methodologies of Digital Image Processing To familiarize one


slide-1
SLIDE 1

Introduction to Digital Image Processing

Asim Banerjee IEEE Workshop on Image Processing. 1st March 2009.

slide-2
SLIDE 2

1st March 2009 IEEE Workshop on Image Processing 2

Objective

  • To

provide an introduction to basic concepts and methodologies

  • f

Digital Image Processing

  • To familiarize one with the nuances of

Digital Image Processing

slide-3
SLIDE 3

1st March 2009 IEEE Workshop on Image Processing 3

Agenda

  • Introduction
  • Digital Image Fundamentals
  • Image Transforms
  • Image Enhancement Approaches
  • Image Compression
  • Image Processing Applications

NOTE: All the images used in this talk are from the book “Digital Image Processing” by R. C. Gonzalez and R. E. Woods

slide-4
SLIDE 4

1st March 2009 IEEE Workshop on Image Processing 4

Introduction

  • What is an image?

– Image is a two dimensional light-intensity function, f(x,y), where the value of f at a spatial location (x,y) is the intensity of the image at that point. – Digital image is obtained by sampling and quantizing the function f(x,y) NOTE: The function f(x,y) can be a measure of the reflected light (photography), X-ray attenuation (X-Rays) or any other physical parameter.

slide-5
SLIDE 5

1st March 2009 IEEE Workshop on Image Processing 5

Digital Image Processing

  • Importance of Digital Image Processing

stems from two principal application areas

– Improvement

  • f

pictorial information for human interpretation – Processing

  • f

scene data for autonomous machine perception

slide-6
SLIDE 6

1st March 2009 IEEE Workshop on Image Processing 6

Improvement of pictorial information for human interpretation

  • Involved selection of printing procedures and

distribution of brightness levels

  • Improvements
  • n

processing methods for transmitted digital pictures

  • Application areas include

– Archeology – Astronomy – Biology – Industrial Applications – Law enforcements – Medical Imaging – Space program etc.

slide-7
SLIDE 7

1st March 2009 IEEE Workshop on Image Processing 7

Processing of scene data for autonomous machine perception

  • Focuses on procedures for extracting from an

image information in a form suitable for computer processing

NOTE : Often this information bears little resemblance to visual features that human beings use in interpreting the content of an image.

  • Application areas include:

– Automatic Optical Character Recognition – Machine vision for product assembly and inspection – Military recognizance – Automatic fingerprint matching etc.

slide-8
SLIDE 8

1st March 2009 IEEE Workshop on Image Processing 8

Digital Image Representation

  • A digital Image is an image f(x,y) that is

discrete both in spatial coordinates (sampling) and brightness value (quantization).

  • The elements of the digital array are called

image elements, picture elements, pixels or pels

slide-9
SLIDE 9

1st March 2009 IEEE Workshop on Image Processing 9

Image Resolution

  • Image resolution is the degree of discernible

detail of an image

  • It depends on

– The number of samples in an image – The number of gray levels in an image

slide-10
SLIDE 10

1st March 2009 IEEE Workshop on Image Processing 10

Effects Reducing Spatial Resolution

1024x1024 image progressively reduced in size by a factor

  • f 2 in each dimension and then resampled to 1024x1024

by pixel replication

slide-11
SLIDE 11

1st March 2009 IEEE Workshop on Image Processing 11

Steps in Digital Image Processing

Outside world Results Preprocessing Knowledge Base Segmentation Representation and Description Image Acquisition Recognition and Interpretation

Digital Image Processing System

slide-12
SLIDE 12

1st March 2009 IEEE Workshop on Image Processing 33

Elements of Digital Image Processing System

  • Image acqusition

– Scanners, video camera, CCD cameras, digitizers, etc.

  • Storage

– Short term storage, on-line storage and archival storage

  • Processing

– Small personal computers to dedicated processing hardware.

  • Communication

– Local communication between the processing systems – Remote communication for transmission of images

  • Display

– Monochrome Monitors to sophisticated display devices

slide-13
SLIDE 13

1st March 2009 IEEE Workshop on Image Processing 34

Visual Perception

  • The ultimate goal in many techniques is to

help an observer interpret the content of an image

  • Hence basic understanding of the visual

perception process is important.

slide-14
SLIDE 14

1st March 2009 IEEE Workshop on Image Processing 35

Elements of Visual Perception (1/2)

  • Structure of the human eye

– Comprises of the cornea and sclera outer cover, the choroid and the retina

  • Image formation in the eye

– The light from the object passes through the flexible lens – The image is formed on the retina of the eye

  • Brightness adaptation

– The range of intensity levels to which the system can adapt is enormous (~1010) – Subjective brightness is a logarithmic function of the light intensity incident on the eye

slide-15
SLIDE 15

1st March 2009 IEEE Workshop on Image Processing 37

Elements of Visual Perception (2/2)

  • Brightness discrimination

– The total range of intensity levels the eye can discriminate simultaneously is rather small compared to the total adaptation range – Ability to discriminate between two intensity values is not a simple function of intensity – The visual system tends to undershoot or overshoot around boundary of regions of different intensities – A region‟s perceived brightness also depends on the intensity level of the surrounding region (simultaneous contrast)

slide-16
SLIDE 16

1st March 2009 IEEE Workshop on Image Processing 39

Image Transforms (1/2)

  • Why Transforms?

– Transformation presents a different perspective

  • f the same data

– It facilitates extraction of desirable features that reflect the attribute(s) of interest from the data – It facilitates a different representation of the same data

slide-17
SLIDE 17

1st March 2009 IEEE Workshop on Image Processing 40

Image Transforms (2/2)

  • For images
  • ne mainly

deals with two dimensional (2D) transforms like

– Fourier Transform – Walsh Transform – Hadamard Transform – Discrete Cosine Transform

NOTE: The 2D transforms are applied for Image enhancement, restoration, encoding and description

slide-18
SLIDE 18

1st March 2009 IEEE Workshop on Image Processing 46

Image Enhancement

  • The principal objective is to process an

image so that the result is more suitable than the original image for a specific application

NOTE:

  • 1. For

visual interpretation

  • f

images, enhancement improves the subjective quality of the image.

  • 2. In image enhancement for machine perception,

the analyst is still faced with a certain trial and error before being able to settle on a particular enhancement approach.

slide-19
SLIDE 19

1st March 2009 IEEE Workshop on Image Processing 47

Image Enhancement Approaches

  • The approaches can be classified as

– Spatial domain approaches

  • Involves direct manipulation of pixels in an image

– Frequency domain approaches

  • Involves modifying the Fourier transform of an

image

slide-20
SLIDE 20

1st March 2009 IEEE Workshop on Image Processing 48

Spatial Domain Enhancement

  • The approaches are further classified as

– Point processing

  • Modify the gray level of a pixel independent of the

nature of its neighbors e.g. thresholding, grav level transformation

– Neighborhood Processing

  • Small

sub-images (masks) are used in local processing to modify each pixel in the image to be enhanced e.g. image sharpening, edge detection

slide-21
SLIDE 21

1st March 2009 IEEE Workshop on Image Processing 49

Intensity Transformations

  • These techniques are also called gray level

transformations

– Image negative – Contrast stretching – Compressing dynamic range – Gray level slicing – Bit plane slicing

slide-22
SLIDE 22

1st March 2009 IEEE Workshop on Image Processing 50

Gray Level Transformation Function

slide-23
SLIDE 23

1st March 2009 IEEE Workshop on Image Processing 51

Image Negative

Digital Mammogram and its negative image

slide-24
SLIDE 24

1st March 2009 IEEE Workshop on Image Processing 52

Power Law Transformation

s = rγ

slide-25
SLIDE 25

1st March 2009 IEEE Workshop on Image Processing 53

Power Law Transformation - Application

γ >1

slide-26
SLIDE 26

1st March 2009 IEEE Workshop on Image Processing 54

Contrast Stretching

slide-27
SLIDE 27

1st March 2009 IEEE Workshop on Image Processing 55

Gray Level Slicing

slide-28
SLIDE 28

1st March 2009 IEEE Workshop on Image Processing 56

Bit Plane Slicing (1/2)

slide-29
SLIDE 29

1st March 2009 IEEE Workshop on Image Processing 57

Bit Plane Slicing (2/2)

slide-30
SLIDE 30

1st March 2009 IEEE Workshop on Image Processing 58

Image Histogram

  • Histogram of an image „h’ is a function that

gives the number of occurrences of the gray levels in an image „f’ i.e. h(k) is the number

  • f occurrence of the gray ‘k’ in the image „f’
slide-31
SLIDE 31

1st March 2009 IEEE Workshop on Image Processing 59

Image Histogram - Examples

slide-32
SLIDE 32

1st March 2009 IEEE Workshop on Image Processing 60

Histogram Processing

  • Histogram processing includes

– Histogram equalization – Histogram specification

slide-33
SLIDE 33

1st March 2009 IEEE Workshop on Image Processing 61

Histogram Equalization - Examples

slide-34
SLIDE 34

1st March 2009 IEEE Workshop on Image Processing 62

Histogram Specification - Example

Original

Histogram Equalized Histogram Specified

slide-35
SLIDE 35

1st March 2009 IEEE Workshop on Image Processing 63

Spatial Filtering (1/2)

  • The

use

  • f

spatial masks for image processing is usually called spatial filtering.

  • Examples

– Low pass filtering (averaging) – Median filtering – High pass filtering

slide-36
SLIDE 36

1st March 2009 IEEE Workshop on Image Processing 64

Spatial Filtering (2/2)

The process of Spatial Filtering

slide-37
SLIDE 37

1st March 2009 IEEE Workshop on Image Processing 65

Spatial Low Pass Filtering

Averaging with different mask sizes Original 5x5 15x15 9x9 3x3 35x35

slide-38
SLIDE 38

1st March 2009 IEEE Workshop on Image Processing 66

Spatial Median Filtering

Image with Salt and Pepper Noise Low Pass Filtered Output Median Filtered Output

Ability of the median filter to handle impulse noise

slide-39
SLIDE 39

1st March 2009 IEEE Workshop on Image Processing 67

High Boost Filtering

2 Masks 1st Mask Output 2nd Mask Output Original Image

slide-40
SLIDE 40

1st March 2009 IEEE Workshop on Image Processing 68

Frequency Domain Enhancement

  • It is based on the convolution theorem, which

states that an enhanced image g(x,y) can be produced by convolving the image f(x,y) with an

  • perator h(x,y).
  • Depending on the choice of h(x,y) different

enhancement operations are possible for example low pass filtering, high pass filtering, etc.

slide-41
SLIDE 41

1st March 2009 IEEE Workshop on Image Processing 69

Spatial & Frequency Domain

Low Pass Filter High Pass Filter

Frequency Domain Spatial Domain

slide-42
SLIDE 42

1st March 2009 IEEE Workshop on Image Processing 70

Image Compression

  • To

efficiently store, process and communicate the enormous amount of data is produced when a 2D intensity function is quantized to create a digital image.

  • It addresses the problem of reducing the

amount of data required to represent a digital image by removing redundant information

slide-43
SLIDE 43

1st March 2009 IEEE Workshop on Image Processing 71

Need for Image Compression

  • It

is crucial for the growth

  • f

multimedia computing ( use of computers for printing & publishing and video production & dissemination.

  • Required to handle the increased resolutions of the

present day sensors.

  • Application

areas include remote sensing, videoconferencing, document & medical imaging, facsimile transmission (FAX) etc.

slide-44
SLIDE 44

1st March 2009 IEEE Workshop on Image Processing 72

Image Compression Models

  • Source encoder and decoder

– Reduces or eliminates any coding, interpixel and/or psychovisual redundancies in the input image.

  • Channel encoder and decoder

– Plays an important role when the channel is noisy or prone to error by inserting “controlled redundancy”.

slide-45
SLIDE 45

1st March 2009 IEEE Workshop on Image Processing 73

Types of Compression

  • Lossless compression

– Huffman coding – Bit-plane coding – Run length coding

  • Lossy compression

– Lossy predictive coding – Transform coding – JPEG

slide-46
SLIDE 46

1st March 2009 IEEE Workshop on Image Processing 74

Compression Standards

  • Jointly developed and sanctioned by

– International Standardization Organization (ISO) – Consultative Committee of the International Telephone and Telegraph (CCITT)

  • Examples

– JPEG standard – MPEG standard (MPEG 1, MPEG 2, MPEG 4, MPEG 7 and MPEG 21)

slide-47
SLIDE 47

1st March 2009 IEEE Workshop on Image Processing 75

Image Processing Applications

  • Script Recognition
  • Optical Character Recognition
  • Handwritten Signature Verification
  • Remote sensing
  • Medical Imaging
  • Non-destructive testing
  • Multimedia

– Education – Entertainment – Telemedicine

slide-48
SLIDE 48

1st March 2009 IEEE Workshop on Image Processing 76

Optical Character Recognition

slide-49
SLIDE 49

1st March 2009 IEEE Workshop on Image Processing 77

Recap: Digital Image Processing

  • Digital Image Fundamentals
  • DIP System
  • Image Transforms
  • Image Enhancement Approaches
  • Image Compression
  • Image Processing Applications
slide-50
SLIDE 50

1st March 2009 IEEE Workshop on Image Processing 78

Reading Material - Books

  • R.

C. Gonzalez and R. E. Woods “Digital Image Processing” Pearson Education.

  • A. K. Jain: “Fundamentals of digital image processing”,

Prentice Hall.

  • W. K. Pratt: “Digital image processing”, Prentice Hall.
  • A. Rosenfeld and A.C. Kak: “Digital image processing”,

Academic Press.

  • A. Rosenfeld and A. C. Kak: “Digital image processing”,

Vols 1 and 2, Prentice Hall.

  • H. C. Andrew and B. R. Hunt, “Digital image restoration”,

Prentice Hall.

  • K. R. Castleman: “Digital image processing”, Prentice Hall.
slide-51
SLIDE 51

1st March 2009 IEEE Workshop on Image Processing 79

Reading Material - Journals

  • IEEE Transactions on Image Processing
  • IEEE Transactions on Pattern Analysis & Machine

Intelligence.

  • IEEE Transactions on Medical Imaging
  • Pattern Recognition Letters
  • IEEE Transactions on Biomedical Engineering.
slide-52
SLIDE 52

1st March 2009 IEEE Workshop on Image Processing 80

Any Questions?

slide-53
SLIDE 53

1st March 2009 IEEE Workshop on Image Processing 81

THANK YOU