KR0148136B1 - Inter/intramode code method and apparatus - Google Patents

Inter/intramode code method and apparatus Download PDF

Info

Publication number
KR0148136B1
KR0148136B1 KR1019930006219A KR930006219A KR0148136B1 KR 0148136 B1 KR0148136 B1 KR 0148136B1 KR 1019930006219 A KR1019930006219 A KR 1019930006219A KR 930006219 A KR930006219 A KR 930006219A KR 0148136 B1 KR0148136 B1 KR 0148136B1
Authority
KR
South Korea
Prior art keywords
mode
data
inter
encoding
bitmap
Prior art date
Application number
KR1019930006219A
Other languages
Korean (ko)
Other versions
KR940025196A (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 KR1019930006219A priority Critical patent/KR0148136B1/en
Publication of KR940025196A publication Critical patent/KR940025196A/en
Application granted granted Critical
Publication of KR0148136B1 publication Critical patent/KR0148136B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness

Abstract

본 발명은 디지탈영상데이타를 부호화하는 방식에 관한 것으로, 한 화면에 대한 정보를 가진 전송데이타 중 각 블록에 대해 인터/인트라모드를 구분하는 데이타를 공급받아 블록단위 또는 매크로블록단위로 인터모드 또는 인트라모드에 대해 0 또는 1의 값을 지정해서 한 화면에 대한 비트맵(Bit Map)형태로 구성하고, 전술한 각 모드들이 각기 몰려서 위치한다는 점을 착안하여 비트맵 형태의 모드데이타를 런랭쓰(Run Rength)부호화 및 가변장부호화함으로써 전체 전송데이타의 압축율을 더욱 증가시키기 위한 인터/인트라모드 부호화방법 및 장치에 관한 것이다.The present invention relates to a method of encoding digital image data, and receives inter- or intra-mode data for each block among transmission data having information on one screen, and inter-mode or intra-block unit by block unit or macro block unit. By setting a value of 0 or 1 for a mode, it is configured in the form of a bit map for one screen, and the mode data in the bitmap form is run in consideration of the fact that each of the above modes are located in a cluster. The present invention relates to an inter / intra-mode encoding method and apparatus for further increasing the compression rate of total transmission data by encoding and variable length encoding.

Description

인터/인트라모드 부호화방법 및 장치Inter / Intramode Coding Method and Apparatus

제1도는 본 발명에 의한 인터/인트라모드 부호화장치를 나타내는 블록도.1 is a block diagram showing an inter / intra mode encoding apparatus according to the present invention.

제2도는 일반적인 부호화장치의 양자화부에서 출력되는 데이타를 나타내는 블록도.2 is a block diagram showing data output from a quantization unit of a general encoding apparatus.

제3도는 제1도 장치중 비트맵변환부의 동작을 설명하기 위한 개념도.FIG. 3 is a conceptual diagram for describing an operation of a bitmap converter of FIG. 1 apparatus.

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

20 : 모드결정부 21 : 비트맵변환부20: mode determination unit 21: bitmap conversion unit

22 : 런랭쓰부호화기 23 : 가변장부호화기22: run length encoder 23: variable length encoder

본 발명은 디지탈영상데이타를 부호화하는 방식에 관한 것으로, 특히 데이타 전송포맷 중 인트라모드와 인터모드를 구분하는 오버헤드데이타를 비트맵하고 런랭쓰 및 가변장부호화를 함으로써 전송데이타를 압축하기 위한 인터/인트라모드 부호화방법 및 장치에 관한 것이다.The present invention relates to a method of encoding digital image data, and more particularly, to compressing transmission data by bitmaping the overhead data for distinguishing the intra mode and the inter mode among the data transmission formats, and performing run length and variable length encoding. The present invention relates to an intra mode encoding method and apparatus.

근래에 와서 영상 및 음향을 송수신하는 시스템에서 영상신호 및 음성신호를 디지탈신호로 부호화하여 전송하거나 저장부에 저장하고, 이를 다시 복호화하여 재생하는 방식이 주로 사용되고 있다. 이러한 영상신호의 부호화를 위해 사용되고 있는 방식에는 변환부호화방식, DPCM(Differential Pulse Code Modulation)방식, 벡터양자화방식 및 가변장부호화(Variable Length Coding; 이하 VLC라 함)방식 등이 있다. 이 부호화방식들은 디지탈영상신호에 포함되어 있는 용장성데이타(Redundancy data)를 제거하여 전체 데이타량을 압축시키기 위해 사용된다. 이와 같은 부호화방식을 수행하기 위해 화면을 소정 크기의 블록들로 구분하고, 각 블록 또는 블록간의 차신호에 대해 소정의 변환을 행하여 영상데이타를 주파수영역의 변환계수로 변환한다. 각 블록에 대한 데이타변환방식에는 DCT(Discrete Cosine Transform), WHT(Walsh-Hadamard Transform), DFT(Discrete Fourier TRansform) 및 DST(Discrete Sine Transform)등이 있다. 이와 같은 변환계수들을 데이타특성에 따라 적절히 부호화함으로써 전송데이타를 압축한다. 이렇게 부호화하고 전송한 영상데이타를 복호화부에서 원래의 영상신호로 복원하기 위해서는 영상데이타의 전송과 함께 영상신호의 부호화된 상태정보를 포함하는 헤드데이타의 전송이 필요하다. 일반적으로 동화상의 가변장부호화방식에서는 화상 간의 변화가 많은 경우에는 인트라모드로, 화상간의 변화가 적은 경우에는 인터모드로 부호화를 하는데 어떠한 모드를 사용하여 부호화했는지에 대한 정보도 오버헤드데이타에 포함된다.Recently, in a system for transmitting and receiving video and audio, a method of encoding and transmitting a video signal and an audio signal as a digital signal, or storing the image signal and a storage unit, and decoding and replaying the same is mainly used. Methods used for encoding such video signals include a conversion encoding method, a differential pulse code modulation (DPCM) method, a vector quantization method, and a variable length coding (VLC) method. These coding methods are used to compress redundancy data included in the digital video signal to compress the total amount of data. In order to perform the encoding scheme, the screen is divided into blocks having a predetermined size, and predetermined conversion is performed on each block or difference signal between the blocks to convert the image data into a conversion coefficient of the frequency domain. Examples of data transformation methods for each block include DCT (Discrete Cosine Transform), WHT (Walsh-Hadamard Transform), DFT (Discrete Fourier TRansform), and DST (Discrete Sine Transform). The transmission data is compressed by appropriately encoding such transform coefficients according to data characteristics. In order to restore the encoded and transmitted video data to the original video signal, it is necessary to transmit the head data including the encoded state information of the video signal together with the transmission of the video data. In general, in the variable length encoding scheme of moving images, information on which mode is encoded is used in intra mode when there is a large change between images and inter mode when there is a small change between images. .

제2도는 양자화한 후의 데이타의 포맷을 나타내는 블록도로서, 블록단위로 양자화된 데이타의 양자화레벨을 나타내는 오버헤드데이타와, 각 블록이 인터모드로 부호화되었는지 또는 인트라모드로 부호화되었는지를 나타내는 모드정보, 및 실질적인 영상데이타를 나타내는 양자화계수로 구성된다. 그런데, 하나의 필드 또는 프레임의 영상을 블록단위로 부호화할 때, 데이타가 어떠한 모드로 부호화되었는지에 대한 정보를 각 블록에 대해 전송해야 하므로 전체 전송데이타의 양이 많아지는 문제점이 있었다.2 is a block diagram showing a format of data after quantization, including overhead data indicating a quantization level of data quantized in units of blocks, mode information indicating whether each block is encoded in an inter mode or an intra mode, And a quantization coefficient representing substantial image data. However, when encoding an image of one field or frame in units of blocks, information on which mode the data is encoded must be transmitted for each block, thereby increasing the amount of total transmission data.

따라서, 본 발명의 목적은 영상신호를 전송하는데 있어서 블록단위로 인터모드 또는 인트라모드를 나타내는 헤드데이타를 비트맵으로 구성하고, 라인단위로 런랭쓰 부호화 및 가변장부호화를 함으로써, 전송데이타를 더욱 압축시킬 수 있는 인터/인트라모드 부호화방법을 제공함에 있다.Accordingly, an object of the present invention is to further compress transmission data by constructing a bitmap of head data indicating an inter mode or an intra mode in block units, and performing run length coding and variable length coding in line units in transmitting video signals. An inter / intra mode encoding method can be provided.

또한, 본 발명의 다른 목적은 전술한 인터/인트라모드 부호화방법을 구현하기 위한 장치를 제공함에 있다.Another object of the present invention is to provide an apparatus for implementing the aforementioned inter / intra mode encoding method.

이와 같은 본 발명의 목적은 한 화면에 대해 블록단위 또는 매크로블록단위로 인터/인트라모드를 결정하는 오버헤드데이타를 부호화하는 방법에 있어서, 전송하기 위한 영상데이타로부터 각 블록 또는 매크로블록에 대해 인터모드로 부호화하는 것인지 또는 인트라모드로 부호화할 것인지를 결정하는 단계와, 상기 결정단계에서 생성된 모드정보를 공급받아 블록단위 또는 매크로블록단위로 각 모드에 대해 0 또는 1의 값을 지정해서 한 화면에 대한 비트맵 형태로 구성하는 단계와, 비트맵형태로 구성된 데이타를 공급받아 라인단위로 런랭쓰부호화하는 단계, 및 런랭쓰부호화한 데이타를 가변장부호화하는 단계를 포함하는 인터/인트라모드의 부호화방법에 의하여 달성된다.An object of the present invention as described above is a method of encoding an overhead data for determining an inter / intra mode in a block unit or a macroblock unit for a screen, wherein the intermode is performed for each block or macroblock from image data for transmission. Determining whether to encode in the frame or intra mode, and by receiving the mode information generated in the determining step, and assigning a value of 0 or 1 for each mode in units of blocks or macroblocks, A bitmap form, a runlength-encoded data line-by-line, and a variable length-encoded runlength-coded data. Is achieved.

본 발명의 다른 목적은 한 화면에 대해 블록단위 또는 매크로블록단위로 인터/인트라모드를 결정하는 오버헤드데이타를 부호화하는 장치에 있어서, 전송하기 위한 영상데이타를 공급받아 각 블록 또는 매크로블록에 대해 인터모드로 부호화할 것인지 또는 인트라모드로 부호화할 것인지를 결정하는 모드데이타를 출력하는 모드결정부와, 모드데이타를 공급받아 비트맵 형태로 구성하는 비트맵변환부와, 비트맵형태로 구성된 데이타를 공급받아 라인단위로 런랭쓰부호화하는 런랭쓰부호화부, 및 런랭쓰부호화부로 부터 인가되는 데이타를 가변장부호화하여 출력하는 가변장부호화부를 포함하는 인터/인트라모드 부호화장치에 의하여 달성된다.Another object of the present invention is an apparatus for encoding an overhead data for determining an inter / intra mode in a block unit or a macroblock unit for one screen, and receives an image data for transmission to interleave each block or macroblock. Supply a mode decision unit for outputting mode data for determining whether to encode in mode or intra mode, a bitmap converter configured to receive mode data in a bitmap form, and data in bitmap form. It is achieved by an inter / intra-mode encoding apparatus including a run length encoding unit for receiving a line length code and a variable length encoding unit for variable length encoding and outputting data applied from the run length encoding unit.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 기술하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명에 의한 인터/인트라모드 부호화장치의 일 실시예를 나타낸다. 제1도에서, 영상데이타(VS)가 제1가산기(A1)를 통해 N×N변환부(11)로 입력되고, N×N변환부(11)의 출력단은 양자화부(12)의 입력단과 연결하며 양자화부(12)의 출력단은 가변장부호화부(13)와 연결된다. 한편, 영상데이타(VS)는 모드결정부(20)에도 공급되어, 모드결정부(20)는 화상의 변화정도에 따라 인터모드 또는 인트라모드를 결정하여 인터/인트라모드정보를 다음 단의 비트맵변환부(21) 및 두 개의 스위치(RSW1,RSW2)로 공급한다. 비트맵변환부(21)의 출력단은 런랭쓰부호화기(22)와 연결되며 런랭쓰부호화기(22)의 출력은 가변장부호화기(23)로 공급되어 가변장부호화된 모드정보가 버퍼(14)로 인가된다. 가변장부호화된 신호는 버퍼(14)에서 잠시 지연된 후 전송되는데 버퍼(14)상태에 따라 양자화레벨(QS)을 결정하는 신호가 양자화부(12) 및 역양자화부(15)로 공급된다. 한편, 양자화부(12)는 역양자화부(15)로 양자화된 신호를 출력하고 역양자화부(15)는 N×N역변환부(16)의 입력단과 연결되어 있다. 이때 N×N역변환부(16)에서 출력되는 신호는 제2가산기(A2)를 통해 프레임메모리(17)로 인가되고, 프레임메모리(17)는 동추정부(18) 및 동보상부(19)로 각 출력을 인가하도록 구성되어 있다. 동보상부(19)의 출력은 제1가산기(A1) 및 제2가산기(A2)로 각 인가되고 동추정부(18)는 영상데이타(VS)를 인가받아 동보상부(19)로 동벡터(MV)를 출력하는 동시에 부호화된 영상신호(VC)와 함께 전송하도록 구성되어 있다.1 shows an embodiment of an inter / intra mode encoding apparatus according to the present invention. In FIG. 1, the image data VS is input to the N × N converter 11 through the first adder A1, and the output terminal of the N × N converter 11 is connected to the input terminal of the quantization unit 12. The output terminal of the quantization unit 12 is connected to the variable length encoding unit 13. On the other hand, the image data VS is also supplied to the mode determination unit 20, and the mode determination unit 20 determines the inter mode or the intra mode according to the degree of change of the image, and then converts the inter / intra mode information into the next bitmap. It is supplied to the converter 21 and the two switches RSW1 and RSW2. The output terminal of the bitmap converter 21 is connected to the run length encoder 22 and the output of the run length encoder 22 is supplied to the variable length encoder 23 so that variable length encoded mode information is applied to the buffer 14. do. The variable length coded signal is transmitted after being delayed in the buffer 14. A signal for determining the quantization level QS according to the buffer 14 state is supplied to the quantization unit 12 and the dequantization unit 15. Meanwhile, the quantization unit 12 outputs a quantized signal to the inverse quantization unit 15, and the inverse quantization unit 15 is connected to an input terminal of the N × N inverse transform unit 16. At this time, the signal output from the N × N inverse transform unit 16 is applied to the frame memory 17 through the second adder A2, and the frame memory 17 is divided into the equalizer 18 and the dynamic compensator 19, respectively. It is configured to apply an output. The output of the compensator 19 is applied to the first adder A1 and the second adder A2, and the equalizer 18 receives the image data VS to the compensator 19 to obtain the motion vector MV. And output together with the encoded video signal VC.

상기와 같이 구성된 본 발명의 동작을 보다 상세히 설명한다. 먼저, N×N블록의 영상데이타(VS)(일반적으로 N1×N2블록이나, 실시예에서는 N1×N2=N으로 가정함)가 모드결정부(20)와 제1가산기(A1) 및 동추정부(18)로 인가된다. 모드결정부(20)에서는 전화상과 현재화상 간의 유사한 부분이 많은 경우에는 인터모드(Inter Mode)로, 전화상과 현재화상과의 변화가 많은 경우에는 인트라모드(Intra Mode)로 각 부호화방법을 결정한다. 이러한 방식으로 결정된 인터/인트라모드는 2개의 스위치(RSW1,RSW2)를 제어함으로써 부호화장치의 인터/인트라모드를 결정한다.The operation of the present invention configured as described above will be described in more detail. First, the image data VS of the N × N blocks (generally N 1 × N 2 blocks, but in the embodiment, assumes N 1 × N 2 = N) is the mode decision unit 20 and the first adder A1. ) And the winter weight 18. In the mode determining unit 20, each encoding method is selected as an inter mode when there are many similar parts between the telephone image and the current image, and an intra mode when there is a large change between the telephone image and the current image. Decide The inter / intra mode determined in this manner determines the inter / intra mode of the encoding apparatus by controlling the two switches RSW1 and RSW2.

우선, 화상 간의 변화가 많은 인트라모드에서, 인터/인트라모드에 의해 제 1 및 제 2스위치(RSW1,RSW2)는 오프되어, 입력되는 N×N블록의 영상데이타(VS)는 N×N변환부(11)에서 주파수영역의 데이타로 변환되고, 이때 변환된 변환계수위 에너지는 주로 저주파쪽으로 모이게 된다. 양자화부(12)는 소정의 양자화과정을 통해 변환계수들을 일정 레벨의 대표값들로 바꾸어준다. 즉, 양자화부(12)는 버퍼(14)에서 궤환되는 양자화레벨(QS)신호를 공급받고, 이에 따라 소정의 양자화가중매트릭스에 의해 N×N변환부(11)의 출력데이타를 양자화시킨다. 지그재그스캔(Zig Zag Scan), 런앰플리튜드(Run Amplitude)부호화, 및 가변장부호화(VLC)를 수행하는 가변장부호화부(13)는 양자화된 양자화계수에 대해 이 대표값들의 통계적 특성을 살려 가변장부호화함으로써 전송되는 데이타를 압축시킨다. 버퍼(14)는 가변장부호화부(13)에서 공급되는 압축데이타를 받아 일정한 속도로 전송하면서 오버플로우(overflow)나 언더플로우(underflow)가 발생하지 않도록 입력데이타량을 조절하기 위해 양자화레벨(QS)신호를 출력한다.First, in the intra mode with a large change between the images, the first and second switches RSW1 and RSW2 are turned off by the inter / intra mode, and the image data VS of the input N × N block is converted into an N × N converter. In (11), the data is converted into data in the frequency domain, and the transformed coefficient coefficient energy is mainly concentrated toward the low frequency side. The quantization unit 12 converts the transform coefficients into representative values of a predetermined level through a predetermined quantization process. That is, the quantization unit 12 is supplied with the quantization level (QS) signal fed back from the buffer 14, thereby quantizing the output data of the N × N conversion unit 11 by a predetermined quantization weighting matrix. The variable length encoder 13, which performs zigzag scan, run amplitude encoding, and variable length coding (VLC), utilizes the statistical properties of these representative values for quantized quantization coefficients. Compresses the data being sent by encoding it. The buffer 14 receives the compressed data supplied from the variable length coding unit 13 and transmits the data at a constant speed, and adjusts the input data amount so that overflow or underflow does not occur. Outputs a signal.

화상 간의 변화가 적은 인터모드의 경우에는, 인터/인트라모드정보에 의해 제 1 및 제 2스위치(RSW1,RSW2)가 온되므로, N×N블록의 영상데이타(VS)가 제 1가산기(A1)에서 소정의 궤환데이타와 감산되어 오차데이타가 산출된다. 이 오차데이타는 N×N변환부(11)로 인가되고 양자화부(12) 및 가변장부호화부(13)를 통해서 부호화되는데 가변장부호화부까지의 과정은 전술한 인트라모드의 경우와동일하므로 생략하기로 한다. 일반적으로 화면과 화면간에는 유사한 부분이 많으므로, 인트라모드에서는 약간의 움직임이 있는 화면인 경우 그 움직임을 추정하여 동벡터(MV)를 산출하고, 이 동벡터를 이용하여 데이타를 보상하여 주면 인접한 화면간의 차신호는 매우 작으므로 전송데이타를 더욱 압축시킬 수 있다. 이러한 동보상을 수행하기 위해, 역양자화부(15) 및 N×N역변환부(16)는 양자화부(12)에서 출력되는 양자화계수를 역양자화시킨 다음 역변환시켜 공간영역의 영상데이타로 변환시킨다. N×N역변환부(16)에서 출력되는 영상데이타는 소정의 궤환데이타와 제 2가산기(A2)에서 가산되어 프레임메모리(17)에 저장됨으로써 화면을 재구성한다. 그러면, 동추정부(18)는 입력되는 N×N블록의 영상데이타(VS)와 가장 유사한 패턴의 블록데이타를 프레임메모리(17)에 저장된 프레임데이타에서 찾아, 2개 블록간의 움직임을 나타내는 동벡터(MV)를 산출한다. 이 동벡터(MV)는 복호화시스템에서 이용되기 위해 수신측으로 전송되고, 또한 동보상부(19)로 전송된다. 동보상부(19)는 프레임메모리(17)의 프레임데이타에서 동벡터에 상응하는 블록데이타를 독출하여 제 1가산기(A1)로 공급한다. 그러면, 제 1가산기(A1)는 전술한 바와 같이 입력되는 블록영상데이타(VS)와 동보상부(19)에서 공급되는 블록데이타 간의 오차데이타를 산출하고, 이 오차데이타는 다시 부호화되어 수신측으로 전송된다. 또한, 제1도에서 2개의 스위치(RSW1,RSW2)들은 오차데이타의 누적으로 인해 부호화되는 화상이 실제화상과 달라지는 것을 방지하기 위해 프레임단위 또는 소정의 블록단위로 데이타를 리프레쉬(Refresh)시킨다.In the inter mode with little change between images, since the first and second switches RSW1 and RSW2 are turned on by inter / intra mode information, the video data VS of the N × N block is added to the first adder A1. The error data is calculated by subtracting from the predetermined feedback data. This error data is applied to the N × N converter 11 and encoded by the quantizer 12 and the variable length encoder 13, and the process up to the variable length encoder is the same as that of the above-described intra mode, and thus is omitted. Let's do it. In general, since there are many similar parts between the screen and the screen, in the intra mode, the motion vector is calculated by estimating the motion and the motion vector is compensated using the motion vector. Since the difference signal between them is very small, the transmission data can be further compressed. In order to perform such dynamic compensation, the inverse quantization unit 15 and the N × N inverse transform unit 16 inversely quantize the quantization coefficients output from the quantization unit 12 and inversely transform the image data in the spatial domain. The video data output from the NxN inverse transform unit 16 is added to the predetermined feedback data by the second adder A2 and stored in the frame memory 17 to reconstruct the screen. The tracking unit 18 then finds the block data of the pattern most similar to the image data VS of the N × N block to be inputted from the frame data stored in the frame memory 17, and indicates the motion vector representing the movement between the two blocks. MV) is calculated. This moving vector (MV) is transmitted to the receiving side for use in the decoding system, and also to the compensating unit (19). The compensating unit 19 reads block data corresponding to the motion vector from the frame data of the frame memory 17 and supplies it to the first adder A1. Then, the first adder A1 calculates error data between the block image data VS input and the block data supplied from the compensator 19 as described above, and the error data is encoded again and transmitted to the receiving side. . In addition, in FIG. 1, the two switches RSW1 and RSW2 refresh data in a frame unit or a predetermined block unit in order to prevent the encoded image from being different from the actual image due to accumulation of error data.

이와 같이 전화상과 현재화상 간의 영상데이타의 변화에 따라 인터모드 또는 인트라모드가 수행되는 동시에 비트맵변환부(21)는 모드정보가 포함된 헤드데이타를 부호화하기 위해 인터/인트라모드정보를 제3도와같이 비트맵(Bit Map)으로 구성한다. 제3도는 본 발명에서 비트맵변환부의 동작을 설명하기 위한 개념도로서, 0과 1로 표시된 부분은 각각 블록단위 인트라모드와 인터모드를 나타낸다. 한 화면에서 인터모드부분과 인트라도므부분은 대개 서로 몰려 있으므로 이를 런랭쓰(Run Rength)부호화하는 것이 데이타압축에 유리하다. 따라서, 런랭쓰부호화기(22)에서는 제3도와 같이 구성되어 있는 인터/인트라모드의 비트맵을 라인단위로 런랭쓰부호화한다. 그리고 다음 단의 가변장부호화기(23)에서 데이타압축을 더욱 높이기 위해 라인단위로 런랭쓰부호화된 데이타를 가변장부호화 한 후 버퍼(14)를 통해 일정한 속도로 수신측으로 전송한다.As described above, the inter-mode or intra-mode is performed according to the change of the video data between the telephone image and the current image, and the bitmap converter 21 converts the inter / intra-mode information to the third to encode the head data including the mode information. Like a map, it consists of a bitmap. FIG. 3 is a conceptual diagram illustrating the operation of the bitmap converter in the present invention, and portions indicated by 0 and 1 indicate an intra mode and an inter mode in a block unit, respectively. Since the intermode part and the intradom part are usually crowded together on one screen, it is advantageous to compress data by running run encoding. Therefore, the run length encoder 22 performs run length encoding of the bitmap of the inter / intra mode configured as shown in FIG. In order to further increase the data compression, the variable length coder 23 of the next stage performs variable length coded data by line length and transmits the data to the receiving side at a constant speed through the buffer 14.

이와 같이, 한 화면의 각 블록이 인터모드 또는 인트라모드로 부호화되었는지를 구분하는 모드데이타가 대부분 서로 몰려있는 점에 착안하여 인터/인트라모드정보를 런랭쓰부호화 및 가변장부호화함으로써 모드정보를 포함한 오버헤드데이타의 용량을 줄일 수 있다.As described above, the mode data for distinguishing whether each block of one screen is encoded in inter mode or intra mode is concentrated on each other. Reduce the capacity of the head data.

이상 설명한 바와 같이, 본 발명에 의한 인터/인트라모드 부호화방법 및 장치는 한 화면에 대한 정보를 가진 전송 영상데이타를 인가받아 화면의 각 블록에 대한 인터/인트라모드 정보를 결정한 후에, 이 모드정보를 비트맵으로 구성하고 런랭쓰부호화 및 가변장부호화함으로써 전송되는 전체데이타를 더욱 압축시킬 수 있다.As described above, the inter / intra mode encoding method and apparatus according to the present invention receives the transmission video data having the information on one screen, determines the inter / intra mode information for each block of the screen, and then selects the mode information. Composed of bitmaps, runlength encoding, and variable length encoding can further compress the entire transmitted data.

Claims (3)

한 화면에 대해 블록단위로 인터/인트라모드를 결정하는 오버헤드데이타를 부호화하는 장치에 있어서, 전송하기 위한 영상데이타를 공급받아 상기 각 블록에 대해 인터모드로 부호화할 것인지 또는 인트라모드로 부호화할 것인지를 결정하는 모드데이타를 출력하는 모드결정수단; 상기 모드데이타를 공급받아 비트맵 형태로 구성하는 비트맵수단; 상기 비트맵형태로 구성된 데이타를 공급받아 라인단위로 런랭쓰부호화하는 런랭쓰부호화수단; 및 상기 런랭쓰부호화수단으로 부터 인가되는 데이타를 가변장부호화하여 출력하는 가변장부호화수단을 포함하는 인터/인트라모드의 부호화장치.An apparatus for encoding overhead data for determining an inter / intra mode on a block-by-block basis for a screen, comprising: receiving an image data for transmission and encoding each block in the inter mode or the intra mode Mode determination means for outputting mode data for determining a; Bitmap means for receiving the mode data and configuring the bitmap in a bitmap form; Run length encoding means for receiving the data configured in the bitmap form and performing run length encoding on a line basis; And variable length encoding means for variable length encoding and outputting data applied from the run length encoding means. 제1항에 있어서, 상기 비트맵수단은 인터/인트라모드를 구분하는 상기 모드데이타를 한 화면의 형태로 구성하여 블록단위 또는 매크로블록단위로 각 모드에 대해 0 또는 1의 값을 지정해 주는 비트맵 형태로 구성하는 것을 특징으로 하는 인터/인트라모드 부호화장치.The bitmap unit of claim 1, wherein the bitmap unit configures the mode data for distinguishing the inter / intra mode in the form of one screen, and specifies a value of 0 or 1 for each mode in units of blocks or macroblocks. An inter / intra mode encoding apparatus, characterized in that configuration. 한 화면에 대해 블록단위 또는 매크로블록단위로 인터/인트라모드를 결정하는 오버헤드데이타를 부호화하는 방법에 있어서, 전송하기 위한 영상데이타로 부터 각 블록 또는 매크로블록에 대해 인터모드로 부호화할 것인지 또는 인트라모드로 부호화할 것인지를 결정하는 단계; 상기 결정단계에서 생성된 모드정보를 공급받아 블록단위 또는 매크로블록단위로 상기 각 모드에 대해 0 또는 1의 값을 지정해서 한 화면에 대한 비트맵 형태로 구성하는 단계; 상기 비트맵형태로 구성된 데이타를 공급받아 라인단위로 런랭쓰부호화하는 단계; 및 상기 런랭쓰부호화한 데이타를 가변장부호화하는 단계를 포함하는 인터/인트라모드의 부호화방법.In a method of encoding overhead data for determining an inter / intra mode in units of blocks or macroblocks for one screen, whether to encode in intra mode for each block or macroblock from image data to be transmitted or intra Determining whether to encode in mode; Receiving the mode information generated in the determining step and designating a value of 0 or 1 for each mode in a block unit or a macroblock unit to form a bitmap form of a screen; Receiving run-length encoding on a line-by-line basis by receiving data in the form of the bitmap; And variable length encoding the run length coded data.
KR1019930006219A 1993-04-14 1993-04-14 Inter/intramode code method and apparatus KR0148136B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930006219A KR0148136B1 (en) 1993-04-14 1993-04-14 Inter/intramode code method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930006219A KR0148136B1 (en) 1993-04-14 1993-04-14 Inter/intramode code method and apparatus

Publications (2)

Publication Number Publication Date
KR940025196A KR940025196A (en) 1994-11-19
KR0148136B1 true KR0148136B1 (en) 1998-12-01

Family

ID=19353900

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930006219A KR0148136B1 (en) 1993-04-14 1993-04-14 Inter/intramode code method and apparatus

Country Status (1)

Country Link
KR (1) KR0148136B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101535016B1 (en) 2014-04-15 2015-07-07 현대자동차주식회사 Apparatus for processing image of vehicular black box and method thereof

Also Published As

Publication number Publication date
KR940025196A (en) 1994-11-19

Similar Documents

Publication Publication Date Title
KR0155784B1 (en) Adaptable variable coder/decoder method of image data
KR0162197B1 (en) Image data variable length coding and decoding method and device
JP3025610B2 (en) Encoding method and apparatus
KR0139154B1 (en) Coding method in a neural network
JP2963416B2 (en) Video encoding method and apparatus for controlling bit generation amount using quantization activity
JPH06233137A (en) Encoder and decoder of digital signal
JPH06217150A (en) Method and apparatus for coding/decoding image data
JP2006054902A (en) Image coding method
CN1926880B (en) Data processor, its method and coder
JPH10108189A (en) Prediction method for discrete cosine transformation
KR0162203B1 (en) Adaptive encoding method and device using quantization step size
US5946421A (en) Method and apparatus for compensating quantization errors of a decoded video image by using an adaptive filter
KR0178195B1 (en) Apparatus for encoding an image signal using vector quantization technique
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
KR0148136B1 (en) Inter/intramode code method and apparatus
JP4001969B2 (en) Encoding apparatus and method, and decoding apparatus and method
US5614953A (en) Image signal decoding apparatus having an encoding error compensation
JP4407249B2 (en) Data processing apparatus, method and encoding apparatus, method and program
KR100358159B1 (en) Method for selecting macroblock compression mode in video coding system
KR100730383B1 (en) Method of predicting space for preventing error from propagation in image compression system
KR0129796B1 (en) Encoding device of moving picture
KR0148150B1 (en) Adaptive quantization step size decision method and apparatus with image data complexity
JPH03255792A (en) Picture quality controller
KR100595144B1 (en) An adaptive quantization algorithm for video coding
KR0178225B1 (en) Encoder of image system

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

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee