KR20030008685A - Method of predicting space for preventing error from propagation in image compression system - Google Patents

Method of predicting space for preventing error from propagation in image compression system Download PDF

Info

Publication number
KR20030008685A
KR20030008685A KR1020010043532A KR20010043532A KR20030008685A KR 20030008685 A KR20030008685 A KR 20030008685A KR 1020010043532 A KR1020010043532 A KR 1020010043532A KR 20010043532 A KR20010043532 A KR 20010043532A KR 20030008685 A KR20030008685 A KR 20030008685A
Authority
KR
South Korea
Prior art keywords
image
block
error
intra
inter
Prior art date
Application number
KR1020010043532A
Other languages
Korean (ko)
Other versions
KR100730383B1 (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 KR1020010043532A priority Critical patent/KR100730383B1/en
Publication of KR20030008685A publication Critical patent/KR20030008685A/en
Application granted granted Critical
Publication of KR100730383B1 publication Critical patent/KR100730383B1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • 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/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques

Landscapes

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

Abstract

PURPOSE: A method for predicting a space in an image compression system is provided to prevent successive deterioration of quality due to the increase in error. CONSTITUTION: A method for predicting a space to prevent the increase in errors in an image compression system includes the steps of examining a compression mode of a peripheral image block of an image block to be intra-coded within a sheet of image, and confirming propagation of an error of the peripheral image block if the peripheral image block is in an inter mode(301-302); intra-coding the image block by spatially predicting from a peripheral intra image block or a peripheral inter image block to which the error has not propagated(305); and interrupting the spatial prediction from the peripheral inter image block to which the error has propagated(303-304).

Description

영상 압축 시스템에서 오류 전파 방지를 위한 공간 예측 방법{Method of predicting space for preventing error from propagation in image compression system}Method of predicting space for preventing error from propagation in image compression system}

본 발명은 영상 압축 시스템에서 오류 전파 방지를 위한 공간 예측 방법 및상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 보다 상세하게는 기존의 공간 예측 방법을 개선하여 오류가 발생한 영상으로부터의 예측 부호화를 방지함으로써, 오류의 전파를 막을 수 있도록 하는 것이다.The present invention relates to a spatial prediction method for preventing error propagation in an image compression system, and to a computer-readable recording medium recording a program for realizing the method. By preventing the prediction encoding from the generated video, it is possible to prevent the propagation of an error.

우선, 종래의 기술 및 본 발명의 기술요지의 이해를 돕기 위하여, 영상에 대한 권고안(H.261)을 바탕으로 영상 압축의 개략적인 과정을 살펴보기로 한다.First, in order to help the understanding of the related art and the technical gist of the present invention, a schematic process of image compression will be described based on the recommendation for image H.261.

화면의 압축방법에는 화면내 압축 방법과 화면간 압축방법이 있다.There are two screen compression methods, an intra screen compression method and an inter screen compression method.

화면내 압축을 위해서는 먼저 8×8화소 단위의 이산여현변환(DCT : Discrete Cosine Transform)을 한다. 이 변환은 8×8 블록의 에너지를 저주파 성분에 집중을 시키는 효과가 있다.For intra-screen compression, first, Discrete Cosine Transform (DCT) is performed in 8 × 8 pixel units. This conversion has the effect of concentrating 8 × 8 blocks of energy on low frequency components.

그런데, 인간의 시각 특성은 고주파 성분의 양자화 잡음을 상대적으로 덜 느끼기 때문에 이를 이용하여, DCT 변환을 한 계수가 고주파일수록 양자화 간격을 크게 한다.However, since the human visual characteristic feels relatively less quantization noise of high frequency components, the quantization interval is increased as the coefficient of DCT conversion is high frequency.

따라서, 고주파 성분은 크기도 작은데 양자화 간격도 커서 대부분이 0이 된다. 이렇게 양자화된 DCT 계수는 0이 많은데 이를 효율적으로 압축하기 위해 런 랭쓰(Run-Length) 부호화와 지그재그 탐색(Zig-Zag Scan)이란 방법을 쓰고 있다. 즉, 지그재그 방향으로 데이터를 기록하면서 0이 연속될 경우 0을 그냥 기록하는 것이 아니라 0이 몇 번 연속되는지만을 기록한다. 그리고, 0이 아닌 경우는 그냥 데이터를 기록을 한다. 이렇게 하면 연속되는 많은 0들을 한꺼번에 적은 비트수로 표현할 수 있게 되어 결과적으로 데이터의 압축을 하는 효과를 갖게 된다.Therefore, the high frequency component is small in size but large in quantization interval, so that most of them are zero. The quantized DCT coefficients have a large number of zeros. In order to efficiently compress the DCT coefficients, run-length coding and zigzag scan are used. In other words, if 0 is continuous while recording data in the zigzag direction, it is not just to record 0 but only how many times 0 is continuous. If it is not 0, it just records the data. This makes it possible to represent many consecutive zeros with fewer bits at once, resulting in the effect of compressing the data.

이러한 방식을 사용해서 만든 화면을 H.261에서는 "인트라 프레임(Intra-Frame)"이라고 한다.Screens created using this method are called "intra-frames" in H.261.

한편, 화면간 압축방법은 화면간의 상관성을 이용하여 압축률을 높이기 위해서 화면을 매크로블록(4개의 휘도 블록과 두개의 색 블록)이란 일정한 크기의 단위로 나누어 각 매크로블록마다 이전 화면의 어느 위치에서 움직여 왔는지를 나타내는 움직임 벡터를 구하는 움직임보상과 전 영상에서 차이만을 부호화하여 보내주는 DPCM(Differential Pulse Code Modulation)이란 방법을 이용한다.Meanwhile, the inter-screen compression method divides the screen into macroblocks (four luminance blocks and two color blocks) to a certain size unit to increase the compression rate by using the correlation between the screens, and moves the screens at each position of the previous screen. It uses a method called motion compensation to obtain a motion vector indicating whether it is coming and a differential pulse code modulation (DPCM) that encodes and transmits only a difference in an entire image.

여기서, 움직임보상방법은 움직임 추정방법으로 이전화면의 각 화소 위치마다 현 매크로블록과의 에러를 구하여 이것이 최소가 되는 위치를 찾는 블록 정합 알고리즘이 널리 쓰인다.Here, the motion compensation method is a motion estimation method. A block matching algorithm is widely used to find a position where the minimum macro error is obtained for each pixel position of a previous screen.

움직임 벡터는 화면 재구성을 위해 수신측에 전송되어서 수신측에서는 이전 영상에서 어느 위치에 있었던 데이터인지를 판단하여 복호하게 된다. 만약, 움직임보상으로 해결할 수 없는 데이터는 비트를 절약하기 위해 전영상에서 차이만을 보내는 DPCM이란 방법을 이용하여 원래 전달하고자 했던 영상을 만들어 낸다.The motion vector is transmitted to the receiving side for screen reconstruction so that the receiving side determines which position in the previous image is the data and decodes it. If the data cannot be solved by motion compensation, the DPCM, which transmits only the difference from the previous image, creates the image that was originally intended to be transmitted.

이렇게 화면간 압축방법으로 만들어진 화면을 "인터 프레임(Inter-Frame)"이라고 한다.The screen created by the inter-screen compression method is called "inter-frame".

이와 같이, H.261은 인트라 프레임(Intra-Frame)과 인터 프레임(Inter-Frame)으로 이루어져 있고, 두 가지 모두를 함께 사용한다. 즉, 먼저 인트라 프레임(Intra-Frame)을 수신측에 전송하고 훨씬 적은 크기의 인터 프레임(Inter-Frame)을 보내는 방식을 사용하고 있다. 이는 만약 전송되는 영상에 장면이 바뀌거나 움직임이 클 경우에는 인트라 프레임(Intra-Frame)을 보내는 것이 효과적이고, 움직임이 적을 경우에는 인터 프레임(Inter-Frame)을 사용하는 것이 보다 효과적이기 때문이다.As such, H.261 consists of Intra-Frame and Inter-Frame, both of which are used together. That is, first, an intra-frame is transmitted to a receiving side, and a much smaller inter-frame is transmitted. This is because it is effective to send an intra-frame when the scene is changed or the movement is large in the transmitted image, and when the motion is small, it is more effective to use an inter-frame.

현재, 영상 및 음향을 송수신하는 시스템에서 영상신호 및 음성신호를 디지탈 신호로 부호화하여 전송하거나 저장부에 저장하고, 이를 다시 복호화하여 재생하는 방식이 주로 사용되고 있다. 이러한 영상신호의 부호화를 위해 사용되고 있는 방식에는 변환 부호화 방식, DPCM(Differential Pulse Code Modulation) 방식, 벡터 양자화 방식 및 가변장 부호화(VLC : Variable Length Coding) 방식 등이 있다. 이 부호화 방식들은 디지탈 영상신호에 포함되어 있는 용장성 데이타(Redundancy Data)를 제거하여 전체 데이타량을 압축시키기 위해 사용된다. 이와 같은 부호화 방식을 수행하기 위해 화면을 소정 크기의 블록들로 구분하고, 각 블록 또는 블록간의 차신호에 대해 소정의 변환을 수행하여 영상 데이타를 주파수 영역의 변환계수로 변환한다.Currently, in a system for transmitting and receiving video and sound, a video signal and audio signal are encoded and transmitted as a digital signal, stored in a storage unit, and decoded and reproduced. Methods used for encoding such video signals include a transform coding method, a differential pulse code modulation (DPCM) method, a vector quantization method, and a variable length coding (VLC) method. These coding schemes are used to compress the total amount of data by removing redundancy data included in the digital video signal. In order to perform such an encoding method, a screen is divided into blocks having a predetermined size, and a predetermined transformation is performed on each block or a difference signal between blocks to convert image data into a transform coefficient of a frequency domain.

각 블록에 대한 데이타 변환방식에는, DCT(Discrete Cosine Transform), WHT(Walsh-Hadamard Transform), DFT(Discrete Fourier TRansform) 및 DST(Discrete Sine Transform) 등이 있다. 이와 같은 변환계수들을 데이타 특성에 따라 적절히 부호화함으로써 전송 데이타를 압축한다. 이렇게 부호화하고 전송한 영상 데이타를 복호화부에서 원래의 영상신호로 복원하기 위해서는 영상 데이타의 전송과 함께 영상신호의 부호화된 상태정보를 포함하는 헤드 데이타의 전송이 필요하다.Examples of data transformation methods for each block include DCT (Discrete Cosine Transform), WHT (Walsh-Hadamard Transform), DFT (Discrete Fourier TRansform), and DST (Discrete Sine Transform). The transmission data is compressed by appropriately encoding such transform coefficients according to data characteristics. In order to restore the encoded and transmitted video data to the original video signal, it is necessary to transmit the head data including the encoded state information of the video signal together with the transmission of the video data.

일반적으로, 동화상의 가변장 부호화 방식에서는 화상간의 변화가 많은 경우에는 인트라 모드(Intra Mode)로, 화상간의 변화가 적은 경우에는 인터 모드(Inter Mode)로 부호화를 하는데 어떠한 모드를 사용하여 부호화 했는지에 대한 정보도 오버헤드 데이타에 포함된다.In general, in the variable-length coding scheme of a moving picture, an intra mode is used when there is a large change between images, and an inter mode is used when there is a small change between images. Information about the data is also included in the overhead data.

도 1 은 일반적인 영상 압축 시스템의 구성 예시도로서, 인터/인트라 모드 부호화 장치의 일예를 나타낸다.1 is an exemplary configuration diagram of a general video compression system, and illustrates an example of an inter / intra mode encoding apparatus.

도 1에서, 영상 데이타(VS)가 제1 가산기(A1)를 통해 N×N 변환부(11)로 입력되고, N×N 변환부(11)의 출력단은 양자화부(12)의 입력단과 연결되며, 양자화부(12)의 출력단은 가변장 부호화부(13)와 연결된다. 한편, 영상 데이타(VS)는 모드 결정부(20)에도 공급되어, 모드 결정부(20)는 화상의 변화 정도에 따라 인터 모드 또는 인트라 모드를 결정하여 인터 모드/인트라 모드 정보를 다음단의 비트맵 변환부(21) 및 두 개의 스위치(RSW1,RSW2)로 공급한다.In FIG. 1, image data VS is input to an N × N converter 11 through a first adder A1, and an output terminal of the N × N converter 11 is connected to an input terminal of the quantization unit 12. The output terminal of the quantizer 12 is connected to the variable length encoder 13. On the other hand, the image data VS is also supplied to the mode determination unit 20, so that the mode determination unit 20 determines the inter mode or the intra mode according to the degree of change of the image, and then stores the inter mode / intra mode information in the next bit. Supply to the map converter 21 and the two switches (RSW1, RSW2).

비트맵 변환부(21)의 출력단은 런 랭쓰(Run-length) 부호화기(22)와 연결되며, 런 랭쓰 부호화기(22)의 출력은 가변장 부호화기(23)로 공급되어 가변장 부호화된 모드 정보가 버퍼(14)로 인가된다. 이때, 가변장 부호화된 신호는 버퍼(14)에서 잠시 지연된 후 전송되는데, 버퍼(14) 상태에 따라 양자화 레벨(QS)을 결정하는 신호가 양자화부(12) 및 역양자화부(15)로 공급된다.The output terminal of the bitmap converter 21 is connected to a run-length encoder 22, and the output of the run-length encoder 22 is supplied to the variable length encoder 23 so that the variable length coded mode information is provided. Is applied to the buffer 14. In this case, the variable length coded signal is transmitted after being delayed in the buffer 14, and a signal for determining the quantization level QS according to the buffer 14 state is supplied to the quantization unit 12 and the inverse quantization unit 15. do.

한편, 양자화부(12)는 역양자화부(15)로 양자화된 신호를 출력하고, 역양자화부(15)는 N×N 역변환부(16)의 입력단과 연결되어 있다. 이때, N×N 역변환부(16)에서 출력되는 신호는 제2 가산기(A2)를 통해 프레임 메모리(17)로 인가되고, 프레임 메모리(17)는 동 추정부(18) 및 동 보상부(19)로 각 출력을 인가하도록 구성되어 있다. 동 보상부(19)의 출력은 제1 가산기(A1) 및 제2 가산기(A2)로 각각 인가되고, 동 추정부(18)는 영상 데이타(VS)를 인가받아 동 보상부(19)로 동 벡터(MV)를 출력하는 동시에 부호화된 영상신호(VC)와 함께 전송하도록 구성되어 있다.Meanwhile, the quantization unit 12 outputs a quantized signal to the inverse quantization unit 15, and the inverse quantization unit 15 is connected to an input terminal of the N × N inverse transform unit 16. At this time, the signal output from the N × N inverse transform unit 16 is applied to the frame memory 17 through the second adder A2, and the frame memory 17 is the copper estimator 18 and the copper compensator 19. Is configured to apply each output. The output of the copper compensator 19 is applied to the first adder A1 and the second adder A2, and the copper estimator 18 receives the image data VS to the copper compensator 19. It is configured to output the vector MV and transmit it together with the encoded video signal VC.

상기와 같은 구성을 갖는 인터/인트라 모드 부호화 장치의 동작을 간략히 살펴보면, N×N 블록의 영상 데이타(VS)(일반적으로. N1×N2 블록)가 모드 결정부(20)와 제1 가산기(A1) 및 동 추정부(18)로 인가된다. 이때, 모드 결정부(20)에서는 이전 화상과 현재 화상간의 유사한 부분이 많은 경우에는 인터 모드(Inter Mode)로, 이전 화상과 현재 화상과의 변화가 많은 경우에는 인트라 모드(Intra Mode)로 각 부호화 방법을 결정한다. 이러한 방식으로 결정된 인터 모드/인트라 모드는 2개의 스위치(RSW1,RSW2)를 제어함으로써 부호화 장치의 인터 모드/인트라 모드를 결정한다.Referring briefly to the operation of the inter / intra mode encoding apparatus having the above configuration, the image data VS of the N × N block (generally, N1 × N2 block) includes the mode determiner 20 and the first adder A1. ) And the same estimator 18. At this time, the mode determination unit 20 encodes each mode in an inter mode when there are many similar parts between the previous picture and the current picture, and in an intra mode when there is a large change between the previous picture and the current picture. Determine how. The inter mode / intra mode determined in this manner determines the inter mode / intra mode of the encoding apparatus by controlling the two switches RSW1 and RSW2.

그런데, 차세대 동영상 압축 알고리즘을 목적으로 현재 표준화 작업중인 H.26L은 압축 효율을 높이기 위해 공간 예측 방법을 사용한다. 이 방법은 한 장의 영상내에서 주변 공간의 영상을 기준으로 삼아 예측 및 차분 부호화하는 것이다. 이 경우 하나의 블록(Block)에서 오류가 발생했을 때 이를 기준으로 삼아 예측하는 블록에 오류가 전파되어 화질의 열화를 야기한다.However, H.26L, which is currently being standardized for the next generation video compression algorithm, uses a spatial prediction method to improve the compression efficiency. In this method, prediction and differential coding are performed based on the image of the surrounding space in a single image. In this case, when an error occurs in one block, the error is propagated to the predicted block based on the error, causing deterioration of image quality.

만약, 영상 전송에 오류가 발생할 경우, 이 오류의 전파를 방지하기 위해서 매크로블록(Macroblock) 단위로 인트라(Intra) 부호화하는 방법을 사용하는데, 종래의 공간 예측 방법을 사용할 경우에는 주변 블록으로 오류가 전파될 경우에 인트라(Intra) 부호화한 블록에 까지 오류가 전파되어 인트라(Intra) 부호화의 효과가 적다.If an error occurs in the image transmission, an intra encoding method is used in units of macroblocks to prevent propagation of the error. However, when a conventional spatial prediction method is used, an error is detected in neighboring blocks. In the case of propagation, an error propagates up to an intra coded block, thereby reducing the effect of intra coding.

즉, H.26L 등과 같은 영상 압축시에, 종래의 공간 예측 방법을 사용하면 오류가 발생한 영상으로부터의 예측 부호화를 통해 오류의 전파로 인한 연속적인 화질의 열화와 화질 열화가 누적되는 문제점이 있다.That is, in the case of image compression such as H.26L, if the conventional spatial prediction method is used, there is a problem that continuous deterioration of image quality and image quality deterioration due to propagation of an error are accumulated through prediction encoding from an error image.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, H.26L 등과 같은 영상 압축시에 오류가 발생한 영상으로부터의 예측 부호화를 방지하여 오류의 전파를 막아, 오류 전파로 인한 연속적인 화질의 열화와 화질 열화의 누적을 막기 위한 공간 예측 방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above-mentioned problems, and prevents the error from being propagated by preventing predictive encoding from an image that has an error during image compression such as H.26L. It is an object of the present invention to provide a spatial prediction method for preventing accumulation of deterioration and deterioration of image quality, and a computer-readable recording medium having recorded thereon a program for realizing the method.

도 1 은 일반적인 영상 압축 시스템의 구성 예시도.1 is an exemplary configuration diagram of a general video compression system.

도 2a 및 2b 는 종래의 공간 예측 과정을 나타낸 설명도.2A and 2B are explanatory diagrams showing a conventional spatial prediction process.

도 3 은 본 발명에 따른 오류 전파 방지를 위한 공간 예측 방법에 대한 일실시예 흐름도.3 is a flowchart illustrating an embodiment of a spatial prediction method for preventing error propagation according to the present invention.

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

20 : 모드 결정부 21 : 비트맵 변환부20: mode determination unit 21: bitmap conversion unit

22 : 런랭쓰 부호화기 23 : 가변장 부호화기(VLC)22 run length encoder 23 variable length encoder (VLC)

상기 목적을 달성하기 위한 본 발명은, 영상 압축 시스템에서 영상 부호화시의 공간 예측 방법에 있어서, 한 장의 영상내에서 인트라 부호화하고자 하는 영상 블록의 주변 영상 블록의 압축 모드를 검사하고, 주변 영상 블록이 인터 모드인 경우에 주변 영상 블록의 오류 전파 여부를 확인하는 제 1 단계; 상기 영상 블록을 주변 인트라 영상 블록이나 오류 전파되지 않은 주변 인터 영상 블록으로부터 공간예측하여 인트라 부호화하는 제 2 단계; 및 상기 영상 블록에 대해, 오류 전파된 주변 인터 영상 블록으로부터의 공간 예측을 차단하는 제 3 단계를 포함하여 이루어진 것을 특징으로 한다.In order to achieve the above object, the present invention provides a spatial prediction method for encoding an image in an image compression system, wherein the compression mode of the neighboring image block of the image block to be intra-coded in a single image is examined, A first step of checking whether an adjacent image block propagates in an inter mode; A second step of spatially predicting the image block from a neighboring intra image block or a neighboring inter image block not propagated by error; And a third step of blocking spatial prediction from the error propagated peripheral inter image block with respect to the image block.

그리고, 본 발명은 프로세서를 구비한 영상 압축 시스템에, 한 장의 영상내에서 인트라 부호화하고자 하는 영상 블록의 주변 영상 블록의 압축 모드를 검사하고, 주변 영상 블록이 인터 모드인 경우에 주변 영상 블록의 오류 전파 여부를 확인하는 제 1 기능; 상기 영상 블록을 주변 인트라 영상 블록이나 오류 전파되지 않은 주변 인터 영상 블록으로부터 공간 예측하여 인트라 부호화하는 제 2 기능; 및 상기 영상 블록에 대해, 오류 전파된 주변 인터 영상 블록으로부터의 공간 예측을 차단하는 제 3 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention is to check the compression mode of the neighboring video block of the video block to be intra-coded in a single image in the image compression system having a processor, and the error of the neighboring video block when the neighboring video block is the inter mode A first function of confirming propagation; A second function of spatially predicting the image block from a neighboring intra image block or a neighboring inter image block not propagated by error; And a computer readable recording medium having recorded thereon a program for realizing a third function of blocking spatial prediction from an error propagated peripheral inter image block for the image block.

본 발명은 H.26L로 부호화된 동영상 전송시 발생하는 오류가 다음 영상으로 전파되는 것을 방지하기 위한 공간 예측 방법의 개선 방안에 관한 것으로, 기존의 공간 예측 방법을 개선하여 오류가 발생한 영상으로부터의 예측 부호화를 방지할 수 있게 되면, 오류의 전파를 막을 수 있다. 이로써, 오류 전파로 인한 연속적인 화질의 열화와 화질 열화의 누적을 막을 수 있다.The present invention relates to an improvement method of a spatial prediction method for preventing the error generated when transmitting a video encoded by H.26L to the next video, and to improve the existing spatial prediction method to predict from an error image. If the encoding can be prevented, the propagation of errors can be prevented. As a result, it is possible to prevent continuous deterioration of image quality and accumulation of image quality deterioration due to error propagation.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

대부분의 영상 압축 시스템에서는 영상을 부호화할 경우에 도 2a에 도시된바와 같이 C 블록(Block)을 이전 영상의 C' 블록에 오류가 발생하면 오류가 C 블록으로 전파되어 C 블록은 원래의 영상을 복원하지 못하는 문제점이 있다.In most video compression systems, when an image is encoded, as shown in FIG. 2A, if an error occurs in the C block of the previous image, the error is propagated to the C block, and the C block is used to recover the original image. There is a problem that can not be restored.

이를 방지하기 위하여, C 블록을 인트라(Intra) 부호화하는 방법을 사용하는데, 이때는 C 블록을 예측 부호화하지 않아 오류의 전파를 막을 수 있다. 이를 "인트라 리프레쉬(Intra Refresh)"라 한다.In order to prevent this, an intra coding method of a C block is used. In this case, the propagation of an error may be prevented by not predicting the C block. This is called "Intra Refresh".

그러나, H.26L에서 인트라(Intra) 부호화할 경우에는 도 2b에 도시된 바와 같이 위쪽의 A 블록이나 왼쪽의 B 블록으로부터 공간 예측 방법을 이용한다. 이 경우 A나 B 블록이 인터(Inter) 부호화되어 있어 이전 영상에서 오류가 전파되었을 때에는 C 블록에도 이전 영상의 오류가 전파되는 효과가 발생하여 인트라 리프레쉬(Intra Refresh)의 효과를 볼 수 없게 되어, 비트열의 소모만 커지게 된다.However, when intra coding is performed in H.26L, as shown in FIG. 2B, a spatial prediction method is used from an upper A block or a left B block. In this case, when the A or B blocks are inter-coded and an error is propagated in the previous image, an error of the previous image is also propagated in the C block, so that the effect of intra refresh cannot be seen. Only the consumption of bit strings becomes large.

따라서, A나 B 블록의 블록 부호화 모드를 확인하여, 인터 블록(Inter Block)일 경우에는 그 블록으로부터 공간 예측을 차단하는 방법을 사용하면, 인트라 블록(Intra Block) C로의 오류 전파를 막을 수 있어 영상의 오류 전파로 인한 화질 열화를 막을 수 있고, 오류 전파 및 누적으로 인한 화질의 열화를 방지할 수 있다.Therefore, if the block coding mode of the A or B block is checked, and the inter block is used to block spatial prediction from the block, error propagation to the intra block C can be prevented. Image quality deterioration due to error propagation of an image can be prevented and image quality deterioration due to error propagation and accumulation can be prevented.

도 3 은 본 발명에 따른 오류 전파 방지를 위한 공간 예측 방법에 대한 일실시예 흐름도이다.3 is a flowchart illustrating a spatial prediction method for preventing error propagation according to the present invention.

도 3에 도시된 바와 같이, 본 발명에 따른 오류 전파 방지를 위한 공간 예측 방법은, 먼저 인트라 모드로 영상 압축시에(301), 주변 영상 블록이 인트라블록(Intra Block)인지 인터 블록(Inter Block)인지를 확인한다(302). 즉, 도 2b에서, C 블록을 인트라 모드로 압축할 때, 그 주변 영상 블록인 A나 B 블록의 블록 부호화 모드를 확인한다.As shown in FIG. 3, in the spatial prediction method for preventing error propagation according to the present invention, first, when an image is compressed in an intra mode (301), an adjacent block is an intra block or an inter block. (302). That is, in FIG. 2B, when the C block is compressed in the intra mode, the block encoding mode of the A or B block, which is the neighboring video block, is checked.

확인 결과, 주변 영상 블록이 인터 블록(Inter Block)인 경우(즉, 인터 부호화된 경우)에, 주변 영상 블록이 이전 영상에서 오류가 전파된 것인지를 검사하여(303), 오류가 전파된 영상 블록에 대해서는 해당 블록으로부터의 공간 예측을 차단한다(304). 한편, 주변 영상 블록이 오류가 전파된 인터 블록이 아니거나, 인트라 블록인 경우(즉, 인트라 부호화된 경우)에는 해당 블록으로부터 공간 예측을 한다(305). 즉, 도 2b에서, C 블록을 인트라 모드로 압축할 때, 그 주변 영상 블록인 A나 B 블록이 인터 블록(Inter Block)인 경우, A나 B 블록의 오류 전파를 검사하여, 오류가 전파된 블록에 대해서는 공간 예측을 차단한다. 그러나, A나 B 블록이 오류 전파된 인터 블록(Inter Block)이 아니거나, A나 B 블록이 인트라 블록(Intra Block)이면 A나 B 블록으로부터 공간 예측을 수행한다.As a result of the check, when the neighboring video block is an inter block (that is, inter coded), the neighboring video block checks whether an error is propagated in the previous video (303), and the video block propagated in the error For block 2, block spatial prediction from the block. On the other hand, if the neighboring video block is not an inter-block in which an error propagates or is an intra block (that is, an intra coded), spatial prediction is performed from the corresponding block (305). That is, in FIG. 2B, when the C block is compressed in the intra mode, when the neighboring block A or B is an Inter Block, the error propagation of the A or B block is checked and an error is propagated. Block the spatial prediction for the block. However, if the A or B block is not an error propagated Inter Block or the A or B block is an Intra Block, spatial prediction is performed from the A or B block.

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.The method of the present invention as described above may be implemented as a program and stored in a computer-readable recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 기존의 공간 예측 방법을 개선하여 오류가 발생한 영상으로부터의 예측 부호화를 방지할 수 있어, 오류의 전파를 막을 수 있으며, 오류 전파로 인한 연속적인 화질의 열화와 화질 열화의 누적을 막을 수 있는 효과가 있다.As described above, the present invention can improve the existing spatial prediction method to prevent predictive encoding from an errored image, thereby preventing the propagation of an error, and continuously deteriorating image quality and image quality deterioration due to error propagation. There is an effect that can prevent the accumulation of.

Claims (4)

영상 압축 시스템에서 영상 부호화시의 공간 예측 방법에 있어서,A spatial prediction method in image encoding in an image compression system, 한 장의 영상내에서 인트라 부호화하고자 하는 영상 블록의 주변 영상 블록의 압축 모드를 검사하고, 주변 영상 블록이 인터 모드인 경우에 주변 영상 블록의 오류 전파 여부를 확인하는 제 1 단계;A first step of checking a compression mode of a neighboring video block of an image block to be intra-coded in a single image and checking whether or not an adjacent image block is propagated when the neighboring video block is an inter mode; 상기 영상 블록을 주변 인트라 영상 블록이나 오류 전파되지 않은 주변 인터 영상 블록으로부터 공간 예측하여 인트라 부호화하는 제 2 단계; 및A second step of spatially predicting the image block from a neighboring intra image block or a neighboring inter image block not propagated by error; And 상기 영상 블록에 대해, 오류 전파된 주변 인터 영상 블록으로부터의 공간 예측을 차단하는 제 3 단계A third step of blocking spatial prediction from the error propagated peripheral inter image block with respect to the image block 를 포함하는 영상 압축 시스템에서 오류 전파 방지를 위한 공간 예측 방법.Spatial prediction method for error propagation in the image compression system comprising a. 제 1 항에 있어서,The method of claim 1, 상기 영상은,The video, 실질적으로, H.26L 영상인 것을 특징으로 하는 영상 압축 시스템에서 오류 전파 방지를 위한 공간 예측 방법.Substantially, the spatial prediction method for preventing error propagation in an image compression system characterized in that the H.26L image. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 영상 블록은,The video block, 실질적으로, 인터 모드로 압축되어 있는 영상에서의 인트라 매크로 블록인 것을 특징으로 하는 영상 압축 시스템에서 오류 전파 방지를 위한 공간 예측 방법.A spatial prediction method for preventing error propagation in an image compression system, which is substantially an intra macro block in an image compressed in an inter mode. 프로세서를 구비한 영상 압축 시스템에,In an image compression system having a processor, 한 장의 영상내에서 인트라 부호화하고자 하는 영상 블록의 주변 영상 블록의 압축 모드를 검사하고, 주변 영상 블록이 인터 모드인 경우에 주변 영상 블록의 오류 전파 여부를 확인하는 제 1 기능;A first function of checking a compression mode of a neighboring video block of an image block to be intra-coded in a single image and checking whether or not an error is propagated in the neighboring video block when the neighboring video block is an inter mode; 상기 영상 블록을 주변 인트라 영상 블록이나 오류 전파되지 않은 주변 인터 영상 블록으로부터 공간 예측하여 인트라 부호화하는 제 2 기능; 및A second function of spatially predicting the image block from a neighboring intra image block or a neighboring inter image block not propagated by error; And 상기 영상 블록에 대해, 오류 전파된 주변 인터 영상 블록으로부터의 공간 예측을 차단하는 제 3 기능A third function for blocking spatial prediction from the error propagated peripheral inter image block for the image block 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1020010043532A 2001-07-19 2001-07-19 Method of predicting space for preventing error from propagation in image compression system KR100730383B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010043532A KR100730383B1 (en) 2001-07-19 2001-07-19 Method of predicting space for preventing error from propagation in image compression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010043532A KR100730383B1 (en) 2001-07-19 2001-07-19 Method of predicting space for preventing error from propagation in image compression system

Publications (2)

Publication Number Publication Date
KR20030008685A true KR20030008685A (en) 2003-01-29
KR100730383B1 KR100730383B1 (en) 2007-06-19

Family

ID=27715771

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010043532A KR100730383B1 (en) 2001-07-19 2001-07-19 Method of predicting space for preventing error from propagation in image compression system

Country Status (1)

Country Link
KR (1) KR100730383B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100728011B1 (en) * 2005-11-09 2007-06-14 삼성전자주식회사 Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method
KR101125846B1 (en) * 2007-03-23 2012-03-28 삼성전자주식회사 Method for transmitting image frame data based on packet system and apparatus thereof
KR200482762Y1 (en) 2016-10-25 2017-03-13 김영신 Pallet for art

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100377190B1 (en) * 1999-12-24 2003-03-26 한국전자통신연구원 Method for video encoding including intra update based on the estimated error probabilities using the size of bitstream for each block

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100728011B1 (en) * 2005-11-09 2007-06-14 삼성전자주식회사 Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method
KR101125846B1 (en) * 2007-03-23 2012-03-28 삼성전자주식회사 Method for transmitting image frame data based on packet system and apparatus thereof
US8233539B2 (en) 2007-03-23 2012-07-31 Samsung Electronics Co., Ltd. Method and apparatus for transmitting packet-based image frame
KR200482762Y1 (en) 2016-10-25 2017-03-13 김영신 Pallet for art

Also Published As

Publication number Publication date
KR100730383B1 (en) 2007-06-19

Similar Documents

Publication Publication Date Title
KR100324610B1 (en) Image predictive decoding apparatus and method thereof
KR0155784B1 (en) Adaptable variable coder/decoder method of image data
KR100813963B1 (en) Method and apparatus for loseless encoding and decoding image
KR100505306B1 (en) Decoding and coding method of moving image signal, and decoding and coding apparatus of moving image signal using the same
JP3063715B2 (en) Image compression device
KR20030081469A (en) Moving picture coding apparatus and moving picture decoding apparatus
KR20090095317A (en) Method and apparatus for encoding and decoding image
KR20090087767A (en) Method for predictive intra coding for image data
KR20040099086A (en) A image encoding/decoding methods and apparatus using residue prediction of image
JP2004527981A (en) Intra coding of video data block by selecting prediction type
JPH10126780A (en) Decoding video compensator
JP3415319B2 (en) Moving picture coding apparatus and moving picture coding method
JP3599942B2 (en) Moving picture coding method and moving picture coding apparatus
KR100730383B1 (en) Method of predicting space for preventing error from propagation in image compression system
KR20050046929A (en) Method and apparatus for predictive intra coding for image data
JP3701825B2 (en) Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and storage medium storing moving picture coding and decoding program
KR100358159B1 (en) Method for selecting macroblock compression mode in video coding system
KR100613732B1 (en) Image Compression System for Digital Video Surveillance and Method for controlling the Same
JPH10164594A (en) Compression encoding method for moving image and device therefor
JP4302093B2 (en) Moving picture coding apparatus and moving picture coding method
KR200309401Y1 (en) Image Compression System for Digital Video Surveillance
KR0174441B1 (en) Full motion image encoder by using adaptive motion compensation
KR0124162B1 (en) Prediction coding method
JP4000581B2 (en) Image coding apparatus and method
JPH06217296A (en) Image signal coding device based on adaptive intramode/intermode compression

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
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20130604

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140529

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150528

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20170601

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20180605

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20190604

Year of fee payment: 13