In recent years, infrared (IR) optical gas imaging (OGI) cameras have been tools extensively used for gas leakage detection and monitoring due to better visualization of gas leaks, reduced inspection time, and improved safety as compared to conventional gas sensing techniques, such as catalytic detectors.
In addition to the practical qualitative use of IR OGI cameras, quantitative use has been suggested. For example, it is possible to quantify a gas concentration-length (a concentration integrated along a path length, e.g., in units of parts per million-meter, or ppm·m) of an imaged plume with appropriate calibration. The gas concentration-length may also be referred to as a gas concentration path length (CPL).
IR OGI is one of two methods recognized by the U.S. Environmental Protection Agency (EPA) for gas Leak Detection and Repair (LDAR) surveys in the U.S. oil and gas industry, the second being EPA Method 21.
This summary is provided to introduce a selection of concepts that are described further in the detailed description below. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.
In one or more embodiments of the present invention, a gas concentration-length quantification method may comprise acquiring a first image including a gas plume with a camera; identifying and segmenting pixels corresponding to the gas plume in the first image; generating a background image corresponding to the first image using an image inpainting algorithm with the first image and positional information of the segmented pixels corresponding to the gas plume as inputs; calculating a gas concentration-length for each pixel corresponding to the gas plume in the first image, based on the first image and the background image data; and triggering an alert when the gas concentration-length for at least one pixel exceeds a threshold level.
In one or more embodiments of the present invention, a gas concentration-length quantification system may comprise a camera; a processing unit connected to the camera, wherein the processor performs: reading a first image including a gas plume from the camera; identifying and segmenting pixels corresponding to the gas plume in the first image; generating a background image corresponding to the first image using an image inpainting algorithm with the first image and positional information of the segmented pixels corresponding to the gas plume as inputs; calculating a gas concentration-length for each pixel corresponding to the gas plume in the first image, based on the first image and the background image data; and triggering an alert when the gas concentration-length for at least one pixel exceeds a threshold level.
In one or more embodiments of the present invention, a non-transitory computer readable medium (CRM) may store computer readable program code embodied therein that: reads a first image including a gas plume; identifies and segments pixels corresponding to the gas plume in the first image; generates a background image corresponding to the first image using an image inpainting algorithm with the first image and positional information of the segmented pixels corresponding to the gas plume as inputs; calculates a gas concentration-length for each pixel corresponding to the gas plume in the first image, based on the first image and the background image data; and triggers an alert when the gas concentration-length for at least one pixel exceeds a threshold level.
Other aspects and advantages will be apparent from the following description and the appended claims.
Embodiments of the invention will be described with reference to the accompanying drawings. However, the accompanying drawings illustrate only certain aspects or implementations of one or more embodiments of the invention by way of example and are not meant to limit the scope of the claims.
Specific embodiments of the invention will now be described in detail with reference to the accompanying figures. Like elements in the various figures are denoted by like reference numerals for consistency.
In the following detailed description of embodiments of the invention, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to one of ordinary skill in the art that the invention may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description.
In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ” Also, the term “couple” or “couples” is intended to mean either an indirect or direct connection. Further, any reference to connection may mean either an indirect or direct connection. Thus, if a first component is coupled to a second component, that connection may be through a direct connection, or through an indirect connection via other components, devices, and connections. Electronic devices may be connected via wires or wirelessly. Electronic devices may be connected via a network, for example, a local area network (LAN), a wide area network (WAN), the Internet, or the like. Further, the terms “axial” and “axially” generally mean along or parallel to a central or longitudinal axis, while the terms “radial” and “radially” generally mean perpendicular to a central longitudinal axis.
Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as an adjective for an element (i.e., any noun in the application). The use of ordinal numbers is not to imply or create any particular ordering of the elements nor to limit any element to being only a single element unless expressly disclosed, such as by the use of the terms “before,” “after,” “single,” and other such terminology. Rather, the use of ordinal numbers is to distinguish between the elements. By way of an example, a first element is distinct from a second element, and the first element may encompass more than one element and succeed (or precede) the second element in an ordering of elements.
In general, embodiments of the invention provide for a method, a system, and a non-transitory computer readable medium for quantifying gas concentration-length using at least one image frame acquired by a camera. In one or more embodiments, the camera is an optical gas imaging camera sensitive to infrared radiation.
Embodiments of the invention may be implemented using virtually any type of computing system 100, regardless of the platform being used. For example, the user computing devices may be one or more mobile devices (e.g., laptop computer, smart phone, personal digital assistant, tablet computer, or other mobile device), desktop computers, servers, blades in a server chassis, or any other type of computing device or devices that includes at least the minimum processing power, memory, and input and output device(s) to perform one or more embodiments of the invention. For example, as shown in
The computing system 100 may also include one or more input device(s) 110, such as a touchscreen, keyboard, mouse, microphone, touchpad, electronic pen, or any other type of input device. Further, the computing system 100 may include one or more output device(s) 108, such as a screen (e.g., a liquid crystal display (LCD), a plasma display, touchscreen, cathode ray tube (CRT) monitor, projector, or other display device), a printer, external storage, or any other output device. One or more of the output device(s) 108 may be the same or different from the input device(s). The output device(s) 108 may include a light, for example a flashing red light, a horn, a buzzer, or the like that may be used as an alert when a gas concentration-length exceeds a threshold level. The output device(s) may generate and/or receive a facsimile (fax), an email, a Short Message Service (SMS) text, or the like.
Software instructions in the form of computer readable program code to perform embodiments of the invention may be stored, in whole or in part, temporarily or permanently, on a non-transitory computer readable medium such as a CD, DVD, storage device, a diskette, a tape, flash memory, physical memory, or any other computer readable storage medium. Specifically, the software instructions may correspond to computer readable program code that, when executed by a processor(s) 102, performs one or more embodiments of the invention. Also, all discussed steps performed by a processor executing software instructions may, in one or more embodiments, be in the form of hardware such as circuitry. Those skilled in the art will appreciate that the hardware may be comprised of application-specific integrated circuits or other appropriate circuitry.
Further, one or more elements of the aforementioned computing system 100 may be located at a remote location and connected to the other elements over a network 112. Further, one or more embodiments of the invention may be implemented on a distributed system having a plurality of nodes, where each portion of the invention may be located on a different node within the distributed system. In one or more embodiments of the invention, the node corresponds to a distinct computing device. Alternatively, the node may correspond to a processor with associated physical memory. The node may alternatively correspond to a processor or micro-core of a processor with shared memory and/or resources.
In one or more embodiments, the OGI camera 30 may be used to capture images for gas concentration-length quantification from commercial, industrial, marine, residential, or rural environments, among others.
Radiance 40 from the background 10, Ib(λ), where λ denotes the wavelength of the radiation, passes through a gas plume 20, where the intensity of the radiance from the background 40 may be attenuated by gas absorption. The absorption by gas plume 20 may be characterized by a transmittance coefficient τg(λ) so that the transmitted radiance 50 reaching the OGI camera 30 becomes Ib(λ)τg(λ). The transmittance coefficient τg(λ) is related to the gas concentration-length γ through the Beer-Lambert law: τg(λ)=exp(−γα(λ)), wherein the absorbance spectrum α(λ) is unique and known for each gas species.
Meanwhile, the infrared-absorbing gas plume 20 also radiates thermal energy 60, which is characterized by the product of the blackbody radiation (Planck function) B(Tg, λ) at the temperature of the gas (Tg) and the emissivity of the gas (1−τg). Thus, in one or more embodiments, the OGI camera 30 may record the background radiance Ib(λ) modulated by the gas plume 20 absorption:
Irecorded(λ)=Ib(λ)τg(λ)+B(Tg,λ)(1−τg(λ)) (1)
Depending on the relative temperature difference between the gas plume 20 and the background 10, the gas plume 20 may be visualized as dark or bright contrast against the background 10 in the recorded image.
The simplified radiative transfer equation (1) also may provide the physical basis for quantification of the transmittance coefficient τg(λ), and subsequently quantification of the concentration-length of the gas plume 20, provided that Ib(λ) and B(Tg, λ) are known in Eqn. (1). B(Tg, λ) may be readily obtained by measuring the temperature of the gas plume 20 and calculating with the Planck function. Thus, obtaining the background radiance Ib(λ) is the key challenge for gas concentration-length quantification in optical gas imaging (OGI). The following are three possible approaches of background radiance estimation employed in one or more embodiments of the present invention.
One approach to background radiance estimation may be to acquire a separate imaging measurement of the background while the gas is not present in the scene (See, e.g., U.S. Patent Publ. No. 2014/0008526). However, this method is limited to a controlled laboratory environment and may not be applicable for field application where the background radiance varies with time and the gas leak is not controllable.
A second approach to background radiance estimation may be by a second IR image acquired with spectral filtering that does not produce a response from the target gas (See, e.g., U.S. Patent Publ. No. 2014/0008526). However, this method requires a second OGI camera with a different band-pass filter, or a multi-spectral or hyper-spectral OGI camera at high cost.
A third approach to background radiance estimation may be by temporal analysis of chronologically arranged pixel data, in which background radiance 40 is approximated by temporal variation amplitude caused by the gas disturbance for predetermined pixels in a sequence of video images (See, e.g., WO2017104607 A1). However, this method requires a series of video images. As a result, this method may be susceptible to environmental conditions and need to process many images. Also, the process may be difficult to automate and extend to every pixel of the gas plume 20.
In one or more embodiments of the present invention, a method for background radiance estimation in an optical gas image may use a computer vision technique of “image inpainting,” and the gas concentration-length quantification process based on that. With this method, a background image may be generated automatically. The method requires as input only a single IR image in which a gas plume can be visualized and segmented.
Thus, the method may have the advantage of eliminating the need of expensive multi- or hyper-spectral OGI cameras and/or computationally time-consuming chronological data analysis. Another advantage of one or more embodiments is that the method may be solely based on image processing and, thus, is not sensitive to environmental conditions. Further, the method is not required to process time series images for gas concentration-length quantification. Another advantage of one or more embodiments of this method is that the method may provide a background radiance estimation method for gas concentration-length quantification in a single-band OGI gas leak imaging application.
In step 310, an image containing a gas plume may be acquired. In one or more embodiments, the image may be an infrared image acquired by an OGI camera. For clarity of discussion and to distinguish the image from other images, the image will be referred to hereinafter as an infrared (IR) image. However, the term is not intended to restrict to the image being infrared. It is readily apparent that images of other radiation wavelengths may be included. A single IR image may be acquired, or a sequence of IR images may be acquired as with a sequence of video image frames. The pixel intensities in the IR image may be calibrated to represent either the temperature or the radiance value of the scene using known calibration data of the OGI camera.
In one or more embodiments, a region of interest (ROI) enclosing the gas plume, or gas leak source, may be manually selected for subsequent process. By doing analysis only within the ROI, computational speed may be improved.
In one or more embodiments, the ROI may be selected to enclose an area where the background scene is substantially homogeneous (e.g., the rectangular box in
In step 320, the method identifies and segments pixels corresponding to the gas plume in the IR image. Hereinafter, these pixels may be referred to as “gas pixels.”
Identification of gas pixels may be done using common image segmentation methods, such as thresholding and region growing, divisive hierarchical clustering, and energy minimization in Mumford-Shah variational formulation, or the like.
Alternatively, in one or more embodiments, gas pixels may be identified by a chronological analysis of a sequence of video frames, for example, as described in WO2017104607 A1. This method of identification may be more effective in IR images in which the contrast of the gas plume against the background is weak.
In step 330, a mask image corresponding to the IR image may be created based on the gas pixels segmentation in step 220 in which only pixels corresponding to the gas plume have non-zero values. In one or more embodiments, the mask image is a binary image. An example of a mask image created based on gas pixels of
In step 340, the method may calculate a new image representing the background data (temperature or radiance), using image inpainting algorithms with the IR image and the created mask image as input. The background data may also be referred to as the background image.
In step 350, the method may calculate a gas concentration-length at each pixel using the data of the IR image, the generated background image, and the temperature of the gas plume. In one or more embodiments, the gas temperature may be measured with a thermometer or may be assumed to be at the same as the temperature of the ambient air.
The calculation of a gas concentration-length may be based on the radiative transfer model as described above, and may use the procedure disclosed in WO2017104607 A1. An example result is shown in
In one or more embodiments, the method described with reference to the flowchart in
In step 360, the method may trigger an alert when the gas concentration-length of at least one pixel exceeds a threshold level. An alert may take many forms and may include a plurality of forms. One of the forms of alert may be a colored light, e.g., a red light, on a user console. The light may illuminate and/or flash. An alert may be audible, e.g., a bell, a siren, a horn, or the like. An alert may be an email, a facsimile (fax), a Short Message System (SMS) text message, a telephone communication, or the like. An alert may display on a computer display, a mobile device, a mobile phone, or the like. An alert may be provided to one or more locations and/or one or more users. An alert may be transmitted through a wired and/or a wireless system or network. The alert may be directed to a user and/or to another device that may automatically perform one or more functions is response to the alert.
In one or more embodiments, the accuracy of the background radiance estimation by the image inpainting method may be further improved by first colorizing the IR image. In one or more embodiments, colorizing the IR image may use convolutional neural networks, as described in, e.g., i) “Learning representations for automatic colorization” by Gustav Larsson et al. published by Springer International Publishing in European Conference on Computer Vision in 2016, ii) “Colorful image colorization” by Richard Zhang et al. published by Springer International Publishing in European Conference on Computer Vision in 2016, and iii) “Let there be color!: joint end-to-end learning of global and local image priors for automatic image colorization with simultaneous classification” by Satoshi Iizuka et al. published on page 110 of ACM Transactions on Graphics(TOG) 35.4 in 2016. A background image may be generated using the image inpainting method with the colorized IR image and the mask image as input. The background image may then be converted back to gray scale for subsequent gas concentration-length calculation.
In one or more embodiments of the present invention, a gas concentration-length quantification system may include an OGI camera connected to a processor. The processor may perform one or more of the variations of the gas concentration-length method presented above to provide a gas concentration-length, a background radiance estimation, and/or a background temperature estimation.
In one or more embodiments, the processor may be integrated into a computing device. The computing device may be a mobile computer device (e.g., smart phone, tablet computer, laptop, e-reader, etc.), a desktop personal computer (PC), a kiosk, a server, a mainframe, a cable box, or the like. Each computing device may be operated by a user and may utilize one or more graphical user interfaces (GUIs) to generate requests from the user to calculate a gas concentration-length, a background radiance estimation, and/or a background temperature estimation and/or display information to the user. The user requests may specify an output location (e.g., display device, storage location, printer, etc.) for calculated data. In one or more embodiments, various components of a computing device may be combined to create a single component. Similarly, the functionality performed by a single component may be performed by two or more components.
In one or more embodiments, the computing device may include a plurality of computing devices that are connected.
In one or more embodiments, the OGI camera may also by integrated into the computing device.
One or more image frames acquired by an infrared (IR) optical gas imaging (OGI) cameras may be transferred to at least one of the user computing devices for processing and storing.
Software instructions in the form of computer readable program code to perform embodiments of the invention may be stored, in whole or in part, temporarily or permanently, on a non-transitory computer readable medium such as a CD, DVD, storage device, a diskette, a tape, flash memory, physical memory, or any other computer readable storage medium. Specifically, the software instructions may correspond to computer readable program code that, when executed by a processor(s), performs one or more embodiments of the invention. Also, all discussed steps performed by a processor executing software instructions may, in one or more embodiments, be in the form of hardware such as circuitry. Those skilled in the art will appreciate that the hardware may be comprised of application-specific integrated circuits or other appropriate circuitry.
Further, one or more elements of the aforementioned computing device may be located at a remote location and connected to the other elements over a network. Further, one or more embodiments of the invention may be implemented on a distributed system having a plurality of nodes, where each portion of the invention may be located on a different node within the distributed system. In one or more embodiments of the invention, the node corresponds to a distinct computing device. Alternatively, the node may correspond to a processor with associated physical memory. The node may alternatively correspond to a processor or micro-core of a processor with shared memory and/or resources.
Although one or more embodiments of the present invention have been described with reference to the infrared portion of the spectrum, one skilled in the art will readily recognize that the method disclosed in the present invention may also be applied to radiation of other wavelengths.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised without departing from the scope of the invention as disclosed herein. Accordingly, the scope of the invention should be limited only by the attached claims.
Number | Name | Date | Kind |
---|---|---|---|
8616052 | Kia | Dec 2013 | B1 |
20020071122 | Kulp | Jun 2002 | A1 |
20110038507 | Hager | Feb 2011 | A1 |
20140002667 | Cheben | Jan 2014 | A1 |
20140008526 | Zeng et al. | Jan 2014 | A1 |
20150136981 | Kester | May 2015 | A1 |
Number | Date | Country |
---|---|---|
2017104607 | Jun 2017 | WO |
Entry |
---|
D. Tseng et al; “Plume Extraction Using Entropic Thresholding and Region Growing”; Pattern Recognition, vol. 26, No. 5, pp. 805-817; May 1993 (13 pages). |
E. Hirsch et al; “Detection of Gaseous Plumes in IR Hyperspectral Images Using Hierarchical Clustering”; Applied Optics, vol. 46, No. 25, pp. 6368-6374; Sep. 1, 2007 (7 pages). |
H. Huiyi et al; “Multi-Class Graph Mumford-Shah Model for Plume Detection Using the MBO Scheme”; Energy Minimization Methods in Computer Vision and Pattern Recognition; 2015 (14 pages). |
A. Telea; “An Image Inpainting Technique Based on the Fast Marching Method”; Journal of Graphics Tools, vol. 9, No. 1, pp. 25-36; 2004 (12 pages). |
M. Bertalmio et al; “Navier-Stokes, Fluid Dynamics, and Imaging and Video Inpainting”; 2001 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); Kauai, Hawaii, USA; Dec. 8-14, 2001 (8 page). |
G. Larsson et al; “Learning Representations for Automatic Colorization”; 2016 European Conference on Computer Vision, pp. 577-593; Sep. 2016 (29 pages). |
R. Zhang et al; “Colorful Image Colorization”; 2016 European Conference on Computer Vision, pp. 649-666; Sep. 2016 (29 pages). |
S. Iizuka et al; “Let There Be Color!: Joint End-To-End Learning of Global and Local Image Priors for Automatic Image Colorization with Simultaneous Classification”; ACM Transactions on Graphics (TOG), vol. 35, No. 4, art. 110; Jul. 2016 (11 pages). |
Number | Date | Country | |
---|---|---|---|
20190162657 A1 | May 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15720708 | Sep 2017 | US |
Child | 16263576 | US |