Method for converting scalar image into vector image

A vector graphics and image technology, applied in the field of digital image processing, can solve problems such as rough lines and monotonous colors, and achieve the effect of clear outline, fast processing speed and strong scalability

Active Publication Date: 2014-07-16
CHENDU PINGUO TECH CO LTD
View PDF2 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The currently commonly used methods of cartoonizing photos usually have rough lines and monotonous colors; or require manual intervention

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for converting scalar image into vector image
  • Method for converting scalar image into vector image
  • Method for converting scalar image into vector image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] A method for converting a scalar image into a vector image, comprising the steps of:

[0021] Step 1. Lineize the original image to obtain the edge contour map of the image:

[0022] 1. Filtering: mainly based on the first-order and second-order derivatives of image intensity, but the derivatives are usually very sensitive to noise, so filters must be used to improve the performance of noise-related edge detectors. The filtering method mainly uses Gaussian filtering, that is, using a discrete Gaussian function to generate a set of normalized Gaussian kernels, and then weighting and summing each point of the image grayscale matrix based on the Gaussian kernel function.

[0023] G ( x , y ) = 1 2 π σ 2 exp ( - ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for converting a scalar image into a vector image. Lining is carried out on an original image so that an edge skeleton map of the image can be obtained; color gradation standardization adjusting is carried out on the edge skeleton map to obtain a skeleton map with enhanced lines; an image threshold value is calculated, and binaryzation is carried out on the image threshold value; edge skeleton points are acquired, and a polygon is formed by the continuous edge skeleton points; curve fitting is carried out on the points of each polygon; the polygons on which curve fitting is carried out are drawn through a bezier curve and filled with black, and a vector edge image is obtained; the original image is smoothened based on the bilateral filter iteration to obtain an image with the smooth plane; positive bottom overlaying operation is carried out on the plane image and the vector edge image, and the vectorization cartoon image with the clear skeleton is obtained. The method has the advantages that the processing speed is high, the algorithm of the method can be achieved on a smart phone, the processing effect is good, the image is smooth, colors are abundant, the skeleton is clear, the expanding performance is high, and the scalar image can be changed into various special vector effects.

Description

technical field [0001] The invention relates to a digital image processing method, in particular to a method for converting a scalar image into a vector image, and mainly involves converting a photo image into a vector image, so as to realize the cartoon effect of the photo image. Background technique [0002] Digital image processing has developed rapidly in the era we live in, and through image processing, it provides people with more styles of photos. At the same time, computer-generated cartoons and CG movies render images more pure and visually appealing. Automatically convert your own photos into cartoon effects, providing comic-like images, which can greatly enrich the form of people's photos. The currently commonly used methods of cartoonizing photos usually have rough lines and monotonous colors; or require manual intervention. Contents of the invention [0003] In order to overcome the above-mentioned shortcomings of the prior art, the present invention provide...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/40G06T5/00
Inventor 徐滢
Owner CHENDU PINGUO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products