METHOD AND APPARATUS FOR ENCODING AND DECODING IMAGE
First Claim
1. A method of encoding an image, the method comprising:
- performing motion estimation on a current block to be encoded and determining a prediction mode of the current block;
when the determined prediction mode of the current block is a skip mode, determining whether prediction modes of neighboring blocks of the current block are skip modes;
when it is determined that the prediction modes of the neighboring blocks are skip modes, encoding a residual that is a difference value between the current block and a prediction block of the current block; and
adding the residual to a bit stream that is generated by encoding the image.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method and apparatus for encoding an image, which can variably encode a residual of a current block that is predicted with a skip mode according to prediction modes of neighboring blocks, and a method and apparatus for decoding the encoded image. When both the prediction mode of the current block and the prediction modes of the neighboring blocks are skip modes, since the method of encoding the image also encodes the residual of the current block that is predicted with the skip mode, more bits can be assigned to the current block with a high probability of acting as a reference block for other blocks.
-
Citations
20 Claims
-
1. A method of encoding an image, the method comprising:
-
performing motion estimation on a current block to be encoded and determining a prediction mode of the current block; when the determined prediction mode of the current block is a skip mode, determining whether prediction modes of neighboring blocks of the current block are skip modes; when it is determined that the prediction modes of the neighboring blocks are skip modes, encoding a residual that is a difference value between the current block and a prediction block of the current block; and adding the residual to a bit stream that is generated by encoding the image. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus for encoding an image, the apparatus comprising:
-
a motion estimation unit which performs motion estimation on a current block to be encoded by using available prediction modes; an encoding unit which encodes a residual that is a difference value between the current block and a prediction block of the current block; and a control unit which determines a prediction mode of the current block from among the prediction modes by using costs of a bitstream generated by the encoding unit, and when it is determined that the determined prediction mode of the current block is a skip mode and prediction modes of neighboring blocks are skip modes, adds the residual to the bitstream generated by the encoding unit. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A method of decoding an image, the method comprising:
-
extracting a prediction mode of a current block to be decoded from an input bitstream; when the extracted prediction mode of the current block is a skip mode, determining whether prediction modes of neighboring blocks of the current block are skip modes; when it is determined that the prediction modes of the neighboring blocks are skip modes, extracting a residual of the current block from the bitstream and decoding the extracted residual; generating a prediction block of the current block according to the skip mode; and adding the prediction block of the current block and the residual and decoding the current block. - View Dependent Claims (14, 15, 16)
-
-
17. An apparatus for decoding an image, the apparatus comprising:
-
an entropy decoding unit which extracts a residual and a prediction mode of a current block to be decoded from an input bitstream; a prediction unit which generates a prediction block of the current block according to the extracted prediction mode; a residual reconstruction unit which decodes the residual; a control unit, which, when the extracted prediction mode of the current block is a skip mode and prediction modes of neighboring blocks of the current block are skip modes, extracts a residual of the current block from the bitstream and controls the residual reconstruction unit so that the residual reconstruction unit decodes the residual; and an addition unit which adds the prediction block of the current block and the residual and decodes the current block. - View Dependent Claims (18, 19, 20)
-
Specification