An underwater vignetting image rectification method based on low-rank and binomial polynomial regularization

By constructing an underwater vignetting image imaging model, low-rank and binary polynomial regularization are used to separate the vignetting component and backscattering component of the underwater image, and adaptive brightness and color correction is performed. This solves the problem of brightness vignetting and color shift caused by artificial light sources in underwater images, and improves image clarity and contrast.

CN117593231BActive Publication Date: 2026-11-24DALIAN MARITIME UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311604908.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2026-11-24
Estimated Expiration
2043-11-28

AI Technical Summary

Technical Problem

Existing technologies are insufficient to effectively address the issues of vignetting, low contrast, and color distortion in underwater images caused by artificial light sources. In particular, the lack of physical models and methods for underwater vignetting images results in unsatisfactory outcomes.

Method used

An underwater vignetting image imaging model was constructed, and low-rank regularization terms and binary polynomial regularization terms were introduced. The vignetting component and backscattering component were separated by iterative reweighted least squares method and alternating direction multiplier method, and adaptive brightness and color correction was performed.

Benefits of technology

It effectively corrects the brightness vignetting problem in images, improves image clarity and contrast, and corrects image color cast.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117593231B_ABST
    Figure CN117593231B_ABST
Patent Text Reader

Abstract

This invention discloses an underwater vignetting image correction method based on low-rank and bivariate polynomial regularization. By constructing an underwater vignetting image imaging model, the vignetting image is represented as the Hadamard product of a linear combination of the direct illumination component and the backscattering component with the vignetting component. Based on the low-rank characteristics of backscattering and the linear relationship between the image gradient and the bivariate polynomial coefficients, low-rank and bivariate polynomial regularization terms are introduced to derive the objective function. The objective function is decomposed into two sub-models to solve for the vignetting and backscattering components respectively. Then, the vignetting component is separated using iterative reweighted least squares, and the backscattering component is separated using alternating direction multipliers. Finally, the image is processed by a brightness and color correction module to obtain the vignetting-corrected image. This invention not only solves the brightness vignetting problem caused by artificial light sources but also effectively corrects image color cast and improves image clarity and contrast.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of digital image processing technology and relates to an underwater vignetting image correction method based on low-rank and binary polynomial regularization. Background Technology

[0002] As human exploration of the ocean deepens, underwater robots have become crucial tools for marine development. However, due to light attenuation and the complex underwater environment, robots operating in the deep sea require artificial light sources to improve visibility. This results in underwater images suffering from problems such as vignetting, low contrast, and color distortion. These issues severely impact the visual clarity and motion control of underwater robots. Current underwater image enhancement methods rarely consider the vignetting problem caused by artificial light sources, and there are almost no physical models specifically for underwater vignetting images. The few methods that do consider non-uniform lighting have unsatisfactory results, leaving this problem unresolved. Summary of the Invention

[0003] To address the problems existing in the prior art, this invention discloses an underwater vignetting image correction method based on low-rank and binary polynomial regularization, specifically including the following steps:

[0004] Acquire underwater vignetting images captured by the camera E T ;

[0005] Construct an underwater vignetting image imaging model, and use the underwater vignetting image E T Represented as the direct irradiation component E D Backscattering component E B Linear combination and vignetting component E V The Hadamard;

[0006] Based on the low-rank characteristics of backscattering and the linear relationship between image gradient and binary polynomial coefficients, a low-rank regularization term and a binary polynomial regularization term are introduced to obtain the objective function.

[0007] The objective function is decomposed into two sub-models, and the vignetting component E is solved separately. V and backscattering component E B ;

[0008] The halosing component E is separated using iterative reweighted least squares method. V ;

[0009] The backscattering component E is separated using the alternating direction multiplier method. B ;

[0010] The final enhanced image is obtained based on image brightness and color correction methods.

[0011] Further, based on the Jaffe-McGlamery scattering physical model and the imaging principle of underwater vignetting images, an underwater vignetting image imaging model is constructed, and the underwater vignetting image E T is expressed as the Hadamard product of the linear combination of the direct illumination component E D and the backscatter component E B and the vignetting component E V , that is

[0012]

[0013] where the operator is the Hadamard product of matrices.

[0014] Further, a low-rank regularization term and a binary polynomial regularization term are introduced, and the constructed objective function is as follows:

[0015]

[0016] where λ1 and λ2 are regularization parameters, represents the gradient operator of the matrix, and E T / V represents the image without vignetting; rank(•), ||•|| p (0<p<1) and ||•|| 2,1 are the rank function of the matrix, the l p norm and the l 2,1 norm, respectively; [A O ,A H Z=E B represents the backscatter component, A O is the observable dictionary, A H is the unobserved hidden dictionary, and Z is the expression matrix, and the backscatter is expressed through the dictionary [A O ,A H , generally, A O =E T ; ε is a set constant used to limit E V so that the optimization problem tends to have a unique solution; D is the degree of the polynomial; {a t-l,l} is the parameter for determining the polynomial, and the number of elements in {a t-l,l} is (D+1)(D+2) / 2.

[0017] Further, the image after vignetting correction is obtained specifically in the following manner:

[0018] The direct illumination component E D is converted from the RGB space to the LAB space, and its L, a, and b channel information is extracted respectively to design an image adaptive brightness and color correction module;

[0019] The L channel is adjusted as follows to enhance image brightness:

[0020] L c =L1+αL2

[0021] L1 = 255 * (L / 255) 1 / γ

[0022] L2 = 1 - (1 - L) 1 / γ

[0023] in E(•) represents the mean of the matrix; the L1 component is used to enhance the overall brightness of the image, the L2 component is used to suppress overexposed areas of the image, and α∈(0,1) is a constant used to adjust the suppression intensity of the L2 component.

[0024] The following adjustments are made to channels a and b respectively to correct image color deviation:

[0025] a c =aa×norm(ω) a )

[0026] b c =bb×norm(ω) b )

[0027] ω a =log(1+(-a) / var(a))

[0028] ω b =log(1+(-b) / var(b)) (17)

[0029] Where var(•) represents the variance of the matrix. This indicates that the matrix X is normalized; the processed L is then... c a c b c Convert the three channels to RGB space to obtain the final enhanced image.

[0030] By employing the aforementioned technical solution, this invention provides an underwater vignetting image correction method based on low-rank and bivariate polynomial regularization. This method constructs an underwater vignetting image imaging model, representing the vignetting image as a Hadamard product of a linear combination of the direct illumination component and the backscattering component with the vignetting component. Based on the low-rank characteristics of backscattering and the linear relationship between the image gradient and the bivariate polynomial coefficients, low-rank and bivariate polynomial regularization terms are introduced to derive the objective function. The objective function is then decomposed into two sub-models to solve for the vignetting and backscattering components respectively. Next, iterative reweighted least squares (IRLS) is used to separate the vignetting component, and alternating direction multiplier (ADMM) is used to separate the backscattering component, where non-convex optimization sub-problems are solved using the proximal gradient operator. Finally, an adaptive brightness and color correction module is used to obtain the final enhanced result. This invention not only solves the brightness vignetting problem caused by artificial light sources but also effectively corrects image color cast and improves image clarity and contrast. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1 This is a flowchart of the method of the present invention;

[0033] Figure 2 The underwater vignetting image input for this invention;

[0034] Figure 3 The vignetting component separated using the algorithm of this invention;

[0035] Figure 4 The image obtained using the algorithm of this invention is a vignetting-free image;

[0036] Figure 5 The backscattering component separated using the algorithm of this invention;

[0037] Figure 6 The direct irradiation component obtained using the algorithm of this invention;

[0038] Figure 7 This is a diagram showing the final output of the present invention. Detailed Implementation

[0039] To make the technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention:

[0040] like Figure 1 The method for correcting underwater vignetting images based on low-rank and bivariate polynomial regularization includes the following steps: Constructing an underwater vignetting image imaging model, representing the vignetting image as a Hadamard product of a linear combination of the direct illumination component and the backscattering component with the vignetting component; introducing low-rank and bivariate polynomial regularization terms based on the low-rank characteristics of backscattering and the linear relationship between the image gradient and the bivariate polynomial coefficients to derive the objective function; then decomposing the objective function into two sub-models to solve for the vignetting component and the backscattering component respectively; next, using iterative reweighted least squares (IRLS) to separate the vignetting component, and then using alternating direction multiplier (ADMM) to separate the backscattering component, where the non-convex optimization sub-problem is solved using the near-end gradient operator; finally, through an adaptive brightness and color correction module, the final enhanced result is obtained. The advantages of this invention are that it not only solves the brightness vignetting problem caused by artificial light sources, but also effectively corrects image color cast and improves image clarity and contrast. Specifically, it includes the following steps:

[0041] Step 1: Acquire underwater vignetting image E captured by camera. T ;

[0042] Step 2: Construct an underwater vignetting image imaging model, and convert the underwater vignetting image E... T Represented as the direct irradiation component E D and backscattering component E B Linear combination and vignetting component E V The Hadamard;

[0043] Step 3: Based on the low-rank characteristics of backscattering and the linear relationship between image gradient and bivariate polynomial coefficients, introduce low-rank regularization term and bivariate polynomial regularization term to obtain the objective function.

[0044] Step 4: Decompose the objective function into two sub-models and solve the vignetting component E separately. V and backscattering component E B ;

[0045] Step 5: Use iterative reweighted least squares (IRLS) to separate the vignetting component E. V ;

[0046] Step 6: Separate the backscattering component E using the Alternating Direction Multiplier Method (ADMM). B ;

[0047] Step 7: Design an image brightness and color correction module to obtain the final enhanced image.

[0048] Furthermore, the specific steps of step 2 are as follows:

[0049] Step 2.1: Combining the Jaffe-McGlamery scattering physical model with the imaging characteristics of underwater vignetting images, an imaging model for underwater vignetting images is constructed, and the underwater vignetting image E T is represented as the Hadamard product of the linear combination of the direct illumination component E D and the backscattering component E B and the vignetting component E V , that is

[0050]

[0051] where the operator is the Hadamard product of matrices, i.e., element-wise multiplication;

[0052] Further, the specific steps of Step 3 are as follows:

[0053] Step 3.1: According to the low-rank characteristic of backscattering and the linear relationship between image gradients and binary polynomial coefficients, a low-rank regularization term and a binary polynomial regularization term are introduced to obtain the objective function:

[0054]

[0055] where λ1 and λ2 are regularization parameters, represents the gradient operator of the matrix, and E T / V represents the image without vignetting; rank(•), ||•|| p (0<p<1) and ||•|| 2,1 are the rank function of the matrix, the l p norm and the l 2,1 norm, respectively; [A O ,A H Z=E B represents the backscattering component, A O is the observable dictionary, A H is the unobserved hidden dictionary, Z is the representation matrix, and the backscattering is represented through the dictionary [A O ,A H , generally A O =E T ; ε is a set constant used to constrain E V so that the optimization problem tends to have a unique solution; D is the degree of the polynomial; {a t-l,l} is the parameter determining the polynomial; in particular, the number of elements in {a t-l,l} is (D+1)(D+2) / 2. The function of each term in the objective function can be explained as follows:

[0056] rank(Z) represents the low-rank constraint term of the backscattering component representation matrix, which considers the local consistency of backscattering and can effectively separate the backscattering component; This represents the gradient sparse prior term of the halo-removed image, considering that the gradient of the halo-free image follows a hyper-Laplacian distribution, thus better preserving details and edge information in the image; ||E D || 2,1 For the structure sparse regularization term of the direct irradiation component, considering the sparsity of the direct irradiation component, redundant features and noise information can be filtered out, ensuring the solution coefficients while making E D Achieving structured sparsity; For the vignetting component, a bivariate polynomial regularization term is used. Considering that the natural image gradient is linearly related to the coefficients of the bivariate polynomial model, the vignetting component can be effectively separated without finding the beam center.

[0057] Step 3.2: According to the relevant theorems of potential low-rank matrix representation, model (2) can be transformed into solving the following minimization problem:

[0058]

[0059] Among them, LE T The low-rank component with salient features, E T Z is the low-rank part of the main feature, E B =E T Z+LE T That is, the backscattering component E that we want to estimate. B .

[0060] Furthermore, the specific steps of step 4 are as follows:

[0061] Step 4.1: To reduce computational cost, the objective function (3) is decomposed into two sub-models. These are the separated vignetting components E. V Sub-model:

[0062]

[0063] Separate backscattering component E B Sub-model:

[0064]

[0065] Furthermore, the specific steps of step 5 are as follows:

[0066] Step 5.1: Initialize parameter ε = 10 -4 The initial weight parameter is W. i k =1, the degree of the polynomial D = 5, and the number of iterations k = 0;

[0067] Step 5.2: Convert the underwater vignetting image to logarithmic form and let T = lnE. T T / V =ln(E T / V V = lnE V Then model (4) is transformed into:

[0068]

[0069] Considering that p∈(0,1) is a nonconvex optimization problem, the Iterative Reweighted Least Squares (IRLS) method is used to solve it. Therefore, the rule for the (k+1)th iteration of V is:

[0070]

[0071] Where the weight coefficient matrix W k+1 The iteration rule is:

[0072]

[0073] Step 5.3: Repeat formulas (7) and (8) in step 5.2 until the iteration stops when k = 3, and perform an antilogarithmic operation to obtain the vignetting image: E V =e V ;

[0074] Step 5.4: Calculate the image without vignetting using formula (9):

[0075] E T / V =E T -E V (9)

[0076] Furthermore, the specific steps of step 6 are as follows:

[0077] Step 6.1: Based on the grey world hypothesis, we use the channel with the largest mean as the standard and perform pixel compensation on the other channels to make the means of the three channels equal, thus obtaining a preprocessed image without vignetting. To prevent the original features from being identified during low-rank representation, The three channels are Gaussian blurred to obtain G. Finally, the mean of the three channels of G is used as input to solve for the backscattering representation matrix Z,L.

[0078] Step 6.2

[0079] Due to the non-convex and non-smooth nature of the rank function, solving model (5) is an NP-hard problem. Therefore, we use the model substitution method to solve it. Let the Schatten-p norm of the matrix be the non-convex relaxation of the rank function, and model (5) is transformed as follows:

[0080]

[0081] in σ is the Schatten-p norm of the matrix, and σ is the singular value of the matrix. For ease of calculation, it is raised to the power of p in model (10).

[0082] Step 6.3: Use the ADMM algorithm to solve for the backscattering component E of model (10). B Its augmented Lagrangian function is:

[0083]

[0084] Where λ² is the regularization parameter, γ is the Lagrange dual variable, and β>0 is the penalty factor. Let ||·|| be the Schatten-p norm of the matrix. F Let be the Frobenius norm of the matrix pair.

[0085] Step 6.4: Initialize variables Iteration number k = 0;

[0086] Step 6.5, Fix variable L k , γ k Then the formula for the (k+1)th iteration of variable Z is:

[0087]

[0088] in Describes the proximal gradient operator of the Schatten-p norm;

[0089] Step 6.6: Fix variable Z k+1 , γ k Then the formula for the (k+1)th iteration of variable L is:

[0090]

[0091] Step 6.7: Fix variable Z k+1 L k+1 γ k Then variable E D The formula for the (k+1)th iteration is:

[0092]

[0093] in Indicate l 2,1 Proximal gradient operator of norm;

[0094] Step 6.8, Fix variable Z k+1 L k+1 , Then the formula for the (k+1)th iteration of variable γ is:

[0095]

[0096] Step 6.9: New iteration number, i.e., k = k + 1; Alternately execute steps 6.4 to 6.7 until the condition is met. The iteration stops at time 1, yielding the salient feature low-rank representation L, the principal feature low-rank representation Z, and the direct irradiation component E. D .

[0097] Step 6.10: Perform operations on the three-channel image of G with L and Z respectively to obtain the low-rank parts of the main features and salient features. The direct illumination component is then calculated using formula (16):

[0098]

[0099] Where δ is a constant that suppresses the excessive decomposition of detail information in the image in significant parts.

[0100] Furthermore, the specific steps of step 7 are as follows:

[0101] Step 7.1: Directly irradiated component E D Convert from RGB space to LAB space, extract the L, a, and b channel information respectively, and design an image adaptive brightness and color correction module;

[0102] Step 7.2: Make the following adjustments to the L channel to enhance the image brightness:

[0103]

[0104] in E(·) represents the mean of the matrix; the L1 component is used to enhance the overall brightness of the image, the L2 component is used to suppress overexposed areas of the image, and α∈(0,1) is a constant used to adjust the suppression intensity of the L2 component.

[0105] Step 7.3: Make the following adjustments to channels a and b respectively to correct image color deviation:

[0106] a c =aa×norm(ω) a )

[0107] b c =bb×norm(ω) b )

[0108] ω a =log(1+(-a) / var(a))

[0109] ω b =log(1+(-b) / var(b)) (18)

[0110] Where var(·) represents the variance of the matrix; This indicates that the matrix X is being normalized.

[0111] Step 7.4: Process the L separately c a c b c Convert the three channels to RGB space to obtain the final enhanced image.

[0112] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A method for underwater vignetting image correction based on low-rank and binary polynomial regularization, characterized in that... include: Acquire underwater vignetting images captured by the camera ; Construct an underwater vignetting image imaging model to visualize underwater vignetting images. Represented as direct irradiation component Backscattering component Linear combination and vignetting component The Hadamard; Based on the low-rank characteristics of backscattering and the linear relationship between image gradient and bivariate polynomial coefficients, a low-rank regularization term and a bivariate polynomial regularization term are introduced to obtain the objective function. The objective function is decomposed into two sub-models, and the vignetting components are solved separately. and backscattering components ; The vignetting component was separated using iterative reweighted least squares method. ; The backscattering component was separated using the alternating direction multiplier method. ; The final enhanced image is obtained based on image brightness and color correction methods. ; Introducing a low-rank regularization term and a bivariate polynomial regularization term, the objective function is constructed as follows: (2) in For regularization parameters, Describes the gradient operator of a matrix. Indicates an image without vignetting; , and These are the rank functions of the matrix. Norm and Norm; Indicates the backscattering component. For observable dictionaries, For unobserved hidden dictionaries, To represent a matrix, a dictionary is used. Express the backscattering, let ; It is a set constant used to limit This makes the optimization problem tend to have a unique solution; It is the degree of the polynomial; It determines the parameters of the polynomial. The number of elements in is .

2. The underwater vignetting image correction method based on low-rank and binary polynomial regularization according to claim 1, characterized in that: Obtain the image after vignetting correction The specific method used is as follows: Directly irradiated components Convert from RGB color space to LAB color space and extract their respective values. , , Channel information is used to design an image adaptive brightness and color correction module; right The channels are adjusted as follows to enhance image brightness: in , Represents the mean of a matrix; The component is used to enhance the overall brightness of the image. The component is used to suppress overexposed areas in the image. It is a constant used to adjust The intensity of the component's suppression; In respectively , The channels are adjusted as follows to correct image color deviation: (17) in, Represents the variance of a matrix. Represents a matrix Perform normalization; then process the results separately. , , Convert the three channels to RGB space to obtain the final enhanced image. .

Citation Information

Patent Citations

  • Extraction method of ocean internal wave parameters of SAR image

    CN106951854A

  • Underwater halo image correction method based on radial gradient distribution characteristics

    CN116188299A