Image encoding / decoding method and apparatus and recording medium storing bitstream

By deriving non-candidate modes and using filters to process samples in adjacent regions, the problem of high signaling overhead in intra-frame prediction modes in high-resolution and high-quality image coding is solved, achieving more efficient image coding and decoding.

CN123187441APending Publication Date: 2026-11-27LG ELECTRONICS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580031959.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-05-07
Filing Date
2025-05-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively handle the encoding and decoding of high-resolution and high-quality images, especially when deriving patterns with low correlation to the current block, resulting in excessive signaling overhead for intra-frame prediction modes.

Method used

By deriving non-candidate patterns, patterns with low correlation to the current block are excluded. Filters are used to process samples in adjacent regions. Combined with intra-frame prediction patterns, a prediction block for the current block is generated, and transform coefficients are encoded to reduce signaling overhead.

Benefits of technology

It effectively reduces the signaling overhead of intra-frame prediction mode and improves the efficiency of image encoding and decoding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123187441A_ABST
    Figure CN123187441A_ABST
Patent Text Reader

Abstract

The image decoding method and apparatus according to the present disclosure can derive a non-candidate mode for a current block, derive an intra prediction mode of the current block based on the non-candidate mode, generate a prediction block of the current block based on the intra prediction mode, and reconstruct the current block based on the prediction block.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to an image encoding / decoding method and apparatus, as well as a recording medium for storing bit streams. Background Technology

[0002] Recently, the demand for high-resolution and high-quality images, such as HD (high-definition) and UHD (ultra-high-definition) images, has been increasing in various application areas, and therefore, efficient image compression technologies are being discussed.

[0003] Various techniques exist, such as inter-frame prediction techniques that use video compression technology to predict pixel values ​​included in the current frame from frames before or after the current frame, intra-frame prediction techniques that use pixel information in the current frame to predict pixel values ​​included in the current frame, and entropy coding techniques that assign short codes to values ​​that occur frequently and long codes to values ​​that occur infrequently. These image compression techniques can be used to effectively compress image data and send or store it. Summary of the Invention

[0004] Technical issues

[0005] This disclosure provides methods and apparatus for deriving patterns that have low correlation with the current block.

[0006] This disclosure provides methods and apparatus for excluding patterns that have low relevance to the current block.

[0007] Technical solution

[0008] The image decoding method and apparatus according to this disclosure may include the following steps: deriving a non-candidate mode for the current block, deriving an intra-prediction mode for the current block based on the non-candidate mode, generating a prediction block for the current block based on the intra-prediction mode, and reconstructing the current block based on the prediction block.

[0009] In the image decoding method and apparatus according to the present disclosure, the step of deriving a non-candidate mode may include: obtaining an amplitude value for the intra-frame prediction mode by applying a predetermined filter to samples belonging to neighboring regions of the current block.

[0010] In the image decoding method and apparatus according to this disclosure, an intra-frame prediction mode having an amplitude value equal to 0 can be derived as a non-candidate mode.

[0011] In the image decoding method and apparatus according to the present disclosure, an intra-frame prediction mode having an amplitude value less than or equal to a predetermined threshold can be derived as a non-candidate mode.

[0012] In the image decoding method and apparatus according to the present disclosure, the step of deriving non-candidate modes may include: counting the number of occurrences of each intra-frame prediction mode within a predetermined region.

[0013] In the image decoding method and apparatus according to this disclosure, an intra-frame prediction mode with an occurrence count equal to 0 can be derived as a non-candidate mode.

[0014] In the image decoding method and apparatus according to this disclosure, an intra-frame prediction mode having an occurrence frequency less than or equal to a predetermined threshold can be derived as a non-candidate mode.

[0015] In the image decoding method and apparatus according to this disclosure, non-candidate modes can be excluded from MPM candidates.

[0016] In the image decoding method and apparatus according to this disclosure, non-candidate modes can be excluded from the auxiliary MPM candidates.

[0017] In the image decoding method and apparatus according to this disclosure, the intra-prediction mode of the current block can be derived as any of the remaining mode candidates. The remaining mode candidates can be the remaining modes among the predefined intra-prediction modes, excluding MPM candidates and non-candidate modes.

[0018] In the image decoding method and apparatus according to the present disclosure, the intra-prediction mode of the current block can be derived as any one of the remaining modes among the remaining modes that exclude a predetermined number of unavailable modes from the predefined intra-prediction mode.

[0019] In the image decoding method and apparatus according to this disclosure, the number of unavailable modes can be variably determined based on the size of the current block.

[0020] The image coding method and apparatus of this disclosure can derive a non-candidate mode for the current block, derive an intra-prediction mode for the current block based on the non-candidate mode, generate a prediction block for the current block based on the intra-prediction mode, generate a residual block for the current block based on the prediction block, derive the transform coefficients for the current block based on the residual block, and encode the residual information related to the transform coefficients.

[0021] A computer-readable digital storage medium is provided for storing encoded video / image information, which enables a decoding device according to the present disclosure to perform an image decoding method.

[0022] A computer-readable digital storage medium is provided for storing video / image information generated based on the image encoding method of this disclosure.

[0023] A method and apparatus are provided for transmitting video / image information generated according to the image encoding method of this disclosure.

[0024] Beneficial effects

[0025] According to this disclosure, the encoding and decoding devices can efficiently derive patterns that have low correlation with the current block.

[0026] According to this disclosure, the signaling overhead of intra-frame prediction modes can be reduced by excluding modes that have low correlation with the current block. Attached Figure Description

[0027] Figure 1 A video / image encoding system according to this disclosure is shown.

[0028] Figure 2 A schematic block diagram of an encoding apparatus to which embodiments of the present disclosure are applicable and which performs encoding of video / image signals is shown.

[0029] Figure 3 A schematic block diagram of a decoding apparatus to which embodiments of the present disclosure are applicable and which performs decoding of video / image signals is shown.

[0030] Figure 4 An example is shown of a decoding method performed by a decoding device 300 as an embodiment of the present disclosure.

[0031] Figure 5 An illustrative configuration of a decoding device 300 performing a decoding method according to the present disclosure is shown.

[0032] Figure 6 An encoding method performed by the encoding device 200 as an embodiment of the present disclosure is illustrated.

[0033] Figure 7 An illustrative configuration of an encoding device 200 performing an encoding method according to the present disclosure is shown.

[0034] Figure 8 An example of a content streaming system to which embodiments of the present disclosure can be applied is shown. Detailed Implementation

[0035] Because this disclosure can be modified in various ways and has multiple embodiments, specific embodiments will be shown in the accompanying drawings and described in detail in the specific embodiments. However, this disclosure is not intended to be limited to the specific embodiments, but should be understood to include all changes, equivalents, and substitutions included within the spirit and scope of this disclosure. Similar reference numerals are used for similar components in the description of the various figures.

[0036] Terms such as "first," "second," etc., may be used to describe various components, but components should not be limited by these terms. Terms are used only to distinguish one component from others. For example, without departing from the scope of this disclosure, a first component may be referred to as a second component, and similarly, a second component may be referred to as a first component. Terms include any combination of one or more of the associated terms.

[0037] When a component is described as "connected" or "linked" to another component, it should be understood that it can be directly connected or linked to the other component, but the other component can exist in between. On the other hand, when a component is described as "directly connected" or "directly linked" to another component, it should be understood that there is no other component in between.

[0038] The terminology used in this application is for describing particular embodiments only and is not intended to limit this disclosure. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, it should be understood that terms such as “comprising” or “having” are intended to specify the presence of the features, quantities, steps, operations, components, portions, or combinations thereof described in this specification, but do not preclude the possibility of the presence or addition of one or more other features, quantities, steps, operations, components, portions, or combinations thereof.

[0039] This disclosure relates to video / image coding. For example, the methods / implementations disclosed herein can be applied to methods disclosed in the Multifunctional Video Coding (VVC) standard. Additionally, the methods / implementations disclosed herein can be applied to methods disclosed in the Basic Video Coding (EVC) standard, the AOMedia Video 1 (AV1) standard, the Audio Video Coding 2 (AVN2) standard, or next-generation video / image coding standards (e.g., H.267 or H.268, etc.).

[0040] This specification sets forth various implementations of video / image coding, and unless otherwise specified, these implementations may be combined with each other.

[0041] In this article, video can refer to a collection of images over time. A frame typically refers to a unit representing an image within a specific time period, and a slice / tile is a unit that forms part of a frame during encoding. A slice / tile can include at least one Code Tree Unit (CTU). A frame can consist of at least one slice / tile. A tile is a rectangular area composed of multiple CTUs within a specific tile column and a specific tile row of a frame. A tile column is a rectangular area of ​​CTUs with a height equal to the height of the frame and a width specified by the syntax requirements of the frame parameter set. A tile row is a rectangular area of ​​CTUs with a height specified by the frame parameter set and a width equal to the width of the frame. CTUs within a tile can be arranged continuously according to CTU raster scans, and tiles within a frame can be arranged continuously according to tile raster scans. A slice can include an integer number of complete tiles of a frame that can be exclusively included in a single NAL unit, or an integer number of consecutive complete CTU rows within a tile. Furthermore, a frame can be divided into at least two sub-frames. A sub-frame can be a rectangular area of ​​at least one slice within a frame.

[0042] A pixel, or pelin, can represent the smallest unit that makes up a frame (or image). Additionally, "sample" can be used as the term corresponding to a pixel. A sample can typically represent a pixel or a pixel value, and can represent only the pixel / pixel value of the luminance component or only the pixel / pixel value of the chrominance component.

[0043] A unit can represent the basic unit of image processing. A unit may include a specific region of the image and at least one of the information associated with that region. A unit may include a luminance block and two chrominance (e.g., cb, cr) blocks. In some cases, the term "unit" may be used interchangeably with terms such as "block" or "region". In general, an M×N block may include a set (or array) of transform coefficients or samples (or sample arrays) consisting of M columns and N rows.

[0044] In this document, “A or B” can mean “A only”, “B only”, or “both A and B”. In other words, “A or B” can be interpreted as “A and / or B”. For example, “A, B or C” can mean “A only”, “B only”, “C only”, or “any combination of A, B and C”.

[0045] The forward slash ( / ) or comma used in this article can indicate "and / or". For example, "A / B" can mean "A and / or B". Therefore, "A / B" can mean "A only", "B only", or "both A and B". For example, "A, B, C" can mean "A, B, or C".

[0046] In this document, "at least one of A and B" can mean "only A", "only B" or "both A and B". Furthermore, in this document, expressions such as "at least one of A or B" or "at least one of A and / or B" can be interpreted in the same way as "at least one of A and B".

[0047] Additionally, in this document, "at least one of A, B, and C" can mean "A only", "B only", "C only" or "any combination of A, B, and C". Furthermore, "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".

[0048] Additionally, the parentheses used in this document can indicate "for example". Specifically, when the indication is "prediction (intra-frame prediction)", "intra-frame prediction" can be cited as an example of "prediction". In other words, "prediction" in this document is not limited to "intra-frame prediction", and "intra-frame prediction" can be cited as an example of "prediction". Furthermore, even when the indication is "prediction (i.e., intra-frame prediction)", "intra-frame prediction" can be cited as an example of "prediction".

[0049] In this article, the technical features described individually in a single diagram can be implemented individually or simultaneously.

[0050] Figure 1 A video / image encoding system according to this disclosure is shown.

[0051] Reference Figure 1 A video / image encoding system may include a first device (source device) and a second device (receiving device).

[0052] A source device can transmit encoded video / image information or data to a receiving device in the form of a file or stream via a digital storage medium or network. The source device may include a video source, an encoding device, and a transmitting 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 include a display unit, and the display unit may consist of a separate device or external components.

[0053] A video source can acquire video / images through processes that capture, synthesize, or generate video / images. A video source may include means for capturing video / images and means for generating video / images. Means for capturing video / images may include at least one camera, a video / image archive containing previously captured video / images, etc. Means for generating video / images may include a computer, tablet computer, smartphone, etc., and can generate video / images (electronically). For example, virtual video / images can be generated by a computer, etc., and in this case, the process of capturing video / images can be replaced by a process of generating related data.

[0054] Encoding devices can encode input video / images. They can perform a series of processes such as prediction, transformation, and quantization for compression and encoding efficiency. The encoded data (encoded video / image information) can be output as a bitstream.

[0055] The transmitting unit can send encoded video / image information or data, output in bitstream form, to the receiving unit of the receiving device in the form of a file or stream via a digital storage medium or network. The digital storage medium can include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. The transmitting unit can include elements for generating media files according to a predetermined file format, and may include elements for transmission via a broadcast / communication network. The receiving unit can receive / extract the bitstream and send it to a decoding device.

[0056] Decoding devices can decode video / images by performing a series of processes, such as dequantization, inverse transform, and prediction, that correspond to the operations of encoding devices.

[0057] The renderer can render decoded video / images. The rendered video / images can be displayed through a display unit.

[0058] Figure 2 A schematic block diagram of an encoding apparatus that can be applied to embodiments of the present disclosure and perform encoding of video / image signals is shown.

[0059] Reference Figure 2The encoding device 200 may consist of an image segmenter 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-frame predictor 221 and an intra-frame predictor 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 also include a subtractor 231. The adder 250 may be referred to as a reconstructor or a reconstruction block generator. According to embodiments, the image segmenter 210, predictor 220, residual processor 230, entropy encoder 240, adder 250, and filter 260 may be configured by at least one hardware component (e.g., an encoder chipset or processor). Additionally, the memory 270 may include a decoded picture buffer (DPB) and may be configured by a digital storage medium. The hardware component may also include the memory 270 as an internal / external component.

[0060] Image segmenter 210 can segment an input image (or picture or frame) input to encoding device 200 into at least one processing unit. As an example, a processing unit can be referred to as a coding unit (CU). In this case, the coding unit can be recursively segmented from coding tree unit (CTU) or maximum coding unit (LCU) according to a quadtree-binary-tritree (QTBTTT) structure.

[0061] For example, a coding unit can be segmented into multiple deeper coding units based on a quadtree, binary tree, and / or ternary tree structure. In this case, for example, a quadtree structure can be applied first, followed by a binary tree and / or ternary tree structure. Alternatively, a binary tree structure can be applied before the quadtree structure. The coding process according to this specification can be performed based on the final coding unit that is no longer segmented. In this case, based on image characteristics, coding efficiency, etc., the largest coding unit can be directly used as the final coding unit, or, if necessary, the coding unit can be recursively segmented into deeper coding units, and the coding unit with the optimal size can be used as the final coding unit. Here, the coding process can include processes such as prediction, transformation, and reconstruction, as described later.

[0062] As another example, the processing unit may also include a prediction unit (PU) or a transform unit (TU). In this case, the prediction unit and the transform unit can be divided or segmented from the aforementioned final encoding unit, respectively. The prediction unit may be a unit for predicting samples, and the transform unit may be a unit for deriving transform coefficients and / or a unit for deriving residual signals from transform coefficients.

[0063] In some cases, a unit can be used interchangeably with terms such as block or region. Generally, an M×N block can represent a set of transform coefficients or samples consisting of M columns and N rows. Samples can typically represent pixels or pixel values, and can represent only the pixel / pixel value of the luminance component, or only the pixel / pixel value of the chrominance component. Samples can be used as a term to form a frame (or image) corresponding to a pixel or cell.

[0064] Encoding device 200 can subtract the prediction signal (prediction block, prediction sample array) output from inter-frame predictor 221 or intra-frame predictor 222 from the input image signal (original block, original sample array) to generate a residual signal (residual signal, residual sample array), and the generated residual signal is sent to converter 232. In this case, the unit in encoding device 200 that subtracts the prediction signal (prediction block, prediction sample array) from the input image signal (original block, original sample array) can be called subtractor 231.

[0065] Predictor 220 can perform prediction on the block to be processed (hereinafter referred to as the current block) and generate a prediction block that includes prediction samples of the current block. Predictor 220 can determine whether to apply intra-frame prediction or inter-frame prediction on a per-block or per-unit basis. Predictor 220 can generate various information about the prediction (e.g., prediction mode information) and send it to entropy encoder 240, as described later in the description of the various prediction modes. The information about the prediction can be encoded in entropy encoder 240 and output as a bitstream.

[0066] Intra-frame predictor 222 can predict the current block by referencing samples within the current frame. Depending on the prediction mode, the referenced samples may be located near the current block or at a specific distance from it. In intra-frame prediction, the prediction mode can include one or more non-directional modes and multiple directional modes. Non-directional modes can include at least one of DC mode or planar mode. Depending on the granularity of the prediction direction, the directional modes can include 33 or 65 directional modes. However, this is just an example; more or fewer directional modes may be used depending on the settings. Intra-frame predictor 222 can also determine the prediction mode to be applied to the current block by using prediction modes applied to a template region.

[0067] Inter-frame predictor 221 can deduce the prediction block of the current block based on a reference block (reference sample array) to be specified by motion vectors on a reference frame. In this case, to reduce the amount of motion information to be transmitted in inter-frame prediction mode, motion information can be predicted on a block, sub-block, or sample basis based on the correlation between the template region and the motion information of the current block. Motion information may include motion vectors and reference frame indices. Motion information may also include inter-frame prediction direction information (L0 prediction, L1 prediction, Bi prediction, etc.). For inter-frame prediction, the template region may include a spatial template region (spatial adjacent block) existing in the current frame and a temporal template region (temporal adjacent block) existing in the reference frame. The reference frame including the reference block and the reference frame including the temporal template region may be the same or different. The temporal template region may be referred to as a juxtaposed reference block, a co-located CU (colCU), etc., and the reference frame including the temporal template region may be referred to as a juxtaposed frame (colPic). For example, inter-frame predictor 221 can construct a motion information candidate list based on the template region and generate information indicating which candidate to use to deduce the motion vector and / or reference frame index of the current block. Inter-frame prediction can be performed based on various prediction modes. For example, in skip mode and merge mode, the inter-frame predictor 221 can use the motion information of the template region as the motion information of the current block. In skip mode, unlike merge mode, residual signals may not be sent. In motion vector prediction (MVP) mode, the motion vector of the template region can be used as a motion vector predictor, and the motion vector difference can be signaled to indicate the motion vector of the current block.

[0068] Predictor 220 can generate a prediction signal based on various prediction methods described later. For example, the predictor can not only apply intra-frame prediction or inter-frame prediction to predict a block, but can also apply both intra-frame and inter-frame prediction simultaneously. This can be referred to as the Inter-intra-frame Combined Prediction (CIIP) mode. Alternatively, the predictor can predict blocks based on the Intra-Block Copy (IBC) prediction mode, or it can predict blocks based on a palette mode. The IBC prediction mode or palette mode can be used for content image / video coding such as Screen Content Coding (SCC) in games, etc. IBC essentially performs prediction within the current frame, but it can be performed similarly to inter-frame prediction because it derives a reference block within the current frame. In other words, IBC can use at least one of the inter-frame prediction techniques described herein. The palette mode can be considered an example of intra-frame coding or intra-frame prediction. When applying a palette mode, sample values ​​within the frame can be signaled based on information about the palette table and palette index. The prediction signal generated by predictor 220 can be used to generate a reconstructed signal or a residual signal.

[0069] Transformer 232 can generate transform coefficients by applying transform techniques to the residual signal. For example, the transform techniques may include at least one of Discrete Cosine Transform (DCT), Discrete Sine Transform (DST), Karhunen–Loève Transform (KLT), Graph-Based Transform (GBT), or Conditional Nonlinear Transform (CNT). Here, GBT represents the transform obtained from a graph when the relationship information between pixels is represented as a graph. CNT represents the transform obtained based on generating a prediction signal using all previously reconstructed pixels. Furthermore, the transform processing can be applied to square pixel blocks of the same size, or it can be applied to non-square blocks of variable size.

[0070] Quantizer 233 can quantize the transform coefficients and send them to entropy encoder 240, which can encode the quantized signal (information about the quantized transform coefficients) and output it as a bitstream. This information about the quantized transform coefficients can be called residual information. Quantizer 233 can rearrange the block-form quantized transform coefficients into a one-dimensional vector based on the coefficient scan order, and can generate information about the quantized transform coefficients based on this one-dimensional vector form.

[0071] The entropy encoder 240 can perform various encoding methods such as Golomb, context-adaptive variable-length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC). The entropy encoder 240 can encode information required for video / image reconstruction other than quantization transform coefficients (e.g., values ​​of syntax elements, etc.) together or separately.

[0072] Encoded information (e.g., encoded video / image information) can be transmitted or stored in bitstream form at the Network Abstraction Layer (NAL) unit level. The video / image information may also include information about various parameter sets such as Adaptive Parameter Set (APS), Picture Parameter Set (PPS), Sequence Parameter Set (SPS), or Video Parameter Set (VPS). Additionally, the video / image information may include general constraint information. Information and / or syntax elements transmitted from the encoding device to / signaled to the decoding device may be included in the video / image information. The video / image information can be encoded and included in the bitstream through the encoding process described above. The bitstream can be transmitted over a network or stored in a digital storage medium. Here, the network may include broadcast networks and / or communication networks, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. A transmitting unit (not shown) for transmitting the signal output from the entropy encoder 240 and / or a storage unit (not shown) for storing the signal may be configured as internal / external components of the encoding device 200, or the transmitting unit may also be included in the entropy encoder 240.

[0073] The quantized transform coefficients output from quantizer 233 can be used to generate a prediction signal. For example, the residual signal (residual block or residual sample) can be reconstructed by applying dequantization and inverse transform to the quantized transform coefficients via dequantizer 234 and inverse transformer 235. Adder 250 can add the reconstructed residual signal to the prediction signal output from inter-frame predictor 221 or intra-frame predictor 222 to generate a reconstructed signal (reconstructed frame, reconstructed block, reconstructed sample array). When there is no residual for the block to be processed (similar to when a skip mode is applied), the prediction block can be used as a reconstructed block. Adder 250 can be referred to as a reconstructor or reconstructed block generator. The generated reconstructed signal can be used for intra-frame prediction of the next block to be processed in the current frame, and can also be used for inter-frame prediction of the next frame by filtering, as described later. Furthermore, luminance mapping and chroma scaling (LMCS) can be applied in frame encoding and / or reconstruction processing.

[0074] Filter 260 can improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, filter 260 can generate a modified reconstructed image by applying various filtering methods to the reconstructed image, and the modified reconstructed image can be stored in memory 270 (specifically, the DPB of memory 270). Various filtering methods can include deblocking filtering, sample adaptive offsetting, adaptive loop filtering, bilateral filtering, etc. Filter 260 can generate various information about the filtering and send it to entropy encoder 240. The information about the filtering can be encoded in entropy encoder 240 and output as a bitstream.

[0075] The modified reconstructed frame sent to memory 270 can be used as a reference frame in inter-frame predictor 221. When inter-frame prediction is applied through it, the encoding device can avoid prediction mismatch between the encoding device 200 and the decoding device, and can also improve encoding efficiency.

[0076] The DPB of memory 270 can store modified reconstructed frames for use as reference frames in inter-frame predictor 221. Memory 270 can store motion information of blocks in the current frame from which motion information is derived (or encoded) and / or of blocks in previously reconstructed frames. The stored motion information can be sent to inter-frame predictor 221 as motion information for spatial template regions or temporal template regions. Memory 270 can store reconstructed samples of reconstructed blocks in the current frame and send them to intra-frame predictor 222.

[0077] Figure 3 A schematic block diagram of a decoding device that can be implemented using embodiments of the present disclosure and performs decoding of video / image signals is shown.

[0078] Reference Figure 3 The decoding device 300 can 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-frame predictor 332 and an intra-frame predictor 331. The residual processor 320 may include a dequantizer 321 and an inverse transformer 322.

[0079] According to the implementation, the entropy decoder 310, residual processor 320, predictor 330, adder 340, and filter 350 described above can be configured by a single hardware component (e.g., a decoder chipset or processor). Additionally, the memory 360 may include a decoded screen buffer (DPB) and can be configured by a digital storage medium. The hardware component may also include the memory 360 as an internal / external component.

[0080] When the input includes a bitstream containing video / image information, the decoding device 300 can respond to... Figure 2 The encoding device processes video / image information to reconstruct the image. For example, the decoding device 300 can deduce units / blocks based on block segmentation information obtained from the bitstream. The decoding device 300 can perform decoding using processing units applied in the encoding device. Therefore, the decoding processing unit can be an encoding unit, and the encoding unit can be segmented from the encoding tree unit or a larger encoding unit according to a quadtree structure, binary tree structure, and / or ternary tree structure. At least one transform unit can be derived from the encoding unit. Furthermore, the reconstructed image signal decoded and output by the decoding device 300 can be played back by a playback device.

[0081] Decoding device 300 can receive data in bitstream form from... Figure 2The signal output by the encoding device can be decoded by the entropy decoder 310. For example, the entropy decoder 310 can parse the bitstream to derive the information (e.g., video / image information) required for image reconstruction (or picture reconstruction). The video / image information may also include information about various parameter sets such as Adaptive Parameter Set (APS), Picture Parameter Set (PPS), Sequence Parameter Set (SPS), or Video Parameter Set (VPS). In addition, the video / image information may also include general constraint information. The decoding device can also decode the picture based on the information about the parameter sets and / or general constraint information. The information and / or syntax elements that are signaled / received, as described later herein, can be decoded and obtained from the bitstream through the decoding process. For example, the entropy decoder 310 can decode the information in the bitstream based on encoding methods such as Exponential Golomb coding, CAVLC, CABAC, etc., and output the values ​​of the syntax elements required for image reconstruction and the quantized values ​​of the transform coefficients of the residuals. More specifically, the CABAC entropy decoding method can receive bins corresponding to each syntax element from the bitstream, determine a context model using information about the syntax element to be decoded, decoding information of surrounding blocks and the block to be decoded, or information about symbols / bins decoded in previous steps, perform arithmetic decoding of bins by predicting the occurrence probability of bins based on the determined context model, and generate symbols corresponding to the values ​​of each syntax element. In this case, after determining the context model, the CABAC entropy decoding method can update the context model by using information about the decoded symbols / bins for the context model of the next symbol / bin. Among the information decoded in the entropy decoder 310, information about prediction is provided to the predictors (inter-frame predictor 332 and intra-frame predictor 331), and the residual values ​​(i.e., quantization transform coefficients and related parameter information) from which entropy decoding has been performed in the entropy decoder 310 can be input to the residual processor 320. The residual processor 320 can derive residual signals (residual blocks, residual samples, residual sample arrays). In addition, information about filtering from the information decoded in the entropy decoder 310 can be provided to the filter 350. Furthermore, the receiving unit (not shown) that receives the signal output from the encoding device can be further configured as an internal / external component of the decoding device 300, or the receiving unit can be a component of the entropy decoder 310.

[0082] Furthermore, the decoding device according to this specification may be referred to as a video / image / screen decoding device, and the decoding device may be divided into an information decoder (video / image / screen information decoder) and a sample decoder (video / image / screen sample decoder). The information decoder may include an entropy decoder 310, and the sample decoder may include at least one of a dequantizer 321, an inverse transformer 322, an adder 340, a filter 350, a memory 360, an inter-frame predictor 332, and an intra-frame predictor 331.

[0083] Dequantizer 321 can dequantize the quantized transform coefficients and output the transform coefficients. Dequantizer 321 can rearrange the quantized transform coefficients into two-dimensional blocks. In this case, the rearrangement can be performed based on the coefficient scan order performed in the encoding device. Dequantizer 321 can perform dequantization on the quantized transform coefficients using quantization parameters (e.g., quantization step size information) and obtain the transform coefficients.

[0084] The inverse transformer 322 performs an inverse transformation on the transformation coefficients to obtain the residual signal (residual block, residual sample array).

[0085] Predictor 320 can perform prediction on the current block and generate a prediction block that includes prediction samples of the current block. Predictor 320 can determine whether to apply intra-frame prediction or inter-frame prediction to the current block based on the prediction information output from entropy decoder 310, and determine the specific intra-frame / inter-frame prediction mode.

[0086] Predictor 320 can generate prediction signals based on various prediction methods described later. For example, predictor 320 can not only apply intra-frame prediction or inter-frame prediction to predict a block, but can also apply intra-frame prediction and inter-frame prediction simultaneously. This can be referred to as the Inter-Frame Intra-Frame Combined Prediction (CIIP) mode. Alternatively, the predictor can predict blocks based on the Intra-Frame Block Copy (IBC) prediction mode, or it can predict blocks based on a palette mode. The IBC prediction mode or palette mode can be used for content image / video coding such as Screen Content Coding (SCC) in games, etc. IBC essentially performs prediction within the current frame, but it can be performed similarly to inter-frame prediction because it derives a reference block within the current frame. In other words, IBC can use at least one of the inter-frame prediction techniques described herein. The palette mode can be considered an example of intra-frame coding or intra-frame prediction. When the palette mode is applied, information about the palette table and palette index can be included in the video / image information and signaled.

[0087] Intra-predictor 331 can predict the current block by referencing samples within the current frame. Depending on the prediction mode, the referenced samples can be located near the current block or at a specific distance away. In intra-prediction, the prediction mode can include at least one non-directional mode and multiple directional modes. Intra-predictor 331 can determine the prediction mode applied to the current block by using the prediction mode applied to the template region.

[0088] Inter-frame predictor 332 can deduce the prediction block of the current block based on a reference block (reference sample array) to be specified by motion vectors on a reference frame. In this case, to reduce the amount of motion information to be transmitted in the inter-frame prediction mode, motion information can be predicted on a block, sub-block, or sample basis based on the correlation between the motion information between the template region and the current block. Motion information may include motion vectors and reference frame indices. Motion information may also include inter-frame prediction direction information (L0 prediction, L1 prediction, Bi prediction, etc.). For inter-frame prediction, the template region may include a spatial template region (spatial adjacent block) existing in the current frame and a temporal template region (temporal adjacent block) existing in the reference frame. For example, inter-frame predictor 332 can construct a motion information candidate list based on the template region and deduce the motion vector and / or reference frame index of the current block based on the received candidate selection information. Inter-frame prediction can be performed based on various prediction modes, and the prediction-related information may include information indicating the inter-frame prediction mode of the current block.

[0089] Adder 340 can add the obtained residual signal to the prediction signal (prediction block, prediction sample array) output from the predictor (including inter-frame predictor 332 and / or intra-frame predictor 331) to generate a reconstruction signal (reconstructed frame, reconstruction block, reconstruction sample array). When there is no residual for the block to be processed (similar to when a skip mode is applied), the prediction block can be used as a reconstruction block.

[0090] Adder 340 can be referred to as a reconstructor or reconstruction block generator. The generated reconstructed signal can be used for intra-frame prediction of the next block to be processed in the current frame, can be output through filtering as described later, or can be used for inter-frame prediction of the next frame. In addition, luminance mapping and chroma scaling (LMCS) can be applied in the frame decoding process.

[0091] Filter 350 can improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, filter 350 can generate a modified reconstructed image by applying various filtering methods to the reconstructed image and send the modified reconstructed image to memory 360 (specifically, the DPB of memory 360). Various filtering methods may include deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, etc.

[0092] The (modified) reconstructed frame stored in the DPB of memory 360 can be used as a reference frame in inter-frame predictor 332. Memory 360 can store motion information of blocks in the current frame from which motion information is derived (or decoded) and / or motion information of blocks in previously reconstructed frames. The stored motion information can be sent to inter-frame predictor 332 as motion information for spatial template regions or temporal template regions. Memory 360 can store reconstructed samples of reconstructed blocks in the current frame and send them to intra-frame predictor 331.

[0093] The embodiments described in this document in the filter 260, inter-frame predictor 221 and intra-frame predictor 222 of the encoding device 200 can also be applied equivalently or correspondingly to the filter 350, inter-frame predictor 332 and intra-frame predictor 331 of the decoding device 300, respectively.

[0094] Figure 4 An image decoding method performed by a decoding device 300 as an embodiment of the present disclosure is illustrated.

[0095] This disclosure relates to methods for efficiently using intra-prediction modes. Predefined intra-prediction modes in encoding and decoding devices may include non-directional modes such as planar modes and DC modes, as well as directional modes with a specific orientation (or angle). Generally, all predefined intra-prediction modes can be considered for each prediction unit (PU). However, when a large number of available intra-prediction modes exist (e.g., 67 or more), efficient encoding of specific intra-prediction modes is crucial.

[0096] In existing video compression systems such as VVC, to encode the intra prediction mode for each PU, intra prediction modes (i.e., MPM candidates) that are likely to occur for the current PU are predicted based on the intra prediction modes of neighboring PUs, thus encoding the intra mode for the current PU with a relatively small number of bits. If the intra prediction mode for the current PU is not among the MPM candidates, the best intra prediction mode is included in the remaining modes (i.e., the remaining modes) after excluding the MPM candidates. However, since the remaining modes are encoded using truncated binary coding (67 - the number of MPM candidates), relatively high signaling overhead may occur. This disclosure can efficiently define the number of intra prediction modes available for each PU by taking into account the statistical properties of the pre-reconstructed neighbor samples available for the intra prediction modes of each PU, thereby reducing the number of bits required to encode the intra prediction modes.

[0097] Reference Figure 4 This allows us to derive the non-candidate mode (S400) for the current block.

[0098] Implementation Method 1

[0099] To determine whether the distribution of pre-reconstructed sample values ​​belonging to neighboring regions of the current block is associated with a specific orientation, a predetermined filter (e.g., a differential filter) can be applied to the samples within the neighboring regions.

[0100] Specifically, predetermined filters can be applied to samples belonging to neighboring regions of the current block to derive the horizontal and vertical variations of the corresponding samples. Gradients (or angles) in the corresponding samples can be derived based on these horizontal and vertical variations. Predetermined amplitude values ​​can be assigned to the intra-prediction mode to which the gradient (or angle) is to be mapped. The intra-prediction mode to which the gradient is to be mapped can be the intra-prediction mode with the most similar orientation to the corresponding gradient. Amplitude values ​​can be derived based on horizontal and vertical variations. For example, the amplitude value can be defined as the sum of the amplitude of the horizontal variation and the amplitude of the vertical variation.

[0101] The aforementioned process can be performed while moving horizontally and / or vertically, targeting all or some samples within the adjacent regions of the current block. This allows the final accumulated magnitude value to be obtained for each intra-frame prediction mode.

[0102] Intra-prediction modes with an amplitude value equal to 0 can be identified as modes with low correlation to the current block. Such modes can be derived as non-candidate modes for the current block.

[0103] Alternatively, intra-prediction modes with amplitude values ​​less than or equal to a predetermined threshold can be identified as modes with low correlation to the current block. Such modes can be derived as non-candidate modes for the current block. Here, the threshold can be a fixed value defined in the same way in both the encoding and decoding devices. For example, the threshold could be 10. However, this is merely an example, and the threshold can be determined to be another value predefined in both the encoding and decoding devices. Alternatively, a flag or index used to specify the threshold can be explicitly signaled. The threshold can be adaptively determined based on the flag or index signaled.

[0104] Implementation Method 2

[0105] For each intra-prediction mode, the number of times the corresponding intra-prediction mode appears within a predetermined region can be counted. This allows for the configuration of a histogram representing the occurrence count of each intra-prediction mode. Based on the occurrence count of intra-prediction modes, it is possible to determine which intra-prediction mode is frequently selected or infrequently selected within the predetermined region. The predetermined region can refer to the frame, slice, or coding tree unit to which the current block belongs. Alternatively, the predetermined region can refer to the sequence to which the current block belongs.

[0106] Intra-prediction patterns with an occurrence count of 0 can be identified as patterns with low correlation to the current block. Such patterns can be deduced as non-candidate patterns for the current block.

[0107] Alternatively, an intra-prediction pattern that occurs a number of times less than or equal to a predetermined threshold can be identified as a pattern with low relevance to the current block. This pattern can be derived as a non-candidate pattern for the current block. Here, the threshold can be a fixed value defined in the same way in both the encoding and decoding devices. For example, the threshold could be 10. However, this is merely an example, and the threshold can be determined to be another value predefined in both the encoding and decoding devices. Alternatively, a flag or index used to specify the threshold can be explicitly signaled. The threshold can be adaptively determined based on the flag or index signaled.

[0108] A histogram representing the occurrence count of each intra-frame prediction pattern can be initialized in units of coding tree units, slices, frames, or sequences.

[0109] Reference Figure 4 The intra-prediction mode of the current block can be derived based on the non-candidate mode (S410).

[0110] When the distribution of sample values ​​in the adjacent regions of the current block does not show a specific directionality, intra-prediction modes that should be mapped to the corresponding directionality can be excluded from the candidate modes. In other words, since the distribution of sample values ​​in the adjacent regions of the current block does not show the directionality of the derived non-candidate modes, non-candidate modes can be excluded from the candidate modes of the current block.

[0111] For example, non-candidate patterns can be excluded from the most likely pattern (MPM) candidates.

[0112] Specifically, an MPM list can be constructed for the current block. The MPM list can include multiple MPM candidates. The MPM list can be constructed by including planar patterns or by excluding planar patterns. For example, when the MPM list includes planar patterns, the number of candidates in the MPM list can be six. On the other hand, when the MPM list does not include planar patterns, the number of candidates in the MPM list can be five.

[0113] MPM candidates can be derived based on at least one of the default mode, the neighbor mode, and the mode derived from the adjacent inter-frame mode (IPM mode). MPM candidates may also include modes that are adjacent to at least one of the pre-derived default mode, the neighbor mode, or the IPM mode (hereinafter referred to as the neighbor mode).

[0114] The default mode can be a predefined mode in the encoding and decoding devices. For example, the default mode can include at least one of the following: planar mode, DC mode, vertical mode, horizontal mode, or diagonal mode with a predetermined angle.

[0115] The neighbor pattern can be an intra-frame prediction pattern of neighboring blocks that are spatially adjacent to the current block. Here, the neighboring block can include at least one of the left neighboring block, the top neighboring block, the bottom left neighboring block, the top right neighboring block, or the top left neighboring block.

[0116] When neighboring blocks are encoded in inter-frame mode instead of intra-frame mode, and the location indicated by the motion vector of the corresponding neighboring block (i.e., the reference block of the corresponding neighboring block) is encoded in intra-frame mode, the intra-frame prediction mode of the reference block can be stored in the IPM buffer. The intra-frame prediction mode stored in the IPM buffer can be used as an MPM candidate.

[0117] It can be determined whether at least one of the aforementioned default mode, neighbor mode, IPM mode, or proximity mode is the same as a non-candidate mode. When it is the same as a non-candidate mode, the corresponding mode can be excluded from the MPM candidates. On the other hand, when it is different from a non-candidate mode, the corresponding mode can be deduced as an MPM candidate.

[0118] The intra-prediction mode of the current block can be derived based on any of the MPM candidates derived using the aforementioned method. To this end, the index for specifying any of the MPM candidates can be explicitly signaled.

[0119] For example, non-candidate patterns can be excluded from the auxiliary MPM candidates.

[0120] In the encoding and decoding devices, predefined intra-prediction modes can be categorized into a first group (or MPM list) including MPM candidates, a second group (or auxiliary MPM list) including secondary MPM candidates, and a third group including the remaining candidate modes. The MPM list can consist of six MPM candidates, and the auxiliary MPM list can consist of 16 secondary MPM candidates. Modes not belonging to the MPM candidates or auxiliary MPM candidates can be included in the remaining candidate modes.

[0121] A secondary MPM list can be constructed for the current block. The secondary MPM list can include multiple secondary MPM candidates. Secondary MPM candidates can be derived based on at least one of the following: default mode, neighbor mode, mode derived from adjacent inter-frame modes (IPM mode), or proximity mode. The default mode, neighbor mode, and IPM mode are described above. However, the secondary MPM list can be constructed by excluding MPM candidates that already belong to the MPM list.

[0122] It can be determined whether at least one of the default mode, neighbor mode, IPM mode, or proximity mode is the same as a non-candidate mode. When it is the same as a non-candidate mode, the corresponding mode can be excluded from the secondary MPM candidates. On the other hand, when it is different from a non-candidate mode, the corresponding mode can be deduced as a secondary MPM candidate.

[0123] The intra-prediction mode of the current block can be derived based on any of the secondary MPM candidates derived using the aforementioned method. To this end, the index for specifying any of the secondary MPM candidates can be explicitly signaled.

[0124] For example, the intra-prediction mode of the current block can be derived as any of the remaining mode candidates. Here, the remaining mode candidates can be defined as the remaining modes among the predefined intra-prediction modes in the encoding and decoding devices, excluding MPM candidates and non-candidate modes. Information indicating any of the remaining mode candidates can be explicitly signaled, and any of the remaining mode candidates can be selected based on the signaled information. In this case, the signaled information can be encoded based on the remaining modes among the predefined intra-prediction modes, excluding MPM candidates and non-candidate modes.

[0125] Alternatively, the intra-prediction mode of the current block can be derived as any of the remaining mode candidates. Here, the remaining mode candidates can be defined as the remaining modes among the predefined intra-prediction modes in the encoding and decoding devices, excluding MPM candidates, secondary MPM candidates, and non-candidate modes. Information about any of the remaining mode candidates can be explicitly indicated by a signal, and any of the remaining mode candidates can be selected based on the information indicated by the signal. In this case, the information indicated by the signal can be encoded based on the remaining modes among the predefined intra-prediction modes, excluding MPM candidates, secondary MPM candidates, and non-candidate modes.

[0126] For example, it can be configured to ensure that non-candidate patterns are not included in the MPM candidates and the remaining pattern candidates. Alternatively, when secondary MPM candidates are defined, it can be configured to ensure that non-candidate patterns are not included in the MPM candidates, secondary MPM candidates, and the remaining pattern candidates.

[0127] The effect of excluding non-candidate modes can be as follows. Here, the number of intra-prediction modes allowed in a video coding system is defined as T. In VVC, 67 intra-prediction modes are defined, and in this case, the value of T is 67. If more intra-prediction modes are defined than in VVC, then T can be a value greater than 67.

[0128] The MPM list can be constructed to ensure that non-candidate modes are not included in the MPM candidates. Therefore, the MPM list can be constructed using intra-predictive modes that can be predicted more accurately.

[0129] The supplementary MPM list can be constructed to ensure that non-candidate modes are not included in the supplementary MPM candidates. Therefore, the supplementary MPM list can be constructed using intra-frame prediction modes that can be predicted more accurately.

[0130] Since non-candidate modes are excluded from the remaining mode candidates, the number of remaining mode candidates can be reduced to (number of T-MPM candidates - number of non-candidate modes). Alternatively, when secondary MPM candidates are defined, the number of remaining mode candidates can be reduced to (number of T-MPM candidates - number of secondary MPM candidates - number of non-candidate modes). This can reduce the complexity of the coding device and the signaling overhead of intra-frame prediction modes.

[0131] The modes available for the current block can be the remaining modes after excluding N modes from the predefined intra-prediction modes in the encoding and decoding devices. In other words, the N modes can be modes that are unavailable for the current block. Unavailable modes can include at least one of the aforementioned non-candidate modes. The intra-prediction mode of the current block can be derived as any of the remaining modes after excluding the N modes. N can be a predefined value in the encoding and decoding devices. For example, N can be an integer of 1, 2, 3, 4, or larger.

[0132] When the number of non-candidate modes derived for the current block exceeds N, N non-candidate modes among the derived non-candidate modes, based on a predetermined priority, can be selected as unavailable modes. Here, the priority can be a predefined order in the encoding and decoding devices. For example, the priority can be 2, 66, 8, 28, 40, 60, ...

[0133] When the number of non-candidate modes derived for the current block is L and L is less than N, (NL) modes can be derived as unavailable modes according to predefined priorities in the encoding and decoding devices. For example, the priorities can be 2, 66, 8, 28, 40, 60, ...

[0134] When the number of non-candidate modes derived for the current block is L and L is less than N, the top (NL) intra-prediction modes in ascending order of magnitude value among the remaining modes excluding non-candidate modes from the predefined intra-prediction modes can be derived as non-candidate modes or unavailable modes.

[0135] The number of unavailable modes (N) can be adaptively determined based on the size of the current block. For example, N could be 4 if the product of the width and height of the current block is less than 64, and 8 otherwise. The number of modes excluded based on block size is just an example. In other words, different values ​​of N and / or different conditions predefined in the encoding and decoding devices can also be used.

[0136] Reference Figure 4 It can generate a prediction block for the current block based on the intra-prediction mode of the current block (S420).

[0137] The prediction samples for the current block can be derived based on the intra-prediction mode of the current block and the reference samples belonging to a predetermined reference sample row.

[0138] Reference Figure 4 The current block can be reconstructed based on the predicted block of the current block (S430).

[0139] Transform coefficients can be derived based on residual information signaled via a bitstream. Residual blocks can be generated by applying at least one of dequantization or inverse transform to the derived transform coefficients. Reconstructed blocks of the current block can be generated based on the predicted block and the residual block of the current block.

[0140] Figure 5 An illustrative configuration of a decoding device 300 performing a decoding method according to the present disclosure is shown.

[0141] Reference Figure 5 The decoding device 300 may include a pattern deducer 500, a prediction block generator 510, and a reconstructor 520. The pattern deducer 500 and the prediction block generator 510 may be equipped with… Figure 3 The intra-frame predictor 331.

[0142] The pattern deducer 500 can perform the process of deriving non-candidate patterns according to S400. Additionally, the pattern deducer 500 can perform the process of deriving intra-frame prediction patterns according to S410. The prediction block generator 510 can perform the process of generating prediction blocks according to S420. The reconstructor 520 can perform the process of reconstructing the current block according to S430.

[0143] Figure 6 An encoding method performed by the encoding device 200 as an embodiment of the present disclosure is illustrated.

[0144] The non-candidate pattern for the current block can be derived (S600). The method and reference for deriving the non-candidate pattern are as follows. Figure 4 The descriptions are the same.

[0145] The intra-prediction mode for the current block can be derived based on the non-candidate mode derived in S600 (S610). The method and reference for deriving the intra-prediction mode are as follows. Figure 4 The descriptions are the same.

[0146] The prediction block for the current block can be generated based on the intra-prediction mode derived in S610 (S620).

[0147] The transform coefficients of the current block can be derived based on the residual block of the current block (S630). The residual block of the current block can be generated based on the prediction block generated in S620. The transform coefficients can be derived by performing at least one of transformation or quantization on the residual block.

[0148] The residual information associated with the transform coefficients of the current block can be encoded to generate a bit stream (S640).

[0149] Figure 7 An illustrative configuration of an encoding device 200 performing an encoding method according to the present disclosure is shown.

[0150] Reference Figure 7 The encoding device 200 may include a pattern deducer 700, a prediction block generator 710, a transform coefficient deducer 720, and a residual information encoder 730.

[0151] The pattern deducer 700 and the prediction block generator 710 can be equipped with Figure 2 The intra-frame predictor 222. The transform coefficient derivator 720 may be equipped with... Figure 2 The residual processor 230. The residual information encoder 730 may be equipped with an entropy encoder 240.

[0152] The pattern deducer 700 can perform the process of deriving non-candidate patterns according to S600. Additionally, the pattern deducer 700 can perform the process of deriving intra-frame prediction patterns according to S610. The prediction block generator 710 can perform the process of generating prediction blocks according to S620. The transform coefficient deducer 720 can perform the process of deriving transform coefficients according to S630. The residual information encoder 730 can perform the process of encoding residual information according to S640.

[0153] In the above embodiments, the method is described based on a flowchart as a series of steps or blocks. However, the corresponding embodiments are not limited to this order of steps. Some steps may occur simultaneously with other steps or in a different order, as described above. In addition, those skilled in the art will understand that the steps shown in the flowchart are not exclusive. Other steps may be included, or one or more steps in the flowchart may be deleted, without affecting the scope of the embodiments of this disclosure.

[0154] The methods described above according to embodiments of the present disclosure can be implemented in software, and the encoding and / or decoding devices according to the present disclosure can be included in an apparatus for performing image processing, such as a TV, computer, smartphone, set-top box, display device, etc.

[0155] In this disclosure, when the implementation is implemented as software, the above-described method can be implemented as a module (process, function, etc.) performing the above-described functions. The module can be stored in memory and can be executed by a processor. The memory can be internal or external to the processor and can be connected to the processor by various well-known means. The processor may include an application-specific integrated circuit (ASIC), another chipset, logic circuitry, and / or data processing devices. The memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory cards, storage media, and / or other storage devices. In other words, the implementations described herein can be executed by implementation on a processor, microprocessor, controller, or chip. For example, the functional units shown in the various figures can be executed by implementation on a computer, processor, microprocessor, controller, or chip. In this case, information for implementation (e.g., information about instructions) or algorithms can be stored in a digital storage medium.

[0156] Furthermore, decoding and encoding devices employing embodiments of this disclosure can be included in multimedia broadcasting transmitting and receiving devices, mobile communication terminals, home theater video devices, digital cinema video devices, surveillance cameras, video conferencing devices, real-time communication devices similar to video communication, mobile streaming devices, storage media, cameras, devices for providing video-on-demand (VOD) services, OTT (over-the-top) video devices, devices for providing internet streaming services, three-dimensional (3D) video devices, virtual reality (VR) devices, augmented reality (AR) devices, video telephony devices, transportation terminals (e.g., vehicle (including autonomous vehicle) terminals, aircraft terminals, ship terminals, etc.), and medical video devices, and can be used to process video signals or data signals. For example, OTT (over-the-top) video devices can include game consoles, Blu-ray players, internet-connected televisions, home theater systems, smartphones, tablet PCs, digital video recorders (DVRs), etc.

[0157] Furthermore, the processing methods applying the embodiments of this disclosure can be generated in the form of a computer-executable program and can be stored in a computer-readable recording medium. Multimedia data with data structures according to the embodiments of this disclosure can also be stored in a computer-readable recording medium. Computer-readable recording media include all types of storage devices and distributed storage devices that store computer-readable data. Computer-readable recording media can include, for example, Blu-ray discs (BD), Universal Serial Bus (USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, magnetic tape, floppy disks, and optical media storage devices. Additionally, computer-readable recording media include media implemented in the form of carrier waves (e.g., transmission via the Internet). Furthermore, bitstreams generated by encoding methods can be stored in computer-readable recording media or transmitted via wired / wireless communication networks.

[0158] Furthermore, the embodiments of this disclosure can be implemented by a computer program product using program code, and the program code can be executed on a computer using the embodiments of this disclosure. The program code can be stored on a computer-readable medium.

[0159] Figure 8 An example of a content streaming system to which embodiments of the present disclosure can be applied is shown.

[0160] Reference Figure 8 A content streaming system that applies embodiments of the present disclosure may generally include an encoding server, a streaming server, a network server, a media storage device, a user device, and a multimedia input device.

[0161] An encoding server generates a bitstream by compressing content input from multimedia input devices such as smartphones, cameras, and camcorders into digital data and then sends it to a streaming server. As another example, when multimedia input devices such as smartphones, cameras, and camcorders directly generate bitstreams, the encoding server can be omitted.

[0162] A bitstream can be generated by an encoding method or bitstream generation method that applies the embodiments of this disclosure, and the streaming server can temporarily store the bitstream during the sending or receiving of the bitstream.

[0163] A streaming server sends multimedia data to a user device via a web server based on a user request, and the web server acts as a medium to inform the user what services are available. 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 sends the multimedia data to the user. In this scenario, the content streaming system may include a separate control server, which controls the commands / responses between the various devices in the content streaming system.

[0164] A streaming server can receive content from media storage and / or encoding servers. For example, when receiving content from an encoding server, the content can be received in real time. In this case, to provide a smooth streaming service, the streaming server can store the bitstream for a specific time period.

[0165] Examples of user devices may include mobile phones, smartphones, laptops, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigators, touchscreen PCs, tablet PCs, ultrabooks, wearable devices (e.g., smartwatches, smart glasses, head-mounted displays (HMDs)), digital TVs, desktop computers, digital signage, etc.

[0166] In a content streaming system, each server can operate as a distributed server, and in this case, the data received from each server can be distributed and processed.

[0167] The claims set forth herein can be combined in various ways. For example, the technical features of the method claims of this disclosure can be combined and implemented as an apparatus, and the technical features of the apparatus claims of this disclosure can be combined and implemented as a method. Furthermore, the technical features of the method claims and the apparatus claims of this disclosure can be combined and implemented as an apparatus, and the technical features of the method claims and the apparatus claims of this disclosure can be combined and implemented as a method.

Claims

1. A method comprising the following steps: Derive the non-candidate patterns for the current block; The intra-prediction mode of the current block is derived based on the non-candidate mode; The prediction block for the current block is generated based on the intra-frame prediction mode; as well as The current block is reconstructed based on the predicted block.

2. The method according to claim 1, wherein, The steps for deriving the non-candidate mode include: obtaining an amplitude value for the intra-prediction mode by applying a predetermined filter to samples belonging to the neighboring regions of the current block.

3. The method according to claim 2, wherein, Intra-prediction modes with amplitude values ​​equal to 0 are derived as the non-candidate modes.

4. The method according to claim 2, wherein, Intra-prediction modes with amplitude values ​​less than or equal to a predetermined threshold are derived as the non-candidate modes.

5. The method according to claim 1, wherein, The steps for deriving the non-candidate modes include: counting the number of occurrences of each intra-frame prediction mode within a predetermined region.

6. The method according to claim 5, wherein, Intra-prediction patterns with an occurrence count equal to 0 are deduced as the non-candidate patterns.

7. The method according to claim 5, wherein, Intra-prediction patterns that occur a number of times less than or equal to a predetermined threshold are deduced as the non-candidate patterns.

8. The method according to claim 1, wherein, The non-candidate patterns are excluded from the MPM candidates.

9. The method according to claim 1, wherein, The non-candidate patterns are excluded from the auxiliary MPM candidates.

10. The method according to claim 1, wherein, The intra-prediction mode of the current block is derived as any of the remaining mode candidates, and The remaining mode candidates are the modes in the predefined intra-prediction modes that exclude MPM candidates and non-candidate modes.

11. The method according to claim 1, wherein, The intra-prediction mode of the current block is derived as any one of the remaining modes among the predefined intra-prediction modes that exclude a predetermined number of unavailable modes.

12. The method according to claim 11, wherein, The number of unavailable modes is variably determined based on the size of the current block.

13. A method comprising the following steps: Derive the non-candidate patterns for the current block; The intra-prediction mode of the current block is derived based on the non-candidate mode; The prediction block for the current block is generated based on the intra-frame prediction mode; Generate a residual block for the current block based on the predicted block of the current block; The transformation coefficients of the current block are derived based on the residual block; as well as The residual information associated with the transformation coefficients is encoded.

14. A computer-readable storage medium storing a bit stream generated by the method according to claim 13.

15. A method comprising the following steps: Obtain a bitstream of image information, wherein the bitstream is generated based on the following steps: deriving a non-candidate mode for the current block; deriving an intra-prediction mode for the current block based on the non-candidate mode; generating a prediction block for the current block based on the intra-prediction mode; generating a residual block for the current block based on the prediction block; deriving transform coefficients for the current block based on the residual block; and encoding residual information related to the transform coefficients; and Send data including the bit stream.