GAIT RECOGNITION SYSTEM TO IDENTIFY WALKING SUBJECT
Described is a novel method for feature extraction for automatic gait recognition. This method uses Multi-kernel Fuzzy-based Local Gabor Binary Pattern. From a captured gait video sequence, the gait period is determined then a gait energy image is constructed to represent the spatial-temporal variations during one motion cycle of the gait sequence. Then, each gait sequence is represented with a feature vector. The computation of this vector is conducted by first applying the 2D Gabor filter bank then encoding the variations in the Gabor magnitude using a multi-kernel fuzzy local binary pattern operator. Finally, gait classification is performed using a support vector machine.
Latest KING FAHD UNIVERSITY OF PETROLEUM AND MINERALS Patents:
- DATE STONE ACTIVATED CARBON SUPERCAPACITOR
- RANDOMLY QUANTIZED SEISMIC DATA RECONSTRUCTION USING LSTM NETWORK
- METHOD FOR TREATING AN AQUEOUS SOLUTION
- METHOD OF STORING HYDROGEN GAS IN A SUBSURFACE FORMATION USING NITROGEN, METHANE, AND CARBON DIOXIDE BLEND AS A CUSHION GAS
- FOURTH ORDER ORBITAL ANGULAR MOMENTUM (OAM) MODE PATCH ANTENNA
A related publication by the inventors, Binsaadoon A. G., El-Alfy E.-S. M. (2016) Multi-Kernel Fuzzy-Based Local Gabor Patterns for Gait Recognition. In: Bebis G. et al. (eds) Advances in Visual Computing. ISVC 2016. Lecture Notes in Computer Science, vol 10072. Springer, Cham, is incorporated herein by reference in its entirety.
Another partially related publication by the same inventors, Binsaadoon A. G., El-Alfy E.-S. M. Kernel-Based Fuzzy Local Binary Pattern for Gait Recognition. In European Modelling Symposium (EMS), IEEE 2016.
BACKGROUND OF THE INVENTION Field of the InventionThe present disclosure relates generally to automatic subject recognition (biometrics and in particular, to an image feature extraction method for gait recognition.
Related ArtAutomatic gait recognition is an emerging technology which has recently attracted the attention of researchers in the field of biometrics and pattern recognition. It has several applications in behavioral monitoring, security, public safety and physiotherapy. The term gait refers to the manner in which a person normally walks. The structural and dynamical characteristics of human gait have been found to vary from one person to another which implicates a useful behavioral signature to distinguish the identity of the person. Unlike other biometrics, gait-based systems can effectively operate at a distance (10 meters or more) and with low-resolution video cameras. Gait recognition is non-intrusive in the sense that no cooperation or knowledge of the person under surveillance is required. Gait can also be hard to be disguised or concealed.
However, gait recognition still has several challenges including being affected by intrinsic and extrinsic human factors such as injuries, illness, motion disorder, drunkenness, walking speed variation, age, mood, and fatigue. Among other factors that have impact on the gait-based recognition system performance are environmental conditions such as walking surface, type of shoes, shadows near feet, carried objects, clothing, and weather. See Bouchrika, I., Carter, J. N., Nixon, M. S.: Towards automated visual surveillance using gait for identity recognition and tracking across multiple non-intersecting cameras. Multimedia Tools and Applications 75 (2016) 1201-1221, incorporated herein by reference in its entirety.
One technique for feature extraction, which is widely applied in image processing applications, is Gabor filters. Features in Gabor domain are robust against local distortion and noise and provide a high degree of invariance to intensity, translation, and orientation. See Kamarainen, J. K., Kyrki, V., Kalviainen, H.: Invariance properties of Gabor filter based features-overview and applications. IEEE Transactions on Image Processing 15 (2006) 1088-1099, incorporated herein by reference in its entirety. Gabor features have been applied to some biometric applications such as face and gait recognition. See Liu, C., Wechsler, H.: Gabor feature based classification using the enhanced fisher linear discriminant model for face recognition. IEEE Transactions on Image Processing 11 (2002) 467-476; Hu, M Wang, Y., Zhang, Z., Wang, Y.: Combining spatial and temporal information for gait based gender classification. In: 20th International Conference on Pattern Recognition (ICPR). (2010) 3679-3682; Huang, D. Y., Lin, T. W Hu, W. O Cheng, C. H.: Gait recognition based on Gabor wavelets and modified gait energy image for human identification. Journal of Electronic Imaging 22 (2013), each incorporated herein by reference in their entirety. Several methods have been proposed to reduce the high dimensionality of Gabor patterns and generate more effective features.
Another powerful method for feature extraction is Local Binary Pattern (LBP) operator. It has been incorporated with Gabor patterns to encode the variations in magnitude and phase of face images. See Ojala, T., Pietikainen, M. Maenpaa, T.: Multiresolution grayscale and rotation invariant texture classification with local binary patterns. IEEE Transactions on Pattern Analysis and Machine Intelligence 24 (2002) 971-987, incorporated herein by reference in its entirety. Wenchao et al. proposed local Gabor binary pattern (LGBP) descriptors for face recognition. See Zhang, W., Shan, S., Gao, W., Chen, X., Zhang, H.: Local Gabor binary pattern histogram sequence (LGBPHS): a novel non-statistical model for face representation and recognition. In: Tenth U-′EE International Conference on Computer Vision (ICCV). Volume 1. (2005) 786-791, incorporated herein by reference in its entirety. Xie et al. proposed local Gabor XOR patterns (LGXP) that utilize local XOR pattern (LXP) operator to encode Gabor phase variations in face images. See Xie, S Shan, S., Chen, X., Chen, J: Fusing local patterns of Gabor magnitude and phase for face recognition. IEEE Transactions on Image Processing 19 (2010) 1349-1361, incorporated herein by reference in its entirety.
However, an effective and reliable system for gait extraction has heretofore not been implemented. It is therefore a target of the present disclosure to describe a method and system for effective multi-kernel fuzzy-based local pattern for robust feature extraction and automatic gait recognition.
SUMMARY OF THE INVENTIONDisclosed is an effective multi-kernel fuzzy-based local Gabor binary pattern (KFLGBP) descriptor for robust feature extraction and automatic gait recognition.
In one embodiment the KFLGBP encodes the Gabor magnitude variations using a multi-kernel fuzzy local binary pattern (KFLBP) operator.
In a further embodiment a gait-energy image (GEL) is constructed which captures the spatiotemporal characteristics of a walking person within one gait cycle.
In a further embodiment the GEI image is convolved with a Gabor-filter bank of various scales and different orientations.
In a further embodiment the KFLBP operator is applied on the resulting patterns of the GEI image to encode their magnitude variations.
A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout several views, the following description relates to automatic gait recognition, and in particular to a method of feature extraction from video images that have been obtained at a distance (e.g., 10 meters or more) and with low resolution video cameras. The method alleviates gray-level variations due to noise and illumination change and thereby improves discrimination ability.
A captured video image may be transferred to a computer system 103. It should be understood that any approach for transferring images between a camera device and a computer system may be used, and may include wired or wireless communications. In an exemplary aspect, the video camera and computer system may be contained in a single device, such as a smartphone, tablet, or laptop computer equipped with one or more built-in cameras. In an exemplary aspect, the computer system may be any of a variety of computer systems, ranging from a smartphone to desktop computer. In an exemplary aspect, the computer system may include a display device that can display a captured video as well as individual or sequence of video frames in various stages of image processing.
In an exemplary aspect, the image preprocessing program 105 uses silhouettes of the subject and subtracts the background of the silhouettes in frames that are to be used for feature extraction. The image processing program 105 segments and tracks the moving subject's silhouettes, estimates a gait period and computes the gait energy image (GEI). The gait period, which will be discussed further below, is a gait cycle of a certain gait sequence. The gait energy image captures the spatiotemporal characteristics of a walking person.
The feature extraction program 107 takes the GEI and generates a feature vector by convolution of the GEI with a Gabor filter bank to produce a more robust gait representation. In one embodiment, the convolution operation uses a Gabor filter bank having five different scales and eight different orientations to provide forty filtered response images. It should be understood that various other scales and orientations may be used to vary the amount of robustness desired in feature extraction. Orientation refers to features that may be extracted at different angles between 0 and 180. Thus, the number of orientations is the division of this range into equal parts. Any number that divides this range into equal parts may be used. However, there may be a limit in the extracted features in the case of black and white silhouettes. Scale refers to image scale. In a typical example, a grayscale image may be filtered at 16 scales. However, again, there may be a limit as to the amount of information that may be obtained by increasing scale. The subject recognition program 109 may include a support vector machine for classification. In an exemplary aspect, the support vector machine for classification takes the feature vectors as training examples to build a model for classifying new examples. It should be understood that other approaches for supervised learning may be used to build a classification model based on the feature vectors. In one embodiment, the resulting model may be used in an application to predict the identity of a moving person in probe videos. In other embodiments, a model may be constructed for applications such as behavioral monitoring or physiotherapy.
In one embodiment, the feature extraction program 107 applies a multi-kernel fuzzy binary pattern operator to encode the magnitude variations of the Gabor filters outputs. As noted above, a Local Binary Pattern (LBP) operator may be incorporated with Gabor patterns to encode the variations in magnitude and phase of a Gabor filtered image. A histogram is constructed that represents a feature vector. As an alternative, a FLBP operator may be used to incorporate fuzzy logic rules into the LBP operator. The FLBP operator includes a histogram that has no zero-valued bins, and as such, is more informative than a LBP histogram which may have bins of zero value. In an exemplary aspect, the FLBP operator is further expanded to increase its robustness to gray-level variations due to noise and illumination change and improve its discrimination ability.
In particular, the LBP operator describes the relationships between a central pixel, pc, and its p surrounding pixels which are equally spaced around the center pixel at radius, r. The coordinates of the p neighbor pixels are located at (r sin(2πn/p), r cos(2πn/p)). Interpolation is applied when coordinates do not fit in the exact center of pixels. Neighbor pixels with values greater than or equal to the central pixel will produce binary 1, otherwise 0. Then, the binaries are scanned sequentially in a clockwise manner to form a micropattern which is utilized to characterize the textural properties of an image I. The LBP operator is defined as follows:
where s(x)=1 if x≥0 and s(x)=0 otherwise. A histogram h of length N=2p is then constructed to describe the distribution of the generated patterns of the whole image I.
The FLBP operator incorporates fuzzy logic rules into the conventional LBP operator. See Iakovidis, D., Keramidas, E., Maroulis, D.: Fuzzy local binary patterns for ultrasound texture characterization. In: Image Analysis and Recognition. Volume 5112. Springer Berlin Heidelberg (2008) 750-759, incorporated herein by reference in its entirety. Fuzzy logic, as opposed to binary, may involve a range of values, such as between zero and one, hence the term fuzzy. The range of values may be determined based on a membership function. The FLBP operator measures the degree of certainty that a neighbor pn is greater or smaller than a central pixel pc. This is achieved by using two membership functions m1 and m0, where m1 measures the degree to which a neighbor pixel pn has a greater value than pc and is defined by:
Similarly, m0 measures the degree to which a neighbor pixel pn has a smaller value than pc and is defined by:
where T is a threshold parameter that controls the level of fuzziness. In one embodiment, the value of T may be set as T=5. It is understood that other threshold values are possible.
Subsequently, FLBP can generate more than one LBP code for the central pixel pc. In other words, fuzzy values enables contribution of more than a single bin in the distribution of the LBP values used as a feature vector. The membership functions m1 and m0 are used to determine the contribution of each LBP code to a single bin of the FLBP histogram as follows:
where snϵ{0, 1}. The total contribution of all LBP codes is equal to the unity as follows:
The FLBP histogram h that results from application of the FLBP operator represents a feature vector. The feature vector describes the distribution of LBP binary codes of an image. The FLBP histogram has no zero-valued bins and, subsequently, the feature vectors are more informative than the conventional LBP histogram which may have bins of zero value.
In one embodiment, feature vectors are determined with a multi-kernel FLBP (FLBP) operator by utilizing more than one radius r. Surrounding pixels are sampled over K radii (kernels). It is not necessary to have the same neighbors p for each radius r. Then, the information provided by multiple FLBP operators is combined to form the final binary code. This approach of using information from multiple FLBP operators alleviates the effect of noise due to changes in the gray-level intensities as well as illumination variations.
Video images of walking persons that have been captured from a distance and with low-resolution cameras have a great deal of variations in illumination and noise from changes in intensities. Applying multiple FLBP operators particularly leads to capturing more important structural and statistical gait information.
In contrast to FLBP, KFLBP has the same formulation with the difference of having multiple FLBP operators fused together. Each kernel has a separate operator with the same or different number of neighbors prk.
where prk is the number of neighbors at radius rk; pc is the center pixel; pnr
The outputs of each operator are then combined together to form the final binary code. Without loss of generality and for simplicity, in an exemplary aspect values of K=2 and pr1=pr2=4 may be used. In one embodiment, there may be two FLBP operators at two different radii r1=1 and r2=2 as follows:
Although KFLBP preserves a lot of structural and statistical information by combining information from different kernels, the KFLBP histogram h size is not increased over that of the conventional FLBP and LBP histograms.
As mentioned above, the GEI image captures the spatial temporal characteristics of a walking person. To construct the GEI image, an input gait sequence of binary silhouettes may be analyzed to detect the gait cycle by Wang's algorithm (see Wang et al. See Wang, L., Tan, T., Ning, H., Hu, W.: Silhouette analysis-based gait recognition for human identification. IEEE Transactions on Pattern Analysis and Machine Intelligence 25 (2003) 1505-1518, incorporated herein by reference in its entirety).
Given the gait period, in S511, the GEI image is constructed as the average of the binary silhouettes within that period. In an exemplary aspect, due to the variations in camera view and depth, each silhouette is first binarized, normalized, e.g., into 240×240, and finally aligned. The GEI image is created as follows:
where M is the number of silhouettes within one gait period and Br(x, y) is the binary silhouette at time t within the period.
Referring again to
Gv,μ(x,y)=G(x,y)*ψv,μ(x,y)
where * represents convolution, ψv,μ(x, y) is a 2D Gabor wavelet kernel function at orientation μ=0, 1, 2, . . . , 7 and scale v=0, 1, 2, 3, 4; G(x, y) is the gait-energy image; and Gv,μ(x,y) represents the convolution output. See Lades, M., Vorbruggen, J., Buhmann, J., Lange, J., von der Malsburg, C., Wurtz, R Konen, W.: Distortion invariant object recognition in the dynamic link architecture. IEEE Transactions on Computers 42 (1993) 300-311, incorporated herein by reference in its entirety. The kernel is defined by:
where z=(x, y), ∥•∥ the Euclidean norm operator, kv,μ=kveiϕμ with kv−kmax/λv, λ=1.2 is the spacing factor between Gabor wavelets in the frequency domain, ϕμ=πμ/8 is the orientation where μ=0, 1, 2, . . . , 7, and kmax=0.35. Each Gabor filter response contains two main parts: real part, Rv,μ(x,y) and imaginary part, Imv,μ(x,y) In one embodiment, the magnitude of the Gabor filtering is used as the Gabor filtering response. In other embodiments, other parameters of the Gabor filtering may be used as the Gabor filtering response, such as the real part itself. In the example embodiment, in S407, the magnitude of the Gabor filtering is generated as follows:
Magv,μ(x,y)=√{square root over (Rv,μ2(x,y)+Imv,μ2(x,y))}
Once the convolution process is completed, KFLGBP descriptors are determined that encode the variations in the magnitude of Gabor filter responses. In one embodiment, in S409, fuzzy-based local Gabor patterns may be determined for each Gabor response. The KFLGBP descriptors are determined by first applying the above described KFLBP operator.
In an exemplary aspect, the KFLBP operator may be applied on the magnitude of Gabor response to generate the fuzzy-based local Gabor patterns as follows:
where pr
In particular, the outputs of each operator are combined together to form the final fuzzy-based local Gabor patterns. In one embodiment, values of K=2 and pr1=pr2=4 are used. In the example embodiment, in S411, two KFLBP operators at two different radii r1 and r2 are as follows:
For each filtered response, a binary value KFLGBPv,μn is calculated as follows:
KFLGBPv,μn=KFLBP(Magv,μ(pc),Magv,μ(pn))
where Magv,μ(pn) denotes the magnitude of Gabor response with scale v and orientation μ, and pn is the nth neighbor pixel.
In S413, the outputs of each operator are combined together to form the final Fuzzy-based local Gabor patterns, for each filtered response at scale v and orientation μ as follows:
where pc denotes the central pixel, p is the number of neighbor pixels around pc.
Based on the defined KFLGBP patterns, in S415, one pattern histogram is calculated from each Gabor filter response and then, in S417, all histograms under all scales and orientations (e.g., 40 combinations in our setup) are finally concatenated into a histogram containing the KFLGBP descriptors of the GE1 gait image, as extracted feature vectors.
In S419, in one embodiment the extracted feature vectors are used as input to a support vector machine to build a classification model. The resulting model may be used to predict the identity of a moving person in videos. In alternative embodiments, other machine learning algorithms, such as neural networks and Hidden Markov model may be trained as a classifier.
ExamplesThe CASIA B gait database was used to carry out all experiments. See Yu, S., Tan, D., Tan, T.: A framework for evaluating the effect of view angle, clothing and carrying condition on gait recognition. In: Proc. 18th International Conference on Pattern Recognition (ICPR). Volume 4. (2006) 441-444, incorporated herein by reference in its entirety. It includes 13,640 gait sequences samples among 124 subjects (93 males and 31 females). During the dataset collection, the creators have used 11 cameras to record sequences from 11 different viewing angles. Each subject has 110 video sequences generated from walking 10 times through a straight line of concrete ground as follows: 6 for normal walking, 2 while wearing a coat, and 2 while carrying a bag. Thus, the database contains 110×124=13,640 total sequences for all subjects. Aa setup was used similar to that of the authors of CASIA B database. One gallery set of normal walking of all subjects is used to train the SVM model and the three sets under different covariates are used as the probe sets: Probe Set A where subjects are normally walking, Probe Set B where subjects are carrying bags, and Probe Set C where subjects are wearing coats.
The correct classification rate (CCR) represents the performance at rank-1, which indicates that the probe sample is matching with the only one returned candidate. Eq. 18 represents the CCR percentage:
where sc is the number of correctly identified subjects; sr is the total number of tested subjects. The closed-set identification strategy was adapted which guarantees the existence of the unknown subject within the database gallery.
The performance of the proposed KFLGBP was analyzed on different walking covariates in the database in terms of CCR. The performance was compared with several other gait recognition methods. Some methods have been applied on silhouette images in the original papers but they have been reimplemented and applied on GEI images such as pyramid of Histogram of Gradient (pHOG). See Yang, G Yin, Y Park, J., Man, H.: Human gait recognition by pyramid of HOG feature on silhouette images. Proc. SPIE Optical Pattern Recognition 8748 (2013) 87480J-87480J-6, incorporated herein by reference in its entirety. Tables 1 to 3 report the experimental results on CASIA B using CCR measure under normal walking, walking with bags, and walking with coats covariates, respectively. Comparing to several other methods, KFLGBP is mostly outperforming them under various viewing angles. It is obvious from the reported results that normal walking covariate achieves the best results over carrying-bag and wearing-coat covariates. This can be attributed to the level of deformation caused by the coat or the bag which cause difficulties in capturing the basic discriminative features originated from the normal walking. The performance under carrying bag is moderate because the bag is occupying a region in the middle of the human body causing deformity for that part of body during walking. However, coat causes the largest amount of deformity to the human body. Consequently, wearing a coat covariate is the most difficult scenario to discover and extract representative features for all tested methods.
Claims
1-10. (canceled)
11. A gait recognition system comprising:
- a computer having one or more processors, and
- a video imaging system configured to capture a video sequence of a walking subject;
- wherein the one or more processors executing a program to perform steps comprising:
- determining a set of feature vectors from the video sequence of the walking subject;
- training the classification model with the set of feature vectors; and
- classifying a new video sequence in order to recognize the walking subject,
- wherein the determining the set of feature vectors comprises:
- inputting to the computer system a video sequence of the walking subject;
- determining an average image of images of the video sequence for a cycle;
- filtering the averaged image to obtain N filtered responses, N is a natural number greater than one;
- determining the magnitudes of the filtered responses for a center pixel pc and a selected plurality of neighbor pixels having a radius r;
- for each filtered response, determining for each of K different radiuses from the center pixel pc a plurality of fuzzy-based local patterns based on the magnitudes of the filtered responses, including applying a kernel fuzzy local binary pattern operator that sums magnitude differences of the filtered response for selected pixels at a respective same radius r from the center pixel pc, to generate the plurality of fuzzy-based local patterns for each of the respective K different radiuses, K is a natural number greater than one;
- for each filtered response, summing the fuzzy-based local patterns for each of the respective kernel fuzzy local binary pattern operators to form a histogram for a respective filtered response;
- forming feature vectors based on the histograms of the N filtered responses.
12. (canceled)
13. The system of claim 11, wherein the cycle is determined as the distance between each pair of consecutive peaks,
- wherein peak locations are located by performing autocorrelation over a sequence of binary silhouettes calculated from the video sequence.
14. The system of claim 11, wherein the filtering is performed by convoluting the averaged image and a Gabor filter to obtain one or more Gabor-based gait representations.
15. (canceled)
16. The system of claim 11, wherein the forming feature vectors comprises:
- combining the fuzzy-based local patterns for each filtered response;
- for each filtered response, determining a pattern histogram from the combined patterns; and
- concatenating the histograms into a histogram containing the feature vectors.
17-20. (canceled)
Type: Application
Filed: Aug 16, 2019
Publication Date: Dec 5, 2019
Patent Grant number: 10853633
Applicant: KING FAHD UNIVERSITY OF PETROLEUM AND MINERALS (Dhahran)
Inventors: Amer Ghazi Abdullah Binsaadoon (Dhahran), El-Sayed M. El-Alfy (Dhahran)
Application Number: 16/542,351