KR100856215B1 - Method and apparatus for frame error concealment in video decoding - Google Patents

Method and apparatus for frame error concealment in video decoding Download PDF

Info

Publication number
KR100856215B1
KR100856215B1 KR1020070009975A KR20070009975A KR100856215B1 KR 100856215 B1 KR100856215 B1 KR 100856215B1 KR 1020070009975 A KR1020070009975 A KR 1020070009975A KR 20070009975 A KR20070009975 A KR 20070009975A KR 100856215 B1 KR100856215 B1 KR 100856215B1
Authority
KR
South Korea
Prior art keywords
frame
motion vector
lost
macro block
loss
Prior art date
Application number
KR1020070009975A
Other languages
Korean (ko)
Other versions
KR20080071725A (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 KR1020070009975A priority Critical patent/KR100856215B1/en
Publication of KR20080071725A publication Critical patent/KR20080071725A/en
Application granted granted Critical
Publication of KR100856215B1 publication Critical patent/KR100856215B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • H04N19/895Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder in combination with error concealment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • 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/56Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 동영상 복호화시 프레임 손실 은폐 방법에 있어서, 동영상 복호화시 입력된 프레임의 손실을 확인하는 과정과, 입력된 프레임에 손실이 발생한 경우 입력된 프레임을 매크로 블록 단위로 복원하기 위해 이전에 입력된 프레임에서 복원할 매크로 블록과 같은 위치의 매크로 블록과, 같은 위치의 매크로 블록의 상하좌우의 주변 매크로 블록들을 복원에 사용할 참조 매크로 블록으로 설정하는 과정과, 참조 매크로 블록들의 각각의 움직임 벡터를 검사하고 검사한 움직임 벡터에 미리 설정된 가중치를 적용하여 가중치 평균 움직임 벡터를 계산하는 과정과, 가중치 평균 움직임 벡터를 사용하여 손실된 매크로 블록을 복원하는 과정과, 손실된 프레임의 모든 매크로 블록을 복원하여 손실된 프레임을 대체하는 복원 프레임을 생성하는 과정을 포함한다.The present invention provides a method for concealing frame loss during video decoding, comprising: checking a loss of an input frame during video decoding, and reconstructing the input frame in macroblock units when a loss occurs in the input frame. Setting the macro block at the same position as the macro block to be restored in the frame and surrounding macro blocks up, down, left, and right of the macro block at the same position as the reference macro block to be used for restoration, and examining each motion vector of the reference macro blocks. Applying a predetermined weight to the examined motion vector, calculating a weighted average motion vector, restoring the lost macroblock using the weighted average motion vector, and restoring all the macroblocks of the lost frame Includes the process of creating a reconstructed frame to replace the frame. The.

프레임, 손실 은폐, 움직임 벡터, 매크로 블록 Frame, loss concealment, motion vector, macro block

Description

동영상 복호화시 프레임 손실의 은폐 방법 및 장치{METHOD AND APPARATUS FOR FRAME ERROR CONCEALMENT IN VIDEO DECODING}Method and apparatus for concealing frame loss in video decoding {METHOD AND APPARATUS FOR FRAME ERROR CONCEALMENT IN VIDEO DECODING}

도 1은 동영상 복호화시 프레임 에러 발생 이후의 출력되는 프레임들의 예시도1 is a diagram illustrating frames output after a frame error occurs during video decoding.

도 2는 일반적인 프레임 프리즈(Frame Freeze) 기법을 사용한 동영상 복호화시 프레임 에러 발생 이후에 출력되는 프레임들의 예시도2 is an exemplary diagram of frames output after a frame error occurs when decoding a video using a general Frame Freeze technique.

도 3은 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 장치의 블록 구성도3 is a block diagram illustrating a frame loss concealment apparatus when decoding a video according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 방법의 이전 프레임의 매크로 블록을 참조하는 방식을 보여주는 예시도4 is an exemplary view illustrating a method of referring to a macroblock of a previous frame of a frame loss concealment method when decoding a video according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 방법의 각 블록의 움직임 벡터의 가중치를 나타내는 도면FIG. 5 is a diagram illustrating weights of motion vectors of blocks in a method for concealing frame loss during video decoding according to an embodiment of the present invention; FIG.

도 6은 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 동작의 흐름도6 is a flowchart of a frame loss concealment operation when decoding a video according to an embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따른 프레임 손실 은폐 방법을 사용한 동영상 복호화시 프레임 에러 발생 이후의 출력되는 프레임들의 예시도7 is a diagram illustrating frames output after a frame error occurs when decoding a video using the frame loss concealment method according to an embodiment of the present invention.

본 발명은 동영상 복호화에 관한 기술로서, 특히 동영상 복호화시 프레임의 손실을 은폐(EC: Error Concealment)하는 방법 및 장치에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to video decoding, and more particularly, to a method and apparatus for concealing a loss of a frame (EC) during video decoding.

일반적으로 국제적인 표준으로 제정된 H.263, H.264, MPEG-4와 같은 대부분의 동영상 부호화 기술은 가변 길이 부호화(VLC: Variable Length Coding)와 공간 및 움직임 예측(spatial and motion prediction) 등의 효율적인 영상 압축 기법을 사용하고 있다. 그런데, 가변 길이 부호화 기술은 손실이 있는 채널 환경에 매우 취약하여 소수의 비트 손실에 의해서도 영상 디코딩 도중에 동기를 잃어버리게 하는 원인을 제공하며, 또한 예측 부호화 기술은 전체 영상을 통해 손실이 전파되게 만든다. 이로 인해 채널 전송, 저장 매체 기록 또는 읽기 중에 발생하는 손실은 복원된 영상의 화질 저하에 많은 영향을 끼치게 된다. In general, most video coding techniques, such as H.263, H.264, and MPEG-4, which have been established as international standards, are effective in variable length coding (VLC) and spatial and motion prediction. I am using image compression technique. However, the variable length coding technique is very vulnerable to a lossy channel environment, which causes the loss of synchronization during image decoding even by a few bit losses, and the predictive coding technique causes the loss to propagate through the entire image. As a result, the loss incurred during channel transmission, storage medium recording, or reading has a great effect on the deterioration of the restored image.

이와 같은 피할 수 없는 전송 손실에 효과적으로 대응하기 위하여 손실에 강인한 부호화 기법들에 대한 연구와 더불어, 전송 환경에서 발생하는 손실에 의한 피해를 최소화하기 위한 기법으로 손실 은폐(EC: Error Concealment) 기법이 연구되어 왔다.In order to effectively cope with such unavoidable transmission loss, loss concealment (EC) is studied as a technique to minimize the damage caused by the loss in the transmission environment. Has been.

다양한 EC 기법 중 널리 이용되는 기법은 복호기가 EC의 역할을 담당하는 후처리 기법으로 자연 이미지의 경우 공간적 또는 시간적으로 인접한 픽셀(pixel)들은 부드럽게 변화한다는 특성을 이용하여 손실된 정보를 복원하는 기법이다. 이때 손실된 블록과 이웃한 블록의 픽셀 값 또는 움직임 벡터(MV: Motion Vector)를 이용하여 손실된 블록을 화소 단위 또는 매크로 블록 단위로 복원하게 된다. 그러나 프레임 단위로 발생되는 에러의 경우에는 블록 단위의 에러와는 달리 하나의 프레임 내에 활용 가능한 정보가 없다는 문제점이 있다. 이와 같은 이유로 프레임 단위의 EC기법은 거의 전무한 실정이다. The most widely used technique is the post-processing technique in which the decoder plays the role of EC. In the case of a natural image, spatially or temporally adjacent pixels are smoothly restored to recover lost information. . At this time, the lost block is reconstructed in pixel units or macro block units by using pixel values or motion vectors (MVs) of neighboring blocks. However, in the case of an error generated in units of frames, unlike an error in units of blocks, there is a problem in that no information is available in one frame. For this reason, there are almost no EC techniques in frame units.

도 1은 동영상 복호화시 프레임 에러 발생 이후에 출력되는 프레임들의 예시도이다. 도 1을 참조하면, 손실이 발생한 프레임(Fk)과 이후에 전송되는 프레임은, 이전 프레임과의 상관관계를 이용한 압축 방식 때문에 이전 프레임의 에러가 전파되는 형태를 보여준다. 따라서 손실된 프레임은 Fk 이지만 이후에 전송된 Fk+1 , Fk+2 프레임에도 그 영향이 전달되어 실제 영상을 확인하는 것이 불가능하게 된다. 1 is a diagram illustrating frames output after a frame error occurs during video decoding. Referring to FIG. 1, a lost frame F k and a frame transmitted thereafter show a form in which an error of a previous frame is propagated due to a compression scheme using correlation with a previous frame. Therefore, the lost frame is F k, but the effect is transmitted to the later transmitted F k + 1 and F k + 2 frames, making it impossible to check the actual image.

최근 활성화 되고 있는 지상파 DMB(Digital Multimedia Broadcasting)의 동영상의 경우 H.264의 압축 방식을 이용하면서 하나의 슬라이스로 하나의 프레임을 구성하는 방법을 이용하게 된다. 슬라이스단위의 압축 방법은 에러에 강인한 특성을 갖도록 설계 된 방법이나, 하나의 슬라이스 내부에 에러가 발생할 경우 슬라이스 전체에 대한 복호가 불가능해지는 특징을 가지고 있고 이는 프레임 단위의 에러가 발생함을 의미한다. In the case of the recently activated terrestrial DMB (Digital Multimedia Broadcasting) video, one frame is composed of one slice while using H.264 compression. The slice unit compression method is designed to be robust to errors, but when an error occurs in one slice, decoding of the whole slice is impossible. This means that an error in a frame unit occurs.

하나의 슬라이스로 하나의 프레임이 구성되는 영상에서 발생되는 에러는 슬라이스 전체가 에러로 취급되기 때문에 기존의 화소 또는 블록 단위의 에러와 비교하여 동영상의 화질에 더욱 심각한 문제가 발생하게 된다. 따라서 손실된 영역이 전체 프레임이기 때문에 기존에 개발 된 블록 단위의 EC기법의 적용이 불가능한 문제점이 있다. An error generated in an image in which one frame is composed of one slice is treated as an error, and thus a more serious problem occurs in the image quality of the video compared to the existing pixel or block unit error. Therefore, there is a problem in that the previously developed block-based EC technique cannot be applied because the lost region is the entire frame.

이와 같은 이유로 인해 기존의 프레임 단위의 EC기법은 일반적으로 새로운 IDR(Instantaneous Decoding Refresh) 화면이 수신될 때까지 손실 이전의 영상을 정지 화면 형태로 출력하는 프레임 프리즈(Frame Freeze) 기법이 주로 사용되었다. For this reason, the conventional frame-based EC technique has generally used a frame freeze technique that outputs an image before loss in the form of a still image until a new instantaneous decoding refresh (IDR) screen is received.

도 2는 일반적인 프레임 프리즈(Frame Freeze) 기법을 사용한 동영상 복호화시 프레임 에러 발생 이후에 출력되는 프레임들의 예시도이다. 도 2에서와 같이 프레임 프리즈 기법은 프레임이 손실되기 이전의 올바르게 전송된 프레임을 손실된 프레임 대신 출력하게 되기 때문에 프레임 프리즈 기법은 사용자에게 영상 정보를 정확하게 전달 할 수 없는 문제점이 있으며, 다수의 프레임이 손실되어 다수의 프레임을 프레임 프리즈 기법을 사용하여 처리 할 경우 중요한 정보의 손실이 발생할 수 있다. 2 is a diagram illustrating frames output after a frame error occurs when decoding a video using a general frame freeze technique. As shown in FIG. 2, since the frame freeze technique outputs a correctly transmitted frame before the frame is lost instead of the lost frame, the frame freeze technique may not accurately deliver image information to a user. If a large number of frames are lost and processed using the frame freeze technique, important information may be lost.

본 발명은 높은 복원 효율을 얻을 수 있도록 하기 위한 동영상 복호화시 효율적인 프레임 손실 은폐 방법 및 장치를 제공하고자 한다.An object of the present invention is to provide an efficient frame loss concealment method and apparatus during video decoding to obtain high reconstruction efficiency.

이를 달성하기 위한 본 발명의 일 형태에 따르면, 본 발명은 동영상 복호화시 프레임 손실 은폐 방법에 있어서, 동영상 복호화시 입력된 프레임의 손실을 확인하는 과정과, 상기 입력된 프레임에 손실이 발생한 경우 상기 입력된 프레임을 매크로 블록 단위로 복원하기 위해 이전에 입력된 프레임에서 상기 복원할 매크로 블록과 같은 위치의 매크로 블록과, 상기 같은 위치의 매크로 블록의 상하좌우의 주변 매크로 블록들을 복원에 사용할 참조 매크로 블록으로 설정하는 과정과, 상기 참조 매크로 블록들의 각각의 움직임 벡터를 검사하고 상기 검사한 움직임 벡터에 미리 설정된 가중치를 적용하여 가중치 평균 움직임 벡터를 계산하는 과정과, 상기 가중치 평균 움직임 벡터를 사용하여 상기 손실된 매크로 블록을 복원하는 과정과, 상기 손실된 프레임의 모든 매크로 블록을 복원하여 상기 손실된 프레임을 대체하는 복원 프레임을 생성하는 과정을 포함함을 특징으로 한다.According to one embodiment of the present invention for achieving this, the present invention provides a method for concealing frame loss during video decoding, comprising: checking a loss of an input frame during video decoding; In order to restore the frame in macroblock units, the macroblock at the same position as the macroblock to be restored and the neighboring macroblocks of the upper, lower, left, and right sides of the macroblock at the same position are used as the reference macroblock in the previously input frame. And setting a weighted average motion vector by examining each motion vector of the reference macroblocks and applying a preset weight to the checked motion vector, and using the weighted average motion vector. Restoring the macro block; Restoring any macroblock to generate a reconstruction frame that replaces the lost frame.

본 발명의 다른 형태에 따르면, 본 발명은 동영상 복호화시 프레임 손실 은폐 장치에 있어서, 입력받은 부호화된 프레임의 비트 스트림을 복호화하고 복호화된 프레임에 대한 손실 발생 여부를 확인하는 프레임 복호부와; 상기 프레임 복호부로부터 받은 이전에 복호화된 이전 프레임과 현재 복호화된 현재 프레임을 일시 저장하는 버퍼부와; 프레임 손실 은폐 기능을 수행시의 각 구성을 제어하는 제어부와; 입력받은 영상 프레임의 손실시 이전에 정상적으로 수신 된 프레임을 이용하여 원본 영상과 유사한 복원 프레임을 생성하는 프레임 손실 은폐부와; 상기 버퍼부로부터 손실 없이 입력된 영상 프레임을 받아서 그대로 출력하거나, 입력된 프레임에 손실 발생시 상기 프레임 손실 은폐부에서 생성한 복원 프레임을 출력하는 출력부를 포함하며; 상기 프레임 손실 은폐부는 상기 입력된 프레임에 손실이 발생한 경우 상기 입력된 프레임을 매크로 블록 단위로 복원하기 위해 이전에 입력된 프레임에서 상기 복원할 매크로 블록과 같은 위치의 매크로 블록과, 상기 같은 위치의 매크로 블록의 상하좌우의 주변 매크로 블록들을 복원에 사용할 참조 매크로 블록으 로 설정하며, 상기 참조 매크로 블록들의 각각의 움직임 벡터를 검사하고 상기 검사한 움직임 벡터에 미리 설정된 가중치를 적용하여 가중치 평균 움직임 벡터를 계산하며, 상기 가중치 평균 움직임 벡터를 사용하여 상기 손실된 매크로 블록을 복원하며, 상기 손실된 프레임의 모든 매크로 블록을 복원하여 상기 손실된 프레임을 대체하는 복원 프레임을 생성하는 것을 특징으로 한다. According to another aspect of the present invention, there is provided a frame loss concealment apparatus for decoding a video, comprising: a frame decoder which decodes a bit stream of an input encoded frame and checks whether a loss occurs for the decoded frame; A buffer unit which temporarily stores a previously decoded previous frame and a currently decoded current frame received from the frame decoder; A control unit which controls each component when performing the frame loss concealment function; A frame loss concealment unit generating a reconstructed frame similar to the original image by using a previously received frame when the input image frame is lost; An output unit which receives an input image frame without loss from the buffer unit and outputs the image frame as it is, or outputs a reconstructed frame generated by the frame loss concealment unit when a loss occurs in the input frame; The frame loss concealment unit includes a macro block at the same position as the macro block to be restored from a previously input frame to restore the input frame in units of macro blocks when a loss occurs in the input frame, and the macro at the same position. The upper, lower, left, and right neighboring macroblocks of the block are set as reference macroblocks to be used for reconstruction, and the weighted average motion vector is calculated by examining each motion vector of the reference macroblocks and applying a preset weight to the examined motion vectors. And restoring the lost macroblock using the weighted average motion vector, and restoring all the macroblocks of the lost frame to generate a reconstructed frame replacing the lost frame.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 구성 소자 등과 같은 특정 사항들이 나타나고 있는데 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들이 본 발명의 범위 내에서 소정의 변형이나 혹은 변경이 이루어질 수 있음은 이 기술분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, specific details such as specific components are shown, which are provided to help a more general understanding of the present invention, and it is understood that these specific details may be changed or changed within the scope of the present invention. It is self-evident to those of ordinary knowledge in Esau. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

동영상 복호화시 프레임의 손실을 은폐하는 방식으로 손실된 프레임을 이전 프레임과 동일한 프레임으로 처리하여 이후에 수신되는 정상적인 정보는 계속 복호를 진행하는 방식을 고려해 볼 수 있다. 이 방식은 프레임 프리즈 기법과 비교하여 비교적 사용자에게 영상에 대한 정보를 정확하게 전달할 수는 있으나, 손상된 프레임의 이후에 출력되는 영상 프레임에도 많은 에러가 발생하게 되고, 발생된 에러는 IDR(Instantaneous Decoding Refresh) 화면이 수신될 때까지 계속 나타나게 되는 문제점이 있다. As a method of concealing the loss of a frame when decoding a video, the lost frame may be treated as the same frame as the previous frame, and the normal information received thereafter may be continuously decoded. Compared to the frame freeze method, this method can accurately convey the information about the image to the user, but many errors occur in the image frame that is output after the damaged frame, and the error is generated by Instantaneous Decoding Refresh (IDR). There is a problem that the screen continues to appear until the screen is received.

본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 기법은 정상적으로 수신된 이전의 프레임을 사용하여 현재 입력받은 손실된 프레임을 은폐하는 새로운 프레임(이하 복원 프레임이라 칭함)을 생성하여 손실된 프레임 이후의 프레임에 전파되는 오류를 최소화하여 정상적인 복호가 가능하도록 하는 방법이다.The frame loss concealment technique when decoding a video according to an embodiment of the present invention generates a new frame (hereinafter referred to as a reconstruction frame) that conceals a lost frame currently input using a previous frame normally received after the lost frame. This method minimizes the error propagated in the frame of the frame to enable normal decoding.

도 3은 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 장치의 블록 구성도이다. 도 3을 참조하면, 본 발명의 일 실시예에 따른 프레임 손실 은폐 장치는 입력받은 영상 프레임의 비트 스트림을 복호화하고 복호화된 영상 프레임의 손실 발생 여부를 확인하는 프레임 복호부(310)와, 상기 프레임 복호부로부터 받은 이전에 복호화된 이전 프레임과 현재 복호화된 현재 프레임을 일시 저장하는 버퍼부(330)와, 프레임 손실 은폐 기능을 수행시의 각 구성을 제어하는 제어부(320)와, 입력받은 영상 프레임의 손실시 이전에 정상적으로 수신 된 프레임을 이용하여 원본 영상과 유사한 복원 프레임을 생성하는 프레임 손실 은폐부(340)와, 상기 버퍼부(330)로부터 손실 없이 입력된 영상 프레임을 받아서 그대로 출력하거나 혹은 입력된 프레임에 손실 발생시 상기 프레임 손실 은폐부(340)에서 생성한 복원 프레임을 출력하는 출력부(350)를 포함한다. 3 is a block diagram of a frame loss concealment apparatus when decoding a video according to an embodiment of the present invention. Referring to FIG. 3, a frame loss concealment apparatus according to an embodiment of the present invention includes a frame decoder 310 for decoding a bit stream of an input image frame and confirming whether or not a loss of the decoded image frame occurs. A buffer unit 330 for temporarily storing a previously decoded previous frame and a current decoded current frame received from the decoder, a controller 320 for controlling each component when performing a frame loss concealment function, and an input image frame The frame loss concealment unit 340 generates a reconstructed frame similar to the original image by using a frame normally received before the loss, and receives the input image frame without loss from the buffer unit 330 and outputs it as it is or without input. And an output unit 350 for outputting a reconstructed frame generated by the frame loss concealment unit 340 when a loss occurs in the lost frame.

이하 도 3을 참조하여 프레임 손실 은폐 장치의 각 구성 및 동작에 대하여 상세히 설명하기로 한다. 영상 신호에 대한 입력 비트 스트림은 상기 프레임 복호부(310)로 입력된다. 상기 프레임 복호부(310)는 입력된 비트 스트림의 데이터를 부호화된 형식에 맞춰 복호화를 수행한다. 이러한 부호화 형식은 일반적인 국제적인 표준인 H.263, H.264, MPEG-1, MPEG-2, MPEG-3, MPEG-4 등의 방식이 될 수 있다. 상기 프레임 복호부(310)는 이러한 방식에 맞춰 프레임 복호를 수행하고, 복호된 데이터를 버퍼부(330)로 출력한다. Hereinafter, each configuration and operation of the frame loss concealment apparatus will be described in detail with reference to FIG. 3. An input bit stream for a video signal is input to the frame decoder 310. The frame decoder 310 decodes the data of the input bit stream according to an encoded format. This encoding format may be a general international standard such as H.263, H.264, MPEG-1, MPEG-2, MPEG-3, MPEG-4. The frame decoder 310 performs frame decoding according to this method, and outputs the decoded data to the buffer unit 330.

상기 버퍼부(330)는 상기 프레임 복호부(310)로부터 입력되는 영상 프레임을 저장하는 현재 프레임 저장부(331)와, 그 다음 프레임이 입력될 시 상기 현재 프레임 저장부(331)에 저장된 데이터를 입력받아 저장하는 이전 프레임 저장부(332)를 포함한다. 이러한 이전 프레임 저장부(332)에 저장된 프레임은 오류가 발생한 프레임이 발생하는 경우 이를 은폐하기 위한 자료로서 사용하기 위해 저장된다.The buffer unit 330 stores a current frame storage unit 331 for storing an image frame input from the frame decoder 310 and data stored in the current frame storage unit 331 when a next frame is input. The previous frame storage unit 332 for receiving and storing the input. The frame stored in the previous frame storage unit 332 is stored for use as data for concealing a frame in which an error occurs.

또한 상기 프레임 복호부(310)는 프레임의 복호 결과에 따른 오류 발생 신호를 생성하여 제어부(320)로 출력한다. 상기 프레임 복호 결과에 따른 상기 오류 발생 신호는 프레임 단위의 오류가 발생하여 프레임이 손실된 경우 손실된 프레임에 대한 정보를 제어부(320)로 보낸다. In addition, the frame decoder 310 generates an error generation signal according to the decoding result of the frame and outputs the signal to the controller 320. The error generation signal according to the frame decoding result transmits information about the lost frame to the controller 320 when a frame is lost due to an error in a frame unit.

상기 제어부(320)는 상기 프레임 복호부(310)로부터 수신된 프레임에 오류가 발생했다는 오류 발생 신호를 입력 받으면, 상기 버퍼부(330)와 상기 프레임 손실 은폐부(340)를 제어하여 이전 프레임의 매크로 블록을 사용하여 오류가 발생한 프레임을 대신할 복원 프레임을 생성한다. 그리고 상기 제어부(320)는 복원 프레임을 오류가 발생한 손실된 프레임과 대체하도록 제어하고, 상기 출력부(350)에서 복원 프레임을 출력하도록 제어한다. 그러나 프레임이 정상적으로 수신된 경우에는 제어부(320)는 수신된 프레임을 바로 출력하도록 제어한다. When the controller 320 receives an error generation signal indicating that an error has occurred in the frame received from the frame decoder 310, the controller 320 controls the buffer unit 330 and the frame loss concealment unit 340 to control the previous frame. Use macro blocks to create reconstructed frames to replace the failed frame. The controller 320 controls to replace the restored frame with a lost frame in which an error occurs, and outputs the restored frame from the output unit 350. However, when the frame is normally received, the controller 320 controls to directly output the received frame.

상기 이전 프레임 저장부(332)는 현재 영상 프레임을 받아서 저장하게 되는데, 만일 상기 프레임 복호부(310)에서 입력받은 프레임이 손실된 프레임일 경우에는 상기 출력부(350)에서 출력되는 오류가 은폐된 프레임 즉, 손실된 프레임의 은폐를 위하여 새롭게 생성된 복원 프레임을 저장할 수 있다. The previous frame storage unit 332 receives and stores the current image frame. If the frame input from the frame decoder 310 is a lost frame, the error output from the output unit 350 is concealed. In other words, a newly generated reconstructed frame may be stored to conceal a lost frame.

상기 프레임 손실 은폐부(340)는 입력된 프레임에 오류가 발생하여 프레임이 손실된 경우에 이전에 입력된 프레임을 참고하여 새로운 복원 프레임을 생성한다. 이하 이전에 입력된 프레임을 사용하여 새로운 복원 프레임을 생성하는 방식에 대하여 상세히 살펴보기로 한다. The frame loss concealment unit 340 generates a new reconstructed frame by referring to a previously input frame when a frame is lost due to an error in the input frame. Hereinafter, a method of generating a new reconstructed frame using a previously input frame will be described in detail.

도 4는 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 방법의 이전 프레임의 매크로 블록을 참조하는 방식을 보여주는 예시도이다. 도 4를 참조하면, 본 발명의 일 실시예에 따른 프레임 손실 은폐 방법은, 본 발명의 특징에 따라 손실된 프레임(Lost frame)의 매크로 블록을 복원하기 위하여 이전 프레임(Previous frame)의 같은 위치의 매크로 블록뿐만 아니라 같은 위치의 매크로 블록의 상하좌우의 주변 매크로 블록의 움직임 벡터를 함께 참조하여 복원하는 방식을 사용한다. 여기서 손실된 매크로 블록과 같은 위치의 매크로 블록과, 그 상하좌우의 주변 매크로 블록을 참조 매크로 블록이라고 칭한다.4 is an exemplary view illustrating a method of referring to a macroblock of a previous frame of a frame loss concealment method when decoding a video according to an embodiment of the present invention. 4, the frame loss concealment method according to an embodiment of the present invention, in order to restore the macro block of the lost frame (Lost frame) according to the feature of the present invention of the same position of the previous frame (Previous frame) In addition to the macroblock, a method of restoring by referring to the motion vectors of the surrounding macroblocks of up, down, left, and right of the macroblock at the same position is also used. Here, the macro block at the same position as the lost macro block and the surrounding macro blocks on the upper, lower, left, and right sides are referred to as reference macro blocks.

본 발명에 따른 프레임 손실 은폐 방법은 본 발명의 특징에 따라, 손실된 매크로 블록을 복원하기 위해 참조하는 이전 프레임의 참조 매크로 블록들의 움직임 벡터에 미리 설정된 가중치를 적용하여 하나의 움직임 벡터(이하 가중치 평균 움직임 벡터라고 칭함)를 구하고 상기 가중치 평균 움직임 벡터를 사용하여 손실된 매 크로 블록을 복원하게 된다. 여기서 가중치는 손실된 매크로 블록의 각 픽셀별로 다르게 적용된다. 다시 말하면 복원할 픽셀의 블록내의 위치에 따라 다르게 적용되어, 매크로 블록이 복원할 픽셀에 가까울수록 가중치를 더 많이 받게 되고, 반대로 매크로 블록이 복원할 픽셀에 멀어질수록 가중치를 덜 받게 된다. 예를 들어 손실된 매크로 블록에서 제일 왼쪽에 위치한 픽셀을 복원한다고 가정하면, 이전 프레임의 참조 매크로 블록들 중에서 가장 가까운 왼쪽 블록의 움직임 벡터의 가중치를, 오른쪽 블록의 움직임 벡터의 가중치보다 상대적으로 크게 적용하게 된다. 이하 본 발명의 일 실시예를 들어 본 발명의 특징을 상세히 살펴보기로 한다. Frame loss concealment method according to the present invention, according to a feature of the present invention, by applying a predetermined weight to the motion vector of the reference macroblocks of the previous frame to restore the lost macroblock, a motion vector (hereinafter, referred to as a weighted average) Motion block) and the weighted average motion vector is used to recover the lost macroblock. The weight is applied differently for each pixel of the lost macro block. In other words, it is applied differently according to the position in the block of the pixel to be reconstructed, so that the closer the macro block is to the pixel to be reconstructed, the higher the weight is. For example, suppose that you want to restore the leftmost pixel in a lost macro block, apply the weight of the motion vector of the closest left block among the reference macro blocks of the previous frame to be larger than the weight of the motion vector of the right block. Done. Hereinafter, the features of the present invention will be described in detail with reference to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 방법의 각 매크로 블록의 움직임 벡터의 가중치를 나타내는 도면이다. 도 5는 4x4 픽셀 단위의 블록을 사용한 본 발명의 일실시예를 나타낸다. 도 5를 참조하면, 가운데 4x4 사각형은 손실된 블록을 나타내고, 그 상하좌우에 위치한 사각형은 이전 프레임의 참조 블록을 나타낸다. 또 i와 j는 블록 내 픽셀의 위치를 나타내는데, i는 수평축을 j는 수직축을 나타내어, 제일 왼쪽 위의 픽셀을 pixel(0,0)으로 표시하고 제일 오른쪽 아래에 위치한 픽셀을 pixel(3,3)으로 표시하기로 한다. FIG. 5 is a diagram illustrating weights of motion vectors of respective macroblocks in a frame loss concealment method when decoding a video according to an embodiment of the present invention. 5 illustrates an embodiment of the present invention using a block of 4x4 pixels. Referring to FIG. 5, the center 4x4 rectangle represents a lost block, and the rectangles located on the top, bottom, left, and right sides represent the reference blocks of the previous frame. I and j represent the position of the pixel in the block, where i represents the horizontal axis and j represents the vertical axis, with the pixel at the top left as pixel (0,0) and the pixel at the bottom right as pixel (3,3 ).

본 발명의 일 실시예에 따른 프레임 손실 은폐 방법은 4x4 픽셀 단위의 블록을 사용하여 이전 프레임의 동일 위치의 참조 블록의 움직임 벡터에 15의 가중치를 적용하고, 오른쪽 참조 블록의 움직임 벡터에는 (i+1)의 가중치를 적용하고, 아래쪽 참조 블록의 움직임 벡터에는 (j+1)의 가중치를 적용하고, 왼쪽 참조 블록의 움직임 벡터에는 5-(i+1)의 가중치를 적용하고, 위쪽 참조 블록의 움직임 벡터에는 5-(j+1)의 가중치를 적용한다. In the frame loss concealment method according to an embodiment of the present invention, a weight of 15 is applied to a motion vector of a reference block at the same position of a previous frame using a block of 4x4 pixels, and (i + Apply a weight of 1), apply a weight of (j + 1) to the motion vector of the lower reference block, apply a weight of 5- (i + 1) to the motion vector of the left reference block, A weight of 5- (j + 1) is applied to the motion vector.

상기의 가중치를 나타내는 식은 i와 j값이 가지는 픽셀의 위치에 따라 가중치가 변화됨을 보여준다. 오른쪽 참조 블록의 움직임 벡터의 가중치는 i+1 이므로 i 값이 커질수록, 다시 말하면 픽셀의 위치가 오른쪽 블록에 가까워질수록 가중치가 커지는 것을 알 수 있다. 또한 반대로 왼쪽 참조 블록의 움직임 벡터의 가중치는 5-(i+1) 이므로 i 값이 작아질수록, 다시 말하면 픽셀의 위치가 왼쪽 블록에 가까워질수록 가중치가 커지는 것을 알 수 있다.The equation representing the weight shows that the weight changes according to the position of the pixel having i and j values. Since the weight of the motion vector of the right reference block is i + 1, it can be seen that as the value of i increases, that is, as the position of the pixel approaches the right block, the weight increases. On the contrary, since the weight of the motion vector of the left reference block is 5- (i + 1), the weight is increased as the value of i becomes smaller, that is, the closer the position of the pixel is to the left block.

각 픽셀별로 계산하는 가중치 평균 움직임 벡터를 수학식으로 표현하면 다음과 같다. The weighted average motion vector calculated for each pixel is expressed as follows.

Figure 112007009541965-pat00001
Figure 112007009541965-pat00001

상기 수학식에서 mvC, mvT, mvB, mvL, mvR은 각각 가운데, 위, 아래, 왼쪽 그리고 오른쪽에 위치한 참조 블록의 움직임 벡터를 의미한다. In the above equation, mv C , mv T , mv B , mv L and mv R denote motion vectors of reference blocks located at the center, top, bottom, left and right, respectively.

가중치는 실험을 통해 가장 효율적인 값으로 선택되어, 가운데 위치한 참조 블록의 움직임 벡터에 60%의 가중치를 적용하고, 나머지 40%의 가중치를 복원할 픽셀의 위치에 따라 위, 아래, 왼쪽, 오른쪽 참조 블록에 적용한다. 상기 위, 아래, 왼쪽, 오른쪽 참조 블록에 적용하는 가중치는 상기 블록들과 복원할 픽셀이 근접한 정도에 따라 더 가까운 블록에 더 많은 가중치를 적용하게 된다. The weight is chosen as the most efficient value through the experiment, applying 60% weight to the motion vector of the centered reference block, and depending on the position of the pixel to restore the remaining 40% weight, the up, down, left, and right reference blocks Applies to The weights applied to the up, down, left, and right reference blocks apply more weights to the closer blocks according to the proximity of the pixels to the blocks.

본 발명에서 사용된 매크로 블록의 손실 은폐 방법은 본 발명의 일 실시예에 서처럼 4x4 픽셀 단위의 블록에 적용이 가능하나, 4x4 픽셀 단위의 블록에 적용시와 같은 원리를 사용하여 16x16 픽셀 단위의 매크로 블록에도 적용이 가능하다. The loss concealment method of the macroblock used in the present invention can be applied to a block of 4x4 pixels as in one embodiment of the present invention, but using the same principle as applied to a block of 4x4 pixels, The same applies to macro blocks.

상기 프레임 손실 은폐부(340)는 상기에 설명한 매크로 블록 복원 방식을 손실된 프레임에 전체적으로 적용하여 모든 매크로 블록을 복원함으로서 손실된 프레임을 대체하는 복원 프레임을 생성한다. The frame loss concealment unit 340 applies the above-described macroblock restoration scheme to the lost frames as a whole to restore all macroblocks, thereby generating a restoration frame that replaces the lost frames.

도 6은 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 동작의 흐름도이다. 도 6을 참조하면, 처음 602단계에서 영상 프레임이 입력되면 604단계로 진행하여 프레임 복호부(310)에서 영상 프레임을 복호한다. 다음 606단계에서 오류 프레임이 발생 하였는지 판단하여 프레임에 오류가 발생하여 프레임이 손실되었으면 608단계로 진행하여 프레임 손실 은폐부(340)에서 이전 프레임을 사용하여 오류가 발생한 손실된 프레임을 매크로 블록 단위로 복원하여 손실된 프레임을 대체하는 복원 프레임을 생성한다. 그 후에 610단계로 진행하여 상기 복원 프레임을 출력한다. 상기 606단계에서 프레임에 오류가 발생하지 않았다면 바로 610단계로 진행하여 해당 프레임을 출력한다. 612단계에서 동작이 종료될지 판단하여 종료된다면 모든 동작을 종료하게 되고, 종료되지 않으면 602단계로 다시 진행하여 상기 동작을 반복 수행하게 된다.6 is a flowchart illustrating a frame loss concealment operation when decoding a video according to an embodiment of the present invention. Referring to FIG. 6, when an image frame is input in step 602, the process proceeds to step 604 to decode the image frame in the frame decoder 310. If the frame is lost due to an error in the frame after determining whether an error frame has occurred in step 606, the process proceeds to step 608 in which the lost frame in which the error occurred using the previous frame is framed in units of macroblocks. Reconstruct to create reconstructed frames to replace lost frames. In operation 610, the restored frame is output. If no error occurs in the frame in step 606, the process proceeds directly to step 610 and outputs the corresponding frame. If it is determined in step 612 that the operation is to be terminated, the operation is terminated. If not, the operation returns to step 602 to repeat the operation.

도 7은 본 발명의 일 실시예에 따른 프레임 손실 은폐 방법을 사용한 동영상 복호화시 프레임 에러 발생 이후에 출력되는 프레임들의 예시도이다. 도 7은 본 발명에서 제안한 방법을 이용하여 프레임 손실 이후에 에러를 복원한 영상으로 도 1과 비교하여 높은 복원효율을 보이며, 도 2의 프레임 프리즈 기법과 비교하여도 우 수한 성능을 나타냄을 알 수 있다.7 is an exemplary diagram of frames output after a frame error occurs when decoding a video using the frame loss concealment method according to an embodiment of the present invention. FIG. 7 is an image of error recovery after frame loss using the method proposed by the present invention, which shows high recovery efficiency compared to FIG. 1 and shows excellent performance compared to the frame freeze method of FIG. have.

상기와 같이 본 발명의 일 실시예에 따른 동영상 복호화시 프레임 손실 은폐 방법 및 장치의 동작 및 구성이 이루어질 수 있으며, 한편 상기한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나 여러 가지 변형이 본 발명의 범위를 벗어나지 않고 실시될 수 있다. 따라서 본 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 청구범위와 청구범위의 균등한 것에 의하여 정하여져야 할 것이다.As described above, an operation and a configuration of a method and apparatus for concealing a frame loss when decoding a video according to an embodiment of the present invention can be made. Meanwhile, in the above description of the present invention, a specific embodiment has been described. It can be carried out without departing from the scope of. Therefore, the scope of the present invention should not be defined by the described embodiments, but by the claims and equivalents of the claims.

본 발명은 동영상의 오류가 발생하여 프레임 단위로 손실이 발생할 경우 동영상의 손실을 보다 효율적으로 복원할 수 있으며, 또한 이후에 전송되는 프레임으로 오류가 전파되는 것을 막을 수 있다. According to the present invention, when a video error occurs and loss occurs on a frame-by-frame basis, the video loss can be restored more efficiently, and the error can be prevented from propagating to a frame transmitted later.

Claims (8)

동영상 복호화시 프레임 손실 은폐 방법에 있어서,In the method of concealing frame loss when decoding a video, 동영상 복호화시 입력된 프레임의 손실을 확인하는 과정과,Checking the loss of the input frame during video decoding; 상기 확인 결과 상기 입력된 프레임이 손실된 프레임인 경우 상기 손실된 프레임을 매크로 블록 단위로 복원하기 위해 각각의 매크로 블록에 대해 이전에 입력된 프레임에서 복원할 매크로 블록과 같은 위치의 매크로 블록과, 상기 같은 위치의 매크로 블록의 상하좌우의 주변 매크로 블록들을 복원에 사용할 참조 매크로 블록으로 설정하는 과정과, If the input frame is a lost frame, the macroblock at the same position as the macroblock to be restored from a frame previously input for each macroblock to restore the lost frame in units of macroblocks; Setting neighboring macroblocks on the top, bottom, left, and right sides of the same macro block as the reference macro block to be used for restoration; 상기 참조 매크로 블록들의 각각의 움직임 벡터를 검사하고 상기 검사한 움직임 벡터에 미리 설정된 가중치를 적용하여 가중치 평균 움직임 벡터를 계산하는 과정과,Checking each motion vector of the reference macroblocks and calculating a weighted average motion vector by applying a preset weight to the checked motion vector; 상기 가중치 평균 움직임 벡터를 사용하여 상기 복원할 매크로 블록을 복원하는 과정과,Restoring the macroblock to be restored using the weighted average motion vector; 상기 손실된 프레임의 모든 매크로 블록을 복원하여 상기 손실된 프레임을 대체하는 복원 프레임을 생성하는 과정을 포함함을 특징으로 하는 프레임 손실 은폐 방법.Restoring all macroblocks of the lost frame to generate a restored frame to replace the lost frame. 제 1항에 있어서, 상기 움직임 벡터에 가중치를 적용할 때, The method of claim 1, wherein when applying weights to the motion vectors, 상기 참조 매크로 블록들 중에서 상기 복원할 매크로 블록과 같은 위치의 참조 매크로 블록의 움직임 벡터에 미리 설정된 일정 비율의 가중치를 적용하고, Apply a predetermined ratio weight to a motion vector of a reference macro block at the same position as the macro block to be restored among the reference macro blocks, 나머지 가중치는 상하좌우의 참조 매크로 블록들의 움직임 벡터에, 상기 상하좌우의 참조 매크로 블록들과 복원할 픽셀의 위치와의 근접정도에 비례하여 각각 적용하는 것을 특징으로 하는 프레임 손실 은폐 방법.The remaining weights are applied to the motion vectors of the up, down, left, and right reference macro blocks in proportion to the proximity of the up, down, left, and right reference macro blocks to positions of pixels to be reconstructed. 제 2항에 있어서, 상기 복원할 매크로 블록과 같은 위치의 참조 매크로 블록의 움직임 벡터에 60%의 가중치를 적용하는 것을 특징으로 하는 프레임 손실 은폐 방법.The method of claim 2, wherein a weight of 60% is applied to a motion vector of a reference macro block at the same position as the macro block to be reconstructed. 제 1항에 있어서, 상기 입력된 프레임이 손실이 없는 프레임인 경우 상기 입력된 프레임을 그대로 출력하는 과정을 더 포함함을 특징으로 하는 프레임 손실 은폐 방법.The method of claim 1, further comprising outputting the input frame as it is when the input frame is a lossless frame. 제 1항에 있어서, 상기 매크로 블록이 4x4 픽셀 단위로 구성된 블록이면, 상기 가중치 평균 움직임 벡터는 하기 <수학식>을 사용하여 계산함을 특징으로 하는 프레임 손실 은폐 방법.The method of claim 1, wherein the weighted average motion vector is calculated using the following Equation if the macro block is a block composed of 4x4 pixels. <수학식>Equation
Figure 112007009541965-pat00002
Figure 112007009541965-pat00002
상기 수학식에서 상기 i, j는 블록 내 픽셀의 위치를 의미하며, 상기 mv(i,j)는 pixel(i,j)의 가중치 평균 움직임 벡터를 의미하고, 상기 mvC, mvT, mvB, mvL, mvR은 각각 가운데, 위, 아래, 왼쪽 그리고 오른쪽에 위치한 참조 매크로 블록의 각 움직임 벡터를 의미함.In the above equations, i and j denote positions of pixels in a block, and mv (i, j) denotes a weighted average motion vector of pixel (i, j), and mv C , mv T , mv B , mv L and mv R are the motion vectors of the reference macro block in the middle, top, bottom, left and right, respectively.
동영상 복호화시 프레임 손실 은폐 장치에 있어서,In the frame loss concealment apparatus when decoding a video, 입력받은 부호화된 프레임의 비트 스트림을 복호화하고 복호화된 프레임에 대한 손실 발생 여부를 확인하는 프레임 복호부와, A frame decoder which decodes a bit stream of an input encoded frame and checks whether a loss of the decoded frame occurs; 상기 프레임 복호부로부터 받은 이전에 복호화된 이전 프레임과 현재 복호화된 현재 프레임을 일시 저장하는 버퍼부와, A buffer unit for temporarily storing a previously decoded previous frame and a currently decoded current frame received from the frame decoder; 프레임 손실 은폐 기능을 수행시의 각 구성을 제어하는 제어부와, A control unit for controlling each component when performing the frame loss concealment function; 입력받은 영상 프레임의 손실시 이전에 정상적으로 수신 된 프레임을 이용하여 원본 영상과 유사한 복원 프레임을 생성하는 프레임 손실 은폐부와, A frame loss concealment unit for generating a reconstructed frame similar to the original image by using a previously received frame when the input image frame is lost; 상기 버퍼부로부터 손실 없이 입력된 영상 프레임을 받아서 그대로 출력하거나, 입력된 프레임에 손실 발생시 상기 프레임 손실 은폐부에서 생성한 복원 프레임을 출력하는 출력부를 포함하며,And an output unit for receiving an input image frame without loss from the buffer unit and outputting the image frame as it is or outputting a reconstructed frame generated by the frame loss concealment unit when a loss occurs in the input frame. 상기 프레임 손실 은폐부는 상기 입력된 프레임이 손실된 프레임인 경우 상기 손실된 프레임을 매크로 블록 단위로 복원하기 위해 각각의 매크로 블록에 대해 이전에 입력된 프레임에서 복원할 매크로 블록과 같은 위치의 매크로 블록과, 상기 같은 위치의 매크로 블록의 상하좌우의 주변 매크로 블록들을 복원에 사용할 참조 매크로 블록으로 설정하며, 상기 참조 매크로 블록들의 각각의 움직임 벡터를 검사하고 상기 검사한 움직임 벡터에 미리 설정된 가중치를 적용하여 가중치 평균 움직임 벡터를 계산하며, 상기 가중치 평균 움직임 벡터를 사용하여 상기 복원할 매크로 블록을 복원하며, 상기 손실된 프레임의 모든 매크로 블록을 복원하여 상기 손실된 프레임을 대체하는 복원 프레임을 생성하는 것을 특징으로 하는 프레임 손실 은폐 장치.The frame loss concealment unit may include a macro block at the same position as a macro block to be restored from a previously input frame for each macro block to restore the lost frame in units of macro blocks when the input frame is a lost frame; The upper, lower, left, and right peripheral macroblocks of the same macroblock are set as reference macroblocks to be used for reconstruction, and each motion vector of the reference macroblocks is examined and weighted by applying a preset weight to the examined motion vectors. Calculating an average motion vector, restoring the macroblock to be restored using the weighted average motion vector, and restoring all the macroblocks of the lost frame to generate a recovery frame replacing the lost frame; Frame loss concealment device. 제 6항에 있어서, 상기 버퍼부는 상기 프레임 복호부로부터 수신되는 상기 현재 프레임을 저장하는 현재 프레임 저장부와, 상기 이전 프레임들을 저장하는 이전 프레임 저장부를 포함함을 특징으로 하는 프레임 손실 은폐 장치.7. The apparatus of claim 6, wherein the buffer unit comprises a current frame storage unit for storing the current frame received from the frame decoder, and a previous frame storage unit for storing the previous frames. 제 6항에 있어서, 상기 제어부는 프레임이 정상적으로 수신된 경우에는 수신된 프레임을 바로 출력하도록 제어함을 특징으로 하는 프레임 손실 은폐 장치.The apparatus of claim 6, wherein the controller controls to output the received frame immediately when the frame is normally received.
KR1020070009975A 2007-01-31 2007-01-31 Method and apparatus for frame error concealment in video decoding KR100856215B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070009975A KR100856215B1 (en) 2007-01-31 2007-01-31 Method and apparatus for frame error concealment in video decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070009975A KR100856215B1 (en) 2007-01-31 2007-01-31 Method and apparatus for frame error concealment in video decoding

Publications (2)

Publication Number Publication Date
KR20080071725A KR20080071725A (en) 2008-08-05
KR100856215B1 true KR100856215B1 (en) 2008-09-03

Family

ID=39882346

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070009975A KR100856215B1 (en) 2007-01-31 2007-01-31 Method and apparatus for frame error concealment in video decoding

Country Status (1)

Country Link
KR (1) KR100856215B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10158889B2 (en) * 2015-01-31 2018-12-18 Intel Corporation Replaying old packets for concealing video decoding errors and video decoding latency adjustment based on wireless link conditions

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980051713A (en) * 1996-12-23 1998-09-25 배순훈 Method and apparatus for error concealment of transmitted video signal
KR20010010753A (en) * 1999-07-22 2001-02-15 구자홍 method for concealing error in MPEG-2 decompression system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980051713A (en) * 1996-12-23 1998-09-25 배순훈 Method and apparatus for error concealment of transmitted video signal
KR20010010753A (en) * 1999-07-22 2001-02-15 구자홍 method for concealing error in MPEG-2 decompression system

Also Published As

Publication number Publication date
KR20080071725A (en) 2008-08-05

Similar Documents

Publication Publication Date Title
KR100888962B1 (en) Method for encoding and decoding video signal
KR100667806B1 (en) Method and apparatus for video encoding and decoding
KR100886191B1 (en) Method for decoding an image block
US9300956B2 (en) Method and apparatus for redundant video encoding
KR100885443B1 (en) Method for decoding a video signal encoded in inter-layer prediction manner
KR101640872B1 (en) Moving image prediction encoding device, moving image prediction encoding method, moving image prediction encoding program, moving image prediction decoding device, movign image prediction decoding method, and moving image prediction decoding program
EP1469681A1 (en) Image coding method and apparatus and image decoding method and apparatus
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
KR20060063613A (en) Method for scalably encoding and decoding video signal
US8428131B2 (en) Video encoder and decoder using region based coding and decoding techniques with sequential refresh
KR20060109248A (en) Method and apparatus for processing information of an intra-mode block on encoding/decoding of a video signal
KR20060105409A (en) Method for scalably encoding and decoding video signal
KR20090053169A (en) Method and apparatus for selectively error concealment of video frame
KR100827091B1 (en) Method and apparatus?for video decoding error concealment
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
KR100587274B1 (en) method for concealing error in MPEG-2 decompression system
KR100856215B1 (en) Method and apparatus for frame error concealment in video decoding
KR100860689B1 (en) Method and apparatus?for frame error concealment in video decoding
KR20060059773A (en) Method and apparatus for encoding/decoding video signal using vectors of pictures in a base layer
JP4909592B2 (en) Moving picture reproduction method, apparatus, and program
JP4239894B2 (en) Image encoding apparatus and image decoding apparatus
KR100827094B1 (en) Method and apparatus for video decoding error concealment

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

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20130730

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20140730

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20150730

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20160728

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20170728

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee