Fast Polygonal Approximation of Digital Curves Using Relaxed Straightness Properties

Several existing digital straight line segment (DSS) recognition algorithms can be used to determine the digital straightness of a given one-pixel-thick digital curve. Because of the inherent geometric constraints of digital straightness, these algorithms often produce a large number of segments to cover a given digital curve representing a real-life object/image. Thus, a curve segment, which is not exactly digitally straight but appears to be visually straight, is fragmented into multiple DSS when these algorithms are run. In this paper, a new concept of approximate straightness is introduced by relaxing certain conditions of DSS, and an algorithm is described to extract those segments from a digital curve. The number of such segments required to cover the curve is found to be significantly fewer than that of the exact DSS cover. As a result, the data set required for representing a curve also reduces to a large extent. The extracted set of segments can further be combined to determine a compact polygonal approximation of a digital curve based on certain approximation criteria and a specified error tolerance. The proposed algorithm involves only primitive integer operations and, thus, runs very fast compared to those based on exact DSS. The overall time complexity becomes linear in the number of points present in the representative set. Experimental results on several digital curves demonstrate the speed, elegance, and efficacy of the proposed method.

[1]  V. A. Kovalevsky New definition and fast recognition of digital straight segments and arcs , 1990, [1990] Proceedings. 10th International Conference on Pattern Recognition.

[2]  Herbert Freeman,et al.  On the Encoding of Arbitrary Geometric Configurations , 1961, IRE Trans. Electron. Comput..

[3]  Partha Bhowmick,et al.  Isothetic Polygonal Approximations of a 2D Object on Generalized Grid , 2005, PReMI.

[4]  Isabelle Debled-Rennesson,et al.  A Linear Algorithm for Segmentation of Digital Curves , 1995, Int. J. Pattern Recognit. Artif. Intell..

[5]  Larry S. Davis,et al.  A Corner-Finding Algorithm for Chain-Coded Curves , 1977, IEEE Transactions on Computers.

[6]  Li-De Wu A Piecewise Linear Approximation Based on a Statistical Model , 1984, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[7]  Peng-Yeng Yin,et al.  Ant colony search algorithms for optimal polygonal approximation of plane curves , 2003, Pattern Recognit..

[8]  Hadar I. Avi-Itzhak,et al.  Straight Line Extraction Using Iterative Total Least Squares Methods , 1995, J. Vis. Commun. Image Represent..

[9]  Alfred M. Bruckstein,et al.  The number of digital straight lines on an N×N grid , 1990, IEEE Trans. Inf. Theory.

[10]  Hong Yan,et al.  Polygonal approximation of digital curves based on the principles of perceptual organization , 1997, Pattern Recognit..

[11]  Azriel Rosenfeld,et al.  Digital straightness - a review , 2004, Discret. Appl. Math..

[12]  Geoff A. W. West,et al.  Nonparametric Segmentation of Curves into Various Representations , 1995, IEEE Trans. Pattern Anal. Mach. Intell..

[13]  Filippo Mignosi,et al.  On the Number of Factors of Sturmian Words , 1991, Theor. Comput. Sci..

[14]  P. Yin A new method for polygonal approximation using genetic algorithms , 1998, Pattern Recognit. Lett..

[15]  Jose A. Ventura,et al.  Segmentation of two-dimensional curve contours , 1992, Pattern Recognit..

[16]  Hiroshi Imai,et al.  Computational-geometric methods for polygonal approximations of a curve , 1986, Comput. Vis. Graph. Image Process..

[17]  Karsten Schröder,et al.  Efficient polygon approximations for shape signatures , 1999, Proceedings 1999 International Conference on Image Processing (Cat. 99CH36348).

[18]  Kim L. Boyer,et al.  Robust Contour Decomposition Using a Constant Curvature Criterion , 1991, IEEE Trans. Pattern Anal. Mach. Intell..

[19]  Juan Carlos Pérez-Cortes,et al.  Optimum polygonal approximation of digitized curves , 1994, Pattern Recognit. Lett..

[20]  Sharlee Climer,et al.  Local Lines: A linear time line detector , 2003, Pattern Recognit. Lett..

[21]  Peng-Yeng Yin,et al.  A discrete particle swarm algorithm for optimal polygonal approximation of digital curves , 2004, J. Vis. Commun. Image Represent..

[22]  James C. Bezdek,et al.  Curvature and Tangential Deflection of Discrete Arcs: A Theory Based on the Commutator of Scatter Matrix Pairs and Its Application to Vertex Detection in Planar Shape Data , 1984, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[23]  Klaus Voss Coding of digital straight lines by continued fractions , 1991 .

[24]  James C. Bezdek,et al.  An application of the c-varieties clustering algorithms to polygonal curve fitting , 1985, IEEE Transactions on Systems, Man, and Cybernetics.

[25]  Partha Bhowmick,et al.  TIPS: On Finding a Tight Isothetic Polygonal Shape Covering a 2D Object , 2005, SCIA.

[26]  F. Attneave Some informational aspects of visual perception. , 1954, Psychological review.

[27]  Ivo Povazan,et al.  The Structure of Digital Straight Line Segments and Euclid's Algorithm , 1998 .

[28]  AZRIEL ROSENFELD,et al.  Digital Straight Line Segments , 1974, IEEE Transactions on Computers.

[29]  Mark Novak,et al.  Curve-drawing algorithms for Raster displays , 1985, TOGS.

[30]  Jack Bresenham,et al.  Algorithm for computer control of a digital plotter , 1965, IBM Syst. J..

[31]  Alfred M. Bruckstein,et al.  On the number of digital straight lines on an N*N grid , 1988, Proceedings CVPR '88: The Computer Society Conference on Computer Vision and Pattern Recognition.

[32]  Azriel Rosenfeld,et al.  Digital geometry - geometric methods for digital picture analysis , 2004 .

[33]  Azriel Rosenfeld,et al.  On Models for Line Detection , 1976, IEEE Transactions on Systems, Man, and Cybernetics.

[34]  E. Dubois,et al.  Digital picture processing , 1985, Proceedings of the IEEE.

[35]  Qiang Ji,et al.  Effective line detection with error propagation , 2001, Proceedings 2001 International Conference on Image Processing (Cat. No.01CH37205).

[36]  Keiichi Abe,et al.  Towards a Hierarchical Contour Description via Dominant Point Detection , 1994, IEEE Trans. Syst. Man Cybern. Syst..

[37]  E. Creutzburg,et al.  Geometric methods for on-line recognition of digital straight-line segments , 1988 .

[38]  Azriel Rosenfeld,et al.  Digital straightness , 2001, Electron. Notes Theor. Comput. Sci..

[39]  Roland T. Chin,et al.  On the Detection of Dominant Points on Digital Curves , 1989, IEEE Trans. Pattern Anal. Mach. Intell..

[40]  Karin Wall,et al.  A fast sequential method for polygonal approximation of digitized curves , 1984, Comput. Vis. Graph. Image Process..

[41]  Debranjan Sarkar A simple algorithm for detection of significant vertices for polygonal approximation of chain-coded curves , 1993, Pattern Recognit. Lett..

[42]  P. Nagabhushan,et al.  A simple and robust line detection algorithm based on small eigenvalue analysis , 2004, Pattern Recognit. Lett..

[43]  Paul L. Rosin Techniques for Assessing Polygonal Approximations of Curves , 1997, IEEE Trans. Pattern Anal. Mach. Intell..

[44]  Arnold W. M. Smeulders,et al.  Decomposition of discrete curves into piecewise straight segments in linear time , 1991 .

[45]  Jairo Rocha,et al.  Singularities and Regularities on Line Pictures via Symmetrical Trapezoids , 1998, IEEE Trans. Pattern Anal. Mach. Intell..

[46]  Michael L. Baird Structural Pattern Recognition , 1981, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[47]  Martin A. Fischler,et al.  Locating Perceptually Salient Points on Planar Curves , 1994, IEEE Trans. Pattern Anal. Mach. Intell..

[48]  James George Dunham,et al.  Optimum Uniform Piecewise Linear Approximation of Planar Curves , 1986, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[49]  Aggelos K. Katsaggelos,et al.  An optimal polygonal boundary encoding scheme in the rate distortion sense , 1998, IEEE Trans. Image Process..

[50]  Theodosios Pavlidis,et al.  Algorithms for Shape Analysis of Contours and Waveforms , 1980, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[51]  Kuo-Liang Chung,et al.  A New Randomized Algorithm for Detecting Lines , 2001, Real Time Imaging.