Layered fusion underwater turbid medium polarization imaging method based on genetic algorithm

Through the hierarchical fusion underwater turbid medium polarization imaging method based on genetic algorithm, the problem of poor recovery effect of traditional underwater polarization imaging method in high backscattering medium environment is solved, and the automatic restoration of image details and image Improvement of quality.

CN118859239APending Publication Date: 2024-10-29DALIAN JIAOTONG UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410838251.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Traditional underwater polarization imaging methods have poor recovery effects in environments with high backscattering medium concentrations. They have insufficient recovery capabilities for image details and cannot automatically restore them.

Method used

A hierarchical fusion underwater turbid medium polarization imaging method based on genetic algorithm is used to invert the optimal image of details and structure through the active polarization imaging model, and fuse them in a weighted manner. The genetic algorithm is used to optimize the weights to improve the image quality.

Benefits of technology

It can effectively restore image details in environments with high backscattering medium concentration, achieve better restoration effects without human-computer interaction, and improve the clarity quality of underwater polarization images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118859239A_ABST
    Figure CN118859239A_ABST
Patent Text Reader

Abstract

The invention discloses a hierarchical fusion underwater turbid medium polarization imaging method based on a genetic algorithm, and relates to the technical field of polarization imaging methods, in particular to the hierarchical fusion underwater turbid medium polarization imaging method based on the genetic algorithm. The method comprises the following steps: step 1, collecting a polarization component diagram of a scene to be restored and resolving polarization information; 2, inverting a detail optimal image and a structure optimal image by using the active polarization imaging model; 3, extracting a detail layer of the image with the optimal detail as an optimal detail layer and extracting a structural layer of the image with the optimal structure as an optimal structural layer; and 4, establishing an inversion image fusion model, and carrying out weighted fusion on the optimal detail layer and the optimal structure layer to obtain a final restored image. According to the technical scheme, the problems that a traditional underwater polarization imaging method in the prior art is poor in recovery effect in a high backscattering medium concentration environment, insufficient in image detail part recovery capability, incapable of achieving automatic recovery and the like are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a layered fusion underwater turbid medium polarization imaging method based on a genetic algorithm, relates to the technical field of polarization imaging methods, and in particular to a layered fusion underwater turbid medium polarization imaging method based on a genetic algorithm. Background Art

[0002] With the development of underwater robot technology, human exploration of the ocean has been greatly promoted. Most underwater robots are equipped with imaging systems to perceive unknown environments. Clear underwater images are very important for marine military reconnaissance, underwater archaeology, and marine resource exploration. However, due to the presence of suspended particles and microorganisms in the water, light is scattered and absorbed during underwater propagation, resulting in reduced contrast, loss of details, and increased noise in underwater images. This seriously affects the quality of underwater imaging. Underwater polarization imaging technology can effectively separate backscattered light and target light and improve the quality of underwater imaging. However, traditional underwater polarization imaging methods usually have insufficient effect on the restoration of image details, and require human-computer interaction to manually select areas without target objects as background areas to calculate the polarization degree of backscattered light, which will cause errors. These limitations will lead to insufficient image restoration effects and make it impossible to automatically restore degraded underwater images.

[0003] In view of the problems existing in the above-mentioned prior art, it is very necessary to study and design a new layered fusion underwater turbid medium polarization imaging method based on genetic algorithm to overcome the problems existing in the prior art. Summary of the invention

[0004] In view of the technical problems that the traditional underwater polarization imaging method proposed in the above-mentioned prior art has poor restoration effect in a high backscattering medium concentration environment, insufficient ability to restore image details and inability to automatically restore, a layered fusion underwater turbid medium polarization imaging method based on a genetic algorithm is provided, which can effectively restore image details in a high backscattering medium concentration environment without human-computer interaction and has a better restoration effect.

[0005] The technical means adopted by the present invention are as follows:

[0006] A hierarchical fusion underwater turbid medium polarization imaging method based on genetic algorithm includes the following steps:

[0007] Step 1: Collect the polarization component map of the scene to be restored and calculate the polarization information;

[0008] Step 2: Use the active polarization imaging model to invert the detail-optimal image and the structure-optimal image;

[0009] Step 3: extracting the detail layer of the optimal detail image as the optimal detail layer and extracting the structure layer of the optimal structure image as the optimal structure layer;

[0010] Step 4: Establish an inversion image fusion model, perform weighted fusion of the optimal detail layer and the optimal structure layer to obtain the final restored image.

[0011] Furthermore, the system used in step 1 to collect the polarization component map of the scene to be restored and solve the polarization information is an underwater active polarization imaging system.

[0012] Further, the underwater active polarization imaging system includes: a detector, an analyzer, a transparent water tank, a target object, an LED light source, a polarizer and a backscattering medium;

[0013] Further, the target object is arranged at the rear center position in the transparent water tank, and the backscattering medium is arranged in the transparent water tank, in front of the target object;

[0014] Furthermore, an LED light source and a polarizer are arranged on one side of the front of the transparent water tank, and the LED light source emits a light beam, and part of the polarized light beam passes through the polarizer and is reflected after being irradiated to the target object, and another part of the polarized light beam is reflected after being irradiated to the backscattering medium;

[0015] Furthermore, the detector and the polarizer are arranged on the other side of the front of the transparent water tank, and are symmetrically arranged with the LED light source and the polarizer around the center of the transparent water tank respectively; the light beam emitted by the LED light source is reflected by the target object and the backscattering medium, passes through the polarizer and enters the detector to form target light and backscattered light.

[0016] Further, the polarizer polarizes the light beam emitted by the LED light source as an actively polarized light beam;

[0017] Furthermore, the polarization direction of the polarizer is fixed and does not rotate.

[0018] Furthermore, the backscattering medium is formed by adding 25 ml of skim milk to the clean water in the water tank.

[0019] Furthermore, the acquisition method of step 1 is: rotating the polarizer 2 to obtain the brightest and darkest images, respectively denoted as I max and I min ; Since the target light and backscattered light received by the detector are in a stacked state, this hinders the estimation of the polarization degree of the backscattered light. To solve this problem, the frequency domain characteristics of the backscattered light and the target light can be used to distinguish them. The backscattered light has good continuity in the entire image and usually forms a low-frequency component in the entire image. In order to eliminate the interference of the target light in the process of calculating the polarization degree of the backscattered light, we can use I max and I minFast Fourier transform is used to transform to the frequency domain, and Gaussian low-pass filtering is used to extract the low-frequency part, and the inverse Fourier transform is performed to obtain the global backscattered light distribution; this process is expressed as:

[0020]

[0021]

[0022] In the formula and Represents the backscattered light part of the brightest and darkest images. FFT is fast Fourier transform. -1 represents inverse fast Fourier transform, H(u,v) is low-pass filtering, Represents the convolution operator.

[0023] The global distribution of the polarization degree of the backscattered light is calculated as:

[0024]

[0025] Furthermore, the inversion method of step 2 is: according to the traditional active polarization imaging model and the partial polarization characteristics of the target light and the backscattered light, the target light S and the backscattered light B can be established to have the following model:

[0026]

[0027]

[0028] Where: P scat is the polarization degree of backscattered light, P obj I is the polarization degree of the target light; max is the brightest image, I min is the darkest image; from equations 4 and 5, we can see that I max ,I min , P scat , P obj It is an important parameter for restoring underwater images; the maximum light intensity image I max , minimum light intensity image I min and the backscattered light polarization P scat Already obtained in step 1, it is a known parameter, the target light polarization degree P obj is an unknown parameter. Since the physical meaning of the degree of polarization is the ratio of the polarized part of the light to the total light intensity, the value range is 0-1. First, the P value when the EME value of the target light S is the highest is inverted. obj The process is as follows: the EME value of the target light S is the objective function, and P obj is the independent variable, 0.01 is the step size, and the iteration starts in the range of 0-1. The target light polarization degree P when the EME value of the target light S is the highest is iterated. objThe value is substituted into Formula 4 to obtain the optimal detail image I EME ; Then, the mutual information MI of the target light S and the backscattered light B is used as the objective function, and the P value with the minimum mutual information MI of S and B is iterated in the range of 0-1 with a step size of 0.01. obj Substituting into formula 4, we get the optimal structure image I MI ;

[0029] Among them: EME evaluation index is an evaluation index for evaluating image details, which is a manifestation of the degree of local grayscale change of the image. The stronger the local grayscale change of the image, the more detailed the image details are, and the higher the calculated EME value is. The calculation formula is as follows:

[0030]

[0031] MI(B,S) is the mutual information, which is used to characterize the correlation between the backscattered light B and the target information light S. Since the backscattered light and the target light have different sources, the smaller the mutual information between the backscattered light and the target light, the better the separation effect is and the more it conforms to the objective law. Its expression is:

[0032]

[0033] Wherein, b and s are the image gray levels of the backscattered light B and the target information light S calculated by equation (); prob(b) and prob(s) are the marginal distribution functions of and; prob(b, s) is the joint probability distribution function.

[0034] Furthermore, the extraction method of step 3 is: separating the optimal detail image I EME R layer R EME and mutual information optimal image I MI The structural component L MI ;

[0035] An image is the result of multiplying the structural information and the image texture detail information. An image consists of a detail layer representing the image details and a structural layer representing the low-frequency part of the image, also called the base layer. An image is decomposed into a detail layer and a structural layer. The multiplication of the detail component and the structural component can represent an image. The mathematical expression is:

[0036] I(x,y)=L(x,y)*R(x,y) (8)

[0037] Where: I is the original image, L is the structural component, and R is the detail component;

[0038] Since the human eye's perception of image brightness is nonlinear, similar to a logarithmic curve, and conversion to the logarithmic domain can also convert the multiplication in the above process into addition, reducing the amount of calculation, the equation is logarithmically transformed:

[0039] logI(x,y)=logL(x,y)+logR(x,y) (9)

[0040] The structural component L is relatively smooth and retains a large amount of low-frequency information, and the detail component R contains a large amount of high-frequency information in the scene. The low-frequency part of the scene is extracted as the structural layer. The process is to first transform the intensity image into the frequency domain through fast Fourier transform, and then multiply it with the transfer function of the filter. The result of the multiplication is returned to the intensity image through inverse fast Fourier transform;

[0041]

[0042] L(x,y) represents the structural component, FFT -1 represents inverse Fourier transform, FFT represents Fourier transform, I(x,y) represents intensity image, represents convolution, H(x,y) represents Gaussian low-pass filtering;

[0043] The detail component captures the detail information in the scene. The process of extracting the detail part in the scene is as follows:

[0044] logR(x,y)=logI(x,y)-logL(x,y) (11)

[0045] The above process decomposes the image into detail components and structural components. The L layer is relatively smooth and retains a large amount of low-frequency information, capturing the structural information in the scene. The R layer contains a large amount of high-frequency information in the scene, capturing the detail information in the scene. The optimal detail image I is separated. EME R layer R EME and mutual information optimal image I MI The structural component L MI .

[0046] Furthermore, the final restored image is obtained in step 4 by establishing the optimal detail layer R EME and the optimal structure layer L MI The fusion model is constructed, the joint evaluation index is constructed, and the optimal weight in the fusion model is calculated by genetic algorithm and substituted into the model to obtain the final reconstructed image;

[0047] Since underwater turbid images have a serious problem of detail information loss, in order to improve the image quality, the detail layer of the image with the best detail and the structural layer of the image with the best mutual information are weighted fused to obtain the reconstructed image. This process is expressed as:

[0048] I final =αR EME (x,y)+βL MI (x,y) (12)

[0049] Where: α represents the weight coefficient of the detail layer, β represents the weight coefficient of the structure layer, I final Reconstruct the image for final clarity;

[0050] Where: α represents the weight coefficient of the detail layer, β represents the weight coefficient of the structure layer, I final Reconstruct the image for final clarity;

[0051] Here, the selection of the weight α of the detail layer and the weight β of the structure layer is transformed into an intelligent optimization problem, and a genetic algorithm (GA) is used for searching. In order to take into account the multiple evaluation indicators of the final clear reconstructed image, so that the reconstructed image has high contrast and high information entropy, to prevent the pursuit of a single highest contrast from causing image overexposure and information loss, a linear function f(CH) is introduced as a joint evaluation indicator, and its expression is as follows:

[0052] f(CH)=0.5C+0.5H (13)

[0053] The information entropy is used to characterize the average amount of information contained in the image. It analyzes the image from a statistical perspective. The expression of information entropy is:

[0054]

[0055] Where P k (k=1,2,3…,n) represents the probability of each gray level appearing, and n is the total number of gray levels. The larger the value of image information entropy, the more information the image contains and the better the image quality; the contrast C is an effective parameter for measuring the quality of underwater images. The higher the contrast, the better the image quality. The contrast formula is as follows:

[0056]

[0057] Where N represents the total number of pixels in the image, I is the average grayscale value of the image, and I(x,y) represents the grayscale value at the pixel point (x,y);

[0058] The joint evaluation index f(CH) is used as the fitness function of the genetic algorithm. After obtaining the optimal solution of the weight coefficients α and β, α and β are substituted into formula (12) to obtain the final optimized image I final , algorithm flow chart of genetic algorithm to obtain the optimal weights α and β.

[0059] Compared with the prior art, the present invention has the following advantages:

[0060] Aiming at the limitation of using a single index to invert polarization parameters in traditional underwater active polarization imaging methods and the problem that traditional methods cannot restore underwater turbidity details, a hierarchical fusion underwater turbid medium polarization imaging method based on genetic algorithm is proposed. Multiple evaluation indicators are considered in the imaging process to further improve the clarity quality of underwater polarization images. First, the optimal images for EME and the mutual information MI between background light and target light are inverted by the active polarization imaging model. Then, the detail layer of the EME optimal image and the structural layer of the MI optimal image are decomposed for weighted fusion. Finally, the optimal weight coefficient of weighted fusion is obtained by using genetic algorithm with contrast and information entropy as the objective function. It can improve the perception ability of the visual system in the marine environment and lay the foundation for subsequent deep-sea unmanned operations that require visual perception.

[0061] In summary, the technical solution of the present invention solves the problems of poor recovery effect of traditional underwater polarization imaging methods in the prior art in high backscattering medium concentration environments, insufficient ability to restore image details, and inability to automatically restore. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0063] Figure 1 It is a flow chart of the present invention;

[0064] Figure 2 A flow chart of obtaining the optimal weight in the fusion model by the genetic algorithm in the present invention;

[0065] Figure 3 Model diagram of the underwater active polarization imaging system built for the present invention;

[0066] Figure 4 This is a comparison diagram of the experimental effects of the present invention, a is the original image, and b is the image processed by the inventive method.

[0067] In the figure: 1, detector 2, analyzer 3, transparent water tank 4, target 5, LED light source 6, polarizer 7, backscattering medium. DETAILED DESCRIPTION

[0068] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0069] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0071] Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values ​​of the parts and steps described in these embodiments do not limit the scope of the present invention. At the same time, it should be clear that, for ease of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship. The technology, methods and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, methods and equipment should be regarded as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.

[0072] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, perpendicular, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description. Unless otherwise specified, these directional words do not indicate or imply that the device or element referred to must have a specific direction or be constructed and operated in a specific direction. Therefore, they cannot be understood as limiting the scope of protection of the present invention: the directional words "inside and outside" refer to the inside and outside relative to the contours of each component itself.

[0073] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below their position devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.

[0074] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of the present invention.

[0075] like Figure 1 As shown, the present invention provides a layered fusion underwater turbid medium polarization imaging method based on genetic algorithm, which includes the following steps:

[0076] Step 1: Collect the polarization component map of the scene to be restored and calculate the polarization information;

[0077] The underwater active polarization imaging system includes: a detector 1, an analyzer 2, a transparent water tank 3, a target object 4, an LED light source 5, a polarizer 6 and a backscattering medium 7; the LED light source 5 emits a light beam, which is polarized by the polarizer 6 as an active polarized light beam, wherein the polarization direction of the polarizer 6 is fixed and does not rotate. A part of the polarized light beam irradiates the target object 4 and enters the detector 1 through the analyzer 2 to form the target light, and another part of the polarized light beam irradiates the backscattering medium 7 and enters the detector 1 through the analyzer 2. This part of the light is backscattered light. The backscattering medium is composed of 25 ml of skim milk added to the clean water in the water tank.

[0078] Rotate the polarizer 2 to obtain the brightest and darkest images, which are respectively marked as I max and I minSince the target light and backscattered light received by the detector are in a stacked state, this hinders the estimation of the polarization degree of the backscattered light. To solve this problem, the frequency domain characteristics of the backscattered light and the target light can be used to distinguish them. The backscattered light has good continuity in the entire image and usually forms a low-frequency component in the entire image. In order to eliminate the interference of the target light in the process of calculating the polarization degree of the backscattered light, we can use I max and I min Use fast Fourier transform to frequency domain, use Gaussian low-pass filter to extract low-frequency part, and perform inverse Fourier transform to get global backscattered light distribution. This process is expressed as:

[0079]

[0080]

[0081] In the formula and Represents the backscattered light part of the brightest and darkest images. FFT is fast Fourier transform. -1 represents inverse fast Fourier transform, H(u,v) is low-pass filtering, Represents the convolution operator.

[0082] The global distribution of the polarization degree of the backscattered light is calculated as:

[0083]

[0084] Step 2: Use the active polarization imaging model to invert the detail-optimal image and the structure-optimal image;

[0085] According to the traditional active polarization imaging model and the partial polarization characteristics of the target light and the backscattered light, the following model of the target light S and the backscattered light B can be established:

[0086]

[0087]

[0088] Where: P scat is the polarization degree of backscattered light, P obj I is the polarization degree of the target light. max is the brightest image, I min is the darkest image. From equations 4 and 5, we can see that I max ,I min , P scat , P obj It is an important parameter for restoring underwater images. max , minimum light intensity image I min and the backscattered light polarization Pscat Already obtained in step 1, it is a known parameter, the target light polarization degree P obj is an unknown parameter. Since the physical meaning of the degree of polarization is the ratio of the polarized part of the light to the total light intensity, the value range is 0-1. First, the P value when the EME value of the target light S is the highest is inverted. obj The process is as follows: the EME value of the target light S is used as the objective function, and P obj is the independent variable, 0.01 is the step size, and the iteration starts in the range of 0-1. The target light polarization degree P when the EME value of the target light S is the highest is iterated. obj The value is substituted into Formula 4 to obtain the optimal detail image I EME Then, the mutual information MI of the target light S and the backscattered light B is used as the objective function, and the P value with the minimum mutual information MI of S and B is iterated in the range of 0-1 with a step size of 0.01. obj Substituting into formula 4, we get the optimal structure image I MI .

[0089] Among them: EME evaluation index is an evaluation index for evaluating image details, which is a manifestation of the degree of local grayscale change of the image. The stronger the local grayscale change of the image, the more detailed the image details are, and the higher the calculated EME value is. The calculation formula is as follows:

[0090]

[0091] MI(B,S) is the mutual information, which is used to characterize the correlation between the backscattered light B and the target information light S. Since the backscattered light and the target light have different sources, the smaller the mutual information between the backscattered light and the target light, the better the separation effect is and the more it conforms to the objective law. Its expression is:

[0092]

[0093] Wherein, b and s are the image gray levels of the backscattered light B and the target information light S calculated by equation (); prob(b) and prob(s) are the marginal distribution functions of and; prob(b, s) is the joint probability distribution function.

[0094] Step 3: extracting the detail layer of the optimal detail image as the optimal detail layer and extracting the structure layer of the optimal structure image as the optimal structure layer;

[0095] Separate the best image with details I EME R layer R EME and mutual information optimal image I MI The structural component L MI .

[0096] An image is the product of the structural information and the information of the image texture details. An image consists of a detail layer representing the image details and a structural layer representing the low-frequency part of the image, also called the base layer. An image is decomposed into a detail layer and a structural layer, and an image can be represented by multiplying the detail component and the structural component. Its mathematical expression is:

[0097] I(x,y)=L(x,y)*R(x,y) (8)

[0098] Where: I is the original image, L is the structure component, and R is the detail component.

[0099] Since the human eye's perception of image brightness is nonlinear, similar to a logarithmic curve, and conversion to the logarithmic domain can also convert the multiplication in the above process into addition, reducing the amount of calculation, the equation is logarithmically transformed:

[0100] logI(x,y)=logL(x,y)+logR(x,y) (9)

[0101] The structural component L is relatively smooth and retains a large amount of low-frequency information, and the detail component R contains a large amount of high-frequency information in the scene. The low-frequency part of the scene is extracted as the structural layer. The process is to first transform the intensity image into the frequency domain through fast Fourier transform, and then multiply it with the transfer function of the filter. The result of the multiplication is returned to the intensity image through inverse fast Fourier transform.

[0102]

[0103] L(x,y) represents the structural component, FFT -1 represents inverse Fourier transform, FFT represents Fourier transform, I(x,y) represents intensity image, represents convolution, and H(x,y) represents Gaussian low-pass filtering.

[0104] The detail component captures the detail information in the scene. The process of extracting the detail part in the scene is as follows:

[0105] logR(x,y)=logI(x,y)-logL(x,y) (11)

[0106] The above process decomposes the image into detail components and structural components. The L layer is relatively smooth and retains a large amount of low-frequency information, capturing the structural information in the scene. The R layer contains a large amount of high-frequency information in the scene, capturing the detail information in the scene. Separate the optimal detail image I EME R layer R EME and mutual information optimal image I MI The structural component L MI .

[0107] Step 4: Establish an inversion image fusion model, perform weighted fusion of the optimal detail layer and the optimal structure layer to obtain the final restored image.

[0108] Establish the optimal detail layer R EME and the optimal structure layer L MI A fusion model is constructed, a joint evaluation index is constructed, and the optimal weights in the fusion model are calculated by a genetic algorithm and substituted into the model to obtain the final reconstructed image.

[0109] Since underwater turbid images have a serious problem of detail information loss, in order to improve the image quality, the detail layer of the image with the best detail and the structural layer of the image with the best mutual information are weighted fused to obtain the reconstructed image. This process is expressed as:

[0110] I final =αR EME (x,y)+βL MI (x,y) (12)

[0111] Where: α represents the weight coefficient of the detail layer, β represents the weight coefficient of the structure layer, I final Reconstruct the image for final sharpening.

[0112] Where: α represents the weight coefficient of the detail layer, β represents the weight coefficient of the structure layer, I final Reconstruct the image for final sharpening.

[0113] Here, the selection of the weight α of the detail layer and the weight β of the structure layer is transformed into an intelligent optimization problem, and a genetic algorithm (GA) is used for searching. In order to take into account the multiple evaluation indicators of the final clear reconstructed image, so that the reconstructed image has high contrast and high information entropy, to prevent the image from being overexposed and information lost due to the pursuit of a single highest contrast, a linear function f(CH) is introduced as a joint evaluation indicator, and its expression is as follows:

[0114] f(CH)=0.5C+0.5H (13)

[0115] The information entropy is used to characterize the average amount of information contained in the image. It analyzes the image from a statistical perspective. The expression of information entropy is:

[0116]

[0117] Where P k (k=1,2,3…,n) represents the probability of each gray level appearing, and n is the total number of gray levels. The larger the value of image information entropy, the more information the image contains and the better the image quality. Among them, contrast C is an effective parameter to measure the quality of underwater images. The higher the contrast, the better the image quality. The contrast formula is as follows:

[0118]

[0119] Where N represents the total number of pixels in the image. is the average grayscale value of the image, and I(x,y) represents the grayscale value at the pixel point (x,y).

[0120] The joint evaluation index f(CH) is used as the fitness function of the genetic algorithm. After obtaining the optimal solution of the weight coefficients α and β, α and β are substituted into formula (12) to obtain the final optimized image I final The algorithm flow chart of genetic algorithm to obtain the optimal weights α and β is as follows: Figure 2 shown.

[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A hierarchical fusion underwater turbid medium polarization imaging method based on genetic algorithm, characterized by: The layered fusion underwater turbid medium polarization imaging method based on genetic algorithm comprises the following steps: Step 1: Collect the polarization component map of the scene to be restored and calculate the polarization information; Step 2: Use the active polarization imaging model to invert the detail-optimal image and the structure-optimal image; Step 3: extracting the detail layer of the optimal detail image as the optimal detail layer and extracting the structure layer of the optimal structure image as the optimal structure layer; Step 4: Establish an inversion image fusion model, perform weighted fusion of the optimal detail layer and the optimal structure layer to obtain the final restored image.

2. The method for polarization imaging of underwater turbid media based on genetic algorithm and hierarchical fusion according to claim 1 is characterized by: The system used in step 1 to collect the polarization component map of the scene to be restored and calculate the polarization information is an underwater active polarization imaging system. The underwater active polarization imaging system comprises: a detector (1), an analyzer (2), a transparent water tank (3), a target object (4), an LED light source (5), a polarizer (6) and a backscattering medium (7); The target object (4) is arranged at the rear center position of the transparent water tank (3), and the backscattering medium (7) is arranged in the transparent water tank (3) and is located in front of the target object (4); The LED light source (5) and the polarizer (6) are arranged on the front side of the transparent water tank (3); the LED light source (5) emits a light beam, and part of the polarized light beam passes through the polarizer (6) and is reflected after being irradiated to the target object (4), and the other part of the polarized light beam is reflected after being irradiated to the backscattering medium (7); The detector (1) and the analyzer (2) are arranged on the other side of the front of the transparent water tank (3), and are respectively arranged symmetrically with the LED light source (5) and the polarizer (6) around the center of the transparent water tank (3); the light beam emitted by the LED light source (5) is reflected by the target object (4) and the backscattering medium (7), passes through the analyzer (2), enters the detector (1), and forms the target light and the backscattered light.

3. The method for polarization imaging of underwater turbid media based on genetic algorithm and hierarchical fusion according to claim 2 is characterized by: The polarizer (6) polarizes the light beam emitted by the LED light source (5) to produce an actively polarized light beam; The polarization direction of the polarizer (6) is fixed and does not rotate.

4. The method for polarization imaging of underwater turbid media based on genetic algorithm and hierarchical fusion according to claim 2 is characterized by: The backscattering medium (7) is composed of 25 ml of skim milk added to the clean water in the water tank.

5. The method for polarization imaging of underwater turbid media based on genetic algorithm and hierarchical fusion according to claim 1 is characterized by: The acquisition method of step 1 is: rotating the polarizer 2 to obtain the brightest and darkest images, respectively denoted as I max and I min ; Since the target light and backscattered light received by the detector are in a stacked state, this hinders the estimation of the polarization degree of the backscattered light. To solve this problem, the frequency domain characteristics of the backscattered light and the target light can be used to distinguish them. The backscattered light has good continuity in the entire image and usually forms a low-frequency component in the entire image. In order to eliminate the interference of the target light in the process of calculating the polarization degree of the backscattered light, we can use I max and I min Fast Fourier transform is used to transform to the frequency domain, and Gaussian low-pass filtering is used to extract the low-frequency part, and inverse Fourier transform is performed to obtain the global backscattered light distribution; This process is represented as: In the formula and Represents the backscattered light part of the brightest and darkest images. FFT is fast Fourier transform. -1 represents inverse fast Fourier transform, H(u,v) is low-pass filtering, Represents the convolution operator. The global distribution of the polarization degree of the backscattered light is calculated as:

6. The method for polarization imaging of underwater turbid media based on layered fusion of genetic algorithm according to claim 1, characterized in that: The inversion method of step 2 is as follows: According to the traditional active polarization imaging model and the partial polarization characteristics of the target light and the backscattered light, the target light S and the backscattered light B can be established as follows: Where: P scat is the polarization degree of backscattered light, P obj I is the polarization degree of the target light; max is the brightest image, I min is the darkest image; From formula 4 and 5, we can know that I max ,I min , P scat , P obj It is an important parameter for restoring underwater images; the image with the maximum light intensity I max , minimum light intensity image I min and the backscattered light polarization P scat Already obtained in step 1, it is a known parameter, the target light polarization degree P obj is an unknown parameter. Since the physical meaning of the degree of polarization is the ratio of the polarized part of the light to the total light intensity, the value range is 0-1. First, the P value when the EME value of the target light S is the highest is inverted. obj ; The process is as follows: the EME value of the target light S is the objective function, and P obj is the independent variable, 0.01 is the step size, and the iteration starts in the range of 0-1. The target light polarization degree P when the EME value of the target light S is the highest is iterated. obj The value is substituted into Formula 4 to obtain the optimal detail image I EME ; Then, the mutual information MI of the target light S and the backscattered light B is used as the objective function, and the P value with the minimum mutual information MI of S and B is iterated in the range of 0-1 with a step size of 0.

01. obj Substituting into formula 4, we get the optimal structure image I MI ; Among them: EME evaluation index is an evaluation index for evaluating image details, which is a manifestation of the degree of local grayscale change of the image. The stronger the local grayscale change of the image, the more detailed the image details are, and the higher the calculated EME value is. The calculation formula is as follows: MI(B,S) is the mutual information, which is used to characterize the correlation between the backscattered light B and the target information light S. Since the backscattered light and the target light have different sources, the smaller the mutual information between the backscattered light and the target light, the better the separation effect is and the more it conforms to the objective law. Its expression is: Wherein, b and s are the image gray levels of the backscattered light B and the target information light S calculated by equation (); prob(b) and prob(s) are the marginal distribution functions of and; prob(b, s) is the joint probability distribution function.

7. The method for polarization imaging of underwater turbid media based on genetic algorithm and hierarchical fusion according to claim 1 is characterized by: The extraction method of step 3 is: separating the optimal detail image I EME R layer R EME and mutual information optimal image I MI The structural component L MI ; An image is the result of multiplying the structural information and the image texture detail information. An image consists of a detail layer representing the image details and a structural layer representing the low-frequency part of the image, also called the base layer. An image is decomposed into a detail layer and a structural layer. The multiplication of the detail component and the structural component can represent an image. The mathematical expression is: I(x,y)=L(x,y)*R(x,y) (8) Where: I is the original image, L is the structural component, and R is the detail component; Since the human eye's perception of image brightness is nonlinear, similar to a logarithmic curve, and conversion to the logarithmic domain can also convert the multiplication in the above process into addition, reducing the amount of calculation, the equation is logarithmically transformed: logI(x,y)=logL(x,y)+logR(x,y) (9) The structural component L is relatively smooth and retains a large amount of low-frequency information, and the detail component R contains a large amount of high-frequency information in the scene. The low-frequency part of the scene is extracted as the structural layer. The process is to first transform the intensity image into the frequency domain through fast Fourier transform, and then multiply it with the transfer function of the filter. The result of the multiplication is returned to the intensity image through inverse fast Fourier transform; L(x,y) represents the structural component, FFT -1 represents inverse Fourier transform, FFT represents Fourier transform, I(x,y) represents intensity image, represents convolution, H(x,y) represents Gaussian low-pass filtering; The detail component captures the detail information in the scene. The process of extracting the detail part in the scene is as follows: logR(x,y)=logI(x,y)-logL(x,y) (11) The above process decomposes the image into detail components and structural components. The L layer is relatively smooth and retains a large amount of low-frequency information, capturing the structural information in the scene. The R layer contains a large amount of high-frequency information in the scene, capturing the detail information in the scene. The optimal detail image I is separated. EME R layer R EME and mutual information optimal image I MI The structural component L MI .

8. The method for polarization imaging of underwater turbid media based on genetic algorithm and hierarchical fusion according to claim 1 is characterized by: The method of obtaining the final restored image in step 4 is as follows: establishing the optimal detail layer R EME and the optimal structure layer L MI The fusion model is constructed, the joint evaluation index is constructed, and the optimal weight in the fusion model is calculated by genetic algorithm and substituted into the model to obtain the final reconstructed image; Since underwater turbid images have a serious problem of detail information loss, in order to improve the image quality, the detail layer of the image with the best detail and the structural layer of the image with the best mutual information are weighted fused to obtain the reconstructed image. This process is expressed as: I final =αR EME (x,y)+βL MI (x,y) (12) Where: α represents the weight coefficient of the detail layer, β represents the weight coefficient of the structure layer, I final Reconstruct the image for final clarity; Where: α represents the weight coefficient of the detail layer, β represents the weight coefficient of the structure layer, I final Reconstruct the image for final clarity; Here, the selection of the weight α of the detail layer and the weight β of the structure layer is transformed into an intelligent optimization problem, and a genetic algorithm (GA) is used for searching. In order to take into account the multiple evaluation indicators of the final clear reconstructed image, so that the reconstructed image has high contrast and high information entropy, to prevent the pursuit of a single highest contrast from causing image overexposure and information loss, a linear function f(CH) is introduced as a joint evaluation indicator, and its expression is as follows: f(CH)=0.5C+0.5H (13) The information entropy is used to characterize the average amount of information contained in the image. It analyzes the image from a statistical perspective. The expression of information entropy is: Where P k (k = 1, 2, 3..., n) represents the probability of each gray level, and n is the total number of gray levels. The larger the value of image information entropy, the more information the image contains and the better the image quality; the contrast C is an effective parameter for measuring the quality of underwater images. The higher the contrast, the better the image quality. The contrast formula is as follows: Where N represents the total number of pixels in the image. is the average grayscale value of the image, and I(x,y) represents the grayscale value at the pixel point (x,y); The joint evaluation index f(CH) is used as the fitness function of the genetic algorithm. After obtaining the optimal solution of the weight coefficients α and β, α and β are substituted into formula (12) to obtain the final optimized image I final , algorithm flow chart of genetic algorithm to obtain the optimal weights α and β.