Detecting the straightness of digital curves in O(N) steps

Abstract Many objects that appears in digital images are bounded by straight lines. Curves are often detected as series of edges. The detection of the straightness of those edge sequences is a major problem in image interpretation. In this paper the RULI chain code is used for encoding geometric configurations. Rosenfeld ( IEEE Trans. Comput. C-23 , 1974, 1264–1269) and Ronse ( Pattern Recognit. Lett. 3 , 1985, 323–326) used the “chord property” to identify straight lines. While this test takes O(n ∗ ∗ 2) steps, the algorithm discussed in this paper only takes O ( n ) steps, where n is the number of code elements. Furthermore, the algorithm calculates the interval that delimits the slope of the straight line.

[1]  Chul E. Kim,et al.  Digital Parallelism, Perpendicularity, and Rectangles , 1987, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[2]  Walter G. Kropatsch Curve representations in multiple resolutions , 1987, Pattern Recognit. Lett..

[3]  Son Pham,et al.  Digital straight segments , 1986, Comput. Vis. Graph. Image Process..

[4]  M. L. V. Pitteway,et al.  An Application of Euclid’s Algorithm to Drawing Straight Lines , 1985 .

[5]  Li-De Wu,et al.  On the Chain Code of a Line , 1982, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[6]  Arnold W. M. Smeulders,et al.  Best Linear Unbiased Estimators for Properties of Digitized Straight Lines , 1986, IEEE Transactions on Pattern Analysis and Machine Intelligence.

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

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

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

[10]  Christian Ronse A simple proof of Rosenfeld's characterization of digital straight line segments , 1985, Pattern Recognit. Lett..

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