Method and apparatus for video coding based on mapping
AssigneesHyundai Motor Company, Kia Corporation, Kwangwoon University Industry-Academic Collaboration Foundation
InventorsDong Gyu Sim, Joo Hyung Byeon, Sea Nae Park, Seung Wook Park
Life of this patent
Estimating the term…
Abstract
A method and an apparatus for video coding based on mapping are disclosed. The video coding method and the apparatus generate a prediction block of a current block with reference to a mapped image when a video encoding apparatus transmits mapping data related to a mapping of the image and a video decoding apparatus decodes the current block based on the mapping data.
Claims18
A video decoding apparatus, comprising:
- an entropy decoder configured to decode a prediction mode of an intra prediction of a current block, or to decode a reference picture index and a motion vector of an inter prediction from a bitstream, and then decode a residual block and mapping data of the current block from the bitstream;
- a mapper configured to map a reference picture from an original range to a mapping range by using the mapping data, wherein the reference picture is selected based on the reference picture index from reference images;
- a predictor configured to generate a prediction block of the current block by applying the prediction mode to previously reconstructed blocks and performing the intra prediction or by applying the motion vector to a mapped reference picture and performing the inter prediction;
- an adder configured to sum the prediction block and the residual block to generate a reconstructed block to be included in a reconstructed image;
- an inverse mapper configured to inversely map the reconstructed image from the mapping range to the original range by using inverse mapping data corresponding to the mapping data;
- a loop filter unit configured to perform loop filtering on an inversely mapped reconstructed image, wherein the loop filtering comprises a deblocking filter and an offset filter;
- and
- a memory configured to store a filtered reconstructed image as included in the reference images.
A video encoding method performed by a computing device, the video encoding method comprising:
- obtaining a prediction mode of an intra prediction of a current block, or obtaining a reference picture index and a motion vector of an inter prediction from a high level, and then obtaining mapping data of the current block from the high level;
- mapping from an original range to a mapping range by using the mapping data, for the current block;
- selecting a reference picture from reference images stored in a memory by using the reference picture index, and mapping the reference picture from an original range to a mapping range by using the mapping data;
- generating a prediction block of the current block by applying the prediction mode to previously reconstructed blocks and performing the intra prediction, or by applying the motion vector to a mapped reference picture and performing the inter prediction;
- generating a residual block by subtracting the prediction block from the current block, generating a bitstream by encoding the residual block, generating a reconstructed residual block from the residual block, and generating a reconstructed block included in a reconstructed image by summing the reconstructed residual block and the prediction block;
- inversely mapping the reconstructed image from the mapping range to the original range by using inverse mapping data corresponding to the mapping data;
- applying loop filtering to an inversely mapped reconstructed image;
- and
- storing in the memory a filtered reconstructed image as included in the reference images.
A computer-readable recording medium storing a bitstream generated by a video encoding method, the video encoding method comprising:
- obtaining a prediction mode of an intra prediction of a current block, or obtaining a reference picture index and a motion vector of an inter prediction from a high level, and then obtaining mapping data of the current block from the high level;
- mapping from an original range to a mapping range by using the mapping data, for the current block;
- selecting a reference picture from reference images stored in a memory by using the reference picture index, and mapping the reference picture from an original range to a mapping range by using the mapping data;
- generating a prediction block of the current block by applying the prediction mode to previously reconstructed blocks and performing the intra prediction, or by applying the motion vector to a mapped reference picture and performing the inter prediction;
- generating a residual block by subtracting the prediction block from the current block, generating a bitstream by encoding the residual block, generating a reconstructed residual block from the residual block, and generating a reconstructed block included in a reconstructed image by summing the reconstructed residual block and the prediction block;
- inversely mapping the reconstructed image from the mapping range to the original range by using inverse mapping data corresponding to the mapping data;
- applying loop filtering to an inversely mapped reconstructed image;
- and
- storing in the memory a filtered reconstructed image as included in the reference images.
Dependencies are inferred from the claim text.