|
1.IntroductionKernel-based tracking (KBT), which is also called “mean-shift” tracking, has attracted more and more attention because of its speediness and simplicity.1 Generally, a visual target is tracked by extracting some kinds of target’s feature, which can be called a template in the first frame, and then finding the image region that matches the template as closely as possible in remaining frames. One of the most critical challenges in creating a robust tracker is how to update the template. In KBT, the target’s model can be regarded as tracking template and tracking window’s scale is the only parameter. However, in traditional KBT, the target model is not updated during the whole tracking period, which leads to poor localization when the object changes its scale or appearance. Thus, the template updating problem of KBT includes two aspects: target-scale update and target-model update. There is a simple solution to periodically update the target model according to a constant threshold on the similarity metric used in tracking. The model can be updated if the correlation of the model with the target is higher than a predefined threshold. However, using this simple solution always leads to tracking failure. Because each time the target model is updated, small errors are introduced in the location of the template. With each update, these errors accumulate and the tracking region steadily drifts away from the object. To deal with template-updating problem of KBT, some more effective updating methods have been proposed. The technique of “tracking through scale space” is proposed in Ref. 2. The method uses Lindeberg’s theory to select the best scale of tracking window. In Ref. 3, the multiple kernels–tracking method is proposed, and the dimensionality of the measurement space can be increased by using multiple kernels. In Ref. 4, the target model can be updated according to the distributions of the target intensity and the local standard deviation measures. In Ref. 5, the mean shift is modified to deal with dynamically changing color probability distributions derived from video frame sequences. The modified algorithm is called the continuously adaptive mean shift (CAMSHIFT). In CAMSHIFT, the continuous adaptive distribution image can be directly used to track the human face. However, compared to CAMSHIFT, KBT is more robust than CAMSHIFT in much other application, because the KBT uses a more static kernel histogram as the target model. If the CAMSHIFT and KBT are regarded as two extreme conditions of mean shift, then the proposed tracking algorithm tries to get a balance between the stability of KBT and adaptability of CAMSHIFT for creating a more robust tracker. In KBT, both the target model and target candidate are characterized by a kernel-based histogram vector. This vector is a kind of image-probability distribution by weighting the histogram with a simple monotonically decreasing kernel profile. A kernel-based histogram can be denoted as follows: where are the pixel locations of the target, Kernel is a spatially weighting function centered at . The is the Kronecker delta function, is a binning function that maps the color of into a histogram bin with , and is a normalization term which makes . The initial center of the target is denoted as . Similarly, the tracking features, called the “candidate model,” can be denoted as follows:where , and the center of candidate region in sequent frame is denoted as .Originally, KBT is derived from second-order Taylor expansion of Bhattacharyya coefficient, which is defined as follows: The Bhattacharyya coefficient is a popular likelihood between two vectors. And the kernel-based method realizes target model tracking through maximizing the Bhattacharyya coefficient, as inThe KBT algorithm outputs the , which determines the displacement of the object, the is also called the “mean shift” vector, which can be computed using the following formulas, iteratively:whereFor finding the proper in 4, an iterated computation is needed by computing the using 6 and deriving using 5. The Bhattacharyya coefficient is computed after the algorithm completion to evaluate the similarity between the target model and the chosen candidate model. Continuously Adaptive DistributionThe primary difference between CAMSHIFT and mean shift is that CAMSHIFT uses a continuously adaptive probability distribution, which means the kernel-based histogram is recomputed for each frame. In KBT, the candidate model can also be recomputed and used to create the probability distribution image; thus, the candidate model can be regarded as a continuously adaptive distribution in this letter. And then, the target’s probability distribution image can be created by histogram backprojection (HBP), which replaces the pixel values of the input image with the value of the corresponding bin of the histogram. Thus, if the candidate model can keep proper coherence with the target model in the tracking process, the target can be enhanced by HBP. In order to provide the range of probability values between 0 and 255, the histogram bin values are rescaled as follows: According to 7, the histogram bin are rescaled from to the new range [0, 255].Zeroth Moment of HBP ImageIn CAMSHIFT, the scale of tracking window is determined by zeroth moment. After HBP, given is the intensity of HBP image at within the tracking window. The zeroth moment is computed as follows: And the tracking window’s scale can be determined as follows: where is the scale proportion of tracking window’s scale to target’s scale. The is the proportion of to . Because the size of the search window is rounded up to the current or next-greatest odd number, in practice, the tracking window is set larger than the target. In this paper, .Visual Tracking with Continuous Adaptive DistributionThe proposed algorithm can be divided into three phases. First, estimate the tracked target’s position using the KBT algorithm. Second, determine the tracking window’s scale using the zeroth moment, which is computed by CAMSHIFT. Third, update tracking window’s scale and target model. The proposed algorithm is illustrated by Fig. 1. As Fig. 1 shows, the target region is denoted as and corresponding target model is denoted as . The target’s template information can be completely included in and . After KBT is executed, the tracking window is moved to the candidate region, which is denoted as . In the candidate region, candidate model is denoted as . On the basis of and , a probability distribution image can be created, and then the CAMSHIFT can be executed to get the target’s new scale information . In the end, , , and are used to update the template. Here, we give the proposed algorithm in detail. After the initial stage, the tracking starts from the frame as follows: Input: the target’s initial center position ; scale in the previous frame. Step 1: Determine tracking region: . Step 2: Compute mean-shift vector using 5, 6. Update candidate region: . Extract new candidate model using 2 in . Step 3: Transform by Histogram-Projection according to 7 and . Step 4: Compute the using 8 iteratively until CAMSHIFT converges. Step 5: Compute tracking window scale using 9, 10. Step 6: According to 3, compute with new scale: . Output: If Else End. In the proposed algorithm, except for using the target’s kernel histogram as the tracking feature, the target’s continuously probability distribution image is also used. The zeroth moment of the HBP image is used to estimate the target scale based on CAMSHIFT. However, differences are that the target’s position is computed by KBT in the tracking phase and the Bhattacharyya coefficient is used as an updating indicator and weighting factor in the updating phase. As the updating phase shows the target model has become a dynamic distribution that is adaptive to likelihood between current and previous distributions. ResultsIn the test video sequence, the target’s scale and appearance are changed constantly in a dynamic clutter background. As Figs. 2, 2, 2 show, traditional KBT can not fit the target’s varying scale in tracking process. Figures 2, 2, 2 show that the tracking performance of CAMSHIFT is also inefficient. Because of the clutter background, CAMSHIFT always gets a tracking window that is too large. The tracking results of the proposed algorithm are shown in the Figs. 2, 2, 2; the tracking window’s scale can be properly updated and the target can be discriminated from a clutter background effectively. In Fig. 3, the similarity between target model and candidate model is also illustrated. Comparing to traditional KBT, the proposed algorithm can keep better coherence with the tracking template, which means the target model has been updated properly. Conclusion and DiscussionThere are two major contributions in this letter. First, a new scale updating method is proposed. By using target’s continuously adaptive distributions image, the proposed algorithm can update the tracking window’s scale. Second, by integrating the continuous updating method into KBT, the target model can also be updated within the framework of mean shift. Experiments show the proposed method can keep the tracking target even when the target scale and appearance are changed constantly in a clutter background. On the basis of the proposed algorithm, further extensions and improvements could be made by combining multiple color or texture spaces. AcknowledgmentThis work was supported by the National Natural Science Foundation of China (Grant No. 60775022). ReferencesD. Comaniciu, V. Ramesh, and P. Meer,
“Kernel-based object tracking,”
IEEE Trans. Pattern Anal. Mach. Intell., 25 564
–577
(2003). https://doi.org/10.1109/TPAMI.2003.1195991 0162-8828 Google Scholar
R. Collins,
“Mean-shift blob tracking through scale space,”
234
–240
(2003). https://doi.org/10.1109/CVPR.2003.1211475 Google Scholar
G. D. Hager, M. Dewan, and C. V. Stewart,
“Multiple kernel tracking with SSD,”
790
–797
(2004). https://doi.org/10.1109/CVPR.2004.1315112 Google Scholar
Y. Alper, S. Khurram, and S. Mubarak,
“Target tracking in airborne forward looking infrared imagery,”
Image Vis. Comput., 21 623
–635
(2003). https://doi.org/10.1016/S0262-8856(03)00059-3 0262-8856 Google Scholar
G. R. Bradski,
“Computer vision face tracking as a component of a perceptual user interface,”
214
–219
(1998). Google Scholar
|