KR100205375B1 - Moving image encoding apparatus - Google Patents

Moving image encoding apparatus Download PDF

Info

Publication number
KR100205375B1
KR100205375B1 KR1019960030799A KR19960030799A KR100205375B1 KR 100205375 B1 KR100205375 B1 KR 100205375B1 KR 1019960030799 A KR1019960030799 A KR 1019960030799A KR 19960030799 A KR19960030799 A KR 19960030799A KR 100205375 B1 KR100205375 B1 KR 100205375B1
Authority
KR
South Korea
Prior art keywords
unit
dct
block
data
motion
Prior art date
Application number
KR1019960030799A
Other languages
Korean (ko)
Other versions
KR980013422A (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 KR1019960030799A priority Critical patent/KR100205375B1/en
Publication of KR980013422A publication Critical patent/KR980013422A/en
Application granted granted Critical
Publication of KR100205375B1 publication Critical patent/KR100205375B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/537Motion estimation other than block-based
    • H04N19/543Motion estimation other than block-based using regions
    • 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

동영상 부호와 장치는 서브블럭 처리를 위해 제공된다.The video code and the device are provided for subblock processing.

종래기술의 동영상 처리 부호화장치는 불규칙한 화면도 항상 일정한 서브블럭으로 나누어 부호화하므로 데이타의 손실이 커서 물체의 경계가 잘 재생되지 않는 문제점이 발생된다.The video processing encoding apparatus of the prior art always encodes irregular pictures into constant subblocks, thereby causing a problem in that the boundary of an object is not easily reproduced due to large data loss.

동영상 부호화 장치는 입력된 프레임을 DCT하는 DCT부, DCT된 데이타를 양자화 변환하는 양자와 변환부, 양자화된 데이타를 역양자화 변환하는 역양자화 변환부, 역영자화된 데이타를 IDCT하는 IDCT부, IDCT된 데이타를 움직임 보상하여 피드백하는 움직임 보상부로 구성된 동영상 부호화장치에 있어서, 입력 프레임과 이전 영상의 프레임으로 움직임 벡터와 영역분할 정보를 추출하여 움직임 보상부로 출력하는 움직임 및 분할정보 출력부와, 상기 움직임 및 분할정보 출력부의 정보에 의해 입력 프레임을 서브블럭 처리할 경우에 서브블럭을 DCT 처리크기로 확장하여 DCT부로 출력하는 블럭 확장부와, IDCT부에서 복호화된 데이타를가 확장된 서브블럭일때 원 영상크기로 블럭축소하여 출력하는 블럭 확장부를 더 부가하여 고주파 성분이 포함된 블럭을 필요에 따라 확장이 가능하도록하여 영역을 정확하게 세분하므로 화면의 물체경계가 정확하게 재생되는 효과가 있다.The video encoding apparatus includes a DCT unit for DCT input frames, a quantum and transform unit for quantizing and converting DCT data, an inverse quantization transform unit for inverse quantizing and converting quantized data, an IDCT unit for IDCT inversely quantized data, and an IDCT A video encoding apparatus comprising a motion compensator for motion-compensating and feeding back data, comprising: a motion and segmentation information output unit for extracting a motion vector and region segmentation information into an input frame and a frame of a previous image and outputting the motion vector and region segmentation information to the motion compensator; When the subframe is processed by the information of the partition information output unit, the block extension unit expands the subblock size to the DCT processing size and outputs the DCT unit to the DCT unit, and the data decoded by the IDCT unit is expanded to the original image size. Add a block expansion unit that reduces the block output and outputs a block containing high frequency components. Therefore, it is possible to expand accordingly, so the area is subdivided precisely, so that the boundary of the object on the screen can be reproduced accurately.

Description

동영상 부호화 장치Video encoding device

본 발명은 디지탈 영상 부호화 시스템에 관한것으로 특히, 서브블럭 처리를 위한 동영상 부호화 장치에 관한 것이다.The present invention relates to a digital video encoding system, and more particularly, to a video encoding apparatus for subblock processing.

일반적으로 한장의 영상은 일정한 크기 보통 8×8화소의 정방형영역으로 나뉘어져 각 영역에 대해 변환처리를 행함으로써 영역내의 평균값으로 부터 매우 정교환 최고주파수의 영상성분에 이르기까지 여러 가지 주파수의 영상성분으로 분해된다.In general, a single image is divided into square areas of a constant size, usually 8x8 pixels, and transformed for each area to obtain image components of various frequencies, ranging from the average value in the area to the image component of the highest frequency of the highest frequency. Decompose

이 분해과정은 DCT(Discrete Cosine Transform)로 하는데 변환전에는 화면에 불규칙하게 퍼져있는 화소값이 변환후에는 저주파항쪽으로 집중되는 경향이 있어서 양자화로 고주파항을 버리는 조작을 통해 정보손실이 거의 없이도 정보 압축을 할 수 있다.This decomposition process is called DCT (Discrete Cosine Transform). Before transformation, pixel values spread irregularly on the screen tend to be concentrated toward the low frequency term after transformation. can do.

이하, 첨부된 도면을 참조하여 종래기술에 따른 동영상 처리 부호화장치를 설명하면 다음과 같다.Hereinafter, a video processing encoding apparatus according to the prior art will be described with reference to the accompanying drawings.

도 1은 종래기술에 따른 동영상 처리 부호화 장치의 구성을 보여주는 블록도로써, 입력되는 프레임 단위의 영상정보를 주파수 성분으로 변환하는 DCT(11)와, DCT(11)의 출력신호를 유한한 갯수의 값으로 근사화하는 양자화 변환부(12)와, 상기 양자화 변환부(12)의 출력신호를 다중화하여 출력하는 MUX(Multiplexer)(13)와, MUX(13)의 출력신호를 버퍼링하여 전송하는 버퍼(14)와, 버퍼(14)의 상태에 따라 양자화 변환부(12)의 양자화 스텝을 제어하는 QSC(Qantization Stepsize Control)부(15)와, 양자화 변환부(12)에서 양자화 변환되어진 영상데이타를 역양자화하여 출력하는 역양자화 변환부(16)와, 역양자화된 데이타를 역 DCT하는 IDCT(Inverse Discrete Cosine Transform)(17)와, 화면간 블럭(inter block)인 경우 이전의 블럭데이타와 IDCT(17)에서 복호화된 신호를 더하여 출력하는 가산기(18)와, 가산기(18)의 출력데이타를 저장하는 프레임 메모리(19)와, 프레임 메모리(19)에서 출력되는 데이타와 현재 영상 블럭데이타로 움직임벡터의 크기계산 및 움직임 보상을 수행하여 움직임 보상신호를 출력하는 MCP(Motion Compensation Predictor)(20)와, 화면간 블럭인 경우 온 되어 MCP(20)의 출력데이타를 가산기(18)로 출력하는 제1스위치(21)와, 화면간 블럭인 경우 현재 입력영상 블럭데이타와 MCP(20)의 움직임 보상신호의 오차를 출력하는 감산기(22)와, 감산기(22)의 오차크기에 따라 화면내 블럭(intra block)인지 화면간 블럭인지를 선택하여 DCT(11)로 출력하는 제2스위치(2)로 구성된다.1 is a block diagram showing a configuration of a video processing encoding apparatus according to the prior art, in which a DCT 11 for converting input image information in frame units into frequency components and a finite number of output signals of the DCT 11 are shown. A quantization converter 12 approximating a value, a multiplexer 13 for multiplexing and outputting the output signal of the quantization converter 12, and a buffer for buffering and transmitting the output signal of the MUX 13 ( 14) a QSC (Qantization Stepsize Control) unit 15 for controlling the quantization step of the quantization converter 12 according to the state of the buffer 14, and the image data quantized and converted by the quantization converter 12 An inverse quantization transform unit 16 for quantizing and outputting, an inverse discrete cosine transform (IDCT) 17 for inverse DCT of inverse quantized data, and previous block data and an IDCT (17) in case of an inter block; An adder 18 that adds and outputs the signal decoded by MCP which calculates the motion vector and outputs the motion compensation signal based on the frame memory 19 storing the output data of the controller 18, the data output from the frame memory 19 and the current image block data. (Motion Compensation Predictor) 20, the first switch 21 which is turned on in case of an inter-screen block and outputs the output data of the MCP 20 to the adder 18, and the current input image block data in case of an inter-screen block. And the subtractor 22 which outputs the error of the motion compensation signal of the MCP 20 and the intra block or the inter-block according to the error size of the subtractor 22, and outputs it to the DCT 11. It is composed of a second switch (2).

이와같이 구성된 종래기술에 따른 동영상 처리 부호화장치의 동작을 설명하면 MCP(20)는 현재 영상의 각 블럭데이터와 프레임 메모리(19)에서 출력되는 과거 영상의 블럭데이타를 비교하여 움직임 벡터를 계산하고, 해당블럭의 움직임 보상을 수행한다.Referring to the operation of the video processing encoding apparatus according to the prior art configured as described above, the MCP 20 compares the block data of each block data of the current image with the block data of the past image output from the frame memory 19, and calculates a motion vector. Perform block motion compensation.

감산기(22)는 현재 영상의 블럭데이타와 MCP(20)의 움직임 보상신호의 오차를 구하고, 이 오창의 크기에 따라서 주어진 블럭은 제2스위치(23)의 스위칭으로 화면간 블럭 또는 화면내 블럭으로 정의된다.The subtractor 22 calculates an error between the block data of the current image and the motion compensation signal of the MCP 20, and the given block is switched to an inter-screen block or an intra-picture block by switching of the second switch 23 according to the magnitude of this mistake. Is defined.

오차신호가 작으면 주어진 블럭을 화면간 블럭으로 정의하여 이전 영상과 가장 유사한 블럭과의 차신호를 주어진 블럭의 오차신호로 DCT(11)를 행한다.If the error signal is small, the given block is defined as an inter-screen block, and the DCT 11 is performed with the difference signal from the block most similar to the previous image as the error signal of the given block.

또한 오차신호가 크면 주어진 블럭을 화면내 블럭으로 정의하여 주어진 블럭의 신호를 이용하여 DCT(11)를 행한다.If the error signal is large, the given block is defined as an in-screen block, and the DCT 11 is performed using the signal of the given block.

양자화 변환부(12)에서 이산 코사인 변환된 데이타를 양자화하고, 이 신호는 MUX(13)와 버퍼(14)를 거쳐 전송채널(Transmission Channel:TC)통해 전송됨과 동시에 복호화 된다.The quantization conversion unit 12 quantizes the discrete cosine transformed data, and the signal is transmitted through the MUX 13 and the buffer 14 through a transmission channel (TC) and then decoded.

이때 양자화 스텝사이즈는 버퍼(14)의 범람(overflow)이나 고갈(underflow)을 방지하도록 결정된다.The quantization step size is then determined to prevent overflow or underflow of the buffer 14.

양자화 변환부(12)에서 양자화된 데이타는 전송됨과 동시에 역양자화 변환부(16)에서 역양자화되고, 이 역양자화된 데이타는 IDCT(17)에서 역 DCT되어 복호화 된다. 이렇게 복호화된 데이타는 화면간 블럭인 경우 제1스위치(21)가 온되어 가산기(18)에서 기존의 블럭데이타와 더해져 프레임 메모리(19)에 저장되고, 화면내 블럭인 경우에는 제1스위치(21)가 오프되어 바로 프레임 메모리(19)에 저장된다.The data quantized by the quantization converter 12 is dequantized by the inverse quantization converter 16 at the same time as it is transmitted. The dequantized data is inverse DCT and decoded by the IDCT 17. The decoded data is stored in the frame memory 19 when the first switch 21 is turned on in the inter-block block and added to the existing block data in the adder 18, and the first switch 21 in the intra-block block. ) Is off and immediately stored in the frame memory 19.

프레임 메모리(19)에 저장된 신호는 MCP(20)에서 움직임 보상 후에 다음 프레임 부호화시 감산기(22)의 오차신호 계산을 위해 사용되고, 다음 프레임 블럭의 복호화를 위해 사용된다.The signal stored in the frame memory 19 is used for the error signal calculation of the subtractor 22 in the next frame encoding after motion compensation in the MCP 20, and used for decoding the next frame block.

종래기술의 동영상 처리 부호화장치는 불규칙한 화면 즉, 고주파 성분이 포함된 블럭도 항상 일정한 8×8블럭으로 나누어 부호화하므로 데이타의 손실이 커서 물체의 경계가 잘 재생되지 않는 문제점이 발생된다.The conventional video processing encoding apparatus encodes an irregular picture, that is, a block containing a high frequency component, into a constant 8x8 block, so that data loss is large and a boundary of an object is not easily reproduced.

본 발명은 상기와 같은 종래기술의 문제점을 해결하기 위하여 안출한 것으로 8×8 DCT 처리기를 사용하면서 블럭크기가 4×4, 4×8, 8×4와 같은 서브블럭단위로 부호화가능하도록하여 영역을 정확하게 세분화하는 동영상 부호화 장치를 제공하는데 그 목적이 있다.The present invention has been made to solve the above-mentioned problems of the prior art, and the block size can be encoded in subblock units such as 4x4, 4x8, and 8x4 while using an 8x8 DCT processor. It is an object of the present invention to provide a video encoding apparatus for precisely subdividing.

제1도는 종래기술에 따른 동영상 처리 부호화 장치의 구성을 보여주는 블록도.1 is a block diagram showing a configuration of a video processing encoding apparatus according to the prior art.

제2도는 본 발명에 따른 동영상 처리 부호화 장치의 구성을 보여주는 블록도.2 is a block diagram showing a configuration of a video processing encoding apparatus according to the present invention.

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

210, 320 : 프레임 메모리 220 : MAS부210, 320: frame memory 220: MAS unit

230 : DCT 240 : 양자화 변환부230: DCT 240: quantization converter

250 : MUX 260 : 버퍼250: MUX 260: Buffer

270 : QSC부 280 : 역양자화 변환부270: QSC unit 280: inverse quantization conversion unit

290 : IDCT 300 : 블럭 축소부290: IDCT 300: block reduction unit

310, 350, 370, 390 : 스위치 320 : 가산기310, 350, 370, 390: switch 320: adder

340 : 움직임 보상부 360 : 감산기340: motion compensation unit 360: subtractor

380 : 블럭 확장부380 block extension

본 발명에 따른 동영상 부호화 장치는 현재 입력되는 영상정보와 이전 영상으로 움직임 벡터 및 영역분할정보를 구하여 화소 크기가 8×8 DCT 처리기를 사용하여 블럭확장 및 블럭축소에 의해 서브블럭처리를 가능하게 부호화함에 특징이 있다.The video encoding apparatus according to the present invention obtains the motion vector and the region division information from the current input image and the previous image, and encodes the subblock by the block extension and the block reduction using an 8 × 8 DCT processor with a pixel size. Has a feature.

이하, 본 발명에 따른 동영상 부호화 장치를 첨부된 도면을 참조하여 설명하면 다음과 같다.Hereinafter, a video encoding apparatus according to the present invention will be described with reference to the accompanying drawings.

도 2는 본 발명에 따른 동영상 처리 부호화 장치의 구성을 보여주는 블록도로써, 현재 입력되는 영상정보의 원래의 이전영상을 저장하는 제1프레임 메모리(210)와, 현재 입력되는 영상정보와 제1프레임 메모리(210)에서 출력된 이전영상으로 움직임 벡터(M) 및 영역분할정보(S)를 출력하는 MAS(Motion And Segmentation)부(220)와, 입력되는 프레임 단위의 영상정보를 주파수 성분으로 변환하는 DCT(230)와, DCT(230)의 출력신호를 유한한 갯수의 값으로 근사화하는 양자화 변환부(240)와, MAS부(220)의 움직임 벡터 및 영역분할정보가 입력되어 상기 양자화 변환부(240)의 출력신호를 다중화하는 MUX(Multiplexer)(250)와, MUX(250)의 출력신호를 버퍼링하여 전송하는 버퍼(260)와, 버퍼(260)의 상태와 MAS부(220)의 영역분할정보(S)에 따라 양자화 변환부(240)의 양자화 스텝을 제어하는 QSC(Qantization Stepsize Control)부(270)와, 양자화 변환부(240)에서 양자화 변환되어진 영상데이타를 역양자화하여 출력하는 역양자화 변환부(280)와, 역양자화된 데이타를 역 DCT하는 IDCT(Inverse Discrete Cosine Transform)(280)와, IDCT(290)에서 출력된 역양자화된 데이타의 블럭을 축소하는 블럭 축소부(300)와, MAS부(220)의 영역분할정보에 따라 블럭 축소부(300)의 출력 또는 IDCT(290)의 출력을 선택출력하는 제1스위치(310)와, 화면간 블럭(inter block)인 경우 이전의 블럭데이타와 제1스위치(310)의 선택 출력신호를 더하여 출력하는 가산기(320)와, 가산기(320)의 출력데이타를 저장하는 제2프레임 메모리(330)와, 제2프레임 메모리(330)에서 출력되는 데이타와 MAS부(220)에서 출력되는 움직임 벡터와 영역분할정보로 움직임 보상을 수행하는 움직임 보상부(340)와, 화면간 블럭인 경우 움직임 보상부(340)의 출력데이타를 가산기(320)로 출력하는 제2스위치(350)와, 화면간 블럭인 경우 현재 입력영상 블럭데이타와 움직임 보상부(340)의 움직임 보상신호의 차를 출력하는 감산기(360)와, 감산기(360)의 오차크기에 따라 화면내 블럭(intra block)인지 화면간 블럭인지를 선택출력하는 제3스위치(370)와, 제3스위치(370)에서 선택출력된 데이타를 블럭확장하여 출력하는 블럭 확장부(380)와, MAS부(220)에서 출력된 영역분할정보에 따라 제3스위치(370)의 출력데이타 또는 블럭 확장부(380)의 출력데이타를 선택출력하는 제4스위치(390)로 구성된다.2 is a block diagram showing a configuration of a video processing encoding apparatus according to the present invention. The first frame memory 210 stores an original previous image of image information currently input, and the image information and first frame currently input. A motion and segmentation unit 220 for outputting a motion vector M and region segmentation information S to a previous image output from the memory 210, and converting input image information in frame units into frequency components. The DCT 230, a quantization converter 240 for approximating the output signal of the DCT 230 to a finite number of values, and a motion vector and region division information of the MAS unit 220 are inputted to the quantization converter ( MUX (Multiplexer) 250 for multiplexing the output signal of 240, a buffer 260 for buffering and transmitting the output signal of the MUX 250, the state of the buffer 260 and the region division of the MAS unit 220 QSC (Qantiza) for controlling the quantization step of the quantization converter 240 according to the information S a tion stepsize control unit 270, an inverse quantization converter 280 that inversely quantizes and outputs the image data quantized and converted by the quantization converter 240, and an inverse discrete cosine for inverse DCT of the inverse quantized data. A block reduction unit 300 for reducing a block of dequantized data output from the IDCT 290, and an output of the block reduction unit 300 according to the area division information of the MAS unit 220. Alternatively, the first switch 310 for selectively outputting the output of the IDCT 290 and the adder 320 for adding and outputting the previous block data and the selection output signal of the first switch 310 in the case of an inter block. ), A second frame memory 330 storing the output data of the adder 320, a motion vector output from the second frame memory 330, and a motion vector and region division information output from the MAS unit 220. A motion compensator 340 for performing compensation, and a motion compensator in case of an inter-block A second switch 350 for outputting the output data of 340 to the adder 320, and a subtractor for outputting a difference between the current input image block data and the motion compensation signal of the motion compensator 340 in the case of an inter-block. 360 and a third switch 370 for selectively outputting an intra block or an inter-screen block according to the error size of the subtractor 360, and blocks data selected and output by the third switch 370. A fourth block for selectively outputting the output data of the third switch 370 or the output data of the block extension unit 380 according to the block extension unit 380 for expanding and outputting the area division information output from the MAS unit 220; It consists of a switch 390.

상기와 같이 구성된 본 발명에 따른 동영상 부호화 장치의 입력 프레임(Fn)은 16×16 화소의 밝기 정보를 갖고 매크로블럭(16×16) 단위로 나누어진다.The input frame Fn of the video encoding apparatus according to the present invention configured as described above is divided into macroblock (16 × 16) units having brightness information of 16 × 16 pixels.

제1프레임 메모리(210)는 원래의 이전 영상을 저장하고, MAS부(220)는 현재 영상의 각 블렉데이타와 제1프레임 메모리(210)에서 출력되는 과거 영상의 블럭데이타를 비교하여 움직임 벡터(M) 및 영역분할신호(S)를 MUX(250)와 움직임 보상부(340)로 출력한다.The first frame memory 210 stores the original previous image, and the MAS unit 220 compares each block data of the current image with block data of the past image output from the first frame memory 210 to determine a motion vector ( M) and the region division signal S are output to the MUX 250 and the motion compensator 340.

여기서 블럭분할을 행하는 영역분할신호의 유무는 각 블럭의 분할시 증가하는 비트의 증가량과 오차의 감소량의 정도를 기준으로 판단한다.Here, the presence or absence of the area division signal for performing block division is determined based on the amount of increase of bits and the amount of decrease of error that occur during division of each block.

이때 평가척도로서 C=Δd-λΔb를 이용하는데, Δd는 영역분할시 감소하는 오차량을, Δb는 영역분할시 증가하는 비트량을 의미하고, λ는 라그란지 곱셈기(lagrange multiplier)(도시 생략함)의 곱셈상수를 의미한다.In this case, C = Δd-λΔb is used as an evaluation scale, where Δd represents an error amount that decreases when the region is divided, Δb represents an amount of bit that increases during the region division, and λ is a lagrange multiplier (not shown). The multiplication constant of).

즉, C가 0이상이면 주어진 블럭은 분할이 이루어지고, 그렇지 않으면 주어진 블럭은 분할을 더이상 행하지 않게된다.In other words, if C is greater than or equal to zero, the given block is partitioned, otherwise the given block is no longer partitioned.

만약 블럭이 4×4, 4×8의 크기를 갖는 경우에는 8×8 DCT를 이용하기 위해서 부호화 과정에서 블럭확장이 요구되고, 복호화 과정에서 역으로 블럭축소가 요구된다.If the blocks have sizes of 4x4 and 4x8, in order to use 8x8 DCT, block expansion is required in the encoding process, and block reduction is required in the decoding process.

한편, 움직임 보상부(340)는 MAS부(220)의 움직임 벡터와 영역분할신호로 움직임 보상신호를 감산기(360)에 출력한다.Meanwhile, the motion compensator 340 outputs the motion compensation signal to the subtractor 360 using the motion vector and the region division signal of the MAS unit 220.

감산기(360)는 현재 영상의 블럭데이타와 움직임 보상신호의 오차를 구하고, 이 오차의 크기에 따라서 각 블럭에 대해 화면간/화면내 프레임 모드를 결정한다.The subtractor 360 calculates an error between the block data of the current image and the motion compensation signal, and determines an inter-screen / in-frame frame mode for each block according to the magnitude of the error.

즉, 제3스위치(370)는 감산기(360)의 오차신호가 작으면 주어진 블럭을 화면간 블럭으로 정의하여 이전영상과 주어진 블럭의 오차신호가 출력된다.That is, when the error signal of the subtractor 360 is small, the third switch 370 defines a given block as an inter-screen block and outputs an error signal of the previous image and the given block.

그리고, 오차신호가 크면 주어진 블럭을 화면내 블럭으로 정의하여 주어진 블럭의 신호가 출력된다.If the error signal is large, a given block is defined as an in-screen block and a signal of the given block is output.

이렇게 제3스위치(370)를 출력한 신호는 다시 제4스위치(390)에서 MAS부(220)의 영역분할정보에 따라 그냥 DCT(230)에 출력할것인지 또는 블럭 확장부(380)에서 확장된 블럭데이타를 DCT(230)에 출력할것인지가 선택된다.In this way, the signal output from the third switch 370 is again output from the fourth switch 390 to the DCT 230 according to the area division information of the MAS unit 220 or from the block extension unit 380. It is selected whether to output the block data to the DCT 230.

제4스위치(390)에서 영역분할정보에 따라 선택출력된 블럭데이타는 DCT(230)에서 2차원 8×8 DCT된 후 양자화 변환부(240)에서 양자화되고, 다시 이 신호는 MUX(250)와 버퍼(260)를 통해 전송채널(Transmission Channel : TC)로 전송된다.The block data selected and output according to the region division information by the fourth switch 390 is quantized by the quantization converter 240 after being two-dimensional 8x8 DCT by the DCT 230, and the signal is again quantized by the MUX 250. It is transmitted to the transmission channel (TC) through the buffer 260.

더욱 상세히 설명하면 제3스위치(370)에서 출력된 블럭의 크기가 16×16일 경우는 8×8 DCT를 네번행하게 되며, 8×8 보다 작은 블록의 경우는 미리 블럭 확장부(380)에서 블럭 확장을 거쳐 8×8 블럭으로 만들고, 확장된 블럭에 대하여 DCT(230)를 행한다.In more detail, when the size of the block output from the third switch 370 is 16 × 16, 8 × 8 DCTs are performed four times, and in the case of a block smaller than 8 × 8, the block expansion unit 380 blocks the block in advance. The expansion is made into 8x8 blocks, and the DCT 230 is performed on the expanded block.

이때 QSC부(270)의 양자화 스텝사이즈는 MAS부(220)에서 출력된 영역분할정보에 따라 버퍼(260)의 범람(overflow)이나 고갈(underflow)을 방지하도록 결정된다.At this time, the quantization step size of the QSC unit 270 is determined to prevent overflow or underflow of the buffer 260 according to the region division information output from the MAS unit 220.

양자화 변환부(240)에서 양자화된 데이타는 전송됨과 동시에 역양자화 변환부(280)에서 역양자화되고, 이 역양자화된 데이타는 IDCT(290)에서 역 DCT되어 복호화 된다.The data quantized by the quantization converter 240 is inversely quantized by the inverse quantization converter 280 as it is transmitted. The inverse quantized data is inversely DCT-decoded by the IDCT 290.

앞의 블럭 확장부(380)에서 8×8보다 작은 블럭이 확장된 경우는 IDCT(290)의 복호화된 데이타는 블럭 축소부(300)에서 블럭 축소과정이 필요하다.When a block smaller than 8x8 is expanded in the previous block expansion unit 380, the block reduction unit 300 requires a block reduction process for the decoded data of the IDCT 290.

MAS부(220)의 영역분할정보에 따라 제1스위치(310)는 블럭 축소부(300)에서 출력된 축소된 데이타 또는 IDCT(290)에서 출력된 데이타를 선택출력한다.According to the region division information of the MAS unit 220, the first switch 310 selectively outputs the reduced data output from the block reduction unit 300 or the data output from the IDCT 290.

이렇게 제1스위치(310)에서 선택출력된 복호화된 데이타는 가산기(320)에서 화면간 블럭인 경우 제2스위치(340)의 스위칭으로 입력된 기존의 블럭데이타와 더해져서 제2프레임 메모리(330)에 저장되고, 화면내 블럭인 경우에는 바로 제2프레임 메모리(330)에 저장된다.The decoded data selected and output by the first switch 310 is added to the existing block data input by the switching of the second switch 340 in the case of the inter-block block in the adder 320 and thus the second frame memory 330. Is stored in the second frame memory 330.

제2프레임 메모리(330)에 저장된 신호는 움직임 보상부(340)에서 움직임 보상 후에 다음 프레임 부호화시 감산기(360)의 오차신호 계산을 위해 사용된다.The signal stored in the second frame memory 330 is used to calculate an error signal of the subtractor 360 during the next frame encoding after the motion compensation unit 340.

본 발명의 동영상 부호화 장치는 일정한 블럭크기의 DCT 처리기를 이용하여 불규칙한 화면 즉, 고주파 성분이 포함된 블럭의 경우 영역을 서브블럭으로 세분하여 나누어 처리하므로 화면의 물체경계가 정확하게 재생되는 효과가 있다.In the video encoding apparatus of the present invention, an irregular screen, that is, a block including a high frequency component, is divided into sub-blocks and processed using a DCT processor having a predetermined block size, so that an object boundary of the screen is accurately reproduced.

Claims (2)

입력된 프레임을 DCT하는 DCT부, DCT된 데이타를 양자화 변환하는 양자화 변환부, 양자화된 데이타를 역양자화 변환하는 역양자화 변환부, 역양자화된 데이타를 IDCT하는 IDCT부, IDCT된 데이타를 움직임 보상하여 피드백하는 움직임 보상부로 구성된 동영상 부호화장치에 있어서, 입력 프레임과 이전 영상의 프레임으로 움직임 벡터와 영역분할 정보를 추출하여 움직임 보상부로 출력하는 움직임 및 분할정보 출력부와, 상기 움직임 및 분할정보 출력부의 정보에 의해 입력 프레임을 서브블럭 처리할 경우에 서브블럭을 DCT 처리크기로 확장하여 DCT부로 출력하는 블럭 확장부와, IDCT부에서 복호화된 데이타를가 확장된 서브블럭일때 원영상크기로 블럭축소하여 출력하는 블럭 축소부를 더 부가하여 구성됨을 특징으로 하는 동영상 부호화장치.A DCT unit for DCT input frames, a quantization transform unit for quantizing and converting DCT data, an inverse quantization transform unit for inverse quantization of quantized data, an IDCT unit for IDCT inverse quantized data, and motion compensation for IDCT data A video encoding apparatus comprising a motion compensator for feeding back a motion and segmentation information output unit for extracting a motion vector and region segmentation information into an input frame and a frame of a previous image and outputting the motion vector and region segmentation information to the motion compensator, and the motion and segmentation information output unit. A block expansion unit for extending the subblock to a DCT processing size and outputting the DCT to the DCT unit when subblock processing the input frame, and outputting the data decoded by the IDCT unit to the original image size when the subblock is an extended subblock And a block reduction unit. 제1항에 있어서, 움직임 및 분할정보 출력부의 영역분할정보는 영역분할시 감소하는 오차량과 임의의 곱셈상수가 곱해진 영역분할시 중가하는 비트량과의 차를 기준으로 출력함을 특징으로 하는 동영상 부호화장치.The method of claim 1, wherein the region division information of the motion and division information output unit is output based on a difference between an error amount that is reduced during the region division and a bit weight that is weighted during the region division multiplied by an arbitrary multiplication constant. Video encoding device.
KR1019960030799A 1996-07-27 1996-07-27 Moving image encoding apparatus KR100205375B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960030799A KR100205375B1 (en) 1996-07-27 1996-07-27 Moving image encoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960030799A KR100205375B1 (en) 1996-07-27 1996-07-27 Moving image encoding apparatus

Publications (2)

Publication Number Publication Date
KR980013422A KR980013422A (en) 1998-04-30
KR100205375B1 true KR100205375B1 (en) 1999-07-01

Family

ID=19467764

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960030799A KR100205375B1 (en) 1996-07-27 1996-07-27 Moving image encoding apparatus

Country Status (1)

Country Link
KR (1) KR100205375B1 (en)

Also Published As

Publication number Publication date
KR980013422A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
KR970009408B1 (en) Inter/intra table selection circuit
US9258567B2 (en) Method and system for using motion prediction to equalize video quality across intra-coded frames
JPH0686262A (en) Apparatus for encoding of image
JPH09331533A (en) Animation image coder
JPH04262694A (en) Encoding device for picture signal
EP1280356A2 (en) Apparatus and method for compressing multiplexed video signals
JPH089375A (en) Inverse discrete cosine transformation anticoincidence controller and picture encoding device
JPH06225279A (en) Coding/decoding methods and coding/decoding devices
KR100598093B1 (en) Apparatus and method with low memory bandwidth for video data compression
JP3717956B2 (en) Digital video signal coding system
US6141449A (en) Coding mode determination system
KR100205375B1 (en) Moving image encoding apparatus
JPH07288804A (en) Re-coding device for picture signal
KR970004924B1 (en) Improved motion vector transmission apparatus and method using layered coding
US5940131A (en) Method and apparatus for coding moving pictures
JP2002204459A (en) Moving picture coding method and device
JP3581382B2 (en) Encoding device and method
KR100809013B1 (en) Apparatus for coding complexity-scalable moving image and method thereof
KR20010075389A (en) Device for encoding motion picture signals and encoding method
JPH07236137A (en) Picture encoding control system
JPH04326690A (en) Moving image encoder/decoder
JP2008301212A (en) Coding device and method
KR0124162B1 (en) Prediction coding method
KR100209417B1 (en) Controller for video signal coding system
JPH05219496A (en) Picture encoder and moving picture encoder

Legal Events

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

Payment date: 20070329

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee