Minkowski Sum on 2D geometry

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Minkowski Sum on 2D geometry - Presentation Transcript

    1. The Minkowski sum (applied to 2d geometry) crowdscontrol@me.com http://crowdscontrol.tumblr.com crowdscontrol
    2. Formal definition A and B are two sets A⊕B is the Minkowski sum of A and B A⊕B = {a+b⎮a∈A, b∈B}
    3. What if A and B are 2D shapes ? Hard to visualize ? Let’s see some examples...
    4. Example 1 A is any polygon B is a convex polygon
    5. A B y x
    6. A⊕B y x
    7. Example 2 A is any polygon B is any disc
    8. A B y x
    9. A⊕B y x
    10. Intuitive definition What is A⊕B ? Take B Dip it into some paint Put its (0,0) on A border Translate it along the A perimeter The painted area is A⊕B
    11. What can you do with that ? Notably, motion planning
    12. Free space A is an obstacle any 2D polygon B is a moving object 2D translation : t shape : a convex polygon or a disc t ∈ A⊕-B collision
    13. Example 1 A is any polygon B is a convex polygon
    14. A B y x -B
    15. A⊕-B y x
    16. y t x t ∉ A⊕-B no collision
    17. y t x t ∈ A⊕-B collision
    18. Example 2 A is any polygon B is any disc
    19. A B=-B y x
    20. A⊕-B y x
    21. A⊕-B y t t ∉ A⊕-B no collision x
    22. A⊕-B y t t ∈ A⊕-B collision x
    23. How is it computed ?
    24. Two convex polygons ConvexPolygon minkowskiSum(ConvexPolygon a, ConvexPolygon b) { Vertex[] computedVertices; foreach(Vertex vA in a) { foreach(Vertex vB in b) { computedVertices.push_back(vA+vB); } } return convexHull(computedVertices); }
    25. Any polygons Method 1 : decomposition decompose in convex polygons compute the sum of each couple the final sum is the union of each sub-sum Method 2 : convolution cf. sources
    26. Polygon offsetting P is a polygon D is a disc of radius r Computing P⊕D = Offsetting P by a radius r Computation Easy for a convex polygon cf. sources
    27. Sources http://www.cgal.org/Manual/3.4/doc_html/ cgal_manual/Minkowski_sum_2/Chapter_main.html http://wapedia.mobi/en/Minkowski_addition
    SlideShare Zeitgeist 2009

    + crowdscontrolcrowdscontrol Nominate

    custom

    176 views, 0 favs, 2 embeds more stats

    A simple presentation of a the Minkowski Sum applie more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 176
      • 160 on SlideShare
      • 16 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 1
    Most viewed embeds
    • 11 views on http://crowdscontrol.tumblr.com
    • 5 views on http://crowdscontrol.net

    more

    All embeds
    • 11 views on http://crowdscontrol.tumblr.com
    • 5 views on http://crowdscontrol.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories