KR100212327B1 - Method and device for quantizing digital video signals - Google Patents

Method and device for quantizing digital video signals Download PDF

Info

Publication number
KR100212327B1
KR100212327B1 KR1019960025366A KR19960025366A KR100212327B1 KR 100212327 B1 KR100212327 B1 KR 100212327B1 KR 1019960025366 A KR1019960025366 A KR 1019960025366A KR 19960025366 A KR19960025366 A KR 19960025366A KR 100212327 B1 KR100212327 B1 KR 100212327B1
Authority
KR
South Korea
Prior art keywords
discrete cosine
cosine transform
quantization
transform coefficients
segment
Prior art date
Application number
KR1019960025366A
Other languages
Korean (ko)
Other versions
KR980004754A (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 KR1019960025366A priority Critical patent/KR100212327B1/en
Publication of KR980004754A publication Critical patent/KR980004754A/en
Application granted granted Critical
Publication of KR100212327B1 publication Critical patent/KR100212327B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10037A/D conversion, D/A conversion, sampling, slicing and digital quantisation or adjusting parameters thereof

Landscapes

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

Abstract

본 발명은 디지털 영상신호 양자화 방법 및 장치에 관한 것으로서, 이는 영상에 대한 이산여현변환 계수를 세그먼트 지연버퍼에 바로 저장하지 않고 크래스번호 결정 및 초기 축척수행 후에 축척 이산여현변환(DCT)계수를 저장하여 양자화번호 결정을 위한 실시간처리를 용이하도록 하고 하드웨어를 간소화시키도록 한 것이다.The present invention relates to a digital video signal quantization method and apparatus, which does not store discrete cosine transform coefficients for an image directly in a segment delay buffer but stores scale discrete cosine transform (DCT) coefficients after class number determination and initial scaling. It facilitates real-time processing for quantization number determination and simplifies hardware.

이와 같은 본 발명은 입력 화소의 블록에 이산여현변환 연산을 수행하여 얻어진 변환 계수로부터 크래스번호를 결정하는 단계와; 상기 단계에서 얻어진 이산여현변환 계수를 저장하는 단계와; 상기 결정된 크래스번호와 저장되어 얻어진 이산여현변환계수를 일정 비트열로 축척하는 단계와; 상기 축척되어 얻어진 이산여현변환 계수와 크래스번호에 기인하여 세그먼트 기간동안 양자화번호를 결정하는 단계와; 상기 축척 이산여현변환 계수 및 크래스번호를 세그먼트단위로 저장하는 단계와; 상기 저장된 축척 이산여현변환 계수를 상기 결정된 크래스번호 및 양자화번호에 기인하여 세그먼트 단위로 양자화를 수행하는 단계로 이루어짐을 특징으로 한다.The present invention as described above comprises the steps of: determining a class number from a transform coefficient obtained by performing a discrete cosine transform operation on a block of an input pixel; Storing the discrete cosine transform coefficients obtained in the step; Accumulating the determined class number and the stored discrete cosine transform coefficient into a predetermined bit string; Determining a quantization number during the segment period based on the scaled discrete cosine transform coefficient and the class number; Storing the scaled discrete cosine transform coefficients and class numbers in segments; And performing quantization of the stored scaled discrete cosine transform coefficients on a segment basis based on the determined class number and quantization number.

Description

디지털 영상신호 양자화 방법 및 그 장치Digital video signal quantization method and apparatus

제1도는 종래 디지털 영상 기록재생기의 양자화장치를 도시한 블록도.1 is a block diagram showing a quantization apparatus of a conventional digital video recorder.

제2도는 제1도 양자화번호를 결정하기 위한 1세그먼트 기간의 파형도.2 is a waveform diagram of one segment period for determining the first figure quantization number.

제3도는 본 발명 디지털 영상신호 양자화장치를 도시한 실시예 블록도.3 is a block diagram of an embodiment of a digital video signal quantization device of the present invention.

제4도는 제3도에 따른 양자화번호를 결정하기 위한 1세그먼트 기간을 보인 파형도로서,4 is a waveform diagram showing one segment period for determining a quantization number according to FIG.

제4(a)도는 양자화번호를 결정하기 위한 이전의 세크먼트 인터발을 나타낸 설명도이고,4 (a) is an explanatory diagram showing a previous segment interval for determining a quantization number,

제4(b)도는 크레스번호 및 초기 축척후의 양자화번호를 결정하기 현재의 세그먼트 인터발을 나타낸 설명도이다.4 (b) is an explanatory diagram showing a segment interval present to determine the crest number and the quantization number after the initial scale.

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

201 : 이산여현변환부 202 : 지그재그 주사부201: discrete cosine conversion unit 202: zigzag scanning unit

203 : 크래스넘버 결정부 204 : 블록지연 버퍼부203: Class number determining unit 204: Block delay buffer unit

205 : 초기 스캘링부 206 : 양자화번호 결정부205: Initial scaling unit 206: Quantization number determination unit

207 : 세그먼트지연 버퍼부 208 : 양자화/런렝스 부호화부207: segment delay buffer unit 208: quantization / run length coding unit

209 : 가변길이 부호화부209 variable length encoder

본 발명은 디지털 기록 재생장치에서의 영상 데이터 양자화를 위한 양자화번호 결정에 관한 것으로, 좀더 상세하게는 입력 영상에 대한 이산여현 변환 계수를 세그먼트 지연버퍼에 바로 저장하지 않고 크래스번호 결정 및 초기 축척수행 후에 축척 이산여현변환(DCT) 계수를 저장하여 양자화번호 결정을 위한 실시간처리를 용이하도록 하고 하드웨어를 간소화시키도록 하는 디지털 영상신호 양자화 방법 및 그 장치에 관한 것이다.The present invention relates to a quantization number determination for quantization of image data in a digital recording and reproducing apparatus, and more particularly, after class number determination and initial scale performance without storing discrete cosine transform coefficients of an input image in a segment delay buffer. A digital video signal quantization method and apparatus for storing scale discrete cosine transform (DCT) coefficients to facilitate real-time processing for quantization number determination and simplify hardware.

일반적으로, 디지털 기록 재생장치에서 양자화 기법은 입력 영상을 매크로 블록(MB; macroblock) 단위로 분할하여 영상의 국부적인 시각적 중요도를 추출하고, 추출된 시각적 중요도와 출력 채널버퍼 상태를 고려하여 적절한 양자화 하중치(weight)값을 결정, 예컨대, 3, 8, 9를 결정한다.In general, in a digital recording and reproducing apparatus, a quantization technique extracts a local visual significance of an image by dividing an input image into macroblock (MB) units, and considers the extracted visual importance and an output channel buffer state to obtain an appropriate quantization load. A weight value is determined, for example, 3, 8, 9 are determined.

그러나, 시각특성을 추출하는 단위인 매크로블록(MB)이 때로는 여러 가지 시각특성을 동시에 내포할 수도 있기 때문에 단일한 시각적 중요도로 표현하기가 매우 어려우며, 이로 인해 압축/복원 과정을 거친 영상의 특정부분에 대해 복원화질의 주관적 성능이 저하될 수도 있다.However, since macroblock (MB), a unit for extracting visual features, may sometimes contain several visual features at the same time, it is very difficult to express them with a single visual significance. The subjective performance of reconstruction quality may be degraded.

이산여현 변환(DCT)과정은 영상 데이터들의 블록(block)을 변환계수(coefficient)들의 새로운 블록으로 변환하는 것이다.The discrete cosine transform (DCT) process converts a block of image data into a new block of transform coefficients.

실험적으로 이산여현 변환(DCT)블록의 크기를 8×8 픽셀(Pixel)보다 크게 하여도 계산의 복잡도가 증가하는데 비하여 화질개선 효과가 그렇게 크지 않기 때문에 이산여현 변환블록의 크기는 8×8로 하게 된다.Experimentally, even if the size of the discrete cosine transform (DCT) block is larger than 8 × 8 pixels (Pixel), the computational complexity increases, but the size of the discrete cosine transform block is 8 × 8. do.

상기 이산여현 변환과정에 의해 변환된 각 이산여현 변환 계수들은 코딩 효율을 높이기 위하여 양자화 과정을 거친 후 부호화된다.The discrete cosine transform coefficients transformed by the discrete cosine transform process are encoded after quantization to improve coding efficiency.

양자화 단계에서는 먼저 각각의 이산여현변환 계수에 하중치(weighting)를 가하고 디코더측으로의 전송을 위해서 8비트를 선택하게 된다.In the quantization step, first, weighting is applied to each discrete cosine transform coefficient, and 8 bits are selected for transmission to the decoder side.

각각의 이산여현변환 계수에 가해지는 하중치들은 한번 설정이 되고 나면 고정되어 변환하지 않는다.The loads applied to each discrete cosine transform coefficient are fixed once they are set and do not convert.

양자화 하중치는 8×8의 이산여현변환 계수들에 대한 축척팩터(scaling factor)를 나타내며 수평주파수는 왼쪽에서 오른쪽으로 갈수록 증가하고, 수직 주파수는 위에서 아래로 갈수록 증가하게 된다.The quantization load represents a scaling factor for discrete cosine transform coefficients of 8x8, with the horizontal frequency increasing from left to right and the vertical frequency increasing from top to bottom.

그리고, 12비트로 표현되는 이산여현변환 계수의 초기값들은 하중치 팩터에 의해 나누어지고 전송을 위해 정해진 비트율에 맞추기 위해 양자화 팩터에 의해서 부가적인 축척이 가해진다.The initial values of the discrete cosine transform coefficients represented by 12 bits are then divided by the load factor and an additional scale is added by the quantization factor to match the bit rate determined for transmission.

양자화 팩터는 화상의 복잡도와 시각특성에 의해 주기적으로 조절되는 양자화 레벨에 의해 결정된다.The quantization factor is determined by the quantization level which is periodically adjusted by the complexity and visual characteristics of the image.

양자화 레벨은 0에서 31까지 변화하며, 0값에서 가장 좋은 해상도를 가지도록 조절된다.The quantization level varies from 0 to 31 and is adjusted to have the best resolution at zero.

양자화 레벨 31은 디코더측에 보내주는 정보가 없음을 표시하기 위해서 사용된다.Quantization level 31 is used to indicate that no information is sent to the decoder side.

12비트의 이산여현변환 계수는 양자화 하중치와 양자화 팩터에 의해 축척이 된 후에 최하위비트부터 8비트가 선택된다.The 12-bit discrete cosine transform coefficient is selected by the least significant 8 bits after being scaled by the quantization load value and the quantization factor.

대부분의 경우 최상위비트부터 4비트는 0이 될 것이므로 정보의 손실은 발생하지 않는다.In most cases, the most significant bits of the four bits will be zero, so there is no loss of information.

그러나, 양자화 하중치와 양자화 팩터들이 작은 경우에는 오버플로우나 언더플로우가 발생하지 않도록 양자화후에 얻어진 계수를 클램핑하여 전송하게 된다.However, when the quantization load values and the quantization factors are small, the coefficients obtained after quantization are clamped and transmitted so that overflow or underflow does not occur.

이와 같은 디지털 기록 재생장치의 양자화에 있어서, 입력 영상신호의 고능률부호화에서는 1블록으로서 수평 8화소 및 수직 8화소의 합계 64화소를 가진 이산여현 변환계수를 주로 사용하고 있다.In the quantization of such a digital recording / reproducing apparatus, the discrete cosine transform coefficient having a total of 64 pixels of 8 horizontal pixels and 8 vertical pixels is mainly used as a high efficiency encoding of an input video signal.

그리고, 상기 이산여현 변환 계수는 세그먼트 단위로 양자화 되는데, 그 세그먼트는 30개의 이산여현 변환 블록으로 구성되어 있다.The discrete cosine transform coefficients are quantized in units of segments, and the segment is composed of 30 discrete cosine transform blocks.

즉 다시말해서, 1세그먼트는 5매크로블록으로 구성되고 1매크로블록은 6이산여현 변환블록으로 구성되며, 1이산여현변환 블록은 수평 8화소, 수직 8화소의 도합 64화소로 구성된다.In other words, one segment is composed of five macroblocks, one macroblock is composed of six discrete cosine transform blocks, and one discrete cosine transform block is composed of a total of 64 pixels of eight horizontal pixels and eight vertical pixels.

덧붙여 말하면, 1세그먼트는 1920화소(1세그먼트 = 5매크로블록 = 30DCT 블록 = 1920 화소)를 가진다.Incidentally, one segment has 1920 pixels (one segment = 5 macroblocks = 30DCT blocks = 1920 pixels).

따라서, 하드웨어 구성시 세그먼트 인터발(Segment Interval)을 2048클럭으로 하여 구성해야 하고 1세그먼트 기간동에 5매크로 블록에 대한 양자화 번호와 크래스번호를 결정하여 그 결정된 양자화번호 및 크래스번호를 가지고 1세그먼트 지연되어 입력되는 이산여현변환 계수를 양자화부를 통해 양자화하게 된다.Therefore, when the hardware is configured, the segment interval should be configured to be 2048 clocks, and the quantization number and class number for 5 macro blocks are determined during one segment period, and one segment is delayed with the determined quantization number and class number. The input discrete cosine transform coefficient is quantized through the quantization unit.

그러나, 이와 같은 디지털 기록 재생장치에서의 양자화 방법은 1세그먼트 기간동안에 5매크로블록에 대한 양자화를 결정해야 하는데 기본적으로 5매크로블록에 대한 이산여현 변화계수를 읽어들이는데 1920 클럭이 소요되기 때문에 양자화번호 및 크래스번호를 결정할 수 있는 시간이 64클럭 이내로 제한되는 단점이 있다.However, the quantization method in such a digital recording and reproducing apparatus has to determine the quantization for 5 macroblocks in one segment period, and since it takes 1920 clock to read the discrete cosine variation coefficients for the 5 macroblocks, the quantization number And there is a disadvantage that the time to determine the class number is limited to less than 64 clocks.

제1도는 종래 디지털 영상 기록재생기의 양자화장치를 도시한 블록도이다.1 is a block diagram showing a quantization apparatus of a conventional digital video recorder.

제1도를 참조하면, 입력단자(100)를 통해 입력되는 영상데이터를 8×8 화소의 블록단위로 코사인함수를 이용, 직교변환하여 출력하는 이산여현 변환부(101)와; 상기 이산여현 변환부(101)에서 블록단위로 입력되는 이산여현변환 계수들을 지그재그 방식 스캔으로 일열로 나열 출력하는 지그재그 주사부(102)와; 상기 지그재그 주사부(102)에서 입력되는 이산여현변환블록을 세그먼트 단위로 저장하여 지연 출력하는 세그먼트지연 버퍼부(103)와; 상기 지그재그 주사부(102)로부터 세그먼트 기간동안 이산여현 변환 블록(DCT블록)이 입력될 때마다 크래스번호를 결정하고 이를 정해진 비트율로 축척(Scaling)을 수행하는 크래스넘버 결정 및 초기 스캘링부(104)와; 상기 크래스넘버 결정 및 초기 스캘링부(104)로부터의 5매크블록에 대한 축척 이산여현변환 계수 및 크래스번호를 입력받아 1세그먼트 기간동안 양자화번호를 결정하는 양자화번호 결정부(105)와; 상기 세그먼트지연 버퍼부(103)를 통해 1세그먼트 지연된 이산여현변환 계수를 상기 크래스넘버 결정/초기 스캘링부(104)에서 입력되는 크래스번호에 의해 일정한 비트열로 재 정리하는 초기 스캘링부(106)와; 상기 초기 스캘링부(106)를 통해 일정 비트열로 정해진 이산여현변환 계수를 상기 양자화 결정부(105)에서 결정된 양자화번호와 크래스넘버 결정부(104)에서 결정된 크래스번호를 가지고 세그먼트 단위로 양자화하고 이를 런렝스 부호화하여 신호의 중복성을 제거하는 양자화 및 런렝스 부호하부(107)와; 상기 양자화 및 런렝스 부호화부(107)에서 세그먼트 단위로 입력되는 양자화계수값을 위치정보와 크기정보 및 움직임 벡터의 손실없이 가변장 부호화하여 일정한 비트율로 출력단자(109)를 통해 출력하는 가변길이 부호화부(108)로 구성된다.Referring to FIG. 1, the discrete cosine transforming unit 101 outputs orthogonal transformation of image data input through the input terminal 100 using a cosine function in units of blocks of 8x8 pixels; A zigzag scanning unit (102) for outputting the discrete cosine transform coefficients inputted in units of blocks from the discrete cosine transforming unit (101) in a zigzag scan mode; A segment delay buffer unit 103 for storing the discrete cosine transform block input from the zigzag scanning unit 102 in units of segments and delaying the output; Whenever a discrete cosine transform block (DCT block) is input from the zigzag scanning unit 102 for a segment period, the class number determination and initial scaling unit 104 determines a class number and performs scaling on a predetermined bit rate. Wow; A quantization number determination unit (105) for receiving a scaled discrete cosine transform coefficient and a class number for the five macroblocks from the class number determination and initial scaling unit (104) and determining a quantization number for one segment period; An initial scaling unit 106 for rearranging the discrete cosine transform coefficients delayed by one segment through the segment delay buffer unit 103 into a predetermined bit string by a class number input from the class number determination / initial scaling unit 104; ; Discrete cosine transform coefficients determined by a predetermined bit string through the initial scaling unit 106 are quantized in segment units with the quantization number determined by the quantization determiner 105 and the class number determined by the class number determiner 104. A quantization and run length code lower portion 107 which performs run length coding to remove redundancy of the signal; Variable length coding outputs through the output terminal 109 at a constant bit rate by variable length coding the quantization coefficient value input by the quantization and run length encoder 107 in units of segments without loss of position information, size information, and motion vector. It is composed of a part 108.

이와 같이 구성된 종래 디지털 브이씨알의 양자화장치는 잘알려진 바와 같이, 이산여현변환부(101)와 양자화 및 런렝스 부호화부(107)는 화면내 인접 화소간의 중복성인 공간상 중복성을 제거하기 위해 사용하고, 또한 가변 길이 부호화부(108)는 이산여현변환부(101)와 양자화 및 런렝스 부호화부(107)의 과정을 통해 얻어진 양자화 계수값들에 존재하는 통계적 중복성을 제거하기 위해 널리 이용된다.As is well known in the conventional digital V-quantization apparatus configured as described above, the discrete cosine transforming unit 101 and the quantization and run length coding unit 107 are used to remove spatial redundancy between adjacent pixels in the screen. In addition, the variable length encoder 108 is widely used to remove statistical redundancy present in the quantized coefficient values obtained through the process of the discrete cosine transform unit 101 and the quantization and run length encoder 107.

이를 제1도를 참조하여 구체적으로 설명하면, 먼저 입력단자(100)를 통해 영상신호가 8×8화소의 블록단위로 입력되면 이산여현변환부(101)는 입력된 영상신호를 8×8블록단위로 이산여현변환 연산을 수행, 즉 입력 영상신호들의 블록을 변환계수들의 새로운 블록으로 변환하여 지그재그 주사부(102)에 제공하게 된다.Specifically, referring to FIG. 1, when the video signal is input in blocks of 8 × 8 pixels through the input terminal 100, the discrete cosine converting unit 101 converts the input video signal into 8 × 8 blocks. A discrete cosine transform operation is performed in units, that is, a block of input image signals is converted into a new block of transform coefficients and provided to the zigzag scan unit 102.

상기 지그재그 주사부(102)는 이산여현변환부(102)에서 입력되는 이산여현 변환계수들을 지그재그 방식으로 스캔하여 세그먼트지연 버퍼부(103)와 크래스넘버 결정/초기 스캘링부(104)에 제공하게 된다.The zigzag scanning unit 102 scans the discrete cosine transform coefficients inputted from the discrete cosine transforming unit 102 in a zigzag manner to provide the segment delay buffer unit 103 and the class number determination / initial scaling unit 104. .

상기 세그먼트지연 버퍼부(103)는 입력된 이산여현변환 계수를 세그먼트단위(1920화소)로 저장, 지연시켜 이후에 설명될 초기 스캘링부(106)에 제공하게 된다.The segment delay buffer unit 103 stores and delays the input discrete cosine transform coefficient in segment units (1920 pixels) and provides it to the initial scaling unit 106 to be described later.

한편, 상기 크래스넘버 결정 및 초기 스캘링부(104)는 상기 지그재그 주사부(102)로부터의 이산여현변환 계수가 입력될때마다 매 블록단위로 크래스번호를 결정한다.On the other hand, the class number determination and initial scaling unit 104 determines the class number every block unit whenever the discrete cosine transform coefficient from the zigzag scanning unit 102 is input.

즉, 제2도에서와 같이, 2048 클럭 기간중 64클럭 동안에 5매크로 블록(1920 화소)에 대한 크래스번호를 결정하여 초기 스캘링부(106)와 양자화/런렝스 부호화부(107) 및 양자화 결정부(105)에 제공하고 아울러 입력된 이산여현 변환계수를 정해진 비트율에 맞추기 위해 축척을 수행하여 양자화 결정부(105)에 제공하게 된다.That is, as shown in FIG. 2, the class number for the 5 macro blocks (1920 pixels) is determined during 64 clocks during the 2048 clock period, and thus the initial scaling unit 106, the quantization / run length coding unit 107, and the quantization determination unit are determined. In addition, the present invention may be provided to the quantization determiner 105 by scaling the input cosine transform coefficient to the predetermined bit rate.

상기 양자화 결정부(105)는 크래스넘버결정 및 스캘링부(104)로부터 크래스번호 및 이산여현변환 계수를 입력받아 1세그먼트 기간(2048클럭) 동안에 제2도에서와 같이, 5매크로블록에 대한 양자화번호를 결정하여 출력하게 된다.The quantization decision unit 105 receives the class number and the discrete cosine transform coefficient from the class number determination and scaling unit 104 and, during the one segment period (2048 clocks), as shown in FIG. 2, the quantization number for the 5 macroblocks. Will be determined and output.

즉 다시말해서, 상기 양자화번호 결정부(105)는 제2도에서와 같이, 1세그먼트 기간(2048클럭) 동안에 5매크로블록에 대한 양자화 번호를 결정하기 위해서, 기본적으로 5매크로블록에 대한 이산여현변환 계수(1920화소)를 읽어들이는데 크래스번호 결정을 위한 1블록 즉, 64클럭을 제외한 1920클럭이 소요되므로 실질적으로 64클럭 이내에서 양자화 번호를 결정하여야 한다.In other words, the quantization number determination unit 105 is basically a discrete cosine transform for 5 macroblocks to determine the quantization number for 5 macroblocks during one segment period (2048 clocks), as shown in FIG. In order to read the coefficient (1920 pixels), one block for class number determination, that is, 1920 clocks except 64 clocks, is required, and therefore the quantization number must be determined within 64 clocks.

계속해서, 이와 같이하여 결정된 양자화번호는 이후에 설명될 양자화 및 런렝스 부호화부(107)에 입력된다.Subsequently, the quantization number determined in this manner is input to the quantization and run length encoder 107 to be described later.

한편, 상기 초기 스캘링부(106)는 세그먼트지연 버퍼부(103)에서 1세그먼트 지연되어 입력되는 5매크로블록에 대한 이산여현변환계수를 상기 크래스넘버 결정 및 초기 스캘링부(104)에서 입력되는 크래스번호를 가지고 일정한 비트열로 맞추어 양자화 및 런렝스 부호화부(107)에 제공하게 된다.Meanwhile, the initial scaling unit 106 determines the class number and the class number input from the initial scaling unit 104 to determine the discrete cosine transform coefficients for the 5 macroblocks that are delayed by one segment in the segment delay buffer unit 103. The quantized and run length encoder 107 is provided to the predetermined bit string with the constant bit string.

상기 양자화 및 런렝스 부호화부(107)는 상기 초기 스캘링부(106)를 통해 일정 비트열로 정해져 입력되는 1세그먼트 지연된 축척 이산여현변환 계수(1920화소)를 지연되기전, 즉 이전 1세그먼트기간 동안에 결정된 양자화 번와 크래스번호를 가지고 양자화를 수행하고 그 양자화된 계수의 신호 중복성을 없애기 위해 이를 런렝스 부호화하여 가변길이 부호화부(108)에 제공하게 된다.The quantization and run length encoder 107 is configured to delay a one-segment delayed scaled cosine transform coefficient (1920 pixels), which is determined and input as a constant bit string through the initial scaling unit 106, that is, during the previous one segment period. In order to perform quantization with the determined quantization number and class number and to eliminate signal redundancy of the quantized coefficients, run length coding is provided to the variable length encoder 108.

상기 가변길이 부호화부(108)는 잘알려진 바와 같이, 상기 런렝스 부호화되어 입력되는 양자화 계수값을 가변길이 부호화하여 출력단자(109)를 통해 일정한 비트열로 출력하게 된다.As is well known, the variable length encoder 108 performs variable length coding on the quantized coefficient value input by the run length coding to output a constant bit string through the output terminal 109.

즉, 상기에서 가변길이부호화는 비트발생 확률이 큰 부호화에는 작은부호 길이를 배당하고 발생확률이 작은 부호어에는 큰 부호길이를 배당하여 일정 비트열로 출력하게 된다.That is, in the variable length coding, a small code length is allocated to encoding having a high bit generation probability, and a large code length is allocated to a code word having a small probability of occurrence and output as a predetermined bit string.

그러나, 이와 같은 종래 디지털 영상 기록재생기의 양자화장치는 세그먼트 인터벌(2048 클럭) 동안에 5매크로블록에 대한 양자화번호 결정해야 하는데, 기본적으로 이산여현변환 계수를 읽어들이는데 1920클럭이 소요되기 때문에 실질적으로 양자화번호를 결정할 수 있는 시간은 크래스번호를 결정하는 64클럭을 제외한 64클럭 이내로 제한되어 있어 양자화를 위한 실시간처리가 용이하지 않은 단점이 있다.However, such a quantization apparatus of a conventional digital image recorder has to determine a quantization number for 5 macroblocks during a segment interval (2048 clocks), and it is substantially quantized because it takes 1920 clock to read a discrete cosine transform coefficient. The time to determine the number is limited to less than 64 clocks except for 64 clocks to determine the class number has a disadvantage that the real-time processing for quantization is not easy.

또한, 이산여현변환 계수를 크래스번호 결정과 함께 초기 스캘링하고 세그먼트지연 버퍼링후에 다시 초기 스캘링을 수행함으로서, 그 결과 스캘링회로가 하나더 추가됨으로 인해 하드웨어가 다소 복잡해지는 문제점이 있었다.In addition, by performing initial scaling on the discrete cosine transform coefficient together with class number determination and performing initial scaling again after segment delay buffering, as a result, there is a problem in that the hardware is somewhat complicated due to the addition of one scaling circuit.

따라서, 본 발명의 목적은 이와 같은 종래의 문제점을 감안하여 이산여현변환 계수를 바로 세그먼트지연 버퍼에 저장하지 않고 크래스 결정 및 초기 축척후에 축척 이산여현변환 계수를 저장하여 이후의 재 스캘링이 없이 양자화를 수행토록 하는 디지털 영상신호 양자화 방법 및 장치를 제공함에 있다.Accordingly, an object of the present invention is to account for such a conventional problem, and to store the discrete cosine transform coefficients after class determination and initial scaling without storing the discrete cosine transform coefficients directly in the segment delay buffer, without quantizing them afterwards. Disclosed is a method and apparatus for quantizing a digital video signal.

본 발명의 다른 목적은 양자화번호 결정을 위하여 필요로 하는 하나의 초기 스캘링회로를 삭제하여 하드웨어를 간소화시키도록 하는데 있다.It is another object of the present invention to simplify hardware by eliminating one initial scaling circuit required for quantization number determination.

본 발명의 또다른 목적은 세그먼트 인터벌 기간동안에 이산여현변환 계수의 입력을 위한 1920클럭을 제외하고 128클럭 동안에 양자화번호를 처리하도록 하여 실시간 구현을 용이하도록 하는데 있다.It is another object of the present invention to facilitate real-time implementation by processing quantization numbers for 128 clocks except for 1920 clocks for input of discrete cosine transform coefficients during a segment interval period.

본 발명의 또다른 목적은 크래스번호 결정 및 초기 축척수행 후에 축척 이산여현변환 계수를 세그먼트 지연버퍼에 저장하여 빠른 시간내 양자화번호를 정확히 결정하도록 하는데 있다.Another object of the present invention is to store the scaled discrete cosine transform coefficients in a segment delay buffer after class number determination and initial scale performance to accurately determine the quantization number in a short time.

본 발명의 또다른 목적은 양자화번호를 결정하기 위한 초기 스캘링회로의 삭제로 인한 생산비 절감 및 타제품과의 차별화를 두는데 있다.Another object of the present invention is to reduce the production cost and differentiation from other products by eliminating the initial scaling circuit for determining the quantization number.

상기의 목적을 달성하기 위한 본 발명의 일측면에 따른 디지털 양상신호 양자화 방법은, 입력 영상신호에 대해 블록단위로 이산여현변환되어 얻어진 변환계수로부터 크래스번호를 결정하는 단계와; 상기 이산여현변환 계수를 블록단위로 저장하는 단계와; 상기 결정된 크래스번호 및 저장된 이산 여현변환계수를 정해진 비트열로 축척하는 단계와; 상기 축척되어 얻어진 이산여현변환 계수 및 크래스번호에 기인하여 세그먼트 기간동안 양자화번호를 결정하는 단계와; 상기 축척된 이산여현변환 계수 및 크래스번호를 세그먼트단위로 저장하는 단계와; 상기 저장된 축척 이산여현변환 계수를 상기 결정된 크래스번호 및 양자화번호에 기인하여 세그먼트 단위로 양자화를 수행하는 단계로 이루어짐을 특징으로 한다.According to an aspect of the present invention, there is provided a digital aspect signal quantization method comprising: determining a class number from a conversion coefficient obtained by performing discrete cosine transform on a block basis with respect to an input video signal; Storing the discrete cosine transform coefficients in block units; Scaling the determined class number and the stored discrete cosine transform coefficient into a predetermined bit string; Determining a quantization number for a segment period based on the scaled discrete cosine transform coefficient and class number; Storing the scaled discrete cosine transform coefficients and class numbers in segments; And performing quantization of the stored scaled discrete cosine transform coefficients on a segment basis based on the determined class number and quantization number.

상기에서, 양자화번호의 결정은 1세그먼트 기간중 이산여현변환 계수를 입력받기 위한 1920 클럭을 제외한 128클럭 동안에 처리하는 것을 특징으로 한다.In the above description, the quantization number is determined during 128 clocks except for 1920 clock for receiving the discrete cosine transform coefficients during one segment period.

상기의 목적을 달성하기 위한 본 발명의 다른 측면에 따른 디지털 영상신호 양자화 장치는, 이산여현변환수단 및 지그재그 주사수단을 통해 입력되는 블록단위의 이산여현변환 계수로부터 크래스번호를 결정하는 크래스넘버 결정수단과; 상기 크래스 넘버결정수단에서 얻어진 이산여현변환 계수를 블록단위로 저장 출력하는 블록지연 버퍼수단과; 상기 블록지연 버퍼수단에서 지연되어 얻어진 이산여현 변환계수와 크래스번호를 일정 비트열로 축척하는 초기 스캘링수단과; 상기 초기 스캘링수단에서 얻어진 이산여현변환 계수 및 크래스번호를 세그먼트 단위로 저장하는 세그먼트 지연버퍼수단과; 상기 초기 스캘링수단에서 얻어진 축척 이산여현변환 계수와 크래스번호를 가지고 세그먼트 기간동안 양자화번호를 결정하는 양자화번호 결정수단과; 상기 양자화 결정수단에서 얻어진 양자화번호 및 크래스번호를 가지고 상기 지연되어 입력되는 이산여현변환 계수를 세그먼트 단위로 양자화 하는 양자화수단을 포함함을 특징으로 한다.Digital video signal quantization apparatus according to another aspect of the present invention for achieving the above object, class number determining means for determining the class number from the discrete cosine transform coefficient of the block unit input through the discrete cosine transform means and the zigzag scanning means and; Block delay buffer means for storing and outputting the discrete cosine transform coefficients obtained in the class number determining means in block units; Initial scaling means for accumulating the discrete cosine transform coefficient and the class number obtained by being delayed in the block delay buffer means into a predetermined bit string; Segment delay buffer means for storing the discrete cosine transform coefficients and class numbers obtained by the initial scaling means in segment units; Quantization number determination means for determining a quantization number during a segment period with a scaled discrete cosine transform coefficient obtained from the initial scaling means and a class number; And quantization means for quantizing the delayed discrete cosine transform coefficient in units of segments with the quantization number and the class number obtained by the quantization determination means.

그 결과, 이산여현변환 계수를 바로 세그먼트지연 버퍼에 저장하지 않고 크래스 결정 및 초기 축척 이후의 축척 이산여현변환 계수를 저장함으로 인해 세그먼트지연 버퍼 저장 이후 다시 재 축척할 필요가 없어 하드웨어가 간소화되며, 또한 세그먼트 기간동안에 이산여현변환 계수의 입력을 위한 1920클럭을 제외하고 128클럭 동안에 양자화번호를 처리하여 줌으로써 실시간구현이 용이한 이점이 있다.As a result, the discrete cosine transform coefficients are not stored directly in the segment delay buffer, and the scale discrete cosine transform coefficients are stored after class determination and initial scaling, thereby eliminating the need for rescaling again after storing the segment delay buffer. Real time implementation is easy by processing quantization number for 128 clock except 1920 clock for input of discrete cosine transform coefficient during segment period.

이하, 본 발명의 바람직한 실시예를 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention will be described in detail.

제3도는 본 발명 디지털 영상신호 양자화장치를 도시한 실시예 블록도이다.3 is a block diagram of an embodiment of a digital video signal quantization device according to the present invention.

본 실시예에 따르면 8×8화소의 블록단위로 분할되어 입력단자(200)를 통해 입력되는 영상데이터를 직교변환하여 출력하는 이산여현변환부(201)와; 상기 이산여현변환부(201)에서 블록단위로 처리되어 입력되는 이산여현 변환 계수들을 지그재그 방식 스캔으로 부호화하여 일열로 나열 출력하는 지그재그 주사부(202)와; 상기 지그재그 주사부(202)에서 매 이산여현 변환 블록(DCT블록)이 입력될때마다 크래스번호를 선택하여 출력하는 크래스넘버 결정부(203)와; 상기 크래스넘버 결정부(203)에서 입력되는 이산여현변환 계수를 블록단위로 저장하는 블록지연 버퍼부(204)와; 상기 블록지연 버퍼부(204)에서 지연되어 입력되는 이산여현변환 계수 및 크래스넘버 결정부(203)에서 선택되어 입력되는 크래스번호를 정해진 비트율로 축척을 수행하는 초기 스캘링부(205)와; 상기 초기 스캘링부(205)로부터 축척되어 입력되는 5매크로블록에 대한 축척 이산여현변환 계수 및 크래스번호를 가지고 양자화번호를 결정하는 양자화번호 결정부(206)와; 상기 초기 스캘링부(205)에서 축척되어 입력되는 이산여현변환계수 및 크래스번호를 세그먼트 단위로 저장하는 세그먼트지연 버퍼부(207)와; 상기 양자화번호 결정부(206)에서 결정된 5매크로블록에 대한 양자화번호와 세그먼트지연 버퍼부(207)에서 지연되어 입력되는 크래스번호에 의해 1세그먼트 지연된 이산여현변환 계수를 세그먼트 단위로 양자화하고 그 양자화 계수를 런렝스부호화하여 신호의 중복성을 제거하는 양자화 및 런렝스 부호화부(208)와; 상기 양자화 및 런렝스 부호화부(208)에서 세그먼트 단위로 입력되는 양자화 계수값을 위치정보와 크기정보 및 움직임 백터의 손실없이 가변장 부호화하여 일정한 비트스트림으로 출력단자(210)를 통해 출력하는 가변길이 부호화부(209)로 구성한다.According to the present embodiment, the discrete cosine transform unit 201 is divided into 8 × 8 pixel block units and orthogonally transforms and outputs image data input through the input terminal 200; A zigzag scanning unit 202 for encoding and outputting the discrete cosine transform coefficients processed and processed in units of blocks by the discrete cosine transforming unit 201 in a zigzag scan mode; A class number determining unit (203) for selecting and outputting a class number each time a discrete cosine transform block (DCT block) is input from the zigzag scanning unit 202; A block delay buffer unit 204 for storing discrete cosine transform coefficients inputted from the class number determining unit 203 in units of blocks; An initial scaling unit 205 which scales the discrete cosine transform coefficient inputted by the block delay buffer unit 204 and the class number selected by the class number determining unit 203 at a predetermined bit rate; A quantization number determination unit (206) for determining a quantization number with scaled discrete cosine transform coefficients and class numbers for five macroblocks that are scaled and input from the initial scaling unit (205); A segment delay buffer unit 207 for storing discrete cosine transform coefficients and class numbers, which are scaled and input by the initial scaling unit 205, in units of segments; The discrete cosine transform coefficient delayed by one segment by the quantization number for the 5 macroblocks determined by the quantization number determination unit 206 and the class number delayed by the segment delay buffer unit 207 is quantized in segments and the quantization coefficient A quantization and run length encoder 208 which performs run length coding to remove redundancy of the signal; Variable length of the quantization coefficients input by the quantization and run length encoder 208 in the unit of a segment variable-length-encoded without loss of position information, size information, and motion vector to output a constant bit stream through the output terminal 210 It consists of an encoding unit 209.

이와 같이, 구성된 본 발명의 바람직한 실시예를 제3도 및 제4도를 참조하여 보다 구체적으로 설명하면 다음과 같다.As described above, preferred embodiments of the present invention configured as described above will be described in more detail with reference to FIGS. 3 and 4.

먼저, 영상신호는 8×8화소의 블록으로 분할되어 입력단자(200)를 통해 이산여현변환부(201)에 입력된다.First, the video signal is divided into blocks of 8x8 pixels and input to the discrete cosine converter 201 through the input terminal 200.

상기 이산여현 변환부(200)는 블록단위에 이산여현변환 연산을 수행하여 영상신호들의 블록을 변환계수들의 새로운 블록을 변환하여 지그재그 주사부(202)에 제공하게 된다.The discrete cosine transforming unit 200 performs a discrete cosine transform operation on a block basis to convert a block of image signals into a new block of transform coefficients and provide the zigzag scanning unit 202.

상기 지그재그 주사부(201)는 상기 이산여현 변환부(200)에서 연산되어 얻어진 변환계수들의 블록을 지그재그 스캔에 의해 부호화하여 크래스넘버 결정부(203)에 제공하게 된다.The zigzag scanning unit 201 encodes a block of transform coefficients obtained by the discrete cosine transforming unit 200 by zigzag scanning and provides it to the class number determining unit 203.

상기 크래스넘버 결정부(203)는 상기 지그재그 주사부(202)로부터 변환계수들의 블록이 입력될 때마다 제4(a)도와 같이, 그 블록에 대한 크래스번호를 결정하게 된다.Whenever a block of transform coefficients is input from the zigzag scanning unit 202, the class number determining unit 203 determines the class number for the block as shown in FIG. 4 (a).

즉, 다시말해서 제4(a)도에서와 같이 1세그먼트기간, 예컨대 2048클럭 기간중 64클럭 동안에 5매크로 블록(1920화소)에 대한 크래스번호를 결정하여 이후에 설명될 초기 스캘링부(205)에 제공함과 아울러 변환계수들의 블록을 블록지연 버퍼부(204)에 제공하게 된다.In other words, as shown in FIG. 4 (a), the class number for 5 macroblocks (1920 pixels) is determined during one segment period, for example, 64 clocks during the 2048 clock period, to the initial scaling unit 205 to be described later. In addition, a block of transform coefficients is provided to the block delay buffer unit 204.

상기 블록지연 버퍼부(204)는 상기 크래스넘버 결정부(203)에서 입력되는 이산여현변환 계수를 블록단위(64화소)로 저장한후에 1블록 지연된 이산여현변환 계수를 상기 초기 스캘링부(205)에 제공하게 된다.The block delay buffer unit 204 stores the discrete cosine transform coefficients input from the class number determiner 203 in block units (64 pixels) and stores the discrete cosine transform coefficients delayed by one block to the initial scaling unit 205. Will be provided.

상기 초기 스캘링부(205)는 블록지연 버퍼부(204)에서 1블록지연되어 입력되는 이산여현변환 계수와 크래스넘버 결정부(203)의 크래스번호를 정해진 비트율에 맞추기 위해 제4(b)도와 같이, 축적을 수행하여 양자화번호 결정부(206) 및 세그먼트지연 버퍼부(207)에 제공하게 된다.The initial scaling unit 205 adjusts the discrete cosine transform coefficient inputted after being delayed by one block from the block delay buffer unit 204 and the class number of the class number determination unit 203 as shown in FIG. 4 (b). Accumulation is performed and provided to the quantization number determination unit 206 and the segment delay buffer unit 207.

상기 양자화번호 결정부(206)는 초기 스캐링부(205)로부터 크래스번호 및 축척 이산여현변환 계수들의 블록을 입력받아 1세그먼트 기간동안에 제4(b)도에서와 같이, 5매크로블록에 대한 양자화번호를 결정하여 출력하게 된다.The quantization number determination unit 206 receives the class number and the scaled discrete cosine transform coefficients from the initial scanning unit 205 and quantizes the 5 macroblocks as shown in FIG. 4 (b) during one segment period. The number is determined and printed.

즉 다시말해서, 상기 양자화번호 결정부(206)는 제4도에서와 같이, 초기 스캘링된 이산여현변환 계수가 이후에 설명될 세그먼트 버퍼부(207)에 저장되기 때문에 1세그먼트 기간의 2048클럭 중에서 이산여현변환 계수(1920화소)의 입력을 위한 1920클럭을 제외한 128클럭 동안에 양자화번호를 결정하여 양자화 및 런렝스 부호화부(208)에 제공하게 된다. 그리고 상기 진술한 세그먼트지연 버퍼부(207)는 초기 스캘링부(205)에서 축척되어 입력되는 이산여현변환 계수들의 블록 및 크래스번호를 세그먼트 단위로 저장하여 양자화 및 런렝스 부호화부(208)에 제공하게 된다.In other words, the quantization number determination unit 206 stores the initial scaled discrete cosine transform coefficients in the segment buffer unit 207 to be described later, as shown in FIG. The quantization number is determined and provided to the quantization and run length encoder 208 during 128 clocks except 1920 clock for input of the discrete cosine transform coefficients (1920 pixels). In addition, the aforementioned segment delay buffer unit 207 stores blocks and class numbers of discrete cosine transform coefficients that are scaled and input in the initial scaling unit 205 in segment units and provides them to the quantization and run length encoder 208. do.

상기 양자화 및 런렝스 부호화부(208)는 양자화번호 결정부(206)에서 결정된 5매크로블록에 대한 양자화번호와 세그먼트지연 버퍼부(207)에서 입력되는 크래스번호를 참조하여 이산여현 변환계수를 세그먼트 단위로 양자화 하고 그 양자화된 계수의 신호중복성을 없애기 위해 이를 런렝스 부호화하여 주지의 가변길이 부호화부(209)에 제공하게 된다.The quantization and run length encoder 208 may refer to a quantization number for the 5 macroblocks determined by the quantization number determiner 206 and a class number input from the segment delay buffer unit 207 to convert the discrete cosine transform coefficient into segments. In order to quantize the signal and to remove the signal redundancy of the quantized coefficients, run length coding is provided to the known variable length encoder 209.

상기 주지의 가변길이 부호화부(209)는 잘알려진 바와 같이, 상기 런렝스 부호화되어 입력되는 양자화 계수값을 가변길이 부호화, 예컨대 비트발생 확률이 큰 부호화에는 작은부호 길이를 배당하고 비트 발생확률이 작은 부호화에는 큰 부호길이를 배당하여 일정 비트열로 출력단자(210)를 통해 출력하게 된다.As is well known, the known variable length encoder 209 allocates a quantized coefficient value input by the run length coding to variable length coding, for example, a code length having a small code length and a small bit generation probability. In encoding, a large code length is allocated and output through the output terminal 210 in a predetermined bit string.

이상에서 상세히 설명한 바와 같이, 본 실시예에는 이산여현변환 후의 변환계수를 바로 세그먼트지연 버퍼에 저장하지 않고 양자화번호를 위하여 필요로 하는 크래스번호와 초기 축척을 수행후에 축척 이산여현변환 계수를 세그먼트지연 버퍼에 저장함으로서, 세그먼트 지연 이후에 또다시 초기 축척을 할 필요가 없고, 그 결과 하드웨어가 간소화되는 효과가 있다.As described in detail above, the present embodiment does not store the transform coefficients after the discrete cosine transform directly into the segment delay buffer, but instead of storing the discrete cosine transform coefficients required for the quantization number and performing the initial scaling. By storing in, there is no need for initial scaling again after the segment delay, resulting in a simplified hardware.

또한, 초기 축척된 이산여현변환 계수가 세그먼트지연 버퍼에 저장되기 때문에 세그먼트 기간의 2048클럭 중에서 이산여현변환 계수의 입력을 위한 1920클럭을 제외한 128클럭 동안에 양자화번호를 처리함으로서, 그 결과 64클럭 이상의 실시간 구현이 용이한 효과가 있다.In addition, since the initially accumulated discrete cosine transform coefficients are stored in the segment delay buffer, the quantization number is processed during 128 clocks except for 1920 clocks for input of the discrete cosine transform coefficients among the 2048 clocks of the segment period. It is easy to implement.

그리고, 본 발명의 특정한 실시예가 설명 및 도시되었지만, 여러 수정이 가능하므로 본 발명은 이것에 제한되지 않음을 알 수 있다.And while specific embodiments of the present invention have been described and illustrated, it can be seen that the present invention is not limited to this as many modifications are possible.

그러므로, 본원에 기재되었으며 청구된 원리의 진정한 정신 및 범위내에 일치하는 본 발명 및 모든 수정이 커버될 수 있음을 알 수 있다.Therefore, it will be appreciated that the present invention and all modifications that come within the true spirit and scope of the principles described and claimed herein may be covered.

Claims (6)

입력 화소의 블록에 이산여현변환 연산을 수행하여 얻어진 변환 계수로부터 크래스번호를 결정하는 단계와; 상기 단계에서 얻어진 이산여현변환 계수를 저장하는 단계와; 상기 결정된 크래스번호와 저장되어 얻어진 이산여현변환계수를 일정 비트열로 축척하는 단계와; 상기 축척되어 얻어진 이산여현변환 계수와 크래스번호에 기인하여 세그먼트 기간동안 양자화번호를 결정하는 단계와; 상기 축척 이산여현변환 계수 및 크래스번호를 세그먼트단위로 저장하는 단계와; 상기 저장된 축척 이산여현변환 계수를 상기 결정된 크래스번호 및 양자화번호에 기인하여 세그먼트 단위로 양자화를 수행하는 단계로 이루어짐을 특징으로 한 디지털 영상신호 양자화 방법.Determining a class number from the transform coefficients obtained by performing a discrete cosine transform operation on a block of the input pixel; Storing the discrete cosine transform coefficients obtained in the step; Accumulating the determined class number and the stored discrete cosine transform coefficient into a predetermined bit string; Determining a quantization number during the segment period based on the scaled discrete cosine transform coefficient and the class number; Storing the scaled discrete cosine transform coefficients and class numbers in segments; And performing quantization of the stored scaled discrete cosine transform coefficients on a segment basis based on the determined class number and the quantization number. 제1항에 있어서, 양자화번호의 결정은 세그먼트 기간중 이산여현변환 계수를 입력받기 위한 클럭을 제외한 임의 클럭 동안에 처리하는 것을 특징으로 한 디지털 영상신호 양자화 방법.The digital video signal quantization method according to claim 1, wherein the quantization number is determined during an arbitrary clock except for a clock for receiving a discrete cosine transform coefficient during a segment period. 제1항 또는 제2항에 있어서, 양자화번호의 결정은 128클럭 동안에 결정하는 것을 특징으로 한 디지털 영상신호 양자화 방법.The digital video signal quantization method according to claim 1 or 2, wherein the quantization number is determined during 128 clocks. 제1항에 있어서, 이산여현변환 계수는 블록단위로 저장하는 것을 특징으로 한 디지털 영상신호 양자화 방법.The digital video signal quantization method according to claim 1, wherein the discrete cosine transform coefficients are stored in block units. 이산여현변환수단 및 지그재그 주사수단을 통해 입력되는 화소 블록의 이산여현변환 계수로부터 크래스번호를 결정하는 크래스넘버 결정수단과; 상기 크래스넘버 결정수단에서 얻어진 이산여현변환 계수를 블록단위로 저장 출력하는 블록지연 버퍼수단과; 상기 블록지연 버퍼수단에서 지연되어 얻어진 이산여현 변환계수와 크래스번호를 일정 비트열로 축척하는 초기 스캘링수단과; 상기 초기 스캘링수단에서 얻어진 이산여현변환 계수 및 크래스번호를 세그먼트 단위로 저장하는 세그먼트 지연버퍼수단과; 상기 초기 스캘링수단에서 얻어진 축척 이산여현변환 계수와 크래스번호를 가지고 세그먼트 기간동안 양자화번호를 결정하는 양자화번호 결정수단과; 상기 양자화 결정수단에서 얻어진 양자화번호 및 크래스번호를 가지고 상기 지연 입력되는 이산여현변환 계수를 세그먼트 단위로 양자화 하는 양자화수단을 포함하여 이루어짐을 특징으로 한 디지털 영상신호 양자화 장치.Class number determining means for determining a class number from the discrete cosine transform coefficients of the pixel block inputted through the discrete cosine converting means and the zigzag scanning means; Block delay buffer means for storing and outputting the discrete cosine transform coefficients obtained in the class number determining means in block units; Initial scaling means for accumulating the discrete cosine transform coefficient and the class number obtained by being delayed in the block delay buffer means into a predetermined bit string; Segment delay buffer means for storing the discrete cosine transform coefficients and class numbers obtained by the initial scaling means in segment units; Quantization number determination means for determining a quantization number during a segment period with a scaled discrete cosine transform coefficient obtained from the initial scaling means and a class number; And quantization means for quantizing the delayed discrete cosine transform coefficients by segment unit with the quantization number and the class number obtained by the quantization determination means. 제5항에 있어서, 양자화 결정수단은 세그먼트 기간동안 이산여현변환 계수를 입력받기 위한 1920클럭을 제외한 128클럭 동안에 양자화를 결정하는 것을 특징으로 한 디지털 영상신호 양자화 장치.6. The apparatus of claim 5, wherein the quantization determining means determines quantization for 128 clocks except for 1920 clocks for receiving discrete cosine transform coefficients during the segment period.
KR1019960025366A 1996-06-28 1996-06-28 Method and device for quantizing digital video signals KR100212327B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960025366A KR100212327B1 (en) 1996-06-28 1996-06-28 Method and device for quantizing digital video signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960025366A KR100212327B1 (en) 1996-06-28 1996-06-28 Method and device for quantizing digital video signals

Publications (2)

Publication Number Publication Date
KR980004754A KR980004754A (en) 1998-03-30
KR100212327B1 true KR100212327B1 (en) 1999-08-02

Family

ID=19464463

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960025366A KR100212327B1 (en) 1996-06-28 1996-06-28 Method and device for quantizing digital video signals

Country Status (1)

Country Link
KR (1) KR100212327B1 (en)

Also Published As

Publication number Publication date
KR980004754A (en) 1998-03-30

Similar Documents

Publication Publication Date Title
JP3109854B2 (en) Image coding method and apparatus
KR0129558B1 (en) Adaptive variable length coding method and apparatus
EP0763925B1 (en) Image encoding optimising the amount of generated code
EP0580454B1 (en) Coding and decoding of digital data
KR0155784B1 (en) Adaptable variable coder/decoder method of image data
JP2675529B2 (en) Video coding method and apparatus thereof
JP2633793B2 (en) Method and apparatus for variable length encoding / decoding of video data
US5848195A (en) Selection of huffman tables for signal encoding
JPS6226633B2 (en)
EP0519962A1 (en) Digital image coding using a random scanning of image frames.
JPH1013834A (en) Adaptive encoding method, encoder and decoder for consecutive picture
WO1991003128A1 (en) Control system for encoding image
CN1822677A (en) Apparatus and method for predicting coefficients of video block
JP2000506715A (en) Dual speed variable length decoder and decoding architecture for MPEG-2 video data
JPH10294872A (en) Image coding method, device, image decoding method and device
KR20020026189A (en) Efficient video data access using fixed ratio compression
KR100212327B1 (en) Method and device for quantizing digital video signals
JPH0723385A (en) Highly efficient encoding device
KR100195717B1 (en) A variable length decoder
KR100195715B1 (en) A variable length decoder
KR100204468B1 (en) An image encoder and decoder
KR0134324B1 (en) Variable length method of data compression
JPH06244736A (en) Encoder
JP3397682B2 (en) Image coding device
KR19980030781A (en) Quantization Interval Level Shift Method of Digital VR

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120503

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20130502

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee