Documente Academic
Documente Profesional
Documente Cultură
2.2 GLCM based features A test image s j is assigned a weight of 1 for Ti for each of
A set of features derived from four directional normalized the following conditions i.e. its average GLCM feature value
symmetrical GLCMs have been considered here for texture lies within the boundary values of the training set
characterization viz. GLCM Contrast ( GC ), GLCM
Homogeneity ( GH ), GLCM Mean ( GM ) and GLCM t G C ,max,i ≥ s G C , j ≥ t G C ,min,i ;
Variance ( GV ), as defined below. If Gi , j represents the t G H ,max,i ≥ s G H , j ≥ t G H ,min,i ; (8)
element (i , j ) of a normalized symmetrical GLCM, and N the t G
M ,max,i ≥s G
M,j ≥t G
M ,min,i ;
number of grey levels, G G G
t V ,max, i ≥s V,j ≥t V ,min, i
N N
GLCM Contrast : GC = ∑∑ G
i =1 j =1
i , j (i − j )2 (1)
A cumulative weight is calculated over all the four features for
all texture classes being satisfied,
N N
Gi , j
GLCM Homogeneity : GH = ∑∑ 1 + (i − j)
i =1 j =1
2
(2) s j → Ta (ωa ), Tb (ωb ), Tc (ωc ),... (9)
Ci , j
1 1 0 0 x1 x1 + x2 ℜi , j = (16)
1 0 0 1 1 x2 1 x3 + x4
(12)
Ci ,i .C j , j
W4 . X = . =
2 1 −1 0 0 x3 2 x1 − x2
The Wavelet combined feature coefficient is computed as,
0 0 1 −1 x4 x3 − x4
The texture image is decomposed using a Haar Wavelet with A test image s j is assigned a weight of 3 for texture class
3-level decomposition producing following coefficients Ti = {t1 , t2 ,..., tn }i if the its Wavelet coefficient satisfies the
B, H1 ,V1 , D1 , H 2 , V2 , D2 , H 3 ,V3 , D3 . A set of covariance
following condition,
matrices CH1 , CV1 , CD1 , CH 2 , CV2 , CD2 , CH 3 , CV3 , CD3 , are
computed from the detail coefficients where the covariance tW max,i ≥ sW j ≥ t W min,i ; (20)
The test image is then mapped to all the corresponding texture Table 1. GLCM feature values for training set
classes, if present, otherwise a class ‘×’ (not determinable). GLCM Contrast
Class M1(0°) M2(60°) M3(120°) M4(200°)
Bark 360.4260 345.9385 359.7232 339.0615
s j → Ta , Tb , Tc ... (21) Brick 171.4014 179.7685 179.1377 175.1867
Bubbles 324.1034 293.0699 303.2612 321.4721
Grass 1039.9392 1095.8114 929.5233 915.6591
Leather 606.2629 688.7820 685.9577 617.8599
3 Experimentations Pigskin 159.1169 155.6181 153.2743 155.5879
Raffia 159.8644 156.6128 163.4152 170.4513
3.1 Experimental data set Sand 206.6703 210.7270 210.4654 199.5545
Straw 518.4739 547.8408 601.9059 468.5335
Water 90.8227 101.7042 106.4616 92.6248
Texture samples, from the texture database of the Signal Weave 237.4043 236.5369 242.4293 240.1944
and Image Processing Institute, Electrical Engineering Wood 139.8697 167.2208 170.6442 154.4942
Department, University of Southern California, available at : Wool 151.1335 167.9083 177.1072 168.6971
http://sipi.usc.edu/database which in turn have been derived GLCM Homogeneity
from the Brodatz texture database [14], are divided into 13 Class M1(0°) M2(60°) M3(120°) M4(200°)
Bark 0.0851 0.0849 0.0857 0.0852
categories : bark (D12), brick wall (D94), plastic bubbles
Brick 0.1308 0.1268 0.1261 0.1229
(D112), grass (D9), pressed calf leather (D24), pigskin (D92),
Bubbles 0.1185 0.1161 0.1145 0.1267
raffia (D84), beach sand (D29), straw (D15), water (D38),
Grass 0.1002 0.1064 0.0723 0.0776
herringbone weave (D16), wood grain (D68), woolen cloth Leather 0.0578 0.0598 0.0576 0.0579
(D19) (Fig. 1) Pigskin 0.1095 0.1102 0.1108 0.1103
Raffia 0.1305 0.1276 0.1261 0.1244
Sand 0.1171 0.1162 0.1158 0.1175
Straw 0.0778 0.0801 0.0726 0.0823
Water 0.1414 0.1341 0.1308 0.1380
Weave 0.0959 0.0951 0.0939 0.0946
Wood 0.1967 0.1750 0.1705 0.1756
Wool 0.1053 0.1018 0.0991 0.1008
GLCM Mean
Class M1(0°) M2(60°) M3(120°) M4(200°)
Bark 115.0996 114.9565 114.6904 116.3093
Brick 135.8444 134.2834 133.7450 130.8294
Bubbles 79.9512 83.1068 80.3026 75.9412
Grass 91.0985 89.9808 97.4626 96.1444
Fig. 1. Texture classes – bark, brick, bubbles, grass, leather, Leather 90.2151 87.9846 86.7322 88.5559
pigskin, raffia, sand, straw, water, weave, wood, wool Pigskin 124.7919 126.4490 127.1529 126.9458
Raffia 146.2553 146.1539 144.3226 142.9006
3.2 Training phase Sand 129.5074 128.9377 128.7284 127.5578
Straw 108.9450 106.0127 109.9567 109.9994
For each category four member images have been used with Water 117.4929 118.4285 118.8861 120.4955
rotated at angles 0°, 60°, 120° and 200° angles, making a total Weave 163.8639 164.0402 162.3184 161.3729
of 52 images in the training data set. The rotated images for Wood 173.9048 172.5351 171.6212 169.8766
the “brick” texture class are shown in Fig. 2. Wool 139.0376 137.4516 131.4930 133.2385
GLCM Variance
Class M1(0°) M2(60°) M3(120°) M4(200°)
Bark 1961.0157 1921.0227 2003.0859 1931.3037
Brick 966.9865 971.2114 938.6290 894.7406
Bubbles 1830.1217 1760.9854 1731.7169 1848.4516
Grass 2498.5069 2568.9421 2203.1034 2252.6238
Fig 2. Images of “brick” texture class rotated at angles 0°, Leather 1530.4422 1686.3230 1688.2279 1552.9396
60°, 120° and 200° Pigskin 570.5229 573.3804 567.6617 583.0772
Raffia 665.4577 690.9592 705.9475 724.4272
Sand 747.9029 754.5747 730.4221 707.7082
For GLCM based classification, four directional GLCMs are
Straw 1959.2034 2059.4452 1934.5117 1873.3372
computed for each member image and for each GLCM four Water 298.0885 306.9169 322.4701 311.3212
features i.e. GLCM Contrast, GLCM Homogeneity, GLCM Mean Weave 691.4132 681.5290 697.8408 696.7245
and GLCM Variance are computed, which are then averaged over Wood 474.4028 528.3040 530.6977 527.7685
the four directional GLCMs (Table 1). Wool 665.0775 683.7700 718.7822 693.4032
Each texture class is now mapped to the boundary values of
the texture features of its member images (Table 2).