KR0178197B1 - Apparatus for encoding an image signal using region segmentation - Google Patents

Apparatus for encoding an image signal using region segmentation Download PDF

Info

Publication number
KR0178197B1
KR0178197B1 KR1019950006614A KR19950006614A KR0178197B1 KR 0178197 B1 KR0178197 B1 KR 0178197B1 KR 1019950006614 A KR1019950006614 A KR 1019950006614A KR 19950006614 A KR19950006614 A KR 19950006614A KR 0178197 B1 KR0178197 B1 KR 0178197B1
Authority
KR
South Korea
Prior art keywords
quantization
value
unit
diagonal
block
Prior art date
Application number
KR1019950006614A
Other languages
Korean (ko)
Other versions
KR960036782A (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 KR1019950006614A priority Critical patent/KR0178197B1/en
Publication of KR960036782A publication Critical patent/KR960036782A/en
Application granted granted Critical
Publication of KR0178197B1 publication Critical patent/KR0178197B1/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/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N11/00Colour television systems
    • H04N11/04Colour television systems using pulse code modulation
    • H04N11/042Codec means
    • H04N11/046DPCM
    • 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/167Position within a video image, e.g. region of interest [ROI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • 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

본 발명은 소정 블록 단위의 영상 신호를 움직임 보상 DPCM(차분 펄스 부호 변조) 및 2차원 DCT(이산 코사인 변환)방식을 이용하여 압축 전송하는 하이브리드 영상 압축 장치에 관한 것으로서, 2차원 DCT 방식에 의하여 변환된 DCT 계수들을 양자화하는 양자화부와; 블록내의 상기 양자화 값을 순차적으로 스캐닝하여 0이 아닌 양자화 값을 계수하는 계수부와; 블록을 다수개의 대각선 영역으로 분할하고, DC 값을 갖는 대각선 영역으로부터 0 상태가 아닌 양자화 값의 갯수를 대각선의 순서대로 계수하여 계수값이 계수부의 계수값에 대하여 소정 비율 이하가 되는 대각선 영역을 검출하여 분할 신호로 송신하는 검출부와; 양자화부로부터 양자화 값을 인가받아 블록의 DC값으로부터 분할 신호에 대응하는 대각선 영역까지의 양자화 값을 순차적으로 제1단자를 통하여 출력하고, 분할 신호에 대응하는 대각선 영역 이후의 양자화부의 양자화 값을 제2단자로 출력하는 선택 출력부와; 선택 출력부의 제1단자로부터 인가되는 양자화 값을 부호화하여 송신하는 제1부호화부와; 선택 출력부의 제2단자로부터 인가되는 양자화부의 양자화 값을 지그 재그 스캐닝하여 줄 길이 부호화하고, 줄 길이 부호화된 값을 가변 길이 부호화하여 송신하는 제2부호화부로 구성된다.The present invention relates to a hybrid image compression device which compresses and transmits an image signal of a predetermined block unit using motion compensation DPCM (differential pulse code modulation) and two-dimensional discrete cosine transform (DCT). A quantization unit for quantizing the DCT coefficients; A coefficient unit for sequentially scanning the quantization values in the block to count non-zero quantization values; Dividing the block into a plurality of diagonal areas, counting the number of non-zero quantization values in diagonal order from a diagonal area having a DC value to detect a diagonal area whose coefficient value is less than a predetermined ratio with respect to the count value of the counting part. A detection unit for transmitting a divided signal; The quantization unit receives the quantization value and sequentially outputs the quantization value from the DC value of the block to the diagonal region corresponding to the divided signal through the first terminal, and outputs the quantization value of the quantization unit after the diagonal region corresponding to the divided signal. A selective output unit for outputting to two terminals; A first encoder for encoding and transmitting the quantized value applied from the first terminal of the selective output unit; And a second encoder for zigzag-scanning the quantization value of the quantization unit applied from the second terminal of the selective output unit and performing line length encoding, and variable-length encoding the transmitted line length encoded value.

Description

영역 분할을 이용한 영상 신호 부호화 장치Image signal encoding apparatus using region segmentation

제1도는 종래의 영상 신호 부호화 장치의 블록도.1 is a block diagram of a conventional video signal encoding apparatus.

제2도는 본 발명에 따른 영역 분할을 이용한 영상 신호 부호화 장치의 블록도.2 is a block diagram of an image signal encoding apparatus using region division according to the present invention.

제3도는 본 발명에 따른 영역 분할을 이용한 영상 신호 부호화 장치의 영역 분할 방법을 도시한 도면.3 is a diagram illustrating a region segmentation method of an image signal encoding apparatus using region segmentation according to the present invention.

제4도는 본 발명에 따른 영역 분할을 이용한 영상 신호 부호화 장치에서 블록내 양자화 값의 일 예를 도면.4 is a diagram illustrating an example of intra-block quantization values in an image signal encoding apparatus using region division according to the present invention.

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

10 : 감산기 20 : DCT부10: subtractor 20: DCT unit

30 : 양자화부 40 : 역양자화부30: quantization unit 40: inverse quantization unit

50 : IDCT부 60 : 가산부50: IDCT unit 60: addition unit

70 : 프레임 메모리 80 : 움직임 추정부70: frame memory 80: motion estimation unit

90 : 움직임 보상부 100 : 부호화부90: motion compensation unit 100: encoder

110 : 계수부 120 : 검출부110: counter 120: detector

130 : 선택 출력부 140,150 : 부호화부130: selective output unit 140,150: encoder

본 발명은 영상 신호를 부호화하는 장치 및 방법에 관한 것으로서, 더욱 상세하게는 양자화된 블록을 소정 영역들로 분할하고, 분할된 영역중 소정 영역들만을 선택적으로 가변 길이 부호화하여 송신하는 영역 분할을 이용한 영상 신호 부호화 장치에 관한 것이다.The present invention relates to an apparatus and method for encoding an image signal. More particularly, the present invention relates to an apparatus and method for encoding an image signal. More particularly, the present invention relates to an apparatus and method for encoding an image signal. A video signal encoding apparatus.

일반적으로 영상 신호는 아날로그(analog)로 전송하는 것보다 디지탈(digital)로 전송하는 것이 훨씬 더 좋은 화질을 유지할 수 있으나, 향상된 화질에 대응하여 전송 데이터 량이 증가한다.In general, a video signal can maintain a much better picture quality in digital than an analog picture, but the amount of data transmitted increases in response to the improved picture quality.

그러나, 종래의 전송 채널에 있어서 사용 가능한 주파수 영역은 제한되어 있으므로, 많은 양의 디지탈 데이터를 전송하기 위해서는 전송 데이터를 압축하여 그 양을 줄일 필요가 있으며, 다양한 압축 기법 중에서, 확률적 부호화 기법과 시간적, 공간적 압축 기법을 결합한 하이브리드 부호화 기법이 가장 효율적인 것으로 알려져 있다.However, since a usable frequency range is limited in a conventional transmission channel, in order to transmit a large amount of digital data, it is necessary to compress the transmission data and reduce the amount thereof. In addition, hybrid coding schemes combining spatial compression techniques are known to be the most efficient.

대부분의 하이브리드 부호화 기법은 움직임 보상 DPCM(차분 펄스 부호 변조), 2차원 DCT(이산 코사인 변환), DCT계수의 양자화, 줄 길이 부호화(run length coding), 가변 길이 부호화(variable length coding) 등을 이용하는데, 움직임 보상 DPCM은 현재 프레임과 이전 프레임간의 물체의 움직임을 결정하고, 물체의 움직임에 따라 현재 프레임을 예측하여 현재 프레임과 예측치간의 차이를 나타내는 차분 신호를 만들어내는 방법으로서, 이러한 움직임 보상 DPCM은 Staffan Ericsson의 Fixed and Adaptive Predictors for Hybrid Predictive/Transform Coding, IEEE Transac tions on Communication, COM-33, NO.12 (1985년, 12월), 또는 Ninomiy와 Ohtsuka의 A motion Compensated Interframe Coding Scheme for Television Pictures, IEEE Transactions on Communication, COM-30, NO.1 (1982년, 1월)에 잘 기재되어 있다.Most hybrid coding techniques use motion compensated DPCM (Differential Pulse Code Modulation), 2-D Discrete Cosine Transform (DCT), quantization of DCT coefficients, run length coding, variable length coding, etc. The motion compensation DPCM determines a motion of an object between a current frame and a previous frame, and predicts the current frame according to the motion of the object to generate a differential signal representing a difference between the current frame and the prediction value. Staffan Ericsson's Fixed and Adaptive Predictors for Hybrid Predictive / Transform Coding, IEEE Transmissions on Communication, COM-33, NO.12 (1985, December), or A motion Compensated Interframe Coding Scheme for Television Pictures, by Ninomiy and Ohtsuka, It is well described in IEEE Transactions on Communication, COM-30, NO.1 (1982, January).

또한, 2차원 DCT는 디지탈 영상 데이터의 한 블록, 예를 들면 8x8 화소의 블록을 일군의 변환 계수 데이터로 변환시키므로써 영상 데이터들간의 공간적 중복성(spatial redundancy)을 줄이거나 제거한다.In addition, the two-dimensional DCT reduces or eliminates spatial redundancy between image data by converting one block of digital image data, for example, a block of 8x8 pixels into a group of transform coefficient data.

이러한 2차원 DCT 기법은 Chen 과 Pratt의 Scene Adaptive Coder, IEEE Transaction on Communications, COM-32, No.3 (1984년 3월)에 기재되어 있으며, 상기한 변환 계수 데이터를 양자화기, 지그재그 스캐닝(zigzag scanning), VLC등으로 처리하므로써 전송할 데이터를 효율적으로 압축할 수 있다.This two-dimensional DCT technique is described in Chen and Pratt's Scene Adaptive Coder, IEEE Transaction on Communications, COM-32, No. 3 (March 1984), and quantizer and zigzag scanning of the transform coefficient data described above. By processing by scanning, VLC, etc., data to be transmitted can be efficiently compressed.

또한, 움직임 보상 DPCM에서는 현재 프레임과 이전 프레임간의 움직임을 추정하여 이전 프레임으로부터 현재 프레임을 예측하므로써 수행되는데, 움직임 추정은 이전 프레임과 현재 프레임간의 변위를 나타내는 2차원 벡터로서 나타낸다.In the motion compensation DPCM, the motion between the current frame and the previous frame is estimated to predict the current frame from the previous frame. The motion estimation is represented as a two-dimensional vector representing the displacement between the previous frame and the current frame.

제1도에는 상술한 방식을 이용하는 종래의 하이브리드 방식의 영상 부호화 장치의 블록도가 도시되어 있다.1 is a block diagram of a conventional hybrid video encoding apparatus using the above-described method.

도시된 바와 같이 종래 하이브리드 방식의 영상 부호화 장치는 감산기(10), DCT부(20), 양자화부(30), 역양자화부(40), IDCT부(50), 가산기(60), 프레임 메모리(70), 움직임 추정부(80), 움직임 보상부(90) 및 부호화부(100)를 포함한다.As shown, a conventional hybrid image encoding apparatus includes a subtractor 10, a DCT unit 20, a quantizer 30, an inverse quantizer 40, an IDCT unit 50, an adder 60, and a frame memory ( 70), a motion estimator 80, a motion compensator 90, and an encoder 100.

먼저, 감산기(10)에서는 움직임 보상부(90)에서 예측된 현재 프레임 신호를 입력 측에서 입력되는 현재 프레임 신호로 감산하며, 그 결과 데이터, 즉, 차분 화소값을 나타내는 차분 신호는 DCT부(20)와 양자화부(30)를 통해 일련의 양자화된 변환 계수로 부호화된다. 그런 다음 이와 같이 양자화된 변환 계수는 부호화부(100)와 역양자화부(40)로 입력된다.First, the subtractor 10 subtracts the current frame signal predicted by the motion compensator 90 to the current frame signal input from the input side. As a result, the difference signal representing the difference pixel value is converted into the DCT unit 20. And the quantization unit 30 is encoded into a series of quantized transform coefficients. Then, the quantized transform coefficients are input to the encoder 100 and the inverse quantizer 40.

보다 상세하게, DCT부(20)는 입력되는 움직임 추정 및 예측에 의거하는 차분 신호에 대한 시간 영역의 영상 신호를 이산 코사인 함수를 이용하여 주파수 영역의 변환 계수로 변환시킨다. 또한, 양자화부(30)는 상기한 DCT부(20)의 변환 계수에 대해 비선형연산을 통해 유한한 개수의 값으로 양자화하기 위한 것으로, 부호화하고자 하는 프레임과 예측된 프레임간의 차분 신호를 양자화한다.More specifically, the DCT unit 20 converts an image signal in a time domain with respect to a differential signal based on input motion estimation and prediction into a transform coefficient in a frequency domain using a discrete cosine function. In addition, the quantization unit 30 quantizes the transform coefficient of the DCT unit 20 to a finite number of values through nonlinear operations, and quantizes the difference signal between the frame to be encoded and the predicted frame.

부호화부(100)는 양자화부(30)를 통해 양자화된 변환 계수를 줄 길이 부호화 및 가변 길이 부호화를 이용한 엔트로피(Entropy)부호화를 통하여 데이터 압축을 행한다. 즉, 부호화부(100)는 양자화부(30)에서 양자화된 영상 신호를 지그재그 스캐닝 등을 통해 런과 계수로 부호화하는 가변 길이 부호화를 행한 후에, 하나의 코드북을 이용하여 각 부호의 발생 빈도에 따라 가변적, 즉 부호의 발생 빈도가 많은 것은 짧은 길이의 부호로, 부호의 발생 빈도가 적은 것은 긴 길이의 부호로 부호화하는 가변 길이 부호화를 행한다. 이와 같이 부호화부(100)를 통해 모든 부호에 서로 다른 길이를 할당하는 이유는 실질적으로 부호 길이의 평균치를 줄이므로써 부호화 효율을 높이기 위한 것이며, 본 발명은 실질적으로 이와 같은 가변 길이 부호화의 효율을 증진시킬 수 있는 가변장 부호화 기법의 개선에 관련된다.The encoder 100 performs data compression on the quantized transform coefficients through entropy encoding using line length coding and variable length coding. That is, the encoder 100 performs variable length encoding for encoding the quantized video signal by the run and the coefficient through zigzag scanning or the like, and then uses one codebook according to the generation frequency of each code. Variable length, that is, a code having a large frequency of occurrence of a code, is a short length code, and a variable length coding is performed for a code having a low frequency of code generation, a code of a long length. The reason for allocating different lengths to all codes through the encoder 100 is to increase the coding efficiency by substantially reducing the average value of the code lengths. The present invention substantially improves the efficiency of such variable length coding. It relates to the improvement of variable length coding techniques that can be improved.

한편, 상기한 바와 같은 움직임 예측 차분 부호화를 수행하기 위한 수단으로서 전형적인 부호화기에 채용되는 역양자화부(40)와 IDCT부(50)는 상기한 DCT부(10)와 양자화부(30)를 통해 압축 부호화된 영상 신호를 움직임 추정, 보상을 위해 부호화되기 이전의 원래의 신호로 복원하여 가산기(60)에 제공하며, 그 이후에 가산기(60)가 IDCT부(50)로부터 제공되는 복원된 현재 프레임 신호(차분 신호)와 움직임 보상부(90)로 부터 제공되는 예측된 현재 프레임 신호를 가산하여 프레임 메모리(70)에 제공함으로서, 프레임 메모리(70)에는 복원된 현재의 프레임 신호, 즉 현재 부호화하고자 하는 프레임 신호의 바로 이전 프레임의 화상 신호가 저장된다.On the other hand, the inverse quantization unit 40 and the IDCT unit 50 employed in a typical encoder as a means for performing the motion prediction differential coding as described above are compressed by the DCT unit 10 and the quantization unit 30 described above. The encoded video signal is restored to the original signal before encoding for motion estimation and compensation, and provided to the adder 60, after which the adder 60 is provided from the IDCT unit 50. By adding the difference signal and the predicted current frame signal provided from the motion compensator 90 to the frame memory 70, the frame memory 70 has a restored current frame signal, that is, the current encoding The image signal of the frame immediately preceding the frame signal is stored.

따라서, 움직임 추정부(80)와 움직임 보상부(90)는 입력측으로부터의 현재 프레임과 상기한 프레임 메모리(70)로부터의 이전 프레임을 이용해 움직임 벡터를 추정하여 이전 프레임의 신호를 움직임 벡터만큼 이동시켜 주므로써 움직임 보상을 수행하여 감산기(10)에 제공한다.Accordingly, the motion estimator 80 and the motion compensator 90 estimate the motion vector using the current frame from the input side and the previous frame from the frame memory 70 to move the signal of the previous frame by the motion vector. By doing so, the motion compensation is performed and provided to the subtractor 10.

한편, 상술한 바와 같은 과정을 통해 영상 신호의 압축 부호화를 수행하는 전형적인 부호화기에 있어서의 종래 방법에 따르면, 양자화된 신호를 가변 길이 부호화할 때에 한 프레임 또는 한 시스템에서, 하나의 가변 길이 코드북만을 이용하여 지그재그 스캐닝을 통해 런이 적으면 짧은 부호를 할당하고 런이 길면 긴 부호를 할당하고 있고, 이것은 통계적으로 볼 때 영상에서 보통 런이 짧은 것이 많이 발생하고 런이 긴 것은 그 발생 빈도가 적기 때문이며, 또한 이것은 단지 통계적 수치에 의존하는 것이다. 여기에서, 런은 0이 아닌 계수 앞에 있는 0의 개수이다.On the other hand, according to the conventional method of the typical encoder for performing the compression encoding of the video signal through the above-described process, only one variable length codebook is used in one frame or one system when variable length coding the quantized signal By using zigzag scanning, short codes are assigned when there are few runs, and long codes are assigned when the runs are long. This is because statistically, many short runs usually occur in the image and long runs are less frequent. It also depends only on the statistics. Where run is the number of zeros before the nonzero coefficient.

그러나, 실제 적용에 있어서의 이러한 런의 길이는 여러 가지 요인, 예를 들면 화면의 종류, 영상의 부호화 형태 또는 하나의 DCT 블록내에서도 어느 위치에 있는 계수인가에 따라 실질적으로그 크기가 달라지게 되는데, 종래에는 이러한 점이 전혀 고려되어 있지 않은 관계로 불필요하게 비트 발생 량이 많아져 그 부호화 효율이 떨어진다는 문제가 있다.In practice, however, the length of these runs varies substantially depending on a number of factors, for example, the type of the picture, the type of encoding of the image, or the coefficient at any position within one DCT block. In the related art, since this point is not considered at all, there is a problem in that the amount of bit generation is unnecessarily large and the coding efficiency is lowered.

본 발명은 이러한 문제를 해결하기 위하여 안출한 것으로서, 본 발명의 목적은 양자화 값의 블록을 대각선으로 분할하고, 분할된 대각선내의 양자화 값을 스캐닝하여 0 상태의 양자화 값이 소정 임계값 이하의 갯수가 될 때까지 스캐닝된 대각선 열의 양자화 값을 송신하고, 나머지 양자화 값을 가변 길이 부호화하여 송신하는 영역 분할을 이용한 영상 신호 부호화 장치를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to divide a block of quantization values diagonally and scan the quantization values in the divided diagonals so that the number of quantization values in the zero state is less than or equal to a predetermined threshold. The present invention provides an image signal encoding apparatus using region division for transmitting a quantized value of a scanned diagonal column and variable length encoding the remaining quantized values.

이러한 목적을 달성하기 위한 본 발명은 소정 블록 단위의 영상 신호를 움직임 보상 DPCM(차분 펄스 부호 변조) 및 2차원 DCT(이산 코사인 변환)방식을 이용하여 압축 전송하는 하이브리드 영상 압축 장치에 있어서, 2차원 DCT 방식에 의하여 변환된 DCT 계수들을 양자화하는 양자화부와;In order to achieve the above object, the present invention provides a two-dimensional hybrid image compression apparatus that compresses and transmits an image signal of a predetermined block unit by using motion compensation DPCM (differential pulse code modulation) and two-dimensional discrete cosine transform (DCT). A quantizer for quantizing the DCT coefficients converted by the DCT scheme;

블록내의 상기 양자화 값을 순차적으로 스캐닝하여 0이 아닌 양자화 값을 계수하는 계수부와; 블록을 다수개의 대각선 영역으로 분할하고, DC 값을 갖는 대각선 영역으로부터 0 상태가 아닌 양자화 값의 갯수를 대각선의 순서대로 계수하여 계수값이 계수부의 계수값에 대하여 소정 비율 이하가 되는 양자화 값을 포함하는 대각선 영역을 검출하여 분할 신호로 송신하는 검출부와 양자화부로부터 양자화 값을 인가받아 블록의 DC값으로부터 분할 신호에 대응하는 대각선 영역까지의 양자화 값을 순차적으로 제1단자를 통하여 출력하고, 분할 신호에 대응하는 대각선 영역 이후의 양자화부의 양자화 값을 제2단자로 출력하는 선택 출력부와; 선택 출력부의 제1단자로부터 인가되는 양자화 값을 부호화하여 송신하는 제1부호화부와; 선택 출력부의 제2단자로부터 인가되는 양자화부의 양자화 값을 지그 재그 스캐닝하여 줄 길이 부호화하고, 줄 길이 부호화된 값을 가변 길이 부호화하여 송신하는 제2부호화부를 구비한다.A coefficient unit for sequentially scanning the quantization values in the block to count non-zero quantization values; The block is divided into a plurality of diagonal areas, and the number of non-zero quantization values is counted in the order of the diagonal from the diagonal area having the DC value so that the count value is less than or equal to a predetermined ratio with respect to the count value of the counting part. A quantization value is detected from a detection unit and a quantization unit which detects a diagonal region to be transmitted as a divided signal, and sequentially outputs a quantization value from the DC value of the block to the diagonal region corresponding to the divided signal through the first terminal, and then divides the divided signal. A selection output unit configured to output a quantization value of the quantization unit after the diagonal region corresponding to to the second terminal; A first encoder for encoding and transmitting the quantized value applied from the first terminal of the selective output unit; And a second coder configured to perform zigzag scanning of the quantization value of the quantization unit applied from the second terminal of the selective output unit by line length encoding, and to variable length code the transmitted line length encoded value.

이하, 본 발명의 일 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명에 따른 영역 분할을 이용한 영상 신호 부호화 장치의 블록도로서, 제1도에 도시된 종래의 부호화 장치의 부호화부(100)가 생략되고, 계수부(110), 검출부(120), 선택 출력부(130) 및 제1,2부호화부(140)(150)가 더 구성되어 있다.2 is a block diagram of an image signal encoding apparatus using region division according to the present invention, in which the encoding unit 100 of the conventional encoding apparatus shown in FIG. 1 is omitted, and the coefficient unit 110 and the detection unit 120 are omitted. The select output unit 130 and the first and second encoding units 140 and 150 are further configured.

이를 구체적으로 설명하면, 양자화부(30)에 연결되어 있는 계수부(110)는 양자화부(30)에서 출력되는 블록내의 양자화 값을 DC값을 시작으로하여 순차적으로 스캐닝하여 0 상태가 아닌 양자화 값을 계수하여 출력하도록 구성되어 있다.Specifically, the coefficient unit 110 connected to the quantization unit 30 sequentially scans the quantization value in the block output from the quantization unit 30 starting with the DC value, thereby quantizing the non-zero quantization value. It is configured to count and output.

또한, 검출부(120)는 양자화부(30)에서 출력되는 블록(B)을 제3도에 도시된 바와 같이 대각선의 영역들(R1-R15)(이하, 대각선 영역이라 함)로 분할하고, 분할된 대각선 영역(R1-R15)내의 양자화 값을 순차적으로 스캐닝하여 0 상태가 아닌 양자화 값의 갯수를 계수한다. 여기서 블록은 8*8 블록을 예로 하였으며, 점선으로 도시된 소 블록(b)내에 양자화 값이 위치한다. 그리고, 검출부(120)는 그 계수된 값이 계수부(110)에서 계수된 값에 대하여 소정 비율 이하가 되는 즉, 소정의 임계 비율 이하가 되는 갯수의 양자화 값을 포함하고 있는 대각선 영역(R1-R15중의 하나)을 검출하여 분할 신호로서 송신하게 된다.In addition, the detector 120 divides the block B output from the quantization unit 30 into diagonal areas R1-R15 (hereinafter, referred to as a diagonal area) as shown in FIG. The number of non-zero quantization values is counted by sequentially scanning the quantization values in the diagonal regions R1-R15. Here, the block is an 8 * 8 block as an example, and the quantization value is located in the small block (b) shown by a dotted line. In addition, the detection unit 120 includes a diagonal region R1-1 that includes a number of quantization values whose counted values are equal to or less than a predetermined ratio, that is, equal to or less than a predetermined threshold ratio with respect to the value counted by the counter 110. One of R15) is detected and transmitted as a divided signal.

예컨데, 양자화부(30)의 양자화 값들이 제4도와 같도, 임계 비율이 60%라고 하면 검출부(120)는 영역(R1,R2,R3)내의 양자화 값들을 스캐닝한 후에 영역(R3)을 알리는 분할 신호를 출력하게 될 것이다. 그 이유는 용이하게 알 수 있는 바와 같이 블록내 0이 아닌 전체 양자화 값의 갯수는 5개인데 이에 대하여 60%가 되는 3개째의 0이 아닌 양자화 값은 영역(R1-R3)내에 존재하기 때문이다.For example, if the quantization values of the quantization unit 30 are the same as those of FIG. 4, and the threshold ratio is 60%, the detection unit 120 scans the quantization values in the regions R1, R2, and R3 and then divides the space R3. Will output a signal. This is because, as can be easily seen, the total number of non-zero quantization values in the block is five, whereas the third non-zero quantization value, which is 60%, exists in the region R1-R3. .

이러한 분할 신호를 입력받는 선택 출력부(130)는 블록의 DC값으로부터 상기 분할 신호에 대응하는 대각선 영역까지의 양자화 값을 순차적으로 부호화부(140)에 인가하고, 상기 분할 신호에 대응하는 대각선 영역 이후의 양자화 값을 부호화부(150)에 인가한다. 즉, 제4도의 경우에 선택 출력부(130)는 영역(R1,R2,R3)을 구성하는 양자화 값(6,0,2,3,-2,0)들을 부호화부(140)에 순차적으로 인가하고, 부호화부(150)에는 영역(R4-R15)을 이루는 양자화 값을 순차적으로 출력하는 것이다.The selection output unit 130 receiving the divided signal sequentially applies the quantization value from the DC value of the block to the diagonal region corresponding to the divided signal to the encoder 140, and the diagonal region corresponding to the divided signal. The quantized value is then applied to the encoder 150. That is, in the case of FIG. 4, the selection output unit 130 sequentially transmits the quantization values 6, 0, 2, 3,-2, 0 constituting the regions R1, R2, and R3 to the encoder 140. The quantization values constituting the regions R4-R15 are sequentially output to the encoder 150.

선택 출력부(130)로부터 양자화 값들을 인가 받은 부화화부(140)는 입력된 양자화 값(제4도의 예에서는 (6,0,2,3,-2,0)들을 소정의 부호로 부호화하여 송신한다. 한편, 선택출력부(130)로부터 양자화 값들을 인가 받은 부호화부(150)는 입력된 양자화 값 (제4도의 예에서는 영역(R4-R15)을 형성하는)을 지그재그 스캐닝하여 줄 길이 부호화하고, 줄 길이 부호화된 값들을 다시 가변 길이 부호화하여 송신한다.The incubator 140 receiving the quantization values from the selection output unit 130 encodes the input quantization values ((6,0,2,3, -2,0 in the example of FIG. 4) with a predetermined code and transmits them. Meanwhile, the encoder 150 receiving the quantization values from the selection output unit 130 performs zigzag scanning of the input quantization values (which form the regions R4-R15 in the example of FIG. 4) and performs line length encoding. In addition, the variable length coded values of the line length coded data are transmitted again.

즉, 본 발명은 부호화하여 송신하여야 하는 양자화 값의 블록내에서 0이 아닌 양자화 값들은 DC 값을 중심으로 몰려 있게 된다는 것을 이용한 것으로 0이 아닌 양자와 값의 전체 갯수에 대하여 소정 비율 이상이 몰려있는 대각선 영역에 대한 정보와 그 대각선 영역을 구성하는 양자화 값들을 각각 부호화하여 송신하고, 나머지 영역에 대하여는 가변 길이 부호화하여 송신하므로써 가변 길이 부호화 되는 데이터 양이 상대적으로 감소시킬 수 있어 송신 데이터의 양을 대폭 감축할 수 있다는 효과가 있다.That is, the present invention uses non-zero quantization values in a block of quantization values to be coded and transmitted, centered on a DC value, and more than a predetermined ratio is concentrated with respect to the total number of non-zero protons and values. By encoding and transmitting the information on the diagonal region and the quantization values constituting the diagonal region, and transmitting the variable length encoding on the remaining regions, the amount of data having variable length coding can be relatively reduced, thereby greatly reducing the amount of data to be transmitted. There is an effect that can be reduced.

Claims (1)

소정 블록 단위의 영상 신호를 움직임 보상 DPCM(차분 펄스 부호 변조) 및 2차원 DCT(이산 코사인 변환)방식을 이용하여 압축 전송하는 하이브리드 영상 압축 장치에 있어서, 상기 2차원 DCT 방식에 의하여 변환된 DCT 계수들을 양자화하는 양자화부와; 상기 블록내의 상기 양자화 값을 순차적으로 스캐닝하여 0이 아닌 양자화 값을 계수하는 계수부와; 상기 블록을 다수개의 대각선 영역으로 분할하고, DC 값을 갖는 대각선 영역으로부터 0 상태가 아닌 양자화 값의 갯수를 대각선의 순서대로 계수하여 상기 계수값이 상기 계수부의 계수값에 대하여 소정 비율 이하가 되는 대각선 영역을 검출하여 분할 신호로 송신하는 검출부와; 상기 양자화부로부터 양자화 값을 인가받아 상기 블록의 DC값으로부터 상기 분할 신호에 대응하는 대각선 영역까지의 양자화 값을 순차적으로 제1단자를 통하여 출력하고, 상기 분할 신호에 대응하는 대각선 영역 이후의 상기 양자화부의 양자화 값을 제2단자로 출력하는 선택 출력부와; 상기 선택 출력부의 상기 제1단자로부터 인가되는 양자화 값을 부호화하여 송신하는 제1부호화부와; 상기 선택 출력부의 상기 제2단자로부터 인가되는 양자화부의 양자화 값을 지그 재그 스캐닝하여 줄 길이 부호화하고, 줄 길이 부호화된 값을 가변 길이 부호화하여 송신하는 제2부호화부를 구비하는 영역 분할을 이용한 영상 신호 부호화 장치.A hybrid image compression apparatus for compressing and transmitting a video signal of a predetermined block unit by using motion compensation DPCM (Differential Pulse Code Modulation) and 2D Discrete Cosine Transform (DCT) scheme, the DCT coefficient converted by the 2D DCT scheme A quantization unit for quantizing them; A counting unit for sequentially scanning the quantization values in the block to count non-zero quantization values; Dividing the block into a plurality of diagonal regions, counting the number of non-zero quantization values from the diagonal region having a DC value in the order of the diagonal so that the coefficient value is less than a predetermined ratio with respect to the coefficient value of the counter portion. A detection unit which detects an area and transmits the divided signal; The quantization unit receives the quantization value from the block and sequentially outputs a quantization value from the DC value of the block to the diagonal region corresponding to the divided signal through a first terminal, and the quantization after the diagonal region corresponding to the divided signal. A selection output unit configured to output a negative quantization value to a second terminal; A first encoder for encoding and transmitting a quantized value applied from the first terminal of the selective output unit; Image signal encoding using a segmentation unit having a second encoding unit configured to perform zigzag scanning of the quantization unit of the quantization unit applied from the second terminal of the selective output unit by line length encoding, and variable length encoding of the line length encoded value. Device.
KR1019950006614A 1995-03-28 1995-03-28 Apparatus for encoding an image signal using region segmentation KR0178197B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950006614A KR0178197B1 (en) 1995-03-28 1995-03-28 Apparatus for encoding an image signal using region segmentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950006614A KR0178197B1 (en) 1995-03-28 1995-03-28 Apparatus for encoding an image signal using region segmentation

Publications (2)

Publication Number Publication Date
KR960036782A KR960036782A (en) 1996-10-28
KR0178197B1 true KR0178197B1 (en) 1999-05-01

Family

ID=19410651

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950006614A KR0178197B1 (en) 1995-03-28 1995-03-28 Apparatus for encoding an image signal using region segmentation

Country Status (1)

Country Link
KR (1) KR0178197B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102252676B1 (en) 2019-11-07 2021-05-18 한국에너지기술연구원 Air inhaler with CO2 removing unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102252676B1 (en) 2019-11-07 2021-05-18 한국에너지기술연구원 Air inhaler with CO2 removing unit

Also Published As

Publication number Publication date
KR960036782A (en) 1996-10-28

Similar Documents

Publication Publication Date Title
KR0178198B1 (en) Apparatus for encoding an image signal
KR100209410B1 (en) Apparatus for encoding an image signal
US5434622A (en) Image signal encoding apparatus using adaptive frame/field format compression
JP3590421B2 (en) Intra-block DC transform coefficient quantization method
JP2507204B2 (en) Video signal encoder
JP2000125297A (en) Method for coding and decoding consecutive image
JP2880051B2 (en) Video signal encoding device using 1D / 2D DCT
KR0178195B1 (en) Apparatus for encoding an image signal using vector quantization technique
KR20000053028A (en) Prediction method and device with motion compensation
KR0159370B1 (en) Method and apparatus for encoding a video signals using a boundary of an object
KR19980017213A (en) Image Decoding System with Compensation Function for Degraded Image
US5614953A (en) Image signal decoding apparatus having an encoding error compensation
KR0178221B1 (en) Improved pattern vector encoding system using average value of pixels
KR100198986B1 (en) Motion compensation apparatus for improving a blocking effect
US20060146932A1 (en) Method and apparatus for providing motion estimation with weight prediction
KR0178197B1 (en) Apparatus for encoding an image signal using region segmentation
EP0720372A1 (en) Apparatus for parallel encoding/decoding of digital video signals
KR100207384B1 (en) Apparatus for decoding intra dc coefficient of video signal decoding system
KR0153984B1 (en) Method and apparatus for encoding video signal using classified vector quantization
KR100207383B1 (en) Predictor for detecting intra dc coefficient of video signal decoding system
KR100207391B1 (en) Image coding system and moving information detecting method using adaptive vector quantization
KR0178225B1 (en) Encoder of image system
KR0181033B1 (en) Apparatus for selectively encoding error signals
KR100196848B1 (en) Apparatus for compensating error in image decoder
JPH06217296A (en) Image signal coding device based on adaptive intramode/intermode compression

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
FPAY Annual fee payment

Payment date: 20111101

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20121101

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee