A Modified Mean Shift Algorithm for Visual Object Tracking

Similar documents
Mean Shift Tracking. CS4243 Computer Vision and Pattern Recognition. Leow Wee Kheng

Object Tracking Algorithm based on Combination of Edge and Color Information

An Adaptive Background Model for Camshift Tracking with a Moving Camera. convergence.

Project Report for EE7700

Computer Vision II Lecture 4

Target Tracking Based on Mean Shift and KALMAN Filter with Kernel Histogram Filtering

Target Tracking Using Mean-Shift And Affine Structure

Computer Vision II Lecture 4

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Nonparametric Clustering of High Dimensional Data

Mean shift based object tracking with accurate centroid estimation and adaptive Kernel bandwidth

Visual Tracking. Image Processing Laboratory Dipartimento di Matematica e Informatica Università degli studi di Catania.

Visual Tracking. Antonino Furnari. Image Processing Lab Dipartimento di Matematica e Informatica Università degli Studi di Catania

SURVEILLANCE VIDEO OBJECT TRACKING WITH DIFFERENTIAL SSIM

Object tracking in a video sequence using Mean-Shift Based Approach: An Implementation using MATLAB7

TRANSPARENT OBJECT DETECTION USING REGIONS WITH CONVOLUTIONAL NEURAL NETWORK

A Scale Adaptive Tracker Using Hybrid Color Histogram Matching Scheme

Human Action Recognition Using Silhouette Histogram

Student (M.Tech, NITK Surathkal), Mangalore, Karnataka, , 3

Content Based Image Retrieval Using Color Quantizes, EDBTC and LBP Features

A Reversible Data Hiding Scheme for BTC- Compressed Images

Video Surveillance System for Object Detection and Tracking Methods R.Aarthi, K.Kiruthikadevi

An Improved CAMShift Algorithm for Object Detection and Extraction

DESIGN AND IMPLEMENTATION OF VISUAL FEEDBACK FOR AN ACTIVE TRACKING

A Component-based Architecture for Vision-based Gesture Recognition

Implementation of Modified Mean-shift Tracking Algorithm for Occlusion Handling.

Fast Target Redetection for CAMSHIFT Using Back-Projection and Histogram Matching

Application of Geometry Rectification to Deformed Characters Recognition Liqun Wang1, a * and Honghui Fan2

Object Tracking using Modified Mean Shift Algorithm in A Robust Manner

Efficient Object Tracking Using K means and Radial Basis Function

Colour Segmentation-based Computation of Dense Optical Flow with Application to Video Object Segmentation

Steyrergasse 17, 8010 Graz, Austria. Midori-ku, Yokohama, Japan ABSTRACT 1. INTRODUCTION

Elliptical Head Tracker using Intensity Gradients and Texture Histograms

Efficient visual servoing with the ABCshift tracking algorithm

Hand-to-Target Guidance Using Multi-Object Tracking

A Fragment Based Scale Adaptive Tracker with Partial Occlusion Handling

Robust Object Tracking Algorithms using C++ and MATLAB

Real-time target tracking using a Pan and Tilt platform

An EM-like algorithm for color-histogram-based object tracking

Extracting Road Signs using the Color Information

An Adaptive Threshold LBP Algorithm for Face Recognition

Modified CAMshift Algorithm Based on HSV Color Model for Tracking Objects

HUMAN TRACKING SYSTEM

HAZE REMOVAL WITHOUT TRANSMISSION MAP REFINEMENT BASED ON DUAL DARK CHANNELS

Fast trajectory matching using small binary images

Lecture 7: Segmentation. Thursday, Sept 20

Facial Feature Points Tracking Based on AAM with Optical Flow Constrained Initialization

Including the Size of Regions in Image Segmentation by Region Based Graph

2 A Modified Mean Shift Algorithm For Efficient Document Image Restoration

Image Matching Using Run-Length Feature

Segmentation and Tracking of Partial Planar Templates

CSSE463: Image Recognition Day 21

Robert Collins CSE598G. Robert Collins CSE598G

An Object Tracking for Studio Cameras by OpenCV-based Python Program

Toward Part-based Document Image Decoding

Segmentation Computer Vision Spring 2018, Lecture 27

Color Local Texture Features Based Face Recognition

Color-Texture Segmentation of Medical Images Based on Local Contrast Information

Adaptive Feature Extraction with Haar-like Features for Visual Tracking

Player Detection and Tracking in Broadcast Tennis Video

Image retrieval based on bag of images

Low Cost Motion Capture

Part-Based Skew Estimation for Mathematical Expressions

Pattern Recognition Letters

[2006] IEEE. Reprinted, with permission, from [Wenjing Jia, Huaifeng Zhang, Xiangjian He, and Qiang Wu, A Comparison on Histogram Based Image

REAL-TIME ROBUST TRACKING VIA SPARSE REPRESENTATION: A MODE-SEEKING APPROACH. R. Venkatesh Babu

Texture Boundary Detection - A Structural Approach

A New Feature Local Binary Patterns (FLBP) Method

Learning the Three Factors of a Non-overlapping Multi-camera Network Topology

Occlusion Robust Multi-Camera Face Tracking

A Survey on Moving Object Detection and Tracking in Video Surveillance System

An Introduction to Content Based Image Retrieval

An indirect tire identification method based on a two-layered fuzzy scheme

Random spatial sampling and majority voting based image thresholding

Image Resizing Based on Gradient Vector Flow Analysis

Object Tracking System Using Motion Detection and Sound Detection

AAM Based Facial Feature Tracking with Kinect

Applying Multiple KD-Trees in High Dimensional Nearest Neighbor Searching

NIH Public Access Author Manuscript Proc Int Conf Image Proc. Author manuscript; available in PMC 2013 May 03.

Haresh D. Chande #, Zankhana H. Shah *

New Models For Real-Time Tracking Using Particle Filtering

Enhanced Active Shape Models with Global Texture Constraints for Image Analysis

Online Tracking Parameter Adaptation based on Evaluation

Introduction to behavior-recognition and object tracking

Binary Histogram in Image Classification for Retrieval Purposes

Particle Filtering. CS6240 Multimedia Analysis. Leow Wee Kheng. Department of Computer Science School of Computing National University of Singapore

QUERY REGION DETERMINATION BASED ON REGION IMPORTANCE INDEX AND RELATIVE POSITION FOR REGION-BASED IMAGE RETRIEVAL

Object Detection in Video Using Sequence Alignment and Joint Color & Texture Histogram

Medical images, segmentation and analysis

COMS W4735: Visual Interfaces To Computers. Final Project (Finger Mouse) Submitted by: Tarandeep Singh Uni: ts2379

Real Time Unattended Object Detection and Tracking Using MATLAB

I accurate and reliable navigation of vision-based IV. The main purpose of image segmentation is to separate the

Object Tracking with an Adaptive Color-Based Particle Filter

A Taguchi Approach to Parameter Setting in a Genetic Algorithm for General Job Shop Scheduling Problem

Detection and tracking of the hand in remote chess game system

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

Object detection using non-redundant local Binary Patterns

Probabilistic Index Histogram for Robust Object Tracking

One category of visual tracking. Computer Science SURJ. Michael Fischer

Curling Stone Tracking by an Algorithm Using Appearance and Colour Features

Transcription:

A Modified Mean Shift Algorithm for Visual Object Tracking Shu-Wei Chou 1, Chaur-Heh Hsieh 2, Bor-Jiunn Hwang 3, Hown-Wen Chen 4 Department of Computer and Communication Engineering, Ming-Chuan University, Taoyuan, Taiwan 1 Email: nnnn0730@hotmail.com Tel: +886-911-270-979 2 Email: hsiehch@mail.mcu.edu.tw Tel: +886-3-3507001-3441 3 Email: bjhwang@mail.mcu.edu.tw Tel: +886-3-3507001-3430 4 Email: hwenchen@ mail.mcu.edu.tw Tel: +886-3-3507001-3743 Abstract The CamShift is an adaptive version of Mean Shift algorithm. It has received wide attention as an efficient and robust method for object tracking. However, it is often distracted or interfered by the other larger objects with similar colors. This paper presents a novel tracking algorithm based on the mean shift framework. Unlike the CamShift, which uses the probability density image determined by the color feature, the proposed algorithm employs the probability density image derived from both color and shape features. Experimental results indicate the proposed algorithm improves robustness without sacrificing computational cost, as compared to the conventional CamShift algorithm. I. INTRODUCTION Object tracking is an important task in video processing and computer vision. It has wide applications such as video surveillance, human computer interaction, vehicle navigation, and intelligent transport system [1]. Several challengeable issues on the robustness of object tracking include illumination changes, occlusions, and distractions, etc. Realtime processing is a fundamental requirement in object tracking. However, robustness and processing efficiency are often conflict, and thus a compromise must be taken. Many methods have been presented to improve robustness and/or computational efficiency [2]-[6]. probability density image from color and shape features of the target to be tracked. Using this density image, we can compute the moment features and then estimate the object center based on the zeroth order moment. Experiments indicate the proposed algorithm perform better than the conventional CamShift in distraction and interference. II. THE PROPOSED TRACKING ALGORITHM The main difference between the conventional CamShift and our algorithm is the derivation of the probability density image (probability map). In the conventional CamShift, the probability density image is obtained from the color histogram of the target model. However, our method designs a dominant color filter function based on the histogram of the target image to generate the object template, which implicitly includes the shape feature of the target. The dominant color filter function is also applied to the search window to generate a dominant color map. By matching the object template with each target candidate in the dominant color map, we obtain probability map. Using the probability map, we compute the moment features and then estimate the object center and object size based on the moments. The proposed tracking algorithm is summarized in Figure 1, and the detail procedures are described step by step in the following. Among various tracking methods presented, the Mean Shift algorithm is a popular one due to its simplicity and efficiency. It is an iterative kernel-based deterministic procedure which converges to a local maximum of the measurement function [6]. Bradski [6] modified the Mean Shift and developed the Continuously Adaptive Mean Shift (CamShift) algorithm for face tracking. CamShift is an adaptive version of mean shift based on a probability density image obtained with a back projection method from the color histogram of the target. It has received wide attention recently as an efficient and robust method for object tracking. However, the conventional CamShift method still suffers from drawbacks such as distraction by similar color objects, interference of background, and occlusion. This paper presents a novel tracking algorithm based on the mean shift framework. Unlike the conventional CamShift algorithm, which uses the probability density image determined by color feature, our method calculates the Figure 1. The block diagram of the proposed tracking algorithm

Step 1 Initially, a user manually chooses a target with size w h to be tracked, which is referred to as object window. We then define a search window centered at the object window with size (s w) (s h), where the scaling factor s is set to 1.3. Step 2 Generate color histogram with N bins using the image pixels within the object window, as illustrated in Figure 2. The histogram denotes the color distribution of the object to be tracked. Generate a binary object template by applying CF to the images pixels within the object window as 1, k 1 for pixel x i, j O i, j 0, 0, 2 Note that O(i,j)=1 represents that the color of the pixel at (i,j) belongs to the defined dominant colors. The object template includes the implicit shape information of the target to be tracked, as demonstrated in Figure 4. Figure 2. Color histogram Step 3 Define M (M<N) dominant colors and then design color filter function as Figure 4. Tracking object template Step 5 Generate a dominant color map by filtering the image in the search window using CF. The operation of this step is similar to Step 4. It is noted that the output dominant color map is also binary, as shown in Figure 5. CF k 1 0 if k belongs to defined dominant color bins otherwise 1 Figure 3 demonstrates the color filter function with M=2. Step 4 Figure 3. Binary color filter function Figure 5. Dominant color map of the search window Step 6 Calculate a probability map by matching the object template with each candidate in the dominant color map. A candidate is a block with the same size as the object template, i.e., w h, taken from the dominant color map. The distance of neighboring candidates can be defined in advance. In our work, it is set to 10 for the consideration of computational efficiency. The matching between the object template O and a candidate block C is done with a simple binary comparison operation

S O, C O i, j C i, j (3) inversion of Exclusive OR The match probability map is obtained as P m, n S O,C m, n location of a candidate Figure 6 shows an example of the probability map generated, in which different colors in the target circle represent different probability values. The center of the target has the largest probability value, and the regions which are far from the center have smaller probability. Since the distance of the neighboring candidates are 10, we copy the probability of a candidate to its neighboring pixels in the range of (-5 ~ +5) in x and y directions, respectively, and construct the probability map. (4) distracted by the human face, and consequently loses track. However, Figure 7(c) indicates our algorithm can attack this drawback. The second video has 199 frames of 640 480, and the human head is the tracking target. In this scenario, a man who carries a box with color similar to tracking human face is moving from the one side to the other side. As shown in Figure 8(a)-(b), with CamShift, the search window size is affected by the box, and thus reducing tracking accuracy. Nevertheless, our algorithm keeps the same window size in the tracking process under the interference, as shown in Figure 8(c). From the experiments of the above two videos, we found that our algorithm can achieve satisfactory results with only H component. Thus we use H component only in this work for simplicity. IV. CONCLUSIONS This paper has presented a robust adaptive version of the Mean shift tracking algorithm. It derives the probability density image of a particular frame based on color and shape features. The implicit shape information of the region to be tracked is extracted with a novel dominant color filter function, which is derived from color histogram of the target to be tracked. Experimental results indicate our proposed algorithm offers better robustness than the conventional CamShift algorithm especially in distraction and interference. The robustness to occlusion and illumination change will be further investigated in the future. Figure 6. An example of probability map Step 7 Perform Mean Shift algorithm using the match probability map until convergence. Then we have the object center of the video frame. Step 8 Update search window with the object center and then repeat Step 5 to Step 8 for the next frame. III. EXPERIMENTAL RESULTS The proposed tracking was applied to two video sequences. In our experiments, all videos are converted into HSV color space. Two types of features are conducted separately: H histogram and (H,S) histogram. They are quantized into 16 bins and 16 16 bins, respectively. The number of dominant colors is set to 2. The first video sequence has 328 frames of 640 480. The tracking target is the left hand of a human, which moves randomly across the human face. As shown in Figure 7 (a)-(b), the tracking of hand with the conventional CamShift is ACKNOWLEDGEMENT This work was supported by the National Science Counsel, Taiwan, Republic of China, under Grants NSC 99-2632-E-130-001- MY3 and NSC 102-2221-E-130-019. REFERENCES [1] A. Yilmaz, O. Javed, and M. Shah, Object tracking: A survey, ACM Comput. Survey, vol. 38, no. 4, pp. 1 45, Dec. 2006. [2] D. Comaniciu, V. Ramesh, and P. Meer, Real-time tracking of non-rigid objects using mean shift, In IEEE Proc. on Computer Vision and Pattern Recognition, pages 673 678, 2000. [3] D. Comaniciu, V. Ramesh, and P. Meer, Kernel-based object tracking, IEEE Transaction on Pattern Analysis and Machine Intelligence, Vol. 25, No. 5, pp. 564-577, May 2003. [4] L. Ido, and L. Michael, and R. Ehud, Mean Shift tracking with multiple reference color histograms. Computer Vision and Image Understanding, no. 9, pp. 400 408. 2010 [5] J. G. Allen, R. Y. D. Xu, and J. S. Jin, Object tracking using CamShift algorithm and multiple quantized feature spaces, In Proc. of Pan-Sydney Area Workshop on Visual Information Processing VIP2003, 2003. [6] G. R. Bradski. Computer vision face tracking for use in a perceptual user interface, Intel Technology Journal, 1998.

Frame 1 Frame 92 Frame 131 Frame 259 (a) CamShift with H histogram Frame 1 Frame 92 Frame 131 Frame 259 (b) CamShift with (H,S) histogram Frame 1 Frame 92 Frame 131 Frame 259 (c) Proposed algorithm with H histogram Figure 7. Comparison of proposed algorithm and conventional CamShift for hand tracking

Frame 37 Frame 111 Frame 119 Frame 151 (a) CamShift with H histogram Frame 37 Frame 111 Frame 119 Frame 151 (b) CamShift with (H,S) histogram Frame 37 Frame 111 Frame 119 Frame 151 (c) Proposed algorithm with H histogram Figure 8. Comparison of proposed algorithm and conventional CamShift for head tracking