Patent ID: 11871009
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 1:
2. An image encoding method, performed by an encoding apparatus, comprising:
deriving prediction samples for a first sample and a second sample of a current block based on Block-based Delta Pulse Code Modulation (BDPCM) and a neighboring sample of the current block; and
encoding a BDPCM flag representing that the BDPCM is applied to the current block and a BDPCM direction flag representing a prediction direction for the current block,
wherein an intra prediction mode of the prediction direction as an intra prediction mode of the current block is derived based on the BDPCM,
wherein the first sample is a sample in the current block adjacent to the neighboring sample, and the second sample is a sample in the current block adjacent to the first sample in the prediction direction,
wherein based on the prediction direction being a horizontal direction, a horizontal intra prediction mode is derived as an intra prediction mode of the current block,
wherein based on the prediction direction being a vertical direction, a vertical intra prediction mode is derived as the intra prediction mode of the current block,
wherein the intra prediction mode derived as the intra prediction mode of the current block is used for prediction for a block coded after the current block, and
wherein the block coded after the current block is a block within a current Coding Tree Unit (CTU) or a neighboring CTU in a current picture or a reference picture.