Imaging system and method and computer readable storage medium
By fusing the spectrum information of visible light images and infrared images to generate fusion images, the contradiction between low cost and high resolution of thermal sensors is solved, and a high-resolution temperature measurement effect is achieved.
Patent Information
- Application Number
- CN202310499315.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-05
- Publication Date
- 2024-11-05
AI Technical Summary
Existing thermal sensors are difficult to meet the requirements of low cost and high resolution when measuring temperature. High resolution thermal sensors are costly, while low resolution thermal sensors generate infrared images with low resolution thermal sensors.
By converting visible light images and infrared images into spectrum information respectively, high-frequency information is obtained and fused, the fused image spectrum information is generated, and finally converted into fusion images. The fused image contains the temperature distribution of infrared images and the detailed characteristics of the visible light images, thereby improving identification Spend.
It realizes high-resolution temperature measurement at low cost, and the fusion image has high recognition and meets user needs.
Smart Images

Figure CN118896694A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an imaging system, method and computer-readable storage medium. Background Art
[0002] Thermal sensors are widely used to measure the temperature of objects. Objects emit long-wave infrared radiation (LWIR), which belongs to the invisible light band. Thermal sensors measure the temperature by sensing the LWIR of objects. Thermal sensors can be divided into high-resolution thermal sensors and low-resolution thermal sensors. High-resolution thermal sensors use special materials and processes, resulting in higher costs. Low-resolution thermal sensors are cheaper, but the infrared images they generate have lower recognition and are difficult to meet user needs. Summary of the invention
[0003] In view of this, the present application provides an imaging system, method and computer-readable storage medium, aiming to solve the problem of how to simultaneously meet the requirements of low cost and high resolution when measuring temperature.
[0004] In a first aspect, an embodiment of the present application provides an imaging system, comprising: a visible light image module, for generating a visible light image; an infrared light image module, for generating an infrared image; and a processor, connected to the visible light image module and the infrared light image module, the processor being configured to perform the following operations: acquiring a visible light image and an infrared image; converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information, respectively; acquiring high-frequency information from the visible light image spectrum information; fusing the high-frequency information and the infrared image spectrum information to obtain fused image spectrum information; and converting the fused image spectrum information into a fused image.
[0005] The imaging system of this embodiment converts the acquired visible light image and infrared image into visible light image spectrum information and infrared image spectrum information respectively, obtains high frequency information from the visible light image spectrum information, fuses the high frequency information into the infrared image spectrum information, thereby generating fused image spectrum information, and finally converts the fused image spectrum information into a fused image. Thus, the fused image contains both the temperature distribution of the infrared image and the detail features of the visible light image. The temperature distribution of the infrared image can be obtained from a low-cost low-resolution thermal sensor, and the detail features of the visible light image are high-resolution features, so that the fused image has high recognition, which is conducive to meeting the requirements of low cost and high resolution at the same time.
[0006] A second aspect of an embodiment of the present application provides an imaging method, comprising: acquiring a visible light image and an infrared image. Converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information, respectively. Obtaining high-frequency information from the visible light image spectrum information. Fusing the high-frequency information and the infrared image spectrum information to obtain fused image spectrum information. Converting the fused image spectrum information into a fused image.
[0007] A third aspect of an embodiment of the present application provides a computer-readable storage medium for storing a computer program or code. When the computer program or code is executed by a processor, the steps of the imaging method provided in the embodiment of the present application are implemented.
[0008] It can be understood that the specific implementation and beneficial effects of the imaging method provided in the second aspect of the embodiment of the present application and the computer-readable storage medium provided in the third aspect are roughly the same as the specific implementation and beneficial effects of the imaging system provided in the first aspect of the present application, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a schematic diagram of the structure of an imaging system provided by an embodiment of the present application.
[0010] Figure 2a Schematic diagram of the full stopband provided for one example.
[0011] Figure 2b A schematic diagram of a fused image corresponding to a full stopband is provided for one example.
[0012] Figure 3a A schematic diagram of the full passband provided for one example.
[0013] Figure 3b A schematic diagram of a fused image corresponding to a full passband is provided as an example.
[0014] Figure 4a A schematic diagram of the passband provided for one example.
[0015] Figure 4b A schematic diagram of a fused image corresponding to a passband is provided for one example.
[0016] Figure 5a This is a schematic diagram of convolution of a filter function of a high-pass filter and a Gaussian function provided as an example.
[0017] Figure 5b The diagram is a schematic diagram of a local image of a fused image with a ringing effect provided as an example.
[0018] Figure 5c The diagram is a schematic diagram of a local image for suppressing the ringing effect in a fused image provided by an example.
[0019] Figure 6a A schematic diagram of a fused image corresponding to a gain factor of 0.5 is provided as an example.
[0020] Figure 6b A schematic diagram of a fused image corresponding to a gain factor of 2 is provided as another example.
[0021] Figure 7 It is a schematic diagram of the structure of an imaging system provided in another embodiment of the present application.
[0022] Figure 8 It is a flow chart of an imaging method provided by an embodiment of the present application.
[0023] Fig. 9 This is a flow chart of an imaging method provided by another embodiment of the present application.
[0024] Main component symbols
[0025] Imaging system 100
[0026] Visible light imaging module 110
[0027] Infrared light imaging module 120
[0028] Processor 130
[0029] Preprocessing module 131
[0030] The first frequency domain transform module 132
[0031] High pass filter 133
[0032] Amplifier 134
[0033] Adder 135
[0034] Perspective Projection Module 136
[0035] The second frequency domain transform module 137
[0036] Spatial domain transformation module 138 DETAILED DESCRIPTION
[0037] It should be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0038] It should also be noted that the method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchangeable with each other, and some of the steps can also be deleted.
[0039] Figure 1 It is a schematic diagram of the structure of an imaging system provided by an embodiment of the present application.
[0040] See also Figure 1 The imaging system 100 includes a visible light imaging module 110 , an infrared light imaging module 120 , and a processor 130 . The processor 130 is connected to the visible light imaging module 110 and the infrared light imaging module 120 .
[0041] The visible light image module 110 is used to generate a visible light image. Specifically, the visible light image module 110 generates a visible light image by collecting visible light reflected by an object and performing photosensitive processing. The visible light image is a reflection image, contains rich detail features, and can reflect the real scene.
[0042] The visible light image module 110 includes, but is not limited to, a visible light sensor (Visible Sensor), a visible light camera (Visible Camera), and the like.
[0043] The infrared light imaging module 120 is used to generate infrared images. Specifically, the infrared light imaging module 120 generates infrared images by sensing the infrared radiation emitted by the object and performing photosensitive processing. The infrared image is a radiation image, and the image grayscale is determined by the temperature difference between the target and the background. The infrared image contains fewer detailed features of the target or background and cannot reflect the real scene.
[0044] The infrared light imaging module 120 includes, but is not limited to, a thermal sensor, a thermal camera (Thermal Camera), an infrared sensor (IR Sensor), an infrared camera (IR Camera), and the like.
[0045] The processor 130 is used to perform the following operations: respectively obtain a visible light image and an infrared image from the visible light image module 110 and the infrared light image module 120. respectively convert the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information. respectively obtain high frequency information from the visible light image spectrum information. fuse the high frequency information and the infrared image spectrum information to obtain fused image spectrum information. and convert the fused image spectrum information into a fused image.
[0046] Among them, the visible light image spectrum information corresponds to the visible light information, and the visible light information contains the detail features of the visible light image. The detail features correspond to the high-frequency information in the visible light image spectrum information. The high-frequency information is manifested as the high-frequency component in the light image spectrum. The infrared image spectrum information corresponds to the temperature information, and the temperature information contains the temperature distribution of the infrared image.
[0047] In this embodiment, the processor 130 converts the acquired visible light image and infrared image into visible light image spectrum information and infrared image spectrum information respectively, then obtains high frequency information from the visible light image spectrum information, and fuses the high frequency information into the infrared image spectrum information, thereby generating fused image spectrum information, and finally converts the fused image spectrum information into a fused image. Thus, the fused image contains both the temperature distribution of the infrared image and the detail features of the visible light image. The temperature distribution of the infrared image can be obtained from a low-cost low-resolution thermal sensor, and the detail features of the visible light image are high-resolution features, so that the fused image has high recognition, which is conducive to meeting the requirements of low cost and high resolution at the same time.
[0048] The processor 130 may include one or more processing units. For example, the processor 130 may include, but is not limited to, an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, a neural network processor (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0049] The processor 130 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 130 is a cache memory. The memory may store instructions or data that the processor 130 has just used or circulated. If the processor 130 needs to use the instruction or data again, it may be directly called from the memory.
[0050] It is understood that the structure shown in this embodiment does not constitute a specific limitation on the imaging system 100. In other embodiments, the imaging system 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0051] In one embodiment, the visible light image spectrum information, the infrared image spectrum information and the fused image spectrum information are frequency domain information, and the fused image is spatial domain information. The frequency domain information is the frequency domain distribution of image features. The spatial domain information is the spatial domain distribution of image features. The frequency domain and the spatial domain can be converted to each other.
[0052] In another embodiment, the processor converts the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information respectively, including: converting the visible light image and the infrared image into the frequency domain respectively through Fourier Transform (FT) to obtain visible light image spectrum information and infrared image spectrum information.
[0053] In this embodiment, the processor converts the visible light image and the infrared image into the frequency domain respectively through FT, thereby converting the visible light information contained in the visible light image in the spatial domain into the visible light image spectrum information in the frequency domain, and converting the temperature information contained in the infrared image in the spatial domain into the infrared image spectrum information in the frequency domain.
[0054] It can be understood that in other embodiments, the processor can convert the visible light image and the infrared image into the frequency domain respectively through Fast Fourier Transform (FFT), Discrete Fourier Transform (DFT) or Wavelet Transform (WT).
[0055] In another embodiment, the processor converts the fused image spectrum information into the fused image, including: converting the fused image spectrum information in the frequency domain into the space domain by inverse Fourier transform (IFT) to obtain the fused image.
[0056] In this embodiment, the processor converts the fusion image spectrum information in the frequency domain to the space domain through IFT, thereby converting the fusion image spectrum information in the frequency domain into fusion information of the fusion image in the space domain, and the fusion information includes visible light information and temperature information.
[0057] It can be understood that in other embodiments, the processor can convert the fused image spectrum information in the frequency domain to the spatial domain through Inverse Fast Fourier Transform (IFFT), Inverse Discrete Fourier Transform (IDFT) or Inverse Wavelet Transform (IWT).
[0058] In another embodiment, the processor acquires high-frequency information from the visible light image spectrum information, including: acquiring high-frequency information corresponding to the frequency bandwidth from the visible light image spectrum information according to a preset frequency bandwidth.
[0059] The bandwidth can be set as required, for example, the bandwidth can be set to 100 line pairs per millimeter (lp / mm), 200 lp / mm, or 500 lp / mm.
[0060] In this embodiment, the processor can obtain the corresponding high-frequency information by adjusting the bandwidth. The bandwidth corresponds to the high-frequency information in the visible light image spectrum information. For example, assuming that the bandwidth is set to 100lp / mm, the high-frequency information is the spectrum information greater than or equal to 100lp / mm. When the processor adjusts the bandwidth to 200lp / mm, the corresponding high-frequency information is also adjusted to the spectrum information greater than or equal to 200lp / mm.
[0061] It can be understood that by fusing different high-frequency information with infrared image spectrum information, corresponding fused image spectrum information can be obtained, thereby generating a corresponding fused image.
[0062] For example, when the preset bandwidth is full stopband, both the high-frequency component and the low-frequency component in the visible light image spectrum are filtered out. At this time, the visible light image spectrum information is filtered out, and the fused image spectrum information is substantially the same as the infrared image spectrum information, so the fused image is also substantially the same as the infrared image. Figure 2a and Figure 2b As shown, Figure 2a A schematic diagram of the full stopband is provided as an example. Figure 2b A schematic diagram of a fused image corresponding to a full stopband is provided as an example. Figure 2b It can be seen that the imaging effect of the fused image corresponding to the full stopband is relatively fuzzy. Due to the lack of detailed features corresponding to high-frequency information, the image recognition is low.
[0063] When the preset bandwidth is full passband, both high-frequency components and low-frequency components in the visible light image spectrum are retained. At this time, the visible light image spectrum information is fused with the infrared image spectrum information, and the fused image spectrum information includes the visible light image spectrum information and the infrared image spectrum information, so that the fused image is an image obtained by adding the visible light image and the infrared image. For example, Figure 3a and Figure 3b As shown, Figure 3a A schematic diagram of the full passband is provided as an example. Figure 3b A schematic diagram of a fused image corresponding to the full passband is provided as an example. Figure 3b It can be seen that the imaging effect of the fused image corresponding to the full passband is clearer, because the fused image contains the detailed features corresponding to the high-frequency information, so the image recognition is higher. However, since the fused image spectrum information contains all the information in the visible light image spectrum information, the fused image also contains features that do not appear in the infrared image when the resolution of the infrared image is improved. When the user's demand is to improve the clarity of the infrared image, these features that do not appear in the infrared image are not what the user needs, resulting in the fused image not meeting the user's needs.
[0064] When the preset bandwidth is between the full stopband and the full passband, the high-frequency components in the visible light image spectrum are retained and the low-frequency components are filtered out. At this time, the high-frequency information is fused with the infrared image spectrum information, and the fused image spectrum information contains the high-frequency information and the infrared image spectrum information, so that the fused image only improves the resolution of the infrared image. For example, Figure 4a and Figure 4b As shown, Figure 4a A schematic diagram of the passband is provided for an example, Figure 4b A schematic diagram of a fused image corresponding to a passband is provided for an example. Figure 4b It can be seen that the imaging effect of the fused image corresponding to the passband is clearer, because the fused image contains the detailed features corresponding to the high-frequency information, so the image recognition is higher. Moreover, since the low-frequency components in the visible light image spectrum are filtered out, the outline of the fused image is roughly the same as that of the infrared image, and the fused image only improves the resolution of the infrared image.
[0065] In another embodiment, the processor includes a high-pass filter, and the high-pass filter is used to obtain high-frequency information corresponding to the frequency bandwidth from the visible light image spectrum information according to a preset frequency bandwidth.
[0066] In this embodiment, the bandwidth of the high-pass filter is adjustable. The processor can obtain the corresponding high-frequency information by adjusting the bandwidth of the high-pass filter. For example, when the processor adjusts the bandwidth of the high-pass filter to 50% of the maximum bandwidth, the corresponding high-frequency information is the spectrum information greater than or equal to 50% of the maximum bandwidth.
[0067] In one embodiment, the processor convolves the filter function of the high-pass filter in the frequency domain with a Gaussian function to update the filter function of the high-pass filter.
[0068] In this embodiment, since the ideal high-pass filter will produce distortion during FT, after IFT, the fused image will have a ringing artifact at the edge details. The processor convolves the filter function of the high-pass filter in the frequency domain with the Gaussian function to smooth the edge of the filter function, which is beneficial to suppress the ringing artifact in the fused image. For example, Figure 5a , Figure 5b and Figure 5c As shown, Figure 5a This is a schematic diagram of the convolution of the filter function of the high-pass filter and the Gaussian function provided as an example. Figure 5b This is a schematic diagram of a local image where a ringing effect occurs in a fused image provided by an example. Figure 5c The following is a schematic diagram of a local image for suppressing the ringing effect in a fused image provided by an example. After the processor updates the filter function of the high-pass filter, Figure 5c The local image in the fused image shown is relative to Figure 5b The local image in the fused image shown is smoother at the edge details.
[0069] It can be understood that in other embodiments, the high-pass filter is a Butterworth type high-pass filter or a Gaussian type high-pass filter. The Butterworth type high-pass filter and the Gaussian type high-pass filter will not produce a ringing effect due to their own filtering function characteristics.
[0070] In another embodiment, the processor includes an amplifier for enhancing high frequency information.
[0071] In this embodiment, the gain coefficient of the amplifier is adjustable. The processor can enhance the high-frequency information by adjusting the gain coefficient of the amplifier, so that the detail features contained in the fused image are more prominent. The gain coefficient of the amplifier is positively correlated with the degree of enhancement of the high-frequency information. For example, Figure 6a and Figure 6b As shown, Figure 6a A schematic diagram of a fused image corresponding to a gain factor of 0.5 is provided as an example. Figure 6b A schematic diagram of a fused image corresponding to a gain factor of 2 is provided as another example. As the gain factor of the amplifier increases, Figure 6b The fused image shown is relative to Figure 6a In the fused image shown, the detail features are more prominent, thus making the image more recognizable.
[0072] In another embodiment, the processor includes a preprocessing module, and the preprocessing module is used to preprocess the acquired visible light image.
[0073] It is understood that preprocessing may include, but is not limited to, cartoonization, grayscale processing, size conversion, histogram enhancement, spatial domain filtering, image segmentation, edge detection, etc. Among them, edge detection may use Sobel operator, LoG operator or Canny operator, etc.
[0074] In this embodiment, the preprocessing method can be set as needed. For example, the preprocessing module performs grayscale processing on the acquired visible light image, which is conducive to simplifying the complexity of obtaining high-frequency information and improving the operation efficiency. For another example, the preprocessing module performs edge detection on the acquired visible light image, which is conducive to highlighting the edge details of the image.
[0075] In another embodiment, the processor includes a perspective projection module, and the perspective projection module is used to perform perspective projection transformation on the acquired infrared image.
[0076] In this embodiment, the perspective projection module performs perspective projection transformation on the acquired infrared image to convert it into a similar viewing angle as the visible light image, so as to facilitate the fusion of subsequent images.
[0077] Figure 7 It is a schematic diagram of the structure of an imaging system provided in another embodiment of the present application.
[0078] See also Figure 7 The imaging system 100 includes a visible light imaging module 110, an infrared imaging module 120 and a processor 130. The processor 130 includes a pre-processing module 131, a first frequency domain transformation module 132, a high-pass filter 133, an amplifier 134, an adder 135, a perspective projection module 136, a second frequency domain transformation module 137 and a space domain transformation module 138.
[0079] The preprocessing module 131 is connected to the visible light image module 110 and the first frequency domain transformation module 132. The preprocessing module 131 is used to receive the visible light image from the visible light image module 110, preprocess the received visible light image, and then transmit the preprocessed visible light image to the first frequency domain transformation module 132.
[0080] The first frequency domain transformation module 132 is connected to the high pass filter 133. The first frequency domain transformation module 132 is used to receive the preprocessed visible light image from the preprocessing module 131, convert the preprocessed visible light image from the spatial domain to the frequency domain, obtain the visible light image spectrum information, and then transmit the visible light image spectrum information to the high pass filter 133.
[0081] The high pass filter 133 is connected to the amplifier 134 . The high pass filter 133 is used to receive the visible light image spectrum information from the first frequency domain conversion module 132 , obtain high frequency information from the visible light image spectrum information, and then transmit the high frequency information to the amplifier 134 .
[0082] The amplifier 134 is connected to the adder 135 . The amplifier 134 is used to receive the high-frequency information from the high-pass filter 133 , enhance the high-frequency information, and transmit the enhanced high-frequency information to the adder 135 .
[0083] The perspective projection module 136 is connected to the infrared light imaging module 120 and the second frequency domain transformation module 137. The perspective projection module 136 is used to receive the infrared image from the infrared light imaging module 120, perform perspective projection transformation on the received infrared image, and then transmit the infrared image after perspective projection transformation to the second frequency domain transformation module 137.
[0084] The second frequency domain transformation module 137 is connected to the adder 135. The second frequency domain transformation module 137 is used to receive the infrared image after perspective projection transformation from the perspective projection module 136, convert the infrared image after perspective projection transformation from the spatial domain to the frequency domain, obtain infrared image spectrum information, and then transmit the infrared image spectrum information to the adder 135.
[0085] The adder 135 is connected to the spatial domain transformation module 138. The adder 135 is used to receive the enhanced high-frequency information from the amplifier 134 and the infrared image spectrum information from the second frequency domain transformation module 137, fuse the enhanced high-frequency information and the infrared image spectrum information to obtain the fused image spectrum information, and then transmit the fused image spectrum information to the spatial domain transformation module 138.
[0086] The spatial domain transformation module 138 is used to receive the fused image spectrum information from the adder 135 , and transform the fused image spectrum information from the frequency domain to the spatial domain to obtain a fused image.
[0087] In this embodiment, by adjusting the preprocessing method of the preprocessing module 131 in the spatial domain, the bandwidth of the high-pass filter 133 in the frequency domain, and the gain coefficient of the amplifier 134, the corresponding fused image spectrum information can be obtained, thereby generating the corresponding fused image.
[0088] For example, when the preprocessing method of the preprocessing module 131 in the spatial domain is cartoonization processing, the bandwidth of the high-pass filter 133 in the frequency domain is full passband, and the gain coefficient of the amplifier 134 is A1, the fused image spectrum information includes all the information in the visible light image spectrum information and the infrared image spectrum information, so that the fused image is an image obtained by adding the visible light image and the infrared image.
[0089] When the preprocessing method of the preprocessing module 131 in the spatial domain is adjusted to edge detection, the low-frequency components in the visible light image spectrum in the spatial domain are filtered out, and the visible light image spectrum information only contains high-frequency information. Therefore, the fused image spectrum information contains high-frequency information and infrared image spectrum information, so that the outline of the fused image is roughly the same as the outline of the infrared image, which can improve the resolution of the infrared image.
[0090] When the bandwidth of the high-pass filter 133 is adjusted to 70% of the maximum bandwidth, the low-frequency components in the visible light image spectrum are filtered out in the frequency domain, and the visible light image spectrum information only contains high-frequency information. Therefore, the fused image spectrum information contains high-frequency information and infrared image spectrum information, so that the outline of the fused image is roughly the same as the outline of the infrared image, which can improve the resolution of the infrared image.
[0091] When the gain coefficient of the amplifier 134 is adjusted to A2, and A2 is greater than A1, the high-frequency information in the spectrum information of the visible light image is enhanced, so that the detail features of the fused image are more prominent.
[0092] In the above embodiment, the acquired visible light image and infrared image are converted into visible light image spectrum information and infrared image spectrum information respectively, and then high frequency information is obtained from the visible light image spectrum information, and the high frequency information is fused to the infrared image spectrum information, thereby generating fused image spectrum information, and finally the fused image spectrum information is converted into a fused image. Thus, the fused image contains both the temperature distribution of the infrared image and the detail features of the visible light image. The temperature distribution of the infrared image can be obtained from a low-cost low-resolution thermal sensor, and the detail features of the visible light image are high-resolution features, so that the fused image has high recognition, which is conducive to meeting the requirements of low cost and high resolution at the same time.
[0093] Figure 8 1 is a flow chart of an imaging method provided by an embodiment of the present application. The imaging method can be applied to an imaging system, and can also be applied to a processor in the imaging system.
[0094] See also Figure 8 , the imaging method comprises the following steps:
[0095] S801, acquiring a visible light image and an infrared image.
[0096] S802, converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information respectively.
[0097] S803, obtaining high frequency information from the visible light image spectrum information.
[0098] S804, fusing the high frequency information and the infrared image spectrum information to obtain fused image spectrum information.
[0099] S805, converting the fused image spectrum information into a fused image.
[0100] The visible light image spectrum information corresponds to the visible light information, and the high frequency information in the visible light image spectrum information corresponds to the detail features in the visible light information. The infrared image spectrum information corresponds to the temperature information, and the temperature information includes the temperature distribution of the infrared image.
[0101] In this embodiment, the acquired visible light image and infrared image are converted into visible light image spectrum information and infrared image spectrum information respectively, and then high-frequency information is obtained from the visible light image spectrum information, and the high-frequency information is fused to the infrared image spectrum information, thereby generating fused image spectrum information, and finally the fused image spectrum information is converted into a fused image. Thus, the fused image contains both the temperature distribution of the infrared image and the detail features of the visible light image. The temperature distribution of the infrared image can be obtained from a low-cost low-resolution thermal sensor, and the detail features of the visible light image are high-resolution features, so that the fused image has high recognition, which is conducive to meeting the requirements of low cost and high resolution at the same time.
[0102] In one embodiment, the visible light image spectrum information and the infrared image spectrum information are frequency domain information, and the fused image is space domain information.
[0103] In another embodiment, converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information respectively includes: converting the visible light image and the infrared image into frequency domain respectively by Fourier transform to obtain visible light image spectrum information and infrared image spectrum information.
[0104] In another embodiment, converting the fused image spectrum information into the fused image includes: converting the fused image spectrum information into a spatial domain by inverse Fourier transform to obtain the fused image.
[0105] In another embodiment, acquiring high-frequency information from the visible light image spectrum information includes: acquiring high-frequency information corresponding to the frequency bandwidth from the visible light image spectrum information according to a preset frequency bandwidth.
[0106] In another embodiment, the imaging method further includes: enhancing high-frequency information.
[0107] In another embodiment, the imaging method further includes: preprocessing the acquired visible light image.
[0108] In another embodiment, the imaging method further includes: performing perspective projection transformation on the acquired infrared image.
[0109] Fig. 9FIG. 1 is a flow chart of an imaging method provided by another embodiment of the present application. The imaging method can be applied to an imaging system, and can also be applied to a processor in the imaging system.
[0110] See also Fig. 9 , the imaging method comprises the following steps:
[0111] S901, acquiring a visible light image.
[0112] S902, preprocessing the acquired visible light image.
[0113] S903, converting the preprocessed visible light image into visible light image spectrum information.
[0114] S904, obtaining high frequency information from the visible light image spectrum information.
[0115] S905, enhancing high frequency information.
[0116] S906, acquiring an infrared image.
[0117] S907, performing perspective projection transformation on the acquired infrared image.
[0118] S908, converting the infrared image after the perspective projection transformation into infrared image spectrum information.
[0119] S909, fusing the enhanced high frequency information and the infrared image spectrum information to obtain fused image spectrum information.
[0120] S910, converting fused image spectrum information into a fused image.
[0121] In this embodiment, by adjusting the preprocessing method, the high-frequency information acquisition method and the high-frequency information enhancement method, the corresponding fused image spectrum information can be obtained, thereby generating the corresponding fused image.
[0122] In the above embodiment, the acquired visible light image and infrared image are converted into visible light image spectrum information and infrared image spectrum information respectively, and then high frequency information is obtained from the visible light image spectrum information, and the high frequency information is fused to the infrared image spectrum information, thereby generating fused image spectrum information, and finally the fused image spectrum information is converted into a fused image. Thus, the fused image contains both the temperature distribution of the infrared image and the detail features of the visible light image. The temperature distribution of the infrared image can be obtained from a low-cost low-resolution thermal sensor, and the detail features of the visible light image are high-resolution features, so that the fused image has high recognition, which is conducive to meeting the requirements of low cost and high resolution at the same time.
[0123] The embodiment of the present application also provides a computer-readable storage medium for storing a computer program or code. When the computer program or code is executed by a processor, the steps of the imaging method provided in the embodiment of the present application are implemented.
[0124] Computer-readable storage media include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include, but are not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory or other memory, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), digital versatile disc (Digital Versatile Disc, DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
[0125] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present application.
Claims
1. An imaging system, characterized in that: include: A visible light image module, used for generating a visible light image; An infrared light imaging module, used for generating infrared images; as well as A processor is connected to the visible light imaging module and the infrared light imaging module, and the processor is used to perform the following operations: Acquire the visible light image and the infrared image; Converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information respectively; Acquiring high-frequency information from the visible light image spectrum information; Fusing the high frequency information and the infrared image spectrum information to obtain fused image spectrum information; The fused image spectrum information is converted into a fused image.
2. The imaging system according to claim 1, wherein: The visible light image spectrum information, the infrared image spectrum information and the fused image spectrum information are frequency domain information, and the fused image is space domain information.
3. The imaging system according to claim 1, wherein: The converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information respectively comprises: The visible light image and the infrared image are respectively converted into frequency domains by Fourier transform to obtain frequency spectrum information of the visible light image and frequency spectrum information of the infrared image.
4. The imaging system according to claim 1, wherein: The converting the fused image spectrum information into a fused image comprises: The fused image is obtained by converting the fused image spectrum information into the spatial domain through inverse Fourier transform.
5. The imaging system according to claim 1, wherein: The acquiring high-frequency information from the visible light image spectrum information includes: The high frequency information corresponding to the frequency bandwidth is acquired from the visible light image spectrum information according to the preset frequency bandwidth.
6. The imaging system according to claim 5, characterized in that The processor includes a high-pass filter, and the high-pass filter is used to obtain the high-frequency information corresponding to the frequency bandwidth from the visible light image spectrum information according to the preset frequency bandwidth.
7. The imaging system according to claim 1, wherein: The processor includes an amplifier for enhancing the high frequency information.
8. The imaging system according to claim 1, wherein: The processor includes a preprocessing module, which is connected to the visible light image module; the preprocessing module is used to receive the visible light image from the visible light image module, preprocess the received visible light image, and convert the preprocessed visible light image into visible light image spectrum information.
9. An imaging method, characterized in that: include: Acquire visible light images and infrared images; Converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information respectively; Acquiring high-frequency information from the visible light image spectrum information; Fusing the high frequency information and the infrared image spectrum information to obtain fused image spectrum information; The fused image spectrum information is converted into a fused image.
10. The imaging method according to claim 9, characterized in that: The visible light image spectrum information, the infrared image spectrum information and the fused image spectrum information are frequency domain information, and the fused image is space domain information.
11. The imaging method according to claim 9, characterized in that: The converting the visible light image and the infrared image into visible light image spectrum information and infrared image spectrum information respectively comprises: The visible light image and the infrared image are respectively converted into frequency domains by Fourier transform to obtain frequency spectrum information of the visible light image and frequency spectrum information of the infrared image.
12. The imaging method according to claim 9, characterized in that: The converting the fused image spectrum information into a fused image comprises: The fused image is obtained by converting the fused image spectrum information into the spatial domain through inverse Fourier transform.
13. The imaging method according to claim 9, characterized in that: The acquiring high-frequency information from the visible light image spectrum information includes: The high frequency information corresponding to the frequency bandwidth is acquired from the visible light image spectrum information according to the preset frequency bandwidth.
14. The imaging method according to claim 9, characterized in that: After acquiring high-frequency information from the visible light image spectrum information, the method further includes: The high frequency information is enhanced.
15. The imaging method according to claim 9, characterized in that: After acquiring the visible light image and the infrared image, the method further includes: The acquired visible light image is preprocessed to convert the preprocessed visible light image into the visible light image spectrum information.
16. A computer-readable storage medium for storing a computer program or code, characterized in that: When the computer program or code is executed by a processor, the imaging method according to any one of claims 9 to 15 is implemented.
