KR0130167B1 - Mpeg apparatus - Google Patents

Mpeg apparatus

Info

Publication number
KR0130167B1
KR0130167B1 KR1019940017533A KR19940017533A KR0130167B1 KR 0130167 B1 KR0130167 B1 KR 0130167B1 KR 1019940017533 A KR1019940017533 A KR 1019940017533A KR 19940017533 A KR19940017533 A KR 19940017533A KR 0130167 B1 KR0130167 B1 KR 0130167B1
Authority
KR
South Korea
Prior art keywords
unit
dct
motion vector
coding
image
Prior art date
Application number
KR1019940017533A
Other languages
Korean (ko)
Other versions
KR950007535A (en
Inventor
조택일
Original Assignee
이헌조
주식회사 Lg전자
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 이헌조, 주식회사 Lg전자 filed Critical 이헌조
Publication of KR950007535A publication Critical patent/KR950007535A/en
Application granted granted Critical
Publication of KR0130167B1 publication Critical patent/KR0130167B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/02Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
    • H03K19/173Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components
    • H03K19/1733Controllable logic circuits
    • H03K19/1737Controllable logic circuits using multiplexers
    • 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/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • 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/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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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
    • H04N19/533Motion estimation using multistep search, e.g. 2D-log search or one-at-a-time search [OTS]

Abstract

The apparatus for increasing compression ratio of image without degrading image quality includes a compensator(21) performing quantization and discrete cosine transformation(DCT) of input image to compensate motion, a coding circuit(22) coding output of the compensator with variable length coding method, an circuit(23) providing motion vector by estimating motion of imput image, a converter(31) aligning the motion vector to 2 dimension of image, a circuit(32) coding output of the converter without loss, a circuit(33) coding output of the converter as considering the coding loss, and a selector(34) selecting one of output of the circuits(32, 33) with control signal and providing to multiplexor/output buffer(25).

Description

동영상 압축 부호화 장치Video compression encoding device

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

제2도는 본 발명의 동영상 압축 부호화 장치의 블록도.2 is a block diagram of a video compression encoding apparatus of the present invention.

제3도는 본 발명의 무손실 코딩을 실현키위한 움직임 벡터 압축부의 블록도.3 is a block diagram of a motion vector compression unit for realizing the lossless coding of the present invention.

제4도는 본 발명의 손실감안 코딩을 실현하기위한 움직임 벡터 압축부의 블록도.4 is a block diagram of a motion vector compression unit for realizing lossy coding of the present invention.

제5도는 본 발명의 무손실 코딩과 손실감안 코딩을 선택적으로 사용하기 위한 움직이 ㅁ벡터 압축부의 블록도.5 is a block diagram of a motion V vector compression unit for selectively using lossless coding and lossy coding of the present invention.

제6도는 본 발명의 동영상 압축 부호화 장치를 MPEG 시스템에 적용시킨도면.6 is a diagram in which the video compression encoding apparatus of the present invention is applied to an MPEG system.

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

21 : DCT/양자화/움직임 보상부 22 : 가변길이 코딩부21: DCT / quantization / motion compensation unit 22: variable length coding unit

23 : 움직임 추정부 24 : 움직임 벡터 압축부23: motion estimation unit 24: motion vector compression unit

25 : 멀티플렉서/출력 버퍼부 31 : 움직임 벡터 압축부25: multiplexer / output buffer section 31: motion vector compression section

32 : 무손실 코딩부 33 : 손실감안 코딩부32: lossless coding unit 33: loss sensitive coding unit

34 : 선택부34: selection

본 발명은 동영상의 부호화시 시간축의 군더더기(Temporal Redundancy)를 줄이기 위하여 사용하는 움직임 벡터를 변환 코딩(Coding)하여 화질을 손상시키지 않으면서 영상의 압축률을 높일수 있게 하는 동영상 압축 부호화 장치에 관한 것이다.The present invention relates to a video compression encoding apparatus for transforming and coding a motion vector used to reduce temporal redundancy in video encoding so as to increase the compression ratio of an image without compromising image quality.

일반적으로 동영상 압축 부호화는 좋은 화질을 제공하면서 높은 압축비를 얻을 수 있도록 하는데 그 목적이 있는 것으로 높은 압축비를 얻기 위해서는 시간상 및 공간상의 군더더기를 제거해야 된다.In general, video compression encoding provides a high image quality while providing a high compression ratio. In order to obtain a high compression ratio, it is necessary to remove an image in time and space.

시간상의 군더더기를 줄이기 위하여 P-프레임 및 B-프레임을 두고, 움직임 추정 및 움직임 보상기법을 사용하고 있으며, 이때 움직임 벡터는 가변길이 코드를 이용하여 압축하고 있다.P-frames and B-frames are used to reduce temporal redundancy, and motion estimation and motion compensation techniques are used, and the motion vectors are compressed using variable length codes.

그리고 공간상의 군더더기를 줄이기 위해서는 영상을 블록단위로 나누어, 각각의 블록에 대하여DCT(Discret Cosine Transform)를 수행하며, 양자화(Quantization) 및 런-뱅스 코딩(Run-Length Coding)방법으로 압축하고 있다.In order to reduce the amount of space in the space, the image is divided into block units, and each block is subjected to Discrete Cosine Transform (DCT), which is compressed by quantization and run-length coding.

제1도에 종래의 동영상 압축 부호화 장치를도시하였다.FIG. 1 shows a conventional video compression encoding apparatus.

이 종래의 기술에 의하면, 입력되는 영상이 필드/ 프레임 메모리(1)에 필드 프레임 단위로 저장되고, 어뎁티브 프리딕터(Adaptive Predictor) (2)에서 출력되는 움직임 보상이 끝난 바로 전의 영상과의 차가 감산기(3)에서 구해지며, 이 차이분 영상이 DCT부(4) 및 양자화부(5)에서 DCT 및 양자화된후 그 결과가 가변길이 코딩/멀티플렉서(6)에서 런-렝스 코딩 및 가변길이 코딩방법으로 압축되고, 버퍼(7)를 통해 출력된다.According to this conventional technique, the input image is stored in the field / frame memory 1 in field frame units, and the difference from the image immediately before the motion compensation finished in the adaptive predictor 2 is finished. The difference image is obtained from the subtractor 3, and the difference image is DCT and quantized in the DCT unit 4 and the quantization unit 5, and the result is run-length coding and variable length coding in the variable length coding / multiplexer 6. Compressed in a manner and output through the buffer (7).

그리고 양자화부(5)의 출력신호는 역 양자화부(8) 및 역 DCT부(9)를 통해원래의 신호로 복원되고, 연산기(10), 필드/프레임 메모리(11) 및 어뎁티브 프리딕터(2)를 통해 움직임이 보상된 후 움직임 보상이 끝난 바로 전의 영상으로 감산기(3)에 입력되어 연속적으로 영상압축을 반복할 수있게하며, 움직임 추정부(12)(13)에서 영상의 움직임이 추정되고, 얻어진 움직임 벡터는 가변길이 코딩/멀티플렉서(6)에서 가변길이 코딩방법으로 코딩된 후 버퍼(7)를 통해 출력된다.The output signal of the quantization unit 5 is restored to the original signal through the inverse quantization unit 8 and the inverse DCT unit 9, and the arithmetic unit 10, the field / frame memory 11, and the adaptive predicate ( After the motion is compensated through 2), the image immediately before the motion compensation is completed is input to the subtractor 3 to continuously repeat the video compression, and the motion estimation unit 12 and 13 estimate the motion of the image. The obtained motion vector is coded by the variable length coding method in the variable length coding / multiplexer 6 and then output through the buffer 7.

그러나 상기와 같은 종래의 기술에 의하면, 움직임 벡터에 대하여 가변길이 코딩만으로 압축하는것으로서, 실제의 영상에 있어서의 움직임 벡터는 배경과 물체로 분리되어 배경에 대한 물체의움직임또는 물체에대한 배경의 움직임 형태 즉, 움직임 벡터는 영상의 2차원 평면에 밀접한 관계가 있음을 나타내고, 이는 움직임 벡터의 압축에 많은 여지가 있음을 나타내는 것으로, 종래에는 움직임 벡터에 대하여 가변길이 코딩만을 수행하여 압축률이 낮은 문제점이 있었다.However, according to the conventional technology as described above, by compressing only the variable length coding for the motion vector, the motion vector in the actual image is separated into the background and the object so that the movement of the object with respect to the background or the motion of the background with respect to the object That is, the shape indicates that the motion vector is closely related to the two-dimensional plane of the image, which indicates that there is much room for compression of the motion vector. In the related art, only the variable length coding is performed on the motion vector, so that the compression rate is low. there was.

본 발명은 상기와 같은 종래의 제반 문제점을 해결하기 위하여 창안한 것으로서, 입력영상의 움직임을 추정한 움직임 벡터를 2차원 영상으로 표현하고, 이를 무손실 코딩 또는 손실감안 코딩의 인트라 코딩방법으로 코딩하여 출력함으로써, 화질을 손상시키지 않으면서 영상을 높은 압축률로 압축시킬 수 있는 동영사 압축 부호화 장치를 제공하느데 그 목적이 있는 것으로, 이를첨부한도면 제2도내지 제6도의도면을 참조하여 상세히 설명한다.The present invention has been devised to solve the above-mentioned conventional problems, and represents a motion vector estimating the motion of an input image as a two-dimensional image, and outputs it by coding it using an intra coding method of lossless coding or loss sensitive coding. Accordingly, an object of the present invention is to provide a motion picture compression encoding apparatus capable of compressing an image at a high compression rate without compromising image quality, which will be described in detail with reference to FIGS. 2 to 6.

제2도는 본 발명의 동영상 압축 부호화 장치를 보인 회로도로서 이에도시된 바와 같이, 입력영상을 DCT 및 양자화하는 DCT/양자화/ 움직임 보상부(21)와, 상기 DCT/양자화/ 움직임 보상부(21)의 출력신호를 가변길이 코딩방법으로 코딩하는 가변길이 코딩부(22)와, 입력영상의 움직임을 추정하여 움직임 벡터를 출력하는 움직임 추정부(23)와, 상기 움직임 추정부(23)의 출력신호를 인트라(Intra) 압축방법으로 압축하는 움직임 벡터 압축부(24)와, 상기 가변길이 코딩부(22) 또는 움직임 벡터 압축부(24)의 출력신호를 선택적으로 출력하는 멀티플렉서/출력 버퍼부(25)로 구성하였다.2 is a circuit diagram illustrating a video compression encoding apparatus of the present invention, as shown therein, a DCT / quantization / motion compensation unit 21 for DCT and quantization of an input image, and the DCT / quantization / motion compensation unit 21. Variable length coding unit 22 for coding the output signal of the variable length coding method, a motion estimation unit 23 for estimating the motion of the input image and outputting a motion vector, and an output signal of the motion estimating unit 23; Is a motion vector compression unit 24 for compressing the signal by the intra compression method, and a multiplexer / output buffer unit 25 for selectively outputting the output signal of the variable length coding unit 22 or the motion vector compression unit 24. ).

이와 같이 구성된 본 발명의 동영상 압축 부호화 장치는 입력되는 영상이 DCT/양자화/움직임 보상부(21)에 입력되어 DCT 및 양자화 되고, 가변길이 코딩부(22)에서 가변길이 코딩으로 압축된 후 멀티플렉서/출력 버퍼부(25)를 통해 출력된다.In the video compression encoding apparatus of the present invention configured as described above, the input image is inputted to the DCT / quantization / motion compensation unit 21, DCT and quantized, and compressed into variable length coding by the variable length coding unit 22, and then multiplexer / It is output through the output buffer part 25. FIG.

또한, 입력되는 영상의 움직임이 움직임 추정부(23)에서 추정되어 움직임 벡터가 출력되고, 이출력된 움직임 벡터는 움직임 벡터 압축부(24)로 입력되어 인트라 압축방법으로 압축된후 멀티플렉서/출력 버퍼부(25)를 통해 출력된다.In addition, the motion of the input image is estimated by the motion estimation unit 23, and a motion vector is output. The output motion vector is input to the motion vector compression unit 24, compressed by an intra compression method, and then multiplexer / output buffer. It is output through the unit 25.

상기 인트라 압축방법으로는 움직임 벡터영상을 무손실 코딩하는 무손실 코딩과, 움직임 벡터 영상을 손실을 감안하여 코딩하는 손실감안 코딩 방법과, 선택부를 두어 상기 무손실 코딩 방법과 손실감안 코딩 방법을 선택적으로 사용하는 방법이 있다.The intra compression method includes lossless coding for lossless coding of a motion vector image, lossy coding method for coding a motion vector image in consideration of loss, and a selector to selectively use the lossless coding method and lossy coding method. There is a way.

상기 세가지 방법을도면 제3∼5도를 참고로 설명하면 다음과 같다.The three methods will be described with reference to FIGS. 3 to 5 as follows.

제3도는 제2도의 움직임 벡터 압축부(24)를 보인 상세도로서,이는 무손실 코딩을 실현하기 이한 구성도이다.FIG. 3 is a detailed view showing the motion vector compression unit 24 of FIG. 2, which is a configuration diagram to realize lossless coding.

제3도를 참고하여 무손실 코딩을 실현키위한 움직임 벡터 압축부(24)의 구성을 설명하면 다음과 같다.Referring to FIG. 3, the configuration of the motion vector compression unit 24 for realizing lossless coding is as follows.

움직임 추정부(23)에서 출력되는 움직임 벡터를 2차원 영상으로 배열하여 수평, 수직 움직임 벡터 영상을 무손실 코딩부(32)로 출력하는 움직임 벡터 영상변환부(31)와, 입력되는 수평,수직 움직임 벡터영상을 DPCM코딩 및 가변길이 코딩하여 멀티플렉서/출력 버퍼부(25)로 출력하는 무손실 코딩부(32)로 구성된다.The motion vector image converter 31 arranging the motion vectors output from the motion estimator 23 into two-dimensional images and outputting horizontal and vertical motion vector images to the lossless coding unit 32, and the input horizontal and vertical motions. It is composed of a lossless coding unit 32 outputting the vector image to the multiplexer / output buffer unit 25 by DPCM coding and variable length coding.

그리고 상기 무손실 코딩부(32)는 입력되는 수평, 수직 움직임 벡터 영상을 DPCM코딩방법으로 각 벡터값 사이의 차를 구하는 DPCM수행부(32-A)와, 상기 DPCM수행부(32-A)에서의 출력을 가변길이 코딩하는 가변길이 코딩부(32-B)로 구성된다.The lossless coding unit 32 is a DPCM execution unit 32-A for obtaining a difference between the vector values of the horizontal and vertical motion vector images input by the DPCM coding method, and the DPCM execution unit 32-A. It consists of a variable length coding section 32-B for variable length coding the output of < RTI ID = 0.0 >

이와 같이 구성된 본 발명은, 움직임 추정부(23)에서 출력되어 움직임 벡터 영상변환부(31)로 입력되는 움직임 벡터의 개수가 움직임 추정의 블록크기에 의해 결정되는 것으로, 움직임 벡터 영상변환부(31)로 입력되는 입력영상의 크기를2n×2n이라 하고, 움직임 추정블럭의 크기를 16×16이라고 가정하면, 움직임 벡터 영상변환부(31)에는 하나의 영상에 대하여 2(n-4)×2(n-4) 만큼의 움직임 벡터셀이 발생한다.According to the present invention configured as described above, the number of motion vectors output from the motion estimator 23 and input to the motion vector image converter 31 is determined by the block size of the motion estimation. Assuming that the size of the input image inputted by) is 2n × 2n and that the size of the motion estimation block is 16 × 16, the motion vector image converter 31 has 2 (n-4) × 2 for one image. As many as (n-4) motion vector cells are generated.

여기서, 움직임 벡터셀은 수직 및 수평성분을 모두가지고 있으므로 전체 움직임벡터의 개수는 2(n-4)×2(n-4)×2가 되는 것으로서 움직임 벡터 영상변환부(31)는 움직임 벡터를 2개의 2(n-4)×2(n-4)크기를 가지는 움직임 벡터 영상 즉, 2차원 영상으로 표현하여 출력한다.Here, since the motion vector cell has both vertical and horizontal components, the total number of motion vectors is 2 (n-4) × 2 (n-4) × 2, and the motion vector image converter 31 converts the motion vectors. A motion vector image having two 2 (n-4) × 2 (n-4) sizes, that is, a two-dimensional image, is output.

이때, 무손실 코딩부(32)의 DPCM수행부(32-A)는 상기 움직임 벡터 영상변환부(31)로부터 입력되는 수평, 수직 움직임 벡터영상을 보통의 영상으로 간주하여 종래의 DPCM방법으로 각 벡터값 사이의 차를 구하고, 가변길이 코딩부(32-B)는 이 차값을 가변길이 코딩하여 멀티플렉스/출력버퍼부(25)로 출력한다.At this time, the DPCM performing unit 32-A of the lossless coding unit 32 regards the horizontal and vertical motion vector image input from the motion vector image converting unit 31 as a normal image and uses each vector as a conventional DPCM method. The difference between the values is obtained, and the variable length coding unit 32-B performs variable length coding on the difference value and outputs the difference value to the multiplex / output buffer unit 25.

이와 같이 무손실 코딩된 영상을 디코딩할 경우에는 무손실 코딩된 움직임 벡터 압축비트열을 통일한 방법으로 디코딩하여 처음에 구한 움직임 벡터를 그래로 재현하여 사용할 수 있다.When decoding a lossless coded image as described above, the motion vector obtained by decoding the lossless coded motion vector compressed bit stream by a uniform method can be reproduced and used as it is.

도면 제4도는 상기 제2도의움직임 벡터 압축부(24)를 보인 상세도로서, 손실감안 코딩을 실현키 위한 구성이다.FIG. 4 is a detailed view showing the motion vector compression unit 24 of FIG. 2, which is a configuration for realizing loss sensitive coding.

제4도를 참고하여 손실감안 코딩을 실현키위한 움직임 벡터 압축부(24)의 손실감안 코딩부(33) 구성을 상세히 설명하면,, 움직임 추정부(23)에서 출력되는 움직임 벡터를 2차원 영상으로 배열하여 수평, 수직 움직임 벡터영상을 DCT/양자화부(33-A)로 출력하는 움직임 벡터 영상변환부(31)와, 상기 움직임 벡터 영상변환부(31)로부터 입력되는 수평, 수직 움직임 벡터 영상을 DCT 및 양자화하여 가변길이 코딩부(33-C)로 출력하는 DCT/양자화부(33-A)와, 상기 DCT/양자화부(33-A)의 출력신호를 가변길이 코딩하여 멀티플렉서/출력 버퍼부(25)로 출력하는 가변길이 코딩부(33-C)와, 상기 DCT/양자화부(33-A)에서 코딩된 움직임 벡터영상을 역 DCT 및 역 양자화하여 움직임 벡터영상으로 복원하여 DCT/양자화/움직임 보상부(21)로 출력하는 역 DCT/양자화부(33-B)로 구성된다.Referring to FIG. 4, the lossy loss coding unit 33 of the motion vector compression unit 24 for realizing lossy loss coding will be described in detail. The 2D image of the motion vector output from the motion estimation unit 23 will be described. A motion vector image converter 31 for outputting horizontal and vertical motion vector images to the DCT / quantizer 33-A and a horizontal and vertical motion vector image input from the motion vector image converter 31. DCT and quantize the output length of the DCT / quantizer 33-A and the output signal of the DCT / quantizer 33-A to quantize the variable length coding unit 33-C, and multiplexer / output buffer. Inverse DCT and inverse quantization of the variable-length coding unit 33-C and the DCT / quantization unit 33-A outputted to the unit 25 and reconstructing the motion vector image to DCT / quantization / Inverse DCT / quantization unit 33-B output to the motion compensation unit 21.

그리고, 상기 DCT/양자화부(33-A)는 입력되는 수평, 수직 움직임 벡터 영상을 DCT처리하는 움직임 벡터 영상 DCT부(33-A1)와, 양자화하는 움직임 벡터 영상 양자화부(33-A2)로 구성되며, 상기 역 DCT/양자화부(33-B)는 상기 DCT/양자화부(33-A)에서 코딩된 움직임 벡터 영상을 역 양자화하는 움직임벡터 영상 역양자화부(33-B2)와, 역 DCT처리하는 움직임 벡터 영상역 DCT부(33-B1)로 구성된다.The DCT / quantizer 33-A is a motion vector image DCT unit 33-A1 for DCT processing the input horizontal and vertical motion vector images, and a motion vector image quantizer 33-A2 for quantization. And the inverse DCT / quantizer 33-B includes a motion vector image inverse quantizer 33-B2 for inversely quantizing the motion vector image coded by the DCT / quantizer 33-A. It consists of a motion vector video region DCT section 33-B1 to be processed.

이와 같이 구성된 본 발명은 손실감안 코딩부(33)는 손실감안 코딩을 사용하는데, 이때 입력으로 들어오는 수평, 수직 움직임벡터 영상은 움직임 탐색영역(N)의크기에 따라 -N∼N사이의 값을 가지고, 이는 다이나믹 레인지(Dynamic Range)가 -N∼N인 보통의 영상으로 간주할 수 있으며, 움직임 벡터 영상 DCT부(33-A1) 및 움직임 벡터 영상 양자화부(33-A2)를 통해 DCT 및 양자화되고, 가변길이 코딩부(33-C)에서 가변길이 코딩되어 멀티플렉서/출력 버퍼부(25)로 출력된다.In the present invention configured as described above, the loss sensitive coding unit 33 uses loss sensitive coding. In this case, the horizontal and vertical motion vector images inputted to the input have a value between -N and N according to the size of the motion search region (N). In addition, this can be regarded as a normal image having a dynamic range of -N to N, and is DCT and quantized through the motion vector image DCT unit 33-A1 and the motion vector image quantization unit 33-A2. The variable length coding unit 33-C is variable length coded and output to the multiplexer / output buffer unit 25.

또한, 이 때 코딩된 움직임 벡터 영상은 움직임벡터 영상 역 양자화부(33-B2) 및 움직임벡터영상 역 DCT부(33-B1)에서 움직임 벡터영상으로 복원되는데, 이때 복원된 움직임 벡터는 처음의 움직임 벡터 영상과는 손실에 의해 동일하지 않으므로 이 정보를 DCT/양자화/움직임 보상부(21)로 궤환시키고, 이를 기준으로 움직임 보상 및 DCT, 양자화를 수행하여 코딩전체가 동작하게 된다.In addition, the coded motion vector image is reconstructed as a motion vector image by the motion vector image inverse quantizer 33-B2 and the motion vector image inverse DCT unit 33-B1, wherein the reconstructed motion vector is the first motion. Since the vector image is not the same by loss, the information is fed back to the DCT / quantization / motion compensation unit 21, and motion coding, DCT, and quantization are performed on the basis of the entire coding.

도면 제5도는 무손실 코딩과 손실감안 코딩을 선택적으로 사용할 수 있는 방법을도시한 것으로서, 그 구성은 제3도의 무손실 코딩부(32)와 제4도의 손실감안 코딩부(33)의 출력을 미리 설정된 제어신호로서 하나의 출력값을 선택하고, 선택한 값을 멀티플렉서/출력버퍼부(25)로 출력하는 선택부(34)를 포함하는 구성이다.FIG. 5 illustrates a method of selectively using lossless coding and lossy coding, and the configuration of the lossless coding unit 32 of FIG. 3 and the lossy coding unit 33 of FIG. It comprises a selection unit 34 which selects one output value as a control signal and outputs the selected value to the multiplexer / output buffer unit 25.

이와 같이 구성된 본 발명은 선택부(34)가 무손실 코딩부(32)와 손실감안 코딩부(33)의가변길이 코딩부(32-B)(33-C)에서 출력되는 값을 프로그래며에 의해 미리 설정된 제어신호로서 두 입력값중 하나를 선택하고, 선택된 값을 멀티플렉서/출력 버퍼부(25)로 출력한다.According to the present invention configured as described above, the selector 34 programs values output from the variable length coding units 32-B and 33-C of the lossless coding unit 32 and the loss sensitive coding unit 33. One of the two input values is selected as the control signal set in advance, and the selected value is output to the multiplexer / output buffer unit 25.

이상에서 설명한 본 발명은 기존의 MPEG시스템과 호환을 이룰 수 있도록 해야 되는 것으로, 제6도에도시된 바와 같이 MPEG엔코더(41)에서 출력되는 압축 비트열을 본 발명의 압축부(42)에 입력하고, 입력한 압축 비트열에서 움직임 벡터를 찾아 상기한 바와 같이 압축 및 새로운 압축 비트열을 발생 및 저송하고, 수신된 압축비트열은 본 발명의 복원부(43)에서 복원 및 MPEG디코더(44)에서 디코딩 한다.The present invention described above should be compatible with the existing MPEG system. As shown in FIG. 6, the compressed bit string output from the MPEG encoder 41 is input to the compression unit 42 of the present invention. Finds a motion vector from the input compressed bit string, generates and stores the compressed and new compressed bit strings as described above, and the received compressed bit string is decompressed by the decompression unit 43 of the present invention and the MPEG decoder 44 Decode from

이상에서 설명한 바와 같이 본 발명은 움직임 벡터를 2차원 영상으로 변환하여 인트라 코딩방법으로 코딩함으로써 화질을 손상시키지 않으면서 영상을 높은 압축률로 압축할 수 있고, 또한 동일한 압축률로 압축할 경우에는 종래에 비하여 보다 좋은 화질을 얻을 수 있다.As described above, the present invention converts a motion vector into a two-dimensional image and codes the image by an intra coding method so that the image can be compressed at a high compression rate without compromising image quality. Better image quality can be obtained.

Claims (4)

입력 영상을 DCT 및 양자화하여 움직임 보상을 실행하는 DCT/양자화/움직임 보상부(21)와, 상기 DCT/양자화/움직임 보상부(21)의 출력신호를 가변길이 코딩방법으로 코딩하는 가변길이 코딩부(22)와, 입력 영상의 움직임을 추정하여 움직임 벡터를 출력하는 움직임 추정부(23)와, 상기 움직임 추정부(23)에서 출력되는 움직임 벡터를 2차원 영상으로 배열하는 움직임 벡터 영상변환부(31)와, 상기 움직임 벡터 영상변환부(31)의 출력신호를 손실없이 코딩하는 무손실 코딩부(32)와, 상기 움직임 벡터 영상 변환부(31)의 출력신호를 코딩시 발생하는 손실을 감안하여 코딩하는 손실감안 코딩부(33)와, 상기 무손실 코딩부(32)또는 손실감안 코딩부(33)의 출력신호를 미리 설정된 제어신호에 따라 선택하여 멀티플렉서/.출력버퍼부(25)로 출력하는 선택부(34)와, 상기 선택부(34)에서 선택된 손실감안 코딩 또는 무손실 감안 코딩신호나 상기 가변길이 코딩부(22)의 출력을 선택적으로 출력하는 멀티플렉서/출력버퍼부(25)로 구성된 것을 특징으로 하는 동영상 압축 부호화 장치.DCT / quantization / motion compensation unit 21 for performing motion compensation by DCT and quantizing the input image, and variable length coding unit for coding the output signal of the DCT / quantization / motion compensation unit 21 with variable length coding method 22, a motion estimator 23 for estimating the motion of the input image and outputting a motion vector, and a motion vector image converter for arranging the motion vectors output from the motion estimator 23 into a two-dimensional image ( 31), the lossless coding unit 32 for coding the output signal of the motion vector image conversion unit 31 without loss, and the loss occurring in coding the output signal of the motion vector image conversion unit 31 in consideration of The loss sensitive coding unit 33 to be coded and the output signal of the lossless coding unit 32 or the loss sensitive coding unit 33 are selected according to a preset control signal and outputted to the multiplexer / output buffer unit 25. A selection unit 34 and the selection unit ( And a multiplexer / output buffer unit (25) for selectively outputting the lossy-sensitive coding or lossless-considered coding signal selected at (34) or the output of the variable length coding unit (22). 제1항에 있어서, 상기 손실감안 코딩부(33)는 상기 움직임 벡터 영상 변환부(31)로부터 입력되는 수평, 수직 움직임 벡터영상을 DCT 및 양자화하여 출력하는 DCT/양자화부(33-A)와, 상기 DCT/양자화부(33-A)의 출력신호를 가변길이 코딩하여 멀티플렉서/출력 버퍼부(25)로 출력되는 가변길이코딩부(33-C)와, 상기 DCT/양자화부(33-A)에서 코딩된 움직임 벡터 영상을 역 DCT 및 역양자화하여 움직임 벡터 영사으로 복원하여 DCT/양자화 움직임 보상부(21)로 출력하는 DCT/양자화부(33-B)로 구성된 것을 특징으로 하는 동영상 압축 부호화 장치2. The DCT / quantizer 33-A of claim 1, wherein the loss sensitive coding unit 33 is a DCT / quantizer 33-A for outputting DCT and quantized horizontal and vertical motion vector images input from the motion vector image converter 31. The variable length coding unit 33-C outputs the variable length coding of the output signal of the DCT / quantization unit 33-A to the multiplexer / output buffer unit 25, and the DCT / quantization unit 33-A. Video compression encoding, comprising: a DCT / quantization unit 33-B for inverse DCT and inverse quantization coded in the N-D, and restoring the motion vector projection to a DCT / quantization motion compensator 21 Device 제1항에 있어서, 상기 무손실 코딩부(32)는 상기 움직임 벡터 영상변환부(31)로부터 입력되는 수평, 수직 움직임 벡터영상을 DPCM코딩 방법으로 각 벡터값 사이의 차를 구하는DPCM수행부(32-A)와, 상기 DPCM수행부(32-A)에서의 출력을 가변길이 코딩하여 멀티플렉서/출력 버퍼부(25)로 출력하는 가변길이 코딩부(32-B)로 구성된 것을 특징으로 하는 동영상 압축 부호화 장치The DPCM execution unit 32 of claim 1, wherein the lossless coding unit 32 calculates a difference between the vector values of the horizontal and vertical motion vector images input from the motion vector image conversion unit 31 by DPCM coding. -A) and a variable length coding unit 32-B for variable length coding the output from the DPCM performing unit 32-A and outputting the variable length coding unit to the multiplexer / output buffer unit 25. Encoding device 제2항에 있어서, 상기 DCT/양자화부(33-A)는 입력되는 수평, 수직 움직임 벡터영상을 DCT처리하는 움직임 벡터 영상 DCT부(33-A1)와, 상기 움직임벡터 영상 DCT부(33-A1)에서 DCT처리된 수평, 수직 움직임 벡터 영상을 양자화하는 움직임벡터 영상 양자화부(33-A2)로 구성되며, 상기역DCT/양자화부(33-B)는 상기 DCT/양자화부(33-A)에서 코딩된 움직임벡터 영상을 역양자화하는움직임 벡터영상 역양자화부(33-B2)와, 역 DCT처리하는 움직임 벡터 영상 역DCT부(33-B1)로 구성된 것을 특징으로 하는 동영상 압축 부호화 장치.3. The DCT / quantization unit 33-A according to claim 2, wherein the DCT / quantization unit 33-A includes a motion vector image DCT unit 33-A1 for DCT processing the input horizontal and vertical motion vector images, and the motion vector image DCT unit 33-A. A1) comprises a motion vector image quantizer 33-A2 for quantizing the DCT-processed horizontal and vertical motion vector image, wherein the inverse DCT / quantizer 33-B is the DCT / quantizer 33-A. And a moving vector image inverse quantization unit (33-B2) for inverse quantization of the motion vector image coded in (D)) and a motion vector image inverse DCT unit (33-B1) for inverse DCT processing.
KR1019940017533A 1993-08-21 1994-07-20 Mpeg apparatus KR0130167B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR93-16277 1993-08-21
KR930016277 1993-08-21

Publications (2)

Publication Number Publication Date
KR950007535A KR950007535A (en) 1995-03-21
KR0130167B1 true KR0130167B1 (en) 1998-04-09

Family

ID=26629840

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940017533A KR0130167B1 (en) 1993-08-21 1994-07-20 Mpeg apparatus

Country Status (1)

Country Link
KR (1) KR0130167B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100580109B1 (en) * 2003-12-19 2006-05-12 주식회사 팬택앤큐리텔 Mobile communication terminal and method for recording moving-image

Also Published As

Publication number Publication date
KR950007535A (en) 1995-03-21

Similar Documents

Publication Publication Date Title
JP3888597B2 (en) Motion compensation coding apparatus and motion compensation coding / decoding method
KR100850705B1 (en) Method for adaptive encoding motion image based on the temperal and spatial complexity and apparatus thereof
US6639942B1 (en) Method and apparatus for estimating and controlling the number of bits
KR101138393B1 (en) Apparatus and method for encoding/decoding of color image and video using different prediction among color components according to coding modes
US20050002458A1 (en) Spatial scalable compression
JP2001045489A (en) Image prediction decoding method and system
KR100961760B1 (en) Motion Estimation Method and Apparatus Which Refer to Discret Cosine Transform Coefficients
JP2007143176A (en) Compression method of motion vector
JPH06189290A (en) Video signal encoding device using 1d/2d dct
US20020191696A1 (en) Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation
US20070025438A1 (en) Elastic storage
KR100598093B1 (en) Apparatus and method with low memory bandwidth for video data compression
KR0130167B1 (en) Mpeg apparatus
KR20100082700A (en) Wyner-ziv coding and decoding system and method
KR0181067B1 (en) Moving picture encoder of having compatibility
KR0169657B1 (en) Device for encoding moving picture signals
JP2008512023A (en) Method and apparatus for motion prediction
KR100213283B1 (en) Moving picture encoder
KR0178225B1 (en) Encoder of image system
KR0169654B1 (en) Device for encoding moving picture signals
KR100192784B1 (en) A video encoder
KR0124157B1 (en) Image encoding apparatus
KR0169653B1 (en) Device for encoding moving picture signals
KR0169656B1 (en) Device for encoding moving picture signals
JP2002359852A (en) Device and method for predictive decoding of image

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: 20121026

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20131024

Year of fee payment: 17

EXPY Expiration of term