摘要:
Provided are entropy encoding and decoding methods. The entropy encoding method includes receiving residual coefficients obtained by frequency converting a residual image, determining a first bit string about residual coefficients having nonzero levels from among the received residual coefficients, determining at least one lower bit, including a least significant bit of the first bit string, from the first bit string, and determining a second bit string obtained by bit-shifting the first bit string to the right by the number of lower bits.
摘要:
Provided are methods and apparatuses for converting a lower bit-plane image, and methods and apparatuses for inverse-converting the lower bit-plane image, which increase the correlation of the lower bit-plane image. According to the method of converting a lower bit-plane image, pixels of the lower bit-plane image are sequentially added or subtracted so as to generate a converted lower bit-plane image. Accordingly, the lower bit-plane image has higher regularity, and thus the efficiency of image processing using the lower bit-plane image is improved.
摘要:
A method to encode and decode a halftone image such that the halftone image is efficiently compressed and decoded by using pattern characteristics of the halftone image includes determining different template shapes according to characteristics of the halftone image, compressing the halftone image based on determined template shape information, compressing the template shape information, and generating the compressed halftone image and the compressed template shape information as a bitstream.
摘要:
A method and apparatus for encoding and decoding an image. The encoding method includes: deciding whether pixel values of a first block of an image are identical to pixel values of a second block of the image that is encoded prior to the first block in a current slice of the image, and determining whether to encode the first block in a first mode according to the deciding; and selectively encoding the first block in the first mode based on the determining, wherein the first mode is a mode for encoding information representing that the first block is encoded in the first mode, instead of encoding the pixel values of the first block, when the first block is identical or similar to the second block.
摘要:
Provided are methods and apparatuses for encoding data. One method of encoding data includes generating second data by altering locations of bits within first data to be encoded next based on values of bits within at least one piece of previously encoded data; and entropy-encoding the second data. Also provided are methods and apparatuses for decoding data.
摘要:
A method and apparatus for decoding hierarchical mode information including mode information indicating whether a current block is encoded in an encoding mode identical to an encoding mode of a plurality of consecutive previous blocks.
摘要:
A method and apparatus for generating video packets and a method and apparatus for restoring video are provided. The method of generating video packets includes: generating at least one pixel block consisting of at least one reference pixel and a plurality of neighboring pixels adjacent to the at least one reference pixel from pixels of a video frame; replacing pixel values of the neighboring pixels in the at least one pixel block with pixel difference values, which are difference values between a pixel value of one of pixels adjacent to the neighboring pixels and the pixel values of the neighboring pixels; generating packets so that a pixel value of the at least one reference pixel and the pixel difference values of the neighboring pixels are allocated to different packets according to positions of the pixels; and performing entropy coding of some of the packets including the pixel difference values of the neighboring pixels.
摘要:
A method and apparatus for decoding an image are provided. The method includes: decoding information representing that a first block of the image has been encoded in a first mode; and reconstructing the first block by setting pixel values of the first block to be identical with pixel values of a second block of the image that is adjacent to the first block and has been decoded prior to the first block, wherein the first mode is a mode for encoding information representing that the first block is identical or similar to the second block and has been encoded in the first mode, instead of encoding the pixel values of the first block.
摘要:
A method and apparatus are provided for encoding and decoding an image which entropy encode and decode a residual value of a current pixel in consideration of a context model determined with reference to at least one pixel value that is encoded and decoded before the current pixel and distribution of the residual values encoded and decoded according to the determined context model.
摘要:
A method and apparatus for processing a video frame is provided. The method includes dividing the video frame into pixel blocks each including a reference pixel; calculating difference values between the reference pixel and pixels neighboring the reference pixel; converting the calculated difference values into values that belong to a bit depth range; and performing entropy coding by using the converted difference values as symbols.