Hoip10 presentación seguimiento de objetos_vicomtech

26
Marcos Nieto ([email protected] ) Hands-on Image Processing 2010 (HOIP’10) Dr.-Ing. Marcos Nieto Doncel Investigador/Researcher [email protected] Probabilistic object tracking for global optimization

description

Presentación de Vicomtech sobre seguimiento de objetos realizada durante las jornadas HOIP 2010 organizadas por la Unidad de Sistemas de Información e Interacción TECNALIA. Más información en http://www.tecnalia.com/es/ict-european-software-institute/index.htm

Transcript of Hoip10 presentación seguimiento de objetos_vicomtech

Page 1: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

Dr.-Ing. Marcos Nieto DoncelInvestigador/Researcher

[email protected]

Probabilistic object tracking for global optimization

Page 2: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

Outline

2

1. Introduction

2. Bayesian filtering

3. Particle filters• Human tracking• Multiple object tracking

4. MCMC• iToll project

5. Conclusions

Page 3: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

1.- Introduction

Object tracking in video-surveillance applications

Estimate properties of the imaged objects

Propagate knowledge through time

Multiple object tracking is a challenge

3

W

H

(x0,y0)

H L

W

(x0,y0)

Page 4: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

2.- Bayesian filtering

Model the problem as a propagation of random variablesthrough time

Each property is represented by a random variable

The set of properties define the object at time t: state vector

4

W

H

(x0,y0)

W

H

x0y0

Page 5: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

2.- Bayesian filtering

Infererence: estimate the values of the state vector (reality)based on a sequence of observations (images) applyinguncertainty models

Observation model: how the object is expected to appear inimages

• Observation equation: p(zk|xk)

Dynamic model: what type of motion the object is expected toshow?

• Dynamic equation: p(xk|xk-1)

Find posterior distribution p(xk|z1:k) and obtain a point-estimatep(xk|z1:k) -> xk

• Mean, robust-mean, mode, median, etc.

5

Page 6: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

2.- Bayesian filtering

6

K-1 K K+1 TIME

MEASUREMENTS

(VISIBLE)

STATES

(HIDDEN)xk-1

zk-1

xk

zk

xk+1

zk+1

p(xk|xk-1): Dynamic model

p(zk|xk): Observation model

Page 7: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

2.- Bayesian filtering

Bayes’ rule

Combine observation and prediction models

Under some assumptions, one can obtain the optimal solution tothis problem

• Kalman filter if distributions are Gaussians and models are linear

However, typical video-surveillance problems are highly non-linearand/or non-Gaussian

• Sub-optimal solutions need to be computed

7

Observation Prior

Page 8: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

3.- Particle filters

Particle filters

Sequential Monte Carlo (SMC) method, aka

• Condensation algorithm, bootstrap filter, survival of the fittest…

It is a technique for implementing a recursive Bayesianfilter by representing the posterior density as a set ofsamples or particles

8

WEIGHTED UNWEIGHTED

Page 9: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

3.- Particle filters

9

W

H

(x0,y0)

W

H

x0y0

Understanding particles

Each particle represents a hypothesis of the state-vector

The set of particles represents the “reliability” of each region of thespace

The combination of particles lead to the best estimate

Page 10: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

3.- Particle filters

10

Importance sampling (weighted particles)

CONDENSATION, SIS, SIR

Page 11: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

3.- Particle filters / Human tracking

11

ELLIPTICAL MODEL

Marcos Nieto, Carlos Cuevas and Luis Salgado, “Measurement-based Reclustering for

Multiple Object Tracking with Particle Filters,” in IEEE Proc. International Conference on

Image Processing (ICIP2009).

Page 12: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

Observation model

3.- Particle filters / Human tracking

12

Ratio between inside pixels and ellipse area

Ratio between inside and total pixels

Compactness around center of the ellipse

Marcos Nieto, Carlos Cuevas and Luis Salgado, “Measurement-based Reclustering for

Multiple Object Tracking with Particle Filters,” in IEEE Proc. International Conference on

Image Processing (ICIP2009).

Page 13: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

3.- Particle filters / Human tracking

13

Multiple objects

Marcos Nieto, Carlos Cuevas and Luis Salgado, “Measurement-based Reclustering for

Multiple Object Tracking with Particle Filters,” in IEEE Proc. International Conference on

Image Processing (ICIP2009).

Page 14: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

3.- Particle filters / Human tracking

14

Carlos R. del Blanco, Fernando Jaureguizar and Narciso García, “Visual Tracking of

Multiple Interacting Objects Through Rao-Blackwellized Data Association Particle

Filtering,” in IEEE Proc. International Conference on Image Processing (ICIP2010).

Page 15: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

3.- Particle filters / Human tracking

15

R. Mohedano, N. García, “Robust Multi-Camera 3D Tracking from Mono-Camera 2D

Tracking using Bayesian Association”, IEEE Trans. Consumer Electronics, vol. 56, no. 1,

pp. 1-8, Feb. 2010.

Page 16: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC

16

Approximation with unweighted particles

Markov Chain Monte Carlo (MCMC)

Metropolis-Hastings algorithm to generate a Markov Chain thatapproximates to the posterior

Metropolis-Hastings allows

obtaining samples for an

arbitrary distribution by making

a chain which accepts or

rejects samples

Page 17: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC

17

Approximation with unweighted particles

MCMC methods improve the results obtained by importancesampling strategies for high dimensional spaces

MCMC is therefore recommended to be used when the dimensionsof the problem increase

Metropolis-Hastings is the most typically used generic samplingalgorithm for MCMC

Other alternatives

• Slice sampler

• Gibbs sampler

• Levenberg-Marquardt

Page 18: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC / Vehicle tracking

18

iToll project

Page 19: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC / Vehicle tracking

19

iToll project

Variable perspective

Variable vehicle sizes, appearance and motion

Adverse illumination and weather conditions

Real-time operation

Page 20: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC / Vehicle tracking

20

Page 21: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

Inferring 3D volume from 2D observations

There is a projective ambiguity that can not be solved analytically

MCMC-based approach

• Combination of projective geometry constraints

• Temporal coherence

• Prior knowledge about vehicle configurations

4.- MCMC / Vehicle tracking

21

There are 3D infinite

volumes that project onto

the same 2D shape

But only one is the right

one!

Page 22: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC / Vehicle tracking

22

Page 23: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC / Vehicle tracking

23

Page 24: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

4.- MCMC / Vehicle tracking

24

Page 25: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10)

5.- Conclusions

25

Object tracking can be modelled as an probabilisticinference problem

Uncertainty is mathematically handled

Potentially any problem can be tackled like this!

Particle filters are a popular tool to solve non-linear andanalytically intractable inference problems

Importance sampling algorithms (CONDENSATION)

MCMC methods represents a step forward solving high-dimensional problems

Optimization technique could be applied to reduce thecomputational complexity and allow real-time performance

Page 26: Hoip10 presentación seguimiento de objetos_vicomtech

Marcos Nieto ([email protected]) Hands-on Image Processing 2010 (HOIP’10) 26

Dr.-Ing. Marcos Nieto DoncelInvestigador/Researcher

[email protected]

http://marcosnieto.zymichost.com/