Underwater video super-resolution method based on coarse and fine granularity feature alignment

By adopting a coarse- and fine-grained feature alignment method in underwater video super-resolution, combined with optical flow and spatial attention mechanisms, the problem of poor underwater video imaging quality is solved and higher-quality video reconstruction is achieved.

CN118644393APending Publication Date: 2024-09-13JIANGSU GONGZHI AUTOMATION TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410759955.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing video super-resolution models encounter problems of light attenuation and lack of real underwater scene data sets when reconstructing underwater low-resolution videos, resulting in poor underwater video imaging quality.

Method used

Using a method based on coarse- and fine-grained feature alignment, through complex underwater quality enhancement based on the minimum color loss principle, the optical flow module of the convolutional neural network, and the residual module of the spatial attention mechanism, the features of the video frames are extracted and aligned to gradually improve the video quality. .

Benefits of technology

It effectively reduces the impact of underwater light attenuation, improves the reconstruction quality of underwater videos, restores more natural colors and clearer details, and significantly improves video imaging effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644393A
    Figure CN118644393A
Patent Text Reader

Abstract

The invention discloses a complex underwater video super-resolution method based on coarse and fine granularity feature alignment. The method comprises the following steps: firstly, performing preprocessing by using a complex underwater degraded image enhancement method based on a minimum color loss principle; inputting continuous multi-frame images into the model, and performing coarse-grained alignment on features of a reference frame and an adjacent frame image by using an optical flow extraction method; thirdly, aligning features of the reference frame and the adjacent frame image by using residual block fine granularity based on a space attention mechanism to obtain more information; and finally, fusing the aligned features of the reference frame and the coarse and fine granularity stage, and reconstructing by using an up-sampling method to obtain a video with an original size. According to the method, the calculation efficiency is remarkably improved on the premise of ensuring the super-resolution effect, the problems of color distortion and turbidity influence in an underwater complex scene can be effectively solved, the underwater video super-resolution reconstruction quality can be effectively improved, and the method has important significance in multiple application fields such as underwater operation scenes and underwater resource exploration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an underwater video super-resolution method based on coarse and fine granularity feature alignment, and belongs to the technical field of image processing. Background Art

[0002] The continuous growth of the global population, coupled with the resulting scarcity of land resources, has prompted researchers and scholars to pay more attention to the exploration of marine resources. As video can capture rich and diverse information, underwater video technology can facilitate researchers' exploration and development of marine resources and become an indispensable tool for marine resource development and underwater research. However, due to factors such as the high cost of video transmission equipment, the limitation of transmission bandwidth, and the absorption and scattering of light in water, the quality of underwater videos received by the observation end is often poor and lacks key details. Therefore, the trade-off between the cost of transmission equipment and the quality of underwater video imaging has become a pressing issue.

[0003] Video super-resolution methods borrow from image super-resolution methods, and image super-resolution methods based on deep learning have achieved remarkable results. For example, some of these methods include super-resolution using deep convolutional neural networks (SRCNN) (Dong et al., 2014), fast super-resolution convolutional neural networks (FSRCNN) (Dong et al., 2016), super-resolution using generative adversarial networks (SRGAN) (Ledig et al., 2017), and "zero-shot" super-resolution (ZSSR) (Shocher et al., 2018). Videos are composed of multiple consecutive frames of images, which carry more information than a single image. Using inter-frame information can improve the results of video super-resolution. In recent years, video super-resolution methods based on deep learning have made great progress and can effectively reconstruct high-resolution videos from low-resolution videos. However, existing video super-resolution models are designed to reconstruct ground-resolution videos of moving scenes on land, and encounter some challenges when reconstructing low-resolution videos of underwater scenes. On the one hand, due to the refraction and absorption of light, the underwater background is different from the background in nature, and there will be certain distortion and blur. Therefore, it is impossible to directly apply the existing video super-resolution methods based on land scenes to underwater video super-resolution tasks. On the other hand, since almost all existing video super-resolution datasets are aimed at scenes of motion on land, there is no dataset for underwater scenes. The lack of datasets containing a large number of real underwater scenes has prevented the underwater video super-resolution task from being widely studied and applied. Summary of the invention

[0004] Purpose of the invention: In view of the problems and shortcomings existing in the prior art, the present invention provides an underwater video super-resolution method based on coarse- and fine-grained feature alignment, which reduces the influence of light attenuation in underwater scenes, effectively improves the quality of underwater video reconstruction, and achieves good video restoration effect.

[0005] Technical solution: An underwater video super-resolution method based on coarse-grained and fine-grained feature alignment, specifically comprising the following steps:

[0006] Step 1: input low-resolution underwater video frames, and pre-process the video frames using a complex underwater deterioration enhancement method based on the principle of minimum color loss to improve video quality and prepare for subsequent video super-resolution processing; reduce the impact of underwater light on subsequent video super-resolution.

[0007] Step 2: Use a convolutional neural network to extract coarse-grained features from the preprocessed video frames, and use an optical flow network to coarsely align the features of the reference frame and adjacent frames to eliminate large-scale motion displacement between frames caused by the rapid movement of underwater targets, making the video frames more consistent at the global level.

[0008] In step 3, a spatial attention mechanism residual module based on underwater videos is used to fine-grainedly align the features of the reference frame and adjacent frames, aligning more subtle texture and edge information.

[0009] In step 4, the aligned coarse-grained and fine-grained features are sent to a super-resolution network for underwater scene reconstruction and mapping. The low-resolution video features are upsampled to high-resolution video features through the mapping relationship learned by the network, and the high-resolution video features are fused with the features after the coarse-grained and fine-grained two-stage alignment to reconstruct and output high-resolution video to adapt to special underwater quality degradation conditions.

[0010] Step 1: Preprocess underwater video frames using a complex underwater quality enhancement method based on the principle of minimum color loss, including the following steps:

[0011] Step 1-1: Define the height of image I as H and width as W, and use the average value of each channel pixel to define the three color channels of red, green and blue, which can be expressed by the following formula:

[0012]

[0013] Where c represents the pixel channel, (i, j) represents the position of the pixel, and I c (i,j) represents the pixel at position (i,j) in channel c. l , I m , I s Indicates the maximum average, median average, and minimum average of each channel pixel. According to the grayscale world hypothesis theory, the total color loss L can be obtained color :

[0014]

[0015] in and I l , I m , I s The average value of .

[0016] Step 1-2: According to the color loss value defined in step 1-1, the color loss value of different channels can be obtained. Since light is affected by absorption and scattering underwater, the attenuation speed of color channels of different channels is inconsistent. Therefore, a color correction scheme is designed for the attenuation of different color channels, and the dynamic boundary of the maximum color channel is defined using a linear transmission equation:

[0017]

[0018]

[0019]

[0020] and Represents different color channels I l ,I m and I s The color correction value of and Represents the minimum and maximum pixels of the input image. And stretches the boundaries and Set to 0 and 255. Since the image channels under natural colors have similar average values ​​and histogram distribution values. In order to make the histogram distribution values ​​of different color channels similar, each color channel is updated according to the following formula until convergence:

[0021]

[0022] Step 2: Use the convolutional neural network-based optical flow module to coarsely extract image features.

[0023] Step 2-1: First, input a series of low-resolution underwater video images, which are input into the residual convolutional network for feature extraction and can be expressed by the following formula:

[0024]

[0025] in represents the low-resolution image of frame t, g t represents the features of the t-th frame image, and R represents the residual convolution operation.

[0026] Step 2-2: Then align the reference frame With the previous frame image Use several optical flow modules S to obtain the optical flow information s of the reference frame and the previous frame t-1→t, where the optical flow module is composed of several convolution modules of different scales. Then the optical flow information s t-1→t and the previous frame feature f t-1 , sent to the feature warping module W, the coarse-grained features of the reference frame can be obtained The coarse-grained feature extraction formula can be expressed as:

[0027]

[0028]

[0029] Step 3: Use a residual module based on spatial attention mechanism to fine-grainedly align the features of the reference frame and adjacent frames.

[0030] Step 3-1: Design a residual module A based on spatial attention to refine the features extracted in step 2, which can extract information about the current frame and the previous frame. The input of the fine-grained alignment feature is the coarse-grained extracted feature, which can be expressed as follows:

[0031]

[0032] Step 3-2: After aligning the features of the reference frame and the previous frame, it is necessary to align the information of the reference frame and the next frame. The processing process is similar to the previous one, which can be described by the following formula:

[0033]

[0034]

[0035]

[0036] The residual module based on spatial attention is composed of multiple residual units based on the spatial attention mechanism connected in series. In the fine-grained feature alignment stage, multiple residual units based on the spatial attention mechanism are used to gradually refine the features of the aligned reference frame and adjacent frames; each residual unit contains two convolution branches: the main branch transforms the input features through two 64x64 convolution layers; an attention branch first reduces the dimension through a 64x64 convolution layer, then calculates the spatial attention weight through the Self-Attention layer, and then increases the dimension through a 64x64 convolution layer. The output of the main branch is multiplied by the output of the attention branch to obtain the features weighted by the spatial attention. Finally, the weighted features are added to the input features through the residual connection to obtain the refined feature output.

[0037] This structure adaptively aggregates the global context information inside the feature map through the Self-Attention layer to generate spatial attention weights, which are used to enhance the features of the salient areas and suppress the features of the background areas. At the same time, the residual connection can promote feature reuse and gradient propagation. The cascade of multiple residual units can gradually refine the features of the aligned reference frame and adjacent frames. Compared with traditional convolutional neural networks, this module makes full use of the self-attention mechanism and residual learning, which can better capture the long-distance dependencies inside the feature map and optimize feature alignment in a fine-grained manner.

[0038] Step 4: Fusion the image features extracted in the coarse and fine granularity stages and the image features obtained by linear upsampling to reconstruct the underwater video.

[0039] After aligning the features between the reference frame and the previous and next frames, the reconstructed features are fused. Use Pixelshuffle to upsample the image and then merge the reference frame image. Perform upsampling first, and add the two sampling results to get the final high-resolution image The above process can be expressed by the following formula:

[0040]

[0041] is the t-th frame high-resolution image, is the t-th frame low-resolution image, Represents the low-resolution image of the tth frame Upsampling, To fuse the features sampled in two stages with coarse and fine granularity.

[0042] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the underwater video super-resolution method based on coarse-grained and fine-grained feature alignment as described above is implemented.

[0043] A computer-readable storage medium stores a computer program for executing the underwater video super-resolution method based on coarse-grained and fine-grained feature alignment as described above.

[0044] Beneficial effects: This invention uses an underwater image color correction method based on the principle of minimum color loss in the preprocessing step, which effectively overcomes the color deviation problem caused by uneven light in underwater scenes, and provides a good foundation for subsequent super-resolution processing. It innovatively combines the coarse-grained and fine-grained feature alignment methods, first roughly aligns the reference frame with the adjacent frame through optical flow extraction, and uses the spatial attention mechanism for fine-grained alignment, making more comprehensive use of inter-frame information to obtain rich feature representation.

[0045] from Figures 5 to 10 It can be seen that in six representative underwater scenes, namely ocean, rock, coral, octopus, single_fish and multi_fish, the method UWVSR designed by the present invention is significantly better than other methods (Bicubic, BasicVSR and BasicVSR++) in terms of visual quality of super-resolution reconstruction, with clearer and more natural edges and better restored details. The advantages of objective evaluation indicators PSNR and SSIM also fully reflect this point.

[0046] In summary, this paper proposes a new underwater video super-resolution method based on coarse-grained and fine-grained feature alignment. It cleverly combines innovative technical links such as color correction preprocessing for underwater imaging characteristics, and coarse-grained and fine-grained feature alignment that integrates optical flow and attention mechanisms, thereby effectively overcoming the special challenges of underwater video super-resolution such as insufficient illumination and severe scattering, and shows broad application prospects in related tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 This is a schematic diagram of the overall execution flow in an embodiment of the present invention;

[0048] Figure 2 is a flow chart of an underwater video super-resolution method for coarse-grained and fine-grained feature alignment in an embodiment of the present invention;

[0049] Figure 3 yes Figure 2 Detailed diagram of the alignment of coarse and fine-grained features in the network;

[0050] Figure 4 yes Figure 2 Detailed diagram of the basic modules of the optical flow extraction network Spynet;

[0051] Figure 5 This is a comparison chart of the visual effects of 4x super-resolution reconstruction on the ocean scene video;

[0052] Figure 6 This is a comparison chart of the visual effects of 4x super-resolution reconstruction on the rock scene video;

[0053] Figure 7 This is a comparison chart of the visual effects of 4x super-resolution reconstruction on a video of a coral scene;

[0054] Figure 8 This is a comparison chart of the visual effects of 4x super-resolution reconstruction on the video of the octopus scene;

[0055] Fig. 9This is a comparison of the visual effects of 4x super-resolution reconstruction on the video of the single_fish scene;

[0056] Fig.10 This is a comparison chart of the visual effects of 4x super-resolution reconstruction on the video of the multi_fish scene. DETAILED DESCRIPTION

[0057] The present invention is further explained below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0058] The detailed process of this case is as follows Figure 2 As shown, the present invention proposes an underwater video super-resolution method based on coarse-grained and fine-grained feature alignment. First, a complex underwater degraded enhancement method based on the principle of minimum color loss is used to preprocess the video frame, and then a residual convolutional neural network is used to extract features. The optical flow module is used to coarsely extract the features of the current frame and the reference frame. The residual module based on the spatial attention mechanism is used again to extract the features of the current frame and the reference frame in fine granularity. Finally, the features extracted by coarse-grained and fine-grained granularity and the features of the linearly upsampled reference frame are fused to reconstruct and output a high-resolution video. The specific implementation of the scheme has the following four main stages: preprocessing the data set, coarse-grained alignment of features, fine-grained alignment of features, and fusion and reconstruction of the video.

[0059] The SpyNet optical flow module is used here, which is a deep learning model that estimates the pixel motion between consecutive frames in a video. The SpyNet optical flow module iteratively calculates the optical flow at multiple scales by constructing a feature pyramid and a diffusion pyramid.

[0060] Specifically, the SpyNet optical flow module first downsamples the two input frames to different scales to form a feature pyramid. Then, at each scale, features are extracted through a convolutional neural network and these features are used to estimate the initial optical flow at that scale. Next, the model upsamples the estimated optical flow to a higher resolution and refines it at the next scale. By iteratively estimating and refining the optical flow at each layer of the pyramid, SpyNet gradually generates high-quality dense optical flow fields.

[0061] like Figure 3 As shown, the feature alignment method proposed in the present invention mainly includes two stages: coarse-grained feature extraction and fine-grained feature alignment.

[0062] In the coarse-grained feature extraction stage, a series of convolution and downsampling operations are performed to extract the hierarchical features of the reference frame and adjacent frames. Figure 3As shown in the upper part, the input reference frame is downsampled by 8x32, 32x64, 64x32 and 32x16 convolution kernels to obtain feature maps with gradually reduced scales. Adjacent frames also use the same convolution downsampling structure to extract features. The features obtained at this stage contain multi-scale and multi-level semantic information within the frame, providing a good foundation for subsequent fine-grained alignment.

[0063] like Figure 3 As shown in the lower part, the residual module based on spatial attention is composed of multiple residual units based on the spatial attention mechanism connected in series. In the fine-grained feature alignment stage, multiple residual units based on the spatial attention mechanism are used to refine the features of the aligned reference frame and adjacent frames step by step. Each residual unit contains two convolution branches: the main branch transforms the input features through two 64x64 convolution layers; the attention branch passes through two 64x64 convolution layers, RELU activation function and a 64x64 convolution layer to generate a spatial attention weight matrix. The output of the main branch is multiplied by the attention weight to obtain a feature map focusing on the key area, which is then added to the input feature through residual connection to achieve feature refinement and enhancement. The cascade of multiple residual units can make full use of the spatial attention mechanism and residual learning. On the one hand, the weights of different regions of the feature map can be adaptively adjusted to highlight salient targets and suppress background interference; on the other hand, the original details of the image can be retained through residual connection to promote feature reuse and refinement.

[0064] In summary, Figure 3 A video super-resolution method that combines coarse-grained feature extraction and fine-grained feature alignment is presented. By extracting hierarchical features in the encoding stage and introducing spatial attention residual units in the alignment stage, fine alignment of reference frames and adjacent frames can be achieved at the feature level, taking into account both global semantic information and local detail features, thereby improving the quality of super-resolution while ensuring alignment accuracy. Phase 1: Data preprocessing phase.

[0065] Define the image I with a height of H and a width of W, and use the average value of each channel pixel to define the three color channels of red, green and blue, which can be expressed by the following formula:

[0066]

[0067] I l , I m , I s Indicates the maximum average, medium average, and minimum average of each channel pixel. According to the principle of primary color loss, the total color loss L can be obtained color :

[0068]

[0069] in and I l , I m , I s The average value of . According to the defined color loss value, the color loss value of different channels can be obtained. Since light is absorbed and scattered underwater, the attenuation speed of color channels of different channels is inconsistent. Therefore, a color correction scheme is designed for the attenuation of different color channels, and the dynamic boundary of the maximum color channel is defined using a linear transmission equation:

[0070]

[0071]

[0072]

[0073] and Represents different color channels I l ,I m and I s The color correction value of and Represents the minimum and maximum pixels of the input image. And stretches the boundaries and Set to 0 and 255. Since the image channels under natural colors have similar average values ​​and histogram distribution values, we hope that the histogram distribution values ​​of different color channels are as similar as possible, so the following formula is used for iterative constraints, and each channel updates the formula until convergence.

[0074]

[0075] The second stage: coarse-grained alignment feature stage.

[0076] Input a series of low-resolution images, which are input into the residual convolutional network for feature extraction, which is expressed by the following formula:

[0077]

[0078] where g t represents the features of the t-th frame image, and R represents the residual block operation. Then align the reference frame With the previous frame image Use several optical flow modules to obtain the optical flow information s of the reference frame and the previous frame t-1→t , where the optical flow module is composed of several convolutional modules of different scales. The specific network structure is as follows Figure 4 As shown. Then the optical flow information s t-1→t and the previous frame feature f t-1 , sent to the feature warping module, the coarse-grained features of the reference frame can be obtained The coarse-grained feature extraction formula can be expressed as:

[0079]

[0080]

[0081] Given a low-resolution video sequence, the warping module first calculates the optical flow between adjacent frames, that is, the motion vector of each pixel between adjacent frames. After obtaining the optical flow information, the warping module warps the adjacent frames according to the optical flow to align them with the reference frame. The warping module performs motion compensation on adjacent frames and corrects the pixel displacement caused by motion. The warped frame is more consistent in structure with the reference frame, which is helpful for subsequent fusion and super-resolution processing.

[0082] Stage 3: Fine-grained alignment feature stage.

[0083] The residual module A based on spatial attention is designed to refine the features extracted in the second stage, which can extract the information of the current frame and the previous frame. The input of the fine-grained alignment feature is the coarse-grained extracted feature, which is expressed as follows:

[0084]

[0085] After aligning the features of the reference frame with the previous frame, it is necessary to align the information of the reference frame with the next frame. The processing process is similar to the previous one, which can be described by the following formula:

[0086]

[0087]

[0088]

[0089] Stage 4: Video fusion and reconstruction stage.

[0090] According to the features between the aligned reference frame and the previous and next frames obtained in stage 3, the reconstructed features are fused. The image is obtained by upsampling using Pixel shuffle, and then the reference frame image is Perform upsampling first, and add the two sampling results to get the final high-resolution image. The above process can be expressed by the following formula:

[0091]

[0092] The present invention can better solve the problem of video super-resolution in underwater scenes, correct the color of the image in water so that it presents the color under natural light, and through two-stage feature extraction of coarse and fine granularity, it can better learn the information of the current frame and the reference frame, which helps to better restore color information and object details and help reconstruct high-definition video.

[0093] Obviously, those skilled in the art should understand that the various steps of the underwater video super-resolution method based on coarse-grained feature alignment of the above-mentioned embodiment of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.

[0094] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A complex underwater video super-resolution method based on coarse-grained and fine-grained feature alignment, specifically comprising the following steps: Step 1, input low-resolution underwater video frames, and pre-process the video frames using a complex underwater quality enhancement method based on the principle of minimum color loss; Step 2: Use a convolutional neural network to extract coarse-grained features from the preprocessed video frames, and use an optical flow network to coarsely align the features of the reference frame and the adjacent frames; Step 3: Use the spatial attention mechanism residual module based on underwater videos to align the reference frame and adjacent frame features in a fine-grained manner; In step 4, the aligned coarse-grained and fine-grained features are sent to the super-resolution network for underwater scene reconstruction mapping. The low-resolution video features are upsampled to high-resolution video features through the mapping relationship learned by the network, and the features are fused with the coarse-grained and fine-grained features after two-stage alignment to reconstruct and output high-resolution video to adapt to special underwater quality degradation conditions.

2. The complex underwater video super-resolution method based on coarse-grained and fine-grained feature alignment according to claim 1 is characterized in that: The step 1 comprises the following steps: Step 1-1: Define the height of image I as H and width as W, and use the average value of each channel pixel to define the three color channels of red, green and blue, expressed as follows: I l , I m , I s Indicates the maximum average, medium average, and minimum average of each channel pixel; the total color loss L is defined according to the principle of primary color loss color : in and I l , I m , I s The average value of Step 1-2: Since the decay speeds of different color channels are inconsistent, in order to restore the colors of different channel decays, a linear transmission equation is used to define the dynamic boundary of the maximum color channel: and Represents different color channels I l ,I m and I s The color correction value of and Represents the minimum and maximum pixels of the input image; and Indicates stretching boundaries; image channels under natural colors have similar mean and histogram values. The following formula is iterated to update each color channel until convergence:

3. The underwater video super-resolution method based on coarse-grained and fine-grained feature alignment according to claim 1 is characterized in that: The step 2 comprises the following steps: Step 2-1: First, input a series of low-resolution underwater video images into the convolutional network for feature extraction; Step 2-2: Then align the reference frame With the previous frame image Features; Get the optical flow information s of the reference frame and the previous frame t-1→t , and then according to the optical flow information s t-1→t and the previous frame feature f t-1 , obtain the coarse-grained features of the reference frame The coarse-grained feature extraction formula is expressed as:

4. The underwater video super-resolution method based on coarse-grained and fine-grained feature alignment according to claim 1, characterized in that: The step (3) comprises the following steps: Step 3-1: The coarse-grained features are refined through several spatial attention residual blocks A to extract the information of the current frame and adjacent frames, which can be expressed as follows: Step 3-2: After aligning the features of the reference frame and the previous frame; align the information of the reference frame and the next frame, described by the following formula:

5. The underwater video super-resolution method based on coarse-grained and fine-grained feature alignment according to claim 1, characterized in that: In step 4, after aligning the features between the reference frame and the previous and next frames, the reconstructed features are fused; the image is obtained by upsampling using Pixel shuffle, and then the reference frame image is merged. Perform upsampling first, and add the two sampling results to get the final high-resolution image; the above process is expressed by the following formula:

6. The underwater video super-resolution method based on coarse-grained and fine-grained feature alignment according to claim 1, characterized in that: The residual module based on spatial attention is composed of multiple residual units based on spatial attention mechanism connected in series. In the fine-grained feature alignment stage, multiple residual units based on spatial attention mechanism are used to gradually refine the features of the aligned reference frame and adjacent frames. Each residual unit contains two convolution branches: the main branch transforms the input features through two 64x64 convolution layers. An attention branch first reduces the dimension through a 64x64 convolution layer, then calculates the spatial attention weight through the Self-Attention layer, and then increases the dimension through a 64x64 convolution layer; the output of the main branch is multiplied by the output of the attention branch to obtain the feature weighted by the spatial attention; finally, the weighted feature is added to the input feature through the residual connection to obtain the refined feature output.

7. A computer device, characterized in that: The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the underwater video super-resolution method based on coarse-fine granularity feature alignment as described in any one of claims 1 to 6 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the underwater video super-resolution method based on coarse-grained and fine-grained feature alignment as described in any one of claims 1 to 6.

Citation Information

Cited By

  • High-efficiency and high-quality image reconstruction method and system for pulse camera

    CN119540075A

  • Multi-scale space optimization video super-resolution method

    CN119831848A

  • Video super-resolution reconstruction method and system

    CN120013766A

  • Industrial detection method, system and device based on multi-frame image registration

    CN120125586A