KR100943068B1 - Method for error concealment using curve interpolation - Google Patents

Method for error concealment using curve interpolation Download PDF

Info

Publication number
KR100943068B1
KR100943068B1 KR1020080019344A KR20080019344A KR100943068B1 KR 100943068 B1 KR100943068 B1 KR 100943068B1 KR 1020080019344 A KR1020080019344 A KR 1020080019344A KR 20080019344 A KR20080019344 A KR 20080019344A KR 100943068 B1 KR100943068 B1 KR 100943068B1
Authority
KR
South Korea
Prior art keywords
pixel
pixels
block
lost
interpolation
Prior art date
Application number
KR1020080019344A
Other languages
Korean (ko)
Other versions
KR20090093675A (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 KR1020080019344A priority Critical patent/KR100943068B1/en
Publication of KR20090093675A publication Critical patent/KR20090093675A/en
Application granted granted Critical
Publication of KR100943068B1 publication Critical patent/KR100943068B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • 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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Landscapes

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

Abstract

본 발명에 따른 에러복원방법은 손실된 블록에 포함된 각각의 화소를 복원하는 방법에 있어서, 복원할 화소를 기준으로, 상기 손실된 블록의 경계영역에 이웃한 화소들과의 차분값을 연산하는 과정과, 연산된 상기 차분값에 기초하여, 상기 손실된 블록의 경계영역에 이웃한 각 블록에서 가장 적은 차분값을 갖는 화소인 최소경계화소를 각각 검출하는 과정과, 적어도 두 개의 최소경계화소를 이용하여 곡선 보간을 수행하는 과정을 포함한다.The error recovery method according to the present invention is a method for restoring each pixel included in a lost block, wherein the difference value with neighboring pixels in the boundary region of the lost block is calculated based on the pixel to be restored. And detecting a minimum boundary pixel, which is a pixel having the smallest difference value, in each block adjacent to the boundary region of the lost block, based on the calculated difference value, and at least two minimum boundary pixels. Performing curve interpolation.

영상, 복호화, 에러, 복원, 손실 Image, decoding, error, reconstruction, loss

Description

곡선 보간을 이용한 에러복원방법{METHOD FOR ERROR CONCEALMENT USING CURVE INTERPOLATION}Error restoration method using curve interpolation {METHOD FOR ERROR CONCEALMENT USING CURVE INTERPOLATION}

본 발명은 동영상 복호화에 관한 것으로서, 특히 부호화된 데이터 중 손실된 블록에 포함된 영상을 복원하는 방법에 관한 것이다.The present invention relates to video decoding, and more particularly, to a method for reconstructing an image included in a lost block among encoded data.

동영상 신호의 전송이나 저장 시에 높은 영상 화질을 유지하면서 낮은 데이터 레이트를 얻기 위한 다양한 디지털 동영상 압축 기술이 제안되어 왔다. 이러한 압축 기술은 이산 코사인 변환(DCT: Discrete Cosine Transform) 기법이나 모션 보상(MC: Motion Compensation) 기법 등을 통해 비교적 높은 압축률을 달성하고 있다.Various digital video compression techniques have been proposed for obtaining low data rates while maintaining high image quality when transmitting or storing video signals. Such compression technology achieves relatively high compression ratio through Discrete Cosine Transform (DCT) technique or Motion Compensation (MC) technique.

이러한 동영상 데이터는 부호화 과정에서, 예측부호화, 변환, 및 양자화 과정을 거치면서 시/공간적 정보를 잃게 되고, 가변장 부호화(VLC; Variable Length Coding)에 의해 비트 스트림 내의 전후 데이터가 상호 밀접한 관계를 갖게 되었다. 특히, 예측부호화 기술을 이용하여 동영상 데이터를 부호화하는 경우, 예측을 통해 부호화된 프레임을 다음 프레임에서 참조함에 따라 전후 데이터가 직접적인 관련성을 갖게 되었다. 따라서, 예측부호화 기술로써 부호화된 데이터를 전송하는 과정에 서, 부호화된 데이터가 손실되면, 손실된 참조 프레임을 이용하여 복원되는 프레임에 연속적으로 에러가 발생하는 문제가 유발되었다.Such video data loses spatio-temporal information during the encoding, transformation, and quantization processes in encoding, and has a close relationship between front and rear data in the bit stream by variable length coding (VLC). It became. In particular, when video data is encoded using a prediction encoding technique, front and rear data are directly related to each other by referring to a frame encoded through prediction in a next frame. Therefore, in the process of transmitting the encoded data using the predictive encoding technique, when the encoded data is lost, a problem occurs in which an error continuously occurs in a frame reconstructed using the lost reference frame.

결국, 전송 오류가 발생할 수 있는 전송 채널 환경을 고려하여 동영상 데이터를 부호화 및 복호화하는 방법이 다양하게 연구되고 있다. 즉, 부호화 과정에서 오류의 영향을 최소화할 수 있도록 에러에 강인한 비트스트림을 생성하는 방법이 연구되고 있으며, 복호화 과정에서 전송 상의 오류로 인해 데이터가 손실되더라도 부호화된 데이터를 원활하게 복원하고 에러를 은닉하는 방법이 다양하게 연구되고 있다.As a result, various methods have been studied for encoding and decoding video data in consideration of a transmission channel environment in which transmission errors may occur. That is, a method of generating a bitstream that is robust to errors is being studied to minimize the effects of errors in the encoding process, and even if data is lost due to transmission errors during decoding, the encoded data is smoothly restored and the error is concealed. There are various ways to do this.

도 1은 종래기술에 따른 에러은닉 기법에서 사용되는 선형 보간법의 개념도이다. 도 1을 참조하면, 종래기술에 따른 에러은닉 기법에서는, 손실된 16×16 매크로블록(1)은 공간적 상관성을 이용한 선형 보간법에 의해 복원한다. 구체적으로, 손실된 블록(1)에 이웃한 주변 블록(예컨대, 상하좌우에 위치한 주변블록(3,5,7,9))이 복호화되었는지를 확인한 후, 손실된 블록에 포함된 각각의 화소를 복호화된 주변블록에 포함된 화소를 이용하여 복원한다. 즉, 상하좌우에 이웃한 매크로블록(3,5,7,9)에 포함되며 손실된 블록(1)에 직접적으로 이웃한 화소 중, 복원할 위치의 화소 즉, Y(x,y)에 위치한 화소의 수평 및 수직방향에 위치한 화소(Y1,Y2,Y3,Y4)를 선형 보간하여 복원한다.1 is a conceptual diagram of a linear interpolation method used in the error concealment technique according to the prior art. Referring to Fig. 1, in the error concealment technique according to the prior art, the lost 16x16 macroblock 1 is recovered by linear interpolation using spatial correlation. Specifically, after checking whether the neighboring blocks (for example, the neighboring blocks 3, 5, 7, and 9 located on the top, bottom, left, and right sides) of the lost block 1 are decoded, each pixel included in the lost block is decoded. The pixels included in the decoded neighboring block are reconstructed. That is, among the pixels included in the macroblocks 3, 5, 7, and 9 adjacent to the top, bottom, left, and right and directly adjacent to the lost block 1, the pixels at the positions to be restored, that is, Y (x, y) The pixels Y1, Y2, Y3, and Y4 located in the horizontal and vertical directions of the pixel are linearly interpolated and restored.

이러한 방법은 주변에 위치한 화소들의 평균값을 이용하는 방법으로써, 손실된 블록의 특성이 반영되지 않으며, 복원된 영상에 블러링이 형성된다. 특히, 영상의 크기가 작은 QCIF(176×144) 포맷의 영상 및 에지 성분이 뚜렷하게 존재하는 블 록을 포함하는 영상에서 블러링이 심하게 유발되는 문제가 있다. 따라서, 블러링을 최소화하여 손실된 데이터를 복원하는 방안이 요구되고 있다.This method uses a mean value of pixels located in the vicinity, and does not reflect the characteristics of the lost block, and blurring is formed in the reconstructed image. In particular, blurring is severely caused in an image including a small QCIF (176 × 144) format image and a block in which edge components are distinctly present. Accordingly, there is a need for a method of restoring lost data by minimizing blurring.

본 발명은 전술한 점을 고려하여 안출된 것으로서, 블록 단위로 부호화된 영상에서 손실된 블록의 복원시 발생하는 블러링 현상을 감소시키는 방법을 제공하는데 그 목적이 있다.The present invention has been made in consideration of the above-described point, and an object of the present invention is to provide a method of reducing blurring occurring when reconstructing a lost block in an image encoded in blocks.

상기한 목적을 달성하기 위하여 본 발명에 따른 에러복원방법은 손실된 블록에 포함된 각각의 화소를 복원하는 방법에 있어서, 복원할 화소를 기준으로, 상기 손실된 블록의 경계영역에 이웃한 화소들과의 차분값을 연산하는 과정과, 연산된 상기 차분값에 기초하여, 상기 손실된 블록의 경계영역에 이웃한 각 블록에서 가장 적은 차분값을 갖는 화소인 최소경계화소를 각각 검출하는 과정과, 적어도 두 개의 최소경계화소를 이용하여 곡선 보간을 수행하는 과정을 포함한다.In order to achieve the above object, the error recovery method according to the present invention is a method of restoring each pixel included in a lost block, wherein the pixels adjacent to the boundary region of the lost block are based on the pixel to be restored. Calculating a difference value between and detecting a minimum boundary pixel, which is a pixel having the smallest difference value in each block adjacent to the boundary region of the lost block, based on the calculated difference value; Curve interpolation using at least two minimum boundary pixels.

상기 적어도 두 개의 최소경계화소는, 상기 최소경계화소 중 가장 적은 차분값을 갖는 두 개의 화소이다.The at least two minimum boundary pixels are two pixels having the smallest difference value among the minimum boundary pixels.

상기 곡선 보간을 수행하는 과정은, 복원할 화소가 영상의 에지 영역을 포함하는지를 확인하는 과정과, 복원할 화소가 영상의 에지 영역을 포함하지 않는 경우에 대응하여, 상기 복원할 화소와 각각의 최소경계화소 사이의 거리를 연산하고, 연산된 각각의 상기 거리를 기준으로 곡선 보간을 수행하는 과정을 포함한다.The performing of the curve interpolation may include checking whether a pixel to be restored includes an edge region of the image, and corresponding to a case in which the pixel to be restored does not include an edge region of the image, wherein the pixel to be restored and each minimum Calculating a distance between the boundary pixels and performing curve interpolation based on each of the calculated distances.

상기 곡선 보간을 수행하는 과정은, 복원할 화소가 영상의 에지 영역을 포함하는지를 확인하는 과정과, 복원할 화소가 영상의 에지 영역을 포함하지 않는 경우 에 대응하여, 상기 적어도 두 개의 최소경계화소 사이의 중점을 획득하는 과정과, 곡선 보간의 가중치 결정을 위해 채택되는 함수의 수직 기준축을 상기 중점을 포함하는 수직축의 위치에 대응하여 이동시키고, 이동된 상기 수직 기준축에 기초하여 곡선 보간의 가중치를 결정하는 과정을 포함한다.The performing of the curve interpolation may include checking whether a pixel to be restored includes an edge region of the image, and corresponding to a case where the pixel to be restored does not include an edge region of the image, between the at least two minimum boundary pixels. Acquiring the midpoint of the curve; and moving the vertical reference axis of the function adopted for determining the weight of the curve interpolation corresponding to the position of the vertical axis including the midpoint, and weighting the curve interpolation based on the moved vertical reference axis. Decision making process is included.

상기 곡선 보간은 시그모이드(Sigmoid) 함수를 이용하는 시그모이드(Sigmoid) 보간인 것이 바람직하다.The curve interpolation is preferably sigmoid interpolation using a sigmoid function.

복원할 화소가 영상의 에지 영역을 포함하지 않는 경우에 대응하여 시그모이드(Sigmoid) 보간을 수행하는 과정은, 시그모이드 함수의 매개변수의 범위를 기준으로하여 상기 손실된 블록과 이웃한 블록의 경계영역에 포함된 화소와의 거리를 상기 매개변수에 매핑시키는 과정과, 매핑된 상기 매개변수를 이용하여 시그모이드 보간법에 기초한 연산을 수행하는 과정을 포함한다.The process of performing sigmoid interpolation in response to the case in which the pixel to be reconstructed does not include an edge region of the image is performed based on a range of parameters of the sigmoid function. And mapping a distance from a pixel included in a boundary region to the parameter, and performing a calculation based on sigmoid interpolation using the mapped parameter.

본 발명에 따른 에러복원방법에 따르면, 손실된 블록의 화소들을 복원하는 과정에서 발생하는 블러링 현상을 감소시킬 수 있다. According to the error recovery method according to the present invention, the blurring phenomenon generated in the process of restoring the pixels of the lost block can be reduced.

또한, 손실된 블록의 주변에 위치한 블록에 포함된 화소들의 관계를 고려하여 손신된 화소를 복원함으로써, 손실된 블록을 원본의 영상에 가깝게 복원할 수 있으며, 손실된 블록의 복원으로 인한 화질 저하를 감소시킬 수 있다.In addition, by restoring the lost pixel in consideration of the relationship between the pixels included in the block located near the lost block, the lost block can be restored close to the original image, and image quality deterioration due to the restoration of the lost block can be reduced. Can be reduced.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 특정 사항들이 나타나고 있는데 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들이 본 발명의 범위 내에서 소정의 변형이나 혹은 변경이 이루어질 수 있음은 이 기술분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Specific details appear in the following description, which is provided to help a more general understanding of the present invention, and it is common knowledge in the art that such specific matters may be changed or modified within the scope of the present invention. It is self-evident to those who have.

본 발명은 부호화된 데이터 중 일부 데이터가 손실됨에 따라, 손실된 데이터에 포함된 블록을 손실되기 이전의 블록으로 복원하는 방법으로써, 동영상 데이터를 복호화하는 장치에 적용될 수 있다. 특히, 동영상 복호화 장치의 에러 복원을 처리하는 장치, 예컨대 H. 264 복호화기의 인트라 예측부 등에 적용될 수 있다.The present invention can be applied to an apparatus for decoding video data as a method of restoring a block included in lost data to a block before it is lost as some data of the encoded data is lost. In particular, the present invention can be applied to an apparatus for processing error recovery of a video decoding apparatus, for example, an intra predictor of an H.264 decoder.

도 2는 손실된 블록 및 그 주변에 이웃한 블록의 일 예시도이다. 도 2를 참조하면, 손실된 블록(10) 및 상기 손실된 블록(10)의 상하좌우에 이웃한 블록(20,30,40,50)이 도시된다. 각 블록은 16×16 크기의 블록으로써, 각각 16×16 개의 화소를 포함한다. 일반적으로, 손실된 블록의 복원은 손실된 블록(10)의 주변에 위치한 블록들(20,30,40,50)의 복호화가 완료된 상태에서 이루어지며, 손실된 블록에 포함된 각각의 화소를 순차적으로 복원하는 방법이 채택된다. 이에 따라, 본 발명의 일 실시예에서는 복호화가 완료된 주변 블록들(20,30,40,50)을 참조하여, 손실된 블록(10)에 포함된 복수의 화소 중, 최상부의 가장 우측에 포함된 화소(11)부터 그 우측에 위치한 화소를 순차적으로 복원하고, 최상부 열에 위치한 화소의 복원이 완료되면, 그 다음 하위 열에 위치한 화소를 복원하는 것을 예시한다. 2 is an exemplary diagram of a lost block and neighboring blocks around it. Referring to FIG. 2, a lost block 10 and blocks 20, 30, 40, and 50 adjacent to the top, bottom, left, and right sides of the lost block 10 are shown. Each block is a 16 × 16 block, and includes 16 × 16 pixels. In general, restoration of a lost block is performed in a state where decoding of blocks 20, 30, 40, and 50 located around the lost block 10 is completed, and each pixel included in the lost block is sequentially processed. The method of restoration is adopted. Accordingly, in an exemplary embodiment of the present invention, with reference to the neighboring blocks 20, 30, 40, and 50 that have been decoded, the rightmost part of the plurality of pixels included in the lost block 10 may be included. The pixels 11 located on the right side of the pixel 11 are sequentially restored, and when the pixels located in the uppermost column are completed, the pixels located in the next lower column are restored.

나아가, 손실된 블록(10)에 포함된 각각의 화소를 복원하는 과정을 모두 동일하게 수행되므로, 특정 화소(15)를 복원하는 방법을 통해 손실된 블록을 복원할 수 있음은 자명하다. 따라서, 이하에서는 손실된 블록(10)에 포함된 특정 화소(15) 를 복원하는 방법에 대해 설명한다.Furthermore, since the process of restoring each pixel included in the lost block 10 is performed in the same manner, it is obvious that the lost block can be restored through the method of restoring the specific pixel 15. Accordingly, a method of restoring a specific pixel 15 included in the lost block 10 will be described below.

도 3은 본 발명의 일 실시예에 따른 에러복원방법의 순서를 도시한 흐름도이다. 도 3을 참조하면, 본 발명의 일 실시예에 따른 에러복원방법은 특정 화소(15)와 손실된 블록의 주변에 위치한 화소들의 차분값을 각각 연산하는 단계(100), 연산된 차분값으로부터 최소경계화소를 검출하는 단계(200), 및 상기 최소경계화소를 이용한 곡선 보간을 수행하는 단계(300)를 포함한다.3 is a flowchart illustrating a procedure of an error restoration method according to an embodiment of the present invention. Referring to FIG. 3, in the error recovery method according to an embodiment of the present invention, calculating a difference value between a specific pixel 15 and pixels located around a lost block, respectively, at least 100 from the calculated difference value. Detecting a border pixel (200), and performing a curve interpolation using the minimum boundary pixel (300).

우선, 100단계에서는 복원을 진행하는 특정 화소(15)와 손실된 블록(10)에 이웃한 화소들(25,35,45,55) 사이의 차분값을 연산한다. 여기서, 상기 손실된 블록(10)에 이웃한 화소들(25,35,45,55)은 손실된 블록(10)의 주변 블록(20,30,40,50)에 포함된 화소 중, 손실된 블록(10)의 상하좌우 모서리 부분에 직접적으로 이웃하는 화소 일 수 있다.First, in operation 100, a difference value between a specific pixel 15 to be restored and pixels 25, 35, 45, and 55 neighboring to the lost block 10 is calculated. Here, the pixels 25, 35, 45, and 55 adjacent to the lost block 10 are lost among the pixels included in the neighboring blocks 20, 30, 40, and 50 of the lost block 10. It may be a pixel directly neighboring the upper, lower, left, and right corner portions of the block 10.

200단계에서는, 상기 100단계에서 연산된 차분값에 기초하여, 각 블록에 포함된 화소 중에서 가장 작은 값을 갖는 화소(이하, 최소경계화소)들(21,31,41,51)을 검출하게 된다. 예컨대, 특정 화소(15)와 상부 블록(20)의 화소들(25) 사이에서 가장 작은 차분값을 갖는 제1화소(21)를 제1최소경계화소, 특정 화소(15)와 하부 블록(30)의 화소들(35) 사이에서 가장 작은 차분값을 갖는 제2화소(31)를 제2최소경계화소, 특정 화소(15)와 좌측 블록(40)의 화소들(45) 사이에서 가장 작은 차분값을 갖는 제3화소(41)를 제3최소경계화소, 특정 화소(15)와 우측 블록(50)의 화소들(55) 사이에서 가장 작은 차분값을 갖는 제4화소(51)를 제4최소경계화소로 검출한다.In operation 200, pixels 21, 31, 41, and 51 having the smallest value among pixels included in each block are detected based on the difference value calculated in operation 100. . For example, the first pixel 21 having the smallest difference value between the specific pixel 15 and the pixels 25 of the upper block 20 is replaced by the first minimum boundary pixel, the specific pixel 15 and the lower block 30. The second pixel 31 having the smallest difference value between the pixels 35 of the second pixel 31 has the smallest difference between the second minimum boundary pixel, the specific pixel 15 and the pixels 45 of the left block 40. The fourth pixel 51 having the smallest difference value between the third pixel 41 having the value and the third minimum boundary pixel, and the pixel 55 of the specific pixel 15 and the right block 50. Detect with minimum boundary pixel.

다음으로, 300단계에서는 제1, 제2, 제3, 및 제4최소경계화소(21,31,41,51)를 이용하여 곡선 보간을 수행한다. 예컨대, 특정 화소(15)와 제1, 제2, 제3, 및 제4최소경계화소(21,31,41,51) 사이의 거리값에 대응하는 매개변수를 각각 산출하고, 산출된 상기 매개변수를 시그모이드 보간에 사용되는 변수로 적용하여 보간을 수행할 수 있다. 이러한 보간은 하기의 330 및 340단계에서 설명되는 과정과 같이 수행될 수 있다.Next, in step 300, curve interpolation is performed using the first, second, third, and fourth minimum boundary pixels 21, 31, 41, and 51. For example, a parameter corresponding to a distance value between the specific pixel 15 and the first, second, third, and fourth minimum boundary pixels 21, 31, 41, and 51 is calculated, respectively, and the calculated parameters Interpolation can be performed by applying variables as variables used in sigmoid interpolation. Such interpolation may be performed as described in steps 330 and 340 below.

바람직하게, 300단계는 시그모이드 함수를 이용하는 시그모이드 보간법에 기초하여 수행될 수 있다. 이를 위하여, 300단계는 하기의 도 4에 도시된 310 내지 370단계를 포함할 수 있다.Preferably, step 300 may be performed based on sigmoid interpolation using a sigmoid function. To this end, step 300 may include steps 310 to 370 shown in FIG. 4.

도 4는 본 발명의 일 실시예에 따른 에러복원방법에 포함된 곡선 보간 단계의 상세 순서를 도시한 흐름도이다. 4 is a flowchart illustrating a detailed procedure of a curve interpolation step included in an error recovery method according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 일 실시예에 따른 곡선 보간 단계는, 우선 310단계를 통해, 복원 중인 특정 화소(15)가 영상에서 표현되는 물체의 에지 영역을 포함하는지에 대해 확인한다. 예컨대, 310단계는 제1, 제2, 제3, 및 제4최소경계화소(21,31,41,51) 중, 차분값의 최대값을 갖는 두 개의 화소를 추출하고, 추출된 상기 두 개 화소의 차분값을 미리 정해진 임계치와 비교하여 상기 두 개의 화소의 차분값이 상기 임계치를 초과하는지를 확인한다. 확인 결과, 상기 두 개의 화소의 차분값이 모두 상기 임계치를 초과하는 경우 복원할 화소에 에지 영역이 포함되어 있는 것으로 결정하고, 그렇지 않은 경우(즉, 적어도 하나의 상기 화소의 차분값이 상기 임계치 이하일 경우) 복원할 화소에 에지 영역이 포함되지 않는 것으로 결정 한다.Referring to FIG. 4, the curved interpolation according to an embodiment of the present invention first checks whether a specific pixel 15 under restoration includes an edge region of an object represented in an image through step 310. For example, step 310 extracts two pixels having the maximum value of the difference value among the first, second, third, and fourth minimum boundary pixels 21, 31, 41, and 51, and extracts the two pixels. The difference between the pixels is compared with a predetermined threshold to determine whether the difference between the two pixels exceeds the threshold. As a result of the check, if the difference between the two pixels exceeds the threshold, it is determined that the edge region is included in the pixel to be restored; otherwise (that is, the difference between the at least one pixel is less than or equal to the threshold). If it is determined that the edge area is not included in the pixel to be restored.

복원할 화소에 에지 영역이 포함되어 있지 않은 경우 330 및 340단계를 수행하고, 복원할 화소에 에지 영역이 포함되어 있는 경우 350 내지 370단계를 수행한다(320단계).If the edge area is not included in the pixel to be restored, steps 330 and 340 are performed. If the edge area is included in the pixel to be restored, steps 350 to 370 are performed (step 320).

330 및 340단계에서는 시그모이드 함수에 기초한 시그모이드 보간을 이용하여 손실된 화소를 복원하게 된다. In steps 330 and 340, lost pixels are reconstructed using sigmoid interpolation based on the sigmoid function.

시그모이드 보간은 하기의 수학식 1에 따른 시그모이드 함수(도 5의 그래프 참조)의 연산에 기초하여, 화소의 위치에 따른 가중치를 획득하고 이를 고려하여 손실된 블록에 포함된 화소를 복원하는 방법이다.Sigmoid interpolation is based on the calculation of the sigmoid function (see the graph of FIG. 5) according to Equation 1 below, to obtain the weight according to the position of the pixel and to restore the pixel included in the lost block That's how.

Figure 112008015350387-pat00001
Figure 112008015350387-pat00001

그런데, 시그모이드 함수의 매개변수의 수와 손실된 매크로 블록의 크기가 다를 경우, 손실된 매크로 블록을 시그모이드 함수의 매개변수에 적절한 매핑이 요구된다. 이를 위해 330단계에서는 손실된 매크로 블록과 시그모이드 함수의 매개변수를 매핑시키게 된다. 예컨대, 손실된 매크로 블록이 16×16 크기일 경우 손실된 블록의 인덱스는 0 내지 15로 설정될 수 있으며, 주변 블록의 이웃한 화소를 각각 포함하여 최종적으로 -1 내지 16으로 설정될 수 있다. 한편, 시그모이드 함수의 매개변수는 -4 내지 4로 설정되는 것을 가정한다(도 6참조). 이 경우, 하기의 수학식 2의 비례식에 기초한 하기의 수학식 3의 연산을 수행하여 매핑할 수 있다.However, when the number of parameters of the sigmoid function and the size of the lost macro block are different, appropriate mapping of the lost macro block to the parameters of the sigmoid function is required. To do this, in step 330, the parameters of the lost macroblock and the sigmoid function are mapped. For example, when the lost macroblock is 16 × 16 in size, the index of the lost block may be set to 0 to 15, and may be finally set to −1 to 16 including neighboring pixels of the neighboring block, respectively. On the other hand, it is assumed that the parameters of the sigmoid function are set to -4 to 4 (see Fig. 6). In this case, the calculation may be performed by performing the calculation of Equation 3 based on the proportional expression of Equation 2 below.

Figure 112008015350387-pat00002
Figure 112008015350387-pat00002

Figure 112008015350387-pat00003
Figure 112008015350387-pat00003

Figure 112008015350387-pat00004
Figure 112008015350387-pat00004

여기서, xi 는 매핑을 통해 산출된 시그모이드 함수의 변수이며, di는 복원할 화소와 제1, 제2, 제3, 및 제4최소경계화소(21,31,41,51) 사이의 각각의 거리이다.Where x i Is the variable of the sigmoid function calculated through the mapping, and d i is the distance between the pixel to be restored and the first, second, third, and fourth minimum boundary pixels 21, 31, 41, and 51. to be.

다음으로, 340단계에서는, 수직 및 수평방향의 최소경계화소에 대해 각각 시그모이드 함수를 연산하고, 연산된 값을 평균화하여 복원할 화소의 보간을 수행한다. 이러한 340단계는 하기의 수학식 4의 연산을 통해 수행될 수 있다.Next, in step 340, the sigmoid function is calculated for the minimum boundary pixels in the vertical and horizontal directions, and the interpolation of the pixels to be restored by averaging the calculated values is performed. This step 340 may be performed through the calculation of Equation 4 below.

Figure 112008015350387-pat00005
Figure 112008015350387-pat00005

여기서,

Figure 112008015350387-pat00006
는 수평방향으로 인접한 블록에 포함된 최소경계화소(즉, 제3 및 제4최소경계화소(41,51))에 대한 시그모이드 함수 값을 연산한 결과이며,
Figure 112008015350387-pat00007
는 수직방향으로 인접한 블록에 포함된 최소경계화소(즉, 제1 및 제2최소경계화소(21,31))에 대한 시그모이드 함수 값을 연산한 결과이며,
Figure 112008015350387-pat00008
는 연산된
Figure 112008015350387-pat00009
Figure 112008015350387-pat00010
값을 평균화한 값이다.here,
Figure 112008015350387-pat00006
Is the result of calculating the sigmoid function values for the minimum boundary pixels (ie, the third and fourth minimum boundary pixels 41 and 51) included in the adjacent blocks in the horizontal direction.
Figure 112008015350387-pat00007
Is the result of calculating the sigmoid function values for the minimum boundary pixels (ie, the first and second minimum boundary pixels 21 and 31) included in the vertically adjacent blocks.
Figure 112008015350387-pat00008
Is calculated
Figure 112008015350387-pat00009
And
Figure 112008015350387-pat00010
The averaged value.

한편, 350단계에서는 상기 310단계에서 추출된 상기 두 개의 화소(예컨대, 제1 및 제2최소경계화소(21,31)) 사이의 중점을 획득한다. 그리고, 360단계에서는 상기 중점을 지나는 수직 기준축을 생성하고, 상기 수직 기준축에 대응하여 시그모이드 함수 그래프의 수직축을 이동시키고, 그에 따른 함수값을 변경한다. 이하 첨부된 도면을 참조하여 350 및 360단계의 과정을 상세히 예시한다.In operation 350, a middle point between the two pixels extracted in operation 310 (eg, the first and second minimum boundary pixels 21 and 31) is obtained. In operation 360, a vertical reference axis passing through the midpoint is generated, the vertical axis of the sigmoid function graph is moved corresponding to the vertical reference axis, and the function value is changed accordingly. Hereinafter, a process of steps 350 and 360 will be described in detail with reference to the accompanying drawings.

도 7a는 본 발명의 일 실시예에 따른 수직축이 이동되기 전의 시그모이드 함수의 그래프 및 손실된 블록의 관계를 예시하며, 도 7b는 도 4의 360단계를 통해 수직축이 이동된 시그모이드 함수의 그래프 및 손실된 블록의 관계를 예시한다. 우선 도 7a를 참조하면, 350단계에서는 상기 310단계에서 추출된 상기 두 개의 화소(예컨대, 제1 및 제2최소경계화소(21,31))를 연결하고, 연결된 선분의 중점(O)을 획득한다. 그리고, 상기 중점(O)을 지나는 수직 기준축(61)을 형성한다. 또한, 350단계에서는 손실된 블록의 크기를 고려하여 시그모이드 함수 그래프를 매핑시킨다. 다음으로 360단계에서는 매핑된 시그모이드 함수 그래프에서 수직축(71)을 상기 수직 기준축(61)에 맞추어 새로운 수직축(75)으로 이동시킨다. 결국, 도 7b와 같이 시그모이드 함수 그래프는 새로운 기준축(75)을 중심으로 형성된다. FIG. 7A illustrates a graph of the sigmoid function before the vertical axis is moved and the relationship between the lost blocks according to an embodiment of the present invention, and FIG. 7B is a sigmoid function having the vertical axis moved through step 360 of FIG. 4. A graph of and illustrates the relationship of the lost blocks. Referring to FIG. 7A, in operation 350, the two pixels extracted in operation 310 (eg, the first and second minimum boundary pixels 21 and 31) are connected to each other, and the midpoint O of the connected line segment is obtained. do. Then, a vertical reference axis 61 passing through the mid point O is formed. In operation 350, the sigmoid function graph is mapped in consideration of the lost block size. Next, in step 360, the vertical axis 71 is moved to the new vertical axis 75 in accordance with the vertical reference axis 61 in the mapped sigmoid function graph. As a result, as shown in FIG. 7B, the sigmoid function graph is formed around the new reference axis 75.

마지막으로, 370단계에서는 새로운 기준축(75)을 중심으로 형성된 시그모이 드 함수값을 가중치로하여, 상기 손실된 블록(10)에 이웃한 화소들(25,35,45,55)이 지시하는 값에 적용하여 손실된 화소를 복원한다.Finally, in step 370, the pixels 25, 35, 45, and 55 adjacent to the lost block 10 indicate the weighted sigmoid function value formed around the new reference axis 75. Apply to the value to restore the lost pixels.

전술한 본 발명의 에러복원방법에 따르면, 주변 블록의 상황을 고려하지 않고 획일적으로 손실된 블록의 화소들을 보간 함에 따라 발생하는 문제점들을 해소할 수 있다. 특히, 심각한 블러링 현상이 유발되는 문제와 화질이 저하 문제를 해결할 수 있다.According to the error recovery method of the present invention described above, it is possible to solve the problems caused by interpolating the pixels of the uniformly lost block without considering the situation of the neighboring block. In particular, the problem of causing serious blurring and deterioration of image quality can be solved.

이상에서 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 이것에 의해 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 수정 및 변형이 가능함은 물론이다. Although the present invention has been described above by means of limited embodiments and drawings, the present invention is not limited thereto, and various modifications and changes may be made by those skilled in the art to which the present invention pertains.

도 1은 종래기술에 따른 에러은닉 기법에서 사용되는 선형 보간법의 개념도1 is a conceptual diagram of linear interpolation used in the error concealment technique according to the prior art

도 2는 손실된 블록 및 그 주변에 이웃한 블록의 일 예시도2 is an exemplary diagram of a lost block and neighboring blocks around it;

도 3은 본 발명의 일 실시예에 따른 에러복원방법의 순서를 도시한 흐름도3 is a flowchart illustrating a procedure of an error restoration method according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 에러복원방법에 포함된 곡선 보간 단계의 상세 순서를 도시한 흐름도4 is a flowchart showing the detailed procedure of the curve interpolation step included in the error recovery method according to an embodiment of the present invention.

도 5는 일반적인 시그모이드 함수의 그래프5 is a graph of a typical sigmoid function

도 6은 본 발명의 일 실시예에 따른 손실된 매크로 블록의 크기와 시그모이드 함수의 매개변수에 대한 관계의 일 예시도6 is an exemplary diagram of a relationship between a size of a lost macroblock and a parameter of a sigmoid function according to an embodiment of the present invention.

도 7a는 본 발명의 일 실시예에 따른 에러복원방법에서 수직축이 이동되기 전의 시그모이드 함수의 그래프와 손실된 블록의 관계에 대한 일 예시도7A illustrates an example of a relationship between a graph of a sigmoid function and a lost block before the vertical axis is moved in the error recovery method according to an embodiment of the present invention.

도 7b는 본 발명의 일 실시예에 따른 에러복원방법에서 수직축이 이동된 시그모이드 함수의 그래프 및 손실된 블록의 관계에 대한 일 예시도FIG. 7B is an exemplary diagram illustrating a relationship between a graph of a sigmoid function having a vertical axis shifted and a lost block in the error restoration method according to an embodiment of the present invention.

Claims (6)

손실된 블록에 포함된 각각의 화소를 복원하는 방법에 있어서,In the method for restoring each pixel included in the lost block, 복원할 화소를 기준으로, 상기 손실된 블록의 경계영역에 이웃한 화소들과의 차분값을 연산하는 과정과,Calculating a difference value with pixels neighboring the boundary region of the lost block, based on the pixel to be restored; 연산된 상기 차분값에 기초하여, 상기 손실된 블록의 경계영역에 이웃한 각 블록에서 가장 적은 차분값을 갖는 화소인 최소경계화소를 각각 검출하는 과정과,Detecting a minimum boundary pixel, which is a pixel having the smallest difference value in each block adjacent to the boundary region of the lost block, based on the calculated difference value; 적어도 두 개의 최소경계화소를 이용하여 곡선 보간을 수행하는 과정을 포함함을 특징으로 하는 에러복원방법.Error recovery method comprising the step of performing curve interpolation using at least two minimum boundary pixels. 제1항에 있어서,The method of claim 1, 상기 적어도 두 개의 최소경계화소는The at least two minimum boundary pixels 상기 최소경계화소 중 가장 적은 차분값을 갖는 두 개의 화소인 것을 특징으로 하는 에러복원방법.And two pixels having the smallest difference value among the minimum boundary pixels. 제1항에 있어서, The method of claim 1, 상기 곡선 보간을 수행하는 과정은,The process of performing the curve interpolation, 복원할 화소가 영상의 에지 영역을 포함하는지를 확인하는 과정과,Determining whether a pixel to be restored includes an edge region of the image; 복원할 화소가 영상의 에지 영역을 포함하지 않는 경우에 대응하여, 상기 복원할 화소와 각각의 최소경계화소 사이의 거리를 연산하고, 연산된 각각의 상기 거 리를 기준으로 곡선 보간을 수행하는 과정을 포함함을 특징으로 하는 에러복원방법.In response to the case where the pixel to be reconstructed does not include an edge region of the image, calculating a distance between the pixel to be reconstructed and each minimum boundary pixel, and performing curve interpolation based on the calculated distances. Error recovery method comprising the. 제1항에 있어서, The method of claim 1, 상기 곡선 보간을 수행하는 과정은,The process of performing the curve interpolation, 복원할 화소가 영상의 에지 영역을 포함하는지를 확인하는 과정과,Determining whether a pixel to be restored includes an edge region of the image; 복원할 화소가 영상의 에지 영역을 포함하는 경우에 대응하여, 상기 적어도 두 개의 최소경계화소 사이의 중점을 획득하는 과정과,In response to the pixel to be reconstructed including an edge region of the image, obtaining a midpoint between the at least two minimum boundary pixels; 곡선 보간의 가중치 결정을 위해 채택되는 함수의 수직 기준축을 상기 중점을 포함하는 수직축의 위치에 대응하여 이동시키고, 이동된 상기 수직 기준축에 기초하여 곡선 보간의 가중치를 결정하는 과정을 포함하는 것을 특징으로 하는 에러복원방법.Moving the vertical reference axis of the function adopted for determining the weight of the curve interpolation corresponding to the position of the vertical axis including the midpoint, and determining the weight of the curve interpolation based on the moved vertical reference axis. Error recovery method. 제1항 내지 제4항 중, 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 곡선 보간은 시그모이드(Sigmoid) 함수를 이용하는 시그모이드(Sigmoid) 보간인 것을 특징으로 하는 에러복원방법.The curve interpolation is an error recovery method, characterized in that sigmoid (Sigmoid) interpolation using a sigmoid function. 제5항에 있어서,The method of claim 5, 복원할 화소가 영상의 에지 영역을 포함하지 않는 경우에 대응하여 시그모이드(Sigmoid) 보간을 수행하는 과정은,The process of performing sigmoid interpolation in response to the case where the pixel to be reconstructed does not include the edge region of the image, 시그모이드 함수의 매개변수의 범위를 기준으로하여 상기 손실된 블록과 이웃한 블록의 경계영역에 포함된 화소와의 거리를 상기 매개변수에 매핑시키는 과정과,Mapping a distance between the lost block and a pixel included in a boundary region of a neighboring block to the parameter based on a range of a parameter of a sigmoid function; 매핑된 상기 매개변수를 이용하여 시그모이드 보간법에 기초한 연산을 수행하는 과정을 포함함을 특징으로 하는 에러복원방법.And performing an operation based on sigmoid interpolation using the mapped parameter.
KR1020080019344A 2008-02-29 2008-02-29 Method for error concealment using curve interpolation KR100943068B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080019344A KR100943068B1 (en) 2008-02-29 2008-02-29 Method for error concealment using curve interpolation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080019344A KR100943068B1 (en) 2008-02-29 2008-02-29 Method for error concealment using curve interpolation

Publications (2)

Publication Number Publication Date
KR20090093675A KR20090093675A (en) 2009-09-02
KR100943068B1 true KR100943068B1 (en) 2010-02-18

Family

ID=41302130

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080019344A KR100943068B1 (en) 2008-02-29 2008-02-29 Method for error concealment using curve interpolation

Country Status (1)

Country Link
KR (1) KR100943068B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101354767B1 (en) * 2012-06-07 2014-01-23 엘에스산전 주식회사 Apparatus and method for controlling output
CN112508790B (en) * 2020-12-16 2023-11-14 上海联影医疗科技股份有限公司 Image interpolation method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050065104A (en) * 2003-12-24 2005-06-29 엘지전자 주식회사 Image error concealment apparatus and method
KR20060131083A (en) * 2005-06-15 2006-12-20 삼성전자주식회사 Method and apparatus for edge adaptive color interpolation
KR20070024333A (en) * 2005-08-26 2007-03-02 가부시키가이샤 히타치세이사쿠쇼 Image signal processing apparatus and image signal processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050065104A (en) * 2003-12-24 2005-06-29 엘지전자 주식회사 Image error concealment apparatus and method
KR20060131083A (en) * 2005-06-15 2006-12-20 삼성전자주식회사 Method and apparatus for edge adaptive color interpolation
KR20070024333A (en) * 2005-08-26 2007-03-02 가부시키가이샤 히타치세이사쿠쇼 Image signal processing apparatus and image signal processing method

Also Published As

Publication number Publication date
KR20090093675A (en) 2009-09-02

Similar Documents

Publication Publication Date Title
KR102185954B1 (en) Apparatus and method for image coding and decoding
US10965950B2 (en) Content adaptive deblocking during video encoding and decoding
KR100716999B1 (en) Method for intra prediction using the symmetry of video, method and apparatus for encoding and decoding video using the same
JP4901772B2 (en) Moving picture coding method and moving picture coding apparatus
JP4474288B2 (en) Defining an interpolation filter for error concealment in coded images
JP5266342B2 (en) Video intra prediction method and apparatus
KR101915425B1 (en) Methods and apparatus for video imaging pruning
JP4875007B2 (en) Moving picture coding apparatus, moving picture coding method, and moving picture decoding apparatus
WO2009084340A1 (en) Moving image encoder and moving image decoder
WO2011121894A1 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
KR20090116655A (en) A method and an apparatus for decoding a video signal
US8594189B1 (en) Apparatus and method for coding video using consistent regions and resolution scaling
JP5553979B2 (en) Selection of coding tools for video coding based on human visual tolerance
CN111131837B (en) Motion compensation correction method, encoding method, encoder, and storage medium
JP5594841B2 (en) Image encoding apparatus and image decoding apparatus
KR101328795B1 (en) Multi-staged linked process for adaptive motion vector sampling in video compression
JP5748225B2 (en) Moving picture coding method, moving picture coding apparatus, and moving picture coding program
JP5100572B2 (en) Encoder
JP2007519338A (en) Video frame error concealment apparatus and method
KR100943068B1 (en) Method for error concealment using curve interpolation
JP5534261B2 (en) Moving image processing apparatus, moving image processing method, and moving image processing program
CN117221534A (en) Inter-frame prediction method, video encoding and decoding method, device and medium
KR101345294B1 (en) Method and apparatus for quantizing image
JP5180887B2 (en) Encoding apparatus and method thereof
JP4449430B2 (en) Image processing apparatus, image processing method, program, and recording medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130213

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140203

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20150130

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20160210

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20161227

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20180102

Year of fee payment: 9