There are a lot of applications that you make a glyph from a scanned image. Mathematica does have fine tools to interpolate curves like the
BezierCurve function. The idea is very simple. Given the group of 2D points (the data), you calculate the corresponding control points (the pts) using some algorithm (for an example, please see the documentation for
BezierCurve function). My question is the following:
- Is it possible to make a function f that converts the contour of a closed image to a set of points 2D (the data), finds the corresponding control points pts (and saves the resulting glyph to an appropriate format like eps)?
For experiments you could use the following simple line. (I guess that f depends on an additional parameter $n$ for the maximum number of points allowed in data. If $n$ is very big like $n=1000$ the output glyph should be perfect but then it is very difficult to calculate the data. So the value of $n$ should be small like up to N= 100 or up to $n=50$ different 2D points in data...)