Method and apparatus for fusing visible and infrared images based on maximum saliency

By performing channel separation and saliency comparison on visible light and infrared images, the problems of computational complexity and weak detail in infrared images in existing technologies are solved, achieving efficient image fusion on mobile devices and making it suitable for platforms with weaker performance.

CN118967465BActive Publication Date: 2026-11-24UNI TREND TECH (CHINA) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410944037.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2026-11-24
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing saliency-based visible light and infrared image fusion methods are computationally complex, difficult to deploy on low-performance mobile devices, and infrared images have weaker details.

Method used

By separating the visible light and infrared images into channels and comparing their saliency, a fused R, G, and B channel image is obtained, reducing computational load and making it suitable for mobile devices with lower performance.

Benefits of technology

It achieves efficient image fusion on mobile devices, preserves the salient features of images, and reduces the performance requirements of the deployment platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118967465B_ABST
    Figure CN118967465B_ABST
Patent Text Reader

Abstract

This application belongs to the field of image fusion technology, and particularly relates to a method and apparatus for fusion of visible light and infrared images based on maximum saliency. The method includes: acquiring a first image and a second image, both containing a target object, with the target object positioned identically in both images; performing channel separation on the first and second images respectively; comparing the saliency of the separated images of the first and second images to obtain an R-channel fused image, a G-channel fused image, and a B-channel fused image; and obtaining the fused image. This method, by performing channel separation on the first and second images, enables separate processing and analysis of different attribute features of the first and second images. Furthermore, by comparing saliency to obtain the R-channel fused image, G-channel fused image, and B-channel fused image, it achieves the full extraction and preservation of salient features in the first and second images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image fusion technology, and in particular to a visible light and infrared image fusion method and apparatus based on maximum saliency. Background Technology

[0002] Visible light images possess rich detail, but their imaging quality is poor in dark scenes such as at night. Infrared images are obtained by detecting the infrared radiation emitted by objects, so the image quality is unaffected by day or night. However, infrared images suffer from weaker detail.

[0003] Existing saliency-based visible light and infrared image fusion methods typically involve complex saliency model calculations, which place high demands on the computational performance of the deployment platform and make them difficult to deploy on mobile devices with limited performance.

[0004] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art.

[0005] Application content

[0006] In view of at least one of the above technical problems, this application provides a visible light and infrared image fusion method and apparatus based on maximum saliency.

[0007] A first aspect of this application provides a visible light and infrared image fusion method based on maximum saliency, comprising:

[0008] Acquire a first image and a second image that both contain the target object, and the target object is in the same position in the first image and the second image. The first image is a visible light image and the second image is an infrared image.

[0009] Channel separation is performed on the first image and the second image respectively;

[0010] By comparing the saliency of the images after separation of the first image and the images after separation of the second image, the R-channel fused image, the G-channel fused image, and the B-channel fused image are obtained.

[0011] A fused image is obtained based on the R-channel fused image, the G-channel fused image, and the B-channel fused image.

[0012] One of the above technical solutions has at least one of the following advantages or beneficial effects: This method separates the channels of the first and second images, enabling separate processing and analysis of different attribute features of the first and second images. Furthermore, by comparing saliency, it obtains the R-channel fused image, G-channel fused image, and B-channel fused image, thus fully extracting and preserving the salient features in the first and second images. In addition, this method requires less computation, reducing the computational load and lowering the performance requirements of the deployment platform, thereby exhibiting better applicability.

[0013] In some optional implementations, channel separation is performed on the first image and the second image separately, including:

[0014] The first image is separated into three channels to obtain the third, fourth, and fifth images. The third image is the visible light R channel image, the fourth image is the visible light G channel image, and the fifth image is the visible light B channel image.

[0015] Channel separation is performed on the second image to obtain the sixth, seventh, and eighth images. The sixth image is an infrared R-channel image, the seventh image is an infrared G-channel image, and the eighth image is a visible light B-channel image.

[0016] In some alternative implementations, the saliency of the image after the first image separation is compared with that of the image after the second image separation, including:

[0017] Compare the saliency of the third image with that of the sixth image;

[0018] Compare the saliency of the fourth and seventh images;

[0019] Compare the saliency of the fifth and eighth images.

[0020] In some alternative implementations, the saliency of the third image is compared with that of the sixth image, including:

[0021] Get the pixel value of one pixel in the third image;

[0022] Get the pixel value of the corresponding pixel in the sixth image;

[0023] Determine whether the pixel value of a pixel in the third image is greater than the pixel value of the corresponding pixel in the sixth image;

[0024] If so, the pixel value of the third image is used as the pixel value of the R channel fused image at that point;

[0025] If not, then the pixel value of the sixth image is used as the pixel value of the R channel fused image at that point;

[0026] Iterate through all pixels in the third and sixth images, determine the pixel values, and obtain the R-channel fused image.

[0027] In some alternative implementations, the saliency of the fourth image is compared with that of the seventh image, including:

[0028] Get the pixel value of one pixel in the fourth image;

[0029] Get the pixel value of the corresponding pixel in the seventh image;

[0030] Determine whether the pixel value of a pixel in the fourth image is greater than the pixel value of the corresponding pixel in the seventh image;

[0031] If so, the pixel value of the fourth image is used as the pixel value of the fused image at that point in the G channel;

[0032] If not, the pixel value of the pixel in the seventh image is used as the pixel value of the fused image at that point in the G channel;

[0033] Traverse all pixels in the fourth and seventh images, determine the pixel value, and obtain the G-channel fused image.

[0034] In some alternative implementations, the saliency of the fifth image is compared with that of the eighth image, including:

[0035] Get the pixel value of one pixel in the fifth image;

[0036] Get the pixel value of the corresponding pixel in the eighth image;

[0037] Determine whether the pixel value of a pixel in the fifth image is greater than the pixel value of the corresponding pixel in the eighth image;

[0038] If so, the pixel value of the fifth image is used as the pixel value of the B-channel fused image at that point;

[0039] If not, the pixel value of the pixel in the eighth image is used as the pixel value of the fused B-channel image at that point;

[0040] Traverse all pixels in the fifth and eighth images, determine the pixel value, and obtain the B-channel fused image.

[0041] In some optional implementations, a fused image is obtained based on the R-channel fused image, the G-channel fused image, and the B-channel fused image, including:

[0042] The R-channel fused image, the G-channel fused image, and the B-channel fused image are fused to obtain a fused image.

[0043] A second aspect of this application provides a visible light and infrared image fusion apparatus based on maximum saliency, comprising:

[0044] The acquisition module is used to acquire a first image and a second image, both of which contain the target object, and the target object is located in the same position in the first image and the second image. The first image is a visible light image and the second image is an infrared image.

[0045] The separation module is used to perform channel separation on the first image and the second image respectively;

[0046] The comparison module is used to compare the saliency of the image after the separation of the first image and the image after the separation of the second image, and obtain the R-channel fused image, the G-channel fused image and the B-channel fused image;

[0047] The fusion module is used to obtain a fused image based on the R-channel fused image, the G-channel fused image, and the B-channel fused image.

[0048] In some alternative implementations, the separate modules include:

[0049] The first separation processing module is used to perform channel separation on the first image to obtain the third image, the fourth image and the fifth image. The third image is a visible light R channel image, the fourth image is a visible light G channel image and the fifth image is a visible light B channel image.

[0050] The second separation processing module performs channel separation on the second image to obtain the sixth, seventh, and eighth images. The sixth image is an infrared R-channel image, the seventh image is an infrared G-channel image, and the eighth image is a visible light B-channel image.

[0051] In some alternative implementations, the comparison module includes:

[0052] The first comparison processing module is used to compare the saliency of the third image and the sixth image;

[0053] The second comparison processing module is used to compare the saliency of the fourth image and the seventh image;

[0054] The third comparison processing module is used to compare the saliency of the fifth image and the eighth image.

[0055] The present application will be further described below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0056] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0057] Figure 1 A schematic flowchart illustrating the visible light and infrared image fusion method provided in this application embodiment;

[0058] Figure 2 A schematic diagram of the visible light and infrared image fusion device provided in the embodiments of this application; Detailed Implementation

[0059] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the specific embodiments of this application are described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.

[0060] Please refer to Figure 1 , Figure 1 This is a schematic flowchart of a visible light and infrared image fusion method provided in an embodiment of this application. The method, based on maximum saliency, is applied to an infrared imaging device that includes both a visible light imaging module and an infrared imaging module. The method includes steps S100 to S400.

[0061] S100, acquire a first image and a second image that both contain the target object, and the target object is in the same position in the first image and the second image. The first image is a visible light image and the second image is an infrared image.

[0062] In step S100, the infrared imaging device acquires a first image and a second image, wherein the pixels in the first image and the second image correspond one-to-one, that is, the pixels in the first image and the pixels in the second image are the same.

[0063] S200, the infrared imaging device performs channel separation on the first image and the second image respectively.

[0064] Specifically, the first image is separated into three channels to obtain the third, fourth, and fifth images. The third image is the visible light R channel image, the fourth image is the visible light G channel image, and the fifth image is the visible light B channel image.

[0065] Channel separation is performed on the second image to obtain the sixth, seventh, and eighth images. The sixth image is an infrared R-channel image, the seventh image is an infrared G-channel image, and the eighth image is a visible light B-channel image.

[0066] S300, the infrared imaging device compares the saliency of the image after the separation of the first image with that after the separation of the second image, and obtains the R-channel fused image, the G-channel fused image and the B-channel fused image.

[0067] The S400 infrared imaging device obtains a fused image based on the R-channel fused image, the G-channel fused image, and the B-channel fused image.

[0068] This method separates the channels of the first and second images, enabling individual processing and analysis of their different attribute features. Furthermore, by comparing saliency, it obtains R-channel fused images, G-channel fused images, and B-channel fused images, thus fully extracting and preserving the salient features in both images. In addition, this method requires less computation, reducing the computational load and lowering the performance requirements of the deployment platform, thereby improving its applicability.

[0069] In some embodiments, in order to obtain more prominent features, comparing the saliency of the image after the first image separation with the image after the second image separation includes: comparing the saliency of the third image with the sixth image; comparing the saliency of the fourth image with the seventh image; and comparing the saliency of the fifth image with the eighth image.

[0070] Specifically, comparing the saliency of the third image and the sixth image includes: obtaining the pixel value of a pixel in the third image; obtaining the pixel value of the corresponding pixel in the sixth image; determining whether the pixel value of a pixel in the third image is greater than the pixel value of the corresponding pixel in the sixth image; if so, using the pixel value of the pixel in the third image as the pixel value of the R-channel fused image at that point; if not, using the pixel value of the pixel in the sixth image as the pixel value of the R-channel fused image at that point; traversing all pixels in the third and sixth images and determining the pixel value to obtain the R-channel fused image.

[0071] Specifically, comparing the saliency of the fourth image and the seventh image includes: obtaining the pixel value of a pixel in the fourth image; obtaining the pixel value of the corresponding pixel in the seventh image; determining whether the pixel value of a pixel in the fourth image is greater than the pixel value of the corresponding pixel in the seventh image; if so, using the pixel value of the pixel in the fourth image as the pixel value of the G-channel fused image at that point; if not, using the pixel value of the pixel in the seventh image as the pixel value of the G-channel fused image at that point; traversing all pixels in the fourth and seventh images and determining the pixel value to obtain the G-channel fused image.

[0072] Specifically, comparing the saliency of the fifth image and the eighth image includes: obtaining the pixel value of a pixel in the fifth image; obtaining the pixel value of the corresponding pixel in the eighth image; determining whether the pixel value of a pixel in the fifth image is greater than the pixel value of the corresponding pixel in the eighth image; if so, using the pixel value of the pixel in the fifth image as the pixel value of the B-channel fused image at that point; if not, using the pixel value of the pixel in the eighth image as the pixel value of the B-channel fused image at that point; traversing all pixels in the fifth and eighth images and determining the pixel value to obtain the B-channel fused image.

[0073] In some embodiments, a fused image is obtained based on the R-channel fused image, the G-channel fused image, and the B-channel fused image, including: fusing the R-channel fused image, the G-channel fused image, and the B-channel fused image to obtain a fused image.

[0074] Please refer to Figure 2 , Figure 2 This is a schematic diagram of the visible light and infrared image fusion device provided in an embodiment of this application; it includes: an acquisition module, a separation module, a comparison module, and a fusion module.

[0075] The acquisition module is used to acquire a first image and a second image, both of which contain the target object, and the target object is located in the same position in the first image and the second image. The first image is a visible light image and the second image is an infrared image.

[0076] The separation module is used to perform channel separation on the first image and the second image respectively;

[0077] The comparison module is used to compare the saliency of the image after the separation of the first image and the image after the separation of the second image, and obtain the R-channel fused image, the G-channel fused image and the B-channel fused image;

[0078] The fusion module is used to obtain a fused image based on the R-channel fused image, the G-channel fused image, and the B-channel fused image.

[0079] In some embodiments, the separation module includes: a first separation processing module, configured to perform channel separation on the first image to obtain a third image, a fourth image, and a fifth image, wherein the third image is a visible light R-channel image, the fourth image is a visible light G-channel image, and the fifth image is a visible light B-channel image; and a second separation processing module, configured to perform channel separation on the second image to obtain a sixth image, a seventh image, and an eighth image, wherein the sixth image is an infrared R-channel image, the seventh image is an infrared G-channel image, and the eighth image is a visible light B-channel image.

[0080] In some embodiments, the comparison module includes: a first comparison processing module for comparing the saliency of a third image and a sixth image; a second comparison processing module for comparing the saliency of a fourth image and a seventh image; and a third comparison processing module for comparing the saliency of a fifth image and an eighth image.

[0081] In some embodiments, the first comparison processing module may further include: obtaining the pixel value of a pixel in the third image; obtaining the pixel value of the corresponding pixel in the sixth image; determining whether the pixel value of a pixel in the third image is greater than the pixel value of the corresponding pixel in the sixth image; if so, using the pixel value of the pixel in the third image as the pixel value of the R-channel fused image at that point; if not, using the pixel value of the pixel in the sixth image as the pixel value of the R-channel fused image at that point; traversing all pixels in the third image and the sixth image, and determining the pixel value to obtain the R-channel fused image.

[0082] In some embodiments, the second comparison processing module may further include: comparing the saliency of the fourth image and the seventh image, including: obtaining the pixel value of a pixel in the fourth image; obtaining the pixel value of the corresponding pixel in the seventh image; determining whether the pixel value of a pixel in the fourth image is greater than the pixel value of the corresponding pixel in the seventh image; if so, using the pixel value of the pixel in the fourth image as the pixel value of the G-channel fused image at that point; if not, using the pixel value of the pixel in the seventh image as the pixel value of the G-channel fused image at that point; traversing all pixels in the fourth image and the seventh image, and determining the size of the pixel values ​​to obtain the G-channel fused image.

[0083] In some embodiments, the third comparison processing module may further include: comparing the saliency of the fifth image and the eighth image, including: obtaining the pixel value of a pixel in the fifth image; obtaining the pixel value of the corresponding pixel in the eighth image; determining whether the pixel value of a pixel in the fifth image is greater than the pixel value of the corresponding pixel in the eighth image; if so, using the pixel value of the pixel in the fifth image as the pixel value of the B-channel fused image at that point; if not, using the pixel value of the pixel in the eighth image as the pixel value of the B-channel fused image at that point; traversing all pixels in the fifth image and the eighth image, and determining the pixel value, to obtain the B-channel fused image.

[0084] In some embodiments, the fusion module may further include: fusing the R-channel fused image, the G-channel fused image, and the B-channel fused image to obtain a fused image.

[0085] In the description of the embodiments of this application, unless otherwise stated, " / " means "or", for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.

[0086] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0087] Furthermore, various aspects or features of this application can be implemented as methods, apparatus, or articles of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used herein encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, computer-readable media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes), optical discs (e.g., compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROMs), cards, sticks, or key drives, etc.). Additionally, the various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0088] It should also be understood that, in the embodiments of this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0089] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0090] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0091] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described below are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces, apparatuses, or units, or they may be electrical, mechanical, or other forms of connection.

[0092] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.

[0093] The above are merely preferred embodiments of this application and do not constitute any limitation on this application. Any person skilled in the art can make many possible variations and modifications to the technical solution of this application, or modify it into equivalent embodiments, without departing from the scope of the technical solution of this application. Therefore, all equivalent changes made based on the shape, structure, and principle of this application without departing from the content of the technical solution of this application should be covered within the protection scope of this application.

Claims

1. A visible light and infrared image fusion method based on maximum saliency, characterized in that, include: A first image and a second image, both containing the target object, are acquired, and the target object is located in the same position in the first image and the second image. The first image is a visible light image, and the second image is an infrared image. Channel separation is performed on the first image and the second image respectively; wherein, channel separation is performed on the first image to obtain a visible light R channel image, a visible light G channel image and a visible light B channel image; channel separation is performed on the second image to obtain an infrared R channel image, an infrared G channel image and an infrared B channel image; For corresponding pixels in the visible light R-channel image and the infrared R-channel image, compare their pixel values ​​and use the pixel value of the larger pixel value as the pixel value of the R-channel fused image at the corresponding pixel. Traverse all pixels in the visible light R-channel image and the infrared R-channel image to obtain the R-channel fused image. For corresponding pixels in the visible light G-channel image and the infrared G-channel image, compare their pixel values ​​and use the pixel value of the larger pixel value as the pixel value of the G-channel fused image at the corresponding pixel. Traverse all pixels in the visible light G-channel image and the infrared G-channel image to obtain the G-channel fused image. For corresponding pixels in the visible light B-channel image and the infrared B-channel image, compare their pixel values ​​and use the pixel value of the larger pixel value as the pixel value of the B-channel fused image at the corresponding pixel. Traverse all pixels in the visible light B-channel image and the infrared B-channel image to obtain the B-channel fused image. The R-channel fused image, G-channel fused image, and B-channel fused image are fused to obtain a fused image.

2. A visible light and infrared image fusion device based on maximum saliency, characterized in that, include: The acquisition module acquires a first image and a second image that both contain the target object, and the target object is located in the same position in the first image and the second image. The first image is a visible light image, and the second image is an infrared image. The separation module performs channel separation on the first image and the second image respectively; wherein, the first image is separated into a visible light R channel image, a visible light G channel image, and a visible light B channel image; the second image is separated into an infrared R channel image, an infrared G channel image, and an infrared B channel image. The comparison module compares the pixel values ​​of corresponding pixels in the visible light R-channel image and the infrared R-channel image, and uses the pixel value of the pixel with the larger pixel value as the pixel value of the R-channel fused image at the corresponding pixel. It then traverses all pixels in the visible light R-channel image and the infrared R-channel image to obtain the R-channel fused image. For corresponding pixels in the visible light G-channel image and the infrared G-channel image, compare their pixel values ​​and use the pixel value of the larger pixel value as the pixel value of the G-channel fused image at the corresponding pixel. Traverse all pixels in the visible light G-channel image and the infrared G-channel image to obtain the G-channel fused image. For corresponding pixels in the visible light B-channel image and the infrared B-channel image, compare their pixel values ​​and use the pixel value of the larger pixel value as the pixel value of the B-channel fused image at the corresponding pixel. Traverse all pixels in the visible light B-channel image and the infrared B-channel image to obtain the B-channel fused image. The fusion module fuses the R-channel fused image, the G-channel fused image, and the B-channel fused image to obtain a fused image.

Citation Information

Patent Citations

  • Image fusion method, device and equipment, and storage medium

    CN114529488A