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

Size: px
Start display at page:

Download "Mean Shift Tracking. CS4243 Computer Vision and Pattern Recognition. Leow Wee Kheng"

Transcription

1 CS4243 Computer Vision and Pattern Recognition Leow Wee Kheng Department of Computer Science School of Computing National University of Singapore (CS4243) Mean Shift Tracking 1 / 28

2 Mean Shift Mean Shift Mean Shift [Che98, FH75, Sil86] An algorithm that iteratively shifts a data point to the average of data points in its neighborhood. Similar to clustering. Useful for clustering, mode seeking, probability density estimation, tracking, etc. (CS4243) Mean Shift Tracking 2 / 28

3 Mean Shift Consider a set S of n data points x i in d-d Euclidean space X. Let K(x) denote a kernel function that indicates how much x contributes to the estimation of the mean. Then, the sample mean m at x with kernel K is given by m(x) = n K(x x i )x i n K(x x i ) (1) The difference m(x) x is called mean shift. Mean shift algorithm: iteratively move date point to its mean. In each iteration, x m(x). The algorithm stops when m(x) = x. (CS4243) Mean Shift Tracking 3 / 28

4 Mean Shift The sequence x,m(x),m(m(x)),... is called the trajectory of x. If sample means are computed at multiple points, then at each iteration, update is done simultaneously to all these points. (CS4243) Mean Shift Tracking 4 / 28

5 Mean Shift Kernel Kernel Typically, kernel K is a function of x 2 : K(x) = k( x 2 ) (2) k is called the profile of K. Properties of Profile: 1 k is nonnegative. 2 k is nonincreasing: k(x) k(y) if x < y. 3 k is piecewise continuous and 0 k(x)dx < (3) (CS4243) Mean Shift Tracking 5 / 28

6 Mean Shift Kernel Examples of kernels [Che98]: Flat kernel: Gaussian kernel: K(x) = { 1 if x 1 0 otherwise (4) K(x) = exp( x 2 ) (5) (a) Flat kernel (b) Gaussian kernel (CS4243) Mean Shift Tracking 6 / 28

7 Mean Shift Density Estimation Density Estimation Kernel density estimation (Parzen window technique) is a popular method for estimating probability density [CRM00, CRM02, DH73]. For a set of n data points x i in d-d space, the kernel density estimate with kernel K(x) (profile k(x)) and radius h is f K (x) = = 1 nh d 1 nh d n ( ) x xi K h n x x i k( ) (6) 2 h The quality of kernel density estimator is measured by the mean squared error between the actual density and the estimate. (CS4243) Mean Shift Tracking 7 / 28

8 Mean Shift Density Estimation Mean squared error is minimized by the Epanechnikov kernel: 1 (d+2)(1 x 2 ) if x 1 K E (x) = 2C d 0 otherwise where C d is the volume of the unit d-d sphere, with profile 1 (d+2)(1 x) if 0 x 1 k E (x) = 2C d 0 if x > 1 A more commonly used kernel is Gaussian ( 1 K(x) = exp 1 ) (2π) d 2 x 2 (7) (8) (9) with profile k(x) = ( 1 exp 1 ) (2π) d 2 x (10) (CS4243) Mean Shift Tracking 8 / 28

9 Mean Shift Density Estimation Define another kernel G(x) = g( x 2 ) such that g(x) = k (x) = dk(x) dx. (11) Important Result Mean shift with kernel G moves x along the direction of the gradient of density estimate f with kernel K. Define density estimate with kernel K. But, perform mean shift with kernel G. Then, mean shift performs gradient ascent on density estimate. (CS4243) Mean Shift Tracking 9 / 28

10 Mean Shift Density Estimation Proof: Define f with kernel G f G (x) C nh d n x x i g( 2) (12) h where C is a normalization constant. Mean shift M with kernel G is M G (x) n n g( g( x x i h x x i h 2) x i ) x (13) 2 (CS4243) Mean Shift Tracking 10 / 28

11 Mean Shift Density Estimation Estimate of density gradient is the gradient of density estimate Then, f K (x) f K (x) = = = 2 nh d+2 2 nh d+2 n (x x i )k ( x x i h n x x i (x i x)g( h 2 Ch 2 f G (x)m G (x) M G (x) = Ch2 2 f K (x) f G (x) Thus, M G is an estimate of the normalized gradient of f K. So, can use mean shift (Eq. 13) to obtain estimate of f K. 2 ) 2 ) (14) (15) (CS4243) Mean Shift Tracking 11 / 28

12 Mean Shift Tracking Basic Ideas [CRM00]: Model object using color probability density. Track target candidate in video by matching color probability of target with that of object model. Use mean shift to estimate color probability and target location. (CS4243) Mean Shift Tracking 12 / 28

13 Object Model Object Model Let x i, i = 1,...,n, denote pixel locations of model centered at 0. Represent color distribution by discrete m-bin color histogram. Let b(x i ) denote the color bin of the color at x i. Assume size of model is normalized; so, kernel radius h = 1. Then, probability q of color u, u = 1,...,m, in object model is n q u = C k( x i 2 )δ(b(x i ) u) (16) 1 C is the normalization constant [ n )] C = k( x i 2 (17) Kernel profile k weights contribution by distance to centroid. (CS4243) Mean Shift Tracking 13 / 28

14 Object Model δ is the Kronecker delta function δ(a) = { 1 if a = 0 0 otherwise (18) That is, contribute k( x i 2 ) to q u if b(x i ) = u. (CS4243) Mean Shift Tracking 14 / 28

15 Target Candidate Target Candidate Let y i, i = 1,...,n h, denote pixel locations of target centered at y. Then, the probability p of color u in the target candidate is n h p u (y) = C h k( y y i h 2) δ(b(y i ) u) (19) C h is the normalization constant C h = [ nh y y i k( h 2 )] 1 (20) (CS4243) Mean Shift Tracking 15 / 28

16 Color Density Matching Color Density Matching Measure similarity between object model q and color p of target at location y. Use Bhattacharyya coefficient ρ ρ(p(y),q) = m pu (y)q u (21) u=1 ρ is the cosine of vectors ( p 1,..., p m ) and ( q 1,..., q m ). Large ρ means good color match. Let y denote current target location with color probability {p u (y)}, p u (y) > 0 for u = 1,...,m. Let z denote estimated new target location near y, and color probability does not change drastically. (CS4243) Mean Shift Tracking 16 / 28

17 Color Density Matching By Taylor s series expansion ρ(p(z),q) = 1 2 m pu (y)q u u=1 m u=1 qu p u (z) p u (y) (22) Substitute Eq. 19 into Eq. 22 yields ρ(p(z),q) = 1 2 where weight w i is m u=1 w i = pu (y)q u + C h 2 m u=1 n h w i k( z y i h 2) (23) qu δ(b(y i ) u) p u (y). (24) To maximize ρ(p(z),q), need to maximize second term of Eq. 23. First term is independent of z. (CS4243) Mean Shift Tracking 17 / 28

18 Mean Shift Tracking Algorithm Mean Shift Tracking Algorithm Given {q u } of model and location y of target in previous frame: (1) Initialize location of target in current frame as y. (2) Compute {p u (y)}, u = 1,...,m, and ρ(p(y),q). (3) Compute weights w i, i = 1,...,n h. (4) Apply mean shift: Compute new location z as n h w i g( z = n h w i g( where g(x) = k (x) (Eq. 11). y y i h y y i h 2) y i (5) Compute {p u (z)}, u = 1,...,m, and ρ(p(z),q). ) (25) 2 (CS4243) Mean Shift Tracking 18 / 28

19 Mean Shift Tracking Algorithm (6) While ρ(p(z),q) < ρ(p(y),q), do z 1 2 (y+z). (7) If z y is small enough, stop. Else, set y z and goto Step 1. Notes: Step 4: In practice, a window of pixels y i is considered. Size of window is related to h. Step 6 is used to validate the target s new location. Can stop Step 6 if y and z round off to the same pixel. Tests show that Step 6 is needed only 0.1% of the time. Step 7: Can stop algorithm if y and z round off to the same pixel. To adapt to change of scale, can modify window radius h and let algorithm converge to h that maximizes ρ(p(y, q)). (CS4243) Mean Shift Tracking 19 / 28

20 Mean Shift Tracking Algorithm Example 1: Track football player no. 78 [CRM00]. (CS4243) Mean Shift Tracking 20 / 28

21 Mean Shift Tracking Algorithm Example 2: Track a passenger in train station [CRM00]. (CS4243) Mean Shift Tracking 21 / 28

22 CAMSHIFT CAMSHIFT Mean Shift tracking uses fixed color distribution. In some applications, color distribution can change, e.g., due to rotation in depth. Continuous Adaptive Mean Shift (CAMSHIFT) [Bra98] Can handle dynamically changing color distribution. Adapt Mean Shift search window size and compute color distribution in search window. (CS4243) Mean Shift Tracking 22 / 28

23 CAMSHIFT In CAMSHIFT, search window W location is determined as follows: Compute the zeroth moment (mean) within W M 00 = I(x,y). (26) (x,y) W Compute first moment for x and y M 10 = xi(x,y), M 01 = yi(x,y). (27) (x,y) W Search window location is set at (x,y) W x c = M 10 M 00, y c = M 01 M 00. (28) (CS4243) Mean Shift Tracking 23 / 28

24 CAMSHIFT CAMSHIFT Algorithm (1) Choose the initial location of the search window. (2) Perform Mean Shift tracking with revised method of setting search window location. (3) Store zeroth moment. (4) Set search window size to a function of zeroth moment. (5) Repeat Steps 2 and 4 until convergence. (CS4243) Mean Shift Tracking 24 / 28

25 CAMSHIFT Example 3: Track shirt with changing color distribution [AXJ03]. (CS4243) Mean Shift Tracking 25 / 28

26 Reference Reference I 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, G. R. Bradski. Computer vision face tracking for use in a perceptual user interface. Intel Technology Journal, 2nd Quarter, Y. Cheng. Mean shift, mode seeking, and clustering. IEEE Trans. on Pattern Analysis and Machine Intelligence, 17(8): , (CS4243) Mean Shift Tracking 26 / 28

27 Reference Reference II 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 , D. Comaniciu, V. Ramesh, and P. Meer. Mean shift: A robust approach towards feature space analysis. IEEE Trans. on Pattern Analysis and Machine Intelligence, 24(5): , R. O. Duda and P. E. Hart. Pattern Classification and Scene Analysis. Wiley, (CS4243) Mean Shift Tracking 27 / 28

28 Reference Reference III K. Fukunaga and L. D. Hostetler. The estimation of the gradient of a density function, with applications in pattern recognition. IEEE Trans. on Information Theory, 21:32 40, B. W. Silverman. Density Estimation for Statistics and Data Analysis. Chapman and Hall, (CS4243) Mean Shift Tracking 28 / 28

A Modified Mean Shift Algorithm for Visual Object Tracking

A Modified Mean Shift Algorithm for Visual Object Tracking 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,

More information

Nonparametric Clustering of High Dimensional Data

Nonparametric Clustering of High Dimensional Data Nonparametric Clustering of High Dimensional Data Peter Meer Electrical and Computer Engineering Department Rutgers University Joint work with Bogdan Georgescu and Ilan Shimshoni Robust Parameter Estimation:

More information

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

Mean shift based object tracking with accurate centroid estimation and adaptive Kernel bandwidth Mean shift based object tracking with accurate centroid estimation and adaptive Kernel bandwidth ShilpaWakode 1, Dr. Krishna Warhade 2, Dr. Vijay Wadhai 3, Dr. Nitin Choudhari 4 1234 Electronics department

More information

Tracking Computer Vision Spring 2018, Lecture 24

Tracking Computer Vision Spring 2018, Lecture 24 Tracking http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 2018, Lecture 24 Course announcements Homework 6 has been posted and is due on April 20 th. - Any questions about the homework? - How

More information

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

Visual Tracking. Image Processing Laboratory Dipartimento di Matematica e Informatica Università degli studi di Catania. Image Processing Laboratory Dipartimento di Matematica e Informatica Università degli studi di Catania 1 What is visual tracking? estimation of the target location over time 2 applications Six main areas:

More information

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

Particle Filtering. CS6240 Multimedia Analysis. Leow Wee Kheng. Department of Computer Science School of Computing National University of Singapore Particle Filtering CS6240 Multimedia Analysis Leow Wee Kheng Department of Computer Science School of Computing National University of Singapore (CS6240) Particle Filtering 1 / 28 Introduction Introduction

More information

Visual Tracking. Antonino Furnari. Image Processing Lab 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 Visual Tracking Antonino Furnari Image Processing Lab Dipartimento di Matematica e Informatica Università degli Studi di Catania furnari@dmi.unict.it 11 giugno 2015 What is visual tracking? estimation

More information

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

Object Detection in Video Using Sequence Alignment and Joint Color & Texture Histogram Object Detection in Video Using Sequence Alignment and Joint Color & Texture Histogram Ms. Pallavi M. Sune 1 Prof. A. P. Thakare2 Abstract an object tracking algorithm is presented in this paper by using

More information

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

An EM-like algorithm for color-histogram-based object tracking An EM-like algorithm for color-histogram-based object tracking Zoran Zivkovic Ben Kröse Intelligent and Autonomous Systems Group University of Amsterdam The Netherlands email:{zivkovic,krose}@science.uva.nl

More information

New Models For Real-Time Tracking Using Particle Filtering

New Models For Real-Time Tracking Using Particle Filtering New Models For Real-Time Tracking Using Particle Filtering Ng Ka Ki and Edward J. Delp Video and Image Processing Laboratories (VIPER) School of Electrical and Computer Engineering Purdue University West

More information

Robert Collins CSE598G. Robert Collins CSE598G

Robert Collins CSE598G. Robert Collins CSE598G Recall: Kernel Density Estimation Given a set of data samples x i ; i=1...n Convolve with a kernel function H to generate a smooth function f(x) Equivalent to superposition of multiple kernels centered

More information

Feature Detection and Matching

Feature Detection and Matching and Matching CS4243 Computer Vision and Pattern Recognition Leow Wee Kheng Department of Computer Science School of Computing National University of Singapore Leow Wee Kheng (CS4243) Camera Models 1 /

More information

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

Target Tracking Based on Mean Shift and KALMAN Filter with Kernel Histogram Filtering Target Tracking Based on Mean Shift and KALMAN Filter with Kernel Histogram Filtering Sara Qazvini Abhari (Corresponding author) Faculty of Electrical, Computer and IT Engineering Islamic Azad University

More information

Non-Rigid Image Registration III

Non-Rigid Image Registration III Non-Rigid Image Registration III CS6240 Multimedia Analysis Leow Wee Kheng Department of Computer Science School of Computing National University of Singapore Leow Wee Kheng (CS6240) Non-Rigid Image Registration

More information

DESIGN AND IMPLEMENTATION OF VISUAL FEEDBACK FOR AN ACTIVE TRACKING

DESIGN AND IMPLEMENTATION OF VISUAL FEEDBACK FOR AN ACTIVE TRACKING DESIGN AND IMPLEMENTATION OF VISUAL FEEDBACK FOR AN ACTIVE TRACKING Tomasz Żabiński, Tomasz Grygiel, Bogdan Kwolek Rzeszów University of Technology, W. Pola 2, 35-959 Rzeszów, Poland tomz, bkwolek@prz-rzeszow.pl

More information

Dr. Ulas Bagci

Dr. Ulas Bagci CAP5415-Computer Vision Lecture 11-Image Segmentation (BASICS): Thresholding, Region Growing, Clustering Dr. Ulas Bagci bagci@ucf.edu 1 Image Segmentation Aim: to partition an image into a collection of

More information

Computer Vision II Lecture 4

Computer Vision II Lecture 4 Computer Vision II Lecture 4 Color based Tracking 29.04.2014 Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de leibe@vision.rwth-aachen.de Course Outline Single-Object Tracking Background modeling

More information

Clustering. Discover groups such that samples within a group are more similar to each other than samples across groups.

Clustering. Discover groups such that samples within a group are more similar to each other than samples across groups. Clustering 1 Clustering Discover groups such that samples within a group are more similar to each other than samples across groups. 2 Clustering Discover groups such that samples within a group are more

More information

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

Object tracking in a video sequence using Mean-Shift Based Approach: An Implementation using MATLAB7 International Journal of Computational Engineering & Management, Vol. 11, January 2011 www..org 45 Object tracking in a video sequence using Mean-Shift Based Approach: An Implementation using MATLAB7 Madhurima

More information

Target Tracking Using Mean-Shift And Affine Structure

Target Tracking Using Mean-Shift And Affine Structure Target Tracking Using Mean-Shift And Affine Structure Chuan Zhao, Andrew Knight and Ian Reid Department of Engineering Science, University of Oxford, Oxford, UK {zhao, ian}@robots.ox.ac.uk Abstract Inthispaper,wepresentanewapproachfortracking

More information

Distribution Free Decomposition of Multivariate Data Abstract We present a practical approach to nonparametric cluster analysis of large data sets. Th

Distribution Free Decomposition of Multivariate Data Abstract We present a practical approach to nonparametric cluster analysis of large data sets. Th Distribution Free Decomposition of Multivariate Data SPR'98 Invited submission Dorin Comaniciu Peter Meer Department of Electrical and Computer Engineering Rutgers University, Piscataway, NJ 08855, USA

More information

Image Segmentation. Shengnan Wang

Image Segmentation. Shengnan Wang Image Segmentation Shengnan Wang shengnan@cs.wisc.edu Contents I. Introduction to Segmentation II. Mean Shift Theory 1. What is Mean Shift? 2. Density Estimation Methods 3. Deriving the Mean Shift 4. Mean

More information

Distribution Free Decomposition of Multivariate Data*

Distribution Free Decomposition of Multivariate Data* Pattern Analysis & Applications (1999)2:22 30 1999 Springer-Verlag London Limited Distribution Free Decomposition of Multivariate Data* Dorin Comaniciu and Peter Meer Department of Electrical and Computer

More information

Moving Object Tracking Optimization for High Speed Implementation on FPGA

Moving Object Tracking Optimization for High Speed Implementation on FPGA Moving Object Tracking Optimization for High Speed Implementation on FPGA Nastaran Asadi Rahebeh Niaraki Asli M.S.Student, Department of Electrical Engineering, University of Guilan, Rasht, Iran email:

More information

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

An Adaptive Background Model for Camshift Tracking with a Moving Camera. convergence. 261 An Adaptive Background Model for Camshift Tracking with a Moving Camera R. Stolkin,I.Florescu,G.Kamberov Center for Maritime Systems, Dept. of Mathematical Sciences, Dept. of Computer Science Stevens

More information

The Approach of Mean Shift based Cosine Dissimilarity for Multi-Recording Speaker Clustering

The Approach of Mean Shift based Cosine Dissimilarity for Multi-Recording Speaker Clustering The Approach of Mean Shift based Cosine Dissimilarity for Multi-Recording Speaker Clustering 1 D. Jareena Begum, 2 K Rajendra Prasad, 3 M Suleman Basha 1 M.Tech in SE, RGMCET, Nandyal 2 Assoc Prof, Dept

More information

Object Tracking Algorithm based on Combination of Edge and Color Information

Object Tracking Algorithm based on Combination of Edge and Color Information Object Tracking Algorithm based on Combination of Edge and Color Information 1 Hsiao-Chi Ho ( 賀孝淇 ), 2 Chiou-Shann Fuh ( 傅楸善 ), 3 Feng-Li Lian ( 連豊力 ) 1 Dept. of Electronic Engineering National Taiwan

More information

An Introduction to PDF Estimation and Clustering

An Introduction to PDF Estimation and Clustering Sigmedia, Electronic Engineering Dept., Trinity College, Dublin. 1 An Introduction to PDF Estimation and Clustering David Corrigan corrigad@tcd.ie Electrical and Electronic Engineering Dept., University

More information

Accelerating Mean Shift Segmentation Algorithm on Hybrid CPU/GPU Platforms

Accelerating Mean Shift Segmentation Algorithm on Hybrid CPU/GPU Platforms Accelerating Mean Shift Segmentation Algorithm on Hybrid CPU/GPU Platforms Liang Men, Miaoqing Huang, John Gauch Department of Computer Science and Computer Engineering University of Arkansas {mliang,mqhuang,jgauch}@uark.edu

More information

CSSE463: Image Recognition Day 21

CSSE463: Image Recognition Day 21 CSSE463: Image Recognition Day 21 Sunset detector due. Foundations of Image Recognition completed This wee: K-means: a method of Image segmentation Questions? An image to segment Segmentation The process

More information

Using Mean Shift Algorithm in the Recognition of Industrial Data Matrix Codes

Using Mean Shift Algorithm in the Recognition of Industrial Data Matrix Codes Using Mean Shift Algorithm in the Recognition of Industrial Data Matrix Codes ION-COSMIN DITA, VASILE GUI, MARIUS OTESTEANU Politehnica University of Timisoara Faculty of Electronics and Telecommunications

More information

Low Cost Motion Capture

Low Cost Motion Capture Low Cost Motion Capture R. Budiman M. Bennamoun D.Q. Huynh School of Computer Science and Software Engineering The University of Western Australia Crawley WA 6009 AUSTRALIA Email: budimr01@tartarus.uwa.edu.au,

More information

2 A Modified Mean Shift Algorithm For Efficient Document Image Restoration

2 A Modified Mean Shift Algorithm For Efficient Document Image Restoration 2 A Modified Mean Shift Algorithm For Efficient Document Image Restoration Fadoua Drira, Frank Lebourgois, and Hubert Emptoz SITIS 2006, Tunisia {fadoua.drira,fank.lebourgeois,hubert.emptoz}@insa-lyon.fr

More information

Improved Tracking by Decoupling Camera and Target Motion

Improved Tracking by Decoupling Camera and Target Motion Improved Tracking by Decoupling Camera and Target Motion Shawn Lankton Allen Tannenbaum Georgia Institute of Technology Atlanta, Georgia Abstract Video tracking is widely used for surveillance, security,

More information

Fast 3D Mean Shift Filter for CT Images

Fast 3D Mean Shift Filter for CT Images Fast 3D Mean Shift Filter for CT Images Gustavo Fernández Domínguez, Horst Bischof, and Reinhard Beichel Institute for Computer Graphics and Vision, Graz University of Technology Inffeldgasse 16/2, A-8010,

More information

Lecture 7: Segmentation. Thursday, Sept 20

Lecture 7: Segmentation. Thursday, Sept 20 Lecture 7: Segmentation Thursday, Sept 20 Outline Why segmentation? Gestalt properties, fun illusions and/or revealing examples Clustering Hierarchical K-means Mean Shift Graph-theoretic Normalized cuts

More information

Object Tracking with an Adaptive Color-Based Particle Filter

Object Tracking with an Adaptive Color-Based Particle Filter Object Tracking with an Adaptive Color-Based Particle Filter Katja Nummiaro 1, Esther Koller-Meier 2, and Luc Van Gool 1,2 1 Katholieke Universiteit Leuven, ESAT/VISICS, Belgium {knummiar,vangool}@esat.kuleuven.ac.be

More information

Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects

Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects Intelligent Control Systems Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects Shingo Kagami Graduate School of Information Sciences, Tohoku University swk(at)ic.is.tohoku.ac.jp http://www.ic.is.tohoku.ac.jp/ja/swk/

More information

Computer Vision II Lecture 4

Computer Vision II Lecture 4 Course Outline Computer Vision II Lecture 4 Single-Object Tracking Background modeling Template based tracking Color based Tracking Color based tracking Contour based tracking Tracking by online classification

More information

Probabilistic Tracking in Joint Feature-Spatial Spaces

Probabilistic Tracking in Joint Feature-Spatial Spaces Probabilistic Tracking in Joint Feature-Spatial Spaces Ahmed Elgammal Department of Computer Science Rutgers University Piscataway, J elgammal@cs.rutgers.edu Ramani Duraiswami UMIACS University of Maryland

More information

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

Model Fitting. CS6240 Multimedia Analysis. Leow Wee Kheng. Department of Computer Science School of Computing National University of Singapore Model Fitting CS6240 Multimedia Analysis Leow Wee Kheng Department of Computer Science School of Computing National University of Singapore (CS6240) Model Fitting 1 / 34 Introduction Introduction Model

More information

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science. Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ 1 Image Segmentation Some material for these slides comes from https://www.csd.uwo.ca/courses/cs4487a/

More information

Machine Learning Lecture 3

Machine Learning Lecture 3 Many slides adapted from B. Schiele Machine Learning Lecture 3 Probability Density Estimation II 26.04.2016 Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de leibe@vision.rwth-aachen.de Course

More information

Machine Learning Lecture 3

Machine Learning Lecture 3 Course Outline Machine Learning Lecture 3 Fundamentals (2 weeks) Bayes Decision Theory Probability Density Estimation Probability Density Estimation II 26.04.206 Discriminative Approaches (5 weeks) Linear

More information

Image and Video Segmentation by Anisotropic Kernel Mean Shift

Image and Video Segmentation by Anisotropic Kernel Mean Shift Image and Video Segmentation by Anisotropic Kernel Mean Shift Microsoft Research (Asia and Redmond) Abstract. Mean shift is a nonparametric estimator of density which has been applied to image and video

More information

Multimedia Retrieval Ch 5 Image Processing. Anne Ylinen

Multimedia Retrieval Ch 5 Image Processing. Anne Ylinen Multimedia Retrieval Ch 5 Image Processing Anne Ylinen Agenda Types of image processing Application areas Image analysis Image features Types of Image Processing Image Acquisition Camera Scanners X-ray

More information

Mean Shift Segmentation on RGB and HSV Image

Mean Shift Segmentation on RGB and HSV Image Mean Shift Segmentation on RGB and HSV Image Poonam Chauhan, R.v. Shahabade Department of Information Technology, Terna College of Engineering, Nerul Navi Mumbai, India Professor, Department of Electronic

More information

Stacked Integral Image

Stacked Integral Image 2010 IEEE International Conference on Robotics and Automation Anchorage Convention District May 3-8, 2010, Anchorage, Alaska, USA Stacked Integral Image Amit Bhatia, Wesley E. Snyder and Griff Bilbro Abstract

More information

Robust Shape Retrieval Using Maximum Likelihood Theory

Robust Shape Retrieval Using Maximum Likelihood Theory Robust Shape Retrieval Using Maximum Likelihood Theory Naif Alajlan 1, Paul Fieguth 2, and Mohamed Kamel 1 1 PAMI Lab, E & CE Dept., UW, Waterloo, ON, N2L 3G1, Canada. naif, mkamel@pami.uwaterloo.ca 2

More information

Robust Visual Tracking for Multiple Targets

Robust Visual Tracking for Multiple Targets Robust Visual Tracking for Multiple Targets Yizheng Cai, Nando de Freitas, and James J. Little University of British Columbia, Vancouver, B.C., Canada, V6T 1Z4, {yizhengc, nando, little}@cs.ubc.ca Abstract.

More information

Dynamic Thresholding for Image Analysis

Dynamic Thresholding for Image Analysis Dynamic Thresholding for Image Analysis Statistical Consulting Report for Edward Chan Clean Energy Research Center University of British Columbia by Libo Lu Department of Statistics University of British

More information

Clustering. Shishir K. Shah

Clustering. Shishir K. Shah Clustering Shishir K. Shah Acknowledgement: Notes by Profs. M. Pollefeys, R. Jin, B. Liu, Y. Ukrainitz, B. Sarel, D. Forsyth, M. Shah, K. Grauman, and S. K. Shah Clustering l Clustering is a technique

More information

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE COMPUTER VISION 2017-2018 > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE OUTLINE Optical flow Lucas-Kanade Horn-Schunck Applications of optical flow Optical flow tracking Histograms of oriented flow Assignment

More information

Grouping and Segmentation

Grouping and Segmentation 03/17/15 Grouping and Segmentation Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Today s class Segmentation and grouping Gestalt cues By clustering (mean-shift) By boundaries (watershed)

More information

Segmentation Computer Vision Spring 2018, Lecture 27

Segmentation Computer Vision Spring 2018, Lecture 27 Segmentation http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 218, Lecture 27 Course announcements Homework 7 is due on Sunday 6 th. - Any questions about homework 7? - How many of you have

More information

Lecture: k-means & mean-shift clustering

Lecture: k-means & mean-shift clustering Lecture: k-means & mean-shift clustering Juan Carlos Niebles and Ranjay Krishna Stanford Vision and Learning Lab Lecture 11-1 Recap: Image Segmentation Goal: identify groups of pixels that go together

More information

Local Features Tutorial: Nov. 8, 04

Local Features Tutorial: Nov. 8, 04 Local Features Tutorial: Nov. 8, 04 Local Features Tutorial References: Matlab SIFT tutorial (from course webpage) Lowe, David G. Distinctive Image Features from Scale Invariant Features, International

More information

Edge Detection. CS664 Computer Vision. 3. Edges. Several Causes of Edges. Detecting Edges. Finite Differences. The Gradient

Edge Detection. CS664 Computer Vision. 3. Edges. Several Causes of Edges. Detecting Edges. Finite Differences. The Gradient Edge Detection CS664 Computer Vision. Edges Convert a gray or color image into set of curves Represented as binary image Capture properties of shapes Dan Huttenlocher Several Causes of Edges Sudden changes

More information

Lecture: k-means & mean-shift clustering

Lecture: k-means & mean-shift clustering Lecture: k-means & mean-shift clustering Juan Carlos Niebles and Ranjay Krishna Stanford Vision and Learning Lab 1 Recap: Image Segmentation Goal: identify groups of pixels that go together 2 Recap: Gestalt

More information

Real Time Motion Analysis Toward Semantic Understanding of Video Content

Real Time Motion Analysis Toward Semantic Understanding of Video Content Real Time Motion Analysis Toward Semantic Understanding of Video Content Yong Wang 1, Tong Zhang, Daniel Tretter Imaging Systems Laboratory HP Laboratories Palo Alto HPL-2005-93 May 16, 2005* real time

More information

Robert Collins CSE598G. Intro to Template Matching and the Lucas-Kanade Method

Robert Collins CSE598G. Intro to Template Matching and the Lucas-Kanade Method Intro to Template Matching and the Lucas-Kanade Method Appearance-Based Tracking current frame + previous location likelihood over object location current location appearance model (e.g. image template,

More information

Image Processing (2) Point Operations and Local Spatial Operations

Image Processing (2) Point Operations and Local Spatial Operations Intelligent Control Systems Image Processing (2) Point Operations and Local Spatial Operations Shingo Kagami Graduate School of Information Sciences, Tohoku University swk(at)ic.is.tohoku.ac.jp http://www.ic.is.tohoku.ac.jp/ja/swk/

More information

CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu. Lectures 21 & 22 Segmentation and clustering

CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu. Lectures 21 & 22 Segmentation and clustering CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu Lectures 21 & 22 Segmentation and clustering 1 Schedule Last class We started on segmentation Today Segmentation continued Readings

More information

The Curse of Dimensionality

The Curse of Dimensionality The Curse of Dimensionality ACAS 2002 p1/66 Curse of Dimensionality The basic idea of the curse of dimensionality is that high dimensional data is difficult to work with for several reasons: Adding more

More information

Leow Wee Kheng CS4243 Computer Vision and Pattern Recognition. Motion Tracking. CS4243 Motion Tracking 1

Leow Wee Kheng CS4243 Computer Vision and Pattern Recognition. Motion Tracking. CS4243 Motion Tracking 1 Leow Wee Kheng CS4243 Computer Vision and Pattern Recognition Motion Tracking CS4243 Motion Tracking 1 Changes are everywhere! CS4243 Motion Tracking 2 Illumination change CS4243 Motion Tracking 3 Shape

More information

1. Suppose that the equation F (x, y, z) = 0 implicitly defines each of the three variables x, y, and z as functions of the other two:

1. Suppose that the equation F (x, y, z) = 0 implicitly defines each of the three variables x, y, and z as functions of the other two: Final Solutions. Suppose that the equation F (x, y, z) implicitly defines each of the three variables x, y, and z as functions of the other two: z f(x, y), y g(x, z), x h(y, z). If F is differentiable

More information

Multiple Kernel Tracking with SSD

Multiple Kernel Tracking with SSD Multiple Kernel Tracking with SSD Gregory D. Hager and Maneesh Dewan Charles V. Stewart Johns Hopkins University Renssalaer Polytechnic Institute Baltimore, MD 228 Troy, NY 280 hager,maneesh @cs.jhu.edu

More information

Image Acquisition + Histograms

Image Acquisition + Histograms Image Processing - Lesson 1 Image Acquisition + Histograms Image Characteristics Image Acquisition Image Digitization Sampling Quantization Histograms Histogram Equalization What is an Image? An image

More information

Edge Detection. CSE 576 Ali Farhadi. Many slides from Steve Seitz and Larry Zitnick

Edge Detection. CSE 576 Ali Farhadi. Many slides from Steve Seitz and Larry Zitnick Edge Detection CSE 576 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick Edge Attneave's Cat (1954) Origin of edges surface normal discontinuity depth discontinuity surface color discontinuity

More information

Pictures at an Exhibition

Pictures at an Exhibition Pictures at an Exhibition Han-I Su Department of Electrical Engineering Stanford University, CA, 94305 Abstract We employ an image identification algorithm for interactive museum guide with pictures taken

More information

Digital Image Processing (CS/ECE 545) Lecture 5: Edge Detection (Part 2) & Corner Detection

Digital Image Processing (CS/ECE 545) Lecture 5: Edge Detection (Part 2) & Corner Detection Digital Image Processing (CS/ECE 545) Lecture 5: Edge Detection (Part 2) & Corner Detection Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Recall: Edge Detection Image processing

More information

Introduction to Digital Image Processing

Introduction to Digital Image Processing Introduction to Digital Image Processing Ranga Rodrigo June 9, 29 Outline Contents Introduction 2 Point Operations 2 Histogram Processing 5 Introduction We can process images either in spatial domain or

More information

Unit 3 : Image Segmentation

Unit 3 : Image Segmentation Unit 3 : Image Segmentation K-means Clustering Mean Shift Segmentation Active Contour Models Snakes Normalized Cut Segmentation CS 6550 0 Histogram-based segmentation Goal Break the image into K regions

More information

Visual Tracking (1) Feature Point Tracking and Block Matching

Visual Tracking (1) Feature Point Tracking and Block Matching Intelligent Control Systems Visual Tracking (1) Feature Point Tracking and Block Matching Shingo Kagami Graduate School of Information Sciences, Tohoku University swk(at)ic.is.tohoku.ac.jp http://www.ic.is.tohoku.ac.jp/ja/swk/

More information

A Component-based Architecture for Vision-based Gesture Recognition

A Component-based Architecture for Vision-based Gesture Recognition A Component-based Architecture for Vision-based Gesture Recognition Abstract Farhad Dadgostar, Abdolhossein Sarrafzadeh Institute of Information and Mathematical Sciences, Massey University Auckland, New

More information

Object Tracking using Modified Mean Shift Algorithm in A Robust Manner

Object Tracking using Modified Mean Shift Algorithm in A Robust Manner IJSTE - International Journal of Science Technology & Engineering Volume 2 Issue 1 July 2015 ISSN (online): 2349-784X Object Tracking using Modified Mean Shift Algorithm in A Robust Manner Miss. Sadaf

More information

Image Coprocessor: A Real-time Approach Towards Object Tracking

Image Coprocessor: A Real-time Approach Towards Object Tracking Image Coprocessor: A Real-time Approach Towards Object Tracking Muhammad Shahzad a, Saira Zahid b Next Generation Intelligent Networks Research Center (nexgin RC), National University of Computer and Emerging

More information

CAP 5415 Computer Vision Fall 2012

CAP 5415 Computer Vision Fall 2012 CAP 5415 Computer Vision Fall 01 Dr. Mubarak Shah Univ. of Central Florida Office 47-F HEC Lecture-5 SIFT: David Lowe, UBC SIFT - Key Point Extraction Stands for scale invariant feature transform Patented

More information

Implementing the Scale Invariant Feature Transform(SIFT) Method

Implementing the Scale Invariant Feature Transform(SIFT) Method Implementing the Scale Invariant Feature Transform(SIFT) Method YU MENG and Dr. Bernard Tiddeman(supervisor) Department of Computer Science University of St. Andrews yumeng@dcs.st-and.ac.uk Abstract The

More information

Segmentation & Clustering

Segmentation & Clustering EECS 442 Computer vision Segmentation & Clustering Segmentation in human vision K-mean clustering Mean-shift Graph-cut Reading: Chapters 14 [FP] Some slides of this lectures are courtesy of prof F. Li,

More information

2D image segmentation based on spatial coherence

2D image segmentation based on spatial coherence 2D image segmentation based on spatial coherence Václav Hlaváč Czech Technical University in Prague Center for Machine Perception (bridging groups of the) Czech Institute of Informatics, Robotics and Cybernetics

More information

Coarse-to-fine image registration

Coarse-to-fine image registration Today we will look at a few important topics in scale space in computer vision, in particular, coarseto-fine approaches, and the SIFT feature descriptor. I will present only the main ideas here to give

More information

COMPUTATIONAL STATISTICS UNSUPERVISED LEARNING

COMPUTATIONAL STATISTICS UNSUPERVISED LEARNING COMPUTATIONAL STATISTICS UNSUPERVISED LEARNING Luca Bortolussi Department of Mathematics and Geosciences University of Trieste Office 238, third floor, H2bis luca@dmi.units.it Trieste, Winter Semester

More information

CS 223B Computer Vision Problem Set 3

CS 223B Computer Vision Problem Set 3 CS 223B Computer Vision Problem Set 3 Due: Feb. 22 nd, 2011 1 Probabilistic Recursion for Tracking In this problem you will derive a method for tracking a point of interest through a sequence of images.

More information

Machine Learning and Pervasive Computing

Machine Learning and Pervasive Computing Stephan Sigg Georg-August-University Goettingen, Computer Networks 17.12.2014 Overview and Structure 22.10.2014 Organisation 22.10.3014 Introduction (Def.: Machine learning, Supervised/Unsupervised, Examples)

More information

Support Vector Machines

Support Vector Machines Support Vector Machines About the Name... A Support Vector A training sample used to define classification boundaries in SVMs located near class boundaries Support Vector Machines Binary classifiers whose

More information

Elliptical Head Tracker using Intensity Gradients and Texture Histograms

Elliptical Head Tracker using Intensity Gradients and Texture Histograms Elliptical Head Tracker using Intensity Gradients and Texture Histograms Sriram Rangarajan, Dept. of Electrical and Computer Engineering, Clemson University, Clemson, SC 29634 srangar@clemson.edu December

More information

CMPSCI 670: Computer Vision! Grouping

CMPSCI 670: Computer Vision! Grouping CMPSCI 670: Computer Vision! Grouping University of Massachusetts, Amherst October 14, 2014 Instructor: Subhransu Maji Slides credit: Kristen Grauman and others Final project guidelines posted Milestones

More information

SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014

SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014 SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014 SIFT SIFT: Scale Invariant Feature Transform; transform image

More information

Curling Stone Tracking by an Algorithm Using Appearance and Colour Features

Curling Stone Tracking by an Algorithm Using Appearance and Colour Features Proceedings of the World Congress on Electrical Engineering and Computer Systems and Science (EECSS 2015) Barcelona, Spain July 13-14, 2015 Paper No. 334 Curling Stone Tracing by an Algorithm Using Appearance

More information

Automatic nevi segmentation using adaptive mean shift filters and feature analysis

Automatic nevi segmentation using adaptive mean shift filters and feature analysis Automatic nevi segmentation using adaptive mean shift filters and feature analysis Michael A. King a, Tim K. Lee ab*, M. Stella Atkins a, David I. McLean c a Computing Science, Simon Fraser University,

More information

CS 2750: Machine Learning. Clustering. Prof. Adriana Kovashka University of Pittsburgh January 17, 2017

CS 2750: Machine Learning. Clustering. Prof. Adriana Kovashka University of Pittsburgh January 17, 2017 CS 2750: Machine Learning Clustering Prof. Adriana Kovashka University of Pittsburgh January 17, 2017 What is clustering? Grouping items that belong together (i.e. have similar features) Unsupervised:

More information

Project Report for EE7700

Project Report for EE7700 Project Report for EE7700 Name: Jing Chen, Shaoming Chen Student ID: 89-507-3494, 89-295-9668 Face Tracking 1. Objective of the study Given a video, this semester project aims at implementing algorithms

More information

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

Student (M.Tech, NITK Surathkal), Mangalore, Karnataka, , 3 VISION BASED TRACKING OF MOVING TARGET FOR AUTONOMOUS GROUND VEHICLE SangramK.Behera 1, Hemanth Kumar 2, Bharath.M.K 3, GokulM 4 and S.M.Vaitheeswaran 5 1 Student (M.Tech, NITK Surathkal), Mangalore, Karnataka,

More information

IN many visual trackers, a feature histogram of the target

IN many visual trackers, a feature histogram of the target IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. 34, NO. 4, APRIL 2012 695 Mean Shift Trackers with Cross-Bin Metrics Ido Leichter, Member, IEEE Abstract Cross-bin metrics have been

More information

Programming assignment 3 Mean-shift

Programming assignment 3 Mean-shift Programming assignment 3 Mean-shift 1 Basic Implementation The Mean Shift algorithm clusters a d-dimensional data set by associating each point to a peak of the data set s probability density function.

More information

Local Features: Detection, Description & Matching

Local Features: Detection, Description & Matching Local Features: Detection, Description & Matching Lecture 08 Computer Vision Material Citations Dr George Stockman Professor Emeritus, Michigan State University Dr David Lowe Professor, University of British

More information

The goals of segmentation

The goals of segmentation Image segmentation The goals of segmentation Group together similar-looking pixels for efficiency of further processing Bottom-up process Unsupervised superpixels X. Ren and J. Malik. Learning a classification

More information

Motion Estimation and Optical Flow Tracking

Motion Estimation and Optical Flow Tracking Image Matching Image Retrieval Object Recognition Motion Estimation and Optical Flow Tracking Example: Mosiacing (Panorama) M. Brown and D. G. Lowe. Recognising Panoramas. ICCV 2003 Example 3D Reconstruction

More information

Image key points detection and matching

Image key points detection and matching Image key points detection and matching Mikhail V. Medvedev Technical Cybernetics and Computer Science Department Kazan National Research Technical University Kazan, Russia mmedv@mail.ru Mikhail P. Shleymovich

More information