Open Access
This article is

- freely available
- re-usable

*Sensors*
**2016**,
*16*(8),
1296;
https://doi.org/10.3390/s16081296

Article

Robust Pedestrian Classification Based on Hierarchical Kernel Sparse Representation

^{1}

School of Computer and Information, Hefei University of Technology, Tunxi Road 193, Hefei 230009, China

^{2}

Academy of Optoelectronic Technology, Hefei University of Technology, Tunxi Road 193, Hefei 230009, China

^{*}

Author to whom correspondence should be addressed.

Academic Editor:
Felipe Jimenez

Received: 19 May 2016 / Accepted: 10 August 2016 / Published: 16 August 2016

## Abstract

**:**

Vision-based pedestrian detection has become an active topic in computer vision and autonomous vehicles. It aims at detecting pedestrians appearing ahead of the vehicle using a camera so that autonomous vehicles can assess the danger and take action. Due to varied illumination and appearance, complex background and occlusion pedestrian detection in outdoor environments is a difficult problem. In this paper, we propose a novel hierarchical feature extraction and weighted kernel sparse representation model for pedestrian classification. Initially, hierarchical feature extraction based on a CENTRIST descriptor is used to capture discriminative structures. A max pooling operation is used to enhance the invariance of varying appearance. Then, a kernel sparse representation model is proposed to fully exploit the discrimination information embedded in the hierarchical local features, and a Gaussian weight function as the measure to effectively handle the occlusion in pedestrian images. Extensive experiments are conducted on benchmark databases, including INRIA, Daimler, an artificially generated dataset and a real occluded dataset, demonstrating the more robust performance of the proposed method compared to state-of-the-art pedestrian classification methods.

Keywords:

pedestrian classification; CENTRIST; kernel method; sparse representation; pooling## 1. Introduction

Pedestrian safety is an important problem for autonomous vehicles. A World Health Organization report describes road accidents as one of the significant causes of fatalities. About 10 million people become traffic casualties around the world each year, and two to three million of these people are seriously injured. The development of pedestrian protection systems (PPS) dedicated to reducing the number of fatalities and the severity of traffic accidents is an important and active research. PPS typically use forward vision sensors to detect pedestrians. Notwithstanding years of methodical and technical progress, e.g., see [1,2,3], pedestrian detection is still a difficult task from a machine-vision point of view. There is a wide range of pedestrian appearance arising from changing articulated pose, clothing, lighting and in case of a moving camera in a changing environment and partial occlusions pose additional problems. For different communities to benchmark and verify their pedestrian detection methods, many large-scale pedestrian data sets, including the Caltech [3], ETH [4], TUD-Brussels [5], Daimler [6], and INRIA [7] data sets, have been established and used as evaluation platforms.

Recently, some researchers and automobile manufacturers have tended to utilize advanced and expensive sensors such as infrared camera [8,9], radar [10], and laser scanners [11] in order to acquire much more information. The PPS of SAVE-U system contains a variety of sensors to achieve good system-level performance [12]. However, vision-based PPS is still a valuable strategy for onboard pedestrian detection due to the following advantages: (1) it is very cheap, which makes it a valuable solution for automobile manufacturers; (2) it has a longer detection range and good temperature characteristics; and (3) the key detection algorithms such as classification can be easily extended to other sensor systems.

A typical pedestrian detection algorithm can be divided into features extraction and classification. Marr claims that the primitives of visual information representation are simple components of forms and their local properties [13]. Therefore, local features-based methods are very promising in pedestrian detection. These features include Haar-like features [14], histogram of oriented gradient (HOG) [7], Gabor filter-based cortex features [15], covariance features [16], HOG-LBP features [17], edgelet features [18], shapelet features [19], CENTRIST [20], multiscale orientation features [21], etc. A recent survey [2] has shown that various HOG features are most effective for pedestrian detection.

While no single feature has been shown to outperform HOG, additional features can provide complementary information. Wojek and Schiele [22] show a combination of Haar-like features, shapelets, shape context and HOG features outperforms any individual feature. Walk et al. [23] extended this framework by additionally combining local color self-similarity and the motion features discussed in [22]. Likewise, Wu and Nevatia [24] automatically combined HOG, edgelet, and covariance features. Dollar et al. [25] proposed an extension of Haar-like features, which are computed over multiple channels of visual data, including LUV color channels, grayscale, gradient magnitude, and gradient magnitude quantized by orientation (implicitly computing gradient histograms), providing a simple and uniform framework for integrating multiple feature types. Unfortunately, multi-features improve detection accuracy but bring with it increased computational cost. Low computational requirements are of the essence for real-time onboard PPS.

In the classifiers, support vector machines (SVM) have become very popular in the domain of pedestrian classification, in both linear [7,26], and nonlinear variants [27]. Other popular classifiers include neural networks [28] and boosted classifiers [29]. Munder and Gavrila [30] studied the problem of pedestrian classification with different features and classifiers. They found that local receptive fields do a better job of representing pedestrians and that both SVM and adaboost classifiers outperformed the other tested classifiers. Xu et al. [31] proposed an efficient tree classifier ensemble-based method, which realize onboard detection in intelligent vehicles with a high detection speeds. Several approaches have attempted to break down the complexity of the problem into subparts. One way is to represent each body as an ensemble of components which are usually related to body parts. After detecting the individual body parts, detection results are fused using latent SVM [32], a Mixture-of-Experts framework [33], and the Restricted Boltzmann Machine Model [34].

Although these methods perform well under controlled conditions, they cannot handle effectively partially occluded, varying appearance and small-scale pedestrian images in a real-world scenario [2,35]. Recently an interesting classifier, namely sparse representation-based classification (SRC), was proposed by Wright et al. [36] for robust face recognition. Wright sparsely coded a testing image on the training set by L1-norm minimization, and then classified it to the class according to the least coding residual. By assuming that the outlier parts in the face image are sparse and by using an identity matrix to code the outliers, SRC has better classification performance than nearest neighbor (NN) [37], nearest subspace (NS) [38] and linear SVM [39] on face databases. However, SRC would lose its classification ability on data with the same direction distribution.

In this paper, we proposed a novel hierarchical features extraction and weighted kernel sparse representation (HFE − WKSR) model for pedestrian classification. First, we propose a hierarchical features extraction and max pooling (MP) operation to capture discriminative structures and enhance the invariance of varying appearance. Second, we propose a WKSR model, which not only uses kernel representation to fully exploit the discrimination information embedded in the hierarchical local features, but also adopts a Gaussian function as the measure to effectively handle the occlusion in query images. Compared with the previous classification methods, e.g., SVM with HOG features and SRC with holistic features, the proposed HFE − WKSR model shows much greater robustness with various pedestrian image variations (e.g., illumination, appearance and background) and partial occlusion, as demonstrated in our extensive experiments conducted on benchmark databases.

## 2. Related Work

#### 2.1. CENTRIST Features

CENTRIST (CENsus TRansform hISTogram) is a histogram vector designed for establishing correspondence between local patches, firstly proposed for scene categorization [40]. Census transform (CT) compares the intensity value of a pixel with its eight neighboring pixels, as illustrated in Equation (1).

$$\left[\begin{array}{ccc}87& 19& 23\\ 23& 27& 15\\ 68& 26& 22\end{array}\right]\Rightarrow \left[\begin{array}{ccc}0& 1& 1\\ 1& & 1\\ 0& 1& 1\end{array}\right]\Rightarrow {(01111011)}_{2}\Rightarrow {\text{CT}=(123)}_{10}$$

CT compares the intensity value of a pixel with its 8-neighborhood. If the intensity value of the center pixel is bigger than (or equal to) one of its neighbors, a bit “1” is set in the corresponding location, otherwise a bit “0” is set. The eight bits stream generated from left to right, and top to bottom order, which is consequently converted to a base-10 number in [0, 255]. This is the CT value for the center pixel. After the pixel values are replaced by the CT values, the corresponding CT image is obtained. The CENTRIST descriptor is a histogram with 256 bins, which is a histogram of these CT values in an entire image or a rectangular region in an image.

The CENTRIST feature is robust with regard to illumination changes and gamma variations. It is a powerful tool to capture global local structures and contours beyond the small 3 × 3 range. Figure 1a,b shows a 108 × 36 human image and its contour. We divide this image into 12 × 4 blocks, so each block has 81 pixels. We can find a similar image that has the same pixel intensity histogram and CENTRIST descriptor through a reconstruction algorithm [40]. As shown in Figure 1c, the reconstructed image is similar to the original image. The global characteristics of the human contour are well preserved in spite of errors in the left part of the human. From this example, we know that CENTRIST not only encodes important information but also implicitly encodes the global contour encourages us to use it as a suitable representation for object detection. The speed issue of feature extraction is very important, because real-time detection is the prerequisite in the PPS. Comparing with SIFT and HOG, CENTRIST not only exhibits good performance, it is easy to implement and evaluates extremely quickly.

In order to capture the rough global information of an image, CENTRIST generally uses the spatial pyramid framework, which is an extension of the SPM scheme in [41]. As shown in Figure 2, it rescales the image size for different level and the overlapped region indicated by dash lines, so it contains 31 blocks of the same size in 3 levels. CENTRISTs extracted from all the blocks are then concatenated to form the final feature vector. Features pyramid representations have proven effective for visual processing tasks such as denoising, texture analysis and recognition [42].

#### 2.2. Sparse Representation Classifier

SRC is a nonparametric learning method similar to nearest neighbor (NN) and nearest subspace (NS). The basic idea is that training samples form a training matrix as a dictionary and then the testing sample can be spanned by this dictionary sparsely. In other words, a testing sample is only related to few columns in this dictionary. SRC has been successfully applied to human frontal face recognition in [36]. They experimentally show that SRC has better classification performance, which can effectively overcome the small samples and overfitting problem of NN and NS.

Assume that there are a set of training samples $\{({x}_{i,}{l}_{i})|{x}_{i}\in {\Re}^{m},{l}_{i}\in \{1,2,\cdots ,c\},i=1,2,\cdots n\}$, where c is the number of classes, m is the dimensionality of the input sample, ${l}_{i}$ is label corresponding to ${x}_{i}$. Given a test sample y, the goal is exactly to predict the label of y from the given c–class training samples. Now we arrange the jth class training samples as columns of a matrix ${X}_{j}=[{x}_{j,1},\cdots ,{x}_{j,{n}_{j}}]\in {\Re}^{m\times {n}_{j}},j=1,2,\cdots ,c$, where ${x}_{j,i}$ denotes the sample belonging to the jth class, and ${n}_{j}$ is the number of the class training samples. Define a new dictionary matrix $X$ for all training samples.
where $n={\displaystyle {\sum}_{j=1}^{c}{n}_{j}}$. The representation model of SRC could be written as
where $\alpha $ is the vector of coefficients which is expected to be sparse, ${\Vert \cdot \Vert}_{1}$ denotes the L1-norm.

$$X=[{X}_{1},{X}_{2},\cdots ,{X}_{c}]\in {\Re}^{m\times n}$$

$$\widehat{\alpha}=\mathrm{arg}\underset{\alpha}{\mathrm{min}}\left\{{\Vert y-X\alpha \Vert}_{2}^{2}+\lambda {\Vert \alpha \Vert}_{1}\right\}$$

The classification of y is done by
where ${\delta}_{j}(\cdot ):{\Re}^{n}\to {\Re}^{{n}_{j}}$ is the characteristic function that selects from $\widehat{\alpha}$ the coefficients associated with the jth class. When the L1-norm changes L2-norm in Equation (3), we can get the collaborative representation classifier (CRC). It is shown in [39] that CRC has comparable accuracy to SRC in face recognition without occlusion but with much faster speed. For occlusion or corruption, Robust-SRC [39] classifies the occluded image y with
where
and ${X}_{e}$ is an occlusion dictionary to code the outliers and could set as the identity matrix.

$$\mathrm{identity}(y)=\mathrm{arg}\underset{j}{\mathrm{min}}\left\{{\Vert y-{X}_{j}{\delta}_{j}(\widehat{\alpha})\Vert}_{2}\right\}$$

$$\mathrm{identity}(y)=\mathrm{arg}\underset{j}{\mathrm{min}}\left\{{\Vert y-{X}_{j}{\delta}_{j}(\widehat{\alpha})-{X}_{e}{\widehat{\alpha}}_{e}\Vert}_{2}\right\}$$

$$[\widehat{\alpha},{\widehat{\alpha}}_{e}]=\mathrm{arg}\underset{\alpha ,{\alpha}_{e}}{\mathrm{min}}\left\{{\Vert y-X\alpha -{X}_{e}{\alpha}_{e}\Vert}_{2}^{2}+\lambda {\Vert [\alpha ,{\alpha}_{e}\Vert}_{1}\right\}$$

## 3. Hierarchical Kernel Sparse Representation

#### 3.1. Hierarchical Features Extraction

The appearance of pedestrians exhibits very high variability since they can change pose, wear different clothes, carry different objects, and have a considerable range of sizes. Pedestrians can be partially occluded by common urban elements, such as parked vehicles or street furniture. Classical features extraction methods such as the HOG mainly consider the global scatter of samples and may fail to reveal object local discriminative structures. In this section, we propose a very effective hierarchical features extraction (HFE) technique to capture discriminative structures at varying scales.

Firstly, we adopt S + 1 level block partition, where s = 0, 1, …, S. That is to say, in the sth level, the whole image is divided into p

_{s}× q_{s}blocks, each of which is further partitioned into p_{s}× q_{s}sub-blocks. Different from the partition of spatial pyramid, such as 1 × 1, 2 × 2, 4 × 4, we adopt a more flexible partition. As shown in the first row of Figure 3, for example, the partition of the sample can be made as 2 × 2, 3 × 2, and 4 × 3, respectively, with 22 blocks of three different sizes in total. This kind of partition could flexibly set the number of blocks in each scale and is expected to capture more spatial discrimination information than the spatial pyramid. As shown in the second row of Figure 3, in each sub-block we first create a sequence of 3 × 3 sliding boxes (e.g., the red box shown in Figure 3), and then compute the CENTRIST descriptor of each box’s local feature. In this paper, HFE is defined as the one with the following setting: p_{s}= 2 and q_{s}= 2 for partition scale s = 0 and 1; p_{s}= 1 and q_{s}= 1 for s > 1.Pooling techniques are widely used in object and in image classification to extract invariant features [43,44]. In this paper, the max pooling operation is operated on a series of local features generated in each partitioned sub-block. Denoted by f

_{i}is the feature vector extracted from the ith sliding box, and suppose that there are n feature vectors, f_{1}, f_{2}, …, f_{n}, which are extracted from all possible sliding boxes in this sub-block, and then the final output feature vector, denoted by f, after max pooling is
$$\left\{f\right\}=\mathrm{max}\left\{\right\{{f}_{1}\},\{{f}_{2}\},\cdots ,\{{f}_{n}\left\}\right\}$$

Let us suppose that the sample is partitioned into B blocks in total. In each block, after extracting the max pooling (MP) features of every sub-block, we concatenate the MP features of all sub-blocks as the output feature vector. Denoted by y

_{i}is the output feature vector in the ith block. Then the concatenation of all feature vectors extracted from all blocks, i.e., y = [y_{1}, y_{2}, …, y_{B}] could be taken as the descriptor of the sample image. For example, the size of original image is 128 × 48. The whole image is divided into three level as 2 × 2, 3 × 2, and 4 × 3, totally 22 blocks. Each block is partitioned into 2 × 2 sub-blocks, for a total of 88 sub-blocks. Each sub-block extracts 16 dimensions of the feature vector. Then, the final image descriptor has 1408 dimensions through concatenating all feature vectors. The proposed HFE method could not only introduce more spatial information because of its use of hierarchical structures, but also enhance the robustness with regard to varying illumination and appearance because of its use of max pooling.#### 3.2. Robust Kernel Sparse Representation

SRC behaves well in human frontal face recognition. However, SRC has poor classification ability even for the linearly separable task in which the data from different classes have the same direction. The main reason is that the data in the same direction would overlap each other after the normalization process, so we cannot essentially distinguish them. To resolve this problem occurring in SRC, the kernel trick is introduced into SRC and generates a kernel sparse representation-based classifier [45].

Only a kernel satisfying Mercer’s condition is called a Mercer kernel which is generally used in kernel methods. In other words, a Mercer kernel is continuous, symmetric, positive semi definite kernel function. Usually, a Mercer kernel function k(.) can be expressed as
where T denotes the transpose of a matrix or vector, φ is the implicit nonlinear mapping associated with the kernel function k(.), which maps the feature vectors

$$k(x,z)=\phi {(x)}^{T}\phi (z)$$

**x**and**z**to a higher dimensional feature space. The kernel function is actually Euclidian vector inner product between two image features. In kernel methods, we do not need to know what is and just adopt the kernel function Equation (8). It has been shown that histogram intersection kernel and Chi-square kernel are more powerful than other kernel function in classification [27]. Therefore, more discriminant information embedded in HFE could be exploited if the histogram intersection kernel or Chi-square kernel could be adopted in the SRC. The histogram intersection kernel ${k}_{HIK}$ and Chi-square kernel ${k}_{C}$ are defined as follows:
$${k}_{HIK}(x,z)={\displaystyle \sum _{i=1}^{n}\mathrm{min}({x}_{i},{z}_{i})},\text{}{k}_{C}(x,z)={\displaystyle \sum _{i=1}^{n}\frac{2{x}_{i}{z}_{i}}{{x}_{i}+{z}_{i}}}$$

After the HFE-based features extraction on the query image, B blocks of multiple partitions are obtained, and B sub-feature vectors, denoted by y
where ${\alpha}_{i}$ is the coding coefficient vector in the high dimensional feature space mapped by the kernel function φ. Let ${k}_{XX}$ be a n × n matrix with ${\left\{{k}_{XX}\right\}}_{ij}=k({X}_{i},{X}_{j})$ and ${k}_{Xy}$ be a n-dimensional vector with ${\left\{{k}_{Xy}\right\}}_{i}=k({X}_{i},y)$. Equation (4) can be written as:

_{1}, y_{2}, …, y_{B}, are extracted. Similarly, for each of the training samples, we can extract the sub-feature vectors, and let us denote by**X**_{i}the matrix formed by all the sub-feature vectors of the ith block from all training samples. Taking the ith block as an example, the kernel representation of y_{i}over the matrix X_{i}could be formulated as
$$\underset{\alpha}{\mathrm{min}}\left\{{\Vert \phi ({y}_{i})-\phi ({X}_{i}){\alpha}_{i}\Vert}_{2}^{2}+\lambda {\Vert {\alpha}_{i}\Vert}_{1}\right\}$$

$$\underset{\alpha}{\mathrm{min}}\left\{k({y}_{i},{y}_{i})+{{\alpha}_{i}}^{T}{k}_{XX}{\alpha}_{i}-2{{\alpha}_{i}}^{T}{k}_{X{y}_{i}}+\lambda {\Vert {\alpha}_{i}\Vert}_{1}\right\}$$

If we enforce ${\alpha}_{i}={\alpha}_{j}$ for different blocks i ≠ j, i.e., we assume that the different blocks y
where

_{i}extracted from the same test sample have the same representation over their associated matrix**X**_{i}, then kernel representation of the query image by combining all the block features could be written as
$$\underset{\alpha}{\mathrm{min}}\left\{{\Vert \phi ({y}_{1})\phi ({y}_{2})\cdots \phi ({y}_{B})-\phi ({X}_{1})\phi ({X}_{2})\cdots \phi ({X}_{B})\alpha \Vert}_{2}^{2}+\lambda {\Vert \alpha \Vert}_{1}\right\}$$

**α**is the coding coefficient vector of the query sample. The above model seeks a regularized representation for a mapped feature under the mapped basis in the high dimensional space.#### 3.3. Occlusion Solution

In the kernel representation model Equation (12), the L2-norm is used to measure the representation residual. Such a kernel representation is effective when there are no outliers in the query image. However, partial occlusion or noise can often appear in the query pedestrian image. In such case, the block in which occlusion appear will have a big representation residual, reducing the role of clean blocks in the final classification. In short, the representation model in Equation (12) is very sensitive to partial occlusion.

To make the kernel representation robust to partial occlusion and noises, we propose to adopt some robust fidelity term in the modeling. Denoted by e = [e

_{1}, e_{2}, …, e_{B}] the representation residual vector, where e_{i}is the kernel representation residual of the ith block:
$${e}_{i}={\sqrt{\Vert \phi ({y}_{i})-\phi ({X}_{i}){\alpha}_{i}\Vert}}_{2}^{2}$$

We assume that e

_{i}is independent from e_{j}if i ≠ j as they represent the representation residuals of different blocks.The proposed weighted kernel sparse representation (WKSR) can then be formulated as
where $\omega (e)={\displaystyle {\sum}_{i=1}^{B}\omega ({e}_{i})}$ and the weight function $\omega (\cdot )$ is expected to be insensitive to the outliers in the query sample. A good weight function should be robust to outliers, i.e., $\omega ({e}_{i})$ has a large value when | e

$$\underset{\alpha}{\mathrm{min}}\omega (e)+\lambda {\Vert \alpha \Vert}_{1}$$

_{i}| is small (e.g., blocks without outliers), and a small value when | e_{i}| is big (e.g., blocks with outliers). The widely used Gaussian function can be chosen as the weight function
$$\omega ({e}_{i})=\frac{1}{\sqrt{2\pi {\sigma}^{2}}}\mathrm{exp}\left(-\frac{{{e}_{i}}^{2}}{2{\sigma}^{2}}\right)$$

The above weight function could effectively assign the outliers with large representation residuals low weights, and assign inliers with small representation residuals high weights (here the weight value is normalized to the range of [0, 1]). It should be noted that the weight values of each testing sample are estimated online, and there is not a training phase of them.

With the above development, Equation (12) could be rewritten as
where ${\omega}_{i}$ is $\omega ({e}_{i})$ computed by Equation (15) with ${e}_{i}={\sqrt{\Vert \phi ({y}_{i})-\phi ({X}_{i}){\alpha}_{i}\Vert}}_{2}^{2}$ and ${\alpha}_{i}$ is an known coding coefficient vector. Here $\sigma $ are scalar parameters, which could be set as a constant value or automatically updated. $\sigma $ is usually set as $1/\sqrt{2\pi}$ to make the weight close to 1 when e

$$\underset{\alpha}{\mathrm{min}}{\displaystyle \sum _{i=1}^{B}{\omega}_{i}\Vert \phi ({y}_{i})-\phi ({X}_{i}){\alpha}_{i}\Vert}+\lambda {\Vert {\alpha}_{i}\Vert}_{1}$$

_{i}= 0.With the defined kernel matrix ${k}_{XX}$ and kernel vector ${k}_{Xy}$, Equation (16) could be re-written as

$$\underset{\alpha}{\mathrm{min}}\left\{{\displaystyle \sum _{i=1}^{B}{\omega}_{i}k({y}_{i},{y}_{i})}+{{\alpha}_{i}}^{T}{\displaystyle \sum _{i=1}^{B}{\omega}_{i}{k}_{{X}_{i}{X}_{i}}}{\alpha}_{i}-2{{\alpha}_{i}}^{T}{\displaystyle \sum _{i=1}^{B}{\omega}_{i}{k}_{{X}_{i}{y}_{i}}}+\lambda {\Vert {\alpha}_{i}\Vert}_{1}\right\}$$

From Equation (17) we can see that the proposed WKSR methods could exploit the discrimination information in the mapped higher dimensional feature space; at the same time, the weight ${\omega}_{i}$ can effectively remove the outliers’ effect on computing the coefficient vector.

The coefficient vector
where ${\epsilon}_{i,j}={\Vert \phi ({y}_{i})-\phi ({X}_{i,j}){\widehat{\alpha}}_{j}\Vert}_{2}^{2}$ is the ith-block kernel representation residual associated with the jth class. ${X}_{i}=[{X}_{i,1},{X}_{i,2},\cdots ,{X}_{i,c}]$ with ${X}_{i,j}$ being the sub-matrix of ${X}_{i}$ associated with the jth class, ${\widehat{\alpha}}_{j}$ being the representation coefficient vector associated with the jth class. From Equation (18) it can be seen that the classification criteria is based on a weight sum of kernel representation residuals, which utilizes both the discrimination power of kernel representation in high-dimensional feature space and the insensitiveness of robust representation to outliers. In addition, the kernel representation residual, ${\epsilon}_{i,j}$ could be rewritten as

**α**is regularized by L1-norm. Efficient feature-sign search algorithm [46] could be used to solve the sparse coding problem of Equation (17). The solving of WKSR is an iterative and alternative process: the weight value is estimated via Equation (15) with known sparse coefficient, and then the sparse coefficient is computed via Equation (17) with known weight value. After getting the solution $\widehat{\alpha}$ after some iteration, the classification of the query sample is done via
$$\mathrm{identity}(y)=\mathrm{arg}\underset{j}{\mathrm{min}}\left\{{\displaystyle \sum _{i=1}^{B}{\omega}_{i}{\epsilon}_{i,j}}\right\}$$

$${\epsilon}_{i,j}=k({y}_{i},{y}_{i})+{{\widehat{\alpha}}_{j}}^{T}{k}_{{X}_{i,j}{X}_{i,j}}{\widehat{\alpha}}_{j}-2{{\widehat{\alpha}}_{j}}^{T}{k}_{{X}_{i,j}{y}_{i}}$$

#### 3.4. Proposed Classification Algorithm

For pedestrian classification, the goal is to determine a class label for a query image. We consider a two class problem with classes C0 (pedestrian) and C1 (nonpedestrian). The whole algorithm of the proposed pedestrian classification is summarized in Algorithm 1.

Algorithm 1: Weighted Kernel Sparse Representation Classifier |

1. Hierarchical Features Extraction based on CENTRIST |

2. WKSR: Initialize the weight in each block as 1: ${\omega}_{i}=1$ While not converge, do (a) Compute weighted kernel sparse representation ${\widehat{\alpha}}_{i}=\mathrm{arg}\underset{\alpha}{\mathrm{min}}\left\{{\displaystyle \sum _{i=1}^{B}{\omega}_{i}k({y}_{i},{y}_{i})}+{{\alpha}_{i}}^{T}{\displaystyle \sum _{i=1}^{B}{\omega}_{i}{k}_{{X}_{i}{X}_{i}}}{\alpha}_{i}-2{{\alpha}_{i}}^{T}{\displaystyle \sum _{i=1}^{B}{\omega}_{i}{k}_{{X}_{i}{y}_{i}}}+\lambda {\Vert {\alpha}_{i}\Vert}_{1}\right\}$ (b) Compute the reconstruction residual ${e}_{i}={\sqrt{\Vert \phi ({y}_{i})-\phi ({X}_{i}){\alpha}_{i}\Vert}}_{2}^{2}=k({y}_{i},{y}_{i})+{{\widehat{\alpha}}_{j}}^{T}{k}_{{X}_{i}{X}_{i}}{\widehat{\alpha}}_{j}-2{{\widehat{\alpha}}_{j}}^{T}{k}_{{X}_{i}{y}_{i}}$ (c) Compute the weight value $\omega ({e}_{i})=\frac{1}{\sqrt{2\pi {\sigma}^{2}}}\mathrm{exp}\left(-\frac{{{e}_{i}}^{2}}{2{\sigma}^{2}}\right)$ (d) Checking convergence condition $\sum _{i=1}^{B}({{\omega}_{i}}^{(t)}-}{{\omega}_{i}}^{(t-1)}{)}^{2}/{\displaystyle \sum _{i=1}^{B}{({{\omega}_{i}}^{(t-1)})}^{2}<\tau$ where $\tau $ is a small positive scalar and ${{\omega}_{i}}^{(t)}$ is the weight value of ith block in the iteration t. |

3. Do classification$\text{identity}=\mathrm{arg}\underset{j}{\mathrm{min}}\left\{{\displaystyle \sum _{i=1}^{B}{\omega}_{i}k({y}_{i},{y}_{i})}+{{\widehat{\alpha}}_{j}}^{T}{\displaystyle \sum _{i=1}^{B}{\omega}_{i}{k}_{{X}_{i,j}{X}_{i,j}}}{\widehat{\alpha}}_{j}-2{{\widehat{\alpha}}_{j}}^{T}{\displaystyle \sum _{i=1}^{B}{\omega}_{i}{k}_{{X}_{i,j}{y}_{i}}}\right\},j=0,1$ where ${X}_{i,j}$ the sub-matrix of ${X}_{i}$ associated with the jth class, ${\widehat{\alpha}}_{j}$ being the representation coefficient vector associated with the jth class. |

The algorithm includes three steps: (1) the first step extracts the discrimination information using the proposed HFE; (2) the second step performs WKSR; and (3) the last step performs classification. The second step is an iterative process. Through experiments, we found that this process converges fast. For instance, when there is no occlusion, only two or three iterations are needed, and when there is occlusion in the query image, approximately ten iterations can lead to a good solution.

Compared with the HOG + SVM and SRC approaches, the proposed WKSR method attenuates the problems of the query images with corrupted, occluded or largely varied appearances that may mislead the representation and classification. The running speed of HFE − WKSR is very fast. Under the programming environment of MATLAB version R2010a in a desktop of 3.07-HHz CPU with 8-GHz RAM, the running time of SRC and HFE − WKSR using feature-sign search algorithm [46] is compared in Table 1. In the experiment of INRIA database (refer to Section 4 for the detailed experimental setting), the average running time of HOG + SVM is 0.1806 s; the average running time of HFE + SRC and HFE − WKSR is 0.1239 s and 0.1372 s, respectively. In the experiment of Daimler datasets with partial occlusion (refer to Section 4 for the detailed experimental setting), the average running time of HFE + SRC and HFE − WKSR is 0.0403 s and 0.0463 s, respectively, which is much less than that of HOG + SVM (0.0682 s).

## 4. Experimental Results

In this section, we present experimental results on benchmark pedestrian databases to illustrate the effectiveness of our method. In Section 4.1, we discuss the parameter setting. In Section 4.2, we present the experimental results on INRIA databases captured in high definition digital camera. In Section 4.3, we present the experimental results on Daimler dataset captured in mobile recoding setup to demonstrate the robustness of HFE − WKSR to varied illumination, background and appearance. Then in Section 4.4, we test the robustness of HFE − WKSR against partial occlusion in INRIA random block occlusion and Daimler Occlusion datasets.

#### 4.1. Parameter Setting

The proposed method consists of two main procedures: hierarchical feature extraction (HFE) and WKSR. With no specific instruction, the parameters of HFE–WKSR are set as shown in Table 2. In feature extraction, the histogram of CENTRIST encoded on the raw image is used as the local features, and the number of histogram bins for each sub-block is set to 16. In the proposed hierarchical features extraction method, we set s = 0, p

_{0}= 4, and q_{0}= 4 for INRIA and Daimler dataset with non-occlusion images. For Daimler and INRIA dataset with partial occlusion images, we set s = 2, and (p_{s}, q_{s}) ={(4, 4, (3, 2), (2, 2)} for s = {0, 1, 2}. In the procedure of WKSR, the histogram intersection kernel [42] is used as the kernel function. In the Gaussian weight, we set $\sigma =0.5$ for samples with occlusion and $\sigma =0.4$ for samples without occlusion. The convergence parameter $\tau $ and the Lagrange multiplier $\lambda $ is empirically set as 0.7 and 0.005, respectively. The other parameters are obtained by cross-validation. We use randomly selected 100 of all labeled samples as the training set and 500 samples as test set, then vary level from 1 to 4, bin number form 8, 16 and 32, weight from 0.2 to 0.8. Each experiment is repeated five times using different random sampling. Finally, we determine parameters setting according to time consumption and classification accuracy.#### 4.2. Pedestrian Classification on INRIA Dataset

We first evaluate the performance of the proposed algorithm on INRIA databases captured in static digital camera, which has been widely used for pedestrian/human detection evaluation in recent years. The original SRC and SVM with HOG feature [7] is used as the baseline methods, and we then apply the proposed HFE feature to SRC [36], CRC [39], histogram intersection kernel-based support vector machine (HIKSVM) as its similarity measurement, and compare them with the proposed HFE − WKSR. INRIA consists of 1758 positives and 1685 negatives images captured under various view and illumination conditions. Example of images from the dataset are shown in Figure 4. In our experiment, N samples are randomly chosen as training samples and 500 of the remaining images are randomly chosen as the testing data. Here the images are normalized to 128 × 64 and the experiment for each N samples runs ten times.

The pedestrian classification results and mean recognition accuracy of all the competing methods are listed in Table 3. The proposed HFE − WKSR achieves the best performance, with more than a 4% improvement over all the others when N is small (e.g., 20 and 50). When 100 training samples are selected, an accuracy of 97.5% is achieved by HFE − WKSR. It could also be seen that those methods based on sparse representation (e.g., HFE − WKSR, HFE + CRC, HFE + SRC, and HOG + SRC) are more powerful than SVM-based methods.

#### 4.3. Pedestrian Classification on Daimler Dataset

In this section, we test the robustness of the proposed method to real traffic scenes on Daimler databases with complex background, varied illumination and appearances. Daimler databases consists of 15,659 pedestrian and 6740 nonpedestrian samples captured from vehicle-mounted camera in an urban environment. As opposed to the INRIA dataset, nonpedestrian samples were selected by a preprocessing step from the negative samples, which match a pedestrian shape template based on the average Chamfer distance score. Both samples were scaled into a fixed size of 96 × 48 windows, and pedestrian samples include a margin of 2 pixels around. The small size of the windows, combined with motion background, makes detection on the Daimler dataset extremely challenging. Examples of images from the dataset are shown in Figure 5. In the experiment, all pedestrian samples are divided into three groups, including illumination, background and appearance change. 1000 samples are randomly chosen as training samples and 9000 of the remaining images are randomly chosen as the testing data. Here the images are normalized to 96 × 48 and the experiment for each group runs ten times.

Table 4 lists the results of all the competing methods. It can be seen that the proposed HFE − WKSR achieves the highest recognition rates, with at least 3% improvements than all the other methods, respectively. The original SRC with HOG gets the worst recognition rates, much lower than HFE + SRC. This validates that HFE is robust to misalignment to some extent. Sparse representations (e.g., CRC and SRC) combined with HFE could have approximately 10% improvements over other kinds of classifiers (e.g., HISVM, SVM). To show the effectiveness of MP, we also give the recognition rate of SLF-RKR without the step of MP in Table 4. One can see that even without MP, HFE − WKSR still outperforms HFE + SRC by 1.9% in average, whereas HFE − WKSR outperforms HFE + CRC by 2.6%. It can also be observed that the improvement introduced by MP is over 5% in each session, which clearly shows the effectiveness of the proposed MP in dealing with varied illumination, background and appearance.

#### 4.4. Pedestrian Classification on Partial Occlusion Datasets

Partial occlusion is a very challenging issue in a pedestrian detection system when the subject is covered by other objects such as trees, cars and other human. One interesting property of SRC [36] is its robustness to occlusions. In this section, we test the performance of HFE − WKSR to various occlusions, including random block occlusion and real occlusion. In HFE − WKSR, the robustness to occlusion mainly comes from its iterative reweighed kernel robust representation. In this section, the weight W in each block is automatically updated.

- (1)
- Pedestrian classification with random block occlusion. In the database of INRIA, we chose 100 non-occlusion images with normal-to-moderate lighting conditions for training, and 500 of the remaining images are randomly chosen for testing. Similar to the settings in [36], we simulate various levels of contiguous occlusion, from 0% to 50%, by replacing a randomly located square block of each testing image with an unrelated image, as illustrated in Figure 6, where (a) shows a pedestrian image with 20% block occlusion, (b) shows a pedestrian image with 30% block occlusion and (c) shows a pedestrian image with 40% block occlusion. Here the location of occlusion is randomly chosen for each image and is unknown to each algorithm, and the image size is normalized to 128 × 64.

Table 5 lists the classification results versus various levels of occlusions. Here λ of HFE − WKSR is set as 0.1. From Table 5, we can see that almost all methods could correctly classify most of the testing samples when occlusion level is from 10% to 20%. However, when occlusion percentage is larger than 20%, the advantage of HFE − WKSR over other methods becomes significant. For instance, when occlusion is 40%, HFE − WKSR could achieve at least 84% recognition accuracy, compared with at most 72.5% for other methods. For HFE − WKSR, when there is 50% block occlusion, it can still achieve a recognition rate of over 75%. This clearly demonstrates the effectiveness of the proposed HFE − WKSR method to deal with partial occlusion.

- (2)
- Pedestrian classification real occlusion: The Daimler dataset is divided into partially occluded set and non-occluded test set. The partially occluded test set contains 11,160 pedestrians and 16,253 non-pedestrians. Example of images from the dataset are shown in Figure 7. Figure 8 shows the classification results. It can be seen that the proposed methods achieve 84.2% recognition accuracy, much higher than the state-of-the-art results, for example, 56.8% (HOG + SVM) and 68.7% (HOG + SRC), and 77.8% (HFE + SRC) and 78.0% (HFE + CRC), and 74.6%(HFE + HIKSVM). The improvement of HFE − WKSR over all the other methods is at least 6%, which clearly shows the superior classification ability of HFE − WKSR.

## 5. Conclusions

Because a vision-based pedestrian protection system (PPS) is low in cost, and is not influenced by temperature, it has extensive applications in autonomous vehicles. Pedestrian classification is a key technology for PPS. In this paper, we proposed a novel HFE − WKSR model for pedestrian classification. A robust representation model for image outliers (e.g., occlusion and noise) was built in the kernel space, and a hierarchical features extraction based on the CENTRIST descriptor was proposed to capture the discriminative structures of object. A max pooling operation is used to enhance the invariance of the local pattern feature to varying illumination and appearance. We evaluated the proposed method in different conditions, including variations of illumination, view, appearance, as well as block occlusion. One big advantage of the proposed method is its high recognition rates and robustness against various occlusions. The extensive experimental results demonstrated that HFE − WKSR is superior to state-of-the-art methods and has great potential to be applied in practical pedestrian protection systems.

## Acknowledgments

This work was supported by the National Natural Science Foundation of China (61471154).

## Author Contributions

Rui Sun conceived the work, designed the algorithms, and wrote the manuscript. Guanghai Zhang and Xiaoxing Yan performed the experiments and analysis the data. Jun Gao supervised the work and contributed materials.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- David, G.; Antonio, M.L.; Angel, D.S. Survey of Pedestrian Detection for Advanced Driver Assistance Systems. IEEE Trans. Pattern Anal. Mach. Intell.
**2010**, 32, 1239–1258. [Google Scholar] - Dollar, P.; Wojek, C.; Schiele, B.; Perona, P. Pedestrian Detection: An Evaluation of the State of the Art. IEEE Trans. Pattern Anal. Mach. Intell.
**2012**, 34, 743–761. [Google Scholar] [CrossRef] [PubMed] - Miron, A.; Rogozan, A.; Ainouz, S.; Bensrhair, A.; Broggi, A. An Evaluation of the Pedestrian Classification in a Multi-Domain Multi-Modality Setup. Sensors
**2015**, 15, 13851–13873. [Google Scholar] [CrossRef] [PubMed] - Ess, A.; Leibe, B.; Gool, L.V. Depth and Appearance for Mobile Scene Analysis. In Proceedings of the 2007 IEEE 11th International Conference on Computer Vision, Rio de Janeiro, Brazil, 14–21 October 2007.
- Wojek, C.; Walk, S.; Schiele, B. Multi-Cue Onboard Pedestrian Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 794–801.
- Enzweiler, M.; Gavrila, D.M. Monocular Pedestrian Detection: Survey and Experiments. IEEE Trans. Pattern Anal. Mach. Intell.
**2009**, 31, 2179–2195. [Google Scholar] [CrossRef] [PubMed] - Dalal, N.; Triggs, B. Histograms of Oriented Gradients for Human Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, San Diego, CA, USA, 20–25 June 2005; pp. 886–893.
- Lee, Y.S.; Chan, Y.M.; Fu, L.C.; Hsiao, P.Y. Near-Infrared-Based nighttime pedestrian detection using grouped part models. IEEE Trans. Intell. Trans. Syst.
**2015**, 16, 1929–1940. [Google Scholar] [CrossRef] - Hurbey, P.; Waldron, P.; Morgan, F.; Jones, E.; Glavin, M. Review of pedestrian detection techniques in automotive far-infrared video. IET Intell. Trans. Syst.
**2015**, 9, 824–832. [Google Scholar] - Etinger, A.; Balal, N.; Litvak, B.; Einat, M.; Kapilevich, B.; Pinhasi, Y. Non-Imaging MM-Wave FMCW Sensor for Pedestrian Detection. IEEE Sens. J.
**2014**, 14, 1232–1237. [Google Scholar] [CrossRef] - Kim, B.; Choi, B.; Park, S.; Kim, H. Pedestrian/Vehicle Detection Using a 2.5-D Multi-Layer Laser Scanner. IEEE Sens. J.
**2016**, 16, 400–408. [Google Scholar] [CrossRef] - Gandhi, T.; Trivedi, M.M. Pedestrian Protection Systems: Issues, Surveys and Challenges. IEEE Trans. Intell. Trans. Syst.
**2007**, 8, 413–430. [Google Scholar] [CrossRef] - Marr, D. Vision: A Computational Investigation into the Human Representation and Processing of Visual Information; Henry Holt and Co., Inc.: New York, NY, USA, 1982. [Google Scholar]
- Viola, P.; Jones, M.; Snow, D. Detecting pedestrians using patterns of motion and appearance. Int. J. Comput. Vis.
**2005**, 63, 153–161. [Google Scholar] [CrossRef] - Serre, T.; Wolf, L.; Bileschi, S.; Riesenhuber, M.; Poggio, T. Object recognition with cortex-like mechanisms. IEEE Trans. Pattern Anal. Mach. Intell.
**2007**, 29, 411–426. [Google Scholar] [CrossRef] [PubMed] - Tuzel, O.; Porikli, F.; Meer, P. Pedestrian detection via classification on Riemannian manifolds. IEEE Trans. Pattern Anal. Mach. Intell.
**2008**, 30, 1713–1727. [Google Scholar] [CrossRef] [PubMed] - Wang, X.; Han, T.X.; Yan, S. An HOG-LBP human detector with partial occlusion handling. In Proceedings of the IEEE 12th International Conference on Computer Vision, Kyoto, Japan, 29 September–2 October 2009; pp. 32–39.
- Wu, B.; Nevatia, R. Detection of multiple, partially occluded humans in a single image by Bayesian combination of edgelet part detectors. In Proceedings of the IEEE International Conference on Computer Vision, Beijing, China, 17–20 October 2005; pp. 90–97.
- Sabzmeydani, P.; Mori, G. Detecting pedestrians by learning shapelet features. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, USA, 17–22 June 2007.
- Wu, J.X.; Liu, N.; Geyer, C.; Rehg, J.M. C4: A Real-time Object Detection Framework. IEEE Trans. Image Proc.
**2013**, 22, 4096–4107. [Google Scholar] - Ye, Q.; Jiao, J.; Zhang, B. Fast Pedestrian detection with multi-scale orientation features and two-stage classifiers. In Proceedings of the IEEE International Conference on Image Processing, Hong Kong, China, 26–29 September 2010; pp. 881–884.
- Wojek, C.; Schiele, B. A Performance Evaluation of Single and Multi-Feature People Detection. In Proceedings of the 30th DAGM Symposium Munich, Munich, Germany, 10–13 June 2008; pp. 82–91.
- Walk, S.; Majer, N.; Schindler, K.; Schiele, B. New Features and Insights for Pedestrian Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, San Francisco, CA, USA, 13–18 June 2010; pp. 1030–1037.
- Wu, B.; Nevatia, R. Optimizing Discrimination-Efficiency Tradeoff in Integrating Heterogeneous Local Features for Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Anchorage, AK, USA, 23–28 June 2008.
- Dollar, P.; Tu, Z.; Perona, P.; Belongie, S. Integral Channel Features. In Proceedings of the British Machine Vision Conference, London, UK, 7–10 September 2009.
- Enzweiler, M.; Eigenstetter, A.; Schiele, B.; Gavrila, D.M. Multi-cue pedestrian classification with partial occlusion handling. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, San Francisco, CA, USA, 13–18 June 2010; pp. 990–997.
- Maji, S.; Berg, A.; Malik, J. Efficient classification for Additive Kernel SVMs. IEEE Trans. Pattern Anal. Mach. Intell.
**2013**, 35, 66–77. [Google Scholar] [CrossRef] [PubMed] - Gavrila, D.M.; Munder, S. Multi-cue pedestrian detection and tracking from a moving vehicle. Int. J. Comput. Vis.
**2007**, 73, 41–59. [Google Scholar] [CrossRef] - Mikolajczyk, K.; Schmid, C.; Zisserman, A. Human detection based on a probabilistic assembly of robust part detectors. In Proceedings of the 8th European Conference on Computer Vision, Prague, Czech, 11–14 May 2004; pp. 69–81.
- Munder, S.; Gavrila, D.M. An experimental study on pedestrian classification. IEEE Trans. Pattern Anal. Mach. Intell.
**2006**, 28, 1863–1868. [Google Scholar] [CrossRef] [PubMed] - Xu, Y.W.; Cao, X.B.; Qiao, H. An efficient tree classifier ensemble-based approach for pedestrian detection. IEEE Trans. Syst. Man Cybern. Part B: Cybern.
**2011**, 41, 107–117. [Google Scholar] - Felzenszwalb, P.; Girshick, R.; McAllester, D.; Ramanan, D. Object Detection with Discriminatively Trained Part Based Models. IEEE Trans. Pattern Anal. Mach. Intell.
**2010**, 32, 1627–1645. [Google Scholar] [CrossRef] [PubMed] - Enzweiler, M.; Gavrila, D.M. A multilevel mixture-of-experts framework for pedestrian classification. IEEE Trans. Image Proc.
**2011**, 20, 2967–2979. [Google Scholar] [CrossRef] [PubMed] - Aly, S.; Hassan, L.; Sagheer, A.; Murase, H. Partially Occluded Pedestrian Classification using Part-Based Classifiers and Restricted Boltzmann Machine Model. In Proceedings of the 16th IEEE Conference on Intelligent Transportation Systems, Hague, The Netherlands, 6–9 October 2013; pp. 1065–1070.
- Benenson, R.; Omran, M.; Hosang, J.; Schiele, B. Ten years of pedestrian detection, what have we learned? In Proceedings of the 13th European Conference on Computer Vision, ECCV 2014, Zurich, Switzerland, 6–12 September 2014; pp. 613–627.
- Wright, J.; Yang, A.; Ganesh, A.; Sastry, S.; Ma, Y. Robust face recognition via sparse representation. IEEE Trans. Pattern Anal. Mach. Intell.
**2009**, 31, 210–227. [Google Scholar] [CrossRef] [PubMed] - Timo, A.; Abdenour, H.; Matti, P. Face recognition with local binary patterns. In Proceedings of the European Conference on Computer Vision, Prague, Czech Republic, 11–14 May 2004; pp. 469–481.
- Liu, Y.G.; Ge, S.Z.; Li, C.G.; You, Z.S. K-NS: A classifier by the distance to the nearest subspace. IEEE Trans. Neural Netw.
**2011**, 22, 1256–1268. [Google Scholar] [PubMed] - Zhang, L.; Yang, M.; Feng, X.C. Sparse representation or collaborative representation which helps face recognition? In Proceedings of the International Conference on Computer Vision, Barcelona, Spain, 6–13 November 2011; pp. 471–478.
- Wu, J.; Rehg, J.M. CENTRIST: A visual descriptor for scene categorization. IEEE Trans. Pattern Anal. Mach. Intell.
**2011**, 33, 1489–1501. [Google Scholar] [PubMed] - Lazebnik, S.; Schmid, C.; Ponce, J. Beyond bags of features: Spatial pyramid matching for recognizing natural scene categories. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, New York, NY, USA, 17–22 June 2006; pp. 2169–2178.
- Piotr, D.; Ron, A.; Serge, B.; Perona, P. Fast Feature Pyramids for Object Detection. IEEE Trans. Pattern Anal. Mach. Intell.
**2014**, 36, 1532–1545. [Google Scholar] - Yang, J.C.; Yu, K.; Gong, Y.; Huang, T. Linear spatial pyramid matching using sparse coding for image classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 1794–1801.
- Han, H.; Han, Q.; Li, X. Hierarchical spatial pyramid max pooling based on SIFT features and sparse coding for image classification. Int. J. Comput. Vis.
**2013**, 79, 144–150. [Google Scholar] [CrossRef] - Zhang, L.; Zhou, W.D.; Chang, P.C.; Liu, J.; Yan, Z.; Wang, T.; Li, F.Z. Kernel sparse representation-based classifier. IEEE Trans. Signal Process.
**2012**, 60, 1684–1695. [Google Scholar] [CrossRef] - Lee, H.; Battle, A.; Raina, R.; Ng, A.Y. Efficient sparse coding algorithm. In Proceedings of the 20th Annual Conference on Neural Information Processing Systems (NIPS), Vancouver, BC, Canada, 4–7 December 2006; pp. 801–808.

**Figure 1.**Reconstructed human image from CENTRIST. (

**a**) Original image; (

**b**) Contour image; (

**c**) Reconstruct image.

**Figure 6.**Examples of pedestrian images with random block occlusion. (

**a**) 20% block occlusion; (

**b**) 30% block occlusion; (

**c**) 40% block occlusion.

Method | INRIA | Daimler with Occlusion |
---|---|---|

HOG + SVM | 0.1806 | 0.0682 |

HFE + SRC | 0.1239 | 0.0403 |

HFE − WKSR | 0.1372 | 0.0463 |

Procedure | Parameters | |
---|---|---|

Feature extraction | Hierarchical partition | P_{0} = 4, Q_{0} = 4 when S = 0 P _{0} = 4, Q_{0} = 4; P_{1} = 3, Q_{1} = 2; P_{2} = 2, Q_{2} = 2 when S = 2 |

Histogram bin number | 16 | |

WKSR | Kernel function | Histogram intersection kernel |

Weight | $\sigma =0.4$ for non-occlusion $\sigma =0.5$ for occlusion | |

convergence | $\tau =0.7$ | |

Lagrange multiplier | $\lambda =0.005$ |

N | 20 | 50 | 100 |
---|---|---|---|

HOG + SVM | 45.2 | 53.6 | 62.5 |

HOG + SRC | 72.8 | 77.1 | 82.9 |

HFE + SRC | 84.2 | 88.9 | 91.3 |

HFE + CRC | 85.3 | 87.9 | 90.8 |

HFE + HIKSVM | 62.7 | 68.2 | 77.9 |

HFE − WKSR | 90.3 | 94.4 | 97.5 |

Group | Illumination | Background | Appearance |
---|---|---|---|

HOG + SVM | 58.7 | 55.2 | 46.3 |

HOG + SRC | 75.4 | 86.6 | 73.5 |

HFE + SRC | 84.5 | 86.4 | 83.2 |

HFE + CRC | 85.4 | 85.5 | 81.2 |

HFE + HIKSVM | 73.5 | 76.3 | 68.3 |

HFE − WKSR | 94.6 | 92.5 | 90.3 |

HFE − WKSR (without MP) | 88.3 | 87.1 | 84.5 |

Occlusion | 10% | 20% | 30% | 40% | 50% |
---|---|---|---|---|---|

HOG + SVM | 57.2 | 53.6 | 42.9 | 38.3 | 32.4 |

HOG + SRC | 72.3 | 68.2 | 55.4 | 48.2 | 47.9 |

HFE + SRC | 83.2 | 80.8 | 76.3 | 72.5 | 68.1 |

HFE + CRC | 81.3 | 76.5 | 73.2 | 71.6 | 67.2 |

HFE + HIKSVM | 75.2 | 71.3 | 68.2 | 63.3 | 61.4 |

HFE − WKSR | 93.2 | 91.5 | 88.2 | 82.3 | 75.4 |

© 2016 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC-BY) license (http://creativecommons.org/licenses/by/4.0/).