• Tidak ada hasil yang ditemukan

Pengantar Pengolahan Citra Digital (KOM 421) – 3(2-3)

N/A
N/A
Protected

Academic year: 2018

Membagikan "Pengantar Pengolahan Citra Digital (KOM 421) – 3(2-3)"

Copied!
28
0
0

Teks penuh

(1)

Kuliah 01:

Pendahuluan

Yeni Herdiyeni

Departemen Ilmu Komputer IPB

Semester Ganjil 2008

Pengantar Pengolahan Citra Digital

(KOM 421)

3(2-3)

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Topik

Tujuan Instruksional Umum:

Mahasiswa mampu menjelaskan, mengolah dan

menganalisis citra digital.

Deskripsi:

(2)

Buku Bacaan:

Gonzalez, R. C., Woods, R. E., Eddins, Steven. 2004.

Digital Image

Processing Using Matlab

. Prentice Hall. (BUKU UTAMA)

Alasdair McAndrew. 2004.

Introduction to Digital Image Processing with

Matlab

. Thomson Course Technology, USA.

Acharya, Tinku dan Ray, A.K. 2005.

Image Processing. Principles and

Applications

. A John Wiley and Sons, Inc., Publication

Russ, John. C. 2007.

The Image Processing Handbook, Fifth Edition

. Taylor

& Francis Group, LLC

Umbaugh, S.C. 1999.

Computer Vision and Image Processing. A Practical

Approach using CVI Tools

. Prentice Hall PTR.

Rastislav Lukac dan Konstantinos. 2007.

Color Image Processing. Methods

and Applications

. Taylor & Francis Group, LLC

Pitas, I. Digital Image Processing Algorithm. 1993. Prentice Hall

Bahan bacaan lain yang relevan

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Pengajar

Yeni Herdiyeni

Aziz Kustiyo

Sony Hartono (Praktikum)

Komponen Penilaian

UTS

UAS

Tugas

Quiz

(3)

Materi Kuliah

Pertemuan 1 : Pendahuluan

Pertemuan 2 : Citra Digital dan Matlab

Pertemuan 3 : Pengolahan Titik

Pertemuan 4 : Restorasi Citra

Pertemuan 5 : Image Enhancement

Pertemuan 6 : Pengolahan Warna

Pertemuan 7 : Transformasi Citra pada ruang

frekuensi (

Fourier Transformation

)

Ujian Tengah Semester

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Materi Kuliah #2

Pertemuan 8 : Transformasi Citra pada ruang frekuensi

(Wavelet Transformation)

Pertemuan 9 : Deteksi tepi (

edge detection

)

Pertemuan 10 : Segmentasi Citra

Pertemuan 11 : Morfologi Citra

Pertemuan 12 : Pemampatan Citra (

Image Compression

RLE, Huffman Code

)

Pertemuan 13 : Pemampatan Citra JPEG

Pertemuan 14 : Pengenalan Pola (

Pattern Recognition

)

(4)

DIP

astronomy

seismology

inspection

autonomous

navigation

reconnassaince

& mapping

remote

sensing

surveillance

microscopy

radiology

robotic assembly

digital library

ultrasonic

imaging

radar,

SAR

meteorology

internet

Applications of Digital Image Processing (DIP)

From Prof. Alan C. Bovik

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

(5)

27 August 2008 9 1999-2007 by Richard Alan Peters II

Image Formation

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Image Formation

projection

through lens

(6)

27 August 2008 11 1999-2007 by Richard Alan Peters II

Image Formation

projection onto

discrete sensor

array.

digital camera

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Image Formation

sensors register

average color.

(7)

27 August 2008 13 1999-2007 by Richard Alan Peters II

Image Formation

continuous colors,

discrete locations.

discrete

real-valued image

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Digital Image Formation: Quantization

continuous color input

d

is

cr

e

te

col

o

r o

u

tp

u

t

(8)

27 August 2008 15 1999-2007 by Richard Alan Peters II

Sampling and Quantization

pixel grid

sampled

real image

quantized

sampled &

quantized

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Digital Image

a grid of squares,

each of which

contains a single

color

each square is

called a pixel (for

picture element

)

(9)

original

+ gamma

- gamma

- brightness

+ brightness

original

+ contrast

- contrast

histogram EQ

histogram mod

Pengolahan Titik

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

original

blurred

sharpened

(10)

27 August 2008 19 1999-2007 by Richard Alan Peters II

Spatial Filtering

bandpass

filter

unsharp

masking

original

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Spatial Filtering

bandpass

filter

unsharp

masking

original

(11)

27 August 2008 21 1999-2007 by Richard Alan Peters II

Motion Blur

vertical

regional

zoom

rotational

original

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

color noise

blurred image

color-only blur

(12)

27 August 2008 23 1999-2007 by Richard Alan Peters II

5x5 Wiener filter

color noise

blurred image

Noise Reduction

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Noise Reduction

original

periodic

noise

(13)

27 August 2008 1999-2007 by Richard Alan Peters II 25

Color Images

Are constructed from three

intensity maps.

Each intensity map is pro-jected

through a color filter (

e.g.,

red,

green, or blue, or cyan,

magenta, or yellow) to create a

monochrome image.

The intensity maps are overlaid

to create a color image.

Each pixel in a color image is a

three element vector.

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Color

Image

s On a

(14)

27 August 2008 27 1999-2007 by Richard Alan

Peters II

Color Processing

requires some

knowledge of how

we see colors

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Eye’s Light Sensors

(15)

27 August 2008 29 1999-2007 by Richard Alan Peters II

Color Sensing / Color Perception

These are approximations of the responses to the visible spectrum of the

“red”, “green”, and “blue”

receptors of a typical human eye.

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

These are approximations of the responses to the visible spectrum of the

“red”, “green”, and “blue”

receptors of a typical human eye.

The simultaneous red + blue

response causes us to

perceive a continuous range

of hues on a circle. No hue is

greater than or less than any

other hue.

(16)

27 August 2008 31 1999-2007 by Richard Alan Peters II

lu

m

in

a

n

ce

hue

sa

tu

ra

tio

n

photo receptors

brain

The eye has 3 types of photoreceptors:

sensitive to red, green, or blue light.

The brain transforms RGB into separate

brightness and color channels (

e.g.

, LHS).

Color Sensing / Color Perception

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Color Perception

all bands

luminance

chrominance

red

green

blue

16

×

pixelization of:

(17)

27 August 2008 33 1999-2007 by Richard Alan Peters II

all bands

luminance

chrominance

red

green

blue

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Color Balance

and Saturation

Uniform changes in color

components result in change of

tint.

E.g.,

if all G pixel values are multiplied by

(18)

27 August 2008 35 1999-2007 by Richard Alan Peters II

Color Transformations

        218 222 222         185 222 222         114 122 17         106 227 236         103 171 240         160 171 240         171 121 17         166 230 240                           171 121 17 114 122 17                           218 222 222 185 222 222                           160 171 240 103 171 240                           166 230 240 106 227 236

Image aging: a transformation,

, that mapped:

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

The 2D Fourier Transform of a Digital Image

 

1 1

 

2

0 0

,

,

,

ur vc i R C R C u v

I r c

u v e

 

 

  

 

  

I

 

1 1 2

1

0 0

( , )

ur vc

R C i

R C RC

r c

u,v

I r c e

 

     

 

 

I

Let I(r,c) be a single-band (intensity) digital image with R

rows and C columns. Then, I(r,c) has Fourier representation

where

are the R

x C

Fourier coefficients.

(19)

27 August 2008 37 1999-2007 by Richard Alan Peters II

2D Sinusoids:

orientation

... are plane waves with

grayscale amplitudes, periods in

terms of lengths, ...

 





sin

1

R

cos

C

2

cos

2

,

c

r

A

c

r

I

A

= phase shift

r

c

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

2D Sinusoids:

... specific orientations,

and phase shifts.

r

c

r

(20)

27 August 2008 39 1999-2007 by Richard Alan Peters II

The Value of a Fourier Coefficient …

… is a complex

number with a

real part and an

imaginary part.

If you represent

that number as a

magnitude,

A

, and

a phase,

, …

..these represent the amplitude

and offset of

the

sinusoid with

frequency

w

and direction

.

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

(21)

27 August 2008 41 1999-2007 by Richard Alan Peters II

I

|

F

{I}

|

[

F

{I}]

The Fourier Transform of an Image

magnitude

phase

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Continuous Fourier Transform

The continuous Fourier

transform assumes a

continuous image exists

in a finite region of an

infinite plane.

 

 

 

 

 

 

u

v

e

dudv

c

r

i2(ucvr)

,

,

I

I

 

 

 

 

 

 

r

c

e

dcdr

v

u

i2 (ucvr)

,

I

,

I

(22)

27 August 2008 43 1999-2007 by Richard Alan

Peters II

Discrete Fourier Transform

The discrete Fourier

transform assumes a

digital image exists on a

closed surface, a torus.

 

           1 0 2 1 0

)

(

I

C u R vr C uc i R v

e

u,v

r,c

I

 

 

           1 0 2 1 0

,

I

,

C c R rv C cu i R r

e

c

r

v

u

I

The BoingBoing Bloggers

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Convolution

r16,c16

r0,c0

r16,c16

 

r16,c16

r16,c16

Sum times 1/5

(23)

27 August 2008 45 1999-2007 by Richard Alan Peters II

Convolution Property of the Fourier Transform

The Fourier Transform of a

product equals the convolution of

the Fourier Transforms. Similarly,

the Fourier Transform of a

convolution is the product of the

Fourier Transforms

.

by

computed

be

can

n

convolutio

spatial

a

Then,

tion

multiplica

pointwise

represents

n

convolutio

represents

.

}

{

M oreover,

.

}

{

Then,

).

,

(

and

)

,

(

Transforms

Fourier

have

)

,

(

and

)

,

(

functions

Let

1

G

F

g

f

G

F

g

f

G

F

g

f

v

u

G

v

u

F

c

r

g

c

r

f

-

F

F

F

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

(24)

Boundary Detection

Finding the Corpus Callosum

(G. Hamarneh, T. McInerney, D. Terzopoulos)

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Nonlinear Processing: Binary Morphology

“L” shaped SE

O marks origin

Foreground: white pixels

Background: black pixels

(25)

27 August 2008 49 1999-2007 by Richard Alan Peters II

Image Compression

Yoyogi Park, Tokyo, October 1999. Photo by Alan Peters.

Original image is

5244w x 4716h @

1200 ppi:

127MBytes

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

Image Compression: JPEG

JP

E

G

q

u

al

ity

le

vel

Fi

le

si

ze

in b

y

(26)

27 August 2008 51 1999-2007 by Richard Alan Peters II

JP

E

G

q

u

al

ity

le

vel

Fi

le

si

ze

in b

y

tes

Image Compression: JPEG

Departemen Ilmu Komputer -IPB

Pengantar Pengolahan Citra Digital

(27)
(28)

Classification

Referensi

Dokumen terkait

Uji statistik model meliputi koefisien determinasi (R²) untuk mengukur seberapa baik garis regresi sesuai dengan data, data analisis regresi linier berganda

Penelitian lain yang dilakukan untuk mengevaluasi efek pembukaan jalan arteri Porong terhadap volume kendaraan harian di jalan tol Waru-Gempol [4], Namun pada

Corak tafsir atau warna dari kitab Tafsir Ayat-ayat Hukum ini dari namanya jelas bercorak fiqih atau hukum. Tafsir fiqih ialah tafsir yang berusaha mengambil

Dalam Putusan N0.1931/ K/Pid/2009 Hakim telah sesuai dengan teori keadil an yang berlaku di Indone sia yakni hukum positif at au tertulis yang terdapat d alam Kitab Undang-

terutama yang berhubungan dengan citra merek dan kepuasan konsumen serta loyalitas pelanggan sehingga bisa mempertahankan jumlah pelanggan dan bisa meningkatkan

Kampas rem cakram kendaraan bermotor terbaik yang memenuhi spesifikasi dipasaran adalah kampas rem dengan ukuran partikel silika 100 mesh (U 2 ), yaitu ketahanan aus 0,286 cm 3

Tema Laporan Keberlanjutan Jasa Marga tahun ini, yaitu “Keberlanjutan Inovasi untuk Pertumbuhan yang Berkelanjutan” menggambarkan semangat dan komitmen Perseroan dalam

Dan analisis daerah bahaya gunungapi, diperoleh tingkat kerentanan tiap-tiap bentuk lahan terhadap bencana Gunungapi Slamet yang dikelaskan ke dalam tiga tingkat, yaitu