KR100557047B1 - Method for moving picture decoding - Google Patents

Method for moving picture decoding Download PDF

Info

Publication number
KR100557047B1
KR100557047B1 KR1020020064273A KR20020064273A KR100557047B1 KR 100557047 B1 KR100557047 B1 KR 100557047B1 KR 1020020064273 A KR1020020064273 A KR 1020020064273A KR 20020064273 A KR20020064273 A KR 20020064273A KR 100557047 B1 KR100557047 B1 KR 100557047B1
Authority
KR
South Korea
Prior art keywords
information
image
video
gfid
gob
Prior art date
Application number
KR1020020064273A
Other languages
Korean (ko)
Other versions
KR20040034187A (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 KR1020020064273A priority Critical patent/KR100557047B1/en
Publication of KR20040034187A publication Critical patent/KR20040034187A/en
Application granted granted Critical
Publication of KR100557047B1 publication Critical patent/KR100557047B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/136Incoming video signal characteristics or properties
    • 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]

Landscapes

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

Abstract

본 발명은 무선망을 이용한 통신기를 이용하여 압축된 동영상 정보를 송수신할 때, 발생하는 영상 포맷의 크기 정보 오류를 개선하여 화질 저하를 방지 할 수 있는 동영상 디코딩 방법을 개시한다. 개시된 본 발명은 영상 데이터 신호를 수신하는 단계, 상기 수신된 영상 데이터를 디코딩하고 이 디코딩된 영상 데이터의 크기를 판단하는 단계, 상기 크기가 판단된 영상 데이터를 QCIF를 비교하여 상기 QCIF보다 작은지를 판단하는 단계, 상기 디코딩 되는 영상 크기 정보가 상기 QCIF보다 작은 경우에는 영상 프레임내에 GOB 헤더 정보가 존재하는지를 판단하는 단계, 상기 영상 프레임내에 GOB 헤더 정보가 있는 경우에는 상기 GOB내의 GFID 정보들이 같은 값을 갖는지를 판단하는 단계, 상기 디코딩 되는 영상 프레임의 GFID 정보가 같은 경우에는 그 GFID 정보 값과 이전 디코딩 된 영상 프레임의 GOB내의 GFID 정보와 같은 가를 판단하는 단계; 및 상기 이전 디코딩 된 영상 프레임의 GFID 정보와 현재 디코딩 되는 영상 프레임의 GOB 내의 GFID 정보가 같은 경우에는 상기 이전 영상 포맷의 영상 크기 정보를 사용하여 디코딩하는 단계를 포함한다. The present invention discloses a video decoding method capable of preventing image quality deterioration by improving size information error of a video format generated when transmitting and receiving compressed video information using a communication device using a wireless network. According to an exemplary embodiment of the present invention, there is provided a method of receiving an image data signal, decoding the received image data and determining the size of the decoded image data, and comparing the determined image data with QCIF to determine whether the image data is smaller than the QCIF. Determining whether GOB header information exists in an image frame if the decoded image size information is smaller than the QCIF; and if GOB header information exists in the image frame, whether the GFID information in the GOB has the same value Determining whether the GFID information of the decoded image frame is the same as the GFID information value and the GFID information in the GOB of the previously decoded image frame; And if the GFID information of the previously decoded image frame and the GFID information in the GOB of the currently decoded image frame are the same, decoding using the image size information of the previous image format.

동영상, CIF, GOB, 오류, GFID, 영상 포맷Video, CIF, GOB, Error, GFID, Video Format

Description

동영상 디코딩 방법{METHOD FOR MOVING PICTURE DECODING}How to decode video {METHOD FOR MOVING PICTURE DECODING}

도 1은 종래 기술에 따른 동영상 디코더의 구조를 도시한 블럭도.1 is a block diagram showing the structure of a video decoder according to the prior art.

도 2는 일반적으로 사용되는 영상 포맷 표준 값을 나타낸 도면.2 is a diagram illustrating commonly used image format standard values.

도 3은 종래 기술에 따라 디코딩 과정에서 영상 포맷 오류가 나타날 경우 문제점을 설명하기 위한 도면.3 is a view for explaining a problem when an image format error appears in the decoding process according to the prior art.

도 4는 일반적으로 비트스트림 상태로 들어오는 픽쳐 프레임의 헤더 정보를 나타내는 도면.4 is a diagram illustrating header information of a picture frame generally coming in a bitstream state.

도 5는 본 발명에서 사용하는 픽쳐 프레임의 GOB 헤더 정보를 도시한 도면.5 illustrates GOB header information of a picture frame used in the present invention.

도 6은 본 발명에 따라 동영상 디코딩 과정에서 영상 포맷 에러를 보정하는 방법을 도시한 플로 챠트.6 is a flowchart illustrating a method of correcting an image format error in a video decoding process according to the present invention.

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

1: 버퍼부 3: VLD1: buffer section 3: VLD

5: 에러 감지/복원부 7: 역양자화부5: error detection / recovery unit 7: inverse quantization unit

9: 역DCT 10: 디스플레이부9: reverse DCT 10: display unit

12: 움직임 보상기(MC) 15: 영상 프레임 메모리12: motion compensator (MC) 15: image frame memory

본 발명은 동영상 디코딩 방법에 관한 것으로, 보다 구체적으로는 IMT-2000등과 같이 무선으로 동영상 데이터를 송수신하는 시스템에서 다중 경로를 통하여 영상 데이터가 송수신 될 때 발생되는 영상 포맷 크기 정보 에러를 보정하여 화질 개선과 효율적으로 디코딩할 수 있는 동영상 디코딩 방법에 관한 것이다.The present invention relates to a video decoding method, and more particularly, to improve video quality by correcting an image format size information error generated when video data is transmitted and received through multiple paths in a system for transmitting and receiving video data wirelessly, such as IMT-2000. And it relates to a video decoding method that can be efficiently decoded.

현재, 그리고 미래의 통신 환경은 유선과 무선의 영역 구분이나, 지역 국가의 구분을 초월할 만큼 급변하고 있으며, 특히 IMT-2000 등으로 대별되는 미래 통신 환경은 영상과 음성은 물론 사용자가 필요로 하는 다양한 정보를 실시간으로, 또는 종합적으로 제공하는 환경으로 구축되어 가는 추세이다.The current and future communication environments are rapidly changing beyond the distinction between wired and wireless areas and regional countries. In particular, future communication environments, such as IMT-2000, require users as well as video and audio. The trend is to build an environment that provides various information in real time or comprehensively.

또한, 개인 휴대 통신 시스템의 발달은 현재 셀룰러폰이나 PCS등에서도 단순히 음성 통신만을 수행하던 차원에서 벗어나서 문자 정보의 전송은 물론, 개인 휴대 통신 단말기를 이용해서 무선으로 인터넷에 접속하거나, TV에서나 보던 동영상들을 송신할 수 있도록 개발되어지고 있다.In addition, the development of the personal mobile communication system is not only a voice communication in the cellular phone or PCS, but also to transmit text information as well as to access the Internet wirelessly using a personal mobile communication terminal, or to watch videos on TV It is being developed to transmit the data.

특히, 동영상을 디지털 데이터로 가공하여 실시간으로 전송하고 또 이 것을 수신하여 디스플레이 하는 디지털 텔레비전 시스템과, 실시간으로 전송되는 동영상을 IMT2000을 이용한 개인 휴대 단말기 등에서는 필수적인 요소로 자리 잡아 가고 있는 실정이다.In particular, a digital television system that processes a video into digital data, transmits the data in real time, receives the video, and displays the video, and the video transmitted in real time is becoming an essential element in a personal portable terminal using the IMT2000.

이것은 종래에는 휴대 단말기가 사람의 음성만을 송수신 하도록 되어 있었으나, 멀티 미디어의 개발과 디지털 정보처리 기술의 발달로 인하여 음성, 영상등 다양한 정보들을 송신할 수 있게 되었다.In the related art, the portable terminal transmits and receives only human voice, but due to the development of multimedia and the development of digital information processing technology, various information such as voice and video can be transmitted.

이와 같은 기술이 상용화될 수 있었던 것은 무엇보다도 아날로그 영상 신호를 양자화, 가변장부호화등 특수한 디지털 처리를 한 다음, 이를 디지털 정보에 포함시켜 송신하고, 수신되는 단말기에서는 이를 반대로 디코딩함으로써 빠른 전송 속도와 보다 풍부한 정보량을 송수신 하도록 한 동영상 압축기술의 발달이 크게 기여하였다.Above all, this technology has been commercialized. First of all, the analog video signal is subjected to special digital processing such as quantization and variable length encoding, and then included in the digital information and transmitted. The development of video compression technology, which makes it possible to send and receive rich amounts of information, greatly contributed.

최근 디지털 신호처리 기술의 발전에 힘입어 제한된 대역폭의 전송 채널을 통해 많은 양의 동영상 정보를 압축, 전송하는 방식들이 개발되어 왔으나, 전송 채널 상의 오류가 발생하면 복원 영상의 화질이 크게 저하되는 문제가 생긴다.Recently, with the development of digital signal processing technology, methods of compressing and transmitting a large amount of video information through a limited bandwidth transmission channel have been developed. However, if an error occurs on the transmission channel, the quality of the reconstructed image is greatly reduced. Occurs.

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

특히 MPEG(Moving Picture Experts Group)과 같은 경우 에러(error)가 발생하면 다음 동기 신호인 슬라이스 헤더를 찾을 때까지의 모든 정보를 손실하게 된다. 또한, 움직임 보상 부호화기법을 이용하기 때문에 손상된 부분의 영향이 이후 계속된 여러 장의 프레임에 걸쳐 계속된다.In particular, in the case of an MPEG (Moving Picture Experts Group), when an error occurs, all information until the next sync signal is found is lost. In addition, since the motion compensation encoding technique is used, the influence of the damaged portion is continued over the subsequent frames.

인코딩된 동영상 비트스트림을 디코더에서 디코딩할 때 인코딩 시에 삽입된 정보에 따라 정확하게 디코딩하여야 양질의 화질을 구현할 수 있다.When the encoded video bitstream is decoded by the decoder, it is necessary to correctly decode according to the information inserted at the time of encoding so as to realize high quality image quality.

도 1은 종래 기술에 따른 동영상 디코더의 구조를 도시한 블럭도이다.1 is a block diagram showing the structure of a video decoder according to the prior art.

도 1에 도시된 바와 같이, 부호화된 영상 데이터가 비트스트림(bit stream) 형태로 디코더 부에 들어오면 이를 원래의 영상으로 복원하기 위하여 인코더에서 행해지는 부호화와 반대 방향의 처리 단계로 복호화가 이루어진다.As shown in FIG. 1, when the encoded image data enters the decoder unit in the form of a bit stream, decoding is performed in a processing step opposite to encoding performed by an encoder in order to restore the original image.

따라서, 압축된 영상 비트스트림을 복호화 하는 디코더는 수신되는 영상 비트스트림의 데이터 양을 임시적으로 저장하는 버퍼부(1)와, 상기 버퍼부(1)에 저장되어 있는 비트스트림을 영상으로 재현하기 위하여 디코딩 작업을 하는 가변장복호화기(Variable Length Decoding :VLD 3)와, 상기 가변장복호화기(3)로부터 디코딩된 영상 비트스트림에서 에러 검출, 움직임 벡터 복원 및 영상 재현을 위한 에러 감지/복원부(5)와, 상기 에러 감지/복원부(5)에서 영상 재현을 위하여 영상 정보들은 인코더에서 실시한 압축 방식의 반대 방향으로 진행하는 역양자화와 역이산여현변환을 실시하는 역양자화부(Inverse Quantization:7)와 역DCT(Inverse Discrete Cosine Transform: 9), 상기 에러 감지/복원부(5)에서 복원한 움직임 벡터를 보상하기 위한 움직임 보상기(Motion Compensation: MC 12)와, 동영상을 디스플레이 하는 디스플레이부(10)로부터 이전 영상들을 저장하는 영상 프레임 메모리(15)로 구성되어 있다.Therefore, the decoder for decoding the compressed video bitstream includes a buffer unit 1 that temporarily stores the data amount of the received image bit stream and a bit stream stored in the buffer unit 1 to reproduce the image. Variable Length Decoding (VLD 3) for decoding and an error detection / reconstruction unit for error detection, motion vector restoration and image reproduction in the image bitstream decoded from the variable length decoder (3) ( 5) and an inverse quantization unit for performing inverse quantization and inverse discrete cosine transform in the opposite direction of the compression method implemented by the encoder for reproducing the image in the error detection / recovery unit (7). ) And an Inverse Discrete Cosine Transform (9), a Motion Compensation (MC 12) for compensating for the motion vector reconstructed by the error detection / recovery unit (5), and The image consists of a frame memory 15 for storing the previous image from the display section 10 to display.

상기와 같은 구조를 갖는 디코더에 의하여 압축된 동영상이 재현되는 과정은 다음과 같다.The process of reproducing the compressed video by the decoder having the above structure is as follows.

아날로그 영상 신호를 인코더(encoder)에서 이산여현변환(Discrete Cosine Transform), 양자화(Quantization)를 거쳐 부호화를 시킨 다음, 이를 정보의 빈도 수에 따라 비트 길이를 차별화 하는 가변장부호화 작업을 수행하고, 이를 압축된 영상 비트스트림(bit stream) 상태로 외부로 송신한다.The analog video signal is encoded by Discrete Cosine Transform and Quantization in an encoder, and then variable length encoding is performed to differentiate the bit length according to the frequency of information. It is transmitted to the outside in the compressed video bit stream state.

상기 부호화기에서 압축된 영상 정보는 상대편 단말기에서 수신하여 내부의 코덱에 전송된 다음, 디코더(decoder)에서 이를 복원하게 된다. 상기 디코더에서는 먼저 전송되어온 영상 정보를 임시적으로 저장하기 위하여 상기 버퍼부(1)에 저장한다. 상기 버퍼부(1)에 저장된 압축된 동영상 비트스트림은 상기 가변장복호화기(3)에서 압축된 비트스트림의 값, 길이 등을 이차원부호화로 변환시킨 후에 에러 검출 및 이의 대응을 위하여 상기 에러 감지/복원부(5)에서 움직임 벡터 값과 에러(error) 여부를 감지한다.The video information compressed by the encoder is received by the other terminal, transmitted to the internal codec, and then decoded by the decoder. The decoder stores the image information transmitted first in the buffer unit 1 to temporarily store the image information. The compressed video bitstream stored in the buffer unit 1 converts the value, length, etc., of the compressed bitstream by the variable length decoder 3 into two-dimensional encoding, and then detects the error / The restoration unit 5 detects a motion vector value and whether an error occurs.

그런 다음, 상기 에러 감지/복원부(5)로부터 인가되는 압축 영상을 인코더(encoder)에서 압축할 때와 반대 방향으로 다시 복원 과정을 거친다. 상기 역양자화부(7)에서 역스캔 및 역 양자화된 다음, 역 이산여현변환기(IDCT: 9)(103)에서 IDCT 변환을 실시한다.Then, the compressed image applied from the error detection / recovery unit 5 is reconstructed in the opposite direction as when the encoder is compressed by the encoder. The inverse quantization unit 7 performs inverse scan and inverse quantization, and then performs inverse discrete cosine transformer (IDCT) 9 (103) for IDCT conversion.

이렇게 역이산여현변환(Inverse Discrete Cosine Transform)이 이루어진 영상 신호를 가산기(11)에 입력시키는데, 상기 가산기(11)에서는 복원하는 영상 프레임이 처음 시작하는 인트라 모드(Intra Mode) 영상인가, 이전 영상 프레임이 존재하는 인터 모드(Inter Mode) 영상인가를 파악한 다음, 인트라 모드 영상인 경우에는 이전 영상이 존재하지 않아 자체내 영상 프레임에서 예측을 실시한 다음, 상기 디스플레이부(10)에서 영상을 재현한다.The video signal, which has been subjected to the Inverse Discrete Cosine Transform, is input to the adder 11, in which the reconstructed video frame is an intra mode image that is first started or a previous video frame. After determining whether or not the existing Inter Mode image is present, in the case of the intra mode image, since the previous image does not exist, prediction is performed in an internal frame of the image, and then the display unit 10 reproduces the image.

그리고, 인터 모드로 판단된 경우에는 이전 디코딩된 영상이 존재하므로, 디코딩된 영상으로부터 움직임 정도를 판단하여 움직임 벡터를 구한다. 상기 움직임 벡터를 추출한 후 현재 디코딩되는 영상의 움직을 보상을 위하여 움직임 보상기(Motion Compensation: 12)에서 차분치 값을 구하여 현재 디코딩되는 영상을 보상하게 된다.In case of determining the inter mode, a previously decoded image exists, and thus, a motion vector is determined by determining a degree of motion from the decoded image. After the motion vector is extracted, a difference value is obtained by a motion compensator 12 to compensate for the movement of the currently decoded image, thereby compensating the currently decoded image.

상기 움직임 보상기(12)에서는 상기 디스플레이부(10)에서 재현되는 이전 영상 프레임을 저장하는 상기 영상 프레임 메모리(15)로부터 상기 에러 감지/복원부(5)에서 추출된 움직임 벡터의 차를 구하여 디코딩된 영상을 보상한다.The motion compensator 12 obtains and decodes a difference of motion vectors extracted from the error detection / recovery unit 5 from the image frame memory 15 storing a previous image frame reproduced by the display unit 10. Compensate the video.

그러므로 상기 움직임 보상기(12)에서 이전 영상 프레임으로부터 현재 움직임 벡터 값을 뺀 차를 상기 가산기(11)에 전송하고, 압축된 비트스트림이 이전 영상 프레임이 존재하는 인터 모드(Inter mode)인 경우에는 상기 역DCT된 값과 합하여 영상을 재현하게 된다.Therefore, the motion compensator 12 transmits the difference obtained by subtracting the current motion vector value from the previous video frame to the adder 11, and when the compressed bitstream is an inter mode in which the previous video frame exists, The image is reproduced by adding the inverse DCT values.

상기에서 복원되는 영상 프레임은 각각의 매크로 블럭 단위로 구분되어 있는데, 각각의 매크로 블럭의 데이터들은 디코딩 되면서 움직임 벡터를 포함하고 있고, 이러한 움직임 벡터들은 일정한 방향을 지시하고 있다. 동영상 압축 기술은 이러한 움직임 벡터를 이용하여 이전 영상 프레임의 매크로 블럭을 가져와 현재 영상 프레임을 복원하는 방식을 취하여 압축률을 줄인다.The reconstructed image frame is divided into macroblock units, and the data of each macroblock includes a motion vector as it is decoded, and these motion vectors indicate a predetermined direction. Video compression technology reduces the compression rate by taking a macro block of a previous video frame and restoring the current video frame by using the motion vector.

도 2는 일반적으로 사용되는 영상 포맷 표준 값을 나타낸 도면이다.2 is a diagram illustrating a commonly used image format standard value.

도 2에 도시된 바와 같이, 일반적으로 무선 통신단말기를 이용하여 비디오 신호 포맷의 영상 크기 정보는 CIF와 이를 1/4로 축소한 QCIF의 크기로 포맷시켜 영상을 재현한다. 영상 포맷을 할 때, 영상의 크기는 인코더에서 부호화를 진행할 때, 복호화될때 영상의 크기가 어느 정도 범위에서 복원이 된다는 정보를 함께 실어 보내고, 디코더에서는 이렇게 상기 인코더에서 부호화된 영상 정보를 복원하면서 일정한 크기로 디스플레이 한다.As shown in FIG. 2, in general, image size information of a video signal format using a wireless communication terminal is reproduced by formatting the CIF and the size of QCIF reduced to 1/4. When the video is formatted, the size of the video is encoded while the encoder is encoding, and when the decoder is decoded, the size of the video is conveyed together with information indicating that the size of the video is restored to a certain range, and the decoder restores the video information encoded by the encoder. Display in size.

따라서, 인코더에서나 디코더에서는 허용 가능한 영상 크기를 범위 내에서 영상을 포맷하게되고, 부호화를 할 때 영상 크기 정보를 비트 신호로 처리하여 영상 비트스트림과 함께 전송한다.Accordingly, an encoder or a decoder formats an image within an allowable image size, and when encoding, the image size information is processed as a bit signal and transmitted together with the image bitstream.

특히 IMT 2000에서는 QCIF보다 더 작은 영상 크기인 보조 QCIF도 사용하는데, 따라서 상기 보조 QCIF와 QCIF 은 상기와 같은 동영상을 송수신하는 통신 단말기에서 제공하고 있다. 영상 프레임 x축을 따라 휘도 화소들과 y 축을 따라 휘도 라인의 수로 영상 크기를 나타내고, 매크로 블록의 종렬 방향으로 두개의 색차 블록이 오는데 그 색차 블록도 x축 방향의 휘도 화소들과 y축 방향의 휘도 라인수로 크기를 표현한다.In particular, IMT 2000 also uses an auxiliary QCIF, which is a smaller image size than QCIF. Accordingly, the auxiliary QCIF and QCIF are provided by a communication terminal that transmits and receives the video. The image size is represented by the number of luminance pixels along the x-axis and the luminance lines along the y-axis, and two color difference blocks are provided in the vertical direction of the macro block. The color difference block also has luminance pixels in the x-axis and luminance in the y-axis. Expresses size in number of lines.

보조(sub) QCIF는 128*96 색차 블록 64*48 크기이고, QCIF는 176*144 색차 블록 88*72, CIF는 352* 288 색차 블록 176*144, 4CIF는 704*576 색차 블록 352*288, 16CIF는 1408*1152 색차 블록 704*576의 크기로 이루어져 있다.Sub QCIF is 128 * 96 color difference block 64 * 48 size, QCIF is 176 * 144 color difference block 88 * 72, CIF is 352 * 288 color difference block 176 * 144, 4CIF is 704 * 576 color difference block 352 * 288, The 16CIF has a size of 1408 * 1152 chrominance blocks 704 * 576.

상기와 같은 정보는 일반적으로 픽쳐 헤더 정보에 포함되어 있고, 디코딩할 때 이러한 영상 크기 정보를 인식하여 디코딩한다.Such information is generally included in picture header information, and when decoding, such image size information is recognized and decoded.

그러나, 종래 기술에 의한 디코딩 방법은 디코더에서 압축된 동영상 비트스트림을 인코더에서 삽입된 영상 포맷 정보에 따라 디코딩을 하여 디스플레이 하게 되는데, 영상 포맷 정보가 송수신 되는 과정에서 에러가 발생하는 경우에는 화질 저하를 초래한다.However, the decoding method according to the related art decodes and displays the video bitstream compressed by the decoder according to the image format information inserted in the encoder. When an error occurs in the process of transmitting and receiving the image format information, the image quality is deteriorated. Cause.

예를 들어 설명하면 다음과 같다.For example, as follows.

도 3은 종래 기술에 따라 디코딩 과정에서 영상 포맷 오류가 나타날 경우 문 제점을 설명하기 위한 도면이다.3 is a diagram illustrating a problem when an image format error appears in a decoding process according to the prior art.

도 3에 도시된 바와 같이, IMT2000과 같은 통신 기기에서는 인코더에서 인코딩한 영상 프레임의 다양한 크기에 따라 디코더에서 디코딩 되는 영상 프레임의 크기는 일반적으로 보조 QCIF 및 QCIF의 크기로 디코딩 하도록 되어 있다.As shown in FIG. 3, in a communication device such as IMT2000, a size of an image frame decoded by a decoder according to various sizes of an image frame encoded by an encoder is generally decoded to a size of an auxiliary QCIF and a QCIF.

따라서, 영상 포맷 크기 정보에 관한 디지털 정보가 "001"은 보조 QCIF, "010"은 QCIF, "011"은 CIF, "100"은 4CIF 및 "101"은 16CIF를 나타낸다고 할 때, 인코딩된 영상 비트스트림의 정보가 송신되어 디코더에서 "010"의 QCIF로 디스플레이 하도록 정보를 추가하였지만, 채널 에러로 인하여 디코더에서 제공되지 않는 "011", "100", "101"등으로 바뀌었다면 메모리 할당 및 디코딩 처리 등에 많은 문제가 발생하게 된다.Therefore, when the digital information about the image format size information indicates that "001" represents auxiliary QCIF, "010" represents QCIF, "011" represents CIF, "100" represents 4CIF, and "101" represents 16CIF. If the information of the stream is transmitted and added to display in the decoder at QCIF of "010", but the channel error is changed to "011", "100", "101" etc. which are not provided by the decoder, memory allocation and decoding processing is performed. Many problems occur on the back.

아울러, 디코더에서 영상 메모리 억세스와 처리가 불가능하게 되어 디코딩 후 디스플레이 되지 못하거나 다른 영상 포맷으로 디스플레이 되어 화질 저하를 초래하게 된다.In addition, the image memory access and processing in the decoder is impossible to be displayed after decoding or displayed in other image formats, resulting in deterioration of image quality.

본 발명은, 무선망을 이용하여 동영상 정보를 송수신할 때 채널 에러로 인하여 발생하는 영상 크기 정보의 에러를 디코더에서 보정하면서 디코딩 하도록 하여 효율적인 디코딩 작업이 이루어지면서, 화질 저하를 방지할 수 있는 동영상 디코딩 방법을 제공함에 그 목적이 있다.The present invention can be decoded while correcting the error of the image size information caused by a channel error when transmitting and receiving video information using a wireless network in the decoder to perform an efficient decoding operation, while preventing video quality degradation The purpose is to provide a method.

상기한 목적을 달성하기 위한, 본 발명에 따른 동영상 디코딩 방법은,
영상 데이터 신호를 수신하는 단계;
상기 수신된 영상 데이터를 디코딩하고 이 디코딩된 영상 데이터의 크기를 판단하는 단계;
상기 크기가 판단된 영상 데이터를 QCIF를 비교하여 상기 QCIF보다 작은지를 판단하는 단계;
상기 디코딩 되는 영상 크기 정보가 상기 QCIF보다 작은 경우에는 영상 프레임내에 GOB 헤더 정보가 존재하는지를 판단하는 단계;
상기 영상 프레임내에 GOB 헤더 정보가 있는 경우에는 상기 GOB내의 GFID 정보들이 같은 값을 갖는지를 판단하는 단계;
상기 디코딩 되는 영상 프레임의 GFID 정보가 같은 경우에는 그 GFID 정보 값과 이전 디코딩 된 영상 프레임의 GOB내의 GFID 정보와 같은 가를 판단하는 단계; 및
상기 이전 디코딩 된 영상 프레임의 GFID 정보와 현재 디코딩 되는 영상 프레임의 GOB 내의 GFID 정보가 같은 경우에는 상기 이전 영상 포맷의 영상 크기 정보를 사용하여 디코딩하는 단계;를 포함한다.
In order to achieve the above object, a video decoding method according to the present invention,
Receiving an image data signal;
Decoding the received image data and determining the size of the decoded image data;
Determining whether the image data having the size is smaller than the QCIF by comparing QCIF;
Determining whether GOB header information exists in an image frame when the decoded image size information is smaller than the QCIF;
Determining whether GFID information in the GOB has the same value when there is GOB header information in the video frame;
If the GFID information of the decoded video frame is the same, determining whether the GFID information value is equal to the GFID information in the GOB of the previously decoded video frame; And
And if the GFID information of the previously decoded image frame and the GFID information in the GOB of the currently decoded image frame are the same, decoding using image size information of the previous image format.

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

여기서, 상기 현재 디코딩 되는 영상 포맷의 영상 크기 정보와 QCIF 정보와 비교하여 영상 크기 정보가 QCIF보다 큰 경우에는 상기 현재 디코딩 되는 영상 포맷의 영상 크기 정보를 QCIF로 제한하여 디코딩하고, 상기 현재 디코딩 되는 영상 포맷의 영상 프레임내에 GOB 헤더 정보가 없는 경우에는 이전 영상 포맷의 영상 크기 정보와 상기 현재 디코딩 되는 영상 포맷의 영상 크기 정보가 같은 지를 판단하 는 것을 특징으로 한다.Here, when the image size information is larger than QCIF compared with the image size information and QCIF information of the currently decoded image format, the image size information of the currently decoded image format is limited to QCIF and decoded, and the currently decoded image When there is no GOB header information in the format image frame, it is determined whether the image size information of the previous image format and the image size information of the currently decoded image format are the same.

그리고 상기 이전 영상 포맷의 영상 크기 정보와 현재 디코딩 되는 영상 포맷의 영상 크기 정보가 같은 경우에는 현재 디코딩 되는 영상 포맷의 영상 크기 정보를 그대로 사용하여 디코딩하고, 상기 이전 영상 포맷의 영상 크기 정보와 현재 디코딩 되는 영상 포맷의 영상 크기 정보가 다른 경우에는 다음에 디코딩하는 영상 데이터의 PSC 정보로 부터 영상 크기 정보를 얻어 디코딩하는 것을 특징으로 한다.If the image size information of the previous image format and the image size information of the currently decoded image format are the same, the image size information of the currently decoded image format is decoded as it is, and the image size information and the current decoding of the previous image format are decoded. If the video size information of the video format is different, the video size information may be obtained from the PSC information of the video data to be decoded and then decoded.

아울러, 상기 현재 디코딩 되는 영상 프레임의 GOB 헤더 정보에 속하는 GFID 정보들이 다른 값을 갖는 경우에는 같은 값을 갖도록 보정하고, 상기 GOB내의 GFID들 중에서 같은 값으로 보정하는 기준은 상기 GFID 정보들 중에서 같은 값이 가장 많은 것이 오류가 없는 것으로 판단하여 그 값을 GFID 값으로 보정하며, 상기 현재 디코딩 되는 영상 프레임의 GOB 헤더 정보에 있는 GFID 정보와 이전 영상 프레임의 GOB 헤더 정보에 있는 GFID 정보가 같은 경우에는 이전 영상 프레임의 영상 포맷을 그대로 사용하고, 상기 디코딩 된 영상 프레임의 GOB 헤더 정보에 있는 GFID 정보와 이전 영상 프레임의 GOB 헤더 정보에 있는 GFID 정보가 다른 경우에는 디코딩 된 영상 프레임의 픽쳐 헤더 정보, GOB 정보 및 매크로 블럭 정보를 이용하여 보정하는 것을 특징으로 한다.In addition, when the GFID information belonging to the GOB header information of the currently decoded video frame has different values, the GFID information is corrected to have the same value, and the criterion for correcting the same value among the GFIDs in the GOB is the same value among the GFID information. It is determined that most of these errors are correct and the value is corrected to a GFID value. If the GFID information in the GOB header information of the currently decoded video frame is the same as the GFID information in the GOB header information of the previous video frame, If the GFID information in the GOB header information of the decoded video frame is different from the GFID information in the GOB header information of the previous video frame, the picture header information and the GOB information of the decoded video frame are different. And correcting using the macro block information.

본 발명에 의하면, IMT2000과 같이 동영상 정보를 무선으로 송수신 할 때 다중 경로에 의하여 발생하는 영상 포맷의 영상 크기 정보 에러를 효율적으로 보정하면서 디코딩하여 화질 저하를 방지한 이점이 있다.According to the present invention, there is an advantage of preventing image quality degradation by efficiently correcting and decoding an image size information error of an image format generated by multiple paths when transmitting and receiving video information wirelessly, as in IMT2000.

이하, 첨부한 도면에 의거하여 본 발명의 바람직한 실시 예를 자세히 설명하 도록 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 일반적으로 비트스트림 상태로 들어오는 픽쳐 프레임의 헤더 정보를 나타내는 도면이다.4 is a diagram illustrating header information of a picture frame generally coming in a bitstream state.

도 4에 도시된 바와 같이, 인코더에서 코딩된 동영상은 다음과 같이 픽쳐 헤더 정보, GOB 정보, 매크로 블럭 정보 등을 가지고 있다.As shown in FIG. 4, the video coded by the encoder has picture header information, GOB information, macro block information, and the like as follows.

압축된 비트스트림 동영상의 처음 시작됨을 나타내는 코드로서 PSC{Picture Start Code(22 bits)}와, 각각의 영상 프레임의 시계열 방향의 레퍼런스 번호를 나타내는 TR{Temporal Reference (8 bits)}와, 디코딩하는 영상 프레임의 픽쳐 타입을 식별할 수 있는 정보를 나타내는 PTYPE{Picture Type Information (Variable Length)}와, 인코더에서 영상 프레임이 양자화된 정보를 나타내는 PQUANT{Quantizer Information (5 bits)}와, 계속되는 현재 멀티 포인트와 비디오 멀티 플렉스를 나타내는 CPM{Continuous Presence Multipoint and Video Multiplex (1 bit)}와, PSBI{Picture Sub-Bitstream Indicator (2 bits)}와, P 픽쳐와 B픽쳐 프레임에서 B픽쳐에 대한 시간 기준을 나타내는 TRB{Temporal Reference for B-pictures in PB-frames (3/5 bits)}와, P픽쳐와 B픽쳐 프레임에서 B픽쳐에 대한 양자화 정보를 나타내는 DBQUANT{Quantization information for B-pictures in PB frames (2 bits)}와, 픽쳐 층으로서 이후 사용자 데이터가 있는지를 지정하는 PEI{Extra Insertion Information (1 bit)}와, 픽쳐 보상 강화 정보를 나타내는 PSUPP{Supplemental Enhancement Information (0/8/16 ... bits)}, 영상 프레임을 일정한 매크로 블럭 그룹단위로 구분한 GOB(Group Of Black)와 ESTUF{Stuffing (Variable length)}, EOS{End Of Sequence (22 bits)}, PSTUF{Stuffing(Variable length)}와 같은 정보를 포함한다.PSC {Picture Start Code (22 bits)} as a code indicating the beginning of a compressed bitstream video, TR {Temporal Reference (8 bits)} indicating a time-series reference number of each video frame, and a decoded video. PTYPE {Picture Type Information (Variable Length)} indicating information that can identify a picture type of a frame, PQUANT {Quantizer Information (5 bits)} indicating information of a picture frame quantized by an encoder, and the current multi-point being continued. Continuous Presence Multipoint and Video Multiplex (1 bit)} for video multiplex, Picture Sub-Bitstream Indicator (2 bits)}, and TRB for time reference for B picture in P picture and B picture frames {Temporal Reference for B-pictures in PB-frames (3/5 bits)}, and DBQUANT {Quantization information for B-pictures in P-picture and B-picture frame] PB frames (2 bits)}, PEI {Extra Insertion Information (1 bit)} which specifies whether there is user data thereafter as a picture layer, and PSUPP {Supplemental Enhancement Information (0/8/16. bits)}, GOB (Group Of Black) and ESTUF {Stuffing (Variable length)}, EOS {End Of Sequence (22 bits)}, PSTUF {Stuffing (Variable length) )}.

상기와 같은 압축된 동영상의 픽쳐 헤더 정보를 기준으로 상기 도 2의 디코더 시스템에서 디코딩을 실시하여 인코더에서 압축된 동영상을 재현하게 되는 것이다.Based on the picture header information of the compressed video, decoding is performed in the decoder system of FIG. 2 to reproduce the compressed video in the encoder.

도 5는 본 발명에서 사용하는 픽쳐 프레임의 GOB 헤더 정보를 도시한 도면이다.5 is a diagram illustrating GOB header information of a picture frame used in the present invention.

도 5에 도시된 바와 같이, 인코더에서 압축되는 동영상 비트스트림은 다수개의 영상 프레임이 시계열 방향으로 계속되고, 각각의 동영상 단위 마다 픽쳐 헤더 정보를 삽입시켜 디코딩 될 때 압축된 방향으로 일정 형식과 조건으로 디스플레이 되도록 하였다.As shown in FIG. 5, a video bitstream compressed by an encoder has a plurality of video frames continuing in a time-series direction, and in a predetermined format and condition in a compressed direction when the video header information is decoded by inserting picture header information for each video unit. To be displayed.

일반적으로 비트스트림 형태로 영상이 들어오면 하나의 단위 동영상은 다수개의 영상 프레임으로 되어 있고 각각의 영상 프레임에는 도 3에서 설명한 바와 같은, 픽쳐 헤더 정보가 삽입되어 진다.In general, when an image comes in a bitstream form, one unit video includes a plurality of image frames, and picture header information, as described with reference to FIG. 3, is inserted into each image frame.

여기서 영상 프레임은 각각 세로 방향으로 다수개의 GOB로 구분되는데 영상 프레임의 GOB 정보는 다음과 같이 이루어져 있다.Here, the image frame is divided into a plurality of GOBs in the vertical direction, respectively. GOB information of the image frame is composed as follows.

영상 프레임의 픽쳐 헤더 정보의 또 다른 작은 단위의 정보 단위로 방향의 다수개의 매크로 블럭을 구성 요소로 한다. 비트스트림 형태로 GSTUF{Group Stuffing(Variable length)}, GBSC{Group of Block Start Code (17 bits)}, GN{Group Number(5 bits)}, GSBI{GOB Sub-Bit stream Indicator(2 bits)}, GFID{GOB Frame ID(2 bits)}, GQUANT{Group of Quantizer Information(5 bits)}와 매크로 블럭으로 구성되어 있다. 도면에서는 명확하게 도시하지 않았지만 상기 매크로 블럭은 다시 4개의 블럭으로 구분되고 종 방향 두개의 색차 값을 갖는다.A plurality of macro blocks in the direction are constituted by another small unit of information unit of picture header information of an image frame. GSTUF {Group Stuffing (Variable length)}, GBSC {Group of Block Start Code (17 bits)}, GN {Group Number (5 bits)}, GSBI {GOB Sub-Bit stream Indicator (2 bits)} , GFID {GOB Frame ID (2 bits)}, GQUANT (Group of Quantizer Information (5 bits)) and a macro block. Although not clearly shown in the figure, the macro block is divided into four blocks again and has two color difference values in the longitudinal direction.

본 발명에서는 디코딩 작업에서 픽쳐 헤더 정보를 이용하여 픽쳐 타입을 판단하고, 상기 픽쳐 타입이 에러에 의하여 변화된 정보인가를 확인하기 위하여 각각의 영상 프레임의 GOB 정보를 참고한다. In the present invention, a picture type is determined using picture header information in a decoding operation, and the GOB information of each image frame is referred to to determine whether the picture type is information changed by an error.

즉, 하나에 대응하는 데이터만을 에러 보정을 이용하여 사용하는 것이 아니라 두 개의 데이터에 각각 대응하는 데이터를 사용함으로써 발생되는 에러 유무를 보다 정확하게 파악하여 보정함으로써 영상 품질을 향상시키는 것이다.In other words, instead of using only data corresponding to one by using error correction, image quality is improved by more accurately identifying and correcting an error generated by using data corresponding to two data.

따라서, 영상 압축 비트스트림에 포함되어 있는 픽쳐 헤더 정보 중에서 GOB내에 GFID가 존재하는데, 상기 GFID란 GOB내의 프레임 ID를 나타내는 것으로 2비트의 고정 길이를 갖고, 하나의 영상 프레임내의 GOB들에 있는 GFID는 모두 동일하다.Therefore, among the picture header information included in the video compression bitstream, the GFID exists in the GOB. The GFID represents a frame ID in the GOB, and has a fixed length of 2 bits. The GFID in the GOBs in one image frame All the same.

그러므로 이전 영상 프레임의 픽쳐 타입{PTYPE : Picture Type Information (Variable Length)}이 현재 디코딩할 영상 프레임과 같다면 픽쳐 헤더의 픽쳐 타입도 같고, 각각의 GOB 내의 GFID 값도 같아야 된다. 픽쳐 타입이 같으나 각각의 GOB내의 GFID 값이 다를 경우에는 채널 에러가 발생하여 픽쳐 타입이 변경된 것으로 보고 GFID를 기준으로 판단하여 보정한다.Therefore, if the picture type {PTYPE: Picture Type Information (Variable Length)} of the previous video frame is the same as the current video frame to be decoded, the picture type of the picture header should be the same, and the GFID value in each GOB should be the same. If the picture type is the same but the GFID value in each GOB is different, a channel error occurs and the picture type is changed and it is determined based on the GFID and corrected.

만약, GOB 헤더 정보가 없는 경우에는 픽쳐 에러 여부를 비교 판단할 자료가 없으므로 이후에 따라 나오는 매크로 블럭을 디코딩할 때 인트라 모드인지 인터 모 드인지를 구분하여 판단한다.If there is no GOB header information, since there is no data for comparing and determining picture errors, it is determined whether intra mode or inter mode is used to decode a macroblock that follows.

도 6은 본 발명에 따라 동영상 디코딩 과정에서 영상 포맷 에러를 보정하는 방법을 도시한 플로챠트이다.6 is a flowchart illustrating a method of correcting an image format error in a video decoding process according to the present invention.

도 6 에서 도시된 바와 같이, 상기 도4 및 도 5와 같은 픽쳐 헤더 정보와 GOB 헤더 정보를 비교 판단하여 영상 포맷 정보의 에러 여부를 판단하고, 계속해서 에러가 발생한 경우에는 이를 적정하게 보정하여 디코딩할 수 있도록 하였다.As shown in FIG. 6, the picture header information and the GOB header information of FIG. 4 and FIG. 5 are compared and judged to determine whether or not an image format information is an error. I could do it.

무선망 통신 채널을 통하여 압축된 영상 데이터가 비트스트림 형태로 수신되면, 디코더의 버퍼부에서는 디코딩하기 전에 임시로 저장한 후 가변장 부호화등 디코딩을 실시한다.When the compressed image data through the wireless network communication channel is received in the form of a bitstream, the buffer unit of the decoder temporarily stores before decoding and decodes variable length encoding.

여기서, 본 발명은 영상 프레임의 영상 포맷의 크기 정보가 디코딩 시에 발생하는 에러를 보정하기 위한 디코딩 방법이다.Here, the present invention is a decoding method for correcting an error that occurs when decoding the size information of the image format of the image frame.

영상 비트스트림으로 부터 디코딩하여(S601) 영상 포맷의 영상 크기가 IMT2000 통신망에서 사용하는 영상 포맷 크기인 QCIF와 비교한다(S602).The video size of the video format is decoded from the video bitstream (S601) and compared with the QCIF, which is the video format size used in the IMT2000 communication network (S602).

상기 디코딩 된 영상 프레임의 영상 크기가 QCIF보다 크지 않는 경우에는 이는 디코더에 수신될 때 에러가 발생한 영상 포맷 정보로 판단하여 이를 보정하기 위한 작업을 진행한다(S603).If the image size of the decoded image frame is not larger than QCIF, it determines that the image format information has an error when received by the decoder and proceeds to correct it (S603).

먼저, 디코딩 된 영상 프레임의 GOB 헤더 정보 유무를 판단한 다음(S603), 헤더 정보가 존재하는 경우에는 각각의 GOB내의 GFID 정보들이 같은 값을 갖는지를 판단한다(S604, S605). 이때, GFID 값이 같지 않는 경우에는 같도록 보정하는데, 일반적으로 많은 수의 GFID 값에 맞추어 보정을 한다(S613).First, it is determined whether GOB header information is present in the decoded video frame (S603). If header information exists, it is determined whether GFID information in each GOB has the same value (S604, S605). In this case, when the GFID values are not equal, the correction is made to be the same. Generally, the correction is made according to a large number of GFID values (S613).

그리고 나서, 상기 GOB내의 GFID 정보가 모두 같거나, 보정을 거친 후에는, 이전 영상 프레임의 메모리로 부터 이전 영상 프레임 GOB 내의 GFID 값들과 현재 디코딩 되고 있는 영상 프레임의 GOB 내의 GFID 갑과 비교를 한다(S607). 이때 이전 영상 프레임의 GFID 값과 현재 디코딩 되는 영상 프레임의 GFID가 같은 경우에는 이전 영상 프레임의 영상 크기 정보를 현재 영상 프레임의 영상 크기로 보정하여 사용한다(S608).Then, after all of the GFID information in the GOB is the same or corrected, the GFID values in the previous image frame GOB are compared with the GFID value in the GOB of the image frame currently being decoded from the memory of the previous image frame (S607). ). If the GFID value of the previous video frame and the GFID of the currently decoded video frame are the same, the image size information of the previous video frame is corrected to the image size of the current video frame (S608).

하지만, 이전 영상 프레임의 GFID와 현재 디코딩 된 영상 프레임의 GFID 값과 같지 않은 경우에는 이전 영상 포맷을 사용할 수 없고, 현재 영상 프레임의 영상 포맷이 에러가 발생한 것인지 확실히 알 수 없으므로 일반적으로 픽쳐 헤더 정보와 이전 영상 프레임의 픽쳐 헤더 정보를 비교하여 보정한다(S614).However, if the GFID of the previous video frame and the GFID value of the currently decoded video frame are not the same, the previous video format cannot be used and the picture format of the current video frame cannot be clearly determined that an error has occurred. The picture header information of the previous video frame is compared and corrected (S614).

그리고, 디코딩 되는 현재 영상 프레임의 영상 포맷의 영상 크기 정보 QCIF보다 큰 경우에는 디코딩 되는 영상 프레임의 영상 포맷을 QCIF로 제한하여 사용한다(S609).If the size of the video frame is larger than the video size information QCIF of the current video frame to be decoded, the video format of the video frame to be decoded is limited to QCIF (S609).

또한, 디코딩 된 현재 영상 프레임의 영상 포맷이 QCIF보다 크지 않는 경우에는 GOB 헤더 정보 유무를 판단하는데 이때, GOB 헤더 정보가 없는 경우에는 이전 영상 포맷의 영상 크기 정보를 판단하여 이전 영상 프레임의 영상 포맷과 같은가를 비교한다(S610).In addition, if the video format of the decoded current video frame is not larger than QCIF, it is determined whether there is GOB header information. If there is no GOB header information, the video size information of the previous video format is determined by determining the video size information of the previous video frame. The comparison is the same (S610).

여기서, 이전 영상 프레임의 영상 크기 정보와 현재 디코딩 된 영상 프레임의 영상 크기 정보가 같은 경우에는 상기 현재 디코딩 된 영상 프레임의 영상 크기에 에러가 발생하지 않은 것으로 판단하여 디코딩 된 현재 영상 포맷을 사용한다(S611).Here, when the image size information of the previous video frame and the image size information of the current decoded video frame are the same, it is determined that no error occurs in the image size of the current decoded video frame and the decoded current video format is used. S611).

하지만, 이전 영상 포맷과 현재 디코딩 된 영상 포맷의 영상 크기 정보가 다른 경우에는 현재 영상 포맷의 영상 크기 정보와 다음에 오는 픽쳐 헤더 정보의 PSC정보로 부터 영상 크기 정보를 얻는다. 그리고 이를 현재 디코딩 된 영상 프레임의 크기 정보와 비교 판단하여 에러 발생률이 낮은 영상 크기 정보를 선택하여 사용한다(S613).However, when the image size information of the previous image format and the current decoded image format is different, the image size information is obtained from the image size information of the current image format and the PSC information of the following picture header information. The image size information having a low error occurrence rate is selected and used by comparing the information with the size information of the currently decoded image frame (S613).

이상에서 자세히 설명된 바와 같이, 본 발명은 IMT-2000 무선망에서 동영상 비트스트림의 채널 에러로 인하여 디코딩 시 영상 크기 정보 오류를 보정하면서 디코딩할 수 있도록 하여 효율적인 디코딩을 수행할 수 있는 이점이 있다.As described in detail above, the present invention has the advantage that the decoding can be performed while correcting the image size information error during decoding due to the channel error of the video bitstream in the IMT-2000 wireless network.

또한, 디코딩 작업중 시스템 다운 현상이 발생하지 않아 화질 개선을 할 수 있는 효과가 있다.In addition, there is an effect that can improve the image quality does not occur during the decoding operation.

본 발명은 상기한 실시 예에 한정되지 않고, 이하 청구 범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변경 실시가 가능할 것이다.The present invention is not limited to the above-described embodiments, and various changes can be made by those skilled in the art without departing from the gist of the present invention as claimed in the following claims.

Claims (9)

영상 데이터 신호를 수신하는 단계;Receiving an image data signal; 상기 수신된 영상 데이터를 디코딩하고 이 디코딩된 영상 데이터의 크기를 판단하는 단계;Decoding the received image data and determining the size of the decoded image data; 상기 크기가 판단된 영상 데이터를 QCIF를 비교하여 상기 QCIF보다 작은지를 판단하는 단계;Determining whether the image data having the size is smaller than the QCIF by comparing QCIF; 상기 디코딩 되는 영상 크기 정보가 상기 QCIF보다 작은 경우에는 영상 프레임내에 GOB 헤더 정보가 존재하는지를 판단하는 단계;Determining whether GOB header information exists in an image frame when the decoded image size information is smaller than the QCIF; 상기 영상 프레임내에 GOB 헤더 정보가 있는 경우에는 상기 GOB내의 GFID 정보들이 같은 값을 갖는지를 판단하는 단계;Determining whether GFID information in the GOB has the same value when there is GOB header information in the video frame; 상기 디코딩 되는 영상 프레임의 GFID 정보가 같은 경우에는 그 GFID 정보 값과 이전 디코딩 된 영상 프레임의 GOB내의 GFID 정보와 같은 가를 판단하는 단계; 및If the GFID information of the decoded video frame is the same, determining whether the GFID information value is equal to the GFID information in the GOB of the previously decoded video frame; And 상기 이전 디코딩 된 영상 프레임의 GFID 정보와 현재 디코딩 되는 영상 프레임의 GOB 내의 GFID 정보가 같은 경우에는 상기 이전 영상 포맷의 영상 크기 정보를 사용하여 디코딩하는 단계;를 포함하는 것을 특징으로 하는 동영상 디코딩 방법.And if the GFID information of the previously decoded video frame and the GFID information in the GOB of the currently decoded video frame are the same, decoding using the image size information of the previous video format. 제 1 항에 있어서,The method of claim 1, 상기 디코딩 되는 영상 포맷의 영상 크기 정보와 QCIF 정보와 비교하여 영상 크기 정보가 QCIF보다 큰 경우에는 상기 디코딩 되는 영상 포맷의 영상 크기 정보를 QCIF로 제한하여 디코딩하는 것을 특징으로 하는 동영상 디코딩 방법.And comparing the image size information of the decoded image format and the QCIF information if the image size information is larger than QCIF, and decoding the image size information of the decoded image format to QCIF. 제 1 항에 있어서,The method of claim 1, 상기 디코딩 되는 영상 포맷의 영상 프레임내에 GOB 헤더 정보가 없는 경우에는 이전 영상 포맷의 영상 크기 정보와 상기 디코딩 되는 영상 포맷의 영상 크기 정보가 같은 지를 판단하는 것을 특징으로 하는 동영상 디코더 방법.And if there is no GOB header information in the video frame of the decoded video format, determining whether the video size information of a previous video format and the video size information of the decoded video format are the same. 제 3 항에 있어서,The method of claim 3, wherein 상기 이전 영상 포맷의 영상 크기 정보와 현재 디코딩 되는 영상 포맷의 영상 크기 정보가 같은 경우에는 현재 디코딩 되는 영상 포맷의 영상 크기 정보를 그대로 사용하여 디코딩하는 것을 특징으로 하는 동영상 디코딩 방법.And when the image size information of the previous image format is the same as the image size information of the currently decoded image format, decoding using the image size information of the currently decoded image format as it is. 제 3 항에 있어서,The method of claim 3, wherein 상기 이전 영상 포맷의 영상 크기 정보와 현재 디코딩 되는 영상 포맷의 영상 크기 정보가 다른 경우에는 다음에 디코딩하는 영상 데이터의 PSC 정보로 부터 영상 크기 정보를 얻어 디코딩하는 것을 특징으로 하는 동영상 디코딩 방법.And when the image size information of the previous image format and the image size information of the currently decoded image format are different, obtain image size information from PSC information of the image data to be decoded next, and decode the image size information. 제 1 항에 있어서,The method of claim 1, 상기 현재 디코딩 되는 영상 프레임의 GOB 헤더 정보에 속하는 GFID 정보들이 다른 값을 갖는 경우에는 같은 값을 갖도록 보정하는 것을 특징으로 하는 동영상 디코딩 방법.And if GFID information belonging to the GOB header information of the currently decoded video frame has different values, correcting them to have the same value. 제 6 항에 있어서,The method of claim 6, 상기 GOB내의 GFID들 중에서 같은 값으로 보정하는 기준은 상기 GFID 정보들 중에서 같은 값이 가장 많은 것이 오류가 없는 것으로 판단하여 그 값을 GFID 값으로 보정하는 것을 특징으로 하는 동영상 디코딩 방법.The criterion of correcting the same value among the GFIDs in the GOB is that the most identical value among the GFID information determines that there is no error and corrects the value to the GFID value. 제 1 항에 있어서,The method of claim 1, 상기 현재 디코딩 되는 영상 프레임의 GOB 헤더 정보에 있는 GFID 정보와 이전 영상 프레임의 GOB 헤더 정보에 있는 GFID 정보가 같은 경우에는 이전 영상 프레임의 영상 포맷을 그대로 사용하는 것을 특징으로 하는 동영상 디코딩 방법.And if the GFID information in the GOB header information of the currently decoded video frame and the GFID information in the GOB header information of the previous video frame are the same, the video format of the previous video frame is used as it is. 삭제delete
KR1020020064273A 2002-10-21 2002-10-21 Method for moving picture decoding KR100557047B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020064273A KR100557047B1 (en) 2002-10-21 2002-10-21 Method for moving picture decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020064273A KR100557047B1 (en) 2002-10-21 2002-10-21 Method for moving picture decoding

Publications (2)

Publication Number Publication Date
KR20040034187A KR20040034187A (en) 2004-04-28
KR100557047B1 true KR100557047B1 (en) 2006-03-03

Family

ID=37333548

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020064273A KR100557047B1 (en) 2002-10-21 2002-10-21 Method for moving picture decoding

Country Status (1)

Country Link
KR (1) KR100557047B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970064269A (en) * 1996-02-29 1997-09-12 배순훈 H (H). 263 Error Detection Method in Video Bitstream
EP1094672A2 (en) * 1999-10-19 2001-04-25 Samsung Electronics Co., Ltd. Digital video coding method and device
KR20020020937A (en) * 1999-07-19 2002-03-16 다니엘 태그리아페리, 라이조 캐르키, 모링 헬레나 Video coding
WO2002056601A1 (en) * 2001-01-10 2002-07-18 Huawei Technologies Co., Ltd. A method for processing error code of compressed image in transmission
US20030108104A1 (en) * 2001-08-07 2003-06-12 Jacques Paulin Video encoding and decoding method of mitigating data losses in an encoded video signal transmitted through a channel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970064269A (en) * 1996-02-29 1997-09-12 배순훈 H (H). 263 Error Detection Method in Video Bitstream
KR20020020937A (en) * 1999-07-19 2002-03-16 다니엘 태그리아페리, 라이조 캐르키, 모링 헬레나 Video coding
EP1094672A2 (en) * 1999-10-19 2001-04-25 Samsung Electronics Co., Ltd. Digital video coding method and device
WO2002056601A1 (en) * 2001-01-10 2002-07-18 Huawei Technologies Co., Ltd. A method for processing error code of compressed image in transmission
US20030108104A1 (en) * 2001-08-07 2003-06-12 Jacques Paulin Video encoding and decoding method of mitigating data losses in an encoded video signal transmitted through a channel

Also Published As

Publication number Publication date
KR20040034187A (en) 2004-04-28

Similar Documents

Publication Publication Date Title
KR100495820B1 (en) Video coding
JP5007322B2 (en) Video encoding method
US8144764B2 (en) Video coding
JP2005260936A (en) Method and apparatus encoding and decoding video data
KR20040031949A (en) Method for moving picture encoding and decoding
KR100557047B1 (en) Method for moving picture decoding
KR100543607B1 (en) Method for decoding of moving picture
KR100564967B1 (en) Moving picture decoder and method for decoding using the same
KR100557118B1 (en) Moving picture decoder and method for moving picture decoding
KR20050026110A (en) Moving picture decoding and method for moving picture decoding
KR100590328B1 (en) Moving picture decoder and method for decoding using the same
KR20040035013A (en) Method for decoding moving picture
KR20040047045A (en) Method for moving picture decoding
KR20040046539A (en) Method for moving picture decoding
KR20040046540A (en) Method for moving picture decoding
KR20040039808A (en) Method for prediction moving vector
KR20040034188A (en) Method for moving picture decoding
KR20040031948A (en) Method for moving picture decoding
KR20040020734A (en) Methode for moving picture decoding
KR20040035014A (en) Method for moving picture decoding

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
LAPS Lapse due to unpaid annual fee