IP Library › Granted Patent US 11,463,729
Granted Patent B2
US 11,463,729 · App. 17/478,511 · Granted Oct 4, 2022

Matrix-based intra prediction using filtering

Inventors: Zhipin Deng (Beijing, CN); Kai Zhang (San Diego, CA); Li Zhang (San Diego, CA); Hongbin Liu (Beijing, CN); Jizheng Xu (San Diego, CA)
Assignees: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.; BYTEDANCE INC.
H04N19/593H04N19/105H04N19/117H04N19/132H04N19/176H04N19/184
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,463,729
App. No.
17/478,511
Granted
Oct 4, 2022
Kind
B2
Abstract

Devices, systems and methods for digital video coding, which includes matrix-based intra prediction methods for video coding, are described. In a representative aspect, a method for video processing includes performing a conversion between a current video block of a video and a bitstream representation of the current video block using a matrix based intra prediction (MIP) mode in which a prediction block of the current video block is determined by performing, on reference boundary samples located to a left of the current video block and located to a top of the current video block, a boundary downsampling operation, followed by a matrix vector multiplication operation, and selectively followed by an upsampling operation, where instead of reduced boundary samples calculated from the reference boundary samples of the current video block in the boundary downsampling operation, the reference boundary samples are directly used for a prediction process in the upsampling operation.

Claims (44)

1. A method of processing video data, comprising:

determining, for a conversion between a video block of a video and a bitstream of the video, that a first intra mode is applied on the video block of the video, wherein process in the first intra mode includes a one-stage boundary downsampling operation, followed by a matrix vector multiplication operation and an upsampling operation to generate prediction samples for the video block of the video; and

performing the conversion based on the prediction samples,

wherein reduced boundary samples are generated from reference boundary samples of the video block of the video by the one-stage boundary downsampling operation and are used to generate inputs to the matrix vector multiplication operation,

wherein, in the one-stage boundary downsampling operation, when a downsampled boundary size of the video block is less than a size of the of the video block, the reduced boundary samples are generated directly from the reference boundary samples of the video block and a downscaling factor without deriving intermediate samples,

wherein the downscaling factor is calculated only once for a horizontal direction and a vertical direction, respectively, and

wherein the downscaling factor is calculated based on the size of the video block.

2. The method of claim 1 , wherein the reference boundary samples include left and above reference boundary samples of the video block.

3. The method of claim 2 , wherein the left and above reference boundary samples are derived without an intra reference sample filtering process.

4. The method of claim 1 , wherein inputting samples to the upsampling operation include upsampling boundary samples of the video block, and the upsampling boundary samples are not computed by averaging the reference boundary samples of the video block.

5. The method of claim 4 , wherein at least one of the upsampling boundary samples are copied from the reference boundary samples.

6. The method of claim 1 , wherein a first syntax element indicating whether to apply the first intra mode is included in the bitstream.

7. The method of claim 1 , wherein the matrix vector multiplication operation is followed by a transposing operation prior to the upsampling operation.

8. The method of claim 7 , wherein the transposing operation converts a block having a width of a first value and a height of a second value to a block having the width of the second value and a height of the first value.

9. The method of claim 1 , wherein the conversion includes encoding the video block into the bitstream.

10. The method of claim 1 , wherein the conversion includes decoding the video block from the bitstream.

11. An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:

determine, for a conversion between a video block of a video and a bitstream of the video, that a first intra mode is applied on the video block of the video, wherein process in the first intra mode includes a one-stage boundary downsampling operation, followed by a matrix vector multiplication operation and an upsampling operation to generate prediction samples for the video block of the video; and

perform the conversion based on the prediction samples,

wherein reduced boundary samples are generated from reference boundary samples of the video block of the video by the one-stage boundary downsampling operation and are used to generate inputs to the matrix vector multiplication operation,

wherein, in the one-stage boundary downsampling operation, when a downsampled boundary size of the video block is less than a size of the of the video block, the reduced boundary samples are generated directly from the reference boundary samples of the video block and a downscaling factor without deriving intermediate samples,

wherein the downscaling factor is calculated only once for a horizontal direction and a vertical direction, respectively, and

wherein the downscaling factor is calculated based on the size of the video block.

12. The apparatus of claim 11 , wherein the reference boundary samples include left and above reference boundary samples of the video block derived without an intra reference sample filtering process.

13. The apparatus of claim 11 , wherein inputting samples to the upsampling operation include upsampling boundary samples of the video block, wherein at least one of the upsampling boundary samples are copied from the reference boundary samples.

14. The apparatus of claim 11 , wherein inputting samples to the upsampling operation include upsampling boundary samples of the video block, and the upsampling boundary samples are not computed by averaging the reference boundary samples of the video block.

15. The apparatus of claim 14 , wherein at least one of the upsampling boundary samples are copied from the reference boundary samples.

16. The apparatus of claim 11 , wherein a first syntax element indicating whether to apply the first intra mode is included in the bitstream.

17. A non-transitory computer-readable storage medium storing instructions that cause a processor to:

determine, for a conversion between a video block of a video and a bitstream of the video, that a first intra mode is applied on the video block of the video, wherein process in the first intra mode includes a one-stage boundary downsampling operation, followed by a matrix vector multiplication operation and an upsampling operation to generate prediction samples for the video block of the video; and

perform the conversion based on the prediction samples,

wherein reduced samples are generated from reference boundary samples of the video block of the video by the one-stage boundary downsampling operation and are used to generate inputs to the matrix vector multiplication operation,

wherein, in the one-stage boundary downsampling operation, when a downsampled boundary size of the video block is less than a size of the of the video block, the reduced boundary samples are generated directly from the reference boundary samples of the video block and a downscaling factor without deriving intermediate samples,

wherein the downscaling factor is calculated only once for a horizontal direction and a vertical direction, respectively, and

wherein the downscaling factor is calculated based on the size of the video block.

18. The non-transitory computer-readable storage medium of claim 17 , wherein the reference boundary samples include left and above reference boundary samples of the video block derived without an intra reference sample filtering process.

19. A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:

determining, that a first intra mode is applied on a video block of the video, wherein process in the first intra mode includes a one-stage boundary downsampling operation, followed by a matrix vector multiplication operation and an upsampling operation to generate prediction samples for the video block of the video; and

generating the bitstream based on the determining, and

wherein reduced samples are generated from reference boundary samples of the video block of the video by the one-stage boundary downsampling operation and are used to generate inputs to the matrix vector multiplication operation,

wherein, in the one-stage boundary downsampling operation, when a downsampled boundary size of the video block is less than a size of the of the video block, the reduced boundary samples are generated directly from the reference boundary samples of the video block and a downscaling factor without deriving intermediate samples,

wherein the downscaling factor is calculated only once for a horizontal direction and a vertical direction, respectively, and

wherein the downscaling factor is calculated based on the size of the video block.

20. The non-transitory computer-readable recording medium of claim 19 , wherein the reference boundary samples include left and above reference boundary samples of the video block derived without an intra reference sample filtering process.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 20, 2021
From: ZHANG, KAI; ZHANG, LI; XU, JIZHENG
To: BYTEDANCE INC.
Reel/Frame 057530/0370 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 20, 2021
From: DENG, ZHIPIN; LIU, HONGBIN
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 057530/0447 →
Priority Claims (2)
WO PCT/CN2019/085399 · May 1, 2019 · international
WO PCT/CN2019/087047 · May 15, 2019 · international
Continuity (2)
Continuation PCTCN2020088584 · May 5, 2020
Related Publication 20220014783A1 · Jan 13, 2022
Cited By (13)
US 12,284,354 US 12,316,871 US 12,375,643 US 12,375,679 US 12,375,714 US 12,407,829 US 12,519,945 US 12,526,424 US 12,542,923 US 12,563,225 US 12,568,230 US 12,610,037 US 12,621,487