Method and device for signaling image information applicable at picture level or slice level

By signaling image information at the picture or slice level and applying tools accordingly, the method improves image/video compression efficiency, addressing the cost challenges of high-resolution image transmission and storage.

JP2024150682AActive Publication Date: 2024-10-23LG ELECTRONICS INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024119321
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-12-12
Filing Date
2024-07-25
Publication Date
2024-10-23
Estimated Expiration
2040-12-10

AI Technical Summary

Technical Problem

The increasing demand for high-resolution, high-quality images has led to a surge in transmission and storage costs due to the increased amount of information required, necessitating highly efficient image compression techniques.

Method used

A method and apparatus for signaling image information at the picture level or slice level, involving the use of instruction information to determine whether tools are applied at the picture or slice level, and encoding/decoding blocks based on this information in headers.

Benefits of technology

This approach enhances image/video compression efficiency by optimizing the application of tools at the appropriate level, thereby reducing transmission and storage costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024150682000001_ABST
    Figure 2024150682000001_ABST
Patent Text Reader

Abstract

To provide a method and device for signaling image information applicable at a picture level or a slice level in an image coding system.SOLUTION: An image decoding method performed by a decoding device according to the present disclosure comprises: a step S1010 of acquiring indication information related to whether deblocking filter information is present at a picture header or a slice header; a step S1020 of determining, on the basis of the indication information, whether the deblocking filter information is present at the picture header or the slice header; and a step S1030 of parsing the deblocking filter information from the picture header or the slice header on the basis of the determination.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to image coding techniques, and to methods and apparatus for signaling image information applied at a picture or slice level in an image coding system. [Background technology]

[0002] In recent years, the demand for high-resolution, high-quality images such as HD (High Definition) images and UHD (Ultra High Definition) images has been increasing in various fields. As the image data has higher resolution and quality, the amount of information or bits to be transmitted increases relatively compared to existing image data, so that when the image data is transmitted using a medium such as an existing wired or wireless broadband line or when the image data is stored using an existing storage medium, the transmission cost and storage cost increase.

[0003] This calls for highly efficient image compression techniques to effectively transmit, store and reproduce high-resolution, high-quality image information. Summary of the Invention [Problem to be solved by the invention]

[0004] A technical problem of the present disclosure is to provide a method and apparatus for improving image coding efficiency.

[0005] Another technical problem of the present disclosure is to provide a method and apparatus for signaling image information applied at a picture level or a slice level.

[0006] It is still another technical object of the present disclosure to provide a method and apparatus for performing decoding on a current block based on image information applied at a picture level or a slice level. [Means for solving the problem]

[0007] According to an embodiment of the present disclosure, there is provided an image decoding method performed by a decoding device, the method including the steps of: obtaining indication information indicating whether at least one tool for a current block is applied at a picture level or a slice level; determining whether information related to the at least one tool is present in a picture header or a slice header based on the indication information; parsing the information related to the at least one tool from the picture header or the slice header based on the determination result; and decoding the current block based on the information related to the at least one tool.

[0008] According to another embodiment of the present disclosure, there is provided an image encoding method performed by an encoding device, the method including the steps of generating indication information indicating whether at least one tool applied to a current block is applied at a picture level or a slice level, generating information related to the at least one tool, and encoding image information including the indication information and the information related to the at least one tool, the indication information indicating in which of a picture header and a slice header the information related to the at least one tool is present.

[0009] According to yet another embodiment of the present disclosure, a computer-readable digital storage medium storing encoded image information for causing a decoding device to perform an image decoding method is provided. The decoding method according to the embodiment includes the steps of: obtaining indication information indicating whether at least one tool applied to a current block is applied at a picture level or a slice level; determining whether information related to the at least one tool is present in a picture header or a slice header based on the indication information; parsing the information related to the at least one tool from the picture header or the slice header based on the determination result; and performing decoding on the current block based on the information related to the at least one tool. Effect of the Invention

[0010] According to this specification, the overall image / video compression efficiency can be improved.

[0011] According to the present specification, the efficiency of image decoding can be improved based on indication information indicating whether at least one tool for a current block is applied at a picture level or a slice level. [Brief description of the drawings]

[0012] [Figure 1] 1 illustrates generally an example of a video / image coding system to which the present disclosure may be applied; [Diagram 2] A diagram that illustrates the configuration of a video / image encoding device to which the present disclosure can be applied. [Diagram 3] 1 is a diagram illustrating the schematic configuration of a video / image decoding device to which the present disclosure can be applied. [Figure 4] 1 illustrates an exemplary hierarchical structure for coded data. [Diagram 5] 1 is a flow chart illustrating one embodiment of a method for performing deblocking filtering. [Figure 6] 1 is a flow chart that illustrates an example of an ALF procedure. [Figure 7] 1 shows examples of filter shapes for ALF. [Figure 8] 1 is a flowchart illustrating an operation of an encoding device according to an embodiment. [Figure 9] FIG. 1 is a block diagram showing a configuration of an encoding device according to an embodiment. [Figure 10] 10 is a flowchart illustrating an operation of a decoding device according to an embodiment. [Figure 11] 1 is a block diagram showing a configuration of a decoding device according to an embodiment; [Figure 12] 1 illustrates an example of a content streaming system to which the disclosure of this document may be applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] This document may have various modifications and may have various embodiments, and a specific embodiment will be illustrated in the drawings and described in detail. However, this is not intended to limit this document to a specific embodiment. Terms commonly used in this specification are used merely to describe a specific embodiment, and are not intended to limit the technical ideas of this document. A singular expression includes a plural expression unless the context clearly indicates otherwise. In this specification, the terms "include" or "have" are intended to specify the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, and should be understood not to preclude the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

[0014] Meanwhile, each component in the drawings described in this document is illustrated independently for the convenience of explaining the different characteristic functions, and does not mean that each component is realized by separate hardware or software. For example, two or more components among the components may be combined to form one component, or one component may be divided into multiple components. An embodiment in which each component is integrated and / or separated is also included in the scope of the rights of this document as long as it does not deviate from the essence of this document.

[0015] As used herein, "A or B" can mean "only A," "only B," or "both A and B." In other words, as used herein, "A or B" can be interpreted as "A and / or B." For example, as used herein, "A, B or C" can mean "only A," "only B," "only C," or "any combination of A, B and C."

[0016] As used herein, a slash ( / ) or a comma can mean "and / or." For example, "A / B" can mean "A and / or B." Thus, "A / B" can mean "only A," "only B," or "both A and B." For example, "A, B, C" can mean "A, B, or C."

[0017] In this specification, "at least one of A and B" can mean "only A", "only B", or "both A and B". In addition, in this specification, the expressions "at least one of A or B" and "at least one of A and / or B" can be interpreted as "at least one of A and B".

[0018] In addition, in this specification, "at least one of A, B and C" can mean "only A," "only B," "only C," or "any combination of A, B and C." In addition, "at least one of A, B or C" or "at least one of A, B and / or C" can mean "at least one of A, B and C."

[0019] Furthermore, parentheses used in the present specification may mean "for example." Specifically, when "prediction (intra prediction)" is displayed, "intra prediction" is proposed as an example of "prediction." In other words, "prediction" in the present specification is not limited to "intra prediction," and "intra prediction" is proposed as an example of "prediction." Also, when "prediction (i.e., intra prediction)" is displayed, "intra prediction" is proposed as an example of "prediction."

[0020] In this specification, technical features described individually in one drawing can be realized individually or simultaneously.

[0021] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. Hereinafter, the same reference numerals are used for the same components in the drawings, and duplicated descriptions of the same components may be omitted.

[0022] FIG. 1 illustrates generally an example of a video / image coding system to which the present disclosure may be applied.

[0023] As shown in Figure 1, the video / image coding system may include a first device (source device) and a second device (receiving device). The source device may transmit encoded video / image information or data to the receiving device in a file or streaming form via a digital storage medium or a network.

[0024] The source device may include a video source, an encoding device, and a sending unit. The receiving device may include a receiving unit, a decoding device, and a renderer. The encoding device may be referred to as a video / image encoding device, and the decoding device may be referred to as a video / image decoding device. The transmitter may be included in the encoding device. The receiver may be included in the decoding device. The renderer may also include a display unit, which may be a separate device or an external component.

[0025] A video source may acquire video / images through a video / image capture, synthesis, or generation process, etc. A video source may include a video / image capture device and / or a video / image generation device. A video / image capture device may include, for example, one or more cameras, a video / image archive containing previously captured video / images, etc. A video / image generation device may include, for example, a computer, a tablet, a smartphone, etc., and may (electronically) generate video / images. For example, a virtual video / image may be generated through a computer, etc., in which case the video / image capture process may be replaced by a process in which related data is generated.

[0026] An encoding device can encode an input video / image. The encoding device can perform a series of steps such as prediction, transformation, quantization, etc. for compression and coding efficiency. The encoded data (encoded video / image information) can be output in the form of a bitstream.

[0027] The transmitting unit may transmit the encoded video / image information or data output in the form of a bitstream to a receiving unit of a receiving device via 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 transmitting unit may include elements for generating a media file through a predetermined file format and may include elements for transmission via a broadcasting / communication network. The receiving unit may receive / extract the bitstream and transmit it to a decoding device.

[0028] The decoding device can decode the video / image by performing a series of steps such as inverse quantization, inverse transformation, prediction, etc., which correspond to the operations of the encoding device.

[0029] The renderer can render the decoded video / images. The rendered video / images can be displayed via a display unit.

[0030] This document relates to video / image coding. For example, the methods / embodiments disclosed in this document can be applied to methods disclosed in the versatile video coding (VVC) standard, the essential video coding (EVC) standard, the AOMedia Video 1 (AV1) standard, the 2nd generation of audio video coding standard (AVS2), or the next generation video / image coding standard (e.g., H.267 or H.268, etc.).

[0031] In this document, various embodiments relating to video / image coding are presented, which may be performed in combination with each other, unless otherwise stated.

[0032] In this document, video may refer to a collection of a series of images over time. A picture generally refers to a unit that represents one image at a specific time, and a slice / tile is a unit that constitutes a part of a picture in coding. A slice / tile may include one or more coding tree units (CTUs). One picture may be composed of one or more slices / tiles.

[0033] A tile is a rectangular region of CTUs within a particular tile column and a particular tile row in a picture. The tile column is a rectangular region of CTUs having a height equal to the height of the picture and a width specified by syntax elements in the picture parameter set. The tile row is a rectangular region of CTUs having a height specified by syntax elements in the picture parameter set and a width equal to the width of the picture.A tile scan can represent a specific sequential ordering of CTUs partitioning a picture in which the CTUs are ordered consecutively in CTU raster scan in a tile whereas tiles in a picture are ordered consecutively in a raster scan of the tiles of the picture. A slice can include multiple complete tiles or multiple consecutive CTU rows in one tile of a picture that can be included in one NAL unit. In this document, tile group and slice can be used interchangeably. For example, tile group / tile group header can be referred to as slice / slice header in this document.

[0034] On the other hand, a picture can be partitioned into two or more sub-pictures, where a sub-picture can be a rectangular region of one or more slices within a picture.

[0035] A pixel or a pel can mean the smallest unit that constitutes one picture (or image). A term corresponding to a pixel can also be used as a "sample." A sample can generally represent a pixel or a pixel value, can represent only a pixel / pixel value of a luma component, or can represent only a pixel / pixel value of a chroma component.

[0036] A unit may indicate 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. One unit may include one luma block and two chroma (e.g., cb, cr) blocks. A unit may be used in combination with terms such as block or area, depending on the case. In a general case, an M×N block may include a sample (or sample array) consisting of M columns and N rows, or a set (or array) of transform coefficients.

[0037] 2 is a diagram for explaining the configuration of a video / image encoding device to which this document can be applied. Hereinafter, the video encoding device may include an image encoding device.

[0038] As shown in FIG. 2, the encoding device 200 may be configured to include an image partitioner 210, a predictor 220, a residual processor 230, an entropy encoder 240, an adder 250, a filter 260, and a memory 270. The predictor 220 may include an inter prediction unit 221 and an intra prediction unit 222. The residual processor 230 may include a transformer 232, a quantizer 233, a dequantizer 234, and an inverse transformer 235. The residual processor 230 may further include a subtractor 231. The adder 250 may be referred to as a reconstructor or a reconstructed block generator. The image division unit 210, the prediction unit 220, the residual processing unit 230, the entropy encoding unit 240, the addition unit 250, and the filtering unit 260 may be configured by one or more hardware components (e.g., an encoder chip set or a processor) according to an embodiment. In addition, the memory 270 may include a decoded picture buffer (DPB) and may be configured by a digital storage medium. The hardware components may further include the memory 270 as an internal / external component.

[0039] The image division unit 210 may divide an input image (or picture, frame) input to the encoding device 200 into one or more processing units. As an example, the processing unit may be called a coding unit (CU). In this case, the coding unit may be recursively divided from a coding tree unit (CTU) or a largest coding unit (LCU) according to a quad-tree binary-tree ternary-tree (QTBTTT) structure. For example, one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad-tree structure, a binary tree structure, and / or a ternary structure. In this case, for example, the quad-tree structure may be applied first, and then the binary tree structure and / or the ternary structure may be applied. Alternatively, the binary tree structure may be applied first. The coding procedure according to the present disclosure may be performed based on a final coding unit that is not further divided. In this case, the maximum coding unit may be used as the final coding unit based on coding efficiency according to image characteristics, or the coding unit may be recursively divided into coding units of lower depths as necessary, and a coding unit of an optimal size may be used as the final coding unit. Here, the coding procedure may include procedures such as prediction, transformation, and restoration, which will be described later. As another example, the processing unit may further include a prediction unit (PU: Prediction Unit) or a transform unit (TU: Transform Unit). In this case, the prediction unit and the transform unit may each be divided or partitioned from the final coding unit described above.The prediction unit may be a unit of sample prediction, and the transform unit may be a unit for deriving transform coefficients and / or a unit for deriving a residual signal from the transform coefficients.

[0040] The unit may be used interchangeably with terms such as block or area. In general, an M×N block may refer to a collection of samples or transform coefficients consisting of M columns and N rows. A sample may generally refer to a pixel or pixel value, may refer to only a pixel / pixel value of a luma component, or may refer to only a pixel / pixel value of a chroma component. A sample may be used as a term that corresponds to a pixel or pel of one picture (or image).

[0041] The encoding device 200 may generate a residual signal (residual block, residual sample array) by subtracting a prediction signal (predicted block, prediction sample array) output from the inter prediction unit 221 or the intra prediction unit 222 from an input image signal (original block, original sample array), and the generated residual signal is transmitted to the conversion unit 232. In this case, as illustrated, a unit that subtracts a prediction signal (prediction block, prediction sample array) from an input image signal (original block, original sample array) in the encoding device 200 may be called a subtraction unit 231. The prediction unit may perform prediction on a block to be processed (hereinafter, referred to as a current block) and generate a predicted block including a prediction sample for the current block. The prediction unit may determine whether intra prediction or inter prediction is applied in units of the current block or CU. The prediction unit may generate various information related to prediction, such as prediction mode information, and transmit the information to the entropy encoding unit 240, as will be described later in the description of each prediction mode. The prediction information can be encoded by the entropy encoding unit 240 and output in the form of a bitstream.

[0042] The intra prediction unit 222 may predict the current block by referring to samples in the current picture. The referenced samples may be located in the neighborhood of the current block or may be located away from the current block depending on the prediction mode. In the intra prediction, the prediction mode 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 fineness of the prediction direction. However, this is merely an example, and more or less directional prediction modes may be used depending on the setting. The intra prediction unit 222 may also determine the prediction mode to be applied to the current block using the prediction modes applied to the neighboring blocks.

[0043] The inter prediction unit 221 may derive a predicted block for a current block based on a reference block (reference sample array) identified by a motion vector on a reference picture. In this case, in order to reduce the amount of motion information transmitted in the inter prediction mode, the motion information may be predicted in units of blocks, sub-blocks, or samples based on the correlation of motion information between a neighboring block and the current block. The motion information may include a motion vector and a reference picture index. The motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the case of inter prediction, the neighboring block may include a spatial neighboring block present in the current picture and a temporal neighboring block present 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 (col CU), etc., and the reference picture including the temporal neighboring block may be called a collocated picture (colPic). For example, the inter prediction unit 221 may generate information indicating which candidate is used to derive a motion vector and / or a reference picture index of the current block by forming a motion information candidate list based on neighboring blocks. Inter prediction may be performed based on various prediction modes, and for example, in the case of a skip mode and a merge mode, the inter prediction unit 221 may use motion information of a neighboring block as motion information of the current block. In the case of the skip mode, unlike the merge mode, a residual signal may not be transmitted.In the case of motion vector prediction (MVP) mode, the motion vector of the neighboring block can be used as a motion vector predictor, and the motion vector of the current block can be indicated by signaling the motion vector difference.

[0044] The prediction unit 220 may generate a prediction signal based on various prediction methods, which will be described later. For example, the prediction unit may apply intra prediction or inter prediction for prediction of one block, as well as intra prediction and inter prediction simultaneously. This may be called combined inter and intra prediction (CIIP). The prediction unit may also be based on an intra block copy (IBC) prediction mode or a palette mode for prediction of a block. The IBC prediction mode or palette mode may be used for content image / video coding such as games, for example, screen content coding (SCC). IBC basically performs prediction within a current picture, but may be performed similarly to inter prediction in that a reference block is derived within the current picture. That is, IBC may utilize at least one of the inter prediction techniques described in this document. The palette mode may be considered as an example of intra coding or intra prediction. When the palette mode is applied, a sample value within a picture may be signaled based on information regarding a palette table and a palette index.

[0045] The prediction signal generated through the prediction unit (including the inter prediction unit 221 and / or the intra prediction unit 222) may be used to generate a restored signal or may be used to generate a residual signal. The transform unit 232 may generate transform coefficients by applying a transform technique to the residual signal. For example, the transform technique may 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, the GBT refers to a transform obtained from a graph when the relationship information between pixels is expressed as a graph. The CNT refers to a transform obtained based on a prediction signal generated using all previously reconstructed pixels. In addition, the transform process may be applied to pixel blocks having the same square size, and may also be applied to non-square variable-sized blocks.

[0046] The quantizer 233 quantizes the transform coefficients and transmits the quantized transform coefficients to the entropy encoder 240, which may encode the quantized signal (information on the quantized transform coefficients) and output the quantized signal to a bitstream. The information on the quantized transform coefficients may be referred to as residual information. The quantizer 233 may rearrange the quantized transform coefficients in a block form into a one-dimensional vector form based on a coefficient scan order, and may generate information on the quantized transform coefficients based on the quantized transform coefficients in the one-dimensional vector form. The entropy encoder 240 may perform various encoding methods, such as exponential Golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC). The entropy encoder 240 may encode information required for video / image restoration (e.g., values ​​of syntax elements, etc.) together with or separately from the quantized transform coefficients. The encoded information (e.g., encoded video / image information) may be transmitted or stored in a network abstraction layer (NAL) unit unit in the form of a bitstream. 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). The video / image information may further include general constraint information. Information and / or syntax elements transmitted / signaled from an encoding device to a decoding device in this document may be included in the video / image information. The video / image information may be encoded through the above-mentioned encoding procedure and included in the bitstream.The bitstream may be transmitted via a network or may be stored in a digital storage medium, where the network may include a broadcast network and / or a communication network, and the digital storage medium may include various storage media such as a USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. A transmitter (not shown) for transmitting the signal output from the entropy encoding unit 240 and / or a storage unit (not shown) for storing the signal may be configured as an internal / external element of the encoding device 200, or the transmitter may be included in the entropy encoding unit 240.

[0047] The quantized transform coefficients output from the quantizer 233 may be used to generate a prediction signal. For example, a residual signal (residual block or residual sample) may be restored by applying inverse quantization and inverse transform to the quantized transform coefficients via the inverse quantizer 234 and the inverse transformer 235. The adder 155 may 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 221 or the intra prediction unit 222. When there is no residual for the current block, such as when a skip mode is applied, a predicted block may be used as a reconstructed block. The adder 250 may be referred to as a reconstruction unit or a reconstructed block generator. The generated reconstructed signal may be used for intra prediction of the next current block in the current picture, and may also be used for inter prediction of the next picture after filtering, as described below.

[0048] Meanwhile, luma mapping with chrominance scaling (LMCS) may be applied during picture encoding and / or restoration.

[0049] The filtering unit 260 may apply filtering to the reconstructed signal to improve subjective / objective image quality. For example, the filtering unit 260 may apply various filtering methods to the reconstructed picture to generate a modified reconstructed picture, and may store the modified reconstructed picture in the memory 270, specifically, in the DPB of the memory 270. The various filtering methods may include, for example, deblocking filtering, sample adaptive offset (SAO), an adaptive loop filter, a bilateral filter, etc. The filtering unit 260 may generate various information related to filtering and transmit it to the entropy encoding unit 290, as will be described later in the description of each filtering method. The filtering information may be encoded by the entropy encoding unit 290 and output in the form of a bitstream.

[0050] The modified reconstructed picture transmitted to the memory 270 can be used as a reference picture in the inter prediction unit 280. When inter prediction is applied through this, the encoding device can avoid prediction mismatch between the encoding device 200 and the decoding device, and can also improve encoding efficiency.

[0051] The DPB of the memory 270 may store the modified reconstructed picture to be used as a reference picture in the inter prediction unit 221. The memory 270 may store motion information of a block from which motion information in the current picture is derived (or encoded) and / or motion information of a block in an already reconstructed picture. The stored motion information may be transmitted to the inter prediction unit 221 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block. The memory 270 may store reconstructed samples of reconstructed blocks in the current picture and transmit them to the intra prediction unit 222.

[0052] FIG. 3 is a diagram illustrating a schematic configuration of a video / image decoding device to which this document can be applied.

[0053] As shown in FIG. 3, the decoding device 300 may be configured to include an entropy decoder 310, a residual processor 320, a predictor 330, an adder 340, a filter 350, and a memory 360. The predictor 330 may include an inter predictor 331 and an intra predictor 332. The residual processor 320 may include a dequantizer 321 and an inverse transformer 321. The entropy decoder 310, the residual processor 320, the predictor 330, the adder 340, and the filter 350 may be configured as one hardware component (e.g., a decoder chipset or processor) according to an embodiment. In addition, the memory 360 may include a decoded picture buffer (DPB) and may be configured as a digital storage medium. The hardware components may further include a memory 360 as an internal / external component.

[0054] If a bitstream including video / image information is input, the decoding device 300 can restore an image corresponding to a process in which the video / image information is processed by the encoding device of FIG. 3. For example, the decoding device 300 can derive a unit / block based on block division related information obtained from the bitstream. The decoding device 300 can perform decoding using a processing unit applied in the encoding device. Thus, the processing unit for decoding can be, for example, a coding unit, and the coding unit can be divided from a coding tree unit or a maximum coding unit according to a quad tree structure, a binary tree structure, and / or a ternary tree structure. One or more transform units can be derived from the coding unit. Then, the restored image signal decoded and output by the decoding device 300 can be reproduced by a reproduction device.

[0055] The decoding device 300 may receive a signal output from the encoding device of FIG. 3 in the form of a bitstream, and the received signal may be decoded via the entropy decoding unit 310. For example, the entropy decoding unit 310 may derive information (e.g., video / image information) required for image restoration (or picture restoration) by parsing the bitstream. 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 decoding device may further decode a picture based on information on the parameter set and / or the general constraint information. Signaling / received information and / or syntax elements described later in this document may be decoded via the decoding procedure and obtained from the bitstream. For example, the entropy decoding unit 310 may decode information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and output values ​​of syntax elements required for image restoration, quantized values ​​of transform coefficients related to residuals, etc. More specifically, the CABAC entropy decoding method receives bins corresponding to each syntax element in the bitstream, determines a context model using syntax element information to be decoded and decode information of neighboring and blocks to be decoded, or information of symbols / bins decoded in a previous step, predicts the occurrence probability of bins according to the determined context model, and performs arithmetic decoding of the bins to generate symbols corresponding to the values ​​of each syntax element. In this case, the CABAC entropy decoding method may update the context model using information of the decoded symbol / bin for the context model of the next symbol / bin after determining the context model.Among the information decoded by the entropy decoding unit 310, information related to prediction is provided to a prediction unit (inter prediction unit 332 and intra prediction unit 331), and residual values ​​entropy decoded by the entropy decoding unit 310, i.e., quantized transform coefficients and related parameter information, may be input to the residual processing unit 320. The residual processing unit 320 may derive a residual signal (residual block, residual sample, residual sample array). Also, among the information decoded by the entropy decoding unit 310, information related to filtering may be provided to the filtering unit 350. Meanwhile, a receiving unit (not shown) for receiving a signal output from the encoding device may be further configured as an internal / external element of the decoding device 300, or the receiving unit may be a component of the entropy decoding unit 310. Meanwhile, the decoding device according to this document may be called a video / image / picture decoding device, and the decoding device may be divided into an information decoder (video / image / picture information decoder) and a sample decoder (video / image / picture sample decoder). The information decoder may include the entropy decoding unit 310, and the sample decoder may include at least one of the inverse quantization unit 321, the inverse transform unit 322, the addition unit 340, the filtering unit 350, the memory 360, the inter prediction unit 332, and the intra prediction unit 331.

[0056] The inverse quantization unit 321 may inverse quantize the quantized transform coefficients to output transform coefficients. The inverse quantization unit 321 may rearrange the quantized transform coefficients in a two-dimensional block form. In this case, the rearrangement may be performed based on a coefficient scan order performed in the encoding device. The inverse quantization unit 321 may perform inverse quantization on the quantized transform coefficients using a quantization parameter (e.g., quantization step size information) to obtain transform coefficients.

[0057] The inverse transform unit 322 inversely transforms the transform coefficients to obtain a residual signal (residual block, residual sample array).

[0058] The prediction unit may perform prediction on a current block and generate a predicted block including prediction samples for the current block. The prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on information on the prediction output from the entropy decoding unit 310, and may determine a specific intra / inter prediction mode.

[0059] The prediction unit 330 may generate a prediction signal based on various prediction methods, which will be described later. For example, the prediction unit may apply intra prediction or inter prediction for prediction of one block, and may simultaneously apply intra prediction and inter prediction. This may be called combined inter and intra prediction (CIIP). The prediction unit may also be based on an intra block copy (IBC) prediction mode or a palette mode for prediction of a block. The IBC prediction mode or palette mode may be used for content image / video coding such as games, for example, screen content coding (SCC). IBC basically performs prediction within a current picture, but may be performed similarly to inter prediction in that a reference block is derived within the current picture. That is, IBC may use at least one of the inter prediction techniques described in this document. The palette mode may be considered as an example of intra coding or intra prediction. When the palette mode is applied, information regarding a palette table and a palette index may be included in the video / image information and signaled.

[0060] The intra prediction unit 332 may predict the current block by referring to samples in the current picture. The referenced samples may be located in the neighborhood of the current block or may be located far away depending on the prediction mode. In intra prediction, the prediction mode may include a plurality of non-directional modes and a plurality of directional modes. The intra prediction unit 332 may also determine the prediction mode to be applied to the current block by using the prediction mode applied to the neighboring block.

[0061] The inter prediction unit 331 may derive a predicted block for the current block based on a reference block (reference sample array) identified by a motion vector on a reference picture. In this case, in order to reduce the amount of motion information transmitted in the inter prediction mode, the motion information may be predicted in units of blocks, sub-blocks, or samples based on the correlation of motion information between neighboring blocks and the current block. The motion information may include a motion vector and a reference picture index. The motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the case of inter prediction, the neighboring blocks may include a spatial neighboring block present in the current picture and a temporal neighboring block present in the reference picture. For example, the inter prediction unit 331 may configure a motion information candidate list based on the neighboring blocks, and derive a motion vector and / or a reference picture index for the current block based on the received candidate selection information. Inter prediction may be performed based on various prediction modes, and the information regarding the prediction may include information indicating a mode of inter prediction for the current block.

[0062] The adder 340 may generate a reconstructed signal (reconstructed picture, reconstructed block, reconstructed sample array) by adding the acquired residual signal to the prediction signal (predicted block, predicted sample array) output from the prediction unit 330. When there is no residual for the current block, such as when the skip mode is applied, the predicted block may be used as the reconstructed block.

[0063] The adder 340 may be referred to as a reconstruction unit or a reconstruction block generator. The generated reconstruction signal may be used for intra prediction of a next block to be processed in a current picture, may be output after filtering as described below, or may be used for inter prediction of a next picture.

[0064] Meanwhile, LMCS (luma mapping with chroma scaling) can be applied during the picture decoding process.

[0065] The filtering unit 350 may apply filtering to the reconstructed signal to improve subjective / objective image quality. For example, the filtering unit 350 may apply various filtering methods to the reconstructed picture to generate a modified reconstructed picture, and may transmit the modified reconstructed picture to the memory 60, specifically, to the DPB of the memory 360. The various filtering methods may include, for example, deblocking filtering, sample adaptive offset, an adaptive loop filter, a bilateral filter, etc.

[0066] The (modified) reconstructed picture stored in the DPB of the memory 360 may be used as a reference picture in the inter prediction unit 331. The memory 360 may store motion information of a block from which motion information in the current picture is derived (or decoded) and / or motion information of a block in an already reconstructed picture. The stored motion information may be transmitted to the inter prediction unit 331 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block. The memory 360 may store reconstructed samples of reconstructed blocks in the current picture and transmit them to the intra prediction unit 332.

[0067] In this specification, the embodiments described for the filtering unit 260, inter prediction unit 221, and intra prediction unit 222 of the encoding device 100 can also be applied identically or correspondingly to the filtering unit 350, inter prediction unit 332, and intra prediction unit 331 of the decoding device 300, respectively.

[0068] Meanwhile, as described above, prediction is performed to improve compression efficiency when performing video coding. As a result, a predicted block including predicted samples for a current block, which is a block to be coded, can be generated. Here, the predicted block includes predicted samples in a spatial domain (or a pixel domain). The predicted block is derived in the same way in an encoding device and a decoding device, and the encoding device can improve image coding efficiency by signaling information (residual information) about the residual between the original block and the predicted block, which is not an original sample value of the original block, to the decoding device. The decoding device can derive a residual block including residual samples based on the residual information, and can generate a reconstructed block including reconstructed samples by adding the residual block and the predicted block, and can generate a reconstructed picture including the reconstructed block.

[0069] The residual information may be generated through a transform and quantization procedure. For example, the encoding apparatus may derive a residual block between the original block and the predicted block, perform a transform procedure on the residual samples (residual sample array) included in the residual block to derive transform coefficients, and perform a quantization procedure on the transform coefficients to derive quantized transform coefficients, and then signal the related residual information (through a bitstream) to the decoding apparatus. Here, the residual information may include information such as value information, position information, transform technique, transform kernel, and quantization parameter of the quantized transform coefficients. The decoding apparatus may derive a residual sample (or a residual block) by performing an inverse quantization / inverse transform procedure based on the residual information. The decoding apparatus may generate a reconstructed picture based on the predicted block and the residual block. Also, the encoding apparatus may derive a residual block by inverse quantizing / inverse transforming the quantized transform coefficients for reference for inter-prediction of a future picture, and generate a reconstructed picture based on the residual block.

[0070] FIG. 4 shows an example of a hierarchical structure for coded data.

[0071] As shown in FIG. 4, the coded data can be divided into a VCL (video coding layer) that handles the video / image coding process and itself, and a NAL (Network abstraction layer) that is between the lower system that stores and transmits the coded video / image data.

[0072] The VCL can generate parameter sets (picture parameter set (PPS), sequence parameter set (SPS), video parameter set (VPS), etc.) corresponding to headers such as sequences and pictures, and supplemental enhancement information (SEI) messages that are additionally required for the video / image coding process. The SEI message is separated from information about the video / image (slice data). The VCL, which includes information about the video / image, consists of slice data and a slice header. Meanwhile, the slice header can be referred to as a tile group header, and the slice data can be referred to as tile group data.

[0073] In NAL, NAL units can be generated by adding header information (NAL unit header) to RBSP (Raw Byte Sequence Payload) generated by VCL. In this case, RBSP refers to slice data, parameter set, SEI message, etc. generated by VCL. The NAL unit header can include NAL unit type information identified by the RBSP data included in the NAL unit.

[0074] The NAL unit, which is the basic unit of the NAL, serves to map a coded image to a bitstream of a lower system such as a file format according to a certain standard, a Real-time Transport Protocol (RTP), a Transport Stream (TS), etc.

[0075] As shown, NAL units can be divided into VCL NAL units and non-VCL NAL units according to the RBSP generated in the VCL. The VCL NAL unit can refer to a NAL unit that contains information about an image (slice data), and the non-VCL NAL unit can refer to a NAL unit that contains information required to decode an image (parameter set or SEI message).

[0076] The above-mentioned VCL NAL unit and non-VCL NAL unit can be transmitted over a network with header information according to the data standard of the lower system. For example, the NAL unit can be transformed into a data format of a predetermined standard such as H.266 / VVC file format, RTP (Real-time Transport Protocol), TS (Transport Stream), etc., and transmitted over various networks.

[0077] As described above, the NAL unit type of an NAL unit can be identified by an RBSP data structure included in the NAL unit, and information regarding such NAL unit type can be stored and signaled in the NAL unit header.

[0078] For example, NAL units can be broadly classified into VCL NAL unit types and non-VCL NAL unit types depending on whether the NAL units include information about images (slice data). The VCL NAL unit types can be classified according to the nature and type of pictures included in the VCL NAL units, and the non-VCL NAL unit types can be classified according to the type of parameter sets.

[0079] The following is an example of a NAL unit type identified by the type of parameter set included in the Non-VCL NAL unit type. The NAL unit type can be identified by the type of parameter set. For example, the NAL unit type can be identified as any one of APS (Adaptation Parameter Set) NAL unit, which is a type for NAL units including APS, DPS (Decoding Parameter Set) NAL unit, which is a type for NAL units including DPS, VPS (Video Parameter Set) NAL unit, which is a type for NAL units including VPS, SPS (Sequence Parameter Set) NAL unit, which is a type for NAL units including SPS, and PPS (Picture Parameter Set) NAL unit, which is a type for NAL units including PPS.

[0080] The above-mentioned NAL unit types have syntax information for the NAL unit types, and the syntax information can be stored in a NAL unit header and signaled. For example, the syntax information can be nal_unit_type, and the NAL unit type can be specified by the nal_unit_type value.

[0081] Meanwhile, as described above, one picture may include a plurality of slices, and one slice may include a slice header and slice data. In this case, one picture header may be further added for a plurality of slices (slice header and slice data set) in one picture. The picture header (picture header syntax) may include information / parameters commonly applicable to the picture. The slice header (slice header syntax) may include information / parameters commonly applicable to the slices. The APS (APS syntax) or PPS (PPS syntax) may include information / parameters commonly applicable to one or more slices or pictures. The SPS (SPS syntax) may include information / parameters commonly applicable to one or more sequences. The VPS (VPS syntax) may include information / parameters commonly applicable to multiple layers. The DPS (DPS syntax) may include information / parameters commonly applicable to video in general. The DPS may include information / parameters related to concatenation of a coded video sequence (CVS). In this document, a high level syntax (HLS) may include at least one of the APS syntax, the PPS syntax, the SPS syntax, the VPS syntax, the DPS syntax, a picture header syntax, and a slice header syntax.

[0082] In this document, the image / video information encoded from the encoding device to the decoding device and signaled in the form of a bitstream may include information related to partitioning in a picture, intra / inter prediction information, residual information, in-loop filtering information, etc., as well as information included in the slice header, information included in the picture header, information included in the APS, information included in the PPS, information included in the SPS, information included in the VPS, and / or information included in the DPS. In addition, the image / video information may further include information of a NAL unit header.

[0083] Meanwhile, as described above, the encoding device / decoding device may perform an in-loop filtering procedure on the reconstructed picture to improve subjective / objective image quality. A modified reconstructed picture may be generated through the in-loop filtering procedure, and the modified reconstructed picture may be output as a decoded picture in the decoding device or may be stored in a decoded picture buffer or memory of the encoding device / decoding device. In addition, the modified reconstructed picture may be used as a reference picture in an inter prediction procedure when encoding / decoding. The in-loop filtering procedure may include a deblocking filtering procedure, a sample adaptive offset (SAO) procedure, and / or an adaptive loop filter (ALF) procedure, as described above. In this case, one or a part of the deblocking filtering procedure, the sample adaptive offset (SAO) procedure, and the adaptive loop filter (ALF) procedure may be applied sequentially, or all of them may be applied sequentially. For example, the SAO procedure may be performed after the deblocking filtering procedure is applied to the reconstructed picture. Or, for example, the ALF procedure may be performed after the deblocking filtering procedure is applied to the reconstructed picture. This can be done in the encoding device as well.

[0084] The deblocking filtering procedure is a procedure for removing distortions occurring at boundaries between blocks in a restored picture. The deblocking filtering procedure may, for example, derive a target boundary in a restored picture, determine a boundary strength (bS) for the target boundary, and perform deblocking filtering on the target boundary based on bS. bS may be determined based on the prediction modes of two blocks adjacent to the target boundary, the motion vector difference, whether the reference pictures are the same, whether there are non-zero valid coefficients, etc.

[0085] SAO is a method of compensating for an offset difference between a reconstructed picture and an original picture on a sample-by-sample basis. For example, SAO may be applied according to a type such as band offset, edge offset, etc. According to SAO, samples may be classified into different categories according to the SAO type, and an offset value may be added to each sample according to the category. Filtering information for SAO may include whether SAO is applicable, SAO type information, and SAO offset value information. For example, SAO may be applied to a reconstructed picture after deblocking filtering is applied.

[0086] An adaptive loop filter (ALF) procedure is a procedure for filtering a reconstructed picture on a sample-by-sample basis based on a filter coefficient according to a filter shape. An encoding apparatus can compare a reconstructed picture with an original picture to determine whether to apply ALF, an ALF shape and / or an ALF filtering coefficient, etc., and signal the same to a decoding apparatus. That is, filtering information for ALF can include whether ALF is applied, ALF filter shape information, ALF filtering coefficient information, etc. The ALF procedure can be applied to a reconstructed picture after deblocking filtering is applied.

[0087] FIG. 5 is a flow diagram illustrating one embodiment of a method for performing deblocking filtering.

[0088] As described above, the encoding device / decoding device can restore a picture in units of blocks. When such image restoration is performed in units of blocks, block distortion may occur at boundaries between blocks in the restored picture. Therefore, the encoding device and the decoding device can use a deblocking filter to remove block distortion occurring at boundaries between blocks in the restored picture.

[0089] Therefore, the encoding device / decoding device can derive an inter-block boundary where deblocking filtering is performed in the reconstructed picture. Meanwhile, the boundary where deblocking filtering is performed may be called an edge. Also, the boundary where deblocking filtering is performed may include two types, and the two types may be a vertical boundary and a horizontal boundary. The vertical boundary may be called a vertical edge, and the horizontal boundary may be called a horizontal edge. The encoding device / decoding device can perform deblocking filtering on the vertical edge and can perform deblocking filtering on the horizontal edge.

[0090] For example, the encoding / decoding device can derive a target boundary for filtering in the reconstructed picture (S510).

[0091] The encoding device / decoding device may also determine a boundary strength (bS) for the boundary where deblocking filtering is performed (S520). bS may also be expressed as boundary filtering strength. For example, a case may be assumed in which a bS value for a boundary (block edge) between block P and block Q is to be obtained. In this case, the encoding device / decoding device may obtain a bS value for the boundary (block edge) between block P and block Q based on the block P and the block Q. For example, bS may be determined according to the following table.

[0092] [Table 1-1]

[0093] [Table 1-2]

[0094] Here, p may represent samples of a block P adjacent to the deblocking filtering target boundary, and q may represent samples of a block Q adjacent to the deblocking filtering target boundary.

[0095] Also, for example, p0 may represent a sample of a block adjacent to the left or upper side of the deblocking filtering target boundary, and q0 may represent a sample of a block adjacent to the right or lower side of the deblocking filtering target boundary. For example, if the direction of the target boundary is vertical (i.e., the target boundary is a vertical boundary), p0 may represent a sample of a block adjacent to the left side of the deblocking filtering target boundary, and q0 may represent a sample of a block adjacent to the right side of the deblocking filtering target boundary. Alternatively, for example, if the direction of the target boundary is horizontal (i.e., the target boundary is a horizontal boundary), p0 may represent a sample of a block adjacent to the upper side of the deblocking filtering target boundary, and q0 may represent a sample of a block adjacent to the lower side of the deblocking filtering target boundary.

[0096] Referring again to FIG. 5, the encoding / decoding apparatus may perform deblocking filtering based on the bS (S530). For example, if the bS value is 0, filtering is not applied to the target boundary. Meanwhile, a filter to be applied to the boundary between blocks may be determined based on the determined bS value. The filters may be classified into a strong filter and a weak filter. The encoding / decoding apparatus may increase coding efficiency by filtering a boundary at a position where blocking distortion is highly likely to occur in a reconstructed picture and a boundary at a position where blocking distortion is less likely to occur with different filters.

[0097] 6 is a flow chart illustrating an example of an ALF procedure. The ALF procedure disclosed in FIG. 6 may be performed in an encoding device and a decoding device. In this document, a coding device may include the encoding device and / or the decoding device.

[0098] As shown in FIG. 6, the coding apparatus derives a filter for ALF (S610). The filter may include a filter coefficient. The coding apparatus may determine whether or not ALF is applied, and when it is determined that the ALF is applied, may derive a filter including a filter coefficient for the ALF. A filter (coefficient) for ALF or information for deriving a filter (coefficient) for ALF may be referred to as an ALF parameter. Information regarding whether or not ALF is applied (e.g., an ALF available flag) and ALF data for deriving the filter may be signaled from an encoding apparatus to a decoding apparatus. The ALF data may include information for deriving a filter for the ALF. Also, as an example, for hierarchical control of ALF, an ALF available flag may be signaled at the SPS, picture header, slice header, and / or CTB level, respectively.

[0099] To derive a filter for the ALF, activity and / or directionality of a current block (or an ALF target block) may be derived, and the filter may be derived based on the activity and / or directionality. For example, an ALF procedure may be applied in units of 4×4 blocks (based on luma components). The current block or the ALF target block may be, for example, a CU, or a 4×4 block in a CU. Specifically, for example, a filter for ALF may be derived based on a first filter derived from information included in the ALF data and a predefined second filter, and a coding apparatus may select one of the filters based on the activity and / or directionality. The coding apparatus may use filter coefficients included in the selected filter for the ALF.

[0100] The coding apparatus performs filtering based on the filter (S620). Modified reconstruction samples may be derived based on the filtering. For example, the filter coefficients in the filter may be arranged or assigned according to a filter shape, and the filtering may be performed on reconstruction samples in a current block. Here, the reconstruction samples in the current block may be reconstruction samples after a deblocking filter procedure and an SAO procedure are completed. For example, one filter shape may be used, or one filter shape may be selected and used from a plurality of predetermined filter shapes. For example, a filter shape applied to a luma component may be different from a filter shape applied to a chroma component. For example, a 7×7 diamond filter shape may be used for a luma component, and a 5×5 diamond filter shape may be used for a chroma component.

[0101] 7 shows examples of filter shapes for ALF. C0 to C11 in (a) and C0 to C5 in (b) can be filter coefficients that depend on the position within each filter shape.

[0102] FIG. 7(a) shows a 7×7 diamond filter shape, and FIG. 7(b) shows a 5×5 diamond filter shape. In FIG. 7, Cn in the filter shape indicates a filter coefficient. When n is the same in Cn, this indicates that the same filter coefficients can be assigned. In this document, the position and / or unit to which the filter coefficients are assigned according to the ALF filter shape may be called a filter tab. In this case, one filter coefficient may be assigned to each filter tab, and the arrangement of the filter tabs may correspond to the filter shape. A filter tab located at the center of the filter shape may be called a center filter tab. The same filter coefficient may be assigned to two filter tabs with the same n value that exist at positions corresponding to each other based on the center filter tab. For example, in the case of a 7×7 diamond filter shape, 25 filter tabs are included, and filter coefficients C0 to C11 are assigned in a central symmetrical form, so that filter coefficients can be assigned to the 25 filter tabs with only 13 filter coefficients. Also, for example, in the case of a 5×5 diamond filter shape, 13 filter tabs are included, and filter coefficients C0 to C5 are assigned in a centrally symmetrical manner, so that filter coefficients can be assigned to the 13 filter tabs with only 7 filter coefficients. For example, to reduce the amount of data regarding the signaled filter coefficients, 12 filter coefficients out of the 13 filter coefficients for a 7×7 diamond filter shape can be (explicitly) signaled and one filter coefficient can be (implicitly) derived. Also, for example, 6 filter coefficients out of the 7 filter coefficients for a 5×5 diamond filter shape can be (explicitly) signaled and one filter coefficient can be (implicitly) derived.

[0103] According to one embodiment of this document, ALF parameters used for the ALF procedure can be signaled via an adaptation parameter set (APS). The ALF parameters can be derived from filter information or ALF data for the ALF.

[0104] ALF, as described above, is a type of in-loop filtering technique that can be applied in video / image coding. ALF can be performed using a Wiener-based adaptive filter. This can be to minimize the mean square error (MSE) between the original samples and the decoded samples (or reconstructed samples). A high level design for an ALF tool can incorporate syntax elements accessible in the SPS and / or slice header (or tile group header).

[0105] Meanwhile, a picture header includes syntax elements that are applied in the picture header, and the syntax elements can be applied to all slices of a picture associated with the picture header. If a particular syntax element is only applied to a particular slice, the particular syntax element must be signaled in a slice header, not a picture header.

[0106] Conventionally, signaling of control flags and parameters for enabling or disabling various tools for picture encoding or decoding may be present in the picture header and may be overridden in the slice header. This scheme provides flexibility in that tool control may be performed at both the picture level and the slice level. However, this scheme may impose a burden on the decoder since it must check the slice header after checking the picture header.

[0107] Accordingly, an embodiment of the present invention proposes indication information indicating whether at least one tool is applied at a picture level or a slice level. In this case, the indication information may be included in any one of a sequence parameter set (SPS) and a picture parameter set (PPS). That is, when a specific tool is activated in a CLVS, an indication or flag indicating whether the specific tool is applied at a picture level or a slice level may be signaled in a parameter set such as an SPS or a PPS. The indication or flag may be for one tool, but is not limited thereto. For example, an indication or flag indicating whether all tools other than a specific tool are applied at a picture level or a slice level may be signaled in a parameter set such as an SPS or a PPS.

[0108] Control flags and parameters for activating or deactivating a tool may be signaled at the picture level or slice level, but not at both the picture level and the slice level. For example, when obtaining indication information indicating whether a particular tool is applied at the picture level, control flags and parameters for activating or deactivating the tool may be signaled only in the picture header. Similarly, when obtaining indication information indicating whether a particular tool is applied at the slice level, control flags and parameters for activating or deactivating the tool may be signaled only in the slice header.

[0109] Also, for example, a tool that is specified to be applied at the picture level in a particular parameter set may be specified to be applied at the slice level in another parameter set of the same type.

[0110] For example, the PPS syntax including the indication information may be as follows:

[0111] [Table 2]

[0112] The semantics of the syntax elements included in the syntax of Table 2 can be expressed, for example, as shown in Table 3 below.

[0113] [Table 3]

[0114] Referring to the table, the indication information may include a flag indicating whether the reference picture list signaling is applied at a picture level or a slice level. For example, the indication information may specify whether information related to the reference picture list signaling is present in a picture header or a slice header. For example, the flag may be referred to as rpl_present_in_ph_flag. If the value of the flag is equal to 1, the information related to the reference picture list signaling may be present in a picture header, and if the value of the flag is equal to 0, the information related to the reference picture list signaling may be present in a slice header.

[0115] The indication information may also include a flag indicating whether a Sample Adaptive Offset (SAO) procedure is applied at a picture level or a slice level. For example, the indication information may specify whether information related to the SAO procedure is present in a picture header or a slice header. For example, the flag may be referred to as sao_present_in_ph_flag. If the value of the flag is equal to 1, information related to the SAO procedure may be present in a picture header, and if the value of the flag is equal to 0, information related to the SAO procedure may be present in a slice header.

[0116] The indication information may also include a flag indicating whether an Adaptive Loop Filter (ALF) procedure is applied at a picture level or a slice level. For example, the indication information may specify whether information related to the ALF procedure is present in a picture header or a slice header. For example, the flag may be referred to as alf_present_in_ph_flag. If the value of the flag is equal to 1, information related to the ALF procedure may be present in a picture header, and if the value of the flag is equal to 0, information related to the ALF procedure may be present in a slice header.

[0117] The indication information may also include at least one flag indicating whether a deblocking procedure is applied at a picture level or a slice level. For example, information related to the deblocking procedure may be present in one of a picture header and a slice header based on the at least one flag. For example, the at least one flag may be referred to as a deblocking_filter_ph_override_enabled_flag or a deblocking_filter_sh_override_enabled_flag. For example, a flag indicating whether a parameter related to the deblocking procedure is present in the picture header may be present in the picture header based on a case where a value of the at least one flag is equal to 1, and a flag indicating whether a parameter related to the deblocking procedure is present in the picture header may not be present in the picture header based on a case where a value of the at least one flag is equal to 0.

[0118] Alternatively, a flag indicating whether a parameter related to a deblocking procedure is present in the slice header may be present in the slice header when the value of the at least one flag is equal to 1, and a flag indicating whether a parameter related to a deblocking procedure is present in the slice header may not be present in the slice header when the value of the at least one flag is equal to 0. In this case, the values ​​of deblocking_filter_ph_override_enabled_flag and deblocking_filter_sh_override_enabled_flag may not both be equal to 1.

[0119] Meanwhile, the picture header syntax may be as follows:

[0120] [Table 4-1]

[0121] [Table 4-2]

[0122] The semantics of the syntax elements included in the syntax of Table 4 can be expressed, for example, as shown in Table 5 below.

[0123] [Table 5]

[0124] Referring to the table, pic_deblocking_filter_override_present_flag may be signaled when the value of deblocking_filter_ph_override_enabled_flag, which corresponds to a flag indicating whether a deblocking procedure is applied at a picture level, is 1. When the value of pic_deblocking_filter_override_present_flag is 1, pic_deblocking_filter_override_flag, which corresponds to a flag indicating whether parameters related to the deblocking procedure are present in the picture header, may be present in the picture header. Alternatively, when the value of pic_deblocking_filter_override_present_flag is 0, pic_deblocking_filter_override_flag, which corresponds to a flag indicating whether parameters related to the deblocking procedure are present in the picture header, may not be present in the picture header.

[0125] In addition, if the value of pic_deblocking_filter_override_flag, which corresponds to a flag indicating whether parameters related to the deblocking procedure exist in the picture header, is equal to 1, the deblocking parameters may exist in the picture header. If the value of pic_deblocking_filter_override_flag is equal to 0, the deblocking parameters may not exist in the picture header.

[0126] Also, if the value of pic_deblocking_filter_disabled_flag is equal to 1, a deblocking filter may not be applied to a slice associated with the picture header. If the value of pic_deblocking_filter_disabled_flag is equal to 0, a deblocking filter may be applied to a slice associated with the picture header.

[0127] Additionally, pic_beta_offset_div2 and pic_tc_offset_div2 can specify deblocking parameter offsets for β and tC (divided by 2) for the slice associated with the picture header. The values ​​of pic_beta_offset_div2 and pic_tc_offset_div2 are both within the range of −6 to 6.

[0128] Meanwhile, the slice header syntax may be as shown in the following table.

[0129] [Table 6-1]

[0130] [Table 6-2]

[0131] The semantics of the syntax elements included in the syntax of Table 6 can be expressed, for example, as shown in Table 7 below.

[0132] [Table 7]

[0133] Referring to the table, slice_deblocking_filter_override_present_flag may be signaled when the value of deblocking_filter_sh_override_enabled_flag, which corresponds to a flag indicating whether a deblocking procedure is applied at a slice level, is 1. When the value of slice_deblocking_filter_override_present_flag is 1, slice_deblocking_filter_override_flag, which corresponds to a flag indicating whether a parameter related to the deblocking procedure exists in the slice header, may exist in the slice header. Alternatively, when the value of slice_deblocking_filter_override_present_flag is 0, slice_deblocking_filter_override_flag, which corresponds to a flag indicating whether a parameter related to the deblocking procedure exists in the slice header, may not exist in the picture header.

[0134] In addition, if the value of slice_deblocking_filter_override_flag, which corresponds to a flag indicating whether parameters related to the deblocking procedure exist in the slice header, is equal to 1, the deblocking parameters may exist in the slice header. If the value of slice_deblocking_filter_override_flag is equal to 0, the deblocking parameters may not exist in the slice header.

[0135] Also, if the value of slice_deblocking_filter_disabled_flag is equal to 1, a deblocking filter may not be applied to a slice associated with the slice header. If the value of slice_deblocking_filter_disabled_flag is equal to 0, a deblocking filter may be applied to a slice associated with the slice header.

[0136] In addition, slice_beta_offset_div2 and slice_tc_offset_div2 can specify deblocking parameter offsets for β and tC (a value divided by 2) for the slice. The values ​​of slice_beta_offset_div2 and slice_tc_offset_div2 are both within the range of -6 to 6.

[0137] FIG. 8 is a flowchart showing the operation of an encoding device according to an embodiment, and FIG. 9 is a block diagram showing the configuration of an encoding device according to an embodiment.

[0138] The method disclosed in FIG. 8 may be performed by the encoding device disclosed in FIG. 2 or FIG. 9. S810 and S820 in FIG. 8 may be performed by the image prediction unit 220, the residual processing unit 230, or the filtering unit 260 disclosed in FIG. 2, and S830 may be performed by the entropy encoding unit 240 disclosed in FIG. 2. Furthermore, the operations of S810 to S830 are based on some of the contents described above in FIG. 1 to FIG. 7. Therefore, the description of specific contents that overlap with the contents described above in FIG. 1 to FIG. 7 will be omitted or simplified.

[0139] As shown in FIG. 8, an encoding apparatus according to an embodiment may generate indication information indicating whether at least one tool applied to a current block is applied at a picture level or a slice level (S810).

[0140] For example, the image prediction unit 220 of the encoding device may generate indication information including a flag indicating whether reference picture list signaling is applied at a picture level or a slice level. For example, if the value of the flag is equal to 1, information related to the reference picture list signaling may be present in a picture header, and if the value of the flag is equal to 0, information related to the reference picture list signaling may be present in a slice header.

[0141] For example, the filtering unit 260 of the encoding device may generate indication information including a flag indicating whether a Sample Adaptive Offset (SAO) procedure is applied at a picture level or a slice level. For example, if the value of the flag is equal to 1, information related to the SAO procedure may be present in a picture header, and if the value of the flag is equal to 0, information related to the SAO procedure may be present in a slice header.

[0142] For example, the filtering unit 260 of the encoding device may generate indication information including a flag indicating whether an Adaptive Loop Filter (ALF) procedure is applied at a picture level or a slice level. For example, if the value of the flag is equal to 1, information related to the ALF procedure may be present in a picture header, and if the value of the flag is equal to 0, information related to the ALF procedure may be present in a slice header.

[0143] Alternatively, for example, the filtering unit 260 of the encoding device may generate indication information including at least one flag indicating whether a deblocking procedure is applied at a picture level or a slice level. Based on the at least one flag, information related to the deblocking procedure may be present in one of a picture header and a slice header. For example, based on a case where the value of the at least one flag is equal to 1, a flag indicating whether a parameter related to the deblocking procedure is present in the picture header may be present in the picture header, and based on a case where the value of the at least one flag is equal to 0, a flag indicating whether a parameter related to the deblocking procedure is present in the picture header may not be present in the picture header.

[0144] An encoding device according to an embodiment may generate information related to at least one tool (S820). For example, an image prediction unit 220 of the encoding device may generate information related to signaling of a reference picture list. Or, for example, a filtering unit 260 of the encoding device may generate at least one of information related to an SAO procedure, information related to an ALF procedure, and information related to a deblocking procedure.

[0145] An encoding device according to an embodiment may encode image information including instruction information and information related to at least one tool (S830). The image information may include prediction information for the current block. The prediction information may include information regarding an inter prediction mode or an intra prediction mode performed on the current block. The image information may include residual information generated from an original sample by a residual processing unit 230 of the encoding device.

[0146] Meanwhile, the bitstream in which the image information is encoded can be transmitted to the decoding device via a network or a (digital) storage medium, where the network can include a broadcast network and / or a communication network, and the digital storage medium can include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc.

[0147] FIG. 10 is a flowchart showing the operation of a decoding device according to an embodiment, and FIG. 11 is a block diagram showing the configuration of a decoding device according to an embodiment.

[0148] The method disclosed in FIG. 10 may be performed by the decoding device disclosed in FIG. 3 or FIG. 11. Specifically, S1010 to S1030 may be performed by the entropy decoding unit 310 disclosed in FIG. 3. Also, S1040 may be performed by the prediction unit 330, the residual processing unit 320, the filtering unit 350, or the addition unit 340 disclosed in FIG. 3. Furthermore, the operations of S1010 and S1040 are based on some of the contents described above in FIG. 1 to FIG. 7. Therefore, the description of specific contents that overlap with the contents described above in FIG. 1 to FIG. 7 will be omitted or simplified.

[0149] A decoding apparatus according to an embodiment may obtain indication information indicating whether at least one tool for a current block is applied at a picture level or a slice level (S1010). For example, the indication information may include a flag indicating whether a reference picture list signaling is applied at a picture level or a slice level. For example, the indication information may include a flag indicating whether a Sample Adaptive Offset (SAO) procedure is applied at a picture level or a slice level. For example, the indication information may include a flag indicating whether an Adaptive Loop Filter (ALF) procedure is applied at a picture level or a slice level. Or, for example, the indication information may include at least one flag indicating whether a deblocking procedure is applied at a picture level or a slice level.

[0150] A decoding apparatus according to an embodiment may determine whether information related to at least one tool is present in a picture header or a slice header based on the indication information (S1020).

[0151] For example, it can be determined that information related to the reference picture list signaling exists in a picture header when the value of a flag indicating whether the reference picture list signaling is applied at the picture level or the slice level is equal to 1, and that information related to the reference picture list signaling exists in a slice header when the value of the flag is equal to 0.

[0152] For example, based on whether the value of a flag indicating whether the SAO procedure is applied at the picture level or the slice level is equal to 1, it can be determined that information related to the SAO procedure is present in the picture header, and based on whether the value of the flag is equal to 0, it can be determined that information related to the SAO procedure is present in the slice header.

[0153] For example, if the value of a flag indicating whether the ALF procedure is applied at the picture level or slice level is equal to 1, it can be determined that information related to the ALF procedure is present in the picture header, and if the value of the flag is equal to 0, it can be determined that information related to the ALF procedure is present in the slice header.

[0154] Alternatively, for example, information related to the deblocking procedure may be present in one of a picture header and a slice header based on at least one flag indicating whether the deblocking procedure is applied at a picture level or a slice level. For example, it may be determined that a flag indicating whether a parameter related to the deblocking procedure is present in a picture header is present in a picture header based on a case where the value of the at least one flag is equal to 1, and that a flag indicating whether a parameter related to the deblocking procedure is present in a picture header is not present in a picture header based on a case where the value of the at least one flag is equal to 0. Alternatively, for example, it may be determined that a flag indicating whether a parameter related to the deblocking procedure is present in a slice header is present in a slice header based on a case where the value of the at least one flag is equal to 1, and that a flag indicating whether a parameter related to the deblocking procedure is present in a slice header is not present in a slice header based on a case where the value of the at least one flag is equal to 0.

[0155] A decoding apparatus according to an embodiment may parse information related to at least one tool from a picture header or a slice header based on the determination result (S1030).

[0156] A decoding apparatus according to an embodiment may perform decoding on a current block based on information related to at least one tool (S1040). For example, the prediction unit 330 of the decoding apparatus may perform prediction on the current block based on information related to signaling of a reference picture list obtained by receiving and parsing one of a picture header and a slice header. For example, the filtering unit 350 of the decoding apparatus may perform an SAO procedure on a reconstructed sample based on information related to an SAO procedure obtained by receiving and parsing one of a picture header and a slice header. For example, the filtering unit 350 of the decoding apparatus may perform an ALF procedure on a reconstructed sample based on information related to an ALF procedure obtained by receiving and parsing one of a picture header and a slice header. Alternatively, for example, the filtering unit 350 of the decoding apparatus may perform a deblocking procedure on a reconstructed sample based on information related to a deblocking procedure obtained by receiving and parsing one of a picture header and a slice header.

[0157] In the above-described embodiments, the method is described based on a flow chart with a series of steps or blocks, but the embodiment is not limited to the order of steps, and a step may occur in a different order or simultaneously with different steps than described above. Also, a person skilled in the art can understand that the steps shown in the flow chart are not exclusive, and other steps may be included, or one or more steps of the flow chart may be deleted without affecting the scope of the embodiments of this document.

[0158] The methods according to the embodiments of the present document described above may be implemented in software form, and the encoding device and / or decoding device according to the present document may be included in a device that performs image processing, such as a TV, a computer, a smartphone, a set-top box, a display device, etc.

[0159] In this document, when the embodiments are implemented in software, the methods described above may be implemented with modules (processes, functions, etc.) that perform the functions described above. The modules may be stored in a memory and executed by a processor. The memory may be internal or external to the processor and may be coupled to the processor in various well-known ways. The processor may include an application-specific integrated circuit (ASIC), other chipsets, logic circuits, and / or data processing devices. The memory may include a read-only memory (ROM), a random access memory (RAM), a flash memory, a memory card, a storage medium, and / or other storage devices. That is, the embodiments described in this document may be implemented and executed on a processor, microprocessor, controller, or chip. For example, the functional units shown in each drawing may be implemented and executed on a computer, processor, microprocessor, controller, or chip. In this case, information (e.g., information on instructions) or algorithms for implementation may be stored on a digital storage medium.

[0160] In addition, the decoding device and the encoding device to which the embodiment of this document is applied may be included in a multimedia broadcast transmitting / receiving device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video interactive device, a real-time communication device such as a video communication, a mobile streaming device, a storage medium, a camcorder, a custom video (VoD) service providing device, an over-the-top video (OTT) device, an internet streaming service providing device, a three-dimensional (3D) video device, a virtual reality (VR) device, an argument reality (AR) device, an image telephone video device, a transportation means terminal (e.g., a vehicle (including an autonomous vehicle) terminal, an airplane terminal, a ship terminal, etc.), and a medical video device, and may be used to process a video signal or a data signal. For example, the over-the-top video (OTT) device may include a game console, a Blu-ray player, an internet-connected TV, a home theater system, a smartphone, a tablet PC, a digital video recorder (DVR), etc.

[0161] In addition, the processing method to which the embodiment of the present document is applied may be produced in the form of a program executed by a computer and may be stored in a computer-readable recording medium. In addition, multimedia data having a data structure according to the embodiment of the present document may also be stored in a computer-readable recording medium. The computer-readable recording medium includes all kinds of storage devices and distributed storage devices in which computer-readable data is stored. The computer-readable recording medium may include, for example, a Blu-ray Disc (BD), a Universal Serial Bus (USB), a ROM, a PROM, an EPROM, an EEPROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. In addition, the computer-readable recording medium may include a medium realized in the form of a carrier wave (e.g., transmission via the Internet). In addition, a bit stream generated by the encoding method may be stored in a computer-readable recording medium or transmitted via a wired or wireless communication network.

[0162] Also, the embodiments of the present document may be implemented in a computer program product by program code, the program code being executable by a computer according to the embodiments of the present document. The program code may be stored on a computer readable carrier.

[0163] FIG. 12 illustrates an example of a content streaming system to which the disclosure of this document may be applied.

[0164] As shown in FIG. 12, a content streaming system to which the present disclosure is applied can broadly include an encoding server, a streaming server, a web server, a media storage, a user device, and a multimedia input device.

[0165] The encoding server compresses content input from a multimedia input device such as a smartphone, camera, camcorder, etc. into digital data to generate a bitstream and transmits the bitstream to the streaming server. As another example, if a multimedia input device such as a smartphone, camera, camcorder, etc. directly generates a bitstream, the encoding server may be omitted.

[0166] The bitstream may be generated by an encoding method or a bitstream generation method applied to an embodiment of this document, and the streaming server may temporarily store the bitstream in the process of transmitting or receiving the bitstream.

[0167] The streaming server transmits multimedia data to a user device based on a user request via a web server, and the web server acts as a medium 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 transmits multimedia data to the user. In this case, the content streaming system may include a separate control server, and in this case, the control server controls commands / responses between devices in the content streaming system.

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

[0169] Examples of the user devices include mobile phones, smart phones, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation systems, slate PCs, tablet PCs, ultrabooks, wearable devices (e.g., smartwatches, smart glass, head mounted displays (HMDs), digital TVs, desktop computers, and digital signage.

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

[0171] The claims described herein may be combined in various ways. For example, the technical features of the method claims herein may be combined and realized in an apparatus, and the technical features of the apparatus claims herein may be combined and realized in a method. Also, the technical features of the method claims herein and the technical features of the apparatus claims herein may be combined and realized in an apparatus, and the technical features of the method claims herein and the technical features of the apparatus claims herein may be combined and realized in a method.

Claims

1. An image decoding method performed by a decoding device, obtaining an indication of whether deblocking filter information is present in a picture header or a slice header; determining whether the deblocking filter information is present in the picture header or the slice header based on the indication information; parsing the deblocking filter information from the picture header or the slice header based on the determination; and decoding the current block based on the deblocking filter information. The instruction information is included in a PPS (Picture Parameter Set).

2. An image encoding method performed by an encoding device, comprising: generating deblocking filter information; determining whether the deblocking filter information is present in a picture header or a slice header; generating an indication as to whether the deblocking filter information is present in a picture header or a slice header; encoding image information including the instruction information and the deblocking filter information; the indication information is configured to indicate whether the deblocking filter information is present in the picture header or the slice header; An image encoding method, wherein the instruction information is included in a PPS (Picture Parameter Set).

3. 1. A method for transmitting data for an image, comprising: The transmission method includes: obtaining a bitstream generated based on the steps of: generating deblocking filter information; determining whether the deblocking filter information is present in a picture header or a slice header; generating indication information relating to whether the deblocking filter information is present in a picture header or a slice header; and encoding image information including the indication information and the deblocking filter information; transmitting the data including the bitstream; the indication information is configured to indicate whether the deblocking filter information is present in the picture header or the slice header; A transmission method, wherein the instruction information is included in a PPS (Picture Parameter Set).

Citation Information

Patent Citations

  • Signaling of non-picture-level syntax elements at the picture level

    WO2021022264A1