KR20130069452A - Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands - Google Patents

Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands Download PDF

Info

Publication number
KR20130069452A
KR20130069452A KR1020120145364A KR20120145364A KR20130069452A KR 20130069452 A KR20130069452 A KR 20130069452A KR 1020120145364 A KR1020120145364 A KR 1020120145364A KR 20120145364 A KR20120145364 A KR 20120145364A KR 20130069452 A KR20130069452 A KR 20130069452A
Authority
KR
South Korea
Prior art keywords
offset
band
current block
section
band offset
Prior art date
Application number
KR1020120145364A
Other languages
Korean (ko)
Other versions
KR102074313B1 (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 연세대학교 산학협력단
Publication of KR20130069452A publication Critical patent/KR20130069452A/en
Application granted granted Critical
Publication of KR102074313B1 publication Critical patent/KR102074313B1/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/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
    • 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/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

Abstract

PURPOSE: An in-loop filtering method and an apparatus capable of using an adaptive band offset section and an encoding/decoding apparatus capable of using the adaptive band offset section are provided to adaptively select the section standard of a central section and a side section in the band offset compensation by considering the property of the pixel value distribution of the surrounding block, thereby improving the selection probability of a suitable offset according to the pixel property. CONSTITUTION: An in-loop filtering apparatus removes the block distortion of a reconstructed picture by a deblocking filtering(S110). The apparatus applies an adaptive SAO(Sample Adaptive Offset) to the deblocking filtered image(S120). The apparatus selectively applies an adaptive ALF(Adaptive Loop Filter) to an image in which the SAO is applied to(S130). When applying the SAP, an adaptive band offset is applied to the current block in which the sample offset will be applied to. [Reference numerals] (AA) Start; (BB) Finish; (S110) Deblocking filtering; (S120) Deblocking filtered image; (S130) SAO is applied

Description

적응적 밴드 오프셋 구간을 이용한 인-루프 필터링 방법 및 장치, 그리고 적응적 밴드 오프셋 구간을 이용한 부호화 및 복호화 장치{METHOD AND APPARATUS OF IN-LOOP FILTERING BY ADAPTIVE BAND OFFSET BANDS, AND APPPARATUS FOR DECODING AND ENCODING BY ADAPTIVE BAND OFFSET BANDS}In-loop filtering method and apparatus using an adaptive band offset interval, and an encoding and decoding apparatus using an adaptive band offset interval BAND OFFSET BANDS}

본 발명은 비디오 데이터의 부호화 및 복호화에 관한 것으로, 보다 상세하게는 복원된 영상에 대하여 픽셀별로 오프셋을 적응적으로 적용하는 방법 및 장치에 관한 것이다. The present invention relates to encoding and decoding of video data, and more particularly, to a method and apparatus for adaptively applying an offset on a pixel basis to a reconstructed image.

영상이 낮은 비트율로 부호화되는 경우, 복원된 영상(reconstructed image)에 블록 왜곡(block artifacts)이 발생한 상태에서 프레임 메모리에 저장되고 다음 픽처의 움직임 보상 처리에서 상기 블록 왜곡(block artifacts)을 포함한 영상을 참조하여 부호화할 경우 화질의 열화가 전파될 수 있으며, 이를 해결하기 위하여, H.264/AVC 표준에서는, 원래 영상(original image)를 모르는 상태에서 프레임 메모리에 복원된 영상을 저장하기 전에 블록 왜곡(block artifacts)를 제거(remove)하는 적응적인 디블록킹 필터링(deblocking filtering)을 사용한다. When an image is encoded at a low bit rate, the image is stored in a frame memory in a state where block artifacts occur in a reconstructed image, and an image including the block artifacts is included in a motion compensation process of a next picture. When encoding with reference, deterioration of image quality may be propagated. In order to solve this problem, in the H.264 / AVC standard, block distortion may be performed before storing a reconstructed image in a frame memory without knowing the original image. Use adaptive deblocking filtering to remove block artifacts.

상기 디블록킹 필터링은 원래 영상(original image)을 모르는 상태에서 블록 왜곡만을 제거하기 위한 수동적인 필터(passive filter)로서, 능동적으로 원래 영상(original image)과 복원된 영상(reconstructed image)의 차이값(offset)을 보상할 수는 없는 한계가 있다.The deblocking filtering is a passive filter for removing only block distortion in a state in which the original image is not known, and actively performs a difference value between an original image and a reconstructed image. There is a limit that cannot compensate.

[선행기술문헌][Prior Art Literature]

(특허문헌 1) 한국 공개 특허 제 10-2011-0083369 호("디블로킹 필터링을 이용한 비디오 부호화 방법과 그 장치, 및 디블로킹 필터링을 이용한 비디오 복호화 방법 및 그 장치", 삼성전자주식회사, 2011.07.20 공개)(Patent Document 1) Korean Unexamined Patent Publication No. 10-2011-0083369 ("Video encoding method and apparatus using deblocking filtering, and video decoding method and apparatus using deblocking filtering", Samsung Electronics Co., Ltd., July 20, 2011 open)

원래 영상(original image)과 복원된 영상(reconstructed image)의 차이값(offset)을 보상하기 위한 기법으로 적응적 샘플 오프셋(Adaptive Sample Offset, SAO) 방법이 있다. 적응적 샘플 오프셋 방법은 복원된 영상을 얻는 과정에서 발생할 수 있는 소수점 연산의 오류를 보정하기 위하여, 원본 영상과 복원된 영상 간의 차이값을 구하여 이를 바탕으로 오프셋을 구하여 복원된 영상에 더하는 방법이다. As a technique for compensating the offset between the original image and the reconstructed image, there is an adaptive sample offset (SAO) method. The adaptive sample offset method is a method of obtaining a difference value between an original image and a reconstructed image, and adding an offset to the reconstructed image in order to correct an error of a decimal point operation that may occur in the process of obtaining a reconstructed image.

오프셋은 픽셀별로 구분하여 적용되는데 오프셋의 모드는 크게 밴드 오프셋(Band Offset)과 에지 오프셋(Edge Offset)이 있다. 밴드 오프셋은 픽셀이 가지는 전체 레벨을 32부분으로 나누어서 16개의 중앙 구간(Central bands)과 16개의 양쪽 사이드 구간(Side bands)으로 크게 두 구간으로 나누어 2가지 모드가 있다. 에지 오프셋은 방향에 따라 0도, 45도, 90도, 135도, 총 4가지 모드가 있다. 각각의 모드별로 오프셋이 따로 구해지고, 율-왜곡 기반으로 가장 적은 비용을 소비하는 모드가 선택된다.Offsets are applied for each pixel. There are two modes of offsets, a band offset and an edge offset. The band offset is divided into 32 parts by dividing the total level of the pixel into 32 parts, and divided into two parts by 16 central bands and 16 side bands. There are four modes of edge offset: 0 degrees, 45 degrees, 90 degrees, 135 degrees depending on the direction. Offsets are obtained separately for each mode, and the least cost mode is selected on a rate-distortion basis.

오프셋의 모드는 쿼드-트리(quad-tree)형태의 분할 방법을 이용하여 영상에 포함된 각각의 프레임이 다양한 크기의 블록으로 분할되고, 각각의 블록마다 다른 오프셋 모드가 결정된다. 두 모드 중에서 밴드 오프셋 방법의 경우 중앙 구간과 사이드 구간으로 나뉘는 기준이 일률적으로 정해져 있다. 상기와 같은 기준에 의해 선택된 밴드 오프셋 구간은 해당 픽셀 및 블록의 특성을 효율적으로 반영하지 못하고 있다. In the offset mode, each frame included in the image is divided into blocks of various sizes by using a quad-tree splitting method, and a different offset mode is determined for each block. In the two modes, the band offset method is uniformly divided into a center section and a side section. The band offset section selected by the above criteria does not efficiently reflect the characteristics of the pixel and the block.

전술한 문제점을 해결하기 위한 본 발명에서는 복원된 영상(reconstructed image)에 대한 적응적 샘플 오프셋(Adaptive Sample Offset, SAO)을 수행함에 있어서, SAO의 두 가지 방법 중 밴드 오프셋의 구간을 결정함에 있어 해당 픽셀 및 블록의 특성을 고려하여 적응적으로 중앙 구간과 사이드 구간을 구분하는 방법을 제안한다.In the present invention for solving the above-described problem, in performing the adaptive sample offset (SAO) for the reconstructed image, in determining the interval of the band offset of the two methods of SAO We propose a method of adaptively distinguishing the center section from the side section in consideration of the characteristics of pixels and blocks.

전술한 문제점을 해결하기 위한 본 발명의 목적은 밴드 오프셋 방식의 SAO 처리를 함에 있어, SAO의 밴드 오프셋 타입 및 밴드 오프셋 값을 현재 모드에 따라 적응적으로 다르게 적용하는 인-루프 필터링 방법을 제공하는 것이다. SUMMARY OF THE INVENTION An object of the present invention for solving the above problems is to provide an in-loop filtering method for adaptively applying a band offset type and a band offset value of SAO according to a current mode in performing SAO processing of a band offset method. will be.

본 발명의 다른 목적은 밴드 밴드 오프셋 방식의 SAO 처리를 함에 있어 해당 블록과 연관된 참조 범위의 픽셀 값 분포를 기반으로 적응적으로 중앙 구간과 사이드 구간을 구분하는 영상의 부호화 및 복호화 장치를 제공하는 것이다. Another object of the present invention is to provide an image encoding and decoding apparatus for adaptively distinguishing a center section and a side section based on pixel value distribution of a reference range associated with a corresponding block in performing SAO processing of a band band offset scheme. .

전술한 본 발명의 목적을 달성하기 위한 적응적 밴드 오프셋 구간을 이용한 인-루프 필터링 방법은 복원된 영상(reconstructed picture)의 블록 왜곡을 제거하는 디블로킹 필터링(Deblocking Filtering) 단계; 및 상기 디블로킹 필터링된 영상에 대하여 적응적 샘플 오프셋(Sample Adaptive Offset, SAO)을 적용하는 단계를 포함하며, 상기 샘플 오프셋을 적용하는 단계는 상기 샘플 오프셋을 적용하고자 하는 현재 블록에 따라 적응적 밴드 오프셋을 적용하는 것을 포함한다. An in-loop filtering method using an adaptive band offset interval for achieving the above object of the present invention includes a deblocking filtering step of removing block distortion of a reconstructed picture; And applying a sample adaptive offset (SAO) to the deblocking filtered image, wherein applying the sample offset comprises adaptive band according to a current block to which the sample offset is to be applied. Applying an offset.

본 발명에서 적응적 밴드 오프셋은, SAO 절차를 적용하고자 하는 현재 블록에 따라 밴드 오프셋 구간 또는 타입을 다르게 결정함으로써, 보다 현재 블록에 적합한 SAO 절차 진행을 가능하게 하기 위한 개념으로 도입되었다.In the present invention, the adaptive band offset is introduced as a concept for enabling the SAO procedure to be more suitable for the current block by determining the band offset interval or type according to the current block to which the SAO procedure is to be applied.

본 발명의 적응적 밴드 오프셋 절차는 적응적 샘플 오프셋 단계에 포함되며, 적응적 밴드 오프셋 절차는, 상기 현재 블록과 관련된 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 밴드 오프셋 구간을 적응적으로 결정하는 단계, 상기 적응적으로 결정된 밴드 오프셋 구간을 고려하여 상기 현재 블록의 샘플 오프셋 타입을 결정하는 단계; 및 상기 결정된 밴드 오프셋 구간을 고려하여 상기 현재 블록에 속하는 픽셀들에 대하여 샘플 오프셋을 합산하는 단계를 포함한다.The adaptive band offset procedure of the present invention is included in the adaptive sample offset step, and the adaptive band offset procedure adaptively determines the band offset interval in consideration of the distribution of pixel values of pixels belonging to the reference range associated with the current block. Determining a sample offset type of the current block in consideration of the adaptively determined band offset period; And summing sample offsets for pixels belonging to the current block in consideration of the determined band offset period.

본 발명에서 참조 범위는 미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역, 또는 상기 현재 블록과 미리 결정된 기준에 따른 유사성을 갖는 블록에 속한 픽셀들에 의하여 특정되는 영역일 수 있다. 특히, 미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역은, 현재 블록의 상부 블록, 좌측 블록 및 우측상부 블록 중 적어도 하나 이상의 영역을 포함할 수 있다. 미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역은, 상기 현재 블록을 미리 설정한 두께로 둘러싸고 있는 픽셀들의 집합으로 설정하는 것도 가능하다.In the present invention, a reference range is an area specified by pixels belonging to an area adjacent to the current block according to a predetermined criterion, or an area specified by pixels belonging to a block having similarity according to a predetermined criterion with the current block. Can be. In particular, an area specified by pixels belonging to an area adjacent to the current block according to a predetermined criterion may include at least one area of an upper block, a left block, and an upper right block of the current block. According to a predetermined criterion, an area specified by pixels belonging to an area adjacent to the current block may be set to a set of pixels surrounding the current block with a predetermined thickness.

본 발명에서 밴드 오프셋 구간은 중앙 구간(Central Bands)과 사이드 구간(Side Bands)를 포함하며, 상기 밴드 오프셋 구간을 적응적으로 결정하는 것은 픽셀 값이 존재할 수 있는 전체 밴드들 중, 상기 참조 범위에 속한 픽셀들이 가장 많이 속한 밴드를 고려하여 현재 블록에 따른 밴드 오프셋 구간을 결정하는 단계를 포함할 수 있다. In the present invention, the band offset period includes a central band and a side band, and adaptively determining the band offset period is in the reference range among all bands in which a pixel value may exist. The method may include determining a band offset section according to the current block in consideration of a band to which the pixels belonging most belong.

본 발명에서 중앙 구간은, 참조 범위에 속한 픽셀들이 가장 많이 속한 밴드가 상기 중앙 구간의 중심이 되도록 중앙 구간을 결정하거나, 또는 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 적응적으로 결정하는 것도 가능하다. 또한, 참조 범위에 속한 픽셀들의 픽셀 값이 분포하고 있는 밴드의 수와, 중앙 구간의 크기가 미리 결정된 기준 범위 내의 음의 상관 관계를 갖도록 상기 중앙 구간의 크기를 결정하는 것도 바람직하다. In the present invention, the center section may determine the center section so that the band including the most pixels in the reference range is the center of the center section, or may be adaptively determined in consideration of the pixel value distribution of the pixels in the reference range. It is possible. In addition, the size of the center section may be determined such that the number of bands in which pixel values of pixels belonging to the reference range are distributed and the size of the center section have a negative correlation within a predetermined reference range.

또한, 상기 참조 범위의 최다 픽셀이 분포한 픽셀 값이 중심이 되도록 중앙 구간(Central bands)을 결정하되, 중앙 구간이 전체 밴드 수의 1/2이 되도록 결정할 수 있다. 상기 적응적 샘플 오프셋 처리 단계는 상기 참조 범위가 존재하지 않을 경우 전체 구간의 중심이 중앙 구간(Central bands)의 중심이 되도록 상기 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하도록 결정할 수 있다.In addition, the central bands may be determined such that the pixel values of the largest pixels of the reference range are distributed, and the center bands are 1/2 of the total number of bands. In the adaptive sample offset processing step, if the reference range does not exist, the central bands are determined so that the center of the entire interval becomes the center of the central band, but the central bands are You can decide to occupy half of the full range.

또한, 본 발명에서 밴드 오프셋 구간은, 참조 범위에 속한 픽셀들의 픽셀값 분포를 고려하여 중앙 구간(Central Bands), 제1 사이드 구간(1st Side Bands), 제2 사이드 구간(2nd Side Bands)을 적응적으로 결정될 수 있다. In addition, in the present invention, the band offset section is adapted to adapt the central bands, the first side bands, and the second side bands in consideration of the pixel value distribution of the pixels within the reference range. Can be determined as

본 발명의 다른 목적을 달성하기 위한 적응적 밴드 오프셋 구간을 이용한 복호화 장치는 복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터(Deblocking Filter); 및 상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리하는 SAO 처리부를 포함하되, 상기 SAO 처리부는 현재 블록과 연관된 참조 범위의 픽셀 값 분포 특성을 기반으로 상기 현재 블록의 밴드 오프셋 구간을 결정하는 것을 특징으로 할 수 있다. 여기서, 상기 참조 범위는 상기 현재 블록의 주변 블록의 픽셀들의 집합인 것을 특징으로 할 수 있고, 상기 참조 범위는 상기 현재 블록의 상부 블록 및 좌측 블록의 픽셀들의 집합인 것을 특징으로 할 수 있다. According to another aspect of the present invention, there is provided a decoding apparatus using an adaptive band offset interval, including: a deblocking filter for removing block distortion of a reconstructed image; And a SAO processor configured to adaptively offset the deblocking filtered image (SAO), wherein the SAO processor is configured to band the current block based on a pixel value distribution characteristic of a reference range associated with the current block. The offset period may be determined. Here, the reference range may be a set of pixels of neighboring blocks of the current block, and the reference range may be a set of pixels of an upper block and a left block of the current block.

또한, 상기 참조 범위는 상기 현재 블록을 미리 설정한 두께로 둘러싸고 있는 픽셀들의 집합인 것을 특징으로 할 수 있고, 상기 참조 범위는 상기 현재 블록의 픽셀들의 집합인 것을 특징으로 할 수 있다. 여기서, 상기 SAO 처리부는 상기 참조 범위의 픽셀 값이 분포하는 구간을 중앙 구간(Central bands)으로 결정하는 것을 특징으로 할 수 있고, 상기 SAO 처리부는 상기 참조 범위의 최다 픽셀이 분포한 픽셀 값이 중심이 되도록 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하는 것을 특징으로 할 수 있다. 또한, 상기 SAO 처리부는 상기 참조 범위가 존재하지 않을 경우 전체 구간의 중심이 중앙 구간(Central bands)의 중심이 되도록 상기 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하는 것을 특징으로 할 수 있다. The reference range may be a set of pixels surrounding the current block with a predetermined thickness, and the reference range may be a set of pixels of the current block. Here, the SAO processing unit may determine a section in which the pixel values of the reference range are distributed as central bands, and the SAO processing unit is the center of the pixel value in which the largest pixel of the reference range is distributed. The central bands may be determined to be such that the central bands occupy 1/2 of the entire range. In addition, the SAO processor determines the central bands such that the center of the entire section is the center of the central band when the reference range does not exist, but the central band is the full range. It may be characterized by occupying 1/2 of.

본 발명의 다른 목적을 달성하기 위한 적응적 밴드 오프셋 구간을 이용한 부호화 장치는 복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터(Deblocking Filter); 및 상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리하는 SAO 처리부를 포함하되, 상기 SAO 처리부는 현재 블록과 연관된 참조 범위의 픽셀 값 분포 특성을 기반으로 상기 현재 블록의 밴드 오프셋 구간을 결정하는 것을 특징으로 할 수 있다. 여기서, 상기 참조 범위는 상기 현재 블록의 주변 블록의 픽셀들의 집합인 것을 특징으로 할 수 있고, 상기 참조 범위는 상기 현재 블록의 상부 블록 및 좌측 블록의 픽셀들의 집합인 것을 특징으로 할 수 있다. 또한, 상기 참조 범위는 상기 현재 블록을 미리 설정한 두께로 둘러싸고 있는 픽셀들의 집합인 것을 특징으로 할 수 있고, 상기 참조 범위는 상기 현재 블록의 픽셀들의 집합인 것을 특징으로 할 수 있다. According to another aspect of the present invention, there is provided an encoding apparatus using an adaptive band offset interval including a deblocking filter for removing block distortion of a reconstructed image; And a SAO processor configured to adaptively offset the deblocking filtered image (SAO), wherein the SAO processor is configured to band the current block based on a pixel value distribution characteristic of a reference range associated with the current block. The offset period may be determined. Here, the reference range may be a set of pixels of neighboring blocks of the current block, and the reference range may be a set of pixels of an upper block and a left block of the current block. The reference range may be a set of pixels surrounding the current block with a predetermined thickness, and the reference range may be a set of pixels of the current block.

여기서, 상기 SAO 처리부는 상기 참조 범위의 픽셀 값이 분포하는 구간을 중앙 구간(Central bands)으로 결정하는 것을 특징으로 할 수 있고, 상기 SAO 처리부는 상기 참조 범위의 최다 픽셀이 분포한 픽셀 값이 중심이 되도록 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하는 것을 특징으로 할 수 있다. 또한, 상기 SAO 처리부는 상기 참조 범위가 존재하지 않을 경우 전체 구간의 중심이 중앙 구간(Central bands)의 중심이 되도록 상기 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하는 것을 특징으로 할 수 있다. Here, the SAO processing unit may determine a section in which the pixel values of the reference range are distributed as central bands, and the SAO processing unit is the center of the pixel value in which the largest pixel of the reference range is distributed. The central bands may be determined to be such that the central bands occupy 1/2 of the entire range. In addition, the SAO processor determines the central bands such that the center of the entire section is the center of the central band when the reference range does not exist, but the central band is the full range. It may be characterized by occupying 1/2 of.

전술한 인-루프 필터링 방법 및 영상의 복호화 장치에 따르면 밴드 오프셋 보정에서 중앙 구간과 사이드 구간의 구분 기준을 주변 블록의 픽셀 값 분포의 특성을 고려하여 적응적으로 선택함으로써, 픽셀의 특성에 따른 적절한 오프셋의 선택 가능성을 향상시킨다. 따라서 픽셀 개개의 특성에 따라 적합한 오프셋이 선택되고 픽셀 값이 더욱 적절하게 보정이 되어 비디오 부호화 효율 및 복원 영상 품질을 향상시키는 효과를 제공한다.According to the above-described in-loop filtering method and image decoding apparatus, in the band offset correction, an appropriate selection criterion between the center section and the side section is appropriately selected in consideration of the characteristics of the pixel value distribution of the neighboring block. Improves the choice of offset. Therefore, an appropriate offset is selected according to the characteristics of each pixel, and pixel values are more appropriately corrected, thereby improving video encoding efficiency and reconstructed image quality.

또한, 추가적인 정보를 사용하지 않고 현재 블록과 연관된 참조 범위를 이용하여 두 구간을 블록별로 결정하므로 추가적인 비트율 소비가 없어서 압축 효율을 높일 수 있으며, 오프셋의 효율 향상으로 인한 화질 향상을 보이게 되므로 주관적 화질 향상도 기대할 수 있다. In addition, since two intervals are determined for each block by using the reference range associated with the current block without using additional information, the compression efficiency can be improved without additional bit rate consumption, and the image quality improvement due to the improvement of the offset efficiency is shown, thereby improving the subjective quality. You can also expect.

도 1은 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 인-루프 필터링 방법의 흐름도이다.
도 2는 도 1의 적응적 샘플 오프셋 처리 단계의 상세 흐름도이다.
도 3은 주변 블록을 참조 범위로 설정하는 경우의 개념도이다.
도 4는 현재 블록 주변의 픽셀을 참조 범위로 설정하는 경우의 개념도이다.
도 5는 현재 블록의 픽셀들을 참조 범위로 설정하는 경우의 개념도이다.
도 6은 종래의 기준에 의해 중앙 구간과 사이드 구간을 구분한 도면이다.
도 7은 참조 범위의 픽셀 값 분포 범위를 중앙 구간으로 설정한 경우의 예를 나타낸다.
도 8은 참조 범위 픽셀의 최다 분포 픽셀 값을 중심으로 중앙 구간을 설정한 경우의 예이다.
도 9는 본 발명의 일 실시예에 따른 중앙 구간과 제1 사이드 구간, 제2 사이드 구간을 설정한 경우의 예이다.
도 10은 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 영상의 복호화 장치의 구성을 나타내는 블록도이다.
도 11은 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 영상의 부호화 장치의 구성을 나타내는 블록도이다.
도 12은 도 10 내지 도 11의 인-루프 필터의 구성을 나타내는 블록도이다.
도 13은 도 12에서 적응적 샘플 오프셋 처리부의 상세 블록도이다.
1 is a flowchart of an in-loop filtering method using an adaptive band offset interval according to an embodiment of the present invention.
FIG. 2 is a detailed flowchart of the adaptive sample offset processing step of FIG. 1.
3 is a conceptual diagram when a neighboring block is set as a reference range.
4 is a conceptual diagram when a pixel around a current block is set as a reference range.
5 is a conceptual diagram of setting pixels of a current block as a reference range.
6 is a diagram illustrating a center section and a side section according to a conventional standard.
7 illustrates an example in which the pixel value distribution range of the reference range is set to the center section.
8 illustrates an example in which a center section is set based on the largest distribution pixel value of the reference range pixel.
9 is an example of setting a center section, a first side section, and a second side section according to an embodiment of the present invention.
10 is a block diagram illustrating a configuration of an apparatus for decoding an image using an adaptive band offset interval according to an embodiment of the present invention.
11 is a block diagram illustrating a configuration of an image encoding apparatus using an adaptive band offset interval, according to an embodiment of the present invention.
12 is a block diagram illustrating a configuration of the in-loop filter of FIGS. 10 to 11.
FIG. 13 is a detailed block diagram of an adaptive sample offset processor of FIG. 12.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

본 명세서의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 명세서의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다. 제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.In the following description of the embodiments of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present disclosure rather unclear. The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

또한 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.In addition, the components shown in the embodiments of the present invention are shown independently to represent different characteristic functions, which does not mean that each component is composed of separate hardware or software constituent units. That is, each constituent unit is included in each constituent unit for convenience of explanation, and at least two constituent units of the constituent units may be combined to form one constituent unit, or one constituent unit may be divided into a plurality of constituent units to perform a function. The integrated embodiments and separate embodiments of the components are also included within the scope of the present invention, unless they depart from the essence of the present invention.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the relevant art and are to be interpreted in an ideal or overly formal sense unless explicitly defined in the present application Do not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In order to facilitate the understanding of the present invention, the same reference numerals are used for the same constituent elements in the drawings and redundant explanations for the same constituent elements are omitted.

적응적 밴드 오프셋 구간을 적용하기 위해, 주변 블록의 참고 가능 여부를 확인하여 참조 가능한 주변 블록의 픽셀 값의 통계적 특성을 산출하고 이를 기반하여 구간 구별 기준을 결정한다. 상기 결정된 구간 구별 기준에 따라 중앙 구간과 사이드 구간으로 나누고 오프셋 보정을 각 블록의 모드별로 수행한다. 본 발명은 현재 블록 이전에 이미 복호화가 끝난 블록의 정보를 이용하므로 추가적인 정보를 필요로 하지 않는다.In order to apply the adaptive band offset interval, the statistical characteristics of pixel values of the reference neighboring block are calculated by checking whether the neighboring block can be referred to, and the interval discrimination criterion is determined based on this. The center section and the side section are divided according to the determined section discrimination criteria, and offset correction is performed for each block mode. The present invention does not require additional information because it uses information of a block already decoded before the current block.

인-루프 In-loop 필터링Filtering 방법 Way

도 1은 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 인-루프 필터링 방법의 흐름도이다. 도 1에 도시된 인루프 필터링 방법은, 도 12에 도시된 인-루프 필터에서 시계열적으로 수행되는 하기 단계들을 포함한다. 1 is a flowchart of an in-loop filtering method using an adaptive band offset interval according to an embodiment of the present invention. The in-loop filtering method shown in FIG. 1 includes the following steps performed in time series in the in-loop filter shown in FIG. 12.

도 1에 도시된 바와 같이 먼저 복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터링(Deblocking Filtering)을 수행한다(S110). 영상이 낮은 비트율로 부호화되는 경우 복호영상에 블록왜곡이 발생한 상태에서 프레임 메모리에 저장되고 다음 픽처의 움직임 보상 처리에서 상기 블록왜곡을 포함한 영상을 참조하여 부호화하기 때문에 화질의 열화가 전파되는 문제를 해결하기 위해, 프레임 메모리에 복원된 영상을 저장하기 전에 블록왜곡 현상을 제거하는 적응적인 디블록킹 필터링(deblocking filtering)을 사용한다.As shown in FIG. 1, first, deblocking filtering to remove block distortion of a reconstructed image is performed (S110). When video is encoded at low bit rate, it is stored in frame memory in the state where block distortion occurs in the decoded image, and the image quality degradation is propagated because it is encoded by referring to the image including the block distortion in the motion compensation process of the next picture. To this end, adaptive deblocking filtering is used to remove block distortion before storing the reconstructed image in the frame memory.

이후, 상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리한다(S120). 본 실시예에서 상기 적응적 샘플 오프셋 처리 단계(S120)는 적응적 샘플 오프셋을 적용하고자 하는 현재 블록에 따라 적응적으로 샘플 오프셋을 적용하는 것을 특징으로 한다. 기존의 적응적 샘플 오프셋은 현재의 블록에 포함된 픽셀들의 픽셀값을 미리 준비된 밴드 오프셋 카데고리에 따라 구분시키고, 해당 픽셀값이 중앙 구간(Central bands)인지 사이드 구간(Side bands)를 판단하여 밴드 오프셋의 타입을 각 픽셀별로 적응적으로 결정하는 개념이었다. Thereafter, the deblocking filtered image is subjected to a sample adaptive offset (SAO) process (S120). In the present embodiment, the adaptive sample offset processing step S120 is characterized in that the sample offset is adaptively applied according to the current block to which the adaptive sample offset is to be applied. The existing adaptive sample offset classifies pixel values of pixels included in the current block according to a band offset category prepared in advance, and determines band widths by determining whether the pixel values are central bands or side bands. It was a concept of adaptively determining the type of each pixel.

본 발명의 일 실시예에 따른 적응적 샘플 오프셋은 현재 블록에 따라 중앙 구간이 다르게 정의될 수 있으므로, 밴드 오프셋의 타입 결정을 위한 경계 영역이 현재 블록에 따라 적응적으로 결정된다는 점에 일 특징이 있다. 경계 영역이 결정되면, 중앙 구간과 사이드 구간도 결정되게 되며, 본 실시예에서 구간을 구별하는 경계 영역은 현재 블록과 연관된 참조 범위에 위치한 픽셀들의 픽셀 값 분포를 고려하여,상기 현재 블록의 밴드 오프셋 구간을 결정하는 것에 일 특징이 있다.In the adaptive sample offset according to an embodiment of the present invention, since the center section may be defined differently according to the current block, the boundary region for determining the type of the band offset is adaptively determined according to the current block. have. When the boundary region is determined, the center section and the side section are also determined, and in the present embodiment, the boundary region for distinguishing the section may consider the pixel value distribution of pixels located in the reference range associated with the current block, and thus the band offset of the current block. There is a feature in determining the interval.

전술한 바와 같이, 상기 적응적 샘플 오프셋 처리 단계(S120)는 디블록킹 필터가 처리된 픽셀들에 대하여 DC 오프셋(offset)을 보상하기 위함이다. 여기서, 상기 DC 오프셋(offset)은 변환 및 양자화후의 디블록킹 필터가 처리된 픽셀들과 원래 픽셀들(original pixels)간의 평균적인 차이값을 의미하며 변환 및 양자화로 인한 오프셋값으로 볼 수 있다. 디블록킹 필터를 한 이후에 현재 블록(코딩 유닛)은 상기 현재 블록의 분할(partitioning)된 블록 단위로 선택적으로 샘플 적응적 오프셋(SAO)를 온/오프할지를 결정할 수 있다. As described above, the adaptive sample offset processing step S120 is to compensate for the DC offset with respect to the pixels to which the deblocking filter is processed. Here, the DC offset refers to an average difference value between pixels processed by the deblocking filter after transform and quantization and original pixels, and may be regarded as an offset value due to transform and quantization. After the deblocking filter, the current block (coding unit) may determine whether to selectively turn on / off a sample adaptive offset (SAO) in units of partitioned blocks of the current block.

도 2는 도 1의 적응적 샘플 오프셋 처리 단계의 상세 흐름도이다. 도 2를 참조하여, 상기 적응적 샘플 오프셋 처리 단계(S120)를 보다 상세히 설명한다. FIG. 2 is a detailed flowchart of the adaptive sample offset processing step of FIG. 1. 2, the adaptive sample offset processing step S120 will be described in more detail.

도 2에 도시된 바와 같이 적응적 샘플 오프셋 처리 단계(S120)는 적응적 샘플 오프셋 처리부(도 12의 1120)에서 시계열적으로 수행되는 단계들, 즉 프레임 분할 단계(S210), 주변블록 참조 가능 여부 확인 단계(S220), 픽셀 값 분포 특성 추출 단계(S230), 밴드 오프셋 구간 결정 단계(S240) 및 오프셋 모드 결정 단계(S250)를 포함할 수 있다. 기존의 방법에 비해 추가적인 정보를 필요로 하지 않는다. As shown in FIG. 2, the adaptive sample offset processing step (S120) may be performed by the adaptive sample offset processing unit (1120 of FIG. 12) in time series, that is, the frame division step (S210). The verification step S220, the pixel value distribution characteristic extraction step S230, the band offset section determination step S240, and the offset mode determination step S250 may be included. It does not require additional information compared to the existing method.

적응적 샘플 오프셋 처리부(1120)는 디블록킹 필터 처리된 영상에서 적응적 샘플 오프셋 처리를 하고자 하는 프레임 또는 블록에 대한 블록 분할을 수행한다. 본 단계(S210)에서 프레임 분할부에 입력이 되는 신호는 압축 후 복호화된 프레임 신호이다. 예를들어, 적응적 샘플 오프셋 처리부는 프레임 전체를 쿼드-트리 형태로 분할할 수 있으며, 최대 4단계까지 세부적으로 분할할 수 있다. 분할되는 블록의 크기와 하나의 블록당 오프셋 모드가 결정되게 되는데 상기 블록의 크기와 하나의 블록당 오프셋 모드는 율-왜곡 비용에 따라 결정되게 된다. 적절한 분할 방법을 얻기 위해 모든 분할 단계에 대해 율-왜곡 비용을 계산하여 가장 낮은 비용이 드는 분할 형태로 최종 결정되게 된다.The adaptive sample offset processing unit 1120 performs block division on a frame or block to be subjected to adaptive sample offset processing in the deblocking filtered image. In this step S210, the signal input to the frame divider is a decoded frame signal. For example, the adaptive sample offset processor may divide the entire frame into quad-trees, and may split the granularity up to four levels in detail. The size of the divided block and the offset mode per block are determined. The size of the block and the offset mode per block are determined according to the rate-distortion cost. The rate-distortion cost is computed for all partitioning steps to get the proper partitioning method, resulting in the lowest cost partitioning form.

적응적 샘플 오프셋 처리부(1120)는 주변 블록 중 참조 가능한 참조 범위를 탐색한다. 현재 블록의 크기가 다양할 수 있으므로 주변 블록의 크기 또한 다양하게 존재하며 블록의 형태가 아니라 일정한 범위 내의 픽셀들을 이용할 수도 있다. 만약 현재의 블록의 참조 가능한 블록이 없다면 다음 단계인 픽셀 값 분포 특성 추출 단계(S230)를 수행하지 않고 밴드 오프셋 구간 결정 단계(S250)로 이동할 수도 있다. The adaptive sample offset processor 1120 searches for reference ranges among neighboring blocks. Since the size of the current block may vary, the size of the neighboring block may also vary, and the pixels within a predetermined range may be used instead of the shape of the block. If there is no reference block of the current block, the process may move to the band offset section determination step S250 without performing the pixel value distribution characteristic extraction step S230.

적응적 샘플 오프셋 처리부(1120)는 픽셀 값 분포 특성을 추출한다(S230). 본 단계에서 적응적 샘플 오프셋 처리부는 참조 범위의 픽셀값 분포를 이용하여 밴드 오프셋에서 중앙 구간, 사이드 구간의 구별을 위한 구별 기준을 결정한다. 구별 기준은 참조 범위의 픽셀값 평균 또는 픽셀값 평균이 속한 밴드 카데고리 상의 구간일 수 있고, 참조 범위의 픽셀들을 양자화된 밴드 카데고리 상에 나타낼 경우, 가장 높은 빈도를 보이는 밴드 카데고리상의 구간을 구별 기준으로 결정할 수 있다. 또한, 분포 범위의 길이를 픽셀값 분포 히스토그램을 통해 계산하고, 분포 범위의 길이가 짧은 경우, 밴드 오프셋 구간의 크기(밴드의 수)를 조정하여, 분포 내에서 픽셀의 존재 가능성이 높은 곳을 기준으로 좁은 밴드 오프셋 구간을 설정할 수 있다. The adaptive sample offset processor 1120 extracts the pixel value distribution characteristic (S230). In this step, the adaptive sample offset processor determines a criterion for distinguishing the center section and the side section from the band offset by using the pixel value distribution of the reference range. The discrimination criterion may be a pixel value average of the reference range or a section on the band category to which the pixel value average belongs. When the pixels of the reference range are displayed on the quantized band category, the section on the band category having the highest frequency is used as the distinguishing criteria. You can decide. In addition, the length of the distribution range is calculated through a pixel value distribution histogram, and when the length of the distribution range is short, the size (number of bands) of the band offset section is adjusted to refer to a high possibility of the presence of pixels in the distribution. Narrow band offset interval can be set.

밴드 오프셋 구간 결정 단계(S240)에서 픽셀 값에 대한 전체 밴드를 두 구간으로 구분한다. 밴드 오프셋에는 중앙 구간과 사이드 구간이 정의되게 되는데, 그 중 중앙 구간을 결정하는 방법은 현재 블록과 연관된 참조 범위의 픽셀 값이 분포하는 구간을 기준으로 결정될 수 있다. 그리고 사이드 구간은 결정된 중앙 구간을 제외한 나머지 부분으로 결정되게 된다. 만약 주변 블록을 참조할 수가 없어서 픽셀 값 분포 특성 정보가 없다면, 픽셀 값이 가능한 전체 구간 중 중앙의 1/2에 해당하는 부분이 중앙 구간으로 결정되고, 그 외의 양쪽 나머지 부분은 사이드 구간으로 결정할 수 있다. In the band offset section determination step (S240), the entire band for the pixel value is divided into two sections. In the band offset, a center section and a side section are defined, and a method of determining the center section may be determined based on a section in which pixel values of a reference range associated with the current block are distributed. The side section is determined as the remaining portion except the determined center section. If there is no pixel value distribution characteristic information because it cannot refer to the neighboring block, the half of the center of the entire possible pixel values is determined as the center section, and the rest of the rest can be determined as the side sections. have.

오프셋 모드 결정 단계(S250)에서는 앞에서 결정된 중앙구간과 사이드 구간을 바탕으로 현재 블록에 어떤 구간이 더욱 효율적인지 율-왜곡 기법을 통해서 결정한다. 오프셋 모드 결정 단계(S250)에서는 중앙 구간 및 사이드 구간을 이용하는 밴드 오프셋 모드 뿐만 아니라 기존 방법인 에지 오프셋 방법 또한 함께 평가가 수행될 수 있으며, 다양한 블록의 크기에 대해 모두 율-왜곡 기법으로 평가하여 최적의 모드 및 크기를 결정한다.In the offset mode determination step (S250), based on the above-described center section and side section, which section is more efficient for the current block is determined through a rate-distortion technique. In the offset mode determination step (S250), the evaluation may be performed not only the band offset mode using the center section and the side section, but also the edge offset method, which is a conventional method, and is optimally evaluated by a rate-distortion technique for various block sizes. Determine the mode and size of the.

오프셋 모드 결정 단계(S250)의 결과로 생성된 정보는 예를들어, 오프셋 정보, 프레임 분할 정보 및 모드 정보 등이 있으며, 상기 정보들은 슬라이드 헤더에 포함되어 복호화기에서 사용할 수 있게 된다. 본 발명에 의해 생성된 적응적 밴드 오프셋 구간은 추가적인 정보를 비트열에 추가할 필요 없이 주변 정보를 이용하여 결정되므로 비트율 손실은 없다.The information generated as a result of the offset mode determination step S250 includes, for example, offset information, frame division information, and mode information. The information is included in a slide header to be used in the decoder. The adaptive band offset interval generated by the present invention is determined using the peripheral information without adding additional information to the bit string, so that there is no bit rate loss.

상기 적응적 샘플 오프셋 처리 단계(S120)에서 적응적으로 밴드 오프셋 구간을 결정하기 위해 다양한 방법으로 참조 범위를 설정할 수 있다. 이하 설명하는 실시예는 영상 획득 장치의 일반적 형식인 RGB 영상을 입력 신호로 가정하고, 적응적 샘플 오프셋(SAO) 기술이 포함된 HEVC 영상 압축 표준을 기준으로 설명하나, 입력 영상의 형식이나 크기는 본 실시 예의 설명에 한정되지 않는다. In the adaptive sample offset processing step (S120), a reference range may be set in various ways to adaptively determine a band offset interval. The embodiment to be described below assumes an RGB image, which is a general format of an image capturing apparatus, as an input signal, and is described based on an HEVC image compression standard including an adaptive sample offset (SAO) technology. It is not limited to description of this embodiment.

기존의 적응적 샘플 오프셋(SAO)에서 수행되는 밴드 오프셋에서는 전체 밴드가 고정된 형태의 중앙 구간과 사이드 구간으로 구분되어 사용되었다. 이러한 기존의 방법은 해당 픽셀에 대한 적응성을 고려해주지 못하였기 때문에 효율적이지 못하였다. 하지만, 본 발명에서는 밴드 오프셋의 중앙 구간을 현재 블록과 연관된 참조 범위 픽셀 값 분포 특성을 통해 결정하게 되므로 해당 블록에 더욱 효율적인 오프셋을 보정할 수 있게 되었다. In the band offset performed by the conventional adaptive sample offset (SAO), the entire band is divided into a fixed center section and a side section. This conventional method is not efficient because it does not consider the adaptability to the pixel. However, in the present invention, since the center section of the band offset is determined through the reference range pixel value distribution characteristic associated with the current block, the offset can be more efficiently corrected in the corresponding block.

적응적인 밴드 구간을 결정하기 위해서는 현재 블록과 연관된 참조 범위의 픽셀 값 분포 특성을 얻어야 하는데, 이를 위한 참조 범위의 설정 방법에 대한 실시예를 설명하기에 앞서, 그 개념에 대하여 보다 구체적으로 설명한다.In order to determine the adaptive band interval, the pixel value distribution characteristic of the reference range associated with the current block should be obtained. Before explaining an embodiment of a method of setting the reference range, the concept will be described in more detail.

본 실시예에서 참조 범위는 미리 결정된 기준에 따라 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역, 또는 현재 블록과 미리 결정된 기준에 따른 유사성을 갖는 블록에 속한 픽셀들에 의하여 특정되는 영역의 의미로 사용된다. 여기에서, 현재 블록과 인접한 영역이라 함은, 현재 블록의 좌측 블록(또는 영역), 상부 블록, 우측상부 블록등에서 하나 이상을 포함할 수 있다. 미리 결정된 기준에 따른 유사성을 갖는 블록이라 함은, 현재 블록과 유사한 픽셀값 분포를 보이는 블록으로서, 코사인거리, 유클리디안 거리 등 가장 유사한 블록을 찾기 위한 함수에 의하여 수치화된 유사도값을 고려하여 유사한 것으로 결정된 블록을 의미할 수 있다. In the present embodiment, the reference range is a region of the region specified by pixels belonging to an area adjacent to the current block according to a predetermined criterion, or of a region specified by pixels belonging to a block having similarity according to a predetermined criterion with the current block. Used in the sense. Here, the region adjacent to the current block may include at least one of a left block (or an area), an upper block, and an upper right block of the current block. A block having similarity according to a predetermined criterion is a block having a similar pixel value distribution as the current block. It may mean a block determined to be.

SAO 처리를 위한 현재 블록의 크기는 8*8 에서 64*64 등 다양한 크기를 갖는다. 현재 블록의 크기가 작을 경우, 픽셀값들의 분포는 편중될 수 있는데 현재 블록에 대한 샘플 오프셋 모드나 오프셋 값을 보다 적절하게 결정하기 위해서는, 현재의 블록과 관련된 참조 범위에 속한 픽셀들의 픽셀값을 고려하는 것이 바람직하다. 현재 블록과 유사성을 갖는 인접한 영역을 참조 영역으로 미리 결정하고, 참조 영역의 픽셀 값 분포를 고려하여, 현재 블록의 오프셋 밴드 구간을 결정하는 것은 본 발명의 일 특징이다.The size of the current block for SAO processing varies from 8 * 8 to 64 * 64. If the size of the current block is small, the distribution of pixel values may be biased. To determine the sample offset mode or offset value for the current block more appropriately, consider the pixel values of the pixels in the reference range associated with the current block. It is desirable to. It is a feature of the present invention to determine an adjacent region having similarity with the current block as a reference region in advance, and determine an offset band interval of the current block in consideration of the pixel value distribution of the reference region.

도 3은 주변 블록을 참조 범위로 설정하는 경우의 개념도이다. 도 3에 도시된 바와 같이 이웃하는 왼쪽과 위쪽 블록을 참조하여 해당 블록(310)의 픽셀 값의 분포를 분석하는 방법이 있다. 이러한 방법은 인코딩이 되는 순서를 고려한 방법으로 만약 현재 블록의 아래와 오른쪽으로는 아직 복호화가 되지 않은 경우 사용할 수 있다. 즉, 상기 참조 범위(320)는 상기 현재 블록(310)의 상부 블록 및 좌측 블록의 픽셀들의 집합인 것을 특징으로 할 수 있다. 3 is a conceptual diagram when a neighboring block is set as a reference range. As shown in FIG. 3, there is a method of analyzing the distribution of pixel values of the corresponding block 310 by referring to neighboring left and upper blocks. This method takes into account the order of encoding and can be used if it has not been decoded to the bottom and right of the current block. That is, the reference range 320 may be a set of pixels of the upper block and the left block of the current block 310.

한편, 참조하는 주변 블록은 좌측 블록 및 상부 블록에 한정하지 아니한다. 경우에 따라, 현재 블록과 인접한 모든 블록을 참조할 수도 있고, 좌측블록, 좌측 상부 블록, 상부 블록, 우측 상부 블록 및 좌측 하부 블록을 참조할 수도 있다. 즉, 상기 참조 범위는 상기 현재 블록의 주변 블록의 픽셀들의 집합인 것을 특징으로 할 수 있다. Meanwhile, the neighboring blocks to be referred to are not limited to the left block and the upper block. In some cases, it may refer to all blocks adjacent to the current block, and may refer to a left block, an upper left block, an upper block, an upper right block, and a lower left block. That is, the reference range may be a set of pixels of neighboring blocks of the current block.

도 4는 현재 블록 주변의 픽셀을 참조 범위로 설정하는 경우의 개념도이다. 4 is a conceptual diagram when a pixel around a current block is set as a reference range.

도 4에 도시된 바와 같이, 현재 블록(410)을 둘러싸고 있는 일정한 두께 내의 픽셀들(420)을 이용하여 픽셀 값 분포 특성을 얻을 수 있다. 적응적 샘플 오프셋을 적용하는 단계가 프레임이 전부 복호화된 후에 수행된다면 해당 블록을 둘러싼 모든 부분에 픽셀 값이 존재하므로, 이들 모두를 이용하는 방법이 있다. 즉, 상기 참조 범위(420)는 상기 현재 블록을 미리 설정한 두께로 둘러싸고 있는 픽셀들의 집합인 것을 특징으로 할 수 있다. As shown in FIG. 4, pixel value distribution characteristics may be obtained using pixels 420 within a constant thickness surrounding the current block 410. If the step of applying the adaptive sample offset is performed after the frames are all decoded, there is a method using all of them because there are pixel values in all parts surrounding the block. That is, the reference range 420 may be a set of pixels surrounding the current block with a preset thickness.

도 5는 현재 블록의 픽셀들을 참조 범위로 설정하는 경우의 개념도이다. 5 is a conceptual diagram of setting pixels of a current block as a reference range.

도 5에 도시된 바와 같이, 현재 블록(510)의 픽셀 값 정보를 바탕으로 픽셀 값 분포를 얻을 수 있다. 현재 블록의 픽셀 값을 이미 복호화하여 가지고 있기 때문에 그 픽셀 값 또한 분포를 얻는데 이용할 수 있다. 즉, 상기 참조 범위(520)는 상기 현재 블록의 픽셀들의 집합인 것을 특징으로 할 수 있다. As shown in FIG. 5, the pixel value distribution may be obtained based on the pixel value information of the current block 510. Since the pixel value of the current block has already been decoded, the pixel value can also be used to obtain a distribution. That is, the reference range 520 may be a set of pixels of the current block.

참조 범위에 속한 픽셀들의 픽셀 값의 분포를 얻으면 이를 바탕으로 적응적 샘플 오프셋 처리부의 밴드 오프셋 구간 결정부(1122)는 중앙 구간을 결정하게 된다. When the distribution of pixel values of pixels belonging to the reference range is obtained, the band offset section determiner 1122 of the adaptive sample offset processing unit determines the center section.

도 6은 종래의 기준에 의해 중앙 구간과 사이드 구간을 구분한 도면이다. 도 6에 도시된 바와 같이 종래의 기준은 현재 블록과 연관된 참조 범위를 참조하지 않고 일률적으로 픽셀 값이 가능한 전체 구간 중 중앙의 1/2에 해당하는 부분이 중앙 구간(610)으로 결정되고, 그 외의 양쪽 나머지 부분은 사이드 구간(620)으로 결정할 수 있다. 본 발명의 일 실시예에 따른 중앙 구간을 결정하기 위해 제시하는 실시예는 도 7 내지 9에 도시된 바와 같다.6 is a diagram illustrating a center section and a side section according to a conventional standard. As shown in FIG. 6, in the conventional reference, a portion corresponding to half of the center of the entire interval where pixel values are uniformly determined without referring to the reference range associated with the current block is determined as the center interval 610. Both remaining portions may be determined as the side section 620. Embodiments proposed to determine the center section according to an embodiment of the present invention are as shown in FIGS. 7 to 9.

도 7은 참조 범위의 픽셀 값 분포 범위를 중앙 구간으로 설정한 경우의 도면이다. 도 7에 도시된 바와 같이, 밴드 오프셋 구간 결정부(1122)는 상기 참조 범위의 픽셀 값이 분포하는 구간을 중앙 구간(Central bands)으로 결정할 수 있다. 중앙 구간이 결정되면, 중앙 구간의 양 끝 영역은 중앙 구간과, 사이드 구간을 구분하기 위한 경계가 된다. 7 is a diagram when the pixel value distribution range of the reference range is set to the center section. As illustrated in FIG. 7, the band offset section determiner 1122 may determine a section in which pixel values of the reference range are distributed as central bands. When the center section is determined, both end regions of the center section serve as boundaries for distinguishing the center section and the side section.

이와 관련된 다른 실시예에 따르면, 밴드 오프셋 구간 결정부(1122)는 픽셀 값이 분포하는 구간이 픽셀 값의 전체 범위의 1/2보다 적은 구간에만 분포하는 경우, 참조 범위의 픽셀 값이 분포하는 구간을 중앙 구간으로 결정할 수도 있다. 또한, 밴드 오프셋 구간 결정부(1122)는 참조 범위의 픽셀 값이 미리 결정된 기준값 이상으로 분포하는 영역, 즉 픽셀 값의 주된 분포 영역을 중앙 구간으로 결정할 수 있다. 여기에서 미리 결정된 기준값은, 예를 들어 참조 범위에 속한 전체 픽셀의 수에 대한 해당 영역에서 존재하는 픽셀의 수의 비율일 수 있다. According to another exemplary embodiment related to this, when the section in which the pixel value is distributed is distributed only in a section less than 1/2 of the entire range of the pixel value, the band offset section determiner 1122 may include a section in which the pixel value of the reference range is distributed. May be determined as the center section. In addition, the band offset section determiner 1122 may determine a region where the pixel value of the reference range is distributed over a predetermined reference value, that is, a main distribution region of the pixel value as the center section. The predetermined reference value may be, for example, a ratio of the number of pixels existing in the corresponding region to the total number of pixels belonging to the reference range.

도 8은 참조 범위 픽셀의 최다 분포 픽셀 값을 중심으로 중앙 구간을 설정한 경우의 도면이다. 도 8에 도시된 바와 같이, 밴드 오프셋 구간 결정부(1122)는 상기 참조 범위의 최다 픽셀이 분포한 픽셀 값이 중심이 되도록 중앙 구간(Central bands)을 결정할 수 있다. 특히, 밴드 오프셋 구간 결정부는 밴드 카데고리를 기준으로 가장 많은 픽셀 수를 보이는 밴드를 중앙 구간의 중심으로 선택하고, 해당 중심으로 부터 소정 거리에 위치한 밴드들을 중앙 구간으로 결정할 수 있다. FIG. 8 is a diagram of a case where a center section is set based on the largest distribution pixel value of a reference range pixel. As illustrated in FIG. 8, the band offset section determiner 1122 may determine central bands so that the pixel value of the largest pixel of the reference range is the center. In particular, the band offset section determiner may select a band having the largest number of pixels based on the band category as the center of the center section and determine bands located at a predetermined distance from the center as the center section.

밴드 오프셋 구간 결정부는 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하도록 결정할 수 있다. 참조 범위의 픽셀 값이 분포하는 구간이 픽셀 값이 가질 수 있는 전체 범위의 1/2보다 큰 경우, 가장 큰 개수가 존재하는 픽셀 값을 기준으로 전체 범위에서의 1/2이 되는 범위를 결정할 수도 있다. The band offset section determiner may determine that the central bands occupy 1/2 of the entire range. If the interval in which the pixel values of the reference range are distributed is greater than half of the full range that the pixel value can have, then the range that is half of the full range may be determined based on the pixel value with the largest number present. have.

여기서, 상기 밴드 오프셋 구간 결정부는 상기 참조 범위가 존재하지 않을 경우 전체 구간의 중심이 중앙 구간(Central bands)의 중심이 되도록 상기 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하도록 결정할 수 있다.Here, when the reference range does not exist, the band offset section determiner determines the central bands so that the center of the entire section becomes the center of the central band, but the central bands are You can decide to occupy half of the full range.

도 9는 참조 범위 픽셀의 분포 범위가 매우 짧고, 좁은 밴드 구간에서 존재 확률값이 큰 경우, 밴드 오프셋 구간의 수를 조정한 예를 나타낸다. 도 9에 도시된 바와 같이, 밴드 오프셋 구간은 중앙 구간(BO_0), 제1 사이드 구간(BO_1), 제2 사이드 구간(BO_2)로 구성될 수 있다. 9 illustrates an example in which the number of band offset sections is adjusted when the distribution range of reference range pixels is very short and the existence probability value is large in a narrow band section. As illustrated in FIG. 9, the band offset section may include a center section BO_0, a first side section BO_1, and a second side section BO_2.

특히, 밴드 오프셋 구간 결정부는 밴드 오프셋 구간의 수를 조정하여 분포 내에서 가장 존재 확률이 높은 곳을 기준으로 좁은 밴드 오프셋 구간을 설정할 수 있다. 밴드 오프셋 구간 결정부는 상기 참조 범위의 최다 픽셀이 분포한 픽셀 값이 중심이 되도록 중앙 구간(Central bands)을 결정하되, 중앙 구간을 중심으로 좁은 범위에 큰 확률값이 분포하므로 밴드 오프셋 구간의 수를 증가시켜 좁은 밴드 오프셋 구간을 설정할 수 있다. 여기서, 밴드 오프셋 구간의 수는 참조 범위 픽셀의 분포 범위에 반비례하고, 밴드 오프셋 구간의 너비는 해당 범위의 확률값의 크기에 반비례한다. 이 경우, 도 6의 기존 방법과 다르게 3 개의 밴드 구간이 생성된다.In particular, the band offset section determiner may adjust the number of band offset sections to set a narrow band offset section on the basis of the highest probability of existence in the distribution. The band offset section determiner determines the central bands so that the pixel values of the largest pixels of the reference range are centered, but increases the number of band offset sections since a large probability value is distributed in a narrow range around the center section. Narrow band offset interval can be set. Here, the number of band offset sections is inversely proportional to the distribution range of the reference range pixel, and the width of the band offset sections is inversely proportional to the magnitude of the probability value of the corresponding range. In this case, unlike the conventional method of FIG. 6, three band sections are generated.

여기서, 밴드 오프셋 구간 결정부는 상기 참조 범 위가 존재하지 않을 경우 전체 구간의 중심이 중앙 구간(Central bands)의 중심이 되도록 상기 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하도록 결정할 수 있다.Here, the band offset section determination unit determines the central bands so that the center of the entire section is the center of the central bands when the reference range does not exist, but the central bands are You can decide to occupy half of the full range.

다시 도 1을 참조하면, 상기 적응적 샘플 오프셋(SAO) 처리 단계(S120) 이후에 선택적으로 적응적 루프 필터(ALF; Adaptive Loop Filter)를 적용할 수 있다(S130). S130단계는 필요에 따라 선택할 수 있는 단계이다. 본 단계에서 적응적 루프 필터(ALF)는 위너필터를 사용하여 디블록킹 필터보다 정밀하게 부호화시 에러를 보상할 수 있다. 구체적으로, 적응적 루프 필터(ALF)는 원래 픽셀들(original pixels)과 복호화된 픽셀들간의 차이값의 제곱(square error)의 합을 최소화하는 위너 필터를 사용하여 디블록킹 필터 및 적응적 오프셋(SAO) 이후에 복원된 신호를 보다 정밀하게 부호화함으로써 에러를 보상할 수 있다. 상기 적응적 루프 필터(ALF) 정보는 슬라이스 헤더에 포함되어 디코더로 전송될 수 있다. 상기 적응적 루프 필터(ALF) 정보는 위너 필터 계수, 적응적 루프 필터(ALF) 온/오프 정보, 필터 형태(filter shape) 정보를 포함할 수 있다. 상기 적응적 루프 필터(ALF)의 온/오프 정보는 코딩 유닛 단위로 슬라이스 헤더에 포함되어 디코더로 전송될 수 있다. 상기 필터 형태(filter shape)는 대칭적인 형태를 가지도록 설계하여 인코더 및 디코더 복잡도를 줄일 수 있다.
Referring back to FIG. 1, an adaptive loop filter (ALF) may be selectively applied after the adaptive sample offset (SAO) processing step S120 (S130). Step S130 is a step that can be selected as needed. In this step, the adaptive loop filter (ALF) can compensate for errors in encoding more precisely than the deblocking filter by using a Wiener filter. Specifically, the adaptive loop filter (ALF) uses a Wiener filter that minimizes the sum of the square error of the difference between the original pixels and the decoded pixels, so that the deblocking filter and the adaptive offset ( The error can be compensated by encoding the recovered signal more precisely after SAO). The adaptive loop filter (ALF) information may be included in a slice header and transmitted to a decoder. The adaptive loop filter (ALF) information may include Wiener filter coefficients, adaptive loop filter (ALF) on / off information, and filter shape information. On / off information of the adaptive loop filter (ALF) may be included in a slice header in units of coding units and transmitted to the decoder. The filter shape may be designed to have a symmetrical shape to reduce encoder and decoder complexity.

복호화 장치Decryption device

도 10은 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 영상의 복호화 장치의 구성을 나타내는 블록도이다. 10 is a block diagram illustrating a configuration of an apparatus for decoding an image using an adaptive band offset interval according to an embodiment of the present invention.

도 10을 참조하면, 본 발명의 일 실시예에 따른 복호화 장치는 엔트로피 복호화부(731), 역양자화부(733), 역변환부(735), 움직임 보상부(737), 인트라 예측부(739), 프레임 버퍼(741), 가산부(743) 및 인-루프 필터(745)를 포함한다.Referring to FIG. 10, a decoding apparatus according to an embodiment of the present invention includes an entropy decoder 731, an inverse quantizer 733, an inverse transformer 735, a motion compensator 737, and an intra predictor 739. And a frame buffer 741, an adder 743, and an in-loop filter 745.

엔트로피 복호화부(731)는 압축된 비트 스트림을 수신하고 엔트로피 복호화를 수행하여 양자화된 계수를 생성한다. 역양자화부(733) 및 역변환부(735)는 양자화된 계수에 대한 역양자화 및 역변환을 수행하여 잔차값을 복원한다. The entropy decoder 731 receives the compressed bit stream and performs entropy decoding to generate quantized coefficients. The inverse quantization unit 733 and the inverse transform unit 735 restore the residual value by performing inverse quantization and inverse transformation on the quantized coefficients.

움직임 보상부(737)는 엔트로피 복호화부(731)에 의해 비트 스트림으로부터 복호화된 정보를 이용하여 움직임 보상을 수행하여 예측된 예측 유닛을 생성한다. The motion compensator 737 performs motion compensation using the information decoded from the bit stream by the entropy decoder 731 to generate a predicted prediction unit.

인트라 예측부(739)는 현재 예측 유닛을 현재 픽춰내의 현재 예측 유닛 주변의 이미 부호화된 화소값으로부터 인트라 모드에 따라 인트라 예측(Intra Prediction)을 수행한다. The intra predictor 739 performs intra prediction based on an intra mode from a pixel value of a pixel already encoded around the current prediction unit in the current picture.

가산부(743)는 역변환부(735)에서 제공된 잔차값과, 움직임 보상부(737)에서 제공된 예측된 예측 유닛을 더하여 영상을 복원하여 인-루프 필터(745)에 제공한다. The adder 743 reconstructs an image by adding the residual value provided by the inverse transformer 735 and the predicted prediction unit provided by the motion compensator 737 to provide the in-loop filter 745.

도 12는 도 10의 인-루프 필터(745)의 구성을 나타내는 블록도이다. FIG. 12 is a block diagram illustrating the configuration of the in-loop filter 745 of FIG. 10.

도 12에 도시된 바와 같이 상기 인-루프 필터(745)는 복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터(Deblocking Filter, 1110) 및 상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리하는 SAO 처리부(1120)를 포함할 수 있다. 인-루프 필터(745)는 상기 가산부(743)에서 제공한 상기 복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터링(Deblocking Filtering)하고 상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리하며, 최종적으로 복원된 복원 영상을 프레임 버퍼(741)에 제공한다. As illustrated in FIG. 12, the in-loop filter 745 may include a deblocking filter 1110 that removes block distortion of a reconstructed image, and an adaptive sample offset of the deblocking filtered image. , SAO processing unit 1120 for processing. The in-loop filter 745 is deblocking filtering to remove block distortion of the reconstructed image provided by the adder 743 and an adaptive sample offset of the deblocking filtered image. , SAO) and finally provides a reconstructed reconstructed image to the frame buffer 741.

프레임 버퍼(741)는 복원된 영상을 저장한다. 즉, 복호화기에서는 예측 유닛에 압축된 예측 오차(역변환부에서 제공된 잔차값)를 가산하여 복호화 동작을 수행한다.The frame buffer 741 stores the reconstructed image. That is, the decoder performs a decoding operation by adding the compressed prediction error (residual value provided by the inverse transform unit) to the prediction unit.

도 13에 도시된 바와 같이 본 실시예의 SAO 처리부(1120)는 밴드 오프셋 구간 결정부(1122), 샘플 오프셋 타입 결정부(1124) 및 샘플 오프셋 합산부(1126)를 포함한다. SAO 처리부는 현재 블록과 연관된 참조 범위의 픽셀 값 분포 특성을 기반으로 상기 현재 블록의 밴드 오프셋 구간을 결정할 수 있다. As shown in FIG. 13, the SAO processor 1120 of the present exemplary embodiment includes a band offset section determiner 1122, a sample offset type determiner 1124, and a sample offset adder 1126. The SAO processor may determine a band offset period of the current block based on the pixel value distribution characteristic of the reference range associated with the current block.

밴드 오프셋 구간 결정부는, 상기 참조 범위를 상기 현재 블록의 주변 블록의 픽셀들의 집합으로 결정할 수 있는데, 특히 상기 현재 블록의 상부 블록 및 좌측 블록의 픽셀들의 집합을 참조 범위로 결정할 수 있다. 또한, 상기 현재 블록을 미리 설정한 두께로 둘러싸고 있는 픽셀들의 집합을 참조 범위로 결정할 수 있으며, 현재 블록의 픽셀들의 집합을 포함하도록 되도록 결정될 수 있다.The band offset section determiner may determine the reference range as a set of pixels of the neighboring block of the current block, and in particular, may determine the set of pixels of the upper block and the left block of the current block as the reference range. In addition, the set of pixels surrounding the current block with a predetermined thickness may be determined as a reference range, and may be determined to include the set of pixels of the current block.

밴드 오프셋 구간 결정부는 상기 참조 범위의 픽셀 값이 분포하는 구간을 중앙 구간(Central bands)으로 결정할 수 있고, 상기 참조 범위의 최다 픽셀이 분포한 픽셀 값이 중심이 되도록 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하도록 구간 경계를 결정할 수 있다. 또한, 상기 참조 범위가 존재하지 않을 경우 전체 구간의 중심이 중앙 구간(Central bands)의 중심이 되도록 상기 중앙 구간(Central bands)을 결정하되, 상기 중앙 구간(Central bands)은 전체 범위의 1/2을 차지하도록 결정할 수 있다.The band offset section determiner may determine a section in which the pixel values of the reference range are distributed as the central bands, and determine the center bands so that the pixel value in which the largest pixel of the reference range is distributed is the center. However, the central bands may determine interval boundaries so that they occupy 1/2 of the entire range. In addition, when the reference range does not exist, the central bands are determined so that the center of the entire section becomes the center of the central band, but the central bands are 1/2 of the full range. Can be determined to occupy.

샘플 오프셋 타입 결정부(1124)는 현재 블록의 밴드 오프셋 타입이 중앙 구간 오프셋인지 아니면 사이드 구간 밴드 오프셋인지 결정한다. The sample offset type determiner 1124 determines whether the band offset type of the current block is a center section offset or a side section band offset.

샘플 오프셋 합산부(1126)는 결정된 샘플 오프셋된 타입에 따라, 타입에 의하여 정해지는 구간에 속하는 픽셀들에 대하여 밴드별로 산출된 오프셋 값을 합산한다.The sample offset adder 1126 adds the offset values calculated for each band for pixels belonging to a section determined by the type, according to the determined sample offset type.

상기 복호화 장치에 포함된 인-루프 필터(745)의 구체적인 작동 태양은 전술한 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 인-루프 필터링 방법에 따른다.
A detailed operation aspect of the in-loop filter 745 included in the decoding apparatus depends on the in-loop filtering method using the adaptive band offset interval according to the embodiment of the present invention described above.

부호화 장치Encoding device

도 11은 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 영상의 부호화 장치의 구성을 나타내는 블록도이다. 11 is a block diagram illustrating a configuration of an image encoding apparatus using an adaptive band offset interval, according to an embodiment of the present invention.

도 11을 참조하면, 영상 부호화 장치는 부호화기(630)를 포함하며, 부호화기(630)는 화면간 예측부(632), 인트라 예측부(635), 감산기(637), 변환부(639), 양자화부(641), 엔트로피 부호화부(643), 역양자화부(645), 역변환부(647), 가산기(649), 프레임 버퍼(651) 및 인-루프 필터(653)를 포함할 수 있다. 화면간 예측부(632)는 움직임 예측부(631)와 움직임 보상부(633)를 포함한다. Referring to FIG. 11, the image encoding apparatus includes an encoder 630, and the encoder 630 includes an inter prediction unit 632, an intra prediction unit 635, a subtractor 637, a transformer 639, and quantization. The unit 641 may include an entropy encoder 643, an inverse quantizer 645, an inverse transformer 647, an adder 649, a frame buffer 651, and an in-loop filter 653. The inter prediction predictor 632 includes a motion predictor 631 and a motion compensator 633.

입력된 영상은 순환적(recursive) 코딩 유닛(Coding Unit; CU)으로 분할되고, 상기 코딩 유닛은 화면간 예측부(632)에서의 화면간 예측 또는 인트라 예측부(635)에서의 화면내 예측을 위해 예측 유닛(Predition Unit; PU) 단위로 분할된다. 코딩 유닛(CU)은 계층적(hierarchy)으로 분할(partitioning)된다. SCU(smallest CU)는 최소 8x8 픽셀 크기를 가질 수 있으며, LCU(Largest CU)는 64x64 픽셀 크기를 가질 수 있다. SCU와 LCU 관련된 정보는 SPS(Sequence parameter set)으로 디코더로 시그널링 될 수 있다. The input image is divided into a recursive coding unit (CU), and the coding unit performs inter prediction in the inter prediction unit 632 or intra prediction in the intra prediction unit 635. The risk is divided into prediction units (PUs). Coding units (CUs) are partitioned in a hierarchy. The smallest CU (SCU) may have a minimum size of 8x8 pixels, and the large CU (LCU) may have a size of 64x64 pixels. Information related to the SCU and the LCU may be signaled to the decoder by a sequence parameter set (SPS).

화면간 예측부(632)는 제공된 현재 부호화될 예측 유닛을 움직임을 추정하여 움직임 벡터를 생성한다. The inter prediction unit 632 generates a motion vector by estimating the motion of the provided prediction unit to be currently encoded.

움직임 예측부(631)는 제공된 현재 예측 유닛을 현재 부호화되는 N번째 픽춰의 이전 N-1번째 참조 픽처 및/또는 이후 N+1번째 참조 픽처에서 현재 블록과 유사한 영역을 검색하여 블록 단위로 움직임 벡터를 생성한다. The motion predictor 631 searches for a region similar to the current block in a previous N-1 th reference picture and / or a later N + 1 th reference picture of the N th picture to which the current prediction unit is currently encoded, and then motion vector on a block basis. Create

움직임 보상부(633)는 움직임 예측부(631)로부터 생성된 움직임 벡터와 참조 픽춰를 이용하여 움직임 보상을 수행하여 얻어지는 예측 블록(또는 예측된 예측 유닛)을 생성한다. The motion compensator 633 generates a prediction block (or predicted prediction unit) obtained by performing motion compensation using the motion vector generated from the motion predictor 631 and the reference picture.

인트라 예측부(635)는 현재 예측 유닛을 현재 픽춰내의 현재 예측 유닛 주변의 이미 부호화된 화소값으로부터 인트라 모드에 따라 인트라 예측(Intra Prediction)을 수행한다. The intra prediction unit 635 performs intra prediction on the current prediction unit according to the intra mode from already encoded pixel values around the current prediction unit in the current picture.

감산기(637)는 움직임 보상부(633)에서 제공된 예측 블록(또는 예측된 예측 유닛)과 현재 블록(또는 현재 예측 유닛)을 감산하여 잔차값을 생성하고, 변환부(639) 및 양자화부(641)는 상기 잔차값(residue)을 DCT(Discrete Cosine Transform)변환하고 양자화한다. The subtractor 637 generates a residual value by subtracting the prediction block (or predicted prediction unit) and the current block (or current prediction unit) provided by the motion compensator 633, and the transformer 639 and the quantizer 641. ) Transforms and quantizes the residual cosine transform (DCT).

엔트로피 부호화부(643)는 양자화된 DCT 계수들과 움직임 파라미터, SCU와 LCU 관련된 정보등의 정보를 엔트로피 부호화하여 비트 스트림을 생성한다.The entropy encoder 643 entropy encodes information such as quantized DCT coefficients, motion parameters, information related to the SCU and LCU, and generates a bit stream.

역양자화부(645) 및 역변환부(647)는 양자화부(641)를 통해 양자화된 데이터를 역양자화하고 역변환한다. 가산기(649)는 역변환된 데이터와 움직임 보상부(633)에서 제공된 예측된 예측 유닛을 더하여 영상을 복원하여 인-루프 필터(653)에 제공한다. The inverse quantizer 645 and the inverse transformer 647 inverse quantizes and inverse transforms the quantized data through the quantizer 641. The adder 649 adds the inverse transformed data and the predictive prediction unit provided by the motion compensator 633 to reconstruct an image and provide the image to the in-loop filter 653.

도 12는 도 11의 인-루프 필터(653)의 구성을 나타내는 블록도이다. FIG. 12 is a block diagram illustrating a configuration of the in-loop filter 653 of FIG. 11.

도 12에 도시된 바와 같이 상기 인-루프 필터(653)는 복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터(Deblocking Filter, 1110) 및 상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리하는 SAO 처리부(1120)를 포함할 수 있다. 인-루프 필터(653)는 상기 가산기(649)에서 제공한 상기 복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터링(Deblocking Filtering)하고 상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리하며, 최종적으로 복원된 복원 영상을 프레임 버퍼(651)에 제공한다. As shown in FIG. 12, the in-loop filter 653 includes a deblocking filter 1110 for removing block distortion of a reconstructed image and a sample adaptive offset for the deblocking filtered image. , SAO processing unit 1120 for processing. The in-loop filter 653 is deblocking filtering to remove block distortion of the reconstructed image provided by the adder 649, and an adaptive sample offset is applied to the deblocking filtered image. SAO) and finally provides a reconstructed reconstructed image to the frame buffer 651.

프레임 버퍼(651)는 복원된 영상을 저장한다.The frame buffer 651 stores the restored image.

여기서, 상기 SAO 처리부(1120)는 현재 블록과 연관된 참조 범위의 픽셀 값 분포 특성을 기반으로 상기 현재 블록의 밴드 오프셋 구간을 결정하는 것을 특징으로 할 수 있다. Here, the SAO processor 1120 may determine a band offset section of the current block based on the pixel value distribution characteristic of the reference range associated with the current block.

밴드 오프셋 구간 결정부(1122)가 밴드 오프셋 구간을 현재 블록에 따라, 또는 현재 블록과 관련된 참조 범위의 픽셀값 분포를 고려하여, 중앙 구간과 사이드 구간의 경계를 적응적으로 결정할 수 있다. 밴드 오프셋 구간의 결정 방법은 앞서 상술한 바 있으므로 공통된 설명은 생략한다. 샘플 오프셋 타입 결정부와, 샘플 오프셋 합산부에 대하여도 공통된 설명은 생략한다. 상기 부호화 장치에 포함된 인-루프 필터(653)의 구체적인 작동 태양은 전술한 본 발명의 일 실시예에 따른 적응적 밴드 오프셋 구간을 이용한 인-루프 필터링 방법에 따르므로 이에 대한 설명도 생략한다. The band offset section determiner 1122 may adaptively determine the boundary between the center section and the side section by considering the band offset section according to the current block or in consideration of the pixel value distribution of the reference range associated with the current block. Since the method of determining the band offset section has been described above, common descriptions are omitted. The description common to the sample offset type determining unit and the sample offset adding unit is omitted. Since a specific operating aspect of the in-loop filter 653 included in the encoding apparatus follows the in-loop filtering method using the adaptive band offset section according to the embodiment of the present invention, a description thereof will be omitted.

Claims (24)

인-루프 필터링 방법에 있어서,
복원된 영상(reconstructed picture)의 블록 왜곡을 제거하는 디블로킹 필터링(Deblocking Filtering) 단계; 및 상기 디블로킹 필터링된 영상에 대하여 적응적 샘플 오프셋(Sample Adaptive Offset, SAO)을 적용하는 단계를 포함하며,
상기 적응적 샘플 오프셋을 적용하는 단계는 상기 샘플 오프셋을 적용하고자 하는 현재 블록에 적응적 밴드 오프셋을 적용하는 것을 포함하는 것을 특징으로 하는 인-루프 필터링 방법.
In-loop filtering method,
A deblocking filtering step of removing block distortion of the reconstructed picture; And applying a sample adaptive offset (SAO) to the deblocking filtered image,
And applying the adaptive sample offset comprises applying an adaptive band offset to a current block to which the sample offset is to be applied.
제1 항에 있어서, 상기 적응적 밴드 오프셋을 적용하는 것은,
상기 샘플 오프셋을 적용하고자 하는 현재 블록 또는 상기 현재 블록과 관련된 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 밴드 오프셋 구간을 적응적으로 결정하는 단계를 더 포함하는 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 1, wherein applying the adaptive band offset comprises:
And adaptively determining a band offset section in consideration of a pixel value distribution of pixels belonging to a current block to which the sample offset is applied or a reference range associated with the current block. .
제2 항에 있어서, 상기 밴드 오프셋 구간을 적응적으로 결정하는 단계에 이어,
상기 적응적으로 결정된 밴드 오프셋 구간을 고려하여 상기 현재 블록의 샘플 오프셋 타입을 결정하는 단계; 및 상기 결정된 밴드 오프셋 구간을 고려하여 상기 현재 블록에 속하는 픽셀들에 대하여 샘플 오프셋을 합산하는 단계를 더 포함하는 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 2, further comprising adaptively determining the band offset interval,
Determining a sample offset type of the current block in consideration of the adaptively determined band offset period; And summing sample offsets for pixels belonging to the current block in consideration of the determined band offset period.
제1 항에 있어서, 상기 참조 범위는
미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역, 또는
상기 현재 블록과 미리 결정된 기준에 따른 유사성을 갖는 블록에 속한 픽셀들에 의하여 특정되는 영역인 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 1, wherein the reference range is
An area specified by pixels belonging to an area adjacent to the current block according to a predetermined criterion, or
And an area specified by pixels belonging to a block having similarity according to a predetermined criterion with the current block.
제 4항에 있어서, 미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역은,
상기 현재 블록의 상부 블록, 좌측 블록 및 우측상부 블록 중 적어도 하나 이상의 영역을 포함하는 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 4, wherein an area specified by pixels belonging to an area adjacent to the current block is determined according to a predetermined criterion.
And at least one region of an upper block, a left block, and an upper right block of the current block.
제 4항에 있어서, 미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역은,
상기 현재 블록을 미리 설정한 두께로 둘러싸고 있는 픽셀들의 집합인 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 4, wherein an area specified by pixels belonging to an area adjacent to the current block is determined according to a predetermined criterion.
And a set of pixels surrounding the current block with a preset thickness.
제 2항에 있어서, 상기 밴드 오프셋 구간은 중앙 구간(Central Bands)과 사이드 구간(Side Bands)를 포함하며,
상기 밴드 오프셋 구간을 적응적으로 결정하는 것은
픽셀 값이 존재할 수 있는 전체 밴드들 중, 상기 참조 범위에 속한 픽셀들이 가장 많이 속한 밴드를 고려하여 현재 블록에 따른 밴드 오프셋 구간을 결정하는 것임을 특징으로 하는 인-루프 필터링 방법.
The method of claim 2, wherein the band offset section includes a central band and a side band,
Adaptively determining the band offset interval
The in-loop filtering method according to claim 1, wherein the band offset section according to the current block is determined in consideration of the band to which the pixels belonging to the reference range are the most among the bands in which the pixel value may exist.
제 7항에 있어서,
상기 참조 범위에 속한 픽셀들이 가장 많이 속한 밴드를 고려하여 현재 블록에 따른 밴드 오프셋 구간을 결정하는 것은,
상기 참조 범위에 속한 픽셀들이 가장 많이 속한 밴드가 상기 중앙 구간의 중심이 되도록 중앙 구간을 결정하는 것을 특징으로 하는 인-루프 필터링 방법.
8. The method of claim 7,
Determining a band offset interval according to the current block in consideration of the band to which the pixels belonging to the reference range belongs most,
And determining a center section such that a band including the most pixels in the reference range is the center of the center section.
제 2항에 있어서, 상기 밴드 오프셋 구간은 중앙 구간(Central Bands)과 사이드 구간(Side Bands)을 포함하며,
상기 중앙 구간의 크기 또는 경계는 상기 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 적응적으로 결정하는 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 2, wherein the band offset period includes a central band and a side band,
The size or boundary of the center section is adaptively determined in consideration of the distribution of pixel values of the pixels belonging to the reference range.
제 2항에 있어서,
상기 밴드 오프셋 구간은 중앙 구간(Central Bands)과 사이드 구간(Side Bands)을 포함하며,
상기 중앙 구간의 크기 또는 경계는 상기 참조 범위에 속한 픽셀들의 픽셀 값이 분산된 정도를 고려하여 결정하는 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 2,
The band offset section includes a central band and side bands,
The size or boundary of the center section is determined in consideration of the degree of dispersion of the pixel value of the pixels belonging to the reference range.
제 10항에 있어서, 상기 참조 범위에 속한 픽셀들의 픽셀 값이 분산된 정도를 고려하여 상기 중앙 구간의 크기를 결정하는 것은,
상기 참조 범위에 속한 픽셀들의 픽셀 값이 분포하고 있는 밴드의 수와, 중앙 구간의 크기가 미리 결정된 기준 범위 내의 음의 상관 관계를 갖도록 상기 중앙 구간의 크기를 결정하는 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 10, wherein the determining of the size of the center section in consideration of the degree of dispersion of pixel values of pixels belonging to the reference range is performed by:
In-loop filtering is characterized in that the size of the center section is determined such that the number of bands in which pixel values of pixels belonging to the reference range are distributed and the size of the center section have a negative correlation within a predetermined reference range. Way.
제 2항에 있어서,
상기 밴드 오프셋 구간은, 중앙 구간(Central Bands), 제1 사이드 구간(1st Side Bands), 제2 사이드 구간(2nd Side Bands)을 포함하며, 상기 밴드 오프셋 구간을 적응적으로 결정하는 것은
픽셀 값이 존재할 수 있는 전체 밴드들 중, 상기 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 상기 중앙 구간의 경계와, 상기 제1 사이드 구간의 경계를 결정하는 것을 특징으로 하는 인-루프 필터링 방법.
The method of claim 2,
The band offset period includes a central band, a first side band, and a second side band, and adaptively determining the band offset period may include:
An in-loop filtering method comprising determining a boundary of the center section and a boundary of the first side section in consideration of the distribution of pixel values of pixels belonging to the reference range among all bands in which a pixel value may exist. .
영상 복호화 장치에 있어서,
복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터(Deblocking Filter); 및
상기 디블로킹 필터링된 영상에 대하여 샘플 오프셋(Sample Adaptive Offset, SAO)을 적용하는 SAO 처리부를 포함하되,
상기 SAO 처리부는 상기 샘플 오프셋을 적용하고자 하는 현재 블록에 따라 적응적 밴드 오프셋을 적용하는 것을 특징으로 하는 영상 복호화 장치.
In the image decoding apparatus,
A deblocking filter for removing block distortion of the reconstructed image; And
Including a SAO processing unit for applying a sample offset (SAO) to the deblocking filtered image,
And the SAO processor applies an adaptive band offset according to a current block to which the sample offset is to be applied.
제 13항에 있어서, 상기 SAO 처리부는,
상기 샘플 오프셋을 적용하고자 하는 현재 블록 또는 상기 현재 블록과 관련된 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 밴드 오프셋 구간을 적응적으로 결정하는 밴드 오프셋 구간 결정부를 더 포함하는 것을 특징으로 하는 영상 복호화 장치.
The method of claim 13, wherein the SAO processing unit,
And a band offset section determiner for adaptively determining a band offset section in consideration of a pixel value distribution of pixels belonging to the current block to which the sample offset is applied or the reference range associated with the current block. Device.
제 14 항에 있어서, 상기 SAO 처리부는,
상기 적응적으로 결정된 밴드 오프셋 구간을 고려하여 상기 현재 블록의 샘플 오프셋 타입을 결정하는 샘플 오프셋 타입 결정부 및
상기 결정된 밴드 오프셋 구간을 고려하여 상기 현재 블록에 속하는 픽셀들에 대하여 샘플 오프셋을 합산하는 샘플 오프셋 합산부를 더 포함하는 것을 특징으로 하는 영상 복호화 장치.
The method of claim 14, wherein the SAO processing unit,
A sample offset type determiner that determines a sample offset type of the current block in consideration of the adaptively determined band offset period;
And a sample offset adder configured to add sample offsets to pixels belonging to the current block in consideration of the determined band offset period.
제 13 항에 있어서, 상기 참조 범위는
미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역, 또는 상기 현재 블록과 미리 결정된 기준에 따른 유사성을 갖는 블록에 속한 픽셀들에 의하여 특정되는 영역인 것을 특징으로 하는 영상 복호화 장치.
The method of claim 13, wherein the reference range is
An image specified by pixels belonging to an area adjacent to the current block according to a predetermined criterion or an area specified by pixels belonging to a block having similarity according to a predetermined criterion with the current block Decryption device.
제 16항에 있어서, 미리 결정된 기준에 따라 상기 현재 블록과 인접한 영역에 속한 픽셀들에 의하여 특정되는 영역은,
상기 현재 블록의 상부 블록, 좌측 블록 및 우측상부 블록 중 적어도 하나 이상의 영역을 포함하거나, 또는 상기 현재 블록을 미리 설정한 두께로 둘러싸고 있는 픽셀들의 집합인 것을 특징으로 하는 영상 복호화 장치.
The method of claim 16, wherein the area specified by pixels belonging to an area adjacent to the current block according to a predetermined criterion is:
And at least one region of an upper block, a left block, and an upper right block of the current block, or a set of pixels surrounding the current block with a predetermined thickness.
제 14항에 있어서, 상기 밴드 오프셋 구간은 중앙 구간과 사이드 구간을 포함하며,
상기 밴드 오프셋 구간 결정부는 픽셀 값이 존재할 수 있는 전체 밴드들 중, 상기 참조 범위에 속한 픽셀들이 가장 많이 속한 밴드가 상기 중앙 구간의 중심이 되도록 중앙 구간을 결정하는 것을 특징으로 하는 영상 복호화 장치.
The method of claim 14, wherein the band offset section includes a center section and a side section,
And the band offset section determiner determines a center section such that a band including the most pixels of the reference range is the center of the center section among all bands in which a pixel value may exist.
제 14항에 있어서, 상기 밴드 오프셋 구간은 중앙 구간과 사이드 구간을 포함하며,
상기 밴드 오프셋 구간 결정부는 중앙 구간의 크기 또는 경계는 상기 참조 범위에 속한 픽셀들의 픽셀 값이 분산된 정도를 고려하여 결정하는 것을 특징으로 하는 영상 복호화 장치.
The method of claim 14, wherein the band offset section includes a center section and a side section,
The band offset section determiner determines the size or boundary of the center section in consideration of the degree of dispersion of pixel values of pixels belonging to the reference range.
제 19항에 있어서,
상기 밴드 오프셋 구간 결정부는,
상기 참조 범위에 속한 픽셀들의 픽셀 값이 분포하고 있는 밴드의 수와, 중앙 구간의 크기가 미리 결정된 기준 범위 내의 음의 상관 관계를 갖도록 상기 중앙 구간의 크기를 결정하는 것을 특징으로 하는 복호화 장치.
20. The method of claim 19,
The band offset section determiner,
And determining the size of the center section such that the number of bands in which pixel values of pixels belonging to the reference range are distributed and the size of the center section have a negative correlation within a predetermined reference range.
제 14항에 있어서,
상기 밴드 오프셋 구간은, 중앙 구간(Central Bands), 제1 사이드 구간(1st Side Bands), 제2 사이드 구간(2nd Side Bands)을 포함하며, 상기 밴드 오프셋 구간 결정부는,
픽셀 값이 존재할 수 있는 전체 밴드들 중, 상기 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 상기 중앙 구간의 경계와, 상기 제1 사이드 구간의 경계를 결정하는 것을 특징으로 하는 영상 복호화 장치.
The method of claim 14,
The band offset section includes a central band, first side bands, and second side bands, and the band offset section determiner includes:
The boundary of the center section and the boundary of the first side section are determined in consideration of the distribution of pixel values of pixels belonging to the reference range among all bands in which the pixel value may exist.
영상 부호화 장치에 있어서,
복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터(Deblocking Filter); 및
상기 디블로킹 필터링된 영상을 적응적 샘플 오프셋(Sample Adaptive Offset, SAO) 처리하는 SAO 처리부를 포함하되,
상기 SAO 처리부는 상기 샘플 오프셋을 적용하고자 하는 현재 블록에 따라 적응적 밴드 오프셋을 적용하는 것을 특징으로 하는 부호화 장치.
A video encoding apparatus comprising:
A deblocking filter for removing block distortion of the reconstructed image; And
Including a SAO processing unit for processing the sample of the deblocking filtered Adaptive Sample Offset (SAO),
And the SAO processor applies an adaptive band offset according to a current block to which the sample offset is to be applied.
제 22항에 있어서, 상기 SAO 처리부는,
상기 샘플 오프셋을 적용하고자 하는 현재 블록 또는 상기 현재 블록과 관련된 참조 범위에 속한 픽셀들의 픽셀 값 분포를 고려하여 밴드 오프셋 구간을 적응적으로 결정하는 밴드 오프셋 구간 결정부를 더 포함하는 것을 특징으로 하는 영상 부호화 장치.
The method of claim 22, wherein the SAO processing unit,
And a band offset section determiner configured to adaptively determine a band offset section in consideration of a pixel value distribution of pixels belonging to the current block to which the sample offset is applied or the reference range associated with the current block. Device.
인-루프 필터에 있어서,
복원된 영상의 블록 왜곡을 제거하는 디블로킹 필터(Deblocking Filter); 및
상기 디블로킹 필터링된 영상에 대하여 샘플 오프셋(Sample Adaptive Offset, SAO)을 적용하는 SAO 처리부를 포함하되,
상기 SAO 처리부는 상기 샘플 오프셋을 적용하고자 하는 현재 블록에 따라 적응적 밴드 오프셋을 적용하는 것을 특징으로 하는 인-루프 필터.
In an in-loop filter,
A deblocking filter for removing block distortion of the reconstructed image; And
Including a SAO processing unit for applying a sample offset (SAO) to the deblocking filtered image,
And the SAO processor applies an adaptive band offset according to a current block to which the sample offset is to be applied.
KR1020120145364A 2011-12-14 2012-12-13 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands KR102074313B1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20110134888 2011-12-14
KR1020110134888 2011-12-14
KR1020110140633 2011-12-22
KR20110140633 2011-12-22

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020200011736A Division KR102166313B1 (en) 2011-12-14 2020-01-31 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands

Publications (2)

Publication Number Publication Date
KR20130069452A true KR20130069452A (en) 2013-06-26
KR102074313B1 KR102074313B1 (en) 2020-02-07

Family

ID=48864763

Family Applications (5)

Application Number Title Priority Date Filing Date
KR1020120145364A KR102074313B1 (en) 2011-12-14 2012-12-13 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR1020200011736A KR102166313B1 (en) 2011-12-14 2020-01-31 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR1020200130144A KR102250252B1 (en) 2011-12-14 2020-10-08 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR1020210057461A KR102292504B1 (en) 2011-12-14 2021-05-03 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR1020210108026A KR20210104008A (en) 2011-12-14 2021-08-17 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands

Family Applications After (4)

Application Number Title Priority Date Filing Date
KR1020200011736A KR102166313B1 (en) 2011-12-14 2020-01-31 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR1020200130144A KR102250252B1 (en) 2011-12-14 2020-10-08 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR1020210057461A KR102292504B1 (en) 2011-12-14 2021-05-03 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR1020210108026A KR20210104008A (en) 2011-12-14 2021-08-17 Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands

Country Status (1)

Country Link
KR (5) KR102074313B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015088284A1 (en) * 2013-12-13 2015-06-18 삼성전자 주식회사 Method and device for pixel processing in video encoding and decoding

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Benjamin Bross, "WD4:Working Draft 4 of High Efficiency Video Coding", JCTVC-F803, version 6, 22 Oct. 2011.* *
Guillaume Laroche et al: "On additional SAO Band Offset classifications", JCTVC-G246, 21-30, November, 2011. *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015088284A1 (en) * 2013-12-13 2015-06-18 삼성전자 주식회사 Method and device for pixel processing in video encoding and decoding
KR20150069567A (en) * 2013-12-13 2015-06-23 삼성전자주식회사 Method and apparatus of pixel processing in video coding and decoding

Also Published As

Publication number Publication date
KR102250252B1 (en) 2021-05-10
KR20210104008A (en) 2021-08-24
KR20200117969A (en) 2020-10-14
KR102166313B1 (en) 2020-10-15
KR20200015656A (en) 2020-02-12
KR102292504B1 (en) 2021-08-23
KR102074313B1 (en) 2020-02-07
KR20210053854A (en) 2021-05-12

Similar Documents

Publication Publication Date Title
US11671630B2 (en) Method for encoding and decoding image information
US11102515B2 (en) In loop chroma deblocking filter
CN108028920B (en) Method and device for high-level deblocking filtering in video coding and decoding
US10373295B2 (en) Image processing apparatus and image processing method
KR101238974B1 (en) Method and system for video coder and decoder joint optimization
CN107197256B (en) Method and apparatus for encoding and decoding a sequence of images
KR101224554B1 (en) In-loop fidelity enhancement for video compression
US9264739B2 (en) Method and apparatus for encoding/decoding image information
KR102287414B1 (en) Low Complexity Mixed Domain Cooperative In-Loop Filter for Lossy Video Coding
US20100329362A1 (en) Video encoding and decoding apparatus and method using adaptive in-loop filter
KR102323427B1 (en) Method and Apparatus for image encoding
EP1997317A1 (en) Image encoding/decoding method and apparatus
EP3560204A1 (en) Deringing filter for video coding
KR101631270B1 (en) Method and apparatus for filtering image by using pseudo-random filter
KR102292504B1 (en) Method and apparatus of in-loop filtering by adaptive band offset bands, and appparatus for decoding and encoding by adaptive band offset bands
KR20200000543A (en) Method and apparatus for image enhancement using supervised learning
WO2024012576A1 (en) Adaptive loop filter with virtual boundaries and multiple sample sources
Kesireddy A new adaptive trilateral filter for in-loop filtering

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right