Optical gas imaging system and method compatible with uncooled thermal imaging cameras
By correcting the non-uniformity of the thermal imaging system and stabilizing the image, combined with optical gas imaging technology, the problem of difficult gas cloud identification in infrared imaging was solved, and a clearer gas imaging effect was achieved.
Patent Information
- Application Number
- CN201980049386.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-25
- Filing Date
- 2019-05-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-05-23
AI Technical Summary
Existing infrared imaging technology has difficulty effectively identifying gas clouds in gas imaging due to its low signal-to-noise ratio, severe noise interference, and high operator training requirements, making gas identification difficult.
A thermal imaging system is used for non-uniformity correction and image stabilization. Combined with the optical gas imaging process, multiple infrared images are captured for registration and difference image generation to reduce noise and improve the signal-to-noise ratio, thus displaying the gas image.
It improves the signal-to-noise ratio and image clarity of gas imaging, reduces noise interference, and helps operators more easily identify the presence and location of gas clouds.
Smart Images

Figure CN112567217B_ABST
Abstract
Description
[0001] Related matters
[0002] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 676,700, filed May 25, 2018. The entire contents of this U.S. Provisional Patent Application are incorporated herein by reference. Background Art
[0003] Infrared imaging cameras are used in a variety of situations. For example, infrared imaging cameras are often used to thermally inspect equipment during maintenance inspections. Example equipment may include rotating machinery, electrical panels, or multiple banks of circuit breakers, among other types of equipment. Infrared inspections can detect equipment hot spots such as overheated mechanical or electrical components, helping to ensure that overheated equipment is repaired or replaced in a timely manner before more significant problems develop.
[0004] Depending on the camera's configuration, an infrared imaging camera can also generate visible light images of the same object. The camera can display the infrared image and the visible light image in a coordinated manner, for example, to help an operator interpret the thermal image generated by the thermal imaging camera.
[0005] Visible light and / or infrared imaging has been applied in the field of gas imaging, where a user will inspect a target scene for the presence of a target gas, for example, to perform a leak detection and remediation (LDAR) process. Various methods include active gas imaging techniques, such as by actively illuminating the target scene with light of one or more specific wavelengths, or by passive gas imaging techniques.
[0006] Optical gas imaging systems can be difficult to use effectively in the field due to the often small changes that a gas cloud can have on an overall infrared image. Such changes may be too small to be observed during typical camera operation. Additionally, without a sufficiently high signal-to-noise ratio in a thermal camera, noise (e.g., due to sensor / electronics drift, thermal fluctuations, component self-heating, or other factors) may obscure subtle changes in the image due to the gas, making gas identification very difficult. Furthermore, the effect of a gas cloud on an infrared image will depend on the size (e.g., path thickness) and density of the gas cloud, both of which are not necessarily constant throughout the gas cloud. Therefore, as the gas cloud changes shape over time, the degree and shape of attenuation or enhancement from the gas cloud will vary within the scene. Such changes in the image may be synthesized by camera motion or motion within the scene, making such a system difficult to operate. These difficulties can be problematic because any of them may cause the camera to display artifacts that may obscure the gas within the scene, making it difficult for the user to observe.
[0007] In addition, gases selectively absorb / emit infrared radiation at specific wavelengths, and normally invisible gases can be made visible under certain conditions, such as by using a camera that is sensitive to the absorption / emission wavelength (e.g., infrared wavelength). Various factors contribute to whether a gas will be visible via infrared imaging, such as during optical gas imaging, including the temperature difference between the apparent temperature of the gas and the scene background. This temperature difference often has a significant impact on the actual effectiveness of an optical gas imaging camera, such as during a leak detection inspection. However, the apparent temperature difference can vary greatly depending on environmental conditions and the camera operator's choice of viewing position, which often requires a high level of training for the camera operator to ensure the correct viewing position and often leads to inconsistent results between operators and gas imaging or LDAR surveys taken at different times.
[0008] Infrared cameras used for gas imaging often use cryogenically cooled sensor arrays, special spectral filters, and / or other optics to provide spectral separation in order to achieve sufficient signal-to-noise ratio to observe the gases in the scene amidst noise and other image clutter. Uncooled infrared sensor arrays, with their broadband IR response, and given the typical narrow IR absorption bands of gases, often have low or inadequate signal-to-noise ratio and / or gas signal relative to background scene contrast (e.g., clutter) for effective optical gas imaging without the need for these special spectral methods.
[0009] Additionally, uncooled infrared sensor arrays are often subject to fixed pattern noise, for example, due to pixel-to-pixel non-uniformity in the sensor array and / or changing stray IR associated with camera self-heating and / or changes in ambient temperature, which can clutter the scene and provide false data and / or obscure the ability to observe gases in the scene. Summary of the invention
[0010] Aspects of the present disclosure relate to a thermal imaging system having an infrared camera module, a user interface, a display, a processor in communication with the user interface, the display, and the infrared camera module, and a memory in communication with the processor. The processor can be configured to capture infrared images via the infrared camera module. The memory can include instructions that cause the processor to perform various actions, such as when actuation from the user interface is detected.
[0011] In some examples, the processor can be configured to perform a non-uniformity correction process to reduce or eliminate fixed pattern noise from infrared image data from an infrared camera module. The processor can capture infrared images of an infrared scene multiple times via the infrared camera module. Each captured infrared image can be subjected to non-uniformity correction and registered via an image stabilization process.
[0012] The processor may perform the optical gas imaging process to generate optical gas image data that emphasizes changes in the infrared scene, and generate a display image including the generated optical gas image data for presentation on a display.
[0013] In some cases, the displayed image can include a drift indicator that indicates relative motion of the infrared camera module relative to a reference position. This can help a user maintain the camera module still to reduce misalignment between captured image data. In some examples, the drift indicator includes a first mark indicating the reference position and a second mark indicating the position of the infrared camera module relative to the reference position.
[0014] In some examples, the process of capturing images, registering images, performing an optical gas imaging process, and generating a display image can be repeated as long as the user interface is actuated. For example, in some cases, the user interface includes a depressible trigger, and such steps can be performed and repeated as long as the trigger is pressed, and such steps are stopped when the trigger is released. In some examples, upon releasing the trigger, the processor is configured to perform a new non-uniformity correction process, and then perform and repeat such a process until the trigger is released.
[0015] In some aspects, a thermal imaging system may include a processor configured to receive infrared image data from an infrared camera module and determine an apparent background temperature for each of a plurality of regions in the infrared image data. In some examples, the processor may receive data representing a temperature of a target gas and, for each of a plurality of regions in the received infrared image data, compare the apparent background temperature of the region to the temperature of the target gas to determine a temperature difference value. The processor may compare the temperature difference value to a minimum temperature difference value associated with the target gas and, if the temperature difference value is below the minimum temperature difference value, deem the region to lack sufficient contrast to reliably observe the target gas within the region.
[0016] Some systems may include an air temperature sensor in communication with the processor, wherein receiving data representative of the target gas temperature may include receiving air temperature information from the air temperature sensor.
[0017] In some examples, the system may include a display in communication with the processor. In some such embodiments, the processor may generate optical gas image data including a plurality of regions corresponding to a plurality of regions in the captured infrared image data. The processor may be further configured to generate display image data including the optical gas image data, the display image data having a plurality of regions corresponding to a plurality of regions in the optical gas image data and the infrared image data. The processor may output a display image for presentation on the display. In some examples, regions in the display image corresponding to regions believed to lack sufficient contrast to reliably observe target gas within the region are presented in a manner that is visually distinguishable from regions believed not to lack sufficient contrast to reliably observe target gas within the region. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a perspective front view of an example thermal imaging camera.
[0019] Figure 2 yes Figure 1 An example of a thermal imaging camera with a perspective rear view.
[0020] Figure 3 It is a graphic Figure 1 and Figure 2 A functional block diagram of example components of a thermal imaging camera.
[0021] Figure 4A and Figure 4B A schematic illustration of a gas shock thermal image is shown.
[0022] Figures 5A-5C Schematic showing how infrared imaging can detect the presence of gas in a target scene.
[0023] Figure 6 is a schematic illustration of multiple image frames captured in a frame buffer.
[0024] Figure 7 is a process flow diagram illustrating an exemplary process for generating and updating a filtered foreground and background to continuously update an optical gas image.
[0025] Figure 8 is a schematic illustration of the process used to generate an optical gas image.
[0026] Fig. 9 is a schematic diagram illustrating combinations of image data that can be used to generate a display image.
[0027] Fig.10 is an exemplary user interface illustrating user-selectable options for performing a gas imaging operation.
[0028] Fig.11An exemplary lookup table is shown for determining the required difference between the gas temperature and the apparent background temperature in order to achieve a particular minimum contrast ratio for a given gas type and gas amount.
[0029] Fig.12 is a process flow diagram illustrating an exemplary process for determining whether a pixel can be reliably used to detect a given gas type and amount, and for displaying such a determination.
[0030] Fig.13 is a schematic illustration of a process for generating, in real time, an optical gas image that includes information regarding whether a given gas type and amount of gas is observable at different locations within the optical gas image.
[0031] Fig.14 is a process flow diagram illustrating the process of adapting to camera motion during an optical gas imaging process.
[0032] Fig.15 is a process flow diagram illustrating a process of adapting to thermal changes during an optical gas imaging process.
[0033] Fig.16A and Fig. 16B is a schematic illustration of the simulated camera motion during the optical gas imaging process.
[0034] Fig.17 is a process flow diagram illustrating an exemplary combination of performing a NUC process before and / or during an optical gas imaging process using image stabilization.
[0035] Fig.18A and Fig.18B An exemplary display interface for indicating to a user the amount of camera drift during optical gas imaging is shown. DETAILED DESCRIPTION
[0036] The following detailed description is exemplary in nature and is not intended to limit the scope, applicability or configuration of the present invention in any way. On the contrary, the following description provides some practical instructions for implementing various embodiments of the present invention. Examples of construction, materials, sizes and manufacturing processes are provided for selected elements, and all other elements adopt elements known to those of ordinary skill in the field of the present invention. Those skilled in the art will recognize that many of the examples indicated have a variety of suitable alternatives.
[0037] Thermal imaging cameras can be used to detect thermal patterns across a scene, which includes one or more objects being viewed. Thermal imaging cameras can detect infrared radiation emitted by a scene and convert the infrared radiation into an infrared image indicative of the thermal pattern. In some embodiments, thermal imaging cameras can also capture visible light from a scene and convert the visible light into a visible light image. Depending on the configuration of the thermal imaging camera, the camera can include infrared optics that focus the infrared radiation onto an infrared sensor and visible light optics that focus the visible light onto a visible light sensor.
[0038] Various embodiments provide methods and systems for producing thermal images with reduced noise using averaging techniques. To further improve image quality and eliminate problems that may be caused by averaging (eg, blurring, ghosting, etc.), an image alignment process is performed on the thermal images prior to averaging.
[0039] Figure 1 and Figure 2 Front and rear perspective views of an example thermal imaging camera 100 are shown, respectively, and include a housing 102, an infrared lens assembly 104, a visible light lens assembly 106, a display 108, a laser 110, and a trigger control 112. Housing 102 houses various components of thermal imaging camera 100. The bottom of thermal imaging camera 100 includes a handle 118 for holding and operating the camera via one hand. Infrared lens assembly 104 receives infrared radiation from a scene and focuses the radiation on an infrared sensor to generate an infrared image of the scene. Visible light lens assembly 106 receives visible light from a scene and focuses the visible light on a visible light sensor to generate a visible light image of the same scene. Thermal imaging camera 100 captures visible light images and / or infrared images in response to pressing trigger control 112. In addition, thermal imaging camera 100 controls display 108 to display infrared images and visible light images generated by the camera, for example, to assist an operator in thermal inspection of a scene. Thermal imaging camera 100 may also include a focus mechanism coupled to infrared lens assembly 104, the focus mechanism being configured to move at least one lens of the infrared lens assembly to adjust the focus of an infrared image generated by the thermal imaging camera. Additionally or alternatively, the focus mechanism may move the FPA relative to one or more lenses of the infrared lens assembly.
[0040] In operation, thermal imaging camera 100 detects thermal patterns in a scene by receiving energy in an infrared wavelength spectrum emitted from the scene and processing the infrared energy to generate a thermal image. Thermal imaging camera 100 may also generate a visible light image of the same scene by receiving energy in a visible light wavelength spectrum and processing the visible light energy to generate a visible light image. As described in more detail below, thermal imaging camera 100 may include an infrared camera module configured to capture an infrared image of a scene and a visible light camera module configured to capture a visible light image of the same scene. The infrared camera module may receive infrared radiation projected through infrared lens assembly 104 and thereby generate infrared image data. The visible light camera module may receive light projected through visible light lens assembly 106 and thereby generate visible light data.
[0041] In some examples, thermal imaging camera 100 collects or captures infrared energy and visible light energy substantially simultaneously (e.g., at the same time) such that the visible light image and the infrared image generated by the camera are of the same scene substantially at the same time. In these examples, the infrared image generated by thermal imaging camera 100 indicates localized temperatures within a scene at a particular time period, while the visible light image generated by the camera indicates the same scene at the same time period. In other examples, the thermal imaging camera may capture infrared energy and visible light energy from a scene at different time periods.
[0042] Visible light lens assembly 106 includes at least one lens that focuses visible light energy on a visible light sensor to generate a visible light image. Visible light lens assembly 106 defines a visible light optical axis that passes through the center of curvature of at least one lens of the assembly. Visible light energy is projected through the front of the lens and is focused on opposite sides of the lens. Visible light lens assembly 106 may include a single lens or multiple lenses (e.g., two, three, or more lenses) arranged in series. In addition, visible light lens assembly 106 may have a fixed focus, or may include a focus adjustment mechanism for changing the focus of the visible light optical device. In examples where visible light lens assembly 106 includes a focus adjustment mechanism, the focus adjustment mechanism may be a manual adjustment mechanism or an automatic adjustment mechanism.
[0043] Infrared lens assembly 104 also includes at least one lens that focuses infrared energy on the infrared sensor to generate thermal imaging. Infrared lens assembly 104 defines an infrared optical axis that passes through the center of curvature of the lens of the assembly. During operation, infrared energy is directed through the front of the lens and focused on the opposite side of the lens. Infrared lens assembly 104 may include a single lens or multiple lenses (e.g., two, three, or more lenses) that may be arranged in series. In some examples, infrared lens assembly 104 may include a lens having diffractive or reflective properties or elements. Additional optical components such as reflectors (e.g., Fresnel reflectors) and the like may be included within infrared lens assembly 104 or otherwise close to infrared lens assembly 104.
[0044] As briefly described above, thermal imaging camera 100 includes a focusing mechanism for adjusting the focus of an infrared image captured by the camera. Figure 1 and Figure 2 In the example shown in , thermal imaging camera 100 includes focus ring 114. Focus ring 114 is operably coupled (e.g., mechanically and / or electrically coupled) to at least one lens of infrared lens assembly 104 and is configured to move one or both of the FPA and the at least one lens to various focus positions in order to focus an infrared image captured by thermal imaging camera 100. Focus ring 114 may be manually rotated about at least a portion of housing 102 in order to move the at least one lens to which focus ring 114 is operably coupled. In some examples, focus ring 114 is also operably coupled to display 108 such that rotation of focus ring 114 causes at least a portion of a visible light image and at least a portion of an infrared image simultaneously displayed on display 108 to move relative to each other. In different examples, thermal imaging camera 100 may include a manual focus adjustment mechanism implemented in a configuration other than focus ring 114, or in other embodiments, may simply maintain a fixed focus.
[0045] In some examples, thermal imaging camera 100 may include an automatic adjustment focus mechanism in addition to or in lieu of a manual adjustment focus mechanism. The automatic adjustment focus mechanism may be operably coupled to at least one lens of infrared lens assembly 104 and configured to automatically move the at least one lens to various focus positions, for example in response to instructions from thermal imaging camera 100. In one application of such an example, thermal imaging camera 100 may use laser 110 to electronically measure the distance between the camera and an object in a target scene, which is referred to as the distance to the target. Thermal imaging camera 100 may then control the automatic adjustment focus mechanism to move at least one lens of infrared lens assembly 104 to a focus position corresponding to the distance to the target data determined by thermal imaging camera 100. The focus position may correspond to the distance to the target data because the focus position may be configured to place an object in the target scene at a determined distance in focus. In some examples, the focus position set by the automatic adjustment focus mechanism may be manually overridden by an operator, for example by rotating focus ring 114.
[0046] During operation of thermal imaging camera 100, an operator may wish to view a thermal image of a scene generated by the camera and / or a visible light image of the same scene. For this reason, thermal imaging camera 100 may include a display. Figure 1 and Figure 2 In the example of , thermal imaging camera 100 includes a display 108 that is located on the back side of housing 102, opposite infrared lens assembly 104 and visible light lens assembly 106. Display 108 can be configured to display a visible light image, an infrared image, and / or a combined image that includes a simultaneous display of a visible light image and an infrared image. In different examples, display 108 can be remote from infrared lens assembly 104 and visible light lens assembly 106 of thermal imaging camera 100 (e.g., separate from infrared lens assembly 104 and visible light lens assembly 106 of thermal imaging camera 100), or display 108 can be in a different spatial arrangement relative to infrared lens assembly 104 and / or visible light lens assembly 106. Thus, although display 108 is located on the back side of housing 102, display 108 can be located on the back side of housing 102, opposite infrared lens assembly 104 and visible light lens assembly 106. Figure 2 1 is shown behind infrared lens assembly 104 and visible light lens assembly 106, but other locations for display 108 are possible.
[0047] Thermal imaging camera 100 may include a variety of user input media for controlling the operation of the camera and adjusting various settings of the camera. Example control functions may include adjusting the focus of infrared and / or visible light optics, opening / closing a shutter, capturing infrared and / or visible light images, etc. Figure 1 and Figure 2In the example of , thermal imaging camera 100 includes a depressible trigger control 112 for capturing infrared and visible light images, and buttons 116 that form part of a user interface for controlling other aspects of camera operation. Different numbers or arrangements of user input media are possible, and it should be appreciated that the present disclosure is not limited in this respect. For example, thermal imaging camera 100 may include a touch screen display 108 that receives user input by depressing different portions of the screen.
[0048] Figure 3 1 is a functional block diagram illustrating components of an example of thermal imaging camera 100. Thermal imaging camera 100 includes IR camera module 200, front end circuitry 202. IR camera module 200 and front end circuitry 202 are sometimes referred to in combination as a front end stage or front end components 204 of infrared camera 100. Thermal imaging camera 100 may also include visible light camera module 206, display 108, user interface 208, and output / control devices 210.
[0049] Infrared camera module 200 may be configured to receive infrared energy emitted by a target scene and focus the infrared energy on an infrared sensor to generate infrared energy data, which may be displayed on display 108 in the form of an infrared image and / or stored in memory, for example. Infrared camera module 200 may include any suitable components for performing the functions attributed to the module herein. Figure 3 In the example of FIG. 1 , infrared camera module 200 is illustrated as including infrared lens assembly 104 and infrared sensor 220. As described above with reference to FIG. Figure 1 and Figure 2 As described, infrared lens assembly 104 includes at least one lens that takes infrared energy emitted by a target scene and focuses the infrared energy onto infrared sensor 220. Infrared sensor 220 responds to the focused infrared energy by generating an electrical signal that can be converted into an infrared image and displayed on display 108 as an infrared image.
[0050] Infrared sensor 220 may include one or more focal plane arrays (FPAs) that generate electrical signals in response to infrared energy received through infrared lens assembly 104. Each FPA may include multiple infrared sensor elements, including, for example, bolometers, photon detectors, or other suitable infrared sensor elements. In operation, each sensor element (each of which may be referred to as a sensor pixel) may change an electrical characteristic (e.g., voltage or resistance) in response to absorbing infrared energy received from a target scene. In turn, the change in the electrical characteristic may provide an electrical signal that may be received by processor 222 and processed into an infrared image displayed on display 108.
[0051] For example, in an example where infrared sensor 220 includes a plurality of bolometers, each bolometer can absorb infrared energy focused by infrared lens assembly 104 and increase in temperature in response to the absorbed energy. The resistance of each bolometer can change as the temperature of the bolometer changes. Using each detector element as a sensor pixel, a two-dimensional image or picture representation of infrared radiation can be further generated by converting the resistance change of each detector element into a time-division multiplexed electrical signal, which can be processed for visualization on a display or stored in a memory (e.g., a computer). Processor 222 can measure the resistance change of each bolometer by applying a current (or voltage) to each bolometer, and measuring the resulting voltage (or current) across the bolometer. Based on these data, processor 222 can determine the amount of infrared energy emitted by different parts of the target scene and control display 108 to display a thermal image of the target scene.
[0052] Independent of the specific type of infrared sensor elements included in the FPA of infrared sensor 220, the FPA array may define any suitable size and shape. In some examples, infrared sensor 220 includes a plurality of infrared sensor elements arranged in a grid pattern, such as, for example, an array of sensor elements arranged in vertical columns and horizontal rows. In various examples, infrared sensor 220 may include an array of vertical columns × horizontal rows, for example, 16 x 16, 50 x 50, 160 x 120, 120 x 160, or 650 x 480. In other examples, infrared sensor 220 may include a smaller number of vertical columns and horizontal rows (e.g., 1×1), a larger number of vertical columns and horizontal rows (e.g., 1000×1000), or a different ratio of columns to rows.
[0053] In some embodiments, a readout integrated circuit (ROIC) is incorporated on the IR sensor 220. The ROIC is used to output a signal corresponding to each sensor pixel. Such a ROIC is typically manufactured as an integrated circuit on a silicon substrate. Multiple detector elements can be manufactured on top of the ROIC, where their combination provides the IR sensor 220. In some embodiments, the ROIC can include components discussed elsewhere in this disclosure (e.g., an analog-to-digital converter (ADC)) directly incorporated into the FPA circuit. Such integration of the ROIC, or other additional integration levels not explicitly discussed, should be considered within the scope of the present disclosure.
[0054] As described above, IR sensor 220 generates a series of electrical signals corresponding to the infrared radiation received by each infrared detector element to represent a thermal image. A "frame" of thermal image data is generated when the voltage signal from each infrared detector element is obtained by scanning all of the rows that make up IR sensor 220. Likewise, in certain embodiments involving bolometers as infrared detector elements, such scanning is accomplished by switching the corresponding detector elements into the system circuit and applying a bias voltage across such switched-on elements. Successive frames of thermal image data are generated by repeatedly scanning the rows of IR sensor 220, wherein such frames are produced at a rate sufficient to generate a video representation of the thermal image data (e.g., 30 Hz or 60 Hz).
[0055] The front-end circuit 202 includes circuitry for interfacing with and controlling the IR camera module 200. In addition, the front-end circuit 202 initially processes the collected infrared image data and transmits it to the processor 222 via a connection therebetween. More specifically, the signal generated by the IR sensor 220 is initially conditioned by the front-end circuit 202 of the thermal imaging camera 100. In certain embodiments, as shown, the front-end circuit 202 includes a bias generator 224 and a preamplifier / integrator 226. In addition to providing detector bias, the bias generator 224 may optionally add or subtract an average bias current from the total current generated for each detector element that is turned on. The average bias current may be varied to (i) compensate for deviations in the entire resistor array of the detector elements caused by changes in ambient temperature within the thermal imaging camera 100, and (ii) compensate for array-to-array variations in the average detector element of the IR sensor 220. Such bias compensation may be automatically controlled by the thermal imaging camera 100 or software, or may be controlled by a user via input to the output / control device 210 or the processor 222. After providing the detector bias and optional subtraction or addition of the average bias current, the signal can pass through the preamplifier / integrator 226. Typically, the preamplifier / integrator 226 is used to condition the incoming signal, such as conditioning the incoming signal prior to digitization of the incoming signal. Thus, the incoming signal can be adjusted to a form that can more effectively interpret the signal, and in turn can result in more effective resolution of the created image. The conditioned signal is then sent downstream to the processor 222 of the thermal imaging camera 100.
[0056] In some embodiments, the front-end circuit 202 may include one or more additional elements, such as additional sensors 228 or ADC 230. The additional sensors 228 may include, for example, temperature sensors, visible light sensors (such as CCDs), pressure sensors, magnetic sensors, etc. Such sensors may provide additional calibration and detection information to enhance the functionality of the thermal imaging camera 100. For example, a temperature sensor may provide an ambient temperature reading near the IR sensor 220 to assist in radiometric calculations. A magnetic sensor such as a Hall effect sensor may be used in combination with a magnet mounted on the lens to provide lens focus position information. Such information may be useful for calculating distance or determining parallax offset, which is used in conjunction with visible light scene data collected from the visible light sensor.
[0057] ADC 230 may provide the same functionality and operate in substantially the same manner as discussed below, however, its inclusion in front end circuitry 202 may provide certain benefits, such as digitizing scene and other sensor information prior to transmission via a connection therebetween to processor 222. In some embodiments, ADC 230 may be integrated into the ROIC, as discussed above, thereby eliminating the need for a separately mounted and housed ADC 230.
[0058] In some embodiments, the front end assembly may further include a shutter 240. The shutter 240 may be located externally or internally relative to the lens and operates to open or close the view provided by the IR lens assembly 104. As is known in the art, the shutter 240 may be mechanically positionable or may be actuated by an electromechanical device such as a DC motor or solenoid. Embodiments of the present invention may include calibration or setup software-implemented methods or settings that utilize the shutter 240 to establish appropriate bias levels for each detector element.
[0059] The components described as processors within the thermal imaging camera 100, including the processor 222, may be implemented as one or more processors, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic circuits, etc., either alone or in any suitable combination. The processor 222 may also include a memory that stores program instructions and associated data, which, when executed by the processor 222, causes the thermal imaging camera 100 and the processor 222 to perform the functions attributed to them in the present disclosure. The memory may include any fixed or removable magnetic, optical, or electrical medium, such as RAM, ROM, CD-ROM, hard or floppy disks, EEPROM, etc. The memory may also include a removable memory portion, which may be used to provide memory updates or increase memory capacity. Removable memory may also allow image data to be easily transferred to another computing device, or removed before the thermal imaging camera 100 is used in another application. The processor 222 may also be implemented as a system on a chip, which integrates some or all components of a computer or other electronic system into a single chip. These elements manipulate the conditioned scene image data delivered from the front end stage 204 to provide output scene data that can be displayed or stored for use by a user. The processor 222 (processing circuitry) then sends the processed data to the display 108 or other output / control device 210 .
[0060] During operation of thermal imaging camera 100, processor 222 may control infrared camera module 200 to generate infrared image data for creating an infrared image. Processor 222 may generate digital "frames" of infrared image data. By generating frames of infrared image data, processor 222 essentially captures an infrared image of a target scene at a given point in time. That is, in some examples, multiple pixels that make up an infrared image may be captured simultaneously. In other embodiments, a set of one or more pixels may be captured continuously until each pixel has been captured.
[0061] Processor 222 may capture a single infrared image or “snapshot” of a target scene by measuring the electrical signal of each infrared sensor element included in the FPA of infrared sensor 220 a single time. Alternatively, processor 222 may capture multiple infrared images of a target scene by repeatedly measuring the electrical signal of each infrared sensor element included in the FPA of infrared sensor 220. In an example where processor 222 repeatedly measures the electrical signal of each infrared sensor element included in the FPA of infrared sensor 220, processor 222 may generate a dynamic thermal image (e.g., a video representation) of the target scene. For example, processor 222 may measure the electrical signal of each infrared sensor element included in the FPA at a rate sufficient to generate a video representation of thermal image data, such as, for example, 30 Hz or 60 Hz. Processor 222 may perform other operations in capturing infrared images, such as sequentially actuating shutter 240 to open and close the aperture of infrared lens assembly 104, etc.
[0062] With each sensor element of the infrared sensor 220 being a sensor pixel, the processor 222 can generate a two-dimensional image or picture representation of infrared radiation from a target scene by converting changes in electrical characteristics (e.g., resistance) of each sensor element into a time-division multiplexed electrical signal that can be processed, such as for visualization on the display 108 and / or storage in a memory. The infrared image, when displayed on the display 108, can include a plurality of display pixels. The display pixel can have any defined relationship with the corresponding sensor pixel. In some examples, each sensor pixel corresponds to a display pixel in the image representation of infrared data. In other examples, a plurality of sensor pixels can be combined (e.g., averaged) to provide infrared information for a single display pixel. In still other examples, a single sensor pixel can contribute to a plurality of display pixels. For example, such as in a simple upsampling procedure, a value from a single sensor pixel can be replicated at a nearby pixel. In other examples, such as in an interpolation procedure, adjacent or other nearby pixels can be averaged to create a new pixel value. Because the relationship between display pixels and sensor pixels is defined relative to camera operation, the general term "pixel" may refer to a sensor pixel, a display pixel, or data processed from a sensor pixel to a display pixel unless otherwise noted. Processor 222 may perform calculations to convert the raw infrared image data into a scene temperature (radiometry), which in some examples includes a color corresponding to the scene temperature.
[0063] Processor 222 may control display 108 to display at least a portion of the infrared image of the captured target scene. In some examples, processor 222 controls display 108 so that the electrical response of each sensor element of infrared sensor 220 is associated with a single pixel on display 108. In other examples, processor 222 may increase or decrease the resolution of the infrared image so that there are more or fewer pixels displayed on display 108 than there are sensor elements in infrared sensor 220. Processor 222 may control display 108 to display the entire infrared image (e.g., all portions of the target scene captured by thermal imaging camera 100) or less than the entire infrared image (e.g., a smaller portion of the entire target scene captured by thermal imaging camera 100). Processor 222 may perform other image processing functions, as described in more detail below.
[0064] Independent of specific circuitry, thermal imaging camera 100 may be configured to manipulate data representative of a target scene to provide an output that may be displayed, stored, transmitted, or otherwise utilized by a user.
[0065] Thermal imaging camera 100 includes visible light camera module 206. Visible light camera modules are generally known. For example, various visible light camera modules are included in smart phones and many other devices. In some embodiments, visible light camera module 206 can be configured to receive visible light energy from a target scene and focus the visible light energy on a visible light sensor to generate visible light energy data, which can be displayed on display 108 in the form of a visible light image and / or stored in a memory, for example. Visible light camera module 206 can include any suitable components for performing the functions attributed to the module herein. Figure 3 In the example of FIG. 1 , visible light camera module 206 is illustrated as including visible light lens assembly 106 and visible light sensor 242. As described above with reference to FIG. Figure 1 and Figure 2 As described, visible light lens assembly 106 includes at least one lens that obtains visible light energy emitted by a target scene and focuses the visible light energy on visible light sensor 242. Visible light sensor 242 responds to the focused energy by generating an electrical signal, which can be converted into a visible light image and displayed as a visible light image on display 108. In some examples, visible light module 206 is user-configurable and can provide output to, for example, display 108 in a variety of formats. Visible light camera module 206 may include compensation functions for changing lighting or other operating conditions or user preferences. The visible light camera module may provide a digital output including image data, which may include data in a variety of formats (e.g., RGB, CYMK, YCbCr, etc.).
[0066] Visible light sensor 242 may include a plurality of visible light sensor elements, such as, for example, CMOS detectors, CCD detectors, PIN diodes, avalanche photodiodes, etc. The number of visible light sensor elements may be the same as or different from the number of infrared light sensor elements.
[0067] In operation, light energy received from a target scene may pass through visible light lens assembly 106 and be focused on visible light sensor 242. When the light energy impinges on the visible light sensor elements of visible light sensor 242, photons within the photodetector may be released and converted into a detection current. Processor 222 may process the detection current to form a visible light image of the target scene.
[0068] During use of thermal imaging camera 100, processor 222 may control visible light camera module 206 to generate visible light data from a captured target scene for creating a visible light image. The visible light data may include photometric data indicating color(s) associated with different portions of the captured target scene and / or light quantity values associated with different portions of the captured target scene. Processor 222 may generate a "frame" of visible light image data by measuring the response of each visible light sensor element of thermal imaging camera 100 a single time. By generating a frame of visible light data, processor 222 captures a visible light image of a target scene at a given point in time. Processor 222 may also repeatedly measure the response of each visible light sensor element of thermal imaging camera 100 in order to generate a dynamic thermal image (e.g., a video representation) of the target scene, as described above with respect to infrared camera module 200. In some examples, visible light camera module 206 may include its own dedicated processor or other circuitry (e.g., an ASIC) capable of operating visible light camera module 206. In some such embodiments, the dedicated processor communicates with processor 222 to provide visible light image data (e.g., RGB image data) to processor 222. In an alternative embodiment, a dedicated processor for visible light camera module 206 may be integrated into processor 222 .
[0069] Where each sensor element of visible light camera module 206 functions as a sensor pixel, processor 222 may generate a two-dimensional image or pictorial representation of visible light from a target scene by converting the electrical response of each sensor element into a time-division multiplexed electrical signal that may be processed, e.g., for visualization on display 108 and / or storage in memory.
[0070] Processor 222 may control display 108 to display at least a portion of the visible light image of the captured target scene. In some examples, processor 222 controls display 108 such that the electrical response of each sensor element of visible light camera module 206 is associated with a single pixel on display 108. In other examples, processor 222 may increase or decrease the resolution of the visible light image such that there are more or fewer pixels displayed on display 108 than there are sensor elements in visible light camera module 206. Processor 222 may control display 108 to display the entire visible light image (e.g., all of the portion of the target scene captured by thermal imaging camera 100) or less than the entire visible light image (e.g., a smaller portion of the entire target scene captured by thermal imaging camera 100).
[0071] In some embodiments, one or both of the infrared 200 and visible light 206 camera modules for acquiring IR and VL image data may be included in the image acquisition module 280. The image acquisition module may communicate wired or wirelessly with a processing module 290 including a processor such as 222. The processing module 290 may receive image data from the image acquisition module 280 and perform subsequent processing steps as will be described herein. In some examples, the processing module 290 may include a portable processing device such as a smart phone, a tablet computer, a stand-alone computer such as a laptop or desktop PC, etc. In some such embodiments, various components of the front end circuit 202 may be included in the image acquisition module 280, the processing module 290, or both.
[0072] In these and other examples, processor 222 may control display 108 to simultaneously display at least a portion of a visible light image captured by thermal imaging camera 100 and at least a portion of an infrared image captured by thermal imaging camera 100. Such simultaneous display may be useful because an operator may reference features displayed in the visible light image to help understand features simultaneously displayed in the infrared image, because an operator may more easily identify and distinguish different real-world features in the visible light image than in the infrared image. In various examples, processor 222 may control display 108 to display the visible light image and the infrared image in a side-by-side arrangement, a picture-in-picture arrangement (one image surrounds the other image), or any other suitable arrangement in which the visible light and infrared images are displayed simultaneously.
[0073] For example, the processor 222 may control the display 108 to display the visible light image and the infrared image in a combined arrangement. In such an arrangement, for a pixel or set of pixels representing a portion of the target scene in the visible light image, there is a corresponding pixel or set of pixels in the infrared image, which represents substantially the same portion of the target scene. In various embodiments, the size and / or resolution of the IR and VL images do not have to be the same. Therefore, there may be a set of pixels corresponding to a single pixel in the other image in the IR or VL image, or a set of pixels of different sizes in one of the IR or VL images. Similarly, there may be pixels corresponding to a set of pixels in the other image in the VL or IR images. Therefore, as used herein, correspondence does not require a one-to-one pixel relationship, but may include the size of unmatched pixels or pixel groups. Various combination techniques for regions of image size mismatches may be performed, such as upsampling or downsampling one of the images, or combining pixels with the average value of corresponding pixel sets. Other examples are known and within the scope of the present disclosure.
[0074] Therefore, corresponding pixels do not need to have a direct one-to-one relationship. On the contrary, in some embodiments, a single infrared pixel has a plurality of corresponding visible light pixels, or a visible light pixel has a plurality of corresponding infrared pixels. Additionally or alternatively, in some embodiments, not all visible light pixels have corresponding infrared pixels, or vice versa. Such embodiments may indicate, for example, a display of a picture-in-picture type as previously discussed. Therefore, a visible light pixel does not necessarily have the same pixel coordinates as a corresponding infrared pixel within a visible light image. Therefore, as used herein, corresponding pixels generally refer to pixels from any image (e.g., a visible light image, an infrared image, a combined image, a display image, etc.) that include information from substantially the same portion of a target scene. Such pixels do not need to have a one-to-one relationship between images, and do not need to have similar coordinate positions within their corresponding images.
[0075] Similarly, images with corresponding pixels (i.e., pixels representing the same portion of the target scene) may be referred to as corresponding images. Thus, in some such arrangements, corresponding visible light images and infrared images may be superimposed on top of each other at corresponding pixels. The operator may interact with the user interface 208 to control the transparency or opacity of one or both images displayed on the display 108. For example, the operator may interact with the user interface 208 to adjust the infrared image between fully transparent and fully opaque, and also adjust the visible light image between fully transparent and fully opaque. Such an exemplary combination arrangement, which may be referred to as an alpha blending arrangement, may allow the operator to adjust the display 108 to display a pure infrared image, a pure visible light image, or any overlapping combination of the two images between the extremes of a pure infrared image and a pure visible light image. The processor 222 may also combine scene information with other data such as radiometric data, alarm data, and the like. In general, an alpha blending combination of visible light and infrared images may include anywhere from 100 percent infrared and 0 percent visible light to 0 percent infrared and 100 percent visible light. In some embodiments, the amount of blending may be adjusted by the user of the camera. Thus, in some embodiments, the blended image may be adjusted between 100 percent visible light and 100 percent infrared.
[0076] Additionally, in some embodiments, the processor 222 can interpret and execute commands from the user interface 208 and / or the output / control device 210. This can involve processing various input signals and transmitting those signals to the front-end circuit 202 via connections therebetween. Components (e.g., motors or solenoids) near the front-end circuit 202 can be actuated to achieve the desired control function. Exemplary control functions can include adjusting focus, opening / closing a shutter, triggering a sensor reading, adjusting a bias value, etc. In addition, the input signal can be used to modify the processing of the image data that occurs in the processor 222.
[0077] Processor 222 may further include other components to assist in processing and control of infrared imaging camera 100. For example, as discussed above, in some embodiments an ADC may be incorporated into processor 222. In such a case, the analog signal conditioned by front end stage 204 is not digitized until it reaches processor 222. Furthermore, some embodiments may include additional on-board memory for storing processing command information and scene data prior to transmission to display 108 or output / control device 210.
[0078] The operator may interact with the thermal imaging camera 100 via a user interface 208, which may include buttons, keys, or another mechanism for receiving input from a user. The operator may receive output from the thermal imaging camera 100 via the display 108. The display 108 may be configured to display infrared images and / or visible light images in any acceptable palette or color scheme, and the palette may change, for example, in response to user control. In some examples, the display 108 is configured to display infrared images in a monochrome palette (such as grayscale). In other examples, the display 108 is configured to display infrared images in a color palette, such as, for example, amber, iron bow, blue-red, or other high-contrast color schemes. Combinations of grayscale and color palette displays are also contemplated. In some examples, a display configured to display such information may include processing capabilities for generating and presenting such image data. In other examples, being configured to display such information may include the ability to receive image data from other components (such as a processor 222). For example, processor 222 may generate a value (eg, an RGB value, a grayscale value, or other display option) for each pixel to be displayed. Display 108 may receive such information and map each pixel into a visual display.
[0079] Although processor 222 may control display 108 to simultaneously display at least a portion of an infrared image and at least a portion of a visible light image in any suitable arrangement, a picture-in-picture arrangement may assist an operator in easily focusing and / or interpreting a thermal image by displaying corresponding visible images of the same scene in adjacent alignment.
[0080] A power source (not shown) delivers operating power to the various components of thermal imaging camera 100 , and in some examples may include a rechargeable or non-rechargeable battery and power generation circuitry.
[0081] During operation of thermal imaging camera 100, processor 222 controls infrared camera module 200 and visible light camera module 206 by means of instructions associated with program information stored in memory to generate visible light images and infrared images of a target scene. Processor 222 further controls display 108 to display the visible light image and / or infrared image generated by thermal imaging camera 100.
[0082] In some cases, thermal imaging cameras can be used to detect the presence of infrared absorbing gases in a scene. Figure 4A and Figure 4B A schematic illustration of a gas shock thermal image is shown. Figure 4A Gas cloud 460 and infrared radiation source 462 are shown. Beams 464a-464d represent infrared radiation from source 462, whose wavelengths are substantially not absorbed by the gas in gas cloud 460. Figure 4BSimilarly shown are gas cloud 460 and infrared radiation source 462. Beams 466a-466d represent infrared radiation from source 462, whose wavelengths are absorbed by the gas in gas cloud 460. Figure 4B , using dashed lines, after passing through gas cloud 460, beams 466b and 466c are absorbed by the gas and attenuated, while beams 466a and 466d that did not pass through gas cloud 460 are unaffected. It will be appreciated that although radiation is described as being "attenuated" by a gas cloud (e.g., 460), in some cases, the gas cloud may enhance radiation of particular wavelengths. For example, in an environment where the gas is at a higher temperature than the background scene, the gas may add (enhance) radiation of one or more wavelengths relative to the background scene, rather than attenuating such wavelengths.
[0083] Figures 5A-5C Schematic showing how infrared imaging can detect the presence of gas in a target scene. Figure 5A An infrared radiation source 572 is shown that emits at a particular wavelength and has a uniform amplitude A. Beams 574a, 574b, 574d, and 574e of infrared radiation do not pass through gas cloud 570a, while beam 574c passes through gas cloud 570a. In the illustrated example, gas cloud 570a attenuates the wavelength to 1 / 5. Thus, at plane 578, the amount of radiation emitted by source 572 received at regions 580 and 584 will still have amplitude A, while the amount of radiation received at region 582 will have amplitude A / 2 because the radiation is attenuated by gas cloud 570a. An infrared image captured at plane 578 will include regions (580, 584) having amplitude A and other regions (582) having amplitude A / 2.
[0084] Figure 5B Similarly shown is an infrared radiation source 572 emitting at a particular wavelength and having a uniform amplitude A, however Figure 5B The gas cloud in 570b is Figure 5A In this case, beams 574a and 574e of infrared radiation do not pass through gas cloud 570b, while beams 574b-574d pass through gas cloud 570b. Since gas cloud 570b attenuates the wavelength from source 572 to 1 / 2, the amount of radiation received at regions 586 and 591 will still have amplitude A, while the amount of radiation received at region 588 will have amplitude A / 2. The infrared image Y captured at plane 578 will include regions (586, 590) having amplitude A and other regions (588) having amplitude A / 2.
[0085] If source 572 emits only wavelengths that are attenuated by the gas cloud (570a, 570b) with uniform amplitude A, then image X ( Figure 5A ) or Y ( Figure 5B) will show the presence of a gas cloud due to the difference in radiation received at plane 578. For example, Figure 5C An image X is shown having an area having an amplitude A and an area attenuated by a gas cloud 570a having an amplitude A / 2. Similarly, image Y includes an area having an amplitude A and an area attenuated by a gas cloud 570b having an amplitude A / 2. However, if source 572 emits additional infrared radiation, such as a typical black body, then the attenuation (or enhancement) of a single wavelength or narrow band within the image data will not necessarily be apparent only in image X or Y. That is, the attenuation or enhancement of (one or more) wavelengths of radiation will not necessarily produce a significant amount of contrast in the image because the attenuation or enhancement of a small band due to the gas may be small compared to the overall amplitude of the radiation in the image. Therefore, in a general gas imaging process, a gas cloud can generally affect the radiation of a wavelength or wavelength band received from a target scene due to the attenuation or enhancement of the radiation.
[0086] However, the difference image XY taken by subtracting one image from the other will eliminate any constant background data that is not attenuated by the gas cloud (570a, 570b). In such an image, areas that are attenuated by the gas cloud in one image (Y) but not in the other image (X) will appear as non-zero areas (in this case, A / 2) in the difference image XY, thereby indicating at least the presence of gas in the scene. Therefore, in some cases, such a difference image may include an optical gas image that can be used to identify the current state of the gas cloud. That is, in some cases, an optical gas image can be generated by determining the difference between a current scene (a "foreground" image) showing the current effects of the gas and a historical scene (a "background" image) showing image data reflecting the previous effects of the gas. With a stationary camera, fixed components (e.g., non-gas) in the scene are likely to be substantially the same in the foreground image and the background, but the gas cloud will likely have evolved and / or moved. Thus, an optical gas image generated using the difference between the foreground and background images will include regions where the effect of the gas on the received radiation (e.g., attenuation or enhancement) has changed between images, but contributions from fixed components will not be present because such contributions are present in both the foreground and background images.
[0087] will understand, refer to Figures 5A-5C The examples described are simplified examples that illustrate the concept of gas imaging using the absorption properties of the gas with respect to at least one infrared wavelength. However, in various examples, the effect of the gas cloud on the received radiation will depend on the size (e.g., path thickness) and density of the gas cloud, neither of which is necessarily constant throughout the gas cloud. Thus, the degree and shape of attenuation or enhancement from the gas cloud may vary within a scene as the gas cloud changes shape over time.
[0088] A common way to implement gas detection images is to usually perform Figure 5C , where an image taken at one time (foreground image) is subtracted from an image taken at an earlier time (background image). The difference in the images will represent any changes in the target scene, and since the gas cloud is constantly changing, the gas cloud is reflected in the image. One way in which this image subtraction can be performed is by subtracting the two images from within a scene buffer, such as subtracting the oldest image in the buffer from the most recently acquired image in the buffer. It will be appreciated that the relative amounts of emission and attenuation relative to the amplitude A of source 572 are arbitrary and are used for ease of interpretation. Typically, the amount of attenuation and / or emission of infrared radiation due to the presence of gas will be very small compared to the amount of infrared radiation emitted from the background (e.g., source 572), making it generally difficult to image the gas using standard imaging techniques, for example, such as by performing a multi-image acquisition as is commonly done in FIG. Figure 5C The subtraction process shown in , views the infrared image data without performing additional processing.
[0089] Figure 6 600 is a schematic illustration of multiple image frames captured in a frame buffer. As shown, there are 120 images (frame 1-frame 120) in frame buffer 600. In an exemplary embodiment, Figure 6 The 120 images in buffer 600 may represent 120 frames in a two second buffer acquired at a frame rate of 60 Hz. In such an example, frame 120 was taken approximately two seconds after frame 1. Thus, subtracting frame 1 (the historical "background" image) from frame 120 (the more recent "foreground" image) will produce an optical gas image that shows the changes in the scene within the approximately two second time frame, which may show that there is an evolving gas cloud within the target scene. Each time a frame in buffer 600 is replaced (e.g., frame 1 is replaced with frame 121), the first frame and the last frame (now frame 2 and frame 121) may be compared to generate a new optical gas image. Thus, the optical gas image may be updated at the same frame rate as the acquired images.
[0090] As described, the effect of a gas cloud on the infrared radiation of a scene reaching an imaging plane in a thermal camera depends on several characteristics, such as the amount and density of the gas. Additionally, a typical target scene will emit a wide range of infrared wavelengths, some of which will be absorbed or emitted by the gas to a greater degree than others, and the effect on the received radiation due to the gas may be very small. As a result, changes in the image due to the presence or changes in the gas cloud may be below the noise threshold of the thermal camera. That is, without a sufficiently high signal-to-noise ratio in a thermal camera, noise (e.g., due to sensor / electronics drift, thermal fluctuations, component self-heating, or other factors) may mask subtle changes in the image due to the gas, making gas identification impossible or impractical.
[0091] Thus, reducing noise in infrared images used to observe and / or detect gases can increase the ability to distinguish gases from noise in a thermal scene. Some ways to reduce noise in a scene include using a high-sensitivity camera sensor or FPA, such as in a cryogenically cooled infrared camera. However, such equipment can be costly and difficult or inconvenient to use. For example, such equipment can be bulky, difficult to carry and / or maneuver, can require extended operating time (e.g., time to cool down), etc.
[0092] Other techniques for improving the signal-to-noise ratio of image data used in creating a gas image include generating an average of the image data to reduce noise present in the foreground and / or background images. Figure 6 , images 1-5 can be averaged together to create a filtered background image, and images 116-120 can be averaged to create a filtered foreground image. This typically reduces the noise in the foreground and background images to 1 / (Square root of the average number of frames). The difference between the filtered foreground image and the filtered background image will represent changes in the scene (e.g., in gas cloud size, density, etc.) with reduced noise, so that smaller changes in the scene can be observed due to the reduced noise.
[0093] In general, any of a variety of averaging and / or filtering techniques may be employed to reduce noise in foreground and background images used to create an optical gas image. In some embodiments, as described, a filtered foreground image may be generated from an average of a first plurality of frames, while a filtered background image may be generated from an average of a second plurality of frames. In some such examples, the first plurality of frames and the second plurality of frames may be completely different from each other (e.g., frames 1-5 and frame 120 as described above). In other examples, the first plurality of frames and the second plurality of frames at least partially overlap. In some embodiments, an intermediate frame in the first plurality of images is captured at a more recent time than an intermediate frame in the second plurality of images. Thus, the filtered foreground image will generally represent a more recent point in time than the filtered background image.
[0094] In some examples, the filtered foreground and / or filtered background images are calculated using conventional averaging taken across the first and second plurality of frames, respectively. If conventional averaging of multiple frames is performed, the first plurality of images and the second plurality of images cannot be the same plurality of images, because otherwise subtracting the filtered foreground image and the filtered background image would result in a blank image.
[0095] In other examples, averaging multiple frames may include performing a weighted average on multiple frames. For example, in calculating the average of multiple frames, a greater weight may be placed on closer frames, less-close frames, or based on any of a variety of parameters. Such a weighted average may be performed on a first and second plurality of frames to generate filtered foreground and background images, respectively. In some examples, when using weighted averaging, the first plurality of images and the second plurality of images may be the same plurality of images. For example, in some embodiments, a filtered background image may be calculated based on a weighted average of multiple frames, wherein frames captured earlier are weighted more heavily than frames captured at a later time. Similarly, a filtered foreground image may be calculated based on a weighted average of the same plurality of frames, wherein frames captured later in time are weighted more heavily than frames captured earlier in time. Therefore, a filtered background image typically represents an averaged target scene at an earlier time than a filtered foreground image.
[0096] Formulas (1) and (2) illustrate a simplified technique for performing weighted averaging on a single plurality of N images to compute a filtered foreground image and a filtered background image. For example, with respect to formulas (1) and (2), the plurality of images includes N frames F1, F2, ..., F N , where image F1 is a frame among the plurality of frames captured at the earliest time, and frame F N is the frame captured at the most recent point in time.
[0097]
[0098]
[0099] As shown, according to formula (1), when calculating the filtered background image F background In the example, the earlier images contribute much more to the average than the later images. Similarly, according to formula (2), when calculating the filtered foreground image F foreground In the example of FIG. 1 , the later images contribute much more to the average than the earlier images. Equations (1) and (2) illustrate one exemplary process of how images captured at different times may be weighted differently in generating filtered foreground and background images. It will be appreciated that many possible averaging forms are possible in order to average a single plurality of images using different weighting techniques to generate different foreground and background images. An exemplary process for combining multiple buffered frames to generate filtered foreground and background images may include applying one or more finite impulse response (FIR) filters to multiple images within the buffer.
[0100] about Figure 6 In some examples, all frames in buffer 600 can be averaged together to create foreground and background images for use in an optical gas imaging process. For example, frames 1-120 can be averaged together via a first averaging technique, such as using equation (1), to compute a filtered background image. Similarly, frames 1-120 can be averaged together via a second averaging technique, such as using equation (2), to compute a filtered foreground image. As described elsewhere herein, an optical gas image can be obtained by comparing the filtered foreground and background images, such as via a subtraction F forgreonnd –F background The optical gas image can show a representation of the gas cloud as it changes over time in a target scene, as described elsewhere herein.
[0101] In some examples, processing frames from a frame buffer may require an undesirable amount of memory and / or processing power in order to adequately perform certain imaging techniques. Figure 6 In the exemplary embodiment described, in order to process and display a substantially "real-time" optical gas image to illustrate the presence of gas in a target scene, the camera requires memory to include 120 frames in buffer 600. Such a camera would also require sufficient processing power to perform calculations including twice as many as all 120 frames in order to calculate both the filtered foreground and filtered background images quickly enough to continuously calculate and present the optical gas image to show an updating image in substantially "real-time." Such requirements can increase the cost and complexity of the camera.
[0102] In some embodiments, alternative techniques may be performed to determine filtered background and foreground images to compute an optical gas image that may be used to identify gas clouds in an imaged scene. Figure 7 is a process flow diagram illustrating an exemplary process for generating and updating filtered foreground and background images to continue updating an optical gas image. The process includes the steps of establishing a filtered foreground image (702) and establishing a filtered background image (704). This may include, for example, capturing a single frame and referring to the frame as both a filtered foreground image and a filtered background image. In other examples, a first image may be captured and established as a filtered background frame, and a second image may be subsequently captured and established as a filtered foreground frame. In either case, after each of the filtered foreground image (702) and filtered background (704) images are established, as each image is updated via Figure 7 The process is updated in Figure 7 During subsequent iterations of the method, there will typically be a non-zero difference between the filtered foreground and background images.
[0103] At this point, two images - a filtered foreground image and a filtered background image - are stored in memory. Next, a new image is captured (706). The process includes a step (708) of creating a new filtered foreground image by blending the new image captured at step 706 with the previously established filtered foreground image. Similarly, the method includes a step (710) of creating a new filtered background image by blending the new image captured at step 706 with the previously established filtered background image. Steps 708 and 710 effectively average the new frame with previous data, which acts to update each of the filtered foreground and background images by incorporating the new image data while maintaining the noise reduction benefits of filtering / averaging the images.
[0104] according to Figure 7 In the method, a new filtered foreground image (from step 708) and a new filtered background image (from step 710) are compared to create a new optical gas image (712). As described elsewhere herein, comparing the foreground and background images may include subtracting one image from the other. In general, since changes in the image data ultimately represent gas in the image, the optical gas image may be calculated by determining an absolute value of the difference between the background and foreground images or by subtracting either the foreground image and the background image from the other.
[0105] After the new optical gas image is established (712), a new image is captured (706). The new image is blended with the previously established filtered foreground image (from the previous iteration through the method) to establish yet another new filtered foreground image (708). Similarly, the new image is blended with the previously established filtered background image (from the previous iteration through the method) to establish yet another new filtered background image (710). The new foreground and background images may be compared to establish yet another new optical gas image (712).
[0106] In some examples, Figure 7 The steps in the process may be performed sequentially, such as establishing initial and new filtered foreground and background images. In other examples, some such steps may be performed in parallel. For example, in some embodiments, the filtered foreground and filtered background images may be processed and updated in parallel with each other. In an exemplary embodiment, steps 702 and 704 are performed in parallel. Additionally or alternatively, steps 708 and 710 are performed in parallel. In some such examples, the filtered foreground and filtered background images may be generated and updated in parallel before being compared to establish new optical gas image data (712).
[0107] In some examples, one or more infinite impulse response (IIR) filters may be used to perform mixing a new image with a previous background or foreground image to recursively update the filtered background and / or foreground image. In some such examples, the new image and the previous image are weighted and combined by a scaling factor. Formulas 3 and 4 provide exemplary calculations for mixing a new image with previous foreground and background images to calculate new foreground and background images, respectively, according to an exemplary first-order IIR filter.
[0108]
[0109] in
[0110]
[0111] and
[0112] .
[0113] As shown in Formula 3, the updated foreground image F foreground is the new image F new and the previous foreground image F prev_foreground The new image is The previous foreground image is scaled by Similarly, the updated background image F background is the new image F new and the previous background image Fprev_background The new image is factor, while the previous background image was scaled by Factor scaling.
[0114] It will be appreciated that, although referred to as an infinite impulse response filter, in some examples, due to limited computational accuracy (e.g., in digital processing), after a number of iterations of the filter, the contribution from the previous image may be equal to zero in the digital filtering process. That is, if the value becomes small enough compared to the computational accuracy, the value may effectively become zero due to processing limitations. Therefore, in some embodiments, an image captured during the IIR filtering process may not actually contribute to the filtered background or foreground image after a sufficiently high number of IIR filter iterations. However, as used herein, an infinite impulse response (IIR) filter will also include filters in which such a value may become zero after exceeding a certain number of iterations due to computational accuracy limitations, but conceptually will not necessarily become exactly zero with infinite computational accuracy.
[0115] Figure 8 is a schematic illustration of the process of generating an optical gas image using Equations 3 and 4. As shown, the scaling factor and The new image 804 is alpha blended with the previously filtered foreground image 800 to create a new filtered foreground image 820. Similarly, the scaling factor and The new image 804 is alpha blended with the previous filtered background image 802 to create a new filtered background image 830. The new filtered foreground image 820 and the new filtered background image 830 can be compared (at Figure 8 An optical gas image 840 is created as the absolute value of the difference between the images (as shown in FIG. 8 ).
[0116] As indicated by arrows 822 and 832, respectively, for subsequent iterations of optical gas imaging 840, the new filtered foreground image 820 becomes the previous filtered foreground image 800, and the new filtered background image 830 becomes the previous filtered background image 802. That is, as described with respect to Figure 7 As described in the iterative method, in some embodiments, after generating the optical gas image 840, another new image 804 is captured and blended with the previously used foreground and background images to generate updated foreground and background images, which are then used to generate a new optical gas image.
[0117] As described elsewhere herein, the same averaging process should not be used to determine both the foreground image and the background image, because otherwise, subtracting one image from the other will result in a blank frame. Therefore, with respect to Equations 3 and 4, and This ensures that the background and foreground images are not necessarily identical. Similarly, when using, for example, a higher order IIR filter, having at least one different filter parameter between the foreground and background filtering techniques results in a difference image that is not constantly zero.
[0118] In still other examples, different filters may be used with the foreground image stream and the background image stream to ensure that the foreground and background filtering processes do not result in a difference image that is constantly zero. For example, in some embodiments, a filtered background image may be determined using one of a first-order IIR filter, a high-order IIR filter, or a FIR filter, while a different one of a first-order IIR filter, a high-order IIR filter, or a FIR filter may be used to determine the filtered background image.
[0119] With further reference to Equations 3 and 4, it is apparent that the contribution from the historical image to the new image increases as That is, the larger the value (and the corresponding smaller value) corresponds to the value given to the previous image (e.g. Figure 8 800 or 802) than the newly acquired image (e.g., 804). Therefore, in some embodiments, , so that the background image is generally weighted more strongly toward the historical image data, while the foreground image is weighted more strongly toward the current image.
[0120] Furthermore, as this process is repeated and the foreground and background images are updated more and more times, the effects of the different blending ratios will be synthesized, thereby building up the temporal differences represented by the foreground and background images.
[0121] Another way to explain the foreground and background images as they evolve over time is to consider time constants. In general, for a given or value, the filtered foreground and background images will have contributions from several "new" images captured successively over time. However, the number of images that contribute significantly to the filtered foreground and background images at a given time (e.g., a threshold percentage) will be and Furthermore, if images are captured at a specific frame rate, the number of contributing images is similar to the time span during which images with significant contributions were captured. That is, for a given and Mixing ratio, will exist for a certain amount of time , before which the acquired image no longer contributes significantly to the filtered image. This can be called and The associated time constant.
[0122] Therefore, the filtered background image will have a time constant , so that before the newly captured image Images captured at earlier times will not contribute significantly to the background image. Similarly, the filtered foreground image will have a time constant , so that before the newly captured image Images captured at earlier times will not contribute significantly to the foreground image. It will be appreciated that images that do not contribute significantly to the updated image will necessarily contribute nothing. In some cases, the iteratively updated background and foreground images will include contributions from images captured at more than a constant time earlier than the newly captured image, however, this contribution will be relatively small (e.g., less than a factor of 1 / e, etc.) compared to the overall image. According to this interpretation, the time constant of the continuously updated background image is will be greater than the time constant of the continuously updated foreground image ( ). Therefore, background images are usually incorporated into images captured over a longer period of time than foreground images. Additionally, due to the longer time constant (larger and ) typically incorporates larger contributions from image data over longer time periods, so a larger time constant typically equates to more filtering and noise reduction in the filtered image.
[0123] In some examples, with respect to Formula 3 and Formula 4, after a given image is added, in the approximation After the frame has been added to the filtered image, the contribution from a given image will contribute to the final image by a factor less than 1 / e. That is, if = 0.1, the filtered image will be updated 10 times with the newly captured image before the contribution of the previous image to the filtered image is less than a factor of 1 / e. If a 1 / e threshold is used to determine the time constant, then the time constant can be calculated based on the frame rate and value to determine the time constant.
[0124]
[0125] In an exemplary embodiment:
[0126] = 0.9
[0127] = 0.1
[0128] = 0.99
[0129] = 0.01.
[0130] Using Equation 5 and a frame rate of 60 Hz,
[0131] ≈ 0.17 seconds
[0132] ≈ 1.67 seconds.
[0133] Thus, in such an exemplary embodiment, the filtered foreground image is approximately a weighted average of the previous 10 frames captured within the previous 0.17 seconds, while the filtered background image is approximately a weighted average of the previous 100 frames captured within the previous 1.67 seconds. The difference between the filtered foreground image and the filtered background image can be determined to calculate an optical gas image of the scene. It will be appreciated that images captured more than one time constant prior to the most recent image will still have a small contribution to the filtered image. After more time has passed, such as after two, three, or more time constants, the contribution from such an image will continue to decrease. For example, after three time constants, the contribution of the image is approximately 5%.
[0134] In some embodiments, such as , , Or other higher order IIR filter parameters or FIR filter parameters are applied to the entire image. In other examples, such filter parameters can be applied on a region-by-region or pixel-by-pixel basis within the image. For example, in some embodiments, based on a first set of filter parameters, some pixels of the filtered background image are combined with corresponding pixels in the new image, while based on a second set of filter parameters different from the first set of filter parameters, other pixels of the same filtered background image are combined with corresponding pixels in the new image.
[0135] Reference Figure 7 and Figure 8 The described process can be repeated at, for example, the image acquisition frame rate of the camera (e.g., 30 Hz, 60 Hz, etc.). Each time a new image is captured, it can be blended with the previously established foreground and background images to create an updated filtered image with reduced noise and updated content. The new image can be used to generate an updated optical gas image at the same rate as the camera captures images.
[0136] Furthermore, in some implementations of such methods, the camera's memory does not require a buffer of many frames in order to create a filtered foreground image and a filtered background image that have reduced noise and are sufficiently different to create an optical gas image. In some examples, the camera may include three image streams - a background image stream that is repeatedly updated as new images are captured, a foreground image stream that is repeatedly updated as new images are captured, and an optical gas image stream that is repeatedly updated with updated foreground and background images. Additionally, only a small amount of processing power is necessary to blend the new image with a previous background image and a previous foreground image to generate new background, foreground, and optical gas images. Thus, in some examples, the optical gas image may be generated by using a filter. Figure 7 and Figure 8 The noise reduction process described in can reduce the processing power, memory and / or thermal resolution requirements of a thermal imaging camera used to perform a proper optical gas imaging process.
[0137] As described elsewhere herein, subtracting the foreground and background image data will reveal changes in the image (e.g., evolution of the gas cloud), and will subtract portions of the image that remain constant. Thus, in some cases, an optical gas image showing gas in an otherwise stationary target scene may exclude important features in the image that were present in both the foreground and background images used to generate the optical gas image, and were therefore subtracted during generation of the optical gas image. In some such examples, the portion of the optical gas image showing the evolving gas cloud will be non-zero, while the remainder of the scene, such as any stationary background, equipment, etc., will be approximately zero.
[0138] Thus, in some examples, an optical gas image may be combined with one or more additional image data streams to generate an image that both shows the presence of gas (e.g., from the optical gas image) and also provides context within the scene (e.g., from infrared and / or visible light image data). For example, in some embodiments, optical gas image data may be combined with visible light image data to illustrate the presence / location of gas in a target scene while retaining the scene context provided by the visible light image data. Additionally or alternatively, infrared image data may be included to provide thermal information of the scene. In some examples, optical gas image data may be combined with a combination of infrared and visible light image data, such as, for example, as described in U.S. Patent No. 7,994,480, which is assigned to the assignee of the present application and is incorporated herein by reference. In various examples, the combination of optical gas image data and infrared and / or visible light image data may be performed using techniques similar to the combination of infrared and visible light image data, such as using alarm thresholds, picture-in-picture display modes, and the like.
[0139] Fig. 99 is a schematic diagram illustrating the combination of image data that can be used to generate a display image. In the illustrated example, optical gas image data 900, infrared image data 902, and visible light image data 904 are subjected to image data mixing / processing 908 to generate a display image 910. Image data mixing and processing 908 can include a variety of functions, such as combining or overlapping data streams, palletizing / colorizing image data streams, etc.
[0140] In some examples, all data streams may be processed at once, such as via a blending of image data. For example, display image 910 may include a blend of optical gas image data 900, infrared image data 902, and visible light image data 904, according to Equation 6:
[0141]
[0142] In other examples, the optical gas image data 900 may be blended with and / or overlaid on the infrared image data 902, the visible light image data 904, or a combination thereof. For example, as described elsewhere herein, the infrared 902 and visible light 904 image data may be blended together, combined in a picture-in-picture format, or combined in a variety of ways. Such combined infrared image data 902 and visible light image data 904 may then be combined with the optical gas image data 900 to generate the display image 910. In some such examples, the optical gas image data 900 may be blended (e.g., alpha blended) with the combined infrared 902 and visible light 904 image data. In other examples, the optical gas image data 900 may be overlaid on top of the combined infrared 902 and visible light 904 image data.
[0143] In some embodiments, before optical gas image data 900 is combined with other image data streams, optical gas image data 900 is paletted according to a paletted scheme so that gas image data 900 is more easily visible in displayed image 910. For example, in some embodiments, optical gas image data 900 is paletted according to a paletted scheme that contrasts with a paletted scheme in which infrared image data 902 is displayed so that optical gas image data 900 can be easily seen. In other examples, the value of is set to zero so that the optical gas image data is combined with the visible light image data. In some such examples, the optical gas image data may be paletted to contrast with the visible light image data. Additionally or alternatively, the optical gas image data 900 may be combined with some or all of the visible light image data, such as via a picture-in-picture mode. In various examples, the optical gas image data may be overlaid on and / or blended with the visible light image data.
[0144] Additionally or alternatively, other image processing techniques may be performed on one or more of the image data streams. For example, edge enhancement techniques may be employed to emphasize the edges of objects and / or gas clouds in the image data, such as described in U.S. Patent Application Nos. 14 / 837,757 or 14 / 222,153 (each of which is assigned to the assignee of the present application and is hereby incorporated by reference). Other image processing techniques may include using certain gas detection techniques to determine and display information about the likelihood of observing a gas cloud in a target scene, such as described in U.S. Patent No. 9,464,984, which is assigned to the assignee of the present application and is hereby incorporated by reference.
[0145] In some examples, the thermal imaging camera can show a real-time optical gas image on the display so that the user can observe the evolution of the gas in the scene over time. For example, in some embodiments, a real-time optical gas image is displayed each time a new image is captured. Figure 7 , and each new optical gas image is presented to a user on a display, for example, as a real-time optical gas video. Such a display may be presented as optical gas image data alone (e.g., 900), or as a processed display image (e.g., 910) that includes, for example, visible light and / or infrared image data. In other examples, the thermal imaging camera may present a conventional image, such as an infrared image, a visible light image, or a combination of visible light and infrared image data, on a display while performing optical gas imaging analysis in the background. In some such embodiments, the thermal imaging camera may be used to acquire an optical gas image (or a displayed image that includes optical gas image data) even when the real-time display does not necessarily include optical gas image data.
[0146] In various embodiments, a user may select, for example, via a user interface, whether the real-time display and / or any captured image and / or video data includes optical gas image data. In some examples, capturing image data using a thermal imaging camera includes substantially simultaneously capturing infrared image data 902, visible light image data 904, and calculated optical gas image data 900. Such image data may be presented in real-time on a display according to a particular blending / processing scheme (e.g., at 908), and / or may be combined after the fact in any manner desired by the user for display, for example, on the camera itself or a separate workstation. In various embodiments, the blending / processing techniques employed for real-time display of display image 910 may be adjusted by the user. In some examples, the available blending / processing techniques may be selected from a range of predefined image combination techniques, and / or may be fully customizable by the camera operator.
[0147] Since optical gas imaging typically utilizes the absorption capabilities of gases in the infrared spectrum to image otherwise transparent gases, infrared image data (e.g., 902) is often used to generate optical gas image data. Therefore, in some embodiments, it is not necessary to capture visible light image data 904 in conjunction with the generation of optical gas image data 900 and infrared image data 902. In an exemplary embodiment, according to Figure 8 The process shown in generates optical gas image data 900. Figure 8 At each iteration of the process, when a new image 804 is captured to generate an optical gas image 840, the new image 804 includes infrared image data 902, and the corresponding optical gas image 840 includes optical gas image data 900 corresponding to infrared image data 902. In some such embodiments, visible light image data 904 may be captured along with infrared image data 902. In other words, in some examples, infrared image data 902 and optional visible light image data 904 are captured at a frame rate (e.g., 60 Hz). Figure 8 , captured infrared image data 902 is used as new image 804 for generating optical gas image 840 including optical gas image data 900. It will be appreciated that if visible light image data 904 is used to generate optical gas image data 900, infrared image data 902 may be excluded and a similar process may be performed using visible light image data 904.
[0148] During the exemplary gas imaging process, if the thermal imaging camera is sufficiently stationary (e.g., on a tripod), the long time constant and can be used to increase the amount of filtering and reduce the amount of noise in the filtered foreground and background images. However, as noted elsewhere in this paper, the time constant and should be sufficiently different from each other so that the difference between the filtered foreground and background images is not approximately zero.
[0149] Additionally, in some cases, the time constant should not be so long that certain artifacts effectively blur the thermal image data. For example, in some cases, a thermal imaging camera, such as a thermal imaging camera that includes an uncooled sensor assembly, will experience internal heating, which may cause the thermal imaging data to drift over time. In some examples, different image processing techniques are used to reduce such thermal artifacts that appear in the image data. However, if the image filtering time constant is too long (e.g., includes a significant contribution from an image that is out long enough ago), the combination of scenes with and without thermal drift or with different degrees of thermal drift may make it difficult to compensate for the drift. Therefore, in some examples, while a slightly longer time constant is generally advantageous, the time constant may be limited to a maximum value in order to reduce any possible artifacts introduced, for example, by self-heating of the camera.
[0150] Additionally or alternatively, other events may cause inaccuracies in a filtered image that includes contributions from image data captured over a period of time. For example, if a target scene imaged by a thermal imaging camera changes (e.g., changes with respect to camera motion), images representing the previous target scene may still contribute to the filtered image. For example, if filtered background and foreground images are generated that include contributions from image data captured prior to camera motion, the mixing of image data from different scenes will blur the resulting image. Furthermore, when comparing such images, for example, when at least one image includes contributions from multiple target scenes, as described elsewhere herein, the result of subtracting the filtered background image from the filtered foreground image will likely be blurred to the point where gas cannot be reasonably detected in the difference image. That is, until the previous background scene is effectively attenuated from the image, the image will generally not be suitable for use in generating an optical gas image.
[0151] Similarly, if the user holds the camera in his or her hands, the image is likely to be less stable when compared to an image captured by a camera mounted on a tripod. Therefore, the long time constant that effectively averages many images into a filtered image is more likely to include images taken from several slightly different viewing angles while the camera is shaking in the user's hands. This may also result in artifacts, clutter, and general inaccuracies in the filtered image(s), and may blur the gas in the optical gas image.
[0152] Thus, there is a tradeoff between using enough filtering (e.g., large enough frame samples, large enough time constants, etc.) to minimize noise in the filtered foreground and background images, and not using too much filtering to risk imparting artifacts or inaccuracies into the filtered images (e.g., due to camera motion, self-heating, etc.). Furthermore, the optimal amount of filtering can depend on a variety of parameters, such as whether the camera is mounted or handheld, or whether the camera is moved to capture different target scenes.
[0153] The amount of time required for the previous background scene to effectively decay from the foreground and / or background images depends on the filtering technique used to generate the filtered foreground and background images. Figure 6 , if frames 1-5 (the frames captured at the earliest time) are averaged to generate a filtered background image from a two second buffer, the background image will include contributions from the scene up to two seconds after the scene change. That is, if the camera pointing is changed such that the camera changes from imaging a first target scene to imaging a second target scene, the filtered background image will include contributions from the first target scene up to two seconds after the camera pointing is changed. Not only will the camera be less able to perform optical gas imaging within these two seconds, but the resulting image will likely be noisy and difficult to understand because it may be based on image data from two different scenes (e.g., the difference between the first target scene and the second target scene).
[0154] Similarly, for example, if Equations 3 and 4 are used to calculate the filtered foreground and background images, respectively, the amount of time after which image data from the first target scene will be effectively attenuated from the filtered image is a function of the time constant of the filtering process. As described, in general, , and if is approximately the time it takes for the image to decay to contribute a 1 / e factor to the filtered background image, then after changing from the first target scene to the second target scene, it will take approximately three time constants ( ) to reduce the contribution from the previous scene to 5%. In the above example, , before the previous scene will decay to a 5% contribution, which will be equal to approximately In some cases, this can be frustrating to the user because the camera will typically not be able to provide an observable scene or reliable optical gas image for approximately 5 seconds after the camera is moved.
[0155] Fig.10 is an exemplary user interface showing user-selectable options for performing a gas imaging operation. Fig.10In some embodiments, a user may select to enable or disable the gas detection mode using an ON and OFF button. When the gas detection mode is off, the thermal imaging camera will not show optical gas image data on the display, e.g., when presenting a substantially real-time display of acquired image data. In some examples, when optical gas imaging is off, the thermal imaging camera calculates but does not display optical gas image data. In other examples, when optical gas imaging is off, the thermal imaging camera does not calculate optical gas image data.
[0156] Fig.10 The interface further includes selectable image capture or video capture modes of operation. The user can select whether saving the optical gas image data is done as a standalone optical gas image or as a video stream of the optical gas image (the optical gas image or video is optionally combined with infrared and / or visible light image data).
[0157] As discussed elsewhere herein, camera motion during the optical gas imaging process can have a negative impact on image quality. For example, during the process of acquiring an image that contributes to a filtered foreground or background image, camera motion can cause slight changes in the imaged scene, which can cause artifacts to appear in the image data. Fig.10 In some embodiments, a user can select between a tripod mode of operation and a handheld mode of operation. In some examples, each of the tripod mode of operation and the handheld mode of operation is associated with predetermined optical gas imaging filter parameters that affect the contribution of previously captured images. Such predefined filter parameters may include, for example, the number of frames averaged in buffer 600 for generating a filtered foreground or background image (e.g., according to Equations 1 and 2) or a time constant associated with Equations 3-5 and .
[0158] Because a thermal imaging camera supported by a tripod will generally experience less unintentional motion, the time constant and / or number of frames used to generate the filtered foreground and background images can be longer in order to further reduce noise in the images without as many artifacts introduced into the scene due to camera motion. Thus, in some examples, the number of frames from buffer 600 that are averaged to generate the filtered background image is greater in the tripod mode of operation than in the handheld mode. In other examples, the background and / or foreground time constants associated with the tripod mode ( and / or ) is longer than the background time constant associated with the handheld mode of operation. Similarly, the filter parameter .
[0159] Since the foreground time constant is typically shorter than the background time constant, it is typically less prone to developing artifacts over time. Thus, in some examples, the foreground time constant ( ) can be the same. In other examples, similar to the background time constant, the foreground time constant is longer in tripod mode than in handheld mode. Similarly, in other examples, the number of images from buffer 600 that are averaged to generate the filtered foreground image in tripod mode can be greater than or equal to the number used in handheld mode.
[0160] according to Fig.10 1 shows an exemplary user interface where a user can select an operating mode based on the intended use of the thermal imaging camera. The user can disable the gas detection mode when using the thermal imaging camera in a conventional thermal imaging mode, and can enable the gas detection mode in order to perform an optical gas imaging process. In some examples, the user can select to operate in an image or video mode for gas detection. In addition, the user can select whether to operate the thermal imaging camera in a tripod mode or a handheld mode, which can indicate which of the predefined filter parameter sets are used when generating an optical gas image.
[0161] In an exemplary embodiment, the tripod mode of operation includes ( , seconds), and the handheld operation mode includes ( , In another example, the tripod operation mode includes and Mixing parameters, and handheld operation modes include and The mixing parameters.
[0162] In some examples, the optical gas detection interface further includes a "custom" option where a user can customize the settings for performing optical gas imaging. For example, in some such embodiments, the thermal imaging camera can be configured to perform image filtering during the optical gas imaging process using one or more adjustable filter parameters. Such adjustable filter parameters can include the number of frames from buffer 600 that are averaged to generate the filtered background and / or foreground images, or the blending ratio. and , and similar time constants of formulas 3-5 . The user may similarly adjust other filtering parameters, such as those associated with higher order IIR filters, etc. Additionally or alternatively, the user may be able to select the type of filter used to generate the filtered background and / or foreground images, such as selecting between any one or more of a FIR filter, a first order IIR filter, and a higher order IIR filter. Other user adjustable parameters may include blending and / or processing parameters (e.g., 908) for generating the display image 910 from the optical gas image data 900 and other image data streams.
[0163] As described, the camera can be programmed with predefined filtering parameters that can be used when operating in a particular operating mode (e.g., handheld operation versus tripod operation) in which camera motion is more or less likely to occur. However, even within such an operating mode, the camera can move a significant amount, such as when panning from one scene to another, or when the user moves to a new imaging position. This motion can similarly cause the target scene to change, resulting in possible contributions to the filtered image from different scenes, and causing the filtered image to be noisy and inaccurate relative to the camera's current target scene.
[0164] As described elsewhere herein, filter parameters (e.g., the number of frames from buffer 600 to be averaged, the parameters from equations 3-5) are adjusted. , , etc.) can affect the effect of motion in the target scene by reducing the contribution from frames from earlier times. Figure 6 , averaging frames 60-120 at 60 Hz will only average images going back one second, rather than averaging, for example, frames 1-120, which would average images going back two seconds. Thus, when filtering over a newer portion of the buffer, image contributions from previous target scenes will affect the filtered image for a shorter period of time.
[0165] Similarly, with respect to the filtering described with respect to Equation 3-5, the time constant of approximately 1.67 seconds ( , ) will result in a filtered image with approximately 5% or more image contribution within the approximately previous 5 seconds. In contrast, a time constant of approximately 0.17 seconds ( , ) will result in the filtered image having approximately 5% or more image contribution within approximately the previous 0.5 seconds. Therefore, reducing (or similarly, increase or reduce ) reduces the contribution of images from images that are further back in time.
[0166] In addition to gas absorption and attenuation of infrared radiation, gases present in the target scene also emit infrared radiation, which can be detected via infrared imaging equipment. Figure 5A and Figure 5C , the beam 574c received at X having an amplitude of A / 2 will typically be due to both the attenuation of the infrared radiation (of amplitude A) emitted from the source 572 by the gas cloud 570a and the infrared radiation of the gas cloud 570a itself.
[0167] However, if a gas cloud (e.g., 570a) absorbs and emits infrared radiation equally at a given wavelength, problems may arise because the effects of the gas's radiation absorption and emission will cancel each other out and will be invisible to an infrared imaging camera. Figure 5A , if the gas attenuates the radiation from source 572 by half (e.g., from amplitude A to amplitude A / 2), but also emits infrared radiation at amplitude A / 2, then the total infrared radiation received at X in region 582 will be A / 2 (from scene 572) + A / 2 (emitted from the gas) = A, and thus the gas will have no effect on the imaged scene. In other words, the gas will provide insufficient contrast from the background to observe the gas in the scene, even using various processing techniques such as image subtraction to emphasize the position and / or motion of the gas. It will be appreciated that the relative amounts of emission and attenuation relative to amplitude A of source 572 are arbitrary and are used for ease of interpretation. Often, the amount of attenuation and / or emission of infrared radiation due to the presence of the gas will be very small compared to the amplitude of the infrared radiation emitted from the background (e.g., source 572), making it generally difficult to image the gas using standard imaging techniques, for example, viewing the infrared image data without performing a background subtraction process such as the background subtraction process described elsewhere herein.
[0168] In some cases, the amount of contrast caused by a gas in an infrared image, or whether a gas will be observable in an infrared image, depends on three main factors. The type of gas affects the absorption / emission lines within the imaging device band. The amount of gas - which depends on both the concentration of the gas within the gas plume and the size (path length) of the gas plume through which the received infrared radiation travels - generally represents the number of gas molecules that the light experiences before reaching the camera. In some examples, this can be quantified as a concentration path length (e.g., in units of ppm-meters). Finally, the difference between the temperature of the gas and the apparent temperature of the scene background may affect the ability to see the gas. The apparent background temperature can be, for example, a background temperature calculated based on the received infrared radiation (in some cases, the apparent temperature is calculated based on the received radiation and the expected emissivity of the object, and may not be exactly equal to the actual temperature due to variations in the background emissivity). Mathematically, in some cases, the visual contrast in an infrared image due to a gas in a target scene is a function of these characteristics:
[0169] Contrast =
[0170] The amount of contrast in an image that qualifies as making an object in the image "visible" can be quantified, for example, as a signal-to-noise ratio, where the level of signal (in some cases, such as in optical gas images, the signal due to the gas) must be significantly large when compared to the noise present in the image. In other words, in order to reasonably observe the effect of the gas on the optical gas image data, the apparent temperature difference between subtracted pixels in the optical gas image must be sufficiently large relative to the noise equivalent temperature difference (NETD) in the optical gas image.
[0171] When viewed in the context of optical gas image data as described elsewhere herein and in U.S. Provisional Application No. 62 / 507,203, filed May 16, 2017, which is hereby incorporated by reference in its entirety, where a difference is calculated between a foreground image and a background image to emphasize the motion of gas within the scene, this subtraction removes much of the stationary or unchanging signal from the overall scene because the effect of the gas on the overall image data is relatively small. Thus, in some such examples, the remaining data in the optical gas image (after the subtraction) typically includes differences in the scene due to the moving gas and the remaining noise. If the remaining gas signal is large enough compared to the remaining noise, the gas will be "visible". In some cases, a signal-to-noise ratio of 1.0 is sufficient to observe data representing gas in the optical gas image in view of the noise present in the optical gas image, although in some cases, the user may observe the effect of the gas at a signal-to-noise ratio of less than 1.
[0172] In general, the amount of contrast provided by a gas increases with the amount of gas and with the difference between the temperature of the gas and the apparent background temperature. Thus, in such examples, as the amount of gas increases, the contrast caused by the gas increases. Similarly, in such examples, as the difference between the temperature of the gas and the apparent background temperature increases, the contrast caused by the gas increases. Thus, in such examples, given a particular type of gas, the amount of gas and the temperature difference must be sufficiently high in order to meet a minimum contrast threshold desired to ensure visibility of the gas. Further, in some examples, if there is a minimum amount of gas that must be sufficiently visible during gas imaging (e.g., a gas threshold level above which concentrations may become dangerous), the difference between the gas temperature and the apparent background temperature must be sufficient to ensure that the minimum amount of gas results in an observable contrast level.
[0173] Various standards exist in the practice of gas imaging that require specific types of gases to be visible at specific concentrations or amounts. For example, the OOOOa (Quad-OA) standard requires that optical gas imaging be able to "see" a 50 / 50 mixture of methane and propane at 10,000 parts per million (ppm) from The standard provides a gas (methane and propane) and a certain amount of gas (10,000 parts per million (ppm) from diameter orifice leaking at a flow rate of 60 g / hr). According to the above relationship, given these criteria, in order for the contrast caused by the gas to reach a level where the gas is visible to it, the difference between the gas temperature and the apparent background temperature must be significantly large.
[0174] In some embodiments, a thermal imaging camera performing an optical gas imaging process, such as described herein and in U.S. Provisional Application No. 62 / 507,203, filed May 16, 2017 (hereby incorporated by reference in its entirety), continuously acquires new images (e.g., Figure 7 Step 706 in ) is used to create new filtered foreground and background images in combination with previous foreground and background images for comparison to create a new optical gas image. In some examples, each new image acquired via the thermal imaging camera can be radiometrically calibrated to provide an apparent temperature value for each of a plurality of pixels in the image. Thus, by acquiring a new image for performing the optical gas imaging process, the thermal imaging camera also acquires information about the apparent scene temperature. This information can be temporarily saved or saved in a memory for long-term storage for further analysis, such as described below.
[0175] As described above, the difference between the gas temperature and the apparent background temperature observed by the thermal imaging camera can indicate whether a given amount and a given type of gas can be effectively imaged using a thermal imaging camera. In some embodiments, the thermal imaging camera can be configured to receive a gas temperature input representing the temperature of the gas located in the target scene. In various examples, the gas temperature input can be received in a variety of ways. For example, in some embodiments, the thermal imaging camera can include an air temperature measurement tool or otherwise communicate with an air temperature measurement tool, for example, as described in U.S. Patent Application No. 14 / 855,884 filed on September 16, 2015 (hereby incorporated by reference in its entirety). In some such examples, when the gas in the environment is likely to quickly balance to the approximate air temperature, so that the gas temperature and the air temperature are approximately equal, the measured air temperature can be used as the gas temperature input. Additionally or alternatively, the thermal imaging camera can be used to capture thermal image data representing a reservoir containing gas, which will be sought in the gas imaging program, where the infrared image data of the radiation measurement of the tank can be used as the gas temperature input. Additionally or alternatively, the gas temperature input value can be manually entered by the user.
[0176] The thermal imaging camera can be configured to compare, for example, via a processor, a temperature value associated with each of a plurality of pixels in the radiometric infrared image data with a gas temperature input value to determine, for each such pixel, a difference between the gas temperature and the apparent temperature of the IR image data. As described above, for a given gas type and amount, whether the gas can be observed (with sufficient contrast) via the infrared imaging camera depends on the temperature difference. Thus, the camera can be configured to analyze each pixel and determine whether the difference between the gas temperature at that pixel and the apparent background temperature is large enough so that the pixel will show a predetermined minimum amount of contrast for the identified gas amount and type. In some embodiments, the thermal imaging camera can be configured to modify the display of pixels that lack a sufficient difference between the gas temperature and the apparent background temperature to achieve a minimum contrast in the infrared image data for a given type of gas and a minimum amount of gas to be detected.
[0177] The thermal imaging camera can determine whether the difference between the gas temperature and the apparent background temperature is large enough to achieve a desired contrast value, which can be performed in a variety of ways. In some embodiments, the camera can be programmed with a formula that, for a given type of gas, relates to a quantitative measure of the minimum amount of gas to be observed, a quantitative measure of the minimum amount of contrast desired in the image, and the temperature difference. Additionally or alternatively, the thermal imaging camera can include one or more lookup tables in memory that can be used to identify, for a given type of gas and a minimum amount of gas to be observed, the required difference between the gas temperature and the apparent background temperature to achieve the minimum amount of contrast for observing the gas.
[0178] Fig.11 An exemplary lookup table for determining the required difference between the gas temperature and the apparent background temperature in order to achieve a particular minimum contrast ratio for a given gas type and gas amount is shown. Fig.11 In an exemplary lookup table of , N different gas types and M different gas amounts are included. The intersection of the gas type table (e.g., gas type n) and the gas amount (e.g., gas amount m) provides the required minimum temperature difference value (e.g., ) in order to achieve sufficient contrast to observe a given gas type at a given gas quantity.
[0179] In some embodiments, for example, during factory calibration of a thermal imaging camera, a value such as Fig.11 In some such examples, a technician may observe various combinations of gas type, gas amount, and the difference between the gas temperature and the apparent background temperature to determine the temperature difference ( ) at which a given gas type and gas amount provide sufficient contrast in the optical gas image. In various embodiments, a user may subjectively identify sufficient contrast, where the user observes the point at which a given gas in a given amount becomes sufficiently prominent in the image. In other examples, a statistical analysis may be performed on the image data to determine the point at which the contrast due to the gas in the optical gas image is statistically sufficient. In some embodiments, different lookup tables may be used for different amounts of contrast and / or different methods for establishing "enough" contrast to enable easy observation of the gas. In some embodiments, the thermal imaging camera may provide the end user with the option of performing a self-calibration, where the user generates a number such as Fig.11 In cameras that include multiple lookup tables associated with different levels and / or methods for determining sufficient contrast to observe a gas, a user may be provided with the option of selecting a table for use. For example, in some examples, a table such as Fig.11 Different tables such as the one shown in .
[0180] Once the thermal imaging camera determines, for example, via a processor, which pixels include and do not include an apparent background temperature that is sufficiently different from the gas temperature, and therefore which pixels will and will not include sufficient contrast caused by the gas in the scene. The processor can be configured to, when generating optical gas image data and / or displaying image data including the optical gas image data, display pixels that do not include sufficient temperature difference compared to pixels that include sufficient temperature difference in a visually distinguishable manner. That is, given the difference between the gas temperature and the apparent background temperature, those pixels where the selected amount and type of gas will provide sufficient contrast appear different from those pixels that will not provide sufficient contrast. This displayed information can be presented to the user in substantially real time, such as via live video. In this way, the user can quickly observe where in the scene the expected type and amount of gas will even likely be viewed (i.e., provide sufficient contrast) and where the gas (e.g., at the minimum expected amount) will not likely be viewed (i.e., will not provide sufficient contrast).
[0181] Fig.12 is a process flow diagram illustrating an exemplary process for determining whether a pixel can be reliably used to detect a given gas type and amount, and for displaying such a determination. Fig.12 The process includes receiving a selected gas type and gas amount (1200). In some examples, the thermal imaging camera may be pre-programmed to search for a minimum amount of a predetermined type of gas. In other examples, the camera may be programmed with a list of gas types (e.g., a single gas, a mixture of gases, etc.) and / or minimum amounts of gas to be viewed via gas imaging, from which a user may select a desired gas type and / or amount.
[0182] In various examples, the "amount" of gas may be identified in a variety of different ways. For example, in some examples, the amount may correspond to a concentration path length of the gas. In other examples, the amount may include a combination of specific parameters, such as concentration, flow rate, and / or orifice leak size, such as may be defined in a specific gas observation standard (e.g., OOOOa). In some such examples, a single value for the "amount" of gas need not be calculated, but may be a combination of values. Such parameters may be pre-programmed into a camera (e.g., a camera programmed to meet the OOOOa standard) or may be input by a user (e.g., such as defined by the OOOOa standard, by selecting parameters individually or by selecting a predefined set of parameters).
[0183] Additionally or alternatively, other factors may contribute to whether gas will be visible in the scene, such as wind speed, distance to the suspected leak source, etc. In some examples, the thermal imaging camera may include or otherwise communicate with one or more tools to measure one or more such parameters, such as an anemometer, a rangefinder, etc. Additionally or alternatively, some such parameters may be manually input by a user. Such data may affect the probability of a gas being visible in a given particular temperature difference ( ), or similarly, affects the amount of temperature difference necessary to view a given amount of gas. Thus, in some embodiments, such parameters can be used to determine the temperature difference necessary to observe a given amount / type of gas.
[0184] As described, several parameters may be used to determine, for example, the amount of temperature difference necessary to observe a given type of gas in a given amount. In some such embodiments, one or more such parameters (e.g., wind speed, distance, etc.) may be selectively incorporated into the analysis by user selection. For example, a user may choose to incorporate a wind speed measurement into the determination of the minimum temperature difference necessary to observe a given type of gas in a given amount, or may choose to ignore such data. In various examples, the determination of the minimum temperature difference necessary to observe a given type of gas in a given amount may be performed using a formula or multi-dimensional lookup table including multiple variables to accommodate additional parameters. For example, in some examples, each of the multiple lookup tables, such as Fig.11 The lookup table shown in FIG. 1 may correspond to a given wind speed and / or distance to a target. value.
[0185] The method further includes determining a minimum temperature difference necessary to exceed a contrast threshold during gas imaging (e.g., a minimum temperature difference between the gas temperature and the apparent background temperature) (1202). In some examples, the contrast threshold may be a received contrast threshold selection (1201). In other examples, the contrast threshold may be pre-set within the thermal imaging camera, e.g., based on factory calibration or prior user calibration. For example, a lookup table (e.g., such as Fig.11 ), using a formula, etc. to determine the minimum temperature difference that exceeds the contrast threshold. In an exemplary embodiment, the lookup table used to determine the minimum temperature difference (1202) corresponds to the selected gas type and / or gas amount.
[0186] The method further includes the steps of determining a gas temperature (1204) and acquiring radiometrically calibrated infrared image data of the scene (1206). As described elsewhere herein, in various embodiments, determining the gas temperature may include measuring the gas temperature, for example, using an air temperature measurement tool, or manually receiving a user input of a gas temperature value. The radiometrically calibrated infrared image data may be captured using a thermal imaging camera.
[0187] The process includes selecting a pixel from the acquired infrared image data (1208), and determining a difference between the determined gas temperature and an apparent temperature of the selected pixel (1210). The method further includes determining a temperature difference ( ) is above a determined minimum temperature difference (1212). If so, the pixel can reliably display the selected gas type in an amount equal to or greater than the selected amount (1214), and the pixel is displayed normally according to the display settings of the optical gas imaging process. However, if the temperature difference is below the determined minimum value, the pixel cannot reliably display the selected gas present in the image in the selected amount (1218), and the pixel is presented in a distinguishable manner in the optical gas image view (1220). As shown, the process can be repeated for multiple pixels in order to identify which of the multiple pixels can be suitable for performing reliable imaging of the selected gas type in the selected amount. It will be appreciated that although in Fig.12 is shown as a method for analyzing multiple pixels in succession (e.g., determining The value is above the minimum value for a given pixel, then a new pixel is selected and the analysis is repeated), but in various examples, such analysis can be performed in parallel for multiple pixels. For example, in some examples, the analysis can be performed simultaneously or substantially simultaneously for one or more pixels. Fig.12 In some such examples, each pixel to be analyzed can be analyzed simultaneously or substantially simultaneously. The process can be temporarily repeated to provide real-time or substantially real-time pixel analysis.
[0188] During the exemplary use case, reference Fig.12 , the user wishes to observe methane (gas type) in an amount equal to or greater than 10,000 ppm-meters (gas amount expressed as concentration path length), and such parameters are input into a thermal imaging camera that receives the parameters at step 1200. The camera 1202 determines, for example, via a lookup table, a minimum temperature difference between the gas and the scene in order to achieve sufficient contrast to reliably view methane at 10,000 ppm-meters. The thermal imaging camera may determine the gas temperature information from an air temperature measurement tool that communicates (wired or wirelessly) with the camera, and captures radiometrically calibrated infrared image data of the scene.
[0189] For each of the plurality of pixels, the camera compares a temperature associated with the image data at the pixel to the gas temperature and compares the temperature difference to the determined minimum temperature difference. If, for a given pixel, the difference between the gas temperature and the apparent temperature in the image data is above a minimum value, then the presence of methane gas at 10,000 ppm-m (or greater) at the pixel will provide visible contrast in the optical gas image. On the other hand, if the difference between the gas temperature and the apparent temperature in the image data at the given pixel is below the minimum value, then the presence of methane gas at 10,000 ppm-m (or greater) at the pixel will not provide visible contrast in the optical gas image.
[0190] In the displayed image, those pixels where the selected gas in the selected amount may be visible (e.g., due to sufficient contrast) will be displayed in a manner distinguishable from those pixels where the selected gas in the selected amount will not be visible (e.g., due to insufficient contrast). The displayed image showing those pixels with sufficient temperature difference to observe the selected gas / amount as distinct from those pixels without sufficient temperature difference to observe the selected gas / amount may include optical gas image data (e.g., Fig. 9 900) and / or display images (e.g., Fig. 9 910 in the above table).
[0191] In an exemplary embodiment, the normal presentation is determined to include pixels that are sufficient in temperature difference to achieve sufficient contrast to observe the selected gas / amount according to a prescribed display scheme (e.g., utilizing a particular palette, a particular mixing ratio between different data streams, etc.) In some such examples, pixels that are not expected to show sufficient contrast to observe the selected gas / amount may be replaced by or mixed with a predetermined indicator color to clearly convey to the user that such pixels do not include background scenes sufficient to produce sufficient contrast to enable observation of the selected gas / amount.
[0192] In various examples, such a predetermined indicator color may be manually selected by a user, or may be automatically programmed into the camera. In some examples, the indicator color is automatically selected so that the indicator color contrasts clearly with the paletted scheme otherwise used in the image. For example, when performing a gas imaging procedure utilizing a grayscale palette, pixels where the selected gas / amount would not produce sufficient contrast may be replaced with or blended with a non-gray color, such as red, to clearly indicate the presence of such pixels and that the selected gas in the selected amount cannot be reliably viewed at such pixels.
[0193] In some examples, multiple indicator colors may be used. For example, in some embodiments, a scene analysis mode may be initiated in which pixels that lack sufficient temperature difference to reliably display the selected gas in the selected amount may include a first indicator color, and pixels that have sufficient temperature difference to reliably display the selected gas in the selected amount may include a second indicator color. Thus, a user may be able to view a scene and easily distinguish between portions of the scene where the selected gas in the selected amount can and cannot be reliably viewed.
[0194] Additionally or alternatively, in some embodiments, any number of indicator colors may correspond to an equal number of temperature difference values to which the difference between the gas temperature and the apparent pixel temperature may be compared. This may be used to establish a range of possibilities for the ability to view a selected gas in a selected amount in a particular scene.
[0195] Reference Fig. 9 , while the gas imaging process is being performed, a user may view a real-time live image on a display to inspect for gases in a target scene. In various embodiments, a user may select to view a blend of the optical gas image data 900, the infrared image data 902, and the visible light image data 904 together on a display. In some examples, an indicator color may be blended with or otherwise replace pixels in the optical gas image data 900 prior to any combination with other image streams to produce the display image 910. In some such examples, the indicator color may be selected (manually or automatically) to contrast with both the optical gas image palette and the infrared image palette scheme. In other examples, the indicator color may be blended with or otherwise replace such pixels in the display image 910 after processing / blending 908 of the optical gas image data 900, the infrared image data 902, and the visible light image data 904.
[0196] In some examples, during the gas imaging process, a user may elect to view exclusively on the display the optical gas image data 900. In such examples, the indicator color is combined with or used to replace pixels in the optical gas image data 900 for display convenience.
[0197] In some embodiments, given a fixed contrast threshold and gas temperature and a given gas type and gas amount, for a given pixel, the only contributing factor to whether the difference between the gas temperature and the apparent scene temperature satisfies the minimum temperature difference is the apparent temperature of the background. That is, in some examples, whether the selected gas type and amount produces enough contrast to be observed (e.g., Fig.121212 in ) depends only on the apparent temperature at a given pixel. Thus, adjusting the positioning of the camera to change the background scene will change which pixels have an apparent temperature that will produce sufficient contrast given the selected gas type and amount. Thus, during use according to some embodiments, a user may notice that a large number of pixels on the display include an indicator color, indicating that such pixels will not provide sufficient contrast to show the selected gas in the selected amount, regardless of whether the gas is present. Accordingly, the user may choose to reposition the camera so as to change the background to increase the number and / or location of pixels that will provide sufficient contrast to show the selected gas in the selected concentration. In doing so, the user may be provided with substantially real-time updates that show not only the presence of the gas in the scene, but also portions of the scene where the selected gas may not be visible at a certain amount due to insufficient background temperature contrast.
[0198] Fig.13 is a schematic illustration of a process for generating an optical gas image in real time that includes information about whether a given gas type and amount of gas is observable at different locations within the optical gas image. Figure 8 Figure 2.2 and reference Figure 8 The process described, Fig.13 The process of generating (e.g., via subtraction) an optical gas image 1340 using a filtered foreground image and a filtered background image. A new image 1304 is captured and combined with a previous / existing filtered background image 1302 to create a new filtered background image 1330. The new image 1304 is similarly captured and combined with a previous / existing filtered foreground image 1300 to create a new filtered foreground image 1320. The new filtered foreground 1320 and background 1330 images may be used to generate the optical gas image 1340. In some embodiments, when a new image 1304 is captured, the new foreground 1320 and background 1330 images become the previous foreground 1300 and background 1302 images, respectively, during subsequent iterations of the process. Details of how the new image 1304 is combined with the previous / existing foreground 1300 and background 1302 images to arrive at new foreground 1320 and background 1330 images, and how the optical gas image 1340 is created from the new foreground 1320 and background 1330 images, are described elsewhere herein (e.g., with reference to Figure 8 ) and will not be repeated here. Instead, for convenience, Fig.13 A high level overview of this process is provided in box 1335 of .
[0199] In some examples, the new image 1304 can be processed as described above, in addition to being used in an optical gas imaging process (generally shown in block 1335), to determine where specific types and amounts of gas can be observed in the image data. Fig.13 In the illustrated example, the apparent pixel temperatures of various pixels in new infrared image 1304 are compared to gas temperature values 1310 to establish a difference between gas temperature 1310 and the apparent background scene temperature of new image 1304 from each of the plurality of pixels, which is generally shown as 1312. In some embodiments, the value of gas temperature 1310 comprises a single value, such as measured via an air temperature sensor, manually input, etc., while the apparent pixel temperatures from new image 1304 comprise a two-dimensional array of temperature values within new image 1304. In such an example, The temperature difference values at 1312 will also be a two-dimensional array of values representing the difference between the gas temperature 1310 and each apparent pixel temperature from the new image 1304 .
[0200] Each value of 1312 can be The minimum value 1350 is compared. The minimum value 1350 may depend on the specific gas type 1352 and gas amount 1354, as described elsewhere herein, to determine is above the minimum value (1360). In the example shown, if the value of a given pixel is The value 1312 is The minimum value is above 1350, then when the observation When the minimum value 1350 is associated with the gas type 1352 and the amount 1354, the pixel will include sufficient contrast. However, if for a given pixel, Value 1312 is not present If the corresponding pixel in the optical gas image 1340 is above the minimum value 1350, the corresponding pixel in the optical gas image 1340 may be visually distinguished from the corresponding pixel having the value above the minimum value 1350, for example, by including (eg, via blending or overlaying) an indicator color as described elsewhere herein. Pixels of value 1312 are distinguishable. This process may be performed for each of a plurality of pixels (serial or parallel processing of two or more pixels) and repeated for each of a plurality of pixels to provide a real-time or substantially real-time optical gas image 1340.
[0201] Fig.13The process shown in 1304 may be repeated, for example, at the frame rate of the thermal imaging camera, each time a new image 1304 is acquired. In some such examples, the process is repeated at a sufficient frame rate to generate a real-time or near real-time display of optical gas image data 1340, including indications (e.g., via indicator colors) of where locations in the image data may not adequately display the selected gas and amount.
[0202] As described elsewhere herein, a user of a thermal imaging camera viewing an optical gas image (or a displayed image including optical gas image data) may observe pixels that are identified as lacking sufficient temperature difference to show sufficient contrast for a selected gas type and amount, and may choose to adjust the position of the camera so as to update the background scene in an effort to reduce the number of such insufficient pixels. Additionally or alternatively, in some embodiments, the thermal imaging camera, while generating an optical gas image or a displayed image including optical gas image data in real time or near real time, may analyze the image to determine information related to the number and / or position of pixels that are considered to have insufficient temperature difference to view the selected gas type and amount. In some such examples, the thermal imaging camera may be configured to prompt the user to adjust the position of the camera so as to improve the ability of the thermal imaging camera to image the selected gas in the selected amount.
[0203] For example, in an exemplary embodiment, the thermal imaging camera may be configured to track the number of pixels having a difference between the gas temperature and the apparent background scene temperature below a determined minimum temperature difference for a selected type and amount of gas. If the number of pixels having a temperature difference below the minimum is greater than a predetermined threshold (e.g., above a predetermined percentage of analyzed pixels, above a predetermined total number of pixels, etc.), the camera may output an alert to the user (e.g., an audio alert, a visual alert, a vibration alert, etc.), suggesting that the user reposition the camera to include a different background scene and potentially increase the number of pixels having a temperature difference above the threshold.
[0204] Additionally or alternatively, in some examples, the camera may determine the location of pixels that lack sufficient temperature difference to likely observe the selected gas in the selected amount, and if the pixel is located at the identified location, suggest that the user reposition the camera. For example, in some embodiments, if the center of the image data (e.g., a circular, rectangular, or other shaped region of pixels approximately located at the center of the image data) includes a sufficiently large number of pixels having a temperature difference below a minimum value, the camera may suggest that the user reposition the camera in an effort to improve the likelihood of observing the selected gas in the selected amount at the center of the image.
[0205] It will be appreciated that while often described in terms of determining which pixels include a sufficient difference between the gas temperature and the apparent background temperature to perform gas imaging, in some embodiments such analysis may be performed in multiple regions that are not necessarily single-pixel regions. For example, in some embodiments, a region including multiple pixels may be assigned an apparent temperature (e.g., the minimum temperature, maximum temperature, or average temperature of the pixels in the region), which can be compared to the gas temperature. Similar analysis as described above may be applied to the region as a whole, rather than to each pixel individually, for example, to reduce the number of times analysis is performed on a given image and save processing time and requirements. In general, regional analysis may be performed on multiple regions, each region including one or more pixels, where such regions need not be of the same size.
[0206] In some embodiments, the thermal imaging camera can be configured to detect the motion of the camera. For example, the thermal imaging camera may include one or more accelerometers or other motion sensors (e.g., MEMs, gyroscopes, etc.) configured to sense the motion of the camera. Such sensors can provide data to the processor, which can use the data to determine that the camera has moved or is moving. Additionally or alternatively, the camera can be configured to analyze the captured frames to determine inter-scene motion, such as using image registration processing to determine the amount by which the camera has moved from one frame to another. In some embodiments, the thermal imaging camera can use the detected motion data to determine whether the camera has moved a sufficient amount to affect the efficacy of the current filtering parameters to generate a high-quality optical gas image without clutter or artifacts from previous target scenes.
[0207] For example, in some examples, an optical gas imaging process (e.g., Figure 8 As shown in and referenced Figure 8 The optical gas image is a highly sparse image of a gas, e.g., a gas of interest, which is a very complex image processing technique. The optical gas image is a highly sparse image of a gas, e.g., a gas of interest, which is a very complex image processing technique. The optical gas image is a very ...
[0208] Fig.14is a process flow diagram illustrating a process of adapting to camera motion during an optical gas imaging process. The method includes determining a current operating mode of the camera (1400) - such as, for example, a tripod mode or a handheld mode, and setting filtering parameters for generating filtered background and foreground images (1402). As described elsewhere herein, such filtering parameters may be predefined parameters based on the current operating state of the thermal imaging camera.
[0209] The method includes the steps of acquiring an image and generating optical gas imaging data (1404). This may include, for example, using Figure 7-9 Or one or more of Formulas 1-5 to perform any of the processes described herein. The thermal imaging camera may continue to acquire images, for example, at the image acquisition frame rate of the thermal imaging camera (e.g., Figure 8 804 in FIG. 8A ) and generates optical gas image data (eg, optical gas image 840 ).
[0210] While performing the optical gas imaging process, the camera may analyze the camera's motion data (1406). The motion data may be provided by any of a variety of sources, such as one or more hardware components (e.g., accelerometers, etc.), image analysis (e.g., registration processing), etc. The camera may determine whether excessive motion is present (1408). In some embodiments, the camera compares the amount of motion (e.g., amount of rotation, amount of linear motion within image data in a continuous scene based on registration analysis, etc.) to a first threshold. If no excessive motion of the camera is detected, the camera continues to acquire images and generate optical gas imaging data (1404) in accordance with typical operation.
[0211] However, if excessive motion is detected, the camera may temporarily adjust or disable the filtering parameters used in the optical gas imaging process (1410). For example, if a first-order IIR filtering process is performed according to Equation 3-5, the camera may reduce the filter parameters used in the optical gas imaging process when excessive motion is sensed in step 1408. Values (especially ) to reduce or eliminate the contribution to the filtered image of frames acquired before excessive motion was detected. Doing so can help eliminate clutter or artifacts in the image that could confuse or annoy the user.
[0212] In some examples, temporarily reducing the filter parameters includes reducing the background and / or foreground filter parameters In some such examples, the predetermined value is zero, such that the optical gas image includes only the most recently acquired image and does not include historical data before the camera motion occurs.
[0213] In some examples, such a reduction in the filter parameters occurs within a predetermined time period, such as within one second, half a second, etc. In some such embodiments, after expiration of such time period, the filter parameters are reset according to a normal operating mode (1412) such as established in step 1400, and optical gas imaging continues at step 1404.
[0214] In other examples, after adjusting the filter parameters (1410), the camera may continue to analyze the motion data (1406) as represented by the dashed line between 1410 and 1406, and determine whether excessive motion is still present (1408). If so, the camera maintains the reduced filter parameters and continues to analyze motion until the detected motion (e.g., between consecutive frames) decreases below a second threshold. In some such examples, the second threshold may be equal to the first threshold, or may be different from the first threshold. If excessive motion is no longer detected at 1408, the filter parameters are reset (1412) according to the operating mode before optical gas imaging resumes.
[0215] In some examples, scene changes that contribute to clutter or confusion in a filtered image (e.g., a filtered background image) are due to changes other than camera motion. Thermal changes in the target scene effectively change the image data captured across multiple frames, which may result in similar errors introduced by camera motion as described elsewhere herein. For example, if a person unexpectedly walks through the target scene, residual thermal artifacts from the person may remain in the filtered image even after the person leaves the target scene. In an exemplary embodiment, if a person moves into the target scene, thermal image data representing the person will typically be built in the filtered background image over the course of several time constants. However, since the foreground time constant is typically shorter than the background time constant, the thermal image data representing the person will be built faster in the filtered foreground image than in the background image. Therefore, when the filtered background and foreground images are compared to generate optical gas image data, the difference between the thermal signature of the person in the background and foreground images will cause the moving person to appear in the optical gas image.
[0216] The same principles will apply to any substantial thermal changes in the target scene. Similar to the motion of the camera, changes in the thermal characteristics of the target scene will tend to cause image clutter due to residual artifacts of the previous scene before the thermal data changed. As with motion described elsewhere in this article, such residual artifacts will generally persist for several time constants before eventually decaying from the filtered image data.
[0217] Artifacts in the filtered image due to thermal changes in the target scene can be addressed in a manner similar to how artifacts due to scene motion (eg, camera motion / shake) are addressed. Fig.15is a process flow diagram illustrating a process of adapting to thermal changes during an optical gas imaging process. Fig.15 The method is similar to Fig.14 The method is similar to the method shown in . The method similarly includes determining the current operating mode of the camera (1500) and setting filtering parameters for generating filtered background and foreground images (1502). The method includes the steps of acquiring an image and generating optical gas imaging data (1504).
[0218] according to Fig.15 In a method of performing an optical gas imaging process, a camera may analyze thermal data of a target scene imaged by the camera (1506). Thermal changes may be caused by any of a variety of sources, such as an object entering or leaving the scene, or an event occurring in the scene that causes a significant thermal change. The camera may determine whether there is an excessive thermal change (1508), for example, by comparing the detected change to a threshold. The threshold may include, for example, an absolute temperature change exceeding a threshold or a rate of temperature change exceeding a threshold. In an exemplary embodiment, the camera compares the rate of change of temperature in the target scene (e.g., a frame-to-frame change) to a first threshold. If no excessive thermal change is detected, the camera continues to acquire images and generate optical gas imaging data (1504) in accordance with typical operations.
[0219] However, if excessive thermal changes are detected, the camera may temporarily adjust or disable the filtering parameters used in the optical gas imaging process (1510). For example, if a first-order IIR filtering process is performed according to Equation 3-5, the camera may reduce the value of the filter parameter when excessive thermal changes are sensed in step 1508. Values (especially ) to reduce or eliminate the contributing frames to the filtered image acquired before excessive thermal changes were detected. Doing so can help eliminate clutter or artifacts in the image that could confuse or annoy the user.
[0220] As described elsewhere herein, in some examples, filter parameters (e.g., , etc.) can vary within an image during an exemplary filtering process. For example, in a first-order IIR filtering process, some pixels or groups of pixels may be updated with different time constants than other pixels or groups of pixels. Fig.14 and Fig.15 , certain changes in the detected image data can be localized to certain regions within the image. For example, Fig.15In some environments, excessive thermal changes (1508) may occur due to the presence of localized hot spots in an image (e.g., a person entering a portion of a scene) without affecting other portions of the scene. In some examples, pixels or areas affected by the thermal changes (e.g., pixels including a person entering the scene) may be identified and distinguished from pixels or areas not affected by the changes. In some such examples, temporarily adjusting or disabling filtering parameters (1510) may be performed only for pixels or areas in which excessive thermal changes (1508) were detected. In an exemplary embodiment, such thermal changes may be detected by analyzing continuous or nearly continuous unfiltered (e.g., new) infrared images. Comparison of such images may be used to determine the presence and location of excessive temperature changes that may have a negative impact on optical gas imaging.
[0221] Similarly, regarding Fig.14 As described elsewhere herein, certain video compression standards (e.g., MPEG) may be analyzed to detect motion within a scene (e.g., via motion vector analysis). In some embodiments, such video analysis may be used to detect motion of an entire scene (e.g., due to camera motion). However, in other examples, such analysis may be used to determine portions of an image that experience scene-to-scene motion (e.g., portions affected by movement within a scene). Similarly, in some such examples, filtering parameters (1408) associated with a single region or pixel that experiences excessive motion may be temporarily adjusted or disabled (1410), while filtering parameters for other regions (e.g., that do not experience excessive motion) may remain unaffected. In some embodiments, image processing to determine excessive motion may be performed for infrared image data. Additionally or alternatively, such image processing may be performed for corresponding visible light image data. In some examples, visible light image data provides a clearer image, in which such motion analysis may be performed more easily than in infrared image data.
[0222] In still further embodiments, the amount of filter parameters adjusted due to a detected scene change (e.g., in-scene motion or an isolated temperature change) can depend on the amount of scene change detected as such. For example, in some embodiments, the amount (1508) of filter parameters for regions or pixels experiencing excessive thermal change is adjusted by an amount that depends on the amount of thermal change detected.
[0223] Fig.14 and Fig.15The process of minimizing optical gas imagery is generally effective in minimizing artifacts in optical gas images due to large amounts of camera motion or temperature changes in the scene, such as when a user moves from one scene to another or when temporary thermal anomalies appear in the scene. However, other issues may also have a negative impact on the optical gas imaging process. In some cases, the camera may be subject to small amounts of motion at all times, such as hand shake by a camera operator. In some examples, such motion may be small enough in magnitude to not constitute an artifact in the optical gas imagery. Fig.14 in step 1408, and thus will not result in Fig.14 In other examples, if hand shake does constitute "excessive motion" in step 1408, but is occurring consistently, then the filter parameters may be adjusted or disabled too frequently to perform any appropriate gas imaging process. Additionally, as described elsewhere herein, operating the camera in handheld mode can be used to minimize the effects of hand motion, but is often accompanied by shorter averaging times and therefore lower signal-to-noise ratios, thereby reducing optical gas imaging sensitivity.
[0224] In some examples, small amounts of motion can be compensated for by using image registration and / or stabilization techniques, which can be performed using hardware and / or software solutions. For example, a gyro-stabilized gimbal platform can be used to physically compensate for the frame-to-frame displacement of the camera itself in near real time. In some examples, camera displacement can be determined using hardware components such as accelerometers and / or gyro sensors.
[0225] Digital correction can utilize methods that search for frame-to-frame displacement vectors that represent displacements between the current frame and the previous (e.g., reference) frame. Some such processes iteratively search for the displacement vector that provides the strongest correlation between the current frame and the previous frame. Inputs from hardware motion sensors (e.g., accelerometers, gyroscope sensors, etc.) can be used as input "seeds" to assist image stabilization algorithms. However, various such methods employed in thermal imaging cameras are computationally intensive and costly.
[0226] Furthermore, when such stabilization algorithms are applied to background subtraction infrared optical gas imaging processes (such as one or more of the processes described herein), various challenges exist. Uncooled thermal imaging cameras often experience fixed pattern noise ("FPN") associated with uncooled IR sensors, which may be due to several factors, such as pixel-to-pixel variations in gain and offset parameters, 1 / f pixel noise, internal infrared radiation within the camera, etc. Various techniques are known for correcting FPN, such as, for example, the non-uniformity correction ("NUC") process described in U.S. Application No. 13 / 011,846 filed on January 21, 2011 (which was issued as U.S. Patent No. 8,760,509 on June 24, 2014, which is hereby incorporated by reference in its entirety). Some techniques include presenting a substantially uniform thermal scene (e.g., blinds, sky, etc.) to the infrared sensor of the thermal imaging camera and establishing a NUC subtraction value for each pixel in order to remove the FPN at that pixel.
[0227] However, FPN can create unique problems when performing optical gas imaging processes with image stabilization techniques, such as Fig.16A and Fig. 16B described. Fig.16A and Fig. 16B is a schematic illustration of the simulated camera motion during the optical gas imaging process. Fig.16A Exemplary thermal imaging data at 16 pixels of a thermal imaging camera are shown, arranged into rows a, b, c, and d and columns w, x, y, and z. In general, each pixel will include a unique amount of FPN associated with that pixel. For example, pixel coordinate (a, w) includes a fixed pattern noise FPN associated with it. a,w .
[0228] As shown, object 1600 is located at Fig.16A However, in the example shown, after a short time, Fig. 16B In the image, object 1600 is located at pixel coordinate (a, y). Fig.16A Images and Fig. 16B The motion between the images time is captured.
[0229] As described elsewhere herein, the optical gas imaging process can be configured to emphasize changes in the scene in order to observe the presence of gas. Thus, differences are not due to the gas, such as due to camera motion (e.g., in Fig.16A and Fig. 16B The difference between the two images may cause motion artifacts to appear in the optical gas image. As described above, image stabilization and / or registration processes may be used to correct for this difference. For example, if the thermal imaging camera is configured to perform an image stabilization process to register Fig.16A and Fig. 16B , such a process will usually result in, for example, Fig. 16B The images in are shifted one pixel to the right and one pixel downward so that object 1600 is in the same position in each captured image.
[0230] However, if there is unique FPN in the image at different pixel locations, then it is likely that the pixel coordinate (b, z) and the pixel coordinate (a, y) have different amounts of FPN associated with them. Fig.16A The IR intensity value I associated with pixel (b, z) in the image b,z The contribution I from object 1600 will be attributed to obj and the FPN associated with the pixel b,z That is, relative to Fig.16A :
[0231] .
[0232] Similarly, in Fig. 16B The IR intensity value I associated with the pixel (a, y) in the image a,y The contribution I from object 1600 will be attributed to obj and the FPN associated with the pixel a,y That is, relative to Fig. 16B :
[0233] .
[0234] Therefore, if Fig.16A and Fig. 16B If the images of object 1600 are registered during the optical gas imaging process, the differences in FPN associated with pixel coordinates (b, z) and (a, y) will appear as differences in infrared image data at a single location (the location of object 1600 in the registered image stack), such as those shown above with reference to Fig.15 The optical gas imaging process can serve to emphasize this apparent change in the infrared image data over time, thereby obscuring the ability to accurately observe the gas in the optical gas image, despite the fact that the scene remains stationary and the source of the apparent change is attributed to the different FPN values at different pixels. Furthermore, although for simplicity purposes only the Fig.16A and Fig. 16B 1600, but each pixel in a pair of infrared images that are registered to correct for camera motion will typically have some apparent temperature change simply due to the differences in FPN that exist at different pixels in similar portions of the imaged target scene (e.g., object 1600).
[0235] Eliminating FPN across scenes, such as by performing a NUC procedure, can mitigate or eliminate such problems that arise in optical gas imaging using an image stabilization algorithm. However, FPN can evolve over time and, therefore, can cause problems during optical gas imaging even if a NUC procedure is performed. For example, the amount of FPN required to negatively impact an optical gas imaging process is typically much lower than the amount of FPN that would be required to negatively impact a typical thermal imaging process. Therefore, in some such cases, it can be beneficial to perform a NUC procedure shortly before an optical gas imaging process utilizing image stabilization and / or to perform a NUC procedure periodically throughout such an optical gas imaging process in order to minimize the amount of FPN that arises during the optical gas imaging process.
[0236] Fig.17 is a process flow diagram illustrating an exemplary combination of performing a NUC process before and / or during an optical gas imaging process using image stabilization. The process includes initiating an optical gas imaging process (1700) and performing a NUC process (1700). In some examples, a user may initiate the optical gas imaging process (1700) via a selection on a user interface, such as Fig.10 In some embodiments, the thermal imaging camera may automatically perform the first NUC process (1702), or otherwise instruct a user to perform such a process upon initiating the optical gas imaging process (1700).
[0237] After performing the NUC process, the method includes capturing images for the optical gas imaging process (1704). The captured images may include, for example Figure 8 804 in the optical gas imaging process for use during the optical gas imaging process. Next, an image stabilization process is performed to register the captured image to a reference position (1706). The reference position can be determined, for example, by the position of the first image captured after the process is initiated. For example, Figure 8 , the first new image 804 can establish a reference position, and subsequent "new images" 804 captured during the stabilized optical gas imaging process can be registered to the reference position. Thus, if an image is captured for the first time during a stabilized optical gas imaging process, the registration process can include defining a reference position for use during subsequent stabilized registrations.
[0238] After registering the images, a stabilized optical gas imaging process (1708) may be performed, such as Figure 8 , for example, while simultaneously utilizing image stabilization techniques to register a new image to a reference position. The combination of image registration (1706) and NUC process (1702) helps compensate for camera motion (e.g., camera shake) and / or FPN artifacts that may occur during the stabilized optical gas imaging process.
[0239] In some examples, the thermal imaging camera can be configured to periodically perform a NUC process or otherwise prompt a user to perform a NUC process. In some such examples, the thermal imaging camera does so after a predetermined amount of time and / or a predetermined number of image frames have been captured. In some examples, the amount of time between NUC processes performed and / or prompted and / or the number of frames captured can depend on one or more camera settings. For example, in some embodiments, NUC is performed and / or prompted more frequently during a handheld optical gas imaging mode than during a tripod optical gas imaging mode because a greater amount of registration due to hand-held jitter may more quickly and / or more severely include FPN artifacts into the optical gas image data.
[0240] therefore, Fig.17 The process may include a step of determining whether to update the NUC (1710). If not, a new image may be captured (1704), and the captured image may be used to perform stabilization / registration (1706) and optical gas imaging (1708) processes, such as based on Figure 8 If the NUC is to be updated at step 1710, the NUC process (1702) may be performed before capturing a new image (1704) for the optical gas imaging process.
[0241] In an exemplary embodiment, a user may initiate a Fig.17 For example, the user can press a trigger, such as Figure 1 , to initiate a stabilized optical gas imaging process (1700). In an exemplary use case, a user may perform an optical gas imaging process without image stabilization (e.g., in handheld mode) prior to initiating the stabilized optical gas imaging process. Upon pressing the trigger, the camera may automatically perform a NUC process (1702) and then perform a stabilized optical gas imaging process (1708) while capturing an image (1704) and performing image stabilization (1706) until the trigger is released. In some such examples, a user may perform such a process multiple times. For example, during an exemplary gas inspection, a user may press the trigger to perform optical gas imaging and observe gases in a first scene (e.g., a selected gas), release the trigger, move the camera to view a second scene, and press the trigger to perform optical gas imaging and observe gases in the second scene.
[0242] Performing optical gas imaging using an image stabilization process can allow for the use of longer time constants to improve the sensitivity of the optical gas imaging process. For example, image stabilization can eliminate positioning errors that often make handheld optical gas imaging susceptible to noise and other artifacts due to camera motion. Therefore, in some examples, the camera can be configured automatically and / or via user selection to use a "tripod mode" optical gas imaging time constant when operating in a handheld mode utilizing image stabilization.
[0243] For example, further reference Fig.10 In some embodiments, a user may select between a tripod mode and a handheld mode. In some embodiments, selecting the handheld mode results in another screen where the user may select to enable or disable image stabilization. In some such embodiments, enabling image stabilization in the handheld mode results in a longer time constant than disabling image stabilization. In some examples, the time constant for the handheld mode using image stabilization is approximately the same as the time constant for the tripod mode.
[0244] In another example, the handheld mode automatically includes image stabilization. In some such embodiments, the optical gas imaging time constant is the same when using the tripod mode or when using the handheld mode with image stabilization. In various examples, a user can manually adjust one or more time constants according to user settings, regardless of the default time constants employed by the camera.
[0245] During an optical gas imaging process utilizing image stabilization, even if the images are properly registered, in some cases too much camera pointing drift results in very little overlap between the images to be registered, thereby resulting in a very small usable area for performing the optical gas imaging process. In some embodiments, the camera may be configured to provide real-time or substantially real-time feedback to a user regarding how much the camera pointing is drifting during the optical gas imaging process.
[0246] Fig.18A and Fig.18B An exemplary display interface for indicating to a user the amount of camera pointing drift during optical gas imaging is shown. Fig.18A An exemplary display 1800a is shown, which may be presented, for example, on Figure 1 1800a includes a pointing drift indicator 1810a that can be used to indicate to a user the amount and / or direction in which the pointing of the camera has drifted from a reference position during an optical gas imaging process (eg, during a stabilized optical gas imaging process). Fig.18AIn the example of , the pointing drift indicator 1810a includes a first marker 1820 and a second marker 1830, the second marker 1830 being slightly smaller than the first marker 1820 and positioned within the first marker 1820. In some embodiments, the display 1800a is updated in real time or substantially real time using the first 1820 and second 1830 markers to indicate camera motion.
[0247] In an exemplary embodiment, the camera is configured to sense motion or pointing drift of the camera, the pointing drift representing, for example, a difference in camera aiming between a recently captured image and a reference frame (such as an optical gas imaging background image). Such pointing drift may be determined, for example, using one or more motion sensors, such as accelerometers and / or gyroscope sensors. In some such examples, a camera processor (or another system processor) may be configured to receive motion data from the motion sensor to determine an amount of displacement of the camera relative to a previous or reference position. Additionally or alternatively, the amount of motion may be determined via an image registration calculation, such as performed during an image stabilization process.
[0248] Once the amount of motion has been determined, the first marker 1820 and the second marker 1830 can be positioned relative to each other to indicate the amount of motion. For example, in an exemplary embodiment, the position of the first marker 1820 is fixed in the display 1800a and represents a reference position. The position of the second marker 1830 is updated with each frame to indicate the positioning of the captured image relative to the reference position. For example, in some such embodiments, if the camera pointing drifts upward during the optical gas imaging process, the second marker 1830 will similarly move upward relative to the first marker 1820 during the optical gas imaging process. Thus, real-time or substantially real-time feedback is provided to the user regarding the positioning of the camera to help the user minimize pointing drift during the optical gas imaging process.
[0249] The pointing drift indicator 1810a is shown positioned at Fig.18A 1820 in the upper left corner of the display 1800a. This position can allow the user to use his or her peripheral vision to roughly view the movement of the second marker 1830 relative to the first marker 1820 while still looking at the center of the display while looking for indications of gas present in the scene. In some examples, the first marker 1820 and / or the second marker 1830 can be presented in a color or colors that contrast with the scene color palette and / or each other to help the user observe the movement of the second marker 1830 relative to the first marker 1820 on the display 1800a.
[0250] Fig.18B An exemplary display 1800b is shown, which may be presented, for example, on Figure 1The display 1800b includes a pointing drift indicator 1810b, which can be used to indicate to the user the amount and / or direction in which the pointing of the camera has drifted from a reference position during the optical gas imaging process. Fig.18B In the example of FIG. 1 , the pointing drift indicator 1810 b includes a first mark 1840 and a second mark 1850, the second mark 1850 being slightly smaller than the first mark 1840 and positioned within the first mark 1840. In some embodiments, similar to the example with respect to FIG. Fig.18A The depicted displays 1800a, 1800b are updated in real time or substantially real time to indicate camera motion using first 1840 and second 1850 markers.
[0251] Generally speaking, Fig.18B The first 1840 and second 1850 markers in may be similar to Fig.18A The markers 1820 and 1830 in FIG. 1800b function in that the second marker 1850 moves relative to the first marker 1840 to indicate the motion of the camera relative to a reference position. However, instead of being positioned at the corners of the display, the first 1840 and second 1850 markers are positioned around a large portion of the scene, allowing the user to observe the center of the display 1800b and observe the motion of the second marker 1850 at the edge of the screen.
[0252] The pointing drift indicator is Fig.18A and Fig.18B , but may generally include any one or more shapes that a user may observe move relative to one another as the pointing direction of the camera drifts during the optical gas imaging process.
[0253] During an optical gas imaging process utilizing image stabilization, such as by using pointing drift indicators 1810a or 1810b, limiting the pointing drift of the camera can improve the efficiency of the image stabilization process. For example, embodiments that include one or more pointing drift indicators to assist a user in manually correcting any camera displacement can reduce the search area for an optimal displacement vector between a captured image and a reference position during the stabilization process. For example, in an exemplary embodiment, when performing an image stabilization process, the camera can utilize data from one or more position sensors and / or the relative positions of the pointing drift indicators (e.g., markers 1820 and 1830) to identify an approximate displacement vector between a reference position and the camera position when the image was captured. Additionally or alternatively, the camera can limit the search area for the optimal displacement vector to those vectors that will result in pointing drift indicators indicating the largest pointing drift. For example, in relation to Fig.18AIn an exemplary embodiment of the present invention, a camera performing an image stabilization process may limit the analyzed displacement vectors to only those vectors that would result in a displacement that would keep the second marker 1830 completely within the boundaries of the first marker 1820. Thus, in such an embodiment, as long as the user maintains the second marker 1830 within the first marker 1820 during operation, the displacement vectors most suitable for registering the newly captured image to the reference position will be within the analyzed displacement vectors.
[0254] In some examples, when performing an image stabilization process, limiting the search region for the optimal displacement vector reduces the processing load required to still produce real-time or substantially real-time optical gas images using the stabilization process. In some embodiments, the reduced processing load enables additional or more computationally demanding processing steps to be performed while still producing real-time or substantially real-time image data. For example, in some embodiments, the image stabilization technique can utilize sub-pixel image registration techniques to achieve further improved registration of captured images to reference locations during real-time or near real-time optical gas imaging.
[0255] Additionally or alternatively, the computational requirements for image stabilization can be reduced by performing the stabilization process using a subset of the available pixels for registration. In some such examples, a user can define a sub-region in the image for performing stabilization calculations. In various embodiments, this can include drawing an outline of a region or image or overlaying a predefined shape on the image to identify the region to be used during image stabilization.
[0256] Utilizing a subset of image data for image stabilization can reduce the processing time and / or resources necessary to achieve accurate registration. Additionally or alternatively, in some examples, if a portion of the scene includes moving objects (e.g., clouds), the stabilization process can be limited to a region of the image that typically does not include such moving objects that may otherwise interfere with the registration process. Further, in some examples, the lens used in generating image data (e.g., infrared image data) provides a degree of image distortion (e.g., barrel distortion) in the resulting image data. In some such cases, due to such distortion, the optimal displacement vector for performing image stabilization varies over the image domain, resulting in unreliable registration and / or increased computational requirements for determining the optimal displacement vector. In some such cases, image stabilization calculations can be limited to being performed in an image region that is least likely to be affected by distortion, such as a small region located in the center.
[0257] In various examples, the region used during the image stabilization calculation can be selected in a variety of ways. In some embodiments, the user can select a region from a predefined list of options, such as, for example, the full image, a region predefined to reduce the effects of lens barrel distortion, a region defined by a pointing drift indicator (such as the first marker 1820), etc. Additionally or alternatively, as noted elsewhere herein, the user can define a custom region in which to limit the image stabilization process, such as by positioning and / or sizing a predefined shape over the image, or drawing a custom shape over the image.
[0258] The image filtering, stabilization, and optical gas imaging techniques described herein can be used to reduce the noise of thermal images so that changes between scenes due to the presence of infrared absorbing gases in the target scene can be distinguished from the noise. Similarly, the adaptability of the filtering techniques can be applied to both handheld and tripod mounted cameras to maximize noise reduction without introducing erroneous residual artifacts into the image data.
[0259] The filtering and corresponding optical gas imaging techniques can be used, for example, in a thermal imaging camera that includes an uncooled sensing array and does not require expensive optical notch and / or bandpass filters, thereby greatly reducing the cost and complexity of portable systems for performing such procedures. Similarly, such uncooled cameras themselves can be smaller, lighter, and more easily transported from one location to another than more complex cooled thermal imaging cameras, thereby increasing the ease and ability to perform high quality optical gas imaging procedures at multiple locations using a single camera.
[0260] The processes described herein, such as generating filtered background and foreground images and optical gas image data, may be performed using one or more processors, such as processor 222 embedded in a thermal imaging camera configured to capture the filtered images. In some embodiments, a processor configured to perform some or all of such processes may be located separately from the thermal imaging camera(s) that acquire the image data.
[0261] For example, in some embodiments, a thermal imaging camera may be fixedly positioned in place for continuous thermal analysis of the equipment under test. The thermal imaging camera may be configured to acquire thermal image data of a target scene and transmit the thermal image data to an external device for subsequent processing, such as a workstation, a cloud, a technician's mobile device (e.g., a smart phone, a tablet computer, etc.), etc. In some such examples, various processing steps may be taken at the external device, such as via software operating on a workstation, an application ("app") running on a technician's mobile device, cloud computing, etc.
[0262] In some examples, a substantially real-time optical gas imaging process can be performed by processing captured images at an external device. In such examples, the thermal imaging camera used to acquire the image data can be inexpensive and include minimal processing capabilities, but can capture images for optical gas imaging analysis. Additionally or alternatively, in some examples, the processing steps in the various processes described herein can be divided between various components, such as a thermal imaging camera that captures thermal images, an external device, etc.
[0263] Various embodiments have been described. Such examples are non-limiting and do not define or limit the scope of the invention in any way. Instead, these and other examples are within the scope of the following claims.
Claims
1. A thermal imaging system, comprising: Infrared camera; User interface; and a processor in communication with the user interface and the infrared camera, the processor configured to capture an infrared image via the infrared camera, wherein upon detecting an actuation from the user interface, the processor is configured to: (a) performing a non-uniformity correction process to establish non-uniformity correction values that, when applied to infrared image data received from the infrared camera, reduce or eliminate fixed pattern noise in the infrared image data; (b) capturing infrared images of a target scene multiple times via an infrared camera, wherein the non-uniformity correction value is applied to infrared image data in each infrared image of the target scene to reduce or eliminate fixed pattern noise in the infrared image data; (c) registering the infrared image of the target scene via an image stabilization process to produce a registered infrared image; (d) performing an optical gas imaging process using the registered infrared images to generate optical gas image data indicative of changes in the target scene; Wherein, in order to generate the optical gas image data, the processor is configured to: creating a filtered background image by combining infrared image data from a first plurality of infrared images captured by the infrared camera using a first filtering process, the first filtering process including first filtering parameters; creating a filtered foreground image by combining infrared image data from a second plurality of infrared images captured by the infrared camera using a second filtering process, the second filtering process including second filtering parameters; and comparing the filtered background image and the filtered foreground image; and (e) generating a display image including the optical gas image data for presentation on a display.
2. The thermal imaging system of claim 1, wherein the optical gas image data and the display image are generated in real time or substantially real time by repeatedly performing steps (b)-(e).
3. A thermal imaging system according to claim 1 or 2, wherein the display image is presented on the display in real time or substantially real time.
4. The thermal imaging system of claim 1 or 3, wherein the displayed image further comprises a drift indicator, the drift indicator indicating relative movement of the infrared camera with respect to a reference position. 5 . The thermal imaging system of claim 4 , wherein the drift indicator comprises a first mark indicating a reference position and a second mark indicating a position of the infrared camera relative to the reference position.
6. A thermal imaging system according to claim 2 or claim 5, wherein steps (b)-(e) are repeated, without repeating step (a), until the user interface is no longer actuated.
7. The thermal imaging system of claim 6, wherein the user interface comprises a depressible trigger, and wherein actuation of the user interface comprises depressing the depressible trigger, such that steps (b)-(e) are repeated while the depressible trigger is pressed, and after the depressible trigger is released, at least one of steps (b)-(e) is not repeated.
8. The thermal imaging system according to claim 7, wherein: After releasing the depressible trigger, upon a subsequent depressible trigger being pressed, the processor is configured to perform a new non-uniformity correction process to obtain a new non-uniformity correction value, and then perform and repeat steps (b)-(e) using the new non-uniformity correction value in real time or substantially real time until the depressible trigger is released.
9. The thermal imaging system of claim 1 , wherein the processor is further configured to: determining an apparent background temperature for each of a plurality of regions in the infrared image data; receiving data representing a temperature of a target gas; and For each of the plurality of regions: comparing an apparent background temperature in the region with a temperature of a target gas based on data representing the temperature of the target gas to determine a temperature difference; comparing the temperature difference value to a minimum temperature difference value associated with the target gas; and When the temperature difference value is below a minimum temperature difference value, such a region is designated as lacking sufficient contrast to reliably observe the target gas within the region.
10. The thermal imaging system of claim 9, further comprising an air temperature sensor in communication with the processor, wherein the processor is configured to receive air temperature information from the air temperature sensor.
11. The thermal imaging system according to claim 9 or 10, wherein the processor is further configured to: receiving, via a user interface, a selection indicating a gas type that will be a target gas; receiving, via a user interface, a selection indicating a minimum amount of a target gas to be viewed via an optical gas imaging process; and The minimum temperature difference value is determined based on a selection of an indicative target gas and a selection of a minimum amount of the indicative target gas, such that when the temperature difference value is below the minimum temperature difference value for a given area, the given area is designated as lacking sufficient contrast to reliably observe the target gas at the minimum amount.
12. The thermal imaging system of claim 11, wherein the selection of the indicator gas type and the selection of the minimum amount of the indicator target gas correspond to industry standards.
13. The thermal imaging system of claim 11, wherein the minimum temperature difference value is determined based on a selection indicative of a target gas and a selection indicative of a minimum amount of the target gas using a lookup table stored in a memory.
14. The thermal imaging system of claim 9, wherein the processor is further configured to: generating the optical gas image data, the optical gas image data comprising a plurality of regions corresponding to the plurality of regions in the infrared image data; generating display image data including the optical gas image data, the display image data having a plurality of regions corresponding to the plurality of regions in the optical gas image data and the infrared image data; and outputting a display image including the display image data for presentation on a display; in Regions of the displayed image corresponding to regions designated as lacking sufficient contrast to reliably observe target gas within the region are presented in a manner visually distinguishable from regions not designated as lacking sufficient contrast to reliably observe target gas within the region.
15. The thermal imaging system of claim 1 , wherein combining infrared image data from the first plurality of infrared images comprises: determining a weighted average of the infrared image data in the first plurality of infrared images, wherein infrared image data captured at an earlier time is weighted more heavily than infrared image data captured at a more recent time; and Wherein combining the infrared image data from the second plurality of infrared images includes determining a weighted average of the infrared image data in the second plurality of infrared images, wherein infrared image data captured more recently is weighted more heavily than infrared image data captured earlier.
16. The thermal imaging system of claim 1, wherein the filtered background image having a background time constant associated therewith, the background time constant being based at least in part on a first filter parameter, and infrared images captured by the infrared camera at a time within a time period determined by the background time constant resulting in more filtered background images than infrared images captured outside of the time period determined by the background time constant; The filtered foreground image has a foreground time constant associated therewith, the foreground time constant being based at least in part on a second filter parameter, and infrared images captured by the infrared camera at a time within a time period determined by the foreground time constant result in more filtered foreground images than infrared images captured outside of the time period determined by the foreground time constant; and The background time constant is different from the foreground time constant.
17. The thermal imaging system of claim 1, wherein The thermal imaging system has a handheld operation mode and a tripod operation mode, in which the infrared camera is moved, and in which the infrared camera remains in a stationary position. The thermal imaging system creates filtered background and foreground images using different first and second filtering parameters, respectively, depending on whether the thermal imaging system is operating in a handheld mode of operation or a tripod mode of operation.
18. The thermal imaging system of claim 16, further comprising a tripod operating mode and a handheld operating mode, wherein in the tripod operating mode the infrared camera is stationary and in the handheld operating mode the infrared camera is in motion; and wherein in the tripod operating mode: The background time constant is longer than the foreground time constant, or The first plurality of infrared images used to create the filtered background image includes a greater number of infrared images than the second plurality of infrared images used to create the filtered foreground image.
19. A method for performing optical gas imaging, comprising: (a) receiving a command for performing an optical gas imaging process; (b) performing a non-uniformity correction process to establish non-uniformity correction values that eliminate or reduce fixed pattern noise in infrared image data received from the infrared camera; (c) capturing a plurality of infrared images over time via an infrared camera, wherein the non-uniformity correction value is applied to infrared image data in the plurality of infrared images to reduce or eliminate fixed pattern noise in the infrared image data; (d) registering the plurality of infrared images via a real-time or substantially real-time image stabilization process to produce a registered infrared image; (e) processing the registered infrared images to generate optical gas image data in real time or substantially in real time, wherein the optical gas image data is generated in real time or substantially in real time by: creating a filtered background image by combining infrared image data from a first plurality of infrared images captured by the infrared camera using a first filtering parameter; creating a filtered foreground image by combining infrared image data from a second plurality of infrared images captured by the infrared camera using a second filtering parameter; as well as comparing the filtered background image and the filtered foreground image; (f) generating and displaying a display image including said optical gas image data in real time or substantially in real time; and (g) repeating steps (c)-(f) in real time or substantially in real time.
20. The method of claim 19, further comprising receiving a command to stop performing the optical gas imaging process, and wherein the repetition of steps (c)-(f) is stopped upon receiving the command to stop performing the optical gas imaging process.
21. The method of claim 19 or claim 20, wherein receiving a command to perform an optical gas imaging process comprises detecting a depression of a trigger, and wherein receiving a command to stop performing the optical gas imaging process comprises detecting a release of the trigger.
22. A method according to claim 19 or claim 20, wherein in step (d), aligning the multiple infrared images via a real-time or substantially real-time image stabilization process includes aligning each of the multiple infrared images to a reference image, and further includes performing a correlation calculation using the captured infrared image and the reference image for each of the multiple infrared images, wherein the correlation calculation is performed using a sub-region of the infrared image data.
