KR20080066521A - Method and apparatus for deblocking filtering - Google Patents

Method and apparatus for deblocking filtering Download PDF

Info

Publication number
KR20080066521A
KR20080066521A KR1020070043794A KR20070043794A KR20080066521A KR 20080066521 A KR20080066521 A KR 20080066521A KR 1020070043794 A KR1020070043794 A KR 1020070043794A KR 20070043794 A KR20070043794 A KR 20070043794A KR 20080066521 A KR20080066521 A KR 20080066521A
Authority
KR
South Korea
Prior art keywords
image processing
processing unit
filtering
illumination change
difference value
Prior art date
Application number
KR1020070043794A
Other languages
Korean (ko)
Other versions
KR101365443B1 (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 PCT/KR2008/000159 priority Critical patent/WO2008084996A1/en
Priority to US12/013,021 priority patent/US8705576B2/en
Publication of KR20080066521A publication Critical patent/KR20080066521A/en
Application granted granted Critical
Publication of KR101365443B1 publication Critical patent/KR101365443B1/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/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • 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/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Landscapes

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

Abstract

A method and an apparatus for deblocking filtering are provided to enable a current image processing unit and/or a different image processing unit adjacent to the current image processing unit to perform the deblocking filtering in consideration of a case that a current image block is encoded using illumination compensation, thereby removing blocking artifacts generated newly by the illumination compensation. A method for deblocking filtering comprises the followings: comparing the difference value of illumination change of a current image processing unit with the difference value of illumination change of a different image processing unit adjacent to the current image processing unit to determine whether two difference values are different(410); setting filtering intensity so that BS(Boundary Strength) is equal to K1 to perform the deblocking filtering of a current block boundary if it is determined that the two difference values are different(420); and setting the filtering intensity so that Bs is equal to K2 to perform the deblocking filtering of the current block boundary if it is determined that the two difference values are not different(430).

Description

디블록킹 필터링 방법 및 장치{Method and apparatus for deblocking filtering}Deblocking filtering method and apparatus {Method and apparatus for deblocking filtering}

도 1a 및 1b는 종래 기술에 따른 영상의 부호화, 복호화 장치를 도시한다.1A and 1B illustrate an apparatus for encoding and decoding an image according to the prior art.

도 2는 종래 기술에 따른 영상을 디블록킹 필터링하는 방법을 설명하기 위한 흐름도이다.2 is a flowchart illustrating a method for deblocking filtering an image according to the prior art.

도 3a 및 3b는 본 발명의 일 실시예에 따른 조명 변화 보상(illumination compensation)을 이용한 영상의 부호화, 복호화 장치를 도시한다.3A and 3B illustrate an apparatus for encoding and decoding an image using illumination compensation according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 영상을 디블록킹 필터링하는 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a method of deblocking and filtering an image according to an embodiment of the present invention.

도 5는 본 발명의 또 다른 실시예에 따른 영상을 디블록킹 필터링하는 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a method for deblocking filtering an image according to another embodiment of the present invention.

도 6은 본 발명의 또 다른 실시예에 따른 영상을 디블록킹 필터링하는 방법을 설명하기 위한 흐름도이다.6 is a flowchart illustrating a method for deblocking filtering an image according to another embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따른 영상 처리 단위 및 현재 블록을 도시한다. 7 illustrates an image processing unit and a current block according to an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 따른 슬라이스 헤더의 구문(syntax)를 도시한다.8 illustrates syntax of a slice header according to an embodiment of the present invention.

도 9은 본 발명의 일 실시예에 따른 디블록킹부를 도시한다.9 illustrates a deblocking unit according to an embodiment of the present invention.

본 발명은 영상의 디블록킹 필터링 방법 및 장치에 관한 것이고, 보다 상세히는 조명 변화 보상(illumination compensation)을 이용해 부호화된 블록을 포함하고 있는 영상을 디블록킹 필터링하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for deblocking filtering of an image, and more particularly, to a method and apparatus for deblocking and filtering an image including a block encoded using illumination compensation.

MPEG-1, MPEG-2, MPEG-4 H.264/MPEG-4 AVC(Advanced Video Coding)과 같은 영상 압축 방식에서는 영상을 부호화하기 위해 하나의 픽처를 영상 처리 단위 즉, 매크로 블록으로 나눈다. 그런 다음, 인터 예측(inter prediction) 또는 인트라 예측(intra prediction)을 이용해 각각의 매크로 블록을 부호화한다. In an image compression scheme such as MPEG-1, MPEG-2, MPEG-4 H.264 / MPEG-4 Advanced Video Coding (AVC), a picture is divided into image processing units, that is, macroblocks, to encode an image. Then, each macro block is encoded using inter prediction or intra prediction.

이러한 영상 압축 방식들은 매크로 블록 단위로 압축 부호화한 후에 복호화하므로 복원된 영상에는 블록킹 아티팩츠(blocking artifacts)가 발생한다. 매크로 블록에 포함된 서브 블록들(예를 들어, 4ㅧ4 블록)마다 독립적으로 이산 코사인 변환(discrete consine transform)을 수행하고 양자화한다. 주변 블록들간의 상관 관계가 전혀 고려되지 않은채 독립적으로 변환하고 양자화하면서 원본 영상의 손실이 발생하기 때문에 블록킹 아티팩츠가 발생하게 된다.Since these image compression methods are decoded after compression coding in macroblock units, blocking artifacts occur in the reconstructed image. A discrete cosine transform is independently performed and quantized for each subblock (for example, 4 × 4 block) included in the macroblock. Blocking artifacts occur because loss of the original image occurs while converting and quantizing independently without considering correlation between neighboring blocks.

디블록킹 필터는 이러한 블록 단위의 코딩에서 발생하는 블록의 경계 오차를 부드럽게 해주어 최종적인 복원 영상의 품질을 향상시킨다. 도 1a 및 1b, 도 2를 참조하여 상세히 설명한다.The deblocking filter improves the quality of the final reconstructed image by smoothing the boundary error of blocks generated in the block-based coding. 1A and 1B and 2 will be described in detail.

도 1a 및 1b는 종래 기술에 따른 영상의 부호화, 복호화 장치를 도시한다. H.264 표준안에 따라 인터 예측을 수행하여 영상을 부호화하는 장치 및 인터 예측된 영상을 복호화하는 장치를 도시한다.1A and 1B illustrate an apparatus for encoding and decoding an image according to the prior art. An apparatus for encoding an image by performing inter prediction according to the H.264 standard and an apparatus for decoding an inter predicted image are illustrated.

도 1a을 참조하면, 움직임추정부(110)는 부호화하려는 현재 블록의 움직임 벡터를 프레임메모리(122)에 저장되어 있는 참조 픽처(들)을 참조하여 생성한다. 움직임보상부(112)는 움직임추정부(110)에서 생성된 움직임벡터에 기초하여 현재 블록의 예측값인 예측 블록을 생성한다. Referring to FIG. 1A, the motion estimation unit 110 generates a motion vector of a current block to be encoded with reference to reference picture (s) stored in the frame memory 122. The motion compensator 112 generates a prediction block that is a prediction value of the current block based on the motion vector generated by the motion estimation unit 110.

생성된 예측 블록을 원본 현재 블록에서 감산하여 레지듀(residue)를 생성하고, 생성된 레지듀가 DCT및양자화부(114)에서 이산 코사인 변환되고, 양자화된다. 엔트로피부호부(116)은 양자화된 레지듀를 엔트로피 부호화한다. 부호화된 레지듀는 움직임 벡터와 함께 비트스트림에 삽입되어 전송된다.The generated prediction block is subtracted from the original current block to generate a residue, and the generated residue is discrete cosine transformed and quantized by the DCT and quantization unit 114. The entropy coder 116 entropy encodes the quantized residue. The encoded residue is inserted into the bitstream together with the motion vector and transmitted.

DCT및양자화부(114)에서 양자화된 레지듀는 다음에 부호화되는 픽처의 예측에 이용되기 위해 역양자화및역DCT부(118)에서 역양자화되고, 역이산 코사인 변환되어 복원된다.The quantized residue in the DCT and quantization unit 114 is dequantized in the inverse quantization and inverse DCT unit 118 for use in prediction of a picture to be encoded next, inverse discrete cosine transformed, and then reconstructed.

복원된 레지듀는 예측 블록과 가산되어 프레임메모리(122)에 저장되는데, 프레임메모리(122)에 저장하기에 앞서 디블록킹부(120)에서 디블록킹 필터링된다. 복원된 레지듀와 예측 블록이 가산된 블록을 그대로 프레임메모리(122)에 저장하면, 전술한 블록킹 아티팩츠가 발생하므로, 디블록킹부(120)에서 디블록킹 필터링을 수행한후 프레임메모리(122)에 저장한다. 종래 기술에 따라 디블록킹 필터링을 수행하는 자세한 설명은 도 2를 참조하여 후술한다.The reconstructed residue is added to the prediction block and stored in the frame memory 122, which is deblocked and filtered by the deblocking unit 120 before being stored in the frame memory 122. If the restored block and the block to which the prediction block is added are stored in the frame memory 122 as it is, since the aforementioned blocking artifacts occur, the deblocking unit 120 performs the deblocking filtering and then the frame memory 122. Store in A detailed description of performing deblocking filtering according to the related art will be described later with reference to FIG. 2.

도 1b는 도 1a에 의해 인터 예측 부호화된 블록을 복호화하는 장치를 도시한다.FIG. 1B illustrates an apparatus for decoding an inter prediction coded block by FIG. 1A.

도 1b를 참조하면, 움직임보상부(128)는 비트스트림에 포함되어 있는 움직임 벡터에 대한 데이터에 기초하여 프레임메모리(132)에 저장되어 있는 참조 픽처를 검색하여 현재 블록의 예측 블록을 생성한다.Referring to FIG. 1B, the motion compensator 128 searches for a reference picture stored in the frame memory 132 based on data about a motion vector included in the bitstream to generate a prediction block of the current block.

엔트로피복호화부(124)는 부호화된 레지듀를 수신하여 엔트로피 복호화를 수행한다. 엔트로피복호화된 레지듀는 역양자화및역DCT부(126)에 의해 역양자화되고, 역이산 코사인 변환된다. 역이산 코사인 변환되어 복원된 레지듀는 움직임보상부(128)에서 생성된 예측 블록에 가산되어 부호화 이전의 블록으로 복원된다. 부호화의 경우와 마찬가지로 복원된 블록을 그대로 프레임메모리(132)에 저장하면, 전술한 블록킹 아티팩츠가 발생하므로, 디블록킹부(130)에서 디블록킹 필터링을 수행한 후에 프레임메모리(122)에 저장한다.The entropy decoding unit 124 receives the encoded residue and performs entropy decoding. The entropy decoded residue is dequantized by inverse quantization and inverse DCT unit 126 and inverse discrete cosine transformed. The residue, which has been inversely discrete cosine transformed and reconstructed, is added to the prediction block generated by the motion compensator 128 and reconstructed into a block before encoding. As in the case of encoding, when the reconstructed block is stored in the frame memory 132 as it is, since the aforementioned blocking artifacts are generated, the deblocking unit 130 stores the reconstructed block in the frame memory 122 after the deblocking filtering is performed. .

도 2는 종래 기술에 따른 디블록킹 필터링을 수행하는 방법을 설명하기 위한 흐름도이다. 디블록킹부(120 또는 130)가 디플록킹 필터링을 수행하는 방법을 H.264 표준안에 따른 디블록킹 필터링을 예로 들어 설명한다.2 is a flowchart illustrating a method of performing deblocking filtering according to the prior art. The deblocking filtering method performed by the deblocking unit 120 or 130 will be described using the deblocking filtering according to the H.264 standard as an example.

도 2를 참조하면, 단계 201에서 디블록킹부(120 또는 130)는 디블록킹 필터링을 수행할 인접한 두 블록 p, q 중 적어도 하나가 인트라 부호화되었는지 판단한다. Referring to FIG. 2, in step 201, the deblocking unit 120 or 130 determines whether at least one of two adjacent blocks p and q to perform deblocking filtering is intra coded.

단계 201에서 블록 p, q 중 적어도 하나가 인트라 부호화된 것으로 판단되면, 단계 202에서 디블록킹 필터링을 수행할 블록 p, q 가 매크로 블록 경계에 위 치한 블록인지 판단한다. 블록 p, q 가 매크로 블록 경계에 위치한 블록이면, 단계 206에서 디블록킹 필터의 필터링 강도를 가장 센 Bs(Boundary strength)=4 로 설정하고 디블록킹 필터링을 수행한다. 디블록킹 필터링을 수행할 블록 p, q 가 매크로 블록 경계에 위치하지 않은 블록이면, 단계 207에서 필터링 강도를 Bs=3 로 설정하여 디블록킹 필터링을 수행한다.If it is determined in step 201 that at least one of the blocks p and q is intra coded, it is determined in step 202 whether the blocks p and q to be subjected to deblocking filtering are blocks located at a macro block boundary. If blocks p and q are blocks located at the macro block boundary, in step 206, the filtering strength of the deblocking filter is set to the strongest Bs (Boundary strength) = 4 and deblocking filtering is performed. If the blocks p and q to be subjected to the deblocking filtering are blocks not located at the macroblock boundary, the deblocking filtering is performed by setting the filtering strength to Bs = 3 in step 207.

단계 201에서 블록 p, q 가 모두 인트라 부호화되지 않은 블록인 것으로 판단되면, 단계 203에서 블록 p, q 중 적어도 하나가 직교 변환 계수 즉, 이산 코사인 변환 계수를 가지는지 판단한다. 블록 p, q 중 적어도 하나가 직교 변환 계수를 가지면 단계 208에서 필터링 강도를 Bs=2 로 설정하여 디블록킹 필터링을 수행하고, 블록 p, q 모두 직교 변환 계수를 가지지 않으면 단계 204로 넘어간다.If it is determined in step 201 that the blocks p and q are both blocks that are not intra coded, in step 203 it is determined whether at least one of the blocks p and q has an orthogonal transform coefficient, that is, a discrete cosine transform coefficient. If at least one of the blocks p and q has an orthogonal transform coefficient, deblocking filtering is performed by setting the filtering strength to Bs = 2 in step 208, and if the blocks p and q do not have orthogonal transform coefficients, the process proceeds to step 204.

단계 203에서 블록 p, q 가 모두 직교 변환 계수를 가지지 않으면, 단계 204에서 블록 p, q 의 참조 프레임이 다르거나, 참조 프레임의 개수가 다른지 판단한다. 참조 프레임 또는 참조 프레임의 개수가 다르면, 단계 209에서 필터링 강도를 Bs=1 로 설정하여 디블록킹 필터링을 수행한다. If both blocks p and q have no orthogonal transform coefficients in step 203, it is determined in step 204 whether the reference frames of blocks p and q are different or the number of reference frames is different. If the reference frame or the number of reference frames is different, deblocking filtering is performed by setting the filtering strength to Bs = 1 in step 209.

단계 204에서 블록 p, q 의 참조 프레임 및 참조 프레임의 개수가 모두 같은 것으로 판단되면, 단계 205에서 블록 p, q의 움직임 벡터에 차이가 있는지 판단한다. 움직임 벡터에 차이가 있는 것으로 판단되면 단계 209에서 필터링 강도를 Bs=1로 설정하여 디블록킹 필터링을 수행하고, 움직임 벡터에 차이가 없는 것으로 판단되면 단계 210에서 필터링 강도를 Bs=0 으로 설정함으로써 디블록킹 필터링을 수행하지 아니한다.If it is determined in step 204 that the number of reference frames and reference frames of blocks p and q are the same, it is determined whether there is a difference in the motion vectors of blocks p and q in step 205. If it is determined that there is a difference in the motion vector, the deblocking filtering is performed by setting the filtering strength to Bs = 1 in step 209. If it is determined that there is no difference in the motion vector, the filtering strength is set to Bs = 0 in step 210. Blocking filtering is not performed.

단계 201 내지 210과 관련하여 설명한 바와 같이 종래 기술에 따른 디블록킹 필터링 방법은 인접한 두 블록 p, q가 조명 변화 보상을 이용해 부호화된 경우에 대해서는 고려하지 아니한다. 현재 블록의 평균값(DC value)은 조명 변화 보상을 이용해 부호화된 경우와 조명 변화 보상을 이용하지 않고 부호화된 경우에 차이가 있고, 이로 인해 블록킹 아티팩츠가 발생함에도 불구하고 이러한 점을 고려하지 않는 것이다.As described with reference to steps 201 to 210, the deblocking filtering method according to the prior art does not consider a case where two adjacent blocks p and q are encoded using illumination change compensation. The average value (DC value) of the current block is different from the case of coded using the lighting change compensation and the case coded without using the lighting change compensation, and this does not take this point into consideration despite blocking artifacts. .

따라서, 조명 변화 보상을 이용해 부호화된 경우를 고려하여 디블록킹 필터링할 수 있는 방법 및 장치가 필요하다.Accordingly, there is a need for a method and apparatus capable of deblocking filtering in consideration of a case of encoding using lighting change compensation.

본 발명의 목적은 상기와 같은 종래 기술의 단점을 극복하기 위한 영상의 디블록킹 필터링 방법 및 장치를 제공하는데 있고, 상기 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a method and apparatus for deblocking filtering of an image for overcoming the above disadvantages of the prior art, and to provide a computer readable recording medium having recorded thereon a program for executing the method.

상기 기술적 과제를 해결하기 위한 본 발명에 따른 영상의 디블록킹 필터링 방법은 현재 블록이 포함되어 있는 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 단계; 및 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 경계를 디블록킹 필터링하는 단계를 포함한다.The deblocking filtering method of an image according to the present invention for solving the technical problem is a difference value of illumination change of a current image processing unit including a current block and another image adjacent to the current image processing unit. Determining whether the illumination change difference value of the processing unit is different; And deblocking filtering the boundary of the current block by adjusting a filtering strength of the deblocking filter based on the determination result.

본 발명에 따른 보다 바람직한 실시예에 따르면, 상기 판단하는 단계는 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값의 차분에 대한 절대값을 제1 임계값보다 비교하는 단계를 더 포함한다.According to a more preferred embodiment of the present invention, the determining may include comparing an absolute value of a difference between an illumination change difference value of the current image processing unit and an illumination change difference value of the other image processing unit than a first threshold value. It further comprises the step.

본 발명에 따른 보다 바람직한 실시예에 따르면, 상기 비교하는 단계는 상기 비교 결과 상기 절대값이 상기 제1 임계값보다 작으면, 상기 절대값을 상기 제1 임계값보다 작은 제2 임계값과 비교하는 단계를 더 포함한다.According to a more preferred embodiment of the present invention, the comparing may include comparing the absolute value to a second threshold value less than the first threshold value, when the comparison result indicates that the absolute value is less than the first threshold value. It further comprises a step.

본 발명에 따른 보다 바람직한 실시예에 따르면, 상기 판단하는 단계는 상기 현재 영상 처리 단위 및 상기 다른 영상 처리 단위 중 조명 변화 보상(illumination compensation)을 이용하지 않고 부호화된 영상 처리 단위의 조명 변화 차이값을 '0'으로 설정하는 단계; 및 상기 설정 결과에 기초하여 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 단계를 포함한다.According to a more preferred embodiment of the present invention, the determining of the difference in the illumination change of the encoded image processing unit without using the illumination compensation compensation (illumination compensation) of the current image processing unit and the other image processing unit. Setting to '0'; And determining whether an illumination change difference value of the current image processing unit and an illumination change difference value of the other image processing unit are different based on the setting result.

상기 기술적 과제를 해결하기 위한 본 발명에 따른 영상의 디블록킹 필터링(deblocking filtering) 장치는 현재 블록이 포함되어 있는 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 제어부; 및 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 경계를 디블록킹 필터링하는 필터링부를 포함한다.An apparatus for deblocking filtering an image according to the present invention for solving the technical problem includes a difference value of illumination change of a current image processing unit including a current block and the current image processing unit. A control unit to determine whether a difference in illumination change value of another image processing unit adjacent to is different; And a filtering unit configured to deblock block filter the boundary of the current block by adjusting the filtering strength of the deblocking filter based on the determination result.

본 발명에 따른 보다 바람직한 실시예에 따르면, 상기 제어부는 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값의 차분에 대한 절대값을 제1 임계값보다 비교하는 것을 특징으로 한다.According to a preferred embodiment of the present invention, the control unit compares the absolute value of the difference between the illumination change difference value of the current image processing unit and the illumination change difference value of the other image processing unit than the first threshold value. It features.

본 발명에 따른 보다 바람직한 실시예에 따르면, 상기 제어부는 상기 비교 결과 상기 절대값이 상기 제1 임계값보다 작으면, 상기 절대값을 상기 제1 임계값보다 작은 제2 임계값과 비교하는 것을 특징으로 한다.According to a more preferred embodiment of the present invention, if the absolute value is less than the first threshold value, the controller compares the absolute value with a second threshold value less than the first threshold value. It is done.

본 발명에 따른 보다 바람직한 실시예에 따르면, 상기 제어부는 상기 현재 영상 처리 단위 및 상기 다른 영상 처리 단위 중 조명 변화 보상(illumination compensation)을 이용하지 않고 부호화된 영상 처리 단위의 조명 변화 차이값을 '0'으로 설정하고, 상기 설정 결과에 기초하여 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 것을 특징으로 한다. According to a more preferred embodiment of the present invention, the control unit is configured to set the difference in the illumination change value of the image processing unit encoded without using illumination compensation among the current image processing unit and the other image processing unit to '0'. Set to ', and determine whether a difference in illumination change of the current image processing unit and a difference in illumination change of the other image processing unit are different based on the setting result.

본 발명에 따른 보다 바람직한 실시예에 따르면 상기 영상 처리 단위는 매크로 블록인 것을 특징으로 한다. According to a more preferred embodiment of the present invention, the image processing unit is characterized in that the macro block.

상기 기술적 과제를 해결하기 위해 본 발명은 상기된 디블록킹 필터링 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공한다.In order to solve the above technical problem, the present invention provides a computer-readable recording medium having recorded thereon a program for executing the above-described deblocking filtering method.

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

도 3a 및 3b는 본 발명의 일 실시예에 따른 영상의 부호화, 복호화 장치를 도시한다. 다시점 영상의 부호화 및 복호화와 관련하여 조명 변화 보상을 이용해 인터 예측을 수행하여 영상을 부호화하는 장치 및 복호화하는 장치를 도시한다.3A and 3B illustrate an apparatus for encoding and decoding an image according to an embodiment of the present invention. An apparatus for encoding and decoding an image by performing inter prediction using illumination change compensation in relation to encoding and decoding of a multiview image is illustrated.

도 3a를 참조하면 볼 발명에 따른 영상의 부호화 장치(300)는 움직임추정 부(302), 움직임보상부(308), 조명변화차이값계산부(310), 조명변화차이값예측부(312), DCT및양자화부(314), 엔트로피부호화부(316), 역양자화및역DCT부(318), 디블록킹부(320) 및 프레임메모리(322)을 포함한다. 여기서 디블록킹부(320)가 본 발명에 따른 디블록킹 필터링 장치에 대응된다.Referring to FIG. 3A, the apparatus 300 for encoding an image according to the present invention includes a motion estimator 302, a motion compensator 308, a light change difference value calculator 310, and a light change difference value predictor 312. , DCT and quantization unit 314, entropy coding unit 316, inverse quantization and inverse DCT unit 318, deblocking unit 320, and frame memory 322. Here, the deblocking unit 320 corresponds to the deblocking filtering device according to the present invention.

조명변화차이값계산부(310)는 부호화하려는 현재 블록이 포함되어 있는 현재 매크로 블록의 평균값(DC value)과 현재 블록의 인터 예측에 이용될 참조 블록이 포함되어 있는 매크로 블록의 평균값을 차분하여 조명 변화 차이값(difference value of illumination change : DVIC)을 계산한다. 여기서 매크로 블록은 영상 처리 단위의 예시이며, 이하에서는 매크로 블록이 영상 처리 단위가 되는 경우를 가정하여 설명한다. 조명 변화 보상에서 조명 변화 차이값은 영상 처리 단위 즉, 매크로 블록 단위로 생성된다. The lighting change difference value calculating unit 310 illuminates by dividing an average value of a current macroblock including a current block to be encoded and a mean value of a macroblock including a reference block to be used for inter prediction of the current block. Calculate the difference value of illumination change (DVIC). Here, the macro block is an example of an image processing unit, and hereinafter, it is assumed that the macro block is an image processing unit. In the lighting change compensation, the lighting change difference value is generated in an image processing unit, that is, macroblock units.

현재 매크로 블록 및 참조 블록이 포함되어 있는 매크로 블록의 평균값을 계산하고 계산된 두 값을 차분하여 조명 변화 차이값을 계산한다. 계산된 조명 변화 차이값에서 조명변화차이값예측부(312)가 현재 매크로 블록의 주변 블록들로부터 예측한 예측 조명 변화 차이값을 감산하여 비트스트림에 삽입함으로써 예측 부호화한다.The average value of the macro block including the current macro block and the reference block is calculated, and the difference between the two calculated values is calculated to calculate the difference in lighting change. The illumination change difference value prediction unit 312 subtracts the predicted illumination change difference value predicted from the neighboring blocks of the current macro block from the calculated illumination change difference value and inserts it into the bitstream to predictively encode the difference.

움직임 추정부(302)는 조명변화차이값계산부(310)에서 계산된 조명 변화 차이값에 기초하여 현재 블록의 움직임 벡터를 추정한다. 조명변화보상부(304)가 조명 변화 차이값에 기초하여 현재 블록을 조명 변화 보상(illumination compensation)하고, 움직임벡터결정부(306)는 조명 변화 보상된 현재 블록을 이용 해 프레임메모리(322)에 저장되어 있는 참조 픽처를 검색하여 움직임 벡터를 추정한다. 추정된 움직임 벡터는 비트스트림에 삽입되어 영상의 복호화 장치로 전송된다. The motion estimation unit 302 estimates the motion vector of the current block based on the lighting change difference value calculated by the lighting change difference value calculating unit 310. The illumination change compensator 304 compensates for the illumination change based on the difference in the illumination change, and the motion vector determiner 306 uses the current block compensated for the illumination change to the frame memory 322. The motion vector is estimated by searching the stored reference picture. The estimated motion vector is inserted into the bitstream and transmitted to the image decoding apparatus.

움직임보상부(308)는 현재 매크로 블록의 평균값, 참조 블록이 포함되어 있는 매크로 블록의 평균값 및 움직임 벡터를 이용하여 움직임 보상을 수행하여 현재 블록의 예측값인 예측 블록을 생성한다. 움직임 보상은 수학식 1을 통해 수행될 수 있다.The motion compensator 308 performs motion compensation using the average value of the current macro block, the average value of the macro block including the reference block, and the motion vector to generate a prediction block that is a prediction value of the current block. Motion compensation may be performed through Equation 1.

Figure 112007033649219-PAT00001
Figure 112007033649219-PAT00001

NewR(i, j)는 조명 변화 보상을 이용해 생성되는 (i, j) 좌표에서의 레지듀를 의미하고, f(i, j)는 현재 블록의 (i, j) 좌표에서의 화소값, r(i+x', j+y')은 참조 픽처의 (i+x', j+y') 좌표에서의 화소값이며,

Figure 112007033649219-PAT00002
은 현재 매크로 블록의 화소 평균값,
Figure 112007033649219-PAT00003
는 참조 블록이 포함되어 있는 매크로 블록의 화소 평균값이며, (x', y')은 움직임 벡터이다.NewR (i, j) means the residue at (i, j) coordinates generated using illumination change compensation, f (i, j) is the pixel value at (i, j) coordinates of the current block, r (i + x ', j + y') is a pixel value in the (i + x ', j + y') coordinate of the reference picture,
Figure 112007033649219-PAT00002
Is the average pixel value of the current macro block,
Figure 112007033649219-PAT00003
Is the pixel average value of the macro block including the reference block, and (x ', y') is a motion vector.

생성된 레지듀는 DCT및양자화부(314)에서 이산 코사인 변환되어 주파수 영역으로 직교 변환된 후에 양자화된다. 양자화된 레지듀는 엔트로피부호화부(316)에서 가변 길이 부호화되어 비트스트림에 삽입된다.The generated residue is quantized after the discrete cosine transformed by the DCT and quantization unit 314 and orthogonally transformed into the frequency domain. The quantized residue is variable length coded by the entropy encoding unit 316 and inserted into the bitstream.

역양자화부및DCT부(318)는 양자화된 레지듀를 역양자화한 후에 역이산 코사 인 변환하여 부호화 이전의 레지듀로 복원된다. 복원된 레지듀는 움직임보상부(308)에서 생성된 현재 블록의 예측 블록과 가산되어 부호화 이전의 블록으로 복원된다. The inverse quantization unit and the DCT unit 318 inversely quantize the quantized residue and then inverse discrete cosine transform to restore the residue before encoding. The reconstructed residue is added to the prediction block of the current block generated by the motion compensator 308 and reconstructed into a block before encoding.

복원된 블록은 참조 픽처로 사용되기 위해 프레임메모리(322)에 저장되는데 블록킹 아티팩츠를 제거하기 위해 디블록킹부(320)에서 블록 경계가 디블록킹 필터링된 후에 저장된다. 여기서, 종래 기술에 따른 디블록킹 필터링을 그대로 수행하면 현재 영상 처리 단위 및/또는 현재 영상 처리 단위에 인접한 다른 영상 처리 단위가 조명 변화 보상을 이용해 부호화된 경우를 고려하지 아니하므로, 블록킹 아티팩츠가 제거되지 않고 남아 있는 경우가 발생할 수 있다. 따라서, 이를 제거하기 위한 디블록킹 필터링 방법이 필요하며 이에 대한 자세한 설명은 도 4 내지 6을 참조하여 후술한다.The reconstructed block is stored in the frame memory 322 to be used as a reference picture, which is stored after the block boundary is deblocked and filtered by the deblocking unit 320 to remove blocking artifacts. Here, if the deblocking filtering according to the prior art is performed as it is, the blocking artifacts are removed since the current image processing unit and / or another image processing unit adjacent to the current image processing unit are not considered to be encoded using the illumination change compensation. It can happen if it doesn't. Therefore, a deblocking filtering method is required to remove this and a detailed description thereof will be described later with reference to FIGS. 4 to 6.

도 3b는 본 발명의 일 실시예에 따른 영상의 복호화 장치를 도시한다. 조명 변화 보상을 이용해 인터 예측을 수행하여 부호화된 영상을 복호화하는 장치를 도시한다.3B illustrates an apparatus for decoding an image according to an embodiment of the present invention. An apparatus for decoding an encoded image by performing inter prediction using lighting change compensation is illustrated.

도 3b를 참조하면 본 발명에 따른 영상의 복호화 장치(350)는 엔트로피복호화부(352), 역양자화및역DCT부(354), 조명변화차이값예측부(356), 움직임보상부(358), 디블록킹부(360) 및 프레임메모리(362)를 포함한다. 여기서 디블록킹부(360)가 본 발명에 따른 디블록킹 필터링 장치에 대응된다.Referring to FIG. 3B, the apparatus 350 for decoding an image according to the present invention includes an entropy decoding unit 352, an inverse quantization and inverse DCT unit 354, an illumination change difference value predictor 356, and a motion compensator 358. And a deblocking unit 360 and a frame memory 362. Here, the deblocking unit 360 corresponds to the deblocking filtering device according to the present invention.

엔트로피복호화부(352)는 비트스트림에 포함되어 있는 현재 블록의 레지듀에 대한 데이터를 엔트로피 복호화한다. 엔트로피 복호화된 레지듀에 대한 데이터는 역양자화및역DCT부(354)에서 역양자화되고, 역이산 코사인 변환되어 복원된다. 복원된 레지듀는 움직임보상부(358)에서 생성된 예측 블록과 가산되어 현재 블록으로 복원된다. The entropy decoding unit 352 entropy decodes the data of the residue of the current block included in the bitstream. The data for the entropy decoded residue is inverse quantized by the inverse quantization and inverse DCT unit 354, inverse discrete cosine transform, and restored. The reconstructed residue is added to the predicted block generated by the motion compensator 358 to restore the current block.

움직임보상부(358)는 부호화 장치의 움직임 보상부(308)에 대응된다. 움직임보상부(358)는 현재 블록의 예측 블록을 생성함에 있어서, 조명 변화 차이값을 이용한다. 비트스트림에 포함되어 있는 예측 부호화된 조명 변화 차이값에 조명변화차이값예측부(356)에서 현재 블록이 포함되어 있는 현재 매크로 블록의 주변 블록들로부터 예측한 조명 변화 차이값을 가산하여 현재 블록의 조명 변화 차이값을 생성한다.The motion compensator 358 corresponds to the motion compensator 308 of the encoding apparatus. The motion compensator 358 uses the illumination change difference value in generating the prediction block of the current block. The lighting change difference value predicted from the neighboring blocks of the current macro block including the current block is added to the predicted coded lighting change difference value included in the bitstream by adding the difference of the current block. Generates the difference in illumination variation.

또한, 비트스트림에 포함되어 있는 움직임 벡터를 이용해 프레임메모리(362)에 저장되어 있는 참조 픽처를 검색하여 참조 블록을 포함하고 있는 매크로 블록을 특정하고, 특정된 매크로 블록의 평균값에 생성된 조명 변화 차이값을 가산함으로써 현재 매크로 블록의 평균값을 생성한다. 생성된 현재 매크로 블록의 평균값 및 참조 블록을 이용해 현재 블록의 예측 블록을 생성한다. In addition, a reference picture stored in the frame memory 362 is searched using a motion vector included in the bitstream to specify a macroblock including the reference block, and a difference in illumination change generated at an average value of the specified macroblock is obtained. By adding the values, we generate the average value of the current macro block. A prediction block of the current block is generated using the average value of the generated current macroblock and the reference block.

움직임 보상부(358)에서 생성된 예측 블록과 레지듀가 가산되어 복원된 현재 블록은 참조 픽처로 사용되기 위해 프레임메모리(362)에 저장되는데 블록킹 아티팩츠를 제거하기 위해 디블록킹부(360)에서 디블록킹 필터링된 후에 저장된다.The current block reconstructed by adding the predicted block and the residue generated by the motion compensator 358 is stored in the frame memory 362 to be used as a reference picture. The deblocking unit 360 removes the blocking artifacts. The deblocking is stored after filtering.

도 4 내지 6은 본 발명의 일 실시예에 따른 디블록킹 필터링 방법을 설명하기 위한 흐름도이다. 도 3a 및 3b에 도시된 디블록킹부(320 또는 360)가 디블록킹 필터링을 수행하는 방법을 설명하기 위한 흐름도이다.4 to 6 are flowcharts illustrating a deblocking filtering method according to an embodiment of the present invention. 3A and 3B are flowcharts illustrating a method of performing deblocking filtering by the deblocking unit 320 or 360.

도 4는 본 발명의 일 실시예에 따른 디블록킹 필터링 방법을 설명하기 위한 흐름도이다. 도 7을 같이 참조하여 상세히 설명한다. 4 is a flowchart illustrating a deblocking filtering method according to an embodiment of the present invention. This will be described in detail with reference to FIG. 7.

도 4를 참조하면, 단계 410에서 본 발명에 따른 디블록킹부(320 또는 360)는 현재 블록(711)이 포함되어 있는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한지 판단한다. 여기서, 현재 영상 처리 단위는 바람직하게는 매크로 블록이 된다. Referring to FIG. 4, in operation 410, the deblocking unit 320 or 360 according to the present invention is adjacent to a difference in illumination variation of the current image processing unit 710 including the current block 711 and a current image processing unit. It is determined whether an illumination change difference value of another image processing unit 720 or 730 is different. Here, the current image processing unit is preferably a macro block.

현재 영상 처리 단위(710) 및/또는 인접한 영상 처리 단위(720 또는 730)가 조명 변화 보상을 이용해 부호화된 경우에는 블록킹 아티팩츠가 발생하게 되는데 종래 기술에 따라 디블록킹 필터링을 하면 이를 고려하지 아니하고 디블록킹 필터링을 수행한다. If the current image processing unit 710 and / or the adjacent image processing unit 720 or 730 are encoded using the illumination change compensation, blocking artifacts are generated. Perform blocking filtering.

따라서, 단계 410에서는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값을 비교하여 서로 다른지 판단한다. Therefore, in operation 410, it is determined whether the lighting change difference value of the current image processing unit 710 is different from the lighting change difference value of another image processing unit 720 or 730 adjacent to the current image processing unit.

만약, 현재 블록(711)의 조명 변화 차이값과 현재 블록에 인접한 주변 블록들(712 내지 715)의 조명 변화 차이값을 비교하여 서로 상이한지 판단하면, 현재 블록이 도 7에 도시된 바와 같이 현재 영상 처리 단위(710)의 내부에 위치한 블록인 경우에는 주변 블록들(712 내지 715)와 조명 변화 차이값이 동일하게 된다. 조명 변화 차이값은 영상 처리 단위 즉, 매크로 블록 단위로 계산되고, 디블록킹 필터링은 매크로 블록의 서브 블록 단위로 수행되기 때문에 현재 블록(711)과 주변 블록들(712 내지 715)의 조명 변화 차이값이 동일하다. 따라서, 영상 처리 단위(710 내지 730)로 조명 변화 차이값을 비교한다. If it is determined whether the lighting change difference value of the current block 711 and the lighting change difference values of the neighboring blocks 712 to 715 adjacent to the current block are different from each other, the current block is present as shown in FIG. 7. In the case of the block located inside the image processing unit 710, the difference value of the illumination change is the same as the neighboring blocks 712 to 715. The lighting change difference value is calculated in the image processing unit, that is, macroblock unit, and since the deblocking filtering is performed in the subblock unit of the macroblock, the lighting change difference value of the current block 711 and the neighboring blocks 712 to 715 is different. Is the same. Therefore, the illumination change difference values are compared in the image processing units 710 to 730.

바람직하게는 현재 블록의 수직 방향 경계 즉, 현재 블록(711)과 현재 블록의 좌측에 인접한 블록(713) 사이의 경계 및 현재 블록(711)과 혀재 블록의 우측에 인접한 블록(715) 사이의 경계를 디블록킹 필터링할 때에는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위(710)의 좌측에 인접한 영상 처리 단위(720)의 조명 변화 차이값이 상이한지 판단한다.Preferably, the vertical boundary of the current block, that is, the boundary between the current block 711 and the block 713 adjacent to the left side of the current block and the boundary between the current block 711 and the block 715 adjacent the right side of the tongue block. When the deblocking filtering is performed, it is determined whether an illumination change difference value of the current image processing unit 710 and an illumination change difference value of the image processing unit 720 adjacent to the left side of the current image processing unit 710 are different.

또한, 현재 블록의 수평 방향 경계 즉, 현재 블록(711)과 현재 블록의 상부에 인접한 블록(712) 사이의 경계 및 현재 블록(711)과 현재 블록의 하부에 인접한 블록(714) 사이의 경계를 디블록킹 필터링할 때에는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위(710)의 상부에 인접한 영상 처리 단위(730)의 조명 변화 차이값이 상이한지 판단한다.In addition, the horizontal boundary of the current block, that is, the boundary between the current block 711 and the block 712 adjacent to the top of the current block and the boundary between the current block 711 and the block 714 adjacent to the bottom of the current block. When the deblocking filtering is performed, it is determined whether the difference in illumination change of the current image processing unit 710 and the difference in illumination change of the image processing unit 730 adjacent to the upper portion of the current image processing unit 710 are different.

단계 410에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한 것으로 판단되면, 단계 420에서 필터링 강도를 Bs=K1로 설정하여 현재 블록의 경계를 디블록킹 필터링한다.If it is determined in step 410 that the difference in illumination change of the current image processing unit 710 and the difference in illumination change of the adjacent image processing unit 720 or 730 are different, in step 420 the filtering intensity is set to Bs = K 1 to determine the present value. Deblock the filtering of the block boundaries.

반대로, 단계 410에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이하지 않은 것으로 판단되면 단계 430에서 필터링 강도를 Bs=K2로 설정하여 현재 블록의 경계를 디블록킹 필터링한다.On the contrary, if it is determined in step 410 that the difference in illumination change of the current image processing unit 710 and the difference in illumination change of the adjacent image processing unit 720 or 730 are not different, the filtering intensity is set to Bs = K 2 in step 430. Set to deblock and filter the boundary of the current block.

단계 410에서의 판단 결과에 기초하여 서로 다른 필터링 강도로 디블록킹 필터링을 수행하기 위해서 K1과 K2는 서로 다른 값으로 설정한다. 또한, 조명 변화 차이값들이 상이한 경우 필터링 강도를 더 세게하여 디블록킹 필터링을 수행하는 것이 바람직하다. 다시 말해, K1을 K2보다 더 큰 값으로 설정한다. Based on the determination result in step 410, K 1 and K 2 are set to different values to perform deblocking filtering with different filtering strengths. In addition, when the illumination change difference values are different, it is preferable to perform the deblocking filtering by making the filtering intensity harder. In other words, set K 1 to a value greater than K 2 .

현재 영상 처리 단위(710) 및 인접한 영상 처리 단위들(720 및 730) 중 하나가 조명 변화 보상을 이용하여 부호화되지 않은 경우가 있을 수 있다. 조명 변화 보상에 따른 블록킹 아티팩츠는 조명 변화 보상을 이용해 부호화된 영상 처리 단위와 조명 변화 보상을 이용하지 않고 부호화된 영상 처리 단위가 인접한 경우에도 발생할 수 있다. 따라서, 이러한 경우를 고려하여 디블록킹 필터링을 수행하기 위해 본 발명에 따른 디블록킹부(320 또는 360)는 조명 변화 보상을 이용하지 않고 부호화된 영상 처리 단위의 조명 변화 차이값을 '0'으로 설정하여 단계 410의 판단을 수행한다. There may be a case where one of the current image processing unit 710 and one of the adjacent image processing units 720 and 730 is not encoded using the lighting change compensation. The blocking artifacts according to the lighting change compensation may occur even when the image processing unit encoded using the lighting change compensation and the image processing unit encoded without using the lighting change compensation are adjacent to each other. Therefore, in order to perform the deblocking filtering in consideration of such a case, the deblocking unit 320 or 360 according to the present invention sets the difference in the illumination change of the encoded image processing unit to '0' without using the illumination change compensation. The determination of step 410 is performed.

현재 영상 처리 단위와 인접한 영상 처리 단위가 모두 조명 변화 보상을 이용하지 않고 부호화된 경우에는 조명 변화 차이값이 모두 '0'이므로 조명 변화 차이값이 동일한 것으로 판단하여 단계 430에서 필터링 강도를 Bs=K2로 설정하여 현재 블록의 경계를 디블록킹 필터링한다.If both the current image processing unit and the adjacent image processing unit are encoded without using the illumination change compensation, since the illumination change difference values are all '0', it is determined that the illumination change difference values are the same and the filtering intensity is determined in step 430 by Bs = K. Set to 2 to deblock and filter the boundaries of the current block.

그러나 현재 영상 처리 단위 및 인접한 영상 처리 단위 중 하나가 조명 변화 보상을 이용하여 부호화된 경우에는 조명 변화 보상을 이용하여 부호화된 영상 처리 단위의 조명 변화 차이값은 '0'이 아니므로, 조명 변화 차이값이 상이한 것으로 판단하여 단계 420에서 필터링 강도를 필터링 강도를 Bs=K1로 설정하여 현재 블록의 경계를 디블록킹 필터링한다.However, when one of the current image processing unit and the adjacent image processing unit is encoded using the lighting change compensation, the lighting change difference value of the image processing unit encoded using the lighting change compensation is not '0', so the lighting change difference In operation 420, the filtering strength is set to Bs = K 1 , and the deblocking filtering is performed on the boundary of the current block.

도 5는 본 발명의 또 다른 실시예에 따른 디블록킹 필터링 방법을 설명하기 위한 흐름도이다. 5 is a flowchart illustrating a deblocking filtering method according to another embodiment of the present invention.

단계 510은 도 4의 단계 410과 동일한 단계로써 디블록킹부(320 또는 360)는 현재 블록(711)이 포함되어 있는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한지 판단한다.Step 510 is the same step as step 410 of FIG. 4, where the deblocking unit 320 or 360 is different from the illumination change difference value of the current image processing unit 710 including the current block 711 and other adjacent to the current image processing unit. It is determined whether an illumination change difference value of the image processing unit 720 or 730 is different.

단계 510에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한 것으로 판단되면, 단계 520에서 디블록킹부(320 또는 360)는 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값의 차분에 대한 절대값을 제1 임계값(T1)과 비교한다. If it is determined in step 510 that the difference in the illumination change of the current image processing unit 710 and the difference in the illumination change in the adjacent image processing unit 720 or 730 are different, the deblocking unit 320 or 360 determines in step 520 the current image. The absolute value of the difference between the illumination change difference value of the processing unit 710 and the illumination change difference value of the adjacent image processing unit 720 or 730 is compared with the first threshold value T 1 .

비교한 결과 절대값이 제1 임계값(T1)보다 작으면, 단계 530에서 절대값을 다시 제2 임계값(T2)과 비교한다. 여기서 제2 임계값(T2)은 제1 임계값(T1)보다 작은 값이다. 절대값을 비교하는 임계값의 개수에는 제한이 없으며, 제1 임계값(T1)하고만 비교하고 제2 임계값(T2)과는 비교하지 않도록 실시예를 구성할 수도 있다. 제1 임계값(T1)하고만 비교하는 경우에는 절대값이 제1 임계값(T1)보다 작으면, 바 로 단계 560에서 필터링 강도를 Bs=K3로 설정하여 디블록킹 필터링을 수행한다.As a result of the comparison, if the absolute value is less than the first threshold value T 1 , the absolute value is again compared with the second threshold value T 2 in step 530. Here, the second threshold T 2 is smaller than the first threshold T 1 . There is no limit to the number of thresholds for comparing the absolute values, and an embodiment may be configured such that only the first threshold value T 1 is compared and not the second threshold value T 2 . If the first comparison threshold (T 1) and only there, if the absolute value is smaller than the first threshold (T 1), by setting the filter strength in Step 560 to the bar as Bs = K 3 performs a deblocking filtering .

단계 530에서의 비교 결과 절대값이 제2 임계값(T2)보다 크면, 다시 말해 절대값이 제1 임계값(T1)과 제2 임계값(T2) 사이의 값을 가지면 단계 550에서 필터링 강도를 Bs=K2로 설정하여 디블록킹 필터링을 수행한다.If the absolute value of the comparison in step 530 is greater than the second threshold value T 2 , in other words, if the absolute value has a value between the first threshold value T 1 and the second threshold value T 2 , in step 550 Deblocking filtering is performed by setting the filtering strength to Bs = K 2 .

단계 540 및 단계 550의 경우에 서로 다른 필터링 강도를 가지도록 K1 및 K2를 서로 다른 값으로 설정하여 디블록킹 필터링을 수행할 수 있다. 그러나, 단계 560 및 단계 570의 경우에는 K3 및 K4에 별도의 필터링 강도값을 할당하지 아니하고, 종래 기술에 따른 디블록킹 필터링 방법에 따라 다시 필터링 강도를 조절하도록 실시예를 구성할 수도 있다. 이에 대한 자세한 설명은 도 6을 참조하여 후술한다.In the case of steps 540 and 550, deblocking filtering may be performed by setting K 1 and K 2 to different values to have different filtering strengths. However, in the case of steps 560 and 570, the embodiment may be configured to adjust the filtering strength again according to the deblocking filtering method according to the prior art without assigning separate filtering strength values to K 3 and K 4 . Detailed description thereof will be described later with reference to FIG. 6.

도 6은 본 발명의 또 다른 실시예에 따른 디블록킹 필터링 방법을 설명하기 위한 흐름도이다. 도 6은 종래 기술에 따른 디블록킹 필터링 방법에 본 발명에 따른 디블로킹 필터링 방법을 적용한 디블록킹 필터링 방법에 대하여 도시한다.6 is a flowchart illustrating a deblocking filtering method according to another embodiment of the present invention. 6 illustrates a deblocking filtering method in which the deblocking filtering method according to the present invention is applied to the deblocking filtering method according to the prior art.

도 6을 참조하면, 단계 603 내지 605가 본 발명의 디블록킹 필터링 방법에 따른 단계들이다. 현재 블록(711)이 p 블록이고, 현재 블록에 인접한 다른 블록(712 또는 713 또는 714 또는 715)을 q 블록이라 가정한다. 현재 블록(711)의 경계 즉, 현재 블록과 현재 블록에 인접한 다른 블록(712 또는 713 또는 714 또는 715) 사이의 경계를 디블록킹 필터링하는 방법에 대하여 설명한다.Referring to FIG. 6, steps 603 to 605 are steps according to the deblocking filtering method of the present invention. Assume that the current block 711 is a p block, and another block 712 or 713 or 714 or 715 adjacent to the current block is a q block. A method of deblocking filtering of the boundary of the current block 711, that is, the boundary between the current block and another block 712 or 713 or 714 or 715 adjacent to the current block will be described.

단계 601은 도 2에 도시된 단계 201과 동일한 단계로써 본 발명에 따른 디블록킹부(320 또는 360)는 두 개의 인접한 블록 p, q 중 적어도 하나가 인트라 부호화되었는지 판단한다.Step 601 is the same as step 201 shown in FIG. 2, and the deblocking unit 320 or 360 according to the present invention determines whether at least one of two adjacent blocks p and q is intra coded.

단계 601에서 인접한 블록 p, q 중 적어도 하나가 인트라 부호화된 블록인 것으로 판단되면, 단계 602에서 블록 p, q의 경계가 매크로 블록 경계인지 다시 판단하고, 단계 602에서의 판단 결과에 따라 단계 609 또는 610에서 서로 다른 필터링 강도에 따라 디블록킹 필터링을 수행한다. If it is determined in step 601 that at least one of the adjacent blocks p and q is an intra-coded block, it is determined again in step 602 whether the boundary of blocks p and q is a macro block boundary, and in step 609 or In operation 610, deblocking filtering is performed according to different filtering strengths.

단계 601에서 인접한 블록 p, q가 모두 인트라 부호화되지 않은 블록인 것으로 판단되면, 단계 603에서 p 블록 즉, 현재 블록(711)이 포함되어 있는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 및 730)의 조명 변화 차이값이 상이한지 판단한다.If it is determined in step 601 that the adjacent blocks p and q are both non-intra coded blocks, in step 603 the difference between the lighting changes and the current value of the current image processing unit 710 including the p block, that is, the current block 711, is present. It is determined whether the illumination change difference values of the other image processing units 720 and 730 adjacent to the image processing unit are different.

단계 603에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이하지 않은 것으로 판단되면, 종래 기술에 따른 디블록킹 필터링 방법과 마찬가지로 단계 606 내지 608을 통해 디블록킹 필터링의 강도를 조절한다. If it is determined in step 603 that the difference in illumination change of the current image processing unit 710 and the difference in illumination change of another image processing unit 720 or 730 adjacent to the current image processing unit are not different, deblocking according to the prior art. Like the filtering method, the strength of the deblocking filtering is adjusted through steps 606 to 608.

단계 603에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이하지 않은 것으로 판단되면, 단계 604 및 605에서 조명 변화 차이값들의 차분에 대한 절대값을 소정의 임계값들과 비교한다. If it is determined in step 603 that the illumination change difference value of the current image processing unit 710 and the illumination change difference value of another image processing unit 720 or 730 adjacent to the current image processing unit are not different from each other, the illumination is performed in steps 604 and 605. The absolute value for the difference of the change difference values is compared with predetermined thresholds.

비교 결과 절대값이 제1 임계값(T1)보다 큰 것으로 판단되면, 단계 611에서 필터링 강도를 Bs=K1으로 설정하여 디블록킹 필터링을 수행한다. 비교 결과 절대값이 제1 임계값(T1)과 제1 임계값(T1)보다 작은 제2 임계값(T2) 사이의 값으로 판단되면, 단계 612에서 필터링 강도를 Bs=K2로 설정하여 디블록킹 필터링을 수행한다.If it is determined that the absolute value is greater than the first threshold value T 1 , the deblocking filtering is performed by setting the filtering strength to Bs = K 1 in step 611. Comparison result if the absolute value is determined as a value between the first threshold (T 1) and the first threshold value is smaller second threshold value that is less than (T 1) (T 2), in step 612 the filter strength Bs = K 2 Set to perform deblocking filtering.

또한, 비교 결과 절대값이 제1 임계값(T1) 및 제2 임계값(T2)보다 작은 것으로 판단되면, 종래 기술에 따른 디블록킹 필터링 방법에 따라 다시 필터링 강도를 조절한다. 다시 말해, 도 2에 도시된 단계 203 내지 205를 단계 606 내지 608에서 동일하게 수행한다. In addition, if it is determined that the absolute value is smaller than the first threshold value T 1 and the second threshold value T 2 , the filtering strength is adjusted again according to the deblocking filtering method according to the prior art. In other words, steps 203 to 205 shown in FIG. 2 are performed the same in steps 606 to 608.

도 6에 도시된 본 발명에 따른 디블록킹 필터링 방법과 종래 기술에 따른 디블록킹 필터링 방법의 조합은 예시일 뿐이며, 이외 다양한 조합이 가능함은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 쉽게 이해할 수 있다.The combination of the deblocking filtering method according to the present invention and the deblocking filtering method according to the prior art shown in FIG. 6 are just examples, and various other combinations are possible, and can be easily understood by those skilled in the art. Can be.

도 8은 본 발명의 일 실시예에 따른 슬라이스 헤더의 구문(syntax)를 도시한다. 8 illustrates syntax of a slice header according to an embodiment of the present invention.

도 8을 참조하면, 본 발명의 일 실시예에 따른 슬라이스 헤더는 제1 임계값(T1) 및/또는 제2 임계값(T2)에 대한 구문을 포함한다. 부호화하는 측에서 슬라이스 헤더에 제1 임계값(T1) 및/또는 제2 임계값(T2)에 대한 정보를 포함시킨다. 'slice_ic_th1_mvc'가 제1 임계값(T1)에 대한 정보이며, 'slice_ic_th2_mvc'가 제2 임계값(T2)에 대한 정보이다. 복호화하는 측에서는 슬라이스 헤더를 참조하여 제1 임계값(T1) 및 제2 임계값(T2)을 설정하고, 도 4 내지 6에 도시된 디블록킹 필터링 방법을 적용하여 현재 블록의 경계를 디블록킹 필터링한다. Referring to FIG. 8, a slice header according to an embodiment of the present invention includes syntax for a first threshold value T 1 and / or a second threshold value T 2 . The encoding side includes information about the first threshold value T 1 and / or the second threshold value T 2 in the slice header. 'slice_ic_th1_mvc' is information about the first threshold value T 1 , and 'slice_ic_th2_mvc' is information about the second threshold value T 2 . The decoding side sets the first threshold value T 1 and the second threshold value T 2 with reference to the slice header, and deblocks the boundary of the current block by applying the deblocking filtering method illustrated in FIGS. 4 to 6. To filter.

슬라이스 헤더에 제1 임계값(T1) 및/또는 제2 임계값(T2)에 대한 정보가 포함되지 아니한 경우 디폴트(default)로 정해져 있는 임계값을 이용하여 디블록킹 필터링을 수행하도록 실시예를 구성할 수도 있다. 예를 들어 슬라이스 헤더에 제1 임계값(T1)에 대한 정보가 없는 경우에는 제1 임계값(T1)을 '3'으로 설정하고, 제2 임계값(T2)에 대한 정보가 없는 경우에는 제2 임계값(T2)을 '1'로 설정하여 디블록킹 필터링을 수행할 수도 있다.When the slice header does not include the information about the first threshold value T 1 and / or the second threshold value T 2 , deblocking filtering is performed by using a threshold value determined as a default. It can also be configured. For example, if there is no information on the first threshold (T 1) in the slice header, the first predetermined threshold (T 1) to "3", and the second it does not have information about the threshold value (T 2) In this case, the deblocking filtering may be performed by setting the second threshold value T 2 to '1'.

도 9는 본 발명의 일 실시예에 따른 디블록킹부(320 또는 360)를 도시한다. 9 illustrates a deblocking unit 320 or 360 according to an embodiment of the present invention.

도 9를 참조하면, 본 발명에 따른 디블록킹부(320 또는 360)는 제어부(910) 및 필터링부(920)을 포함한다. Referring to FIG. 9, the deblocking unit 320 or 360 according to the present invention includes a control unit 910 and a filtering unit 920.

제어부(910)는 현재 블록(711)이 포함되어 있는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위(710)에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한지 판단한다. 상이한 것으로 판단되면 조명 변화 차이값들의 차분에 대한 절대값을 소정의 임계값(들)과 비교한다. The controller 910 may be configured to display a difference in illumination change of the current image processing unit 710 including the current block 711 and a difference in illumination change of another image processing unit 720 or 730 adjacent to the current image processing unit 710. Determine if this is different. If judged to be different, the absolute value for the difference of the lighting change difference values is compared with a predetermined threshold (s).

현재 영상 처리 단위(710) 및/또는 다른 영상 처리 단위(720 또는 730)이 조명 변화 보상을 이용해 부호화되지 않은 경우에는 조명 변화 차이값을 '0'으로 설 정하고 조명 변화 차이값이 상이한지 판단한다.If the current image processing unit 710 and / or the other image processing unit 720 or 730 are not encoded using the lighting change compensation, set the lighting change difference value to '0' and determine whether the lighting change difference value is different. .

필터링부(920)는 제어부(710)의 판단 또는 비교 결과에 기초하여 필터링 강도를 조절하여 디블록킹 필터링을 수행한다.The filtering unit 920 performs deblocking filtering by adjusting the filtering strength based on the determination or comparison result of the control unit 710.

현재 영상 처리 단위(710)의 조명 변화 차이값과 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한지 여부에 따라 서로 다른 필터링 강도를 적용하여 현재 블록(711)의 경계를 디블록킹 필터링한다. Deblocking the boundary of the current block 711 by applying different filtering intensities depending on whether the difference in illumination variation of the current image processing unit 710 and the difference in illumination variation of another image processing unit 720 or 730 are different. To filter.

또한, 조명 변화 차이값들의 차분에 대한 절대값을 소정의 임계값(들)과 비교하고 비교 결과에 기초하여 서로 다른 필터링 강도를 적용하여 디블록킹 필터링을 수행한다. In addition, deblocking filtering is performed by comparing the absolute value of the difference between the illumination change difference values with a predetermined threshold value (s) and applying different filtering intensities based on the comparison result.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명이 상기의 실시예에 한정되는 것은 아니며, 이는 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명의 사상은 아래에 기재된 특허청구범위에 의해서만 파악되어야 하고, 이와 균등하거나 또는 등가적인 변형 모두는 본 발명 사상의 범주에 속한다 할 것이다. 또한, 본 발명에 따른 시스템은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.As described above, although the present invention has been described by way of limited embodiments and drawings, the present invention is not limited to the above-described embodiments, which can be variously modified and modified by those skilled in the art to which the present invention pertains. Modifications are possible. Accordingly, the spirit of the invention should be understood only by the claims set forth below, and all equivalent or equivalent modifications will fall within the scope of the invention. In addition, the system according to the present invention can be embodied as computer readable codes on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of the recording medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like, and also include a carrier wave (for example, transmission through the Internet). The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

본 발명에 따르면, 현재 영상 처리 단위 및/또는 현재 영상 처리 단위에 인접한 다른 영상 처리 단위가 조명 변화 보상을 이용해 부호화된 경우를 감안하여 디블록킹 필터링을 수행할 수 있으므로, 조명 변화 보상에 의해 새로이 발생하는 블록킹 아티팩츠를 제거할 수 있다.According to the present invention, since the deblocking filtering may be performed in consideration of the case where the current image processing unit and / or another image processing unit adjacent to the current image processing unit are encoded using the lighting change compensation, a new generation is generated by the lighting change compensation. You can eliminate blocking artifacts.

또한, 영상 처리 단위의 경계에 위치해 있는 서브 블록들뿐만 아니라, 영상 처리 내부에 위치한 서브 블록들에 대해서도 조명 변화 보상을 이용해 부호화되었는지 여부를 감안하여 디블록킹 필터링을 수행할 수 있다.In addition, the deblocking filtering may be performed in consideration of whether the subblocks located at the boundary of the image processing unit are encoded using the illumination change compensation on the subblocks located inside the image processing.

Claims (19)

영상의 디블록킹 필터링(deblocking filtering) 방법에 있어서,In the deblocking filtering method of the image, 현재 블록이 포함되어 있는 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 단계; 및Determining whether a difference value of illumination change of a current image processing unit including a current block is different from a difference value of illumination change of another image processing unit adjacent to the current image processing unit; And 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 경계를 디블록킹 필터링하는 단계를 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And deblocking filtering the boundary of the current block by adjusting a filtering strength of the deblocking filter based on the determination result. 제 1 항에 있어서, 상기 영상 처리 단위는The method of claim 1, wherein the image processing unit 매크로 블록인 것을 특징으로 하는 디블록킹 필터링 방법.Deblocking filtering method characterized in that the macro block. 제 1 항에 있어서, 상기 판단하는 단계는The method of claim 1, wherein the determining 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값의 차분에 대한 절대값을 제1 임계값보다 비교하는 단계를 더 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And comparing an absolute value of a difference between an illumination change difference value of the current image processing unit and an illumination change difference value of the other image processing unit than a first threshold value. 제 3 항에 있어서, 상기 필터링하는 단계는The method of claim 3, wherein the filtering step 상기 절대값이 상기 제1 임계값보다 큰 경우 및 작은 경우에 각각 다른 필터 링 강도를 적용하여 디블록킹 필터링하는 단계를 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And deblocking filtering by applying different filtering intensities when the absolute value is larger and smaller than the first threshold value. 제 3 항에 있어서, 상기 비교하는 단계는4. The method of claim 3, wherein the comparing step 상기 비교 결과 상기 절대값이 상기 제1 임계값보다 작으면, 상기 절대값을 상기 제1 임계값보다 작은 제2 임계값과 비교하는 단계를 더 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And if the absolute value is less than the first threshold value, comparing the absolute value with a second threshold value that is less than the first threshold value. 제 5 항에 있어서, 상기 필터링하는 단계는The method of claim 5, wherein the filtering step 상기 절대값이 상기 제2 임계값보다 큰 경우 및 작은 경우에 각각 다른 필터링 강도를 적용하여 디블록킹 필터링하는 단계를 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And deblocking filtering by applying different filtering intensities when the absolute value is larger and smaller than the second threshold value. 제 1 항에 있어서, 상기 판단하는 단계는The method of claim 1, wherein the determining 상기 현재 영상 처리 단위 및 상기 다른 영상 처리 단위 중 조명 변화 보상(illumination compensation)을 이용하지 않고 부호화된 영상 처리 단위의 조명 변화 차이값을 '0'으로 설정하는 단계; 및Setting an illumination change difference value of an encoded image processing unit to '0' without using illumination compensation among the current image processing unit and the other image processing unit; And 상기 설정 결과에 기초하여 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 단계를 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And determining whether an illumination change difference value of the current image processing unit and an illumination change difference value of the other image processing unit are different based on the result of the setting. 제 1 항에 있어서, The method of claim 1, 상기 판단하는 단계는 The determining step 상기 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위의 좌측에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 단계를 포함하고,Determining whether a difference value of illumination change of the current image processing unit is different from a difference value of illumination change of another image processing unit adjacent to a left side of the current image processing unit, 상기 필터링하는 단계는The filtering step 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 수직 경계(vertical boundary)를 디블록킹 필터링하는 단계를 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And deblocking filtering the vertical boundary of the current block by adjusting the filtering strength of the deblocking filter based on the determination result. 제 1 항에 있어서, The method of claim 1, 상기 판단하는 단계는 The determining step 상기 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위의 상부에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 단계를 포함하고,Determining whether a difference value of illumination change of the current image processing unit is different from a difference value of illumination change of another image processing unit adjacent to an upper portion of the current image processing unit; 상기 필터링하는 단계는The filtering step 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 수평 경계(horizontal boundary)를 디블록킹 필터링하는 단계를 포함하는 것을 특징으로 하는 디블록킹 필터링 방법.And deblocking filtering the horizontal boundary of the current block by adjusting the filtering strength of the deblocking filter based on the determination result. 영상의 디블록킹 필터링(deblocking filtering) 장치에 있어서,In the deblocking filtering apparatus of the image, 현재 블록이 포함되어 있는 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 제어부; 및A controller for determining whether a difference value of illumination change of the current image processing unit including the current block is different from a difference in illumination change of another image processing unit adjacent to the current image processing unit; And 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 경계를 디블록킹 필터링하는 필터링부를 포함하는 것을 특징으로 하는 디블록킹 필터링 장치.And a filtering unit which deblocks and filters the boundary of the current block by adjusting the filtering strength of the deblocking filter based on the determination result. 제 10 항에 있어서, 상기 영상 처리 단위는The method of claim 10, wherein the image processing unit 매크로 블록인 것을 특징으로 하는 디블록킹 필터링 장치.Deblocking filtering device, characterized in that the macro block. 제 10 항에 있어서, 상기 제어부는The method of claim 10, wherein the control unit 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값의 차분에 대한 절대값을 제1 임계값보다 비교하는 것을 특징으로 하는 디블록킹 필터링 장치.And comparing an absolute value of a difference between an illumination change difference value of the current image processing unit and an illumination change difference value of the other image processing unit from a first threshold value. 제 12 항에 있어서, 상기 필터링부는The method of claim 12, wherein the filtering unit 상기 절대값이 상기 제1 임계값보다 큰 경우 및 작은 경우에 각각 다른 필터링 강도를 적용하여 디블록킹 필터링하는 단계를 포함하는 것을 특징으로 하는 디 블록킹 필터링 장치.And deblocking filtering by applying different filtering intensities when the absolute value is larger and smaller than the first threshold value. 제 12 항에 있어서, 상기 제어부는The method of claim 12, wherein the control unit 상기 비교 결과 상기 절대값이 상기 제1 임계값보다 작으면, 상기 절대값을 상기 제1 임계값보다 작은 제2 임계값과 비교하는 것을 특징으로 하는 디블록킹 필터링 장치.And when the absolute value is less than the first threshold value, comparing the absolute value with a second threshold value less than the first threshold value. 제 14 항에 있어서, 상기 필터링부는The method of claim 14, wherein the filtering unit 상기 절대값이 상기 제2 임계값보다 큰 경우 및 작은 경우에 각각 다른 필터링 강도를 적용하여 디블록킹 필터링하는 것을 특징으로 하는 디블록킹 필터링 장치.And when the absolute value is greater than or less than the second threshold, deblocking filtering by applying different filtering intensities. 제 10 항에 있어서, 상기 제어부는The method of claim 10, wherein the control unit 상기 현재 영상 처리 단위 및 상기 다른 영상 처리 단위 중 조명 변화 보상(illumination compensation)을 이용하지 않고 영상 처리 단위의 조명 변화 차이값을 '0'으로 설정하고, 상기 설정 결과에 기초하여 상기 현재 영상 처리 단위의 조명 변화 차이값과 상기 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하는 것을 특징으로 하는 디블록킹 필터링 장치.Among the current image processing unit and the other image processing unit, the illumination change difference value of the image processing unit is set to '0' without using illumination compensation, and based on the setting result, the current image processing unit And determining whether an illumination change difference value between the illumination change difference value and the illumination change difference value of the other image processing unit is different. 제 10 항에 있어서, The method of claim 10, 상기 제어부는The control unit 상기 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위의 좌측에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하고,Determining whether a difference value of illumination change of the current image processing unit is different from a difference value of illumination change of another image processing unit adjacent to the left side of the current image processing unit, 상기 필터링부는The filtering unit 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 수직 경계(vertical boundary)를 디블록킹 필터링하는 것을 특징으로 하는 디블록킹 필터링 장치.And deblocking filtering the vertical boundary of the current block by adjusting the filtering strength of the deblocking filter based on the determination result. 제 10 항에 있어서, The method of claim 10, 상기 제어부는The control unit 상기 현재 영상 처리 단위의 조명 변화 차이값(difference value of illumination change)과 상기 현재 영상 처리 단위의 상부에 인접한 다른 영상 처리 단위의 조명 변화 차이값이 상이한지 판단하고,Determining whether a difference value of illumination change of the current image processing unit is different from a difference value of illumination change of another image processing unit adjacent to an upper portion of the current image processing unit, 상기 필터링하는 단계는The filtering step 상기 판단 결과에 기초하여 디블록킹 필터의 필터링 강도를 조절하여 상기 현재 블록의 수평 경계(horizontal boundary)를 디블록킹 필터링하는 것을 특징으로 하는 디블록킹 필터링 장치.And deblocking filtering the horizontal boundary of the current block by adjusting the filtering strength of the deblocking filter based on the determination result. 제 1 항 내지 제 9 항 중 어느 한 항의 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.A computer readable recording medium having recorded thereon a program for executing the method of any one of claims 1 to 9.
KR1020070043794A 2007-01-11 2007-05-04 Method and apparatus for deblocking filtering KR101365443B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2008/000159 WO2008084996A1 (en) 2007-01-11 2008-01-10 Method and apparatus for deblocking-filtering video data
US12/013,021 US8705576B2 (en) 2007-01-11 2008-01-11 Method and apparatus for deblocking-filtering video data

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US88446807P 2007-01-11 2007-01-11
US60/884,468 2007-01-11
US88514007P 2007-01-16 2007-01-16
US60/885,140 2007-01-16

Publications (2)

Publication Number Publication Date
KR20080066521A true KR20080066521A (en) 2008-07-16
KR101365443B1 KR101365443B1 (en) 2014-03-03

Family

ID=39821366

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070043794A KR101365443B1 (en) 2007-01-11 2007-05-04 Method and apparatus for deblocking filtering

Country Status (1)

Country Link
KR (1) KR101365443B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110114498A (en) * 2010-04-13 2011-10-19 삼성전자주식회사 Method and apparatus for video encoding with deblocking filtering based on tree-structured data unit, and method and apparatus for video decoding with the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2320661B8 (en) 2001-11-29 2015-09-02 Godo Kaisha IP Bridge 1 Coding distortion removal method
US7460596B2 (en) 2004-04-29 2008-12-02 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110114498A (en) * 2010-04-13 2011-10-19 삼성전자주식회사 Method and apparatus for video encoding with deblocking filtering based on tree-structured data unit, and method and apparatus for video decoding with the same
WO2011129619A3 (en) * 2010-04-13 2012-02-09 삼성전자 주식회사 Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, which perform deblocking filtering based on tree-structure encoding units
KR20150000855A (en) * 2010-04-13 2015-01-05 삼성전자주식회사 Method and apparatus for video encoding with deblocking filtering based on tree-structured data unit, and method and apparatus for video decoding with the same
US9247247B2 (en) 2010-04-13 2016-01-26 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
US9485511B2 (en) 2010-04-13 2016-11-01 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US9565438B2 (en) 2010-04-13 2017-02-07 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
US9654790B2 (en) 2010-04-13 2017-05-16 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US9712822B2 (en) 2010-04-13 2017-07-18 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, which perform deblocking filtering based on tree-structure encoding units
US9712823B2 (en) 2010-04-13 2017-07-18 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
KR20180018596A (en) * 2010-04-13 2018-02-21 삼성전자주식회사 Method and apparatus for video encoding with deblocking filtering based on tree-structured data unit, and method and apparatus for video decoding with the same
US9936216B2 (en) 2010-04-13 2018-04-03 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
US9942564B2 (en) 2010-04-13 2018-04-10 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US10027972B2 (en) 2010-04-13 2018-07-17 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, which perform deblocking filtering based on tree-structure encoding units
US10306262B2 (en) 2010-04-13 2019-05-28 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, which perform deblocking filtering based on tree-structure encoding units
US10412411B2 (en) 2010-04-13 2019-09-10 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
US10432965B2 (en) 2010-04-13 2019-10-01 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure

Also Published As

Publication number Publication date
KR101365443B1 (en) 2014-03-03

Similar Documents

Publication Publication Date Title
KR101370287B1 (en) Method and apparatus for deblocking filtering
KR101365575B1 (en) Method and apparatus for encoding and decoding based on inter prediction
US9872024B2 (en) Adaptive filtering based upon boundary strength
US8705576B2 (en) Method and apparatus for deblocking-filtering video data
US11240496B2 (en) Low complexity mixed domain collaborative in-loop filter for lossy video coding
KR101269116B1 (en) Decoding method of inter coded moving picture
KR101200535B1 (en) Adaptive motion estimation/compensation device for MB-based illumination change and method thereof
JP5043874B2 (en) Intra prediction coding method of image data
Karczewicz et al. Geometry transformation-based adaptive in-loop filter
KR20090095317A (en) Method and apparatus for encoding and decoding image
KR20170093833A (en) Coding of intra modes
KR101496324B1 (en) Method and apparatus for video encoding, and method and apparatus for video decoding
KR20100136883A (en) Method and apparatus for filtering image by using pseudo-random filter
KR101365443B1 (en) Method and apparatus for deblocking filtering
KR100682761B1 (en) Adaptive motion predictive device for illumination change and method for producing the same
KR100807094B1 (en) Adaptive motion estimation/compensation device for illumination change and method thereof
KR101499558B1 (en) Method for video decoding
KR20140129420A (en) Method for intra-prediction using residual transform, and apparatus thereof
KR20140068741A (en) Method and Apparatus for image encoding

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180130

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee