System and method for unified reference picture synthesis
By employing an asymptotic recursive motion estimation method based on image pyramid and feature pyramid levels, the problem of insufficient inter-frame prediction performance in VVC is solved, thereby improving video coding efficiency and image quality.
Patent Information
- Application Number
- CN202480091332.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2026-11-24
AI Technical Summary
Existing video coding technologies do not adequately improve inter-frame prediction performance in the latest video coding standard VVC, especially in RA and LDB configurations, where optimization is difficult.
A progressive recursive motion estimation method based on image pyramid and feature pyramid levels is adopted. Feature maps are generated through an image feature pyramid network, and optical flow vectors are calculated using a motion estimation network to generate a unified reference image to improve inter-frame prediction performance.
This achieves improved VVC inter-frame prediction performance under RA and LDB configurations, thereby enhancing coding efficiency and image quality.
Smart Images

Figure CN123165644A_ABST
Abstract
Description
Background Technology
[0001] The embodiments disclosed herein relate to video coding.
[0002] Digital video has become mainstream and is used in a wide variety of applications, including digital television, video telephony, and video conferencing. These digital video applications are feasible thanks to advancements in computing and communication technologies, as well as efficient video coding techniques. Video data can be compressed using various video coding techniques, allowing it to be encoded using one or more video coding standards. Exemplary video coding standards may include, but are not limited to: versatile video coding (H.266 / VVC), high-efficiency video coding (H.265 / HEVC), advanced video coding (H.264 / AVC), and Moving Picture Expert Group (MPEG) coding. Summary of the Invention
[0003] According to one aspect of this disclosure, a method for video encoding or decoding is provided. The method may include: a processor obtaining a first input image associated with a first time and a second input image associated with a second time. The first and second input images may form a first image pyramid pair. The method may include: the processor generating a second image pyramid pair by performing a first bicubic downsampling on the first image pyramid pair. The first and second image pyramid pairs may be associated with different resolutions. The method may include: the processor generating a third image pyramid pair by performing a second bicubic downsampling on the second image pyramid pair. The first, second, and third image pyramid pairs may each be associated with different resolutions. The method may include: the processor obtaining a first set of feature maps by inputting the first image pyramid pair into a first feature extraction network, obtaining a second set of feature maps by inputting the second image pyramid pair into a second feature extraction network, and obtaining a third set of feature maps by inputting the third image pyramid pair into a third feature extraction network. The first, second, and third set of feature maps may be associated with the same resolution. The method may include: the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first, second, and third set of feature maps. The method may include: the processor generating a reference image associated with a third time based on multiple final optical flow vectors. The third time may be between the first time and the second time, or after the first time and the second time.
[0004] According to another aspect of this disclosure, an apparatus for video encoding or decoding is provided. The apparatus may include a processor and a memory storing instructions. The memory stores instructions that, when executed by the processor, cause the processor to obtain a first input image associated with a first time and a second input image associated with a second time, the first and second input images forming a first image pyramid pair. The memory stores instructions that, when executed by the processor, cause the processor to generate a second image pyramid pair by performing a first bicubic downsampling on the first image pyramid pair. The first and second image pyramid pairs may be associated with different resolutions. The memory stores instructions that, when executed by the processor, cause the processor to generate a third image pyramid pair by performing a second bicubic downsampling on the second image pyramid pair. The first, second, and third image pyramid pairs may each be associated with different resolutions. The memory stores instructions that, when executed by the processor, cause the processor to obtain a first set of feature maps by inputting the first image pyramid pair into a first feature extraction network, obtain a second set of feature maps by inputting the second image pyramid pair into a second feature extraction network, and obtain a third set of feature maps by inputting the third image pyramid pair into a third feature extraction network. The first, second, and third sets of feature maps can be associated with the same resolution. A memory-stored instruction, when executed by the processor, causes the processor to perform asymptotic recursive motion estimation using the first, second, and third sets of feature maps to compute multiple final optical flow vectors. A memory-stored instruction, when executed by the processor, causes the processor to generate a reference image associated with a third time based on the multiple final optical flow vectors. The third time can be between the first and second times, or after the first and second times.
[0005] According to another aspect of this disclosure, a non-transitory computer-readable medium storing instructions is provided. When executed by a processor, the instructions cause the processor to obtain a first input image associated with a first time and a second input image associated with a second time, the first and second input images forming a first image pyramid pair. When executed by a processor, the instructions cause the processor to generate a second image pyramid pair by performing a first bicubic downsampling on the first image pyramid pair. The first and second image pyramid pairs may be associated with different resolutions. When executed by a processor, the instructions cause the processor to generate a third image pyramid pair by performing a second bicubic downsampling on the second image pyramid pair. The first, second, and third image pyramid pairs may each be associated with different resolutions. When executed by a processor, the instructions cause the processor to obtain a first set of feature maps by inputting the first image pyramid pair into a first feature extraction network, a second set of feature maps by inputting the second image pyramid pair into a second feature extraction network, and a third set of feature maps by inputting the third image pyramid pair into a third feature extraction network. The first, second, and third set of feature maps may be associated with the same resolution. When executed by a processor, this instruction causes the processor to perform asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps to compute multiple final optical flow vectors. When executed by a processor, this instruction also causes the processor to generate a reference image associated with a third time based on the multiple final optical flow vectors. The third time may be between the first and second times, or after the first and second times.
[0006] These exemplary embodiments are mentioned not to limit or define this disclosure, but to provide examples to aid in understanding it. Further embodiments are described in the detailed description, and further description is provided. Attached Figure Description
[0007] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments of the present disclosure and, together with the description, further serve to explain the principles of the present disclosure and enable those skilled in the art to make and use the present disclosure.
[0008] Figure 1 A block diagram of an exemplary encoding system according to some embodiments of the present disclosure is shown.
[0009] Figure 2 A block diagram of an exemplary decoding system according to some embodiments of the present disclosure is shown.
[0010] Figure 3 Detailed block diagrams of exemplary video encoding frameworks according to some embodiments of the present disclosure are shown.
[0011] Figure 4 Some embodiments according to this disclosure are shown. Figure 3 A detailed block diagram of the training and use of the Unified Reference Frame Synthesis (URFS) model included in the video coding framework.
[0012] Figure 5 Some embodiments according to this disclosure are shown. Figure 3 A detailed block diagram of the URFS model that can be included in the video coding framework.
[0013] Figure 6 Some embodiments according to this disclosure are shown. Figure 5 A detailed block diagram of an exemplary image feature pyramid network for the URFS model.
[0014] Figure 7 Some embodiments according to this disclosure are shown. Figure 5 A detailed block diagram of an exemplary progressive recursive motion estimation network for the URFS model.
[0015] Figure 8 Some embodiments according to this disclosure are shown. Figure 7 A schematic diagram of the optical flow vectors and feature maps generated by the progressive recursive motion estimation network.
[0016] Figure 9 Some embodiments according to this disclosure are shown. Figure 5 A detailed block diagram of an exemplary image enhancer and image synthesizer architecture that may be included in the URFS model.
[0017] Figure 10 Some embodiments according to this disclosure are shown. Figure 5 A schematic diagram of an exemplary random access (RA) mode and an exemplary low delay B (LDB) mode of the URFS model.
[0018] Figure 11 A schematic diagram of the time steps of input images using the RA mode and LDB mode of the URFS model according to some embodiments of the present disclosure is shown.
[0019] Figure 12 A flowchart illustrating an exemplary method for video encoding or decoding according to some aspects of this disclosure is shown.
[0020] Embodiments of this disclosure will be described with reference to the accompanying drawings. Detailed Implementation
[0021] While some configurations and arrangements have been discussed, it should be understood that they are merely illustrative for purposes of reference. Those skilled in the art will recognize that other configurations and arrangements can be used without departing from the spirit and scope of this disclosure. It will be apparent to those skilled in the art that this disclosure can also be used in a variety of other applications.
[0022] It should be noted that references to "an embodiment," "an exemplary embodiment," "some embodiments," "certain embodiments," etc., in the specification indicate that the described embodiments may include specific features, structures, or characteristics, but each embodiment does not necessarily include that specific feature, structure, or characteristic. Furthermore, such phrases do not necessarily refer to the same embodiment. In addition, when a specific feature, structure, or characteristic is described in conjunction with embodiments, those skilled in the art should understand that, whether explicitly described or not, such feature, structure, or characteristic can also be implemented in combination with other embodiments.
[0023] Generally, terms can be understood at least partly from their usage in context. For example, depending at least partly on the context, the term "one or more" as used herein can be used to describe any feature, structure, or characteristic in a singular sense, or a combination of features, structures, or characteristics in a plural sense. Similarly, depending at least partly on the context, terms such as "a," "an," or "the" can also be understood to convey either a singular or a plural usage. Furthermore, the term "based on" can be understood not necessarily to convey an exclusive set of factors, but rather to allow for the existence of other factors that are not necessarily explicitly described, which also depends at least partly on the context.
[0024] Various aspects of a video coding system will now be described with reference to various apparatuses and methods. These apparatuses and methods will be described in the detailed description below and illustrated in the accompanying drawings by various modules, components, circuits, steps, operations, processes, algorithms, etc. (collectively, “elements”). These elements can be implemented using electronic hardware, firmware, computer software, or any combination thereof. Whether these elements are implemented as hardware, firmware, or software depends on the specific application and the design constraints imposed on the system as a whole.
[0025] The techniques described herein can be used in a variety of video coding applications. As described herein, video coding includes encoding and decoding video. Video encoding and decoding can be performed on a block-by-block basis. For example, encoding / decoding processes such as transform, quantization, prediction, loop filtering, reconstruction, etc., can be performed on encoded blocks, transform blocks, or prediction blocks. As described herein, the block to be encoded / decoded will be referred to as the “current block.” For example, depending on the current encoding / decoding process, the current block can represent an encoded block, a transform block, or a prediction block. Furthermore, it should be understood that the term “unit” as used in this disclosure refers to a basic unit for performing a particular encoding / decoding process, and the term “block” refers to a sample array of a predetermined size. Unless otherwise stated, “block,” “unit,” and “component” are used interchangeably.
[0026] Recently, deep learning-based video image interpolation and extrapolation have received considerable attention, and several studies have been dedicated to exploring deep reference image generation strategies for inter-frame prediction tasks in video coding (e.g., HEVC and VVC).
[0027] To generate reference blocks for motion estimation and motion compensation in existing inter-frame coding techniques, neural reference synthesis (NRS) can be used. While NRS achieves some coding gains, it is designed for HEVC, not for the latest video coding standard VVC.
[0028] For inter-frame prediction, an error-corrected auto-regressive network (ECAR-net) can be used. Although the proposed scheme enhances the performance of HEVC inter-frame prediction coding, it cannot achieve the same level of enhancement in VVC coding performance.
[0029] To optimize inter-frame prediction in VVC, a deep reference frame (DRF) generation method can be used. While DRF improves coding performance, the optical flow estimation module uses an off-the-shelf pre-trained model (Intermediate Feature Refinement Network (IFRNet)), which produces suboptimal results because the entire framework cannot perform end-to-end optimization. IFRNet can be used in both RA and LDB modes.
[0030] To overcome these and other challenges, this disclosure provides a unified reference image generation framework for VVC inter-frame prediction in both RA and LDB configurations. For example, this disclosure uses two pyramid levels to perform optical flow estimation for motion estimation: an image pyramid level and a feature pyramid level. This enables the network to recursively compute optical flow between features with the same resolution, and also to progressively compute optical flow between features with different resolutions, achieving true coarse-to-fine motion estimation refinement.
[0031] Figure 1 A block diagram of an exemplary encoding system 100 according to some embodiments of the present disclosure is shown. Figure 2 A block diagram of an exemplary decoding system 200 according to some embodiments of the present disclosure is shown. Each system 100 or system 200 can be applied to or integrated into a variety of systems and devices capable of data processing, such as computers and wireless communication devices. For example, system 100 or system 200 can be all or part of a mobile phone, desktop computer, laptop computer, tablet computer, in-vehicle computer, game console, printer, positioning device, wearable electronic device, smart sensor, virtual reality (VR) device, augmented reality (AR) device, or any other suitable electronic device with data processing capabilities. Figure 1 and Figure 2 As shown, system 100 or system 200 may include processor 102, memory 104, and interface 106. These components are shown as being connected to each other via a bus, but other connection types are also permitted. It should be understood that system 100 or system 200 may include any other suitable components for performing the functions described herein.
[0032] Processor 102 may include a microprocessor, such as a graphics processing unit (GPU), image signal processor (ISP), central processing unit (CPU), digital signal processor (DSP), tensor processing unit (TPU), vision processing unit (VPU), neural processing unit (NPU), synergistic processing unit (SPU), or physics processing unit (PPU), microcontroller unit (MCU), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), programmable logic device (PLD), state machine, gated logic, discrete hardware circuitry, and other suitable hardware for performing the various functions described throughout this disclosure. Although Figure 1 and Figure 2 Only one processor is shown, but it should be understood that multiple processors may be included. Processor 102 may be a hardware device having one or more processing cores. Processor 102 can execute software. Software should be interpreted broadly as representing instructions, instruction sets, codes, code segments, program code, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, executable files, threads of execution, procedures, functions, etc., regardless of whether it is called software, firmware, middleware, microcode, hardware description languages, or others. Software may include computer instructions written in interpreted languages, computer instructions written in compiled languages, or computer instructions written in machine code. Other technologies used to indicate hardware are also permitted within the broad category of software.
[0033] Memory 104 can broadly include both memory (aka, main / system memory) and storage (aka, secondary storage). For example, memory 104 may include random-access memory (RAM), read-only memory (ROM), static RAM (SRAM), dynamic RAM (DRAM), ferro-electric RAM (FRAM), electrically erasable programmable ROM (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, hard disk drive (HDD), such as disk storage or other magnetic storage devices, flash memory drive, solid-state drive (SSD), or any other medium that can be used to carry or store desired program code in the form of instructions accessed and executed by processor 102. More broadly, memory 104 can be implemented by any computer-readable medium, such as non-transitory computer-readable media. Although in Figure 1 and Figure 2 Only one memory is shown, but it should be understood that multiple memories may be included.
[0034] Interface 106 can broadly include data interfaces and communication interfaces, with the communication interface used to receive and transmit signals during the process of receiving and transmitting information with other external network components. For example, interface 106 may include input / output (I / O) devices and wired or wireless transceivers. Although in Figure 1 and Figure 2 Only one memory is shown, but it should be understood that it may include multiple interfaces.
[0035] Processor 102, memory 104, and interface 106 may be implemented in various forms within system 100 or 200 for performing video encoding functions. In some embodiments, processor 102, memory 104, and interface 106 of system 100 or 200 are implemented (e.g., integrated) on one or more system-on-chip (SoCs). In one example, processor 102, memory 104, and interface 106 may be integrated on an application processor (AP) SoC that processes application processing (including running video encoding and decoding applications) within an operating system (OS) environment. In another example, processor 102, memory 104, and interface 106 may be integrated on a dedicated processor chip for video encoding, such as a GPU or ISP chip dedicated to image and video processing in a real-time operating system (RTOS).
[0036] like Figure 1 As shown, in the encoding system 100, the processor 102 may include one or more modules, such as the encoder 101 (also referred to herein as a "preprocessing network"). Although Figure 1 Encoder 101 is shown within a processor 102; however, it should be understood that encoder 101 may include one or more submodules that may be implemented on different processors, either close to or far from each other. Encoder 101 (and any corresponding submodules or subunits) may be a hardware unit of processor 102 (e.g., part of an integrated circuit) designed for use with other components or software units implemented by processor 102 by executing at least a portion of a program (i.e., instructions). The program instructions may be stored on a computer-readable medium (e.g., memory 104) and, when executed by processor 102, may perform processing with one or more functions related to video coding, such as image segmentation, inter-frame prediction, intra-frame prediction, transform, quantization, filtering, entropy coding, etc., as described in detail below.
[0037] Similarly, such as Figure 2 As shown, in the decoding system 200, the processor 102 may include one or more modules, such as the decoder 201 (also referred to herein as a "post-processing network"). Although Figure 2Decoder 201 is shown within a processor 102; however, it should be understood that decoder 201 may include one or more submodules that may be implemented on different processors, either close to or far from each other. Decoder 201 (and any corresponding submodules or subunits) may be a hardware unit of processor 102 (e.g., part of an integrated circuit) designed for use with other components or software units implemented by processor 102 by executing at least a portion of a program (i.e., instructions). The program instructions may be stored on a computer-readable medium (e.g., memory 104), and when executed by processor 102, the instructions may perform processing with one or more functions related to video decoding, such as entropy decoding, inverse quantization, inverse transform, inter-frame prediction, intra-frame prediction, and filtering, as described in detail below.
[0038] Figure 3 A detailed block diagram of an exemplary video coding network 300 (hereinafter referred to as "video coding network 300") according to some embodiments of the present disclosure is shown.
[0039] like Figure 3 As shown, the video coding network 300 may include, for example, a transform unit 302, a quantization component 304, an entropy coding unit 306, a scaling unit 308, an inverse transform unit 310, a loop filtering unit 312, a decoded image buffer 314, an URFS network, an inter-frame prediction unit 318, an intra-frame prediction unit 326, an adder / subtractor 328, and an adder / subtractor 330. The inter-frame prediction unit 318 may include, for example, a reference image list 320, a motion estimation unit 322, and a motion compensation unit 324.
[0040] To initiate the video encoding operation, the video encoding network 300 feeds the current image region 301 to the transform unit 302, which can encode the geometric positions and attributes associated with the grid vertices. The geometry of the grid can be positional. ( ,in K (The number of vertices in the mesh) and attributes ( ,in DA set of vertices (the number of attributes per vertex). In some embodiments, attribute encoding depends on the geometry being decoded. Therefore, the positions of mesh vertices can be encoded first. Since geometric positions can be represented by floating-point numbers in the original coordinate system, transformation unit 302 can be used to perform coordinate transformations and attribute transformations (e.g., based on the results of geometric analysis). Quantization component 304 can be used to quantize the transformation coefficients of the attributes to generate a quantization hierarchy of the attributes associated with each point, thereby reducing the dynamic range. Entropy encoding unit 306 is used to encode the resulting quantization hierarchy of the attributes. After entropy encoding, a bitstream 303 can be output (e.g., an encoded bitstream).
[0041] On the decoder side, a quantization level input scaling unit 308 can be used. The scaling unit 308 can be used to decode the positions associated with vertices of the dynamic mesh from the geometric bitstream. A loop filtering unit 312 can be used to generate decoded images, which are stored in a decoded image buffer 314. For example, the decoded image buffer 314 can store a first input image 305a and a second input image 305b from the input URFS model 316. The URFS model 316 can be used to generate a reference image 307 using optical flow vectors, which are generated by applying asymptotic recursive motion estimation to the first input image 305a and the second input image 305b, as described below. Figures 4 to 11 As described.
[0042] Reference image 307 can be maintained by reference image list 320. Motion estimation unit 322 can perform motion estimation using reference images from reference image list 320. Motion compensation unit 324 can perform motion compensation using motion estimation information output by motion estimation unit 322. Inter-frame prediction unit 318 can perform inter-frame prediction for decoding, while intra-frame prediction unit 326 can perform intra-frame prediction for decoding.
[0043] In some implementations, the inter-frame prediction unit 318 can derive the prediction block of the input current image 301 based on a reference block (reference sample array) specified by motion vectors on the reference image 307. Here, to reduce the amount of motion information transmitted in inter-frame prediction mode, motion information can be predicted on a block, sub-block, or sample basis based on the correlation between motion information between neighboring blocks and the current block. Motion information may include motion vectors and reference image indices. Motion information may also include inter-frame prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the case of inter-frame prediction, neighboring blocks may include spatially adjacent blocks present in the input current image 301 and temporally adjacent blocks present in the reference image 307. The reference image 307 including the reference blocks and the reference image including the temporally adjacent blocks may be the same or different. Temporally adjacent blocks may be called co-located reference blocks, co-located CUs (colCU), etc., and the reference image including the temporally adjacent blocks may be called co-located images (colPic). For example, the inter-frame prediction unit 318 can configure a motion information candidate list based on neighboring blocks and generate information indicating which candidate to use to derive the motion vector and / or reference image index of the current block. Inter-frame prediction can be performed based on various prediction modes. For example, in skip mode and merge mode, the inter-frame prediction unit 318 can use the motion information of neighboring blocks as the motion information of the current block. Unlike the merge mode, in skip mode, residual signals may not be transmitted. In motion vector prediction (MVP) mode, the motion vectors of neighboring blocks can be used as motion vector predictors, and the motion vector of the current block can be indicated by sending the motion vector difference.
[0044] Inter-frame prediction unit 318 can generate prediction signals based on various prediction methods described below. For example, the predictor can predict a block not only by applying intra-frame prediction or inter-frame prediction, but also by applying both intra-frame prediction and inter-frame prediction simultaneously. This can be referred to as combined inter- and intra-frame prediction (CIIP). Furthermore, the predictor can predict blocks based on an intra-block copy (IBC) prediction mode or a palette mode. The IBC prediction mode or palette mode can be used for content image / video coding, such as screen content coding (SCC), for games. Although IBC essentially performs prediction in the current image, it can be performed similarly to inter-frame prediction because a reference block is derived from the current image. That is, IBC can use at least one of the inter-frame prediction techniques described in this document. The palette mode can be considered as an example of intra-frame coding or intra-frame prediction. When applying the palette mode, sample values within the image can be signaled based on information from the palette index and palette table.
[0045] The prediction signal generated by the inter-frame prediction unit 318 can be used to generate a reconstructed signal or a residual signal. The transform unit 302 can generate transform coefficients by applying transform techniques to the residual signal. For example, the transform techniques can include at least one of the following: discrete cosine transform (DCT), discrete sine transform (DST), Karhunen-Loève transform (KLT), graph-based transform (GBT), or conditionally non-linear transform (CNT). Here, GBT refers to the transform obtained from a graph when the relationship information between pixels is represented graphically. CNT refers to the transform generated based on the prediction signal generated using all previously reconstructed pixels. Furthermore, the transform process can be applied to square pixel blocks of the same size or to blocks with variable sizes instead of square shapes.
[0046] Quantization unit 304 quantizes the transform coefficients and transmits them to entropy coding unit 306, which encodes the quantized signal (information on the quantized transform coefficients) into an output bitstream 303. This information on the quantized transform coefficients can be referred to as residual information. Quantization unit 304 can rearrange the block-type quantized transform coefficients into a one-dimensional vector form based on the coefficient scan order, and generate information on the quantized transform coefficients based on this one-dimensional vector form. Entropy coding unit 306 can perform various coding methods, such as exponential Golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC). Entropy coding unit 306 can encode information required for video / image reconstruction other than the quantized transform coefficients (e.g., values of syntax elements). The encoded information (e.g., encoded video / image information) can be transmitted or stored in the form of a bitstream at the network abstraction layer (NAL). The video / image information may also include information on various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS). Furthermore, the video / image information may also include general constraint information. In this document, information transmitted from the encoding device to / signaled to the decoding device may be included in the video / image information. The video / image information can be encoded using the encoding process described above and included in the bitstream. The bitstream may be transmitted over a network or stored in a digital storage medium. The network may include broadcast networks and / or communication networks, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD. A transmitter (not shown) that transmits the signal output from the entropy encoding unit 306 and / or a storage unit (not shown) that stores the signal may be included as an internal / external element of the video encoding network 300, or the transmitter may be included in the entropy encoding unit 306.
[0047] The quantization transform coefficients output from quantization unit 304 can be used to generate a prediction signal. For example, the residual signal (residual block or residual sample) can be reconstructed by applying dequantization and inverse transform to the quantization transform coefficients through scaling unit 308 and inverse transform unit 310. Adder / subtractor 330 adds the reconstructed residual signal to the prediction signal output from inter-frame prediction unit 318 or intra-frame prediction unit 326 to generate a reconstructed signal (reconstructed image, reconstructed block, reconstructed sample array). If the block to be processed has no residual, for example, in the case of applying a skip mode, the prediction block can be used as a reconstructed block. Adder / subtractor 330 can be referred to as a reconstructor or reconstructed block generator. The generated reconstructed signal can be used for intra-frame prediction of the next block to be processed in the current image, and can be used for inter-frame prediction of the next image by filtering as described below.
[0048] Simultaneously, lumamapping with chroma scaling (LMCS) can be applied during image encoding and / or reconstruction.
[0049] The loop filter 312 can improve the subjective / objective image quality by applying filtering to the reconstructed signal. For example, the loop filter 312 can generate a modified reconstructed image by applying various filtering methods to the reconstructed image and store the modified reconstructed image in the decoded image buffer 314. Various filtering methods may include, for example, deblocking filtering, sample adaptive shifting, adaptive loop filtering, bilateral filtering, etc. The loop filter 312 can generate various filtering-related information and transmit the generated information to the entropy coding unit 306. The filtering-related information can be encoded by the entropy coding unit 306 and output in the output bitstream 303.
[0050] The modified reconstructed image transmitted to the decoded image buffer 314 can be sent to the reference image list 320, which is later updated by the reference image 307 generated by the URFS model 316. When inter-frame prediction is applied through the encoding device, prediction mismatch between the encoding and decoding devices can be avoided, and encoding efficiency can be improved.
[0051] Figure 4 Some embodiments according to this disclosure are shown. Figure 3 A detailed block diagram 400 shows the training and use of the URFS model 316 included in the video coding network 300 (e.g., VVC encoder / decoder). (See reference...) Figure 4During training phase 420, QP distance 407 is used to train the URFS model 316. The QP distance 407 training strategy uses images with fewer artifacts compressed by the VVC test model (VTM) (e.g., output image 403a from the URFS model 316 trained with input image 401a) as labels, instead of using uncompressed images (e.g., the ground truth image 405) as training labels.
[0052] In the online inference phase 430, the URFS model 316 is first integrated into the VTM software to ensure online usability. For example, two reconstructed images 401b and QP from the decoded image buffer (DPB) 314 are compared. Figure 1 The image is fed into the URFS model 316 to synthesize an output image 403b (e.g., a reference image). The output image 403b is inserted into the reference image list (RPL) as a replacement to mitigate motion-related artifacts.
[0053] The URFS model 316 has the same network architecture (e.g., a unified model) in both RA and LDB configurations, while the JVET-AD0160 has different network architectures in both RA and LDB configurations. The URFS model 316 does not require changes to the motion estimation in the VTM and does not require additional information to be written to the bitstream.
[0054] Figure 5 Some embodiments according to this disclosure are shown. Figure 3 A detailed block diagram 500 of the URFS model 316 that can be included in the video coding network 300 is provided. (See reference...) Figure 5 The URFS model 316 may include an image feature pyramid network 501, a progressive recursive motion estimation network 503 (hereinafter referred to as "motion estimation network 503"), and an image generation network 505.
[0055] The image feature pyramid network 501 generates image-level pyramids and feature-level pyramids. These two pyramids, when combined, can overcome the challenges of large-scale motion while reducing computational complexity. For example, the image feature pyramid network 501 can receive an input image pair associated with a first resolution, which can be used as a first image pyramid pair 507a. Bicubic downsampling of the first image pyramid pair 507a can be performed to obtain a second image pyramid pair 507b, which has a second resolution lower than the first resolution. Bicubic downsampling of the second image pyramid pair 507b can be performed to obtain a third image pyramid pair 507c, and so on. For ease of illustration and depiction, [the following is a more detailed explanation]. Figure 5Only image pyramid pairs of levels 5, 4, and 3 are shown and described. However, in practice, the image feature pyramid network 501 can implement levels 5 through 1. Furthermore, the image feature pyramid network 501 can implement more or fewer than five levels without departing from the scope of this disclosure.
[0056] Still referencing Figure 5 Each image pyramid level can have a corresponding feature extractor used to generate feature maps from its image pyramid. The feature maps generated at each level can have the same resolution. For example, level 5 feature extractor 502a can generate a first set of feature maps 509a from the first image pyramid pair 507a, level 4 feature extractor 502b can generate a second set of feature maps 509b from the second image pyramid pair 507b, and level 3 feature extractor 502c can generate a third set of feature maps 509c from the third image pyramid pair 507c. The first set of feature maps 509a, the second set of feature maps 509b, and the third set of feature maps 509c can be input into the motion estimation network 503. The following section combines... Figure 6 Describe an example network structure for a feature extractor.
[0057] Figure 6 Some embodiments according to this disclosure are shown. Figure 5 Detailed block diagram of the URFS model 316 image feature pyramid network 501.
[0058] like Figure 6 As shown, this technique uses both feature-level and image-level pyramids. This contrasts with existing techniques, which only use feature pyramids to handle large-scale motion, thus increasing the receptive field. First, the image feature pyramid network 501 performs bicubic downsampling to construct the image-level pyramid (…). Then, the feature-level pyramid is obtained through the corresponding feature extraction network (e.g., level 5 feature extractor 502a, level 4 feature extractor 502b, and level 3 feature extractor 502c). ).
[0059] like Figure 6 As shown, the level 5 feature extractor 502a includes five layers of convolutional layer pairs (e.g., 3x3 convolutional layers, 3x3 convolutional layers with a stride of 2 (s=2), or 2D convolutional layers), the level 4 feature extractor 502b includes four layers of convolutional layer pairs (e.g., 3x3 convolutional layers, 3x3 convolutional layers with a stride of 2 (s=2), or 2D convolutional layers), and the level 3 feature extractor 502c includes three layers of convolutional layer pairs (e.g., 3x3 convolutional layers, 3x3 convolutional layers with a stride of 2 (s=2), or 2D convolutional layers). The first set of feature maps 509a generated by the level 5 feature extractor 502a can be represented as follows: ,in The second set of feature maps 509b generated by the level 4 feature extractor 502b can be represented as: ,in The third set of feature maps 509c generated by the level 3 feature extractor 502c can be represented as: ,in This is a feature map.
[0060] Refer again Figure 5 The motion estimation network 503 can recursively predict bidirectional optical flow at feature levels of the same resolution, and progressively estimate and upsample optical flow at feature levels of different resolutions, as described below. Figure 7 As described.
[0061] Figure 7 Some embodiments according to this disclosure are shown. Figure 5 Detailed block diagram of the motion estimation network 503 for the URFS model 316.
[0062] refer to Figure 7 The motion estimation network 503 predicts bidirectional flow at feature levels of the same resolution and progressively estimates and upsamples flow at feature levels of different resolutions. Overall, the motion estimation network 503 learns residual optical flow vectors and continuously adds them together. For ease of description and illustration, only feature maps from levels 5, 4, and 3 are depicted; however, it should be understood that motion estimation can be performed using five sets of feature maps at each resolution when determining the final set of optical flow vectors 513.
[0063] For example, the third set of feature maps 509c ( Input motion estimation block 1 (MEB1) 702. The time step T indicates the time step between images in the image pyramid and may also be included in MEB1 702. MEB1 702 may include multiple 3x3 convolutional layers and a summation operation to generate a first set of optical flow vectors from the third set of feature maps 509c. The first set of optical flow vectors can be input to the twist block 704, MEB1 702, and summation block 706 associated with the level 4 image pyramid.
[0064] The second set of feature maps 509b can be input into the corresponding twist block 704, which can twist the second set of feature maps 509b using the first set of optical flow vectors. The twisted feature map can be input into MEB1, which generates an intermediate second set of optical flow vectors based on the twisted second set of feature maps and the first set of optical flow vectors. Summation block 706 can perform a summation operation using the first set of optical flow vectors and the intermediate second set of optical flow vectors to generate the final second set of optical flow vectors. Motion estimation network 503 can upsample the final second set of optical flow vectors. The upsampled second set of optical flow vectors can be input into the twist block 704 associated with the first set of feature maps 509a, motion estimation block 2 (MEB2) 708, and summation block 706.
[0065] The first set of feature maps 509a can be input into the corresponding twist block 704. Twist block 704 can twist the first set of feature maps 509a using the upsampled second set of optical flow vectors. The twisted feature map can be input into MEB2 708. MEB2 708 generates an intermediate third set of optical flow vectors based on the twisted first set of feature maps and the upsampled second set of optical flow vectors. Summation block 706 can perform a summation operation using the upsampled second set of optical flow vectors and the third set of optical flow vectors to generate the final third set of optical flow vectors. The final third set of optical flow vectors is input into the twist block 704, motion estimation block 2 (MEB1) 708, and summation block 706 associated with the next stage, in which the feature maps have been upsampled ( ).like Figure 7 As shown, these operations continue until the final set of optical flow vectors 513 is generated. ). Figure 8 It shows Figure 7 The list 800 contains the inputs, outputs, and optical flow vectors used / generated at each stage of motion estimation.
[0066] Refer again Figure 5 The final set of feature maps 511 can be input into the image to generate a backward warp block 504 of the image generation network 505. The final set of optical flow vectors 513 can also be input into the image to generate a backward warp block 504 and a feature enhancer 506 of the image generation network 505. Furthermore, the input image (the first image pyramid pair 507a) can be input into the backward warp block 504. The backward warp block 504 can warp the input image based on the final set of optical flow vectors 513. The warped image can be input into the feature enhancer 506, which uses the final set of feature maps 511 to enhance the features of the warped image. The enhanced warped image is then input into an image synthesizer 508, which synthesizes the enhanced warped image into an output image 515 (e.g., a reference image). Figure 9As shown, both the feature enhancer 506 and the image synthesizer 508 include the U-net architecture as their basic structure and are equipped with depth-wise-separable convolution (DSC) blocks.
[0067] Figure 9 Some embodiments according to this disclosure are shown. Figure 5 The feature enhancer 506 and image synthesizer 508 can use an exemplary U-net architecture 900. For example, the U-net architecture 900 may include multiple 3x3 convolutional layers 902, a DSC block 904, a max-pooling layer 906, a pixel rearrangement layer 908, and an x2 DSC block 910, which includes multiple 1x1 convolutional layers 912 and 3x3 DSC layers 914. Figure 5 The image generation network 505, constructed with the U-net architecture 900 as its basic backbone, organically combines motion compensation information with the feature enhancer 506 and image synthesizer 508 to synthesize a high-quality reference image. For example... Figure 5 As shown, DSC blocks 904 / 910 were used to reduce parameter complexity.
[0068] Figure 10 Some embodiments according to this disclosure are shown. Figure 5 A schematic diagram 1000 illustrates the exemplary RA mode and exemplary LDB mode of the URFS model. In the RA mode of URFS, the input image 1001a is discontinuous in the time domain, for example... and RA mode 1002a generates output image 1003a. The output image lies between the two input images 1001a in the time domain. In the Low Latency B (LDB) mode 1002b of URFS, the input image 1001b is continuous in the time domain, for example... and LDB mode 1002b generates an output image of 1003b. The output image is located after the input image 1001b in the time domain.
[0069] Figure 11 A schematic diagram is shown of the time step 1100 of an input image using the RA mode and LDB mode with the URFS model according to some embodiments of the present disclosure. Using the RA mode, a time step of T=1, 2, 3, or 4 can be used. Using the LDB mode, a time step of T=1 is used.
[0070] refer to Figure 11In the first example RA mode 1102a, a time step of T=1 is used between the input images 1101a. Here, the output image 1103a at t=2 is generated using the first input image 1101a at t=1 and the second input image 1101a at t=3.
[0071] In the second RA mode 1102b, a time step of T=4 is used. Here, the first input image 1101b at t=4 and the second input image 1101b at t=12 are used to generate the output image 1103b at t=8.
[0072] In LDB mode 1104, a time step of T=1 is used. Here, the first input image 1101c at t=1 and the second input image 1101c at t=2 are used to generate the output image 1103c at t=3.
[0073] Figure 12 A flowchart of an exemplary method 1200 for video encoding according to some embodiments of the present disclosure is shown. Method 1200 may be performed by means of an encoder 101, a decoder 201, a video coding network 300, an URFS model 316, an image feature pyramid network 501, a progressive recursive motion estimation network 503, and / or an image generation network 505, etc. Method 1200 may include operations 1202 to 1212 as described below. It should be understood that some operations may be optional, and some operations may be performed simultaneously or in combination with... Figure 12 The different execution sequences are shown.
[0074] At 1202, the device can acquire a first input image associated with a first time and a second input image associated with a second time, the first input image and the second input image forming a first image pyramid pair. For example, refer to Figure 5 The image feature pyramid network 501 can receive input image pairs associated with a first resolution, which can be used as a first image pyramid pair 507a. For example... Figure 3 As shown, the input image can be obtained from the decoded image buffer.
[0075] At 1204, the device can generate a second image pyramid pair by performing a first filter on the first image pyramid pair. For example, refer to Figure 5 It is possible to perform bicubic downsampling (or other filtering) on the first image pyramid pair 507a to obtain the second image pyramid pair 507b, which has a second resolution lower than the first resolution.
[0076] At 1206, the device can generate a third image pyramid pair by performing a second filtering on the second image pyramid pair. For example, refer to Figure 5Bi-cubic downsampling (or other filtering) of the second image pyramid pair 507b can be performed to obtain the third image pyramid pair 507c, and so on.
[0077] At 1208, the device can generate a first set of feature maps by inputting a first image pyramid into a first feature extraction network, generate a second set of feature maps by inputting a second image pyramid into a second feature extraction network, and generate a third set of feature maps by inputting a third image pyramid into a third feature extraction network. For example, refer to... Figure 6 The level 5 feature extractor 502a includes five layers of convolutional layer pairs (e.g., 3x3 convolutional layers, 3x3 convolutional layers with a stride of 2 (s=2), or 2D convolutional layers), the level 4 feature extractor 502b includes four layers of convolutional layer pairs (e.g., 3x3 convolutional layers, 3x3 convolutional layers with a stride of 2 (s=2), or 2D convolutional layers), and the level 3 feature extractor 502c includes three layers of convolutional layer pairs (e.g., 3x3 convolutional layers, 3x3 convolutional layers with a stride of 2 (s=2), or 2D convolutional layers). The first set of feature maps 509a generated by the level 5 feature extractor 502a can be represented as follows: ,in The second set of feature maps 509b generated by the level 4 feature extractor 502b can be represented as: ,in The third set of feature maps 509c generated by the level 3 feature extractor 502c can be represented as: ,in This is a feature map.
[0078] In 1210, the device can compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps. For example, referencing Figure 7 The motion estimation network 503 predicts bidirectional flow at feature levels of the same resolution and progressively estimates and upsamples flow at feature levels of different resolutions. Overall, the motion estimation network 503 learns residual optical flow vectors and continuously adds them together. For ease of description and illustration, only feature maps from levels 5, 4, and 3 are depicted; however, it should be understood that motion estimation can be performed using five sets of feature maps at each resolution when determining the final set of optical flow vectors 513. For example, the third set of feature maps 509c (… The motion estimation block 1 (MEB1) 702 is input. The time step T indicates the time step between images in the image pyramid and may also be included in MEB1 702. MEB1 702 may include multiple 3x3 convolutional layers and a summation operation to generate a first set of optical flow vectors from the third set of feature maps 509c. The first set of optical flow vectors can be input to the twist block 704, MEB1 702, and summation block 706 associated with the level 4 image pyramid. The second set of feature maps 509b can be input to the corresponding twist block 706, which can twist the second set of feature maps 509b using the first set of optical flow vectors. The twisted feature maps can be input to MEB1, which generates an intermediate second set of optical flow vectors based on the twisted second set of feature maps and the first set of optical flow vectors. The summation block 706 can perform a summation operation using the first set of optical flow vectors and the intermediate second set of optical flow vectors to generate a final second set of optical flow vectors. The motion estimation network 503 can upsample the final second set of optical flow vectors. The upsampled second set of optical flow vectors can be input into the twist block 704, motion estimation block 2 (MEB2) 708, and summing block 706 associated with the first set of feature maps 509a. The first set of feature maps 509a can be input into the corresponding twist block 706, which can twist the first set of feature maps 509a using the upsampled second set of optical flow vectors. The twisted feature map can be input into MEB2 708, which generates an intermediate third set of optical flow vectors based on the twisted first set of feature maps and the upsampled second set of optical flow vectors. The summing block 706 can perform a summation operation using the upsampled second set of optical flow vectors and the third set of optical flow vectors to generate the final third set of optical flow vectors. The final third set of optical flow vectors is input into the twist block 704, motion estimation block 2 (MEB1) 708, and summing block 706 associated with the next stage, in which the feature maps have already been upsampled ( ).like Figure 7 As shown, these operations continue until the final set of optical flow vectors 513 is generated. ). Figure 8 It shows Figure 7 The list 800 contains the inputs, outputs, and optical flow vectors used / generated at each stage of motion estimation.
[0079] In 1212, the device can generate a reference image associated with a third time based on multiple final optical flow vectors, the third time being between the first and second times. For example, the reference... Figure 5The final set of feature maps 511 can be input into the image to generate a backward warp block 504 of the image generation network 505. The final set of optical flow vectors 513 can also be input into the image to generate a backward warp block 504 and a feature enhancer 506 of the image generation network 505. Furthermore, the input image (the first image pyramid pair 507a) can be input into the backward warp block 504. The backward warp block 504 can warp the input image based on the final set of optical flow vectors 513. The warped image can be input into the feature enhancer 506, which uses the final set of feature maps 511 to enhance the features of the warped image. The enhanced warped image is then input into an image synthesizer 508, which synthesizes the enhanced warped image into an output image 515 (e.g., a reference image). Figure 9 As shown, both the feature enhancer 506 and the image synthesizer 508 include the U-net architecture as their basic structure and are equipped with depthwise separable convolution (DSC) blocks.
[0080] In all aspects of this disclosure, the functions described herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions can be stored as instructions on a non-transitory computer-readable medium. Computer-readable media include computer storage media. Storage media can be made of, for example... Figure 1 and Figure 2 The processor 102 described herein can access any available medium. By way of example and not limitation, such computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, HDD, flash drive, SSD, or any other medium that can be used to carry or store required program code in the form of instructions or data structures and can be accessed by a processing system such as a mobile device or computer. The terms "disk" and "disc" as used herein include CDs, laser discs, optical discs, digital versatile discs (DVDs), and floppy disks, where disks typically copy data magnetically and optical discs use lasers to copy data optically. Combinations of the above should also be included within the scope of computer-readable media.
[0081] According to one aspect of this disclosure, a method for video encoding or decoding is provided. The method may include: a processor obtaining a first input image associated with a first time and a second input image associated with a second time. The first and second input images may form a first image pyramid pair. The method may include: the processor generating a second image pyramid pair by performing a first filtering on the first image pyramid pair. The first and second image pyramid pairs may be associated with different resolutions. The method may include: the processor generating a third image pyramid pair by performing a second filtering on the second image pyramid pair. The first, second, and third image pyramid pairs may each be associated with different resolutions. The method may include: the processor obtaining a first set of feature maps by inputting the first image pyramid pair into a first feature extraction network, obtaining a second set of feature maps by inputting the second image pyramid pair into a second feature extraction network, and obtaining a third set of feature maps by inputting the third image pyramid pair into a third feature extraction network. The first, second, and third set of feature maps may be associated with the same resolution. The method may include: the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first, second, and third set of feature maps. The method may include: the processor generating a reference image associated with a third time based on multiple final optical flow vectors. The third time may be between the first time and the second time, or after the first time and the second time.
[0082] In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting the third set of feature maps into a first motion estimation block. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor using the first motion estimation block to generate a first set of optical flow vectors associated with the third set of feature maps. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting the first set of optical flow vectors into a first twist block, a second motion estimation block, and a first summation block.
[0083] In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting a second set of feature maps into a first twist block. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor using a first twist block, a second motion estimation block, and a first summing block to generate a second set of optical flow vectors associated with the second set of feature maps. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor upsampling the second set of optical flow vectors to generate an upsampled second set of optical flow vectors. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting the upsampled second set of optical flow vectors into a second twist block, a third motion estimation block, and a second summing block.
[0084] In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting the first set of feature maps into a second twist block. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor using a second twist block, a third motion estimation block, and a second summation block to generate a third set of optical flow vectors associated with the first set of feature maps. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting the third set of optical flow vectors into a third twist block, a fourth motion estimation block, and a third summation block.
[0085] In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor upsampling the first set of feature maps, the second set of feature maps, and the third set of feature maps to generate upsampled first set of feature maps, upsampled second set of feature maps, and upsampled third set of feature maps. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps may include: the processor inputting the upsampled first set of feature maps into a third twist block. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps may include: the processor generating a fourth set of optical flow vectors using a third twist block, a fourth motion estimation block, and a third summation block. In some implementations, the processor may compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps. This may include the processor inputting a fourth set of optical flow vectors into a fourth twist block, a fifth motion estimation block, and a fourth summation block.
[0086] In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting an upsampled second set of feature maps into a fourth twist block. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor generating a fifth set of optical flow vectors using a fourth twist block, a fifth motion estimation block, and a fourth summation block. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor upsampling the fifth set of optical flow vectors to generate an upsampled fifth set of optical flow vectors. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting the upsampled fifth set of optical flow vectors into a fifth twist block, a sixth motion estimation block, and a fifth summation block.
[0087] In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor inputting an upsampled third set of feature maps into a fifth twist block. In some embodiments, the processor calculating multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps may include: the processor generating multiple final optical flow vectors using a fifth twist block, a sixth motion estimation block, and a fifth summation block.
[0088] In some embodiments, the processor generating a reference image associated with a third time based on multiple final optical flow vectors may include: the processor inputting a first input image, a second input image, an upsampled third set of feature maps, and multiple final optical flow vectors into a sixth warp block. In some embodiments, the processor generating a reference image associated with a third time based on multiple final optical flow vectors may include: the processor using the sixth warp block to perform warping on the first and second input images based on the upsampled third set of feature maps and multiple final optical flow vectors to generate a warped image. In some embodiments, the processor generating a reference image associated with a third time based on multiple final optical flow vectors may include: the processor inputting the upsampled third set of feature maps and the warped image into a feature enhancer block. In some embodiments, the processor generating a reference image associated with a third time based on multiple final optical flow vectors may include: the processor using the feature enhancer block to generate an enhanced warped image. In some embodiments, the processor generating a reference image associated with a third time based on multiple final optical flow vectors may include: the processor inputting the enhanced warped image into an image synthesizer block. In some implementations, the processor generating a reference image associated with a third time based on multiple final optical flow vectors may include the processor generating the reference image using an image synthesizer block.
[0089] According to another aspect of this disclosure, an apparatus for video encoding or decoding is provided. The apparatus may include a processor and a memory storing instructions. The memory stores instructions that, when executed by the processor, cause the processor to obtain a first input image associated with a first time and a second input image associated with a second time, the first and second input images forming a first image pyramid pair. The memory stores instructions that, when executed by the processor, cause the processor to generate a second image pyramid pair by performing a first filtering on the first image pyramid pair. The memory stores instructions that, when executed by the processor, cause the processor to generate a third image pyramid pair by performing a second filtering on the second image pyramid pair. The first, second, and third image pyramid pairs may each be associated with different resolutions. The memory stores instructions that, when executed by the processor, cause the processor to obtain a first set of feature maps by inputting the first image pyramid pair into a first feature extraction network, obtain a second set of feature maps by inputting the second image pyramid pair into a second feature extraction network, and obtain a third set of feature maps by inputting the third image pyramid pair into a third feature extraction network. The first, second, and third set of feature maps may be associated with the same resolution. The memory storage instruction, when executed by the processor, causes the processor to perform asymptotic recursive motion estimation by using a first set of feature maps, a second set of feature maps, and a third set of feature maps to compute multiple final optical flow vectors. The memory storage instruction, when executed by the processor, also causes the processor to generate a reference image associated with a third time based on the multiple final optical flow vectors. The third time may be between the first and second times, or after the first and second times.
[0090] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input the third set of feature maps into a first motion estimation block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to use the first motion estimation block to generate a first set of optical flow vectors associated with the third set of feature maps. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input the first set of optical flow vectors into a first twist block, a second motion estimation block, and a first summation block.
[0091] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input a second set of feature maps into a first twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to use a first twist block, a second motion estimation block, and a first summation block to generate a second set of optical flow vectors associated with the second set of feature maps. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to upsample the second set of optical flow vectors to generate an upsampled second set of optical flow vectors. In some implementations, in order to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to input the upsampled second set of optical flow vectors into a second twist block, a third motion estimation block, and a second summing block.
[0092] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input the first set of feature maps into a second twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to generate a third set of optical flow vectors associated with the first set of feature maps using a second twist block, a third motion estimation block, and a second summation block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input the third set of optical flow vectors into a third twist block, a fourth motion estimation block, and a third summation block.
[0093] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to upsample the first set of feature maps, the second set of feature maps, and the third set of feature maps to generate upsampled first set of feature maps, upsampled second set of feature maps, and upsampled third set of feature maps. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input the upsampled first set of feature maps into a third twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to generate a fourth set of optical flow vectors using a third twist block, a fourth motion estimation block, and a third summation block. In some implementations, in order to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to input a fourth set of optical flow vectors into a fourth twist block, a fifth motion estimation block, and a fourth summation block.
[0094] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input an upsampled second set of feature maps into a fourth twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to generate a fifth set of optical flow vectors using a fourth twist block, a fifth motion estimation block, and a fourth summation block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to upsample the fifth set of optical flow vectors to generate an upsampled fifth set of optical flow vectors. In some implementations, in order to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to input an upsampled fifth set of optical flow vectors into a fifth twist block, a sixth motion estimation block, and a fifth summation block.
[0095] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to input an upsampled third set of feature maps into a fifth twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, a memory stores instructions that, when executed by a processor, cause the processor to generate multiple final optical flow vectors using a fifth twist block, a sixth motion estimation block, and a fifth summation block.
[0096] In some implementations, to generate a reference frame associated with a third time based on multiple final optical flow vectors, the memory stores instructions that, when executed by the processor, cause the processor to input a first input image, a second input image, an upsampled third set of feature maps, and multiple final optical flow vectors into a sixth warp block. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, the memory stores instructions that, when executed by the processor, cause the processor to use the sixth warp block to perform warping on the first and second input images based on the upsampled third set of feature maps and multiple final optical flow vectors to generate a warped image. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, the memory stores instructions that, when executed by the processor, cause the processor to input the upsampled third set of feature maps and the warped image into a feature enhancer block. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, the memory stores instructions that, when executed by the processor, cause the processor to use the feature enhancer block to generate an enhanced warped image. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, the memory stores instructions that, when executed by the processor, cause the processor to input an enhanced distorted image into an image synthesizer block. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, the memory stores instructions that, when executed by the processor, cause the processor to generate the reference image using the image synthesizer block.
[0097] According to another aspect of this disclosure, a non-transitory computer-readable medium storing instructions is provided. When executed by a processor, the instructions cause the processor to obtain a first input image associated with a first time and a second input image associated with a second time, the first and second input images forming a first image pyramid pair. When executed by a processor, the instructions cause the processor to generate a second image pyramid pair by performing a first filtering on the first image pyramid pair. When executed by a processor, the instructions cause the processor to generate a third image pyramid pair by performing a second filtering on the second image pyramid pair. The first, second, and third image pyramid pairs can each be associated with different resolutions. When executed by a processor, the instructions cause the processor to obtain a first set of feature maps by inputting the first image pyramid pair into a first feature extraction network, a second set of feature maps by inputting the second image pyramid pair into a second feature extraction network, and a third set of feature maps by inputting the third image pyramid pair into a third feature extraction network. The first, second, and third set of feature maps can be associated with the same resolution. When executed by a processor, this instruction causes the processor to perform asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps to compute multiple final optical flow vectors. When executed by a processor, this instruction also causes the processor to generate a reference image associated with a third time based on the multiple final optical flow vectors. The third time may be between the first and second times, or after the first and second times.
[0098] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input the third set of feature maps into a first motion estimation block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to use the first motion estimation block to generate a first set of optical flow vectors associated with the third set of feature maps. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input the first set of optical flow vectors into a first twist block, a second motion estimation block, and a first summation block.
[0099] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input a second set of feature maps into a first twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to generate a second set of optical flow vectors associated with the second set of feature maps using a first twist block, a second motion estimation block, and a first summation block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to upsample the second set of optical flow vectors to generate an upsampled second set of optical flow vectors. In some implementations, in order to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input an upsampled second set of optical flow vectors into a second twist block, a third motion estimation block, and a second summing block.
[0100] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input the first set of feature maps into a second twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to generate a third set of optical flow vectors associated with the first set of feature maps using a second twist block, a third motion estimation block, and a second summation block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input the third set of optical flow vectors into a third twist block, a fourth motion estimation block, and a third summation block.
[0101] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to upsample the first set of feature maps, the second set of feature maps, and the third set of feature maps to generate upsampled first set of feature maps, upsampled second set of feature maps, and upsampled third set of feature maps. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, when executed by a processor, the instruction may cause the processor to input the upsampled first set of feature maps into a third twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, when executed by a processor, the instruction may cause the processor to generate a fourth set of optical flow vectors using a third twist block, a fourth motion estimation block, and a third summation block. In some implementations, in order to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input a fourth set of optical flow vectors into a fourth twist block, a fifth motion estimation block, and a fourth summation block.
[0102] In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by the processor, the instruction may cause the processor to input an upsampled second set of feature maps into a fourth twist block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by the processor, the instruction may cause the processor to generate a fifth set of optical flow vectors using a fourth twist block, a fifth motion estimation block, and a fourth summation block. In some embodiments, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by the processor, the instruction may cause the processor to upsample the fifth set of optical flow vectors to generate an upsampled fifth set of optical flow vectors. In some implementations, in order to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input an upsampled fifth set of optical flow vectors into a fifth twist block, a sixth motion estimation block, and a fifth summation block.
[0103] In some implementations, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to input an upsampled third set of feature maps into a fifth twist block. In some implementations, to compute multiple final optical flow vectors by performing asymptotic recursive motion estimation using a first set of feature maps, a second set of feature maps, and a third set of feature maps, when executed by a processor, the instruction may cause the processor to generate multiple final optical flow vectors using a fifth twist block, a sixth motion estimation block, and a fifth summation block.
[0104] In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, when executed by a processor, the instruction may cause the processor to input a first input image, a second input image, an upsampled third set of feature maps, and multiple final optical flow vectors into a sixth warp block. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, when executed by a processor, the instruction may cause the processor to use the sixth warp block to perform warping on the first and second input images based on the upsampled third set of feature maps and multiple final optical flow vectors to generate a warped image. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, when executed by a processor, the instruction may cause the processor to input the upsampled third set of feature maps and the warped image into a feature enhancer block. In some implementations, to generate a reference image associated with a third time based on multiple final optical flow vectors, when executed by a processor, the instruction may cause the processor to use the feature enhancer block to generate an enhanced warped image. In some implementations, in order to generate a reference image associated with a third time based on multiple final optical flow vectors, when executed by a processor, the instruction may cause the processor to input an enhanced distorted image into an image synthesizer block. In some implementations, in order to generate a reference image associated with a third time based on multiple final optical flow vectors, when executed by a processor, the instruction may cause the processor to generate the reference image using an image synthesizer block.
[0105] The foregoing description of the embodiments will thus reveal the general nature of this disclosure, so that others can readily modify and / or adapt these embodiments to various applications by applying knowledge within the art, without excessive experimentation and without departing from the general concept of this disclosure. Therefore, based on the teachings and guidance presented herein, such adaptations and modifications are intended to fall within the meaning and scope of equivalents of the disclosed embodiments. It should be understood that the wording or terminology herein is for descriptive rather than limiting purposes, and that the terminology or terminology of this specification will be interpreted by those skilled in the art based on the teachings and guidance.
[0106] Embodiments of this disclosure have been described above using functional building blocks that illustrate the implementation of specified functions and their relationships. For ease of description, the boundaries of these functional building blocks have been arbitrarily defined herein. Alternative boundaries can be defined as long as the specified functions and their relationships are properly performed.
[0107] The summary and abstract section may set forth one or more, but not all, embodiments of this disclosure as conceived by the inventors(s), and therefore is not intended to limit this disclosure and the appended claims in any way.
[0108] Various functional blocks, modules, and steps have been disclosed above. The arrangements provided are illustrative and not limiting. Therefore, functional blocks, modules, and steps may be rearranged or combined in ways different from those provided in the examples above. Similarly, some embodiments include only a subset of functional blocks, modules, and steps, and any such subset is permitted.
[0109] The breadth and scope of this disclosure should not be limited by any of the exemplary embodiments described above, but should be defined solely by the appended claims and their equivalents.
Claims
1. A method for video encoding or decoding, comprising: The processor obtains a first input image associated with a first time and a second input image associated with a second time, the first input image and the second input image forming a first image pyramid pair; The processor generates a second image pyramid pair by performing a first filter on the first image pyramid pair; The processor generates a third image pyramid pair by performing a second filtering on the second image pyramid pair, wherein the first image pyramid pair, the second image pyramid pair, and the third image pyramid pair are each associated with a different resolution; The processor obtains a first set of feature maps by inputting the first image pyramid pair into a first feature extraction network, obtains a second set of feature maps by inputting the second image pyramid pair into a second feature extraction network, and obtains a third set of feature maps by inputting the third image pyramid pair into a third feature extraction network, wherein the first set of feature maps, the second set of feature maps, and the third set of feature maps are associated with the same resolution; The processor calculates multiple final optical flow vectors by performing progressive recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps. as well as The processor generates a reference image associated with a third time based on the plurality of final optical flow vectors, the third time being between the first time and the second time, or after the first time and the second time.
2. The method according to claim 1, wherein, The processor calculates the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, including: The processor inputs the third set of feature maps into the first motion estimation block; The processor uses the first motion estimation block to generate a first set of optical flow vectors associated with the third set of feature maps; and The processor inputs the first set of optical flow vectors into the first twist block, the second motion estimation block, and the first summation block.
3. The method according to claim 2, wherein, The processor calculates the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, including: The processor inputs the second set of feature maps into the first twisted block; The processor uses the first twist block, the second motion estimation block, and the first summation block to generate a second set of optical flow vectors associated with the second set of feature maps; The processor upsamples the second set of optical flow vectors to generate the upsampled second set of optical flow vectors; and The processor inputs the upsampled second set of optical flow vectors into the second twist block, the third motion estimation block, and the second summation block.
4. The method according to claim 3, wherein, The processor calculates the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, including: The processor inputs the first set of feature maps into the second twisted block; The processor uses the second twist block, the third motion estimation block, and the second summation block to generate a third set of optical flow vectors associated with the first set of feature maps; and The processor inputs the third set of optical flow vectors into the third twist block, the fourth motion estimation block, and the third summation block.
5. The method according to claim 4, wherein, The processor calculates the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, including: The processor upsamples the first set of feature maps, the second set of feature maps, and the third set of feature maps to generate the upsampled first set of feature maps, the upsampled second set of feature maps, and the upsampled third set of feature maps. The processor inputs the upsampled first set of feature maps into the third twist block; The processor uses the third twist block, the fourth motion estimation block, and the third summation block to generate a fourth set of optical flow vectors; and The processor inputs the fourth set of optical flow vectors into the fourth twist block, the fifth motion estimation block, and the fourth summation block.
6. The method according to claim 5, wherein, The processor calculates the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, including: The processor inputs the upsampled second set of feature maps into the fourth twist block; The processor uses the fourth twist block, the fifth motion estimation block, and the fourth summation block to generate a fifth set of optical flow vectors; The processor upsamples the fifth set of optical flow vectors to generate the upsampled fifth set of optical flow vectors; and The processor inputs the upsampled fifth set of optical flow vectors into the fifth twist block, the sixth motion estimation block, and the fifth summation block.
7. The method according to claim 6, wherein, The processor calculates the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, including: The processor inputs the upsampled third set of feature maps into the fifth twisted block; and The processor uses the fifth twist block, the sixth motion estimation block, and the fifth summation block to generate the plurality of final optical flow vectors.
8. The method according to claim 7, wherein, The processor generates the reference image associated with the third time based on the plurality of final optical flow vectors, including: The processor inputs the first input image, the second input image, the upsampled third set of feature maps, and the plurality of final optical flows into the sixth twist block; The processor uses the sixth warp block to perform warping on the first input image and the second input image based on the upsampled third set of feature maps and the plurality of final optical flow vectors to generate a warped image; The processor inputs the upsampled third set of feature maps and the distorted image into the feature enhancer block; The processor uses the feature enhancer block to generate an enhanced distorted image; The processor inputs the enhanced distorted image into the image synthesizer block; and The processor uses the image synthesizer block to generate the reference image.
9. An apparatus for video encoding or decoding, comprising: processor; as well as A memory storing instructions that, when executed by the processor, cause the processor to: Obtain a first input image associated with a first time and a second input image associated with a second time, wherein the first input image and the second input image form a first image pyramid pair; A second image pyramid pair is generated by performing a first filter on the first image pyramid pair; A third image pyramid pair is generated by performing a second filtering on the second image pyramid pair, wherein the first image pyramid pair, the second image pyramid pair, and the third image pyramid pair are each associated with a different resolution; A first set of feature maps is obtained by inputting the first image pyramid pair into a first feature extraction network, a second set of feature maps is obtained by inputting the second image pyramid pair into a second feature extraction network, and a third set of feature maps is obtained by inputting the third image pyramid pair into a third feature extraction network. The first set of feature maps, the second set of feature maps, and the third set of feature maps are associated with the same resolution. Multiple final optical flow vectors are calculated by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps; as well as A reference image associated with a third time is generated based on the plurality of final optical flow vectors, the third time being between the first time and the second time, or after the first time and the second time.
10. The apparatus according to claim 9, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to: The third set of feature maps is input into the first motion estimation block; The first set of optical flow vectors associated with the third set of feature maps are generated using the first motion estimation block; as well as The first set of optical flow vectors is input into the first twist block, the second motion estimation block, and the first summation block.
11. The apparatus according to claim 10, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to: Input the second set of feature maps into the first twisted block; The first twist block, the second motion estimation block, and the first summation block are used to generate a second set of optical flow vectors associated with the second set of feature maps; Upsample the second set of optical flow vectors to generate an upsampled second set of optical flow vectors; as well as The second set of upsampled optical flow vectors are input into the second twist block, the third motion estimation block, and the second summation block.
12. The apparatus according to claim 11, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to: Input the first set of feature maps into the second twisted block; The second twist block, the third motion estimation block, and the second summation block are used to generate a third set of optical flow vectors associated with the first set of feature maps; as well as The third set of optical flow vectors is input into the third twist block, the fourth motion estimation block, and the third summation block.
13. The apparatus according to claim 12, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to: Upsample the first set of feature maps, the second set of feature maps, and the third set of feature maps to generate the upsampled first set of feature maps, the upsampled second set of feature maps, and the upsampled third set of feature maps; The first set of upsampled feature maps is input into the third twist block; The third twist block, the fourth motion estimation block, and the third summation block are used to generate a fourth set of optical flow vectors; as well as The fourth set of optical flow vectors is input into the fourth twist block, the fifth motion estimation block, and the fourth summation block.
14. The apparatus according to claim 13, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to: The upsampled second set of feature maps is input into the fourth twist block; The fourth twist block, the fifth motion estimation block, and the fourth summation block are used to generate the fifth set of optical flow vectors; Upsample the fifth set of optical flow vectors to generate an upsampled fifth set of optical flow vectors; as well as The upsampled fifth set of optical flow vectors are input into the fifth twist block, the sixth motion estimation block, and the fifth summation block.
15. The apparatus according to claim 14, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the memory stores instructions that, when executed by the processor, cause the processor to: The upsampled third set of feature maps is input into the fifth twisted block; as well as The fifth twist block, the sixth motion estimation block, and the fifth summation block are used to generate the plurality of final optical flow vectors.
16. The apparatus according to claim 15, wherein, In order to generate the reference image associated with the third time based on the plurality of final optical flow vectors, the memory stores instructions that, when executed by the processor, cause the processor to: The first input image, the second input image, the upsampled third set of feature maps, and the multiple final optical flows are input into the sixth twist block; The sixth distortion block is used to perform distortion on the first input image and the second input image based on the upsampled third set of feature maps and the plurality of final optical flow vectors to generate a distorted image; The upsampled third set of feature maps and the distorted image are input into the feature enhancer block; The feature enhancer block is used to generate an enhanced distorted image; The enhanced distorted image is input into the image synthesizer block; as well as The reference image is generated using the image synthesizer block.
17. A non-transitory computer-readable medium storing instructions, which, when executed by a processor, cause the processor to: Obtain a first input image associated with a first time and a second input image associated with a second time, wherein the first input image and the second input image form a first image pyramid pair; A second image pyramid pair is generated by performing a first filter on the first image pyramid pair; A third image pyramid pair is generated by performing a second filtering on the second image pyramid pair, wherein the first image pyramid pair, the second image pyramid pair, and the third image pyramid pair are each associated with a different resolution; A first set of feature maps is obtained by inputting the first image pyramid pair into a first feature extraction network, a second set of feature maps is obtained by inputting the second image pyramid pair into a second feature extraction network, and a third set of feature maps is obtained by inputting the third image pyramid pair into a third feature extraction network. The first set of feature maps, the second set of feature maps, and the third set of feature maps are associated with the same resolution. Multiple final optical flow vectors are calculated by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps; as well as A reference image associated with a third time is generated based on the plurality of final optical flow vectors, the third time being between the first time and the second time, or after the first time and the second time.
18. The non-transitory computer-readable medium according to claim 17, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the instructions, when executed by the processor, cause the processor to: The third set of feature maps is input into the first motion estimation block; The first set of optical flow vectors associated with the third set of feature maps are generated using the first motion estimation block; as well as The first set of optical flow vectors is input into the first twist block, the second motion estimation block, and the first summation block.
19. The non-transitory computer-readable medium according to claim 18, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the instructions, when executed by the processor, cause the processor to: Input the second set of feature maps into the first twisted block; The first twist block, the second motion estimation block, and the first summation block are used to generate a second set of optical flow vectors associated with the second set of feature maps; Upsample the second set of optical flow vectors to generate an upsampled second set of optical flow vectors; as well as The second set of upsampled optical flow vectors are input into the second twist block, the third motion estimation block, and the second summation block.
20. The non-transitory computer-readable medium according to claim 19, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the instructions, when executed by the processor, cause the processor to: Input the first set of feature maps into the second twisted block; The second twist block, the third motion estimation block, and the second summation block are used to generate a third set of optical flow vectors associated with the first set of feature maps; as well as The third set of optical flow vectors is input into the third twist block, the fourth motion estimation block, and the third summation block.
21. The non-transitory computer-readable medium according to claim 20, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the instructions, when executed by the processor, cause the processor to: Upsample the first set of feature maps, the second set of feature maps, and the third set of feature maps to generate the upsampled first set of feature maps, the upsampled second set of feature maps, and the upsampled third set of feature maps; The first set of upsampled feature maps is input into the third twist block; The third twist block, the fourth motion estimation block, and the third summation block are used to generate a fourth set of optical flow vectors; as well as The fourth set of optical flow vectors is input into the fourth twist block, the fifth motion estimation block, and the fourth summation block.
22. The non-transitory computer-readable medium according to claim 21, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the instructions, when executed by the processor, cause the processor to: The upsampled second set of feature maps is input into the fourth twist block; The fourth twist block, the fifth motion estimation block, and the fourth summation block are used to generate the fifth set of optical flow vectors; Upsample the fifth set of optical flow vectors to generate an upsampled fifth set of optical flow vectors; as well as The upsampled fifth set of optical flow vectors are input into the fifth twist block, the sixth motion estimation block, and the fifth summation block.
23. The non-transitory computer-readable medium according to claim 22, wherein, In order to compute the plurality of final optical flow vectors by performing asymptotic recursive motion estimation using the first set of feature maps, the second set of feature maps, and the third set of feature maps, the instructions, when executed by the processor, cause the processor to: The upsampled third set of feature maps is input into the fifth twisted block; as well as The fifth twist block, the sixth motion estimation block, and the fifth summation block are used to generate the plurality of final optical flow vectors.
24. The non-transitory computer-readable medium according to claim 23, wherein, In order to generate the reference image associated with the third time based on the plurality of final optical flow vectors, when executed by the processor, the instructions cause the processor to: The first input image, the second input image, the upsampled third set of feature maps, and the multiple final optical flows are input into the sixth twist block; The sixth distortion block is used to perform distortion on the first input image and the second input image based on the upsampled third set of feature maps and the plurality of final optical flow vectors to generate a distorted image; The upsampled third set of feature maps and the distorted image are input into the feature enhancer block; The feature enhancer block is used to generate an enhanced distorted image; The enhanced distorted image is input into the image synthesizer block; and The reference image is generated using the image synthesizer block.
