Trajectory of pingpong ball + Racket detection Replicating trajectory of the ball by interpolating 3D coordinates.

Slides:



Advertisements
Similar presentations
Steady-state heat conduction on triangulated planar domain May, 2002
Advertisements

Circular interpolation
1 Computer Graphics Chapter 8 3D Transformations.
Bivariate and Partial Correlations. X (HT) Y (WT) The Graphical View– A Scatter Diagram X’ Y’
CMPE 466 COMPUTER GRAPHICS
Functions. Instructor: Dr. Tarek Emam Location: C5 301-right Office hours: Sunday: from 1:00 pm to 3:00pm Monday : from 2:30 pm to 4:30 pm E- mail:
3D Coordinate Systems and Transformations Revision 1
Matlab Matlab is a powerful mathematical tool and this tutorial is intended to be an introduction to some of the functions that you might find useful.
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
The Matrix Market The Matrix Market is an interesting collection of matrices from a variety of applications.
Multiplexer as a Universal Function Generator
Today’s Lesson: What: transformations (reflections)... Why: To perform reflections of figures on the coordinate plane. What: transformations (reflections)...
Abstract Overall Algorithm Target Matching Error Checking: By comparing what we transform from Kinect Camera coordinate to robot coordinate with what we.
Chapter 3 System of Linear Equations. 3.1 Linear Equations in Two Variables Forms of Linear Equation Forms of Linear Equation  ax + by = c (a, b, c are.
The Coordinate System Locating Points Plotting Points Intro to Algebra.
4.4 Transformations with Matrices
12.6 Matrices & Transformations. Graphical transformations (reflections & rotations) can be interpreted using matrices. (point) general or specific 
Reduced Row Echelon Form Matrices and the Calculator.
 Experiment 07 Function Dr. rer.nat. Jing LU
Relation Input Output Function Domain Range Scatter Plot Linear Equation x - intercept y- intercept Slope Rise Run.
Lesson 1.8 Coordinate Plane How do you identify and plot points on a graph?
MA 08 transformations 2.3 Reflections. 10/7/ Reflections2 Topic/Objectives Reflection Identify and use reflections in a plane. Understand Line.
Reflections Section 9.3.
Do Now 10/26/10 In your notebook, explain how you know a function is a function. Then answer if the following three tables are functions or not. x
Hydroinformatics: Session4 Dr Ivan Stoianov Room 328B Dr Andrew Ireson (Room 304) Mr Juan Rodriguez-Sanchez (411A) Mr Baback.
Work on an Incline Lab (name and period).
CS 376 Introduction to Computer Graphics 02 / 16 / 2007 Instructor: Michael Eckmann.
The Coordinate Plane The coordinate plane is formed when two number lines (called axis) intersect at right angles. The horizontal axis is called the x-axis.
The Hong Kong Polytechnic University Industrial Centre 1 MatLAB Lesson 4 : Polynomial Edward Cheung Room W311g 2008.
Low Speed Airfoil Design Joan Puig Project Goals ● Maximize L/D ● Easy to build ● Keep Cm at a value that is not going to make the airplane unstable.
Sec 1.5 Scatter Plots and Least Squares Lines Come in & plot your height (x-axis) and shoe size (y-axis) on the graph. Add your coordinate point to the.
Graphing With Coordinates
Objective: Plot points and lines on a coordinate plane. Standards Addressed: G: Represent relationships with tables or graphs in the coordinate plane.
The Computer Vision Game Assistant C H E C K E R S M A T E S Levante Savo, Camelia Popa, Serban Meza, Oscar Medina, Ross Foley.
Drill #16 List the relation (set of ordered pairs) and the domain and range of the following mapping: Draw a mapping, and state the domain and range.
Reflection Yes No. Reflection Yes No Line Symmetry.
1 Software Reliability Analysis Tools Joel Henry, Ph.D. University of Montana.
3.1.  Algebraic Functions = polynomial and rational functions. Transcendental Functions = exponential and logarithmic functions. Algebraic vs. Transcendental.
4.1 The Coordinate Plane In mathematics, points are located in reference to two perpendicular lines called axes.
How to Read, Develop, and Interpret GRAPHS! OBSERVATIONS: often are recorded in a data table. We INTERPRET our data table by making INFERENCES and PREDICTIONS.
Cylinders and Quadratic Surfaces A cylinder is the continuation of a 2-D curve into 3-D.  No longer just a soda can. Ex. Sketch the surface z = x 2.
Computer Graphics 3D Transformations. Translation.
4-4 Geometric Transformations with Matrices Objectives: to represent translations and dilations w/ matrices : to represent reflections and rotations with.
Section 9.2 Adding and Subtracting Matrices Objective: To add and subtract matrices.
Objective: Students will be able to represent translations, dilations, reflections and rotations with matrices.
Lesson 5.2 Perimeter / area. Obj: to calculate Perimeter + area on a coordinate plane Rectangle P = 2L + 2W A = L x W Square P = 4 x S A = S 2.
Reflections Chapter 3 Section 7. Reflections A reflection – is a transformation that flips an image over a line. o This line is called the line of reflection.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 15 General Least Squares and Non- Linear.
 A basic equation is made of three parts, coefficients, variables, and the constants.  The coefficient is the number before the variable  The variable.
Do Now: #16 on p.518 Find the length of the curve. Evaluate numerically…
Visualization Recreate the ping pong scene in 3D using ball and racket coordinates.
Improving Matlab Performance CS1114
How to Read, Develop, and Interpret GRAPHS!  OBSERVATIONS: often are recorded in a data table  INTERPRET (make inferences of) your  DATA TABLE by performing.
 2.3: Reflections. What is a Reflection?  Reflection or flip is a transformation in which a figure is reflected on a line called the line of reflection.
COMPOSITIONS WITH TRANSFORMATIONS. COMPOSITIONS Definition: The nesting of two or more processes to form a single new rule. Composition of Transformations.
What Biodiverse: spatial analysis of diversity using indices WebBiodiverse: a web layer TOLKIN: systematic and phylogenetic (tree of life) research.
Chapter 9.2 Reflections GEOM 22.0 Students know the effect of rigid motions on figures in the coordinate plane and space, including reflections.
Types of Rigid Motion Translation Rotation Reflection Objective - To describe and interpret translations and reflections in the coordinate plane.
 Graphs are the best way to visually represent relationships between two variables.  Y-AXIS (VERTICAL)  for our purposes this will always be distance.
Warm Up. True or False? 1.A reflection preserves angle measure. 2.A reflection preserves segment length. 3.A reflection preserves orientation. False True.
Graphs and Functions Chapter 5. Introduction  We will build on our knowledge of equations by relating them to graphs.  We will learn to interpret graphs.
4.1 NOTES. x-Axis – The horizontal line on the coordinate plane where y=0. y-Axis – The vertical line on the coordinate plane where x=0.
12.1 Three-Dimensional Coordinate System. A three-dimensional coordinate system consists of:  3 axes: x-axis, y-axis and z-axis  3 coordinate planes:
Apply and extend previous understandings of numbers to the system of rational numbers. 6.NS.6.
THE SCIENTIFIC METHOD “Knowledge comes from asking the right questions.”
Daily Vocabulary Coefficient matrix Matrix of constants.
Drawing Triangles.
Transformations of curves
Using Matrices with Transformations
Space groups Start w/ 2s and 21s 222.
Presentation transcript:

Trajectory of pingpong ball + Racket detection Replicating trajectory of the ball by interpolating 3D coordinates.

Purpose –Interpolation of ball trajectory. Result data of “3D transformation” –Detection of pingpong rackets. –Data ready for visualisation. CSV(comma seperated value)

Realisation Tools: –Matlab 2010: Easy to use matrix calculations Built-in interpolation functions –Perl: XML -> CSV Easy to transform dataformats Information: –Matlab help, tutorials, internet Blackbox for end user: –XML -> -> Data for visualisation BlackBox

Implementation Blackbox uses 5 steps –Step 1: XML -> Matlab matrix –Step 2: Detectionof curves –Step 3: Spline generation –Step 4: Detection of ping pong rackets –Step 5: Data ready for visualisation

Implementation Blackbox in detail: # steps –Step 1: xml -> csv -> matlab matrix 1.Perscript called from within matlab –xml -> csv –Status = dos(‘perl perlscript.pl’) 2.Matlab –csv -> matlab matrix –readcsv(“nameFile”)

Implementation –Step 2: Detection of curves Curve? –Set of 3D coordinates Why? –Direction and position of the ball –Position of pingpong racket Detection: –Input: 2D matrix [X;Y;Z] –Method: »Minimal: direction change on x-axis »Optional: + direction change on y-axis –Direction changes are indicated with a flag –Result:

Implementation Flag = -1 start and beginning x-axis & y-axis

Implementation –Step 3: Spline generation Purpose: –Replecating trajectory of the ball »Interpolating givin coordinates –Speed of ball »Constant speed »Variable speed Draw spline for each detected curve. Each curve has two splines –XY plane & YZ plane Merge the two splines Append coordinates Time stamps

DemoResult.csv

Interpolation

Implementation –Step 4: Detection of rackets Change of direction on X-axis Result of Step 3 Time stamps –Step 5: Data ready for visualisation Matrices -> Ballc.csv & Racketc.csv –Example

Conclusion XML of 3D coordinates interpolated Result data ready for visualisation Room for improvement