Infrared and visible light image fusion method based on multi-state contextual hidden Markov model

By using NSST and multi-state contextual hidden Markov models in infrared and visible light image fusion, combined with regional energy difference and contextual detail membership, the deficiencies in detail capture and contrast improvement in the existing technology are solved, and high-quality Image fusion.

CN111754447BActive Publication Date: 2024-09-24JIANGNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010638215.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-06
Publication Date
2024-09-24
Estimated Expiration
2040-07-06

AI Technical Summary

Technical Problem

Existing infrared and visible light image fusion methods have shortcomings in detail capture and contrast improvement. Traditional multi-scale decomposition tools are prone to pseudo-Gibbs phenomenon, and traditional contextual hidden Markov models only support binary states, resulting in poor fusion image quality. high.

Method used

Non-subsampled shearlet transform (NSST) is used as a multi-scale decomposition tool, combined with multi-state context hidden Markov model (MCHMM), to construct high-frequency fusion through weighted fusion rules based on regional energy difference and context detail membership. For subbands, the expectation maximization EM algorithm is used to estimate the model parameters and calculate the activity measure of the coefficients to improve image detail.

Benefits of technology

Effectively capture image details, enhance contrast, improve visual effects, improve fused image quality, and significantly enhance texture richness and detail prominence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111754447B
    Figure CN111754447B
Patent Text Reader

Abstract

The present invention discloses an infrared and visible light image fusion method based on a multi-state contextual hidden Markov model, which mainly solves the problem of detail loss and low contrast when infrared and visible light images are fused. The implementation steps are: 1) NSST transformation is performed on the image to be fused to obtain low-frequency and high-frequency sub-bands; 2) the low-frequency sub-band adopts a weighted fusion rule of regional energy difference; 3) the high-frequency sub-band is designed with context membership, and MCHMM is established, and the fusion rule is designed according to the multi-state statistical characteristics; 4) the fused high and low frequency coefficients are subjected to NSST inverse transformation to obtain a fused image. The present invention fully considers the correlation between the coefficients, accurately represents the texture, details and other features of the source image, fully extracts the target information of the infrared image, enhances the contrast of the image, improves the visual effect, and greatly improves the quality of the fused image compared with the traditional fusion method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an infrared and visible light image fusion method based on a multi-state context hidden Markov model, which is a fusion method in the technical field of infrared and visible light image processing. Background Art

[0002] Image fusion is to comprehensively process and integrate the information of the source images, and finally obtain a more accurate, richer and more comprehensive fused image. The fusion of infrared and visible light images is an important research direction in the field of image fusion. Visible light images can reflect the real environment and have good color information, but they are greatly affected by meteorological conditions such as clouds, rain, and fog. Infrared images reflect the temperature difference or radiation difference of the scene, the details are not obvious, the contrast is low, and the visibility is not very ideal. According to the unique characteristics of each image, the advantages are complementary to each other, and a fused image that not only maintains the fine visual information of the visible light image, but also contains the target information in the infrared image is obtained. It has extremely wide application value in the fields of security monitoring, foggy driving, resource detection and military operations.

[0003] At present, multi-scale decomposition MSD (Multi-scale Decomposition) is an important means for image fusion. The selection of MSD tools and the design of fusion rules are key factors in multi-scale geometric analysis fusion methods. Various MSD tools have been widely used, such as discrete wavelet transform, curvelet transform, contourlet transform, etc. However, the above-mentioned multi-scale transforms all include downsampling, and pseudo-Gibbs phenomenon is prone to occur near singular points. With the in-depth study of wavelet transform, Easley et al. proposed non-subsampled shearlet transform NSST (Non-subsampled Shearlet Transform) in 2008. Since convolution replaces downsampling, it has translation invariance, thereby effectively suppressing pseudo-Gibbs phenomenon. In addition, NSST has the advantages of fast decomposition speed and direction sensitivity. Therefore, the present invention selects NSST as the MSD tool.

[0004] The decomposition coefficients in the NSST domain have extremely strong statistical correlations between scales, directions and spatial neighborhoods, and the source image can be more accurately represented by a statistical model. The contextual hidden Markov model CHMM (Contextual Hidden Markov Model) based on the context can accurately describe the distribution of the coefficients, and effectively capture the correlation between the NSST domain high-frequency directional subband coefficients between scales, directions and spatial neighborhoods using context information (Context Information). However, the traditional context variables are defined as binary discrete variables to reflect the contextual details of the coefficients, which is not accurate enough. At the same time, CHMM only distinguishes the image high-frequency coefficients from two states, dividing the image into an edge (large) state and a smooth (small) state, and the image details are not captured accurately enough. The accuracy of the obtained statistical parameters is not enough, resulting in low quality of the fused image. Therefore, the present invention designs the contextual detail membership to accurately describe the details of the coefficients, and uses a multi-state contextual hidden Markov model MCHMM to perform statistical modeling on the high-frequency directional subbands of infrared and visible light images.

[0005] In order to improve the performance of the fused image, the selection of fusion rules is also crucial. Usually, low-frequency fusion adopts a simple fusion strategy of taking the average or the largest absolute value. The weighted fusion rule based on regional energy difference is selected in the present invention to better maintain the contrast of the image and highlight the target information. High-frequency coefficient fusion usually adopts a fusion strategy of taking the largest absolute value or taking the largest based on regional features. The context detail membership proposed in the present invention can accurately reflect the dependence of the image between scales, directions and neighborhoods. On this basis, MCHMM is constructed to capture the details of the image in each state, and the activity measure of the coefficient is obtained according to the multi-state detail degree and context detail membership of the coefficient. The activity measure can interpret the image more accurately, thereby improving the quality of the fused image. Summary of the invention

[0006] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose an infrared and visible light image fusion method based on a multi-state contextual hidden Markov model to effectively capture the details of the image and highlight the target information of the image, enhance the image contrast, improve its visual effect, and improve the quality of the fused image.

[0007] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0008] A method for fusion of infrared and visible light images based on a multi-state contextual hidden Markov model is proposed. A fusion method based on regional energy difference is adopted for low-frequency sub-bands, context detail membership is designed for high-frequency sub-band coefficients, and a multi-state contextual hidden Markov model is constructed. Then, multi-state statistical features are extracted to measure image details. Finally, a fusion rule based on multi-state statistical features is adopted to obtain a high-frequency fusion sub-band. The method specifically includes the following steps:

[0009] 1) For the low-frequency sub-bands representing the approximate information of the image, a weighted fusion strategy based on regional energy difference is adopted for fusion;

[0010] 2) For the high-frequency sub-bands representing the image detail features, the multi-state statistical features are integrated to measure the image detail and the fusion rule based on the multi-state statistical features is adopted for fusion;

[0011] 2.1) context-detail membership of coefficients defined according to context relevance;

[0012] 2.2) Construct a multi-state contextual hidden Markov model MCHMM in the high-frequency direction subband, and use the expectation maximization EM algorithm to estimate the model parameters in two steps: initialization and iterative training;

[0013] 2.3) The details of the coefficients are calculated based on the probability and variance of each coefficient in each state, and the activity measure of the coefficients is obtained by combining the context membership. The high-frequency fusion subband is obtained by taking the largest fusion rule.

[0014] As a preferred solution, the step 1) comprises the following steps:

[0015] a) Calculate the regional energy of the low-frequency coefficients in the W1×W2 neighborhood:

[0016]

[0017] Where I represents the infrared image A or the visible light image B, represents the low-frequency subband coefficient of the image at the (x, y) position, and W1×W2 represents the window neighborhood;

[0018] b) Normalize the regional energy of the low-frequency sub-band:

[0019] VLE I (x,y)=(LE I (x,y)-min(LE I )) / (max(LE I )-min(LE I )),I=A,B

[0020] Among them, max(·) means taking the maximum value, and min(·) means taking the minimum value;

[0021] c) Determine the weight w(x,y) according to the difference in energy in the low-frequency sub-band region to obtain the fused low-frequency sub-band coefficients The specific formula is as follows:

[0022] w(x,y)=0.5+(VLE A (x,y)-VLE B (x,y)) / 2,

[0023]

[0024] As a preferred solution, the step 2.1) comprises the following steps:

[0025] First, construct the context subband based on the correlation of the coefficients, using NA t NB t Respectively represent the 4 direct neighbors and 4 diagonal neighbors of the current coefficient, t = 1, 2, 3, 4, PX represents the parent coefficient, CX1 and CX2 represent two adjacent cousin coefficients, then the context of a coefficient is defined as follows:

[0026]

[0027] Among them, ω0, ω1, ω2, ω3 represent weight coefficients.

[0028] Then, the context-detail membership values ​​of the coefficients are calculated:

[0029]

[0030]

[0031] Where σ represents the standard deviation of the context of the current subband, E, E P , Respectively represent the average energy of the current subband, the parent subband and the two adjacent sibling subbands, and are defined as follows:

[0032]

[0033] Among them, E * Represents 4 average energies One of the following, N represents the total number of coefficients in the current subband, C 2 Represents the square of the current subband coefficient.

[0034] As a preferred solution, the step 2.2) comprises the following steps:

[0035] Firstly, a multi-state, zero-mean Gaussian mixture model (GMM) is used to characterize the non-Gaussian distribution characteristics of the high-frequency directional subband coefficients. Each coefficient is associated with a context detail membership and a hidden state. Then, MCHMM statistical modeling is performed.

[0036]

[0037]

[0038] Where n is a positive integer greater than 2, indicating the number of states of the MCHMM. The value of the hidden state m is a natural number from 0 to n-1. C j,k,x,y Represents the high-frequency subband coefficient at the position (x, y) in the k direction of scale j, V j,k,x,y is the contextual detail membership of the coefficient, S j,k,x,y is the hidden state variable of the coefficient, is the probability when the hidden state is m, is the probability that the coefficient hidden state is m when the value of the coefficient's contextual detail membership is v, represents the probability density function of the current coefficient when the context detail membership is v, g(C j,k,x,y ; 0,σ 2 j,k,x,y,m ) indicates that the coefficient has a mean of zero under the condition that the hidden state is m, σ 2 j,k,x,y,m is the Gaussian conditional probability density function of the variance, whose mean is zero, σ 2 j,k,x,y,m is the variance of the local window centered at the position (x, y) in the k direction at scale j;

[0039] The MCHMM model parameter set is defined as:

[0040]

[0041] The expectation maximization EM algorithm is used to estimate the model parameters, which is divided into two steps: initialization parameters and iterative training. The specific steps are as follows:

[0042] A) Initialization parameters;

[0043] a) Set the initial parameters. The initial parameter setting of MCHMM is related to the number of states. The initial probability of each hidden state is equal, and the variance under each state is within the maximum variance 2δ 2 j,k -σ 2 η and the minimum variance σ 2 η Divide equally between

[0044]

[0045] in, and σ 2 j,k,m They represent the probability and variance of the hidden state of the high-frequency subband in the k-direction of scale j to be m, σ 2 η is the known noise variance, δ 2 j,k is the average energy of the high-frequency subband in the j-scale k-direction;

[0046] b) Expected E step, according to Bayes' theorem, for each coefficient C j,k,x,y Calculate the probability that the hidden state is m:

[0047]

[0048] c) Maximize the M step and set the parameters as follows based on the expected probability obtained in the E step:

[0049]

[0050]

[0051] Among them, M j,k and N j,k are the number of rows and columns of high-frequency subbands in the k-direction of scale j, respectively;

[0052] d) If the parameters converge or the preset maximum number of iterations is reached, proceed to the next step, otherwise the number of iterations is increased by 1 and the expected E step is returned;

[0053] e) Set the size to (2W j +1)×(2W j +1) window, and use the following formulas to complete parameter initialization, and set the number of model training times to zero.

[0054]

[0055]

[0056]

[0057] in, v represents the context detail membership of each coefficient in the local window, c is the context detail membership of the current coefficient, σ 2 is the variance of the context detail membership in the local window, and ε represents a very small number to avoid the denominator being zero;

[0058] B) Iterative EM training

[0059] a) Expected E step, calculate the following probability for each coefficient:

[0060]

[0061] b) Maximize the M step and update the parameters of the model by the following formula:

[0062]

[0063]

[0064]

[0065] The calculations here are all in (2W j +1)×(2W j +1) window, which is located in the j-scale k-direction subband with (x, y) as the center. The number of training times is set to be plus 1, and the expected E steps are returned until the parameters converge or the preset maximum number of iterations is reached.

[0066] As a preferred solution, the step 2.3) comprises the following steps:

[0067] a) First calculate the detail content of the coefficients in each state,

[0068]

[0069] Where I represents the infrared image A or the visible light image B, represents the variance of the high-frequency subband in the j-scale k-direction at the (x, y) position when the hidden state is m, C j,k,x,y represents the high frequency subband coefficient, V j,k,x,y Variables representing contextual details of the coefficients, It indicates the probability that the hidden state is m when the current coefficient and context detail membership are v;

[0070] b) According to the difference of detail content of the coefficient in each state, calculate the detail weight of the corresponding coefficient in each state,

[0071]

[0072]

[0073] Among them, mean(·) means finding the average value;

[0074] c) Then, the multi-state detail of the coefficients is calculated and normalized,

[0075]

[0076]

[0077]

[0078] d) Combining the multi-state detail of the coefficient with the context detail membership to obtain the activity measure of the coefficient,

[0079]

[0080] Among them, α is the weight factor that adjusts the importance of multi-state detail and context detail membership;

[0081] e) Finally, the fused high-frequency sub-band coefficients are obtained by taking the largest fusion rule based on the coefficient activity measure.

[0082]

[0083] Compared with the existing infrared and visible light image fusion methods, the present invention has the following advantages:

[0084] 1. The infrared and visible light image fusion method of the present invention adopts a weighted fusion rule based on regional energy difference for low-frequency approximate sub-band coefficients, which can maintain the target information of the image, enhance the contrast of the image, and improve the overall visual effect.

[0085] 2. The infrared and visible light image fusion method of the present invention designs a new context scheme for the high-frequency directional sub-band coefficients. The context detail membership can accurately describe the statistical correlation of the NSST coefficients between scales, directions and spatial neighborhoods.

[0086] 3. The infrared and visible light image fusion method of the present invention constructs a multi-state contextual hidden Markov model to fully capture the distribution of NSST coefficients, and then estimates the detail information content based on the statistical parameters of the model. The multi-state detail and contextual detail membership of the coefficients are used to calculate the activity measure of the coefficients, which can accurately interpret the image and obtain a fused image with rich texture and prominent details. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] Figure 1 It is a framework diagram of the infrared and visible light image fusion method based on the multi-state contextual hidden Markov model of the present invention.

[0088] Figure 2 It is a schematic diagram of the correlation of NSST domain coefficients of the present invention.

[0089] Figure 3 It is a function graph of the context detail membership of the present invention.

[0090] Figure 4Schematic diagram of the images to be fused and the fusion results of an embodiment of the present invention, wherein (a) is an infrared image to be fused in an embodiment of the present invention. (b) is a visible light image to be fused in an embodiment of the present invention. (c) is a fused image based on a convolutional neural network (CNN); (d) is a fused image based on a dense block (DenseFuse); (e) is a fused image based on a fusion algorithm (FusionGAN) based on a GAN network; (f) is a fused image based on a gradient transfer fusion method (GTF); (g) is a fused image based on VGG-19 and a method based on a multi-layer fusion strategy (VggML); (h) is a fused image based on ResNet50 and a zero-phase component analysis fusion framework (ResNet ZCA); (i) is a fused image of the method of the present invention. DETAILED DESCRIPTION

[0091] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings. Figure 1 As shown, the following steps are included:

[0092] Step 1: prepare two M×N (in this embodiment, M=256, N=256) infrared images A and visible light images B to be fused, and use NSST to decompose the two images into low-frequency sub-bands respectively. and high frequency subband coefficients Among them, j represents the high-frequency directional decomposition scale, k represents the high-frequency directional subband, and j0 represents the low-frequency subband. The filter used by NSST is "maxflat", which decomposes 2 scales. The number of high-frequency directional subbands is 4 and 8. A and B represent infrared images and visible light images respectively.

[0093] Step 2: The low-frequency subbands representing the approximate information of the image are fused using a weighted fusion strategy based on regional energy differences;

[0094] 1) Calculate the regional energy of the low-frequency coefficients in the W1×W2 neighborhood:

[0095]

[0096] Where I represents the infrared image A or the visible light image B, represents the low-frequency subband coefficient of the image at the (x, y) position, W1×W2 represents the window neighborhood, where W1=W2=3;

[0097] 2) Normalize the regional energy of the low-frequency sub-band:

[0098] VLE I (x,y)=(LE I (x,y)-min(LE I )) / (max(LE I)-min(LE I )),I=A,B

[0099] Among them, max(·) means taking the maximum value, and min(·) means taking the minimum value;

[0100] 3) Determine the weight w(x,y) according to the difference of low-frequency sub-band area energy to obtain the fused low-frequency sub-band coefficient The specific formula is as follows:

[0101] w(x,y)=0.5+(VLE A (x,y)-VLE B (x,y)) / 2,

[0102]

[0103] Step 3, for the high-frequency directional subbands representing the image detail features, the multi-state statistical features are integrated to measure the image detail, and the fusion rule based on the multi-state statistical features is adopted for fusion;

[0104] 1) Define the context-detail membership of the coefficient according to the context relevance;

[0105] First, construct the context subband based on the correlation of the coefficients, using NA t NB t Represent the 4 direct neighbors and 4 diagonal neighbors of the current coefficient, t = 1, 2, 3, 4, PX represents the parent coefficient, CX1, CX2 represent two adjacent cousin coefficients, then the context of a coefficient is defined as follows:

[0106]

[0107] Among them, ω0, ω1, ω2, ω3 represent weight coefficients, reflecting the proportion of correlation between scales and directions in the context design scheme in the corresponding spatial domain. By comparing multiple sets of empirical values, the weight factors in this embodiment are finally selected as ω0 = 0.8, ω1 = 0.6, ω2 = 0.2, ω3 = 0.4. The new context detail membership is as follows Figure 3 As shown, the horizontal axis represents the context value context of the coefficient, and the vertical axis represents the context detail membership V of the coefficient, ranging between [0,1]. Then calculate the context detail membership value of the coefficient:

[0108]

[0109]

[0110] Where σ represents the standard deviation of the context of the current subband, E, E P , Respectively represent the average energy of the current subband, the parent subband and the two adjacent sibling subbands, and are defined as follows:

[0111]

[0112] Among them, E * Represents 4 average energies One of the following, N represents the total number of coefficients in the current subband, C 2 Represents the square of the current subband coefficient.

[0113] 2) Construct a multi-state contextual hidden Markov model (MCHMM) in the high-frequency direction subband, and use the expectation maximization (EM) algorithm to estimate the model parameters in two steps: initialization and iterative training;

[0114] Firstly, a multi-state, zero-mean Gaussian mixture model (GMM) is used to characterize the non-Gaussian distribution characteristics of the high-frequency directional subband coefficients. Each coefficient is associated with a context detail membership and a hidden state. Then, MCHMM statistical modeling is performed. In the present invention, an MCHMM with a state number n=4 is used to model the high-frequency directional subband in the NSST domain.

[0115]

[0116]

[0117] Where n is a positive integer greater than 2, indicating the number of states of the MCHMM. The value of the hidden state m is a natural number from 0 to n-1. C j,k,x,y Represents the high-frequency subband coefficient at the position (x, y) in the k direction of scale j, V j,k,x,y is the contextual detail membership of the coefficient, S j,k,x,y is the hidden state variable of the coefficient, is the probability when the hidden state is m, is the probability that the coefficient hidden state is m when the value of the coefficient's contextual detail membership is v, represents the probability density function of the current coefficient when the context detail membership is v, g(C j,k,x,y ; 0,σ 2 j,k,x,y,m ) indicates that the coefficient has a mean of zero under the condition that the hidden state is m, σ 2 j,k,x,y,m is the Gaussian conditional probability density function of the variance, whose mean is zero, σ 2 j,k,x,y,m is the variance of the local window centered at the position (x, y) in the k direction at scale j;

[0118] The MCHMM model parameter set is defined as:

[0119]

[0120] The expectation maximization EM algorithm is used to estimate the model parameters, which is divided into two steps: initialization parameters and iterative training. The specific steps are as follows:

[0121] A) Initialization parameters;

[0122] a) Set the initial parameters. The initial parameter setting of MCHMM is related to the number of states. The initial probability of each hidden state is equal, and the variance under each state is within the maximum variance 2δ 2 j,k -σ 2 η and the minimum variance σ 2 η Divide equally between

[0123]

[0124] in, and σ 2 j,k,m They represent the probability and variance of the hidden state of the high-frequency subband in the k-direction of scale j to be m, σ 2 η is the known noise variance, δ 2 j,k is the average energy of the high-frequency subband in the j-scale k-direction;

[0125] b) Expected E step, according to Bayes' theorem, for each coefficient C j,k,x,y Calculate the probability that the hidden state is m:

[0126]

[0127] c) Maximize the M step and set the parameters as follows based on the expected probability obtained in the E step:

[0128]

[0129]

[0130] Among them, M j,k and N j,k are the number of rows and columns of high-frequency subbands in the k-direction of scale j, respectively;

[0131] d) If the parameters converge or the preset maximum number of iterations is reached, proceed to the next step, otherwise the number of iterations is increased by 1 and the expected E step is returned;

[0132] e) Set the size to (2W j +1)×(2W j+1) window, and use the following formulas to complete parameter initialization, and set the number of model training times to zero.

[0133]

[0134]

[0135]

[0136] in, v represents the context detail membership of each coefficient in the local window, c is the context detail membership of the current coefficient, σ 2 is the variance of the context detail membership in the local window, and ε represents a very small number to avoid the denominator being zero;

[0137] B) Iterative EM training

[0138] a) Expected E step, calculate the following probability for each coefficient:

[0139]

[0140] b) Maximize the M step and update the parameters of the model by the following formula:

[0141]

[0142]

[0143]

[0144] The calculations here are all in (2W j +1)×(2W j +1) window, which is located in the j-scale k-direction subband with (x, y) as the center. The number of training times is set to be plus 1, and the expected E steps are returned until the parameters converge or the preset maximum number of iterations is reached.

[0145] 3) The details of the coefficients are calculated based on the probability and variance of each coefficient in each state, and the activity measure of the coefficients is obtained by combining the context membership. The high-frequency fusion subband is obtained by taking the largest fusion rule.

[0146] 3.1) First, calculate the detail content of the coefficients in each state.

[0147]

[0148] Where I represents the infrared image A or the visible light image B, represents the variance of the high-frequency subband in the j-scale k-direction at the (x, y) position when the hidden state is m, C j,k,x,y represents the high frequency subband coefficient, Vj,k,x,y Variables representing contextual details of the coefficients, It indicates the probability that the hidden state is m when the current coefficient and context detail membership are v;

[0149] 3.2) According to the difference of detail content of coefficients in each state, calculate the detail weight of corresponding coefficients in each state.

[0150]

[0151]

[0152] Among them, mean(·) means finding the average value;

[0153] 3.3) Then, the multi-state detail of the coefficients is calculated and normalized.

[0154]

[0155]

[0156]

[0157] 3.4) Combine the multi-state detail of the coefficient with the context detail membership to obtain the activity measure of the coefficient,

[0158]

[0159] Among them, α is the weight factor that adjusts the importance of multi-state detail and context detail membership, which is set to 0.5;

[0160] 3.5) Finally, the fused high-frequency subband coefficients are obtained by taking the largest fusion rule based on the coefficient activity measure.

[0161]

[0162] Step 4: Perform NSST inverse transform on the fused high and low frequency coefficients to obtain the final fused image.

[0163] Simulation experiment

[0164] In order to verify the feasibility and effectiveness of the present invention, two infrared and visible light images with a size of 256×256 are used, such as Figure 4 As shown in (a) and (b) in FIG. 5 , a fusion experiment was performed according to the method of the present invention.

[0165] In summary, through Figure 4From the comparison of the fusion results, it can be seen that the fused image obtained by the method of the present invention is most faithful to the original information, better maintains the edge contour, texture and other features in the image to be fused, has rich detail information and prominent targets, so the image has higher contrast and clarity, and the subjective visual effect is the best, that is, the fusion result is more ideal.

[0166] Table 1 shows the objective evaluation indicators of the fusion results obtained by various fusion methods. The bold data indicates that the corresponding multimodal medical image fusion method has the best evaluation indicator value.

[0167] Table 1 Comparison of fusion performance based on various fusion methods

[0168]

[0169] In Table 1, Qabf, FMI_W, SCD, MS_SSIM, Q, QW, and QE are used to measure the quality of the fused image, thereby verifying the feasibility and effectiveness of the fusion method of the present invention.

[0170] It can be seen from the data in Table 1 that the fused image obtained by the method of the present invention is superior to other fusion methods in objective evaluation indicators such as Qabf, SCD, MS_SSIM, Q, QW, and QE. Qabf reflects the quality of visual information obtained by the fusion of input images, FMI_W calculates the fast mutual information obtained by the wavelet feature extraction method, SCD calculates the image quality metric based on the difference correlation, MS-SSIM calculation only focuses on the modified structural similarity of structural information, Q, Qw, and Qe are Piella metrics, representing the fusion quality index, weighted fusion quality index, and edge-related fusion quality index, respectively. The larger these metric values ​​are, the better the fusion effect is.

Claims

1. A method for fusion of infrared and visible light images based on a multi-state contextual hidden Markov model, characterized in that: A fusion method based on regional energy difference is used for low-frequency subbands, context detail membership is designed for high-frequency subband coefficients, and a multi-state context hidden Markov model is constructed. Then, multi-state statistical features are extracted to measure image details. Finally, a fusion rule based on multi-state statistical features is used to obtain high-frequency fused subbands. The specific steps include: 1) For the low-frequency sub-bands representing the approximate information of the image, a weighted fusion strategy based on regional energy difference is adopted for fusion; a) Calculate the regional energy of the low-frequency coefficients in the W1×W2 neighborhood: Where I represents the infrared image A or the visible light image B, represents the low-frequency subband coefficient of the image at the (x, y) position, and W1×W2 represents the window neighborhood; b) Normalize the regional energy of the low-frequency sub-band: VLE I (x,y)=(THE I (x,y)-min(LE I )) / (max(THE I )-min(THE I )),I=A,B Among them, max(·) means taking the maximum value, and min(·) means taking the minimum value; c) Determine the weight w(x,y) according to the difference in energy in the low-frequency sub-band region to obtain the fused low-frequency sub-band coefficients The specific formula is as follows: w(x,y)=0.5+(VLE A (x,y)-VLE B (x,y)) / 2, 2) For the high-frequency sub-bands representing the image detail features, the multi-state statistical features are integrated to measure the image detail and the fusion rule based on the multi-state statistical features is adopted for fusion; 2.1) context-detail membership of coefficients defined according to context relevance; First, construct the context subband based on the correlation of the coefficients, using NA t NB t Respectively represent the 4 direct neighbors and 4 diagonal neighbors of the current coefficient, t = 1, 2, 3, 4, PX represents the parent coefficient, CX1 and CX2 represent two adjacent cousin coefficients, then the context of a coefficient is defined as follows: Among them, ω0, ω1, ω2, ω3 represent weight coefficients; Then, the context-detail membership values ​​of the coefficients are calculated: Where σ represents the standard deviation of the context of the current subband, E, E P , Respectively represent the average energy of the current subband, the parent subband and the two adjacent sibling subbands, and are defined as follows: Among them, E * Represents 4 average energies One of the following, N represents the total number of coefficients in the current subband, C 2 Represents the square of the current subband coefficient; 2.2) Construct a multi-state contextual hidden Markov model MCHMM in the high-frequency direction subband, and use the expectation maximization EM algorithm to estimate the model parameters in two steps: initialization and iterative training; Firstly, a multi-state, zero-mean Gaussian mixture model (GMM) is used to characterize the non-Gaussian distribution characteristics of the high-frequency directional subband coefficients. Each coefficient is associated with a context detail membership and a hidden state. Then, MCHMM statistical modeling is performed. Where n is a positive integer greater than 2, indicating the number of states of the MCHMM. The value of the hidden state m is a natural number from 0 to n-1. C j,k,x,y Represents the high-frequency subband coefficient at the position (x, y) in the k direction of scale j, V j,k,x,y is the contextual detail membership of the coefficient, S j,k,x,y is the hidden state variable of the coefficient, is the probability when the hidden state is m, is the probability that the coefficient hidden state is m when the value of the coefficient's contextual detail membership is v, represents the probability density function of the current coefficient when the context detail membership is v, g(C j,k,x,y ; 0,σ 2 j,k,x,y,m ) indicates that the coefficient has a mean of zero under the condition that the hidden state is m, σ 2 j,k,x,y,m is the Gaussian conditional probability density function of the variance, whose mean is zero, σ 2 j,k,x,y,m is the variance of the local window centered at the position (x, y) in the k direction at scale j; The MCHMM model parameter set is defined as: The expectation maximization EM algorithm is used to estimate the model parameters, which is divided into two steps: initialization parameters and iterative training. The specific steps are as follows: 1) Initialization parameters; A) Set the initial parameters. The initial parameter setting of MCHMM is related to the number of states. The initial probability of each hidden state is equal, and the variance under each state is within the maximum variance 2δ 2 j,k -σ 2 η and the minimum variance σ 2 η Divide equally between in, and σ 2 j,k,m They represent the probability and variance of the hidden state of the high-frequency subband in the k-direction of scale j to be m, σ 2 η is the known noise variance, δ 2 j,k is the average energy of the high-frequency subband in the k direction at the j scale; B) Expected E step, according to Bayes' theorem, for each coefficient C j,k,x,y Calculate the probability that the hidden state is m: C) Maximize the M step, and set the parameters as follows based on the expected probability obtained in the E step, Among them, M j,k and N j,k are the number of rows and columns of high-frequency subbands in the k-direction of scale j, respectively; D) If the parameters converge or the preset maximum number of iterations is reached, proceed to the next step, otherwise the number of iterations increases by 1 and returns to the expected E step; E) Set the size to (2W j +1)×(2W j +1) window, and use the following formulas to complete parameter initialization, and set the number of model training times to zero. in, v represents the context detail membership of each coefficient in the local window, c is the context detail membership of the current coefficient, σ 2 is the variance of the context detail membership in the local window, and ε represents a very small number to avoid the denominator being zero; 2) Iterative EM training F) Expected E step, calculate the following probability for each coefficient: G) Maximize the M step and update the parameters of the model by the following formula: The calculations here are all in (2W j +1)×(2W j +1) window, which is located in the j-scale k-direction subband with (x, y) as the center. The number of training times is set to be plus 1, and the expected E steps are returned until the parameters converge or the preset maximum number of iterations is reached; 2.3) The details of the coefficients are calculated based on the probability and variance of each coefficient in each state, and the activity measure of the coefficients is obtained by combining the context membership. The high-frequency fusion subband is obtained by taking the largest fusion rule; a) First calculate the detail content of the coefficients in each state, Where I represents the infrared image A or the visible light image B, represents the variance of the high-frequency subband in the j-scale k-direction at the (x, y) position when the hidden state is m, C j,k,x,y represents the high frequency subband coefficient, V j,k,x,y Variables representing contextual details of the coefficients, It indicates the probability that the hidden state is m when the current coefficient and the context detail membership are v; b) According to the difference of detail content of the coefficient in each state, calculate the detail weight of the corresponding coefficient in each state, Among them, mean(·) means finding the average value; c) Calculate the multi-state detail of the coefficients and normalize them, d) Combining the multi-state detail of the coefficient with the context detail membership to obtain the activity measure of the coefficient, Among them, α is the weight factor that adjusts the importance of multi-state detail and context detail membership; e) Obtain the fused high-frequency sub-band coefficients by taking the largest fusion rule based on the coefficient activity measure,