KR0128861B1 - Method for changing quantizer step size - Google Patents

Method for changing quantizer step size

Info

Publication number
KR0128861B1
KR0128861B1 KR1019930012116A KR930012116A KR0128861B1 KR 0128861 B1 KR0128861 B1 KR 0128861B1 KR 1019930012116 A KR1019930012116 A KR 1019930012116A KR 930012116 A KR930012116 A KR 930012116A KR 0128861 B1 KR0128861 B1 KR 0128861B1
Authority
KR
South Korea
Prior art keywords
screen
intra
quantization level
threshold value
high frequency
Prior art date
Application number
KR1019930012116A
Other languages
Korean (ko)
Other versions
KR950002467A (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 KR1019930012116A priority Critical patent/KR0128861B1/en
Publication of KR950002467A publication Critical patent/KR950002467A/en
Application granted granted Critical
Publication of KR0128861B1 publication Critical patent/KR0128861B1/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/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/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/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
    • 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]

Abstract

Image compression method for improving a convergence speed toward a steady state varies a quantization level in correspondence with a screen variation state when quantizing a video signal. The image compression method detects a screen variation generation when a variation of a displacement frame difference(DFD) is beyond a threshold value of FD and the macro block is positioned in an intra area; counts the number of macro blocks having a varied screen, detects a screen variation generation when the number of macro blocks are beyond a threshold value of the screen variation macro blocks, and detects a generation of a screen variation; greatly quantizes a high frequency component among conversion coefficients via DCT(240), reduces a high frequency error caused by an inferior motion compensation, and enhances a convergence speed toward a steady state.

Description

영상부호화 장치의 양자화 준위변경방법A method of changing the quantization level of an image encoding device

제1도는 일반적인 영상 부호화기를 도시한 블록도.1 is a block diagram showing a general image encoder.

제2도는 본 발명에 따른 영상 부호화기를 도시한 블록도.2 is a block diagram illustrating an image encoder according to the present invention.

제3도(a)는 본 발명에 적용되는 MC/비 MC를 결정하는 방법을 예시하는 도면이고 (b)는 Intra/Non Intra를 결정하는 방법을 예시하는 도면.Figure 3 (a) is a diagram illustrating a method for determining the MC / non MC applied to the present invention (b) is a diagram illustrating a method for determining Intra / Non Intra.

제4도는 일반적인 Intra 매크로 블록의 양자화 구조를 도시한 도면.4 is a diagram illustrating a quantization structure of a general Intra macro block.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10, 210 : 움직임 추출기, 20, 220 : 프레임저장 및 예측기10, 210: motion extractor, 20, 220: frame storage and predictor

30, 230 : 감산기 40, 240 : DCT30, 230: Subtractor 40, 240: DCT

50, 250 : 양자화기 60, 260 : 역양자화기50, 250: quantizer 60, 260: inverse quantizer

70, 270 : IDCT 80, 280 : 가산기70, 270: IDCT 80, 280: Adder

410 : 화면 변경 검출기 420 : 컨버젼시 장치410: screen change detector 420: device when converting

본 발명은 영상 압축 전송 방법에 관한 것으로서, 더욱 상세하게는 영상 신호의 양자화시에 화면의 변경 상태에 대응하여 양자화 준위를 변경시키는 영상 부호화 장치의 양자화 준위 변경 방법에 관한 것이다.The present invention relates to a video compression transmission method, and more particularly, to a method of changing a quantization level of a video encoding apparatus in which a quantization level is changed in response to a change state of a screen at the time of quantization of a video signal.

일반적으로, 영상 압축 전송을 위한 영상 부호화 장치는 영상 전화기(video phone), 영상 회의(video conference)등과 같은 영상 서비스를 제공하는 장치들과차세대 디지탈 방식의 고화질 텔레비젼(HDTV)의 신호처리 기술로서, 신호의 왜곡을 최소화하면서 영상 정보를 효율적으로 표현하도록 제한된 전송 대역을 갖는 채널(channel)로 영상 데이터를 전송하기 위하여 영상 데이터를 부호화하는 장치이다.In general, a video encoding apparatus for video compression transmission is a device for providing video services such as a video phone, a video conference, and the like, and a signal processing technology of a next generation digital high definition television (HDTV). An apparatus for encoding image data in order to transmit image data to a channel having a limited transmission band so as to efficiently represent image information while minimizing distortion of a signal.

제1도에는 영상 데이터를 압축하여 부호화하는 일반적인 영상 부호화기의 블록도가 도시되어 있다. 이와 같은 일반적인 영상 부호화기는 움직임 추출기(10), 프레임 저장 및 예측기(20), 감산기(30), 이산 코사인 변환(DCT)(40), 양자화기(50), 역양자화기(60), 역이산 코사인 변환(IDCT)(70), 가산기(80), 가변 길이 부호기(VLC)(100), MUX(110), 버퍼(120) 및 조절기(130)로 구성된다.1 is a block diagram of a general video encoder for compressing and encoding video data. Such a general image encoder includes a motion extractor 10, a frame storage and predictor 20, a subtractor 30, a discrete cosine transform (DCT) 40, a quantizer 50, an inverse quantizer 60, and inverse discrete Cosine transform (IDCT) 70, adder 80, variable length coder (VLC) 100, MUX 110, buffer 120, and regulator 130.

움직임 추출기(10)는 디지탈 영상신호의 프레임을 입력하여 프레임의 움직임 정보, 즉 움직임 베터(motion vector)와 화상의 모드(picture mode)를 추출한다. 프레임 저장 및 예측기(20)는 움직임 추출기(20)로부터 추출된 움직임 정보와 사전에 저장되어 있는 이전 프레임을 이용하여 움직임 추출기(20)로 입력되는 부호화 순서로 조절된 프레임을 예측한다. 감산기(30)는 움직임 추출기(10)로부터 출력되는 데이터를 변환 부호화하기 전에 프레임 저장 및 예측기(20)에서 예측한 데이터로 감산하여 프레임간의 중복성을 제거한다. DCT(40)는 상기 감산기(30)로부터의 예측 오차를 입력하여 공간 방향으로의 중복을 압축한다.The motion extractor 10 inputs a frame of a digital video signal to extract motion information of the frame, that is, a motion vector and a picture mode. The frame storage and predictor 20 predicts a frame adjusted in the encoding order input to the motion extractor 20 by using the motion information extracted from the motion extractor 20 and the previous frame stored in advance. The subtractor 30 removes redundancy between frames by subtracting the data output from the motion extractor 10 to data predicted by the frame storage and predictor 20 before transform encoding the data. The DCT 40 inputs the prediction error from the subtractor 30 to compress the overlap in the spatial direction.

양자화기(50)는 DCT(40)로부터 출력된 압출된 신호를 입력하여 기설정된 양자화 준위에 의해 할당하게 된다. VLC(100)는 양자화기(50)를 통해 양자화된 변환계수에 포함된 각 코드 워드의 발생 빈도에 따라 발생 빈도가 큰 코드 워드는 짧은 길이의 코드 워드로 변환하고, 발생 빈도가 작은 코드 워드는 긴 길이의 코드 워드로 표시하여 전체 데이터량을 감축한다. MUX(110)는 VLC(100)를 통해 압축된 데이터를 움직임 추출기(10)에서 제공하는 움직임 정보에 따라 버퍼(120)로 전달한다. 버퍼(120)는 MUX(110)를 통해 출력되는 데이터를 일정한 대역폭의 채널로 전송할 수 있도록 데이터를 임시 수용하면서 MUX(110)로 출력되는 데이터량을 제어할 수 있는 제어 신호를 발생한다. 조절기(130)는 버퍼(120)내의 데이터의 고갈 또는 넘치지 않도록 양자화기(50)의 양자화 준위를 조절함으로써 데이터량을 일정하게 유지하도록 한다.The quantizer 50 inputs the extruded signal output from the DCT 40 and allocates it by a preset quantization level. The VLC 100 converts a code word having a high occurrence frequency into a short length code word according to a frequency of occurrence of each code word included in the quantized transform coefficient through the quantizer 50, and a code word having a low occurrence frequency. The total data amount is reduced by displaying a long code word. The MUX 110 transfers the compressed data through the VLC 100 to the buffer 120 according to the motion information provided by the motion extractor 10. The buffer 120 generates a control signal capable of controlling the amount of data output to the MUX 110 while temporarily accommodating the data so that the data output through the MUX 110 can be transmitted through a channel having a predetermined bandwidth. The controller 130 keeps the data amount constant by adjusting the quantization level of the quantizer 50 so as not to exhaust or overflow the data in the buffer 120.

한편 역양자화기(60) 및 IDCT(70)는 양자화기(50) 및 DCT(40)의 역과정으로서 양자화기(50)에서 출력되는 신호를 변환 부호화 이전의 차이 신호로 복원한다. 가산기(80)는 IDCT(70)된 신호와 프레임 저장 및 예측기(20)를 통과한 신호를 가산하여 다음 프레임이 입력될 때에 전술한 동작 과정을 위해 다시 블록(20)으로 전달한다.Meanwhile, the inverse quantizer 60 and the IDCT 70 restore the signal output from the quantizer 50 as a reverse process of the quantizer 50 and the DCT 40 to a difference signal before transform encoding. The adder 80 adds the signal passed through the IDCT 70 and the signal passing through the frame storage and predictor 20 and transfers it to the block 20 again for the above-described operation process when the next frame is input.

이와 같이 구성된 일반적인 영상 부호화기에서 영상은 원근 이동(zooming), 평면이동(panning)등에 의하여 화면이 급격하게 변화할 수 있다.In the general image encoder configured as described above, the image may be rapidly changed due to perspective movement, panning, and the like.

이러한 화면 변화는 화질의 급격한 열화를 가져오게 되고, 열화된 화질을 정상 상태로 복귀시키는데에는 상당한 시간이 소요된다.This screen change causes a sharp deterioration in image quality, and it takes a considerable time to return the deteriorated image quality to a normal state.

즉, 급격한 화면의변화는 움직임 정보의 추출을 힘들게 하는 바, 큰 오차를 유발시킬 수 있다. 또한 급격한 화면 변화에 의하여 메크로 블록은 인트라 모드로 판별될 수 있으며, 이에 따라 데이터량의 급속한 증가를 유발시킨다. 데이터의 급격한 증가는 양자화 준위의 상승을 불러오고, 양자화 준위의 상승에 의하여 화면의 열화가 발생하는 것이다.That is, a sudden change in the screen makes it difficult to extract motion information, which may cause a large error. In addition, due to a sudden screen change, the macro block may be identified as an intra mode, thereby causing a rapid increase in the amount of data. The sudden increase in data causes an increase in the quantization level, and deterioration of the screen occurs due to the increase in the quantization level.

양자화 준위의 상승에 의한 화질의 열화는 다시 정확한 움직임 정보의 축출을 방해하는 일원인이 되는 바, 화면의 열화를 불러오게 된다. 이와 같은 반복 과정은 통상 10 프레임 정도가 경과하여야 정상 상재로 복귀하게 된다.The deterioration of the image quality due to the rise of the quantization level causes the deterioration of the accurate motion information, which leads to the deterioration of the screen. This repetition process usually returns to normal when about 10 frames have elapsed.

본 발명은 이러한 문제점을 해결하기 위하여 안출한 것으로서, 본 발명의 목적은, 화면의 급격한 변화를 검출하고, 화면의 급격한 변화가 검출되면 DCT 변환계수들중에서 고주파수 성분들에 대한 양자화 준위를 크게 하므로써 부호화된 데이터량을 감축할 수 있게 하는 영상 부호화 장치의 양자화 준위 변경 방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to detect a sudden change in a screen, and when a sudden change in a screen is detected, by encoding a quantization level for high frequency components among DCT transform coefficients. The present invention provides a method of changing a quantization level of a video encoding apparatus that can reduce the amount of data.

본 발명에 따른 영상 부호화 장치의 양자화 준위 변경 방법은, 영상 신호를 메크로 블록 단위로 이산 코사인 변환 후 양자화 처리를 행하는 영상 압축 방법에 있어서, 영상 신호의 움직임 보상/비움직임 보상 판단 곡선에서 상기 메크로 블록의 영상 신호가 프레임 차(FD)의 문턱값(T1)이상이며, 인터/인트라 판단 곡선에서 상기 영상 신호가 변위 프레임차(DFD)의 문턱값(T2) 이상인 영역에 존재하여 화면 변경 메크로 블록인가를 판단하는 단계와; 화면 변경 메크로 블록으로 판단된 메크로 블럭이 소정의 문턱값(T3) 이상인가를 판단하는 단계와; 화면 변경 메크로 블록으로 판단된 메크로 블록이 소정의 문턱값(T3)이상이면, 이산 코사인 변환 계수의 고주파 성분에 대한 양자화 준위를 상승시키는 단계를 구비를 포함한다.A method of changing a quantization level of an image encoding apparatus according to the present invention is a video compression method in which a quantization process is performed after discrete cosine transforming of an image signal in units of macro blocks, wherein the macro block is determined from a motion compensation / motion compensation determination curve of an image signal. The image signal is greater than or equal to the threshold value T1 of the frame difference FD, and the image signal is present in an area greater than or equal to the threshold value T2 of the displacement frame difference DFD in the inter / intra determination curve, thereby applying a screen change macroblock. Determining; Determining whether the macro block determined as the screen change macro block is greater than or equal to a predetermined threshold value T3; And increasing the quantization level of the high frequency component of the discrete cosine transform coefficient if the macro block determined as the screen change macro block is equal to or greater than a predetermined threshold value T3.

이하, 본 발명을 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, described in detail with reference to the accompanying drawings of the present invention.

제2도는 본 발명에 따른 화면 변경에 대한 정상상태로의 수렴속도를 개선하는 영상 압축 방법을 구현하기 위한 개선된 영상 부호화기를 도시한 블록도이다.2 is a block diagram illustrating an improved image encoder for implementing an image compression method for improving a convergence speed to a steady state for a screen change according to the present invention.

개선된 영상 부호화기는 블록(200) 및 (400)으로 구성된다. 여기서, 블록(200)은 상술한 바와 동일한 종래 기술로써, 움직임 추출기(210), 프레임 저장 및 예측기(220), 감산기(230), DCT(240), 양자화기(250), 역양자화기(260), IDCT(270), 가산기(280), 버퍼(290) 및 조절기(300)를 포함하며, 블록(400)은 본 발명을 구현하기 위해 화면 변경 검출기(410) 및 컨버젼시(convergency) 장치(420)로 구성되어 종래 기술의 블록(200)에 접속된다.The improved image encoder consists of blocks 200 and 400. Here, the block 200 is the same conventional technique as described above, the motion extractor 210, the frame storage and predictor 220, the subtractor 230, the DCT 240, the quantizer 250, the inverse quantizer 260 ), IDCT 270, adder 280, buffer 290, and adjuster 300, block 400 includes screen change detector 410 and a convergence device to implement the present invention. 420 and connected to a block 200 of the prior art.

따라서, 상기 선행기술의 블록(200)은 일반적인 기술로서 이 기술 분야의 전문가들은 쉽게 이해할 수 있으며, 또한 상기에 각 블록들의 기능 및 전체 동작과정을 설명하였으므로 여기서는 생략하기로 하며, 단지 블록(400)만을 상세히 설명한다.Accordingly, the block 200 of the prior art is a general technology that can be easily understood by those skilled in the art, and since the functions and the entire operation of each block have been described above, a description thereof will be omitted herein. Only the bay will be explained in detail.

블록(400)은 전술한 바와 같이 화면 변경시에 화면의 변경을 검출하는 방법을 제공한다.Block 400 provides a method of detecting a change in a screen when changing the screen as described above.

예컨데 영상 시퀀스내에서의 갑작스런 화면 변경이 발생했을 경우 두 프레임의 상관성이 낮고 프레임간의 움직임 추출이 불량하기 때문에 두 프레임간의 차(frame difference : FD)가 크고, 또한 현재 프레임과 움직임 벡터만큼 이동시킨 이전 프레임과의 차이 신호, 즉 변위 프레임차(desplaced frame difference ; DFD)도 크다.For example, in case of sudden screen change in the image sequence, the difference between the two frames is large because the correlation between two frames is low and the motion extraction between frames is poor. The difference signal with the frame, that is, the displacement frame difference (DFD), is also large.

따라서, 본 발명에서는 화면 변경 검출기(410)가 CCITT 권고에서 제안된 MC/비 MC 결정 방법과 인트라/비인트라 결정 방법을 결합해서 화면 변경을 검출하는 방법을 설명한다.Accordingly, the present invention describes a method in which the screen change detector 410 detects a screen change by combining the MC / non MC determination method and the intra / non intra determination method proposed in the CCITT Recommendation.

제3도(a)에는 전술한 MC/비 MC 결정방법이 도시되며, 여기서 Z는 FD의 절대차이고, M은 DFD의 절대차를 나타낸다.FIG. 3 (a) shows the aforementioned MC / non-MC determination method, where Z is the absolute difference of FD and M is the absolute difference of DFD.

제3도(b)에는 인트라/비인트라 결정 방법이 도시되며, 여기서 Vard는 매크로 블록의 DFD 변경을 나타내며, Varc는 매크로 블록의 변경을 나타낸다.In Fig. 3 (b), an intra / non-intra determination method is shown, where Vard represents a DFD change of a macro block, and Varc represents a change of a macro block.

먼저 움직임 추정의 불량은 제3도(a)에서 우측 상위에 각 매크로 블록들을 위치하도록 하며, DFD 신호의 변경이 원신호의 변경보다 크게 만들기 때문에 제3도(b)에서는 우측 하위에 각 매크로 블록들을 위치시킨다.First, the poor motion estimation places each macro block on the upper right side in FIG. 3 (a), and each macro block on the lower right side in FIG. 3 (b) because the change of the DFD signal makes it larger than the change of the original signal. Place them.

다음 식(1)은 각 매크로 블록에 대해서 화면 변경을 판별하는 수식이다.The following equation (1) is a formula for determining the screen change for each macro block.

SCMB = (FD ≥ T1, 비 MC) 및 (Vard ≥ T2, 인트라) (1)SCMB = (FD ≥ T1, non MC) and (Vard ≥ T2, intra) (1)

여기서, SCMB는 화면 변경 매크로 블록을 나타내고, T1는 상기 FD의 문턱값(threshold value)이며, T2는 DFD 변경의 문턱값을 나타낸다.Here, SCMB represents a screen change macro block, T1 represents a threshold value of the FD, and T2 represents a threshold value of the DFD change.

상기 수식(1)은 각 매크로 블록에 대해서 화면 변경을 판별하는 수식으로서 MC/비 MC 결정방법에서 FD가 T1 이상이 되어 비 MC 영역에 매크로 블록이 위치하며, 인트라/비인트라 결정방법에서 Vard가 T2 이상이 되어 인트라 영역에 매크로 블록이 위치하며 이 매크로 블록은 화면 변경 매크로 블록으로 판단하게 된다.Equation (1) is a formula for determining a screen change for each macro block. In the MC / non MC determination method, the FD is greater than or equal to T1 and the macro block is located in the non-MC region. The macro block is located in the intra area due to T2 or more, and the macro block is determined as a screen change macro block.

다음 식(2)은 전술한 식(1)에서 이미 결정된 화면 변경된 매크로 블록의 수를 계수(count)해서 이 계수값으로 화면 변경이 일어났음을 결정하는 수식이다.The following equation (2) is a formula for counting the number of screen changed macroblocks already determined in the above-described equation (1) and determining that the screen change has occurred with this count value.

화면 변경 = SCMB의 수 ≥ T3 (2)Screen change = number of SCMB ≥ T3 (2)

여기서, T3는 화면 변경의 판별을 결정하는 화면 변경 매크로 블록 수의 문턱값을 나타낸다.Here, T3 represents a threshold value of the number of screen change macroblocks for determining screen change determination.

식(2)에서 볼수 있는 바와 같이 상기 식(1)에서 결정된 화면 변경 매크로 블록을 계수한 수가 프레임내에서 T3 이상일 경우는 원근이동, 평면이동 등의 화면 변경이 발생하였음을 결정한다.As can be seen from Equation (2), when the number of screen change macroblocks determined in Equation (1) is greater than or equal to T3 in the frame, it is determined that a screen change such as perspective movement or plane movement has occurred.

전술한 바와 같은 방법으로 화면 변경이 발생하였음을 화면 변경 검출기(410)에서 검출한 경우에, 컨버젼시 장치(420)는 이를 전달받아 정상 상태의 부호화로 수렴하는 속도를 향상시키도록 작동한다.When the screen change detector 410 detects that the screen change has occurred in the above-described manner, the conversion device 420 receives the change and operates to improve the speed of convergence to the steady state encoding.

본 발명에서는 전술한 일반적인 영상 부호화기에서의 문제점에서 화면 변경시 일단 데이터 폭주 현상을 줄이기 위하여 다음과 같은 방법을 제시하였다.In the present invention, the following method is proposed to reduce the data congestion phenomenon when changing the screen in the above-described problem of the general image encoder.

즉, 화면 변경시에 DCT(240)를 통해 변환된 변환 계수들중에서 고주파수(high frequency) 성분들을 제4도에 도시된 인트라 매크로 블록의 양자화 구조와 유사하게 선행 양자화 수행 기법보다 훨씬 더 거칠게 양자화하게 함(양자화 준위를 크게함)으로써 움직임 보상의 불량으로 인해 발생하는 고주파수 에러를 감소시킨다. 이에 따라 부호화기내의 데이터 복원(reconstruction)오차를 감소하여 예측 오차를 감소하게 되며, 이와 같은 예측 오차의 감소는 결국 상기 버퍼(290)로의 데이터 폭주를 감소하게 된다. 따라서 정상 상태로의 수렴 속도를 선행 부호화 방법에 비해 훨씬 빠르게 할 수 있다.That is, high frequency components among the transform coefficients transformed through the DCT 240 upon screen change are quantized to be much coarser than the prior quantization technique similarly to the quantization structure of the intra macroblock shown in FIG. By increasing the quantization level, high frequency errors caused by poor motion compensation are reduced. Accordingly, the prediction error is reduced by reducing the data reconstruction error in the encoder, and this reduction of the prediction error reduces the data congestion to the buffer 290. Therefore, the convergence speed to a steady state can be much faster than the previous coding method.

다음 식(3)은 전술한 방법에 의해 정상 상태로 되돌아 왔음을 결정하는 수식이다.The following equation (3) is a formula for determining that the normal state has been returned by the above-described method.

정상 상태 = (프레임내의 인트라 블록수 ≤ T4) 및 (T5 ≤ Q ≤ T6)을 갖는 양자화 준위의 빈도수 ≥ T7 (3)Steady state = frequency of quantization levels with (intra-blocks in frame ≤ T4) and (T5 ≤ Q ≤ T6) ≥ T7 (3)

여기서 T4는 인트라 영역으로 선택되는 매크로 블록의 수를 나타내고, T5 및 T6은 조절기로부터 반환되는 양자화 준위를 나타내며 T7은 양자화 준위의 일정 범위의 빈도수를 나타낸다.Here, T4 represents the number of macro blocks selected as the intra region, T5 and T6 represent quantization levels returned from the controller, and T7 represents a range of frequencies of the quantization levels.

즉, 식(3)은 정상 상태의 판별은 인트라 블록수와 버퍼로부터 궤환되는 양자화 준위에 의해 결정됨을 나타낸다. 이와 같이 정상 상태로 된 이후에는 일반적인 방법에 의해 계속 부호화를 진행한다.That is, equation (3) indicates that the determination of the steady state is determined by the number of intra blocks and the quantization level fed back from the buffer. After the normal state, encoding is continued by the general method.

전술한 바와 같이 본 발명은 화면 변경됨을 검출한 후 컨버젼시 장치를 이용하여 움직임 보상형 예측 오차의 이산 코사인 변환한 결과에 대한 양자화로서 고주파수 성분을 거칠게 양자화하여 움직임 보상의 불량으로 인해 발생하는 고주파 에러를 압축하고, 부호화기내의 데이터 복원 오차를 감소하여 예측 오차를 감소하며, 이로 인해 버퍼로의 데이터 폭주를 감소하여 정상 상태로의 수렴속도를 훨씬 빠르게 수행할 수 있는 커다란 이점이 있다.As described above, the present invention is a quantization of the result of the discrete cosine transform of the motion-compensated prediction error after detecting the screen change, and then roughly quantizes the high-frequency component to generate a high frequency error caused by the poor motion compensation. Compression, and reduce the data recovery error in the encoder to reduce the prediction error, thereby reducing the data congestion to the buffer has a great advantage that can perform the convergence to a steady state much faster.

Claims (2)

영상 신호를 메크로 블록 단위로 이산 코사인 변환 후 양자화 처리를 행하는 영상 압축 방법에 있어서, 상기 영상 신호의 움직임 보상/비움직임 보상 판단 곡선에서 상기 메크로 블록의 영상 신호가 비움직임 보상 영역에 존재하고, 인터/인트라 판단 곡선에서 상기 영상 신호가 인트라 영역에 존재하여 화면 변경 메크로 블록인가를 판단하는 단계와; 상기 화면 변경 메크로 블록으로 판단된 메크로 블록의 갯수가 1 프레임당 소정의 문턱값(T3)이상인가를 판단하는 단계와; 상기 화면 변경 메크로 블록으로 판단된 메크로 블록의 갯수가 소정의 문턱값(T3)이상이면, 상기 이산 코사인 변환 계수의 고주파 성분에 대한 양자화 준위를 상승시키는 단계를 구비하는 영상 부호화 장치의 양자화 준위 변경 방법.In an image compression method for performing quantization after discrete cosine transform of a video signal in units of macro blocks, the video signal of the macro block is present in a motion compensation region in a motion compensation / motion compensation determination curve of the video signal. Determining whether a video change macroblock exists in an intra region in an intra determination curve; Determining whether the number of the macroblocks determined as the screen change macroblocks is greater than or equal to a predetermined threshold value T3 per frame; And raising the quantization level for the high frequency component of the discrete cosine transform coefficients if the number of the macroblocks determined as the screen change macroblocks is greater than or equal to a predetermined threshold value T3. . 제1항에 있어서, 상기 이산 코사인 변환 계수의 고증파 성분에 대한 양자화 준위의 상승 후에 프레임내의 인트라 블록수가 소정 문턱값(T4)(인트라 영역으로 선택되는 매크로 블록의 수) 보다 작고, 상기 양자화 준위가 소정의 문턱값(T5 와 T6)사이에 존재하는 빈도수가 소정의 문턱값(T7)보다 클때 정상 양자화 준위로 복귀하는 단계를 더 구비하는 것을 특징으로 하는 영상 부호화 장치의 양자화 준위 변경 방법.2. The quantization level according to claim 1, wherein the number of intra blocks in a frame is smaller than a predetermined threshold T4 (number of macro blocks selected as intra regions) after the quantization level of the discrete cosine transform coefficient is increased for the high frequency component. Returning to the normal quantization level when the frequency present between the predetermined thresholds (T5 and T6) is greater than the predetermined threshold (T7).
KR1019930012116A 1993-06-30 1993-06-30 Method for changing quantizer step size KR0128861B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930012116A KR0128861B1 (en) 1993-06-30 1993-06-30 Method for changing quantizer step size

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930012116A KR0128861B1 (en) 1993-06-30 1993-06-30 Method for changing quantizer step size

Publications (2)

Publication Number Publication Date
KR950002467A KR950002467A (en) 1995-01-04
KR0128861B1 true KR0128861B1 (en) 1998-04-10

Family

ID=19358352

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930012116A KR0128861B1 (en) 1993-06-30 1993-06-30 Method for changing quantizer step size

Country Status (1)

Country Link
KR (1) KR0128861B1 (en)

Also Published As

Publication number Publication date
KR950002467A (en) 1995-01-04

Similar Documents

Publication Publication Date Title
US5870146A (en) Device and method for digital video transcoding
US5461422A (en) Quantizer with automatic pre-threshold
KR19990036646A (en) Video frame sequence encoding system and method thereof, computer program product
US5844607A (en) Method and apparatus for scene change detection in digital video compression
EP1838108A1 (en) Processing video data at a target rate
WO2006074043A2 (en) Method and apparatus for providing motion estimation with weight prediction
JPH089375A (en) Inverse discrete cosine transformation anticoincidence controller and picture encoding device
JP2002010261A (en) Image coding transform apparatus
US7236529B2 (en) Methods and systems for video transcoding in DCT domain with low complexity
US6480544B1 (en) Encoding apparatus and encoding method
KR0128859B1 (en) Adaptive image coding controller
KR970004924B1 (en) Improved motion vector transmission apparatus and method using layered coding
KR0128861B1 (en) Method for changing quantizer step size
KR0128858B1 (en) Apparatus for deciding frame type
KR100357089B1 (en) Frame reconstruction device of mpeg video encoder
KR100317355B1 (en) System for encoding motion picture video signals
KR100213283B1 (en) Moving picture encoder
JPH0646411A (en) Picture coder
KR0124162B1 (en) Prediction coding method
KR100778473B1 (en) Bit rate control method
KR100635009B1 (en) Mothod and apparatus for motion estimation considering total moving of image
JP4359273B2 (en) Coding mode selection method
KR0124157B1 (en) Image encoding apparatus
KR0178226B1 (en) Method for correcting distort factor in image encoder
KR0157467B1 (en) Moving image encoding method and device

Legal Events

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