WO2004054268A1 - Method and apparatus for compressing and decompressing moving picture data - Google Patents

Method and apparatus for compressing and decompressing moving picture data Download PDF

Info

Publication number
WO2004054268A1
WO2004054268A1 PCT/KR2002/002324 KR0202324W WO2004054268A1 WO 2004054268 A1 WO2004054268 A1 WO 2004054268A1 KR 0202324 W KR0202324 W KR 0202324W WO 2004054268 A1 WO2004054268 A1 WO 2004054268A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixels
pixel
interpolation point
interpolation
neighbor
Prior art date
Application number
PCT/KR2002/002324
Other languages
French (fr)
Inventor
Kyung-Soo Rim
Original Assignee
Kyung-Soo Rim
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
Application filed by Kyung-Soo Rim filed Critical Kyung-Soo Rim
Priority to PCT/KR2002/002324 priority Critical patent/WO2004054268A1/en
Priority to AU2002353640A priority patent/AU2002353640A1/en
Priority to KR1020047002792A priority patent/KR100593486B1/en
Publication of WO2004054268A1 publication Critical patent/WO2004054268A1/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
    • 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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • 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/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • 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/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • H04N19/895Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder in combination with error concealment

Definitions

  • the present invention relates to a moving picture compression/decompression system, and more particularly to a method and apparatus for compressing/decompressing a moving image, which allows users to freely make video phone calls over even a low frequency band.
  • IMT International Mobile
  • a representative one of the mobile services is a RVP (Real-time Video Phone) .
  • the RVP has a built-in codec (coder/decoder) for compressing/decompressing high- speed data in such a way that it effectively reduces a large amount of the moving image data and transmits the reduced amount of moving image data to a reception end.
  • codec coder/decoder
  • a process for compressing/decompressing arbitrary data using such a codec is well known to the those skilled in the art, and an example thereof is shown in Figs. 1 ⁇ ,2.
  • a conventional moving picture compression process begins at step A for dividing original image data into many blocks as shown in Fig. 1. In this case, the original image data is typically divided into 8x8 pixel blocks.
  • the 8x8 blocks are respectively DCT (Discrete Cosine Transform) -processed at step B, such that DCT coefficients are generated.
  • the DCT coefficients are quantized by a quantizer at step C, and these quantized data are entropy-encoded according to a VLC (Variable Length Coding) and a Huffman Coding Algorithm at step D, thereby forming compressed coding data.
  • VLC Very Length Coding
  • Huffman Coding Algorithm thereby forming compressed coding data.
  • Such compressed coding data are transmittable over a very high speed network of 384Kbps.
  • Fig. 2 is a flow chart illustrating a process for decompressing coding data compressed by the process of Fig. 1.
  • the compressed coding data are entropy-decoded at step E such that quantized DCT coefficients are obtained.
  • the DCT coefficients are dequantized at step F such that original DCT coefficients are decompressed.
  • the decompressed DCT coefficients are IDCT (Inverse DCT) -processed at step G by an IDCT (Inverse Discrete Cosine Transform) module.
  • IDCT Inverse DCT
  • a block image composed of many IDCT blocks is reconstructed with original image data by a block image decompressor at step H.
  • a compression codec for processing a moving image uses a DCT process as a frequency transformation method
  • a compression scheme using the DCT process needs to transmit just one picture. Therefore, a RVP for establishing real-time video communication over a low-frequency band such as a PSTN (Public Switched Telephone Network) of 5 ⁇ kbps is unable to use the compression codec incorporating the DCT process therein.
  • the reason for disabling the compression codec using the DCT process is that a conventional compression method is unable to compress data down to less than 0.125bpp (bit per pixel) even though the data must be compressed down to less than 0.125bpp in order to establish the real-time video communication over the PSTN of 56kbps.
  • FIG. 3a is a view illustrating an original image of 8. Obpp (i.e., 64kbytes)
  • Fig. 3b is a view illustrating a decompressed image for which the original image is compressed down to O.l ⁇ bpp (i.e., 1362bytes) and then transmitted over a PSTN.
  • the present invention has been made in view of the above problems, and it is an object of the present invention to provide a method and apparatus for compressing/decompressing a moving image, which allows users to freely establish real-time video phone calls over even a low frequency band such as a PSTN. It is another object of the present invention to provide a method and apparatus for compressing/decompressing a moving image which performs pixel interpolation by detecting neighbor lines adjacent to a target pixel while decompressing compressed moving image in such a way that the number of lost lines is minimized in case of such pixel interpolation.
  • the above and other objects can be accomplished by the provision of a method for decompressing compressed block images for which an original image data is- divided into a plurality of square blocks and then reduced down to a specific-sized image, including the steps of: a) decompressing the reduced-sized block images by sequentially entropy- decoding, dequantizing, and IDCT-processing data of the compressed block images; b) detecting pixels diagonal to those of the decompressed blocks on the basis of blocks formed before an image reduction process, performing primary interpolation on each of the detected pixels, performing secondary interpolation on the remaining pixels other than the detected pixels, interpolating some pixels lost by the image reduction process, decompressing the square blocks; and c) reconstructing the original image data with the decompressed square blocks.
  • an apparatus for compressing/decompressing a moving image including: an encoder for removing some pixels from each block divided into a plurality of square blocks to reduce a size of each block, sequentially performing a DCT (Discrete Cosine Transform) function, quantization, and entropy- encoding on each reduced-sized block, and compressing original image data; a decoder having a block image decompressor for decompressing the reduced-sized blocks by sequentially performing entropy-decoding, dequantization, and IDCT (Inverse Discrete Cosine Transform) function on the compressed original image data, detecting pixels diagonal to those of the decompressed blocks on the basis of blocks formed before the image reduction process, performing primary interpolation on each of the detected pixels, performing secondary interpolation on the remaining pixels other than the detected pixels, interpolating some pixels lost by the image reduction process, and decompressing the square blocks; and an image reconstruction unit for reconstructing the original image data with the decompressed
  • DCT Discrete Cosine Transform
  • Fig. 1 is a flow chart illustrating a conventional moving image compression process
  • Fig. 2 is a flow chart illustrating a conventional moving image decompression process
  • Figs. 3a ⁇ 3b are views illustrating examples of a display image in case of using a RVP service over a low frequency band
  • Fig. 3a is an exemplary view illustrating an original image
  • Fig. 3b is an exemplary view illustrating a decompressed image for which the original image is compressed down to a prescribed level and then transmitted over a PSTN;
  • Fig. 4 is a view illustrating a block diagram of an apparatus for compressing/decompressing a moving image in accordance with a preferred embodiment of the present invention
  • Figs. 5a ⁇ 5c are views illustrating a procedure for reducing the size of an arbitrary divided block image through a moving image compression process in accordance with a preferred embodiment of the present invention
  • Fig. 6 is a view illustrating a primary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention
  • Fig. 7 is a view illustrating a secondary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention.
  • Fig. 8 is an exemplary view illustrating a decompressed image for which the original image is compressed down to a ⁇ prescribed level and then decompressed.
  • Fig. 4 is a view illustrating a block diagram of an apparatus for compressing/decompressing a moving image in accordance with a preferred embodiment of the present invention.
  • the system for compressing/decompressing a moving image includes a coding unit for compressing original image data, a decoding unit for decoding the compressed image data, and an image reconstruction unit for reconstructing the original image data with the decoded block images.
  • the image reconstruction unit may be contained in the decoding unit.
  • reference numerals 100, 102, 104, 106 and 108 are contained in the coding unit, and the remaining reference numerals are contained in the decoding unit.
  • An image block processor 100 receives the original image data, and divides pixels of the received image into successive square blocks. A representative one of such square-divided blocks is shown in Fig. 5a for the convenience of description and better understanding of the present invention.
  • Fig. 5a depicts an example of one 8x8-sized block image composed of 64 pixels.
  • a block image reduction module 102 removes some pixels from each block image divided by the image block processor 100 to reduce the size of the block image.
  • This process for removing some pixels from each block image is called a downsampling process, and therefore the block image reduction module 102 is able to reduce the size of each block image using the downsampling process.
  • An example of such reduced block is shown in Fig. 5c.
  • the divided block image shown in Fig. 5a is downsampled by a factor of 1/4 to form a smaller block shown in Fig. 5c.
  • Such a downsampling factor may be variable.
  • Fig. 5b depicts a plurality of positions X of pixels that are removed from the divided block image of Fig. 5a through the downsampling process.
  • each reduced block is DCT-processed, quantized, and entropy-encoded in such a way that the original image data is compressed.
  • a DCT module 104 performs a DCT function on each reduced block such that the reduced blocks are respectively converted from spatial domain data into frequency domain data, thereby creating DCT coefficients.
  • These DCT coefficients are quantized by a quantizer 106, and are entropy-encoded according to a VLC and Huffman Coding scheme via an entropy encoder 108 to create compressed coding data.
  • Such compressed coding data is transmitted to either a called party video phone or a remote monitoring system, etc., over a low frequency band such as a PSTN.
  • the decoding unit for receiving the compressed image data from the aforementioned coding unit and processing it, sequentially entropy-decodes it, dequantizes it, and finally performs an IDCT function on it, in such a way that the reduced blocks are primarily decompressed.
  • the decoding unit includes an entropy decoder 200, a dequantizer 202, and an IDCT module 204.
  • the entropy decoder 200 entropy-decodes the coded data to generate quantized DCT coefficients.
  • the dequantizer 202 dequantizes the quantized DCT coefficients to decompress the original DCT coefficients.
  • Such DCT coefficients are IDCT-processed by the IDCT module 204 such that reduced blocks shown in Fig. 5c are normally decompressed.
  • a plurality of decompressed blocks such as the aforementioned enter a block image decompressor 206, and thereby the block image are restored to the original blocks prior to performing the above image reduction process by the block image decompressor 206.
  • the block image decompressor 206 finds pixels diagonal to those of the decompressed blocks on the basis of initial blocks prior to performing the image reduction process, performs primary interpolation on each value of the detected pixels, and then performs secondary interpolation on the remaining pixels other than the detected pixels, such that the old pixels lost by the image reduction process are interpolated to decompress square blocks as shown in Fig. 5a.
  • Such a pixel interpolation process of the block image decompressor 206 will hereinafter be described with reference to Figs. 6-7.
  • the square blocks decompressed by the block image decompressor 206 are reconstructed with the original image data at a block image reconstruction module 208, such that the reconstructed original image data is displayed on a display screen.
  • a block image decompression process of the block image decompressor 206 will hereinafter be described with reference to Figs. 6 ⁇ 7.
  • Fig. 6 is a view illustrating a primary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention.
  • Fig. 7 is a view illustrating a secondary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention.
  • Fig. 6 is a view illustrating 8x8-sized blocks before the image reduction process.
  • Oblique-lined blocks respectively indicate pixels of 4x4-sized reduced blocks decompressed by the IDCT module 204.
  • each pixel of the decompressed blocks is spaced apart from other pixels by a predetermined interval of one pixel, thereby forming a diagonal line. Therefore, pixel points diagonal to those of the decompressed blocks are detected and corresponding pixels present on the detected points are primarily interpolated in accordance with a preferred embodiment of the present invention, such that interpolation on oblique-lined pixels is completed as shown in Fig. 7.
  • the primary interpolation used as an example in the present invention is adapted to establish line detection, and the secondary interpolation is adapted to detect a line and arc.
  • a mean value of pixels arranged in the direction of the least gray level difference among the four neighbor pixels diagonal to the pixel interpolation point A is set to a pixel value of an interpolation point.
  • the pixel value of A is ( ⁇ + ⁇ ) / 2 at a prescribed condition ⁇
  • a mean value of the neighbor pixels is set to a pixel value of an interpolation point.
  • the pixel interpolation point B may be set to ( ⁇ +®)/2
  • the other pixel interpolation point C may be set to (@+@)/2.
  • a value of the one neighbor pixel (16) is set to a pixel value of an interpolation point.
  • the present invention adapts a mean value of pixels having the least gray level difference among neighbor pixels, whereas a conventional method adapts a mean value of neighbor pixels of an interpolation point to perform a pixel interpolation, so that the present invention restores a more natural image using a pixel interpolation function based on a line detection scheme.
  • Fig. 7 An exemplary block image after the primary interpolation is shown in Fig. 7. Oblique-lined sections of Fig. 7 indicate decompressed pixels ' and primary-interpolated pixels.
  • a pixel point E shown in Fig. 6 may be interpolated as follows. Provided that more than 4 pixels having a pixel interpolation point such as E form one diagonal line, a mean value of the four neighbor pixels is set to a pixel value of the interpolation point when the gray level difference among pixels diagonal to the interpolation point E is below a threshold value.
  • a pixel value of E is ( ⁇ + ⁇ ) / 2 at a prescribed condition "
  • the pixel interpolation method for the point E should satisfy the following method such that there is no line interruption in such a pixel interpolation process.
  • pairs of pixels having the least gray level difference among pairs of neighbor pixels ( ⁇ , ⁇ , ⁇ , ⁇ ) and pairs of peripheral pixels ( ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ ) centering on the interpolation point E are detected and a mean value of the detected pixel pairs is set to a pixel value of the interpolation point.
  • the pairs of neighbor and peripheral pixels are ( ⁇ , ⁇ ), ( ⁇ , ⁇ ), ( ⁇ , ⁇ ), (®,@), ( ⁇ , ⁇ ), and ( ⁇ , ⁇ )).
  • the pixel interpolation method of the point E may be established with the following method.
  • a mean value of pixel pairs approximate to the interpolation point E may be set to a pixel value of the interpolation point. If pairs of neighbor and peripheral pixels centering on the interpolation point E have a proper gray level difference within a prescribed range, a mean value of four pixels approximate to the interpolation point E may be set to a pixel value of the interpolation point.
  • the block image decompressor 206 performs secondary interpolation as follows .
  • non-interpolation pixels remain after the primary interpolation has been completed, and such non-interpolation pixels are indicated as while blocks having no oblique-lined pixels.
  • a mean value of more than two pixels among many neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of the non-interpolation pixel is set to a pixel value of an interpolation point.
  • the number of neighbor pixels is determined according the following method.
  • a mean value of the 3 neighbor pixels arranged in three directions (i.e., right, left and bottom directions) of point A is calculated and set to a pixel value of point A.
  • a mean value of pixels having the least gray level difference between neighbor pixels i.e., ( ⁇ , ⁇ ), ( ⁇ , ⁇ ), and ( ⁇ , ⁇ )
  • the first method is preferably adapted to a high-speed mode
  • the second method is preferably adapted to a typical optimal mode.
  • 2 neighbor pixels are determined as shown in point B of Fig.
  • a mean value of the 2 neighbor pixels arranged in two directions (i.e., left and bottom directions) of point B is calculated and set to a pixel value of the point B.
  • a mean value of the 4 neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of point C is calculated and set to a pixel value of point C, but a mean value of pixels having the least gray level difference between neighbor pixels (i.e., (18,19) and (14, 22) of Fig. 7) may be set to a pixel value of the interpolation point C.
  • a mean value of four pixels 14, 18, 19, and 22 arranged in four directions (i.e., right, left, top and bottom directions) of point C may be set to a pixel value of the interpolation point C.
  • Another pixel interpolation method for point C may be adapted to perform secondary interpolation.
  • a pair of pixels having the least gray level difference among a plurality of pairs i.e., (14, 22), (18, 19), (15, 21), (10, 27), (13, 23), and (11,26)) of neighbor and peripheral pixels centering on the interpolation point C is found and a mean value of the found pair of pixels may be set to a pixel value of the interpolation point C.
  • Still another pixel interpolation method for the point C may be adapted to perform such a secondary interpolation.
  • an interpolation value of the point C may be obtained differently from the above secondary interpolation method, whereas each interpolation value of the points A and B can be obtained as described above. So, a detailed description thereof will hereinafter be described.
  • a mean value of a pair of pixels having the least gray level difference is set to an interpolation value of point C.
  • a gray level difference between the points 14 and 22 is similar to that between the points 11 and 26
  • a gray level difference between the points 14 and 22 is similar to that between the points 10 and 26
  • a gray level difference between the points 14 and 22 is similar to that between the points 10 and 27
  • the gray level difference between the points 14 and 22 is a minimum value such that a mean value of the two pixel points 14 and 22 may be set to an interpolation value of point C.
  • a block image reduced to a 4x4-sized image in a data compression process is restored to a 8x8- sized square block image formed before the data compression process, and the decompressed 8x8-sized block image is transmitted to the image reconstruction module 208.
  • the image reconstruction module 208 reconstructs the original image with a plurality of square blocks.
  • the present invention reduces the size of a divided block image down to a desired size and transmits the reduced image to a target object, such that it generates high-compression image data of below 0.125bpp over a low frequency band and transmits it over the same.
  • a reception end compares the gray level differences among neighbor and peripheral pixels of an interpolation point with one another, finds pixels having the least gray level difference among many gray level differences, and sets a mean value of the found pixels to an interpolation value of the interpolation point, thereby effectively reducing a gray level difference between an interpolation pixel interpolated by an image decompression process and its own neighbor pixel, resulting in more natural decompression of such compressed image in the image decompression process.
  • FIG. 8 is an exemplary view illustrating a decompressed image for which the original moving image is compressed down to 0.125bpp (i.e., 1022bytes) and then decompressed. In comparison with Fig. 3b, it is easily seen that the decompressed image of Fig. 8 looks much more natural than that of Fig. 3b.
  • the present invention divides moving image data into many block images, reduces the size of divided block image down to a desired size, compresses the reduced block images, and transmits it to a target object, such that it generates high-compression image data over a low frequency band and effectively transmits it over the same.
  • the reception end compares the gray level differences among neighbor and peripheral pixels of an interpolation point with one another, finds pixels having the least gray level difference among many gray level differences, and sets a mean value of the found pixels to an interpolation value of the interpolation point, thereby effectively reducing a gray level difference between an interpolation pixel interpolated by an image decompression process and its own neighbor pixel, resulting in more natural decompression of such compressed image in the image decompression process.
  • the present invention finds a position of an inclined line using a minimum function, and interpolates the found position, thereby minimizing the number of line interruptions caused by an interpolation process.
  • Such an interpolation method is very effective in an image decompression process for restoring arbitrary images composed of clear lines and edges as in animation images .
  • RVP Real-time Video Phone
  • DVR Digital Video Recorder

Landscapes

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

Abstract

A method and apparatus for compressing/decompressing a moving image allows users to freely make video phone calls over even a low frequency band, and performs pixel interpolation by detecting neighbor lines adjacent to a target pixel while decompressing compressed moving image in such a way that the number of lost lines is minimized in case of such pixel interpolation.

Description

METHOD AND APPARATUS FOR COMPRESSING AND DECOMPRESSING MOVING PICTURE DATA
Technical Field
The present invention relates to a moving picture compression/decompression system, and more particularly to a method and apparatus for compressing/decompressing a moving image, which allows users to freely make video phone calls over even a low frequency band.
Background Art
In recent times, there have been proposed a variety of mobile services as the IMT (International Mobile
Telecommunication) -2000 service has become commercially available. A representative one of the mobile services is a RVP (Real-time Video Phone) . The RVP has a built-in codec (coder/decoder) for compressing/decompressing high- speed data in such a way that it effectively reduces a large amount of the moving image data and transmits the reduced amount of moving image data to a reception end. A process for compressing/decompressing arbitrary data using such a codec is well known to the those skilled in the art, and an example thereof is shown in Figs. 1~,2. A conventional moving picture compression process begins at step A for dividing original image data into many blocks as shown in Fig. 1. In this case, the original image data is typically divided into 8x8 pixel blocks. Then, the 8x8 blocks are respectively DCT (Discrete Cosine Transform) -processed at step B, such that DCT coefficients are generated. The DCT coefficients are quantized by a quantizer at step C, and these quantized data are entropy-encoded according to a VLC (Variable Length Coding) and a Huffman Coding Algorithm at step D, thereby forming compressed coding data. Such compressed coding data are transmittable over a very high speed network of 384Kbps.
Fig. 2 is a flow chart illustrating a process for decompressing coding data compressed by the process of Fig. 1. Referring to Fig. 2, the compressed coding data are entropy-decoded at step E such that quantized DCT coefficients are obtained. The DCT coefficients are dequantized at step F such that original DCT coefficients are decompressed. The decompressed DCT coefficients are IDCT (Inverse DCT) -processed at step G by an IDCT (Inverse Discrete Cosine Transform) module. A block image composed of many IDCT blocks is reconstructed with original image data by a block image decompressor at step H. As stated above, although such a compression codec for processing a moving image uses a DCT process as a frequency transformation method, a compression scheme using the DCT process needs to transmit just one picture. Therefore, a RVP for establishing real-time video communication over a low-frequency band such as a PSTN (Public Switched Telephone Network) of 5βkbps is unable to use the compression codec incorporating the DCT process therein. The reason for disabling the compression codec using the DCT process is that a conventional compression method is unable to compress data down to less than 0.125bpp (bit per pixel) even though the data must be compressed down to less than 0.125bpp in order to establish the real-time video communication over the PSTN of 56kbps. A decompressed image of good quality similar to the original image is guaranteed only when -this compression condition of less than 0.125bpp is provided. Otherwise, if the data is not compressed down to less than 0.125bpp, such a decompressed image of good quality similar to the original image is not guaranteed. An example of a display image formed in case of using a RVP service over a low frequency band is shown in Figs. 3a~3b. Fig. 3a is a view illustrating an original image of 8. Obpp (i.e., 64kbytes), and Fig. 3b is a view illustrating a decompressed image for which the original image is compressed down to O.lββbpp (i.e., 1362bytes) and then transmitted over a PSTN. Provided that a RVP service is established over a low frequency band, it can be seen that a decompressed image is greatly degraded, as shown in Figs. 3a~3b.
In conclusion, in order to provide users with a RVP service over a low frequency band of 56kbps, it is necessary for a new algorithm to compress necessary data down to less than 0.125bpp and then decompress the compressed data.
Disclosure of the Invention
Therefore, the present invention has been made in view of the above problems, and it is an object of the present invention to provide a method and apparatus for compressing/decompressing a moving image, which allows users to freely establish real-time video phone calls over even a low frequency band such as a PSTN. It is another object of the present invention to provide a method and apparatus for compressing/decompressing a moving image which performs pixel interpolation by detecting neighbor lines adjacent to a target pixel while decompressing compressed moving image in such a way that the number of lost lines is minimized in case of such pixel interpolation.
In accordance with one aspect of the present invention, the above and other objects can be accomplished by the provision of a method for decompressing compressed block images for which an original image data is- divided into a plurality of square blocks and then reduced down to a specific-sized image, including the steps of: a) decompressing the reduced-sized block images by sequentially entropy- decoding, dequantizing, and IDCT-processing data of the compressed block images; b) detecting pixels diagonal to those of the decompressed blocks on the basis of blocks formed before an image reduction process, performing primary interpolation on each of the detected pixels, performing secondary interpolation on the remaining pixels other than the detected pixels, interpolating some pixels lost by the image reduction process, decompressing the square blocks; and c) reconstructing the original image data with the decompressed square blocks.
In accordance with another aspect of the present invention, there is provided an apparatus for compressing/decompressing a moving image including: an encoder for removing some pixels from each block divided into a plurality of square blocks to reduce a size of each block, sequentially performing a DCT (Discrete Cosine Transform) function, quantization, and entropy- encoding on each reduced-sized block, and compressing original image data; a decoder having a block image decompressor for decompressing the reduced-sized blocks by sequentially performing entropy-decoding, dequantization, and IDCT (Inverse Discrete Cosine Transform) function on the compressed original image data, detecting pixels diagonal to those of the decompressed blocks on the basis of blocks formed before the image reduction process, performing primary interpolation on each of the detected pixels, performing secondary interpolation on the remaining pixels other than the detected pixels, interpolating some pixels lost by the image reduction process, and decompressing the square blocks; and an image reconstruction unit for reconstructing the original image data with the decompressed square blocks.
Brief Description of the Drawings
The above and other objects, features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which: Fig. 1 is a flow chart illustrating a conventional moving image compression process;
Fig. 2 is a flow chart illustrating a conventional moving image decompression process; Figs. 3a~3b are views illustrating examples of a display image in case of using a RVP service over a low frequency band, and more particularly, Fig. 3a is an exemplary view illustrating an original image, and Fig. 3b is an exemplary view illustrating a decompressed image for which the original image is compressed down to a prescribed level and then transmitted over a PSTN;
Fig. 4 is a view illustrating a block diagram of an apparatus for compressing/decompressing a moving image in accordance with a preferred embodiment of the present invention;
Figs. 5a~5c are views illustrating a procedure for reducing the size of an arbitrary divided block image through a moving image compression process in accordance with a preferred embodiment of the present invention; Fig. 6 is a view illustrating a primary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention; Fig. 7 is a view illustrating a secondary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention; and
Fig. 8 is an exemplary view illustrating a decompressed image for which the original image is compressed down to a prescribed level and then decompressed.
Best Mode for Carrying Out the Invention
Now, preferred embodiments of the present invention will be described in detail with reference to the annexed drawings. In the drawings, the same or similar elements are denoted by the same reference numerals even though they are depicted in different drawings. In the following description, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.
Fig. 4 is a view illustrating a block diagram of an apparatus for compressing/decompressing a moving image in accordance with a preferred embodiment of the present invention. The system for compressing/decompressing a moving image includes a coding unit for compressing original image data, a decoding unit for decoding the compressed image data, and an image reconstruction unit for reconstructing the original image data with the decoded block images. The image reconstruction unit may be contained in the decoding unit. Referring to Fig. 4, reference numerals 100, 102, 104, 106 and 108 are contained in the coding unit, and the remaining reference numerals are contained in the decoding unit. An image block processor 100 receives the original image data, and divides pixels of the received image into successive square blocks. A representative one of such square-divided blocks is shown in Fig. 5a for the convenience of description and better understanding of the present invention. Fig. 5a depicts an example of one 8x8-sized block image composed of 64 pixels.
In the meantime, a block image reduction module 102 removes some pixels from each block image divided by the image block processor 100 to reduce the size of the block image. This process for removing some pixels from each block image is called a downsampling process, and therefore the block image reduction module 102 is able to reduce the size of each block image using the downsampling process. An example of such reduced block is shown in Fig. 5c. In accordance with a preferred embodiment of the present invention, it is assumed that the divided block image shown in Fig. 5a is downsampled by a factor of 1/4 to form a smaller block shown in Fig. 5c. Such a downsampling factor may be variable. For reference, Fig. 5b depicts a plurality of positions X of pixels that are removed from the divided block image of Fig. 5a through the downsampling process.
In this manner, in the case where the size of each divided block image is reduced by a desired block size at the block image reduction module 102, each reduced block is DCT-processed, quantized, and entropy-encoded in such a way that the original image data is compressed. In more detail, a DCT module 104 performs a DCT function on each reduced block such that the reduced blocks are respectively converted from spatial domain data into frequency domain data, thereby creating DCT coefficients. These DCT coefficients are quantized by a quantizer 106, and are entropy-encoded according to a VLC and Huffman Coding scheme via an entropy encoder 108 to create compressed coding data. Such compressed coding data is transmitted to either a called party video phone or a remote monitoring system, etc., over a low frequency band such as a PSTN.
Meanwhile, the decoding unit, for receiving the compressed image data from the aforementioned coding unit and processing it, sequentially entropy-decodes it, dequantizes it, and finally performs an IDCT function on it, in such a way that the reduced blocks are primarily decompressed. For this purpose, the decoding unit includes an entropy decoder 200, a dequantizer 202, and an IDCT module 204.
The entropy decoder 200 entropy-decodes the coded data to generate quantized DCT coefficients. The dequantizer 202 dequantizes the quantized DCT coefficients to decompress the original DCT coefficients. Such DCT coefficients are IDCT-processed by the IDCT module 204 such that reduced blocks shown in Fig. 5c are normally decompressed.
Thereafter, a plurality of decompressed blocks such as the aforementioned enter a block image decompressor 206, and thereby the block image are restored to the original blocks prior to performing the above image reduction process by the block image decompressor 206. In more detail, the block image decompressor 206 finds pixels diagonal to those of the decompressed blocks on the basis of initial blocks prior to performing the image reduction process, performs primary interpolation on each value of the detected pixels, and then performs secondary interpolation on the remaining pixels other than the detected pixels, such that the old pixels lost by the image reduction process are interpolated to decompress square blocks as shown in Fig. 5a. Such a pixel interpolation process of the block image decompressor 206 will hereinafter be described with reference to Figs. 6-7.
In the meantime, the square blocks decompressed by the block image decompressor 206 are reconstructed with the original image data at a block image reconstruction module 208, such that the reconstructed original image data is displayed on a display screen.
A block image decompression process of the block image decompressor 206 will hereinafter be described with reference to Figs. 6~7.
Fig. 6 is a view illustrating a primary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention. Fig. 7 is a view illustrating a secondary interpolation process for pixels lost by the moving image compression process through a moving image decompression process in accordance with a preferred embodiment of the present invention.
Fig. 6 is a view illustrating 8x8-sized blocks before the image reduction process. Oblique-lined blocks respectively indicate pixels of 4x4-sized reduced blocks decompressed by the IDCT module 204. As shown in Fig. 6, if pixels of the decompressed blocks are properly arranged in the blocks before the image reduction, each pixel of the decompressed blocks is spaced apart from other pixels by a predetermined interval of one pixel, thereby forming a diagonal line. Therefore, pixel points diagonal to those of the decompressed blocks are detected and corresponding pixels present on the detected points are primarily interpolated in accordance with a preferred embodiment of the present invention, such that interpolation on oblique-lined pixels is completed as shown in Fig. 7. If secondary interpolation is performed on the remaining pixels other than the oblique-lined pixels, pixels lost by the image reduction process are interpolated. The primary interpolation used as an example in the present invention is adapted to establish line detection, and the secondary interpolation is adapted to detect a line and arc.
The primary interpolation will hereinafter be described in more detail with reference to Fig. 6.
In the case where pixel points diagonal to those of blocks decompressed by the IDCT module 204 are detected, three kinds of similar patterns are mainly provided, i.e., a first similar pattern having 4 neighbor pixels in a direction diagonal to an arbitrary pixel interpolation point such as a reference character A, a second similar pattern having 2 neighbor pixels at an arbitrary pixel interpolation point such as reference characters C~D, and a third similar pattern having just one neighbor pixel at an arbitrary pixel interpolation point.
In accordance with the present invention, if 4 neighbor pixels exist in the diagonal direction of the pixel interpolation point A in case of the primary interpolation, a mean value of pixels arranged in the direction of the least gray level difference among the four neighbor pixels diagonal to the pixel interpolation point A is set to a pixel value of an interpolation point. In case of representing such a primary interpolation as a numerical formula, the pixel value of A is (φ+©) / 2 at a prescribed condition Λ | Φ-©| < | ©- ©| ", and the other pixel value of A is (©+©) /2 at the remaining cases other than the above-prescribed condition.
Meanwhile, if two neighbor pixels exist in the diagonal direction of the pixel interpolation points B~C, a mean value of the neighbor pixels is set to a pixel value of an interpolation point. Namely, the pixel interpolation point B may be set to (©+®)/2, and the other pixel interpolation point C may be set to (@+@)/2. And, if just one neighbor pixel (16) exists in the diagonal direction of a pixel interpolation point D, a value of the one neighbor pixel (16) is set to a pixel value of an interpolation point.
In order words, the present invention adapts a mean value of pixels having the least gray level difference among neighbor pixels, whereas a conventional method adapts a mean value of neighbor pixels of an interpolation point to perform a pixel interpolation, so that the present invention restores a more natural image using a pixel interpolation function based on a line detection scheme.
If all the pixels for forming a diagonal line of a previous block ahead of an image reduction process are interpolated according to the aforesaid three patterns, then the primary interpolation according to the preferred embodiment of the present invention is completed. An exemplary block image after the primary interpolation is shown in Fig. 7. Oblique-lined sections of Fig. 7 indicate decompressed pixels ' and primary-interpolated pixels.
A pixel point E shown in Fig. 6 may be interpolated as follows. Provided that more than 4 pixels having a pixel interpolation point such as E form one diagonal line, a mean value of the four neighbor pixels is set to a pixel value of the interpolation point when the gray level difference among pixels diagonal to the interpolation point E is below a threshold value. In case of representing such interpolation as a numerical formula, a pixel value of E is (©+©) / 2 at a prescribed condition "| ©-@| < | ®-©| ", other pixel value of E is (©+©) / 2 at a prescribed condition | ©-@| > | ©- ©I ", and other pixel value of E is (©+©+©+©) / 4 at a prescribed condition λλ | ©-@| =| ©-©| ".
Provided that the compressed image is very sensitive to line information as in animation image, the pixel interpolation method for the point E should satisfy the following method such that there is no line interruption in such a pixel interpolation process. In other words, provided that more than 4 pixels having a pixel interpolation point such as E form one diagonal line, pairs of pixels having the least gray level difference among pairs of neighbor pixels (©,©,©,©) and pairs of peripheral pixels (©,©,©,©,©,©) centering on the interpolation point E are detected and a mean value of the detected pixel pairs is set to a pixel value of the interpolation point. The pairs of neighbor and peripheral pixels are (©,©), (©,©), (©,©), (®,@), (©,©), and (©,©)).
Furthermore, the pixel interpolation method of the point E may be established with the following method. In the case where many pixel pairs each having a prescribed gray level difference within a prescribed range are contained in the pairs of neighbor and peripheral pixels centering on an interpolation point such as point E, a mean value of pixel pairs approximate to the interpolation point E may be set to a pixel value of the interpolation point. If pairs of neighbor and peripheral pixels centering on the interpolation point E have a proper gray level difference within a prescribed range, a mean value of four pixels approximate to the interpolation point E may be set to a pixel value of the interpolation point.
In the case where such a primary interpolation is established as described above, the block image decompressor 206 performs secondary interpolation as follows .
Firstly, 32 non-interpolation pixels remain after the primary interpolation has been completed, and such non-interpolation pixels are indicated as while blocks having no oblique-lined pixels. In case of such non- interpolation pixels, a mean value of more than two pixels among many neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of the non-interpolation pixel is set to a pixel value of an interpolation point. In this case, the number of neighbor pixels is determined according the following method.
In the case where 3 neighbor pixels are determined as shown in a point A of Fig. 7, two methods are available. In a first method, a mean value of the 3 neighbor pixels arranged in three directions (i.e., right, left and bottom directions) of point A is calculated and set to a pixel value of point A. In a second method, a mean value of pixels having the least gray level difference between neighbor pixels (i.e., (©,©), (Φ,©), and (©,©)) may be set to a pixel value of the interpolation point A. The first method is preferably adapted to a high-speed mode, and the second method is preferably adapted to a typical optimal mode. In the case where 2 neighbor pixels are determined as shown in point B of Fig. 7, a mean value of the 2 neighbor pixels arranged in two directions (i.e., left and bottom directions) of point B is calculated and set to a pixel value of the point B. Also, in the case where 4 neighbor pixels are determined as shown in point C of Fig. 7, a mean value of the 4 neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of point C is calculated and set to a pixel value of point C, but a mean value of pixels having the least gray level difference between neighbor pixels (i.e., (18,19) and (14, 22) of Fig. 7) may be set to a pixel value of the interpolation point C. If the gray level difference between the top and bottom neighbor pixels of point C and the gray level difference between the right and left neighbor pixels of point C are all contained in a prescribed range, that is, if the gray level difference between vertical neighbor pixels of point C and the gray level difference between horizontal neighbor pixels of point C are similar to each other, a mean value of four pixels 14, 18, 19, and 22 arranged in four directions (i.e., right, left, top and bottom directions) of point C may be set to a pixel value of the interpolation point C.
Another pixel interpolation method for point C may be adapted to perform secondary interpolation. In more detail, a pair of pixels having the least gray level difference among a plurality of pairs (i.e., (14, 22), (18, 19), (15, 21), (10, 27), (13, 23), and (11,26)) of neighbor and peripheral pixels centering on the interpolation point C is found and a mean value of the found pair of pixels may be set to a pixel value of the interpolation point C.
Still another pixel interpolation method for the point C may be adapted to perform such a secondary interpolation. In more detail, an interpolation value of the point C may be obtained differently from the above secondary interpolation method, whereas each interpolation value of the points A and B can be obtained as described above. So, a detailed description thereof will hereinafter be described.
In a first method for calculating the interpolation value of point C, in the case where a pair of pixels having the least gray level difference among a plurality of pairs (i.e., 14 and 22, 18 and 19, 15 and 21, 10 and 27, 13 and 23, and 11 and 26) of pixels centering on the interpolation point C is found, and an absolute gray level difference value of the found pair of pixels is much less than those of other pairs of pixels, a mean value of a pair of pixels having the least gray level difference is set to an interpolation value of point C.
In a second method for calculating the interpolation value of point C, in the case where a plurality of pairs
(i.e., (14, 22), (18, 19), (15, 21), (10, 27), (13, 23), and (11, 26)) of pixels centering on the interpolation point C have similar gray level differences to one another, a mean value of pixels 14, 18, 19 and 22 in the vicinity of point C is set to an interpolation value of point C.
In a third method for calculating the interpolation value of point C, in the case where a gray level difference between the points 14 and 22 is similar to that between the points 11 and 26, a gray level difference between the points 14 and 22 is similar to that between the points 10 and 26, or a gray level difference between the points 14 and 22 is similar to that between the points 10 and 27, it is assumed that the gray level difference between the points 14 and 22 is a minimum value such that a mean value of the two pixel points 14 and 22 may be set to an interpolation value of point C.
If the secondary interpolation is completed as described above, a block image reduced to a 4x4-sized image in a data compression process is restored to a 8x8- sized square block image formed before the data compression process, and the decompressed 8x8-sized block image is transmitted to the image reconstruction module 208. The image reconstruction module 208 reconstructs the original image with a plurality of square blocks.
As stated above, the present invention reduces the size of a divided block image down to a desired size and transmits the reduced image to a target object, such that it generates high-compression image data of below 0.125bpp over a low frequency band and transmits it over the same. A reception end compares the gray level differences among neighbor and peripheral pixels of an interpolation point with one another, finds pixels having the least gray level difference among many gray level differences, and sets a mean value of the found pixels to an interpolation value of the interpolation point, thereby effectively reducing a gray level difference between an interpolation pixel interpolated by an image decompression process and its own neighbor pixel, resulting in more natural decompression of such compressed image in the image decompression process. Fig. 8 is an exemplary view illustrating a decompressed image for which the original moving image is compressed down to 0.125bpp (i.e., 1022bytes) and then decompressed. In comparison with Fig. 3b, it is easily seen that the decompressed image of Fig. 8 looks much more natural than that of Fig. 3b.
Industrial Applicability
As apparent from the above description, the present invention divides moving image data into many block images, reduces the size of divided block image down to a desired size, compresses the reduced block images, and transmits it to a target object, such that it generates high-compression image data over a low frequency band and effectively transmits it over the same. In addition, in case of interpolating the received compressed data and restoring it at a reception end, the reception end compares the gray level differences among neighbor and peripheral pixels of an interpolation point with one another, finds pixels having the least gray level difference among many gray level differences, and sets a mean value of the found pixels to an interpolation value of the interpolation point, thereby effectively reducing a gray level difference between an interpolation pixel interpolated by an image decompression process and its own neighbor pixel, resulting in more natural decompression of such compressed image in the image decompression process.
The aforesaid advantages make it possible to enable baseband transmission/reception (i.e., PSTN image data process) .
Furthermore, in case of interpolating compressed data, the present invention finds a position of an inclined line using a minimum function, and interpolates the found position, thereby minimizing the number of line interruptions caused by an interpolation process. Such an interpolation method is very effective in an image decompression process for restoring arbitrary images composed of clear lines and edges as in animation images . Although the present invention has been described in connection with specific preferred embodiments, those skilled in the art will appreciate that various modifications, additions, and substitutions to the specific elements are possible, without departing from the scope and spirit of the present invention as disclosed in the accompanying claims. For example, although the present invention adapts a RVP (Real-time Video Phone) as an example for the convenience of description, it is also applicable to a home automation over a PSTN or a household DVR (Digital Video Recorder) . Therefore, the scope and spirit of the present invention should be defined as disclosed in the accompanying claims .

Claims

Claims :
1. A method for decompressing compressed block images for which an original image data is divided into a plurality of square blocks and then reduced down to a specific-sized image, comprising the steps of: a) decompressing the reduced-sized block images by sequentially entropy-decoding, dequantizing, and IDCT- processing data of the compressed block images; b) detecting pixels diagonal to those of the decompressed blocks on the basis of blocks formed before an image reduction process, performing primary interpolation on each of the detected pixels, performing secondary interpolation on the remaining pixels other than the detected pixels, interpolating some pixels lost by the image reduction process, and decompressing the square blocks; and c) reconstructing the original image data with the decompressed square blocks.
2. The method as set forth in claim 1, wherein: the primary interpolation includes the steps of: al) in case of four neighbor pixels arranged in a direction diagonal to a pixel interpolation point, setting a mean value of pixels arranged in the direction of the least gray level difference among the neighbor pixels diagonal to the interpolation point of the four neighbor pixels to a pixel value of the pixel interpolation point; bl) in case of two neighbor pixels in a direction diagonal to a pixel interpolation point, setting a mean value of the two neighbor pixels to a pixel value of the pixel interpolation point; and cl) in case of one neighbor pixel in a direction diagonal to a pixel interpolation point, setting a value of the one neighbor pixel value to a pixel value of the pixel interpolation point, and the secondary interpolation includes the step of: dl) setting a mean value of at least two pixels among pixels arranged in four directions (i.e., right, left, top and bottom directions) of a pixel interpolation point to a pixel value of the pixel interpolation point.
3. The method as set forth in claim 2, wherein the primary interpolation further includes the step of: if more than four pixels having the pixel interpolation point form one diagonal line and the gray level difference among pixels diagonal to the interpolation point is below a threshold value, setting a mean value of the four neighbor pixels to a pixel value of the interpolation point.
4. The method as set forth in claim 3, wherein the primary interpolation further includes the steps of: if more than four pixels having a pixel interpolation point form one diagonal line, detecting pairs of pixels having the least gray level difference among pairs of neighbor and peripheral pixels centering on the pixel interpolating point, and setting a mean value of the detected pairs of pixels to a pixel value of the interpolation point.
5. The method as set forth in claim 4, wherein the primary interpolation further includes the step of: if there are many pixel pairs of a prescribed gray level difference within a prescribed range in the pairs of neighbor and peripheral pixels centering on the interpolation point, setting a mean value of pixel pairs approximate to the interpolation point to a pixel value of the interpolation point.
6. The method as set forth in claim 5, wherein the primary interpolation further includes the step of: if pairs of neighbor and peripheral pixels centering on the interpolation point have a predetermined gray level difference within a prescribed range, setting a mean value of four pixels approximate to the interpolation point to a pixel value of the interpolation point .
7. The method as set forth in claims 2 or 6, wherein the secondary interpolation further includes the step of: in case of performing the secondary interpolation using a mean value of neighbor pixels arranged in three directions (i.e., right, left and bottom directions) of a pixel interpolation point, setting a mean value of pixels having the least gray level difference among the neighbor pixels to a pixel value of the interpolation point.
8. The method as set forth in claims 2 or 6, wherein the secondary interpolation further includes the step of: in case of performing the secondary interpolation using a mean value of neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of an interpolation point, setting a mean value of pixels having the less one of vertical and horizontal gray level differences to a pixel value of the interpolation point.
9. The method as set forth in claim 8, wherein the secondary interpolation further includes the step of: if the vertical or horizontal gray level difference is within a prescribed range, setting a mean value of neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of an interpolation point to a pixel value of the interpolation point.
10. The method as set forth in claims 2 or 6, wherein the secondary interpolation further includes the step of: finding a pair of pixels having the least gray level difference among pairs of neighbor and peripheral pixels centering on an interpolation point, and setting a mean value of the found pair of pixels to a pixel value of the interpolation point.
11. A method for compressing/decompressing a moving image in a video phone, comprising the steps of: a) removing some pixels from each block divided into a plurality of square blocks to reduce a size of each block, sequentially performing a DCT (Discrete Cosine Transform) function, quantization, and entropy- encoding on each reduced-sized block, and compressing original image data; b) decompressing the reduced-sized blocks by sequentially performing entropy-decoding, dequantization, and IDCT (Inverse Discrete Cosine Transform) function on the compressed original image data, detecting pixels diagonal to those of the decompressed blocks on the basis of blocks formed before the image reduction process, performing primary interpolation on each of the detected pixels, performing secondary interpolation on the remaining pixels other than the detected pixels, interpolating some pixels lost by the image reduction process, and decompressing the square blocks; and c) reconstructing the original image data with the decompressed square blocks.
12. The method as set forth in claim 11, wherein the primary interpolation includes the steps of: al) in case of four neighbor pixels arranged in a direction diagonal to a pixel interpolation point, setting a mean value of pixels arranged in the direction of the least gray level difference among the neighbor pixels diagonal to the interpolation point of the four neighbor pixels to a pixel value of the pixel interpolation point; bl) in case of two neighbor pixels in a direction diagonal to a pixel interpolation point, setting a mean value of the two neighbor pixels to a pixel value of the pixel interpolation point; and cl) in case of one neighbor pixel in a direction diagonal to a pixel interpolation point, setting a value of the one neighbor pixel value to a pixel value of the pixel interpolation point, and the secondary interpolation includes the step of: dl) setting a mean value of at least two pixels among pixels arranged in four directions (i.e., right, left, top and bottom directions) of a pixel interpolation point to a pixel value of the pixel interpolation point.
13. The method as set forth in claim 12, wherein the primary interpolation further includes the step of: if more than four pixels having the pixel interpolation point form one diagonal line and the gray level difference among pixels diagonal to the interpolation point is below a threshold value, setting a mean value of the four neighbor pixels to a pixel value of the interpolation point.
14. The method as set forth in claim 13, wherein the primary interpolation further includes the steps of: if more than four pixels having a pixel interpolation point form one diagonal line, detecting pairs of pixels having the least gray level difference among pairs of neighbor and peripheral pixels centering on the pixel interpolating point, and setting a mean value of the detected pairs of pixels to a pixel value of the interpolation point.
15. The method as set forth in claim 14, wherein the primary interpolation further includes the step of: if there are many pixel pairs of a prescribed gray level difference within a prescribed range in the pairs of neighbor and peripheral pixels centering on the interpolation point, setting a mean value of pixel pairs approximate to the interpolation point to a pixel value of the interpolation point.
16. The method as set forth in claim 15, wherein the primary interpolation further includes the step of: if pairs of neighbor and peripheral pixels centering on the interpolation point have a predetermined gray level difference within a prescribed range, setting a mean value of four pixels approximate to the interpolation point to a pixel value of the interpolation point .
17. The method as set forth in claims 12 or 16, wherein the secondary interpolation further includes the step of: in case of performing the secondary interpolation using a mean value of neighbor pixels arranged in three directions (i.e., right, left and bottom directions) of a pixel interpolation point, setting a mean value of pixels having the least gray level difference among the neighbor pixels to a pixel value of the interpolation point.
18. The method as set forth in claim 12 or 16, wherein the secondary interpolation further includes the step of: in case of performing the secondary interpolation using a mean value of neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of an interpolation point, setting a mean value of pixels having the less one of vertical and horizontal gray level differences to a pixel value of the interpolation point. 2324
19. The method as set forth in claim 18, wherein the secondary interpolation further includes the step of: if the vertical or horizontal gray level difference is within a prescribed range, setting a mean value of neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of an interpolation point to a pixel value of the interpolation point.
20. The method as set forth in claims 12 or 16, wherein the secondary interpolation further includes the step of: finding a pair of pixels having the least gray level difference among pairs of neighbor and peripheral pixels centering on an interpolation point, and setting a mean value of the found pair of pixels to a pixel value of the interpolation point.
21. An apparatus for compressing/decompressing a moving image comprising: an encoder for removing some pixels from each block divided into a plurality of square blocks to reduce a size of each block, sequentially performing a DCT (Discrete Cosine Transform) function, quantization, and entropy-encoding on each reduced-sized block, and compressing original image data; a decoder having a block image decompressor for decompressing the reduced-sized blocks by sequentially performing entropy-decoding, dequantization, and IDCT (Inverse Discrete Cosine Transform) functions on the compressed original image data, detecting pixels diagonal to those of the decompressed blocks on the basis of blocks formed before the image reduction process, performing primary interpolation on each of the detected pixels, performing secondary interpolation on the remaining pixels other than the detected pixels, interpolating some pixels lost by the image reduction process, and decompressing the square blocks; and an image- reconstruction unit for reconstructing the original image data with the decompressed square blocks.
22. The apparatus as set forth in claim 21, wherein the block image decompressor includes the steps of: al) in case of four neighbor pixels arranged in a direction diagonal to a pixel interpolation point, setting a mean value of pixels arranged in the direction of the least gray level difference among the neighbor pixels diagonal to the interpolation point of the four neighbor pixels to a pixel value of the pixel interpolation point; bl) in case of two neighbor pixels in a direction diagonal to a pixel interpolation point, setting a mean value of the two neighbor pixels to a pixel value of the pixel interpolation point; and cl) in case of one neighbor pixel in a direction diagonal to a pixel interpolation point, setting a value of the one neighbor pixel value to a pixel value of the pixel interpolation point, whereby said block image decompressor selectively executes one of the steps (al)~(cl) to perform the primary interpolation, and the block image decompressor further includes the step of: dl) setting a mean value of at least two pixels among pixels arranged in four directions (i.e., right, left, top and bottom directions) of a pixel interpolation point to a pixel value of the pixel interpolation point, whereby said block image decompressor executes the secondary interpolation.
23. The apparatus as set forth in claim 22, wherein the block image decompressor, when more than four pixels having the pixel interpolation point form one diagonal line and the gray level difference among pixels diagonal to the interpolation point is below a threshold value, sets a mean value of the four neighbor pixels to a pixel value of the interpolation point.
24. The apparatus as set forth in claim 23, wherein the block image decompressor, when more than four pixels having a pixel interpolation point form one diagonal line, detects pairs of pixels having the least gray level difference among pairs of neighbor and peripheral pixels centering on the pixel interpolating point, and sets a mean value of the detected pairs of pixels to a pixel value of the interpolation point.
25. The apparatus as set forth in claim 24, wherein the block image decompressor, when there are many pixel pairs of a prescribed gray level difference within a prescribed range in the pairs of neighbor and peripheral pixels centering on the interpolation point, sets a mean value of pixel pairs approximate to the interpolation point to a pixel value of the interpolation point.
26. The apparatus as set forth in claim 25, wherein the block image decompressor, when pairs of neighbor and peripheral pixels centering on the interpolation point have a predetermined gray level difference within a prescribed range, sets a mean value of four pixels approximate to the interpolation point to a pixel value of the interpolation point.
27. The apparatus as set forth in claims 22 or 26, wherein the block image decompressor, in case of performing the secondary interpolation using a mean value of neighbor pixels arranged in three directions (i.e., right, left and bottom directions) of a pixel interpolation point, sets a mean value of pixels having the least gray level difference among the neighbor pixels to a pixel value of the interpolation point.
28. The apparatus as set forth in claim 22 or 26, wherein the block image decompressor, in case of performing the secondary interpolation using a mean value of neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of an interpolation point, sets a mean value of pixels having the less one of vertical and horizontal gray level differences to a pixel value of the interpolation point.
29. The apparatus as set forth in claim 28, wherein the block image decompressor, when the vertical or horizontal gray level difference is within a prescribed range, sets a mean value of neighbor pixels arranged in four directions (i.e., right, left, top and bottom directions) of an interpolation point to a pixel value of the interpolation point.
30. The apparatus as set forth in claim 22 or 26, wherein the block image decompressor finds a pair of pixels having the least gray level difference among pairs of neighbor and peripheral pixels centering on an interpolation point, and sets a mean value of the found pair of pixels to a pixel value of the interpolation point.
PCT/KR2002/002324 2002-12-10 2002-12-10 Method and apparatus for compressing and decompressing moving picture data WO2004054268A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/KR2002/002324 WO2004054268A1 (en) 2002-12-10 2002-12-10 Method and apparatus for compressing and decompressing moving picture data
AU2002353640A AU2002353640A1 (en) 2002-12-10 2002-12-10 Method and apparatus for compressing and decompressing moving picture data
KR1020047002792A KR100593486B1 (en) 2002-12-10 2002-12-10 Video Compression and Restoration Method and Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/KR2002/002324 WO2004054268A1 (en) 2002-12-10 2002-12-10 Method and apparatus for compressing and decompressing moving picture data

Publications (1)

Publication Number Publication Date
WO2004054268A1 true WO2004054268A1 (en) 2004-06-24

Family

ID=32501280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2002/002324 WO2004054268A1 (en) 2002-12-10 2002-12-10 Method and apparatus for compressing and decompressing moving picture data

Country Status (3)

Country Link
KR (1) KR100593486B1 (en)
AU (1) AU2002353640A1 (en)
WO (1) WO2004054268A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572665A (en) * 2019-09-24 2019-12-13 中国人民解放军国防科技大学 Static background video self-adaptive compression method based on background subtraction
CN112235642A (en) * 2020-10-15 2021-01-15 北京百度网讯科技有限公司 Video data processing method, device, equipment and storage medium
US11825106B2 (en) 2006-08-31 2023-11-21 Ati Technologies Ulc Texture decompression techniques

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100966494B1 (en) 2009-12-01 2010-06-29 동국대학교 산학협력단 Method and apparatus for image data reduction using adaptive representative value, and recording medium thereof
KR101805550B1 (en) 2010-11-29 2017-12-07 주식회사 케이티 Image data encoding method for presentation virtualization and server therefor
KR101984825B1 (en) * 2012-10-05 2019-05-31 삼성전자주식회사 Method and Apparatus for Encoding a Cloud Display Screen by Using API Information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5703965A (en) * 1992-06-05 1997-12-30 The Regents Of The University Of California Image compression/decompression based on mathematical transform, reduction/expansion, and image sharpening
US5798795A (en) * 1996-03-01 1998-08-25 Florida Atlantic University Method and apparatus for encoding and decoding video signals
US6295322B1 (en) * 1998-07-09 2001-09-25 North Shore Laboratories, Inc. Processing apparatus for synthetically extending the bandwidth of a spatially-sampled video image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5703965A (en) * 1992-06-05 1997-12-30 The Regents Of The University Of California Image compression/decompression based on mathematical transform, reduction/expansion, and image sharpening
US5798795A (en) * 1996-03-01 1998-08-25 Florida Atlantic University Method and apparatus for encoding and decoding video signals
US6295322B1 (en) * 1998-07-09 2001-09-25 North Shore Laboratories, Inc. Processing apparatus for synthetically extending the bandwidth of a spatially-sampled video image

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HO YOUNG LEE: "Efficient Scan conversion with Edge Enhancement and its VLSI Architecture", PROCEEDING OF THE IEEE REGION 10 CONFERENCE, vol. 1, 15 September 1999 (1999-09-15) - 17 September 1999 (1999-09-17), pages 131 - 134 *
HU J.: "Removal of Blocking and Ringing Artifacts in Transform Coded Images", IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, vol. 4, 21 April 1997 (1997-04-21) - 24 April 1997 (1997-04-24), pages 2565 - 2568, XP010225679, DOI: doi:10.1109/ICASSP.1997.595312 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11825106B2 (en) 2006-08-31 2023-11-21 Ati Technologies Ulc Texture decompression techniques
US11843793B2 (en) 2006-08-31 2023-12-12 Ati Technologies Ulc Texture decompression techniques
CN110572665A (en) * 2019-09-24 2019-12-13 中国人民解放军国防科技大学 Static background video self-adaptive compression method based on background subtraction
CN112235642A (en) * 2020-10-15 2021-01-15 北京百度网讯科技有限公司 Video data processing method, device, equipment and storage medium
CN112235642B (en) * 2020-10-15 2023-03-24 北京百度网讯科技有限公司 Video data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
KR20040072612A (en) 2004-08-18
KR100593486B1 (en) 2006-06-30
AU2002353640A1 (en) 2004-06-30

Similar Documents

Publication Publication Date Title
EP1113672A2 (en) Quantization matrix for still and moving picture coding
JP2003521178A (en) Quality-based image compression
JP4440392B2 (en) Compressed video data decoding method and apparatus
US9516316B2 (en) VLC coefficient coding for large chroma block
MXPA04006814A (en) Coding dynamic filters.
JP2000504911A (en) Facsimile compliant image compression method and system
EP0680217B1 (en) Video signal decoding apparatus capable of reducing blocking effects
WO2001045424A1 (en) Reducing &#39;blocky picture&#39; effects
US9338456B2 (en) Coding syntax elements using VLC codewords
KR102321895B1 (en) Decoding apparatus of digital video
US7712119B1 (en) Multimedia communication terminal
JP2010538575A (en) Alternative entropy coding method
WO2004054268A1 (en) Method and apparatus for compressing and decompressing moving picture data
US6917648B1 (en) Encoder and decoder for moving picture
KR100198986B1 (en) Motion compensation apparatus for improving a blocking effect
JP7118604B2 (en) Video encoding device, video decoding device and program
JP2003535496A (en) Method and apparatus for encoding or decoding an image sequence
KR100627494B1 (en) Moving picture encoder and method for c0ding moving picture using the same
JPH08251418A (en) Block distortion reduction device and reduction method
JP7323685B2 (en) Video decoding device and program
JPH08191444A (en) Video signal decoder
US5917946A (en) Method and apparatus for encoding an image signal having an object by using the shape thereof
US20070274397A1 (en) Algorithm for Reducing Artifacts in Decoded Video
JP2860016B2 (en) Interframe coding of image signal
KR100312418B1 (en) Intra mode code selection method in video coder

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 1020047002792

Country of ref document: KR

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SK SL TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR IE IT LU MC NL PT SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Ref document number: JP