Features Extraction Using A Gabor Filter Family
Features Extraction Using A Gabor Filter Family
cn
H(u, v; f, θ)
√ (2)
= 2 πσ1 σ2 exp (− 21 (σ12 (S1 − f )2 + σ22 S22 ) Figure 2. The frequency response of a Gabor filter.
140
中国科技论文在线 http://www.paper.edu.cn
and
1 1
+ ≥ fk−1 − fk . (11)
σ1 (fk−1 ) σ1 (fk )
From eq.(10), we can draw c2 ≤ 2M π , and here we se-
lect c2 = 16
π ≈ 5.0930 which is same to design 1. From
eq.(11), we can draw c1 ≤ 3 and select c1 = 3. Fig.5 and
fig.6 show this Gabor filter family and some of its mem-
Figure 3. The pass bands and frequency responses of a bers.
Gabor filter family, where θm = mπ π
8 , fk = 1.4886k and
5.0930
σ(fk ) = fk .
(a)
mπ
Figure 5. Another Gabor filter family, where θm = 8 ,
fk = 2πk , σ1 (fk ) = f3k and σ2 (fk ) = 5.0930
fk .
(b)
141
中国科技论文在线 http://www.paper.edu.cn
filters with f0 , f1 , f2 , · · · are [ π2 , π], [ π4 , π2 ], [ π8 , π4 ], · · ·, re- • The orientation in which the local has the maximum
spectively. If the central frequency f is cut down a half, energy can be taken as a feature, too.
the bandwidth will be cut down a half, too. And the coeffi-
cients of the Gabor filter decomposition can be done with a F4 (x, y) = k,
radix-2 decimation. where F3 (x, y; θk ) = max {F3 (x, y; θm )}.
m=0∼2
Only design 3 is used in the rest of this paper. (16)
There are some other features that can be extracted
3 Feature Extraction using the Gabor filter family and not enumerated here. And
we can apply one, or several combination of these features
The Gabor filter family captures the whole frequency spec- in our works.
trum, both amplitude and phase. For Gabor feature extrac-
tion, we convolve the image I with every Gabor filter of the
Gabor filter family at every pixel (x, y) as eq.(12) 4 Experiments
F3 (x, y; θm ) = F2 (x, y; f0 , θm )2
+ 41 F2 (b x2 c, b y2 c; f1 , θm )2 (15)
1
+ 16 F2 (b x4 c, b y4 c; f2 , θm )2 Figure 9. The F2 features of two texture images.
In eq.(15), F2 (f0 , θm ) is a X Y
2 × 2 image, and
X Y
F2 (f1 , θm ) is a 4 × 4 image, and F2 (f2 , θm ) is a These features indicate the energy distribution of ev-
X Y X Y
8 × 8 image. The result F3 (θm ) is a 2 × 2 image, ery image: the top image has a very strong energy at 0 and
π
so each pixel of F2 (f1 , θm ) is split into 4 pixels and 2 orientations; the bottom has about equal energy at every
each pixel of F2 (f2 , θm ) is split into 16 pixels equally. orientation.
142
中国科技论文在线 http://www.paper.edu.cn
5 Conclusions
If we want to segment out these textures from other
A Gabor filter family is very similar to a wavelet family,
images, we can first select out some Gabor filters corre-
and the most difference between them is the mode of de-
sponding to those stronger features from the Gabor filter
composing the 2-D frequency domain: the former is circle
family, then convolve the image with the selected Gabor
mode, but the latter is square mode. And thus Gabor fil-
filters, and then add up all the outputs of the Gabor filters,
ters have the orientation characteristics. We have designed
thus the areas that contain the target texture will have the
three Gabor filter families and discussed the differences in
strongest responses in the image, finally we can segment
them, and we commend the third one to users. Using Ga-
out the texture areas from the output easily. For example,
bor filter family, users can extract out many features in the
we can find that the elements V[4] and V[16] in the left vec-
image, such as feature F1 , F2 , F3 and F4 .
tor are much larger than those in the right vector in fig.10,
The three experiments above demonstrate that these
so we use the two relevant Gabor filters to segment out
features extracted using the Gabor filter family well repre-
one texture from the mixed-texture image. Ouput(x, y) =
sent the contents in the image. And these features can be
F2 (x, y; f0 , θ4 )2 + 161
F2 (b x4 c, b y4 c; f2 , θ0 )2 .
used in our practical applications. The parameters of the
For illuminating the performance of this texture seg-
Gabor filter family are preset and are not necessarily opti-
mentation method, we show the results by using one Gabor
mal for a particular task.
filter (F2 (f2 , θ0 )) and multi Gabor filters (F2 (f0 , θ4 ) and
F2 (f2 , θ0 )) comparatively in fig.11. The latter result is bet-
ter. References
[1] John G. Daugman, Complete Discrete 2-D Gabor
Transforms by Neural Networks for Image Analysis
and Compression, IEEE Trans. on Acoustics, Speech
and Signal Processing, 36(7), 1988, 1169-1179.
143
中国科技论文在线 http://www.paper.edu.cn
144