Abstract
This paper addresses the problem of object tracking in video sequences. The use of a structural similarity measure for tracking is proposed. The measure reflects the distance between two images by comparing their structural and spatial characteristics and has shown to be robust to illumination and contrast changes. As a result it guarantees robustness of the tracking process under changes in the environment. The previously used Bhattacharyya distance is not robust to such changes. Additionally, when a tracker is run with the Bhattacharyya distance, histograms should be calculated in order to find the likelihood function of the measurements. With the new function there is no need to calculate histograms. A particle filter (PF) is implemented where this measure is used for computing the distance between the reference and current frame. The algorithm performance has been tested and evaluated over real-world video sequences, and has been shown to outperform methods based on colour and edge histograms.
Introduction
Object tracking in dynamic video sequences remains a significant challenge in computer vision due to environmental variability. Traditional tracking methods often rely on statistical representations, such as color histograms, and measure similarity using the Bhattacharyya distance. However, these "bag of pixels" approaches ignore the spatial arrangement of features, making them susceptible to failure under changing illumination, camera motion, or when targets move against backgrounds with similar color distributions. This research proposes a shift toward structural spatial analysis by integrating the Structural Similarity (SSIM) index into a tracking framework.
Methodology
The proposed tracker utilizes a Particle Filter (PF) to estimate the target's state, defined by its image coordinates $(x, y)$ and scale $s$. The core innovation is the replacement of histogram-based likelihoods with a structural similarity measure.
SSIM as a Likelihood Measure
Unlike traditional metrics, the SSIM index compares image patches based on three distinct factors: luminance, contrast, and structure. For tracking, the SSIM index (ranging from -1 to 1) is converted into a dissimilarity measure $D(a, b)$. This measure is then used within an exponential likelihood function to weight particles in the filter. This approach is naturally robust to uniform lighting shifts and preserves the spatial arrangement of the target without the computational overhead of histogram calculation.
Experimental Results
The algorithm was evaluated on three challenging real-world datasets: cross (occlusions and color similarity), man (camera shake and rapid zooming), and doorway_ir (low-contrast infrared).
Quantitative Performance
In the cross sequence, traditional color and edge cues frequently lost the target during occlusions. As shown in Figure 1, the error $E_{xy}$ for the SSIM cue remains significantly lower and more stable than competing methods as the frame index increases, particularly during the critical occlusion period between frames 66 and 76.
Visual Robustness and Scale Adaptation
The man sequence highlights the tracker's ability to handle rapid scale changes and camera movement. While trackers using color and edge cues often failed to adjust the bounding box correctly during zooms, the SSIM-based tracker maintained a precise lock on the target's structure. As illustrated in Figure 2, the SSIM cue (bottom row) correctly adjusts to the target's increasing size at frame 866, whereas the fused color and edge cue (middle row) loses accuracy.
Conclusion
By prioritizing spatial structure over statistical distributions, the SSIM-based particle filter demonstrates superior robustness in complex tracking scenarios. It effectively handles illumination changes, occlusions, and scale variations where traditional histogram-based methods fail. Future work will focus on achieving rotation invariance and developing adaptive methods for tuning the SSIM weighting parameters.
Summary updated