Thermal value generation method, three-dimensional thermal map generation method and related devices

By diffusing point on the shooting route, the thermal value of the thermal area is generated, which solves the problem of low accuracy of thermal value generation in the prior art, and improves the accuracy and efficiency of thermal map generation.

CN113868833BActive Publication Date: 2025-03-21SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110983254.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-25
Publication Date
2025-03-21
Estimated Expiration
2041-08-25

AI Technical Summary

Technical Problem

In the prior art, the accuracy of thermal value generation is low, especially when there are fewer or more shooting points, data deviation and overlapping phenomena affect the accuracy of thermal map generation.

Method used

By performing point diffusion on the shooting route, the starting point and diffusion point are determined, and the thermal power value of the thermal area is generated based on the thermal power values ​​of these points.

Benefits of technology

It improves the accuracy and efficiency of thermal value generation, can better reflect the flow of people on the shooting route, and enhances the efficiency, accuracy and comprehensiveness of data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113868833B_ABST
    Figure CN113868833B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of three-dimensional thermal maps, and discloses a thermal value generation method, a three-dimensional thermal map generation method and related devices, wherein the method determines at least two position points on a thermal region in a model, wherein the position points are points on a shooting route formed by a shooting device on the model when shooting the thermal region; one of the position points located at any end of the shooting route is determined as a starting point, and points are diffused along the shooting route from the starting point to determine diffused points on the shooting route; a starting thermal value corresponding to the starting point and diffused thermal values ​​corresponding to each diffused point are determined; and a thermal value corresponding to the thermal region is generated based on the starting thermal value and the diffused thermal value. The present invention improves the accuracy and efficiency of thermal value generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional thermodynamic maps, and in particular to a thermodynamic value generation method, a three-dimensional thermodynamic map generation method and related devices. Background Art

[0002] A heat map is a visualization that shows the strength, size, and changing trends of data. It is widely used in geographic location data visualization, such as population density analysis and population activity analysis. Heat maps are generated based on thermal values, so the accuracy and comprehensiveness of thermal values ​​are very important for the generation of heat maps.

[0003] In the prior art, the thermal value is often determined by manually collecting data in the corresponding scene, and then a thermal map is generated based on the thermal value. However, the drawing of the thermal map in this method may be affected by the number of shooting points. When there are fewer shooting points, the collected data has a large deviation, which leads to a low accuracy rate of the determined thermal value; when there are more shooting points, the collected data may overlap, which leads to a low accuracy rate of the determined thermal value, thus affecting the accuracy of the generated thermal map. Summary of the invention

[0004] The embodiments of the present invention provide a method for generating a thermal value, a method for generating a three-dimensional thermal map, and related devices to solve the problem of low accuracy in generating thermal values ​​in the prior art.

[0005] A method for generating a thermal value, comprising:

[0006] Determine at least two position points on the thermal region in the model, where the position points are points on a shooting route formed in the thermal region when a shooting device on the model shoots the thermal region;

[0007] Determine a position point located at any end of the shooting route among the position points as a starting point, and perform point diffusion along the shooting route from the starting point to determine diffused points on the shooting route;

[0008] Determining a starting thermal value corresponding to the starting point and a diffusion thermal value corresponding to each diffusion point;

[0009] Based on the initial thermal value and the diffused thermal value, a thermal value corresponding to the thermal area is generated.

[0010] A three-dimensional heat map generation method, comprising:

[0011] According to the received scene parameters, a three-dimensional model corresponding to the scene parameters is established;

[0012] In response to a generation instruction for generating a three-dimensional thermal map corresponding to the three-dimensional model, generating a thermal value corresponding to the thermal area included in the three-dimensional model according to the above-mentioned thermal value generation method;

[0013] Based on the thermal values ​​corresponding to the thermal areas included in the three-dimensional model, the thermal distribution results corresponding to the thermal areas are displayed on the three-dimensional model to generate a three-dimensional thermal map corresponding to the three-dimensional model.

[0014] A thermal value generating device, comprising:

[0015] A position point determination module, used to determine at least two position points on the thermal region in the model, wherein the position points are points on a shooting route formed in the thermal region when a shooting device on the model shoots the thermal region;

[0016] A point diffusion module, used for determining a point among the position points located at any end of the shooting route as a starting point, and performing point diffusion along the shooting route from the starting point to determine diffused points on the shooting route;

[0017] A thermal value determination module, used to determine a starting thermal value corresponding to the starting point, and a diffusion thermal value corresponding to each diffusion point;

[0018] The thermal value generation module is used to generate the thermal value corresponding to the thermal area based on the initial thermal value and the diffusion thermal value.

[0019] A three-dimensional thermal map generating device, comprising:

[0020] A three-dimensional model building module, used to build a three-dimensional model corresponding to the scene parameters according to the received scene parameters;

[0021] A generating instruction response module, used to generate a thermal value corresponding to the thermal area included in the three-dimensional model according to the above-mentioned thermal value generation method in response to a generating instruction for generating a three-dimensional thermal map corresponding to the three-dimensional model;

[0022] The three-dimensional thermal map generation module is used to display the thermal distribution results corresponding to the thermal areas contained in the three-dimensional model based on the thermal values ​​corresponding to the thermal areas, so as to generate a three-dimensional thermal map corresponding to the three-dimensional model.

[0023] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the above-mentioned thermal value generation method is implemented when the processor executes the computer program, or the above-mentioned three-dimensional thermal map generation method is implemented when the processor executes the computer program.

[0024] A computer-readable storage medium stores a computer program, which implements the above-mentioned thermal value generation method when executed by a processor, or implements the above-mentioned three-dimensional thermal map generation method when executed by a processor.

[0025] The above-mentioned thermal value generation, three-dimensional thermal map generation method, device, equipment and medium, the thermal value generation method determines at least two position points on the thermal area in the model, the position points are points on the shooting route formed in the thermal area when the shooting equipment on the model shoots the thermal area; one of the position points located at any end of the shooting route is determined as the starting point, and the point positions are diffused along the shooting route from the starting point to determine the diffused point positions on the shooting route; the starting thermal value corresponding to the starting point position and the diffused thermal value corresponding to each of the diffused points are determined; based on the starting thermal value and the diffused thermal value, the thermal value corresponding to the thermal area is generated.

[0026] The present invention diffuses points on the shooting route so that the capture points (such as the above-mentioned starting points and diffusion points) fill the entire shooting route, and then after subsequently generating thermal values ​​corresponding to each capture point (such as the above-mentioned starting thermal value and diffusion thermal value), the thermal value corresponding to the thermal area is generated according to the starting thermal value and the diffusion thermal value, which can better reflect the flow of people data on the shooting route, improve the accuracy and efficiency of thermal value generation, and then when it is necessary to perform data analysis based on thermal values ​​on the shooting route, the efficiency, accuracy and comprehensiveness of data analysis can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0028] Figure 1 is a schematic diagram of an application environment of a three-dimensional heat map generation method in one embodiment of the present invention;

[0029] Figure 2 is a flow chart of a method for generating a three-dimensional thermal map in one embodiment of the present invention;

[0030] Figure 3 is a flow chart of step S20 in a method for generating a three-dimensional heat map in one embodiment of the present invention;

[0031] Figure 4is a flow chart of step S30 in a method for generating a three-dimensional heat map in one embodiment of the present invention;

[0032] Figure 5 It is a principle block diagram of a three-dimensional thermal map generating device in one embodiment of the present invention;

[0033] Figure 6 is a schematic diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] The thermal value generation method provided in the embodiment of the present invention can be applied as follows: Figure 1 Specifically, the thermal value generation method is applied in a three-dimensional thermal map generation system, and the thermal value generation system includes: Figure 1 The client and server shown can realize the thermal value generation method through the client or server in the three-dimensional thermal map generation system. The client and the server communicate through the network to solve the problem of poor effect of data analysis through thermal maps in the prior art. Among them, the client is also called the user end, which refers to a program corresponding to the server and providing local services to customers. The client can be installed on but not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices. The server can be implemented with an independent server or a server cluster composed of multiple servers.

[0036] In one embodiment, if Figure 2 As shown, a method for generating a thermal value is provided, and the method is applied in Figure 1 The server in the example is used as an example to illustrate the process, including the following steps:

[0037] S10: Determine at least two position points on the thermal area in the model, where the position points are points on a shooting route formed in the thermal area when a shooting device on the model shoots the thermal area.

[0038] It can be understood that the model in this embodiment can be a two-dimensional model or a three-dimensional model, and the model can be generated by a two-dimensional modeling device or a three-dimensional modeling device according to the corresponding model parameters. The thermal area refers to the area in the model where the thermal effect needs to be presented and data analysis is performed based on the thermal effect. The shooting device is a device with a camera storage function, such as a camera. The shooting route is the connection between the position points. In this embodiment, the number of position points is greater than or equal to 2.

[0039] S20: Determine a position point located at any end of the shooting route among the position points as a starting point, and perform point diffusion along the shooting route from the starting point to determine diffused points on the shooting route.

[0040] It can be understood that the shooting route in this embodiment can be a straight line route or a circular route, and a shooting route includes a starting point and an end point. For example, if the shooting route is a horizontal straight line route, the position point at the leftmost or rightmost end of the position points of the shooting route can be used as the starting point; if the shooting route is a vertical straight line route, the position point at the top or bottom of the position points of the shooting route can be used as the starting point.

[0041] It can be understood that point diffusion refers to a method of diffusing a predetermined interval of points from the starting point on the shooting route to form a diffusion point. This point diffusion method enables more points to be generated on the entire shooting route (i.e., including the starting point and other diffusion points), so that the thermal map of the shooting route can be connected into a thermal network, rather than a single thermal spot. Among them, the diffusion point is the point formed after diffusion from the starting point; after point diffusion from the starting point, if the generated diffusion point coincides with other position points except the starting point, then the position point representing the coincidence is one of the diffusion points; if the generated diffusion point does not coincide with other position points except the starting point, then the diffusion point is represented as a newly generated point, and if other position points except the starting point do not coincide with the generated diffusion point, other position points except the starting point are not regarded as diffusion points.

[0042] S30: Determine the starting thermal value corresponding to the starting point and the diffusion thermal value corresponding to each diffusion point.

[0043] It can be understood that the thermal value is used to characterize the strength of the data of each point (such as the starting point and the diffusion point mentioned above). For example, in the present embodiment, the thermal value can characterize the number of people captured at each point, and the larger the thermal value, the more people are captured at the corresponding point. The starting thermal value can characterize the number of people captured at the starting point; the diffusion thermal value can characterize the number of people captured at the corresponding diffusion point. Specifically, after the point diffusion is started from the starting point to determine the diffusion point on the shooting route, in the present embodiment, the thermal value corresponding to each point (such as the starting point and the diffusion point mentioned above) is determined based on the position information of each point (such as the starting point and the diffusion point mentioned above) by a method based on normal distribution.

[0044] S40: Generate a thermal value corresponding to the thermal area based on the initial thermal value and the diffused thermal value.

[0045] It can be understood that after determining the starting thermal value corresponding to the starting point and the diffusion thermal value corresponding to each diffusion point, for the starting point, it includes the starting position information and the starting thermal value of the starting point; for the diffusion point, it includes the diffusion position information of the diffusion point and the corresponding diffusion thermal value.

[0046] Optionally, the thermal value represents the flow of people on the corresponding shooting route. In this embodiment, the thermal values ​​corresponding to different flows of people are different, and corresponding colors can be set for different thermal values. For example, the larger the thermal value, the darker the corresponding thermal effect color; or the thermal value can be presented in the form of thermal height, for example, the larger the thermal value, the higher the corresponding thermal height. Specifically, after determining the starting thermal value corresponding to the starting point and the diffuse thermal value corresponding to each diffuse point, the thermal value corresponding to the thermal area is generated based on the starting thermal value and the diffuse thermal value. When the thermal value of the thermal area is analyzed, a mesh connection is formed between the points on the corresponding shooting route, rather than a single thermal value spot, thereby improving the accuracy of thermal analysis of the thermal area based on the thermal value.

[0047] In this embodiment, by diffusing points on the shooting route, the capture points (such as the starting points and the diffusion points mentioned above) fill the entire shooting route, and then after subsequently generating thermal values ​​corresponding to each capture point (such as the starting thermal value and the diffusion thermal value mentioned above), the thermal values ​​corresponding to the thermal area are generated according to the starting thermal value and the diffusion thermal value, which can better reflect the flow of people data on the shooting route, and then when it is necessary to perform data analysis based on thermal values ​​on the shooting route, the efficiency, accuracy and comprehensiveness of the data analysis can be improved.

[0048] In one embodiment, after step S40, that is, after generating the thermal value corresponding to the thermal area based on the initial thermal value and the diffused thermal value, the method further includes:

[0049] Based on the thermal values ​​corresponding to the thermal areas, the thermal distribution results corresponding to the thermal areas are displayed in the model to generate a thermal map corresponding to the thermal areas.

[0050] It can be understood that after the thermal value corresponding to the thermal area is generated based on the starting thermal value and the diffuse thermal value, the thermal value corresponding to the thermal area can be used to present the thermal effect of the thermal area, and then the thermal distribution result corresponding to the thermal area can be displayed in the model, that is, the thermal effect of the thermal value corresponding to each point is displayed on the position information corresponding to each point (such as displaying the thermal effect corresponding to the starting thermal value on the starting position information of the starting point, or displaying the thermal effect corresponding to the diffuse thermal value on the diffuse position information of the diffuse point), and then the corresponding thermal distribution result in the thermal area is obtained, thereby generating a thermal map corresponding to the thermal area. In this way, the thermal effect can fill the entire thermal area, improving the accuracy of subsequent thermal analysis of the thermal area.

[0051] In one embodiment, if Figure 3 As shown, in step S20, point diffusion is performed starting from the starting point to determine the diffused points on the shooting route, including:

[0052] S201: Obtain a preset diffusion interval and obtain starting position information of a starting point.

[0053] Optionally, the preset diffusion interval can be selected according to the road length of the shooting route (i.e., the distance between the starting point and the end point of the shooting route), or the size of the thermal area. For example, the preset diffusion interval can be set to 1 cm, 2 cm, etc. (the preset diffusion interval is the interval under the constructed model, and can be proportionally transformed with the interval of the shooting route in the actual scene. For example, when the preset diffusion interval is 1 cm, the actual interval in the corresponding shooting route is 1 m, etc.). The starting position information is the coordinate point position of the starting point in the model, and the starting position information includes the starting horizontal coordinate and the starting vertical coordinate; it can be understood that the horizontal coordinate and the vertical coordinate are the coordinate information obtained after mapping the actual position information of the starting point according to a certain ratio; in addition, the real geographical location coordinates, longitude and latitude coordinates, etc. can also be used as the starting position information, which is not limited here.

[0054] S202: Determine a point on the shooting route that is the farthest from the starting point as the end point, and obtain end point position information of the end point.

[0055] It can be understood that in the above steps, it is pointed out that if the shooting route is a horizontal road, the starting point of the shooting route is at the leftmost position of the horizontal road. At this time, the starting point is the position point closest to the leftmost position, and the position point on the shooting route with the longest road extension distance from the starting point, that is, the position point closest to the rightmost position of the horizontal road at this time is considered to be the end point. If the shooting route is a longitudinal road, the starting point of the shooting route is at the bottom of the longitudinal road, then the starting point is the position point closest to the bottommost position, and the position point closest to the top of the longitudinal road at this time is the end point. Among them, the end point position information is the coordinate point position of the end point in the model, and the end point position information includes the end point horizontal coordinate and the end point vertical coordinate.

[0056] S203: Determine diffusion points on the shooting route according to the starting position information, the ending position information and the preset diffusion interval.

[0057] Specifically, after determining the starting position information of the starting point and the ending position information of the ending point, a diffusion point can be generated starting from the starting position information and between the starting position information and the ending position information at each preset diffusion interval on the shooting route.

[0058] In this embodiment, by spreading the points starting from the starting point, the entire shooting route is filled with capture points (that is, the starting point and the diffusion points), so that a continuous thermal network effect can be presented on the shooting route, rather than just a single thermal spot, thereby improving the efficiency and accuracy of data analysis based on thermal values.

[0059] In one embodiment, step S201, that is, obtaining a preset diffusion interval, includes:

[0060] Get the area size information of the thermal area;

[0061] Based on the area size information of the thermal area, a preset diffusion interval corresponding to the area size information of the thermal area is determined.

[0062] It can be understood that the area size information is the area of ​​the thermal area in the model. The area size information can be obtained directly from the model, or the area of ​​the thermal area in the actual scene can be obtained, and then the size information of the thermal area is determined according to the transformation ratio between the model and the actual scene. Specifically, after obtaining the area size information of the thermal area, the preset diffusion interval corresponding to the area size information of the thermal area is determined according to the area size information. For example, when the area size information is large, the corresponding preset diffusion interval can be set to a larger value; when the area size information is small, the corresponding preset diffusion interval can be set to a smaller value. In this way, the preset diffusion interval can be dynamically adjusted according to the area size information, so that the diffusion points on the shooting route are not prone to overlap, thereby improving the accuracy and feasibility of point diffusion.

[0063] In one embodiment, the starting position information includes a starting horizontal coordinate and a starting vertical coordinate; the ending position information includes an ending horizontal coordinate and an ending vertical coordinate;

[0064] In step S203, the diffusion points on the shooting route are determined according to the starting position information, the end position information and the preset diffusion interval, including:

[0065] The difference of the abscissa is determined according to the starting abscissa and the ending abscissa, and the difference of the ordinate is determined according to the starting ordinate and the ending ordinate.

[0066] It can be understood that the horizontal coordinate difference represents the horizontal interval between the starting point and the end point, and can be determined by the difference between the starting horizontal coordinate and the end point horizontal coordinate. The vertical coordinate difference represents the vertical interval between the starting point and the end point, and can be determined by the difference between the starting vertical coordinate and the end point vertical coordinate.

[0067] The point connection line is determined according to the difference in the horizontal coordinate and the difference in the vertical coordinate; the point connection line refers to the connection line between the starting position information and the end position information on the shooting route.

[0068] It can be understood that the connection distance of the point connection line is related to the horizontal coordinate difference and the vertical coordinate difference. The point connection line is a line connecting the starting position information of the starting point and the ending position information of the ending point on the shooting route, and the point connection line passes through all positions between the starting point and the ending point.

[0069] According to the preset diffusion interval, the starting position information and the ending position information, diffusion points are generated on the point connection line starting from the starting position information.

[0070] Specifically, after the point line is determined by a preset point diffusion function according to the horizontal coordinate difference and the vertical coordinate difference, diffusion points are generated on the point line starting from the starting position information according to the preset diffusion interval, the starting position information and the ending position information.

[0071] In this embodiment, after determining the point connection lines that need to be diffused, the diffusion points can be determined in the specified point connection lines, and the diffusion points are generated in the direction from the starting point to the end point, so that the generated diffusion points have regularity, thereby improving the accuracy of generating thermal values ​​of the thermal area in subsequent steps.

[0072] In one embodiment, according to the preset diffusion interval, the starting position information and the ending position information, the diffusion points are generated on the point connection line starting from the starting position information, including:

[0073] According to the starting position information and the preset diffusion interval, a previous diffusion point whose distance interval from the starting point is the preset diffusion interval is generated on the point connection line.

[0074] Specifically, after the point connection line is determined according to the horizontal coordinate difference and the vertical coordinate difference, a previous diffusion point is generated at a preset diffusion interval after the starting position information of the starting point.

[0075] If it is determined that the distance interval between the preceding diffusion point and the endpoint point is greater than or equal to the preset diffusion interval according to the position information of the preceding diffusion point and the endpoint position information, then a subsequent diffusion point whose distance interval with the preceding diffusion point is the preset diffusion interval is continuously generated on the point connection line according to the position information of the preceding diffusion point and the endpoint position information, until the distance interval between the subsequent diffusion point and the endpoint point is less than the preset diffusion interval;

[0076] Specifically, after a preceding diffusion point whose distance interval from the starting point is the preset diffusion interval is generated on the point line according to the starting position information and the preset diffusion interval, the position information of the preceding diffusion point is obtained, and it is determined whether the distance interval between the preceding diffusion point and the end point on the point line is greater than or equal to the preset diffusion interval; if the distance interval between the preceding diffusion point and the end point is greater than the preset diffusion interval, subsequent diffusion points continue to be generated at the preset diffusion interval after the preceding diffusion point until the distance interval between the subsequent diffusion point and the end point is less than the preset diffusion interval.

[0077] If the distance interval between the previous diffusion point and the end point is equal to the preset diffusion interval, a subsequent diffusion point is generated at the preset diffusion interval after the previous diffusion point, that is, at the end point (or the end point is directly recorded as the subsequent diffusion point), and point diffusion is stopped.

[0078] If the distance between the previous diffusion point and the end point is less than the preset diffusion interval, the point diffusion is stopped and the subsequent diffusion point is not generated.

[0079] The front diffusion point and the rear diffusion point are used as diffusion points generated on the point connection line.

[0080] Specifically, if it is determined that the distance interval between the previous diffusion point and the endpoint point is greater than or equal to the preset diffusion interval based on the position information of the previous diffusion point and the endpoint position information, a subsequent diffusion point whose distance interval with the previous diffusion point is the preset diffusion interval is generated on the point line based on the position information of the previous diffusion point and the endpoint position information, until the distance interval between the subsequent diffusion point and the endpoint point is less than the preset diffusion interval, and then the previous diffusion point and the subsequent diffusion point are recorded as diffusion points generated on the point line.

[0081] In another embodiment, the above point diffusion method is only an example. The present invention also proposes another point diffusion method as follows:

[0082] According to the difference in the horizontal coordinate and the difference in the vertical coordinate, the length of the line connecting the points is determined by the edge length determination function, and the edge length determination function is as follows:

[0083]

[0084] Among them, L is the length of the line connecting the points; x1 is the starting horizontal coordinate; x2 is the ending horizontal coordinate; (x1-x2) is the difference in horizontal coordinates; y1 is the starting vertical coordinate; y2 is the ending vertical coordinate; (y1-y2) is the difference in vertical coordinates.

[0085] The number of diffusion points on the point connection line is determined according to the connection line length and the preset diffusion interval.

[0086] It can be understood that after determining the line length of the point connection line by the edge length determination function according to the horizontal coordinate difference and the vertical coordinate difference, the number of diffusion points on the point connection line can be determined according to the line length and the preset diffusion interval, that is, the ratio between the line length and the preset diffusion interval. If the ratio between the line length and the preset diffusion interval is not an integer, the digits on the decimal place are discarded and rounded down to obtain the final number of diffusion points. For example, if the ratio between the line length and the preset diffusion interval is 4.2 or 4.6, the corresponding number of diffusion points is 4.

[0087] According to the number of diffusion points on the point connection line and the preset diffusion interval, each diffusion point is determined on the point connection line starting from the starting point.

[0088] Specifically, after determining the number of diffusion points on the point line according to the line length and the preset diffusion interval, a diffusion point is determined on the point line at every preset diffusion interval starting from the starting point, until the same number of diffusion points as the number of diffusion points on the point line is generated, and the point diffusion is terminated.

[0089] In this embodiment, by presetting the diffusion interval, the starting point and the end point to determine the generated diffusion points (such as the front diffusion points and the back diffusion points mentioned above), the direction of diffusion point generation can be unified, so that the diffusion points are generated between the starting point and the end point, and when the diffusion point coincides with the position point, the corresponding position point is directly used as the diffusion point, which can improve the efficiency of diffusion point generation; when the diffusion point and the position point do not coincide (such as the position point is between two diffusion points), the non-overlapping position points are eliminated, which can reduce the number of points, avoid point redundancy, and thereby reduce the probability of overlap between two adjacent points.

[0090] In one embodiment, if Figure 4 As shown, in step S30, the starting thermal value corresponding to the starting point and the diffusion thermal value corresponding to each diffusion point are determined, including:

[0091] S301: Obtain the actual number of people photographed when the photographing device on the model photographs the thermal area.

[0092] It is understandable that the above description points out that the location points are pre-set on the shooting route and the flow of people is photographed at the location points by the shooting equipment. Therefore, the actual number of people photographed is the number of people obtained by the shooting equipment on the model when shooting the thermal area. Optionally, when shooting the shooting route at each location point, each person photographed can be calibrated or the captured image can be saved, and then the number of people with different calibrations can be determined as the actual number of people captured, or the captured images can be clustered to eliminate repeated pedestrians to ensure the accuracy of the actual number of people captured.

[0093] S302: Obtaining a preset standard deviation, starting position information of a starting point, and diffusion position information corresponding to each diffusion point.

[0094] It can be understood that the preset standard deviation is a value set in advance, and the preset standard deviation can be determined by offline operation and maintenance personnel surveying the real scene corresponding to the model, that is, the preset standard deviation is related to the geographical location, scale or number of buildings of the real scene corresponding to the model. The diffusion location information is the location information of each diffusion point in the model, and one diffusion point is associated with one diffusion location information.

[0095] S303: Select a maximum value point from the starting point and all diffusion points, and record diffusion position information corresponding to the maximum value point as maximum value position information.

[0096] Optionally, in this embodiment, the maximum value point can be selected by a selection method based on normal distribution; wherein, the selection method based on normal distribution refers to a method of selecting the point in the middle position among all points (i.e., the starting point and all the diffusion points) as the maximum value point, that is, sorting the points according to their positional relationship on the above-mentioned point connection line, and selecting a maximum value point according to 1 / 2 of the total number of points (i.e., the sum of the number of the starting point and all the diffusion points). Exemplarily, assuming that the number of diffusion points is 7, the total number of points on the point connection line is 8 (1 starting point and 7 diffusion points), because the diffusion point at the fourth position from the starting point (8 / 2=4), that is, the third diffusion point from the starting point, is the maximum value point, and the diffusion position information corresponding to the maximum value point is recorded as the maximum value position information.

[0097] S304: Determine the starting thermal value and the diffuse thermal value according to the actual number of people captured, the preset standard deviation, the starting position information, the diffuse position information and the maximum position information.

[0098] Specifically, after selecting the maximum value point from the starting point and all the diffusion points through a selection method based on normal distribution, and recording the diffusion position information corresponding to the maximum value point as the maximum value position information, the starting thermal value corresponding to the starting point is determined according to the actual number of people captured, the preset standard deviation, the horizontal coordinate corresponding to the starting position information, and the horizontal coordinate corresponding to the maximum value position information.

[0099] In one embodiment, the starting thermal value can be determined by the following expression:

[0100]

[0101] Among them, Z1 is the starting thermal value; α is the actual number of people captured; x a is the value corresponding to the starting horizontal coordinate in the starting position information; x m is the value corresponding to the horizontal coordinate in the maximum value position information; s is the standard deviation.

[0102] Specifically, after selecting the maximum value point from the starting point and all diffusion points through a selection method based on normal distribution, and recording the diffusion position information corresponding to the maximum value point as the maximum value position information, the corresponding diffusion thermal value is determined according to the actual number of people captured, the preset standard deviation, the horizontal coordinate corresponding to the maximum value position information, and the horizontal coordinate corresponding to each diffusion position information.

[0103] In one embodiment, the diffusion heat value can be determined by the following expression:

[0104]

[0105] Among them, Z2 is the diffusion heat value; α is the actual number of people captured; x b is the value corresponding to the horizontal coordinate in the diffusion position information; m is the value corresponding to the horizontal coordinate in the maximum value position information; s is the standard deviation.

[0106] In this embodiment, a maximum value point is determined among the starting point and all the diffusion points through a selection method based on normal distribution, so that the starting point on the shooting route and all other diffusion points conform to the normal distribution, and then the final determined starting thermal value and diffusion thermal value also conform to the normal distribution effect. In this way, the thermal distribution results determined in subsequent steps can fully show the thermal distribution of the shooting route, and provide accurate thermal data for subsequent data analysis based on three-dimensional thermal maps.

[0107] In one embodiment, a method for generating a three-dimensional heat map is provided. Figure 1 The following is an example of a server in the example, including:

[0108] According to the received scene parameters, a three-dimensional model corresponding to the scene parameters is established;

[0109] It can be understood that the scene parameters can be a scene map of a scene, or data including the size of each building in the scene, geographical location information, positional relationship between each building, etc. In this embodiment, a three-dimensional model corresponding to the scene parameters can be established by a preset three-dimensional modeling device; wherein the preset three-dimensional modeling device can be a three-dimensional modeling software, and the following three-dimensional modeling software can be used exemplarily: FormZ, SketchUp or 3D Studio Max, etc. Specifically, after receiving the scene parameters, the scene parameters can be input into the above-mentioned preset three-dimensional modeling device, so as to establish a three-dimensional model corresponding to the scene parameters by the preset three-dimensional modeling device.

[0110] Optionally, the present embodiment can also load the three-dimensional model into a preset display interface through a preset model loading protocol. Among them, the preset model loading protocol is a protocol for rendering the three-dimensional model in the preset display interface, for example, the preset model loading protocol can be a WebGL (Web Graphics Library) protocol. The preset display interface can be a web page display interface, a display screen display interface, etc. Specifically, after establishing a three-dimensional model corresponding to the scene parameters according to the received scene parameters, the three-dimensional model rendering is loaded into the preset display interface through the preset model loading protocol, and then after generating a three-dimensional heat map corresponding to the three-dimensional model in a subsequent step, the three-dimensional heat map corresponding to the three-dimensional model can be loaded into the preset display interface to present the thermal effect corresponding to the three-dimensional heat map.

[0111] Optionally, the three-dimensional model in the preset display interface is an opaque scene model, so that when the thermal effect corresponding to the three-dimensional thermal map is finally presented, the thermal effect will not penetrate the three-dimensional model, so that the thermal effect presentation will not pass through the buildings in the three-dimensional model, thereby improving the accuracy and completeness of the thermal effect presentation.

[0112] Optionally, in this embodiment, the three-dimensional model can be enlarged or reduced to a display interface required by the user by processing the three-dimensional model in a zooming process or a reduction process. After the three-dimensional heat map generated in the subsequent steps is displayed on a preset interface, the thermal effect on a certain shooting route can be specifically observed by zooming in or out, and then data analysis can be performed on it.

[0113] In response to a generation instruction for generating a three-dimensional thermal map corresponding to the three-dimensional model, a thermal value corresponding to the thermal area included in the three-dimensional model is generated according to the above-mentioned thermal value generation method;

[0114] It is understandable that the generation instruction of the three-dimensional thermal map corresponding to the three-dimensional model can be automatically generated after the three-dimensional model corresponding to the scene parameters is established in the above steps. Then, the thermal value corresponding to the thermal area included in the three-dimensional model can be generated according to the above thermal value generation method.

[0115] Based on the thermal values ​​corresponding to the thermal areas included in the three-dimensional model, the thermal distribution results corresponding to the thermal areas are displayed in the three-dimensional model to generate a three-dimensional thermal map corresponding to the three-dimensional model.

[0116] Specifically, in response to an instruction to generate a three-dimensional thermal map corresponding to the three-dimensional model, after generating thermal values ​​corresponding to the thermal areas contained in the three-dimensional model according to the above-mentioned thermal value generation method, based on the thermal values ​​corresponding to the thermal areas contained in the three-dimensional model, the thermal distribution results corresponding to the thermal areas are displayed in the three-dimensional model to generate a three-dimensional thermal map corresponding to the three-dimensional model, and the three-dimensional thermal map can be displayed in the above-mentioned preset display interface, so that other operation and maintenance personnel can observe the changes in the flow of people in the three-dimensional model in real time, and perform thermal analysis according to the corresponding thermal values, thereby improving the accuracy and comprehensiveness of data analysis based on the three-dimensional thermal map.

[0117] In this embodiment, a three-dimensional thermal map of the three-dimensional model is generated by the above-mentioned thermal value generation method, so that data analysis based on the three-dimensional thermal map can be performed on the entire three-dimensional model, which can improve the efficiency, accuracy and comprehensiveness of the data analysis.

[0118] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0119] In one embodiment, a thermal value generation device is provided, and the thermal value generation device corresponds one-to-one to the thermal value generation method in the above embodiment. Figure 5 As shown, the thermal value generating device includes a position point determination module 10, a point diffusion module 20, a thermal value determination module 30 and a thermal value generating module 40. The functional modules are described in detail as follows:

[0120] A position point determination module 10 is used to determine at least two position points on the thermal region in the model, wherein the position points are points on a shooting route formed in the thermal region when a shooting device on the model shoots the thermal region;

[0121] A point diffusion module 20, used for determining a point located at any end of the shooting route among the position points as a starting point, and performing point diffusion along the shooting route from the starting point to determine diffused points on the shooting route;

[0122] The thermal value determination module 30 is used to determine the starting thermal value corresponding to the starting point and the diffusion thermal value corresponding to each diffusion point;

[0123] The thermal value generating module 40 is used to generate the thermal value corresponding to the thermal area based on the initial thermal value and the diffusion thermal value.

[0124] For the specific definition of the thermal value generating device, please refer to the definition of the thermal value generating method above, which will not be repeated here. Each module in the above thermal value generating device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0125] In one embodiment, a three-dimensional heat map generating device is provided, comprising:

[0126] A three-dimensional model building module, used to build a three-dimensional model corresponding to the scene parameters according to the received scene parameters;

[0127] A generating instruction response module, used to generate a thermal value corresponding to the thermal area included in the three-dimensional model according to the thermal value generating method in the above embodiment in response to a generating instruction of generating a three-dimensional thermal map corresponding to the three-dimensional model;

[0128] The three-dimensional thermal map generation module is used to display the thermal distribution results corresponding to the thermal areas contained in the three-dimensional model based on the thermal values ​​corresponding to the thermal areas, so as to generate a three-dimensional thermal map corresponding to the three-dimensional model.

[0129] For the specific definition of the three-dimensional thermal map generation device, please refer to the definition of the three-dimensional thermal map generation method above, which will not be repeated here. Each module in the above-mentioned thermal value generation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0130] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the data used by the thermal value generation method or the three-dimensional thermal map generation method in the above-mentioned embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a three-dimensional thermal map generation method is implemented.

[0131] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the thermal value generation method in the above embodiment is implemented, or when the processor executes the computer program, the three-dimensional thermal map generation method in the above embodiment is implemented.

[0132] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the thermal value generation method in the above embodiment is implemented, or when the computer program is executed by a processor, the three-dimensional thermal map generation method in the above embodiment is implemented.

[0133] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0134] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0135] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for generating a thermal value, characterized in that: include: Determine at least two position points on the thermal region in the model, where the position points are points on a shooting route formed in the thermal region when a shooting device on the model shoots the thermal region; Determine a position point located at any end of the shooting route among the position points as a starting point, and perform point diffusion along the shooting route from the starting point to determine diffused points on the shooting route; Determining a starting thermal value corresponding to the starting point and a diffusion thermal value corresponding to each diffusion point; Based on the initial thermal value and the diffused thermal value, generating a thermal value corresponding to the thermal area; The determining of the starting thermal value corresponding to the starting point and the diffusion thermal value corresponding to each diffusion point includes: Obtaining the actual number of people photographed when the photographing device on the model photographs the thermal area; Acquire a preset standard deviation, starting position information of the starting point, and diffusion position information corresponding to each diffusion point; Select a maximum value point from the starting point and all the diffusion points, and record the diffusion position information corresponding to the maximum value point as the maximum value position information; The starting thermal value and the diffuse thermal value are determined according to the actual number of photographed persons, the preset standard deviation, the starting position information, the diffuse position information and the maximum position information.

2. The method for generating thermal value according to claim 1, characterized in that: After generating the thermal value corresponding to the thermal area based on the initial thermal value and the diffused thermal value, the thermal value generating method further includes: Based on the thermal value corresponding to the thermal area, the thermal distribution result corresponding to the thermal area is displayed on the model to generate a thermal map corresponding to the thermal area.

3. The method for generating thermal value according to claim 1, characterized in that: The step of performing point diffusion along the shooting route from the starting point to determine diffused points on the shooting route includes: Obtaining a preset diffusion interval and obtaining starting position information of the starting point; Determine the position point on the shooting route that is the farthest from the starting point as the end point, and obtain the end position information of the end point; The diffusion points on the shooting route are determined according to the starting position information, the ending position information and the preset diffusion interval.

4. The method for generating thermal value according to claim 3, characterized in that: The obtaining of the preset diffusion interval includes: Obtaining area size information of the thermal area; Based on the area size information of the thermal area, a preset diffusion interval corresponding to the area size information of the thermal area is determined.

5. The method for generating thermal value according to claim 3, characterized in that: The starting position information includes a starting horizontal coordinate and a starting vertical coordinate; the ending position information includes an ending horizontal coordinate and an ending vertical coordinate, and determining the diffusion point position on the shooting route according to the starting position information, the ending position information and the preset diffusion interval includes: Determine a difference in abscissas according to the starting abscissas and the ending abscissas, and determine a difference in ordinates according to the starting ordinates and the ending ordinates; Determine a point connection line according to the horizontal coordinate difference and the vertical coordinate difference; the point connection line refers to a line between the starting point and the end point on the shooting route; The diffusion points are generated on the point line starting from the starting point according to the preset diffusion interval, the starting position information and the ending position information.

6. The method for generating thermal value according to claim 5, characterized in that: The step of generating the diffusion points on the point line starting from the starting point according to the preset diffusion interval, the starting position information and the ending position information comprises: According to the starting position information and the preset diffusion interval, generating a previous diffusion point whose distance interval from the starting point is the preset diffusion interval on the point connection line; If it is determined that the distance interval between the preceding diffusion point and the endpoint point is greater than or equal to the preset diffusion interval according to the position information of the preceding diffusion point and the endpoint position information, then a subsequent diffusion point whose distance interval with the preceding diffusion point is the preset diffusion interval is continuously generated on the point connection line according to the position information of the preceding diffusion point and the endpoint position information, until the distance interval between the subsequent diffusion point and the endpoint point is less than the preset diffusion interval; The front diffusion point and the rear diffusion point are used as the diffusion points generated on the point connection line.

7. A three-dimensional heat map generation method, characterized in that: include: According to the received scene parameters, a three-dimensional model corresponding to the scene parameters is established; In response to a generation instruction for generating a three-dimensional thermal map corresponding to the three-dimensional model, generating a thermal value corresponding to the thermal area included in the three-dimensional model according to the thermal value generation method as described in any one of claims 1 to 6; Based on the thermal values ​​corresponding to the thermal areas included in the three-dimensional model, the thermal distribution results corresponding to the thermal areas are displayed on the three-dimensional model to generate a three-dimensional thermal map corresponding to the three-dimensional model.

8. A thermal value generating device, characterized in that: The thermal value generation device is used to execute the thermal value generation method according to any one of claims 1 to 6, and the thermal value generation device includes: A position point determination module, used to determine at least two position points on the thermal region in the model, wherein the position points are points on a shooting route formed in the thermal region when a shooting device on the model shoots the thermal region; A point diffusion module, used for determining a point among the position points located at any end of the shooting route as a starting point, and performing point diffusion along the shooting route from the starting point to determine diffused points on the shooting route; A thermal value determination module, used to determine a starting thermal value corresponding to the starting point, and a diffusion thermal value corresponding to each diffusion point; The thermal value generation module is used to generate the thermal value corresponding to the thermal area based on the initial thermal value and the diffusion thermal value.

9. A three-dimensional thermal map generating device, characterized in that: include: A three-dimensional model building module, used to build a three-dimensional model corresponding to the scene parameters according to the received scene parameters; a generation instruction response module, configured to generate a thermal value corresponding to the thermal area included in the three-dimensional model in response to a generation instruction for generating a three-dimensional thermal map corresponding to the three-dimensional model, according to the thermal value generation method as described in any one of claims 1 to 6; The three-dimensional thermal map generation module is used to display the thermal distribution results corresponding to the thermal areas contained in the three-dimensional model based on the thermal values ​​corresponding to the thermal areas, so as to generate a three-dimensional thermal map corresponding to the three-dimensional model.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the thermal value generation method as described in any one of claims 1 to 6, or when the processor executes the computer program, it implements the three-dimensional thermal map generation method as described in claim 7.

11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for generating a thermal value as described in any one of claims 1 to 6 is implemented, or when the computer program is executed by a processor, the method for generating a three-dimensional thermal map as described in claim 7 is implemented.

Citation Information

Patent Citations

  • Method for generating three-dimensional thermodynamic diagram based on GIS

    CN110349261A

  • Thermodynamic diagram generation method and device, electronic equipment and storage medium

    CN111651230A