<s>
Local	B-General_Concept
ternary	I-General_Concept
patterns	I-General_Concept
(	O
LTP	O
)	O
are	O
an	O
extension	O
of	O
local	B-Algorithm
binary	I-Algorithm
patterns	I-Algorithm
(	O
LBP	O
)	O
.	O
</s>
<s>
Unlike	O
LBP	O
,	O
it	O
does	O
not	O
threshold	O
the	O
pixels	B-Algorithm
into	O
0	O
and	O
1	O
,	O
rather	O
it	O
uses	O
a	O
threshold	O
constant	O
to	O
threshold	O
pixels	B-Algorithm
into	O
three	O
values	O
.	O
</s>
<s>
Considering	O
k	O
as	O
the	O
threshold	O
constant	O
,	O
c	O
as	O
the	O
value	O
of	O
the	O
center	O
pixel	B-Algorithm
,	O
a	O
neighboring	O
pixel	B-Algorithm
p	O
,	O
the	O
result	O
of	O
threshold	O
is	O
:	O
</s>
<s>
In	O
this	O
way	O
,	O
each	O
thresholded	O
pixel	B-Algorithm
has	O
one	O
of	O
the	O
three	O
values	O
.	O
</s>
<s>
Neighboring	O
pixels	B-Algorithm
are	O
combined	O
after	O
thresholding	O
into	O
a	O
ternary	O
pattern	O
.	O
</s>
<s>
Computing	O
a	O
histogram	B-Algorithm
of	O
these	O
ternary	B-Algorithm
values	I-Algorithm
will	O
result	O
in	O
a	O
large	O
range	O
,	O
so	O
the	O
ternary	O
pattern	O
is	O
split	O
into	O
two	O
binary	O
patterns	O
.	O
</s>
<s>
Histograms	B-Algorithm
are	O
concatenated	O
to	O
generate	O
a	O
descriptor	O
double	O
the	O
size	O
of	O
LBP	O
.	O
</s>
