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

Map vector line element corner reasonability drafting method based on graphics processing unit (GPU)

A vector line and rationality technology, which is applied in the field of GPU-based map vector line element corner rationality drawing, can solve problems such as unreasonable drawing of vector line elements, achieve enhanced drawing effect and readability, and avoid redrawing and missing drawing Effect

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

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is based on the GPU programmable pipeline and shader technology, aiming at the problem that the vector line element is prone to unreasonable drawing at the corner, breaking through the tradition and using a variety of different interval modes to avoid redrawing and missing drawing at the corner The method realizes the pixel-by-pixel drawing of vector line elements based on the symbolic structure, and performs corner rationality processing during the drawing 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
  • Map vector line element corner reasonability drafting method based on graphics processing unit (GPU)
  • Map vector line element corner reasonability drafting method based on graphics processing unit (GPU)
  • Map vector line element corner reasonability drafting method based on graphics processing unit (GPU)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] Compared with the straight line drawing in the traditional computer visualization field, due to the complexity of map symbols, the drawing of map vector line features is more difficult. The traditional method, which uses different interval parameters to adjust the drawing errors at the corners, is difficult to meet the requirements of map drawing, and also causes the loss of spatial information transmission. Therefore, the present invention designs a GPUShader-based map line element corner rationality drawing method to adapt to the correct drawing of different map symbols. Such as Figure 6 As shown, the method of the present invention is used to draw four typical corners, as well as the wrong results drawn by other methods for the same vector line elements.

[0033] The following is a software method, in the C++ language and OpenGL environment, to realize the rationality drawing method of the corners of map line elements based on GPUShader:

[0034] (1) Define the st...

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 of the GIS field and the digital map making field, and provides a map vector line element corner reasonability drafting method based on a GPU which realizes the linear vector element reasonable drawing based the method. The method comprises the following steps of firstly generating a corresponding color structural table according to a map symbol unit needing to be filled, and making a special column as a background column in the color structural table; then constructing a line triangulation network after triangularization according to line widths, transmitting a U parameter along a line direction and a V parameter vertical with the line direction to each vertex in the triangulation network, adjusting the U values when the vertexes are valuated with the U values and if the filling at the corners is the background column; and finally transmitting the color structural table and the U-V parameters to a shader program, and carrying out the per pixel drawing on the line elements based on the color structural table by utilizing the Shader language and according to the U-V value of each vertex.

Description

technical field [0001] The invention relates to a symbolic rendering technology in the fields of GIS and electronic map, and provides a method for drawing rationality of corners of map line elements based on GPU (Graphics Processing Unit) programmable pipeline and Shader language. Background technique [0002] The symbolization method of geospatial entities is an important research content in the field of geographic information and cartography. Compared with commonly used point symbols and surface symbols, line symbols are often more difficult and time-consuming because they need to be filled and drawn along the direction of linear elements. In addition to the commonly used solid lines and dashed lines, the line symbols required in map representations are more complex. For example, the linear symbol of a major urban road is a double-line graphic entity with a border; the railway symbol is a black and white graphic entity with a border; the single-sided boundary line symbol ...

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): G06T1/20G06T11/20G06T11/40
CPCG06T1/20G06T11/203G06T11/40
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