Capturing outline of fonts using genetic algorithm and splines

In order to obtain a good spline model from large measurement data, we frequently have to deal with knots as variables, which becomes a continuous, non-linear and multivariate optimization problem with many local optima. Hence, it is very difficult to obtain a global optima. We present a method to convert the original problem into a discrete combinatorial optimization problem and solve it by a genetic algorithm. We also incorporate a corner detection algorithm to detect significant points which are necessary to capture a pleasant looking spline fitting for shapes such as fonts. A parametric B-Spline has been approximated to various characters and symbols. The chromosomes have been constructed by considering the candidates of the locations of knots as genes. The best model among the candidates is searched by using the Akaike Information Criterion (AIC). The method determines the appropriate number and location of knots automatically and simultaneously. Some examples are given to show the results obtained from the algorithm.

[1]  Sanjeev Bedi,et al.  Optimization of knots for the multi curve B-spline approximation , 2000, Proceedings Geometric Modeling and Processing 2000. Theory and Applications.

[2]  H. Akaike A new look at the statistical model identification , 1974 .

[3]  Azhar Quddus Curvature analysis using multi-resolution techniques , 1998 .

[4]  Dmitry Chetverikov,et al.  A Simple and Efficient Algorithm for Detection of High Curvature Points in Planar Curves , 2003, CAIP.

[5]  Toshinobu Harada,et al.  Automatic knot placement by a genetic algorithm for data fitting with a spline , 1999, Proceedings Shape Modeling International '99. International Conference on Shape Modeling and Applications.

[6]  Yung-Nien Sun,et al.  Polygonal approximation using genetic algorithm , 1996, Proceedings of IEEE International Conference on Evolutionary Computation.

[7]  Paul Dierckx,et al.  Curve and surface fitting with splines , 1994, Monographs on numerical analysis.

[8]  F. Kitson An algorithm for curve and surface fitting using B-splines , 1989, International Conference on Acoustics, Speech, and Signal Processing,.

[9]  Gábor Renner,et al.  Spline interpolation with genetic algorithms , 1997, Proceedings of 1997 International Conference on Shape Modeling and Applications.

[10]  John A. Gregory,et al.  Interactive curve design using C2 rational splines , 1994, Comput. Graph..

[11]  Muhammad Sarfraz,et al.  Cubic spline curves with shape control , 1994, Comput. Graph..