(EN) An intra-frame mode prediction method and apparatus for an image block, which provide a method for predicting a current block by means of a spatial domain non-adjacent block or a time domain adjacent block, thereby improving the encoding and decoding performance. The method comprises: constructing a first luminance intra-frame mode set, wherein the first luminance intra-frame mode set comprises a determined luminance prediction mode of an image block not adjacent to a current block and/or a determined luminance prediction mode of an image block in a time domain adjacency to the current block in an image in which the current block is located; parsing a first identifier from a code stream; parsing a second identifier from the code stream when the first identifier indicates that a luminance prediction mode of the current block belongs to the first luminance intra-frame mode set, wherein the second identifier is used for indicating that one candidate luminance prediction mode in the first luminance intra-frame mode set serves as the luminance prediction mode of the current block; and obtaining a luminance prediction value of the current block according to the luminance prediction mode of the current block.
(FR) La présente invention concerne un procédé et un appareil de prédiction de mode intra-image pour un bloc d'image, qui fournissent un procédé de prédiction d'un bloc courant au moyen d'un bloc non adjacent dans le domaine spatial ou d'un bloc adjacent dans le domaine temporel, améliorant ainsi les performances de codage et de décodage. Le procédé consiste à : construire un premier ensemble de modes intra-image de luminance, le premier ensemble de modes intra-image de luminance comprenant un mode de prédiction de luminance déterminé d'un bloc d'image non adjacent à un bloc courant et/ou un mode de prédiction de luminance déterminé d'un bloc image dans un domaine temporel adjacent au bloc courant dans une image où le bloc courant est situé; analyser un premier identifiant à partir d'un flux de code; analyser un second identifiant à partir du flux de code lorsque le premier identifiant indique qu'un mode de prédiction de luminance du bloc courant appartient au premier ensemble de modes intra-image de luminance, le second identifiant étant utilisé pour indiquer qu'un mode de prédiction de luminance candidat dans le premier ensemble de modes intra-image de luminance sert de mode de prédiction de luminance du bloc courant; et obtenir une valeur de prédiction de luminance du bloc courant selon le mode de prédiction de luminance du bloc courant.
(ZH) 一种图像块的帧内模式预测方法及装置,提供了采用空域非邻接块或者时域邻近块来预测当前块的方式,提高了编解码性能。方法包括:构建第一亮度帧内模式集合,第一亮度帧内模式集合包括当前块所在的图像中与当前块不邻接的图像块的已确定亮度预测模式和/或与当前块时域邻近的图像块的已确定亮度预测模式;从码流中解析第一标识;当第一标识指示当前块的亮度预测模式属于第一亮度帧内模式集合时,从码流中解析第二标识,第二标识用于指示第一亮度帧内模式集合中一个候选亮度预测模式作为当前块的亮度预测模式;根据所述当前块的亮度预测模式,获得当前块的亮度预测值。