Method and apparatus for encoding/decoding image and recording medium storing bit stream
Abstract
An image encoding/decoding method and apparatus are provided. An image decoding method of the present invention comprises decoding first information indicating whether a maximum of N intra prediction modes are used or a maximum of M intra prediction modes are used for an intra prediction for a current block, in which the M is smaller than the N, deriving an intra prediction mode of the current block, inverse-mapping the derived intra prediction mode on a corresponding intra prediction mode among the maximum N intra prediction modes when the decoded first information indicates that the maximum M intra prediction modes are used for the intra prediction for the current block, and generating an intra prediction block by performing an intra prediction for the current block, based on the inverse-mapped intra prediction mode.
Claims
exact text as granted — not AI-modified1 . An image decoding method comprising:
deriving a primary intra prediction mode of a current block by decoding a bitstream; deriving an intra prediction mode of the current block by modifying the primary intra prediction mode, in case the primary intra prediction mode is a directional prediction mode; generating a prediction block for the current block by performing intra prediction for the current block based on either the primary intra prediction mode or the derived intra prediction mode; and reconstructing the current block based on the prediction block.
2 . The method of claim 1 ,
wherein the deriving the intra prediction mode based on the primary intra prediction mode is performed based on a shape of the current block.
3 . The method of claim 2 ,
wherein the deriving the intra prediction mode based on the primary intra prediction mode is performed in case the shape of the current block is a predetermined shape.
4 . The method of claim 1 ,
wherein, in case the primary intra prediction mode is a non-directional prediction mode, the deriving the intra prediction mode based on the primary intra prediction mode is not performed, and the intra prediction for the current block is performed based on the primary intra prediction mode.
5 . An image encoding method comprising:
determining an intra prediction mode of a current block; generating a prediction block for the current block by performing intra prediction for the current block based on the intra prediction mode; and determining and encoding a primary intra prediction mode of the current block based on the intra prediction mode, wherein the primary intra prediction mode is a directional prediction mode.
6 . The method of claim 5 ,
wherein the determining and encoding the primary intra prediction mode is performed based on a shape of the current block.
7 . The method of claim 6 ,
wherein the determining and encoding the primary intra prediction mode is performed in case the shape of the current block is a predetermined shape.
8 . The method of claim 5 ,
wherein, if the intra prediction mode is a non-directional prediction mode, the intra prediction mode, instead of the primary intra prediction mode, is encoded into a bitstream.
9 . A non-transitory computer readable recording medium storing a bitstream which is received, decoded and used to reconstruct an image by an image decoding apparatus, wherein the bitstream comprises information on prediction of a current block,
the information on prediction of the current block is decoded and used to derive a primary intra prediction mode, the primary intra prediction mode is used to derive an intra prediction mode of the current block, in case the primary intra prediction mode is a directional prediction mode, the primary intra prediction mode or the derived intra prediction mode is used to generate a prediction block for the current block by performing intra prediction for the current block, and the prediction block is used to reconstruct the current block, wherein the primary intra prediction mode is mapped to the intra prediction mode of the current block.Join the waitlist — get patent alerts
Track US2021168362A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.