Computer-based Chinese character skeleton generation method

A computer and skeleton technology, applied in the field of fonts, can solve problems such as low efficiency, cumbersome work, long cycle, etc., and achieve the effect of reducing workload, font design standards, and improving design efficiency

Pending Publication Date: 2021-03-02
成都字嗅科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The present invention provides a computer-based method for generating Chinese character skeletons to solve the problem that the current fo

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Computer-based Chinese character skeleton generation method
  • Computer-based Chinese character skeleton generation method
  • Computer-based Chinese character skeleton generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Such as figure 1 and figure 2 Shown, a kind of computer-based Chinese character skeleton generation method comprises the steps:

[0045] Step a. Image the set representative word according to the configured standard font and pixel area, and obtain the picture representation form of the representative word;

[0046] Step b. Apply grayscale, binarization and morphological transformation to obtain the required representative word binary image representation;

[0047] Step c. Split the Chinese character graphics into primitives and store them separately, and refine them into primitive skeletons by using a thinning algorithm;

[0048] Step d. Using the parameters in the database, reorganize the skeleton primitives after affine transformation;

[0049] Step e. Crop redundant pixel elements to obtain the skeleton of the new character to be generated.

[0050] Step a includes:

[0051] Step a1. Prepare the required representative characters and standard font files, and sa...

Embodiment 2

[0063] Embodiment 2 is a further optimization on the basis of Embodiment 1.

[0064] Step c also includes:

[0065] Step c4. take out a binary image element in the Chinese character stroke primitive storehouse that step c3 obtains and send in the refinement program;

[0066] Step c5. Read the content of the first pixel in the element selected in step c4, and compare the relationship between the current pixel and its eight neighboring pixels to determine whether this pixel needs to be retained;

[0067] Step c6. traverse each pixel of the element, and repeat the process of step c5;

[0068] Step c7. After the end of step c6, a thinned skeleton of the stroke primitive is obtained;

[0069] Step c8. Take out the next element in order from the Chinese character stroke primitive library, and repeat the process from step c5 to step c7;

[0070] Step c9. After step c8 is completed, the thinned skeleton of each stroke primitive in the Chinese character stroke primitive library is o...

Embodiment 3

[0080] For the convenience of explanation, the concept of frequently occurring primitives is first explained here.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a computer-based Chinese character skeleton generation method, and the method comprises the following steps: a, visualizing a set representative character according to a configured standard font and a pixel area to obtain a picture representation form of the representative character; b, applying graying, binaryzation and morphological transformation to obtain a required representation word binary image representation form; c, splitting the Chinese character graph into primitives, independently storing the primitives, and refining the primitives into primitive skeletons by using a refining algorithm; d, recombining the skeleton primitives after affine transformation by using parameters in the database; e, cutting redundant pixel elements to obtain a skeleton of a newcharacter to be generated. According to the invention, the problems of long period, tedious work, low efficiency, need of a designer to work for a large amount of time and high cost due to the fact that the existing word stock needs to be designed one by one are solved.

Description

technical field [0001] The invention relates to the technical field of fonts, and more particularly to a computer-based method for generating Chinese character skeletons. Background technique [0002] Chinese characters are one of the oldest pictographs, with complex structures and huge numbers. Traditional font design requires manual design of each glyph, which is a particularly heavy workload for designing a complete set of fonts. Even It will take two or three years to complete. Moreover, the designer needs to constantly revise the design of each glyph, so that all Chinese characters in the font library appear harmonious and beautiful as a whole. Chinese character library design standards: GB2312-80 is a national standard released in 1980, collecting 6,763 Chinese characters; GBK is the "Extended Specification for Chinese Character Coding" released in 1995, including all Chinese characters in GB2312-80, and a total of 20,902 Chinese characters are collected; 2013 The ge...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06K9/68
CPCG06V30/245G06V30/287
Inventor 伍曙光韩金宝陶天毅
Owner 成都字嗅科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products