CN115908179B - Underwater image contrast enhancement method based on double priori optimization - Google Patents

Underwater image contrast enhancement method based on double priori optimization Download PDF

Info

Publication number
CN115908179B
CN115908179B CN202211449049.6A CN202211449049A CN115908179B CN 115908179 B CN115908179 B CN 115908179B CN 202211449049 A CN202211449049 A CN 202211449049A CN 115908179 B CN115908179 B CN 115908179B
Authority
CN
China
Prior art keywords
layer
base layer
detail
channel
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211449049.6A
Other languages
Chinese (zh)
Other versions
CN115908179A (en
Inventor
张卫东
李国厚
金松林
周玲
李腾飞
曲培新
高国红
王建平
安金梁
赵高丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Institute of Science and Technology
Original Assignee
Henan Institute of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henan Institute of Science and Technology filed Critical Henan Institute of Science and Technology
Priority to CN202211449049.6A priority Critical patent/CN115908179B/en
Publication of CN115908179A publication Critical patent/CN115908179A/en
Application granted granted Critical
Publication of CN115908179B publication Critical patent/CN115908179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides a double priori optimized underwater image contrast enhancement method, which is characterized in that an underwater image with corrected colors is obtained, the underwater image with corrected colors is converted into an HSV color model from an RGB color model, and a base layer and a detail layer are decomposed aiming at a V channel, wherein the method is represented as follows: for the V channel, decomposing the V channel into a base layer and a detail layer by adopting a space priori and a texture priori, realizing local contrast enhancement of the base layer by utilizing an integral strategy to count local mean and variance for the base layer, and realizing enhancement of texture details by utilizing a nonlinear stretching function for the detail layer. The underwater image contrast enhancement method with double priori optimization enhances the contrast of the image, highlights texture details, and can well solve the problem of texture detail loss caused by scattering.

Description

双先验优化的水下图像对比度增强方法Double-prior optimization underwater image contrast enhancement method

技术领域Technical field

本发明涉及水下图像的处理方法,具体的说,涉及了一种双先验优化的水下图像对比度增强方法。The present invention relates to an underwater image processing method, and specifically, to a dual-prior optimization underwater image contrast enhancement method.

背景技术Background technique

在水下机器人视觉领域,清晰的水下图像是获取有价值信息的重要载体和呈现形式。然而,受水下复杂的物理化环境影响和光的吸收和散射,水下图像经常遭受各种质量退化问题。散射作用易造成水下图像雾化模糊和细节丢失;吸收作用易造成水下图像颜色失真、对比度和亮度降低。In the field of underwater robot vision, clear underwater images are an important carrier and presentation form for obtaining valuable information. However, due to the complex physical and chemical environment under water and the absorption and scattering of light, underwater images often suffer from various quality degradation problems. Scattering can easily cause fogging and blurring of underwater images and loss of details; absorption can easily cause color distortion and reduced contrast and brightness of underwater images.

其中,颜色失真是水下图像主要面临的质量退化问题。当前,基于统计的方法、基于线性拉伸的方法、基于补偿的方法及基于颜色传输的方法逐渐应用在水下图像的颜色失真校正,并取得了有效性。Among them, color distortion is the main quality degradation problem faced by underwater images. Currently, methods based on statistics, methods based on linear stretching, methods based on compensation, and methods based on color transmission are gradually applied to color distortion correction of underwater images and have achieved effectiveness.

基于统计的方法依靠于先验信息,但先验信息求解困难。基于线性拉伸的方法和基于补偿的方法易引入微红色失真和过校正问题。基于颜色传输的方法依靠于参考图像,以至于算法的有效性和鲁棒性面临挑战。总的来说,尽管这些方法在水下颜色校正中取得了有效性,但这些方法仍然有一些限制。Statistics-based methods rely on prior information, but it is difficult to solve for prior information. Linear stretching-based methods and compensation-based methods are prone to introduce reddish distortion and over-correction problems. Methods based on color transfer rely on reference images, so that the effectiveness and robustness of the algorithm face challenges. Overall, despite their effectiveness in underwater color correction, these methods still have some limitations.

如申请号为:CN202210556777.0、发明名称为:一种局部自适应的水下图像对比度增强方法的发明专利中提出,获取校正颜色后的水下图像,将校正颜色后的水下图像从RGB颜色模型转换为CIELAB颜色模型,针对亮度通道L、颜色通道a和颜色通道b分别执行不同的策略:针对亮度通道L,以局部图像块为对象,利用积分图和平方积分图统计局部图像块的均值和方差,并利用局部图像块的均值和方差自适应地增强亮度通道L的对比度;在增强亮度通道L的对比度的过程中,引入引导滤波减少噪声;针对所述颜色通道a和颜色通道b,采用颜色均衡策略均衡所述颜色通道a和颜色通道b之间的色差。该方法增强图像对比度适中、时间复杂度低、能够抑制噪声并使增强后的图像的对比度和颜色接近陆地图像。但是该方法忽略了纹理细节,不具备广泛的适用性。For example, the invention patent with application number: CN202210556777.0 and invention title: A locally adaptive underwater image contrast enhancement method proposes to obtain a color-corrected underwater image, and convert the color-corrected underwater image from RGB The color model is converted to the CIELAB color model, and different strategies are executed for the brightness channel L, color channel a, and color channel b: for the brightness channel L, taking the local image block as the object, the integral map and the square integral map are used to collect statistics on the local image block. mean and variance, and use the mean and variance of the local image block to adaptively enhance the contrast of the brightness channel L; in the process of enhancing the contrast of the brightness channel L, introduce guided filtering to reduce noise; for the color channel a and color channel b , using a color balancing strategy to balance the color difference between the color channel a and the color channel b. This method enhances the image with moderate contrast, low time complexity, can suppress noise, and makes the contrast and color of the enhanced image close to that of land images. However, this method ignores texture details and does not have wide applicability.

总的来说,传统的线性拉伸方法易于出现过校正问题,该类方法不能有效校正颜色失真多样性的水下图像。In general, traditional linear stretching methods are prone to over-correction problems, and this type of method cannot effectively correct underwater images with diverse color distortions.

为了解决以上存在的问题,人们一直在寻求一种理想的技术解决方案。In order to solve the above existing problems, people have been seeking an ideal technical solution.

发明内容Contents of the invention

本发明的目的是针对现有技术的不足,从而提供一种增强图像的对比度,突显纹理细节,能够很好地解决由于散射造成的纹理细节丢失问题的双先验优化的水下图像对比度增强方法。The purpose of the present invention is to address the shortcomings of the existing technology, thereby providing a dual-prior optimized underwater image contrast enhancement method that enhances the contrast of the image, highlights the texture details, and can well solve the problem of loss of texture details due to scattering. .

为了实现上述目的,本发明所采用的技术方案是:一种双先验优化的水下图像对比度增强方法,首先获取校正颜色后的水下图像,将校正颜色后的水下图像从RGB颜色模型转换为HSV颜色模型,针对V通道实施基础层和细节层分解,表示如下:In order to achieve the above purpose, the technical solution adopted by the present invention is: a double-prior optimization underwater image contrast enhancement method. First, the color-corrected underwater image is obtained, and the color-corrected underwater image is obtained from the RGB color model. Convert to HSV color model, implement base layer and detail layer decomposition for V channel, expressed as follows:

针对V通道,采用空间先验和纹理先验将V通道分解为基础层和细节层,针对基础层利用积分策略统计局部均值和方差实现基础层的局部对比度增强,针对细节层利用非线性的拉伸函数实现纹理细节的增强;For the V channel, spatial prior and texture prior are used to decompose the V channel into a base layer and a detail layer. For the base layer, the integral strategy is used to count the local mean and variance to achieve local contrast enhancement of the base layer. For the detail layer, nonlinear pulling is used. The stretch function realizes the enhancement of texture details;

其中,使用空间和纹理先验分解V通道的基础层和细节层的优化模型被定义如下:Among them, the optimization model of the base layer and detail layer using spatial and texture prior decomposition of the V channel is defined as follows:

其中,IV、IB和IV-IB分别代表输入图像、基础层和细节层;和/>分别表示IV和IB的级联向量;/>表示一体化矢量;/>表示梯度运算矩阵在不同方向上的表达式;N表示输入图像的像素总数;Among them, IV , I B and IV - I B represent the input image, base layer and detail layer respectively; and/> Represent the cascade vectors of I V and I B respectively;/> Represents an integrated vector;/> Represents the expression of the gradient operation matrix in different directions; N represents the total number of pixels in the input image;

第一项的强制基础层尽可能接近输入图像;然后引入第二项/>的基础层空间先验;同时第三项细节层的纹理先验/>执行逐元素的非零运算生成二元向量。of the first item Force the base layer to be as close to the input image as possible; then introduce the second term/> The base layer spatial prior; at the same time, the third detail layer texture prior/> Performs an element-wise nonzero operation to produce a binary vector.

基上所述,利用增广拉格朗日模型重新定义为:Based on the above, the augmented Lagrangian model is used to redefine it as:

其中,引入了两个辅助变量和/>代替/>和/>j1和j2为拉格朗日函数的两个变量,η为目标函数迭代更新的参数;Among them, two auxiliary variables are introduced and/> Replace/> and/> j 1 and j 2 are the two variables of the Lagrangian function, and eta is the iteratively updated parameter of the objective function;

利用乘法器的交替方向法(ADMM),通过最小化几个子问题和最大化两问题来迭代优化目标函数,当λ1=0.25和λ2=0.025时,乘法器的交替方向法在至少20次迭代中有效分解接近输入图像底层的IB,求解基础层后,细节层通过ID=IV-IB进行求解,然后对基础层和细节层进行不同的增强操作。The alternating direction method of multipliers (ADMM) is used to iteratively optimize the objective function by minimizing several sub-problems and maximizing two problems. When λ 1 =0.25 and λ 2 =0.025, the alternating direction method of multipliers is used at least 20 times During the iteration, I B close to the bottom layer of the input image is effectively decomposed. After solving the base layer, the detail layer is solved by I D = IV - I B , and then different enhancement operations are performed on the base layer and the detail layer.

基上所述,使用局部图像块的优势属性来增强基础层,将局部块K的均值近似为低频分量,将输入图像块中减去K后的信息近似为高频分量;提高细节层的关键是如何有效地改进高频部件;在本地图像块K中,利用积分映射来求解块内局部均值,并利用它来改进基层,增强过程定义为:Based on the above, use the advantageous attributes of local image blocks to enhance the base layer, approximate the mean value of local block K as a low-frequency component, and approximate the information after subtracting K from the input image block as a high-frequency component; the key to improving the detail layer How to effectively improve high-frequency components; in the local image block K, use integral mapping to solve the local mean within the block, and use it to improve the base layer. The enhancement process is defined as:

其中,为局部图像块的均值,δ为高频分量的增强控制参数,/>为增强基层;in, is the mean value of the local image block, δ is the enhancement control parameter of the high-frequency component,/> To strengthen the grassroots;

避免局部块增强过程中的伪影或局部暗,使用Gamma校正策略对低像素值具有更好的拉伸性能,将其重新定义为:To avoid artifacts or local darkening during local block enhancement, use a Gamma correction strategy with better stretching performance for low pixel values, which is redefined as:

其中,θ为校正因子参数,将θ设置为0.65,使用局部块遍历底层,得到最终增强的底层 Among them, θ is the correction factor parameter, set θ to 0.65, use local blocks to traverse the bottom layer, and obtain the final enhanced bottom layer.

基上所述,使用非线性拉伸函数进一步拉伸细节层,其表达式为:Based on the above, use a nonlinear stretching function to further stretch the detail layer, and its expression is:

其中,σ是拉伸控制参考,设置为0.88。是增强的细节层;where σ is the stretch control reference, set to 0.88. is an enhanced layer of detail;

使用增强的细节层和增强的基础层得到增强的V通道,定义为:Using the enhanced detail layer and the enhanced base layer we get an enhanced V channel, defined as:

其中,是增强的V通道。in, It is an enhanced V channel.

本发明相对现有技术具有突出的实质性特点和显著的进步,具体的说,本发明先利用算法得到水下图像的基础层和细节层,利用双先验优化的水下图像对比度增强策略:即在基础层中,使用局部图像块的优势属性来增强基础层。在细节层考虑到锐化图像的纹理结构,使用非线性拉伸函数进一步拉伸细节层,本发明用于解决传统的线性拉伸方法易于出现过校正问题。Compared with the existing technology, the present invention has outstanding substantive features and significant progress. Specifically, the present invention first uses an algorithm to obtain the base layer and detail layer of the underwater image, and uses a double-prior optimization underwater image contrast enhancement strategy: That is, in the base layer, the advantageous attributes of local image blocks are used to enhance the base layer. In the detail layer, the texture structure of the sharpened image is taken into account, and a nonlinear stretching function is used to further stretch the detail layer. The present invention is used to solve the problem that traditional linear stretching methods are prone to over-correction.

另外,本发明利用空间和纹理策略:即对基础层和细节层进行进一步校正,使得增强的图像在对比度和颜色方面尽可能的接近陆地图像,得以在水下的图像处理领域广泛推广应用。In addition, the present invention uses spatial and texture strategies: that is, further correcting the base layer and detail layer so that the enhanced image is as close as possible to the land image in terms of contrast and color, and can be widely used in the field of underwater image processing.

附图说明Description of the drawings

图1是本发明实施例中本发明双先验优化的水下图像对比度增强方法的流程示意图。Figure 1 is a schematic flowchart of the underwater image contrast enhancement method of dual prior optimization of the present invention in an embodiment of the present invention.

图2是本发明实施例中与其它方法的水下图像增强结果。Figure 2 is the underwater image enhancement results with other methods in the embodiment of the present invention.

具体实施方式Detailed ways

下面通过具体实施方式,对本发明的技术方案做进一步的详细描述。The technical solution of the present invention will be further described in detail below through specific embodiments.

为了验证本发明颜色校正的有效性,选取不同颜色失真类型的水下图像作为测试集,同时IBLA、HMUC、GDCP、DTVR、BRU、ACDC、UNTV、WaterNet、FUnlEGAN和UIECNet方法进行主观和客观的对比。In order to verify the effectiveness of color correction of the present invention, underwater images with different color distortion types were selected as test sets, and subjective and objective comparisons were made with IBLA, HMUC, GDCP, DTVR, BRU, ACDC, UNTV, WaterNet, FUnlEGAN and UIECNet methods. .

如图1所示,一种双先验优化的水下图像对比度增强方法,首先获取校正颜色后的水下图像,将校正颜色后的水下图像从RGB颜色模型转换为HSV颜色模型,针对V通道实施基础层和细节层分解,表示如下:As shown in Figure 1, a dual-prior optimization underwater image contrast enhancement method first obtains the color-corrected underwater image, and converts the color-corrected underwater image from the RGB color model to the HSV color model. For V The channel implements base layer and detail layer decomposition, expressed as follows:

针对V通道,采用空间先验和纹理先验将V通道分解为基础层和细节层,针对基础层利用积分策略统计局部均值和方差实现基础层的局部对比度增强,针对细节层利用非线性的拉伸函数实现纹理细节的增强。For the V channel, the spatial prior and texture prior are used to decompose the V channel into a base layer and a detail layer. For the base layer, the integral strategy is used to count the local mean and variance to achieve local contrast enhancement of the base layer. For the detail layer, nonlinear pulling is used. The stretch function realizes the enhancement of texture details.

其中,使用空间和纹理先验分解V通道的基础层和细节层的优化模型被定义如下:Among them, the optimization model of the base layer and detail layer using spatial and texture prior decomposition of the V channel is defined as follows:

其中,IV、IB和IV-IB分别代表输入图像、基础层和细节层;和/>分别表示IV和IB的级联向量;/>表示一体化矢量;/>表示梯度运算矩阵在不同方向上的表达式;N表示输入图像的像素总数;Among them, IV , I B and IV - I B represent the input image, base layer and detail layer respectively; and/> Represent the cascade vectors of I V and I B respectively;/> Represents an integrated vector;/> Represents the expression of the gradient operation matrix in different directions; N represents the total number of pixels in the input image;

第一项的强制基础层尽可能接近输入图像;然后引入第二项/>的基础层空间先验;同时第三项细节层的纹理先验/>执行逐元素的非零运算生成二元向量。of the first item Force the base layer to be as close to the input image as possible; then introduce the second term/> The base layer spatial prior; at the same time, the third detail layer texture prior/> Performs an element-wise nonzero operation to produce a binary vector.

利用增广拉格朗日模型重新定义为:Using the augmented Lagrangian model, it is redefined as:

该公式主要用于得到前述公式中的各个子项,进而求得基础层和细节层。其中,引入了两个辅助变量和/>代替/>和/>j1和j2为拉格朗日函数的两个变量,η为目标函数迭代更新的参数;This formula is mainly used to obtain each sub-item in the aforementioned formula, and then obtain the base layer and detail layer. Among them, two auxiliary variables are introduced and/> Replace/> and/> j 1 and j 2 are the two variables of the Lagrangian function, and eta is the iteratively updated parameter of the objective function;

利用乘法器的交替方向法(ADMM),通过最小化几个子问题和最大化两问题来迭代优化目标函数,当λ1=0.25和λ2=0.025时,乘法器的交替方向法在至少20次迭代中有效分解接近输入图像底层的IB,求解基础层后,细节层通过ID=IV-IB进行求解,然后对基础层和细节层进行不同的增强操作。The alternating direction method of multipliers (ADMM) is used to iteratively optimize the objective function by minimizing several sub-problems and maximizing two problems. When λ 1 =0.25 and λ 2 =0.025, the alternating direction method of multipliers is used at least 20 times During the iteration, I B close to the bottom layer of the input image is effectively decomposed. After solving the base layer, the detail layer is solved by I D = IV - I B , and then different enhancement operations are performed on the base layer and the detail layer.

使用局部图像块的优势属性来增强基础层,将局部块K的均值近似为低频分量,将输入图像块中减去K后的信息近似为高频分量;提高细节层的关键是如何有效地改进高频部件;在本地图像块K中,利用积分映射来求解块内局部均值,并利用它来改进基层,增强过程定义为:Use the advantageous attributes of local image blocks to enhance the base layer, approximate the mean value of local block K as a low-frequency component, and approximate the information after subtracting K from the input image block as a high-frequency component; the key to improving the detail layer is how to effectively improve it High-frequency components; in the local image block K, integral mapping is used to solve the local mean within the block, and it is used to improve the base layer. The enhancement process is defined as:

其中,为局部图像块的均值,δ为高频分量的增强控制参数,/>为增强基层;in, is the mean value of the local image block, δ is the enhancement control parameter of the high-frequency component,/> To strengthen the grassroots;

为避免局部块增强过程中的伪影或局部暗,使用Gamma校正策略对低像素值具有更好的拉伸性能,将其重新定义为:To avoid artifacts or local darkening during local block enhancement, a Gamma correction strategy is used to have better stretching performance for low pixel values, which is redefined as:

其中,θ为校正因子参数,将θ设置为0.65,使用局部块遍历底层,得到最终增强的底层 Among them, θ is the correction factor parameter, set θ to 0.65, use local blocks to traverse the bottom layer, and obtain the final enhanced bottom layer.

对其使用非线性拉伸函数进一步拉伸细节层,其表达式为:Use a nonlinear stretch function to further stretch the detail layer, its expression is:

其中,σ是拉伸控制参考,设置为0.88;是增强的细节层;Among them, σ is the stretch control reference, set to 0.88; is an enhanced layer of detail;

使用增强的细节层和增强的基础层得到增强的V通道,定义为:Using the enhanced detail layer and the enhanced base layer we get an enhanced V channel, defined as:

其中,是增强的V通道。in, It is an enhanced V channel.

如图2所示,本发明展示了与其它方法测试在颜色失真水下图像的增强结果。由图2可知,GDCP和FUnlEGAN方法在对比度增强和细节突显方面的性能较差,其它方法优于GDCP和FUnlEGAN方法,但它们在细节突显方面差于本发明。本发明增强图像的主观结果相比于其它方法分布更宽且更均匀。As shown in Figure 2, the present invention demonstrates the enhancement results of testing underwater images with color distortion compared with other methods. As can be seen from Figure 2, the GDCP and FUnlEGAN methods have poor performance in contrast enhancement and detail highlighting. Other methods are better than the GDCP and FUnlEGAN methods, but they are worse than the present invention in detail highlighting. The subjective results of the enhanced image of the present invention are distributed wider and more uniformly than other methods.

本实施例从UIQM和CCF对比不同方法,从表1和表2的数据可知,本发明具有最高的UIQM和次之的CCF值,它说明本发明在客观评估指标方面也具有较好的增强性能。因此,本方案从主观和客观评估方面都优于对比方法。This embodiment compares different methods with UIQM and CCF. From the data in Table 1 and Table 2, it can be seen that the present invention has the highest UIQM and the second highest CCF value, which shows that the present invention also has better enhancement performance in terms of objective evaluation indicators. . Therefore, this scheme is superior to the comparative method in terms of both subjective and objective evaluation.

表1本发明方法和其它方法校正图像的UIQM对比Table 1 Comparison of UIQM of images corrected by the method of the present invention and other methods

表2本发明方法和其它方法校正图像的CCF对比Table 2 Comparison of CCF of images corrected by the method of the present invention and other methods

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制;尽管参照较佳实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者对部分技术特征进行等同替换;而不脱离本发明技术方案的精神,其均应涵盖在本发明请求保护的技术方案范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and not to limit it; although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the present invention can still be modified Modifications to the specific embodiments of the invention or equivalent substitutions of some of the technical features without departing from the spirit of the technical solution of the present invention shall be covered by the scope of the technical solution claimed by the present invention.

Claims (4)

1.一种双先验优化的水下图像对比度增强方法,其特征在于:首先获取校正颜色后的水下图像,将校正颜色后的水下图像从RGB颜色模型转换为HSV颜色模型,针对V通道实施基础层和细节层分解,表示如下:1. A dual-prior optimization underwater image contrast enhancement method, characterized by: first obtaining the color-corrected underwater image, converting the color-corrected underwater image from the RGB color model to the HSV color model, aiming at V The channel implements base layer and detail layer decomposition, expressed as follows: 针对V通道,采用空间先验和纹理先验将V通道分解为基础层和细节层,针对基础层利用积分策略统计局部均值和方差实现基础层的局部对比度增强,针对细节层利用非线性的拉伸函数实现纹理细节的增强;For the V channel, spatial prior and texture prior are used to decompose the V channel into a base layer and a detail layer. For the base layer, the integral strategy is used to count the local mean and variance to achieve local contrast enhancement of the base layer. For the detail layer, nonlinear pulling is used. The stretch function realizes the enhancement of texture details; 其中,使用空间和纹理先验分解V通道的基础层和细节层的优化模型被定义如下:Among them, the optimization model of the base layer and detail layer using spatial and texture prior decomposition of the V channel is defined as follows: 其中,IV、IB和IV-IB分别代表输入图像、基础层和细节层;和/>分别表示IV和IB的级联向量;/>表示一体化矢量;/>表示梯度运算矩阵在不同方向上的表达式;N表示输入图像的像素总数;Among them, IV , I B and IV - I B represent the input image, base layer and detail layer respectively; and/> Represent the cascade vectors of I V and I B respectively;/> Represents an integrated vector;/> Represents the expression of the gradient operation matrix in different directions; N represents the total number of pixels in the input image; 第一项的强制基础层尽可能接近输入图像;然后引入第二项/>的基础层空间先验;同时第三项细节层的纹理先验/>执行逐元素的非零运算生成二元向量。of the first item Force the base layer to be as close to the input image as possible; then introduce the second term/> The base layer spatial prior; at the same time, the third detail layer texture prior/> Performs an element-wise nonzero operation to produce a binary vector. 2.根据权利要求1所述的双先验优化的水下图像对比度增强方法,其特征在于:利用增广拉格朗日模型重新定义为:2. The double-prior optimized underwater image contrast enhancement method according to claim 1, characterized in that: the augmented Lagrangian model is used to redefine it as: 其中,引入了两个辅助变量和/>代替/>和/>j1和j2为拉格朗日函数的两个变量,η为目标函数迭代更新的参数;Among them, two auxiliary variables are introduced and/> Replace/> and/> j 1 and j 2 are the two variables of the Lagrangian function, and eta is the iteratively updated parameter of the objective function; 利用乘法器的交替方向法来迭代优化目标函数,当λ1=0.25和λ2=0.025时,乘法器的交替方向法在至少20次迭代中有效分解接近输入图像底层的IB,求解基础层后,细节层通过ID=IV-IB进行求解,然后对基础层和细节层进行不同的增强操作。The alternating direction method of the multiplier is used to iteratively optimize the objective function. When λ 1 =0.25 and λ 2 =0.025, the alternating direction method of the multiplier effectively decomposes I B close to the bottom layer of the input image in at least 20 iterations and solves the base layer. Finally, the detail layer is solved through I D = IV - I B , and then different enhancement operations are performed on the base layer and the detail layer. 3.根据权利要求2所述的双先验优化的水下图像对比度增强方法,其特征在于:使用局部图像块来增强基础层,将局部块K的均值近似为低频分量,将输入图像块中减去K后的信息近似为高频分量;在本地图像块K中,利用积分映射来求解块内局部均值,并利用它来改进基层,增强过程定义为:3. The underwater image contrast enhancement method of double prior optimization according to claim 2, characterized in that: using local image blocks to enhance the base layer, approximating the mean value of the local block K to a low-frequency component, and converting the input image block into The information after subtracting K is approximately a high-frequency component; in the local image block K, integral mapping is used to solve the local mean within the block and use it to improve the base layer. The enhancement process is defined as: 其中,为局部图像块的均值,δ为高频分量的增强控制参数,/>为增强基层;in, is the mean value of the local image block, δ is the enhancement control parameter of the high-frequency component,/> To strengthen the grassroots; 使用Gamma校正策略进行校正,将其重新定义为:Correction is performed using the Gamma correction strategy, which is redefined as: 其中,θ为校正因子参数,将θ设置为0.65,使用局部块遍历底层,得到最终增强的底层 Among them, θ is the correction factor parameter, set θ to 0.65, use local blocks to traverse the bottom layer, and obtain the final enhanced bottom layer. 4.根据权利要求3所述的双先验优化的水下图像对比度增强方法,其特征在于:使用非线性拉伸函数进一步拉伸细节层,其表达式为:4. The double-prior optimized underwater image contrast enhancement method according to claim 3, characterized in that: a nonlinear stretching function is used to further stretch the detail layer, and its expression is: 其中,σ是拉伸控制参考,设置为0.88;是增强的细节层;Among them, σ is the stretch control reference, set to 0.88; is an enhanced layer of detail; 使用增强的细节层和增强的基础层得到增强的V通道,定义为:Using the enhanced detail layer and the enhanced base layer we get an enhanced V channel, defined as: 其中,是增强的V通道。in, It is an enhanced V channel.
CN202211449049.6A 2022-11-18 2022-11-18 Underwater image contrast enhancement method based on double priori optimization Active CN115908179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211449049.6A CN115908179B (en) 2022-11-18 2022-11-18 Underwater image contrast enhancement method based on double priori optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211449049.6A CN115908179B (en) 2022-11-18 2022-11-18 Underwater image contrast enhancement method based on double priori optimization

Publications (2)

Publication Number Publication Date
CN115908179A CN115908179A (en) 2023-04-04
CN115908179B true CN115908179B (en) 2023-12-22

Family

ID=86479130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211449049.6A Active CN115908179B (en) 2022-11-18 2022-11-18 Underwater image contrast enhancement method based on double priori optimization

Country Status (1)

Country Link
CN (1) CN115908179B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800059A (en) * 2012-07-05 2012-11-28 清华大学 Image visibility enhancing method with assistance of near-infrared image
CN112308793A (en) * 2020-10-21 2021-02-02 淮阴工学院 Novel method for enhancing contrast and detail of non-uniform illumination image
CN114757839A (en) * 2022-03-22 2022-07-15 浙江万里学院 Tone mapping method based on macro and micro information enhancement and color correction
CN114897735A (en) * 2022-05-20 2022-08-12 河南科技学院 Local self-adaptive underwater image contrast enhancement method
EP4050558A1 (en) * 2019-10-21 2022-08-31 Zhejiang Uniview Technologies Co., Ltd. Image fusion method and apparatus, storage medium, and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800059A (en) * 2012-07-05 2012-11-28 清华大学 Image visibility enhancing method with assistance of near-infrared image
EP4050558A1 (en) * 2019-10-21 2022-08-31 Zhejiang Uniview Technologies Co., Ltd. Image fusion method and apparatus, storage medium, and electronic device
CN112308793A (en) * 2020-10-21 2021-02-02 淮阴工学院 Novel method for enhancing contrast and detail of non-uniform illumination image
CN114757839A (en) * 2022-03-22 2022-07-15 浙江万里学院 Tone mapping method based on macro and micro information enhancement and color correction
CN114897735A (en) * 2022-05-20 2022-08-12 河南科技学院 Local self-adaptive underwater image contrast enhancement method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LIME: Low-light Image Enhancement via Illumination Map Estimation;Xiaojie Guo et al.;IEEE TRANSACTIONS ON IMAGE PROCESSING;全文 *
基于RTV模型图像分解的去雾算法;王尧;段锦;叶得前;宋宇;朱一峰;;长春理工大学学报(自然科学版)(04);全文 *
最小二乘估计的水下图像恢复算法;王永鑫;刁鸣;韩闯;;计算机辅助设计与图形学学报(11);全文 *

Also Published As

Publication number Publication date
CN115908179A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
CN107507145B (en) An Underwater Image Enhancement Method Based on Adaptive Histogram Stretching in Different Color Spaces
Wang et al. Variational single nighttime image haze removal with a gray haze-line prior
CN104346776B (en) Retinex-theory-based nonlinear image enhancement method and system
CN107256536B (en) Underwater image restoration method based on color constancy and group sparsity
CN103886565B (en) Nighttime color image enhancement method based on purpose optimization and histogram equalization
CN111028181B (en) Image enhancement processing method, device, equipment and storage medium
CN101742340B (en) Image optimization editing method and device
CN102779351A (en) Interactive grayscale image colorizing method based on local linear model optimization
CN106971379A (en) A kind of underwater picture Enhancement Method merged based on stratified calculation
CN106485681A (en) Color image restoration method under water based on color correction and red channel prior
CN111563866B (en) Multisource remote sensing image fusion method
CN105243641B (en) A kind of low light image Enhancement Method based on dual-tree complex wavelet transform
CN117252773A (en) Image enhancement method and system based on self-adaptive color correction and guided filtering
CN106651817A (en) Non-sampling contourlet-based image enhancement method
CN110232668A (en) A kind of multi-scale image Enhancement Method
Lei et al. A novel intelligent underwater image enhancement method via color correction and contrast stretching✰
CN104881847A (en) Match video image enhancement method based on wavelet analysis and pseudo-color processing
CN105931206A (en) Method for enhancing sharpness of color image with color constancy
CN117058026A (en) Underwater image color correction method guided by attenuation map
CN111563854B (en) Particle swarm optimization method for underwater image enhancement processing
CN116630198A (en) A multi-scale fusion underwater image enhancement method combined with adaptive gamma correction
CN114820385B (en) Locally adaptive underwater image color correction method
CN115908179B (en) Underwater image contrast enhancement method based on double priori optimization
CN110706180A (en) A method, system, device and medium for improving the visual quality of extremely dark images
CN116029944B (en) Self-adaptive contrast enhancement method and device for gray level image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant