The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998 The.Algorithm.Design.Manual.Springer-Verlag.1998

18.04.2013 Views

Bin Packing Mon Jun 2 23:33:50 EDT 1997 file:///E|/BOOK/BOOK5/NODE192.HTM (4 of 4) [19/1/2003 1:31:50]

Medial-Axis Transformation Next: Polygon Partitioning Up: Computational Geometry Previous: Bin Packing Medial-Axis Transformation Input description: A polygon or polyhedron P. Problem description: What is the set of points within P that have more than one closest point on the boundary of P? Discussion: The medial-axis transformation is useful in thinning a polygon, or, as is sometimes said, finding its skeleton. The goal is to extract a simple, robust representation of the shape of the polygon. As can be seen from the figures above, the thinned versions of the letters capture the essence of the shape of an `A' and a `B', and would be relatively unaffected by changing the thickness of strokes or by adding font-dependent flourishes such as serifs. The medial-axis transformation of a polygon is always a tree, making it fairly easy to use dynamic programming to measure the ``edit distance'' between the skeleton of a known model and the skeleton of an unknown object. Whenever the two skeletons are close enough, we can classify the unknown object as an instance of our model. This technique has proven useful in computer vision and in optical character recognition. The skeleton of a polygon with holes (like the `A' and `B') is not a tree, but an embedded planar graph, but it remains easy to work with. file:///E|/BOOK/BOOK5/NODE193.HTM (1 of 3) [19/1/2003 1:31:52]

Medial-Axis Transformation<br />

Next: Polygon Partitioning Up: Computational Geometry Previous: Bin Packing<br />

Medial-Axis Transformation<br />

Input description: A polygon or polyhedron P.<br />

Problem description: What is the set of points within P that have more than one closest point on the<br />

boundary of P?<br />

Discussion: <strong>The</strong> medial-axis transformation is useful in thinning a polygon, or, as is sometimes said,<br />

finding its skeleton. <strong>The</strong> goal is to extract a simple, robust representation of the shape of the polygon. As<br />

can be seen from the figures above, the thinned versions of the letters capture the essence of the shape of<br />

an `A' and a `B', and would be relatively unaffected by changing the thickness of strokes or by adding<br />

font-dependent flourishes such as serifs.<br />

<strong>The</strong> medial-axis transformation of a polygon is always a tree, making it fairly easy to use dynamic<br />

programming to measure the ``edit distance'' between the skeleton of a known model and the skeleton of<br />

an unknown object. Whenever the two skeletons are close enough, we can classify the unknown object as<br />

an instance of our model. This technique has proven useful in computer vision and in optical character<br />

recognition. <strong>The</strong> skeleton of a polygon with holes (like the `A' and `B') is not a tree, but an embedded<br />

planar graph, but it remains easy to work with.<br />

file:///E|/BOOK/BOOK5/NODE193.HTM (1 of 3) [19/1/2003 1:31:52]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!