Deep learning-based seabed coral reef image brightness enhancement method

The underwater coral reef image brightness enhancement method that combines deep learning and Retinex theory solves the problem of difficulty in maintaining image contrast and primary colors in deep sea environments, achieves significant improvements in image brightness and contrast, and is suitable for ecological research and environmental monitoring.

CN118840271APending Publication Date: 2024-10-25HARBIN INST OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410946374.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

In the deep-sea environment, existing technology cannot effectively maintain the contrast and primary colors of images, resulting in low-quality deep-sea coral reef imaging, difficulty in accurately capturing features, and the need for a large amount of manual intervention to adjust parameters, which increases time cost and technical difficulty.

Method used

A brightness enhancement method for underwater coral reef images based on deep learning is adopted. Low-light coral images are obtained for preprocessing, a brightness enhancement network model is constructed, illumination map estimation and image fusion are performed based on Retinex theory, and algorithms such as histogram equalization and Gamma correction are used. Improve image brightness and contrast, and evaluate model performance with an improved structural similarity index.

Benefits of technology

It significantly improves the brightness and contrast of deep-sea coral reef images, enhances visual effects, reduces manual intervention, improves the efficiency and accuracy of image processing, and is suitable for ecological research and environmental monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840271A_ABST
    Figure CN118840271A_ABST
Patent Text Reader

Abstract

The invention discloses a seabed coral reef image brightness enhancement method based on deep learning, relates to an image brightness enhancement method, and aims to solve the problem of how to maintain the contrast ratio and the primary color of an image in a deep sea environment with poor visibility, and the method comprises the following steps: 1, obtaining a low-illumination coral image; 2, carrying out preprocessing operation on the image data set obtained in the step 1; 3, constructing a brightness enhancement network model based on an LIME method; and 4, evaluating and optimizing the model. According to the method, the brightness and contrast of the coral reef image under low illumination can be effectively enhanced, and meanwhile, the natural color and details of the image are kept, so that the health condition of the coral reef can be evaluated and monitored more accurately. Image processing and ecological feature recognition are optimized through a deep learning technology, and the brightness and definition of the underwater coral image are remarkably improved. The invention relates to the technical field of environmental engineering and image processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an image brightness enhancement method, and in particular to a submarine coral reef image brightness enhancement method based on deep learning. The present invention belongs to the technical field of environmental engineering and image processing. Background Art

[0002] Hundreds of meters below the sea surface, deep-sea coral reefs are home to a large number of benthic species. With the advancement of deep learning and computer vision technology, image processing technology has become an important tool for studying marine biodiversity, reducing the need for manual operations and subjective errors, and improving the efficiency of data processing. As one of the key technologies for marine biodiversity research and environmental monitoring and protection, coral reef imaging is particularly critical for maintaining image contrast and original color in deep-sea environments with poor visibility. However, imaging of deep-sea coral reefs is affected by factors such as insufficient light, water scattering and absorption, which often leads to quality degradation problems such as low contrast, blurred texture, color distortion, non-uniform illumination, and limited visual range.

[0003] Currently, commonly used coral reef imaging technologies, such as multispectral imaging and hyperspectral imaging, can provide wide-band information on coral reef ecology, but often face problems of insufficient contrast and color distortion when processing images under low-light conditions. In addition, most of the existing deep-sea coral image processing methods rely on clear visual features and high image contrast to identify coral species and health conditions. However, in the deep-sea low-light environment, the characteristics of corals are difficult to capture accurately. Existing methods usually require a lot of manual intervention to adjust parameters or recalibrate to adapt to different environments and lighting conditions, which significantly increases the time cost and technical difficulty in practical applications. Summary of the invention

[0004] In order to solve the problem of how to maintain the contrast and original color of an image in a deep-sea environment with poor visibility, the present invention further proposes a method for enhancing the brightness of submarine coral reef images based on deep learning.

[0005] The technical solution adopted by the present invention to solve the above problems is:

[0006] The present invention comprises the following steps:

[0007] Step 1: Obtain low-light coral images;

[0008] Step 2: preprocess the image data set obtained in step 1;

[0009] Step 3: Building a brightness enhancement network model based on the LIME method;

[0010] Step 4: Model evaluation and optimization.

[0011] Furthermore, step 1 uses a web crawler method to automatically obtain low-light coral images taken by various underwater camera devices as initial data input. These images cover a variety of coral types, different lighting conditions, and diverse seafloor topography, ensuring the breadth and diversity of input data. Through this method, we can efficiently collect a large number of representative blurred seafloor coral images, providing rich raw materials for subsequent image processing and analysis.

[0012] Furthermore, in order to improve the diversity of the data set and the generalization ability of the training model, the present invention performs systematic preprocessing operations on the collected coral image data with missing details. These operations include rotation, mirroring, and random cropping, etc., the purpose of which is to simulate different observation angles and environmental conditions, thereby enhancing the adaptability and robustness of the model to various scenarios.

[0013] Furthermore, in step 3, a brightness enhancement network model is constructed based on the LIME method to train and improve the visual effect of low-brightness coral images, targeting the problems of low contrast, blurred texture and color distortion that often occur in deep-sea coral reef images under low-light conditions. The model specifically includes the following sub-steps:

[0014] S31: In order to cope with the random noise caused by insufficient light and imaging equipment in deep-sea environments, the present invention further performs denoising and filtering on low-light submarine coral reef images to remove interference information in the image, laying the foundation for subsequent illumination map estimation. To this end, the present invention adopts a variety of denoising techniques, including wavelet transform, median filtering and Gaussian blur. These techniques smooth the image and significantly reduce visual noise by effectively reducing high-frequency information in the image. In addition, in order to better preserve the edge information in the coral image, the present invention also uses edge-preserving filters, such as bilateral filtering and non-local mean filtering, to clarify the image. These preprocessing measures not only improve the initial quality of the image, but also provide a solid foundation for subsequent illumination map estimation and enhancement processing, thereby ensuring the efficiency and accuracy of the entire image processing process.

[0015] S32: Next, estimate the illumination distribution from the preprocessed coral image. The illumination map estimation in the present invention adopts an algorithm based on the Retinex theory, which is specifically aimed at the image characteristics in the deep-sea low-light environment. The illumination in the deep-sea environment is extremely complex and uneven. The Retinex theory effectively separates the illumination component and the reflection component by identifying and correcting the uneven illumination areas in the coral image, and then accurately estimates the illumination distribution of each pixel. Among them, the illumination component is mainly used to adjust and optimize the brightness in subsequent steps to ensure the uniformity and naturalness of the illumination during the image processing process. This step is the key to achieving high-quality image brightness enhancement and plays a decisive role in improving the visual effect of the final coral image.

[0016] S33: The previously estimated illumination map is enhanced by using algorithms such as histogram equalization and gamma correction to significantly improve the brightness and contrast of the coral image, making the details of the deep-sea coral image more visible and highlighting the texture, morphology and boundaries of the coral with other seabed objects. This step not only optimizes the visual effect of the image, but also provides a more balanced and realistic brightness foundation for subsequent image processing steps, thereby enhancing the naturalness and vividness of the final image processing result.

[0017] S34: After completing the image processing for enhanced lighting conditions, the invention fuses the enhanced coral image with the original blurred image. By adopting a variety of advanced image fusion techniques such as Laplace pyramid fusion and band-based fusion, it is ensured that the two images are optimally combined at the pixel level. These technologies not only enhance the brightness and contrast of the coral image, but also retain the texture and detail information of the original coral image under low-light conditions, ensuring that the visual effect after image fusion is significantly optimized. Through this processing, the obtained coral image is significantly improved in visual effect, while retaining the natural appearance and biological details of the coral, making the image very suitable for application fields such as ecological research and environmental monitoring. The application of this image processing technology provides an effective method for visual data enhancement in related fields, which has important practical value and broad application prospects.

[0018] Further, step 4 in the present invention, in order to accurately evaluate the quality of coral images processed by the brightness enhancement network model, a method based on the improved structural similarity index (SSIM) is developed. The performance of the model is verified by evaluation on an independent test set, especially the processing effect on coral images whose details are difficult to identify under low illumination. The traditional SSIM formula takes into account three factors: image brightness (average intensity), contrast (standard deviation of pixel intensity) and structure. On this basis, the present invention adds a brightness adjustment factor B and a contrast adjustment factor C to more accurately reflect the changes in brightness and contrast caused by model processing.

[0019] This step calculates the SSIM value for each pair of original low-light distorted coral images and visually perfect coral images in the database using the processed detail-enhanced image and the perfect image. The SSIM value ranges from -1 to 1, where 1 indicates complete similarity. By comparing the SSIM values ​​calculated from the enhanced coral image with the ideal coral image, the quality of the model enhancement effect can be quantified, where a high SSIM value indicates that the model effectively enhances the brightness and contrast of the original low-light coral image while maintaining the natural color and details of the image.

[0020] The beneficial effects of the present invention are:

[0021] 1. Image brightness improvement:

[0022] Traditional image enhancement technology often cannot effectively distinguish the background and foreground when processing images under deep-sea low-light conditions, resulting in important features being covered by noise. This system effectively improves the brightness of submarine coral reef images under extreme low-light conditions by combining deep learning technology with Retinex theory. This technology breaks through traditional image processing methods and can intelligently identify and adjust the light distribution in the image, making deep-sea coral images that were originally difficult to identify under weak light become bright and clear.

[0023] 2. Improved image quality:

[0024] Existing deep-sea coral image processing methods often cause color distortion when enhancing contrast, especially in colorful coral reef images. The present invention optimizes the contrast and detail of the image to more realistically reflect the natural color of the coral. The texture and structure of the coral become more obvious and clear, significantly improving the overall visual quality of the image, making the image more suitable for in-depth biodiversity analysis and ecological monitoring.

[0025] 3. Adaptive lighting change capability:

[0026] The system has the ability to adapt to different lighting conditions and automatically adjust processing parameters according to changing ambient lighting. This feature ensures that the system can always provide the best image enhancement effect in a changing seabed environment, reflecting its high practicality and technological advancement.

[0027] 4. Improve seabed detection and monitoring efficiency:

[0028] Traditional deep-sea coral imaging technology often results in inaccurate monitoring data due to poor image quality, which affects the ability to quickly respond to changes in the marine environment and coral characteristics. By providing clearer images, the present invention significantly improves the efficiency and accuracy of seabed detection, monitoring and research. This is of great significance to application fields such as marine biology research, environmental protection activities and seabed resource exploration, and shows its broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of the process of the present invention;

[0030] Figure 2 This is the original image of the coral reef under the sea in low light (a);

[0031] Figure 3 This is the image with enhanced brightness of the coral reef on the seabed (a);

[0032] Figure 4 is the original image of the coral reef under the sea in low light (b);

[0033] Figure 5 This is the image of the submarine coral reef after brightness enhancement (b). DETAILED DESCRIPTION

[0034] Specific implementation method 1: Combination Figures 1 to 5 This embodiment describes a method for enhancing the brightness of underwater coral reef images based on deep learning, which aims to improve the brightness and clarity of coral reef images in the underwater environment. By integrating deep learning technology with Retinex theory, a comprehensive image processing framework is established to perform multi-source data fusion and intelligent processing. Specifically, the following steps are included:

[0035] Step 1: Dataset image acquisition

[0036] First, we used automated web crawler technology to collect underwater coral reef images with low-light details that are difficult to identify from multiple online underwater camera databases. These images cover a variety of coral types and different seabed topography. After collection, all images are stored in a data processing center for subsequent image preprocessing.

[0037] Step 2: Dataset Image Augmentation

[0038] For the collected submarine coral reef image data with missing details, the following preprocessing operations are performed to enhance the diversity of the dataset and adapt it to the model input requirements:

[0039] (1) Rotation and mirroring: The image data is first subjected to random rotation and mirroring. The purpose of this operation is to increase the diversity of the dataset by simulating different observation angles, thereby improving the robustness and generalization ability of the model in practical applications.

[0040] (2) Random cropping: Next, randomly crop 256x256 pixel image patches from the original coral image. This step ensures that all image patches have a uniform size, which is suitable as input for the deep learning model. This operation also helps the model learn to recognize and process images from local features, enhancing the model's ability to process different parts of the coral image.

[0041] Step 3: Brightness enhancement model training based on LIME method

[0042] In the present invention, the training of the brightness enhancement model is achieved by combining the LIME method with deep learning technology to ensure that the final model can effectively enhance the brightness and clarity of the submarine coral reef image. The specific steps are as follows:

[0043] (1) Model architecture design

[0044] First, a deep learning model architecture based on a convolutional neural network (CNN) was designed. The model structure includes multiple convolutional layers, activation layers, and pooling layers, each of which is designed to extract and process specific features of the image. The input layer of the model accepts preprocessed coral reef images, and the output layer generates coral reef images with enhanced brightness.

[0045] (2) Data preparation and preprocessing

[0046] Before model training, the collected blurry underwater coral reef images were preprocessed to remove image noise using methods such as Gaussian blur and bilateral filtering while retaining important edge information. These steps help increase the generalization ability of the model and reduce the risk of overfitting.

[0047] (3) Illumination map estimation network training

[0048] A deep learning method based on Retinex theory is adopted. The training process aims to enable the model to accurately learn and predict the light distribution under low light conditions, so as to effectively enhance the brightness of coral images. In the seabed environment, due to insufficient light and uneven light distribution, the coral images taken in the underwater environment are often of poor quality. In order to solve this problem, the present invention uses a large number of low-light and normal-light image pairs to construct a training data set, so that the model can compare and understand the image features and differences under different lighting conditions in the actual learning process.

[0049] The specific formula of the Retinex theory established in the present invention is as follows:

[0050] I(x, y) = R(x, y) L(x, y)

[0051] Among them, I(x, y) represents the pixel value of the input coral image at position (x, y); R(x, y) represents the pixel value of the coral reflectance map at position (x, y); L(x, y) represents the pixel value of the coral illumination map at position (x, y).

[0052] In the process of learning the illumination distribution, the model identifies and corrects the uneven illumination areas in the image by analyzing the low-light and normal-light image pairs in the training data. Based on the Retinex theory, the model can separate the illumination component and the reflection component in the image, and then accurately estimate the illumination distribution of each pixel.

[0053] In an embodiment of the present invention, in order to train the model to accurately estimate illumination and reflectivity, a joint loss function is used to minimize the error between the predicted value and the true value. This loss function includes two components: illumination estimation and reflectivity estimation loss. By minimizing the error between the predicted value and the true value, the adaptability and accuracy of the model under different lighting conditions are improved.

[0054] The loss function for illumination estimation is:

[0055]

[0056] Where N is the total number of pixels of the coral images in the training data; L pred (x i ,y i ) represents the model-predicted position under low-light conditions on the seafloor (x i ,y i ) light value; L true (x i ,y i ) represents the actual position (x i ,y i ), which is the reference illumination value obtained through field measurement or under high illumination conditions; ||·|| represents the Euclidean distance.

[0057] Similarly, the present invention defines a loss function for reflectivity estimation to minimize the error between the predicted reflectivity and the true reflectivity. The loss function for reflectivity estimation is:

[0058]

[0059] Among them, R pred (x i ,y i ) represents the model-predicted position under low-light conditions on the seafloor (x i ,y i ) reflectivity value; R true (x i ,y i ) represents the actual position (x i ,y i ), that is, the reference reflectance value obtained by field measurement or under high light conditions; ||·|| represents the Euclidean distance, which is used to calculate the square error between the predicted reflectance value and the true reflectance value.

[0060] In order to optimize the estimation of illumination and reflectance simultaneously, the joint loss function is defined as:

[0061]

[0062] Among them, α and β are weight parameters used to balance the importance of illumination loss and reflectivity loss; is the loss function of illumination estimation; is the loss function for reflectance estimation.

[0063] During the training process, the model uses the estimated light distribution to enhance the brightness of low-light coral images. By learning the characteristics of coral images under normal light conditions, the model accurately reconstructs the light map under low light conditions, improving the brightness and contrast of coral images that originally lack details.

[0064] (4) Brightness adjustment and optimization

[0065] After the light map is estimated, algorithms such as histogram equalization and gamma are applied to enhance the previously estimated light map to adjust the brightness and contrast of the image. In this process, the model optimizes its parameters to minimize the difference between the predicted coral light map and the actual visually perfect light map.

[0066] (5) Image fusion and output

[0067] Finally, the enhanced coral illumination map is fused with the original coral image with distorted colors and missing details, using a variety of image fusion techniques such as Laplace pyramid fusion and band-based fusion to ensure that the two are seamlessly combined at the pixel level. This step accurately maintains the details of the original coral image while introducing the brightness advantage of the enhanced image through multi-scale decomposition and reconstruction. The fused image is significantly better than the original image in terms of visual effect. It is not only brighter and clearer, but also maintains natural color expression.

[0068] Step 4: Model evaluation and optimization

[0069] The improved structural similarity index (SSIM) method is used to evaluate the underwater coral images processed by the brightness enhancement network model. The performance of the model is verified by evaluation on an independent test set, especially the processing effect on coral images whose details are difficult to identify under low illumination on the seabed. The original SSIM formula takes into account the brightness (average intensity), contrast (standard deviation of pixel intensity) and structure of the image. The present invention adds a brightness adjustment factor B and a contrast adjustment factor C to the SSIM formula to more accurately reflect the brightness and contrast changes caused by the model processing. The improved SSIM calculation formula is:

[0070]

[0071] Among them, μ x , μ y Respectively represent the mean brightness of coral images X and Y, reflecting the average light intensity of corals in the seabed image; σ x , σ y They represent the variance of the coral images X and Y, respectively, and represent the degree of light change in the seabed environment; σ xy represents the covariance of coral images X and Y, describing the common trend of brightness changes of the two images;c 1. c 2 is a small constant used to ensure the stability of the calculation and avoid the situation where the denominator is zero; B = |μ y -μ x | represents the brightness adjustment factor, reflecting the change of average light intensity during the enhancement process; C = |μ y -μ x | represents the contrast adjustment factor, which quantifies the change in image contrast during the enhancement process.

[0072] For each pair of original low-light distorted coral images and visually perfect coral images in the database, the SSIM value is calculated using the processed detail-enhanced image and the perfect image to quantitatively evaluate the enhancement effect of the model. The SSIM value ranges from -1 to 1, where 1 indicates complete similarity. A high SSIM value indicates that the model effectively enhances the brightness and contrast of the image while maintaining the natural color and details of the image. Finally, according to the SSIM evaluation results, parameter adjustment and algorithm iteration are performed. This includes adjusting network parameters such as learning rate, number of layers, and filter size to optimize model performance; in addition, the algorithm is iteratively optimized, including adjusting the calculation method of brightness and contrast adjustment factors to finely control the improvement of coral image quality.

[0073] The above is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent replacement and improvement made to the above embodiments without departing from the content of the technical solution of the present invention, based on the technical essence of the present invention, within the spirit and principles of the present invention, still fall within the protection scope of the technical solution of the present invention.

Claims

1. A method for enhancing the brightness of submarine coral reef images based on deep learning, characterized in that: The method comprises the following steps: Step 1: Obtain low-light coral images; Step 2: preprocess the image data set obtained in step 1; Step 3: Building a brightness enhancement network model based on the LIME method; Step 4: Model evaluation and optimization.

2. The method for enhancing the brightness of submarine coral reef images based on deep learning according to claim 1, characterized in that: In step 1, an automated web crawler technique is used to collect images of submarine coral reefs whose details are difficult to identify under low light conditions from multiple online underwater image databases.

3. The method for enhancing the brightness of submarine coral reef images based on deep learning according to claim 1, characterized in that: In step 2, the collected underwater coral reef image data with missing details is preprocessed, including the following steps: Step 2.1: Rotate and mirror the image data; Step 2.2: Randomly crop from the original coral image.

4. The method for enhancing the brightness of submarine coral reef images based on deep learning according to claim 1, characterized in that: Step 3 includes the following steps: Step 3.1: De-noise and filter the low-light submarine coral reef image; Step 3.2: Estimate the light distribution from the preprocessed coral images; Step 3.3: Enhance the estimated illumination map; Step 3.4: Fuse the enhanced coral image with the original blurred image.

5. The method for enhancing the brightness of submarine coral reef images based on deep learning according to claim 4, characterized in that: The denoising described in step 3.1 includes wavelet transform, median filtering and Gaussian blur; the filtering process includes bilateral filtering and non-local mean filtering to perform image clarity processing.

6. The method for enhancing the brightness of submarine coral reef images based on deep learning according to claim 4, characterized in that: The estimated illumination distribution in step 3.2 uses an algorithm based on Retinex theory.

7. The method for enhancing the brightness of submarine coral reef images based on deep learning according to claim 4, characterized in that: In step 3.3, image fusion technology is used to ensure that the two images are optimally combined at the pixel level.

8. The method for enhancing the brightness of submarine coral reef images based on deep learning according to claim 1, characterized in that: In step 4, an improved structural similarity index method is used to evaluate the underwater coral images processed by the brightness enhancement network model; for each pair of original distorted and blurred coral images under low illumination and visually perfect coral images in the database, the processed detail-enhanced image and the perfect image are used to calculate the structural similarity index value.

Citation Information

Cited By

  • Simulation game three-dimensional model establishing method

    CN119600200A