Article ID Journal Published Year Pages File Type
438981 Theoretical Computer Science 2011 10 Pages PDF
Abstract

The Freeman chain code is a common and useful way for representing discrete paths by means of words such that each letter encodes a step in a given direction. In the discrete plane Z2 such a coding is widely used for representing connected discrete sets by their contour which forms a closed and intersection free path. In this paper, we use a multidimensional radix tree like data structure for storing paths in the discreted-dimensional space Zd. It allows to design a simple and efficient algorithm for detecting path intersection. Even though an extra initialization is required, the time and space complexities remain linear for any fixed dimension d. Several problems that are solved by adapting our algorithm are also discussed.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics