METHOD AND APPARATUS FOR GENERATING DIRECTED DISTANCE FIELD IMAGE, DEVICE, AND STORAGE MEDIUM
Abstract:
A method and apparatus for generating a directed distance field image, device, and storage medium. The method comprises: first, determining a valid line segment set corresponding to pixel points to be processed; then, determining internal and external position information of said pixel points on the basis of the valid line segment set of said pixel points; and finally, after the internal and external position information of each pixel point on an undirected distance field image of a target character is determined, generating a directed distance field image of the target character. The internal and external position information is determined on the basis of the valid line segment set corresponding to the pixel points to be processed, without needing to traverse all curve segments of the target character, such that efficiency of determining the internal and external position information of pixel points is improved, thereby improving the overall efficiency of generating the directed distance field image of the target character.
Information query
Patent Agency Ranking
0/0