Jingchun Zhou,Taian Shi,Weishi Zhangand Weishen Chu
1College of Information Science and Technology,Dalian Maritime University,Dalian,116026,China
2Department of Computer and Information Science,University of Pennsylvania,Philadelphia,PA 19104,USA
ABSTRACT The scattering and absorption of light propagating underwater cause the underwater images to present low contrast,color deviation,and loss of details,which in turn make human posture recognition challenging.To address these issues,this study introduced the dual-guided filtering technique and developed an underwater diver image improvement method.First,the color distortion of the underwater diver image was solved using white balance technology to obtain a color-corrected image.Second,dual-guided filtering was applied to the white balanced image to correct the distorted color and enhance its details.Four feature weight maps of the two images were then calculated,and two normalized weight maps were constructed for multi-scale fusion using normalization.To better preserve the obtained image details,the fusion image was histogram-stretched to obtain the final enhanced result.The experimental results validated that this method has improved the accuracy of underwater human posture recognition.
KEYWORDS Multi-scale fusion;image enhancement;guided filter;underwater diver images
Computer vision technology is developing rapidly and is continuously being applied in new fields,including human-centered applications.For example,computer vision technology can be used for human posture recognition,human body position detection,etc.At present,there are many human body recognition technologies,most of which are based on deep learning technology[1–3].Although human body recognition in normal lighting has been well developed,recognition results in underwater environments are not ideal.This is because the absorption of light underwater causes a loss of detailed information about the target.Therefore,accurate human posture recognition in underwater environments still has many challenges.
One way to address issues with underwater human posture recognition is enhancing the underwater image to obtain an image that is close to one taken in a terrestrial environment.This allows the classical human body recognition method to work properly.Researchers have proposed various methods for improving underwater images.According to whether the physical principle of underwater light propagation is applied,the processing methods fall mainly into two categories:image enhancement and image restoration.
Image restoration mainly depends on the physical principle of underwater light.The underwater imaging model is built through physical principles.A simplified underwater image model is calculated:
where(x,y)refers to a pixel of the image;λ∈{R,G,B},Iλ(x,y)andJλ(x,y)refer to the original underwater image and the restored image,respectively;Bλ(x,y)refers to the background light;andtλ(x,y)represents the transmission map.By estimating the model parameters and inverting the degradation process,the original illumination intensity of the scene is restored to get the enhanced image.
He et al.[4]developed a dehazing algorithm—DCP—specifically for outdoor image scenes.Their method assumes that at least one channel of a sunny image contains very low pixel values(close to 0).Chiang et al.[5]combined this DCP algorithm with a wavelength-dependent compensation algorithm to make the algorithm suitable for underwater environments and remove fog and correct color in underwater images.
Galdran et al.[6]established a model to restore underwater images since red light attenuates faster underwater.However,this model does not apply to all images,as some will have varying degrees of red channel saturation.Berman et al.[7]considered spectral profiles of different water types and simplified image restoration process to single-image defogging by estimating the attenuation ratio of blue-red and blue-green channels.Fattal[8]deduced a model to restore the scene transfer map based on the colored lines in a hazy scene and described a model dedicated to generating a complete and regularized transfer map based on estimations of noise and dispersion.Yang et al.[9]built an improved model based on dark channel reflection illumination decomposition and local backscattered illumination estimation and obtained images with sharp edge details and improved colors.Peng et al.[10]first used depth-related color changes to estimate the ambient light and scene transmission map utilizing the difference between the observed intensity and the ambient light.And they introduced adaptive color correction based on this estimation.This method,which achieved good results,was used for images degraded by light scattering and absorption.Zhou et al.[11]introduced secondary guided transfer map and proposed a restoration method for underwater image.An improved guided filter was used to optimize the transfer map.However,despite these various underwater image restoration methods,accurately estimating various parameters of the optical image model is still difficult because of the complexity of the underwater environment and illumination conditions.Therefore,such restoration methods need to be further optimized.
Numerous research studies have attempted to enhance the underwater image quality.The image fusion has been found to be an effective way for underwater image enhancement.In 2012,Ancuti et al.[12]built a fusion-based model for image enhancement using the Laplacian contrast weight,local contrast weight,and saliency weight.This multi-scale fusion pyramid strategy obtained good results;the images had improved sharpness,contrast,and color distribution.In 2017,Ancuti et al.[13]improved the proposed fusion method,proposing an approach that utilized red channel compensation before fusion.Additionally,a new weight calculation method was used to obtain dark area display enhancement,improved overall contrast,and edge sharpening.
Zhou et al.[14]proposed the multi feature fusion method by fusing the image after color correction and guided filtering and then enhancing the edge to obtain balanced color and improved contrast.Fu et al.[15]established a two-stage underwater image improvement model for underwater images,seeking to correct colors and enhance contrast.Fu et al.[16]also applied the Retinex method to underwater image enhancement to obtain images with better visual effects and colors in another study.However,their method was relatively complex,requiring multiple iterations.Zhuang et al.[17]proposed a Bayesian Retinex algorithm with multi order gradient priors of reflectance and illumination.Most of the proposed enhancement methods enhanced the qualities of underwater images,however,they still did not fundamentally solve the degradation of underwater images.
Artificial intelligence(AI)is advancing rapidly and has been applied to a wide range of fields.Researchers have begun to incorporate AI-assisted analysis to underwater imaging improvement models as well.To ameliorate the color shift and increase the contrast of underwater images,Li et al.[18]presented a multi-media transmission guide that used an underwater image enhancement network embedded in color space.Guo et al.[19]built a multi-scale dense generation confrontation network to solve underwater image color distortion,underexposure,and blur.To do so,they proposed a residual multi-scale dense block in the generator.Li et al.[20]used a weakly supervised color transfer algorithm to ameliorate the color deviation.To address the inability of real-time and adaptive underwater enhancement methods,Chen et al.[21]built a recovery scheme with a generative confrontation network(GAN-RS).In this scheme,a multibranch discriminator removes underwater noise while preserving the image content.Furthermore,a loss function based on an underwater index trains the evaluation branch of underwater noise suppression.Li et al.[22]proposed Zero-DCE,which formulated light enhancement as a task of image-specific curve estimation with a deep network.Compared to image enhancement and restoration methods,deep learning methods require many high-quality image datasets.However,since lossless underwater images are hard to obtain,deep learning methods usually cannot be fully trained and validated.Furthermore,Anwar et al.[23]comprehensively investigated underwater image enhancement methods with assistance of deep learning and found that methods with deep learning lag the most advanced traditional methods in most cases.
Therefore,this study proposed an underwater diver image improvement method with dualguided filtering.This method ensured correction of the diver image’s color and enhanced the image’s details and contrast.Additionally,it was suitable for diver images in various underwater environments.The main innovations of this study are:
(1)The method managed to improve the single underwater diver image quality without the need to consider complex image degradation models.
(2)The images obtained through different technologies had different characteristics,and the advantages of these results were combined through fusion methods to obtain the final enhanced images.
(3)Experiments were performed and compared with other advanced techniques.Both qualitative and quantitative methods were analyzed.The results showed that the approach introduced could accurately correct the color of underwater diver images,enhance detailed information,and improve the effectiveness of human posture recognition.
The flow of the method introduced in this paper is shown in Fig.1.Each stage will be described in detail below.
Figure 1:Summary of the introduced method
The attenuation rate of light changes for different wavelengths.Generally,the shorter the wavelength,the stronger the penetration ability.Among red,green,and blue channels,the red light disappears first as it has the longest wavelength.However,in turbid or plankton-rich waters,blue light will be attenuated due to the absorption of organic matter,resulting in color distortion in the diver image.Therefore,the color deviation must be corrected before image enhancement.Because the average value of the red channel is minimal,applying conventional color correction methods like the gray world may lead to overcompensation for the red channel,resulting in over-saturation of that channel.Since the wavelength of green light is relatively short,the attenuation of green light in the underwater environment is small,and the preservation is relatively complete[13].Thus,some green channels can be used to make up for the attenuation of the red and green channels.According to the gray world hypothesis theory[24],the mean values of the three channels should be the same.Therefore,the compensation of the red channel should be proportional to the difference between the mean values of the red and green channels.
First,the three channels were normalized according to the dynamic distribution and limited to[0,1].The compensation coefficient of the red channel was as follows:
whereIr(x,y)andIg(x,y)are the intensity values of the red and green channels,respectively.The final pixel value of the red channel was expressed in(3):
When the blue channel was in turbid or plankton-rich water,it was greatly attenuated because of the absorption of marine organisms.In these instances,the blue channel needed to be compensated.For the blue channel,there were also the following:
where,Ir(x),Ig(x),andIb(x)represent the intensity values of the red,blue,and green channels,respectively,andrefer to the average values of the intensity of each channel.λis a dynamic parameter used to prevent overcompensation.It is usually set between 0 and 1 to adapt to different types of underwater environment,and in this case was set to 0.5.
After color attenuation compensation,the gray world white balance method was used for color correction.First,the gain coefficients of each channel were obtained as follows:
whereC∈{R,G,B} represents different channels,KCrefers to the gain of the specific channel,λrepresents a dynamic parameter(λ=0.005),mandnrefer to the length the width of the image,respectively.The pixel value interval of each channel was obtained([LS,HS],S∈{R,G,B})according to the corresponding gain value.
Underwater diver images become blurred due to the influence of light scattering.To ensure a more natural visual effect in the output image,an adaptive contrast stretching was applied to stretch elements in range[Ls,Hs]between[0,255].The specific method was as follows:
whereCrepresents different channels,andTC(i,j)represents the value after each channel undergoes white balancing.
However,the white balance method can only recover color information;it cannot enhance the edge and detail information.Thus,a fusion-based method was applied to recover the lost details and edge information.
Underwater diver images are influenced by light attenuation and thus have low contrast.The white balance method can largely alleviate the color deviation,but recovering the details of the degraded image is difficult under some complex conditions.Therefore,the image must be enhanced to improve the visual effect.He et al.[25]found that guided filtering has an outstanding edgepreserving characteristics and could improve computational efficiency.
To prevent the color information of the image from being affected while the contrast of the image was enhanced,the image was transformed from RGB channel to Lab channel when the guided filtering was applied,and only the L channel was processed[14].Guided filtering can be calculated as(8):
whereGL(x,y)refers to the filtered image,TL,i(x,y)refers to the pixel value of input imageLchannel,Irefers to guide image,rrefers to the radius of the filtering window,εrefers to the regularization coefficient related to the smoothing effect,and * is the filtering operation.
The enhanced L channel was determined in(9):
whereλis a dynamic parameter.To make the image fully enhanced,setλto 5.
As shown in Fig.2,the image enhanced by guided filtering retained the effect of white balance color correction.It had better contrast and detail information,and the distribution of the RGB histogram was more balanced.
Figure 2:Results of our image improvement approach:(a)raw image,(b)white balance image,and(c)guided filter image.In the corresponding RGB histogram distribution plot below,the abscissa refers to the pixel values,and the ordinate refers to the normalized frequency
Underwater diver images are usually fuzzy and lack detail.Guided filtering-enhanced images have greater brightness and contrast,but some details are still lost.Therefore,this study introduced a sharpened version underwater image as another input to compensate for the loss of detail in the underwater diver image and reduce the degradation caused by light scattering.In the present study,the unsharpened mask method[13,26]was utilized to sharpen the image.
In the traditional sharpening method,a Gaussian kernel is first used to smooth the original image,which is then subtracted from the original image.Finally,the difference is added to the original image.In this study,however,a guided filter was used instead of a Gaussian kernel to smooth the image,since it had good edge-preserving characteristics[25].Inspired by MSR[27],a guided filter with low,medium,and high scales was selected to obtain three different scale versions of the image,and the average value was calculated to obtain a more accurate smooth image.
In this study,multiple smooth images were obtained by selecting guided filtering with different regularization coefficients,and a weight value was assigned to each smooth image.These images were combined into a final smooth image,as shown below:
whereI(x,y)represents the input image,qrepresents to the guide image(the original image was used as the guide image),Nrepresents the number of images at different scales,ωrefers to the weight of each scale(set to),andT(x,y)represents the smoothed image.
To obtain the edge detail image,the smoothed image was subtracted from the input image.Finally,the edge detail image was linearly fused with the input image to obtain the sharpened image.The final sharpened result was formulated as follows:
wheresis the control factor of sharpening degree.After many experiments,the value was 1.5.
As shown in Fig.3,the approach introduced obtained more obvious texture information than the raw image.
Figure 3:Image sharpened result.From left to right:(a)raw image,(b)sharpened image
After image sharpening and detail enhancement,the white balance image was used as the two fused input images.The image fusion effect was enhanced by extracting the special weight map of the image.Considering the low contrast and fuzzy details of underwater images,four weights were selected for the input image:global contrast weight,local contrast weight,saturation weight,and significance weight.The weight map was used to increase the proportion of pixels with higher weight values in the resulting image[13].
Laplace filter could enhance the image edge and texture to a certain extent.In this study,we denotedWLa,k(x,y)as the global contrast weight,The Laplace filter was applied to the L channel in a lab space to estimate the global contrast weight,which highlighted edge details,but the gradient and flat areas could not be distinguished.Therefore,other weights had to be introduced to supplement.
Saturation weight enables the fusion process to use the highly saturated region to adapt to the color information,but the saturation weight will reduce the contrast to some extent.Therefore,global contrast and local contrast weight must be introduced to solve the low contrast.
The saturation weight was first used to convert the image to Lab space,then the standard deviation between the RGB and L channels was calculated.The specific calculation method was applied:
whereWSat,k(x,y)represents the saturation weight;Rk(x,y),Gk(x,y),andBk(x,y)refer to the red,green,and blue color channels of the input imagekrespectively;andLk(x,y)is the L channel of the input image lab space.
Saliency weight was used to highlight some objects in the underwater environment that are more easily perceived by human vision.Fu et al.[28]developed a collaborative saliency detection algorithm with clustering to obtain a more accurate saliency map by integrating contrast and spatial clues.
Contrast cues mainly represent the uniqueness of visual features of a single image,which are calculated as follows:
wherenirepresents the pixel number ofCi,Nrepresents the total pixel number,andukrefers to the cluster center associated with the clusterCk.L2 norm is used for distance calculation on the feature space.
Spatial cues are calculated assuming the central area of the image can attract people’s attention more than other areas:
whereδ(·)denotes the Kronecker delta function,ciis image center,G(·)is used to calculate the Euclidean distance between pixelsandcj,σ2is the normalized radius of images,andnkis the pixel number ofCk.The final saliency map was obtained by combining these two clues.
This study also introduced local contrast weight[13]to address the local detail loss issue.The local contrast weight highlighted areas in the input image where there were more local pixel value changes and increased the transition between the lighter and darker areas.LettingWLc,k(x,y)be the local contrast weight,it can be obtained by calculating the standard deviation of the mean value of each pixel and its surrounding pixels,as follows:
whereLk(x,y)is the brightness value of the input image,andLωhc,k(x,y)is calculated from the 5×5 separable binomial kernel 1/16[1,4,6,4,1].
To take full advantage of the above four weight maps,a multi-scale fusion method was introduced;the saturation weight map could balance the color difference,the global contrast weight map could improve the overall contrast,and the saliency weight graph could highlight prominent objects that lost saliency in the underwater images.Finally,the local contrast weight was employed to polish the image details.
The four weight maps were merged into a weight map W with normalization,and the fused image was calculated:
whereWk(x,y)refers to thekth normalized weight map,and {Sat,La,Sa,Lc} represents the saliency,global contrast,saturation,and the local contrast weight respectively.
To avoid the artifacts that may appear in simple linear weighted fusion,the Laplacian pyramid fusion method was introduced,and the normalized weight map was deconstructed into multiscale Laplacian pyramids.Additionally,the Gaussian pyramid was applied to decompose the input image.Finally,the obtained Gaussian pyramid and Laplacian pyramid were fused on multiple scales.
First,the normalized weight map was obtained as follows:
Laplacian pyramid decomposition and Gaussian pyramid decomposition were performed on the fused input image and its normalized weight map,respectively,and the fusion was performed on multiple scales,as follows:
whereRl,k(x,y)represents thel-thlayer of the output image pyramid for thek-thinput image,refers to the normalized weight map after the Gaussian filtering,andLl[Ik(x,y)]refers to the input Laplacian filtering pyramid of the image.
To obtain the final output image,the output pyramid was sampled,as expressed in(19):
whereEres(x,y)is the output image,andrefers to the sampled output image pyramid.
The color and contrast of the fused image were greatly improved after these steps,but some areas were still too dark or too bright.To get a high-quality image,these parts had to be removed to generate more reasonable image brightness.The over-bright and over-dark regions were removed by stretching the pixels whose size was between the pixel values at quantile 0.1%and 99.9% in each channel to[0,255].
whereMrepresents an array of pixels in a certain channel sorted in ascending order,Crefers to the number of image pixels,Trefers to a threshold(T=0.01),andRE(x,y)refers to the stretched image.
This section compares the method introduced in this paper with the existing restoration approaches for underwater images.Each method was analyzed qualitatively and quantitatively.The selected comparison methods were UDCP[29],RBE[16],TSP[15],IBLA[10],ULAP[30],GDCP[31],RGHS[26],UWCNN[32],and WaterNet[33].All experiments were run on Win10 PC,AMD ryzen 5 4600u,and MATLAB r2020b.
A total of 890 images from the UIEB[33]dataset was utilized to verify the introduced method.The UIEB dataset is widely used.The dataset was divided into two categories:Data A,about underwater divers,and Data B,about images of other underwater scenes.
First,the experimental results were analyzed qualitatively,and some objective metrics were then used for quantitative analysis.Next,the average value was calculated according to the quantitative metric results of all images in the dataset,and a box plot was created to demonstrate the superiority of the approach introduced in this paper.
For qualitative analysis,eight images were selected from the two categories in the dataset.
Figs.4 and 5 show the resulting images obtained by different imaging improvement methods.
The UDCP approach applies DCP to estimate the transmission map according to the bluegreen channel,but it does not take the attenuation of the red channel into consideration,which is prone to color deviation.Additionally,the overall brightness of the image is low.For example,a green color cast appeared in images A3,A4,and B1,while a red color cast appeared in images A8,B4,and B7.RBE first performs color correction and then solves the underexposure and blur based on Retinex.However,because of the oversaturation of the red channel,the images generally show red,such as images B1,and B2.TSP adopts a two-step approach to improve the image.It mainly solves color deviation and low contrast through pixel value transformation.However,due to its inability to select an accurate target image when adjusting the contrast,this method does not improve the contrast much.This results in red channel oversaturation,such as that seen in images A6,A7,A8,B1,B2,and B3.IBLA restores the image by estimating the transmission image and background light.However,these estimates are not accurate,resulting in color correction and contrast enhancement that are not obvious.As a result,the results have different degrees of color deviation,and the contrast is not largely enhanced.ULAP estimates the background light based on the maximum intensity difference between the red and blue-green channels.However,because of the limited improvement of the red and blue channels,the color degradation of its output image is not completely removed.For example,A1,A2,and B1 showed green color cast;A7,and A8 had a blue color shift;A6,B2,and B8 images showed a red cast.Additionally,the contrast of these images was low.This was because ULAP has difficulty accurately estimating the background light in some images with serious green color cast,resulting in a poor restoration effect.
Figure 4:The qualitative evaluation result of eight selected images from Data A:(a)Raw images,(b)UDCP,(c)RBE,(d)TSP,(e)IBLA,(f)ULAP,(g)GDCP,(h)RGHS,(i)UWCNN,(j)WaterNet,(k)Our method
Like UDCP,GDCP estimates the ambient light through the color change related to the water depth and then obtains the scene transmission map.However,this method is based on IFM and does not apply to all underwater environments.Furthermore,although it can improve contrast and brightness to a certain extent,the method can introduce color deviations when enhancing images,such as those found in images A2,B2,and B5.RGHS first equalizes the blue-green channel and then redistributes the histogram using the dynamic parameters related to the original image and underwater wavelength attenuation.Although the contrast of the image can be enhanced,the detailed information is not recovered well as the approach ignores the relationship between image degradation and scene depth,resulting in serious color deviation,such as that seen in images A1,A2,and B1.UWCNN applies the deep learning method to underwater diver image enhancement,but the combination of UWCNN with the physical model did not obtain ideal results.Severe color deviation remained in the obtained images,and the low contrast and low brightness were not solved.WaterNet constructs a special dataset to train the CNN network.Still,due to the lack of real images in the underwater environment,backscattering obtained by WaterNet is difficult to eliminate.Although the color deviation of the image was resolved,the details of some images were not restored,such as images A1,A2,B7,etc.
In contrast,the present method did not introduce color cast,over-enhancement,or underenhancement.As a result,it obtained satisfactory images with color,contrast,brightness,and clearer texture details.
Figure 5:The qualitative evaluation result of eight selected images from Data B:(a)Raw images,(b)UDCP,(c)RBE,(d)TSP,(e)IBLA,(f)ULAP,(g)GDCP,(h)RGHS,(i)UWCNN,(j)WaterNet,(k)Our method
Evaluation of underwater images often focuses on whether the color,contrast,and overall visual quality of the image have been improved.Such evaluation requires objective methods.This section presents this study’s approach and other methods using four objective metrics:average gradient(AG),underwater image quality measurement(UIQM),underwater image quality measurement(UCIQE),and patch-based contrast quality(PCQI).UIQM and UCIQE indicators are used particularly for underwater image evaluation,mainly to evaluate the image’s color richness,clarity,and contrast.PCQI represents the contrast of the image,while AG mainly indicates the sharpness of the image.Higher PCQI and AG values indicate better contrast and more detailed texture information of an image.The objective evaluation results of the images shown in Figs.4 and 5 were presented using a broken line diagram,as shown in Figs.6 and 7.The abscissa represents the image sequence number,and the ordinate represents the result value from different methods.
Figure 6:Results of objective evaluation of Fig.4
As seen in the broken line diagram,the UCIQE,UIQM,PCQI,and AG values obtained by the present approach were higher than those acquired by other approaches in most cases.Among the UCIQE values,A3 was lower than RGHS,A4 was lower than ULAP,and A7 was lower than GDCP because UCIQE is a linear addition of color concentration,saturation,and contrast.Thus,an excessively high factor will lead to a high UCIQE value.As seen in Fig.4,the RGHS,ULAP,and GDCP methods resulted in supersaturated images with color deviation.Since UCIQE does not fully consider color deviation and artifact[33],the UCIQE value was high.For A3,A5,A7,B2,and B3,the UIQM value of the present approach was slightly lower than that of the UDCP.As shown in Figs.4 and 5,the UDCP approach resulted in low brightness and contrast,as well as serious color cast.For B1 images,the PCQI value of the present method was slightly lower than TSP and UDCP,while other images had higher PCQI values than other methods.Additionally,the AG values of all experimental images of the present approach were higher than other approaches.Thus,the contrast and detail enhancement method found in this study effectively enhanced valuable information and improved contrast.
Figure 7:Results of objective evaluation of Fig.5
To objectively evaluate the effect of the method further,the average value was calculated,and a box plot,as shown in Fig.8,was drawn according to each objective metric for all underwater images in the UIEB dataset to represent the discrete distribution of objective metrics in different methods.The average value is displayed in Table 1,in which the best measurement results are bold and underlined.Compared with most other advanced methods,our method had the first UCIQE,PCQI,and AG indicators and the second UIQM.However,compared with the first UDCP method,the difference was only 0.07.
Table 1:Evaluation results of average indexes of all images in UIEB dataset
As shown in the box plot in Fig.7,On each box,the central mark represents the median,and the bottom and top edges of the box illustrate the upper and lower quartile,respectively.The whiskers above and below the box show the minimum and maximum value,respectively.red marks represent outliers.It can be seen from the box plot that for UCIQE and UIQM,the median and maximum values of our method are only less than those of UDCP method,but higher than those of other methods,and the results are relatively stable.On the other hand,for PCQI and AG,our approach has better performance than other approaches.
Figure 8:Box plot of four objective metrics in UIEB dataset.M1:UDCP,M2:RBE,M3:TSP,M4:IBLA,M5:ULAP,M6:GDCP,M7:RGHS,M8:UWCNN,M9:WaterNet,M10:Our
Thus,comparison showed that the four objective metrics obtained by the present method achieved good results.Our method first compensated for the red channel,then performed gray world white balance to alleviate the color distortion of the image,and then obtained the detailenhanced and sharpened images based on guided filtering.Finally,the obtained images were multiscale fused and histogram-stretched to obtain the enhanced result.The brightness,saturation,and contrast of the obtained images were balanced,with no obvious color cast.
Thus,our method could obtain images with significantly improved clarity,contrast,chroma,and brightness.Furthermore,all objective evaluation indices were high and had certain robustness.Therefore,our approach is suitable for underwater diver image enhancement in most environments.
Human posture recognition is the basis of most human-centered computer vision applications.This section will illuminate the influence of the enhanced underwater diver image on human posture recognition.A method proposed by Cao et al.[1]was used to effectively detect the twodimensional posture of multiple people in the image.This method is based on deep learning and uses Partial Affinity Field(PAFs)learning to associate body parts with individuals in the image,to achieve real-time performance,maintain high accuracy and can accurately recognize human posture in an environment with normal lighting.
As shown in Figs.9a and 9b,only some divers could be identified in the raw images,and the legs and arms of some could not be accurately identified.In contrast,all divers could be completely identified in the enhanced image,and the recognition results were more accurate.As seen Figs.9c and 9d,the divers could not be identified from the raw image,and other targets were identified as divers in the image(d).Because the image was affected by the underwater environment,it had color deviation,and the edge information was lost.In contrast,the enhanced image was closer to the daily environment.Thus,the results showed that the present approach could remarkably enhance the posture recognition of underwater divers.
Figure 9:Experimental results of underwater human posture recognition:(a)Scene 1,(b)Scene 2,(c)Scene 3,(d)Scene 4.
This paper presents an underwater diver image enhancement approach based on doubleguided filtering.First,color correction was performed to restore the color cast.Second,a guided filter was used to enhance details and sharpen the image,and multi-scale fusion was performed to enhance the edge and contrast to avoid artifact.Finally,the areas where the image was too bright or dark were removed by histogram stretching.Our method significantly alleviated the color distortion of the underwater diver image,enhanced the contrast and detail information,obtained an image like that in a normal lighting environment,highlighted the edge information of the underwater diver,made the diver’s image more identifiable,and improved underwater human posture recognition.Many experiments showed that the method had certain advantages over others.By comparing with the most advanced approaches,our approach has relatively large advantages in various objective indicators.It is robust for underwater diver image enhancement and can effectively improve underwater human posture recognition.
Acknowledgement:Thanks to the data set provided by the joint laboratory of the Dalian University of Technology and Zhangzidao Group.We are also extremely grateful to the anonymous reviewers for their critical comments on the manuscript.
Funding Statement:National Natural Science Foundation of China(No.61702074);the Liaoning Provincial Natural Science Foundation of China(No.20170520196);the Fundamental Research Funds for the Central Universities(Nos.3132019205 and 3132019354).
Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.
Computer Modeling In Engineering&Sciences2022年5期