A Raster Image Vectorization Method Based on Contour

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

Inactive Publication Date: 2016-09-14
NANJING NORMAL UNIVERSITY
View PDF2 Cites 0 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
  • A Raster Image Vectorization Method Based on Contour
  • A Raster Image Vectorization Method Based on Contour
  • A Raster Image Vectorization Method Based on Contour

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in detail below with reference to the accompanying drawings.

[0027] Such as figure 1 As shown, the raster image vectorization method of the present invention consists of two parts, the vectorization stage and the reconstruction stage, and the relevant 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 δ, number of contour lines n, etc.), to construct a vector image of a raster image.

[0029] 1. Carry out gray-scale preprocessing to raster image: in the present embodiment, if 1 1 is a grayscale image, then the grayscale image I 2 = I 1 , the grayscale work is completed; if I 1 If it is a color image, the RGB information of the pixels of the color raster image is converted into grayscale information by using the weighted average method to obtain the corresponding grayscale image I 2 , the specific method i...

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 vectorization method of raster images based on contour line extraction. Background technique [0002] In the technical field of digital image processing, there are two ways to describe an image: raster representation and vector representation. A raster representation describes an image as a rectangular matrix of regular discrete pixels, each storing a different photometric value (brightness or color). Representing a large raster image usually requires a large amount of data and takes up a large storage space; when the raster image is scaled, jagged aliasing often occurs 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 da...

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 Patents(China)
IPC IPC(8): G06T9/00
Inventor 周文婷庞明勇
Owner NANJING NORMAL UNIVERSITY
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