Linear map symbol anti-aliasing drawing method based on symbol structure

A technology of symbol structure and map symbol, applied in the field of anti-aliasing drawing of line map symbols based on symbol structure, can solve the problems of no given method, anti-aliasing drawing of vector line elements, etc., and achieve the effect of improving efficiency and effect

Inactive Publication Date: 2016-06-22
NANJING NORMAL UNIVERSITY
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method strictly depends on Shader programming. Different line symbols require a lot of programming in the Shader to achieve drawing; how to map various complex line map symbols to GPU pixel calculations is not given. method, and there is no method for how to perform anti-aliasing drawing of vector line elements

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
  • Linear map symbol anti-aliasing drawing method based on symbol structure
  • Linear map symbol anti-aliasing drawing method based on symbol structure
  • Linear map symbol anti-aliasing drawing method based on symbol structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0039] Compared with the straight line drawing in the field of traditional computer visualization, due to the complexity of map symbols, it is more difficult to draw map vector line elements; the traditional boundary anti-aliasing method is difficult to meet the requirements of the internal drawing expression of map symbols. Therefore, the present invention designs an anti-aliasing method for linear map symbols based on the symbol structure to be suitable for anti-aliasing drawing of different map symbols. Such as Figure 4 , two typical linear map symbols and their anti-aliasing rendering effects.

[0040] The following is a software method to implement anti-aliasing of line map symbols based on symbol structure in the environment of C++ language and OpenGL:

[0041] (1) Define the structure SymbolStructure to represent the symbol structure:

[0042]

[0043] (2) Define a set of variables in Shader to transfer symbol color structure table information:

[0044] #defineMA...

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 present invention relates to a symbolic rendering technology in the GIS field and the digital map making field, and provides a linear vector element anti-aliasing drawing method based on the symbol structure information which realizes the linear vector element high-quality drawing based on the method by utilizing a GPU programmable assembly line and the Shader language. The method comprises the following steps of firstly constructing a line Mesh after triangularization according to line widths, and transmitting a U parameter along a line direction and a V parameter vertical with the line direction to each vertex in the Mesh; then generating a color structural table according to a map symbol unit needing to be filled, determining an anti-aliasing threshold value, and transmitting the color structural table, the anti-aliasing threshold value and the U-V parameters to a Shader program; determining whether a current pixel is within the anti-aliasing threshold value by utilizing the Shader language and according to the U-V value of each vertex, if the current pixel is within the anti-aliasing threshold value, firstly carrying out the anti-aliasing color mixing calculation of a U direction, and then carrying out the anti-aliasing color mixing calculation of a V direction; finally obtaining the colors needing to fill to carry out the per pixel drawing on the line elements.

Description

technical field [0001] The present invention relates to a symbolic rendering technology in the field of GIS and digital map, and provides a method for anti-aliasing drawing of linear map symbols based on symbolic structure, using GPU (GraphicsProcessingUnit) programmable pipeline and Shader language to realize the Method for high-quality rendering of vector line features. A color structure table is designed to effectively map and express line map symbols, which improves the drawing efficiency and symbolization flexibility of vector line elements. Background technique [0002] Vector data is an important form of abstract expression of spatial entities, and using different parameters such as color, size, and shape to symbolize vector data is an important means of transmitting spatial entity information to users through maps. Since the results of symbolic display are finally displayed on discrete pixels, the mathematical continuous characteristics of the original data cannot b...

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
IPC IPC(8): G06T15/00G06T1/20
CPCG06T1/20G06T15/005
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