KR20140046371A - Method and apparatus of determining a filtering strength of deblocking filtering for depth image - Google Patents

Method and apparatus of determining a filtering strength of deblocking filtering for depth image Download PDF

Info

Publication number
KR20140046371A
KR20140046371A KR1020130112348A KR20130112348A KR20140046371A KR 20140046371 A KR20140046371 A KR 20140046371A KR 1020130112348 A KR1020130112348 A KR 1020130112348A KR 20130112348 A KR20130112348 A KR 20130112348A KR 20140046371 A KR20140046371 A KR 20140046371A
Authority
KR
South Korea
Prior art keywords
depth image
determining
filtering
mode
deblocking filter
Prior art date
Application number
KR1020130112348A
Other languages
Korean (ko)
Inventor
오관정
박두식
이재준
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20140046371A publication Critical patent/KR20140046371A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/122Improving the 3D impression of stereoscopic images by modifying image signal contents, e.g. by filtering or adding monoscopic depth cues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/161Encoding, multiplexing or demultiplexing different image signal components

Landscapes

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

Abstract

Provided are a method and an apparatus for determining a boundary strength of a deblocking filter for a depth image, by which the boundary strength of the deblocking filter for a boundary between macro blocks of the depth image is set based on information about at least one mode selected from a plurality of coding/decoding modes. [Reference numerals] (710) Determine at least one among a plurality of conding/decoding modes for a depth image; (720) Obtain information about at least one mode; (730) Set a filtering strength of a deblocking filter based on information about at least one mode; (740) Determine whether the depth image is deblocking-filtered; (750) Perform deblocking filtering; (AA) Start; (BB) End

Description

깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법 및 장치{METHOD AND APPARATUS OF DETERMINING A FILTERING STRENGTH OF DEBLOCKING FILTERING FOR DEPTH IMAGE}METHOD AND APPARATUS OF DETERMINING A FILTERING STRENGTH OF DEBLOCKING FILTERING FOR DEPTH IMAGE}

아래의 실시예들은 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법 및 장치에 관한 것이다.The following embodiments are directed to a method and apparatus for determining the filtering strength of a deblocking filter for a depth image.

3차원 영상은 텍스쳐(texture) 영상과 이에 상응하는 3차원 데이터인 깊이(depth) 영상으로 구성된다. 각각의 영상은 서로 독립적 혹은 의존적으로 부호화 될 수 있다. 일반적으로 깊이 영상은 3차원 영상 시스템에서 가상 영상을 생성하기 위한 3차원 데이터로 활용될 수 있다. 때문에 비록 깊이 정보가 일반적인 영상 포맷으로 표현되어 있다 하더라도 그 특성과 영상에 대한 중요도의 관점이 일반 컬러 영상과 다르다. 특히 영상을 압축하고자 할 때는 깊이 영상의 특성이 더욱 고려되어야 한다. The 3D image is composed of a texture image and a depth image corresponding to 3D data. Each image may be encoded independently or dependently on each other. In general, the depth image may be used as 3D data for generating a virtual image in a 3D image system. Therefore, although the depth information is expressed in a general image format, the aspect of the characteristics and the importance of the image is different from the general color image. In particular, when compressing an image, the characteristics of the depth image should be further considered.

일반적으로 컬러 영상에 대한 압축 기술은 사람의 인지적인 시각적 특성을 고려하여 압축하도록 발전되어 왔다. 그러나 깊이 영상의 경우 시각적 특성에 기반한 압축 방식보다는 깊이 영상에서 보다 중요한 정보들을 잘 보존하면서 압축 효율을 높이는 것이 필요하다.In general, compression techniques for color images have been developed to compress in consideration of human cognitive visual characteristics. However, in the case of depth image, it is necessary to improve compression efficiency while preserving more important information in depth image than compression method based on visual characteristics.

일 실시예에 따르면, 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법은 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정하는 단계; 상기 결정된 적어도 하나의 모드에 대한 정보를 획득하는 단계; 및 상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도를 설정하는 단계를 포함할 수 있다. According to an embodiment, a method of determining a filtering strength of a deblocking filter for a depth image may include determining at least one of a plurality of encoding / decoding modes for a depth image; Acquiring information about the determined at least one mode; And setting the filtering strength of the deblocking filter on the boundary between the macroblocks of the depth image based on the information on the at least one mode.

인접하는 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소 간의 차이에 대한 적어도 두 개의 임계치를 기초로 상기 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단하는 단계를 더 포함할 수 있다. The method may further include determining whether to perform deblocking filtering on the depth image based on at least two thresholds of the difference between the first pixel and the second pixel which are consecutive to each other in the macro blocks of the adjacent depth image. have.

상기 적어도 두 개의 임계치는 상기 매크로 블록들 사이의 경계가 원 영상에서의 경계 영역인지 혹은 블록킹 현상으로 인한 화소 간의 불연속성에 기인한 것인지를 구분하는 데에 이용될 수 있다. The at least two thresholds may be used to distinguish whether the boundary between the macroblocks is a boundary region in the original image or is caused by discontinuity between pixels due to blocking phenomenon.

상기 적어도 하나의 모드에 대한 정보에 기초하여 생성된 매크로 블록 단위의 차분 신호를 변환하는 단계; 및 상기 변환된 차분 신호를 양자화한 양자화 계수를 기초로, 상기 적어도 두 개의 임계치를 결정하는 단계를 더 포함할 수 있다. Converting a difference signal in units of macro blocks generated based on the information on the at least one mode; And determining the at least two thresholds based on the quantization coefficients of the quantized transformed differential signal.

상기 복수의 부호화/복호화 모드들은 상기 매크로 블록들 사이의 경계에 대한 디블록킹 필터링을 수행하지 않는 제1 모드 및 상기 필터링 강도에 기초하여 상기 디블록킹을 수행하는 제2 모드를 포함할 수 있다. The plurality of encoding / decoding modes may include a first mode that does not perform deblocking filtering on a boundary between the macroblocks and a second mode that performs the deblocking based on the filtering strength.

상기 필터링 강도를 설정하는 단계는 상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 배치된 매크로 블록들 중 인트라 부호화/복호화된 블록과 인터 부호화/복호화된 블록에 대한 필터링 강도를 동일하게 설정하는 단계를 더 포함할 수 있다. The setting of the filtering strength may include inter-encoding / decoding of an intra-encoded / decoded block among macroblocks disposed on both sides of the macroblocks based on the information on the at least one mode. The method may further include setting the same filtering strength for the block.

상기 깊이 영상을 촬영하는 카메라의 배치에 따라 수평 방향 혹은 수직 방향으로 상기 필터링 강도를 다르게 설정하는 단계를 더 포함할 수 있다. The method may further include differently setting the filtering intensity in a horizontal direction or a vertical direction according to the arrangement of the camera capturing the depth image.

상기 매크로 블록들 중 인트라 부호화/복호화된 매크로 블록의 방향성에 기초하여 상기 필터링 강도를 설정하는 단계를 더 포함할 수 있다. The method may further include setting the filtering strength based on a direction of an intra coded / decoded macroblock among the macroblocks.

상기 깊이 영상의 슬라이스 타입을 고려하여 상기 필터링 강도를 결정하는 단계를 더 포함할 수 있다. The method may further include determining the filtering strength in consideration of the slice type of the depth image.

상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 위치하는 매크로 블록들에 잔차 신호(residual signal)가 없고, 연속하는 인트라 부호화/복호화된 매크로 블록의 방향성이 같은 경우, 상기 방향성에 기초하여 수평 디블록킹 필터 혹은 수직 디블록킹 필터에 대한 필터링 강도를 설정하는 단계를 더 포함할 수 있다. If there is no residual signal in the macro blocks positioned on both sides of the boundary between the macro blocks, and the directionality of consecutive intra coded / decoded macro blocks is the same, horizontal deblocking based on the directionality The method may further include setting a filtering strength for the filter or the vertical deblocking filter.

상기 적어도 하나의 부호화 모드를 결정하는 단계는 비트율-왜곡 최적화 모델(bit Rate-Distortion Optimization(RDO) model)에 기초하여 상기 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정하는 단계를 포함할 수 있다.The determining of the at least one encoding mode may include determining at least one of a plurality of encoding / decoding modes for the depth image based on a bit rate-distortion optimization (RDO) model. It may include a step.

일 실시예에 따르면, 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치는 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정하는 모드 결정부; 상기 결정된 적어도 하나의 모드에 대한 정보를 획득하는 획득부; 및 상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도를 설정하는 설정부를 포함할 수 있다. According to an embodiment, an apparatus for determining a filtering strength of a deblocking filter for a depth image may include: a mode determiner configured to determine at least one of a plurality of encoding / decoding modes for the depth image; An acquisition unit for obtaining information about the determined at least one mode; And a setting unit configured to set the filtering strength of the deblocking filter for the boundary between the macroblocks of the depth image based on the information on the at least one mode.

인접하는 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소 간의 차이에 대한 적어도 두 개의 임계치를 기초로 상기 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단하는 판단부를 더 포함할 수 있다. The apparatus may further include a determining unit configured to determine whether to perform deblocking filtering on the depth image based on at least two thresholds of the difference between the first pixel and the second pixel which are continuous to each other in the macro blocks of the adjacent depth image. have.

상기 적어도 하나의 모드에 대한 정보에 기초하여 생성된 매크로 블록 단위의 차분 신호를 변환하는 변환부; 및 상기 변환된 차분 신호를 양자화한 양자화 계수를 기초로, 상기 적어도 두 개의 임계치를 결정하는 임계치 결정부를 더 포함할 수 있다. A conversion unit for converting a difference signal in units of macro blocks generated based on the information on the at least one mode; And a threshold determiner configured to determine the at least two thresholds based on the quantized coefficients of the quantized transformed differential signal.

상기 복수의 부호화/복호화 모드들은 상기 매크로 블록들 사이의 경계에 대한 디블록킹 필터링을 수행하지 않는 제1 모드 및 상기 필터링 강도에 기초하여 상기 디블록킹을 수행하는 제2 모드를 포함할 수 있다. The plurality of encoding / decoding modes may include a first mode that does not perform deblocking filtering on a boundary between the macroblocks and a second mode that performs the deblocking based on the filtering strength.

상기 설정부는 상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 배치된 매크로 블록들 중 인트라 부호화/복호화된 블록과 인터 부호화/복호화된 블록에 대한 필터링 강도를 동일하게 설정할 수 있다. The setting unit may perform filtering strengths on intra-encoded / decoded blocks and inter-encoded / decoded blocks among macroblocks disposed on both sides of the macroblocks based on the information on the at least one mode. Can be set equally.

상기 설정부는 상기 깊이 영상을 촬영하는 카메라의 배치에 따라 수평 방향 혹은 수직 방향으로 상기 필터링 강도를 다르게 설정할 수 있다. The setting unit may set the filtering intensity differently in the horizontal direction or the vertical direction according to the arrangement of the camera capturing the depth image.

상기 설정부는 상기 매크로 블록들 중 인트라 부호화/복호화된 매크로 블록의 방향성에 기초하여 상기 필터링 강도를 설정할 수 있다. The setting unit may set the filtering strength based on a direction of an intra coded / decoded macro block among the macro blocks.

상기 설정부는 상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 위치하는 매크로 블록들에 잔차 신호(residual signal)가 없고, 연속하는 인트라 부호화/복호화된 매크로 블록의 방향성이 같은 경우, 상기 방향성에 기초하여 수평 디블록킹 필터 혹은 수직 디블록킹 필터에 대한 필터링 강도를 설정할 수 있다.If the setting unit has no residual signal in the macro blocks positioned on both sides of the boundary between the macro blocks, and the directivity of consecutive intra coded / decoded macro blocks is the same, Filtering strength may be set for the horizontal deblocking filter or the vertical deblocking filter.

도 1은 다시점 영상의 부호화 구조를 도시한 도면이다.
도 2는 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법이 적용되는 깊이 영상 부호화 장치의 구성을 도시한 도면이다.
도 3은 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법이 적용되는 깊이 영상 복호화 장치의 구성을 도시한 도면이다.
도 4는 인트라 예측 모드를 위해 방향성을 예측할 때 참조하는 영역을 도시한 도면이다.
도 5는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법이 수행되는 매크로 블록의 경계를 나타낸 도면이다.
도 6은 영상 부호화 장치에서 컬러 영상의 디블록킹을 위한 필터링 강도를 설정하는 과정을 나타낸 플로우차트이다.
도 7은 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법을 나타낸 플로우차트이다.
도 8은 다른 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법을 나타낸 플로우차트이다.
도 9는 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치의 블록도이다.
1 is a diagram illustrating an encoding structure of a multiview image.
2 is a diagram illustrating a configuration of a depth image encoding apparatus to which a method for determining a filtering strength of a deblocking filter for a depth image is applied, according to an exemplary embodiment.
3 is a diagram illustrating a configuration of a depth image decoding apparatus to which a method for determining a filtering strength of a deblocking filter for a depth image is applied according to an exemplary embodiment.
4 is a diagram illustrating a region referred to when predicting directionality for the intra prediction mode.
FIG. 5 illustrates a boundary of a macroblock in which a method of determining a filtering strength of a deblocking filter for a depth image is performed.
6 is a flowchart illustrating a process of setting a filtering strength for deblocking a color image in the image encoding apparatus.
7 is a flowchart illustrating a method of determining a filtering strength of a deblocking filter for a depth image, according to an exemplary embodiment.
8 is a flowchart illustrating a method of determining a filtering strength of a deblocking filter for a depth image, according to another exemplary embodiment.
9 is a block diagram of an apparatus for determining a filtering strength of a deblocking filter for a depth image, according to an exemplary embodiment.

이하, 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다. 그러나, 본 발명이 일실시예들에 의해 제한되거나 한정되는 것은 아니다. 또한, 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to or limited by the embodiments. In addition, the same reference numerals shown in the drawings denote the same members.

이하의 실시예들은, 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법 및 장치에 관한 것으로서, 상세한 설명에 앞서 부호화하는 다시점 영상의 부호화 구조 및 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법이 적용되는 부호화/복호화 장치에 관해서 먼저 살펴본다.
The following embodiments relate to a method and an apparatus for determining a filtering strength of a deblocking filter for a depth image. Before the detailed description, a coding structure of a multiview image and a filtering strength of the deblocking filter for a depth image are described. First, an encoding / decoding apparatus to which the method of determining is applied will be described.

도 1은 다시점 영상의 부호화 구조를 도시한 도면이다.1 is a diagram illustrating an encoding structure of a multiview image.

도 1을 참조하면, 깊이 영상은 다시점 영상(Multi-view image)의 부호화 구조로 구성될 수 있다. 다시점 영상의 부호화 구조는 일반적으로 인접 시점 간의 참조만을 이용하여 부호화 하는 앵커 프레임(anchor frame)과 시간 방향의 참조와 시점 방향의 참조를 모두 이용하는 비-앵커 프레임(non-anchor frame)으로 구성될 수 있다. 앵커 프레임(anchor frame)은 랜덤 액세스(random access)를 위해 필요하며 시점 간 예측만을 이용하여 부호화하기 때문에 단일 시점 영상의 압축과 가장 큰 특성의 차이를 보이는 부분이다.Referring to FIG. 1, a depth image may be configured as a coding structure of a multi-view image. A coding structure of a multiview image generally includes an anchor frame that encodes using only a reference between adjacent viewpoints and a non-anchor frame that uses both a reference in the time direction and a view in the view direction. Can be. An anchor frame is required for random access and is encoded using only inter-view prediction, and thus shows the difference between the compression of a single view image and the largest characteristic.

도 1의 다시점 영상의 부호화 구조는 세 개의 시점(Left View, Center View, Right View)의 영상을 입력 받았을 때 GOP(Group of Picture)를 '8'로 부호화하는 MVC(Multi-view Video Coding) 구조를 나타낸다. 다시점 영상을 압축할 때는 기본적으로 시간(Temporal) 축과 시점(View) 축으로 계층적 B 픽처(Hierarchical B Picture) 개념을 적용하기 때문에 영상 간의 많은 중복성(Redundancy)를 줄일 수 있다.The encoding structure of the multi-view image of FIG. 1 is a multi-view video coding (MVC) that encodes a GOP (Group of Picture) as '8' when images of three viewpoints (Left View, Center View, Right View) are input. The structure is shown. When compressing a multiview image, the concept of hierarchical B picture is applied to the temporal axis and the view axis basically, thereby reducing a lot of redundancy between the images.

도 1의 MVC 구조에서 세 개의 시점 영상을 압축할 때 좌(Left) 영상을 압축한 후에 우(Right) 영상과 가운데(Center) 영상을 차례대로 압축할 수 있다. 이 때, 좌(Left) 영상은 2D 영상을 압축할 때와 같이 움직임 탐색(Motion Estimation)을 하여 이전 영상들로부터 비슷한 영역을 찾아 시간적 중복성(Temporal Redundancy)을 제거하면서 부호화될 수 있다. 하지만 우(Right) 영상이 압축될 때에는 이미 압축된 좌(Left) 영상을 참조 영상(reference image)으로 이용할 수 있다. 그렇기 때문에 우(Right) 영상은 움직임 탐색을 통한 시간적 중복성뿐만 아니라 변이 탐색(Disparity Estimation)을 통한 시점 간의 중복성(View Redundancy)도 함께 제거하면서 부호화될 수 있다. 가운데(Center) 영상의 경우에는 좌(Left) 영상과 우(Right) 영상 모두를 참조 영상으로 이용할 수 있기 때문에 양방향으로 변이 탐색을 하여 시점간의 중복성을 제거할 수 있다. When the three view images are compressed in the MVC structure of FIG. 1, the left image and the center image may be sequentially compressed after the left image is compressed. In this case, the left image may be encoded while removing a temporal redundancy by searching for a similar region from previous images by performing motion estimation as in the case of compressing a 2D image. However, when a right image is compressed, an already compressed left image may be used as a reference image. Therefore, the right image may be encoded while removing not only temporal redundancy through motion search but also view redundancy between view points through disparity estimation. In the case of the center image, since both the left and right images can be used as reference images, the redundancy between viewpoints can be eliminated by performing a shift search in both directions.

도 1에서 좌(Left) 영상처럼 다른 시점으로부터의 예측 없이 부호화되는 시점을 I-View(Intra View), 우(Right) 영상처럼 다른 시점의 영상으로부터 단방향으로 예측하면서 부호화하는 시점을 P-View(Predictive View), 가운데(Center) 영상처럼 좌우 시점의 영상들로부터 양방향 예측하면서 부호화하는 시점을 B-View(Interpolative View)로 MVC에서는 일반적으로 정의한다.In FIG. 1, a view that is encoded while predicting a view that is encoded without a prediction from another view, such as a left image, is unidirectionally predicted from an image of another view such as an I-View (Intra View) or a right (Pight) view, and the P-View ( In MVC, a viewpoint that is encoded by bidirectionally predicting from left and right views, such as a predictive view and a center image, is generally defined in MVC as a B-view (interpolative view).

그리고, 각각의 영상(picture)은 부호화 타입(coding type)에 따라 I-픽처(intra picture), P-픽처(predictive picture), B-픽처(interpolative picture)로 나뉘어질 수 있다. 이때, I-픽처는 영상 간 예측없이 영상 자체를 부호화하고, P-픽처는 순방향으로만 참조 영상을 이용해서 영상 간 예측을 하여 예측값과의 차이를 부호화하며, B-픽처는 순방향과 역방향 양측으로 참조 영상을 이용해서 영상 간 예측을 하여 부호화한다.Each picture may be divided into an I-picture, a P-picture, and an B-picture according to a coding type. In this case, the I-picture encodes the image itself without inter prediction, and the P-picture encodes the difference from the prediction value by performing the prediction between images using the reference image only in the forward direction, and the B-picture in both the forward and reverse directions. The inter prediction is encoded by using the reference image.

H.264/AVC는 각 매크로 블록을 부호화할 때 다양한 매크로 블록의 부호화 모드를 이용하는데, 이 중 최적의 부호화 모드를 선택하여 부호화하고, 부호화 모드의 타입에 대한 정보를 각 매크로 블록마다 부호화하여 보낼 수 있다. 이때, 부호화 모드의 타입에 대한 정보를 나타내는 데에 이용되는 비트(bit)를 최소화하기 위해, 자주 발생되고 부호화 할 비트가 적은 모드부터 우선 순위를 두어 매크로 블록을 부호화 할 수 있다. When encoding each macroblock, H.264 / AVC uses encoding modes of various macroblocks. Among them, H.264 / AVC selects and encodes an optimal encoding mode, and encodes information about the encoding mode type for each macroblock. Can be. In this case, in order to minimize the bits used to represent the information about the type of the encoding mode, macro blocks may be encoded with priority from modes that are frequently generated and have fewer bits to be encoded.

아래의 <표 1>, <표 2> 및 <표 3> 은 각각 H.264/AVC에서 I 픽처, P 픽처, B 픽처의 프레임(frame) 부호화 시에 이용되는 다양한 매크로 블록의 형태를 나타낸 표이다. <Table 1>, <Table 2> and <Table 3> below show the types of macro blocks used in frame encoding of I picture, P picture and B picture in H.264 / AVC, respectively. to be.

[표 1][Table 1]

Figure pat00001
Figure pat00001

[표 2][Table 2]

Figure pat00002
Figure pat00002

[표 3][Table 3]

Figure pat00003
Figure pat00003

하지만, <표 1>, <표 2> 및 <표 3>에 나와 있는 매크로 블록의 부호화 모드들은 컬러 영상의 관점에서 디자인되어 깊이 영상에는 적절하지 않다. 또한, 부호화 모드들 중 비트를 가장 효율적으로 줄일 수 있는 SKIP 모드의 경우 칼라 영상에 비해 깊이 영상의 발생 확률이 낮은 특성을 갖는다. SKIP 모드는 매크로 블록의 부호화 모드 정보와 잔차 성분이 부호화 되지 않는다. However, the encoding modes of the macroblocks shown in Tables 1, 2, and 3 are designed from the perspective of the color image and are not suitable for the depth image. In addition, the SKIP mode, which can reduce bits most efficiently among encoding modes, has a lower probability of generating a depth image than a color image. In the SKIP mode, encoding mode information and a residual component of a macroblock are not encoded.

SKIP 모드(이하, '인터 SKIP 모드'라 한다.)는 인접한 매크로 블록의 움직임 벡터로부터 미디언 움직임 벡터값을 기반으로 예측을 한다. 하지만, 깊이 영상의 경우 텍스쳐(texture)가 많이 존재하지 않는 평탄(flat)한 특성이 주를 이루므로 인터 SKIP 모드는 깊이 영상에 대한 매크로 블록의 부호화 모드로는 적절하지 않다. The SKIP mode (hereinafter referred to as an 'inter SKIP mode') predicts the median motion vector value from the motion vectors of adjacent macroblocks. However, in the depth image, the inter SKIP mode is not suitable as the encoding mode of the macroblock for the depth image because the main characteristic is a flat characteristic without much texture.

또한, 깊이 영상은 현재 4:2:0 yuv 형태로 흔히 제공되는데 이 경우 색차 신호의 값은 모두 128로 정해져 색차 성분에 대한 잔차(residual)가 발생하지 않는다. 따라서, H.264/AVC에서 색차 성분에 대한 잔차를 갖는 부호화 모드 또한 깊이 영상에 대한 매크로 블록의 부호화 모드로 적절하지 않다.In addition, the depth image is currently commonly provided in the form of 4: 2: 0 yuv. In this case, the values of the color difference signals are all set to 128 so that residuals of the color difference components do not occur. Therefore, in H.264 / AVC, an encoding mode having a residual for a chrominance component is also not suitable as an encoding mode of a macroblock for a depth image.

결국, H.264/AVC의 부호화 모드에서 움직임 벡터를 기반으로 하는 부호화 방식은 깊이 영상에서 일부 텍스쳐가 존재하는 영역을 제외하고는 적절하지 않다. 그리고, H.264/AVC의 B 픽처 프레임에 이용되는 Bi-prediction(양방향 예측)의 경우도 깊이 영상에는 적절하지 않다. 때문에 컬러 영상의 관점에서 디자인된 매크로 블록의 모드들은 깊이 영상에서는 상당 부분 비효율적이다. 이와 같이 불필요하게 많은 매크로 블록 모드의 수는 매크로 블록 정보의 부호화에 사용되는 비트를 증가시키고, 각 모드들에 대한 예측 방법 및 매크로 블록간의 우선 순위도 또한 컬러 영상의 관점에서 디자인되어 비효율적이다. As a result, in H.264 / AVC encoding mode, a coding method based on a motion vector is not appropriate except for a region in which some textures exist in a depth image. In addition, the case of Bi-prediction (bidirectional prediction) used for B picture frames of H.264 / AVC is not suitable for depth images. Therefore, macroblock modes designed in terms of color images are largely inefficient in depth images. This unnecessarily large number of macro block modes increases the bits used for encoding macro block information, and the prediction method and priority between macro blocks for each mode are also inefficient in terms of color images.

일반적으로 디지털 영상의 부호화에서는 블록 단위의 양자화 과정에서의 오차로 인해 발생하는 화질 열화 현상, 다시 말해 블록킹 현상(Blocking Artifact)이 발생할 수 있다. 블록킹 현상은 각각의 블록들이 각기 독립적으로 처리되는 과정에서 압축률이 높은 경우에, 인접한 블록들의 경계에서 불연속성이 나타나 화질의 열화를 일으킬 수 있다. 따라서, 블록킹 현상에 대한 대처 방안으로서, 예를 들어, H.264/AVC 표준에서는 부호화/복호화 과정에서의 루프내 (In-loop) 디블록킹 필터(Deblocking Filter)를 사용할 수 있다. In general, in encoding of a digital image, a quality degradation phenomenon, that is, a blocking artifact, may occur due to an error in a quantization process of a block unit. The blocking phenomenon may result in discontinuity at the boundary of adjacent blocks when the compression ratio is high when each block is independently processed, which may cause deterioration of image quality. Therefore, as a countermeasure for the blocking phenomenon, for example, the H.264 / AVC standard may use an in-loop deblocking filter during the encoding / decoding process.

디블록킹 필터는 화소 부호화 과정에서 발생되는 블록 경계 부분이 일그러지는 왜곡 현상을 완화시킬 수 있으며, 이를 통하여 생성된 복호화 영상은 다음 영상에서의 참조 영상으로 사용될 수 있다. 이하에서는 도 2 및 도 3을 통해 루프 내 (In-loop) 디블록킹 필터를 포함하는 깊이 영상 부호화 장치 및 깊이 영상 복호화 장치에 대하여 살펴본다.
The deblocking filter can mitigate a distortion phenomenon in which the block boundary portion generated in the pixel encoding process is distorted, and the decoded image generated through this can be used as a reference image in the next image. Hereinafter, a depth image encoding apparatus and a depth image decoding apparatus including an in-loop deblocking filter will be described with reference to FIGS. 2 and 3.

도 2는 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법이 적용되는 깊이 영상 부호화 장치의 구성을 도시한 도면이다.2 is a diagram illustrating a configuration of a depth image encoding apparatus to which a method for determining a filtering strength of a deblocking filter for a depth image is applied, according to an exemplary embodiment.

도 2를 참조하면, 깊이 영상 부호화 장치는 인트라 모드 예측부(210), 인트라 부호화부(212), 움직임 예측부(214), 인터 부호화부(216), 부호화 모드 결정부(218), 예측블록 생성부(220), 차분부(222), 변환 및 양자화부(224), 엔트로피 부호화부(226), 역변환 및 역양자화부(228), 결합부(230) 및 디블록킹 필터부(232)를 포함할 수 있다. Referring to FIG. 2, the depth image encoding apparatus includes an intra mode predictor 210, an intra encoder 212, a motion predictor 214, an inter encoder 216, an encoding mode determiner 218, and a prediction block. The generator 220, the difference unit 222, the transform and quantization unit 224, the entropy encoder 226, the inverse transform and inverse quantizer 228, the combiner 230, and the deblocking filter unit 232. It may include.

인트라 모드 예측부(210)는 부호화된 주변의 매크로 블록들을 이용해서 현재 매크로 블록의 방향성을 예측할 수 있다. 이때, 예측한 방향성은 현재 매크로 블록의 위쪽 경계 화소로부터 수직으로 확장해서 예측 블록을 생성하는 수직(Vertical)방향, 현재 매크로 블록의 왼쪽 경계 화소로부터 수평으로 확장해서 예측 블록을 생성하는 수평(Horizontal)방향 및 현재 매크로 블록의 위쪽 경계 화소와 왼쪽 경계 화소의 평균으로 예측 블록을 생성하는 DC(Direct Current) 방향, 현재 매크로 블록의 위쪽 경계 화소와 왼쪽 경계 화소를 함께 고려해서 예측 블록을 생성하는 평면(Plane) 방향 중 하나가 될 수 있다.The intra mode predictor 210 may predict the direction of the current macro block by using the encoded macro blocks of the neighboring picture. In this case, the predicted directionality is a vertical direction extending vertically from the upper boundary pixel of the current macro block to generate the prediction block, and horizontal extending horizontally from the left boundary pixel of the current macro block to generate the prediction block. The DC (Direct Current) direction in which the prediction block is generated by the direction and the average of the upper boundary pixel and the left boundary pixel of the current macro block, and the plane that generates the prediction block by considering the upper boundary pixel and the left boundary pixel of the current macro block together ( Can be one of the plane directions.

인트라 부호화부(212)는 현재 매크로 블록을 인트라 후보 부호화 모드들 별로 인트라 부호화할 수 있다.The intra encoder 212 may intra encode the current macro block according to intra candidate encoding modes.

인트라 후보 부호화 모드에는 예측한 방향성을 이용해서 인트라 부호화하는 인트라 예측 모드가 포함될 수 있다. 인트라 예측 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함할 수 있다. 인트라 스킵 모드는 예측한 방향성 정보와 잔치 신호를 복호화 장치로 전달하지 않는 모드이고, 인트라 다이렉트 모드는 예측한 방향성 정보를 복호화 장치로 전달하지 않는 모드이며, 인트라 디렉션 모드는 잔치 신호를 복호화 장치로 전달하지 않는 모드일 수 있다.The intra candidate encoding mode may include an intra prediction mode for intra encoding using the predicted directionality. The intra prediction mode may include at least one of an intra skip mode, an intra direct mode, and an intra direction mode. The intra skip mode is a mode in which the predicted directional information and the residual signal are not transmitted to the decoding apparatus, the intra direct mode is a mode in which the predicted directional information is not transmitted to the decoding apparatus, and the intra direction mode transmits the residual signal to the decoding apparatus. The mode may not be.

그리고, 인트라 스킵 모드는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 중에서 최상위 우선 순위 또는 차상위의 우선 순위일 수 있다.In addition, the intra skip mode may be the highest priority or the next highest priority among the priorities of the respective encoding modes included in the intra candidate encoding modes and the inter candidate encoding modes.

인트라 후보 부호화 모드들의 종류는 매크로 블록의 사이즈의 종류, 방향성 정보의 부호화 여부 및 매크로 블록의 밝기 성분에 대한 잔차 신호의 존재 여부 중 적어도 하나의 차이에 따라 구분될 수 있다.The types of intra candidate encoding modes may be classified according to at least one of a kind of a size of a macro block, whether or not the directional information is encoded, and whether there is a residual signal for a brightness component of the macro block.

움직임 예측부(214)는 부호화하려는 현재 매크로 블록과 이전에 입력된 매크로 블록을 이용하여 움직임 벡터를 추정할 수 있다.The motion predictor 214 may estimate the motion vector using the current macroblock to be encoded and the previously input macroblock.

인터 부호화부(216)는 현재 매크로 블록을 움직임 예측부(214)를 통해 추정된 움직임 벡터에 기초해서 인터 후보 부호화 모드들 별로 인터 부호화할 수 있다.The inter encoder 216 may inter encode the current macro block for each inter candidate encoding mode based on the motion vector estimated by the motion predictor 214.

이때, 인터 후보 부호화 모드들은 매크로 블록 당 하나의 움직임 벡터를 참조해서 부호화할 수 있다. 그리고, 인터 후보 부호화 모드들의 종류는 매크로 블록의 사이즈의 종류 및 잔차 신호의 부호화 여부를 고려해서 구분될 수 있다. 이때 매크로 블록은 부호화 되는 최대 크기의 블록을 의미하며 16x16 보다 더 클 수도 있다. In this case, the inter candidate encoding modes may be encoded by referring to one motion vector per macroblock. In addition, the types of the inter candidate encoding modes may be classified in consideration of the type of the size of the macro block and whether the residual signal is encoded. At this time, the macro block means the largest block to be encoded and may be larger than 16 × 16.

부호화 모드 결정부(218)는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선 순위를 고려해서 부호화 모드들 중에서 율-왜곡 최적화(RDO: Rate-Distortion Optimization) 비용이 가장 작은 부호화 모드를 현재 매크로 블록의 부호화 모드로 결정할 수 있다. 한편, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선 순위에 관한 정보는 기설정되거나 또는 깊이 영상을 부호화할 때 정의되어 복호화 장치로 송신될 수 있다.The encoding mode determiner 218 considers the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes, and has the highest rate-distortion optimization (RDO) cost among the encoding modes. The small encoding mode may be determined as the encoding mode of the current macroblock. Meanwhile, information about the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes may be preset or defined when encoding a depth image, and may be transmitted to the decoding apparatus.

부호화 모드 결정부(218)는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선 순위를 부호화 모드들이 최종 결정된 빈도에 따라 변경하도록 할 수도 있다.The encoding mode determiner 218 may change the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes according to the frequency at which the encoding modes are finally determined.

예측 블록 생성부(220)는 부호화 모드 결정부(218)에서 결정한 부호화 모드를 이용해서 예측 블록을 생성할 수 있다. The prediction block generator 220 may generate the prediction block by using the encoding mode determined by the encoding mode determiner 218.

차분부(222)는 현재 매크로 블록에서 예측 블록을 감산하여 차분 신호(혹은 잔차 신호)를 매크로 블록 단위로 생성할 수 있다.The difference unit 222 may generate a difference signal (or residual signal) in units of macro blocks by subtracting the prediction block from the current macro block.

변환 및 양자화부(224)는 차분부(222)에서 생성된 차분 신호를 변환 방식을 이용하여 변환하고, 변환된 차분 신호를 양자화하여 양자화된 변환 계수를 생성할 수 있다. 변환 방식의 예로는, 이산 코사인 변환(DCT: Discrete cosine transform)을 들 수 있다. The transform and quantization unit 224 may transform the difference signal generated by the difference unit 222 using a transform scheme, and quantize the transformed differential signal to generate quantized transform coefficients. An example of the transformation method is Discrete cosine transform (DCT).

엔트로피 부호화부(226)는 양자화된 변환 계수, 움직임 벡터 등의 부호화 정보를 엔트로피 부호화하여 비트 스트림을 생성할 수 있다. 생성되는 비트 스트림은 압축된 깊이 영상일 수 있다.The entropy encoder 226 may generate a bit stream by entropy encoding encoding information such as quantized transform coefficients and motion vectors. The generated bit stream may be a compressed depth image.

역변환 및 역양자화부(228)는 변환 및 양자화부(224)에서 양자화된 차분 신호를 다음에 부호화되는 프레임의 예측에 이용하기 위해 역양자화하고, 역이산 코사인 변환하여 부호화 이전의 차분 신호로 복원할 수 있다.The inverse transform and inverse quantizer 228 dequantizes the difference signal quantized by the transform and quantization unit 224 for use in prediction of a frame to be encoded next, inverse discrete cosine transform, and reconstructs the difference signal before encoding. Can be.

결합부(230)는 복원된 차분 신호와 예측 블록 생성부(220)에서 생성된 예측 블록을 가산하여 부호화 이전의 현재 매크로 블록을 복원할 수 있다.The combiner 230 may reconstruct the current macroblock before encoding by adding the reconstructed difference signal and the predictive block generated by the predictive block generator 220.

디블록킹 필터부(232)는 복원된 블록 또는 복원된 깊이 영상을 필터링하여 블록킹 현상을 제거할 수 있다. 이때, 디블록킹 필터부(232)는 후술하는 도 7 내지 도 8와 같은 방법을 이용하여 디블록킹 필터의 필터링 강도를 설정할 수 있다.
The deblocking filter unit 232 may remove the blocking phenomenon by filtering the reconstructed block or the reconstructed depth image. In this case, the deblocking filter unit 232 may set the filtering strength of the deblocking filter by using a method such as FIGS. 7 to 8 to be described later.

도 3은 깊이 영상 복호화 장치의 구성을 도시한 도면이다.3 is a diagram illustrating a configuration of a depth image decoding apparatus.

도 3을 참조하면, 깊이 영상 복호화 장치는 엔트로피 복호화부(310), 부호화 모드 복원부(312), 움직임 복원부(314), 인터 복호화부(316), 인트라 모드 복원부(318), 인트라 복호화부(320), 역변환 및 역양자화부(322), 결합부(324) 및 디블록킹 필터부(326)를 포함할 수 있다.Referring to FIG. 3, an apparatus for decoding a depth image may include an entropy decoder 310, an encoding mode restoring unit 312, a motion restoring unit 314, an inter decoding unit 316, an intra mode restoring unit 318, and an intra decoding unit. The unit 320 may include an inverse transform and inverse quantization unit 322, a coupling unit 324, and a deblocking filter unit 326.

엔트로피 복호화부(310)는 입력되는 압축 비트 스트림을 엔트로피 복호화하여 차영상의 양자화된 계수값, 움직임 벡터 등의 부호화 정보를 추출할 수 있다.The entropy decoder 310 may entropy decode the input compressed bit stream to extract encoding information such as a quantized coefficient value and a motion vector of the difference image.

부호화 모드 복원부(312)는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선 순위 정보를 이용해서 부호화된 매크로 블록의 부호화 모드를 확인할 수 있다.The encoding mode reconstructor 312 may identify the encoding mode of the encoded macroblock using priority information of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes.

부호화 모드 복원부(312)는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선 순위를 확인된 부호화 모드들의 빈도에 따라 변경할 수 있다. 또한, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선 순위에 관한 정보는 기설정되거나 또는 깊이 영상을 복호화할 때 정의되어 부호화 장치로 수신될 수도 있다.The encoding mode reconstruction unit 312 may change the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes according to the frequency of the identified encoding modes. In addition, the information about the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes may be preset or defined when decoding the depth image and may be received by the encoding apparatus.

움직임 복원부(314)는 엔트로피 복호화부(310)에서 부호화 정보에서 움직임 벡터를 확인할 수 있다.The motion reconstruction unit 314 may check the motion vector from the encoding information in the entropy decoder 310.

인터 복호화부(316)는 움직임 복원부(314)에서 확인한 움직임 벡터를 이용해서 인터 복호화하여 예측 블록을 생성할 수 있다. The inter decoder 316 may generate a prediction block by inter decoding using the motion vector identified by the motion reconstructor 314.

인트라 모드 복원부(318)는 부호화된 매크로 블록의 부호화 모드가 인트라 예측 모드이면 복호화한 주변의 매크로 블록들을 이용해서 부호화된 매크로 블록의 방향성을 예측할 수 있다. The intra mode reconstructor 318 may predict the direction of the encoded macro block using the decoded neighboring macro blocks when the encoding mode of the encoded macro block is the intra prediction mode.

인트라 모드 복원부(318)는 부호화된 매크로 블록의 부호화 모드가 인트라 후보 부호화 모드들 중 하나이면, 수신한 비트 스트림에 포함된 방향성 정보를 확인할 수 있다. If the encoding mode of the encoded macroblock is one of intra candidate encoding modes, the intra mode reconstructor 318 may check directional information included in the received bit stream.

인트라 복호화부(320)는 인트라 모드 복원부(318)에서 예측한 방향성 또는 확인한 방향성 정보를 이용해서 예측 블록을 생성할 수 있다.The intra decoder 320 may generate a prediction block by using the directional information predicted by the intra mode reconstructor 318 or the confirmed directional information.

역변환 및 역양자화부(322)는 추출된 양자화 계수값을 매크로 블록 단위로 역양자화하여 역변환에 대응하는 차분 신호의 계수값을 생성할 수 있다. 역변환 및 역양자화부(322)는 생성된 차영상의 계수값을 이산 코사인 역변환(IDCT: Invert Discrete cosine transform)하여 차분 신호를 획득할 수 있다. 이로써, 압축 비트 스트림은 복호화되어 깊이 영상으로 임시 복원될 수 있다. The inverse transform and inverse quantizer 322 may inverse quantize the extracted quantization coefficient value in macroblock units to generate coefficient values of the differential signal corresponding to the inverse transform. The inverse transform and inverse quantization unit 322 may obtain a differential signal by performing discrete cosine transform (IDCT) on the coefficient values of the generated difference image. As a result, the compressed bit stream may be decoded and temporarily restored to the depth image.

결합부(324)는 차분 신호와 예측 블록을 더하여 깊이 영상을 복원할 수 있다. 차분 신호는 역변환 및 역양자화부(322)로부터 결합부(324)로 입력되며, 예측 블록은 인터 복호화부(316) 또는 인트라 복호화부(320)로부터 결합부(324)로 입력될 수 있다.The combiner 324 may reconstruct the depth image by adding the difference signal and the prediction block. The differential signal may be input from the inverse transform and inverse quantizer 322 to the combiner 324, and the prediction block may be input from the inter decoder 316 or the intra decoder 320 to the combiner 324.

디블록킹 필터부(326)는 결합부(324)에서 복원된 깊이 영상을 필터링하여 블록킹 현상을 제거할 수 있다. 디블록킹 필터부(326)는 후술하는 도 7 내지 도 8와 같은 방법을 이용하여 디블록킹 필터의 필터링 강도를 설정할 수 있다. The deblocking filter 326 may remove the blocking phenomenon by filtering the depth image reconstructed by the combiner 324. The deblocking filter 326 may set the filtering strength of the deblocking filter by using a method as illustrated in FIGS. 7 to 8 to be described later.

부호화 장치의 인트라 모드 예측부(210)와 복호화 장치의 인트라 모드 복원부(318)은 방향성의 예측을 아래 도 4와 같은 방법으로 예측할 수 있다.
The intra mode prediction unit 210 of the encoding apparatus and the intra mode reconstruction unit 318 of the decoding apparatus may predict the directional prediction by the method shown in FIG. 4 below.

도 4는 인트라 예측 모드를 위해 방향성을 예측할 때 참조하는 영역을 도시한 도면이다.4 is a diagram illustrating a region referred to when predicting directionality for the intra prediction mode.

도 4를 참조하면, 인트라 모드 예측부(210)와 인트라 모드 복원부(318)은 아래 [수학식 1]과 같이 현재 매크로 블록(410)과 인접한 윗쪽 블록(420)의 경계값과 왼쪽 블록(430)의 경계값의 복잡도를 비교하여 보다 복잡한 경계의 방향성을 따르는 방법을 취할 수 있다. Referring to FIG. 4, the intra mode predictor 210 and the intra mode reconstructor 318 may include a boundary value of the upper block 420 adjacent to the current macro block 410 and a left block as shown in Equation 1 below. The complexity of the boundary values of 430 may be compared to follow a more complex boundary direction.

Figure pat00004
Figure pat00004

여기서, SSE(Sum of Squared Errors)는 복잡도 측정 기법 중에 하나이고, A_SSE는 윗쪽 블록의 경계값의 복잡도이고, L_SSE는 왼쪽 블록의 경계값의 복잡도이다.Here, SSE (Sum of Squared Errors) is one of the complexity measurement techniques, A_SSE is the complexity of the boundary value of the upper block, L_SSE is the complexity of the boundary value of the left block.

[수학식 1]은 현재 매크로 블록에 대한 방향성을 예측하기 위한 하나의 실시예로서, 방향성은 이 방법 외에도 이미 부호화 된 인접 시점의 깊이 영상을 이용하거나 색상 정보를 이용하는 방법을 통해서도 예측할 수 있다. 또한 방향성은 인접 블록의 경계 화소가 아닌 모드 정보나 움직임 정보 혹은 인접 블록의 에지(edge) 성분의 분석을 통해서도 예측할 수 있다. 방향성 정보 획득을 위한 수식도 차이(difference)의 제곱합이 아닌 단순합이나 분산 등 다양한 차이(difference)들을 사용할 수 있다. [Equation 1] is an embodiment for predicting the directionality of the current macroblock. In addition to this method, the directionality may also be predicted by using a previously encoded depth image of an adjacent view or using color information. In addition, the directionality can be predicted through analysis of mode information, motion information, or edge components of the neighboring block, not boundary pixels of the neighboring block. The equation for obtaining the directional information may use various differences such as a simple sum or a variance, not a sum of squares of differences.

[수학식 1] 이외의 다양한 방법들이 방향성 예측에 이용될 수 있다. Various methods other than Equation 1 may be used for directional prediction.

이하에서는 도 5를 통해 블록킹 현상이 발생하는 매크로 블록의 경계에 대하여 설명하고, 도 6을 통해 디블록킹 필터링부에서 디블록킹을 위한 필터링 강도를 설정하는 일반적인 방법을 설명한다.
Hereinafter, a boundary of a macroblock in which a blocking phenomenon occurs will be described with reference to FIG. 5, and a general method of setting a filtering strength for deblocking in the deblocking filtering unit will be described with reference to FIG. 6.

도 5는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법이 수행되는 매크로 블록의 경계를 나타낸 도면이다.FIG. 5 illustrates a boundary of a macroblock in which a method of determining a filtering strength of a deblocking filter for a depth image is performed.

도 5를 참조하면, 디블록킹 필터(Deblocking Filter)는 일반적으로 1차원 필터이며, 슬라이스(slice)에 대한 부호화가 끝난 후 수평 방향과 수직 방향으로 각각 수행될 수 있다. H.264의 경우, 디블록킹 필터는 도 5와 같이 매크로 블록의 경계(510)를 기준으로 각 블록들을 p 화소군과 q 화소군을 구분하고, 각 화소군의 특성을 고려하여 필터링할 수 있다. Referring to FIG. 5, a deblocking filter is generally a one-dimensional filter, and may be performed in a horizontal direction and a vertical direction after encoding of a slice is completed. In the case of H.264, the deblocking filter may classify the blocks into p pixel groups and q pixel groups based on the boundary 510 of the macro block as shown in FIG. .

먼저, 디블록킹 필터는 p 화소군과 q 화소군이 속한 매크로 블록의 특성에 따라 경계 강도(Boundary Strength; BS)를 도 6과 같은 방법으로 결정할 수 있다. 여기서, 매크로 블록의 특성으로는 해당 매크로 블록이 인트라 부호화(intra coding) 되었는지 인터 부호화(inter coding) 되었는지, 매크로 블록이 경계(edge)인지 아닌지, 매크로 블록에 잔차(residual) 성분이 있는지 없는지 및 움직임 벡터가 있는지 여부 등의 조건이 고려될 수 있다. First, the deblocking filter may determine the boundary strength (BS) according to the characteristics of the macroblock to which the p pixel group and the q pixel group belong, as shown in FIG. 6. Here, the characteristics of the macro block include whether the macro block is intra coded or inter coded, whether the macro block is an edge, whether there is a residual component in the macro block, and the motion Conditions such as whether there is a vector may be considered.

매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도, 다시 말해 경계 강도(boundary strength)는 이러한 조건에 따라 0부터 4까지의 값을 가질 수 있다. 경계 강도의 값이 크다는 것은 블록킹 현상이 크다는 것을 의미하므로 경계 강도의 값이 크다면 추후에 디블록킹을 수행할 때 필터링을 보다 강하게 수행할 수 있다. 반면에 경계 강도가 0이라는 의미는 두 매크로 블록 간의 블록킹 현상이 미비하니 디블록킹 필터를 수행하지 않아도 된다는 것을 의미한다. The filtering strength of the deblocking filter on the boundary between the macroblocks, that is, the boundary strength, may have a value from 0 to 4 according to this condition. Since the value of the boundary strength is large, the blocking phenomenon is large. If the value of the boundary strength is large, filtering may be performed more strongly when the deblocking is performed later. On the other hand, the boundary strength of 0 means that the blocking phenomenon between the two macro blocks is insufficient, so that the deblocking filter does not need to be performed.

이렇게 경계 강도가 결정되고 나면, 디블록킹 필터는 디블록킹에 참여하는 p화소군과 q화소군의 화소값을 고려하여 다시 한 번 디블록킹 필터링의 수행 여부를 판단할 수 있다. After the boundary strength is determined, the deblocking filter may determine whether to perform deblocking filtering once again in consideration of pixel values of the p pixel group and the q pixel group participating in the deblocking.

H.264의 경우를 예로 들면 경계 강도가 0보다 크고 아래의 [수학식 2]를 만족하는 경우에 디블록킹 필터링을 수행할 수 있다. For example, in the case of H.264, deblocking filtering may be performed when the boundary strength is greater than zero and satisfies Equation 2 below.

Figure pat00005
Figure pat00005

여기서 α와 β는 연속하는 두 화소 간의 차이에 대한 임계치로서, p 화소군과 q 화소군 사이의 경계(510)가 블록킹 현상으로 인해 연속하는 화소간의 불연속성이 생긴 것인 것 아니면 원 영상에서의 경계 영역인지를 구분하는 데에 이용될 수 있다. Here, α and β are thresholds for the difference between two consecutive pixels, and the boundary 510 between the p pixel group and the q pixel group is a blocking phenomenon in which the discontinuity between successive pixels is generated or the boundary in the original image. Can be used to distinguish between areas.

α와 β는 양자화 파라미터 QP에 따라 그 크기가 변하며, 예를 들어, 양자화 파라미터 QP가 클수록 더 큰 값을 가질 수 있다. 이는 양자화 파라미터 QP가 클수록 매크로 블록의 경계(210)에 대한 임계치가 커져서 디블록킹 필터링이 더 많이 수행되어야 함을 의미한다. α and β vary in size according to the quantization parameter QP. For example, α and β may have a larger value as the quantization parameter QP increases. This means that the larger the quantization parameter QP, the larger the threshold for the boundary 210 of the macroblock, so that more deblocking filtering should be performed.

하지만, 이러한 경우 디블록킹 필터는 컬러 영상의 특성과 인간의 시각적 특성을 고려하여 고안되었기 때문에 깊이 영상의 부호화 시에 큰 효율성을 보이지 못하며 경우에 따라 오히려 성능을 저하시킬 수도 있다.
However, in this case, since the deblocking filter is designed in consideration of the characteristics of the color image and the human visual characteristics, the deblocking filter does not show great efficiency in encoding the depth image, and in some cases, may degrade performance.

도 6은 영상 부호화 장치에서 컬러 영상의 디블록킹을 위한 필터링 강도를 설정하는 과정을 나타낸 흐름도이다.6 is a flowchart illustrating a process of setting a filtering strength for deblocking a color image in the image encoding apparatus.

도 6을 참조하면, 영상 부호화 장치는 매크로 블록의 경계를 기준으로 양쪽 블록들 중 인트라 부호화된 매크로 블록이 있는지 여부를 확인한다(610). 이때, 인트라 부호화는 인트라 예측 모드를 포함하고, 인트라 예측 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인터 디렉션(direction) 모드 중 적어도 하나를 포함한다.Referring to FIG. 6, the image encoding apparatus determines whether there is an intra-encoded macroblock among the two blocks based on the boundary of the macroblock (610). In this case, the intra encoding includes an intra prediction mode, and the intra prediction mode includes at least one of an intra skip mode, an intra direct mode, and an inter direction mode.

610의 확인 결과, 경계(510)를 기준으로 양쪽 블록들 중 하나라도 인트라 부호화된 매크로 블록이 있으면, 영상 부호화 장치는 양쪽 블록 사이의 경계가 매크로 블록의 에지(edge)인지 여부를 확인할 수 있다(620).As a result of checking 610, if any one of both blocks is intra coded based on the boundary 510, the image encoding apparatus may check whether the boundary between the two blocks is an edge of the macro block ( 620).

620의 확인 결과, 경계가 매크로 블록의 에지가 아니면, 영상 부호화 장치는 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도, 다시 말해 경계 강도(BS; boundary strength)를 3으로 설정할 수 있다(324). 이때, 경계 강도(BS)는 0에서 4까지의 값으로 설정할 수 있으며, 이 중에서 경계 강도 0은 필터링을 하지 않는 것을 의미하고, 경계 강도 4는 가장 강한 필터링 강도를 나타낸다.As a result of checking 620, if the boundary is not an edge of the macro block, the image encoding apparatus may set the filtering strength of the deblocking filter for the boundary between the macro blocks, that is, the boundary strength (BS) to 3 ( 324). In this case, the boundary strength BS may be set to a value from 0 to 4, wherein the boundary strength 0 means no filtering, and the boundary strength 4 indicates the strongest filtering strength.

620의 확인 결과, 양쪽 블록 사이의 경계가 매크로 블록의 에지이면, 영상 부호화 장치는 경계를 기준으로 양쪽 매크로 블록들 모두가 차분 신호(residual signal)가 없는 인트라 모드로 부호화 되었는지를 확인할 수 있다(650). 이때, 차분 신호가 없는 인트라 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 등을 포함할 수 있다.If the boundary between the two blocks is an edge of the macro block, the image encoding apparatus may check whether both macroblocks are encoded in the intra mode without the residual signal based on the boundary (650). ). In this case, the intra mode without the difference signal may include an intra skip mode, an intra direct mode, an intra direction mode, and the like.

650의 확인 결과, 경계를 기준으로 양쪽 블록들 모두가 차분 신호가 없는 인트라 모드로 부호화 되었으면, 영상 부호화 장치는 경계 강도를 3으로 설정할 수 있다(624). 반면에, 650의 확인 결과, 경계를 기준으로 양쪽 블록들 모두가 차분 신호가 없는 인트라 모드로 부호화 되지 않았으면, 영상 부호화 장치는 경계 강도를 4로 설정할 수 있다(622).As a result of checking 650, if both blocks are encoded in the intra mode without the difference signal based on the boundary, the image encoding apparatus may set the boundary strength to 3 (624). On the other hand, if it is confirmed in 650 that both blocks are not encoded in the intra mode without the difference signal based on the boundary, the image encoding apparatus may set the boundary strength to 4 (622).

또한, 610의 확인 결과, 경계를 기준으로 양쪽 블록들이 모두 인터 부호화되었으면, 영상 부호화 장치는 경계를 기준으로 양쪽의 매크로 블록들 중 하나라도 차분 신호가 존재하는지 확인할 수 있다(630).In operation 630, when both blocks are inter-coded based on the boundary, the image encoding apparatus may check whether there is a difference signal in at least one of both macroblocks based on the boundary (630).

630의 확인 결과, 차분 신호를 가진 매크로 블록이 존재하면, 영상 부호화 장치는 경계 강도를 2로 설정할 수 있다(632). 반면에 630의 확인 결과, 차분 신호를 가진 매크로 블록이 존재하지 않으면, 영상 부호화 장치는 양쪽 매크로 블록들의 움직임 차이가 기준값 이상이거나 양쪽 매크로 블록들이 서로 다른 프레임을 참조했는지 여부를 확인할 수 있다(640).As a result of checking 630, if there is a macroblock with a difference signal, the image encoding apparatus may set the boundary strength to 2 (632). On the contrary, if the macroblock with the difference signal does not exist as a result of checking 630, the image encoding apparatus may determine whether the motion difference of both macroblocks is greater than or equal to a reference value or whether both macroblocks refer to different frames (640). .

640단계의 확인 결과, 양쪽 매크로 블록들이 움직임 차이가 기준값 이상이거나 양쪽 매크로 블록들이 서로 다른 프레임을 참조한 경우, 영상 부호화 장치는 경계 강도를 1로 설정할 수 있다(642). 반면에, 640의 확인 결과, 양쪽 매크로 블록들이 움직임 차이가 기준값 보다 작고 양쪽 블록들이 모두 같은 프레임을 참조한 경우, 영상 부호화 장치는 경계 강도를 0으로 설정할 수 있다(644).In operation 640, when both macroblocks have a motion difference greater than or equal to a reference value or both macroblocks refer to different frames, the image encoding apparatus may set the boundary strength to 1 (642). On the other hand, when the verification result of 640 indicates that both macroblocks have a motion difference smaller than the reference value and both blocks refer to the same frame, the image encoding apparatus may set the boundary strength to 0 (644).

도 6을 살펴보면 인트라 부호화의 경우 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도는 4 또는 3 중 하나로 결정되고, 인터 부호화의 경우 필터링 강도는 2, 1, 0 중 어느 하나로 결정될 수 있다. Referring to FIG. 6, in the case of intra coding, the filtering strength of the deblocking filter for the boundary between macroblocks of the depth image is determined to be 4 or 3, and in the case of inter coding, the filtering strength is determined to be one of 2, 1, and 0. Can be.

이와 같이 결정된 필터링 강도의 설정값을 비교해 보면, 인트라 부호화의 경우가 인터 부호화의 경우보다 상대적으로 더 강하게 필터링 됨을 확인할 수 있다. 상술한 바와 같이, 영상 압축에 이용되는 디블록킹 필터는 컬러 영상의 특성을 고려하여 고안되었다. 하지만. 깊이 영상은 컬러 영상과는 달리 플랫(flat)하다는 특징을 가진다. 따라서, 일 실시예에서는 컬러 영상과는 서로 다른 특성을 가지는 깊이 영상에 적합한 디블록킹 필터링 방법에 대하여 살펴본다.
Comparing the set values of the filtering strengths determined in this way, it can be seen that the case of intra coding is relatively stronger than the case of inter coding. As described above, the deblocking filter used for image compression is designed in consideration of the characteristics of the color image. However. The depth image is characterized in that it is flat unlike the color image. Therefore, an embodiment will be described with reference to a deblocking filtering method suitable for a depth image having different characteristics from a color image.

도 7은 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법을 나타낸 플로우차트이다. 7 is a flowchart illustrating a method of determining a filtering strength of a deblocking filter for a depth image, according to an exemplary embodiment.

깊이 영상에 대한 경계 강도를 결정하는 데에는 컬러 영상의 경계 강도를 결정할 때 고려해야 할 조건 이외에 추가로 고려되어야 할 사항들이 있다. 예를 들어 깊이 영상의 부호화 방법 중 가상 영상의 합성 관점에서 깊이 영상에 대한 비트율 왜곡 최적화를 수행하는 부호화 방식을 살펴보자. Determining the boundary intensity for the depth image has additional considerations in addition to the conditions to be considered when determining the boundary intensity of the color image. For example, a coding method of performing bit rate distortion optimization on a depth image in view of synthesis of a virtual image among depth image encoding methods will be described.

깊이 영상에 대한 비트율 왜곡 최적화를 수행하는 부호화 방식의 경우, 디블록킹 필터링 이전의 영상이 이미 가상 영상의 합성에 대해서 최적화 되어 있는 상태이다. 따라서 비록 블록킹 현상이 존재한다고 할지라도 경계 강도를 작게 설정하여 가급적 부호화 된 깊이 영상의 화소값이 크게 변하지 않도록 해야 한다. 때문에 깊이 영상에 대한 경계 강도의 결정에는 깊이 영상의 부호화 시에 어떠한 비트율-왜곡 최적화 모델이 사용되었는지에 대한 정보를 고려할 수 있다. In the encoding method of performing bit rate distortion optimization on a depth image, an image before deblocking filtering is already optimized for synthesis of a virtual image. Therefore, even if a blocking phenomenon exists, the boundary strength should be set small so that the pixel value of the coded depth image does not change as much as possible. Therefore, in determining the boundary strength of the depth image, information about which bit rate-distortion optimization model is used in encoding the depth image may be considered.

도 7을 참조하면, 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치(이하, '필터링 장치')는 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정할 수 있다(710). 710에서 필터링 장치는 비트율-왜곡 최적화 모델(bit Rate-Distortion Optimization(RDO) model)에 기초하여 적어도 하나의 모드를 결정할 수 있다. Referring to FIG. 7, an apparatus for determining a filtering strength of a deblocking filter for a depth image (hereinafter, a filtering device) may include at least one mode among a plurality of encoding / decoding modes for a depth image. Can be determined (710). In operation 710, the filtering device may determine at least one mode based on a bit rate-distortion optimization (RDO) model.

복수의 부호화/복호화 모드들은 매크로 블록들 사이의 경계에 대한 디블록킹 필터링(deblocking filtering)을 수행하지 않는 제1 모드 및 필터링 강도에 기초하여 디블록킹을 수행하는 제2 모드를 포함할 수 있다. The plurality of encoding / decoding modes may include a first mode that does not perform deblocking filtering on a boundary between macroblocks and a second mode that performs deblocking based on the filtering strength.

필터링 장치는 710에서 결정된 적어도 하나의 모드에 대한 정보를 획득할 수 있다(720).The filtering device may acquire information on at least one mode determined at 710 (720).

필터링 장치는 720에서 결정된 적어도 하나의 모드에 대한 정보를 기초로, 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도를 설정할 수 있다(730). 여기서, 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도는 '경계 강도(boundary strength)'로도 불릴 수 있다. The filtering device may set the filtering strength of the deblocking filter for the boundary between the macroblocks of the depth image based on the information about the at least one mode determined in 720 (730). Here, the filtering strength of the deblocking filter for the boundary between the macroblocks of the depth image may be referred to as 'boundary strength'.

730에서 필터링 장치는 적어도 하나의 모드에 대한 정보를 기초로, 매크로 블록들 사이의 경계를 기준으로 양쪽에 배치된 매크로 블록들 중 인트라 부호화된 블록과 인터 부호화된 블록에 대한 필터링 강도를 동일하게 설정할 수 있다. 이때, 깊이 영상을 위한 디블록킹 필터로는 예를 들어, 에버리징(averaging) 필터가 아닌 미디언(median) 필터, 혹은 바이래터럴(bilateral) 필터와 같이 에지(edge)를 보존하는 필터가 이용될 수 있다.In operation 730, the filtering apparatus sets the same filtering strength for the intra-coded block and the inter-coded block among the macroblocks disposed on both sides of the macroblock based on the information about the at least one mode. Can be. In this case, as the deblocking filter for the depth image, a filter for preserving edges such as a median filter or a bilateral filter, rather than an averaging filter may be used. Can be.

앞서 도 6을 통해 설명한 바와 같이, 컬러 영상에 대한 디블록킹 필터링에서는 인트라 부호화/복호화된 매크로 블록에 대하여 경계 강도를 크게 설정했다. 이는 인트라 부호화/복호화된 매크로 블록에 대한 예측에 사용된 화소들이 디블록킹을 거치지 않은 주변 화소이고, 인트라 부호화/복호화된 매크로 블록에 대한 예측의 효율성이 인터 부호화/복호화된 매크로 블록에 대한 예측에 비해 좋지 않기 때문이다. 하지만, 깊이 영상은 공간적 상관도가 매우 크므로 깊이 영상에서 인트라 부호화/복호화된 매크로 블록에 대한 예측은 인터 부호화/복호화된 매크로 블록에 대한 예측만큼 효율적이다. 따라서, 깊이 영상은 컬러 영상과 달리 매크로 블록들 사이의 경계를 기준으로 양쪽에 배치된 매크로 블록들 중 인트라 부호화/복호화된 매크로 블록과 인터 부호화/복호화된 매크로 블록에 대한 필터링 강도를 동일하게 설정할 수 있다. As described above with reference to FIG. 6, in the deblocking filtering of the color image, the boundary strength is set to be large for the macro coded / decoded macroblock. This means that the pixels used for the prediction of the intra-encoded / decoded macroblock are neighboring pixels that have not undergone deblocking, and the efficiency of the prediction for the intra-encoded / decoded macroblock is higher than the prediction for the inter-encoded / decoded macroblock. Because it is not good. However, since the depth image has a large spatial correlation, the prediction of the intra coded / decoded macroblock in the depth image is as effective as the prediction of the inter coded / decoded macroblock. Therefore, unlike the color image, the depth image may set the same filtering strength for the intra-encoded / decoded macroblock and the inter-encoded / decoded macroblock among macroblocks disposed on both sides based on the boundary between the macroblocks. have.

인트라 부호화/복호화된 매크로 블록에 대한 예측만을 이용하는 I 슬라이스의 경우에는 도 6에서 설명한 경계 강도의 조건이 유지될 필요가 있다. 그러나 P 슬라이스나 B 슬라이스 내의 인트라 부호화/복호화된 매크로 블록의 경우는 인터 부호화/복호화된 매크로 블록과 동일한 경계 강도의 조건을 이용해도 무방하다. 여기서, 슬라이스(slice)는 여러 개의 매크로 블록으로 구성되는 매크로 블록들의 집합을 의미하며, 동일한 수평 라인에 있는 매크로 블록들로만 이루어진 연결 구조로 이해할 수 있다.In the case of an I slice using only prediction for an intra coded / decoded macroblock, the condition of the boundary strength described in FIG. 6 needs to be maintained. However, in the case of the intra coded / decoded macroblock in the P slice or the B slice, the same boundary strength condition may be used as the inter coded / decoded macroblock. Here, a slice refers to a set of macro blocks composed of several macro blocks, and can be understood as a connection structure consisting of only macro blocks on the same horizontal line.

또한, 블록의 CBP(coded bit pattern)가 0이어서 잔차 신호가 없고 연속하는 인트라 매크로 블록의 방향성이 같은 경우, 필터링 장치는 방향성에 따라 수직 혹은 수평 디블록킹 필터에 대한 경계 강도를 '0'으로 설정할 수 있다. In addition, when the coded bit pattern (CBP) of the block is 0 so that there is no residual signal and the direction of successive intra macro blocks is the same, the filtering device sets the boundary strength for the vertical or horizontal deblocking filter to '0' according to the direction. Can be.

필터링 장치는 깊이 영상을 촬영하는 카메라의 배치에 따라 수평 방향 혹은 수직 방향으로 필터링 강도를 다르게 설정할 수 있다. 다시 말해, 필터링 장치는 카메라의 배치에 따라서 수평 혹은 수직 디블록킹 필터링을 생략할 수도 있다.The filtering device may set the filtering intensity differently in the horizontal direction or the vertical direction according to the arrangement of the camera for capturing the depth image. In other words, the filtering device may omit horizontal or vertical deblocking filtering depending on the arrangement of the cameras.

필터링 장치는 매크로 블록들 중 인트라 부호화/복호화된 매크로 블록의 방향성에 기초하여 필터링 강도를 설정할 수도 있다. 이때, 매크로 블록의 방향성은 매크로 블록의 위쪽 경계 화소로부터 수직으로 확장하는 수직(Vertical)방향, 매크로 블록의 왼쪽 경계 화소로부터 수평으로 확장하는 수평(Horizontal)방향, 매크로 블록의 위쪽 경계 화소와 왼쪽 경계 화소의 평균 방향으로 확장하는 DC(Direct Current) 방향, 및 매크로 블록의 위쪽 경계 화소와 왼쪽 경계 화소를 함께 고려한 방향으로 확장하는 평면(Plane) 방향 중 어느 하나를 포함할 수 있다. 이 밖에도, 필터링 장치는 깊이 영상의 슬라이스 타입(slice type)을 고려하여 필터링 강도를 결정할 수 있다. The filtering device may set the filtering strength based on the direction of the intra coded / decoded macro block among the macro blocks. In this case, the directionality of the macro block is a vertical direction extending vertically from the upper boundary pixel of the macro block, a horizontal direction extending horizontally from the left boundary pixel of the macro block, and an upper boundary pixel and the left boundary of the macro block. One of a direct current (DC) direction extending in the average direction of the pixels and a plane direction extending in the direction in which both the upper boundary pixel and the left boundary pixel of the macro block are considered may be included. In addition, the filtering device may determine the filtering strength in consideration of the slice type of the depth image.

필터링 장치는 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단할 수 있다(740). 이때, 필터링 장치는 적어도 두 개의 임계치(예를 들어, α', β')를 기초로 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단할 수 있다. 적어도 두 개의 임계치는 매크로 블록들 중 인접하는 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소 간의 차이에 대한 것일 수 있다. 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소는 도 2에서 화소 p0와 화소 q0, 화소 p1과 화소 p0, 화소 q1과 화소 q0 등을 예로 들 수 있다. The filtering device may determine whether to perform deblocking filtering on the depth image (740). In this case, the filtering device may determine whether to perform deblocking filtering on the depth image based on at least two thresholds (for example, α ′ and β ′). The at least two thresholds may be for a difference between the first pixel and the second pixel that are continuous to each other in the macro blocks of the adjacent depth image among the macro blocks. For example, the first pixel and the second pixel that are continuous to each other in the macroblocks of the depth image may include pixel p0 and pixel q0, pixel p1 and pixel p0, and pixel q1 and pixel q0 in FIG. 2.

적어도 두 개의 임계치는 매크로 블록들 사이의 경계가 원 영상에서의 경계 영역인지 혹은 블록킹 현상으로 인한 화소 간의 불연속성에 기인한 것인지를 구분하는 데에 이용될 수 있다. At least two thresholds may be used to distinguish whether the boundary between macro blocks is a boundary area in the original image or is due to discontinuity between pixels due to blocking phenomenon.

일 실시예에서 깊이 영상에 대한 디블록킹 필터링을 위한 적어도 두 개의 임계치(α', β')는 다음과 같은 [수학식 3]을 만족하도록 결정될 수 있다. In an embodiment, at least two thresholds α ′ and β ′ for deblocking filtering on the depth image may be determined to satisfy Equation 3 below.

Figure pat00006
Figure pat00006

여기서, m은 양자화 파라미터 QP의 변화에 따른 깊이 영상의 특성을 반영하기 위한 값이고, n은 부호화할 영상(예를 들어, 깊이 영상)의 특성을 고려하여 결정될 수 있는 값이다. 이와 같이, m과 n은 깊이 영상의 특성에 따라 구해질 수 있으며, 예를 들어, m이 '0'인 경우에 임계치 α', β'는 양자화 파라미터(QP)의 변화에 영향을 받지 않을 있다. α 및 β 는 전술한 [수학식 2]의 설명을 참조하기로 한다. Here, m is a value for reflecting the characteristics of the depth image according to the change of the quantization parameter QP, n is a value that can be determined in consideration of the characteristics of the image to be encoded (for example, the depth image). As such, m and n may be obtained according to characteristics of the depth image. For example, when m is '0', the thresholds α 'and β' may not be affected by the change in the quantization parameter QP. . [alpha] and [beta] will refer to the description of Equation 2 described above.

필터링 장치는 740의 판단 결과에 따라 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터링을 수행할 수 있다(750).
The filtering device may perform deblocking filtering on boundaries between macroblocks of the depth image according to the determination result of operation 740 (750).

도 8은 다른 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법을 나타낸 플로우차트이다. 8 is a flowchart illustrating a method of determining a filtering strength of a deblocking filter for a depth image, according to another exemplary embodiment.

도 8을 참조하면, 일 실시예에 따른 필터링 장치는 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정할 수 있다(810). 510에서 필터링 장치는 비트율-왜곡 최적화 모델(bit Rate-Distortion Optimization(RDO) model)에 기초하여 적어도 하나의 모드를 결정할 수 있다. Referring to FIG. 8, in operation 810, the filtering apparatus may determine at least one mode among a plurality of encoding / decoding modes for a depth image. In operation 510, the filtering apparatus may determine at least one mode based on a bit rate-distortion optimization (RDO) model.

필터링 장치는 810에서 결정된 적어도 하나의 모드에 대한 정보를 획득할 수 있다(820).The filtering device may acquire information on at least one mode determined at 810 (820).

필터링 장치는 820에서 획득한 적어도 하나의 모드에 대한 정보를 기초로, 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도를 설정할 수 있다(830). 여기서, 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도는 '경계 강도(boundary strength)'로도 불릴 수 있다. The filtering device may set the filtering strength of the deblocking filter for the boundary between the macroblocks of the depth image, based on the information about the at least one mode acquired in 820 (830). Here, the filtering strength of the deblocking filter for the boundary between the macroblocks of the depth image may be referred to as 'boundary strength'.

필터링 장치는 820에서 획득한 적어도 하나의 모드에 대한 정보에 기초하여 매크로 블록 단위로 차분 신호를 생성(840)한 후, 차분 신호를 변환할 수 있다(850). 850에서 필터링 장치는 예를 들어, 이산 코사인 변환(DCT: Discrete cosine transform) 방식을 이용하여 차분 신호를 변환할 수 있다. The filtering device generates a difference signal in units of macroblocks based on the information on at least one mode acquired in 820, and then converts the difference signal in operation 850. At 850, the filtering device may transform the differential signal using, for example, a Discrete cosine transform (DCT) method.

필터링 장치는 850에서 변환된 차분 신호를 양자화한 양자화 계수(QP)를 기초로, 적어도 두 개의 임계치를 결정할 수 있다(860). 860에서 필터링 장치는 전술한 [수학식 3]을 이용하여 적어도 두 개의 임계치를 결정할 수 있다. 이때, 적어도 두 개의 임계치는 인접하는 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소 간의 차이를 나타낼 수 있다. The filtering device may determine at least two thresholds, based on the quantization coefficients (QPs) quantized the transformed differential signal at 850 (operation 860). In operation 860, the filtering device may determine at least two thresholds using Equation 3 described above. In this case, the at least two thresholds may represent a difference between the first pixel and the second pixel that are continuous to each other in the macroblocks of the adjacent depth image.

필터링 장치는 적어도 두 개의 임계치를 기초로 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단할 수 있다(870).The filtering device may determine whether to perform deblocking filtering on the depth image based on at least two thresholds (870).

필터링 장치는 870의 판단 결과에 따라 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터링을 수행할 수 있다(880).
The filtering device may perform deblocking filtering on boundaries between macroblocks of the depth image according to the determination result of 870 (880).

도 9는 일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치의 블록도이다. 9 is a block diagram of an apparatus for determining a filtering strength of a deblocking filter for a depth image, according to an exemplary embodiment.

도 9를 참조하면, 일 실시예에 따른 필터링 장치는 모드 결정부(910), 획득부(920), 설정부(930), 판단부(940), 변환부(950) 및 임계치 결정부(960)를 포함할 수 있다. Referring to FIG. 9, the filtering apparatus according to an embodiment may include a mode determiner 910, an acquirer 920, a setter 930, a determiner 940, a converter 950, and a threshold determiner 960. ) May be included.

모드 결정부(910)는 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정할 수 있다. 또한, 모드 결정부(910)는 비트율-왜곡 최적화 모델(bit Rate-Distortion Optimization(RDO) model)에 기초하여 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정할 수 있다. 복수의 부호화/복호화 모드들은 매크로 블록들 사이의 경계에 대한 디블록킹 필터링(deblocking filtering)을 수행하지 않는 제1 모드 및 필터링 강도에 기초하여 디블록킹을 수행하는 제2 모드를 포함할 수 있다. The mode determiner 910 may determine at least one of a plurality of encoding / decoding modes for the depth image. In addition, the mode determiner 910 may determine at least one mode among a plurality of encoding / decoding modes for the depth image based on a bit rate-distortion optimization (RDO) model. The plurality of encoding / decoding modes may include a first mode that does not perform deblocking filtering on a boundary between macroblocks and a second mode that performs deblocking based on the filtering strength.

획득부(920)는 모드 결정부(910)에서 결정된 적어도 하나의 모드에 대한 정보를 획득할 수 있다. The acquirer 920 may obtain information about at least one mode determined by the mode determiner 910.

설정부(930)는 획득부(920)가 획득한, 적어도 하나의 모드에 대한 정보를 기초로, 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도(boundary strength)를 설정할 수 있다. 이때, 설정부(930)는 적어도 하나의 모드에 대한 정보를 기초로, 매크로 블록들 사이의 경계를 기준으로 양쪽에 배치된 매크로 블록들 중 인트라 부호화/복호화된 블록과 인터 부호화/복호화된 블록에 대한 필터링 강도를 동일하게 설정할 수 있다. The setting unit 930 may set the filtering strength of the deblocking filter for the boundary between the macroblocks of the depth image based on the information about the at least one mode acquired by the obtaining unit 920. have. At this time, the setting unit 930 is based on the information on the at least one mode, the intra coded / decoded block and the inter coded / decoded block among the macro blocks disposed on both sides based on the boundary between the macro blocks; It is possible to set the filtering intensity for the same.

또한, 설정부(930)는 매크로 블록들 중 인트라 부호화/복호화된 매크로 블록의 방향성에 기초하여 필터링 강도를 설정하거나, 깊이 영상을 촬영하는 카메라의 배치에 따라 수평 방향 혹은 수직 방향으로 필터링 강도를 다르게 설정할 수 있다. 이 밖에도, 설정부(930)는 매크로 블록들 사이의 경계를 기준으로 양쪽에 위치하는 매크로 블록들에 잔차 신호(residual signal)가 없고, 연속하는 인트라 부호화/복호화된 매크로 블록의 방향성이 같은 경우, 방향성에 기초하여 수평 디블록킹 필터 혹은 수직 디블록킹 필터에 대한 필터링 강도를 설정할 수 있다. In addition, the setting unit 930 sets the filtering intensity based on the directionality of the intra coded / decoded macroblock among the macroblocks, or varies the filtering intensity in the horizontal direction or the vertical direction according to the arrangement of the camera that captures the depth image. Can be set. In addition, the setting unit 930 does not have a residual signal in the macroblocks positioned on both sides of the boundary between the macroblocks, and when the directionalities of consecutive intra-encoded / decoded macroblocks are the same, The filtering intensity for the horizontal deblocking filter or the vertical deblocking filter may be set based on the directionality.

판단부(940)는 인접하는 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소 간의 차이에 대한 적어도 두 개의 임계치를 기초로 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단할 수 있다. The determination unit 940 may determine whether to perform deblocking filtering on the depth image based on at least two thresholds of the difference between the first pixel and the second pixel which are continuous to each other in the macro blocks of the adjacent depth image. have.

변환부(950)는 적어도 하나의 부호화 모드에 대한 정보에 기초하여 생성된, 매크로 블록 단위의 차분 신호(residual signal)을 변환할 수 있다. 이때, 변환부(950)는 예를 들어, 이산 코사인 변환(DCT: Discrete cosine transform) 방식을 이용하여 차분 신호를 변환할 수 있다. The converter 950 may convert a residual signal in units of macro blocks, which is generated based on information on at least one encoding mode. In this case, the transform unit 950 may transform the differential signal using, for example, a Discrete cosine transform (DCT) method.

임계치 결정부(960)는 변환부(950)에서 변환된 차분 신호를 양자화한 양자화 계수를 기초로, 상기 적어도 두 개의 임계치를 결정할 수 있다. The threshold determiner 960 may determine the at least two thresholds based on a quantization coefficient obtained by quantizing the difference signal converted by the transformer 950.

일 실시예에 따른 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치는 상술한 깊이 영상 부호화 장치 및 깊이 영상 복호화 장치의 디블록킹 필터부(232, 326)로 구현될 수도 있고, 개별적인 장치로 구현될 수도 있다.
The apparatus for determining the filtering strength of the deblocking filter for the depth image according to an embodiment may be implemented by the above-described deblocking filter units 232 and 326 of the depth image encoding apparatus and the depth image decoding apparatus, or as separate apparatuses. It may be implemented.

본 발명의 일 실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to an embodiment of the present invention can be implemented in the form of a program command which can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be construed as being limited to the embodiments described, but should be determined by equivalents to the appended claims, as well as the appended claims.

910: 모드 결정부
920: 획득부
930: 설정부
940: 판단부
950: 변환부
960: 임계치 결정부
910: mode determination unit
920:
930: setting unit
940: judgment
950: conversion unit
960: threshold determination unit

Claims (20)

깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정하는 단계;
상기 결정된 적어도 하나의 모드에 대한 정보를 획득하는 단계; 및
상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도(boundary strength)를 설정하는 단계
를 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
Determining at least one of a plurality of encoding / decoding modes for the depth image;
Acquiring information about the determined at least one mode; And
Setting a filtering strength of a deblocking filter on a boundary between macroblocks of the depth image based on the information on the at least one mode.
And determining a filtering strength of the deblocking filter for the depth image.
제1항에 있어서,
인접하는 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소 간의 차이에 대한 적어도 두 개의 임계치를 기초로 상기 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단하는 단계
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
Determining whether to perform deblocking filtering on the depth image based on at least two thresholds of the difference between the first pixel and the second pixel which are consecutive to each other in the macroblocks of the adjacent depth image;
And determining a filtering strength of the deblocking filter for the depth image.
제2항에 있어서,
상기 적어도 두 개의 임계치는
상기 매크로 블록들 사이의 경계가 원 영상에서의 경계 영역인지 혹은 블록킹 현상으로 인한 화소 간의 불연속성에 기인한 것인지를 구분하는 데에 이용되는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
3. The method of claim 2,
The at least two thresholds
And determining the filtering intensity of the deblocking filter for the depth image, which is used to distinguish whether the boundary between the macroblocks is a boundary region in the original image or due to discontinuity between pixels due to a blocking phenomenon.
제2항에 있어서,
상기 적어도 하나의 모드에 대한 정보에 기초하여 생성된 매크로 블록 단위의 차분 신호를 변환하는 단계; 및
상기 변환된 차분 신호를 양자화한 양자화 계수를 기초로, 상기 적어도 두 개의 임계치를 결정하는 단계
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
3. The method of claim 2,
Converting a difference signal in units of macro blocks generated based on the information on the at least one mode; And
Determining the at least two thresholds based on the quantized coefficients of the quantized transformed differential signal
And determining a filtering strength of the deblocking filter for the depth image.
제1항에 있어서,
상기 복수의 부호화/복호화 모드들은
상기 매크로 블록들 사이의 경계에 대한 디블록킹 필터링(deblocking filtering)을 수행하지 않는 제1 모드 및 상기 필터링 강도에 기초하여 상기 디블록킹을 수행하는 제2 모드를 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
The plurality of encoding / decoding modes
A deblocking filter for a depth image including a first mode that does not perform deblocking filtering on a boundary between the macroblocks and a second mode that performs the deblocking based on the filtering strength. How to determine the filtering strength.
제1항에 있어서,
상기 필터링 강도를 설정하는 단계는
상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 배치된 매크로 블록들 중 인트라 부호화/복호화된 블록과 인터 부호화/복호화된 블록에 대한 필터링 강도를 동일하게 설정하는 단계
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
The setting of the filtering strength
Based on the information on the at least one mode, the filtering strength of the intra-encoded / decoded block and the inter-encoded / decoded block among the macroblocks disposed on both sides based on the boundary between the macroblocks is equal to each other. Steps to set up
And determining a filtering strength of the deblocking filter for the depth image.
제1항에 있어서,
상기 깊이 영상을 촬영하는 카메라의 배치에 따라 수평 방향 혹은 수직 방향으로 상기 필터링 강도를 다르게 설정하는 단계
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
Setting the filtering intensity differently in a horizontal direction or a vertical direction according to an arrangement of a camera for capturing the depth image;
And determining a filtering strength of the deblocking filter for the depth image.
제1항에 있어서,
상기 매크로 블록들 중 인트라 부호화/복호화된 매크로 블록의 방향성에 기초하여 상기 필터링 강도를 설정하는 단계
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
Setting the filtering strength based on a directionality of an intra coded / decoded macroblock among the macroblocks
And determining a filtering strength of the deblocking filter for the depth image.
제1항에 있어서,
상기 깊이 영상의 슬라이스 타입을 고려하여 상기 필터링 강도를 결정하는 단계
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
Determining the filtering intensity in consideration of the slice type of the depth image
And determining a filtering strength of the deblocking filter for the depth image.
제1항에 있어서,
상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 위치하는 매크로 블록들에 잔차 신호(residual signal)가 없고, 연속하는 인트라 부호화/복호화된 매크로 블록의 방향성이 같은 경우, 상기 방향성에 기초하여 수평 디블록킹 필터 혹은 수직 디블록킹 필터에 대한 필터링 강도를 설정하는 단계
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
If there is no residual signal in the macro blocks positioned on both sides of the boundary between the macro blocks, and the directionality of consecutive intra coded / decoded macro blocks is the same, horizontal deblocking based on the directionality Setting the filtering strength for the filter or vertical deblocking filter
And determining a filtering strength of the deblocking filter for the depth image.
제1항에 있어서,
상기 적어도 하나의 부호화 모드를 결정하는 단계는
비트율-왜곡 최적화 모델(bit Rate-Distortion Optimization(RDO) model)에 기초하여 상기 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정하는 단계
를 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 방법.
The method of claim 1,
Determining the at least one encoding mode
Determining at least one of a plurality of encoding / decoding modes for the depth image based on a bit rate-distortion optimization (RDO) model
And determining a filtering strength of the deblocking filter for the depth image.
제1항 내지 제11항 중 어느 한 항의 방법을 수행하는 프로그램을 기록하는, 컴퓨터 판독 가능 기록매체.A computer-readable recording medium for recording a program for performing the method of any one of claims 1 to 11. 깊이 영상에 대한 복수의 부호화/복호화 모드들 중 적어도 하나의 모드를 결정하는 모드 결정부;
상기 결정된 적어도 하나의 모드에 대한 정보를 획득하는 획득부; 및
상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 깊이 영상의 매크로 블록들 사이의 경계에 대한 디블록킹 필터의 필터링 강도(boundary strength)를 설정하는 설정부
를 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
A mode determination unit to determine at least one mode among a plurality of encoding / decoding modes for the depth image;
An acquisition unit for obtaining information about the determined at least one mode; And
A setting unit configured to set a filtering strength of a deblocking filter on a boundary between macroblocks of the depth image based on the at least one mode information;
Device for determining the filtering strength of the deblocking filter for a depth image comprising a.
제13항에 있어서,
인접하는 깊이 영상의 매크로 블록들에서 서로 연속하는 제1 화소 및 제2 화소 간의 차이에 대한 적어도 두 개의 임계치를 기초로 상기 깊이 영상에 대한 디블록킹 필터링의 수행 여부를 판단하는 판단부
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
14. The method of claim 13,
Determination unit for determining whether or not to perform the deblocking filtering on the depth image based on at least two thresholds for the difference between the first pixel and the second pixel continuous in the macroblocks of the adjacent depth image
Apparatus for determining the filtering strength of the deblocking filter for a depth image further comprising.
제14항에 있어서,
상기 적어도 하나의 모드에 대한 정보에 기초하여 생성된 매크로 블록 단위의 차분 신호를 변환하는 변환부; 및
상기 변환된 차분 신호를 양자화한 양자화 계수를 기초로, 상기 적어도 두 개의 임계치를 결정하는 임계치 결정부
를 더 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
15. The method of claim 14,
A conversion unit for converting a difference signal in units of macro blocks generated based on the information on the at least one mode; And
A threshold determination unit that determines the at least two thresholds based on the quantized coefficients of the quantized transformed differential signal
Apparatus for determining the filtering strength of the deblocking filter for a depth image further comprising.
제13항에 있어서,
상기 복수의 부호화/복호화 모드들은
상기 매크로 블록들 사이의 경계에 대한 디블록킹 필터링(deblocking filtering)을 수행하지 않는 제1 모드 및 상기 필터링 강도에 기초하여 상기 디블록킹을 수행하는 제2 모드를 포함하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
14. The method of claim 13,
The plurality of encoding / decoding modes
A deblocking filter for a depth image including a first mode that does not perform deblocking filtering on a boundary between the macroblocks and a second mode that performs the deblocking based on the filtering strength. Device for determining filtering strength.
제13항에 있어서,
상기 설정부는
상기 적어도 하나의 모드에 대한 정보를 기초로, 상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 배치된 매크로 블록들 중 인트라 부호화된 블록과 인터 부호화/복호화된 블록에 대한 필터링 강도를 동일하게 설정하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
14. The method of claim 13,
The setting unit
On the basis of the information on the at least one mode, to set the same filtering strength for the intra coded block and the inter coded / decoded block among the macro blocks arranged on both sides based on the boundary between the macro blocks; A device for determining the filtering strength of a deblocking filter for depth images.
제14항에 있어서,
상기 설정부는
상기 깊이 영상을 촬영하는 카메라의 배치에 따라 수평 방향 혹은 수직 방향으로 상기 필터링 강도를 다르게 설정하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
15. The method of claim 14,
The setting unit
And an apparatus for determining a filtering strength of a deblocking filter for a depth image in which the filtering intensity is set differently in a horizontal direction or a vertical direction according to the arrangement of the camera that captures the depth image.
제14항에 있어서,
상기 설정부는
상기 매크로 블록들 중 인트라 부호화/복호화된 매크로 블록의 방향성에 기초하여 상기 필터링 강도를 설정하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
15. The method of claim 14,
The setting unit
And an apparatus for determining a filtering strength of a deblocking filter for a depth image that sets the filtering strength based on a direction of an intra coded / decoded macroblock among the macroblocks.
제14항에 있어서,
상기 설정부는
상기 매크로 블록들 사이의 경계를 기준으로 양쪽에 위치하는 매크로 블록들에 잔차 신호(residual signal)가 없고, 연속하는 인트라 부호화/복호화된 매크로 블록의 방향성이 같은 경우, 상기 방향성에 기초하여 수평 디블록킹 필터 혹은 수직 디블록킹 필터에 대한 필터링 강도를 설정하는 깊이 영상을 위한 디블록킹 필터의 필터링 강도를 결정하는 장치.
15. The method of claim 14,
The setting unit
If there is no residual signal in the macro blocks positioned on both sides of the boundary between the macro blocks, and the directionality of consecutive intra coded / decoded macro blocks is the same, horizontal deblocking based on the directionality A device for determining the filtering strength of a deblocking filter for a depth image that sets the filtering strength for a filter or a vertical deblocking filter.
KR1020130112348A 2012-10-09 2013-09-23 Method and apparatus of determining a filtering strength of deblocking filtering for depth image KR20140046371A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201261711362P 2012-10-09 2012-10-09
US61/711,362 2012-10-09

Publications (1)

Publication Number Publication Date
KR20140046371A true KR20140046371A (en) 2014-04-18

Family

ID=50687202

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130112348A KR20140046371A (en) 2012-10-09 2013-09-23 Method and apparatus of determining a filtering strength of deblocking filtering for depth image

Country Status (1)

Country Link
KR (1) KR20140046371A (en)

Similar Documents

Publication Publication Date Title
US8165195B2 (en) Method of and apparatus for video intraprediction encoding/decoding
JP5401009B2 (en) Video intra prediction encoding and decoding method and apparatus
US9118925B2 (en) Efficient rounding for deblocking
CN106170092B (en) Fast coding method for lossless coding
KR101291196B1 (en) Video encoding method and apparatus, and video decoding method and apparatus
KR100727969B1 (en) Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method
KR100727970B1 (en) Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method
KR102138828B1 (en) Method and Apparatus for image encoding
KR101857755B1 (en) Methods of decoding using skip mode and apparatuses for using the same
KR20070001621A (en) Intra-coding apparatus and method
WO2008084996A1 (en) Method and apparatus for deblocking-filtering video data
KR20090095317A (en) Method and apparatus for encoding and decoding image
KR20150027530A (en) High efficiency video coding intra frame prediction apparatus and method thereof
KR20130026436A (en) Image encoding device, image decoding device, image encoding method, and image decoding method
KR20130085392A (en) Method and apparatus for encoding and decoding video to enhance intra prediction process speed
KR20130085393A (en) Method and apparatus for encoding video with restricting bi-directional prediction and block merging, method and apparatus for decoding video
KR20180111377A (en) A method of video processing for processing coding tree units and coding units, a method and appratus for decoding and encoding video using the processing.
KR20140113854A (en) Method and apparatus for encoding and decoding video
US8948264B2 (en) Method and apparatus for multi-view video encoding using chrominance compensation and method and apparatus for multi-view video decoding using chrominance compensation
KR20120083209A (en) Depth map coding/decoding apparatus and method
KR20140089488A (en) Method and apparatus for encoding video, and method and apparatus for decoding video
KR101781300B1 (en) Fast video encoding method based on temporal correlation
CN110913232A (en) Selection method and device of TU division mode and readable storage medium
KR20170132038A (en) Method of Adaptive Loof Filtering based on block for processing video, video encoding and decoding thereof
Yang et al. Description of video coding technology proposal by Huawei Technologies & Hisilicon Technologies

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application