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. In this paper, 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 cis 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 Akaike's Information Criterion(AIC). The method determines the appropriate member and location of knots automatically and simultaneously. Some examples are given to show the results obtained from the algorithm.
منابع مشابه
8 Hardware Outline Character Rasterization
This paper presents the design and implementation of an application specific integrated circuit (ASIC) for real-time rasterization of characters described by their outline based on vertical scan-conversion and flag fill algorithms. The chip acts as a coprocessor which rasterizes outline fonts given by Bezier splines and straight line segments. It generates high quality fonts at a rate 30 times ...
متن کاملCapturing Outlines of Planar Generic Images by Simultaneous Curve Fitting and Sub-division
In this paper, a new technique has been designed to capture the outline of 2D shapes using cubic B´ezier curves. The proposed technique avoids the traditional method of optimizing the global squared fitting error and emphasizes the local control of data points. A maximum error has been determined to preserve the absolute fitting error less than a criterion and it administers the process of curv...
متن کاملPSO-Based Path Planning Algorithm for Humanoid Robots Considering Safety
In this paper we introduce an improvement in the path planning algorithm for the humanoid soccer playing robot which uses Ferguson splines and PSO (Particle Swarm Optimization). The objective of the algorithm is to find a path through other playing robots to the ball, which should be as short as possible and also safe enough. Ferguson splines create preliminary paths using random generated para...
متن کاملA Curve Fitting Algorithm for Character Fonts
This paper presents an algorithm that automatically generates outline fonts from a grey-level image of a character obtained by a scanner. Our algorithm begins by extracting contour points from the image and dividing the points into a number of segments at the corner points. The next step is fitting a piecewise cubic Bézier curve to each segment. To fit cubic Bézier curves to segments, we use le...
متن کاملRasterizing the Outlines of Fonts
Two mathematical descriptions of outlines which have found acceptability and widespread usage are the Bézier cubic and the general conic forms (which include the distinctive parabolic format). Though there are good reasons for employing just the general conic, PostScript characterises fonts in terms of splines based on four-point Bézier cubics. In order to improve the efficiency with which thes...
متن کامل