A method for improving image definition based on truth finding
By evaluating the image frequency domain information entropy using the truth discovery approach and assigning weights to perform multi-source color image fusion, this method solves the problems of artifacts and parameter dependence in existing methods, achieves high efficiency in image clarity and information aggregation, and simplifies parameter settings.
Patent Information
- Application Number
- CN202311266567.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-09-26
AI Technical Summary
Existing multi-source color image fusion methods are prone to artifacts near edges, and spatial domain methods are prone to color cast and distortion when pixel weights are not properly allocated. Transform domain methods are time-consuming and have complex parameter selection, making it difficult to achieve a balance between real-time performance and image clarity.
Employing the truth discovery approach, weights are assigned by evaluating the information entropy of the image in the frequency domain, and weighted average fusion is performed. The reliability of the image data source is utilized for three-channel merging, avoiding parameter selection and improving the information aggregation and clarity of the image.
It achieves better image clarity and information aggregation while maintaining strong real-time performance, reduces the impact of incorrect pixels, simplifies parameter settings, and improves the quality of fused images.
Smart Images

Figure CN117333408B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image processing technology, particularly to the field of multi-source color image fusion, and specifically to a method for improving image sharpness based on truth discovery. Background Technology
[0002] Multi-source images possess redundancy and complementarity, leading to data conflicts during multi-source image fusion. Truth discovery, by assessing the reliability of the sources and aggregating the data to obtain the truth closest to the facts, is an effective method for resolving data conflicts. However, truth discovery algorithms are commonly used for textual, numerical, and streaming data, but not for fusion of two-dimensional image data.
[0003] There are two common methods for fusing color images. One is the transform domain method. Overall, the final image obtained by the transform domain method has good contrast and signal-to-noise ratio. However, transform domain fusion may produce halo artifacts near the edges, as well as spurious data or distortions related to spatial inconsistencies, which can easily affect subsequent processing. In addition, many transform domain methods involve parameter selection. For example, when using multi-scale transform methods, the quality of image fusion improves with the increase of the number of decomposition layers, but the time consumption also increases. Therefore, the number of decomposition layers for multi-scale transform methods should be determined according to the actual situation.
[0004] Another approach is the spatial domain method. Common algorithms directly manipulate the pixels of the image or divide it into regions and blocks. Compared to the former, this method is generally faster, easier to implement, and more real-time. However, this method is highly dependent on the estimation of pixel weights. The allocation of weights affects the quality of the final image. Improper allocation may even cause color casts, distortions, and other problems. In addition, this method may incorrectly select pixels from the source image, thus affecting the quality of the final image. Moreover, the selection of parameters is also involved when dividing blocks or regions in the block or region algorithm. For example, the size of the block is important; the smaller the block, the more time it takes, while the larger the block, the less effective it is. Summary of the Invention
[0005] Purpose of the invention:
[0006] To address the aforementioned technical problem of data conflict during image fusion when a certain channel is fused, this technical solution provides a method for improving image clarity based on truth discovery. It utilizes the truth discovery approach to perform multi-source color image fusion, using the information entropy of the image data source in the frequency domain as the basis for evaluating its reliability. Weights are assigned based on the reliability of the source images, and a weighted average is then applied for merging of the three channels. This method requires no parameters, offers strong real-time performance, and results in a fused image with better information aggregation and clarity, effectively solving the aforementioned problems.
[0007] This invention is achieved through the following technical solution:
[0008] A method for improving image sharpness based on truth discovery includes the following steps:
[0009] Step 1: Input a set of color images X, and obtain the R, G, and B channel components RB of this set of images. T G T B T ;
[0010] Step 2: Perform Fourier transform to obtain the frequency domain image data R of each image in the three channels. F G F B F ;
[0011] Step 3: Calculate the power spectrum of each image in each channel and quantize the power spectrum values;
[0012] Step 4: Perform histogram statistics to calculate the information entropy of each image in the three channels in the frequency domain, and assign weights to each image in the three channels based on the information entropy;
[0013] Step 5: Introduce a truth discovery model, and perform a weighted average of the values provided by each image in the same channel to obtain the channel components R of the final image. * G * B * The images are then merged to obtain the final image X. * .
[0014] Furthermore, the specific operation method for step 1 is as follows:
[0015] Step 1.1: Denote the input set of color images as X = {X1, X2, ..., X...} M}, M is the number of images in this group, m is defined to traverse this group of images, and the width and height of the images are defined as Z and N respectively;
[0016] Step 1.2: Obtain the components of this image in the R, G, and B channels through processing, and denote them as follows:
[0017] Furthermore, in the input set of color images X, the content captured in the images, as well as the width and height of the images, need to be the same.
[0018] Furthermore, the specific operation method for step 2 is as follows:
[0019] Step 2.1: Since the R, G, and B channel components of each image need to be processed in the same way, Y is defined to refer to one of the R, G, and B channels. Define matrix The numerical values in are represented as Where m∈[0,M-1], x∈[0,Z-1], y∈[0,N-1];
[0020] Step 2.2: Process time-domain image data Frequency domain image data can be obtained by performing a Fourier transform. The Fourier transform formula is:
[0021]
[0022] In the formula, for The corresponding frequency domain image data, u∈[0, Z-1], v∈[0, N-1];
[0023] Step 2.3: R respectively T G T B T Substituting into step 2.2, we obtain
[0024] Furthermore, the specific operation method for step 3 is as follows:
[0025] Step 3.1: Calculate the power spectrum of each image in the Y channel, using the following formula:
[0026]
[0027] Step 3.2: Quantize the power spectrum values using the following formula:
[0028]
[0029] In the formula, θ is a very small positive number, Q is a positive integer representing the quantization level, i∈[0, Z-1], j∈[0, N-1], pow m,i,j ∈[0, Q).
[0030] Furthermore, the specific operation method for step 4 is as follows:
[0031] Step 4.1: Perform tests on pow respectively m Perform histogram statistics and calculate the pow m The frequency p of each value is calculated by counting the number of times it appears in the table. The formula is:
[0032]
[0033] In the formula, I is the indicator function. For pow m The number of times each value appears in the table;
[0034] Step 4.2: Calculate the information entropy H of each image in channel Y in the frequency domain, denoted as H = {H1, H2, ..., H...} M The formula is:
[0035]
[0036] Step 4.3: Assign a weight to each image in the corresponding channel Y based on the information entropy, denoted as W. Y ={w Y1 w Y2 , ..., w YM}, take the reciprocal of the square of the information entropy As the weights of each image in the corresponding channel Y, and satisfying that the sum of the weights of all images in channel Y is 1, the weights of each image in channel Y can be obtained as follows:
[0037]
[0038] Step 4.4: R respectively F G F B F Substituting the operations from steps 3.1 to 4.3, we can obtain W. R ={w R1 w R2 , ..., w RM}、W G ={w G1 w G2 , ..., w GM}、W B ={w B1 w B2 , ..., w BM}
[0039] Furthermore, the specific operation method for step 5 is as follows:
[0040] Step 5.1: Define the final image as X * Its R, G, and B channel components are R * G * B * Define Y * Generally refers to a specific channel component of the final image;
[0041] Step 5.2: Introduce the truth discovery model. The information source consists of M images, and each information source declares a value of Y for channel Y. T The credibility of each information source's claimed value for channel Y is W. Y Therefore, the Y-axis of the final image can be obtained. * The channel components are:
[0042]
[0043] Step 5.3: Perform the operation of step 5.2 on the R, G, and B channels respectively to obtain R. * G * B * The images are then merged to obtain the final image X. * .
[0044] Beneficial effects
[0045] The present invention proposes an efficient data access method based on FPGA convolutional neural networks, which has the following advantages compared with existing technologies:
[0046] (1) This invention utilizes the truth discovery approach to perform multi-source color image fusion. When data conflicts arise during fusion across three channels, the truth discovery approach uses the information entropy of the image data source in the frequency domain as the basis for evaluating source reliability. Weights are then assigned based on the reliability of the source images, with sources of higher reliability receiving more weight, effectively reducing the weight of incorrect pixels. The weighted average of the same channel components from each image is then calculated, and the channels are merged to obtain the final image. This invention requires no parameter settings or specific conditions, is simple and intuitive, and provides good real-time performance while achieving better information aggregation and clarity in the final fused image. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of the overall process of the present invention.
[0048] Figure 2 This is a set of initial color images in an embodiment of the present invention.
[0049] Figure 3 yes Figure 2 The final schematic diagram obtained after performing the embodiment operation. Detailed Implementation
[0050] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. The described embodiments are merely some embodiments of the present invention, and not all embodiments. Various modifications and improvements made to the technical solutions of the present invention by those skilled in the art without departing from the design concept of the present invention should fall within the protection scope of the present invention.
[0051] Example 1:
[0052] like Figure 1 As shown, a method for improving image sharpness based on truth discovery includes the following steps:
[0053] Step 1: Input a set of color images X obtained from multiple shots taken within a short period of time, such as... Figure 2 As shown; obtain the R, G, and B channel components of this set of images. T G T B T The specific operation method is as follows:
[0054] Step 1.1: Denote the input set of color images as X = {X1, X2, ..., X...} M}, M is the number of images in this group, m is defined to traverse this group of images, and the width and height of the images are defined as Z and N respectively.
[0055] The input images must contain the same content, and the width and height of the images must be the same. Figure 2 A set of initial color images is given. The two images are the same in content and size, but the image sharpness is different because the focus area is different when they are captured.
[0056] Step 1.2: Obtain the components of this image in the R, G, and B channels through processing, and denote them as follows:
[0057] Step 2: Perform Fourier transform to obtain the frequency domain image data R of each image in the three channels. F G F B F The specific operation method is as follows:
[0058] Step 2.1: Since the R, G, and B channel components of each image need to be processed in the same way, Y is defined to refer to one of the R, G, and B channels. Define matrix The numerical values in are represented as Where m∈[0,M-1], x∈[0,Z-1], y∈[0,N-1].
[0059] Step 2.2: Process time-domain image data Frequency domain image data can be obtained by performing a Fourier transform. The Fourier transform formula is:
[0060]
[0061] In the formula, for The corresponding frequency domain image data, u∈[0, Z-1], v∈[0, N-1].
[0062] Step 2.3: R respectively T G T B TSubstituting into step 2.2, we obtain
[0063] Step 3: Calculate the power spectrum of each image in each channel and quantize the power spectrum values; the specific operation method is as follows:
[0064] Step 3.1: Calculate the power spectrum of each image in the Y channel, using the following formula:
[0065]
[0066] Step 3.2: Quantize the power spectrum values using the following formula:
[0067]
[0068] In the formula, θ is a very small positive number, Q is a positive integer representing the quantization level, i∈[0, Z-1], j∈[0, N-1], pow m,i,j ∈[0, Q).
[0069] Step 4: Perform histogram statistics to calculate the information entropy of each image in the three channels in the frequency domain, and assign weights to each image in the three channels based on the information entropy; the specific operation method is as follows:
[0070] Step 4.1: Perform tests on pow respectively m Perform histogram statistics and calculate the pow m The frequency p of each value is calculated by counting the number of times it appears in the table. The formula is:
[0071]
[0072] In the formula, I is the indicator function. For pow m The number of times each value appears in the table;
[0073] Step 4.2: Calculate the information entropy H of each image in channel Y in the frequency domain, denoted as H = {H1, H2, ..., H...} M The formula is:
[0074]
[0075] Step 4.3: Assign a weight to each image in the corresponding channel Y based on the information entropy, denoted as W. Y ={w Y1 w Y2 , ..., w YM}, take the reciprocal of the square of the information entropy As the weights of each image in the corresponding channel Y, and satisfying that the sum of the weights of all images in channel Y is 1, the weights of each image in channel Y can be obtained as follows:
[0076]
[0077] Step 4.4: R respectively F G F B F Substituting the operations from steps 3.1 to 4.3, we can obtain W. R ={w R1 w R2 , ..., w RM}、W G ={w G1 w G2 , ..., w GM}、W B ={w B1 w B2 , ..., w BM}
[0078] Step 5: Introduce a truth discovery model, and perform a weighted average of the values provided by each image in the same channel to obtain the channel components R of the final image. * G * B * The images are then merged to obtain the final image X. * The specific operation method is as follows:
[0079] Step 5.1: Define the final image as X * Its R, G, and B channel components are R * G * B * Define Y * Generally refers to a specific channel component of the final image;
[0080] Step 5.2: Introduce the truth discovery model. The information source consists of M images, and each information source declares a value of Y for channel Y. T The credibility of each information source's claimed value for channel Y is W. Y Therefore, the Y-axis of the final image can be obtained. * The channel components are:
[0081]
[0082] Step 5.3: Perform the operation of step 5.2 on the R, G, and B channels respectively to obtain R. * G * B * The images are then merged to obtain the final image X. * ;like Figure 3 As shown.
[0083] Figure 3 Yes Figure 2After performing steps 1.2 to 5.3, the final image obtained shows the input image. Figure 2 The effect after fusion using this method ( Figure 3 ).
Claims
1. A method for improving image sharpness based on truth discovery, characterized in that: The following steps are included: Step 1: Input a set of color images Obtain the R, G, and B channel components of this set of images. , , ; Step 1.1: Denote the input set of color images as... , Define the number of images in this set. Iterate through this set of images, defining the width and height of each image as follows: , ; Step 1.2: Obtain the components of this image in the R, G, and B channels through processing, and denote them as follows: , , ; Step 2: Perform Fourier transform to obtain the frequency domain image data of each image in the three channels. , , ; Step 2.1: Perform the same processing on the R, G, and B channel components of each image. Define Y to refer to one of the R, G, and B channels. Define matrix The numerical values in are represented as ,in , , ; Step 2.2: Process time-domain image data Frequency domain image data can be obtained by performing a Fourier transform. The Fourier transform formula is: ; In the formula, for The corresponding frequency domain image data, , ; Step 2.3: Separately , , Substituting into step 2.2, we obtain , , ; Step 3: Calculate the power spectrum of each image in each channel and quantize the power spectrum values; Step 3.1: Calculate the power spectrum of each image in the Y channel, using the following formula: ; Step 3.2: Quantize the power spectrum values using the following formula: ; In the formula, It is a very small positive number. It is a positive integer representing the quantization level. , , ; Step 4: Perform histogram statistics to calculate the information entropy of each image in the three channels in the frequency domain, and assign weights to each image in the three channels based on the information entropy; Step 4.1: For each Perform histogram statistics, statistics Calculate the frequency of each value appearing in the table. The formula is: ; In the formula, I is the indicator function. for The number of times each value appears in the table; Step 4.2: Determine the frequency domain of each image in the channel. Information entropy , recorded as The formula is: ; Step 4.3: Assign each image to its corresponding channel based on its information entropy. The weight, denoted as Take the reciprocal of the square of the information entropy ( As each image in its corresponding channel The weights, while satisfying the requirements of each image in the channel The weights sum to 1, thus we can obtain the weights of each image in the channel. The weights are: ; Step 4.4: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require the full context.] , , Substituting the operations from steps 3.1 to 4.3, we can obtain... , , ; Step 5: Introduce a truth discovery model, and perform a weighted average of the values provided by each image in the same channel to obtain the channel components of the final image. , , The images are then merged to obtain the final image. ; Step 5.1: Define the final image as Its R, G, and B channel components are respectively , , ,definition Generally refers to a specific channel component of the final image; Step 5.2: Introduce the truth discovery model, with the information source being... Zhang's image, information sources regarding the channel The declared value is Information sources regarding channels The credibility of the declared value is Thus, the final image can be obtained. The channel components are: ; Step 5.3: Perform the operation of step 5.2 on the R, G, and B channels respectively to obtain... , , The images are then merged to obtain the final image. .
2. The method for improving image sharpness based on truth discovery according to claim 1, characterized in that: The input set of color images In this case, the content captured in the image, as well as the width and height of the image, must be the same.
Citation Information
Patent Citations
Air quality assessment method based on image analysis
CN104517126A
Rolling shutter video stabilization and motion blur elimination processing method, and device therefor
WO2021106499A1
