KR20100046732A - Video encoding/decoding apparatus, deblocking filter and deblocing filtering method, and recording medium therefor - Google Patents
Video encoding/decoding apparatus, deblocking filter and deblocing filtering method, and recording medium therefor Download PDFInfo
- Publication number
- KR20100046732A KR20100046732A KR1020080105718A KR20080105718A KR20100046732A KR 20100046732 A KR20100046732 A KR 20100046732A KR 1020080105718 A KR1020080105718 A KR 1020080105718A KR 20080105718 A KR20080105718 A KR 20080105718A KR 20100046732 A KR20100046732 A KR 20100046732A
- Authority
- KR
- South Korea
- Prior art keywords
- pixel
- filtering
- boundary
- block
- pixels
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
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/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
본 발명은 동영상 부호화/복호화 장치, 이를 위한 디블록킹 필터링 장치와 방법, 및 기록 매체에 관한 것으로서, 본 발명의 실시예에 따른 디블록킹 필터링 장치는, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정부; 상기 서브 블록의 경계의 각 화소에 대해 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하되, 상기 서브 블록의 경계의 모든 화소에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정하는 필터링 방향 결정부; 및 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링부를 포함하여 구성되어, 블록 왜곡 현상의 제거 성능을 향상하고 연산량을 줄인다.The present invention relates to a video encoding / decoding apparatus, a deblocking filtering apparatus and method for the same, and a recording medium. The deblocking filtering apparatus according to an embodiment of the present invention determines a strength of a boundary between subblocks of a current block. A boundary strength determiner; An optimal direction may be selected based on the amount of change of pixel values between pixels corresponding to each direction among a plurality of preset directions for each pixel of the boundary of the sub-block, and the predetermined direction may be selected for all pixels of the boundary of the sub-block. A filtering direction determiner configured to determine, as a filtering direction of the corresponding sub-block, the most selected direction among a plurality of optimal directions; And selecting pixels to be filtered based on the determined filtering direction for each pixel of the boundary of the sub-block, and determining whether to filter the determined filtering direction according to the relationship of pixel values between the selected pixels. And a filtering unit configured to perform filtering on the selected pixels in the determined filtering direction according to whether to filter or not, thereby improving block performance and removing computation.
Description
본 발명은 동영상 부호화/복호화 장치에 관한 것으로서, 특히 블록 기반의 이산 여현 변환과 양자화를 이용하여 엔코딩하는 장치에서 발생하는 블록킹 효과(blocking Artifact)를 제거하기 위한, 동영상 부호화/복호화 장치, 이를 위한 디블록킹 필터링 장치와 필터링 방법, 및 기록 매체에 관한 것이다.BACKGROUND OF THE
일반적으로, 대부분의 상용 비디오 압축 방식 및 그 장치(H.263, H.264, MPEG-4, H.264/AVC)에서는, 영상의 공간 중복성을 줄이기 위해 블록 기반 이산 여현 변환(Discrete cosine transform: DCT)과 양자화(Quantization) 기술을 사용한다. 이 때, 서로 겹쳐지지 않는 블록 단위의 변환(Transform)은 주변 블록 또는 화소 간의 상관 관계가 전혀 고려되지 않은 채 독립적으로 이산 여현 변환과 양자화 과정이 수행되어 데이터 손실이 발생하고, 특히 양자화 값을 크게 갖는 저 비트율의 비디오에서는 블록 간의 경계 면에 화소 값의 구조화된 불연속성인 블록화 현상 뚜렷하게 나타나는데, 이를 블록킹 아티팩트(Blocking Artifact)라 한다. 블록킹 아티팩트는 비디오 화면의 화질을 크게 떨어뜨릴 뿐만 아니라, 블록 왜곡이 생긴 채로 프레임 메모리에 저장되고, 움직임 보상 과정에 블록 왜곡이 포함된 영상이 참조되어 화질열화가 그대로 전파되어 압축 성능을 크게 떨어뜨리는 문제점이 있다.In general, in most commercial video compression schemes and devices (H.263, H.264, MPEG-4, H.264 / AVC), block-based discrete cosine transforms are used to reduce spatial redundancy of images. DCT) and quantization techniques. In this case, the transforms of block units that do not overlap each other are independently subjected to discrete cosine transform and quantization without any correlation between neighboring blocks or pixels, thereby causing data loss, and in particular, greatly increasing the quantization value. In low bit-rate video, the blocking phenomenon, which is a structured discontinuity of pixel values, appears clearly at the interface between blocks, which is called blocking artifact. Blocking artifacts not only significantly reduce the picture quality of the video screen, but are also stored in the frame memory with block distortion, and the image with block distortion is referenced in the motion compensation process, so that image quality deterioration is propagated, which greatly reduces the compression performance. There is a problem.
이 때문에 부호화기에서 참조 프레임 메모리에 복호된 영상을 저장하기 전에 블록킹 아티팩트를 감소시키고, 또한 복화화기에서도 화질 개선을 위해서, 블록간의 경계 오차를 부드럽게 해주는 저 대역 필터를 사용하여 이러한 문제를 해결할 수 있었는데 이러한 기법을 디블로킹 필터라고 한다. For this reason, this problem can be solved by using a low-band filter that reduces the blocking artifacts before the decoder stores the decoded image in the reference frame memory and also improves the image quality in the decoder. The technique is called deblocking filter.
그러나 블록 경계 면에서 영상 내에 존재하는 에지나 화면 내 오브젝트의 경계가 존재할 경우, 여기에 디블록킹 필터를 적용하게 되면 원래 영상의 성분인 에지 부분이 훼손하는 경우가 발생하여 화질 열화의 원인이 된다.However, if there is an edge present in the image or an object boundary in the screen at the block boundary surface, applying the deblocking filter to this may cause the edge portion of the original image to be damaged, thereby causing deterioration of image quality.
그래서 H.264/AVC 비디오 코덱에서의 디블록킹 필터는 DCT와 양자화를 수행하는 블록 단위인 4x4 화소를 갖는 블록의 경계마다 적응적으로 필터링을 수행한다. 좀더 자세히 말하면, 블록의 경계면이 실제 영상의 에지나 오브젝트의 경계라고 판단되면 필터링을 취하지 않고, 경계면이 블로킹 아티팩트로 인한 왜곡이라고 판단되면 필터링을 취함으로써 상기 문제를 해결하였다.Therefore, the deblocking filter in the H.264 / AVC video codec adaptively performs filtering for each boundary of a block having 4x4 pixels, which is a block unit performing quantization with DCT. In more detail, if the boundary of the block is determined to be the edge of the real image or the boundary of the object, the filtering is not performed. If the boundary is determined to be distortion due to blocking artifacts, the problem is solved.
그러나 H.264/AVC의 디블록킹 필터는 수직과 수평 방향으로만 에지 존재 여부를 판단하기 때문에 대각선 방향으로 에지나 오브젝트의 경계가 위치하게 되면, 블록간의 경계 부분의 대각선 방향 화소에 대해서 불연속성이 발생하여 여전히 블록킹 아티팩트가 생길 수 있는 문제점이 있다.However, since the H.264 / AVC deblocking filter determines the existence of an edge only in the vertical and horizontal directions, when a boundary of an edge or an object is placed in a diagonal direction, discontinuity occurs in diagonal pixels of the boundary between blocks. There is still a problem that blocking artifacts can occur.
전술한 문제점을 해결하기 위해 본 발명은, 블록간의 경계에서 수직과 수평 방향뿐만 아니라 그 외의 다수 방향에 대하여 에지 방향을 화소 단위로 판별하고, 그 방향으로 디블록킹 필터링을 수행함으로써 블록킹 아티팩트를 제거하여 화질을 향상시키며, 특히 블록킹 아티팩트의 제거 시 발생하는 연산량을 효과적으로 줄여 연산량이 제한된 장치에 구현이 용이하도록 하는, 동영상 부호화/복호화 장치, 이를 위한 디블록킹 필터링 장치와 필터링 방법, 및 기록 매체를 제공하는 것을 목적으로 한다.In order to solve the above problems, the present invention, by determining the edge direction in the pixel unit in the vertical and horizontal direction as well as a number of other directions at the boundary between blocks, and remove the blocking artifacts by performing deblocking filtering in that direction A video encoding / decoding device, a deblocking filtering device and a filtering method therefor, and a recording medium, which improve image quality, and in particular, reduce the amount of computation occurring when removing blocking artifacts, thereby facilitating implementation in a limited amount of computation. For the purpose of
전술한 목적을 달성하기 위하여 본 발명의 실시예의 일 측면에 따르면, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정부; 상기 서브 블록의 경계의 각 화소에 대해 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하되, 상기 서브 블록의 경계의 모든 화소에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정하는 필터링 방향 결정부; 및 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링부를 포함하는 디 블록킹 필터링 장치가 제공된다.According to an aspect of an embodiment of the present invention to achieve the above object, a boundary strength determination unit for determining the strength of the boundary between the sub-blocks of the current block; An optimal direction may be selected based on the amount of change of pixel values between pixels corresponding to each direction among a plurality of preset directions for each pixel of the boundary of the sub-block, and the predetermined direction may be selected for all pixels of the boundary of the sub-block. A filtering direction determiner configured to determine, as a filtering direction of the corresponding subblock, the most selected direction among a plurality of optimal directions; And selecting pixels to be filtered based on the determined filtering direction for each pixel of the boundary of the sub-block, and determining whether to filter the determined filtering direction according to the relationship of pixel values between the selected pixels. A deblocking filtering device including a filtering unit which performs filtering on the selected pixels in the determined filtering direction according to filtering is provided.
상기 필터링 방향 결정부는, 해당 경계를 기준으로 마주하는 첫 번째 화소들간의 화소값 차이의 절대값, 상기 해당 경계를 기준으로 일 측의 두 번째 화소와 첫 번째 화소간의 화소값 차이의 절대값, 상기 해당 경계를 기준으로 타 측의 두 번째 화소와 첫 번째 화소간의 화소값 차이의 절대값, 상기 해당 경계를 기준으로 일 측의 세 번째 화소와 두 번째 화소간의 화소값 차이의 절대값, 및 상기 해당 경계를 기준으로 타 측의 세 번째 화소와 두 번째 화소간의 화소값 차이의 절대값에 근거하여 상기 변화량을 산출하고, 상기 변화량이 가장 작은 방향을 상기 최적 방향으로 선정할 수 있다.The filtering direction determiner may include an absolute value of a pixel value difference between first pixels facing the boundary, an absolute value of a pixel value difference between the second pixel and the first pixel on the basis of the boundary, An absolute value of a pixel value difference between the second pixel and the first pixel on the other side based on the corresponding boundary, an absolute value of a pixel value difference between the third pixel and the second pixel on the side based on the corresponding boundary, and the corresponding value The change amount may be calculated based on an absolute value of a difference in pixel values between the third pixel and the second pixel on the other side of the boundary, and a direction in which the change amount is the smallest may be selected as the optimum direction.
상기 필터링부는, 상기 선택된 화소들간의 화소값의 관계가, 해당 경계를 기준으로 마주하는 첫 번째 화소들간의 화소값 차이의 절대값, 상기 경계를 기준으로 일 측의 두 번째 화소와 첫 번째 화소간의 화소값 차이의 절대값, 및 상기 경계를 기준으로 타 측의 두 번째 화소와 첫 번째 화소간의 화소값 차이의 절대값이 각각 기 설정된 문턱치들보다 작은 조건을 만족하면, 상기 결정된 필터링 방향으로 필터링할 수 있다.The filtering unit may include an absolute value of a difference of pixel values between first pixels facing a corresponding boundary, and a relationship between a second pixel and a first pixel of one side based on the boundary. If the absolute value of the pixel value difference and the absolute value of the pixel value difference between the second pixel and the first pixel on the other side are smaller than predetermined thresholds, the filter is performed in the determined filtering direction. Can be.
상기 필터링부는, 상기 결정된 필터링 방향이 상기 조건을 만족하지 못하면, 상기 해당 경계의 수직 방향에 대해 상기 조건을 만족하는지의 여부를 확인하고, 그 확인 결과에 따라 필터링을 수행할 수 있다.If the determined filtering direction does not satisfy the condition, the filtering unit may determine whether the condition is satisfied with respect to the vertical direction of the corresponding boundary, and may perform filtering according to the check result.
상기 기 설정된 복수의 방향은 45도, 56.25도, 67.5도, 78.75도, 90도, 101.25도, 112.5도, 123.75도 및 135도를 포함할 수 있다.The preset plurality of directions may include 45 degrees, 56.25 degrees, 67.5 degrees, 78.75 degrees, 90 degrees, 101.25 degrees, 112.5 degrees, 123.75 degrees, and 135 degrees.
상기 필터링 방향 결정부는 상기 결정된 필터링 방향을 해당 서브 블록에 대한 부가 정보로 기록하거나, 해당 서브 블록의 경계의 화소 중 상기 결정된 필터링 방향으로 필터링된 화소에 대해 부가 정보를 할당하여 기록할 수 있다.The filtering direction determiner may record the determined filtering direction as additional information about the corresponding subblock, or allocate additional information about pixels filtered in the determined filtering direction among pixels on the boundary of the corresponding subblock.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 다른 측면에 따르면, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정부; 상기 서브 블록의 경계의 첫 번째의 화소에 대해서는 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하고, 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서는 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 필터링 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하는, 필터링 방향 결정부; 및 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링부를 포함하는 디블록킹 필터링 장치가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a boundary strength determination unit for determining the strength of the boundary between the sub-blocks of the current block; For the first pixel of the boundary of the sub-block, one direction is determined as the filtering direction based on the amount of change in the pixel value between the pixels corresponding to each direction among a plurality of preset directions, and two of the boundaries of the sub-block are determined. For the second or more pixels, the filtering direction is determined as the filtering direction for the current subblock, the filtering direction of the immediately preceding pixel is determined as the filtering direction, or the filtering direction is determined according to the filtering direction determination process of the first pixel. A filtering direction determiner; And selecting pixels to be filtered based on the determined filtering direction for each pixel of the boundary of the sub-block, and determining whether to filter the determined filtering direction according to the relationship of pixel values between the selected pixels. A deblocking filtering device including a filtering unit that performs filtering on the selected pixels in the determined filtering direction according to filtering is provided.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정 단계; 상기 서브 블록의 경계의 각 화소에 대해 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하는 최적 방향 선정 단 계; 상기 서브 블록의 경계의 모든 화소에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정하는 필터링 방향 결정 단계; 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하는 화소 선택 단계; 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하는 필터링 여부 결정 단계; 및 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링 단계를 포함하는 디블록킹 필터링 방법이 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, the boundary strength determination step of determining the strength of the boundary between sub-blocks of the current block; An optimal direction selecting step of selecting an optimum direction based on a change amount of pixel values between pixels corresponding to each direction among a plurality of preset directions for each pixel of the boundary of the sub-block; A filtering direction determining step of determining, as the filtering direction of the corresponding sub block, the most selected direction among the selected plurality of optimal directions for all pixels on the boundary of the sub block; A pixel selecting step of selecting pixels to be filtered for each pixel at a boundary of the sub block based on the determined filtering direction; A filtering step determining step of determining whether or not to filter the determined filtering direction according to a relationship between pixel values between the selected pixels; And a filtering step of performing filtering on the selected pixels in the determined filtering direction according to the determined filtering.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정 단계; 상기 서브 블록의 경계의 첫 번째의 화소에 대해서, 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하는 제 1 필터링 방향 결정 단계; 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서, 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 최적 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하는, 제 2 필터링 방향 결정 단계; 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하는 화소 선택 단계; 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하는 필터링 여부 결정 단계; 및 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링 단계를포함하는 비블록킹 필터링 방법이 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, the boundary strength determination step of determining the strength of the boundary between sub-blocks of the current block; A first filtering direction determining step of determining, with respect to the first pixel of the boundary of the sub block, one direction as a filtering direction based on an amount of change of pixel values between pixels corresponding to each direction among a plurality of preset directions; For the second or more pixels on the boundary of the sub-block, the direction most selected so far for the current sub-block is determined as the filtering direction, or the filtering direction of the immediately preceding pixel is determined as the optimal direction, or the filtering direction of the first pixel is determined. Determining a filtering direction according to the determining process; A pixel selecting step of selecting pixels to be filtered for each pixel at a boundary of the sub block based on the determined filtering direction; A filtering step determining step of determining whether or not to filter the determined filtering direction according to a relationship between pixel values between the selected pixels; And a filtering step of performing filtering on the selected pixels in the determined filtering direction according to the determined filtering.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 영상의 현재 블록을 예측하여 예측 블록을 생성하는 예측부; 상기 현재 블록에서 상기 예측 블록을 감산하여 잔차 블록을 생성하는 감산부; 상기 잔차 블록을 주파수 영역으로 변환하는 변환부; 상기 변환된 잔차 블록을 양자화하는 양자화부; 상기 양자화된 잔차 블록을 부호화하는 부호화부; 상기 잔차 블록을 역 양자화하는 역양자화부; 상기 역 양자화된 잔차 블록을 시간축상의 화소 신호를 갖는 잔차 블록으로 역변환하는 역변환부; 상기 역변환된 잔차 블록에 상기 예측 블록을 가산하여 현재 블록을 복원하는 가산부; 및 상기 복원된 현재 블록을 디블로킹 필터링하되, 상기 복원된 현재 블록의 서브 블록의 경계의 각 화소에 대해 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하고, 상기 서브 블록의 경계의 모든 화소에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정하며, 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 디블로킹 필터부를 포함하는 동영상 부호화 장치가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a prediction unit for predicting the current block of the image to generate a prediction block; A subtraction unit for generating a residual block by subtracting the prediction block from the current block; A transformer for converting the residual block into a frequency domain; A quantizer for quantizing the transformed residual block; An encoder which encodes the quantized residual block; An inverse quantizer for inversely quantizing the residual block; An inverse transform unit for inversely transforming the inverse quantized residual block into a residual block having a pixel signal on a time axis; An adder configured to add the prediction block to the inverse transformed residual block to restore a current block; And deblocking filtering the reconstructed current block, based on an amount of change of pixel values between pixels corresponding to each direction among a plurality of preset directions for each pixel of a boundary of a subblock of the reconstructed current block. Is selected, and the most selected direction among the selected plurality of optimal directions for all pixels of the boundary of the sub block is determined as the filtering direction of the corresponding sub block, and the determined filtering is performed on each pixel of the boundary of the sub block. Selecting pixels to filter based on a direction, determining whether to filter the determined filtering direction according to the relationship between the pixel values between the selected pixels, and determining whether to filter the determined filtering direction according to the determined filtering. Provided is a video encoding apparatus including a deblocking filter that performs filtering on a do.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 영상의 현재 블록을 예측하여 예측 블록을 생성하는 예측부; 상기 현재 블록에서 상기 예측 블록을 감산하여 잔차 블록을 생성하는 감산부; 상기 잔차 블록을 주파수 영역으로 변환하는 변환부; 상기 변환된 잔차 블록을 양자화하는 양자화부; 상기 양자화된 잔차 블록을 부호화하는 부호화부; 상기 잔차 블록을 역 양자화하는 역양자화부; 상기 역 양자화된 잔차 블록을 시간축상의 화소 신호를 갖는 잔차 블록으로 역변환하는 역변환부; 상기 역변환된 잔차 블록에 상기 예측 블록을 가산하여 현재 블록을 복원하는 가산부; 및 상기 복원된 현재 블록을 디블로킹 필터링하되, 상기 복원된 현재 블록의 서브 블록의 경계의 첫 번째의 화소에 대해서는 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하고, 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서는 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 필터링 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하며, 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 디블로킹 필터부를 포함하는 동영상 부호화 장치가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a prediction unit for predicting the current block of the image to generate a prediction block; A subtraction unit for generating a residual block by subtracting the prediction block from the current block; A transformer for converting the residual block into a frequency domain; A quantizer for quantizing the transformed residual block; An encoder which encodes the quantized residual block; An inverse quantizer for inversely quantizing the residual block; An inverse transform unit for inversely transforming the inverse quantized residual block into a residual block having a pixel signal on a time axis; An adder configured to add the prediction block to the inverse transformed residual block to restore a current block; And deblocking filtering the reconstructed current block, and for the first pixel of the boundary of the sub-block of the reconstructed current block, based on a change amount of pixel values between pixels corresponding to each direction among a plurality of preset directions. One direction is determined as the filtering direction, and for the second or more pixels on the boundary of the sub block, the direction most selected so far is determined as the filtering direction for the current sub block, or the filtering direction of the immediately preceding pixel is determined as the filtering direction. Alternatively, the filtering direction is determined according to the filtering direction determination process of the first pixel, and pixels to be filtered are selected for each pixel of the boundary of the sub-block based on the determined filtering direction, and pixel values between the selected pixels are selected. Determine whether to filter the determined filtering direction according to the relationship between The video encoding apparatus includes a deblocking filter to perform filtering on the selected pixel of the determined filtering direction is provided, depending on whether the determined filter.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 비트스트림을 복호화하여 잔차 블록을 추출하는 복호화부; 상기 잔차 블록을 역 양 자화하는 역양자화부; 상기 역 양자화된 잔차 블록을 역 변환하는 역변환부; 현재 블록을 예측하여 예측 블록을 생성하는 예측부; 상기 역 변환된 잔차 블록과 상기 예측 블록을 가산하여 상기 현재 블록을 복원하는 가산부; 및 상기 복원된 현재 블록을 디블로킹 필터링하되, 상기 복원된 현재 블록의 서브 블록의 경계의 모든 화소 중 수신된 부가 정보에 대응하는 화소에 대해, 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하고, 상기 선정된 최적 방향을 해당 서브 블록의 필터링 방향으로 결정하며, 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 디블로킹 필터부를 포함하는 동영상 복호화 장치가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a decoding unit for decoding the bitstream to extract the residual block; An inverse quantizer for inversely quantizing the residual block; An inverse transform unit for inversely transforming the inverse quantized residual block; A prediction unit for predicting a current block to generate a prediction block; An adder configured to add the inverse transformed residual block and the prediction block to restore the current block; And deblocking filtering the restored current block, and for pixels corresponding to the received additional information among all the pixels on the boundary of the subblock of the restored current block, between pixels corresponding to each of a plurality of preset directions. Selecting an optimal direction based on the amount of change in the pixel value, determining the selected optimal direction as a filtering direction of the corresponding subblock, and filtering pixels based on the determined filtering direction for each pixel at the boundary of the subblock. Deblocking for filtering the selected filtering direction according to the relationship between the pixel values of the selected pixels, and performing filtering on the selected pixels in the determined filtering direction according to the determined filtering. Provided is a video decoding apparatus including a filter unit.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 비트스트림을 복호화하여 잔차 블록을 추출하는 복호화부; 상기 잔차 블록을 역 양자화하는 역양자화부; 상기 역 양자화된 잔차 블록을 역 변환하는 역변환부; 현재 블록을 예측하여 예측 블록을 생성하는 예측부; 상기 역 변환된 잔차 블록과 상기 예측 블록을 가산하여 상기 현재 블록을 복원하는 가산부; 및 상기 가산부 의해 복원된 상기 현재 블록을 디블로킹 필터링하되, 상기 복원된 현재 블록의 서브 블록의 경계의 각 화소에 대해, 해당 서브 블록의 부가 정보로서 수신된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 수신된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 수신된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 디블로킹 필터부를 포함하는 동영상 복호화 장치가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a decoding unit for decoding the bitstream to extract the residual block; An inverse quantizer for inversely quantizing the residual block; An inverse transform unit for inversely transforming the inverse quantized residual block; A prediction unit for predicting a current block to generate a prediction block; An adder configured to add the inverse transformed residual block and the prediction block to restore the current block; And deblocking and filtering the current block reconstructed by the adder, and for each pixel of the boundary of the subblock of the reconstructed current block, the pixels to be filtered based on the filtering direction received as additional information of the corresponding subblock. Selects and determines whether to filter the received filtering direction according to the relationship between the pixel values between the selected pixels, and performs filtering on the selected pixels of the received filtering direction according to the determined filtering. A video decoding apparatus including a blocking filter unit is provided.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 비트스트림을 복호화하여 잔차 블록을 추출하는 복호화부; 상기 잔차 블록을 역 양자화하는 역양자화부; 상기 역 양자화된 잔차 블록을 역 변환하는 역변환부; 현재 블록을 예측하여 예측 블록을 생성하는 예측부; 상기 역 변환된 잔차 블록과 상기 예측 블록을 가산하여 상기 현재 블록을 복원하는 가산부; 및 상기 가산부 의해 복원된 상기 현재 블록을 디블로킹 필터링하되, 상기 복원된 현재 블록의 서브 블록의 경계의 첫 번째의 화소에 대해서는 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하고, 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서는 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 필터링 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하며, 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 디블로킹 필터부를 포함하는 동영상 복호화 장치가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a decoding unit for decoding the bitstream to extract the residual block; An inverse quantizer for inversely quantizing the residual block; An inverse transform unit for inversely transforming the inverse quantized residual block; A prediction unit for predicting a current block to generate a prediction block; An adder configured to add the inverse transformed residual block and the prediction block to restore the current block; And deblocking filtering the current block reconstructed by the adder, wherein the first pixel of the boundary of the subblock of the reconstructed current block has a pixel value between pixels corresponding to each direction among a plurality of preset directions. Based on the amount of change, one direction is determined as the filtering direction, and for the second or more pixels on the boundary of the sub block, the direction most selected so far is determined as the filtering direction for the current sub block, or the filtering direction of the immediately preceding pixel is determined. Determine a filtering direction according to a filtering direction or a filtering direction determination process of the first pixel, and select pixels to be filtered based on the determined filtering direction for each pixel of the boundary of the sub-block, and the selected pixel Filtering for the determined filtering direction according to the relationship between pixel values A crystal, and the moving image decoding apparatus that includes the determined for the selected pixel of the determined direction filtering deblocking filter to perform filtering based on whether the filtering portion is provided.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정 기능; 상기 서브 블록의 경계의 각 화소에 대해 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하는 최적 방향 선정 기능; 상기 서브 블록의 경계의 모든 화소에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정하는 필터링 방향 결정 기능; 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하는 화소 선택 기능; 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하는 필터링 여부 결정 기능; 및 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링 기능을 포함하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a boundary strength determination function for determining the strength of the boundary between sub-blocks of the current block; An optimum direction selection function for selecting an optimum direction based on a change amount of pixel values between pixels corresponding to each direction among a plurality of preset directions for each pixel of the boundary of the sub-block; A filtering direction determining function for determining, as the filtering direction of the corresponding sub block, the most selected direction among the plurality of selected optimal directions for all pixels on the boundary of the sub block; A pixel selection function for selecting pixels to be filtered for each pixel at a boundary of the sub block based on the determined filtering direction; A filtering or not determining function for determining whether or not to filter the determined filtering direction according to a relationship between pixel values between the selected pixels; And a filtering function for performing filtering on the selected pixels in the determined filtering direction in accordance with the determined filtering.
전술한 목적을 달성하기 위하여 본 발명의 실시예의 또 다른 측면에 따르면, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정 기능; 상기 서브 블록의 경계의 첫 번째의 화소에 대해서, 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하는 제 1 필터링 방향 결정 기능; 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서, 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 최적 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하는, 제 2 필터링 방향 결정 기능; 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하는 화소 선택 기능; 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하는 필터링 여부 결정 기능; 및 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링 기능을 포함하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.According to another aspect of an embodiment of the present invention to achieve the above object, a boundary strength determination function for determining the strength of the boundary between sub-blocks of the current block; A first filtering direction determining function for determining a first direction as a filtering direction with respect to a first pixel of a boundary of the sub block based on a change amount of a pixel value between pixels corresponding to each direction among a plurality of preset directions; For the second or more pixels on the boundary of the sub-block, the direction most selected so far for the current sub-block is determined as the filtering direction, or the filtering direction of the immediately preceding pixel is determined as the optimal direction, or the filtering direction of the first pixel is determined. A second filtering direction determining function for determining a filtering direction according to the determining process; A pixel selection function for selecting pixels to be filtered for each pixel at a boundary of the sub block based on the determined filtering direction; A filtering or not determining function for determining whether or not to filter the determined filtering direction according to a relationship between pixel values between the selected pixels; And a filtering function for performing filtering on the selected pixels in the determined filtering direction in accordance with the determined filtering.
본 발명의 실시예에 의하면, 수직 수평 방향 뿐만 아니라 그 밖의 다수의 방향에 대해서도 화소 단위로 디블록킹 필터를 적용할 수 있는 기술을 제공하여, 다수의 사선 방향에 대한 에지로 인하여 생기는 사선 방향의 불연속 성에 의한 블록 왜곡 현상을 효과적으로 제거하며, 특히 블록 왜곡 현상의 제거 시 발생하는 연산량을 효과적으로 줄이는 효과가 발생한다.According to an embodiment of the present invention, a technique for applying a deblocking filter on a pixel-by-pixel basis for not only a vertical horizontal direction but also a plurality of other directions is provided, so that a diagonal discontinuity caused by an edge with respect to a plurality of diagonal directions is provided. It effectively removes the block distortion caused by sex, and in particular, effectively reduces the amount of computation that occurs when removing the block distortion.
이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다. 또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 또는 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.Hereinafter, some embodiments of the present invention will be described in detail through exemplary drawings. In adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are assigned to the same components as much as possible even though they are shown in different drawings. In addition, in describing the present invention, when it is determined that the detailed description of the related well-known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted. In addition, in describing the component of this invention, terms, such as 1st, 2nd, A, B, (a), (b), can be used. These terms are only for distinguishing the components from other components, and the nature, order or order of the components are not limited by the terms. If a component is described as being "connected", "coupled" or "connected" to another component, that component may be directly connected to or connected to that other component, but there may be another configuration between each component. It is to be understood that the elements may be "connected", "coupled" or "connected".
동영상 화면은 1초 동안에 30장의 프레임으로 구성되므로 한 프레임과 이웃한 프레임 사이에는 그 차이가 작기 때문에, 인간의 눈으로 구분하지 못한다. 이 때문에, 1초 동안에 30장의 프레임을 뿌리면 인간의 눈은 프레임이 연속적인 것으로 인식한다. Since the video screen is composed of 30 frames in one second, the difference is small between one frame and neighboring frames, and thus cannot be distinguished by the human eye. For this reason, when 30 frames are sprayed in one second, the human eye recognizes the frames as continuous.
이와 같이, 이전 프레임과 현재 프레임이 비슷하다면, 이전 프레임을 구성하고 있는 이미 알고 있는 화소값으로부터 다음 프레임의 화소값을 예측할 수 있다. 이를 화면간 예측(inter-prediction)이라 한다. As such, when the previous frame is similar to the current frame, the pixel value of the next frame can be predicted from the known pixel values constituting the previous frame. This is called inter-prediction.
이러한 동영상 데이터의 부호화 및 복호화는 움직임 예측(motion prediction) 기술을 기반으로 이루어진다. 움직임 예측은 시간 축을 기준으로 과거 프레임을 참조하거나 과거 프레임과 미래 프레임을 모두 참조하는 방식으로 수행된다. 현재 프레임을 부호화하거나 복호화하는데 참조되는 프레임을 참조 프레임이라고 한다. 그리고, 블록 기반 동영상 부호화에서 동영상을 구성하는 하나의 정지영상(프레임)은 매크로블록과 매크로블록을 구성하는 서브블록으로 나누어져, 블록단위로 움직임이 예측되고 부호화가 수행된다.The encoding and decoding of such video data is performed based on a motion prediction technique. The motion prediction is performed by referring to past frames or referring to both past and future frames based on the time axis. The frame referred to to encode or decode the current frame is called a reference frame. In block-based video encoding, one still image (frame) constituting a video is divided into macroblocks and subblocks constituting the macroblock, and motion is predicted in units of blocks and encoding is performed.
또한 동일한 프레임 내에서 화소신호의 상관관계를 사용해 다음 화소를 예측 하고 그 예측오차를 부호화할 수도 있다. 이를 화면 내 예측(intra-prediction)이라 한다.It is also possible to predict the next pixel using the correlation of the pixel signal within the same frame and to encode the prediction error. This is called intra-prediction.
도 1은 본 발명의 일 실시예에 따른 동영상 부호화 장치의 블록 구성도이다.1 is a block diagram of a video encoding apparatus according to an embodiment of the present invention.
본 발명의 일 실시예에 따른 동영상 부호화 장치(100)는 예측부(110), 감산부(120), 변환부(130), 양자화부(140), 부호화부(150), 역 양자화부(160), 역 변환부(170), 가산부(180) 및 디블로킹 필터부(190)를 포함하여 구성될 수 있다.The
이러한 동영상 부호화 장치(100)는 개인용 컴퓨터(PC: Personal Computer), 노트북 컴퓨터, 개인 휴대 단말기(PDA: Personal Digital Assistant), 휴대형 멀티미디어 플레이어(PMP: Portable Multimedia Player), 플레이스테이션 포터블(PSP: PlayStation Portable), 이동통신 단말기(Mobile Communication Terminal) 등일 수 있으며, 각종 기기 또는 유무선 통신망과 통신을 수행하기 위한 통신 모뎀 등의 통신 장치, 영상을 부호화하기 위한 각종 프로그램과 데이터를 저장하기 위한 메모리, 프로그램을 실행하여 연산 및 제어하기 위한 마이크로프로세서 등을 구비하는 다양한 장치를 의미한다.The
예측부(110)는 위에서 설명한 바와 같이 움직임 예측을 기반으로 하는 화면간 예측이나 동일한 프레임 내에서 화소신호의 상관관계를 사용해 다음 화소를 예측하는 화면 내 예측 중 어느 하나 또는 둘의 조합을 이용하여 현재 블록(또는 매크로블록)을 예측할 수 있다.As described above, the
예를 들어, 예측부(110)는 움직임 추정부(미도시)와 움직임 보상부(미도시)로 나누어 구성될 수 있다. 움직임 추정부는 현재 프레임의 매크로 블록의 움직임 예측치를 참조 프레임에서 찾아 그 움직임의 차이를 움직임 벡터로써 출력한다. 즉, 찾고자 하는 매크로 블록을 참조 프레임의 소정의 탐색영역 내에서 탐색하여, 가장 유사한 매크로 블록을 찾아 그 이동 정도를 움직임 벡터로써 출력한다. 움직임 보상부는 구해진 움직임 벡터에 해당하는 예측 매크로 블록을 참조 프레임으로부터 얻는다.For example, the
또 다른 예로, 예측부(110)는 현재 프레임의 현재 매크로 블록을 영상 내에서 현재 매크로 블록의 주변 매크로 블록을 이용하여 예측하는 인트라 예측부로, 하나 이상의 주변 매크로 블록의 하나 이상의 화소값(Pixel Value)을 이용하여 현재 매크로 블록의 각 화소의 예측 화소값(Predicted Pixel Value)을 계산함으로써 예측 매크로 블록을 예측한다. 여기서, 주변 매크로 블록은 현재 매크로 블록 이전에 압축되고 현재 매크로 블록의 주변에 위치한 하나 이상의 주변 매크로 블록일 수 있다.As another example, the
감산부(120)는 현재 블록에서 예측 블록을 감산하여 잔차 블록(Residual Block)을 생성한다. 즉, 감산부(120)는 현재 블록의 각 화소의 원 화소값(Original Pixel Value)과 예측 블록의 각 화소의 예측 화소값의 차이값을 계산하여 잔차 신호(Residual Signal)를 갖는 잔차 블록을 생성한다.The
변환부(130)는 잔차 블록을 주파수 영역으로 변환(Transform)한다. 즉, 변환부(130)는 잔차 블록을 주파수 영역(Frequency Domain)으로 변환하여 주파수 계수(Frequency Coefficient)를 갖는 잔차 블록을 생성한다. 여기서, 변환부(130)는 잔차 블록을 변환하는 데 있어서, 하다마드 변환(Hadamard Transform), 이산 코사 인 변환 기반 변환(Discrete Cosine Transform Based Transform) 등과 같은 시간축의 화상 신호를 주파수축으로 변환하는 다양한 변환 기법을 이용하여 잔차 신호를 주파수 영역으로 변환할 수 있는데, 주파수 영역으로 변환된 잔차 신호가 주파수 계수가 된다.The
양자화부(140)는 변환부(130)에서 변환된 잔차 블록을 양자화(Quantization)한다. 즉, 양자화부(140)는 잔차 블록의 주파수 계수를 양자화하여 양자화 주파수 계수를 생성한다. 여기서, 양자화부(140)는 잔차 블록의 주파수 계수를 양자화하는 데 있어서, 데드존 균일 경계 양자화(DZUTQ: Dead Zone Uniform Threshold Quantization), 양자화 가중치 매트릭스(Quantization Weighted Matrix)를 이용하거나 그를 계량한 양자화 방법 등을 이용할 수 있다.The
부호화부(150)는 양자화부(140)에 의해 양자화된 잔차 블록의 주파수 계수들을 부호화하여 비트스트림을 생성한다. 또한, 부호화부(150)는 예측부(110)로부터 움직임 벡터 및 회전 정보가 전달되면, 잔차 블록의 양자화된 주파수 계수와 함께 부호화하여 비트스트림을 출력할 수 있다. 이러한 부호화 기술로서는 엔트로피 부호화(Entropy Encoding) 기술이 사용될 수 있으나, 반드시 이에 한정하지 않고 다른 다양한 부호화 기술이 사용될 수도 있을 것이다.The
역양자화부(160)는 양자화부(130)에 의해 양자화된 잔차 블록을 역 양자화(Inverse Quantization)한다. 즉, 역 양자화부(160)는 양자화된 잔차 블록의 양자화 주파수 계수를 역 양자화하여 주파수 계수를 생성한다.The
역변환부(170)는 역 양자화부(160)에 의해 역 양자화된 잔차 블록을 역 변 환(Inverse Transform)한다. 즉, 역변환부(170)는 역 양자화된 잔차 블록의 주파수 계수를 역 변환하여 시간축상의 화소 신호를 갖는 잔차 블록을 복원한다.The
가산부(180)는 역 변환부(170)에 의해 역 변환된 잔차 블록에 예측부(110)에서 예측한 예측 블록을 가산하여 현재 블록을 복원한다.The
디블로킹 필터부(190)는 가산부(180)에 의해 복원된 현재 블록을 디블로킹 필터링(Deblcking Filtering)한다. 여기서, 디블로킹 필터링이란 영상을 블록 단위로 부호화하면서 발생하는 블록 왜곡을 감소시키는 작업을 말하며, 블록 경계와 매크로블록 경계에 디블로킹 필터를 적용하거나 매크로블록 경계에만 디블로킹 필터를 적용하거나 디블로킹 필터를 사용하지 않는 방법 중 하나를 선택적으로 사용할 수 있다. 이와 같이, 가산부(180)에 의해 복원되고 디블로킹 필터부(190)에 의해 디블로킹 필터링된 현재 블록은 예측부(110)에 입력되어 다음 픽처를 예측할 때 사용되는 참조 픽처로서 저장될 수 있다. The
본 발명의 제 1 실시예에 따른 디블록킹 필터부(190)는, 현재 블록을 디블로킹 필터링하되, 특히 현재 블록의 서브 블록의 경계의 각 화소에 대해 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하고, 서브 블록의 경계의 모든 화소에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정하며, 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행한다. 이와 같은 제 1 실시예에 따른 디블록킹 필터부(190)에 대하여 도 2를 참조로 보다 상세히 설명한다.The
본 발명의 제 2 실시예에 따른 디블록킹 필터부(190)는, 현재 블록을 디블로킹 필터링하되, 특히 현재 블록의 서브 블록의 경계의 첫 번째의 화소에 대해서는 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하고, 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서는 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 필터링 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하며, 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행한다. 이와 같은 제 2 실시예에 따른 디블록킹 필터부(190)에 대하여 도 3을 참조로 보다 상세히 설명한다.The
도 2는 본 발명의 제 1 실시예에 따른 디블록킹 필터링 장치의 블록도로서, 도 1의 제 1 실시예에 따른 디블록킹 필터부(190)에 대응하므로 동일 부호를 부가하여 설명한다.FIG. 2 is a block diagram of a deblocking filtering device according to a first embodiment of the present invention, and corresponds to the
도 2에 도시된 바와 같이, 본 발명의 제 1 실시예에 따른 디블록킹 필터링 장치(190)는 경계 세기 결정부(210), 필터링 방향 결정부(230), 및 필터링부(250)를 포함한다.As shown in FIG. 2, the
경계 세기 결정부(210)는 현재 블록의 서브 블록간의 경계의 세기를 결정하는 것으로서, 현재 위치의 블록 경계에서 화소들이 속하는 블록의 특성에 따라 경계 세기(Boundary Strength: BS)를 결정한다. BS는 0과 4사이의 값을 갖고 결정하는 방법은 예를 들어 H.264/AVC 표준화 문서에 명시되어 있다. 즉, 경계 세기 결정부(210)는 각 블록의 경계면의 BS 값을 결정하고 각각의 BS 값에 따라서 어느 정도의 강도로 필터링을 적용할 것인지를 결정한다. BS는 현재 필터링 하고자 하는 경계가 속해 있는 블록이 화면내 예측(Intra Prediction) 부호화 사용 여부에 따라서, 또는 화면간 예측(Inter Prediction) 부호화를 사용할 경우 움직임 보상을 위한 참조 블록의 거리 차에 따라서 0과 4사이의 값으로 결정된다.The
필터링 방향 결정부(230)는, 도 4에 도시된 바와 같이 1-16번의 4x4 서브 블록이 16개 모여 구성된 16x16의 매크로 블록에서 교번하는 1, 3, 6, 8, 9, 11, 14 및 16번의 서브 블록에 대하여 디블록킹 필터링을 적용하도록 하고, 디블록킹 필터링을 위한 해당 서브 블록의 경계(도 5 및 도 6의 ①②③④)의 각 화소(의 경계)(도 6의 1-16)에 대해 블록 경계를 기준으로 기 설정된 복수의 방향(도 7 참조) 중 각 방향에 대응하는 화소들(도 8 내지 도 16 참조)간의 화소값의 변화량에 근거하여 하나의 최적 방향을 선정하고, 그 서브 블록의 경계의 모든 화소(의 경계)에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 그 서브 블록의 필터링 방향으로 결정한다. 즉, 필터링 방향 결정부(230)는 도 7에 도시된 바와 같이 수평 또는 수직 경계면에 대하여 예를 들어 45도, 56.25도, 67.5도, 78.75도, 90도, 101.25도, 112.5도, 123.75도 및 135도의 9가지 방향으로 필터링할 방향을 기 설정하고, 도 5 내지 도 13에 도시된 바와 같이 9가지의 각 방향에 대응하는 화소들을 선택하고, 그 각 방향에 대응하는 화소들간의 화소값의 변화량을 구하고, 변화량이 가장 작은 방향을 최적 방향으로 선정하고, 이와 같이 서브 블록의 경계의 각 화소(의 경계) 마다 최적 방향을 선정한 후, 서브 블록의 경계의 모든 화소(의 경계)에 대해 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정한다. 필터링 방향 결정부(230)는, 일 예로 위와 같이 결정된 필터링 방향을 해당 서브 블록에 대한 부가 정보로 기록하거나, 다른 예로 해당 서브 블록의 경계의 화소 중 위와 같이 결정된 필터링 방향으로 필터링된 하나의 화소에 대해 1 비트의 부가 정보를 할당하여 기록할 수 있다. 이러한 부가 정보는 후술하는 복호화 장치에 제공되어 이용토록 한다.As illustrated in FIG. 4, the
필터링 방향 결정부(230)는, 일 예로 도 9를 참조하면, 해당 경계를 기준으로 마주하는 첫 번째 화소들(p04, q03)간의 화소값 차이(p04-q03)의 절대값, 상기 해당 경계를 기준으로 일 측의 두 번째 화소(p14)와 첫 번째 화소(p04)간의 화소값 차이(p14-p04)의 절대값, 상기 해당 경계를 기준으로 타 측의 두 번째 화소(q13)와 첫 번째 화소(q03)간의 화소값 차이(q13-q03)의 절대값, 상기 해당 경계를 기준으로 일 측의 세 번째 화소(p24)와 두 번째 화소(p14)간의 화소값 차이(p24-p14)의 절대값, 및 상기 해당 경계를 기준으로 타 측의 세 번째 화소(q23)와 두 번째 화소(q13)간의 화소값 차이(q23-q13)의 절대값에 근거하여 상기 변화량을 산출할 수 있다. 이와 같이 변화량을 산출하는 방법에 대한 구체적인 예시는 후술하도록 한다.For example, referring to FIG. 9, the
필터링부(250)는 서브 블록의 경계의 각 화소(의 경계)에 대해 필터링 방향 결정부(230)에 의해 결정된 필터링 방향에 근거하여 도 8 내지 도 16과 같이 필터링할 화소들을 선택하고, 그 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 그 결정된 필터링 여부에 따라 상기 결정된 필터링 방향에 대응하여 도 8 내지 도 16과 같이 선택된 화소들에 대해 필터링을 수행한다. The
필터링부(250)는, 일 예로 필터링 방향 결정부(230)에 의해 결정된 필터링 방향이 도 9의 78.75도일 경우, 도 9의 78.75도의 필터링 방향에 따라 선택된 화소들간의 화소값의 관계가, 해당 경계를 기준으로 마주하는 첫 번째 화소들(p04,q03)간의 화소값 차이(p04-q03)의 절대값, 상기 해당 경계를 기준으로 일 측의 두 번째 화소(p14)와 첫 번째 화소(p04)간의 화소값 차이(p14-p04)의 절대값, 및 상기 경계를 기준으로 타 측의 두 번째 화소(q13)와 첫 번째 화소(q03)간의 화소값 차이(q13-q03)의 절대값이 각각 기 설정된 문턱치들(α,β)보다 작은 조건을 만족하면, 필터링 결정부(230)에 의해 결정된 도 9의 78.75도의 필터링 방향으로 필터링하고, 도 9의 78.75도의 필터링 방향에 따라 선택된 화소들간의 화소값의 관계가 상기 조건을 만족하지 못하면, 상기 해당 경계의 수직 방향에 대해 상기 조건을 만족하는지의 여부를 확인하고, 그 확인 결과에 따라 수직 방향에 대해 필터링을 수행할 수 있다. 이와 같은 필터링 여부 결정 조건에 대한 구체적인 예시는 후술하도 록 한다.For example, when the filtering direction determined by the
도 3은 본 발명의 제 2 실시예에 따른 디블록킹 필터링 장치의 블록도로서, 도 1의 제 2 실시예에 따른 디블록킹 필터부(190)에 대응하므로 동일 부호를 부가하여 설명한다.3 is a block diagram of a deblocking filtering device according to a second embodiment of the present invention, and corresponds to the
도 3에 도시된 바와 같이, 본 발명의 제 2 실시예에 따른 디블록킹 필터링 장치(190)는 경계 세기 결정부(310), 필터링 방향 결정부(330), 및 필터링부(350)를 포함한다.As shown in FIG. 3, the
경계 세기 결정부(310)는 현재 블록의 서브 블록간의 경계의 세기를 결정하는 것으로서, 현재 위치의 블록 경계에서 화소들이 속하는 블록의 특성에 따라 경계 세기(Boundary Strength: BS)를 결정한다. BS는 0과 4사이의 값을 갖고 결정하는 방법은 예를 들어 H.264/AVC 표준화 문서에 명시되어 있다. 즉, 경계 세기 결정부(310)는 각 블록의 경계면의 BS 값을 결정하고 각각의 BS 값에 따라서 어느 정도의 강도로 필터링을 적용할 것인지를 결정한다. BS는 현재 필터링 하고자 하는 경계가 속해 있는 블록이 화면내 예측(Intra Prediction) 부호화 사용 여부에 따라서, 또는 화면간 예측(Inter Prediction) 부호화를 사용할 경우 움직임 보상을 위한 참조 블록의 거리 차에 따라서 0과 4사이의 값으로 결정된다.The
필터링 방향 결정부(330)는, 도 4에 도시된 바와 같이 1-16번의 4x4 서브 블록이 16개 모여 구성된 16x16 매크로 블록에서 교번하는 1, 3, 6, 8, 9, 11, 14 및 16번의 서브 블록에 대하여 디블록킹 필터링을 적용하도록 하고, 디블록킹 필터링을 위한 서브 블록의 경계(도 5 및 도 6의 ①②③④)의 첫 번째의 화소(의 경 계)(도 6의 1)에 대해서는 기 설정된 복수의 방향(도 7 참조) 중 각 방향에 대응하는 화소들(도 8 내지 도 16 참조)간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하고, 해당 서브 블록의 경계의 두 번째 이상의 화소(의 경계)(도 6의 2-16)에 대해서는 해당 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 필터링 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하도록 할 수 있다.As illustrated in FIG. 4, the
필터링 방향 결정부(330)는, 일 예로 도 9를 참조하면, 해당 경계를 기준으로 마주하는 첫 번째 화소들(p04, q03)간의 화소값 차이(p04-q03)의 절대값, 상기 해당 경계를 기준으로 일 측의 두 번째 화소(p14)와 첫 번째 화소(p04)간의 화소값 차이(p14-p04)의 절대값, 상기 해당 경계를 기준으로 타 측의 두 번째 화소(q13)와 첫 번째 화소(q03)간의 화소값 차이(q13-q03)의 절대값, 상기 해당 경계를 기준으로 일 측의 세 번째 화소(p24)와 두 번째 화소(p14)간의 화소값 차이(p24-p14)의 절대값, 및 상기 해당 경계를 기준으로 타 측의 세 번째 화소(q23)와 두 번째 화소(q13)간의 화소값 차이(q23-q13)의 절대값에 근거하여 상기 변화량을 산출하고, 산출된 변화량이 가장 작은 방향을 필티링 방향으로 결정하도록 할 수 있다. 이와 같은 변화량을 산출하는 방법에 대한 구체적인 예시는 후술하도록 한다.For example, referring to FIG. 9, the
필터링부(350)는 해당 서브 블록의 경계의 각 화소(의 경계)에 대해 필터링 방향 결정부(330)에 의해 결정된 필터링 방향에 근거하여 도 8 내지 도 16과 같이 필터링할 화소들을 선택하고, 그 선택된 화소들간의 화소값의 관계에 따라 상기 결 정된 필터링 방향에 대한 필터링 여부를 결정하며, 그 결정된 필터링 여부에 따라 상기 결정된 필터링 방향에 대응하여 도 8 내지 도 16과 같이 선택된 화소들에 대해 필터링을 수행한다. The
필터링부(350)는, 일 예로 필터링 방향 결정부(330)에 의해 결정된 필터링 방향이 도 9의 78.75도일 경우, 도 9의 78.75도의 필터링 방향에 따라 선택된 화소들간의 화소값의 관계가, 해당 경계를 기준으로 마주하는 첫 번째 화소들(p04,q03)간의 화소값 차이(p04-q03)의 절대값, 상기 해당 경계를 기준으로 일 측의 두 번째 화소(p14)와 첫 번째 화소(p04)간의 화소값 차이(p14-p04)의 절대값, 및 상기 경계를 기준으로 타 측의 두 번째 화소(q13)와 첫 번째 화소(q03)간의 화소값 차이(q13-q03)의 절대값이 각각 기 설정된 문턱치들(α,β)보다 작은 조건을 만족하면, 필터링 결정부(230)에 의해 결정된 도 9의 78.75도의 필터링 방향으로 필터링한다. 이와 같은 필터링 여부 결정 조건에 대한 구체적인 예시는 후술하도록 한다.For example, when the filtering direction determined by the
도 17은 본 발명의 일 실시예에 따른 동영상 복호화 장치의 블록도이다.17 is a block diagram of a video decoding apparatus according to an embodiment of the present invention.
본 발명의 일 실시예에 따른 동영상 복호화 장치(1700)는 복호화부(1710), 역양자화부(1720), 역변환부(1730), 예측부(1740), 가산부(1750) 및 디블로킹 필터부(1760)를 포함하여 구성될 수 있다.The video decoding apparatus 1700 according to an embodiment of the present invention includes a
이러한 동영상 복호화 장치(1700)는 개인용 컴퓨터(PC: Personal Computer), 노트북 컴퓨터, 개인 휴대 단말기(PDA: Personal Digital Assistant), 휴대형 멀티미디어 플레이어(PMP: Portable Multimedia Player), 플레이스테이션 포터블(PSP: PlayStation Portable), 이동통신 단말기(Mobile Communication Terminal) 등일 수 있으며, 각종 기기 또는 유무선 통신망과 통신을 수행하기 위한 통신 모뎀 등의 통신 장치, 영상을 복호화하기 위한 각종 프로그램과 데이터를 저장하기 위한 메모리, 프로그램을 실행하여 연산 및 제어하기 위한 마이크로프로세서 등을 구비하는 다양한 장치를 의미한다.The video decoding apparatus 1700 may be a personal computer (PC), a notebook computer, a personal digital assistant (PDA), a portable multimedia player (PMP), or a PlayStation Portable (PSP). ), A communication device such as a communication modem for communicating with various devices or a wired / wireless communication network, a memory for storing various programs and data for decoding an image, and executing a program. Means a variety of devices including a microprocessor for operation and control.
복호화부(1710)는 비트스트림을 복호화하여 잔차 블록을 추출한다. 즉, 복호화부(1710)는 영상 부호화 장치(100)에 의해 부호화된 영상인 비트스트림을 복호화하여 영상의 현재 블록에 대한 화소 정보를 포함하고 있는 잔차 블록과 움직임 벡터 및 회전 정보를 추출한다.The
역양자화부(1720)는 복호화부(1710)에 의해 추출된 잔차 블록을 역 양자화하고, 역변환부(1730)는 역 양자화된 잔차 블록을 역 변환한다. 여기서, 역 양자화와 역 변환은 각각 도 1을 통해 전술한 역 양자화와 역 변환과 같은 방식으로 역 양자와 역 변환될 수 있다.The
예측부(1740)는 복호화부(1710)에서 추출한 움직임 벡터 및 회전 정보를 이용하여 영상의 현재 블록의 회전 움직임을 포함하는 움직임을 보상함으로써 현재 블록을 예측하여 예측 블록을 생성한다.The
가산부(1750)는 역변환부(1730)에서 역 변환된 잔차 블록에 예측부(1740)에 의해 예측된 예측 블록을 가산하여 현재 블록을 복원한다.The adder 1750 reconstructs the current block by adding the predicted block predicted by the
디블로킹 필터부(1760)는 가산부(1750) 의해 복원된 현재 블록을 디블로킹 필터링한다.The
본 발명의 제 1 실시예에 따른 디블록킹 필터부(1760)는, 현재 블록을 디블 로킹 필터링하되, 특히 현재 블록의 서브 블록의 경계의 모든 화소 중에서 도 1과 같은 복호화 장치(100)로부터 수신된 부가 정보에 대응하는 특정 화소에 대해, 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하고, 그 선정된 최적 방향을 해당 서브 블록의 필터링 방향으로 결정하며, 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행한다. 이와 같이 제 1 실시예에 따른 디블록킹 필터부(1760)는 도 1의 제 1 실시예에 따른 디블록킹 필터부(190) 즉, 도 2의 제 1 실시예에 따른 디블록킹 필터링 장치(190)와 비교하여, 서브 블록 경계의 모든 화소에 대해 최적 방향을 선정하지 않고 도 1의 부호화 장치(100)로부터 전달된 부가 정보에 대응하는 하나의 화소에 대해서만 최적 방향을 선정하는 점만 다르고, 다른 기능은 모두 동일하게 구성할 수 있다.The
본 발명의 제 2 실시예에 따른 디블록킹 필터부(1760)는, 현재 블록을 디블로킹 필터링하되, 특히 현재 블록의 서브 블록의 경계의 각 화소에 대해, 해당 서브 블록의 부가 정보로서 수신된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 수신된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 수신된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행한다. 이와 같이 제 2 실시예 에 따른 디블록킹 필터부(1760)는 도 1의 제 1 실시예에 따른 디블록킹 필터부(190) 즉, 도 2의 제 1 실시예에 따른 디블록킹 필터링 장치(190)와 비교하여, 해당 서브 블록에 대하여 필터링 방향을 결정하는 과정을 생략하고 도 1의 부호화 장치(100)로부터 전달된 부가 정보로서의 필터링 방향을 그대로 사용한다는 점만 다르고, 다른 기능은 모두 동일하게 구성할 수 있다.The
본 발명의 제 3 실시예에 따른 디블록킹 필터부(1760)는, 현재 블록을 디블로킹 필터링하되, 특히 현재 블록의 서브 블록의 경계의 첫 번째의 화소에 대해서는 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하고, 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서는 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 필터링 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하며, 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하고, 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하며, 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행한다. 이와 같이 제 4 실시예에 따른 디블록킹 필터부(1740)는 도 1의 부호화 장치(100)의 제 2 실시예에 따른 디블록킹 필터부(190) 즉, 도 3의 제 2 실시예에 따른 디브록킹 필터링 장치(190)와 동일하게 구성할 수 있다.The
가산부(1750)에 의해 복원된 현재 블록은 픽처 단위로 결합되어 복원 영상으 로 출력되고, 디블로킹 필터부(1760)에 의해 디블로킹 필터링된 현재 블록은 예측부(1740)에서 다음 픽처를 예측할 때 사용되는 참조 픽처로서 저장될 수 있다.The current block reconstructed by the adder 1750 is combined in a picture unit and output as a reconstructed image, and the current block deblocked and filtered by the
이어, 상술된 바와 같이 본 발명의 실시예에 따른 장치에 대한 동작 및 그 장치에 적용할 수 있는 디블록킹 방법에 대하여 설명한다.Next, the operation of the apparatus according to the embodiment of the present invention and the deblocking method applicable to the apparatus will be described as described above.
우선 H.264(“Advanced video coding for generic audiovisual services”, Draft, ITU-T Recommendation H.264, Mar, 2005, p.182~p.194)의 디블록킹 필터링 방법에 대해 간단히 설명한다.First, the deblocking filtering method of H.264 (“Advanced video coding for generic audiovisual services”, Draft, ITU-T Recommendation H.264, Mar, 2005, p. 182 ~ p. 194) is briefly described.
H.264의 디블록킹 필터링 방법은, 잔여 신호의 이산 여현 변환(DCT)과 양자화(Quantization) 단위인 4x4 블록의 경계 면을 기준으로 하여 도 18과 같이 수직방향으로 필터링을 취하고, 그 다음 도 19와 같이 수평 방향으로 필터링을 취한다.In the deblocking filtering method of H.264, filtering is performed in a vertical direction as shown in FIG. 18 based on the boundary surface of a discrete cosine transform (DCT) and a quantization unit of a 4x4 block, and then, FIG. 19. Filter in the horizontal direction as shown.
먼저 디블록킹 필터를 적용하기에 앞서 도 20과 같이 p0 ~ p3으로 구성된 블록과 q0 ~ q3으로 구성된 블록이 있을 때, 각 블록의 경계면에 대해 블록 경계 세기(Boundary Strength: BS) 값을 결정하고 각각의 블록 경계 세기 값에 따라서 어느 정도의 강도로 필터링을 적용할 것인지를 결정한다. 필터링 세기는 현재 필터링 하고자 하는 경계가 속해 있는 블록이 화면내 예측(Intra Prediction) 부호화 사용 여부에 따라서, 혹은 화면간 예측(Inter Prediction) 부호화를 사용할 경우 움직임 보상을 위한 참조 블록의 거리 차에 따라서 0과 4사이의 값으로 결정된다.First, before applying the deblocking filter, when there are blocks composed of p0 to p3 and blocks composed of q0 to q3 as shown in FIG. 20, a block boundary strength (BS) value is determined for the boundary of each block, respectively. The strength of the filter boundary is determined based on the block boundary strength value of the filter. The filtering strength is 0 depending on whether the block to which the boundary to be filtered currently belongs uses intra prediction encoding or when distance between the reference blocks for motion compensation is used when inter prediction encoding is used. It is determined by a value between and 4.
블록 경계 세기 값이 결정되면 각 블록의 경계 면의 화소들이 블록킹 아티팩트에 의해 왜곡된 경계 면인지, 실제 영상에 존재하는 에지인지 판별하여 필터링을 수행해야 할지를 결정하게 된다. H.264에서는 다음과 같은 [식 1]을 만족시키지 못 할 경우에는 실제 영상에 존재하는 에지라고 판별하여 필터링을 수행하지 않고, 조건식을 만족하는 경우에는 블로킹 아티팩트에 의해 왜곡된 경계 면이라고 판단하여 디블록킹 필터를 수행하게 된다.If the block boundary strength value is determined, it is determined whether the filtering should be performed by determining whether the pixels of the boundary surface of each block are the boundary surface distorted by the blocking artifact or the edge present in the actual image. In H.264, if it does not satisfy the following [Equation 1], it is determined that the edge exists in the real image, and filtering is not performed. If the condition is satisfied, it is determined that the boundary is distorted by blocking artifacts. Deblocking filter is performed.
[식 1][Equation 1]
① ①
② ; ; ② ; ;
여기서 , 는 양자화 파라미터(Quantization Parameter)에 따라 적응적으로 그 값이 결정되는 값으로써, 현재 경계 면이 블록킹 아티팩트로 발생한 화소 값의 차이인지, 실제 에지에 의한 것인지를 판별할 수 있는 문턱치(Threshold) 값을 의미한다. 양자화 정도가 큰 경우에는 블록킹 아티팩트의 정도가 더욱 크게 발생하므로 문턱치의 값이 크게 설정되는 구조로 되어 있다.here , Is a value that is adaptively determined according to a quantization parameter, and is a threshold value for determining whether a current boundary is a difference between pixel values caused by blocking artifacts or an actual edge. it means. If the degree of quantization is large, the degree of blocking artifacts is greater, and thus the threshold value is set large.
필터링의 수행 여부가 결정되면 상기의 블록 경계 강도 값에 따라서 저 대역 필터링을 사용하여 경계면 양단의 화소에 대하여 부드럽게 만들어준다. 필터링에 대한 연산 방법은 예를 들어 H.264(“Advanced video coding for generic audiovisual services”, Draft, ITU-T Recommendation H.264, Mar, 2005, p.182~p.194)에 명시된 방법을 사용할 수 있다.When it is determined whether filtering is performed or not, the low band filtering is used according to the block boundary strength value to smooth the pixels on both sides of the boundary surface. The calculation method for filtering can be used, for example, using the method specified in H.264 (“Advanced video coding for generic audiovisual services”, Draft, ITU-T Recommendation H.264, Mar, 2005, p. 182 to p.194). Can be.
상술한 바와 같이, H.264의 디블록킹 필터는 블록의 부호화 속성에 따라 필터 강도를 결정하고, 블록 경계 면에 [식 1]을 이용해 에지 존재 여부를 판별하여 에지 성분은 최대한 보존하면서 각 경계 면에 대하여 적응적으로 디블록킹 필터링 을 수행함으로써, 블록킹 아티팩트를 줄여준다. 하지만, 이와 같이 수평과 수직 방향으로만 디블록킹 필터링을 수행할 경우 대각선 방향의 불연속에 의해 발생하는 블록킹 아티팩트에 의한 왜곡은 보정할 수가 없다.As described above, the deblocking filter of H.264 determines the filter strength according to the coding property of the block, and determines whether the edge exists using [Equation 1] on the block boundary surface, while preserving the edge components as much as possible while maintaining the edge components. By adaptively performing deblocking filtering on, we reduce blocking artifacts. However, when the deblocking filtering is performed only in the horizontal and vertical directions as described above, the distortion due to blocking artifacts caused by the discontinuity in the diagonal direction cannot be corrected.
좀 더 자세히 살펴보면, 기존의 수평과 수직 방향으로만 디블록킹 필터를 수행하게 되면, 도 21의 (a)와 같이 블록 경계 면에 대각선 방향의 에지 성분이 존재할 경우에는 p0 ~ p3 화소와 q0 ~ q3 화소로 구성되는 경계 면에 대하여 [식 1]을 적용했을 때, 조건을 만족하지 못하여 에지라고 판별하고 디블록킹 필터링을 수행하지 않게 된다. 그러나, 만약 A 블록과 B 블록의 블록 경계 강도 값이 1 이상이라면 p0과 dq0이 같은 값을 갖는 화소임에도 불구하고 블록킹 아티팩트로 인하여 화소 값의 불연속이 사선 방향으로 발생하는 것을 관찰할 수 있다. 그러므로 사선 방향으로 발생하는 화소 간의 불연속으로 인한 블록킹 아티팩트를 해결하기 위해서는, 수직과 수평 방향뿐만 아니라 사선 방향으로 디블록킹 필터링을 적응적으로 수행해야 할 것이다. 좀 더 구체적으로는 도 21의 (b)와 같이 대각선 방향으로 경계 면에 저 대역 필터링을 취한다면 p0과 q0의 화소 값이 비슷하게 변하면서 부드러워져 블록 경계 면의 화소 값 불연속에 의한 왜곡을 해소할 수 있을 것이다.In more detail, when the deblocking filter is performed only in the existing horizontal and vertical directions, p0 to p3 pixels and q0 to q3 when diagonal edge components exist in the block boundary surface as shown in FIG. When [Equation 1] is applied to the boundary surface composed of pixels, the condition is not satisfied and the edge is not determined and the deblocking filtering is not performed. However, if the block boundary strength values of the A blocks and the B blocks are equal to or greater than 1, it can be observed that discontinuities of pixel values occur due to blocking artifacts even though p0 and dq0 have the same value. Therefore, in order to solve the blocking artifacts caused by the discontinuity between the pixels occurring in the diagonal direction, it is necessary to adaptively perform the deblocking filtering in the diagonal direction as well as the vertical and horizontal directions. More specifically, if low-band filtering is performed on the boundary surface in the diagonal direction as shown in (b) of FIG. 21, the pixel values of p0 and q0 are changed and smoothed to solve the distortion caused by the discontinuity of pixel values at the block boundary surface. Could be.
따라서, 본 발명의 실시예는 수직과 수평 방향뿐만 아니라 그 밖의 방향에 대해서도 디블록킹 필터를 수행할 수 있도록 한다.Accordingly, embodiments of the present invention allow the deblocking filter to be performed not only in the vertical and horizontal directions but also in other directions.
특히, 본 발명의 실시예는 화소 단위로 방향성을 갖는 디블록킹 필터를 수행할 때 많은 연산량이 발생하므로 보다 적은 연산량으로 다양한 에지 방향에 대하여 화소별로 디블록킹 필터링을 취할 수 있는 방법을 제공한다. In particular, an embodiment of the present invention provides a method for performing deblocking filtering on a pixel-by-pixel basis for various edge directions with a smaller amount of computation since a large amount of computation occurs when performing a deblocking filter having a directionality on a pixel basis.
도 2의 장치에 적용할 수 있는 본 발명의 제 1 실시예 따른 디블록킹 필터링 방법에 의하면, 부호기에서 각 화소 마다 에지 방향을 검사하여 디블록킹 필터링을 수행하고, 그 중에서 가장 많이 선택된 필터링 방향을 선정하고, 이에 대하여 매우 적은 부가 정보를 생성하여, 복호기에 전송하면 복호기는 이 정보를 이용하여 방향성을 갖는 디블록킹 필터링을 수행한다. 일반적으로 영상 내의 4x4 서브 블록에서는 에지의 방향이 대체적으로 일관적이기 때문에 모든 방향에 대하여 디블록킹 필터링을 수행하지 않고 1~2방향에 대해서만 수행하는 것은 타당하다고 할 수 있다. 이 방법은 부호화기의 연산량에 대해서는 변화가 없지만, 복호기에서는 연산량이 대폭 감소하는 이점이 있다. According to the deblocking filtering method according to the first embodiment of the present invention applicable to the apparatus of FIG. 2, the encoder performs the deblocking filtering by inspecting the edge direction for each pixel, and selects the filtering direction most selected therefrom. In addition, when very little additional information is generated and transmitted to the decoder, the decoder performs directional deblocking filtering using this information. In general, since 4x4 subblocks in an image have generally consistent edge directions, it is reasonable to perform only 1 or 2 directions without performing deblocking filtering on all directions. This method does not change the amount of computation of the encoder, but the advantage of the decoder is that the amount of computation is greatly reduced.
도 22는 본 발명의 제 1 실시예에 따른 디블록킹 필터링 방법의 흐름도로서, 도 2의 장치에 적용할 수 있으므로 그 장치의 동작과 함께 설명한다.FIG. 22 is a flowchart of a deblocking filtering method according to a first embodiment of the present invention, which is applicable to the apparatus of FIG. 2 and will be described together with the operation of the apparatus.
도 22에 도시된 바와 같이, 본 발명의 제 1 실시예에 따른 디블록킹 필터링 방법은, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정 단계(S2210); 상기 서브 블록의 경계의 각 화소에 대해 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 최적 방향을 선정하는 최적 방향 선정 단계(S2220); 상기 서브 블록의 경계의 모든 화소에 대해 상기 선정된 다수의 최적 방향 중에서 최다 선정된 방향을 해당 서브 블록의 필터링 방향으로 결정하는 필터링 방향 결정 단계(S2230); 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하는 화소 선택 단계(S2240); 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하는 필터링 여부 결정 단계(S2250); 및 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링 단계(S2260)를 포함한다.As shown in FIG. 22, the deblocking filtering method according to the first embodiment of the present invention includes a boundary strength determination step (S2210) for determining an intensity of a boundary between subblocks of a current block; An optimal direction selecting step (S2220) of selecting an optimum direction based on a change amount of pixel values between pixels corresponding to each direction among a plurality of preset directions for each pixel of the boundary of the sub-block; A filtering direction determining step (S2230) of determining, as the filtering direction of the corresponding sub block, the most selected direction among the selected plurality of optimal directions for all pixels of the boundary of the sub block; A pixel selection step (S2240) of selecting pixels to be filtered for each pixel at the boundary of the sub block based on the determined filtering direction; A filtering step determining step (S2250) of determining whether to filter in the determined filtering direction according to a relationship between pixel values between the selected pixels; And a filtering step (S2260) of performing filtering on the selected pixels in the determined filtering direction according to the determined filtering.
본 발명의 제 1 실시예에 따른 디블록킹 필터링 방법에 대해 보다 구체적으로 설명하면 다음과 같다.The deblocking filtering method according to the first embodiment of the present invention will be described in more detail as follows.
도 4 는 16x16 화소로 이루어진 매크로 블록(Macroblock)을 도시한 것으로, 1-16까지의 4x4 서브 블록 중 교번하는 1, 3, 6, 89, 11, 14 및 16번의 4x4 블록에 대하여 본 발명의 실시예에 따른 디블록킹 필터링을 적용한다. FIG. 4 shows a macroblock consisting of 16x16 pixels, wherein alternating 1, 3, 6, 89, 11, 14, and 16 4x4 blocks of 4x4 subblocks 1-16 are implemented. The deblocking filtering according to the example is applied.
도 5와 같이 디블록킹 필터링을 적용할 해당 서브 블록의 ①, ②, ③, 및 ④의 4개의 경계 면에 디블록킹 필터를 적용한다. 구체적인 실시예는 아래와 같다. (단계 1 내지 단계 10까지는 부호기에서 수행하는 과정이고 단계 11 내지 단계 13은 복호기에서 수행하는 과정이다.)As shown in FIG. 5, the deblocking filter is applied to four boundary surfaces of ①, ②, ③, and ④ of the corresponding subblock to which the deblocking filtering is to be applied. Specific embodiments are as follows. (
단계 1: 경계 세기 결정부(210)는 4x4 서브 블록의 각 경계에 대하여 블록 경계 강도(BS)를 결정한다(S2310). Step 1: The
단계 2: BS가 0일 경우 디블록킹 필터링를 취하지 않고, BS가 1~4일 때는 조건식을 검사하여 디블록킹 필터링을 수행해야 할지를 결정한다.Step 2: If BS is 0, no deblocking filtering is performed, and if BS is 1 to 4, the conditional expression is examined to determine whether deblocking filtering should be performed.
단계 3: 필터링 방향 결정부(230)는 도 6 과 같이 4x4 서브 블록 경계 면(①, ②, ③, 및 ④)의 1~16 번의 화소 경계에 대하여, 도 7 과 같이 기 설정된 9가지 방향 중에서 가장 적합한 디블록킹 필터링 방향을 결정한다(S2220).Step 3: The filtering
단계 4: 필터링 방향 결정부(230)는 가장 적합한 방향을 구하기 위해서 1~16 번의 각 화소의 경계 면상에서 기 설정된 9가지의 방향에 대응하는 화소들간의 화소값의 변화량을 구하고, 9가지 방향 중 변화량이 가장 작은 방향이 에지 방향으로써, 디블록킹 필터링을 취하기에 가장 적합한 최적 방향으로 선정한다(S2220).Step 4: The filtering
단계 5: 필터링 방향 결정부(230)에서 화소 경계면에서 9가지의 각 방향에 대한 화소 간의 변화량을 구하는 식은 아래와 같다. 는 화소 경계 면의 화소(pixel)를 기준으로 각 방향에 따라 선택된 방향 세트에서의 화소들간의 화소값의 변화량을 나타낸다. , 은 가중치(weight)를 나타내는 상수로써, 블록 간의 경계 근처에 있는 화소 간의 변화량이 경계에서 멀리 떨어져 있는 화소 간의 변화량보다 전체 변화량에 더 큰 비중을 갖도록 , 을 만족하는 값으로 설정된다(S2220).Step 5: The filtering
단계 6: 필터링 방향 결정부(230)에서 9가지의 각 방향에 대한 변화량을 구하는 식은 구체적으로 아래와 같다(S2220).Step 6: In the
도 8에 도시되어 있는 90도 방향에 대한 변화량은 다음의 식 2와 같이 구해진다.The change amount with respect to the 90 degree direction shown in FIG. 8 is calculated | required as following formula (2).
[식 2][Equation 2]
도 9에 도시되어 있는 78.75도 방향에 대한 변화량은 다음의 [식 3]과 같이 구해진다.The change amount with respect to the 78.75 degree direction shown in FIG. 9 is calculated | required as following [Equation 3].
[식 3][Equation 3]
도 10에 도시되어 있는 67.5도 방향에 대한 변화량은 다음의 [식 4]와 같이 구해진다.The change amount with respect to the 67.5 degree direction shown in FIG. 10 is calculated | required as following [Equation 4].
[식 4][Equation 4]
도 11에 도시되어 있는 56.25도 방향에 대한 변화량은 다음의 [식 5]와 같이 구해진다.The change amount with respect to the 56.25 degree direction shown in FIG. 11 is calculated | required as following [Equation 5].
[식 5][Equation 5]
도 12에 도시되어 있는 45도 방향에 대한 변화량은 다음의 [식 6]과 같이 구해진다.The change amount with respect to the 45 degree direction shown in FIG. 12 is calculated | required as following [Equation 6].
[식 6][Equation 6]
도 13에 도시되어 있는 101.25도 방향에 대한 변화량은 다음의 [식 7]와 같이 구해진다.The change amount with respect to the direction of 101.25 degree shown in FIG. 13 is calculated | required as following [Equation 7].
[식 7][Equation 7]
도 14에 도시되어 있는 112.5도 방향에 대한 변화량은 다음의 [식 8]과 같이 구해진다.The change amount with respect to the 112.5 degree direction shown in FIG. 14 is calculated | required as following [Equation 8].
[식 8][Equation 8]
도 15에 도시되어 있는 123.75도 방향에 대한 변화량은 다음의 [식 9]와 같이 구해진다.The change amount with respect to the 123.75 degree direction shown in FIG. 15 is calculated | required as following [Equation 9].
[식 9][Equation 9]
도 16에 도시되어 있는 135도 방향에 대한 변화량은 다음의 [식 10]과 같이 구해진다.The change amount with respect to the 135 degree direction shown in FIG. 16 is calculated | required as following [Equation 10].
[식 10][Equation 10]
단계 7: 다음, 필터링 방향 결정부(230)는 도 6의 1~16 번 화소 간의 경계 중에서 가장 많이 선정되는 최적 방향을 해당 서브 블록의 디블록킹 필터링 방향으로 결정한다(S2230).Step 7: Next, the
단계 8: 이어, 필터링부(250)는 도 6의 1~16 화소 간 각각의 경계에 대해서 위에서 결정된 필터링 방향으로 디블록킹 필터링 수행 여부를 결정한다. 이 때, [식 1]과 유사한 조건식을 사용하게 되는데, 본 실시 예에서는 기 설정된 필터링 방향이 총 9가지 이므로 9가지 방향마다 별도의 조건식을 이용하여 필터링 수행 여부를 판별하고, 조건식을 만족할 경우 해당 필터링 방향으로 디블록킹 필터링을 수행한다. 만약 조건식을 만족하지 못하면 경계 면의 수직 방향에 대해서 조건식을 적용하여, 만족하면 경계 면의 수직 방향으로 디블록킹 필터링을 수행한다(S2240~S2260). Step 8: Next, the
단계 9: 9가지 각 방향에서 조건식을 적용하기 위해 연산에 필요한 화소는 도8 내지 도16에 도시된 바와 같다(S2240). 각 방향에 대한 조건식은 구체적으로 아래와 같다. 이 때, , 는 상수로 문턱치 값을 조절하여, 각각의 방향에서 디블록킹 필터링의 수행 정도를 결정하는 것이 가능하다. Step 9: The pixels required for the calculation in order to apply the conditional expression in each of the nine directions are as shown in Figs. 8 to 16 (S2240). The conditional expression for each direction is specifically as follows. At this time, , It is possible to determine the degree of performance of deblocking filtering in each direction by adjusting the threshold value with a constant.
도 8의 90도 방향에 대한 조건식은 아래의 [조건식 1]과 같다.The conditional expression for the 90 degree direction of FIG. 8 is as follows [Condition 1].
[조건식 1][Condition 1]
; ; ; ;
도 9의 78.75도 방향에 대한 조건식은 아래의 [조건식 2]와 같다.The conditional expression for the 78.75 degree direction of FIG. 9 is as follows [conditional expression 2].
[조건식 2][Condition Formula 2]
; ; ; ;
도 10의 67.5도 방향에 대한 조건식은 아래의 [조건식 3]과 같다.The conditional formula for the direction of 67.5 degrees in FIG. 10 is as follows [Condition 3].
[조건식 3][Condition 3]
; ; ; ;
도 11의 56.25도 방향에 대한 조건식은 아래의 [조건식 4]와 같다.The conditional expression for the 56.25 degree direction of FIG. 11 is as follows.
[조건식 4][Condition 4]
; ; ; ;
도 12의 45도 방향에 대한 조건식은 아래의 [조건식 5]와 같다.The conditional expression for the 45 degree direction of FIG. 12 is as follows [conditional expression 5].
[조건식 5][Condition 5]
; ; ; ;
도 13의 101.25도 방향에 대한 조건식은 아래의 [조건식 6]과 같다.The conditional expression for the direction of 101.25 degree of FIG. 13 is as follows [Condition 6].
[조건식 6][Condition 6]
; ; ; ;
도 14의 112.5도 방향에 대한 조건식은 아래의 [조건식 7]과 같다.The conditional expression for the direction of 112.5 degrees in FIG. 14 is as follows [Condition 7].
[조건식 7][Condition 7]
; ; ; ;
도 15의 123.75도 방향에 대한 조건식은 아래의 [조건식 8]과 같다.The conditional expression for the direction of 123.75 degree of FIG. 15 is as follows.
[조건식 8][Condition 8]
; ; ; ;
도 16의 135도 방향에 대한 조건식은 아래의 [조건식 9]와 같다.The conditional expression for the 135 degree direction of FIG. 16 is as follows [conditional expression 9].
[조건식 9][Condition 9]
; ; ; ;
단계 10: 한편, 수직 방향이 아닌 해당 서브 블록의 디블록킹 필터링 방향(단계 7에서 결정된 디블록킹 필터링 방향)으로 수행되는 화소 중 하나를 선택하여 그 화소에 대해 1비트의 부가 정보를 할당하고, 이 부가 정보를 부호기에서 복호기로 송신한다. 다른 예로, 해당 서브 블록의 디블록킹 필터링 방향(단계 7에서 결정된 디블록킹 필터링 방향)을 부가 정보로 기록하여 저장하고, 이 부가 정보를 부호기에서 복호기로 송신할 수 있다.Step 10: On the other hand, one of the pixels performed in the deblocking filtering direction (deblocking filtering direction determined in step 7) of the corresponding sub-block rather than the vertical direction is selected, and one-bit additional information is allocated to the pixel. Additional information is sent from the encoder to the decoder. As another example, the deblocking filtering direction (deblocking filtering direction determined in step 7) of the corresponding subblock may be recorded and stored as additional information, and the additional information may be transmitted from the encoder to the decoder.
단계 11: 복호기에서는 부호기부터 수신한 부가 정보를 이용하여, 부호기에서 지정한 위치의 화소를 선택한다. 그리고 부호기에서 사용했던 것과 같은 방법을 사용하여 그 화소의 디블록킹 필터링을 수행할 방향을 찾는다. 이 방향이 해당 4x4 서브 블록의 디블록킹 필터링 방향이 된다(단계 7에서 찾은 필터링 방향과 동일하게 설정됨).Step 11: The decoder selects the pixel at the position designated by the encoder by using the additional information received from the encoder. The same method as used in the encoder is used to find a direction to perform the deblocking filtering of the pixel. This direction becomes the deblocking filtering direction of the corresponding 4x4 subblock (set to the same filtering direction found in step 7).
단계 12: 해당 서브 블록의 필터링 방향이 결정되면 복호기도 부호기와 마찬가지로 단계 8 내지 단계 9와 동일한 과정을 수행하여 디블록킹 필터링을 수행한다. Step 12: When the filtering direction of the corresponding subblock is determined, the decoder performs deblocking filtering by performing the same process as
단계 13: 상기 방법을 적용할 경우 복호기에서는 부호기와 달리 각 화소에 대하여 디블록킹 필터링을 수행할 방향을 결정할 필요가 없이 하나의 화소에 대하여 방향을 결정하고 그 방향을 현재 서브 블록의 주된 방향이라 판단하고 디블록킹 필터링을 수행하므로 연산량이 줄어든다. 단, 부호기에서 복호기로 약간의 부가 정 보를 전송해야 한다.Step 13: In the case of applying the above method, the decoder determines a direction for one pixel and determines that direction is the main direction of the current sub-block, without having to determine a direction in which to perform deblocking filtering on each pixel, unlike an encoder. Deblocking filtering reduces the amount of computation. However, some additional information must be transmitted from the encoder to the decoder.
도 23은 본 발명의 제 2 실시예에 따른 디블록킹 필터링 방법의 흐름도로서, 도 3의 장치에 적용할 수 있으므로 그 장치의 동작과 함께 설명한다.FIG. 23 is a flowchart of a deblocking filtering method according to a second embodiment of the present invention. Since it is applicable to the apparatus of FIG. 3, it will be described together with the operation of the apparatus.
도 23에 도시된 바와 같이, 본 발명의 제 2 실시예에 따른 디블록킹 필터링 방법은, 현재 블록의 서브 블록간의 경계의 세기를 결정하는 경계 세기 결정 단계(S2310); 상기 서브 블록의 경계의 첫 번째의 화소에 대해서, 기 설정된 복수의 방향 중 각 방향에 대응하는 화소들간의 화소값의 변화량에 근거하여 하나의 방향을 필터링 방향으로 결정하는 제 1 필터링 방향 결정 단계(S2320); 상기 서브 블록의 경계의 두 번째 이상의 화소에 대해서, 현재 서브 블록에 대해 현재까지 최다 선정된 방향을 필터링 방향으로 결정하거나, 직전 화소의 필터링 방향을 최적 방향으로 결정하거나, 상기 첫 번째 화소의 필터링 방향 결정 과정에 따라 필터링 방향을 결정하는, 제 2 필터링 방향 결정 단계(S2330); 상기 서브 블록의 경계의 각 화소에 대해 상기 결정된 필터링 방향에 근거하여 필터링할 화소들을 선택하는 화소 선택 단계(S2340); 상기 선택된 화소들간의 화소값의 관계에 따라 상기 결정된 필터링 방향에 대한 필터링 여부를 결정하는 필터링 여부 결정 단계(S2350); 및 상기 결정된 필터링 여부에 따라 상기 결정된 필터링 방향의 상기 선택된 화소들에 대해 필터링을 수행하는 필터링 단계(S2360)를 포함한다.As shown in FIG. 23, the deblocking filtering method according to the second embodiment of the present invention includes a boundary strength determination step (S2310) for determining an intensity of a boundary between subblocks of a current block; A first filtering direction determining step of determining one direction as a filtering direction with respect to the first pixel of the boundary of the sub-block, based on a change amount of pixel values between pixels corresponding to each direction among a plurality of preset directions ( S2320); For the second or more pixels on the boundary of the sub-block, the direction most selected so far for the current sub-block is determined as the filtering direction, or the filtering direction of the immediately preceding pixel is determined as the optimal direction, or the filtering direction of the first pixel is determined. Determining a filtering direction according to the determining process (S2330); A pixel selecting step (S2340) of selecting pixels to be filtered for each pixel of the boundary of the sub block based on the determined filtering direction; A filtering step determining step (S2350) of determining whether to filter the determined filtering direction according to a relationship between pixel values between the selected pixels; And a filtering step (S2360) of performing filtering on the selected pixels in the determined filtering direction according to the determined filtering.
본 발명의 제 2 실시예에 따른 디블록킹 필터링 방법에 대해 보다 구체적으로 설명하면 다음과 같다.The deblocking filtering method according to the second embodiment of the present invention will be described in more detail as follows.
본 발명의 제 2 실시예에 따른 디블록킹 필터링 방법은 부호기에서 복호기로 부가 정보를 전송해야 할 필요 없이 기존의 방법보다 연산량을 줄이면서 화소 단위로 디블록킹 필터링을 수행하는 방법이다. The deblocking filtering method according to the second embodiment of the present invention is a method of performing deblocking filtering on a pixel-by-pixel basis while reducing the amount of computation compared to the conventional method without the need for transmitting additional information from the encoder to the decoder.
도 4 는 16x16 화소로 이루어진 매크로 블록(Macroblock)을 도시한 것으로, 1-16까지의 4x4 서브 블록 중 교번하는 1, 3, 6, 89, 11, 14 및 16번의 4x4 서브 블록에 대하여 본 발명의 실시예에 따른 디블록킹 필터링을 적용한다. 도 5와 같이 디블록킹 필터링을 적용할 해당 서브 블록의 ①, ②, ③, 및 ④의 4개의 경계 면에 디블록킹 필터를 적용한다. 구체적인 실시예는 아래와 같다.FIG. 4 shows a macroblock consisting of 16x16 pixels, wherein alternating 1, 3, 6, 89, 11, 14, and 16th 4x4 subblocks of
단계 1: 경계 세기 결정부(310)는 4x4 블록의 각 경계에 대하여 블록 경계 강도(BS)를 결정한다(S2310).Step 1: The
단계 2: BS가 0일 경우 디블록킹 필터링를 취하지 않고, BS가 1~4일 때는 조건식을 검사하여 디블록킹 필터링을 수행해야 할지를 결정한다.Step 2: If BS is 0, no deblocking filtering is performed, and if BS is 1 to 4, the conditional expression is examined to determine whether deblocking filtering should be performed.
단계 3: 필터링 방향 결정부(330)는 도 6의 해당 서브 블록의 ①번 경계 면의 1번 화소 경계에 대하여 기 설정된 9가지 방향 중에서 디블록킹 필터링을 적용할 방향을 검사한다. 필터링 방향 결정부(330)는 도 22의 본 발명의 제 1 실시예에 따른 디블록킹 필터링 방법에서와 같이 기 설정된 9가지 방향에 대한 화소간의 화소값의 변화량을 각각 구한 후, 변화량이 가장 적은 방향을 제 1 필터링 방향으로 결정한다. 9가지의 각 방향에 대한 변화량은 [식 2] 내지 [식 10]을 적용하여 구한다(S2320). 그리고 필터링부(350)는 결정된 제 1 필터링 방향에 대응하는 조건식(도 22의 제 1 실시예의 단계 9의 조건식 1 내지 조건식 9 참조)을 검사하여 만족하면 결정된 제 1 필터링 방향으로 디블록킹 필터링 수행하고, 그렇지 않으면 디블 록킹 필터링을 수행하지 않는다(S2340-S2360).Step 3: The filtering
단계 4: 다음으로 필터링 방향 결정부(330)는 도 6 의 ①번 경계 면의 2번 화소 경계에서는 1번 화소 경계에서 사용한 제 1 필터링 방향을 필터링 방향으로 결정하고, 필터링부(350)는 결정된 필터링 방향으로 디블록킹 필터링을 수행해야 할지 여부를 결정한다(S2330-S2350). 이 때, 필터링부(350)는 도 22의 제 1 실시예의 단계 9의 조건식 1 내지 조건식 9 중 해당 조건식을 사용하여, 만약 조건식을 만족하면 디블록킹 필터링을 수행하고(S2360), 만족하지 않는다면 필터링 방향 결정부(330)는 다시 1번 화소 경계에서와 같이 9가지 방향에 대해 새롭게 방향을 검사하여 변화량이 가장 적은 방향을 필터링 방향으로 결정한 후(S2330), 필터링부(350)를 통해 디블록킹 필터링을 수행한다(S2340-S2360).Step 4: Next, the
단계 5: 다음으로 필터링 방향 결정부(330)는 도 6 의 ①번 경계 면의 3번 화소 경계 면에서는 현재까지 가장 많이 선택되었던 필터링 방향을 필터링 방향으로 결정하고, 필터링부(350)는 결정된 필터링 방향에 대해 조건식 1 내지 조건식 9 중 해당하는 조건식을 적용하여 디블록킹 필터링을 수행해야 할지를 결정하고(S2330-S2350), 조건식을 만족하면 디블록킹 필터링을 수행한다(S2360). 만약 만족하지 않으면 필터링 방향 결정부(330)는 바로 직전에 사용되었던 필터링 방향(2번 화소 경계면의 필터링 방향)을 필터링 방향으로 결정하고, 필터링부(350)는 결정된 필터링 방향에 대하여 해당 조건식을 적용하여 디블록킹 필터링을 수행해야 할지를 결정하고(S2330-S2350), 조건식을 만족하면 디블록킹 필터링을 수행한다(S2360). 만약 또 만족하지 않으면 필터링 방향 결정부(330)는 다시 1번 화소 경 계에 대한 상기 과정과 같이 9가지 방향에 대해 새롭게 방향을 검사하여 변화량이 가장 적은 방향을 필터링 방향으로 결정한 후(S2330), 필터링부(350)를 통해 디블록킹 필터링을 수행한다(S2340-S2360).Step 5: Next, the
단계 6: 상술된 바와 같이, 4x4 서브 블록의 경계의 각 화소의 경계에서 2번 화소 경계 이상에 대해서는, 첫 번째로 현재까지 서브 블록 내에서 가장 많이 선택된 방향을 이용하여 디블록킹 필터링 적용 여부를 검사하여 그 방향으로 필터링을 수행하고, 만족하지 않을 경우 두 번째로 바로 직전 화소 간의 경계에 사용되었던 방향에 대하여 디블록킹 필터링 적용 여부를 검사하여 그 방향으로 필터링을 수행하고, 이것도 만족하지 않았을 경우에는 비로소 각 방향에 대한 경계간의 변화량을 구하여 디블록킹 필터링의 방향을 결정하여 필터링을 수행할 수 있다.Step 6: As described above, for more than two pixel boundaries at the boundary of each pixel of the boundary of the 4x4 subblock, it is first checked whether deblocking filtering is applied using the direction most selected in the subblock so far. Filtering is performed in that direction, and if it is not satisfied, it checks whether the deblocking filtering is applied to the direction used for the boundary between pixels immediately before, and performs filtering in that direction. Filtering may be performed by determining a direction of deblocking filtering by obtaining a change amount between boundaries for each direction.
상술된 제 2 실시예의 방법에 따르면, 4x4 서브 블록내 각 화소의 경계마다 가능성이 가장 높은 방향을 우선적으로 검사한 후 조건을 만족하면 다른 방향을 검사할 필요가 없기 때문에 연산량이 줄어든다.According to the method of the second embodiment described above, the amount of computation is reduced because it is not necessary to check the other direction first if the condition is satisfied first after checking the direction most likely for each pixel boundary in the 4x4 subblock.
본 발명의 실시예에 따른 디블록킹 필터링 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로써 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장 장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산 되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. The deblocking filtering method according to an embodiment of the present invention may be implemented as computer readable codes on a computer readable recording medium. Computer-readable recording media include all kinds of recording devices that store data that can be read by a computer system. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like, which are also implemented in the form of carrier waves (for example, transmission over the Internet). Include. 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.
이상에서, 본 발명의 실시예를 구성하는 모든 구성 요소들이 하나로 결합하여 동작하는 것으로 설명되었다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것이다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성 요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성 요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성 요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 그 컴퓨터 프로그램을 구성하는 코드들 및 코드 세그먼트들은 본 발명의 기술 분야의 당업자에 의해 용이하게 추론될 수 있을 것이다. 이러한 컴퓨터 프로그램은 컴퓨터가 읽을 수 있는 저장매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 저장매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.In the above description, all elements constituting the embodiments of the present invention are described as being operated in combination, and the present invention is necessarily limited to these embodiments. In other words, within the scope of the present invention, all of the components may be selectively operated in combination with one or more. In addition, although all of the components may be implemented in one independent hardware, each or all of the components may be selectively combined to perform some or all functions combined in one or a plurality of hardware. It may be implemented as a computer program having a. Codes and code segments constituting the computer program may be easily inferred by those skilled in the art. Such a computer program may be stored in a computer readable storage medium and read and executed by a computer, thereby implementing embodiments of the present invention. The storage medium of the computer program may include a magnetic recording medium, an optical recording medium, a carrier wave medium, and the like.
또한, 이상에서 기재된 "포함하다", "구성하다" 또는 "가지다" 등의 용어는, 특별히 반대되는 기재가 없는 한, 해당 구성 요소가 내재될 수 있음을 의미하는 것이므로, 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것으로 해석되어야 한다. 기술적이거나 과학적인 용어를 포함한 모든 용어들은, 다르게 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 사전에 정의된 용 어와 같이 일반적으로 사용되는 용어들은 관련 기술의 문맥 상의 의미와 일치하는 것으로 해석되어야 하며, 본 발명에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, the terms "comprise", "comprise" or "having" described above mean that the corresponding component may be included, unless otherwise stated, and thus excludes other components. It should be construed that it may further include other components instead. All terms, including technical and scientific terms, have the same meanings as commonly understood by one of ordinary skill in the art unless otherwise defined. Terms commonly used, such as terms defined in the dictionary, should be interpreted to coincide with the contextual meaning of the related art, and shall not be construed in an ideal or overly formal sense unless explicitly defined in the present invention.
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and those skilled in the art to which the present invention pertains may make various modifications and changes without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.
이상 설명한 바와 같이, 본 발명은 동영상 부호화 및 복호화 기술 분야에 적용되어, 수직 수평 방향 뿐만 아니라 그 밖의 다수의 방향에 대해서도 화소 단위로 디블록킹 필터를 적용할 수 있는 방법을 제시함으로써, 다수의 사선 방향에 대한 에지로 인하여 생기는 사선 방향의 불연속 성에 의한 블록 왜곡 현상을 효과적으로 제거하여 화질을 향상시키고, 블록 왜곡 현상의 제거 시 발생하는 연산량을 효과적으로 줄이는 효과 효과를 발생하는 매우 유용한 발명이다.As described above, the present invention is applied to a video encoding and decoding technology field, and proposes a method for applying a deblocking filter on a pixel-by-pixel basis for not only a vertical horizontal direction but also a plurality of other directions, thereby providing a plurality of diagonal directions. It is a very useful invention that improves the image quality by effectively eliminating the block distortion caused by the discontinuity in the diagonal direction caused by the edge to, and effectively reduces the amount of computation generated when the block distortion occurs.
도 1은 본 발명의 일 실시예에 따른 동영상 부호화 장치의 블록도,1 is a block diagram of a video encoding apparatus according to an embodiment of the present invention;
도 2는 본 발명의 제 1 실시예에 따른 디블록킹 필터링 장치의 블록도,2 is a block diagram of a deblocking filtering device according to a first embodiment of the present invention;
도 3은 본 발명의 제 2 실시예에 따른 디블록킹 필터링 장치의 블록도,3 is a block diagram of a deblocking filtering device according to a second embodiment of the present invention;
도 4는 본 발명의 실시예에 적용되는 매크로 블록내의 서브 블록을 나타낸 도면,4 is a diagram illustrating a sub block in a macro block applied to an embodiment of the present invention;
도 5는 본 발명의 실시예에 적용되는 서브 블록의 경계를 나타낸 도면,5 is a diagram illustrating a boundary of a sub block applied to an embodiment of the present invention;
도 6은 본 발명의 실시에에 적용되는 서브 블록의 경계의 화소 경계를 나타낸 도면,6 is a diagram illustrating pixel boundaries of sub-block boundaries applied to an embodiment of the present invention;
도 7은 본 발명의 실시예에 따른 필터링 방향의 예를 나타낸 도면,7 illustrates an example of a filtering direction according to an embodiment of the present invention;
도 8 내지 도 16는 도 7의 필터링 방향에 따라 선택된 화소의 예를 설명하는 도면,8 to 16 illustrate examples of pixels selected according to the filtering direction of FIG. 7;
도 17은 본 발명의 일 실시예에 따른 동영상 복호화 장치의 블록도,17 is a block diagram of a video decoding apparatus according to an embodiment of the present invention;
도 18 및 도 19는 매크로 블록의 수직 및 수평 방향의 경계를 나타내는 도면,18 and 19 are views showing the boundaries of the macro block in the vertical and horizontal directions,
도 20은 수직 및 수평 방향 블록 경계인 경우에 수평 및 수직 방향 필터링할 화소의 예를 나타낸 도면,20 illustrates an example of pixels to be horizontally and vertically filtered in the case of vertical and horizontal block boundaries;
도 21은 대각선 방향의 에지가 존재할 경우 (a)는 수직 방향의 필터링 시를 설명하는 도면이고, (b)는 대각선 방향 필터링 시를 설명하는 도면,21 is a diagram illustrating a case of filtering in a vertical direction when an edge in a diagonal direction exists, (b) is a diagram illustrating a filter in a diagonal direction;
도 22는 본 발명의 제 1 실시예에 따른 디블록킹 필터링 방법의 흐름도,22 is a flowchart of a deblocking filtering method according to a first embodiment of the present invention;
도 23은 본 발명의 제 2 실시예에 따른 디블록킹 필터링 방법의 흐름도.23 is a flowchart of a deblocking filtering method according to a second embodiment of the present invention.
< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>
100: 부호화 장치(또는 부호기라 칭함)100: encoding device (or coder)
110: 예측부 120: 감산부110: prediction unit 120: subtraction unit
130: 변환부 140: 양자화부130: transform unit 140: quantization unit
150: 부호화부 160: 역양자화부150: encoding unit 160: inverse quantization unit
170: 역변환부 180: 가산부170: inverse transform unit 180: adder
190: 디블록킹 필터부, 적응적 디블록킹 필터링 장치190: deblocking filter unit, adaptive deblocking filtering device
210,310: 경계 세기 결정부 230,330: 필터링 방향 결정부210,310: boundary strength determiner 230,330: filtering direction determiner
250,350: 필터링부250,350: filtering unit
1700: 복호화 장치(또는 복호기라 칭함)1700: decoding device (or decoder)
1710: 복호화부 1720: 역양자화부1710: decoding unit 1720: inverse quantization unit
1730: 역변환부 1740: 예측부1730: inverse transform unit 1740: predictor
1750: 가산부 1760: 디블록킹 필터부1750: adder 1760: deblocking filter part
Claims (27)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020080105718A KR101534050B1 (en) | 2008-10-28 | 2008-10-28 | Video encoding / decoding device, deblocking filtering device and method for the same, and recording medium |
| US13/126,144 US9596485B2 (en) | 2008-10-27 | 2009-10-22 | Motion picture encoding/decoding apparatus, adaptive deblocking filtering apparatus and filtering method for same, and recording medium |
| PCT/KR2009/006127 WO2010050699A2 (en) | 2008-10-27 | 2009-10-22 | Motion picture encoding/decoding apparatus, adaptive deblocking filtering apparatus and filtering method for same, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020080105718A KR101534050B1 (en) | 2008-10-28 | 2008-10-28 | Video encoding / decoding device, deblocking filtering device and method for the same, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20100046732A true KR20100046732A (en) | 2010-05-07 |
| KR101534050B1 KR101534050B1 (en) | 2015-07-06 |
Family
ID=42273946
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020080105718A Active KR101534050B1 (en) | 2008-10-27 | 2008-10-28 | Video encoding / decoding device, deblocking filtering device and method for the same, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR101534050B1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9479791B2 (en) | 2010-05-12 | 2016-10-25 | Sk Telecom Co., Ltd. | Image-filtering method and apparatus, and encoding/decoding method and apparatus using same |
| KR20240040066A (en) * | 2018-09-20 | 2024-03-27 | 한국전자통신연구원 | Method and apparatus for encoding/decoding image, recording medium for stroing bitstream |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101000926B1 (en) * | 2004-03-11 | 2010-12-13 | 삼성전자주식회사 | Filters and Filtering Methods to Eliminate Image Discontinuities |
| US7961963B2 (en) * | 2005-03-18 | 2011-06-14 | Sharp Laboratories Of America, Inc. | Methods and systems for extended spatial scalability with picture-level adaptation |
| JP4712642B2 (en) * | 2006-08-17 | 2011-06-29 | 富士通セミコンダクター株式会社 | Deblocking filter, image encoding device, and image decoding device |
| KR100819289B1 (en) * | 2006-10-20 | 2008-04-02 | 삼성전자주식회사 | Deblocking Filtering Method and Deblocking Filter of Image Data |
-
2008
- 2008-10-28 KR KR1020080105718A patent/KR101534050B1/en active Active
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9479791B2 (en) | 2010-05-12 | 2016-10-25 | Sk Telecom Co., Ltd. | Image-filtering method and apparatus, and encoding/decoding method and apparatus using same |
| US9532065B2 (en) | 2010-05-12 | 2016-12-27 | Sk Telecom Co., Ltd. | Image-filtering method and apparatus, and encoding/decoding method and apparatus using same |
| US9787988B2 (en) | 2010-05-12 | 2017-10-10 | Sk Telecom Co., Ltd. | Image-filtering method and apparatus, and encoding/decoding method and apparatus using same |
| KR20240040066A (en) * | 2018-09-20 | 2024-03-27 | 한국전자통신연구원 | Method and apparatus for encoding/decoding image, recording medium for stroing bitstream |
Also Published As
| Publication number | Publication date |
|---|---|
| KR101534050B1 (en) | 2015-07-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101590500B1 (en) | / Video encoding/decoding apparatus Deblocking filter and deblocing filtering method based intra prediction direction and Recording Medium therefor | |
| US10469840B2 (en) | Motion picture encoding apparatus and method thereof | |
| US9596485B2 (en) | Motion picture encoding/decoding apparatus, adaptive deblocking filtering apparatus and filtering method for same, and recording medium | |
| KR101432775B1 (en) | Method and apparatus for image encoding / decoding using arbitrary pixels in sub-blocks | |
| KR101997604B1 (en) | Method and Apparatus for Video Encoding/Decoding | |
| KR101444667B1 (en) | Video Coding Method and Apparatus Using Bi-Direction Intra Prediction | |
| KR101431545B1 (en) | Method and apparatus for Video encoding and decoding | |
| KR101538704B1 (en) | Method and apparatus for encoding and decoding an image using an interpolation filter adaptively | |
| US9503725B2 (en) | Method and apparatus for encoding/decoding image for performing intraprediction using pixel value filtered according to prediction mode | |
| KR101955374B1 (en) | Method and Apparatus for Image Encoding/Decoding By Fast Coding Unit Mode Decision | |
| KR20100004037A (en) | Method and apparatus for encoding video, and method and apparatus for decoding video | |
| KR20150095232A (en) | Method and Apparatus for Filtering Image and Encoding/Decoding of Video Data Using Thereof | |
| KR20130011878A (en) | Image encoding/decoding method and apparatus using deblocking filtering | |
| KR101341993B1 (en) | Method and Apparatus for Image Encoding/Decoding Using High Resolution Filter | |
| KR100809603B1 (en) | Pixel-based image encoding and decoding apparatus and method | |
| KR101943058B1 (en) | Method and Apparatus for Video Encoding/Decoding | |
| KR100727990B1 (en) | An intra prediction coding method of an image and an encoding apparatus using the method | |
| KR101997599B1 (en) | Method and Apparatus for Image Encoding/Decoding using Efficient Non-fixed Quantization | |
| KR101943425B1 (en) | Method and Apparatus for Image Encoding/Decoding using Efficient Non-fixed Quantization | |
| KR101534050B1 (en) | Video encoding / decoding device, deblocking filtering device and method for the same, and recording medium | |
| KR101597253B1 (en) | Video encoding / decoding device, adaptive deblocking filtering device and filtering method therefor, and recording medium | |
| KR101379189B1 (en) | Video Coding Method and Apparatus by Using Filtering Motion Compensation Frame | |
| KR101483495B1 (en) | Video Encoding/Decoding Method and Apparatus Using Arbitrary Pixel in Subblock | |
| KR101537767B1 (en) | Video Encoding/Decoding Method and Apparatus Using Arbitrary Pixel in Subblock | |
| KR101534014B1 (en) | Video Encoding/Decoding Method and Apparatus Using Arbitrary Pixel in Subblock |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| A201 | Request for examination | ||
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| E90F | Notification of reason for final refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| FPAY | Annual fee payment |
Payment date: 20190502 Year of fee payment: 5 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 6 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 7 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 8 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 9 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 10 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 11 |