CN106981053A - A kind of underwater picture Enhancement Method based on Weighted Fusion - Google Patents

A kind of underwater picture Enhancement Method based on Weighted Fusion Download PDF

Info

Publication number
CN106981053A
CN106981053A CN201710121580.3A CN201710121580A CN106981053A CN 106981053 A CN106981053 A CN 106981053A CN 201710121580 A CN201710121580 A CN 201710121580A CN 106981053 A CN106981053 A CN 106981053A
Authority
CN
China
Prior art keywords
weight
image
underwater
map
enhancement method
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.)
Pending
Application number
CN201710121580.3A
Other languages
Chinese (zh)
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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201710121580.3A priority Critical patent/CN106981053A/en
Publication of CN106981053A publication Critical patent/CN106981053A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种基于加权融合的水下图像增强方法,所述水下图像增强方法包括以下步骤:对降质的水下图像分别用Gray‑World和直方图均衡化处理,得到输入图像;通过归一化处理,采用加权引导滤波的方法实现对权重因子的定义,修正权重因子,得到修正后的权重图;用拉普拉斯金字塔分别对每一幅输入图进行分解,并且对每一幅权重图用高斯金字塔分解,最终用多尺度融合的方法对输入图像和权重图融合,得到细节丰富的图像。本方法不需要进行复杂的去卷积运算,并且对权重进行了合理的选择,使图像在颜色校正的基础上具有更丰富的细节。

The invention discloses an underwater image enhancement method based on weighted fusion. The underwater image enhancement method includes the following steps: the degraded underwater image is equalized by Gray-World and histogram respectively to obtain an input image; Through normalization processing, weighted guided filtering method is used to define the weight factor, modify the weight factor, and obtain the corrected weight map; use the Laplacian pyramid to decompose each input map separately, and each A weight map is decomposed with a Gaussian pyramid, and finally a multi-scale fusion method is used to fuse the input image and the weight map to obtain an image with rich details. This method does not need complex deconvolution operations, and the weights are selected reasonably, so that the image has richer details on the basis of color correction.

Description

一种基于加权融合的水下图像增强方法A Method of Underwater Image Enhancement Based on Weighted Fusion

技术领域technical field

本发明涉及图像融合的水下图像增强领域,尤其涉及一种基于加权融合的水下图像增强方法。The invention relates to the field of image fusion underwater image enhancement, in particular to an underwater image enhancement method based on weighted fusion.

背景技术Background technique

水下图像增强技术是获取海洋信息的重要组成部分,同时也是完成水下作业的一个重要技术。由于光在水中传输会有衰减作用,红光衰减最快,蓝绿光衰减最慢,并且水中悬浮物会使光在水中发生多次散射作用,前向散射导致图像模糊,后向散射导致图像对比度下降,因此,水下图像会呈现出蓝绿色调并且对比度和清晰度较低,影响对水下勘探的进展,而现有的水下图像增强技术尚不成熟,需要进一步的深入探究。Underwater image enhancement technology is an important part of obtaining marine information, and it is also an important technology for completing underwater operations. Due to the attenuation effect of light transmission in water, red light attenuates the fastest, blue-green light attenuates the slowest, and suspended matter in water will cause multiple scattering of light in water, forward scattering causes image blur, and back scattering causes image blurring. The contrast decreases. Therefore, the underwater image will show a blue-green tone with low contrast and clarity, which will affect the progress of underwater exploration. The existing underwater image enhancement technology is still immature and needs further in-depth exploration.

早在1979年,McGlamery[1]提出了经典的水下图像成像模型。他提出,成像系统所接收到的光辐射由三部分组成:直接衰减的光、前向散射和后向散射。在此理论模型的基础上,应用最广泛的是基于暗原色先验(Dark Channel Prior,DCP)的去雾方法和基于Retinex的增强方法。2008年,Fattal[2]利用图像表面阴影和大气传递函数在局部不相关的假设来估计场景的透射度。2011年,张凯[3]等将水体散射效应等效为环境光照的变化,通过水下彩色图像亮度通道下的多尺度Retinex算法处理,可减小水体散射效应,提高图像对比度,但该算法在图像的背景区域容易出现噪声。2012年,Chiang[4]提出了一种基于去雾的波长补偿的水下像增强算法,他考虑到人工光源的作用得到深度图,将前景背景分割,分别对颜色通道按不同比例补偿,但是该方法计算复杂度较高。2013年,Hitam等[5]融合RGB空间和HSV空间的对比度受限的直方图均衡化算法增强水下图像,该算法计算效率高,但是同样会产生较大的噪声。2014年,Xueyang Fu[6]等人提出了一种在变分框架下基于Retinex理论的水下图像增强方法。As early as 1979, McGlamery [1] proposed a classic underwater imaging model. He proposed that the optical radiation received by the imaging system consists of three components: directly attenuated light, forward scattering, and backscattering. On the basis of this theoretical model, the most widely used are the defogging method based on the Dark Channel Prior (DCP) and the enhancement method based on Retinex. In 2008, Fattal [2] used the assumption that the image surface shadow and the atmospheric transfer function are locally uncorrelated to estimate the transmittance of the scene. In 2011, Zhang Kai et al. [3] equated the water body scattering effect to the change of ambient light. Through the multi-scale Retinex algorithm processing under the brightness channel of the underwater color image, the water body scattering effect can be reduced and the image contrast can be improved. However, the algorithm Noise is prone to appear in the background area of the image. In 2012, Chiang[4] proposed an underwater image enhancement algorithm based on wavelength compensation for dehazing. He obtained a depth map considering the effect of artificial light sources, segmented the foreground and background, and compensated the color channels in different proportions, but This method has high computational complexity. In 2013, Hitam et al. [5] enhanced underwater images with a contrast-limited histogram equalization algorithm that combines RGB space and HSV space. This algorithm has high computational efficiency, but it also produces large noise. In 2014, Xueyang Fu[6] et al. proposed an underwater image enhancement method based on the Retinex theory under the variational framework.

2012年,Ancuti等[7]提出了一种基于融合的水下图像增强算法。该算法主要是对输入图像和权重图的选取并通过多分辨率融合达到增强水下图像的目的。水下图像突出的特点是颜色失真和对比度下降,针对这一特点,Ancuti提出分别对每一个特点进行处理得到两幅输入图和权重图,再经过多分辨率融合恢复水下图像。首先,不同波长的光在传输过程中会被不同程度的吸收,导致图像的颜色偏移,而颜色恒常性算法是对偏移颜色的校正方法,针对水下图像的上述特点,Ancuti利用传统的Gray-World[8]方法对降质的图像处理得到输入图像I1,其中,对光照度进行了调整:In 2012, Ancuti et al. [7] proposed a fusion-based underwater image enhancement algorithm. The algorithm mainly selects the input image and the weight map and achieves the purpose of enhancing the underwater image through multi-resolution fusion. The outstanding features of underwater images are color distortion and contrast reduction. In view of this feature, Ancuti proposes to process each feature separately to obtain two input images and weight images, and then restore the underwater image through multi-resolution fusion. First of all, light of different wavelengths will be absorbed to different degrees during the transmission process, resulting in color shift of the image, and the color constancy algorithm is a correction method for the shifted color. For the above characteristics of underwater images, Ancuti uses the traditional The Gray-World[8] method processes the degraded image to obtain the input image I 1 , where the illuminance is adjusted:

μI=0.5+λμref (1)μ I =0.5+λμ ref (1)

其中,μref是亮度平均值,μI是亮度估计值(在Gray-World中得到的值)。光线衰减后,图像的全局对比度明显减弱,为了得到清晰的图像,Ancuti采用传统的直方图均衡化的方法提高全局对比度,得到输入图像I2Among them, μ ref is the average value of brightness, and μ I is the estimated value of brightness (the value obtained in Gray-World). After light attenuation, the global contrast of the image is obviously weakened. In order to obtain a clear image, Ancuti uses the traditional histogram equalization method to improve the global contrast and obtain the input image I 2 .

在得到颜色校正和全局对比度提高的两幅输入图之后,考虑到退化的图像在显著性、局部和全局对比度以及曝光方面还有很多欠缺,因此,输入图像的权重将由以下四个权重因子决定:After obtaining the two input images with color correction and global contrast improvement, considering that the degraded image still has a lot of deficiencies in saliency, local and global contrast, and exposure, the weight of the input image will be determined by the following four weighting factors:

(1)拉普拉斯对比度权重是通过对每一个亮度通道应用拉普拉滤波器,并计算其绝对值得到全局对比度的权重图。(1) The Laplacian contrast weight is obtained by applying a Laplacian filter to each luminance channel and calculating its absolute value to obtain a global contrast weight map.

(2)局部对比度权重由每个像素及其邻域像素获得:(2) The local contrast weight is obtained from each pixel and its neighboring pixels:

WLC(x,y)=||Ik-Ik whc|| (2)W LC (x,y)=||I k -I k whc || (2)

其中,Ik是输入图像的亮度通道,Ik whc是经过低通滤波器处理后的通道。Among them, I k is the brightness channel of the input image, and I k whc is the channel processed by the low-pass filter.

(3)图像的主要信息只集中在少数的关键区域中,而人们所关注的也通常集中在图像轮廓曲度最大或轮廓方向突然改变的区域,这些信息由显著图来体现,显著性权重图由Achanta[9]得到。(3) The main information of the image is only concentrated in a few key areas, and people usually focus on the area where the image contour curvature is the largest or the contour direction changes suddenly. These information are reflected by the saliency map, and the saliency weight map Obtained by Achanta[9].

(4)曝光度权重用来衡量像素的曝光程度,它由一个高斯模型获得:(4) The exposure weight is used to measure the exposure of the pixel, which is obtained by a Gaussian model:

其中,Ik(x,y)代表在(x,y)处的亮度值;σ为0.25。Wherein, I k (x, y) represents the brightness value at (x, y); σ is 0.25.

为了得到良好的效果,该方法对四幅权重图进行归一化得到两幅权重图,如下所示:In order to get good results, this method normalizes the four weight maps to obtain two weight maps, as follows:

其中,n_WLi,n_WLCi,n_WSi和n_WEi(i=1,2)分别是归一化的拉普拉斯权重,局部对比度权重,显著性权重和曝光度权重。最后,将两幅输入图和两幅权重图用拉普拉斯金字塔多分辨率融合的方法处理,得到增强后的图像:Among them, n_W L i , n_W LC i , n_W S i and n_W E i (i=1, 2) are normalized Laplacian weights, local contrast weights, saliency weights and exposure weights, respectively. Finally, the two input images and the two weight images are processed by the Laplacian pyramid multi-resolution fusion method to obtain an enhanced image:

其中,L{I}是输入图像的拉普拉斯金字塔,是权重的高斯金字塔。where L{I} is the Laplacian pyramid of the input image, is a Gaussian pyramid of weights.

参考文献references

[1]McGlamery B L.A computer model for underwater camera systeiiis[C]//Ocean Optics VI.International Society for Optics and Photonics,1980:221-231.[1]McGlamery B L.A computer model for underwater camera system[C]//Ocean Optics VI.International Society for Optics and Photonics,1980:221-231.

[2]R.Fattal,“Single Image Dehazing,”J.ACM Siggraph 08,1-9(2008).[2] R. Fattal, "Single Image Dehazing," J.ACM Siggraph 08, 1-9(2008).

[3]张凯,裘溯,王霞.水下彩色图像的亮度通道多尺度Retinex增强算法[J].红外技术,2012,33(11):630-634.[3] Zhang Kai, Qiu Su, Wang Xia. Multi-scale Retinex Enhancement Algorithm for Brightness Channel of Underwater Color Image[J]. Infrared Technology, 2012,33(11):630-634.

[4]Chiang J Y and Chen Ying-Ching.Underwater image enhancement bywavelength compensation and dehazing[J].IEEE Transactions on ImageProcessing,2012,21(4):1756-1769.[4] Chiang J Y and Chen Ying-Ching. Underwater image enhancement by wavelength compensation and dehazing [J]. IEEE Transactions on Image Processing, 2012, 21(4): 1756-1769.

[5]Hitam M S,Yussof W,Awalludin E A.Mixture contrast limited adaptivehistogram equalization for underwater enhancement[C]//InternationalConference on Computer Applications Technology,Sousse,Tunisia:IEEE Press,2013:1-5.[5]Hitam M S, Yussof W, Awalludin E A. Mixture contrast limited adaptive histogram equalization for underwater enhancement[C]//International Conference on Computer Applications Technology, Sousse, Tunisia: IEEE Press, 2013:1-5.

[6]X.Y.Fu and P.X.Zhuang,“A Retinex-based Enhancing Approach forSingle Underwater Image,”IEEE Inter.Conf.Image Process.,Paris,France,October2014,pp.27-30.[6] X.Y.Fu and P.X.Zhuang, "A Retinex-based Enhancing Approach for Single Underwater Image," IEEE Inter.Conf.Image Process., Paris, France, October 2014, pp.27-30.

[7]C.Ancuti,C.O.Ancuti,T.Haber and P.Bekaert,“Enhancing underwaterimages and videos by fusion,”in proc.IEEE Conf.Comput.Vis.Patt.Recogn.(CVPR),Providence,RI,Jun.2012,pp.81-88.[7] C.Ancuti, C.O.Ancuti, T.Haber and P.Bekaert, “Enhancing underwater images and videos by fusion,” in proc.IEEE Conf.Comput.Vis.Patt.Recogni.(CVPR),Providence,RI,Jun .2012, pp.81-88.

[8]B.Gershon,“A spatial processor model for object colourperception,”J.Frank.Inst.,vol.310,no.1,pp.1-26,1980.[8] B. Gershon, "A spatial processor model for object colourperception," J. Frank. Inst., vol.310, no.1, pp.1-26, 1980.

[9]R.Achantay,S.Hemamiz,F.Estraday,and S.Susstrunky.Frequency-tunedsalient region detection.IEEE CVPR,2009.[9] R. Achantay, S. Hemamiz, F. Estraday, and S. Susstrunky. Frequency-tunedsalient region detection. IEEE CVPR, 2009.

发明内容Contents of the invention

本发明提供了一种基于加权融合的水下图像增强方法,本发明将权重因子和拉普拉斯金字塔融合相结合,详见下文描述:The present invention provides an underwater image enhancement method based on weighted fusion. The present invention combines weight factors and Laplacian pyramid fusion. See the following description for details:

一种基于加权融合的水下图像增强方法,所述水下图像增强方法包括以下步骤:An underwater image enhancement method based on weighted fusion, said underwater image enhancement method comprising the following steps:

对降质的水下图像分别用Gray-World和直方图均衡化处理,得到输入图像;The degraded underwater image is equalized with Gray-World and histogram respectively to obtain the input image;

通过归一化处理,采用加权引导滤波的方法实现对权重因子的定义,修正权重因子,得到修正后的权重图;Through the normalization process, the method of weighted guided filtering is used to realize the definition of the weight factor, and the weight factor is corrected to obtain the corrected weight map;

用拉普拉斯金字塔分别对每一幅输入图进行分解,并且对每一幅权重图用高斯金字塔分解,最终用多尺度融合的方法对输入图像和权重图融合,得到细节丰富的图像。Each input image is decomposed by Laplacian Pyramid, and each weight image is decomposed by Gaussian Pyramid. Finally, the input image and weight image are fused by multi-scale fusion method to obtain an image with rich details.

所述得到修正后的权重图的步骤具体为:The steps for obtaining the corrected weight map are specifically:

m_W1=a_1*n_WLC1+b_1*n_WS1+c_1*n_WE1m_W 1 =a_1*n_W LC 1+b_1*n_W S 1+c_1*n_W E 1

m_W2=a_2*n_WLC2+b_2*n_WS2+c_2*n_WE2m_W 2 =a_2*n_W LC 2+b_2*n_W S 2+c_2*n_W E 2

其中,a_i,b_i和c_i分别是每个权重的比例因子,n_WLCi,n_WSi和n_WEi分别为上述的局部对比度权重、显著性权重和曝光度权重的归一化权重结果;i=1,2。Among them, a_i, b_i and c_i are the scaling factors of each weight, respectively, n_W LC i, n_W S i and n_W E i are the normalized weight results of the above local contrast weight, saliency weight and exposure weight respectively; i =1,2.

所述采用加权引导滤波的方法实现对权重因子的定义的步骤具体为:The steps of implementing the definition of the weight factor by using the method of weighted guided filtering are as follows:

其中,ε是一个很小的正数,防止分母为零;n_WLCk,n_WSk和n_WEk分别为局部对比度权重、显著性权重和曝光度权重的归一化权重;K为2;N为像素总数。Among them, ε is a small positive number to prevent the denominator from being zero; n_W LC k, n_W S k and n_W E k are the normalized weights of local contrast weight, saliency weight and exposure weight respectively; K is 2; N is the total number of pixels.

本发明提供的技术方案的有益效果是:采用本发明的技术方案从主观上看整体敏感效果较好,并且亮度均匀,色彩更加丰富,本算法在恢复水下图像颜色、增加清晰度和对比度方面有着良好的效果。客观方面分别采用图像均值、平均梯度、信息熵以及标准差四个图像质量测量指标对实验结果进行测量。图3~图6显示了图2的客观指标的结果,由此来看,本发明算法结果均高于其他三种方法。这说明本发明算法在细节信息的提取和处理等方面均取得了较好的结果。The beneficial effect of the technical solution provided by the present invention is: adopting the technical solution of the present invention, the overall sensitive effect is better from a subjective point of view, and the brightness is uniform, and the color is more abundant. With good effect. Objectively, the experimental results are measured by four image quality measurement indicators, namely image mean, average gradient, information entropy and standard deviation. Figures 3 to 6 show the results of the objective indicators in Figure 2. From this point of view, the results of the algorithm of the present invention are higher than those of the other three methods. This shows that the algorithm of the present invention has achieved good results in the extraction and processing of detailed information.

附图说明Description of drawings

图1为一种基于加权融合的水下图像增强方法的流程图;Fig. 1 is a flow chart of an underwater image enhancement method based on weighted fusion;

图2为不同算法结果的对比效果图;Figure 2 is a comparison effect diagram of the results of different algorithms;

图3为水下图像均值比较的示意图;Fig. 3 is a schematic diagram of underwater image mean value comparison;

图4为水下图像平均梯度比较的示意图;Fig. 4 is a schematic diagram of average gradient comparison of underwater images;

图5为水下图像信息熵比较的示意图;Fig. 5 is a schematic diagram of underwater image information entropy comparison;

图6为水下图像标准差比较的示意图。Fig. 6 is a schematic diagram of standard deviation comparison of underwater images.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面对本发明实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the implementation manners of the present invention will be further described in detail below.

由于光在水下传输过程中的衰减和散射,水下图像会严重退化,导致细节丢失、对比度下降以及颜色失真。虽然现有的水下图像增强方法在一定程度上取得了进展,但是图像处理效果仍不尽如人意,此外相关算法复杂度高,或基于某一特定条件提出,应用范围受限。Due to the attenuation and scattering of light during underwater transmission, underwater images are severely degraded, resulting in loss of detail, loss of contrast, and color distortion. Although the existing underwater image enhancement methods have made progress to a certain extent, the image processing effect is still not satisfactory. In addition, the related algorithms are complex, or based on a specific condition, and the application range is limited.

实施例1Example 1

为了提高水下图像的清晰度,本发明实施例提出了一种基于加权融合的水下图像增强算法(Enhancing Underwater Images based on Weighted Fusion,EUIWF),该算法与现有其他增强算法相比,是简单的像素操作,简洁明了,不需要进行复杂的去卷积运算,并且对权重进行了合理的选择,使图像在颜色校正的基础上具有更丰富的细节。In order to improve the clarity of underwater images, the embodiment of the present invention proposes an underwater image enhancement algorithm based on weighted fusion (Enhancing Underwater Images based on Weighted Fusion, EUIWF). Compared with other existing enhancement algorithms, this algorithm is Simple pixel operation, concise and clear, does not require complicated deconvolution operations, and reasonable selection of weights makes the image have richer details on the basis of color correction.

101:对降质的水下图像分别用Gray-World(灰度世界)和直方图均衡化处理,得到输入图像;101: The degraded underwater image is processed by Gray-World (grayscale world) and histogram equalization respectively to obtain the input image;

102:通过归一化处理,采用加权引导滤波的方法实现对权重因子的定义,修正权重因子,得到修正后的权重图;102: Through normalization processing, the method of weighted guided filtering is used to realize the definition of the weight factor, and the weight factor is corrected to obtain the corrected weight map;

103:用拉普拉斯金字塔分别对每一幅输入图进行分解,并且对每一幅权重图用高斯金字塔分解,最终用多尺度融合的方法对输入图像和权重图融合,得到细节丰富的图像。103: Use the Laplacian pyramid to decompose each input image separately, and use the Gaussian pyramid to decompose each weight image, and finally use the multi-scale fusion method to fuse the input image and the weight image to obtain an image with rich details .

综上所述,本发明实施例通过上述步骤101-步骤103将权重因子和拉普拉斯金字塔融合相结合,不需要进行复杂的去卷积运算,并且对权重进行了合理的选择,使图像在颜色校正的基础上具有更丰富的细节。In summary, the embodiment of the present invention combines the weight factor and the Laplacian pyramid fusion through the above steps 101 to 103, without the need for complex deconvolution operations, and reasonably selects the weights, so that the image Richer detail on top of color correction.

实施例2Example 2

下面结合具体的计算公式、附图对实施例1中的方案进行进一步地介绍,详见下文描述:The scheme in embodiment 1 is further introduced below in conjunction with specific calculation formulas and accompanying drawings, see the following description for details:

本发明实施例基于Ancuti的融合方法对输入图像和权重图进行融合。在基本的融合方法中,权重扮演了重要的角色,它对图像的清晰度、显著性及其对比度等有着决定性作用,因此,单纯的将四幅权重图归一化并直接相加得到的结果无法权衡该像素在四个特点上哪个更占主导地位,不能合理的分配图像的特征信息,从而使图像丢失部分细节。为了得到细节丰富的图像,本发明实施例对权重图修正如下所示:The embodiment of the present invention fuses the input image and the weight map based on the fusion method of Ancuti. In the basic fusion method, the weight plays an important role, and it has a decisive effect on the clarity, saliency and contrast of the image. Therefore, the results obtained by simply normalizing the four weight maps and directly adding them cannot Weighing which of the four features of the pixel is more dominant, the feature information of the image cannot be reasonably allocated, so that the image loses some details. In order to obtain an image with rich details, the embodiment of the present invention corrects the weight map as follows:

m_W1=a_1*n_WLC1+b_1*n_WS1+c_1*n_WE1 (7)m_W 1 =a_1*n_W LC 1+b_1*n_W S 1+c_1*n_W E 1 (7)

m_W2=a_2*n_WLC2+b_2*n_WS2+c_2*n_WE2 (8)m_W 2 =a_2*n_W LC 2+b_2*n_W S 2+c_2*n_W E 2 (8)

其中,a_i,b_i和c_i分别是每个权重的比例因子,n_WLCi,n_WSi和n_WEi分别为上述的局部对比度权重、显著性权重和曝光度权重的归一化权重结果。Among them, a_i, b_i, and c_i are the scaling factors of each weight, respectively, and n_W LC i, n_W S i, and n_W E i are the normalized weight results of the local contrast weight, saliency weight, and exposure weight, respectively.

(n_WLCi=WLCi/(WLC1+WLC2),同理另外两个权重图n_WSi和n_WEi,i=1,2)该权重因子的意义在于当处于边界时,影响参数大于1,该权重处于主导地位,此时融合时更容易凸显边界,提高清晰度,增强边缘。(n_W LC i=W LC i/(W LC 1+W LC 2), similarly to the other two weight graphs n_W S i and n_W E i, i=1, 2) The significance of this weight factor is that when it is at the boundary , the influence parameter is greater than 1, and the weight is in a dominant position. At this time, it is easier to highlight the boundary, improve the definition, and enhance the edge during fusion.

201:对降质的水下图像分别用Gray-World和直方图均衡化处理,得到输入图像I1和I2201: Use Gray-World and histogram equalization processing on degraded underwater images respectively to obtain input images I 1 and I 2 ;

202:对每一幅输入图像分别计算其局部对比度权重、显著性权重和曝光度权重,经过归一化处理,并修正其权重因子,得到修正后的权重图;202: Calculate the local contrast weight, saliency weight, and exposure weight of each input image respectively, perform normalization processing, and correct its weight factor to obtain a corrected weight map;

为了增强边缘并且去除噪声的干扰,本发明实施例采用加权引导滤波的方法实现对权重因子的定义,即:In order to enhance the edge and remove the interference of noise, the embodiment of the present invention adopts the method of weighted guided filtering to realize the definition of the weight factor, that is:

其中,ε是一个很小的正数,防止分母为零。Among them, ε is a very small positive number to prevent the denominator from being zero.

203:用拉普拉斯金字塔分别对每一幅输入图进行分解,并且对每一幅权重图用高斯金字塔分解,最终用多尺度融合的方法对输入图像和权重图融合,得到细节丰富的图像。203: Use the Laplacian pyramid to decompose each input image separately, and use the Gaussian pyramid to decompose each weight image, and finally use the multi-scale fusion method to fuse the input image and the weight image to obtain an image with rich details .

综上所述,本发明实施例通过上述步骤201-步骤203将权重因子和拉普拉斯金字塔融合相结合,不需要进行复杂的去卷积运算,并且对权重进行了合理的选择,使图像在颜色校正的基础上具有更丰富的细节。In summary, the embodiment of the present invention combines the weight factor and the Laplacian pyramid fusion through the above steps 201 to 203, without the need for complicated deconvolution operations, and reasonably selects the weights to make the image Richer detail on top of color correction.

实施例3Example 3

下面结合具体的实例对实施例1和2中的方案进行可行性验证,详见下文描述:The scheme in embodiment 1 and 2 is carried out feasibility verification below in conjunction with specific example, see the following description for details:

为验证算法的效果,应用如上所述的算法对水下图像处理得到增强后的图像。水下图像均为彩色图像,因此在融合时对R、G、B三个通道分别进行计算。为了比较加权融合算法的图像质量,本发明实施例将与现有的算法进行了比较,例如,基于去雾处理的水下增强算法[2]、基于Retinex的增强方法[6]、以及基本融合算法[7]。In order to verify the effect of the algorithm, the enhanced image is processed by applying the above-mentioned algorithm to the underwater image. The underwater images are all color images, so the three channels of R, G, and B are calculated separately during fusion. In order to compare the image quality of the weighted fusion algorithm, the embodiment of the present invention will be compared with the existing algorithms, for example, the underwater enhancement algorithm based on dehazing processing [2], the enhancement method based on Retinex [6], and the basic fusion Algorithm [7].

客观实验分别采用图像均值、平均梯度、信息熵以及标准差四个图像质量测量指标对实验结果进行测量。图像均值反映了图像的平均明暗程度;平均梯度即图像的清晰度,反映图像对细节对比的表达能力;信息熵反映了图像包含信息量的大小,是衡量图像信息丰富程度的一个重要指标;标准差反映了灰度均值的离散程度。The objective experiment uses image mean, average gradient, information entropy and standard deviation four image quality measurement indexes to measure the experimental results. The average value of the image reflects the average brightness of the image; the average gradient is the clarity of the image, which reflects the ability of the image to express the contrast of details; the information entropy reflects the amount of information contained in the image, and is an important indicator to measure the richness of image information; standard The difference reflects the degree of dispersion of the gray mean.

从图2可以看出,Fattal等人算法在去雾方面有着较好的效果,但是在颜色校正方面效果不太好,因为其方法需要足够的颜色信息,水下图像G、B通道信息量较大,因此丢失了对R通道的颜色补偿。Xueyang Fu等人的算法整体偏暗,缺乏细节信息。同样,Ancuti等人的算法由于没有按比例分配权重,因此部分区域偏暗,细节不明显。It can be seen from Figure 2 that the algorithm of Fattal et al. has a good effect in defogging, but it is not very effective in color correction, because its method requires sufficient color information, and the amount of information in the G and B channels of underwater images is relatively large. Large, so the color compensation for the R channel is lost. The algorithm of Xueyang Fu et al. is overall dark and lacks detailed information. Similarly, the algorithm of Ancuti et al. does not distribute the weights proportionally, so some areas are dark and the details are not obvious.

采用本发明的技术方案从主观上看整体敏感效果较好,并且在客观指标方面,图3至图6显示了本方法对图2中五幅图像在图像均值、平均梯度、信息熵以及标准差方面的结果,从结果来看,本方法的结果均高于其他三种方法。这说明本方法在细节信息的提取和处理等方面均优于其他两种算法。Adopting the technical solution of the present invention sees that the overall sensitive effect is better from a subjective point of view, and in terms of objective indicators, Fig. 3 to Fig. 6 have shown that this method is used for five images in Fig. 2 on image mean, average gradient, information entropy and standard deviation From the results, the results of this method are higher than the other three methods. This shows that this method is superior to the other two algorithms in the extraction and processing of detailed information.

在实际应用中,为了得到最佳的增强结果,对本方法中涉及的参数进行如下设置:公式(3)中σ=0.25,公式(9)、(10)和(11)中ε=10-4。以降质的水下图像为实验对象,采用本方法中描述的步骤,按上述参数值设置,可以得到视觉效果较好的融合图像。实验结果表明,本方法在主观视觉和客观定量指标等方面均有较好的效果。In practical applications, in order to obtain the best enhancement results, the parameters involved in this method are set as follows: σ=0.25 in formula (3), ε=10 -4 in formulas (9), (10) and (11) . Taking the degraded underwater image as the experimental object, using the steps described in this method and setting the above parameter values, a fused image with better visual effect can be obtained. Experimental results show that this method has good results in both subjective vision and objective quantitative indicators.

本领域技术人员可以理解附图只是一个优选实施例的示意图,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred embodiment, and the serial numbers of the above-mentioned embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (3)

1. a kind of underwater picture Enhancement Method based on Weighted Fusion, it is characterised in that the underwater picture Enhancement Method includes Following steps:
Gray-World and histogram equalization processing are used respectively to the underwater picture degraded, input picture is obtained;
By normalized, the definition to weight factor is realized using the method for weighting guiding filtering, weight factor is corrected, obtains To revised weight map;
Each width input figure is decomposed respectively with laplacian pyramid, and to each width weight map gaussian pyramid Decompose, the final method with Multiscale Fusion is merged to input picture and weight map, obtain the abundant image of details.
2. a kind of underwater picture Enhancement Method based on Weighted Fusion according to claim 1, it is characterised in that described The step of to revised weight map is specially:
m_W1=a_1*n_WLC1+b_1*n_WS1+c_1*n_WE1
m_W2=a_2*n_WLC2+b_2*n_WS2+c_2*n_WE2
Wherein, a_i, b_i and c_i are the scale factor of each weight, n_W respectivelyLCI, n_WSI and n_WEI is respectively above-mentioned office The normalized weight result of portion's contrast weight, conspicuousness weight and exposure weight;I=1,2.
3. a kind of underwater picture Enhancement Method based on Weighted Fusion according to claim 1, it is characterised in that described to adopt The step of being realized with the method for weighting guiding filtering to the definition of weight factor be specially:
a _ i = n _ W L C i 1 N ( Σ k = 1 K n _ W L C k + ϵ )
b _ i = n _ W s i 1 N ( Σ k = 1 K n _ W s k + ϵ )
c _ i = n _ W E i 1 N ( Σ k = 1 K n _ W E k + ϵ )
Wherein, ε is the positive number of a very little, and it is zero to prevent denominator;n_WLCK, n_WSK and n_WEK is respectively local contrast power The normalized weight of weight, conspicuousness weight and exposure weight;K is 2;N is sum of all pixels.
CN201710121580.3A 2017-03-02 2017-03-02 A kind of underwater picture Enhancement Method based on Weighted Fusion Pending CN106981053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710121580.3A CN106981053A (en) 2017-03-02 2017-03-02 A kind of underwater picture Enhancement Method based on Weighted Fusion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710121580.3A CN106981053A (en) 2017-03-02 2017-03-02 A kind of underwater picture Enhancement Method based on Weighted Fusion

Publications (1)

Publication Number Publication Date
CN106981053A true CN106981053A (en) 2017-07-25

Family

ID=59338706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710121580.3A Pending CN106981053A (en) 2017-03-02 2017-03-02 A kind of underwater picture Enhancement Method based on Weighted Fusion

Country Status (1)

Country Link
CN (1) CN106981053A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909617A (en) * 2017-11-13 2018-04-13 四川大学 A kind of light source colour method of estimation based on non-linear contrast's weighting
CN108288259A (en) * 2018-01-06 2018-07-17 昆明物理研究所 A kind of gray scale fusion Enhancement Method based on color space conversion
CN109002750A (en) * 2017-12-11 2018-12-14 罗普特(厦门)科技集团有限公司 A kind of correlation filtering tracking based on conspicuousness detection and image segmentation
CN109325919A (en) * 2018-07-27 2019-02-12 浙江省计量科学研究院 An underwater image enhancement system based on dual light source fusion and a method for restoring captured images
CN110148097A (en) * 2019-05-27 2019-08-20 电子科技大学 The color calibration method of cataract image
CN110175964A (en) * 2019-05-30 2019-08-27 大连海事大学 Retinex image enhancement method based on Laplacian pyramid
CN110232668A (en) * 2019-06-17 2019-09-13 首都师范大学 A kind of multi-scale image Enhancement Method
CN110648288A (en) * 2019-08-27 2020-01-03 上海理工大学 Choledochoscope image enhancement method based on residual transposition deconvolution neural network
CN110853070A (en) * 2019-11-11 2020-02-28 山东科技大学 Underwater sea cucumber image segmentation method based on significance and Grabcut
CN111080537A (en) * 2019-11-25 2020-04-28 厦门大学 Intelligent control method, medium, equipment and system for underwater robot
CN111462022A (en) * 2020-04-29 2020-07-28 青岛大学 A method for sharpening and enhancing underwater images
CN111948215A (en) * 2020-08-11 2020-11-17 水利部交通运输部国家能源局南京水利科学研究院 Underwater structure flaw detection method based on optical imaging
CN112561804A (en) * 2020-10-09 2021-03-26 天津大学 Low-illumination underwater image enhancement method based on multi-scale detail enhancement
CN113269681A (en) * 2021-04-20 2021-08-17 飞马滨(青岛)智能科技有限公司 Underwater real-time image enhancement method based on multi-algorithm fusion
CN113763367A (en) * 2021-09-13 2021-12-07 中国空气动力研究与发展中心超高速空气动力研究所 Comprehensive interpretation method for infrared detection characteristics of large-size test piece
CN113763368A (en) * 2021-09-13 2021-12-07 中国空气动力研究与发展中心超高速空气动力研究所 Large-size test piece multi-type damage detection characteristic analysis method
CN113793318A (en) * 2021-09-13 2021-12-14 中国空气动力研究与发展中心超高速空气动力研究所 Multi-region complex damage defect characteristic comprehensive analysis method
CN114494089A (en) * 2021-12-17 2022-05-13 湖南国天电子科技有限公司 Multi-scale fusion-based seabed image processing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616273A (en) * 2015-01-26 2015-05-13 电子科技大学 Multi-exposure image fusion method based on Laplacian pyramid decomposition

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616273A (en) * 2015-01-26 2015-05-13 电子科技大学 Multi-exposure image fusion method based on Laplacian pyramid decomposition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭剑桥: "基于改进的引导滤波算法的多曝光图像融合", 《微 电 子 学 与 计 算 机》 *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909617B (en) * 2017-11-13 2020-03-17 四川大学 Light source color estimation method based on nonlinear contrast weighting
CN107909617A (en) * 2017-11-13 2018-04-13 四川大学 A kind of light source colour method of estimation based on non-linear contrast's weighting
CN109002750A (en) * 2017-12-11 2018-12-14 罗普特(厦门)科技集团有限公司 A kind of correlation filtering tracking based on conspicuousness detection and image segmentation
CN108288259A (en) * 2018-01-06 2018-07-17 昆明物理研究所 A kind of gray scale fusion Enhancement Method based on color space conversion
CN109325919A (en) * 2018-07-27 2019-02-12 浙江省计量科学研究院 An underwater image enhancement system based on dual light source fusion and a method for restoring captured images
CN110148097A (en) * 2019-05-27 2019-08-20 电子科技大学 The color calibration method of cataract image
CN110148097B (en) * 2019-05-27 2021-06-29 电子科技大学 Color correction method for cataract images
CN110175964A (en) * 2019-05-30 2019-08-27 大连海事大学 Retinex image enhancement method based on Laplacian pyramid
CN110232668A (en) * 2019-06-17 2019-09-13 首都师范大学 A kind of multi-scale image Enhancement Method
CN110232668B (en) * 2019-06-17 2021-04-09 首都师范大学 A multi-scale image enhancement method
CN110648288A (en) * 2019-08-27 2020-01-03 上海理工大学 Choledochoscope image enhancement method based on residual transposition deconvolution neural network
CN110648288B (en) * 2019-08-27 2023-02-03 上海理工大学 Choledochoscope image enhancement method based on residual transposition deconvolution neural network
CN110853070A (en) * 2019-11-11 2020-02-28 山东科技大学 Underwater sea cucumber image segmentation method based on significance and Grabcut
CN111080537A (en) * 2019-11-25 2020-04-28 厦门大学 Intelligent control method, medium, equipment and system for underwater robot
CN111080537B (en) * 2019-11-25 2023-09-12 厦门大学 Underwater robot intelligent control methods, media, equipment and systems
CN111462022A (en) * 2020-04-29 2020-07-28 青岛大学 A method for sharpening and enhancing underwater images
CN111462022B (en) * 2020-04-29 2022-11-01 青岛大学 Underwater image sharpness enhancement method
CN111948215A (en) * 2020-08-11 2020-11-17 水利部交通运输部国家能源局南京水利科学研究院 Underwater structure flaw detection method based on optical imaging
CN112561804A (en) * 2020-10-09 2021-03-26 天津大学 Low-illumination underwater image enhancement method based on multi-scale detail enhancement
CN113269681B (en) * 2021-04-20 2022-02-01 飞马滨(青岛)智能科技有限公司 Underwater real-time image enhancement method based on multi-algorithm fusion
CN113269681A (en) * 2021-04-20 2021-08-17 飞马滨(青岛)智能科技有限公司 Underwater real-time image enhancement method based on multi-algorithm fusion
CN113763368A (en) * 2021-09-13 2021-12-07 中国空气动力研究与发展中心超高速空气动力研究所 Large-size test piece multi-type damage detection characteristic analysis method
CN113793318A (en) * 2021-09-13 2021-12-14 中国空气动力研究与发展中心超高速空气动力研究所 Multi-region complex damage defect characteristic comprehensive analysis method
CN113763367A (en) * 2021-09-13 2021-12-07 中国空气动力研究与发展中心超高速空气动力研究所 Comprehensive interpretation method for infrared detection characteristics of large-size test piece
CN113793318B (en) * 2021-09-13 2023-04-07 中国空气动力研究与发展中心超高速空气动力研究所 Multi-region complex damage defect characteristic comprehensive analysis method
CN113763368B (en) * 2021-09-13 2023-06-23 中国空气动力研究与发展中心超高速空气动力研究所 Multi-type damage detection characteristic analysis method for large-size test piece
CN114494089A (en) * 2021-12-17 2022-05-13 湖南国天电子科技有限公司 Multi-scale fusion-based seabed image processing method

Similar Documents

Publication Publication Date Title
CN106981053A (en) A kind of underwater picture Enhancement Method based on Weighted Fusion
Zhang et al. Underwater image enhancement via weighted wavelet visual perception fusion
Zhang et al. Underwater image enhancement via minimal color loss and locally adaptive contrast enhancement
Liu et al. Rank-one prior: Real-time scene recovery
Wang et al. Variational single nighttime image haze removal with a gray haze-line prior
CN109754377B (en) A Multi-Exposure Image Fusion Method
CN111292257B (en) A Retinex-based Image Enhancement Method in Dark Vision Environment
Shin et al. Radiance–reflectance combined optimization and structure-guided $\ell _0 $-Norm for single image dehazing
Wang et al. Single image dehazing based on the physical model and MSRCR algorithm
Zhou et al. Multi-scale retinex-based adaptive gray-scale transformation method for underwater image enhancement
CN107507138B (en) An underwater image enhancement method based on Retinex model
KR101328741B1 (en) Apparatus and method for image enhancement using color channel
Bi et al. Haze removal for a single remote sensing image using low-rank and sparse prior
CN112734650A (en) Virtual multi-exposure fusion based uneven illumination image enhancement method
CN103530848A (en) Double exposure implementation method for inhomogeneous illumination image
CN106971379A (en) A kind of underwater picture Enhancement Method merged based on stratified calculation
CN115035011B (en) A low-light image enhancement method based on adaptive RetinexNet under a fusion strategy
CN108447028A (en) Underwater image quality improving method based on multi-scale fusion
Li et al. Dual high-order total variation model for underwater image restoration
Parihar et al. A comprehensive analysis of fusion-based image enhancement techniques
CN107909552A (en) Based on underwater prior-constrained image recovery method
CN118195920B (en) Adaptive weighted detail-preserving multi-exposure image fusion algorithm
Ke et al. Underwater image enhancement via color correction and multi-feature image fusion
Ke et al. Single underwater image restoration based on descattering and color correction
CN120107133A (en) An underwater image enhancement method based on color channel unit compensation

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170725

RJ01 Rejection of invention patent application after publication