Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Raster image vectorizing method based on contour line

A raster image and vectorization technology, applied in image coding, image data processing, instruments, etc., can solve problems such as large amount of calculation

Inactive Publication Date: 2014-05-21
NANJING NORMAL UNIVERSITY
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Aiming at the deficiencies of the prior art, the present invention discloses a method for vectorizing raster images based on contour lines, which extracts the contour lines in the height field of the grayscale image of the raster image and uses color diffusion technology to realize the vectorization of the raster image. can make up for the large amount of calculation in the existing vectorization technology, and the image reconstructed by rasterization can be closer to the original image; at the same time, the method of the present invention also supports multi-resolution processing in the vectorization process

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
  • Raster image vectorizing method based on contour line
  • Raster image vectorizing method based on contour line
  • Raster image vectorizing method based on contour line

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Hereinafter, the present invention will be described in detail with embodiments in conjunction with the drawings.

[0027] Such as figure 1 As shown, the raster image vectorization method of the present invention consists of two parts: a vectorization stage and a reconstruction stage. The specific implementation steps are as follows:

[0028] According to the raster image input by the user I 1 And vectorization control parameters (Gaussian blur coefficient δ, contour number n, etc.) to construct a vector image of the raster image.

[0029] 1. Perform grayscale preprocessing on raster images: in this embodiment, if I 1 Is a grayscale image, then the grayscale image I 2 =I 1 , The grayscale work is completed; if I 1 For a color image, the weighted average method is used to convert the RGB information of the color raster image pixels into gray information to obtain the corresponding gray image I 2 , The specific method is: set the color raster image I 1 The RBG color components o...

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 raster image vectorizing method based on a contour line. The raster image vectorizing method based on the contour line includes: generating an intensity image corresponding to a raster image firstly, and then establishing an image height field by using the intensity image after being smoothed; extracting equal altitude points in the image height field, and confirming colors of the equal altitude points; establishing parameter curve math expression of the contour line based on the equal altitude points, and conforming the color of an arbitrary point on the contour line. A parameter curve set with color information is vectorization expression of the raster image. When a reestablishment raster image is expressed in vectorization mode, zooming and discretization operations are performed on a vectorized parameter curve according to the size of the raster image to be established, the position and the color of each pixel occupied by the vectorized parameter curve in the image to be established are confirmed, a coloring pixel is used as initial data, and a color diffusion method is used to reestablish the raster image which is expressed in vectorization mode. The raster image vectorizing method based on the contour line can perform multiple scale vectorization processing on various raster images, can use relative parameters to control the data volume of a vector diagram, and can reestablish the raster image multiple in resolution through vector expression.

Description

Technical field [0001] The invention belongs to the field of digital image processing, and relates to a vectorization processing technology of raster images, in particular to a raster image vectorization method based on contour extraction. Background technique [0002] In the field of digital image processing technology, there are two ways to describe an image: raster representation and vector representation. The raster representation describes the image as a rectangular lattice of regular discrete pixels, where each pixel stores a different luminosity value (brightness or color). It means that a larger raster image usually requires more data and occupies a larger storage space; when the raster image is scaled, jagged aliasing is often generated at the boundary contour of the color block area. An image represented by a vector uses geometric primitives such as points, lines, or polygons to represent the image. Compared with raster images, vector images usually require less data ...

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): G06T9/00
Inventor 周文婷庞明勇
Owner NANJING NORMAL UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products