Robert Collins Robert Collins CSE486, Penn State CSE486, Penn State Appearance-Based Tracking Lecture 29: Video Tracking: Mean-Shift

Similar documents
Robert Collins CSE598G. More on Mean-shift. R.Collins, CSE, PSU CSE598G Spring 2006

Vision based Vehicle Tracking using a high angle camera

Mean-Shift Tracking with Random Sampling

Practical Tour of Visual tracking. David Fleet and Allan Jepson January, 2006

Green = 0,255,0 (Target Color for E.L. Gray Construction) CIELAB RGB Simulation Result for E.L. Gray Match (43,215,35) Equal Luminance Gray for Green

A Study on SURF Algorithm and Real-Time Tracking Objects Using Optical Flow

Kernel-Based Hand Tracking

Visualization and Feature Extraction, FLOW Spring School 2016 Prof. Dr. Tino Weinkauf. Flow Visualization. Image-Based Methods (integration-based)

HSI BASED COLOUR IMAGE EQUALIZATION USING ITERATIVE n th ROOT AND n th POWER

OBJECT TRACKING USING LOG-POLAR TRANSFORMATION

BCC Multi Stripe Wipe

A Real Time Hand Tracking System for Interactive Applications

Image Segmentation and Registration

Feature Tracking and Optical Flow

Computational Foundations of Cognitive Science

Tracking Pedestrians using Local Spatio-temporal Motion Patterns in Extremely Crowded Scenes

Template-based Eye and Mouth Detection for 3D Video Conferencing

Tracking in flussi video 3D. Ing. Samuele Salti

A Proposal for OpenEXR Color Management

Image Gradients. Given a discrete image Á Òµ, consider the smoothed continuous image ܵ defined by

An Active Head Tracking System for Distance Education and Videoconferencing Applications

A Learning Based Method for Super-Resolution of Low Resolution Images

Machine vision systems - 2

Colour Image Segmentation Technique for Screen Printing

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

Canny Edge Detection

Image Normalization for Illumination Compensation in Facial Images

Real Time Target Tracking with Pan Tilt Zoom Camera

Spatio-Temporal Nonparametric Background Modeling and Subtraction

Distributed Vision Processing in Smart Camera Networks

A Comparative Study between SIFT- Particle and SURF-Particle Video Tracking Algorithms

A Computer Vision System on a Chip: a case study from the automotive domain

Object Tracking System Using Motion Detection

CBIR: Colour Representation. COMPSCI.708.S1.C A/P Georgy Gimel farb

Part-Based Recognition

Assessment of Camera Phone Distortion and Implications for Watermarking

Assessment. Presenter: Yupu Zhang, Guoliang Jin, Tuo Wang Computer Vision 2008 Fall

Comparison of different image compression formats. ECE 533 Project Report Paula Aguilera

Wireless Networking Trends Architectures, Protocols & optimizations for future networking scenarios

AN IMPROVED DOUBLE CODING LOCAL BINARY PATTERN ALGORITHM FOR FACE RECOGNITION

MVA ENS Cachan. Lecture 2: Logistic regression & intro to MIL Iasonas Kokkinos Iasonas.kokkinos@ecp.fr

DYNAMIC RANGE IMPROVEMENT THROUGH MULTIPLE EXPOSURES. Mark A. Robertson, Sean Borman, and Robert L. Stevenson

Digital Image Fundamentals. Selim Aksoy Department of Computer Engineering Bilkent University

A System for Capturing High Resolution Images

Automatic 3D Reconstruction via Object Detection and 3D Transformable Model Matching CS 269 Class Project Report

COLOR-BASED PRINTED CIRCUIT BOARD SOLDER SEGMENTATION

Scanners and How to Use Them

APPLICATIONS AND USAGE

Android Ros Application

Enhanced LIC Pencil Filter

Tracking of Small Unmanned Aerial Vehicles

Segmentation & Clustering

Optical Flow. Shenlong Wang CSC2541 Course Presentation Feb 2, 2016

Color image processing: pseudocolor processing

CS171 Visualization. The Visualization Alphabet: Marks and Channels. Alexander Lex [xkcd]

HANDS-FREE PC CONTROL CONTROLLING OF MOUSE CURSOR USING EYE MOVEMENT

Module II: Multimedia Data Mining

The Lighting Effects Filter

Implementation of Canny Edge Detector of color images on CELL/B.E. Architecture.

EFFICIENT VEHICLE TRACKING AND CLASSIFICATION FOR AN AUTOMATED TRAFFIC SURVEILLANCE SYSTEM

Blind Deconvolution of Barcodes via Dictionary Analysis and Wiener Filter of Barcode Subsections

Environmental Remote Sensing GEOG 2021

(Refer Slide Time: 06:10)

Bildverarbeitung und Mustererkennung Image Processing and Pattern Recognition

A Short Introduction to Computer Graphics

Overview. Raster Graphics and Color. Overview. Display Hardware. Liquid Crystal Display (LCD) Cathode Ray Tube (CRT)

Perception of Light and Color

Fall detection in the elderly by head tracking

Video-Rate Stereo Vision on a Reconfigurable Hardware. Ahmad Darabiha Department of Electrical and Computer Engineering University of Toronto

Object class recognition using unsupervised scale-invariant learning

Lecture 3: Linear methods for classification

Vehicle Tracking Using On-Line Fusion of Color and Shape Features

Otis Photo Lab Inkjet Printing Demo

Visual Tracking. Frédéric Jurie LASMEA. CNRS / Université Blaise Pascal. France. jurie@lasmea.univ-bpclermoaddressnt.fr

Tracking and Recognition in Sports Videos

Jitter Measurements in Serial Data Signals

An Experimental Comparison of Online Object Tracking Algorithms

An Iterative Image Registration Technique with an Application to Stereo Vision

Face Recognition in Low-resolution Images by Using Local Zernike Moments

Taking Inverse Graphics Seriously

QUALITY TESTING OF WATER PUMP PULLEY USING IMAGE PROCESSING

Multivariate data visualization using shadow

Cloud tracking with optical flow for short-term solar forecasting

J. P. Oakley and R. T. Shann. Department of Electrical Engineering University of Manchester Manchester M13 9PL U.K. Abstract

High Quality Image Deblurring Panchromatic Pixels

High Definition (HD) Image Formats for Television Production

Bi-directional Tracking using Trajectory Segment Analysis

Video compression: Performance of available codec software

3D Interactive Information Visualization: Guidelines from experience and analysis of applications

Virtual Mouse Using a Webcam

Object Recognition and Template Matching

PHOTOGRAMMETRIC TECHNIQUES FOR MEASUREMENTS IN WOODWORKING INDUSTRY

WP1: Video Data Analysis

Crack Detection in Concrete Railway Sleeper

Convolution. 1D Formula: 2D Formula: Example on the web:

Segmentation of building models from dense 3D point-clouds

Tracking Distributions with an Overlap Prior

VEHICLE LOCALISATION AND CLASSIFICATION IN URBAN CCTV STREAMS

A Genetic Algorithm-Evolved 3D Point Cloud Descriptor

Digital Image Processing EE368/CS232

Transcription:

Appearance-Based Tracking current frame + previous location Lecture 29: Video Tracking: Mean-Shift likelihood over object location current location appearance model (e.g. image template, or Mode-Seeking (e.g. mean-shift; Lucas-Kanade; particle filtering) color; intensity; edge histograms) Histogram Appearance Models Motivation to track non-rigid objects, (like a walking person), it is hard to specify an explicit 2D parametric motion model. Appearances of non-rigid objects can sometimes be modeled with color distributions Appearance via Color Histograms R G discretize B Color distribution (1D histogram normalized to have unit weight) R = R << (8 - nbits) G = G << (8 - nbits) B = B << (8-nbits) Smaller Color Histograms Total histogram size is (2^(8-nbits))^3 example, 4-bit encoding of R,G and B channels yields a histogram of size 16*16*16 = 4096. Color Histogram Example Histogram information can be much much smaller if we are willing to accept a loss in color resolvability. red green blue Marginal R distribution R G Marginal G distribution B discretize R = R << (8 - nbits) G = G << (8 - nbits) B = B << (8-nbits) Marginal B distribution Total histogram size is 3*(2^(8-nbits)) example, 4-bit encoding of R,G and B channels yields a histogram of size 3*16 = 48. 1

Normalized Color (r,g,b) (r,g,b ) = (r,g,b) / (r+g+b) The mean-shift algorithm is an efficient approach to tracking objects whose appearance is defined by color. (not limited to only color, however. Could also use edge orientations, texture, motion) Normalized color divides out pixel luminance (brightness), leaving behind only chromaticity (color) information. The result is less sensitive to variations due to illumination/shading. Mean-Shift What is? A tool for: Finding modes in a set of data samples, manifesting an underlying probability density function (PDF) in RN PDF in feature space Color space Scale space Non-parametric Actually anydensity feature space you can conceive Estimation Discrete PDF Representation Data Non-parametric Density GRADIENT Estimation () PDF Analysis 2

Using Mean-Shift on Color Models Two approaches: 1) Create a color likelihood image, with pixels weighted by similarity to the desired color (best for unicolored objects) 2) Represent color distribution with a histogram. Use mean-shift to find region that has most similar distribution of colors. Mean-shift on Weight Images Ideally, we want an indicator function that returns 1 for pixels on the object we are tracking, and 0 for all other pixels Instead, we compute likelihood maps where the value at a pixel is proportional to the likelihood that the pixel comes from the object we are tracking. Computation of likelihood can be based on color texture shape (boundary) predicted location 3

Mean-Shift Tracking Let pixels form a uniform grid of data points, each with a weight (pixel value) proportional to the likelihood that the pixel is on the object we want to track. Perform standard mean-shift algorithm using this weighted set of points. x = a K(a-x) w(a) (a-x) a K(a-x) w(a) Example: Face Tracking using Mean -Shift Nice Property Running mean-shift with kernel K on weight image w is equivalent to performing gradient ascent in a (virtual) image formed by convolving w with some shadow kernel H. Note: mode we are looking for is mode of location (x,y) likelihood, NOT mode of the color distribution! Bradski s CamShift Gray Bradski, Computer Vision Face Tracking for use in a Perceptual User Interface, IEEE Workshop On Applications of Computer Vision, Princeton, NJ, 1998, pp.214-219. X,Y location of mode found by mean-shift. Z, Roll angle determined by fitting an ellipse to the mode found by mean-shift algorithm. CamShift CamShift Applications From Gary Bradski Flight simulator Fast motion Distractors Quake interface 4

Using Mean-Shift on Color Models Two approaches: 1) Create a color likelihood image, with pixels weighted by similarity to the desired color (best for unicolored objects) Target Representation Choose a reference target model Represent the model by its PDF in the feature space Choose a feature space 0.35 2) Represent color distribution with a histogram. Use mean-shift to find region that has most similar distribution of colors. Probability 0.3 Quantized Color Space 0.25 0.2 0.15 0.1 0.05 0 1 2 3... m color Kernel Based Object Tracking, by Comaniniu, Ramesh, Meer PDF Representation Comparing Color Distributions Bhattacharya Distance: Given an n-bucket model histogram {mi i=1,,n} and data histogram {di i=1,,n}, we follow Comanesciu, Ramesh and Meer * to use the distance function: n (m,d) = 1 mi d i i 1 Why? 1) it shares optimality properties with the notion of Bayes error 2) it imposes a metric structure 3) it is relatively invariant to object size (number of pixels) 4) it is valid for arbitrary distributions (not just Gaussian ones) *Dorin Comanesciu, V. Ramesh and Peter Meer, Real-time Tracking of Non-Rigid Objects using, IEEE Conference on Computer Vision and Pattern Recognition, Hilton Head, South Carolina, 2000 (best paper award). Glossing over the Details Spatial smoothing of similarity function by introducing a spatial kernel (Gaussian, box filter) Take derivative of similarity with respect to colors. This tells what colors we need more/less of to make current hist more similar to reference hist. Result is weighted mean shift we used before. However, the color weights are now computed on-the-fly, and change from one iteration to the next. Feature space: 16 16 16 quantized RGB Target: manually selected on 1st frame Average mean-shift iterations: 4 5

Partial occlusion Distraction Motion blur The man himself Feature space: 128 128 quantized RG Feature space: 128 128 quantized RG 6