KR100212543B1 - Method for detecting error of bit stream for intra frame in mpeg-2 algorithm - Google Patents

Method for detecting error of bit stream for intra frame in mpeg-2 algorithm Download PDF

Info

Publication number
KR100212543B1
KR100212543B1 KR1019960005392A KR19960005392A KR100212543B1 KR 100212543 B1 KR100212543 B1 KR 100212543B1 KR 1019960005392 A KR1019960005392 A KR 1019960005392A KR 19960005392 A KR19960005392 A KR 19960005392A KR 100212543 B1 KR100212543 B1 KR 100212543B1
Authority
KR
South Korea
Prior art keywords
error
bit stream
intra frame
information value
frame
Prior art date
Application number
KR1019960005392A
Other languages
Korean (ko)
Other versions
KR970064270A (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 KR1019960005392A priority Critical patent/KR100212543B1/en
Publication of KR970064270A publication Critical patent/KR970064270A/en
Application granted granted Critical
Publication of KR100212543B1 publication Critical patent/KR100212543B1/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/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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • 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

Abstract

본 발명은 영상 인트라 프레임의 비트 스트림상의 마크로 블록 데이터에 포함되는 마크로 블록 타입 정보를 이용하여 복원된 MPEG - 2 인트라 프레임의 비트 스트림에서의 에러를 효과적으로 검출할 수 있도록 한 비트 스트림에서의 에러 검출방법에 관한 것으로, 이를 위하여 본 발명은, 복호화 수단을 통해 부호화 되기 이전의 원신호로 복원된 영상 프레임의 비트 스트림이 인트라 프레임인지의 여부를 체크하고; 그 체크결과, 인트라 프레임인 것으로 판단되면 현재 입력되는 소정의 비트값을 갖는 마크로 블록 어드레스 인크리먼트에 대한 코드워드를 스킵하며; 이 스킵된 마크로 블록 어드레스 인크리먼트에 대한 코드워드 다음에 연속하여 이어지는 입력 코드워드가 마크로 블록 타입에 대한 코드워드인지를 검출하고; 이 코드워드 검출단계에서의 체크결과, 검출된 마크로 블록 타입 정보값이 상기 인트라 프레임에 상응하는 정보값인지의 여부를 체크하며; 체크결과 검출된 마크로 블록 타입 정보값이 인트라 프레임에 상응하는 정보값인 것으로 판단되면 에러신호를 발생하지 않고, 검출된 마크로 블록 타입 정보값이 인트라 프레임에 상응하는 정보값이 아닌 것으로 판단되면 에러신호를 발생하여 에러 은폐 및 복구 수단에 제공하며; 이 발생된 에러신호에 의거하여 복원된 인트라 프레임의 비트 스트림중 에러가 발생된 비트 스트림 구간에서의 에러 은폐 및 복구를 수행하는 단계를 통해 인트라 프레임의 비트 스트림에서의 에러 검출을 수행함으로써, MPEG - 2 인트라 프레임의 비트 스트림에서의 에러발생 검출 및 이를 이용한 에러 은폐 및 복구를 효과적으로 수행할 수 있는 것이다.The present invention provides an error detection method for a bit stream in which an error in a bit stream of an MPEG-2 intra frame reconstructed using macro block type information included in macro block data on a bit stream of an image intra frame can be effectively detected. To this end, the present invention is to check whether the bit stream of the video frame reconstructed to the original signal before being encoded by the decoding means is an intra frame; If it is determined that the result is an intra frame, the codeword for the macro block address increment having a predetermined bit value that is currently input is skipped; Detect whether an input codeword subsequent to the codeword for this skipped macroblock address increment is a codeword for the macroblock type; As a result of the check in this codeword detection step, it is checked whether or not the detected macroblock type information value is an information value corresponding to the intra frame; If it is determined that the detected macroblock type information value is an information value corresponding to an intra frame, an error signal is not generated. If it is determined that the detected macroblock type information value is not an information value corresponding to an intra frame, an error signal is determined. Generate to provide error concealment and recovery means; Performing error concealment and recovery in the bit stream of the intra frame by performing error concealment and recovery in the bit stream section in which the error occurred in the bit stream of the recovered intra frame based on the generated error signal. Error occurrence detection and error concealment and recovery in the bit stream of two intra frames can be effectively performed.

Description

엠팩(MPEG) - 2 인트라 프레임의 비트 스트림에서의 에러 검출 방법MPEG-Error detection method in bit stream of 2 intra frames

제1도는 본 발명에 따른 엠팩(MPEG) - 2 인트라 프레임의 비트 스트림에서의 에러 검출 방법을 적용하는 데 적합한 복호화 시스템의 개략적인 블록구성도.1 is a schematic block diagram of a decoding system suitable for applying an error detection method in a bit stream of an MPEG-2 intra frame according to the present invention.

제2도는 본 발명의 바람직한 실시예에 따라 마크로 블록에 포함되는 마크로 블록 타입 정보를 이용하여 인트라 프레임의 비트 스트림상에서 발생하는 에러를 검출하고, 그 에러 검출결과에 의거하여 에러 은폐 및 복구를 수행하는 과정을 도시한 플로우챠트.2 is a diagram for detecting an error occurring on a bit stream of an intra frame using macro block type information included in a macro block according to a preferred embodiment of the present invention, and performing error concealment and recovery based on the error detection result. Flowchart showing the process.

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

100 : 시스템 다중화 복호화 블록 200 : 영상 복호화 블록100: system multiplexed decoding block 200: video decoding block

300 : 에러 검출 블록 400 : 에러 은폐 및 복구 블록300: error detection block 400: error concealment and recovery block

500 : 프레임 메모리500: frame memory

본 발명은 고품질 텔레비젼(HDTV)의 실현이 가능한 MPEG - 2 알고리즘에 근거하여 압축 부호화된 영상신호의 복원시에 에러를 검출하는 기법에 관한 것으로, 더욱 상세하게는 수신측 영상 복호화 시스템을 통해 원신호로 복원된 MPEG - 2 인트라 프레임의 비트 스트림에서 발생 가능한 에러를 검출하는 데 적합한 에러 검출 방법에 관한 것이다.The present invention relates to a technique for detecting an error in reconstruction of a video signal encoded by compression based on an MPEG-2 algorithm capable of realizing high-definition television (HDTV). More particularly, the present invention relates to an original signal through a receiver video decoding system. An error detection method suitable for detecting a possible error in a bit stream of an MPEG-2 intra frame reconstructed as

이 기술분야에 잘 알려진 바와같이, 이산화된 영상신호의 전송은 아나로그신호보다 좋은 화질을 유지할 수 있다. 일련의 이미지 프레임 으로 구성된 영상신호가 디지탈 형태로 표현될 때, 특히 고품질 텔레비젼(HDTV)의 경우 상당한 양의 전송 데이타가 발생하게 된다. 그러나, 종래의 전송 채널의 사용가능한 주파수 영역이 제한되어 있으므로, 많은 양의 디지탈 데이타를 전송하기 위해서는 전송하고자 하는 데이타를 압축하여 그 전송량을 줄일 필요가 있다.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 composed of a series of image frames is represented in a digital form, a considerable amount of transmission data is generated, particularly in the case of high-definition television (HDTV). 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 data to be transmitted and reduce the amount of transmission.

따라서, 송신측의 부호화 시스템에서는 영상신호를 전송할 때 그 전송되는 데이타량을 줄이기 위하여 영상신호가 갖는 공간적, 시간적인 상관성을 이용하여 압축 부호화한 다음 전송채널을 통해 압축 부호화된 영상신호를 수신측의 복호화 시스템에 전송하게 된다.Therefore, in order to reduce the amount of data transmitted when transmitting a video signal, the transmitting system encodes and compresses the encoded video signal using the spatial and temporal correlation of the video signal and then compresses the encoded video signal through the transmission channel. To the decryption system.

이 기술분야에 잘 알려진 바와같이, 순차주사 (progressive scanning) 방식의 영상만을 취급하며, 전송속도가 대략 1.5 Mbps 급인 MPEG - 1 은 주로 저장 미디어용에 적합한 알고리즘이다. 이에 반해, MPEG - 2 는, 주로 통신 미디어용으로써 적합한 H.261 과 저장 미디어용으로써 적합한 MPEG - 1 의 연장선상에 있다고 볼 수 있지만, 통신, 컴퓨터, 가전 및 방송 등의 광범위한 미디오 분야로의 적용 및 정보교환이 가능한 알고리즘인 것으로, 이러한 MPEG - 2 는 상기한 MPEG - 1 과는 달리 순차주사(progressive scanning) 방식의 영상 및 비월주사(interlaced scanning)방식의 영상도 취급이 가능하다는 장점을 갖는다. 본 발명은 이와같은 MPEG - 2 알고리즘하에서 발생하는 비트 스트림에서의 에러 검출 기법에 관련된다.As is well known in the art, MPEG-1, which only handles progressive scanning images, and whose transmission rate is approximately 1.5 Mbps, is primarily suitable for storage media. In contrast, MPEG-2 is seen as an extension of H.261, which is primarily intended for communications media, and MPEG-1, which is suited for storage media, but is widely used in a wide range of media, such as communications, computers, consumer electronics, and broadcasting. It is an algorithm that can be applied and exchanged information. Unlike MPEG-1, MPEG-2 has the advantage that it can handle progressive scanning and interlaced scanning. . The present invention relates to an error detection technique in a bit stream occurring under such an MPEG-2 algorithm.

한편, 상기한 바와같은 MPEG - 1 및 MPEG - 2 알로리즘에서 영상신호를 부호화하는데 주로 이용되는 다양한 압축 기법으로서는, 확률적 부호화 기법과 시간적, 공간적 압축 기법을 결합한 하이브리드 부호화 기법이 가장 효율적인 것으로 알려져 있다.On the other hand, as the various compression techniques mainly used for encoding video signals in the MPEG-1 and MPEG-2 algorithms described above, a hybrid encoding technique combining a stochastic encoding technique and a temporal and spatial compression technique is known to be the most efficient. .

상기한 부호화 기법중의 하나인 대부분의 하이브리드 부호화 기법, 특히 MPEG - 2 알고리즘에서 이용되는 하이브리드 부호화 기법은 움직임 보상 DPCM(차분 펄스 부호 변조), 2차원 DCT(이산 코사인 변환), DCT 계수의 양자화, VLC(가변장 부호화) 등을 이용한다. 여기에서, 움직임 보상 DPCM 은 현재 프레임과 이전 프레임간의 물체의 움직임을 결정하고, 물체의 움직임에 따라 현재 프레임을 예측하여 현재 프레임과 예측치간의 차이를 나타내는 차분신호를 만들어내는 방법이다. 이러한 방법은, 예를들어 Staffan Ericsson 의 Fixed and Adaptive Predictors for Hybrid Predictive/Transform Coding, IEEE Transactions on Communication, COM-33, NO.12 (1985년, 12월), 또는 Ninomiy와 Ohtsuka의 A motion Compensated Interframe Coding Scheme for Television Pictures,IEEE Transactions on Communication, COM-30, NO.1 (1982년, 1월)에 기재되어 있다.Most of the hybrid coding schemes, one of the above-described coding schemes, in particular, the hybrid coding scheme used in the MPEG-2 algorithm, include motion compensated DPCM (differential pulse code modulation), two-dimensional discrete cosine transform (DCT), quantization of DCT coefficients, VLC (variable length coding) or the like is used. Here, the motion compensation DPCM determines a motion of the object between the current frame and the 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 prediction value. These methods are described, for example, in Staffan Ericsson's Fixed and Adaptive Predictors for Hybrid Predictive / Transform Coding, IEEE Transactions on Communication, COM-33, NO.12 (1985, December), or A motion Compensated Interframe from Ninomiy and Ohtsuka. Coding Scheme for Television Pictures, IEEE Transactions on Communication, COM-30, NO.1 (January, 1982).

따라서, 송신측에서는 영상신호를 전송할 때 상술한 바와같은 부호화 기법을 통해 블록단위 또는 화소단위로 영상신호가 갖는 공간적, 시간적인 상관성을 고려해 압축 부호화하여 출력측의 버퍼에 차례로 저장하게 되며, 이와같이 저장된 부호화된 영상데이타, 즉 비트 스트림은 채널의 요구에 부응하여 소망하는 비트 레이트로 전송채널을 통해 수신측의 복호화 시스템에 전송될 것이다.Therefore, when transmitting a video signal, the transmitting side compresses and encodes the image signal in the buffer of the output side in order by taking into account the spatial and temporal correlation of the image signal in block units or pixel units through the above-described encoding technique. The image data, i.e., the bit stream, will be transmitted to the decoding system at the receiving side via the transmission channel at the desired bit rate in response to the channel requirements.

다음에, 수신측의 복호화 시스템에서는 전송채널을 통해 수신되는 압축 부호화된 영상의 비트 스트림에 대해, IVLC, 역양자화, IDCT 등의 기법을 이용하여 압축 부호화된 영상 데이터를 부호화되기 이전의 원신호로 복원되며, 이러한 복원된 영상 비트 스트림은 전송시에 발생 가능한 전송 에러 등의 복구(recovery) 및 은폐(concealment) 과정을 거친 다음, 모니터를 통한 디스플레이를 위해 디스플레이측에 제공될 것이다. 이러한 에러 복구 및 은폐 기법의 경우, MPEG - 1 알고리즘에서는 적극적으로 제공되고 있지 않지만, MPEG - 2 알고리즘에서는 ATM(Asynchronous Transfer Mode ; 비동기 전송)모드 전송망에서 비트열이 전송되는 점을 고려하여 보다 적극적인 에러 복구 및 은폐 기법이 제공되고 있다.Next, in the decoding system on the receiving side, the bit stream of the compressed coded video received through the transport channel is converted into the original signal before the coded coded video data using a technique such as IVLC, inverse quantization, or IDCT. The recovered video bit stream may be recovered and concealed such as a transmission error that may occur during transmission, and then provided to the display side for display through a monitor. Such error recovery and concealment schemes are not actively provided by the MPEG-1 algorithm, but the MPEG-2 algorithm is more aggressive in consideration of the fact that bit strings are transmitted in an ATM (Asynchronous Transfer Mode) transmission network. Recovery and concealment techniques are provided.

한편, MPEG - 2 알고리즘을 이용하는 영상 부호화 방식에서는 영상 프레임의 비트 스트림에서 한 비트만 손상되더라도 실질적으로 복원된 영상에서의 화질열화에 큰 영향을 미칠수가 있다. 따라서, 영상 프레임의 비트 스트림상에서 에러가 발생한 부분을 검출한다는 것은, 효과적인 에러 복구 및 은폐 기법을 적용하는 데 대단히 중요한 과정이라고 할 수 있다.On the other hand, in the video encoding method using the MPEG-2 algorithm, even if only one bit is damaged in the bit stream of the video frame, it may have a significant effect on the image quality deterioration in the substantially restored picture. Therefore, detecting the occurrence of an error on the bit stream of the video frame is a very important process for applying an effective error recovery and concealment technique.

따라서, 본 발명은 상기한 점에 착안하여 안출한 것으로, 영상 인트라 프레임의 비트 스트림상의 마크로 블록 데이터에 포함되는 마크로 블록 타입 정보를 이용하여 복원된 MPEG - 2 인트라 프레임의 비트 스트림에서의 에러를 효과적으로 검출할 수 있는 복원된 비트 스트림에서의 에러 검출 방법을 제공하는 데 그 목적이 있다.Accordingly, the present invention has been devised in view of the above, and effectively avoids errors in the bit stream of the MPEG-2 intra frame reconstructed using the macro block type information included in the macro block data on the bit stream of the video intra frame. It is an object of the present invention to provide a method for detecting an error in a recovered bit stream.

상기 목적을 달성하기 위하여 본 발명은, 시스템 다중화 복호화 블록을 통해 분리되는 부호화된 MPEG - 2 인트라 프레임의 영상 비트 스트림에 대해 IVLC, 역양자와 및 IDCT 의 기법을 포함하는 복호화 수단을 이용하여 부호화되기 이전의 원신호로 복원하며, 에러 은폐 및 복구 수단을 통해 상기 복원된 인트라 프레임의 비트 스트림상에서 에러가 발생할 때 발생된 에러를 은폐 및 복구하기 위해 비트 스트림상에서의 에러신호 발생 위치를 검출하는 방법에 있어서, 상기 복원된 영상 프레임의 비트 스트림을 입력하여 해당 프레임이 인트라 프레임인지의 여부를 체크하는 단계; 상기 프레임 체크 단계에서의 체크결과, 인트라 프레임인 것으로 판단되면 현재 입력되는 소정의 비트값을 갖는 마크로 블록 어드레스 인크리먼트에 대한 코드워드를 스킵하는 단계; 상기 스킵된 마크로 블록 어드레스 인크리먼트에 대한 코드워드 다음에 연속하여 이어지는 입력 코드워드가 마크로 블록 타입에 대한 코드워드인지를 검출하는 단계; 상기 코드워드 검출 단계에서의 체크결과, 상기 검출된 마크로 블록 타입 정보값이 상기 인트라 프레임에 상응하는 정보값인지의 여부를 체크하는 단계; 상기 정보값 체크 단계에서의 체크결과, 상기 검출된 마크로 블록 타입 정보값이 상기 인트라 프레임에 상응하는 정보값인 것으로 판단되면 상기 에러신호를 발생하지 않고, 상기 검출된 마크로 블록 타입 정보값이 상기 인트라 프레임에 상응하는 정보값이 아닌 것으로 판단되면 상기 에러신호를 발생하여 상기 에러 은폐 및 복구 수단에 제공하는 단계; 및 상기 발생된 에러신호에 의거하여 상기 복원된 인트라 프레임의 비트 스트림중 에러가 발생된 비트 스트림 구간에서의 에러 은폐 및 복구를 수행하는 단계로 이루어진 MPEG - 2 인트라 프레임의 비트 스트림에서의 에러 검출 방법을 제공한다.In order to achieve the above object, the present invention is encoded using decoding means including techniques of IVLC, inverse quantum and IDCT for video bit streams of encoded MPEG-2 intra frames separated through system multiplexed decoding blocks. Restoring to the original original signal and detecting the error signal generation position on the bit stream to conceal and recover the error generated when the error occurs on the bit stream of the restored intra frame through error concealment and recovery means. The method may include: checking whether a corresponding frame is an intra frame by inputting a bit stream of the reconstructed video frame; Skipping a codeword for a macro block address increment having a predetermined bit value currently determined as an intra frame as a result of the check in the frame checking step; Detecting whether an input codeword subsequent to the codeword for the skipped macroblock address increment is a codeword for the macroblock type; Checking whether the detected macroblock type information value is an information value corresponding to the intra frame, as a result of the check in the codeword detection step; If it is determined in the information value checking step that the detected macro block type information value is an information value corresponding to the intra frame, the error signal is not generated and the detected macro block type information value is the intra signal. Generating an error signal and providing the error concealment and recovery means if it is determined that the information value is not corresponding to a frame; And performing error concealment and recovery in a bit stream section in which an error occurs in the bit stream of the restored intra frame on the basis of the generated error signal. To provide.

본 발명의 기타 목적과 여러가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로 부터 더욱 명확하게 될 것이다.Other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

이 기술분야에 잘 알려진 바와같이, MPEG - 2 의 영상 데이터 계층구조는, 시이퀀스층, GOP(group of picture)층, 픽춰층, 슬라이스층, 마크로 블록층 및 블록층으로 구성된다.As is well known in the art, the MPEG-2 video data hierarchy consists of a sequence layer, a group of picture (GOP) layer, a picture layer, a slice layer, a macro block layer and a block layer.

상기한 계층구조에 있어서, 시이퀀스층은 시이퀀스 헤더 정보와 영상 레이트 등이 동일하게 1 또는 복수개의 GOP 로 구성되고, GOP 층은 차분(에러신호)을 취하지 않고 인트라 부호화 모드에 의해 부호화된 I 픽춰(Intra coded picture), 전방 예측 부호화된 P(Predictive coded picture) 및 양방향 예측 부호화된 B 픽춰(Bidirectionally Predictive coded picture)로 구성된다.In the above hierarchical structure, the sequence layer is composed of one or a plurality of GOPs in which the sequence header information and the image rate are the same, and the GOP layer is encoded by the intra coding mode without taking a difference (error signal). It consists of an intra coded picture, a forward predictive coded picture (P), and a bidirectionally predictive coded picture (B picture).

또한, 픽춰층은 하나의 화면을 이루는 영상 프레임인 것으로, 하나 또는 복수개의 슬라이스로 구성되고, 슬라이스층은 영상의 주사선에 연이은 하나 또는 복수개의 마크로 블록으로 구성되며, 마크로 블록층은 4 개의 휘도 블록과 2 개의 색차 블록을 갖는 마크로 블록으로 구성되고 차분(에러신호)을 취하는 기준 영상 데이터인 예측 데이터로서 어떤 것을 이용하는가의 여부가 결정되는 층인 것으로, 실질적으로 이러한 마크로 블록층은 본 발명이 추구하고자 하는 영상 비트 스트림에서의 에러검출에 이용된다.In addition, the picture layer is an image frame constituting one screen, and is composed of one or a plurality of slices, and the slice layer is composed of one or a plurality of macro blocks successive to the scanning line of the image, and the macro block layer is composed of four luminance blocks. And a macro block having two color difference blocks and determining which to use as prediction data which is reference image data which takes a difference (error signal). Substantially, such a macro block layer is intended to be pursued by the present invention. It is used for error detection in the video bit stream.

보다 상세하게, 마크로 블록층내의 각 마크로 블록에 포함되는 마크로 블록 타입 정보값은 양자화 스케일에 따라 두가지 타입으로 구분되는 데, 하나는 이전의 양자화 스케일을 그대로 이용하는 경우이고, 다른 하나는 해당 마크로 블록에 대해 새로운 양자화 스케일을 적용하는 경우이다. MPEG - 2 알고리즘 권고안에서는 전자의 경우 마크로 블록 타입 정보값을 1 로 규정하고 있고, 후자의 경우 마크로 블록 타입 정보값을 1 으로 규정하고 있다. 이러한 마크로 블록층의 상세한 데이터들에 대해서는 후에 상세하게 기술될 것이다. 마지막으로, 블록층은 휘도 또는 색차로 구분된 8×8 의 라인/화소로 구성되는 데 이러한 블록은 DCT 의 단위로서 이용된다.In more detail, the macro block type information values included in each macro block in the macro block layer are classified into two types according to the quantization scale, one of which uses the previous quantization scale as it is, and the other of which corresponds to the corresponding macro block. In this case, a new quantization scale is applied. The MPEG-2 Algorithm Recommendation prescribes the macroblock type information value as 1 in the former case and macroblock type information value as 1 in the latter case. Detailed data of this macro block layer will be described later in detail. Finally, the block layer is composed of 8x8 lines / pixels separated by luminance or color difference, which block is used as a unit of DCT.

한편, 본 발명에 따라 인트라 프레임의 비트 스트림상에서 에러를 검출하는 데 이용하고자 하는 마크로 블록층은 다음과 같은 데이터 정보들을 갖는다.Meanwhile, according to the present invention, a macroblock layer to be used for detecting an error on a bit stream of an intra frame has the following data information.

1) MBE(macroblock escape) : 마크로 블록 어드레스의 Escape 코드 정보로써, MBAI 가 33 이상인 경우에만 사용되는 정보인 것으로, 11 비트의 길이를 가짐1) MBE (macroblock escape): Escape code information of the macro block address, which is used only when the MBAI is 33 or more, and has a length of 11 bits.

2) MBAI(macroblock address increment) : 이전에 스킵한 마크로 블록의 수 + 1 을 나타내는 VLC, 영상의 좌측단으로 부터 마크로 블록의 수 + 1 을 표시하는 정보인 것으로, 1-11 비트의 길이를 가지며, 인트라 프레임의 경우 반드시 1 값으로 규정됨2) MBAI (macroblock address increment): VLC indicating the number of previously skipped macro blocks + 1, information indicating the number of macro blocks + 1 from the left end of the image, having a length of 1-11 bits. In case of intra frame, it must be defined as 1

3) MBT(macroblock type) : 마크로 블록의 부호화 모드를 표시하는 VLC 부호화 정보인 것으로, 1-9 비트의 길이를 가지며, 인트라 프레임의 경우 양자화 스케일에 따라 규정된 두가지 타입( 1 또는 1 )을 가짐3) MBT (macroblock type): VLC encoding information indicating a coding mode of a macroblock, having a length of 1-9 bits, and having an intra frame having two types (1 or 1) defined according to a quantization scale.

4) STWC(spatial temporal weight code) : 시간 스케일러빌리티에서 하위계층 화면의 업샘플링 방법을 표시하는 정보인 것으로, 2 비트의 길이를 가짐4) Spatial temporal weight code (STWC): Information indicating the upsampling method of the lower layer screen in temporal scalability, and has a length of 2 bits.

5) FrMT(frame motion type) : 프레임에 대한 예측 타입 정보로써, MBT 가 예측을 사용하는 것인데 프레임 구조에서 FPFD(frame predictive frame DCT) 가 제로(0)인 경우에만 존재하는 정보인 것으로, 2 비트의 길이를 가짐5) FrMT (frame motion type): Predictive type information about a frame, MBT uses prediction, and exists only when frame predictive frame DCT (FPFD) is zero (0) in a frame structure. Has the length of

6) FiMT(field motion type) : 필드에 대한 예측 타입 정보로써, MBT 가 예측을 사용하는 것인데 FrMT 이외의 조건인 경우에 존재하는 정보인 것으로, 2 비트의 길이를 가짐6) FiMT (field motion type): As a prediction type information for a field, MBT uses prediction and exists in the case of conditions other than FrMT, and has a length of 2 bits.

7) DT(DCT type) : DCT 가 프레임 모드인지 필드 모드인지를 표시하는 정보로써, DCT 데이터가 존재할 때만 부가되는 정보인 것으로, 1 비트의 길이를 가짐7) DT (DCT type): Information indicating whether the DCT is in the frame mode or the field mode. The information is added only when the DCT data is present and has a length of 1 bit.

8) QSC(quantizer scale code) : 마크로 블록의 양자화 스텝 사이즈 정보인 것으로, 5 비트의 길이를 가짐8) QSC (quantizer scale code): Information about the quantization step size of a macro block, and has a length of 5 bits.

9) MVFS(motion vertical field select) : 필드 예측의 경우 참조 영상의 어느 필드로 부터 예측하는가를 표시하는 정보인 것으로, 1 비트의 길이를 가짐9) MVFS (motion vertical field select): In case of field prediction, information indicating which field of a reference image is predicted from and has a length of 1 bit.

10) MHC(motion horizontal code) : 마크로 블록에 대한 움직임 벡터의 수평성분과 이전의 움직임 벡터와의 차분을 VLC 로 부호화한 것을 나타내는 정보인 것으로, 1-11 비트의 길이를 가짐10) MHC (motion horizontal code): Information indicating that the difference between the horizontal component of the motion vector for the macroblock and the previous motion vector is encoded by VLC, and has a length of 1-11 bits.

11) MHr(motion horizontal r) : MHC 와 함께 사용되는 정보인 것으로, 1-8 비트의 길이를 가짐11) MHr (motion horizontal r): Information used with MHC and has a length of 1-8 bits.

12) DH(DMV horizontal) : 듀얼 프라임 예측의 경우 수평 차분 벡터를 나타내는 VLC 정보인 것으로, 1-2 비트의 길이를 가짐12) DH (DMV horizontal): In the case of dual prime prediction, this is VLC information indicating a horizontal difference vector and has a length of 1-2 bits.

13) MVC(motion vertical code) : 마크로 블록에 대한 움직임 벡터의 수직성분과 이전 움직임 벡터와의 차분을 VLC 로 부호화한 것을 나타내는 정보인 것으로, 1-11 비트의 길이를 가짐13) MVC (motion vertical code): Information indicating that the difference between the vertical component of the motion vector for the macroblock and the previous motion vector is encoded by VLC, and has a length of 1-11 bits.

14) MVr(motion vertical r) : MVC 와 함께 사용되는 정보인 것으로, 1-8 비트의 길이를 가짐14) MVr (motion vertical r): Information used with MVC and has a length of 1-8 bits.

15) DV(DMV vertical) : 듀얼 프라임 예측의 경우 수직 차분 벡터를 표시하는 VLC 정보인 것으로, 1-2 비트의 길이를 가짐15) DV (DMV vertical): In the case of dual prime prediction, this is VLC information indicating a vertical difference vector and has a length of 1-2 bits.

16) CBP(coded block pattern) 420 : 색차 포맷이 4 : 2 : 0 인 경우의 CBP 정보를 나타내는 것으로, 3-9 비트의 길이를 가짐16) CBP (coded block pattern) 420: Indicates CBP information when the color difference format is 4: 2: 0, and has a length of 3-9 bits.

17) CBP 1(coded block pattern 1) : 색차 포맷이 4 : 2 : 2 인 경우에 CBP 420 에 부가하는 정보인 것으로, 2 비트의 길이를 가짐17) CBP 1 (coded block pattern 1): Information added to CBP 420 when the color difference format is 4: 2: 2, and has a length of 2 bits.

18) CBP 2(coded block pattern 2) : 색차 포맷이 4 : 4 : 4 인 경우에 CBP 420 에 부가하는 정보인 것으로, 6 비트의 길이를 가짐18) CBP 2 (coded block pattern 2): Information added to CBP 420 when the color difference format is 4: 4: 4, and has a length of 6 bits.

다음에, 상술한 바와같은 데이터 정보들을 갖는 마크로 블록층의 특정 정보를 이용하여 본 발명에 따라 MPEG - 2 알고리즘에서의 인트라 프레임의 비트 스트림상에서 발생 가능한 에러를 검출하는 과정에 대하여 설명한다.Next, a process of detecting an error that can occur on the bit stream of an intra frame in the MPEG-2 algorithm using the specific information of the macro block layer having the above-described data information will be described.

제1도는 본 발명에 따른 엠팩(MPEG) - 2 인트라 프레임의 비트 스트림에서의 에러 검출 방법을 적용하는 데 적합한 복호화 시스템의 개략적인 블록구성도를 나타낸다. 동도면에 도시된 바와같이, 전형적인 복호화 시스템은 시스템 다중화 복호화 블록(100), 영상 복호화 블록(200), 에러 검출 블록(300), 에러 은폐 및 복구 블록(400) 및 프레임 메모리(500)를 포함한다.Figure 1 shows a schematic block diagram of a decoding system suitable for applying an error detection method in a bit stream of MPEG-2 intra frames according to the present invention. As shown in the figure, a typical decoding system includes a system multiplexed decoding block 100, an image decoding block 200, an error detection block 300, an error concealment and recovery block 400, and a frame memory 500. do.

제1도에 있어서, 시스템 다중화 복호화 블록(100)은, 전송채널을 통해 도시 생략된 송신측의 부호화 시스템으로부터 제공되는 압축 부호화된 영상, 음성 및 문자 등의 정보를 동기를 취해 가면서 분리하는 기능을 수행하는 것으로, 여기에서 분리된 음성 및 문자 등의 정보는 도시 생략된 음성 및 문자 정보 복호화 블록으로 제공되고, 또한 비트 스트림 형태의 영상 정보는 라인 L11 을 통해 영상 복호화 블록(200)으로 제공된다.In FIG. 1, the system multiplexing decoding block 100 performs a function of synchronizing and separating information such as compressed coded video, voice, and text provided from a coding system of a transmitting side, not shown, through a transmission channel. In this case, the separated voice and text information is provided to the audio and text information decoding block (not shown), and the video information in the form of a bit stream is provided to the video decoding block 200 through the line L11.

또한, 영상 복호화 블록(200)은 MPEG - 2 의 표준안에서 결정된 사양에 따라 압축 부호화된 영상 비트 스트림을 부호화되기 이전의 원신호로 복원하는 것으로, 인트라 프레임 또는 인터 프레임의 영상 데이터에 대해, 이 기술분야에 잘 알려진 바와같은, IVLC, 역양자화, IDCT 및 움직임 보상 예측 등의 기법을 이용하여 압축 부호화된 영상 비트 스트림을 복원하여 원신호에 대한 영상 비트 스트림을 발생하며, 이와같이 복원된 영상 비트 스트림은 라인 L13을 통해 에러 검출 블록(300)으로 제공됨과 동시에 라인 L15를 통해 에러 은폐 및 복구 블록(400)으로 제공된다.In addition, the video decoding block 200 restores a video bit stream that has been compression-coded according to a specification determined in the MPEG-2 standard to an original signal before being encoded. For video data of an intra frame or an inter frame, As is well known in the art, it is possible to reconstruct a compressed coded video bit stream using techniques such as IVLC, inverse quantization, IDCT, and motion compensation prediction to generate a video bit stream for the original signal. It is provided to the error detection block 300 via line L13 and simultaneously to the error concealment and recovery block 400 via line L15.

한편, 에러 검출 블록(300)에서는, 라인 L11 상의 복원된 인트라 프레임 또는 인터 프레임의 영상 비트 스트림에서 에러를 검출하며, 특히 본 발명에 따라 인트라 프레임의 비트 스트림상에서 마크로 블록층에 포함되는 마크로 블록 타입 정보값을 이용하여 복원된 영상 비트 스트림에서 에러가 발생한 위치를 검출하며, 여기에서 검출된 에러 위치 정보는 발생된 비트 스트림에서의 에러 은폐 또는 복구를 위한 제어신호로써 라인 L17을 통해 에러 은폐 및 복구 블록(400)으로 제공된다.On the other hand, in the error detection block 300, an error is detected in the video bit stream of the reconstructed intra frame or inter frame on the line L11, and in particular, the macro block type included in the macro block layer on the bit stream of the intra frame according to the present invention. The error value is detected in the reconstructed video bit stream using the information value, and the detected error position information is an error concealment and recovery through the line L17 as a control signal for error concealment or recovery in the generated bit stream. Provided to block 400.

앞에서 이미 언급한 바와같이, 인트라 프레임의 경우 마크로 블록 타입 정보값은 MPEG - 2 권고안의 규정에 따라 1 또는 1 의 값, 즉 해당 마크로 블록이 이전 양자화 스케일을 그대로 사용하는 경우에는 1 값을, 해당 마크로 블록이 새로운 양자화 스케일을 적용하는 경우에는 1 값을 가져야 한다.As mentioned earlier, the macroblock type information value for an intra frame is a value of 1 or 1 as specified in the MPEG-2 Recommendation, i.e. 1 value if the macroblock uses the previous quantization scale as it is. If a macro block applies a new quantization scale, it should have a value of 1.

따라서, 에러 검출 블록(300)에서는 인트라 프레임의 비트 스트림상에서 검출되는, 11 비트 길이의 데이터값을 갖는 마크로 블록 에스케이프(MBE) 정보값(인트라 프레임의 경우 필요치 않음)과 1 - 11 비트 길이의 데이터 값을 갖는 마크로 블록 어드레스 인크리먼트(MBAI) 정보값(인트라 프레임의 경우 반드시 1 로 규정됨) 다음에 이어지는 마크로 블록 타입(MBT) 정보값을 체크하여 그 값이 1 또는 1 이 아닌 다른 값을 갖는 것으로 판단되면, 복원된 인트라 프레임 비트 스트림 상의 해당 마크로 블록에서 에러가 발생했음을 알리기 위한 에러신호(예를들면, 1 또는 0 의 논리신호)를 발생하여 후술되는 에러 은폐 및 복구 블록(400)에 제공한다. 그 결과, 에러 은폐 및 복구 블록(400)에서는 현재 입력되는 마크로 블록(에러가 발생한 마크로 블록)을 포함하는 복원된 인트라 프레임의 해당 슬라이스 데이터를 프레임 메모리(500)에 저장되어 있는 시간축상의 바로 이전 인트라 프레임의 공간축상에서 대응하는 슬라이스 데이터로 대체하는 등의 기법을 통해 에러를 은폐하게 될 것이다. 이때, 에러 은폐 및 복구 블록(400)에서는 에러가 발생한 해당 마크로 블록만의 데이터에 대해 에러 은폐를 수행하지 않고 에러가 발생한 마크로 블록을 갖는 해당 슬라이스 데이터 전체에 대해 에러 은폐를 수행하는 데, 그 이유는 현재 에러 발생이 검출된 마크로 블록이 해당 슬라이스 데이터의 어느 위치에 존재하는 마크로 블록인지를 알 수 없기 때문이다. 따라서, 에러 발생이 검출된 마크로 블록을 포함하는 해당 슬라이스 데이터 전체에 대해 에러 은폐 및 복구를 수행하게 된다.Accordingly, in the error detection block 300, a macro block escape (MBE) information value (not required for an intra frame) and a 1-11 bit length having an 11-bit length data value detected on the bit stream of the intra frame. Macro Block Address Increment (MBAI) information value with data value (Must be specified as 1 for intra frame) Check the following Macro Block Type (MBT) information value and check that the value is other than 1 or 1 If it is determined to have an error signal (e.g., a logic signal of 1 or 0) indicating that an error has occurred in the corresponding macro block on the restored intra frame bit stream, the error concealment and recovery block 400 described below is generated. To provide. As a result, in the error concealment and recovery block 400, the slice data of the restored intra frame including the currently input macro block (macro block in which the error occurred) is stored immediately in the frame memory 500 in the corresponding intra frame. Errors will be concealed through techniques such as replacing the corresponding slice data on the spatial axis of the frame. In this case, the error concealment and recovery block 400 performs error concealment on all of the slice data having the macroblock in which an error occurs without performing error concealment on data of only the corresponding macroblock in which an error occurs. This is because it is not possible to know in which position of the slice data the macroblock in which the current error occurrence is detected is present. Therefore, error concealment and recovery are performed on the entire slice data including the macro block in which the occurrence of an error is detected.

다음에, 본 발명에 따라 현재 입력 프레임이 인트라 프레임인 경우에 에러 검출 블록(300)이 마크로 블록에 포함되는 마크로 블록 타입 정보값을 이용하여 인트라 프레임의 비트 스트림에서 에러를 검출하고, 그 검출결과에 의거하여 에러 은폐를 수행하는 과정에 대하여 첨부된 제2도의 플로우챠트를 참조하여 상세하게 설명한다.Next, when the current input frame is an intra frame, the error detection block 300 detects an error in the bit stream of the intra frame using the macro block type information value included in the macro block, and the detection result. The process of performing error concealment based on will be described in detail with reference to the flowchart of FIG.

먼저, 에러 검출 블록(300)에서는 전술한 영상 복호화 블록(200)으로부터 제공되는 라인 L13 상의 복원된 영상 비트 스트림, 즉 복원된 현재 프레임에 대한 비트 스트림이 입력되면(단계 210), 이 입력되는 현재 프레임이 인트라 프레임인지의 여부를 체크한다(단계 220).First, in the error detection block 300, if a reconstructed video bit stream on the line L13 provided from the above-described image decoding block 200, that is, a bit stream for the reconstructed current frame is input (step 210), the current input is received. It is checked whether the frame is an intra frame (step 220).

상기 단계(220)에서의 체크결과, 현재 프레임이 인트라 프레임이 아닌, 즉 인터 프레임인 것으로 판단되면 에러 검출 블록(300)에서는 에러 플러그값 0 (즉, 논리신호)을 발생(단계 270)하여 후술되는 에러 은폐 및 복구 블록(400)으로 제공하게 된다. 따라서, 에러 은폐 및 복구 블록(400)에서는 라인 L15를 통해 영상 복호화 블록(200)으로부터 제공되는 복원된 영상 비트 스트림을 에러 은폐 및 복구 기법의 적용없이 다음단의 도시 생략된 디스플레이측에 제공하게 될 것이다.If it is determined in step 220 that the current frame is not an intra frame, that is, an inter frame, the error detection block 300 generates an error plug value 0 (ie, a logic signal) (step 270). Error concealment and recovery block 400 to be provided. Accordingly, the error concealment and recovery block 400 may provide the reconstructed image bit stream provided from the image decoding block 200 through the line L15 to the display side, which is not shown in the next stage, without applying the error concealment and recovery technique. will be.

한편, 상기 단계(220)에서의 체크결과, 현재 프레임이 인트라 프레임인 것으로 판단되면 이어지는 다음 코드워드, 즉 1-11 비트 길이의 마크로 블록 어드레스 인크리먼트(MBAI) 정보값(MPEG - 2 에서 인트라 프레임의 경우 1 값으로 규정됨)을 갖는 코드워드를 스킵한 다음(단계 230), 처리는 단계(240)로 진행된다.On the other hand, if it is determined in step 220 that the current frame is an intra frame, the next codeword, i.e., 1-11 bits of macro block address increment (MBAI) information value (Intra in MPEG-2) Skip the codeword with a value of 1 for the frame (step 230), and then the process proceeds to step 240.

이때, 상기한 단계(230)에서 마크로 블록층의 마크로 블록 어드레스 인크리먼트(MBAI) 정보값 앞에 존재하는 마크로 블록 이스케이프(MBE) 정보값을 먼저 체크(또는 스킵)하지 않는 이유는, 마크로 블록 어드레스 인크리먼트 정보(MBAI)값이 33 이상인 경우에만 마크로 블록 이스케이프(MBE) 정보값이 마크로 블록층에 포함되기 때문이다. 즉, 인트라 프레임의 경우에는 규정된 바에 따라 마크로 블록 어드레스 인크리먼트(MBAI) 정보값이 반드시 1 이어야 하는데, 이 경우 마크로 블록 이스케이프(MBE) 정보값은 포함될 수 없기 때문이다.In this case, the reason for not checking (or skipping) the macro block escape (MBE) information value existing in front of the macro block address increment (MBAI) information value of the macro block layer in the above step 230 is the macro block address. This is because the macro block escape (MBE) information value is included in the macro block layer only when the increment information MBAI value is 33 or more. That is, in the case of the intra frame, the macro block address increment (MBAI) information value must be 1 as specified, since the macro block escape (MBE) information value cannot be included in this case.

다음에, 단계(240)에서는 현재 입력된 비트 스트림의 코드워드가 마크로 블록 타입(MBT) 정보값에 대한 코드워드 인지의 여부를 체크하며, 이 단계(240)에서의 체크결과 입력된 현재 코드워드가 마크로 블록 타입(MBT) 정보값에 대한 코드워드가 아닌 것으로 판단되면, 처리는 상기한 단계(270)로 진행된다. 따라서, 에러 은폐 및 복구 블록(400)에서는 에러 은폐 및 복구 기법의 적용없이 입력되는 복원된 인트라 프레임의 비트 스트림을 다음단의 도시 생략된 디스플레이측에 제공하게 될 것이다.Next, in step 240, it is checked whether the codeword of the currently input bit stream is a codeword for a macro block type (MBT) information value, and the current codeword inputted as a result of the check in this step 240 If is determined not to be a codeword for the macro block type (MBT) information value, then processing proceeds to step 270 described above. Accordingly, the error concealment and recovery block 400 will provide the bit stream of the recovered intra frame that is input without the application of the error concealment and recovery technique to the display side, not shown in the next stage.

한편, 상기 단계(240)에서의 체크결과, 입력된 코드워드가 마크로 블록 타입 정보값에 대한 코드워드인 것으로 판단되면, 에러 검출 블록(300)에서는 다시 해당 코드워드값이 인트라 프레임인 경우에 해당하는 마크로 블록 타입의 정보값인지, 즉 마크로 블록 타입 정보값이 1 (이전 양자화 스케일을 그대로 사용하는 경우) 또는 1 (해당 마크로 블록에 새로운 양자화 스케일을 적용하는 경우) 인지의 여부를 체크하며(단계 250), 이 단계(250)에서의 체크결과 해당 마크로 블록 타입에 대한 코드워드의 정보값이 아닌 것으로 판단되면 처리는 상기한 단계(270)로 진행되어 상술한 바와같은 이후의 과정을 수행하게 될 것이다.On the other hand, if it is determined in step 240 that the input codeword is a codeword for the macroblock type information value, the error detection block 300 corresponds to the case where the corresponding codeword value is an intra frame again. Whether the macroblock type information value is 1 (if the old quantization scale is used as it is) or 1 (if the new quantization scale is applied to the macroblock). 250, if it is determined in the step 250 that it is not the information value of the codeword for the corresponding macroblock type, the process proceeds to the step 270 described above to perform the subsequent process as described above. will be.

다른한편, 상기 단계(250)에서의 체크결과, 마크로 블록 타입에 대한 코드워드의 정보값이 1 또는 1 인 것으로 판단되면, 에러 검출 블록(300)에서는 에러 플러그값 1 을 발생하며(단계 260), 이와같이 발생된 논리신호 1 값의 에러 플러그 신호는 에러 은폐 및 복구 블록(400)으로 제공된다.On the other hand, if it is determined that the information value of the codeword for the macro block type is 1 or 1 as a result of the check in the step 250, the error detection block 300 generates an error plug value 1 (step 260). The error plug signal of the logic signal 1 value thus generated is provided to the error concealment and recovery block 400.

그 결과, 에러 은폐 및 복구 블록(400)은 상기한 에러 검출 블록(300)으로부터 에러신호가 입력되면, 라인 L15를 통해 영상 복호화 블록(200)으로 부터 현재 입력되는 복원된 인트라 프레임의 비트 스트림상에서 에러 발생이 확인된 마크로 블록이 포함된 슬라이스 데이터에 대해 에러 은폐 및 복구를 수행한다(단계 280). 예를들면, 에러 은폐 및 복구 블록(400)에서는 현재 입력되는 복원된 인트라 프레임의 해당 슬라이스 데이터를 프레임 메모리(500)에 저장되어 있는 시간축상의 바로 이전 인트라 프레임내의 대응하는 슬라이스 데이터로 대체하는 등의 기법을 통해 에러를 은폐하게 될 것이다. 이때, 에러가 발생한 해당 마크로 블록만의 데이터에 대해 에러 은폐를 수행하지 않고 에러가 발생한 마크로 블록을 갖는 해당 슬라이스 데이터 전체에 대해 에러 은폐를 위해 이전 프레임의 대응하는 슬라이스 데이터로 대체하는 이유는 현재 에러 발생이 검출된 마크로 블록이 해당 슬라이스 데이터의 어느 위치에 존재하는 마크로 블록인지를 알 수 없기 때문이다. 따라서, 에러 발생이 검출된 마크로 블록을 포함하는 해당 슬라이스 데이터 전체에 대해 에러 은폐 및 복구를 수행하는 것이다.As a result, the error concealment and recovery block 400, if an error signal is input from the error detection block 300 described above, on the bit stream of the restored intra frame currently input from the image decoding block 200 via the line L15. Error concealment and recovery is performed on the slice data including the macro block where the occurrence of the error is confirmed (step 280). For example, the error concealment and recovery block 400 replaces the corresponding slice data of the restored intra frame that is currently input with the corresponding slice data in the immediately preceding intra frame on the time axis stored in the frame memory 500. The technique will conceal errors. In this case, the reason for replacing the corresponding slice data of the previous frame to conceal the error of all the slice data having the macro block in which the error occurs without performing error concealment on the data of only the corresponding macro block in which the error occurs is the current error. This is because it is not possible to know in which position of the slice data the macroblock in which occurrence has been detected is present. Therefore, error concealment and recovery are performed on the entire slice data including the macro block in which the occurrence of an error is detected.

이상 설명한 바와같이, 본 발명에 따르면, MPEG - 2 의 알고리즘에 따라 부호화된 다음 수신측에서 복원된 인트라 프레임 영상의 비트 스트림에서 에러가 발생하는 경우, 발생된 에러의 은폐 또는 복구를 위해, 영상 프레임의 비트 스트림에 포함되는 마크로 블록내의 마크로 블록 타입 정보를 이용함으로써, 재생 영상에서의 화질열화를 수반하는 MPEG - 2 인트라 프레임의 비트 스트림에서의 에러 발생 검출 및 이를 이용한 에러 은폐 및 복구를 효과적으로 수행할 수 있다.As described above, according to the present invention, when an error occurs in the bit stream of the intra frame video encoded according to the algorithm of MPEG-2 and then reconstructed at the receiver, an image frame is used to conceal or recover the generated error. By using the macro block type information in the macro block included in the bit stream of the video stream, error occurrence detection and error concealment and recovery using the bit stream of the MPEG-2 intra frame accompanied by deterioration of image quality in the playback image can be effectively performed. Can be.

Claims (3)

시스템 다중화 복호화 블록을 통해 분리되는 부호화된 MPEG - 2 인트라 프레임의 영상 비트 스트림에 대해 IVLC, 역양자와 및 IDCT 의 기법을 포함하는 복호화 수단을 이용하여 부호화되기 이전의 원신호로 복원하며, 에러 은폐 및 복구 수단을 통해 상기 복원된 인트라 프레임의 비트 스트림상에서 에러가 발생할 때 발생된 에러를 은폐 및 복구하기 위해 비트 스트림상에서의 에러신호 발생 위치를 검출하는 방법에 있어서, 상기 복원된 영상 프레임의 비트 스트림을 입력하여 해당 프레임이 인트라 프레임인지의 여부를 체크하는 단계; 상기 프레임 체크 단계에서의 체크결과, 인트라 프레임인 것으로 판단되면 현재 입력되는 소정의 비트값을 갖는 마크로 블록 어드레스 인크리먼트에 대한 코드워드를 스킵하는 단계; 상기 스킵된 마크로 블록 어드레스 인크리먼트에 대한 코드워드 다음에 연속하여 이어지는 입력 코드워드가 마크로 블록 타입에 대한 코드워드인지를 검출하는 단계; 상기 코드워드 검출 단계에서의 체크결과, 상기 검출된 마크로 블록 타입 정보값이 상기 인트라 프레임에 상응하는 정보값인지의 여부를 체크하는 단계; 상기 정보값 체크 단계에서의 체크결과, 상기 검출된 마크로 블록 타입 정보값이 상기 인트라 프레임에 상응하는 정보값인 것으로 판단되면 상기 에러신호를 발생하지 않고, 상기 검출된 마크로 블록 타입 정보값이 상기 인트라 프레임에 상응하는 정보값이 아닌 것으로 판단되면 상기 에러신호를 발생하여 상기 에러 은폐 및 복구 수단에 제공하는 단계; 및 상기 발생된 에러신호에 의거하여 상기 복원된 인트라 프레임의 비트 스트림중 에러가 발생된 비트 스트림 구간에서의 에러 은폐 및 복구를 수행하는 단계로 이루어진 MPEG - 2 인트라 프레임의 비트 스트림에서의 에러 검출 방법.The video bit stream of the encoded MPEG-2 intra frame separated through the system multiplexing decoding block is restored to the original signal before being encoded by using decoding means including the techniques of IVLC, inverse quantum and IDCT, and error concealment. And detecting an error signal generation position on the bit stream to conceal and recover an error generated when an error occurs on the bit stream of the restored intra frame through recovery means, wherein the bit stream of the recovered video frame is detected. Checking whether the corresponding frame is an intra frame by inputting a; Skipping a codeword for a macro block address increment having a predetermined bit value currently determined as an intra frame as a result of the check in the frame checking step; Detecting whether an input codeword subsequent to the codeword for the skipped macroblock address increment is a codeword for the macroblock type; Checking whether the detected macroblock type information value is an information value corresponding to the intra frame, as a result of the check in the codeword detection step; If it is determined in the information value checking step that the detected macro block type information value is an information value corresponding to the intra frame, the error signal is not generated and the detected macro block type information value is the intra signal. Generating an error signal and providing the error concealment and recovery means if it is determined that the information value is not corresponding to a frame; And performing error concealment and recovery in a bit stream section in which an error occurs in the bit stream of the restored intra frame on the basis of the generated error signal. . 제1항에 있어서, 상기 마크로 블록 타입 정보값은, 1 또는 1 의 비트값을 갖는 것을 특징으로 하는 MPEG - 2 인트라 프레임의 비트 스트림에서의 에러 검출 방법.The method of claim 1, wherein the macro block type information value has a bit value of 1 or 1. 제2항에 있어서, 상기 검출된 마크로 블록 타입 정보값에 기초하여 발생하는 에러신호는, 0 또는 1 의 논리값을 갖는 플러그 신호인 것을 특징으로 하는 MPEG - 2 인트라 프레임의 비트 스트림에서의 에러 검출 방법.The error detection method of claim 2, wherein the error signal generated based on the detected macroblock type information value is a plug signal having a logic value of 0 or 1. Way.
KR1019960005392A 1996-02-29 1996-02-29 Method for detecting error of bit stream for intra frame in mpeg-2 algorithm KR100212543B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960005392A KR100212543B1 (en) 1996-02-29 1996-02-29 Method for detecting error of bit stream for intra frame in mpeg-2 algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960005392A KR100212543B1 (en) 1996-02-29 1996-02-29 Method for detecting error of bit stream for intra frame in mpeg-2 algorithm

Publications (2)

Publication Number Publication Date
KR970064270A KR970064270A (en) 1997-09-12
KR100212543B1 true KR100212543B1 (en) 1999-08-02

Family

ID=19452262

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960005392A KR100212543B1 (en) 1996-02-29 1996-02-29 Method for detecting error of bit stream for intra frame in mpeg-2 algorithm

Country Status (1)

Country Link
KR (1) KR100212543B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030080136A (en) * 2002-04-04 2003-10-11 엘지전자 주식회사 The error concealment method when moving picture is played in telephone communication network

Also Published As

Publication number Publication date
KR970064270A (en) 1997-09-12

Similar Documents

Publication Publication Date Title
US5235419A (en) Adaptive motion compensation using a plurality of motion compensators
US5376968A (en) Adaptive compression of digital video data using different modes such as PCM and DPCM
US5438374A (en) System and method for filtering video signals
KR100312603B1 (en) A method for computational graceful degradation in an audiovisual compression system
EP1127467B1 (en) Error concealment in a video signal
KR20060043051A (en) Method for encoding and decoding video signal
KR100209409B1 (en) Object-based encoding method and apparatus using an object warping
KR0159370B1 (en) Method and apparatus for encoding a video signals using a boundary of an object
US6804299B2 (en) Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation
KR100679027B1 (en) Method and apparatus for coding image without DC component loss
JP3623056B2 (en) Video compression device
US6040875A (en) Method to compensate for a fade in a digital video input sequence
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
KR20060085150A (en) Method and apparatus for encoding/decoding video signal using prediction information of intra-mode macro blocks of base layer
KR100212543B1 (en) Method for detecting error of bit stream for intra frame in mpeg-2 algorithm
KR100213289B1 (en) Method for detecting error of bit stream in h.263 algorithm
KR100213290B1 (en) The error detecting method in bit stream of mpeg-2 intraframe
KR100203719B1 (en) Method for detecting error of bit stream in mpeg-2 algorithm
JPH07274163A (en) Device and method for encoding/decoding hierarchy and transmission/reception system
KR100203626B1 (en) Object based encoder for full motion image
KR100213288B1 (en) Method for detecting error of bit stream in h.263 algorithm
KR100235357B1 (en) Pyramidal decoding apparatus for the concealment of cell loss in progressive transmission
KR0178242B1 (en) Error detection method of h. 263 image bit stream
KR100203711B1 (en) Method for detecting error of bit stream in h.263 algorithm
KR0178243B1 (en) Error detection method of h. 263 image bit stream

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

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20130502

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee