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

Method and device for drawing symbols

A technology for symbolizing and drawing images, which is applied in the field of geographic information, can solve problems such as slow speed, and achieve the effect of increasing speed, improving drawing rate, and better drawing effect

Active Publication Date: 2021-07-02
方正国际软件(北京)有限公司 +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Both of the above two methods need to analyze and process the spatial point data, so the speed of displaying the distribution of spatial point data is relatively slow

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 and device for drawing symbols
  • Method and device for drawing symbols
  • Method and device for drawing symbols

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] figure 1 , is a flow chart of the method for drawing symbols provided in Embodiment 1 of the present invention. Such as figure 1 As indicated, the process may include:

[0055] S101. Determine a grid to be selected corresponding to the image to be drawn in the area image according to the position information of the image to be drawn.

[0056] The area image can be divided into multiple grids, the number of pixels of the grid is greater than or equal to the number of pixels of the image to be drawn, and the number of grids to be selected is greater than or equal to one.

[0057] S102. Obtain the drawing situation of each grid to be selected.

[0058] S103. According to the drawing situation of each grid to be selected, determine whether each grid to be selected is a valid grid of the image to be drawn.

[0059] If yes, go to step S104, otherwise end the process.

[0060] S104. Draw the image to be drawn in the corresponding area of ​​the grid to be selected.

Embodiment 2

[0062] figure 2 , is a flow chart of the method for drawing symbols provided in Embodiment 2 of the present invention. Such as figure 2 As indicated, the process may include:

[0063] S201. Determine a grid to be selected corresponding to the image to be drawn in the area image according to the position information of the image to be drawn.

[0064] The area image can be divided into multiple grids, the number of pixels of the grid is greater than or equal to the number of pixels of the image to be drawn, and the number of grids to be selected is greater than or equal to one.

[0065] S202. Obtain the drawing situation of each grid to be selected.

[0066] S203. According to the drawing situation of each grid to be selected, determine whether the total drawing area available for the image to be drawn in the corresponding area of ​​the grid to be selected is not less than the first threshold, if yes, go to step S204, otherwise end the process .

[0067] S204. Draw the im...

Embodiment 3

[0107] On the basis of the method for drawing symbols provided in the first and second embodiments above, the flow chart of the method for drawing symbols provided by the third embodiment of the present invention can be found in Figure 6 .

[0108] S601. Store the location information of the image to be drawn in a memory, and establish a spatial index.

[0109] S602. Acquire the size of the image to be drawn and the size of the region image.

[0110] S603. Determine the grid size according to the size of the image to be drawn.

[0111] S604. Perform expansion processing on the area image, so that the number of pixels of the processed area image conforms to 2 to the nth power and is closest to the number of pixels of the area image.

[0112] S605. Perform grid division on the expanded region image according to the size of the grid.

[0113] S606. Acquire position information of the image to be drawn.

[0114] S607. According to the position information of the image to be d...

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 and device for drawing a symbol. Firstly, according to the position information of the image to be drawn, the candidate grid corresponding to the image to be drawn is determined in the area image, and then the drawing situation of each candidate grid is obtained, according to The drawing situation of each grid to be selected determines whether each grid to be selected is an effective grid of the image to be drawn, if each grid to be selected is an effective grid of the image to be drawn, or the corresponding grid of the image to be drawn is When the total drawing area available in the area is not less than the first threshold, the image to be drawn is drawn in the corresponding area of ​​the grid to be selected. It can be seen that there is no need to perform any spatial analysis on the acquired position information of the image to be drawn. , so that the drawing of the image to be drawn can be quickly completed in the area image, and the drawing rate is improved. Due to the improvement of the drawing rate, the distribution of spatial point data can be quickly displayed, and the speed of displaying the distribution of spatial point data can be improved. .

Description

technical field [0001] The invention belongs to the technical field of geographic information, in particular to a method and device for drawing symbols. Background technique [0002] When the amount of spatial point data is large, in order to display the distribution of spatial point data, spatial aggregation is usually performed on spatial point data or displayed in the form of hot areas. The spatial aggregation display method is to combine point information based on mutual The distance between them is aggregated into multiple points, and each point displays the aggregated point coordinates and the number of point data gathered at that point; the spatial hot zone converts point data into thermal Plane data, macroscopically display the aggregation and distribution of point data, and use different colors to represent areas with different aggregation degrees. Both of the above two methods need to analyze and process the spatial point data, so the speed of displaying the distr...

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): G06T11/60
Inventor 王生张本兴李欣刘立国周大良
Owner 方正国际软件(北京)有限公司
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