Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

PENGOLAHAN CITRA

/ IMAGE
PROCESSING

Dosen : Hendy William Sino, S.Kom, M.T

PERTEMUAN
3
JENIS CITRA
BERDASARKAN WARNA
CITRA DIGITAL

Citra / gambar yang ditangkap melalui perangkat digital

Objek Sampling Quantization Digital Image


CITRA DIGITAL = MATRIX
RESOLUSI CITRA

200x300 80x120 40x60


0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 1 0 0
0 1 1 1 0 1 1 1 0
0 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 0
0 0 1 1 1 1 1 0 0
0 0 0 1 1 1 0 0 0
0 0 0 0 1 0 0 0 0
Yang dilihat manusia 0 0 0 0 0 0 0 0 0

Yang dilihat komputer


FORMAT WARNA

Citra RGB Citra Grayscale Citra Biner


24-Bit Color 8-Bit Color 1-Bit Color
16 Juta Warna 256 Warna 2 Warna
RGB
8 Bit

8 Bit

8 Bit
GRAYSCALE

8 Bit
BINNER

0 1

1 Bit
RGB
RGB

Matrix Red Matrix Green Matrix Blue


RGB

Matrix RGB
RGB to Grayscale

G = (0.299 x R) + (0.587 x G) + (0.114 x B)


RGB to Grayscale

G = (0.299 x R) + (0.587 x G) + (0.114 x B)

G = 76.245 + 149.685 + 29.07

G = 255

255 255 255 255

59 59 59 59

G = 20.93 + 29.35 + 9.12


G = 59.4
Grayscale to Biner
Grayscale to Biner

128

0
Grayscale to Biner

40

0
Grayscale to Biner

200

0
KUIS
Rubah matrix Red Green dan Blue dibawah kedalam matrix grayscale

255 255 255 180 180 0 0 0 0 0 128 128 128 128 128
80 80 80 80 80 45 45 45 45 45 80 80 80 80 80

Matrix Red Matrix Green Matrix Blue

You might also like