CN113793400B - Construction method of gas concentration thermodynamic diagram - Google Patents

Construction method of gas concentration thermodynamic diagram Download PDF

Info

Publication number
CN113793400B
CN113793400B CN202111073092.2A CN202111073092A CN113793400B CN 113793400 B CN113793400 B CN 113793400B CN 202111073092 A CN202111073092 A CN 202111073092A CN 113793400 B CN113793400 B CN 113793400B
Authority
CN
China
Prior art keywords
data
gas concentration
map
concentration
dimensional gaussian
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111073092.2A
Other languages
Chinese (zh)
Other versions
CN113793400A (en
Inventor
孙伟
赵畅
左军
张小瑞
赵伟
徐凡
胡亚华
纪锦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN202111073092.2A priority Critical patent/CN113793400B/en
Publication of CN113793400A publication Critical patent/CN113793400A/en
Application granted granted Critical
Publication of CN113793400B publication Critical patent/CN113793400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0027General constructional details of gas analysers, e.g. portable test equipment concerning the detector
    • G01N33/0036Specially adapted to detect a particular component
    • G01N33/004Specially adapted to detect a particular component for CO, CO2
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0062General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method, e.g. intermittent, or the display, e.g. digital
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Medicinal Chemistry (AREA)
  • Food Science & Technology (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a construction method of a gas concentration thermodynamic diagram, which is characterized by comprising the following steps: acquiring a plane map as a background map of the concentration heat map; positioning the plane map to acquire current position coordinate information in real time, and acquiring gas concentration data in real time at the same time; aligning the gas concentration data with the coordinate information to obtain concentration information with position information; generating two-dimensional Gaussian kernels with different degrees and sizes at corresponding positions on a map through concentration information with position information; using the coordinate point attached to the gas concentration data as a central coordinate point, multiplying the concentration data by each element in the two-dimensional Gaussian kernel, and filling the two-dimensional Gaussian kernel into surrounding coordinates; and marking different concentrations by different colors to form a thermodynamic diagram, and then overlapping the thermodynamic diagram with a background map to generate a gas concentration thermodynamic map.

Description

Construction method of gas concentration thermodynamic diagram
Technical Field
The invention relates to a construction method of a gas concentration thermodynamic diagram, and belongs to the technical field of positioning and mapping.
Background
The thermodynamic diagram is a form of highlighting some specific data, and by means of the thermodynamic diagram, the size, change and distribution of the data can be intuitively seen, and the thermodynamic diagram, the human flow thermodynamic diagram and the like are mainly applied at present. Such as the temperature thermodynamic diagram displayed in the weather forecast, the temperature conditions of different areas can be intuitively seen. And the flow thermodynamic diagram can intuitively see the flow of people in a certain scene. It follows that thermodynamic diagrams have a strong visual advantage over conventional data.
The traditional gas concentration detection is carried out by a fixed device, the detection result is displayed in a data form or a waveform diagram form, the common digital data can not record the gas concentration change, the waveform diagram can record the historical gas concentration change, but a single waveform diagram can not give the gas concentration information of different areas. Therefore, the detection result is not visual enough and the analysis and judgment are not quick enough. The thermodynamic diagram is applied to gas concentration monitoring to make up for the defects, a planar map is generated by utilizing SLAM technology, the gas concentration is detected by utilizing a gas concentration sensor, and the map and the concentration data are combined to generate a gas concentration thermodynamic map. On the gas concentration thermodynamic map, the gas concentration of different places on the map can be intuitively observed, and once dangerous or inflammable and explosive gas leaks, the position of a leakage area can be quickly found on the thermodynamic map, the nearest safe area can be also found, surrounding personnel are guided to evacuate, and the leakage area is sealed and salvaged.
Disclosure of Invention
The invention aims to provide a construction method of a gas concentration thermodynamic diagram, which aims to solve the defects that the detection result of the existing gas concentration monitoring mode is not visual enough and the analysis and judgment are not quick enough.
A method of constructing a gas concentration thermodynamic diagram, the method comprising:
acquiring a plane map as a background map of the concentration heat map;
positioning the plane map to acquire current position coordinate information in real time, and acquiring gas concentration data in real time at the same time;
aligning the gas concentration data with the coordinate information to obtain concentration information with position information;
generating two-dimensional Gaussian kernels with different degrees and sizes at corresponding positions on a map through concentration information with position information;
using the coordinate point attached to the gas concentration data as a central coordinate point, multiplying the concentration data by each element in the two-dimensional Gaussian kernel, and filling the two-dimensional Gaussian kernel into surrounding coordinates;
and marking different concentrations by different colors to form a thermodynamic diagram, and then overlapping the thermodynamic diagram with a background map to generate a gas concentration thermodynamic map.
Further, the method for acquiring the plane map comprises the following steps:
generating a map in a PGM format through a laser radar; and converting the picture in the PGM format into a picture in the PNG format as a plane map.
Further, the gas concentration data is acquired by a gas concentration sensor.
Further, the method for acquiring the position coordinate information relative to the pixel coordinate system includes:
firstly, coordinate translation transformation matrix information contained in yaml files of a map is obtained, namely XY axis offset X1 and Y1 of a map coordinate system relative to a pixel coordinate system; the unit of the map coordinate system can be converted into pt through M/Z, and the position relative to the map coordinate system is converted into the position relative to the pixel coordinate system;
let TF query that the coordinates are X2, Y2 at this point, then the pixel coordinates are as follows:
Figure BDA0003261115130000021
further, the method for acquiring the concentration data comprises the following steps:
sampling the gas concentration value for i times in a small period to obtain:
{c i }1≤i≤20
and (3) rapidly sequencing the concentration values, and taking out the median to obtain:
C i =mid{c i }
the data in each small period is stored in the same queue after the processing, and the data is obtained:
{C i }1≤i≤20
when the number of data in the queue is 20, namely, a large period of 100ms passes, sequencing the queue again, and obtaining a median value to obtain a stable gas concentration value:
C=mid{C i }。
further, the method for aligning the gas concentration data with the coordinate information to obtain the concentration information with the position information comprises the following steps:
the position information and the concentration information form a data structure, the data structure is stored in a txt file, and each data is separated by commas; the expression is:
[n,x n ,y n ,C n ]
the first data is serial number of collected data, the second data is X-axis data of coordinates, the third data is Y-axis data of coordinates, and the fourth data is concentration data.
Further, the two-dimensional Gaussian kernel production method comprises the following steps:
the coordinate point attached to each concentration data is used as a central coordinate point, which is also called a point source, and two-dimensional Gaussian kernels with different degrees and sizes are generated according to different concentration sizes, wherein the two-dimensional Gaussian kernels have the following formulas:
Figure BDA0003261115130000031
wherein, sigma is standard deviation, the larger the sigma is, the flatter the Gaussian curve is, the lower the center point is, and the gas concentration similar to a point source is low; the smaller the σ, the steeper the gaussian curve, the higher the center point, and the higher the gas concentration similar to a point source; definition: n represents the transverse and longitudinal dimensions of the two-dimensional gaussian kernel;
the size of n is selected in proportion to the size of the concentration C, namely:
n=KC
wherein K is a constant;
generating a one-dimensional Gaussian kernel by using a getGaussian Kerne1 function of an OpenCV library, wherein the formula of the one-dimensional Gaussian kernel is as follows:
Figure BDA0003261115130000032
firstly, generating two one-dimensional Gaussian kernels G (x) and G (y), wherein the obtained one-dimensional Gaussian kernel is a row vector, and then, carrying out cross multiplication on the row vector and the transpose of the other vector to obtain a matrix, namely, the two-dimensional Gaussian kernel to be obtained:
G(x,y)=G(x)×G(y) T
further, the specific expression mode of the generated two-dimensional Gaussian kernel is as follows:
Figure BDA0003261115130000033
wherein, the liquid crystal display device comprises a liquid crystal display device,
g XY a center element representing a two-dimensional gaussian kernel;
n represents the size of the two-dimensional gaussian kernel;
Figure BDA0003261115130000041
and multiplying the concentration data by each element in the two-dimensional Gaussian kernel, filling each element value of the processed Gaussian kernel into each pixel point on the map, wherein the central element of the Gaussian kernel corresponds to the point source coordinate of the map:
Figure BDA0003261115130000042
wherein A is a constant, and when filling is performed
Concentration data C 1 The attached coordinate point is a= (x) 1 ,y 1 ),
Concentration data C 2 The attached coordinate point is b= (x) 2 ,y 2 ),
If the two-dimensional Gaussian kernels generated by the points A and B are filled on the map and then an overlapping area is formed around the two-dimensional Gaussian kernels, each point of the overlapping area adopts an overlapping strategy, namely gas concentration data on the same coordinate point are added.
Further, the method further comprises: converting the values of pixel points in the picture into corresponding different colors by using a pseudo-color applymmap function of an OpenCV library, processing an original picture containing simple values into a thermodynamic diagram with color data, and using a color_JET chromaticity table in the OpenCV library, wherein when the gas concentration is smaller, the pixel data is smaller, and the color is blue; when the gas concentration is larger, the pixel data is larger, the color is reddish, and the gas concentration visualization is achieved;
and superposing the thermodynamic diagram with the color data and the background map by using an addWeighted function of the OpenCV library, setting reasonable transparency, and superposing the information of the two pictures to generate a gas concentration thermodynamic map.
Compared with the prior art, the invention has the beneficial effects that: the invention automatically generates a gas concentration thermodynamic diagram by combining SLAM technology and gas detection technology, and solves the defects that the traditional data form can not intuitively see the change condition of gas concentration data and the waveform form can not intuitively observe the gas concentration distribution conditions of different areas at the same time. The gas concentration thermodynamic diagram not only contains gas concentration information, but also contains gas concentration change information and regional gas concentration information, and is more visual and reliable than the traditional data and waveform diagrams.
Drawings
FIG. 1 shows a flow chart for obtaining concentration according to an embodiment of the present invention;
FIG. 2 is a flowchart of acquiring position coordinate information according to an embodiment of the present invention;
FIG. 3 is a general flow chart of a concentration heat map generation method according to an embodiment of the present invention;
fig. 4 shows a combined block diagram of a concentration heat map generating apparatus according to an embodiment of the present invention.
Detailed Description
The invention is further described in connection with the following detailed description, in order to make the technical means, the creation characteristics, the achievement of the purpose and the effect of the invention easy to understand.
The embodiment of the invention provides a method for constructing a gas concentration thermodynamic map, which is shown in figures 3-4 and comprises the following specific steps:
(1) Generating a factory indoor plane map by using a laser radar as a background map of the concentration heat map;
(2) Positioning on the generated map to acquire current position coordinate information in real time;
(3) The carbon dioxide concentration data is obtained in real time by using a carbon dioxide concentration sensor while positioning;
(4) Aligning the carbon dioxide gas concentration data with the coordinate information to obtain concentration information with position information;
(5) Generating two-dimensional Gaussian kernels with different degrees and sizes according to the corresponding positions of the carbon dioxide concentration data with the position information on the map;
(6) Using a coordinate point attached to the carbon dioxide gas concentration data as a central coordinate point, multiplying the concentration data by each element in the two-dimensional Gaussian kernel, and filling the two-dimensional Gaussian kernel into surrounding coordinates;
(7) And marking different concentrations by using different colors to form a thermodynamic diagram, and then overlapping the thermodynamic diagram with a background map to generate a carbon dioxide gas concentration thermodynamic map.
The method (1) generates a plane map through a laser radar, and the method further comprises the following steps of: the map generated by the lidar is in PGM format, which needs to be converted into PNG picture format. The pixel width and height information of the PGM format is obtained through the matplotin packet of python, the DPI of the PGM is calculated through the pixel width and the pixel height, and the PNG picture is saved by using the savefag () function.
As shown in fig. 2, the method (2) performs positioning on the generated map to obtain the current position coordinate information in real time, and further includes: because the conversion from the map coordinate system to the image coordinate system has no rotational relationship, only translational relationship and scale transformation. The coordinate information obtained by positioning is in meters, but we need to load the yaml file obtained by constructing the map firstly by taking the origin of the map as a reference, the yaml file contains rotation translation information and resolution information of the map, and the X-axis offset X1 and Y1 of the map and the resolution Z of the map pair are obtained in the yaml file. Assuming that the TF inquires that the coordinates are X2, Y2 at this point, the pixel coordinates are as follows:
Figure BDA0003261115130000051
as shown in fig. 1, the method (3) for acquiring the carbon dioxide gas concentration data in real time by using the carbon dioxide gas concentration sensor while positioning further comprises: sampling the gas concentration value for 20 times in a small period of 5ms to obtain:
{c i }1≤i≤20
and (3) rapidly sequencing the concentration values, and taking out the median to obtain:
C i =mid{c i }
the data in each small period is stored in the same queue after the processing, and the data is obtained:
{C i }1≤i≤20
when the number of data in the queue is 20, namely, a large period of 100ms passes, sequencing the queue again, and obtaining a median value to obtain a stable gas concentration value:
C=mid{C i }
as shown in fig. 2, the method (4) aligning the gas concentration data with the coordinate information to obtain concentration information with position information further includes: the location information and the concentration information are formed into a data structure and stored in a txt file, and each data is separated by commas. Such as:
[n,x n ,y n ,C n ]
the first data is serial number of collected data, the second data is X-axis data of coordinates, the third data is Y-axis data of coordinates, and the fourth data is concentration data.
The method (5) for generating two-dimensional Gaussian kernels with different degrees and sizes according to corresponding positions on a map with position information concentration data further comprises: for an average gas flow of a continuous source, the concentration profile is gaussian, i.e. the gas enters the atmosphere through a point source, and the gas is spread to a distribution which is gaussian on a flat surface. Based on the above principle, with the coordinate point attached to each concentration data as a central coordinate point, also referred to as a point source, two-dimensional gaussian kernels of different degrees and sizes are generated according to the concentration size, and the diffusion range is also very large because of the gas with higher concentration. The formula of the two-dimensional gaussian kernel is as follows:
Figure BDA0003261115130000061
wherein, sigma is standard deviation, the larger the sigma is, the flatter the Gaussian curve is, the lower the center point is, and the gas concentration similar to a point source is low; the smaller σ, the steeper the gaussian curve, the higher the center point, and the higher the gas concentration similar to a point source. Definition: n represents the transverse and longitudinal dimensions of the two-dimensional gaussian kernel.
The size of n is selected in proportion to the size of the concentration C, namely:
n=KC
where K is a constant.
Generating a one-dimensional Gaussian kernel by using a getGaussian Kernel function of an OpenCV library, wherein the formula of the one-dimensional Gaussian kernel is as follows:
Figure BDA0003261115130000062
firstly, generating two one-dimensional Gaussian kernels G (x) and G (y) by using a complaint method, wherein the obtained one-dimensional Gaussian kernel is a row vector, and then, carrying out cross multiplication on the row vector and the transposition of the other vector to obtain a matrix, namely, the two-dimensional Gaussian kernel to be obtained:
G(x,y)=G(x)×G(t) T
the method (6) of multiplying the concentration data by each element in the two-dimensional gaussian kernel using the coordinate point attached to the gas concentration data as a center coordinate point, and filling the coordinates around the concentration data further includes: the specific expression mode for generating the two-dimensional Gaussian kernel is as follows:
Figure BDA0003261115130000071
wherein, the liquid crystal display device comprises a liquid crystal display device,
g XY a center element representing a two-dimensional gaussian kernel;
n represents the size of the two-dimensional gaussian kernel;
Figure BDA0003261115130000072
and multiplying the concentration data by each element in the two-dimensional Gaussian kernel, filling each element value of the processed Gaussian kernel into each pixel point on the map, and enabling the central element of the Gaussian kernel to correspond to the point source coordinate of the map.
Figure BDA0003261115130000073
Wherein A is a constant. The purpose of this is to be able to predict the gas concentration data of points around the center coordinates and to fill the data into the corresponding coordinate points. When filling, it is assumed that
Concentration data C 1 The attached coordinate point is a= (x) 1 ,y 1 ),
Concentration data C 2 The attached coordinate point is b= (x) 2 ,y 2 ),
If the two-dimensional Gaussian kernels generated by the points A and B are filled on the map and an overlapping area is formed around the two-dimensional Gaussian kernels, each point of the overlapping area adopts an overlapping strategy, and the overlapping strategy is equivalent to that the gas concentration generates mixed overlapping when the gas concentration is diffused.
The method (7) uses different colors to mark different concentrations to form a thermodynamic diagram, and then the thermodynamic diagram is overlapped with a background map to generate a gas concentration thermodynamic map, which comprises the following steps: firstly, converting values of pixel points in a picture into corresponding different colors by using a pseudo-color applymmap function of an OpenCV library, processing an original picture containing simple values into a thermodynamic diagram with color data, and using a color_jet chromaticity table in the OpenCV library, wherein when the gas concentration is smaller, the pixel data is smaller, and the color is blue; when the gas concentration is larger, the pixel data is larger, the color is reddish, and the effect of visualizing the gas concentration is achieved.
And then, superposing a thermodynamic diagram with color data and a background map by using an addWeighted function of an OpenCV library, setting reasonable transparency, and superposing information of the two pictures, so that a gas concentration thermodynamic map is generated, and the gas concentration sizes of different places on the map can be observed on the gas concentration thermodynamic map at the same time, thereby realizing the optimal visual effect.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (8)

1. A method of constructing a thermodynamic diagram of a gas concentration, the method comprising:
acquiring a plane map as a background map of the concentration heat map;
positioning the plane map to acquire current position coordinate information in real time, and acquiring gas concentration data in real time at the same time;
aligning the gas concentration data with the coordinate information to obtain concentration information with position information;
generating two-dimensional Gaussian kernels with different degrees and sizes at corresponding positions on a map through concentration information with position information;
using the coordinate point attached to the gas concentration data as a central coordinate point, multiplying the concentration data by each element in the two-dimensional Gaussian kernel, and filling the two-dimensional Gaussian kernel into surrounding coordinates;
marking different concentrations by different colors to form a thermodynamic diagram, and then superposing the thermodynamic diagram with a background map to generate a gas concentration thermodynamic map;
the two-dimensional Gaussian kernel production method comprises the following steps:
the coordinate point attached to each concentration data is used as a central coordinate point, which is also called a point source, and two-dimensional Gaussian kernels with different degrees and sizes are generated according to different concentration sizes, wherein the two-dimensional Gaussian kernels have the following formulas:
Figure FDA0004171619940000011
wherein, sigma is standard deviation, the larger the sigma is, the flatter the Gaussian curve is, the lower the center point is, and the gas concentration representing the point source is low; the smaller the sigma, the steeper the gaussian curve, the higher the center point, and the higher the gas concentration representing the point source; definition: n represents the transverse and longitudinal dimensions of the two-dimensional gaussian kernel;
the size of n is selected in proportion to the size of the concentration C, namely:
n=KC
wherein K is a constant;
generating a one-dimensional Gaussian kernel by using a getGaussian Kemel function of an OpenCV library, wherein the formula of the one-dimensional Gaussian kernel is as follows:
Figure FDA0004171619940000012
firstly, generating two one-dimensional Gaussian kernels G (x) and G (y), wherein the obtained one-dimensional Gaussian kernel is a row vector, and then, carrying out cross multiplication on the row vector and the transpose of the other vector to obtain a matrix, namely, the two-dimensional Gaussian kernel to be obtained:
G(x,y)=G(x)×G(y) T
2. the method for constructing a gas concentration thermodynamic diagram according to claim 1, wherein the method for acquiring a plan map comprises:
generating a map in a PGM format through a laser radar; and converting the picture in the PGM format into a picture in the PNG format as a plane map.
3. The method of constructing a gas concentration thermodynamic diagram according to claim 1, wherein the gas concentration data is acquired by a gas concentration sensor.
4. The method for constructing a gas concentration thermodynamic diagram according to claim 1, wherein the method for acquiring positional coordinate information with respect to a pixel coordinate system includes:
firstly, coordinate translation transformation matrix information contained in yaml files of a map is obtained, namely XY axis offset X1 and Y1 of a map coordinate system relative to a pixel coordinate system; the unit of the map coordinate system can be converted into pt through M/Z, and the position relative to the map coordinate system is converted into the position relative to the pixel coordinate system;
let TF query that the coordinates are X2, Y2 at this point, then the pixel coordinates are as follows:
Figure FDA0004171619940000021
5. the method of constructing a gas concentration thermodynamic diagram of claim 1, wherein the method of acquiring concentration data comprises:
sampling the gas concentration value for i times in a small period to obtain:
{c i }1≤i≤20
and (3) rapidly sequencing the concentration values, and taking out the median to obtain:
C i =mid{c i }
the data in each small period is stored in the same queue after the processing, and the data is obtained:
{C i }1≤i≤20
when the number of data in the queue is 20, namely, a large period of 100ms passes, sequencing the queue again, and obtaining a median value to obtain a stable gas concentration value:
C=mid{C i }。
6. the method for constructing a gas concentration thermodynamic diagram according to claim 1, wherein the method for aligning the gas concentration data with the coordinate information to obtain the concentration information with the position information comprises:
the position information and the concentration information form a data structure, the data structure is stored in a txt file, and each data is separated by commas; the expression is:
[n,x n ,y n ,C n ]
the first data is serial number of collected data, the second data is X-axis data of coordinates, the third data is Y-axis data of coordinates, and the fourth data is concentration data.
7. The method for constructing a gas concentration thermodynamic diagram according to claim 1, wherein the specific expression of the generated two-dimensional gaussian kernel is as follows:
Figure FDA0004171619940000031
wherein, the liquid crystal display device comprises a liquid crystal display device,
g XY a center element representing a two-dimensional gaussian kernel;
n represents the size of the two-dimensional gaussian kernel;
Figure FDA0004171619940000032
and multiplying the concentration data by each element in the two-dimensional Gaussian kernel, filling each element value of the processed Gaussian kernel into each pixel point on the map, wherein the central element of the Gaussian kernel corresponds to the point source coordinate of the map:
Figure FDA0004171619940000033
wherein A is a constant, and when filling is performed
Concentration data C 1 The attached coordinate point is a= (x) 1 ,y 1 ),
Concentration data C 2 The attached coordinate point is b= (x) 2 ,y 2 ),
If the two-dimensional Gaussian kernels generated by the points A and B are filled on the map and then an overlapping area is formed around the two-dimensional Gaussian kernels, each point of the overlapping area adopts an overlapping strategy, namely gas concentration data on the same coordinate point are added.
8. The method of constructing a thermodynamic diagram of a gas concentration according to claim 1, further comprising:
converting the values of pixel points in the picture into corresponding different colors by using a pseudo-color applymmap function of an OpenCV library, processing an original picture containing simple values into a thermodynamic diagram with color data, and using a color_JET chromaticity table in the OpenCV library, wherein when the gas concentration is smaller, the pixel data is smaller, and the color is blue; when the gas concentration is larger, the pixel data is larger, the color is reddish, and the gas concentration visualization is achieved;
and superposing the thermodynamic diagram with the color data and the background map by using an addWeighted function of the OpenCV library, setting reasonable transparency, and superposing the information of the two pictures to generate a gas concentration thermodynamic map.
CN202111073092.2A 2021-09-14 2021-09-14 Construction method of gas concentration thermodynamic diagram Active CN113793400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111073092.2A CN113793400B (en) 2021-09-14 2021-09-14 Construction method of gas concentration thermodynamic diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111073092.2A CN113793400B (en) 2021-09-14 2021-09-14 Construction method of gas concentration thermodynamic diagram

Publications (2)

Publication Number Publication Date
CN113793400A CN113793400A (en) 2021-12-14
CN113793400B true CN113793400B (en) 2023-05-09

Family

ID=78880246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111073092.2A Active CN113793400B (en) 2021-09-14 2021-09-14 Construction method of gas concentration thermodynamic diagram

Country Status (1)

Country Link
CN (1) CN113793400B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369657A (en) * 2020-03-09 2020-07-03 腾讯科技(深圳)有限公司 Three-dimensional thermodynamic diagram generation method and device, computer equipment and storage medium
CN112668752A (en) * 2020-11-27 2021-04-16 合肥泽众城市智能科技有限公司 Safe evacuation method and system for gas pipeline leakage emergency

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653497B2 (en) * 2007-05-15 2010-01-26 Spectrasensors, Inc. Energy flow measurement in gas pipelines
CN109686050A (en) * 2019-01-18 2019-04-26 桂林电子科技大学 Environment inside car monitoring and pre-alarming method based on cloud service and deep neural network
CN111538799A (en) * 2020-04-17 2020-08-14 平安城市建设科技(深圳)有限公司 Thermodynamic diagram construction method, thermodynamic diagram construction equipment, thermodynamic diagram construction storage medium and thermodynamic diagram construction device
CN112100299B (en) * 2020-08-20 2022-03-04 四川大学 Visualization method for emergency early warning of sudden toxic gas leakage
CN112198280A (en) * 2020-09-27 2021-01-08 深圳市水务科技有限公司 Gas pollution source monitoring method, system, equipment and storage medium
CN112304890A (en) * 2020-11-27 2021-02-02 重庆商勤科技有限公司 Method and system for monitoring ozone concentration by airborne spectrum remote sensing
CN112232333A (en) * 2020-12-18 2021-01-15 南京信息工程大学 Real-time passenger flow thermodynamic diagram generation method in subway station

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369657A (en) * 2020-03-09 2020-07-03 腾讯科技(深圳)有限公司 Three-dimensional thermodynamic diagram generation method and device, computer equipment and storage medium
CN112668752A (en) * 2020-11-27 2021-04-16 合肥泽众城市智能科技有限公司 Safe evacuation method and system for gas pipeline leakage emergency

Also Published As

Publication number Publication date
CN113793400A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
US6208353B1 (en) Automated cartographic annotation of digital images
CN109872401B (en) Unmanned aerial vehicle video augmented reality implementation method
CN112419472B (en) Augmented reality real-time shadow generation method based on virtual shadow map
US6288721B1 (en) Rendering process and method for digital map illumination intensity shading
US10048077B2 (en) Method and system of generating an indoor floor plan
Morrison et al. A novel method to obtain three-dimensional urban surface temperature from ground-based thermography
CN106448432A (en) Wind-field multi-element fusion visualization method for map service
CN108776952A (en) Sea chart coordinate conversion method for hydrological meteorological monitoring
KR101359011B1 (en) 3-dimensional visualization system for displaying earth environment image
CN103810706A (en) Inverted stereo correction method of remote sensing image based on surface roughness participated shadow model
CN110633339A (en) GIS-based petrochemical enterprise gas leakage continuous dynamic simulation display method
CN113793400B (en) Construction method of gas concentration thermodynamic diagram
US10410375B2 (en) Image processing apparatus, image processing method, and a non-transitory computer readable medium
CN109918858B (en) CST simulation antenna data visualization method
CN113835703B (en) Method for drawing automatic driving monitoring visual map at WEB front end
CN116384145A (en) Multi-source and multi-element data independent layer rendering method of combat scene based on GPU
CN106846472B (en) Method and device for generating image map based on panoramic map
KR102237382B1 (en) Method of harmonic rendering on augmented reality environment, and augmented reality system and recoding medium for performing thereof
JP2013239083A (en) Visualization image creating method of digital elevation model and visualization image creating device thereof
CN116385894A (en) Coastline identification method, device and equipment based on remote sensing image
Trantham Interference phenomenon with mobile displays
CN112764651B (en) Method and system for drawing three-dimensional point cloud profile of browser
CN103675812B (en) A kind of angle dimension scattered information based on circle mark SAR data is extracted and characterizing method
CN102724535A (en) Displaying method of stereo-scanning 3D (three-dimensional) display
JPH10239255A (en) Three-dimensional display method for crystal particle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant