Open Access
1 September 2011 Particle probability hypothesis density filtering for multitarget visual tracking with robust state extraction
Jingjing Wu, Shiqiang Hu, Yang Wang
Author Affiliations +
Abstract
Particle probability hypothesis density (PHD) filter-based visual trackers have achieved considerable success in the visual tracking field. But position measurements based on detection may not have enough ability to discriminate an object from clutter, and accurate state extraction cannot be obtained in the original PHD filtering framework, especially when targets can appear, disappear, merge, or split at any time. To meet the limitations, the proposed algorithm combines a color histogram of a target and the temporal dynamics in a unifying framework and a Gaussian mixture model clustering method for efficient state extraction is designed. The proposed tracker can improve the accuracy of state estimation in tracking a variable number of objects.

1.

Introduction

Probability hypothesis density (PHD) filter-based1 trackers have enjoyed growing popularity in recent years, particularly in the field of nonlinear non-Gaussian multitarget visual tracking. The original PHD filter-based visual tracker usually uses outputs of detectors, such as a motion detector to establish the observation model, whose efficiency relies on the accuracy of the detection.2 In addition, due to the potential nonlinearity and non-Gaussianity of target models in most visual trackers, a particle PHD filter3 is used to implement the PHD recursion. However, the intersections of multiple targets like occlusion and clutter often lead to the complex multimodality distribution of the resampled particles, which obviously increase the complexity of state extraction. The classical k-means clustering algorithm may present serious degradation in state extraction performance.

In this paper, to avoid inaccurate detection generating estimation errors in the original PHD filter-based visual tracker,2 color histogram with position constraints4 is incorporated into the PHD filtering framework, which combines the appearance model of the target with its temporal dynamics in a unifying framework. Moreover, to obtain more accurate state estimates, a new state extraction method based on Gaussian mixture model (GMM) clustering is proposed. Hence, a robust visual tracking framework is obtained.

The multitarget visual tracking problem can be formulated as multitarget Bayes filter in a random finite set (RFS) framework by propagating the multiple-target posterior in time. The particle PHD filter3 is a sequential Monte Carlo implementation for the multitarget Bayes filter, which approximates the PHD with a set of random samples (weighted particles). The particle PHD filter involves prediction and update steps. Let posterior PHD at time k − 1 be approximated by [TeX:] $\{ w_{k - 1}^{(i)},x_{k - 1}^{(i)} \} _{i = 1}^{L_{k - 1} }$ {wk1(i),xk1(i)}i=1Lk1 of Lk − 1 particles and their corresponding weights. The predicted PHD vk|k − 1(xk) can be approximated by [TeX:] $\{ \tilde w_{k|k - 1}^{(i)},\tilde x_k^{(i)} \} _{i = 1}^{L_{k - 1} + J_k }$ {w̃k|k1(i),x̃k(i)}i=1Lk1+Jk after applying importance sampling below

Eq. 1

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} v_{k|k - 1} (x_k) = \sum\limits_{i = 1}^{L_{k - 1} + J_k } {\tilde w_{k|k - 1}^{(i)} \delta _{\tilde x_k^{(i)} } } (x_k), \end{equation}\end{document} vk|k1(xk)=i=1Lk1+Jkw̃k|k1(i)δx̃k(i)(xk),
where

Eq. 2

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{eqnarray} \displaystyle\tilde w_{_{k|k - 1} }^{(i)} = \! \left\{ {\begin{array}{*{20}c} {\displaystyle\frac{{\phi _{k|k - 1} \big(\tilde x_k^{(i)},x_{k - 1}^{(i)} \big)w_{k - 1}^{(i)} }}{{q_k \big(\tilde x_k^{(i)} |x_{k - 1}^{(i)},Z_k \big)}},} & {i = 1, \cdots,L_{k - 1} } \\ [-4pt] \\ {\displaystyle\frac{{\gamma _k \big(\tilde x_k^{(i)}\big)}}{{J_k p_k \big(\tilde x_k^{(i)} |Z_k \big)}}{\rm,}} & \!\!\!\!\!\!{i \!=\! L_{k - 1} \!+ \! 1, \cdots,L_{k - 1} \!+ \! J_k } \\ \end{array}} \right.\!\!\!.\hspace{-10pt}\nonumber\\ \end{eqnarray}\end{document} w̃k|k1(i)=φk|k1x̃k(i),xk1(i)wk1(i)qkx̃k(i)|xk1(i),Zk,i=1,,Lk1γkx̃k(i)Jkpkx̃k(i)|Zk,i=Lk1+1,,Lk1+Jk.
Here, [TeX:] $q_k ( \cdot |x_{k - 1}^{(i)},Z_k)$ qk(·|xk1(i),Zk) and pk( · |Zk) are the importance functions for targets at time k − 1 and new targets at time k, ϕk|k − 1( ·, ·) denotes the intensity of survived and spawned targets from time k − 1, and γk( · ) is the intensity of new target birth RFS. Once the observation likelihood [TeX:] $p(z_k |\tilde x_k^{(i)})$ p(zk|x̃k(i)) is obtained, the weights in Eq. 2 are updated by

Eq. 3

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} \tilde w_k^{(i)} = \left[ {P_M (\tilde x^{(i)}) + \sum\limits_{z_k \in Z_k } {\frac{{P_D \big(\tilde x_k^{(i)} \big) P \big(z_k |\tilde x_k^{(i)} \big)}}{{\kappa _k (z) + C_k (z)}}} } \right]\tilde w_{_{k|k - 1} }^{(i)}, \end{equation}\end{document} w̃k(i)=PM(x̃(i))+zkZkPDx̃k(i)Pzk|x̃k(i)κk(z)+Ck(z)w̃k|k1(i),
where [TeX:] $P_M (\tilde x^{(i)}) = 1 - P_D (\tilde x^{(i)})$ PM(x̃(i))=1PD(x̃(i)) with [TeX:] $P_D (\tilde x^{(i)})$ PD(x̃(i)) denoting the detection probability, κk( · ) is the clutter intensity, and [TeX:] $C_k (z) \break = \sum\nolimits_{j = 1}^{L_{k - 1} + J_k } {P_D (\tilde x_k^{(j)})P_k (z_k |\tilde x_k^{(j)})w_{_{k|k - 1} }^{(j)} }$ Ck(z)=j=1Lk1+JkPD(x̃k(j))Pk(zk|x̃k(j))wk|k1(j) .

2.

Tracking Model

In the proposed tracker, the target candidate in an image is approximated with a w × h rectangle. Let the state of a target at time k be [TeX:] $x_k = (p_{x,k},\dot p_{x,k},p_{y,k},\dot p_{y,k},w,h)^T$ xk=(px,k,ṗx,k,py,k,ṗy,k,w,h)T with the centriod pk = (px, k, py, k) and the target speed. Assume that each target follows a linear Gaussian constant velocity model, i.e.,

Eq. 4

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} x_k = {\bf F}x_{k - 1} + v_k, \end{equation}\end{document} xk=Fxk1+vk,
where F is the state, transition matrix and vk is the zero-mean Gaussian white process noise.

To incorporate the appearance model into the tracking framework, we design the observation model by a color histogram.4 Let [TeX:] $\{ {\bf s}_i \} _{{i}= 1 \cdots {n _{h }}}$ {si}i=1nh be the pixel locations of the target centered at pk = (px, k, py, k), and the window radius be h = (w, h). Define a function [TeX:] ${\mathop{\rm b}\nolimits}:R^2 \to \{ 1 \cdots m\}$ b:R2{1m} associating the pixel at location si to the index [TeX:] ${\mathop{\rm b}\nolimits} ({\bf s}_i)$ b(si) of the histogram bin corresponding to the color of that pixel. The color histogram of a target candidate [TeX:] ${\bf \hat q}({\bf p}_k)$ q̂(pk) and the probability of the feature u = 1, ⋅⋅⋅, m are defined by Eqs. 5, 6,

Eq. 5

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} {\bf \hat q}({\bf p}_k) = \{ \hat q^{(u)} ({\bf p}_k)\} _{u = 1, \cdots,m},\sum\limits_{u = 1}^m {\hat q^{(u)} ({\bf p}_k)} = 1, \end{equation}\end{document} q̂(pk)={q̂(u)(pk)}u=1,,m,u=1mq̂(u)(pk)=1,

Eq. 6

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} \hat q^{(u)} ({\bf p}_k) = C_h \sum\limits_{i = 1}^{n_h } {\mathop{\rm k}\nolimits} \left(\left\| {\frac{{{\bf p}_k - {\bf s}_i }}{{\bf h}}} \right\|\right)\delta [{\mathop{b}\nolimits} ({\bf s}_i) - u], \end{equation}\end{document} q̂(u)(pk)=Chi=1nhkpksihδ[b(si)u],
where u denotes the color histogram bins, k is a spatially weighting function and Ch is a normalization term. Similarly, the reference target model can be represented by [TeX:] ${\bf \hat q}_c \break = \{ \hat q_c^{(u)} \} _{u = 1, \cdots,m}$ q̂c={q̂c(u)}u=1,,m . Then the observation likelihood is defined by the similarity between a target candidate [TeX:] ${\bf \hat q}({\bf p}_k)$ q̂(pk) and the reference target model [TeX:] ${\bf \hat q}_c $ q̂c , i.e.,

Eq. 7

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} p(z_k |x_k) = \frac{1}{{\sqrt {2\pi } \sigma _c }}\exp \left\{ { - \frac{{d^2 ({\bf \hat q}({\bf p}_k),{\bf \hat q}_c)}}{{2\sigma _c^2 }}} \right\}, \end{equation}\end{document} p(zk|xk)=12πσcexpd2(q̂(pk),q̂c)2σc2,
where [TeX:] $d({\bf \hat q}({\bf p}_k),{\bf \hat q}_c) = \sqrt {1 - \rho [{\bf \hat q}({\bf p}_k),{\bf \hat q}_c]} $ d(q̂(pk),q̂c)=1ρ[q̂(pk),q̂c] is the similarity computed by Bhattacharyya coefficient [TeX:] $\rho [{\bf \hat q}({\bf p}_k),{\bf \hat q}_c] \break = \sum\nolimits_{u = 1}^m {\hat q^{(u)} ({\bf p}_k)\hat q_c^{(u)} } $ ρ[q̂(pk),q̂c]=u=1mq̂(u)(pk)q̂c(u) , and σc is the standard deviation of noise which is determined experimentally.

3.

GMM Clustering

In the particle PHD filter, a clustering algorithm is required to detect the peaks of the PHD defining candidate states of targets from the resampled particles. We propose a GMM clustering method for state extraction. First, GMM is used to fit the underlying distribution of a resampled particle xk as

Eq. 8

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} S_k (x_k |\Theta _k) = \sum\limits_{l = 1}^{G_k } {\pi _k^l } {\cal N} \big(x_k |\mu _k^l,\Sigma _k^l \big){\rm with }\sum\limits_{l = 1}^{G_k } {\pi _k^l = 1}, \end{equation}\end{document} Sk(xk|Θk)=l=1GkπklNxk|μkl,Σkl with l=1Gkπkl=1,
where Gk is the number of Gaussian components, and [TeX:] $\Theta _k = \{ \pi _k^l,\mu _k^l,\Sigma _k^l \}$ Θk={πkl,μkl,Σkl} with weight, mean, and covariance is the parameter set of a Gaussian item. Assume that the state vectors of all particles are independent, the resulting density for the resampled particles [TeX:] $\tilde X_k = \{ w_k^{(i)},x_k^{(i)} \} _{i = 1}^{L_k }$ X̃k={wk(i),xk(i)}i=1Lk is

Eq. 9

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{eqnarray} S_k (\tilde X_k |\Theta _k) = \prod\limits_{i = 1}^{L_k } {S_k \big(x_k^{(i)} |\Theta _k \big)} = \prod\limits_{i = 1}^{L_k } {\sum\limits_{l = 1}^{G_k } {\pi _k^l } {\cal N} \big(x_k^{(i)} |\mu _k^l,\Sigma _k^l \big)}.\nonumber\\ \end{eqnarray}\end{document} Sk(X̃k|Θk)=i=1LkSkxk(i)|Θk=i=1Lkl=1GkπklNxk(i)|μkl,Σkl.
Then the maximum-likelihood estimate of the parameters [TeX:] $\hat \Theta _k = \{ \hat \pi _k^l,\hat \mu _k^l,\hat \Sigma _k^l \} _{l = 1}^{\hat L_k } = \mathop {\arg \max }\limits_{\Theta _k } S_k (\tilde X_k |\Theta _k)$ Θ̂k={π̂kl,μ̂kl,Σ̂kl}l=1L̂k=argmaxΘkSk(X̃k|Θk) can be computed by the expectation maximum (EM) algorithm, where each Gaussian component [TeX:] $\hat \Theta _k^{(l)} \in \hat \Theta _k$ Θ̂k(l)Θ̂k indicates a cluster of particles, the target number estimate is [TeX:] $\hat L_k$ L̂k and [TeX:] $\{ \hat \mu _k^l \} _{l = 1}^{\hat L_k }$ {μ̂kl}l=1L̂k are state estimates. Since EM requires a known component number of the mixture density, a component management procedure is proposed to estimate initial clusters for EM from cluster set [TeX:] $\hat \Theta _{k - 1}$ Θ̂k1 at previous time k − 1 and new clusters generated by position observations at time k. The detailed algorithm is presented in Sec. 4.

4.

Particle PHD Filter-Based Visual Tracker with Robust State Extraction

When tracking starts, the target's initial state RFS is input into the proposed algorithm and extract reference models of targets using Eq. 5 at time k = 0. Then the tracking starts from time k ⩾ 1 as follows.

  1. Prediction: according to Eq. 1, draw particles [TeX:] $\tilde x_k$ x̃k and compute the predicted weights [TeX:] $\{ \tilde w_{_{k|k - 1} }^{(i)} \} _{i = 1}^{L_{k - 1} + J_k }$ {w̃k|k1(i)}i=1Lk1+Jk .

  2. Compute the observation likelihood: for i = 1, ⋅⋅⋅, Lk − 1 + Jk, compute [TeX:] $p(z_k |\tilde x_k^{(i)})$ p(zk|x̃k(i)) using Eq. 7.

  3. Update: update the weights [TeX:] $\{ \tilde w_{_{k|k - 1} }^{(i)} \} _{i = 1}^{L_{k - 1} + J_k }$ {w̃k|k1(i)}i=1Lk1+Jk using [TeX:] $p(z_k |\tilde x_k^{(i)})$ p(zk|x̃k(i)) according to Eq. 3.

  4. Resampling: resample the updated particles to get [TeX:] $\{ w_k^{(i)},x_k^{(i)} \} _{i = 1}^{L_k }$ {wk(i),xk(i)}i=1Lk using multinomial resampling algorithm.

  5. GMM clustering: cluster the resampled particles [TeX:] $\{ w_k^{(i)},x_k^{(i)} \} _{i = 1}^{L_k }$ {wk(i),xk(i)}i=1Lk using the proposed GMM clustering method.

    Step 1: generate observations (positions) Zk of candidate targets by detectors like background subtraction.

    Step 2: ∀  each  observation  zZk, associate z to [TeX:] $\hat \Theta _{k - 1}$ Θ̂k1 by the nearest neighborhood algorithm, discard z if it can be associated to an old cluster, otherwise add it to θk. Then ∀ each  remained  observation  c ∈ θk, initialize a new cluster [TeX:] $\{ {{1 / {\hat N_{k|k} }},[c,0,0],\sum {(c)} } \}$ {1/N̂k|k,[c,0,0],(c)} and add it to new cluster set Θ′.

    Step 3: augment [TeX:] $\hat \Theta _{k - 1}$ Θ̂k1 with Θ′, and update their parameters using EM algorithm on [TeX:] $\{ w_k^{(i)},x_k^{(i)} \} _{i = 1}^{L_k }$ {wk(i),xk(i)}i=1Lk to obtain [TeX:] $\tilde \Theta _k$ Θ̃k .

    Step 4: remove the small clusters in [TeX:] $\tilde \Theta _k$ Θ̃k with [TeX:] $\tilde \pi _k \break < 0.2$ π̃k<0.2 , where 0.2 is set experimentally and merge similar clusters using pruning method in Ref. 5 to obtain [TeX:] $\hat \Theta _k$ Θ̂k .

  6. State output: extract [TeX:] $\hat X_k = \{ {\hat u_{k,i} |\hat \pi _{k,i} > 0.5}\}_{i = 1}^{N_s }$ X̂k={ûk,i|π̂k,i>0.5}i=1Ns from [TeX:] $\hat \Theta _k$ Θ̂k where 0.5 is set experimentally.

5.

Results

The pedestrian sequence from the CAVIAR data set is used as a test video. Figure 1 indicates that PHD filter-based visual trackers can deal with a variable number of targets tracking problems without data association. Figure 1 presents the detection results by a background subtraction detector. Figure 1 shows the particle PHD filter directly using detection results as measurements (denoted as DPHD) would like to generate some false state estimates due to inaccurate detection such as person detection splitting into several blobs. Figure 1 shows the particle PHD filter with observation likelihood based on color histogram and K-means clustering (denoted as KPHD) can avoid failures due to inaccurate detection but output state estimates without satisfying accuracy. Figure 1 demonstrates that more accurate state estimates can be filtered and extracted effectively by our method. Figure 1 shows an example of a slower response of the proposed tracker due to color histogram variation of the candidate target region suffering occlusion. Moreover, it can be derived that the appearance variation of targets due to illumination change and occlusion, as well as regions of background with similar color histograms to targets would mislead the tracker using color histograms only. To improve the tracker additional information is needed.

Fig. 1

Detecting and tracking results of frames 155, 280, and 330 and an example of failure modality in frames 104, 113, and 125: (a) detection results of background subtraction; (b) tracking by DPHD; (c) tracking by KPHD; (d) the proposed method; (e) an example of failures of the proposed method.

090502_1_1.jpg

The Wasserstein distance5 is introduced here to evaluate the performance of trackers. In Fig. 2, the comparison of Wasserstein distance of the three trackers is provided and it demonstrates that our tracker is the best.

Fig. 2

Comparison results of Wasserstein distance for DPHD, KPHD, and the proposed method.

090502_1_2.jpg

6.

Conclusions and Discussion

In this paper, we have presented a robust multitarget visual tracking framework based on the PHD filter which stabilizes the tracker by incorporating color histograms of targets and their temporal dynamics in a unifying framework and improving the accuracy of state extraction using the proposed GMM clustering method. Experiments show the proposed framework can effectively track a varying number of targets with more accurate state estimates. Possible topics of future work include the incorporation of brightness gradient into the appearance model for more robust observation likelihood and the development of a more efficient particle clustering method.

Acknowledgments

This paper is jointly supported by the National Natural Science Foundation of China ( 61074106) and China Aviation Science Foundation ( 2009ZC57003).

References

1. 

R. Mahler, “Multitarget filtering using a multitarget first-order moment statistic,” Proc. SPIE, 4380 184 –195 (2001). https://doi.org/10.1117/12.436947 Google Scholar

2. 

E. Maggio, M. Taj, and A. Cavallaro, “Efficient multitarget visual tracking using random finite sets,” IEEE Trans. Circuits Syst. Video Technol., 18 (8), 1016 –1027 (2008). https://doi.org/10.1109/TCSVT.2008.928221 Google Scholar

3. 

B. N. Vo, S. Singh, and A. Doucet, “Sequential Monte Carlo implementation of the PHD filter for multi-target tracking,” 792 –799 (2003). Google Scholar

4. 

D. Comaniciu, V. Ramesh, and P. Meer, “Real-time tracking of non-rigid objects using mean shift,” 142 –149 (2000). Google Scholar

5. 

B. N. Vo and W. K. Ma, “The Gaussian mixture probability hypothesis density filter,” IEEE Trans. Signal Process., 54 (11), 4091 –4104 (2006). https://doi.org/10.1109/TSP.2006.881190 Google Scholar
©(2011) Society of Photo-Optical Instrumentation Engineers (SPIE)
Jingjing Wu, Shiqiang Hu, and Yang Wang "Particle probability hypothesis density filtering for multitarget visual tracking with robust state extraction," Optical Engineering 50(9), 090502 (1 September 2011). https://doi.org/10.1117/1.3638121
Published: 1 September 2011
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Optical tracking

Particles

Electronic filtering

Expectation maximization algorithms

Detection and tracking algorithms

Particle filters

Visualization

Back to Top