Abstract: An image decoding method according to the present invention may comprise the steps of: determining an intra prediction mode of a current block; when the intra prediction mode of the current block is a DC mode, determining a DC value on the basis of at least one among left reference samples and top reference samples of the current block; and inducing a prediction sample of the current block on the basis of the DC value.
Art
[1]The present invention relates to a video signal processing method and apparatus.
BACKGROUND
[2]Recently, the demand for high-resolution, high-quality video, such as HD (High Definition) video and UHD (Ultra High Definition) video is increasing in various application areas. Since the image data has been increasing the amount of high resolution, high quality is the more relatively data compared to traditional image data if the stored transmit image data using a medium such as an existing wired or wireless broadband, or with a conventional storage medium, transmission cost and It increases storage costs. In order to address these issues as the picture data of high resolution, high quality image can be compressed with high efficiency techniques are utilized.
[3]
A video compression techniques inter picture predicting the pixel values of the current picture from a previous or subsequent picture in the current picture prediction techniques, by using the pixel information in the current picture screen for predicting the pixel values of current picture prediction techniques, It may assign a short code to a value of high appearance frequency, and transmitted or stored until there is a variety of techniques, such as an entropy encoding technique for assigning a long code to the low frequency of appearance values, and effectively compressing the image data by using such a video compression technology.
[4]
On the other hand, with the increased demand for high-definition video, and even with increased demand for stereoscopic content as a new video service. There is ongoing debate about the resolution and second video compression technology to provide a high-resolution stereoscopic content effectively.
Detailed Description of the Invention
SUMMARY
[5]
An object of the present invention is to provide a method and apparatus capable of efficiently performing intra-prediction for a method as coding / decoding a video signal, an encoding / decoding block.
[6]
An object of the present invention is to provide a method and apparatus for performing intra-prediction using a plurality of the reference sample as in encoding / decoding the video signal, do not neighbor each other.
[7]
An object of the present invention is to provide a method and apparatus for performing intra prediction using, right and bottom reference sample as in encoding / decoding a video signal.
[8]
An object of the present invention is to provide a method and apparatus as in encoding / decoding a video signal, determines the range of the reference sample used for the DC value calculated adaptively.
[9]
An object of the present invention is to provide a method and apparatus for calculating a DC value to give different weights between the reference sample as in encoding / decoding a video signal.
[10]
SUMMARY OF THE INVENTION In the present invention are not limited to the technical problem mentioned above, it is not mentioned another technical problem will be clearly understood to those of ordinary skill in the art from the following description It will be.
Problem solving means
[11]
A video signal decoding method and apparatus according to the present invention, the current block of the determined intra-prediction mode, and the current block of the intra prediction mode, the DC mode is the case, at least one of the left reference samples or the top of reference samples of the current block it is possible to determine the DC value on the basis of one, leading to prediction samples of the current block on the basis of the DC value. At this time, to determine the reference that is used to determine the DC value of the sample range or the DC value of the weight applied to the left side reference sample or reference the top of the sample position of the size, shape or reference sample of the current block of can be determined based on at least one.
[12]
Video signal coding method and apparatus according to the present invention, the current block of the determined intra-prediction mode, and the current block of the intra prediction mode, the DC mode is the case, at least one of the left reference samples or the top of reference samples of the current block it is possible to determine the DC value on the basis of one, leading to prediction samples of the current block on the basis of the DC value. At this time, to determine the reference that is used to determine the DC value of the sample range or the DC value of the weight applied to the left side reference sample or reference the top of the sample position of the size, shape or reference sample of the current block of can be determined based on at least one.
[13]
In the video signal encoding / decoding method and apparatus according to the present invention, the current block if the block of non room arrangement, the left reference samples or the the DC value determined by using either one of said upper reference sample have.
[14]
In the video signal encoding / decoding method and apparatus according to the present invention, when the current block is a block of a large non room shape than the height width, the DC value can be determined as an average value of the upper reference sample.
[15]
In the video signal encoding / decoding method and apparatus according to the present invention, when the height of the current block is a block of a large non room shape than the width, the DC value can be determined as an average value of said left reference sample.
[16]
In the video signal encoding / decoding method and apparatus according to the present invention, the DC value can be determined by a weighted sum calculation of the reference samples and the top left reference sample.
[17]
In the video signal encoding / decoding method and apparatus according to the present invention, if the the current block is a block of a large non room shape than the height width, the weight applied to the top of the reference sample greater than in the left reference sample It can be set to have a value.
[18]
In the video signal encoding / decoding method and apparatus according to the present invention, if the the current block is a height of a block of a large non room shape than it is wide, the weight applied to the left side reference sample larger than the above upper reference sample It can be set to have a value.
[19]
In the video signal encoding / decoding method and apparatus according to the present invention, the weight applied between the left reference samples and the remaining left reference sample having a larger y coordinate than the bottom row of the current block may be different.
[20]
In the video signal encoding / decoding method and apparatus according to the present invention, the weight applied between the top of the reference samples and the remaining upper reference sample having the maximum x-coordinate greater than the right column of the current block may be different.
[21]
The for the invention briefly summarized above features are merely exemplary of yangsangil detailed description of the invention which will be described later, and are not intended to limit the scope of the invention.
Effects of the Invention
[22]
According to the present invention, efficient intra prediction can be performed for encoding / decoding the current block.
[23]
According to the present invention, there is an advantage that by performing the intra prediction, to increase the efficiency of intra-prediction using a plurality of reference samples that do not neighbor each other.
[24]
According to the present invention, by using the right and bottom of the reference sample, there is an advantage to increase the efficiency of intra prediction.
[25]
According to the present invention, to determine the extent of the reference sample used for the DC value calculating adaptively has the advantage to increase the efficiency of intra prediction.
[26]
The present invention by calculating the DC value to give different weights between the reference sample as in encoding / decoding a video signal, there is an advantage to increase the efficiency of intra prediction.
[27]
Effects that can be obtained in the present invention is not limited to the effects mentioned above, are not mentioned other effects can be clearly understood to those of ordinary skill in the art from the following description will be.
Brief Description of the Drawings
[28]
Figure 1 is a block diagram showing an image encoding apparatus according to an embodiment of the present invention.
[29]
Figure 2 is a block diagram showing an image decoding apparatus according to an embodiment of the present invention.
[30]
Figure 3 illustrates an example of dividing the one embodiment to which the present invention is applied, coded block on the basis of the tree structure (tree structure) in a hierarchical manner.
[31]
Figure 4 is a view of the partition form of the invention is in one embodiment, the partitioning of the binary tree-based allowed to be applied.
[32]
Figure 5 is a view showing one embodiment to which the present invention is applied, for example, only a particular form of binary tree-based partition allowed.
[33]
Figure 6 is one embodiment to which the present invention is applied, a view for explaining an example in which the information relating to the division number allows a binary tree to be encoded / decoded.
[34]
7 is a view according to an embodiment to which the present invention is applied, illustrating a partition mode that can be applied to the coded block.
[35]
8 is a group according to an embodiment to which the present invention is applied, a video coder / decoder groups - shows a kind of definition of an intra-prediction mode.
[36]
Figure 9 is one embodiment to which the present invention is applied, showing the type of the extended intra-prediction mode.
[37]
Figure 10 is one embodiment to which the present invention is applied, a flow chart schematically showing the intra-prediction method.
[38]
Figure 11 is one embodiment to which the present invention is applied, on the basis of difference information of the neighboring sample illustrates a method for correcting the predicted samples for the current block.
[39]
12 and 13 are a view that shows the rearranged one-dimensional reference sample group of samples in a line reference.
[40]
Figure 14 is a view showing an example of using a plurality of reference samples, leads to the right side reference sample or reference samples at the bottom.
[41]
15 and 16 is a diagram illustrating determining the right side reference sample and the bottom of the reference sample for one embodiment, a non-square block in accordance with the present invention.
[42]
17 is a view for explaining an example of inducing the second reference sample by using the first reference sample.
[43]
18 is a diagram illustrative of the reference samples that make up the one-dimensional reference sample group.
[44]
19 is an example showing an area in which the bi-directional intra-prediction applies.
[45]
20 is an example in which identification display a directional prediction mode, which allows bi-directional intra-prediction.
[46]
21 is a flowchart showing a current block is an intra-prediction method, based on the bi-directional intra-prediction mode according to the present invention.
[47]
22 is a view showing an example in which a different weighting based on the location of the reference sample.
[48]
When Figs. 23 and 24 is the current block is non room type, illustrating the weight applied to the reference sample.
Mode for the Invention
[49]
The invention will be described in bars, it illustrated in the drawings certain embodiments that may have a variety of embodiments can be applied to various changes and detail in the Detailed Description. This, however, is by no means to restrict the invention to the specific embodiments, it is to be understood as embracing all included in the spirit and scope of the present invention changes, equivalents and substitutes. In describing the drawings was used for a similar reference numerals to like elements.
[50]
First, the term of the second, etc., can be used in describing various elements, but the above elements shall not be restricted to the above terms. These terms are only used to distinguish one element from the other. For example, without departing from the scope of the present invention, the first component may be referred to as a second configuration can be named as an element, similar to the first component is also a second component. And / or the term includes any item of the items described concerning the combination or plurality of the plurality of related items disclosed.
[51]
It understood that when one element is described as being "connected" or "coupled" to another element, but may be directly connected or coupled to the other components, may be other element in between It should be. In contrast, when an element is referred to there being "directly connected" to another element or "directly connected", it should be understood that other components in the middle that does not exist.
[52]
The terms used in the present specification are merely used to describe particular embodiments, and are not intended to limit the present invention. Expression in the singular number include a plural forms unless the context clearly indicates otherwise. In this application, the terms "inclusive" or "gajida" terms, such as is that which you want to specify that the features, numbers, steps, actions, components, parts, or one that exists combinations thereof described in the specification, the one or more other features , numbers, steps, actions, components, parts, or the presence or possibility of combinations thereof and are not intended to preclude.
[53]
With reference to the accompanying drawings, it will be described in detail preferred embodiments of the invention. The same reference numerals for the same components on the accompanying drawings and the description redundant with respect to the same elements will be omitted.
[54]
[55]
Figure 1 is a block diagram showing an image encoding apparatus according to an embodiment of the present invention.
[56]
1, the image encoding device 100 includes a picture dividing unit 110, a prediction unit (120, 125), the conversion unit 130, a quantization unit 135, a reordering unit 160, an entropy coding unit ( 165), it may include an inverse quantization unit 140, an inverse transformation unit 145, filter unit 150 and memory 155. the
[57]
FIG constituent parts shown in Fig. 1 does not mean that each independently shown to represent another characteristic feature, made of an constituent parts are separate hardware or a software unit in the image encoding apparatus. That is, the respective constituent parts combined addition of convenience, each of the configuration of at least one constituent part that includes the list part two configurations described or made part a configuration, it is possible to perform a divided parts of one configuration addition plurality of configuration functions for each of these one is included in the scope of the present invention configured without departing from the spirit of the present invention, examples of an integrated and separate exemplary embodiment portion.
[58]
In addition, some of the components are not the essential components that perform essential functions in the present invention can only be an optional component to improve the performance. Structure of the present invention can only be implemented to include only the essential component parts to implement the essence of the present invention except for the components that are used to improve performance, including only optional configuration required components except the elements that are only used for better performance It is also included in the scope of the present invention.
[59]
A picture dividing unit 110 can divide an input picture into at least one processing unit. At this time, in units of prediction unit may be: (CU Coding Unit) (Prediction Unit:: PU) may be a, a translation unit (TU Transform Unit) and may be a coding unit. Picture division section 110 into a plurality of coding unit, a prediction unit, and the combination of the transform unit for the one picture and a predetermined reference (for example, a cost function), as a coding unit, a prediction unit and a translation unit, a combination to select it can be encoded in the picture.
[60]
For example, one picture can be divided into a plurality of coding units. Coding in order to divide the unit of encoding in a picture may be used a recursive tree structure, such as a quad tree structure (Quad Tree Structure) by one of the picture or the maximum size of the encoding unit (largest coding unit) to the root which is divided into different coding units unit may be divided to have the child nodes as many as the number of the divided coded unit. In accordance with a predetermined limit that is no longer divided coding unit is a leaf node. That is, if we assume that the square divided only possible for one of the coding unit, a coding unit may be divided into up to four different coding units.
[61]
Hereinafter, embodiments in the coding unit of the present invention may be used to mean a unit for performing the encoding, it can be used to mean a unit for performing the decoding.
[62]
Prediction unit may be divided to have the form of at least one of the square or rectangle of the same size within a coding unit, one of the any of the prediction unit of the divided prediction unit in the coding units prediction of other It may be partitioned to have a unit with a different shape and / or size.
[63]
If not the minimum coding unit when generating a prediction unit which performs intra prediction based on the encoding unit may perform intraprediction not divided into a plurality of NxN prediction unit.
[64]
Prediction unit 120, 125 may comprise an intra predictor 125 to perform the inter-prediction unit 120 and the intra-prediction for performing inter-prediction. For the prediction unit whether to use the inter prediction or decision whether to perform intra prediction, it is possible to determine the specific information (e.g., intra-prediction modes, motion vectors, reference picture, and so on) for each prediction method. At this time, the prediction process unit is performed and the prediction method and the specific process unit to be the content determined may be different. For example, the prediction method and the prediction mode and the like is determined as a prediction unit, for performing prediction may be performed in a conversion unit. Residual values between the generated prediction block and the original block (residuals block) can be input to the converter 130. Further, the prediction mode information used for prediction, and motion vector information which are coded by the entropy coding unit 165 together with the residual value may be delivered decoding groups. When using a specific encoding mode, instead of generating a prediction block by the prediction unit (120, 125), by directly coding the source block it is also possible to transfer the decrypting unit.
[65]
Inter prediction section 120 thus is predicted based on the information of a part of the coding in the current picture is complete, if the current and of the previous picture or a subsequent picture of the picture also at least predicting the prediction unit, based on information in the one picture, It may predict the unit. Inter prediction section 120 may include a reference picture interpolation, motion prediction unit, a motion compensation unit.
[66]
The reference picture interpolation may receive service information from the reference picture memory 155, it generates the pixel information of more than integer pixels in a reference picture. Can be used for luminance pixel, quarter-8-tap interpolation filter (DCT-based Interpolation Filter) in the DCT-based otherwise the filter coefficient to generate the pixel information of the integer pixels in units of pixels or less. For the color difference signals is 1/8 4-tap interpolation filter (DCT-based Interpolation Filter) in the DCT-based having different filter coefficients on a pixel-by-pixel basis to generate the pixel information of integer pixels or less can be used.
[67]
A motion prediction unit may perform motion estimation based on the reference picture in a reference picture interpolation by the interpolation. There are various methods as a way to calculate a motion vector (Full search-based Block Matching Algorithm) FBMA, TSS (Three Step Search), NTS (New Three-Step Search Algorithm) or the like can be used. A motion vector may have a motion vector value of 1/2 or 1/4 pixel units on the basis of the interpolation pixel. The motion predictor by different motion prediction methods to predict the current prediction unit. Motion predicting method in the skip (Skip) method, merge (Merge) method, AMVP (Advanced Motion Vector Prediction) method, such as an intra block copy (Intra Block Copy) method can be used a variety of methods.
[68]
Intra predictor 125 may generate the pixel information of the current prediction unit based on the reference pixel information of neighboring blocks in the current picture. If it is, the neighboring blocks of the prediction unit then blocks the performing inter-prediction, the reference pixel is a pixel which performs the inter-prediction, with reference of the reference pixel contained in the block performing the inter prediction performs intra prediction for the neighboring blocks of pixels It may be replaced by information. In other words, if reference pixels are not available, it may be replaced by at least one reference pixel in the reference pixels available for reference information that is not available pixels.
[69]
In the intra-prediction mode, prediction may have a non-directional mode that does not use the directional information for the performance of the directional prediction mode, the prediction using the reference pixels in accordance with information on a prediction direction. And a mode for predicting the mode and color difference information to predict the luminance information may be different, it is possible to take advantage of the intra-prediction mode information or the prediction luminance signal information used to estimate the brightness information to estimate the color difference information.
[70]
Intra-prediction for a case the same size of the size of the translation unit of the prediction unit when performing the intra prediction, a pixel that exists on the left side of the prediction unit, and the pixel, the prediction unit based on the pixels existing in the top of existing in the upper left the can be performed. But it can be when the size of the prediction unit to perform the intra-prediction size and phase conversion unit, using the reference pixel on the basis of a conversion unit to perform intra prediction. It is also possible to use the intra-prediction using the NxN split only for the minimum coding unit.
[71]
Intra-prediction method may generate a prediction block after applying (Adaptive Intra Smoothing) AIS filter the reference pixels according to the prediction mode. Type of AIS filters that are applied to the reference pixel may be different. The intra-prediction mode of the current prediction unit for performing intra prediction method may be predicted from the intra-prediction mode of the prediction unit existing in the vicinity of the current prediction unit. When prediction a prediction mode of the current prediction unit using the mode information predicted from the surrounding prediction unit, the intra prediction mode is the same when using the predetermined flag information, the current prediction unit and the surrounding prediction unit for the current prediction unit and the surrounding prediction unit a prediction mode and to transmit the same information that, if the can when the prediction mode of the current prediction unit and the peripheral units of different prediction by performing the entropy coding to encode the prediction mode information of the current block.
[72]
In addition, a residual block that contains the prediction section 120, 125 predicted by performing a prediction based on a prediction unit of the unit to the original block of the prediction unit and the difference value of the residual values (Residual) information generated by the can be generated. The generated residual block may be input to the converter 130.
[73]
Conversion unit 130 in the source block and the prediction unit (120, 125) (Discrete Cosine Transform), DCT residual block including residual value (residual) information of the predicted unit generation via, DST (Discrete Sine Transform), KLT and using the same conversion method can be converted. To apply the DCT transform to the residual block, the intra-prediction mode information of the prediction unit used to generate the residual block might seem apply to apply the DST or KLT can be determined based on.
[74]
The quantization unit 135 may quantize the values converted into the frequency domain in a transform unit 130. The Based on the importance of the image or depending on the block quantization coefficient it may be varied. A value calculated by the quantization unit 135 may be provided to the inverse quantization unit 140 and the reordering unit 160.
[75]
Reordering unit 160 may perform the reordering of the coefficient value for the quantized residual values.
[76]
Rearrangement unit 160 may change the form factor of the two-dimensional block by a coefficient scanning method (Coefficient Scanning) in the form of a vector of 1 dimension. For example, the rearrangement unit 160, the zig-zag scanned using a scan (Zig-Zag Scan) method from the DC coefficient to the coefficients of the high frequency region can be changed to a one-dimensional vector format. May be used instead of the horizontal scanning to scan zag scan vertical scan to scan two-dimensional coefficients of the block type in the column direction, the block coefficient of the two-dimensional form in the row direction according to the size of the transformation unit and the intra prediction mode jig. That is, according to the size and the intra-prediction mode of the conversion unit of zig-zag scanning may determine whether, any scanning method of the vertical scan and the horizontal scan will be used.
[77]
The entropy encoding unit 165 may perform entropy-encoding on the basis of the value calculated by the reordering unit 160. The Entropy encoding, for example, exponential Golomb (Exponential Golomb), may be used for various coding methods such as CAVLC (Context-Adaptive Variable Length Coding), CABAC (Context-Adaptive Binary Arithmetic Coding).
[78]
The entropy encoding section 165 rearrangement unit 160 and the prediction unit (120, 125) from the residual value of the coefficient of the coding unit information and block type information, prediction mode information, the division unit information, a prediction unit of information and transmission unit information, motion vector information, and reference frame information, interpolation information, filter information of the block can be encoded in a variety of information.
[79]
The entropy coding unit 165, the entropy encoding may be the coefficients of a coded unit of input in the rearrangement unit 160. The
[80]
The inverse quantization unit 140 and inverse transform unit 145 inverse quantizes the values quantized by the quantization unit 135 and inverse transform the values converted by the conversion unit 130. Residual value (Residual) generated by the inverse quantization unit 140 and inverse transformation unit 145 is the prediction unit restoring combined with the motion estimator, a motion compensator, and intraprediction predicted through parts prediction unit comprises a (120, 125) it is possible to produce a block (block Reconstructed).
[81]
Filter unit 150 may include at least one of a deblocking filter, offset correction, ALF (Adaptive Loop Filter).
[82]
De-blocking filter may be removed and the resulting block distortion due to the interface between the block in the reconstructed picture. To perform a de-blocking can be determined whether or not to apply the deblocking filter to the current block based on pixels included in several rows or columns included in the block in order to determine. For the application of the deblocking filter to the block it can be applied in a strong filter (Strong Filter) or a weak filter (Weak Filter) in accordance with the necessary de-blocking filter strength. Also note that when applying the deblocking filter for vertical filtering and horizontal filtering can be done in parallel for processing the horizontal filter and vertical filter.
[83]
Offset compensation unit for performing a de-blocking the image it is possible to correct the offset of the original image in pixels. Offset and then divided into the area of the number of certain of the pixels included in the image to perform the offset correction for the specified picture determines the area to perform the offset considering a method of applying an offset to the area or edge information of each pixel you can use the method of applying.
[84]
(Adaptive Loop Filtering) ALF may be performed on the basis of a comparison of the original picture and the filtered reconstructed image value. Divide the pixels included in the image in a predetermined group can be performed by determining the differential filter as a single filter to be applied to the group for each group. Information relating to whether to apply the ALF is a luminance signal is shaped, and the filter coefficients of the filter to be applied in accordance with the ALF coding unit (Coding Unit, CU) each block can have, to be transmitted by each may vary. Further, the application may be applied to the ALF filter of the same type (fixed type) regardless of the characteristics of the current block.
[85]
Memory 155 may store the reconstructed picture block or output through a filter section 150, the stored recovery block or picture may be provided at the time of performing inter-prediction predictor (120, 125).
[86]
[87]
Figure 2 is a block diagram showing an image decoding apparatus according to an embodiment of the present invention.
[88]
2, the video decoder 200, an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inversion unit 225, a prediction unit (230, 235), the filter unit ( 240), may be included in the memory 245.
[89]
If the video bit streams from the video encoder input, the input bit stream can be decoded in the process of a video encoder and opposite.
[90]
The entropy decoding unit 210 may perform entropy decoding in the reverse procedure to that performing the entropy coding in the entropy coding unit of the video encoder. For example, it is possible to correspond to the process performed in the video encoder be subject to a variety of methods such as exponential Golomb (Exponential Golomb), CAVLC (Context-Adaptive Variable Length Coding), CABAC (Context-Adaptive Binary Arithmetic Coding).
[91]
The entropy decoding unit 210, the can decrypt the information with regard to intra-prediction and inter-prediction performed in the encoder.
[92]
Reordering unit 215 may perform reordering based on the way rearrange the entropy decoded bitstream in the entropy decoding unit 210 in the encoding unit. The coefficients represented as one-dimensional vector form may be further rearranged to restore it to the coefficients of the blocks in the form of two-dimensional. Reordering unit 215 by the received provided information related to the coefficient scanning performed on the coding unit based on the scanning procedure performed in the encoding unit may perform reordering by a method of scanning in reverse.
[93]
The inverse quantization unit 220 may perform inverse quantization based on the count value of the reordered block and the quantization parameter provided by the encoder.
[94]
Inverse transform unit 225 may be for a conversion that is, DCT, DST, and KLT performed in converting unit for performing a quantization result by the image encoder performs the inverse transformation that is, reverse DCT, reverse DST and inverse KLT. The inverse transform may be performed on the basis of the transmission unit is determined from the video encoder. The inversion unit 225 of the video decoder prediction method, the transformation method (e.g., DCT, DST, KLT) based on the current block of the plurality of information such as the size and direction of prediction can be carried out selectively.
[95]
Predictor (230, 235) may generate a prediction block based on a previously decoded block, or picture information provided by the entropy decoding unit 210, a prediction block generated additional information and the memory 245 provided in the.
[96]
Present on equally to the operation of the video encoder, the size of the size and the conversion unit of the prediction unit of the same when performing the intra prediction, pixel, the upper present in the pixels, the upper left corner existing on the left side of the prediction unit as described above, on the basis of pixels that performs intra-prediction for a prediction unit, however, the case where the size of the transformation unit of the prediction unit for the performance of intra prediction different, using a reference on the basis conversion units of pixels to perform the intra prediction can. It is also possible to use the intra-prediction using the NxN split only for the minimum coding unit.
[97]
Predictor (230, 235) may include predicting unit determining unit, an inter prediction unit and the intra-prediction unit. Prediction unit judging section receives a variety of information such as the motion prediction information of the entropy decoding unit 210, prediction unit information, the intra-prediction method to be input in the prediction mode information and inter-prediction method of the separate prediction unit of the current coding unit, and prediction if the unit is performing inter prediction or it can be determined whether to perform intra prediction. The inter-prediction unit 230 is provided in the video encoder using the information necessary for inter-prediction of the current prediction unit are predicted on the basis of the information contained in the at least one picture of the previous picture or a subsequent picture of a current picture containing the current prediction unit It may perform inter prediction on the unit. It may perform inter-prediction based on the information of the restored partial area - or, a group within a current picture containing the current prediction unit.
[98]
Motion predicting method in the prediction unit included in the coding unit, based on the coding units for performing inter-prediction is a skip mode (Skip Mode), merge mode (Merge mode), AMVP mode (AMVP Mode), the intra-block copy mode of what kind of method can determine whether or not.
[99]
An intra prediction unit 235 may generate a prediction block based on a pixel information in the current picture. When the prediction unit of the prediction unit that performs intra prediction, based on the intra-prediction mode information of the prediction unit provided in the video encoder to perform intra prediction. An intra prediction unit 235 may include a (Adaptive Intra Smoothing) AIS filter, the reference pixel interpolating units, DC filter. AIS filter may be applied to determine whether a filter is applied in accordance with the prediction mode of the current prediction unit as a part that filters the current block of the reference pixel. Using the prediction mode information of the prediction filter and the AIS unit provided in the video encoder may perform the AIS filtering the current block of the reference pixel. If the current mode is a prediction mode of the block does not perform filtering AIS, AIS filter can not be applied.
[100]
Reference pixel interpolation unit may if the prediction mode of the prediction unit of one prediction unit which performs intra prediction based on the pixel value interpolation reference pixels, by interpolating the reference pixel to generate a reference pixel of a pixel unit or less constant value. If the prediction mode of generating a predictive block without the prediction mode of the current prediction unit interpolates the reference pixels a reference pixel can not be interpolated. DC filter has a prediction mode of the current block to generate a prediction block through the filter when the DC mode.
[101]
The reconstructed block or picture may be provided to filter unit 240. Filter unit 240 may include the deblocking filter, offset correction, ALF.
[102]
From the video encoder can be provided with information and di was applied when the blocking filter, information on whether the applied strong filter or apply a weak filter to whether on whether or not applying the deblocking filter to the block or picture. The deblocking filter of a video decoder being provided for the de-blocking filter-related information provided from the video encoder may perform deblocking filtering on the block in the video decoder.
[103]
Offset correcting unit may perform the offset correction on the restored image based on the information such as the type and the offset value of the offset compensation applied to the video encoding operation.
[104]
ALF may be applied to the encoding unit on the basis of whether the ALF application provided from the encoder information, ALF coefficient information, and the like. The ALF information may be provided to include a particular parameter set.
[105]
Memory 245 stores the reconstructed picture blocks or can to be used as a reference picture or a reference block may also provide the reconstructed picture as an output module.
[106]
In the following embodiments, the present invention as described above, used as a term for convenience coding unit (Coding Unit) coding units of description, but the encoding may be not only a unit for performing the decoding.
[107]
Also, the current block, to indicate the coding / decoding the current block, the encoding / accordance with the decoding phase, the coding tree block (or coding tree unit), an encoding block (or encryption unit), the conversion block (or a conversion unit), or prediction block It can be an indication or the like (or the prediction unit).
[108]
[109]
One picture can be divided into the basic blocks of the square or non-square shape encoding / decoding. In this case, the basic blocks may be referred to as the coding tree unit (Coding Tree Unit). Coding tree unit may be defined as the largest size allowed by the encoding unit sequence or a slice. Coding tree unit information related to the size of the square or non-square shape and whether or coding tree unit may be signaled through a sequence parameter set, picture parameter set or a slice header and the like. Coding tree unit may be divided into a smaller size for the partition. In this case, if the generated partition tree by splitting a coding unit as to the depth 1, the partitions created by dividing the depth of 1 partitions can be defined as the depth 2. That is, by dividing the generated within the depth k of the partition tree coding unit partition may be defined as having a depth k + 1.
[110]
Coding tree unit may be defined as a coding unit for partitioning the generated arbitrary size as the split. The coding unit is divided or recursively, may be divided into a basic unit for performing a predictive, quantized, transformation, or in-loop filtering, and the like. For example, any size of the partition generated as the coding units is split may be defined or the coding unit, defined as the predicted, quantized, transformation, or the basic unit of conversion unit or a prediction unit for performing such loop filter.
[111]
Partitioning of the coding tree unit or a coding unit, a vertical line may be performed based on at least one of (Vertical Line) or horizontal (Horizontal Line). In addition, the number of vertical and horizontal lines that partition the coding tree unit or a coding unit may be at least at least one. For example, as a vertical line, or one with a horizontal line, the coding tree unit or dividing the coding unit into two partitions, or two vertical and two by a horizontal line, the three partitions the coding tree units or coding unit It can be split. Or, by using a single vertical line and one horizontal line, it is possible to divide the coding tree units or coding unit to the four partitions of the length and width of one-half.
[112]
If the coding tree units or coding unit by using at least one vertical or at least one horizontal line is divided into a plurality of partitions, the partitions may have a uniform size, or may have a different size. Alternatively, it may also be any one of the partitions have a different size from the rest of the partition.
[113]
In the embodiments to be described later for example, it is assumed to be divided into a coding tree units or coding unit quadtree, triple tree or a binary tree structure. However, it can also be further divided in the coding tree units or coding unit by using a large number of vertical line or a larger number of horizontal lines of the.
[114]
Figure 3 illustrates an example of dividing the one embodiment to which the present invention is applied, coded block on the basis of the tree structure (tree structure) in a hierarchical manner.
[115]
The input video signal is decoded by a predetermined block unit, the basic unit is referred to as a coded block for decoding Thus the input video signal. Coding block may be a unit for performing the intra / inter-prediction, transformation, quantization. Further, the coding block unit prediction mode is determined (e.g., the intra-prediction mode or the inter-prediction mode), the prediction block included in the coded blocks, it is possible to share the determined prediction mode. Coded block may be a square or non-square blocks of arbitrary size of 8x8 to 64x64 belonging to the range, it can be 128x128, 256x256, or a square or non-square block having a size more.
[116]
Specifically, the coding block can be divided into a hierarchical tree based on at least one of a quad (quad tree), triple tree (triple tree), and a binary tree (binary tree). Here, the division of the quad-tree based 2Nx2N coded block with four NxN a manner that is divided into coded blocks, triple-partitioning of the tree-based is how a coding block is divided into three code blocks, a binary tree split of base may refer to one way of coding the block is divided into the two coded blocks. Although the triple tree or a binary tree-based partition of the partition was performed, in the lower depths may be present in the square in the coding block. Or, after the triple tree or a binary tree-based partition of the partition is performed, the sub-depth may be limited to be a square coding block generated.
[117]
Dividing the binary tree-based may be performed symmetrically, and may be performed asymmetrically. The coded blocks divided by a binary tree-based block may be a square, but may be non-square block such as a rectangular. For example, as shown in the example in shown in Figure 4 the partition shape which the division of a binary tree-based allow, symmetric (symmetric) of 2NxN (horizontal non-square coding unit) or Nx2N (vertically non room coding unit), an asymmetric of the type (asymmetric) in nLx2N, nRx2N, 2NxnU 2NxnD or it may include at least one.
[118]
Division of the binary tree-based and may be limited to allow only one of a symmetric or asymmetric form of partition. In this case, it is for constituting the coding tree unit, a square block for the quadtree partitioning CU, configure coding tree unit, in a non-symmetric square block may correspond to a binary tree partitioning. What constitutes a tree-coding unit in a square block with symmetric non-square block may correspond to a quad, and a binary tree CU partitioning.
[119]
Dividing the binary tree-based may be performed on a coding block is divided in the quad-tree based it is no longer performed. Binary partition tree of quad-based for the coded blocks divided in a tree-based, tree-based triple of the division or partition of at least one of a binary tree-based, may be set to no longer be performed.
[120]
Alternatively, but allow the triple tree-based partition or division of the binary tree based on the coding block divided by a binary tree-based, it is also possible to allow limited to only one of the horizontal direction or divided in the vertical direction.
[121]
For example, it is also possible to limit further divided or further divided direction on the location, index, types, coded blocks divided by a binary tree-based depending on the further divided in the form of adjacent partitions of the encoded block divided by a binary tree-based. For example, a binary tree split the index of the code block before the two coded coding sequence of the blocks generated by the 0 (hereinafter referred to as coded block with index 0) of the base, the coding order is 1 (the index of the coded block on the back, when called coded block index 1), the coding block index 0 or coded block index 1 in the case that the division of a binary tree-based applied to all coded blocks, dividing direction of the binary tree based on the coded block index is 1, the coded block, coded block index can be determined according to the dividing direction of the zero-tree of binary-coded block based. Specifically, the coded block, if the index is the division direction of the zero binary tree for coding the block-based to split a coded block coded block index is zero in the square partitions, the coding block index of 1, a binary tree-based coding block the partition can be limited so as to have a partition different from the direction of the binary tree based on the coded block index 1 of the coding block. That is, the coded block with index 0 and index 1 coded block of coded blocks may all be limited to be divided into a square partition. In this case, the encoding / decoding of the information representing the binary tree splitting direction of the coded block index is 1, the coded block can be omitted. This coded block with index 0 and index 1 coded block of coded blocks is all that is divided into a square partitions, the bar represents the equivalent to dividing the higher block to a depth quadtree-based,
[122]
Triple-partitioning of the tree base, means for dividing the coded blocks in the horizontal or vertical direction into three partitions. Triple all three partitions of the tree based on the generated due to division can have different sizes. Or, two of the partitions created due to the division of the tree-based triple has the same size, there is also the other one can have any different size. For example, the coding block width ratio or height ratio of generated partitions as partition 1 according to the dividing direction: to be set to 1: n: 1, 1: 1: n, n: 1: 1 or m: n have. Here, m and n may be an integer, e.g., 2 to a real number greater than 1, or 1.
[123]
Triple-partitioning of the tree-based may be performed on a coding block is divided in the quad-tree based is no longer performed. Access may for coded blocks divided in a tree-based, the division of the quadtree-based, tree-based triple-partitioning of binary or tree-based partition of the at least one can be set to no longer be performed.
[124]
Alternatively, triple, but the tree-based acceptable triple tree-based partition or division of the binary tree based on the divided coded block, it is also possible to allow limited to only one of the horizontal direction or divided in the vertical direction.
[125]
For example, the triple depending position of the coded blocks divided in a tree-based, the index, shape, size and further divided in the form of adjacent partitions or the like, it is also possible to limit further divided or further divided direction for the coded blocks divided into a triple-tree-based. For example, the triple can be either a horizontal division or a vertical division for the size of the tree-based coded blocks generated by the division of the largest partition is restricted. Specifically, triple the size of the coded blocks generated by the splitting of the tree based on the largest partition is two triple tree division direction and triple tree partitioning of the binary tree split, or the same direction with the same orientation direction of the upper depth, the partition may not be allowed have. In this case, the triple tree-based coding / decoding of information representing the binary tree splitting direction or triple tree splitting direction for the largest partitions of the divided coded block to may be omitted.
[126]
It may be a division of the binary tree or a tree-based triple limited by the size or type of the current block. Here, the size of the current block, based on at least one of the number of samples included in the sum, the width and the product, or the current block of the height of the width, height, and width / minimum value of the height / maximum values, the width and height of the current block It can be expressed. For example, in the case at least one of the width or height of the current block is greater than a previously defined value, the binary tree or a tree-based triple split may not be allowed. Here, the value defined group may be an integer, such as, 16, 32, 64 or 128. As another example, the width and the height ratio is greater than a previously defined value or a defined group, if less than the value of the binary tree or a tree-based triple-partitioning of the current block may not be allowed. If the value defined group 1, there is a current block, the width and height can be a division of the binary tree or a tree-based triple allowed only when the same square block.
[127]
Dividing the sub-depth may be determined as dependent on the splitting type of the upper depth. If a one embodiment, the partitioning of the binary tree based on more than one depth allows, only a binary tree split and forms the same type of binary tree-based partition of the upper depth, this can be tolerated at lower depths. For example, if the binary tree based on the parent depths to form 2NxN division is carried out, even in the lower depth of the division of a binary tree-based 2NxN form can be carried out. Or, in the case of a binary tree-based Nx2N to form in the upper division depth is carried out, even in the lower depth of the division of a binary tree-based Nx2N shape can be allowed.
[128]
On the other hand, it is also possible to allow at lower depths, only a binary tree split and form different types of binary tree-based partition of the upper depth.
[129]
For a sequence, a slice, the coding tree units or coding unit, is a particular form of binary tree-based partition or the specific form of the division of the tree-based Access may be limited to use only. For example, it is possible to limit the allowed 2NxN or only division of a binary tree-based Nx2N form for coding tree unit. Partition type may be acceptable to code the information about the partition type that encoder or decoded groups may be defined based, not allowed, or allowed to form partition signaling on the bit stream.
[130]
5 is a view showing an example in which only a particular form of binary tree-based partition allowed. Figure 5 (a) represents an example that only a limited partitioning of the binary tree based Nx2N This allows, also (b) the 5 shows an example that only a limited partitioning of the binary tree based 2NxN This allowed. Indicating the division of the information, a binary tree based on the size / depth of the quad-tree or a binary tree-based adaptive that this information, quad split tree-based allow for instructing the division of the quad-tree basis to implement the partition coded block for information, a binary tree based on whether the division is the division of information or a binary tree based on the size / depth of the information, a binary tree-based coding block is divided is not permitted for the size / depth of the coded blocks which allow the vertical direction or include information about whether the horizontal direction may be used.
[131]
In addition, the coding tree unit or for a given coding unit, and a binary tree split / triple tree segmentation is permitted number, a binary tree splitting / triple tree, the number of depth or a binary tree splitting / triple tree divided allowed depth to be split is allowed to be and the like can be obtained. The information may be transmitted via the group decoding, the bitstream is coded in the coding tree unit or units of the coding unit.
[132]
For example, it is through the bit stream, the syntax 'max_binary_depth_idx_minus1' represents the maximum depth that a binary tree segmentation is allowed to be coded / decoded through the bit stream. In this case, max_binary_depth_idx_minus1 + 1 may point to a maximum depth which is a binary tree split allowed.
[133]
Referring to Figure 6, in the example illustrated, shown as a in Fig. 6, a binary tree split for the depth 2 encoding unit 3 and the depth of the coding units performed. Accordingly, the coding tree unit in the binary tree splitting is carried out a number of times (twice), representing the information, the coding tree unit in the binary tree splitting the maximum allowed depth information or coding tree unit indicating (depth 3) in the binary tree split the number of acceptable depth at least one of information indicating (2, depth 2, depth and 3) can be encoded / decoded by the bitstream.
[134]
As another example, a binary tree splitting / triple tree segmentation is permitted number, a binary tree splitting / triple tree splitting at least one of the number of depth or a binary tree splitting / triple tree divided allowed depth is allowed to be is by the sequence, picture or slice It can be obtained. For example, the information, is encoded in a sequence, picture or slice units may be transmitted on a bit stream. Or, the sequence, there may be a number of the picture or a binary tree splitting / triple tree partitioned allows the depth or a binary tree splitting / triple tree split acceptable depth for each slice is defined group. Accordingly, the first slice and the second slice, a binary tree / triple tree division number, a binary tree / triple tree segmentation is allowed up to a depth or a binary tree / triple tree splitting to at least one phase of the number of depth is allowed to be can. For example, in the first slice, while the one which is allowed only in a binary tree split depth, the second slice, a binary tree split can be tolerated in the two depths.
[135]
In yet another example one slice or a depth that is a binary tree / triple tree segmentation is permitted number, a binary tree / triple tree splitting the depth or a binary tree / triple tree split acceptable allows that with time the level identifier (TemporalID) of the picture It may be set differently at least one of a number. Here, the time the level identifier (TemporalID), the point (view), the space (spatial), time (temporal) or the image quality (quality) of the at least one scalability (Scalability) for identifying a plurality of layers each image having a will be.
[136]
3, the depth divided (split depth) k is the first coding block 300 may be divided into a plurality of second coding block based on the quad-tree (quad tree). For example, the second coding block 310 to 340 is a square block that has a half size of the width and height of the first coded block, dividing the depth of the second coded block can be increased to k + 1.
[137]
Dividing the depth k + 1 of the second coding block 310 may be divided into a plurality of third code block division depth of k + 2. Second dividing the coding block 310 can be carried out according to the division method by selectively using any one of the quart tree or a binary tree. Here, the division method may be determined based on at least one of information indicating a division of the divided information or a binary tree-based indicative of a quadtree-based.
[138]
The second coding block 310 two quarts case that is divided into a tree-based, the second coding block 310 is divided into four third coded block 310a having a half size of the width and height of the second coded block, the third coded block 310a dividing the depth may be increased to k + 2. On the other hand, in a case that is divided into second coding block 310 is a binary tree based on the second coding block 310 may be divided into two third block coding. At this time, each of the two third coded block is one half the size of the non-square blocks of the width and height of the second coded block, split-depth can be increased to k + 2. The second coded block according to the dividing direction may be determined in a non-square block in the transverse direction or the longitudinal direction, dividing direction may be determined based on information on whether the division of a binary tree-based portrait or landscape orientation.
[139]
On the other hand, the second coding block 310 may be determined by end-coded blocks which are no longer dividing, based on the quad-tree or a binary tree, in this case, the coding block may be used as a predicted block or a transform block.
[140]
Third coding block 310a of the second terminal or determined by the coding block dividing, like the coding block 310 and may be further divided based on the quad-tree or a binary tree.
[141]
On the other hand, the three coded blocks divided by a binary tree-based 310b are further based on a binary tree may be further divided into the coding blocks (310b-2) or a coded block (310b-3) in the horizontal direction in the vertical direction, the coding division depth of the block can be increased to k + 3. Alternatively, the third coded block 310b based on the binary tree further may be determined by non-dividing end-coded block (310b-1), In this case, the coding block (310b-1) can be used as a predicted block or a transform block can. However, the above-described segmentation process allows the division of information or a binary tree based on the size / depth of the information, a binary tree-based coding block is divided is allowed on the size / depth of the coded blocks allowed the division of the quad-tree based on the size / depth of the non-coded block may be performed in a limited based on at least one of information.
[142]
Size of the coding block can have, or are limited to a predetermined number, the size of the unit within the predetermined coding blocks may have a fixed value. For example, the size or the size of the coding block of the picture within the coded block sequences, can be limited to 256x256, 128x128 or 32x32. The information indicating the size of the sequence or the picture within the coding block may be signaled by a sequence header or picture header.
[143]
Division result based on the quad-tree, binary tree, and triple tree, the coding unit may ttil a rectangle or square of any size.
[144]
[145]
Coding block is a skip mode, and can be encoded / decoded using intra prediction, at least one of the prediction method or inter-picture skipped.
[146]
As another example, it may perform intra prediction or inter prediction through the division of the encoding block in units smaller than the same size or a coded block and a coded block. To this end, when the coded block is determined, it can be divided through the prediction of the coding block to determine the predicted block (Block Prediction). Prediction of the coding block dividing may be performed by a partition mode (Part_mode) showing a split in the form of coded blocks. Size or shape of the prediction block may be determined according to a partition mode of the coded block. For example, the size of the prediction block, which is determined according to the mode partition can have the same or a smaller value as the size of the coding block.
[147]
7 is a diagram illustrating a partition mode that can be applied to the coded block when the coded block is coded in inter picture prediction.
[148]
If the coding block coded by inter picture prediction, coding block, as shown in the example in shown in Figure 7, any of the eight partition mode can be applied.
[149]
If the coded blocks are coded with intra picture prediction, the coding block may be subject to a partition mode PART_2Nx2N or PART_NxN.
[150]
PART_NxN is applicable when the coded blocks having the minimum size. Here, the minimum size of the coding block can be defined based on the encoder and decoder. Alternatively, information on the minimum size of the coding block may be signaled through a bitstream. For example, the minimum size of the coding block is signaled through the slice header, and therefore, a minimum size of the coding block can be defined by each slice.
[151]
In general, the size of the prediction block may have a size of from 64x64 4x4. However, if the coded block coded by inter picture prediction, when performing motion compensation, to reduce the memory bandwidth (memory bandwidth), it is possible to prevent the prediction blocks have a 4x4 size.
[152]
[153]
8 is a group according to an embodiment to which the present invention is applied, a video coder / decoder groups - shows a kind of definition of an intra-prediction mode.
[154]
Video coder / decoder group may perform intra prediction by using any one of a defined intra-prediction mode. Group for intra-prediction-intra-prediction mode defined may be of a non-directional prediction mode (e.g., Planar mode, DC mode) and 33-directional prediction mode (directional prediction mode).
[155]
Alternatively, the directional prediction modes of a greater number than 33 directional prediction modes can be used to improve the accuracy of intra prediction. That is, can further subdivide the angle (angle) of the directional prediction mode defines the M number of the extended-directional prediction mode and (M> 33), group-a predetermined angle using at least one of a definition of 33-directional prediction mode It can be used to derive the directional prediction mode with.
[156]
Specifically, it is also possible to use a greater number of intra prediction modes than the 35 intra prediction modes illustrated in FIG. That even using a greater number of intra prediction modes than the 35 intra prediction modes shown in FIG. 8, may be called la extended intra-prediction mode.
[157]
9 is an example of the extended intra-prediction mode, the extended intra-prediction mode may be composed of two non-directional prediction mode, the 65 extended-directional prediction mode. The extended intra-prediction mode may equally be used for the luminance components and the chrominance components, it is also possible to use different numbers of intra prediction modes for each other by each component. For example, the luminance component using the 67 extended intra-prediction mode, the color difference component can be used for intra-prediction mode 35.
[158]
Or, using the intra-prediction mode of a different number, depending on the chrominance format (format) may perform intra prediction. For example, a 4: 2: when the 4 format: performing intra-prediction using a 67 intra-prediction mode in the case of 0 format includes the luminance component and the chrominance component may use the 35 intra prediction modes, 4:04 in all, the luminance components and the color difference component by using the intra-prediction mode 67 intra-prediction may also be used.
[159]
Alternatively, depending on the size and / or shape of the block can each other by using the intra-prediction mode of a different number of performing the intra prediction. That is, using a 35 intra-prediction mode or the intra-prediction mode 67, depending on the size and / or shape of the PU or CU may perform intra prediction. For example, the size of the CU or PU is less than 64x64 or asymmetric partitions if (asymmetric partition) is using the 35 intra prediction modes, and can perform the intra-prediction, the CU or PU size equal to 64x64, or larger case may perform intra prediction by using a 67 intra-prediction mode. In Intra_2Nx2N may allow the 65 intra prediction modes, the Intra_NxN may only be 35 directional intra-prediction mode.
[160]
Sequence, each picture or slice, it may be differently set the size of the block to apply the extended intra-prediction mode. For example, the first slice in the, in the set to be applied to the intra-prediction mode, extended to larger blocks than 64x64 (e.g., CU or PU), the second slice set so that the intra-prediction mode, extended to larger blocks than 32x32 applied can. Information indicating the size of the block in which the extended intra-prediction mode is applied, can be signaled by a sequence, picture or slice units. For example, information indicating the size of which is the extended intra-prediction mode applied to a block may be defined as a 'log2_extended_intra_mode_size_minus4' by subtracting the integer 4 after taking the logarithm of the size of the block. For example, it is the value of log2_extended_intra_mode_size_minus4 is 0, it indicates that it is possible to apply the intra-prediction mode, extended to a block having a larger size than the block or 16x16 with 16x16 or larger, the value of the log2_extended_intra_mode_size_minus4 1, 32x32 or more size a has may indicate that block, or can be applied to the extended intra-prediction mode in a block having a size larger than 32x32.
[161]
In consideration of the above, the color difference component, the color difference format, at least one of size or shape of the block described above, it may be determined if the number of intra-prediction mode. Beyond the described example, the encoding / decoding block to the intra prediction mode, intra prediction mode, which is used to determine which of the candidate (e.g., the number of MPM) on a road, a color difference component, the color difference format, at least one of size or shape of the block It may be determined in accordance with. In addition, it is also possible to use a greater number of intra prediction modes than those shown in Fig. For example, to further refine the directional prediction modes illustrated in Figure 8, it is also possible to use a 129-directional prediction mode, the two non-directional prediction mode. Whether the larger number of intra prediction modes than those shown in Figure 8 if used may be determined in consideration of the above, a chrominance component, the chrominance component, at least one of size or shape of the block as in the above example.
[162]
Reference to the drawings will be described below by using the encoding / decoding method for determining the intra-prediction mode of the target block and the intra-prediction mode is determined, and a look at how to perform intra prediction.
[163]
[164]
Figure 10 is one embodiment to which the present invention is applied, a flow chart schematically showing the intra-prediction method.
[165]
10, it is possible to determine the intra-prediction mode of the current block (S1000).
[166]
Specifically, the intra-prediction mode of the current block may be derived based on the candidate list with the index. Here, the candidate list includes a plurality of candidates, a plurality of candidates may be determined based on the intra-prediction mode of peripheral blocks adjacent to the current block. Neighboring blocks may comprise a top of the current block, the lower, the left, at least one of the block located on the right side or corner. The index may specify any one of a plurality of candidates that belong to the candidate list. A candidate specified by the index may be set to the intra-prediction mode of the current block.
[167]
The intra-prediction mode using neighboring blocks in the intra-prediction can be set as a candidate. For example, it is possible to derive a candidate on the basis of the current block of the left block and the upper block, the lower left corner of the adjacent block, a right upper corner adjacent block and the left intra-prediction mode of the upper corner adjacent block. If, if a neighboring block is coded in inter-prediction, using the intra-prediction mode of colo K lactide block (Collocated block) in the neighboring blocks can lead to a candidate for the current block.
[168]
In addition, the intra-prediction mode of a similar direction and an intra-prediction mode of the surrounding block may be set as a candidate. Here, the intra-prediction mode of a similar orientation may be determined by the value plus or minus the predetermined constant value in the intra-prediction modes in the neighboring blocks. A predetermined constant value may be 1, 2 or more integer, a predetermined constant value may be determined adaptively according to the number of intra prediction modes available. For example, if the number of intra-prediction mode 35 possible individual, predetermined constant value is set to 1, when the number of intra prediction modes available for 67 individual predetermined constant value may be set to two. In addition, to the extent used, the number of possible intra-prediction mode 131 individuals, a predetermined constant value may be set to four.
[169]
The candidate list may further include a default mode. The default mode may include at least one of the planar mode, DC mode, a vertical mode, a horizontal mode, a diagonal upper right direction mode, the upper left diagonal direction mode. The default mode may be more adaptively in consideration of the maximum number of candidates included in the candidate list for the current block.
[170]
Maximum number of candidates included in the candidate list is 3, 4, 5, 6, may be seven or more. Maximum number of candidates included in the candidate list based video encoder / decoder groups-can be a value set a fixed, may be determined as a variable on the basis of the properties of the current block. Property may refer to the location / size / shape, the block is available number / type of intra-prediction mode, the color-difference property, the color difference format of the block. Or, and information indicating the maximum number of candidates included in the candidate list may additionally be ring signal, it may be a maximum number of candidates included in the candidate list to be determined variably by. Information indicating the maximum number of the candidate may be a ring signal from at least one of the sequence level, picture level, slice level or block level.
[171]
Candidates included in the candidate list may be sorted in the order previously defined. For example, a candidate in the left block, the top block, lower left block, upper right block, the order of the top left block may be arranged on the candidate list. Or, the arrangement order of the candidates may be determined as a variable depending on the size or type of the current block. For example, if the current block has a height greater than the width of the non-square block, the intra-prediction mode of the upper block may be arranged to have a higher priority than the intra-prediction mode of the left block.
[172]
Corresponds to the case of the 35 intra prediction modes defined to be selectively used, conversion to the index corresponding to the intra-prediction mode, extended intra-prediction mode of a neighboring block, or 35 intra-prediction mode-extended intra-prediction mode, the group It is converted into an index that can lead to a candidate. Groups to convert the index - may be defined using a table, a scaling operation based on a predetermined value may be used. Here, the group-defined table may be defined by a mapping relation between the intra-prediction modes are different from each other group (e.g., an extended intra prediction mode 35 and the intra-prediction mode).
[173]
For example, using the left neighboring blocks are 35 intra-prediction mode, when the intra-prediction mode 10 (horizontal mode) of the left neighboring blocks, to be converted to an index 16 corresponding to a horizontal mode in the intra-prediction mode, it extended it can.
[174]
Or, using the intra-prediction mode, the upper neighboring blocks extended and, when the intra-prediction mode index of the upper neighboring block of 50 (vertical mode), to convert it to an index 26 corresponding to vertical mode at 35 intra-prediction mode have.
[175]
The above-described intra-prediction mode and for each determination method the luminance components and the chrominance components on the basis of independently be the intra prediction modes derived, the color difference component may be derived in dependence on intra-prediction mode of the luminance component.
[176]
Specifically, the intra-prediction mode of the color difference component may be determined on the basis of the intra-prediction mode of the luminance component as shown in Table 1.
[177]
TABLE 1
Intra_chroma_pred_mode[xCb][yCb] IntraPredModeY[xCb][yCb]
0 26 10 1 X(0<=X<=34)
0 34 0 0 0 0
1 26 34 26 26 26
2 10 10 34 10 10
3 1 1 1 34 1
4 0 26 10 1 X
[178]
In Table 1 intra_chroma_pred_mode means information that is signaled to a specific intra-prediction mode of the color difference components and, IntraPredModeY shows an intra-prediction mode of the luminance component.
[179]
If the candidate list is determined, the candidate can be the same as the intra-prediction mode of a current block to be decoded, information indicating whether or not included in the candidate list. The information that can decrypt the current if the same candidate as the intra-prediction mode of the block to indicate that is included in the candidate list, and index information (e. G., MPM_index) indicating any one of the candidates. The intra-prediction mode of the current block may be set equal to the intra-prediction mode candidate is the index information points.
[180]
On the other hand, when representing the information does not have the same candidate as the intra-prediction mode of the current block included in the candidate list, the remaining intra-prediction mode information (e. G., Rem_intra_mode) for specifying any one of the remaining intra-prediction mode other than the candidate that can be decrypted. The intra-prediction mode of the current block may be determined based on the intra prediction mode is the intra-prediction mode information that indicates remaining. For example, the current intra-prediction mode may be determined by comparing the intra-prediction mode candidate with which the residual intra-prediction mode indication. For example, when the intra-prediction mode candidate is smaller than the intra-prediction mode to the intra-predicted residual mode instructions, adding 1 to the remaining intra-prediction mode can lead to intra-prediction mode of the current block.
[181]
10, may derive the reference sample for the intra prediction of the current block (S1010).
[182]
Specifically, it is possible on the basis of surrounding samples of the current block to derive a reference sample for the intra prediction. Surrounding the sample may be the means that reconstructed samples of the above-mentioned neighboring blocks, which may be restored after the sample of the in-loop filter to the previous reconstructed samples, or in-loop filter is applied has been applied.
[183]
It may be the surrounding sample restore the current block prior to use as a reference sample, a sample close to the filter based on a predetermined intra-filter may be used as a reference sample. To filter out near the sample by using the intra-filter it may also be referred to as reference sample smoothing (smoothing). The intra-filter may include at least one of the second intra-filter applied to a plurality of peripheral sample located in the first intra-filter or the same vertical line that is applied to a plurality of peripheral sample located in the same horizontal line. And either the first filter or the second intra-intra-filter based on the location of the sample is close to be selectively applied, the two intra-filter may be applied redundantly. In this case, the first may be an intra-filter or a second at least one filter coefficient of the intra-filter (1,2,1), but is not limited to this.
[184]
The filtering may be performed adaptively based on at least one of the size of the conversion block of the intra-prediction mode or the current block of the current block. For example, the filter when the intra-prediction mode of the current block, the DC mode, a vertical mode or horizontal mode can not be performed. If the size of the conversion block NxM, filtering may not be performed. Here, N and M may be the same or may be a value different from one another, 4, 8, 16 or any one of more values. For example, when the size of the transform block is 4x4, the filtering may not be performed. Alternatively, a current block of an intra-prediction mode, a vertical mode (or landscape mode) different from the group of - may be based on a comparison result between the (threshold) defined threshold can optionally perform filtering. For example, it is possible to perform the filtering only when the difference between the intra-prediction mode, the vertical mode of the current block is larger than the threshold value. The threshold may be defined by the size of the transform block as shown in Table 2.
[185]
TABLE 2
8x8 transform 16x16 transform 32x32 transform
Threshold 7 1 0
[186]
The intra-filter image encoder / decoder groups group can be determined by any one of a plurality of intra-defined filter candidates. Of a plurality of candidate intra-filter for this purpose there is a separate index that specifies the intra-filter for the current block can be signaled. Alternatively, it is also an intra-filter determined on the basis of at least one of a current block of the size / shape, the change of the information, or close to the sample on the size / shape of the transform block, the filter strength (strength) (variation).
[187]
Intra prediction of the current block may be performed by using a plurality of reference sample line. For example, it may be performed using more than one reference sample line.
[188]
Whether using a plurality of reference sample line to perform the intra prediction is checked it may be determined adaptively according to the present block size, or form intra-prediction mode. For example, it can be restricted from performing intra prediction using the current block when the intra prediction mode, the non-directional intra-prediction mode or an intra prediction mode of a certain direction, a plurality of reference sample line. Here, the specific direction may comprise a vertical, horizontal or diagonal direction or the like.
[189]
10, may perform intra prediction by using the intra-prediction mode, the reference samples in the current block (S1020).
[190]
That is, by using the intra-prediction mode and a reference sample derived from a determined in S1010 S1000 may obtain the prediction samples of the current block. When the intra prediction is performed using a plurality of reference sample line, it is possible to obtain the prediction sample based on a weighted sum of reference samples belong to different reference sample line. For example, it is possible to derive the prediction sample to the first reference samples belong to the first reference line and the sample based on a weighted sum of the second reference samples the samples belonging to the second reference line. In this case, the first reference sample and the weight applied to the second reference sample may also have a different value according to the distance may have the same value and the prediction sample. For example, the first reference sample, and the length of the second reference and prediction of the target sample can be a sample with a higher weighting to close.
[191]
However, it can cause poor image quality of the prediction image problem due to use boundary samples in the case of intra prediction adjacent blocks. Accordingly, reference to, and may further involve the correction process for the predicted samples produced through the above-described prediction process, following FIG. 11 is a view of a closer look. However, the calibration process will be described later that is not limited to be applied only to the intra prediction sample, the sample can be applied to inter-prediction or reconstructed samples. FIG.
[192]
[193]
Figure 11 is one embodiment to which the present invention is applied, on the basis of difference information of the neighboring sample illustrates a method for correcting the predicted samples for the current block.
[194]
On the basis of difference information of the plurality of surrounding samples for the current block it can be corrected prediction samples of the current block. The correction may be performed for all the samples belonging to the current prediction block may be performed only for the prediction sample that belongs to a predetermined partial area of. Some areas may be one line / ten days in a row / column or more, which group for the compensation in the video coder / decoder - may be a motion area. For example, a plurality of row / column correction can be performed from a boundary of one of the rows / columns or the current block is located at the boundary of the current block. Or, some areas may be determined by a variable based on at least one of the current size / shape or the intra-prediction mode of the block.
[195]
Surrounding the sample may belong to at least one of the neighboring blocks in the upper of the current block, the left side, the upper left corner. The number of neighboring samples used for calibration may be two, three, four or more. Location of nearby samples may be determined variably according to the position of the target within the sample prediction compensation current block. Alternatively, some of the surrounding sample has a fixed position regardless of the position of the prediction target sample the correction, and the other may have a variable position depending on the position of the prediction samples subject to correction.
[196]
Difference information of neighboring samples could mean the difference between the samples around the sample, it may mean a value scaled to the difference samples to a predetermined constant value (e.g., 1, 2, 3, etc.). Here, the predetermined constant value can be determined in consideration of the position of the target compensation prediction samples, the position of the column or row to which it belongs prediction samples subject to correction, the position of the prediction samples in the rows or columns and so on.
[197]
For example, by using a difference between the current sample block of the intra prediction mode is the vertical mode is the case, close to the sample adjacent to the left boundary of the current block p (-1, y) and the upper left around the sample p (-1, -1) then it is possible to obtain a final prediction samples as shown in equation 1.
[198]
[Formula 1]
[199]
For example, by using a difference between the current sample block of the intra prediction mode is the horizontal mode is the case, close to the sample adjacent the upper boundary of the current block p (x, -1) and the upper left around the sample p (-1, -1) then it is possible to obtain a final prediction samples as shown in equation 2.
[200]
[Formula 2]
[201]
For example, by using a difference between the current sample block of the intra prediction mode is the vertical mode is the case, close to the sample adjacent to the left boundary of the current block p (-1, y) and the upper left around the sample p (-1, -1) you can obtain the final prediction samples. At this time, may be added to the difference samples to sample prediction, then scaling the difference samples to a predetermined constant value, it may be adding it to the prediction samples. Predetermined constant values used in scaling can be determined differently according to the columns and / or rows. As an example, then it is possible to correct the prediction samples as in equation (3) and equation (4).
[202]
[Formula 3]
[203]
[Formula 4]
[204]
For example, by using a difference between the current sample block of the intra prediction mode is the horizontal mode is the case, close to the sample adjacent the upper boundary of the current block p (x, -1) and the upper left around the sample p (-1, -1) It may obtain the final prediction sample, which is the same as described above in a vertical mode. As an example, it is possible to correct the prediction samples as shown in Equation 5 and Equation 6.
[205]
[Formula 5]
[206]
[Formula 6]
[207]
When the intra-prediction mode of the current block is a directional prediction mode, the intra prediction of the current block may be performed on the basis of the directivity of the directional prediction mode. For example, Table 3, illustrates the intra prediction mode is the intra-direction parameter (intraPredAng) from Mode 2 to Mode 34 shown in FIG.
[208]
TABLE 3
predModeIntra 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
intraPredAng - 32 26 21 17 13 9 5 2 0 -2 -5 -9 -13 -17 -21
predModeIntra 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
intraPredAng -32 -26 -21 -17 -13 -9 -5 -2 0 2 5 9 13 17 21 26
[209]
Table 3, it is also possible which has been described by illustrating the 33 intra prediction modes, a greater number or a smaller number of intra prediction modes defined than than this.
[210]
Direction on the basis of the intra prediction mode, the look-up table that defines the mapping relationship between the intra-direction parameter, it is possible to determine the intra-direction parameter of the current block. Or, on the basis of information that is signaled via the bitstream, and may determine the intra-direction parameter of the current block.
[211]
Intra prediction of the current block, according to the orientation of the directional intra-prediction mode, may be performed using at least one of a left reference sample or reference sample top. Here, the top of the reference sample, (2W-1, from the reference sample having a smaller y-coordinate than the predicted target sample (x, 0) included in the top row within the current block (for example, (-1, -1) from 1)) means, and the left reference sample, reference sample having a smaller x coordinate than the predicted target sample (0, y) including a current block in the leftmost column (for example, (-1, -1) of ( 1, can refer to 2H-1)).
[212]
Depending on the direction of the intra-prediction mode, it is also possible to arrange the reference sample of the current block into a one-dimensional. Specifically, it is possible to select the case, these reference samples of the home, and each prediction samples to be aligned in the vertical or horizontal direction to be used for both the intra-prediction top reference sample and reference left sample when the current block .
[213]
For example, when the intra-direction parameter is a negative number (for example, in Table 3, when the intra-prediction mode that from Mode 11 corresponds to the Mode 25), the top of the reference samples and the material arranged in a horizontal or vertical direction of the left reference sample one-dimensional you can configure the reference sample group (P_ref_1D).
[214]
12 and 13 are a view that shows the rearranged one-dimensional reference sample group of samples in a line reference.
[215]
Whether to re-arrange the reference samples in the vertical direction or it gets re-arranged in the horizontal direction, it can be determined according to the directional intra-prediction mode. For example, if between the intra-prediction mode index is 11 to 18, as shown in the example in shown in Figure 12, by rotating the top of the reference sample of the current block in the counterclockwise direction, the left reference samples and the top of the reference samples are vertically you can create a one-dimensional array with a reference sample group.
[216]
On the other hand, the intra-prediction mode if the between the index is 19 to 25, as shown in the example in shown in Figure 13, by rotating the left reference sample of the left reference samples of the current block in the clockwise direction, the left reference sample and reference top samples It may generate a one-dimensional reference sample group arranged in a horizontal direction.
[217]
If the intra-direction parameter of the current block is non-negative, the intra prediction of the current block may be performed using only the left reference sample or reference sample top. This makes it possible to for the intra prediction mode is the intra-direction parameter is not a negative reference sample, or using only the left upper reference sample, generating a one-dimensional reference sample group.
[218]
On the basis of the intra-direction parameter, and reference for specifying the at least one reference sample in which the prediction is used to predict the sample can lead to the sample index determined iIdx. Further, the weight-related parameter i is used to determine the weight applied to each of the reference sample on the basis of the intra-direction parameter fact can induce. For example, to (7) and (8) shows an example of inducing the reference sample determined index and weight-related parameter.
[219]
[Expression 7]
[220]
[221]
As it is shown in Equation 7, and i iIdx fact is variably determined according to the inclination of the directional intra-prediction mode. At this time, the reference identified by the iIdx sample may correspond to the integer pel (integer pel).
[222]
On the basis of the determined reference sample index, it is possible to specify the at least one reference sample for each prediction samples. For example, on the basis of the determined reference sample index, it is possible to specify the position of the reference sample a reference sample group of one-dimensional prediction for predicting a current block subject sample. On the basis of the reference sample of the specified location, it is possible to generate a prediction image for the prediction sample (i.e., prediction samples).
[223]
[224]
When considering the intra-prediction mode of the current block, when the prediction samples are predictable only one reference sample, on the basis of reference samples which are specified by the intra-prediction mode of the current block to generate a prediction image for the prediction sample can.
[225]
For example, when passing through the virtual angle line (angular line) is a one-dimensional reference sample group within the integer pel (integer pel) (i.e., the reference integer position samples) according to the inclination angle or the intra-prediction mode of intra prediction modes, integer copy of the reference sample pel position, or, in consideration of the position between the reference sample and the prediction sample integer pel position, it is possible to generate a prediction image for the prediction sample. For example, Equation 8 to, a predicted image P (x, y) for the prediction sample to copy the block of the intra prediction mode, the reference sample P_ref_1D (x + iIdx + 1) dimensional reference sample group specified by the shows an example of generating.
[226]
[Formula 8]
[227]
When considering the intra-prediction mode of the current block, when the prediction sample is judged to be not predictive of only one reference sample, using a plurality of reference samples, it is possible to make predictions about the prediction samples. In particular, performing the reference samples and interpolating linear neighboring reference sample neighboring the reference sample at a predetermined position, or tap filter (Tap filter) based on interpolation of the predetermined position in accordance with the intra-prediction mode of the current block, the prediction sample for you can make predictions. The number of taps of the interpolation filter may be a natural number equal to or greater than 2. Specifically, tap filter may be an integer number of tabs 2, 3, 4, 5, 6 or more of (Tap filter) according to the number of reference samples are interpolation target.
[228]
Be the case for example, nothing more than a virtual angle line (angular line) is one-dimensional referent peonseu sample group within the integer pel (integer pel) (i.e., the reference integer position samples) according to the inclination angle or the intra-prediction mode of intra-prediction mode , by interpolating the reference samples and the reference samples L / R or the adjacent under the / of the reference sample placed in the angle of the line, it is possible to generate a prediction image for the prediction sample. For example, Equation (9) shows an example of the interpolation of two or more reference samples, generating a prediction sample P (x, y) for the prediction sample.
[229]
[Formula 9]
[230]
Coefficient of the interpolation filter, the weight-related parameter i fact may be determined based on. For example, the coefficients of the interpolation filter can be determined based on the distance between the line angle (angular line) a small number of pel (fractional pel) and the integer pel (i.e., a constant position of each of the reference sample) in the.
[231]
Equation 10 is an illustration of a case where the number of tap-tap filter 4.
[232]
[Equation 10]
[233]
When using a multi-tap filter, the sample position does not correspond to the left side reference sample or reference sample is the top, it may be replaced with the closest reference sample at the location. For example, when the math expression in 9, P_ref_1D (x + iIdx-1) the sample of the position do not correspond to the top of the reference sample, the sample may be replaced by a reference sample position P_ref_1D (x + idx). Or, P_ref_1D (x + iIdx + 2) if the sample does not correspond to the upper position of the reference sample, the sample may be replaced by a reference sample position P_ref_1D (x + iIdx + 1).
[234]
Multi-tap filter may be applied to a plurality of the reference sample placed in a line along the horizontal or vertical direction. Alternatively, a multi-tap filter may be applied to a predetermined polygonal shape, such as square. Form as a multi-tap filter is applied may be determined variably according to the current block size, the shape or the intra-prediction mode.
[235]
As shown in Equation 8 to 10, to generate the prediction samples to interpolate a reference sample by using the directional intra-prediction, it can be referred to as intra prediction sample interpolation technique.
[236]
In using the intra prediction sample interpolation technique to filter a large number of tabs on the tab it does not necessarily guarantee improved forecast accuracy. For example, or the current block size, the height or width, such as 2x16 for significantly larger asymmetric coding unit than the other, if the blocks of smaller size, such as 4x4, The use of four or more tap-tap filter, rather that smoothing tasked prediction image It can result. Thus, it is possible to determine the kinds of tap filter adaptively based on the current block size, the shape or the intra-prediction mode. Here, the kinds of the tap filter, may be divided by the number of tabs, the filter coefficients, the filter strength (High / drug), at least one of the filtering direction. The filter tap number or the like filter coefficients may be determined to vary according to the filter strength. Furthermore, can be determined, the horizontal direction interpolation, vertical interpolation direction or the horizontal and vertical direction interpolation filter, such as a tab application direction according to the type of filter tabs. May be variably set the application direction of the current block within the line-by-line (row or column) or a sample-tap filter.
[237]
Specifically, it is possible to determine the kinds of tap filter to be used on the basis of the width or height of the current block. In one embodiment, it can be smaller than the defined at least one of the values of the width or height of the current block-based values, by using the 4-tap filter instead of the 2-tap filter to perform the intra prediction sample interpolation technique. On the other hand, it can be not less than the value defined based both width and height of the current block, using a 4-tap filter to perform the intra prediction sample interpolation technique. Here, the defined value is based, it may represent a value, such as 4, 8, or 16.
[238]
Alternatively, the width and height of the current block to determine a type of tap filter to use based on whether the same value. For example, it is possible, if the value of the width and height of the current block is different, using a 4-tap filter instead of the 2-tap filter to perform the intra prediction sample interpolation technique. On the other hand, it is possible to perform the intra prediction sample interpolation technique to the width and height of the current block using the case of having the same value, the 4-tap filter.
[239]
Alternatively, it is possible to determine the type of filter you want to use tabs, depending on the ratio of the width and height of the current block. For example, the ratio (i. E., W / h or h / w) the intra-prediction to the group using the case definition is less than the threshold, the 2-tap filter instead of 4-tap filter in the width (w) and height (h) of the current block It may perform a sample interpolation technique. On the other hand, can be not less than the current ratio of the width and height of the block-based threshold value is defined, using a 4-tap filter to perform the intra prediction sample interpolation technique.
[240]
Alternatively, it is also possible to determine the kinds of tap filter in accordance with the current block intra-prediction mode, the shape or size. For example, the current block 2x16 shape coding unit, the intra-prediction mode of the current block to perform the intra prediction mode is the case, the intra prediction sample interpolation technique using the tap filter tap number n belonging to the horizontal range . On the other hand, it can be the current block to perform the intra prediction sample interpolation technique using a coding unit of 2x16 mode, when the intra-prediction mode of the current block is an intra-prediction mode belonging to a vertical range, the tap number m-tap filter.
[241]
On the other hand, it is possible to perform the current block is an intra prediction sample interpolation technique using a coding unit of a 16x2 mode, when the intra-prediction mode of the current block is an intra-prediction mode belonging to a horizontal direction range of tap number n-tap filter. On the other hand, it can be the current block to perform the intra prediction sample interpolation technique using a coding unit of a 16x2 mode, when the intra-prediction mode of the current block is an intra-prediction mode belonging to a vertical range, the tap number m-tap filter.
[242]
Here, the horizontal range may indicate a predetermined range including the intra-prediction mode in the horizontal direction, vertical direction, the range may be indicative of the predetermined range including the intra-prediction mode in the vertical direction. For example, when based on a 35 intra-prediction mode, the horizontal range of mode 11 from indicates the intra-prediction mode between the mode 18, the vertical range may be indicative of the intra-prediction mode among from the mode 19, mode 27.
[243]
In addition, n and m is a constant greater than 0, n and m may have a different value. Or, n and m are set to have the same value, but may also be n differently set the at least one filter coefficient or the filter strength of a filter tap and m-tap filter.
[244]
[245]
When using a directional prediction mode, or DC mode, there is a possibility cause image quality degradation at the block boundary. On the other hand, if the planar mode, the image degradation of the block boundary relative to the prediction mode that has a relatively small advantage.
[246]
Planar prediction may be performed using the reference sample, the weighted prediction by the first prediction image and the after generating a second prediction image in the vertical direction, the first prediction image and the second prediction image in the horizontal direction.
[247]
Here, the first prediction image is placed in the horizontal direction of the predicted target sample may be generated based on the reference samples adjacent to the current block. For example, the first predictive image can be generated based on the weighted sum of the reference sample placed in the horizontal direction of the prediction samples. In this case, the weight applied to each of the reference sample may be determined in consideration of the size or the distance of the current block and the prediction sample. Samples in the horizontal direction are, a left reference sample placed on the same horizontal line and the prediction sample (i.e., a left reference sample having the same y-coordinate and the prediction sample) and refer to the right sample (i.e., the same y-coordinate and the prediction sample It may comprise a reference sample having the right). At this time, refer to the right samples, may be derived from the top of the reference sample of the current block. For example, the right side reference sample may be or derived by copying the values of the reference sample placed on top of the same vertical line, derived as a weighted sum or average value of a plurality, such as the upper reference sample. Here, the top is placed on the same vertical line with the right side reference sample reference sample may comprise a reference close to the upper right corner of the current block samples (i.e., the upper reference having the same x-coordinate and the right side reference sample sample). Or, it may be different from the position determined at the top refer to samples used to derive the right side reference sample based on the location of the shape, size or the prediction samples of the current block.
[248]
A second predicted image is placed in the vertical direction of the prediction target sample may be generated based on the reference samples adjacent to the current block. In one embodiment, the second prediction image can be generated based on the weighted sum of the reference sample placed in the vertical direction of the prediction samples. In this case, the weight applied to each of the reference sample may be determined in consideration of the size or the distance of the current block and the prediction sample. The sample located in the vertical directions, prediction sample and the top of the reference sample placed on the same vertical line (i.e., the top of the reference sample having the same x coordinates and the prediction sample) and the lower reference sample (that is, the same x-coordinate and the prediction sample It may comprise a reference sample having the bottom). At this time, the lower reference sample, reference sample can be derived from the left of the current block. For example, the lower reference sample may be or derived by copying the values of the left reference sample placed in the same horizontal plane, leading to the left, such as multiple reference samples of the weighted sum or average value. Referring left lying on the same horizontal line and the lower reference sample is a sample may include a reference close to the bottom left corner of the current block samples (i.e., the left reference sample having the same y coordinate and the lower reference sample). Alternatively, the position of the top of the reference sample which is used to induce, bottom reference samples based on the location of the size, shape or the prediction samples of the current block may be differently determined
[249]
Alternatively, it is also possible to drive at least one of a right side reference sample or reference samples at the bottom by using a reference sample and reference both left top of the sample.
[250]
For example, it is possible to determine a weighted sum or average of the top of the reference samples and the reference samples left of the current block to the right side or bottom of the reference sample reference sample at least one value of.
[251]
Or, induce the right side reference sample and the bottom of the reference sample using the bottom left of reference samples, and then induce the reference sample at the bottom right side adjacent to the lower right corner of the current block by using the upper reference sample right, the lower right corner induction reference sample You may. Lower right reference samples, it may be derived based on a weighted sum or average of the top of the reference samples and the reference samples left-right of the current block. In this case, the weight applied to the top of the reference samples and the reference samples left-right may have the same value, it may be determined based on the width / height of the current block.
[252]
When the lower right refer to the sample is determined by interpolation (interpolation) to the lower reference sample and the reference upper right sample right, to induce the right side reference sample, and interpolating the bottom reference sample and the lower left reference sample right, to drive the lower reference sample can. In this case, the coefficients of the interpolation filter can be determined based on the distance or the distance to the lower left corner of the reference sample distance, to the upper right side of the reference sample to the current block size, the type of the current block, see lower-right corner of the sample.
[253]
Right reference to derive the sample or reference samples left side, using a reference sample in a fixed position, or may use a reference sample is selected adaptively based on the location of the prediction samples. For example, the right side reference sample, or derived independently of the position of the prediction sample using a right see above samples, see the left side is selected according to the position of the prediction sample sample (e. G., Having the same y-axis coordinate and the prediction sample a reference sample) or upper reference samples (see, for example, having the same x-axis coordinate and the prediction sample sample) may be acquired by using. Alternatively, the lower reference sample, see the left side is or derived using the reference lower left regardless of the position of the prediction samples a sample, selected according to the position of the prediction sample sample (see, for example, having the same y-axis coordinate and the prediction sample samples) or upper reference samples (see, for example, having the same x-axis coordinate and the prediction sample sample) may be acquired by using.
[254]
Figure 14 is a view showing an example of using a plurality of reference samples, leads to the right side reference sample or reference samples at the bottom. The current block is assumed to be a block having a size WxH.
[255]
Referring to (a) of Figure 14, first, based on a weighted sum or average value of the current upper right corner of the reference sample block P (W, -1) and the lower left sample P (-1, H), see lower-right corner of the sample It may produce P (W, H). In this case, the weight applied to the top of the reference samples and the reference samples left or right side is the same set, it may be determined based on the width (W) and height (H) of the current block. For example, if the current block is a non-square shape, weight applied to the reference upper right sample is determined as W / (W + H), weight applied to the bottom of the reference samples left can be determined by H / (W + H) have.
[256]
And, see lower-right corner of the sample P (W, H) and the right refer to the upper base of the sample P (W, -1), to generate a prediction target sample (x, y) the right reference sample P (W, y) for the can. For example, a right prediction sample P (W, y) may be computed as a weighted sum or average value of the bottom right of reference sample P (W, H) and the upper right reference sample P (W, -1). Also, it sees lower-right corner of the sample P (W, H) and the lower left reference sample P (-1, H) to be generated based on the object prediction samples (x, y) sample P (x, H) at the bottom with reference to the have. For example, see the bottom of the sample P (x, H) may be computed as a weighted sum or average value of the bottom right of reference sample P (W, H) and the left reference samples P (-1, H).
[257]
As shown in Figure 14 (b), refer to the right sample and when the bottom of the reference sample is generated by using the generated reference samples, a first prediction of the prediction samples Sample P h (x, y) and the second prediction sample P v may generate the (x, y). In this case, the first prediction sample P h (x, y) is generated based on the weighted sum of the left reference samples P (-1, y) and the right side reference sample P (W, y), the second prediction sample P v ( x, y) may be generated based on the weighted sum of the top of the reference sample P (x, -1) and the reference sample P (x, H) at the bottom.
[258]
15 and 16 is a diagram illustrating determining the right side reference sample and the bottom of the reference sample for one embodiment, a non-square block in accordance with the present invention.
[259]
As with the example in shown in Figure 15, and the current block is (N / 2) For non-square blocks of size xN, based on the upper right reference sample P (N / 2, -1), leading to the right side reference sample a left reference sample P (-1, N) at the bottom may lead to lower reference samples based.
[260]
Or, see the upper right reference sample P (N / 2, -1) and the lower left reference sample P refer to the right on the basis of at least one of the weighted sum, average, minimum or maximum value of (-1, N) sample or the bottom sample the can also be derived. For example, P (N / 2, -1) and P (-1, N) leading to the right side reference sample on the basis of the sum or the average or weighted, P (N / 2, -1) and P (-1, the N ), see lower-right corner of the sample on the basis of P (N / 2, N) a may lead to the right side reference sample and a back, a bottom reference interpolated samples and the upper right reference sample derived right. Or, P (N / 2, -1) and P (-1, N) leading to the bottom of the reference sample on the basis of the sum or the average or weighted, P (N / 2, -1) and P (-1, the N ), see lower-right corner of the sample on the basis of P (N / 2, N) to be the rear, to induce a bottom reference samples by interpolating the reference sample at the bottom left and bottom right of reference sample derived.
[261]
On the other hand, as shown in the example shown in Figure 16, and the current block is Nx (N / 2) if the size of the non-square blocks, based on the upper right reference sample P (N, -1), leading to the right side reference sample , may be based on a lower left reference sample P (-1, N / 2), leading to the lower reference sample.
[262]
Or, see the upper left sample P (N, -1), and the lower left reference sample P (-1, N / 2) weighted sum, average, minimum, or refer to the right on the basis of at least one of a maximum value sample or the bottom of the reference sample the can also be derived. For example, P (N, -1) and P (-1, N / 2) leads to the right side reference sample or to a weighted sum based on the average or, P (N, -1) and P (-1, the N / 2 ) can with reference to the lower right on the basis of the sample P (N, N / 2), a back, a bottom reference interpolated samples and the upper right reference sample right leads to derive the right reference sample. Or, P (N, -1) and P (-1, N / 2) leads to the lower reference sample or to a weighted sum based on the average or, P (N, -1) and P (-1, the N / 2 ) can be in the lower right on the basis of reference samples P (N, N / 2), a back, a bottom reference interpolated samples and the lower left reference sample right induce induce bottom reference sample.
[263]
In the example described with reference to FIG. 14 to FIG. 16, bottom reference sample, of the bottom reference sample and the lower left reference to the current block lies on the same horizontal line sample or reference right reference sample and the top right of the current block is placed on the same vertical line sample It is derived on the basis of at least one, shown at right samples, at least one of a lower left reference sample of the current block is placed on the same horizontal line and the right side reference sample and the reference upper right of the current block is placed on the same vertical line sample or the bottom reference sample It was said to be derived based. Unlike the above example, lead to the right side reference sample on the basis of at least one of the upper stop stop reference sample or reference samples or the left, it is also possible to derive the left reference sample. For example, an upper stop may generate sample and a sample leads to lower suspended by the lower reference samples left behind, the lower stop and the lower sample samples through interpolation (interpolation) or extrapolated (extrapolation) of the lower-left sample. In addition, the sample may generate the left stop and the right stop after induction sample using a right upper sample and the lower sample through interpolation or extrapolation of the right stop the sample and the upper right samples.
[264]
It may differently determine the position of the reference samples used to generate the first prediction image and the second prediction image based on the size or type of the current block. For example, it is possible to differently determine the position of the top left reference sample or reference samples are used to derive the right side reference sample or reference samples at the bottom depending on the size or type of the current block.
[265]
For example, if the current block is a square block of NxN in size, and the right reference sample is derived based on the reference upper right samples P (N, -1) On the other hand, the lower reference sample, see lower-left sample P (-1 , a N) may be derived based. Alternatively, at least one of a weighted sum, average, minimum or maximum value of the current block is NxN in size, if a square block, the upper reference sample P (N, -1), and the lower left reference sample P (-1, N) right It may derive the reference sample and the right the bottom of the reference samples based.
[266]
On the other hand, if the current block is a non-square block of Nx2 / N size, stop the upper reference sample P (N / 2, -1) and the lower left reference sample P (-1, N / 2) to the basis, and the lower stop reference samples P may lead to (N / 2, N / 2), and derives the lower reference sample on the basis of the derived sample, see the lower stop. For example, it is possible to derive the reference sample at the bottom through the reference sample and the lower stop interpolation (interpolation) or extrapolated (extrapolation) of a lower left reference sample. Or, if the current block is a non-square block of N / 2xN size, and with reference to the top right of the sample P (N / 2, -1) and left stop reference sample based on the P (-1, N / 2), the right stop reference may sample P (N / 2, N / 2) leads to, and deriving the right side reference sample on the basis of the stop right induced reference sample. For example, it is possible to derive the right of reference sample through the interpolation or extrapolation of the suspended sample and the reference sample, see the upper right-right.
[267]
First prediction image may be calculated on the basis of the weighted prediction of the reference sample placed on the same horizontal line and the prediction sample. In addition, the second prediction image may be calculated on the basis of the weighted prediction of the reference sample placed on the same vertical line and the prediction sample.
[268]
Not only in the above-described example, the average, minimum or maximum value, such as of reference sample may generate a first prediction image or the second prediction image.
[269]
Whether a prediction sample is contained in a predetermined area within the current block, a method for differently set, or the first lead to the prediction image or the second prediction image is a method of inducing the reference sample according to the size or type of the current block It can be differently set. Specifically, based on the location of the prediction sample and the right or bottom REFERENCES used to using the sample phase the sample position of the number or reference sample of the crystals, or the first prediction image or be used to derive a second predicted image It can be differently set the number of weights or reference samples.
[270]
For example, the right side reference sample to be used when generating the first prediction image by the prediction samples included in a predetermined region is derived using only a top reference sample, and the first prediction image by the prediction samples contained in the outer predetermined area when generating the reference sample is the right to be used it can be derived based on a weighted sum or average of the top of the reference samples and the reference samples left.
[271]
For example, as shown in the example in shown in Figure 15, if the current block is a height of a long non-square block than the width, the current block included in a predetermined region reference (x, y) the right side of the prediction samples of position samples P It can be derived from an (N / 2, -1). For example, the right side reference sample of the prediction samples included in a predetermined region may be created by copying the values of the reference P (N / 2, -1) sample. On the other hand, contained in a predetermined region outside the current block (x ', y') right side of the prediction samples of the reference sample position is P (N / 2, -1), and a weighted sum or average value of P (-1, N) a it can be converted to the base. See, for example, the right side of the prediction sample contained in the sample is outside the predetermined area P (N / 2, -1) and P refer to the lower right is derived based on the (-1, N) Sample P (N / 2, N) and the upper right reference samples P may be generated through interpolation of the (N / 2, -1).
[272]
Or, as in the example in shown in Figure 16, if the current block is a width of a long non-square block than the height, and the lower reference of the prediction samples of the location (x, y) included in a predetermined region within the current block samples P It can be derived from (-1, N / 2). For example, the bottom reference samples of the prediction samples included in a predetermined region may be created by copying the values of P (-1, N / 2) reference sample. On the other hand, contained in a predetermined region outside the current block (x ', y') of the bottom of the reference position of the prediction sample sample P (N, -1) and P (-1, N / 2) weighted sum or average value of a it can be converted to the base. See, for example, the lower the target of the prediction samples included in a predetermined area outside of the sample P (N, -1) and P (-1, N / 2), see lower-right corner of the derived on the basis of the sample P (N, N / 2 ) and may be generated through interpolation of a bottom reference sample P (-1, N / 2) left.
[273]
As another example, based on a weighted sum of the prediction samples, reference samples included in a predetermined area, the first prediction image or the second prediction generate an image, and the prediction sample outside the predetermined regions, the average value of the reference samples, the minimum value or using the first prediction image or the second group of the generating a predicted image, or reference sample either one at a defined location to the maximum value may generate a first prediction image or the second prediction image. For example, as shown in the example in shown in Figure 15, if the current block is a height of a long non-square block than the width, prediction samples of the location (x, y) included in a predetermined region within the current block, P (N / 2, see the right side derived from 1) the sample P (N / 2, y) or P (-1, y) by using either one of the left reference position of the sample may generate a first prediction image. On the other hand, prediction of the sample location that is (x ', y') is not included in the predetermined region, the P shown at right derived from the (N / 2, -1) sample P (N / 2, y ') and P ( -1, y ') may generate a first prediction image based on a weighted sum or average of the reference sample in position.
[274]
Or, as in the example in Fig. 16, when the current block is a long width, the non-square block than the height, the position of the prediction samples (x, y) included in a predetermined region within the current block, P (-1 , a bottom reference derived from the N / 2) sample P (x, N / 2), or P (x, -1) may generate a second prediction image by using only one of the upper reference position of the sample. On the other hand, is not included in the predetermined region (x ', y') of the prediction sample position, P (-1, N / 2) the lower reference sample P (x ', N / 2) derived from, and P ( -1, y ') may generate a second prediction image based on a weighted sum or average of the reference sample in position.
[275]
In the above-described embodiment, the predetermined region, may be adjacent to a boundary of the current block is one of the at least one sample or line them except the leftover region. Here, the boundary of the current block may include a left boundary and the right boundary, at least one of the upper boundary or lower boundary. In addition, the number or position of the boundary is used to define a predetermined area, it can be configured differently based on the type of the current block. Alternatively, the predetermined region may be a current block form in contact with one side of the corner block. At this time, the size and shape of the predetermined area may be determined based on at least one of the size or type of the current block.
[276]
Under the planar mode, the final predicted image is the liquid can be guided to the first predicted image and the weighted sum, average, minimum value or based on the maximum value of the second prediction image.
[277]
For example, Equation 11, the first predicted image P h and the second prediction image P v on the basis of the weighted sum of, illustrates an example of generating a final predictive image P.
[278]
[Equation 11]
[279]
In Equation 11, the estimation weight w may now be different depending on the type of the block, the size or position of the prediction samples.
[280]
For example, the current width of the block, the height or width of the current block-can be in consideration of the height ratio, etc., lead to estimation weight w. If the current block is the width of the largest non-square block than the height, and the a w such that more weight given to the first prediction image can be set. On the other hand, there is a w such that, if the current block has a height of greater width than the non-square blocks, and the second is more weight given to the prediction image can be set.
[281]
For example, if the current block is a square, the predicted weight w may have a value of 1/2. On the other hand, the current block is a non-square block height is greater than the width (e. G., (N / 2) xN) of the case, the predicted weight w is set to 1/4, the current block is a square block width ratio is greater than the height (e. G. , if the Nx (N / 2)), predict the weight w may be set to 3/4.
[282]
[283]
As well as a planar non-single mode, there can also in DC mode or intra prediction mode using the reference sample other than the left side reference sample and the reference sample top to perform intra prediction. In the following embodiments, referred to as reference sample and left refer to the first to the top of the reference sample and the sample, it will be referred to as a second reference sample a reference sample, except for the left upper reference sample and reference samples. For example, the second reference sample may comprise a right side reference sample and / or the lower edge of reference samples of the current block. Here, the bottom of the reference sample, means a reference sample having a larger y coordinate than the prediction samples of the bottom row within the current block, the right side reference sample, the current block in the rightmost having a larger x-coordinate than the column prediction sample It can mean a reference sample.
[284]
Whether to perform the intra-prediction using the two reference sample whether or not may be determined on the basis of at least one of the position of the size, shape, and intra-prediction mode or the prediction samples of the current block. For example, there is whether or not to perform intra prediction using the second reference samples with the intra-prediction mode of the current block basis of whether or not the vertical mode, horizontal mode, mode or a diagonal direction can be determined. Or, using a first reference sample for the prediction sample that is not included in the current block in respect to the predicted target samples included in a predetermined area using a second reference sample for performing intra prediction On the other hand, the current block within a predetermined region It can be configured to perform intra prediction.
[285]
Alternatively, the information indicating whether to enable or disable the second reference sample may be signaled via the bitstream. The information may be a flag of one bit, may be an index that is used to determine the intra-prediction mode of the current block.
[286]
Alternatively, it is also possible to determine the second reference sample used whether on the basis of whether or not using the second reference samples in neighboring blocks of the current block.
[287]
The second reference sample may be generated based on the first reference sample. For example, the configuration of the second reference sample by changing the order of the first reference sample, or may derive the first reference sample by using the first reference sample at the specified position.
[288]
17 is a view for explaining an example of inducing the second reference sample by using the first reference sample.
[289]
First, it is possible to derive the current reference upper right corner of the block samples r (W, -1) and the lower left reference sample r (-1, H) Reference sample P (W, H) at the bottom right is derived on the basis of. Specifically, the lower right side reference sample may be derived from a weighted sum or average of the operation, see the top right of the sample and the reference sample at the bottom left. Equation 12 shows an example of inducing the lower right of reference sample.
[290]
[Equation 12]
[291]
, See lower-right corner of the sample, as shown in Equation (12) it can be calculated based on a weighted sum between the top of the reference sample and the reference sample at the bottom left right. In this case, the weight applied to the top of the reference samples and the reference samples left bottom right can be determined according to the current width of the block and nopyiyi. In one example, it may have different weights for the current, while the block is the same weight in the upper right reference samples, and the lower left reference sample if the square application, see the current block is the case of non-square, the upper and lower reference sample and the left-right sample applied. However, the weight setting method shown in Equation (12) will be shown as an example of the present invention, but the invention is not limited to this. In addition to the example shown in Equation 12, the current block size, the form, at least one of the intra prediction mode, intra prediction mode of the reference sample availability, availability of a neighboring block, or whether the surrounding blocks if the neighboring block is coded in the intra-prediction mode It may be determined based upon the weight.
[292]
Right reference sample may be derived based on the reference sample top and bottom right of the right side reference sample. For example, see the right side the sample can be obtained by interpolating the reference sample top right and bottom right side reference sample. Equation 13 shows an example of inducing the right side reference sample.
[293]
[Equation 13]
[294]
As shown in equation (13), shown at right sample P r (W, y) (wherein, y is an integer between 0 and CU height (cu_height)), see upper right samples r (W, -1) and the lower right reference samples P may be obtained by a weighted prediction (W, H). In this case, the weight applied to the top of the reference sample and the reference sample at the bottom right of the right may be determined based on at least one of a position of the width, height, or the right side reference sample of the current block. For example, as in the example shown in the equation (13), the upper right reference sample, (H-1-y) / H which weights are applied the other hand, the lower right reference samples (y + 1) / H The weight applied to the can. However, the weight setting method shown in Equation (13) is intended as showing an example of the present invention, but the invention is not limited to this. In addition to the example shown in equation (13), the current block size, the form, at least one of the intra prediction mode, intra prediction mode of the reference sample availability, availability of a neighboring block, or whether the surrounding blocks if the neighboring block is coded in the intra-prediction mode It may be determined based upon the weight.
[295]
Bottom reference sample may be derived on the basis of the lower left and lower right of reference sample reference sample. For example, see the bottom of the sample can be obtained by interpolating the lower left and lower right of reference sample reference sample. Equation 14 shows an example of inducing the bottom reference sample.
[296]
[Equation 14]
[297]
As it is shown in Equation 14, and the lower reference sample P b (x, H) (wherein, x is an integer between 0 and CU width (cu_width)), see lower-left sample r (-1, H) and lower-right reference samples P may be obtained by a weighted prediction (W, H). In this case, the weight applied to the bottom of the reference samples and the reference samples left at the bottom right may be determined based on at least one of a position of the width, the height or the bottom reference samples of the current block. For example, as in the example shown in the equation (14), the lower left reference samples (W-1-x) / W is a weight of application of the other hand, see lower-right corner of the sample, the (x + 1) / H The weight applied to the can. However, the weight setting method shown in Equation (14) is intended as showing an example of the present invention, but the invention is not limited to this. In addition to the example shown in Equation 14, the current block size, the form, at least one of the intra prediction mode, intra prediction mode of the reference sample availability, availability of a neighboring block, or whether the surrounding blocks if the neighboring block is coded in the intra-prediction mode It may be determined based upon the weight.
[298]
If the current block is a non-square shape, and may be the right side reference sample and lower reference sample derived based on the example described with reference to FIG. 15 and 16 above.
[299]
Can lead to a second reference sample, using the first reference sample in a fixed position with the right side reference sample and the reference samples, the lower the top of the sample and reference sample, see lower-left-right, etc., as in the above example. Unlike the above example, using the first reference samples of different positions and the top reference sample and / or a lower left reference sample right may derive a second reference sample. For example, it is possible to derive the right side reference sample and lower reference sample by using a first reference sample, such as current interruption block top stop reference sample or to the left of the current block of samples.
[300]
Alternatively, it is also possible to determine the first reference sample is used to derive a second reference sample in accordance with the intra-prediction mode of the current block. For example, the right side reference sample and / or the bottom reference sample may be derived based on the left refer to samples and / or see the top of the sample currently being specified by the directional intra-prediction mode of the block.
[301]
Alternatively, it is also possible to determine the second reference sample by using a plurality of the left reference sample and / or a plurality of upper reference sample. For example, the right side reference sample, and the lower reference sample, or at least one of the lower reference sample right side is the weighted sum of a plurality of reference left samples, the average value, or generated on the basis of the maximum or minimum value, the weighted sum of a plurality of reference top sample, the mean value a, maximum or minimum value may be generated based on.
[302]
Alternatively, the first copy to the reference sample may generate a second reference sample. At this time, the reference first used to generate a second reference sample The sample may have a fixed position may be determined adaptively according to the current block size, shape, and position of the intra-prediction mode or the second reference samples.
[303]
In the example described above, the lower numbered reference sample W, although illustrated to the right side reference sample H individuals, than may derive a greater number of lower reference sample and / or reference samples of the right side. For example, see the top right of the outermost sample r samples, see (2W-1, -1) or to raise and lower reference sample up to the same vertical line, the bottom left-r to refer to the right on the same horizontal line and the (-1, 2H-1) Samples the it can be derived.
[304]
At this time, the reference at the bottom having a larger x-coordinate than the W samples or generated by extrapolating the lower reference sample and the lower right reference samples left, see lower-right corner of the sample P (W, H) and the reference at the bottom right-most sample P (2W-1, to H) may be generated by interpolation. Choi, see lower-right corner of the sample may be generated by the weighted sum operation between the outermost upper right reference sample r see above (2W-1, -1), or the generation copy, the rightmost sample and the lower left reference sample. See the right side having a larger y coordinate than H sample or generated by extrapolating the reference sample at the bottom right and see the top right of the sample, a reference lower-right corner of the sample P shown at right (W, H) and the lowest sample P (W, 2H-1) It may be generated by interpolation. In this case, the reference sample is the bottom right of the bottom left reference sample r or generated by copying the (-1, 2H-1), may be generated through weighted sum operation between the bottom left and the top left reference sample reference sample.
[305]
First generating a first one-dimensional reference sample groups by arranging the first reference sample in one dimension, and by arranging the second reference samples with one dimension it is possible to generate a second one-dimensional reference sample group. In this case, the first one-dimensional reference sample group of the may be configured of the first reference sample and reference, the second as well as the sample to include at least one, a second one-dimensional reference sample group as well as a second reference sample, the 1 of the reference sample may be configured to include at least one.
[306]
18 is a diagram illustrative of the reference samples that make up the one-dimensional reference sample group.
[307]
As with the example in shown in (a) of Figure 18, the first one-dimensional reference sample group may be configured to present the left reference samples and the upper block of the reference sample.
[308]
On the other hand, as shown in the example in shown in (b) of Figure 18, the second one-dimensional reference sample group as well as the right side reference sample and the bottom of the reference sample of the current block, the more the portion left reference samples and some of the upper reference sample It may be configured to include.
[309]
That is, the reference lower left of the left reference sample sample r (-1, H) and the y coordinate is greater than the left lower left reference sample reference samples may be included in both the first one-dimensional reference sample group and a second one-dimensional reference sample group have. Also, see the upper right of the top of the reference sample sample r (W, -1) and the reference large upper x coordinate than the reference samples the samples may be included both the upper right to the first one-dimensional reference sample group and a second one-dimensional reference sample group have.
[310]
Alternatively, the current block size, the shape or the intra-prediction mode of the at least the one based on the first one-dimensional reference sample group only to comprise the part first reference sample, or the second one-dimensional reference sample groups see the part No. 1 only sample It may also include a. As well as the configuration of the one-dimensional reference sample group, the flowchart arrangement of reference samples that make up the one-dimensional reference sample group based on at least one of the current block size, the shape or the intra-prediction mode may be determined in a variable.
[311]
For ease of illustration, the embodiment is described hereinafter, and to the nominal as a sample group of the first reference sample group (e.g., a first one-dimensional reference sample group), including a left reference sample and reference top samples of the present block, a reference sample group including the right side reference sample and the reference sample at the bottom of the current block will be referred to as a second reference sample group (e.g., a second one-dimensional reference sample group). For example, the first reference sample group and a second group of reference samples can be classified according to whether they contain the right side reference sample and lower reference sample. In addition, in order to perform intra prediction of the prediction sample, a is referred to as a sample a first base reference sample is selected from the first reference sample group designation, the called a sample No. 2 based on reference samples selected from the second reference sample group It will be nominal.
[312]
The first reference sample by using a group or at least one of a second reference sample group and can be the intra prediction of the current block is performed. For example, a predicted value of a prediction target block is the current sample may be obtained based on at least one of the second reference samples selected based on the first reference sample group of the first reference sample, or the second reference samples selected in the group based. In this case, the first reference base reference sample and / or the second base sample can be determined based on at least one of the current form of the block, the size or the intra-prediction mode. When one embodiment, the intra-prediction mode of the current block is determined, according to the determined intra prediction mode, the direction, and specifying a first base reference sample for the prediction sample, the on, prediction sample according to the determined direction opposite to the intra-prediction mode 2, the basic reference samples can be identified.
[313]
Alternatively, the determining a second position of the base reference sample on the basis of a first position of the base reference sample, or may determine the first position of the base reference sample on the basis of the 2-position of the base reference sample. For example, the reference a second base having a value select a second base reference sample having the same x coordinate or the same y-coordinate and one basic reference sample, or first plus an offset to the x-coordinate or y-coordinate of the base reference sample Sample the may be selected. Here, the offset may have a fixed value may be determined adaptively according to the current block size, the shape or the intra-prediction mode.
[314]
Or, on the basis of the position of the prediction sample and may determine positions of the first reference based on reference samples and / or the second base sample. For example, the having selected the same x-coordinate or the first reference sample and / or the second base reference sample base having the same y-coordinate and the prediction sample, or, adding an offset to the x-coordinate or y-coordinate of the prediction sample value 1 may be selected based on the reference sample and / or reference the second base sample. Here, the offset may have a fixed value may be determined adaptively according to the current block size, the shape or the intra-prediction mode.
[315]
Prediction value of a prediction target sample may be generated based on at least one of the second prediction image based on the first prediction image or the second base reference samples based on the reference sample the first base. In this case, the first prediction image can be generated on the basis of the bar described by equation (8) to equation (10) described above.
[316]
A second predicted image is the second basis of reference samples are identified according to an inclination of the intra-prediction mode of the block may be generated by interpolating or copying. In one embodiment, Equation 15 is a view showing an example of inducing the second prediction image by copying the reference sample the second base.
[317]
[Equation 15]
[318]
In the equation P 15 2 (x, y) represents the prediction image of the second, P_2nd_1D (x + iIdx + 1 + f) represents the reference sample the second base.
[319]
If one of the not be able to express the inclination of the intra-prediction mode of the current block based on only two reference samples, it is possible to generate a second prediction image by interpolating a plurality of second base reference sample. Specifically, the virtual angle line according to the slope and / or the angle of the intra-prediction mode integer pel (integer pel) If only (that is, a reference sample of a constant position), the second reference is adjacent to left and right or up and down the angle of the line by interpolating the sample it can obtain the second prediction image. For example, Equation (16) shows an example of obtaining a second prediction image by interpolating the second reference samples.
[320]
[Equation 16]
[321]
Coefficient of the interpolation filter, the weight-related parameter i fact may be determined based on. For example, the coefficients of the interpolation filter can be determined based on the distance between the line angle (angular line) a small number of pel (fractional pel) and the integer pel (i.e., a constant position of each of the reference sample) in the.
[322]
In Equation 16, but illustrates an interpolation filter of tap number 2, it is also possible to use a large number of tap interpolation filter than two.
[323]
The first on the basis of at least one of the prediction image or the second prediction image may obtain a final prediction image of the prediction samples. For example, first determine the predicted image as a final prediction image of the prediction sample, or it is possible to determine a final prediction image of the prediction samples a second prediction image. Or, it may be the first on the basis of the predicted image and the weighted sum or averaging operation of the second prediction image to determine the final prediction image of the prediction samples. Equation 17 shows an example of obtaining a final prediction sample based on a weighted calculation of the first prediction image and the second prediction image.
[324]
[Equation 17]
[325]
In the equation P 17 1 (x, y) is a first prediction image, P 2 (x, y) represents the second prediction image. In addition, w (x, y) represents the weight given to the first prediction image.
[326]
A first prediction image and the weights imparted to the second prediction image, the position of the prediction sample and can be determined based on at least one of the current block size, the shape or the intra-prediction mode. For example, Equation (18) shows an example in which the weight is determined by the position of the target sample size and the prediction of the current block.
[327]
[Equation 18]
[328]
In the equation 18, W and H represent the width and height of each current block, (x, y) represents the coordinates of the prediction samples.
[329]
As in the example shown in the equation (18), prediction sample is more adjacent to the upper left corner of the current block is set larger the weight given to the first prediction image, as the prediction sample is adjacent to the lower right corner of the current block it is possible to set a larger weight given to the second prediction image.
[330]
Alternatively, it is also possible to derive a weight from neighboring blocks of the current block. Here, the neighboring blocks of the current block, may include at least one of the current top of the neighboring blocks of the block, the left neighboring block or the neighboring block adjacent to the corner (e.g., upper left adjacent block, upper right neighboring blocks or lower left adjacent block) have.
[331]
Alternatively, the information for determining the weight can be signaled via the bitstream. The information may represent a weighting value applied to the first prediction image or the second prediction image, may represent a weighted difference value between the current block and the neighboring blocks.
[332]
As in the above example, the first prediction image and the second prediction image may be referred to as bi-directional intra prediction (intra Bi-Prediction) that through a weighted sum operation to obtain a final prediction image between.
[333]
Two-way intra prediction can be applied to a limited number of areas within the current block. At this time, the region is a two-way intra prediction that is applied may be defined based on the encoder and decoder. For example, it is possible to apply a bi-directional intra-prediction on a predetermined size (e.g., 4x4) block adjacent to the current block in the lower right corner. Alternatively, it is also possible to determine the current block size, shape, or two-way zone is intra prediction that is applied in accordance with the intra-prediction mode of adaptively. Alternatively, a bi-directional intra prediction (information indicating the size or position of the e.g., area) information for determining an area to be applied may be signaled via the bitstream.
[334]
19 is an example showing an area in which the bi-directional intra-prediction applies.
[335]
Within the two-way zone is intra prediction that is applied may be the final prediction sample by weighting prediction of the first prediction image and the second prediction image is obtained. On the other hand, in the region it is two-way intra prediction does not apply, can determine a first prediction image or the second prediction image to the final prediction sample.
[336]
In the above example, using the second reference samples selected based on the first reference sample and the second sample group selected based on the first sample group were said to be bi-directional intra-prediction is performed. Unlike the above example, it is also possible first to select a plurality of reference samples in the sample group to perform bi-directional intra-prediction or the intra prediction by performing the two-way selecting a plurality of reference samples from the second sample groups. For example, it is possible to perform bi-directional intra prediction by selecting the top of the reference sample and the reference sample of the left, the first sample group, if the intra-prediction mode of the current block in the upper right diagonal direction or the lower left diagonal direction. In other words, the second reference image is obtained on the basis of the reference sample at the bottom of the first reference image is obtained on the basis of the upper reference sample weighted prediction, it is possible to obtain a final prediction block of the current sample.
[337]
Alternatively, it is also possible to perform bi-directional intra prediction by selecting the second group of samples of the right and bottom of the reference sample reference sample in accordance with the intra-prediction mode.
[338]
Two-way intra prediction may be defined by independent intra prediction modes. For example, by defining the N number of bi-directional intra-prediction mode corresponding to the N-directional prediction mode, the N number of directional prediction modes, it is possible to define a total of 2N + 2 of the intra-prediction mode. For example, in addition to the bi-directional intra-prediction mode to the intra prediction modes illustrated in Figure 8, a total of 68 intra-prediction mode (that is, two non-directional intra-prediction mode 33 intra-prediction mode and the 33 bi-directional intra-prediction mode ) it can be defined. It is of course possible to use a greater number or a smaller number of directional intra-prediction mode or bi-directional intra-prediction modes than 33.
[339]
Alternatively, it is also possible to decide whether or not to use the switch back, the determined intra-prediction mode determined by the intra-prediction mode of the current block in the bidirectional prediction mode. For example, when the intra-prediction mode of the current block is determined, it is possible to decode the information about whether or not to use the determined intra-prediction mode to the bi-directional intra-prediction mode. The information may be a 1-bit flag (e.g., bi_intra_flag), it not limited to this. The value of bi_intra_flag is zero, the directional intra-prediction is performed indicates, it has a value of bi_intra_flag 1, shows a bi-directional intra-prediction is carried out. That is, when the value of bi_intra_flag is 0, the first prediction, while the image is determined to be the final prediction samples of the current block, if the value of bi_intra_flag 1, the first prediction image and the to the current block a weighted prediction a second prediction image of it can be determined as the final prediction sample.
[340]
Or, one can determine whether or not according to whether or not a neighboring block neighboring the current block by using the bi-directional intra-prediction mode, the current block is used for bi-directional intra-prediction mode. For example, if the same as the intra prediction mode of the current block is derived on the basis of the intra prediction mode of a neighboring block candidate (i.e., MPM candidate), the neighboring block whether the current block uses a bi-directional intra-prediction mode two-way intra whether to use the predictive mode it can be equally determined and whether.
[341]
Alternatively, it is also possible to determine the bi-directional intra-prediction on the basis of whether or not to perform size and / or type of the current block. For example, it can be set to be bi-directional intra-prediction is allowed, only 32x32 or more blocks. Accordingly, while the size of the current block is smaller than 32x32, the bi-directional intra-prediction is not applied, not less than the size of the current block is 32x32, the bi-directional intra-prediction can be applied.
[342]
As another example, it is also possible to allow bi-directional intra prediction only for a square block or allow bi-directional intra prediction only for a block of non room type.
[343]
Alternatively, only some of the directional intra-prediction mode, may be applied to bi-directional intra-prediction. For example, Figure 20 is an example in which identification display a directional prediction mode, which allows bi-directional intra-prediction. As with the example in shown in Figure 20, it can be set to allow a two-way intra prediction only in the intra-prediction mode part between the horizontal and vertical directions. At this time, if the range within the intra-prediction mode is selected, when and by default also perform bi-directional intra-prediction, which is the range within the intra-prediction mode selected, the information that is parsed from the bitstream, the size or type of the current block of and it may determine whether to perform bi-directional intra-prediction mode on the basis of at least one.
[344]
The intra-prediction mode that allows a bi-directional intra-prediction is not limited to the example shown in Figure 20. The intra-prediction mode that allows a bi-directional intra-prediction may also be defined based on the encoder and decoder can be determined adaptively according to the size and / or type of the current block. Alternatively, the information for determining an intra-prediction mode that allows a bi-directional intra-prediction may also be signaled through a bitstream.
[345]
21 is a flowchart showing a current block is an intra-prediction method, based on the bi-directional intra-prediction mode according to the present invention.
[346]
First, one can determine whether the bi-directional intra-prediction is applied to the current block (S2110). Whether the bi-directional intra-prediction applied to the current block, the information parsed from the bitstream, can be determined on the basis of the current shape of the block, the size or the intra-prediction mode.
[347]
For example, after determining the intra-prediction mode of the current block based on the candidate list and the index, whether to apply a bi-directional intra-prediction on a current block based on the information (e.g., bi_pred_flag) it is parsed from the size, shape or the bitstream of the current block It may determine. Alternatively, it is also possible to have intra-prediction mode of the current block based on whether or not the directional prediction mode, the bi-directional intra-prediction is applied to determine whether the bi-directional intra-prediction is applied to the current block.
[348]
Then, it is possible to derive the reference sample of the current block (S2120). First, it is possible to derive the first reference sample adjacent to the left and top of the current block, when the bi-directional intra-prediction applied to the current block, further deriving a second reference sample that is adjacent to the right side and the bottom (S2130).
[349]
Next, a case where the bi-directional intra-prediction on a current block is not applied, it is possible to generate a first prediction image based on the at least one reference base sample of, first reference sample in accordance with the intra-prediction mode of the current block (S2140 ). In this case, the first prediction image may be determined as the final prediction samples of the current block.
[350]
On the other hand, in addition to the first prediction image when the bi-directional intra-prediction applied to the current block, it is possible to generate a second prediction image based on the at least one reference sample basis of the second reference sample (S2150). A first reference base reference sample and the second base sample may be determined based on the direction of the intra-prediction mode may be determined based on the position of the current block size, shape, or other reference sample basis. If the first prediction image and the second prediction image is obtained, and the first prediction image and the second weighted prediction a prediction image, it is possible to obtain a final prediction block of the current sample.
[351]
[352]
If the intra-prediction mode of the current block, the DC mode, the DC value induce DC value, derived from the reference sample can be determined by the values of prediction samples the current block. For example, one can determine if the current intra prediction mode is the DC mode of a block, determining the average value of the upper reference samples and reference samples left of the current block from a DC value and a DC value to predict the sample values of the current block. At this time, the upper left reference sample r (-1, -1) may be excluded when calculating the DC value.
[353]
If not, the current block size is large or the current block of the square, the current block and the correlation between the reference sample some of the problems that can occur off the prediction efficiency deteriorates. Thus, it is possible to calculate the DC value by applying different weights depending on the location of the reference set differently the range of the sample or reference sample to be used in the DC value calculated according to the size or type of the current block.
[354]
For example, given a greater weight to the top of the reference sample having the current block is the right-most column great x See above with coordinates samples are the same column and the right-most of the block than the x coordinate or a smaller x-coordinate than the, or the current block the left than the reference sample has a larger y coordinate than the bottom line can be given a greater weight to the left side reference sample having the same y coordinate, or a smaller y-coordinate values and the lowest row of the current block.
[355]
22 is a view showing an example in which a different weighting based on the location of the reference sample.
[356]
In Figure 22, the left reference sample having a larger y coordinate than the top of the reference samples and the bottom row of the current block having a larger x-coordinate than the right-most column of the current block has been applied to a weight of 1, see the top of the other sample and the left reference sample, was illustrated as being a three-weighting. According to the example given in FIG. 22, the DC value can be calculated based on the following equation (19).
[357]
[Equation 19]
[358]
In the example shown in Figure 22, with been illustrated as being a weight that is assigned to the reference samples based on the y coordinate of the rightmost column, the x-coordinate and lowest row of the current block is changed, the reference relative to the other position to that shown Sample the weights given to may be controlled.
[359]
On the basis of size and / or type of the current block may determine the reference sample by weight. For example, the current block can be set wide when the block of large non room shape than the height, so as to have a value greater than the weight applied to at least a portion of the left reference sample weight applied to at least a portion of the top of the reference sample . On the other hand, can be set if the current block is a height of a block of a large non room shape than it is wide, the weight applied to at least a portion of the left reference sample so as to have a value greater than the weight applied to at least a portion of the top of the reference sample.
[360]
When Figs. 23 and 24 is the current block is non room type, illustrating the weight applied to the reference sample.
[361]
In Figure 23, the top of the reference samples and current reference left having a larger y coordinate than the bottom line of the block samples, whereas the weight of 1 is applied, the same y and the bottom row of the current block coordinates, or rather the left side having a smaller y-coordinate reference samples has been illustrated as being a three-weighting. That is, as shown in the example in shown in Figure 23, the current block is a height of the case of large non room shape than it is wide, the weight given to the left reference samples of the current block to be set larger than the weight to be given to the top of the reference sample can. Accordingly, DC value can be obtained as shown in Equation 20.
[362]
[Equation 20]
[363]
In Figure 24, the left reference samples and reference top having a larger x-coordinate than the right-most column of the current block samples, whereas the weight of 1 is applied, having a smaller x coordinate of the rightmost column and the same x-coordinate or higher to the current block the top of the reference sample has been illustrated as being a three-weighting. That is, as shown in the example in shown in Figure 24, the current block is a width of the case of large non room shape than the height, be set larger than a weight of the weight to be given to the top of the reference samples in the current block which is given to the left reference sample can. Accordingly, DC value can be obtained as shown in Equation 21.
[364]
[Equation 21]
[365]
23 as being the first weight of all the upper reference sample having a top reference samples and smaller x coordinate current rightmost column and the same x-coordinate of the block, or rather having a larger x-coordinate than the right-most column of the current block is given in the Although illustrative, it is possible to differently set the weight to be given to each. Similarly, in Fig. 24, see the left side having a larger y coordinate than the bottom row of the current block samples and current reference left having the same y coordinate, or a smaller y-coordinate than the block bottom row of the samples differently set the weight to be given to the can.
[366]
Weight applied to the reference sample may have a value fixed in the encoder and decoder. Or may be based on the current block shape or size of the weight determined adaptively. For example, the weight can be determined adaptively according to the present height, width, or aspect ratio of the block.
[367]
Or, the information indicating a weight applied to each of the reference sample may be signaled via the bitstream. On the basis of the information it is possible to determine the weight applied to each of the reference samples.
[368]
Alternatively, it is also possible to determine the weight applied to the current block on the basis of the weight applied to the peripheral blocks adjacent to the current block. For example, by adding the difference value to the weighted weighted to neighboring blocks in the crystal as a weight, or a neighboring block of the current block may derive the weight for the current block. Here, the difference value may be determined based on the information that is signaled via the bitstream.
[369]
In Figure 22 to 24, were shown to be at least one of the reference samples left or upper reference sample is divided into two groups with different weights applied. Unlike in the example shown, then divided into the left reference sample or a larger number of groups than the top of the reference sample, it is also possible to apply a different weight to each group. For example, given a different weight for each reference sample, or it is possible to calculate the DC value to give different weights for each group unit. At this time, the unit of the group may be divided based on the previously defined number. That is, each of the unit group may include the same number of reference samples. Alternatively, it is also possible to differently determine the number of the reference sample on the basis of the size or type of the current block, such that each unit of the group.
[370]
As another example, but applicable to a uniform weight to each of the left reference samples and / or the top of the reference sample, and may differently determine the weight applied to the left side reference sample and the reference sample top. For example, if the current block with a width of larger non room shape than the height, large non room shape than the upper reference, while by applying the left Weights greater than the reference sample to the sample to obtain a DC value, a current block Height Width for, it is also possible to obtain a DC value by giving a greater weight than the top of the reference sample on the left reference sample.
[371]
Depending on the size or type of the current block and the DC value may be calculated by using only a part of the top left reference sample or reference samples. For example, if the current block has a width greater than the height of non room shape, it is possible to calculate the DC value by using only the top of the reference sample. That is, it is possible, if the current block is a non-integer room shape is greater than the width, height, determining the average value of the upper reference sample into a DC value, or to determine the weighted sum between the top of the reference sample to a DC value. Or, if the current block is a non-integer room form a height greater than the width, it is possible to calculate the DC value by using only the left reference sample. That is, it is possible, if the current block is a non-integer room form a height greater than the width, and determining the average value of the DC value or the left reference sample, determining a weighted sum between the left reference sample into a DC value.
[372]
Or, depending on the type of the current block, with the exception of at least one of the left reference sample has a larger y coordinate than the lowermost line at the top of the reference samples or current block having a larger x coordinate value than the right-most row of the current block, DC it is possible to calculate the value.
[373]
As in the above examples, to produce a DC value by giving different weights to the top of the reference samples and the left reference sample can be called as "DC weighted prediction.
[374]
Whether to apply a DC weighted prediction on a current block may be determined based on the size or type of the current block. For example, DC weighted prediction may be allowed only for the blocks having more than a predetermined threshold size. Here, the threshold value may indicate the block size, 16x16, 32x32 or 64x64, may represent a reference value for either the width or height of a block. If the current block size is smaller than the threshold value, even in the intra-prediction mode of the current block, the DC mode, the DC weighted prediction may be applied. If DC weighted prediction is not applied to the DC value it can be determined by applying the same weights to the top of the reference samples and the reference samples left. Alternatively, it is possible to allow, DC weighted prediction only if the current block is non-square.
[375]
As another example, the information indicating whether or not to apply a DC weighted prediction may be signaled via the bitstream.
[376]
Or, it may determine whether or not to apply a DC weighted prediction to the current block, based on whether using the weighted DC predicted from the peripheral block adjacent to the current block. For example, if the same as the intra prediction mode of the current block is derived on the basis of the intra prediction mode of a neighboring block candidate (i.e., MPM candidate), DC Weighted whether or not to apply a DC weighted prediction on a current block in the peripheral block this applies equally predictable that can determine whether a.
[377]
Alternatively, it is also possible to apply the DC weighted prediction by default if the current intra prediction mode is the DC mode of the block.
[378]
[379]
The above-described embodiments, but is described on the basis of a series of steps or flow chart, which is not necessarily limited to a time-series order of the invention, it may be performed as needed at the same time or performed in a different order. Further, the components that make up the block diagram in the above-described embodiment (e.g., the units, modules, etc.) each of which may be implemented as a hardware device or software, as a hardware device or software in combination with a plurality of components It may be implemented. The described embodiments are implemented in the form of program instructions that may be performed through various computer components may be written in a computer-readable recording medium. The computer readable recording media may also include, alone or in combination with the program instructions, data files, data structures, and the like. Examples of the computer readable recording medium, such as hard disks, floppy disks, and magnetic tape media, CD-ROM, such as an optical recording medium, flop tikeol disk (floptical disk) such as DVD magneto-optical medium (magneto-optical storing program instructions, such as media), and ROM, RAM, flash memory, hardware devices that are specially configured to, perform. The hardware devices may be configured to act as one or more software modules in order to perform the process according to the invention, and vice versa.
Industrial Applicability
[380]
The present invention can be applied to electronic devices capable of encoding / decoding an image.
Claims
[Claim 1]Determining an intra prediction mode of the current block; When the intra-prediction mode is a DC mode of the current block, determining the block of the current left reference samples or DC value based on at least one of the top of the reference samples; And comprising the step of inducing the prediction samples of the current block based on the DC value, the reference used to determine the DC value of a sample reference of the range or the left to determine the DC value of the sample or reference the top weight applied to the sample is, the image decoding method characterized in that it is determined based on at least one of a position of the size, shape or reference sample of the current block.
[Claim 2]
The method of claim 1, wherein when the current block is a block of non room arrangement, the left reference samples or the image decoding method, characterized in that by using only any one of said upper reference sample to which the DC values are determined.
[Claim 3]
3. The method of claim 2, wherein if the current block is a block diagram of a non-integer greater than room form a high width, the DC value, the image decoding method characterized in that it is determined by the average value of the upper reference sample.
[Claim 4]
3. The method of claim 2, wherein if the current block is a block of height greater than the width of the form amorphous room, the DC value, the image decoding method characterized in that it is determined by the average value of the left reference sample.
[Claim 5]
The method of claim 1, wherein the DC value, the image decoding method characterized in that the decision by the weighted sum calculation of the reference samples and the top left reference sample.
[Claim 6]
The method of claim 5, wherein when the current block is a block of a large non room shape than the height width, characterized in that the weight applied to the top of the reference sample, which is set to have a larger value compared to the left side reference sample method, image decoding.
[Claim 7]
The method of claim 5, wherein when the current block is a height of a block of a large non room shape than the width, characterized in that the weight applied to the left refer to the sample is set to have a larger value than in the top of the reference sample method, image decoding.
[Claim 8]
In the current reference having a larger y coordinate than the left lowermost line of the sample block and the weight applied to the left among the remaining reference sample is an image decoding method, characterized in that different in claim 5.
[Claim 9]
The method of claim 5, wherein the weight applied between the top of the reference samples and the remaining upper reference sample having the maximum x-coordinate greater than the right column of the current block is an image decoding method, characterized in that different.
[Claim 10]
Determining an intra prediction mode of the current block; When the intra-prediction mode is a DC mode of the current block, determining the block of the current left reference samples or DC value based on at least one of the top of the reference samples; And comprising the step of inducing the prediction samples of the current block based on the DC value, the reference used to determine the DC value of a sample reference of the range or the left to determine the DC value of the sample or reference the top weight applied to the sample, the image encoding method, characterized in that it is determined based on at least one of a position of the size, shape or reference sample of the current block.
[Claim 11]
11. The method of claim 10, wherein if the current block is a block diagram of a non room arrangement, the left reference sample, or by using either one of said upper reference samples characterized in that the DC value is determined, the image encoding method.
[Claim 12]
12. The method of claim 11, wherein if the current block is a block diagram of a non-integer greater than room form a high width, the DC value, the image encoding method, characterized in that it is determined by the average value of the upper reference sample.
[Claim 13]
12. The method of claim 11, wherein if the current block is a block of height greater than the width of the form amorphous room, the DC value, the image encoding method, characterized in that it is determined by the average value of the left reference sample.
[Claim 14]
If the current block is an intra-prediction mode determined, and the intra prediction mode is the DC mode of the current block, and determining the current left reference block samples or DC value based on at least one of the top of the reference sample, the DC including, but on the basis of intra prediction unit for deriving the prediction samples of the current block is the value of the left reference samples or the top of the reference sample to determine the reference that is used to determine the DC value of the sample range or the DC values of weight applied to the image decoding apparatus, characterized in that it is determined based on at least one of a position of the size, shape or reference sample of the current block.
[Claim 15]
If the current block is an intra-prediction mode determined, and the intra prediction mode is the DC mode of the current block, and determining the current left reference block samples or DC value based on at least one of the top of the reference sample, the DC including, but on the basis of intra prediction unit for deriving the prediction samples of the current block is the value of the left reference samples or the top of the reference sample to determine the reference that is used to determine the DC value of the sample range or the DC values of weight applied to the image encoding apparatus, characterized in that it is determined based on at least one of a position of the size, shape or reference sample of the current block.
| # | Name | Date |
|---|---|---|
| 1 | 201917050292.pdf | 2019-12-05 |
| 2 | 201917050292-TRANSLATIOIN OF PRIOIRTY DOCUMENTS ETC. [05-12-2019(online)].pdf | 2019-12-05 |
| 3 | 201917050292-STATEMENT OF UNDERTAKING (FORM 3) [05-12-2019(online)].pdf | 2019-12-05 |
| 4 | 201917050292-NOTIFICATION OF INT. APPLN. NO. & FILING DATE (PCT-RO-105) [05-12-2019(online)].pdf | 2019-12-05 |
| 5 | 201917050292-FORM 1 [05-12-2019(online)].pdf | 2019-12-05 |
| 6 | 201917050292-DRAWINGS [05-12-2019(online)].pdf | 2019-12-05 |
| 7 | 201917050292-DECLARATION OF INVENTORSHIP (FORM 5) [05-12-2019(online)].pdf | 2019-12-05 |
| 8 | 201917050292-COMPLETE SPECIFICATION [05-12-2019(online)].pdf | 2019-12-05 |
| 9 | 201917050292-Proof of Right (MANDATORY) [16-12-2019(online)].pdf | 2019-12-16 |
| 10 | 201917050292-FORM-26 [16-12-2019(online)].pdf | 2019-12-16 |
| 11 | abstract.jpg | 2019-12-21 |
| 12 | 201917050292-FORM 3 [28-04-2020(online)].pdf | 2020-04-28 |
| 13 | 201917050292-FORM 18 [27-08-2021(online)].pdf | 2021-08-27 |
| 14 | 201917050292-FER.pdf | 2022-04-27 |
| 15 | 201917050292-FORM 3 [18-10-2022(online)].pdf | 2022-10-18 |
| 16 | 201917050292-PETITION UNDER RULE 137 [19-10-2022(online)].pdf | 2022-10-19 |
| 17 | 201917050292-OTHERS [20-10-2022(online)].pdf | 2022-10-20 |
| 18 | 201917050292-FER_SER_REPLY [20-10-2022(online)].pdf | 2022-10-20 |
| 19 | 201917050292-CLAIMS [20-10-2022(online)].pdf | 2022-10-20 |
| 1 | SearchE_27-04-2022.pdf |