An underwater image enhancement method for fishery monitoring

By establishing an underwater image analysis model and depth estimation method, combined with bilateral grid upsampling technology, the image attenuation and computational efficiency problems in underwater image processing in deep water environments are solved, and high-quality underwater image enhancement and real-time processing are achieved. .

CN118674645BActive Publication Date: 2024-10-25FRESHWATER FISHERIES RES INST OF SHANDONG PROVINCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411170029.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-10-25
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

Existing underwater image processing methods are difficult to effectively deal with image attenuation, contrast reduction, and blur problems caused by water scattering and absorption in deep water environments, and the computing efficiency is not enough to meet real-time processing needs.

Method used

An underwater image enhancement method is proposed. By establishing an underwater image analysis model, the image data signal is decomposed into an initial signal and a retroreflection signal. The depth estimation method is used to calculate the retroreflection attenuation, deduce the retroreflection coefficient, and calculate three-channel illumination. Figure, combined with bilateral grid upsampling technology, generates high-quality enhanced underwater images to achieve real-time processing.

Benefits of technology

It significantly improves the clarity and resolution of underwater images, separates noise signals, improves the quality and efficiency of image processing, and achieves accurate reconstruction of high-quality enhanced underwater images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674645B_ABST
    Figure CN118674645B_ABST
Patent Text Reader

Abstract

The present invention proposes an underwater image enhancement method for fishery monitoring, which relates to the field of computer vision. The present invention proposes an underwater image enhancement process, including collecting underwater image data, underwater image processing, establishing an underwater image signal model, calculating inverse reflection signals, and generating high-quality enhanced underwater images. The present invention provides an efficient image enhancement method, which can achieve high-quality underwater image enhancement with less computing cost, and is particularly suitable for real-time processing of underwater images used for fishery monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computer vision, and in particular relates to an underwater image enhancement method for fishery monitoring. Background Art

[0002] Underwater images have important applications in fishery monitoring and marine research. However, due to the scattering and absorption of water bodies, underwater images will suffer from color attenuation, contrast degradation and blur. In order to improve the clarity and resolution of underwater images, the images need to be processed underwater.

[0003] In the existing technology, underwater image processing methods have been applied in low-depth water environments. Underwater image processing methods include statistical-based image enhancement technology and machine learning-based image restoration technology. Underwater image methods can improve image quality to a certain extent, but there are still some challenges when facing images in deep water environments.

[0004] First, underwater image processing needs to consider the physical phenomena caused by water scattering and absorption. These phenomena are particularly significant in high-resolution images. Traditional image processing methods often find it difficult to simultaneously process these complex physical phenomena, resulting in unsatisfactory enhancement effects. Second, the high resolution and large-scale data volume of underwater images require image enhancement methods to have efficient computing performance. However, many existing methods are insufficient in computing efficiency and are difficult to meet the needs of real-time processing.

[0005] Deep learning has demonstrated powerful capabilities in the field of image processing. Through convolutional neural network (CNN) technology, multi-scale features of underwater images can be effectively extracted and efficient image enhancement can be performed. However, the application of deep learning methods to underwater image processing still requires solving how to combine physical models and data-driven methods to achieve more efficient and accurate underwater image enhancement. Therefore, an underwater image data processing method is needed that can target the image characteristics in deep water environments, combine physical models and deep learning technology, provide efficient underwater image enhancement solutions, improve the clarity and resolution of underwater images, and achieve real-time processing. Summary of the invention

[0006] The present invention provides an underwater image enhancement method for fishery monitoring, aiming to improve the clarity and resolution of underwater images, solve the problems of image attenuation, contrast reduction and blurring caused by reflection and light propagation, and proposes an efficient underwater image enhancement method to realize real-time processing of underwater images.

[0007] The present invention proposes an underwater image enhancement method for fishery monitoring, comprising the following steps:

[0008] S1. Collect underwater image data, which includes four different fish school images;

[0009] S2, perform preliminary denoising, cropping and color correction on underwater images;

[0010] S3, establishing an underwater image analysis model to decompose the underwater image data signal into an initial signal and an inverse reflection signal;

[0011] S4, using the depth estimation method to perform inverse reflection attenuation calculation and perform image processing on the underwater image;

[0012] S5. Deducing the retroreflection coefficient according to the retroreflection attenuation calculation result;

[0013] S6, calculating a three-channel illumination map of the unattenuated underwater image, and performing underwater image enhancement calculation to obtain a high-quality enhanced underwater image;

[0014] S7. training an underwater image analysis model using the collected underwater image data;

[0015] S8. Deploy the trained underwater image analysis model in the fishery monitoring system to realize real-time enhancement processing of new input underwater images.

[0016] Preferably, in step S3, the underwater image data signal is decomposed into an initial signal and an inverse reflection signal, the initial signal is the underwater image signal taken by the camera, and the inverse reflection signal is the noise signal caused by reflection and refraction of the water body. The specific formula is: ,in For the three channels of R, G, and B, is the initial signal of the underwater image, is the retroreflection signal, is the total model signal, which can be further expanded to obtain: ,in is a single-channel model signal, is the underwater image signal with zero depth and no attenuation, is the retroreflective color, is the initial signal coefficient, is the retroreflection signal coefficient, and It depends on five factors, including object reflectivity, ambient spectrum, camera's spectral response, physical scattering of the medium, and beam attenuation coefficient.

[0017] Preferably, in step S4, the amount of retroreflection in the underwater image increases exponentially with increasing water depth and eventually reaches saturation. In areas where scene reflection or illumination approaches zero, the captured image is close to a full retroreflection image. Therefore, retroreflection is calculated by identifying dark areas, and retroreflection calculation is completed by searching for the darkest RGB triplet based on the depth map.

[0018] Preferably, in step S4, the darkest area of ​​the underwater image is identified to calculate the inverse reflection attenuation, and the specific formula is: , in is a single-channel retroreflection signal. To estimate the underwater image signal with zero attenuation, , , The three coefficients are calculated by nonlinear least squares fitting, and the initial signal of the underwater image is calculated from them , and Set as New .

[0019] Preferably, in step S4, the absolute depth map is used to accurately calculate the inverse reflection, a monocular depth estimation network is used to generate the depth map, and the depth map quality is enhanced by iteratively combining scene structure information using dual estimation and patch selection at different resolutions.

[0020] Preferably, in step S5, by minimizing the attenuation loss function To optimize the lighting map , so that the lighting diagram conforms to the physical model. The specific formula is: , calculate the lighting map, where is a learnable parameter, is the depth from the water surface, For the lighting diagram, Represents the logarithm of the lighting map.

[0021] Preferably, in step S6, a bilateral grid upsampling technique is used to perform calculations at a low resolution to generate a high-quality enhanced underwater image and achieve real-time processing. First, image enhancement calculations are performed at a low resolution. The low-resolution underwater image is represented as ,Depend on Calculated, among which, is the enhancement function, is a low-resolution direct signal, For low-resolution illumination maps, bilateral grids are used to represent low-resolution enhancement results ,Will Mapping to a bilateral grid ,calculate ,in Represents a bilateral grid operation, through the interpolation operation on the bilateral grid, the low-resolution enhancement result is Upsampling to high resolution enhancement result , the specific formula is: in, represents the upsampling operation on the bilateral grid, by minimizing the decay loss function To estimate the lighting map , optimize each channel to get the estimated lighting map ,The estimated illumination map is used for image enhancement to generate high-quality enhanced underwater images.

[0022] Compared with the prior art, the present invention has the following technical effects: the technical method provided by the present invention proposes to establish an underwater image analysis model, calculate reverse reflection attenuation, deduce reverse reflection coefficient, calculate three-channel illumination map, and generate high-quality enhanced underwater images; first, an underwater image analysis model is established to decompose the underwater image data signal into an initial signal and a reverse reflection signal, and the noise signal is separated for subsequent calculation; then, a depth estimation method is used to perform reverse reflection attenuation calculation, and an image processing is performed on the underwater image to further enhance the noise discrimination; the reverse reflection coefficient is deduced according to the reverse reflection attenuation calculation result, and the reverse reflection coefficient is used to calculate and restore the underwater image to improve the image enhancement performance of the system; the three-channel illumination map of the unattenuated underwater image is calculated, and the underwater image enhancement calculation is performed to obtain a high-quality enhanced underwater image; finally, the high-quality enhanced underwater image is accurately reconstructed; through the organic combination of various modules, this technology significantly improves the quality and efficiency of image processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of underwater image data processing provided by the present invention;

[0024] Figure 2 It is a step diagram of the improved processing method provided by the present invention;

[0025] Figure 3 is a low-resolution underwater image provided by the present invention;

[0026] Figure 4 This is the underwater image after image enhancement provided by the present invention. DETAILED DESCRIPTION

[0027] The invention provides an underwater image enhancement method for fishery monitoring, aiming to improve the clarity and contrast of underwater images and the effect of fish school detection and analysis through multi-step image processing technology.

[0028] See also Figure 1 As shown, an underwater image enhancement method for fishery monitoring in an embodiment of the present application.

[0029] S1. Collect underwater image data, which includes four different fish school images.

[0030] Furthermore, in step S1, underwater image data covering four different schools of fish are collected. The underwater image data are used for subsequent underwater image processing and underwater image analysis model training. Specifically, the schools of fish collected in the underwater images include large yellow croaker, small yellow croaker, hairtail and pomfret. To ensure the diversity and comprehensiveness of the data, the collection of underwater image data needs to be carried out under different depths and lighting conditions. By collecting data under various environmental conditions, the robustness and generalization ability of the underwater image analysis model under different conditions are ensured.

[0031] S2. Perform preliminary denoising, cropping and color correction on underwater images.

[0032] Furthermore, in step S2, the collected underwater images are subjected to preliminary denoising, cropping and color correction to reduce noise interference, standardize image size, and correct color distortion. The specific operations include using a median filtering method to remove salt noise and pepper noise in the underwater images, cropping the underwater images to ensure that the sizes of all underwater images are consistent, and using a white balance algorithm to perform color correction to restore the natural colors in the underwater images. Through the processing steps, the quality of the underwater images can be significantly improved, making them more suitable for subsequent analysis and processing.

[0033] S3. Establish an underwater image analysis model to decompose the underwater image data signal into an initial signal and an inverse reflection signal.

[0034] Further, in step S3, the underwater image data signal is decomposed into an initial signal and an inverse reflection signal. The initial signal is the underwater image signal captured by the camera, and the inverse reflection signal is the noise signal caused by reflection and refraction of the water body. The specific formula is: ,in For the three channels of R, G, and B, is the initial signal of the underwater image, is the retroreflection signal, is the total model signal, which can be further expanded to obtain: ,in is a single-channel model signal, is the underwater image signal with zero depth and no attenuation, is the retroreflective color, is the initial signal coefficient, is the retroreflection signal coefficient, and Depending on five factors: object reflectivity, ambient spectrum, camera spectral response, medium physical scattering and beam attenuation coefficient, through the decomposition step, the components of underwater image signals can be analyzed more accurately, providing a basis for subsequent processing.

[0035] S4. Please see Figure 2As shown, the depth estimation method is used to perform inverse reflection attenuation calculation and perform image processing on the underwater image.

[0036] Further, in step S4, the darkest area is identified to calculate the reverse reflection attenuation. The specific formula is: , in is a single-channel retroreflection signal. To estimate the underwater image signal with zero attenuation, , , The three coefficients are calculated by nonlinear least squares fitting, and the initial signal of the underwater image is calculated from them , and Set as New , and then use the depth estimation method to perform inverse reflection attenuation calculation. Through the calculation, the depth information of each part in the underwater image can be estimated more accurately, providing more accurate data support for subsequent processing.

[0037] S5. Deducing the retroreflection coefficient according to the retroreflection attenuation calculation result.

[0038] Further, in step S5, the retroreflection coefficient is deduced according to the retroreflection attenuation calculation result, and the attenuation loss function is minimized. To optimize the lighting map , so that the lighting diagram conforms to the physical model. The specific formula is: , calculate the lighting map, where is a learnable parameter, is the depth from the water surface, For the lighting diagram, Represents the logarithm of the lighting map.

[0039] S6. Calculate the three-channel illumination map of the unattenuated underwater image, and perform underwater image enhancement calculation to obtain a high-quality enhanced underwater image.

[0040] Further, in step S6, the three-channel illumination map of the unattenuated underwater image is calculated, and the bilateral grid upsampling technique is used to perform calculations at low resolution to generate high-quality enhanced underwater images and achieve real-time processing. First, underwater image enhancement calculations are performed at low resolution. The low-resolution underwater image is represented as ,Depend on Calculated, among which, is the enhancement function, is a low-resolution direct signal, For low-resolution illumination maps, bilateral grids are used to represent low-resolution enhancement results ,Will Mapping to a bilateral grid ,calculate ,in Represents a bilateral grid operation. Through the interpolation operation on the bilateral grid, the low-resolution enhancement result is Upsampling to high resolution enhancement result , the specific formula is as follows: in, represents the upsampling operation on the bilateral grid, by minimizing the decay loss function To estimate the lighting map , optimize each channel to get the estimated lighting map ,The estimated illumination map is used for underwater image enhancement to generate high-quality enhanced underwater images.

[0041] S7. Use the collected underwater image dataset to train the underwater image analysis model.

[0042] Furthermore, in step S7, the underwater image analysis model is trained using the collected underwater image dataset, and an optimization method is used to improve the performance of the underwater image analysis model. The specific training method includes: using the gradient descent method to optimize the underwater image analysis model parameters, introducing regularization terms to prevent model overfitting, using the cross-validation method to evaluate the model performance, and selecting the optimal model parameters.

[0043] Furthermore, in step S7, the underwater image analysis model is coded using the Pycharm application and Python language, using the Pytorch framework, and the model inputs underwater images with a resolution of 1280×1280×3 for training. The underwater image analysis model is trained for 400 epochs, of which 100 epochs are frozen.

[0044] S8. Deploy the trained underwater image analysis model in the fishery monitoring system to realize real-time enhancement processing of new input underwater images.

[0045] Furthermore, in step S8, the trained underwater image analysis model is deployed in the fishery monitoring system to realize real-time enhanced processing of new input underwater images. The specific deployment steps include: integrating the underwater image analysis model in the actual fishery monitoring system, testing and optimizing the performance of the underwater image analysis system to ensure its stability and reliability in different environments, and formulating operation manuals and technical specifications to guide users to use the system correctly.

[0046] For further information, see Figure 3 and Figure 4 ,Figure 3 shows a low-resolution underwater image, Figure 4The high-resolution underwater images processed by the underwater image analysis model are displayed. It can be seen that the image clarity and detail performance have been significantly improved. The processed high-resolution underwater images have enhanced contrast and edge details, making the underwater fish schools more clearly identifiable.

[0047] The above embodiments are only preferred implementation modes of the present invention. Any modifications, equivalent substitutions, improvements, etc. made under the concept and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An underwater image enhancement method for fishery monitoring, characterized in that: The following steps are involved: S1. Collect underwater image data, where the underwater image data includes four different fish school images; S2, performing preliminary denoising, cropping and color correction on the underwater image; S3, establishing an underwater image analysis model, and decomposing the underwater image data signal into an initial signal and an inverse reflection signal; S4, using a depth estimation method to perform inverse reflection attenuation calculation, and performing image processing on the underwater image; S5. Deducing the retroreflection coefficient according to the retroreflection attenuation calculation result; S6, calculating a three-channel illumination map of the unattenuated underwater image, and performing underwater image enhancement calculation to obtain a high-quality enhanced underwater image; S7, using the collected underwater image data to train the underwater image analysis model; S8, deploying the trained underwater image analysis model in the fishery monitoring system to achieve real-time enhancement processing of new input underwater images; In step S4, the primary image processing is specifically to identify the darkest area of ​​the underwater image and calculate the reverse reflection attenuation, and the specific formula is: in is a single-channel retroreflection signal. To estimate the underwater image signal with zero attenuation, , , The three coefficients are calculated by nonlinear least squares fitting, and the initial signal of the underwater image is calculated from them , and Set as New ; In step S5, the derivation of the retroreflection coefficient is specifically: by minimizing the attenuation loss function To optimize the lighting map , so that the lighting diagram conforms to the physical model, the specific formula is: , calculate the lighting map, where is a learnable parameter, is the depth from the water surface, For the lighting diagram, represents the logarithm of the illumination map; In step S6, the underwater image enhancement calculation is specifically: using bilateral grid upsampling technology to perform calculations on low-resolution underwater images to generate high-resolution enhanced underwater images. First, underwater image enhancement calculations are performed at low resolution. The low-resolution underwater image is represented as ,Depend on Calculated, among which, is the enhancement function, is a low-resolution direct signal, For low-resolution illumination maps, bilateral grids are used to represent low-resolution enhancement results ,Will Mapping to a bilateral grid ,calculate ,in Represents a bilateral grid operation. Through the interpolation operation on the bilateral grid, the low-resolution enhancement result is Upsampling to high resolution enhancement result , the specific formula is: in, represents the upsampling operation on the bilateral grid, by minimizing the decay loss function To calculate the lighting map , optimize the three channels to obtain the estimated lighting map ,The estimated illumination map is used for underwater image enhancement to generate high-quality enhanced underwater images.

2. The underwater image enhancement method for fishery monitoring according to claim 1, characterized in that: In step S3, the underwater image signal is decomposed into an initial signal and an inverse reflection signal, wherein the initial signal is the underwater image signal captured by the camera, and the inverse reflection signal is a noise signal caused by reflection and refraction of the water body. The specific formula is: ,in For the three channels of R, G, and B, is the initial signal of the underwater image, is the retroreflection signal, is the total model signal, which can be further expanded to obtain: ,in is a single-channel model signal, is the underwater image signal with zero depth and no attenuation, is the retroreflective color, is the initial signal coefficient, is the retroreflection signal coefficient, and It depends on five factors, including object reflectivity, ambient spectrum, camera's spectral response, physical scattering of the medium, and beam attenuation coefficient.