+

WO2008111744A1 - Method and apparatus for encoding and decoding image in pixel domain - Google Patents

Method and apparatus for encoding and decoding image in pixel domain Download PDF

Info

Publication number
WO2008111744A1
WO2008111744A1 PCT/KR2008/001115 KR2008001115W WO2008111744A1 WO 2008111744 A1 WO2008111744 A1 WO 2008111744A1 KR 2008001115 W KR2008001115 W KR 2008001115W WO 2008111744 A1 WO2008111744 A1 WO 2008111744A1
Authority
WO
WIPO (PCT)
Prior art keywords
residual
block
residual block
prediction
encoding
Prior art date
Application number
PCT/KR2008/001115
Other languages
French (fr)
Inventor
Hae-Kwang Kim
Original Assignee
Industry-Academia Cooperation Group Of Sejong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020080016061A external-priority patent/KR100939358B1/en
Application filed by Industry-Academia Cooperation Group Of Sejong University filed Critical Industry-Academia Cooperation Group Of Sejong University
Publication of WO2008111744A1 publication Critical patent/WO2008111744A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop

Definitions

  • the present invention relates to a method and apparatus for encoding and decoding an image, and more particularly, to a method and apparatus for encoding and decoding an image in pixel domain so as to not perform a complex operation in frequency domain while decoding an image.
  • one picture is divided into a plurality of blocks to encode an image. Then, each of the blocks are encoded using inter prediction or intra prediction.
  • image data compression such as MPEG-1 , MPEG-2, and MPEG-4 H.264/MPEG-4 Advanced Video coding (AVC)
  • AVC MPEG-4 H.264/MPEG-4 Advanced Video coding
  • the inter prediction is to remove temporal redundancy between pictures so as to compress an image.
  • Examples of inter prediction include motion estimation encoding.
  • the motion estimation encoding estimates motion of each block included in a current picture using one ore more reference pictures.
  • the motion estimation encoding searches for a reference block that is the most similar to the current block in a predetermined searching range of one or more reference pictures using a predetermined evaluation function so as to estimate the current block based on the search result.
  • the intra prediction uses pixel values included in a previously encoded region that is spatially adjacent to a block to be encoded, instead of referring the reference pictures for encoding the current block.
  • the intra prediction is performed in a predetermined direction based on the pixel values included in the previously encoded region so as to estimate the current block.
  • FIG. 1 is a block diagram of a conventional apparatus for encoding an image.
  • the conventional apparatus for encoding an image 100 includes a motion estimation unit 102, a motion compensation unit 104, an intra estimation unit 106, a transformer 108, a quantization unit 110, an entropy coding unit 112, a dequantization unit 114, an inverse transformer 116, a filter 118, and a frame memory 120.
  • the motion estimation unit 102 refers to at least one reference picture stored in the frame memory 120 and estimates motion of the current block.
  • the block having the smallest Sum of Absolute Difference (SAD) with the current block is searched from at least one reference picture. According to the search result, motion vector of the current block is generated.
  • the motion compensation unit 104 compensates the current block based on the motion estimation result of the motion estimation unit 102.
  • the motion estimation result of the motion estimation unit 102 is used to generate a prediction block of the current block.
  • the intra estimation unit 106 intra estimates the current block using pixels included in the previously encoded region that is adjacent to the current block.
  • the prediction block of the current block is generated by performing intra prediction in a predetermined direction based on pixel values of the pixels included in the previously encoded region that is adjacent to the current block.
  • the current block is subtracted by the prediction block generated by the motion compensation unit 104 or the intra estimation unit 106 so as to generate a residual block DN.
  • the generated residual block DN is discrete cosine transformed (DCT) in the transformer 108.
  • DCT discrete cosine transformed
  • the entropy coding unit 112 entropy codes the DCT coefficients quantized in the quantization unit 110 and generates bitstream including data for the current block.
  • the quantized DCT coefficients are dequantized and inverse discrete cosine transformed (IDCT) respectively in the dequantization unit 114 and the inverse transformer 116 and are restored as a residual block D'n.
  • the restored residual block D'n is different from the residual block DN input to the transformer 108.
  • loss causes and the DCT coefficients from which the loss causes are dequantized and IDCT so that the residual block D'n containing the loss is restored.
  • the restored residual block D'n is added to the prediction block to restore the current block.
  • the filter 118 stores the restored current block in the frame memory 120 by deblocking filtering the restored current block.
  • the restored current block is also different from the current block prior to be encoded. This is because the residual block including the loss is added to the estimation block to restore the current block.
  • the conventional apparatus for encoding an image 100 discrete cosine transforms an image to transform to the frequency domain and then quantized to loss code the current block. Encoding is performed after transforming to the frequency domain since eyes of human beings are insensitive to high frequency components and sensitive to low frequency components. Also, loss encoding is performed through quantization since compression rate can be increased by loss encoding, instead of lossless encoding.
  • the present invention provides a method and apparatus for encoding and decoding an image capable of loss encoding an image in frequency domain and rapidly decoding an image, and a computer readable recording medium having embodied thereon a computer program for executing the method.
  • a method of encoding an image including: generating a first residual block of a current block using intra prediction or inter prediction; loss encoding the first residual block in frequency domain; decoding the encoded first residual block and restoring a second residual block in pixel domain; and entropy coding the restored second residual block.
  • the entropy coding may include: predicting each of residual values included in the restored second residual block from another residual value adjacent to a vertical direction to the each of residual values or another residual value adjacent to a horizontal direction to the each of residual values and generating a third residual block based on the result of the prediction; and entropy coding the generated third residual block.
  • the entropy coding may include: comparing the residual values of the first residual block and the second residual block and generating a fourth residual block only including the residual values having the small absolute value; predicting each of residual values of the fourth residual block from another residual value adjacent to a vertical direction to the each of residual values of the fourth residual block or another residual value adjacent to a horizontal direction to the each of residual values and generating a third residual block based on the result of the prediction of the residual values included in the fourth residual block; and entropy coding the generated third residual block.
  • a method of decoding an image including: entropy decoding data for a residual block of a current block and restoring the residual block; and restoring the current block based on the restored residual block, wherein the data for the residual block is for a second block restored by decoding a first residual block loss encoded in frequency domain, and wherein the first residual block of the current block is generated by performing intra prediction or inter prediction while encoding the current block.
  • an apparatus for encoding an image including: a prediction unit which generates an prediction block of a current block using intra prediction or inter prediction; a subtracting unit which generates a first residual block by subtracting the generated prediction block from the current block; a residual block generator which loss encodes the first residual block in frequency domain, decodes the encoded first residual block, and restores a second residual block of pixel domain; and a lossless encoding unit which entropy encodes the restored second residual block.
  • an apparatus for decoding an image including: a lossless decoding unit which entropy decodes data for a residual block of a current block and restores the residual block; and a restoring unit which restores the current block based on the restored residual block, wherein the data for the residual block is for a second block restored by decoding a first residual block loss encoded in frequency domain, and wherein the first residual block of the current block is generated by performing intra prediction or inter prediction while encoding the current block.
  • a computer readable recording medium having embodied thereon a computer program for executing the method described above.
  • an image is loss encoded in frequency domain so that compression rate of image encoding can be increased. Also, an image can be easily restored based on addition and reduction of pixel domain without complex inversion operations in the frequency domain in decoding the image so that image-decoding speed is high.
  • FIG. 1 is a block diagram of a conventional apparatus for encoding an image
  • FIG. 2 is a block diagram of an apparatus for encoding an image, according to an embodiment of the present invention
  • FIG. 3 is a block diagram of a residual block generator included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention
  • FIG. 4 is a block diagram of a lossless encoding unit included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention
  • FIGS. 5A through 5C illustrate interblock prediction, according to an embodiment of the present invention
  • FIGS. 6A and 6B illustrate algorithms of interblock prediction in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention
  • FIG. 7A and 7B illustrate optimization, according to an embodiment of the present invention
  • FIG. 8 illustrates an algorithm of optimization, according to an embodiment of the present invention
  • FIG. 9 is a flowchart illustrating a method of encoding an image, according to an embodiment of the present invention.
  • FIG. 10 is a block diagram of an apparatus for decoding an image, according to an embodiment of the present invention.
  • FIG. 11 is a block diagram of a lossless decoding unit included in the apparatus for decoding an image of FIG. 10, according to an embodiment of the present invention.
  • FIGS. 12A and 12B illustrate algorithms of interblock estimation in the apparatus for decoding an image of FIG. 10, according to an embodiment of the present invention
  • FIG. 13 is a flowchart illustrating a method of decoding an image, according to an embodiment of the present invention.
  • FIG. 2 is a block diagram of an apparatus for encoding an image, according to an embodiment of the present invention.
  • the apparatus for encoding an image 200 includes a prediction unit 210, a subtraction unit 220, a residual block generator 230, a lossless encoding unit 240, an addition unit 250, a filter 260, and a frame memory 270.
  • a prediction unit 210 the apparatus for encoding an image 200 includes a prediction unit 210, a subtraction unit 220, a residual block generator 230, a lossless encoding unit 240, an addition unit 250, a filter 260, and a frame memory 270.
  • the prediction unit 210 predicts the current block using inter prediction or intra prediction. Also, the prediction unit 210 searches for at least one reference picture so as to perform inter prediction or generate a prediction block of the current block by performing intra prediction using pixels included in a previously encoded region that is adjacent to the current block.
  • the subtraction unit 220 receives the prediction block from the prediction unit 210 and subtracts the estimation block from the current block, thereby generating a first residual block.
  • the residual block generator 230 loss encodes the first residual block received from the subtraction unit 220. The residual block generator 230 is described in more detail with reference to FIG. 3.
  • FIG. 3 is a block diagram of the residual block generator 230 included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention.
  • the residual block generator 230 includes a transformer 232, a quantization unit 234, a dequantization unit 236, and an inverse transformer 238.
  • the transformer 232 transforms the first residual block to the frequency domain. More preferably, the first residual block is discrete cosine transformed (DCT) to generate DCT coefficients.
  • the quantization unit 234 quantizes the DCT coefficients generated in the transformer 232. Loss causes during quantization.
  • the dequantization unit 236 dequantizes again the quantized DCT coefficients to restore the DCT coefficients.
  • the inverse transformer 238 inverse discrete cosine transforms (IDCT) the restored DCT coefficients and generates the restored first residual block, that is, a second residual block. As the loss causes during quantization, the second residual block is different from the first residual block generated in the subtraction unit 220.
  • the lossless encoding unit 240 entropy codes the second residual block generated in the residual block generator 230 in pixel domain.
  • the quantized DCT coefficients in the frequency domain are entropy coded; however, residual values of the residual block in the pixel domain are entropy coded in the present invention.
  • the lossless encoding unit 240 may transform a predetermined second residual block into a form appropriate for compression encoding through a predetermined preprocessing and then entropy codes the second residual block, instead of directly entropy coding the second residual block.
  • FIG. 4 is a block diagram of the lossless encoding unit 240 included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention.
  • the lossless encoding unit 240 includes a preprocessor 242 and an entropy coding unit 244.
  • the preprocessor 242 transforms the second residual block generated in the residual block generator 230 into a form appropriate for compression encoding. This will be described in more detail with reference to FIGS. 5 and 6.
  • FIGS. 5A through 5C illustrate interblock prediction, according to an embodiment of the present invention.
  • each of residual values included in the second residual block are predicted from another residual value adjacent to a vertical or horizontal direction to the each of residual values. According to the prediction result, a third residual block is generated.
  • FIG. 5A illustrates the second residual block
  • FIG. 5B illustrates the third residual block generated by performing interblock prediction in a horizontal direction
  • FIG. 5C illustrates the third residual block generated by performing interblock prediction in a vertical direction.
  • FIGS.5B and 6A illustrate an algorithm to perform the interblock prediction in a horizontal direction. It is assumed that the residual values of the i th row and the j th column of the second residual block are r(i, j) and the residual values of the i th row and the j th column of the third residual block are s(i, j)
  • s(1, 1) of FIG.5B is same with r(1, 1).
  • r(2, 1) is estimated from r(1, 1).
  • s(2, 1) of the third residual block r(2,
  • the residual values in second, third, and fourth columns included in each row are estimated in a horizontal direction.
  • the residual values of other rows are estimated in a horizontal direction.
  • FIGS.5C and 6B illustrate an algorithm to perform the interblock estimation in a vertical direction.
  • s(1,1) of FIG.5C is same with r(1, 1).
  • r(1, 2) is predicted from r(1, 1).
  • s(1, 2) of the third residual block r(1,
  • the residual values in second, third, and fourth rows included in each column are estimated in vertical direction.
  • the residual values of other columns are estimated in a vertical direction.
  • the preprocessor 242 may perform not only the interblock prediction but also transform the second residual block using optimization which will be described later. The optimization is described with reference to FIGS. 7 and 8.
  • FIG. 7A illustrates the first residual block generated in the reduction unit 220.
  • the preprocessor 242 combines the first residual block and the second residual block to generate a fourth residual block illustrated in FIG. 7B.
  • the residual values of the first residual block and the second residual block are compared and the fourth residual block appropriate for compression encoding is generated.
  • FIG. 8 illustrates an algorithm of optimization, according to an embodiment of the present invention.
  • the fourth residual block of FIG. 7B is generated by comparing the residual values of the first residual block and the second residual block in the ratio of one to one.
  • the residual value of the first residual value r'(1 , 1) and the residual value of the second residual value r(1 , 1 ) are compared to select the residual value having the small absolute value. All residual values in the residual blocks are compared in the ratio of one to one to select only the residual values having the small absolute values.
  • the residual values of (1 , 2) (2, 1 ) (2, 3) (3, 2) (3, 4) and (4, 3) are the residual values of the first residual block and the remaining residual values are the residual values of the second residual block.
  • the preprocessor 242 may only perform interblock prediction described above to transform the second residual block or may only perform the optimization to transform the second residual block. In addition, the preprocessor 242 may perform both interblock estimation and the optimization to transform the second residual block. In other words, the preprocessor 242 performs the optimization first to generate the fourth residual block and performs the interblock prediction for the fourth residual block to generate the third residual block.
  • the entropy coding unit 244 entropy codes the third residual block or the fourth residual block generated as a result of the preprocessing performed by the preprocessor 242.
  • the fourth residual block is entropy coded.
  • the third residual block is entropy coded.
  • the apparatus for encoding an image illustrated in FIG. 2 generates the first residual block of the current block using intra prediction or inter prediction.
  • the first residual block is generated by subtracting the prediction block from the current block, wherein the prediction block of the current block of is generated using intra prediction or inter prediction.
  • the first residual block generated in operation 910 is loss encodes in the frequency domain.
  • the first residual block is discrete cosine transformed (DCT) to generate DCT coefficients and the generated DCT coefficients are quantized.
  • DCT discrete cosine transformed
  • the apparatus for encoding an image dequantizes again and inverse discrete cosine transforms (IDCT) the quantized DCT coefficients to generate the second residual block of the pixel domain.
  • the second residual block includes the loss and thus is different from the first residual block, since the second residual block is decoded after loss encoding.
  • the apparatus for encoding an image entropy codes the second residual block restored in operation 930.
  • a predetermined preprocessing may be performed for the second residual block and then the second residual block may be entropy coded.
  • the interblock prediction may be performed for the second residual block to generate the third residual block and then the third residual block may be entropy coded.
  • the second residual block may be optimized according to the algorithms illustrated in FIGS. 7 and 8 to generate the fourth residual block and the fourth residual block may be entropy coded. Both the optimization and interblock prediction may be performed to transform the second residual block and then the transformed second residual block may be entropy coded.
  • FIG. 10 is a block diagram of an apparatus for decoding an image, according to an embodiment of the present invention.
  • the apparatus for decoding an image 1000 includes a lossless decoding unit 1010, a restoring unit 1020, a filter 1030, a frame memory 1040, and a prediction unit 1050.
  • the lossless decoding unit 1010 entropy decodes data for the residual block of the current block and restores the residual block.
  • the lossless decoding unit 1010 receives the data of the residual block of the pixel domain entropy encoded by the apparatus for encoding an image illustrated in FIG. 2. And the lossless decoding unit 1010 entropy decodes the received data to restore the residual block.
  • FIG. 11 is a block diagram of the lossless decoding unit 1010 included in the apparatus for decoding an image 1000 of FIG. 10, according to an embodiment of the present invention.
  • the lossless decoding unit 1010 includes an entropy decoding unit 1012 and a postprocessor 1014.
  • the entropy decoding unit 1012 receives data for the residual block of the current block and entropy decodes the received data.
  • the third residual block described with reference to FIGS. 5B and 5C or the fourth residual block described with reference to FIG. 7B is restored.
  • the fourth residual block becomes the residual block of the current block so that any post processing is not needed.
  • the third residual block generated by performing interblock prediction a separate postprocessing is needed. The interblock prediction is described with reference to FIGS. 12A and 12B.
  • FIG. 12A illustrates an algorithm to restore the residual block using interblock prediction in a horizontal direction.
  • the third residual block decoded in the entropy decoding unit 1012 is the block preprocessed using interblock prediction in a horizontal direction illustrated in FIG. 5B
  • a postprocessing is performed for the third residual block using the same method that is symmetrical with the interblock prediction in a horizontal direction of FIG. 5B and the residual block of the current block can be restored.
  • the residual value r(i, j) of i th row and j th column of the residual block is calculated from the residual value s(i, j) of the third residual block as follows. Firstly, r(1 , 1) is s(1 , 1). Then, r(2, 1 ) is obtained by adding s(2, 1 ) and r(1 , 1 ). Similarly, r(3, 1 ) and r(4, 1 ) are restored. When the residual values of the first column of all rows are restored, the remaining residual values are restored using interblock prediction in a horizontal direction. As an example of the first row, the remaining residual values can be restored as follows.
  • FIG. 12B illustrates an algorithm to restore the residual block using interblock prediction in a vertical direction.
  • the third residual block decoded in the entropy decoding unit 1012 is the block preprocessed using interblock prediction in a vertical direction illustrated in FIG. 5C
  • a postprocessing is performed for the third residual block using the same method that is symmetrical with the interblock prediction in a vertical direction of FIG. 5C and the residual block of the current block can be restored.
  • the residual value r(i, j) of i th row and j th column of the residual block is calculated from the residual value s(i, j) of the third residual block as follows.
  • r(1 , 3) and r(1 , 4) are restored.
  • the remaining residual values are restored using interblock prediction in a vertical direction.
  • the restoring unit 1020 restores the current block based on the residual block of the current block generated by entropy coding and postprocessing in the lossless encoding unit 1010.
  • the restoring unit 1020 adds the prediction block of the current block generated by performing intra prediction or inter prediction in the prediction unit 1050 to the residual block to store the current block.
  • the restored current block is deblocking filtered in the filter 1030 and the deblocking filtered current block is stored in the frame memory 1040 for estimation of the next picture or the next block.
  • FIG. 13 is a flowchart illustrating a method of decoding an image, according to an embodiment of the present invention.
  • the apparatus for decoding an image illustrated in FIG. 10 entropy decodes data for the residual block of the current block and restores the residual block.
  • the apparatus for decoding an image receives the data of the residual block of the pixel domain entropy encoded by the method of encoding an image according to the present invention and decodes the received data to restore the residual block.
  • a separate postprocessing is needed. That is, the postprocessing is performed using the interblock prediction in a horizontal direction or in a vertical direction described with reference to FIGS. 12A and 12B. As a result of the postprocessing, the residual block of the current block is restored from the third residual block.
  • the apparatus for decoding an image illustrated in FIG. 10 restores the current block based on the residual block restored in operation 1310.
  • the prediction block of the current block is generated by performing intra prediction or inter prediction and the generated prediction block is added to the residual block restored in operation 1310 to store the current block.
  • the invention can also be embodied as computer readable codes on a computer readable recording medium.
  • the computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only-memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet).
  • ROM read-only-memory
  • RAM random-access memory
  • CD-ROMs compact discs, digital versatile discs, digital versatile discs, digital versatile discs, and Blu-rays, etc.
  • magnetic tapes such as magnetic tapes
  • floppy disks such as magnetic tapes
  • optical data storage devices such as data transmission through the Internet
  • carrier waves such as data transmission through the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Provided are a method and apparatus for encoding and decoding an image. The method of encoding an image includes: generating a first residual block of a current block using intra prediction or inter prediction; loss encoding the first residual block in frequency domain; decoding the encoded first residual block and restoring a second residual block in pixel domain; and entropy coding the restored second residual block. Therefore, an image can be easily restored based on addition and reduction of pixel domain without complex inversion operations in the frequency domain in decoding the encoded image.

Description

METHOD AND APPARATUS FOR ENCODING AND DECODING IMAGE IN PIXEL DOMAIN
TECHNICAL FIELD
The present invention relates to a method and apparatus for encoding and decoding an image, and more particularly, to a method and apparatus for encoding and decoding an image in pixel domain so as to not perform a complex operation in frequency domain while decoding an image.
BACKGROUND ART
In image data compression such as MPEG-1 , MPEG-2, and MPEG-4 H.264/MPEG-4 Advanced Video coding (AVC), one picture is divided into a plurality of blocks to encode an image. Then, each of the blocks are encoded using inter prediction or intra prediction.
The inter prediction is to remove temporal redundancy between pictures so as to compress an image. Examples of inter prediction include motion estimation encoding. The motion estimation encoding estimates motion of each block included in a current picture using one ore more reference pictures. In addition, the motion estimation encoding searches for a reference block that is the most similar to the current block in a predetermined searching range of one or more reference pictures using a predetermined evaluation function so as to estimate the current block based on the search result.
The intra prediction uses pixel values included in a previously encoded region that is spatially adjacent to a block to be encoded, instead of referring the reference pictures for encoding the current block. The intra prediction is performed in a predetermined direction based on the pixel values included in the previously encoded region so as to estimate the current block.
FIG. 1 is a block diagram of a conventional apparatus for encoding an image.
Referring to FIG. 1 , the conventional apparatus for encoding an image 100 includes a motion estimation unit 102, a motion compensation unit 104, an intra estimation unit 106, a transformer 108, a quantization unit 110, an entropy coding unit 112, a dequantization unit 114, an inverse transformer 116, a filter 118, and a frame memory 120.
The motion estimation unit 102 refers to at least one reference picture stored in the frame memory 120 and estimates motion of the current block. The block having the smallest Sum of Absolute Difference (SAD) with the current block is searched from at least one reference picture. According to the search result, motion vector of the current block is generated. The motion compensation unit 104 compensates the current block based on the motion estimation result of the motion estimation unit 102. The motion estimation result of the motion estimation unit 102 is used to generate a prediction block of the current block.
The intra estimation unit 106 intra estimates the current block using pixels included in the previously encoded region that is adjacent to the current block. The prediction block of the current block is generated by performing intra prediction in a predetermined direction based on pixel values of the pixels included in the previously encoded region that is adjacent to the current block.
The current block is subtracted by the prediction block generated by the motion compensation unit 104 or the intra estimation unit 106 so as to generate a residual block DN. The generated residual block DN is discrete cosine transformed (DCT) in the transformer 108. As the result of the DCT, DCT coefficients are generated and are quantized in the quantization unit 110.
The entropy coding unit 112 entropy codes the DCT coefficients quantized in the quantization unit 110 and generates bitstream including data for the current block.
The quantized DCT coefficients are dequantized and inverse discrete cosine transformed (IDCT) respectively in the dequantization unit 114 and the inverse transformer 116 and are restored as a residual block D'n. The restored residual block D'n is different from the residual block DN input to the transformer 108. While quantizing the DCT coefficient in the quantization unit 110, loss causes and the DCT coefficients from which the loss causes are dequantized and IDCT so that the residual block D'n containing the loss is restored. The restored residual block D'n is added to the prediction block to restore the current block. The filter 118 stores the restored current block in the frame memory 120 by deblocking filtering the restored current block. The restored current block is also different from the current block prior to be encoded. This is because the residual block including the loss is added to the estimation block to restore the current block.
The conventional apparatus for encoding an image 100 discrete cosine transforms an image to transform to the frequency domain and then quantized to loss code the current block. Encoding is performed after transforming to the frequency domain since eyes of human beings are insensitive to high frequency components and sensitive to low frequency components. Also, loss encoding is performed through quantization since compression rate can be increased by loss encoding, instead of lossless encoding.
However, when an image is encoded or decoded using the conventional art, a number of operations should be carried out for encoding and decoding an image in the frequency domain using the DCT. Thus, encoding and decoding speed are lowered and hardware resources of apparatuses for encoding and decoding used in image processing should be sufficient.
DETAILED DESCRIPTION OF THE INVENTION
TECHNICAL PROBLEM
The present invention provides a method and apparatus for encoding and decoding an image capable of loss encoding an image in frequency domain and rapidly decoding an image, and a computer readable recording medium having embodied thereon a computer program for executing the method.
TECHNICAL SOLUTION
According to an aspect of the present invention, there is provided a method of encoding an image including: generating a first residual block of a current block using intra prediction or inter prediction; loss encoding the first residual block in frequency domain; decoding the encoded first residual block and restoring a second residual block in pixel domain; and entropy coding the restored second residual block.
The entropy coding may include: predicting each of residual values included in the restored second residual block from another residual value adjacent to a vertical direction to the each of residual values or another residual value adjacent to a horizontal direction to the each of residual values and generating a third residual block based on the result of the prediction; and entropy coding the generated third residual block.
The entropy coding may include: comparing the residual values of the first residual block and the second residual block and generating a fourth residual block only including the residual values having the small absolute value; predicting each of residual values of the fourth residual block from another residual value adjacent to a vertical direction to the each of residual values of the fourth residual block or another residual value adjacent to a horizontal direction to the each of residual values and generating a third residual block based on the result of the prediction of the residual values included in the fourth residual block; and entropy coding the generated third residual block.
According to another aspect of the present invention, there is provided a method of decoding an image including: entropy decoding data for a residual block of a current block and restoring the residual block; and restoring the current block based on the restored residual block, wherein the data for the residual block is for a second block restored by decoding a first residual block loss encoded in frequency domain, and wherein the first residual block of the current block is generated by performing intra prediction or inter prediction while encoding the current block.
According to another aspect of the present invention, there is provided an apparatus for encoding an image including: a prediction unit which generates an prediction block of a current block using intra prediction or inter prediction; a subtracting unit which generates a first residual block by subtracting the generated prediction block from the current block; a residual block generator which loss encodes the first residual block in frequency domain, decodes the encoded first residual block, and restores a second residual block of pixel domain; and a lossless encoding unit which entropy encodes the restored second residual block.
According to another aspect of the present invention, there is provided an apparatus for decoding an image including: a lossless decoding unit which entropy decodes data for a residual block of a current block and restores the residual block; and a restoring unit which restores the current block based on the restored residual block, wherein the data for the residual block is for a second block restored by decoding a first residual block loss encoded in frequency domain, and wherein the first residual block of the current block is generated by performing intra prediction or inter prediction while encoding the current block.
According to another aspect of the present invention, there is provided a computer readable recording medium having embodied thereon a computer program for executing the method described above.
ADVANTAGEOUS EFFECTS According to the present invention, an image is loss encoded in frequency domain so that compression rate of image encoding can be increased. Also, an image can be easily restored based on addition and reduction of pixel domain without complex inversion operations in the frequency domain in decoding the image so that image-decoding speed is high.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a conventional apparatus for encoding an image;
FIG. 2 is a block diagram of an apparatus for encoding an image, according to an embodiment of the present invention;
FIG. 3 is a block diagram of a residual block generator included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention;
FIG. 4 is a block diagram of a lossless encoding unit included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention;
FIGS. 5A through 5C illustrate interblock prediction, according to an embodiment of the present invention;
FIGS. 6A and 6B illustrate algorithms of interblock prediction in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention;
FIG. 7A and 7B illustrate optimization, according to an embodiment of the present invention;
FIG. 8 illustrates an algorithm of optimization, according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating a method of encoding an image, according to an embodiment of the present invention;
FIG. 10 is a block diagram of an apparatus for decoding an image, according to an embodiment of the present invention;
FIG. 11 is a block diagram of a lossless decoding unit included in the apparatus for decoding an image of FIG. 10, according to an embodiment of the present invention;
FIGS. 12A and 12B illustrate algorithms of interblock estimation in the apparatus for decoding an image of FIG. 10, according to an embodiment of the present invention; and FIG. 13 is a flowchart illustrating a method of decoding an image, according to an embodiment of the present invention.
BEST MODE
Hereinafter, the present invention will be described more fully with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown.
FIG. 2 is a block diagram of an apparatus for encoding an image, according to an embodiment of the present invention.
Referring to FIG. 2, the apparatus for encoding an image 200 includes a prediction unit 210, a subtraction unit 220, a residual block generator 230, a lossless encoding unit 240, an addition unit 250, a filter 260, and a frame memory 270. Hereinafter, encoding a predetermined block of an input image, that is, a current block will be described as an example throughout the specification of the present invention.
The prediction unit 210 predicts the current block using inter prediction or intra prediction. Also, the prediction unit 210 searches for at least one reference picture so as to perform inter prediction or generate a prediction block of the current block by performing intra prediction using pixels included in a previously encoded region that is adjacent to the current block. The subtraction unit 220 receives the prediction block from the prediction unit 210 and subtracts the estimation block from the current block, thereby generating a first residual block. The residual block generator 230 loss encodes the first residual block received from the subtraction unit 220. The residual block generator 230 is described in more detail with reference to FIG. 3.
FIG. 3 is a block diagram of the residual block generator 230 included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention.
Referring to FIG. 3, the residual block generator 230 includes a transformer 232, a quantization unit 234, a dequantization unit 236, and an inverse transformer 238.
The transformer 232 transforms the first residual block to the frequency domain. More preferably, the first residual block is discrete cosine transformed (DCT) to generate DCT coefficients. The quantization unit 234 quantizes the DCT coefficients generated in the transformer 232. Loss causes during quantization. The dequantization unit 236 dequantizes again the quantized DCT coefficients to restore the DCT coefficients. The inverse transformer 238 inverse discrete cosine transforms (IDCT) the restored DCT coefficients and generates the restored first residual block, that is, a second residual block. As the loss causes during quantization, the second residual block is different from the first residual block generated in the subtraction unit 220.
The lossless encoding unit 240 entropy codes the second residual block generated in the residual block generator 230 in pixel domain. According to the prior art, the quantized DCT coefficients in the frequency domain are entropy coded; however, residual values of the residual block in the pixel domain are entropy coded in the present invention.
More preferably, the lossless encoding unit 240 may transform a predetermined second residual block into a form appropriate for compression encoding through a predetermined preprocessing and then entropy codes the second residual block, instead of directly entropy coding the second residual block.
FIG. 4 is a block diagram of the lossless encoding unit 240 included in the apparatus for encoding an image of FIG. 2, according to an embodiment of the present invention.
Referring to FIG. 4, the lossless encoding unit 240 includes a preprocessor 242 and an entropy coding unit 244.
The preprocessor 242 transforms the second residual block generated in the residual block generator 230 into a form appropriate for compression encoding. This will be described in more detail with reference to FIGS. 5 and 6.
(1 ) Interblock prediction
FIGS. 5A through 5C illustrate interblock prediction, according to an embodiment of the present invention. In interblock estimation, each of residual values included in the second residual block are predicted from another residual value adjacent to a vertical or horizontal direction to the each of residual values. According to the prediction result, a third residual block is generated.
The case where the second residual block generated in the residual block generator 230 is a 4X4 block is described. FIG. 5A illustrates the second residual block, FIG. 5B illustrates the third residual block generated by performing interblock prediction in a horizontal direction, and FIG. 5C illustrates the third residual block generated by performing interblock prediction in a vertical direction.
The interblock prediction in a horizontal direction is firstly described. FIGS.5B and 6A illustrate an algorithm to perform the interblock prediction in a horizontal direction. It is assumed that the residual values of the ith row and the jth column of the second residual block are r(i, j) and the residual values of the ith row and the jth column of the third residual block are s(i, j)
Referring to FIG.6A, s(1, 1) of FIG.5B is same with r(1, 1). r(2, 1) is estimated from r(1, 1). In other words, s(2, 1) of the third residual block = r(2,
1) - r(1, 1). Similarly, r(3, 1) and r(4, 1) included in the first low are predicted for calculating s(3, 1 ) = r(3, 1 ) - r(2, 1 ) and s(4, 1 ) = r(4, 1 ) - r(3, 1 ). Then, the residual values in second, third, and fourth columns included in each row are estimated in a horizontal direction. As an example, the first row is calculated as follows. s(1,2) = r(1,2)-r(1,1) s(1,3) = r(1,3)-r(1,2) s(1,4) = r(1,4)-r(1,3)
Starting from the residual values of the first column, the residual values of other rows are estimated in a horizontal direction.
The interblock estimation in a vertical direction is described. FIGS.5C and 6B illustrate an algorithm to perform the interblock estimation in a vertical direction.
Referring to FIG.6B, s(1,1) of FIG.5C is same with r(1, 1). r(1, 2) is predicted from r(1, 1). In other words, s(1, 2) of the third residual block = r(1,
2) - r(1, 1). Similarly, r(1, 3) and r(1, 4) included in the first row are estimated for calculating s(1 , 3) = r(1 , 3) - r(1 , 2) and s(1 , 4) = r(1 , 4) - r(1 , 3). Then, the residual values in second, third, and fourth rows included in each column are estimated in vertical direction. As an example, the first row is calculated as follows. s(2, 1) = r(2, 1)-r(1, 1) s(3, 1) = r(3, 1)-r(2, 1) s(4, 1) = r(4, 1)-r(3, 1)
Starting from the residual values of the first row, the residual values of other columns are estimated in a vertical direction.
(2) Optimization The preprocessor 242 may perform not only the interblock prediction but also transform the second residual block using optimization which will be described later. The optimization is described with reference to FIGS. 7 and 8.
FIG. 7A illustrates the first residual block generated in the reduction unit 220. When the second residual block generated in the residual block generator 230 is as of FIG. 5A1 the preprocessor 242 combines the first residual block and the second residual block to generate a fourth residual block illustrated in FIG. 7B. The residual values of the first residual block and the second residual block are compared and the fourth residual block appropriate for compression encoding is generated.
FIG. 8 illustrates an algorithm of optimization, according to an embodiment of the present invention.
Referring to FIG. 8, the fourth residual block of FIG. 7B is generated by comparing the residual values of the first residual block and the second residual block in the ratio of one to one. The residual value of the first residual value r'(1 , 1) and the residual value of the second residual value r(1 , 1 ) are compared to select the residual value having the small absolute value. All residual values in the residual blocks are compared in the ratio of one to one to select only the residual values having the small absolute values.
In the fourth residual block of FIG. 7B, the residual values of (1 , 2) (2, 1 ) (2, 3) (3, 2) (3, 4) and (4, 3) are the residual values of the first residual block and the remaining residual values are the residual values of the second residual block.
The preprocessor 242 may only perform interblock prediction described above to transform the second residual block or may only perform the optimization to transform the second residual block. In addition, the preprocessor 242 may perform both interblock estimation and the optimization to transform the second residual block. In other words, the preprocessor 242 performs the optimization first to generate the fourth residual block and performs the interblock prediction for the fourth residual block to generate the third residual block.
The entropy coding unit 244 entropy codes the third residual block or the fourth residual block generated as a result of the preprocessing performed by the preprocessor 242. When only the optimization is performed, the fourth residual block is entropy coded. When only the interblock prediction is performed and the interblock prediction is performed after the optimization, the third residual block is entropy coded. FIG. 9 is a flowchart illustrating a method of encoding an image, according to an embodiment of the present invention.
Referring to FIG. 9, in operation 910, the apparatus for encoding an image illustrated in FIG. 2 according to an embodiment of the present invention generates the first residual block of the current block using intra prediction or inter prediction. The first residual block is generated by subtracting the prediction block from the current block, wherein the prediction block of the current block of is generated using intra prediction or inter prediction.
In operation 920, the first residual block generated in operation 910 is loss encodes in the frequency domain. The first residual block is discrete cosine transformed (DCT) to generate DCT coefficients and the generated DCT coefficients are quantized.
In operation 930, the apparatus for encoding an image dequantizes again and inverse discrete cosine transforms (IDCT) the quantized DCT coefficients to generate the second residual block of the pixel domain. The second residual block includes the loss and thus is different from the first residual block, since the second residual block is decoded after loss encoding.
In operation 940, the apparatus for encoding an image entropy codes the second residual block restored in operation 930. A predetermined preprocessing may be performed for the second residual block and then the second residual block may be entropy coded. Also, the interblock prediction may be performed for the second residual block to generate the third residual block and then the third residual block may be entropy coded. Moreover, the second residual block may be optimized according to the algorithms illustrated in FIGS. 7 and 8 to generate the fourth residual block and the fourth residual block may be entropy coded. Both the optimization and interblock prediction may be performed to transform the second residual block and then the transformed second residual block may be entropy coded.
FIG. 10 is a block diagram of an apparatus for decoding an image, according to an embodiment of the present invention.
Referring to FIG. 10, the apparatus for decoding an image 1000 includes a lossless decoding unit 1010, a restoring unit 1020, a filter 1030, a frame memory 1040, and a prediction unit 1050.
The lossless decoding unit 1010 entropy decodes data for the residual block of the current block and restores the residual block. The lossless decoding unit 1010 receives the data of the residual block of the pixel domain entropy encoded by the apparatus for encoding an image illustrated in FIG. 2. And the lossless decoding unit 1010 entropy decodes the received data to restore the residual block. FIG. 11 is a block diagram of the lossless decoding unit 1010 included in the apparatus for decoding an image 1000 of FIG. 10, according to an embodiment of the present invention.
Referring to FIG. 11 , the lossless decoding unit 1010 includes an entropy decoding unit 1012 and a postprocessor 1014. The entropy decoding unit 1012 receives data for the residual block of the current block and entropy decodes the received data. As a result of the entropy decoding, the third residual block described with reference to FIGS. 5B and 5C or the fourth residual block described with reference to FIG. 7B is restored.
In case of the fourth residual block generated by performing only the optimization described with reference to FIGS. 7A and 7B, the fourth residual block, as it is, becomes the residual block of the current block so that any post processing is not needed. However, in the case of the third residual block generated by performing interblock prediction, a separate postprocessing is needed. The interblock prediction is described with reference to FIGS. 12A and 12B.
FIG. 12A illustrates an algorithm to restore the residual block using interblock prediction in a horizontal direction. When the third residual block decoded in the entropy decoding unit 1012 is the block preprocessed using interblock prediction in a horizontal direction illustrated in FIG. 5B, a postprocessing is performed for the third residual block using the same method that is symmetrical with the interblock prediction in a horizontal direction of FIG. 5B and the residual block of the current block can be restored.
Accordingly, the residual value r(i, j) of ith row and jth column of the residual block is calculated from the residual value s(i, j) of the third residual block as follows. Firstly, r(1 , 1) is s(1 , 1). Then, r(2, 1 ) is obtained by adding s(2, 1 ) and r(1 , 1 ). Similarly, r(3, 1 ) and r(4, 1 ) are restored. When the residual values of the first column of all rows are restored, the remaining residual values are restored using interblock prediction in a horizontal direction. As an example of the first row, the remaining residual values can be restored as follows. r(1 , 2) = s(1 , 2) + r(1 , 1) r(1 , 3) = s(1 , 3) + r(1 , 2) r(1 , 4) = s(1 , 4) + r(1 , 4) FIG. 12B illustrates an algorithm to restore the residual block using interblock prediction in a vertical direction. When the third residual block decoded in the entropy decoding unit 1012 is the block preprocessed using interblock prediction in a vertical direction illustrated in FIG. 5C, a postprocessing is performed for the third residual block using the same method that is symmetrical with the interblock prediction in a vertical direction of FIG. 5C and the residual block of the current block can be restored.
Accordingly, the residual value r(i, j) of ith row and jth column of the residual block is calculated from the residual value s(i, j) of the third residual block as follows. Similarly, r(1 , 3) and r(1 , 4) are restored. When the residual values of the first row of all columns are restored, the remaining residual values are restored using interblock prediction in a vertical direction. As an example of the first column, the remaining residual values can be restored as follows. r(2, 1 ) = s(2, 1 ) + r(1 , 1) r(3, 1 ) = s(3, 1 ) + r(2, 1 ) r(4, 1 ) = s(4, 1 ) + r(3, 1 )
Referring back to FIG. 10, the restoring unit 1020 restores the current block based on the residual block of the current block generated by entropy coding and postprocessing in the lossless encoding unit 1010. The restoring unit 1020 adds the prediction block of the current block generated by performing intra prediction or inter prediction in the prediction unit 1050 to the residual block to store the current block.
The restored current block is deblocking filtered in the filter 1030 and the deblocking filtered current block is stored in the frame memory 1040 for estimation of the next picture or the next block.
FIG. 13 is a flowchart illustrating a method of decoding an image, according to an embodiment of the present invention.
Referring to FIG. 13, in operation 1310, the apparatus for decoding an image illustrated in FIG. 10 according to an embodiment of the present invention entropy decodes data for the residual block of the current block and restores the residual block. The apparatus for decoding an image receives the data of the residual block of the pixel domain entropy encoded by the method of encoding an image according to the present invention and decodes the received data to restore the residual block. In case of the third residual block generated by performing interblock prediction, a separate postprocessing is needed. That is, the postprocessing is performed using the interblock prediction in a horizontal direction or in a vertical direction described with reference to FIGS. 12A and 12B. As a result of the postprocessing, the residual block of the current block is restored from the third residual block.
In operation 1320, the apparatus for decoding an image illustrated in FIG. 10 restores the current block based on the residual block restored in operation 1310. The prediction block of the current block is generated by performing intra prediction or inter prediction and the generated prediction block is added to the residual block restored in operation 1310 to store the current block.
The invention can also be embodied as computer readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only-memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet). The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.

Claims

1. A method of encoding an image comprising: generating a first residual block of a current block using intra prediction or inter prediction; loss encoding the first residual block in frequency domain; decoding the encoded first residual block and restoring a second residual block in pixel domain; and entropy coding the restored second residual block.
2. The method of claim 1 , wherein the loss encoding comprises: discrete cosine transforming (DCT) the first residual block and generating
DCT coefficients; and quantizing the generated DCT coefficients.
3. The method of claim 2, wherein the entropy coding comprises: predicting each of residual values included in the restored second residual block from another residual value adjacent to a vertical direction to the each of residual values or another residual value adjacent to a horizontal direction to the each of residual values and generating a third residual block based on the result of the prediction; and entropy coding the generated third residual block.
4. The method of claim 2, wherein the entropy coding comprises: comparing the residual values of the first residual block and the second residual block and generating a fourth residual block only including the residual values having the small absolute value; predicting each of residual values of the fourth residual block from another residual value adjacent to a vertical direction to the each of residual values of the fourth residual block or another residual value adjacent to a horizontal direction to the each of residual values and generating a third residual block based on the result of the prediction of the residual values included in the fourth residual block; and entropy coding the generated third residual block.
5. A method of decoding an image comprising: entropy decoding data for a residual block of a current block and restoring the residual block; and restoring the current block based on the restored residual block, wherein the data for the residual block is for a second block restored by decoding a first residual block loss encoded in frequency domain, and wherein the first residual block of the current block is generated by performing intra prediction or inter prediction while encoding the current block.
6. The method of claim 5, wherein the restoring comprises: entropy decoding data for the residual block of the current block and restoring residual values of a third residual block; restoring residual values of the second residual block using prediction residual values predicted from another residual value adjacent to a vertical direction to each of the prediction residual block or another residual value adjacent to a horizontal direction to each of the residual values of prediction residual block and the residual values of the third residual block.
7. An apparatus for encoding an image comprising: a prediction unit which generates an prediction block of a current block using intra prediction or inter prediction; a subtracting unit which generates a first residual block by subtracting the generated prediction block from the current block; a residual block generator which loss encodes the first residual block in frequency domain, decodes the encoded first residual block, and restores a second residual block of pixel domain; and a lossless encoding unit which entropy encodes the restored second residual block.
8. An apparatus for decoding an image comprising: a lossless decoding unit which entropy decodes data for a residual block of a current block and restores the residual block; and a restoring unit which restores the current block based on the restored residual block, wherein the data for the residual block is for a second block restored by decoding a first residual block loss encoded in frequency domain, and wherein the first residual block of the current block is generated by performing intra prediction or inter prediction while encoding the current block.
9. A computer readable recording medium having embodied thereon a computer program for executing the method of any one of claims 1-6.
PCT/KR2008/001115 2007-03-13 2008-02-26 Method and apparatus for encoding and decoding image in pixel domain WO2008111744A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20070024266 2007-03-13
KR10-2007-0024266 2007-03-13
KR1020080016061A KR100939358B1 (en) 2007-03-13 2008-02-22 Method and apparatus for encoding and decoding an image in pixel domain
KR10-2008-0016061 2008-02-22

Publications (1)

Publication Number Publication Date
WO2008111744A1 true WO2008111744A1 (en) 2008-09-18

Family

ID=39759660

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2008/001115 WO2008111744A1 (en) 2007-03-13 2008-02-26 Method and apparatus for encoding and decoding image in pixel domain

Country Status (1)

Country Link
WO (1) WO2008111744A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010091504A1 (en) 2009-02-13 2010-08-19 Research In Motion Limited In-loop deblocking for intra-coded images or frames
US8934543B2 (en) 2009-02-13 2015-01-13 Blackberry Limited Adaptive quantization with balanced pixel-domain distortion distribution in image processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050025245A1 (en) * 2003-07-30 2005-02-03 Ankur Varma Reversible diffusion-based compression
US20060256866A1 (en) * 2005-05-13 2006-11-16 Streaming Networks (Pvt.) Ltd. Method and system for providing bi-directionally predicted video coding
US20060277040A1 (en) * 2005-05-30 2006-12-07 Jong-Mo Sung Apparatus and method for coding and decoding residual signal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050025245A1 (en) * 2003-07-30 2005-02-03 Ankur Varma Reversible diffusion-based compression
US20060256866A1 (en) * 2005-05-13 2006-11-16 Streaming Networks (Pvt.) Ltd. Method and system for providing bi-directionally predicted video coding
US20060277040A1 (en) * 2005-05-30 2006-12-07 Jong-Mo Sung Apparatus and method for coding and decoding residual signal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010091504A1 (en) 2009-02-13 2010-08-19 Research In Motion Limited In-loop deblocking for intra-coded images or frames
EP2396771A1 (en) * 2009-02-13 2011-12-21 Research In Motion Limited In-loop deblocking for intra-coded images or frames
EP2396771A4 (en) * 2009-02-13 2012-12-12 Research In Motion Ltd In-loop deblocking for intra-coded images or frames
US8934543B2 (en) 2009-02-13 2015-01-13 Blackberry Limited Adaptive quantization with balanced pixel-domain distortion distribution in image processing

Similar Documents

Publication Publication Date Title
US12184901B2 (en) Video coding using constructed reference frames
US11538198B2 (en) Apparatus and method for coding/decoding image selectively using discrete cosine/sine transform
US8315309B2 (en) Method and apparatus for encoding and decoding an image by using consecutive motion estimation
KR101408698B1 (en) Image encoding and decoding method and apparatus using weight prediction
US8228989B2 (en) Method and apparatus for encoding and decoding based on inter prediction
US8649431B2 (en) Method and apparatus for encoding and decoding image by using filtered prediction block
US8503532B2 (en) Method and apparatus for inter prediction encoding/decoding an image using sub-pixel motion estimation
KR100772391B1 (en) Video Coding and Decoding Based on Orthogonal Transform and Vector Quantization and Its Apparatus
US8611687B2 (en) Method and apparatus for encoding and decoding image using flexible orthogonal transform
US20080304760A1 (en) Method and apparatus for illumination compensation and method and apparatus for encoding and decoding image based on illumination compensation
US20080117981A1 (en) Deblocking filtering apparatus and method
EP2263382A2 (en) Method and apparatus for encoding and decoding image
US8781004B1 (en) System and method for encoding video using variable loop filter
US8731055B2 (en) Method and apparatus for encoding and decoding an image based on plurality of reference pictures
US20130128973A1 (en) Method and apparatus for encoding and decoding an image using a reference picture
US7885341B2 (en) Spatial filtering for improving compression efficiency of motion compensated interframe coding
US20070253487A1 (en) Wavelet Transform Aparatus and Method, Scalable Video Coding Apparatus and Method Employing the Same, and Scalable Video Decoding Apparatus and Method Thereof
WO2008111744A1 (en) Method and apparatus for encoding and decoding image in pixel domain
KR100939358B1 (en) Method and apparatus for encoding and decoding an image in pixel domain
US20080107183A1 (en) Method and apparatus for detecting zero coefficients

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08723153

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08723153

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载