trajectory-based ball detection and tracking with aid of homography in broadcast tennis video

34
Trajectory-Based Ball Detection and Tracking with Aid of Homography in Broadcast Tennis Video Xinguo Yu, Nianjuan Jiang, Ee Luang Ang Present by komod Visual Communications and Image Processing 2007 Proc. of SPIE-IS&T Electronic Imaging, SPIE Vol. 6508

Upload: paniz

Post on 26-Jan-2016

44 views

Category:

Documents


1 download

DESCRIPTION

Trajectory-Based Ball Detection and Tracking with Aid of Homography in Broadcast Tennis Video. Xinguo Yu, Nianjuan Jiang, Ee Luang Ang. Visual Communications and Image Processing 2007 Proc. of SPIE-IS&T Electronic Imaging, SPIE Vol. 6508. Present by komod. Introduction. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Trajectory-Based Ball Detection and Tracking with Aid of Homography

in Broadcast Tennis Video

Xinguo Yu, Nianjuan Jiang, Ee Luang Ang

Present by komod

Visual Communications and Image Processing 2007

Proc. of SPIE-IS&T Electronic Imaging, SPIE Vol. 6508

Page 2: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Introduction

• The ball is the most important object in tennis (and in many kind of sports)

• Very challenging problem– Camera motion– presence of many ball-like objects– small size and the high speed of the ball– Object-indistinguishable

Page 3: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Introduction

• Method– Trajectory-based

• the ball is the “most active” object in tennis video• previous work : A Trajectory-based ball detection

and tracking algorithm in broadcast tennis video, Proc. of ICIP

– Homography• Goal

– find projection locations of the ball on the ground

– find landing positions

Page 4: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Introduction

Page 5: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Introduction

Page 6: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video
Page 7: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Feature Point Extraction• Court Segmentation

– Find the court color range and paint all the pixels in this range with a single color

– find the lines separating the audience from the playing field

• detecting the change pattern of color for each row and column of the image

– paint the audience area in the court color.

Page 8: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Feature Point Extraction

• Straight Line Detection– gridding Hough transform

• Court Fitting – Detect the net and use it as reference– find the intersection of lines

Page 9: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Homography Acquisition

• Standard Frame– whose lookat is the cluster center of all

lookats of all the frames in the considered clip

– The lookat of frame is a point in the real world that corresponds to the center of the frame

Page 10: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Homography Acquisition

• Disparity Measure of Two Court Images– For i = 1 to 9

• Measure Function– Let Cstd be the court in the standard frame and Ctrn

denote the transformed court from the segmented court in frame F

– For given H and F

Page 11: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Homography Acquisition

• Initial Matrix– transforms an image point X' (x1', y2', 1) to a

point X (x1, y2, 1) in another image– X = HX‘

• Tuning of Homography– The homograph matrix computed based on

feature points

– A small hough space enclosing it

Page 12: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Homography Acquisition

• Tuning procedure

• Frame transform

Page 13: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video
Page 14: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Ball Location In Hitting Frame

• Hitting frame detection– Find the sound emitted by the racket

hitting• M. Xu et al, Creating audio keywords for

event detection in soccer video, In Proc. of ICME

• Hitting racket detection– Maybe player tracking

Page 15: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video
Page 16: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Ball Candidate Detection

• Object segmentation from standard frame• Four sieve are used for non-ball object removal

– Court Sieve Θ1

• filter out audience area• filter out court lines

– Ball Size Sieve Θ2

• filter out the objects out of the ball-size range• homography from ground model to standard frame• use a range of allowable ball sizes (estimate error)

– Ball Color Sieve Θ3

• filter out the objects with too few ball color pixels

– Shape Sieve Θ4

• filter out objects out of the range of width-to-height ratio• 2.5 is suggested in previous paper

Page 17: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

– Each sieve is a Boolean function on domain Ο(F)

– The set of remaining objects is C(F)• C(F) = {o : o ∈O(F), Θi(o)=1 for i = 1 to 4}

• Candidate Classification– Three features are use

• Size, color, and distance from other objects

– The ball-candidates are classified into 3 Categories

Ball Candidate Detection

Page 18: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video
Page 19: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Candidate Trajectory Generation

• No detail explanation in this paper– X. Yu et al, Trajectory-based ball detection and

tracking of broadcast soccer video, IEEE Transactions on Multimedia, issue 6, 2006.

• Candidate Feature Plots (CFPs)– CFP-y– CFP-l

Page 20: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

• The algorithm is actually works on the CFP-l which are 3-D plots

Page 21: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Candidate Trajectory Generation

Page 22: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video
Page 23: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Trajectory Processing

• Trajectory Confidence Index– Let T be a candidate trajectory

– and λ1,λ2,…,λm, be all properties of trajectory T

– confidence index Ω(T)

Page 24: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Trajectory Processing

• Trajectory Discrimination

Page 25: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Trajectory Processing

• Ball Projection Location– y = an3 + bn2 + cn + d.

• Ball Land Detection– form a ball position function against

frame number i, y = f(i)– find the maximum of f '(i) between each

pair of hittings

Page 26: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Experimental Results

• 5 clips

• extracted from mpeg2 704x576

• average time for acquiring ball candidates

• ALGnew for a frame is 86.15s on a P4/1.7Ghz PC with 512MB RAM

• ALGold is 19.21s

Page 27: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Experimental Results

BPL

Page 28: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Experimental Results

Page 29: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Experimental Results

• average discrepancy of all detected balls from the groundtruth

previous result

Page 30: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Experimental Results• frames with inserted 3D projected virtual content

• Homography in home surveillance video

Page 31: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Conclusion and Future Works

• The previous algorithm mainly alleviated the challenges raised by causes besides camera motion

• The algorithm presented in this paper additionally counteracts the challenges brought to us by the camera motion

• The contributions of this paper are two-fold– it develops a procedure to robustly acquire an accurate

homograph matrix of each frame– it forms an improved version of ball detection and tracking

algorithm• Two future works

– evolve the algorithm into an end-to-end system for ball detection and tracking of broadcast tennis video

– analyze the tactics of players and winning-patterns, and hence produce rich indexing of broadcast tennis video by making use of the ball position

Page 32: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Any Question?

Page 33: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Thank You

Page 34: Trajectory-Based Ball Detection  and Tracking with Aid of Homography  in Broadcast Tennis Video

Experimental Results

• 7 segments, total 120 s, mpeg1 video, Men’s Final of FRENCH OPEN 2003

back