Open access peer-reviewed chapter

Local Patterns for Face Recognition

By Chih-Wei Lin

Submitted: October 19th 2017Reviewed: March 18th 2018Published: November 5th 2018

DOI: 10.5772/intechopen.76571

Downloaded: 241

Abstract

The main objective of the local pattern is to describe the image with high discriminative features so that the local pattern descriptors are more suitable for face recognition. The word “local” represents the measured image with the subregion and is the key in this chapter. Regardless of the techniques proposed, the local pattern is one of the most interesting areas in face recognition. The local facial descriptor is a local pattern that generates the descriptor by considering the subregion of an image. Techniques based on various combination methods from the local facial descriptors are not unusual. This chapter is concerned primarily to help the reader to develop a basic understanding of the local pattern descriptors and how they apply to face recognition. We begin to describe the outline of the local pattern in face recognition and its relative facial descriptors. Next, we give an introduction to the popular local patterns and establish examples to demonstrate the process of each method. To the end of this chapter, we conclude those methods with a discussion of issues related to the properties of the local patterns.

Keywords

  • local pattern
  • micropattern
  • face recognition
  • descriptor

1. Introduction

Due to the intelligence security monitoring is more popular in recent years, the automatically recognizing face is needed for various visual surveillance systems, for example the accessing control system for personal or company to verify the legal/illegal people, policing system for identifying the thief and the robber who presents the illegal behavior in public or private space. To construct an efficient face recognition system, the facial descriptor with discriminated characteristic is required.

The facial descriptor refers to the process of extracting the discriminative features to represent a given face image. Numerous methodologies are proposed to recognize face and those can be classified as global and local facial descriptors. The global facial descriptor describes the facial characteristics with the whole face image, such as principal component analysis (PCA) [1, 2] and linear discriminant analysis (LDA) [3, 4]. PCA converts the global facial descriptor from high dimension to low dimension by using the linear transform methodology to reduce the computational cost. Linear discriminant analysis (LDA) also called the Fishers Linear Discriminant is similar to PCA, while it is a supervised methodology. Although the global facial descriptor can extract the principal component from the facial images, reduces the computational cost, and maintains the variance of the facial image, the performance is sensitive to the change of the environment, such as the change of light.

The flexibilities of the local facial descriptors are better than the global facial descriptors because they successfully and effectively represent the spatial structure information of an input image. A well local facial descriptor generates discriminative and robust features to achieve good recognition results with computational simplicity. In this chapter, we represent a number of approaches in the local facial descriptor including the local binary pattern (LBP), local derivation pattern (LDP), local tetra pattern (LTrP), local vector pattern (LVP) and local clustering pattern (LCP).

2. Local pattern descriptor

A local pattern considers the variations of subregion in an image, which is also called a micropattern. In this section, we introduce the basic and several popular techniques of local pattern descriptor for facial recognition.

2.1. Local binary pattern

Local binary pattern (LBP) [5] is designed to describe the texture in a local neighborhood is an invariant texture measure and has been various comparative studies, such as fingerprint recognition [6], face recognition [7], and license plate recognition [8]. The main characteristics of LBP are: (1) highly discriminative capability (2) and computational efficiency.

The basic LBP encodes the pixels of an image by thresholding 3×3neighborhood of each pixel with the given referenced pixel Xcand concatenates the results to form a binary expression, as shown in Figure 1. The equation of basic LBP operator is formulated as follows:

LBPPXc=f1IXpIXcp=1,2,,PE1

Figure 1.

Example of 8-neighborhood surrounding a referenced pixel X c .

where Xp,p=1,,8is a neighborhood of the referenced pixel Xcin the local subregion of an image I. f1is the coding scheme which decides the binary number of each neighborhood, called the threshold function and this can be expressed as

f1IXpIXc=1,ifIXpIXcT10,elseE2

where pis the index of the neighborhoods which is surrounding the referenced pixel Xc. and T1is the threshold. f1represents the gradient variation between a given referenced pixel Xcand its neighborhoods. In practical, the threshold T1can be set to 0, if f1IXpIXc=0, it means the neighborhoods Xphave higher gradient information compared with referenced pixel Xc. Figure 2 is an example of generating an LBP micropattern. Figure 2 demonstrates that LBP is generated by using Eqs. (1) and (2) from X1to X8and encodes the binary pattern of a give reference pixel Xcas 10011111. Figure 3 demonstrates the spatial distribution of the example of LBP as shown in Figure 2 in one-dimensional. In Figure 3, the neighborhoods, which are encoded as 1, are arranged on the right of reference pixel Xc, and the others are arranged on the left of reference pixel Xc. The distance is the gradient variant between reference pixel and its neighborhoods as shown in Figure 3.

Figure 2.

Example of generating LBP for local region.

Figure 3.

Spatial distribution of example of LBP.

Furthermore, to address the problem of the textures at different scales, there are some followers which extend to use neighborhoods with various scales [9, 10]. To compare with basic LBP, the local neighborhoods are evenly spaced on a circle centered at the reference pixel Xc, and the formulation of Eqs. (1) and (2) is re-formulated as follows:

LBPP,RXc=f1IXp,rIXcp=1,2,,P;r=1,..RE3
f1IXp,RIXc=1,ifIXp,RIXcT10,elseE4

where ris the radius between the referenced pixel Xcand its neighborhood pixels Xp. Figure 4 illustrates examples of circular neighborhoods with any radius and number of sampling points. The neighbor that does not fall in the center of a pixel is estimated by using bilinear interpolation.

Figure 4.

Circularly symmetric neighborhoods sets for different P R . (a) (P=4,R=1), (b) (P=8,R=1), (c) (P=8,R=2).

2.2. Local derivative pattern

LBP is a nondirectional first-order local derivative pattern of images and fails to extract more detailed information, such as the directions between neighborhoods and referenced pixel, and the high-order gradient information. Local derivative pattern (LDP) can be considered as an extension of LBP with directional high-order local derivative pattern [11]. To encode the nth-order LDP, the n1th-order local derivative variations with various distinctive spatial relationships along 0, 45, 90, and 135directions are used. The first-order derivatives of the referenced pixel Xcalong 0, 45, 90, and 135directions can be written as

I0'=IXcIX4E5
I45'=IXcIX3E6
I90'=IXcIX2E7
I135'=IXcIX1E8

where Iis a given image, Xcis the referenced pixel and Xp, p=1,2,3,4are the neighborhoods of Xcas shown in Figure 1. Then, the second-order LDP can be encoded as,

LDPα2Xc=f2(Iα'XcIα'X1)f2Iα'XcIα'X2f2Iα'XcIα'Xpp=1,2,PE9

where αis derivative direction at referenced pixel Xcalong 0, 45, 90, and 135directions and f2is the binary coding function which describes the spatial relationship between referenced pixel Xcand its neighborhoods Xpin various derivative directions, and that can be expressed as

f2Iα'XcIα'Xp=1,ifIα'XcIα'Xp00,ifIα'XcIα'Xp>0p=1,2,,PE10

The spatial relationship between two pixels includes the conditions of turning and monotonically increasing/decreasing and be coded as 1 and 0 in LDP, respectively.

Finally, the second-order LDP is defined as the concatenation of the four directional LDPs

LDP2Xc=LDPα2Xcα=0, 4590135.E11

The n1th-order derivatives along 0, 45, 90, and 135directions are calculated by modifying Eqs. (5)(8) and be re-formulated as

I0n1=I0n2XcI0n2X4,RE12
I45n1=I45n2XcI45n2X3,RE13
I90n1=I90n2XcI90n2X2,RE14
I135n1=I135n2XcI135n2X1,RE15

Then, the nth-order LDP, LDPαnXc, in αderivative direction at referenced pixel Xcis expressed as

LDPαnXc=f2(Iαn1XcIαn1Xp,R)p=12P;R=1,α=0,45,90,135E16

An example of high-order derivative is shown in Figure 5. Figure 5(a) is the original value of image, Figure 5(b) is the first-order derivative in 0direction by using Eq. (5), and Figure 5(c) is the second-order derivative in 0direction by using Eq. (12) with the value in Figure 5(b).

Figure 5.

Example of high-order derivative in 0 ∘ direction. (a) Original values (b) First-order (c) Second-order.

Figure 6 demonstrates an example to encode the second-order LDP in 0direction. To encode the second-order LDP, the results of first-order derivatives are needed. Taking the bit 1 as an example, the results of first-order derivatives of referenced pixel Xcand the neighborhood X1are 73=4and 49=5, respectively. The spatial relationship between neighborhood X1and referenced pixel Xcis turning 73×49=200. Therefore, we encode the bit 1 as 1 by Eq. (10). Similarly, the spatial relationship between referenced pixel Xcand neighborhoods pixels Xp,p=4,5,7,8presents the turning and be encoded as “1”. The reset of neighborhoods pixels is encoded as “0”. The second-order LDP in 0direction, LDPP,R=1,α=02, is encoded as “10011011”. According to the same encoding process, the results of second-order LDP in 45, 90and 135are LDPP,R=1,α=452=01110100, LDPP,R=1,α=902=11100001, and LDPP,R=1,α=1352=10011101, respectively. Finally, LDPP,R=12=10011011011101001110000110011101with 32-bit is generated by concatenating the four 8-bit LDPs with various derivative directions.

Figure 6.

Example to encode second-order LDP in 0 ∘ direction.

Figure 7 demonstrates the spatial distribution of example of LDP in 0direction in one-dimensional. In Figure 7, the evaluation results of LDP in 0direction are normalized into the region of 88, the neighborhoods that are encoded as 1 are arranged on the left of 0, and the others are arranged on the right of 0. The distance is the magnitude of gradient variant between reference pixel Xcand its neighborhoods.

Figure 7.

Spatial distribution of example of LDP in 0 ∘ direction.

2.3. Local tetra pattern

Local tetra pattern (LTrP) [12] adopts the concepts of LBP and LDP which extends the spatial relationship from one-dimensional to two-dimensional. LTrP uses two high-order derivative directions with four distinct values to encode the micropattern for extract more discriminative information. The nth-order LTrP is derivative from n1th-order derivatives along 0and 90which can be written as

I0n1=I0n2Xh,RI0n2XcE17
I90n1=I90n2Xv,RI90n2XcE18

where Xcis the referenced pixel, Xh.Rand Xv.Rhorizontal and vertical neighborhoods of referenced pixel Xc, respectively; Ris the distance between reference pixel Xcand its neighborhood; I0n2, I90n2are the n2-order derivatives in 0and 90directions, respectively; I0n1, and I90n1are the n1-order derivatives in 0and 90directions, respectively. Then, the direction of the referenced pixel Xccan be expressed as the quadrant representation and be defined as

IDirn1Xc=1,I00n1Xc0andI900n1Xc02,I00n1Xc<0andI900n1Xc03,I00n1Xc<0andI900n1Xc<04,I00n1Xc0andI900n1Xc<0E19

where IDirn1Xcdescribes the direction of the referenced pixel Xcalong 0and 90directions with quadrant. Then, the nth-order tetra pattern of referenced pixel Xc, LTrPP,RnXc, is encoded as

LTrPP,RnXc=f3(IDirn1Xp,RIDirn1Xc)p=1,2,,P;R=1E20

where f3is the coding function which describes the referenced pixel Xcwith four quadrants and be written as

f3IDirn1Xp,RIDirn1Xc=IDirn1Xp,R,if IDirn1Xp,RIDirn1Xc0elseE21

Figure 8 illustrates the coding scheme of Eq. (21), if the quadrant of the referenced pixel Xcis as same as its neighborhood, the corresponding bit of tetra pattern is assigned to be “0”, otherwise, the bit is assigned to be the same as the neighborhood. Then, the tetra patterns are decomposed into three binary patterns as follows:

LTrPP,RnDir¯=f4LTrPP,RnXcDir¯,p=1,2,Pf4LTrPP,RnXcDir¯=1,ifLTrPP,RnXc=Dir¯0,elseE22

Figure 8.

Illustration of coding LTrP micropattern.

where Dir¯contains four quadrants except the quadrant of the referenced pixel Xcand f4is a coding function to generate the three binary patterns. Similarly, the three tetra patterns are encoded according to the abovementioned procedure for the rest directions of the referenced pixel. Therefore, the four tetra patterns with 12 8-bit binary patterns are generated. Moreover, the 13th 8-bit binary pattern is considered which is the magnitudes of horizontal and vertical first-order derivatives and be calculated by the following equation,

LTrPP,M=f5MXpMXcp=1,2,PE23
MXi=I01Xp2+I901Xp2E24
f5MXpMXc=1,ifMXpMXc00,elseE25

where MXpis the magnitudes of horizontal and vertical first-order derivatives and f5is a coding function to generate the binary patterns of the magnitude. Figure 9 demonstrates an example of the second-order LTrP which takes a subregion as shown in Figure 5(a) as an example. The quadrant of referenced pixel Xcis 4, which is assigned by using Eq. (18) with the first-order derivatives in 0and 90directions. Similarly, the quadrants of each neighborhood of referenced pixel Xcare 2, 1, 1, 3, 3, 3, 3, 2, respectively. We take the neighborhood pixel X1as an example, the quadrants of Xcand X1are 4 and 2, respectively, which is not the same. Thus, the corresponding bit of the LTrP is assigned to be “2” as shown in Figure 9. Similarly, the remaining bits of the LTrP are encoded by using the same procedure and the complete LTrP can be expressed as LTrPP,R2=21133332. Then, the tetra pattern is decomposed into three 8-bit binary pattern according to Eq. (22). To generate the first 8-bit binary pattern, the tetra pattern with symbol “1” is set to be “1”, and the rest symbols of tetra pattern are set to be “0”. Then, we obtain the first 8-bit binary pattern “01100000”. Repeatedly, we generate the other 8-bit binary patterns “10000001” and “00011110” by considering the tetra pattern values “2” and” 3″, respectively. Finally, the 12 8-bit binary pattern is obtained by concatenating the rest tetra patterns with three directions (1, 2, and 3) of referenced pixel. The additional binary pattern is obtained from the magnitude and be encoded as “10111110″.

Figure 9.

Example of coding second-order LTrP micropattern.

2.4. Local vector pattern

Local vector pattern (LVP) [13] is inspired by local binary pattern (LBP) which is sample and intuitive. To compare with LBP and LDP, LVP further considers the neighborhood relationship with various distances from different directions and the relationship between various derivative directions.

LVP is a micropattern in high-order derivative space which considers the direction value in encoding procedure, as shown in Figure 10. The derivative direction vector of the referenced pixel Xc, Vβ,DXc, with various directions and distance are formulated as

Vβ,DXc=IXβ,DIXcE26

Figure 10.

Neighborhoods pixels of V β , D X c with various distance along different directions.

where Iis a local subregion of an image, βis the index of angle (direction), and Dis the distance between referenced pixel Xcand its neighbors. Vβ,DXcis the derivative vector of the referenced pixel Xcalong the βdirection with Ddistance. Figure 10 demonstrates the distance between Xcand its neighbors are 1, 2, and 3 and are marked with green, blue and yellow, respectively.

The LVP, LVPβXc, in βderivative direction at referenced pixel Xcis encoded as

LVPP,R,βXc=f5Vβ,DGp,RVβ+45,DGp,RVβ,DGcVβ+45,DGcp=1,2,P,R=1E27

where f5is the coding function which can be formulated as

f5Vβ,DGp,RVβ+45,DGp,RVβ,DGcVβ+45,DGc=1,ifVβ+45,DGp,RVβ+45,DGcVβ,DGc×Vβ,DGp,R00,elseE28

Finally, the LVP of referenced pixel Xcis defined as the four 8-bit binary patterns, as shown in the following,

LVPP,RXc=LVPP,R,βXcβ=0,4590135E29

To extend the discriminative of 2D spatial structures, LVP integrates four pairwise directions (045,4590,90135,1350) of vector to form a 32-bit binary pattern for each referenced pixel Xc.

The coding function of LVP is a weight vector of dynamic linear decision function which is a comparative space transform (CST) and addresses the two-class problem in pattern recognition. The dynamic linear decision function, CSTXp,R, can be formulated as

CSTXp,R=wXcTvXp,RE30

where wXcTand vXp,Rare the weight vector and pairwise direction value of the neighborhoods which are surrounded by referenced pixel Xcin two different directions. The formulations of wand vcan be expressed as,

wXc=1Vβ+45,DXcVβ,DXcE31
vXp,R=Vβ+45,DXp,RVβ,DXp,RTE32

where the first term of wis to describe the original value of neighborhood pixel Xp,Rat β+45direction and the second term is the transform ratio which compares the derivative value of the neighborhood Xp,Rin βdirection to that of in β+45direction surrounds around the referenced pixel Xc. vis the augmented pattern which presents the pairwise direction values of vector of neighborhood pixel Xp,R. Then, Eq. (30) can be rewritten as,

CSTXp,R=wXcTvXp,R=Vβ+45,DXp,RVβ+45,DXcVβ,DXc×Vβ,DXp,RE33

We take the example of the local subregion of an image as shown in Figure 5(a) to illustrate the encoding process of generating first-order LVP, as shown in Figures 11 and 12. Figure 11 illustrates the first-order LVP of the referenced pixel Xc=7in β=0direction. In Figure 11, we calculate the pairwise derivative direction vector of the referenced pixel Xcto form the 2D spatial structures, as shown in Figure 12. In Figure 12, the pairwise derivative direction vectors Vβ,DXcand Vβ+45,DXcare indicated as x- and y-axis, respectively, in which, β=0and D=1. The first-order derivative direction value of referenced pixel Xcand its neighborhoods in directions β=0and β+45=45are shown in Figure 13. Then, we calculate the transform ratio Vβ+45,DXcVβ,DXc=14=0.25which is used to transform the β-direction value of the neighborhoods to comparative space β+45-direction. The CST value of neighborhood pixel X1=4of referenced pixel Xc=7is evaluated according to Eq. (33) (CSTX1,1=V45,1X1,1V45,DXcV0,DXc×V0,1X1,1=114×5=2.25). Then, the first corresponding bit of the 8-bit binary codes of LVPP,R,0Xc=01100100is encoded by using sign function. Similarly, the rest of LVPs with various pairwise directions are LVPP,R,45Xc=10101011,LVPP,R,90Xc=11100001, and LVPP,R,135Xc=00101101. The four binary pattern LVPs are concatenated to generate LVPP,RXc=01100100101010111110000100101101.

Figure 11.

Example of first-order LVP in β = 0 ∘ direction.

Figure 12.

Comparative space transform (CST) in encoding first-order LVP in β = 0 ∘ direction.

Figure 13.

The first-order derivative direction value. (a) β = 0 ∘ ; (b) β + 45 ∘ = 45 ∘ .

2.5. Local clustering pattern

Local clustering pattern (LCP) [14] is designed to solve the problems in face recognition: (1) to reduce feature length with low computational cost and (2) to enhance the accuracy for face recognition. To generate the local clustering pattern, four phases have to be considered: (1) to generate the local derivative variations with various directions; (2) to project the local derivative variations with various directions on the pairwise combinatorial directions in the rectangular coordinate system; (3) to transform the coordinate from the rectangular coordinate system into the polar coordinate system; and (4) encoding the facial descriptor which is local clustering pattern, as a micropattern for each pixel by applying the clustering algorithm. The details are described in the following subsections: local clustering pattern (LCP) and coding scheme.

2.5.1. Local clustering pattern

Taken a subregion image IXas an example, as shown in Figure 1, in which Xcis the referenced pixel and Xp,p=1,,8are the adjacent pixels around Xc. LCP firstly generates the first-order derivatives of Xc, Iα'Xc, in various directions and can be written as

Iα'Xc=IαXpIαXcE34

where αis the derivative direction including 0, 45, 90, and 135directions. Then, the LCP is generated by integrating the pairwise combinatorial directions of the derivative variations, 045, 4590, 90135and 1350, in polar coordinate system. The generation of LCP in pairwise combinatorial direction can be expressed as,

LCPαXc=n=1Nfr,θIγ,D'XpIγ,D'Xc×2n1γαα+45,N=8E35

where fr,θis the coding scheme and D=1,2,3is the distance between referenced pixel Xcand its adjacent pixels Xp, as shown in Figure 10. The coding scheme is executed in the polar coordinate system, and the formula can be formally defined as follows,

fr,θIγ,D'XpIγ,D'Xcγαα+45=0,if Iγ,D'XpandIγ,D'XcCi1,elseE36

where Ciis the cluster center. Finally, the LCP at referenced pixel Xc, LCPXc, is combinatorial of the four 8-bit binary patterns LCPs, and can be formally as

LCPXc=LCPβXcβ=0,45,90,135.E37

2.5.2. Coding scheme

In this subsection, we further discuss the coding scheme in LCP which is considered as the problem of classification. The coding scheme of LCP is executed in the polar coordinate system based on the characteristics of the derivative variations in the pairwise combinatorial directions.

First, four combinations of the derivative variations in the pairwise directions are utilized in LCP, including 045, 4590, 90135, and 1350. The coordinate of the pairwise combinatorial directions of the derivative variations is in the rectangular coordinate system (RCS). To consider the magnitude and orientation between pairwise combinatorial directions, the coordinate is transformed from the rectangular coordinate system (RCS) into the polar coordinate system (PCS) by calculating the magnitude mand orientation θfor each pair directions of derivative variations. The magnitude mand orientation θof Xpare calculated as

mγXp=Iγ,D'Xp2+Iγ+45,D'Xp2γαE38
θγXp=arctanIγ+45,D'XpIγ,D'XpγαE39

where π2<θγ<π2is normalized to 0˜360.

The feature vectors vare mγand θγcoordinate in the polar coordinate system and can be written as

v=mγXnθγXnTE40

where γαand n=1˜9are the pixels in the subregion image IXincluding the referenced pixels and its adjacent pixel in the polar coordinate system.

LCP is ensemble of several decisions from the results of clustering. Each clustering result is considered as a problem of a two-class case, whose center vector Cis written as

C=C1C2TE41

where C1and C2are the two-class centers, in which C1is also the center of Xc. To classify the feature vectors vin sub-image I, we randomly initialize two-class centers Cand adopt the k-means clustering algorithm for classification. The clustering procedure is repeated T times to find the cluster two-class centers Cithat have the highest probability PCiv.

The adjacent pixels of the reference pixel Xcare encoded as the following equation,

CmγXpθγXpγα=0,ifXpC11,elseE42

where C1is the cluster center which includes Xc.

2.5.3. Example

The local subregion of an image as shown in Figure 5(a) is taken as an example to illustrate the encoding process of generating first-order LCP, as shown in Figure 14. First, LCP calculates the first-order derivatives along 0and 45directions as shown in Figure 13. Then, the coordinates of referenced pixel Xcand its neighborhoods are translated from rectangular coordinate system (RCS) into polar coordinate system (PCS). The results of coordinate translation are shown in Figure 14. After that, the clustering technique is applied to find the centers of two clusters, as indicated as the hollow rectangles with red and purple colors, respectively. Only X5belongs to the second class, the rest pixels belong to the first class. Then, the corresponding bit of the 8-bit binary codes of LCPP,R,0Xc=00001000.

Figure 14.

Example of the LCP takes Figure 5(a) as an example (the derivative variations along 0 ∘ and 45 ∘ ).

3. Comparison

In this section, we discuss the characteristics of the local patterns descriptors as mentioned. The local binary pattern (LBP) generates the local facial descriptor by comparing the gray value between referenced pixel and its adjacent pixels for each pixel in the face image. The texture information, such as spots, lines and corners, in the images is extracted. Although LBP considers the spatial information to generate the local facial descriptor, it omits the directional information and is sensitivity when light is slightly changed.

The local derivation pattern (LDP) analyzes the turnings between referenced pixel and its neighborhoods from the derivative values. The derivative values with four directions are considered to generate the local facial descriptor in the high-order derivative space. However, the turnings between referenced pixel and its neighbors are discussed in the same derivative direction.

The local tetra pattern (LTrP) utilized the two-dimensional distribution with derivative values in four quadrants to describe the texture information and that can extract more discriminative information. Although LTrP considers the derivative variations with two dimensions, there exist two problems: (1) the dimension of facial descriptor and (2) the sensitivity of the features. To compare with LBP and LDP, the dimension of facial descriptor of LTrP is high. The features of LTrP in the four quadrants of the rectangular (or Cartesian) coordinate system are altered when illumination is changed.

The local vector pattern (LVP) designs the comparative space transform (CST) and that is associated with the pairwise directions of vector to encode the micropatterns. Comparing LVP with LBP, LDP, and LTrP, LVP not only successfully extracts distinctive information but also reduces the feature length. However, its computational cost is higher than LBP and LDP.

The local clustering pattern (LCP) derivatives the local variations with multidirections and that are integrated to form the pairwise combinatorial direction. To generate the discriminative local pattern, the features of local derivative variations are transformed into the polar coordinate system by generating the characteristics of magnitude (m) and orientation (θ). LCP generates the discriminative local clustering pattern with low-order derivative space and low computational cost which are stable in the process of face recognition. The summarization of each method is demonstrated in Table 1.

MethodsInformation usedDistribution of coding schemeFeature Length
LBPOriginal valuesOne dimensional8
LDPHigh-order derivative valuesOne dimensional8×4
LTrPHigh-order derivative valuesTwo dimensional8×13
LVPHigh-order derivative valuesTwo dimensional8×4
LCPHigh-order derivative valuesTwo dimensional8×4

Table 1.

Comparison of various methods.

In Table 1, we analyze these methods with three indicators: (1) information used, (2) distribution of coding scheme, and (3) feature length. The indicator of the information used presents the information which is used in facial descriptor generation. LBP uses the original values such, as gray value; LDP considers the single high-order derivative values; LTrP uses both horizontal and vertical high-order derivative values; LVP uses the high-order derivative values and be described as the vector representation; the high-order derivative values are utilized in clustering process of LCP.

The distribution of coding scheme is to present how many directions of used information are considered in coding at each time. LBP and LDP generate the micropattern by considering a single direction at each time, for example, LDP generates the micropatterns of one direction at a time and then integrates the results of each direction to form the facial descriptor; LTrP considers two-direction information, horizontal and vertical, when coding; LVP and LCP use the pairwise combinatorial directions.

The feature length is to demonstrate the feature length of each micropattern. LBP considers eight neighborhoods and its feature length is 8; LDP further considers four directions including 0, 45, 90, and 135, its feature length is 8×4=32bits, in which “8” is the number of neighborhood of referenced pixel and “4” is the number of derivative directions; the feature length of LTrP is 8×13=8×3×4+1=104bits, where “8” is the number of neighborhood of referenced pixel, “3” is the number of the binary patterns in a tetra pattern, “4” is the number of the tetra patterns, and “1” number of the binary pattern which is obtained from the magnitude; the feature length of LVP and LCP is 8×4=32bits, where “8” is the number of neighborhood of referenced pixel, and “4” is the number of pairwise combinatorial directions.

4. Summary

The principal object of this chapter is to present the local pattern descriptors for understanding and accessing the facial descriptor in face recognition. The concept of local pattern is sample and intuitive, and the extended techniques of the basic local pattern are widely used in various areas. A partial listing of local pattern descriptors includes local binary pattern (LBP), local derivative pattern (LDP), local tetra patterns (LTrP), local vector pattern (LVP) and local clustering pattern (LCP) are widely applied to variety of image processing problems such as object detection, object recognition, image retrieval, fingerprint recognition, character recognition, face recognition, license plate recognition. Since it is impractical to cover all the approaches of local pattern descriptor in a single chapter, the basic and popular techniques included are chosen for their value in introducing and clarifying fundamental concepts in the field.

© 2018 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Chih-Wei Lin (November 5th 2018). Local Patterns for Face Recognition, From Natural to Artificial Intelligence - Algorithms and Applications, Ricardo Lopez-Ruiz, IntechOpen, DOI: 10.5772/intechopen.76571. Available from:

chapter statistics

241total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Face Recognition Based on Texture Descriptors

By Jesus Olivares-Mercado, Karina Toscano-Medina, Gabriel Sanchez-Perez, Mariko Nakano Miyatake, Hector Perez-Meana and Luis Carlos Castro-Madrid

Related Book

First chapter

Mechanical Models of Microtubules

By Slobodan Zdravković

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us