KR100587274B1 - method for concealing error in MPEG-2 decompression system - Google Patents

method for concealing error in MPEG-2 decompression system Download PDF

Info

Publication number
KR100587274B1
KR100587274B1 KR1019990029808A KR19990029808A KR100587274B1 KR 100587274 B1 KR100587274 B1 KR 100587274B1 KR 1019990029808 A KR1019990029808 A KR 1019990029808A KR 19990029808 A KR19990029808 A KR 19990029808A KR 100587274 B1 KR100587274 B1 KR 100587274B1
Authority
KR
South Korea
Prior art keywords
lost
motion vector
subblocks
error
block
Prior art date
Application number
KR1019990029808A
Other languages
Korean (ko)
Other versions
KR20010010753A (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 KR1019990029808A priority Critical patent/KR100587274B1/en
Priority to US09/616,888 priority patent/US6754278B1/en
Publication of KR20010010753A publication Critical patent/KR20010010753A/en
Application granted granted Critical
Publication of KR100587274B1 publication Critical patent/KR100587274B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66CCRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
    • B66C23/00Cranes comprising essentially a beam, boom, or triangular structure acting as a cantilever and mounted for translatory of swinging movements in vertical or horizontal planes or a combination of such movements, e.g. jib-cranes, derricks, tower cranes
    • B66C23/62Constructional features or details
    • B66C23/72Counterweights or supports for balancing lifting couples
    • B66C23/78Supports, e.g. outriggers, for mobile cranes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66CCRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
    • B66C2700/00Cranes
    • B66C2700/03Cranes with arms or jibs; Multiple cranes
    • B66C2700/0321Travelling cranes
    • B66C2700/0357Cranes on road or off-road vehicles, on trailers or towed vehicles; Cranes on wheels or crane-trucks
    • B66C2700/0378Construction details related to the travelling, to the supporting of the crane or to the blocking of the axles; Outriggers; Coupling of the travelling mechamism to the crane mechanism

Abstract

본 발명은 손실된 매크로 블록의 주변 블록을 공유하도록 다수개의 서브 블록을 정의한 후 각각의 움직임 벡터를 추정한 후 서브 블록과 움직임 보상된 이전 프레임내 서브 블록의 차이값에 따른 가중치(w)를 부여하여 손실된 블록의 움직임 벡터를 결정하여 손실된 블록을 복원하도록 하기 위한 엠펙-2 압축복원시스템에서의 오류 은폐방법을 제공하기 위한 것으로서, 슬라이스 단위로 에러가 발생할 경우 손실된 매크로 블록의 위, 아래 매크로 블록을 다수개의 서브 블록으로 정의한 후 에러를 복원하는 엠펙-2 압축복원시스템에서의 오류 은폐방법에 있어서, 상기 손실된 매크로 블록의 위, 아래 매크로 블록 각각의 왼쪽, 오른쪽 매크로 블록과 상기 손실된 매크로 블록을 각각 포함하는 소정 크기의 서브 블록을 다수개를 정의하여 움직임 벡터를 구하는 단계와, 상기 다수개의 서브 블록과 서브 블록과 움직임 보상된 이전 프레임내 서브 블록간의 차이값을 각각 구한 후 그 결과에 따라 소정 가중치(w)를 설정하는 단계와, 상기 다수개의 서브 블록 각각의 움직임 벡터와 가중치(w)를 곱한 후 총 합을 상기 손실된 블록의 움직임 벡터로 결정하는 단계와, 상기 결정된 움직임 벡터로 이전 매크로 블록을 탐색하여 동영상을 복원하는 단계를 포함하여 이루어지며, 손실된 매크로 블록의 주변 블록을 공유하도록 다수개의 서브 블록을 정의하여 각각의 움직임 벡터를 추정함으로써 다음 손실된 블록의 복원시 수행 시간을 반으로 줄일 수 있으며, 실제 위치의 블록의 차이값에 따른 가중치(w)를 부여하여 손실된 블록의 움직임 벡터를 결정하여 보다 정확하게 손실 된 블록을 복원하도록 함으로써 시스템의 성능을 향상시킬 수 있는 효과가 있다.The present invention defines a plurality of subblocks to share the neighboring blocks of the lost macroblock, estimates each motion vector, and then assigns a weight w according to the difference between the subblock and the subblock in the motion-compensated previous frame. To provide an error concealment method in the MPEG-2 compression restoration system for determining a motion vector of a lost block by restoring the lost block, above and below a lost macro block when an error occurs in slice units. An error concealment method in an MPEG-2 compression restoration system that defines a macroblock as a plurality of subblocks and then recovers an error, the left and right macroblocks of the upper and lower macroblocks of the lost macroblock and the lost A motion vector is obtained by defining a plurality of sub-blocks each having a predetermined size including macro blocks. Obtaining a difference value between the plurality of subblocks and the subblocks and the subblocks in the motion-compensated previous frame, respectively, and setting a predetermined weight w according to the result; Determining a total sum as a motion vector of the lost block after multiplying a motion vector by a weight w, and reconstructing a moving image by searching for a previous macro block with the determined motion vector. By defining a plurality of subblocks to share the neighboring blocks of the macroblock and estimating each motion vector, the execution time can be reduced by half when the next lost block is restored. ) To determine the motion vector of the lost block and to restore the lost block more accurately. There is an effect that can improve performance.

동영상 복원Restore video

Description

엠펙­2 압축복원시스템에서의 오류 은폐방법{method for concealing error in MPEG-2 decompression system}Method for concealing error in MPEG-2 decompression system

도 1 은 화면내 오류 전파를 나타낸 도면1 is a diagram illustrating error propagation on a screen;

도 2 는 본 발명이 적용되는 엠펙-2 압축복원시스템의 일예를 나타낸 도면2 is a diagram showing an example of an MPEG-2 compression restoration system to which the present invention is applied.

도 3a 및 도 3b 는 본 발명에 따른 엠펙-2 압축복원시스템에서의 오류 은폐방법에 의한 움직임 벡터 추정방법의 일실시예를 나타낸 도면3A and 3B illustrate an embodiment of a motion vector estimation method by an error concealment method in an MPEG-2 compression restoration system according to the present invention.

본 발명은 엠펙-2 압축복원시스템에 관한 것으로, 특히 엠펙-2 압축복원시스템에서의 오류 은폐방법에 관한 것이다.The present invention relates to an MPEG-2 compression restoration system, and more particularly, to an error concealment method in an MPEG-2 compression restoration system.

최근 디지털 신호처리 기술의 발전에 힘입어 제한된 대역폭의 전송 채널을 통해 많은 양의 동영상 정보를 압축, 전송하는 방식들이 개발되어 왔다.Recently, with the development of digital signal processing technology, methods for compressing and transmitting a large amount of video information through a limited bandwidth transmission channel have been developed.

하지만 전송 채널상의 오류가 발생하면 복원 영상의 화질이 크게 저하되는 문제가 생긴다.However, if an error occurs on the transmission channel, the quality of the reconstructed image may be greatly deteriorated.

이때 제한된 대역폭을 최대한으로 이용하기 위해 오류 정정 부호를 사용하지 않고, 정상적으로 복원된 주변의 정보들로부터 잃어버린 정보를 보완하여 원영상에 가깝게 복구하는 오류 은폐 기법들이 연구되고 있다.At this time, error concealment techniques for recovering near to the original image by supplementing the lost information from the surrounding information which are normally restored without using the error correction code in order to use the limited bandwidth to the maximum have been studied.

현재 디지털 TV에 사용되고 있는 오류 은폐 기법들로는 영상 정보에 따라 연속된 프레임간의 중복된 정보를 이용하는 시간 예측 오류 은폐기법과 손실된 정보가 포함된 동일 프레임에서 공간적 중복성을 이용하는 공간 예측 은폐기법이 있다.Currently, error concealment techniques used in digital TV include temporal error concealment technique using overlapping information between consecutive frames according to image information, and spatial predictive concealment technique using spatial redundancy in the same frame including lost information.

부호화된 영상 정보에 오류가 발생할 경우 그 영향은 사용된 부호화 기법에 따라 여러 가지 다양한 형태로 나타나게 된다.If an error occurs in the encoded image information, the effect may appear in various forms depending on the encoding technique used.

특히 MPEG과 같은 경우 에러가 발생하면 다음 동기 신호인 슬라이스 헤더를 찾을 때까지의 모든 정보를 손실하게 된다.In particular, in case of MPEG, if an error occurs, all information until the next sync signal is found is lost.

또한, 움직임 보상 부호화기법을 이용하기 때문에 손상된 부분의 영향이 이후 계속된 여러 장의 프레임에 걸쳐 계속된다.In addition, since the motion compensation encoding technique is used, the influence of the damaged portion is continued over the subsequent frames.

공간 예측 은폐기법은 시간적인 중복성을 사용하지 않고 현재 프레임내의 손상되지 않은 매크로 블록들의 정보를 이용하여 손상된 매크로 블록을 보상하는 기법이다.Spatial predictive concealment is a technique that compensates for damaged macroblocks using information of intact macroblocks in the current frame without using temporal redundancy.

이때 손실 블록에 가까운 주위에 해당하는 매크로 블록으로 대치하거나 여러 가지 보간법을 사용한 오류 은폐기법들이 제안되었다.At this time, error concealment techniques have been proposed to replace macro blocks that are close to the lost block or to use various interpolation methods.

그러나, 이러한 기법의 경우 손실된 매크로 블록을 복원하기 위해서 사용될 수 있는 정보는 위와 아래의 매크로 블록 정도임으로 복원된 영상에서 선명도를 기대하기가 어렵다.In this technique, however, the information that can be used to recover lost macroblocks is about the top and bottom macroblocks, so it is difficult to expect clarity in the reconstructed image.

시간 예측 은폐기법은 연속된 영상들은 시간적으로 상관성이 있음을 이용하여 현재 프레임내에서 손실된 매크로 블록의 정보를 복원하기 위해서 여러 가지 방 법들이 제안되었다.The temporal prediction concealment technique has been proposed in order to recover the information of macroblocks lost in the current frame by using the time-correlated sequence of images.

가장 일반적인 방법으로 동일한 위치에 해당하는 이전 프레임내의 매크로 블록들의 정보로 대치한다.In the most general way, the information is replaced with information of macro blocks in a previous frame corresponding to the same position.

또한, 손상된 매크로 블록의 상하에 위치한 매크로 블록의 움직임 벡터의 평균을 취함으로 손상된 매크로 블록의 움직임 벡터를 추정할 수 있다.In addition, the motion vector of the damaged macroblock can be estimated by taking the average of the motion vectors of the macroblocks located above and below the damaged macroblock.

그러나, 단순한 대치 방법은 현재 프레임내의 손실된 매크로 블록들의 움직임들을 고려하지 않기 때문에 연속적인 두 프레임간의 움직임이 많은 경우 화질에 큰 저하를 가져올 수 있고 평균을 이용하는 방법은 주변의 매크로 블록의 움직임 벡터를 가지지 않을 때 문제가 발생한다.However, since the simple replacement method does not consider the motions of the lost macroblocks in the current frame, the motion between two successive frames can cause a significant degradation in image quality. The problem arises when you don't have it.

따라서 본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 손실된 매크로 블록의 주변 블록을 공유하도록 다수개의 서브 블록을 정의한 후 각각의 움직임 벡터를 추정한 후 서브 블록과 움직임 보상된 이전 프레임내 서브 블록의 차이값에 따른 가중치(w)를 부여하여 손실된 블록의 움직임 벡터를 결정하여 손실된 블록을 복원하도록 하기 위한 엠펙-2 압축복원시스템에서의 오류 은폐방법을 제공하는데 그 목적이 있다.Accordingly, the present invention has been made to solve the above problems, and after defining a plurality of sub-blocks to share the neighboring blocks of the lost macro block, and after estimating each motion vector, the sub-block and motion compensation in the previous frame An object of the present invention is to provide an error concealment method in an MPEG-2 compression restoration system for reconstructing a lost block by determining a motion vector of the lost block by assigning a weight w according to the difference value of the sub-blocks.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 엠펙-2 압축복원시스템에서의 오류 은폐방법의 특징은, 슬라이스 단위로 에러가 발생할 경우 손실된 매크로 블록의 위, 아래 매크로 블록을 다수개의 서브 블록으로 정의한 후 에러를 복원하 는 엠펙-2 압축복원시스템에서의 오류 은폐방법에 있어서, 상기 손실된 매크로 블록의 위, 아래 매크로 블록 각각의 왼쪽, 오른쪽 매크로 블록과 상기 손실된 매크로 블록을 각각 포함하는 소정 크기의 서브 블록을 다수개를 정의하여 움직임 벡터를 구하는 단계와, 상기 다수개의 서브 블록과 움직임 벡터를 이용하여 이전 프레임에서 가져온 서브 블록간의 차이값을 각각 구한 후 그 결과에 따라 소정 가중치(w)를 설정하는 단계와, 상기 다수개의 서브 블록 각각의 움직임 벡터와 가중치(w)를 곱한 후 총 합을 상기 손실된 블록의 움직임 벡터로 결정하는 단계와, 상기 결정된 움직임 벡터로 이전 매크로 블록을 탐색하여 동영상을 복원하는 단계를 포함하여 이루어지는데 있다.The feature of the error concealment method in the MPEG-2 compression restoration system according to the present invention for achieving the above object is that, when an error occurs in the slice unit, the upper and lower macro blocks of the lost macro block to a plurality of sub blocks In the error concealment method in the MPEG-2 compression restoration system for defining and restoring an error, a predetermined method comprising a left and a right macro block and a lost macro block of each of the upper and lower macro blocks of the lost macro block, respectively Defining a plurality of subblocks of size to obtain a motion vector, and calculating a difference value between the plurality of subblocks and the subblocks obtained from a previous frame by using the motion vectors, and according to the result, a predetermined weight (w) And multiplying the motion vectors of each of the plurality of sub-blocks by a weight (w) and adding up the total sum. Determining as a motion vector of the lost block by searching a previous macroblock by the determined motion vector is makin comprises the step of: restoring the video.

상기 다수개의 서브 블록은 상기 위, 아래 매크로 블록과 상기 위, 아래 매크로 블록의 왼쪽, 오른쪽 매크로 블록과 손실된 매크로 블록을 각각 공유하는데 다른 특징이 있다.The plurality of sub-blocks have different characteristics in sharing the up and down macro blocks, the left and right macro blocks of the up and down macro blocks, and the lost macro blocks, respectively.

상기 가중치(w)는 상기 차이값이 작으면 가중치(w)를 크게, 크면 가중치(w)를 작게 설정하는데 또다른 특징이 있다.The weight w has another feature of setting the weight w to be large when the difference value is small and the weight w to be small when the difference value is small.

본 발명은 손실된 매크로 블록의 주변 블록을 공유하도록 다수개의 서브 블록을 정의하여 각각의 움직임 벡터를 추정한 후 서브 블록과 움직임 보상된 이전 프레임내 서브 블록의 차이값에 따른 가중치(w)를 부여하여 손실된 블록의 움직임 벡터를 결정하여 보다 정확하게 손실된 블록을 복원하도록 함으로써 다음 손실된 블록의 복원시 수행 시간을 반으로 줄여 시스템의 성능을 향상시킬 수 있다.The present invention defines a plurality of subblocks to share the neighboring blocks of the lost macroblock, estimates each motion vector, and then assigns a weight w according to the difference between the subblock and the subblock in the motion-compensated previous frame. By determining the motion vector of the lost block to more accurately recover the lost block, the performance of the system can be improved by reducing the execution time in half when restoring the next lost block.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

이하, 본 발명에 따른 엠펙-2 압축복원시스템에서의 오류 은폐방법의 바람직한 실시예에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.Hereinafter, a preferred embodiment of the error concealment method in the MPEG-2 compression restoration system according to the present invention will be described with reference to the accompanying drawings.

도 1 은 화면내 오류 전파를 나타낸 도면이다.1 is a diagram illustrating error propagation in a screen.

도 2 는 본 발명이 적용되는 엠펙-2 압축복원시스템의 일예를 나타낸 도면으로, 회로 전체의 동작을 총괄적으로 제어하는 제어부(1)와, 상기 제어부(1)의 제어신호에 따라 비트 스트림(bit stream)을 복호화하는 트랜스포트 스트림 복호부(2)와, 상기 트랜스포트 스트림 복호부(2)에서 복호화된 트랜스포트 스트림을 가변 길이로 디코드한 후 에러 발생시 에러 플래그를 붙여 출력하는 가변 길이 디코더(3)와, 상기 가변 길이 디코더(3)에서 디코드된 신호를 비디오 신호로 디코드하여 메모리(5)에 저장한 후 디스플레이스부(7)를 통해 디스플레이하는 비디오 디코더(4)와, 상기 가변 길이 디코더(3)의 에러 플래그에 따라 에러를 은폐보상하는 에러 은폐부(6)로 구성된다.2 is a view showing an example of an MPEG-2 compression restoration system to which the present invention is applied, and includes a control unit 1 which collectively controls the operation of the entire circuit, and a bit stream according to a control signal of the control unit 1. a transport stream decoder 2 for decoding the stream and a variable length decoder 3 for decoding the transport stream decoded by the transport stream decoder 2 to a variable length and attaching an error flag when an error occurs. And a video decoder 4 which decodes the signal decoded by the variable length decoder 3 into a video signal and stores the decoded signal in the memory 5 and then displays it through the display unit 7 and the variable length decoder 3. And an error concealment section 6 for concealing and compensating for errors in accordance with the error flag.

도 3a 및 도 3b 는 본 발명에 따른 엠펙-2 압축복원시스템에서의 오류 은폐방법에 의한 움직임 벡터 추정방법의 일실시예를 나타낸 도면이다.3A and 3B illustrate an embodiment of a motion vector estimation method by an error concealment method in an MPEG-2 compression restoration system according to the present invention.

이와 같이 구성된 본 발명에 따른 엠펙-2 압축복원시스템에서의 오류 은폐방법에 대하여 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.The error concealment method in the MPEG-2 compression restoration system according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.

대부분의 동영상 표준화 규격에서는 영상을 도 1 에 도시된 바와 같이, 매크로 블록(macro block)이라 불리는 16*16의 크기의 블록들로 나누어 처리하고 있으며, 여러 개의 매크로 블록은 슬라이스 단위로 묶이게 된다.In most video standardization standards, an image is divided into 16 * 16 blocks called macro blocks, as shown in FIG. 1, and several macro blocks are grouped into slices.

그러므로 슬라이스 단위에서 오류가 발생하면 다음번 동기신호를 찾을 때가지 여러 개의 매크로 블록들이 연속적으로 손실된다.Therefore, if an error occurs in the slice unit, several macro blocks are continuously lost until the next synchronization signal is found.

따라서 이용 가능한 정보는 손실된 매크로 블록의 위, 아래 방향으로 근접한 매크로 블록의 정보이다.Therefore, the available information is the information of the macro block which is close in the up and down direction of the lost macro block.

이러한 손실된 블록의 에러를 복원하기 위해 도 2 에 도시된 바와 같이, 제어부(1)의 제어신호에 따라 비트스트림(Bitstream)은 수신기에서 순방향 오류 정정 부호기(forward error correction code)인 리드-솔로몬(Reed-Solomon) 등의 채널 복호기를 거친 후 에러가 발생하면 트랜스포트 스트림 디코더(2)는 상기 트랜스포트 스트림에 transport_error_indicator신호를 1로 세팅하여 출력한다.In order to recover the error of the lost block, as shown in FIG. 2, according to a control signal of the controller 1, the bitstream is a Reed-Solomon (forward error correction code) which is a forward error correction code at the receiver. If an error occurs after passing through a channel decoder such as Reed-Solomon), the transport stream decoder 2 sets and outputs a transport_error_indicator signal to 1 in the transport stream.

그러면 비디오 디코더(4)는 상기 트랜스포트 스트림 디코더(2)의 신호에 따라 sequence_error_start_code를 붙여서 비디오 스트림을 출력한다.The video decoder 4 then outputs the video stream by appending sequence_error_start_code in accordance with the signal of the transport stream decoder 2.

이에 따라 가변 길이 디코더(3)는 상기 비디오 디코더(4)의 sequence_error_start_code에 따라 트랜스포트 스트림 디코더(2)의 신호를 가변 길이로 디코드하여 에러가 발생하지 않았다면 상기 가변 길이로 디코드된 신호를 출력하고, 에러가 발생하면 가변 길이로 디코드된 신호에 에러 플러그(EF)를 붙여 출력한다.Accordingly, the variable length decoder 3 decodes the signal of the transport stream decoder 2 to a variable length according to the sequence_error_start_code of the video decoder 4 and outputs a signal decoded to the variable length if no error occurs. If an error occurs, an error plug (EF) is attached to the decoded signal of variable length and output.

즉, 가변 길이 디코더(3)는 상기 트랜스포트 스트림 복호기(2)의 신호를 가변 길이로 디코드하여 비디오 스트림내 syntax 에러나 semantic 에러가 발생하면 에러 플래그(Error_Flag)신호를 출력한다.That is, the variable length decoder 3 decodes the signal of the transport stream decoder 2 to a variable length and outputs an error flag (Error_Flag) signal when a syntax error or semantic error occurs in the video stream.

그러면 비디오 디코더(4)는 상기 가변 길이 디코더(3)에서 에러가 발생되지 않은 비디오 스트림을 디코드하여 메모리(5)에 저장하고, 에러가 발생된 비디오 스트림의 주소를 에러 데이터(ED)로 출력한다.Then, the video decoder 4 decodes the video stream in which the variable length decoder 3 does not generate an error, and stores the video stream in the memory 5, and outputs the address of the video stream in which the error occurs as error data ED. .

이에 따라 에러 은폐 유니트(6)는 상기 가변 길이 디코더(3)의 에러 플래그(EF)와 비디오 디코더(4)의 에러 데이터(ED)에 따라 상기 메모리(5)로부터 현재 프레임내에서 손실된 블록의 위치를 정상적으로 복원된 주위 블록들의 움직임 정보를 인출하여 가중치(w)를 부여한 후 손실된 블록의 움직임 벡터를 결정하여 동영상 복원을 수행한다.Accordingly, the error concealment unit 6 determines the size of the block lost in the current frame from the memory 5 according to the error flag EF of the variable length decoder 3 and the error data ED of the video decoder 4. After retrieving the motion information of the neighboring blocks whose positions are normally reconstructed, the weights w are assigned, the motion vectors of the lost blocks are determined, and video reconstruction is performed.

이렇게 오류 은폐된 비디오 스트림은 상기 비디오 디코더(4)를 통해 디코드되어 디스플레이부(7)에 디스플레이된다.The error concealed video stream is decoded by the video decoder 4 and displayed on the display unit 7.

상기 오류 은폐기법을 도 3a 및 도 3b 를 참조하여 설명하면 다음과 같다.The error concealment technique will be described below with reference to FIGS. 3A and 3B.

먼저, 도 1 에 도시된 바와 같은 위(MB1), 아래(MB2)의 매크로 블록이 모두 움직임 벡터를 가질 수 있도록 하기 위하여 도 3a 에 도시된 바와 같이, 손실된 매크로 블록의 위(MB1), 아래(MB2)의 매크로 블록을 서브 블록(STB1~STB4)으로 정의한 후 각각의 움직임 벡터(M1~M4)를 구한 후 그 평균(M1+M2+M3+M4/4)을 손실된 매크로 블록의 움직임 벡터(Vp,q)라고 추정한다.First, as shown in FIG. 3A, the upper and lower portions of the macroblocks MB1 and MB1 as shown in FIG. 1 so that all of the macro blocks above and below MB1 as shown in FIG. 1 can have a motion vector. after obtaining the each motion vector (M1 ~ M4) define the macroblock of (MB2) into sub-blocks (STB1 ~ STB4) that mean (M 1 + M 2 + M 3 + M 4/4) the lost macro It is assumed that the motion vector Vp, q of the block.

그러나 각각의 서브 블록들은 8*8 크기로써 움직임 예측을 수행하는데 상당히 많은 시간이 소요된다.However, each of the subblocks is 8 * 8 in size and it takes a lot of time to perform motion prediction.

그러므로, 도 3b 에 도시된 바와 같이, 손실된 매크로 블록의 위, 아래의 매크로 블록의 왼쪽 및 오른쪽 매크로 블록과 상기 손실된 매크로 블록을 각각 공유 하는 8*8의 서브 블록(STB1~STB4)을 다수개 정의한 후 각각의 움직임 벡터(M1~M4)를 구한다.Therefore, as shown in FIG. 3B, a plurality of 8 * 8 subblocks STB1 to STB4 each sharing the left and right macroblocks and the lost macroblocks of the above and below macroblocks of the lost macroblock, respectively. After the definition, each motion vector M1 to M4 is obtained.

이때 구한 각각의 움직임 벡터(M1~M4)중 각각 2개의 움직임 벡터(M1, M3)(M2, M4)는 다음 손실된 매크로 블록의 움직임 벡터 추정에 사용할 수 있으므로 수행 시간을 반으로 줄일 수 있다.At this time, two motion vectors M1 and M3 (M2 and M4) of the respective motion vectors M1 to M4 can be used to estimate the motion vector of the next lost macroblock, thereby reducing the execution time by half.

이후 상기 정의된 서브 블록(STB1~STB4)들의 예측 블록과 서브 블록과 움직임 벡터들(M1~M4)들 이용하여 이전 프레임에서 가져온 블록간의 차이값을 구해서 그 값이 작으면 움직임 예측이 정확한 것이라고 가정하여 가중치(w)를 크게, 차이값이 크면 가중치(w)를 작게 설정한다.Subsequently, a difference value between the prediction blocks of the defined subblocks STB1 to STB4, the subblocks, and the blocks obtained in the previous frame is obtained using the motion vectors M1 to M4. The weight w is set to be large, and the weight w is set to be small if the difference is large.

이어 상기 각각의 움직임 벡터와 가중치(w)를 곱한 후 총 합을 계산하여 이를 손실된 매크로 블록의 움직임 벡터(Vp,q)라고 결정한 후 이전 매크로 블록을 탐색하여 가장 유사한 매크로 블록을 상기 손실된 블록으로 복원한다.Next, multiply each of the motion vectors by a weight (w), calculate a total sum, determine this as the motion vector (Vp, q) of the lost macroblock, and search for a previous macroblock to find the most similar macroblock. Restore to.

그리고 상기 슬라이스 단위의 모든 손실된 블록에 따른 동영상이 복원될 때까지 상기의 과정을 반복수행한다.The above process is repeated until the video corresponding to all the lost blocks in the slice unit is restored.

이상에서 설명한 바와 같이 본 발명에 따른 엠펙-2 압축복원시스템에서의 오류 은폐방법은 다음과 같은 효과가 있다.As described above, the error concealment method in the MPEG-2 compression restoration system according to the present invention has the following effects.

첫째, 손실된 매크로 블록의 주변 블록을 공유하도록 다수개의 서브 블록을 정의하여 각각의 움직임 벡터를 추정함으로써 다음 손실된 블록의 복원시 수행 시간을 반으로 줄일 수 있다. First, by defining a plurality of sub-blocks to share neighboring blocks of the lost macro block and estimating each motion vector, it is possible to reduce the execution time at the time of restoring the next lost block.                     

둘째, 현재 프레임내 서브 블록과 움직임 보상된 이전 프레임내 서브 블록의 차이값에 따른 가중치(w)를 부여하여 손실된 블록의 움직임 벡터를 결정하여 보다 정확하게 손실된 블록을 복원하도록 함으로써 시스템의 성능을 향상시킬 수 있다.Second, the weight of the subblock in the current frame and the motion-compensated subframe in the previous frame is assigned a weight (w) to determine the motion vector of the lost block to restore the lost block more accurately. Can be improved.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다.Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

Claims (3)

슬라이스 단위로 에러가 발생할 경우 손실된 매크로 블록의 위, 아래 매크로 블록을 다수개의 서브 블록으로 정의한 후 에러를 복원하는 엠펙-2 압축복원시스템에서의 오류 은폐방법에 있어서, In the error concealment method in the MPEG-2 compression restoration system that recovers an error after defining the upper and lower macro blocks of a lost macro block as a plurality of sub blocks when an error occurs in a slice unit, 상기 손실된 매크로 블록의 위, 아래 매크로 블록 각각의 왼쪽, 오른쪽 매크로 블록과 상기 손실된 매크로 블록을 각각 포함하는 소정 크기의 서브 블록을 다수개를 정의하여 움직임 벡터를 구하는 단계와; Obtaining a motion vector by defining a plurality of left and right macroblocks of each of the above and below macroblocks of the lost macroblock and a plurality of subblocks each having a predetermined size; 상기 다수개의 서브 블록과 움직임 벡터를 이용하여 이전 프레임에서 가져온 블록간의 차이값을 각각 구한 후 그 결과에 따라 소정 가중치(w)를 설정하는 단계와; Obtaining a difference value between blocks obtained from a previous frame by using the plurality of subblocks and a motion vector, and setting a predetermined weight w according to the result; 상기 다수개의 서브 블록 각각의 움직임 벡터와 가중치(w)를 곱한 후 총 합을 상기 손실된 블록의 움직임 벡터로 결정하는 단계와; Multiplying a motion vector of each of the plurality of subblocks by a weight w and determining a total sum as a motion vector of the lost block; 상기 결정된 움직임 벡터로 이전 매크로 블록을 탐색하여 동영상을 복원하는 단계를 포함하여 구성된 것을 특징으로 하는 엠펙-2 압축복원시스템에서의 오류 은폐방법.And reconstructing a moving picture by searching for a previous macro block using the determined motion vector. 제 1 항에 있어서,The method of claim 1, 상기 다수개의 서브 블록은 상기 위, 아래 매크로 블록과 상기 위, 아래 매크로 블록의 왼쪽, 오른쪽 매크로 블록과 손실된 매크로 블록을 각각 공유함을 특 징으로 하는 엠펙-2 압축복원시스템에서의 오류 은폐방법.The plurality of sub-blocks error concealment method in the MPEG-2 compression restoration system, characterized in that each of the up and down macro block and the left and right macro block and the missing macro block of the up and down macro block, respectively. . 제 2 항에 있어서,The method of claim 2, 상기 가중치(w)는 상기 차이값이 작으면 가중치를 크게, 크면 가중치를 작게 설정함을 특징으로 하는 엠펙-2 압축복원시스템에서의 오류 은폐방법.The weight w is an error concealment method in the MPEG-2 compression restoring system, characterized in that if the difference is small, the weight is set to be large and the weight is set to be small.
KR1019990029808A 1999-07-15 1999-07-22 method for concealing error in MPEG-2 decompression system KR100587274B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019990029808A KR100587274B1 (en) 1999-07-22 1999-07-22 method for concealing error in MPEG-2 decompression system
US09/616,888 US6754278B1 (en) 1999-07-15 2000-07-14 Method for recovering moving picture by extending a damaged region in which an error occurs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990029808A KR100587274B1 (en) 1999-07-22 1999-07-22 method for concealing error in MPEG-2 decompression system

Publications (2)

Publication Number Publication Date
KR20010010753A KR20010010753A (en) 2001-02-15
KR100587274B1 true KR100587274B1 (en) 2006-06-08

Family

ID=19603741

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990029808A KR100587274B1 (en) 1999-07-15 1999-07-22 method for concealing error in MPEG-2 decompression system

Country Status (1)

Country Link
KR (1) KR100587274B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150028951A (en) * 2013-09-06 2015-03-17 엘지디스플레이 주식회사 Apparatus and method for recovering spatial motion vector

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100454526B1 (en) * 2002-01-30 2004-11-05 유철 Error concealment method of Itra coded frame by spatio-temporal information
KR20040019153A (en) * 2002-08-26 2004-03-05 엘지전자 주식회사 Error concealment method for video decoder
KR100677548B1 (en) * 2004-12-31 2007-02-02 삼성전자주식회사 Apparatus for and method of re-concealing error included in decoded image
KR100736041B1 (en) 2005-06-30 2007-07-06 삼성전자주식회사 Method and apparatus for concealing error of entire frame loss
KR100856215B1 (en) * 2007-01-31 2008-09-03 삼성전자주식회사 Method and apparatus for frame error concealment in video decoding
KR100860689B1 (en) * 2007-02-05 2008-09-26 삼성전자주식회사 Method and apparatus?for frame error concealment in video decoding

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960030694A (en) * 1995-01-23 1996-08-17 김광호 Concealed vector estimation method of macroblocks that form bit strings of video signals
KR19980053572A (en) * 1996-12-27 1998-09-25 배순훈 Bit Error Recovery Device of Motion Vector in Image Decoding System
KR19980053573A (en) * 1996-12-27 1998-09-25 배순훈 Bit Error Restoration Device for Differential Image in Image Decoding System
KR19990041461A (en) * 1997-11-21 1999-06-15 윤종용 Sub-pixel-based motion estimation method and apparatus therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960030694A (en) * 1995-01-23 1996-08-17 김광호 Concealed vector estimation method of macroblocks that form bit strings of video signals
KR19980053572A (en) * 1996-12-27 1998-09-25 배순훈 Bit Error Recovery Device of Motion Vector in Image Decoding System
KR19980053573A (en) * 1996-12-27 1998-09-25 배순훈 Bit Error Restoration Device for Differential Image in Image Decoding System
KR19990041461A (en) * 1997-11-21 1999-06-15 윤종용 Sub-pixel-based motion estimation method and apparatus therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150028951A (en) * 2013-09-06 2015-03-17 엘지디스플레이 주식회사 Apparatus and method for recovering spatial motion vector
KR102251200B1 (en) * 2013-09-06 2021-05-12 엘지디스플레이 주식회사 Apparatus and method for recovering spatial motion vector

Also Published As

Publication number Publication date
KR20010010753A (en) 2001-02-15

Similar Documents

Publication Publication Date Title
KR100587280B1 (en) apparatus and method for concealing error
US7146056B2 (en) Efficient spatial scalable compression schemes
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
KR100736041B1 (en) Method and apparatus for concealing error of entire frame loss
US7486734B2 (en) Decoding and coding method of moving image signal, and decoding and coding apparatus of moving image signal using the same
KR20060088461A (en) Method and apparatus for deriving motion vectors of macro blocks from motion vectors of pictures of base layer when encoding/decoding video signal
KR20060109249A (en) Method and apparatus for predicting motion vector of a macro block using motion vectors of a picture of base layer when encoding/decoding video signal
US20060133475A1 (en) Video coding
EP2186343B1 (en) Motion compensated projection of prediction residuals for error concealment in video data
JP3519441B2 (en) Video transmission equipment
KR100587274B1 (en) method for concealing error in MPEG-2 decompression system
KR20060069227A (en) Method and apparatus for deriving motion vectors of macro blocks from motion vectors of pictures of base layer when encoding/decoding video signal
KR100289727B1 (en) Apparatus for picture restoration and error concealment method therefor
JP4133581B2 (en) Telop synthesis device, telop synthesis method, and telop synthesis program
KR20060059773A (en) Method and apparatus for encoding/decoding video signal using vectors of pictures in a base layer
JP2007325206A (en) Apparatus and method for decoding motion picture
KR100860689B1 (en) Method and apparatus?for frame error concealment in video decoding
KR100856215B1 (en) Method and apparatus for frame error concealment in video decoding
KR100388802B1 (en) apparatus and method for concealing error
JPH07111654A (en) Moving image transmission system
JP4485409B2 (en) Video decoding device
KR100301846B1 (en) method for recovering moving picture in MPEG-2 compression/recovery system
JP4239894B2 (en) Image encoding apparatus and image decoding apparatus
KR100546507B1 (en) Method and Apparatus for Selecting Compression Modes To Reduce Transmission Error of Image Compression System for Use in Video Encoder
KR100229794B1 (en) Image decoder having function for restructuring error of motion vector

Legal Events

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

Payment date: 20120424

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130424

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee