Tangent & normal vectors The arc-length parameterization of a 2D curve The curvature of a 2D curve

Similar documents
Math 32, August 20: Review & Parametric Equations

Updated: August 24, 2016 Calculus III Section Math 232. Calculus III. Brian Veitch Fall 2015 Northern Illinois University

Lecture 15. Lecturer: Prof. Sergei Fedotov Calculus and Vectors. Length of a Curve and Parametric Equations

Topic 5.1: Line Elements and Scalar Line Integrals. Textbook: Section 16.2

Curvature. Corners. curvature of a straight segment is zero more bending = larger curvature

Goals: Course Unit: Describing Moving Objects Different Ways of Representing Functions Vector-valued Functions, or Parametric Curves

Here are some of the more basic curves that we ll need to know how to do as well as limits on the parameter if they are required.

t dt ds Then, in the last class, we showed that F(s) = <2s/3, 1 2s/3, s/3> is arclength parametrization. Therefore,

Math 348 Differential Geometry of Curves and Surfaces

Directional Derivatives and the Gradient Vector Part 2

Background for Surface Integration

Kevin James. MTHSC 206 Section 15.6 Directional Derivatives and the Gra

Review 1. Richard Koch. April 23, 2005

ds dt ds 1 dt 1 dt v v v dt ds and the normal vector is given by N

Let be a function. We say, is a plane curve given by the. Let a curve be given by function where is differentiable with continuous.

Inverse and Implicit functions

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002

Directional Derivatives and the Gradient Vector Part 2

MATH11007 NOTES 12: PARAMETRIC CURVES, ARCLENGTH ETC.

. Tutorial Class V 3-10/10/2012 First Order Partial Derivatives;...

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics 1/15

MATH11007 NOTES 15: PARAMETRIC CURVES, ARCLENGTH ETC.

Math 5BI: Problem Set 2 The Chain Rule

Lecture 6: Chain rule, Mean Value Theorem, Tangent Plane

CS337 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics. Bin Sheng Representing Shape 9/20/16 1/15

INTRODUCTION TO LINE INTEGRALS

Shape Modeling and Geometry Processing

Measuring Lengths The First Fundamental Form

14.6 Directional Derivatives and the Gradient Vector

Let and be a differentiable function. Let Then be the level surface given by

Shape Modeling. Differential Geometry Primer Smooth Definitions Discrete Theory in a Nutshell. CS 523: Computer Graphics, Spring 2011

Lectures 19: The Gauss-Bonnet Theorem I. Table of contents

Lecture 15: Segmentation (Edge Based, Hough Transform)

Geometric Primitives. Chapter 5

Dr. Allen Back. Nov. 21, 2014

PARAMETRIC EQUATIONS AND POLAR COORDINATES

(Discrete) Differential Geometry

Solution 2. ((3)(1) (2)(1), (4 3), (4)(2) (3)(3)) = (1, 1, 1) D u (f) = (6x + 2yz, 2y + 2xz, 2xy) (0,1,1) = = 4 14

6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z.

What you will learn today

Lecture 11 Differentiable Parametric Curves

Visualizing Quaternions

Volumes of Solids of Revolution Lecture #6 a

PARAMETERIZATIONS OF PLANE CURVES

MATH 261 EXAM I PRACTICE PROBLEMS

ENGI Parametric & Polar Curves Page 2-01

Parallel Transport on the Torus

Parametric curves. Reading. Curves before computers. Mathematical curve representation. CSE 457 Winter Required:

Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers

Unit 13: Periodic Functions and Trig

Continuity and Tangent Lines for functions of two variables

10.2 Calculus with Parametric Curves

First of all, we need to know what it means for a parameterize curve to be differentiable. FACT:

MATH 2023 Multivariable Calculus

Mysterious or unsupported answers will not receive full credit. Your work should be mathematically correct and carefully and legibly written.

University of California, Berkeley

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces

3.9 LINEAR APPROXIMATION AND THE DERIVATIVE

Constrained Optimization and Lagrange Multipliers

Tangents of Parametric Curves

Math 113 Calculus III Final Exam Practice Problems Spring 2003

Practice problems from old exams for math 233

MTH 122 Calculus II Essex County College Division of Mathematics and Physics 1 Lecture Notes #11 Sakai Web Project Material

We have already studied equations of the line. There are several forms:

notes13.1inclass May 01, 2015

Parametric curves. Brian Curless CSE 457 Spring 2016

MAT1B01: Curves defined by parametric equations

10.2 Calculus with Parametric Curves

AP Calculus. Slide 1 / 213 Slide 2 / 213. Slide 3 / 213. Slide 4 / 213. Slide 4 (Answer) / 213 Slide 5 / 213. Derivatives. Derivatives Exploration

The Divergence Theorem

Tutorial 4. Differential Geometry I - Curves

CALCULUS II. Parametric Equations and Polar Coordinates. Paul Dawkins

Lecture 34: Curves defined by Parametric equations

AP Calculus. Extreme Values: Graphically. Slide 1 / 163 Slide 2 / 163. Slide 4 / 163. Slide 3 / 163. Slide 5 / 163. Slide 6 / 163

Parametric and Polar Curves

Parametric and Polar Curves

Mathematically, the path or the trajectory of a particle moving in space in described by a function of time.

Without fully opening the exam, check that you have pages 1 through 11.

We have already studied equations of the line. There are several forms:

10.1 Curves Defined by Parametric Equations

ECE 600, Dr. Farag, Summer 09

4.3, Math 1410 Name: And now for something completely different... Well, not really.

Differential Geometry MAT WEEKLY PROGRAM 1-2

Practice problems from old exams for math 233 William H. Meeks III December 21, 2009

Curves: We always parameterize a curve with a single variable, for example r(t) =

1 Vector Functions and Space Curves

15. PARAMETRIZED CURVES AND GEOMETRY

Mar. 20 Math 2335 sec 001 Spring 2014

Lagrange multipliers October 2013

1 extrema notebook. November 25, 2012

AQA GCSE Further Maths Topic Areas

Use Parametric notation. Interpret the effect that T has on the graph as motion.

: = Curves Defined by Parametric Equations. Ex: Consider the unit circle from Trigonometry. What is the equation of that circle?

2D Spline Curves. CS 4620 Lecture 18

Lower Bounds on Mean Curvature of Closed Curves Contained in Convex Boundaries

We can conclude that if f is differentiable in an interval containing a, then. f(x) L(x) = f(a) + f (a)(x a).

1. Fill in the right hand side of the following equation by taking the derivative: (x sin x) =

Math 575 Exam 3. (t). What is the chromatic number of G?

Transcription:

Local Analysis of 2D Curve Patches

Topic 4.2: Local analysis of 2D curve patches Representing 2D image curves Estimating differential properties of 2D curves Tangent & normal vectors The arc-length parameterization of a 2D curve The curvature of a 2D curve

Local Analysis of Image Patches: Outline As graph in 2D As curve in 2D As surface in 3D

Local Analysis of Image Patches: Outline As graph in 2D As curve in 2D As surface in 3D

Estimating Intensities & their Derivatives Don t go, or you ll miss out!

Estimating Intensities & their Derivatives Don t go, or you ll miss out!

Representing & Analysing2D Curves, why? Useful representation for: Object boundaries Isophoteregions (groups of pixels with the same intensity)

Representing & Analysing2D Curves, how? Math is our friend: Provides an unambiguous representation Enables computation of useful properties

2D Image Curves: Definition A parametric 2D curve is a continuous mapping γ: (a,b) -> R 2 where t -> (x(t), y(t))

2D Image Curves: Definition Example: a boundary curve t = pixel # along the boundary x(t) = x coordinate of the t th pixel y(t) = y coordinate of the t th pixel

2D Image Curves: Definition To fully describe a curve we need the two functions x(t)and y(t), called the Coordinate Functions.

2D Image Curves: Definition A closed2d curve is a continuous mapping γ: (a,b) -> R 2 where t -> (x(t), y(t)) such that (x(a), y(a)) = (x(b), y(b)).

Smooth 2D Curves A curve is smooth when...

Smooth 2D Curves A curve is smooth when all the derivatives of the Coordinate Functions exist

Derivatives of the Coordinate Functions The 1 st and 2 nd derivatives of x(t), y(t) are extremely informativeabout the shape of a curve.

Topic 4.2: Local analysis of 2D curve patches Representing 2D image curves Estimating differential properties of 2D curves Tangent & normal vectors The arc-length parameterization of a 2D curve The curvature of a 2D curve

The Tangent Vector Notation: γ(t) = (x(t), y(t)) γ(t) maps a number (t) to a 2D point (x(t), y(t)). This type of function is called a vector-valued function.

The Tangent Vector γ(t) Suppose we know γ(0). γ(0) = (x(0), y(0)) How can we approximate γ(t)?

The Tangent Vector γ(t) Suppose we know γ(0). γ(0) = (x(0), y(0)) How can we approximate γ(t)? hint?

The Tangent Vector γ(t) Suppose we know γ(0). γ(0) = (x(0), y(0)) How can we approximate γ(t)? Using the derivative (tangent)!

The Tangent Vector γ(t) Suppose we know γ(0). γ(0) = (x(0), y(0)) How can we approximate γ(t)? Using the derivative (tangent)!

The Tangent Vector γ(t) Prediction of γ(t) γ(0) = (x(0), y(0)) Good! But not great. Can we do any better? If so, how?

The Tangent Vector γ(t) Prediction of γ(t) γ(0) = (x(0), y(0)) Good! But not great. Add more information about the curve, like the 2 nd, 3 rd, or the n th derivative! Familiar?

The Tangent Vector γ(t) Prediction of γ(t) γ(0) = (x(0), y(0)) Good! But not great. Add more information about the curve, like the 2 nd, 3 rd, or the n th derivative! This is a Taylor-Series approximation

The Tangent Vector γ(t) Formally: the 1 st order Taylor-Series approximation to γ(t) near γ(0) is:, so γ(0)= (x(0), y(0))

The Tangent Vector γ(t) γ(0) Definition. The tangent vector at γ(t) is equal to the first derivative of the function, at that point. In this case: 1 st order Taylor- Series approximation of γ(t) at t=0

The Tangent Vector γ(t) γ(0) In general, the derivative of a vector valued function is the derivative of the n coordinate functions, so if The derivative of f at (t) is:

Effect of Curve Parameter on the Tangent We can parameterize a curve γin (infinitely) many different ways, for instance: 1. Make t the number of pixels between γ(0) and γ(t) 2. Make t the actual length of the curve between γ(0) and γ(t), in meters (or inches, or light-years).

Effect of Curve Parameter on the Tangent We can parameterize a curve γin (infinitely) many different ways, for instance: 1. Make t the number of pixels between γ(0) and γ(t) 2. Make t the actual length of the curve between γ(0) and γ(t), in meters (or inches, or light-years). But the key property is that the direction of the tangent remains unchanged, regardless of the scale of the parameter.

Effect of Curve Parameter on the Tangent The direction of the tangent remains unchanged, regardless of the scale of the parameter. Really? Can we prove it?

Effect of Curve Parameter on the Tangent Proof: Let s parameterize the curve γ in two ways: 1. Take t = the number of pixels between γ(0) and γ(t) 2. Take s = f(t) as the parameter, wheref(t) is simply any differentiable function.

Effect of Curve Parameter on the Tangent Proof: Let s parameterize the curve γ in two ways: 1. Take t = the number of pixels between γ(0) and γ(t) 2. Take s = f(t) as the parameter, wheref(t) is simply any differentiable function. In 1, we know the derivative of γ is simply

Effect of Curve Parameter on the Tangent Proof: Let s parameterize the curve γ in two ways: 1. Take t = the number of pixels between γ(0) and γ(t) 2. Take s = f(t) as the parameter, wheref(t) is simply any differentiable function. In 1, we know the derivative of γ is simply In 2, the chain rule tells us that if s=f(t) and γ(s) then: which correspond to

Effect of Curve Parameter on the Tangent Proof: Let s parameterize the curve γ in two ways: 1. Take t = the number of pixels between γ(0) and γ(t) 2. Take s = f(t) as the parameter, wheref(t) is simply any differentiable function. In 1, we know the derivative of γis simply In 2, the chain rule tells us that if s=f(t) and γ(s) then:

The Unit Tangent Vector Definition. The Unit Tangent is: The unit tangent vector does not depend on the choice of the parameter t

The Arc-Length of a Curve How can we approximate the length of a curve?

The Arc-Length of a Curve

The Arc-Length of a Curve Take small enough steps (of size t) and add!

The Arc-Length of a Curve Take small enough steps (of size t) and add!

The Arc-Length of a Curve

The Arc-Length of a Curve This is called a piece-wise-linear length approximation. And what if we make the steps smaller and smaller? t-> 0

The Arc-Length of a Curve Then we get the following definition! The arc-length s(t) of the curve γ(t) is given by:

The Arc-Length of a Curve For example, lets think about the circle What do we expect

The Arc-Length of a Curve For example, lets think about the circle Proportional to the radius and the number of pixels in the circle

The Arc-Length of a Curve Example: The arc length of a circle with radius r, whose curve equation can be written as: γ(t) = r ( cos(t), sin(t) ) then so unit vectors

The Arc-Length of a Curve Example: The arc length of a circle with radius r, whose curve equation can be written as: γ(t) = r ( cos(t), sin(t) ) Now, substituting on the definition, we get:

The Arc-Length of a Curve Example: The arc length of a circle with radius r, whose curve equation can be written as: γ(t) = r ( cos(t), sin(t) ) Now, substituting on the definition, we get: Proportional to the radius yes! Proportional to the number of pixels in the circle yes!

The Arc-Length of a Curve Now, can we parameterize the function γ(t) using the arc-length function itself?

The Arc-Length of a Curve Now, can we parameterize the function γ(t) using the arc-length function itself? Yes!

The Arc-Length of a Curve Now, can we parameterize the function γ(t) using the arc-length function itself? Yes! A parameterization γ(s) where the curve parameter is the arclength is (thoughtfully and originally) named the arc-length parameterization.

The Arc-Length of a Curve Now, can we parameterize the function γ(t) using the arc-length function itself? Yes! Lets use the circle again as an example. We know that the arclength of a circle is s(t) = rt, or for short s = rt. Which means that, so the arc-length parameterization is:

The Arc-Length of a Curve Arc-length parameterization of the circle. Using γ(s) = the following holds: γ(t) = (x(t), y(t)) t

The Arc-Length of a Curve Now, we know that the arc-length is We also know that an arc-length parameterization γ(s) is one where the curve parameter is the arc-length Knowing these two facts, a property we can derive is that γ(s) is an arc-length parameterization of a curve if and only if

The Arc-Length of a Curve γ(s) is an arc-length parameterization of a curve if and only if

The Arc-Length of a Curve γ(s) is an arc-length parameterization of a curve if and only if This is a very useful property of arc-length parameterized curves, because the tangent -estimated as the derivative of the curve-is always a unit-tangent!

The Unit Normal Vector Let s look at the normal vector now

The Unit Normal Vector Today we learnt that the unit tangent is How do we estimate the Unit Normal?

The Unit Normal Vector Today we learnt that the unit tangent is As the orthogonal vector to T(t). As the orthogonal vector to T(t). The (unit) normal vector N(t) is the counter-clockwise rotation of T(t) by 90 degrees.

The Unit Normal Vector Today we learnt that the unit tangent is As the orthogonal vector to T(t). As the orthogonal vector to T(t). The (unit) normal vector N(t) is the counter-clockwise rotation of T(t) by 90 degrees.

The Unit Normal Vector Aside: what are orthogonal vectors? Vectors aand bare orthogonal if and only if their dot product is zero. So if a= [a x, a y ], and b= [b x, b y ], then a and bare orthogonal if and only if: a x a y b x = a x b x + a y b y = 0 b y

The Moving Frame Putting the unit Tangent and the unit Normal together we get: The Moving Frame, defined as the pair of orthogonal vectors {T(t), N(t)}

The Moving Frame For example, the circle

The Moving Frame Noteworthy: 1. As we change the parameter t, the moving frame rotates 2. The fasterthe frame rotates, the more curved the curve is 3. The speed at which the moving frame is rotating can be estimated using a 1 st order Taylor-series near t=0.

Topic 4.2: Local analysis of 2D curve patches Representing 2D image curves Estimating differential properties of 2D curves Tangent & normal vectors The arc-length parameterization of a 2D curve The curvature of a 2D curve

Arc-Length Parameterization: T(s) & N(s) We know that: The unit tangent is: And that the unit normal is the 90-deg counter-clockwise rotation: Note that we use s as the parameter to denote arc-length parameterizations. And we arc-length parameterizations because the expressions are simpler (see last slide of this lecture for comparison).

Defining the Curvature at a Point Theorem. Definition of curvature. If s is the arc-length of a curve, then

Defining the Curvature at a Point The traditional way of writing the 1 st order Taylor approximation of the moving frame is: But if we use the curvature k(s), it becomes

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes:

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes: And the scaling constant is k(s)

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes: And the scaling constant is k(s) What is this constant saying?

Defining the Curvature at a Point The 1 st order Taylor-series approximation becomes: And the scaling constant is k(s) What is this constant saying? How much of the Normaldo we need to add to the Tangent T(0) to approximate the tangent at T(t).

Interpreting the Sign of the Curvature k(s)

Interpreting the Absolute Value of k(s) What is the intuition of the above equation then? The equation is saying, look we can approximate γ(s) (by approximating the Tangent and the Normal) using a circle that: passes through γ(0), is tangent to T(0),and passes through γ(s)

The Arc-Length Parameterization & k(s) Example: the curvature of a circle of radius r. Parametric equation: g(t) = r (cost, sin t). Arc-length parameterization First derivative Second derivative

The Circle of Curvature k(s)

k(t) for Non-Arc-Length Parameterizations