摘要 |
A method for operating a computer system for extracting line segments from a digital image, the method comprising receiving the digital image comprising a first plurality of edge pixels associated with a first level of components of a connected component and a second plurality of edge pixels associated with a second level of components of the connected component, wherein the first level of components and the second level of components comprise a plurality of segments, processing each pixel of the first plurality of pixels to assign the pixel to a component of the first level of components, after processing each pixel of the first plurality of pixels, processing each pixel of the second plurality of pixels to assign the pixel to a component of the second level of components, and, for each component of the first level of components and the second level of components, processing each pixel to assign the pixel to a segment of the plurality of segments. |