• Tidak ada hasil yang ditemukan

Digital Image Processing: Digital Imaging Fundamentals

N/A
N/A
Protected

Academic year: 2018

Membagikan "Digital Image Processing: Digital Imaging Fundamentals"

Copied!
59
0
0

Teks penuh

(1)

Course Website: http://www.comp.dit.ie/bmacnamee

DIGITAL IMAGE PROSESSING

Pertemuan-06

Dosen :Kundang K Juman

(2)

Course Website: http://www.comp.dit.ie/bmacnamee

Digital Image Processing:

Digital Imaging Fundamentals

(3)

3 of

42

Contents

This lecture will cover:

– The human visual system

– Light and the electromagnetic spectrum – Image representation

– Image sensing and acquisition

(4)

4 of

42

Human Visual System

The best vision model we have!

Knowledge of how images form in the eye can help us with processing digital images We will take just a whirlwind tour of the

(5)

5 of

42

Structure Of The Human Eye

The lens focuses light from objects onto the retina

The retina is covered with light receptors called

cones (6-7 million) and

rods (75-150 million)

Cones are concentrated around the fovea and are very sensitive to colour

Rods are more spread out

and are sensitive to low levels of illumination

(6)

6 of

42

Blind-Spot Experiment

Draw an image similar to that below on a

piece of paper (the dot and cross are about 6 inches apart)

Close your right eye and focus on the cross with your left eye

(7)
(8)

8 of

42

Image Formation In The Eye

Muscles within the eye can be used to

change the shape of the lens allowing us focus on objects that are near or far away

An image is focused onto the retina causing rods and cones to become excited which

(9)

9 of

42

Brightness Adaptation & Discrimination

The human visual system can perceive approximately 1010 different light intensity

levels

However, at any one time we can only discriminate between a much smaller number – brightness adaptation

Similarly, the perceived intensity of a region is related to the light intensities of the

(10)

10 of 42

Brightness Adaptation & Discrimination

(cont…)

An example of Mach bands

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(11)

11 of 42

Brightness Adaptation & Discrimination

(cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(12)

12 of 42

Brightness Adaptation & Discrimination

(cont…)

An example of simultaneous contrast

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(13)

13 of 42

Brightness Adaptation & Discrimination

(cont…)

(14)

14 of 42

(15)

15 of

42

Optical Illusions

Our visual

systems play lots of interesting

(16)

16 of

(17)

17 of

42

Optical Illusions (cont…)

Stare at the cross in the middle of

(18)

18 of 42

Mind Map Exercise: Mind Mapping

For Note Taking

Beau Lotto: Optical Illusions Show How We See

(19)

19 of 42

Light And The Electromagnetic

Spectrum

Light is just a particular part of the

electromagnetic spectrum that can be sensed by the human eye

(20)

20 of

42

Reflected Light

The colours that we perceive are determined by the nature of the light reflected from an

object

For example, if white light is shone onto a green object most wavelengths are

absorbed, while green light is reflected from the object

White Light

Colours Absorbed

(21)

21 of

42

Sampling, Quantisation And Resolution

In the following slides we will consider what is involved in capturing a digital image of a real-world scene

– Image sensing and representation – Sampling and quantisation

(22)

22 of

42

Image Representation

col

row

f (row, col)

Before we discuss image acquisition recall that a digital image is composed of M rows and N columns of pixels

each storing a value Pixel values are most often grey levels in the range 0-255(black-white) We will see later on

that images can easily be represented as

(23)

23 of

42

Image Acquisition

Images are typically generated by

illuminating a scene and absorbing the

energy reflected by the objects in that scene

– Typical notions of illumination and

scene can be way off:

• X-rays of a skeleton • Ultrasound of an

unborn baby

• Electro-microscopic images of molecules

(24)

24 of

42

Image Sensing

Incoming energy lands on a sensor material responsive to that type of energy and this

generates a voltage

Collections of sensors are arranged to capture images

Imaging Sensor

Line of Image Sensors Array of Image Sensors

(25)

25 of

42

Image Sensing

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

)

(26)

26 of

42

Image Sampling And Quantisation

A digital sensor can only measure a limited number of samples at a discrete set of

energy levels

Quantisation is the process of converting a

continuous analogue signal into a digital representation of this signal

(27)

27 of

42

Image Sampling And Quantisation

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(28)

28 of

42

Image Sampling And Quantisation

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(29)

29 of 42

Image Sampling And Quantisation

(cont…)

(30)

30 of

42

Image Representation

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(31)

31 of

42

Image Representation

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(32)

32 of

42

Image Representation

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(33)

33 of

42

Image Representation

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(34)

34 of

42

Spatial Resolution

The spatial resolution of an image is

determined by how sampling was carried out Spatial resolution simply refers to the

smallest discernable detail in an image

– Vision specialists will often talk about pixel size

– Graphic designers will

talk about dots per

inch (DPI)

5.1

Megapixel

(35)

35 of

42

Spatial Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(36)

36 of

42

Spatial Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(37)

37 of

42

Spatial Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(38)

38 of

42

Spatial Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(39)

39 of

42

Spatial Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(40)

40 of

42

Spatial Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(41)

41 of

42

Spatial Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(42)

42 of

42

Intensity Level Resolution

Intensity level resolution refers to the

number of intensity levels used to represent the image

– The more intensity levels used, the finer the level of detail discernable in an image

– Intensity level resolution is usually given in terms of the number of bits used to store each intensity level

Number of Bits Number of Intensity Levels Examples

1 2 0, 1

(43)

43 of

42

Intensity Level Resolution (cont…)

128 grey levels (7 bpp) 64 grey levels (6 bpp) 32 grey levels (5 bpp)

16 grey levels (4 bpp) 8 grey levels (3 bpp) 4 grey levels (2 bpp) 2 grey levels (1 bpp) 256 grey levels (8 bits per pixel)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(44)

44 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(45)

45 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(46)

46 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(47)

47 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(48)

48 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(49)

49 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(50)

50 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(51)

51 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(52)

52 of

42

Saturation & Noise

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(53)

53 of

42

Resolution: How Much Is Enough?

The big question with resolution is always

how much is enough?

– This all depends on what is in the image and what you would like to do with it

– Key questions include

• Does the image look aesthetically pleasing? • Can you see what you need to see within the

(54)

54 of 42

Resolution: How Much Is Enough?

(cont…)

(55)

55 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

)

(56)

56 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(57)

57 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(58)

58 of

42

Intensity Level Resolution (cont…)

Im

a

g

e

s

ta

ke

n

f

ro

m

G

o

n

za

le

z

&

W

o

o

d

s,

D

ig

ita

l I

m

a

g

e

P

ro

ce

ss

in

g

(

2

0

0

2

(59)

59 of

42

Summary

We have looked at:

– Human visual system

– Light and the electromagnetic spectrum – Image representation

– Image sensing and acquisition

– Sampling, quantisation and resolution

Referensi

Dokumen terkait

1 Research mainly for detection of bottle cap, through the image preprocessing and precise processing to solve the human visual error rate and contingency, realized based on

At the end of this project, the expected result is getting some information from the 2D-DFT and reconstructs data to contour plot of the image that can categorize

EXTRACTING POLARIZATION INFORMATION A basic but efficient technique to obtain the state of polarization of incident light is to capture three different intensity images through a

The input color coordinates of each pixel are independently transformed into another set of color coordinates, where the image in each coordinate is enhanced by its own

Typically, three models are used: a three dimensional kinematic or three-dimensional model that provides accurate information about the skeleton of the human body and skin information..

The format supports a range of grayscale, indexed, and true color images, but also special image types with large-depth integer and floating-point elements.. A TIFF file can contain a

Table 1 The growth performance and survival rate of the juvenile meagre Argyrosomus regius tested with different levels of light source, photoperiod, and light intensity and reared

Recap: Image Enhancement in Spatial Domain Local Histogram Equaliza2on x Local Neighborhood Intensity at x is changed considering the local histogram in a neighborhood region