Professional Documents
Culture Documents
VN ImageProcessing4 ImageEnhancement (PointProcessing)
VN ImageProcessing4 ImageEnhancement (PointProcessing)
Ci thin nh (X l im nh)
2 of 41
Ni dung
Trong phn ny, chng ta s tm hiu cc k thut ci thin nh thao tc im nh:
Th no l x l im nh? nh o Ct ngng Bin i BLogarithmic Power law transforms Grey level slicing Bit plane slicing
3 of 41
4 of 41
X l im nh
Cc thao tc min khng gian n gin nht xy ra khi ln cn cng l chnh l im nh Trong trng hp ny T c xem nh hm chuyn i mc xm hoc thao tc x l im nh Cc thao tc x l im nh c dng s=T(r) vi s l im nh x l, r l im nh ban u
5 of 41
V d x l im nh: nh o
nh o hu ch cho vic ci thin cc chi tit mu trng hay mu xm nm trong vng ti ca nh
M trong nh o di y r rng hn
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Original Image
s = 1.0 - r
Negative Image
6 of 41 Original Image
V d x l im nh: nh o (tt)
x Enhanced Image
Image f (x, y)
Image f (x, y)
s = intensitymax - r
7 of 41
V d x l im nh: ct ngng
Ct ngng rt hu ch vi phn on nh: chng ta mun c lp mt i tng so vi nn
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
s=
8 of 41 Original Image
Image f (x, y)
Image f (x, y)
s=
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
9 of 41
Chuyn i sng
10 of 41
C s chuyn i xm
C nhiu kiu chuyn i xm khc nhau Ba kiu hay dng
Tuyn tnh
Negative/Identity
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Logarithmic
Log/Inverse log
Lut hm m
nth power/nth root
11 of 41
Bin i Logarithmic
Dng tng qut ca bin i log l s = c * log(1 + r) Bin i log nh x vng hp cc mc sng u vo thnh vng rng cc mc sng u ra Bin i log ngc thc hin chuyn i ngc li
12 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
s = log(1 + r)
13 of 41 Original Image
Image f (x, y)
Image f (x, y)
s = log(1 + r)
Ta thng thit lp c=1 Cc mc xm trong phm vi [0.0, 1.0]
14 of 41
Bin i hm m
Cc bin i ly tha c dng sau s=c*r nh x phm vi hp cc gi tr xm u vo sang phm vi rng hn cc gi tr u ra hoc ngc li Thay i cho ta h ng cong
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
15 of 41 Original Image
Bin i hm m (tt)
x Enhanced Image
Image f (x, y)
Image f (x, y)
s=r
Ta thng thit lp c=1 Cc mc xm trong phm vi [0.0, 1.0]
16 of 41
V d bin i hm m
17 of 41
V d bin i hm m (tt)
= 0.6
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Old Intensities
Transformed Intensities
18 of 41
V d bin i hm m (tt)
= 0.4
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Original Intensities
Transformed Intensities
19 of 41
V d bin i hm m (tt)
= 0.3
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Original Intensities
Transformed Intensities
20 of 41
V d bin i hm m (tt)
Hnh nh bn phi cho ta nh cng hng t ca bnh nhn b gy ct sng
s = r 0.4
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
s = r 0.6
21 of 41
V d bin i hm m
22 of 41
V d bin i hm m (tt)
= 5.0
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Original Intensities
Transformed Intensities
23 of 41
Bin i hm m (tt)
nh ng bng chp t trn khng Bin i hm m c s dng lm ti nh Cc ng cong khc khau hin th cc chi tit khc nhau
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
s = r 3.0
s = r 4.0
24 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
25 of 41
26 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
27 of 41
Ct lt xm (slicing)
Lm ni mt vng xm
Tng t nh ct ngng Cc mc khc c th b loi b hoc gi nguyn Rt hu ch lm ni cc chi tit trong nh
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
28 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
29 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
[01000000]
[00100000]
[00001000]
[00000100]
[00000001]
30 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
31 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
32 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
33 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
34 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
35 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
36 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
37 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
38 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
39 of 41
40 of 41
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
41 of 41
Tm tt
Chng ta tm hiu cc kiu ci thin nh khc nhau thao tc ln bit