KR20120129726A - Methods of decoding intra prediction mode and decoder - Google Patents
Methods of decoding intra prediction mode and decoder Download PDFInfo
- Publication number
- KR20120129726A KR20120129726A KR1020110065211A KR20110065211A KR20120129726A KR 20120129726 A KR20120129726 A KR 20120129726A KR 1020110065211 A KR1020110065211 A KR 1020110065211A KR 20110065211 A KR20110065211 A KR 20110065211A KR 20120129726 A KR20120129726 A KR 20120129726A
- Authority
- KR
- South Korea
- Prior art keywords
- prediction unit
- intra prediction
- prediction mode
- current
- intra
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/13—Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
The present invention relates to an intra prediction mode decoding method and a decoding apparatus, and more particularly, to a decoding method and apparatus.
Recently, the demand for high resolution and high quality images such as high definition (HD) image and ultra high definition (UHD) image is increasing in various applications. As the video data becomes higher resolution and higher quality, the amount of data increases relative to the existing video data. Therefore, when the video data is transmitted or stored using a medium such as a conventional wired / wireless broadband line, The storage cost will increase. High-efficiency image compression techniques can be utilized to solve such problems as image data becomes high-resolution and high-quality.
An inter picture prediction technique for predicting a pixel value included in a current picture from a previous or a subsequent picture of a current picture using an image compression technique, an intra picture prediction technique for predicting a pixel value included in a current picture using pixel information in the current picture, There are various techniques such as an entropy encoding technique in which a short code is assigned to a value having a high appearance frequency and a long code is assigned to a value having a low appearance frequency. Image data can be effectively compressed and transmitted or stored using such an image compression technique.
A first object of the present invention is to provide an intra prediction mode decoding method for increasing image coding efficiency.
It is also a second object of the present invention to provide an apparatus for performing an intra prediction mode decoding method to increase image encoding efficiency.
An intra prediction mode decoding method according to an aspect of the present invention for achieving the first object of the present invention described above provides intra prediction information of the current prediction unit from the neighboring prediction unit of the current prediction unit based on predetermined flag information. And receiving the prediction block of the current prediction unit based on the receiving and the intra prediction information of the current prediction unit. The predetermined flag information includes identity indication flag information indicating whether a first intra prediction mode of the current prediction unit and a second intra prediction mode of the current block provided from the neighboring prediction unit are the same, and the first intra prediction mode. May be the same position indication flag information indicating whether a first intra prediction mode provided from any neighboring prediction unit of the neighboring prediction units is the same as a second intra prediction mode of the current prediction unit. The predetermined flag information may include the second intra prediction mode of the first intra prediction mode when the first intra prediction mode of the current prediction unit and the second intra prediction mode of the current prediction unit are not the same. Similar first intra prediction mode information serving as a reference for calculating the difference information with and intra prediction mode difference information indicating a difference between the similar first intra prediction mode and the second intra prediction mode. The intra prediction mode difference information is assigned to the intra prediction mode having the largest angle in the clockwise direction with respect to the vertical intra prediction mode, the smallest value in the constant integer range, and the largest in the counterclockwise direction with respect to the horizontal intra prediction mode. The second intra prediction mode value may be subtracted from the reallocated first intra prediction mode value by allocating the largest value in the constant integer range to the intra prediction mode having an angle. The intra prediction mode difference information is assigned to the intra prediction mode having the largest angle in the counterclockwise direction with respect to the horizontal intra prediction mode, and assigns the smallest value in the constant integer range and the largest angle in the clockwise direction with respect to the vertical intra prediction mode. It may be a value obtained by subtracting the reassigned second intra prediction mode value from the reassigned first intra prediction mode value by allocating the largest value in a predetermined integer range to the intra prediction mode having. The neighboring prediction unit may be at least one prediction unit among at least one prediction unit among the top neighbor prediction units positioned at the top of the current prediction unit and at least one prediction unit among the left neighbor prediction units located to the left of the current prediction unit. The neighboring prediction unit may include at least one prediction unit among a prediction unit existing at the same position as the current prediction unit existing in the previous frame of the frame including the current prediction unit and a neighboring prediction unit located at the top right of the current prediction unit. It may further include. The neighboring prediction unit may be a prediction unit located at the top of the left neighboring prediction unit of the current prediction unit and a top neighboring prediction unit of the current prediction unit. The neighboring prediction unit is the prediction unit located at the bottom of the left neighboring prediction unit of the current prediction unit and the rightmost prediction unit located at the top of the top neighboring prediction unit of the current prediction unit, or the largest left neighboring prediction unit of the current prediction unit. It may be the largest prediction unit of the prediction unit and the top peripheral prediction unit of the current prediction unit. The neighboring prediction unit is characterized in that predicted in the intra prediction mode, when the neighboring prediction unit is not available when the intra prediction mode of the unavailable neighboring prediction unit in the DC mode, or at least one neighboring prediction unit is available The same mode as the intra prediction mode of the at least one neighboring prediction unit available may be used as the intra prediction mode of the unavailable neighboring prediction unit. The current prediction unit may be further divided into a plurality of prediction units.
In addition, the decoder according to an aspect of the present invention for achieving the above-described second object of the present invention decodes the predetermined flag information to provide the intra prediction information of the current prediction unit and the current provided by the entropy decoder The intra prediction unit may be configured to generate the prediction block of the current prediction unit based on the intra prediction information of the prediction unit. The predetermined flag information includes identity indication flag information indicating whether a first intra prediction mode of the current prediction unit and a second intra prediction mode of the current block provided from the neighboring prediction unit are the same, and the first intra prediction mode. May be the same position indication flag information indicating whether a first intra prediction mode provided from any neighboring prediction unit of the neighboring prediction units is the same as a second intra prediction mode of the current prediction unit. The predetermined flag information may include the second intra prediction mode of the first intra prediction mode when the first intra prediction mode of the current prediction unit and the second intra prediction mode of the current prediction unit are not the same. Similar first intra prediction mode information serving as a reference for calculating the difference information with and intra prediction mode difference information indicating a difference between the similar first intra prediction mode and the second intra prediction mode. The intra prediction mode difference information is assigned to the intra prediction mode having the largest angle in the clockwise direction with respect to the vertical intra prediction mode, the smallest value in the constant integer range, and the largest in the counterclockwise direction with respect to the horizontal intra prediction mode. The second intra prediction mode value may be subtracted from the reallocated first intra prediction mode value by allocating the largest value in the constant integer range to the intra prediction mode having an angle. The intra prediction mode difference information is assigned to the intra prediction mode having the largest angle in the counterclockwise direction with respect to the horizontal intra prediction mode, and assigns the smallest value in the constant integer range and the largest angle in the clockwise direction with respect to the vertical intra prediction mode. It may be a value obtained by subtracting the reassigned second intra prediction mode value from the reassigned first intra prediction mode value by allocating the largest value in a predetermined integer range to the intra prediction mode having. The neighboring prediction unit may be at least one prediction unit among at least one prediction unit among the top neighbor prediction units positioned at the top of the current prediction unit and at least one prediction unit among the left neighbor prediction units located to the left of the current prediction unit. The neighboring prediction unit may include at least one prediction unit among a prediction unit existing at the same position as the current prediction unit existing in the previous frame of the frame including the current prediction unit and a neighboring prediction unit located at the top right of the current prediction unit. It may further include. The neighboring prediction unit is a prediction unit located at the top of the left neighboring prediction unit of the current prediction unit and a prediction unit located at the leftmost of the top neighboring prediction unit of the current prediction unit, or at the bottom of the left neighboring prediction unit of the current prediction unit. The rightmost prediction unit located among the prediction units located and the top neighbor prediction unit of the current prediction unit, or the largest prediction unit among the largest prediction unit among the left prediction units of the current prediction unit and the top neighbor prediction unit of the current prediction unit. Can be. The current prediction unit may be further divided into a plurality of prediction units.
As described above, according to the intra prediction mode decoding method and decoding apparatus according to an embodiment of the present invention, the current prediction unit is received by receiving intra prediction information of the current prediction unit from the neighboring prediction unit of the current prediction unit based on the predetermined flag information. Generate a predictive block of. Therefore, the intra prediction mode of the current prediction unit can be encoded with a small number of bits, thereby improving the coding efficiency.
1 is a block diagram illustrating an encoding apparatus according to an embodiment of the present invention.
2 is a block diagram schematically illustrating a configuration of an intra prediction unit according to an embodiment of the present invention.
3 is a block diagram of a decoding apparatus according to an embodiment of the present invention.
4 is a conceptual diagram illustrating an intra prediction mode according to an embodiment of the present invention.
5 is a conceptual diagram illustrating a method of encoding an intra prediction mode of a current block according to an embodiment of the present invention.
6 is a conceptual diagram illustrating an intra prediction mode encoding method according to an embodiment of the present invention.
7 is a conceptual diagram illustrating a case where a current block is located at a boundary of a slice in the intra prediction mode encoding method according to an embodiment of the present invention.
8 is a conceptual diagram illustrating a case where a current block is located at a slice boundary in an intra prediction mode encoding method according to an embodiment of the present invention.
9 is a conceptual diagram illustrating a case where a size of a neighboring block and a current block of a current block is different according to an embodiment of the present invention.
10 is a conceptual diagram illustrating a case where a size of a neighboring block of a current block is larger than a size of a current block according to an embodiment of the present invention.
11 is a conceptual diagram illustrating an intra prediction mode encoding method according to an embodiment of the present invention.
12 is a conceptual diagram illustrating an intra prediction mode encoding method according to an embodiment of the present invention.
13 is a conceptual diagram illustrating a method of calculating an intra prediction mode according to an embodiment of the present invention.
14 is a conceptual diagram illustrating an intra prediction mode encoding method according to another embodiment of the present invention.
15 is a flowchart illustrating a method of decoding an intra prediction mode according to another embodiment of the present invention.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals are used for like elements in describing each drawing.
The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.
It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.
The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.
Hereinafter, preferred embodiments of the present invention 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 duplicate descriptions of the same components are omitted.
1 is a block diagram illustrating an encoding apparatus according to an embodiment of the present invention.
Referring to FIG. 1, the video encoding apparatus includes a
The current picture is input to the
In the inter prediction mode, the
The
In addition, the
The motion information is entropy coded to form a compressed bit stream and is transmitted from the video encoding apparatus to the video decoding apparatus.
In the intra prediction mode, the
2 is a block diagram schematically illustrating a configuration of an intra prediction unit according to an embodiment of the present invention.
Referring to FIG. 2, the intra predictor includes a
The
The intra
The intra prediction mode determiner may predict and encode an intra mode of the current block based on intra prediction mode information of neighboring blocks of the current block.
Hereinafter, in the embodiment of the present invention, the neighboring block is a block spatially adjacent to the current block and refers to a block located on the left side of the current block and a block located on the top of the current block, and the current block predicted based on the intra prediction mode of the neighboring block. The intra prediction mode of is defined as a term of a first intra prediction mode, and the actual intra prediction mode of a current block calculated by a predetermined formula or function, such as a cost function, is defined as a term of a second intra prediction mode.
In the intra prediction mode encoding method according to an embodiment of the present invention, binary flag information (hereinafter referred to as identity indication flag information) indicating whether or not the same as the first intra prediction mode that is the intra prediction mode of the neighboring block of the current block is used. When the first intra prediction mode has a plurality of values of the second intra prediction mode information of the current block, whether the second intra prediction mode of the current block is the same as the intra prediction mode of the left neighboring block among the values of the first intra prediction mode. Alternatively, whether the same as the intra prediction mode of the upper neighboring block may be displayed using additional binary flag information (hereinafter, referred to as the same block indication flag information).
If the first intra prediction mode has a plurality of values, whether the second intra prediction mode of the current block is the same as the intra prediction mode of the left neighboring block among the values of the first intra prediction mode, or the intra prediction of the upper neighboring block. Whether it is the same as the mode can be displayed using additional binary flag information (hereinafter, the same position block display flag information).
The following various methods may be used to calculate the first intra prediction mode.
If there is a block smaller than the size of the current block as a neighboring block of the current block, the first intra prediction mode is performed in the topmost block among the left neighboring blocks of the current block and the leftmost block among the top neighboring blocks of the current block. By calculating, it may be determined whether it is the same as the second intra prediction mode of the current intra block (hereinafter, referred to as a basic candidate block setting method). Hereinafter, in the embodiment of the present invention, the neighboring block for calculating the first intra prediction mode is called a first intra prediction mode candidate block.
In a particular case, the first intra prediction mode candidate block may set the first intra prediction mode candidate block by setting a block located at the bottom of the left neighboring blocks of the current block and the rightmost block in the top neighboring block of the current block as the first intra prediction mode candidate block. It may be determined whether the intra prediction mode of the prediction mode candidate block is the same as the second intra prediction mode of the current block (hereinafter, referred to as a first candidate block setting method). When the block located at the lower left and the upper right is used as the first intra prediction mode candidate block, separate information indicating that the block at the lower left and upper right is used as the first intra prediction mode candidate block (hereinafter, reconfigured the first candidate block). Flag) may be additionally transmitted to use a block located at the lower left and the upper right as the first intra prediction mode candidate block.
Further, in a particular case, taking the right side of FIG. 9 as an example, the second intra of the current intra block is set by setting the largest block among the left neighboring blocks of the current block and the largest block among the upper neighboring blocks of the current block to the first intra prediction mode. It may be determined whether the prediction mode is the same (hereinafter, referred to as a second candidate block setting method).
The intra prediction mode of the three neighboring blocks located around the current block and the intra prediction mode of the colocated block existing at the same position as the current block located in the previous frame of the frame in which the current block is located are selected as the first intra prediction mode candidate block. Can be used as
In other words, intra prediction of the left neighboring block, the upper neighboring block, the upper right neighboring block, which are spatial neighboring blocks located near the current block, and the temporal neighboring block existing at the same position as the current block existing in the previous frame of the current block. The mode may be a first intra prediction mode.
The
The prediction mode information is entropy coded to form a compressed bit stream together with image data and the like, and is transmitted from the video encoding apparatus to the video decoding apparatus. The video decoding apparatus uses the prediction mode information when generating an intra prediction block.
Referring back to FIG. 1, a difference block is generated by a difference between a prediction target block and a prediction block generated in an inter or intra prediction mode, which is input to the
The transform block having the transform unit has a quad tree structure within the maximum and minimum sizes, and thus is not dependent on a predetermined size. Each transform block has a flag indicating whether the current block is divided into sub-blocks. If the indicator has a value of 1, the current transform block can be divided into four sub-blocks of the same size. have. Discrete Cosine Transform (DCT) can be used for the transformation.
The
The
The
The
The
The
The
3 is a block diagram of a decoding apparatus according to an embodiment of the present invention.
Referring to FIG. 3, the video decoding apparatus includes an
The
In addition, the
The entropy-decoded and re-transformed transform coefficients are input to the
The difference block may be combined with the prediction block generated by the
The
The
4 is a conceptual diagram illustrating an intra prediction mode according to an embodiment of the present invention.
Referring to FIG. 4, the current prediction unit may have an intra prediction mode from 1 to 33 as an intra prediction mode. The number of intra prediction modes for generating the prediction block may vary depending on the size of the prediction unit. That is, the type of intra prediction mode used may vary according to the size of the prediction unit.
Hereinafter, the term flag information used in the embodiment of the present invention is a value used for displaying predetermined information during encoding and decoding. In the following embodiment of the present invention, a binary value is assumed, but it is different from the nature of the present invention. Unless a binary number is used, it can be represented using a means other than binary.
In addition, when the left peripheral prediction unit used in the embodiment of the present invention is referred to as the point located on the leftmost top of the current prediction unit, it refers to a prediction unit including a point of position, and the upper peripheral prediction unit indicates a point of position. The upper left prediction unit refers to a prediction unit that includes the prediction unit, and refers to a prediction unit including a point of position when referring to the size of the axial prediction unit.
5 is a conceptual diagram illustrating a method of encoding an intra prediction mode of a current prediction unit according to an embodiment of the present invention.
Hereinafter, in the intra prediction mode encoding method, the intra prediction mode of the
Hereinafter, in an embodiment of the present invention, the neighboring prediction unit is a prediction unit spatially adjacent to the current prediction unit and refers to a prediction unit located on the left side of the current prediction unit and a prediction unit located on the top of the current prediction unit, and includes the neighboring
Referring to FIG. 5, the first intra prediction mode of the
In the intra prediction mode encoding method according to an embodiment of the present invention, the intra prediction mode of at least one neighboring prediction unit among the intra prediction modes of the neighboring
When the intra prediction modes of the left
For example, if the first intra prediction mode of the upper
The decoding unit generates intra prediction mode information of neighboring
If the second intra prediction mode of the
Table 1 below shows a rearrangement
The difference value information between the pseudo first intra prediction mode and the second intra prediction mode may be generated and encoded through the rearranged intra prediction mode table.
6 is a conceptual diagram illustrating an intra prediction mode encoding method according to an embodiment of the present invention.
Referring to the left side of FIG. 6, the intra prediction mode of the left
Referring to Table 1, since intra
6, the intra prediction mode of the upper
Since there are a plurality of first intra prediction modes of the
Since
The decoder may know the intra prediction mode of the current block by using the pseudo first intra prediction mode information and the intra prediction mode difference information transmitted from the encoder, and generate the prediction block.
In the intra prediction mode encoding method according to an embodiment of the present invention, as shown in Table 2 below, in contrast to the rearrangement order of Table 1, 0 is mapped to
In the above-described intra prediction mode encoding method according to the embodiment of the present invention, it is assumed that all of the prediction units exist around the current prediction unit, but when the current prediction unit is located at the boundary of the slice, at least one of the neighboring prediction units is available. You can't.
7 is a conceptual diagram illustrating a case where a current prediction unit is located at a boundary of a slice in the intra prediction mode encoding method according to an embodiment of the present invention.
Referring to FIG. 7, the
If the current prediction unit is located at the top of the slice and there is no upper neighboring block, the intra prediction mode of the nonexistent upper block may be assumed to be a DC mode among the intra prediction modes, and the first intra prediction mode of the current block may be calculated. have. Even if the current prediction unit is located on the left side of the slice and the upper neighboring prediction unit does not exist, the intra prediction mode of the left neighboring prediction unit that does not exist equally is assumed to be a DC mode among the intra prediction modes, and the first intra of the current prediction unit is present. The prediction mode can be calculated. In addition, when the current prediction unit is located at the upper left of the slice so that the upper neighboring prediction unit and the left neighboring prediction unit are not located, the intra prediction modes of the upper neighboring prediction unit and the left neighboring prediction unit are both assumed to be DC modes. The first intra prediction mode of may be calculated. In the intra prediction mode encoding method according to an embodiment of the present invention, in the case of the intra prediction mode in which the current prediction unit is located at the slice boundary and does not exist as in the above-described method, the DC prediction mode may be assumed. If any one exists, the intra prediction mode of the current prediction unit may be generated using the intra prediction mode of the available neighboring prediction unit.
Similarly, even when the neighboring block of the current prediction unit is not available, the decoder may also assume the DC mode and generate the first intra prediction mode of the current prediction unit.
8 is a conceptual diagram illustrating a case where a current prediction unit is located at a slice boundary in an intra prediction mode encoding method according to an embodiment of the present invention.
Referring to FIG. 8, the left side 800 of FIG. 8 indicates when the current prediction unit is located at the top of the slice and there is no top peripheral prediction unit. In this case, the intra prediction mode of the top peripheral prediction unit that does not exist is present. A first intra prediction mode may be generated assuming an intra prediction mode of a left neighboring prediction unit of the prediction unit. In addition, the right 810 of FIG. 8 may include a current prediction unit located on the left side of the slice, If not present, the first intra prediction mode may be generated by assuming that the intra prediction mode of the left prediction unit that does not exist is the intra prediction mode of the upper peripheral prediction unit.
In the decoder, similarly to the encoder, when the neighboring prediction unit of one of the neighboring prediction units of the current prediction unit is not available, the intra prediction mode of the neighboring prediction unit that does not use the first intra prediction mode of another neighboring prediction unit is available. Can be assumed and used.
In the intra prediction mode encoding method described above with reference to FIGS. 5 to 8, it is assumed that the size of the neighboring prediction unit of the current prediction unit is the same as the size of the current prediction unit. However, since the size of the prediction mode is different, the neighbor prediction of the current prediction unit is different. There are many cases where the size of the unit is not the same as the size of the current prediction unit.
9 is a conceptual diagram illustrating a case where a neighboring prediction unit of a current prediction unit and a size of the current prediction unit are different according to an embodiment of the present invention.
Referring to FIG. 9, a prediction unit smaller than the size of the current prediction unit may exist as a neighboring prediction unit of the
In a particular case, the first intra prediction mode candidate block may include a
Also, in a specific case, taking the right side of FIG. 9 as an example, the largest
10 is a conceptual diagram illustrating a case where the size of the neighboring prediction unit of the current prediction unit is larger than the size of the current prediction unit, according to an embodiment of the present invention.
The largest prediction unit among the neighboring prediction units of the current prediction unit may be determined as the neighboring block for calculating the first intra prediction mode of the current prediction unit.
Referring to the left side of FIG. 10, the neighboring
The above-described intra prediction mode encoding method may be similarly applied to the decoder to generate a prediction block of the current prediction unit. The encoder may transmit the generated first candidate block reset flag and the second candidate block reset flag information to the decoder, and the decoder may use the first candidate block reset flag and the second candidate block reset flag information to transmit the current prediction unit. Information about which neighboring prediction unit was used to generate the predictive block may be transmitted.
11 is a conceptual diagram illustrating an intra prediction mode encoding method according to an embodiment of the present invention.
Referring to FIG. 11, when there is a prediction unit encoded in the inter prediction mode instead of the intra prediction mode around the current prediction unit, the inter prediction mode when the intra prediction mode encoding method described above with reference to FIGS. 5 to 10 is used. A first intra prediction mode of the current prediction unit may be calculated except for the prediction unit encoded by.
For example, as described above with reference to FIG. 9, the prediction unit located at the top of the left neighboring prediction units of the current prediction unit and the prediction unit located at the left of the top peripheral prediction unit of the current prediction unit are set to the first intra prediction mode. If it is determined whether or not the same as the second intra prediction mode of the current prediction unit, if the
When the upper right and lower left prediction units are used as peripheral prediction units for calculating the first intra prediction mode of the current prediction unit (that is, when using the first candidate setting method) and located on the left and top of the current prediction unit The same is true when the prediction unit having the largest size among the prediction units is used as the first intra prediction mode candidate block for generating the prediction prediction unit of the current prediction unit (that is, when the second candidate setting method is used). The prediction unit generated by being predicted by the inter prediction method rather than the intra prediction in the vicinity is excluded from the neighbor prediction unit for calculating the first intra prediction mode of the current prediction unit, and then uses the remaining prediction units to predict the first intra prediction of the current prediction unit. A first intra prediction mode candidate block for calculating a mode may be generated.
12 is a conceptual diagram illustrating an intra prediction mode encoding method according to an embodiment of the present invention.
Referring to FIG. 12, a short distance intra prediction (SDIP) method may be used to generate a prediction block of a current prediction unit. The SDIP method is a method of predicting a plurality of divided prediction units one by one by dividing one prediction unit into a plurality of prediction units.
In the case of using the SDIP method, as described above, in order to calculate the first intra prediction mode of the current prediction unit, the prediction unit located at the top of the left neighboring prediction unit of the current prediction unit and the top neighboring prediction unit of the current prediction unit Basic candidate block setting method that utilizes intra prediction mode information of the prediction unit located on the left side, the prediction unit located at the bottom of the left neighboring prediction units of the current prediction unit, and the rightmost prediction unit located at the top peripheral prediction unit of the current prediction unit. A method for setting a first candidate block, which is a method of using a prediction unit as a first intra prediction mode, and determines the largest prediction unit among the neighboring prediction units of the current prediction unit as the neighboring prediction unit for calculating the first intra prediction mode of the current block. A second candidate block setting method may be used.
12 illustrates a case in which a prediction unit having the same size as the current prediction unit exists as a neighboring prediction unit of the current prediction unit, and a middle portion of FIG. 11 is a prediction unit having a size smaller than the current prediction unit as a neighboring prediction unit of the current prediction unit. 11 illustrates a case in which the neighboring prediction unit of the current prediction unit exists as a prediction unit having various sizes.
When the first intra prediction mode information of the current prediction unit is encoded by using the basic candidate block setting method to calculate the first intra prediction mode of the current prediction unit, a current having a neighboring prediction unit having the form shown in the left side of FIG. In the prediction unit, the prediction unit may encode intra prediction mode information by using the prediction unit A and the prediction unit B as the first intra prediction mode candidate block, and the prediction unit is the prediction unit and the prediction unit B, and the prediction unit is the prediction unit and the prediction unit. Intra prediction mode information may be encoded using B as a first intra prediction mode candidate prediction unit.
Similarly, the current prediction unit having the neighboring prediction unit in the form of the middle of FIG. 12 and the right side of FIG. 12 is similarly based on the intra prediction mode of the prediction unit located at the top left of the current prediction unit and the prediction unit located at the top left of the current prediction unit. Intra prediction mode information of the current prediction unit may be encoded.
The first candidate block setting method may also be used to generate the first intra prediction mode candidate block of the current prediction unit in the same manner as described above. For example, in the case of a current prediction unit having a neighboring prediction unit of the form shown in the middle of FIG. 12, the prediction unit B and the prediction unit C may be used to calculate the first intra prediction mode of the prediction unit. The prediction unit and the prediction unit C may be used to calculate the first intra prediction mode, and the prediction unit and the prediction unit D may be used to calculate the first intra prediction mode of the prediction unit.
The current prediction unit illustrated in the left side of FIG. 12 and the right side of FIG. 12 may also calculate the first intra prediction mode of the current prediction unit in the same manner.
The second candidate block setting method is the same as described above, but since the current prediction unit is a prediction unit predicted using the SDIP method, the first intra prediction mode information of the current prediction unit may be encoded in consideration of this.
For example, in the case of the right side of FIG. 12, the prediction unit may calculate a first intra prediction mode based on the prediction unit A and the prediction unit D, and the prediction unit is the first intra based on the prediction unit and the prediction unit E. The prediction mode may be calculated, and the prediction unit may calculate the first intra prediction mode based on the prediction unit and the prediction unit E.
13 is a conceptual diagram illustrating a method of calculating an intra prediction mode according to an embodiment of the present invention.
Referring to FIG. 13, when there is an inter prediction, that is, an inter predicted prediction unit, as the neighboring prediction unit of the current prediction unit, the above-described basic candidate mode targeting only the intra predicted prediction unit except the inter predicted prediction unit The candidate block for calculating the prediction mode of the current prediction unit may be generated using the setting method, the first candidate mode setting method, and the second candidate mode setting method. Taking the right side of FIG. 13 as an example, assuming that the basic candidate setting method is used, the DC mode may be used because the prediction unit B and the prediction unit D are not available to calculate the first intra prediction mode of the prediction unit. The prediction unit and the prediction unit E may be used to calculate the first intra prediction mode of the prediction unit, and the prediction unit and the prediction unit F may be used to calculate the first intra prediction mode of the prediction unit.
14 is a conceptual diagram illustrating an intra prediction mode encoding method according to another embodiment of the present invention.
Referring to FIG. 14, an intra prediction mode of three prediction units located around a current prediction unit and an intra of a prediction unit co-located with a current prediction unit located in a previous frame of a frame in which the current prediction unit is located. The prediction mode may be used as the first intra prediction mode candidate block.
That is, the left
In addition, as described above, when the same intra prediction mode as the second intra prediction mode does not exist among the first intra prediction modes, intra prediction of the current prediction unit using pseudo first intra prediction mode information and intra prediction mode difference information. The mode can be known and a prediction block can be generated.
In FIG. 14, the identity indication flag information, the same position indication flag information, the similar first intra block flag information, and the intra prediction mode difference information for generating the prediction block of the current prediction unit described above may be transmitted to the decoder, and the decoder In FIG. 4, decoding may be performed based on transmitted identicality indication flag information, identical position indication flag information, pseudo first intra prediction mode information, and intra prediction mode difference information.
In FIG. 14, the upper peripheral prediction unit, the left peripheral prediction unit, the upper right prediction unit, and the temporal peripheral prediction unit of the current prediction unit are all used as the spatial neighbor prediction unit, but among them, the upper peripheral prediction unit is excluded. Only the prediction unit, the left neighboring prediction unit, and the temporal neighboring prediction unit may be used as the prediction unit for predicting the intra prediction mode of the current prediction unit.
15 is a flowchart illustrating a method of decoding an intra prediction mode according to another embodiment of the present invention.
The intra prediction mode information of the current prediction unit encoded based on the above-described intra prediction mode encoding method may be transmitted to the decoder, and the first intra prediction mode candidate block of the current prediction unit is determined through the same determination process as the encoder. In addition, intra prediction mode information may be provided in the first intra prediction mode candidate block.
Referring to FIG. 15, it is determined whether the identity indication flag information exists (step S1500).
When the identity indication flag information is present, it indicates that the second intra prediction mode of the current prediction unit is the same as at least one of the first intra prediction modes that are the intra prediction modes of the neighboring prediction unit, and thus the decoder indicates that the identity indication flag information is the same. It may be determined whether there is an intra prediction mode for generating the prediction block of the current prediction unit from the neighboring prediction unit.
If the sameness indication flag information exists, it is determined whether the same position indication flag information exists (step S1510).
When the same indication flag information is present, it is determined whether the same position indication flag information is present, and when there are a plurality of first intra prediction mode candidate blocks of the current prediction unit, any first intra prediction mode candidate among the first intra prediction mode candidate blocks is present. It may be determined whether the intra prediction mode information of the block is used to generate the prediction block of the current prediction unit.
If the same position indication flag information exists, a prediction block of the current prediction unit is generated based on the same position indication flag information (step S1520).
When the co-location flag information is present, whether a plurality of first intra prediction mode candidate blocks of the current prediction unit are to use intra prediction mode information of which first intra prediction mode candidate block among the first intra prediction mode candidate blocks is used. In this case, the prediction block of the current prediction unit may be generated based on the intra prediction mode information of the neighboring prediction unit of the current prediction unit indicated by the same position indication flag information.
If the same position indication flag information does not exist, a prediction block of the current prediction unit is generated based on the same indication flag information (step S1530).
If the co-location flag information does not exist, it means that there is only one first intra prediction mode candidate block of the current prediction unit and predicts the current prediction unit based on the intra prediction mode information of the first intra prediction mode candidate block. You can create a block.
If the sameness indication flag information does not exist, the prediction block of the current prediction unit is generated using the similar first intra block flag information and the intra prediction mode difference information (step S1540).
If the identity indication flag information does not exist, as described above with reference to FIG. 5, the intra prediction mode of the current prediction unit may be expressed using the difference in the directionality of the current prediction unit and the first intra prediction mode candidate block, and the information is similar. The first intra block flag information and the intra prediction mode difference information are generated and transmitted to the decoder. The decoder calculates the intra prediction mode information of the first intra prediction mode candidate block based on the similar first intra block flag information, and in the prediction mode of the first intra prediction mode candidate block calculated using the intra prediction mode difference information. It is possible to generate a prediction block of the current prediction unit by being provided with information on how different the difference is.
Although described with reference to the embodiments above, those skilled in the art will understand that the present invention can be variously modified and changed without departing from the spirit and scope of the invention as set forth in the claims below. Could be.
Claims (23)
And generating a prediction block of the current prediction unit based on intra prediction information of the current prediction unit.
Identity indication flag information indicating whether a first intra prediction mode of the current prediction unit and a second intra prediction mode of the current block provided from the neighboring prediction unit are the same; And
Co-located flag information indicating whether a first intra prediction mode provided from any neighboring prediction unit among the neighboring prediction units is the same as a second intra prediction mode of the current prediction unit when the plurality of first intra prediction modes exist. Intra prediction mode decoding method characterized in that.
When the first intra prediction mode of the current prediction unit and the second intra prediction mode of the current prediction unit provided from the neighboring prediction unit are not the same, difference information between the second intra prediction mode of the first intra prediction mode is calculated. Pseudo first intra prediction mode information serving as a reference for performing the same; And
And intra prediction mode difference information indicating a difference between the pseudo first intra prediction mode and the second intra prediction mode.
Assigns the smallest value in a range of constants to the intra prediction mode with the largest angle clockwise relative to the vertical intra prediction mode, and to the intra prediction mode with the largest angle counterclockwise relative to the horizontal intra prediction mode. And reassigning the second intra prediction mode value from the reassigned first intra prediction mode value by allocating the largest value in the constant integer range.
Assign the smallest value in the constant integer range to the intra prediction mode with the largest angle counterclockwise relative to the horizontal intra prediction mode and the intra prediction mode with the largest angle clockwise relative to the vertical intra prediction mode. And a second sub prediction mode value reallocated from the first intra prediction mode value reassigned by allocating the largest value in the integer range.
At least one prediction unit of the top peripheral prediction units located at the top of the current prediction unit; And
And at least one prediction unit among the left neighboring prediction units located to the left of the current prediction unit.
Intra prediction further comprising at least one prediction unit among a prediction unit existing at the same position as the current prediction unit existing in the previous frame of the frame including the current prediction unit and a neighboring prediction unit located on the upper right side of the current prediction unit Mode Decoding Method.
And a prediction unit located at the top of the left neighboring prediction units of the current prediction unit and a prediction unit located at the top of the current prediction unit.
And a prediction unit located at the bottom of the left neighboring prediction units of the current prediction unit and a prediction unit located at the rightmost of the top peripheral prediction units of the current prediction unit.
And the largest prediction unit among the largest neighboring prediction unit among the left neighboring prediction units of the current prediction unit and the upper neighboring prediction unit of the current prediction unit.
Characterized in that it is predicted by the intra prediction mode and when the neighboring prediction unit is not available, the intra prediction mode of the unavailable neighboring prediction unit is the DC mode, or when at least one neighboring prediction unit is available, the available at least The same method as the intra prediction mode of one neighboring prediction unit is used as the intra prediction mode of the unavailable neighboring prediction unit.
Intra prediction mode decoding method characterized in that it is further divided into a plurality of prediction units.
And an intra prediction unit configured to generate a prediction block of the current prediction unit based on intra prediction information of the current prediction unit provided by the entropy decoder.
Identity indication flag information indicating whether a first intra prediction mode of the current prediction unit and a second intra prediction mode of the current block provided from the neighboring prediction unit are the same; And
Co-located flag information indicating whether a first intra prediction mode provided from any neighboring prediction unit among the neighboring prediction units is the same as a second intra prediction mode of the current prediction unit when the plurality of first intra prediction modes exist. And a decoder.
When the first intra prediction mode of the current prediction unit and the second intra prediction mode of the current prediction unit provided from the neighboring prediction unit are not the same, difference information between the second intra prediction mode of the first intra prediction mode is calculated. Pseudo first intra prediction mode information serving as a reference for performing the same; And
And intra prediction mode difference information indicating a difference between the pseudo first intra prediction mode and the second intra prediction mode.
Assigns the smallest value in a range of constants to the intra prediction mode with the largest angle clockwise relative to the vertical intra prediction mode, and to the intra prediction mode with the largest angle counterclockwise relative to the horizontal intra prediction mode. And a subtracted second intra prediction mode value from a reallocated first intra prediction mode value by allocating a largest value in the constant integer range.
Assign the smallest value in the constant integer range to the intra prediction mode with the largest angle counterclockwise relative to the horizontal intra prediction mode and the intra prediction mode with the largest angle clockwise relative to the vertical intra prediction mode. And a subtracted second intra prediction mode value from a reallocated first intra prediction mode value by allocating the largest value in the integer range.
At least one prediction unit of the top peripheral prediction units located at the top of the current prediction unit; And
And at least one prediction unit among the left neighboring prediction units located to the left of the current prediction unit.
A decoder further comprising at least one prediction unit among a prediction unit existing at the same position as the current prediction unit existing in the previous frame of the frame including the current prediction unit and a neighboring prediction unit located on the upper right side of the current prediction unit. .
And a prediction unit located at the top of the left neighboring prediction units of the current prediction unit and a prediction unit located at the left of the top peripheral prediction units of the current prediction unit.
And a prediction unit located at the bottom of the left neighboring prediction units of the current prediction unit and a prediction unit located at the rightmost of the top peripheral prediction units of the current prediction unit.
And a largest prediction unit among the left neighboring prediction units of the current prediction unit and a largest prediction unit among the top neighboring prediction units of the current prediction unit.
Decoder further divided into a plurality of prediction units.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110065211A KR20120129726A (en) | 2011-05-20 | 2011-06-30 | Methods of decoding intra prediction mode and decoder |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110048131 | 2011-05-20 | ||
KR1020110065211A KR20120129726A (en) | 2011-05-20 | 2011-06-30 | Methods of decoding intra prediction mode and decoder |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20120129726A true KR20120129726A (en) | 2012-11-28 |
Family
ID=47514173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110065211A KR20120129726A (en) | 2011-05-20 | 2011-06-30 | Methods of decoding intra prediction mode and decoder |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20120129726A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016182317A1 (en) * | 2015-05-12 | 2016-11-17 | 삼성전자 주식회사 | Image decoding method for performing intra prediction and device thereof, and image encoding method for performing intra prediction and device thereof |
WO2018062788A1 (en) * | 2016-09-30 | 2018-04-05 | 엘지전자(주) | Method for processing picture based on intra-prediction mode and apparatus for same |
KR20180072539A (en) * | 2016-12-21 | 2018-06-29 | 세종대학교산학협력단 | Method and apparatus for encoding or decoding video signal |
WO2018117686A3 (en) * | 2016-12-21 | 2018-08-16 | 세종대학교 산학협력단 | Method and device for encoding or decoding video signal |
US11451767B2 (en) | 2015-11-19 | 2022-09-20 | Electronics And Telecommunications Research Institute | Method and apparatus for encoding/decoding intra prediction mode |
-
2011
- 2011-06-30 KR KR1020110065211A patent/KR20120129726A/en not_active Application Discontinuation
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016182317A1 (en) * | 2015-05-12 | 2016-11-17 | 삼성전자 주식회사 | Image decoding method for performing intra prediction and device thereof, and image encoding method for performing intra prediction and device thereof |
US10742973B2 (en) | 2015-05-12 | 2020-08-11 | Samsung Electronics Co., Ltd. | Image decoding method for performing intra prediction and device thereof, and image encoding method for performing intra prediction and device thereof |
US11451767B2 (en) | 2015-11-19 | 2022-09-20 | Electronics And Telecommunications Research Institute | Method and apparatus for encoding/decoding intra prediction mode |
WO2018062788A1 (en) * | 2016-09-30 | 2018-04-05 | 엘지전자(주) | Method for processing picture based on intra-prediction mode and apparatus for same |
US10812795B2 (en) | 2016-09-30 | 2020-10-20 | Lg Electronic Inc. | Method for processing picture based on intra-prediction mode and apparatus for same |
KR20180072539A (en) * | 2016-12-21 | 2018-06-29 | 세종대학교산학협력단 | Method and apparatus for encoding or decoding video signal |
WO2018117686A3 (en) * | 2016-12-21 | 2018-08-16 | 세종대학교 산학협력단 | Method and device for encoding or decoding video signal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11653021B2 (en) | Method for encoding and decoding video, and apparatus using same | |
US20230276067A1 (en) | Method for generating prediction block in amvp mode | |
KR102171362B1 (en) | Transformation method and apparatus for video coding system | |
EP3958560B1 (en) | Apparatus for encoding a moving picture | |
JP6129178B2 (en) | Encoding or decoding information representing prediction mode | |
KR20160106023A (en) | Apparatus for encoding a moving picture | |
US20220417556A1 (en) | Image decoding method and apparatus relying on intra prediction in image coding system | |
KR20130027975A (en) | Method for coding/decoding of intra prediction mode and apparatus thereof | |
KR20120129726A (en) | Methods of decoding intra prediction mode and decoder | |
KR102585178B1 (en) | Image encoding/decoding method and apparatus using efficient motion information prediction | |
KR102585179B1 (en) | Image encoding/decoding method and apparatus using efficient motion information prediction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |