Method, device and system for drawing real-time reverse thermodynamic diagram by utilizing GPU (Graphics Processing Unit) acceleration

The GPU-accelerated real-time reverse heat map drawing method solves the problems of poor adaptability and low computing efficiency in heat map drawing, achieves more stable data performance and efficient calculation, and improves the efficiency of heat map drawing.

CN118691697APending Publication Date: 2024-09-24BAIYANG FUTURE (BEIJING) TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410702799.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing heat map drawing has problems such as poor adaptive ability, scale deformation and distortion, insufficient consideration of geographical spatial characteristics, and low efficiency of large-scale data calculation.

Method used

The GPU-accelerated real-time reverse heat map drawing method is used to obtain the heat point set, reversely calculate the interconnection between the geographical area and the surrounding heat points, generate a primary heat map, and superimpose it with the scene color to finally obtain a stable heat map. Performance.

Benefits of technology

It improves the stability of the heat map and the performance of data features, and improves the calculation efficiency. Compared with the traditional CPU method, the efficiency is increased by 5 to 30 times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691697A
    Figure CN118691697A
Patent Text Reader

Abstract

The technical scheme provides a real-time reverse thermodynamic diagram drawing method using GPU acceleration, and the method comprises the steps: obtaining a thermodynamic point set generated at each frame by a CPU end; according to the thermodynamic point set, analyzing interrelation between a geographic area represented by a screen pixel and surrounding adjacent data points in the GPU by taking the screen pixel as an object, and carrying out reverse calculation to generate a primary thermodynamic diagram; and carrying out superposition processing on the primary thermodynamic diagram and scene colors to obtain a final thermodynamic diagram. According to the technical scheme, the screen pixels replace the thermodynamic points to serve as analysis elements, the granularity of geographic space analysis is greatly reduced, and the influence of map scale transformation on the thermodynamic diagram is reduced to the minimum; aiming at the problem of low generation efficiency of a thermodynamic diagram generated by large-scale data calculation, the algorithm calculation efficiency is greatly improved through GPU parallel calculation by using a complex shader in cooperation with strategies such as kernel function parameter tuning, loop expansion, pixel buffer object display and the like. And the thermodynamic diagram can be updated in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present technical solution relates to the field of thermal maps, and in particular to a method, device and system for drawing a real-time reverse thermal map using GPU acceleration. Background Art

[0002] Common heat maps (HeatMap as an example) mainly use the idea of ​​density analysis to optimize rendering. First, the geographic data points are projected on the screen, that is, the geographic coordinates are projected as screen coordinates to obtain the screen data set Pi. Then, the K-means algorithm is used to perform hard clustering calculations on the data point set of each sample square to form clusters. Heat maps are usually drawn based on the central processing unit (CPU). There are some shortcomings in the existing general heat map drawing, mainly the following points:

[0003] 1. Poor adaptability, deformation and distortion at different scales. The data features displayed by the heat map vary greatly at different map scales.

[0004] 2. When drawing the heat map, the data is projected onto the screen window, without fully considering the geographic spatial characteristics of the data;

[0005] 3. The efficiency of generating heat maps for large-scale data calculations is low.

[0006] Technical solution content

[0007] In view of this, the present technical solution proposes a method and device for drawing a real-time reverse heat map using GPU acceleration to solve the above problems.

[0008] On the one hand, this technical solution proposes a method for drawing a real-time reverse heat map using GPU acceleration, comprising the following steps:

[0009] Get the set of hot spots generated by the CPU at the beginning of each frame;

[0010] According to the heat point set, the GPU analyzes the relationship between the geographical area represented by the screen pixel and the surrounding adjacent heat points, and generates a primary heat map by reverse calculation;

[0011] The primary heat map is superimposed with the scene color to obtain a final heat map.

[0012] As an optional implementation scheme of the present technical solution, optionally, the reverse calculation to generate a primary heat map based on the heat point set by analyzing the mutual relationship between the geographical area represented by the screen pixels and the surrounding adjacent heat points includes the following steps:

[0013] Get the extracted screen pixels;

[0014] Projecting the screen pixels into geographic space, and acquiring a set of neighboring heat points of each screen pixel according to the projected screen pixels;

[0015] According to the neighboring heat point set of the screen pixel, the influence of each screen pixel is calculated and an influence grayscale image is rendered;

[0016] Calculating the color gradient using the maximum entropy method according to the influential grayscale image;

[0017] The influence grayscale image is colored according to the color gradient to obtain the primary heat map.

[0018] As an optional implementation scheme of the present technical solution, optionally, the step of calculating the influence of each screen pixel and rendering an influence grayscale image based on the neighboring heat point set of the screen pixel comprises the following steps:

[0019] Obtaining a grayscale value operator of the screen pixel according to the sum of the influences of the neighboring hot spots of the screen pixel;

[0020] The screen pixel grayscale value operator is mapped to a grayscale interval ranging from [0, 1] to render an influential grayscale image.

[0021] As an optional implementation scheme of the present technical solution, optionally, the screen pixels are projected into geographic space, and when obtaining the neighboring thermal point set of each screen pixel according to the projected screen pixels, the distance d from the center of the screen pixel to the data point is calculated using the Havesine algorithm, and its formula is: r is the radius of the Earth;

[0022] In the formula, is the latitude of the two points; μ1 and μ2 are the longitude of the two points.

[0023] As an optional implementation scheme of the present technical solution, optionally, the calculation to generate a primary heat map is completed by a compute shader.

[0024] A device for implementing the method for drawing a real-time reverse thermal map using GPU acceleration as described in any one of claims 1 to 5, characterized in that it comprises:

[0025] Get the hot spot set module: used to get the hot spot set generated by the CPU at the beginning of each frame;

[0026] A module for reversely generating a primary heat map: a module for reversely calculating and generating a primary heat map based on the heat point set, by analyzing the interrelationship between the geographical area represented by the heat point set and the surrounding adjacent heat points on the GPU by taking the screen pixels as objects;

[0027] Generate final heat map module: used to superimpose the primary heat map with the scene color to obtain the final heat map.

[0028] As an optional implementation scheme of this technical solution, optionally,

[0029] The reverse generation module of the primary heat map is used to generate the primary heat map by reverse calculation based on the heat point set, by analyzing the mutual relationship between the geographical area represented by the screen pixel and the surrounding adjacent heat points on the GPU;

[0030] Acquire the extracted screen pixels; project the screen pixels into geographic space, and acquire the neighboring heat point set of each screen pixel according to the projected screen pixels; calculate the influence of each screen pixel according to the neighboring heat point set of the screen pixels and render an influence grayscale image; calculate the color gradient according to the influence grayscale image using the maximum entropy method; and color the influence grayscale image according to the color gradient to obtain the primary heat map.

[0031] On the other hand, the present technical solution provides a control system, comprising:

[0032] processor;

[0033] a memory for storing processor-executable instructions;

[0034] Wherein, the processor is configured to implement the method for drawing a real-time reverse thermal map using GPU acceleration as described in claims 1 to 5 when executing the executable instructions.

[0035] On the other hand, the present technical solution provides a non-volatile computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implements the method for drawing a real-time reverse thermal map using GPU acceleration as described in any one of claims 1 to 5.

[0036] The technical effects of this technical solution are:

[0037] The real-time reverse heat map drawing method using GPU acceleration proposed in this technical solution can fully consider the actual geographical spatial distribution of data, is less affected by the map scale, and more stably expresses data characteristics than general heat maps. Specifically, it includes: obtaining a set of heat points generated by the CPU at the beginning of each frame, and according to the heat point set, the GPU analyzes the relationship between the geographical area represented by it and the surrounding adjacent heat points by taking the screen pixels as the object, and reversely calculates and generates a primary heat map, and superimposes the primary heat map with the scene color to obtain the final heat map. And through GPU parallel computing, the computing efficiency is improved by 5 to 30 times compared with the traditional method based on the central processing unit (CPU).

[0038] Other features and aspects of the present technical solution will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present technical solution and, together with the description, serve to explain the principles of the present technical solution.

[0040] Figure 1 This is a flow chart of a method for drawing a real-time reverse heat map using GPU acceleration in the technical solution;

[0041] Figure 2 A flowchart of generating a primary thermal map by reverse calculation in the method for drawing a real-time reverse thermal map accelerated by GPU in the technical solution;

[0042] Figure 3 A schematic diagram of the interactive process of the method for drawing a real-time reverse heat map using GPU acceleration in the technical solution;

[0043] Figure 4 A schematic diagram of pixels and adjacent thermal points in a method for drawing a real-time reverse thermal map using GPU acceleration in the technical solution. DETAILED DESCRIPTION

[0044] Various exemplary embodiments, features and aspects of the present technical solution will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0045] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0046] In addition, in order to better illustrate the technical solution, many specific details are given in the specific implementation below. Those skilled in the art should understand that the technical solution can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the technical solution.

[0047] It should be noted that the common heat map (taking HeatMap as an example) mainly uses the idea of ​​density analysis to optimize rendering. First, the geographic data points are projected on the screen, that is, the geographic coordinates are projected as screen coordinates to obtain the screen data set Pi. Then, the K-means algorithm is used to perform hard clustering calculations on the data point set of each sample square to form clusters. Heat maps are usually drawn based on the central processing unit (CPU). There are some shortcomings in the existing general heat map drawing, mainly the following points: 1. Poor adaptability, deformation and distortion at different scales, and the data characteristics displayed by the heat map vary greatly at different map scales; 2. When drawing the heat map, the data is projected onto the screen window, and the geographic spatial characteristics of the data are not fully considered. 3. The heat map generated by large-scale data calculation is inefficient. The reverse heat map drawing method proposed in this paper can fully consider the actual situation of the geographic spatial distribution of the data, is less affected by the map scale, and more stably expresses the data characteristics than the general heat map. And through GPU parallel computing, the calculation efficiency is improved by 5 to 30 times compared with the traditional method based on the central processing unit (CPU). The present technical solution is described below through specific embodiments.

[0048] Example 1

[0049] like Figures 1 to 3 As shown, the present technical solution provides a method for drawing a real-time reverse heat map using GPU acceleration, comprising the following steps:

[0050] S100, obtaining a set of hot spots generated by the CPU at the beginning of each frame;

[0051] S200, based on the set of heat points, the GPU analyzes the relationship between the geographical area represented by the screen pixels and the surrounding adjacent heat points, and generates a primary heat map by reverse calculation;

[0052] In this step, independent of the rendering pipeline, the heat map is generated by making full use of the parallel computing characteristics of the GPU. The heat map is generated by parallel computing in different regions. The size of the region is determined according to the different needs of scene management. The number of screen pixels in each region is determined by the size of the output texture.

[0053] Specifically, it includes five small steps: S210, S220, S230, S240, and S250.

[0054] S210, obtaining extracted screen pixels;

[0055] In this step, each pixel is processed in the compute shader.

[0056] S220, projecting the screen pixels into geographic space, and acquiring a set of neighboring hot spots of each screen pixel according to the projected screen pixels;

[0057] It should be noted that in this step, the Web Map Service (WMS) is used as the geospatial platform, and the spatial reference system EPSG:3857 used by most web map service providers today is adopted. In this coordinate system, the distance between two geospatial points is calculated using the haversine algorithm (haversine formula), and the spatial distance d between two points is calculated as follows: Where: r is the radius of the earth; are the latitudes of the two points; μ1 and μ2 are the longitudes of the two points.

[0058] S230, calculating the influence of each screen pixel according to the neighboring heat point set of the screen pixel and rendering an influence grayscale image;

[0059] In this step, the relationship between the geographical area represented by the screen pixel and the surrounding adjacent data points is analyzed to calculate the grayscale value operator of the screen pixel, and the grayscale value is obtained after mapping, and finally the grayscale map of the entire screen is obtained. When calculating the influence of each pixel, only the points that have an influence on the pixel are calculated to improve efficiency.

[0060] It should be noted that the inverse heat map is based on the idea of ​​kernel density estimation. Kernel density estimation is a mathematical method that calculates the density of smoothed data points to reduce sampling artifacts. Figure 4 As shown, each screen pixel of the thermal image board represents a rectangular geographic area in geographic space. m =p n ∩O 1500 , where: p n is the total set of data points On; . is the area within n meters from the center of the screen pixel area.

[0061] Each adjacent hot spot has an influence on this screen pixel. The calculation formula of this influence I is as follows:

[0062]

[0063] Where: z is the attribute value of the data point (such as the bus station card swiping data in this article, z is the number of card swiping at a certain station within a certain period of time); w is the geographic width of a single screen pixel at the current geographic scale; d is the distance from the center of the screen pixel to the data point, which is obtained by the haversine formula; is the spatial weight function; h is the distance attenuation threshold. The grayscale value operator of the screen pixel is obtained by superimposing the influence of the neighboring heat points of the screen pixel. After obtaining the grayscale value operator of each screen pixel in the window, it can be mapped to the grayscale range of [0,1] to render the influence grayscale image.

[0064] S240, calculating the color gradient using the maximum entropy method according to the influential grayscale image;

[0065] It should be noted that in this step, the maximum entropy method is used to calculate the segmentation threshold of the color gradient. The basic idea of ​​the maximum entropy method is to divide the image into several sub-images and calculate the entropy of each sub-image. When the sum of the entropies of each sub-image is the largest, the thresholds for segmenting the image are the optimal thresholds.

[0066] The grayscale interval of the image can be expressed as {1, 2, 3, ..., L}, where L is the maximum grayscale value of the grayscale image, ni represents the number of pixels with grayscale value i, and N is the total number of image pixels. The grayscale probability function of the image is:

[0067]

[0068] The image entropy H is defined as follows:

[0069]

[0070] For M (M>2) level segmentation, the maximum entropy algorithm divides the image screen pixels into M sub-images according to the grayscale values, namely C0={0,1,…,t1}, C1={t1+1,…,t2},…,CM-1={tM-1,…,L}.

[0071] Calculate the entropy of each sub-image according to the above formula, and then add them together to get the entropy of the entire image.

[0072]

[0073] Change the image segmentation threshold in turn, traverse all possible segmentation situations, iteratively calculate the image entropy, find the maximum image entropy, and the corresponding set of segmentation thresholds is the optimal threshold t*:

[0074]

[0075] S250, coloring the influence grayscale image according to the color gradient to obtain the primary heat map.

[0076] In this step, the grayscale image is colored by using the gradient segmentation threshold of the heat map obtained in S240 and the gradient color finally obtained.

[0077] S300: Overlay the primary heat map with the scene color to obtain a final heat map.

[0078] Example 2

[0079] Furthermore, in another aspect, the present technical solution provides a control system, comprising:

[0080] processor;

[0081] a memory for storing processor-executable instructions;

[0082] Wherein, the processor is configured to implement any of the above-mentioned methods for drawing a real-time reverse thermal map using GPU acceleration when executing the executable instructions.

[0083] The technical solution is used to control the system including a processor and a memory for storing processor executable instructions. The processor is configured to implement any of the above-mentioned methods for drawing a real-time reverse thermal map using GPU acceleration when executing the executable instructions.

[0084] Here, it should be noted that the number of processors can be one or more. At the same time, the control system of the present technical solution may also include an input device and an output device. The processor, memory, input device and output device may be connected via a bus or in other ways, which are not specifically limited here.

[0085] As a computer-readable storage medium, the memory can be used to store software programs, computer executable programs and various modules, such as the program or module corresponding to the method for drawing a real-time reverse thermal map accelerated by GPU in this technical solution. The processor executes various functional applications and data processing of the control system by running the software programs or modules stored in the memory.

[0086] The input device can be used to receive input numbers or signals. The signal can be a key signal related to user settings and function control of the device / terminal / server. The output device can include a display device such as a display screen.

[0087] Example 3

[0088] On the other hand, the present technical solution provides a non-volatile computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implements any of the above-mentioned methods for drawing a real-time reverse thermal map using GPU acceleration.

[0089] The technical solution may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the technical solution.

[0090] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0091] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0092] The computer program instructions for performing the operation of the present technical solution can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of computer-readable program instructions to personalize electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs), the electronic circuits can execute computer-readable program instructions, thereby realizing various aspects of the present technical solution.

[0093] Here, various aspects of the present technical solution are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the present technical solution. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0094] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0095] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0096] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present technical solution. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0097] The embodiments of the present technical solution have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other ordinary technicians in the art to understand the embodiments disclosed herein.

Claims

1. A real-time reverse heat map drawing method using GPU acceleration, It is characterized in that The steps include: Get the set of hot spots generated by the CPU at the beginning of each frame; According to the heat point set, the GPU analyzes the relationship between the geographical area represented by the screen pixel and the surrounding adjacent heat points, and generates a primary heat map by reverse calculation; The primary heat map is superimposed with the scene color to obtain a final heat map.

2. The method for drawing a real-time reverse heat map using GPU acceleration according to claim 1, It is characterized in that The method of generating a primary heat map by reversely calculating the heat point set and analyzing the relationship between the geographical area represented by the screen pixel and the surrounding adjacent heat points based on the heat point set includes the following steps: Get the extracted screen pixels; Projecting the screen pixels into geographic space, and acquiring a set of neighboring heat points of each screen pixel according to the projected screen pixels; According to the neighboring heat point set of the screen pixel, the influence of each screen pixel is calculated and an influence grayscale image is rendered; Calculating the color gradient using the maximum entropy method according to the influential grayscale image; The influence grayscale image is colored according to the color gradient to obtain the primary heat map.

3. The method for drawing a real-time reverse heat map using GPU acceleration according to claim 2, It is characterized in that The step of calculating the influence of each screen pixel according to the adjacent heat point set of the screen pixel and rendering the influence grayscale image comprises the following steps: Obtaining a grayscale value operator of the screen pixel according to the sum of the influences of the neighboring hot spots of the screen pixel; The screen pixel grayscale value operator is mapped to a grayscale interval ranging from [0, 1] to render an influential grayscale image.

4. The method for drawing a real-time reverse heat map using GPU acceleration according to claim 2, It is characterized in that Project the screen pixels to geographic space, and when obtaining the neighboring heat point set of each screen pixel based on the projected screen pixels, calculate the distance from the center of the screen pixel to the data point d The havesine algorithm is used, and its formula is: r is the radius of the Earth; In the formula, is the latitude of the two points; μ1 and μ2 are the longitude of the two points.

5. The method for drawing a real-time reverse heat map using GPU acceleration according to claim 1, It is characterized in that The calculation is completed through the compute shader to generate a primary heat map.

6. A device for implementing the method for drawing a real-time reverse thermal map using GPU acceleration as described in any one of claims 1 to 5, It is characterized in that include: Get the hot spot set module: used to get the hot spot set generated by the CPU at the beginning of each frame; A module for reversely generating a primary heat map: a module for reversely calculating and generating a primary heat map based on the heat point set, by analyzing the interrelationship between the geographical area represented by the heat point set and the surrounding adjacent heat points on the GPU by taking the screen pixels as objects; Generate final heat map module: used to superimpose the primary heat map with the scene color to obtain the final heat map.

7. The device according to claim 6, Features: The reverse generation module of the primary heat map is used to generate the primary heat map by reverse calculation based on the heat point set, by analyzing the mutual relationship between the geographical area represented by the screen pixel and the surrounding adjacent heat points on the GPU; Acquire the extracted screen pixels; project the screen pixels into geographic space, and acquire a set of neighboring heat points of each screen pixel according to the projected screen pixels; calculate the influence of each screen pixel according to the set of neighboring heat points of the screen pixels and render an influence grayscale image; According to the influence grayscale image, the color gradient is calculated using the maximum entropy method; the influence grayscale image is colored according to the color gradient to obtain the primary thermal map.

8. A control system, It is characterized in that include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method for drawing a real-time reverse thermal map using GPU acceleration as described in claims 1 to 5 when executing the executable instructions.

9. A non-volatile computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method for drawing a real-time reverse thermal map using GPU acceleration as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Hotspot map generation method based parallel acceleration

    CN104881839A

  • Heat map visualization method through reverse rendering

    CN107967702A

  • Eye movement tracking method and eye movement tracking device

    CN116452530A