KR100203719B1 - Method for detecting error of bit stream in mpeg-2 algorithm - Google Patents

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

Info

Publication number
KR100203719B1
KR100203719B1 KR1019960005391A KR19960005391A KR100203719B1 KR 100203719 B1 KR100203719 B1 KR 100203719B1 KR 1019960005391 A KR1019960005391 A KR 1019960005391A KR 19960005391 A KR19960005391 A KR 19960005391A KR 100203719 B1 KR100203719 B1 KR 100203719B1
Authority
KR
South Korea
Prior art keywords
error
bit stream
recovery
quantization scale
mpeg
Prior art date
Application number
KR1019960005391A
Other languages
Korean (ko)
Other versions
KR970064257A (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 KR1019960005391A priority Critical patent/KR100203719B1/en
Publication of KR970064257A publication Critical patent/KR970064257A/en
Application granted granted Critical
Publication of KR100203719B1 publication Critical patent/KR100203719B1/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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • 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/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

Landscapes

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

Abstract

본 발명은 영상 프레임의 비트 스트림상의 마크로 블록 데이터에 포함되는 양자화 스케일 정보를 이용하여 복원된 MPEG-2 영상 프레임의 비트 스트림에서의 에러를 효과적으로 검출할 수 있도록 한 비트 스트림에서의 에러 검출방법에 관한 것으로, 이를 위하여 본 발명은, 복호화 수단을 통해 부호화 되기 이전의 원신호로 복원된 영상 프레임의 비트 스트림을 입력하여 마크로 블록내에 포함되는 복수의 각 정보들에 대한 코드워드 검색을 연속적으로 수행하여 소정 비트의 양자화 스케일 정보에 대한 코드워드를 검색하고; 검색된 양자화 스케일 정보에 대한 코드워드의 정보값을 검출하며; 검출된 양자화 스케일 정보값이 제로 이외의 다른 정수값인 것으로 판단되면 에러신호를 발생하지 않고, 검출된 양자화 스케일 정보값이 제로값인 것으로 판단되면 에러신호를 발생하여 에러 은폐 및 복구 수단에 제공하고; 발생된 에러신호에 의거하여 복원된 영상 프레임의 비트 스트림중 에러가 발생된 비트 스트림 구간에서의 에러 은폐 및 복구를 수행하는 단계를 통해 영상 비트 스트림에서의 에러 검출을 수행함으로써, MPEG-2 영상 비트 스트림에서의 에러발생 검출 및 이를 이용한 에러 은폐 및 복구를 효과적으로 수행할 수 있는 것이다.The present invention relates to an error detection method of a bit stream in which an error in a bit stream of a reconstructed MPEG-2 image frame can be effectively detected by using quantization scale information included in macro block data on a bit stream of an image frame. To this end, the present invention, by inputting the bit stream of the video frame restored to the original signal before being encoded by the decoding means to perform a codeword search for a plurality of pieces of information contained in the macro block continuously Retrieve codewords for quantization scale information of bits; Detecting an information value of a codeword for the retrieved quantization scale information; If it is determined that the detected quantization scale information value is an integer other than zero, no error signal is generated. If it is determined that the detected quantization scale information value is zero, an error signal is generated and provided to the error concealment and recovery means. ; MPEG-2 video bits are detected by performing error detection on the video bit stream by performing error concealment and recovery in the bit stream section where an error occurs in the bit stream of the reconstructed video frame based on the generated error signal. Error detection in the stream and error concealment and recovery using the same can be effectively performed.

Description

엠팩(MPEG)-2영상 비트 스트림에서의 에러 검출방법Error detection method in MPEG-2 video bit stream

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

제2도는 본 발명의 바람직한 실시예에 따라 마크로블록에 포함되는 양자화 스케일 정보를 이용하여 영상 비트 스트림상에서 발생하는 에러를 검출하고, 그 에러 검출결과에 의거하여 에러 은폐 및 복구를 수행하는 과정을 도시한 플로우챠트.2 illustrates a process of detecting an error occurring in an image bit stream using quantization scale information included in a macroblock according to an exemplary embodiment of the present invention, and performing error concealment and recovery based on the error detection result. One flowchart.

* 도면의 주요부분에 대한 부호의 설명* 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. The present invention relates to an error detection method suitable for detecting an error that may occur in a bit stream of an MPEG-2 image frame reconstructed with a.

이 기술분야에 잘 알려진 바와 같이, 이산화된 영상신호의 전송은 아나로그 신호보다 좋은 화질을 유지할 수 있다. 일련의 이미지 프레임으로 구성된 영상신호가 디지탈 형태로 표현될 때, 특히 고품질 텔레비젼(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 digital form, a considerable amount of transmission data is generated, particularly in the case of a 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 its transmission amount.

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

이 기술분야에 잘 알려진 바와 같이, 순차주사 (progressive scanning) 방식의 영상만을 취급하며, 전송속도가 대략 1.5Mbps급인 MPEG-1은 주로 저장 미디어용에 적합한 알고리즘이다. 이에 반해, MPEG-2는, 주로 통신 미디어용으로써 적합한 H.261과 저장 미디오용으로써 적합한 MPEG-1의 연장선상에 있다고 볼 수 있지만, 통신, 컴퓨터, 가전 및 방송 등의 광범위한 미디오 분야로의 적용 및 정보교환이 가능한 알고리즘인 것으로, 이러한 MPEG-2는 상기한 MPEG-1과는 달리 순차주사(progressive scnning) 방식의 영상 및 비월주사(interlaced scnning) 방식의 영상도 취급이 가능하다는 장점을 갖는다. 본 발명은 이와 같은 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 mainly suitable for storage media. On the other hand, MPEG-2 is seen as an extension of H.261, which is mainly used for communication media and MPEG-1, which is suitable for storage media, but is widely used in a wide range of media fields such as communication, computers, consumer electronics, and broadcasting. It is an algorithm that can be applied and exchanged information. Unlike MPEG-1, MPEG-2 has the advantage of being able to handle progressive-scanning and interlaced images. . 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 techniques described above, especially the hybrid coding technique used in the MPEG-2 algorithm, include motion compensated DPCM (differential pulse code modulation), two-dimensional discrete cosine transform (DCT), quantization of DCT coefficients, and VLC. (Variable encoding), etc. are 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, for example, Staffan Ericsson's Fixed and Adaptive Predictors for Hybrid Predictive / Transform Coding, IEEE Transactions on Communication, COM-33, NO.12 (Dec. 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 considering the spatial and temporal correlation of the image signal in block units or pixel units through the above-described encoding technique. The video data, i.e., the bit stream, will be transmitted to the decoding system on the receiving side through the transmission channel at a desired bit rate in response to the channel request.

다음에, 수신측의 복호화 시스템에서는 전송채널을 통해 수신되는 압축 부호화된 영상의 비트 스트림에 대해, 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 techniques are not actively provided by the MPEG-1 algorithm. However, 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 image encoding method using the MPEG-2 algorithm, even if only one bit is damaged in the bit stream of the image frame, the image quality degradation in the substantially reconstructed image can be greatly affected.

따라서, 영상 프레임의 비트 스트림상에서 에러가 발생한 부분을 검출한다는 것은, 효과적인에러 복구 및 은폐기법을 적용하는 데 대단히 중요한 과정이라고 할 수 있다.Therefore, detecting an error part on the bit stream of an image frame is a very important process for applying an effective error recovery and concealment technique.

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

상기 목적을 달성하기 위하여 본 발명은, 시스템 다중화 복호화 블록을 통해 분리되는 부호화된 MPEG-2 영상 프레임의 영상 비트 스트림에 대해 IVLC, 역양자화 및 IDCT의 기법을 포함하는 복호화 수단을 이용하여 부호화되기 이전의 원신호로 복원하며, 에러 은폐 및 복구수단을 통해 상기 복원된 영상 프레임의 비트 스트림상에서 에러가 발생할 때 발생된 에러를 은폐 및 복구하기 위해 비트 스트림상에서의 에러신호 발생 위치를 검출하는 방법에 있어서, 상기 복원된 영상 프레임의 비트 스트림을 입력하여 마크로 블록내에 포함되는 복수의 각 정보들에 대한 코드워드 검색을 연속적으로 수행하여 소정 비트의 양자화 스케일 정보에 대한 코드워드를 검색하는 단계; 상기 검색된 양자화 스케일 정보에 대한 코드워드의 정보값을 검출하는 단계; 상기 정보값 검출단계에서의 체크결과, 상기 검출된 양자화 스케일 정보값이 제로 이외의 다른 정수값인 것으로 판단되면 상기 에러신호를 발생하지 않고, 상기 검출된 양자화 스케일 정보값이 제로값인 것으로 판단되면 상기 에러신호를 발생하여 상기 에러 은폐 및 복구 수단에 제공하는 단계; 및 상기 발생된 에러신호에 의거하여 상기복원된 영상 프레임의 비트 스트림중 에러가 발생된 비트 스트림 구간에서의 에러 은폐 및 복구를 수행하는 단계로 이루어진 MPEG-2 영상 비트 스트림에서의 에러 검출방법을 제공한다.In order to achieve the above object, before the present invention is encoded using a decoding means including the techniques of IVLC, inverse quantization and IDCT for the video bit stream of the encoded MPEG-2 video frame separated by the system multiplexed decoding block A method for detecting an error signal generation position on a bit stream for recovering an original signal of the signal stream and concealing and recovering an error generated when an error occurs on the bit stream of the restored video frame through error concealment and recovery means, Inputting a bit stream of the reconstructed video frame to perform a codeword search for a plurality of pieces of information included in a macro block, and searching for a codeword for quantization scale information of a predetermined bit; Detecting an information value of a codeword for the retrieved quantization scale information; If it is determined in the information value detecting step that the detected quantization scale information value is an integer value other than zero, the error signal is not generated, and if it is determined that the detected quantization scale information value is zero value. Generating the error signal and providing the error signal to the error concealment and recovery means; And performing error concealment and recovery in a bit stream section in which an error occurs among the bit streams of the restored video frame based on the generated error signal. do.

본 발명의 기타 목적과 여러 가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로부터 더욱 명확하게 될 것이다.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 video data hierarchy of MPEG-2 is composed 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 video rate are the same, and the GOP layer is encoded by the intra coding mode without taking a difference (error signal). A picture includes an intra coded picture, a forward predictive coded picture (P), and a bidirectionally predicted 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 subsequent 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.

보다 상세하게, 마크로 블록층내의 각 마크로 블록에 포함되는 양자화 스케일 정보값은 매크로 블록의 양자화 스텝 사이즈 정보인 것으로 5비트의 고정길이를 갖는데, 이 값은 적어도 0값, 즉 0의 데이터 값을 가질수가 없다. 이러한 마크로 블록층의 상세한 데이터들에 대해서는 후에 상세하게 기술될 것이다.More specifically, the quantization scale information value included in each macro block in the macro block layer is quantization step size information of the macro block, and has a fixed length of 5 bits, which may have at least zero value, that is, zero data value. There is no. Detailed data of this macro block layer will be described later in detail.

마지막으로, 블록층은 휘도 또는 색차로 구분된 8×8의 라인/화소로 구성되는데 이러한 블록은 DCT의 단위로서 이용된다.Finally, the block layer consists of 8x8 lines / pixels separated by luminance or chrominance, which blocks are used as units of DCT.

한편, 본 발명에 따라 영상 프레임의 비트 스트림상에서 에러를 검출하는 데 이용하고자 하는 마크로 블록층은 다음과 같은 데이터 정보들을 갖는다.Meanwhile, according to the present invention, a macroblock layer to be used for detecting an error on a bit stream of an image 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 is defined as 1

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

5) FrMT(frame motion type) : 프레임에 대한 예측 타입 정보로써, MBT 가 예측을 사용하는것인데 프레임 구조에서 FPFD(frame predictive frame DCT)가 제로(0)인 경우에만 존재하는 정보인 것으로, 2비트의 길이를 가짐5) FrMT (frame motion type): Predictive type information for 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 exists and has a length of 1 bit.

8) QSC(quantizer scale code) : 마크로 블록의 양자화 스텝 사이즈 정보인 것으로, 적어도 0값이 아닌 5 비트의 고정길이를 가짐8) QSC (quantizer scale code): It is quantization step size information of a macro block, and it has a fixed length of 5 bits, not at least 0.

9) MVFS(motion vertical field select) : 필드 예측의 경우 참조 영상의 어느 필드로부터 예측하는가를 표시하는 정보인 것으로, 1 비트의 길이를 가짐9) MVFS (motion vertical field select): In case of field prediction, information indicating which field of the reference image is predicted 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 to 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, it 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) CBP1(coded block pattern 1) : 색차 포맷이 4 : 2 : 2인 경우에 CBP 420에 부가하는 정보인 것으로, 2비트의 길이를 가짐17) CBP1 (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(clded block pattern 2) : 색차포맷이 4 : 4 : 4인 경우에 CBP 420에 부가하는 정보인 것으로, 6비트의 길이를 가짐18) CBP 2 (clded 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 image frame in the MPEG-2 algorithm using the specific information of the macroblock layer having the above-described data information will be described.

제1도는 본 발명에 따른 엠팩(MPEG)-2 영상 프레임의 비트 스트림에서의 에러 검출방법을 적용하는 데 적합한 복호화 시스템의 개략적인 블록구성도를 나타낸다. 동도면에 도시된 바와 같이, 전형적인 복호화 시스템은 시스템 다중화 복호화 블록(100), 영상 복호화 블록(200), 에러 검출블록(300), 에러 은폐 및 복구 블록(400) 및 프레임 메모리(500)를 포함한다.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 video frame 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 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 transport channel. In this case, the separated information such as voice and text is provided to the audio and text information decoding block, not shown, and the image 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. As is well known in the present invention, a video bit stream for an original signal is generated by reconstructing a compressed coded video bit stream using techniques such as IVLC, inverse quantization, IDCT, and motion compensation prediction. 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, the error detection block 300 detects an error in the image bit stream of the reconstructed intra frame or inter frame on the line L11, and in particular, the quantization scale information included in the macro block layer on the bit stream of the image frame according to the present invention. The error position is detected in the reconstructed video bit stream using the value, and the detected error position information is an error concealment and recovery block through line L17 as a control signal for error concealment or recovery in the generated bit stream. Provided at 400.

앞에서 이미 언급한 바와 같이, 영상 프레임의 경우 마크로 블록내의 양자화 스케일 정보값은 마크로 블록의 양자화 스텝 사이즈 정보를 나타내는 것으로, 이 값은 MPEG-2권고안의 규정에 따라 5비트의 고정길이를 갖는데, 반드시 0값, 즉 0의 데이터가 아닌 다른 값을 갖는다.As mentioned above, in the case of an image frame, the quantization scale information value in the macro block represents the quantization step size information of the macro block, which has a fixed length of 5 bits according to the MPEG-2 Recommendation. It has a value of zero, that is, a value other than zero.

따라서, 에러 검출 블록(300)에서는 영상 프레임의 비트 스트림상에서 검출되는, 11 비트 길이의 데이터값을 갖는 MBE정보값(영상 프레임의 경우 필요치 않음), 1-11 비트 길이의 데이터 값을 갖는 MBA 정보값(영상 프레임의 경우 반드시 1로 규정됨), 1-9 비트의 MBT 정보값, 2 비트의 STWC 정보값, 2 비트의 FrMT 정보값, 2 비트의 FiMT 정보값, 1 비트의 DT 정보값(이 값은 DCT 데이터가 존재할 때만 있음) 다음에 이어지는 QSC(양자화 스케일 코드)정보값을 체크하여 그 값이 0을 갖는 것으로 판단되면, 복원된 영상 프레임 비트 스트림상의 해당 마크로 블록에서 에러가 발생했음을 알리기 위한 에러신호(예를 들면, 1 또는 0의 논리신호)를 발생하여 후술되는 에러 은폐 및 복구 블록(400)에 제공한다. 그 결과, 에러 은폐 및 복구 블록(400)에서는 현재 입력되는 마크로 블록(에러가 발생한 마크로 블록)을 포함하는 복원된 영상 프레임의 해당 슬라이스 데이터를 프레임 메모리(500)에 저장되어 있는 시간축상의 바로 이전 영상 프레임의 공간축상에서 대응하는 슬라이스 데이터로 대체하는 등의 기법을 통해 에러를 은폐하게 될 것이다. 이 때, 에러 은폐 및 복구 블록(400)에서는 에러가 발생한 해당 마크로 블록만의 데이터에 대해 에러 은폐를 수행하지 않고 에러가 발생한 마크로 블록을 갖는 해당 슬라이스 데이터 전체에 대해 에러 은폐를 수행하는데, 그 이유는 현재 에러 발생이 검출된 마크로 블록이 해당 슬라이스 데이터의 어느 위치에 존재하는 마크로 블록인지를 알 수 없기 때문이다. 따라서, 에러 발생이 검출된 마크로 블록을 포함하는 해당 슬라이스 데이터 전체에 대해 에러 은폐 및 복구를 수행하게 된다.Accordingly, in the error detection block 300, an MBE information value (not required for an image frame) having an 11-bit data value and MBA information having a data value of 1-11 bits is detected on a bit stream of an image frame. Value (must be defined as 1 for video frame), MBT information value of 1-9 bits, STWC information value of 2 bits, FrMT information value of 2 bits, FiMT information value of 2 bits, DT information value of 1 bit ( This value is only present when DCT data is present.) Checks the QSC (quantization scale code) information value following it, and if it is determined to have a value of 0, it indicates that an error has occurred in the corresponding macroblock on the reconstructed picture frame bit stream. Generate an error signal (e.g., a logic signal of 1 or 0) and provide it to the error concealment and recovery block 400 described below. As a result, in the error concealment and recovery block 400, the slice data of the reconstructed image frame including the currently input macro block (macro block in which the error has occurred) is stored in the frame memory 500. Errors will be concealed through techniques such as replacing the corresponding slice data on the spatial axis of the frame. At this time, the error concealment and recovery block 400 does not perform error concealment on the data of only the corresponding macroblock in which an error occurs, but performs error concealment on the entire corresponding slice data having the 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, according to the present invention, the error detection block 300 detects an error in the bit stream of an image frame using a quantized scale information value having a fixed length included in the macro block, and based on the detection result, error concealment is performed. A detailed description will be made with reference to the flowchart of FIG.

먼저, 에러 검출 블록(300)에서는 전술한 영상 복호화 블록(200)으로부터 제공되는 라인 L13상의 복원된 영상 비트 스트림, 즉 복원된 현재 프레임에 대한 비트 스트림이 입력되면(단계210), 이 입력되는 현재 프레임의 비트 스트림에 대한 코드워드, 예를 들면 마크로 블록 이스케이프, 마크로 블록 어드레스 인크리먼트, 마크로 블록 타입, DCT타입 및 양자화 스케일 등에 대한 코드워드 검색을 수행한다(단계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. A codeword search for the bitword of the bit stream of the frame, for example, macroblock escape, macroblock address increment, macroblock type, DCT type, and quantization scale, is performed (step 220).

그런 다음, 단계(230)에서는 상기 단계(220)에서 검색된 코드워드를 체크하여 현재 검색된 코드워드가 본 발명에 따른 에러 검출을 위해 검색하고자 하는 양자화 스케일(QSC) 정보에 대한 코드워드가 아니면 양자화 스케일 정보에 대한 코드워드가 검색될 때까지 상기 코드워드 검색단계(220)를 반복 수행하고, 체크 결과 현재 검색된 코드워드가 검색하고자 하는 양자화 스케일(QSC) 정보에 대한 코드워드인 것으로 판단되면, 처리는 단계(240)로 진행된다.Then, in step 230, the codeword retrieved in step 220 is checked and if the currently retrieved codeword is not a codeword for quantization scale (QSC) information to be searched for error detection according to the present invention, the quantization scale If the codeword retrieval step 220 is repeated until the codeword for the information is retrieved, and it is determined that the codeword currently retrieved is the codeword for the quantization scale (QSC) information to be retrieved, the process is performed. Proceeding to step 240 proceeds.

다음에, 단계(240)에서는 현재 검색된 양자화 스케일 정보에 대한 코드워드의 정보값이 0인지의 여부를 체크한다. 이 단계(240)에서 양자화 스케일 정보에 대한 코드워드의 정보값이 0인지의 여부를 체크하는 것은 양자화 스케일 정보값의 경우 적어도 0의 값을 가질 수 없기 때문이다. 즉, 양자화 스케일 정보값이 0이라는 것은 결국 비트 스트림상에서 에러가 발생했음을 의미한다. 따라서, 본 발명에서는 이러한 양자화 스케일 정보값에 대한 검색을 통해 해당 마크로 블록에서 에러가 발생했는지의 여부를 체크한다.Next, in step 240, it is checked whether the information value of the codeword for the currently retrieved quantization scale information is zero. Checking whether the information value of the codeword for the quantization scale information is 0 in this step 240 is because the quantization scale information value cannot have a value of at least zero. That is, the quantization scale information value of 0 means that an error has occurred on the bit stream. Therefore, the present invention checks whether or not an error has occurred in the corresponding macroblock by searching for the quantization scale information value.

상기 단계(240)에서의 체크 결과, 양자화 스케일 정보값이 0이 아닌 다른 어떤 값인 것으로 판단되면, 에러 검출 블록(300)에서는 에러 플러그값 0(즉, 논리신호)을 발생(단계250)하여 후술되는 에러 은폐 및 복구 블록(400)으로 제공하게 된다. 따라서, 에러 은폐 및 복구(400)에서는 라인 L15를 통해 영상 복호화 블록(200)으로부터 제공되는 복원된 영상 비트 스트림을 에러 은폐 및 복구 기법의 적용없이 다음단의 도시 생략된 디스플레이측에 제공하게 될 것이다.If it is determined in step 240 that the quantization scale information value is something other than 0, the error detection block 300 generates an error plug value 0 (ie, a logic signal) (step 250). Error concealment and recovery block 400 to be provided. Accordingly, the error concealment and recovery 400 will 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 step, without applying the error concealment and recovery technique. .

한편, 단계(240)에서의 체크 결과, 양자화 스케일 정보값이 0인 것으로 판단되면, 에러 검출블록(300)에서는 에러 플러그값 1을 발생하며(단계260), 이와같이 발생된 논리신호 1 값의 에러 플러그 신호는 에러 은폐 및 복구 블록(400)으로 제공된다.On the other hand, if it is determined in step 240 that the quantization scale information value is 0, the error detection block 300 generates an error plug value 1 (step 260) and an error of the logic signal 1 value generated in this way. The plug signal is provided to the error concealment and recovery block 400.

그 결과, 에러 은폐 및 복구 블록(400)은 상기한 에러 검출 블록(300)으로부터 에러신호가 입력되면, 라인 L15를 통해 영상 복호화 블록(200)으로부터 현재 입력되는 복원된 영상 프레임의 비트 스트림상에서 에러 발생이 확인된 마크로 블록이 포함된 슬라이스 데이터에 대해 에러 은폐 및 복구를 수행한다(단계270). 예를 들면, 에러 은폐 및 복구 블록(400)에서는 현재 입력되는 복원된 영상 프레임의 해당 슬라이스 데이터를 프레임 메모리(500)에 저장되어 있는 시간축 상의 바로 이전 영상 프레임내의 대응하는 슬라이스 데이터로 대체하는 등의 기법을 통해 에러를 은폐하게 될 것이다.As a result, when the error concealment and recovery block 400 receives an error signal from the error detection block 300, the error concealment and recovery block 400 receives an error on the bit stream of the reconstructed image frame currently input from the image decoding block 200 through the line L15. Error concealment and recovery are performed on the slice data including the macroblock in which occurrence has been confirmed (step 270). For example, the error concealment and recovery block 400 replaces the corresponding slice data of the restored image frame that is currently input with the corresponding slice data in the immediately preceding image frame stored in the frame memory 500. The technique will conceal errors.

이 때, 에러가 발생한 해당 마크로 블록만의 데이터에 대해 에러 은폐를 수행하지 않고 에러가 발생한 마크로 블록을 갖는 해당 슬라이스 데이터 전체에 대해 에러 은폐를 위해 이전 프레임의 대응하는 슬라이스 데이터로 대체하는 이유는 현재 에러 발생이 검출된 마크로 블록이 해당 슬라이스 데이터의 어느 위치에 존재하는 마크로 블록인지를 알 수 없기 때문이다. 따라서, 에러 발생이 검출된 마크로 블록을 포함하는 해당 슬라이스 데이터 전체에 대해 에러 은폐 및 복구를 수행하는 것이다. 이상 설명한 바와 같이, 본 발명에 따르면, MPEG-2의 알고리즘에 따라 부호화된 다음 수신측에서 복원된 영상 프레임 영상의 비트 스트림에서 에러가 발생하는 경우, 발생된 에러의 은폐 또는 복구를 위해, 영상 프레임의 비트 스트림에 포함되는 마크로 블록내의 양자화 스케일 정보를 이용함으로써, 재생 영상에서의 화질열화를 수반하는 MPEG-2 영상 비트 스트림에서의 에러발생 검출 및 이를 이용한 에러 은폐 및 복구를 효과적으로 수행할 수 있다.At this time, instead of performing error concealment on the data of only the corresponding macro block in which an error occurs, the reason for replacing the corresponding slice data of the previous frame with the corresponding slice data of the previous frame to conceal the error for all the corresponding slice data having the macro block in which the error occurs is currently This is because it is not possible to know in which position of the slice data the macroblock in which an error 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. As described above, according to the present invention, when an error occurs in a bit stream of an image frame image encoded by the algorithm of MPEG-2 and then reconstructed at a receiver, an image frame is provided to conceal or recover the generated error. By using the quantization scale information in the macro block included in the bit stream of D, it is possible to effectively perform error detection and error concealment and recovery in the MPEG-2 video bit stream accompanied by image quality degradation in the reproduced video.

Claims (7)

시스템 다중화 복호화 블록을 통해 분리되는 부호화된 MPEG-2 영상 프레임의 영상 비트 스트림에 대해 IVLC, 역양자화 및 IDCT의 기법을 포함하는 복호화 수단을 이용하여 부호화되기 이전의 원신호로 복원하며, 에러 은폐 및 복구 수단을 통해 상기 복원된 영상 프레임의 비트 스트림상에서 에러가 발생할 때 발생된 에러를 은폐 및 복구하기 위해 비트 스트림상에서의 에러신호 발생 위치를 검출하는 방법에 있어서, 상기 복원된 영상 프레임의 비트 스트림을 입력하여 마크로 블록내에 포함되는 복수의 각 정보들에 대한 코드워드 검색을 연속적으로 수행하여 소정 비트의 양자화 스케일 정보에 대한 코드워드를 검색하는 단계; 상기 검색된 양자화 스케일 정보에 대한 코드워드의 정보값을 검출하는 단계; 상기 정보값 검출단계에서의 체크 결과, 상기 검출된 양자화 스케일 정보값이 제로 이외의 다른 정수값인 것으로 판단되면 상기 에러신호를 발생하지 않고, 상기 검출된 양자화 스케일 정보값이 제로값인 것으로 판단되면 상기 에러신호를 발생하여 상기 에러 은폐 및 복구 수단에 제공하는 단게; 및 상기 발생된 에러신호에 의거하여 상기 복원된 영상 프레임의 비트 스트림 중 에러가 발생된 비트 스트림 구간에서의 에러 은폐 및 복구를 수행하는 단계로 이루어진 MPEG-2 영상 비트 스트림에서의 에러 검출방법.An image bit stream of an encoded MPEG-2 image frame separated through a system multiplexing decoding block is restored to an original signal before being encoded using decoding means including techniques of IVLC, inverse quantization, and IDCT, and error concealment and A method of detecting an error signal occurrence position on a bit stream to conceal and recover an error generated when an error occurs on a bit stream of the restored video frame by means of recovery means, the method comprising: Retrieving a codeword for a predetermined bit of quantization scale information by continuously performing codeword search on a plurality of pieces of information included in a macro block by input; Detecting an information value of a codeword for the retrieved quantization scale information; If it is determined in the information value detecting step that the detected quantization scale information value is an integer value other than zero, the error signal is not generated, and if it is determined that the detected quantization scale information value is zero value. Generating the error signal and providing the error signal to the error concealment and recovery means; And performing error concealment and recovery in the bit stream section in which an error occurs among the bit streams of the reconstructed video frame based on the generated error signal. 제1항에 있어서, 상기 양자화 스케일 정보값은, 5 비트의 고정길이를 갖는 것을 특징으로 하는 MPEG-2 영상 비트 스트림에서의 에러 검출방법.The error detection method of claim 1, wherein the quantization scale information value has a fixed length of 5 bits. 제2항에 있어서, 상기 검색된 양자화 스케일 정보값에 기초하여 발생하는 에러신호는, 0 또는 1의 논리값을 갖는 플러그 신호인 것을 특징으로하는 MPEG-2 영상 비트 스트림에서의 에러 검출방법.The error detection method of claim 2, wherein the error signal generated based on the retrieved quantization scale information value is a plug signal having a logic value of 0 or 1. 제1항, 제2항 또는 제3항에 있어서, 상기 복원된 영상 비트 스트림에서의 에러검출은, 각 마크로 블록 단위로 수행하는 것을 특징으로 하는 MPEG-2 영상 비트 스트림에서의 에러 검출방법.The method of claim 1, 2 or 3, wherein error detection in the reconstructed video bit stream is performed in units of macro blocks. 제4항에 있어서, 상기 복원된 영상 비트 스트림에서의 에러 은폐 및 복구는 ,상기 에러 발생이 검출된 마크로 블록이 포함되는 현재 입력되는 상기 영상 프레임의 하나의 슬라이스 데이터 단위로 수행하는 것을 특징으로 하는 MPEG-2 영상 비트 스트림에서의 에러 검출방법.5. The method of claim 4, wherein error concealment and recovery in the reconstructed image bit stream are performed in units of one slice data of the currently input image frame including a macro block in which the error occurrence is detected. Error detection method in MPEG-2 video bit stream. 제5항에 있어서, 상기 에러 발생이 검출된 현재 영상 프레임에서의 해당 슬라이스 데이터의 에러 은폐 및 복구는, 상기 에러 은폐 및 복구 블록에 기저장되어 있는 시간축상에서 바로 인접하는 이전 영상 프레임내에서의 공간축상의 대응하는 슬라이스 데이터를 이용하여 수행하는 것을 특징으로 하는 MPEG-2 영상 비트 스트림에서의 에러 검출방법.The method according to claim 5, wherein the error concealment and recovery of the slice data in the current image frame in which the error occurrence is detected is a space in a previous image frame immediately adjacent on the time axis prestored in the error concealment and recovery block. An error detection method in an MPEG-2 video bit stream characterized by performing using corresponding slice data on an axis. 제6항에 있어서, 상기 현재 영상 프레임에서 에러 발생이 검출된 해당 슬라이스 데이터는, 에러 은폐 및 복구를 위해 상기 이전 영상 프레임내의 대응하는 슬라이스 데이터로 대체되는 것을 특징으로 하는 MPEG-2 영상 비트 스트림에서의 에러 검출방법.7. The MPEG-2 video bit stream of claim 6, wherein the slice data of which an error is detected in the current video frame is replaced with corresponding slice data in the previous video frame for error concealment and recovery. Error detection method.
KR1019960005391A 1996-02-29 1996-02-29 Method for detecting error of bit stream in mpeg-2 algorithm KR100203719B1 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
KR970064257A KR970064257A (en) 1997-09-12
KR100203719B1 true KR100203719B1 (en) 1999-06-15

Family

ID=19452261

Family Applications (1)

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

Country Status (1)

Country Link
KR (1) KR100203719B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010109079A (en) * 2000-05-30 2001-12-08 포만 제프리 엘 Method of detecting errors of image reading and apparatus for detecting the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010109079A (en) * 2000-05-30 2001-12-08 포만 제프리 엘 Method of detecting errors of image reading and apparatus for detecting the same

Also Published As

Publication number Publication date
KR970064257A (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
EP0467040B1 (en) Adaptive motion compensation for digital television
RU2409005C2 (en) Method of scalable coding and decoding of video signal
EP1127467B1 (en) Error concealment in a video signal
US6130911A (en) Method and apparatus for compressing reference frames in an interframe video codec
KR19990067723A (en) Dynamically determining group of picture size during encoding of video sequence
JPH05276502A (en) Equipment and method for processing field group in video data compression system
KR20060043051A (en) Method for encoding and decoding video signal
KR20060043118A (en) Method for encoding and decoding video signal
JP3623056B2 (en) Video compression device
US6040875A (en) Method to compensate for a fade in a digital video input sequence
KR100203719B1 (en) Method for detecting error of bit stream in mpeg-2 algorithm
KR100213289B1 (en) Method for detecting error of bit stream in h.263 algorithm
KR0178221B1 (en) Improved pattern vector encoding system using average value of pixels
Jordan Software-embedded data retrieval and error concealment scheme for MPEG-2 video sequences
KR100212543B1 (en) Method for detecting error of bit stream for intra frame in mpeg-2 algorithm
KR100213290B1 (en) The error detecting method in bit stream of mpeg-2 intraframe
KR100213288B1 (en) Method for detecting error of bit stream in h.263 algorithm
KR0178242B1 (en) Error detection method of h. 263 image bit stream
KR100203711B1 (en) Method for detecting error of bit stream in h.263 algorithm
KR100203626B1 (en) Object based encoder for full motion image
KR100220579B1 (en) Method for detecting error of bit stream in h.263 algorithm
KR100220578B1 (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
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110302

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee