kuliah 02 - pengolahan citra digital sampling quantization 2

18
1 Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital Kuliah 02 : Pembentukan Citra Digital (beberapa slide diambil dari catatan kuliah Richard Alan Peters) Yeni Herdiyeni Departemen Ilmu Komputer – IPB Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital 6 February 2013 2 Image Formation projection through lens image of object

Upload: zulkifli-nagh-balitan

Post on 02-Feb-2016

248 views

Category:

Documents


1 download

DESCRIPTION

ppcd

TRANSCRIPT

Page 1: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

1

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Kuliah 02 : Pembentukan Citra Digital (beberapa slide diambil dari catatan kuliah Richard Alan Peters)

Yeni Herdiyeni

Departemen Ilmu Komputer – IPB

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 2

Image Formation

projection through lens

image of object

Page 2: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

2

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

3

Image Sensing and Acquisition

• Other (MRI (Magnetic Resonance Imaging), Ultrasound)

Single Sensor

Line Scan

Array Sensor

6 February 2013

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Jenis Sensor

• CCD (Charge Couple Device)

• CMOS (Complementary Metal Oxide Semi Conductor)

• Infra Red

• X-Ray

• Radar

• MRI (Magnetic Resonance Imaging)

• Radio Telescope

6 February 2013 4

Page 3: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

3

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital Fundamentals

CCD = Charge Couple Device

6 February 2013 5

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital Fundamentals

CCD = Charge Couple Device

6 February 2013 6

Page 4: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

4

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 7

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 8

Persepsi Visual Manusia

Page 5: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

5

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 9

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 10

Page 6: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

6

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 11

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 12

Page 7: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

7

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 13

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 14

Page 8: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

8

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

6 February 2013 15

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Citra : Fungsi Kontinyu

• Citra kontinyu diperoleh dari sistem optik yang menerima sinyal analog, seperti mata manusia, kamera analog

• Citra diskrit/digital : dihasilkan dari proses digitalisasi terhadap citra kontinyu

6 February 2013 16

Page 9: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

9

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Image Sampling

6 February 2013 17

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Tahapan Sampling

6 February 2013 18

Page 10: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

10

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Sampling and Quantization

6 February 2013 19

sampled real image quantized sampled &

quantized

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Sampling and Quantization

6 February 2013 20

sampled real image quantized sampled &

quantized

pixel grid column index

row

index

Page 11: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

11

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Sampling

6 February 2013 21

),( crIS ,CI

continuous image sampled image

Take the average within each square.

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Sampling

6 February 2013 22

),( crIS ,CI

continuous image sampled image

Take the average within each square.

Page 12: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

12

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Sampling

6 February 2013 23

),( crIS ,CI

continuous image sampled image

Take the average within each square.

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Sampling

6 February 2013 24

),( crIS ,CI

continuous image sampled image

Take the average within each square.

Page 13: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

13

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Sampling dan Quantization

6 February 2013 25

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Hasil Sampling dan Quantization

6 February 2013 26

Page 14: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

14

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

27

Spatial Image Resolution: • Resolution

– Ukuran area citra yang direpresentasikan dengan piksel – Different Resolutions are possible (256x256….16x16)

• Lower resolution leads to data reduction!

6 February 2013

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Digital Image

6 February 2013 28

a grid of squares,

each of which

contains a single

color

each square is

called a pixel (for

picture element)

Color images have 3 values per

pixel; monochrome images have 1

value per pixel.

Page 15: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

15

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Pixels

• A digital image, I, is a mapping from a 2D grid of uniformly spaced discrete points, {p = (r,c)}, into a set of positive integer values, {I( p)}, or a set of vector values, e.g., {[R G B]T(p)}.

• At each column location in each row of I there is a value.

• The pair ( p, I( p) ) is called a “pixel” (for picture element).

6 February 2013 29

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Pixels

• p = (r,c) is the pixel location indexed by row, r, and column, c.

• I( p) = I(r,c) is the value of the pixel at location p.

• If I( p) is a single number then I is monochrome.

• If I( p) is a vector (ordered list of numbers) then I has multiple bands (e.g., a color image).

6 February 2013 30

Page 16: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

16

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Pixels

6 February 2013 31

Pixel Location: p = (r , c)

Pixel Value: I(p) = I(r , c) Pixel : [ p, I(p)]

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Pixels

61

43

12

blue

green

red

)( pI

6 February 2013 32

277,272

col,row

,

##

crp

Pixel : [ p, I(p)]

Page 17: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

17

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Tipe citra digital

6 February 2013 33

Citra Biner

Citra Keabuan

Citra Berwarna Citra Indeks

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Ukuran Citra

• Jika diasumsikan sebuah citra biner berukuran 512 x 512, maka jumlah bit yang diperlukan untuk menyimpan citra ini adalah

• 512 x 512 x 1 bit = 262.144 = 32.768 bytes

= 32, 768 Kb = 0.033 Mb (asumsi 1 Kb = 1000 byte).

Bagaimana jika citra berwarna?

6 February 2013 34

Page 18: Kuliah 02 - Pengolahan Citra Digital Sampling Quantization 2

18

Departemen Ilmu Komputer -IPB Pengantar Pengolahan Citra Digital

Elemen Citra Digital

1. Kecerahan (Intensitas Cahaya) 2. Kontras : sebaran terang (lightness) dan gelap

(darkness) di dalam sebuah gambar 3. Kontur : keadaan yang ditimbulkan oleh

perubahan intensitas pada pixelpixel yang bertetangga

4. Warna: persepsi yang dirasakan oleh sistem visual manusia terhadap panjang gelombang cahaya yang dipantulkan oleh objek.

6 February 2013 35