Top Banner
Tracking and Motion 정정정정정정정정정정 정정정
34

Tracking and Motion

Jan 08, 2016

Download

Documents

Vea

Tracking and Motion. 정보산업공학협동과정 정우정. Contents. The Basics of Tracking Corner Finding Subpixel Corners Optical Flow Mean-Shift and Camshift Tracking Motion Templates Estimators The Condensation Algorithm. example. … /opencv/samples/c/ lkdemo.c (optical flow) - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tracking and Motion

Tracking and Motion

정보산업공학협동과정정우정

Page 2: Tracking and Motion

Contents

The Basics of Tracking Corner Finding Subpixel Corners Optical Flow Mean-Shift and Camshift Tracking Motion Templates Estimators The Condensation Algorithm

Page 3: Tracking and Motion

example

…/opencv/samples/c/ lkdemo.c (optical flow) camshiftdemo.c (mean-shift tracking of colore

d regions) motempl.c (motion template) kalman.c (Kalman filter)

Page 4: Tracking and Motion

The Basics of Tracking

Understand the motion of object:identification and modeling

IdentificationTo finding the object of interest from the video stream.

ModelingProviding us with noisy measurement of the object’s actual position.

Page 5: Tracking and Motion

Corner Finding (1/2)

Harris corner Shi and Tomasi

Page 6: Tracking and Motion

Corner Finding (2/2)

image: input image (single-channel)

eigImage, tempImage: scratch by the algorithm

corners: result points after the algorithm

corner_count: maximum number of points

quality_level: minimal eigenvalue (0<x<1)

mask: usual imageblock_size: pixeluse_harris: Harris or Shi-Tomasik: weighting coefficient

Page 7: Tracking and Motion

Subpixel Corners (1/2)

Page 8: Tracking and Motion

Subpixel Corners (2/2)

image: inputcorners: initial guesses for

the corner locationcount: compute pointwin: size of windowzero_zone: window that will

not considercriteria: user-specified ter

mination criterion

Page 9: Tracking and Motion

Optical Flow (1/9)

Page 10: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (2/9)

Page 11: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (3/9)

Page 12: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (4/9)

Page 13: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (5/9)

Page 14: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (6/9)

Page 15: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (7/9)

Page 16: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (8/9)

Page 17: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (8’/9)

Page 18: Tracking and Motion

Optical Flow (Lucas-Kanade Method) (9/9)

imgA: initial imageimgB: final imagepyrA, pyrB: buffers allocated to store the

pyramid imagesfeaturesA: point for motionfeaturesB: new location point from featur

esAcount: number of points int the featureAwinSize: window sizelevel: depth of the stack of imagesstatus: 0/1 correspondingtrack_error: error valuecriteria: user-specified termination criteri

onflags: allow for some fine control

Page 19: Tracking and Motion

Mean-Shift and Camshift Tracking (1/3)

Camshift: Continuously Adaptive Mean Shift Algorithm

Page 20: Tracking and Motion

Mean-Shift and Camshift Tracking (2/3)

Page 21: Tracking and Motion

Mean-Shift and Camshift Tracking (3/3)

prob_image: density of probable locations

window: kernel windowcriteria: user-specified ter

mination criterioncomp: converged search wi

ndow locationbox: contain the newly resi

zed box

Page 22: Tracking and Motion

Motion Templates (1/5)

Page 23: Tracking and Motion

Motion Templates (2/5)

Page 24: Tracking and Motion

Motion Templates (3/5)

Page 25: Tracking and Motion

Motion Templates (4/5)

Page 26: Tracking and Motion

Motion Templates (5/5)

Page 27: Tracking and Motion

Estimators

Page 28: Tracking and Motion

Estimators (The Kalman Filter)

Page 29: Tracking and Motion

Estimators (The Kalman Filter)

Page 30: Tracking and Motion

Estimators (The Kalman Filter)

Page 31: Tracking and Motion

Estimators (The Kalman Filter)

Page 32: Tracking and Motion

Estimators (The Kalman Filter)

Page 33: Tracking and Motion

The Condensation Algorithm

Page 34: Tracking and Motion

감사합니다 (Q&A)