摘要 |
The present invention discloses a method for rapidly vectorizing an image by gradient meshes based on parameterization, which comprises the following steps: determining an image region to be vectorized (S1); converting the image region into a mesh representation (S2); mapping the meshes to a planar rectangle region by parameterizing the meshes (S3); and generating a gradient mesh image according to the parameterization result of said meshes (S4). The present invention generates gradient meshes by converting an image region into meshes and by parameterization, so the gradient meshes are obtained completely automatically without the need for the user to give original meshes, and moreover, the computation speed is improved significantly since nonlinear optimization is avoided. In addition, the method of the present invention can process image regions containing or not containing holes. |