Analysis of the rubberband algorithm

作者:

Highlights:

摘要

We consider simple cube-curves in the orthogonal 3D grid of cells. The union of all cells contained in such a curve (also called the tube of this curve) is a polyhedrally bounded set. The curve’s length is defined to be that of the minimum-length polygonal curve (MLP) contained and complete in the tube of the curve. Only one general algorithm, called rubberband algorithm, was known for the approximative calculation of such an MLP so far.An open problem in [R. Klette and A. Rosenfeld. Digital Geometry: Geometric Methods for Digital Picture Analysis. Morgan Kaufmann, San Francisco, 2004.] is related to the design of algorithms for the calculation of the MLP of a simple cube-curve: Is there a simple cube-curve such that none of the nodes of its MLP is a grid vertex? This paper constructs an example of such a simple cube-curve, and we also characterize the class of all of such cube-curves. This study leads to a correction in Option 3 of the rubberband algorithm (by adding one missing test).We also prove that the rubberband algorithm has linear time complexity O(m) where m is the number of critical edges of a given simple cube-curve, which solves another open problem in the context of this algorithm.

论文关键词:Digital geometry,Shortest Euclidean path,Cube-curves,Minimum-length polygonal curve

论文评审过程:Available online 19 October 2006.

论文官网地址:https://doi.org/10.1016/j.imavis.2006.06.021