摘要 |
PURPOSE:To make the required capacity of a memory small and to perform real-time processing by referring to labels of adjacent picture elements while scanning respective picture elements, and labeling the respective picture elements. CONSTITUTION:A binary-coded image is scanned successively to label the respective picture elements according to the labels of adjacent figures, and the connection states of the respective labels are checked to remove connecting picture elements when the number of the connecting picture elements is smaller than a set number. For example, if the label of one of four picture elements (a, b, c, and d) which is not in a label buffer FF for unlabeled picture elements is stored in a label buffer, the label is given to a picture element (e) as its label. When the picture element (e) is labeled, label buffers are referred to in the order of (d), (a), (b), and (c) and wen the picture element (e) is labeled, the contents of the label buffers are referred to in the order of the picture elements (d), (a), (b), and (c). When the picture element (e) is a figure and the contents of the label buffers for the picture elements are all FF, on the other hand, a unused new label is given to the picture element (e) as its label. |