Next Article in Journal
On Transform Domain Communication Systems under Spectrum Sensing Mismatch: A Deterministic Analysis
Previous Article in Journal
A Novel Spatial Feature for the Identification of Motor Tasks Using High-Density Electromyography
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Pedestrian Detection Based on Adaptive Selection of Visible Light or Far-Infrared Light Camera Image by Fuzzy Inference System and Convolutional Neural Network-Based Verification

Division of Electronics and Electrical Engineering, Dongguk University, 30 Pildong-ro 1-gil, Jung-gu, Seoul 100-715, Korea
*
Author to whom correspondence should be addressed.
Sensors 2017, 17(7), 1598; https://doi.org/10.3390/s17071598
Submission received: 16 June 2017 / Revised: 5 July 2017 / Accepted: 5 July 2017 / Published: 8 July 2017
(This article belongs to the Section Physical Sensors)

Abstract

:
A number of studies have been conducted to enhance the pedestrian detection accuracy of intelligent surveillance systems. However, detecting pedestrians under outdoor conditions is a challenging problem due to the varying lighting, shadows, and occlusions. In recent times, a growing number of studies have been performed on visible light camera-based pedestrian detection systems using a convolutional neural network (CNN) in order to make the pedestrian detection process more resilient to such conditions. However, visible light cameras still cannot detect pedestrians during nighttime, and are easily affected by shadows and lighting. There are many studies on CNN-based pedestrian detection through the use of far-infrared (FIR) light cameras (i.e., thermal cameras) to address such difficulties. However, when the solar radiation increases and the background temperature reaches the same level as the body temperature, it remains difficult for the FIR light camera to detect pedestrians due to the insignificant difference between the pedestrian and non-pedestrian features within the images. Researchers have been trying to solve this issue by inputting both the visible light and the FIR camera images into the CNN as the input. This, however, takes a longer time to process, and makes the system structure more complex as the CNN needs to process both camera images. This research adaptively selects a more appropriate candidate between two pedestrian images from visible light and FIR cameras based on a fuzzy inference system (FIS), and the selected candidate is verified with a CNN. Three types of databases were tested, taking into account various environmental factors using visible light and FIR cameras. The results showed that the proposed method performs better than the previously reported methods.

1. Introduction

A number of studies are currently being conducted with a view to increasing the accuracy of the pedestrian detection schemes as intelligent surveillance systems are being advanced. In the past, visible light cameras were widely used [1,2,3,4,5,6,7], however, these cameras are quite vulnerable to factors such as varying shadows and lighting, and cannot accurately detect pedestrians during nighttime. To address such constraints, numerous studies on pedestrian detection systems using far-infrared (FIR) light cameras (thermal cameras) are being conducted [7,8,9,10]. However, pedestrian detection remains a difficult challenge as the differences between the pedestrian and the non-pedestrian areas decrease as the solar radiation causes the air temperature to reach the body temperature level. In order to address such issues, researchers have been exploring methods to use both visible light and FIR camera images. This includes a method of selecting the visible-light and thermal-infrared images under the dynamic environments as presented in [11], and a method of detecting the pedestrians by combining these two images [12,13,14].
However, these methods may increase the processing time and computational complexity as they have to take into account both visible light and FIR camera images, and process the convolutional neural network (CNN) twice [13]. In order to overcome these limitations, our research suggests a method that is able to detect the pedestrians under varying conditions. The proposed method is more reliable than a single camera-based method, reduces the complexity of the algorithm, and requires less processing time compared to the methods using both visible light and FIR camera images. This is because our method adaptively selects one candidate between two pedestrian candidates derived from visible light and FIR camera images based on a fuzzy inference system (FIS). To enhance the detection accuracy and processing speed, only the selected one candidate is verified by the CNN.
The scenario where our system can be applied is the pedestrian detection by intelligent surveillance cameras in outdoor environments. Therefore, all the experimental datasets were collected considering this environment as shown in Section 4.1. The detected position of pedestrians by our method at various times and in different environments can be used as basic information for face recognition, behavior recognition, and abnormal pedestrian case detection, which are necessary for crime and terror prevention, and the detection of emergency situations where a person suddenly falls down on the street and does not move. The following Section 2 looks extensively into various pedestrian detection scheme studies.

2. Related Works

The pedestrian detection studies that are available to date can be divided into two groups: (a) single camera-based methods (infrared or visible-light cameras) [6,10,15,16,17,18,19,20,21,22], and (b) multiple camera-based methods [11,12,13,22,23,24]. The former group includes the following methods: (i) adaptive boosting (AdaBoost) cascade-based method, which is widely used as the representative facial detection scheme [25,26], (ii) histogram of oriented gradient-support vector machine (HOG-SVM) method [18], (iii) integral HOG [19] method, whose processing speed was reported to be significantly faster than the existing HOG, (iv) neural network-based method using the receptive field approach [27] for pedestrian detection [20], and (v) methods based on background generation with FIR cameras [21]. However, these single camera-based methods have a common constraint that their detection performance degrades when their surroundings vary. For instance, a visible light camera-based method barely detects the pedestrians during dark nights, and is affected by varying shadows and lighting. Similarly, an FIR camera-based method cannot detect the pedestrians when bright sunshine increases the ground temperature up to the body temperature level.
To address these issues, studies on CNN-based pedestrian detection are being conducted. John et al. used an FIR camera to study how to detect pedestrians based on adaptively fuzzy c-means clustering and CNN [10]. Considering the daytime and the nighttime conditions, the researchers suggested a more resilient algorithm. This work, however, did not include experiments under conditions where the aforementioned background air temperature was similar to that of the pedestrians. In the study of the pedestrian detection with a CNN [6], the authors showed that the large margin CNN method outperformed the SVM method in pedestrian detection using a visible light camera. However, this study did not include experiments on images under varying environmental factors, such as varying lighting and shadows. Such CNN-based pedestrian detection methods showed better performance compared to the previously studied methods while they still failed to overcome the limitations associated with the varying environmental conditions, such as, varying lighting and shadows, and the cases where the background had the same temperature as the pedestrians.
To address the above limitations, multiple camera-based detection methods were also being studied. In a study involving multi-cue pedestrian detection and moving vehicle tracking [23], the authors proposed a stereo visible light camera-based pedestrian detection method that employs shape and texture information. Bertozzi et al. suggested an HOG-SVM-based pedestrian detection system based on tetra-vision using visible light and FIR camera images [24]. It used a vehicle’s headlights and a combination of visible light and FIR camera images for pedestrian detection purposes. This method was validated for nighttime conditions, which took a longer time to process. Another study on a multi-spectral pedestrian detection method [22] using both visible light and near-infrared (NIR) light camera images was conducted using HOG-SVM. In contrast, Serrano-Cuerda et al. conducted a study on pedestrian detection systems under a more diverse environmental setting than the aforementioned studies [11]. As the detection performance of the cameras appeared vulnerable to the weather and environmental conditions, the study used confidence measures (based on the mean lighting and standard deviation information) to select the more appropriate images from visible light and FIR camera images.
Lee et al. combined visible-light and FIR camera-produced pedestrian data based on difference images, and suggested a method for detecting the pedestrians [12]. However, there exists a doubt that the cameras discussed in [11] and in [12] may have lower performance as no final verification was provided in those publications. In addition, Wagner et al. suggested two methods in their study [13]. The first method was an early fusion CNN method, which converged both the visible light and FIR images, that were fed to the CNN as inputs. The second method, called the late fusion CNN-based method, employed training of the pedestrian and the background domains (each from visible light and FIR images), and converging the features collected from the fully connected layers. Among the two, the latter showed a better performance. However, this method may increase the processing time and computational complexity as it has to take into account of visible light and FIR camera images, and process the CNN twice.
In order to overcome these limitations, this paper suggests a method that is able to detect the pedestrians under varying conditions. It is novel in the following three ways compared to the previously published works:
-
The proposed method is more reliable than a single camera-based method, reduces the complexity of the algorithm, and requires less processing time compared to the methods using both visible light and FIR camera images. This is because our method adaptively selects one candidate between two pedestrian candidates derived from visible light and FIR camera images based on a fuzzy inference system (FIS).
-
The two input features of FIS vary owing to the fact that the input candidate images are of the following types: pedestrian or non-pedestrian (background). Therefore, to remove such uncertainties, this study applies Gaussian fitting to the distribution of the gradient-based features of the input candidate images, and adds weights (resulting from such a fitted Gaussian distribution) to the FIS output. By doing so, it enables a more accurate and adaptive selection process for the FIS regardless whether the images were pedestrian type or non-pedestrian type.
-
It increases the accuracy of the pedestrian detection process by verifying the FIS-selected pedestrian candidate through the CNN. In addition, we have opened our database and trained CNN model to other researchers in order to compare the performances.
Table 1 shows a comparison of the proposed and the previously researched pedestrian detection methods, including their respective advantages and disadvantages. The remainder of this paper consists of the following sections: Section 3 presents the details of the concepts behind the proposed system. The experimental results and various performance comparisons (among the existing methods) are presented in Section 4. Finally, Section 5 provides our conclusions.

3. Proposed Method

3.1. Overall Procedure of the Proposed System

Figure 1 describes the overall procedure of the proposed system. The system receives the data from both visible light and FIR light images through dual cameras (step (1) and Figure 2a). It detects the candidate based on background subtraction and noise reduction by using difference images (Figure 2b) between the background image and the input images [12]. Here, the mean value of the candidate within the difference image obtained from the visible light image is “feature 1”, and that gained by the FIR light image is “feature 2”. In general, the mean value of the difference images increases along with the increase of difference between the pedestrian and the background, which causes the consequent increment of possibility of correct pedestrian. However, as shown in Figure 2c, the output candidate exists not only in the red box (pedestrian candidate) but also in the yellow box (non-pedestrian candidate).
As mentioned earlier, the pedestrian candidate usually has a high mean value in the difference image while the non-pedestrian candidate has a low mean value in the difference image as shown in Figure 2b. Nevertheless, because all the regions inside pedestrian candidate do not show high mean value in the difference image of Figure 2b, a low threshold value for image binarization should be used to correctly detect the whole regions inside pedestrian candidate, which causes the incorrect detection of non-pedestrian candidate as pedestrian one as shown in Figure 2c. It is difficult to correctly discriminate between the pedestrian and non-pedestrian candidates, and the FIS is designed using the mean value of the gradient magnitude of pedestrian or non-pedestrian candidate in difference images as “feature 3”. The system adaptively selects a more appropriate candidate to be verified by the CNN between the two boxes of Figure 2c—after adding “feature 3” as weights, and using the FIS with “feature 1” and “feature 2” as an input (see step (3) of Figure 1). Then, it uses the selected candidates of pedestrian and non-pedestrian (Figure 2d) as the pre-trained input for the CNN to ultimately classify it into a pedestrian or non-pedestrian case (see step (4) of Figure 1 and Figure 2e).

3.2. Adaptive Selection by FIS

The FIS in this paper is designed to adaptively select one candidate between two pedestrian candidates derived from visible light and FIR camera images, which is deemed most appropriate for the pedestrian detection process. Table 2 presents a fuzzy rule table designed through this research to be used for the FIS. This research uses two features, and has “Low” and “High” as inputs, and “Low” “Medium” and “High” as outputs. The two features consist of “feature 1”, a mean value of the candidate gained from the visible light image, and “feature 2”, a mean value from the FIR light image. That is because, in general, the bigger the difference between the pedestrian and the background is, the bigger the mean value in difference image is, meaning that the outcome is more likely to be the correct pedestrian.
For instance, as listed in Table 2a, when “feature 1” and “feature 2” are “Low” (a lower mean value) and “High” (a higher mean value), respectively, the difference between the pedestrian and the background of the FIR light images is larger than that of the visible light image. Therefore, the output value becomes “High” meaning that the candidate of the FIR light image is selected. However, the opposite case implies that the difference of the visible light image is larger than that of the FIR light image. The output value becomes “Low” which in other words implies that the candidate of the visible light image is selected. If the “feature 1” and “feature 2” are both “Low” or “High”, it is difficult to determine which candidate is more desirable (between the two candidates of visible light and FIR light images), giving the output a “Medium” Value.
However, as shown in Figure 2c, the selected candidate is present not only in the pedestrian candidate (the red box) but also in the non-pedestrian candidate (the yellow box). Although the pedestrian candidate has high mean value in the difference image as mentioned before, the non-pedestrian candidate has a low mean value as shown in Figure 2b. Considering that, this study designs the rule table for non-pedestrian features as shown in Table 2b in order to have opposite features from Table 2a.
In general, when the FIS uses two inputs, it employs the IF-THEN rule [28], and the output will be produced by AND or OR calculation depending on the relationship between the FIS inputs. This research selected an AND calculation among the IF-THEN rules as the FIS makes adaptive selection while considering “feature 1” and “feature 2” together.
Figure 3 describes the linear membership function used in this research, which is widely used in the FIS as its calculation speed is very fast and its algorithm is less complex compared to the non-linear membership function [29,30,31]. As mentioned, the input images have pedestrian and non-pedestrian categories, and two fuzzy rule tables (see Table 2) were designed to reflect the differences in their features. In this regard, two input membership functions were used: one for the pedestrian and the other for the non-pedestrian. In order to more accurately determine the frame of the linear input membership function, this study gained a data distribution for “feature 1” and “feature 2” (see Figure 3a,b) by using part of the training data of the CNN(to be illustrated in Section 3.3). Based on this, each linear input membership function for pedestrian and non-pedestrian is separately (“Low”, “High”) designed. Also, as shown in Figure 3c, the output membership functions were designed for three outputs, “Low” “Medium” and “High”. Figure 3c is not related to the data of Figure 3a,b. In conventional fuzzy inference system, the output membership function is usually designed heuristically. Therefore, we use the three linear membership functions, which have been widely used in the fuzzy inference system.
The “feature 1” (f1) and “feature 2” (f2) in this research can be “Low” and “High” each shown in Table 2. Therefore, their outputs become (Gf1L(f1), Gf1H(f1)) and (Gf2L(f2), Gf2H(f2)) due to function (Gf1L(⋅),Gf1H(⋅),Gf2L(⋅), and Gf2H(⋅)) of the input membership of Figure 3a,b. Four pairs of combinations were obtained from this and these became (Gf1L(f1), Gf2L(f2)), (Gf1L(f1), Gf2H(f2)), (Gf1H(f1), Gf2L(f2)), and (Gf1H(f1), Gf2H(f2)). The fuzzy rule table of the Max and Min rules [29], and the Table 2 help gain four inference values from four pairs of combinations.
For instance, when f1 = 0.7, f2 = 0.5 as shown in Figure 4, the output value gained by the input membership function becomes (Gf1L(0.7) = 0.24, Gf1H(0.7) = 0.75), (Gf2L(0.5) = 0.68, Gf2H(0.5) = 0.32). As mentioned earlier, these four output values lead to four combinations, including (0.24(L), 0.68(L)), (0.24(L), 0.32(H)), (0.75(H), 0.68(L)), (0.75(H), 0.32(H)). An inference value may be determined for each combination according to Min rule, Max rule, and fuzzy rule table of Table 2. If (0.24(L), 0.68(L)), when applying the Min rule and the fuzzy rule of Table 2b (IF “Low” and “Low”, THEN “Medium”), inference value will be determined as 0.2 (M). If (0.75(H), 0.68(L)) and applying the Max rule and the fuzzy rule of Table 2a (IF “High” and “Low”, THEN “Low”), the inference value will be 0.75(L). Likewise, the inference value resulting from the four combinations are described in Table 3 and Table 4.
Therefore, the final output value of the FIS will be calculated through various defuzzification and the output membership function with its input of the inference values as shown in Figure 5. This study employed the smallest of maximum (SOM), the middle of maximum (MOM), the largest of maximum (LOM), Bisector, and Centroid methods, most widely used among various defuzzification methods [32,33,34]. Among those, the SOM, MOM, and LOM methods establish the FIS output values by maximum inference values among many inference values. The SOM and LOM methods establish the final output values using the smallest and largest values, which are gained by maximum inference. The MOM method uses the average value of the smallest and largest as the final output value. Figure 5a is an example of a defuzzification process based on the inference values by Max rule of Table 3 (0.32(H), 0.68(M), 0.75(L), and 0.75(M)). This figure only uses these values as its maximum inference values are 0.75(L) and 0.75(M). Therefore, as shown in Figure 5a, two output values (0.13 and 0.62) are produced by SOM and LOM methods, and their average value is gained as (0.375 = (0.13 + 0.62)/2) by MOM method.
Bisector and centroid methods are the means to determine the FIS output value by using all the inference values. The centroid method determines the FIS output value based on the geometric center of the area from the area (the purple colored area of Figure 5a) defined by all the inference values. The bisector method identifies the FIS output value based on the line dividing the defined area into two having the same size. Figure 5b is an example of a defuzzification process based on the inference values by Min rule of Table 4 (0.24(L), 0.24(M), 0.32(M), and 0.68(H)), which produces two output value (0.56 and 0.68) by the centroid and bisector methods.
As seen in Figure 2c, the produced candidate area exists not only in the red box (pedestrian candidate) but also in the yellow box (non-pedestrian candidate). As mentioned earlier, the pedestrian candidate has a higher mean value in the difference image while the non-pedestrian candidate has a low mean value just as Figure 2b. In the current level, it is possible to know whether the produced candidate area is under a pedestrian or a non-pedestrian category. Therefore, in order to design the FIS based on that, this study used the mean value of the gradient magnitude in the difference image within the produced candidate as “feature 3”. By reflecting such a “feature 3” as a weight into the FIS output value, as shown in Figure 5, this work makes an adaptive selection among the two candidates, (the yellow and red boxes of Figure 2c), which results in one appropriate candidate for verification by the CNN.
Figure 6 describes two distributions of “feature 3”, produced from the pedestrian and the non-pedestrian data used in Figure 3a,b by using a Gaussian fitting. Similar to the difference image of Figure 2b, the gradient magnitude of the pedestrian candidate is generally higher than that of the non-pedestrian candidate. Therefore, the pedestrian distribution is on the right side of the non-pedestrian distribution as shown in Figure 6.
In this study, the FIS output value for the pedestrian, shown in Figure 5, is defined as o p and the FIS output value for the non-pedestrian is defined as o n p . It defines the probability for finding a pedestrian to be (via Figure 6), and the probability for finding a non-pedestrian as p p and p n p , respectively. This leads to the final output value ( o FIS ) given through Equation (1):
o FIS =   o p × p p + o n p × p n p p p + p n p
Finally, as given in Equation (2), the system adaptively selects one candidate that is more appropriate for the CNN-based classification of pedestrian and non-pedestrian. This selection is done between two (pedestrian) candidates in visible light and FIR images. The optimal threshold of Equation (2) is experimentally determined based on the pedestrian and non-pedestrian data used in Figure 3a,b:
Selected candidate = { Candidate in visible light image, if   o FIS < Threshold Candidate in FIR image, otherwise

3.3. Classification of Pedestrian and Non-Pedestrian by CNN

This research uses a CNN in order to classify the chosen candidate by Equation (2). The classification yields whether the candidate is of pedestrian or non-pedestrian (background) category. As shown in Figure 2d, the candidate can be gained by visible light image or the FIR image. Therefore, the candidate from the visible light image is used as the CNN input learned through the visible light image training set. On the other hand, the candidate from the FIR image is used as the input learned through the FIR image training set. Both structures are equal and are illustrated in Table 5 and Figure 7.
As seen in this table and figure, the CNN in this research includes five convolutional layers and three fully connected layers [35]. Input images are the pedestrian and the non-pedestrian candidate images. As each input candidate image has a different size, this paper considers the ratio of the width and length of the general pedestrian, and resizes them into 119 pixels (width), 183 pixels (height), three (channels) through bilinear interpolation.
Several previous studies, including AlexNet [36] and others [37,38], used a square shape with the same width and length as input images. However, the general pedestrian area, which this study aims to find, has longer length than its width. Therefore, when normalizing the size into a square shape, the image is unacceptably stretched toward its width compared to its length, and distorts its pedestrian area, making it difficult to extract the features accurately. Also, when selecting the CNN input image as a square shape without stretching toward the width direction, the background area (especially, on the left and right to the pedestrian), is heavily reflected on the output yielding inaccurate features. Considering this aspect, this study uses the pedestrian or the non-pedestrian images with a normalized size of 119-by-183 pixels (width-by-height) as the CNN input. Through such size normalization, when the object’s size changes depending on its location relative to the camera, such change can be compensated. In addition, this study normalized the brightness of the input image by the zero-center method discussed in [39]. The 119-by-183 pixels (width-by-height) used in this method is much smaller than the 227-by-227 pixels (height-by-width) discussed in AlexNet [36]. Therefore, we can significantly reduce the number of filters in each convolution layers and the number of nodes in fully-connected layers than those in stated in the AlexNet. Also, AlexNet was designed in order to classify 1000 classes. However, this research can reduce the training time as it can distinguish only two classes of the pedestrian and non-pedestrian areas [35].
In the 1st convolutional layer, 96 filters with the size of 11 × 11 × 3 are used at a stride of 2 × 2 pixels in the horizontal and vertical directions. The size of the feature map is 55 × 87 × 96 in the 1st convolutional layer, such that 55 and 87 are the output width and height, respectively. The calculations are based on: (output width (or height) = (input width (or height) − filter width (or height) + 2× padding)/stride + 1 [40]). For instance, in Table 5, input height, filter height, padding, and stride are 183, 11, 0, and 2, respectively. Therefore, the output height becomes 87 ((183 − 11 + 2× 0)/2 + 1). Unlike the previous studies [41,42], this research relatively enlarges the filter size of the 1st convolutional layer as the input image is very dark with high level of noise by its nature. Therefore, the enlarged filter can control the feature, which can be extracted wrongly due to the noise. Therefore, a rectified linear unit (ReLU) layer is used for the calculation as given by Equation (3) [43,44,45]:
y   =   max ( 0 , x )
where x and y are the input and output values, respectively. This formula can lessen the vanishing gradient problem [46], which can cause a faster processing speed than a non-linear activation function [35].
The local response normalization layer is used behind the ReLU layer, as described in Table 5, which has a formula as follows:
b x , y i = a x , y i ( p + α j = m a x ( 0 ,   i n 2 ) m i n ( N 1 ,   i + n 2 ) ( a x , y j ) 2 ) β
In Equation (4), b x , y i is a value obtained by normalization [36]. In this research, we used 1, 0.0001, and 0.75 for the values of p, α , and β , respectively. a x , y i is the neuron activity computed by the application of the ith kernel at the location (x, y), and it performs normalization for the adjacent n kernel maps at the identical spatial position [36]. In this study, n was set as 5. N implies the total number of filters in the layer. In order to make the CNN structure resilient to the image translation and local noise, the feature map gained through the local response normalization layer goes through the max pooling layer as given in Table 5. Max pooling layer uses the output after selecting the maximum value among the figures within the defined mask ranges. This is similar to conducting a subsampling. Once it goes through the Max pooling layer, it will produce 96 feature maps with sizes of 27 × 43 pixels as shown in Table 5 and Figure 7.
In order to fine-tune the 1st convolutional layer, as given in Table 5 and Figure 7, the 2nd convolutional layer that has 128 filters with a size of 5 × 5 × 96, a stride of 1 × 1 pixels (in the horizontal and vertical directions), and a padding of 2 × 2 pixels (in the horizontal and vertical directions) can be used behind the 1st convolutional layer. Similar to the 1st convolutional layer, after going through ReLU, cross channel normalization, and max pooling layers, we obtained 128 feature maps with the size of 13 × 21 pixels as shown in Figure 7 and Table 5. The first two layers are used to extract the low-level image features, such as blobs texture feature or edges.
Then, three additional convolutional layers are used for the high-level feature extraction as given in Figure 7 and Table 5. In details, the 3rd convolutional layer adopts 256 filters with the size of 3 × 3 × 128, the 4th convolutional layer has 256 filters with the size of 3 × 3 × 256, and the 5th convolutional layer uses 128 filters with the size of 3 × 3 × 256.
Through these five convolutional layers, 128 feature maps with the size of 6 × 10 pixels are finally obtained, which are fed to the additional three fully connected layers including 4096, 1024, and 2 neurons, respectively. This research will finally classify two classes of pedestrian areas and non-pedestrian areas through a CNN. Therefore, the last (3rd) fully connected layer (called as “output layer”) of Figure 7 and Table 5 has only two nodes. The 3rd fully connected layer uses Softmax function, as given through Equation (5) [44]:
σ ( s ) j = e s j n = 1 K e s n
Given that the array of the output neurons is set as s, we can obtain the probability of neurons belonging to the j th class by dividing the value of the j th element by the summation of the values of all the elements. As illustrated in the previous studies [36,47], the CNN-based recognition system has an over-fitting problem, which can cause low recognition accuracy with testing data although the accuracy with the training data is still high. To address such problems, this research employs data augmentation and dropout methods [36,47], which can reduce the effects of over-fitting problem. More details about the outcome of the data augmentation are presented in Section 4.1. For the dropout method, we adopt the dropout probability of 50% to disconnect the connections several neurons between previous layer and the next layers in the fully connected network [35,36,47].

4. Experimental Result

4.1. Experimental Data and Training

Table 6 and Figure 8 show the sample images from the database (DVLFPD-DB1), which were used in this study. This database is built independently by our lab, and is available with our trained CNN model to other researchers through [48] for the purposes of comparisons by other researchers. In total, there are four sub-databases, and the total number of frames of visible light images and FIR images is 4080 each.
To obtain the images, this study used a dual camera system [12] consisting of a Tau640 FIR camera (19 mm, FLIR, Wilsonville, OR, USA) [49], and a C600 visible light web-camera (Logitech, Lausanne, Switzerland) [50]. In order to record the filming conditions, a WH-1091 wireless weather station (Chanju Tech., Paju-si, Gyeonggi-do, Korea) was used [51].
This research conducted the CNN training, and the tests in such a way that a four-fold cross validation can be achieved by using the four sub-databases as shown in Figure 8. In addition, it conducted a data augmentation step in order to solve the overfitting issue when conducting the CNN training. For data augmentation, image translation and cropping was used based on previous research [36]. In other words, the study gained four additional augmented candidate images from a single original candidate image listed in Table 5. This was achieved by adjusting five pixel translations and cropping to box locations (up, down, right and left) that contained the pedestrian and the non-pedestrian candidates. The augmented data were used only for the CNN training. For testing purposes, non-augmented original candidate images were used.
The experimental conditions in this research were as follows: all the tests were conducted in a desktop computer consisting of Intel® Core™ i7-3770K CPU @ 3.50 GHz (four CPUs), main memory of 16 GB, and a GeForce GTX 1070 (1,920 CUDA cores) graphics card (NVIDIA, Santa Clara, CA, USA) with memory of 8 GB [52]. The algorithms of the CNN training and testing were implemented by Window Caffe (version 1) [53].
This study used stochastic gradient descent (SGD) method for the CNN training [54]. The SGD method is a tool to find the optimal weight, which minimizes the difference between the desired and the calculated outputs based on the derivatives [35].
Unlike the gradient descent (GD) method, the SGD method defines the total number of iterations by dividing the training set by the mini-batch size, sets the training completion time until it reaches the total number of iterations (set as 1 epoch), and conducts the training for the preset number of epoch. The CNN training parameters are as follows: base_lr = 0.01, lr_policy = step, minibatchsize = 128, stepsize = 1013 (5 epoch), max_iter = 4054 (20 epoch), momentum = 0.9, gamma = 0.1, weight_decay = 0.0001, regularization_type = L2. The detail explanations of these parameters can be found in the following literature [53]. Figure 9 shows the loss and the training accuracy for the CNN training process along with the number of iterations. The loss graph converges toward 0, and the training accuracy reaches 100% as the iteration of the four folds increase. At this condition, the CNN is considered to be fully trained.
Figure 10 shows an example of 96 filters with 11 × 11 × 3 (as shown in Table 4) in the 1st convolutional layer, as identified through the training. For the purposes of visibility, the filters are resized five times as larger by bi-linear interpolation. In this study, the experiments used three types of databases, (a) the original DVLFPD-DB1, (b) the degraded DVLFPD-DB1 (see Section 4.2), which reflects Gaussian noise and Gaussian blurring into the original database, and (c) the open database (see Section 4.2), or the Ohio State University (OSU) color-thermal database [55]. Therefore, Figure 10 presents 96 filters - each gained from the CNN training by using these three types of databases. As shown in the following Table 7 of Section 4.1, the Bisector method has the highest performance among those various defuzzification methods, and therefore, Figure 10 shows the shape of filter when using the Bisector method. By comparing the Figure 10a,b, the shapes of filters eligible for edge detection in Figure 10a is more distinctive than those in Figure 10b. That is because the edge strength in the degraded DVLFPD-DB1 is reduced by image blurring compared to that in the original DVLFPD-DB1.
In addition, by comparing the shapes of filters of Figure 10a–c, we can find that the shapes of left four filters of Figure 10c from OSU color-thermal database is simpler than those of Figure 10a,b. In addition, the shapes of right four filters of Figure 10c do not show the characteristics of direction compared to those of Figure 10a,b. That is because the pedestrian or non-pedestrian candidates in OSU color-thermal database is smaller than those in the original DVLFPD-DB1 and the degraded DVLFPD-DB1 as shown in Figure 8, Figure 11 and Figure 12. Therefore, more local features are extracted from OSU color-thermal database through CNN training to discriminate the pedestrian and non-pedestrian candidates than those from the original DVLFPD-DB1 and the degraded DVLFPD-DB1.

4.2. Testing of the Proposed Method

The classification accuracy from the FIS’s defuzzification method, proposed as the first test, is measured and presented in Table 7. This study defines the pedestrian and the non-pedestrian candidates as positive and negative data in order to test their performances. They are also defined as true negative (TN), true positives (TP), false negatives (FN), and false positives (FP). TN is the case where the background (non-pedestrian) candidate is correctly recognized as the background region, whereas TP is the case where the pedestrian candidate is correctly recognized as the pedestrian region. FN is the case where the pedestrian candidate is incorrectly recognized as the background region, whereas FP is the case where the background (non-pedestrian) candidate is incorrectly recognized as the pedestrian region. Based on these, we can define two errors of false negative rate (FNR) and false positive rate (FPR). In addition, two accuracies of true positive rate (TPR) and true negative rate (TNR) can be defined. In other words, TPR and TNR are calculated as 100-FNR (%) and 100-FPR (%) respectively.
Table 7 shows TPR, TNR, FNR, and FPR after processing through the confusion matrix. For instance, according to the LOM method in Table 7, TPR, TNR, FNR, and FPR are 99.74%, 99.35%, 0.26%, and 0.65%, respectively. Table 7 presents the average value of the four testing accuracies produced by the four-fold cross validation. The test showed that the bisector method has a higher classification accuracy compared to the other methods. Based on this, this study evaluated the testing performance by using the bisector method-based FIS.
The second test compared the classification accuracies among the HOG-SVM-based method [18,22], the CNN and single camera-based method (visible light or FIR camera) [6,10], and the late fusion CNN-based method [13], which are widely used in the previously reported pedestrian detection studies. For fair comparisons, the same augmented data (as reported in the previous studies [6,10,13,18,22]) were used in our method. In addition, the same testing data were used for our method and the previous methods. Table 8 shows the average value of the four testing accuracies produced by the four-fold cross validation. As described in Table 8, the proposed method is far more accurate than the previously studied methods.
Also, for performance comparisons, this research used precision, recall, accuracy, and F1 score as given in Table 9. With TP, TN, FP, and FN, we have used the following four criteria for accuracy measurements [56]:
Precision = # TP # TP + # FP
Recall = # TP # TP + # FN
Accuracy   ( ACC ) = # TP + # TN # TP + # TN + # FP + # FN
F 1   score = 2 · Precision · Recall Precision + Recall
where #TP, #TN, #FP, and #FN mean the numbers of TP, TN, FP, and FN, respectively. Minimum and maximum values of precision, recall, accuracy, and F1 score are 0 (%) and 100 (%), respectively, where 0 (%) and 100 (%) represent the lowest and highest accuracies, respectively. Table 9 shows the average value of the four testing accuracies produced by the four-fold cross validation. As described in Table 9, the proposed method is significantly more accurate than the previous methods.
As the third experiment, this research created the degraded dataset artificially including Gaussian noise (sigma of 0.03) and Gaussian blurring (sigma of 0.5) in order to account for more environmental variables into the original dataset and evaluate them for their accuracy. Such factors have negative effects as they are able to exist in the actual intelligent surveillance camera system environment. Therefore, in order to exhibit a strong performance under such a poor condition, this study created a degraded dataset as shown in Figure 11.
Table 10 and Table 11 show the average value of the four testing accuracies gained by the four-fold cross validation. As showed in Table 10 and Table 11, even in the case of using the degraded dataset, the proposed method had better classification accuracy than the other methods.
The fourth experiment is based on the open database (OSU color-thermal database) [55] such that a fair comparison can be done by other researchers. As shown in Figure 12, OSU color-thermal database is an image gained by the FIR camera and visible light camera in the fixed outdoor with various environmental factors.
Table 12 and Table 13 show the average value of the four testing accuracies gained by the four-fold cross validation. As Table 12 and Table 13 present, the proposed method shows a higher accuracy even with the OSU color-thermal database.
Figure 13 shows TPR and FPR-based receiver operation characteristic (ROC) curves among the proposed method and the others with regard to three types of the databases. The figure presents the average graph of the four testing accuracies gained by the four-fold cross validation.
As explained before, FNR (100-TPR (%)) has the trade-off relationship with FPR. According to threshold of classification, larger FNR causes smaller FPR, and vice versa. Equal error rate (EER) is the error rate (FNR or FPR) when FNR is same to FPR. As shown in Figure 13, the accuracy of the proposed method is significantly higher than that of the previous methods.
Figure 14 shows the examples of correct classification. Although the candidates were obtained in various environments of noise, blurring, size, and illuminations, all the cases of TP and TN are correctly recognized.
Figure 15 shows the examples of incorrect classification. In Figure 15a–c, the left and right images show the FP and FN cases, respectively. The FP errors happen when the shape of background is similar to a pedestrian (Figure 15a), lots of noise are included (Figure 15b), and the shape of a shadow is similar to that of a pedestrian (Figure 15c). The FN errors occur when the part of pedestrian is occluded in the candidate box (Figure 15a), lots of noises are included (Figure 15b), and a large background area is included in the detected pedestrian box (Figure 15a,c).

5. Conclusions

This paper made an adaptive selection to find the most appropriate candidate for pedestrian detection among the two pedestrian candidates of visible light and FIR camera images by using the FIS and suggested a new method to verify that candidate with the CNN. In order to test the accuracy of the algorithm under the various conditions, the study used not only the independently designed DVLFPD-DB1 but also the degraded DVLFPD-DB1 combining the original DVLFPD-DB1 with Gaussian blurring and noise. Also, the OSU color-thermal database, an open database, was used as well in order to compare the accuracy of the proposed method with the others.
CNN has been widely used for its performance in various fields. However, intensive training is required for the usage of CNN with lots of training data. In many applications, it is often the case that collecting lots of training data is a difficult procedure, so a subsequent data augmentation process is performed. To lessen this disadvantage of CNN-based methods, we have made our trained CNN model with our collected DVLFPD-DB1 and degraded one by Gaussian blurring and noise publically available to other researchers for the purpose of performing comparisons. In future work, the proposed method can form the basis for studying crime recognition and face detection of criminals. Further, there are plans to conduct research to sense emergency situations in vehicular environments by detecting various subjects through the front camera in the vehicle in order to utilize the proposed method for a driver assistance system.

Acknowledgments

This research was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2015R1D1A1A01056761), in part by the Bio & Medical Technology Development Program of the NRF funded by the Korean government, MSIP (NRF-2016M3A9E1915855), and in part by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2017R1D1A1B03028417).

Author Contributions

Jin Kyu Kang and Kang Ryoung Park designed and implemented the overall system, performed experiments, and wrote this paper. Hyung Gil Hong helped the database collection and comparative experiments.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ouyang, W.; Wang, X. Joint deep learning for pedestrian detection. In Proceedings of the IEEE International Conference on Computer Vision, Sydney, Australia, 1–8 December 2013; pp. 2056–2063. [Google Scholar]
  2. Tian, Y.; Luo, P.; Wang, X.; Tang, X. Deep learning strong parts for pedestrian detection. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 11–18 December 2015; pp. 1904–1912. [Google Scholar]
  3. Nguyen, T.-H.-B.; Kim, H. Novel and efficient pedestrian detection using bidirectional PCA. Pattern Recognit. 2013, 46, 2220–2227. [Google Scholar] [CrossRef]
  4. Mahapatra, A.; Mishra, T.K.; Sa, P.K.; Majhi, B. Background subtraction and human detection in outdoor videos using fuzzy logic. In Proceedings of the IEEE International Conference on Fuzzy Systems, Hyderabad, India, 7–10 July 2013; pp. 1–7. [Google Scholar]
  5. Khatoon, R.; Saqlain, S.M.; Bibi, S. A robust and enhanced approach for human detection in crowd. In Proceedings of the International Multitopic Conference, Islamabad, Pakistan, 13–15 December 2012; pp. 215–221. [Google Scholar]
  6. Szarvas, M.; Yoshizawa, A.; Yamamoto, M.; Ogata, J. Pedestrian detection with convolutional neural networks. In Proceedings of the IEEE Intelligent Vehicles Symposium, Las Vegas, NV, USA, 6–8 June 2005; pp. 224–229. [Google Scholar]
  7. Leykin, A.; Hammoud, R. Robust multi-pedestrian tracking in thermal-visible surveillance videos. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshop, New York, NY, USA, 17–22 June 2006; pp. 1–8. [Google Scholar]
  8. Xu, F.; Liu, X.; Fujimura, K. Pedestrian detection and tracking with night vision. IEEE Trans. Intell. Transp. Syst. 2005, 6, 63–71. [Google Scholar] [CrossRef]
  9. Pawłowski, P.; Piniarski, K.; Dąbrowski, A. Pedestrian detection in low resolution night vision images. In Proceedings of the IEEE Signal Processing: Algorithms, Architectures, Arrangements, and Applications, Poznań, Poland, 23–25 September 2015; pp. 185–190. [Google Scholar]
  10. John, V.; Mita, S.; Liu, Z.; Qi, B. Pedestrian detection in thermal images using adaptive fuzzy c-means clustering and convolutional neural networks. In Proceedings of the 14th IAPR International Conference on Machine Vision Applications, Tokyo, Japan, 18–22 May 2015; pp. 246–249. [Google Scholar]
  11. Serrano-Cuerda, J.; Fernández-Caballero, A.; López, M.T. Selection of a visible-light vs. thermal infrared sensor in dynamic environments based on confidence measures. Appl. Sci. 2014, 4, 331–350. [Google Scholar] [CrossRef]
  12. Lee, J.H.; Choi, J.-S.; Jeon, E.S.; Kim, Y.G.; Le, T.T.; Shin, K.Y.; Lee, H.C.; Park, K.R. Robust pedestrian detection by combining visible and thermal infrared cameras. Sensors 2015, 15, 10580–10615. [Google Scholar] [CrossRef] [PubMed]
  13. Wagner, J.; Fischer, V.; Herman, M.; Behnke, S. Multispectral pedestrian detection using deep fusion convolutional neural networks. In Proceedings of the European Symposium on Artificial Neural Networks, Bruges, Belgium, 27–29 April 2016; pp. 509–514. [Google Scholar]
  14. González, A.; Fang, Z.; Socarras, Y.; Serrat, J.; Vázquez, D.; Xu, J.; López, A.M. Pedestrian detection at day/night time with visible and FIR cameras: A comparison. Sensors 2016, 16, 1–11. [Google Scholar] [CrossRef] [PubMed]
  15. 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]
  16. Dollár, 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]
  17. Viola, P.; Jones, M.J.; Snow, D. Detecting pedestrians using patterns of motion and appearance. Int. J. Comput. Vis. 2005, 63, 153–161. [Google Scholar] [CrossRef]
  18. Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, San Diego, CA, USA, 20–25 June 2005; pp. 886–893. [Google Scholar]
  19. Zhu, Q.; Avidan, S.; Yeh, M.-C.; Cheng, K.-T. Fast human detection using a cascade of histograms of oriented gradients. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, New York, NY, USA, 17–22 June 2006; pp. 1491–1498. [Google Scholar]
  20. Wöhler, C.; Anlauf, J.K. An adaptable time-delay neural-network algorithm for image sequence analysis. IEEE Trans. Neural Netw. 1999, 10, 1531–1536. [Google Scholar] [CrossRef] [PubMed]
  21. Jeon, E.S.; Choi, J.-S.; Lee, J.H.; Shin, K.Y.; Kim, Y.G.; Le, T.T.; Park, K.R. Human detection based on the generation of a background image by using a far-infrared light camera. Sensors 2015, 15, 6763–6788. [Google Scholar] [CrossRef] [PubMed]
  22. Yuan, Y.; Lu, X.; Chen, X. Multi-spectral pedestrian detection. Signal Process. 2015, 110, 94–100. [Google Scholar] [CrossRef]
  23. 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]
  24. Bertozzi, M.; Broggi, A.; Del Rose, M.; Felisa, M.; Rakotomamonjy, A.; Suard, F. A pedestrian detector using histograms of oriented gradients and a support vector machine classifier. In Proceedings of the IEEE Intelligent Transportation Systems Conference, Seattle, WA, USA, 30 September–3 October 2007; pp. 143–148. [Google Scholar]
  25. Viola, P.; Jones, M.J. Robust real-time face detection. Int. J. Comput. Vis. 2004, 57, 137–154. [Google Scholar] [CrossRef]
  26. Viola, P.; Jones, M. Rapid object detection using a boosted cascade of simple features. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Kauai, HI, USA, 8–14 December 2001; pp. I-511–I-518. [Google Scholar]
  27. Fukushima, K.; Miyake, S.; Ito, T. Neocognitron: A neural network model for a mechanism of visual pattern recognition. IEEE Trans. Syst. Man Cybern. 1983, SMC-13, 826–834. [Google Scholar] [CrossRef]
  28. Klir, G.J.; Yuan, B. Fuzzy Sets and Fuzzy Logic—Theory and Applications; Prentice-Hall: Upper Saddle River, NJ, USA, 1995. [Google Scholar]
  29. Zhao, J.; Bose, B.K. Evaluation of membership functions for fuzzy logic controlled induction motor drive. In Proceedings of the IEEE Annual Conference of the Industrial Electronics Society, Sevilla, Spain, 5–8 November 2002; pp. 229–234. [Google Scholar]
  30. Bayu, B.S.; Miura, J. Fuzzy-based illumination normalization for face recognition. In Proceedings of the IEEE Workshop on Advanced Robotics and Its Social Impacts, Tokyo, Japan, 7–9 November 2013; pp. 131–136. [Google Scholar]
  31. Barua, A.; Mudunuri, L.S.; Kosheleva, O. Why trapezoidal and triangular membership functions work so well: Towards a theoretical explanation. J. Uncertain Syst. 2014, 8, 164–168. [Google Scholar]
  32. Defuzzification Methods. Available online: https://kr.mathworks.com/help/fuzzy/examples/defuzzification-methods.html (accessed on 4 April 2017).
  33. Leekwijck, W.V.; Kerre, E.E. Defuzzification: Criteria and classification. Fuzzy Sets Syst. 1999, 108, 159–178. [Google Scholar] [CrossRef]
  34. Broekhoven, E.V.; Baets, B.D. Fast and accurate center of gravity defuzzification of fuzzy system outputs defined on trapezoidal fuzzy partitions. Fuzzy Sets Syst. 2006, 157, 904–918. [Google Scholar] [CrossRef]
  35. Kim, J.H.; Hong, H.G.; Park, K.R. Convolutional neural network-based human detection in nighttime images using visible light camera sensors. Sensors 2017, 17, 1–26. [Google Scholar]
  36. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems 25; Curran Associates, Inc.: New York, NY, USA, 2012; pp. 1097–1105. [Google Scholar]
  37. Lecun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. Gradient-based learning applied to document recognition. Proc. IEEE 1998, 86, 2278–2324. [Google Scholar] [CrossRef]
  38. Taigman, Y.; Yang, M.; Ranzato, M.A.; Wolf, L. Deepface: Closing the gap to human-level performance in face verification. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 1701–1708. [Google Scholar]
  39. Grant, E.; Sahm, S.; Zabihi, M.; van Gerven, M. Predicting and visualizing psychological attributions with a deep neural network. In Proceedings of the 23rd International Conference on Pattern Recognition, Cancun, Mexico, 4–8 December 2016; pp. 1–6. [Google Scholar]
  40. CS231n Convolutional Neural Networks for Visual Recognition. Available online: http://cs231n.github.io/convolutional-networks/#overview (accessed on 16 May 2017).
  41. Simonyan, K.; Zisserman, A. Very deep convolutional networks for large-scale image recognition. In Proceedings of the 3rd International Conference on Learning Representations, San Diego, CA, USA, 7–9 May 2015; pp. 1–14. [Google Scholar]
  42. Szegedy, C.; Liu, W.; Jia, Y.; Sermanet, P.; Reed, S. Going deeper with convolutions. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Boston, MA, USA, 7–12 June 2015; pp. 1–9. [Google Scholar]
  43. Convolutional Neural Network. Available online: https://en.wikipedia.org/wiki/Convolutional_neural_network (accessed on 16 May 2017).
  44. Heaton, J. Artificial Intelligence for Humans, Volume 3: Deep Learning and Neural Networks; Heaton Research, Inc.: St. Louis, MS, USA, 2015. [Google Scholar]
  45. Nair, V.; Hinton, G.E. Rectified linear units improve restricted Boltzmann machines. In Proceedings of the 27th International Conference on Machine Learning, Haifa, Israel, 21–24 June 2010; pp. 807–814. [Google Scholar]
  46. Glorot, X.; Bordes, A.; Bengio, Y. Deep sparse rectifier neural networks. In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics, Fort Lauderdale, FL, USA, 11–13 April 2011; pp. 315–323. [Google Scholar]
  47. Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
  48. Dongguk Visible Light & FIR Pedestrian Detection Database (DVLFPD-DB1) & CNN Model. Available online: http://dm.dgu.edu/link.html (accessed on 16 May 2017).
  49. Tau® 2 Uncooled Cores. Available online: http://www.flir.com/cores/display/?id=54717 (accessed on 16 May 2017).
  50. Webcam C600. Available online: https://support.logitech.com/en_us/product/5869 (accessed on 16 May 2017).
  51. WH-1091. Available online: http://www.cjtech21.com/goods/goods_view.php?goodsNo=1000000612 (accessed on 16 May 2017).
  52. Geforce GTX 1070. Available online: https://www.nvidia.com/en-us/geforce/products/10series/geforce-gtx-1070/ (accessed on 16 May 2017).
  53. Caffe. Available online: http://caffe.berkeleyvision.org (accessed on 16 May 2017).
  54. Stochastic Gradient Descent. Available online: https://en.wikipedia.org/wiki/Stochastic_gradient_descent (accessed on 16 May 2017).
  55. Davis, J.W.; Sharma, V. Background-subtraction using contour-based fusion of thermal and visible imagery. Comput. Vis. Image Underst. 2007, 106, 162–182. [Google Scholar] [CrossRef]
  56. Precision and Recall. Available online: https://en.wikipedia.org/wiki/Precision_and_recall (accessed on 16 May 2017).
Figure 1. Overall procedure of the proposed system.
Figure 1. Overall procedure of the proposed system.
Sensors 17 01598 g001
Figure 2. Images to illustrate the steps shown in Figure 1: (a) Two input images, (b) Two difference images, (c) Detected candidate boxes by background subtraction and noise reduction. (d) Selected candidate boxes by FIS, which are used as CNN inputs. (e) Final detected area of containing the pedestrian by CNN.
Figure 2. Images to illustrate the steps shown in Figure 1: (a) Two input images, (b) Two difference images, (c) Detected candidate boxes by background subtraction and noise reduction. (d) Selected candidate boxes by FIS, which are used as CNN inputs. (e) Final detected area of containing the pedestrian by CNN.
Sensors 17 01598 g002aSensors 17 01598 g002b
Figure 3. Membership functions. Input membership function (a) for pedestrians; (b) for non-pedestrian features. (c) Output membership function.
Figure 3. Membership functions. Input membership function (a) for pedestrians; (b) for non-pedestrian features. (c) Output membership function.
Sensors 17 01598 g003aSensors 17 01598 g003b
Figure 4. Example of obtaining outputs by input membership functions. (a) Output of “Feature 1”. (b) Output of “Feature 2”.
Figure 4. Example of obtaining outputs by input membership functions. (a) Output of “Feature 1”. (b) Output of “Feature 2”.
Sensors 17 01598 g004
Figure 5. An example of Output Value depending on various Defuzzification methods (a) Output values by SOM and LOM methods with the inference values by Max rule of Table 3. (a) Output values by Centroid and Bisector methods with the inference values by Min rule of Table 4.
Figure 5. An example of Output Value depending on various Defuzzification methods (a) Output values by SOM and LOM methods with the inference values by Max rule of Table 3. (a) Output values by Centroid and Bisector methods with the inference values by Min rule of Table 4.
Sensors 17 01598 g005aSensors 17 01598 g005b
Figure 6. Data distribution pf feature 3.
Figure 6. Data distribution pf feature 3.
Sensors 17 01598 g006
Figure 7. The CNN architecture.
Figure 7. The CNN architecture.
Sensors 17 01598 g007
Figure 8. Example of various images in the experimental DVLFPD-DB1 used in this study: (a) Sub-database 1, (b) Sub-database 2, (c) Sub-database 3, and (d) Sub-database 4.
Figure 8. Example of various images in the experimental DVLFPD-DB1 used in this study: (a) Sub-database 1, (b) Sub-database 2, (c) Sub-database 3, and (d) Sub-database 4.
Sensors 17 01598 g008aSensors 17 01598 g008b
Figure 9. Loss and accuracy graphs of the training procedure: (a) the 1st fold (visible light candidate images); (b) the 1st fold (FIR candidate image); (c) the 2nd fold (visible light candidate images); (d) the 2nd fold (FIR candidate image); (e) the 3rd fold (visible light candidate images); (f) the 3rd fold (FIR candidate image); (g) the 4th fold (visible light candidate images); (h) the 4th fold (FIR candidate image).
Figure 9. Loss and accuracy graphs of the training procedure: (a) the 1st fold (visible light candidate images); (b) the 1st fold (FIR candidate image); (c) the 2nd fold (visible light candidate images); (d) the 2nd fold (FIR candidate image); (e) the 3rd fold (visible light candidate images); (f) the 3rd fold (FIR candidate image); (g) the 4th fold (visible light candidate images); (h) the 4th fold (FIR candidate image).
Sensors 17 01598 g009aSensors 17 01598 g009bSensors 17 01598 g009c
Figure 10. Examples of 96 filters obtained from the 1st convolution layer through training with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database. In (ac), left four images show the 96 filters obtained by training with visible light candidate images whereas right 4 images represent those by training with FIR candidate images. In the left and right four images, the left-upper, right-upper, left-lower, and right-lower images show the 96 filters obtained by training of 1st~4th fold cross validation, respectively.
Figure 10. Examples of 96 filters obtained from the 1st convolution layer through training with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database. In (ac), left four images show the 96 filters obtained by training with visible light candidate images whereas right 4 images represent those by training with FIR candidate images. In the left and right four images, the left-upper, right-upper, left-lower, and right-lower images show the 96 filters obtained by training of 1st~4th fold cross validation, respectively.
Sensors 17 01598 g010
Figure 11. Examples of original and degraded DVLFPD-DB1. Original images of (a) pedestrian candidate, and (b) non-pedestrian candidate. Degraded images of (c) pedestrian candidate, and (d) non-pedestrian candidate. In (ad), left and right images show the candidates from visible light and FIR light images, respectively.
Figure 11. Examples of original and degraded DVLFPD-DB1. Original images of (a) pedestrian candidate, and (b) non-pedestrian candidate. Degraded images of (c) pedestrian candidate, and (d) non-pedestrian candidate. In (ad), left and right images show the candidates from visible light and FIR light images, respectively.
Sensors 17 01598 g011
Figure 12. Examples of OSU color-thermal database. (a) Example 1, (b) example 2, (c) example 3, and (d) example 4. In (ad), left and right images show the visible light and FIR light images, respectively. In (ad), upper and lower images represent the candidates and original images, respectively.
Figure 12. Examples of OSU color-thermal database. (a) Example 1, (b) example 2, (c) example 3, and (d) example 4. In (ad), left and right images show the visible light and FIR light images, respectively. In (ad), upper and lower images represent the candidates and original images, respectively.
Sensors 17 01598 g012aSensors 17 01598 g012b
Figure 13. ROC curves with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database.
Figure 13. ROC curves with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database.
Sensors 17 01598 g013aSensors 17 01598 g013b
Figure 14. Examples of correct classification with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database. In (ac), left and right images show the examples of TP and TN candidates, respectively.
Figure 14. Examples of correct classification with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database. In (ac), left and right images show the examples of TP and TN candidates, respectively.
Sensors 17 01598 g014
Figure 15. Examples of incorrect classification with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database. In (ac), left and right images show the FP and FN cases, respectively.
Figure 15. Examples of incorrect classification with (a) original DVLFPD-DB1, (b) degraded DVLFPD-DB1, and (c) OSU color-thermal database. In (ac), left and right images show the FP and FN cases, respectively.
Sensors 17 01598 g015
Table 1. Comparisons of the proposed and the previously researched methods.
Table 1. Comparisons of the proposed and the previously researched methods.
CategoryMethodsAdvantageDisadvantage
Single camera-basedAdaBoost cascade [17]
-
Faster processing speeds.
-
Better performance under low image resolutions.
-
Affected by various environmental changes, such as, changing lighting and shadows, and cases where the background temperature is similar to that of the pedestrians’ body.
HOG–SVM [18,22], integral HOG [19], neural network based on receptive fields [20], and background generation [21]
-
More resilient in simple conditions.
-
Faster processing speed than multiple camera-based algorithm.
CNN-based method [6,10]More accurate than the past single camera-based method.
Multiple camera-basedStereo visible light camerasShape and texture information [23]Better detect pedestrians as it is able to utilize more information than the single camera-based method.
-
Longer time to process as it has to process both the camera images.
Visible light & NIR camerasHOG-SVM [22]
Visible light & FIR camerasTetra-vision-based HOG-SVM [24]Better night vision pedestrian detection inside the car.
-
No performance without vehicle headlight.
-
High number of calculation is required as it needs to process two camera images.
Camera selection [11]Better performance under various conditions.
-
Detection capability is affected as it has no final verification process for the detected pedestrian area.
Difference image-based fusion [12]
Late fusion CNN-based method [13]Higher CNN-based detection accuracy.
-
Processing hours and algorithm complexity increases as the method processes input from two camera images to conduct CNN twice.
Proposed method
-
Increased detection reliability (compared to the single camera-based method) by means of adaptively selecting one candidate between two pedestrian candidates received from visible light and FIR camera images. Applies a FIS, and reduces algorithm complexity and processing time.
-
More resilient detection capability under various environmental changes by means of intensively training and using a diverse dataset.
Design of the fuzzy rule tables and membership function is needed for the FIS.
Table 2. Fuzzy rule table. Rule tables for pedestrians (a) and for non-pedestrian features (b).
(a)
(a)
InputOutput
Feature 1Feature 2
LowLowMedium
LowHighHigh
HighLowLow
HighHighMedium
(b)
(b)
InputOutput
Feature 1Feature 2
LowLowMedium
LowHighLow
HighLowHigh
HighHighMedium
Table 3. An example of the Inference Value produced by Min and Max rules with fuzzy rule table of Table 2a.
Table 3. An example of the Inference Value produced by Min and Max rules with fuzzy rule table of Table 2a.
Feature 1Feature 2Inference Value
Min RuleMax Rule
0.24(L)0.68(L)0.24(M)0.68(M)
0.24(L)0.32(H)0.24(H)0.32(H)
0.75(H)0.68(L)0.68(L)0.75(L)
0.75(H)0.32(H)0.32(M)0.75(M)
Table 4. An example of the Inference Value produced by Min and Max rules with fuzzy rule table of Table 2b.
Table 4. An example of the Inference Value produced by Min and Max rules with fuzzy rule table of Table 2b.
Feature 1Feature 2Inference Value
Min RuleMax Rule
0.24(L)0.68(L)0.24(M)0.68(M)
0.24(L)0.32(H)0.24(L)0.32(L)
0.75(H)0.68(L)0.68(H)0.75(H)
0.75(H)0.32(H)0.32(M)0.75(M)
Table 5. CNN architecture.
Table 5. CNN architecture.
Layer TypeNumber of FiltersSize of Feature Map (Width × Height × Channel)Size of FilterStridePadding
Image input layer 119 × 183 × 3
1st convolutional layer9655 × 87 × 9611 × 11 × 32 × 20 × 0
Rectified linear unit (ReLU) layer 55 × 87 × 96
Local response normalization layer 55 × 87 × 96
Max pooling layer127   × 43   × 963 × 32 × 20 × 0
2nd convolutional layer12827 ×   43 ×   1285 × 5 × 961 × 12 × 2
ReLU layer 27 × 43   × 128
Local response normalization layer 27 × 43 × 128
Max pooling layer113 × 21 × 1283 × 32 × 20 × 0
3rd convolutional layer25613 × 21 × 2563 × 3 × 1281 × 11 × 1
ReLU layer 13 × 21 × 256
4th convolutional layer25613 × 21 × 2563 × 3 × 2561 × 11 × 1
ReLU layer 13 × 21 × 256
5th convolutional layer12813 × 21 × 1283 × 3 × 2561 × 11 × 1
ReLU layer 13 × 21 × 128
Max pooling layer16 × 10 × 1283 × 32 × 20 × 0
1st fully connected layer 4096
ReLU layer 4096
2nd fully connected layer 1024
ReLU layer 1024
Dropout layer 1024
3rd fully connected layer 2
Softmax layer 2
Classification layer (output layer) 2
Table 6. Description of the database.
Table 6. Description of the database.
Sub-Database 1Sub-Database 2Sub-Database 3Sub-Database 4
Number of image5986512364467
Number of pedestrian candidate11235662432169
Number of non-pedestrian candidate763734784347
(range of width) × (range of height) (pixels)Pedestrian(27 ~ 91) × (87 ~ 231)(47 ~ 85) × (85 ~ 163)(31 ~ 105) × (79 ~ 245)(30 ~ 40) × (90 ~ 120)
Non-pedestrian(51 ~ 161) × (63 ~ 142)(29 ~ 93) × (49 ~ 143)(53 ~ 83) × (55 ~ 147)(60 ~ 170) × (50 ~ 110)
Weather ConditionsSurface temperature: 30.4 °C, Air temperature: 22.5 °C, Wind speed: 10 km/h, Sensory temperature: 21.3 °CSurface temperature: 25.5 °C, Air temperature: 24 °C, Wind speed: 5 km/h, Sensory temperature: 23.5 °CSurface temperature: 20 °C, Air temperature: 21 °C, Wind Speed: 6.1 km/h, Sensory temperature: 21 °CSurface temperature: 16 °C, Air temperature: 20.5 °C, Wind Speed: 2.5 km/h, Sensory temperature: 20.8 °C
Table 7. Classification accuracies for defuzzification method (unit: %).
Table 7. Classification accuracies for defuzzification method (unit: %).
Defuzzification MethodRecognizedAvg. of TPR and TNR
PedestrianNon-Pedestrian
ActualLOMPedestrian99.740.2699.55
Non-pedestrian0.6599.35
MOMPedestrian99.740.2699.55
Non-pedestrian0.6599.35
SOMPedestrian99.740.2699.57
Non-pedestrian0.6199.39
CentroidPedestrian99.720.2899.58
Non-pedestrian0.5799.43
BisectorPedestrian99.630.3799.61
Non-pedestrian0.4199.59
Table 8. Comparisons of classification accuracies with original DVLFPD-DB1 based on confusion matrix (unit: %).
Table 8. Comparisons of classification accuracies with original DVLFPD-DB1 based on confusion matrix (unit: %).
MethodRecognizedAvg. of TPR and TNR
PedestrianNon-Pedestrian
ActualHOG-SVM based [18,22]Pedestrian97.862.1496.28
Non-pedestrian5.3194.69
CNN and single visible light camera-based [6]Pedestrian97.692.3197.59
Non-pedestrian2.5297.48
CNN and single FIR camera-based [10]Pedestrian96.533.4796.95
Non-pedestrian2.6497.36
Late fusion CNN-based [13]Pedestrian98.381.6298.03
Non-pedestrian2.3397.67
Proposed methodPedestrian99.630.3799.61
Non-pedestrian0.4199.59
Table 9. Comparisons of classification accuracies with original DVLFPD-DB1 based on precision, recall, accuracy, and F1 score (unit: %).
Table 9. Comparisons of classification accuracies with original DVLFPD-DB1 based on precision, recall, accuracy, and F1 score (unit: %).
MethodPrecisionRecallACCF1 Score
HOG-SVM based [18,22]96.7897.8696.6697.32
CNN and single visible light camera-based [6]98.4297.6997.5898.05
CNN and single FIR camera-based [10]98.3296.5396.3797.42
Late fusion CNN-based [13]98.5798.3898.1198.47
Proposed method99.7599.6399.6199.69
Table 10. Comparisons of classification accuracies with degraded DVLFPD-DB1 based on confusion matrix (unit: %).
Table 10. Comparisons of classification accuracies with degraded DVLFPD-DB1 based on confusion matrix (unit: %).
MethodRecognizedAvg. of TPR and TNR
PedestrianNon-Pedestrian
ActualHOG-SVM based [18,22]Pedestrian96.113.8992.13
Non-pedestrian11.8588.15
CNN and single visible light camera-based [6]Pedestrian97.322.6889.16
Non-pedestrian19.0180.99
CNN and single FIR camera-based [10]Pedestrian96.623.3895.33
Non-pedestrian5.9794.03
Late fusion CNN-based [13]Pedestrian95.964.0493.01
Non-pedestrian9.9490.06
Proposed methodPedestrian96.333.6797.23
Non-pedestrian1.8898.12
Table 11. Comparisons of classification accuracies with degraded DVLFPD-DB1 based on precision, recall, accuracy, and F1 score (unit: %).
Table 11. Comparisons of classification accuracies with degraded DVLFPD-DB1 based on precision, recall, accuracy, and F1 score (unit: %).
MethodPrecisionRecallACCF1 Score
HOG-SVM based [18,22]92.9896.1193.0994.52
CNN and single visible light camera-based [6]89.2997.3291.1093.13
CNN and single FIR camera-based [10]96.3196.6295.6396.46
Late fusion CNN-based [13]94.0395.9693.7294.99
Proposed method98.8096.3397.0297.55
Table 12. Comparisons of classification accuracies with OSU color-thermal database based on the confusion matrix (unit: %).
Table 12. Comparisons of classification accuracies with OSU color-thermal database based on the confusion matrix (unit: %).
MethodRecognizedAvg. of TPR and TNR
PedestrianNon-Pedestrian
ActualHOG-SVM based [18,22]Pedestrian99.110.8998.69
Non-pedestrian1.7398.27
CNN and single visible light camera-based [6]Pedestrian99.640.3698.75
Non-pedestrian2.1497.86
CNN and single FIR camera-based [10]Pedestrian99.510.4998.54
Non-pedestrian2.4497.56
Late fusion CNN-based [13]Pedestrian99.280.7298.90
Non-pedestrian1.4998.51
Proposed methodPedestrian99.580.4299.02
Non-pedestrian1.5498.46
Table 13. Comparisons of classification accuracies with OSU color-thermal database based on precision, recall, accuracy, and F1 score (unit: %).
Table 13. Comparisons of classification accuracies with OSU color-thermal database based on precision, recall, accuracy, and F1 score (unit: %).
MethodPrecisionRecallACCF1 Score
HOG-SVM based [18,22]98.3499.3698.8398.85
CNN and single visible light camera-based [6]97.8699.6498.7498.74
CNN and single FIR camera-based [10]97.6299.5198.5498.56
Late fusion CNN-based [13]98.5399.2898.8398.90
Proposed method98.5299.5899.0399.05

Share and Cite

MDPI and ACS Style

Kang, J.K.; Hong, H.G.; Park, K.R. Pedestrian Detection Based on Adaptive Selection of Visible Light or Far-Infrared Light Camera Image by Fuzzy Inference System and Convolutional Neural Network-Based Verification. Sensors 2017, 17, 1598. https://doi.org/10.3390/s17071598

AMA Style

Kang JK, Hong HG, Park KR. Pedestrian Detection Based on Adaptive Selection of Visible Light or Far-Infrared Light Camera Image by Fuzzy Inference System and Convolutional Neural Network-Based Verification. Sensors. 2017; 17(7):1598. https://doi.org/10.3390/s17071598

Chicago/Turabian Style

Kang, Jin Kyu, Hyung Gil Hong, and Kang Ryoung Park. 2017. "Pedestrian Detection Based on Adaptive Selection of Visible Light or Far-Infrared Light Camera Image by Fuzzy Inference System and Convolutional Neural Network-Based Verification" Sensors 17, no. 7: 1598. https://doi.org/10.3390/s17071598

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop