Research and Implementation of Automatic Font Outline Generation for Nǚshu
- Author
- YanHongJuan
- Advisor
- WangJiangQing
- School
- Central South University for Nationalities
- Major
- Applied Computer Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 10
- Citations
- 0
Abstract
Nǚshu is the only female character in the world which does not belong to any nationor rely on any kind of religions. At present Nǚshu is inherited by the way of handwritten.As the heritors of Nǚshu died, Nǚshu is in endangered status. Digital processing whichcan store, display and process Nǚshu in computers conveniently, is of great significanceto the heritage and development of Nǚshu.According to the characteristics of Nǚshu character, a curve-outline generationsystem for Nǚshu is designed and implemented in this paper based on the relatedtechnologies at home and abroad. The implemented system can be used to standardizeNǚshu characters and generate the high-precision curve-outline characters of Nǚshu.The major research content in this paper is as follows:(1) A method for standardizing Nǚshu character based on skeleton is proposed for thephenomenon of inconsistent stroke width and edge burrs in Nǚshu character. Firstly, forthe disadvantage of ZS thinning algorithm, a post-processing step by identifying thecrucial patterns is applied so as to produce one pixel thick skeleton. Secondly, a burrremoving iteration algorithm is used to remove the burrs which affect the topologicalstructure of Nǚshu character in the skeleton. And then in the process of distortion pointcorrection, Quadratic-Bezier curve is introduced to connect the feature points in order toform smooth and continuous skeleton. At last morphological dilation is used on theskeleton. The result shows that for some Nǚshu samples, the standard Nǚshu characterswhich have identical stoke width and the same topology as the original fonts can begotten by the proposed method.(2) For the disadvantages of bitmap font, such as large storage, the quality ofzooming is hard to guarantee, an approach for auto-generating curve-outline characterfrom bitmap based on straight lines and Cubic-Bezier curves is designed and realizedfor Nǚshu. The main idea of the implementation is to extract the contour data of Nǚshucharacter firstly, Secondly, three direction tracking templates are introduced in order tomake the contour points ordered. And then a simple approach for detecting featurepoints based on feature point suppression is proposed to divide contour segmentsaccurately. At last, the contour segments are fitted by straight lines or Cubic-Beziercurves. The result shows that the generated curve is basically the same as the originalcontour, the burrs caused by hand-writing also can be eliminated and the storage spacein computer can be reduced greatly. (3) In order to alter the shape of the Cubic-Bezier curve, the control points must bechanged, for this disadvantage, a Cubic-Bezier curve with two parameters is introducedto fit the contour of Nǚshu characters which have the smooth contours, and the geneticalgorithm is used to solve the parameter optimization. Firstly, the mathematical modelbased on least square fitting for Cubic λμ-Bezier curve is established. And then thegenetic algorithm is introduced to calculate the best parameters adaptively forgenerating high-precision fitting curves. The result shows that the fitting precision ofNǚshu font generated by the proposed method is improved, and the characteristic ofNǚshu characters is reserved precisely. The dynamic fonts of Nǚshu can be generatedbased on the existing fonts by the characteristic of two shape parameters, and theproposed method lays the foundation of realizing deformation of Nǚshu fontsautomatically.
Table of contents
Abstract 7-8
Abstract 8-10
Chapter 1 Introduction 10-16
1.1 Background and Significance 10- 11
1.2 current research 11-13
1.3 contents and structure 13-16
Chapter 2 theories technology 16- 25
2.1 glyph description 16-17
2.1.1 lattice -shaped 16
2.1.2 vector shape 16-17
2.1.3 curve outline font 17
2.2 refinement 17-19
2.2.1 refine the basic concepts and classification 17-18
2.2.2 ZS thinning algorithm 18-19
2.3 Bezier curve constructed define nbsp 19-21
2.3.1 Bezier curves ; 19-20 <br / > nature 2.3.2 Bezier curve 20-21
2.4 genetic algorithm 21-24
2.4.1 basic concepts and elements of genetic algorithm analysis 21- 23
2.4.2 GA basic flow 23-24
2.4.3 application of Genetic Algorithm curve parameter optimization 24
2.5 chapter Summary 24-25
Chapter 3 Girls' sample pretreatment 25-31
3.1 denoising smoothing 25-27
3.2 binary 27-28
3.3 normalized 28-30
3.4 Summary 30-31
Chapter 4 female skeleton book based specification font generator 31-43
4.1 improved ZS thinning algorithm 31-35
introduced in 4.1.1 template 31-33
4.1.2 algorithm 33-35
4.2 deburring 35-38
4.2.1 glitch definition 35-36
4.2.2 classification deburring 36-38
4.3 points distortion correction 38-41
4.4 experimental results and analysis 41-42
4.5 chapter Summary 42-43
Chapter 5 cubic Bezier curve -based women's book -shaped fitting 43-55
5.1 women's book outline data extraction 43-45
5.1.1 contour extraction 43-44
5.1.2 contour data tracking 44-45
5.2 contour feature point extraction 45-49
5.2.1 feature point extraction method analysis 45-46
5.2.2 nbsp extraction algorithm based on the key points to retain the feature points ; 46-49
5.3 women's book outline curve fitting 49-51
5.3.1 to determine the fitted curve type 49-50
5.3.2 Reverse cubic Bezier curve control points among 50-51
5.4 experimental results and analysis 51-54
5.5 Chapter Summary 54-55
Chapter 6, parameter optimization based on genetic algorithm Bezier curve -shaped fitting 55-64
6.1 three double parameter expansion Bezier curves 55-57
6.1.1 three λμ-Bezier curve definition and nature 55-56
6.1.2 shape parameter λ, μ geometric meaning 56-57
6.2 cubic λμ-Bezier curve fitting based on genetic algorithms 57-60
6.2.1 three λμ-Bezier curves least squares fit of mathematics model 57-58
6.2.2 solving nbsp adaptive parameters based on genetic algorithm ; 58-60
6.2.3 algorithm 60
6.3 experiment results and Analysis 60-63
6.3.1 experiment one : the shape parameter λ, μ impact on women's book -shaped 60-61
6.3.2 experiment II : High women's book outline font curve fitting 61-63
6.4 Chapter Summary 63-64
Chapter 7 summary and Outlook 64-66
7.1 summary 64-65
7.2 Looking 65-66
references 66-72
Thanks 72-73
papers published and project participants during the study for a degree in Appendix 73
Related dissertations
- The Research on Standardization of the Basic Accounting
- Accounting Information Technology Standards Development and Implementation of Research-for Example in XBRL
- Research on the social security public service standards
- Research on the Standarisation for China Informal Financial Development
- Studies on Standardization of the Informal Finance in Rural Areas of Shandong Province
- Normalization of Informal Finance
- Research on the development paths of specification in Taizhou city of local financing platform
- The Research on the Evaluation System of the Standardization of Chinese Fast Food
- Research on Development Strategy for Standardized Farm Products Industrial Cluster in Laiyang Shandong Province
- Study on the Development Strategy of Shouguang Vegetable Lndustry
- Analyse on the Agricultural Standarization of Theory and Practice in Ru Shan City
- Shaanxi Xian Renliu Township Rural Financial Management Standardization Research
- Research on Standardization Strategy Implementation of Panyu District
- Research on Capital Management Standardization in Yuanzhu Company
- Research on the theory and practice of the implementation of quality strategy - strong regional new city development in Guangzhou City, Panyu District as an example
- The Research on the Standardization of the Product Type
- Design and Realization of Bus-based Control Module
- The Research on Modular Modeling of Autonomous Underwater Vehicle
- A Method for Degree Reduction of Bézier Curve Based on Partitioned Matrix Derivation
- Study on Spline Curves and Surfaces in CAD/CAE