Grey Level (?)

Nama : Izma Alhudya Ahmad
NIM : 15110362

Soal :
A
200
100
100
100
0
200
50
50
150
0
200
0
50
50
50
200
100
100
100
100
B
50
50
50
50
10
100
150
200
10
100
150
200
10
100
150
200
10
100
150
200

Lakukan Image Enchantment dengan :
a.       Image Negative
b.       Tambah Kecerahan 25% (point operation)
c.       Image Substraction dengan Citra A & Citra B
d.       Lakukan gabung Citra A & B
Jawab :
a.       S       = -r + L – l
S       = L – l – r
LA      = 200
LB      = 200
SA     = 200 – 255 – r               SB     = 200 – 255 - r
         = -55 – r                                     = -55 – r
Sehingga Gray Output =
A
-255
-155
-155
155
-55
-255
-105
-105
-205
-55
-255
-55
-105
-105
-105
-255
-155
-155
-155
-155
B
-105
-105
-105
-105
-65
-155
-205
-255
-65
-155
-205
-255
-65
-155
-205
-255
-65
-155
-205
-255

b.       Point Operation
PO = r * 25%
Output
A
50
25
25
25
0
50
13
13
38
0
50
0
13
13
13
50
25
25
25
25
B
12,5
12,5
12,5
12,5
2,5
25
37,5
50
2,5
25
37,5
50
2,5
25
37,5
50
2,5
25
37,5
50





c.       Image Subtraction
A - B
Output
A - B
150
50
50
50
-10
100
-100
-150
140
-100
50
-200
40
-50
-100
0
90
0
-50
-100

d.       Gabung
A + B
Output
A + B
250
150
150
150
10
300
200
250
160
100
350
200
60
150
200
400
110
200
250
300

0 komentar:

Posting Komentar

Kagamine Rin Len Playlist


MusicPlaylistView Profile
Create a playlist at MixPod.com