CN115060669A - Gas imaging method and device based on wide spectrum scanning - Google Patents

Gas imaging method and device based on wide spectrum scanning Download PDF

Info

Publication number
CN115060669A
CN115060669A CN202210466129.6A CN202210466129A CN115060669A CN 115060669 A CN115060669 A CN 115060669A CN 202210466129 A CN202210466129 A CN 202210466129A CN 115060669 A CN115060669 A CN 115060669A
Authority
CN
China
Prior art keywords
target
imaging
gas
image
light source
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.)
Pending
Application number
CN202210466129.6A
Other languages
Chinese (zh)
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.)
Guanglun Technology Shenzhen Co ltd
Original Assignee
Guanglun Technology Shenzhen Co ltd
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 Guanglun Technology Shenzhen Co ltd filed Critical Guanglun Technology Shenzhen Co ltd
Priority to CN202210466129.6A priority Critical patent/CN115060669A/en
Publication of CN115060669A publication Critical patent/CN115060669A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The invention discloses a gas imaging method and a gas imaging device based on wide spectrum scanning, wherein the method comprises the following steps: controlling a light source to irradiate the target gas to be detected; acquiring image information formed after each imaging point of a plurality of imaging points of target gas to be detected under the irradiation of a light source passes through a wavelength gating device based on a photoelectric sensor matrix; and determining the gas image of the target gas to be detected according to the image information corresponding to each imaging point in all the imaging points corresponding to the target gas to be detected. Therefore, the gas detection device can scan and image gas through a wide spectrum, and can form a large scanning field of view for the gas by combining a linear light source, so that the gas detection device is favorable for accurately detecting gas parameters of the gas, and is also favorable for simultaneously measuring a plurality of points of a gas absorption spectrum, thereby improving the imaging effect and the imaging real-time property of gas imaging, and compared with the scanning and imaging of a traditional semiconductor laser, the gas detection device is also favorable for improving the operation simplicity and convenience during gas detection and reducing the cost of a detection device.

Description

Gas imaging method and device based on wide spectrum scanning
Technical Field
The invention relates to the technical field of gas imaging, in particular to a gas imaging method and device based on wide-spectrum scanning.
Background
Optical gas imaging technology, as an important means for gas detection, has been successfully applied in various fields such as industrial production, transportation and the like. The optical gas imaging technology is particularly mainly applied to the leakage detection work aiming at dangerous and expensive gas, so that the life and property safety of people is ensured.
Currently, optical gas imaging is mainly realized by measuring the absorption spectrum of a target gas through a tunable semiconductor laser. The tunable semiconductor laser can measure the isolated gas absorption spectral line of the target gas through the single narrow-band laser frequency, so that the cross interference of different molecular spectrums in the target gas is avoided, and the target gas to be measured is accurately identified. However, it has been found through practice that the conventional optical gas imaging technology can only perform single-point measurement on the absorption spectrum of the target gas, so that the imaging field range is too small, and the absorption spectrum of the target gas needs to be measured at different time points, so that the imaging real-time performance is affected. Therefore, it is important to provide a method capable of improving the imaging effect and imaging real-time performance of gas imaging.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and an apparatus for gas imaging based on broad spectrum scanning, which can scan and image gas through a broad spectrum, and can also form a large scanning field of view for gas in combination with a line light source, so as to facilitate not only accurate detection of gas parameters of the gas, but also improvement of imaging effect and imaging real-time performance of gas imaging.
In order to solve the technical problem, a first aspect of the present invention discloses a gas imaging method based on wide spectrum scanning, the method comprising:
controlling a target light source to irradiate target gas to be detected; the target light source comprises a linear light source or a surface light source, and the target light source is obtained by converting a point light source output from the wide spectrum;
acquiring target image information formed after each target imaging point of a plurality of target imaging points of the target gas to be detected under the irradiation of the target light source passes through a wavelength gating device based on a photoelectric sensor matrix; the wavelength gating device is provided with at least one imaging optical area, each imaging optical area is provided with a corresponding wavelength, the wavelengths corresponding to the imaging optical areas in all the imaging optical areas are different from each other, and each imaging optical area is used for allowing light with the wavelength corresponding to the imaging optical area to pass through;
and determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected.
As an optional implementation manner, in the first aspect of the present invention, the photosensor matrix is provided with at least one imaging pixel region, each imaging pixel region has a unique corresponding imaging optical region, each imaging pixel region is configured to collect target image pixels formed after each target imaging point of all the target imaging points passes through the imaging optical region corresponding to the imaging pixel region in the wavelength gating device, and target image information corresponding to each target imaging point includes all the target image pixels based on the target imaging point collected by all the imaging pixel regions;
and determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected, including:
determining a gas absorption spectrum corresponding to each target imaging point according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected;
calculating a gas concentration value corresponding to each target imaging point according to the gas absorption spectrum corresponding to each target imaging point;
and determining a gas image of the target gas to be detected according to the gas concentration values corresponding to all the target imaging points.
As an optional implementation manner, in the first aspect of the present invention, the determining, according to target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be detected, a gas absorption spectrum corresponding to each target imaging point includes:
determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected;
and fitting all the spectral absorption signals corresponding to each target imaging point to obtain a gas absorption spectrum corresponding to each target imaging point.
As an optional implementation manner, in the first aspect of the present invention, before determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be measured, the method further includes:
calculating a pixel difference value between each target image pixel of each target imaging point in the target gas to be detected and a reference image pixel of the reference imaging point corresponding to the target imaging point according to reference imaging information of the reference imaging point acquired in advance; the reference imaging information of the reference imaging point comprises reference image pixels corresponding to all target image pixels of each target imaging point in all target imaging points corresponding to the reference imaging point;
wherein, the determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all the target imaging points corresponding to the target gas to be detected includes:
determining a pixel difference value corresponding to each target imaging point in the target gas to be detected as each spectral absorption signal corresponding to each target imaging point;
and, the method further comprises:
determining the detection environment of the target gas to be detected, and judging whether the detection environment meets a preset detection environment condition;
and if not, triggering and executing the operation of calculating the pixel difference between each target image pixel of each target imaging point in the target gas to be detected and the reference image pixel of the reference imaging point corresponding to the target imaging point according to the pre-acquired reference imaging information of the reference imaging point.
As an optional implementation manner, in the first aspect of the present invention, the wavelength gating device is further provided with reference optical regions, the number of which is equal to the total number of all the imaging optical regions, and each of the reference optical regions has a unique corresponding imaging optical region, and the wavelength of light allowed to pass through each of the reference optical regions matches the wavelength of the imaging optical region corresponding to the reference optical region, and the photosensor matrix is further provided with reference pixel regions, the number of which is equal to the total number of all the imaging pixel regions, and each of the reference pixel regions has a unique corresponding imaging pixel region and a unique corresponding reference optical region;
and acquiring reference imaging information corresponding to the reference imaging point by the following method:
controlling a second light source to illuminate the reference gas in the reference gas device through the broad spectrum;
acquiring reference image information formed after a reference imaging point of the reference gas under the irradiation of the second light source passes through all the reference optical areas in the wavelength gating device based on all the reference pixel areas in the photoelectric sensor matrix; each reference pixel area is used for collecting reference image pixels formed after the reference imaging points pass through the reference optical area corresponding to the reference pixel area in the wavelength gating device, and reference image information corresponding to the reference imaging points comprises all the reference image pixels of the reference imaging points collected based on all the reference pixel areas.
As an optional implementation manner, in the first aspect of the present invention, the controlling the target light source to irradiate a target gas to be measured includes:
determining a target light source device matched with target gas to be detected;
controlling a target light source to irradiate the target gas to be detected through the target light source device;
wherein when the target light source device comprises the broad spectrum and line-expanding lens, the target light source is a line light source; when the target light source device comprises the broad spectrum and the optical micro-vibration mirror, or the broad spectrum, the optical micro-vibration mirror and the line expansion lens, the target light source is a surface light source.
As an optional implementation manner, in the first aspect of the present invention, after determining the gas image of the target gas to be measured according to the target image information corresponding to all the target imaging points corresponding to the target gas to be measured, the method further includes:
acquiring a regional live-action image of a target region where the target gas to be detected is located; the regional live-action image is obtained based on a target camera;
performing image fusion operation on the regional live-action image and the gas image according to a first target parameter of the target camera and a second target parameter of the photoelectric sensor matrix to obtain a target fusion image; the first target parameters of the target camera comprise optical parameters of the target camera and/or coordinate parameters of the target camera, and the second target parameters of the photosensor matrix comprise optical parameters and/or coordinate parameters of each photosensor in the photosensor matrix;
and determining the target fusion image as a target output image.
As an optional implementation manner, in the first aspect of the present invention, before the determining the target fusion image as the target output image, the method further includes:
judging whether the image quantity of the target fusion image is greater than or equal to a preset image quantity threshold value or not;
when the judgment result is negative, triggering and executing the operation of determining the target fusion image as a target output image;
and, the method further comprises:
when the judgment result is yes, determining a first positioning signal corresponding to the target fusion image and a second positioning signal corresponding to other fusion images except the target fusion image through the target camera and the photoelectric sensor matrix;
performing image feature extraction operation on the target fusion image and the other fusion images to obtain a first image feature corresponding to the target fusion image and a second image feature corresponding to the other fusion images;
and according to the first positioning signal, the second positioning signal, the first image characteristic and the second image characteristic, performing image splicing on the target fusion image and the other fusion images according to a preset sequence to obtain a target spliced image, and determining the target spliced image as a target output image.
In a second aspect, the invention discloses a gas imaging apparatus based on broad spectrum scanning, the apparatus comprising:
the control module is used for controlling the target light source to irradiate the target gas to be detected; the target light source comprises a linear light source or a surface light source, and the target light source is obtained by converting a point light source output from the wide spectrum;
the acquisition module is used for acquiring target image information formed by each target imaging point in a plurality of target imaging points of the target gas to be detected under the irradiation of the target light source through a wavelength gating device based on the photoelectric sensor matrix; the wavelength gating device is provided with at least one imaging optical area, each imaging optical area is provided with a corresponding wavelength, the wavelengths corresponding to the imaging optical areas in all the imaging optical areas are different from each other, and each imaging optical area is used for allowing light with the wavelength corresponding to the imaging optical area to pass through;
the first determining module is used for determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected.
As an optional implementation manner, in the second aspect of the present invention, the photosensor matrix is provided with at least one imaging pixel region, each imaging pixel region has a unique corresponding imaging optical region, each imaging pixel region is configured to collect target image pixels formed after each target imaging point of all the target imaging points passes through the imaging optical region corresponding to the imaging pixel region in the wavelength gating device, and target image information corresponding to each target imaging point includes all the target image pixels of the target imaging point collected based on all the imaging pixel regions;
and, the first determining module includes:
the determining submodule is used for determining a gas absorption spectrum corresponding to each target imaging point according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected;
the calculation submodule is used for calculating a gas concentration value corresponding to each target imaging point according to the gas absorption spectrum corresponding to each target imaging point;
the determining submodule is further configured to determine a gas image of the target gas to be detected according to the gas concentration values corresponding to all the target imaging points.
As an optional implementation manner, in the second aspect of the present invention, the determining sub-module includes:
the determining unit is used for determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected;
and the fitting unit is used for fitting all the spectral absorption signals corresponding to each target imaging point to obtain a gas absorption spectrum corresponding to each target imaging point.
As an optional implementation manner, in the second aspect of the present invention, the determining sub-module further includes:
a calculating unit, configured to calculate, before the determining unit determines each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected, a pixel difference value between each target image pixel of each target imaging point in the target gas to be detected and a reference image pixel of a reference imaging point corresponding to the target imaging point according to reference imaging information of the reference imaging point acquired in advance; the reference imaging information of the reference imaging point comprises reference image pixels corresponding to all target image pixels of each target imaging point in all target imaging points corresponding to the reference imaging point;
wherein, according to each target image pixel of each target imaging point in all the target imaging points corresponding to the target gas to be detected, the determining unit determines each spectral absorption signal corresponding to each target imaging point in a specific manner as follows:
determining a pixel difference value corresponding to each target imaging point in the target gas to be detected as each spectral absorption signal corresponding to each target imaging point;
and, the determining sub-module further comprises:
the determining unit is further used for determining the detection environment of the target gas to be detected;
the judging unit is used for judging whether the detection environment meets a preset detection environment condition; and if the judgment result is negative, triggering the calculation unit to execute the operation of calculating the pixel difference between each target image pixel of each target imaging point in the target gas to be detected and the reference image pixel of the reference imaging point corresponding to the target imaging point according to the pre-acquired reference imaging information of the reference imaging point.
As an alternative implementation, in the second aspect of the present invention, the wavelength gating device is further provided with reference optical regions, the number of which is equal to the total number of all the imaging optical regions, and each of the reference optical regions has a unique corresponding imaging optical region, and the wavelength of light allowed to pass through each of the reference optical regions matches the wavelength of the imaging optical region corresponding to the reference optical region, and the photosensor matrix is further provided with reference pixel regions, the number of which is equal to the total number of all the imaging pixel regions, and each of the reference pixel regions has a unique corresponding imaging pixel region and a unique corresponding reference optical region;
and acquiring reference imaging information corresponding to the reference imaging point by the following method:
controlling a second light source to illuminate a reference gas in a reference gas device through the broad spectrum;
acquiring reference image information formed after a reference imaging point of the reference gas under the irradiation of the second light source passes through all the reference optical areas in the wavelength gating device based on all the reference pixel areas in the photoelectric sensor matrix; each reference pixel area is used for collecting reference image pixels formed after the reference imaging points pass through the reference optical area corresponding to the reference pixel area in the wavelength gating device, and reference image information corresponding to the reference imaging points comprises all the reference image pixels of the reference imaging points collected based on all the reference pixel areas.
As an optional implementation manner, in the second aspect of the present invention, the manner in which the control module controls the target light source to irradiate the target gas to be measured specifically is:
determining a target light source device matched with target gas to be detected;
controlling a target light source to irradiate the target gas to be detected through the target light source device;
wherein when the target light source device comprises the broad spectrum and line-expanding lens, the target light source is a line light source; when the target light source device comprises the broad spectrum and the optical micro-vibration mirror, or the broad spectrum, the optical micro-vibration mirror and the line-expanding lens, the target light source is a surface light source.
As an optional embodiment, in the second aspect of the present invention, the apparatus further comprises:
the acquisition module is used for acquiring a regional live-action image of a target region where the target gas to be detected is located after the first determination module determines a gas image of the target gas to be detected according to target image information corresponding to all the target imaging points corresponding to the target gas to be detected; the regional live-action image is obtained based on a target camera;
the image fusion module is used for executing image fusion operation on the regional live-action image and the gas image according to a first target parameter of the target camera and a second target parameter of the photoelectric sensor matrix to obtain a target fusion image; the first target parameters of the target camera comprise optical parameters of the target camera and/or coordinate parameters of the target camera, and the second target parameters of the photosensor matrix comprise optical parameters and/or coordinate parameters of each photosensor in the photosensor matrix;
and the second determining module is used for determining the target fusion image as a target output image.
As an alternative embodiment, in the second aspect of the present invention, the apparatus further comprises:
the judging module is used for judging whether the image quantity of the target fusion image is greater than or equal to a preset image quantity threshold value or not before the second determining module determines the target fusion image as a target output image; when the judgment result is negative, triggering the second determining module to execute the operation of determining the target fusion image as the target output image;
and the second determining module is further configured to:
when the judgment result of the judgment module is yes, determining a first positioning signal corresponding to the target fusion image and a second positioning signal corresponding to other fusion images except the target fusion image through the target camera and the photoelectric sensor matrix;
the device further comprises:
the extraction module is used for executing image feature extraction operation on the target fusion image and the other fusion images to obtain a first image feature corresponding to the target fusion image and a second image feature corresponding to the other fusion images;
the image splicing module is used for carrying out image splicing on the target fusion image and the other fusion images according to a preset sequence according to the first positioning signal, the second positioning signal, the first image characteristic and the second image characteristic to obtain a target spliced image;
the second determining module is further configured to determine the target stitched image as a target output image.
In a third aspect, the invention discloses another gas imaging apparatus based on broad spectral scanning, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the gas imaging method based on the wide spectrum scanning disclosed by the first aspect of the invention.
In a fourth aspect, the present invention discloses a computer-readable storage medium storing computer instructions that, when invoked, perform the method for broad-spectrum scanning based gas imaging as disclosed in the first aspect of the invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a target light source is controlled to irradiate target gas to be detected; acquiring target image information formed after each target imaging point of a plurality of target imaging points of target gas to be detected under the irradiation of a target light source passes through a wavelength gating device based on a photoelectric sensor matrix; and determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be detected. Therefore, the implementation of the invention can scan and image the gas through the wide spectrum, and can form a large scanning field of view for the gas by combining the linear light source or the surface light source, thereby effectively solving the technical problems that the traditional tunable semiconductor laser can only carry out single-point measurement on the absorption spectrum of the gas and needs to measure the absorption spectrum of the gas at different time points, being beneficial to accurately detecting the gas parameters of the gas, being beneficial to simultaneously measuring a plurality of points of the gas absorption spectrum, further expanding the field of view of gas imaging, further improving the imaging effect and imaging real-time performance of gas imaging, and being beneficial to improving the operation simplicity and convenience during gas detection and reducing the cost of a detection device compared with the scanning and imaging of the traditional tunable semiconductor laser.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic optical path diagram of a gas imaging method based on broad spectrum scanning according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a wavelength gating device and a photosensor matrix structure according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a gas imaging method based on broad spectrum scanning according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart of another broad spectrum scanning based gas imaging method disclosed in the embodiments of the present invention;
FIG. 5 is a schematic structural diagram of a gas imaging apparatus based on broad spectrum scanning according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of another gas imaging apparatus based on broad spectrum scanning according to the disclosure of the present invention;
FIG. 7 is a schematic structural diagram of another gas imaging apparatus based on wide-spectrum scanning according to the embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a gas imaging method and device based on broad spectrum scanning, which can scan and image gas through a broad spectrum and can form a large scanning field of view for the gas by combining a linear light source, thereby being beneficial to accurately detecting gas parameters of the gas and improving the imaging effect and imaging real-time property of gas imaging. The following are detailed below.
Example one
Referring to fig. 3, fig. 3 is a schematic flow chart of a gas imaging method based on wide-spectrum scanning according to an embodiment of the present invention. The gas imaging method based on the wide-spectrum scanning described in fig. 3 may be applied to the gas leakage detection work or the imaging work for a single kind of target gas, and may also be applied to the gas leakage detection work or the imaging work for a plurality of kinds of mixed target gases, which is not limited in the embodiment of the present invention. Alternatively, the gas imaging method based on the broad spectrum scanning can be applied to target gas detection work under various scenes, such as an industrial scene, a laboratory scene, a power plant scene and the like involving toxic or combustible gas. Further optionally, the method may be implemented by a gas imaging system, and the gas imaging system may be integrated in the gas imaging device, and may also be a local server or a cloud server for managing a gas imaging process, and the embodiment of the present invention is not limited. As shown in fig. 3, the gas imaging method based on the broad spectrum scanning may include the following operations:
101. and controlling the target light source to irradiate the target gas to be detected.
In the embodiment of the present invention, specifically, the target light source includes a line light source or a surface light source, and the target light source is obtained by converting a point light source output from a broad spectrum, wherein when the target light source is the line light source, the line light source can be obtained by transmitting the point light source output from the broad spectrum to the line-spreading lens for conversion; when the target light source is a surface light source, the surface light source can be obtained by transmitting the point light source output by the broad spectrum to the line expansion lens and then transmitting the point light source to the optical micro-vibration mirror for conversion, or can be obtained by directly transmitting the point light source output by the broad spectrum to the optical micro-vibration mirror for conversion. Optionally, the target gas to be detected may be one or more of oxygen, carbon monoxide, hydrogen sulfide, sulfur dioxide, combustible gas, ammonia gas, sulfur hexafluoride, hydrogen, nitrogen oxide, and the like, and the detection scene of the target gas to be detected may be a cable tunnel, a communication cable pipe well, a sewage treatment well, a heating channel, and the like. Further alternatively, the target light source may be controlled to irradiate the target gas to be measured through the reflection device, that is, the target light source may be controlled to irradiate the reflection device, at this time, reflected light is generated at the reflection device, the reflected light is irradiated to the target gas to be measured to generate target scattered light, and the target scattered light is directly transmitted to the wavelength gating device (as shown in fig. 1).
102. And acquiring target image information formed after each target imaging point of a plurality of target imaging points of the target gas to be detected under the irradiation of the target light source passes through the wavelength gating device based on the photoelectric sensor matrix.
In an embodiment of the present invention, specifically, the wavelength gating device is provided with at least one imaging optical area, each imaging optical area is provided with a corresponding wavelength, and the wavelengths corresponding to each imaging optical area in all the imaging optical areas are different from each other, wherein each imaging optical area is configured to allow light with the wavelength corresponding to the imaging optical area to pass through. It should be noted that the emission spectrum of the target light source needs to cover all the wavelength ranges set by all the imaging optical regions. Further alternatively, the area number setting of the imaging optical areas and the wavelength setting of each imaging optical area may be determined according to the gas type of the target gas to be detected, the imaging effect, the detection cost, and the like. Accordingly, the photosensor matrix is composed of a plurality of sensors, the photosensor matrix is provided with at least one imaging pixel region (each row or each column in the photosensor matrix can be regarded as one imaging pixel region), and the area distribution of all the imaging pixel regions in the photosensor matrix coincides with the area distribution of all the imaging optical regions in the wavelength gate device. For example, as shown in fig. 2, if the wavelength-gating device is provided with 5 imaging optical regions (corresponding to 5 columns of imaging optical regions W1-W5 below the dotted line in the wavelength-gating device of fig. 2), and is distributed in parallel in the wavelength-gating device, the photosensor matrix is correspondingly provided with 5 imaging pixel regions (corresponding to 5 columns of imaging pixel regions W1-W5 below the dotted line in the photosensor matrix of fig. 2), and is also distributed in parallel in the photosensor matrix, and the imaging optical regions and the imaging pixel regions are in a one-to-one correspondence relationship.
103. And determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be detected.
In the embodiment of the present invention, specifically, an imaging area is formed after scanning and imaging a target gas to be detected, where the imaging area includes all target imaging points. Further, the target image information corresponding to each target imaging point includes all target imaging pixels corresponding to each target imaging point. Optionally, the gas image of the target gas to be detected may be a color image or a grayscale image.
Therefore, the embodiment of the invention can scan and image the gas through the wide spectrum, and can form a large scanning field of view for the gas by combining the linear light source or the surface light source, thereby effectively solving the technical problems that the traditional tunable semiconductor laser can only carry out single-point measurement on the absorption spectrum of the gas and needs to measure the absorption spectrum of the gas at different time points, being beneficial to accurately detecting the gas parameters of the gas, being beneficial to simultaneously measuring a plurality of points of the gas absorption spectrum, further enlarging the field of view range of gas imaging, further improving the imaging effect and the imaging real-time performance of the gas imaging, being beneficial to improving the operation simplicity and convenience in gas detection and reducing the cost of a detection device compared with the traditional tunable semiconductor laser scanning and imaging.
In an optional embodiment, the determining, according to the target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be measured in step 103, a gas image of the target gas to be measured includes:
determining a gas absorption spectrum corresponding to each target imaging point according to target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be detected;
calculating a gas concentration value corresponding to each target imaging point according to the gas absorption spectrum corresponding to each target imaging point;
and determining a gas image of the target gas to be detected according to the gas concentration values corresponding to all the target imaging points.
In this optional embodiment, specifically, each imaging pixel region set in the photosensor matrix has a unique corresponding imaging optical region, where each imaging pixel region is used to collect target image pixels formed after each target imaging point of all target imaging points passes through the imaging optical region corresponding to the imaging pixel region in the wavelength gating device, and target image information corresponding to each target imaging point includes all target image pixels of the target imaging point collected based on all imaging pixel regions. For example, as shown in fig. 2, when the photosensor matrix is provided with 5 imaging pixel regions and is distributed in parallel in the photosensor matrix, each column of photosensor regions can be regarded as one imaging pixel region, and all target image pixels collected by each row of photosensor regions (i.e. corresponding to 5 target image pixels in each row of W1-W5 below the dotted line in the photosensor matrix of fig. 2) can be regarded as target image information corresponding to each target imaging point. Further, the gas absorption spectrum of the target gas to be detected is used for displaying the absorption ratio of the target gas to be detected to light with different wavelengths, and the gas concentration of the target gas to be detected can be calibrated through the gas absorption spectrum of the target gas to be detected.
Therefore, the optional embodiment can acquire the gas parameters of the target gas to be detected according to the image information of the target gas to be detected at the corresponding imaging point, and then convert the gas parameters into the gas image, so that the analysis accuracy of the target gas to be detected is improved, the direct analysis of the target gas to be detected is also facilitated, the analysis efficiency of the target gas to be detected is further improved, and the gas detection work is smoothly carried out.
In another optional embodiment, the determining, according to target image information corresponding to each target imaging point of all target imaging points corresponding to the target gas to be detected in the above step, a gas absorption spectrum corresponding to each target imaging point includes:
determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected;
and fitting all the spectral absorption signals corresponding to each target imaging point to obtain the gas absorption spectrum corresponding to each target imaging point.
In this alternative embodiment, each spectral absorption signal corresponding to each target imaging point can be understood as the absorption ratio of the target gas to be measured to the light of the wavelength in the target imaging point.
Further, in this optional embodiment, fitting all the spectral absorption signals corresponding to each target imaging point to obtain a gas absorption spectrum corresponding to each target imaging point may include: calculating the signal quantity of all spectral absorption signals corresponding to each target imaging point; determining a fitting function corresponding to each target imaging point according to the signal quantity of all the spectral absorption signals corresponding to each target imaging point; and fitting all the spectral absorption signals corresponding to each target imaging point through a fitting function to obtain the gas absorption spectrum corresponding to each target imaging point. In particular, the fitting function may include a mexican hat fitting function, a gaussian fitting function, and other similar symmetric fitting functions.
Therefore, the optional embodiment can fit the gas absorption spectrum of each imaging point through all target image pixels of each imaging point, and can flexibly fit the gas absorption spectrum of each imaging point through the matched fitting function, so that the reliability and the accuracy of the fitted gas absorption spectrum are improved, the follow-up accurate analysis of the gas absorption spectrum is facilitated, accurate gas parameters are obtained, and an accurate and effective gas image is generated.
In yet another optional embodiment, before determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be measured in the above step, the method may further include:
and calculating a pixel difference value between each target image pixel of each target imaging point in the target gas to be detected and a reference image pixel of the reference imaging point corresponding to the target imaging point according to the pre-acquired reference imaging information of the reference imaging point.
In this optional embodiment, determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected includes:
and determining the pixel difference value corresponding to each target imaging point in the target gas to be detected as each spectral absorption signal corresponding to each target imaging point.
In this optional embodiment, the method may further include:
determining the detection environment of the target gas to be detected, and judging whether the detection environment meets the preset detection environment condition;
and if not, triggering to execute the operation of calculating the pixel difference value between each target image pixel of each target imaging point in the target gas to be detected and the reference image pixel of the reference imaging point corresponding to the target imaging point according to the reference imaging information of the reference imaging point acquired in advance.
In this optional embodiment, the reference imaging information of the reference imaging point includes reference image pixels corresponding to all target image pixels of each target imaging point in all target imaging points corresponding to the reference imaging point. Specifically, each target image pixel of each target imaging point and a reference image pixel of a reference imaging point corresponding to the target imaging point can be understood as a background signal of each target image pixel of the target imaging point, and the background signal is used as each spectral absorption signal corresponding to the target imaging point; and the purpose of calculating the difference value of each pixel is to remove the background signal of each target image pixel of the target imaging point. Optionally, the number of the reference imaging points corresponding to the target imaging point may be one or more, and the reference imaging points corresponding to each target imaging point may be the same or different. Further, in this optional embodiment, when it is determined that the detection environment meets the preset detection environment condition, each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected may be directly determined as each spectral absorption signal corresponding to each target imaging point, that is, the background signal of each target image pixel of the target imaging point does not need to be removed. For example, when the temperature of the detection environment of the target gas to be detected is high or the humidity is high, the accuracy of the image information acquired by the photosensor matrix is affected, and at this time, the background signal of each target image pixel of each target imaging point needs to be removed; when the detection environment of the target gas to be detected is ideal and does not influence the acquisition of image information by the photoelectric sensor matrix, the background signal does not need to be removed.
Therefore, the optional embodiment can process the image pixels of the imaging points reasonably according to the detection environment of the target gas to be detected, so that the reliability and the accuracy of the acquired image information are improved, and the accuracy of the acquired spectrum absorption signal is improved.
In yet another alternative embodiment, the reference imaging information corresponding to the reference imaging point is acquired by:
controlling a second light source to illuminate the reference gas in the reference gas device through the broad spectrum;
and acquiring reference image information formed after a reference imaging point of the reference gas under the irradiation of the second light source passes through all reference optical areas in the wavelength gating device based on all reference pixel areas in the photoelectric sensor matrix.
In this alternative embodiment, specifically, the wavelength gating device is further provided with reference optical regions, the number of which is equal to the total number of all the imaging optical regions, and each reference optical region has a uniquely corresponding imaging optical region, and the wavelength of light allowed to pass through each reference optical region matches with the wavelength of the imaging optical region corresponding to the reference optical region (i.e. the wavelengths of the two may be consistent or have a slight deviation), and the photosensor matrix is further provided with reference pixel regions, the number of which is equal to the total number of all the imaging pixel regions, and each reference pixel region has a uniquely corresponding imaging pixel region and a uniquely corresponding reference optical region, wherein each reference pixel region is used for collecting reference image pixels formed after a reference imaging point passes through the reference optical region corresponding to the reference pixel region in the wavelength gating device, the reference image information corresponding to the reference imaging point includes all reference image pixels of the reference imaging point acquired based on all reference pixel regions. For example, as shown in fig. 2, if the wavelength-gating device is provided with 5 reference optical regions (corresponding to 5 rows of reference optical regions W1-W5 above the dotted line in the wavelength-gating device of fig. 2), and the reference optical regions are distributed in parallel in the wavelength-gating device, the photosensor matrix is correspondingly provided with 5 reference pixel regions (corresponding to 5 rows of reference pixel regions W1-W5 above the dotted line in the photosensor matrix of fig. 2), and the reference pixel regions are also distributed in parallel in the photosensor matrix, that is, the region distribution of all the reference pixel regions in the photosensor matrix is consistent with the region distribution of all the reference optical regions in the wavelength-gating device, and the reference optical regions and the reference pixel regions are in a one-to-one correspondence relationship, meanwhile, if all the imaging pixel regions are regarded as the first region in the photosensor matrix, all the reference pixel regions can be regarded as the second region in the photosensor matrix, and the photosensor regions of each column in the second region can be regarded as a reference pixel region, and all the reference image pixels collected by the photosensor regions of each row can be regarded as the reference image information corresponding to each reference imaging point (i.e. corresponding to 5 reference image pixels of each row W1-W5 above the dotted line in the photosensor matrix of fig. 2). Further, as shown in fig. 1, after the reference gas in the reference gas device is irradiated by the second light source controlled by the broad spectrum, the generated scattered light may be directly transmitted to all reference pixel regions in the photosensor matrix through the optical fiber.
Therefore, the optional embodiment can form reliable and accurate reference imaging information corresponding to the reference imaging point by scanning and imaging the reference gas, and is beneficial to effectively removing the background signal of each target image pixel of the target imaging point, so that the reliability and the accuracy of all the obtained spectral absorption signals of the target imaging point are improved.
In another optional embodiment, the controlling the target light source to irradiate the target gas to be measured in the step 101 includes:
determining a target light source device matched with target gas to be detected;
and controlling the target light source to irradiate the target gas to be detected through the target light source device.
In this alternative embodiment, wherein when the target light source device includes a broad spectrum and line-expanding lens, the target light source is a line light source; when the target light source device includes a broad spectrum and an optical micro-vibrating mirror, or a broad spectrum, an optical micro-vibrating mirror and a line-expanding lens, the target light source is a surface light source. Further, in this optional embodiment, determining the target light source device matched with the target gas to be measured may include: determining an imaging area corresponding to target gas to be detected; and determining a target light source device matched with the target gas to be detected according to the area parameters of the imaging area. For example, as shown in fig. 1, when the required imaging area range is large, it may be determined that the required target light source is a surface light source, and at this time, it may be determined that the target light source device includes a broad spectrum and an optical micro-vibrating mirror, or a broad spectrum, an optical micro-vibrating mirror, and a line-expanding lens; when the required imaging area range is small, it may be determined that a line light source or even a point light source is used as the target light source, and in this case, it may be determined that the target light source device includes a wide spectrum and a line-expanding lens, or includes only a wide spectrum. Specifically, the optical fiber may be used to transmit the point light source with a broad spectrum output to the line-spreading lens or the optical micro-galvanometer.
Therefore, the optional embodiment can pertinently and reasonably determine the light source device matched with the target gas to be detected according to the imaging requirement of the target gas to be detected so as to improve the imaging effectiveness, the imaging accuracy and the imaging real-time performance of the target gas to be detected and further improve the imaging effect of the target gas to be detected.
Example two
Referring to fig. 4, fig. 4 is a schematic flow chart of a gas imaging method based on broad spectrum scanning according to an embodiment of the present invention. The gas imaging method based on the wide-spectrum scanning described in fig. 4 may be applied to the gas leakage detection work or the imaging work for a single kind of target gas, and may also be applied to the gas leakage detection work or the imaging work for a plurality of kinds of mixed target gases, which is not limited in the embodiment of the present invention. Alternatively, the gas imaging method based on the broad spectrum scanning can be applied to target gas detection work under various scenes, such as an industrial scene, a laboratory scene, a power plant scene and the like involving toxic or combustible gas. Further optionally, the method may be implemented by a gas imaging system, the gas imaging system may be integrated in a gas imaging device, and the gas imaging system may also be a local server or a cloud server for managing a gas imaging process, and the embodiment of the present invention is not limited. As shown in fig. 4, the gas imaging method based on the broad spectrum scanning may include the following operations:
201. and controlling the target light source to irradiate the target gas to be detected.
202. And acquiring target image information formed after each target imaging point of a plurality of target imaging points of the target gas to be detected under the irradiation of the target light source passes through the wavelength gating device based on the photoelectric sensor matrix.
203. And determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be detected.
In the embodiment of the present invention, for other descriptions of steps 201 to 203, please refer to the detailed description of steps 101 to 103 in the first embodiment, which is not repeated herein.
204. And acquiring a regional live-action image of a target region where the target gas to be detected is located.
In the embodiment of the present invention, the target area may be understood as a detection area, which may be a cable tunnel, a communication cable tube well, a sewage treatment well, a heating channel, and the like. Optionally, the area real-scene image may be a grayscale image or a color image, where the area real-scene image is obtained based on a target camera, such as a digital camera, a mobile phone camera, and the like.
205. And performing image fusion operation on the regional live-action image and the gas image according to the first target parameter of the target camera and the second target parameter of the photoelectric sensor matrix to obtain a target fusion image.
In an embodiment of the present invention, specifically, the first target parameter of the target camera includes an optical parameter of the target camera and/or a coordinate parameter of the target camera, and the second target parameter of the photosensor matrix includes an optical parameter and/or a coordinate parameter of each photosensor in the photosensor matrix, where the optical parameter of the target camera includes a focal length, a principal point position, a distortion magnitude, a size ratio of a pixel to a target area, and the like, and the coordinate parameter of the target camera includes a pixel coordinate system, a camera coordinate system, a world coordinate system to be converted, an image coordinate system, a rotation matrix and a translation matrix involved in the conversion of the coordinate system, and the like; the optical parameters of each photoelectric sensor in the photoelectric sensor matrix include a focal length, a principal point position, a distortion magnitude, a size ratio of a pixel to a target area, and the like of each photoelectric sensor, and the coordinate parameters of each photoelectric sensor in the photoelectric sensor matrix include a spatial relationship (such as a distance between sensors) between the photoelectric sensor and other photoelectric sensors, a pixel coordinate system, an image coordinate system, a rotation matrix and a translation matrix involved in coordinate system conversion, and the like, that is, the fusion of the area real-scene image and the gas image is performed by calibrating the target camera and the photoelectric sensor matrix. Furthermore, according to the obtained target fusion image, related detection personnel can determine a target area where the target gas to be detected is located and the gas leakage condition of the target gas to be detected, wherein the target fusion image can be one or more, and the target fusion image can be fused in real time (namely, the color camera and the photoelectric sensor matrix are synchronously collected and then fused in real time) or fused in a later period (namely, the color camera and the photoelectric sensor matrix are synchronously collected or successively collected and then fused in a later period).
206. And determining the target fusion image as a target output image.
In the embodiment of the present invention, through the target fusion image, the relevant gas detection personnel can know the gas type, the gas concentration, the gas flow condition, the detection area (corresponding to the positioning signal) and the like of the target gas. For example, when the relevant gas detector knows that the gas color of the gas image is blue from the target fusion image, it may be determined that the target gas to be detected is oxygen, and when the blue color in the gas image is darker, it may be determined that the concentration of oxygen is higher, and it may be known in combination with the area live view image portion in which the pipeline is leaked.
Therefore, by implementing the embodiment of the invention, the relevant gas parameters and the detection area of the target gas to be detected can be intuitively analyzed through the formation of the fusion image, so that the area where the target gas to be detected is located can be quickly positioned, the leakage condition of the target gas to be detected can be obtained, the analysis efficiency of the relevant information of the target gas to be detected can be favorably improved, the leakage of the target gas to be detected can be favorably and timely detected, and the condition that the toxic or combustible gas threatens the safety of people can be reduced.
In an optional embodiment, before determining the target fusion image as the target output image in the step 206, the method may further include:
judging whether the image quantity of the target fusion image is greater than or equal to a preset image quantity threshold value or not;
and when the judgment result is negative, triggering the executed operation of determining the target fusion image as the target output image.
In this optional embodiment, the method may further include:
when the judgment result is yes, determining a first positioning signal corresponding to the target fusion image and a second positioning signal corresponding to other fusion images except the target fusion image through the target camera and the photoelectric sensor matrix;
performing image feature extraction operation on the target fusion image and the other fusion images to obtain a first image feature corresponding to the target fusion image and a second image feature corresponding to the other fusion images;
and according to the first positioning signal, the second positioning signal, the first image characteristic and the second image characteristic, image splicing is carried out on the target fusion image and the other fusion images according to a preset sequence to obtain a target spliced image, and the target spliced image is determined as a target output image.
In this alternative embodiment, wherein the number of images of the target fusion image may be obtained by a preset counter, and the preset image number threshold may be set to 1, 3, or the like, for example, when the number of images of the target fusion image is only 1, the target fusion image may be directly output, and when the number of images of the target fusion image exceeds 1, the target fusion image may not be output temporarily. Specifically, the first positioning signal corresponding to the target fusion image and the second positioning signal corresponding to the other fusion image may be understood as the shooting location corresponding to the target fusion image and the shooting location corresponding to the other fusion image. Further, the preset sequence may be the shooting time sequence of the target fusion image and the other fusion images. Specifically, image stitching of the target fusion image and the other fusion images can be understood as complete display of the target gas to be detected and the detection area where the target gas is located or a flow process of the target gas to be detected in the detection area within a target time period.
Therefore, the optional embodiment can display the relevant gas parameters and the detection area condition of the target gas to be detected in more detail, is favorable for further improving the analysis accuracy and the positioning accuracy of the target gas to be detected, and greatly improves the imaging real-time performance and the practicability of gas imaging compared with the scanning imaging of the traditional tunable semiconductor laser.
EXAMPLE III
Referring to fig. 5, fig. 5 is a schematic structural diagram of a gas imaging device based on wide-spectrum scanning according to an embodiment of the present disclosure. As shown in fig. 5, the gas imaging apparatus based on the broad spectrum scanning may include:
the control module 301 is used for controlling the target light source to irradiate the target gas to be detected;
an acquisition module 302, configured to acquire, based on a photosensor matrix, target image information formed after each target imaging point of multiple target imaging points of a target gas to be detected under irradiation of a target light source passes through a wavelength gating device;
the first determining module 303 is configured to determine a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be detected.
In the embodiment of the invention, the target light source comprises a linear light source or a surface light source, and the target light source is obtained by converting a point light source output from a wide spectrum; the wavelength gating device is provided with at least one imaging optical area, each imaging optical area is provided with a corresponding wavelength, the wavelengths corresponding to all the imaging optical areas are different from each other, and each imaging optical area is used for allowing light with the wavelength corresponding to the imaging optical area to pass through.
It can be seen that implementing the gas imaging apparatus based on broad spectrum scanning described in fig. 5 can scan and image gas through broad spectrum, and can also combine with the line light source to form a large scanning field of view for gas, which effectively solves the technical problems that the traditional tunable semiconductor laser can only perform single-point measurement on the absorption spectrum of gas and needs to measure the absorption spectrum of gas at different time points, thus not only being beneficial to accurately detecting the gas parameters of the gas, but also being beneficial to simultaneously performing multi-point measurement on the absorption spectrum of gas, and further expanding the field of view range of gas imaging, thereby improving the imaging effect and imaging real-time of gas imaging, and being beneficial to improving the operation simplicity during gas detection and reducing the cost of detection devices compared with the traditional tunable semiconductor laser scanning imaging.
In an alternative embodiment, the first determining module 303 includes:
the determining submodule 3031 is configured to determine, according to target image information corresponding to each target imaging point in all target imaging points corresponding to the target gas to be detected, a gas absorption spectrum corresponding to each target imaging point;
a calculating submodule 3032, configured to calculate, according to the gas absorption spectrum corresponding to each target imaging point, a gas concentration value corresponding to each target imaging point;
the determining submodule 3031 is further configured to determine a gas image of the target gas to be detected according to the gas concentration values corresponding to all the target imaging points.
In this optional embodiment, the photosensor matrix is provided with at least one imaging pixel region, each imaging pixel region has a unique corresponding imaging optical region, each imaging pixel region is configured to collect target image pixels formed after each target imaging point of all target imaging points passes through the imaging optical region corresponding to the imaging pixel region in the wavelength gating device, and target image information corresponding to each target imaging point includes all target image pixels of the target imaging point collected based on all imaging pixel regions.
It can be seen that, the implementation of the gas imaging device based on the broad spectrum scanning described in fig. 6 can obtain the gas parameters of the target gas to be detected according to the image information of the target gas to be detected at the corresponding imaging point, and then convert the gas parameters into a gas image, which is not only beneficial to improving the analysis accuracy of the target gas to be detected, but also beneficial to performing a direct analysis on the target gas to be detected, and further improving the analysis efficiency of the target gas to be detected, so that the gas detection work can be smoothly performed.
In another alternative embodiment, the determining submodule 3031 includes:
a determining unit 30311, configured to determine, according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected, each spectral absorption signal corresponding to each target imaging point;
a fitting unit 30312, configured to fit all the spectral absorption signals corresponding to each target imaging point to obtain a gas absorption spectrum corresponding to each target imaging point.
It can be seen that implementing the gas imaging apparatus based on the broad spectrum scanning described in fig. 6 can fit the gas absorption spectrum of each imaging point through all the target image pixels of each imaging point, and can also flexibly fit the gas absorption spectrum of each imaging point through a matched fitting function, so that the reliability and accuracy of the fitted gas absorption spectrum are improved, and then the subsequent accurate analysis of the gas absorption spectrum is facilitated, thereby obtaining accurate gas parameters, and generating an accurate and effective gas image.
In yet another alternative embodiment, the determining submodule 3031 further includes:
a calculating unit 30313, configured to calculate, before the determining unit 30311 determines, according to each spectral absorption signal corresponding to each target imaging point, each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected, a pixel difference between each target image pixel of each target imaging point in the target gas to be detected and a reference image pixel of a reference imaging point corresponding to the target imaging point according to reference imaging information of the reference imaging point acquired in advance;
the determining unit 30311 determines, according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected, each spectral absorption signal corresponding to each target imaging point in a specific manner as follows:
determining a pixel difference value corresponding to each target imaging point in the target gas to be detected as each spectral absorption signal corresponding to each target imaging point;
and, the determining submodule 3031 further includes:
a determining unit 30311, configured to determine a detection environment of the target gas to be detected;
a determining unit 30314, configured to determine whether the detection environment meets a preset detection environment condition; if the result of the determination is negative, the calculation unit 30313 is triggered to perform an operation of calculating a pixel difference between each target image pixel of each target imaging point in the target gas to be detected and a reference image pixel of a reference imaging point corresponding to the target imaging point according to the reference imaging information of the reference imaging point collected in advance.
In this optional embodiment, the reference imaging information of the reference imaging point includes reference image pixels corresponding to all target image pixels of each target imaging point in all target imaging points corresponding to the reference imaging point.
It can be seen that, the gas imaging device based on the broad spectrum scanning described in fig. 6 can process the image pixels of the imaging points reasonably and according to the detection environment of the target gas to be detected, which is favorable for improving the reliability and accuracy of the acquired image information and further favorable for improving the accuracy of the acquired spectrum absorption signal.
In yet another alternative embodiment, the reference imaging information corresponding to the reference imaging point is acquired by:
controlling a second light source to illuminate the reference gas in the reference gas device through the broad spectrum;
and acquiring reference image information formed after a reference imaging point of the reference gas under the irradiation of the second light source passes through all reference optical areas in the wavelength gating device based on all reference pixel areas in the photoelectric sensor matrix.
In this alternative embodiment, the wavelength gating device is further provided with reference optical regions having a number equal to the total number of all the imaging optical regions, and each reference optical region has a uniquely corresponding imaging optical region, and the wavelength of light allowed to pass through by each reference optical region matches the wavelength of the imaging optical region corresponding to the reference optical region, and the photosensor matrix is further provided with reference pixel regions having a number equal to the total number of all the imaging pixel regions, and each reference pixel region has a uniquely corresponding imaging pixel region and a uniquely corresponding reference optical region; each reference pixel area is used for collecting reference image pixels formed after a reference imaging point passes through a reference optical area corresponding to the reference pixel area in the wavelength gating device, and reference image information corresponding to the reference imaging point comprises all reference image pixels of the reference imaging point collected based on all the reference pixel areas.
It can be seen that, by performing the scanning imaging of the reference gas, the gas imaging apparatus based on the broad spectrum scanning described in fig. 6 can form reliable and accurate reference imaging information corresponding to the reference imaging point, which is beneficial to effectively removing the background signal of each target image pixel of the target imaging point, so as to improve the reliability and accuracy of all the obtained spectrum absorption signals of the target imaging point.
In yet another optional embodiment, the way for the control module 301 to control the target light source to irradiate the target gas to be measured specifically is:
determining a target light source device matched with target gas to be detected;
and controlling the target light source to irradiate the target gas to be detected through the target light source device.
In this alternative embodiment, wherein when the target light source device includes a broad spectrum and line-expanding lens, the target light source is a line light source; when the target light source device includes a broad spectrum and an optical micro-galvanometer, or a broad spectrum, an optical micro-galvanometer and a line-expanding lens, the target light source is a surface light source.
Therefore, the gas imaging device based on the broad spectrum scanning described in the implementation of fig. 6 can pertinently and reasonably determine the light source device matched with the target gas to be detected according to the imaging requirement of the target gas to be detected, so as to improve the imaging effectiveness, the imaging accuracy and the imaging real-time performance of the target gas to be detected, and further improve the imaging effect of the target gas to be detected.
In yet another alternative embodiment, the apparatus may further include:
an obtaining module 304, configured to obtain a regional live-action image of a target region where a target gas to be detected is located after the first determining module 303 determines a gas image of the target gas to be detected according to target image information corresponding to all target imaging points corresponding to the target gas to be detected;
an image fusion module 305, configured to perform an image fusion operation on the regional live-action image and the gas image according to a first target parameter of the target camera and a second target parameter of the photosensor matrix, so as to obtain a target fusion image;
a second determining module 306, configured to determine the target fusion image as a target output image.
In this alternative embodiment, the regional live-action image is based on the target camera; the first target parameters of the object camera comprise optical parameters of the object camera and/or coordinate parameters of the object camera, and the second target parameters of the photosensor matrix comprise optical parameters and/or coordinate parameters of each photosensor of the photosensor matrix.
It can be seen that, by implementing the gas imaging apparatus based on the broad spectrum scanning described in fig. 6, the relevant gas parameters and the detection area of the target gas to be detected can be intuitively analyzed through the formation of the fusion image, so as to quickly locate the area where the target gas to be detected is located and obtain the leakage condition of the target gas to be detected, which is beneficial to improving the analysis efficiency of the relevant information of the target gas to be detected, and is also beneficial to timely detecting the leakage of the target gas to be detected, so as to reduce the occurrence of the condition that the toxic or combustible gas threatens the safety of people.
In yet another optional embodiment, the apparatus may further comprise:
a judging module 307, configured to judge whether the number of images of the target fusion image is greater than or equal to a preset image number threshold before the second determining module 306 determines the target fusion image as the target output image; when the judgment result is negative, triggering the second determining module 306 to perform the operation of determining the target fusion image as the target output image;
and, the second determination module 306 is further configured to:
when the judgment result of the judgment module 307 is yes, determining a first positioning signal corresponding to the target fusion image and a second positioning signal corresponding to other fusion images except the target fusion image through the target camera and the photoelectric sensor matrix;
the apparatus may further include:
the extraction module 308 is configured to perform image feature extraction on the target fusion image and the other fusion images to obtain a first image feature corresponding to the target fusion image and a second image feature corresponding to the other fusion images;
the image stitching module 309 is configured to perform image stitching on the target fusion image and the other fusion images according to a preset sequence according to the first positioning signal, the second positioning signal, the first image feature, and the second image feature, so as to obtain a target stitching image;
the second determining module 306 is further configured to determine the target stitched image as a target output image.
In this alternative embodiment it is possible that,
it can be seen that the gas imaging apparatus based on the broad spectrum scanning described in fig. 6 can display the relevant gas parameters and the detection area condition of the target gas to be detected in more detail, which is beneficial to further improving the analysis accuracy and the positioning accuracy of the target gas to be detected, and greatly improves the imaging real-time performance and the practicability of the gas imaging compared with the scanning imaging of the conventional tunable semiconductor laser.
Example four
Referring to fig. 7, fig. 7 is a schematic structural diagram of another gas imaging device based on wide-spectrum scanning according to an embodiment of the disclosure. As shown in fig. 7, the gas imaging apparatus based on the broad spectrum scanning may include:
a memory 401 storing executable program code;
a processor 402 coupled with the memory 401;
the processor 402 invokes executable program code stored in the memory 401 to perform the steps of the method for wide-spectrum scanning based gas imaging as described in the first or second embodiments of the invention.
EXAMPLE five
The embodiment of the invention discloses a computer storage medium, which stores computer instructions, and when the computer instructions are called, the computer instructions are used for executing the steps in the gas imaging method based on the wide-spectrum scanning, which is described in the first embodiment or the second embodiment of the invention.
EXAMPLE six
Embodiments of the present invention disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform steps in a method for broad spectrum scanning based gas imaging as described in embodiment one or embodiment two.
The above-described embodiments of the apparatus are only illustrative, and the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM), or other disk memories, CD-ROMs, or other magnetic disks, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the gas imaging method and apparatus based on wide-spectrum scanning disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, which are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A method of gas imaging based on broad spectral scanning, the method comprising:
controlling a target light source to irradiate target gas to be detected; the target light source comprises a linear light source or a surface light source, and the target light source is obtained by converting a point light source output from the wide spectrum;
acquiring target image information formed after each target imaging point of a plurality of target imaging points of the target gas to be detected under the irradiation of the target light source passes through a wavelength gating device based on a photoelectric sensor matrix; the wavelength gating device is provided with at least one imaging optical area, each imaging optical area is provided with a corresponding wavelength, the wavelengths corresponding to the imaging optical areas in all the imaging optical areas are different from each other, and each imaging optical area is used for allowing light with the wavelength corresponding to the imaging optical area to pass through;
and determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected.
2. The gas imaging method based on the wide-spectrum scanning according to claim 1, wherein the photosensor matrix is provided with at least one imaging pixel region, each imaging pixel region has a unique corresponding imaging optical region, each imaging pixel region is used for collecting target image pixels formed after each target imaging point of all the target imaging points passes through the imaging optical region corresponding to the imaging pixel region in the wavelength-gating device, and target image information corresponding to each target imaging point comprises all the target image pixels of the target imaging point collected based on all the imaging pixel regions;
and determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected, including:
determining a gas absorption spectrum corresponding to each target imaging point according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected;
calculating a gas concentration value corresponding to each target imaging point according to the gas absorption spectrum corresponding to each target imaging point;
and determining a gas image of the target gas to be detected according to the gas concentration values corresponding to all the target imaging points.
3. The method according to claim 2, wherein the determining the gas absorption spectrum corresponding to each target imaging point according to the target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected comprises:
determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all target imaging points corresponding to the target gas to be detected;
and fitting all the spectral absorption signals corresponding to each target imaging point to obtain a gas absorption spectrum corresponding to each target imaging point.
4. The method according to claim 3, wherein before determining each spectral absorption signal corresponding to each target imaging point for each target image pixel of each target imaging point of all target imaging points corresponding to the target gas to be measured, the method further comprises:
calculating a pixel difference value between each target image pixel of each target imaging point in the target gas to be detected and a reference image pixel of the reference imaging point corresponding to the target imaging point according to reference imaging information of the reference imaging point acquired in advance; the reference imaging information of the reference imaging point comprises reference image pixels corresponding to all target image pixels of each target imaging point in all target imaging points corresponding to the reference imaging point;
wherein, the determining each spectral absorption signal corresponding to each target imaging point according to each target image pixel of each target imaging point in all the target imaging points corresponding to the target gas to be detected includes:
determining a pixel difference value corresponding to each target imaging point in the target gas to be detected as each spectral absorption signal corresponding to each target imaging point;
and, the method further comprises:
determining the detection environment of the target gas to be detected, and judging whether the detection environment meets a preset detection environment condition;
and if not, triggering and executing the operation of calculating the pixel difference between each target image pixel of each target imaging point in the target gas to be detected and the reference image pixel of the reference imaging point corresponding to the target imaging point according to the pre-acquired reference imaging information of the reference imaging point.
5. The method for wide-spectrum scanning-based gas imaging according to claim 4, wherein the wavelength-gating device is further provided with a number of reference optical regions equal to the total number of all the imaging optical regions, and there is a unique corresponding imaging optical region for each of the reference optical regions, and the wavelength of light allowed to pass through by each of the reference optical regions matches the wavelength of the imaging optical region corresponding to the reference optical region, and the photosensor matrix is further provided with a number of reference pixel regions equal to the total number of all the imaging pixel regions, and there is a unique corresponding imaging pixel region and a unique corresponding reference optical region for each of the reference pixel regions;
and acquiring reference imaging information corresponding to the reference imaging point by the following method:
controlling a second light source to illuminate a reference gas in a reference gas device through the broad spectrum;
acquiring reference image information formed after a reference imaging point of the reference gas under the irradiation of the second light source passes through all the reference optical areas in the wavelength gating device based on all the reference pixel areas in the photoelectric sensor matrix; each reference pixel area is used for collecting reference image pixels formed after the reference imaging points pass through the reference optical area corresponding to the reference pixel area in the wavelength gating device, and reference image information corresponding to the reference imaging points comprises all the reference image pixels of the reference imaging points collected based on all the reference pixel areas.
6. The method for wide-spectrum scanning-based gas imaging according to any one of claims 1-5, wherein controlling the target light source to irradiate the target gas to be measured comprises:
determining a target light source device matched with target gas to be detected;
controlling a target light source to irradiate the target gas to be detected through the target light source device;
wherein when the target light source device comprises the broad spectrum and line-expanding lens, the target light source is a line light source; when the target light source device comprises the broad spectrum and the optical micro-vibration mirror, or the broad spectrum, the optical micro-vibration mirror and the line expansion lens, the target light source is a surface light source.
7. The method for imaging a gas based on a broad spectrum scan of claim 6, wherein after determining the gas image of the target gas to be detected according to the target image information corresponding to all the target imaging points corresponding to the target gas to be detected, the method further comprises:
acquiring a regional live-action image of a target region where the target gas to be detected is located; the regional live-action image is obtained based on a target camera;
performing image fusion operation on the regional live-action image and the gas image according to a first target parameter of the target camera and a second target parameter of the photoelectric sensor matrix to obtain a target fusion image; the first target parameters of the target camera comprise optical parameters of the target camera and/or coordinate parameters of the target camera, and the second target parameters of the photosensor matrix comprise optical parameters and/or coordinate parameters of each photosensor in the photosensor matrix;
and determining the target fusion image as a target output image.
8. The method of claim 7, wherein prior to the determining the target fused image as the target output image, the method further comprises:
judging whether the image quantity of the target fusion image is greater than or equal to a preset image quantity threshold value or not;
when the judgment result is negative, triggering and executing the operation of determining the target fusion image as a target output image;
and, the method further comprises:
when the judgment result is yes, determining a first positioning signal corresponding to the target fusion image and a second positioning signal corresponding to other fusion images except the target fusion image through the target camera and the photoelectric sensor matrix;
performing image feature extraction operation on the target fusion image and the other fusion images to obtain a first image feature corresponding to the target fusion image and a second image feature corresponding to the other fusion images;
and according to the first positioning signal, the second positioning signal, the first image characteristic and the second image characteristic, performing image splicing on the target fusion image and the other fusion images according to a preset sequence to obtain a target spliced image, and determining the target spliced image as a target output image.
9. A wide-spectrum scanning-based gas imaging apparatus, comprising:
the control module is used for controlling the target light source to irradiate the target gas to be detected; the target light source comprises a linear light source or a surface light source, and the target light source is obtained by converting a point light source output from the wide spectrum;
the acquisition module is used for acquiring target image information formed by each target imaging point in a plurality of target imaging points of the target gas to be detected under the irradiation of the target light source through a wavelength gating device based on the photoelectric sensor matrix; the wavelength gating device is provided with at least one imaging optical area, each imaging optical area is provided with a corresponding wavelength, the wavelengths corresponding to the imaging optical areas in all the imaging optical areas are different from each other, and each imaging optical area is used for allowing light with the wavelength corresponding to the imaging optical area to pass through;
the first determining module is used for determining a gas image of the target gas to be detected according to target image information corresponding to each target imaging point in all the target imaging points corresponding to the target gas to be detected.
10. A wide-spectrum scanning-based gas imaging apparatus, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor invokes the executable program code stored in the memory to perform the method of gas imaging based on broad spectral scanning of any one of claims 1-8.
11. A computer storage medium having stored thereon computer instructions which, when invoked, perform a method for broad spectrum scanning based gas imaging according to any one of claims 1-8.
CN202210466129.6A 2022-04-29 2022-04-29 Gas imaging method and device based on wide spectrum scanning Pending CN115060669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210466129.6A CN115060669A (en) 2022-04-29 2022-04-29 Gas imaging method and device based on wide spectrum scanning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210466129.6A CN115060669A (en) 2022-04-29 2022-04-29 Gas imaging method and device based on wide spectrum scanning

Publications (1)

Publication Number Publication Date
CN115060669A true CN115060669A (en) 2022-09-16

Family

ID=83197189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210466129.6A Pending CN115060669A (en) 2022-04-29 2022-04-29 Gas imaging method and device based on wide spectrum scanning

Country Status (1)

Country Link
CN (1) CN115060669A (en)

Similar Documents

Publication Publication Date Title
EP3392635B1 (en) Image processing device for gas detection, image processing method for gas detection, image processing program for gas detection, computer-readable recording medium having image processing program for gas detection recorded thereon, and gas detection system
US10634575B2 (en) Laser scanning leak detection and visualization apparatus
KR101791305B1 (en) Apparatus and method for diagnosing electric power equipment using infrared thermal imaging camera
US7349076B2 (en) Video tracking-based real-time hyperspectral data acquisition
US6331887B1 (en) Outdoor range finder
JP4889913B2 (en) Infrared camera sensitive to infrared rays
US10317311B2 (en) Laser scanning leak detection and visualization apparatus
US8184294B2 (en) Apparatus and method for measuring haze of sheet materials or other materials
CN102809434A (en) Methods and apparatus for thermographic measurements
CN109313263B (en) Method for operating a laser distance measuring device
NO324353B1 (en) Imaging of gas emissions using optical techniques
CN102121902B (en) Online Raman spectrometer correction device and correction method thereof
KR100715140B1 (en) Visibility measuring apparatus and method
CN103776531A (en) Near infrared weak pulse spectral radiance calibration device
CN107044822A (en) spectral confocal sensor and measuring method
JP6981775B2 (en) Image inspection equipment and image inspection method
CN109443253A (en) A kind of laser coaxial degree detection device and its method
WO2014076789A1 (en) Analysis region setting device
CN113310909A (en) Hyperspectrum-based water quality determination method and device
JP2003149032A (en) Level measuring device
CN115060669A (en) Gas imaging method and device based on wide spectrum scanning
JP4672498B2 (en) Concrete degradation factor detection method and detection apparatus
JP2012107944A (en) Target identification device and target identification method
EP4273743A1 (en) Method and apparatus for detecting fire spots, electronic device, and storage medium
CN116297478A (en) Method, device and system for detecting coating defects of photovoltaic glass

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