0% found this document useful (0 votes)
73 views32 pages

DIP3-Image Enhancement (Histogram Processing)

The document discusses image enhancement techniques in digital image processing. It introduces concepts like histogram processing and equalization to improve image contrast and visibility. Histogram equalization works by spreading out the most frequent intensity values in an image's histogram to increase contrast. This flattens and stretches the histogram across the full range of intensities to enhance image details.

Uploaded by

Maggie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views32 pages

DIP3-Image Enhancement (Histogram Processing)

The document discusses image enhancement techniques in digital image processing. It introduces concepts like histogram processing and equalization to improve image contrast and visibility. Histogram equalization works by spreading out the most frequent intensity values in an image's histogram to increase contrast. This flattens and stretches the histogram across the full range of intensities to enhance image details.

Uploaded by

Maggie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Digital Image Processing

Image Enhancement
(Histogram Processing)
2
of
32
Contents
Over the next few lectures we will look at
image enhancement techniques working in
the spatial domain:
– What is image enhancement?
– Different kinds of image enhancement
– Histogram processing
– Point processing
– Neighbourhood operations
3
of
32
A Note About Grey Levels
So far when we have spoken about image
grey level values we have said they are in
the range [0, 255]
– Where 0 is black and 255 is white
There is no reason why we have to use this
range
– The range [0,255] stems from display technologes
For many of the image processing
operations in this lecture grey levels are
assumed to be given in the range [0.0, 1.0]
4
of
32
What Is Image Enhancement?
Image enhancement is the process of
making images more useful
The reasons for doing this include:
– Highlighting interesting detail in images
– Removing noise from images
– Making images more visually appealing
5
of
32
Image Enhancement Examples
6
of
32
Image Enhancement Examples (cont…)
7
of
32
Image Enhancement Examples (cont…)
8
of
32
Image Enhancement Examples (cont…)
9
of
32
Spatial & Frequency Domains
There are two broad categories of image
enhancement techniques
– Spatial domain techniques
• Direct manipulation of image pixels
– Frequency domain techniques
• Manipulation of Fourier transform or wavelet
transform of an image
For the moment we will concentrate on
techniques that operate in the spatial
domain
10
of
32
Image Histograms
The histogram of an image shows us the
distribution of grey levels in the image
Massively useful in image processing,
especially in segmentation
Frequencies

Grey Levels
11
of
32
Histogram Examples
12
of
32
Histogram Examples (cont…)
13
of
32
Histogram Examples (cont…)
14
of
32
Histogram Examples (cont…)
15
of
32
Histogram Examples (cont…)
16
of
32
Histogram Examples (cont…)
17
of
32
Histogram Examples (cont…)
18
of
32
Histogram Examples (cont…)
19
of
32
Histogram Examples (cont…)
20
of
32
Histogram Examples (cont…)
21
of
32
Histogram Examples (cont…)
A selection of images and
Images taken from Gonzalez & Woods, Digital Image Processing (2002)

their histograms
Notice the relationships
between the images and
their histograms
Note that the high contrast
image has the most
evenly spaced histogram
22
of
32
Contrast Stretching
We can fix images that have poor contrast
by applying a pretty simple contrast
specification
The interesting part is how do we decide on
this transformation function?
23
of
32
Histogram Equalisation
Spreading out the frequencies in an image
(or equalising the image) is a simple way to
improve dark or washed out images
The formula for histogram
equalisation is given where sk  T (rk )
  pr ( r j )
– rk: input intensity k

– sk: processed intensity


j 1
– k: the intensity range


(e.g 0.0 – 1.0) k nj
– nj: the frequency of intensity j
– n: the sum of all frequencies j 1 n
24
of
32
Equalisation Transformation Function
25
of
32
Equalisation Examples
1
26
of
32
Equalisation Transformation Functions

The functions used to equalise the images in


Images taken from Gonzalez & Woods, Digital Image Processing (2002)

the previous example


27
of
32
Equalisation Examples
2
28
of
32
Equalisation Transformation Functions

The functions used to equalise the images in


Images taken from Gonzalez & Woods, Digital Image Processing (2002)

the previous example


29
of
32
Equalisation Examples (cont…)
3

4
30
of
32
Equalisation Examples (cont…)
3

4
31
of
32
Equalisation Transformation Functions

The functions used to equalise the images in


Images taken from Gonzalez & Woods, Digital Image Processing (2002)

the previous examples


32
of
32
Summary
We have looked at:
– Different kinds of image enhancement
– Histograms
– Histogram equalisation

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy