Abstract.
This paper proposes a fast and high-definition contour-tracing algorithm for digitized binary images. Only the coordinates of white-to-black and black-to-white transition points on each scan line are used as data for the contour tracing. The resulting description of the contour is the combined set of ten newly developed run-type direction codes. The code is determined automatically by an automaton while the horizontal coordinates of two transition points in the two adjacent scan lines are compared. The processing speed of this algorithm depends on the number of transition points of an image, and, thus, it has the advantage over conventional algorithms, where the speed usually depends on the number of pixels. A high-definition-type contour description is obtained and complete restoration of the original image is possible.
Similar content being viewed by others
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Miyatake, T., Matsushima, H. & Ejiri, M. Contour representation of binary images using run-type direction codes . Machine Vision and Applications 9, 193–200 (1997). https://doi.org/10.1007/s001380050040
Issue Date:
DOI: https://doi.org/10.1007/s001380050040