Underwater image enhancement method based on brightness-mask-guided multi-attention mechanism
The multi-attention mechanism neural network model guided by the brightness mask solves the color cast and blur problems of underwater images in complex environments, achieves improvements in details and contrast, and is superior to traditional methods in a variety of evaluation indicators and application scenarios. Perform well.
Patent Information
- Application Number
- PCT/CN2024/085491
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-04
- Filing Date
- 2024-04-02
- Publication Date
- 2024-10-10
AI Technical Summary
Existing underwater image enhancement methods are prone to problems such as color shift, blur, loss of details, and low contrast in complex ocean environments, and deep learning-based methods lack sufficient training data and uncertain output, resulting in unsatisfactory performance.
A neural network model with a brightness mask-guided multi-attention mechanism is designed, including an encoder network, a three-attention module, a brightness mask-guided module and a decoder network. It extracts low-level, mid-level and high-level features and performs feature enhancement. Processing, using inverse brightness masks and attention maps for brightness adjustment and detail enhancement to prevent gradient disappearance, extract features of different scales and force the network to focus on areas with severe light absorption.
Effectively enhance the details of underwater images, adjust image brightness, improve contrast, prevent excessive enhancement and color distortion, significantly improve image clarity and color correction accuracy, outperform traditional methods and perform well in a variety of evaluation indicators and application scenarios .
Smart Images

Figure CN2024085491_10102024_PF_FP_ABST
Abstract
Description
A brightness mask guided multi-attention mechanism for underwater image enhancement Technical Field
[0001] The present invention relates to the technical field of underwater image processing, and in particular to an underwater image enhancement method using a brightness mask-guided multi-attention mechanism. Background Art
[0002] The ocean contains a wide variety of resources. In recent years, the deteriorating natural environment has led to increasingly prominent resource issues, prompting increased attention to the marine environment. Consequently, improving ocean monitoring technology has become increasingly important. Underwater image enhancement, a new marine environmental monitoring technology, can be used to monitor the marine ecosystem, monitor the transportation of waste from dumping sites, and detect the spread of pollutants. Therefore, the clarity of underwater images directly impacts ocean-related research. Therefore, many underwater tasks, such as marine resource exploration and underwater target detection, are closely related to underwater image enhancement.
[0003] However, in complex underwater environments, water selectively absorbs light of different wavelengths, causing underwater images to exhibit varying degrees of color cast. For example, images often appear blue or green to the human eye. Furthermore, tiny particles suspended in the water scatter light, with forward scattering leading to blurry and loss of detail in underwater images, and backscattering causing low contrast. For these reasons, it's difficult to obtain ideal information directly from captured underwater images. To meet these requirements, designing an excellent enhancement method to improve image contrast, enhance image detail, and correct image color is crucial before conducting research on underwater image-related tasks.
[0004] Traditional underwater image enhancement methods primarily include those based on feature fusion and those based on Retinex theory. The former primarily enhances underwater images by fusing different feature information, leveraging the complementary information of multiple images to produce high-quality results. The latter, similar to the human visual system, uses the Retinex model to perceive the color of target objects, enhance details in degraded images, and provide color constancy and dynamic range, making it suitable for underwater image enhancement. However, these methods do not consider the physical properties of underwater imaging mechanisms, resulting in artifacts, over-enhancement, or color distortion. Underwater image enhancement methods based on physical models, based on the high similarity between the optical imaging processes of underwater environments and outdoor foggy scenes, introduce a simplified image imaging model to describe underwater scenes. This involves building a reasonable mathematical model for the underwater image degradation process. To estimate the model parameters and deduce the pre-degraded underwater image, researchers mostly use the well-known dark channel prior. Taking into account the wavelength-dependent absorption of underwater light and the inhomogeneity of the medium, researchers have embedded the physical properties of water into a modified dark channel prior, proposing red channel prior techniques, underwater image restoration techniques based on dark channel priors, and maximum intensity prior techniques. Although these methods provide relatively good estimates of transmittance or background light, color casts or visually unsatisfactory results are still inevitable. This is because specific assumptions and priors may not always hold in various complex marine environments.
[0005] Data-driven approaches focus on learning the mapping function between synthetic underwater images and their corresponding ground-truth images. Related enhancement methods fall into two main categories: CNN-based algorithms and GAN-based algorithms. CNN algorithms aim to preserve the original image, while GAN algorithms aim to improve the perception of underwater images. Deep learning-based methods strive to overcome the limitations of datasets and broaden their applicability. However, a lack of sufficient training data and uncertain outputs often lead to unsatisfactory performance for deep learning-based methods. Therefore, customizing the appropriate dataset is a major challenge for these enhancement methods.
[0006] Summary of the Invention
[0007] In view of the problems existing in the prior art, the present invention discloses an underwater image enhancement method using a brightness mask-guided multi-attention mechanism, which specifically includes the following steps:
[0008] Acquire underwater images and construct training and test sets;
[0009] Construct a brightness mask-guided multi-attention mechanism neural network model for underwater image enhancement. The neural network model includes an encoder network, a triple attention module, a brightness mask-guided module, and a decoder network.
[0010] Extract low-level features, mid-level features and high-level features of underwater images;
[0011] The three attention modules are used to enhance the high-level features to obtain enhanced features;
[0012] The inverse brightness mask corresponding to the target image is combined with the low-level features, mid-level features, and enhanced features respectively. The three sets of combined features are input into three brightness mask guidance modules respectively, so that the inverse brightness mask guides the enhancement of the corresponding feature map, and obtains the brightness-adjusted feature map, so that the brightness of the dark area is improved and the saturated area is not overexposed;
[0013] The brightness-adjusted feature map is input into the decoder network to obtain the enhanced target image;
[0014] The neural network model is trained using the above method for all images in the training set to obtain a trained neural network model, and then the test set is input into the trained neural network model to obtain an enhanced underwater image.
[0015] When performing feature enhancement processing on advanced features:
[0016] First, the high-level features are subjected to a dilated spatial pyramid pooling operation to obtain feature maps with the same scale but different receptive fields, denoted as F ASPP ;
[0017] Construct a brightness spatial attention unit and input the feature map into the brightness spatial attention unit to obtain the brightness adjusted feature map;
[0018] Construct an edge space attention unit and input the brightness-adjusted feature map into the edge space attention unit to obtain an edge-enhanced feature map.
[0019] The feature map, the brightness-adjusted feature map, and the edge-enhanced feature map are added pixel by pixel to obtain an overall enhanced feature map;
[0020] A channel attention unit is constructed, and the overall enhanced feature map is input into the channel attention unit to obtain its global distribution of feature responses in the channel direction. Weight selection is performed on the input overall enhanced feature map, and weights are assigned to channels that show responses to prominent objects.
[0021] When obtaining the brightness adjusted feature map:
[0022] The inverse brightness mask RBM is used as the pixel-level attention map, where the inverse brightness mask map is obtained by 1-M, where is a brightness mask between [0,1], It is a matrix of all 1s where all pixel values are 1;
[0023] A global average pooling operation is performed on the inverse brightness mask map to make it consistent with the feature map F ASPP With the same size, two convolution layers with kernel sizes of 1*k and k*1 are used to capture the spatial attention point information. The sigmoid function is used to normalize the brightness spatial feature map mapped to [0,1] to obtain the brightness attention map BSA, and use it to guide F ASPP Enhanced, the feature map after brightness adjustment is obtained, and F BSA express:
[0024] Where W represents the spatial attention weight to be learned, σ represents the Sigmoid function, conv represents the convolutional layer, and cat(·) represents the connection operation. and Represent pixel-level addition and multiplication, respectively.
[0025] When obtaining the edge attention map: the feature map F after brightness adjustment BSA The feature encoder composed of three convolution blocks is used for encoding, and the edge feature map is normalized using the Sigmoid function to obtain the edge attention map ESA, which guides the feature map F. BSA Perform edge enhancement, denoted as F ESA ESA=σ3(BN3(conv3(δ2(BN2(conv2(δ1(BN1(conv1(F BSA ))))))))) (5)
[0026] where BN(·) represents the block normalization operation.
[0027] The feature map F ASPP , feature map F after brightness adjustment BSA And the feature map F after edge enhancement ESA Perform pixel-by-pixel addition to obtain the overall enhanced feature map, denoted as F SAM :
[0028] Feature Map Use global average pooling to compress the spatial dimension and obtain the channel feature vector This vector represents the global distribution of channel-wise feature responses. Two consecutive fully connected layers are used to capture channel correlation. The coded channel-wise feature vector mapped to [0, 1] is normalized using the Sigmoid operation to obtain the channel attention map CA. CA = F(vk ,W)=σ(fc2(δ(fc1(v k ,W1)),W2)) (8)
[0029] Where W represents the parameters of the channel attention block to be learned, σ represents the Sigmoid function, fc represents the fully connected layer, δ represents the PReLU activation function, and the obtained channel attention map is used to guide F SAM Enhancement, get the feature map after overall detail enhancement, use F CAM express:
[0030] When obtaining low-level features, mid-level features, and enhanced features: the inverse brightness mask is used as a feature selector to weight the importance of different spatial positions of the features. Pixels with more severe light absorption are assigned higher weights, which can be expressed as:
[0031] in and are the input features and the output features after the brightness mask guidance module, respectively.
[0032] Due to the adoption of the above-mentioned technical solution, the present invention provides a method for underwater image enhancement with a multi-attention mechanism guided by a brightness mask. The method enhances the quality-degraded areas by designing a neural network model of the multi-attention mechanism guided by a brightness mask. By introducing a triple attention module and combining the advantages of image degradation information with deep learning, the method can effectively enhance the details of the underwater image and adjust the brightness of the image at the same time. The method can accurately extract feature maps of different scales in the underwater image and effectively prevent gradient disappearance. The use of the dilated space pyramid pooling operation can extract feature maps of the same scale but different receptive fields. The triple attention map can significantly enhance the detail information of the image. The method proposes a brightness mask-guided decoder network to force the network to pay more attention to areas with severe light absorption, and explores the complementarity between underwater image information and deep neural networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0034] FIG1 is a flow chart of the method of the present invention
[0035] FIG2 is a schematic diagram of three residual enhancement modules included in the encoder network of the present invention, wherein (a), (b) and (c) are structural diagrams of residual enhancement modules A, B and C, respectively;
[0036] FIG3 is a structural diagram of the brightness mask guide module in the present invention
[0037] FIG4 is a schematic diagram of the structure of the residual enhancement module D in the decoder network of the present invention.
[0038] FIG5 is a graph showing comparative experimental results of the present invention and eight existing enhancement methods on the UFO-120 dataset;
[0039] FIG6 is a graph showing comparative experimental results of the present invention and eight existing enhancement methods on the EUVP dataset;
[0040] FIG7 is a graph showing comparative experimental results of the present invention and eight existing enhancement methods in terms of color correction;
[0041] FIG8 is a graph showing comparative experimental results of the present invention and eight existing enhancement methods applied to underwater salient target detection. DETAILED DESCRIPTION
[0042] To make the technical solutions and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention:
[0043] As shown in Figure 1, a method for underwater image enhancement using a multi-attention mechanism guided by a brightness mask specifically includes the following steps:
[0044] Step 1: Construct underwater image training and test sets;
[0045] Step 2: Build a brightness mask-guided multi-attention mechanism neural network model for underwater image enhancement. The model mainly includes an encoder network, a triple attention module, a brightness mask-guided module, and a decoder network.
[0046] Step 3: Extract low-level features, mid-level features, and high-level features of underwater images;
[0047] Three serially connected residual enhancement modules are constructed in the encoder network, namely residual enhancement module A, residual enhancement module B, and residual enhancement module C. The structural diagram of each residual enhancement module is shown in Figure 2. Residual enhancement module A contains two residual blocks, residual enhancement module B contains three residual blocks, and residual enhancement module C contains four residual blocks. Each residual block consists of three convolutional layers, and except for the last convolutional layer, the other convolutional layers are followed by block normalization operations (BN) and PReLU activation functions. The convolution operations in the same residual enhancement module have the same number of filters, and the number of filters increases by a factor of 2 from 128 to 512. In each residual block, except for the convolution kernel size of the last convolution layer, which is 1*1, the convolution kernel size of all other convolution kernels is 3*3 with a stride of 1. The output results of the three staggered enhancement modules are low-level features, mid-level features, and high-level features, respectively. A target underwater image to be optimized is input into the encoder network to extract global low-level, mid-level, and high-level features of the target image.
[0048] Step 4: Construct a triple attention module to selectively enhance the high-level features extracted in step 3;
[0049] Step 4-1: Perform the Atrous Spatial Pyramid Pooling (ASPP) operation on the high-level features extracted in step 3 to obtain feature maps with the same scale but different receptive fields.
[0050] First, dilated convolutions with different dilation rates are used, set to 2, 3, and 5 respectively, to capture multi-receptive field context information. Then, the feature maps obtained by different dilated convolution operations are fused with the feature maps obtained by direct 1*1 convolution operations. Finally, it is used as the output of dilated spatial pyramid pooling and expressed as Among them, H, W and C represent the height, width and number of channels of the feature map respectively, and the spatial position can be expressed as j=(x,y) is the feature map F ASPP The spatial coordinates of .
[0051] Step 4-2: Construct a brightness spatial attention unit, input the feature map obtained in step 4-1 into the unit, capture the brightness spatial attention points, and use this as a guide to the feature map F ASPP Adjust the brightness;
[0052] First, the inverse brightness mask (RBM) is used (i.e. ) as the pixel-level attention map, where the inverse brightness mask map is obtained by 1-M ( is a brightness mask between [0,1], is a matrix with all pixel values equal to 1), which indicates that the more severely degraded the area in the underwater image, the larger the attention weight should be assigned. Secondly, a global average pooling operation is applied to the inverse brightness mask to make it consistent with the feature map F ASPP have the same size. Again, in order to enhance the receptive field and obtain global information without increasing the parameters, two convolution layers with kernel sizes of 1*k and k*1 are used to capture the spatial attention points. Finally, the sigmoid function is used to normalize the brightness spatial feature map mapped to [0,1] to obtain the brightness attention map BSA, which is used to guide F ASPP Enhanced, the feature map after brightness adjustment is obtained, and F BSA express.
[0053] Where W represents the spatial attention weight to be learned, σ represents the Sigmoid function, conv represents the convolutional layer, and cat(·) represents the connection operation. and Represent pixel-level addition and multiplication, respectively.
[0054] Step 4-3: Construct an edge space attention unit, input the feature map obtained in step 4-2 into the unit, obtain an edge attention map, and use it as a guide to enhance the edges of the feature map;
[0055] First, in order to explicitly embed edge features into the network, we perform brightness adjustment on the feature map F BSA The feature encoder composed of 1*1, 3*3 and 1*1 convolution blocks is used for encoding. Then, the edge feature map is normalized using the Sigmoid function to obtain the edge attention map ESA. Finally, the edge attention map is used to guide the feature map F BSA Perform edge enhancement, denoted as F ESA . ESA=σ3(BN3(conv3(δ2(BN2(conv2(δ1(BN1(conv1(F BSA ))))))))) (5)
[0056] where BN(·) represents the block normalization operation.
[0057] Step 4-4: Add the results of step 4-1, step 4-2 and step 4-3 pixel by pixel to obtain the overall enhanced feature map, and use F SAM express;
[0058] Step 4-5: Construct a channel attention unit and input the output feature map of step 4-4 into the unit to obtain the global distribution of its feature response in the channel direction. Then, perform weight selection on the input feature map and assign a larger weight to the channel that shows a high response to the prominent object, so that it can further guide the enhancement of the feature map in the channel direction.
[0059] First, we have the feature map Use global average pooling to compress the spatial dimension and obtain the channel feature vector This vector represents the global distribution of channel-wise feature responses. Then, two consecutive fully connected layers are used to capture channel correlation. Then, by using the Sigmoid operation, we normalize the encoded channel-wise feature vector mapped to [0,1] to obtain the channel attention map CA. CA = F(v k ,W)=σ(fc2(δ(fc1(v k ,W1)),W2)) (8)
[0060] Where W represents the parameters of the channel attention block to be learned, σ represents the Sigmoid function, fc represents the fully connected layer, and δ represents the PReLU activation function. In addition, in order to avoid the gradient vanishing problem and maintain the good properties of the original features, we use the obtained channel attention map to guide F SAM Enhanced, the feature map after overall detail enhancement is obtained, and F CAM express:
[0061] Step 5: Combine the inverse brightness mask corresponding to the target image with the low-level and mid-level features extracted in step 3 and the feature map after global detail enhancement obtained in step 4. Input the three combined feature sets into three brightness mask guidance modules respectively, so that the inverse brightness mask guides the enhancement of the corresponding feature map, thereby improving the brightness of dark areas and preventing overexposure of saturated areas.
[0062] We use the inverse brightness mask as a feature selector to weight the importance of different spatial positions of the feature, as shown in Figure 3. Pixels with more severe light absorption are assigned higher weights, which can be expressed as:
[0063] in and are the input features and the output features after the brightness mask guidance module, respectively.
[0064] Step 6: Construct a decoder network, which mainly contains three identical residual enhancement modules D. Input the output of step 5 into the decoder network to obtain the enhanced target image;
[0065] The residual enhancement module D contains two residual blocks as shown in Figure 4. Each residual block consists of three convolution operations and two PReLU activation functions. Except for the last convolution layer with a kernel size of 1*1, the kernel size of all other convolution layers is 3*3 and the stride is 1. In addition, the convolution layers in each residual enhancement module D have the same number of filters, which are reduced by a factor of 2 from 512 to 128.
[0066] Step 7: Repeat the above steps for all images in the image training set to obtain a trained neural network model;
[0067] Step 8: Input the test set data into the trained network model to obtain the enhanced underwater image.
[0068] The subjective and objective comparison experiments were conducted on the present invention and eight enhancement methods, including TS enhancement method, OCM enhancement method, ULAP enhancement method, GDCP enhancement method, Ucolor enhancement method, WaterNet enhancement method, UWCNN enhancement method and FGAN enhancement method.
[0069] For subjective experiments, Figures 5 and 6 show the subjective experimental comparison results of the present invention and 8 enhancement methods on the UFO120 dataset and EUVP dataset, respectively. It can be seen from the figure that the present invention can not only significantly enhance image details and improve image contrast, but also suppress oversaturated area exposure while improving the illumination of dark areas. Figure 7 verifies the accuracy of the present invention in color correction compared with the 8 enhancement methods, where the number in the upper right corner is the evaluation result of the CIEDE2000 index. This evaluation index represents the accuracy of color restoration, and the smaller the value, the more accurate the color restoration. In addition, the result images of the present invention and the 8 enhancement methods are detected using a saliency target detection algorithm. The results are shown in Figure 8. It can be seen that when the boundary pixels of the original image are accurately segmented, the detection results of the result images of all enhancement methods are accurate. When the contrast boundary is unclear, only the present invention can generate a more accurate saliency map.
[0070] For objective experiments, Table 1 and Table 2 are the objective image quality quantitative comparisons on the UFO120 dataset and the EUVP dataset, respectively. PSNR is the most widely used objective full-reference evaluation index for images. It evaluates image quality by calculating the mean square error (MSE) of pixels between the enhanced result and the reference image; SSIM is also an objective full-reference evaluation index for images. It evaluates the similarity between the enhanced image and the reference image from three aspects: brightness, contrast, and structure. For both indicators, the larger the score, the better the image enhancement effect. NIQE is a reference-free evaluation index that uses a simple distance index between the model statistic and the distorted image statistic to represent the quality of the distorted image. The lower the score of this index, the better the image quality. It can be seen from the two tables that the present invention can almost achieve the best or suboptimal ranking in the three evaluation indicators. Table 3 is a comparison of the salient target detection performance on the UFO120 dataset. F-measure is an overall performance metric calculated as the weighted average of precision and recall. The maxF metric represents the maximum value of F-measure at different thresholds, and avgF represents the average value of F-measure at different thresholds. For both, larger values are better. Sm represents a measure of the region-aware and object-aware structural similarity between the predicted and true saliency maps. A larger value indicates better prediction. As can be seen in Table 3, compared to other enhancement methods, the present invention has the best performance in promoting salient object detection.
[0071] Table 1
[0072] Table 2
[0073] Table 3
[0074] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.
Claims
1. A brightness mask guided multi-attention mechanism underwater image enhancement method, characterized in that include: Acquire underwater images and construct training and test sets; Construct a brightness mask-guided multi-attention mechanism neural network model for underwater image enhancement. The neural network model includes an encoder network, a triple attention module, a brightness mask-guided module, and a decoder network. Extract low-level features, mid-level features and high-level features of underwater images; The three attention modules are used to enhance the high-level features to obtain enhanced features. The inverse brightness mask corresponding to the target image is combined with the low-level features, the mid-level features and the enhanced features respectively, and the three sets of combined features are input into three brightness mask guiding modules respectively, so that the inverse brightness mask guides the enhancement of the corresponding feature map respectively, and obtains the feature map after brightness adjustment, so that the brightness of the dark area can be improved and the saturated area is not overexposed; Input the brightness-adjusted feature map into the decoder network to obtain an enhanced target image; The neural network model is trained using the above method for all images in the training set to obtain a trained neural network model, and then the test set is input into the trained neural network model to obtain an enhanced underwater image.
2. The underwater image enhancement method using a brightness mask-guided multi-attention mechanism according to claim 1, characterized in that: When performing feature enhancement processing on advanced features: First, the high-level features are subjected to a dilated spatial pyramid pooling operation to obtain feature maps with the same scale but different receptive fields, denoted as F ASPP ; Construct a brightness spatial attention unit, and input the feature map into the brightness spatial attention unit to obtain a feature map after brightness adjustment; Construct an edge space attention unit, and input the brightness-adjusted feature map into the edge space attention unit to obtain an edge-enhanced feature map; The feature map, the feature map after brightness adjustment, and the feature map after edge enhancement are added pixel by pixel to obtain an overall enhanced feature map; Construct a channel attention unit, input the overall enhanced feature map into the channel attention unit to obtain the global distribution of its feature response in the channel direction, select the weight of the input overall enhanced feature map, and The salient objects exhibit a weighted distribution of channels to which they respond.
3. The underwater image enhancement method using a brightness mask-guided multi-attention mechanism according to claim 2, characterized in that: When getting the brightness adjusted feature map: The inverse brightness mask RBM is used as the pixel-level attention map, where the inverse brightness mask map is obtained by 1-M, where is a brightness mask between [0,1], is a matrix of all 1s where all pixel values are 1; A global average pooling operation is performed on the inverse brightness mask map to make it consistent with the feature map F ASPP With the same size, two convolutional layers with kernel sizes of 1*k and k*1 are used to capture the spatial attention point information. The sigmoid function is used to normalize the brightness spatial feature map mapped to [0,1] to obtain the brightness attention map BSA, which is used to guide F ASPP The enhancement is to obtain the feature map after brightness adjustment, and then use F BSA express: Where W represents the spatial attention weight to be learned, σ represents the Sigmoid function, conv represents the convolutional layer, and cat(·) represents the connection operation. and Represent pixel-level addition and multiplication, respectively.
4. The underwater image enhancement method using a brightness mask guided multi-attention mechanism according to claim 2, characterized in that: When obtaining the edge attention map: the feature map F after brightness adjustment BSA The feature encoder composed of three convolution blocks is used for encoding, and the edge feature map is normalized using the Sigmoid function to obtain the edge attention map ESA, which guides the feature map F BSA Perform edge enhancement, denoted as F ESA ESA=σ3(BN3(conv3(δ2(BN2(conv2(δ1(BN1(conv1(F BSA )))))))))) (5) where BN(·) represents the block normalization operation.
5. The underwater image enhancement method using a brightness mask-guided multi-attention mechanism according to claim 2, characterized in that: The feature map F ASPP , feature map F after brightness adjustment BSA And the feature map F after edge enhancement ESA Add pixel by pixel to get the overall enhanced feature map, denoted as F SAM :
6. The underwater image enhancement method using a brightness mask guided multi-attention mechanism according to claim 4, characterized in that: For feature maps Use global average pooling to compress the spatial dimension and obtain the channel feature vector This vector represents the global distribution of channel-wise feature responses. Two consecutive fully connected layers are used to capture channel correlation. The coded channel-wise feature vector mapped to [0, 1] is normalized using the Sigmoid operation to obtain the channel attention map CA. CA = F(v k ,W)=σ(fc2(δ(fc1(v k ,W1)),W2)) (8) Where W represents the parameters of the channel attention block to be learned, σ represents the Sigmoid function, fc represents the fully connected layer, δ represents the PReLU activation function, and the obtained channel attention map is used to guide F SAM The enhancement of the overall detail enhancement is obtained, and the feature map is used CAM express:
7. The underwater image enhancement method using a brightness mask guided multi-attention mechanism according to claim 1, characterized in that: When obtaining low-level features, mid-level features, and enhanced features: the inverse brightness mask image is used as a feature selector to weight the importance of different spatial positions of the features. Pixels with more severe light absorption are assigned higher weights, which can be expressed as: in and They are the input features and the output features after the brightness mask guidance module.
Citation Information
Patent Citations
Underwater image enhancement method with model mapping guided by convolutional network
CN115035010A
Unsupervised dark light image enhancement method and device
CN115375598A
Underwater image enhancement method of multi-attention mechanism guided by brightness mask
CN116402715A
Image enhancement method and system
US20200273154A1
Cited By
Video image rapid adjustment method based on deep learning neural network
CN119338701A
Underwater image enhancement model training method and enhancement method, equipment and medium
CN119399576A
An underwater image enhancement model training method and enhancement method, device and medium
CN119399576B
Edge fusion method and system of XR immersion type LED display screen
CN119417725A
Edge fusion method and system for XR immersive LED display screen
CN119417725B
