Unlock instant, AI-driven research and patent intelligence for your innovation.

A road shadow drawing method and device

A shadow rendering and road technology, applied in image data processing, instruments, 2D image generation, etc., can solve problems such as the occurrence of color blocks, and achieve the effect of avoiding color block problems.

Active Publication Date: 2017-10-24
ALIBABA (CHINA) CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the embodiments of the present invention is to provide a method and device for drawing road shadows, which can solve the problem of color blocks at the intersection of road shadows due to repeated fusion of road shadows

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 road shadow drawing method and device
  • A road shadow drawing method and device
  • A road shadow drawing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0020] See figure 1 , is a method for drawing road shadows provided by an embodiment of the present invention, the method comprising:

[0021] Step 10: Create a new road shadow drawing buffer;

[0022] Wherein, the size of the road shadow drawing buffer is the same as the size of the map image to be displayed on the user terminal screen. For example, if a map image of 256 pixels*256 pixels is to be displayed on the screen of the user terminal, the size of the road shadow drawing buffer is also 256 pixels*256 pixels.

[0023] Step 11: call the line drawing interface to draw opaque road shadows for all roads to be displayed in the buffer according to the preset road shadow color;

[0024] Where...

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

Embodiments of the present invention provide a road shadow drawing method and device. The method includes: creating a new road shadow drawing buffer; calling the line drawing interface to draw opaque road shadows for all roads to be displayed in the buffer according to the preset road shadow color; Shadows are blended with the map basemap. The technical solution provided by the embodiments of the present invention can avoid the problem of color blocks at road shadow intersections in the prior art due to multiple fusions of road shadows.

Description

technical field [0001] The invention relates to the field of electronic maps, in particular to a method and device for drawing road shadows in electronic maps. Background technique [0002] In the field of electronic maps, the same principle and method are used to draw road shadows and road lines, that is, to call a line drawing interface (such as DrawPolyline) for each road shadow drawn, and then combine the road shadow drawn by the line drawing interface with The map basemap is fused, that is, the road shadow is drawn on the corresponding position of the map basemap. [0003] During the research and practice of the existing road shadow drawing technology, the inventor found that the road shadow drawn by calling the line drawing interface in the existing technology has a translucent characteristic. When the map base map that has already drawn the road shadow needs to draw a new road shadow When , the existing technology is to fuse the newly drawn road shadows with the map ...

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/00
Inventor 林燕腾
Owner ALIBABA (CHINA) CO LTD