Computing the Characteristics of a SubSegment of a Digital Straight Line in Logarithmic Time

We address the problem of computing the exact characteristics of any subsegment of a digital straight line with known characteristics. We present a new algorithm that solves this problem, whose correctness is proved. Its principle is to climb the Stern-Brocot tree of fraction in a bottom-up way. Its worst-time complexity is proportionnal to the difference of depth of the slope of the input line and the slope of the output segment. It is thus logarithmic in the coefficients of the input slope. We have tested the effectiveness of this algorithm by computing a multiscale representation of a digital shape, based only on a digital straight segment decomposition of its boundary.

[1]  V. Kovalevsky,et al.  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]  Isabelle Debled-Rennesson,et al.  A Linear Algorithm for Segmentation of Digital Curves , 1995, Int. J. Pattern Recognit. Artif. Intell..

[4]  Jean-Marc Chassery,et al.  Digital Intersections: minimal carrier, connectivity, and periodicity properties , 2004, Graph. Model..

[5]  Jacques-Olivier Lachaud,et al.  Multiscale Discrete Geometry , 2009, DGCI.

[6]  Herbert Freeman,et al.  Computer Processing of Line-Drawing Images , 1974, CSUR.

[7]  A. Smeulders,et al.  Discrete straight line segments: parameters, primitives and properties , 1991 .

[8]  Ugo Montanari,et al.  A note on minimal length polygonal approximation to a digitized contour , 1970, CACM.

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

[10]  Chul E. Kim,et al.  Representation of digital line segments and their preimages , 1985, Comput. Vis. Graph. Image Process..

[11]  A. Troesch,et al.  Geometric interpretation of Euclid's algorithm and recognition of segments , 1993 .

[12]  Isabelle Debled-Rennesson,et al.  Etude et reconnaissance des droites et plans discrets , 1995 .

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

[14]  J. Yaacoub Enveloppes convexes de reseaux et applications au traitement d'images , 1997 .

[15]  Arnold W. M. Smeulders,et al.  Discrete Representation of Straight Lines , 1984, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[16]  Vladimir Kovalevsky Applications of Digital Straight Segments to Economical Image Encoding , 1997, DGCI.

[17]  François de Vieilleville,et al.  Revisiting Digital Straight Segment Recognition , 2006, DGCI.