WO2020140217A1 - 帧内预测方法及装置、计算机可读存储介质 - Google Patents
帧内预测方法及装置、计算机可读存储介质 Download PDFInfo
- Publication number
- WO2020140217A1 WO2020140217A1 PCT/CN2019/070153 CN2019070153W WO2020140217A1 WO 2020140217 A1 WO2020140217 A1 WO 2020140217A1 CN 2019070153 W CN2019070153 W CN 2019070153W WO 2020140217 A1 WO2020140217 A1 WO 2020140217A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- angle
- mode
- prediction
- actual
- intra prediction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000005070 sampling Methods 0.000 claims abstract description 73
- 238000012545 processing Methods 0.000 claims abstract description 21
- 241000023320 Luma <angiosperm> Species 0.000 claims description 20
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 claims description 20
- 238000004891 communication Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 23
- 241001475178 Dira Species 0.000 description 16
- LXMSZDCAJNLERA-ZHYRCANASA-N spironolactone Chemical compound C([C@@H]1[C@]2(C)CC[C@@H]3[C@@]4(C)CCC(=O)C=C4C[C@H]([C@@H]13)SC(=O)C)C[C@@]21CCC(=O)O1 LXMSZDCAJNLERA-ZHYRCANASA-N 0.000 description 12
- 230000006870 function Effects 0.000 description 8
- 238000013139 quantization Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000012512 characterization method Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 5
- 239000011159 matrix material Substances 0.000 description 5
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- IQLZWWDXNXZGPK-UHFFFAOYSA-N methylsulfonyloxymethyl methanesulfonate Chemical compound CS(=O)(=O)OCOS(C)(=O)=O IQLZWWDXNXZGPK-UHFFFAOYSA-N 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 101100102504 Caenorhabditis elegans ver-4 gene Proteins 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N19/122—Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
- H04N19/423—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
Definitions
- Embodiments of the present application relate to intra prediction technology in the field of video coding, and in particular, to an intra prediction method and device, and a computer storage medium.
- an MPM list is constructed to store the prediction modes of adjacent blocks. Based on the principle of high similarity of spatial neighboring blocks, the greater probability of the selected prediction mode of the current block will be the same as one of the modes present in the MPM list. Therefore, the prediction mode of the current block can be encoded with fewer bits.
- the DM mode will borrow the prediction mode of the luma block at the center of the current chroma block. No matter whether the prediction mode of the luma block is the wide-angle mode, the DM mode will borrow the original angle mode number. This may cause a deviation between the angle mode actually used by the chroma block and the angle mode of the corresponding luminance block.
- the angle mode number may correspond to different actual angle modes, which makes the angle conversion in the brightness prediction process more complicated, and makes the angle mode of the luma block borrowed by the chroma prediction also deviate, and the predicted The exact question.
- Embodiments of the present application provide an intra prediction method and device, and a computer-readable storage medium, which can effectively improve the accuracy of intra prediction, and at the same time improve the coding and decoding efficiency.
- the present application provides an intra prediction method, which includes:
- the relative angle number sequentially characterizes the corresponding angle after sampling at the preset angle sampling point within the range of the predicted direction corresponding to the preset width-height relationship, starting from the starting angle Actual angle mode; the starting angle is determined according to the width-height relationship of the processing block and the predicted direction range corresponding to the preset width-height relationship, and the actual angle corresponds to the actual angle mode one-to-one.
- the relative angle number is a continuous number in the range of 2'to 66', and the actual angle mode corresponding to the relative angle number is in the range of -14 to 80
- the selection of the 65 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- the relative angle number is a continuous number in the range of 2'to 34', and the actual angle mode corresponding to the relative angle number is in the range of -7 to 41
- the selection of the 33 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- the relative angle number is a continuous number in the range of 2'to 130', and the actual angle mode corresponding to the relative angle number is in the range of -28 to 158
- An embodiment of the present application also provides an intra prediction method, including:
- the predicted direction range corresponding to the preset width-height relationship, and the preset angle sampling point determine the actual angle mode corresponding to the reference block represented by a relative angle number, so that the actual angle is One-to-one correspondence with actual angle mode;
- intra prediction is performed on the current block.
- Angle mode including:
- the actual angle mode corresponding to the reference block indicated by a relative angle number is determined according to the starting angle and the angle offset range.
- the intra prediction of the current block based on the angle prediction mode includes:
- the prediction mode list is used to implement intra prediction on the current block.
- the intra prediction includes at least one of the following: luma intra prediction and chroma intra prediction.
- An embodiment of the present application provides an intra prediction device, including:
- a processor a memory that stores instructions that the processor can perform intra prediction on, and a communication bus that connects the processor and the memory, and when the intra prediction instruction is executed, the intra frame is implemented method of prediction.
- An embodiment of the present application provides a computer-readable storage medium on which an intra prediction instruction is stored, wherein, when the intra prediction instruction is executed by a processor, the foregoing intra prediction method is implemented.
- the intra prediction device can process the reference blocks of different width-height relationships in a unified actual angle mode, so that the actual angle and The actual angle mode corresponds one-to-one, so that no matter in the brightness prediction process or the chroma prediction process, when a certain angle is expressed, the angle mode of each shape block is specifically determined according to the aspect ratio, which simplifies the wide angle mode Under the angle conversion, the meaning of the angle value represented by each mode is unified, the deviation is eliminated, the accuracy of intra prediction is effectively improved, and the efficiency of codec is also improved.
- FIG. 1 is a schematic diagram of 67 intra prediction modes supported by VVC according to an embodiment of the present application
- FIG. 2A is a schematic structural diagram of a video encoding system provided by an embodiment of the present application.
- 2B is a schematic structural diagram of a video decoding system provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of an exemplary wide-angle mode intra prediction mode provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of an exemplary adjacent intra prediction mode provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram 1 of an exemplary arrangement of a luma block and a chroma block corresponding to a current block provided by an embodiment of the present application;
- FIG. 7 is a schematic diagram 2 of an exemplary arrangement of a luminance block and a chroma block corresponding to a current block provided by an embodiment of the present application;
- FIG. 8 is a schematic structural diagram 1 of an intra prediction device according to an embodiment of the present application.
- FIG. 9 is a second structural diagram of an intra prediction apparatus provided by an embodiment of the present application.
- VVC/H.266 The next generation video coding standard.
- VTM The Test Model of VVC is a reference software testing platform for VVC.
- MPM Most Probable Modes, the most likely mode.
- DM direct mode, a chroma prediction mode.
- VER Vertical angle prediction mode, which corresponds to the intra prediction mode numbered 50 in VTM3.0.
- HOR Horizontal angle prediction mode, which corresponds to intra prediction mode number 18 in VTM3.0.
- DIA Diagonal angle prediction mode, corresponding to intra prediction mode number 34 in VTM3.0.
- VDIA Anti-angle direction prediction mode, corresponding to the intra prediction mode numbered 66 in VTM3.0.
- the function of predictive coding is to use the reconstructed image existing in space or time to construct the predicted value of the current block in video coding, and only transmit the difference between the original value and the predicted value to reduce transmission
- the purpose of the data volume in the luminance prediction, the original value and the predicted value here may be the original value of the luminance and the predicted value of the luminance; in the chromaticity prediction, the original value and the predicted value here may be the original value of the chroma and the chromaticity Predictive value.
- the function of intra prediction is to construct the prediction value of the current block by using the pixel unit of the previous row adjacent to the current block and the pixel unit of the left column. Using the neighboring pixels that have been restored around the current block (that is, the pixel unit in the previous row adjacent to the current block and the pixel unit in the left column), each pixel unit of the current block is predicted.
- the current block is a brightness block
- multiple prediction directions are used to sequentially perform brightness prediction on the current block to obtain a brightness prediction value matrix corresponding to each prediction direction;
- Each luminance prediction value matrix and the original luminance value matrix of the current block determine the difference matrix corresponding to each prediction direction; based on each difference matrix, the evaluation parameter value corresponding to the prediction direction is determined, and the evaluation parameter value is used to characterize the corresponding prediction
- the prediction effect of the direction on the current block; based on each evaluation parameter value, the target prediction direction is determined from these multiple prediction directions, for example, on the premise of ensuring the quality of video restoration, the prediction direction that can obtain the minimum number of image encoding bits Determine the target prediction direction; then write the target prediction direction into the code stream.
- the 33 intra-frame brightness prediction angle modes defined in H.265/HEVC will be defined in H.266/VVC Expanded to 65 kinds, the new angle mode is indicated by a dotted arrow in Figure 1.
- the number 0 indicates the Planar mode
- the number 1 indicates the DC mode
- the number 2-66 indicates the 65 angle modes (from lower left to upper right), and there are 67 intra prediction modes in total, where 2-66 is the absolute angle number.
- the intra prediction direction whose index number is 66 a method for constructing the luminance prediction value of each pixel unit of the current block is given.
- the data of the previous row adjacent to the current block is a pixel unit whose prediction has been completed.
- Each pixel unit of the current block is filled according to the pixel unit of the upper right diagonal (that is, the prediction direction with index number 66).
- the DC mode is to fill the entire current block with the average value of the feature values (for example, chroma value or brightness value) in the previous row or the left column, and the PLANA mode fills the current block in a gradual manner.
- the feature values for example, chroma value or brightness value
- the encoder After obtaining the target prediction direction and the difference value corresponding to each pixel unit corresponding to the target prediction direction, the encoder writes the difference value corresponding to each pixel unit and the index number of the target prediction direction corresponding to the current block into the code stream.
- the decoder After receiving the code stream, the decoder parses the received code stream to obtain the index number of the target prediction direction, and can calculate the corresponding brightness prediction value of each pixel unit in the current block, and the difference between the code stream and the code stream. By adding the values, the brightness reconstruction value of the corresponding pixel unit can be obtained.
- FIG. 2A is a schematic structural diagram of a video encoding system according to an embodiment of the present application.
- the video encoding system 21 includes:
- the intra prediction unit 213 is used to perform intra prediction on the video reconstruction block; wherein, the intra estimation unit 212 and the intra prediction unit 213 are used to determine the optimal intra prediction direction of the video reconstruction block (that is, the target prediction direction) ); the motion compensation unit 214 and the motion estimation unit 215 are used to perform inter prediction coding
- FIG. 2B is a schematic structural diagram of a video encoding system according to an embodiment of the present application. As shown in FIG. 2B, the video encoding system 22 includes:
- the input video signal is encoded by the video encoding system 21 and output The code stream of the video signal; this code stream is input into the video decoding system 22, and firstly passes through the decoding unit 221 to obtain the decoded transform coefficient;
- the transform coefficient is processed by the inverse transform and inverse quantization unit 222 for the transform coefficient, so that the pixel domain
- the residual block is generated in;
- the intra prediction unit 223 can be used to generate prediction data for the current video decoding block based on the determined intra prediction direction and the data from the previously decoded block of the current frame or picture;
- the motion compensation unit 224 is used by Analyze the motion vector and other associated syntax elements to determine the prediction information for the video decoding block, and use the prediction information to generate the predictive block of the video decoding block being decoded; by analyzing the residuals from the inverse
- the embodiment of the present application mainly acts on the intra prediction unit 213 of the video encoding system 21 and the intra prediction unit 223 of the video decoding system 22; that is, if the video encoding system 21 can pass the intra prediction provided by the embodiment of the present application
- the method obtains a better prediction effect. Then, correspondingly, on the decoding side, the video decoding recovery quality can also be improved.
- an intra prediction device provided by an embodiment of the present application may be an encoder or a decoder, and the embodiment of the present application is not limited.
- An embodiment of the present application provides an intra prediction method.
- the method may include:
- the relative angle number sequentially characterizes the corresponding actual angle mode after sampling at the preset angle sampling point within the predicted direction range corresponding to the preset width-height relationship;
- the starting angle is determined according to the prediction direction range corresponding to the width-height relationship of the processing block and the preset width-height relationship, and the actual angle corresponds one-to-one with the actual angle mode.
- An intra-frame pre-side method involves a process of writing a pre-side number of a prediction mode of a current block into a code stream for encoding and decoding.
- the wide-angle mode is explained below with 65 kinds of angle intra prediction modes.
- Wide-angle mode The prediction direction of the 65-angle intra prediction mode shown in FIG. 1 is defined in the clockwise direction from 45 degrees (mode 66) to -135 degrees (mode 2).
- mode 66 The prediction direction of the 65-angle intra prediction mode shown in FIG. 1 is defined in the clockwise direction from 45 degrees (mode 66) to -135 degrees (mode 2).
- mode 66 -135 degrees
- mode 2 Considering that QTBT coding block division structure is added to H.266/VVC, some non-square coding blocks will be generated.
- an extended wide-angle mode will be used instead of several traditional angle intra prediction modes.
- the number of traditional angle modes that need to be replaced is related to the width-to-height ratio of the current coding block. The larger the ratio, the more traditional angle modes that need to be replaced with the wide angle mode.
- VTM 2.0.1 there are 85 angle direction modes and DC and Planar modes, of which 20 angle directions exceed the range between -135 degrees and 45 degrees, that is, wide angle.
- the angular direction in the clockwise direction from -135 degrees (mode 2) to 45 degrees (mode 66) is designed for the square and contains the diagonal direction of all square blocks (mode 2, 34 and 66).
- mode 2 the angular direction of the square block starts from the diagonal direction of the lower left to the diagonal direction of the upper right, but not the angular direction of the non-square block.
- the wide angle mode that restricts the expansion of the current coding block always includes the diagonal direction of the lower left and upper right;
- the reference range is unified, 2*W+1 for the upper reference range and 2*H+1 for the left reference range.
- W is the width of the block (encoding block or decoding block)
- H is the length of the block (encoding block or decoding block).
- the unified method proposed in the L0279 proposal modifies the number of traditional modes that need to be replaced by wide-angle modes, so that the angle range after extending the wide angle is just between the lower left diagonal direction and the upper right diagonal direction (For example, between 2-66), as shown in Table 1.
- the method also appropriately modifies the direction of the extended wide-angle mode and the traditional angle mode that needs to be replaced, so that it includes the diagonal direction of the current coding block under various aspect ratios.
- the aspect ratio (or aspect ratio, the same below) is 2, there are 6 modes that need to be replaced; when the aspect ratio is 4, there are 10 modes that need to be replaced; when the aspect ratio is 8, there are 12 Modes need to be replaced; when the aspect ratio is 16, 14 modes need to be replaced.
- the numbering range of all angle modes is the range of -14 to 80, but the continuous numbering of 2-66 is used to represent the angle mode by the replacement method of Table 1.
- the intra-side pre-side device adopts the actual angle mode indicated by the relative angle number when configuring or marking the angle mode; wherein, the relative angle number sequentially characterizes the predicted direction range corresponding to the preset width-height relationship Inside, from the starting angle, the actual angle mode corresponding to the sampling at the preset angle sampling point is adopted; the starting angle is determined according to the prediction direction range corresponding to the width-height relationship of the processing block and the preset width-height relationship.
- the intra-pre-side device may determine the starting angle of the angle mode of the reference block according to the prediction direction range corresponding to the processing block width-height relationship and the preset width-height relationship; based on the preset angle sampling point, determine the reference block’s Angle offset range; according to the starting angle and angle offset range, determine the actual angle mode corresponding to the processing block indicated by the relative angle number.
- the width-height relationship and the prediction direction range determine the starting angle.
- the prediction direction range represents what angle mode is selected from the preset angle sampling points selected from all angle modes.
- the prediction direction range is known in the prior art. Referring to Table 1, for example, when the aspect ratio is 2, the 65 angle patterns in the prediction direction range of 8-72 range.
- the relative angle number is a continuous number in the range of 2'to 66'
- the actual angle mode corresponding to the relative angle number is continuous in the range of -14 to 80 65 actual angle modes.
- the selection of 65 actual angle modes is determined by the relationship between width and height. Among them, the relative angle number and the actual angle mode correspond to each other in order.
- 2'-66' indicates that the number of 2-66 is used to represent the actual angle mode corresponding to the relative angle.
- the actual angle mode represented by the continuous number in the range of 2'-66' is [start value angle + angle offset range lower limit value, start value angle + angle offset range upper limit value] angle range 65 actual angle modes corresponding to 65 actual angles.
- the angle offset range is [0-preset number of angle sampling points-1]. For example, when the preset angle sampling point is 65, the angle offset range is [0-64].
- the actual angle mode representation method in the L0279 proposal is referenced, and the absolute numbers of all angle modes are expressed in the range [-14,80], regardless of the width and height of the current coding block For example, they only include 65 consecutive angle patterns, that is, 65 angle numbers, but the selection range of the 65 angle numbers (that is, the prediction direction range) will be different depending on the aspect ratio.
- the mode from the lower left diagonal direction to the upper right diagonal direction is fixed at 2'-66' (relative angle number).
- the actual angle mode represented by the starting angle number of the relative angle number will have different meanings.
- the range of the relative angle number falls in different intervals due to the different range of the predicted direction, they all belong to [- 14,80].
- the relative angle of the lower left diagonal direction is 2', and the actual value is the first value of the starting angle + angle offset range: that is, the actual angle mode of 8+0 (using The angle number of Fig. 3 represents the actual angle); the relative angle number 3'represents the actual angle mode of 8+1 (the second value of the angle offset range) (that is, the mode 9 in Fig. 3 of the characterization), ...
- the relative angle number 66' represents the actual angle mode of 8+64 (the 65th value of the angle offset range) (that is, the mode 72 in FIG. 3 that is characterized).
- the representation method of the embodiment of the present application can avoid the deviation of the angle direction of the MPM list storage mode and the angle direction of the actual neighboring block because the same angle mode number is used for representation in the brightness prediction process. At the same time, the deviation of the brightness direction borrowed at the center position of the current chroma block from the actual brightness direction during the chroma prediction process is avoided.
- the representation method provided by the embodiments of the present application adopting relative angle numbers is put into the code stream for transmission in the form of a syntax element during encoding, that is, the relative angle numbers are put into the code stream, and when decoding, the decoding
- the device has agreed on the meaning of the relative angle numbers of different aspect ratios. Therefore, the actual angle pattern corresponding to the relative angle number can be parsed from the received relative angle number.
- the relative angle number is a continuous number in the range of 2'to 34'
- the actual angle mode corresponding to the relative angle number is continuous in the range of -7 to 41 33 actual angle modes
- the selection of 33 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- a preset angle sampling point is used, that is, the number of angle directions is 33, the preset width-height relationship, the meaning of the starting angle mode represented by 2', the relative angle number, and the actual characterization
- the meaning of the angle mode is shown in Table 3.
- the relative angle number is a continuous number in the range of 2'-130'
- the actual angle mode corresponding to the relative angle number is continuous in the range of -28 to 158 129 actual angle modes
- the selection of 129 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- a preset angle sampling point is used, that is, the number of angle directions is 129, the preset width-height relationship, the meaning of the starting angle mode represented by 2', the relative angle number, and the actual characterization
- the meaning of angle mode is shown in Table 4.
- the number of preset angle sampling points is not limited.
- An embodiment of the present application provides an intra prediction method. As shown in FIG. 4, the method may include:
- the reference block is a data block within a preset range where the current block is located and has completed intra prediction, and the reference block may be at least one.
- the intra prediction device includes at least one of the following when performing intra prediction: luma intra prediction and chroma intra prediction.
- the adjacent block is used as the reference block for luma intra prediction
- the luma block where the center position of the previous chroma block is located can be used as the reference block for chroma intra prediction.
- the chroma prediction mode may include DM, LM, LM_T, LM_L and other modes.
- the prediction mode includes at least one of the following: a luma intra prediction direction and a chroma intra prediction direction.
- the prediction direction of the reference block is the luminance direction.
- the prediction direction of the reference block is the chroma direction.
- the prediction direction of the reference block is actually intra The process of forecasting.
- the intra prediction device may acquire the width-height relationship of the reference block of the current block 3. Prediction direction range and preset angle sampling point corresponding to preset width-height relationship.
- the width-height relationship of the reference block may be the aspect ratio or the aspect ratio, which is not limited in the embodiment of the present application.
- the prediction direction range corresponding to the preset width-height relationship for different width-height relationships of a processing block, the obtained continuous presets include the diagonal direction from the lower left to the diagonal direction from the upper right The actual angle range of the number of angle sampling points.
- the preset number of angle sampling points is the number of sampling points between the lower left diagonal direction and the upper right diagonal direction.
- the intra prediction device may obtain the width-height relationship of the reference block of the current block and the prediction direction range corresponding to the preset width-height relationship, determine the preset angle sampling points within each prediction direction range, and select The relative angle number of the predicted direction and the starting angle.
- the prediction directions of the 65 angle intra prediction modes are defined in the clockwise direction from -135 degrees (mode 2) to 45 degrees (mode 66), where [2’,66’] is the relative angle number.
- the length of the prediction direction range of all angle modes is the same, regardless of the width-height relationship of the current block, only the continuous
- the angle (ie relative angle number) of the number of preset angle sampling points is only selected from the length of the prediction direction range.
- the actual angle mode of the number of sampling points of the preset angle will vary depending on the relationship between width and height.
- the intra-frame prediction device may Set the prediction direction range corresponding to the width-height relationship and the preset angle sampling point to determine the actual angle mode corresponding to the reference block represented by the relative angle number, so that the actual angle corresponds to the actual angle mode one by one, the specific implementation is: S1021- 1023. as follows:
- S1021 Determine the starting angle of the angle mode of the reference block according to the prediction direction range corresponding to the width-height relationship and the preset width-height relationship.
- S1022 Determine the angle offset range of the reference block based on the preset angle sampling point.
- S1023 Determine the actual angle mode corresponding to the reference block indicated by the relative angle number according to the starting angle and the angle offset range.
- the intra prediction device may determine the angle mode of the reference block from the prediction direction range corresponding to the preset width-height relationship according to the width-height relationship
- the starting angle, and the intra-frame prediction device determines the angle offset range of the reference block based on the preset angle sampling point; according to the starting angle and the angle offset range, the actual angle corresponding to the reference block expressed by the relative angle number is determined Mode, so that the intra prediction device can use the starting angle as the starting point to select the actual angle mode within the angle offset range using the relative angle number.
- the relative angle number may be used to characterize the angle.
- the intra prediction device may determine the start of the angle mode of the reference block according to the prediction direction range corresponding to the width-height relationship and the preset width-height relationship.
- the relative angle starting number of the starting angle based on the preset angle sampling point, determine the angle offset range of the reference block as [0-preset angle sampling point number-1]; according to the starting code number and angle offset range, It is determined that successive numbers within the range of relative angle numbers [2'-66'] represent the actual angle mode corresponding to the reference block in turn.
- the preset angle sampling point is 65, that is, the number of angle directions is 65 as an example, the preset width-height relationship, the meaning of the starting angle mode represented by 2', the relative angle number, and The meaning of characterizing the actual angle mode is shown in Table 2.
- the relative angle of the lower left diagonal direction is 2'
- the actual value is the first value of the starting angle + angle offset range: that is, the actual angle mode of 8+0 ( Use the angle number of Figure 3 to represent the actual angle);
- the relative angle number 3' represents the actual angle mode of 8+1 (the second value of the angle offset range) (that is, the mode 9 in Figure 3),
- the relative angle number 66' represents the actual angle mode of 8+64 (the 65th value of the angle offset range) (that is, the mode 72 in FIG. 3 that is characterized).
- the representation method of the embodiment of the present application can avoid the deviation of the angle direction of the MPM list storage mode and the angle direction of the actual neighboring block because the same angle mode number is used for representation in the brightness prediction process. At the same time, the deviation of the brightness direction borrowed at the center position of the current chroma block from the actual brightness direction during the chroma prediction process is avoided.
- the representation method provided by the embodiments of the present application adopting relative angle numbers is put into the code stream for transmission in the form of a syntax element during encoding, that is, the relative angle numbers are put into the code stream, and when decoding, the decoding
- the device has agreed on the meaning of the relative angle numbers of different aspect ratios. Therefore, the actual angle pattern corresponding to the relative angle number can be parsed from the received relative angle number.
- transmitting the relative angle number as the syntax element of the angle mode number in the code stream simplifies the acquisition of the true prediction angle by the codec in the wide angle mode, and helps improve the efficiency of the codec.
- the relative angle number is a continuous number in the range of 2'to 34'
- the actual angle mode corresponding to the relative angle number is continuous in the range of -7-41 33 actual angle modes
- the selection of 33 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- a preset angle sampling point is used, that is, the number of angle directions is 33, the preset width-height relationship, the meaning of the starting angle mode represented by 2', the relative angle number, and the actual characterization
- the meaning of the angle mode is shown in Table 3.
- the relative angle number is a continuous number in the range of 2'to 130'
- the actual angle mode corresponding to the relative angle number is continuous in the range of -28 to 158 129 actual angle modes
- the selection of 129 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- a preset angle sampling point is used, that is, the number of angle directions is 129, the preset width-height relationship, the meaning of the starting angle mode represented by 2', the relative angle number, and the actual characterization
- the meaning of angle mode is shown in Table 4.
- the number of preset angle sampling points is not limited.
- the intra prediction device obtains the angle prediction mode corresponding to the reference block based on the actual angle mode corresponding to the reference block.
- the intra prediction device After the intra prediction device obtains the actual angle mode corresponding to the reference block, it can use the actual angle mode to represent the angle prediction mode (eg, dirA, dirB) corresponding to the reference block.
- the angle prediction mode eg, dirA, dirB
- the angle prediction mode corresponding to the reference block acquired by the intra prediction device represents a one-to-one correspondence between the actual angle and the actual angle mode.
- the intra prediction device may perform intra prediction on the current block based on the angle prediction mode.
- the intra prediction device needs to construct a prediction mode list of the current block based on the angle prediction mode; and then use the prediction mode list to implement intra prediction of the current block.
- the prediction mode list is an MPM list.
- the prediction mode list is a DM list or an MDMS list.
- a reference block is determined from all adjacent blocks above the current block and all adjacent blocks to the left of the current block, for example, the adjacent blocks of the current block Left (L), top (A), bottom left (BL), top right (AR), and top left (AL) are used as reference blocks in the reference block set.
- the derivation process of the MPM list considers the intra prediction modes (also called intra prediction directions) of the five neighboring blocks of the current block, that is, the left (L) block, upper (A) block, lower left (BL) block, and upper right ( AR) block and upper left (AL) block.
- the candidate prediction directions of the MPM list are divided into three groups: adjacent prediction modes, derived prediction modes, and default prediction modes.
- adjacent prediction modes Each intra prediction mode in the MPM list can only be added once, that is, the MPM list cannot contain repeated prediction modes. If there are less than 6 prediction modes included in the MPM list after the addition of adjacent prediction modes is completed, the derived intra prediction mode is added to the MPM list. If the prediction modes included in the MPM list are still less than 6 after the addition of the derived prediction modes, the default prediction mode is added to the MPM list until the MPM list containing the 6 most probable intra prediction modes is derived.
- the intra prediction mode of each luma block When entropy coding the intra prediction mode of each luma block, first obtain the MPM list of the luma block, determine whether the intra prediction mode selected by the luma block is in the MPM list, and use the truncated binary code pair if it is The index number of the prediction mode in the MPM is binarized. The smaller the index number is, the smaller the truncated binary code is. After that, the truncated binary code is encoded by the arithmetic encoder, which can save bit overhead. If the intra prediction mode selected by the luma block is one of the remaining 61 prediction modes that are not in the MPM list, the 61 prediction modes are numbered again from 0, and 16 prediction modes whose number is divisible by 4 are selected As a selection mode.
- the intra prediction mode is in the selection mode, it is bypass-coded using a fixed 4-bit length. If the intra prediction mode is in the remaining 45 non-selective modes, re-label it again, use truncated binary code to binarize it, generate a bit string of 5 or 6 bits length according to the number size, and then bypass coding.
- the 6MPM list in JEM is more complicated, some people later proposed to use a simplified 3MPM list. However, the 3MPM list includes fewer prediction modes, and the obtained prediction effect is not accurate enough. Later, someone proposed to use a simplified 6MPM list (which is also the method used in the current VTM3.0). For example, based on the prediction mode corresponding to the upper (A) block and the prediction mode corresponding to the left (L) block in FIG. 5, a new candidate prediction mode for the current block is constructed, and the MPM list is constructed as follows:
- the reference line index used by the current block is 0:
- MPM ⁇ dirL, Planar/DC, HOR No. 18, VER No. 50, VER-4, VER+4 ⁇ ; Planar corresponds to 0, DC corresponds to 1, and there must be 6 modes in MPM. Adjacent mode plus or minus 1.
- MPM ⁇ dirL, Planar/DC, dirL-1, dirL+1, dirL-2, dirL+2 ⁇ ;
- MPM ⁇ dirL,dirA,Planar/DC,max(dirL,dirA)-1,max(dirL,dirA)+1,max(dirL,dirA)-2 ⁇ ;
- MPM ⁇ dirL, dirA, Planar/DC, dirL-1, dirL+1, dirL-2 ⁇ ;
- MPM ⁇ VER,HOR,2,DIA,VDIA,26 ⁇ ;
- MPM ⁇ dirL, dirA, min(dirL, dirA)-1, min(dirL, dirA)+1, max(dirL, dirA)-1, max(dirL, dirA)+1, ## ⁇ ;
- FIG. 6 a schematic diagram of the arrangement of the luminance block and the chroma corresponding to the current block in the embodiment of the present application.
- the gray area on the left half of the square on the right is the current processed chroma Block 71
- the gray area on the left half of the square on the left is the brightness area corresponding to the currently processed chroma block 71.
- MDMS is a more complicated method of constructing the chroma intra prediction direction. As shown in Table 6, compared with DM, there is a 0.2% code rate savings, but because of the complexity It is too high and has not been applied to VVC.
- the MDMS mode in Table 6 is the five positions of the current chroma block center CR, upper left TL, upper right TR, lower left BL, and lower right BR.
- the intra prediction mode of the corresponding luma block is shown in blocks 806 to 810 on the right side of FIG. 7, the chroma adjacent block mode in Table 6 is the chroma block space used adjacent to the left, top left, bottom left, top and top right blocks.
- the intra prediction direction of that is, the prediction direction of the code stream.
- the intra prediction device can perform both luma intra prediction and chroma intra prediction.
- angle mode of all rectangular blocks proposed in this application uses relative angle numbers to sequentially indicate the starting angle and the angle offset range, and then the corresponding actual angle mode is sequentially added and unified in [starting value angle + angle Lower limit of offset range, starting value angle + upper limit of angle offset range].
- angle offset number is transmitted as an angle mode number syntax element in the code stream, which simplifies the codec's acquisition of the true prediction angle in the wide angle mode, and helps improve the efficiency of the codec.
- an intra prediction apparatus including:
- the configuration part is configured to configure the actual angle mode indicated by the relative angle number; wherein, the relative angle number sequentially characterizes within the predicted direction range corresponding to the preset width-height relationship, starting from the starting angle and sampling at the preset angle sampling point
- the actual angle mode corresponding to the latter the starting angle is determined according to the width-height relationship of the processing block and the predicted direction range corresponding to the preset width-height relationship, and the actual angle corresponds to the actual angle mode one-to-one.
- the relative angle number is a continuous number in the range of 2′ to 66′
- the actual angle mode corresponding to the relative angle number is ⁇ 65 consecutive actual angle modes within the range of 14 to 80
- the selection of the 65 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- the relative angle number is a continuous number in the range of 2′ to 34′, and the actual angle mode corresponding to the relative angle number is ⁇ 33 consecutive actual angle modes within the range of 7 to 41.
- the selection of 33 actual angle modes is determined by the relationship between width and height, where the relative angle number and the actual angle mode correspond to each other in order.
- the relative angle number is a continuous number in the range of 2'to 130'
- the actual angle mode corresponding to the relative angle number is- 129 consecutive actual angle modes within the range of 28 to 158
- the selection of 129 actual angle modes is determined by the relationship between width and height, where the relative angle numbers and the actual angle modes correspond to each other in order.
- an embodiment of the present application further provides an intra prediction device 1, including:
- the obtaining part 10 is configured to obtain the width-height relationship of the reference block of the current block, the prediction direction range corresponding to the preset width-height relationship and the preset angle sampling point;
- the determining section 11 is configured to determine the actual angle mode corresponding to the reference block represented by the relative angle number according to the width-height relationship, the prediction direction range corresponding to the preset width-height relationship, and the preset angle sampling point, Make the actual angle correspond to the actual angle mode one by one;
- the obtaining part 10 is further configured to obtain the angle prediction mode corresponding to the reference block based on the actual angle mode corresponding to the reference block;
- the intra prediction section 12 is configured to perform intra prediction on the current block based on the angle prediction mode.
- the determining section 11 is specifically configured to determine the start of the angle mode of the reference block according to the prediction direction range corresponding to the width-height relationship and the preset width-height relationship Angle; based on the preset angle sampling point, determine the angle offset range of the reference block; based on the starting angle and the angle offset range, determine the reference block corresponding to the reference block represented by a relative angle number Actual angle mode.
- the intra prediction section 12 is specifically configured to construct a prediction mode list of the current block based on the angle prediction mode; the prediction mode list is used to frame the current block Inside forecast.
- the intra prediction includes at least one of the following: luma intra prediction and chroma intra prediction.
- an embodiment of the present application further provides an intra prediction device, including:
- the processor 13 may be an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD ), programmable logic device (ProgRAMmable Logic Device, PLD), field programmable gate array (Field ProgRAMmable Gate Array, FPGA), central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor At least one. Understandably, for different devices, there may be other electronic devices for realizing the above-mentioned processor functions, which are not specifically limited in the embodiments of the present application.
- the intra prediction device may further include a memory 14, which may be connected to the processor 13, wherein the memory 14 is used to store executable program code, and the program code includes computer operation instructions.
- the above-mentioned memory 14 may be a volatile memory ( volatile memory), such as random access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile memory), such as read-only memory (Read-Only Memory, ROM), flash memory (flash memory) ), hard disk (Hard Disk Drive, HDD) or solid-state hard disk (Solid-State Drive, SSD); or a combination of the above types of memory, and provides instructions and data to the processor 13.
- volatile memory volatile memory
- RAM random access memory
- non-volatile memory non-volatile memory
- read-only memory Read-Only Memory
- flash memory flash memory
- HDD Hard Disk Drive
- SSD solid-state hard disk
- the communication bus 15 is used to connect the processor 13 and the memory 14 and the mutual communication between these devices.
- each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or software function module.
- the integrated unit is implemented as a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of this embodiment is essentially or right Part of the existing technology or all or part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a storage medium and includes several instructions to make a computer device (which can be an individual) A computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the method of this embodiment.
- the foregoing storage media include various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
- program codes such as a USB flash drive, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
- An embodiment of the present application provides a computer-readable storage medium on which an intra prediction instruction is stored, wherein, when the intra prediction instruction is executed by a processor, the foregoing intra prediction method is implemented.
- the intra prediction instruction corresponding to an intra prediction method in this embodiment may be stored on a storage medium such as an optical disc, a hard disk, or a USB flash drive.
- the storage medium corresponds to an intra prediction method
- the intra prediction instruction includes the following steps: acquiring the width-height relationship of the current block's reference block, the preset width-height relationship and the relative angle correspondence, and the preset absolute angle range; according to the width-height Relationship, preset width-height relationship and relative angle correspondence and predicted absolute angle range, determine the actual angle mode corresponding to the reference block, so that the actual angle corresponds to the actual angle mode one by one; based on the actual angle mode corresponding to the reference block, get the reference Angle prediction mode corresponding to the block; based on the angle prediction mode, intra prediction is performed on the current block.
- the intra prediction device can process the reference blocks of different width-height relationships in a unified actual angle mode, so that the actual angle corresponds to the actual angle mode one by one.
- the angle mode of each shape block is specifically determined according to the aspect ratio, which simplifies the angle conversion in the wide angle mode and unifies The meaning of the angle value represented by each mode eliminates the deviation, effectively improves the accuracy of intra prediction, and at the same time improves the coding and decoding efficiency.
- the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
- a computer usable storage media including but not limited to disk storage and optical storage, etc.
- each flow and/or block in the flow diagram and/or block diagram and a combination of the flow and/or block in the flow diagram and/or block diagram can be implemented by computer program instructions.
- These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device A device for realizing the functions specified in one block or multiple blocks of a block diagram or a block diagram of a block diagram.
- These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions
- the device implements the functions specified in the implementation flow diagram one flow or multiple flows and/or the block diagram one block or multiple blocks.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate computer-implemented processing, which is executed on the computer or other programmable device
- the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flow diagram.
- Embodiments of the present application provide an intra prediction method and device, and a computer storage medium.
- the intra prediction device can adopt a unified actual angle mode for reference blocks with different width-height relationships Processing to make the actual angle correspond to the actual angle mode one by one, so that no matter in the brightness prediction process or the chroma prediction process, when representing a certain angle, the angle of each shape block is specifically determined according to the aspect ratio Mode, which simplifies the angle conversion in the wide-angle mode, unifies the meaning of the angle value represented by each mode, eliminates deviations, effectively improves the accuracy of intra-frame prediction, and improves the efficiency of codec.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
编码块宽高关系 | 需要被替换成宽角度模式的传统帧内模式 |
W/H==2 | 模式2,3,4,5,6,7——67,……,72 |
W/H==4 | 模式2,3,4,5,6,7,8,9,10,11——67,……,76 |
W/H==8 | 模2,3,4,5,6,7,8,9,10,11,12,13——67,……,78 |
W/H==16 | 模式2,3,4,5,6,7,……,14,15——67,……,80 |
W/H==0 | 无 |
H/W==2 | 模式61,62,63,64,65,66——-6,……,-1 |
H/W==4 | 模式57,58,59,……,64,65,66——-10,……,-1 |
H/W==8 | 模式55,56,57,58,59,……,65,66——-12,……,-1 |
H/W==16 | 模式53,54,55,56,57,58,……,66——-14,……,-1 |
参考块宽高比 | 起始角度 | 角度偏移范围 | 实际角度模式 |
W/H=2 | 14 | 2’~130’ | 14~142 |
W/H=4 | 22 | 2’~130’ | 22~150 |
W/H=8 | 26 | 2’~130’ | 26~154 |
W/H=16 | 30 | 2’~130’ | 30~158 |
W/H=1 | 2 | 2’~130’ | 2~130 |
H/W=2 | -12 | 2’~130’ | -12~118 |
H/W=4 | -20 | 2’~130’ | -20~110 |
H/W=8 | -24 | 2’~130’ | -24~106 |
H/W=16 | -28 | 2’~130’ | -28~102 |
参考块宽高比 | 起始角度 | 角度偏移范围 | 实际角度模式 |
W/H=2 | 14 | 2’~130’ | 14~142 |
W/H=4 | 22 | 2’~130’ | 22~150 |
W/H=8 | 26 | 2’~130’ | 26~154 |
W/H=16 | 30 | 2’~130’ | 30~158 |
W/H=1 | 2 | 2’~130’ | 2~130 |
H/W=2 | -12 | 2’~130’ | -12~118 |
H/W=4 | -20 | 2’~130’ | -20~110 |
H/W=8 | -24 | 2’~130’ | -24~106 |
H/W=16 | -28 | 2’~130’ | -28~102 |
Claims (10)
- 一种帧内预测方法,其特征在于,包括:配置相对角度编号表示的实际角度模式;其中,所述相对角度编号依次表征在预设宽高关系对应的预测方向范围内,从起始角度开始,采用预设角度采样点采样后对应的所述实际角度模式;所述起始角度是根据处理块的宽高关系和所述预设宽高关系对应的预测方向范围确定的,实际角度与所述实际角度模式一一对应。
- 根据权利要求1所述的方法,其特征在于,所述预设角度采样点采样为65时,所述相对角度编号为2’至66’范围内的连续编号,所述相对角度编号对应的实际角度模式为-14至80范围内连续的65个实际角度模式,65个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
- 根据权利要求1所述的方法,其特征在于,所述预设角度采样点采样为33时,所述相对角度编号为2’至34’范围内的连续编号,所述相对角度编号对应的实际角度模式为-7至41范围内连续的33个实际角度模式,33个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
- 根据权利要求1所述的方法,其特征在于,所述预设角度采样点采样为129时,所述相对角度编号为2’至130’范围内的连续编号,所述相对角度编号对应的实际角度模式为-28至158范围内连续的129个实际角度模式,129个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
- 一种帧内预测方法,其特征在于,包括:获取当前块的参考块的宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点;根据所述宽高关系、所述预设宽高关系对应的预测方向范围和所述预设角度采样点,确定出采用相对角度编号表示的所述参考块对应的实际角度模式,使得实际角度与实际角度模式一一对应;基于所述参考块对应的实际角度模式,得到所述参考块对应的角度预测模式;基于所述角度预测模式,对所述当前块进行帧内预测。
- 根据权利要求5所述的方法,其特征在于,所述根据所述宽高关系、所述预设宽高关系对应的预测方向范围和所述预设角度采样点,确定出采用相对角度编号表示的所述参考块对应的实际角度模式,包括:根据所述宽高关系和所述预设宽高关系对应的预测方向范围,确定出所述参考块的角度模式的起始角度;基于所述预设角度采样点,确定所述参考块的角度偏移范围;根据所述起始角度和所述角度偏移范围,确定出采用相对角度编号表示的所述参考块对应的所述实际角度模式。
- 根据权利要求5或6所述的方法,其特征在于,所述基于所述角度预测模式,对所述当前块进行帧内预测,包括:基于所述角度预测模式,构造所述当前块的预测模式列表;采用预测模式列表,实现对所述当前块进行帧内预测。
- 根据权利要求5所述的方法,其特征在于,所述帧内预测至少包括以下之一:亮度帧内预测和色度帧内预测。
- 一种帧内预测装置,其特征在于,包括:处理器、存储有所述处理器可执行帧内预测指令的存储器,和用于连接所述处理器、所述存储器的通信总线,当所述帧内预测指令被执行时,实现如权利要求1-4,或5-8任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,其上存储有帧内预测指令,其中,所述帧内预测指令被处理器执行时,实现如权利要求1-4,或5-8任一项所述的方法。
Priority Applications (18)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310632632.9A CN116437080A (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
CN202310631061.7A CN116800958A (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
CN202310632780.0A CN116437081A (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
JP2021538683A JP7181412B2 (ja) | 2019-01-02 | 2019-01-02 | イントラ予測方法及び装置、コンピュータ可読記憶媒体 |
CN202110708337.8A CN113395516B (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
PCT/CN2019/070153 WO2020140217A1 (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
CN201980071211.5A CN112956191A (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
CN202310631010.4A CN116647675A (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
EP19906725.7A EP3890317A4 (en) | 2019-01-02 | 2019-01-02 | Intra-frame prediction method and device and computer-readable storage medium |
EP23206682.9A EP4290862A3 (en) | 2019-01-02 | 2019-01-02 | Intra-frame prediction method and device and computer-readable storage medium |
KR1020217022426A KR20210100728A (ko) | 2019-01-02 | 2019-01-02 | 인트라 예측 방법 및 장치, 컴퓨터 판독가능 저장 매체 |
US17/355,032 US11330299B2 (en) | 2019-01-02 | 2021-06-22 | Intra prediction method and device and computer-readable storage medium |
US17/715,318 US11856153B2 (en) | 2019-01-02 | 2022-04-07 | Intra prediction method and device and computer-readable storage medium |
US17/715,390 US11805276B2 (en) | 2019-01-02 | 2022-04-07 | Intra prediction method and device and computer-readable storage medium |
US17/715,468 US11962802B2 (en) | 2019-01-02 | 2022-04-07 | Intra prediction method and device and computer-readable storage medium |
JP2022184105A JP7439219B2 (ja) | 2019-01-02 | 2022-11-17 | イントラ予測方法及び装置、コンピュータ可読記憶媒体 |
JP2024018620A JP2024054290A (ja) | 2019-01-02 | 2024-02-09 | イントラ予測方法及び装置、コンピュータ可読記憶媒体 |
US18/608,229 US20240223805A1 (en) | 2019-01-02 | 2024-03-18 | Intra prediction method and device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/070153 WO2020140217A1 (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/355,032 Continuation US11330299B2 (en) | 2019-01-02 | 2021-06-22 | Intra prediction method and device and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020140217A1 true WO2020140217A1 (zh) | 2020-07-09 |
Family
ID=71406932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/070153 WO2020140217A1 (zh) | 2019-01-02 | 2019-01-02 | 帧内预测方法及装置、计算机可读存储介质 |
Country Status (6)
Country | Link |
---|---|
US (5) | US11330299B2 (zh) |
EP (2) | EP3890317A4 (zh) |
JP (3) | JP7181412B2 (zh) |
KR (1) | KR20210100728A (zh) |
CN (6) | CN112956191A (zh) |
WO (1) | WO2020140217A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210114961A (ko) * | 2019-01-02 | 2021-09-24 | 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 | 예측 방향 결정 방법, 디코더 및 컴퓨터 저장 매체 |
WO2024138083A1 (en) * | 2022-12-22 | 2024-06-27 | Beijing Dajia Internet Information Technology Co., Ltd. | Methods and apparatus for transform training and coding |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235008A (zh) * | 2011-12-05 | 2018-06-29 | Lg 电子株式会社 | 帧内预测的方法和设备 |
EP3349448A1 (en) * | 2015-09-10 | 2018-07-18 | LG Electronics Inc. | Intra prediction method and device in video coding system |
CN108605122A (zh) * | 2015-11-19 | 2018-09-28 | 韩国电子通信研究院 | 用于编码/解码屏幕内预测模式的方法和装置 |
CN109040754A (zh) * | 2018-11-06 | 2018-12-18 | 深圳市网心科技有限公司 | 一种hevc的帧内预测模式确定方法、设备、系统及介质 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101739987B1 (ko) * | 2010-12-28 | 2017-05-26 | 에스케이 텔레콤주식회사 | 주변블록의 특징벡터를 이용한 영상 부호화/복호화 방법 및 장치 |
EP3032830A1 (en) * | 2014-12-08 | 2016-06-15 | Thomson Licensing | Differential coding of intra modes |
US11032550B2 (en) * | 2016-02-25 | 2021-06-08 | Mediatek Inc. | Method and apparatus of video coding |
CN116916015A (zh) * | 2016-12-07 | 2023-10-20 | 株式会社Kt | 对视频进行解码或编码的方法和存储视频数据的设备 |
HUE062025T2 (hu) * | 2016-12-23 | 2023-09-28 | Huawei Tech Co Ltd | Kódoló berendezés egy kiterjesztési irányú intra-predikciós mód jelzésére irányított intra-predikciós módok csoportján belül |
FI20175006A1 (en) * | 2017-01-03 | 2019-02-15 | Nokia Technologies Oy | Video and image coding using wide-angle intra-prediction |
WO2019050292A1 (ko) * | 2017-09-08 | 2019-03-14 | 주식회사 케이티 | 비디오 신호 처리 방법 및 장치 |
CN117221555A (zh) * | 2017-09-21 | 2023-12-12 | 株式会社Kt | 视频信号处理方法及装置 |
JP7043616B2 (ja) * | 2017-10-24 | 2022-03-29 | ウィルス インスティテュート オブ スタンダーズ アンド テクノロジー インコーポレイティド | ビデオ信号処理方法及び装置 |
US20210006799A1 (en) * | 2018-03-27 | 2021-01-07 | Kt Corporation | Video signal processing method and device |
US10778971B2 (en) * | 2018-06-01 | 2020-09-15 | Tencent America LLC | Method and apparatus for video coding |
CN112204965B (zh) * | 2018-06-21 | 2024-09-20 | 株式会社Kt | 用于处理视频信号的方法和设备 |
US10284860B1 (en) * | 2018-07-02 | 2019-05-07 | Tencent America LLC | Method and apparatus for video coding |
-
2019
- 2019-01-02 CN CN201980071211.5A patent/CN112956191A/zh active Pending
- 2019-01-02 EP EP19906725.7A patent/EP3890317A4/en not_active Withdrawn
- 2019-01-02 CN CN202310631061.7A patent/CN116800958A/zh active Pending
- 2019-01-02 CN CN202310631010.4A patent/CN116647675A/zh active Pending
- 2019-01-02 EP EP23206682.9A patent/EP4290862A3/en active Pending
- 2019-01-02 CN CN202310632632.9A patent/CN116437080A/zh active Pending
- 2019-01-02 JP JP2021538683A patent/JP7181412B2/ja active Active
- 2019-01-02 CN CN202310632780.0A patent/CN116437081A/zh active Pending
- 2019-01-02 CN CN202110708337.8A patent/CN113395516B/zh active Active
- 2019-01-02 KR KR1020217022426A patent/KR20210100728A/ko not_active Application Discontinuation
- 2019-01-02 WO PCT/CN2019/070153 patent/WO2020140217A1/zh unknown
-
2021
- 2021-06-22 US US17/355,032 patent/US11330299B2/en active Active
-
2022
- 2022-04-07 US US17/715,318 patent/US11856153B2/en active Active
- 2022-04-07 US US17/715,468 patent/US11962802B2/en active Active
- 2022-04-07 US US17/715,390 patent/US11805276B2/en active Active
- 2022-11-17 JP JP2022184105A patent/JP7439219B2/ja active Active
-
2024
- 2024-02-09 JP JP2024018620A patent/JP2024054290A/ja active Pending
- 2024-03-18 US US18/608,229 patent/US20240223805A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235008A (zh) * | 2011-12-05 | 2018-06-29 | Lg 电子株式会社 | 帧内预测的方法和设备 |
EP3349448A1 (en) * | 2015-09-10 | 2018-07-18 | LG Electronics Inc. | Intra prediction method and device in video coding system |
CN108605122A (zh) * | 2015-11-19 | 2018-09-28 | 韩国电子通信研究院 | 用于编码/解码屏幕内预测模式的方法和装置 |
CN109040754A (zh) * | 2018-11-06 | 2018-12-18 | 深圳市网心科技有限公司 | 一种hevc的帧内预测模式确定方法、设备、系统及介质 |
Also Published As
Publication number | Publication date |
---|---|
US20220232252A1 (en) | 2022-07-21 |
EP3890317A1 (en) | 2021-10-06 |
JP2024054290A (ja) | 2024-04-16 |
US11805276B2 (en) | 2023-10-31 |
EP3890317A4 (en) | 2021-12-29 |
CN112956191A (zh) | 2021-06-11 |
CN116647675A (zh) | 2023-08-25 |
US20220232251A1 (en) | 2022-07-21 |
JP7181412B2 (ja) | 2022-11-30 |
JP2023018019A (ja) | 2023-02-07 |
US11330299B2 (en) | 2022-05-10 |
CN113395516B (zh) | 2023-05-23 |
CN116800958A (zh) | 2023-09-22 |
JP7439219B2 (ja) | 2024-02-27 |
CN116437080A (zh) | 2023-07-14 |
CN116437081A (zh) | 2023-07-14 |
US20240223805A1 (en) | 2024-07-04 |
EP4290862A2 (en) | 2023-12-13 |
US11856153B2 (en) | 2023-12-26 |
US20220232250A1 (en) | 2022-07-21 |
CN113395516A (zh) | 2021-09-14 |
KR20210100728A (ko) | 2021-08-17 |
US11962802B2 (en) | 2024-04-16 |
EP4290862A3 (en) | 2024-03-27 |
US20210321132A1 (en) | 2021-10-14 |
JP2022516624A (ja) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020253829A1 (zh) | 一种编解码方法、装置及存储介质 | |
WO2022104498A1 (zh) | 帧内预测方法、编码器、解码器以及计算机存储介质 | |
KR20190117708A (ko) | 부호화유닛 심도 확정 방법 및 장치 | |
CN102939753A (zh) | 用于通过根据像素组补偿像素值来对视频进行编码的方法和设备以及用于通过根据像素组补偿像素值来对视频进行解码的方法和设备 | |
JP7439219B2 (ja) | イントラ予測方法及び装置、コンピュータ可読記憶媒体 | |
CN110870312B (zh) | 用于视频压缩中的帧内编码的方法和设备 | |
CN113347416B (zh) | 色度帧内预测方法和装置、及计算机存储介质 | |
CN105306957A (zh) | 自适应环路滤波方法和设备 | |
JP7461353B2 (ja) | 画像符号化/復号化方法、エンコーダ、デコーダ及び記憶媒体 | |
CN116112683A (zh) | 视频压缩方法、装置、计算机设备和存储介质 | |
JP7437404B2 (ja) | イントラ予測方法、装置およびコンピュータ記憶媒体 | |
WO2022188114A1 (zh) | 帧内预测方法、编码器、解码器以及存储介质 | |
CN113347438B (zh) | 帧内预测方法及装置、视频编码设备、存储介质 | |
WO2023141970A1 (zh) | 解码方法、编码方法、解码器、编码器和编解码系统 | |
WO2015055146A1 (zh) | 深度图像的编码、解码处理方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19906725 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021538683 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20217022426 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2019906725 Country of ref document: EP Effective date: 20210702 |