KR20080066521A - Method and apparatus for deblocking filtering - Google Patents
Method and apparatus for deblocking filtering Download PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/86—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods 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
Description
도 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
생성된 예측 블록을 원본 현재 블록에서 감산하여 레지듀(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
DCT및양자화부(114)에서 양자화된 레지듀는 다음에 부호화되는 픽처의 예측에 이용되기 위해 역양자화및역DCT부(118)에서 역양자화되고, 역이산 코사인 변환되어 복원된다.The quantized residue in the DCT and
복원된 레지듀는 예측 블록과 가산되어 프레임메모리(122)에 저장되는데, 프레임메모리(122)에 저장하기에 앞서 디블록킹부(120)에서 디블록킹 필터링된다. 복원된 레지듀와 예측 블록이 가산된 블록을 그대로 프레임메모리(122)에 저장하면, 전술한 블록킹 아티팩츠가 발생하므로, 디블록킹부(120)에서 디블록킹 필터링을 수행한후 프레임메모리(122)에 저장한다. 종래 기술에 따라 디블록킹 필터링을 수행하는 자세한 설명은 도 2를 참조하여 후술한다.The reconstructed residue is added to the prediction block and stored in the
도 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
엔트로피복호화부(124)는 부호화된 레지듀를 수신하여 엔트로피 복호화를 수행한다. 엔트로피복호화된 레지듀는 역양자화및역DCT부(126)에 의해 역양자화되고, 역이산 코사인 변환된다. 역이산 코사인 변환되어 복원된 레지듀는 움직임보상부(128)에서 생성된 예측 블록에 가산되어 부호화 이전의 블록으로 복원된다. 부호화의 경우와 마찬가지로 복원된 블록을 그대로 프레임메모리(132)에 저장하면, 전술한 블록킹 아티팩츠가 발생하므로, 디블록킹부(130)에서 디블록킹 필터링을 수행한 후에 프레임메모리(122)에 저장한다.The
도 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
도 2를 참조하면, 단계 201에서 디블록킹부(120 또는 130)는 디블록킹 필터링을 수행할 인접한 두 블록 p, q 중 적어도 하나가 인트라 부호화되었는지 판단한다. Referring to FIG. 2, in
단계 201에서 블록 p, q 중 적어도 하나가 인트라 부호화된 것으로 판단되면, 단계 202에서 디블록킹 필터링을 수행할 블록 p, q 가 매크로 블록 경계에 위 치한 블록인지 판단한다. 블록 p, q 가 매크로 블록 경계에 위치한 블록이면, 단계 206에서 디블록킹 필터의 필터링 강도를 가장 센 Bs(Boundary strength)=4 로 설정하고 디블록킹 필터링을 수행한다. 디블록킹 필터링을 수행할 블록 p, q 가 매크로 블록 경계에 위치하지 않은 블록이면, 단계 207에서 필터링 강도를 Bs=3 로 설정하여 디블록킹 필터링을 수행한다.If it is determined in
단계 201에서 블록 p, q 가 모두 인트라 부호화되지 않은 블록인 것으로 판단되면, 단계 203에서 블록 p, q 중 적어도 하나가 직교 변환 계수 즉, 이산 코사인 변환 계수를 가지는지 판단한다. 블록 p, q 중 적어도 하나가 직교 변환 계수를 가지면 단계 208에서 필터링 강도를 Bs=2 로 설정하여 디블록킹 필터링을 수행하고, 블록 p, q 모두 직교 변환 계수를 가지지 않으면 단계 204로 넘어간다.If it is determined in
단계 203에서 블록 p, q 가 모두 직교 변환 계수를 가지지 않으면, 단계 204에서 블록 p, q 의 참조 프레임이 다르거나, 참조 프레임의 개수가 다른지 판단한다. 참조 프레임 또는 참조 프레임의 개수가 다르면, 단계 209에서 필터링 강도를 Bs=1 로 설정하여 디블록킹 필터링을 수행한다. If both blocks p and q have no orthogonal transform coefficients in
단계 204에서 블록 p, q 의 참조 프레임 및 참조 프레임의 개수가 모두 같은 것으로 판단되면, 단계 205에서 블록 p, q의 움직임 벡터에 차이가 있는지 판단한다. 움직임 벡터에 차이가 있는 것으로 판단되면 단계 209에서 필터링 강도를 Bs=1로 설정하여 디블록킹 필터링을 수행하고, 움직임 벡터에 차이가 없는 것으로 판단되면 단계 210에서 필터링 강도를 Bs=0 으로 설정함으로써 디블록킹 필터링을 수행하지 아니한다.If it is determined in
단계 201 내지 210과 관련하여 설명한 바와 같이 종래 기술에 따른 디블록킹 필터링 방법은 인접한 두 블록 p, q가 조명 변화 보상을 이용해 부호화된 경우에 대해서는 고려하지 아니한다. 현재 블록의 평균값(DC value)은 조명 변화 보상을 이용해 부호화된 경우와 조명 변화 보상을 이용하지 않고 부호화된 경우에 차이가 있고, 이로 인해 블록킹 아티팩츠가 발생함에도 불구하고 이러한 점을 고려하지 않는 것이다.As described with reference to
따라서, 조명 변화 보상을 이용해 부호화된 경우를 고려하여 디블록킹 필터링할 수 있는 방법 및 장치가 필요하다.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
조명변화차이값계산부(310)는 부호화하려는 현재 블록이 포함되어 있는 현재 매크로 블록의 평균값(DC value)과 현재 블록의 인터 예측에 이용될 참조 블록이 포함되어 있는 매크로 블록의 평균값을 차분하여 조명 변화 차이값(difference value of illumination change : DVIC)을 계산한다. 여기서 매크로 블록은 영상 처리 단위의 예시이며, 이하에서는 매크로 블록이 영상 처리 단위가 되는 경우를 가정하여 설명한다. 조명 변화 보상에서 조명 변화 차이값은 영상 처리 단위 즉, 매크로 블록 단위로 생성된다. The lighting change difference
현재 매크로 블록 및 참조 블록이 포함되어 있는 매크로 블록의 평균값을 계산하고 계산된 두 값을 차분하여 조명 변화 차이값을 계산한다. 계산된 조명 변화 차이값에서 조명변화차이값예측부(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
움직임 추정부(302)는 조명변화차이값계산부(310)에서 계산된 조명 변화 차이값에 기초하여 현재 블록의 움직임 벡터를 추정한다. 조명변화보상부(304)가 조명 변화 차이값에 기초하여 현재 블록을 조명 변화 보상(illumination compensation)하고, 움직임벡터결정부(306)는 조명 변화 보상된 현재 블록을 이용 해 프레임메모리(322)에 저장되어 있는 참조 픽처를 검색하여 움직임 벡터를 추정한다. 추정된 움직임 벡터는 비트스트림에 삽입되어 영상의 복호화 장치로 전송된다. The
움직임보상부(308)는 현재 매크로 블록의 평균값, 참조 블록이 포함되어 있는 매크로 블록의 평균값 및 움직임 벡터를 이용하여 움직임 보상을 수행하여 현재 블록의 예측값인 예측 블록을 생성한다. 움직임 보상은 수학식 1을 통해 수행될 수 있다.The
NewR(i, j)는 조명 변화 보상을 이용해 생성되는 (i, j) 좌표에서의 레지듀를 의미하고, f(i, j)는 현재 블록의 (i, j) 좌표에서의 화소값, r(i+x', j+y')은 참조 픽처의 (i+x', j+y') 좌표에서의 화소값이며, 은 현재 매크로 블록의 화소 평균값, 는 참조 블록이 포함되어 있는 매크로 블록의 화소 평균값이며, (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, Is the average pixel value of the current macro block, 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
역양자화부및DCT부(318)는 양자화된 레지듀를 역양자화한 후에 역이산 코사 인 변환하여 부호화 이전의 레지듀로 복원된다. 복원된 레지듀는 움직임보상부(308)에서 생성된 현재 블록의 예측 블록과 가산되어 부호화 이전의 블록으로 복원된다. The inverse quantization unit and the
복원된 블록은 참조 픽처로 사용되기 위해 프레임메모리(322)에 저장되는데 블록킹 아티팩츠를 제거하기 위해 디블록킹부(320)에서 블록 경계가 디블록킹 필터링된 후에 저장된다. 여기서, 종래 기술에 따른 디블록킹 필터링을 그대로 수행하면 현재 영상 처리 단위 및/또는 현재 영상 처리 단위에 인접한 다른 영상 처리 단위가 조명 변화 보상을 이용해 부호화된 경우를 고려하지 아니하므로, 블록킹 아티팩츠가 제거되지 않고 남아 있는 경우가 발생할 수 있다. 따라서, 이를 제거하기 위한 디블록킹 필터링 방법이 필요하며 이에 대한 자세한 설명은 도 4 내지 6을 참조하여 후술한다.The reconstructed block is stored in the
도 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
엔트로피복호화부(352)는 비트스트림에 포함되어 있는 현재 블록의 레지듀에 대한 데이터를 엔트로피 복호화한다. 엔트로피 복호화된 레지듀에 대한 데이터는 역양자화및역DCT부(354)에서 역양자화되고, 역이산 코사인 변환되어 복원된다. 복원된 레지듀는 움직임보상부(358)에서 생성된 예측 블록과 가산되어 현재 블록으로 복원된다. The
움직임보상부(358)는 부호화 장치의 움직임 보상부(308)에 대응된다. 움직임보상부(358)는 현재 블록의 예측 블록을 생성함에 있어서, 조명 변화 차이값을 이용한다. 비트스트림에 포함되어 있는 예측 부호화된 조명 변화 차이값에 조명변화차이값예측부(356)에서 현재 블록이 포함되어 있는 현재 매크로 블록의 주변 블록들로부터 예측한 조명 변화 차이값을 가산하여 현재 블록의 조명 변화 차이값을 생성한다.The
또한, 비트스트림에 포함되어 있는 움직임 벡터를 이용해 프레임메모리(362)에 저장되어 있는 참조 픽처를 검색하여 참조 블록을 포함하고 있는 매크로 블록을 특정하고, 특정된 매크로 블록의 평균값에 생성된 조명 변화 차이값을 가산함으로써 현재 매크로 블록의 평균값을 생성한다. 생성된 현재 매크로 블록의 평균값 및 참조 블록을 이용해 현재 블록의 예측 블록을 생성한다. In addition, a reference picture stored in the
움직임 보상부(358)에서 생성된 예측 블록과 레지듀가 가산되어 복원된 현재 블록은 참조 픽처로 사용되기 위해 프레임메모리(362)에 저장되는데 블록킹 아티팩츠를 제거하기 위해 디블록킹부(360)에서 디블록킹 필터링된 후에 저장된다.The current block reconstructed by adding the predicted block and the residue generated by the
도 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
도 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
현재 영상 처리 단위(710) 및/또는 인접한 영상 처리 단위(720 또는 730)가 조명 변화 보상을 이용해 부호화된 경우에는 블록킹 아티팩츠가 발생하게 되는데 종래 기술에 따라 디블록킹 필터링을 하면 이를 고려하지 아니하고 디블록킹 필터링을 수행한다. If the current
따라서, 단계 410에서는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값을 비교하여 서로 다른지 판단한다. Therefore, in
만약, 현재 블록(711)의 조명 변화 차이값과 현재 블록에 인접한 주변 블록들(712 내지 715)의 조명 변화 차이값을 비교하여 서로 상이한지 판단하면, 현재 블록이 도 7에 도시된 바와 같이 현재 영상 처리 단위(710)의 내부에 위치한 블록인 경우에는 주변 블록들(712 내지 715)와 조명 변화 차이값이 동일하게 된다. 조명 변화 차이값은 영상 처리 단위 즉, 매크로 블록 단위로 계산되고, 디블록킹 필터링은 매크로 블록의 서브 블록 단위로 수행되기 때문에 현재 블록(711)과 주변 블록들(712 내지 715)의 조명 변화 차이값이 동일하다. 따라서, 영상 처리 단위(710 내지 730)로 조명 변화 차이값을 비교한다. If it is determined whether the lighting change difference value of the
바람직하게는 현재 블록의 수직 방향 경계 즉, 현재 블록(711)과 현재 블록의 좌측에 인접한 블록(713) 사이의 경계 및 현재 블록(711)과 혀재 블록의 우측에 인접한 블록(715) 사이의 경계를 디블록킹 필터링할 때에는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위(710)의 좌측에 인접한 영상 처리 단위(720)의 조명 변화 차이값이 상이한지 판단한다.Preferably, the vertical boundary of the current block, that is, the boundary between the
또한, 현재 블록의 수평 방향 경계 즉, 현재 블록(711)과 현재 블록의 상부에 인접한 블록(712) 사이의 경계 및 현재 블록(711)과 현재 블록의 하부에 인접한 블록(714) 사이의 경계를 디블록킹 필터링할 때에는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위(710)의 상부에 인접한 영상 처리 단위(730)의 조명 변화 차이값이 상이한지 판단한다.In addition, the horizontal boundary of the current block, that is, the boundary between the
단계 410에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한 것으로 판단되면, 단계 420에서 필터링 강도를 Bs=K1로 설정하여 현재 블록의 경계를 디블록킹 필터링한다.If it is determined in
반대로, 단계 410에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이하지 않은 것으로 판단되면 단계 430에서 필터링 강도를 Bs=K2로 설정하여 현재 블록의 경계를 디블록킹 필터링한다.On the contrary, if it is determined in
단계 410에서의 판단 결과에 기초하여 서로 다른 필터링 강도로 디블록킹 필터링을 수행하기 위해서 K1과 K2는 서로 다른 값으로 설정한다. 또한, 조명 변화 차이값들이 상이한 경우 필터링 강도를 더 세게하여 디블록킹 필터링을 수행하는 것이 바람직하다. 다시 말해, K1을 K2보다 더 큰 값으로 설정한다. Based on the determination result in
현재 영상 처리 단위(710) 및 인접한 영상 처리 단위들(720 및 730) 중 하나가 조명 변화 보상을 이용하여 부호화되지 않은 경우가 있을 수 있다. 조명 변화 보상에 따른 블록킹 아티팩츠는 조명 변화 보상을 이용해 부호화된 영상 처리 단위와 조명 변화 보상을 이용하지 않고 부호화된 영상 처리 단위가 인접한 경우에도 발생할 수 있다. 따라서, 이러한 경우를 고려하여 디블록킹 필터링을 수행하기 위해 본 발명에 따른 디블록킹부(320 또는 360)는 조명 변화 보상을 이용하지 않고 부호화된 영상 처리 단위의 조명 변화 차이값을 '0'으로 설정하여 단계 410의 판단을 수행한다. There may be a case where one of the current
현재 영상 처리 단위와 인접한 영상 처리 단위가 모두 조명 변화 보상을 이용하지 않고 부호화된 경우에는 조명 변화 차이값이 모두 '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
그러나 현재 영상 처리 단위 및 인접한 영상 처리 단위 중 하나가 조명 변화 보상을 이용하여 부호화된 경우에는 조명 변화 보상을 이용하여 부호화된 영상 처리 단위의 조명 변화 차이값은 '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
도 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
단계 510에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한 것으로 판단되면, 단계 520에서 디블록킹부(320 또는 360)는 현재 영상 처리 단위(710)의 조명 변화 차이값과 인접한 영상 처리 단위(720 또는 730)의 조명 변화 차이값의 차분에 대한 절대값을 제1 임계값(T1)과 비교한다. If it is determined in
비교한 결과 절대값이 제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
단계 530에서의 비교 결과 절대값이 제2 임계값(T2)보다 크면, 다시 말해 절대값이 제1 임계값(T1)과 제2 임계값(T2) 사이의 값을 가지면 단계 550에서 필터링 강도를 Bs=K2로 설정하여 디블록킹 필터링을 수행한다.If the absolute value of the comparison in
단계 540 및 단계 550의 경우에 서로 다른 필터링 강도를 가지도록 K1 및 K2를 서로 다른 값으로 설정하여 디블록킹 필터링을 수행할 수 있다. 그러나, 단계 560 및 단계 570의 경우에는 K3 및 K4에 별도의 필터링 강도값을 할당하지 아니하고, 종래 기술에 따른 디블록킹 필터링 방법에 따라 다시 필터링 강도를 조절하도록 실시예를 구성할 수도 있다. 이에 대한 자세한 설명은 도 6을 참조하여 후술한다.In the case of
도 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,
단계 601은 도 2에 도시된 단계 201과 동일한 단계로써 본 발명에 따른 디블록킹부(320 또는 360)는 두 개의 인접한 블록 p, q 중 적어도 하나가 인트라 부호화되었는지 판단한다.Step 601 is the same as
단계 601에서 인접한 블록 p, q 중 적어도 하나가 인트라 부호화된 블록인 것으로 판단되면, 단계 602에서 블록 p, q의 경계가 매크로 블록 경계인지 다시 판단하고, 단계 602에서의 판단 결과에 따라 단계 609 또는 610에서 서로 다른 필터링 강도에 따라 디블록킹 필터링을 수행한다. If it is determined in
단계 601에서 인접한 블록 p, q가 모두 인트라 부호화되지 않은 블록인 것으로 판단되면, 단계 603에서 p 블록 즉, 현재 블록(711)이 포함되어 있는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 및 730)의 조명 변화 차이값이 상이한지 판단한다.If it is determined in
단계 603에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이하지 않은 것으로 판단되면, 종래 기술에 따른 디블록킹 필터링 방법과 마찬가지로 단계 606 내지 608을 통해 디블록킹 필터링의 강도를 조절한다. If it is determined in
단계 603에서 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이하지 않은 것으로 판단되면, 단계 604 및 605에서 조명 변화 차이값들의 차분에 대한 절대값을 소정의 임계값들과 비교한다. If it is determined in
비교 결과 절대값이 제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
또한, 비교 결과 절대값이 제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,
도 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
도 9를 참조하면, 본 발명에 따른 디블록킹부(320 또는 360)는 제어부(910) 및 필터링부(920)을 포함한다. Referring to FIG. 9, the
제어부(910)는 현재 블록(711)이 포함되어 있는 현재 영상 처리 단위(710)의 조명 변화 차이값과 현재 영상 처리 단위(710)에 인접한 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한지 판단한다. 상이한 것으로 판단되면 조명 변화 차이값들의 차분에 대한 절대값을 소정의 임계값(들)과 비교한다. The
현재 영상 처리 단위(710) 및/또는 다른 영상 처리 단위(720 또는 730)이 조명 변화 보상을 이용해 부호화되지 않은 경우에는 조명 변화 차이값을 '0'으로 설 정하고 조명 변화 차이값이 상이한지 판단한다.If the current
필터링부(920)는 제어부(710)의 판단 또는 비교 결과에 기초하여 필터링 강도를 조절하여 디블록킹 필터링을 수행한다.The
현재 영상 처리 단위(710)의 조명 변화 차이값과 다른 영상 처리 단위(720 또는 730)의 조명 변화 차이값이 상이한지 여부에 따라 서로 다른 필터링 강도를 적용하여 현재 블록(711)의 경계를 디블록킹 필터링한다. Deblocking the boundary of the
또한, 조명 변화 차이값들의 차분에 대한 절대값을 소정의 임계값(들)과 비교하고 비교 결과에 기초하여 서로 다른 필터링 강도를 적용하여 디블록킹 필터링을 수행한다. 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)
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)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2650593T3 (en) | 2001-11-29 | 2018-01-19 | Godo Kaisha Ip Bridge 1 | Extraction method of coding distortion |
US7460596B2 (en) | 2004-04-29 | 2008-12-02 | Mediatek Incorporation | Adaptive de-blocking filtering apparatus and method for MPEG video decoder |
-
2007
- 2007-05-04 KR KR1020070043794A patent/KR101365443B1/en not_active IP Right Cessation
Cited By (16)
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 |
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 |
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 |
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 | |
Karczewicz et al. | Geometry transformation-based adaptive in-loop filter | |
JP5043874B2 (en) | Intra prediction coding method of image data | |
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 |