Method and apparatus for video coding using implicit neural representation model
The use of an implicit neural network representation model for video coding addresses inefficiencies in existing methods by improving coding efficiency and quality, particularly in handling high-resolution and high-frame-rate video data, by processing video data in units of N blocks or N frames.
Patent Information
- Application Number
- PCT/KR2024/000619
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-11
- Filing Date
- 2024-01-12
- Publication Date
- 2024-09-26
AI Technical Summary
Current video coding technologies face inefficiencies due to increasing data sizes with higher resolution and frame rates, necessitating improved compression methods that enhance coding efficiency and picture quality, which existing explicit representation methods fail to adequately address.
The implementation of an implicit neural network representation model for video coding, operating in units of N blocks or N frames, which enables prediction and in-loop filtering, improving coding efficiency and quality by processing video data more effectively.
This approach enhances video coding efficiency and quality by reducing the amount of data required for transmission and storage, allowing for better handling of increasing data sizes and improving picture quality through advanced neural network-based processing.
Smart Images

Figure KR2024000619_26092024_PF_FP
Abstract
Description
Method and device for video coding using an implicit neural network representation model
[0001] The present disclosure relates to a video coding method and device using an implicit neural network representation model.
[0002] The content described below merely provides background information related to the present invention and does not constitute prior art.
[0003] Since video data has a large amount of data compared to voice data or still image data, it requires a lot of hardware resources, including memory, to store or transmit it without processing for compression.
[0004] Therefore, when storing or transmitting video data, an encoder is used to compress the video data and store or transmit it, and a decoder receives the compressed video data, decompresses it, and plays it back. Examples of such video compression technologies include H.264 / AVC, HEVC (High Efficiency Video Coding), and VVC (Versatile Video Coding), which improves encoding efficiency by about 30% compared to HEVC.
[0005] However, as the size, resolution, and frame rate of images are gradually increasing, and the amount of data that needs to be encoded is also increasing, a new compression technology that has better encoding efficiency and better image quality improvement than existing compression technologies is required.
[0006] Recently, deep learning-based image processing technologies are being applied to existing encoding element technologies. By applying deep learning-based image processing to existing encoding techniques, such as inter-prediction, intra-prediction, in-loop filters, and transformation, encoding efficiency can be improved. Representative application examples include inter-prediction based on virtual reference frames generated using deep learning, and in-loop filters based on noise removal models.
[0007] Meanwhile, research on implicit neural network representation models, which represent various data, including images, using neural network structures, has been active recently. Conventional video representation methods use an explicit representation method, which uses RGB pixel values for each pixel location. To replace this explicit representation method, an implicit neural representation method is being introduced, which uses a neural network to represent a function that converts the (x, y) coordinates, which are pixel locations in an image, into (r, g, b) values. Compared to explicit representation methods, implicit neural representation methods can be used regardless of image resolution. Therefore, to enhance video encoding efficiency and improve video quality, the application of implicit neural representation methods to video coding needs to be considered.
[0008] The present disclosure provides a video coding method and device that utilizes an implicit neural representation model that operates in units of N blocks or N frames. Here, N blocks represent blocks coded using the implicit neural representation model, and N frames represent frames coded using the implicit neural representation model.
[0009] In addition, the present disclosure aims to provide a video coding method and device that performs prediction or in-loop filtering of N blocks or N frames using an implicit neural network representation model.
[0010] According to an embodiment of the present disclosure, a method for restoring a current block, performed by a video decoding device, is provided, characterized in that the method comprises: obtaining a NeRV (Neural Representations for Videos) model; configuring an input of the NeRV model; applying the input to the NeRV model to output N blocks, wherein the N blocks correspond to a residual block of the current block, a predicted block of the current block, a reconstructed block of the current block, or a loop-filtered block of the current block; decoding a type of the N blocks from a bitstream; and applying an image decoding process based on the type of the N blocks to the N blocks.
[0011] According to another embodiment of the present disclosure, a method for encoding a current block, performed by a video encoding device, is provided, comprising: a step of applying an image encoding process to an original block of the current block to generate a first block, wherein the first block is a loop-filtered block of the current block; a step of configuring an input of a NeRV (Neural Representations for Videos) model; a step of configuring a NeRV model according to the input; a step of applying the input to the NeRV model to output N blocks, wherein the N blocks correspond to a residual block of the current block, a prediction block of the current block, a reconstructed block of the current block, or a loop-filtered block of the current block; and a step of applying an image decoding process based on a type of the N blocks to the N blocks to generate a second block corresponding to the loop-filtered block of the current block.
[0012] According to another embodiment of the present disclosure, a computer-readable recording medium storing a bitstream generated by a video encoding method is provided, characterized in that the video encoding method comprises: generating a first block by applying a video encoding process to an original block of a current block, wherein the first block is a loop-filtered block of the current block; configuring an input of a NeRV (Neural Representations for Videos) model; configuring a NeRV model according to the input; applying the input to the NeRV model to output N blocks, wherein the N blocks correspond to a residual block of the current block, a prediction block of the current block, a reconstructed block of the current block, or a loop-filtered block of the current block; and applying an image decoding process based on a type of the N blocks to the N blocks to generate a second block corresponding to the loop-filtered block of the current block.
[0013] As described above, according to the present embodiment, by providing a video coding method and device using an implicit neural network representation model that operates in units of N blocks or N frames, it is possible to improve video encoding efficiency in the process of transmitting additional information required for coding N blocks and N frames.
[0014] In addition, according to another embodiment of the present disclosure, there is provided a video coding method and device that performs prediction or in-loop filtering of N blocks or N frames using an implicit neural network representation model, thereby making it possible to improve video quality.
[0015] FIG. 1 is an exemplary block diagram of an image encoding device capable of implementing the techniques of the present disclosure.
[0016] Figure 2 is a drawing for explaining a method of dividing a block using the QTBTTT (QuadTree plus BinaryTree TernaryTree) structure.
[0017] FIGS. 3A and 3B are diagrams illustrating multiple intra prediction modes, including wide-angle intra prediction modes.
[0018] Figure 4 is an example diagram of the surrounding blocks of the current block.
[0019] FIG. 5 is an exemplary block diagram of an image decoding device capable of implementing the techniques of the present disclosure.
[0020] Figure 6 is an example diagram showing the operation of a convolution layer.
[0021] Figure 7 is an example diagram showing a SISR (Single Image Super Resolution) network.
[0022] Figure 8 is an example diagram showing a residual block used in SISR.
[0023] Figure 9 is an example diagram showing a fixed coefficient in-loop filter based on a CNN (Convolutional Neural Network).
[0024] Figure 10 is an example diagram showing the NeRV (Neural Representations for Videos) model.
[0025] FIG. 11A and FIG. 11B are exemplary diagrams illustrating the concept of the NeRV model according to one embodiment of the present disclosure.
[0026] FIG. 12 is an exemplary diagram illustrating an encoding pipeline of a NeRV model according to one embodiment of the present disclosure.
[0027] FIG. 13 is an exemplary diagram illustrating a decryption pipeline of a NeRV model according to one embodiment of the present disclosure.
[0028] FIG. 14 is an exemplary diagram illustrating a block-based NeRV model according to one embodiment of the present disclosure.
[0029] FIG. 15 is an exemplary diagram illustrating a block-based NeRV model according to another embodiment of the present disclosure.
[0030] FIG. 16 is an exemplary diagram illustrating a frame-based NeRV model according to one embodiment of the present disclosure.
[0031] FIG. 17 is an exemplary diagram showing the application of the NeRV model according to one embodiment of the present disclosure.
[0032] FIG. 18 is an exemplary diagram showing the application of the NeRV model according to another embodiment of the present disclosure.
[0033] FIG. 19 is an exemplary diagram showing the application of the NeRV model according to another embodiment of the present disclosure.
[0034] FIG. 20 is an exemplary diagram showing the application of the NeRV model according to another embodiment of the present disclosure.
[0035] FIG. 21 is a flowchart illustrating a method for an image encoding device to encode a current block according to an embodiment of the present disclosure.
[0036] FIG. 22 is a flowchart illustrating a method for an image decoding device to restore a current block according to an embodiment of the present disclosure.
[0037] Hereinafter, embodiments of the present invention will be described in detail with reference to exemplary drawings. When designating components in each drawing, it should be noted that, where possible, identical components are given the same reference numerals, even if they appear in different drawings. Furthermore, in describing the present embodiments, detailed descriptions of related known structures or functions will be omitted if they are deemed to obscure the gist of the present embodiments.
[0038] FIG. 1 is an exemplary block diagram of an image encoding device capable of implementing the techniques of the present disclosure. Hereinafter, the image encoding device and its subcomponents will be described with reference to the illustration in FIG. 1.
[0039] The video encoding device may be configured to include a picture segmentation unit (110), a prediction unit (120), a subtractor (130), a transformation unit (140), a quantization unit (145), a reordering unit (150), an entropy encoding unit (155), an inverse quantization unit (160), an inverse transformation unit (165), an adder (170), a loop filter unit (180), and a memory (190).
[0040] Each component of the video encoding device may be implemented in hardware, software, or a combination of hardware and software. Furthermore, the functions of each component may be implemented in software, with a microprocessor executing the software functions corresponding to each component.
[0041] A single image (video) is composed of one or more sequences containing multiple pictures. Each picture is divided into multiple regions, and encoding is performed for each region. For example, a single picture is divided into one or more tiles and / or slices. Here, one or more tiles can be defined as a tile group. Each tile or / slice is divided into one or more Coding Tree Units (CTUs). Each CTU is then divided into one or more Coding Units (CUs) by a tree structure. Information applied to each CU is encoded as the syntax of the CU, and information commonly applied to CUs included in a CTU is encoded as the syntax of the CTU. In addition, information commonly applied to all blocks within a single slice is encoded as the syntax of the slice header, and information applied to all blocks constituting one or more pictures is encoded in the Picture Parameter Set (PPS) or the picture header. Furthermore, information commonly referenced by multiple pictures is encoded in a Sequence Parameter Set (SPS). And, information commonly referenced by one or more SPS is encoded in a Video Parameter Set (VPS). In addition, information commonly applied to one tile or tile group may be encoded as syntax of a tile or tile group header. Syntaxes included in an SPS, PPS, slice header, tile or tile group header may be referred to as high level syntax.
[0042] The picture segmentation unit (110) determines the size of the CTU. Information about the size of the CTU (CTU size) is encoded as the syntax of SPS or PPS and transmitted to the image decoding device.
[0043] The picture segmentation unit (110) divides each picture constituting an image into a plurality of CTUs having a predetermined size, and then recursively divides the CTUs using a tree structure. A leaf node in the tree structure becomes a CU, which is a basic unit of encoding.
[0044] The tree structure may be a QuadTree (QT) in which an upper node (or parent node) is divided into four lower nodes (or child nodes) of the same size, a BinaryTree (BT) in which an upper node is divided into two lower nodes, or a TernaryTree (TT) in which an upper node is divided into three lower nodes in a 1:2:1 ratio, or a structure that mixes two or more of the QT structures, BT structures, and TT structures. For example, a QTBT (QuadTree plus BinaryTree) structure may be used, or a QTBTTT (QuadTree plus BinaryTree TernaryTree) structure may be used. Here, BTTT may be combined and referred to as a MTT (Multiple-Type Tree).
[0045] Figure 2 is a drawing for explaining a method of dividing a block using the QTBTTT structure.
[0046] As illustrated in FIG. 2, a CTU may first be split into a QT structure. The quadtree splitting may be repeated until the size of the splitting block reaches the minimum block size (MinQTSize) of the leaf node allowed in the QT. A first flag (QT_split_flag) indicating whether each node of the QT structure is split into four nodes of the lower layer is encoded by the entropy encoding unit (155) and signaled to the image decoding device. If the leaf node of the QT is not larger than the maximum block size (MaxBTSize) of the root node allowed in the BT, it may be further split into one or more of the BT structure or the TT structure. There may be multiple splitting directions in the BT structure and / or the TT structure. For example, there may be two directions in which the block of the corresponding node is split horizontally and two directions in which the block is split vertically. As illustrated in FIG. 2, when MTT splitting begins, a second flag (mtt_split_flag) indicating whether nodes have been split, and if splitting has occurred, a flag indicating the splitting direction (vertical or horizontal) and / or a flag indicating the splitting type (Binary or Ternary) are encoded by the entropy encoding unit (155) and signaled to the image decoding device.
[0047] Alternatively, before encoding the first flag (QT_split_flag) indicating whether each node is split into four nodes of a lower layer, a CU split flag (split_cu_flag) indicating whether the node is split may be encoded. If the CU split flag (split_cu_flag) value indicates that the node is not split, the block of the corresponding node becomes a leaf node in the split tree structure and becomes a CU (coding unit), which is a basic unit of encoding. If the CU split flag (split_cu_flag) value indicates that the node is split, the video encoding device starts encoding from the first flag in the above-described manner.
[0048] As another example of a tree structure, when QTBT is used, there may be two types: a type that horizontally splits the block of the corresponding node into two blocks of the same size (i.e., symmetric horizontal splitting) and a type that vertically splits it (i.e., symmetric vertical splitting). A split flag (split_flag) indicating whether each node of the BT structure is split into blocks of a lower layer and split type information indicating the type of split are encoded by the entropy encoding unit (155) and transmitted to the image decoding device. Meanwhile, there may additionally be a type that splits the block of the corresponding node into two blocks of an asymmetrical shape. The asymmetric shape may include a shape that splits the block of the corresponding node into two rectangular blocks with a size ratio of 1:3, or a shape that splits the block of the corresponding node in a diagonal direction.
[0049] A CU can have various sizes depending on the QTBT or QTBTTT partitioning from the CTU. Hereinafter, the block corresponding to the CU to be encoded or decoded (i.e., the leaf node of the QTBTTT) is referred to as the "current block." Depending on the QTBTTT partitioning employed, the current block may be rectangular as well as square.
[0050] The prediction unit (120) predicts the current block and generates a prediction block. The prediction unit (120) includes an intra prediction unit (122) and an inter prediction unit (124).
[0051] In general, each current block within a picture can be predictively coded. Prediction of the current block can typically be performed using either intra-prediction (using data from the picture containing the current block) or inter-prediction (using data from a picture coded before the picture containing the current block). Inter-prediction encompasses both unidirectional and bidirectional prediction.
[0052] The intra prediction unit (122) predicts pixels within the current block using pixels (reference pixels) located around the current block within the current picture including the current block. There are multiple intra prediction modes depending on the prediction direction. For example, as shown in Fig. 3a, the multiple intra prediction modes may include two non-directional modes including the Planar mode and the DC mode, and 65 directional modes. The surrounding pixels to be used and the calculation formula are defined differently depending on each prediction mode.
[0053] For efficient directional prediction for a rectangular current block, directional modes (intra prediction modes 67 to 80 and -1 to -14) indicated by dotted arrows in Fig. 3b may be additionally used. These may be referred to as "wide-angle intra-prediction modes." In Fig. 3b, the arrows point to corresponding reference samples used for prediction, and do not indicate the prediction direction. The prediction direction is opposite to the direction indicated by the arrows. Wide-angle intra-prediction modes are modes that perform prediction in the opposite direction of a specific directional mode without additional bit transmission when the current block is rectangular. At this time, among the wide-angle intra-prediction modes, some wide-angle intra-prediction modes available for the current block may be determined based on the ratio of the width and height of the rectangular current block. For example, wide-angle intra prediction modes (intra prediction modes 67 to 80) having an angle less than 45 degrees are available when the current block is a rectangular shape whose height is smaller than its width, and wide-angle intra prediction modes (intra prediction modes -1 to -14) having an angle greater than -135 degrees are available when the current block is a rectangular shape whose width is larger than its height.
[0054] The intra prediction unit (122) can determine an intra prediction mode to be used to encode the current block. In some examples, the intra prediction unit (122) can encode the current block using multiple intra prediction modes and select an appropriate intra prediction mode to be used from the tested modes. For example, the intra prediction unit (122) can calculate bit-rate distortion values using rate-distortion analysis for multiple tested intra prediction modes and select an intra prediction mode with the best bit-rate distortion characteristics among the tested modes.
[0055] The intra prediction unit (122) selects one intra prediction mode from among multiple intra prediction modes and predicts the current block using surrounding pixels (reference pixels) and an operation formula determined according to the selected intra prediction mode. Information about the selected intra prediction mode is encoded by the entropy encoding unit (155) and transmitted to the image decoding device.
[0056] The inter prediction unit (124) generates a prediction block for the current block using a motion compensation process. The inter prediction unit (124) searches for a block most similar to the current block within reference pictures that were encoded and decoded before the current picture, and generates a prediction block for the current block using the searched block. Then, a motion vector (MV) corresponding to the displacement between the current block within the current picture and the prediction block within the reference picture is generated. Generally, motion estimation is performed on the luma component, and the motion vector calculated based on the luma component is used for both the luma component and the chroma component. The motion information including information on the reference picture used to predict the current block and information on the motion vector is encoded by the entropy encoding unit (155) and transmitted to the image decoding device.
[0057] The inter prediction unit (124) may perform interpolation on a reference picture or a reference block to improve prediction accuracy. That is, subsamples between two consecutive integer samples are interpolated by applying filter coefficients to a plurality of consecutive integer samples including the two integer samples. When a process of searching for a block most similar to the current block is performed on the interpolated reference picture, the motion vector can be expressed up to a precision in decimal units rather than a precision in integer sample units. The precision or resolution of the motion vector can be set differently for each target region to be encoded, such as a slice, tile, CTU, CU, etc. When such adaptive motion vector resolution (AMVR) is applied, information on the motion vector resolution to be applied to each target region must be signaled for each target region. For example, when the target region is a CU, information on the motion vector resolution applied to each CU is signaled. Information on the motion vector resolution may be information indicating the precision of a differential motion vector, which will be described later.
[0058] Meanwhile, the inter prediction unit (124) can perform inter prediction using bi-prediction. In the case of bi-prediction, two reference pictures and two motion vectors indicating the block position most similar to the current block within each reference picture are used. The inter prediction unit (124) selects a first reference picture and a second reference picture from reference picture list 0 (RefPicList0) and reference picture list 1 (RefPicList1), respectively, and searches for a block similar to the current block within each reference picture to generate a first reference block and a second reference block. Then, the first reference block and the second reference block are averaged or weighted averaged to generate a prediction block for the current block. Then, motion information including information on two reference pictures used to predict the current block and information on two motion vectors is transmitted to the entropy encoding unit (155). Here, reference picture list 0 may be composed of pictures that are before the current picture in display order among the restored pictures, and reference picture list 1 may be composed of pictures that are after the current picture in display order among the restored pictures. However, this is not necessarily limited to this, and restored pictures that are after the current picture in display order may be additionally included in reference picture list 0, and conversely, restored pictures that are before the current picture may be additionally included in reference picture list 1.
[0059] Various methods can be used to minimize the number of bits required to encode motion information.
[0060] For example, if the reference picture and motion vector of the current block are identical to those of a neighboring block, the motion information of the current block can be transmitted to the image decoding device by encoding information that can identify the neighboring block. This method is called 'merge mode.'
[0061] In merge mode, the inter prediction unit (124) selects a predetermined number of merge candidate blocks (hereinafter referred to as 'merge candidates') from the surrounding blocks of the current block.
[0062] As the surrounding blocks for deriving merge candidates, all or part of the left block (A0), the lower left block (A1), the upper block (B0), the upper right block (B1), and the upper left block (B2) adjacent to the current block within the current picture may be used, as illustrated in FIG. 4. In addition, a block located within a reference picture (which may or may not be the same as the reference picture used to predict the current block) other than the current picture in which the current block is located may be used as a merge candidate. For example, a block co-located with the current block within the reference picture or blocks adjacent to the block at the co-located block may be additionally used as a merge candidate. If the number of merge candidates selected by the method described above is less than a preset number, a 0 vector is added to the merge candidates.
[0063] The inter prediction unit (124) uses these surrounding blocks to construct a merge list containing a predetermined number of merge candidates. Among the merge candidates included in the merge list, the merge candidate to be used as motion information of the current block is selected and merge index information for identifying the selected candidate is generated. The generated merge index information is encoded by the entropy encoding unit (155) and transmitted to the video decoding device.
[0064] Merge Skip mode is a special case of merge mode. After quantization, when all transform coefficients for entropy encoding are close to zero, only neighboring block selection information is transmitted without transmitting residual signals. By utilizing merge skip mode, relatively high encoding efficiency can be achieved for low-motion images, still images, and screen content images.
[0065] Hereinafter, merge mode and merge skip mode are collectively referred to as merge / skip mode.
[0066] Another method for encoding motion information is Advanced Motion Vector Prediction (AMVP) mode.
[0067] In AMVP mode, the inter prediction unit (124) derives predicted motion vector candidates for the motion vector of the current block using neighboring blocks of the current block. As neighboring blocks used to derive predicted motion vector candidates, all or some of the left block (A0), the lower left block (A1), the upper block (B0), the upper right block (B1), and the upper left block (B2) adjacent to the current block in the current picture as shown in FIG. 4 may be used. In addition, a block located in a reference picture (which may or may not be the same as the reference picture used to predict the current block) other than the current picture in which the current block is located may be used as the neighboring block used to derive predicted motion vector candidates. For example, a block co-located with the current block in the reference picture or blocks adjacent to the block in the co-located block may be used. If the number of motion vector candidates is less than a preset number by the method described above, a 0 vector is added to the motion vector candidates.
[0068] The inter prediction unit (124) derives predicted motion vector candidates using the motion vectors of these surrounding blocks, and determines a predicted motion vector for the motion vector of the current block using the predicted motion vector candidates. Then, the predicted motion vector is subtracted from the motion vector of the current block to produce a differential motion vector.
[0069] The predicted motion vector can be obtained by applying a predefined function (e.g., median, mean, etc.) to the predicted motion vector candidates. In this case, the image decoding device also knows the predefined function. In addition, since the surrounding blocks used to derive the predicted motion vector candidates are blocks that have already been encoded and decoded, the image decoding device also already knows the motion vectors of the surrounding blocks. Therefore, the image encoding device does not need to encode information to identify the predicted motion vector candidates. Therefore, in this case, information about the differential motion vector and information about the reference picture used to predict the current block are encoded.
[0070] Alternatively, the predicted motion vector can be determined by selecting one of the predicted motion vector candidates. In this case, information for identifying the selected predicted motion vector candidate is additionally encoded, along with information about the differential motion vector and the reference picture used to predict the current block.
[0071] The subtractor (130) subtracts the prediction block generated by the intra prediction unit (122) or inter prediction unit (124) from the current block to generate a residual block.
[0072] The transformation unit (140) transforms residual signals within a residual block having pixel values in a spatial domain into transform coefficients in a frequency domain. The transformation unit (140) may transform the residual signals within the residual block using the entire size of the residual block as a transformation unit, or may divide the residual block into a plurality of sub-blocks and use the sub-blocks as transformation units to perform the transformation. Alternatively, the residual signals may be transformed using only the transformation domain sub-block as a transformation unit by dividing the sub-blocks into two sub-blocks, that is, a transformation domain and a non-transform domain. Here, the transformation domain sub-block may be one of two rectangular blocks having a size ratio of 1:1 with respect to the horizontal axis (or vertical axis). In this case, a flag (cu_sbt_flag) indicating that only a sub-block has been converted, directionality (vertical / horizontal) information (cu_sbt_horizontal_flag), and / or position information (cu_sbt_pos_flag) are encoded by the entropy encoding unit (155) and signaled to the image decoding device. In addition, the size of the conversion area sub-block may have a size ratio of 1:3 with respect to the horizontal axis (or vertical axis), and in this case, a flag (cu_sbt_quad_flag) distinguishing the corresponding division is additionally encoded by the entropy encoding unit (155) and signaled to the image decoding device.
[0073] Meanwhile, the transformation unit (140) can individually perform transformations on the residual block in the horizontal and vertical directions. For the transformation, various types of transformation functions or transformation matrices can be used. For example, a pair of transformation functions for horizontal transformation and vertical transformation can be defined as a Multiple Transform Set (MTS). The transformation unit (140) can select one transformation function pair with the best transformation efficiency among the MTS and transform the residual block in the horizontal and vertical directions, respectively. Information (mts_idx) on the transformation function pair selected among the MTS is encoded by the entropy encoding unit (155) and signaled to the image decoding device.
[0074] The quantization unit (145) quantizes the transform coefficients output from the transform unit (140) using quantization parameters and outputs the quantized transform coefficients to the entropy encoding unit (155). The quantization unit (145) may directly quantize a related residual block without transformation for a certain block or frame. The quantization unit (145) may also apply different quantization coefficients (scaling values) according to the positions of the transform coefficients within the transform block. The quantization matrix applied to the quantized transform coefficients arranged in two dimensions may be encoded and signaled to an image decoding device.
[0075] The rearrangement unit (150) can perform rearrangement of coefficient values for quantized residual values.
[0076] The reordering unit (150) can change a two-dimensional coefficient array into a one-dimensional coefficient sequence by using coefficient scanning. For example, the reordering unit (150) can output a one-dimensional coefficient sequence by scanning from the DC coefficient to the coefficients of the high-frequency region by using a zig-zag scan or a diagonal scan. Depending on the size of the transformation unit and the intra prediction mode, a vertical scan that scans the two-dimensional coefficient array in the column direction or a horizontal scan that scans the two-dimensional block-shaped coefficients in the row direction may be used instead of the zig-zag scan. That is, depending on the size of the transformation unit and the intra prediction mode, the scanning method to be used may be determined among the zig-zag scan, the diagonal scan, the vertical scan, and the horizontal scan.
[0077] The entropy encoding unit (155) generates a bitstream by encoding a sequence of one-dimensional quantized transform coefficients output from the rearrangement unit (150) using various encoding methods such as CABAC (Context-based Adaptive Binary Arithmetic Code) and Exponential Golomb.
[0078] In addition, the entropy encoding unit (155) encodes information related to block division, such as CTU size, CU division flag, QT division flag, MTT division type, and MTT division direction, so that the image decoding device can divide the block in the same manner as the image encoding device. In addition, the entropy encoding unit (155) encodes information about a prediction type indicating whether the current block is encoded by intra prediction or inter prediction, and encodes intra prediction information (i.e., information about an intra prediction mode) or inter prediction information (information about an encoding mode of motion information (merge mode or AMVP mode), a merge index in the case of a merge mode, and a reference picture index and a differential motion vector in the case of an AMVP mode) according to the prediction type. In addition, the entropy encoding unit (155) encodes information related to quantization, that is, information about a quantization parameter and information about a quantization matrix.
[0079] The inverse quantization unit (160) inversely quantizes the quantized transform coefficients output from the quantization unit (145) to generate transform coefficients. The inverse transform unit (165) transforms the transform coefficients output from the inverse quantization unit (160) from the frequency domain to the spatial domain to restore the residual block.
[0080] An adder (170) adds the restored residual block and the predicted block generated by the prediction unit (120) to restore the current block. The pixels within the restored current block are used as reference pixels when intra-predicting the next block.
[0081] The loop filter unit (180) performs filtering on restored pixels to reduce blocking artifacts, ringing artifacts, blurring artifacts, etc. that occur due to block-based prediction and transformation / quantization. The loop filter unit (180) may include all or part of a deblocking filter (182), a sample adaptive offset (SAO) filter (184), and an adaptive loop filter (ALF, 186) as an in-loop filter.
[0082] The deblocking filter (182) filters the boundaries between restored blocks to remove blocking artifacts caused by block-based encoding / decoding, and the SAO filter (184) and the ALF (186) perform additional filtering on the deblocking-filtered image. The SAO filter (184) and the ALF (186) are filters used to compensate for the differences between restored pixels and original pixels caused by lossy coding. The SAO filter (184) improves not only subjective image quality but also encoding efficiency by applying an offset in units of CTUs. In contrast, the ALF (186) performs block-based filtering, and compensates for distortion by applying different filters by distinguishing the edges and degrees of variation of the corresponding block. Information on filter coefficients to be used in the ALF can be encoded and signaled to an image decoding device.
[0083] The restored blocks filtered through the deblocking filter (182), SAO filter (184), and ALF (186) are stored in the memory (190). When all blocks within a picture are restored, the restored picture can be used as a reference picture for inter-predicting blocks within a picture to be encoded later.
[0084] The video encoding device can store the bitstream of encoded video data on a non-transitory storage medium or transmit it to the video decoding device using a communication network.
[0085] FIG. 5 is an exemplary block diagram of an image decoding device capable of implementing the techniques of the present disclosure. Hereinafter, the image decoding device and its subcomponents will be described with reference to FIG. 5.
[0086] The video decoding device may be configured to include an entropy decoding unit (510), a rearrangement unit (515), an inverse quantization unit (520), an inverse transformation unit (530), a prediction unit (540), an adder (550), a loop filter unit (560), and a memory (570).
[0087] Similar to the video encoding device of FIG. 1, each component of the video decoding device may be implemented in hardware, software, or a combination of hardware and software. Furthermore, the functions of each component may be implemented in software, with a microprocessor executing the software functions corresponding to each component.
[0088] The entropy decoding unit (510) decodes the bitstream generated by the image encoding device to extract information related to block division, thereby determining the current block to be decoded, and extracts prediction information, information on residual signals, etc. required to restore the current block.
[0089] The entropy decoding unit (510) extracts information about the CTU size from the Sequence Parameter Set (SPS) or the Picture Parameter Set (PPS), determines the size of the CTU, and divides the picture into CTUs of the determined size. Then, the CTU is determined as the top layer of the tree structure, i.e., the root node, and the CTU is divided using the tree structure by extracting division information about the CTU.
[0090] For example, when splitting a CTU using the QTBTTT structure, first, the first flag (QT_split_flag) related to the splitting of QT is extracted, and each node is split into four nodes of the lower layer. Then, for the nodes corresponding to the leaf nodes of QT, the second flag (mtt_split_flag) related to the splitting of MTT and the split direction (vertical / horizontal) and / or split type (binary / ternary) information are extracted, and the corresponding leaf nodes are split into the MTT structure. Accordingly, each node below the leaf nodes of QT are split recursively into the BT or TT structure.
[0091] As another example, when splitting a CTU using the QTBTTT structure, the CU split flag (split_cu_flag) indicating whether the CU is split is first extracted, and if the block is split, the first flag (QT_split_flag) may be extracted. During the splitting process, each node may undergo zero or more repeated QT splits followed by zero or more repeated MTT splits. For example, a CTU may undergo an MTT split right away, or conversely, may undergo only multiple QT splits.
[0092] As another example, when splitting a CTU using the QTBT structure, the first flag (QT_split_flag) related to the splitting of QT is extracted, and each node is split into four nodes of the lower layer. Furthermore, for nodes corresponding to leaf nodes of QT, a split flag (split_flag) indicating whether to further split into BTs and splitting direction information are extracted.
[0093] Meanwhile, when the entropy decoding unit (510) determines the current block to be decoded by using the division of the tree structure, it extracts information on the prediction type indicating whether the current block is intra-predicted or inter-predicted. If the prediction type information indicates intra-prediction, the entropy decoding unit (510) extracts syntax elements for intra-prediction information (intra-prediction mode) of the current block. If the prediction type information indicates inter-prediction, the entropy decoding unit (510) extracts syntax elements for inter-prediction information, i.e., information indicating a motion vector and a reference picture referenced by the motion vector.
[0094] Additionally, the entropy decoding unit (510) extracts information about the quantized transform coefficients of the current block as information related to quantization and information about residual signals.
[0095] The rearrangement unit (515) can change the sequence of one-dimensional quantized transform coefficients entropy-decoded in the entropy decoding unit (510) back into a two-dimensional coefficient array (i.e., block) in the reverse order of the coefficient scanning performed by the image encoding device.
[0096] The inverse quantization unit (520) inversely quantizes the quantized transform coefficients and inversely quantizes the quantized transform coefficients using the quantization parameters. The inverse quantization unit (520) may also apply different quantization coefficients (scaling values) to the quantized transform coefficients arranged in two dimensions. The inverse quantization unit (520) may perform inverse quantization by applying a matrix of quantized coefficients (scaling values) from an image encoding device to a two-dimensional array of quantized transform coefficients.
[0097] The inverse transform unit (530) inversely transforms the inverse quantized transform coefficients from the frequency domain to the spatial domain to restore residual signals, thereby generating a residual block for the current block.
[0098] In addition, when the inverse transform unit (530) inversely transforms only a portion of a transform block (sub-block), it extracts a flag (cu_sbt_flag) indicating that only a sub-block of the transform block has been transformed, directionality (vertical / horizontal) information (cu_sbt_horizontal_flag) of the sub-block, and / or position information (cu_sbt_pos_flag) of the sub-block, and inversely transforms the transform coefficients of the corresponding sub-block from the frequency domain to the spatial domain to restore residual signals, and fills “0” values with residual signals for areas that have not been inversely transformed, thereby generating a final residual block for the current block.
[0099] In addition, when MTS is applied, the inverse transform unit (530) determines a transform function or a transform matrix to be applied in the horizontal and vertical directions using MTS information (mts_idx) signaled from the image encoding device, and performs inverse transform on the transform coefficients within the transform block in the horizontal and vertical directions using the determined transform function.
[0100] The prediction unit (540) may include an intra prediction unit (542) and an inter prediction unit (544). The intra prediction unit (542) is activated when the prediction type of the current block is intra prediction, and the inter prediction unit (544) is activated when the prediction type of the current block is inter prediction.
[0101] The intra prediction unit (542) determines the intra prediction mode of the current block among a plurality of intra prediction modes from the syntax elements for the intra prediction mode extracted from the entropy decoding unit (510), and predicts the current block using reference pixels around the current block according to the intra prediction mode.
[0102] The inter prediction unit (544) uses the syntax elements for the inter prediction mode extracted from the entropy decoding unit (510) to determine the motion vector of the current block and the reference picture referenced by the motion vector, and predicts the current block using the motion vector and the reference picture.
[0103] An adder (550) adds the residual block output from the inverse transform unit (530) and the predicted block output from the inter prediction unit (544) or the intra prediction unit (542) to restore the current block. The pixels within the restored current block are used as reference pixels when intra-predicting a block to be decoded later.
[0104] The loop filter unit (560) may include a deblocking filter (562), an SAO filter (564), and an ALF (566) as in-loop filters. The deblocking filter (562) deblocks the boundaries between restored blocks to remove blocking artifacts caused by block-by-block decoding. The SAO filter (564) and the ALF (566) perform additional filtering on restored blocks after deblocking filtering to compensate for differences between restored pixels and original pixels caused by lossy coding. The filter coefficients of the ALF are determined using information about filter coefficients decoded from the non-stream.
[0105] The restored blocks filtered through the deblocking filter (562), SAO filter (564), and ALF (566) are stored in the memory (570). When all blocks within a picture are restored, the restored picture is used as a reference picture for inter-predicting blocks within a picture to be encoded later.
[0106]
[0107] The present embodiment relates to encoding and decoding of images (videos) as described above. More specifically, a video coding method and device using an implicit neural representation model that operates in units of N blocks or N frames are provided. In this case, N blocks represent blocks coded using the implicit neural representation model, and N frames represent frames coded using the implicit neural representation model. In addition, the present disclosure provides a video coding method and device that performs prediction or in-loop filtering of N blocks or N frames using the implicit neural representation model.
[0108] The following embodiments may be performed by various components within a video encoding apparatus. Furthermore, the following embodiments may be performed by various components within a video decoding apparatus.
[0109] The video encoding device can generate signaling information related to the present embodiment in terms of rate distortion optimization in encoding the current block. The video encoding device can encode the signaling information using the entropy encoding unit (155) and then transmit it to the video decoding device. The video decoding device can decode the signaling information related to the decoding of the current block from the bitstream using the entropy decoding unit (510).
[0110] In the following description, the term "target block" may be used interchangeably with the current block or coding unit (CU). Alternatively, the term "target block" may also refer to a portion of a coding unit.
[0111] Also, a value of a flag being true indicates that the flag is set to 1. Also, a value of a flag being false indicates that the flag is set to 0.
[0112] I. CNN(Convolutional Neural Network)
[0113] CNN, a neural network comprised of multiple convolutional layers and pooling layers, is a deep learning technique known to be ideal for image processing. Convolutional layers extract feature maps (also known as "features" or "characteristics") using multiple kernels or filters. The kernel coefficients that make up the filters are parameters determined during the learning process.
[0114] Among the convolutional layers of CNN, the front layer closer to the input extracts feature maps that respond to simple, low-level image features such as lines, points, or surfaces, while the back layer closer to the output extracts feature maps that respond to higher-level features such as textures and object parts.
[0115] FIG. 6 is an exemplary diagram showing the operation of a convolutional layer according to one embodiment of the present disclosure.
[0116] A convolutional layer generates a feature map from an input image using a convolution operation. The example in Fig. 6 illustrates a kernel (or filter) with a kernel size of 3×3. The kernel size is also referred to as the kernel size or filter size. The kernel has kernel parameters, also called weights. The kernel illustrated in Fig. 6 has a total of nine kernel parameters. The kernel parameters are initially set to arbitrary values, and their values can be updated based on learning.
[0117] The convolution layer performs convolution operations using blocks of the same size as the kernel size in the input image. At this time, the blocks of the same size as the kernel size in the input image are referred to as windows.
[0118] When filtering an input image in raster scan order, the window movement size is called the stride. In the example of Fig. 6, the stride is 1. If the stride is set to 2, the convolution operation is performed by spacing the window by 2 samples, and as a result, the width and height of the feature map become half the width and height of the input image.
[0119] As mentioned above, a single convolutional layer can include multiple filters. The number of filters or kernels is called a channel. In other words, the number of channels is equal to the number of filters. Furthermore, the number of filters determines the dimensionality of the feature map.
[0120] Padding refers to a method of expanding input data by filling the area around it with a specific value before performing a convolution operation. Padding is primarily used to adjust the spatial size of the output data. The padding value can be determined by hyperparameters, but zero-padding is commonly used. Without padding, the spatial size of the output data decreases with each convolutional layer, potentially causing boundary information to disappear. Therefore, padding is used to prevent this problem. Specifically, padding can be used to match the spatial sizes of the output data of the convolutional layer to those of the input data.
[0121] The deconvolution layer performs the opposite operation to the convolution layer. It generates the desired data image from the input feature map as output.
[0122] The pooling layer performs pooling, a process of subsampling the feature map generated by the convolutional layer. The pooling layer uses a 2×2 window to select samples so that the output is half the width and height of the input. In other words, the pooling layer is used to reduce the size of the input image or input feature map by condensing a 2×2 region into a single sample.
[0123] The opposite concept of a pooling layer is defined as an unpooling layer. Unpooling layers, in contrast to pooling layers, function to expand the dimensionality and are primarily used after deconvolution layers.
[0124] The convolutional encoder-decoder architecture is a network structure composed of pairs of convolutional layers and deconvolutional layers. The convolutional encoder consists of a convolutional layer and a pooling layer, and outputs a feature map (or feature vector) from the input image. The final output vector of the convolutional encoder is also referred to as a latent vector. The convolutional decoder consists of a deconvolutional layer and an unpooling layer, and generates an output image from the feature map or latent vector.
[0125] The inputs and outputs of a convolutional encoder-decoder can be configured in various ways depending on the application and network purpose. For example, the inputs and outputs can be optical flow maps, saliency maps, image frames, etc.
[0126] Figure 7 is an example diagram showing an SISR network.
[0127] One example of CNN application is Single Image Super Resolution (SISR). The SISR network generates a high-resolution image from a low-resolution input image. As illustrated in Figure 7, the SISR network may include multiple convolutional layers. Each convolutional layer includes an activation function, such as the Rectified Linear Unit (ReLU). The parameters of the SISR network can be trained so that the resulting SR (Super Resolution) image approximates the Ground Truth (GT).
[0128] SR methods using CNN can improve SR performance by increasing the depth (e.g., increasing the number of convolutional layers). To overcome the overfitting problem that may occur in learning due to the increase in depth, a residual block that can perform skip connection and residual learning can be used in the SISR network. The residual block, as illustrated in Fig. 8, is a block that stores input features x l In addition to the path that applies the convolution operation, it includes a skip path. In addition, the residual block outputs x l+1 When generating, a path or skip path for applying convolution operations can also be selected based on learning efficiency. In the example of Fig. 8, the residual block includes a BN (Batch Normalization) layer.
[0129] For example, Enhanced Deep Residual Networks (EDSR) improves network performance by continuously connecting residual blocks to increase their depth. Another example is Accurate Image Super-Resolution Using Very Deep Convolutional Networks (VDSR), a CNN model based on the Visual Geometry Group (VGG) network. It uses residual learning, a method that adds residual frames to the final output. VDSR adds residual signals to the very end of the network, thereby adding them to the input signal.
[0130] As another example, CNN can be used as an in-loop filter in an image encoding device or an image decoding device. In this case, the deep learning-based in-loop filter can be applied to any position within the existing loop filter unit (180, 560) consisting of a deblocking filter, an SAO filter, and an ALF.
[0131] Among the deep learning-based in-loop filters are fixed-coefficient in-loop filters. Fixed-coefficient deep learning in-loop filters use the same CNN kernel parameters stored on the image encoding and decoding devices.
[0132] Figure 9 is an example diagram showing a CNN-based fixed coefficient in-loop filter.
[0133] The input block (or input frame) is passed through a normalized QP map and then passed to the subsequent stage. The normalized QP map is used to reduce inference errors when quantization noise of different intensities is mixed during the learning and inference processes. The kernel parameters that constitute the DRU (Dense Residual Unit) and the convolutional layer can be stored and used identically in the image encoding device and the image decoding device. In the example of Fig. 9, each DRU may include all or part of the convolutional layer, the ReLU layer, and the depth-wise separable convolutional (DSC) layer.
[0134] Fixed-coefficient deep learning in-loop filters have the disadvantage of providing general performance for various video frames, which increases the number of layers in the CNN and thus increases the computation time.
[0135] II. Implicit neural representation model
[0136] Recently, there has been active research on implicit neural network representation models that represent various data, including images, using neural network structures. Conventional video representation methods use an explicit representation method, which represents RGB pixel values for each pixel location. To replace this explicit representation method, an implicit neural network representation model is being introduced, which represents a function that converts the (x, y) coordinates, which are pixel locations in an image, into (r, g, b) values using a neural network. Compared to explicit representation methods, implicit neural network representation models can be used regardless of image resolution. In this case, a multi-layer perceptron (MLP) network containing multiple fully-connected layers (FC) can be used as an implicit neural network representation model.
[0137] As an example of an implicit neural network representation model, there is an implicit neural representation for videos. Hereinafter, the implicit neural representation for videos model is referred to as the NeRV model. As mentioned above, the explicit representation method represents pixel values on a (x, y, t) grid using the location (x, y) of the pixel in the image and the time index t of the frame. The implicit neural network representation model outputs RGB pixel values from the input indicating the location (x, y, t). However, training the neural network at all locations of (x, y, t) can significantly increase the computational complexity, so, as shown in the example of Fig. 10, the NeRV model outputs an RGB image of the entire frame at the time index t using a neural network structure that only takes the time index t as input.
[0138] FIG. 11A and FIG. 11B are exemplary diagrams illustrating the concept of the NeRV model according to one embodiment of the present disclosure.
[0139] To easily provide image output for a time index t input, it may be more effective to use a convolutional layer than to use an MLP network of an existing implicit representation model. The NeRV model can generate output using a structure in which NeRV blocks composed of multiple convolutional layers are stacked. As shown in the example of Fig. 11a, an MLP-based output and a NeRV block-based output can be compared. The NeRV block includes convolutional layers that perform convolution, a pixel shuffle layer, and an activation layer, as shown in the example of Fig. 11b. In the example of Fig. 11b, C represents the number of channels, W and H represent the width and height of the input of the NeRV block, and S represents an upscaling factor.
[0140] Additionally, the NeRV model embeds the time index t in a high-dimensional space as in Equation 1 and then uses the embedded index as input.
[0141]
[0142] As illustrated in Equation 1, the time index t can be mapped to a 2L-dimensional vector γ(t). The present disclosure trains a NeRV model using the embedded time index t, thereby enabling the NeRV model to better predict video data containing high-frequency variations.
[0143] As the loss function of the NeRV model, a combination of L1 loss and SSIM (Structural Similarity Index) loss can be used. During training of the NeRV model, the aforementioned loss can be calculated at all pixel locations of the image estimated by the NeRV model based on the input and the ground truth (GT) image (i.e., the original image). The L1 loss is calculated using the absolute value of the difference between pixels in the estimated image and the GT image. The SSIM loss is calculated based on the mean, standard deviation, and correlation of pixels in the estimated image and the GT image. Thereafter, the weights (or parameters) that constitute the NeRV model during the training process can be updated based on the calculated loss.
[0144] FIG. 12 is an exemplary diagram illustrating an encoding pipeline of a NeRV model according to one embodiment of the present disclosure.
[0145] Since the original video can be approximately represented using the NeRV model, an end-to-end compression technology using a neural network can be implemented by compressing and transmitting the NeRV model. An encoding pipeline for encoding the NeRV model may include all or part of a video overfitter (1210), a model pruner (1220), a model quantizer (1230), and a weight encoder (1240), as shown in the example of Fig. 12.
[0146] The video overfitter (1210) expresses the input video frame as a NeRV model. At this time, the video encoding device trains the NeRV model using the aforementioned loss function, thereby allowing the NeRV model to express the video frame. The model pruner (1220) simplifies the NeRV model structure, which has an MLP or a mixed form of MLP and convolutional layers, using pruning. For example, pruning sets weights smaller than a preset threshold to zero. The model quantization unit (1230) quantizes the pruned weights (e.g., weights greater than the threshold). The weight encoding unit (1240) applies entropy encoding to the quantized weights to generate a bitstream of the weights.
[0147] Meanwhile, as a reverse order of the encoding pipeline illustrated in FIG. 12, a decoding pipeline for decoding a NeRV model can be illustrated as in FIG. 13. The decoding pipeline can include all or part of a weight decoder (1310), a model dequantizer (1320), a model reconstructor (1330), and a video generator (1340), as illustrated in FIG. 13.
[0148] The weight decoding unit (1310) applies entropy encoding to the bitstream of the weights of the NeRV model to generate quantized weights. The model dequantization unit (1320) dequantizes the quantized weights to generate pruned weights. The model restoration unit (1330) restores the NeRV model based on the pruned weights. The video generation unit (1340) uses the restored NeRV model to generate restored video frames according to the time index.
[0149] As mentioned above, the NeRV model uses the time index t of the frame as input. Therefore, when a video having pixels of size t×h×w is input, the NeRV model samples the input video only t times, not t×h×w times, so a large gain in both encoding speed and decoding speed can be expected.
[0150] III. Embodiments according to the present disclosure
[0151] Hereinafter, the present disclosure applies a NeRV-based neural network model to conventional video coding such as VVC. The present disclosure includes the following to improve the performance of video coding. First, the input format of the NeRV model is improved to be suitable for video coding. Conventional NeRV models are trained using positional information for all pixels or without pixel positional information. However, since signals are processed block-by-block in video coding, it is necessary to train the NeRV model for each Coding Tree Unit (CTU) or Coding Unit (CU) and extract signals using an index for each training unit.
[0152] Furthermore, the present disclosure can be applied to encoding techniques such as in-loop filters and inter-prediction used in VVC. In this case, a single NeRV model can be used. Alternatively, multiple NeRV models based on additional information of the encoding device, such as quantization parameters (QPs) and slice types, can be utilized to improve encoding efficiency. The present disclosure describes a method of using the NeRV model in the aforementioned encoding techniques.
[0153] The existing implicit neural network representation model uses pixel indices (x, y, t) as input, which significantly increases the complexity. The NeRV model can output the entire frame using the temporal index t as input, but may lose spatial information. Existing video coding devices, including VVC, divide the video frame into blocks and then process the signals of each block. Therefore, by training the NeRV model using the block indices, the NeRV model can be more usefully applied to the existing coding devices. Hereinafter, the term NeRV can refer to a more general method, such as including the block indices (i, j) in the implicit neural network representation model, in addition to the method of improving the existing NeRV model so that the input includes the block indices (i, j).
[0154] FIG. 14 is an exemplary diagram illustrating a block-based NeRV model according to one embodiment of the present disclosure.
[0155] As an example, the block-based NeRV model uses the index (i, j) of a video block containing one or more pixels and the time index t as inputs to represent the signals of the block corresponding to the index of the video block. For example, in the example of FIG. 14, the index (i, j) represents the index of the CTU or the index of the CU used in the video coding device. Like the existing NeRV, the block-based NeRV model is implemented by combining MLP and convolutional layers. As described above, the block index and the time index are embedded in a high-dimensional space as in the example of Equation 1, and then the embedded block index and the embedded time index are used as inputs of the NeRV model.
[0156] For example, the video encoding device trains the block-based NeRV model illustrated in FIG. 14 using the aforementioned loss function, thereby allowing the NeRV model to represent a block. The video encoding device transmits the block-based NeRV model to the video decoding device using the aforementioned encoding pipeline. The video decoding device restores the block-based NeRV model using the aforementioned decoding pipeline. Thereafter, the video decoding device can restore a block corresponding to a block index using the block-based NeRV model illustrated in FIG. 14.
[0157] FIG. 15 is an exemplary diagram illustrating a block-based NeRV model according to another embodiment of the present disclosure.
[0158] As another example, the block-based NeRV model can additionally use as input the local features of the video frame extracted from the deep learning-based extraction model in addition to the block index and the time index. In this case, the latent features including the features of the (i, j)th block or the features of the surrounding blocks are used as the local features. For example, the surrounding blocks are blocks that have already been decoded and represent samples of blocks located to the left or above the current block in intra prediction. In inter prediction, the surrounding blocks represent blocks in the preceding frame in the decoding order. In the example of Fig. 15, the NeRV model uses the local features (δ) that are a combination of the features of the (i, j)th block and the features of the surrounding blocks. t ) is used as additional input.
[0159] For example, the video encoding device trains the extraction model and the block-based NeRV model end-to-end as illustrated in FIG. 15, thereby causing the extraction model to extract local features and causing the NeRV model to represent blocks. The video encoding device transmits the block-based NeRV model to the video decoding device using the encoding pipeline described above. Additionally, the video encoding device encodes local features associated with the block and transmits the encoded local features to the video decoding device. The video decoding device reconstructs the block-based NeRV model using the decoding pipeline described above. Additionally, the video decoding device decodes the local features. Thereafter, the video decoding device can input a block index, a time index, and the local features into the block-based NeRV model to reconstruct a block corresponding to the block index.
[0160] The NeRV model is encoded using an encoding pipeline by a video encoding device as shown in the example of Fig. 12, and then transmitted to a video decoding device. The parameters (i.e., weights) of the trained model are encoded after their data size is reduced through model pruning, quantization, and entropy encoding. Considering universality for heterogeneous devices such as a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit), the NeRV model can be implemented using a method using floating point operations or a method using N (e.g., 8, 16, 32, etc.) bit fixed point operations. In this case, using a NeRV model for every block can significantly increase the size of the entire video bitstream. Therefore, the video encoding device can adaptively transmit the NeRV model for each block, instead of transmitting all NeRV models for each block. For example, in addition to blocks generated based on prediction, such as I (Intra) blocks, P (Predicted) blocks, and B (Bi-predicted) blocks, a new type of block called N blocks is defined. Instead of configuring blocks using a combination of prediction blocks and residual blocks based on existing intra prediction or inter prediction, the video decoding device generates signals of N blocks based on the received NeRV model. The N blocks are expressed by specifying the type in the block header of the CU or CTU. The video decoding device decodes the parameters of the NeRV model and then decodes the N blocks using the NeRV model.
[0161] Each N block can have parameters of a NeRV model. In addition, each N block can copy the parameters of the NeRV models of the surrounding N blocks and use the copied parameters as they are. Alternatively, the copied parameters can be used as initial values for training each N block. In the merge mode of VVC inter prediction, a video encoder copies side information of adjacent blocks and then uses the copied side information. Thereafter, instead of transmitting all the side information required for inter prediction of the current block, the video encoder can reduce the bit rate required for transmitting the side information by newly transmitting only an index indicating which block among the adjacent blocks is used.
[0162] Similar to VVC merge mode, by parsing only the indices indicating the N decoded blocks surrounding the current block, the video decoding device can reconstruct the current N blocks using the parameters of the NeRV model of the N decoded blocks. In this case, in addition to the models of spatially adjacent blocks, the video decoding device also uses models of spatially distant blocks.
[0163] The video encoding device configures a queue that manages parameters of the NeRV model associated with N blocks and signals the index of the queue to transmit information about the NeRV model. Alternatively, the video encoding device utilizes parameters of the NeRV model associated with N blocks that are not adjacent but are spatially closest.
[0164] Meanwhile, if the entire frame consists of N blocks, the corresponding frame is defined as an N frame. Alternatively, a frame containing at least one N block can be defined as an N frame. Since a frame can be further divided into slices, a slice consisting of only N blocks is defined as an N slice. Alternatively, a slice containing at least one N block is defined as an N slice.
[0165] A different NeRV model can be used for each N block in N frames. Alternatively, if N frames consist of only N blocks, a single NeRV model can be used. If a single NeRV model is used, the input of the NeRV model does not require a block-level index. That is, like the existing NeRV model, the video encoding device configures a NeRV model using an input structure that includes only a temporal index t without including a block index (i, j), and then encodes the configured NeRV model. As another example, while maintaining the input structure that uses block indices, the video encoding device configures the input by filling all (i, j) with (0,0) or values in a range that the existing (i, j) index cannot have (for example, negative values), and then trains the NeRV model using the configured input.
[0166] The video encoding device can apply one or more NeRV models to N blocks within N frames.
[0167] A video encoding device can adaptively transmit a NeRV model for each Group of Pictures (GOP). For example, one NeRV model is used for one GOP. Meanwhile, a video decoding device can receive a NeRV model from the first Instantaneous Decoding Refresh (IDR) frame of a GOP and apply the received model to the entire GOP. As another example, if the number of frames constituting a GOP is T, T NeRV models can be used. When applying a NeRV model to a GOP, the video encoding device uses the Picture Order Count (POC), which is the output order of the frames, as an input to the NeRV model. Alternatively, the video encoding device applies a T modulo operation (% in the example of FIG. 16) to the time order t of the frame to calculate the remainder, and then uses the calculated remainder as the time index of the NeRV model. At this time, the time order t of the frame is determined according to the POC or the encoding order. In the example of Fig. 16, as described above, the remainder obtained by applying the T modulo operation to the time sequence t of the frame is used as the time index of NeRV.
[0168] For example, a video encoding device trains a frame-based NeRV model as illustrated in FIG. 16 using the loss function described above, thereby allowing the NeRV model to represent a frame. In the example of FIG. 16, the video encoding device configures an input by filling all (i, j) with (0,0) or filling in a value (e.g., a negative value) that the existing (i, j) index cannot have. The video encoding device transfers the frame-based NeRV model to the video decoding device using the encoding pipeline described above. The video decoding device restores the frame-based NeRV model using the decoding pipeline described above. Thereafter, the video decoding device can restore a frame corresponding to a time index using the frame-based NeRV model as illustrated in FIG. 15.
[0169] Meanwhile, deep learning-based in-loop filters included in existing video encoding devices or video decoding devices are trained in advance using large amounts of data. When quantization noise is sufficiently removed from a general image, the same deep learning module trained in the in-loop filter of the video encoding device or video decoding device is configured, and then video encoding / decoding is performed based on the same deep learning module. At this time, the deep learning module is configured so that the video samples mixed with quantization noise after encoding and the original samples are close to each other, and is used in a fixed state in the video encoding device or video decoding device.
[0170] However, as mentioned above, the performance of a trained deep learning module can vary depending on the characteristics of the samples used for training. For example, if samples not used in the training process are input, the performance of the deep learning module may actually deteriorate. This is because the statistical characteristics of video samples input during actual video encoding can vary greatly depending on factors such as the intensity of quantization noise and the characteristics of the sensors used for content creation / generation.
[0171] Below, an example of applying the NeRV model described above to an in-loop filter is described in terms of a video encoding device.
[0172] FIG. 17 is an exemplary diagram showing the application of the NeRV model according to one embodiment of the present disclosure.
[0173] In the example of FIG. 17, the video encoding device reconstructs the first frame using an existing in-loop filter. In addition, the video encoding device trains a NeRV model using a time index as input, and generates a second frame as an output of the NeRV model. The video encoding device selects an optimal frame in terms of rate distortion between the first frame and the second frame. As another example, the video encoding device reconstructs the first block using an existing in-loop filter. In addition, the video encoding device trains a NeRV model using a block index and a time index as input, and generates a second block as an output of the NeRV model. The video encoding device selects an optimal block in terms of rate distortion between the first block and the second block. Thereafter, the video encoding device can explicitly signal information on which of the first frame / first block and the second frame / second block is used to the video decoding device at the frame / block level. Hereinafter, the signaled information is referred to as a NeRV utilization flag.
[0174] Below, an example of applying the NeRV model described above to intra prediction or inter prediction is described in terms of a video encoding device.
[0175] FIG. 18 is an exemplary diagram showing the application of the NeRV model according to another embodiment of the present disclosure.
[0176] In the example of FIG. 18, the video encoding device uses the NeRV model to replace all or part of the existing inverse transform unit (160), inverse quantization unit (165), prediction unit (120), and adder (170). In the existing prediction method, the video encoding device decodes the residual block, generates a prediction block, and then adds the residual block and the prediction block to generate the first reconstructed block. However, in the case of N blocks, the video encoding device can generate the second reconstructed block decoded using the NeRV model. After configuring the input by combining the time index and / or block index of the block / frame to be decoded, the video encoding device trains the NeRV model using the configured input, and outputs the video block at the corresponding time and space position as the output of the NeRV model, thereby generating the second reconstructed block. The video encoding device selects the optimal block in terms of rate distortion from among the first reconstructed block and the second reconstructed block. Thereafter, the video encoding device can explicitly signal information on which of the first and second reconstruction blocks is used to the video decoding device at the block level. After the video decoding device decodes the information on which of the first and second reconstruction blocks is used, it can use the NeRV model to replace the existing prediction method based on the decoded information. As described above, the signaled information is referred to as the NeRV utilization flag.
[0177] In the example of FIG. 18, the NeRV model generates a block to be decoded, but is not necessarily limited thereto. As an example, the NeRV model may be trained to output a prediction block generated by the prediction unit (120). The video encoding device may generate a decoded block by adding the residual block generated by the inverse transform unit (165) and the prediction block generated by the NeRV model. As another example, the NeRV model may be trained to output a residual block generated by the inverse transform unit (165). The video encoding device may generate a decoded block by adding the prediction block generated by the prediction unit (120) and the residual block generated by the NeRV model. When the NeRV model is trained to output a residual block, the NeRV model may use the original block as a GT, and the loss function may be defined using the residual (i.e., the difference between the GT and the prediction block).
[0178] In conclusion, the N blocks, which are the output of the NeRV model, correspond to the residual block, prediction block, reconstruction block, or loop-filtered block of the current block. Regardless of the type of the N blocks, the NeRV model can be trained according to an appropriate loss function using the original block as a GT. The video encoding device can additionally signal the type of the N blocks to the video decoding device. After the video decoding device decodes the type of the N blocks described above, it can apply a video decoding process based on the type of the N blocks to the N blocks, which are the output of the NeRV model. For example, if the N blocks correspond to a residual block, the video decoding device generates a prediction block of the current block according to a conventional decoding process, and generates a reconstruction block by adding the N blocks and the prediction block. If the N blocks correspond to a prediction block, the video decoding device generates a residual block of the current block according to a conventional decoding process, and generates a reconstruction block by adding the residual block and the N blocks. If block N corresponds to a restored block, the video decoding device applies loop filtering to block N. In addition, if block N corresponds to a loop-filtered block, the video decoding device stores a frame including block N in a Decoded Picture Buffer (DPB). The DPB exists in memory (570).
[0179] Below, we describe in detail an example of applying the NeRV model to the inter prediction method.
[0180] Conventional deep learning-based inter prediction generates a reference frame at the current time t using reference frames from past and future time points, and performs motion prediction and compensation for the current block based on the generated reference frame. Since motion prediction is performed using the reference frame estimated at the current time, encoding efficiency can be expected due to a reduction in the number of bits required to express the motion vector. However, the performance of a deep learning module trained to generate a reference frame at the current time also depends on the characteristics of the samples used in training. This is because the performance of the deep learning module may vary depending on factors such as the strength of quantization noise and the characteristics of the sensors used for content creation / generation. To address the aforementioned issues, a method of generating a reference frame using the NeRV model and applying it to motion compensation is described below.
[0181] As an example, as shown in the example of FIG. 19, the video decoding device generates a reference frame at the current time t using the NeRV model and then stores the generated reference frame in the DPB. The DPB exists in the memory (570). In the same manner as previously decoded video frames, the video decoding device uses the stored reference frames for motion prediction and compensation of the current block.
[0182] Below, we describe a method using multiple NeRV models.
[0183] When decoding a single N block or N frame, the video decoding device may use a single NeRV model as described above. Alternatively, the video decoding device may select one of a plurality of NeRV models and then use the selected NeRV model. At this time, the video encoding device generates a plurality of NeRV models, selects one of the generated NeRV models, and then performs encoding of the selected NeRV model. The method of generating various NeRV models is based on additional information of the video encoding device. For example, different NeRV models may be used depending on the slice type or the frame type. That is, different NeRV models may be used depending on whether N blocks within a P frame or N blocks within an I frame are decoded. Alternatively, different NeRV models may be used depending on the quantization parameter.
[0184] As an example, in the encoding pipeline of the NeRV model illustrated in FIG. 12, the video encoding device configures multiple NeRV models by differently setting the model pruner (1220) or the model quantizer (1230). The video encoding device selects the optimal model in terms of rate distortion from among the configured NeRV models. Using the encoding pipeline described above, the video encoding device transmits the selected NeRV model to the video decoding device.
[0185] As another example, frame types or quantization parameters are used as inputs to the NeRV model. In the example of Fig. 20, in addition to the temporal index and block index, the video encoding device additionally uses frame types or quantization parameters as inputs to the block-based NeRV model.
[0186] Hereinafter, using the cities of FIGS. 21 and 22, a method of encoding or decoding a current block using the NeRV model is described.
[0187] FIG. 21 is a flowchart illustrating a method for an image encoding device to encode a current block according to an embodiment of the present disclosure.
[0188] An image encoding device applies an image encoding process to an original block to generate a first block of the current block (S2100). Here, the first block corresponds to a loop-filtered block of the current block.
[0189] The image encoding device configures the input of the NeRV model (S2104).
[0190] The image encoding device configures a NeRV model according to the input (S2102).
[0191] As an example, a video encoding device can configure a NeRV model by training the NeRV model in a direction that reduces the loss function using input and original blocks (i.e., GT blocks). A combination of L1 loss and SSIM (Structural Similarity Index) loss can be used as the loss function.
[0192] As another example, the video encoding device can construct a NeRV model using parameters of the NeRV model of N decoded blocks around the current block.
[0193] The video encoding device applies the input to the NeRV model to output N blocks (S2106). Here, the N blocks correspond to the residual block, predicted block, restored block, or loop-filtered block of the current block.
[0194] The image encoding device applies an image decoding process based on the type of N blocks to N blocks to generate a second block corresponding to the loop-filtered block of the current block (S2108).
[0195] The video decoding process applied to N blocks is as follows. If N blocks correspond to a residual block, the video encoding device generates a prediction block of the current block and adds the N blocks and the prediction block to generate a reconstructed block. If N blocks correspond to a prediction block, the video encoding device generates a residual block of the current block and adds the residual block and N blocks to generate a reconstructed block. If N blocks correspond to a reconstructed block, the video encoding device applies loop filtering to N blocks. In addition, if N blocks correspond to a loop-filtered block, the video encoding device stores a frame including N blocks in the DPB.
[0196] The video encoding device determines a NeRV utilization flag based on the first block and the second block (S2110). Here, the NeRV utilization flag indicates whether to use the NeRV model and N blocks. In terms of rate distortion optimization, the video encoding device can determine the NeRV utilization flag. For example, if the first block is optimal, the NeRV utilization flag can be determined as false. On the other hand, if the second block is optimal, the NeRV utilization flag can be determined as true.
[0197] The video encoding device encodes the NeRV utilization flag (S2112).
[0198] The video encoding device checks the NeRV utilization flag (S2114).
[0199] If the NeRV utilization flag is true (Yes in S2114), the video encoding device encodes the encoding information of the second block.
[0200] Encode the types of N blocks and parameters of the NeRV model (S2116).
[0201] As mentioned above, N blocks correspond to the residual blocks, predicted blocks, restored blocks, or loop-filtered blocks of the current block. The video encoding device determines the type of N blocks in terms of rate distortion optimization. The video encoding device encodes the type of N blocks.
[0202] As an example, when constructing a NeRV model using training, the image encoding device encodes the parameters of the NeRV model using an encoding pipeline as illustrated in FIG. 12.
[0203] As another example, when constructing a NeRV model using parameters of a NeRV model of N decoded blocks surrounding a current block, the image encoding device encodes an index indicating the N decoded blocks.
[0204] If the NeRV utilization flag is false (No in S2114), the image encoding device encodes encoding information of the first block (S2120). Here, the encoding information of the first block includes a residual block, a prediction mode, a quantization parameter, a transformation kernel, etc. according to a conventional image encoding method.
[0205] FIG. 22 is a flowchart illustrating a method for an image decoding device to restore a current block according to an embodiment of the present disclosure.
[0206] The video decoding device decodes the NeRV utilization flag from the bitstream (S2200). Here, the NeRV utilization flag indicates whether the NeRV model and N blocks are used.
[0207] The video decoding device checks the NeRV utilization flag (S2202).
[0208] If the NeRV utilization flag is true (Yes in S2202), the video decoding device performs the following steps.
[0209] The video decoding device obtains a NeRV model (S2204).
[0210] As an example, a video decoding device decodes parameters of a NeRV model from a bitstream. Using the decoded parameters, the video decoding device constructs a NeRV model according to a decoding pipeline as illustrated in FIG. 13.
[0211] As another example, a video decoding device decodes an index indicating N decoded blocks from a bitstream. The video decoding device constructs a NeRV model using parameters of the NeRV model of the N decoded blocks indicated by the decoded index.
[0212] The video decoding device configures the input of the NeRV model (S2206).
[0213] The video decoding device applies the input to the NeRV model to output N blocks (S2208). Here, the N blocks correspond to the residual block, predicted block, restored block, or loop-filtered block of the current block.
[0214] The video decoding device decodes N types of blocks from a bitstream (S2210).
[0215] The image decoding device applies an image decoding process based on the type of N blocks to N blocks (S2212).
[0216] The video decoding process applied to N blocks is as follows. If N blocks correspond to a residual block, the video decoding device generates a prediction block of the current block and adds the N blocks and the prediction block to generate a reconstructed block. If N blocks correspond to a prediction block, the video decoding device generates a residual block of the current block and adds the residual block and N blocks to generate a reconstructed block. If N blocks correspond to a reconstructed block, the video decoding device applies loop filtering to N blocks. In addition, if N blocks correspond to a loop-filtered block, the video decoding device stores a frame including N blocks in the DPB.
[0217] If the NeRV utilization flag is false (No in S2202), the video decoding device performs the following steps.
[0218] The video decoding device decodes restoration information of the current block from the bitstream (S2220). Here, the restoration information of the current block includes a residual block, a prediction mode, a quantization parameter, a transformation kernel, etc. according to a conventional video decoding method.
[0219] The video decoding device generates a restoration block of the current block using a video decoding process based on restoration information of the current block (S2222). The video decoding device can generate a restoration block of the current block using a conventional video decoding process.
[0220] Although the flowchart / timing diagram of this specification describes each process as being executed sequentially, this is merely an illustrative description of the technical idea of one embodiment of the present disclosure. In other words, a person of ordinary skill in the art to which one embodiment of the present disclosure belongs may modify and apply various modifications and variations by changing the order described in the flowchart / timing diagram without departing from the essential characteristics of one embodiment of the present disclosure, or by executing one or more of the processes in parallel. Therefore, the flowchart / timing diagram is not limited to a chronological order.
[0221] It should be understood that the exemplary embodiments described above can be implemented in many different ways. The functions or methods described in one or more examples can be implemented in hardware, software, firmware, or any combination thereof. It should be understood that the functional components described herein are labeled as "units" to further emphasize their implementation independence.
[0222] Meanwhile, the various functions or methods described in this embodiment may be implemented as instructions stored on a non-transitory storage medium that can be read and executed by one or more processors. Non-transitory storage media include, for example, all types of storage devices that store data in a form readable by a computer system. For example, non-transitory storage media include storage media such as erasable programmable read-only memory (EPROM), flash drives, optical drives, magnetic hard drives, and solid-state drives (SSDs).
[0223] The above description is merely an example of the technical idea of the present embodiment, and those skilled in the art will appreciate that various modifications and variations can be made without departing from the essential characteristics of the present embodiment. Therefore, the present embodiments are not intended to limit the technical idea of the present embodiment, but rather to explain it, and the scope of the technical idea of the present embodiment is not limited by these embodiments. The scope of protection of the present embodiment should be interpreted by the claims below, and all technical ideas within a scope equivalent thereto should be interpreted as being included in the scope of rights of the present embodiment.
[0224] (Explanation of symbols)
[0225] 120: Prediction Department
[0226] 155: Entropy decryption unit
[0227] 1210: Video Overfeeter
[0228] 1220: Model Pruner
[0229] 1230: Model Quantization Department
[0230] 1240: Weight encoding unit
[0231]
[0232] CROSS-REFERENCE TO RELATED APPLICATION
[0233] This patent application claims priority to Korean patent application No. 10-2023-0035657, filed in Korea on March 20, 2023, and Korean patent application No. 10-2024-0004603, filed in Korea on January 11, 2024, the entire contents of which are incorporated herein by reference.
Claims
1. A method for restoring a current block performed by a video decoding device, Steps to obtain the NeRV (Neural Representations for Videos) model; A step of configuring the input of the above NeRV model; A step of applying the above input to the NeRV model to output N blocks, wherein the N blocks correspond to a residual block of the current block, a predicted block of the current block, a reconstructed block of the current block, or a loop-filtered block of the current block; A step of decoding the type of the N blocks from the bitstream; and A step of applying an image decoding process based on the type of the N blocks to the N blocks. A method, characterized by including:
2. In paragraph 1, A step of decoding a NeRV utilization flag from the bitstream, wherein the NeRV utilization flag indicates whether the NeRV model and the N block are used; and Step to check the NeRV utilization flag above Including more, A method characterized in that, if the NeRV utilization flag is true, a step of decoding the NeRV model or a step of applying the image decoding process is performed.
3. In paragraph 1, The steps for obtaining the above NeRV model are: a step of decoding parameters of the NeRV model from the bitstream; and Step of configuring the NeRV model using the above parameters A method, characterized by including:
4. In paragraph 1, The steps for obtaining the above NeRV model are: A step of decoding an index indicating an N block decoded from the above bitstream; and A step of configuring the NeRV model using the parameters of the NeRV model of the above-mentioned encrypted N block. A method, characterized by including:
5. In paragraph 1, The steps for configuring the above input are: A method characterized in that the input is configured to include an index of the current block in space and a time index of a frame including the current block.
6. In paragraph 5, The steps for configuring the above input are: A step of decoding local features from the bitstream, wherein the local features are features of the current block or a surrounding block of the current block, and are extracted by a deep learning-based extraction model in an image encoding device; A method characterized in that the input is configured to additionally include the local characteristic in addition to the index of the current block and the time index.
7. In paragraph 5, The steps for configuring the above input are: A method characterized in that the input is configured to include the embedded current block index and the embedded time index after embedding the current block index and the time index in a high-dimensional space.
8. In paragraph 1, The steps for obtaining the above NeRV model are: A method characterized by obtaining different NeRV models depending on the type or quantization parameters of a frame including the current block.
9. In paragraph 8, The steps for configuring the above input are: A method characterized in that the input is configured to include, in addition to the index of the current block in space and the time index of the frame, the type of the frame or the quantization parameter.
10. In paragraph 1, The step of applying the above video decryption process is: A method characterized in that, if the N blocks correspond to the residual blocks of the current block, a prediction block of the current block is generated, and a restoration block of the current block is generated by adding the N blocks and the prediction block.
11. In paragraph 1, The step of applying the above video decryption process is: A method characterized in that loop filtering is applied to the N blocks when the N blocks correspond to the restoration blocks of the current block.
12. A method for encoding a current block performed by a video encoding device, A step of generating a first block by applying an image encoding process to an original block of the current block, wherein the first block is a loop-filtered block of the current block; Step of configuring the input of the NeRV (Neural Representations for Videos) model; A step of constructing a NeRV model according to the above input; A step of applying the above input to the NeRV model to output N blocks, wherein the N blocks correspond to a residual block of the current block, a predicted block of the current block, a reconstructed block of the current block, or a loop-filtered block of the current block; and A step of applying an image decoding process based on the type of the N blocks to the N blocks to generate a second block corresponding to the loop-filtered block of the current block. A method, characterized by including:
13. In paragraph 12, The steps for configuring the above NeRV model are: A method for configuring the NeRV model by training the NeRV model in a direction of reducing a loss function using the input and the original block, characterized in that the loss function is a combination of L1 loss and SSIM (Structural Similarity Index) loss.
14. In paragraph 12, The steps for configuring the above NeRV model are: A method characterized in that the NeRV model is configured by using parameters of the NeRV model of N blocks of undulating encryption around the current block.
15. In paragraph 12, A step of determining a NeRV utilization flag based on the first block and the second block, wherein the NeRV utilization flag indicates whether to use the NeRV model and the N block; and Step of encoding the above NeRV utilization flag A method, characterized in that it further comprises:
16. In paragraph 15, Further comprising a step of checking the above NeRV utilization flag, A method characterized in that the method further comprises a step of encoding the types of the N blocks and the parameters of the NeRV model when the NeRV utilization flag is true and the NeRV model is configured using training.
17. In paragraph 15, Further comprising a step of checking the above NeRV utilization flag, A method characterized in that the NeRV utilization flag is true and, when the NeRV model is configured using parameters of the NeRV model of the N blocks decoded around the current block, the method further comprises a step of encoding an index indicating the type of the N blocks and the N blocks decoded.
18. A computer-readable recording medium storing a bitstream generated by an image encoding method, wherein the image encoding method comprises: A step of generating a first block by applying an image encoding process to an original block of the current block, wherein the first block is a loop-filtered block of the current block; Step of configuring the input of the NeRV (Neural Representations for Videos) model; A step of constructing a NeRV model according to the above input; A step of applying the above input to the NeRV model to output N blocks, wherein the N blocks correspond to a residual block of the current block, a predicted block of the current block, a reconstructed block of the current block, or a loop-filtered block of the current block; and A step of applying an image decoding process based on the type of the N blocks to the N blocks to generate a second block corresponding to the loop-filtered block of the current block. A recording medium, characterized by including:
Citation Information
Patent Citations
Pressure device and pressure control system having the same
KR1020230046244A
Machine learning video processing systems and methods
US20210211683A1
Implicit image and video compression using machine learning systems
US20220385907A1
Cited By
Video variable code rate coding method and device based on implicit neural representation model
CN119629346A
Video coding method and system based on implicit neural video representation
CN119922332A
