Image encoding / decoding method for processing repetition of nnpfc SEI message, method for transmitting bitstream, and recording medium having bitstream stored therein

MYPI2025002993A0Undetermined Publication Date: 2024-05-19LG ELECTRONICS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
MYPI2025002993
Authority / Receiving Office
MY · MY
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-11-19
Filing Date
2023-11-20
Publication Date
2024-05-19

AI Technical Summary

Technical Problem

The increasing demand for high-resolution, high-quality video data, such as HD and UHD, leads to a significant increase in video data size, resulting in higher transmission and storage costs, necessitating highly efficient video compression technologies.

Method used

A video encoding/decoding method that improves encoding/decoding efficiency by allowing the repetition of NNPFC SEI messages with the same content as the first NNPFC SEI message, using filter identification information, and includes a method for transmitting and storing bitstreams generated by this process.

Benefits of technology

This approach enhances encoding/decoding efficiency, reduces data size, and addresses the challenges of storing and transmitting high-resolution video data, while enabling the repeated use of NNPFC SEI messages with the same content, improving overall video processing and storage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure PI2025002993_DRAWING_001
    Figure PI2025002993_DRAWING_001
  • Figure PI2025002993_DRAWING_002
    Figure PI2025002993_DRAWING_002
  • Figure PI2025002993_DRAWING_003
    Figure PI2025002993_DRAWING_003
Patent Text Reader

Abstract

Provided are an image encoding / decoding method, a bitstream transmission method, and a computer-readable recording medium for storing a bitstream. The image decoding method according to the present disclosure may comprise the steps of: receiving a neural-network post-filter (NNPF)-related supplemental enhancement information (SEI) message to be applied to the current picture; reconstructing NNPF-related information on the basis of the NNPF-related SEI message; and on the basis of the NNPF-related information, applying an NNPF to the current picture. The NNPF-related SEI message includes a neural-network post-filter characteristics (NNPFC) SEI message including filter identification information and filter property present information, and on the basis that the NNPFC SEI message includes a base NNPF, the filter property present information may be limited to have a first value indicating that filter properties are present. Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

A video encoding / decoding method for processing repetition of NNPFC SEI messages, a method for transmitting a bitstream, and a recording medium storing a bitstream

[0001] The present disclosure relates to a video encoding / decoding method, a method for transmitting a bitstream, and a recording medium storing a bitstream, and relates to a method for processing repetition of an NNPFC SEI message, etc.

[0002] Recently, demand for high-resolution, high-quality images, such as HD (High Definition) and UHD (Ultra High Definition) images, has been increasing across various fields. As image data becomes higher resolution and higher quality, the amount of information transmitted, or bits, increases relative to conventional image data. This increase in information or bits transmitted leads to increased transmission and storage costs.

[0003] Accordingly, a highly efficient image compression technology is required to effectively transmit, store, and play high-resolution, high-quality image information.

[0004] The present disclosure aims to provide a video encoding / decoding method and device with improved encoding / decoding efficiency.

[0005] In addition, the present disclosure aims to provide a method and device for encoding / decoding an image in which an NNPFC SEI message including a basic neural network post-processing filter can be repeated.

[0006] In addition, the present disclosure aims to provide a video encoding / decoding method and device in which a repeated NNPFC SEI message can have the same content as the first NNPFC SEI message having the same filter identification information (e.g. nnpfc_id) value within the current CLVS in decoding order.

[0007] In addition, the present disclosure aims to provide a video encoding / decoding method and device that can solve at least some of the various problems described as problems of the prior art in the present disclosure.

[0008] In addition, the present disclosure aims to provide a non-transitory computer-readable recording medium for storing a bitstream generated by an image encoding method according to the present disclosure.

[0009] In addition, the present disclosure aims to provide a non-transitory computer-readable recording medium that stores a bitstream received and decoded by an image decoding device according to the present disclosure and used for restoring an image.

[0010] In addition, the present disclosure aims to provide a method for transmitting a bitstream generated by an image encoding method according to the present disclosure.

[0011] The technical problems to be achieved in the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field to which the present disclosure belongs from the description below.

[0012] An image decoding method according to one aspect of the present disclosure is an image decoding method performed by an image decoding device, comprising the steps of: receiving a neural-network post-filter (NNPF) related supplemental enhancement information (SEI) message to be applied to a current picture; restoring NNPF related information based on the NNPF related SEI message; and applying NNPF to the current picture based on the NNPF related information, wherein the NNPF related SEI message includes a neural-network post-filter characteristics (NNPFC) SEI message including filter identification information and filter property present information; and based on the NNPFC SEI message including a base NNPF, the filter property present information may be restricted to have a first value indicating that a filter property is present.

[0013] According to another aspect of the present disclosure, a video encoding method is provided, which is performed by a video encoding device, the video encoding method including: a step of generating NNPF-related information to be applied to a current picture; and a step of generating an NNPF-related SEI message based on the NNPF-related information, wherein the NNPF-related SEI message includes an NNPFC SEI message including filter identification information and filter characteristic presence information, and based on the NNPFC SEI message including a basic NNPF, the filter characteristic presence information may be restricted to have a first value indicating that a filter characteristic exists.

[0014] A computer-readable recording medium according to another aspect of the present disclosure can store a bitstream generated by an image encoding method or device of the present disclosure.

[0015] A transmission method according to another aspect of the present disclosure can transmit a bitstream generated by an image encoding method or device of the present disclosure.

[0016] The features briefly summarized above regarding the present disclosure are merely exemplary aspects of the detailed description of the present disclosure that follows and do not limit the scope of the present disclosure.

[0017] According to the present disclosure, a video encoding / decoding method and device with improved encoding / decoding efficiency can be provided.

[0018] Additionally, according to the present disclosure, the NNPFC SEI message including the basic neural network post-processing filter can be repeated.

[0019] Additionally, according to the present disclosure, a repeated NNPFC SEI message may have the same content as the first NNPFC SEI message with the same filter identification information (e.g. nnpfc_id) value within the current CLVS in decoding order.

[0020] In addition, according to the present disclosure, various problems described as problems of the prior art in the present disclosure can be solved.

[0021] In addition, according to the present disclosure, a non-transitory computer-readable recording medium for storing a bitstream generated by an image encoding method according to the present disclosure can be provided.

[0022] In addition, according to the present disclosure, a non-transitory computer-readable recording medium can be provided that stores a bitstream received and decoded by an image decoding device according to the present disclosure and used for restoring an image.

[0023] Additionally, according to the present disclosure, a method for transmitting a bitstream generated by an image encoding method can be provided.

[0024] The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned will be clearly understood by a person having ordinary skill in the art to which the present disclosure pertains from the description below.

[0025] FIG. 1 is a diagram schematically illustrating a video coding system to which an embodiment according to the present disclosure can be applied.

[0026] FIG. 2 is a schematic diagram of an image encoding device to which an embodiment according to the present disclosure can be applied.

[0027] FIG. 3 is a schematic diagram illustrating an image decoding device to which an embodiment according to the present disclosure can be applied.

[0028] Figure 4 is a drawing for explaining an interleaved method for deriving a luma channel.

[0029] FIG. 5 is a flowchart for explaining an image encoding method to which an embodiment according to the present disclosure can be applied.

[0030] FIG. 6 is a flowchart for explaining an image decoding method to which an embodiment according to the present disclosure can be applied.

[0031] FIG. 7 is a diagram exemplifying a content streaming system to which an embodiment according to the present disclosure can be applied.

[0032] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein.

[0033] In describing embodiments of the present disclosure, detailed descriptions of known configurations or functions will be omitted if they are deemed to obscure the gist of the present disclosure. Furthermore, portions unrelated to the description of the present disclosure in the drawings have been omitted, and similar portions have been designated with similar reference numerals.

[0034] In the present disclosure, when a component is said to be "connected," "coupled," or "connected" to another component, this may include not only a direct connection, but also an indirect connection in which another component exists in between. Furthermore, when a component is said to "include" or "have" another component, unless otherwise specifically stated, this does not exclude the other component, but rather implies that the other component may be included.

[0035] In this disclosure, terms such as first, second, etc. are used solely to distinguish one component from another, and do not limit the order or importance of components unless specifically stated otherwise. Accordingly, within the scope of this disclosure, a first component in one embodiment may be referred to as a second component in another embodiment, and similarly, a second component in one embodiment may be referred to as a first component in another embodiment.

[0036] In this disclosure, distinct components are used to clearly illustrate their respective characteristics, and do not necessarily imply that the components are separated. That is, multiple components may be integrated into a single hardware or software unit, or a single component may be distributed into multiple hardware or software units. Therefore, even if not specifically mentioned, such integrated or distributed embodiments are also included within the scope of this disclosure.

[0037] In the present disclosure, the components described in various embodiments are not necessarily essential components, and some may be optional components. Therefore, embodiments comprising a subset of the components described in one embodiment are also within the scope of the present disclosure. Furthermore, embodiments including other components in addition to the components described in various embodiments are also within the scope of the present disclosure.

[0038] The present disclosure relates to encoding and decoding of images, and terms used in the present disclosure may have their usual meanings commonly used in the technical field to which the present disclosure belongs, unless newly defined in the present disclosure.

[0039] In the present disclosure, a "picture" generally refers to a unit representing one image of a specific time period, and a slice / tile is a coding unit that constitutes a part of a picture, and a single picture may be composed of one or more slices / tiles. In addition, a slice / tile may include one or more coding tree units (CTUs).

[0040] In the present disclosure, "pixel" or "pel" may refer to the smallest unit that constitutes a picture (or image). Additionally, "sample" may be used as a term corresponding to a pixel. A sample may generally represent a pixel or a pixel value, and may represent only a pixel / pixel value of a luma component or only a pixel / pixel value of a chroma component.

[0041] In the present disclosure, a "unit" may represent a basic unit of image processing. A unit may include at least one of a specific region of a picture and information related to the region. In some cases, the term "unit" may be used interchangeably with terms such as "sample array," "block," or "area." In general, an MxN block may include a set (or array) of samples (or sample array) or transform coefficients consisting of M columns and N rows.

[0042] In the present disclosure, the "current block" may mean one of the following: a "current coding block," a "current coding unit," a "block to be encoded," a "block to be decoded," or a "block to be processed." When prediction is performed, the "current block" may mean a "current prediction block" or a "block to be predicted." When transformation (inverse transformation) / quantization (inverse quantization) is performed, the "current block" may mean a "current transformation block" or a "block to be transformed." When filtering is performed, the "current block" may mean a "block to be filtered."

[0043] In the present disclosure, a "current block" may mean a block that includes both a luma component block and a chroma component block, or a "luma block of the current block," unless explicitly described as a chroma block. The luma component block of the current block may be explicitly expressed by including an explicit description of the luma component block, such as "luma block" or "current luma block." Additionally, the chroma component block of the current block may be explicitly expressed by including an explicit description of the chroma component block, such as "chroma block" or "current chroma block."

[0044] In this disclosure, " / " and "," can be interpreted as "and / or". For example, "A / B" and "A, B" can be interpreted as "A and / or B". Additionally, "A / B / C" and "A, B, C" can mean "at least one of A, B, and / or C."

[0045] In this disclosure, "or" may be interpreted as "and / or." For example, "A or B" may mean 1) "A" only, 2) "B" only, or 3) "A and B." Alternatively, "or" in this disclosure may mean "additionally or alternatively."

[0046] Overview of Video Coding Systems

[0047] FIG. 1 is a diagram schematically illustrating a video coding system to which an embodiment according to the present disclosure can be applied.

[0048] A video coding system according to one embodiment may include an encoding device (10) and a decoding device (20). The encoding device (10) may transmit encoded video and / or image information or data to the decoding device (20) in the form of a file or streaming via a digital storage medium or a network.

[0049] An encoding device (10) according to one embodiment may include a video source generation unit (11), an encoding unit (12), and a transmission unit (13). A decoding device (20) according to one embodiment may include a reception unit (21), a decoding unit (22), and a rendering unit (23). The encoding unit (12) may be referred to as a video / image encoding unit, and the decoding unit (22) may be referred to as a video / image decoding unit. The transmission unit (13) may be included in the encoding unit (12). The reception unit (21) may be included in the decoding unit (22). The rendering unit (23) may include a display unit, and the display unit may be configured as a separate device or an external component.

[0050] The video source generation unit (11) can obtain video / images through a process of capturing, synthesizing, or generating video / images. The video source generation unit (11) can include a video / image capture device and / or a video / image generation device. The video / image capture device can include, for example, one or more cameras, a video / image archive including previously captured video / images, etc. The video / image generation device can include, for example, a computer, a tablet, a smartphone, etc., and can (electronically) generate video / images. For example, a virtual video / image can be generated through a computer, etc., in which case the video / image capture process can be replaced with a process of generating related data.

[0051] The encoding unit (12) can encode input video / images. The encoding unit (12) can perform a series of procedures, such as prediction, transformation, and quantization, to improve compression and encoding efficiency. The encoding unit (12) can output encoded data (encoded video / image information) in the form of a bitstream.

[0052] The transmission unit (13) can obtain encoded video / image information or data output in the form of a bitstream, and transmit it to the reception unit (21) of the decoding device (20) or another external object through a digital storage medium or a network in the form of a file or streaming. The digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. The transmission unit (13) may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcasting / communication network. The transmission unit (13) may be provided as a separate transmission device from the encoding device (12), and in this case, the transmission device may include at least one processor for obtaining encoded video / image information or data output in the form of a bitstream, and a transmission unit for transmitting it in the form of a file or streaming. The reception unit (21) can extract / receive the bitstream from the storage medium or network and transmit it to the decoding unit (22).

[0053] The decoding unit (22) can decode video / image by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to the operation of the encoding unit (12).

[0054] The rendering unit (23) can render the decrypted video / image. The rendered video / image can be displayed through the display unit.

[0055] Overview of the video encoding device

[0056] FIG. 2 is a schematic diagram illustrating an image encoding device to which an embodiment according to the present disclosure can be applied.

[0057] As illustrated in FIG. 2, the image encoding device (100) may include an image segmentation unit (110), a subtraction unit (115), a transformation unit (120), a quantization unit (130), an inverse quantization unit (140), an inverse transformation unit (150), an addition unit (155), a filtering unit (160), a memory (170), an inter prediction unit (180), an intra prediction unit (185), and an entropy encoding unit (190). The inter prediction unit (180) and the intra prediction unit (185) may be collectively referred to as a “prediction unit.” The transformation unit (120), the quantization unit (130), the inverse quantization unit (140), and the inverse transformation unit (150) may be included in a residual processing unit. The residual processing unit may further include a subtraction unit (115).

[0058] All or at least some of the plurality of components constituting the video encoding device (100) may be implemented as a single hardware component (e.g., an encoder or a processor) according to an embodiment. In addition, the memory (170) may include a decoded picture buffer (DPB) and may be implemented by a digital storage medium.

[0059] The image segmentation unit (110) can segment an input image (or picture, frame) input to the image encoding device (100) into one or more processing units. For example, the processing unit may be called a coding unit (CU). The coding unit may be obtained by recursively segmenting a coding tree unit (CTU) or a largest coding unit (LCU) according to a QT / BT / TT (Quad-tree / binary-tree / ternary-tree) structure. For example, one coding unit may be segmented into a plurality of coding units of deeper depth based on a quad-tree structure, a binary-tree structure, and / or a ternary-tree structure. For segmenting the coding unit, the quad-tree structure may be applied first, and the binary-tree structure and / or the ternary-tree structure may be applied later. The coding procedure according to the present disclosure may be performed based on the final coding unit that is no longer segmented. The maximum coding unit can be used directly as the final coding unit, and the coding unit of the lower depth obtained by dividing the maximum coding unit can be used as the final coding unit. Here, the coding procedure may include procedures such as prediction, transformation, and / or restoration described below. As another example, the processing unit of the coding procedure may be a prediction unit (PU) or a transformation unit (TU). The prediction unit and the transformation unit may each be divided or partitioned from the final coding unit. The prediction unit may be a unit of sample prediction, and the transformation unit may be a unit for deriving a transform coefficient and / or a unit for deriving a residual signal from a transform coefficient.

[0060] The prediction unit (inter-prediction unit (180) or intra-prediction unit (185)) can perform prediction on a block to be processed (current block) and generate a predicted block including prediction samples for the current block. The prediction unit can determine whether intra-prediction or inter-prediction is applied to the current block or CU unit. The prediction unit can generate various information regarding the prediction of the current block and transmit the information to the entropy encoding unit (190). The information regarding the prediction can be encoded by the entropy encoding unit (190) and output in the form of a bitstream.

[0061] The intra prediction unit (185) can predict the current block by referring to samples within the current picture. The referenced samples may be located in the neighborhood of the current block or may be located away from it, depending on the intra prediction mode and / or intra prediction technique. The intra prediction modes may include a plurality of non-directional modes and a plurality of directional modes. The non-directional modes may include, for example, a DC mode and a planar mode. The directional modes may include, for example, 33 directional prediction modes or 65 directional prediction modes, depending on the degree of detail in the prediction direction. However, this is merely an example, and a greater or lesser number of directional prediction modes may be used depending on the settings. The intra prediction unit (185) may also determine the prediction mode applied to the current block by using the prediction mode applied to the neighboring blocks.

[0062] The inter prediction unit (180) can derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on a reference picture. At this time, in order to reduce the amount of motion information transmitted in the inter prediction mode, the motion information can be predicted in units of blocks, sub-blocks, or samples based on the correlation of the motion information between the neighboring blocks and the current block. The motion information can include a motion vector and a reference picture index. The motion information can further include information on the inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.). In the case of inter prediction, the neighboring block can include a spatial neighboring block existing in the current picture and a temporal neighboring block existing in the reference picture. The reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different. The temporal neighboring block may be called a collocated reference block, a collocated CU (colCU), etc. A reference picture including the above temporal neighboring blocks may be called a collocated picture (colPic). For example, the inter prediction unit (180) may construct a motion information candidate list based on neighboring blocks and generate information indicating which candidate is used to derive the motion vector and / or reference picture index of the current block. Inter prediction may be performed based on various prediction modes, and for example, in the case of skip mode and merge mode, the inter prediction unit (180) may use the motion information of neighboring blocks as the motion information of the current block. In the case of skip mode, unlike the merge mode, a residual signal may not be transmitted.In the motion vector prediction (MVP) mode, the motion vector of the current block can be signaled by using the motion vector of the surrounding blocks as the motion vector predictor and encoding the motion vector difference and an indicator for the motion vector predictor. The motion vector difference can mean the difference between the motion vector of the current block and the motion vector predictor.

[0063] The prediction unit can generate a prediction signal based on various prediction methods and / or prediction techniques described below. For example, the prediction unit can apply intra prediction or inter prediction to predict the current block, and can also apply intra prediction and inter prediction simultaneously. A prediction method that simultaneously applies intra prediction and inter prediction to predict the current block may be called combined inter and intra prediction (CIIP). In addition, the prediction unit may perform intra block copy (IBC) to predict the current block. Intra block copy can be used for video / image coding of content such as games, such as screen content coding (SCC). IBC is a method of predicting the current block using a previously restored reference block within the current picture located at a predetermined distance from the current block. When IBC is applied, the location of the reference block within the current picture can be encoded as a vector (block vector) corresponding to the predetermined distance. IBC basically performs prediction within the current picture, but can be performed similarly to inter prediction in that it derives reference blocks within the current picture. That is, IBC can utilize at least one of the inter prediction techniques described in the present disclosure.

[0064] The prediction signal generated through the prediction unit can be used to generate a restoration signal or a residual signal. The subtraction unit (115) can generate a residual signal (residual block, residual sample array) by subtracting the prediction signal (predicted block, predicted sample array) output from the prediction unit from the input image signal (original block, original sample array). The generated residual signal can be transmitted to the conversion unit (120).

[0065] The transform unit (120) can apply a transform technique to the residual signal to generate transform coefficients. For example, the transform technique can include at least one of a Discrete Cosine Transform (DCT), a Discrete Sine Transform (DST), a Karhunen-Loeve Transform (KLT), a Graph-Based Transform (GBT), or a Conditionally Non-linear Transform (CNT). Here, GBT refers to a transform obtained from a graph when the relationship information between pixels is expressed as a graph. CNT refers to a transform obtained based on generating a prediction signal using all previously reconstructed pixels. The transform process can be applied to a pixel block having a square equal size, or can be applied to a block of a non-square variable size.

[0066] The quantization unit (130) can quantize the transform coefficients and transmit them to the entropy encoding unit (190). The entropy encoding unit (190) can encode the quantized signal (information about the quantized transform coefficients) and output it as a bitstream. The information about the quantized transform coefficients can be called residual information. The quantization unit (130) can rearrange the quantized transform coefficients in a block form into a one-dimensional vector form based on a coefficient scan order, and can also generate information about the quantized transform coefficients based on the quantized transform coefficients in the one-dimensional vector form.

[0067] The entropy encoding unit (190) can perform various encoding methods, such as, for example, exponential Golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC). The entropy encoding unit (190) can also encode, together or separately, information necessary for video / image restoration (e.g., values ​​of syntax elements) in addition to quantized transform coefficients. The encoded information (e.g., encoded video / image information) can be transmitted or stored in the form of a bitstream in the form of a network abstraction layer (NAL) unit. The video / image information may further include information on various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS). In addition, the video / image information may further include general constraint information. The signaling information, transmitted information and / or syntax elements mentioned in the present disclosure may be encoded through the encoding procedure described above and included in the bitstream.

[0068] The above bitstream may be transmitted via a network or stored in a digital storage medium. Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. A transmission unit (not shown) for transmitting the signal output from the entropy encoding unit (190) and / or a storage unit (not shown) for storing the signal may be provided as an internal / external element of the video encoding device (100), or the transmission unit may be provided as a component of the entropy encoding unit (190).

[0069] The quantized transform coefficients output from the quantization unit (130) can be used to generate a residual signal. For example, by applying inverse quantization and inverse transformation to the quantized transform coefficients through the inverse quantization unit (140) and inverse transformation unit (150), a residual signal (residual block or residual samples) can be restored.

[0070] The addition unit (155) can generate a reconstructed signal (reconstructed picture, reconstructed block, reconstructed sample array) by adding the reconstructed residual signal to the prediction signal output from the inter prediction unit (180) or the intra prediction unit (185). When there is no residual for the block to be processed, such as when skip mode is applied, the predicted block can be used as the reconstructed block. The addition unit (155) can be called a reconstructor or a reconstructed block generation unit. The generated reconstructed signal can be used for intra prediction of the next block to be processed within the current picture, and can also be used for inter prediction of the next picture after filtering as described below.

[0071] The filtering unit (160) can improve subjective / objective picture quality by applying filtering to the restoration signal. For example, the filtering unit (160) can apply various filtering methods to the restoration picture to generate a modified restoration picture, and store the modified restoration picture in the memory (170), specifically, in the DPB of the memory (170). The various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, etc. The filtering unit (160) can generate various information regarding filtering and transmit the information to the entropy encoding unit (190), as described later in the description of each filtering method. The information regarding filtering may be encoded by the entropy encoding unit (190) and output in the form of a bitstream.

[0072] The modified restored picture transmitted to the memory (170) can be used as a reference picture in the inter prediction unit (180). Through this, when inter prediction is applied, the image encoding device (100) can avoid prediction mismatch between the image encoding device (100) and the image decoding device, and can also improve encoding efficiency.

[0073] The DPB in the memory (170) can store a modified reconstructed picture to be used as a reference picture in the inter prediction unit (180). The memory (170) can store motion information of a block from which motion information in the current picture is derived (or encoded) and / or motion information of blocks in a picture that has already been reconstructed. The stored motion information can be transferred to the inter prediction unit (180) to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block. The memory (170) can store reconstructed samples of reconstructed blocks in the current picture and transfer them to the intra prediction unit (185).

[0074] Video Decryption Device Overview

[0075] FIG. 3 is a schematic diagram illustrating an image decoding device to which an embodiment according to the present disclosure can be applied.

[0076] As illustrated in FIG. 3, the image decoding device (200) may be configured to include an entropy decoding unit (210), an inverse quantization unit (220), an inverse transformation unit (230), an addition unit (235), a filtering unit (240), a memory (250), an inter prediction unit (260), and an intra prediction unit (265). The inter prediction unit (260) and the intra prediction unit (265) may be collectively referred to as a “prediction unit.” The inverse quantization unit (220) and the inverse transformation unit (230) may be included in a residual processing unit.

[0077] All or at least some of the plurality of components constituting the video decoding device (200) may be implemented as a single hardware component (e.g., a decoder or processor) depending on the embodiment. In addition, the memory (170) may include a DPB and may be implemented by a digital storage medium.

[0078] The video decoding device (200) that receives a bitstream including video / image information can restore the image by performing a process corresponding to the process performed in the video encoding device (100) of FIG. 2. For example, the video decoding device (200) can perform decoding using a processing unit applied in the video encoding device. Therefore, the processing unit for decoding may be, for example, a coding unit. The coding unit may be a coding tree unit or may be obtained by dividing a maximum coding unit. In addition, the restored image signal decoded and output by the video decoding device (200) can be reproduced through a reproduction device (not shown).

[0079] The video decoding device (200) can receive a signal output from the video encoding device of FIG. 2 in the form of a bitstream. The received signal can be decoded through the entropy decoding unit (210). For example, the entropy decoding unit (210) can parse the bitstream to derive information (e.g., video / image information) necessary for image restoration (or picture restoration). The video / image information may further include information on various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS). In addition, the video / image information may further include general constraint information. The video decoding device may additionally use information on the parameter set and / or the general constraint information to decode the image. The signaling information, received information, and / or syntax elements mentioned in the present disclosure can be obtained from the bitstream by being decoded through the decoding procedure. For example, the entropy decoding unit (210) can decode information in the bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and output the values ​​of syntax elements required for image restoration and the quantized values ​​of transform coefficients for residuals. More specifically, the CABAC entropy decoding method receives a bin corresponding to each syntax element in the bitstream, determines a context model using information of the syntax element to be decoded and the decoding information of the surrounding block and the decoding target block or the information of the symbol / bin decoded in the previous step, and predicts the occurrence probability of the bin according to the determined context model to perform arithmetic decoding of the bin to generate a symbol corresponding to the value of each syntax element.At this time, the CABAC entropy decoding method can update the context model using the information of the decoded symbol / bin for the context model of the next symbol / bin after determining the context model. Information regarding prediction among the information decoded by the entropy decoding unit (210) is provided to the prediction unit (inter prediction unit (260) and intra prediction unit (265)), and the residual value on which entropy decoding is performed by the entropy decoding unit (210), i.e., quantized transform coefficients and related parameter information, can be input to the inverse quantization unit (220). In addition, information regarding filtering among the information decoded by the entropy decoding unit (210) can be provided to the filtering unit (240). Meanwhile, a receiving unit (not shown) that receives a signal output from an image encoding device may be additionally provided as an internal / external element of the image decoding device (200), or the receiving unit may be provided as a component of an entropy decoding unit (210).

[0080] Meanwhile, the video decoding device according to the present disclosure may be referred to as a video / video / picture decoding device. The video decoding device may include an information decoder (video / video / picture information decoder) and / or a sample decoder (video / video / picture sample decoder). The information decoder may include an entropy decoding unit (210), and the sample decoder may include at least one of an inverse quantization unit (220), an inverse transformation unit (230), an addition unit (235), a filtering unit (240), a memory (250), an inter prediction unit (260), and an intra prediction unit (265).

[0081] The inverse quantization unit (220) can inverse quantize the quantized transform coefficients and output the transform coefficients. The inverse quantization unit (220) can rearrange the quantized transform coefficients into a two-dimensional block form. In this case, the rearrangement can be performed based on the coefficient scanning order performed in the image encoding device. The inverse quantization unit (220) can perform inverse quantization on the quantized transform coefficients using quantization parameters (e.g., quantization step size information) and obtain transform coefficients.

[0082] In the inverse transform unit (230), the transform coefficients can be inversely transformed to obtain a residual signal (residual block, residual sample array).

[0083] The prediction unit can perform a prediction on the current block and generate a predicted block containing prediction samples for the current block. The prediction unit can determine whether intra-prediction or inter-prediction is applied to the current block based on the prediction information output from the entropy decoding unit (210), and can determine a specific intra / inter-prediction mode (prediction technique).

[0084] The fact that the prediction unit can generate a prediction signal based on various prediction methods (techniques) described below is the same as that mentioned in the description of the prediction unit of the image encoding device (100).

[0085] The intra prediction unit (265) can predict the current block by referring to samples within the current picture. The description of the intra prediction unit (185) can be equally applied to the intra prediction unit (265).

[0086] The inter prediction unit (260) can derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on a reference picture. At this time, in order to reduce the amount of motion information transmitted in the inter prediction mode, the motion information can be predicted in units of blocks, sub-blocks, or samples based on the correlation of the motion information between the neighboring blocks and the current block. The motion information can include a motion vector and a reference picture index. The motion information can further include information on the inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.). In the case of inter prediction, the neighboring blocks can include spatial neighboring blocks existing in the current picture and temporal neighboring blocks existing in the reference picture. For example, the inter prediction unit (260) can construct a motion information candidate list based on the neighboring blocks, and derive the motion vector and / or reference picture index of the current block based on the received candidate selection information. Inter prediction can be performed based on various prediction modes (techniques), and the information about the prediction can include information indicating the mode (technique) of inter prediction for the current block.

[0087] The addition unit (235) can generate a restoration signal (restored picture, restoration block, restoration sample array) by adding the acquired residual signal to the prediction signal (predicted block, prediction sample array) output from the prediction unit (including the inter prediction unit (260) and / or the intra prediction unit (265)). When there is no residual for the block to be processed, such as when the skip mode is applied, the predicted block can be used as the restoration block. The description of the addition unit (155) can be equally applied to the addition unit (235). The addition unit (235) can be called a restoration unit or a restoration block generation unit. The generated restoration signal can be used for intra prediction of the next block to be processed within the current picture, and can also be used for inter prediction of the next picture after going through filtering as described below.

[0088] The filtering unit (240) can improve subjective / objective image quality by applying filtering to the restored signal. For example, the filtering unit (240) can apply various filtering methods to the restored picture to generate a modified restored picture, and can store the modified restored picture in the memory (250), specifically, in the DPB of the memory (250). The various filtering methods can include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, etc.

[0089] The (modified) reconstructed picture stored in the DPB of the memory (250) can be used as a reference picture in the inter prediction unit (260). The memory (250) can store motion information of a block from which motion information is derived (or decoded) within the current picture and / or motion information of blocks within a picture that has already been reconstructed. The stored motion information can be transferred to the inter prediction unit (260) to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block. The memory (250) can store reconstructed samples of reconstructed blocks within the current picture and transfer them to the intra prediction unit (265).

[0090] In this specification, the embodiments described in the filtering unit (160), the inter prediction unit (180), and the intra prediction unit (185) of the image encoding device (100) can be applied to the filtering unit (240), the inter prediction unit (260), and the intra prediction unit (265) of the image decoding device (200) in the same or corresponding manner, respectively.

[0091] Neural-network post-filter characteristics (NNPFC)

[0092] The combination of Table 1 and Table 2 represents the NNPFC syntax structure.

[0093]

[0094]

[0095] The NNPFC syntax structures of Tables 1 and 2 may be signaled in the form of supplemental enhancement information (SEI) messages. An SEI message signaling the NNPFC syntax structures of Tables 1 and 2 may be referred to as an NNPFC SEI message.

[0096] The NNPFC SEI message can specify a neural network that can be used as a post-processing filter. The use of specific post-processing filters for specific pictures can be indicated using neural-network post-filter activation SEI messages. Here, "post-processing filter" and "post-filter" can have the same meaning.

[0097] Using these SEI messages may require defining the following variables:

[0098] - The width and height of the decoded output picture can be cropped in luma sample units, and this width and height can be represented as CroppedWidth and CroppedHeight, respectively.

[0099] - CroppedYPic[idx], which is an array of luma samples of cropped decoded output pictures, and CroppedCbPic[idx] and CroppedCrPic[idx], which are arrays of chroma samples, can be used as inputs to a post-processing filter if they exist, and idx can range from 0 to numInputPics-1.

[0100] - BitDepth Y may represent the bit depth for the luma sample array of cropped decoded output pictures.

[0101] - BitDepth C may represent the bit depth of the chroma sample arrays (if any) of the cropped decoded output pictures.

[0102] - ChromaFormatIdc can represent a chroma format identifier.

[0103] - If the value of nnpfc_auxiliary_inp_idc is 1, the filtering strength control value StrengthControlVal must be a real number in the range of 0 to 1.

[0104] The variables SubWidthC and SubHeightC can be derived from ChromaFormatIdc. There can be more than one NNPFC SEI message for the same picture. If more than one NNPFC SEI message with different nnpfc_id values ​​exists or is enabled for the same picture, the two or more NNPFC SEI messages can have the same or different nnpfc_purpose and nnpfc_mode_idx values.

[0105] nnpfc_id can contain an identifier number that can be used to identify the post-processing filter. The nnpfc_id value can be between 0 and 2. 32 - Must be in the range of 2. 256 to 511 and 2 31 Inland 2 32 - nnpfc_id values ​​in the range 256 to 511 may be reserved for future use. Decoders may use values ​​in the range 256 to 511 or 2 31 Inland 2 32 - NNPFC SEI messages with nnpfc_id in the range 2 must be ignored.

[0106] If the NNPFC SEI message is the first NNPFC SEI message in decoding order with a particular nnpfc_id value within the current coded layer video sequence (CLVS), the following may apply.

[0107] - The above SEI message may represent a base post-processing filter.

[0108] - The above SEI message may be associated with the current decoded picture and all subsequent decoded pictures of the current layer until the current CLVS ends, in output order.

[0109] An NNPFC SEI message may be a repetition of a previous NNPFC SEI message within the current CLVS in decoding order, and subsequent semantics may apply as if this SEI message were the only NNPFC SEI message with the same content within the current CLVS.

[0110] If the NNPFC SEI message is not the first NNPFC SEI message in decoding order with a particular nnpfc_id value within the current CLVS, the following may apply:

[0111] - The above SEI message may be associated with the current CLVS or all subsequent decoded pictures of the current layer until the end of the current CLVS, in output order, or may be associated with the next NNPFC SEI message with a specific nnpfc_id value within the current CLVS, in output order.

[0112] If the NNPFC SEI message is the first NNPFC SEI message in decoding order with a particular nnpfc_id value within the current CLVS, a value of 1 in nnpfc_mode_idc may indicate that the default post-processing filter associated with the nnpfc_id value is a neural network, and the neural network may be a neural network identified by a URI denoted by nnpfc_uri using a format identified by a tag URI nnpfc_tag_uri.

[0113] If the NNPFC SEI message is not the first NNPFC SEI message in decoding order with a particular nnpfc_id value within the current CLVS, a value of 1 in nnpfc_mode_idc may indicate that updates to the default postprocessing filter with the same nnpfc_id value are defined by a URI denoted by nnpfc_uri using the format identified by the tag URI nnpfc_tag_uri.

[0114] The value of nnpfc_mode_idc may be constrained to range from 0 to 1 in the bitstream. Values ​​of nnpfc_mode_idc in the range 2 to 255 may be reserved for future use and may not be present in the bitstream. Decoders must ignore NNPFC SEI messages with nnpfc_mode_idc in the range 2 to 255. Values ​​of nnpfc_mode_idc greater than 255 may not be present in the bitstream and may not be reserved for future use.

[0115] If the above SEI message is the first NNPFC SEI message in decoding order with a specific nnpfc_id value within the current CLVS, the post-processing filter PostProcessingFilter() may be assigned identically to the default post-processing filter.

[0116] If the above SEI message is not the first NNPFC SEI message in decoding order with a specific nnpfc_id value within the current CLVS, the post-processing filter PostProcessingFilter() can be obtained by applying the update defined by the above SEI message to the default post-processing filter.

[0117] Updates are not cumulative; rather, each update may be applied to the default postprocessing filter, which is the postprocessing filter specified by the first NNPFC SEI message in decoding order with a particular nnpfc_id value within the current CLVS.

[0118] nnpfc_reserved_zero_bit_a may be constrained to have a value equal to 0 due to bitstream restrictions. Decoders may be constrained to ignore NNPFC SEI messages where the value of nnpfc_reserved_zero_bit_a is not 0.

[0119] The nnpfc_tag_uri may contain a tag URI with syntax and semantics specified in IETF RFC 4151 that identifies a neural network used as a default post-processing filter or an update to a default post-processing filter using the nnpfc_id value specified by the nnpfc_uri. The nnpfc_tag_uri allows for uniquely identifying the format of the neural network data specified by the nnrpf_uri without the need for a central registry. An nnpfc_tag_uri equal to "tag:iso.org,2023:15938-17" may indicate that the neural network data identified by the nnpfc_uri is compliant with ISO / IEC 15938-17.

[0120] nnpfc_uri may contain a URI with syntax and semantics specified in IETF Internet Standard 66 that identifies the neural network used as the default post-processing filter or an update to the default post-processing filter using the same nnpfc_id value.

[0121] A value of 1 for nnpfc_formatting_and_purpose_flag may indicate the presence of syntax elements related to filter purpose, input formatting, output formatting, and complexity. A value of 0 for nnpfc_formatting_and_purpose_flag may indicate the absence of syntax elements related to filter purpose, input formatting, output formatting, and complexity.

[0122] If the above SEI message is the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order, the value of nnpfc_formatting_and_purpose_flag may be equal to 1. If the above SEI message is not the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order, the value of nnpfc_formatting_and_purpose_flag may be equal to 0.

[0123] nnpfc_purpose can indicate the purpose of the post-processing filter as specified in Table 3.

[0124] The value of nnpfc_purpose must be in the range 0 to 5 due to bitstream restrictions. Values ​​of 6 to 1023 for nnpfc_purpose are not present in the bitstream and may be reserved for future use. Decoders must ignore NNPFC SEI messages with nnpfc_purpose in the range 6 to 1203. Values ​​of nnpfc_purpose greater than 1023 are not present in the bitstream and are not reserved for future use.

[0125] ValueInterpretation0Can be used as determined by the application1Visual quality enhancement2Chromium upsampling from 4:2:0 chroma format to 4:2:2 or 4:4:4 chroma format, or from 4:2:2 chroma format to 4:4:4 chroma format3Increase the width and height of the cropped decoded output picture without changing the chroma format4Increase the width and height of the cropped decoded output picture and upsample the chroma format5Picture rate upsampling

[0126] When the reserved value of nnpfc_purpose is used in the future, the syntax of this SEI message may be extended with syntax elements that exist only if nnpfc_purpose is equal to that value.

[0127] If the value of SubWidthC is 1 and the value of SubHeightC is 1, nnpfc_purpose must not have a value of 2 or 4.

[0128] A value of 1 for nnpfc_out_sub_c_flag can indicate that the value of outSubWidthC is 1 and the value of outSubHeightC is 1. A value of 0 for nnpfc_out_sub_c_flag can indicate that the value of outSubWidthC is 2 and the value of outSubHeightC is 1. If nnpfc_out_sub_c_flag does not exist, outSubWidthC can be inferred to be equal to SubWidthC, and outSubHeightC can be inferred to be equal to SubHeightC. If the value of ChromaFormatIdc is 2 and nnpfc_out_sub_c_flag exists, the value of nnpfc_out_sub_c_flag must be equal to 1.

[0129] nnpfc_pic_width_in_luma_samples and nnpfc_pic_height_in_luma_samples may represent the width and height, respectively, of the luma sample array of the picture resulting from applying the post-processing filter identified by nnpfc_id to the cropped decoded output picture. If nnpfc_pic_width_in_luma_samples and nnpfc_pic_height_in_luma_samples do not exist, they may be inferred to be equal to CroppedWidth and CroppedHeight, respectively. The value of nnpfc_pic_width_in_luma_samples must be in the range CroppedWidth through CroppedWidth * 16 - 1. The value of nnpfc_pic_height_in_luma_samples must be in the range of CroppedHeight to CroppedHeight * 16 - 1.

[0130] nnpfc_num_input_pics_minus2 + 2 can represent the number of decoded output pictures used as input to the post-processing filter.

[0131] nnpfc_interpolated_pics[ i ] can represent the number of interpolated pictures generated by the post-processing filter between the i-th picture used as input to the post-processing filter and the (i + 1)-th picture.

[0132] The variable numInputPics, which represents the number of pictures used as input to the post-processing filter, and the variable numOutputPics, which represents the total number of pictures generated as a result of the post-processing filter, can be derived as shown in Table 4.

[0133]

[0134] A value of 1 for nnpfc_component_last_flag can indicate that the last dimension of the input tensor inputTensor for the post-processing filter and the output tensor outputTensor, which is the result of the post-processing filter, are used for the current channel. A value of 0 for nnpfc_component_last_flag can indicate that the third dimension of the input tensor inputTensor for the post-processing filter and the output tensor outputTensor, which is the result of the post-processing filter, are used for the current channel.

[0135] The first dimension of the input and output tensors can be used as batch indices, as used in some neural network frameworks. The semantics of this SEI message use a batch size corresponding to a batch index equal to 0, but the batch size used as input for neural network inference can be determined by the implementation of postprocessing.

[0136] For example, when the value of nnpfc_inp_order_idc is equal to 3 and the value of nnpfc_auxiliary_inp_idc is equal to 1, the input tensor can have 7 channels, including 4 luma matrices, 2 chroma matrices, and 1 auxiliary input matrix. In this case, the DeriveInputTensors() process can derive one for each of the 7 channels of the input tensor, and when a specific channel among these channels is processed, that channel can be referred to as the current channel during the process.

[0137] nnpfc_inp_format_idc can indicate how to convert the sample values ​​of the cropped decoded output picture into the input values ​​of the post-processing filter. If nnpfc_inp_format_idc is 0, the input values ​​to the post-processing filter are real numbers, and the InpY() and InpC() functions can be specified as in Equation 1.

[0138]

[0139] If the value of nnpfc_inp_format_idc is 1, the input values ​​of the post-processing filter are unsigned integer numbers, and the InpY() and InpC() functions can be derived as shown in Table 5.

[0140]

[0141] The variable inpTensorBitDepth can be derived from the syntax element nnpfc_inp_tensor_bitlength_minus8 described below.

[0142] Values ​​of nnpfc_inp_format_idc greater than 1 may be reserved for future use and may not be present in the bitstream. Decoders must ignore NNPFC SEI messages containing reserved values ​​of nnpfc_inp_format_idc.

[0143] nnpfc_inp_tensor_bitlength_minus8 + 8 can represent the bit depth of luma sample values ​​in the input integer tensor. The value of inpTensorBitDepth can be derived as shown in Equation 2.

[0144]

[0145] The value of nnpfc_inp_tensor_bitlength_minus8 may be constrained to be in the range 0 to 24.

[0146] nnpfc_inp_order_idc may indicate how to align the sample array of the cropped decoded output picture to one of the input pictures for the post-processing filter.

[0147] The value of nnpfc_inp_order_idc must be in the range 0 to 3 in the bitstream. Values ​​of nnpfc_inp_order_idc between 4 and 255 are not present in the bitstream. Decoders must ignore NNPFC SEI messages with nnpfc_inp_order_idc in the range 4 to 255. Values ​​of nnpfc_inp_order_idc greater than 255 are not present in the bitstream and are not reserved for future use.

[0148] If the value of ChromaFormatIdc is not 1, the value of nnpfc_inp_order_idc must not be 3.

[0149] Table 6 contains a description of the nnpfc_inp_order_idc values.

[0150] nnpfc_inp_order_idcDescription0If the value of nnpfc_auxiliary_inp_idc is 0, there can be one luma matrix in the input tensor for each input picture, and the number of channels can be 1. Otherwise, if the value of nnpfc_auxiliary_inp_idc is 1, there can be one luma matrix and one auxiliary input matrix, and the number of channels can be 2.1If the value of nnpfc_auxiliary_inp_idc is 0, there can be two chroma matrices in the input tensor, and the number of channels can be 2. Otherwise, if the value of nnpfc_auxiliary_inp_idc is 1, there can be two chroma matrices and one auxiliary input matrix, and the number of channels can be 3.2 If the value of nnpfc_auxiliary_inp_idc is 0, the input tensor can have one luma matrix and two chroma matrices, and the number of channels can be 3. Otherwise, if the value of nnpfc_auxiliary_inp_idc is 1, there can be one luma matrix, two chroma matrices, and one auxiliary input matrix, and the number of channels can be 4.3 If the value of nnpfc_auxiliary_inp_idc is 0, the input tensor can have four luma matrices and two chroma matrices, and the number of channels can be 6. Otherwise, if the value of nnpfc_auxiliary_inp_idc is 1, there can be 4 luma matrices, 2 chroma matrices, and 1 auxiliary input matrix, and the number of channels can be 7. The luma channel can be derived in an interleaved manner as shown in Fig. 4. nnpfc_inp_order_idc can be used only when the chroma format is 4:2:0. 4 ... 255 Reserved

[0151] A patch may be a rectangular array of samples from a component of a picture (e.g., a luma or chroma component).

[0152] A value of nnpfc_auxiliary_inp_idc greater than 0 may indicate that auxiliary input data exists in the input tensor of the neural network post-filter. A value of nnpfc_auxiliary_inp_idc of 0 may indicate that auxiliary input data does not exist in the input tensor. A value of nnpfc_auxiliary_inp_idc of 1 may indicate that the auxiliary input data is derived through the methods shown in Tables 7 to 9.

[0153] The value of nnpfc_auxiliary_inp_idc must be in the range 0 to 1 in the bitstream. Values ​​of nnpfc_inp_order_idc in the range 2 to 255 are not present in the bitstream. Decoders must ignore NNPFC SEI messages with nnpfc_inp_order_idc in the range 2 to 255. Values ​​of nnpfc_inp_order_idc greater than 255 are not present in the bitstream and are not reserved for future use.

[0154] The process DeriveInputTensors() for deriving an input tensor inputTensor for given vertical sample coordinates cTop and horizontal sample coordinates cLeft specifying the upper left sample location of the sample patch contained in the input tensor can be represented as a combination of Tables 7 to 9.

[0155]

[0156]

[0157]

[0158] A value of 1 for nnpfc_separate_colour_description_present_flag may indicate that a unique combination of colour primaries, transform characteristics and matrix coefficients for a picture due to a post-processing filter is specified in the SEI message syntax structure. A value of 0 for nnfpc_separate_colour_description_present_flag may indicate that the combination of colour primaries, transform characteristics and matrix coefficients for a picture due to a post-processing filter is the same as that indicated in the VUI parameters of CLVS.

[0159] nnpfc_colour_primaries may have the same semantics as defined for the vui_colour_primaries syntax element, except that:

[0160] - nnpfc_colour_primaries can represent the primary colors of a picture that result from applying a neural network post-filter specified in the SEI message, rather than the primary colors used in CLVS.

[0161] - If nnpfc_colour_primaries does not exist in the NNPFC SEI message, the value of nnpfc_colour_primaries can be inferred to be the same as the value of vui_colour_primaries.

[0162] nnpfc_transfer_characteristics can have the same semantics as those defined for the vui_transfer_characteristics syntax element, except that:

[0163] - nnpfc_transfer_characteristics can represent the transfer characteristics of a picture that result from applying a neural network post-filter specified in the SEI message, rather than the transfer characteristics used in CLVS.

[0164] - If nnpfc_transfer_characteristics does not exist in the NNPFC SEI message, the value of nnpfc_transfer_characteristics can be inferred to be the same as the value of vui_transfer_characteristics.

[0165] nnpfc_matrix_coeffs may have the same semantics as specified for the vui_matrix_coeffs syntax element, except that:

[0166] - nnpfc_matrix_coeffs may represent the matrix coefficients of the picture resulting from applying the neural network post-filter specified in the SEI message, rather than the matrix coefficients used in CLVS.

[0167] - If nnpfc_matrix_coeffs does not exist in the NNPFC SEI message, the value of nnpfc_matrix_coeffs can be inferred to be equal to the value of vui_matrix_coeffs.

[0168] - The allowed values ​​for nnpfc_matrix_coeffs may not be restricted by the chroma format of the decoded video pictures, as indicated by the ChromaFormatIdc value for the semantics of the VUI parameters.

[0169] - If the value of nnpfc_matrix_coeffs is equal to 0, the value of nnpfc_out_order_idc cannot be equal to 1 or 3.

[0170] A value of 0 for nnpfc_out_format_id may indicate that the sample values ​​output by the post-processing filter are real numbers whose value range from 0 to 1 is linearly mapped to an unsigned integer value range from 0 to (1 << bitDepth) - 1, for the bit depth bitDepth required for subsequent post-processing or display. A value of 1 for nnpfc_out_format_flag may indicate that the sample values ​​output by the post-processing filter are unsigned integers in the range from 0 to (1 << ( nnpfc_out_tensor_bitlength_minus8 + 8 ) ) - 1. Values ​​of nnpfc_out_format_idc greater than 1 are not present in the bitstream. Decoders MUST ignore NNPFC SEI messages containing reserved values ​​for nnpfc_out_format_idc. '+ 8' may indicate the bit depth of the sample values ​​in the output integer tensor. The value of nnpfc_out_tensor_bitlength_minus8 must be in the range 0 to 24.

[0171] nnpfc_out_order_idc can indicate the output order of samples output from the post-processing filter. The value of nnpfc_out_order_idc must be in the range of 0 to 3 in the bitstream. Values ​​of 4 to 255 for nnpfc_out_order_idc must not be present in the bitstream. Decoders must ignore NNPFC SEI messages with nnpfc_out_order_idc in the range of 4 to 255. Values ​​of nnpfc_out_order_idc greater than 255 are not present in the bitstream and are not reserved for future use. The value of nnpfc_out_order_idc cannot be equal to 3 when the value of nnpfc_purpose is 2 or 4.

[0172] Table 10 describes the values ​​of nnpfc_out_order_idc.

[0173] nnpfc_out_order_idcDescription0 Since only luma matrices are present in the output tensor, the number of channels can be equal to 1.1 Since only chroma matrices are present in the output tensor, the number of channels can be equal to 2.2 Since luma and chroma matrices are present in the output tensor, the number of channels can be equal to 3.3 Since 4 luma matrices and 2 chroma matrices are present in the output tensor, the number of channels can be equal to 6. nnpfc_out_order_idc Can only be used when the chroma format is 4:2:0.4 ... 255 Reserved

[0174] The process StoreOutputTensors( ) for deriving sample values ​​in the filtered output sample arrays FilteredYPic, FilteredCbPic and FilteredCrPic from the output tensor outputTensor for the given vertical sample coordinates cTop and horizontal sample coordinates cLeft indicating the top-left sample location for the patch of samples contained in the input tensor can be expressed as a combination of Tables 11 and 12.

[0175]

[0176]

[0177] A value of 1 for nnpfc_constant_patch_size_flag can indicate that the post-processing filter accepts as input exactly the patch sizes indicated by nnpfc_patch_width_minus1 and nnpfc_patch_height_minus1. A value of 0 for nnpfc_constant_patch_size_flag can indicate that the post-processing filter accepts as input any patch size that is a positive integer multiple of the patch size indicated by nnpfc_patch_width_minus1 and nnpfc_patch_height_minus1.

[0178] npfc_patch_width_minus1 + 1 can indicate the number of horizontal samples of the patch size required for the input of the post-processing filter when the value of nnpfc_constant_patch_size_flag is 1. The value of nnpfc_patch_width_minus1 must be in the range of 0 to Min(32766, CroppedWidth - 1).

[0179] npfc_patch_height_minus1 + 1 can indicate the number of vertical samples of the patch size required for the input of the post-processing filter when the value of nnpfc_constant_patch_size_flag is 1. The value of nnpfc_patch_height_minus1 must be in the range of 0 to Min(32766, CroppedHeight - 1).

[0180] The inpPatchWidth and inpPatchHeight variables can be set to the patch size width and patch size height, respectively.

[0181] If the value of nnpfc_constant_patch_size_flag is 0, the following can be applied:

[0182] - The values ​​of inpPatchWidth and inpPatchHeight can be provided by external means or set by the post-processor itself.

[0183] - The value of inpPatchWidth must be a positive integer multiple of nnpfc_patch_width_minus1 + 1 and must be less than or equal to CroppedWidth. The value of inpPatchHeight must be a positive integer multiple of nnpfc_patch_height_minus1 + 1 and must be less than or equal to CroppedHeight.

[0184] Otherwise (if the value of nnpfc_constant_patch_size_flag is 1), the value of inpPatchWidth may be set equal to nnpfc_patch_width_minus1 + 1, and the value of inpPatchHeight may be set equal to nnpfc_patch_height_minus1 + 1.

[0185] nnpfc_overlap can indicate the number of overlapping horizontal and vertical samples of adjacent input tensors of a postprocessing filter. The value of nnpfc_overlap must be in the range of 0 to 16383.

[0186] The variables outPatchWidth, outPatchHeight, horCScaling, verCScaling, outPatchCWidth, outPatchCHeight, and overlapSize can be derived as shown in Table 13.

[0187]

[0188] It is a bitstream conformance requirement that outPatchWidth * CroppedWidth must equal nnpfc_pic_width_in_luma_samples * inpPatchWidth, and outPatchHeight * CroppedHeight must equal nnpfc_pic_height_in_luma_samples * inpPatchHeight.

[0189] nnpfc_padding_type can indicate the padding process when referencing sample positions outside the boundaries of a cropped decoded output picture, as described in Table 14. The value of nnpfc_padding_type must be in the range of 0 to 15.

[0190] nnpfc_padding_typeDescription0zero padding1replication padding2reflection padding3wrap-around padding4fixed padding5 ... 15reserved

[0191] nnpfc_luma_padding_val can indicate the luma value to use for padding when the value of nnpfc_padding_type is 4.

[0192] nnpfc_cb_padding_val can indicate the Cb value to use for padding when the value of nnpfc_padding_type is 4.

[0193] nnpfc_cr_padding_val can indicate the Cr value to use for padding when the value of nnpfc_padding_type is 4.

[0194] The InpSampleVal(y, x, picHeight, picWidth, CroppedPic) function, whose inputs are vertical sample position y, horizontal sample position x, picture height picHeight, picture width picWidth, and sample array CroppedPic, can return the value of SampleVal derived as shown in Table 15.

[0195] For input to the InpSampleVal() function, vertical positions may be listed before horizontal positions for compatibility with the input tensor conventions of some inference engines.

[0196]

[0197] The process in Table 16 can be used to filter the cropped decoded output picture in a patch-wise manner using the post-processing filter PostProcessingFilter() to generate a filtered picture, which can include a Y sample array FilteredYPic, a Cb sample array FilteredCbPic and a Cr sample array FilteredCrPic as indicated by nnpfc_out_order_idc.

[0198]

[0199] A value of 1 for nnpfc_complexity_info_present_flag may indicate the presence of one or more syntax elements indicating the complexity of the post-processing filter associated with nnpfc_id. A value of 0 for nnpfc_complexity_info_present_flag may indicate the absence of syntax elements indicating the complexity of the post-processing filter associated with nnpfc_id.

[0200] A value of 0 for nnpfc_parameter_type_idc may indicate that the neural network uses only integer parameters. A value of 1 for nnpfc_parameter_type_flag may indicate that the neural network can use either floating-point or integer parameters. A value of 2 for nnpfc_parameter_type_idc may indicate that the neural network uses only binary parameters. A value of 3 for nnpfc_parameter_type_idc may be reserved for future use and is not present in the bitstream. Decoders should ignore NNPFC SEI messages with a value of 3 for nnpfc_parameter_type_idc.

[0201] The values ​​0, 1, 2, and 3 of nnpfc_log2_parameter_bit_length_minus3 can indicate that the network does not use parameters with bit lengths greater than 8, 16, 32, and 64, respectively. If nnpfc_parameter_type_idc exists and nnpfc_log2_parameter_bit_length_minus3 does not exist, the network may not use parameters with bit lengths greater than 1.

[0202] nnpfc_num_parameters_idc can represent the maximum number of neural network parameters for the postprocessing filter in powers of 2048. A value of 0 for nnpfc_num_parameters_idc can indicate that the maximum number of neural network parameters is unknown. The value of nnpfc_num_parameters_idc must be in the range of 0 to 52. A value of nnpfc_num_parameters_idc greater than 52 must not be present in the bitstream. Decoders must ignore NNPFC SEI messages with nnpfc_num_parameters_idc greater than 52.

[0203] If the value of nnpfc_num_parameters_idc is greater than 0, the maxNumParameters variable can be derived as in Equation 3.

[0204]

[0205] The number of neural network parameters in the post-processing filter can be limited to be less than or equal to maxNumParameters.

[0206] A value of nnpfc_num_kmac_operations_idc greater than 0 may indicate that the maximum number of multiply-accumulate operations per sample in the postprocessing filter is less than or equal to nnpfc_num_kmac_operations_idc * 1000. A value of nnpfc_num_kmac_operations_idc of 0 may indicate that the maximum number of multiply-accumulate operations in the network is unknown. The value of nnpfc_num_kmac_operations_idc can be between 0 and 2. 32 - Must be within the range of 1.

[0207] A value of nnpfc_total_kilobyte_size greater than 0 may indicate the total size (in kilobytes) required to store the uncompressed parameters of the neural network. The total size in bits may be a number greater than or equal to the sum of the bits used to store each parameter. nnpfc_total_kilobyte_size may be the total size (in bits) divided by 8000, rounded up. A value of 0 for nnpfc_total_kilobyte_size may indicate that the total size required to store the parameters for the neural network is unknown. The value of nnpfc_total_kilobyte_size may be between 0 and 2. 32 - Must be within the range of 1.

[0208] nnpfc_reserved_zero_bit_b must be equal to 0 in the bitstream. Decoders must ignore NNPFC SEI messages with nnpfc_reserved_zero_bit_b not equal to 0.

[0209] nnpfc_payload_byte[ i ] may contain the ith byte of the bitstream. For all existing values ​​of i, the byte sequence nnpfc_payload_byte[ i ] must be a complete bitstream conforming to ISO / IEC 15938-17.

[0210] Neural-network post-filter activation (NNFPA)

[0211] The syntax structure for NNFPA is shown in Table 17.

[0212]

[0213] The NNPFA syntax structure of Table 17 can be signaled in the form of an SEI message. An SEI message signaling the NNPFA syntax structure of Table 17 may be referred to as an NNPFA SEI message.

[0214] The NNPFA SEI message can enable or disable the possible use of a target neural network post-processing filter identified by nnpfa_target_id for post-processing filtering of a picture set.

[0215] Multiple NNPFA SEI messages may exist for the same picture if post-processing filters are used for different purposes or filter different color components.

[0216] nnpfa_target_id may indicate a target neural network postprocessing filter associated with the current picture and specified by one or more NNPFC SEI messages having an nnpfc_id equal to nnfpa_target_id.

[0217] The value of nnpfa_target_id is 0 to 2 32 - Must be in the range of 2. 256 to 511 and 2 31 Inland 2 32- nnpfa_target_id values ​​in the range 2 may be reserved for future use. Decoders may use values ​​between 256 and 511 or 2 31 Inland 2 32 - NNPFA SEI messages with nnpfa_target_id in the range 2 must be ignored.

[0218] An NNPFA SEI message with a specific value of nnpfa_target_id shall not be present in the current picture unit (PU) unless one or both of the following conditions are true: where the PU may be a set of NAL units containing VCL NAL units of a coded picture and their associated non-VCL VAL units.

[0219] - Currently, within the CLVS, there exists an NNPFC SEI message with an nnpfc_id that is identical to a specific value of nnpfa_target_id that exists in the PU (picture unit) preceding the current PU (picture unit) in the decoding order.

[0220] - There is an NNPFC SEI message with an nnpfc_id that is identical to the specific value of nnpfa_target_id of the current PU (picture unit).

[0221] If a PU (picture unit) contains both an NNPFC SEI message with a specific value of nnpfc_id and an NNPFA SEI message with a specific value of nnpfc_id and an nnpfa_target_id that is equal to the specific value of nnpfc_id, the NNPFC SEI message must precede the NNPFA SEI message in decoding order.

[0222] A value of 1 for nnpfa_cancel_flag may indicate that the persistence of the target neural network post-processing filter set by any previous NNPFA SEI message with the same nnpfa_target_id as the current SEI message is canceled. That is, the target neural network post-processing filter is no longer used unless it is activated by another NNPFA SEI message with the same nnpfa_target_id as the current SEI message and an nnpfa_cancel_flag equal to 0. A value of 0 for nnpfa_cancel_flag may indicate that an nnpfa_persistence_flag follows.

[0223] nnpfa_persistence_flag can indicate the persistence of the target neural network post-processing filter for the current layer. A value of 0 for nnpfa_persistence_flag can indicate that the target neural network post-processing filter can only be used for post-processing filtering for the current picture. A value of 1 for nnpfa_persistence_flag can indicate that the target neural network post-processing filter can be used for post-processing filtering for the current picture and all subsequent pictures in the current layer in output order until one or more of the following conditions are true:

[0224] - A new CLVS for the current layer is started.

[0225] - Bitstream ended

[0226] - The picture in the current layer associated with the NNPFA SEI message with the same nnpfa_target_id as the current SEI message and nnpfa_cancel_flag equal to 1 is output after the current picture in the output order.

[0227] The target neural network postprocessing filter is not applied to subsequent pictures within the current layer associated with an NNPFA SEI message that has the same nnpfa_target_id as the current SEI message and an nnpfa_cancel_flag equal to 1.

[0228] Post-filter hint

[0229] The syntax structure for post-filter hints is shown in Table 18.

[0230]

[0231] The post-filter hint syntax structure of Table 18 can be signaled in the form of an SEI message. An SEI message signaling the post-filter hint syntax structure of Table 18 may be referred to as a post-filter hint SEI message.

[0232] The post-filter hint SEI message can provide post-filter coefficients or correlation information for the design of a post-filter, potentially allowing the decoded and output picture set to be used in post-processing to achieve improved display quality.

[0233] A value of 1 for filter_hint_cancel_flag may indicate that the SEI message cancels the persistence of the previous post-filter hint SEI message in the output order applied to the current layer. A value of 0 for filter_hint_cancel_flag may indicate that post-filter hint information follows.

[0234] filter_hint_persistence_flag can indicate the persistence of the post-filter hint SEI message for the current layer. A value of 0 for filter_hint_persistence_flag can indicate that the post-filter hint applies only to the currently decoded picture. A value of 1 for filter_hint_persistence_flag can indicate that the post-filter hint SEI message applies to the currently decoded picture and persists for all subsequent pictures in the current layer in output order until one or more of the following conditions are true:

[0235] - A new CLVS for the current layer is started.

[0236] - Bitstream ended

[0237] - Pictures in the current layer of the AU associated with the post-filter hint SEI message are output after the current picture in the output order.

[0238] filter_hint_size_y can indicate the vertical size of the filter coefficients or correlation array. The value of filter_hint_size_y must be in the range of 1 to 15.

[0239] filter_hint_size_x can indicate the horizontal size of the filter coefficients or correlation array. The value of filter_hint_size_x must be in the range of 1 to 15.

[0240] filter_hint_type can indicate the type of filter hint transmitted, as shown in Table 19. The value of filter_hint_type must be in the range of 0 to 2. A filter_hint_type value equal to 3 cannot be present in the bitstream. Decoders must ignore post-filter hint SEI messages with filter_hint_type equal to 3.

[0241] ValueDescription02D-FIR filter coefficients11D-FIR filter coefficients2Cross-correlation matrix

[0242] A value of 1 for filter_hint_chroma_coeff_present_flag may indicate that filter coefficients for chroma exist. A value of 0 for filter_hint_chroma_coeff_present_flag may indicate that filter coefficients for chroma do not exist.

[0243] filter_hint_value[ cIdx ][ cy ][ cx ] can represent filter coefficients or cross-correlation matrix elements between the original signal and the decoded signal with 16-bit precision. The value of filter_hint_value[ cIdx ][ cy ][ cx ] is -2 31 + 1 to 2 31 - Must be in the range of 1. cIdx represents the related color element, cy represents the vertical counter, and cx can represent the horizontal counter. Depending on the value of filter_hint_type, the following can be applied.

[0244] - If the value of filter_hint_type is 0, the coefficients of a two-dimensional FIR (Finite Impulse Response) filter of the size of filter_hint_size_y * filter_hint_size_x can be transmitted.

[0245] - Otherwise, if the value of filter_hint_type is 1, the filter coefficients of two one-dimensional FIR filters can be transmitted. In this case, the value of filter_hint_size_y must be 2. An index cy of 0 can represent the filter coefficients of the horizontal filter, and a cy of 1 can represent the filter coefficients of the vertical filter. In the filtering process, the horizontal filter is applied first, and the result can be filtered by the vertical filter.

[0246] - Otherwise (if the value of filter_hint_type is 2), the transmitted hint may represent a cross-correlation matrix between the original signal s and the decoded signal s'.

[0247] The normalized cross-correlation matrix for the relevant color components identified by cIdx of size filter_hint_size_y * filter_hint_size_x can be defined as in Equation 4.

[0248]

[0249] In Equation 4, s represents a sample array of the color component cIdx of the original picture, s' represents an array of the corresponding decoded picture, h represents the vertical height of the corresponding color component, w represents the horizontal width of the corresponding color component, and bitDepth represents the bit depth of the color component. In addition, OffsetY is equal to ( filter_hint_size_y >> 1 ), OffsetX is equal to ( filter_hint_size_x >> 1 ), cy is in the range of 0 <= cy < filter_hint_size_y, and cx is in the range of 0 <= cx < filter_hint_size_x.

[0250] The decoder can derive a Wiener post-filter from the cross-correlation matrix of the original signal and the decoded signal and the auto-cross-correlation matrix of the decoded signal.

[0251] Problems with prior art

[0252] The NNPFC SEI message includes a flag called nnpfc_formatting_and_purpose_flag. nnpfc_formatting_and_purpose_flag can indicate the presence of syntax elements related to descriptions containing filter formatting, purpose, and / or complexity information. The presence of this flag can be specified as follows:

[0253] If the above SEI message is the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order, nnpfc_formatting_and_purpose_flag shall have a value of 1. If the above SEI message is not the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order, nnpfc_formatting_and_purpose_flag shall have a value of 0.

[0254] The above restriction has the problem of preventing the NNPFC SEI message, which includes the base neural network post-processing filter, from being repeated. When an SEI message is repeated, its content is typically restricted to be identical. However, the above restriction prevents the repeated SEI message from signaling formatting, purpose, and / or complexity.

[0255] Even if the above problem is resolved, there are additional problems that need to be solved for repeated NNPFC SEI messages, as follows.

[0256] Question 1. Are repetitions allowed for an NNPFC SEI message regardless of whether it contains a base neural network post-processing filter or an update to the base neural network post-processing filter? If not, for which NNPFC SEI message are repetitions allowed?

[0257] Problem 2. If an NNPFC SEI message containing a basic neural network postprocessing filter can be repeated, can it be repeated even after the filter is updated by the presence of another NNPFC SEI message (i.e., with the same nnpfc_id)?

[0258] Question 3. If the answer to Question 2 above is "yes," when a repeated NNPFC SEI message containing a basic neural network post-processing filter is present after another NNPFC SEI message of the same nnpfc_id containing an update to the neural network post-processing filter, does the repeated SEI message interrupt (i.e., cancel) the update?

[0259] The semantics for the NNPFC SEI message are required to clarify all the issues described above.

[0260] Example

[0261] Hereinafter, NNPFC can be signaled in the form of an SEI message as the NNPFC syntax structure of Tables 1 and 2, in which case NNPFC can be an NNPFC SEI message. NNPFA can be signaled in the form of an SEI message as the NNPFA syntax structure of Table 17, in which case NNPFA can be an NNPFA SEI message. Post-filter hint can be signaled in the form of an SEI message as the post-filter hint syntax structure of Table 18, in which case the post-filter hint can be a post-filter hint SEI message.

[0262] Embodiments according to the present disclosure may include various configurations to improve some or all of the problems described above. Each configuration may be applied individually or in combination of two or more.

[0263] Configuration 1: Specifies that signaling of formatting, purpose and / or complexity information is present only in NNPFC SEI messages that contain the underlying neural network post-processing filter.

[0264] Configuration 1a: If the NNPFC SEI message contains a basic neural network postprocessing filter, nnpfc_formatting_and_purpose_flag has a value of 1.

[0265] Configuration 1b: If the value of nnpfc_formatting_and_purpose_flag is 1, the corresponding NNPFC SEI message contains the default neural network postprocessing filter.

[0266] Configuration 2: The NNPFC SEI message containing the basic neural network post-processing filter may be repeated. If repeated, the repeated SEI message contains the same information as the first NNPFC SEI message (i.e., the first message with an nnpfc_id of a specific value).

[0267] Configuration 3: Until activated by an NNPFA SEI message, the NNPFC SEI message is not activated, regardless of whether it is a repeated message or whether it contains a base neural network post-processing filter or an update to a neural network post-processing filter. That is, it does not apply to any PU (picture unit) and / or has no effect.

[0268] Configuration 4: If a repeated NNPFC SEI message seiA containing a basic neural network post-processing filter is followed by a NNPFC SEI message seiB with the same ID and containing an update to the neural network post-processing filter, then when seiA is activated, the above updates by the filters in seiB are stopped.

[0269] Configuration 5: In general, an NNPFC SEI message containing a base neural network post-processing filter is restricted to only be repeated before an NNPFC SEI message with the same ID and containing an update to the neural network post-processing filter is present in the bitstream.

[0270] Referring to Table 1 and Table 2, the NNPFC syntax structure and semantics are described.

[0271] According to the present disclosure, at least some of the above-described problems can be solved by redefining the semantics of some of the above-described NNPFC syntax elements by taking into account at least some of the above-described configurations 1 to 5.

[0272] Example 1

[0273] Embodiment 1 according to the present disclosure can limit, modify and / or change the semantics of the NNPFC SEI message as follows.

[0274] According to Embodiment 1 of the present disclosure, the NNPFC SEI message may be restricted from being activated until it is activated by the NNPFA SEI message. The non-activation of the NNPFC SEI message may mean that the NNPFC SEI message is not applied and / or has no effect for any PU (picture unit).

[0275] Additionally, according to Embodiment 1 of the present disclosure, if the NNPFC SEI message is not the first NNPFC SEI message in decoding order with a specific nnpfc_id value within the current CLVS and is not a repetition of the first NNPFC SEI message with the same nnpfc_id value, the following may be applied.

[0276] - The above SEI message can define an update to a basic post-processing filter preceding in decoding order with the same nnpfc_id value.

[0277] - The above SEI message may be associated with the current decoded picture and all subsequent decoded pictures of the current layer in output order until the current CLVS ends or until the next NNPFC SEI message with a specific nnpfc_id value in the current CLVS in output order.

[0278] Additionally, according to Embodiment 1 of the present disclosure, the semantics of nnpfc_formatting_and_purpose_flag can be redefined as follows.

[0279] A value of 1 for nnpfc_formatting_and_purpose_flag may indicate the presence of syntax elements related to filter purpose, input formatting, output formatting, and / or complexity. A value of 0 for nnpfc_formatting_and_purpose_flag may indicate the absence of syntax elements related to filter purpose, input formatting, output formatting, and / or complexity.

[0280] If the above SEI message is the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order, nnpfc_formatting_and_purpose_flag may be constrained to have a value of 1. If the NNPFC SEI message is a repetition of the first NNPFC SEI message with the same nnpfc_id, its content may be constrained to be the same as that of the first SEI message. That is, nnpfc_formatting_and_purpose_flag may be constrained to have a value of 1. If the NNPFC SEI message is not the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order and nnpfc_formatting_and_purpose_flag is constrained to have a value of 1, the SEI message may be a repetition of the first SEI message with the same nnpfc_id. If an NNPFC SEI message has a specific nnpfc_id value and nnpfc_formatting_and_purpose_flag has a value of 0, the SEI message may contain an update to the default post-processing filter.

[0281] According to Embodiment 1 of the present disclosure, an NNPFC SEI message including a basic neural network post-processing filter may be repeated. Furthermore, the repeated NNPFC SEI message may have the same content as the first NNPFC SEI message with the same nnpfc_id value within the current CLVS in terms of decoding order. Including the above effects, Embodiment 1 of the present disclosure is expected to have the effect of resolving the problems of the above-described prior art.

[0282] Example 2

[0283] Embodiment 2 according to the present disclosure can limit, modify and / or change the semantics of the NNPFC SEI message as follows.

[0284] According to Embodiment 2 of the present disclosure, if the NNPFC SEI message is not the first NNPFC SEI message in decoding order with a particular nnpfc_id value within the current CLVS and is not a repetition of the first NNPFC SEI message with the same nnpfc_id value, the following may be applied.

[0285] - The above SEI message can define an update to a basic post-processing filter preceding in decoding order with the same nnpfc_id value.

[0286] - The above SEI message may be associated with the current decoded picture and all subsequent decoded pictures of the current layer in output order until the current CLVS ends or until the next NNPFC SEI message with a specific nnpfc_id value in the current CLVS in output order.

[0287] Additionally, according to Embodiment 2 of the present disclosure, the semantics of nnpfc_formatting_and_purpose_flag can be redefined as follows.

[0288] A value of 1 for nnpfc_formatting_and_purpose_flag may indicate the presence of syntax elements related to filter purpose, input formatting, output formatting, and / or complexity. A value of 0 for nnpfc_formatting_and_purpose_flag may indicate the absence of syntax elements related to filter purpose, input formatting, output formatting, and / or complexity.

[0289] If the above SEI message is the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order, nnpfc_formatting_and_purpose_flag may be constrained to have a value of 1. If the NNPFC SEI message is a repetition of the first NNPFC SEI message with the same nnpfc_id, its content may be constrained to be the same as that of the first SEI message. That is, nnpfc_formatting_and_purpose_flag may be constrained to have a value of 1. If the NNPFC SEI message is not the first NNPFC SEI message with a specific nnpfc_id value within the current CLVS in decoding order and nnpfc_formatting_and_purpose_flag is constrained to have a value of 1, the SEI message may be a repetition of the first SEI message with the same nnpfc_id.

[0290] An NNPFC SEI message that has a specific nnpfc_id value and is a repeat of a previous SEI message may be restricted from existing after an NNPFC SEI message that has the same nnpfc_id value and has nnpfc_formatting_and_purpose_flag set to 0. An NNPFC SEI message that has a specific nnpfc_id value and nnpfc_formatting_and_purpose_flag set to 0 may contain updates to the default post-processing filter.

[0291] According to Embodiment 2 of the present disclosure, an NNPFC SEI message including a basic neural network post-processing filter may be repeated. Furthermore, the repeated NNPFC SEI message may have the same content as the first NNPFC SEI message with the same nnpfc_id value within the current CLVS in terms of decoding order. Including the above effects, Embodiment 2 of the present disclosure is expected to have the effect of resolving the problems of the above-described prior art.

[0292] Hereinafter, image encoding methods and image decoding methods according to various embodiments of the present invention will be described. The image encoding method of FIG. 5 can be performed by an image encoding device (100), and the image decoding method of FIG. 6 can be performed by an image decoding device (200).

[0293] Referring to FIG. 5, the video encoding device can generate NNPF (Neural-network post-filter) related information regarding a neural network post-processing filter to be applied to the current picture (S501). The video encoding device can encode the generated NNPF related information to generate an NNPF (Neural-network post-filter) related SEI message (S502). The video encoding device can transmit the generated NNPF related SEI message to, for example, an video decoding device (S503). The video encoding device performs steps S501 and S502, and step S503 may be part of a transmission method performed by a separate transmission device.

[0294] Referring to FIG. 6, the image decoding device may receive an NNPF-related SEI message regarding a neural network post-processing filter to be applied to the current picture (S601). The image decoding device may decode the received NNPF-related SEI message to restore NNPF-related information (S602). The image decoding device may apply NNPF to the current picture based on the restored NNPF-related information (S603). The above steps S602 and S603 may be performed under the condition that NNPF is applied to the current picture.

[0295] In the description with reference to FIGS. 5 and 6, the NNPF-related SEI message may include an NNPFC SEI message, an NNPFA SEI message, and / or an SEI message regarding a post-filter hint according to the present disclosure. In addition, the NNPF-related information may refer to information signaled by syntax elements included in the NNPF-related SEI message.

[0296] As described above, the NNPFC SEI message may include syntax elements such as nnpfc_id, nnpfc_formatting_and_purpose_flag, etc. nnpfc_id is for identifying a post-processing filter and may be expressed as "filter identification information." nnpfc_formatting_and_purpose_flag indicates whether syntax elements related to filter properties such as filter purpose, input formatting, output formatting, and / or complexity are present and may be expressed as "filter property present information."

[0297] Embodiments according to the present disclosure and configurations according to the present disclosure regarding the above NNPFC SEI message can be applied to the image encoding method and / or image decoding method according to the present disclosure described with reference to FIGS. 5 and 6.

[0298] Specifically, in the image encoding method and / or image decoding method according to the present disclosure, the NNPF-related SEI message includes a neural-network post-filter characteristics (NNPFC) SEI message including filter identification information and filter property present information, and based on the NNPFC SEI message including a base NNPF, the filter property present information may be restricted to have a first value indicating that a filter property is present.

[0299] In addition, in the image encoding method and / or image decoding method according to the present disclosure, based on the fact that the NNPFC SEI message is a repeated NNPFC SEI message that is a repetition of a first NNPFC SEI message having the same filter identification information value, the content of the repeated NNPFC SEI message can be restricted to be the same as the first NNPFC SEI message.

[0300] Additionally, in the image encoding method and / or image decoding method according to the present disclosure, the filter characteristic presence information of the repeated NNPFC SEI message may be restricted to have a first value.

[0301] In addition, in the image encoding method and / or image decoding method according to the present disclosure, the NNPFC SEI message may be a repeated NNPFC SEI message that is a repetition of the first NNPFC SEI message having the same filter identification information value, based on the fact that the NNPFC SEI message is not the first NNPFC SEI message having the specific filter identification information value within the current CLVS in the decoding order and the filter characteristic presence information of the NNPFC SEI message is restricted to have the first value.

[0302] Additionally, in the image encoding method and / or image decoding method according to the present disclosure, the NNPFC SEI message may include an update to the basic NNPF based on the fact that the NNPFC SEI message has a value of specific filter identification information and the filter characteristic presence information has a second value indicating that the filter characteristic does not exist.

[0303] In addition, in the image encoding method and / or image decoding method according to the present disclosure, based on the fact that the NNPFC SEI message is not the first NNPFC SEI message having a value of specific filter identification information within the current CLVS in decoding order and is not a repetition of the first NNPFC SEI message having a value of the same filter identification information, the NNPFC SEI message may include an update to a preceding basic NNPF in decoding order having a value of the same filter identification information.

[0304] Additionally, in the image encoding method and / or image decoding method according to the present disclosure, the NNPFC SEI message may be associated with the current picture and all subsequent decoded pictures of the current layer in output order until the current CLVS ends or until the next NNPFC SEI message having a value of specific filter identification information in the current CLVS in output order.

[0305] Additionally, in the image encoding method and / or image decoding method according to the present disclosure, the NNPFC SEI message may be restricted from being activated until activated by the NNPFA SEI message.

[0306] In addition, in the image encoding method and / or image decoding method according to the present disclosure, based on the NNPFC SEI message being a repeated NNPFC SEI message that is a repetition of a previous NNPFC SEI message having a value of specific filter identification information, the repeated NNPFC SEI message may be restricted to not exist after an NNPFC SEI message having a value of the same filter identification information and having filter characteristic presence information restricted to have a second value indicating that the filter characteristic does not exist.

[0307] Additionally, a bitstream generated by the image encoding method according to the present disclosure can be stored in a computer-readable, non-transitory recording medium.

[0308] Additionally, a bitstream generated by an image encoding method according to the present disclosure can be transmitted to, for example, an image decoding device.

[0309] According to an embodiment of the present disclosure, an NNPFC SEI message including a basic neural network post-processing filter may be repeated. Furthermore, the repeated NNPFC SEI message may have the same content as the first NNPFC SEI message with the same nnpfc_id value within the current CLVS in terms of decoding order. Including the above effects, it is expected that various problems described as problems in the prior art will be resolved.

[0310] FIG. 7 is a diagram illustrating an example of a content streaming system to which an embodiment according to the present disclosure can be applied.

[0311] As illustrated in FIG. 7, a content streaming system to which an embodiment of the present disclosure is applied may largely include an encoding server, a streaming server, a web server, a media storage, a user device, and a multimedia input device.

[0312] The encoding server compresses content input from multimedia input devices such as smartphones, cameras, and camcorders into digital data, generates a bitstream, and transmits it to the streaming server. Alternatively, if multimedia input devices such as smartphones, cameras, and camcorders directly generate bitstreams, the encoding server may be omitted.

[0313] The above bitstream can be generated by an image encoding method and / or an image encoding device to which an embodiment of the present disclosure is applied, and the streaming server can temporarily store the bitstream during the process of transmitting or receiving the bitstream.

[0314] The streaming server transmits multimedia data to a user device based on a user request via a web server, and the web server can act as an intermediary to inform the user of available services. When a user requests a desired service from the web server, the web server transmits the request to the streaming server, and the streaming server can transmit multimedia data to the user. At this time, the content streaming system may include a separate control server, and in this case, the control server may control commands / responses between each device within the content streaming system.

[0315] The streaming server can receive content from a media repository and / or encoding server. For example, when receiving content from the encoding server, the content can be received in real time. In this case, to provide a smooth streaming service, the streaming server can store the bitstream for a certain period of time.

[0316] Examples of the user devices may include mobile phones, smart phones, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation devices, slate PCs, tablet PCs, ultrabooks, wearable devices (e.g., smartwatches, smart glasses, HMDs), digital TVs, desktop computers, digital signage, etc.

[0317] Each server within the above content streaming system can be operated as a distributed server, in which case data received from each server can be processed in a distributed manner.

[0318] The scope of the present disclosure includes software or machine-executable instructions (e.g., operating systems, applications, firmware, programs, etc.) that cause operations according to the methods of various embodiments to be executed on a device or a computer, and a non-transitory computer-readable medium having such software or instructions stored thereon and executable on the device or computer.

[0319] Embodiments according to the present disclosure can be used to encode / decode images.

Claims

1. An image decoding method performed by an image decoding device, wherein the image decoding method comprises: A step of receiving a SEI (supplemental enhancement information) message related to NNPF (neural-network post-filter) to be applied to the current picture; A step of restoring NNPF-related information based on the above NNPF-related SEI message; and A step of applying NNPF to the current picture based on the above NNPF-related information, The above NNPF-related SEI message includes a neural-network post-filter characteristics (NNPFC) SEI message that includes filter identification information and filter property present information, Based on the above NNPFC SEI message including the base NNPF, the filter characteristic presence information is restricted to have a first value indicating that the filter characteristic exists. How to decrypt video.

2. In paragraph 1, Based on the above NNPFC SEI message being a repeated NNPFC SEI message which is a repetition of the first NNPFC SEI message having the same filter identification information value, the content of the repeated NNPFC SEI message is restricted to be identical to the first NNPFC SEI message. How to decrypt video.

3. In paragraph 2, The filter characteristic presence information of the above repeated NNPFC SEI message is limited to have a first value. How to decrypt video.

4. In paragraph 1, Based on the above NNPFC SEI message not being the first NNPFC SEI message having a value of specific filter identification information within the current CLVS in decoding order and the filter characteristic presence information of the NNPFC SEI message being restricted to have a first value, the NNPFC SEI message is a repeated NNPFC SEI message which is a repetition of the first NNPFC SEI message having a value of the same filter identification information. How to decrypt video.

5. In paragraph 1, Based on the above NNPFC SEI message having a value of specific filter identification information and a second value indicating that the filter characteristic presence information does not exist, the NNPFC SEI message includes an update to the basic NNPF. How to decrypt video.

6. In paragraph 1, Based on the fact that the NNPFC SEI message is not the first NNPFC SEI message in decoding order with a value of a specific filter identification information within the current CLVS and is not a repetition of the first NNPFC SEI message with a value of the same filter identification information, the NNPFC SEI message includes an update to the preceding base NNPF in decoding order with a value of the same filter identification information. How to decrypt video.

7. In paragraph 6, The above NNPFC SEI message is associated with the current picture and all subsequent decoded pictures of the current layer in output order until the current CLVS ends or until the next NNPFC SEI message with a value of specific filter identification information in the current CLVS in output order. How to decrypt video.

8. In paragraph 1, The above NNPFC SEI message is restricted from being activated until it is activated by the NNPFA SEI message. How to decrypt video.

9. In paragraph 1, Based on the above NNPFC SEI message being a repeated NNPFC SEI message which is a repetition of a previous NNPFC SEI message having a value of specific filter identification information, the repeated NNPFC SEI message is restricted to not exist after an NNPFC SEI message having a value of the same filter identification information and having a filter characteristic presence information restricted to have a second value indicating that the filter characteristic does not exist. How to decrypt video.

10. An image encoding method performed by an image encoding device, wherein the image encoding method comprises: A step of generating NNPF-related information to be applied to the current picture; and A step of generating an NNPF-related SEI message based on the above NNPF-related information, The above NNPF related SEI message includes an NNPFC SEI message that includes filter identification information and filter characteristic existence information, Based on the above NNPFC SEI message including the basic NNPF, the filter characteristic presence information is restricted to have a first value indicating that the filter characteristic exists. Video encoding method.

11. A computer-readable recording medium for storing a bitstream generated by an image encoding method, wherein the image encoding method comprises: A step of generating NNPF-related information to be applied to the current picture; and A step of generating an NNPF-related SEI message based on the above NNPF-related information, The above NNPF related SEI message includes an NNPFC SEI message that includes filter identification information and filter characteristic existence information, Based on the above NNPFC SEI message including the basic NNPF, the filter characteristic presence information is restricted to have a first value indicating that the filter characteristic exists. Recording medium.

12. A method for transmitting a bitstream generated by an image encoding method, wherein the image encoding method comprises: A step of generating NNPF-related information to be applied to the current picture; and A step of generating an NNPF-related SEI message based on the above NNPF-related information, The above NNPF related SEI message includes an NNPFC SEI message that includes filter identification information and filter characteristic existence information, Based on the above NNPFC SEI message including the basic NNPF, the filter characteristic presence information is restricted to have a first value indicating that the filter characteristic exists. method.