An underwater image enhancement method based on turbidity classification
Through the underwater image enhancement method based on turbidity classification, the image in the turbid water body is graded and processed, and a suitable enhancement route is selected, which solves the problem of poor image quality in the turbid water body and realizes the improvement in the environment with large changes in turbidity. Effective image enhancement.
Patent Information
- Application Number
- CN202210105529.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-01-28
AI Technical Summary
The existing technology is not effective in processing underwater image enhancement in turbid water bodies, especially in environments with large changes in turbidity. Traditional methods cannot effectively improve image quality, and the lack of high-quality databases for turbid water bodies limits deep learning algorithms. application.
An underwater image enhancement method based on turbidity grading is adopted. By calculating the image histogram data and pixel value mean and variance, grading the turbidity level and color shift level, the corresponding enhancement processing route is selected, including bilateral filtering, grayscale world correction, and Fog processing and multi-scale non-mask sharpening, with different treatments for light, medium and severe turbidity.
This method can effectively improve image quality in complex turbid water bodies, adapt to water environments with different degrees of turbidity, expand the application scenarios of the algorithm, and improve the processing effect of image noise, color deviation and fogging problems.
Smart Images

Figure CN114463211B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of underwater image enhancement, and more specifically, relates to an underwater image enhancement method based on turbidity classification. Background Art
[0002] my country's coastline length ranks among the top in the world, with huge ocean and freshwater areas. There is an increasing demand for underwater operations such as underwater resource development, underwater field exploration, and seabed topography exploration, especially in turbid freshwater environments such as the Yellow River, as well as factory sewage, turbid waters in the wild, etc. Due to the low visibility of such water bodies, the high turbidity of the water bodies themselves, and the complex underwater environment, the visual information of underwater operations is greatly affected, which further affects the quality of underwater operations. Therefore, improving the image quality in turbid water bodies is of great significance and has broad application prospects in the field of underwater operations.
[0003] Although the existing image enhancement methods can achieve good results in most waters, their application scope is limited. In turbid water bodies and waters where the turbidity of the water body changes over time, the existing image enhancement methods often fail to achieve the expected goals. The traditional image enhancement method starts from the underwater imaging theory and solves the underwater image problem. Its theory is mature and the methods are diverse. It can achieve good results in both the ocean and ordinary freshwater fields. However, this type of method does not consider the impact of turbidity changes. In large-span light-heavy turbid water bodies, the image problems will also be different. At this time, this type of method will not get the expected results. With the improvement of computer performance, image enhancement algorithms combined with deep learning have gradually achieved good results in recent years. With the support of massive databases, this type of enhancement method can well improve the quality of underwater images, but this method requires a high-quality database. At present, underwater image databases for turbid water bodies, polluted wastewater and other water bodies are very scarce, which greatly limits the enhancement effect of learning-based image enhancement methods on this type of water body.
[0004] An article published by Xiamen University in the journal Robotics, "An Underwater Image Enhancement Algorithm for Environment Recognition and Robot Navigation", introduces a new image enhancement method that uses deep learning to identify the target environment, and then uses different processing methods for different turbid environments. This enhancement method can achieve good enhancement results in the waters it requires, and can adapt to different turbidity levels to a certain extent. However, the environmental recognition method in this method requires a large amount of underwater data image support, and the current turbid underwater image database is very scarce, so it does not perform well in heavily turbid water bodies. At the same time, the enhancement processing in different environments in this method is not reasonable enough. Its processing methods in different environments are completely consistent, with only a few differences in parameter settings. In large-span light-heavy turbid water bodies, different methods are needed to solve the corresponding underwater image problems.
[0005] Patents CN105205792A and CN105761227A of Tianjin University disclose two underwater image enhancement processing methods. These two methods start from brightness separation and dark channel respectively. They can effectively improve the quality of underwater images and increase the image saturation. However, these methods are all aimed at ocean waters, where the water conditions are good and the water quality is relatively clear, and the processing effect under turbid water bodies is difficult to guarantee. Patent CN113837963A of Dalian University of Technology adopts a deep network-based method to enhance underwater images, uses LAB color space to enhance image contrast, decouples image channels, and reduces the mapping difficulty of deep network learning. Similarly, patent CN102930512A of Harbin Engineering University enhances underwater images in combination with Retinex in HSV color space. It keeps the H component unchanged, performs surface wave denoising on the S component, and performs Retinex enhancement on the V component. After processing, the HSV space is fused and then transferred to the RGB space to obtain the enhanced image.
[0006] The above methods can effectively improve the quality of underwater images, but they are mostly aimed at ocean water bodies or conditions with good water quality. In turbid water bodies or water bodies with varying turbidity, the enhancement effect is difficult to guarantee. Therefore, researching and designing a new image enhancement method in turbid water bodies has important application value. Summary of the invention
[0007] In view of the above defects or improvement needs of the prior art, the present invention provides an underwater image enhancement method based on turbidity classification, aiming to solve the problem that the prior art cannot enhance images in complex turbid water bodies or the enhancement method is single.
[0008] To achieve the above object, the present invention proposes an underwater image enhancement method based on turbidity classification, comprising the following steps:
[0009] (1) Read the image to be processed and calculate the image histogram data;
[0010] (2) Calculate the pixel value mean and pixel value variance of each channel on the three channels of the image to be processed according to the image histogram data;
[0011] (3) Calculating the image variance according to the pixel value variance of each channel, comparing the image variance with the preset turbidity level partition threshold, and obtaining the turbidity level of the image to be processed, where the turbidity levels are light turbidity, moderate turbidity, and heavy turbidity;
[0012] (4) Calculating the maximum channel offset according to the mean pixel value of each channel, comparing the maximum channel offset with a preset color deviation level partition threshold, and obtaining the color deviation level of the image to be processed;
[0013] (5) The channel with the largest channel offset is used as the color deviation channel;
[0014] (6) Selecting a corresponding enhancement processing method according to the turbidity level of the image. In the corresponding enhancement processing method, enhancement processing is performed according to the color cast level and color cast channel of the image to be processed to obtain a result image.
[0015] Furthermore, the method for obtaining the turbidity level of the image to be processed in step (3) is:
[0016] (3.1) According to the image histogram data, the pixel value variance of each channel of the image to be processed is calculated, and the mean of the pixel value variances of all channels is taken as the image variance;
[0017] (3.2) Compare the image variance with the preset upper and lower limits of the turbidity level partition threshold. If it is lower than the lower limit, it is severe turbidity; if it is between the upper and lower limits, it is moderate turbidity; if it is higher than the upper limit, it is mild turbidity; and obtain the turbidity level.
[0018] Furthermore, the method for obtaining the color cast level of the image to be processed in step (4) is:
[0019] The maximum channel offset is compared with the preset upper and lower limits of the color shift level partition threshold. If it is lower than the lower limit, it is a mild color shift; if it is between the upper and lower limits, it is a moderate color shift; if it is higher than the upper limit, it is a severe color shift; the color shift level of the image to be processed is obtained.
[0020] Furthermore, the maximum channel offset is calculated as follows:
[0021] According to the image histogram data, the image mean is calculated;
[0022] Subtract the image mean from the mean pixel value of each channel, and use the maximum difference in the result as the maximum channel offset.
[0023] Furthermore, the enhancement treatment method in step (3) is divided into a mild turbidity enhancement method, a moderate turbidity enhancement method and a severe turbidity enhancement method.
[0024] Further, the steps of the mild turbidity enhancement method are:
[0025] Perform bilateral filtering on the image to be processed to obtain a denoised image;
[0026] According to the color cast level and color cast channel of the image to be processed, a gray world correction method based on channel compensation is used to correct the color cast of the denoised image to obtain a result image.
[0027] Further, the steps of the moderate turbidity enhancement method are:
[0028] Perform bilateral filtering on the image to be processed to obtain a denoised image;
[0029] According to the color deviation level and color deviation channel of the image to be processed, a gray world correction method based on channel compensation is used to correct the color deviation of the denoised image to obtain a corrected image;
[0030] Defogging the corrected image to obtain a defogging image;
[0031] A multi-scale non-mask sharpening method is used to enhance the details of the dehazed image to obtain a detail-enhanced image;
[0032] The dehazed image and the detail enhanced image are fused to obtain the result image.
[0033] Further, the steps of the severe turbidity enhancement method are:
[0034] Perform bilateral filtering on the image to be processed to obtain a denoised image;
[0035] According to the color deviation level and color deviation channel of the image to be processed, a gray world correction method based on channel compensation is used to correct the color deviation of the denoised image to obtain a corrected image;
[0036] Defogging the corrected image to obtain a defogging image;
[0037] The corrected image and the dehazed image are fused to obtain the result image.
[0038] Furthermore, the steps of channel compensation in the gray world correction method based on channel compensation are:
[0039] According to the image histogram data, the average of the grayscale value means of the two non-color-biased channels is calculated, and the ratio of the average grayscale value of the two non-color-biased channels to the grayscale value of the color-biased channels is calculated, and the ratio is used as the compensation color-biased channel metric;
[0040] Subtract 1 from the compensation color deviation measurement, and then multiply it by the coefficient to obtain the compensation coefficient, where the coefficient is an empirical coefficient;
[0041] The average of the two non-color-biased channel pixel values is calculated, and then multiplied by the compensation coefficient to obtain the compensated color-biased channel pixel average and replace the original color-biased channel pixel average.
[0042] Furthermore, in the image fusion step, the fused image may be the entire image result or a portion of the image result in the enhancement method.
[0043] In general, the above technical solution conceived by the present invention has the following technical advantages compared with the prior art:
[0044] 1. The present invention designs a new underwater image enhancement method based on water turbidity classification, which can adapt not only to ordinary water bodies, but also to severely turbid water bodies, polluted water bodies and water bodies with turbidity changes, and independently selects and adjusts specific enhancement methods according to the water environment, thereby improving the enhancement effect of the algorithm and expanding the application scenarios of the algorithm;
[0045] 2. Aiming at the problem that the traditional image enhancement algorithm has poor effect due to the change of water turbidity, the present invention designs a turbidity detection method based on image histogram, and designs 3 different enhancement routes to cooperate with it; for images in different water environments, the corresponding enhancement routes are selected to process them, so that the image problems in specific environments are solved in a targeted manner, ensuring the image enhancement effect;
[0046] 3. The present invention reasonably designs enhancement routes under different environments and comprehensively solves image problems, which can effectively improve the noise, color deviation, blur and atomization problems of water images. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A flow chart of the overall method for underwater image enhancement provided in this embodiment;
[0048] Figure 2 A schematic diagram of the principle of the gray world correction method based on channel compensation provided in this embodiment;
[0049] Figure 3 A schematic diagram showing the principle of the multi-scale non-mask sharpening method provided in this embodiment;
[0050] Figure 4 A schematic diagram of the principle of the image fusion method provided in this embodiment;
[0051] Figure 5 A schematic diagram of an image to be processed provided in this embodiment;
[0052] Figure 6 A schematic diagram of the result image provided for this embodiment. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0054] like Figure 1 As shown, the image enhancement method of the present invention can be generally divided into two parts: turbidity detection and image enhancement. Among them, the turbidity detection method can detect the turbidity degree of the water body in which the image is located, the image color deviation level and the image color deviation channel. Corresponding to the detection results are 3 different enhancement routes, and the corresponding route is selected according to the detection results to perform image enhancement operations.
[0055] Among them, the three enhancement routes correspond to three different turbidity levels. The routes are independent of each other, and each route contains its own route-specific enhancement methods and parameters. The three routes are respectively the mild turbidity enhancement route, the moderate turbidity enhancement route, and the severe turbidity enhancement route. Specifically, the methods included are as follows:
[0056] Mildly turbid route:
[0057] Firstly, the input image is bilaterally filtered, and then the color cast level and color cast channel are taken as input parameters. The gray world correction method based on channel compensation is used to correct the color cast of the image to obtain the final output result.
[0058] Moderately turbid routes:
[0059] First, the input image is bilaterally filtered, and then the color cast level and color cast channel are taken as input parameters, and the image is corrected for color cast using a grayscale world correction method based on channel compensation; then the result is dehazed, and finally the image is enhanced using a multi-scale non-mask sharpening method; the above results are taken as input, the images are fused, and the final output result is obtained.
[0060] Severe turbidity route:
[0061] First, the input image is bilaterally filtered, and then the color cast level and color cast channel are used as input parameters, and the image is corrected for color cast using the grayscale world correction method based on channel compensation; then the result is dehazed. The above results are used as input, and the images are fused to obtain the final output result.
[0062] Combine the following Figures 2 to 4 The image enhancement method of the present invention is described in a complex and turbid underwater environment.
[0063] First, read the underwater image and calculate the image histogram distribution. The specific steps are as follows:
[0064] In the first step, the variance of the pixel values of each of the three channels of the image is calculated, and the mean of the variance values of all channels is taken as the image variance S. The image variance S is compared with the upper limit (value is 28) and lower limit (value is 2) of the turbidity partition threshold. If it is lower than the lower limit, it is severe turbidity; if it is between the upper and lower limits, it is moderate turbidity; if it is higher than the upper limit, it is mild turbidity; the turbidity classification judgment result is output.
[0065] The second step is to calculate the mean pixel value M of each channel in the three channels of the image c (c={R,G,B}), count the largest M c , recorded as the maximum channel difference M max , compare it with the upper and lower limits (value 60) of the color cast level partition threshold. If M max If it is below the lower limit, it is a mild color shift; if it is between the upper and lower limits, it is a moderate color shift; if it is above the upper limit, it is a severe color shift; the color shift grading result is output.
[0066] The third step is to calculate the mean value M of the image pixels and convert M c Subtract it from M to get the difference between each channel and the image mean, and record its maximum value as M cmax , the channel corresponding to the maximum value is the color deviation channel, and the color deviation channel is output.
[0067] According to the turbidity classification results, select the corresponding enhancement route to enhance the image, specifically:
[0068] 1 When the image turbidity is slightly turbid, enter the slightly turbid enhancement route:
[0069] Firstly, bilateral filtering is performed on the image to denoise it, and then an improved gray-world color correction method is used to correct the chromatic aberration of the image.
[0070] like Figure 2As shown, the input image is taken as the object, and the color deviation channel and color deviation level are used as reference parameters to perform color deviation channel compensation. The grayscale mean of the three RGB channels is calculated. The color deviation channel can be determined according to the color deviation channel parameters. The mean of the two channels without color deviation is calculated, and then the ratio of the mean to the color deviation channel mean is calculated. The ratio is used as a measure to compensate the color deviation channel. Each pixel of the color deviation channel is compensated according to the following formula:
[0071]
[0072] For the pixel x of the color deviation channel, first find the pixels at the corresponding positions in the two non-color deviation channels, calculate the average of the two pixel values, and then multiply it by the compensation coefficient. The compensation coefficient is the color deviation channel measurement value minus 1, and then multiplied by the coefficient w. Calculate all the pixels in the color deviation channel, and finally get the color deviation correction channel after the color deviation channel is corrected.
[0073] Then, the image after channel compensation is corrected for chromatic aberration. The processing is divided into two parts, namely gray world correction and histogram equalization. In the gray world correction part, the mean of each channel of the compensated image is first calculated, and the ratio between the mean of each channel and the mean of the three channels of the image is calculated. Each ratio is used as a parameter of each corresponding channel. For all pixels in the image, its pixel value is multiplied by the parameter to obtain the gray world corrected image; in the histogram equalization part, the channels of the compensated image are first separated, and then the histogram equalization is performed on each independent channel. Finally, the processed channels are merged to obtain the image after histogram equalization.
[0074] like Figure 2 Finally, the grayscale world corrected image and the histogram equalized image are fused. The fusion of the two adopts pixel weighted fusion. The recommended setting of the weight of histogram equalization is 0.6, and the recommended setting of the weight of grayscale world correction is 0.4. The fused image is the final result of chromatic aberration correction.
[0075] The end result of the chromatic aberration correction is the end result of the slightly turbid route.
[0076] 2 When the image turbidity is moderate, enter the moderate turbidity enhancement route:
[0077] First, bilateral filtering denoising and improved grayscale world color correction are performed on the image, which is the same as the mild turbidity route. After obtaining the image with chromatic aberration correction, it is subjected to dehazing processing based on dark channel prior.
[0078] The dehazing process based on dark channel prior is divided into four parts, namely, obtaining dark channel image, obtaining global illumination, obtaining transmittance map and performing dehazing process.
[0079] (1) Obtaining dark channel images
[0080] First, the image after chromatic aberration correction is separated into channels. For each pixel point x, the minimum pixel value in the three channels is found, and this value is used as the pixel value of the pixel point x in the dark channel image. Finally, the minimum value of the dark channel image is filtered. The recommended filtering radius is 5 pixels, and the image edges are filled before filtering to ensure the filtering effect of the edge pixels.
[0081] (2) Obtaining global illumination
[0082] Take the dark channel image as input and count the number of pixels of all pixel values. Specifically, it means counting the number of pixels corresponding to each pixel value in the pixel value range of 0 to 255. In addition to the number, the coordinates of each pixel point also need to be determined. It is recommended to take the top 0.5% of the pixels with the largest pixel values as reference points and count the pixel values of each channel in the original image (image after chromatic aberration correction) corresponding to the coordinates of these pixels. In each channel, the maximum pixel value is the global light corresponding to that channel.
[0083] (3) Obtaining a transmittance image
[0084] The transmittance parameter w is calculated based on the turbidity level, and its value is 0.5 + 0.15 × turbidity. In this route, the value corresponding to turbidity is 1. The normalized dark channel image is calculated based on the mean of the three-channel global light. Specifically, all pixel values of the dark channel image are divided by the global light mean. Based on the obtained w and the normalized dark channel image, the transmittance image is calculated according to the following formula:
[0085] T(x)=1-w×D(x)
[0086] Among them, T(x) is the transmittance image, and D(x) is the normalized dark channel image.
[0087] (4) Defogging
[0088] For each channel, the following calculation is performed:
[0089]
[0090] Among them, Y(x) is the image after dehazing, and I(x) is the image after chromatic aberration correction. The calculated image is the image after dehazing.
[0091] After obtaining the dehazed image, continue to perform detail enhancement on the image, such as Figure 3As shown. The dehazed image is channel separated, and each channel image is first filtered using Gaussian filters with different filter radiuses. The recommended filter radius is 3, 5, and 7. Use these three Gaussian filters with different radii to filter respectively, and get three result images. Then calculate the residual map of the filtered image at different scales. The first-level residual map is obtained by subtracting the unfiltered image from the result image with a filter radius of 3; the second-level residual image is obtained by subtracting the result image with a filter radius of 5 from the result image with a filter radius of 3; the third-level residual image is obtained by subtracting the result image with a filter radius of 7 from the result image with a filter radius of 5. For each of the three levels of residual maps, 0.1% of the pixels at both ends are cut off, and then the remaining pixels are normalized to obtain a normalized residual image. Sum these processed residual maps with the channel image after dehazing processing, and it is recommended to take 67% of the sum as the settlement result. Merge the calculated three channels to get the image with enhanced details.
[0092] The final processing is image fusion. It is recommended to select the defogging image and the detail enhanced image as the fusion source. The fusion method is based on the weight map, such as Figure 4 As shown in the figure, there are three types of fusion weight maps, namely Laplace weight map, saliency weight map and saturation weight map. The two input source images can calculate their own three weight maps respectively, and then the normalized weight map is calculated according to their respective weight maps. The two input source images are fused according to the two normalized weight maps to obtain the final processing result of the moderately turbid route.
[0093] 3 When the image turbidity is severe, enter the severe turbidity enhancement route:
[0094] The image is subjected to bilateral filtering denoising, improved grayscale world color correction, and dehazing based on dark channel prior in sequence. The specific implementation method is the same as the medium turbidity route. Finally, the image fusion method is used to obtain the final result. The fusion source recommends selecting the color-corrected image and the dehazed image, and the fusion method based on the weight map is also used.
[0095] like Figure 5 As shown in the figure, the image to be processed has serious color deviation and blurred details, and is judged to be moderately turbid. After corresponding enhancement processing, as shown in the figure, Figure 6 As shown, color cast has been corrected, fog blur has been reduced, and details have been enhanced.
[0096] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An underwater image enhancement method based on turbidity classification, characterized in that: The following steps are involved: (1) Read the image to be processed and calculate the image histogram data; (2) Calculate the pixel value mean and pixel value variance of each channel on the three channels of the image to be processed according to the image histogram data; (3) Calculating the image variance according to the pixel value variance of each channel, comparing the image variance with the preset turbidity level partition threshold, and obtaining the turbidity level of the image to be processed, where the turbidity levels are light turbidity, moderate turbidity, and heavy turbidity; (4) Calculating the maximum channel offset according to the mean pixel value of each channel, comparing the maximum channel offset with a preset color deviation level partition threshold, and obtaining the color deviation level of the image to be processed; (5) The channel with the largest channel offset is used as the color deviation channel; (6) Selecting a corresponding enhancement processing method according to the turbidity level of the image. In the corresponding enhancement processing method, enhancement processing is performed according to the color cast level and color cast channel of the image to be processed to obtain a result image.
2. The underwater image enhancement method based on turbidity classification according to claim 1, characterized in that: The method for obtaining the turbidity level of the image to be processed in step (3) is: (3.1) According to the image histogram data, the pixel value variance of each channel of the image to be processed is calculated, and the mean of the pixel value variances of all channels is taken as the image variance; (3.2) Compare the image variance with the preset upper and lower limits of the turbidity level partition threshold. If it is lower than the lower limit, it is severe turbidity; if it is between the upper and lower limits, it is moderate turbidity; if it is higher than the upper limit, it is mild turbidity; and obtain the turbidity level.
3. The underwater image enhancement method based on turbidity classification according to claim 1, characterized in that: The method for obtaining the color cast level of the image to be processed in step (4) is: The maximum channel offset is compared with the preset upper and lower limits of the color shift level partition threshold. If it is lower than the lower limit, it is a mild color shift; if it is between the upper and lower limits, it is a moderate color shift; if it is higher than the upper limit, it is a severe color shift; the color shift level of the image to be processed is obtained.
4. The underwater image enhancement method based on turbidity classification according to claim 1 or 3, characterized in that: The maximum channel offset is calculated as follows: According to the image histogram data, the image mean is calculated; Subtract the image mean from the mean pixel value of each channel, and use the maximum difference in the result as the maximum channel offset.
5. The underwater image enhancement method based on turbidity classification according to claim 1, characterized in that: The enhancement treatment method in step (3) is divided into a mild turbidity enhancement method, a moderate turbidity enhancement method and a severe turbidity enhancement method.
6. The underwater image enhancement method based on turbidity classification according to claim 5, characterized in that: The steps of the mild turbidity enhancement method are: Perform bilateral filtering on the image to be processed to obtain a denoised image; According to the color cast level and color cast channel of the image to be processed, a gray world correction method based on channel compensation is used to correct the color cast of the denoised image to obtain a result image.
7. The underwater image enhancement method based on turbidity classification according to claim 5, characterized in that: The steps of the moderate turbidity enhancement method are: Perform bilateral filtering on the image to be processed to obtain a denoised image; According to the color deviation level and color deviation channel of the image to be processed, a gray world correction method based on channel compensation is used to correct the color deviation of the denoised image to obtain a corrected image; Defogging the corrected image to obtain a defogging image; A multi-scale non-mask sharpening method is used to enhance the details of the dehazed image to obtain a detail-enhanced image; The dehazed image and the detail enhanced image are fused to obtain the result image.
8. The underwater image enhancement method based on turbidity classification according to claim 5, characterized in that: The steps of the severe turbidity enhancement method are: Perform bilateral filtering on the image to be processed to obtain a denoised image; According to the color deviation level and color deviation channel of the image to be processed, a gray world correction method based on channel compensation is used to correct the color deviation of the denoised image to obtain a corrected image; Defogging the corrected image to obtain a defogging image; The corrected image and the dehazed image are fused to obtain the result image.
9. The underwater image enhancement method based on turbidity classification according to any one of claims 6 to 8, characterized in that: The steps of channel compensation in the grayscale world correction method based on channel compensation are: According to the image histogram data, the average of the grayscale value means of the two non-color-biased channels is calculated, and the ratio of the average grayscale value of the two non-color-biased channels to the grayscale value of the color-biased channels is calculated, and the ratio is used as the compensation color-biased channel metric; Subtract 1 from the compensation color deviation measurement, and then multiply it by the coefficient w to obtain the compensation coefficient, where the coefficient w is an empirical coefficient; The average of the two non-color-biased channel pixel values is calculated, and then multiplied by the compensation coefficient to obtain the compensated color-biased channel pixel average and replace the original color-biased channel pixel average.
10. The underwater image enhancement method based on turbidity classification according to any one of claims 6 to 8, characterized in that: In the image fusion step, the fused image may be the entire image result or a portion of the image result in the enhancement method.
Citation Information
Cited By
Underwater image restoration method and system capable of realizing micro-scattering rendering based on physical information
CN122656887A
