通过定义二值图像像素顶点的链码,构造像素顶点矩阵,给出了一个基于像素顶点的线性的图像区域边界追踪和链码树结构的生成算法,算法在追踪和抽取区域边界的顶点链码的同时生成区域边界的链码树结构.算法复杂度是线性的,且适用于任意复杂图像区域.
A new method to trace region contours and generate chain code tree was proposed by defining the vertex chain code and constructing the pixel vertex matrix of binary images. While tracing contours of a region and extracting v.ertex chain codes of these contours, the chain code tree of the contours is created. Further more, the complexity of the algorithm is linear and it can be used for tracing the contour of any complex region.