Modelling and Simulation in Engineering

Volume 2016, Article ID 2592368, 8 pages

http://dx.doi.org/10.1155/2016/2592368

## An Adaptive Object Tracking Using Kalman Filter and Probability Product Kernel

Faculty of Sciences Rabat GSCM-LRIT Laboratory Associate Unit to CNRST (URAC 29), Mohammed V University, BP 1014, Rabat, Morocco

Received 13 September 2015; Revised 14 January 2016; Accepted 16 February 2016

Academic Editor: Aiguo Song

Copyright © 2016 Hamd Ait Abdelali et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We present a new method for object tracking; we use an efficient local search scheme based on the Kalman filter and the probability product kernel (KFPPK) to find the image region with a histogram most similar to the histogram of the tracked target. Experimental results verify the effectiveness of this proposed system.

#### 1. Introduction

Real time object tracking is one of the most active research areas in computer vision. The goal of object tracking is to estimate the locations and motion parameters of the target in a video sequence given the initialized position in the first frame. Research in tracking plays a key role in understanding motion and structure of objects. It finds numerous applications including surveillance [1], human-computer interaction [2], traffic pattern analysis [3], recognition [4], and medical image processing [5], to name a few. Although object tracking has been studied for several decades and numerous tracking algorithms have been proposed for different tasks, it remains to be a very challenging problem. One of the most challenging factors in object tracking is to account for appearance variation of the target object caused by change of illumination, deformation, and pose. In addition, occlusion, motion blur, and camera view angle also pose significant difficulties for algorithms to track target objects. Furthermore, there exists no single tracking method that can be successfully applied to all tasks and situations.

In this paper we present a new method for real time tracking of complex nonrigid objects. This new method successfully coped with camera motion, partial occlusions, and target scale variations. The scale/shape of the object is approximated by an ellipse and its appearance by histogram-based features derived from local image properties. We use an efficient search scheme (Kalman filter [6, 7], using the probability product kernels [8–11] and integral image [12] as a similarity measure) to find the image region with a histogram most similar to the target of the object tracker. In this work, we address the problem of scale/shape adaptation and orientation changes of the target. The proposed approach (KFPPK) is compared with MKF [13]. In [13] the authors build a color histogram-based visual representation regularized by a spatially smooth isotropic kernel. Using the Bhattacharyya kernel [8] as the similarity measure, a mean shift procedure is performed for object localization by finding the basin of attraction of the local maxima. However, the tracker MKF only considers color information and therefore ignores other useful information such as target scale variations, resulting in the sensitivity to background clutters and occlusions. Extensive experiments are performed to testify the proposed method and validate its robustness and effectiveness to track the scale and orientation changes of the target in real time.

The rest of the paper is organized as follows: Section 2 presents the probability product kernels. Section 3 introduces basic Kalman filter for object tracking. Section 4 presents scale estimation. Section 5 presents the proposed approach and Section 6 the experiment result. Section 7 concludes the paper.

#### 2. Probability Product Kernel

In this paper we define a class of kernels on the space of normalized discrete distributions over some index set . Specifically, we define the general probability product kernel [8, 9] between distributions and as where is a parameter and and are probability distributions defined on the space , since, for any , the Gram matrix consisting of elements is positive semidefinite: for . Different values correspond to different types of probability product kernels. For , we have

We call this the probability product kernels defined by . We denote the histogram of target of object tracking as and the number of pixels inside as , which is also equal to the sum over bins Let be the normalized version of given by , so we can consider as a discrete distribution, with . Let be the normalized histogram obtained in the frames of the video sequence. For the -bin of , its value is obtained by counting the pixels that are mapped to the index : where is the Kronecker delta with if and otherwise. The mapping function maps a pixel to its corresponding bin index. The computation of the probability product kernels can be expressed as

Therefore, the computation of the probability product kernels can be done by taking the sum of values within target . The output of the following algorithm is a support map using integral image to compute the similarity measure between target and candidate region from each frame of the video sequence.

#### 3. Kalman Filter

The Kalman filter has many uses, including applications in control [14], navigation [15], and computer vision. One important field of computer vision is the object tracking. Different movement conditions and occlusions can hinder the vision tracking of an object. In this paper, we present the use of the Kalman filter in the object tracking. We considered using the capacity of the Kalman filter to allow small occlusions and complex movements of objects [16]. Furthermore, the Kalman filter is a framework for predicting a process state and using measurements to correct or “update” these predictions.

##### 3.1. State Prediction

For each time step , a Kalman filter first makes a prediction of the state at this time step: where is a vector representing process state at time and is a process transition matrix. The Kalman filter concludes the state prediction steps by projecting estimate error covariance forward one time step: where is a matrix representing error covariance in the state prediction at time and is the process noise covariance (or the uncertainty in our model of the process).

##### 3.2. State Correction

After predicting the state (and its error covariance) at time using the state prediction steps, the Kalman filter next uses measurements to “correct” its prediction during the measurement update steps.

First, the Kalman filter computes a Kalman gain , which is later used to correct the state estimate : where is measurement noise covariance. Determining for a set of measurements is often difficult. In our contribution we calculated dynamically from the measurement algorithms state.

Using Kalman gain and measurements from time step , we can update the state estimate: Conventionally, the measurements are often derived from sensors. In our approach, measurements are instead the output of the tracking algorithm given the same input: one frame of a streaming video and the most likely and coordinates of the target object in this frame (taking the first two dimensions of ).

The final step of the Kalman filter iteration is to update the error covariance into : The updated error covariance will be significantly decreased if the measurements are accurate (some entries in are low) or only slightly decreased if the measurements are noisy (all of is high).

#### 4. Target Model Update

A target is represented by an ellipsoidal region in the image in order to eliminate the influence of different target dimensions [13]. We will denote a dataset of independent samples by . Let us assume that the probability density function Gaussian is a good generative model for our data [17]. Gaussian density function is proposed to automatically determine the number of density functions and their associated parameters, including the pixel locations , covariance , and location of the target . The advantages of using the covariance matrix representation are as follows:(i)It is robust to illumination changes, occlusion, and shape deformations.(ii)It can capture the intrinsic self-correlation properties of object appearance.(iii)It is low dimensional. Those advantages lead to the computational efficiency:

We represent an object by modeling the spatial-color joint probability distribution of the corresponding region with a Gaussian density function. We define : to be the function that assigns a color value of the pixel at location . We employ the normalized RGB color space as the color feature in our case; we have used a normalized RGB histogram to provide some robustness to illumination change. We can write the features of spatial position and the color as where is the Kronecker delta function. We use the Gaussian kernel to rely more on the pixels in the middle of the object and to assign smaller weights to the less reliable pixels at the borders of the objects. We use only the pixels from a finite neighborhood of the kernel and the pixels further.

The color histogram that describes the appearance of the region is and the value of the -bins is calculated by

The weights of the value of -bins in object are calculated by

The new distribution of color histogram is calculated by

The covariance matrix update can be used to approximate the new shape of the object and it is calculated byand we should use . The correct value for depends on the noise that is present in the image sequence.

#### 5. Proposed Approach

To ensure good organization of the progress of the work, we used the benefits of modular design in our implemented approach using MATLAB. The goal of object tracking is to generate the trajectory of an object over time by discovering its exact position in every frame of the video sequence. The steps of the object tracking system are shown in Figure 1.