DNT MQP
DNT MQP
Abstract This paper ideates a new computationally ture representation than other local feature descriptors.
simple and effective local image feature descriptor, re- The effectiveness of DNT-QP is evaluated on sixteen
ferred to as Directional Neighborhood Topologies based challenging representative well-known texture datasets
Multi-scale Quinary Pattern (DNT-MQP) for texture and it is found that it maintains a high level of perfor-
description and classification. The essence of DNT-MQP mance stability where the achieved performances are
is to encode the structure of local neighborhood by an- competitive or better than several recent most promis-
alyzing the differential excitation and directional infor- ing state-of-the-art texture descriptors. Furthermore,
mation using various directional neighborhood topolo- statistical hypothesis testing through Wilcoxon signed
gies and new pattern encoding scheme. We first de- rank test is applied to prove the statistical significance
signed four different versions of single scale DNT-QP of the accuracy improvement obtained in all the datasets.
features based on four directional neighborhood topolo-
Keywords Texture classification · Texture recog-
gies based sampling sets which are then combined to-
nition · Texture descriptors · LBP · Local feature
gether to build the effective multiscale DNT-MQP model.
extraction.
Unlike some existing parametric methods that employ
static thresholds to perform thresholding, the construc-
tion process of DNT-MQP includes an automatic mech- 1 Introduction
anism for dynamic thresholds estimation. Thanks to a
richer local description ensured by exploiting comple- The surface of objects and materials such as crops in
mentary information resulting from single scale DNT- a field, natural scenes, human faces, palmprint, human
QP operators’ combination, DNT-MQP descriptor has skin and many others have their own distinctive tex-
high capability to elicit stable and discriminative fea- ture. The texture analysis, which permit to provide con-
structive information about the structural and spatial
E. Rachdi · Y. El merabet · R. Messoussi
Laboratoire LASTID, Département de Physique, Faculté
arrangement of surfaces, has been extensively studied in
des Sciences, Université Ibn Tofail, BP 133, 14000 Kénitra, the past few years and received considerable attention
Maroc. E-mail: [email protected], y.el-merabet@univ- in many various research subjects such as pattern recog-
ibntofail.ac.ma, [email protected] nition, computer vision and image processing. Texture
M. Abdar classification is suitable for many potential applications
Institute for Intelligent Systems Research and Inno- for instance face classification and recognition, back-
vation (IISRI), Deakin University, Australia. E-mail:
[email protected]
ground subtraction, iris recognition, palmprint recog-
nition, pedestrian detection, biomedical image analysis
M.E. Basiri
Department of Computer Engineering, Shahrekord Univer-
and image retrieval.
sity, Shahrekord 64165478, Iran. E-mail: [email protected] In the literature, there are many approaches available
D. Zhang
for texture analysis with excellent surveys given in [1].
School of Science and Engineering, The Chinese University One can cite human perception-based features [13], ran-
of Hong Kong - Shenzhen, 407605 Shenzhen, China. E-mail: dom features [11], filter-based techniques like Gaussian
[email protected] Markov random fields [9], Gabor [2] and wavelet [10],
2 E. Rachdi et al.
co-occurrence matrix-based approaches [3], ranklet trans- computes two micro patterns from the local relation-
form based approaches [12], fractal analysis based ap- ships by encoding relations amongst the neighbors in
proaches [16], Texton dictionary-based [14], etc. The quadruple space. In another study in [42] presented
method proposed in [5] uses Fourier descriptors to ex- the center symmetric quadruple pattern (CSQP) de-
tract texture feature in spectrum domain. Even though scriptor for facial image retrieval and recognition. As
these above approaches, which take advantage of the for LQPAT, CSQP encodes the facial asymmetry in
merits of spectral and statistical features, ensure im- quadruple space. CSQP computes an eight-bit pattern
proving the ability of texture representation and mod- from 16 pixels in the local neighborhood. Issam et al.
eling, their demerits lie in the fact that they increase [46] proposed local directional ternary pattern (LDTP)
the computation cost in extracting features. Therefore, for texture classification. LDTP, which exploits both
local feature extraction methods have been proposed LDP’s and LTP’s concepts, encodes both contrast in-
and have additionally and impressively been employed formation and directional pattern features in a compact
in texture analysis field. The main advantages of the way based on local derivative variations. Kas et al. [45]
local hand-crafted descriptors are the simplicity in de- proposed mixed neighborhood topology cross decoded
sign and not dependent upon a large volume of training patterns (MNTCDP) for face recognition. MNTCDP
data [36]. adopts 5×5 block which allows combining radii (2) and
Among the local feature extraction approaches, local bi- angles (4) compared to 3×3 block supporting only an-
nary pattern (LBP) developed by Ojala et al. [4], have gle variation.
brightened up as one of the most eminent texture de- The best position of hand-crafted descriptors has been
scriptor and has gained more attention over the past dominated by LBP-like methods for more than a decade.
decades. LBP as an effective texture descriptor is, in The need to design an effective local texture descrip-
fact, highly appreciated by researchers due to its dis- tor with high discrimination capability is no longer to
tinctive advantages including its simplicity, its well in- be demonstrated. Indeed, the development of methods
variability to monotonic gray level changes and its suit- based on local texture descriptors in pattern recogni-
ability for real time applications due to its low comput- tion continue to be designed still today, e.g., median lo-
ing cost. The LBP method, even if originally designed cal ternary patterns (MLTP) [41], averaged local binary
for texture modeling and classification, it showed con- patterns (ALBP) [47], repulsive-and-attractive local bi-
siderable performance in a wide range of applications nary gradient contours (RALBGC) [43], local concave-
like medical and biomedical images analysis, motion de- and-convex micro-structure (LCCMSP) [40], attractive-
tection, image retrieval, face and facial description and and-repulsive center-symmetric local binary patterns
recognition, background subtraction, etc. Despite these (ARCS-LBP) [51], multi-direction local binary pattern
merits, the basic LBP descriptor has some limitations (MDLBP) [52], quaternionic local angular binary pat-
[40] : (1) the output is very sensitive even if to small tern (QLABP) [49], selectively dominant local binary
change in the input; (2) it is not invariant to image ro- patterns (SDLBP) [50], chess pattern (Chess-pat) [48],
tation; (3) based on the employed thresholding scheme, synchronized rotation local ternary pattern [35], Pat-
it is highly susceptible to noise interference; etc. In or- tern of Local Gravitational Force (PLGF) [36] and so
der to deal with these limitations and thus enhance the on.
classification performance of LBP, a great number of Even though LBP and its modifications and extensions
improved LBP algorithms have been proposed in re- achieve satisfactory performance, still an alternative tech-
cent years [17, 54, 18, 19, 45]. The authors in [20] pro- nique to enhance the discriminative power in an image
vided an exhaustive investigation and comprehensive for effective texture modeling and representation is es-
experiments assessing the performance of a great num- sential. In this paper, aiming at the further enhance-
ber of old and recent state-of-the-art texture descriptors ment of texture classification performance and keep-
in face recognition problem. Shiv et al. [44] designed ing the simplicity and effectiveness of the traditional
local wavelet pattern (LWP) descriptor for medical im- LBP and addressing its feebleness, we design a con-
age retrieval. LWP performs local wavelet decomposi- ceptually simple and yet robust model of LBP, named
tion over local neighborhood of pixels to encode the directional neighborhood topologies based multi-scale
relation among the neighboring pixel. The LWP pat- quinary pattern (DNT-MQP). The designed texture op-
tern for the central pixel is computed by comparing erator has basically the following merits: As it will be
its local wavelet decomposed value with those of the shown further, DNT-MQP has low computational com-
neighboring pixels. Chakraborty et al. [38] introduced plexity and by offering highly-desirable features improves
the local quadruple pattern (LQPAT) descriptor for us- both the discriminative capability of LBP-like methods
ing in facial image retrieval and recognition. LQPAT and their invariance to monotonic illumination changes
Directional Neighborhood Topologies based Multi-scale Quinary Pattern for Texture Classification 3
I3×3
m,n = a4 ac a0 (1)
– An automatic mechanism for dynamic thresholds
a5 a6 a7
estimation for quinary pattern creation process is
proposed.
– A family of single scale descriptors named direc- ap is the gray levels of the peripheral pixels (p ∈ {0, 1,
tional neighborhood topologies based single-scale quinary. . . , P-1}). P=8 is the number of local neighbors.
pattern (DNT-QP) is developed based on several di-
rectional neighborhood topologies (DNT) which are
more effective for image texture understanding and
analysis that large number of existing methods.
2.1 Traditional Local Binary Patterns
– We further extend the obtained single scale DNT-
QP descriptors to incorporate multiscale by con-
LBP method [4] characterizes the local spatial struc-
catenating them into a single vector feature to build
ture and the local contrast of each 3×3 local region in
the effective directional neighborhood topologies based
the image by thresholding the intensity of surround-
multi-scale quinary pattern (DNT-MQP) descriptor
ing pixels ap ; p ∈ {0, 1, ..., 7} with the intensity of the
which should be more robust and stable.
central pixel ac . The value of ap is turned into binary
– For performance evaluation, we restrict ourselves to
value 1; otherwise, it is turned into 0. A code of 8 bits
texture classification as basic application of LBP.
is obtained which is transformed into decimal number
Extensive experiments on sixteen challenging pub-
to get the LBP code. Formally, for a 3×3 local region,
licly available texture database is performed.
the definition of the kernel function of LBP operator is
– We provide a fair and systematic comparison and
shown in the equation below:
found that the designed texture operator shows su-
perior performance to 23 recent powerful state-of-
the-art texture descriptors.
P−1
X
3×3
The rest of the paper is organized as follows. Section 2 fLBP (Im,n ) = ϑ(ap − ac ) × 2p (2)
p=0
briefly introduces some typical existing texture descrip-
tors. Section 3 presents the designed DNT-MQP de-
scriptor. Comprehensive experimental results and com- where ϑ(·) is the Heaviside step function (cf. Eq.
parative evaluation are given in Section 4. Section 5 (3)).
concludes the study and presents some solid future re-
search directions.
1, if x >= 0
ϑ(x) = (3)
0, otherwise
2 Review of the Existing Representative Figure 1 shows the standard steps illustrating the
Texture Methods process of the LBP feature extraction as well as the
quantification of the difference between two texture im-
In this part of study, we briefly introduce some of rep- ages using LBP like features.
resentative texture methods reported in the literature,
our paper’s core idea, contributions and organization.
Given that the designed local texture descriptor is based
on local kernel functions, it is appropriate to define 2.2 Local Quinary Patterns (LQP)
the spatial arrangement of the local structure used in
this paper. In this work, the choice was focused on In local quinary patterns (LQP) [13], the difference of
the use of the 3×3 sized block given its easiness-of- the gray level value between the central pixel ac and its
implementation consideration and which is by far the neighboring pixels ap is encoded according to five levels
most required neighborhood especially in real-time ap- (i.e., 2, -1, 0, 1 and 2) calculated using two thresholds
plications. The mathematical presentation of the set of τ1 and τ2 . The LQP is thus closely relevant to the LTP
gray-scale values of a 3×3 grayscale image patch I3×3 m,n [21], the only difference being that the number of coding
around the central pixel ac of coordinates (m,n) is given levels is five in the LQP while in the LTP it is three.
4 E. Rachdi et al.
7
X
77
79
82
70
61
75 3×3
3×3square
square
35 25 88
LQP+1 (I3×3
m,n ) = ϑ(ap −ac −τ1 )×ϑ(ac −ap +τ2 ) ×2p
neighborhood 69 55 42
neighborhood p=0
69 64 79 80 80 91
(7)
1 1 0 0 0 1
Pixel
PixelIntensity
Intensity
1 1 comparison 1 0
comparison
0 0 1 1 1 1
7
X
Binary code: 11011001
Decimal:217
Computation
Computationofof
LBP-Code
Binary code: 00101111
Decimal:47 LQP+2 (I3×3
m,n ) = ϑ(ap − ac − τ2 ) × 2p (8)
LBP-Code
p=0
Texture
Texturedifference
difference
quantification
quantification
2.3 Improved Local Quinary Patterns (ILQP)
Fig. 1: The standard steps for quantification of the Armi et al. [32] proposed the improved local quinary
difference between two texture images using LBP like patterns (ILQP) to overcome some disadvantages of
features. LQP and thus improve its performance. The definition
of the local quinary pattern in ILQP is the same as in
the LQP operator. By contrast, the thresholds τ1 and
τ2 are dynamically defined. τ1 and τ2 are computed as:
The quinary model is divided into four binary models
according to the following rule:
τ1 = median(|lmadmedian(lmad)|); (10)
+2 ap > ac + τ2 , where lmad = {LocalM ADk |k = 1, 2, ..., M × N },
LocalM AD = median(|Gmedian(G)|) and G = {ap |p =
+1 ac + τ1 6 ap < ac + τ2 ,
0; 1; ...; P 1}
ϕLQP (ap , ac , τ1 , τ2 ) = 0 ac − τ1 6 ap < ac + τ1 ,
−1 a c − τ2 6 ap < ac − τ1 ,
N X M
1
−2 Otherwise ,
X
τ2 = LSVi,j ; (11)
M × N i=1 j=1
(4)
where τ1 and τ2 are two user-specified parameters. where LSVPP −1is the local significant value given by
1
The LQP operator, by using the LTP’s concept, splits LSVc = P p=0 (|ac − ap |). The quinary pattern can
each quinary pattern into four parts: LQP−2 , LQP−1 , be divided into the four local binary patterns as follows:
LQP+1 and LQP+2 which can be computed as fol-
lows(cf. Eqs. 12, 13, 14 and 15): 7
X
ILQP−2 (I3×3
m,n ) = ϑ(ac − ap − τ2 ) × 2p (12)
p=0
7
X
LQP−2 (I3×3
m,n ) = ϑ(ac − ap − τ2 ) × 2p (5)
p=0 7
X
ILQP−1,−2 (I3×3
m,n ) = ϑ(ap − ac + τ2 ) × ϑ(ac − ap − τ1 )
p=0
7
X
LQP−1 (I3×3
m,n ) = ϑ(ap −ac +τ2 )×ϑ(ac −ap −τ1 ) ×2p | ϑ(ac − ap − τ2 ) × 2p
p=0
Directional Neighborhood Topologies based Multi-scale Quinary Pattern for Texture Classification 5
SS1 = {(aµ , aµe ), (aS0 , aS1 ), (aS2 , aS3 ), {(ak , ak+4 )}}
(22) SRL
τ1 = {(ax , ay ) ∈ SS1 | (ax 6 ac −τ1 ) & (ay 6 ac +τ1 )}
(26)
a3 a2 a1 a3 a2 a1 a3 a2 a1 a3 a2 a1
a4 ac a0 a4 ac a0 a4 ac a0 a4 ac a0 SRL
τ2 = {(ax , ay ) ∈ SS2 | (ax 6 ac −τ2 ) & (ay 6 ac +τ2 )}
a5 a6 a7 a5 a6 a7 a5 a6 a7 a5 a6 a7 (28)
Direction 3 π Direction π Direction π Direction 0 It is acknowledged that the related information of
4 2 4
a3 a2 a1 a3 a2 a1 a3 a2 a1 a3 a2 a1
the locality structure can be provided using posi-
tive and negative responses. The proposed descrip-
a4 ac a0 a4 ac a0 a4 ac a0 a4 ac a0
tor splits then, by using the LQP’s concept, each
a5 a6 a7 a5 a6 a7 a5 a6 a7 a5 a6 a7 quinary pattern into four distinct parts: two nega-
Direction π Direction 3 π Direction 5 π Direction 7 π tive (i.e., lower) and two positive (i.e., lower) parts
4 4 4 4 to generate four binary codes. With this convention,
the four thresholding functions that permit to ob-
Fig. 2: The adjacent neighbor relation for each of the tain the two lower and the two upper codes can be
8 neighbors. (Top) the four sets of directional expressed in the following ways (cf. Eqs. 29, 30, 31
center-symmetric neighboring pixels and (Down) the and 32):
four sets of directional peripheral neighboring pixels.
1, if (ax , ay ) ∈ SRU
τ1
δ+1 (ax , ay ) = (29)
0, otherwise
– STAGE #2 (Pattern encoding): The local texture
relationship between each couple of pixels within
1, if (ax , ay ) ∈ SRL
both sampling sets SS1 and SS2 and the central τ1
δ−1 (ax , ay ) = (30)
pixel, is encoded using a threshold values based LQP 0, otherwise
Directional Neighborhood Topologies based Multi-scale Quinary Pattern for Texture Classification 7
1, if (ax , ay ) ∈ SRU
X
τ2 hESRL (k1 ) = b SRL (I3×3 ), k1 )
δ(E (38)
δ+2 (ax , ay ) = (31) τ1 τ 1
m,n
0, otherwise I3×3
m,n
1, if (ax , ay ) ∈ SRL
X
τ2 hESRU (k2 ) = b SRU (I3×3 ), k2 )
δ(E (39)
δ−2 (ax , ay ) = (32) τ m,n
0, otherwise τ2
I3×3
2
m,n
ESRUτ (I3×3 6
e) × 2 +
m,n ) = δ+1 (aµ , aµ
1 1, if α = β
1 3 δ(α,
b β) = (41)
X
5−k
X
k
0, otherwise
δ+1 (aS2k , aS2k+1 ) × 2 + δ+1 (ak , ak+4 ) × 2
k=0 k=0 – STAGE #4 (Multi-scale scheme): At present, the
(33) histograms from single scale analysis realized with
the four directional binary dual-cross encoders ESRUτ ,
1
3×3
ESRLτ (Im,n ) = δ−1 (aµ , aµe ) × 2 +6 E SRL
τ1
, ESRUτ and ESRLτ cannot meet the require-
2 2
1
ments for ultimate recognition score.
1 3
X X Taking into consideration that various features have
δ−1 (aS2k , aS2k+1 ) × 25−k + δ−1 (ak , ak+4 ) × 2k
k=0 k=0
various capabilities to demonstrate images and to
(34) make them more robust to scale variations, the richer
detailed texture information can be captured by multi-
scale fusion operation that consists of performing
ESRUτ (I3×3
m,n ) = δ+2 (aµ , aµe ) × 25 + a linear combination of these features. In current
2
we propose to define locally and dynamically both pa- Algorithm 1: Computing DNT-MQP descrip-
rameters τ1 and τ2 for quinary pattern creation pro- tor
cess of our method. For that, we consider a local image Require: I ← input grayscale image IM ×N .
patch of size 3 × 3 and the neighbor to center difference Output: hDNT-MQP ← the multi-scale histogram feature.
denoted as df3×3 (cf. Eq. 43) is first calculated. Then, 1: Calculate the average global gray levels aµe of the whole
mean−
the mean of all negative difference values df3×3 and image IM ×N using Eq. 19
mean+ 2: Calculate the median of the grey-scale values a%e of the
the mean of all positive difference values df3×3 are
whole image IM ×N .
calculated from the df3×3 set using Eq. 44.
3: for Each image pixel ac of IM ×N do
4: Consider a local square window I3×3
m,n of dimension
3 × 3 around ac .
df3×3 = [a1 − ac , a2 − ac , ..., a7 − ac ] (43)
5: Calculate the neighbor to center difference df3×3 and
then calculate both dynamic thresholds τ1 and τ2
using Eq. 45.
6: Calculate the average directional gray levels aSk and
pv nv
mean + 1 X + mean − 1 X − aSek according to both sets Sk and Sek (cf. Eqs 16 and
df3×3 = dfk df3×3 = |dfk | 17) using Eqs. 20 and 21.
pv nv
k=1 k=1 7: Calculate (using Eqs. 33, 34, 35 and 36, respectively):
(44) – ESRU (I3×3
m,n ) ← the upper directional binary code
τ1
based on thresholding function δ+1 and
where dfk+ and dfk− are, respectively, the positive associated to the set of pixels relationship SRUτ1 .
and negative difference values in the df3×3 set, pv is – ESRL (I3×3
m,n ) ← the lower directional binary code
τ1
the number of dfk+ elements and nv is the number of based on thresholding function δ−1 and
dfk− elements (pv + nv = P). Finally, both parameters associated to the set of pixels relationship SRLτ1 .
τ1 and τ2 are measured using the following equation (cf. – ESRU (I3×3
m,n ) ← the upper directional binary code
τ2
mean +
mean −
mean +
mean − based on thresholding function δ−2 and
|df3×3 − df3×3 | df3×3 + df3×3 associated to the set of pixels relationship SRL
τ1 = τ = τ2 .
+ −
mean , df mean ) 2 mean , df mean− )
+
max(df3×3 3×3 min(df3×3 3×3 8: end for
(45) 9: Calculate (using Eqs. 37, 38, 39 and 40, respectively):
– hESRU ← histogram feature of ESRU code map.
τ1 τ1
The pseudo-code of the proposed DNT-MQP de- – hESRL ← histogram feature of ESRL code map.
τ1 τ1
scriptor is illustrated in algorithm 1. – hESRU ← histogram feature of ESRU code map.
τ2 τ2
As a LBP and LQP texture operators variant, the de- 11: return hDNT-MQP
signed DNT-MQP descriptor preserves the same mer-
its concerning the invariance with the monotonic light-
ing change as well as the low complexity. Furthermore, It is easy to observe that DNT-MQP carries more infor-
DNT-MQP presents other merits that are discussed mation than those of the other descriptors which per-
herein below. mit to DNT-MQP to have better discriminative abil-
Compared to some recent state-of-the-art texture ity compared to LQPAT, LCCMSP and ARCSLBP.
descriptors like LQPAT [38], LCCMSP [40] and ARC- Moreover, the histograms of both images using DNT-
SLBP [51], which suffer from an inborn defect of LBP, MQP are considered as not similar since the distance
DNT-MQP descriptor can better describes local tex- (using L1-city block distance) between the two sam-
ture characteristics of the image with lower computa- ples, which is 1.1298 is higher compared to LQPAT,
tional complexity. In order to visually show the effec- LCCMSP and ARCSLBP where thier measured dis-
tiveness of the coding strategy of DNT-MQP, we illus- tances which are respectively 0.6173, 0.6924 and 0.7119,
trate in Figure 3 examples of histogram based-matching can be considered similar (lower than those obtained
of two sample texture images, selected from USPTex by DNT-MQP). To further highlight its effectiveness,
database and belonging to two distinct texture classes DNT-MQP is applied on various challenging represen-
using DNT-MQP, LQPAT, LCCMSP and ARCSLBP. tative texture datasets in the Section 4.
Directional Neighborhood Topologies based Multi-scale Quinary Pattern for Texture Classification 9
ing set, and the remaining 50% of the samples are re-
garded as the testing set. The samples of the test set
are then classified through the parameter-free nearest-
neighbor rule (1-NN) with L1-city block distance. We
repeat each experiment 100 times to remove any bias
related to the division of the dataset and the averaged
results are considered as estimated accuracies. In what
follows, the texture datasets considered in the experi-
ments are first presented and the obtained experimental
results are then discussed.
Table 1: Summary of texture descriptors tested and compared with our proposed descriptors.
No. Name Classes Samples Total samples Sample resolution Image format Predefined
per class (pixels) train/test sets?
1 USPtex 191 12 2292 128×128 Colour (PNG) No
2 Brodatz 13 16 208 256×256 Monochrome (TIFF) No
3 KTH-TIPS2b 11 16 176 100×100 Monochrome (PNG) No
4 MondialMarmi 12 64 768 136×136 Monochrome (BMP) No
5 OuTeX TC 00000 24 20 480 128×128 Monochrome (RAS) Yes
6 OuTeX TC 00001 24 88 2112 64×64 Monochrome (RAS) Yes
7 OuTeX TC 00013 68 20 1360 128×128 Colour (BMP) No
8 CUReT 61 92 5612 200×200 Monochrome (PNG) No
9 KTH-TIPS 10 4 40 100×100 Monochrome (PNG) No
10 NewBarkTex 06 68 1632 64×64 Colour (BMP) No
11 Jerry Wu 39 4 156 256×256 Monochrome (BMP) No
12 Bonn BTF 10 16 160 200×200 and 64×64 Monochrome (JPEG) No
13 2D HeLa 10 20 200 Variable Monochrome (TIFF) No
14 XUH 25 40 1000 1280×960 Monochrome (PNG) No
15 Kylberg 28 160 4480 576×576 Monochrome (BMP) No
16 MBT 154 16 2464 160×160 Colour (TIFF) No
are mostly poor or at least lowest than the other including USPtex, MondialMarmi, KTH-TIPS2b, Ou-
evaluated descriptors. TeX TC 00013, NewBarkTex, 2D HeLa and MBT
– Results indicate that, except operators like LDENP, (datasets 1, 3, 4, 7, 10, 13, and 16 in Tables 3 and 4).
LDV, DC and EU LLTP which perform poorly, all The overall classification accuracy achieved on Ou-
the other evaluated methods show promising results TeX TC 00013, NewBarkTex, 2D HeLa and MBT
on Brodatz database (dataset 2 in Table 3) where are below 90%. It is worth mentioning that in this
their achieved score are above 96%. Descriptors like study the 1-NN classifier was used for classifica-
LDZP, KLBP, ILQP, RALBGC, LCCMSP, ARCS- tion but more complicated machine learning algo-
LBP , LDTP, MNTCDP as well as the designed rithms such as support vector machine (SVM) and
DNT-MQP operator manage to differentiate all classes extended nearest neighbor (ENN) may improve the
perfectly (score equal to 100%) on Brodatz database, overall performance.
leaving then essentially no room for improvement. – It is evident from the results reported in Table 3
This remark is also true for KTH-TIPS database that none of the evaluated methods ensure obtain-
(dataset 9 in Table 3) where DNT-MQP as well as ing satisfactory classification results over all the six-
several evaluated state-of-the-art descriptors man- teen tested datasets. Considering for example the
age to differentiate all classes perfectly. DC descriptor, it performs nicely on Brodatz, KTH-
– It can be found that there is a notable performance TIPS (it gets a score of 100%) and Kylberg datasets
drop for all the tested operators on several datasets but shows poor performance on the others tested
Directional Neighborhood Topologies based Multi-scale Quinary Pattern for Texture Classification 11
Table 3: Average classification accuracy. The last two columns represent, respectively, the global average
performance (GAP) and the mean standard deviation of each method over all the datasets.
Datasets
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
DNT- DNT- DNT- DNT- DNT- DNT- DNT- LETRIST DNT- DNT- LETRIST LETRIST SBP2 SBP2 DNT- LNDP
MQP MQP MQP MQP MQP MQP MQP MQP MQP MQP
LETRIST LCCMSP ILQP MNTCDP LCCMSP LCCMSP ARCS- SBP2 LCCMSP LCCMSP DNT- MNTCDP ARCS- DNT- LETRIST RALBGC
LBP MQP LBP MQP
SBP2 KLBP LCCMSP ARCS- MNTCDP MNTCDP LCCMSP DNT- LETRIST ILQP ARCS- SBP2 MRELBP LETRIST ARCS- DNT-
LBP MQP LBP LBP MQP
LCCMSP ILQP RALBGC LCCMSP LETRIST ILQP SBP2 LCCMSP LDEBP RALBGC MNTCDP LDTP LETRIST MRELBP MRELBP KLBP
ILQP RALBGC ARCS- RALBGC RALBGC ARCS- LETRIST ARCS- DC KLBP MRELBP MRELBP DNT- ARCS- SBP2 ILQP
LBP LBP LBP MQP LBP
RALBGC LDZP KLBP ILQP LQPAT RALBGC MNTCDP RALBGC KLBP ARCS- LDEBP DNT- LCCMSP LCCMSP LCCMSP LCCMSP
LBP MQP
ARCS- LDTP MNTCDP SBP2 LDTP LDTP RALBGC MRELBP ILQP LQPAT SBP2 ARCS- RALBGC ILQP LDEBP LQPAT
LBP LBP
MNTCDP MNTCDP SBP2 LETRIST ARCS- KLBP MRELBP CALP LNDP CALP CSQP LOOP DC RALBGC RALBGC CALP
LBP
KLBP LETRIST MRELBP KLBP MDLBP LETRIST LDEBP LDTP CSQP LNDP LDTP ILQP MNTCDP MNTCDP MDLBP LDZP
LDEBP LOOP LDTP MRELBP ILQP LDEBP LDTP KLBP RALBGC LDTP LCCMSP RALBGC LDTP LDEBP CALP LDEBP
MRELBP LNDP LETRIST LDTP KLBP LNIP ILQP LNDP LOOP LDEBP ILQP LCCMSP ILQP KLBP KLBP LOOP
LDTP LDEBP LNDP LDZP LOOP LDZP KLBP ILQP ARCS- MNTCDP RALBGC KLBP LOOP LDTP ILQP LNIP
LBP
LNDP MRELBP LDZP LNIP LNDP LOOP LQPAT LOOP LDTP LOOP KLBP LDZP LDEBP LOOP DC ARCS-
LBP
LOOP LQPAT LDEBP LDEBP LDEBP LQPAT LOOP LQPAT MNTCDP EU LLTP LNDP MDLBP CALP LNDP LNDP LDTP
LQPAT CSQP LOOP LQPAT CSQP SBP2 CALP LDEBP LDZP CSQP LQPAT CALP LQPAT DC LOOP CSQP
LNIP SBP2 LQPAT LNDP LNIP MDLBP LNIP CSQP MDLBP LNIP LOOP CSQP KLBP LQPAT LDTP LETRIST
CALP ARCS- LNIP LOOP CALP MRELBP LNDP LNIP LQPAT LDZP LNIP LQPAT LNDP MDLBP MNTCDP MNTCDP
LBP
CSQP LNIP CALP MDLBP SBP2 CSQP CSQP LDZP SBP2 MDLBP LDZP LDV CSQP CSQP LQPAT SBP2
LDZP DC CSQP CALP LDZP LNDP MDLBP MNTCDP LNIP SBP2 CALP LNDP MDLBP CALP CSQP MRELBP
MDLBP CALP DC CSQP MRELBP CALP LDZP MDLBP CALP MRELBP DC EU LLTP LDENP LNIP LNIP MDLBP
EU LLTP EU LLTP EU LLTP EU LLTP EU LLTP EU LLTP DC DC MRELBP LETRIST MDLBP DC LNIP EU LLTP EU LLTP EU LLTP
DC MDLBP MDLBP DC LDENP DC EU LLTP EU LLTP EU LLTP LDENP EU LLTP LDEBP EU LLTP LDZP LDZP LDENP
LDV LDV LDENP LDENP LDV LDENP LDENP LDV LDENP LDV LDENP LDENP LDZP LDV LDV LDV
LDENP LDENP LDV LDV DC LDV LDV LDENP LDV DC LDV LNIP LDV LDENP LDENP DC
Table 4: Ranking results on each tested dataset. The proposed texture operator is highlighted in shadow.
datasets. We can express the same remark for many of around 23.86%) realized with the top 1 descrip-
other evaluated methods. LETRIST descriptor which tor (i.e., the proposed DNT-MQP descriptor). The
is ranked as the 4th best descriptor as will be shown same comment is true for many other methods such
later, it allows achieving good classification results as CSQP, LOOP, LDEBP and so on.
on the majority of the considered datasets but its – It can also be seen in Tables 3 and 4 that DNT-MQP
weaknesses appeared in classifying the images of the realizes a performance that is competitive or better
NewBarkTex dataset as the achieved score drops than all the evaluated state-of-the-art descriptors.
dramatically and is about 63% vs 86.98% (difference Furthermore, according to literature review it can
12 E. Rachdi et al.
be found that DNT-MQP universally is among one 24 evaluated texture descriptors considered in this ex-
of the best descriptors in terms of overall accuracy periment on the sixteen used texture datasets. Table
as it achieves outstanding classification outcomes on 5 gathers the obtained ranking results according to the
nearly all the selected datasets. The striking perfor- normalized number of victories (number of wins/(number
mance of NT-MQP can be judged by the fact that of tested datasets*(number of tested descriptors - 1)))
it realizes the highest global average performance achieved by each evaluated method on all the tested
(GAP) against all the evaluated methods. datasets. It is easy to observe from the results shown
– Noticeably, considering the ranking between the tested in Table 5 that the designed DNT-MQP operator is
descriptors within each used dataset (cf. Table 4), clearly the best performing descriptor in comparison
DNT-MQP stands out as the best descriptor as it with the evaluated state-of-the-art methods, which cor-
performs consistently and significantly the best for roborate all the result analysis extracted from Tables 3
ten texture datasets: USPtex, Brodatz, KTH-TIPS2b, and 4. Remarkably, the normalized number of victo-
MondialMarmi, OuTeX TC 00000, OuTeX TC 00001, ries achieved by DNT-MQP is 0.87228 vs. 0.75815 with
OuTeX TC 00013, KTH-TIPS, NewBarkTex and LCCMSP (top 2nd ), vs. 0.74185 with ARCS-LBP (top
Kylberg datasets (1-7, 9, 10, and 15, respectively). 3th ), vs. 0.70924 with LETRIST (top 4th ), vs. 0.70652
Furthermore, it is in the top 3 methods on four with RALBGC (top 5th ) vs. 0.65217 with ILQP (top
tested datasets. It is interesting to note that when 6th ), etc. Particularly, if we consider the classification
DNT-MQP does not achieve the highest specific scores performance of ARCS-LBP (the best second descrip-
(i.e., it is not the top texture descriptor), it provides tor) as baseline, DNT-MQP texture operator provides
an interesting competitive average performance com- about 15.05% improvement over the sixteen tested tex-
pared to the score yielded by the top one texture op- ture datasets.
erator. Considering for example Bonn BTF dataset
(number 12) where DNT-MQP has the sixth-highest Ranking 1-NN Texture descriptor Victories/ Dimension
average performance (i.e., ranked at the 6th posi- comparisons
1 DNT-MQP 0.87228 384
tion), it allowed to reach a score of 99.25% which is 2 LCCMSP 0.75815 2046
3 ARCS-LBP 0.74185 256
considered as very satisfactory classification result 4 LETRIST 0.70924 413
5 RALBGC 0.70652 1022
(very close to the score of the descriptors ranked 6 ILQP 0.65217 1024
7 MNTCDP 0.63043 2048
before it: 100% for the top one). 8 SBP2 0.62500 400
9 LDTP 0.57065 1022
10 KLBP 0.56793 1280
Considering the above discussions, it can be noticed 11
12
MRELBP
LDEBP
0.54076
0.49457
200
64
that the designed DNT-MQP operator shows a signif- 13 LOOP 0.42935 256
14 LNDP 0.42663 256
icant performance stability over the evaluated state- 15 LQPAT 0.42120 512
16 CALP 0.34239 192
of-the-art texture methods on almost all the consid- 17 LDZP 0.30435 354
18 CSQP 0.29348 256
19 LNIP 0.27174 512
ered datasets. Indeed, DNT-MQP has lower oscillation 20 MDLBP 0.26902 256
21 DC 0.18207 225
of performance as it keeps a consistent performance 22 EU LLT P 0.12228 32
23 LDENP 0.03804 15
throughout various texture databases while most of the 24 LDV 0.03804 512
literature methods oscillate. The performance stability
can also be confirmed by the fact that DNT-MQP has Table 5: Ranking outcomes based on the normalized
achieved the lowest mean standard deviation, corrob- number of victories achieved by each applied method
orating to its robustness against any bias related to on all the used datasets after applying the
the division of the datasets. These indicate that the Wilcoxon-based ranking test.
combination of single scale DNT-QP features helped to
construct a texture operator that performs better on a
wide selection of various texture datasets.
433.5
420.4
407.9
lution gray-scale and rotation invariant texture classifi-
cation with local binary patterns. IEEE Trans. Pattern
TIME (IN MINUTES)
67
28.7
27.5
24.1
45
21.7
20.8
19.9
17.1
16.5
13.8
12.6
10.3
20. Kas, M., El-merabet, Y., Ruichek, Y., Messoussi, R. 38. Chakraborty, S., Singh, S. K., & Chakraborty, P. (2017).
(2019). A comprehensive comparative study of hand- Local quadruple pattern: A novel descriptor for facial im-
crafted methods for face recognition LBP-like and non age recognition and retrieval. Computers & Electrical En-
LBP operators. Multimedia Tools and Applications, 1- gineering.
39. 39. Verma, M., & Raman, B. (2017). Local neighborhood dif-
21. X. Y.Tan , B. Triggs , Enhanced local texture feature ference pattern: A new feature descriptor for natural and
sets for face recognition under difficult lighting condi- texture image retrieval. Multimedia Tools and Applica-
tions, IEEE Trans. Image Process. 19 (6) (2010) 1635- tions, 1-24.
1650. 40. El-merabet, Y., Ruichek, Y. (2018). Local concave-and-
22. Banerjee, P., Bhunia, A. K., Bhattacharyya, A., Roy, P. convex micro-structure patterns for texture classification.
P., Murala, S. (2018). Local Neighborhood Intensity Pat- Pattern Recognition, 76, 303-322.
tern–A new texture feature descriptor for image retrieval. 41. Ji, L., Ren, Y., Pu, X., Liu, G. (2018). Median lo-
Expert Systems with Applications, 113, 100-115. cal ternary patterns optimized with rotation-invariant
23. Roy, S. K., Chanda, B., Chaudhuri, B. B., Banerjee, S., uniform-three mapping for noisy texture classification.
Ghosh, D. K., Dubey, S. R. (2018). Local directional Pattern Recognition, 79, 387-401.
ZigZag pattern: A rotation invariant descriptor for tex- 42. Chakraborty, S., Singh, S. K., Chakraborty, P. (2018).
ture classification. Pattern Recognition Letters, 108, 23- Centre symmetric quadruple pattern: A novel descriptor
30. for facial image recognition and retrieval. Pattern Recog-
24. Nguyen, T. P., Vu, N. S., Manzanera, A. (2016). Sta- nition Letters, 115, 50-58.
tistical binary patterns for rotational invariant texture 43. El Khadiri, I., Kas, M., El Merabet, Y., Ruichek, Y.,
classification. Neurocomputing, 173, 1565-1577. Touahni, R. (2018). Repulsive-and-attractive local binary
25. Sucharitha, G., Senapati, R. K. (2019). Biomedical image gradient contours: New and efficient feature descriptors
retrieval by using local directional edge binary patterns for texture classification. Information Sciences, 467, 634-
and Zernike moments. Multimedia Tools and Applica- 653.
tions, 1-18. 44. Dubey, S. R., Singh, S. K., Singh, R. K. Local Wavelet
26. Chakraborti, T., McCane, B., Mills, S., Pal, U. (2018). Pattern: A New Feature Descriptor for Image Retrieval
LOOP Descriptor: Local Optimal-Oriented Pattern. in Medical CT Databases. IEEE Trans. Image Process,
IEEE Signal Processing Letters, 25(5), 635-639. 24(12): 5892-5903, 2015
27. Pillai, A., Soundrapandiyan, R., Satapathy, S., Satapa- 45. Kas, M., Ruichek, Y., Messoussi, R. (2018). Mixed neigh-
thy, S. C., Jung, K. H., Krishnan, R. (2018). Local diago- borhood topology cross decoded patterns for image-based
nal extrema number pattern: a new feature descriptor for face recognition. Expert Systems with Applications, 114,
face recognition. Future Generation Computer Systems, 119-142.
81, 297-306. 46. El-khadiri, I., Chahi, A., El-merabet, Y., Ruichek, Y.,
28. Ouslimani, F., Ouslimani, A., Ameur, Z. (2019). Touahni, R. (2018). Local directional ternary pattern: A
Rotation-invariant features based on directional coding new texture descriptor for texture classification. Com-
for texture classification. Neural Computing and Appli- puter Vision and Image Understanding, 169, 14-27.
cations, 31(10), 6393-6400. 47. Hassaballah, M., Alshazly, H. A., Ali, A. A. (2019). Ear
29. Wu, X., Sun, J. (2019). Face recognition based on multi- recognition using local binary patterns: A comparative
scale local directional value. Multimedia Tools and Ap- experimental study. Expert Systems with Applications,
plications, 1-17. 118, 182-200.
30. Tuncer, T., Dogan, S. (2019). Pyramid and multi kernel 48. Tuncer, T., Dogan, S., Ataman, V. (2019). A novel and
based local binary pattern for texture recognition. Jour- accurate chess pattern for automated texture classifica-
nal of Ambient Intelligence and Humanized Computing, tion. Physica A: Statistical Mechanics and its Applica-
1-12. tions, 536, 122584.
31. Chakraborty, S., Singh, S. K., Chakraborty, P. (2019). 49. Lan, R., Lu, H., Zhou, Y., Liu, Z., Luo, X. (2019). An
Cascaded asymmetric local pattern: a novel descriptor LBP encoding scheme jointly using quaternionic repre-
for unconstrained facial image recognition and retrieval. sentation and angular information. Neural Computing
Multimedia Tools and Applications, 1-20. and Applications, 1-7.
32. Armi, L., Fekri-Ershad, S. (2019). Texture image Classi- 50. Luo, Q., Fang, X., Sun, Y., Liu, L., Ai, J., Yang, C.,
fication based on improved local Quinary patterns. Mul- Simpson, O. (2019). Surface Defect Classification for Hot-
timedia Tools and Applications, 1-24. Rolled Steel Strips by Selectively Dominant Local Binary
33. Kabbai, L., Abdellaoui, M., Douik, A. (2019). Image clas-
Patterns. IEEE Access, 7, 23488-23499.
sification by combining local and global features. The Vi- 51. El-merabet, Y., Ruichek, Y. (2019). Attractive-and-
sual Computer, 35(5), 679-693. repulsive center-symmetric local binary patterns for tex-
34. Liu, J., Chen, Y., Sun, S. (2019). A novel local texture
ture classification. Engineering Applications of Artificial
feature extraction method called multi-direction local bi-
Intelligence, 78, 158-172.
nary pattern. Multimedia Tools and Applications, 1-16. 52. Liu, J., Chen, Y., Sun, S. (2019). A novel local texture
35. Shih, H. C., Cheng, H. Y., Fu, C. (2020). Image Classifi-
feature extraction method called multi-direction local bi-
cation Using Synchronized Rotation Local Ternary Pat-
nary pattern. Multimedia Tools and Applications, 1-16.
tern. IEEE Sensors Journal.
53. Song, T., Li, H., Meng, F., Wu, Q., Cai, J. (2018).
36. Bhattacharjee, D., Roy, H. (2020). Pattern of Local Grav-
LETRIST: Locally encoded transform feature histogram
itational Force (PLGF): A novel Local Image Descriptor.
for rotation-invariant texture classification. IEEE Trans-
IEEE transactions on pattern analysis and machine in-
actions on circuits and systems for video technology,
telligence.
37. Liu, L., Lao, S., Fieguth, P. W., Guo, Y., Wang, X., 28(7), 1565-1579.
Pietikäinen, M. (2016). Median robust extended local bi- 54. Fernández, A., Álvarez, M.X., Bianconi, F. Image classi-
nary pattern for texture classification. IEEE Transactions fication with binary gradient contours. Opt. Lasers Eng.
on Image Processing, 25(3), 1368-1381. 49(9-10), 1177-1184 (2011).