+ All Categories
Home > Documents > CS654: Digital Image Analysis Lecture 17: Image Enhancement.

CS654: Digital Image Analysis Lecture 17: Image Enhancement.

Date post: 12-Jan-2016
Category:
Upload: griffin-fowler
View: 230 times
Download: 3 times
Share this document with a friend
Popular Tags:
24
CS654: Digital Image Analysis Lecture 17: Image Enhancement
Transcript

CS654: Digital Image Analysis

Lecture 17: Image Enhancement

Recap of Lecture 16

β€’ Mask processing

β€’ Spatial filtering

β€’ Averaging

β€’ Differentiation

β€’ Correlation

β€’ Convolution

Outline of Lecture 17

β€’ Image enhancement

β€’ Dynamic range

β€’ Point processing

β€’ Contrast stretching

β€’ Intensity level slicing

Introduction

β€’ Improve the quality of an image as perceived by human being

β€’ Can be performed at both spatial and frequency domain

β€’ Different types of enhancement

β€’ Noise suppression

β€’ Increase contrast

β€’ Sharpen or smoothen image feature

β€’ Emphasise

β€’ Display and analysis

Common techniques

Image enhancement

Point processing Spatial operation Transform operation

Pseudocoloring

β€’ Contrast stretchingβ€’ Noise clippingβ€’ Window slicingβ€’ Histogram modeling

β€’ Noise smoothingβ€’ Median filteringβ€’ Unsharp maskingβ€’ Filtering

β€’ Linear filterβ€’ Root filterβ€’ Homomorphic filter

Dynamic Range

β€’ The ratio between the maximum and minimum measurable light intensities

β€’ In the real world, one never encounters true white or black

Image: cambridgeincolour

ILLUMINANCE & REFLECTIVITY

β€’ Both contribute to the dynamic range of a scene

β€’ Illuminance to specify only incident light

β€’ Vast variation possible for incident light

Dynamic Range of Camera

Black Level(Limited by Noise)

White Level(Saturated)

Darker White Level(Low Capacity)

Cavity Array Light Cavities

Image: cambridgeincolour

Human eye

Weber ratio as a function of intensity

HDR Images, Posterization

Images: Gonzalez & Woods, 3rd edition

Intensity transformation

𝑔 (π‘₯ , 𝑦 )=𝑇 ( 𝑓 (π‘₯ , 𝑦 ))

: Transformed image

: Input image

: Transformation function

Images: Gonzalez & Woods, 3rd edition

𝑠=𝑇 (π‘Ÿ )neighbourhood

Point processing

Point processing

Images: Gonzalez & Woods, 3rd edition

Contrast stretching function

0 255

255

Thresholding function

0 255

255

Intensity transformation: Negative

πΏβˆ’π‘Ÿπ‘ =ΒΏTransformation function

Images: Gonzalez & Woods, 3rd edition

Intensity transformation: Log-transform

𝑠=π‘π‘™π‘œπ‘” (1+π‘Ÿ ) ;π‘Ÿ β‰₯0Transformation function

β€’ Maps narrow low intensity to wider range of intensity

β€’ Compresses the dynamic range of images

Images: Gonzalez & Woods, 3rd edition

Intensity transformation: Gamma

𝑠=π‘π‘Ÿπ›ΎTransformation function

β€’ Fractional value maps narrow low intensity to wider range of intensity

β€’ Higher value maps narrow low intensity to wider range of intensity

Images: Gonzalez & Woods, 3rd edition

Gamma correction: Display

Images: Gonzalez & Woods, 3rd edition

Gamma corrected image as viewed in monitor

Gamma correction

Gamma corrected image

Original image Input image as viewed in monitor

Gamma correction; Dark to light

Images: Gonzalez & Woods, 3rd edition

Orig

inal

imag

e

0.6

0.4 0.3

Gamma correction: light to dark

Images: Gonzalez & Woods, 3rd edition

3.0

4.0 5.0

Contrast stretching

Images: Gonzalez & Woods, 3rd edition

𝛼 𝛽 𝛾

𝑠={ π›Όπ‘Ÿ ;0β‰€π‘Ÿ β‰€π‘Ÿ 1𝛽 (π‘Ÿ βˆ’π‘Ž)+𝑠1 ;π‘Ÿ1β‰€π‘Ÿ β‰€π‘Ÿ 2𝛾 (π‘Ÿβˆ’π‘)+𝑠2;π‘β‰€π‘Ÿ ≀ 𝐿

π’“πŸ π’“πŸ

Spans the full range of intensity level

π‘Ÿ1=𝑠1 ,π‘Ÿ 2=𝑠2 Linear

π‘Ÿ1=π‘Ÿ2 ,𝑠1=0 , 𝑠2=πΏβˆ’1Thresholding

π’”πŸ

π’”πŸ

Contrast stretching

Input image Contrast stretched image

Thresholded image

Images: Gonzalez & Woods, 3rd edition

Gray-level slicing

β€’ Highlight a specific range of gray values

Without background

𝑠={ 𝐿 ; π΄β‰€π‘Ÿ ≀𝐡0 ; hπ‘œπ‘‘ π‘’π‘Ÿπ‘€π‘–π‘ π‘’

With background

𝑠={ 𝐿; π΄β‰€π‘Ÿ β‰€π΅π‘Ÿ ; hπ‘œπ‘‘ π‘’π‘Ÿπ‘€π‘–π‘ π‘’

Example

Input image Without background With background

Bit plane slicing

Bit plane representation of 8 bit images

1 2

4 5

7 8

3

6

Reconstruction of images

8+7

8+7+6

8+7+6+5

Thank youNext lecture: Histogram Processing


Recommended