Monday, September 2, 2019
Image Processing :: essays research papers
Adaptive Shape Contour Tracing Algorithm ABSTRACT In this paper we are going to present a new shape contour tracing algorithm called Ã ¡Ã §Adaptive Contour Tracing AlgorithmÃ ¡Ã ¨. The algorithm can trace open and closed discontinuous digital shapes and return an ordered set of boundary points that represent the contour of the shape. Unlike other algorithms that return boundary points that are part of the traced shape, our algorithm returns background points that are adjacent to the shapeÃ ¡Ã ¦s contour. Furthermore, the algorithm is not hindered by shapes that are noisy and ill-defined as it can adapt to interruptions in the shapeÃ ¡Ã ¦s contour using a pre-set tolerance and is able to scan multiple neighbors of a given point. The algorithm has a low complexity and no restrictions on the type or size of the traced shape. The extracted ordered set of boundary points represents the contour of a given shape and is important for curvature-based shape descriptors. Categories and Subject Descriptors I.4.6 [Image Processing and Computer Vision]: Segmentation Ã ¡V Edge and feature detection, Pixel classification General Terms Algorithms. Keywords Image Processing; Contour Tracing; Shape Boundary Extraction. 1. INTRODUCTION Contour tracing is an important process in boundary-based shape matching. All shapes are represented by a pattern of pixels and the contour pixels are usually a small subset of that pattern. Curvature-based shape matching methods rely on the contour pixels to describe the irregularities in shapes and a reliable contour-tracing algorithm is needed to extract the boundary of shapes. If the shape has holes then another hole search algorithm need to be applied to extract the hole pattern and such an algorithm is not part of this article. We developed a sequential contour-tracing algorithm denoted the Ã ¡Ã §Adaptive Contour Tracing AlgorithmÃ ¡Ã ¨. The algorithm computes the surrounding contour of any shape and adapts to all types of closed curve representations whether they are filled or partially filled digital shapes. Any pixel, 1-pixel wide lines, and full shapes could be traced and represented by closed curves. The algorithm also accounts for discontinuities in the shape contour and can reach nearby pixels. The contour trace starts from the top left point or pixel closest to the shape and proceeds clockwise following the surrounding of the contour of the shape rather than the contour itself. The path around the contour is traced in a look-forward sweep pattern to find the next surrounding point that is closest to the contour. The path is then closed when the start point is found.