WO2020140217A1 - 帧内预测方法及装置、计算机可读存储介质 - Google Patents

帧内预测方法及装置、计算机可读存储介质 Download PDF

Info

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
Application number
PCT/CN2019/070153
Other languages
English (en)
French (fr)
Inventor
霍俊彦
马彦卓
万帅
杨付正
郭锦坤
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to EP23206682.9A priority Critical patent/EP4290862A3/en
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN202310631061.7A priority patent/CN116800958A/zh
Priority to CN202310632780.0A priority patent/CN116437081A/zh
Priority to JP2021538683A priority patent/JP7181412B2/ja
Priority to CN202110708337.8A priority patent/CN113395516B/zh
Priority to PCT/CN2019/070153 priority patent/WO2020140217A1/zh
Priority to EP19906725.7A priority patent/EP3890317A4/en
Priority to CN202310632632.9A priority patent/CN116437080A/zh
Priority to CN202310631010.4A priority patent/CN116647675A/zh
Priority to CN201980071211.5A priority patent/CN112956191A/zh
Priority to KR1020217022426A priority patent/KR20210100728A/ko
Publication of WO2020140217A1 publication Critical patent/WO2020140217A1/zh
Priority to US17/355,032 priority patent/US11330299B2/en
Priority to US17/715,318 priority patent/US11856153B2/en
Priority to US17/715,468 priority patent/US11962802B2/en
Priority to US17/715,390 priority patent/US11805276B2/en
Priority to JP2022184105A priority patent/JP7439219B2/ja
Priority to JP2024018620A priority patent/JP2024054290A/ja
Priority to US18/608,229 priority patent/US20240223805A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/103Selection of coding mode or of prediction mode
    • H04N19/105Selection 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/12Selection 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/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods 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/423Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods 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

帧内预测方法及装置、计算机可读存储介质 技术领域
本申请实施例涉及视频编码领域的帧内预测技术,尤其涉及一种帧内预测方法和装置、及计算机存储介质。
背景技术
在下一代视频编码标准H.266或多功能视频编码(Versatile Video Coding,VVC)的亮度预测过程中,为了减少熵编码的比特数,会构造一个MPM列表,存储相邻块的预测模式。基于空间相邻块相似度高的原理,当前块选中的预测模式较大概率会与MPM列表中存在的某一种模式相同,因此,可以用更少的比特数编码当前块的预测模式。然而,由于非方形块宽角度模式的存在,角度模式编号代表的实际角度方向可能和原始意义不同,这造成了在MPM列表中,相同编号的角度模式对于相邻块和当前块来说可能代表着不同的预测方向,而且情况分类众多,这就会影响当前块的预测模式的准确表述与使用。并且在色度预测过程中,DM模式会借用当前色度块中心位置所在处的亮度块的预测模式,无论该亮度块的预测模式是否为宽角度模式,DM模式都会借用原始的角度模式编号,这就可能会造成色度块实际使用的角度模式和对应亮度块的角度模式之间也存在偏差。也就是说在宽角度模式下,角度模式编号可能对应不同的实际角度模式,使得亮度预测过程中角度换算较为复杂,且使得色度预测借用的亮度块的角度模式也存在偏差,出现预测的不准确的问题。
发明内容
本申请实施例提供一种帧内预测方法及装置、计算机可读存储介质,能够有效地提高帧内预测的准确性,同时提高编解码效率。
本申请实施例的技术方案是这样实现的:
本申请提供了一种帧内预测方法,所述方法包括:
配置相对角度编号表示的实际角度模式;其中,所述相对角度编号依次表征在预设宽高关系对应的预测方向范围内,从起始角度开始,采用预设角度采样点采样后对应的所述实际角度模式;所述起始角度是根据处理块的宽高关系和所述预设宽高关系对应的预测方向范围确定的,实际角度与所述实际角度模式一一对应。
在上述方案中,所述预设角度采样点采样为65时,所述相对角度编号为2’至66’范围内的连续编号,所述相对角度编号对应的实际角度模式为-14至80范围内连续的65个实际角度模式,65个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
在上述方案中,所述预设角度采样点采样为33时,所述相对角度编号为2’至34’范围内的连续编号,所述相对角度编号对应的实际角度模式为-7至41范围内连续的33个实际角度模式,33个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
在上述方案中,所述预设角度采样点采样为129时,所述相对角度编号为2’至130’ 范围内的连续编号,所述相对角度编号对应的实际角度模式为-28至158范围内连续的129个实际角度模式,129个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
本申请实施例还提供了一种帧内预测方法,包括:
获取当前块的参考块的宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点;
根据所述宽高关系、所述预设宽高关系对应的预测方向范围和所述预设角度采样点,确定出采用相对角度编号表示的所述参考块对应的实际角度模式,使得实际角度与实际角度模式一一对应;
基于所述参考块对应的实际角度模式,得到所述参考块对应的角度预测模式;
基于所述角度预测模式,对所述当前块进行帧内预测。
在上述方案中,所述根据所述宽高关系、所述预设宽高关系对应的预测方向范围和所述预设角度采样点,确定出采用相对角度编号表示的所述参考块对应的实际角度模式,包括:
根据所述宽高关系和所述预设宽高关系对应的预测方向范围,确定出所述参考块的角度模式的起始角度;
基于所述预设角度采样点,确定所述参考块的角度偏移范围;
根据所述起始角度和所述角度偏移范围,确定出采用相对角度编号表示的所述参考块对应的所述实际角度模式。
在上述方案中,所述基于所述角度预测模式,对所述当前块进行帧内预测,包括:
基于所述角度预测模式,构造所述当前块的预测模式列表;
采用预测模式列表,实现对所述当前块进行帧内预测。
在上述方案中,所述帧内预测至少包括以下之一:亮度帧内预测和色度帧内预测。
本申请实施例提供了一种帧内预测装置,包括:
处理器、存储有所述处理器可执行帧内预测指令的存储器,和用于连接所述处理器、所述存储器的通信总线,当所述帧内预测指令被执行时,实现上述的帧内预测方法。
本申请实施例提供了一种计算机可读存储介质,其上存储有帧内预测指令,其中,所述帧内预测指令被处理器执行时,实现上述的帧内预测方法。
本申请实施例中,采用上述技术实现方案,帧内预测装置在帧内预测的过程中,针对不同宽高关系的参考块,可以采用统一的实际角度模式的方式来处理,以使得实际角度与实际角度模式一一对应,这样无论在亮度预测过程中还是在色度预测过程中,在表示某一角度时,根据长宽比具体确定每种形状的块的角度模式,简化了有关宽角度模式下的角度换算,统一了每个模式代表的角度值含义,消除了偏差,有效地提高帧内预测的准确性,同时提高编解码效率。
附图说明
图1为本申请实施例VVC支持的67种帧内预测模式的示意图;
图2A为本申请实施例提供的视频编码系统的组成结构示意图;
图2B为本申请实施例提供的视频解码系统的组成结构示意图;
图3为本申请实施例提供的示例性的宽角度模式的帧内预测模式的示意图;
图4为本申请实施例提供的一种帧内预测方法的流程图;
图5为本申请实施例提供的示例性的相邻帧内预测模式示意图;
图6为本申请实施例提供的示例性的当前块对应的亮度块和色度块的排布示意图一;
图7为本申请实施例提供的示例性的当前块对应的亮度块和色度块的排布示意图二;
图8为本申请实施例提供的一种帧内预测装置的结构示意图一;
图9为本申请实施例提供的一种帧内预测装置的结构示意图二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。
下面先对本申请中的名称进行解释说明。
VVC/H.266:下一代视频编码标准。
VTM:The Test Model of VVC,是VVC的参考软件测试平台。
MPM:Most Probable Modes,最可能的模式。
DM:direct mode,一种色度预测模式。
VER:垂直方向角度预测模式,在VTM3.0中对应于编号为50的帧内预测模式。
HOR:水平方向角度预测模式,在VTM3.0中对应于编号为18的帧内预测模式。
DIA:对角方向角度预测模式,在VTM3.0中对应于编号为34的帧内预测模式。
VDIA:反对角方向角度预测模式,在VTM3.0中对应于编号为66的帧内预测模式。
在本申请实施例中,预测编码的功能是:在视频编码中利用空间或时间上已有的重建图像构造当前块的预测值,仅将原始值和预测值的差值传输,以达到减少传输数据量的目的。其中,在亮度预测中,这里的原始值和预测值可以为亮度的原始值和亮度的预测值;在色度预测中,这里的原始值和预测值可以为色度的原始值和色度的预测值。
帧内预测的功能是:利用与当前块相邻的上一行像素单元和左一列像素单元构造该当前块的预测值。利用当前块周围已经恢复的邻近像素(即与当前块相邻的上一行中的像素单元和左一列中像素单元),对当前块的每个像素单元进行预测。
例如,当前块为亮度块,在利用邻近像素构造当前块的亮度预测值时,采用多种预测方向,依次对所述当前块进行亮度预测,得到每一预测方向对应的亮度预测值矩阵;基于每一亮度预测值矩阵和当前块的亮度原始值矩阵,确定每一预测方向对应的差值矩阵;基于每一差值矩阵,确定对应预测方向的评价参数值,评价参数值用于表征对应预测方向对当前块的预测效果;基于每一评价参数值,从这多种预测方向中确定出目标预测方向,例如,在保证视频恢复质量的前提下,能够获得最小的图像编码比特数的预测方向确定为目标预测方向;然后将该目标预测方向写入码流。
示例性的,VVC支持的67种帧内预测方向,即预测模式,其中,索引号为2-66帧内预测方向如图1所示。
需要说明的是,为了适应视频分辨率越来越高的需求,更加精细准确地表达视频内容的方向,H.266/VVC中将H.265/HEVC中定义的33种帧内亮度预测角度模式扩展到了65种,新增的角度模式在图1中以虚线箭头表示。编号0表示Planar模式,编号1表示DC模式,编号2-66表示65种角度模式(从左下到右上),共67种帧内预测模式,这里的2-66为绝对角度编号。
在本申请实施例中,以索引号为66的帧内预测方向为例,给出构造当前块的每个像素单元的亮度预测值的方法。其中,与当前块相邻的上一行数据为已完成预测的像素单元。当前块的每个像素单元按照右上对角线(即索引号为66的预测方向)的像素单元进行填充。
另外,还有两种比较平坦的构造预测块方式,分别为DC模式PLANAR模式。DC模式是利用上一行或左一列的特征值(例如,色度值或亮度值)的平均值填充整个当前块,PLANAR模式采用渐变的方式填充当前块。
对于亮度模式,按照图1中的0-66种方向依次预测,选取与当前块最匹配(例如差值最小,或率失真代价最小)的预测方向作为目标预测方向,构造当前块的每一像素单元的亮度预测值,这就是亮度帧内预测的基本原理。在得到目标预测方向和目标预测方向对应的每一像素单元对应的差值之后,编码器将每一像素单元对应的差值和当前块对应的目标预测方向的索引号写入码流。解码器在接收到码流之后,对接收的码流进行解析,得到目标预测方向的索引号,便可计算出对应的当前块中每一像素单元的亮度预测值,与码流解析出的差值相加,即可得到对应像素单元的亮度重建值。
在已知上述几种基本概念的基础上,提供一种视频编码系统,图2A为本申请实施例视频编码系统的组成结构示意图,如图2A所示,该视频编码系统21,包括:
变换与量化单元211、帧内估计单元212、帧内预测单元213、运动补偿单元214、运动估计单元215、反变换与反量化单元216、滤波器控制分析单元217、滤波单元218、编码单元219和解码图像缓存单元210;针对输入的原始视频信号,通过编码树块(Coding Tree Unit,CTU)的划分可以得到一个视频重建块,然后,对经过帧内或帧间预测后得到的残差像素信息,通过变换与量化单元211对该视频重建块进行变换,包括将残差信息从像素域变换到变换域,并对所得的变换系数进行量化,用以进一步减少比特率;帧内估计单元212和帧内预测单元213用于对该视频重建块进行帧内预测;其中,帧内估计单元212和帧内预测单元213用于确定该视频重建块的最优帧内预测方向(即目标预测方向);运动补偿单元214和运动估计单元215用于执行所接收的视频重建块相对于一或多个参考帧中的一或多个块的帧间预测编码,以提供时间预测信息;由运动估计单元215执行的运动估计为产生运动向量的过程,所述运动向量可以估计该视频重建块的运动,然后,由运动补偿单元214基于由运动估计单元215所确定的运动向量执行运动补偿;在确定帧内预测方向之后,帧内预测单元213还用于将所选择的帧内预测数据提供到编码单元219,而且,运动估计单元215将所计算确定的运动向量数据也发送到编码单元219;此外,反变换与反量化单元216用于该视频重建块的重构建,在像素域中重构建残差块,该重构建残差块通过滤波器控制分析单元217和滤波单元218去除方块效应伪影,然后,将该重构残差块添加到解码图像缓存单元210的帧中的一个预测性块,用以产生经重构建的视频重建块;编码单元219是用于编码各种编码参数及量化后的变换系数,在基于CABAC的编码算法中,上下文内容可基于相邻重建块,可用于编码指示所确定的帧内预测方向的信息,输出该视频信号的码流;而解码图像缓存单元210用于存放重构建的视频重建块,用于预测参考。随着视频图像编码的进行,会不断生成新的重构建的视频重建块,这些重构建的视频重建块都会被存放在解码图像缓存单元210中。
本申请实施例提供一种视频解码系统,图2B为本申请实施例视频编码系统的组成结构示意图,如图2B所示,该视频编码系统22包括:
解码单元221、反变换与反量化单元222、帧内预测单元223、运动补偿单元224、滤波单元225和解码图像缓存单元226单元;输入的视频信号经过视频编码系统21进行编码处理之后,输出该视频信号的码流;该码流输入视频解码系统22中,首先经过解码单元221,用于得到解码后的变换系数;针对该变换系数通过反变换与反量化单元222进行处理,以便在像素域中产生残差块;帧内预测单元223可用于基于所确定的帧内预测方向和来自当前帧或图片的先前经解码块的数据而产生当前视频解码块的预测数据;运动补偿单元224是通过剖析运动向量和其他关联语法元素来确定用于视频解码 块的预测信息,并使用该预测信息以产生正被解码的视频解码块的预测性块;通过对来自反变换与反量化单元222的残差块与由帧内预测单元223或运动补偿单元224产生的对应预测性块进行求和,而形成解码的视频块;该解码的视频信号通过滤波单元225以便去除方块效应伪影,可以改善视频质量;然后将经解码的视频块存储于解码图像缓存单元226中,解码图像缓存单元226存储用于后续帧内预测或运动补偿的参考图像,同时也用于视频信号的输出,得到所恢复的原始视频信号。
本申请实施例主要作用于视频编码系统21的帧内预测单元213和视频解码系统22的帧内预测单元223;也就是说,如果在视频编码系统21能够通过本申请实施例提供的帧内预测方法得到一个较好的预测效果,那么,对应地,在解码端,也能够改善视频解码恢复质量。
基于此,下面结合附图和实施例对本申请的技术方案进一步详细阐述。
需要说明的是,本申请实施例提供的一种帧内预测装置可以为编码器也可以为解码器,本申请实施例不作限制。
本申请实施例提供了一种帧内预测方法,该方法可以包括:
配置相对角度编号表示的实际角度模式;其中,相对角度编号依次表征在预设宽高关系对应的预测方向范围内,从起始角度开始,采用预设角度采样点采样后对应的实际角度模式;起始角度是根据处理块的宽高关系和预设宽高关系对应的预测方向范围确定的,实际角度与实际角度模式一一对应。
本申请实施例提供的一种帧内预侧方法中,涉及将当前块的预测模式的预侧编号写入码流进行编解码的过程。
下面以65种角度帧内预测模式来说明宽角度模式。宽角度模式:如图1所示的65种角度帧内预测模式的预测方向在顺时针方向上定义为45度(模式66)至-135度(模式2)之间。考虑到在H.266/VVC中加入了QTBT编码块划分结构,会产生一些非方形编码块。针对非方形编码块,将会使用扩充的宽角度模式代替几种传统的角度帧内预测模式。而需要被替代的传统角度模式的数量与当前编码块宽高比有关,该比例越大,需要替换成宽角度模式的传统角度模式越多。
在VTM2.0.1中有85个角度方向模式以及DC和Planar模式,其中20个角度方向超出-135度和45度之间的范围,即宽角度。在顺时针方向上的-135度(模式2)至45度(模式66)内的角度方向被设计用于方块且包含了所有方形块的对角线方向(模式2,34和66)。但是,对于非方形块,并非总能覆盖其对角线方向。另外,方形块的角度方向是从左下对角线方向开始到右上对角线方向的,而非方形块的角度方向并不是如此。
如图3所示,有93个角度方向模式以及DC和Planar模式,其中28个角度方向超出45度和-135度之间的范围,即宽角度。
在最新的H.266/VVC参考软件VTM3.0中接受了L0279提案提出的一种统一化的宽角度模式,该提案提出了三点改进:
·限制当前编码块的角度模式为从左下对角线方向到右上对角线方向之间;
·限制当前编码块扩展出的宽角度模式始终包含左下和右上对角线方向;
·参考范围统一,对于上参考范围为2*W+1,对于左参考范围为2*H+1。
其中,W为块(编码块或解码块)的宽度,H为块(编码块或解码块)的长度。
需要说明的是,L0279提案提出的统一方法修改了需要被替换成宽角度模式的传统模式的个数,使得扩展宽角度之后的角度范围刚好在左下对角线方向到右上对角线方向之间(例如2-66之间),如表1所示。同时该方法还适当修改了扩展出的宽角度模式以及需要被替换的传统角度模式的方向,使其包含了各种宽高比情况下当前编码块的对角线方向。
表1
编码块宽高关系 需要被替换成宽角度模式的传统帧内模式
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
这里,宽高比(或高宽比,以下同)为2时,有6个模式需要被替换;宽高比为4时,有10个模式需要被替换;宽高比为8时,有12个模式需要被替换;宽高比为16时,有14个模式需要被替换。
也就是说,基于图3所示,所有角度模式的编号范围为-14至80范围,但是采用2-66的连续编号通过表1的替换方法进行表示角度模式。
在本申请实施例中,帧内预侧装置在进行角度模式配置或者标识的时候,采用相对角度编号表示的实际角度模式;其中,相对角度编号依次表征在预设宽高关系对应的预测方向范围内,从起始角度开始,采用预设角度采样点采样后对应的实际角度模式;起始角度是根据处理块的宽高关系和预设宽高关系对应的预测方向范围确定的。
具体的,帧内预侧装置可以根据处理块宽高关系和预设宽高关系对应的预测方向范围,确定出参考块的角度模式的起始角度;基于预设角度采样点,确定参考块的角度偏移范围;根据起始角度和角度偏移范围,确定出采用相对角度编号表示的处理块对应的实际角度模式。
需要说明的是,在本申请实施例中,宽高关系和预测方向范围决定了起始角度。预测方向范围表征从所有角度模式中选取的预设角度采样点个角度模式是什么。其中,预测方向范围是现有技术中已知的。参考表1所示的,例如,宽高比为2时,预测方向范围为8-72范围的这65个角度模式。
在本申请的一些实施例中,预设角度采样点采样为65时,相对角度编号为2’至66’范围的连续编号,相对角度编号对应的实际角度模式为-14至80范围内连续的65个实际角度模式,65个实际角度模式的选取由宽高关系决定,其中,相对角度编号和实际角度模式按照顺序一一对应。
其中,本申请实施例采用2’-66’表示采用2-66的编号表征相对角度对应的实际角度模式的。也就是说,采用2’-66’范围的连续编号表示的实际角度模式,是[起始值角度+角度偏移范围下限值,起始值角度+角度偏移范围上限值]角度范围内对应的65个实际角度的65个实际角度模式。
在本申请实施例中,角度偏移范围为[0-预设角度采样点个数-1]。例如,预设角度采样点为65时,角度偏移范围为[0-64]。
示例性的,在本申请实施例中,以预设角度采样点,即角度方向个数65为例,预设宽高关系、2’表征的起始角度模式含义、相对角度编号,以及表征实际角度模式的含义如表2所示。
表2
Figure PCTCN2019070153-appb-000001
可以理解的是,在这种表示方式中,参考了L0279提案中的实际角度模式表示方法,将所有角度模式的绝对编号表示在范围[-14,80],无论当前编码块具有怎样的宽高比,都只包含其中连续的65个角度模式,即65个角度编号,只是这65个角度编号的选取范围(即预测方向范围)会因宽高比而有所不同。在本申请实施例的表示方法中,无论是否有宽角度模式扩展,都将从左下对角方向到右上对角方向的模式固定为2’-66’(相对角度编号)。但由于不同的宽高比,相对角度编号的起始角度编号表征的实际角度模式的含义会不同,虽然由于预测方向范围的不同,相对角度编号范围落在不同的区间上,但都属于[-14,80]范围内。例如在W/H=2中,左下对角线方向的相对角度编号为2’,实际表征的为起始角度+角度偏移范围的第一个值:即8+0的实际角度模式(采用图3的角度编号表征实际角度);相对角度编号3’表征8+1(角度偏移范围的第二个值)的实际角度模式(即表征的图3中的模式9),……..,相对角度编号66’表征8+64(角度偏移范围的第65个值)的实际角度模式(即表征的图3中的模式72)。
本申请实施例的表示方法可以避免亮度预测过程中,由于使用了相同的角度模式编号来表示,造成MPM列表存储模式的角度方向和实际相邻块的角度方向存在偏差。同时避免了色度预测过程中,当前色度块中心位置处借用的亮度方向和实际亮度方向的偏差。
需要说明的是,本申请实施例提供的采用相对角度编号的表示方法,在编码时,以一种语法元素的形式放入码流传输,即将相对角度编号放入码流,在解码时,解码器约定好了不同宽高比的相对角度编号表征的含义,因此,可以通过接收到的相对角度编号解析出该相对角度编号对应的实际角度模式了。
在本申请的一些实施例中,预设角度采样点采样为33时,相对角度编号为2’至34’范围内的连续编号,相对角度编号对应的实际角度模式为-7至41范围内连续的33个实际角度模式,33个实际角度模式的选取由宽高关系决定,其中,相对角度编号和实际角度模式按照顺序一一对应。
示例性的,在本申请实施例中,以预设角度采样点,即角度方向个数为33例,预设宽高关系、2’表征的起始角度模式含义、相对角度编号,以及表征实际角度模式的含义如表3所示。
表3
Figure PCTCN2019070153-appb-000002
Figure PCTCN2019070153-appb-000003
在本申请的一些实施例中,预设角度采样点采样为129时,相对角度编号为2’-130’范围内的连续编号,相对角度编号对应的实际角度模式为-28至158范围内连续的129个实际角度模式,129个实际角度模式的选取由宽高关系决定,其中,相对角度编号和实际角度模式按照顺序一一对应。
示例性的,在本申请实施例中,以预设角度采样点,即角度方向个数为129例,预设宽高关系、2’表征的起始角度模式含义、相对角度编号,以及表征实际角度模式的含义如表4所示。
表4
参考块宽高比 起始角度 角度偏移范围 实际角度模式
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
在本申请实施例中,不限制预设角度采样点的个数。
本申请实施例提供了一种帧内预测方法,如图4所示,该方法可以包括:
S101、获取当前块的参考块的宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点。
S102、根据宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点,确定出采用相对角度编号表示的参考块对应的实际角度模式,使得实际角度与实际角度模式一一对应。
S103、基于参考块对应的实际角度模式,得到参考块对应的角度预测模式。
S104、基于角度预测模式,对当前块进行帧内预测。
在本申请实施例中,参考块为当前块所在的预设范围内的且已完成帧内预测的数据块,参考块可以是至少一个。
需要说明的是,帧内预测装置在进行帧内预测时至少包括以下之一:亮度帧内预测和色度帧内预测。其中,亮度帧内预测是采用相邻块为参考块的,色度帧内预测时则是 可以借用前色度块中心位置所在处的亮度块为参考块的。色度预测模式可以包括DM,LM,LM_T,LM_L等模式。
在本申请的一些实施例中,预测模式至少包括以下之一:亮度帧内预测方向和色度帧内预测方向。
可以理解地,当预测方向是亮度帧内预测方向时,参考块的预测方向为亮度方向,对于S104,在对当前块进行帧内预测时,实际上是对当前块的亮度进行帧内预测;类似地,当预测方向是色度帧内预测方向时,参考块的预测方向为色度方向,对于S104,在对当前块进行帧内预测时,实际上是对当前块的色度进行帧内预测的过程。
在S101中,不论帧内预测装置进行的是亮度帧内预测还是色度帧内预测,在当前块的预测模式的获取过程中,帧内预测装置可以获取到当前块的参考块的宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点。
在本申请实施例中,参考块的宽高关系可以为宽高比,也可以为高宽比,本申请实施例不作限制。
在本申请实施例中,预设宽高关系对应的预测方向范围:针对一个处理块的不同的宽高关系,得到的包含从左下对角线方向到右上对角线方向之间的连续预设角度采样点个数的实际角度范围。
在本申请实施例中,预设角度采样点个数为左下对角线方向到右上对角线方向之间的采样点的个数。
需要说明的是,帧内预测装置可以获取到当前块的参考块的宽高关系、预设宽高关系对应的预测方向范围,确定出在每种预测方向范围内的预设角度采样点,选用预测方向与起始角度的相对角度编号。
示例性的,以65种角度帧内预测模式为例进行说明。65种角度帧内预测模式的预测方向在顺时针方向上定义为-135度(模式2)至45度(模式66)之间,这里的[2’,66’]为相对角度编号。
在本申请实施例中,在预设角度采样点个数一定的情况下,所有角度模式的预测方向范围的长度为是相同的,无论当前块具有怎样的宽高关系,都只包含其中连续的预设角度采样点个数的角度(即相对角度编号),只是从预测方向范围的长度中选取这预设角度采样点个数的实际角度模式会因宽高关系而有所不同。
在S102中,帧内预测装置在获取了当前块的参考块的宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点之后,帧内预测装置可以根据宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点,确定出采用相对角度编号表示的参考块对应的实际角度模式,使得实际角度与实际角度模式一一对应,具体的实现为:S1021-1023。如下:
S1021、根据宽高关系和预设宽高关系对应的预测方向范围,确定出参考块的角度模式的起始角度。
S1022、基于预设角度采样点,确定参考块的角度偏移范围。
S1023、根据起始角度和角度偏移范围,确定出采用相对角度编号表示的参考块对应的实际角度模式。
帧内预测装置在获取了宽高关系和预设宽高关系对应的预测方向范围之后,可以根据宽高关系,从预设宽高关系对应的预测方向范围中,确定出参考块的角度模式的起始角度,并且帧内预测装置是基于预设角度采样点,确定参考块的角度偏移范围;根据起始角度和角度偏移范围,确定出采用相对角度编号表示的参考块对应的实际角度模式,这样帧内预测装置就可以起始角度为起始,选取出采用相对角度编号的角度偏移范围内的实际角度模式了。
在本申请的一些实施例中,可以采用相对角度编号来表征角度,这样,帧内预测装置可以根据宽高关系和预设宽高关系对应的预测方向范围,确定出参考块的角度模式的起始角度的相对角度起始编号;基于预设角度采样点,确定参考块的角度偏移范围为[0-预设角度采样点个数-1];根据起始编码号和角度偏移范围,确定出采用相对角度编号[2’-66’]范围内的连续编号依次表示参考块对应的实际角度模式。
示例性的,在本申请实施例中,以预设角度采样点为65,即角度方向个数65为例,预设宽高关系、2’表征的起始角度模式含义、相对角度编号,以及表征实际角度模式的含义如表2所示。
表2
Figure PCTCN2019070153-appb-000004
可以理解的是,在这种表示方式中,参考了L0279提案中的图3的实际角度模式表示方法,将所有角度模式的绝对编号表示在范围[-14,80],无论当前编码块具有怎样的宽高比,都只包含其中连续的65个角度编号,只是这65个角度编号的选取范围会因宽高比而有所不同。在这种新的表示方法中,无论是否有宽角度模式扩展,都将从左下对角方向到右上对角方向的模式采用相对角度编号2’~66’表示。但由于不同的宽高比,角度模式的起始角度编号会不同,最终使得所有角度的编号范围落在不同的区间上,但都在[-14,80]范围内。例如,在W/H=2中,左下对角线方向的相对角度编号为2’,实际表征的为起始角度+角度偏移范围的第一个值:即8+0的实际角度模式(采用图3的角度编号表征实际角度);相对角度编号3’表征8+1(角度偏移范围的第二个值)的实际角度模式(即表征的图3中的模式9),……..,相对角度编号66’表征8+64(角度偏移范围的第65个值)的实际角度模式(即表征的图3中的模式72)。本申请实施例的表示方法可以避免亮度预测过程中,由于使用了相同的角度模式编号来表示,造成MPM列表存储模式的角度方向和实际相邻块的角度方向存在偏差。同时避免了色度预测过程中,当前色度块中心位置处借用的亮度方向和实际亮度方向的偏差。
需要说明的是,本申请实施例提供的采用相对角度编号的表示方法,在编码时,以一种语法元素的形式放入码流传输,即将相对角度编号放入码流,在解码时,解码器约定好了不同宽高比的相对角度编号表征的含义,因此,可以通过接收到的相对角度编号解析出该相对角度编号对应的实际角度模式了。
可以理解的是,将相对角度编号作为码流中角度模式编号的语法元素传输,简化了编解码器在宽角度模式下对真实预测角度的获取,有助于提高编解码效率。
在本申请的一些实施例中,预设角度采样点采样为33时,相对角度编号为2’至34’范围内的连续编号,相对角度编号对应的实际角度模式为-7-41范围内连续的33个实际 角度模式,33个实际角度模式的选取由宽高关系决定,其中,相对角度编号和实际角度模式按照顺序一一对应。
示例性的,在本申请实施例中,以预设角度采样点,即角度方向个数为33例,预设宽高关系、2’表征的起始角度模式含义、相对角度编号,以及表征实际角度模式的含义如表3所示。
表3
Figure PCTCN2019070153-appb-000005
在本申请的一些实施例中,预设角度采样点采样为129时,相对角度编号为2’至130’范围内的连续编号,相对角度编号对应的实际角度模式为-28至158范围内连续的129个实际角度模式,129个实际角度模式的选取由宽高关系决定,其中,相对角度编号和实际角度模式按照顺序一一对应。
示例性的,在本申请实施例中,以预设角度采样点,即角度方向个数为129例,预设宽高关系、2’表征的起始角度模式含义、相对角度编号,以及表征实际角度模式的含义如表4所示。
表4
参考块宽高比 起始角度 角度偏移范围 实际角度模式
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
在本申请实施例中,不限制预设角度采样点的个数。
在S103中,帧内预测装置在基于参考块对应的实际角度模式,得到参考块对应的角度预测模式。
帧内预测装置在得到了参考块对应的实际角度模式之后,就可以采用实际角度模式 来表示参考块对应的角度预测模式(例如dirA,dirB)了。
也就是说,在本申请实施例中,帧内预测装置获取的参考块对应的角度预测模式表征了实际角度与实际角度模式一一对应。
在S104中,帧内预测装置可以基于角度预测模式,对当前块进行帧内预测。这里,帧内预测装置需要基于角度预测模式,构造当前块的预测模式列表;然后再采用预测模式列表,实现对当前块进行帧内预测。
在本申请实施例中,对于亮度帧内预测,预测模式列表为MPM列表。
对于色度帧内预测,预测模式列表为DM列表或者MDMS列表。
示例性的,在亮度帧内预测中,如图5所示,从当前块上面的所有相邻块和当前块左侧的所有相邻块中确定参考块,例如,将当前块的相邻块左(L)、上(A)、左下(BL)、右上(AR)和左上(AL)作为参考块集合中的参考块。MPM列表的推导过程考虑当前块的5个相邻块的帧内预测模式(也称为帧内预测方向),即左(L)块、上(A)块、左下(BL)块、右上(AR)块和左上(AL)块。
MPM列表的候选预测方向被分为三组:相邻预测模式、派生预测模式和默认预测模式。首先,在MPM列表中添加相邻预测模式。MPM列表中每种帧内预测模式只能添入一次,即MPM列表中不能包含重复的预测模式。若完成相邻预测模式的添加后MPM列表中包含的预测模式不满6个,则添加派生的帧内预测模式到MPM列表中。若完成派生预测模式的添加后MPM列表中包含的预测模式仍不满6个,则添加默认预测模式到MPM列表中,直到导出了包含6个最可能帧内预测模式的MPM列表。
在对每个亮度块的帧内预测模式进行熵编码时,首先获取该亮度块的MPM列表,判断该亮度块选中的帧内预测模式是否在MPM列表中,若在则使用截断二元码对该预测模式在MPM中的索引号进行二进制化,索引号越小产生的截断二元码越小,之后通过算数编码器对截断二元码进行编码,可以节省比特开销。若该亮度块选中的帧内预测模式是不在MPM列表中的剩余的61种预测模式中的一个,则对这61种预测模式重新从0开始编号,选择编号能被4整除的16个预测模式作为选择模式。若该帧内预测模式在选择模式中,则使用固定4比特长度对其进行旁路编码。若该帧内预测模式在剩余的45个非选择模式中,再次重新标号,使用截断二元码对其进行二进制化,根据编号大小,产生5或6个比特长度的比特串,之后进行旁路编码。
因为JEM中的6MPM列表较为复杂,后来又有人提出使用简化的3MPM列表的方案。但是3MPM列表包括的预测模式较少,获得的预测效果不够准确,后来,又有人提出使用简化的6MPM列表(也是目前的VTM3.0中使用的方法)。例如,基于图5中的上(A)块对应的预测模式和左(L)块对应的预测模式,构造当前块的新的候选预测模式,MPM列表构造如下:
当前块使用的参考行索引为0:
当块L和块A的预测模式dirL,dirA相等且都不是角度模式,则
MPM={dirL,Planar/DC,HOR第18,VER第50,VER-4,VER+4};Planar对应0,DC对应和1,MPM中必须有6个模式。相邻模式加减1。
·当块L和块A的预测模式相等且都为角度模式时,则
MPM={dirL,Planar/DC,dirL-1,dirL+1,dirL-2,dirL+2};
·当块L和块A的预测模式不等,且都是角度模式时,则
MPM={dirL,dirA,Planar/DC,max(dirL,dirA)-1,max(dirL,dirA)+1,max(dirL,dirA)-2};
·当块L和块A的预测模式不等,且只有一个角度模式时,则
MPM={dirL,dirA,Planar/DC,dirL-1,dirL+1,dirL-2};
·当块L和块A的预测模式不等,且都不是角度模式,则
MPM={dirL,dirA,HOR,VER,HOR-4,HOR+4};
当参考行索引为1或者3时:
·当块L和块A的预测模式dirL,dirA都不是角度模式,则
MPM={VER,HOR,2,DIA,VDIA,26};
·当块L和块A的预测模式dirL,dirA都是角度模式,则
MPM={dirL,dirA,min(dirL,dirA)-1,min(dirL,dirA)+1,max(dirL,dirA)-1,max(dirL,dirA)+1,…..};
·当块L和块A的预测模式dirL,dirA中有一个角度模式(用dir表示),则MPM={dir,dir-1,dir+1,dir-1,dir+2,dir-3};
在本申请实施例中,针对色度帧内预测中的DM,VVC draft 3的色度帧内预测方向构造方法,该方法的相关说明如下,如表5所示:
表5
Figure PCTCN2019070153-appb-000006
示例性的,如图6所示,本申请实施例当前块对应的亮度块和色度的排布示意图,如图6所示,右侧的正方形的左半部分的灰色区域为当前处理色度块71,左侧的正方形的左半部分的灰色区域为当前处理色度块71对应的亮度区域,进行当前色度块71的帧内预测时,利用亮度区域的中心位置记录的预测方向,即为图6的右侧正方形中CR亮度块701的预测方向。
结合表5和图6所示的内容,可以确定,若DM得出的预测方向与后四种预测方向中的某一预测方向相同时,会将3-6行的相同模式替换为索引号为66的预测方向。
针对色度帧内预测的MDMS,MDMS是一种更为复杂的色度帧内预测方向构造方法,如表6所示,相比于DM,有0.2%的码率节省量,但因为复杂度过高,尚未应用到VVC中。
表6
Figure PCTCN2019070153-appb-000007
Figure PCTCN2019070153-appb-000008
如图7所示,如图7左侧的块801至805所示,表6中的MDMS模式为采用的当前色度块中心CR、左上TL、右上TR、左下BL、右下BR五个位置的对应亮度块的帧内预测模式,如图7右侧的块806至810所示,表6中的色度邻近块模式为采用的色度块空间邻近左、左上、左下、上和右上块的帧内预测方向,即写入码流的预测方向。
也就是说,在本申请实施例中,帧内预测装置既可以进行亮度帧内预测也可以进行色度帧内预测。
可以理解的是,本申请提出的将所有矩形块的角度模式采用相对角度编号依次表示起始角度和角度偏移范围依次相加后对应的实际角度模式,并统一在[起始值角度+角度偏移范围下限值,起始值角度+角度偏移范围上限值]内的一段区间。在本申请实施例的表示方式中,根据不同的参考块宽高关系,设定不同的起始角度,采用旧的角度模式编号作为表示新的角度模式的含义,角度模式与角度一一对应,这样便统一了各种宽高关系的矩形块的角度模式编号,并且在亮度MPM列表和色度预测DM中表达的角度方向和实际角度都一致,简化了有关宽角度模式下的角度换算,统一了每个模式代表的角度值含义,消除了偏差,有助于提高帧内预测的准确性。
进一步地,将角度偏移编号作为码流中角度模式编号语法元素传输,简化了编解码器在宽角度模式下对真实预测角度的获取,有助于提高编解码效率。
基于前述实施例的实现基础上,本申请实施例提供了一种帧内预测装置,包括:
配置部分,配置为配置相对角度编号表示的实际角度模式;其中,所述相对角度编号依次表征在预设宽高关系对应的预测方向范围内,从起始角度开始,采用预设角度采样点采样后对应的所述实际角度模式;所述起始角度是根据处理块的宽高关系和所述预设宽高关系对应的预测方向范围确定的,实际角度与所述实际角度模式一一对应。
在本申请的一些实施例中,所述预设角度采样点采样为65时,所述相对角度编号为2’至66’范围内的连续编号,所述相对角度编号对应的实际角度模式为-14至80范围内连续的65个实际角度模式,65个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
在本申请的一些实施例中,所述预设角度采样点采样为33时,所述相对角度编号为2’至34’范围内的连续编号,所述相对角度编号对应的实际角度模式为-7至41范围内连续的33个实际角度模式,33个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
在本申请的一些实施例中,所述预设角度采样点采样为129时,所述相对角度编号为2’至130’范围内的连续编号,所述相对角度编号对应的实际角度模式为-28至158范围内连续的129个实际角度模式,129个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
基于前述实施例的实现基础上,如图8所示,本申请实施例还提供了一种帧内预测装置1,包括:
获取部分10,配置为获取当前块的参考块的宽高关系、预设宽高关系对应的预测 方向范围和预设角度采样点;
确定部分11,配置为根据所述宽高关系、所述预设宽高关系对应的预测方向范围和所述预设角度采样点,确定出采用相对角度编号表示的参考块对应的实际角度模式,使得实际角度与实际角度模式一一对应;
获取部分10,还配置为基于参考块对应的实际角度模式,得到参考块对应的角度预测模式;
帧内预测部分12,配置为基于所述角度预测模式,对所述当前块进行帧内预测。
在本申请的一些实施例中,所述确定部分11,具体配置为根据所述宽高关系和所述预设宽高关系对应的预测方向范围,确定出所述参考块的角度模式的起始角度;基于所述预设角度采样点,确定所述参考块的角度偏移范围;根据所述起始角度和所述角度偏移范围,确定出采用相对角度编号表示的所述参考块对应的实际角度模式。
在本申请的一些实施例中,所述帧内预测部分12,具体配置为基于所述角度预测模式,构造所述当前块的预测模式列表;采用预测模式列表,实现对所述当前块进行帧内预测。
在本申请的一些实施例中,所述帧内预测至少包括以下之一:亮度帧内预测和色度帧内预测。
如图9所示,本申请实施例还提供了一种帧内预测装置,包括:
处理器13、存储有所述处理器13可执行帧内预测指令的存储器14,和用于连接所述处理器13、所述存储器14的通信总线15,当所述帧内预测指令被执行时,实现上述的帧内预测方法。
在本申请的实施例中,上述处理器13可以为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理装置(Digital Signal Processing Device,DSPD)、可编程逻辑装置(ProgRAMmable Logic Device,PLD)、现场可编程门阵列(Field ProgRAMmable Gate Array,FPGA)、中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本申请实施例不作具体限定。帧内预测装置还可以包括存储器14,该存储器14可以与处理器13连接,其中,存储器14用于存储可执行程序代码,该程序代码包括计算机操作指令,上述存储器14可以是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器13提供指令和数据。
在本申请的实施例中,通信总线15用于连接处理器13以及存储器14以及这些器件之间的相互通信。
另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读 存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本申请实施例提供了一种计算机可读存储介质,其上存储有帧内预测指令,其中,所述帧内预测指令被处理器执行时,实现上述的帧内预测方法。
具体来讲,本实施例中的一种帧内预测方法对应的帧内预测指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种帧内预测方法对应的帧内预测指令被一电子设备读取或被执行时,包括如下步骤:获取当前块的参考块的宽高关系、预设宽高关系与相对角度对应关系和预设绝对角度范围;根据宽高关系、预设宽高关系与相对角度对应关系和预测绝对角度范围,确定出参考块对应的实际角度模式,使得实际角度与实际角度模式一一对应;基于参考块对应的实际角度模式,得到参考块对应的角度预测模式;基于角度预测模式,对当前块进行帧内预测。
可以理解的是,帧内预测装置在帧内预测的过程中,针对不同宽高关系的参考块,可以采用统一的实际角度模式的方式来处理,以使得实际角度与实际角度模式一一对应,这样无论在亮度预测过程中还是在色度预测过程中,在表示某一角度时,根据长宽比具体确定每种形状的块的角度模式,简化了有关宽角度模式下的角度换算,统一了每个模式代表的角度值含义,消除了偏差,有效地提高帧内预测的准确性,同时提高编解码效率。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。
工业实用性
本申请实施例提供了一种帧内预测方法和装置、及计算机存储介质,帧内预测装置在帧内预测的过程中,针对不同宽高关系的参考块,可以采用统一的实际角度模式的方式来处理,以使得实际角度与实际角度模式一一对应,这样无论在亮度预测过程中还是在色度预测过程中,在表示某一角度时,根据长宽比具体确定每种形状的块的角度模式, 简化了有关宽角度模式下的角度换算,统一了每个模式代表的角度值含义,消除了偏差,有效地提高帧内预测的准确性,同时提高编解码效率。

Claims (10)

  1. 一种帧内预测方法,其特征在于,包括:
    配置相对角度编号表示的实际角度模式;其中,所述相对角度编号依次表征在预设宽高关系对应的预测方向范围内,从起始角度开始,采用预设角度采样点采样后对应的所述实际角度模式;所述起始角度是根据处理块的宽高关系和所述预设宽高关系对应的预测方向范围确定的,实际角度与所述实际角度模式一一对应。
  2. 根据权利要求1所述的方法,其特征在于,
    所述预设角度采样点采样为65时,所述相对角度编号为2’至66’范围内的连续编号,所述相对角度编号对应的实际角度模式为-14至80范围内连续的65个实际角度模式,65个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
  3. 根据权利要求1所述的方法,其特征在于,
    所述预设角度采样点采样为33时,所述相对角度编号为2’至34’范围内的连续编号,所述相对角度编号对应的实际角度模式为-7至41范围内连续的33个实际角度模式,33个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
  4. 根据权利要求1所述的方法,其特征在于,
    所述预设角度采样点采样为129时,所述相对角度编号为2’至130’范围内的连续编号,所述相对角度编号对应的实际角度模式为-28至158范围内连续的129个实际角度模式,129个实际角度模式的选取由宽高关系决定,其中,所述相对角度编号和实际角度模式按照顺序一一对应。
  5. 一种帧内预测方法,其特征在于,包括:
    获取当前块的参考块的宽高关系、预设宽高关系对应的预测方向范围和预设角度采样点;
    根据所述宽高关系、所述预设宽高关系对应的预测方向范围和所述预设角度采样点,确定出采用相对角度编号表示的所述参考块对应的实际角度模式,使得实际角度与实际角度模式一一对应;
    基于所述参考块对应的实际角度模式,得到所述参考块对应的角度预测模式;
    基于所述角度预测模式,对所述当前块进行帧内预测。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述宽高关系、所述预设宽高关系对应的预测方向范围和所述预设角度采样点,确定出采用相对角度编号表示的所述参考块对应的实际角度模式,包括:
    根据所述宽高关系和所述预设宽高关系对应的预测方向范围,确定出所述参考块的角度模式的起始角度;
    基于所述预设角度采样点,确定所述参考块的角度偏移范围;
    根据所述起始角度和所述角度偏移范围,确定出采用相对角度编号表示的所述参考块对应的所述实际角度模式。
  7. 根据权利要求5或6所述的方法,其特征在于,所述基于所述角度预测模式,对所述当前块进行帧内预测,包括:
    基于所述角度预测模式,构造所述当前块的预测模式列表;
    采用预测模式列表,实现对所述当前块进行帧内预测。
  8. 根据权利要求5所述的方法,其特征在于,所述帧内预测至少包括以下之一:亮度帧内预测和色度帧内预测。
  9. 一种帧内预测装置,其特征在于,包括:
    处理器、存储有所述处理器可执行帧内预测指令的存储器,和用于连接所述处理器、所述存储器的通信总线,当所述帧内预测指令被执行时,实现如权利要求1-4,或5-8任一项所述的方法。
  10. 一种计算机可读存储介质,其特征在于,其上存储有帧内预测指令,其中,所述帧内预测指令被处理器执行时,实现如权利要求1-4,或5-8任一项所述的方法。
PCT/CN2019/070153 2019-01-02 2019-01-02 帧内预测方法及装置、计算机可读存储介质 WO2020140217A1 (zh)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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