local analysis of 2d curve patches local analysis of 2d
play

Local Analysis of 2D Curve Patches Local Analysis of 2D Curve - PowerPoint PPT Presentation

Local Analysis of 2D Curve Patches Local Analysis of 2D Curve Patches Topic 4.2: Topic 4.2: Local analysis of 2D curve Local analysis of 2D curve patches patches patches patches Representing 2D image curves Representing 2D image


  1. Local Analysis of 2D Curve Patches Local Analysis of 2D Curve Patches

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

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

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

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

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

  7. Representing & Representing & Analysing Analysing 2D 2D Curves, why? Curves, why? • Useful representation for: • Object boundaries • Isophote regions (groups of pixels with the same intensity)

  8. Representing & Representing & Analysing Analysing 2D 2D Curves, how? Curves, how? Math is our friend: • Provides an unambiguous representation • Enables computation of useful properties

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

  10. 2D Image Curves: Definition 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

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

  12. 2D Image Curves: Definition 2D Image Curves: Definition A closed 2D 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)).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  28. Effect of Curve Parameter on the Tangent 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 2. Make t the actual length of the curve between γ (0) and γ (t), in meters (or inches, or light-years).

  29. Effect of Curve Parameter on the Tangent 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 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.

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

  31. Effect of Curve Parameter on the Tangent 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, where f(t) is simply any differentiable function.

  32. Effect of Curve Parameter on the Tangent 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, where f(t) is simply any differentiable function. In 1, we know the derivative of γ is simply In 1, we know the derivative of γ is simply

  33. Effect of Curve Parameter on the Tangent 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, where f(t) is simply any differentiable function. In 1, we know the derivative of γ is simply 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

  34. Effect of Curve Parameter on the Tangent 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, where f(t) is simply any differentiable function. In 1, we know the derivative of γ is simply In 1, we know the derivative of γ is simply In 2, the chain rule tells us that if s=f(t) and γ (s) then:

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

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

  37. The Arc The Arc- -Length of a Curve Length of a Curve

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

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

  40. The Arc The Arc- -Length of a Curve Length of a Curve

  41. The Arc The Arc- -Length of a Curve 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

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

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

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

  45. The Arc The Arc- -Length of a Curve 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 unit vectors unit vectors so

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend