Vol. 31, Issue 3, pp. 611-618 (2001)

Vol. 31 Issue 3 pp. 611-618

Fast contour tracing algorithm

Kozlowski Janusz, Patorski Krzysztof

Abstract

A simple and fast algorithm for contour tracing in two-level BitMap image is presented. The common comer of four neighbouring pixels, NODE, is defined as the basic element of the analysed structure. First the image is convoluted with 2*2 kernel which identifies all nodes, then the algorithm follows the line connecting contour nodes, and extracts coordinates of border pixels according to the initial conditions, i.e., to the defined connectivity type and contour rotation. The main parts of this procedure (written in C++) and results obtained with the demonstration program KRATA, based on this algorithm, are presented.

Vol. 31
Issue 3
pp. 611-618

0.61 MB

Corresponding address

Optica Applicata
Wrocław University of Science and Technology
Faculty of Fundamental Problems of Technology
Wybrzeże Wyspiańskiego 27
50-370 Wrocław, Poland

Publisher

Wrocław University of Science and Technology
Faculty of Fundamental Problems of Technology
Wybrzeże Wyspiańskiego 27
50-370 Wrocław, Poland

Contact us

  • optica.applicata@pwr.edu.pl
  • +48 71 320 23 93
  • +48 71 328 36 96