IMAGE DATA POST-PROCESSING METHOD FOR REDUCING QUANTIZATION EFFECT, APPARATUS THEREFOR

Abstract: An image data post-processing method for reducing quantization effect induced when image data compressed based on a block is decoded, and an apparatus therefor. The image data post-processing method includes the steps of: (a) detecting semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between the blocks of a previous video object plane (VOP) and blocks of a current VOP; and (b) filtering the decoded image data corresponding to the semaphore by a predetermined method, if it is determined by checking the detected semaphore that post-processing is required. Therefore, the quantization effect can be reduced by using the semaphore and an adaptive filter, and the amount of computation for filtering is also reduced. Also, the complexity of the hardware is reduced by a parallel process without multiplication and division.

Description: IMAGE DATA POST-PROCESSING METHOD FOR REDUCING QUANTIZATION EFFECT, APPARATUS THEREFOR Technical Field The present invention relates to image data processing, and more particularly, to an image data post-processing method for reducing quantization effect, and an apparatus therefor. Background Art The present invention is adopted as ISO/TEC JTC1/SC29/WG11 N1902 (ISO/IEC 14496-2 Committee Draft). Generally, picture encoding standards such as MPEG of the International Standardization Organization (ISO) and H.263 recommended by the International Telecommunication Union (ITU) adopt block-based motion estimation and discrete cosine transform (DCT) of blocks. Also, most video coding standards use an 8 x8 pixel block DCT for packing information into a few transform coefficients. Such block-based DCT schemes take advantage of the local spatial correlation property of images. However, when image data which has been coded based on blocks is restored, the restored image is considerably deteriorated, causing blocking artifacts near block boundaries, corner outliers at cross points of blocks, and ringing noise near the image edge. Because MPEG quantizes the transformed coefficient of 8 x8 pixel block. In particular, when the image is highly compressed, the deterioration of the image becomes serious. When an image is highly compressed, the block-based coding induces the well-known blocking .artifacts near the block boundary, corner outliers at the cross points of the blocks, and ringing noise near the image edge. The blocking artifacts are grid noise occurring along the block boundaries in a relatively homogeneous area. The grid noise shows traces of the block-based process at the edges between blocks when the compressed data is displayed on a screen after being restored. Thus, the edges between blocks are identified. Also, corner outliers occur at the corner points of the 8x8 block. Also, the ringing noise is a typical Gibb's phenomenon occurring by truncation when high-frequency coefficients of the DCT are quantized so as to highly compress the image. As a result, overlapping of image with a predetermined interval due to the ringing noise is noticeable. Several methods for reducing the blocking artifacts, corner outliers and ringing noise, caused by block-based coding, have been suggested in the following articles: [1] Lee, H.C. Kim and H.W. Park, "Blocking Effect Reduction of JPEG images by Signal Adaptive Filtering", in press IEEE Trans, on Image processing, 1997, [2] B. Ramanurthi and A. Gersho, "Nonlinear Space Variant Postprocessing of Block Coded Images" , IEEE Trans, on ASSP, Vol. 34, No. 5, pp. 1258-1267, 1986, [3] Y. Ynag, N. Galatsanos and A. Katsaggelos, "Projection-Based Spatially Adaptive Reconstruction of Block-Transform Compressed Images" , IEEE Trans, on Image processing, Vol. 4, No. 7, pp. 896-908, July 1995, [4] Z. Xiong, M.T. Orchard, and Y.Q. Zhang, "A Deblocking Algorithum for JPEG Compressed Images Using Overcomplete Wavelet Representations" , IEEE Trans. Circuits Syst. Video Technol. , Vol. 7, No. 2, pp. 433-437, 1997. In the reference [1], 2-dimensional signal-adaptive filtering (SAF) for reducing quantization effect of a JPEG-decompressed image has been suggested. Also, in the reference [2], a 2-dimensional filter is used to reduce the blocking artifacts and a 1 -dimensional filter is used to reduce staircase noise, resulting in good effects. In the reference [3], an iterative image-recovery algorithm using the theory of projections onto convex sets (POCS) has also been proposed. However, the main drawback of these algorithms is their computation complexity. Meanwhile, post-filtering which uses over-complete wavelet representation which reduces the complexity of computation has been suggested by the reference [4]. However, the post-filtering method is applied only to JPEG-decompressed images. Also, for low bit-rate coding, a spatio-temporal adaptive post-filtering which can be applied to a 3-dimensional subband coding has been suggested in the reference [5]: T.S. Liu and N. Jayant, "Adaptive Postprocessing Algorithms for Low Bit Rate Video Signals", IEEE Trans, on Image Processing, Vol. 4, No. 7, pp. 1032-1035, July 1995. However, this method also has computation complexity. Disclosure of the Invention To solve the above problems, it is an objective of the present invention to provide an image data post-processing method for reducing quantization effects such as blocking artifacts, corner outliers and ringing noise, from an MPEG- decompressed image, which can perform low bit rate coding without complex computation, and an apparatus therefor. According to -an aspect of the present invention, there is provided an image data post-processing method for reducing quantization effect induced when image data compressed based on a block is decoded, the method comprising the steps of: (a) detecting semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between the blocks of a previous video object plane (VOP) and blocks of a current VOP; and (b) filtering the decoded image data corresponding to the semaphore by a predetermined method, if it is determined by checking the detected semaphore that post-processing is required. Preferably, the step (a) is performed on an intra-VOP in an intra-VOP mode, and on in inter- VOP in an inter- VOP mode. Preferably, the semaphore includes a blocking semaphore representing whether or not reduction of blocking artifacts near block boundaries is required, and a ringing semaphore representing whether or not reduction of ringing noise near image edges is required. Preferably, the blocking semaphore and the ringing semaphore of the intra- VOP are detected by investigating distribution of inverse quantization coefficients which are discrete cosine transform (DCT) coefficients after the compressed bitstream is inverse quantized. Preferably, the blocking semaphore of the intra-VOP comprises a horizontal blocking semaphore (HBS) and a vertical blocking semaphore (VBS), assuming that the uppermost and leftmost pixel of the block, among 64 pixels constituting the 8 x8 block, is pixel A, the pixel to the right of the pixel A is a pixel B, and the pixel below the pixel A is a pixel C, and the HBS and the VBS of the intra-VOP are extracted by the steps of: (a) calculating discrete cosine transform (DCT) coefficients on the inverse-quantized 8 x8 block after the compressed image data is inversely quantized; (b) setting the HBS and the VBS to " 1 " which means that post-processing is required, if only the coefficient of the pixel A is non-zero; (c) setting the VBS to "1" which means that post-processing is required, if only the top row of the inverse-quantized 8x8 block includes non-zero coefficient pixel; and (d) setting the HBS to "1 " which means that the post-process is required, if on the leftmost column of the inverse-quantized 8 x8 block includes non-zero coefficient pixel. Preferably, assuming that the uppermost and leftmost pixel of the block, among 64 pixels constituting the 8 x8 block, is pixel A, the pixel to the right of the pixel A is a pixel B, and the pixel below the pixel A is a pixel C, the ringing semaphore (RS) of the intra-VOP is set to " 1 " which means post-processing is required, if any pixel other than the pixels A, B and C of the inverse-quantized 8 x8 block has a non-zero coefficient. Preferably, the blocking semaphore of the current inter- VOP comprises a horizontal blocking semaphore (HBS) and a vertical blocking semaphore (VBS), and assuming that a reference VOP comprises predetermined reference blocks, and the block of the reference VOP predicted by a motion vector (MVx,MVy) of a block Ac of the current inter- VOP is a motion block X, the HBS and the VBS of on the block Ac of the current inter- VOP are extracted by the steps of: checking the degree of overlapping between the motion block X and the reference blocks; performing a bit-wise AND operation on the HBS and VBS of the reference blocks in which the number of the overlapped pixels is more than a predetermined number; and setting the HBS and the VBS of the block Ac of the current VOP to the result of the operation. Preferably, assuming that a reference VOP comprises predetermined reference blocks, and the block of the reference VOP predicted by a motion vector (MVx,MVy) of a block Ac of the current inter- VOP is a motion block X, the ringing semaphore (RS) of the block Ac of the current inter- VOP is extracted by the steps of: setting the RS of the current block Ac to " 1 " if an inverse quantized coefficient (IQC) of a residual signal in the 8 x8 block of the inter- VOP is nonzero; setting the RS of the block to "1 " in an 8 x8 prediction mode which is supported by the MPEG-4 algorithm and transfers four motion vectors on one macroblock (MB); and checking the degree of overlapping between the motion block X and the reference blocks, if the RS is still zero, and performing a bit- wise OR operation on the RS of the reference blocks in which the number of the overlapped pixels is more than a predetermined number, to set the RS of the block Ac of the current VOP to the result of the operation. Preferably, filtering is performed by the steps of: (a) changing a predetermined number of pixel values of a horizontal block boundary between a block I and a block J adjacent to the block I if the HBSs of the blocks I and J are set to "1"; (b) comparing the difference between the values of two pixels adjacent to each other around the horizontal block boundary with a quantization factor (QP) of the H.263 if the HBS of either the block I or the block J is zero, and changing the values of the pixels whose number is less than in the step (a) if the difference of the pixels is less than the QP, wherein the filtering on the pixels around the vertical block boundary is performed using the VBS in the same manner as in the pixels around the horizontal block boundary. Preferably, assuming six pixels around the horizontal block boundary between the blocks I and J are pixels A, B, C, D, E and F, the pixels C and D are nearest to the horizontal block boundary, the pixels A and F are farthest to the horizontal block boundary, and the pixels B and E are located at the middle of the pixels A and C, and pixels D .and F, low-pass filtering on the 6 pixels is performed using a 7-tab (1,1,1,2,1,1,1) low pass filter in the step (a), and the filtering of the step (b) is performed on the pixels B, C, D and E, wherein assuming that the difference between the pixels C and D is d, the pixels C and D are filtered as an average of the pixels C and D, and the filtered pixels B and E are different from the pixels B and E, respectively, by d/8. Preferably, the filtering step comprises the steps of: detecting horizontal and vertical edges of image data; and performing 2-dimensional adaptive signal filtering on an 8 x8 block requiring reduction of ringing noise, wherein assuming that a pixel within a block having a predetermined size is pixel[m][n], the pixel to the right of the pixel[m][n] is pixel[m][n+ l], the pixel to the left of the pixel[m][n] is pixel[m][n- l], the difference between the pixel[m][n] and the pixel[m][n+l] is Al, and the difference between the pixel [m][n] and the pixel[m][n+l] is A2, and the quantization factor of the H.263 is QP, the horizontal edge detection is performed by a logical formula ((A1 > QP) and (A2> QP)) or (A1 >2QP) or (A2 > 2QP) wherein the pixel[m][n] is determined as edge and edge map Edge[m][n] is set to "1" if the logical formula is satisfied, and assuming that the pixel above the pixel[m][n] is pixel[m+ l][n], the pixel below the pixel[m][n] is pixel[m- l][n], the difference between the pixel[m][n] and the pixel[m+ l][n] is A'l, the difference between the pixel [m][n] and the pixel [m- l][n] is A'2, and the quantization factor of the H.263 is QP, the vertical edge detection is performed by a logical formula ((A'1 >QP) and (A'2 > QP)) or (A'1 >2QP) or (A'2>2QP) wherein the pixel [m][n] is determined as edge and edge map Edge[m][n] is set to "1" if the logical formula is satisfied, and signal adaptive filtering is performed by applying a 4-connected filter window to the 8 x8 block, wherein filtering is not performed if the central pixel of the filter window is an edge, and weighted filtering is performed if the central pixel of the filter window is a non-edge pixel. Also, there is provided an image data post-processing method for reducing corner outliers occurring at the corner of a cross point where four blocks meet when image data compressed based on a block are decoded, the method comprising the steps of: (a) detecting corner outliers from the block of inverse-quantized image data; and (b) compensating for the detected corner outliers. Assuming that four pixels around the cross point are pixels A, B, C and D, value[0] is A, value[l] is B, value[2] is C, value[3] is D, (A+B+C+D+2)/4 is Average, A and A_ are pixels adjacent to the pixel A in the block to which the pixel A belongs, A_ is a pixel diagonal to the pixel A, 5, and B 2 are pixels adjacent to the pixel B in the block to which the pixel B belongs, 5 3 is a pixel diagonal to the pixel B, C χ and C 2 are pixels adjacent to the pixel C in the block to which the pixel C belongs, C_ is a pixel diagonal to the pixel C, , and D 2 are pixels adjacent to the pixel D in the block to which the pixel D belongs, and Z> 3 is a pixel diagonal to the pixel D, the step (a) may comprise the sub-steps of: (al) comparing the difference between the value[0] and the Average with the quantization factor (QP) of the H.263, and counting the pixel A as the corner outlier candidate pixel if the difference is greater than the QP; (a2) performing the step (al) on the value[l], value[2] and value[3] to count the corresponding pixel as a corner outlier candidate pixel; and (a3) detecting the pixel as a corner outlier pixel if the corner outlier candidate pixel is only one, and detecting the candidate pixel having the greatest difference from (A 3 +B 3 +C 3 +D 3 -l-2)/4 as a corner outlier pixel if there are two or more corner outlier candidate pixels. Also, the step (b) may be performed by compensating for the pixel A as A' by (4A+B+C+2D+4)/8, the pixel Aj as A ' by (A' +3A +2)/4, the pixel A 2 as A by (A' +3A. +2)/4, if the corner outlier pixel is A and the difference between the pixels A and A 3 is less than 3QP/2; compensating for the pixel B as B' by (4B+C+D+2A-l-4)/8, the pixel , as B, ' by (B' +3Bi +2)/4, the pixel B 2 as B^' by (B' +BA-, +2)/4, if the corner outlier pixel is B and the difference between the pixels B and B 3 is less than 3QP/2; compensating for the pixel C as C by (4C+D+A+2B+4)/8, the pixel as ' by (C +3 +2)/4, the pixel C 2 as C/ by (C' +3C 2 +2)/4, if the corner outlier pixel is C and the difference between the pixels C and C 3 is less than 3QP/2; and compensating for the pixel D as D' by (4D+A+B+2C+4)/8, the pixel Di as D, ' by (D' -f^ +2)/4, the pixel Q as Q ' by (D'+3D 2 +2)/4, if the corner outlier pixel is D and the difference between the pixels D and D 3 is less than 3QP/2. Also, there is provided an image data post-processing method for reducing quantization effect induced when image data compressed based on a block is decoded, the method comprising the steps of: (a) detecting semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between blocks of previous video object plane (VOP) and blocks of a current VOP; (b) detecting a corner outlier pixel of the inverse- quantized image data block, by the above steps used in the above image data postprocessing method for reducing the corner outliers; (c) filtering the decoded image data corresponding to the semaphore by a predetermined method, if it is determined by checking the detected semaphore that the post-process is required; and (d) compensating for the detected corner outlier through the steps used in the above image data post-processing method for reducing the corner outliers. According to another aspect of the present invention, there is provided an image data post-processing apparatus for reducing quantization effect induced when image data compressed based on a block is decoded, the apparatus comprising: a semaphore detector for detecting a semaphore representing whether or not post- processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between blocks of previous video object plane (VOP) and blocks of a current VOP; a deblocking filter for checking blocking semaphore detected by the semaphore detector and performing deblocking filtering on the decoded image data; a comer outlier compensator for detecting a comer outlier from the data passed through the deblocking filtering and compensating for the detected comer outlier; and a deringing filter for checking ringing semaphore detected by the semaphore detector and performing deringing filtering on the comer outlier compensated data. Also, the present invention may be embodi-ed as a program capable of being run by a computer, and may be embodied in a general purpose digital computer that is running the program from a computer usable medium including but not limited to storage media .such as magnetic storage media (e.g., ROM's, floppy disks, hard disks, etc.), optically readable media (e.g. , CD-ROMs, DVDs, etc.) and carrier waves (e.g., transmissions over the Internet). According to still another aspect of the present invention, there is provided a computer readable medium having embodied thereon a computer program for image data post-processing for reducing quantization effect induced when image data compressed based on a block is decoded, wherein the image data postprocessing comprises the steps of: (a) detecting semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between the blocks of a previous video object plane (VOP) and blocks of a current VOP; and (b) filtering the decoded image data corresponding to the semaphore by a predetermined method, if it is determined by checking the detected semaphore that post-processing is required. Brief Description of the Drawings FIG. 1 is a block diagram of a decoder for decoding a block-based coded image data, and an image data post-processing apparatus for reducing quantization effect occurring when an image is decoded by the decoder; FIG. 2 shows a block diagram of an MPEG-4 decoder and an 8x8 DCT coefficient block which is inversely quantized by an inverse quantizer of the decoder; FIG. 3 shows the relationship of an 8 x8 block of an inter video object plane (VOP) and adjacent blocks of a reference VOP; FIG. 4 is a diagram illustrating an example of extraction of a horizontal blocking semaphore (HBS), a vertical blocking semaphore (VBS) and a ringing semaphore (RS) for the inter- VOP; FIG. 5 shows a block boundary and a pixel position of the block boundary, for illustrating the operation of a deblocking filter for reducing blocking artifacts; FIG. 6 A is a one-dimensional view showing an example of blocking artifacts; FIG. 6B shows the result of 7-tab filtering performed on the decoded pixel; FIG. 6C shows the result of weak filtering performed on the decoded pixel; FIG. 7 A shows .an example of image edge in which the comer outlier is due to the quantization, FIG. 7(B) shows the comer outlier occurred by the quantization, and FIG. 7(C) shows coordination values at the comer points for compensating for the comer outlier; FIG. 8A shows a kernel of a 2-dimensional signal adaptive filter (2-D SAF); and FIG. 8B shows examples of a 10x 10 block for edge detection and SAF. Best mode for carrying out the Invention In FIG. 1, a decoder 20, which is a general decoder, decodes block-based image data and an image data post-processing apparatus 10 for reducing quantization effect occurring when the decoder 20 decodes an image, includes a semaphore extractor 100, a deblocking filter 110, a comer outlier compensator 120 and a deringing filter 130. The semaphore extractor 100 extracts a semaphore using the distribution of inverse quantization coefficients (IQCs) of an image data that has been inverse- quantized, and a motion vector representing the difference between the previous video object plane (VOP) and the current VOP. The semaphore is information representing whether or not the decoded image requires post-processing, and is divided into a blocking semaphore and a ringing semaphore. The blocking semaphore represents whether or not there is need for reducing blocking artifacts near the blocking boundary, and the ringing semaphore represents whether or not there is need for reducing the ringing noise near the image edge. Also, the blocking semaphore is constituted by a horizontal blocking semaphore (HBS) representing whether or not post-processing on pixels of adjacent block of a horizontal block boundary line is required, and a vertical blocking semaphore (VBS)representing whether or not post-processing on the pixels of adjacent block of a vertical block boundary line is required. Also, the semaphore extraction is performed on an intra-VOP and an inter- VOP. The semaphore extraction on the intra-VOP is performed using distribution of IQCs of the inverse-quantized image data. The semaphore extraction on the inter- VOP is based on a motion vector representing the difference between the previous VOP and the current VOP. The deblocking filter 110 checks the blocking semaphore extracted from the semaphore extractor 100 using an one-dimensional horizontal and vertical low pass filter (LPF), and performs deblocking filtering on the decoded image data. The outlier compensator 120 detects a comer outlier of the data passed through the deblocking filter 110, and compensates for the detected comer outlier. The deringing filter 130 checks the ringing semaphore extracted by the semaphore extractor 100 using a 2-dimensional signal adaptive filter (2-D SAF), and performs deringing filtering on the comer outlier compensated data. Meanwhile, the operation of the present invention will be described in detail in the following embodiments. According to the basic concept of the image data post-processing method of the present invention, quantization effect is adaptively reduced by using spatial frequency and temporal information. Also, in the present invention, subjective image quality, peak signal to noise ratio (PSNR) and complexity of computation are considered. Particularly, the computation complexity is a very important factor in the MPEG-4 when the basic concept is implemented by software and hardware. In order to extract the semaphores of the blocking artifacts and ringing noise in every 8 x8 block, distribution of the quantization coefficients in a frequency domain and a motion vector is investigated. A blocking semaphore and a ringing semaphore are used, so that a 1 -dimensional low pass filter (1-D LPF) and a 2-D SAF are adaptively used in every 8 x8 block. First, the semaphore extraction from the blocking artifacts and ringing noise by the semaphore extractor 100 will be explained. 1. The semaphore for blocking artifacts and ringing noise In order to reduce the number of computations and to perform an efficient reduction of the quantization effects in the MPEG-4, two kinds of semaphores are defined: the blocking .semaphore and the ringing semaphore. The blocking and the ringing semaphores are extracted from the DCT domain of each 8 x8 block in the intra- video object plane (VOP). Also, the semaphores of the inner- VOP are calculated from both the residual signal and the semaphores of the reference VOP. 1.1 Semaphore extraction for intra-VOP The distribution of the inverse quantized coefficient (IQC), the DCT coefficients after inverse quantization, is investigated. FIG. 2 shows the decoder block diagram of the MPEG-4. In the 8x8 inverse quantized block of FIG. 2, the coefficients A, B and C are used for deciding the blocking and the ringing semaphores. When only the coefficient in position A of FIG. 2 has a non-zero value, the 64 pixels of the 8 x8 decoded block have the same value in the spatial domain; therefore, a block having only a DC component can induce horizontal and vertical block artifacts. In this case, both the horizontal semaphore (HBS) and the vertical blocking semaphore (VBS) of the block are set to " 1 " . When only the coefficients in the top row of the 8 x8 inverse quantized block have non-zero values, the eight pixels in each column have the same value in the spatial domain. This block may induce vertical blocking artifacts, to the VBS is set to "1". When only the coefficients in the far left column ave non-zero values, the eight pixels in each row have the same value in the spatial domain. This block may induce horizontal blocking artifacts, so the HBS is set to "1 ". The ringing semaphore (RS) is set to " 1 " if any non-zero coefficients exist in positions other than A, B and C in FIG. 2. These high-frequency coefficients mean that the block includes image edges. Therefore, the block produces ringing noise around the image edges due to the truncation of the high-frequency coefficients. These three noise semaphore, HBS, VBS and RS, are stored in three bits for each block. No additional calculation is required to extract the semaphores. 1.2 Semaphore propagation for inter- VOP The blocking and the ringing semaphores in the reference VOP are propagated to the next inter- VOP by using the motion vectors. Also, the residual signal of the inter- VOP is used to decide of the semaphores of the inter- VOP. First, the propagation of the blocking semaphore from the reference VOP to the inter- VOP will be described. FIG. 3 shows the relations of the 8 x8 block, Ac, in the inter- VOP to the adjacent blocks of the reference VOP. The propagation of the blocking semaphore is described by the motion vectors MVx and Mvy as follows. In FIG. 3, Ar, Br, Cr and Dr represents blocks of the reference VOP, and Ac is a block of the current inter- VOP, and X is a motion block of the block Ac. The motion block X is estimated using the motion vector (MVx, MVy). First, the degree of overlapping between the motion vector X and the reference blocks is investigated). The HBS and VBS of the current block Ac can be calculated by performing a bit-wi.se operation on the HBS and VBS of the reference blocks which are overlapped by the motion-estimated block X, provided that only those blocks for which the overlapped regions are wider than 2 x2 pixel, respectively, are used in this calculation. For example, when MVx and MVy are equal to 5 and 3.5, respectively, the motion-estimated block X overlaps with four reference blocks Ar, Br, Cr and Dr. Here, four overlapping regions are all wider than a 2x2 pixel. Thus, the HBS and VBS of the current block Ac can be calculated from the four reference blocks Ar, Br, Cr and Dr as shown in FIG. 4. In FIG. 4, "&" represents a bit-wise AND operation, and " | " represents a bit-wise OR operation. Next, the propagation of the ringing semaphore from the reference VOP to the inter- VOP will be described. First, the RS of the reference block Ac is set to " 1 " if any IQC of the residual signals in 8 x8 block of the inter- VOP is non-zero. The MPEG-4 algorithm supports an 8 x8 prediction mode which transmits four motion vectors for one macroblock (MB). The 8 x8 prediction mode is usually applied to a busy area having high-frequency components. Thus, the RS of the block having an 8x8 prediction mode is set to "1" after checking whether or not the block has the 8 x8 prediction mode. If the RS is still equal to "0" after the above decisions, the RS of the current block Ac can be calculated in the same manner as in the blocking semaphore, by performing the bit- wise OR operation on the RS of the reference blocks for which the overlapping regions are wider than 2x2 pixels. An example of the RS operation is shown in FIG. 4. 2. Image data post-processing method using semaphore The deblocking filter 110, the comer outlier compensator 120 and the deringing filter 130 will be described in detail. 2.1. Deblocking filter for reducing blocking artifacts A 1 -dimensional LPF for reducing blocking artifacts is strongly or weakly performed, depending on the blocking semaphore on the horizontal and vertical block boundaries. In order to reduce the blocking artifacts, most deblocking algorithms compute image-edge information and adaptively apply a LPF adaptively based on the image-edge detection. However, the proposed deblocking algorithm of the present invention does not require image-edge detection which needs a large number of computations, because it utilizes the above-obtained blocking semaphore. The 8 x8 block to be processed and the adjacent blocks are shown in FIG. 5. If the HBS of BLOCL-I and the HBS of BLOCK- J are both set to "1 ", a 7-tab (1,1, 1,2,1,1, 1) LPF is applied to pixels A, B, C, D, E and F of the horizontal block boundary of FIG. 5. Horizontal deblocking filtering can be expressed by the following algorithm. If (HBS of BLOCK-I = = 1 and HBS of BLOCK-J = = 1) 7-tab filtering: //change A, B, C, D, E and VII else if (|D-C | <QP) weak filtering;; //change B, C, D and Ell In the above, if the horizontal blocking semaphores of BLOCK-I and BLOCK-J are set to " 1 " , values of a predetermined number of pixels placed around a horizontal block boundary between BLOCK-I and BLOCK-J are changed. The filtering is performed on the above six pixels using the 7-tab (1,1,1,2,1,1,1) LPS. If any horizontal blocking semaphore of the BLOCK-I and BLOCK-J is "0", the difference between the pixel values of two adjacent pixels placed around the horizontal block boundary, and QP which is the quantization factor of H.263, are compared. If the pixel value difference is smaller than QP, smaller number of pixel values compared with the filtering using the 7-tab filter are changed. That is, when filtering the pixels B, C, D and E, the pixel values of the pixels C and D are averaged while the pixel values of the pixels B and E are changed by d/8, where d is the difference between the pixels C and D. FIG. 6 A shows an example of a 1 -dimensional view of the blocking artifacts, FIG. 6B shows the result after the 7-tab filtering is performed, and FIG. 6C shows the result after weak filtering is performed. The weak filtering is performed when the difference in the block boundary, d= | D-C | , is smaller than QP. Here, the parameter QP is the quantization factor of H.263. The MPEG-4 supports H.263 quantization. In the case of week filtering of FIG. 6C, the boundary pixels C and D are averaged, and also the adjacent pixels B and E are slightly changed to smooth the blocking artifacts. The deblocking filtering of the present invention changes the pixel values on the block boundary in order to reduce the 1-D artificial discontinuity. The pixels around the vertical block boundary are filtered using the vertical blocking semaphore in the same manner as in the blocks around the horizontal block boundary. That is, the vertical filtering is performed in the same manner as in the horizontal filtering. The deblocking algorithm of the present invention can be implemented in hardware by block-based parallel processing, and requires only shift and addition operations for 7-tab filtering and weak filtering. For example, in the case of the 7-tab filtering, a value C obtained by filtering a pixel C is calculated by C'=(A+A+B+2C+D-l-E-l-F-l-4)/8 which includes only shift and addition operations. 2.2. Comer outlier compensator A comer outlier is characterized by a pixel which is either much larger or much smaller than the neighboring pixels in the comer point of an 8 x8 block of the MPEG-decompressed image as shown in FIGs. 7 A, 7B and 7C. When a dark- gray region is distributed over four blocks and one or two pixels of the dark-gray region are located in the comer points of the neighboring pixels as shown in FIG. 7(A), the comer points can be distorted by quantization of the DCT coefficients as show in FIG. 7(B). Such distorted comer point is called a comer outlier. The corner outlier cannot be removed by deblocking and deringing filters. In order to reduce the comer outlier, the comer outlier must be detected and then compensated for. A simple coordination for comer outlier detection is shown in FIG. 7(C), where A, B, C and D are the pixel values of the comer points of the 8 x8 blocks. The algorithm for the comer outlier detection can be expressed as follows: value[0] = A; value[l] = =B; value[2] = C; value[3] = D; Average = (A+B+C+D+2)/4; Count = 0; for(m=0; m <4; m+ +) if ( I value[m] -Average | > QP) Count+ + ; /*the number of candidate points*/ where QP represents the quantization factor of H.263, and "Count" is a variable for storing the number of candidate comer outlier pixels. If the "Count" is zero, there is no comer outlier. If A is the only candidate point in FIG. 7(C) and I A— A 3 1 is less than 3QP/2, comer-outlier compensation is performed on A, A and A 2 as follows. Assuming that the compensated values on A, A and A are A', A' t and A 2 , the compensated values A', A' and 2 A' are determined by the following formula (1). A' = (4A+B+C+2D+4)/8 A' 2 = (AX3A 2 +2)/4 If the number of candidate points is more than 2, the candidate which has the largest difference from (A 3 +B 3 +C 3 +D 3 +2)/4 is selected, and comer-outlier compensation is performed on that point in the same manner as in the case of only one candidate. 2.3. Deringing filter for reducing ringing noise Prior to applying the deringing filtering for each block, the RS is investigated. If the RS of the current block is " 1 " , deringing filtering is applied to that block. In order to prevent the image details from being distorted by filtering, simple edge detection is performed before filtering. As shown in FIGs. 8 A and 8B, edge detection and 2-dimensional signal adaptive filtering (2-D SAF) are applied to an 8 x8 block with a non-zero ringing semaphore. The 2-D SAF is applied to 4x4 pixels located at the center of the 8 x8 block, because the boundary pixels are smoothed by deblocking filter. First, edge detection will be explained. One-dimensional (1-D) horizontal and vertical gradient operators are applied to the reconstructed blocks so as to find the image edges. The threshold value for deciding the edge pixels is selected from the quantization factor QP of the H.263. For applying 2-D SAF to 4 x4 pixels, edge information must be obtained for a 6 x6 block, which is the current block, as shown in FIG. 8B. Assuming that there are a pixel[m][n] and a pixel[m][n+ l] which is the pixel to the right of the pixel[m][n], and a pixel[m][n- 1] which is the pixel to the left of the pixel[m][n], the difference between the pixel[m][n] and pixel[m][n+l] is Al, the difference between the pixel[m][n] and pixel [m] [n- l] is A2, and quantization factor of the H.263 is QP, the horizontal edge detection is performed by the following logical formula ((A1 >QP) and (A2 > QP)) or (Al > 2QP) or (A2> 2QP). If the logical formula is satisfied, the pixel[m][n] is determined as an edge and the edge map Edge[m][n] becomes 1. Assuming that there are a pixel[m][n], a pixel[m+l][n] which is the pixel above the pixel[m][n], and a pixel[m- l][n] which is the pixel below the pixel[m][n], difference between the pixel[m][n] and pixel[m+ l][n] is A'l, the difference between the pixel [m][n] and pixel [m— l][n] is A '2, and quantization factor of the H.263 is QP, the horizontal edge detection is performed by the following logical formula ((A'1 > QP) and (A'2 > QP)) or (A'1 >2QP) or (A'2 >2QP). If the logical formula is satisfied, the pixel [m][n] is determined as an edge and the edge map Edge[m][n] becomes 1. The edge map, Edge[m][n], is obtained from the pixel value, pixel[m][n], by the following algorithm. /* horizontal edge detection */ Al = |pixel[m][n] -pixel[m][n+l] | ; A2 = |pixel[m][n] -pixel[m][n- l] | ; if(((Al >QP) and (A2>QP)) or (Al >2QP) or (A2>2QP)) Edge[m][n] = 1; else{ /*vertical edge detection*/ A'l = |pixel[m][n] -pixel[m+ l][n] | ; A'2 = |pixel[m][n] -ρixel[m- l][n] | ; if (((A'l >QP) and (A'2> QP)) or (A'l > 2QP) or (A'2> 2QP)) Edge[m][n] = 1; } Next, deringing filtering using a 2-dimensional signal adaptive filter (2-D SAF) will be described. The deringing filtering is proposed to smooth the ringing noise without significant loss of image details. The deringing filtering of the present invention is a simple convolution operation in which weighting factors for the convolution vary according to the edge map. The SAF is applied to the decoded block by using Edge[m][n]. FIG. 8 A shows a kernel for the 2-D SAF. When the central point A of the filter window in FIG. 8B is on the edge pixel, the 2-D filtering operation is not performed (EX. l of FIG. 8B). If an edge point is not included in the 4-connected filter window, low-pass filtering is performed (EX.2 of FIG. 8B). If some edge points, not on the center point, are in the 4-connected filter window, weighted filtering to exclude the edge pixels is performed (EX. 3 of FIG. 8B). The weighting factors are defined in consideration of computation complexity, so SAF filtering can be performed by simple shift and addition operations as shown in Table. 1. Table 1 In Table 1, "0" represents a non-edge, and "1 " represents an edge. The present invention may be embodied as a program capable of being run by a computer, and the invention may be embodied in a general purpose digital computer that is running the progr-am from a computer usable medium including but not limited to storage media such as magnetic storage media (e.g. , ROM's, floppy disks, hard disks, etc.), optically readable media (e.g., CD-ROMs, DVDs, etc.) and carrier waves (e.g., transmissions over the Internet). Hence, the present invention may be embodied as a computer usable medium having a computer readable program code unit embodied therein for image data post-processing for reducing quantization effect induced when image data compressed based on a block is decoded, the computer readable program code means in the computer usable medium comprising: computer readable program code means for detecting semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse- quantized image data and a motion vector representing the difference between the blocks of a previous video object plane (VOP) and blocks of a current VOP; and computer readable program code means for filtering the decoded image data corresponding to the semaphore by a predetermined method, if it is determined by checking the detected semaphore that post-processing is required. A functional program, code and code segments, used to implement the present invention can be derived by a skilled computer programmer from the description of the invention contained herein. When images are highly compressed, the decompressed images produce quantization effects such as blocking .artifacts, comer outlier and ringing noise. As described above, the post-processing method of the present invention reduces the quantization effects of the decomposed images by using semaphores and adaptive filters. The blocking and ringing semaphores of each block greatly contribute to reducing the computation complexity of post-filtering. The motion vectors in the inter- VOP are used to extract the blocking and the ringing semaphores for the current block. In video coding, both the computation complexity and the PSNR must be considered for high image quality and for easy implementation in the hardware and software. From the aspect of hardware complexity, the algorithm of the present invention can be performed by parallel processing without multiplication and division operations. Industrial Applicability The post-processing method of the present invention can be widely used, because it significantly enhances the subjective quality while maintaining image details. The proposed algorithm of the present invention can be applied to JPEG, H.263 + , MPEG-1 and MPEG-4 decompressed images.

Claims: What is claimed is: 1. A method of determining whether or not to perform post-processing for reducing quantization effect induced when image data compressed based on a block is decoded, wherein the determination is performed with reference to distribution of inverse quantization coefficients of inverse-quantized image data in an intra video object plane (VOP) coding mode, and a motion vector representing the difference between the blocks of previous VOP and the blocks of the current VOP in an inter- VOP coding mode. 2. An image data post-processing method for reducing quantization effect induced when image data compressed based on a block is decoded, the method comprising the steps of: (a) detecting semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between the blocks of a previous video object plane (VOP) and blocks of a current VOP; and (b) filtering the decoded image data corresponding to the semaphore by a predeteπriined method, if it is determined by checking the detected semaphore that post-processing is required. 3. The method of claim 1, wherein the step (a) is performed on an intra-VOP in an intra-VOP mode, and on in inter- VOP in an inter- VOP mode. 4. The method of claim 3, wherein the semaphore includes a blocking semaphore representing whether or not reduction of blocking artifacts near block boundaries is required, and a ringing semaphore representing whether or not reduction of ringing noise near image edges is required. 5. The method of claim 4, wherein the blocking semaphore and the ringing semaphore of the intra-VOP are detected by investigating distribution of inverse quantization coefficients which are discrete cosine transform (DCT) coefficients after the compressed bitstream is inverse quantized. 6. The method of claim 5, wherein the blocking semaphore of the intra- VOP comprises a horizontal blocking semaphore (HBS) and a vertical blocking semaphore (VBS), assuming that the uppermost and leftmost pixel of the block, among 64 pixels constituting the 8 x8 block, is pixel A, the pixel to the right of the pixel A is a pixel B, and the pixel below the pixel A is a pixel C, and the HBS and the VBS of the intra-VOP are extracted by the steps of: (a) calculating discrete cosine transform (DCT) coefficients on the inverse- quantized 8 x8 block after the compressed image data is inversely quantized; (b) setting the HBS and the VBS to " 1 " which means that post-processing is required, if only the coefficient of the pixel A is non-zero; (c) setting the VBS to " 1 " which means that post-processing is required, if only the top row of the inverse-quantized 8 x8 block includes non-zero coefficient pixel; and (d) setting the HBS to " 1 " which means that the post-process is required, if on the leftmost column of the inverse-quantized 8 x8 block includes non-zero coefficient pixel. 7. The method of claim 5, wherein assuming that the uppermost and leftmost pixel of the block, among 64 pixels constituting the 8 x8 block, is pixel A, the pixel to the right of the pixel A is a pixel B, and the pixel below the pixel A is a pixel C, the ringing semaphore (RS) of the intra-VOP is set to "1 " which means post-processing is required, if any pixel other than the pixels A, B and C of the inverse-quantized 8x8 block has a non-zero coefficient. 8. The method of claim 7, wherein assuming that the pixel to the right of the pixel C is a pixel D, the ringing semaphore of the intra-VOP is set to "1" which means post-processing is required, if any pixel other than the pixels A, B, C and D of the inverse-quantized 8x8 block has a non-zero coefficient. 9. The method of claim 2, wherein the blocking semaphore of the current inter- VOP comprises a horizontal blocking semaphore (HBS) and a vertical blocking semaphore (VBS), and assuming that a reference VOP comprises predetermined reference blocks, and the block of the reference VOP predicted by a motion vector (MVx, MVy) of a block Ac of the current inter- VOP is a motion block X, the HBS and the VBS of on the block Ac of the current inter- VOP are extracted by the steps of: checking the degree of overlapping between the motion block X and the reference blocks; performing a bit-wise AND operation on the HBS and VBS of the reference blocks in which the number of the overlapped pixels is more than a predetermined number; and setting the HBS and the VBS of the block Ac of the current VOP to the result of the operation. 10. The method of claim 4, wherein assuming that a reference VOP comprises predetermined reference blocks, and the block of the reference VOP predicted by a motion vector (MVx,MVy) of a block Ac of the current inter- VOP is a motion block X, the ringing semaphore (RS) of the block Ac of the current inter- VOP is extracted by the steps of: setting the RS of the current block Ac to "1 " if an inverse quantized coefficient (IQC) of a residual signal in the 8 x8 block of the inter- VOP is nonzero; setting the RS of the block to "1" in an 8 x8 prediction mode which is supported by the MPEG-4 algorithm and transfers four motion vectors on one macroblock (MB); and checking the degree of overlapping between the motion block X and the reference blocks, if the RS is still zero, .and performing a bit- wise OR operation on the RS of the reference blocks in which the number of the overlapped pixels is more than a predetermined number, to set the RS of the block Ac of the current VOP to the result of the operation. 11. The method of claim 9, wherein the predetermined number of the overlapped pixels is 2x2 pixels. 12. The method of claim 9, wherein filtering is performed by the steps of: (a) changing a predetermined number of pixel values of a horizontal block boundary between a block I -and a block J adjacent to the block I if the HBSs of the blocks I and J are set to "1"; (b) comparing the difference between the values of two pixels adjacent to each other around the horizontal block boundary with a quantization factor (QP) of the H.263 if the HBS of either the block I or the block J is zero, and changing the values of the pixels whose number is less than in the step (a) if the difference of the pixels is less than the QP, wherein the filtering on the pixels around the vertical block boundary is performed using the VBS in the same manner as in the pixels around the horizontal block boundary. 13. The method of claim 12, wherein assuming six pixels around the horizontal block boundary between the blocks I and J are pixels A, B, C, D, E and F, the pixels C and D are nearest to the horizontal block boundary, the pixels A and F are farthest to the horizontal block boundary, and the pixels B and E are located at the middle of the pixels A and C, and pixels D and F, low-pass filtering on the 6 pixels is performed using a 7-tab (1,1,1,2,1,1,1) low pass filter in the step (a), and the filtering of the step (b) is performed on the pixels B, C, D and E, wherein assuming that the difference between the pixels C and D is d, the pixels C and D are filtered as an average of the pixels C and D, and the filtered pixels B and E are different from the pixels B and E, respectively, by d/8. 14. The method of claim 10, wherein the filtering step comprises the steps of: detecting horizontal and vertical edges of image data; and performing 2-dimensional adaptive signal filtering on an 8 x8 block requiring reduction of ringing noise, wherein assuming that a pixel within a block having a predetermined size is pixel[m][n], the pixel to the right of the pixel[m][n] is pixel[m][n+l], the pixel to the left of the pixel[m][n] is pixel[m][n— 1], the difference between the pixel[m][n] and the pixel[m][n+ l] is Al, and the difference between the pixel[m][n] and the pixels[m][n+l] is A2, -and the quantization factor of the H.263 is QP, the horizontal edge detection is performed by a logical formula ((Al > QP) and (A2 > QP)) or (Al > 2QP) or (A2 > 2QP) wherein the pixel[m][n] is determined as edge and edge map Edge[m][n] is set to "1" if the logical formula is satisfied, and assuming that the pixel above the pixel[m][n] is pixel[m+ l][n], the pixel below the pixel[m][n] is pixel[m-l][n], the difference between the pixel[m][n] and the pixel[m+ l][n] is A'l, the difference between the pixel[m][n] and the pixel[m- l][n] is A'2, and the quantization factor of the H.263 is QP, the vertical edge detection is performed by a logical formula ((A'l > QP) and (A'2 >QP)) or (A'l >2QP) or (A'2>2QP) wherein the pixel[m][n] is determined as edge and edge map Edge[m][n] is set to " 1 " if the logical formula is satisfied, and signal adaptive filtering is performed by applying a 4-connected filter window to the 8x8 block, wherein filtering is not performed if the central pixel of the filter window is an edge, and weighted filtering is performed if the central pixel of the filter window is a non-edge pixel. 15. An edge detection method for deringing filtering to reduce ringing noise, the method comprising the steps of: detecting a horizontal edge of image data; and detecting a vertical edge of the image data, wherein assuming that a pixel within a block having a predetermined size is pixel[m][n], the pixel to the right of the pixel [m][n] is pixel[m][n+l], the pixel to the left of the pixel[m][n] is pixel[m][n-l], the difference between the pixel[m][n] and the pixel[m][n+l] is Al, and the difference between the pixel[m][n] and the pixels[m][n+l] is A2, and the quantization factor of the H.263 is QP, the horizontal edge detection is performed by a logical formula ((Al > QP) and (A2>QP)) or (Al >2QP) or (A2>2QP) wherein the pixel[m][n] is determined as edge if the logical formula is satisfied, and assuming that the pixel above the pixel[m][n] is pixel[m+ l][n], the pixel below the pixel[m][n] is pixel[m-l][n], the difference between the pixel[m][n] and the pixel[m+l][n] is A'l, the difference between the pixel[m][n] and the pixel[m-l][n] is A'2, .and the quantization factor of the H.263 is QP, the vertical edge detection is performed by a logical formula ((A' 1 > QP) and (A'2 > QP)) or (A'1 > 2QP) or (A'2>2QP) wherein the pixel[m][n] is determined as edge if the logical formula is satisfied. 16. A deringing filtering method for reducing ringing noise, comprising the steps of: detecting horizontal and vertical edges of image data; and performing 2-D signal adaptive filtering on the block requiring reduction of ringing noise, wherein assuming that a pixel within a block having a predetermined size is pixel[m][n], the pixel to the right of the pixel[m][n] is pixel[m][n+ l], the pixel to the left of the pixel[m][n] is pixel[m][n-l], the difference between the pixel[m][n] and the pixel[m][n+ l] is Al, and the difference between the pixel[m][n] and the pixels[m][n+l] is A2, and the quantization factor of the H.263 is QP, the horizontal edge detection is performed by a logical formula ((Al >QP) and (A2 > QP)) or (Al > 2QP) or (A2 > 2QP) wherein the pixel[m] [n] is determined as edge if the logical formula is satisfied, and assuming that the pixel above the pixel [m][n] is pixel[m+l][n], the pixel below the pixel[m][n] is pixel[m-l][n], the difference between the pixel[m][n] and the pixel[m+ l][n] is A'l, the difference between the pixel[m][n] and the pixel[m-l][n] is A'2, and the quantization factor of the H.263 is QP, the vertical edge detection is performed by a logical formula ((A'l > QP) and (A'2 > QP)) or (A'l >2QP) or (A'2>2QP) wherein the pixel[m][n] is determined as edge if the logical formula is satisfied, and signal adaptive filtering is performed by applying a 4-connected filter window to the 8x8 block, wherein filtering is not performed if the central pixel of the filter window is an edge pixel, and weighted filtering is performed if the central pixel of the filter window is a non-edge pixel. 17. A method of detecting comer outliers occurring at the comer of a cross point where four blocks meet when image data compressed based on a block are decoded, assuming that four pixels around the cross point are pixels A, B, C and D, value[0] is A, value[l] is B, value[2] is C, value[3] is D, (A+B+C+D+2)/4 is Average, A χ and ^ are pixels adjacent to the pixel A in the block to which the pixel A belongs, A 3 is a pixel diagonal to the pixel A, B χ and B 2 are pixels adjacent to the pixel B in the block to which the pixel B belongs, B_ is a pbcel diagonal to the pixel B, C χ and C 2 are pixels adjacent to the pixel C in the block to which the pixel C belongs, C, is a pbcel diagonal to the pixel C, D, and D 2 are pixels adjacent to the pixel D in the block to which the pixel D belongs, and D 3 is a pixel diagonal to the pixel D, the method comprising the steps of: (a) comparing the difference between the value[0] and the Average with the quantization factor (QP) of the H.263, and counting the pixel A as the comer outlier candidate pixel if the difference is greater than the QP; (b) performing the step (a) on the value[l], value[2] and value[3] to count the corresponding pixel as a comer outlier candidate pixel; and (c) detecting the pbcel as a comer outlier pbcel if the comer outlier candidate pixel is only one, and detecting the candidate pixel having the greatest difference from (A 3 +B 3 +C 3 +D 3 +2)/4 as a comer outlier pixel if there are two or more comer outlier candidate pixels. 18. A method of compensating for detected comer outliers occurring at the comer of a cross point where four blocks meet when image data compressed based on a block are decoded, assuming that four pixels around the cross point are pixels A, B, C and D, value[0] is A, valuefl] is B, value[2] is C, value[3] is D, (A+B+C+D+2)/4 is Average,^ and A_ are pixels adjacent to the pixel A in the block to which the pixel A belongs, A 3 is a pixel diagonal to the pbcel A, 5, and B 2 are pixels adjacent to the pixel B in the block to which the pixel B belongs, B 3 is a pbcel diagonal to the pixel B, C x and C, are pixels adjacent to the pbcel C in the block to which the pixel C belongs, C_ is a pixel diagonal to the pixel C, Z), and D 2 are pixels adjacent to the pixel D in the block to which the pixel D belongs, and D_ is a pixel diagonal to of the pixel D, the method comprising the steps of: compensating for the pixel A as A' by (4A+B+C+2D+4)/8, the pixel A-. as Ai' by (A' +3Aι+2)/4, the pixel as ' by (A' +3 +2)1 A, if the comer outlier pixel is A and the difference between the pixels A and A 3 is less than 3QP/2; compensating for the pixel B as B' by (4B+C+D+2A+4)/8, the pixel Bj as Bj' by (B' +3^ +2)/4, the pixel B as 2 B ' by (B' +?A +2)/4, if the comer outlier pixel is B and the difference between the pixels B and B 3 is less than 3QP/2; compensating for the pixel C as C by (4C+D+A+2B+4)/8, the pixel as Cj' by (C +3Q +2)/4, the pixel £ as £ ' by (C' +|C +2)/4, if the comer outlier pixel is C and the difference between the pixels C and C 3 is less than 3QP/2; and compensating for the pixel D as D' by (4D+A+B+2C+4)/8, the pixel D[ as D,' by (DX3D, +2)/4, the pixel 1^ as p ' by (D' +3p +2)/4, if the comer outlier pixel is D and the difference between the pixels D and D 3 is less than 3QP/2. 19. An image data post-processing method for reducing comer outliers occurring at the comer of a cross point where four blocks meet when image data compressed based on a block are decoded, the method comprising the steps of: (a) detecting comer outliers from the block of inverse-quantized image data; and (b) compensating for the detected comer outliers, wherein assuming that four pixels around the cross point are pixels A, B, C and D, value[0] is A, value[l] is B, value[2] is C, value[3] is D, (A+B+C+D+2)/4 is Average, A and A 2 are pixels adjacent to the pixel A in the block to which the pixel A belongs, A_ is a pixel diagonal to the pbcel A, _5, and B 2 are pixels adjacent to the pbcel B in the block to which the pixel B belongs, B_ is a pixel diagonal to the pixel B, C χ and C 2 are pixels adjacent to the pixel C in the block to which the pbcel C belongs, C, is a pixel diagonal to the pixel C, D χ and D 2 are pixels adjacent to the pixel D in the block to which the pixel D belongs, .and D 3 is a pbcel diagonal to the pixel D, the step (a) comprises the sub- steps of: (al) comparing the difference between the value[0] and the Average with the quantization factor (QP) of the H.263, and counting the pixel A as the comer outlier candidate pixel if the difference is greater than the QP; (a2) performing the step (al) on the value[l], value[2] and value[3] to count the corresponding pixel as a comer outlier candidate pixel; and (a3) detecting the pixel as a comer outlier pixel if the comer outlier candidate pixel is only one, and detecting the candidate pixel having the greatest difference from (A 3 +B 3 +C 3 -l-D 3 -l-2)/4 as a comer outlier pixel if there are two or more comer outlier candidate pixels, and wherein the step (b) is performed by compensating for the pixel A as A' by (4A+B+C+2D+4)/8, the pixel A, as A by (A' +34 +2)/4, the pixel A . as ' by (A' +3A 2 +2)/4, if the comer outlier pixel is A and the difference between the pixels A and A 3 is less than 3QP/2; compensating for the pixel B as B' by (4B+C+D+2A+4)/8, the pixel B x as B, ' by (B' +3Bj +2)/4, the pixel ζ as § ' by (B' +BA 2 +2)/4, if the comer outlier pixel is B and the difference between the pixels B and B 3 is less than 3QP/2; compensating for the pixel C as C by (4C+D+A+2B+4)/8, the pixel C, as Q ' by (C +3Q +2)/4, the pixel Q as Q ' by (C' +3C 2 +2)/4, if the comer outlier pixel is C and the difference between the pixels C and C 3 is less than 3QP/2; and compensating for the pixel D as D' by (4D+A+B+2C+4)/8, the pbcel O, as Dj ' by (D' +3D,, +2)/4, the pixel I>, as E>, ' by (D'+3D 2 +2)/4, if the comer outlier pixel is D and the difference between the pixels D and D 3 is less than 3QP/2. 20. An image data post-processing method for reducing quantization effect induced when image data compressed based on a block is decoded, the method comprising the steps of: (a) detecting semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between blocks of previous video object plane (VOP) and blocks of a current VOP; and (b) detecting a comer outlier pbcel of the inverse-quantized image data block, as.suming that four pixels around the cross point are pixels A, B, C and D, value[0] is A, value[l] is B, value[2] is C, value[3] is D, (A+B+C+D+2)/4 is Average, A x and A 2 are pixels adjacent to the pixel A in the block to which the pixel A belongs, A 3 is a pixel diagonal to the pixel A, B and B 2 -are pixels adjacent to the pixel B in the block to which the pixel B belongs, B_ is a pixel diagonal to the pbcel B, C, and C^ are pixels adjacent to the pixel C in the block to which the pbcel C belongs, C 3 is a pbcel diagonal to the pixel C, D χ and D 2 are pixels adjacent to the pixel D in the block to which the pbcel D belongs, and D 3 is a pixel diagonal to the pixel D, by the steps of: (bl) comparing the difference between the value[0] and the Average with the quantization factor (QP) of the H.263, and counting the pixel A as the comer outlier candidate pixel if the difference is greater than the QP; and (b2) performing the step (bl) on the value[l], value[2] and value[3] to count the corresponding pixel as a comer outlier candidate pixel; (c) filtering the decoded image data corresponding to the semaphore by a predetermined method, if it is determined by checking the detected semaphore that the post-process is required; and (d) detecting the pixel as a comer outlier pixel if the comer outlier candidate pixel is only one and then compensating for the pixel by a predetermined method if the difference between the pixel and a pixel diagonal to the pixel is less than 3QP/2, and detecting the candidate pixel having the greatest difference from (A 3 +B 3 +C 3 +D 3 +2)/4 as a comer outlier pixel if there are two or more comer outlier candidate pixels and then compensating for the detected candidate pixel by the predetermined method. 21. The method of claim 20, wherein if the detected comer outlier pixel is A and the difference between the pixels A and A 3 is less than 3QP/2, the pixel A is compensated for as A' by (4A+B+C+2D+4)/8, the pixel A, as ' by (A' +3A 1 +2)/4, the pixel 4 as ' by (A' +34 +2)/4, and if the detected comer outlier pbcel is B and the difference between the pixels B and B 3 is less than 3QP/2, the pixel B is compensated for as B' by (4B+C+D+2A+4)/8, the pixel B, as B, ' by (B'+3Bj+2)/4, the pbcel as ^ ' by (B' +3ζ +2)/4, and if the detected comer outlier pixel is C and the difference between the pixels C and C 3 is less than 3QP/2, the pixel C is compensated for as C by (4C+D+A+2B+4)/8, the pixel C, as Q ' by (C' +3 +2)/4, the pixel £ as 2 C ' by (C' +|C +2)/4, and if the detected comer outlier pbcel is D and the difference between the pixels D and D 3 is less than 3QP/2, the pixel D is compensated for as D' by (4D+A+B+2C+4)/8, the pixel O, as D, ' by (D' +3Dj +2)/4, the pixel Q as ζ ' by (D' +3D . +2)/4. 22. An image data post-processing apparatus for reducing quantization effect induced when image data compressed based on a block is decoded, the apparatus comprising: a semaphore detector for detecting a semaphore representing whether or not post-processing is required, using distribution of inverse quantization coefficients of inverse-quantized image data and a motion vector representing the difference between blocks of previous video object plane (VOP) -and blocks of a current VOP; a deblocking filter for checking blocking semaphore detected by the semaphore detector and performing deblocking filtering on the decoded image data; a corner outlier compensator for detecting a comer outlier from the data passed through the deblocking filtering and compensating for the detected comer outlier; and a deringing filter for checking ringing semaphore detected by the semaphore detector and performing deringing filtering on the comer outlier compensated data, wherein the semaphore includes a blocking semaphore representing whether or not reducing blocking artifacts near block boundaries is required, and a ringing semaphore representing whether or not reducing ringing noise near image edges is required. 23. The apparatus of claim 22, wherein the semaphore detector detects the semaphore on an intra-VOP and an inter- VOP, and the semaphore detection on the intra-VOP is performed by using the distribution of inverse quantization coefficients which are discrete cosine transform (DCT) coefficients of the inverse- quantized image data, and the semaphore detection on the inter- VOP is performed using the motion vector representing the difference between the blocks of previous VOP and the blocks of the current VOP. 24. The apparatus of claim 22, wherein the deblocking filter is 1- dimensional horizontal and vertical low pass filters. 25. The apparatus of claim 22, wherein the deringing filter is a 2- dimensional signal adaptive filter. 26. A computer readable medium having embodied thereon a computer program for image data post-processing capable of reducing quantization effect induced when image data compressed based on a block is decoded, wherein the image data post-processing method comprises the steps of: detecting a semaphore representing whether or not post-processing is required on an intra video object plane (VOP) in an intra-VOP mode and an inter- VOP in an inter- VOP mode, by investigating the distribution of inverse quantization coefficients of inverse-quantized image data and calculating a motion vector representing the difference between the blocks of previous VOP and the blocks of the current VOP; and filtering the decoded image data corresponding to the semaphore by a predetermined method, if it is determined by checking the detected semaphore that post-processing is required. 27. The computer readable medium of claim 26, wherein the semaphore includes a blocking semaphore representing whether or not reduction of blocking artifacts near block boundaries is required, and a ringing semaphore representing whether or not reduction of ringing noise near image edges is required, and assuming that the uppermost and leftmost pixel of the block, among 64 pixels constituting the 8 x8 block, is pixel A, the pixel to the right of the pixel A is a pixel B, and the pixel below the pixel A is a pixel C, when the blocking semaphore of the intra-VOP comprises a horizontal blocking semaphore (HBS) and a vertical blocking semaphore (VBS), the HBS and the VBS of the intra-VOP are extracted by the steps of: (a) calculating discrete cosine transform (DCT) coefficients on the inverse- quantized 8 x8 block after the compressed image data is inversely quantized; (b) setting the HBS and the VBS to " 1 " which means that post-processing is required, if only the coefficient of the pixel A is non-zero; (c) setting the VBS to "1 " which means that post-processing is required, if only the top row of the inverse-quantized 8 x8 block includes non-zero coefficient pixel; and (d) setting the HBS to " 1 " which means that the post-process is required, if on the leftmost column of the inverse-quantized 8x8 block includes non-zero coefficient pixel, and the ringing semaphore (RS) of the intra-VOP is set to " 1 " which means post-processing is required, if any pixel other than the pixels A, B and C of the inverse-quantized 8x8 block has a non-zero coefficient, and the blocking semaphore of the current inter- VOP comprises a horizontal blocking semaphore (HBS) and a vertical blocking semaphore (VBS), and assuming that a reference VOP comprises predetermined reference blocks, and the block of the reference VOP predicted by a motion vector (MVx, MVy) of a block Ac of the current inter- VOP is a motion block X, the HBS and the VBS of on the block Ac of the current inter- VOP are extracted by the steps of: checking the degree of overlapping between the motion block X and the reference blocks; performing a bit-wise AND operation on the HBS and VBS of the reference blocks in which the number of the overlapped pixels is more than a predetermined number; and setting the HBS and the VBS of the block Ac of the current VOP to the result of the operation. 28. The computer readable medium of claim 26, wherein assuming that a reference VOP comprises predetermined reference blocks, and the block of the reference VOP predicted by a motion vector (MVx, MVy) of a block Ac of the current inter- VOP is a motion block X, the ringing semaphore (RS) of the block Ac of the current inter- VOP is extracted by the steps of: setting the RS of the current block Ac to "1 " if an inverse quantized coefficient (IQC) of a residual signal in the 8x8 block of the inter- VOP is nonzero; setting the RS of the block to "1 " in an 8 x8 prediction mode which is supported by the MPEG-4 algorithm and transfers four motion vectors on one macroblock (MB); and checking the degree of overlapping between the motion block X and the reference blocks, if the RS is still zero, and performing a bit-wise OR operation on the RS of the reference blocks in which the number of the overlapped pixels is more than a predetermined number, to set the RS of the block Ac of the current VOP to the result of the operation. 29. The computer readable medium of claim 26, wherein filtering is performed by the steps of: (a) changing a predetermined number of pixel values of a horizontal block boundary between a block I and a block J adjacent to the block I if the HBSs of the blocks I and J are set to "1"; (b) comparing the difference between the values of two pixels adjacent to each other around the horizontal block boundary with a quantization factor (QP) of the H.263 if the HBS of either the block I or the block J is zero, and changing the values of the pixels whose number is less than in the step (a) if the difference of the pixels is less than the QP, wherein the filtering on the pixels around the vertical block boundary is performed using the VBS in the same manner as in the pixels around the horizontal block boundary, and assuming six pixels around the horizontal block boundary between the blocks I and J are pixels A, B, C, D, E and F, the pixels C and D are nearest to the horizontal block boundary, the pixels A and F are farthest to the horizontal block boundary, and the pixels B and E are located at the middle of the pixels A and C, and pixels D and F, low-pass filtering on the 6 pixels is performed using a 7-tab (1,1,1,2,1,1,1) low pass filter in the step (a), and the filtering of the step (b) is performed on the pixels B, C, D and E, wherein assuming that the difference between the pixels C and D is d, the pixels C and D are filtered as an average of the pixels C and D, and the filtered pixels B and E are different from the pixels B and E, respectively, by d/8. 30. The computer readable medium of claim 28, wherein the filtering step comprises the steps of: detecting horizontal and vertical edges of image data; and performing 2-dimensional adaptive signal filtering on an 8 x8 block requiring reduction of ringing noise, wherein assuming that a pixel within a block having a predetermined size is pixel[m][n], the pbcel to the right of the pixel[m][n] is pixel[m][n+l], the pixel to the left of the pixel[m][n] is pixel[m][n— 1], the difference between the pixel[m][n] and the pixel[m][n+l] is Al, and the difference between the pixel[m][n] and the pbcels[m][n+l] is A2, and the quantization factor of the H.263 is QP, the horizontal edge detection is performed by a logical formula ((Al > QP) and (A2>QP)) or (Al >2QP) or (A2>2QP) wherein the pixel[m][n] is determined as edge and edge map Edge[m][n] is set to "1" if the logical formula is satisfied, and assuming that the pixel above the pixel[m][n] is pixel[m+ l][n], the pixel below the pbcel[m][n] is pixel[m-l][n], the difference between the pixel[m][n] and the pixel[m+l][n] is A'l, the difference between the pixel[m][n] and the pbcel[m-l][n] is A'2, and the quantization factor of the H.263 is QP, the vertical edge detection is performed by a logical formula ((A'l >QP) and (A'2>QP)) or (A'l >2QP) or (A'2>2QP) wherein the pixel[m][n] is determined as edge and edge map Edge[m][n] is set to "1" if the logical formula is satisfied, and signal adaptive filtering is performed by applying a 4-connected filter window to the 8x8 block, wherein filtering is not performed if the central pixel of the filter window is an edge, and weighted filtering is performed if the central pixel of the filter window is a non-edge pbcel. 31. A computer readable medium having embodied thereon a computer program for image data post-processing capable of reducing comer outliers occurring at the comer of a cross point where four blocks meet when image data compressed based on a block are decoded, wherein the image data post-processing method comprises the steps of: (a) detecting comer outliers from the block of inverse-quantized image data; and (b) compensating for the detected comer outliers, wherein assuming that four pixels around the cross point are pixels A, B, C and D, value[0] is A, value[l] is B, value[2] is C, value[3] is D, (A+B+C+D+2)/4 is Average, A χ and A 2 are pixels adjacent to the pixel A in the block to which the pixel A belongs, A_ is a pbcel diagonal to the pixel A, B χ and B 2 are pixels adjacent to the pbcel B in the block to which the pixel B belongs, B 3 is a pbcel diagonal to the pbcel B, C χ and C 2 are pixels adjacent to the pixel C in the block to which the pbcel C belongs, (^ is a pixel diagonal to the pixel C, D χ and D 2 are pixels adjacent to the pbcel D in the block to which the pixel D belongs, and Z> 3 is a pbcel diagonal to the pixel D, the step (a) comprises the sub- steps of: (al) comparing the difference between the value[0] and the Average with the quantization factor (QP) of the H.263, and counting the pixel A as the comer outlier candidate pixel if the difference is greater than the QP; (a2) performing the step (al) on the v.alue[l], value[2] and value[3] to count the corresponding pixel as a comer outlier candidate pixel; and (a3) detecting the pixel as a comer outlier pixel if the comer outlier candidate pixel is only one, and detecting the candidate pixel having the greatest difference from (A 3 +B 3 +C 3 +D 3 +2)/4 as a comer outlier pixel if there are two or more comer outlier candidate pixels, and wherein the step (b) is performed by compensating for the pixel A as A' by (4A+B+C+2D+4)/8, the pbcel A, as ' by (A' +34 +2)/4, the pixel 4 as ' by (A'+3A 2 +2)/4, if the comer outlier pixel is A and the difference between the pixels A and A 3 is less than 3QP/2; compensating for the pixel B as B' by (4B+C+D+2A+4)/8, the pixel B, as B, ' by (B' +3B, +2)/4, the pixel r| as § ' by (B'+BA 2 +2)/4, if the comer outlier pixel is B and the difference between the pixels B and B 3 is less than 3QP/2; compensating for the pixel C as C by (4C+D+A+2B+4)/8, the pixel as C by (C +3Q +2)/4, the pixel Q as Q ' by (C' +3C 2 +2)/4, if the comer outlier pixel is C and the difference between the pixels C and C 3 is less than 3QP/2; and compensating for the pixel D as D' by (4D+A+B+2C+4)/8, the pbcel O, as O ' by (D' +3Dj +2)/4, the pixel D 2 as D 2 ' by (D' +3D 2 +2)/4, if the comer outlier pixel is D and the difference between the pixels D and D 3 is less than 3QP/2.

Inventors: LEE YUNG LYUL, PARK HYUN WOOK, LEE, YUNG, LYUL, PARK, HYUN, WOOK
Applicants: KOREA INST SCIENCE TECHNOLOGY, LEE YUNG LYUL, PARK HYUN WOOK, SAMSUNG ELECTRONICS CO LTD, KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY, LEE, YUNG, LYUL, PARK, HYUN, WOOK, SAMSUNG ELECTRONICS CO., LTD.
Application year: 1998
Main classification: H04N
IPC codes: G06F17, H04N7