KR100335606B1 - Image encoder and/or decoder using recursive motion prediction/compensation - Google Patents

Image encoder and/or decoder using recursive motion prediction/compensation Download PDF

Info

Publication number
KR100335606B1
KR100335606B1 KR1019960030444A KR19960030444A KR100335606B1 KR 100335606 B1 KR100335606 B1 KR 100335606B1 KR 1019960030444 A KR1019960030444 A KR 1019960030444A KR 19960030444 A KR19960030444 A KR 19960030444A KR 100335606 B1 KR100335606 B1 KR 100335606B1
Authority
KR
South Korea
Prior art keywords
motion
compensation
error signal
signal
frame
Prior art date
Application number
KR1019960030444A
Other languages
Korean (ko)
Other versions
KR980012955A (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 KR1019960030444A priority Critical patent/KR100335606B1/en
Publication of KR980012955A publication Critical patent/KR980012955A/en
Application granted granted Critical
Publication of KR100335606B1 publication Critical patent/KR100335606B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/43Hardware specially adapted for motion estimation or compensation

Abstract

PURPOSE: An image encoder and/or a decoder using a recursive motion prediction/compensation are provided to improve the efficiency of information compression and storing by selectively adjusting a computational complexity and amount of data according to information. CONSTITUTION: A motion compensation error frame memory(103) stores a computed motion compensation error signal at every time. A second motion compensator(104) compensates the stored motion compensation error once again by using a motion vector calculated by a first motion estimator(3). A subtracter(2) generates a differential signal by subtracting a motion compensated signal from a first motion compensator(10) from an original image signal of a current frame. A second estimator(101) estimates a motion for the differential signal by using the stored motion compensation error signal from the motion compensation error frame memory(103) to calculate a new motion vector. A mode selector(110) selects an optimal value capable of reducing amount of data.

Description

반복적 움직임 예측/보상을 이용한 영상 부호화기 및/또는 복호화기Image Encoder and / or Decoder Using Iterative Motion Prediction / Compensation

본 발명은 영상 부호화기 및/또는 복호화기에 관한 것으로서, 특히 반복적인 움직임 예측 및 보상을 이용하여 영상신호를 압축함으로써 정보량을 효율적으로 압축 및 저장할 수 있는 영상 부호화기 및/또는 복호화기에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoder and / or a decoder, and more particularly, to an image encoder and / or decoder capable of efficiently compressing and storing an amount of information by compressing an image signal using repetitive motion prediction and compensation.

최근의 영상신호 전송 및 데이타 베이스 구축은 아날로그 방식에서 디지탈 방식으로의 전환이 이루어지고 있다. 특히 멀티미디어 시스템 환경하에서, 영화, 통신 및 컴퓨터 분야에서의 상호 호환성을 가지면서 사용할 수 있는 통합된 형태의 데이타에 대한 요구가 증가하면서, 방대한 양을 갖는 영상 데이타를 기존의 전송로를 통해서 보다 다양하고 대량으로 전송하기 위해서는 화질의 열화가 최소이면서도 필요한 데이타는 가능한 한 많이 보내줄 수 있는 데이타 처리기술을 필요로 하게 되는데, 이를 통틀어서 데이타 압축기술이라고 한다.Recently, video signal transmission and database construction have been shifted from analog to digital. Especially in the multimedia system environment, as the demand for integrated data that can be used with mutual compatibility in the fields of film, communication, and computers increases, a large amount of image data can be transferred through existing transmission lines. In order to transmit a large amount of data, a data processing technique capable of sending as much data as possible while having minimum quality deterioration is required. This is collectively referred to as a data compression technique.

데이타 압축기술 중 특히 동영상을 가장 효율적으로 압축하면서도 국제적으로 호환성이 있는 기술로는 ITU-T SG15에서 만들어 놓은 저전송로상(일반적으로 64 Kbps 이하)에서 쌍방간의 비디오 통신을 가능하게 하는 방식으로 H.263(일명 TMN이라고도 함)이라는 표준방식이 있고, ISO(International StandardazationOrganization)와 IEC(International Electrotechnical Committee)가 공동으로 설립한 JTC(Joint Technical Committee) 1 산하의 WG11(MPEG;Moving Picture Experts Group이라고도 함)에서 디지탈 저장매체를 대상으로 1.5 Mbps 대역에서 디지탈 비디오 및 오디오를 함께 압축 및 저장할 수 있는 방식으로 MPEG-1이라는 국제 표준 규격을 만들었다. 더 나아가, MPEG-1 방식을 개선한 것으로, 4∼15 Mbps 대역의 MPEG-2라는 국제 표준규격을 제정한 바 있다.Among the data compression technologies, especially the most efficient video compression and internationally compatible technology, HTU is a method that enables two-way video communication on a low transmission path (typically 64 Kbps or less) made by ITU-T SG15. There is also a standard method called .263 (aka TMN), also called WG11 (MPEG; Moving Picture Experts Group) under the Joint Technical Committee (JTC) 1 jointly established by the International Standardization Organization (ISO) and the International Electrotechnical Committee (IEC). ) Has created an international standard called MPEG-1 in digital storage media that can compress and store digital video and audio together in the 1.5 Mbps band. Furthermore, the MPEG-1 system has been improved, and the international standard of MPEG-2 in the 4 to 15 Mbps band has been enacted.

이들 기술은 매우 우수하고 양질의 서비스를 제공하고 있지만 미래 정보화 사회에서 다양한 소비자의 요구에 부응하기 위해 다량의 정보를 동시에 제공하기 위해서는 아직도 정보량이 효율적인 압축 및 저장에는 한계가 있다.Although these technologies provide very good and high quality services, there is a limit to efficient compression and storage of information volume in order to simultaneously provide a large amount of information to meet various consumer demands in the information society of the future.

도 1은 종래에 사용하는 동영상 부호화기(encoder)를 도시한 것이다.FIG. 1 illustrates a conventional video encoder.

도 1에 도시된 바와 같이, 입력되는 동화상 시퀀스(1)들은 제1움직임 추정기(3)에 인가되어 디코딩된 이전 프레임(9;P'K)으로 부터 정확한 움직임 추정을 통해 움직임 벡터(MVk+1)를 구한다. 제1움직임 보상기(10)에서는 움직임 벡터(MVK+1)를 이용하여 움직임 보상을 실시하여 이전 프레임으로 부터 움직임이 보상된 신호(P'K+1)를 생성한다.As shown in FIG. 1, the input moving picture sequences 1 are applied to the first motion estimator 3 and the motion vector MV k + through accurate motion estimation from the decoded previous frame 9 (P ′ K ). 1 ) The first motion compensator 10 performs motion compensation using the motion vector MV K + 1 to generate a signal P ′ K + 1 whose motion is compensated from the previous frame.

감산기(2)에서는 원래의 동화상 시퀀스(1)로 부터 움직임 보상신호(P'K+1)를 감산하여 움직임 보상에 따른 오차신호(EMCK+1)를 구한다. 이 오차신호(EMCK+1)는 중요한 데이타성분을 한 곳으로 집중시켜주는 변환기(4)에 입력되어 공간 영역의 값들로 부터 주파수 영역의 계수들로 변환된 다음, 전송로의 용량에 적합하도록 양자화기(5)에 의해 양자화된다.The subtractor 2 subtracts the motion compensation signal P ' K + 1 from the original video sequence 1 to obtain an error signal EMC K + 1 according to the motion compensation. This error signal (EMC K + 1 ) is input to a converter (4) that concentrates important data components in one place, converted from the values in the spatial domain to the coefficients in the frequency domain, and then adapted to the capacity of the transmission path. It is quantized by the quantizer 5.

양자화된 신호는 움직임벡터와 함께 엔트로피 엔코더(11)에서 통계적 특성을 고려한 무손실 압축이 수행되어 복호화기(미도시)로 전송됨과 동시에 역양자화기 (6)에 입력된다. 역양자화기(6)에서는 엔트로피 엔코더(11)의 출력신호를 양자화의 역순으로 역양자화시킨 후, 역변환기(7)에서 주파수 계수 성분으로 부터 공간영역의 데이타로 변환시킨다.The quantized signal is subjected to lossless compression in consideration of statistical characteristics in the entropy encoder 11 together with the motion vector, and is transmitted to a decoder (not shown) and input to the dequantizer 6. The inverse quantizer 6 inversely quantizes the output signal of the entropy encoder 11 in the reverse order of quantization, and then inverse transformer 7 converts the frequency coefficient components into data in the spatial domain.

가산기(8)에서는 움직임 보상신호(P'K+1)와 역변환기(7)의 출력신호를 가산한 후, 다음 프레임의 움직임을 추정하기 위한 디코딩된 영상으로 프레임 메모리(9)에 저장됨으로써 한 프레임에 대한 동영상 부호화기의 작업이 완료되게 된다.The adder 8 adds the motion compensation signal P ′ K + 1 and the output signal of the inverse transformer 7 and stores the decoded image for estimating the motion of the next frame in the frame memory 9. The operation of the video encoder for the frame is completed.

도 2은 종래에 사용하는 동영상 복호화기(decoder)를 각각 도시한 것이다.2 shows a video decoder used in the related art, respectively.

도 2에 도시된 바와 같이, 부호화기로 부터 전송된 통계적 방식으로 가변장 부호화된 신호를 엔트로피 디코더(21)를 통해 가변장 부호화 이전의 신호로 변환시킨 다음, 움직임 벡터(MVK+1)와 영상 데이타로 분류한다.As shown in FIG. 2, the variable length coded signal transmitted from the encoder in the statistical manner is converted into a signal before variable length coding through the entropy decoder 21, and then the motion vector MV K + 1 and the image are obtained. Classify as data.

영상 데이타들은 역양자화기(22)에 입력되어 양자화 이전의 신호로 역양자화된 다음, 역변환기(23)에 입력되어 주파수 계수 성분에서 공간 영역상의 데이타(EMCK+1)로 변환된다. 이와 동시에 제1움직임 보상기(26)에는 움직임 벡터(MVK+1)가 입력되어 프레임 메모리(25)에 저장되어 있는 복원된 이전 프레임 데이타(P'K)를 이용하여 움직임 벡터(MVK+1) 만큼 보상된 신호(P'K+1)를 생성한다.The image data is input to the inverse quantizer 22 and inversely quantized into a signal before quantization, and then input to the inverse transformer 23 to convert the frequency coefficient component into data EMC K + 1 in the spatial domain. At the same time, the first motion compensator 26, motion vectors (MV K + 1) is the previous frame data restoration that has been input are stored in the frame memory (25) (P 'K) to the motion vector using the (MV K + 1 Generates a signal P ′ K + 1 compensated by

가산기(24)에서는 움직임 보상신호(P'K+1)와 역변환기(23)의 출력신호를 가산하며 K+1 번째 프레임에 대한 최종 복원영상(27;RPK+1)을 얻음과 동시에, 이 신호를 프레임 메모리(25)에 저장하여 K+2 번째 프레임을 복원하기 위한 기준영상으로 사용하게 된다.The adder 24 adds the motion compensation signal P ′ K + 1 and the output signal of the inverse transformer 23 to obtain a final reconstructed image 27 (RP K + 1 ) for the K + 1 th frame. The signal is stored in the frame memory 25 to be used as a reference image for reconstructing the K + 2th frame.

그러나, 상기와 같은 종래 방식은 매 프레임마다 운동량을 갖는 동화상의 압축 및 복원에 매우 효율적인 방식으로 알려져 있지만, 아주 적은 비트량을 요구하는 전송로나 많은 정보를 저장하기 위한 매체에서는 고화질을 제공할 수 없는 한계점을 가지므로 더욱 효과적으로 압축할 수 있는 방식을 필요로 하게 된다.However, such a conventional method is known as a very efficient method for compressing and decompressing a moving image having a motion amount every frame, but a high quality cannot be provided in a transmission path requiring a very small bit amount or a medium for storing a lot of information. Because of the limitations, we need a way to compress more effectively.

본 발명이 이루고자 하는 기술적인 과제는, 반복적으로 움직임 예측 및 보상을 수행하여 영상신호를 압축함으로써 정보량을 효율적으로 압축 및 저장할 수 있는 영상 부호화기 및/또는 복호화기를 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide an image encoder and / or a decoder capable of efficiently compressing and storing an amount of information by compressing an image signal by repeatedly performing motion prediction and compensation.

도 1은 종래기술에서 사용하는 동영상 부호화기의 구성을 나타낸 블럭도이다.1 is a block diagram showing the configuration of a video encoder used in the prior art.

도 2는 종래기술에서 사용하는 동영상 복호화기의 구성을 나타낸 블럭도이다.2 is a block diagram showing the configuration of a video decoder used in the prior art.

도 3a, 3b는 본 발명에 의한 반복적 움직임 예측/보상을 이용한 영상 부호화기의 구성을 나타낸 블럭도이다.3A and 3B are block diagrams illustrating the structure of an image encoder using iterative motion prediction / compensation according to the present invention.

도 4는 본 발명에 의한 반복적 움직임 예측/보상을 이용한 영상 복호화기의 구성을 나타낸 블럭도이다.4 is a block diagram showing the configuration of an image decoder using iterative motion prediction / compensation according to the present invention.

도 5는 본 발명의 동작을 설명하기 위한 플로우챠트이다.5 is a flowchart for explaining the operation of the present invention.

도 6은 프레임의 구성 형태 및 블럭과의 관계를 나타낸 도면이다.Fig. 6 is a diagram showing a configuration of a frame and a relationship with a block.

도 7은 움직임을 추정하는 과정을 묘사하는 도면이다.7 is a diagram illustrating a process of estimating motion.

도 8은 본 발명이 동작하기 위해 필요로 하는 연산을 의사프로그램 형태로 표시한 프로그램 신택스를 나타낸 것이다.8 shows a program syntax in the form of a pseudo program representing an operation required for the operation of the present invention.

도 9a 내지 9d는 비교적 단순한 형태의 입력영상의 경우 본 발명의 실시예에 따라 발생한 오차신호의 양을 비교한 도면이다.9A to 9D are diagrams for comparing the amounts of error signals generated according to an embodiment of the present invention for a relatively simple input image.

도 10a 내지 9d는 비교적 복잡한 형태의 입력영상의 경우 본 발명의 실시예에 따라 발생한 오차신호의 양을 비교한 도면이다.10A to 9D are diagrams comparing amounts of error signals generated according to an exemplary embodiment of the present invention for a relatively complicated input image.

도 11a 내지 11d는 종래의 기술과 본 발명에 의한 기술로 실험한 결과를 나타낸 그래프이다.11a to 11d are graphs showing the results of experiments in the prior art and the technique according to the present invention.

상기 과제를 이루기 위하여 본 발명에 의한 반복적 움직임 예측/보상을 이용한 영상 부호화기는 부호화하고자 입력되는 영상신호 중 현재 프레임과 이전 프레임으로 부터 움직임을 예측하고, 상기 움직임 예측 결과를 이용하여 움직임을 보상하고, 보상 후의 오차신호를 변환 부호화를 이용하여 변환한 다음 양자화하여 전송하고, 이를 움직임 보상된 신호와 합하여 프레임 메모리의 소정 영역에 저장하여다음 프레임 처리의 참조영상으로 사용하는 영상 부호화기에 있어서, 움직임 오차 프레임 메모리와 상기 움직임 예측결과 구해진 움직임 벡터로 부터 움직임 오차신호를 반복적으로 보상하는 움직임 보상기를 구비하여, 이전 프레임의 움직임 보상 오차신호로 부터 현재 프레임의 움직임 보상 오차신호를 위한 새로운 움직임 벡터를 구한 다음, 이를 이용하여 다시 움직임을 보상할 수 있도록 하며, 상기 과정들이 모드 선택기에 의해 적절한 것을 선택할 수 있도록 하는 것을 특징으로 한다.In order to achieve the above object, an image encoder using repetitive motion prediction / compensation according to the present invention predicts a motion from a current frame and a previous frame among video signals input to be encoded, and compensates for the motion by using the motion prediction result. A motion error frame in which an error signal after compensation is transformed by using transform coding and then quantized and transmitted, and the sum signal is stored in a predetermined region of a frame memory and used as a reference image for subsequent frame processing. A motion compensator for repeatedly compensating a motion error signal from the motion vector obtained from the memory and the motion prediction result, obtaining a new motion vector for the motion compensation error signal of the current frame from the motion compensation error signal of the previous frame, This It can be used to compensate for the motion again, characterized in that the above process can be selected by the mode selector appropriate.

이하 첨부된 도면들을 참조하면서 본 발명에 따른 바람직한 실시예를 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.

도 3a은 본 발명에 의해 동작하는 영상 부호화기의 구성을 나타낸 블럭도이다. 도 3a에서와 같이, 본 발명에 의한 영상 부호화기의 핵심은 점선으로 표시한 부분(100)으로서, 종래의 방식에 비해 하나의 움직임 추정기(101), 국부 메모리인 움직임 보상(MC) 오차 프레임 메모리(103)와 두 개의 움직임 보상기(102, 104) 및 모드 선택기(110)가 추가된다.Figure 3a is a block diagram showing the configuration of a video encoder to operate according to the present invention. As shown in FIG. 3A, the core of the image encoder according to the present invention is a portion 100 indicated by a dotted line, and compared to the conventional method, one motion estimator 101 and a local memory motion compensation (MC) error frame memory ( 103, two motion compensators 102 and 104 and a mode selector 110 are added.

도 4는 본 발명에 의해 동작하는 영상 복호화기의 구성을 나타낸 블럭도이다. 도 4에서와 같이, 본 발명에 의한 영상 복호화기의 핵심은 점선으로 표시한 부분(200)으로서, MC 오차 프레임 메모리(201). 두 개의 움직임 보상기(202, 203), 데이타 선택기(204) 및 하나의 가산기(205)가 추가된다.4 is a block diagram showing the configuration of an image decoder operated by the present invention. As shown in FIG. 4, the core of the image decoder according to the present invention is a portion 200 indicated by a dotted line, and the MC error frame memory 201. Two motion compensators 202 and 203, a data selector 204 and one adder 205 are added.

먼저 도 3a에서 보는 것과 같이, 본 발명에 의한 시스템은 도 1에 도시된 종래의 방식에 MC 오차 프레임 메모리(103)를 추가로 설치하여 매번 계산되는 MC 오차신호 (SEMCK)를 저장하였다가 제1움직임 추정기(3)에 의해 구해진 움직임 벡터(MVK+1)를 이용하여 이 MC 오차 신호를 한 번 더 보상하는 제2움직임 보상기(104)를 구비한다. 이와 동시에, 감산기(2)에서는 현재 프레임의 원영상 신호(PK+1)으로 부터 이전에 제1움직임 보상기(10)에 의해 움직임 보상된 신호(P'K+1)를 감산하여 차신호(EMCK+1)를 생성한다.First, as shown in FIG. 3A, the system according to the present invention additionally installs the MC error frame memory 103 in the conventional method shown in FIG. 1 to store the MC error signal SEMC K calculated every time. A second motion compensator 104 is used to compensate this MC error signal once more using the motion vector MV K + 1 obtained by the one motion estimator 3. At the same time, a subtractor (2) by subtracting the first motion compensator 10, motion compensation is a signal (P 'K + 1) by the previously from the original image signal (P K + 1) of the current frame difference signal ( EMC K + 1 ).

제2움직임 추정기(101)에서는 MC 오차 프레임 메모리(103)로부터 입력되는 MC 오차 신호(SEMCK)를 이용하여 차신호(EMCK+1)에 대해 움직임을 추정하여 MC 오차신호에 대한 새로운 움직임 벡터(EMVK+1)를 구한다. 다음 이를 제3움직임 보상기(102)를 통해 움직임 보상한 후의 오차 신호를 구하여 모드 선택기(110)에 입력하여 데이터량을 더욱 줄일 수 있는 최적값(SEMCK+1)을 선택하도록 한다.The second motion estimator 101 estimates the motion with respect to the difference signal EMC K + 1 by using the MC error signal SEMC K input from the MC error frame memory 103 to generate a new motion vector for the MC error signal. Find (EMV K + 1 ). Next, an error signal after motion compensation is obtained through the third motion compensator 102 and input to the mode selector 110 to select an optimal value SEMC K + 1 that can further reduce the amount of data.

도 3b는 모드 선택기(110)의 세부 구성을 나타낸 블럭도이다. 모드 선택기(110)는 감산기(2), 제2움직임 보상기(104) 및 제3움직임 보상기(102)의 출력을 입력으로 하여, 감산기(2)로 부터 들어오는 데이타(EMCK1)와 제2움직임 보상기(104) 및 제3움직임 보상기(102)로 부터 입력되는 데이터들을 각각 제1감산기(111)와 제2감산기(112)에서 감산을 수행한다. 다음, 이들의 출력들이 제1복잡도(Variance) 계산기(113)과 제2복잡도 계산기(114)에 입력됨과 동시에 제1선택기(116)과 제2선택기(117)에 동시에 입력된다. 최소값 결정부(115)에서는 제1복잡도 계산기(113)과 제2복잡도 계산기(114)의 결과 중 최소값을 결정한다. 최소값 결정부(115)의 결과에 따라서, 제1선택기(116)는 제1감산기(111)와 제2감산기(112)의 출력 중 하나를 선택하여 변환기(4)로 출력하고, 제2선택기(117)는 제2움직임 보상기(104)와 제3움직임 보상기(102)의 출력 중 하나를 선택하여 가산기(105)로 출력한다.3B is a block diagram showing the detailed configuration of the mode selector 110. The mode selector 110 receives the outputs of the subtractor 2, the second motion compensator 104, and the third motion compensator 102, and receives the data EMC K1 and the second motion compensator from the subtractor 2. Data input from the 104 and third motion compensators 102 are subtracted by the first subtractor 111 and the second subtractor 112, respectively. Next, their outputs are input to the first complexity calculator 113 and the second complexity calculator 114 and simultaneously to the first selector 116 and the second selector 117. The minimum value determiner 115 determines a minimum value among the results of the first and second complexity calculators 113 and 114. According to the result of the minimum value determining unit 115, the first selector 116 selects one of the outputs of the first subtractor 111 and the second subtractor 112, outputs the output to the converter 4, and selects the second selector ( 117 selects one of the outputs of the second motion compensator 104 and the third motion compensator 102 and outputs it to the adder 105.

한편, 모드선택기(110)에서 출력되는 MC 오차를 보정하기 위하여 가산기(105)로 출력되는 신호(EMC'K+1)는 제1움직임 보상기(10)에 의해 보상되었던 신호(P'K+1)와 가산하여 최종적으로 움직임이 보정된 보다 정확한 신호(P''K+1)를 생성한다. Mc 오차를 보정한 후의 최종 오차 신호(SEMCK+1)는 변환기(4) 및 양자화기(5)로 출력하여 변환과정, 양자화 과정을 통해서 변형된 신호를 만든다. 그리고 이 신호는 다시 엔트로피 부호화기(11)를 통해 최종 전송되거나 저장될 신호를 만듬과 동시에 역양자화기(6), 역변환기(7)를 통해 변환기(4)에 들어가기 이전의 신호로 재생한 다음, 가산기(8)에서 이전에 만들어진 최종 움직임 보상된 신호(P''K+1)와 함께 가산을 수행한 후 재생된 신호를 프레임 메모리(9)에 저장함으로써 가장 최적의 신호를 만들어 낸다.Meanwhile, the signal EMC ' K + 1 output to the adder 105 to correct the MC error output from the mode selector 110 is the signal P ′ K + 1 that was compensated by the first motion compensator 10. ) To generate a more accurate signal (P '' K + 1 ) with motion correction. The final error signal SEMC K + 1 after correcting the Mc error is output to the converter 4 and the quantizer 5 to produce a modified signal through the conversion process and the quantization process. The signal is again reproduced as a signal before entering the converter 4 through the inverse quantizer 6 and the inverse transformer 7 while simultaneously generating a signal to be finally transmitted or stored through the entropy encoder 11. The addition is performed with the final motion compensated signal P " K + 1 previously made in the adder 8, and the reproduced signal is stored in the frame memory 9 to produce the most optimal signal.

본 발명에 의한 영상 복호화기는 도 4에 도시한 것과 같이, 종래의 구성에 추가하여 MC 오차 프레임 메모리(201)를 항시 구비하여 부호화기에서 전송되어져온 데이터 스트림에서 제공하는 플래그(flag)의 상태에 따라 제2움직임 보상기(202) 혹은 제3움직임 보상기(203)의 결과 중 하나를 데이타 선택기(204)에서 선택한다. 데이타 선택기(204)의 출력신호는 가산기(25)에서 종래의 방식에 따라 제1움직임보상기(26)로부터 보상된 신호에 추가로 더해준 다음, 상기한 부호화기의 최소 오차 신호(SEMCK+1)를 가산기(24)에서 추가로 더해 줌으로써 최종의 재생된 신호(27)를 얻음과 동시에 이를 프레임 메모리(25)에 저장함으로써 한 프레임에 대한 디코딩 과정을 종료한다.As shown in FIG. 4, the image decoder according to the present invention is provided with an MC error frame memory 201 in addition to the conventional configuration, according to the state of a flag provided in the data stream transmitted from the encoder. The data selector 204 selects one of the results of the second motion compensator 202 or the third motion compensator 203. The output signal of the data selector 204 is further added in the adder 25 to the signal compensated from the first motion compensator 26 in a conventional manner, and then the minimum error signal SEMC K + 1 of the encoder is added. The addition process in the adder 24 obtains the final reproduced signal 27 and at the same time stores it in the frame memory 25 to terminate the decoding process for one frame.

상기한 바와 같은 구성을 갖는 본 발명의 동작 원리를 도 5에서부터 도 8를 참조하여 좀 더 상세히 설명하기로 한다.The operation principle of the present invention having the configuration as described above will be described in more detail with reference to FIGS.

도 5는 본 발명에 의해 나타나는 가장 효과적인 데이타 압축 및 복원 과정을 수행하는 과정을 나타내는 플로우 챠트이며, 도 6과 도 7은 블럭 단위의 연산을 수행하는 과정을 그림으로 도시한 것이고, 도 8은 본 발명에 의해 만들어지는 압축된 데이터의 비트스트림 구성에 대한 신텍스(Syntax)를 단위 공정별로 의사 코드(pseudo code)로 나타낸 그림이다.FIG. 5 is a flowchart illustrating a process of performing the most effective data compression and decompression process shown by the present invention. FIGS. 6 and 7 are diagrams illustrating a process of performing a block unit operation, and FIG. Syntax of the bitstream configuration of the compressed data produced by the present invention is shown in pseudo code for each unit process.

먼저 도 5에 있어서, K=0으로 초기화한 후(제51단계), 동화상 시퀀스(1)로부터 K 번째 프레임을 읽어 들인다(제52단계;PK). K번째 프레임에 대한 연산이 끝나면 K+1 번째 프레임을 읽어 들인다(제53단계;PK+1). 두개의 프레임을 사용하여 각각의 블럭에 대해서 일정 영역의 탐색 구간을 정해 움직임 추정을 실시한다(제54단계). 이때 각각의 프레임과 블럭에 대한 정의는 도 6에 도시한 바와 같다.First, in FIG. 5, after initializing to K = 0 (step 51), the K-th frame is read from the moving image sequence 1 (step 52; P K ). After the operation on the K th frame is finished, the K + 1 th frame is read (step 53; P K + 1 ). Motion estimation is performed by selecting a search section of a predetermined area for each block using two frames (step 54). At this time, the definition of each frame and block is as shown in FIG.

도 6에서 보는 것처럼 프레임(71)의 크기를 M×N이라고 하면, 각각의 블럭(예를 들면 그림에서 빗살무늬로 표시한 부분(72)과 같은 단위)은 프레임 내에서 수평(73) 및 수직(74) 방향으로 수십∼수백개의 P×Q의 크기를 갖는 블럭들로 구성되게 된다.As shown in FIG. 6, when the size of the frame 71 is M × N, each block (for example, the same unit as the portion 72 indicated by the comb pattern in the figure) is horizontal 73 and vertical in the frame. It consists of blocks having a size of several tens to hundreds of P × Q in the (74) direction.

도 7은 프레임간에 블럭을 이용하여 움직임을 추정하는 과정을 그림으로 도시한 것이다. 도 7에서 좌측의 큰 사각형이 이전 프레임(81;K)이고 우측의 큰 사각형이 현재 프레임(82;K+1)이라고 가정할 때, 현재 프레임에서의 임의의 블럭(83)에 대해 움직임을 추정하는 경우 이전 프레임에서의 일정한 탐색 영역을 정하게 되는데, 도 7에서는 SP×SQ로 표시되어진 영역(84)이 여기에 해당된다.7 is a diagram illustrating a process of estimating motion using blocks between frames. In FIG. 7, assuming that the large square on the left is the previous frame 81 (K) and the large square on the right is the current frame 82 (K + 1), the motion is estimated for any block 83 in the current frame. In this case, a predetermined search area in the previous frame is determined. In FIG. 7, an area 84 denoted by S P × S Q corresponds to this.

각각의 블럭에 대해 이 탐색 영역을 상하좌우로 이동하면서 화소간 차이의 절대값을 차례로 더한 다음, 이중에서 최소가 되는 부분의 좌표값과 현재 블럭의 좌표값과의 차이를 움직임 벡터라 정의한다. 즉, 현재 프레임에서의 블럭(83)이 이전 프레임에서는 점선으로 표시된 위치(85)와 동일하다고 한다면, 각각의 탐색 영역에 대해 연산한 결과가 최소가 되는 지점이 회색으로 표시한 부분(86)이라고 할 때, 움직임 벡터의 X 좌표는 MVX(87), Y좌표는 MVY(88)가 된다. 이렇게 구한 움직임 벡터를 도 5에서 보는 것처럼 움직임 벡터(MVK+1)라 한다(제55단계).For each block, the search area is moved up, down, left, and right, and the absolute value of the difference between pixels is sequentially added. Then, the difference between the coordinate value of the minimum part and the coordinate value of the current block is defined as a motion vector. That is, if the block 83 in the current frame is the same as the position 85 indicated by the dotted line in the previous frame, the point 86 where the result of calculation for each search area is the minimum is 86 in gray. In this case, the X coordinate of the motion vector is MV X (87), and the Y coordinate is MV Y (88). The motion vector thus obtained is referred to as a motion vector MV K + 1 as shown in FIG. 5 (step 55).

이 움직임 벡터를 이용하여 K+1번째 현재 프레임에 대한 움직임 보상을 실시한다. 이는 도 3a에서 제1움직임 보상기(10)에서 수행되는데 이렇게 움직임이 보상된 신호를 P'K+1이라고 한다(제56단계). 다음으로 현재 프레임인 K+1번째 프레임과 움직임 보상된 신호(P'K+1)와의 오차 신호(EMCK+1)를 구한다(제57단계).The motion compensation is performed on the K + 1 th current frame using this motion vector. This is performed by the first motion compensator 10 in FIG. 3A. The signal whose motion is compensated for is referred to as P ′ K + 1 (step 56). Next, calculate the current frame is a K + 1 th frame and the motion compensated signal (P 'K + 1) with the error signal (EMC K + 1) (step 57).

종래의 방식은 여기에서 움직임 벡터(MVK+1)와 상기한 오차 신호(EMCK+1)를 전송함으로써 한 프레임에 대한 처리를 종료하게 된다. 그러나 본 발명에서는 K값이 1보다 큰지를 판단하여(제59단계) 즉, 3번째 프레임부터 반복적인 움직임 보상(Recursive Motion Compensation)을 실시하는 것을 특징으로 하고 있다. 이것은 도 5에 점선으로 표시한 부분(300)인데 본 발명의 핵심 부분이라고 할 수 있다.The conventional scheme ends the processing for one frame by transmitting the motion vector MV K + 1 and the error signal EMC K + 1 . However, the present invention is characterized by determining whether the K value is greater than 1 (step 59), that is, performing recursive motion compensation from the third frame. This is the portion 300 indicated by dotted lines in FIG. 5, which can be referred to as a core part of the present invention.

먼저 상기한 움직임 벡터(MVK+1)를 이용하여 도 3a에서 MC 오차 프레임 메모리(103)에 저장되어 있던 이전 프레임에 대한 MC 오차신호를 이용하여 현재 프레임의 MC 오차신호에 대한 움직임 보상을 실시하여 움직임 보상된 신호(EMC'K+1)를 구한다(제301단계). 이와 같이 오차 신호에 대해 움직임 보상된 신호(EMC'K+1)에 도 3a에서 제1움직임 보상기(10)을 통해 원화상에 대해 움직임 보상을 한 신호(P'K+1)를 더하여 새로운 움직임 보상신호(P''K+1)를 구한다(제302단계).First, the motion compensation for the MC error signal of the current frame is performed using the MC error signal for the previous frame stored in the MC error frame memory 103 in FIG. 3A by using the motion vector MV K + 1 . In step 301, a motion compensated signal EMC ' K + 1 is obtained. In this way, the motion-compensated signal EMC ' K + 1 to the error signal is added to the motion-compensated signal P' K + 1 through the first motion compensator 10 in FIG. The compensation signal P '' K + 1 is obtained (step 302).

다음으로 현재의 프레임 신호(P'K+1)에 최후 움직임 보상된 신호(P''K+1)를 빼서 보상오차(DEMCK+1)를 구한다(제303단계). 이렇게 구한 DEMCK+1와 EMC'K+1중에서 오차가 적은 것을 선택한다(제304단계;SEMCK+1). 제304단계의 과정은 필요에 따라서 생략할 수도 있게 한 것이 본 발명의 또 다른 특징이다.Next, the final motion-compensated in the (K + 1 signals (P current frame signal P) "" K + 1) is obtained by subtracting the compensation error (DEMC K + 1) (The 303 step). Among the obtained DEMC K + 1 and EMC ' K + 1 , the one having the smallest error is selected (step 304; SEMC K + 1 ). Another feature of the present invention is that the process of step 304 may be omitted as necessary.

이렇게 하여 구한 최종 선택된 보상오차(SEMCK+1)를 변환 부호화하고 양자화하여 움직임 벡터(MVK+1) 및 모드 정보와 함께 전송하여 한 프레임에 대한 처리를 종료한 다음 K 값이 최종 프레임(last frame)까지 도달하였는지를 확인하여(제60단계) 최종 프레임까지 처리가 끝났으면 종료하고(제61단계) 처리할 프레임이 남아 있으면 다음 프레임을 읽어 들이는 과정(제53단계)으로 이동한다.The final selected compensation error (SEMC K + 1 ) obtained is transform-coded, quantized, and transmitted together with the motion vector (MV K + 1 ) and mode information to complete processing for one frame, and then the K value is the last frame (last frame) is reached (step 60). If the processing is completed until the last frame (step 61), if the frame to be processed remains, the process moves to the process of reading the next frame (step 53).

도 8은 상기의 과정을 수행한 후 만들어지는 압축된 신호의 비트 스트림 신텍스를 보여주고 있다. 본 발명에 의해서 추가되어지는 부분이 점선으로 표시되어 있다. 즉, 웁직임 예측 방식이 종래의 방식을 그대로 사용할 것인지 본 발명의 특수한 효과를 사용할 것인지를 결정하는 것이 Prediction_Type_Code(91)라는 2비트(bit)의 데이터에 저장되는데, 이것의 구성형태는 다음과 같다.8 shows the bit stream syntax of the compressed signal produced after performing the above process. The part to be added by the present invention is indicated by a dotted line. That is, it is stored in two bits of data called Prediction_Type_Code (91), which determines whether the WPS predictive method will use the conventional method or the special effect of the present invention. .

Prediction_Type_Code DescriptionPrediction_Type_Code Description

00 종래의 방식00 conventional method

01 반복적인 움직임 보상01 repetitive motion compensation

10 반복적인 움직임 예측10 repetitive movement predictions

11 Reserved(사용하지 않고 있음)11 Reserved

즉, '00'이면 종래의 방식을 그대로 사용하고, '01'이면 종래의 방식대로 원화상에 대해서 구한 움직임 벡터를 MC 오차 신호에도 그대로 적용하여 반복적인 움직임 보상만을 추가한 것이며, '10'이면 MC 오차 신호에 대한 움직임 예측을 새로이 실시하여 추가의 움직임 벡터를 구한 다음 이 움직임 벡터에 의해 움직임을 보상하도록 하는 방식이며, '11'의 경우는 추가의 사용을 위해 예약한 것으로 현재는 사용하고 있지 않다. 이 Prediction_Type_Code가 '00'일 경우는 점선으로 표시한 부분(92)이 생략되며, '01'의 경우에는 포함되게 되는데, 이 과정은 앞에서 상세히 동작 원리를 설명하였다. 이로써 본 발명에 의한 영상 부호화기의 상세한 동작이완료되게 된다.That is, if it is '00', the conventional method is used as it is, and if it is '01', the motion vector obtained for the original image is applied to the MC error signal as it is, and only repetitive motion compensation is added. New motion prediction for MC error signal is performed to obtain additional motion vector and then compensate for motion by this motion vector. In case of '11', it is reserved for additional use. not. If the Prediction_Type_Code is '00', the portion 92 indicated by the dotted line is omitted, and in the case of '01', the operation principle has been described in detail above. This completes the detailed operation of the video encoder according to the present invention.

복호화기는 도 4에 도시한 것처럼 엔트로피 복호화기(21)로부터 들어오는 데이터를 분류하여 최종의 MC 오차 신호는 역양자화기(22) 및 역변환기(23)를 통해 원래의 신호로 바뀐 후 본 발명에 의해 처리되는 결과와 가산기(24)에서 더해져 최종이 복원된 신호를 만들어 낸다. 본 발명에 의한 처리부는 점선으로 표시된 부분(200)으로, 먼저 이전 프레임의 오차 신호를 MC 오차 프레임 메모리(201)에 저장해 두고, 현재 들어오는 비트 스트림의 모드 정보에 따라 제2움직임 보상기(202)에서는 원화상의 움직임 예측에 의해 구해진 움직임 벡터를 사용하여 오차 신호를 보상하는 것이다. 또한, 제3움직임 보상기(203)에서는 새로이 전송되어져 오는 오차신호를 위한 움직임 벡터를 이용하여 움직임을 보상한다. 데이터 선택기(204)에서는 비트 스트림에서 지정하는 모드에 의해 제2움직임 보상기(202)와 제3움직임 보상기(203)의 출력 중 하나가 선택하고, 데이타 선택기(204)의 출력은 가산기(205)에서 종래의 방식에 의해 제1움직임 보상기(26)에서 미리 계산된 원영상의 보상된 신호와 가산이 되어 또 다른 가산기(24)에 입력된다.The decoder classifies the data coming from the entropy decoder 21 as shown in FIG. 4, and the final MC error signal is converted into the original signal through the inverse quantizer 22 and the inverse transformer 23. The result is processed and added to adder 24 to produce the final reconstructed signal. The processing unit according to the present invention is a portion 200 indicated by a dotted line. First, the error signal of the previous frame is stored in the MC error frame memory 201, and the second motion compensator 202 according to the mode information of the current incoming bit stream. The error signal is compensated using the motion vector obtained by the motion prediction of the original image. In addition, the third motion compensator 203 compensates for the motion by using the motion vector for the newly transmitted error signal. In the data selector 204, one of the outputs of the second motion compensator 202 and the third motion compensator 203 is selected by the mode specified in the bit stream, and the output of the data selector 204 is added by the adder 205. In a conventional manner, the first motion compensator 26 adds the compensated signal of the original image calculated in advance and inputs it to another adder 24.

도 9a 내지 도 9d는 동화상을 처리한 것 중에서 특정한 한 프레임의 예 특히, 비교적 단순한 형태의 입력화상의 예를 보여 주는 것으로서, 도 9a는 원영상, 도 9b는 종래의 방식을 적용했을 경우에 나타나는 오차신호의 양을 표시한 것이며, 도 9c는 본 발명에서 오차 신호에 대한 반복적인 움직임 보상을 한 경우의 오차신호의 양을 표시한 것이고, 도 9d는 오차신호에 대해 새로이 움직임을 추정하여 움직임벡터를 구한 다음 이것으로 움직임 보상을 한번 더 실시한 경우의 오차의 양을보여준다. 그림에서 검게 표시된 것이 오차의 양을 나타내는데, 본 발명에 의한 효과가 탁월한 것을 알 수 있다.9A to 9D show examples of one specific frame among moving images, in particular, an input image having a relatively simple form. FIG. 9A shows an original image and FIG. 9B shows a case where a conventional method is applied. 9c shows the amount of error signal, and FIG. 9c shows the amount of error signal when repetitive motion compensation is performed for the error signal in the present invention. FIG. 9d shows a motion vector by newly estimating a motion with respect to the error signal. Calculate and then show the amount of error when motion compensation is performed once more. The black ones in the figure indicate the amount of error, and it can be seen that the effect of the present invention is excellent.

도 10a 내지 도 10d는 동화상을 처리한 것 중에서 특정한 한 프레임의 예 특히, 비교적 복잡한 형태의 입력화상의 예를 보여 주는 것으로서, 도 10a는 원영상, 도 10b는 종래의 방식을 적용했을 경우에 나타나는 오차신호의 양을 표시한 것이며, 도 10c는 본 발명에서 오차 신호에 대한 반복적인 움직임 보상을 한 경우의 오차신호의 양을 표시한 것이고, 도 10d는 오차신호에 대해 새로이 움직임을 추정하여 움직임벡터를 구한 다음 이것으로 움직임 보상을 한번 더 실시한 경우의 오차의 양을 보여준다. 도 10b 내지 도 10d에서 볼 수 있는 것처럼 오차의 양이 월등히 많은 것을 알 수 있다. 그러나, 점차적으로 줄어드는 경향은 도 9에서와 마찬가지인 것을 알 수 있다.10A to 10D show an example of a specific frame among moving images, in particular, an input image having a relatively complicated shape. FIG. 10A shows an original image and FIG. 10B shows a case where a conventional method is applied. Figure 10c shows the amount of the error signal, Figure 10c shows the amount of the error signal when the repetitive motion compensation for the error signal in the present invention, Figure 10d is a motion vector by estimating the new motion with respect to the error signal After calculating, we show the amount of error when the motion compensation is performed once more. As can be seen in Figures 10b to 10d it can be seen that the amount of error is much higher. However, it can be seen that the tendency to gradually decrease is the same as in FIG.

도 11a 내지 도 11d는 10개의 프레임에 대해 본 발명과 종래의 방식을 적용했을 때 얻을 수 있는 통계적인 결과를 표시한 것으로서, 도 11a는 각각의 프레임 처리후 발생하는 비트량을 보여주고 있는데, 본 발명이 적용되는 3번째 프레임부터 비트량이 현저히 감소되어 거의 50% 밖에 발생하지 않음을 볼 수 있다. 또한, 도 11b는 밝기성분(Luminance)에 대한 피이크 SNR(PSNR)을 보여주는데, 제안된 방식이 조금 떨어지지만 큰 차이는 보이지 않음을 알 수 있으며, 마찬가지로 도 11c와 도 11d의 색차성분(Chrominance)에 대한 PSNR도 큰 차이가 없음을 알 수 있다.11A to 11D show statistical results obtained when the present invention and the conventional method are applied to 10 frames, and FIG. 11A shows the amount of bits generated after each frame process. From the third frame to which the invention is applied, it can be seen that the bit amount is significantly reduced, so that only about 50% occurs. In addition, Figure 11b shows the peak SNR (PSNR) for the luminance component, it can be seen that the proposed method is slightly dropped, but the big difference is not seen, similarly to the chrominance component (Chrominance) of Figures 11c and 11d It can be seen that for PSNR, there is no big difference.

본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 기술적 사상내에서 당 분야에서 통상의 지식을 가진 자에 의해 가능함은 명백하다.The present invention is not limited to the above embodiments, and it is apparent that many modifications are possible by one of ordinary skill in the art within the technical idea of the present invention.

본 발명에 의한 반복적 움직임 예측/보상을 이용한 영상 부호화기 및/또는 복호화기에 따르면, 대량의 정보를 가장 적은 양으로 효율적으로 전송하고자 할 경우에 최적의 데이타만을 압축할 수 있도록 한다. 또한, 모든 정보에 따라 필요한 만큼의 데이타량 조절 및 계산의 복잡도를 선택적으로 조절할 수 있다. 또한, 최소한의 필요한 회로만을 추가하여 비트량을 최대한 감축할 수 있도록 설계되었다. 또한, 기존의 방법을 그대로 사용할 수 있으며, 특히 컴퓨터 네트워크, 무선 통신망 등에서 사용할 수 있도록 최대한 고화질에 적은 비트량을 유지할 수 있도록 설계 되었다.According to an image encoder and / or decoder using iterative motion prediction / compensation according to the present invention, only optimal data can be compressed when a large amount of information is efficiently transmitted in a small amount. In addition, it is possible to selectively adjust the complexity of data amount adjustment and calculation as necessary according to all the information. In addition, it is designed to reduce the amount of bits as much as possible by adding only the minimum necessary circuit. In addition, the existing method can be used as it is, and in particular, it is designed to maintain a small bit amount in the highest quality for use in computer networks, wireless communication networks, and the like.

Claims (7)

부호화하고자 입력되는 영상신호 중 현재 프레임과 이전 프레임으로 부터 움직임을 예측하고, 상기 움직임 예측 결과를 이용하여 움직임을 보상하고, 보상 후의 오차신호를 변환 부호화를 이용하여 변환한 다음 양자화하여 전송하고, 이를 움직임 보상된 신호와 합하여 프레임 메모리의 소정 영역에 저장하여 다음 프레임 처리의 참조영상으로 사용하는 영상 부호화기에 있어서,Predict the motion from the current frame and the previous frame among the video signals input for encoding, compensate for the motion using the motion prediction result, convert the error signal after the compensation using transform coding, and then quantize and transmit the same. In the image encoder that is added to the motion-compensated signal and stored in a predetermined region of the frame memory to use as a reference image of the next frame processing, 움직임 오차 프레임 메모리와 상기 움직임 예측결과 구해진 움직임 벡터로 부터 움직임 오차신호를 반복적으로 보상하는 움직임 보상기를 구비하여, 이전 프레임의 움직임 보상 오차신호로 부터 현재 프레임의 움직임 보상 오차신호를 위한 새로운 움직임 벡터를 구한 다음, 이를 이용하여 다시 움직임을 보상할 수 있도록 하며, 상기 과정들이 모드 선택기에 의해 적절한 것을 선택할 수 있도록 하는 것을 특징으로 하는 반복적 움직임 예측/보상을 이용한 영상 부호화기.A motion compensator for repeatedly compensating the motion error signal from the motion vector obtained from the motion prediction frame memory and the motion prediction result, and a new motion vector for the motion compensation error signal of the current frame from the motion compensation error signal of the previous frame. The image encoder using iterative motion prediction / compensation can be used to compensate for the motion, and then select the appropriate ones by using a mode selector. 제1항에 있어서, 움직임 보상 오차신호를 반복적으로 보상하는데 있어서, 원화상의 움직임 예측에 의해 구해진 움직임 벡터를 그대로 사용하여 현재 프레임의 오차신호를 반복적으로 보상한 다음, 이를 이용하여 더욱 정확하게 움직임 보상하고 보상 오차를 최소로 줄여주는 것을 특징으로 하는 반복적 움직임 예측/보상을 이용한 영상 부호화기.The method of claim 1, wherein in repeatedly compensating for the motion compensation error signal, the error signal of the current frame is repeatedly compensated by using the motion vector obtained by the motion prediction of the original image as it is, and then the motion compensation is more accurately used. And an image encoder using iterative motion prediction / compensation, which minimizes a compensation error. 제1항에 있어서, 움직임 보상 오차신호를 반복적으로 보상하는데 있어서, 이전 프레임에 의해 저장되어져 있는 오차신호를 이용하여 현재 프레임의 오차신호에 대한 움직임 예측을 새로이 실행하여 이 움직임 벡터에 의해 오차신호를 반복적으로 보상할 수 있도록 하는 것을 특징으로 하는 반복적 움직임 예측/보상을 이용한 영상 부호화기.2. The method of claim 1, wherein in repeatedly compensating for the motion compensation error signal, the motion signal for the error signal of the current frame is newly executed by using the error signal stored by the previous frame and the error signal is obtained by the motion vector. An image encoder using iterative motion prediction / compensation, characterized in that it can be repeatedly compensated. 제1항에 있어서, 최적의 상태를 선택하기 위해 모드 선택기를 구비하여, 최소의 비트량을 발생시키는 것을 선택하도록 설계된 것을 특징으로 하는 반복적 움직임 예측/보상을 이용한 영상 부호화기.2. The image encoder according to claim 1, further comprising a mode selector for selecting an optimal state and designed to select to generate a minimum amount of bits. 제4항에 있어서, 최소값의 선택방법으로는 오차신호의 복잡도를 계산하여 복잡도가 낮은 것을 선택하도록 하는 것을 특징으로 하는 반복적 움직임 예측/보상을 이용한 영상 부호화기.The image encoder according to claim 4, wherein the minimum value selection method calculates the complexity of the error signal and selects a low complexity one. 제1항과 같은 영상 부호화기에 의해 부호화된 비트스트림을 복호화하는 반복적 움직임 예측/보상을 이용한 영상 복호화기.An image decoder using iterative motion prediction / compensation for decoding a bitstream encoded by an image encoder such as claim 1. 부호화하고자 입력되는 영상신호 중 현재 프레임과 이전 프레임으로 부터 움직임을 예측하고, 상기 움직임 예측 결과를 이용하여 움직임을 보상하고, 보상 후의 오차신호를 변환 부호화를 이용하여 변환한 다음 양자화하여 전송하고, 이를 움직임 보상된 신호와 합하여 프레임 메모리의 소정 영역에 저장하여 다음 프레임 처리의 참조영상으로 사용하되, 움직임 오차 프레임 메모리와 상기 움직임 예측결과 구해진 움직임 벡터로 부터 움직임 오차신호를 반복적으로 보상하는 움직임 보상기를 구비하여, 이전 프레임의 움직임 보상 오차신호로 부터 현재 프레임의 움직임 보상 오차신호를 위한 새로운 움직임 벡터를 구한 다음, 이를 이용하여 다시 움직임을 보상할 수 있도록 하며, 상기 과정들이 모드 선택기에 의해 적절한 것을 선택할 수 있도록 하는 영상 부호화기; 및Predict the motion from the current frame and the previous frame among the video signals input for encoding, compensate for the motion using the motion prediction result, convert the error signal after the compensation using transform coding, and then quantize and transmit the same. The motion compensation signal is stored in a predetermined area of the frame memory and used as a reference image for the next frame processing, and includes a motion error frame memory and a motion compensator for repeatedly compensating the motion error signal from the motion vector obtained from the motion prediction result. By obtaining a new motion vector for the motion compensation error signal of the current frame from the motion compensation error signal of the previous frame, the motion compensation can be compensated again by using the same. So that Image encoder; And 상기 영상 부호화기에 의해 부호화된 비트스트림을 반복적 움직임 예측/보상에 의해 복호화하는 영상 복호화기를 포함함을 특징으로 하는 반복적 움직임 예측/보상을 이용한 영상 부호화기 및 복호화기.And an image decoder for decoding the bitstream encoded by the image encoder by iterative motion prediction / compensation.
KR1019960030444A 1996-07-25 1996-07-25 Image encoder and/or decoder using recursive motion prediction/compensation KR100335606B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960030444A KR100335606B1 (en) 1996-07-25 1996-07-25 Image encoder and/or decoder using recursive motion prediction/compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960030444A KR100335606B1 (en) 1996-07-25 1996-07-25 Image encoder and/or decoder using recursive motion prediction/compensation

Publications (2)

Publication Number Publication Date
KR980012955A KR980012955A (en) 1998-04-30
KR100335606B1 true KR100335606B1 (en) 2002-10-25

Family

ID=37479784

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960030444A KR100335606B1 (en) 1996-07-25 1996-07-25 Image encoder and/or decoder using recursive motion prediction/compensation

Country Status (1)

Country Link
KR (1) KR100335606B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000044735A (en) * 1998-12-30 2000-07-15 전주범 Motion estimator

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100773501B1 (en) * 2001-04-17 2007-11-06 엘지전자 주식회사 Video storage device for digital camera and method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5251028A (en) * 1991-08-08 1993-10-05 Matsushita Electric Corporation Of America Apparatus for reducing quantization artifacts in an interframe hybrid coding system with motion compensation
JPH0685692A (en) * 1992-09-04 1994-03-25 Mitsubishi Electric Corp Encoder with high efficiency
EP0793388A2 (en) * 1996-02-29 1997-09-03 International Business Machines Corporation Method and apparatus to calculate field motion estimations in frame pictures
KR19980059937A (en) * 1996-12-31 1998-10-07 구자홍 Video decoding device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5251028A (en) * 1991-08-08 1993-10-05 Matsushita Electric Corporation Of America Apparatus for reducing quantization artifacts in an interframe hybrid coding system with motion compensation
JPH0685692A (en) * 1992-09-04 1994-03-25 Mitsubishi Electric Corp Encoder with high efficiency
EP0793388A2 (en) * 1996-02-29 1997-09-03 International Business Machines Corporation Method and apparatus to calculate field motion estimations in frame pictures
KR19980059937A (en) * 1996-12-31 1998-10-07 구자홍 Video decoding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000044735A (en) * 1998-12-30 2000-07-15 전주범 Motion estimator

Also Published As

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

Similar Documents

Publication Publication Date Title
US6590936B1 (en) Coded data transform method, transcoding method, transcoding system, and data storage media
US5025482A (en) Image transformation coding device with adaptive quantization characteristic selection
US6414992B1 (en) Optimal encoding of motion compensated video
EP1540824B1 (en) Motion estimation with weighting prediction
JP2883833B2 (en) Signal encoding method and apparatus
JP2897763B2 (en) Motion compensation coding device, decoding device, coding method and decoding method
US5587741A (en) Apparatus and method for detecting motion vectors to half-pixel accuracy
US8194748B2 (en) Apparatus for scalable encoding/decoding of moving image and method thereof
US20100172417A1 (en) Motion estimation technique for digital video encoding applications
US20130101040A1 (en) Method for coding a block of a sequence of images and method for reconstructing said block
KR100578433B1 (en) Fading estimation/compensation
US7088772B2 (en) Method and apparatus for updating motion vector memories
KR100247997B1 (en) Moving predictive method
EP0644697A2 (en) Method for half-pixel motion compensation in image decoding
JP2004048552A (en) Image encoder, image encoding method, image decoder, image decoding method and communication equipment
US5748242A (en) Color video vector quantization with chrominance codebook bypass
Wong et al. An efficient low bit-rate video-coding algorithm focusing on moving regions
KR100961760B1 (en) Motion Estimation Method and Apparatus Which Refer to Discret Cosine Transform Coefficients
JPH04219074A (en) Picture coder
JPH08294125A (en) Moving image coder and moving image decoder
KR100335606B1 (en) Image encoder and/or decoder using recursive motion prediction/compensation
US5614953A (en) Image signal decoding apparatus having an encoding error compensation
KR100351568B1 (en) Apparatus and method for high compression to consider edge direction of motion compensated prediction
KR100196827B1 (en) Method for compressing motion vector in image encoder
KR100207419B1 (en) Method and apparatus for controlling generation of bit rate in video encoding

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

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee