KR100390813B1 - Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same - Google Patents

Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same Download PDF

Info

Publication number
KR100390813B1
KR100390813B1 KR10-2001-0029625A KR20010029625A KR100390813B1 KR 100390813 B1 KR100390813 B1 KR 100390813B1 KR 20010029625 A KR20010029625 A KR 20010029625A KR 100390813 B1 KR100390813 B1 KR 100390813B1
Authority
KR
South Korea
Prior art keywords
video signal
digital television
unit
units
motion
Prior art date
Application number
KR10-2001-0029625A
Other languages
Korean (ko)
Other versions
KR20020090664A (en
Inventor
이동호
이원백
안상준
Original Assignee
주식회사 하이닉스반도체
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 주식회사 하이닉스반도체 filed Critical 주식회사 하이닉스반도체
Priority to KR10-2001-0029625A priority Critical patent/KR100390813B1/en
Publication of KR20020090664A publication Critical patent/KR20020090664A/en
Application granted granted Critical
Publication of KR100390813B1 publication Critical patent/KR100390813B1/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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • H04N19/426Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
    • 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/124Quantisation
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • 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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]

Landscapes

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

Abstract

본 발명은 하드웨의 메모리를 반으로 줄이며 보간 방법을 통해 화질의 열화를 방지할 수 있는 디지탈 텔레비젼의 비디오 디코딩 장치 및 방법을 제공하기 위한 것으로, 이를 위해 본 발명의 비디오 디코딩 방법은, 디지탈 텔레비젼 비트스트림을 가변 길이 디코딩하여 움직임 벡터와 양자화 값 및 계수로 분리하는 제1 단계; 상기 계수를 상기 양자화 값에 따라 역양자화는 제2 단계; 상기 역양자화된 계수를 8 * 8 블럭 단위의 영상신호로 역이산여현변환하는 제3 단계; 상기 8 * 8 블럭 단위의 영상신호와 움직임 보상된 영상신호를 가산하는 제4 단계; 상기 제4 단계를 거친 영상신호를 프레임 단위로 변환하여 저장하는 제5 단계; 상기 제5 단계를 거친 영상신호를 라인 단위의 영상신호로 변환하여 출력하는 제6 단계; 상기 제4 단계를 거친 영상신호의 크기를 절반으로 추림하는 제7 단계; 상기 추림된 영상신호를 프레임 단위로 변환하여 저장하는 제8 단계; 상기 제8 단계를 거친 영상신호를 움직임 보상을 위해 원래의 크기로 보간하는 제9 단계; 및 상기 움직임 벡터에 따라 상기 제9 단계를 거친 영상신호를 움직임 보상하여 상기 제4 단계를 반복 실행하는 제10 단계를 포함한다.The present invention provides a video decoding apparatus and method for digital television, which can reduce the memory of the hardware in half and prevent deterioration of image quality through an interpolation method. To this end, the video decoding method of the present invention is a digital television bit. Variable length decoding the stream to separate the motion vector into quantized values and coefficients; Inverse quantization of the coefficient according to the quantization value; A third step of inverse discrete cosine transforming the dequantized coefficients into an image signal of 8 * 8 block units; Adding a video signal of the 8 * 8 block unit and a motion compensated video signal; A fifth step of converting and storing the video signal passed through the fourth step in units of frames; A sixth step of converting the video signal passed through the fifth step into a video signal in a line unit; A seventh step of deducting the magnitude of the video signal passed through the fourth step in half; An eighth step of converting the condensed video signal in units of frames and storing the converted video signal; A ninth step of interpolating the video signal passed through the eighth step to its original size for motion compensation; And a tenth step of repeatedly performing the fourth step by motion compensating the video signal having passed through the ninth step according to the motion vector.

또한, 본 발명은 상기와 같은 방법을 위한 디지탈 텔레비젼 비디오 디코딩 장치를 제공한다.The present invention also provides a digital television video decoding apparatus for such a method.

Description

하드웨어의 메모리를 절반으로 줄인 디지탈 텔레비젼 비디오 디코딩 장치 및 방법{Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same}Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same}

본 발명은 비디오 디코딩 장치(Video decoder) 및 디코딩 방법에 관한 것으로서, 더욱 상세하게는 하드웨어의 메모리를 절반으로 줄인 디지탈 텔레비젼(Digital television) 비디오 디코딩 장치 및 디코딩 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to video decoders and decoding methods, and more particularly, to digital television video decoding devices and decoding methods in which the hardware memory is reduced by half.

미국의 디지탈 텔레비젼 규격인 GA(Grand Aliance) 고선명 텔레비젼(High Definition Television; HDTV) 시스템의 영상 압축 기법과 다중화 기법은엠펙(Moving Picture Experts Group; MPEG)-2 규격을 따르고 있으며, 방송할 비디오 포맷도 하나로 국한시키지 않고 1920 * 1080의 화소(Pixel)로 24㎐, 30㎐의 순차주사 방식과 60㎐의 비월주사 방식이 있고, 1280 * 720의 화소로 24㎐, 30㎐ 및 60㎐의 순차주사 방식의 비디오 포맷으로 다양하다.The video compression and multiplexing techniques of the US Digital Television Standard (GA) High Definition Television (HDTV) system are based on the Moving Picture Experts Group (MPEG) -2 standard. There are 24, 30 sequential scan method with 1920 * 1080 pixels and 60㎐ interlaced scan method, not limited to one, and 24㎐, 30㎐ and 60㎐ sequential scan methods with 1280 * 720 pixels Video formats are diverse.

이러한 영상 포맷들은 엠펙-2에 속하는 것으로서, 완전한 디지탈 텔레비젼 디코딩 장치를 구현하기 위해서는 많은 하드웨어(Hardware) 메모리가 필요하다.These video formats belong to MPEG-2, which requires a lot of hardware memory to implement a complete digital television decoding device.

보통 디지탈 텔레비젼 수신기는 수신기의 모니터 크기가 50인치 이하에서 영상의 수평 해상도가 반으로 줄어든 영상을 출력하여도 사람의 눈으로 해상도의 열화를 크게 느끼지 못한다.In general, digital television receivers do not feel the resolution deterioration greatly with the human eye even when the receiver outputs an image in which the horizontal resolution of the image is reduced by half when the monitor size of the receiver is 50 inches or less.

따라서, 비디오 디코딩 장치가 영상 수평 해상도를 떨어뜨려 메모리를 줄임으로서 간이형 디지탈 텔레비젼의 비디오 디코딩 장치를 구현할 수 있다.Therefore, the video decoding apparatus can implement the video decoding apparatus of the simple digital television by reducing the image horizontal resolution to reduce the memory.

도 1은 종래기술에 따른 디지탈 텔레비젼 비디오 디코딩 장치의 구성을 도시한 블럭도이다.1 is a block diagram showing the configuration of a digital television video decoding apparatus according to the prior art.

도 1을 참조하면, 입력된 디지탈 텔레비젼 비트스트림을 가변 길이 디코딩(Variable Length Decoding)하고 분리하는 가변 길이 디코더(Variable Length Decoder; VLD)부(11)와, 상기 가변 길이 디코더부(11)로 부터 출력되는 계수(Coefficient)로 역양자화하는 역양자화부(12)와, 상기 역양자화부(12)로 부터 출력되는 역양자화된 계수를 8 * 8 블럭단위로 역이산여현변환(Inverse Disdrete Cosine Transform; IDCT)하는 역이산여현변환부(13)와, 상기 역이산여현변환부(13)로 부터 출력되는 영상신호와 움직임 보상된(Motion compensated) 영상신호를 가산하는 가산부(14)와, 상기 가산부(14)로 부터 출력되는 영상신호를 프레임 단위로 변화하여 저장하는 3M 바이트의 제1 프레임 메모리(Frame memory)부(15)와, 상기 제1 프레임 메모리부(15)로 부터 출력되는 영상신호를 라인 단위로 출력하는 슬라이스버퍼(Slice buffer)부(16)와, 상기 가산부(14)로 부터 출력되는 영상신호를 프레임 단위로 변환하여 저장하는 제2 프레임 메모리부(17) 및 상기 가변 길이 디코더부(11)로 부터 출력되는 움직임 벡터(Motion Vector; MV)에 따라 상기 제2 프레임 메모리부(17)로 부터 출력되는 영상신호를 움직임 보상하여 상기 가산부(14)로 출력하는 움직임 보상부(18)로 구성된다.Referring to FIG. 1, a variable length decoder (VLD) unit 11 for variable length decoding and separating an input digital television bitstream and a variable length decoder unit 11 are provided. An inverse discrete cosine transform having an inverse quantization unit 12 that inversely quantizes an output coefficient and an inverse quantized coefficient that is output from the inverse quantization unit 12 in units of 8 * 8 blocks; An inverse discrete cosine transforming unit 13 for performing IDCT, an adder 14 for adding an image signal output from the inverse discrete cosine converting unit 13, and a motion compensated video signal; The first frame memory unit 15 of 3M bytes for storing and changing the image signal output from the unit 14 in units of frames, and the image signal output from the first frame memory unit 15. Slice buffer (Sli) ce buffer) section 16, the second frame memory section 17 and the variable length decoder section 11 for converting and storing the video signal output from the adder 14 in a frame unit The motion compensation unit 18 is configured to compensate for a video signal output from the second frame memory unit 17 according to a motion vector (MV) and output the motion compensation unit 18 to the adder 14.

상기한 구성을 갖는 종래 디지탈 텔레비젼 비디오 디코딩 장치의 동작을 상세하게 설명한다.The operation of the conventional digital television video decoding apparatus having the above configuration will be described in detail.

입력된 디지탈 텔레비젼 비트스트림이 가변 길이 디코더부(11)로 입력되면, 가변 길이 디코딩을 거쳐 움직임 정보를 갖는 움직임 벡터와 양자화 값 그리고, 계수로 분리된다.When the input digital television bitstream is input to the variable length decoder 11, it is separated into motion vectors having motion information, quantized values, and coefficients through variable length decoding.

분리된 상기 움직임 벡터는 상기 움직임 보상부(18)로 출력되고, 양자화 값과 계수는 상기 역이산여현변환부(13)에서 8 * 8 단위의 역이산여현변환을 거쳐 영상신호로 복원된 후 상기 가산부(14)로 출력된다.The separated motion vector is output to the motion compensator 18, and the quantization value and the coefficient are restored by the inverse discrete cosine transform unit 13 through an inverse discrete cosine transform of 8 * 8 units and then converted into an image signal. It is output to the adder 14.

상기 가산부(14)는 상기 역이산여현변환부(13)로 부터 출력되는 영상신호와 상기 움직임 보상부(18)에서 움직임 보상을 통해 상기 제2 프레임 메모리부(17)에서 예측된(Estimated) 신호를 가산하여 완전한 영상으로 복원한 후 상기 제1 프레임 메모리부(15)로 출력한다.The adder 14 is predicted by the second frame memory unit 17 through the image signal output from the inverse discrete cosine transforming unit 13 and the motion compensation from the motion compensating unit 18. The signal is added to restore the complete image and output to the first frame memory unit 15.

상기 제1 프레임 메모리부(15)는 상기 가산부(14)로 부터 출력되는 영상신호를 프레임 단위로 변환하여 슬라이스 버퍼부(16)로 출력하며, 상기 슬라이스 버퍼부(16)는 상기 제1 프레임 메모리부(15)로 부터 출력되는 영상신호를 라인 단위로 변환하여 최종 출력한다.The first frame memory unit 15 converts an image signal output from the adder 14 into a frame unit and outputs it to the slice buffer unit 16, and the slice buffer unit 16 outputs the first frame. The video signal output from the memory unit 15 is converted in units of lines and finally output.

또한, 상기 가산부(14)로 부터 출력되는 영상신호는 6M 바이트의 상기 제2 프레임 메모리부(17)에서 프레임 단위로 변환되어 저장되고, 상기 움직임 보상부(18)는 상기 가변 길이 디코딩 장치부(11)로 부터 출력되는 움직임 벡터에 따라 상기 제2 프레임 메모리(17)로 부터 출력되는 영상신호를 움직임 보상하여 상기 가산부(14)로 출력한다.In addition, the image signal output from the adder 14 is converted and stored in units of frames in the second frame memory unit 17 of 6M bytes, and the motion compensation unit 18 is the variable length decoding apparatus unit. The video signal output from the second frame memory 17 is motion compensated and output to the adder 14 according to the motion vector output from 11.

한편, 전술한 바와 같이 이루어지는 종래의 디지탈 텔레비젼 비디오 디코딩 장치는 다음과 같은 문제점이 발생한다.On the other hand, the conventional digital television video decoding apparatus made as described above has the following problems.

일반적으로 디지탈 텔레비젼 비디오 디코딩 장치에서 메모리를 절반으로 줄이기 위해 행하는 방법인 역이산여현변환 시, 블럭 크기를 8 * 8의 절반인 8 * 4로 하면, 줄어든 메모리에 비례하여 그만큼 출력 영상의 화질이 떨어지게 된다.In general, in the case of inverse discrete cosine conversion, which is a method used to reduce the memory in half in a digital television video decoding apparatus, when the block size is 8 * 4, which is half of 8 * 8, the quality of the output image is reduced in proportion to the reduced memory. do.

뿐만아니라, 비디오 디코딩 장치에서 프레임 메모리로 부터 움직임 보상을 하기 때문에 화질이 떨어짐으로 인한 영향이 다음의 인트라(Intra) 프레임이 오기 전까지 계속 누적되므로 화질의 열화는 더욱 심해지게 된다.In addition, since the video decoding apparatus compensates for the motion from the frame memory, the deterioration of image quality becomes more severe because the effects of the image quality deterioration continue to accumulate until the next intra frame comes.

본 발명은 상기 문제점을 해결하기 위한 것으로써, 메모리를 절반으로 줄이면서 그에 따른 영상의 열화를 방지할 수 있는 디지탈 텔레비젼 비디오 디코딩 장치 및 디코딩 방법을 제공하는데 그 목적이 있다.An object of the present invention is to provide a digital television video decoding apparatus and a decoding method capable of preventing the deterioration of an image while reducing the memory in half.

도 1은 종래기술에 따른 디지탈 텔레비젼 비디오 디코딩 장치의 일예를 도시한 블럭도,1 is a block diagram showing an example of a digital television video decoding apparatus according to the prior art;

도 2는 본 발명에 따른 디지탈 텔레비젼 비디오 디코딩 장치의 일예를 도시한 블럭도,2 is a block diagram showing an example of a digital television video decoding apparatus according to the present invention;

도 3은 본 발명에 따른 추림 방법을 도시한 도면,3 is a diagram illustrating a deduction method according to the present invention;

도 4는 본 발명에 따른 5 * 5 소벨 연산자를 도시한 도면,4 illustrates a 5 * 5 Sobel operator according to the present invention;

도 5a는 보간할 화소와 주변 화소를 도시한 도면,5A is a diagram illustrating pixels to be interpolated and neighboring pixels;

도 5b 내지 도 5c는 도 5a에 따른 수평 및 수직 방향 에지인 화소의 보간 방법을 도시한 도면,5B to 5C illustrate interpolation methods of pixels having horizontal and vertical edges according to FIG. 5A;

도 6a 내지 도 6b는 가로 및 세로 방향에 따른 상관성 검출 알고리듬을 도시한 도면,6A to 6B illustrate a correlation detection algorithm along the horizontal and vertical directions;

도 7은 본 발명에 따른 메디안 필터의 구조를 도시한 도면,7 is a view showing the structure of a median filter according to the present invention;

도 8은 본 발명에 따른 보간 방법의 알고리듬을 도시한 도면.8 illustrates an algorithm of an interpolation method according to the present invention.

* 도면의 주요 부분에 대한 설명* Description of the main parts of the drawing

20 : 움직임 보상부20: motion compensation unit

21 : 가변 길이 디코딩 장치부21: variable length decoding unit

22 : 역양자화부22: inverse quantization unit

23 : 역이산여현변환부23: inverse discrete cosine transform unit

24 : 가산부24: Adder

25 : 제1 프레임 메모리부25: first frame memory unit

26 : 슬라이스 버퍼부26: slice buffer unit

27 : 추림부27: jogger

28 : 제2 프레임 메모리부28: second frame memory unit

29 : 보간부29: interpolator

상기 목적을 달성하기 위한 본 발명의 디지탈 텔레비젼 비디오 디코딩 방법은, 디지탈 텔레비젼 비트스트림을 가변 길이 디코딩하여 움직임 벡터와 양자화 값 및 계수로 분리하는 제1 단계; 상기 계수를 상기 양자화 값에 따라 역양자화는 제2 단계; 상기 역양자화된 계수를 8 * 8 블럭 단위의 영상신호로 역이산여현변환하는 제3 단계; 상기 8 * 8 블럭 단위의 영상신호와 움직임 보상된 영상신호를 가산하는 제4 단계; 상기 제4 단계를 거친 영상신호를 프레임 단위로 변환하여 저장하는 제5 단계; 상기 제5 단계를 거친 영상신호를 라인 단위의 영상신호로 변환하여 출력하는 제6 단계; 상기 제4 단계를 거친 영상신호의 크기를 절반으로 추림하는 제7 단계; 상기 추림된 영상신호를 프레임 단위로 변환하여 저장하는 제8 단계; 상기 제8 단계를 거친 영상신호를 움직임 보상을 위해 원래의 크기로 보간하는 제9 단계; 및 상기 움직임 벡터에 따라 상기 제9 단계를 거친 영상신호를 움직임 보상하여 상기 제4 단계를 반복 실행하는 제10 단계를 포함한다.A digital television video decoding method of the present invention for achieving the above object comprises: a first step of variable length decoding a digital television bitstream to separate it into motion vectors, quantization values and coefficients; Inverse quantization of the coefficient according to the quantization value; A third step of inverse discrete cosine transforming the dequantized coefficients into an image signal of 8 * 8 block units; Adding a video signal of the 8 * 8 block unit and a motion compensated video signal; A fifth step of converting and storing the video signal passed through the fourth step in units of frames; A sixth step of converting the video signal passed through the fifth step into a video signal in a line unit; A seventh step of deducting the magnitude of the video signal passed through the fourth step in half; An eighth step of converting the condensed video signal in units of frames and storing the converted video signal; A ninth step of interpolating the video signal passed through the eighth step to its original size for motion compensation; And a tenth step of repeatedly performing the fourth step by motion compensating the video signal having passed through the ninth step according to the motion vector.

또한, 본 발명의 디지탈 텔레비젼 비디오 디코딩 장치는, 디지탈 텔레비젼 비트스트림을 입력으로 하여 움직임 벡터와 양자화 값 및 계수를 출력하는 가변 길이 디코딩 장치부; 상기 계수를 입력으로 하여 역양자화된 계수를 출력하는 역양자화부; 상기 역양자화된 계수를 입력으로 하여 8 * 8 블럭 단위의 영상신호를 출력하는 역이산여현변환부; 상기 8 * 8 블럭 단위의 영상신호와 움직임 보상된 영상신호를 가산하는 가산부; 상기 가산부에서 출력되는 영상신호를 프레임 단위로 변환하여 저장하는 제1 프레임 메모리부; 상기 제1 프레임 메모리부로 부터 출력되는 영상신호를 라인 단위로 출력하는 슬라이스 버퍼부; 상기 가산부에서 출력되는 영상신호의 크기를 절반으로 하는 추림부; 상기 추림부에서 출력되는 영상신호를 프레임 단위로 변환하여 저장하는 제2 프레임 메모리부; 상기 제2 프레임 메모리부로 부터 출력되는 영상신호를 움직임 보상을 위해 원래의 크기로 보간하는 보간부; 및 상기 가변 길이 디코딩 장치부로 부터 출력되는 움직임 벡터에 따라 상기 보간부로 부터 출력되는 영상신호를 보상하여 상기 가산부로 출력하는 움직임 보상부를 포함한다.In addition, the digital television video decoding apparatus of the present invention comprises: a variable length decoding apparatus unit for inputting a digital television bitstream to output a motion vector, a quantization value, and a coefficient; An inverse quantizer for outputting a dequantized coefficient by inputting the coefficient; An inverse discrete cosine converting unit for outputting an image signal in units of 8 * 8 blocks by inputting the inverse quantized coefficient; An adder configured to add the 8 * 8 block unit video signal and the motion compensated video signal; A first frame memory unit for converting and storing the video signal output from the adder in units of frames; A slice buffer unit which outputs an image signal output from the first frame memory unit in line units; A chopping unit halving the magnitude of the video signal output from the adding unit; A second frame memory unit which converts and stores the video signal output from the carding unit in units of frames; An interpolation unit which interpolates an image signal output from the second frame memory unit to its original size for motion compensation; And a motion compensator for compensating an image signal output from the interpolator according to the motion vector output from the variable length decoding apparatus and outputting the compensation to the adder.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조하여 설명하기로 한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art may easily implement the technical idea of the present invention. do.

도 2는 본 발명에 따른 디지탈 텔레비젼 비디오 디코딩 장치를 도시한 블럭도이다.2 is a block diagram showing a digital television video decoding apparatus according to the present invention.

도 2를 참조하면, 디지탈 텔레비젼 비트스트림을 입력으로 하여 움직임 벡터와 양자화 값 및 계수를 출력하는 가변 길이 디코더부(21)와, 상기 계수를 입력으로 하여 역양자화된 계수를 출력하는 역양자화부(22)와, 상기 역양자화된 계수를 입력으로 하여 8 * 8 블럭 단위의 영상신호를 출력하는 역이산여현변환부(23)와, 상기 8 * 8 블럭 단위의 영상신호와 움직임 보상된 영상신호를 가산하는가산부(24)와, 상기 가산부(24)에서 출력되는 영상신호를 프레임 단위로 변환하여 저장하는 제1 프레임 메모리부(25)와, 상기 제1 프레임 메모리부(25)로 부터 출력되는 영상신호를 라인 단위로 출력하는 슬라이스 버퍼부(26)와, 상기 가산부(24)에서 출력되는 영상신호의 크기를 절반으로 하는 추림(Decimation)부(27)와, 상기 추림부(27)에서 출력되는 영상신호를 프레임 단위로 변환하여 저장하는 제2 프레임 메모리부(28)와 상기 제2 프레임 메모리부(28)로 부터 출력되는 영상신호를 움직임 보상을 위해 원래의 크기로 보간하는 보간(Interpolation)부(29) 및 상기 가변 길이 디코딩 장치부(21)로 부터 출력되는 움직임 벡터에 따라 상기 보간부(29)로 부터 출력되는 영상신호를 보상하여 상기 가산부(24)로 출력하는 움직임 보상부(20)를 구비한다.2, a variable length decoder 21 for outputting a motion vector, a quantization value, and a coefficient as a digital television bitstream as an input, and an inverse quantizer for outputting dequantized coefficients using the coefficient as an input ( 22), an inverse discrete cosine transform unit 23 for outputting an 8 * 8 block unit video signal by inputting the inverse quantized coefficient, and an 8 * 8 block unit video signal and a motion compensated video signal. An adder 24 to be added, a first frame memory 25 to convert and store the video signal output from the adder 24 in units of frames, and to be output from the first frame memory 25. In the slice buffer unit 26 for outputting video signals in units of lines, the extraction unit 27 for halving the magnitude of the image signal output from the adder 24, and the extraction unit 27 Output video signal in frame unit The second frame memory unit 28 converting and storing the interpolation unit 29 and the variable interpolating the video signal output from the second frame memory unit 28 to the original size for motion compensation. And a motion compensator 20 for compensating an image signal output from the interpolator 29 and outputting the compensating image signal to the adder 24 according to the motion vector output from the length decoding apparatus 21.

상기한 구성을 갖는 본 발명의 디지탈 텔레비젼 비디오 디코딩 방법을 상세히 설명한다.The digital television video decoding method of the present invention having the above configuration will be described in detail.

먼저, 디지탈 텔레비젼 비트스트림을 가변 길이 디코딩하여 움직임 벡터와 양자화 값 및 계수로 분리하며, 상기 계수를 상기 양자화 값에 따라 역양자한 후, 상기 역양자화된 계수를 8 * 8 블럭 단위의 영상신호로 역이산여현변환한다. 이어서, 상기 8 * 8 블럭 단위의 영상신호와 움직임 보상된 영상신호를 가산한 후, 프레임 단위로 변환하여 저장하며, 라인 단위의 영상신호로 변환하여 출력하며, 상기 가산된 영상신호의 크기를 절반으로 추림(Decimation)하여 프레임 단위로 변환하여 저장한다.First, the variable length decoding of the digital television bitstream is separated into a motion vector, a quantization value, and a coefficient. The coefficient is dequantized according to the quantization value, and the dequantized coefficient is converted into an image signal of 8 * 8 block units. Inverse discrete cosine transform. Subsequently, the 8 * 8 block unit video signal and the motion compensated image signal are added, converted into frame units, stored, converted into line unit video signals, and outputted. Decimation is used to convert and save in frame units.

이어서, 추림되어 프레임 단위로 변환된 영상신호를 움직임 보상을 위해 원래의 크기로 보간(Interpolation)하며, 상기 움직임 벡터에 따라 상기 보간된 영상신호를 움직임 보상하여 상기 가산하는 과정을 반복 실행한다.Subsequently, the deduced video signal is interpolated to the original size for motion compensation, and the motion compensation of the interpolated video signal is repeated according to the motion vector.

이하 상기 각 과정을 도면을 참조하여 구체적으로 설명한다.Hereinafter, each process will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 따른 추림 방법을 도시한 도면이다.3 is a diagram illustrating a deduction method according to the present invention.

도 3을 참조하면, 버리는 화소와 선택하는 화소가 엇갈려서 배열된 화소의 구조를 이용하여, 섞어 짜여진 부표본화(Interlaced subsampling) 방법을 이용하여 홀수 라인에서는 홀수열의 화소를 취하고 짝수열을 버리며, 짝수 라인에서는 짝수열의 화소를 취하고 홀수열의 화소는 버리는 방식으로 추림을 행한다.Referring to FIG. 3, by using an interlaced subsampling method in which pixels to be discarded and pixels to be selected are arranged alternately, odd-numbered pixels are taken in odd-numbered lines and even-numbered lines are discarded by using an interlaced subsampling method. Equation is performed by taking even-numbered pixels and discarding odd-numbered pixels.

상기 추림을 구체적으로 설명한다.The above description will be described in detail.

추림 필터로는 엠펙 규정(11172-2)에서 제시된 두 픽셀마다 한 번씩 7-탭(Tap)의 추림 필터를 씌운 값으로 대치하는 방법과 직각 부표본화(Rectangular subsampling) 방법이 주로 사용된다.As the inference filter, a method of substituting a value of a seven-tap Tap induction filter once every two pixels shown in the MPEG rule 11172-2 and a rectangular subsampling method are mainly used.

상기 방법들은 비교적 간단하고 구현하기가 쉬운 반면, 영상을 보간할 때 수직방향 즉, 아래나 위의 화소 정보를 사용할 수 없는 단점이 있다.While the methods are relatively simple and easy to implement, there is a disadvantage in that the pixel information cannot be used vertically, i.e., below or above when interpolating an image.

특히, 필터를 이용하는 첫번째 방법의 경우, 추림한 영상이 필터를 거쳐 보다 부드러워질 수는 있으나, 줄어든 영상이 그대로 사용되는 것이 아니고 보간 필터에 사용되는 소스(Source)이기 때문에 원 영상의 왜곡은 커다란 문제점으로 대두된다.In particular, in the first method using a filter, the deduced image may be smoother through the filter, but the distortion of the original image is a big problem because the reduced image is not used as it is but a source used for an interpolation filter. To emerge.

일반적으로 추림하는 방법은, FIR 필터를 사용하는 방법과, 직각 부표본화 방법과, 섞어 짜여진 부표본화 방법 등 크게 세가지로 구분할 수 있다.In general, the method of deduction can be classified into three types: a method using a FIR filter, a right angle subsampling method, and a mixed subsampling method.

그러나, 상기 FIR 필터를 사용하는 방법은 화소 값들이 왜곡되는 문제점이 있으며, 상기 직각 부표본화 방법은 보간 시 수직 방향으로 참고할 화소가 없다는 문제점이 있다.However, the method using the FIR filter has a problem in that pixel values are distorted, and the rectangular subsampling method has a problem in that there are no pixels to be referred to in the vertical direction during interpolation.

따라서, 절반의 정확한 화소 값을 확보할 수 있으며, 보간 시에 수직 방향으로 참고할 화소를 가질 수 있는 섞어 짜여진 부표본화 방법을 도입하는 바, 상기 섞어 짜여진 부표본화 방법은, 홀수 라인에서는 홀수열의 화소를 취하고 짝수열의 화소는 버리며, 짝수 라인에서는 짝수열의 픽셀을 취하고 홀수열의 픽셀을 버리도록 함으로써, 상기 직각 부표본화 방법과 같은 양의 데이타를 줄일 수 있으며 보간 시 수직의 화소도 사용할 수 있는 장점이 있다.Therefore, a half-pixel accurate sub-sampling method can be obtained, and the interpolated sub-sampling method can have pixels to be referred to in the vertical direction during interpolation. By taking the even-numbered pixels and discarding the even-numbered pixels on the even-numbered lines and discarding the odd-numbered pixels, the same amount of data as in the quadrature subsampling method can be reduced and vertical pixels can be used during interpolation.

한편, 상기 섞어 자연진 부표본화 방법을 사용할 때에는 입력 영상이 비월주사 영상이라면, 반드시 순차주사 영상에서의 방법과 다른 방법을 이용해야 한다. 왜냐하면, 비월주사 영상의 보간할 라인과 바로 위와 아래 라인이 서로 다른 시간의 영상이기 때문이다. 따라서, 입력 영상이 비월주사 영상일 경우, 섞어 짜여진 부표본화한 영상을 보간할 때에 참고(Reference) 화소 값으로 다른 시간 상의 값을 사용하게 되며, 부표본화 방법에도 변화가 생기게 되는 바, 서로 다른 시간의 라인을 묶어 표본화하는 것이다. 즉, 처음 두 라인에서는 홀수번째의 화소들을 선택하고, 다음 두 라인에서는 짝수번째의 화소들을 선택하면 된다.On the other hand, when using the mixed natural subsampling method, if the input image is an interlaced scan image, a method different from the method in the sequential scan image must be used. This is because the lines to be interpolated and the lines immediately above and below the interlaced images are images of different times. Therefore, when the input image is an interlaced image, different time values are used as reference pixel values when interpolating interlaced subsampled images, and the subsampling method changes. We are tying and sampling the lines of. That is, the odd two pixels may be selected in the first two lines, and the even pixels may be selected in the next two lines.

도 8은 본 발명에 따른 보간 방법의 알고리듬(Algorithm)을 도시한 블럭도이다.8 is a block diagram illustrating an algorithm of the interpolation method according to the present invention.

도 8을 참조하면, 본 발명에 따른 보간 방법은, 제로 패딩(Zero padding)된영상 입력에서 에지를 검출하여(81) 에지가 있을 경우, 그 방향에 따라 상기 에지 부분을 보간하며(82), 에지가 아닌 부분에서는 주변 화소들 간의 상관성을 검출한다(84). 이어서, 상기 에지가 아닌 부분에서 상관성에 맞는 다섯 개의 임시 값을 선택하고, 메디안 필터를 통해 최적의 화소를 선택하여 보간하며(85, 86), 상관성이 없는 경우에는 리니어 보간(Linear interpolation)을 행한다(87).Referring to FIG. 8, the interpolation method according to the present invention detects an edge in a zero padded image input (81), and if there is an edge, interpolates the edge portion according to the direction (82), In the non-edge portion, correlation between neighboring pixels is detected (84). Subsequently, five temporary values corresponding to the correlation are selected at the non-edge portion, and an optimal pixel is selected and interpolated through the median filter (85 and 86), and linear interpolation is performed if there is no correlation. (87).

상기한 바와 같은 본 발명에 따른 보간 방법은 첨부한 도면을 참조하여 상세하게 후술한다.An interpolation method according to the present invention as described above will be described later in detail with reference to the accompanying drawings.

도 4는 본 발명에 따른 보간의 에지 검출(Edge detection) 시에 사용되는 확장된 5 * 5 소벨 연산자(Sobel operator)를 도시한 도면이며, 도 5a 내지 도 5c는 에지 부분의 보간 방법을 도시한 도면이다.FIG. 4 is a diagram illustrating an extended 5 * 5 Sobel operator used in edge detection according to the present invention, and FIGS. 5A to 5C illustrate an interpolation method of an edge portion. Drawing.

그리고, 도 6a 내지 도 6b는 본 발명의 상관성 검출 알고리듬을 도시한 도면이며, 도 7은 메디안 필터(Median filter)의 구조를 도시한 도면이다.6A to 6B illustrate a correlation detection algorithm of the present invention, and FIG. 7 illustrates a structure of a median filter.

도 4를 참조하면, 제로 패팅 영상에서 보간할 부분의 에지 여부를 검출하기 위한 확장된 5 * 5 소벨 연산자를 이용한다. 구체적으로, 에지를 찾아내기 위해 메모리에 저장된 영상을 사용하는 것이 아니라, 제로 패딩된 영상 즉, 보간할 부분에 "0"의 값을 넣은 영상을 사용한다.Referring to FIG. 4, an extended 5 * 5 Sobel operator is used to detect whether an edge of a part to be interpolated in a zero patting image is used. In detail, instead of using an image stored in a memory to find an edge, a zero padded image, that is, an image having a value of "0" in an interpolation portion is used.

이 경우, 3 * 3 소벨 연산자를 사용하면, 실제로 영상을 찾기 위해 계산에 사용되는 화소는 y-연산자(y-operator)의 경우, 좌우 두 화소, x-연산자(x-operator)의 경우, 상하 두 화소 밖에 사용되지 않는다.In this case, using the 3 * 3 Sobel operator, the pixels used for the calculation to actually find the image are two pixels left and right in the case of the y-operator, and up and down in the case of the x-operator. Only two pixels are used.

따라서, 상기 3 * 3 소벨 연산자를 확장시켜 5 * 5 소벨 연산자를 사용하여에지를 찾도록 하였다.Therefore, the 3 * 3 Sobel operator was extended to find an edge using the 5 * 5 Sobel operator.

도 5a 내지 도 5c를 참조하면, 도 5a는 에지 부분에서의 보간할 화소(X)와 주변의 화소(A, B, C, D)를 나타내고 있으며, 도 5b는 상기 'X'가 수평(Horizontal) 방향의 에지인 경우의 보간과 도 5c는 'X'가 수직(Vertical) 방향의 에지인 경우의 보간을 각각 나타낸다.5A to 5C, FIG. 5A illustrates a pixel X to be interpolated at an edge portion and pixels A, B, C, and D around, and FIG. 5B shows that 'X' is horizontal. 5C shows interpolation in the case of an edge in the direction of) and FIG. 5C shows interpolation in the case where 'X' is an edge in the vertical direction.

상술한 상기 5 * 5 소벨 연산자를 사용하면, 보다 정확하게 에지를 검출할 수 있을 뿐만아니라, 메모리에 저장된 화소 즉, 보간할 주변의 화소(A, B, C, D)와 보간할 화소(X)의 에지 여부도 검출할 수 있다.Using the 5 * 5 Sobel operator described above, not only can the edge be detected more accurately, but also the pixels stored in the memory, that is, the pixels A, B, C, and D to be interpolated, and the pixel X to be interpolated. It is also possible to detect whether the edge of.

더욱이, 보다 정확한 보간을 위해 수평 방향, 수직 방향의 에지 맵(Edge map)을 도 5b와 도 5c와 같이, 따로 만들어 상기 'X'가 수평 방향인지 수직 방향인지를 보고 상기 방향에 맞게 보간할 수 있다.Furthermore, for more accurate interpolation, horizontal and vertical edge maps can be created separately, as shown in FIGS. 5B and 5C, and interpolated according to the direction by looking at whether the 'X' is horizontal or vertical. have.

즉, '가', '나', '다', '라', '마' 중에서 4개 이상이 문턱 값(Threshold) 보다 작으면, 가로 방향으로 상관성(Correlation)이 있다고 보고, 세로 방향의 'ㄱ', 'ㄴ', 'ㄷ', 'ㄹ', 'ㅁ' 중에서 4개 이상이 문턱 값(Threshold) 보다 작으면, 세로 방향의 상관성이 있다고 본다.That is, if four or more of 'A', 'I', 'D', 'D', 'D' are smaller than the threshold, it is considered that there is correlation in the horizontal direction, and the vertical ' If four or more of a ',' b ',' c ',' ㄹ ', and' ㅁ 'are smaller than the threshold, it is considered that there is a vertical correlation.

상기한 세로 및 가로 방향의 상관성 검출을 위한 알고리듬은 도 6a 내지 도 6b에 각각 도시되어 있다.The algorithms for detecting the correlation in the vertical and horizontal directions are shown in FIGS. 6A to 6B, respectively.

여기서, 세로 방향의 상관성의 'A'와 'D'는 존재하지 않는 값으로, 각각 좌우 양쪽의 화소 값의 평균을 취하여 사용한다.Here, 'A' and 'D' of vertical correlation are values that do not exist, and are used by taking an average of pixel values of both left and right sides, respectively.

요컨대, 에지 영역에서 수평 에지와 수직 에지를 구별하여 상기 에지 영역을보간하며, 이때 상관성의 검출은, 메디안 필터(Median filter)에 넣는 값을 선택하기 위해 보간할 화소에서 가로 네 개 및 세로 네 개의 화소 값을 사용하여 주변 화소들의 상관성을 검출하는 것이다.In short, the edge region is interpolated by distinguishing the horizontal edge from the vertical edge in the edge region, where the correlation is detected by four horizontal and four vertical pixels in the pixel to be interpolated to select a value to be put into a median filter. The correlation between neighboring pixels is detected using the pixel value.

상기 메디안 필터는 주어진 N(N은 정수) 개의 값들 중 중간의 값을 취하는 필터로서, 도 7을 참조하여 후술한다.The median filter is a filter that takes an intermediate value among given N (N is an integer) values, which will be described later with reference to FIG. 7.

도 7을 참조하면, 상하좌우 네 개의 화소와 가로 방향 및 세로 방향의 네 개의 화소(X1, X2, X3, X4)에 FIR을 씌운 값과 주변 여덟 개의 화소에 FIR을 씌운 값을 이용하여 메디안 필터를 사용한다.Referring to FIG. 7, a median filter is formed by using FIRs on four pixels X1, X2, X3, and X4 in the horizontal and vertical directions, and FIRs on eight pixels. Use

이 방법은 FIR 필터를 사용하므로, 주변 영상끼리의 평균한 효과가 있어 영상 전체를 부드럽게 해주는 필터 특유의 효과가 있지만, 주변의 화소 값들의 차이가 클 경우에는 실제의 화소 값과의 상당한 차이가 있을 수 있다.This method uses the FIR filter, which has a filter-specific effect of smoothing the entire image because it has an average effect between the surrounding images. However, if the surrounding pixel values are large, there may be a significant difference from the actual pixel values. Can be.

'Z'는 보간할 화소를 나타내며, X1∼ X4는 가로와 세로의 주변 화소(X1 ∼ X4) 값이다.'Z' represents a pixel to be interpolated, and X 1 to X 4 represent horizontal and vertical peripheral pixels X1 to X4.

가로 방향의 상관성이 있을 경우는 다음과 같은 메디안 필터를 사용한다.If there is a horizontal correlation, use the following median filter.

Z = Med{ X1, X2, XHAVE, XHFIR, XFIR}Z = Med {X 1 , X 2 , X HAVE , X HFIR , X FIR }

또한, 가로 방향의 상관성이 있을 경우는 다음과 같은 메디안 필터를 사용한다.In addition, when there is correlation in the horizontal direction, the following median filter is used.

Z = Med{ X3, X4, XVAVE, XVFIR, XFIR}Z = Med {X 3 , X 4 , X VAVE , X VFIR , X FIR }

여기서, XHAVE와 XVAVE는 각각 가로 두 화소(X1, X2)의 평균 값과 세로 두화소(X3, X4)의 평균 값이며, XHFIR와 XVFIR는 각각 가로 방향 네 개의 화소(X1, X2, X13, X14)에 FIR 필터를 씌운 값과 세로 방향 네 개의 화소(X3, X4, X15, X16)에 FIR 필터를 씌운 값이다. 또한, XFIR은 주변 열두 개의 화소(X1 ∼ X12)에 FIR을 씌운 값이다.Here, X HAVE and X VAVE are mean values of two horizontal pixels X1 and X2 and average values of two vertical pixels X3 and X4, respectively, and X HFIR and X VFIR are four horizontal pixels X1 and X2, respectively. , X13 and X14 are FIR filter values and four vertical pixels X3, X4, X15 and X16 are FIR filter values. In addition, X FIR is a value in which FIR is applied to the surrounding twelve pixels X1 to X12.

즉, 주변 화소들과의 연관성에서 수평 방향성이 있으면, 가로의 좌우 픽셀(X1, X2) 값(X1, X2)과 상기 X1과 X2의 평균 값(XHAVE)과, 가로 방향 네 개의 화소(X1, X2, X15, X16)에 FIR 필터를 씌운 값(XHFIR)과 주변 열두 개의 화소(X1 ∼ X12)에 FIR을 씌운 값(XFIR)을 상기 메디안 필터에 넣게 된다.That is, if there is a horizontal directionality in relation to neighboring pixels, the horizontal left and right pixels (X1, X2) values (X 1 , X 2 ), the average values (X HAVE ) of the X 1 and X 2 , and the horizontal directions 4 a pixel value (X FIR) covered with the FIR values covered with a FIR filter (X HFIR) and around twelve pixels (X1 ~ X12) to (X1, X2, X15, X16 ) are enclosed in the median filter.

또한, 주변 화소들과의 연관성에서 수직 방향성이 있으면, 세로의 상하 픽셀(X3, X4) 값(X3, X4)과 상기 X3과 X4의 평균 값(XVAVE)과, 가로 방향 네 개의 화소(X3, X4, X13, X14)에 FIR 필터를 씌운 값(XVFIR)과 주변 열두 개의 화소(X1 ∼ X12)에 FIR을 씌운 값(XFIR)을 상기 메디안 필터에 넣게 되는 바, 화소 값의 오차를 줄이기 위해 상기 메디안 필터를 취하는 화소 값들을 주변 화소간의 상관성에 따라 적응적으로(Adoptively) 변하도록 하였다.In addition, if there is a vertical orientation in the association with the surrounding pixels, vertical vertical pixel (X3, X4) values (X 3 , X 4 ), average values (X VAVE ) of the X 3 and X 4 , and horizontal direction four pixel (X3, X4, X13, X14) to the FIR filter the capped value (X VFIR) and around twelve pixels (X1 ~ X12) bars which thrust the value (X FIR) covered the FIR to the median filter, pixels In order to reduce the error of the values, the pixel values of the median filter are adaptively changed according to the correlation between the neighboring pixels.

따라서, 주변 화소와의 상관성을 미리 알아보고 상관성이 많은 상관성이 많은 화소들을 상기 메디안 필터에 넣으므로써, 보다 정확한 보간이 이루어지도록 할 수 있다.Accordingly, the interpolation with the neighboring pixels may be recognized in advance, and the interpolation pixels having a high correlation may be included in the median filter, so that more accurate interpolation may be performed.

전술한 바와 같이 이루어지는 본 발명의 디지탈 텔레비젼 비디오 디코딩 장치 및 디코딩 방법은, 역이산여현변환된 영상신호를 프레임 메모리에 저장하기 전에 원래 크기의 절반으로 추림하여 저장하며, 상기 저장된 프레임 메모리를 움직임 보상을 위해 상기 메모리를 읽어올 때 보간을 실시함으로써, 출력 영상의 화질 저하를 최소화 할 수 있으며, 메모리를 종래의 절반으로 줄이면서도 만족할 만한 출력 영상을 얻을 수 있음을 실시예를 통해 알아보았다.The digital television video decoding apparatus and decoding method of the present invention made as described above is performed by inferring and storing the inverse discrete cosine transformed video signal to half of its original size before storing it in the frame memory. In order to minimize the deterioration of the image quality of the output image by performing interpolation when the memory is read, it has been found through the embodiment that a satisfactory output image can be obtained while reducing the memory to half of the prior art.

본 발명의 기술 사상은 상기 바람직한 실시예에 따라 구체적으로 기술되었으나, 상기한 실시예는 그 설명을 위한 것이며 그 제한을 위한 것이 아님을 주의하여야 한다. 또한, 본 발명의 기술 분야의 통상의 전문가라면 본 발명의 기술 사상의 범위 내에서 다양한 실시예가 가능함을 이해할 수 있을 것이다.Although the technical idea of the present invention has been described in detail according to the above preferred embodiment, it should be noted that the above-described embodiment is for the purpose of description and not of limitation. In addition, those skilled in the art will understand that various embodiments are possible within the scope of the technical idea of the present invention.

상기와 같이 이루어지는 본 발명은, 메모리를 종래의 절반으로 줄이면서도 만족할 만한 출력 영상을 얻을 수 있게 함으로써, 비용 절감의 효과를 거둘 수 있다.According to the present invention as described above, it is possible to obtain a satisfactory output image while reducing the memory to half of the prior art, thereby reducing the cost.

Claims (8)

디지탈 텔레비젼 비디오 디코딩 장치에 있어서,A digital television video decoding apparatus, 디지탈 텔레비젼 비트스트림을 입력으로 하여 움직임 벡터와 양자화 값 및 계수를 출력하는 가변 길이 디코더부;A variable length decoder for outputting a motion vector, a quantization value, and a coefficient as a digital television bitstream as an input; 상기 계수를 입력으로 하여 역양자화된 계수를 출력하는 역양자화부;An inverse quantizer for outputting a dequantized coefficient by inputting the coefficient; 상기 역양자화된 계수를 입력으로 하여 8 * 8 블럭 단위의 영상신호를 출력하는 역이산여현변환부;An inverse discrete cosine converting unit for outputting an image signal in units of 8 * 8 blocks by inputting the inverse quantized coefficient; 상기 8 * 8 블럭 단위의 영상신호와 움직임 보상된 영상신호를 가산하는 가산부;An adder configured to add the 8 * 8 block unit video signal and the motion compensated video signal; 상기 가산부에서 출력되는 영상신호를 프레임 단위로 변환하여 저장하는 제1 프레임 메모리부;A first frame memory unit for converting and storing the video signal output from the adder in units of frames; 상기 제1 프레임 메모리부로 부터 출력되는 영상신호를 라인 단위로 출력하는 슬라이스 버퍼부;A slice buffer unit which outputs an image signal output from the first frame memory unit in line units; 상기 가산부에서 출력되는 영상신호의 크기를 절반으로 하는 추림부;A chopping unit halving the magnitude of the video signal output from the adding unit; 상기 추림부에서 출력되는 영상신호를 프레임 단위로 변환하여 저장하는 제2 프레임 메모리부;A second frame memory unit which converts and stores the video signal output from the carding unit in units of frames; 상기 제2 프레임 메모리부로 부터 출력되는 영상신호를 움직임 보상을 위해 원래의 크기로 보간하는 보간부; 및An interpolation unit which interpolates an image signal output from the second frame memory unit to its original size for motion compensation; And 상기 가변 길이 디코더부로 부터 출력되는 움직임 벡터에 따라 상기 보간부로 부터 출력되는 영상신호를 보상하여 상기 가산부로 출력하는 움직임 보상부A motion compensator for compensating an image signal output from the interpolator according to the motion vector output from the variable length decoder and outputting the compensation to the adder. 를 포함하는 디지탈 텔레비젼 비디오 디코딩 장치.Digital television video decoding apparatus comprising a. 디지탈 텔레비젼 비디오 디코딩 방법에 있어서,A digital television video decoding method, 디지탈 텔레비젼 비트스트림을 가변 길이 디코딩하여 움직임 벡터와 양자화 값 및 계수로 분리하는 제1 단계;Variable length decoding the digital television bitstream into motion vectors and quantized values and coefficients; 상기 계수를 상기 양자화 값에 따라 역양자화는 제2 단계;Inverse quantization of the coefficient according to the quantization value; 상기 역양자화된 계수를 8 * 8 블럭 단위의 영상신호로 역이산여현변환하는 제3 단계;A third step of inverse discrete cosine transforming the dequantized coefficients into an image signal of 8 * 8 block units; 상기 8 * 8 블럭 단위의 영상신호와 움직임 보상된 영상신호를 가산하는 제4 단계;Adding a video signal of the 8 * 8 block unit and a motion compensated video signal; 상기 제4 단계를 거친 영상신호를 프레임 단위로 변환하여 저장하는 제5 단계;A fifth step of converting and storing the video signal passed through the fourth step in units of frames; 상기 제5 단계를 거친 영상신호를 라인 단위의 영상신호로 변환하여 출력하는 제6 단계;A sixth step of converting the video signal passed through the fifth step into a video signal in a line unit; 상기 제4 단계를 거친 영상신호의 크기를 절반으로 추림하는 제7 단계;A seventh step of deducting the magnitude of the video signal passed through the fourth step in half; 상기 추림된 영상신호를 프레임 단위로 변환하여 저장하는 제8 단계;An eighth step of converting the condensed video signal in units of frames and storing the converted video signal; 상기 제8 단계를 거친 영상신호를 움직임 보상을 위해 원래의 크기로 보간하는 제9 단계; 및A ninth step of interpolating the video signal passed through the eighth step to its original size for motion compensation; And 상기 움직임 벡터에 따라 상기 제9 단계를 거친 영상신호를 움직임 보상하여 상기 제4 단계를 반복 실행하는 제10 단계A tenth step of repeatedly performing the fourth step by motion compensating the video signal having passed through the ninth step according to the motion vector; 를 포함하는 디지탈 텔레비젼 비디오 디코딩 방법.Digital television video decoding method comprising a. 제 2 항에 있어서,The method of claim 2, 상기 제7 단계의 추림은,Inference of the seventh step, 섞어 짜여진 부표본화 방법을 이용하는 것을 특징으로 하는 디지탈 텔레비젼 비디오 디코딩 방법.Digital television video decoding method characterized by using a interwoven subsampling method. 제 3 항에 있어서,The method of claim 3, wherein 상기 섞어 짜여진 부표본화 방법은,The interwoven subsampling method, 홀수 라인에서는 홀수열의 화소를 취하고 짝수열을 버리며, 짝수 라인에서는 짝수열의 화소를 취하고 홀수열의 화소는 버리는 것을 특징으로 하는 디지탈 텔레비젼 비디오 디코딩 방법.An odd line takes pixels of an odd number of rows and discards even rows, and an even line takes an even number of pixels and discards odd rows of pixels. 제 2 항에 있어서,The method of claim 2, 상기 제9 단계의 보간은,The interpolation of the ninth step, 에지를 검출하여 그 방향에 따라 상기 에지 부분을 보간하는 단계;Detecting an edge and interpolating the edge portion according to the direction; 에지가 아닌 부분에서는 주변 화소들 간의 상관성을 검출하는 단계; 및Detecting correlations between neighboring pixels at portions other than the edges; And 상기 에지가 아닌 부분에서 상관성에 맞는 다섯 개의 임시 값을 선택하고, 메디안 필터를 통해 최적의 화소를 선택하여 보간하는 단계Selecting five temporary values corresponding to the correlation at the non-edge portion, and selecting an optimal pixel through a median filter to interpolate 를 포함하는 디지탈 텔레비젼 비디오 디코딩 방법.Digital television video decoding method comprising a. 제 5 항에 있어서,The method of claim 5, 상기 에지 검출은,The edge detection is, 확장된 5 * 5 소벨 연산자를 이용하여, 제로 패팅 영상에서 보간할 부분의 에지 여부를 검출하는 것을 특징으로 하는 디지탈 텔레비젼 비디오 디코딩 방법.A digital television video decoding method comprising detecting whether an edge of a part to be interpolated in a zero-patting image is edged by using an extended 5 * 5 Sobel operator. 제 5 항 또는 제 6 항에 있어서,The method according to claim 5 or 6, 상기 에지 부분을 보간하는 단계는,Interpolating the edge portion, 상기 제 6 항의 결과를 이용하여, 에지 영역에서 수평 에지와 수직 에지를 구별하여 상기 에지 영역을 보간하는 것을 특징으로 하는 디지탈 텔레비젼 비디오 디코딩 방법.And using the result of claim 6, to interpolate the edge region by distinguishing a horizontal edge from a vertical edge in an edge region. 제 5 항에 있어서,The method of claim 5, 상기 상관성을 검출하는 단계는,Detecting the correlation, 상기 메디안 필터에 넣는 값을 선택하기 위해 보간할 화소에서 가로 네 개 및 세로 네 개의 화소 값을 사용하여 주변 화소들의 상관성을 검출하는 것을 특징In order to select a value to be inserted into the median filter, a correlation between neighboring pixels is detected using four horizontal and four vertical pixel values in the pixel to be interpolated. 으로 하는 디지탈 텔레비젼 비디오 디코딩 방법.Digital TV video decoding method.
KR10-2001-0029625A 2001-05-29 2001-05-29 Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same KR100390813B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0029625A KR100390813B1 (en) 2001-05-29 2001-05-29 Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0029625A KR100390813B1 (en) 2001-05-29 2001-05-29 Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same

Publications (2)

Publication Number Publication Date
KR20020090664A KR20020090664A (en) 2002-12-05
KR100390813B1 true KR100390813B1 (en) 2003-07-12

Family

ID=27706851

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0029625A KR100390813B1 (en) 2001-05-29 2001-05-29 Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same

Country Status (1)

Country Link
KR (1) KR100390813B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100486524B1 (en) * 2002-07-04 2005-05-03 엘지전자 주식회사 Shortening apparatus for delay time in video codec
KR100739757B1 (en) * 2005-11-18 2007-07-13 삼성전자주식회사 Image coding/decoding method and apparatus thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307868A (en) * 1995-04-28 1996-11-22 Nec Corp Moving image decoder
KR19980017213A (en) * 1996-08-30 1998-06-05 배순훈 Image Decoding System with Compensation Function for Degraded Image
KR19990074889A (en) * 1998-03-16 1999-10-05 김영환 Video decoding device and decoding method
WO2000010320A2 (en) * 1998-08-13 2000-02-24 Equator Technologies, Inc. Performing transform during processing of an image
KR20010011309A (en) * 1999-07-27 2001-02-15 이준우 Algorithm and Implementation Method of a Low-Complexity Video Encoder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307868A (en) * 1995-04-28 1996-11-22 Nec Corp Moving image decoder
KR19980017213A (en) * 1996-08-30 1998-06-05 배순훈 Image Decoding System with Compensation Function for Degraded Image
KR19990074889A (en) * 1998-03-16 1999-10-05 김영환 Video decoding device and decoding method
WO2000010320A2 (en) * 1998-08-13 2000-02-24 Equator Technologies, Inc. Performing transform during processing of an image
KR20010011309A (en) * 1999-07-27 2001-02-15 이준우 Algorithm and Implementation Method of a Low-Complexity Video Encoder

Also Published As

Publication number Publication date
KR20020090664A (en) 2002-12-05

Similar Documents

Publication Publication Date Title
US6104753A (en) Device and method for decoding HDTV video
JP3975629B2 (en) Image decoding apparatus and image decoding method
EP1466477B1 (en) Coding dynamic filters
US7555043B2 (en) Image processing apparatus and method
JP4026238B2 (en) Image decoding apparatus and image decoding method
KR100370076B1 (en) video decoder with down conversion function and method of decoding a video signal
EP0951184A1 (en) Method for converting digital signal and apparatus for converting digital signal
EP0710026A2 (en) Parallel architecture for a high definition television video decoder having multiple independent frame memories
US20020176508A1 (en) Methods and apparatus for decoding and displaying multiple digital images in parallel
US6504872B1 (en) Down-conversion decoder for interlaced video
US20100226437A1 (en) Reduced-resolution decoding of avc bit streams for transcoding or display at lower resolution
US6665344B1 (en) Downconverting decoder for interlaced pictures
US6628714B1 (en) Down converting MPEG encoded high definition sequences to lower resolution with reduced memory in decoder loop
KR100711597B1 (en) Decoding apparatus and method for deriving an reduced-resolution video signal
US20010016010A1 (en) Apparatus for receiving digital moving picture
JP3649370B2 (en) Motion compensation coding apparatus and motion compensation coding method
JP2001285863A (en) Device and method for converting image information
EP1386486B1 (en) Detection and proper interpolation of interlaced moving areas for mpeg decoding with embedded resizing
KR100442229B1 (en) Simplified HDTV video decoder and decoding method
KR100323676B1 (en) Apparatus for receiving digital moving picture
JP3937599B2 (en) Image decoding apparatus and image decoding method
US6510178B1 (en) Compensating for drift in the down conversion of high definition sequences to lower resolution sequences
KR100390813B1 (en) Apparatus of video decoder for digital television having half-sized hard ware memory and method of the same
KR100463515B1 (en) Video decoding system
US6532309B1 (en) Picture decoding method and apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee