Abstract:
codificador, decodificador e mídia legível por computador não transitória. a presente invenção refere-se a um conjunto de circuitos (160) de um codificador (100) que é configurado para codificar uma imagem de acordo com uma estrutura de codificação, incluindo uma figura de ponto de acesso aleatório intra (irap), figura dianteiras a serem emitidas antes da figura de irap na ordem de emissão e figuras traseiras a serem emitidas após a figura de irap na ordem de emissão. quando a imagem é codificada, o conjunto de circuitos (160) codifica, de acordo com uma sinalização em um fluxo de bits, no máximo uma figura traseira entre as figuras traseiras antes de codificar as figuras dianteiras na ordem de codificação, e codifica as figuras traseiras diferentes de, no máximo, uma figura traseira após codificação das figuras dianteiras na ordem de codificação. a sinalização indica se uma imagem de cada uma das unidades de acesso no fluxo de bits é uma figura de campo. o conjunto de circuitos (160) codifica no máximo uma figura traseira antes de codificar as figuras dianteiras na ordem de codificação quando a sinalização indica que a figura é uma figura de campo.
Abstract:
In a spatial prediction method which can reduce the complexity of spatial prediction, a horizontal gradient (Gy) and a vertical gradient (Gx) between pixels in an adjacent block which is adjacent to a block which is the subject of prediction are acquired, and thus an edge (E) which overlaps with the block which is the subject of prediction is detected (S10); the integer incline of the detected edge is calculated (S11); and for each pixel position in the block which is the subject of prediction, a fractional pixel position (450) which has the calculated integer incline, and is the intersection point between a line (430) which passes through the pixel position (440), and the boundary of the adjacent block is determined (S12); the pixel value of the pixel position (440) for each pixel position in the block which is the subject of prediction is predicted on the basis of a pixel value which has been interpolated by the fractional pixel position (450) determined for said pixel position (S13). The boundary with the adjacent block is the closest row or column to the block which is the subject of prediction, from among the plurality of pixel rows and columns included in the adjacent block.
Abstract:
An image decoding method includes: restoring a selected prediction mode used in prediction at a time of coding; and decoding a current block included in coded image data to generate a decoded block, according to the prediction based on the selected prediction mode. The restoring includes: determining a first estimated prediction mode; determining a second estimated prediction mode different from the first estimated prediction mode; and restoring the selected prediction mode based on the mode information, the first estimated prediction mode, and the second estimated prediction mode.