KR100229794B1 - Image decoder having function for restructuring error of motion vector - Google Patents

Image decoder having function for restructuring error of motion vector Download PDF

Info

Publication number
KR100229794B1
KR100229794B1 KR1019960024052A KR19960024052A KR100229794B1 KR 100229794 B1 KR100229794 B1 KR 100229794B1 KR 1019960024052 A KR1019960024052 A KR 1019960024052A KR 19960024052 A KR19960024052 A KR 19960024052A KR 100229794 B1 KR100229794 B1 KR 100229794B1
Authority
KR
South Korea
Prior art keywords
motion vector
vector information
error
candidate
signal
Prior art date
Application number
KR1019960024052A
Other languages
Korean (ko)
Other versions
KR980007730A (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 KR1019960024052A priority Critical patent/KR100229794B1/en
Publication of KR980007730A publication Critical patent/KR980007730A/en
Application granted granted Critical
Publication of KR100229794B1 publication Critical patent/KR100229794B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • H03M13/098Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit using single parity bit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/65Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
    • H04N19/69Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience involving reversible variable length codes [RVLC]

Abstract

본 발명은 영상 복호화기에서 수신되는 움직임 벡터정보에 대한 오류검출 및 검출된 오류를 원래의 움직임 벡터정보로 복원하는 움직임 벡터정보에 대한 오류 복원기능을 갖는 영상 복호화기에 관한 것이다.The present invention relates to an image decoder having an error detection function for motion vector information received from an image decoder and an error recovery function for motion vector information for restoring the detected error to original motion vector information.

이를 위한 본 발명은, 오류가 발생된 움직임 벡터정보 비트의 최상위 비트에서 최하위 비트로 한 비트씩 반전시켜 비오류의 움직임 벡터정보 즉, 후보 움직임 벡터정보들을 생성하고, 생성된 후보 움직임 벡터정보들중 화면블록범위내에 포함되는 후보 움직임 벡터정보들만을 선별한 후 프레임 메모리에 저장되어 있는 이전 프레임 영상 신호에 의하여 선별된 후보 움직임 벡터정보들 각각에 대하여 움직임 예측을 수행한 결과 신호와 움직임 보상 예측 오차 신호를 가산시킨 후보 블록 신호중 상기한 이전 프레임 영상 신호에 의하여 상관성이 가장 큰 후보 블록 신호를 판정하고, 판정한 후보 블록 신호에 대응하는 움직임 벡터정보와 오류 발생되지 않은 움직임 벡터정보로부터 예측된 프레임 영상 신호를 구한 후 움직임 보상 예측 오차 신호를 가산하여 원래의영상 신호로 복원하므로써, 전송채널 환경 등에 의해서 오류가 발생되더라도 오류가 발생된 움직임 벡터를 보다 효율적으로 복원할 수 있는 효과가 있다.According to the present invention, non-error motion vector information, that is, candidate motion vector information is generated by inverting bit by bit from the most significant bit to the least significant bit of the motion vector information bit in which an error occurs, and among the generated candidate motion vector information. After selecting only the candidate motion vector information included in the block range, the motion prediction prediction error signal and the result of the motion prediction are performed on each of the candidate motion vector information selected by the previous frame image signal stored in the frame memory. The candidate block signal having the highest correlation is determined based on the previous frame image signal among the added candidate block signals, and the frame image signal predicted from the motion vector information corresponding to the determined candidate block signal and the motion vector information in which no error is generated are determined. Add motion compensated prediction error signal By restoring to over the original image signal, even if an error or the like caused by the transmission channel environment, there is an effect that it is possible to effectively restore the more the error occurs the motion vector.

Description

움직임 벡터정보에 대한 오류 복원 기능을 갖는 영상 복호화기Image Decoder with Error Recovery Function for Motion Vector Information

본 발명은 오류 보상 기능을 갖는 영상 복호화기에 관한 것으로, 특히, 영상 복호화기에서 수신되는 움직임 벡터정보에 대한 오류 검출 및 검출된 오류를 원래의 움직임 벡터정보로 복원할 수 있도록 한 움직임 벡터정보에 대한 오류 복원 기능을 갖는 영상 복호화기에 관한 것이다.The present invention relates to an image decoder having an error compensation function. More particularly, the present invention relates to an error vector for motion vector information received from an image decoder and to a motion vector information for restoring the detected error to original motion vector information. An image decoder having an error recovery function.

이 기술본야에 잘 알려진 바와같이, 이산된 영상신호의 전송은 아날로그 신호 보다 좋은 화질을 유지할 수 있다. 일련의 이미지 "프레임" 으로 구성된 비디오 신호가 디지털 형태로 표현될 때, 특히 고품질 텔레비젼(일명 HDTV 라 함)의 경우 상당한 양의 데이터가 전송되어야 한다. 그러나 종래의 전송 채널의 사용 가능한 주파수 영역은 제한되어 있으므로, 많은 양의 디지털 데이터를 전송하기 위해서는 전송되는 데이터를 압축하여 그 양을 줄일 필요가 있다. 이와 같이 데이터를 압축하는 다양한 압축 기법 중에서, 확률적 부호화 기법과 시간적, 공간적 압축 기법을 결합한 하이브 리드 부호화 기법이 가장 효율적인 것으로 알려져 있으며, 이러한 기법들은, 예를들면 세계 표준화 기구에 의해 그 표준안이 이미 제정된 MPEG-1 및 MPEG-2 등의 권고안에 광범위하게 개시되어 있다.As is well known in the art, the transmission of discrete video signals can maintain better image quality than analog signals. When a video signal consisting of a series of image "frames" is represented in digital form, a significant amount of data must be transmitted, especially for high quality televisions (aka HDTVs). However, since the usable frequency range of the conventional transmission channel is limited, in order to transmit a large amount of digital data, it is necessary to compress the transmitted data and reduce the amount thereof. Among the various compression methods for compressing data, hybrid coding, which combines stochastic coding with temporal and spatial compression, is known to be the most efficient, and these methods have already been proposed by the World Organization for Standardization. It is widely disclosed in the recommendations of enacted MPEG-1 and MPEG-2.

대부분의 하이브리드 부호화 기법은 움직임 보상 DCPM(처뷴 펄스 부호 변조), 2차원 DCT(이산 코사인 변환), DCT 계수의 양자화, VLC(가변장 부호화)등을 이용한다. 움직임 보상 DPCM은 현재 프레임과 이전 프레임간의 물체의 움직임을 결정하고, 물체의 움직임에 따라 현재 프레임을 예측하여 현재 프레임과 예측치간의 차이를 나타내는 차분신호를 만들어 내는 방법이다.Most hybrid coding techniques use motion-compensated DCPM (prediction pulse code modulation), two-dimensional DCT (discrete cosine transform), quantization of DCT coefficients, variable-length coding (VLC), and the like. The motion compensation DPCM determines a motion of an object between a current frame and a previous frame and predicts the current frame according to the motion of the object to generate a differential signal representing the difference between the current frame and the predicted value.

일반적으로, 이차원 DCT는 영상 데이터간의 공간적 리던던시(Redundancy)를 이용하거나 제거하는 것으로써, 디지털 영상 데이터 블록, 예를 들면 8×8 블록을 DCT 변환계수로 변환한다.In general, two-dimensional DCT converts digital image data blocks, for example, 8x8 blocks, into DCT conversion coefficients by using or removing spatial redundancy between image data.

이러한 DCT 변환계수는 양자화기, 지그재그 주사, VLC 등을 통해 처리됨으로써 전송할 데이터의 양을 효과적으로 감출(또는 압축)할 수 있다.The DCT conversion coefficient may be processed through a quantizer, a zigzag scan, a VLC, or the like to effectively hide (or compress) the amount of data to be transmitted.

보다 상세하게는, 움직임 보상 DPCM에서는 현재 프레임과 이전 프레임간에 추정된 물체의 움직임에 따라, 현재 프레임을 이전 프레임으로부터 예측한다. 이와 같이 추정된 움직임은 이전 프레임과 현제 프레임간의 변위를 나타내는 2차원 움직임 벡터정보로 나타낼 수 있다.More specifically, the motion compensation DPCM predicts the current frame from the previous frame according to the motion of the object estimated between the current frame and the previous frame. The estimated motion may be represented by two-dimensional motion vector information indicating the displacement between the previous frame and the current frame.

통상적으로, 물체의 변위(벡터)를 추정하는 데에는 여러 가지 접근 방법이 있다. 이들은 일반적으로 두 개의 타입으로 분류되는데, 그 중 하나는 블록 매칭 알고리즘을 이용하는 블록단위 움직임 추정 방법이고, 다른 하나는 화소 순환 알고리즘을 이용하는 화소단위 움직임 추정 방법이다.Typically, there are several approaches to estimating the displacement (vector) of an object. These are generally classified into two types, one of which is a block-based motion estimation method using a block matching algorithm, and the other is a pixel-based motion estimation method using a pixel cyclic algorithm.

상기와 같이 물체의 변위를 추정하는 움직임 추정 방법중, 화소단위 움직임 추정방법을 이용하면 변위는 각각의 화소 전부에 대해 구해진다. 이러한 방법은 화소값을 더 정확히 추정할 수 있고 스케일 변화(예를들어, 영상면에 수직한 움직임인 주밍(zooming)도 쉽게 다룰 수 있다는 장점을 갖는 반면에, 움직임 벡터정보가 모든 화소 각각에 대해 결정되기 때문에, 다량의 움직임 벡터정보들이 발생하는데 실질적으로 모든 움직임 벡터정보를 수신기로 전송하다는 것은 불가능하다.In the motion estimation method for estimating the displacement of an object as described above, the displacement is calculated for all of the pixels using the pixel-based motion estimation method. This method has the advantage of being able to estimate pixel values more accurately and easily handle scale changes (e.g., zooming, a movement perpendicular to the image plane), while motion vector information for each pixel Since it is determined, a large amount of motion vector information is generated and it is impossible to transmit substantially all the motion vector information to the receiver.

또한, 블록단위 움직임 추정에서는, 현재 프레임의 소정 크기의 블록을 이전 프레임의 소정 범위의 탐색영역내에서 한 화소씩 이동하면서 대응 블록들과 비교하여 그 오차값이 최소인 최적 정합블럭을 결정하며, 이것으로부터, 전송되는 현재 프레임에 대해 블록 전체에 대한 프레임간 변위 벡터(프레임간에 블록이 이동한 정도)가 추정된다. 여기에서, 현재 프레임과 이전 프레임간의 대응하는 두 블록간의 유사성 판단은, 이 기술분야에 잘 알려진 바와같은, 평균 절대차와 평균 제곱차 등이 주로 사용된다.In addition, in block-by-block motion estimation, a block having a predetermined size of the current frame is moved by one pixel in a search range of a previous frame and compared with the corresponding blocks to determine an optimal matching block having a minimum error value. From this, the interframe displacement vector (the extent to which the block has moved between frames) for the entire block is estimated for the current frame to be transmitted. Here, for determining the similarity between two corresponding blocks between the current frame and the previous frame, the average absolute difference, the mean square difference, etc. are mainly used, as is well known in the art.

한편, 상술한 바와 같은 부호화 기법은, 즉 움직임 보상 DCPM, 2차원 DCT, DCT 계수의 양자화 및 VLC(또는 엔트로피 부호화)등의 부호화 기법을 통해 부호화된 비트스트림은 영상 부호화 시스템의 출력측에 구비되는 전송 버퍼에 저장된 다음 전송 시점이 되면 영상 복호화기로 송출된다. 영상 복호화기는 전송 버퍼에서 수신되는 비트스트림으로부터 가변길이 부호화된 데이터와 움직임 벡터정보를 분리하여, 가변길이 부호화된 데이터는 가변길이 복호화와 역양자화 및 역 DCT를 행하여 얻어지는 차분 영상 신호를 구하게 된다. 그리고, 상기 움직임 벡터정보는 프레임 메모리에 저장되어 있던 이전 프레임에 기초하여 움직임이 예측된 예측 영상 프레임과 상기한 차분 영상 신호를 가산하여 원래의 움직임 벡터정보로서 복원하게 된다.On the other hand, in the above-described encoding scheme, that is, a bitstream encoded through a coding scheme such as motion compensation DCPM, two-dimensional DCT, quantization of DCT coefficients, and VLC (or entropy encoding) is transmitted to an output side of an image encoding system When the next transmission time is stored in the buffer, it is sent to the video decoder. The image decoder separates the variable length coded data and the motion vector information from the bitstream received from the transmission buffer, and obtains a differential image signal obtained by performing variable length decoding, inverse quantization, and inverse DCT on the variable length coded data. The motion vector information is reconstructed as original motion vector information by adding a predicted video frame whose motion is predicted based on a previous frame stored in a frame memory and the difference image signal.

이 때, 영상 복호화기에서의 원래의 영상 신호 복원시 채널 오류는 움직임 추정에 의한 움직임 벡터정보의 비트스트림과, 움직임 벡터정보를 통해 보상한 움직임 보상 예측 오차를 부호화하여 생기는 비트스트림에서 발생된다.In this case, a channel error in reconstructing the original video signal in the video decoder is generated in a bitstream of motion vector information obtained by motion estimation and motion compensation prediction error compensated through motion vector information.

이 때, 움직임 벡터에서 발생한 오류에 의한 화질 열화는 시청에 악영향을 미치기 때문에, 이를 해결하기 위하여 오류가 발생된 움직임 벡터정보를 원래의 움직임 벡터정보로 복원시 주변 구획의 움직임 벡터의 평균을 이용하거나 제로 움직임 벡터로서 대치하는 방법을 사용하였으나, 이 방법만으로는 오류 보상이 정확하게 이루어지지 않았다.In this case, the image quality deterioration due to an error occurring in the motion vector adversely affects viewing. Therefore, in order to solve the problem, the average of the motion vectors of the neighboring partitions is used to restore the error vector to the original motion vector information. The replacement method is used as a zero motion vector. However, this method alone does not accurately compensate for errors.

본 발명은 상기한 문제점을 해결하기 위하여 안출한 것으로서, 본 발명의 목적은 오류가 발생된 움직임 벡터정보를 검출하고 이 검출된 움직임 벡터정보에 기초하여 비오류의 후보 움직임 벡터정보들을 생성하여, 비오류의 후보 움직임 벡터정보들과 주변블록정보에 의거하여 최적의 상관성을 갖는 후보 움직임 벡터정보를 선택함으로써, 오류가 발생된 움직임 벡터정보를 원래의 움직임 벡터정보로 정확하게 복원하기 위한 움직임 벡터정보에 대한 오류 복원기능을 갖는 영상 복호화기를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to detect motion vector information in which an error has occurred and generate non-error candidate motion vector information based on the detected motion vector information. By selecting candidate motion vector information having an optimal correlation based on the candidate motion vector information of the error and the neighboring block information, the motion vector information for accurately reconstructing the motion vector information in which the error has occurred is returned to the original motion vector information. An image decoder having an error recovery function is provided.

상기한 목적을 달성하기 위한 본 발명은, 영상 부호화측에서 소정블록단위의 데이터마다 패리티 비트가 부가되는 움직임 벡터정보와 비트스트림으로 가변길이 부호화된 데이터가 수신되면, 상기 패리티 비트에 의하여 해당 움직임 벡터정보의 오류 발생 여부를 검출하여 오류 발생한 움직임 벡터정보를 원래의 움직임 벡터정보로 복원하는 움직임 벡터정보에 대한 오류 복원 기능을 갖는 영상 복호화기에 있어서, 상기 움직임 벡터정보의 오류 발생 여부 검출 결과에 대응하는 움직임 벡터정보를 스위칭하여 출력하는 제1스위치; 상기 움직임 벡터정보의 오류 발생 여부 검출 결과에 따라 움직임 보상 예측 오차 신호를 선택적으로 출력하는 제2스위치; 상기 제1스위치를 통해 출력되는 오류 발생의 움직임 벡터정보로부터 생성되는 비오류의 후보 움직임 벡터정보들중 화면블륵범위내에 포함되는 후보 움직임 벡터정보들만을 선별한 후 이전 프레임 영상 신호에 의거하여 상기 선별된 후보 움직임 벡터정보 각각에 대한 움직임 예측을 수행한 결과신호와 상기 제2스위치를 통해 출력되는 움직임 보상 예측 오차 신호를 가산한 결과에 따른 후보 블록 신호를 제공하는 후보 선택부; 상기 이전 프레임 신호에 의하여 상기 후보 선택부에서 제공되는 후보 블록 신호들중 상관성이 가장 큰 후보 블록 신호를 판정하고, 판정된 후보 블록 신호에 대응되는 움직임 벡터정보를 제공하는 오류 보상부; 상기 가변길이 부호화된 데이터에 대하여 복호화 및 역양자화, 역이산코사인변환에 따른 상기 움직임 보상 예측 오차 신호와 예측된 프레임 영상 신호를 가산하여 원래의 영상 신호로 복원하는 복호화부를 포함하되, 상기 예측된 프레임 영상 신호는 프레임 메모리에 저장되어 있는 상기 이전 프레임 영상 신호와 상기 제1스위치의 스위칭 동작에 따른 움직임 벡터정보와 상기 오류 보상부에서 제공되는 움직임 벡터정보에 의해서 예측되어짐을 특징으로 한다.According to the present invention for achieving the above object, when the video encoding side receives the motion vector information to which the parity bit is added for each data of a predetermined block unit and the data variable-length encoded into the bitstream, the corresponding motion vector by the parity bit. An image decoder having an error recovery function for motion vector information for detecting whether an error occurs and restoring motion vector information to original motion vector information, wherein the image decoder corresponds to a result of detecting whether an error occurred in the motion vector information. A first switch for switching and outputting motion vector information; A second switch for selectively outputting a motion compensation prediction error signal according to a result of detecting whether an error of the motion vector information occurs; After selecting only candidate motion vector information included in the screen block range among non-error candidate motion vector information generated from the error-producing motion vector information output through the first switch, the selection is performed based on a previous frame image signal. A candidate selector configured to provide a candidate block signal according to a result of performing a motion prediction on each of the candidate motion vector information and a motion compensation prediction error signal outputted through the second switch; An error compensator for determining a candidate block signal having the largest correlation among candidate block signals provided by the candidate selector based on the previous frame signal, and providing motion vector information corresponding to the determined candidate block signal; And a decoder configured to add the motion compensation prediction error signal and the predicted frame image signal according to decoding, inverse quantization, and inverse discrete cosine transform to the variable length coded data, and reconstruct the original image signal. The image signal may be predicted by the previous frame image signal stored in the frame memory, the motion vector information according to the switching operation of the first switch, and the motion vector information provided by the error compensator.

제1도는 본 발명에 따른 움직임 벡터정보에 대한 오류 복원기능을 갖는 영상 복호화기의 블록 구성도이고,1 is a block diagram of an image decoder having an error reconstruction function for motion vector information according to the present invention.

제2도의 (a) 및 (b)는 본 발명에 따른 움직임 벡터정보의 오류여부를 체크하기 위한 움직임 벡터정보의 일예를 나타낸 도면이고,(A) and (b) of FIG. 2 are diagrams showing an example of motion vector information for checking whether an error of motion vector information according to the present invention occurs.

제3도는 오류가 발생된 움직임 벡터정보에 대한 후보 움직임 벡터정보의 일예를 나타낸 도면이고,3 is a diagram illustrating an example of candidate motion vector information with respect to motion vector information in which an error occurs.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100 : 수신버퍼 200 : 복호화부100: receiving buffer 200: decoder

300 : 오류 검출부 420, 440 : 스위치300: error detection unit 420, 440: switch

500 : 후보 선택부 600 : 오류 보상부500: candidate selection unit 600: error compensation unit

이하, 예시된 도면을 참조하여 본 발명에 대하여 상세하게 설명한다.Hereinafter, the present invention will be described in detail with reference to the illustrated drawings.

도면 1은 본 발명에 따른 움직임 벡터정보에 대한 오류 복원기능을 갖는 영상 복호화 장치의 블록 구성도로서, 수신버퍼(100), 복호화부(200), 오류 검출부(300), 제1,2스위치(420)(440), 후보 선택부(500) 및 오류 보상부(600)로 구성된다.1 is a block diagram of an image decoding apparatus having an error reconstruction function for motion vector information according to an embodiment of the present invention, and includes a receiving buffer 100, a decoding unit 200, an error detecting unit 300, and a first and second switches. 420 and 440, the candidate selector 500, and the error compensator 600.

수신버퍼(100)는 동영상을 구현하는 소정블록단위의 데이터마다 패리티비트(parity bit)가 부가되는 움직임 벡터정보를 포함하며 비트스트림 형태로 전송되는 가변길이 부호화된 데이터를 도시되지 않은 영상 부호화측의 전송 버퍼로부터 수신하여 가변길이 부호화된 데이터는 복호화부(200)의 핑(210)로 제공하고, 움직임 벡터정보는 오류 검출부(300)로 제공하도록 구성된다.The reception buffer 100 includes motion vector information to which parity bits are added to data of a predetermined block unit to implement a video, and transmits the variable length coded data transmitted in a bitstream form of the image encoding side, which is not shown. The variable length coded data received from the transmission buffer is provided to the ping 210 of the decoder 200, and the motion vector information is provided to the error detector 300.

복호화부(200)는 VLD(210), IQ 및 IDCT(220), 프레임 메모리(230), 움직임 예측부(240), 가산부(250)로 구성되어 이전 프레임 영상신호로부터 현재 프레임의 영상신호를 복원하여 출력하게된다.The decoder 200 includes a VLD 210, an IQ and IDCT 220, a frame memory 230, a motion predictor 240, and an adder 250 to decode the video signal of the current frame from the previous frame video signal. The output will be restored.

VLD(210)는 수신버퍼(100)에 수신된 가변길이 부호화 데이터를 가변길이 복호화하여 후술하는 IQ 및 IDCT(220)로 제공하는, IQ 및 IDCT(220)는 VLD(210)에서 가변길이 복호화된 데이터를 역양자화 및 역이산코사인변환하여 얻어지는 움직임 보상 예측 오차신호(Motion Compensated Prediction Error)를 가산부(250)와 제2스위치부(440)로 제공한다.The VLD 210 variable length decodes the variable length encoded data received in the reception buffer 100 and provides the variable length decoded data to the IQ and IDCT 220 to be described later. The IQ and IDCT 220 are variable length decoded in the VLD 210. A motion compensated prediction error signal obtained by inverse quantization and inverse discrete cosine transform is provided to the adder 250 and the second switch unit 440.

가산부(250)는 후술하는 설명에서 알 수 있는 바와 같이, 움직임 예측부(240)에 의해서 예측된 프레임 영상 신호와 가변길이 복호화된 데이터를 역양자화 및 역 DCT하여 얻은 움직임 보상 예측 오차신호를 가산하여 복원되는 영상 프레임 신호는 프레임 메모리(230)와 디스플레이 장치로 제공한다.The adder 250 adds a motion compensation prediction error signal obtained by inverse quantization and inverse DCT of the frame image signal predicted by the motion predictor 240 and the variable length decoded data, as described below. The image frame signal to be restored is provided to the frame memory 230 and the display device.

프레임 메모리(230)는 가산부(250)에서 제공되는 이전 프레임 영상신호를 저장하며, 저장된 이전 프레임 영상신호는 후술하는 움직임 예측부(240)와 후보블록 발생부(530), 오류 보상부(600)로 제공된다.The frame memory 230 stores a previous frame image signal provided by the adder 250, and the stored previous frame image signal includes a motion predictor 240, a candidate block generator 530, and an error compensator 600 which will be described later. Is provided.

움직임 예측부(240)는 프레임 메모리(230)에 저장되어 있던 이전 프레임 영상 신호와 정장적인 움직임 벡터정보 즉, 오류가 발생하지 않은 움직임 벡터정보에 의거하여 움직임을 예측하고, 예측된 프레임 영상 신호를 가산부(250)로 제공한다.The motion predictor 240 predicts the motion based on the previous frame video signal stored in the frame memory 230 and formal motion vector information, that is, motion vector information in which no error occurs, and predicts the predicted frame video signal. The adder 250 is provided.

수신버퍼(100)에 연결되는 오류 검출부(300)는 수신버퍼(100)로부터 수신되는 움직임 벡터정보의 패리티 비트에 기초하여 해당 움직임 벡터정보의 오류 발생 여부를 검출하여, 해당 움직임 벡터정보에 오류가 발생되지 않았으며 움직임 벡터정보에 기초하여 움직임 예측을 위한 스위칭 제어 신호(하이레벨의 로직 신호)를 제1 및 제2스위치(420)(440)로 제공하는 한편, 해당 움직임 벡터정보에 오류가 발생되었으면 오류가 발생된 움직임 벡터정보의 오류 정정을 위한 스위칭 제어 신호(로우 레벨의 로직 신호)를 제1 및 제2스위치(420)(440)로 제공한다.The error detector 300 connected to the reception buffer 100 detects whether an error of the motion vector information is generated based on the parity bit of the motion vector information received from the reception buffer 100, and an error is detected in the motion vector information. While not generated, a switching control signal (high level logic signal) for motion prediction is provided to the first and second switches 420 and 440 based on the motion vector information, and an error occurs in the motion vector information. If so, the first and second switches 420 and 440 provide a switching control signal (a low level logic signal) for error correction of the error vector motion vector information.

이 때, 제1 및 제2스위치(420)(440)는 오류 검출부(300)의 움직임 벡터정보의 오류 발생 검출 여부에 따른 스위칭 제어 신호에 의하여 움직임 벡터정보와 움직임 보상 예측 오차 신호의 출력 경로를 단속하도록 구성된다.In this case, the first and second switches 420 and 440 may output an output path of the motion vector information and the motion compensation prediction error signal according to a switching control signal according to whether an error occurrence of the motion vector information of the error detector 300 is detected. And to control.

한편, 후보 선택부(500)는 후보 생성부(510), 후보 선별부(520), 후보블록 발생부(530) 및 가산부(5401 내지 540n)로 구성된다.The candidate selector 500 includes a candidate generator 510, a candidate selector 520, a candidate block generator 530, and adders 5401 to 540n.

후보 생성부(510)는 제1스위치(420)의 스위칭 동작에 따른 오류가 포함된 움직임 벡터정보에 의거하여 오류가 발생된 움직임 벡터정보 비트의 최상위 비트에서 최하위 비트로 한 비트씩만을 반전시켜 생성되는 후보 움직임 벡터정보들을 후보 선별부(520)로 제공한다.The candidate generator 510 is generated by inverting only one bit from the most significant bit to the least significant bit of the motion vector information bit in which an error is generated based on the motion vector information including the error according to the switching operation of the first switch 420. The candidate motion vector information is provided to the candidate selector 520.

후보 선별부(520)는 후보 생성부(510)로부터 제공되는 후보 움직임 벡터정보들중 화면블록범위내에 포함되는 후보 움직임 벡터정보들만을 선별하여 후보블록 발생부(530)로 제공한다.The candidate selector 520 selects only candidate motion vector information included in the screen block range among the candidate motion vector information provided from the candidate generator 510 and provides the candidate motion vector to the candidate block generator 530.

후보블록 발생부(530)는 후보 선별부(520)로부터 제공되는 선별된 후보 움직임 벡터정보들과 프레임 메모리(230)에서 제공되는 이전 프레임 영상 신호에 의거하여 후보 움직임 벡터정보들에 대응되는 후보 블록들 각각에 대한 움직임 예측을 수행한 다음에 그 결과신호를 후술하는 가산부(5401 내지 540n)로 제공되도록 구성된다. 가산부(5401 내지 540n)는 후보 블록 발생부(530)의 블록들에 각기 대응하여 구성되어, 후보블록 발생부(530)로부터 제공되는 움직임이 예측된 후보 블록들과 제2스위치(440)를 통해 입력되는 움직임 보상 예측 오차신호를 가산하여 복원된 후보블록 신호를 오류 보상부(600)로 제공한다.The candidate block generator 530 is a candidate block corresponding to the candidate motion vector information based on the selected candidate motion vector information provided from the candidate selector 520 and the previous frame image signal provided from the frame memory 230. After performing the motion prediction for each of them, the result signal is configured to be provided to the adders 5401 to 540n described later. The adders 5401 to 540n are configured to correspond to the blocks of the candidate block generator 530 so that the candidate blocks provided with the candidate block generator 530 and the second switch 440 are predicted. The candidate block signal reconstructed by adding the motion compensation prediction error signal inputted through the signal is provided to the error compensator 600.

오류 보상부(600)는 프레임 메모리(230)로부터 제공되는 이전 프레임 영상 신호에 의거하여 가산부(5401 내지 540n)에서 제공되는 복원된 후보 블록 신호들중 상관성이 가장 큰 후보블록신호를 판정하고, 이로부터 판정된 후보블록신호에 대응되는 움직임 벡터정보를 상기 움직임 예측부(240)로 제공한다.The error compensator 600 determines the candidate block signal having the highest correlation among the reconstructed candidate block signals provided by the adders 5401 to 540n based on the previous frame image signal provided from the frame memory 230, The motion vector information corresponding to the candidate block signal determined therefrom is provided to the motion predictor 240.

상기와 같이 구성된 본 발명에 따른 움직임 벡터정보에 대한 오류 복원기능을 갖는 영상 복호화기의 구체적인 동작에 대하여 상세하게 설명한다.A detailed operation of an image decoder having an error reconstruction function for motion vector information configured as described above will be described in detail.

우선, 정상적인 움직임 벡터정보가 수신된다고 가정하고 다음을 설명한다.First, assuming that normal motion vector information is received, the following will be described.

도면 2에 도시된 (a) 및 (b)를 참조하면, 도면 2의 (a)에 도시된 움직임 벡터정보를 나타내는 비트[ 0 1 0 1 1 0 0 ]가 홀수값인지 짝수값인지를 먼저 체크하게된다. 체크 결과, 홀수값이면, 패리티 비트(X)가 0 이 되도록 한 [ 0 1 0 1 1 0 0] 비트를 부호화측으로부터 수신받게되며, 또한, 도면 2의 (b)에 도시된 움직임 벡터정보를 나타내는 비트 [ 0 1 0 1 0 0 0 ]가 홀수값인지 짝수값인지를 체크하여 짝수값이면, 패리티 비트(X)가 1 이 되도록 한 [ 0 1 0 1 0 0 0] 비트를 부호화측으로부터 수신받게 된다.Referring to (a) and (b) shown in FIG. 2, it is first checked whether the bit [0 1 0 1 1 0 0] representing the motion vector information shown in (a) of FIG. 2 is an odd value or an even value. Will be done. If the result of the check is an odd value, the parity bit (X) is set to 0 [0 1 0 1 1 0 0 ] Bit is received from the encoding side, and if the bit [0 1 0 1 0 0 0] indicating the motion vector information shown in (b) of FIG. 2 is an odd value or an even value and is an even value, Parity bit (X) equals 1 [0 1 0 1 0 0 0 ] The bit is received from the encoding side.

예컨데, 상기한 바에서 알 수 있는 바와 같이, 패리티 비트가 부가되는 움직임 벡터정보와 가변길이 부호화된 데이터를 포함하는 비트스트림을 수신버퍼(100)에서 수신받아 가변길이 부호화된 데이터는 VLD(210)로 제공하여 VLD(210)를 통해 가변길이 복호화한 후, IQ 및 IDCT(220)에 의하여 움직임 보상 예측 오차신호를 산출하여 가산부(250) 및 제2스위치(440)의 일측으로 출력한다.For example, as can be seen from the above, the variable length coded data is received from the reception buffer 100 by receiving a bitstream including motion vector information to which parity bits are added and variable length coded data is stored in the VLD 210. After variable length decoding through the VLD 210, the motion compensation prediction error signal is calculated by the IQ and the IDCT 220, and is output to one side of the adder 250 and the second switch 440.

이 때, 수신버퍼(100)에 의해 수신된 움직임 벡터정보가 오류 검출부(300)로 제공되면 오류 검출부(300)는 움직임 벡터정보 비트에 부가된 패리티 비트를 참조하여 오류 여부를 판정하게 된다. 상기에서 가정된 바와 같이, 수신버퍼(100)를 통해 수신되는 움직임 벡터정보가 정상적인 움직임 벡터정보로 판정되면, 오류 검출부(300)는 하이레벨의 로직 신호를 라인(2)상을 통해 제1 및 제2스위치(420)(440)로 제공하게된다.At this time, if the motion vector information received by the reception buffer 100 is provided to the error detector 300, the error detector 300 determines whether an error is referred to by referring to the parity bit added to the motion vector information bits. As assumed above, when the motion vector information received through the reception buffer 100 is determined to be normal motion vector information, the error detection unit 300 transmits a high level logic signal on the line 2 to the first and the second. The second switches 420 and 440 are provided.

따라서, 제1스위치(420)는 오류 검출부(300)에서 제공되는 하이레벨의 로직신호에 따라 접점(a)로 스우치 단자가 절환되어 검출된 움직임 벡터정보는 움직임 예측부(240)로 제공하게된다. 그리고, 제2스위치(440)는 오류 검출부(300)에서 제공되는 하이레벨의 로직 신호에 따라 오프로 스위치 단자가 절환되어 IQ 및 IDCT(220)로부터 제공되는 움직임보상예측 오차신호가 후보 선택부(500)의 가산부(5401 내지 540n)로 출력되는 것을 차단하게된다.Accordingly, the first switch 420 switches the Souch terminal to the contact point a according to a high level logic signal provided from the error detector 300 so that the detected motion vector information is provided to the motion predictor 240. do. In addition, the second switch 440 is switched off according to a high level logic signal provided from the error detection unit 300 so that the motion compensation prediction error signal provided from the IQ and IDCT 220 is selected as a candidate selector ( Blocking the output to the adders (5401 to 540n) of 500).

이에 따라, 움직임 예측부(240)는 프레임 메모리(230)에 저장되어 있던 이전 프레임 영상 신호와 제1스위치(420)를 통해 입력되는 움직임 벡터정보에 의거하여 이전 프레임 영상 신호로부터 움직임을 예측하고, 예측된 프레임 영상 신호는 가산부(250)로 제공된다.Accordingly, the motion predictor 240 predicts the motion from the previous frame video signal based on the previous frame video signal stored in the frame memory 230 and the motion vector information input through the first switch 420. The predicted frame image signal is provided to the adder 250.

가산부(250)는 움직임 예측부(240)에 의해서 예측된 프레임 영상 신호와 IQ 및 IDCT(220)로부터 제공되는 움직임보상예측 오차신호를 가산하여 복원되는 프레임 영상 신호를 디스플레이장치로 출력함과 동시에 프레임 메모리(230)로 제공하게된다.The adder 250 outputs the frame image signal reconstructed by adding the frame image signal predicted by the motion predictor 240 and the motion compensation prediction error signal provided from the IQ and IDCT 220 to the display device. The frame memory 230 is provided.

상기한 바와는 반대로, 비정상적(오류)인 움직임 벡터정보가 수신된다고 가정한 상태에 대하여 설명한다.In contrast to the above, a description will be given of a state that assumes that abnormal (error) motion vector information is received.

예컨데, 수신버퍼(100)는 패리티 비트가 부가되는 움직임 벡터정보와 가변길이 부호화된 데이터를 포함하는 비트스트림을 수신받아 가변길이 복호화한 다음에, 복호화된 데이터는 IQ 및 IDCT(220)로 제공하여 움직임보상예측 오차신호를 산출하여 가산부(250)와 제2스위치(440)의 일측으로 출력하고, 움직임 벡터정보는 오류 검출부(300)로 제공된다. 여기에서, 오류 검출부(300)는 움직임 벡터정보 비트에 부가된 패리트 비트에 의거하여 오류 여부를 판정하게된다.For example, the receiving buffer 100 receives the bitstream including the motion vector information to which the parity bits are added and the variable length encoded data, decodes the variable length, and then provides the decoded data to the IQ and IDCT 220. The motion compensation prediction error signal is calculated and output to one side of the adder 250 and the second switch 440, and the motion vector information is provided to the error detector 300. Here, the error detector 300 determines whether there is an error based on the parit bit added to the motion vector information bit.

도면 2의 (a) 및 (b)를 참조하면, 우선, (a)에 도시된 움직임 벡터정보를 나타내는 비트[ 0 1 0 1 1 0 0 ]가 홀수값인지 짝수값인지를 먼저 체크하게된다. 체크 결과, 홀수값이면, 패리티 비트(X)가 0 이 되도록 한 [ 0 1 0 1 1 0 0] 비트를 부호화측으로부터 수신받게되며, 또한, 도면 2의 (b)에 도시된 움직임 벡터정보를 나타내는 비트 [ 0 1 0 1 0 0 0 ]가 홀수값인지 짝수값인지를 체크하여 짝수값이면, 패리티 비트(X)가 1 이 되도록 한 [ 0 1 0 1 0 0 0] 비트를 부호화측으로부터 수신받게 된다.Referring to (a) and (b) of FIG. 2, first, it is first checked whether a bit [0 1 0 1 1 0 0] representing the motion vector information shown in (a) is an odd value or an even value. If the result of the check is an odd value, the parity bit (X) is set to 0 [0 1 0 1 1 0 0 ] Bit is received from the encoding side, and if the bit [0 1 0 1 0 0 0] indicating the motion vector information shown in (b) of FIG. 2 is an odd value or an even value and is an even value, Parity bit (X) equals 1 [0 1 0 1 0 0 0 ] The bit is received from the encoding side.

그러나, 패리티 비트(X)가 부가된 움직임 벡터정보를 나타내는 비트가 짝수값을 의미하는 경우에는 오류가 발생된 것으로 판정하게 되는 것이다.However, when a bit representing the motion vector information to which the parity bit X is added means an even value, it is determined that an error has occurred.

상기 가정된 바와같이, 비정상적인 움직임 벡터정보로 판정되면, 오류 검출부(300)는 로우레벨의 로직 신호를 라인(2)상을 통해 제1 및 제2스위치(420)(440)로 제공하게되며, 이에 따라, 제1스위치(420)는 스위치 단자를 접점(b)로 절환시켜 오류 검출부(300)에서 검출된 움직임 벡터정보를 후보 선택부(500)의 후보 생성부(510)로 제공하게된다. 그리고, 제2스위치(440)는 스위치 단자를 온으로 절환시켜 IQ 및 IDCT(220)로부터 제공되는 움직임보상예측 오차신호가 후보 선택부(500)의 가산부(5401 내지 540n)로 출력되도록 스위칭 동작을 수행한다.As assumed above, if it is determined that the abnormal motion vector information, the error detector 300 provides a low level logic signal to the first and second switches 420 and 440 on the line 2, Accordingly, the first switch 420 switches the switch terminal to the contact b to provide the motion vector information detected by the error detector 300 to the candidate generator 510 of the candidate selector 500. The second switch 440 switches the switch terminal to on so that the motion compensation prediction error signal provided from the IQ and IDCT 220 is output to the adders 5401 to 540n of the candidate selector 500. Do this.

후보 생성부(510)는 제1스위치(420)로부터 제공되는 오류가 포함된 움직임 벡터정보에 의하여 오류가 발생된 움직임 벡터정보 비트의 최상위 비트에서 최하위 비트로 한 비트씩만을 반전시켜 생성되는 후보 움직임 벡터정보들을 후보 선별부(520)로 제공하게된다.The candidate generator 510 generates a candidate motion vector generated by inverting only one bit from the most significant bit to the least significant bit of the motion vector information bit in which an error is generated by the motion vector information including the error provided from the first switch 420. Information is provided to the candidate selector 520.

도면 3의 (a) 내지 (i)를 예를들어 설명하면, 제1스위치(420)로부터 후보 생성부(510)로 입력된 비트가 도면 3의 (a)에 도시된 바와 같으면, 이에 근거하여 도면 3의 (b) 내지 (i)에 도시된 바와 같은 후보 움직임 데이터 비트를 생성하게된다.Referring to (a) to (i) of FIG. 3 as an example, if the bit input from the first switch 420 to the candidate generator 510 is as shown in (a) of FIG. The candidate motion data bits as shown in (b) to (i) of FIG. 3 are generated.

우선, 오류가 발생된 도면 3의 (a)의 비트들중 최상위 비트[ 0 ]만을 도면 3의(b)에 도시된 바와 같이 [ 1 ]로 반전시키면 이 비트들은 비오류 데이터로서 후보 움직임 데이터가 된다. 또한, 오류가 발생된 도면 3의 (a)의 비트들중 최상위 비트가 반전된 움직임 벡터중 최상위 비트의 제1하위 비트 [ 1 ]만을 도면 3의 (c)에 도시된 바와 같이 [ 0 ]으로 반전시키면 이 비트들은 비오류 데이터로서 후보 움직임 데이터가 되며, 오류가 발생된 도면 3의(a)의 비트들중 최상위비트의 제2하위 비트[ 0 ]만을 도면 3의 (d)에 도시된 바와 같이 [ 1 ]로 반전시키면 이 비트들은 비오류 데이터로서 후보 움직임 데이터가 되는 것이다.First, if only the most significant bit [0] among the bits of (a) of FIG. 3 in which an error occurs is inverted to [1] as shown in (b) of FIG. do. Also, as shown in (c) of FIG. 3, only the first lower bit [1] of the most significant bit of the motion vector in which the most significant bit of the bits of FIG. When inverted, these bits become candidate motion data as non-error data, and only the second lower bit [0] of the most significant bit among the bits of FIG. 3 (a) where an error occurs is shown in FIG. When inverted to [1], the bits become candidate motion data as non-error data.

상기와 같은 동작에 의해 후보 움직임 데이터들을 도면 3의 (b) 내지 (i)와 같이 생성되어 후보 선별부(520)로 제공된다. 후보 선별부(520)는 후보 생성부(510)로부터 제공되는 후보 움직임 벡터정보들중 화면블록범위내에 포함되는 후보 움직임 벡터정보들만을 선별하여 후보블록 발생부(530)로 제공하게된다. 여기에서 화면블록범위이라 함은 프레임 영상 신호가 디스플레이되는 소정의 크기로 한정한다.By the above operation, candidate motion data are generated as shown in FIGS. 3B to 3 and provided to the candidate selector 520. The candidate selector 520 selects only candidate motion vector information included in the screen block range among the candidate motion vector information provided from the candidate generator 510 and provides the candidate motion vector to the candidate block generator 530. Herein, the screen block range is limited to a predetermined size at which the frame video signal is displayed.

후보블록 발생부(530)는 후보 선별부(520)로부터 제공되는 선별된 후보 움직임 벡터정보들과 프레임 메모리(230)로부터의 이전 프레임 영상 신호에 의거하여 후보 움직임 벡터정보들에 대응되는 후보블록들에 대한 움직임 예측을 각기 수행한 다음에 그 결과신호를 가산부(5401 내지 540n)로 제공하게된다.The candidate block generator 530 may select candidate blocks corresponding to the candidate motion vector information based on the selected candidate motion vector information provided from the candidate selector 520 and the previous frame image signal from the frame memory 230. After performing the motion prediction for each, the resulting signal is provided to the adders 5401 to 540n.

가산부(5401 내지 540n)는 후보블록 발생부(530)로부터 움직임이 예측된 후보블록들과 제2스위치(440)를 통해 입력되는 움직임보상예측 오차신호를 가산하여 복원된 후보블록신호를 오류 보상부(600)로 제공하게된다.The adders 5401 to 540n add error candidates predicted by the candidate block generator 530 and the motion compensation prediction error signal inputted through the second switch 440 to compensate for the restored candidate block signal. Provided to the unit 600.

따라서, 오류 보상부(600)는 프레임 메모리(230)로부터 제공되는 이전 프레임 영상 신호 즉, 주변블록(오류가 발생된 상단블록과 좌측블록)에 의거하여 복원되는 후보블록 신호들중 상관성이 가장 큰 후보블록신호를 판정하고, 이로부터 판정된 후보블록신호에 대응되는 움직임 벡터정보를 움직임 예측부(240)로 제공하게된다.Therefore, the error compensator 600 has the highest correlation among the candidate block signals reconstructed based on the previous frame image signal provided from the frame memory 230, that is, the neighboring blocks (the upper block in which the error occurred and the left block). The candidate block signal is determined, and motion vector information corresponding to the determined candidate block signal is provided to the motion predictor 240.

보다 상세히 설명하면, 오류 보상부(600)는 우선, 프레임 메모리(230)로부터 제공되는 이전 프레임 영상 신호(도면 4의 참조부호 Top에 대응하여, 오류발생블록의 동일위치)와 가산부(5401)로부터 제공되는 예측된 프레임 영상 신호(예 : 도면 3의 (b))와의 자승오차의 합을 구하게된다. 그리고, 프레임 메모리(230)로부터 제공되는 이전 프레임 영상 신호(도면 4의 참조부호 L 에 대응하며, 오류발생블록의 동일위치)과 가산부(5401)로부터 제공되는 예측된 영상 프레임 신호와의 자승오차의 합을 구하게된다. 여기서 구해진 자승오차의 합 평균을 구하면, 이는 후보블록 발생부(5301)로부터 첫 변째로 제공되는 후보 데이터의 상관성에 관련된 제1정보를 얻게된다.In more detail, the error compensator 600 firstly includes a previous frame image signal provided from the frame memory 230 (corresponding to the reference numeral Top in FIG. 4, the same position of the error generating block) and the adder 5401. The sum of the squared error with the predicted frame image signal (for example, (b) of FIG. 3) provided from FIG. The square error of the previous frame image signal provided from the frame memory 230 (corresponding to reference numeral L in FIG. 4 and the same position of the error generating block) and the predicted image frame signal provided from the adder 5401. Find the sum of. If the sum average of the squared errors obtained here is obtained, this is obtained from the candidate block generator 5301 to obtain first information related to the correlation of the candidate data provided first.

또한, 오류 보상부(600)는 프레임 메모리(230)로부터 제공되는 이전 프레임 영상 신호(도면 4의 참조부호 Top에 대응하여, 오류발생블록의 동일위치)와 가산부(5402)로부터 제공되는 예측된 프레임 영상 신호(예 : 도면 3의 (b))와의 자승오차의 합을 구하게된다. 그리고, 프레임 메모리(230)로부터 제공되는 이전 프레임 영상 신호(도면 4의 참조부호 L 에 대응하며, 오류발생블록의 동일위치)와 가산부(5402)로부터 제공되는 예측된 영상 프레임 신호와의 자승오차의 합을 구하게된다. 여기서 구해진 자승오차의 합 평균을 구하면, 이는 후보블록 발생부(5301)로부터 첫 번째로 제공되는 후보 데이터의 상관성에 관련된 제1정보를 얻게된다.In addition, the error compensator 600 may include a previous frame image signal provided from the frame memory 230 (corresponding to the reference numeral Top of FIG. 4, the same position of the error generating block) and a predicted value provided from the adder 5402. The sum of squared errors with a frame image signal (e.g., (b) of FIG. 3) is obtained. The square error of the previous frame image signal provided from the frame memory 230 (corresponding to reference numeral L in FIG. 4 and the same position of the error generating block) and the predicted image frame signal provided from the adder 5402. Find the sum of. If the sum average of the squared errors obtained here is obtained, this is obtained from the candidate block generator 5301 to obtain first information related to correlation of candidate data first provided.

이와 같이 동작을 도면 3의 (i)에 도시된 데이터까지 수행하게 됨으로써, 상관성을 알 수 있는 정보들을 구할 수 있게 된다. 즉, 상기의 동작 과정을 수식화하면 다음과 같다.By performing the operation up to the data shown in (i) of FIG. 3 in this way, it is possible to obtain information that can know the correlation. That is, the above operation process is formulated as follows.

보다 상세하게는,More specifically,

여기서, Cj ERR는 오류가 발생한 블록의 j번째 DCT 계수이고, Cj T는 오류가 발생한 바로 윗 블록의 j번째 DCT 계수이고 Cj L는 오류가 발생된 블록과 오류가 발생한 바로 좌측블록과의 에러값이고, ETOTAL는 오류가 발생한 바로 윗블록(Top) 및 좌측블록(L)과의 합을 나타내는 것이다.Where C j ERR is the j th DCT coefficient of the block in which the error occurs, C j T is the j th DCT coefficient of the block immediately above the error, and C j L is the block in which the error occurred and the left block in which the error occurred. E TOTAL represents the sum of the top block (Top) and the left block (L) where the error occurred.

오류 보상부(600)는 상관성을 알 수 있는 정보들중 가장 큰 상관성을 갖는 움직임 벡터를 선택하여 라인(4)상을 통해 움직임 예측부(240)로 제공하게 된다.The error compensator 600 selects a motion vector having the largest correlation among pieces of information that can be correlated, and provides the motion vector to the motion predictor 240 through the line 4.

따라서, 움직임 예측부(240)는 프레임 메모리(230)에 저장되어 있던 이전 프레임 영상 신호와 오류 보상부(600)로부터의 움직임 벡터정보에 의거하여 움직임을 예측하고, 예측된 영상 프레임 신호를 가산부(250)로 제공함으로써 오류가 발생된 움직임 벡터를 보상할 수 있게 되는 것이다.Therefore, the motion predictor 240 predicts the motion based on the previous frame image signal stored in the frame memory 230 and the motion vector information from the error compensator 600, and adds the predicted image frame signal. By providing the reference numeral 250, the motion vector in which the error occurs can be compensated.

이상에서 설명한 바와 같이, 본 발명은 전송채널 환경등에 의해서 움직임 벡터정보에 오류 발생시 패리티 비트에 기초하여 검출하고, 이로부터 검출된 움직임 벡터정보에 대한 후보 움직임 벡터가 생성되면, 이 후보 움직임 벡터정보중 원래의 움직임 벡터정보와 가장 근접된 후보 움직임 벡터정보를 선택함으로써, 원래의 움직임 벡터정보로 정확하게 복원할 수 있는 효과가 있다.As described above, the present invention detects an error in motion vector information based on a parity bit due to a transport channel environment, and generates a candidate motion vector for the detected motion vector information. By selecting candidate motion vector information that is closest to the original motion vector information, the original motion vector information can be accurately restored.

Claims (2)

영상 부호화측에서 소정블록단위의 데이터마다 패리티 비트가 부가되는 움직임 벡터정보와 비트스트림으로 가변길이 부호화딘 데이터가 수신되면, 상기 패리티 비트에 의하여 해당 움직임 벡터정보의 오류 발생 여부를 검출하여 오류 발생한 움직임 벡터정보를 원래의 움직임 벡터정보로 복원하는 움직임 벡터정보에 대한 오류 복원 기능을 갖는 영상 복호화기에 있어서, 상기 움직임 벡터정보의 오류 발생 여부 검출 결과에 대응하는 움직임 벡터정보를 스위칭하여 출력하는 제1스위치(420); 상기 움직임 벡터정보의 오류 발생 여부 검출 결과에 따라 움직임 보상 예측 오차 신호를 선택적으로 출력하는 제2스위치(440); 상기 제1스위치(420)를 통해 출력되는 오류 발생의 움직임 벡터정보로부터 생성되는 비오류의 후보 움직임 벡터정보들중 화면블록범위내에 포함되는 후보 움직임 벡터정보들만을 선별한 후 이전 프레임 영상 신호에 의거하여 상기 선별된 후보 움직임 벡터정보 각각에 대한 움직임 예측을 수행한 결과신호와 상기 제2스위치(440)를 통해 출력되는 움직임 보상 예측 오차 신호를 가산한 결과에 따른 후보 블록 신호를 제공하는 후보 선택(500); 상기 이전 프레임 신호에 의하여 상기 후보 선택부(500)에서 제공되는 후보 블록 신호들중 상관성이 가장 큰 후보 블록 신호를 판정하고, 판정된 후보 블록 신호에 대응되는 움직임 벡터정보를 제공하는 오류 보상부(600); 상기 가변길이 부호화된 데이터에 대하여 복호화 및 역양자화, 역이산코사인변환에 따른 상기 움직임 보상 예측 오차 신호와 예측된 프레임 영상 신호를 가산하여 윈래의 영상 신호로 복원하는 복호화부(200)를 포함하되, 상기 예측된 프레임 영상 신호는 프레임 메모리에 저장되어 있는 상기 이전 프레임 영상 신호와 상기 제1스위치(420)의 스위칭 동작에 따른 움직임 벡터정보와 상기 오류 보상부(600)에서 제공되는 움직임 벡터정보에 의해서 예측되어지는 것을 특징으로 하는 특징으로 하는 움직임 벡터정보에 대한 오류 복원기능을 갖는 영상 복호화기.When the video encoding side receives the motion vector information to which the parity bit is added and the variable length coded data into the bit stream, the parity bit detects whether or not an error occurs in the motion vector information. A video decoder having an error recovery function for motion vector information for restoring vector information to original motion vector information, comprising: a first switch for switching and outputting motion vector information corresponding to an error detection result of the motion vector information; 420; A second switch 440 for selectively outputting a motion compensation prediction error signal according to a result of detecting whether an error of the motion vector information occurs; After selecting only the candidate motion vector information included in the screen block range among the non-error candidate motion vector information generated from the motion vector information of the error occurrence outputted through the first switch 420, based on the previous frame image signal Selecting a candidate block signal based on a result of performing a motion prediction on each of the selected candidate motion vector information and a motion compensation prediction error signal output through the second switch 440; 500); An error compensator for determining a candidate block signal having the largest correlation among candidate block signals provided by the candidate selector 500 based on the previous frame signal, and providing motion vector information corresponding to the determined candidate block signal ( 600); And a decoder 200 that adds the motion compensation prediction error signal and the predicted frame image signal according to decoding, inverse quantization, and inverse discrete cosine transform to the variable length coded data, and reconstructs the original image signal. The predicted frame image signal is based on the previous frame image signal stored in the frame memory, the motion vector information according to the switching operation of the first switch 420, and the motion vector information provided from the error compensator 600. An image decoder having an error reconstruction function for motion vector information, characterized in that it is predicted. 제1항에 있어서, 상기 후보 선택부(500)는, 상기 제1스위치(420)에서 제공되는 오류가 포함된 움직임 벡터정보에 의하여 오류가 발생된 움직임 벡터정보 비트의 최상위 비트에서 최하위 비트로 한 비트씩만을 반전시켜 생성한 상기 비오류의 후보 움직임 벡터정보들을 제공하는 후보 생성부(510)와, 상기 후보 생성부(510)로부터 제공되는 후보 움직임 벡터정보들중 화면블록범위내에 포함되는 후보 움직임 벡터정보들만을 선별하여 제공하는 후보 선별부(520)와, 상기 후보 선별부(520)로부터 제공되는 선별된 후보 움직임 벡터정보들과 상기 복호화부(200)에서 제공되는 이전 프레임 신호에 의거하여 상기 후보 움직임 벡터정보들에 각기 대응되는 후보 블록들에 대한 움직임 예측을 수행한 다음에 그 결과 신호를 제공하는 후보 블록 발생부(530)와, 상기 후보 블록 발생부(530)에서 제공되는 움직임이 예측된 후보 블록들과 상기 제2스위치(440)를 통해 제공되는 움직임 보상 예측 오차 신호를 가산하여 복원된 후보블록신호를 상기 오류 보상부(600)로 제공하는 가산부(541 내지 542n)로 구성되는 것을 특징으로 하는 특징으로 하는 움직임 벡터정보에 대한 오류 복원기능을 갖는 영상 복호화기.The bit selector of claim 1, wherein the candidate selector 500 sets the least significant bit from the most significant bit of the motion vector information bit in which the error is generated by the motion vector information including the error provided by the first switch 420. A candidate generator 510 for providing the non-error candidate motion vector information generated by inverting only the candidate motion; and a candidate motion vector included in a screen block range among candidate motion vector information provided from the candidate generator 510. A candidate selector 520 that selects and provides only information, the candidate motion vector information provided by the candidate selector 520, and the candidate based on a previous frame signal provided by the decoder 200. A candidate block generator 530 which performs a motion prediction on candidate blocks corresponding to the motion vector information and then provides a result signal; The candidate block signal predicted by the lock generator 530 and the motion compensation prediction error signal provided through the second switch 440 are added to the error compensator 600. And an adder (541 to 542n) provided.
KR1019960024052A 1996-06-26 1996-06-26 Image decoder having function for restructuring error of motion vector KR100229794B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960024052A KR100229794B1 (en) 1996-06-26 1996-06-26 Image decoder having function for restructuring error of motion vector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960024052A KR100229794B1 (en) 1996-06-26 1996-06-26 Image decoder having function for restructuring error of motion vector

Publications (2)

Publication Number Publication Date
KR980007730A KR980007730A (en) 1998-03-30
KR100229794B1 true KR100229794B1 (en) 1999-11-15

Family

ID=19463578

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960024052A KR100229794B1 (en) 1996-06-26 1996-06-26 Image decoder having function for restructuring error of motion vector

Country Status (1)

Country Link
KR (1) KR100229794B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100556450B1 (en) * 1998-05-28 2006-05-25 엘지전자 주식회사 Method for error restoration use of motion vector presumption in a mpeg system

Also Published As

Publication number Publication date
KR980007730A (en) 1998-03-30

Similar Documents

Publication Publication Date Title
JP3933718B2 (en) System for processing signals representing images
JP4373702B2 (en) Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, moving picture encoding program, and moving picture decoding program
US5737022A (en) Motion picture error concealment using simplified motion compensation
KR100587280B1 (en) apparatus and method for concealing error
US5886743A (en) Object-by information coding apparatus and method thereof for MPEG-4 picture instrument
JP3217987B2 (en) Video signal decoding method and encoding method
US20100232507A1 (en) Method and apparatus for encoding and decoding the compensated illumination change
US6744924B1 (en) Error concealment in a video signal
US20050002458A1 (en) Spatial scalable compression
WO2003007495A1 (en) A method and device for suspecting errors and recovering macroblock data in video coding
KR20000014401A (en) Method for hiding an error
US8259804B2 (en) Method and system for signal prediction in predictive coding
US8199817B2 (en) Method for error concealment in decoding of moving picture and decoding apparatus using the same
JP3519441B2 (en) Video transmission equipment
KR20000053028A (en) Prediction method and device with motion compensation
KR19990086428A (en) Error Recovery Method by Motion Vector Estimation
KR100632072B1 (en) Moving picture compression/coding apparatus and motion vector detection method
EP0577418B1 (en) Apparatus for motion compensation coding of digital video signal
KR100229794B1 (en) Image decoder having function for restructuring error of motion vector
KR100587274B1 (en) method for concealing error in MPEG-2 decompression system
KR100380230B1 (en) Image codec system based on multi-resolution image
JP4624308B2 (en) Moving picture decoding apparatus and moving picture decoding method
KR100209133B1 (en) Imgae decoder having functions for reconstructing error of motion vectors
JPH05103313A (en) Method and device for processing picture information
KR100213287B1 (en) Apparatus for compensating error in image decoder

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

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20130801

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee