Video noise reduction method and device, equipment, storage medium and program product
By using the noise removal network model of the translation window converter model and the U-Net convolutional neural network model in video noise reduction, integrating multi-size features, the problem of poor video noise reduction in the existing technology is solved, and video images are realized Accurate noise reduction and efficiency improvement.
Patent Information
- Application Number
- CN202411161690.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-11-29
AI Technical Summary
In the prior art, the video noise reduction method has poor processing effect and cannot accurately perform noise reduction processing on video.
The noise removal network model based on the translation window converter model and the U-Net convolutional neural network model is adopted to perform video noise reduction processing on the preprocessed video images. By integrating multi-size features, accurate noise reduction of video images is achieved. deal with.
The processing effect of video noise reduction method is improved, the accuracy and efficiency of video images are ensured, and the quality of the output target video image is improved.
Smart Images

Figure CN119048390A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a video noise reduction method, device, equipment, storage medium and program product. Background Art
[0002] In recent years, with the significant improvement of optical imaging technology and camera element manufacturing technology, video surveillance technology has made significant progress. In particular, the perfect combination of cloud computing technology and video surveillance technology has given rise to video cloud technology. Noise reduction technology is particularly important for video cloud technology, which helps to capture and display important information more clearly, while improving compression effects and reducing distortion.
[0003] In the prior art, video denoising relies on traditional convolutional neural networks, and the video to be denoised is directly input into a trained convolutional neural network to achieve video denoising. The convolutional neural network is trained using video data in an existing database.
[0004] However, the video noise reduction method in the prior art has poor processing effect and cannot accurately perform noise reduction on the video. Summary of the invention
[0005] The present application provides a video noise reduction method, device, equipment, storage medium and program product to solve the problem that the video noise reduction method in the prior art has poor processing effect and cannot accurately perform noise reduction processing technology on the video.
[0006] In a first aspect, the present application provides a video noise reduction method, comprising:
[0007] Acquire the video image to be processed;
[0008] Preprocessing the video image to be processed to obtain a preprocessed video image;
[0009] The trained noise removal network model is used to perform video noise reduction on the video image to obtain the target video image, wherein the noise removal network model is established based on the translation window converter model and the U-Net convolutional neural network model;
[0010] Output the target video image.
[0011] Optionally, the above method, before using the trained noise removal network model to perform video noise reduction processing on the video image to obtain the target video image, further includes:
[0012] Based on the shifting window converter model and the U-Net convolutional neural network model, the original noise removal network model is established;
[0013] The original noise removal network model is trained to obtain a trained noise removal network model.
[0014] Optionally, the above method, based on the translation window converter model and the U-Net convolutional neural network model, establishes an original noise removal network model, including:
[0015] Based on the U-Net convolutional neural network model, determine the backbone structure of the noise removal network model, where the backbone structure includes an encoder and a decoder;
[0016] The translation convolution block of the translation window transformer model is embedded into the backbone structure to obtain the original noise removal network model.
[0017] Optionally, as in the above method, the translation convolution block of the translation window converter model is embedded into the backbone structure to obtain the original noise removal network model, including:
[0018] m translation convolution blocks are used to form an encoder, where each translation convolution block is connected by strided convolution in the encoder;
[0019] n translation convolution blocks are used to form a decoder, wherein in the decoder, each translation convolution block is connected by deconvolution;
[0020] A skip connection structure is used to connect the encoder and decoder;
[0021] Wherein, m and n are positive integers.
[0022] Optionally, as in the above method, the noise removal network model also includes a pyramid structure.
[0023] Optionally, in the above method, the pyramid structure is a dilated convolutional pyramid structure or a pooling pyramid structure.
[0024] Optionally, the above method trains the original noise removal network model to obtain a trained noise removal network model, including:
[0025] Obtain multiple training samples;
[0026] Performing data enhancement processing on the training samples to obtain enhanced data samples, wherein the data enhancement processing includes at least one of image flipping, image rotation, image cropping, image translation, image affine transformation, and hue transformation;
[0027] The original noise removal network model is trained using enhanced data samples to obtain a trained noise removal network model.
[0028] Optionally, the above method uses enhanced data samples to train the original noise removal network model to obtain a trained noise removal network model, including:
[0029] The enhanced data samples are used as the initial parameter values and combined with the transfer learning strategy to train the original noise removal network model to obtain a trained noise removal network model.
[0030] Optionally, in the above method, preprocessing the video image to be processed to obtain a preprocessed video image includes:
[0031] The video image to be processed is subjected to at least one of video stream encoding, contrast enhancement, shot segmentation, brightness adjustment, and video stream decoding and storage to obtain a pre-processed video image.
[0032] In a second aspect, the present application provides a video noise reduction device, comprising:
[0033] An acquisition module, used for acquiring the video image to be processed;
[0034] A first processing module, used for preprocessing the video image to be processed to obtain a preprocessed video image;
[0035] The second processing module is used to use the trained noise removal network model to perform video noise reduction processing on the video image to obtain a target video image, wherein the noise removal network model is established based on a translation window converter model and a U-Net convolutional neural network model;
[0036] The output module is used to output the target video image.
[0037] In a third aspect, the present application provides a video noise reduction device, comprising:
[0038] at least one processor; and
[0039] a memory communicatively connected to at least one processor; wherein,
[0040] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the first aspect or various possible implementations of the first aspect as described above.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect or various possible implementation methods of the first aspect as described above.
[0042] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect or various possible implementation methods of the first aspect.
[0043] The present application provides a video denoising method, device, equipment, storage medium and program product. By acquiring a video image to be processed; preprocessing the video image to be processed to obtain a preprocessed video image; using a trained noise removal network model to perform video denoising on the video image to obtain a target video image, wherein the noise removal network model is established based on a translation window converter model and a U-Net convolutional neural network model; and outputting a target video image. Compared with the prior art of denoising a video by a traditional convolutional neural network, the present application establishes a noise removal network model by a translation window converter model and a U-Net convolutional neural network model, performs video denoising on the preprocessed video image, and accurately realizes denoising of the video image by integrating multi-size features, thereby improving the processing effect of the video denoising method. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0045] Figure 1 A schematic diagram of the architecture of a video noise reduction system provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of a process flow of a video noise reduction method provided in an embodiment of the present application;
[0047] Figure 3 A flowchart of a method for training a noise removal network model provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of the structure of a dilated convolutional pyramid structure provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of the structure of a noise removal network model provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of the structure of a video noise reduction device provided in an embodiment of the present application;
[0051] Figure 7 A schematic diagram of the structure of a video noise reduction device provided in an embodiment of the present application.
[0052] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0054] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0055] In the existing video cloud technology, it is necessary to clearly capture and display important information in the video image, improve the compression effect and reduce distortion. Therefore, it is necessary to reduce the noise of the video image to improve the quality of the video image.
[0056] In the prior art, video noise reduction relies on traditional convolutional neural networks. However, traditional convolutional neural networks have poor processing effects on video noise reduction and are unable to accurately perform noise reduction on videos.
[0057] Based on this, in the prior art, there is a problem that the processing effect of the video noise reduction method is poor and the noise reduction process on the video cannot be accurately performed.
[0058] In order to solve the above problems, the inventive concept of the present application is: in order to improve the accuracy of denoising of video images, compared with the method of performing denoising on video images through traditional convolutional neural networks, the present application proposes a method of establishing a noise removal network model by a translation window converter model and a U-Net convolutional neural network model, and performing video denoising on pre-processed video images. The method accurately realizes denoising of video images by integrating features of multiple sizes, thereby improving the processing effect of the video denoising method.
[0059] Optionally, Figure 1 A schematic diagram of the architecture of a video noise reduction system provided in an embodiment of the present application. Figure 1In the above framework, the above framework includes at least one of a video acquisition device 101, a processing device 102 and a display device 103.
[0060] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the framework of the video noise reduction system. In other feasible implementations of the present application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown may be implemented in hardware, software, or a combination of software and hardware.
[0061] In a specific implementation process, the video acquisition device 101 may include an input / output interface and may also include a communication interface. The video acquisition device 101 may be connected to the processing device via the input / output interface or the communication interface.
[0062] The processing device 102 can establish a noise removal network model based on the sliding window converter model and the U-Net convolutional neural network model, and perform video noise reduction on the preprocessed video image, thereby achieving accurate noise reduction on the video image.
[0063] The display device 103 may also be a touch display screen or a screen of a terminal device, which is used to receive user instructions while displaying the above content to achieve interaction with the user.
[0064] It should be understood that the above-mentioned processing device can be implemented by a processor reading instructions in a memory and executing the instructions, or it can be implemented by a chip circuit.
[0065] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0066] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0067] Optionally, Figure 2 A schematic diagram of a video noise reduction method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes:
[0068] S201: Obtain a video image to be processed.
[0069] In this embodiment, the video image to be processed refers to a video image containing noise. In video image processing, noise refers to random or irregular interference in the image that does not belong to the original signal, including but not limited to sensor noise, compression noise, transmission noise, environmental noise, and quantization noise.
[0070] For example, the video acquisition device may refer to a surveillance camera, and the video images to be processed include but are not limited to video images of construction sites, video images inside supermarkets, and video images of road traffic. By acquiring video images to be processed in a variety of scenes, the diverse actual needs of users are met.
[0071] S202: pre-process the video image to be processed to obtain a pre-processed video image.
[0072] Optionally, preprocessing the video image to be processed to obtain a preprocessed video image includes:
[0073] The video image to be processed is subjected to at least one of video stream encoding, contrast enhancement, shot segmentation, brightness adjustment, and video stream decoding and storage to obtain a pre-processed video image.
[0074] In this embodiment, encoding of the video stream refers to the process of converting the original video data into a specific format for easy transmission and storage. Encoding of the video stream can reduce the size of the video file, save bandwidth and storage space, while maintaining the highest possible image quality.
[0075] Contrast enhancement refers to improving the visibility and detail of an image by adjusting the difference between bright and dark areas in the video image. In poor lighting conditions or poor image quality, contrast enhancement can make the video image clearer and the details more prominent.
[0076] Shot segmentation refers to the process of dividing a video stream into different shots or scenes, which helps to annotate the content of the video.
[0077] Brightness adjustment refers to adjusting the overall brightness of the video image to improve the visibility of the video so that the video image can maintain a good viewing experience under different display devices and lighting conditions.
[0078] Decoding a video stream means converting the encoded video data back to its original format so that the video can be displayed correctly in a player.
[0079] S203, using the trained noise removal network model to perform video noise reduction processing on the video image to obtain a target video image, wherein the noise removal network model is established based on a translation window converter model and a U-Net convolutional neural network model.
[0080] In this embodiment, the sliding window transformer model refers to a deep learning model that combines a sliding window mechanism and a transformer architecture. Through the sliding window mechanism, long sequence data can be effectively processed, thereby reducing the consumption of memory and computing resources.
[0081] The U-Net convolutional neural network model refers to a convolutional neural network architecture. The U-Net convolutional neural network model can retain multi-scale features, thereby improving the segmentation accuracy of video images.
[0082] In this embodiment, the noise removal network model is established by combining the translation window converter model and the U-Net convolutional neural network model, which effectively retains the video image features, thereby improving the noise reduction accuracy of the video image and improving the noise reduction efficiency of the video image.
[0083] S204: Output the target video image.
[0084] In this embodiment, the target video image refers to a clear video image with noise removed that is processed by a noise removal network model.
[0085] In this embodiment, the acquired video image to be processed is preprocessed to obtain a preprocessed video image, thereby improving the quality of the video image; a noise removal network model trained based on a sliding window converter model and a U-Net convolutional neural network model is used to perform video denoising on the video image to obtain a target video image; the noise removal network model established by combining the sliding window converter model and the U-Net convolutional neural network model ensures the denoising accuracy of the video image and improves the denoising efficiency of the video image, and outputs the target video image to improve the user's viewing experience of the video image.
[0086] Figure 3 A flowchart of a method for training a noise removal network model provided in an embodiment of the present application is shown in the above Figure 2 Based on the embodiment shown, Figure 3 As shown, before the above step S203, the method further includes:
[0087] Based on the translation window converter model and the U-Net convolutional neural network model, the original noise removal network model is established, including:
[0088] S301. Based on the U-Net convolutional neural network model, determine the backbone structure of the noise removal network model, wherein the backbone structure includes an encoder and a decoder.
[0089] In this embodiment, the encoder is used to convert the input video image frame into low-dimensional image features, and remove noise while extracting the main features of the video image; the decoder is used to reconstruct the low-dimensional image features into video frames, and at the same time try to restore the original video frames and remove noise.
[0090] Based on the U-Net convolutional neural network model, the backbone structure of the noise removal network model is determined, which effectively retains the image features at all levels and improves the segmentation accuracy of video images, thereby ensuring the accuracy of video denoising.
[0091] S302, embedding the translation convolution block of the translation window converter model into the backbone structure to obtain the original noise removal network model.
[0092] In this embodiment, the translation convolution block of the translation window converter model is embedded into the backbone structure to replace the traditional convolution layer and deconvolution layer, which reduces the computational complexity and improves the computational efficiency while retaining multi-scale feature images.
[0093] Optionally, the noise removal network model also includes a pyramid structure.
[0094] In this embodiment, the pyramid structure is an effective multi-scale processing method, which can capture and fuse features of different sizes through layer-by-layer downsampling and upsampling, thereby improving the noise reduction effect of the noise removal network model.
[0095] Optionally, the pyramid structure is a dilated convolutional pyramid structure or a pooling pyramid structure.
[0096] In this embodiment, the dilated convolution pyramid structure combines the dilated convolution and the pyramid structure, and captures the multi-scale information of the input feature map by inserting dilated convolutions with different dilation rates, thereby improving the noise reduction effect while reducing the amount of calculation and improving the calculation efficiency. The pooling pyramid structure can capture the multi-scale information of the image by performing pooling operations at different scales, thereby enhancing the noise removal performance of the noise removal network model.
[0097] For example, if Figure 4 As shown in the figure, the atrous convolution pyramid structure includes: integrating multi-scale global information through a convolution layer with a convolution size of 1×1, a atrous convolution layer with intervals of 6, 12, and 18, and a combination of an average pooling layer and a 1×1 convolution layer; and then integrating through a convolution layer with a convolution size of 1×1 and a convolution layer with a convolution size of 3×3, thereby realizing the integration of multi-scale feature information of the image.
[0098] The original noise removal network model is trained to obtain a trained noise removal network model, including:
[0099] S303: Obtain multiple training samples.
[0100] In this embodiment, the training samples refer to existing public data sets and video images with noise.
[0101] S304: Perform data enhancement processing on the training samples to obtain enhanced data samples, wherein the data enhancement processing includes at least one of image flipping, image rotation, image cropping, image translation, image affine transformation, and hue transformation.
[0102] In this embodiment, image flipping refers to the process of mirror-reversing an image along a horizontal axis or a vertical axis; image rotation refers to the process of rotating an image around its center point at a certain angle; image cropping refers to the process of extracting a rectangular area from an original image; image translation refers to the process of moving all pixels in an image by specified horizontal and vertical distances; image affine transformation refers to a linear transformation, including operations such as translation, rotation, scaling, and shearing; hue transformation refers to the process of changing the color expression of an image by adjusting parameters such as the hue, saturation, and brightness of the image.
[0103] By performing data enhancement processing on training samples, the diversity of training samples is increased, thereby improving the robustness and universality of the noise removal network model.
[0104] S305: Use the enhanced data samples to train the original noise removal network model to obtain a trained noise removal network model.
[0105] Optionally, the original noise removal network model is trained using the enhanced data sample to obtain a trained noise removal network model including:
[0106] The enhanced data samples are used as the initial parameter values and combined with the transfer learning strategy to train the original noise removal network model to obtain a trained noise removal network model.
[0107] In this embodiment, the original noise removal network model is trained with enhanced data samples to obtain initial parameter values, and the initial parameter values of the original noise removal network model are adjusted through a transfer learning strategy to obtain a trained noise removal network model. This reduces the number of training samples, reduces the training time and computational complexity of the noise removal network model, and thus improves the training efficiency of the noise removal network model.
[0108] In this embodiment, an original noise removal network model is established based on a sliding window converter model and a U-Net convolutional neural network model, so that the noise removal network model not only retains multi-scale features for integration, but also improves computational efficiency; the original noise removal network model is trained to obtain a trained noise removal network model; thereby improving the denoising accuracy and training efficiency of the noise removal network model.
[0109] Figure 5 A schematic diagram of a noise removal network model provided in an embodiment of the present application, in the above Figure 3 Based on the embodiment shown, Figure 5 As shown, in the above step S302, the translation convolution block of the translation window converter model is embedded into the backbone structure to obtain the original noise removal network model, including:
[0110] An encoder is constructed using m shifted convolution blocks, where each shifted convolution block is connected via strided convolution in the encoder; m is a positive integer.
[0111] In this embodiment, for example, the encoder in the backbone structure of the noise removal network model can be composed of 4 translation convolution blocks, and the translation convolution blocks are connected by strided convolution with a step size of 2. The high-resolution feature image is converted into a low-resolution feature image by downsampling, thereby obtaining video image features of various sizes.
[0112] A decoder is formed by using n shifted convolution blocks, wherein in the decoder, each shifted convolution block is connected by deconvolution, wherein n is a positive integer.
[0113] In this embodiment, for example, the decoder in the backbone structure of the noise removal network model can be composed of three translational convolution blocks, and the translational convolution blocks are connected by deconvolution with a step size of 2, and the low-resolution feature image is restored to a high-resolution feature image by upsampling.
[0114] A skip connection structure is used to connect the encoder and decoder.
[0115] In this embodiment, a skip connection structure is used to connect the encoder and the decoder, thereby alleviating the gradient vanishing problem. The skip connection structure integrates multi-scale features for fusion, thereby improving the accuracy of the noise removal network.
[0116] In this embodiment, m shifted convolution blocks and n shifted convolution blocks are used to form an encoder and a decoder respectively, and a jump connection structure is used to connect the encoder and the decoder; the encoder and the decoder composed of the shifted convolution blocks retain multi-size feature images while reducing the computational complexity, improving the computational efficiency and the accuracy of video denoising.
[0117] Figure 6 A schematic diagram of the structure of a video noise reduction device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the video noise reduction device comprises:
[0118] An acquisition module 601 is used to acquire a video image to be processed;
[0119] A first processing module 602 is used to preprocess the video image to be processed to obtain a preprocessed video image;
[0120] The second processing module 603 is used to use the trained noise removal network model to perform video noise reduction processing on the video image to obtain a target video image, wherein the noise removal network model is established based on a translation window converter model and a U-Net convolutional neural network model;
[0121] The output module 604 is used to output the target video image.
[0122] Figure 7 This is a schematic diagram of the structure of the video noise reduction device provided in the embodiment of the present application. Figure 7 As shown, the metadata processing device provided in this embodiment includes:
[0123] At least one processor 701 and a memory 702. Optionally, the device further includes a communication component 703. The processor 701, the memory 702 and the communication component 703 are connected via a bus 704.
[0124] In a specific implementation process, at least one processor 701 executes the computer-executable instructions stored in the memory 702, so that at least one processor 701 executes the above method.
[0125] The specific implementation process of the processor 701 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0126] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0127] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0128] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0129] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0130] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0131] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0132] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in a dedicated integrated circuit. Of course, the processor and the readable storage medium can also exist in a device as discrete components.
[0133] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0134] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0135] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0136] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.
[0137] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0138] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A video noise reduction method, characterized in that: include: Acquire the video image to be processed; Preprocessing the video image to be processed to obtain a preprocessed video image; Using a trained noise removal network model, performing video noise reduction processing on the video image to obtain a target video image, wherein the noise removal network model is established based on a translation window converter model and a U-Net convolutional neural network model; The target video image is output.
2. The method according to claim 1, characterized in that Before the trained noise removal network model is used to perform video noise reduction processing on the video image to obtain the target video image, the method further includes: Based on the shifting window converter model and the U-Net convolutional neural network model, the original noise removal network model is established; The original noise removal network model is trained to obtain a trained noise removal network model.
3. The method according to claim 2, characterized in that The original noise removal network model is established based on the translation window converter model and the U-Net convolutional neural network model, including: Based on the U-Net convolutional neural network model, determining the backbone structure of the noise removal network model, wherein the backbone structure includes an encoder and a decoder; The translation convolution block of the translation window transformer model is embedded into the backbone structure to obtain the original noise removal network model.
4. The method according to claim 3, characterized in that: The translation convolution block of the translation window converter model is embedded into the backbone structure to obtain the original noise removal network model, including: Using m translation convolution blocks to form the encoder, wherein in the encoder, each translation convolution block is connected by a strided convolution; Using n translation convolution blocks to form the decoder, wherein in the decoder, each translation convolution block is connected by deconvolution; The encoder and the decoder are connected using a skip connection structure; Wherein, the m and the n are positive integers.
5. The method according to claim 3 or 4, characterized in that: The noise removal network model also includes a pyramid structure.
6. The method according to claim 5, characterized in that The pyramid structure is a dilated convolutional pyramid structure or a pooled pyramid structure.
7. The method according to claim 2, characterized in that The training of the original noise removal network model to obtain a trained noise removal network model includes: Obtain multiple training samples; Performing data enhancement processing on the training samples to obtain enhanced data samples, wherein the data enhancement processing includes at least one of image flipping, image rotation, image cropping, image translation, image affine transformation, and hue transformation; The enhanced data samples are used to train the original noise removal network model to obtain a trained noise removal network model.
8. The method according to claim 7, characterized in that The adopting the enhanced data sample to train the original noise removal network model to obtain a trained noise removal network model includes: The enhanced data samples are used as initial parameter values, and combined with a transfer learning strategy, the original noise removal network model is trained to obtain a trained noise removal network model.
9. The method according to any one of claims 1 to 4, characterized in that: The preprocessing of the video image to be processed to obtain a preprocessed video image includes: The video image to be processed is subjected to at least one of video stream encoding, contrast enhancement, shot segmentation, brightness adjustment, and video stream decoding and storage to obtain a preprocessed video image.
10. A video noise reduction device, characterized in that: include: An acquisition module, used for acquiring the video image to be processed; A first processing module, used for preprocessing the video image to be processed to obtain a preprocessed video image; A second processing module is used to use a trained noise removal network model to perform video noise reduction processing on the video image to obtain a target video image, wherein the noise removal network model is established based on a translation window converter model and a U-Net convolutional neural network model; An output module is used to output the target video image.
11. A video noise reduction device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the video noise reduction method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the video noise reduction method according to any one of claims 1 to 9.
13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the video noise reduction method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Video image denoising method for multi-frame image fusion based on mask detection
CN112866591A
Neural network fluorescence microscopic image denoising method based on transformer module
CN115147315A
Pneumothorax focus segmentation method based on Swinin-Unet and morphological processing and related equipment
CN115330817A
Techniques for denoising videos
US20230334626A1
