Morphing between polylines

  • Authors:
  • Alon Efrat;Sariel Har-Peled;Leonidas J. Guibas;T. M. Murali

  • Affiliations:
  • Room 747, Department of Computer Science, Gould-Simpson Building, The University of Arizona, PO Box 210077, Tucson, AZ;2111 DCL, 1304 West Springfield Avenue, Urbana, IL;Computer Science Dept., Stanford University, 353 Serra Mall, Stanford, CA;Compaq Computer Corporation, Cambridge Research Lab, One Cambridge Center, Cambridge, MA

  • Venue:
  • SODA '01 Proceedings of the twelfth annual ACM-SIAM symposium on Discrete algorithms
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given two non-intersecting simple polylines in the plane, we study the problem of continuously transforming or morphing one polyline into the other. Our morphing strategies have the desirable property that every intermediate polyline is also simple. We also guarantee that no portion of the polylines to be morphed is stretched or compressed by more than a user-defined parameter during the entire morphing. Our algorithms are based on the morphing width, a new metric we have developed for measuring the similarity between two polylines. We develop an algorithm that computes the morphing width of the two polylines and constructs a corresponding morphing strategy in &Ogr;(n2 log2 n) time using &Ogr;(n2) space, where n is the total number of vertices in the polylines. We describe another algorithm that computes a factor-2 approximation of the morphing width and a corresponding morphing scheme in &Ogr;(n log n) time.