Image fusion method and system based on high- and low-frequency information supplementation
By using high and low frequency information supplementation technology in image fusion, using saliency maps and local entropy-guided weight maps and gradient maps, the problem of color distortion in near-infrared and visible light image fusion is solved, and a clear, natural and good visual effect is generated. Fusion images.
Patent Information
- Application Number
- CN202210151501.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-18
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-02-18
AI Technical Summary
When existing image fusion methods process near-infrared and visible light images, simple brightness superposition leads to over-saturation and color distortion in large areas of the image, especially for poor processing of details of houses and vegetation.
A method based on high- and low-frequency information supplementation is adopted, and the weight map guided by the saliency map and the weight map guided by the normalized local entropy are obtained through HSV conversion to guide the low-frequency image, and the gradient map of the VIS image is used to supplement the high-frequency image. The final fusion is performed to improve the clarity and naturalness of the image.
It achieves the effect of reducing color distortion while maintaining improved detail information. The generated fusion image is clearer and more natural, avoiding color distortion caused by excessive brightness of the image, and improving the visual effect.
Smart Images

Figure CN114638770B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image fusion, and in particular to an image fusion method and system based on high- and low-frequency information supplementation. Background Art
[0002] Multiscale decomposition is a very commonly used image fusion method, and multiscale transformation methods include pyramid transformation, wavelet transformation, non-subsampled contourlet transformation, etc. Its fusion steps are divided into three steps: first, the source image is multi-scale decomposed to obtain sub-images of different levels, then the images of different levels are fused according to the corresponding fusion rules, and finally the final result is obtained through multiscale inverse transformation. However, when processing the fusion of near-infrared and visible light images, the existing fusion rules simply process the information of the entire picture without distinguishing between the sky area and the earth area. Such a simple brightness superposition will cause the saturation of the earth area of the image to be too high and the color to be distorted. Many traditional methods can enhance the details of distant mountains when processing the fusion of near-infrared images (NIR images) and visible light images (VIS images), but obvious color distortion will be generated for houses and vegetation. The above shortcomings of the prior art lead to the poor fusion effect of near-infrared images and visible light images at present. The above content is only used to assist in understanding the technical solution of the present invention, and does not mean that the above content is recognized as prior art. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides an image fusion method based on high- and low-frequency information supplementation, comprising the steps of:
[0004] S1: Acquire a VIS image, perform HSV conversion on the VIS image to obtain a VIS-V image, and extract a weight map Ls guided by a saliency map of the VIS-V image;
[0005] S2: Acquire a NIR image, perform multi-scale decomposition on the NIR image to obtain a high-frequency NIR image and a low-frequency NIR image, perform multi-scale decomposition on the VIS-V image to obtain a high-frequency VIS-V image and a low-frequency VIS-V image; combine the high-frequency VIS-V image and the high-frequency NIR image into a high-frequency image, and combine the low-frequency VIS-V image and the low-frequency NIR image into a low-frequency image;
[0006] S3: extracting a normalized local entropy-guided weight map Lg of the NIR image;
[0007] S4: guiding the low-frequency image through the weight map Lg guided by the normalized local entropy and the weight map Ls guided by the saliency map to obtain a guided low-frequency image;
[0008] S5: Extracting the gradient map of the VIS-V image The high-frequency image is supplemented to obtain a supplemented high-frequency image H u , supplement the guided low-frequency image to obtain a supplemented low-frequency image LF; fuse the supplemented high-frequency image and the supplemented low-frequency image to obtain a fused image Fused C.
[0009] Preferably, in step S1, extracting the weight map Ls guided by the saliency map of the VIS-V image is specifically:
[0010] S11: Obtain the local grayscale and the global average grayscale of the VIS-V image, and obtain the saliency map of the VIS-V image by comparing the local grayscale with the global average grayscale. The calculation formula is as follows:
[0011]
[0012] Where a is the VIS-V image number, k is the pixel number, is the gray value of the kth pixel of the ath VIS-V image; M(.) is the global average gray value of the VIS-V image, I a is the ath VIS-V image;
[0013] For any pixel in the ath VIS-V image, if Then keep the pixel, otherwise set the gray value of the pixel to 0, and obtain the saliency map b of the VIS-V image after comparing all the pixels of the a-th VIS-V image;
[0014] S12: Using the VIS image as a guide image, filtering the salient map mapb of the VIS-V image to obtain a weight map Ls guided by the salient map, and the calculation formula is as follows:
[0015] LS a =G r,ε (S a ,I a )
[0016] Among them, Ls a is the weight map guided by the saliency map of the a-th VIS-V image; G r,ε is the guide filter function, r and ε are preset parameters, r is used to control the size of the guide filter function, and ε is used to determine the blur degree of the guide filter function; S a Represents the saliency map of the a-th VIS-V image.
[0017] Preferably, step S2 specifically comprises:
[0018] S21: filtering the NIR image by a Gaussian pyramid-based LP decomposition method to obtain a Gaussian pyramid sequence of the NIR image;
[0019] S22: Obtain the high-frequency NIR image and the low-frequency NIR image by calculating the Gaussian pyramid sequence of the NIR image;
[0020] S23: filtering the VIS-V image by a Gaussian pyramid-based LP decomposition method to obtain a Gaussian pyramid sequence of the VIS-V image;
[0021] S24: Obtain the high-frequency VIS-V image and the low-frequency VIS-V image by calculating the Gaussian pyramid sequence of the VIS-V image.
[0022] Preferably, step S3 specifically comprises:
[0023] S31: Obtain the local entropy of each pixel of the NIR image, and the calculation formula is as follows:
[0024]
[0025] Where x is the horizontal coordinate of the pixel of the NIR image, y is the vertical coordinate of the pixel of the NIR image, H(x,y) is the local entropy of the pixel (x,y); i is the horizontal coordinate number, j is the vertical coordinate number; η is the 5*5 domain range; f is the grayscale order number, and p(f) is the probability of occurrence of the f-th order grayscale;
[0026] Normalizing the local entropy of each pixel to 1 / 8 to obtain a local entropy weight map map a;
[0027] S32: Decomposing the low-frequency VIS-V image by Laplace pyramid to obtain a Laplace decomposed VIS-V image, the calculation formula is as follows:
[0028]
[0029] Among them, I Lv is the low-frequency VIS-V image, l is the layer number of Laplace, L{.} is the Laplace decomposition of the lth layer, L{I Lv} l is the VIS-V image after Laplace decomposition of the lth layer; R is the interpolation filter; G{.} is the Gaussian decomposition, G{I Lv} l-1 is the VIS-V image after Gaussian decomposition of the l-1th layer, G{I Lv} l is the VIS-V image after Gaussian decomposition of the lth layer, ↑2 is double upsampling;
[0030] S33: Perform Gaussian decomposition on the local entropy weight map map a to obtain the local entropy weight map G{I W1} l , where I W1 is the local entropy weight map;
[0031] The local entropy weight map G{I W1} l and the VIS-V image L{I Lv} l The fusion is performed to obtain the normalized local entropy guided weight map Lg, and the calculation formula is as follows:
[0032] FP{Lg} l =G{I W1} l L{I Lv} l
[0033] Among them, FP{} l is the fusion pyramid of the lth layer, and Lg is the weight map guided by the normalized local entropy.
[0034] Preferably, step S4 is specifically:
[0035] S41: guiding the low-frequency NIR image through the weight map guided by the normalized local entropy to obtain a guided low-frequency NIR image LG;
[0036] S42: guiding the low-frequency VIS-V image through the weight map guided by the saliency map to obtain a guided low-frequency VIS-V image LS;
[0037] S43: The guided low-frequency image includes: the guided low-frequency NIR image LG and the guided low-frequency VIS-V image LS.
[0038] Preferably, step S5 is specifically:
[0039] S51: The image with the largest brightness value in the high-frequency image is taken as the high-brightness image, and the formula is as follows:
[0040]
[0041] Among them, u is the image number, HF u is the u-th high-brightness image, Hn u is the brightness value of the u-th high-frequency NIR image, Hv u is the brightness value of the u-th high-frequency VIS-V image;
[0042] If the brightness value of the u-th high-frequency NIR image is greater than the brightness value of the u-th high-frequency VIS-V image, the u-th high-frequency NIR image is used as the u-th high-brightness image; otherwise, the u-th high-frequency VIS-V image is used as the u-th high-brightness image;
[0043] S52: Supplement the high brightness image by using the gradient map of the VIS image to obtain the supplemented high frequency image, and the calculation formula is as follows:
[0044]
[0045] in, is the gradient map of the VIS image;
[0046] S53: Supplement the guided low-frequency image, and obtain the supplemented low-frequency image using the following calculation formula:
[0047] LF=α*LG+β*LS+γ*L
[0048] Among them, LF is the low-frequency image after supplementation, α, β and γ are weight coefficients, LG is the low-frequency NIR image after guidance, LS is the low-frequency VIS-V image after guidance, and L is the adjustment image;
[0049] S54: The supplemented high-frequency image H u The fused image is then fused with the supplemented low-frequency image LF to obtain the fused image.
[0050] An image fusion system based on high- and low-frequency information supplementation, comprising:
[0051] A weight map Ls extraction module is used to obtain a VIS image, perform HSV conversion on the VIS image to obtain a VIS-V image, and extract a weight map Ls guided by a saliency map of the VIS-V image;
[0052] A high-frequency image and a low-frequency image acquisition module is used to acquire a NIR image, perform multi-scale decomposition on the NIR image to obtain a high-frequency NIR image and a low-frequency NIR image, perform multi-scale decomposition on the VIS-V image to obtain a high-frequency VIS-V image and a low-frequency VIS-V image; combine the high-frequency VIS-V image and the high-frequency NIR image into a high-frequency image, and combine the low-frequency VIS-V image and the low-frequency NIR image into a low-frequency image;
[0053] A weight map Lg extraction module, used to extract a normalized local entropy guided weight map Lg of the NIR image;
[0054] A guided low-frequency image acquisition module, used to guide the low-frequency image through the weight map Lg guided by the normalized local entropy and the weight map Ls guided by the saliency map to obtain a guided low-frequency image;
[0055] Fusion image acquisition module, used to extract the gradient map of VIS-V image The high-frequency image is supplemented to obtain a supplemented high-frequency image H u , supplement the guided low-frequency image to obtain a supplemented low-frequency image LF; fuse the supplemented high-frequency image and the supplemented low-frequency image to obtain a fused image Fused C.
[0056] The present invention has the following beneficial effects:
[0057] 1. The gradient map of the VIS image is introduced into the high-frequency image to supplement the lost high-frequency information and enhance the edge effect of the fused image;
[0058] 2. The low-frequency image is guided by the weight map guided by the saliency map of the VIS-V image and the weight map guided by the normalized local entropy of the NIR image, making the low-frequency image clearer without causing color distortion due to excessive brightness;
[0059] 3. The proposed method is compared with other most advanced algorithms on public datasets. Both qualitative and quantitative experiments prove the advanced nature of the proposed method, which can obtain clear, information-rich and very natural fused images. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 This is a flow chart of a method according to an embodiment of the present invention;
[0061] Figure 2 is a schematic diagram of fused images;
[0062] Figure 3 is the unregistered instance image;
[0063] Figure 4 The weight map guided by the saliency map;
[0064] Figure 5 This is a schematic diagram of the supplemented high-frequency image;
[0065] Figure 6 For qualitative experimental comparison Figure 1 ;
[0066] Figure 7 For qualitative experimental comparison Figure 2 ;
[0067] Figure 8 For qualitative experimental comparison Figure 3 ;
[0068] Fig. 9 Schematic diagram for comparison of quantitative results;
[0069] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0070] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0071] The purpose of image fusion is to combine the valuable information of different source images into a single clear and complete image. The fused image contains rich information, has a good visual effect, and can eliminate the redundancy of source image information. Based on the above advantages, image fusion has a wide range of uses, including video surveillance, image enhancement, tumor detection, image restoration, etc. This paper mainly studies the image fusion of near-infrared and visible light.
[0072] Visible light images are three-channel color images with color information. However, due to the influence of weather, there is haze or aerosol in the air, which makes the distant scenery blurred and visibility low, affecting visibility. The near-infrared spectrum (700-1100nm) can penetrate the fine particles in the air and have good pixel intensity for distant mountains and vegetation. It can capture distant details and is not affected by bad weather. Therefore, the near-infrared image and the visible light image are fused into a clearer image with more details to enhance and defog the image.
[0073] The research of the present invention is based on pixel-level fusion, which is the most basic level, directly corresponding to the pixel information of the source image, and can achieve the most detailed fusion effect. At the same time, multi-scale transformation (MST) is a very common and effective image fusion method, and the multi-scale transformation method includes pyramid transformation, wavelet transformation, non-subsampled contourlet transformation, etc. Its fusion step is divided into three steps: first, the source image is multi-scale decomposed to obtain sub-images of different levels, then the images of different levels are fused according to the corresponding fusion rules, and finally the final result is obtained by multi-scale inverse transformation. However, when processing the fusion of near-infrared and visible light images, the existing fusion rules simply process the information of the entire picture without distinguishing the sky area and the earth area. Such a simple brightness superposition will cause the saturation of the earth area of the image to be too high and the color is distorted. Many traditional methods can enhance the details of distant mountains when fusion of NIR and VIS images, but will produce obvious color distortion for houses and vegetation. The method of the present invention is based on Gaussian pyramid multi-scale transformation, and the following improvements are made in the low-frequency area: considering that houses or vegetation have high spatial existence characteristics, the present invention proposes to use VIS image to guide the saliency map to reduce the pixel intensity of targets such as houses, so that the fusion result is more realistic. In addition, the normalized local entropy weight map of NIR is used to guide the low-frequency image of VIS to obtain more detailed information. For the high-frequency part, since the Gaussian pyramid will lose part of the high-frequency information during the image convolution and downsampling process, the present invention introduces the gradient map of the VIS image in the high-frequency part to supplement the high-frequency information.
[0074] Reference Figure 1 The present invention provides an image fusion method based on high- and low-frequency information supplementation, comprising the steps of:
[0075] S1: Acquire a VIS image, perform HSV (Hue, Saturation, Value) conversion on the VIS image to obtain a VIS-V image, and extract a weight map Ls guided by a saliency map of the VIS-V image;
[0076] S2: Acquire a NIR image, perform multi-scale decomposition on the NIR image to obtain a high-frequency NIR image and a low-frequency NIR image, perform multi-scale decomposition on the VIS-V image to obtain a high-frequency VIS-V image and a low-frequency VIS-V image; combine the high-frequency VIS-V image and the high-frequency NIR image into a high-frequency image, and combine the low-frequency VIS-V image and the low-frequency NIR image into a low-frequency image;
[0077] S3: extracting a normalized local entropy-guided weight map Lg of the NIR image;
[0078] S4: guiding the low-frequency image through the weight map Lg guided by the normalized local entropy and the weight map Ls guided by the saliency map to obtain a guided low-frequency image;
[0079] S5: Extracting the gradient map of the VIS-V image The high-frequency image is supplemented to obtain a supplemented high-frequency image H u , supplementing the guided low-frequency image to obtain a supplemented low-frequency image LF; fusing the supplemented high-frequency image and the supplemented low-frequency image to obtain a fused image Fused C;
[0080] like Figure 2 As shown, (a) is the NIR image, (b) is the VIS image, (c) is the result obtained by the traditional MST method, and (d) is the fused image Fused C obtained by the method of the present invention. It can be seen that a relatively clear fused image can be obtained by using the traditional MST method, but simply performing mean fusion in the low-frequency band will cause excessive color saturation of vegetation and houses. The method of the present invention makes the picture clearer while ensuring that the details are improved, without distorting the colors of clouds, vegetation and houses, thereby improving the visual effect.
[0081] In step S1, when the multi-scale transformation method is used to fuse near-infrared and visible light images, simple fusion of low-frequency information cannot achieve the desired result because it often causes intensity distortion when superimposing low-frequency information. In addition, the present invention finds that there are often unregistered source images in the data set, and simple fusion methods cannot suppress the artifact phenomenon of the fusion result caused by this, such as Figure 3 As shown;
[0082] The problem of artifacts caused by generating a saliency map of low quality can be solved by using spatial consistency, such as constructing and globally minimizing an energy function. However, this method is inefficient and cannot handle artifacts caused by misalignment of the source images. In view of these problems, the present invention provides the following solutions: taking the VIS image as the leading factor, extracting the saliency map of the VIS image, and using the spatial saliency map to guide the VIS grayscale image, so as to highlight the visible light image part, and weaken the NIR image information that is not aligned with the VIS image boundary, so as to achieve the effect of weakening the artifacts of the fused image. In addition, the obtained guided image also has a good effect on image detail enhancement.
[0083] Extract the weight map Ls guided by the saliency map of the VIS-V image, specifically:
[0084] S11: Obtain the local grayscale and the global average grayscale of the VIS-V image, and obtain the saliency map of the VIS-V image by comparing the local grayscale with the global average grayscale. The calculation formula is as follows:
[0085]
[0086] Where a is the VIS-V image number, k is the pixel number, is the gray value of the kth pixel of the ath VIS-V image; M(.) is the global average gray value of the VIS-V image, I a is the ath VIS-V image;
[0087] For any pixel in the ath VIS-V image, if Then keep the pixel, otherwise set the gray value of the pixel to 0, and obtain the saliency map b of the VIS-V image after comparing all the pixels of the a-th VIS-V image;
[0088] S12: Using the VIS image as a guide image, filtering the saliency map b of the VIS-V image to obtain a weight map Ls guided by the saliency map, and the calculation formula is as follows:
[0089] LS a =G r,ε (S a ,I a ) (2)
[0090] Among them, Ls a is the weight map guided by the saliency map of the a-th VIS-V image; G r,ε is the guide filter function, r and ε are preset parameters, r is used to control the size of the guide filter function, and ε is used to determine the blur degree of the guide filter function; S a represents the saliency map of the a-th VIS-V image;
[0091] In the specific implementation, r is set to 200, and ε is set to 0.004 to make the weight map guided by the saliency map clear enough; the experimental results are as follows Figure 4 As shown, the weight map guided by the saliency map has very clear edges and rich detail information. In step S1, no NIR image information is added, which can ensure the authenticity of the VIS image and does not introduce the unregistered parts in the NIR, so no artifacts are generated.
[0092] Multiscale decomposition plays an important role in traditional methods. Multiscale decomposition has made great progress in the field of image fusion. Images obtained using multiscale decomposition methods usually have good visual features, mainly because the sub-images obtained by multi-scale transformation of the source image are consistent with human visual perception.
[0093] Step S2 is specifically as follows:
[0094] S21: filtering the NIR image by a Gaussian pyramid-based LP decomposition method to obtain a Gaussian pyramid sequence of the NIR image;
[0095] S22: Obtain the high-frequency NIR image and the low-frequency NIR image by calculating the Gaussian pyramid sequence of the NIR image;
[0096] S23: filtering the VIS-V image by a Gaussian pyramid-based LP decomposition method to obtain a Gaussian pyramid sequence of the VIS-V image;
[0097] S24: Obtain the high-frequency VIS-V image and the low-frequency VIS-V image by calculating the Gaussian pyramid sequence of the VIS-V image;
[0098] Specifically, using the LP decomposition method as a multi-scale decomposition method can decompose the source image into a high-frequency image with clear contours and a low-frequency part with local brightness information. At the same time, the LP decomposition method also ensures the rapidity of the algorithm and can save a lot of computing time. The LP decomposition method based on the Gaussian pyramid uses a two-dimensional window function of the following formula to filter the image:
[0099]
[0100] ω is a 5*5 window function with low-pass characteristics. Choosing a smaller size can fully filter the image;
[0101] Assume that the rows and columns of the source image are R and C respectively. For any positive integers P and Q, C = P*2 N +1 and R = Q*2 N +1, the source image can be used to construct a pyramid; low-pass filtering and downsampling the source image can obtain the first layer T0 of the pyramid; then the first layer image is subjected to the above operation to obtain the second layer T1 of the Gaussian pyramid, and then the operation is repeated for each layer to obtain the top layer T N ; T0, T1…T N It is a sub-image sequence with a pyramid data structure; for each layer of the pyramid, its image size is 1 / 4 of the previous layer; after constructing the Gaussian pyramid sequence, the image is interpolated and expanded to obtain The expanded image has the same size as the image in the previous layer. This process is repeated for each layer to obtain a new sequence The calculation method of LP image is as follows,
[0102]
[0103] Finally, the low-frequency information LP of the source image can be obtained N and high frequency information LP t(t≠N); N is the total number of layers of the pyramid data structure;
[0104] Like the YCbCr color space, HSV also has a brightness channel that is decoupled from color information. Experiments have shown that the HSV color channel can better guarantee color saturation than other color spaces, and the color of images fused using HSV is closer to the source image.
[0105] In this embodiment, step S3 is specifically as follows:
[0106] S31: Although the weight map guided by the saliency map of the VIS-V image can obtain real and rich image information, the detailed information of NIR and the brightness information that can make the fusion result clearer have not been introduced yet; brightness information is a double-edged sword. Appropriate brightness information can make the fused image clearer and improve the image quality, but excessive brightness information will cause the color of the fusion result to be distorted; in this invention, based on the idea of taking VIS image as the leading factor, the normalized local entropy weight map of NIR is used to guide the LP decomposition of VIS low-frequency image;
[0107] The local entropy of each pixel of the NIR image is obtained, and the calculation formula is as follows:
[0108]
[0109] Where x is the horizontal coordinate of the pixel of the NIR image, y is the vertical coordinate of the pixel of the NIR image, H(x,y) is the local entropy of the pixel (x,y); i is the horizontal coordinate number, j is the vertical coordinate number; η is the 5*5 domain range; f is the grayscale order number, and p(f) is the probability of occurrence of the f-th order grayscale;
[0110] Because the grayscale of the source image is eight bits, the local entropy of each pixel is normalized by 1 / 8 to make its size within [0-1]. The local entropy weight map map a can be obtained from H(x, y);
[0111] S32: The guided image may contain detail information in the NIR image, so that the fusion result is enhanced in detail while avoiding the introduction of artifacts. The low-frequency VIS-V image is decomposed by a Laplace pyramid to obtain a Laplace decomposed VIS-V image. The calculation formula is as follows:
[0112]
[0113] Among them, I Lv is the low-frequency VIS-V image, l is the layer number of Laplace, L{.} is the Laplace decomposition of the lth layer, L{I Lv} lis the VIS-V image after Laplace decomposition of the lth layer; R is the interpolation filter; G{.} is the Gaussian decomposition, G{I Lv} l-1 is the VIS-V image after Gaussian decomposition of the l-1th layer, G{I Lv} l is the VIS-V image after Gaussian decomposition of the lth layer, ↑2 is double upsampling;
[0114] S33: Perform Gaussian decomposition on the local entropy weight map map a to obtain the local entropy weight map G{I W1} l , where I W1 is the local entropy weight map;
[0115] The local entropy weight map G{I W1} l and the VIS-V image L{I Lv} l The fusion is performed to obtain the normalized local entropy guided weight map Lg, and the calculation formula is as follows:
[0116] FP{Lg} l =G{I W1} l L{I Lv} l (7)
[0117] Among them, FP{} l is the fusion pyramid of the lth layer, and Lg is the weight map guided by the normalized local entropy.
[0118] In this embodiment, step S4 is specifically as follows:
[0119] S41: guiding the low-frequency NIR image through the weight map guided by the normalized local entropy to obtain a guided low-frequency NIR image LG;
[0120] S42: guiding the low-frequency VIS-V image through the weight map guided by the saliency map to obtain a guided low-frequency VIS-V image LS;
[0121] S43: The guided low-frequency image includes: the guided low-frequency NIR image LG and the guided low-frequency VIS-V image LS.
[0122] In this embodiment, the VIS image contains color information and insufficiently clear texture information, while the NIR image contains rich detail information, so the NIR image can be used to enhance the VIS image to achieve a better visual effect; the texture details and edge parts in the image are mainly represented by high-frequency information, while the local pixel intensity is represented by low-frequency information, so different fusion strategies are adopted for images of different frequencies in the present invention;
[0123] Step S5 is specifically as follows:
[0124] S51: High-frequency information is mainly the part of the image where the brightness value changes greatly, that is, the area with a large absolute value. Large high-frequency information can obtain clear contour information, which is more conducive to describing the image. Therefore, the maximum absolute principle is adopted, and the image with the largest brightness value in the high-frequency image is taken as the high-brightness image. The formula is as follows:
[0125]
[0126] Among them, u is the image number, HF u is the u-th high-brightness image, Hn u is the brightness value of the u-th high-frequency NIR image, Hv u is the brightness value of the u-th high-frequency VIS-V image;
[0127] If the brightness value of the u-th high-frequency NIR image is greater than the brightness value of the u-th high-frequency VIS-V image, the u-th high-frequency NIR image is used as the u-th high-brightness image; otherwise, the u-th high-frequency VIS-V image is used as the u-th high-brightness image;
[0128] S52: Since the Gaussian pyramid is prone to lose some high-frequency information during the image convolution and downsampling process, the high-brightness image is supplemented by the gradient map of the VIS image to obtain the supplemented high-frequency image. The calculation formula is as follows:
[0129]
[0130] in, is the gradient map of the VIS image;
[0131] like Figure 5 As shown, when adding the gradient map The edge of the roof becomes clearer. After using the gradient map to supplement the high-frequency information, Figure b has a better visual effect.
[0132] S53: The low-frequency part mainly reflects the pixel intensity distribution of the image background, and also includes the area where most pixels are evenly distributed; the traditional MST decomposition method adopts the average fusion method, that is, half of the pixels are extracted from the low-frequency images of the two source images and then added, but this simple fusion method will distort the color of the fused image, resulting in very unnatural results. For simple low-frequency VIS images, the local entropy weight map of the NIR image is used to guide, and an image LG containing more information is obtained. In addition, an image LS that uses VIS to guide the saliency map is introduced to ensure sufficient VIS information. In addition, an adjustment image L that can reflect details and brightness information is added to supplement the guided low-frequency image. The calculation formula for obtaining the supplemented low-frequency image is as follows:
[0133] LF=α*LG+β*LS+γ*L (10)
[0134] Among them, LF is the low-frequency image after supplementation, α, β and γ are weight coefficients, LG is the low-frequency NIR image after guidance, LS is the low-frequency VIS-V image after guidance, and L is the adjustment image;
[0135] Specifically, α and β are set to 1 / 2, and γ is set to 1 / 3;
[0136] S54: The supplemented high-frequency image H u The fused image is then fused with the supplemented low-frequency image LF to obtain the fused image.
[0137] Experimental process:
[0138] In order to verify the effectiveness of the method of the present invention, experiments were conducted on a public near-infrared dataset and compared with other algorithms. The public dataset can be found at the following website: https: / / www.epfl.ch / labs / ivrl / research / downloads / rgb-nir-scene-dataset / . The results of the present invention were compared with the most advanced algorithms, including GFF, WLG, NA, U2Fusion, and IFCNN. GFF, WLG, NA and the method of the present invention were run on a notebook with a 2.2Hz I7-8750H CPU, which are the same matlab environment. The deep learning methods including U2Fusion and IFCNN were run on a GTX1080Ti.
[0139] The following is a qualitative experimental comparison. Among all the qualitative result comparison diagrams, (c) is the experimental result of GFF, (d) is the result of the WLG method, (e) is the result of the WLG method, (f) is the result of U2fusion, (g) is the result of IFCNN, and (h) is the result of the present invention; Figure 6-8As shown in FIG. 1 , the source image (a) can reflect the distant mountains and clouds, and the details of (a) are clearer than those of (b). It can be seen that compared with other methods, the method of the present invention not only ensures that the detail information is enhanced, but also the color is closest to the source VIS image. Such an image looks more natural, and the distant hillside and clouds are clearer than the VIS image. In particular, Figure 7 In the present invention, the cloud information is added without causing any color change, but (c), (d), (e), (f), and (g) all have varying degrees of color change around the clouds, turning into an unnatural orange color.
[0140] like Fig. 9 As shown in the figure, 30 source images were randomly selected in the experiment for quantitative comparison. It can be seen from the figure that the algorithm of the present invention has an absolute advantage in EN, SF and FD, which shows that the experimental results have a large amount of information, gradient and clarity, and have a good visual effect; although AG is not as good as U2Fusion, the method of the present invention is not much different from U2Fusion, and has advantages over other methods. The present invention calculates the MI between the fused image and the two source images and takes their mean. Since the fusion result of the present invention is closer to the VIS image, the MI between the fused image and the NIR image is not large, so the MI of the experimental result is not large. RMSE calculates the difference between the fused image and the VIS image. Because the method of the present invention integrates the detailed information of NIR, the dissimilarity between the fused image and the VIS image is relatively large. Although MI and RMSE have no numerical advantages, the color of the image is not distorted and is very close to the VIS image.
[0141] The present invention provides an image fusion system based on high- and low-frequency information supplementation, comprising:
[0142] A weight map Ls extraction module is used to obtain a VIS image, perform HSV conversion on the VIS image to obtain a VIS-V image, and extract a weight map Ls guided by a saliency map of the VIS-V image;
[0143] A high-frequency image and a low-frequency image acquisition module is used to acquire a NIR image, perform multi-scale decomposition on the NIR image to obtain a high-frequency NIR image and a low-frequency NIR image, perform multi-scale decomposition on the VIS-V image to obtain a high-frequency VIS-V image and a low-frequency VIS-V image; combine the high-frequency VIS-V image and the high-frequency NIR image into a high-frequency image, and combine the low-frequency VIS-V image and the low-frequency NIR image into a low-frequency image;
[0144] A weight map Lg extraction module, used to extract a normalized local entropy guided weight map Lg of the NIR image;
[0145] A guided low-frequency image acquisition module, used to guide the low-frequency image through the weight map Lg guided by the normalized local entropy and the weight map Ls guided by the saliency map to obtain a guided low-frequency image;
[0146] Fusion image acquisition module, used to extract the gradient map of VIS-V image The high-frequency image is supplemented to obtain a supplemented high-frequency image H u , supplement the guided low-frequency image to obtain a supplemented low-frequency image LF; fuse the supplemented high-frequency image and the supplemented low-frequency image to obtain a fused image Fused C.
[0147] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0148] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order and these words may be interpreted as identifiers.
[0149] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An image fusion method based on high- and low-frequency information supplementation, characterized in that: Includes steps: S1: Acquire a VIS image, perform HSV conversion on the VIS image to obtain a VIS-V image, and extract a weight map Ls guided by a saliency map of the VIS-V image; S2: Acquire a NIR image, perform multi-scale decomposition on the NIR image to obtain a high-frequency NIR image and a low-frequency NIR image, perform multi-scale decomposition on the VIS-V image to obtain a high-frequency VIS-V image and a low-frequency VIS-V image; combine the high-frequency VIS-V image and the high-frequency NIR image into a high-frequency image, and combine the low-frequency VIS-V image and the low-frequency NIR image into a low-frequency image; S3: extracting a normalized local entropy-guided weight map Lg of the NIR image; S4: guiding the low-frequency image through the weight map Lg guided by the normalized local entropy and the weight map Ls guided by the saliency map to obtain a guided low-frequency image; S5: Extracting the gradient map of the VIS-V image The high-frequency image is supplemented to obtain a supplemented high-frequency image H u , supplement the guided low-frequency image to obtain a supplemented low-frequency image LF; fuse the supplemented high-frequency image and the supplemented low-frequency image to obtain a fused image Fused C.
2. The image fusion method based on high- and low-frequency information supplementation according to claim 1 is characterized in that: In step S1, the weight map Ls guided by the saliency map of the VIS-V image is extracted, specifically: S11: Obtain the local grayscale and the global average grayscale of the VIS-V image, and obtain the saliency map of the VIS-V image by comparing the local grayscale with the global average grayscale. The calculation formula is as follows: Where a is the VIS-V image number, k is the pixel number, is the gray value of the kth pixel of the ath VIS-V image; M(.) is the global average gray value of the VIS-V image, I a is the ath VIS-V image; For any pixel in the ath VIS-V image, if Then keep the pixel, otherwise set the gray value of the pixel to 0, and obtain the saliency map mapb of the VIS-V image after comparing all the pixels of the a-th VIS-V image; S12: Using the VIS image as a guide image, filtering the saliency map b of the VIS-V image to obtain a weight map Ls guided by the saliency map, and the calculation formula is as follows: Ls a =G r,ε (S a ,I a ) Among them, Ls a is the weight map guided by the saliency map of the a-th VIS-V image; G r,ε is the guide filter function, r and ε are preset parameters, r is used to control the size of the guide filter function, and ε is used to determine the blur degree of the guide filter function; S a Represents the saliency map of the a-th VIS-V image.
3. The image fusion method based on high- and low-frequency information supplementation according to claim 1 is characterized in that: Step S2 is specifically as follows: S21: filtering the NIR image by a Gaussian pyramid-based LP decomposition method to obtain a Gaussian pyramid sequence of the NIR image; S22: Obtain the high-frequency NIR image and the low-frequency NIR image by calculating the Gaussian pyramid sequence of the NIR image; S23: filtering the VIS-V image by a Gaussian pyramid-based LP decomposition method to obtain a Gaussian pyramid sequence of the VIS-V image; S24: Obtain the high-frequency VIS-V image and the low-frequency VIS-V image by calculating the Gaussian pyramid sequence of the VIS-V image.
4. The image fusion method based on high- and low-frequency information supplementation according to claim 1, characterized in that: Step S3 is specifically as follows: S31: Obtain the local entropy of each pixel of the NIR image, and the calculation formula is as follows: Where x is the horizontal coordinate of the pixel of the NIR image, y is the vertical coordinate of the pixel of the NIR image, H(x,y) is the local entropy of the pixel (x,y); i is the horizontal coordinate number, j is the vertical coordinate number; η is the 5*5 domain range; f is the grayscale order number, and p(f) is the probability of occurrence of the f-th order grayscale; Normalizing the local entropy of each pixel to 1 / 8 to obtain a local entropy weight map map a; S32: Decomposing the low-frequency VIS-V image by Laplace pyramid to obtain a Laplace decomposed VIS-V image, the calculation formula is as follows: Among them, I Lv is the low-frequency VIS-V image, l is the layer number of Laplace, L{.} is the Laplace decomposition of the lth layer, L{I Lv } l is the VIS-V image after Laplace decomposition of the lth layer; R is the interpolation filter; G{.} is the Gaussian decomposition, G{I Lv } l-1 is the VIS-V image after Gaussian decomposition of the l-1th layer, G{I Lv } l is the VIS-V image after Gaussian decomposition of the lth layer, ↑2 is double upsampling; S33: Perform Gaussian decomposition on the local entropy weight map map a to obtain the local entropy weight map G{I W1 } l , where I W1 is the local entropy weight map; The local entropy weight map G{I W1 } l and the VIS-V image L{I Lv } l The fusion is performed to obtain the normalized local entropy guided weight map Lg, and the calculation formula is as follows: FP{Lg} l =G{I W1 } l L{I Lv } l Among them, FP{} l is the fusion pyramid of the lth layer, and Lg is the weight map guided by the normalized local entropy.
5. The image fusion method based on high- and low-frequency information supplementation according to claim 1 is characterized in that: Step S4 is specifically as follows: S41: guiding the low-frequency NIR image through the weight map guided by the normalized local entropy to obtain a guided low-frequency NIR image LG; S42: guiding the low-frequency VIS-V image through the weight map guided by the saliency map to obtain a guided low-frequency VIS-V image LS; S43: The guided low-frequency image includes: the guided low-frequency NIR image LG and the guided low-frequency VIS-V image LS.
6. The image fusion method based on high- and low-frequency information supplementation according to claim 1 is characterized in that: Step S5 is specifically as follows: S51: The image with the largest brightness value in the high-frequency image is taken as the high-brightness image, and the formula is as follows: Where u is the image number, HF u is the u-th high-brightness image, Hn u is the brightness value of the u-th high-frequency NIR image, Hv u is the brightness value of the u-th high-frequency VIS-V image; If the brightness value of the u-th high-frequency NIR image is greater than the brightness value of the u-th high-frequency VIS-V image, the u-th high-frequency NIR image is used as the u-th high-brightness image; otherwise, the u-th high-frequency VIS-V image is used as the u-th high-brightness image; S52: Supplement the high brightness image by using the gradient map of the VIS image to obtain the supplemented high frequency image, and the calculation formula is as follows: in, is the gradient map of the VIS image; S53: Supplement the guided low-frequency image, and obtain the supplemented low-frequency image using the following calculation formula: LF=α*LG+β*LS+γ*L Among them, LF is the low-frequency image after supplementation, α, β and γ are weight coefficients, LG is the low-frequency NIR image after guidance, LS is the low-frequency VIS-V image after guidance, and L is the adjustment image; S54: The supplemented high-frequency image H u The fused image is then fused with the supplemented low-frequency image LF to obtain the fused image.
7. An image fusion system based on high- and low-frequency information supplementation, characterized in that: include: A weight map Ls extraction module is used to obtain a VIS image, perform HSV conversion on the VIS image to obtain a VIS-V image, and extract a weight map Ls guided by a saliency map of the VIS-V image; A high-frequency image and a low-frequency image acquisition module is used to acquire a NIR image, perform multi-scale decomposition on the NIR image to obtain a high-frequency NIR image and a low-frequency NIR image, perform multi-scale decomposition on the VIS-V image to obtain a high-frequency VIS-V image and a low-frequency VIS-V image; combine the high-frequency VIS-V image and the high-frequency NIR image into a high-frequency image, and combine the low-frequency VIS-V image and the low-frequency NIR image into a low-frequency image; A weight map Lg extraction module, used to extract a normalized local entropy guided weight map Lg of the NIR image; A guided low-frequency image acquisition module, used to guide the low-frequency image through the weight map Lg guided by the normalized local entropy and the weight map Ls guided by the saliency map to obtain a guided low-frequency image; Fusion image acquisition module, used to extract the gradient map of VIS-V image The high-frequency image is supplemented to obtain a supplemented high-frequency image H u , supplement the guided low-frequency image to obtain a supplemented low-frequency image LF; fuse the supplemented high-frequency image and the supplemented low-frequency image to obtain a fused image Fused C.
Citation Information
Patent Citations
Image processing method and device and computer readable storage medium
CN110246108A
Method for detecting vegetation and sky area through combined processing of visible light and near-infrared image
CN113570561A
Method and system for generating a fusion image
US20210271937A1
