Map rendering method and device
A map and rendering technology, which is applied in the field of map rendering methods and devices, can solve the problems of high hardware resource requirements and large hardware resource consumption, and achieve the effect of reducing consumption and improving visual experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] see figure 1 , figure 1 It is a schematic flowchart of a map rendering method provided by an embodiment of the present invention. The method is applied in automatic driving, and can be executed by a map rendering device, which can be realized by means of software and / or hardware, and generally can be integrated in a vehicle-mounted computer, a vehicle-mounted industrial personal computer (IPC) and other vehicle-mounted terminals , the embodiments of the present invention are not limited. Such as figure 1 As shown, the map rendering method provided in this embodiment specifically includes:
[0064] 100. Based on the loaded translucent image, generate a target texture according to preset texture generation parameters.
[0065] Those skilled in the art can understand that the texture image needs to be loaded before using the texture. Since texture images may be stored in various formats, and each format has its own data structure and arrangement, there are many ways t...
Embodiment 2
[0081] see figure 2 , figure 2 It is a schematic flowchart of a map rendering method provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above embodiments, adding a step of fusing the alpha channel value of the target boundary texture pixel with the alpha channel value of the background pixel in the background where the layer to be rendered is located, as shown in figure 2 As shown, the method includes:
[0082] 200. Based on the loaded translucent image, generate a target texture according to preset texture generation parameters.
[0083] Wherein, the translucent image is an image in which the transparency of border pixels is between transparent and opaque, and the transparency of pixels inside the border is opaque.
[0084] 202. Determine the texture coordinates of the vertices of the layer to be rendered in the target texture.
[0085] In this embodiment, the texture coordinates corresponding to the vertices of the lay...
Embodiment 3
[0105] see image 3 , image 3 It is a schematic structural diagram of a map rendering device provided by an embodiment of the present invention. Such as image 3 As shown, the device includes: a target texture generation module 300 , an alpha channel value sampling module 302 and a layer rendering module 304 .
[0106] Wherein, the target texture generation module 300 is configured to generate the target texture according to preset texture generation parameters based on the loaded translucent image, wherein the translucent image is that the transparency of the boundary pixels is between transparent and opaque, and the pixels inside the boundary are The transparency of the opaque image;
[0107] The alpha channel value sampling module 302 is configured to sample the alpha channel value of the texel in the target texture according to the position mapping relationship between the map layer to be rendered and the target texture, and sample the obtained The first alpha channel...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com