A multi-exposure image fusion method based on adaptive illumination consistency

Through adaptive illumination consistency processing and sparse coding, combined with peak signal-to-noise ratio, information entropy, and independent component analysis, the problem of detail information loss in traditional multi-exposure image fusion methods is solved, achieving clearer and richer image feature extraction. information fusion.

CN114549386BActive Publication Date: 2024-10-11CHONGQING YIZHENYUN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210208177.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2024-10-11
Estimated Expiration
2042-03-03

AI Technical Summary

Technical Problem

Existing multi-exposure image fusion methods lose image detail information in traditional methods based on Laplacian pyramid, and lack information compensation, resulting in high dynamic range images missing detail information.

Method used

A multi-exposure image fusion method based on adaptive illumination consistency is used to process the image through sparse coding. Images with normal exposure are selected as reference images for illumination consistency processing. Peak signal-to-noise ratio and information entropy are combined for quality measurement and independent component analysis. Analysis to extract texture details and color information features and perform fusion processing.

Benefits of technology

It achieves the separation of illumination changes and motion changes, removes the interference when illumination motion is not separated, the extracted image features are clearer, and the fused image contains more color information and texture information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114549386B_ABST
    Figure CN114549386B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of digital image processing, and specifically relates to a multi-exposure image fusion method based on adaptive illumination consistency; the method comprises: acquiring images with different exposure levels and processing them by sparse coding to obtain sparsely coded images; selecting a normally exposed image as a reference image and performing adaptive illumination consistency processing on images with different exposure levels according to the normally exposed image to obtain images with consistent exposure; measuring the quality of images with consistent exposure by peak signal-to-noise ratio and information entropy and selecting images with consistent exposure according to the measurement results to obtain intermediate result images; performing independent component analysis processing on the intermediate result images and images with different exposure levels respectively to obtain texture detail feature maps and color information feature maps; fusing the texture detail feature maps and the color information feature maps to obtain a fused image; the present invention contains more color information and texture information, and has broad application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of digital image processing, and in particular relates to a multi-exposure image fusion method based on adaptive illumination consistency. Background Art

[0002] HDR images have begun to enter market social products, such as smartphones. In real-world scenes visible to the human eye, most imaging sensors often cannot capture the full dynamic range of infrared signal luminescence. And these devices are either too heavy or too expensive. Currently, the general methods of HDR imaging are tone mapping and multi-exposure image fusion. Multi-exposure image fusion (MEF) synthesizes HDR images at different exposure levels in the same scene through multiple low dynamic ranges (LDR), so there are more real texture details and color information in the fused image.

[0003] At present, the commonly used high dynamic range imaging technology is the multi-exposure image fusion method, including: direct fusion method, block-based fusion method and layer-based fusion method. The direct fusion method refers to a fusion method that directly performs weighted averaging on the source image. In this method, the quality of the weight map is the key to obtaining a high-quality image. In order to obtain a high-quality weight map, this method will become very complicated. The region-based fusion method first divides the input image into several blocks, then selects the optimal region of each block of all input images, and finally fuses the selected optimal region. Since this method requires pixel-level operations to select the optimal block and pixel-level fusion, the algorithm runs for a long time. The layer-based fusion method is a fusion method that uses a certain layered framework to decompose the input image, perform certain processing, and then reconstruct it. Commonly used layer-based fusion methods include: Laplacian pyramid-based fusion method and block-based fusion method. The block-based fusion method can obtain high-quality high dynamic range images with rich details. Since the acquisition of the gain control map of this method is relatively complicated, the complexity of this method is very high and the real-time performance is not high. The multi-exposure image fusion method based on Laplacian pyramid is currently a widely used method for obtaining high dynamic range images. However, the traditional fusion method based on Laplacian pyramid loses information such as image details during the multi-scale decomposition and reconstruction process, and does not compensate for the lost information, resulting in a high dynamic range image lacking detail information. Therefore, a new method is urgently needed to obtain more image detail information and thus obtain high-quality multi-exposure fusion images. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention proposes a multi-exposure image fusion method based on adaptive illumination consistency, which includes:

[0005] S1: Acquire images with different exposure levels; wherein the images with different exposure levels include low exposure images, normal exposure images and high exposure images;

[0006] S2: Using sparse coding to process images with different exposure levels to obtain sparsely coded images;

[0007] S3: Select an image with normal exposure as a reference image, and perform adaptive illumination consistency processing on the low-exposure image and the high-exposure image according to the reference image to obtain an image with consistent exposure; the image with consistent exposure includes the low-exposure image after illumination consistency processing, the high-exposure image after illumination consistency processing, and the normal-exposure image;

[0008] S4: using peak signal-to-noise ratio and information entropy to measure the quality of the image with consistent exposure to obtain a measurement result; selecting the image with consistent exposure according to the measurement result to obtain an intermediate result image; wherein the intermediate result image includes a low exposure intermediate result image, a normal exposure intermediate result image, and a high exposure intermediate result image;

[0009] S5: Perform independent component analysis on the intermediate result image to obtain a texture detail feature map; perform independent component analysis on images with different exposure levels to obtain a color information feature map;

[0010] S6: Fusing the texture detail feature map and the color information feature map to obtain a fused image.

[0011] Preferably, the process of processing images with different degrees of light exposure by using sparse coding includes: sparse coding images with different degrees of light exposure to obtain a sparse dictionary; and generating a sparsely coded image according to the sparse dictionary.

[0012] Preferably, the process of performing adaptive illumination consistency processing on the low-exposure image and the high-exposure image according to the reference image includes:

[0013] Calculate the three-channel averages of the low-exposure image, the high-exposure image and the reference image respectively; the three channels are red R, green G and blue B color channels;

[0014] Calculating a first brightness difference according to the average values ​​of three channels of the low-exposure image and the reference image, and obtaining the low-exposure image after illumination consistency processing according to the first brightness difference;

[0015] A second brightness difference is calculated according to the three-channel average values ​​of the high-exposure image and the reference image, and the high-exposure image after illumination consistency processing is obtained according to the second brightness difference.

[0016] Furthermore, the formula for obtaining the low-exposure image after illumination consistency processing according to the first brightness difference is:

[0017] I[…,0]=K[…,0]+αδ R

[0018] I[…,1]=K[…,1]+βδ B

[0019] I[…,2]=K[…,2]+γδ G

[0020] Wherein, I[…,0] represents the R channel matrix representation of the image after illumination consistency processing, K[…,0] represents the R channel matrix representation of the low exposure image, I[…,1] represents the B channel matrix representation of the image after illumination consistency processing, K[…,1] represents the B channel matrix representation of the low exposure image, I[…,2] represents the G channel matrix representation of the image after illumination consistency processing, K[…,2] represents the G channel matrix representation of the low exposure image, α represents the first weight, β represents the second weight, γ represents the third weight, δ R Indicates the brightness difference of the R channel, δ B Indicates the brightness difference of the B channel, δ G Indicates the brightness difference of the G channel.

[0021] Preferably, using peak signal-to-noise ratio and information entropy to measure the quality of images with consistent exposure and images with different degrees of exposure includes: calculating the mean square error of pixels between a low-exposure image and the low-exposure image after illumination consistency processing, as well as the mean square error of pixels between a high-exposure image and the high-exposure image after illumination consistency processing; calculating the peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image after illumination consistency processing, as well as the peak signal-to-noise ratio of pixels between the high-exposure image and the high-exposure image after illumination consistency processing, based on the mean square error of pixels between the low-exposure image and the low-exposure image after illumination consistency processing, as well as the peak signal-to-noise ratio of pixels between the high-exposure image and the high-exposure image after illumination consistency processing; and calculating the information entropy of all images with consistent exposure.

[0022] Furthermore, the calculation formula for calculating the mean square error of pixels between the low-exposure image and the low-exposure image after illumination consistency processing is:

[0023]

[0024] Among them, MSE represents the mean square error of pixels, m represents the height of the image, n represents the width of the image, I(i,j) represents the pixels of the image after illumination consistency processing, K(i,j) represents the pixels of the image before illumination consistency processing, and E(x,y) represents the average pixel value of the image after illumination consistency processing.

[0025] Furthermore, the formula for calculating the peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image after illumination consistency processing is:

[0026]

[0027] Among them, PSNR represents peak signal-to-noise ratio, MSE represents mean square error, MAX I Indicates the maximum value of the image color after lighting consistency processing.

[0028] Preferably, the process of selecting images with consistent exposure and images with different exposure levels according to the measurement results includes:

[0029] A peak signal-to-noise ratio threshold T is set, and a low-exposure image processed for illumination consistency whose peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image processed for illumination consistency is greater than the threshold T is selected as a candidate low-exposure intermediate result image;

[0030] Select the high-exposure image processed by illumination consistency whose pixel peak signal-to-noise ratio between the high-exposure image and the high-exposure image processed by illumination consistency is greater than a threshold value T as a candidate high-exposure intermediate result image;

[0031] Compare the information entropy of the candidate low-exposure intermediate result images, and select the image with the largest information entropy as the low-exposure intermediate result image; compare the information entropy of the candidate high-exposure intermediate result images, and select the image with the largest information entropy as the high-exposure intermediate result image; and use the normal exposure image as the normal exposure intermediate result image.

[0032] Preferably, the process of performing independent component analysis on the intermediate result image includes:

[0033] Performing independent component analysis on the low-exposure intermediate result image and the normal-exposure intermediate result image to obtain a first feature image;

[0034] Performing independent component analysis on the high-exposure intermediate result image and the normal-exposure intermediate result image to obtain a second feature image;

[0035] Independent component analysis is performed on the first feature map and the second feature map to obtain a texture detail feature map.

[0036] Preferably, the process of performing independent component analysis on images with different degrees of exposure includes: performing independent component analysis on low-exposure images and normal-exposure images to obtain a third feature map; performing independent component analysis on high-exposure images and normal-exposure images to obtain a fourth feature map; performing independent component analysis on the third feature map and the fourth feature map to obtain a color information feature map.

[0037] The beneficial effects of the present invention are as follows: the present invention realizes separation of the influence of illumination change and the influence of motion change, namely illumination motion separation, by using illumination consistency processing on multi-exposure images; through sparse coding processing, the influence of strong illumination change can be removed, and illumination motion separation can be better realized; and independent component analysis is applied to extract the color information and texture information of the image, which better removes the interference caused when the illumination motion is not separated, and the extracted image features are clearer; the present invention proposes the concept of illumination motion separation, which processes illumination change and motion change separately, reduces interference, and the fused image contains more color information and texture information, and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 Schematic diagram of the framework of the multi-exposure image fusion method based on adaptive illumination consistency in the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] The present invention proposes a multi-exposure image fusion method based on adaptive illumination consistency. Figure 1 As shown, the method includes:

[0041] S1: Acquire images with different exposure levels; wherein the images with different exposure levels include low exposure images, normal exposure images and high exposure images;

[0042] S2: Using sparse coding to process images with different exposure levels to obtain sparsely coded images;

[0043] S3: Select an image with normal exposure as a reference image, and perform adaptive illumination consistency processing on the low-exposure image and the high-exposure image according to the reference image to obtain an image with consistent exposure; the image with consistent exposure includes the low-exposure image after illumination consistency processing, the high-exposure image after illumination consistency processing, and the normal-exposure image;

[0044] S4: using peak signal-to-noise ratio and information entropy to measure the quality of the image with consistent exposure to obtain a measurement result; selecting the image with consistent exposure according to the measurement result to obtain an intermediate result image; wherein the intermediate result image includes a low exposure intermediate result image, a normal exposure intermediate result image, and a high exposure intermediate result image;

[0045] S5: Perform independent component analysis on the intermediate result image to obtain a texture detail feature map; perform independent component analysis on images with different exposure levels to obtain a color information feature map;

[0046] S6: Fusing the texture detail feature map and the color information feature map to obtain a fused image.

[0047] A preferred embodiment of a multi-exposure image fusion method based on adaptive illumination consistency is as follows:

[0048] Obtaining images with different exposure levels is called multi-exposure images, which can be expressed as {k i}={k i ∣1≤i≤K}, k i is the i-th image; the images with different exposure levels include low-exposure images, normal-exposure images and high-exposure images.

[0049] The image after sparse coding can effectively remove the influence of severe lighting. The present invention adopts sparse coding for the input source image, that is, the image with different degrees of exposure. The specific process is as follows:

[0050] Each image is sparsely coded, and each image is iteratively trained n times. Preferably, n is 50. After fifty iterative trainings, a sparse dictionary is obtained; and a sparsely coded image is generated according to the sparse dictionary.

[0051] Since the information of objects in low-exposure images in certain specific scenes is completely too dark, they are called dark vision images in the image field. Dark vision images can obtain useful details after image enhancement processing, but adding an image enhancement module will greatly increase the complexity of image fusion in multi-exposure image fusion; set a normal exposure range, randomly select a normal exposure image from the normal exposure range as the reference image, perform adaptive lighting consistency processing on the low-exposure image and the high-exposure image with the reference image respectively, add the lighting component to the low-exposure image, and subtract the excess lighting component from the high-exposure image, so as to obtain a secondary processed image with the same lighting intensity as the reference image, so as to provide more information for the subsequent independent component analysis.

[0052] The sparsely coded image is processed with adaptive illumination consistency. The specific process is as follows:

[0053] Select an image with normal exposure as the reference image, and transfer the illumination difference of the illumination consistency mapping compared with the reference image to the low-exposure or high-exposure image. For example, input three images, namely a low-exposure image, a normal-exposure image, and a high-exposure image, and use the normal-exposure image as the reference image; taking the low-exposure image and the reference image as examples, the low-light image is represented as:

[0054]

[0055] Among them, m represents the image height, n represents the image width, and p represents the image channel.

[0056] The reference image is represented as:

[0057]

[0058] Calculate the three-channel averages of the low-exposure image and the reference image respectively, where the three channels are red R, green G, and blue B color channels; the calculation formula is:

[0059]

[0060]

[0061]

[0062] The image k 1 and the reference image k 2 The brightness difference δ is added to image k 1 In the three channels of k, the three channels fuse information into k according to a specific ratio 1 The final result is Figure I 1 That is, the low-exposure image after illumination consistency processing; the brightness difference δ is calculated as:

[0063]

[0064]

[0065]

[0066] Among them, δ R Represents the brightness difference of the R channel, δ B Indicates the brightness difference of the B channel, δ G Represents the brightness difference of the G channel, Represents the average brightness of the R channel of the reference image, Represents the average brightness of the R channel of the low-exposure image. Represents the average brightness of the B channel of the reference image, Represents the average brightness of the B channel of the low-exposure image. represents the average brightness of the G channel of the reference image, Represents the average brightness of the G channel of the reference image.

[0067] Add the brightness difference δ to image k 1 Three channels:

[0068] I[…,0]=K[…,0]+αδR

[0069] I[…,1]=K[…,1]+βδ B

[0070] I[…,2]=K[…,2]+γδ G

[0071] Among them, α, β and γ all belong to [0,1], α represents the first weight, β represents the second weight, and γ represents the third weight; I[…,0] represents the R channel matrix representation of the image after illumination consistency processing, K[…,0] represents the R channel matrix representation of the low exposure image, I[…,1] represents the B channel matrix representation of the image after illumination consistency processing, K[…,1] represents the B channel matrix representation of the low exposure image, I[…,2] represents the G channel matrix representation of the image after illumination consistency processing, and K[…,2] represents the G channel matrix representation of the low exposure image.

[0072] The above adaptive illumination consistency processing is iterated n times, and the values ​​of α, β and γ are changed by 0.1. Preferably, n is 50. When performing the above processing, image boundary overflow will definitely occur, so we need to truncate it, replace the data less than 0 in the array with 0, and replace the data greater than 255 in the array with 255, and convert the matrix to UNIT8 format for storage, and the processed image {I i}={I i |1≤i≤K}. Through the constraint of weights, each image can obtain multiple images corresponding to the image after illumination consistency processing. The image with the best quality can be selected from these images after illumination consistency processing as the intermediate result image, so that the final fused image has more texture detail information.

[0073] Peak Signal to Noise Ratio (PSNR) is an objective standard for evaluating images. PSNR is generally used to measure the relationship between the maximum signal and the background noise. The present invention measures the quality of images with consistent exposure using the peak signal to noise ratio and information entropy. The specific process is as follows:

[0074] The mean square error of pixels between the low-exposure image and the low-exposure image after illumination consistency processing, as well as the mean square error of pixels between the high-exposure image and the high-exposure image after illumination consistency processing are calculated respectively. The formula is:

[0075]

[0076] Among them, MSE represents the mean square error of pixels, m represents the height of the image, n represents the width of the image, I(i,j) represents the pixels of the image after illumination consistency processing, K(i,j) represents the pixels of the image before illumination consistency processing, and E(x,y) represents the average pixel value of the image after illumination consistency processing.

[0077] According to the mean square error of pixels between the low-exposure image and the low-exposure image after illumination consistency processing, and the mean square error of pixels between the high-exposure image and the high-exposure image after illumination consistency processing, the peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image after illumination consistency processing and the peak signal-to-noise ratio of pixels between the high-exposure image and the high-exposure image after illumination consistency processing are calculated respectively, and the formula is:

[0078]

[0079] Among them, PSNR represents peak signal-to-noise ratio, MSE represents mean square error, MAX I Indicates the maximum value of the image color after lighting consistency processing. For example, 8-bit sampling points are represented as 255.

[0080] The unit of PSNR is dB. The larger the PSNR value, the less image distortion. PSNR is the most common and widely used objective measurement method for evaluating image quality. However, many experimental results show that the PSNR score cannot be completely consistent with the visual quality seen by the human eye. It is possible that a higher PSNR may look worse than a lower PSNR. This is because the human eye's visual sensitivity to errors is not absolute, and its perception results will be affected by many factors and change (for example: the human eye is more sensitive to contrast differences with lower spatial frequencies, the human eye is more sensitive to brightness contrast differences than chromaticity, and the human eye's perception of an area will be affected by its surrounding neighboring areas). The size of the information entropy reflects the amount of information carried by the image. Generally, the larger the information entropy of an image, the richer its information content and the better its quality. In order to ensure the reliability of illumination consistency mapping, the present invention also introduces information entropy Entropy and PSNR to jointly measure the quality of images with consistent exposure and images with different degrees of exposure.

[0081] Calculate the information entropy of all images with consistent exposure using the following formula:

[0082]

[0083] Among them, H(X) represents the information entropy of the image, p(x i ) represents the grayscale x of the image i The probability of appearing in this image, n represents the maximum value of the pixel, 255.

[0084] According to the measurement results, images with consistent exposure and images with different exposure levels are selected. The specific process is as follows:

[0085] A peak signal-to-noise ratio threshold T is set, and a low-exposure image processed for illumination consistency whose peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image processed for illumination consistency is greater than the threshold T is selected as a candidate low-exposure intermediate result image;

[0086] The high-exposure image processed by illumination consistency whose peak signal-to-noise ratio of pixels between the high-exposure image and the high-exposure image processed by illumination consistency is greater than the threshold T is selected as the candidate high-exposure intermediate result image

[0087] Compare the information entropy of the candidate low-exposure intermediate result images, and select the image with the largest information entropy as the low-exposure intermediate result image; compare the information entropy of the candidate high-exposure intermediate result images, and select the image with the largest information entropy as the high-exposure intermediate result image; and use the normal exposure image as the normal exposure intermediate result image.

[0088] The selected intermediate result image has less noise and high image quality; the intermediate result image is processed by independent component analysis (ICA) to obtain color features; wherein the intermediate result image includes a low-exposure intermediate result image, a normal-exposure intermediate result image and a high-exposure intermediate result image; the specific process is: perform independent component analysis on the low-exposure intermediate result image and the normal-exposure intermediate result image to obtain a first feature image; perform independent component analysis on the high-exposure intermediate result image and the normal-exposure intermediate result image to obtain a second feature image; perform independent component analysis on the first feature image and the second feature image to obtain a texture detail feature image. The specific process of performing independent component analysis on the image to obtain the feature map is: converting the input image into a one-dimensional array, generating a mixing matrix based on the one-dimensional data, performing centering and whitening preprocessing on the mixing matrix, and obtaining an unmixing matrix, i.e., an output feature map.

[0089] Independent component analysis is performed on images with different degrees of exposure to obtain a color information feature map. The specific process is: independent component analysis is performed on the low-exposure image and the normal-exposure image to obtain a third feature map; independent component analysis is performed on the high-exposure image and the normal-exposure image to obtain a fourth feature map; independent component analysis is performed on the third feature map and the fourth feature map to obtain a color information feature map; the specific process of independent component analysis is the same as the above process and will not be repeated here.

[0090] The texture detail feature map and the color information feature map are fused to obtain a fused image. Preferably, during the fusion process, they can be weighted and summed according to certain weights according to specific requirements. For example, if the color in the color information of the original image is saturated, the weight of the color feature map can be increased.

[0091] In order to obtain clear texture detail results more reliably, the present invention uses mean square error to evaluate the processing process; ICA may be adversely affected by motion during the processing process, and mean square error (MSE) is a more convenient method to measure the "average error" and can evaluate the degree of change in the data. Set the number of iterations and repeat the above process, for example, iterate fifty times, input the image for ICA processing, because its ICA unmixing matrix is ​​not unique, so the feature map generated each time is not unique, calculate the mean square error between the feature map of the low-exposure image and the reference image and the feature map of the high-exposure image and the reference image, and select the texture detail feature map output when the mean square error is minimum from the fifty results. Similarly, select the color information feature map output when the mean square error is minimum from the fifty results; fuse the texture detail feature map and the color information feature map obtained according to the minimum mean square error to obtain a fused image as the final multi-exposure image fusion result.

[0092] The present invention separates the effects of illumination changes and motion changes, namely, illumination motion separation, by using illumination consistency processing on multi-exposure images; through sparse coding processing, the effects of strong illumination changes can be removed, and illumination motion separation can be better achieved; and independent component analysis is applied to extract the color information and texture information of the image, which better removes the interference caused when illumination motion is not separated, and the extracted image features are clearer; the present invention proposes the concept of illumination motion separation, which processes illumination changes and motion changes separately, reduces interference, and the fused image contains more color information and texture information, and has broad application prospects.

[0093] The above embodiments further illustrate the purpose, technical solutions and advantages of the present invention in detail. It should be understood that the above embodiments are only preferred implementation modes of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made to the present invention within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A multi-exposure image fusion method based on adaptive illumination consistency, It is characterized in that include: S1: Acquire images with different exposure levels; The images with different exposure levels include low-exposure images, normal-exposure images and high-exposure images; S2: Using sparse coding to process images with different exposure levels to obtain sparsely coded images; S3: Select an image with normal exposure as a reference image, and perform adaptive illumination consistency processing on the low-exposure image and the high-exposure image according to the reference image to obtain an image with consistent exposure; the image with consistent exposure includes the low-exposure image after illumination consistency processing, the high-exposure image after illumination consistency processing, and the normal-exposure image; The process of adaptively processing the illumination consistency of the low-exposure image and the high-exposure image according to the reference image includes: Calculate the three-channel averages of the low-exposure image, the high-exposure image and the reference image respectively; the three channels are red R, green G and blue B color channels; The first brightness difference is calculated according to the three-channel average value of the low-exposure image and the reference image, and the low-exposure image after the illumination consistency processing is obtained according to the first brightness difference. The formula for obtaining the low-exposure image after the illumination consistency processing according to the first brightness difference is: I[…,0]=K[…,0]+ad R I[…,1]=K[…,1]+βδ B I[…,2]=K[…,2]+γδ G Wherein, I[…,0] represents the R channel matrix representation of the image after illumination consistency processing, K[…,0] represents the R channel matrix representation of the low exposure image, I[…,1] represents the B channel matrix representation of the image after illumination consistency processing, K[…,1] represents the B channel matrix representation of the low exposure image, I[…,2] represents the G channel matrix representation of the image after illumination consistency processing, K[…,2] represents the G channel matrix representation of the low exposure image, α represents the first weight, β represents the second weight, γ represents the third weight, δ R Indicates the brightness difference of the R channel, δ B Indicates the brightness difference of the B channel, δ G Indicates the brightness difference of G channel; Calculate a second brightness difference according to the three-channel average value of the high-exposure image and the reference image, and obtain the high-exposure image after illumination consistency processing according to the second brightness difference; S4: using peak signal-to-noise ratio and information entropy to measure the quality of the image with consistent exposure to obtain a measurement result; selecting the image with consistent exposure according to the measurement result to obtain an intermediate result image; wherein the intermediate result image includes a low exposure intermediate result image, a normal exposure intermediate result image, and a high exposure intermediate result image; S5: Perform independent component analysis on the intermediate result image to obtain a texture detail feature map; perform independent component analysis on images with different exposure levels to obtain a color information feature map; S6: Fusing the texture detail feature map and the color information feature map to obtain a fused image.

2. According to the method for multi-exposure image fusion based on adaptive illumination consistency according to claim 1, It is characterized in that The process of processing images with different degrees of light exposure by using sparse coding includes: sparse coding images with different degrees of light exposure to obtain a sparse dictionary; and generating a sparsely coded image according to the sparse dictionary.

3. According to the method of claim 1, It is characterized in that The peak signal-to-noise ratio and information entropy are used to measure the quality of images with consistent exposure and images with different exposure levels, including: calculating the mean square error of pixels between a low-exposure image and the low-exposure image after illumination consistency processing, as well as the mean square error of pixels between a high-exposure image and the high-exposure image after illumination consistency processing; calculating the peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image after illumination consistency processing, as well as the peak signal-to-noise ratio of pixels between the high-exposure image and the high-exposure image after illumination consistency processing, based on the mean square error of pixels between the low-exposure image and the low-exposure image after illumination consistency processing, as well as the peak signal-to-noise ratio of pixels between the high-exposure image and the high-exposure image after illumination consistency processing; and calculating the information entropy of all images with consistent exposure.

4. The method for fusion of multiple exposure images based on adaptive illumination consistency according to claim 3, It is characterized in that The formula for calculating the mean square error of pixels between the low-exposure image and the low-exposure image after illumination consistency processing is: Wherein, MSE represents the mean square error of pixels, m represents the height of the image, n represents the width of the image, I(i, j) represents the pixels of the image after illumination consistency processing, K(i, j) represents the pixels of the image before illumination consistency processing, and E(x, y) represents the average pixel value of the image after illumination consistency processing.

5. According to the method of claim 3, a multi-exposure image fusion method based on adaptive illumination consistency, It is characterized in that The formula for calculating the peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image after illumination consistency processing is: Among them, PSNR represents peak signal-to-noise ratio, MSE represents mean square error, MAX I Indicates the maximum value of the image color after lighting consistency processing.

6. The multi-exposure image fusion method based on adaptive illumination consistency according to claim 1, It is characterized in that The process of selecting images with consistent exposure and images with different exposure levels based on the measurement results includes: A peak signal-to-noise ratio threshold T is set, and a low-exposure image processed for illumination consistency whose peak signal-to-noise ratio of pixels between the low-exposure image and the low-exposure image processed for illumination consistency is greater than the threshold T is selected as a candidate low-exposure intermediate result image; Select the high-exposure image processed by illumination consistency whose pixel peak signal-to-noise ratio between the high-exposure image and the high-exposure image processed by illumination consistency is greater than a threshold value T as a candidate high-exposure intermediate result image; Compare the information entropy of the candidate low-exposure intermediate result images, and select the image with the largest information entropy as the low-exposure intermediate result image; compare the information entropy of the candidate high-exposure intermediate result images, and select the image with the largest information entropy as the high-exposure intermediate result image; and use the normal exposure image as the normal exposure intermediate result image.

7. The method for multi-exposure image fusion based on adaptive illumination consistency according to claim 1, It is characterized in that The process of performing independent component analysis on the intermediate result image includes: Performing independent component analysis on the low-exposure intermediate result image and the normal-exposure intermediate result image to obtain a first feature image; Performing independent component analysis on the high-exposure intermediate result image and the normal-exposure intermediate result image to obtain a second feature image; Independent component analysis is performed on the first feature map and the second feature map to obtain a texture detail feature map.

8. The method for multi-exposure image fusion based on adaptive illumination consistency according to claim 1, It is characterized in that The process of performing independent component analysis on images with different exposure levels includes: performing independent component analysis on low-exposure images and normal-exposure images to obtain a third feature map; performing independent component analysis on high-exposure images and normal-exposure images to obtain a fourth feature map; performing independent component analysis on the third feature map and the fourth feature map to obtain a color information feature map.