Image data encoding/decoding method and apparatus
AssigneeB1 Institute of Image Technology, Inc.
InventorKi Baek KIM
Life of this patent
Estimating the term…
Abstract
A method of decoding an image, includes obtaining at least one offset for a picture, deriving a variable for scaling for the picture based on the at least one offset, and performing inter prediction based on the variable for scaling for the picture. The at least one offset is defined with a direction of scaling.
Claims10
A method of decoding a current image with a decoding apparatus, comprising:
- receiving a bitstream in which the current image is encoded;
- dividing the current image based on a plurality of division types pre-defined in the decoding apparatus;
- and
- decoding the divided current image based on coding information extracted from the bitstream,
- wherein the dividing the current image comprises:
- dividing the current image into a plurality of division units based on at least one of horizontal lines or vertical lines, and
- wherein at least one of the horizontal lines has a length shorter than a width of the current image or at least one of the vertical lines has a length shorter than a height of the current image,
- wherein the current image is divided, based on first division information extracted from the bitstream, into the plurality of division units,
- wherein the first division information includes a single piece of information, the single piece of information plus 1 representing a number of the division units belonging to the current image, information on a size of the division units, and information on positions of each of the division units encoded in units of a default coding unit, information on a size of the default coding unit being extracted from at least one of a sequence parameter set or a picture parameter set in the bitstream,
- wherein the information on the size of the division units includes a flag specifying whether all of the division units belonging to the current image have a same width and height,
- wherein the information on the size of the division units is encoded in units of the default coding unit,
- wherein the default coding unit is a largest coding unit,
- wherein the decoding the divided current image comprises:
- obtaining a current block included in the divided current image;
- predicting the current block to generate a prediction block;
- obtaining a residual block for the current block;
- and
- reconstructing the current block based on the prediction block and the current block, and
- wherein the residual block is obtained by decoding information on the residual block included in the bitstream.
A method of encoding a current image with an encoding apparatus, comprising:
- dividing the current image based on a plurality of division types pre-defined in the encoding apparatus;
- encoding the divided current image to determine coding information of the current image;
- and
- generating a bitstream including the coding information,
- wherein the dividing the current image comprises:
- dividing the current image into a plurality of division units based on at least one of horizontal lines or vertical lines, and
- wherein at least one of the horizontal lines has a length shorter than a width of the current image or at least one of the vertical lines has a length shorter than a height of the current image,
- wherein the current image is divided, based on first division information encoded into the bitstream, into the plurality of division units,
- wherein the first division information includes a single piece of information, the single piece of information plus 1 representing a number of the division units belonging to the current image, information on a size of the division units, and information on positions of each of the division units encoded in units of a default coding unit, information on a size of the default coding unit being encoded into at least one of a sequence parameter set or a picture parameter set in the bitstream,
- wherein the information on the size of the division units includes a flag specifying whether all of the division units belonging to the current image have a same width and height,
- wherein the information on the size of the division units is encoded in units of the default coding unit,
- wherein the default coding unit is a largest coding unit,
- wherein the encoding the divided current image comprises:
- obtaining a current block included in the divided current image;
- predicting the current block to generate a prediction block;
- obtaining a residual block for the current block based on the prediction block;
- and
- encoding the residual block into the bitstream, and
- wherein the residual block is encoded by encoding information on the residual block into the bitstream.
A non-transitory computer-readable recording medium storing a bitstream generated by a method of encoding a current image with an encoding apparatus, the method comprising:
- dividing the current image based on a plurality of division types pre-defined in the encoding apparatus;
- encoding the divided current image to determine coding information of the current image;
- and
- generating a bitstream including the coding information,
- wherein the dividing the current image comprises:
- dividing the current image into a plurality of division units based on at least one of horizontal lines or vertical lines, and
- wherein at least one of the horizontal lines has a length shorter than a width of the current image or at least one of the vertical lines has a length shorter than a height of the current image,
- wherein the current image is divided, based on first division information encoded into the bitstream, into the plurality of division units, and
- wherein the first division information includes a single piece of information, the single piece of information plus 1 representing a number of the division units belonging to the current image, information on a size of the division units, and information on positions of each of the division units encoded in units of a default coding unit, information on a size of the default coding unit being encoded into at least one of a sequence parameter set or a picture parameter set in the bitstream,
- wherein the information on the size of the division units includes a flag specifying whether all of the division units belonging to the current image have a same width and height,
- wherein the information on the size of the division units is encoded in units of the default coding unit,
- wherein the default coding unit is a largest coding unit,
- wherein the encoding the divided current image comprises:
- obtaining a current block included in the divided current image;
- predicting the current block to generate a prediction block;
- obtaining a residual block for the current block based on the prediction block;
- and
- encoding the residual block into the bitstream, and
- wherein the residual block is encoded by encoding information on the residual block into the bitstream.
A method of transmitting a bitstream, the method comprising:
- dividing the current image based on a plurality of division types pre-defined in the encoding apparatus;
- encoding the divided current image to determine coding information of the current image;
- generating a bitstream including the coding information;
- and
- transmitting the generated bitstream,
- wherein the dividing the current image comprises:
- dividing the current image into a plurality of division units based on at least one of horizontal lines or vertical lines, and
- wherein at least one of the horizontal lines has a length shorter than a width of the current image or at least one of the vertical lines has a length shorter than a height of the current image,
- wherein the current image is divided, based on first division information encoded into the bitstream, into the plurality of division units, and
- wherein the first division information includes a single piece of information, the single piece of information plus 1 representing a number of the division units belonging to the current image, information on a size of the division units, and information on positions of each of the division units encoded in units of a default coding unit, information on a size of the default coding unit being encoded into at least one of a sequence parameter set or a picture parameter set in the bitstream,
- wherein the information on the size of the division units includes a flag specifying whether all of the division units belonging to the current image have a same width and height,
- wherein the information on the size of the division units is encoded in units of the default coding unit,
- wherein the default coding unit is a largest coding unit,
- wherein the encoding the divided current image comprises:
- obtaining a current block included in the divided current image;
- predicting the current block to generate a prediction block;
- obtaining a residual block for the current block based on the prediction block;
- and
- encoding the residual block into the bitstream, and
- wherein the residual block is encoded by encoding information on the residual block into the bitstream.
Dependencies are inferred from the claim text.