摘要 |
PROBLEM TO BE SOLVED: To provide a labeling method for enabling real-time processing and pipeline processing at a high bit rate. SOLUTION: The labeling method includes: a step S11 for including label variables X, Y, Z, U, P showing label values of a label image in a logical mask, assigning label values to the label variables P and Z based on a pixel value of the label variable P on which a pixel of interest is located, the label values of the label variables X, Y, X, U connected to the label variable P and inter-label connection information in each pixel, and recording the inter-label connection information in a first array; a step S12 for recording label values which may appear in a row on which the pixel of interest is located also in the future in a second array in each assignment of a label value; a step S14 for integrating only the label values appearing in the same row in the ascending order based on the inter-label connection information and the information recorded in the second array; and a step S15 for changing the label values based on the inter-label connection information recorded in the first array. COPYRIGHT: (C)2011,JPO&INPIT
|