Traceable image-based multi-exposure fusion algorithm evaluation method, device and medium
By constructing a benchmark dataset containing standard exposure images and standard color chart data, the geometric fidelity and radiometric fidelity of multi-exposure fusion images are evaluated, solving the problem of inconsistent evaluation starting points for multi-exposure fusion technology and achieving high-precision image quality evaluation.
Patent Information
- Application Number
- CN202611432007.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-15
- Publication Date
- 2026-11-27
AI Technical Summary
Existing multi-exposure fusion technology lacks a unified acquisition protocol and metadata specification in image quality assessment, resulting in inconsistent evaluation starting points for different algorithms, making horizontal comparison and reproduction difficult. Furthermore, it lacks quantification of global and local brightness consistency, making it impossible to effectively measure the accuracy of optical information.
A benchmark dataset is constructed, including standard exposure images, multi-exposure image sequences, and standard color chart data. The geometric fidelity, information fidelity, and radiometric fidelity of the fused images are evaluated using a preset multi-exposure fusion algorithm. Pixel differences are calculated using standard exposure images and standard color chart data to establish a unified reference benchmark and physical scale.
It establishes a unified reference benchmark for the quality assessment of multi-exposure fused images, quantifies the spatial domain accuracy of fused images, significantly improves the reproducibility and horizontal comparability of assessment results, and can effectively measure the accuracy of optical information.
Smart Images

Figure CN123181997A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of image quality evaluation and metrology, and in particular to an evaluation method, device and medium based on a multi-exposure fusion algorithm of traceable images. Background Technology
[0002] Multi-exposure fusion technology is a key technology to overcome the dynamic range limitation of single imaging in solid-state image sensors and generate high dynamic range images. It has been widely used in high-precision quantitative imaging fields such as medical imaging, remote sensing imaging and industrial defect detection.
[0003] However, current multi-exposure fusion techniques generally rely on self-built or publicly available small datasets for algorithm verification when evaluating the quality of multi-exposure fusion images. These datasets lack unified acquisition protocols, metadata specifications, and measurement uncertainty declarations, leading to inconsistent starting points for evaluating the quality of multi-exposure fusion images output by different algorithms, making cross-sectional comparisons and reproducibility difficult. Furthermore, the lack of quantification of global and local brightness consistency in multi-exposure fusion images prevents the effective measurement of the accuracy of optical information in these images. Summary of the Invention
[0004] To address the aforementioned technical issues, this disclosure provides a method, apparatus, and medium for evaluating multi-exposure fusion algorithms based on traceable images.
[0005] The first aspect of this disclosure provides a method for evaluating a multi-exposure fusion algorithm based on traceable images, including: Obtain the benchmark dataset, which includes standard exposure images, multi-exposure image sequences, and standard color chart data. The standard exposure images are standard color chart optical information databases traceable to the national colorimetric standard and exposure images that have been determined to be the benchmark true values. Based on a preset multi-exposure fusion algorithm, at least two sets of exposure images in a multi-exposure image sequence are fused to obtain a fused image, and a first image evaluation index corresponding to the fused image is obtained. The first image evaluation index is an index used to characterize the geometric fidelity and information fidelity of the image. The two exposure images in each set of exposure images are determined based on different combination methods. Based on the pixel difference of the same pixel in each color channel in the fused image and the standard exposure image, and the pixel difference of the same pixel in each color channel in each color card region corresponding to the fused image and the standard color card data, the second image evaluation index corresponding to the fused image is determined. The second image evaluation index is an index used to characterize the radiometric fidelity of the image. The first image evaluation index and the second image evaluation index are determined as the quality evaluation index of the fused image; the evaluation result of the preset multi-exposure fusion algorithm is determined based on the quality evaluation index.
[0006] A second aspect of this disclosure provides an evaluation apparatus for a multi-exposure fusion algorithm based on traceable images, comprising: The data acquisition module is used to acquire the benchmark dataset, which includes standard exposure images, multi-exposure image sequences, and standard color card data. The standard exposure images are standard color card optical information databases traceable to the national colorimetric standard and exposure images that have been determined to be the true benchmark values. The information processing module is used to perform fusion processing on at least two sets of exposure images in a multi-exposure image sequence based on a preset multi-exposure fusion algorithm to obtain a fused image, and to obtain a first image evaluation index corresponding to the fused image. The first image evaluation index is an index used to characterize the geometric fidelity and information fidelity of the image. The two exposure images in each set of exposure images are determined based on different combination methods. The first index determination module is used to determine the second image evaluation index corresponding to the fused image based on the pixel difference of the same pixel in each color channel in the fused image and the standard exposure image, and the pixel difference of the same pixel in each color channel in each color card region corresponding to the fused image and the standard color card data. The second image evaluation index is an index used to characterize the radiometric fidelity of the image. The second indicator determination module is used to determine the first image evaluation indicator and the second image evaluation indicator as the quality evaluation indicators of the fused image; and to determine the evaluation result of the preset multi-exposure fusion algorithm based on the quality evaluation indicators.
[0007] A third aspect of this disclosure provides an electronic device, including: processor; Memory, used to store executable instructions; The processor is used to read executable instructions from memory and execute the executable instructions to implement the multi-exposure fusion algorithm evaluation method based on traceable images provided in the first aspect above.
[0008] A fourth aspect of this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the multi-exposure fusion algorithm evaluation method based on traceable images provided in the first aspect.
[0009] A fifth aspect of this disclosure provides a computer program product comprising a computer program or instructions that, when executed by a processor, implement the multi-exposure fusion algorithm evaluation method based on traceable images as described in the first aspect above.
[0010] The technical solution provided in this disclosure has the following advantages compared with the prior art: The multi-exposure fusion algorithm evaluation method, device, and medium based on traceable images provided in this disclosure can establish a unified reference benchmark and physical scale for multi-exposure fusion image quality evaluation by constructing a benchmark dataset containing standard exposure images, multi-exposure image sequences, and standard color chart data. This effectively avoids the problem of inconsistent evaluation starting points caused by the lack of protocols and specifications when using self-built or publicly available small-scale data. Simultaneously, by calculating the first image evaluation index (geometric and information fidelity) of the fused image, the spatial domain accuracy of the fusion algorithm is quantified from the perspective of structural transfer and detail preservation. Secondly, by introducing standard exposure images and standard color chart data, the pixel differences in the fused image at the pixel level and the standard color chart region level, and within each color channel, are calculated respectively, thereby achieving the measurement of the radiometric fidelity of the fused image. This not only quantifies the deviation of the fused image from the real scene in absolute brightness and color, but also distinguishes between global brightness shift and local color difference, thus solving the problem of lacking an effective measure of the accuracy of optical information in the fused image, and significantly improving the reproducibility and horizontal comparability of evaluation results between different algorithms. Attached Figure Description
[0011] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0012] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a flowchart of an evaluation method for a multi-exposure fusion algorithm based on traceable images provided in this disclosure embodiment; Figure 2 This is a flowchart of another evaluation method for multi-exposure fusion algorithm based on traceable images provided in this disclosure embodiment; Figure 3 This is a schematic diagram of the structure of a multi-exposure fusion algorithm evaluation device based on traceable images provided in an embodiment of this disclosure. Detailed Implementation
[0014] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0015] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0016] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0017] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0018] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0019] Currently, multi-exposure fusion technology is a key technology for overcoming the dynamic range limitations of single-shot imaging in solid-state image sensors and generating high dynamic range images. It has been widely applied in high-precision quantitative imaging fields such as medical imaging, remote sensing imaging, and industrial defect detection. This technology has gradually formed a relatively mature technical system, evolving from early pyramid decomposition methods and quality-metric-based multi-resolution fusion to classic methods such as dense scale-invariant feature transformation and adaptive weight preservation. In recent years, with the development of deep learning, generative adversarial networks, Transformer architecture, and multimodal large models, researchers have further proposed various unsupervised, contrastive learning, and filter-guided multi-exposure fusion algorithms, significantly improving the visual effect and detail preservation of fused images. Industry has also integrated this technology into hardware platforms such as mobile image signal processors, short-wave infrared sensors, and UAV-borne cameras, achieving on-chip real-time processing and end-to-end reconstruction of high dynamic range images.
[0020] However, current evaluation systems for multi-exposure fusion technology suffer from the following main shortcomings: 1. Lack of traceability in testing benchmarks. The industry commonly uses self-built or publicly available small-scale datasets for algorithm verification. These datasets lack unified acquisition protocols, metadata specifications, and measurement uncertainty declarations. Their "standard exposure" images largely rely on camera-built-in metering, failing to establish a traceability link with national photometric / radiance benchmarks. This results in inconsistent starting points for multi-exposure image quality evaluation across different algorithms, making horizontal comparison and reproduction difficult. 2. Limited evaluation metrics. Existing image quality evaluation metrics primarily focus on geometric fidelity (such as edges and textures) or grayscale differences, lacking quantification of global and local brightness consistency. Color fidelity evaluation is not correlated with absolute radiance values, leading to an inability to effectively measure the accuracy of optical information in the fused image. To address this issue, this disclosure provides a multi-exposure fusion algorithm evaluation method based on traceable images. The method is described below with reference to specific embodiments.
[0021] Figure 1 This is a flowchart of a multi-exposure fusion algorithm evaluation method based on traceable images provided in this disclosure embodiment. The method can be executed by a multi-exposure fusion algorithm evaluation device based on traceable images. The multi-exposure fusion algorithm evaluation device based on traceable images can be implemented in software and / or hardware. The multi-exposure fusion algorithm evaluation device based on traceable images can be configured in an electronic device, such as a server or terminal, wherein the terminal specifically includes a mobile phone, computer or tablet computer, etc.
[0022] like Figure 1 As shown in the figure, the multi-exposure fusion algorithm evaluation method based on traceable images provided in this embodiment includes the following steps.
[0023] S110. Obtain the benchmark dataset.
[0024] In this embodiment of the disclosure, the benchmark dataset may include standard exposure images, multi-exposure image sequences, and standard color chart data.
[0025] In this embodiment of the disclosure, the benchmark dataset includes datasets collected from targets at different locations, and the brightness of the datasets collected from targets at different locations is different.
[0026] In this context, a standard exposure image can be understood as an image that serves as the absolute reference for the true values of radiance and chromaticity.
[0027] A multi-exposure image sequence can be understood as a sequence of images with uniformly sampled radiometric data, including both underexposed and overexposed images. Specifically, it is an image sequence constructed by filtering images based on exposure intervals, with a standard exposure image as the center.
[0028] Standard color chart data can be understood as color chart data traceable to a national colorimetric standard optical information database. Specifically, it can include spectral data of the standard color chart (such as spectral reflectance curves, standard chromaticity values, etc.). Standard color chart data includes multiple color chart regions. For example, it can include 24 color chart regions, i.e., 24 color patches, with each patch corresponding to one color chart region.
[0029] The standard exposure image is an exposure image that is traceable to the national colorimetric standard standard color card optical information database and has been determined as the reference true value.
[0030] In some embodiments of this disclosure, the electronic device may respond to a multi-exposure fusion image quality assessment command, parse the multi-exposure fusion image quality assessment command, obtain the identification information of the benchmark dataset, and obtain the benchmark dataset from a preset database based on the identification information.
[0031] In other embodiments of this disclosure, the electronic device can respond to a multi-exposure fusion image quality assessment command, obtain standard color chart data from a preset database, and simultaneously, based on preset image acquisition parameters, control an image acquisition device to acquire multiple frames of images of a scene containing the standard color chart, obtaining an original image sequence covering different exposure levels. The spectral data corresponding to the standard color chart data is compared with the measured pixel values of the color chart region in each original image of the original image sequence. The chromaticity error and luminance error of each color chart region in multiple color channels are calculated. Based on the chromaticity error and luminance error, the overall error between the entire original image and the standard color chart data is determined. The original image with the smallest overall error between the original image sequence and the standard color chart data is determined as the standard exposure image, and the original image sequence is determined as a multi-exposure image sequence. The preset image acquisition parameters may include a fixed aperture, exposure time varying sequentially, and ISO parameters.
[0032] S120. Based on a preset multi-exposure fusion algorithm, at least two sets of exposure images in the multi-exposure image sequence are fused to obtain a fused image, and the first image evaluation index corresponding to the fused image is obtained.
[0033] In this embodiment of the disclosure, the two exposed images in each group of exposed images are determined based on different combination methods. Each group of exposed images corresponds to one fused image.
[0034] The combination methods include symmetrical combinations and asymmetrical combinations.
[0035] In some examples disclosed herein, the two exposure images determined based on the symmetrical combination method are an overexposed image and an underexposed image obtained by moving the standard exposure image to the left and right by the same number of steps, respectively. For example, with step number 0 as the reference center, the image corresponding to step number -1 when moved to the left and the image corresponding to step number +1 when moved to the right are determined as a set of exposure images; this combination method is the symmetrical combination.
[0036] In other examples of this disclosure, the two exposure images obtained based on asymmetric combination may include an overexposed image and an underexposed image, and the overexposed image and the underexposed image are asymmetric. For example, with step number 0 as the reference center, the image corresponding to step number -1 when moving to the left and the image corresponding to step number +3 when moving to the right are determined as a set of exposure images. This combination method is an asymmetric combination. It may also include two overexposed images; it may also include two underexposed images, without limitation.
[0037] Therefore, each set of exposure images determined by different combination methods can be input into a preset multi-exposure fusion algorithm for fusion processing, so as to evaluate the quality of the fused image obtained by the preset multi-exposure fusion algorithm for different exposure images, thereby improving the comprehensiveness of the evaluation.
[0038] In this embodiment of the disclosure, the preset multi-exposure fusion algorithm can be any existing fusion algorithm used to synthesize multiple images with different exposure levels in the same scene into a high dynamic range and detailed image to be evaluated.
[0039] Optionally, the electronic device can classify multiple preset multi-exposure fusion algorithms according to their different focuses. For example, different preset multi-exposure fusion algorithms have different focuses. For instance, multi-exposure fusion algorithms that focus on detail and brightness information include: D-SHIFT15 algorithm, MEFAW18 algorithm, FusionDN20 algorithm, U2Fusion algorithm, etc.; multi-exposure fusion algorithms that focus on color information include: DEM20 algorithm, DPE-MEF22 algorithm, FFMF23 algorithm, etc.; and multi-exposure fusion algorithms that focus on multi-exposure brightness information include: MEF-NET22 algorithm, MEF-CL23 algorithm, CRMEF-24 algorithm, etc.
[0040] Among them, the D-SHIFT15 algorithm is a multi-exposure fusion algorithm based on dense scale-invariant feature transform, proposed to address the ghosting problem in dynamic scenes, aiming to improve the quality and visual effect of high dynamic range imaging. The MEFAW18 algorithm is a multi-exposure image fusion algorithm based on adaptive weights that reflect relative pixel intensity and global gradient. Unlike local gradients, global gradients consider the overall changes in pixel values in the image, helping to maintain global consistency during the fusion process. Simultaneously, weights are designed based on the relationship between pixel values and overall image brightness to emphasize bright areas in low-exposure images and dark areas in high-exposure images. Finally, the two weight functions are combined and normalized. Then, these weights are used to fuse the multi-exposure images into a single image. Furthermore, to avoid discontinuities and noise in weight values, the algorithm employs a multi-resolution approach for image fusion, utilizing pyramid image decomposition for MEF processing at each pyramid level before synthesizing the final result. The FusionDN20 algorithm can handle various image fusion tasks (infrared and visible light image fusion, multi-exposure image fusion, and multi-focus image fusion), and avoids catastrophic forgetting problems in multi-task learning by using the Elastic Weight Consolidation (EWC) algorithm. The three-channel image is converted to the YCbCr color space, and the luminance channel (Y channel) is fused using a deep learning method while the chrominance channel is fused using a traditional method. The U2Fusion algorithm is a unified unsupervised end-to-end image fusion network designed to solve various image fusion problems such as multimodal, multi-exposure, and multi-focus images, without requiring specific task design or supervised learning of ground-based real data. Its core idea is to extract rich features from the source image through a pre-trained network (such as VGG-16), define the relative importance of features based on their information richness, thereby adaptively determining the information retention of the source image, and training the DenseNet module to generate the fusion result. In addition, U2Fusion employs an elastic weight merging (EWC) strategy to avoid catastrophic forgetting, enabling a single model to sequentially learn multiple fusion tasks without losing old capabilities.
[0041] The DEM20 algorithm uses a traditional method to perform Gaussian fusion on image channels, aiming to improve image details and reduce color distortion in high dynamic range (HDR) scenes. A weight map is constructed in the YUV color space, taking into account human visual characteristics, and is calculated using contrast, saturation, exposure, and brightness quality. Multi-scale exposure fusion and detail enhancement components are also proposed.
[0042] The DPE-MEF22 algorithm uses a depth-sensing enhancement network to fuse multiple images with different exposures to generate high dynamic range (HDR) images with rich information and visual realism. The algorithm architecture mainly includes a DEM detail enhancement module and a CEM color enhancement module.
[0043] The FFMF23 algorithm primarily focuses on the fusion of the luminance channels, but in the design of the loss function (GIF loss), it also indirectly considers the impact of color information on the fusion effect. For example, when calculating the loss in smooth regions, the authors introduce saturation-based weighting to enhance the constraint effect of color information in smooth regions.
[0044] The MEF-NET22 algorithm employs the concepts of low-resolution predicted weight maps and guided filtering for high-resolution reconstruction. It learns from multi-exposure sequence illumination to aid in the fusion of image brightness. A shared fully convolutional network (CAN) directly predicts the weight maps of each source image in the low-resolution sequence. Then, guided by a guided filter, these weight maps are jointly upsampled using the original high-resolution image as a guide. Finally, a weighted fusion is performed to generate the final image, while the overall model optimizes the perceptually calibrated MEF-SSIM metric in an end-to-end manner.
[0045] The MEF-CL23 algorithm overcomes the exposure limitations and performance bottlenecks faced by existing methods, reducing dependence on source image lighting and enabling the fusion of asymmetric exposures. MEF-CL is designed to simulate similarity constraints to preserve content in the source image. It explores a latent feature space and applies forced learning within this space to guide the fused image to approximate samples with normal lighting and avoid inappropriately exposed samples. Therefore, the features of the fused image can be further improved without being affected by the source image. By reducing dependence on brightness information from the source image, MEF-CL exhibits better versatility across various scenarios.
[0046] The core idea of the CRMEF-24 algorithm is "cross-reference attention + gated fusion + unsupervised perceptual loss," which can fuse images with extreme exposures. Specifically, since overexposed / underexposed areas usually lack texture information, CRMEF uses normally exposed pixels as "queries," and uses an attention mechanism to mine complementary structural, edge, or chromatic cues from extremely exposed areas to achieve cross-exposure information compensation. Furthermore, it simultaneously estimates two gate values for each pixel: "content confidence" and "exposure confidence." In extremely bright or dark areas, where content confidence is low, the gate automatically amplifies the weights from other exposed frames, avoiding the forced use of invalid pixels. This algorithm uses a no-reference quality metric based on the human visual system (such as a variant of MEF-SSIM) for end-to-end training, maintaining statistical consistency even with extreme dynamic ranges.
[0047] In this embodiment of the disclosure, the first image evaluation metric is an indicator used to characterize the geometric fidelity and information fidelity of an image. Specifically, it may include image evaluation metrics based on information theory, image evaluation metrics based on image features, image evaluation metrics based on structural similarity, and image evaluation metrics based on human visual system perception.
[0048] In this embodiment of the disclosure, the information theory-based image evaluation metrics may specifically include cross-entropy (CE), feature mutual information (FMI), and peak signal-to-noise ratio (PSNR).
[0049] Cross-entropy is used to measure the statistical distribution difference between the fused image and the source image (i.e., the standard exposure image). The smaller the value, the more complete the information is preserved.
[0050] Feature mutual information is used to characterize the mutual information between the fused image and the source image (i.e., the standard exposure image) in the feature domain. The larger the value, the more source features are retained. Peak signal-to-noise ratio (PSNR) is a purely pixel-level objective indicator. A higher value indicates a smaller mean square error between the fused image and the source image (i.e., the standard exposure image).
[0051] Image evaluation metrics based on image features may include average gradient (AG), standard deviation (SD), and spatial frequency (SF).
[0052] The average gradient is used to reflect the overall texture sharpness of an image; the larger the value, the sharper the edges.
[0053] Standard deviation is used to measure the dispersion of image grayscale distribution. A larger standard deviation usually means higher contrast and richer information.
[0054] Spatial frequency is used to measure the overall detail richness and texture complexity of an image, combining the gradient change rate in the row and column directions. A higher value indicates more image detail.
[0055] Image evaluation metrics based on structural similarity can specifically include Multi Exposure Fusion Structural Similarity (MEF-SSIM) and Gradient Similarity (Qy).
[0056] Multi-exposure fusion structural similarity is used to measure the extent to which the fused image retains structural and detail information from multiple input images with different exposures.
[0057] Gradient similarity can be understood as using edge strength and orientation consistency to evaluate the degree of inheritance of structural information of the source image by the fused image. It is in the range of 0 to 1, and the closer to 1, the better.
[0058] The evaluation metrics for perceived images based on the human visual system can specifically include color fidelity (Qcb) and visual information fidelity (VIF).
[0059] Color fidelity combines the contrast sensitivity function (CSF) with visual information to predict the subjective rating of the fused image by the human eye; the higher the value, the better the visual quality.
[0060] Visual information fidelity is based on natural scene statistics and human visual distortion models. It quantifies the "visual information" retained by the fused image relative to the source image. The higher the fidelity, the closer it is to human visual preferences.
[0061] In this embodiment of the disclosure, the specific implementation method for obtaining each indicator in the first image evaluation index corresponding to the fused image is similar to the existing implementation method for obtaining each indicator, and will not be described in detail here.
[0062] Specifically, after acquiring the benchmark dataset, the electronic device inputs at least two sets of images (including overexposed and underexposed images) from the multi-exposure image sequence into a preset multi-exposure fusion algorithm. The preset multi-exposure fusion algorithm performs fusion processing on the at least two sets of images to obtain a fused image, and calculates each first image evaluation index of the fused image to obtain the first image evaluation index corresponding to the fused image.
[0063] S130. Based on the pixel difference of the same pixel in each color channel in the fused image and the standard exposure image, and the pixel difference of the same pixel in each color channel in each color card region corresponding to the fused image and the standard color card data, determine the second image evaluation index corresponding to the fused image.
[0064] In this embodiment of the disclosure, the second image evaluation metric is an indicator used to characterize the radiometric fidelity of an image. Image radiometric fidelity can be understood as the degree of consistency or accuracy between the brightness or color information represented by pixel values in a digital image and the absolute radiometric value of the corresponding scene in the real physical world.
[0065] In this embodiment of the disclosure, the color channels may include a red (R) channel, a green (G) channel, and a blue (B) channel.
[0066] Specifically, after acquiring the fused image, the electronic device calculates the pixel difference of the same pixel in each color channel between the fused image and the standard exposure image for each fused image corresponding to each group of exposure images. Then, based on the pixel difference of the same pixel in each color channel between the fused image and the standard exposure image, the global pixel difference between the fused image and the standard exposure image is determined. Furthermore, the device calculates the pixel difference of the same pixel in each color card region corresponding to the standard color card data between the fused image and the standard color card data. Based on the pixel difference of the same pixel in each color card region corresponding to the standard color card data between the fused image and the standard color card data, the local pixel difference between the fused image and each color card region is determined. Finally, based on the global pixel difference and the local pixel difference, the second image evaluation index corresponding to the fused image is determined.
[0067] S140. The first image evaluation index and the second image evaluation index are determined as the quality evaluation index of the fused image; the evaluation result of the preset multi-exposure fusion algorithm is determined based on the quality evaluation index.
[0068] Specifically, for each fused image corresponding to each set of exposure images, after determining the second image evaluation index corresponding to the fused image, the electronic device determines the first image evaluation index and the second image evaluation index as the quality evaluation index of the fused image, and evaluates the preset multi-exposure fusion algorithm according to the quality evaluation index of the fused image to obtain the evaluation result of the preset multi-exposure fusion algorithm.
[0069] In this embodiment, a unified reference benchmark and physical scale for evaluating the quality of multi-exposure fused images is established by constructing a benchmark dataset containing standard exposure images, multi-exposure image sequences, and standard color chart data. This effectively avoids the problem of inconsistent evaluation starting points caused by the lack of protocols and specifications when using self-built or publicly available small-scale data. Simultaneously, by calculating the first image evaluation index (geometric and information fidelity) of the fused image, the spatial domain accuracy of the fusion algorithm is quantified from the perspective of structural transfer and detail preservation. Secondly, by introducing standard exposure images and standard color chart data, the pixel differences in the fused image at the pixel level and the standard color chart region level, and within each color channel, are calculated respectively, thereby achieving a measurement of the radiometric fidelity of the fused image. This not only quantifies the deviation of the fused image from the real scene in absolute brightness and color, but also distinguishes between global brightness shift and local color difference, thus solving the problem of lacking an effective measure of the accuracy of optical information in the fused image, significantly improving the reproducibility and horizontal comparability of evaluation results between different algorithms.
[0070] In this embodiment, the multi-exposure fusion algorithm evaluation method based on traceable images described in the above embodiments of this disclosure is used to evaluate the fusion quality of benchmark datasets at different target locations, obtaining quality evaluation indicators for the fusion quality of each group of exposed images in the benchmark datasets at different target locations. Therefore, different multi-exposure fusion algorithms can be selected for fusion processing based on the quality evaluation indicators in different application scenarios, such as different configurations of different terminal devices, different user needs, and different ambient brightness during image acquisition, improving the accuracy of multi-exposure fusion algorithm selection and the quality of the fused image.
[0071] Based on the embodiments described above, a second image evaluation index corresponding to the fused image is determined based on the pixel difference of the same pixel in each color channel between the fused image and the standard exposure image, and the pixel difference of the same pixel in each color channel in each color card region corresponding to the fused image and the standard color card data. Specifically, this may include: for each first pixel in the fused image, determining the sum of the absolute values of the pixel differences of the first pixel in each color channel to obtain a first value; determining a first sub-evaluation index corresponding to the fused image based on the first value, the first sub-evaluation index being used to characterize the global pixel difference between the fused image and the standard exposure image; for each color card region, determining the sum of the absolute values of the pixel differences of each second pixel in each color channel to obtain a second value; determining a second sub-evaluation index corresponding to the fused image based on the second value, the second sub-evaluation index being used to characterize the local pixel difference between the fused image and each color card region; and determining a second image evaluation index based on the first sub-evaluation index and the second sub-evaluation index.
[0072] In this embodiment, the first pixel is any pixel in the fused image. The second pixel is any pixel in each color chart region.
[0073] In this embodiment of the disclosure, determining the first sub-evaluation index corresponding to the fused image based on the first value may specifically include: calculating the ratio between the first value and the first total quantity corresponding to each color channel to obtain the first average value of the pixel difference of the first pixel in all color channels; obtaining the second total quantity corresponding to the first pixel in the fused image; and calculating the ratio between the sum of the first average values and the second total quantity to obtain the first sub-evaluation index.
[0074] In this embodiment of the disclosure, taking the RGB channel as an example, the specific formula for calculating the first average value of the pixel difference of the first pixel in all color channels for each first pixel is as follows: .
[0075] in, This represents the first average value of the pixel differences of the first pixel across all color channels, i.e., the RGB channels; 3 represents the total number of color channels, i.e., the first total number. This represents the pixel value of the first pixel in each color channel of the fused image; This represents the pixel value of the first pixel in each color channel of a standard exposure image.
[0076] Furthermore, the specific formula for calculating the first sub-evaluation indicator is as follows: .
[0077] in, Represents the first sub-evaluation indicator; The total number of the first pixel is the second total number.
[0078] In this embodiment of the disclosure, determining the second sub-evaluation index corresponding to the fused image based on the second value may specifically include: calculating the ratio between the second value and the first total quantity corresponding to each color channel to obtain the second average value of the pixel difference of the second pixel in all color channels; determining the third total quantity corresponding to the second pixel in each color card area; calculating the ratio between the sum of the second average values and the third total quantity to obtain the third value; and determining the second sub-evaluation index based on the third value.
[0079] In this embodiment of the disclosure, taking a standard color chart data that includes 24 color blocks, i.e., 24 color chart regions, as an example, the specific formula for calculating the second pixel point in the k-th color chart region, and the sum of the second average values of pixel differences in all color channels, is as follows: .
[0080] in, Represents the third value; This represents the total number of the second pixel points in the k-th color card region, which is also the third total number.
[0081] Furthermore, the second sub-evaluation index is determined based on the third value. Specifically, this may include: determining the fourth total quantity corresponding to the color card area in the standard color card data; calculating the ratio of the sum of the third values to the fourth total quantity to obtain the second sub-evaluation index.
[0082] The specific formula for calculating the second sub-evaluation indicator is as follows: .
[0083] in, 24 represents the second sub-evaluation indicator; 24 represents the total number of color card areas, i.e., the fourth total number.
[0084] In this embodiment of the disclosure, determining a second image evaluation index based on a first sub-evaluation index and a second sub-evaluation index may specifically include: obtaining a first weight corresponding to the first sub-evaluation index and a second weight corresponding to the second sub-evaluation index; and performing a weighted fusion calculation on the first sub-evaluation index and the second sub-evaluation index based on the first weight and the second weight to obtain the second image evaluation index.
[0085] In this embodiment, the first weight and the second weight can be adaptively set according to the actual application scenario, and are not limited herein. The values of the first weight and the second weight can be between [0,1]. For example, the first weight can be 0.3 and the second weight can be 0.7.
[0086] In this embodiment of the disclosure, the specific formula for calculating the second image evaluation index is as follows: .
[0087] Where W represents the second image evaluation index; λ1 represents the first weight; and λ2 represents the second weight.
[0088] In this embodiment of the disclosure, a smaller value for the second image evaluation index indicates a higher radiation fidelity.
[0089] In this embodiment of the disclosure, by constructing a second image evaluation index, radiometric fidelity is incorporated into the multi-exposure fusion image quality evaluation, which improves the accuracy of the multi-exposure fusion image quality evaluation. At the same time, when determining the second image evaluation index, adaptive weights are introduced, which can adaptively focus on visually sensitive bright and dark areas in high dynamic scenes, making the evaluation of radiometric fidelity more in line with the characteristics of the human visual system and the needs of engineering applications.
[0090] Figure 2 This is a flowchart of another evaluation method for multi-exposure fusion algorithm based on traceable images provided in this disclosure, such as... Figure 2 As shown, the evaluation method for multi-exposure fusion algorithms based on traceable images may specifically include the following steps: S210. Obtain the benchmark dataset.
[0091] S220. Based on a preset multi-exposure fusion algorithm, at least two sets of exposure images in the multi-exposure image sequence are fused to obtain a fused image corresponding to each set of exposure images.
[0092] S230. For each first pixel in each fused image, determine the sum of the absolute values of the pixel differences of the first pixel in each color channel to obtain a first value; calculate the ratio between the first value and the first total number corresponding to each color channel to obtain the first average value of the pixel differences of the first pixel in all color channels.
[0093] S240. Obtain the second total number corresponding to the first pixel in the fused image; calculate the ratio between the sum of the first average values and the second total number to obtain the first sub-evaluation index.
[0094] S250. For each color chart area, determine the sum of the absolute values of the pixel differences of each second pixel point in each color channel to obtain a second value; calculate the ratio between the second value and the first total number corresponding to each color channel to obtain the second average value of the pixel differences of the second pixel point in all color channels.
[0095] S260. Determine the third total quantity corresponding to the second pixel in the color card area; calculate the ratio between the sum of the second average values and the third total quantity to obtain the third value; calculate the ratio between the sum of the third values and the fourth total quantity corresponding to the color card area to obtain the second sub-evaluation index.
[0096] S270. Based on the first sub-evaluation index and the second sub-evaluation index, determine the second image evaluation index.
[0097] S280. The first image evaluation index and the second image evaluation index are determined as the quality evaluation index of the fused image.
[0098] It should be noted that the specific implementation methods of steps S210 to S280 are similar to those of the relevant steps in the above embodiments of this disclosure, and will not be repeated here.
[0099] In this embodiment, by using a benchmark dataset for multi-exposure fusion image quality evaluation, the problems of untraceable test data and subjective standard exposure are solved, ensuring the consistency and authority of the starting point for multi-exposure fusion image quality evaluation output by different multi-exposure fusion algorithms. Simultaneously, by constructing multi-dimensional evaluation indicators, namely the first image evaluation indicator and the second image evaluation indicator, especially the construction of the second image evaluation indicator, radiometric fidelity is incorporated into the multi-exposure fusion image quality evaluation, and adaptive weights are introduced. This allows for adaptive attention to visually sensitive bright and dark areas in high-dynamic scenes, making the evaluation of radiometric fidelity more consistent with the characteristics of the human visual system and the needs of engineering applications. Therefore, it not only quantifies the deviation of the fused image from the real scene in absolute brightness and color but also distinguishes between global brightness shift and local color difference, thus solving the problem of lacking an effective measure of the accuracy of optical information in the fused image. This significantly improves the reproducibility and horizontal comparability of evaluation results between different algorithms.
[0100] Figure 3 This is a schematic diagram of the structure of a multi-exposure fusion algorithm evaluation device based on traceable images provided in an embodiment of this disclosure.
[0101] In this embodiment of the disclosure, the multi-exposure fusion algorithm evaluation device based on traceable images can be installed within an electronic device and is understood as a functional module within the aforementioned electronic device. Specifically, the electronic device can be a server or a terminal, wherein the terminal specifically includes mobile phones, computers, or tablet computers, etc., without limitation.
[0102] like Figure 3 As shown, the multi-exposure fusion algorithm evaluation device 300 based on traceable images may include: The data acquisition module 310 can be used to acquire a reference dataset, which includes standard exposure images, multi-exposure image sequences, and standard color card data. The standard exposure images are standard color card optical information databases traceable to national colorimetric standards and exposure images that have been determined to be reference true values. The information processing module 320 can be used to perform fusion processing on at least two sets of exposure images in a multi-exposure image sequence based on a preset multi-exposure fusion algorithm to obtain a fused image, and obtain the first image evaluation index corresponding to the fused image. The first image evaluation index is an index used to characterize the geometric fidelity and information fidelity of the image. The two exposure images in each set of exposure images are determined based on different combination methods. The first index determination module 330 can be used to determine the second image evaluation index corresponding to the fused image based on the pixel difference of the same pixel in each color channel in the fused image and the standard exposure image, and the pixel difference of the same pixel in each color channel in each color card area corresponding to the fused image and the standard color card data. The second image evaluation index is an index used to characterize the radiometric fidelity of the image. The second indicator determination module 340 can be used to determine the first image evaluation indicator and the second image evaluation indicator as the quality evaluation indicators of the fused image; and determine the evaluation result of the preset multi-exposure fusion algorithm based on the quality evaluation indicators.
[0103] In this embodiment, a unified reference benchmark and physical scale for evaluating the quality of multi-exposure fused images is established by constructing a benchmark dataset containing standard exposure images, multi-exposure image sequences, and standard color chart data. This effectively avoids the problem of inconsistent evaluation starting points caused by the lack of protocols and specifications when using self-built or publicly available small-scale data. Simultaneously, by calculating the first image evaluation index (geometric and information fidelity) of the fused image, the spatial domain accuracy of the fusion algorithm is quantified from the perspective of structural transfer and detail preservation. Secondly, by introducing standard exposure images and standard color chart data, the pixel differences in the fused image at the pixel level and the standard color chart region level, and within each color channel, are calculated respectively, thereby achieving a measurement of the radiometric fidelity of the fused image. This not only quantifies the deviation of the fused image from the real scene in absolute brightness and color, but also distinguishes between global brightness shift and local color difference, thus solving the problem of lacking an effective measure of the accuracy of optical information in the fused image, significantly improving the reproducibility and horizontal comparability of evaluation results between different algorithms.
[0104] In some embodiments of this disclosure, the first indicator determination module 330 may specifically include a first processing unit, a second processing unit, a third processing unit, a fourth processing unit, and an indicator determination unit.
[0105] The first processing unit can be used to determine the sum of the absolute values of the pixel differences of each first pixel in each color channel for each first pixel in the fused image, and obtain a first value, wherein the first pixel is any pixel in the fused image.
[0106] The second processing unit can be used to determine a first sub-evaluation index corresponding to the fused image based on the first value. The first sub-evaluation index is used to characterize the global pixel difference between the fused image and the standard exposure image.
[0107] The third processing unit can be used to determine the sum of the absolute values of the pixel differences of each second pixel point in each color channel in each color card area, and obtain the second value.
[0108] The fourth processing unit can be used to determine the second sub-evaluation index corresponding to the fused image based on the second value. The second sub-evaluation index is used to characterize the local pixel differences between the fused image and each color card region.
[0109] The indicator determination unit can be used to determine the second image evaluation indicator based on the first sub-evaluation indicator and the second sub-evaluation indicator.
[0110] In some embodiments of this disclosure, the second processing unit may be specifically used to calculate the ratio between the first value and the first total number corresponding to each color channel, so as to obtain the first average value of the pixel difference of the first pixel in all color channels; Obtain the second total number corresponding to the first pixel in the fused image; The first sub-evaluation index is obtained by calculating the ratio between the sum of the first averages and the second total quantity.
[0111] In some embodiments of this disclosure, the fourth processing unit may be specifically used to calculate the ratio between the second value and the first total number corresponding to each color channel, so as to obtain the second average value of the pixel difference of the second pixel in all color channels; For each color chart area, determine the third total number corresponding to the second pixel in the color chart area; Calculate the ratio between the sum of the second averages and the third total quantity to obtain the third value; The second sub-evaluation index is determined based on the third value.
[0112] In some embodiments of this disclosure, the fourth processing unit may also be specifically used to determine the fourth total quantity corresponding to the color card area in the standard color card data; The ratio of the sum of the third values to the total fourth value is used to obtain the second sub-evaluation index.
[0113] In some embodiments of this disclosure, the indicator determination unit may be specifically used to obtain the first weight corresponding to the first sub-evaluation indicator and the second weight corresponding to the second sub-evaluation indicator. Based on the first weight and the second weight, the first sub-evaluation index and the second sub-evaluation index are weighted and fused to obtain the second image evaluation index.
[0114] In some embodiments of this disclosure, the first image evaluation metric includes information theory-based image evaluation metrics, image feature-based image evaluation metrics, structural similarity-based image evaluation metrics, and perceptual image evaluation metrics based on the human visual system. Among them, information theory-based image evaluation metrics include cross-entropy, feature mutual information, and peak signal-to-noise ratio; image feature-based image evaluation metrics include average gradient, standard deviation, and spatial frequency; structural similarity-based image evaluation metrics include multi-exposure fusion structural similarity and gradient similarity; and perceptual image evaluation metrics based on the human visual system include color fidelity and visual information fidelity.
[0115] In some embodiments of this disclosure, the benchmark dataset includes datasets collected from targets at different locations, wherein the brightness of the datasets collected from targets at different locations is different.
[0116] It should be noted that, Figure 3 The multi-exposure fusion algorithm evaluation device 300 based on traceable images shown can execute the various steps in the above method embodiments and realize the various processes and effects in the above method embodiments, which will not be elaborated here.
[0117] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, devices, or computer program goods. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program goods embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0118] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program goods according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0119] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0120] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0121] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for evaluating multi-exposure fusion algorithms based on traceable source images, characterized in that, The methods include: Obtain a benchmark dataset, which includes standard exposure images, multi-exposure image sequences, and standard color chart data. The standard exposure images are standard color chart optical information databases traceable to national colorimetric standards and exposure images that have been determined to be benchmark true values. At least two sets of exposure images in the multi-exposure image sequence are fused based on a preset multi-exposure fusion algorithm to obtain a fused image, and a first image evaluation index corresponding to the fused image is obtained. The first image evaluation index is an index used to characterize the geometric fidelity and information fidelity of the image. The two exposure images in each set of exposure images are determined based on different combination methods. Based on the pixel difference of the same pixel in each color channel in the fused image and the standard exposure image, and the pixel difference of the same pixel in each color channel in each color card region corresponding to the fused image and the standard color card data, a second image evaluation index corresponding to the fused image is determined. The second image evaluation index is an index used to characterize the radiometric fidelity of the image. The first image evaluation index and the second image evaluation index are determined as the quality evaluation index of the fused image; The evaluation result of the preset multi-exposure fusion algorithm is determined based on the quality evaluation index.
2. The method according to claim 1, characterized in that, The determination of the second image evaluation index corresponding to the fused image based on the pixel difference of the same pixel in each color channel between the fused image and the standard exposure image, and the pixel difference of the same pixel in each color channel in each color card region corresponding to the fused image and the standard color card data, includes: For each first pixel in the fused image, the sum of the absolute values of the pixel differences of the first pixel in each color channel is determined to obtain a first value, where the first pixel is any pixel in the fused image; Based on the first value, a first sub-evaluation index is determined for the fused image, and the first sub-evaluation index is used to characterize the global pixel difference between the fused image and the standard exposure image. For each color chart area, the sum of the absolute values of the pixel differences of each second pixel point in the color chart area on each color channel is determined to obtain the second value; Based on the second value, a second sub-evaluation index is determined for the fused image. The second sub-evaluation index is used to characterize the local pixel differences between the fused image and each color card region. The second image evaluation index is determined based on the first sub-evaluation index and the second sub-evaluation index.
3. The method according to claim 2, characterized in that, The step of determining the first sub-evaluation index corresponding to the fused image based on the first value includes: Calculate the ratio between the first value and the first total number corresponding to each color channel to obtain the first average value of the pixel difference in all color channels for the first pixel. Obtain the second total number corresponding to the first pixel in the fused image; The first sub-evaluation index is obtained by calculating the ratio between the sum of the first average values and the second total quantity.
4. The method according to claim 2, characterized in that, The step of determining the second sub-evaluation index corresponding to the fused image based on the second value includes: Calculate the ratio between the second value and the first total number corresponding to each color channel to obtain the second average value of the pixel difference in all color channels; For each color chart area, determine the third total number corresponding to the second pixel in the color chart area; Calculate the ratio between the sum of the second average values and the third total quantity to obtain the third value; The second sub-evaluation index is determined based on the third value.
5. The method according to claim 4, characterized in that, The determination of the second sub-evaluation index based on the third value includes: Determine the fourth total quantity corresponding to the color card area in the standard color card data; The second sub-evaluation index is obtained by calculating the ratio of the sum of the third values to the fourth total quantity.
6. The method according to claim 2, characterized in that, The step of determining the second image evaluation index based on the first sub-evaluation index and the second sub-evaluation index includes: Obtain the first weight corresponding to the first sub-evaluation indicator and the second weight corresponding to the second sub-evaluation indicator; Based on the first weight and the second weight, the first sub-evaluation index and the second sub-evaluation index are weighted and fused to obtain the second image evaluation index.
7. The method according to claim 1, characterized in that, The first image evaluation metric includes information theory-based image evaluation metrics, image feature-based image evaluation metrics, structural similarity-based image evaluation metrics, and perceptual image evaluation metrics based on the human visual system. Among them, information theory-based image evaluation metrics include cross-entropy, feature mutual information, and peak signal-to-noise ratio; image feature-based image evaluation metrics include average gradient, standard deviation, and spatial frequency; structural similarity-based image evaluation metrics include multi-exposure fusion structural similarity and gradient similarity; and perceptual image evaluation metrics based on the human visual system include color fidelity and visual information fidelity.
8. The method according to claim 1, characterized in that, The benchmark dataset includes datasets collected from targets at different locations, where the brightness of the datasets collected from targets at different locations is different.
9. An electronic device, characterized in that, include: processor; Memory, used to store executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the multi-exposure fusion algorithm evaluation method based on traceable images as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, causes the processor to implement the multi-exposure fusion algorithm evaluation method based on traceable images as described in any one of claims 1-8.
