Open access peer-reviewed chapter - ONLINE FIRST

Extended Binary Gradient Pattern (eBGP): A Micro- and Macrostructure-Based Binary Gradient Pattern for Face Recognition in Video Surveillance Area

By Nuzrul Fahmi Nordin, Samsul Setumin, Abduljalil Radman and Shahrel Azmin Suandi

Submitted: November 22nd 2018Reviewed: April 23rd 2019Published: June 17th 2019

DOI: 10.5772/intechopen.86473

Downloaded: 91

Abstract

An excellent face recognition for a surveillance camera system requires remarkable and robust face descriptor. Binary gradient pattern (BGP) descriptor is one of the ideal descriptors for facial feature extraction. However, exploiting local features merely from smaller region or microstructure does not capture a complete facial feature. In this paper, an extended binary gradient pattern (eBGP) is proposed to capture both micro- and macrostructure information of a local region to boost up the descriptor performance and discriminative power. Two topologies, the patch-based and circular-based topologies, are incorporated with the eBGP to test its robustness against illumination, image quality, and uncontrolled capture conditions using the SCface database. Experimental results show that the fusion between micro- and macrostructure information significantly boosts up the descriptor performance. It also illustrates that the proposed eBGP descriptor outperforms the conventional BGP on both the patch-based topology and the circular-based topology. Furthermore, a fusion of information from two different image types, orientational image gradient magnitude (OIGM) and grayscale image, attained better performance than using OIGM image only. The overall results indicate that the proposed eBGP descriptor improves the recognition performance with respect to the baseline BGP descriptor.

Keywords

  • surveillance system
  • face recognition
  • binary gradient pattern (BGP)
  • facial feature extraction
  • patch-based topology
  • circular-based topology

1. Introduction

Face recognition is one of the biometric verification methods that offers a wide range of applications such as law enforcement, forensics, biometric authentication, surveillance, and health monitoring [1]. Face recognition has also been used to authenticate payment using mobile wallet, and the social media company like Facebook uses face recognition algorithm for the purpose of image tagging [2]. One of the advantages of face recognition is being contactless between the subject and camera. Given the advantages offered by face recognition and with the advancement in computing power, significant research and methods have been proposed over the years in face recognition domain. In fact, a robust facial recognition system must be able to work with various real-life situations or unconstrained conditions, such as but not limited to pose, lighting, image or camera quality, occlusion, rotation, and translation. The system must also be able to perform extremely well in a domain where limited sample is available. In surveillance monitoring applications, a typical approach is to sample face appearing in videos and then match them with facial models generated from high-quality target face image [3, 4].

Feature extraction is the process of capturing feature of interest from the face and represents it in the form of feature vector. The extraction process is usually done by a face descriptor. This descriptor must be able to work with multiple variations such as illumination, occlusion, face expression, and image quality [4]. Indeed, there is a collection of face descriptors proposed over the years such as scale-invariant feature transform (SIFT) [5], speeded up robust feature (SURF) [6], local binary pattern (LBP) [7], and histogram of oriented gradient (HOG) [8]. In terms of facial feature representation, there are two types of representations that many descriptors have evolved around over the years. They are global and local feature representations. Global-based feature extraction like principal component analysis [9], linear discriminant analysis [10], and independent component analysis [11] preserves the statistical information of the face by turning each face image into a high-dimensional feature vector. Meanwhile, local-based feature splits input image into smaller patches and extracts the micro textural details from each patch before fusing these features back to form the global shape information. Local-based feature extraction has shown to be resilient to multiple variations by enforcing spatial locality in both pixel and patch levels. For instance, local feature descriptor is robust to local deformation in expression and occlusion. LBP [7] is an example of feature extraction method that works on this principle which achieved reasonably good performance but heuristic in nature. Recently, LBP has drawn great intention as a face descriptor due its reputation as a powerful texture descriptor [9]. LBP extracts local-based spatial structure of an image by thresholding intensity of center pixel with its neighborhood. The product of this operation is characterized as local binary pattern, which then the distribution of binary pattern over the whole image is used to form the LBP histogram vector or feature vector. Neighborhood pixels are sampled on a circle, and any neighbor which does not fall exactly on the center of the pixel has an intensity computed from interpolation [7]. Due to some shortcomings of LBP, for instance, LBP produces long histogram, and therefore it is memory-consuming [12], LBP is very sensitive for image rotation and noise [13], and it only captures microstructure and ignores macrostructure of the texture resulting in missing extra discriminative power [14]. Several variants of LBP have been proposed in the literature, for example, rotation-invariant LBP [13], median robust extended local binary pattern (MRELBP) [15], and binary gradient pattern (BGP) [14]. This paper touches on a number of relevant existing LBP-based descriptors. The rest of this paper is organized as follows. In Section 2, two state-of-the-art descriptors (the LBP [7] and its variant, the BGP [14]) would be briefly reviewed since we would embed the proposed extended BGP (eBGP) into these two descriptors. Section 3 describes the proposed eBGP descriptor. The evaluating results are analyzed and discussed in Section 4. Finally, conclusions are drawn in Section 5.

2. From local binary pattern (LBP) to binary gradient pattern (BGP)

LBP [7] is one of various texture descriptors and is known for being computationally efficient [16]. It extracts local-based spatial structure of an image by thresholding intensity of center pixel with its neighborhood pixel P within a radius R. The product of this operation is characterized as local binary pattern, which then the distribution of binary pattern over the whole image is used to form the LBP histogram vector or feature vector. The original LBP works on 3 × 3 square neighborhood and only considers the sign information to form the LBP pattern. Neighborhood pixels are sampled on a circle, and any neighbor which does not fall exactly on the center of the pixel has an intensity computed from interpolation [7]. Figure 1(a) illustrates LBP neighborhoods around the center pixel with R = 1. Assuming all the pixels hold values as in Figure 1(b), thresholding all eight neighborhood pixels with the center pixel using Eq. (1) will produce the result as in Figure 1(c). This binary string is then multiplied with weights, and the sum of these values corresponds to the LBP label for that particular pixel. The distribution of LBP labels across the entire image is represented in a histogram as a feature vector:

Figure 1.

LBP neighborhood and thresholding.

LBPR,Pc=i=0P1sgigc2i,sx=1,x00,x<0E1

where giand gcare the gray values of the center pixel and its neighbors, respectively, P is the number of neighbors, and R is the radius of the neighborhood. LBP offers few advantages in terms of low computational complexity, illumination invariant, and ease of implementation, but it has significant disadvantages. In LBP implementation, the individual operator of particular (P,R) produces different histogram length. For instance, in (8,1) neighborhood, LBP generates 2P = 256 (P = 8) histogram bins, while for (16,2) neighborhood, 216 histogram bins are produced. This is a significant drawback as LBP produces long histogram and therefore memory-consuming. The LBP is also intolerant to image rotation and highly sensitive to noise where noise on the center pixel will dominate local characteristic [12]. Furthermore, the LBP only captures microstructure and ignores macrostructure of the texture resulting in missing extra discriminative power.

The success of LBP has continued since then. A variety of LBP-based descriptors have been proposed recently to overcome all shortcomings toward noise, illumination, color, and temporal information. Huang and Yin [14] proposed an improved version of LBP, called binary gradient pattern (BGP), by introducing structural pattern and image gradient orientation (IGO) implementation in multiple directions rather than on X and Y directions only, as in the conventional manner. The implementation of IGO in multiple directions helps to improve discriminative power of the proposed descriptor. Figure 2 shows how BGP encodes binary string from a region of interest (ROI). Given a set of grayscale intensity value of 9 pixels as in Figure 2(a), BGP computes binary correlations between symmetric neighbors of central pixel from multiple k directions. With the number of neighbors always twice than the number of directions k, in (8,1) spatial resolution, there are four different thresholding directions denoted as G1, G2, G3, and G4 as shown in Figure 2(b). Principal binary, Bi+,is computed from all directions using Eq. (2), and its associated binary Bifrom Eq. (3), where Gi+and Giare intensity values of the pixels. The resulting principal binary numbers and its associated are shown in Figure 2(c):

Figure 2.

Basic BGP operator with eight neighbors.

Bi+=1,ifGi+Gi00,ifGi+Gi<0E2
Bi=1Bi+,i=1,2,,kE3
L=i=1k2i1Bi+E4

Binary string for the ROI is constructed from four principal binary numbers which is equivalent to 0111, and the label L is computed from Eq. (4). Because the principal and associated binary numbers are always complementary, only a single bit is required to describe the direction, this allowing for more compact representation of BGP label by only considering principal binary numbers. The total number of BGP label NL is determined by the numbers of principal binary only, which is also equivalent to the number of directions k. At any spatial resolution, NL equals to 2k. Using Figure 2(b) as an example, features extracted from four directions in (8,1), spatial resolution will produce 24 or 16 different labels (i.e., from 0000 to 111/from 0 to 15). Structural pattern is a binary string which has continuous “1”s indicating a stable local change in texture and essentially describes the orientation of local edge texture. On the other hand, a nonstructural pattern is a binary string with a discontinuous “1”s, which contains arbitrary changes of local texture which is likely to indicate noise or outliers. From statistical experiment conducted by Huang and Yin [14] on 2600 face images, 95% of the patterns in typical BGP face having continuous “1”s.

The number of structural labels Nsp at any spatial resolution equals to the number of neighbors P. With eight neighbors, there will be 16 different labels where eight of it made up a structural label and the remaining belong to nonstructural label. For example, 0000, 0001, 0011, 0111, 1000, 1100, 1110, and 1111 are structural patterns in BGP8,1, and each structural pattern location map is illustrated in Figure 3. In BGP implementation, nonstructural patterns are discarded and not given a label in contrast to nonuniform pattern in LBP implementation. Location map of nonstructural patterns in Figure 3 shows that nonstructural patterns contain less meaningful information and are often caused by noise and outliers. To further enhance discriminative power and robustness of BGP, Huang and Yin [14] introduced another descriptor by applying BGP on orientational image gradient magnitude (OIGM) which is abbreviated as BGPM. The use of image gradient magnitude (IGM) enhances the strength of edge information which effectively allows BGPM to gain greater discriminant ability with only small increment in complexity. The overall process of BGPM descriptor is depicted in Figure 4.

Figure 3.

Face and location maps of eight structural patterns (SP00-SP15) and nonstructural pattern.

Figure 4.

Framework of BGPM descriptor [14].

Based on a series of results obtained from multiple databases such as Extended Yale B [17], AR [18], CMU Multi-PIE [19], FERET [20], and LFW [21] against a wide range of descriptors, BGPM is proven to be the best descriptor for each database. The BGPM descriptor has achieved invariance against illumination changes and local distortions while reducing the vector dimensionality. BGP compact representation makes BGP extremely fast and uses much fewer pattern labels than LBP at any spatial resolution. For instance, in a system with spatial resolution of (8,1), BGP histogram only needs 9 bins, with 8 bins for structural patterns, and 1 bin for nonstructural patterns, in contrast to the LBP which requires 59 bins. BGP and BGPM have been demonstrated to possess strong spatial locality and orientation properties which lead to effective discrimination.

Although BGP has shown to be efficient in processing time and achieving outstanding results in several databases, BGP was never being tested with a proper surveillance database like [22], which consists of low-resolution non-frontal face images taken by different camera quality. Like most of other local-based descriptors, BGP exploits information from microstructure only, however exploiting facial feature from macrostructure to complement the microstructure feature resulting in a more complete image representation [23, 24], especially for surveillance applications where noise, occlusion, and head position might impact the descriptor performance. In this paper, information from both micro- and macrostructures are captured and integrated into the BGP descriptor to boost up its performance for video surveillance applications. The new proposed descriptor is termed as an extended BGP (eBGP).

3. Extended binary gradient pattern (eBGP)

An eBGP extends the BGP descriptor by exploiting macrostructure information from topology with larger spatial resolution. There are many different types of macrostructure topologies that have been proposed for other LBP variants [25]. In this paper, the patch-based topology with eight neighborhood patches and the circular topology are evolved with the proposed eBGP descriptor. Both topologies have been implemented by [24, 26], where each topology has its pros and cons with the implementation. Regardless of the topology, the microstructure information is always extracted using the same approach as in BGP. Herein, the eBGP is explained with the focus on extracting features from macrostructure based on the patch-based topology with eight neighborhood patches and the circular-based topology.

3.1 Patch-based topology

Patch-based topology is inspired by multi-scale block local binary pattern (MBLBP) [24]. In this topology, macrostructure is made up of nine patches of pixels as in Figure 5. All these patches have the same size and width, while the center patch represents the ROI microstructure. Thereby, a default BGP operator is applied to the center patch in order to extract the microstructure information, whereas the macrostructure information is extracted from the eight neighborhood patches. Accordingly, multiple sizes of patches could be selected from this topology, and the size of the structure is determined by the spatial resolution of the center patch.

Figure 5.

Topology for macrostructure information extraction. (a) Patch of 5 × 5 pixels for R = 2. (b) Patch of 3 × 3 pixels for R = 1.

For instance, when exploiting microstructure information from (8,1) spatial resolution, the size of the center patch will be 3 × 3 pixels as illustrated in Figure 5(b). In this implementation, all patches have the same size and do not overlap each other; therefore the macrostructure is formed from nine patches of 3 × 3 pixels. Figure 5(a) depicts the macrostructure topology formed from 9 patches of 5 × 5 pixels when microstructure information is exploited from (16,2) spatial resolution. For comparison purposes, this research will evaluate two structures as illustrated in Figure 5(a) and (b), to match BGP results exploited from (8,1) and (16,2) spatial resolution. Using Figure 5(a) as an example, each neighborhood patch contains 25 pixels with each pixel having its own grayscale value. Unlike the center patch, no feature is extracted from the individual neighborhood patch. Instead, each neighborhood patch is represented by a single intensity value which will be used for thresholding. In this topology, the patch’s mean and median will be applied to represent the patch intensity. The patch’s mean (G) of a neighborhood patch (P), accounted from 25 pixels in a single 5 × 5 patch, is computed as follows:

GP=1ni=1nxiE5

where x is the intensity value of each pixel and n is the number of pixels in the patch P.

On the other hand, the patch median is computed by finding the middle value of ordered pixel values. Additional experiments are conducted in this research to find the best representation for the patch-based topology. As an example, feature extraction from macrostructure is illustrated in Figure 6. Figure 6(a) shows the patch-based topology with the size of 3 × 3 pixels and its intensity value. In each patch, a median is calculated from all pixels within the patch, and the median now represents the image intensity of the patch as shown in Figure 6(b). The following steps are similar to what has been explained in BGP. By thresholding each patch with symmetric neighbors in four directions using Eqs. (2) and (3), four pairs of binary numbers are generated as shown in Figure 6(c). Once all the principal bits are computed, the label can be calculated using Eq. (4). In general, the flow for macrostructure extraction is like microstructure except for its representative value used during thresholding. Indeed, the microstructure information is extracted from neighborhood pixels, while the macrostructure information is extracted from neighborhood patches.

Figure 6.

Feature extraction from the macrostructure using median as the patch intensity.

Since there are only eight neighbor patches, regardless of the structures’ size, the generated histogram vector which represents the macrostructure information is bound to the maximum of 16 bins. Observing only a structural pattern will greatly reduce the dimensionality of macrostructure information to eight bins. The total length of the histogram vector (Ht) is computed as follows:

Ht=k=1NPR+8kE6

where N is the number of blocks and PR is the number of neighborhood pixels used for extracting the microstructure information at the center patch and 8 is the length of the histogram vector extracted from the macrostructure. Using Figure 6(b) as an example, at each kth block, the length of histogram vector is 16, where 8 comes from the microstructure and the other 8 from the macrostructure.

Subsequently, information fusion between micro- and macrostructures is conducted through concatenating the feature vectors of both the microstructure and the macrostructure, as illustrated in Figure 7. At this point, both feature vectors are contributed by the same weight. Figure 8 demonstrates an example of face image represented using the patch-based topology. Figure 8 illustrates that eBGP on the patch-based topology capable to capture the micro textural details and the macrostructure provides complementary information to the small details. Moreover, the macrostructure information contains less detailed information and may reduce the noise or outlier embedded in the image.

Figure 7.

Patch-based feature extraction flow. The center patch represented by the orange box and the neighborhood patches by the purple boxes.

Figure 8.

Sample image with 5 × 5 pixel patch-based structure: (a) the original image, (b) the image extracted using the microstructure, (c) the image extracted using the macrostructure based on the local median, and (d) the image extracted from the macrostructure using the local mean.

3.2 Circular-based topology

Circular-based topology borrows the basic implementation of LBP which identifies a neighborhood as a set of pixels on a circular ring. In this topology, two levels of information are extracted from neighborhood at two different spatial resolutions. The first level of information is the microstructure information, which is extracted from a set of pixels on a circular ring with radius R1. Meanwhile, the macrostructure information is extracted from neighborhood pixels that lie on a circular ring of radius R2. The same BGP operator is used to extract information from the two different spatial resolutions with smaller spatial resolution that represents the microstructure and larger spatial resolution that represents the macrostructure. The visual illustration of circular-based topology implementation is presented in Figure 9. Circular rings with R1 and R2 represent the two different spatial resolutions (P;R). Assuming R1 is 1, running BGP descriptor on (8,1) neighborhood extracts the microstructure information of ROI. In this implementation, R2 is always larger than R1, and thus R2 must be set to any number >1.

Figure 9.

Circular-based topology.

Figure 10(a) shows a sample of image intensity that falls on circular rings R1 and R2 with spatial resolution (8,1) and (24,3), respectively. In this example, the microstructure information is extracted from 8 pixels, while the macrostructure information is extracted from 24 pixels as shown in Figure 10(b). Using the same method in BGP, principal and associated bits are calculated using Eqs. (2) and (3) by thresholding symmetric neighbors in multiple directions. The computed binary pairs are shown in Figure 10(c) with 4 and 12 principal bits generated from 8 and 24 neighbors, respectively. Finally, label for both micro- and macrostructures is computed using Eq. (4).

Figure 10.

The microstructure information is devised from 8 pixels on the smaller ring, while the macrostructure information is devised from 24 pixels on the larger ring without any interpolation.

In BGP scheme, the length of histogram vector is equal to the number of neighbors at any spatial resolution. Similar to the patch-based topology, the generated histogram vector which embeds micro- and macrostructure information is concatenated to form a final representation of features for each ROI. The total length of histogram vector in this scheme can be computed using:

Ht=k=1NP1+P2kE7

where N is the number of blocks and P1 and P2 are the number of neighborhood pixels on the circular rings of radius R1 and R2, respectively. For instance, if R1 = 2 and R2 = 4, features are exploited from 16 and 32 neighborhood pixels, respectively. Thus, the combination of the two spatial resolutions will produce a histogram vector with a length of 48 at each kth block. Resulting from this observation, R2 is set to 5 to limit the feature dimensionality of macrostructure to 40 because having larger spatial resolution will only increase the feature vector dimensionality. In contrast, R1 is limited to 4 because larger spatial resolution will prevent BGP operator from capturing micro edge and micro texture features which are mostly exploited from a smaller region.

Figure 11 illustrates the general flow of feature extraction in the circular-based topology. Overall, this topology employs BGP operator on two different spatial resolutions, where the smaller resolution is for the microstructure information and the larger resolution is for the macrostructure information. In this research, no interpolation has been done to neighboring pixels where the circle does not fall exactly on the center of pixels. Figure 12 presents a sample image that is extracted from the two spatial resolutions R1 = 2 and R2 = 5.

Figure 11.

Circular-based feature extraction flow with R1 = 1 and R2 = 3.

Figure 12.

Sample image with R1 = 2 and R2 = 5 circular-based topology: (a) the original image, (b) the image extracted from the microstructure (R1 = 2), and (c) the image extracted from the macrostructure (R2 = 5).

Similar to the patch-based topology, BGP captures the micro-oriented edges from the small structure while capturing less details of information at a much larger spatial resolution. But the combination of these two information will complement each other in providing a complete face representation.

4. Results, discussion, and analysis

To illustrate a real-world video surveillance system, the effectiveness of the proposed eBGP descriptor was evaluated using the Surveillance Camera Face (SCface) database [22]. The SCface database consists of low-resolution non-frontal face images taken by different camera quality. A series of experiments were planned to test all proposed topologies and structures on the SCface database. The performance of the proposed eBGP descriptor was evaluated against illumination, image quality, single sample per person, and real-world capture condition.

In fact, the SCface database is the most challenging database for face recognition, where its images were taken in uncontrolled indoor environment. The SCface database consists of 4160 images from 130 subjects. All images were taken at three distinct distances from the camera, where the cameras are installed at 2.25 m above the floor. Images were captured at distance 1 while the subject position is 4.20 m away from the camera, whereas for distances 2 and 3, the subject positions were at 2.60 and 1.00 m, respectively. The outdoor light was only the source of illumination, which came through a window on one side. The images were captured from five different quality commercial surveillance video cameras and two infrared night-vision cameras, in uncontrolled lighting so as to mimic the real-world conditions. Furthermore, full frontal mug shot image for each subject was captured using a high-quality photo camera with the capture conditions exactly the same as would be expected for any law enforcement. The high-quality photo camera for capturing visible light mug shots was installed the same way as the infrared camera but in a separate room with the standard indoor lighting, and it was equipped with adequate flash. In our experiments, the high-quality mug shot image of each person was used as a training gallery, while the remaining images from the five surveillance cameras and distances were used as test images, as depicted in Figure 13. With the focus of this research toward images in visible spectrum and single sample per person, especially for real-world surveillance system, the images taken from IR night-vision cameras and mug shot rotation were not used in this research. As preprocessing steps, all images in the SCface database were aligned based on the provided eye coordinates, so that the eyes’ line lies on a straight line. The images were then scaled and cropped to 64x64 pixel as has been implemented in [22].

Figure 13.

Sample images from the SCface database of distance 3: (a) the high-quality mug shot. (b–f) The images taken from five different surveillance cameras. (g and h) The images were taken from IR night-vision cameras.

The performance of the proposed eBGP descriptor was evaluated using the histogram intersection, where the histogram intersection computes the similarity between two discretized probability distributions or histogram vectors. Given HT is the histogram vector of a training image reference and HP is the histogram vector of a probe image, each one containing n bins, the intersection between them is defined as follows:

HTHP=j=1nminHjT,HjPE8

where HT and HP are generated from distribution of labels computed from eBGP operator and the min function takes as arguments two values and return the smallest one. Any histogram pair that returns the highest intersection value based on Eq. (8) than any other pairs is considered to be matched and assigned to the label. By comparing this label against ground truth label, the recognition rate is determined by counting the occurrence of the correct label over the number of test images. Recognition rate is computed as follows:

Recognition rate%=NLN×100%E9

where NL is the total number of test images which are correctly matched and N is the total number of test images.

It is vital to stress that the classifier plays a decisive role in achieving better recognition rate. In this research, the experiments were dictated in such a way to focus on recognition rate improvement due to macrostructure information fusion. Hence, the recognition rate of the proposed eBGP descriptor and its baseline BGP descriptor were computed and compared to verify the recognition rate improvement. For comparative analysis, results of BGP descriptor on the SCface database are produced by running the BGP code requested from [14]. This is to ensure analysis of the result can be done without any concern on the validity of the results. In fact, Huang and Yin [14] do not use the SCface database in their work; thus BGP code was altered to work with the SCface database.

4.1 Experiment settings and preprocessing

As a preprocessing step, each image is first transformed into OIGM images using the same method used by the BGP descriptor. OIGM images are then divided into N numbers of non-overlapped blocks before applying eBGP descriptor, where N is set to 16 in this research.

4.2 Results of patch-based topology

For better presentation, several notations are used to describe the experiment setup and implementation. BGPM(P;R) is the implementation used in the BGP descriptor of spatial resolution (P,R), while eBGPM(P;R) is the implementation of the proposed eBGP descriptor with macrostructure information based on the patch-based topology. In this experiment, the patch-based topology uses the patch’s median as a default scheme for the thresholding between patches.

Table 1 shows the performance of the proposed descriptor on the SCface database, where eBGPM(16;2) and eBGPM(8;1) represent the extended BGPM (eBGPM) with structures of Figure 5(a) and Figure 5(b), respectively. Results of BGPM(16;2) and BGPM(8;1) represent the baseline descriptor. As mentioned before in this section, the images of SCface database were captured by five cameras with three different distances. Table 1 shows the recognition rate results for each set and the average recognition rate over all cameras. The recognition rate for each set was calculated based on Eqs. (8) and (9).

DistanceDescriptorCamera
12345Average
1BGPM(8;1)3.080.773.083.085.383.08
BGPM(16;1)6.154.624.623.855.384.92
eBGPM(8;1)4.621.544.623.856.154.16
eBGPM(16;1)3.857.695.385.388.466.15
2BGPM(8;1)16.1512.316.9211.5413.8512.15
BGPM(16;1)23.8513.857.6912.3113.0814.16
eBGPM(8;1)20.7713.8510.7716.9216.1515.69
eBGPM(16;1)23.0817.6913.8516.9216.1517.54
3BGPM(8;1)15.3819.2310.0016.9211.5414.61
BGPM(16;1)18.4620.0016.1514.6211.5416.15
eBGPM(8;1)19.2317.6911.5417.6913.0815.85
eBGPM(16;1)16.1516.1515.3816.1517.6916.30

Table 1.

Recognition rate (%) of the proposed eBGP descriptor on the SCface dataset using the patch-based topology.

From Table 1, it can be seen that none of the descriptors achieved recognition rate higher than 35% over all cameras and distances. Particularly, the images of distance 1 recorded the lowest recognition rate with an average of 4.58%, while the images of distances 2 and 3 achieved better recognition rates with an average of 14.89 and 15.73%, respectively. Table 1 also shows that eBGPM(8;1) slightly boosted up the performance comparable with BGPM(8;1) for all distances, where it attained the highest recognition rate over BGPM(8;1) on the distance 2 with an average recognition rate which equals to 3.54%. On the contrary, eBGPM(16;2) has a mix result with respect to its baseline BGPM(16;2); the performance drop can be observed from camera 1 gallery results, where distance 1, distance 2, and distance 3 show lower recognition rate comparable with the baseline descriptor. Similar to eBGPM(8;1), eBGPM(16;2) presented the highest recognition rate on distance 2 gallery images compared to those from distance 1 and distance 3. This is because the gallery images of distance 1, which have been acquired at 4.20 m distance, are low in resolution and small in size. Moreover, the process of scaling and cropping the images into 64 × 64 size leads to loss of the quality and some dominant features. On the other hand, the images of distance 3 are higher in quality and details. However, as the subjects are closer to the camera, which is installed at 2.25 m from the floor, in most natural head position, the upper half of the subject face is more dominant in the captured images as depicted by Figure 14. Figure 14 demonstrates that the images of distance 2 are slightly better in quality than the other two distances, but they still suffer from head position. This interprets the superiority of descriptors on this distance.

Figure 14.

Samples of the SCface database: (a) training image mug shot and (b–d) test images captured by camera 2 at distances 1, 2, and 3, respectively. The upper row shows the original images, while the lower row shows the images after alignment, scaling, and cropping to 64 × 64.

Due to these discouraging results by both the proposed eBGP descriptor and its baseline BGP, extra experiments were conducted on the SCface database. Since Table 1 illustrated that the recognition rate is improved with increase of the spatial resolution, consequently the BGPM descriptor is first extended to larger spatial resolution of (24,3). Even though recognition rate increased by including the macrostructure in eBGP, the overall recognition rate is still too low for realistic applications. It might be because the structural pattern and OIGM image were extracted from low-resolution and deformed images (after scaling and cropping have been done). Hence, two additional descriptors were then designed to investigate the effectiveness of structural patterns and OIGM image when exploiting the macrostructure information from low-resolution images. These descriptors still use BGPM in exploiting information from the microstructure, but they extract the macrostructure information in a different way.

The first additional descriptor, denoted as Type IP in Table 2, is equivalent to the eBGPM(16;2) descriptor with one exception. The structural pattern concepts are ignored, and all labels which are produced by (16,2) spatial resolution are assumed to hold some unique features. In this setup, all information from 16 labels are used to populate the histogram vector. This descriptor is designed to investigate if there is any other feature that may be discarded by the structural patterns when dealing with low-quality images. The second descriptor, denoted as Type IIP in Table 2, is designed to extract information from both OIGM and grayscale intensity images. This descriptor extracts the microstructure information from the OIGM image and the macrostructure information from the grayscale image. Type IIP descriptor is similar to the other proposed descriptor, where the local microstructure information is extracted from the central patch of ROI using BGPM(16;2). However, instead of using BGP operator to assemble histogram vector from the macrostructure, a standard LBP8,1u2operator is employed to extract the macrostructure information. The patch median of eight neighborhood patches is thresholded with the patch’s median of the center patch, so as to produce a string of eight binaries or label. LBP8,1u2descriptor generates over 256 labels, but only 58 uniform patterns are kept for histogram fusion and the remaining are discarded. Histograms from both domains are concatenated and given equal weights.

DistanceDescriptorCamera
12345Average
1BGPM(24;3)5.382.314.624.625.384.62
Type IP3.856.924.626.923.856.00
Type IIP10.776.926.925.3810.778.31
2BGPM(24;3)21.5416.1513.0816.1515.3816.46
Type IP23.8520.0013.8519.2315.3818.46
Type IIP34.6225.3820.0025.3821.5425.38
3BGPM(24;3)20.0018.4614.6216.1511.5416.15
Type IP16.9216.9214.6216.9216.1516.31
Type IIP22.3123.0815.3823.8516.9220.31

Table 2.

Recognition rate (%) of BGPM(24;3). Type IP and Type IIP descriptors on the SCface database.

Results in Table 2 expose that the Type IIP descriptor achieved better recognition rate than the rest of descriptors. The results also illustrate that Type IIP achieved better performance on images of distance 2 than those from distances 1 and 3. Furthermore, it is notable to mention that employing BGPM(24;3) at larger spatial resolution did not help much in improving the recognition rate as much as Type IIP has achieved.

4.3 Results of circular-based topology

As described in Section 3.2, the macrostructure information are exploited from the outer circle which always has larger spatial resolution (P;R2) than (P;R1). In other words, more points are used for thresholding when extracting the macrostructure information. For the presentation purpose, SPRiand SPRonotations are used to represent the spatial resolution of inner circle and outer circle, respectively. In the circular-based topology, two types of descriptors are designed to evaluate the performance of this topology. Type Ic descriptor is similar to what has been discussed in Section 3.2. Learning from the results obtained based on the patch-based topology, Type IIc descriptor is designed to explore a fusion of texture extracted from grayscale image and OIGM image. This descriptor extracts the local microstructure information from the OIGM image and the macrostructure information from the grayscale image. The histograms generated from these two types of images are concatenated and given equal weights. In this topology, multiple combinations of spatial resolution of inner and outer circles are tested. By limiting R2 to 5, there are 10 combinations of descriptors at different spatial resolutions. Overall, there are 20 different combinations of descriptors that were put to the test.

Performance of Type Ic and Type IIc descriptors on the SCface dataset at distance 1, distance 2, and distance 3 is presented in Tables 3,4, and 5, respectively. Similar to the results obtained by the patch-based topology, the average recognition rate of the images that belong to distance 1 from all cameras is the lowest compared to those from distance 2 and distance 3 as shown in Table 3. One noteworthy observation is that most of Type IIc descriptors at any spatial resolution achieved better recognition rate than Type Ic descriptors. Taking a closer look at the descriptor’s performance in Table 5, Type IIc descriptor with spatial resolution of S162iand S243orecorded the best results for all cameras on the test gallery of distance 3. On the other hand, for distance 2 test gallery, Type IIc descriptor with spatial resolution of S243iand S324oachieved the best result against other combinations.

Circular eBGPCamera
SPRiSPRoType12345Average
(8,1)(16,2)Ic5.383.853.853.084.624.12
IIc6.926.926.926.157.696.92
(24,3)Ic5.384.624.623.085.384.62
IIc7.695.386.927.696.926.92
(32,4)Ic5.386.155.386.156.155.84
IIc6.926.156.928.466.156.92
(40,5)Ic5.387.694.626.156.156.00
IIc9.237.696.927.696.157.54
(16,2)(24,3)Ic5.384.626.153.856.155.23
IIc6.926.925.386.157.696.61
(32,4)Ic6.156.927.694.626.156.31
IIc10.006.923.857.697.697.23
(40,5)Ic5.386.923.856.156.155.69
IIc8.467.696.158.466.927.54
(24,3)(32,4)Ic5.383.856.923.856.155.23
IIc12.317.697.699.236.928.77
(40,5)Ic6.156.155.382.316.925.38
IIc10.778.469.239.234.628.46
(32,4)(40,5)Ic4.625.386.152.317.695.23
IIc9.237.6910.0010.775.388.61
BaselineBGPM(8;1)3.080.773.083.085.383.08
BGPM(16;2)6.154.624.623.855.384.92

Table 3.

Circular-based topology on the SCface dataset at distance 1.

Circular eBGPCamera
SPRiSPRoType12345Average
(8,1)(16,2)Ic20.7712.3110.0011.5414.6213.85
IIc25.3819.2315.3817.6914.6218.46
(24,3)Ic24.6215.3811.5415.3816.9216.77
IIc25.3821.5416.1519.2314.6219.38
(32,4)Ic26.9217.6915.3817.6913.8518.31
IIc23.8519.2316.9218.4615.3818.77
(40,5)Ic29.2319.2313.0819.2313.8518.92
IIc23.0819.2315.3817.6916.9218.46
(16,2)(24,3)Ic26.1516.1511.5413.0815.3816.46
IIc25.3822.3116.1521.5419.2320.92
(32,4)Ic25.3818.4613.8513.8513.8517.08
IIc24.6221.5417.6921.5420.0021.08
(40,5)Ic25.3820.0013.0820.7715.3818.92
IIc24.6220.7716.9220.0017.6920.00
(24,3)(32,4)Ic20.7718.4612.3113.8514.6216.00
IIc28.4624.6216.9220.7720.7722.31
(40,5)Ic22.3117.6914.6216.1514.6217.08
IIc28.4623.8515.3816.1516.9220.15
(32,4)(40,5)Ic22.3116.9213.8517.6913.8516.92
IIc25.3825.3816.9220.0016.1520.77
BaselineBGPM(8;1)16.1512.316.9211.5413.8512.15
BGPM(16;2)23.8513.857.6912.3113.0814.16

Table 4.

Circular-based topology on the SCface dataset at distance 2.

Circular eBGPCamera
SPRiSPRoType12345Average
(8,1)(16,2)Ic20.7721.5413.8515.3813.8517.08
IIc25.3826.1520.0023.8513.8521.85
(24,3)Ic23.0820.7713.0820.0011.5417.69
IIc23.0824.6220.0023.8516.9221.69
(32,4)Ic20.0021.5414.6217.6911.5417.08
IIc20.7724.6217.6921.5414.6219.85
(40,5)Ic19.2317.6915.3818.4610.7716.31
IIc23.8523.8515.3820.7713.8519.54
(16,2)(24,3)Ic20.7720.7713.0817.6913.0817.08
IIc26.1525.3820.7724.6219.2323.23
(32,4)Ic20.7718.4616.1519.2310.0016.92
IIc24.6222.3116.1522.3116.9220.46
(40,5)Ic19.2319.2315.3818.4612.3116.92
IIc26.1521.5416.1522.3111.5419.54
(24,3)(32,4)Ic17.6916.1513.8517.699.2314.92
IIc23.0820.7719.2321.5415.3820.00
(40,5)Ic20.0016.1513.8519.2310.7716.00
IIc23.8521.5416.9218.4616.1519.38
(32,4)(40,5)Ic16.1515.3813.0818.4610.0014.61
IIc20.7720.7716.9221.5410.7718.15
BaselineBGPM(8;1)15.3819.2310.0016.9211.5414.61
BGPM(16;2)18.4620.0016.1514.6211.5416.15

Table 5.

Circular-based topology on the SCface dataset at distance 3.

For further evaluation, Table 6 demonstrates results of the proposed eBGP descriptor compared with state-of-the-art descriptors such as PCA [27], SIFT and sparse representation-based classification (SRC) [28], and edge-preserving super-resolution (SR) [29], on the SCface database at distance 2. All descriptors applied the same test conditions, where only one mug shot image per subject is used for training, while the remaining low-resolution images from all cameras are used as probe images. The results show that the proposed descriptors based on eBGP achieved the highest recognition rates compared to all other descriptors, especially eBGPM(16;2) (Type IIP) which has the best recognition rate over all camera images. Exploiting information from the macrostructure raised the BGPM results from the fifth highest to first. This indicates the importance of the macrostructure information in shaping a complete face representation in single-reference face recognition problem.

DescriptorCamera
12345Average
PCA [27]7.707.703.903.907.706.18
SIFT [28]13.0812.318.4615.389.2311.69
BGPM(16;2)23.8513.857.6912.3113.0814.16
SRC [28]29.2316.1512.3125.3813.0819.23
Edge-preserving SR [29]26.9221.5415.3824.6115.3820.77
eBGPM(24;3)(32;4) (circular)28.4624.6216.9220.7720.7722.31
eBGPM(16;2) (Type IIP)34.6225.3820.0025.3821.5425.38

Table 6.

Comparison of recognition rate (%) of the proposed eBGP descriptor with state-of-the-art descriptors on the SCface database at distance 2.

5. Conclusion

In this paper, an extended BGP (eBGP) descriptor, which incorporates macrostructure information into BGP descriptor, has been proposed to improve the overall descriptor performance in single-reference face recognition problem. Results obtained from a series of experiments on the SCface database showed that a fusion of information extracted from micro- and macrostructures is capable of boosting up the performance of BGP descriptor. The proposed eBGP descriptor was tested with the patch-based and circular-based topologies; in overall, the circular-based topology outperformed the patch-based topology in terms of recognition rate. In patch-based topology, 5 × 5 structure recorded better hike in recognition rate than 3 × 3 structure, while in circular-based topology, larger spatial resolution showed better hike in the recognition performance. Moreover, a fusion of micro- and macrostructure information extracted from OIGM and grayscale image, respectively, raised the recognition rate higher. In fact, Type IIc setup always illustrated a better performance boost than Type Ic. With regard to thresholding implementation, it is worth to mention that local mean is on par with the local median for the descriptor and does not offer additional boost in the patch-based topology.

Acknowledgments

The authors highly acknowledge Universiti Sains Malaysia for its fund Universiti Sains Malaysia Research University Grant (RUI) no. 1001/PELECT/8014056.

Download

chapter PDF

© 2019 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

Nuzrul Fahmi Nordin, Samsul Setumin, Abduljalil Radman and Shahrel Azmin Suandi (June 17th 2019). Extended Binary Gradient Pattern (eBGP): A Micro- and Macrostructure-Based Binary Gradient Pattern for Face Recognition in Video Surveillance Area [Online First], IntechOpen, DOI: 10.5772/intechopen.86473. Available from:

chapter statistics

91total chapter downloads

More statistics for editors and authors

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

Access personal reporting

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