KR20120083200A - Depth map coding/decoding apparatus and method - Google Patents
Depth map coding/decoding apparatus and method Download PDFInfo
- Publication number
- KR20120083200A KR20120083200A KR1020110092912A KR20110092912A KR20120083200A KR 20120083200 A KR20120083200 A KR 20120083200A KR 1020110092912 A KR1020110092912 A KR 1020110092912A KR 20110092912 A KR20110092912 A KR 20110092912A KR 20120083200 A KR20120083200 A KR 20120083200A
- Authority
- KR
- South Korea
- Prior art keywords
- mode
- intra
- encoding
- modes
- candidate
- 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.)
- Pending
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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/182—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel
-
- 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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
-
- 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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/597—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
깊이 영상 부호화/복호화 장치 및 방법을 제안한다. 일 측면에 따른 깊이영상 부호화 장치는 부호화된 주변의 매크로 블록들을 이용해서 현재 매크로 블록의 방향성을 예측하고, 예측한 방향성을 이용해서 인트라 부호화하는 인트라 예측 모드를 인트라 후보 부호화 모드 중에 하나로 포함하고, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 깊이영상의 특성에 맞게 정렬해서 부호화 한다.We propose a depth image encoding / decoding apparatus and method. According to an aspect, an apparatus for encoding a depth image includes an intra prediction mode that predicts the direction of a current macro block using encoded macro blocks, and intra-codes the intra direction using the predicted direction as one of intra candidate encoding modes. Priorities of the encoding modes included in the candidate encoding modes and the inter candidate encoding modes are encoded according to the characteristics of the depth image.
Description
기술분야는 깊이 영상을 부호화하고 복호화하기 위한 장치 및 방법에 관한 것이다.TECHNICAL FIELD The present invention relates to an apparatus and a method for encoding and decoding a depth image.
입체 영상이란 깊이 및 공간에 대한 형상 정보를 동시에 제공하는 3차원 영상을 말한다. 이때, 단순히 좌우 눈에 각각 다른 시점의 영상을 제공하는 스테레오와는 달리 관찰자가 보는 시점을 달리할 때마다 다른 방향에서 본 것과 같은 영상을 제공하기 위해서는, 여러 시점에서 촬영한 영상이 필요하다. 여러 시점에서 촬영한 영상을 이용한 응용분야는 자유시점 TV, 3차원 TV 등이 존재한다. 자유시점 TV는 동일 장면에 대해 다시점 영상을 획득 후 분석하여 사물을 바라보는 시점을 자유롭게 변경할 수 있으며, 3차원 TV의 경우 사람의 양쪽 눈에 비치는 영상을 달리함으로써 사실적인 3차원 깊이를 인지할 수 있도록 한다. 그러나 여러 시점에서 찍은 영상은 데이터량이 방대하기 때문에 압축하여 전송하려면 네트워크 인프라, 지상파 대역폭 등의 확보에 많은 어려움이 따른다.A stereoscopic image refers to a 3D image that simultaneously provides shape information about depth and space. In this case, unlike stereo, which provides images of different viewpoints to the left and right eyes, in order to provide the same image as viewed from different directions every time the observer views a different image, images captured from various viewpoints are required. There are free view TVs, 3D TVs, and other application fields using images captured from various viewpoints. Free-view TV can freely change the point of view of objects by acquiring and analyzing multi-view images of the same scene, and in the case of 3-D TVs, it is possible to recognize realistic 3D depth by changing the images reflected by both eyes of a person. To help. However, since images taken at various points of view have a large amount of data, it is difficult to secure network infrastructure and terrestrial bandwidth in order to compress and transmit them.
여러 시점의 비디오를 모두 압축 전송하는 대신 깊이영상을 만들어, 여러 시점의 영상 중에서 일부 시점의 영상과 함께 압축 전송하면 압축시 발생하는 데이터량을 줄일 수 있다. 깊이영상은 칼라영상에서 물체가 시청자와 떨어져 있는 거리를 0~255의 값으로 나타낸 영상이기 때문에, 그 특징이 칼라영상과 비슷하다. 하지만, 깊이영상은 칼라영상과 달리 평탄한(flat) 특성을 가진다. 따라서, 깊이영상에 더 효과적인 부호화 방법이 필요로 하다.Instead of compressing and transmitting all the videos from multiple viewpoints, a depth image can be created and compressed together with the images of some viewpoints among the images of multiple viewpoints to reduce the amount of data generated during compression. Since the depth image is an image representing a distance of an object from the viewer in the color image with a value of 0 to 255, the feature is similar to the color image. However, the depth image has a flat characteristic unlike the color image. Therefore, there is a need for a more effective coding method for depth images.
일 측면에 있어서, 부호화된 주변의 매크로 블록들을 이용해서 현재 매크로 블록의 방향성을 예측하는 인트라 모드 예측부와, 상기 현재 매크로 블록을 인트라 후보 부호화 모드들 별로 인트라 부호화 하는 인트라 부호화부와, 상기 현재 매크로 블록을 인터 후보 부호화 모드들 별로 인터 부호화 하는 인터 부호화부 및 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 고려해서 상기 부호화 모드들 중에서 율-왜곡 최적화(RDO: Rate-Distortion Optimization) 비용이 가장 작은 부호화 모드를 상기 현재 매크로 블록의 부호화 모드로 결정하는 부호화 모드 결정부를 포함하는 깊이 영상 부호화 장치가 제공되고, 이때, 상기 인트라 후보 부호화 모드들에, 상기 예측한 방향성을 이용해서 인트라 부호화하는 인트라 예측 모드가 포함된다.In one aspect, an intra mode prediction unit for predicting the direction of the current macro block using the encoded neighboring macro blocks, an intra encoder for intra coding the current macro block for each of the intra candidate encoding modes, and the current macro An inter encoder which inter-codes a block for each inter candidate encoding modes, and rate-distortion optimization among the encoding modes in consideration of the priority of each of the intra candidate encoding modes and the encoding modes included in the inter candidate encoding modes. There is provided a depth image encoding apparatus including an encoding mode determiner configured to determine an encoding mode having a lowest RDO (cost-distortion optimization) cost as an encoding mode of the current macroblock, wherein the intra candidate encoding modes are included in the prediction candidates. Intra coding using one direction Intra prediction mode is included.
이때, 상기 인트라 예측 모드는, 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고, 상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 부호화해서 복호화 장치로 전달하지 않는 모드이고, 상기 인트라 다이렉트 모드는 상기 예측한 방향성 정보를 부호화해서 상기 복호화 장치로 전달하지 않는 모드이고, 상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드일 수 있다.In this case, the intra prediction mode includes at least one of an intra skip mode, an intra direct mode, and an intra direction mode, and the intra skip mode encodes the predicted directional information and the residual signal. The intra direct mode is a mode in which the predicted directional information is not encoded and transmitted to the decoding apparatus, and the intra direction mode may be a mode in which no residual signal is transmitted to the decoding apparatus. have.
이때, 상기 인트라 스킵 모드는, 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 중에서 최상위 우선순위 또는 차상위의 우선순위일 수 있다.In this case, 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.
이때, 상기 예측한 방향성은, 상기 현재 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 현재 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나일 수 있다.In this case, the predicted directionality is a vertical direction extending vertically from an upper boundary pixel of the current macroblock to generate a prediction block, and horizontally extending from a left boundary pixel of the current macroblock to generate a prediction block. A DC direction for generating a prediction block based on a horizontal direction and an average of the left boundary pixel and the upper boundary pixel of the current macro block, and the prediction is performed by considering the upper boundary pixel and the left boundary pixel of the current macro block together. It may be one of plane directions for generating a block.
이때, 상기 인트라 후보 부호화 모드들의 종류는, 매크로 블록의 사이즈의 종류, 방향성 정보의 부호화 여부 및 매크로 블록의 밝기성분에 대한 잔차신호를 존재여부 중 적어도 하나의 차이에 따라 구분될 수 있다.In this case, the types of intra candidate encoding modes may be classified according to a difference between at least one of the size of the macro block, whether the directional information is encoded, and whether there is a residual signal for the brightness component of the macro block.
이때, 상기 인터 후보 부호화 모드들은 매크로 블록 당 하나의 움직임 벡터를 참조하고, 상기 인터 후보 부호화 모드들의 종류는 매크로 블록의 사이즈의 종류, 움직임 벡터의 부호화 여부 및 잔차신호의 부호화 여부를 중에서 적어도 하나의 차이에 따라 구분될 수 있다.In this case, the inter candidate encoding modes refer to one motion vector per macroblock, and the type of the inter candidate encoding modes includes at least one of a size of a macroblock, whether a motion vector is encoded, and whether a residual signal is encoded. It can be classified according to the difference.
이때, 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위는, 상기 인트라 후보 부호화 모드들이 상기 인터 후보 부호화 모드들보다 우선순위가 높게 설정될 수 있다.In this case, the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes may be set to have a higher priority than the inter candidate encoding modes.
이때, 상기 인트라 후보 부호화 모드들 간의 우선순위는, 매크로 블록의 사이즈가 클 수록 우선순위가 높게 설정되고, 방향성 정보를 부호화 하지 않는 모드가 방향성 정보를 부호화 하는 모드보다 우선순위가 높게 설정되고, 잔차신호를 부호화 하지 않는 모드가 잔차신호를 부호화 하는 모드보다 우선순위가 높게 설정되고, 방향성이 있는 모드가 방향성이 없는 모드보다 우선순위가 높게 설정될 수 있다.In this case, the priority between the intra candidate encoding modes is set to a higher priority as the size of the macroblock is larger, and a mode that does not encode the directional information is set to have a higher priority than a mode that encodes the directional information, and a residual The mode in which no signal is encoded may be set to have a higher priority than the mode in which the residual signal is encoded, and the mode having a directionality may be set to have a higher priority than a mode having no directionality.
이때, 상기 인터 후보 부호화 모드들 간의 우선순위는, 매크로 블록의 사이즈가 클 수록 우선순위가 높게 설정되고, 움직임 벡터를 부호화 하지 않는 모드가 부호화 하는 모드보다 우선순위가 높게 설정되고, 잔차신호를 부호화 하지 않는 모드가 잔차신호를 부호화 하는 모드보다 우선순위가 높게 설정될 수 있다.In this case, the priority between the inter candidate encoding modes is set to a higher priority as the size of the macroblock is larger, a mode not encoding a motion vector is set to a higher priority than a coding mode, and the residual signal is encoded. A mode that does not have a higher priority may be set than a mode that encodes a residual signal.
이때, 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위에 관한 정보는, 기설정되거나 또는 깊이 영상을 부호화할 때 정의되어 복호화 장치로 송신될 수 있다.In this case, the information about the priority of each of the intra candidate encoding modes and the encoding modes included in the inter candidate encoding modes may be preset or defined when encoding a depth image and transmitted to the decoding apparatus.
이때, 상기 부호화 모드 결정부는, 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 부호화 모드들이 최종 결정된 빈도에 따라 변경할 수 있다.In this case, the encoding mode determiner may change the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes according to a frequency at which encoding modes are finally determined.
이때, 현재 매크로 블록은 깊이영상의 매크로 블록, 흑백영상의 매크로 블록, 평탄한 특성을 가진 칼라영상의 매크로 블록 또는 엑스레이 영상의 매크로 블록 중 하나일 수 있다.In this case, the current macro block may be one of a macro block of a depth image, a macro block of a black and white image, a macro block of a color image having a flat characteristic, or a macro block of an X-ray image.
이때, 상기 예측 블록을 이용해서 복원된 블록을 필터링하여 블록킹 현상을 제거하는 디블록킹 필터부를 더 포함하고, 상기 디블록킹 필터부는, 블록의 경계를 기준으로 양쪽의 블록 중에서 하나라도 상기 인트라 부호화 되었으면, 블록의 경계를 기준으로 양쪽 블록 모두가 상기 인터 부호화 된 경우 보다 상대적으로 강하게 필터링할 수 있다.The deblocking filter unit may further include a deblocking filter unit to remove a blocking phenomenon by filtering the reconstructed block by using the prediction block, and the deblocking filter unit may be intra-coded from at least one of both blocks on the basis of a block boundary. On the basis of the boundary of the block, both blocks may be filtered relatively more strongly than the case where the inter coding is performed.
일 측면에 있어서, 수신한 부호화된 매크로 블록의 부호화 모드를 확인하는 부호화 모드 복원부와, 상기 부호화된 매크로 블록의 부호화 모드가 인트라 예측 모드이면 복호화한 주변의 매크로 블록들을 이용해서 상기 부호화된 매크로 블록의 방향성을 예측하는 인트라 모드 복원부 및 상기 예측한 방향성을 이용해서 예측 블록을 생성하는 인트라 복호화부를 포함하는 깊이 영상 복호화 장치가 제공된다.The encoded macroblock is encoded by using an encoding mode reconstruction unit configured to identify an encoding mode of the received encoded macroblock, and neighboring macroblocks decoded when the encoding mode of the encoded macroblock is an intra prediction mode. There is provided a depth image decoding apparatus including an intra mode reconstruction unit for predicting a directionality of a and an intra decoder for generating a prediction block using the predicted directionality.
이때, 상기 부호화 모드 복원부는, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 정보를 이용해서 상기 부호화된 매크로 블록의 부호화 모드를 확인하고, 상기 인트라 예측 모드는 상기 인트라 후보 부호화 모드들에 포함될 수 있다.In this case, the encoding mode reconstruction unit identifies the encoding mode of the encoded macroblock by using priority information of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes, and the intra prediction mode is determined as the above. It may be included in intra candidate encoding modes.
이때, 상기 부호화 모드 복원부는, 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 확인된 부호화 모드들의 빈도에 따라 변경할 수 있다.In this case, the encoding mode reconstruction unit 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 this case, 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 a depth image and may be received by the encoding apparatus.
이때, 상기 예측한 방향성은, 상기 부호화된 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 부호화된 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나일 수 있다.In this case, the predicted directionality extends vertically from an upper boundary pixel of the coded macroblock to generate a prediction block, and extends horizontally from a left boundary pixel of the coded macroblock to expand the prediction block. A horizontal direction to generate and a DC direction to generate a prediction block with an average of the upper boundary pixel and the left boundary pixel of the coded macro block, the upper boundary pixel and the left boundary pixel of the coded macro block Considered together, it may be one of the plane directions for generating the prediction block.
이때, 상기 인트라 예측 모드는, 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고, 상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 부호화 장치로부터 제공받지 않는 모드이고, 상기 인트라 다이렉트 모드는 잔차신호를 상기 부호화 장치로부터 수신하고 상기 예측한 방향성 정보는 상기 부호화 장치로부터 제공받지 않는 모드이고, 상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드일 수 있다.In this case, the intra prediction mode includes at least one of an intra skip mode, an intra direct mode, and an intra direction mode, and the intra skip mode encodes the predicted directional information and the residual signal. The intra direct mode is a mode that is not provided from an apparatus, the intra direct mode is a mode that receives a residual signal from the encoding apparatus, and the predicted directional information is not provided from the encoding apparatus, and the intra direction mode transmits a residual signal to the decoding apparatus. The mode may not be.
이때, 상기 예측 블록을 이용해서 복원된 깊이 영상을 필터링하여 블록킹 현상을 제거하는 디블록킹 필터부를 더 포함하고, 상기 디블록킹 필터부는, 블록의 경계를 기준으로 양쪽의 블록 중에서 하나라도 인트라 부호화 되었으면, 블록의 경계를 기준으로 양쪽 블록 모두가 인터 부호화 된 경우 보다 상대적으로 강하게 필터링할 수 있다.The deblocking filter unit may further include a deblocking filter unit configured to remove a blocking phenomenon by filtering the reconstructed depth image by using the prediction block, wherein the deblocking filter unit is intra-coded from at least one of both blocks based on a block boundary. Based on the boundary of the block, both blocks may be filtered relatively more strongly than the case where both blocks are inter coded.
일 측면에 있어서, 부호화된 주변의 매크로 블록들을 이용해서 현재 매크로 블록의 방향성을 예측하는 단계와, 상기 현재 매크로 블록을 인트라 후보 부호화 모드들 별로 인트라 부호화 하는 단계와, 상기 현재 매크로 블록이 P-픽처 또는 B-픽처에 대응하는 매크로 블록이면, 상기 현재 매크로 블록을 인터 후보 부호화 모드들 별로 인터 부호화 하는 단계 및 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 고려해서 상기 부호화 모드들 중에서 율-왜곡 최적화(RDO: Rate-Distortion Optimization) 비용이 가장 작은 부호화 모드를 상기 현재 매크로 블록의 부호화 모드로 결정하는 단계를 포함하는 깊이 영상 부호화 방법이 제공되고, 이때, 상기 인트라 후보 부호화 모드는, 상기 예측한 방향성을 이용해서 인트라 부호화하는 인트라 예측 모드를 포함한다.In an aspect, the method may further include estimating a directionality of a current macroblock using encoded neighboring macroblocks, intra-coding the current macroblock according to intra candidate encoding modes, and wherein the current macroblock is a P-picture. Or, if the macro block corresponds to a B-picture, inter encoding the current macro block according to inter candidate encoding modes and prioritizing each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes. In consideration of this, a depth image encoding method including determining an encoding mode having a lowest rate-distortion optimization (RDO) cost among the encoding modes as an encoding mode of the current macroblock is provided. The intra candidate encoding mode uses the predicted directionality. An intra prediction mode for intra coding is included.
이때, 상기 인트라 예측 모드는, 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고, 상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 부호화해서 복호화 장치로 전달하지 않는 모드이고, 상기 인트라 다이렉트 모드는 상기 예측한 방향성 정보를 부호화해서 상기 복호화 장치로 전달하지 않는 모드이고, 상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드일 수 있다.In this case, the intra prediction mode includes at least one of an intra skip mode, an intra direct mode, and an intra direction mode, and the intra skip mode encodes the predicted directional information and the residual signal. The intra direct mode is a mode in which the predicted directional information is not encoded and transmitted to the decoding apparatus, and the intra direction mode may be a mode in which no residual signal is transmitted to the decoding apparatus. have.
이때, 상기 인트라 스킵 모드는, 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 중에서 최상위 우선순위 또는 차상위의 우선순위일 수 있다.In this case, 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.
이때, 상기 예측한 방향성은, 상기 현재 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 현재 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나일 수 있다.In this case, the predicted directionality is a vertical direction extending vertically from an upper boundary pixel of the current macroblock to generate a prediction block, and horizontally extending from a left boundary pixel of the current macroblock to generate a prediction block. A DC direction for generating a prediction block based on a horizontal direction and an average of the left boundary pixel and the upper boundary pixel of the current macro block, and the prediction is performed by considering the upper boundary pixel and the left boundary pixel of the current macro block together. It may be one of plane directions for generating a block.
일 측면에 있어서, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 정보를 이용해서 부호화된 매크로 블록의 부호화 모드를 확인하는 단계와, 상기 부호화된 매크로 블록의 부호화 모드가 인트라 예측 모드이면 복호화한 주변의 매크로 블록들을 이용해서 상기 부호화된 매크로 블록의 방향성을 예측하는 단계 및 상기 예측한 방향성을 이용해서 예측 블록을 생성하는 단계를 포함하는 깊이 영상 복호화 방법이 제공된다.The method of
이때, 상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위에 관한 정보는, 기설정되거나 또는 깊이 영상을 복호화할 때 정의되어 부호화 장치로 수신될 수 있다.In this case, 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 a depth image and may be received by the encoding apparatus.
이때, 상기 예측한 방향성은, 상기 부호화된 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 부호화된 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나일 수있다.In this case, the predicted directionality extends vertically from an upper boundary pixel of the coded macroblock to generate a prediction block, and extends horizontally from a left boundary pixel of the coded macroblock to expand the prediction block. A horizontal direction to generate and a DC direction to generate a prediction block with an average of the upper boundary pixel and the left boundary pixel of the coded macro block, the upper boundary pixel and the left boundary pixel of the coded macro block Considered together, it may be one of plane directions for generating a prediction block.
이때, 상기 인트라 예측 모드는, 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고, 상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 부호화 장치로부터 제공받지 않는 모드이고, 상기 인트라 다이렉트 모드는 잔차신호를 상기 부호화 장치로부터 수신하고 상기 예측한 방향성 정보는 상기 부호화 장치로부터 제공받지 않는 모드이고, 상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드일 수 있다.In this case, the intra prediction mode includes at least one of an intra skip mode, an intra direct mode, and an intra direction mode, and the intra skip mode encodes the predicted directional information and the residual signal. The intra direct mode is a mode that is not provided from an apparatus, the intra direct mode is a mode that receives a residual signal from the encoding apparatus, and the predicted directional information is not provided from the encoding apparatus, and the intra direction mode transmits a residual signal to the decoding apparatus. The mode may not be.
본 발명의 실시 예들에 따르면, 부호화된 주변의 매크로 블록들을 이용해서 현재 매크로 블록의 방향성을 예측하고, 예측한 방향성을 이용해서 인트라 부호화하고, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 깊이영상의 특성에 맞게 정렬해서 부호화함으로써, 깊이영상에 대한 부호화 효율이 개선될 수 있다.According to embodiments of the present invention, the directionality of the current macroblock is predicted using the encoded macroblocks in the neighboring region, intra-coded using the predicted directionality, and included in the intra candidate encoding modes and the inter candidate encoding modes. By encoding the priorities of the encoding modes aligned with the characteristics of the depth image, the encoding efficiency of the depth image may be improved.
도 1은 다시점 영상의 부호화 구조를 도시한 도면,
도 2는 깊이영상을 부호화하는 깊이영상 부호화 장치의 구성을 도시한 도면,
도 3은 깊이영상을 복호화하는 깊이영상 복호화 장치의 구성을 도시한 도면,
도 4는 인트라 예측 모드를 위해 방향성을 예측할 때 참조하는 영역을 도시한 도면,
도 5는 깊이영상 부호화 장치에서 부호화 모드를 결정하는 과정을 도시한 흐름도,
도 6은 깊이영상 복호화 장치에서 복호화를 위해 예측블록을 생성하는 과정을 도시한 흐름도 및,
도 7은 깊이영상 부호화 장치 또는 깊이영상 복호화 장치에서 디블럭킹을 위한 필터링 강도를 설정하는 과정을 도시한 흐름도이다.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 encoding a depth image;
3 is a diagram illustrating a configuration of a depth image decoding apparatus for decoding a depth image;
4 is a diagram illustrating a region referenced when predicting directionality for an intra prediction mode;
5 is a flowchart illustrating a process of determining an encoding mode in a depth image encoding apparatus;
6 is a flowchart illustrating a process of generating a prediction block for decoding in a depth image decoding apparatus;
7 is a flowchart illustrating a process of setting a filtering strength for deblocking in a depth image encoding apparatus or a depth image decoding apparatus.
이하, 본 발명의 실시 예를 첨부된 도면을 참조하여 상세하게 설명한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명의 실시 예들은, 깊이 영상을 부호화하고 복호화하기 위한 장치 및 방법에 관한 것으로서, 상세한 설명에 앞서 부호화하는 깊이 영상의 부호화 구조 및 부호화 모드에 관해서 먼저 확인하고자 한다.Embodiments of the present invention relate to an apparatus and a method for encoding and decoding a depth image. First, a detailed description will be made of an encoding structure and an encoding mode of a depth image to be encoded.
도 1은 다시점 영상의 부호화 구조를 도시한 도면이다.1 is a diagram illustrating an encoding structure of a multiview image.
도 1을 참조하면, 깊이 영상은 다시점 영상의 부호화 구조로 구성될 수 있다. 다시점 영상의 부호화 구조는 일반적으로 인접 시점간의 참조만을 이용하여 부호화 하는 anchor frame과 시간 방향의 참조와 시점 방향의 참조를 모두 이용하는 non-anchor frame으로 구성된다. anchor frame은 random access를 위해 필요하며 시점간 예측만을 이용하여 부호화하기 때문에 기존의 단일 시점 압축과 가장 큰 특성의 차이를 보이는 부분이다. 도 1의 다시점 영상의 부호화 구조는 세개의 시점 영상을 입력(Left View, Center View, Right View) 받았을 때 GOP(Group of Picture) '8'로 부호화하는 MVC(Multiview Video Coding) 구조를 나타낸다. Referring to FIG. 1, a depth image may be configured of an encoding structure of a multiview image. In general, a coding structure of a multiview image includes an anchor frame that is encoded using only 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. The anchor frame is needed for random access and is encoded using only inter-view prediction, and thus shows the largest difference from the conventional single view compression. The encoding structure of the multi-view image of FIG. 1 represents a multiview video coding (MVC) structure in which three view images are encoded as a group of picture (GOP) '8' when three view images are input (left view, center view, right view).
다시점(Multi-view) 영상을 압축할 때는 기본적으로 시간(Temporal)축과 시점(View)축으로 계층적 B 픽처(Hierarchical B Picture) 개념을 적용하기 때문에 영상간의 많은 중복성(Redundancy)를 줄일 수 있다. 현재 도 1의 MVC 구조는 세 개의 시점 영상을 압축할 때 Left 영상을 압축한 뒤 Right 영상과 Center 영상을 차례대로 압축한다. 이 때, Left 영상은 기존의 2D 영상을 압축할 때와 같이 움직임 탐색(Motion Estimation)을 하여 이전 영상들로부터 비슷한 영역을 찾아 시간적 중복성(Temporal Redundancy)을 제거하면서 부호화된다. 하지만 Right 영상이 압축될 때에는 이미 압축된 Left 영상을 참조영상으로 이용할 수 있기 때문에 움직임 탐색을 통한 시간적 중복성뿐만 아니라 변이 탐색(Disparity Estimation)을 통하여 시점간의 중복성(View Redundancy)도 제거하면서 부호화된다. Center 영상의 경우에는 Left와 Right 영상을 참조영상으로 모두 이용할 수 있기 때문에 양방향으로 변이 탐색을 하여 시점간의 중복성을 제거할 수 있다. When compressing multi-view images, the concept of hierarchical B pictures is applied to the temporal axis and the view axis, which can reduce a lot of redundancy between images. have. The MVC structure of FIG. 1 currently compresses a left image and then compresses a right image and a center image in order to compress three viewpoint images. At this time, the left image is encoded while removing a temporal redundancy by finding a similar region from previous images by performing motion estimation (Motion Estimation) as in the case of compressing a conventional 2D image. However, when the right image is compressed, the left image that has already been compressed can be used as a reference image, so that not only temporal redundancy through motion search but also view redundancy is removed by disparity estimation. In the case of the center image, both left and right images can be used as reference images, and thus, redundancy between viewpoints can be eliminated by searching for mutation 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 without prediction from another view, such as a left image, is predicted in one direction from an image of another view, such as an I-View (Intra View), a P-View (Predictive View), or a Center image. As described above, a viewpoint that is encoded by bidirectionally predicting images from left and right viewpoints 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 is 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 predicted value by predicting the inter-image using the reference image only in the forward direction, and the B-picture refers to the reference image in both forward and reverse directions. The inter prediction is encoded using
기존의 H.264/AVC는 각 매크로블록을 부호화 할 때 다양한 매크로 블록 모드를 이용하는데 이 중 최적의 매크로 블록 모드를 선택하여 부호화하고 모드 타입에 대한 정보를 각 매크로블록마다 부호화하여 보낸다. 이때 매크로블록의 모드 정보에 이용되는 비트를 최소화하기 위해 자주 발생되고 부호화 할 비트가 적은 모드부터 우선 순위를 두어 매크로블록을 부호화 한다. <표 1>, <표 2> 및 <표 3> 각각 H.264/AVC에서 I 픽처, P 픽처, B 픽처의 frame 부호화시에 이용되는 다양한 매크로블록 형태에 대한 표이다.Conventional H.264 / AVC uses various macroblock modes when encoding each macroblock. Among them, the optimal macroblock mode is selected and encoded, and information about the mode type is encoded and sent for each macroblock. At this time, in order to minimize the bits used for the mode information of the macroblock, macroblocks are encoded by giving priority to modes that are frequently generated and have fewer bits to be encoded. <Table 1>, <Table 2> and <Table 3> are tables for various macroblock types used in frame encoding of I pictures, P pictures, and B pictures in H.264 / AVC, respectively.
[표 1][Table 1]
[표 2][Table 2]
[표 3][Table 3]
하지만, <표 1>, <표 2> 및 <표 3>에 나와 있는 매크로블록 모드들은 컬러영상의 관점에서 디자인되어 깊이 영상에서는 효과적이지 못하다. 매크로블록 모드 중 비트를 가장 효과적으로 줄일 수 있는 SKIP 모드(매크로블록 모드 정보와 잔차성분이 부호화 되지 않음)의 경우 칼라영상에 비해 깊이영상의 발생 확률이 낮은 특성을 갖는다.However, the macroblock modes shown in <Table 1>, <Table 2> and <Table 3> are designed in terms of color images and are not effective for depth images. Among the macroblock modes, the SKIP mode (macroblock mode information and residual components not encoded), which can reduce bits most effectively, has a lower probability of generating a depth image than a color image.
이는 기존의 SKIP 모드(이후, 인터 SKIP 모드라 한다.)는 인접 매크로블록의 움직임 벡터로부터 미디언 움직임 벡터값을 기반으로 예측을 하는데 깊이영상의 경우 texture가 많이 존재하지 않는 평탄(flat)한 특성이 주를 이루기 때문에 인터 SKIP 모드는 효과적이지 못하다.This conventional SKIP mode (hereinafter referred to as inter SKIP mode) makes predictions based on median motion vector values from the motion vectors of adjacent macroblocks. Because of this, inter SKIP mode is not effective.
또한, 깊이영상은 현재 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, the macroblock mode having the residual of the color difference in the conventional H.264 / AVC mode is not effective.
또한 기존의 H.264/AVC의 모드에서 움직임 벡터를 기반으로 하는 부호화 방식은 깊이영상에서 일부 texture가 존재하는 영역을 제외하고는 효과적이지 못하다. 그리고, 기존의 H.264/AVC의 B 픽처 프레임에 이용되는 Bi-prediction(양방향 예측)의 경우도 깊이영상에서는 제 성능을 발휘하지 못한다. 때문에 기존의 색상영상의 관점에서 디자인된 매크로블록의 모드들은 깊이영상에서는 상당부분 비효율적이다. 불필요하게 많은 매크로블록 모드의 수는 매크로블록 정보의 부호화에 사용되는 비트를 증가시켜 부호화 측면에서 비효율적이다. 또한 각 모드들에 대한 예측 방법 및 매크로블록간 우선순위도 색상 영상 관점에서 디자인되어 비효율적이다. Also, in the H.264 / AVC mode, the coding method based on the motion vector is not effective except for the region where some textures exist in the depth image. In addition, even in the case of Bi-prediction (bidirectional prediction) used for the B picture frame of the conventional H.264 / AVC, the depth image does not perform well. Therefore, the macroblock modes designed from the perspective of the existing color image are inefficient for the depth image. The unnecessarily large number of macroblock modes increases the bits used for encoding macroblock information, which is inefficient in terms of encoding. In addition, the prediction method for each mode and the priority between macroblocks are also inefficient in terms of color image.
이러한 문제점을 극복하기 위해 본 발명의 실시예에서 인트라 기반의 예측방법인 인트라 예측 방법을 제안하고, 인트라 예측 방법을 I 픽처, P 픽처, B 픽처의 프레임에 공통적으로 적용하고자 한다. 인트라 예측 방법은 인트라 SKIP 모드와 인트라 Direct 모드를 포함할 수 있다. 인트라 SKIP 모드와 인트라 Direct 모드의 설명은 이후 도 2의 설명에서 후술하고자 한다.In order to overcome this problem, an intra prediction method, which is an intra-based prediction method, is proposed in an embodiment of the present invention, and the intra prediction method is commonly applied to frames of an I picture, a P picture, and a B picture. The intra prediction method may include an intra SKIP mode and an intra direct mode. The description of the intra SKIP mode and the intra direct mode will be described later in the description of FIG. 2.
그리고, 깊이영상 부호화시 불필요한 매크로블록 모드를 삭제하고 깊이영상에 적합하도록 매크로블록의 우선순위를 변경할 수 있다.The macroblock mode may be deleted when the depth image is encoded, and the priority of the macroblock may be changed to be suitable for the depth image.
깊이영상 부호화 시 매크로블록 모드의 우선순위를 변경하고자 하는 경우 고려해야 할 몇 가지 사항들을 살펴보고자 한다.In order to change the priority of the macroblock mode in depth image encoding, some considerations are considered.
첫째로, 깊이영상은 현재 4:2:0 yuv 형태로 흔히 제공되는데 이 경우 색차신호의 값은 128로 모두 정해져 색차 성분에 대한 residual은 발생하지 않는다. 때문에 Intra 16x16 모드 중 색차성분에 대한 cbp가 0이 아닌 경우에 대한 모드 타입인 5~12, 17~24번은 무의미하다. 때문에 이러한 모드들을 제거하는 것이 바람직하다. I_16x16_a_b_c의 형태에서 a는 Intra 16x16의 방향성을 b는 색차성분에 대한 cbp를 c는 밝기 성분에 대한 cbp 정보를 나타낸다. First, the depth image is commonly provided in the form of 4: 2: 0 yuv. In this case, the color difference signal is all set to 128 so that no residual of the color difference component occurs. Therefore, mode types 5 ~ 12 and 17 ~ 24 are meaningless when the cbp of the color difference component is not 0 among Intra 16x16 modes. It is therefore desirable to eliminate these modes. In the form of I_16x16_a_b_c, a represents cbp information of the chrominance component of b and the brightness component of c of directionality of Intra 16x16.
둘째로, 깊이영상의 경우 복잡한 영역이 Inter 16x8, 8x16, 8x8으로 부호화 되기보다는 Intra4x4로 부호화되는 경우가 많다. 또한 깊이영상은 색상영상과 비교하면 B화면이나 P화면에서 인트라의 발생 빈도가 높은 편이다. 정리하면 다양한 매크로블록 모드에 대한 우선순위에 대한 실시예는 SKIP > Direct > Inter16x16 > Intra NxN > Inter 8x16 > Inter 16x16 > Inter P8x8 > Intra16x16 정도가 될 수 있다. 이 경우 SKIP과 Direct 모드는 제안하는 인트라 모드로 대체된 경우에 대한 실시예이다.Second, in the case of depth images, complex regions are often encoded by Intra4x4 rather than by Inter 16x8, 8x16, and 8x8. In addition, the depth image has a higher frequency of intra generation in the B screen or the P screen than the color image. In summary, an embodiment of a priority for various macroblock modes may be about SKIP> Direct> Inter16x16> Intra NxN> Inter8x16> Inter16x16> InterP8x8> Intra16x16. In this case, the SKIP and Direct modes are examples of the case where the proposed intra mode is replaced.
I 픽처, P 픽처, B 픽처 프레임에 대해 새롭게 정의한 매크로블록 모드와 그 우선 순위에 대한 실시예는 아래 <표 4>, <표 5> 및 <표 6>와 같이 구성될 수 있다.A newly defined macroblock mode for an I picture, a P picture, and a B picture frame and an embodiment thereof may be configured as shown in Tables 4, 5, and 6 below.
[표 4][Table 4]
[표 5][Table 5]
[표 6]TABLE 6
상술한 인트라 예측 모드와 우선순위의 재정렬 등의 내용은 깊이영상의 특성에 맞게 최적화되어 있다. 그러나 인트라 예측 모드의 인트라 SKIP 모드나 인트라 Direct 모드는 non-anchor 프레임의 부호화에서는 비효율적일 수 있다. 이는 기존의 SKIP 방법인 인터 SKIP 모드가 non-anchor에서는 안정적인 성능을 보이기 때문이다. 따라서 anchor와 non-anchor에 대한 SKIP 및 direct 모드의 효과적인 적용을 위해서 The above-described intra prediction mode and the reordering of the priorities are optimized according to the characteristics of the depth image. However, intra SKIP mode or intra direct mode of intra prediction mode may be inefficient in encoding non-anchor frames. This is because the existing SKIP method, inter SKIP mode, shows stable performance in non-anchor. Therefore, for the effective application of SKIP and direct modes to anchors and non-anchors
anchor와 non-anchor에서 인트라 SKIP 모드와 인터 SKIP 모드의 효율을 먼저 확인하고자 한다. 일반적으로 anchor에서는 인트라 SKIP이 효과적이고 non-anchor에서는 인터 SKIP 방법이 더 효과적이다. 때문에 이를 모두 혼용하여 상용하려면 보다 효과적인 예측 방법을 SKIP에 이용하고, 다른 예측 방법을 Direct 모드에 이용하도록 할 수도 있다. First, we will check the efficiency of intra SKIP mode and inter SKIP mode in anchor and non-anchor. In general, intra SKIP is effective in anchors and inter SKIP is more effective in non-anchors. Therefore, if you use them all together, you can use SKIP for more efficient prediction methods and other methods for direct mode.
일 실시예로 anchor 프레임의 코딩에서는 인트라 SKIP 모드를 최상위의 우선순위에 위치시키고 인터 SKIP 모드를 차상위에 우선순위 위치에 위치시킬 수 있다. 반대로 non-anchor에서는 인터 SKIP 모드를 최상위의 우선순위에 위치시키고, 인트라 SKIP 모드를 차상위의 우선순위에 위치시킬 수 있다.In one embodiment, in the coding of the anchor frame, the intra SKIP mode may be positioned at the highest priority and the inter SKIP mode may be positioned at the priority position next to the next higher priority. In contrast, in non-anchor, the inter SKIP mode can be placed at the highest priority, and the intra SKIP mode can be placed at the next higher priority.
이 외에도 다양한 조합으로 우선순위를 재정렬할 수 있다. 또한 SKIP 모드나 다른 모드 정보 뒤에 flag bit를 정의하여 인터 스킵 모드와 인트라 스킵 모드를 구분할 수도 있다. In addition, you can rearrange priorities in various combinations. In addition, a flag bit may be defined after the SKIP mode or other mode information to distinguish between the inter skip mode and the intra skip mode.
도 2는 깊이영상을 부호화하는 깊이영상 부호화 장치의 구성을 도시한 도면이다.2 is a diagram illustrating a configuration of a depth image encoding apparatus for encoding a depth image.
도 2를 참조하면, 깊이영상 부호화 장치는 인트라모드 예측부(210), 인트라 부호화부(212), 움직임 예측부(214), 인터 부호화부(216), 부호화 모드 결정부(218), 예측블록 생성부(220), 차분부(222), 변환 및 양자화부(224), 엔트로피 부호화부(226), 역변환 및 역양자화부(228), 결합부(230) 및 디블록킹 필터부(232)를 포함한다.Referring to FIG. 2, the depth image encoding apparatus includes an
인트라모드 예측부(210)는 부호화된 주변의 매크로 블록들을 이용해서 현재 매크로 블록의 방향성을 예측한다. 이때, 예측한 방향성은 현재 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 현재 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 현재 매크로 블록의 상기 위쪽 경계화소와 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 현재 매크로 블록의 위쪽 경계화소와 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나가 될 수 있다.The intra
인트라 부호화부(212)는 현재 매크로 블록을 인트라 후보 부호화 모드들 별로 인트라 부호화한다.The
인트라 후보 부호화 모드에는 예측한 방향성을 이용해서 인트라 부호화하는 인트라 예측 모드가 포함된다. 인트라 예측 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함할 수 있다. 인트라 스킵 모드는 예측한 방향성 정보와 잔치신호를 복호화 장치로 전달하지 않는 모드이고, 인트라 다이렉트 모드는 상기 예측한 방향성 정보를 상기 복호화 장치로 전달하지 않는 모드이고, 상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드이다.The intra candidate coding mode includes an intra prediction mode for intra coding 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, and 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 decodes the residual signal. This mode does not pass to the device.
그리고, 인트라 스킵 모드는 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 중에서 최상위 우선순위 또는 차상위의 우선순위이다.In addition, the intra skip mode is the highest priority or the next highest priority among the priority of each of the intra candidate encoding modes and the encoding modes included in the inter candidate encoding modes.
인트라 후보 부호화 모드들의 종류는 매크로 블록의 사이즈의 종류, 방향성 정보의 부호화 여부 및 매크로 블록의 밝기성분에 대한 잔차신호를 존재여부 중 적어도 하나의 차이에 따라 구분될 수 있다.The types of intra candidate encoding modes may be classified according to a difference between at least one of the size of the macro block, whether the directional information is encoded, and whether there is a residual signal for the brightness component of the macro block.
움직임 예측부(214)는 부호화하려는 현재 매크로 블록과 이전에 입력된 매크로 블록을 이용하여 움직임 벡터를 추정한다.The
인터 부호화부(216)는 현재 매크로 블록을 움직임 예측부(214)를 통해 추정된 움직임 벡터에 기초해서 인터 후보 부호화 모드들 별로 인터 부호화한다.The inter encoder 216 inter-encodes the current macro block according to inter candidate encoding modes based on the motion vector estimated by the
이때, 인터 후보 부호화 모드들은 매크로 블록 당 하나의 움직임 벡터를 참조해서 부호화한다. 그리고, 인터 후보 부호화 모드들의 종류는 매크로 블록의 사이즈의 종류 및 잔차신호의 부호화 여부를 고려해서 구분될 수 있다. 이때 매크로블록은 부호화 되는 최대 크기의 블록을 의미하며 16x16 보다 더 클수도 있다. In this case, the inter candidate encoding modes are encoded by referring to one motion vector per macroblock. The types of 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 macroblock means the largest block to be encoded and may be larger than 16x16.
부호화 모드 결정부(218)는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 고려해서 상기 부호화 모드들 중에서 율-왜곡 최적화(RDO: Rate-Distortion Optimization) 비용이 가장 작은 부호화 모드를 상기 현재 매크로 블록의 부호화 모드로 결정한다.The
인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위는 상기 인트라 후보 부호화 모드들이 상기 인터 후보 부호화 모드들보다 우선순위가 높게 설정된다.The priority of each of the intra candidate encoding modes and the encoding modes included in the inter candidate encoding modes is set such that the intra candidate encoding modes have a higher priority than the inter candidate encoding modes.
그리고, 인트라 후보 부호화 모드들 간의 우선순위는 매크로 블록의 사이즈가 클 수록 우선순위가 높게 설정되고, 방향성 정보를 부호화 하지 않는 모드가 방향성 정보를 부호화 하는 모드보다 우선순위가 높게 설정되고, 잔차신호를 부호화 하지 않는 모드가 잔차신호를 부호화 하는 모드보다 우선순위가 높게 설정되고, 방향성이 있는 모드가 방향성이 없는 모드보다 우선순위가 높게 설정된다.The priority between the intra candidate encoding modes is set to a higher priority as the macroblock size increases, and a mode that does not encode directional information is set to have a higher priority than a mode that encodes directional information. A mode without encoding is set to have a higher priority than a mode for encoding the residual signal, and a mode with a direction is set to have a higher priority than a mode without a direction.
인터 후보 부호화 모드들 간의 우선순위는 매크로 블록의 사이즈가 클 수록 우선순위가 높게 설정되고, 움직임 벡터를 부호화 하지 않는 모드가 부호화 하는 모드보다 우선순위가 높게 설정되고, 잔차신호를 부호화 하지 않는 모드가 잔차신호를 부호화 하는 모드보다 우선순위가 높게 설정된다.The priority between the inter candidate encoding modes is set to a higher priority as the macroblock size increases, a mode not encoding a motion vector is set higher than a mode encoding, and a mode not encoding a residual signal. Priority is set higher than the mode for encoding the residual signal.
한편, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위에 관한 정보는 기설정되거나 또는 깊이 영상을 부호화할 때 정의되어 복호화 장치로 송신될 수 있다.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
예측블록 생성부(220)는 부호화 모드 결정부(218)에서 결정한 부호화 모드를 이용해서 예측블록을 생성한다.The
차분부(222)는 현재 매크로 블록에서 예측블록을 감산하여 차분(Residual) 신호를 매크로 블록 단위로 생성한다.The
변환 및 양자화부(224)는 차분부(222)에서 생성된 차분 신호를 변환 방식을 이용하여 변환하고, 변환된 차분 신호를 양자화하여 양자화된 변환계수를 생성한다. 변환 방식의 예로는, 이산 코사인 변환(DCT: Discrete cosine transform)이 있다.The transform and
엔트로피 부호화부(226)는 양자화된 변환계수, 움직임 벡터 등의 부호화 정보를 엔트로피 부호화하여 비트스트림을 생성한다. 생성되는 비트스트림은 압축된 깊이 영상이다.The
역변환 및 역양자화부(228)는 변환 및 양자화부(224)에서 양자화된 차분 신호를 다음에 부호화되는 프레임의 예측에 이용하기 위해 역양자화하고, 역이산 코사인 변환하여 부호화 이전의 차분 신호로 복원한다. The inverse transform and
결합부(230)는 복원된 차분 신호와 예측블록 생성부(220)에서 생성된 예측블록을 가산하여 부호화 이전의 현재 매크로 블록을 복원한다.The
디블록킹 필터부(232)는 복원된 블록 또는 복원된 깊이 영상을 필터링하여 블록킹 현상을 제거한다. 디블록킹 필터부(232)는 블록의 경계를 기준으로 양쪽의 블록 중에서 하나라도 인트라 부호화 되었으면, 블록의 경계를 기준으로 양쪽 블록 모두가 인터 부호화 된 경우 보다 상대적으로 강하게 필터링 한다. 이때, 인트라 부호화는 인트라 예측 모드를 포함하고, 인트라 예측 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중 적어도 하나를 포함한다. 디블록킹 필터부(232)는 필터링의 강도를 이후 도 7과 같이 설정할 수도 있다.The
도 3은 깊이영상을 복호화하는 깊이영상 복호화 장치의 구성을 도시한 도면이다.3 is a diagram illustrating the configuration of a depth image decoding apparatus for decoding a depth image.
도 3을 참조하면, 깊이영상 복호화 장치는 엔트로피 복호화부(310), 부호화 모드 복원부(312), 움직임 복원부(314), 인터 복호화부(316), 인트라 모드 복원부(318), 인트라 복호화부(320), 역변환 및 역양자화부(322), 결합부(324) 및 디블록킹 필터부(326)를 포함한다.Referring to FIG. 3, an apparatus for decoding a depth image may include an
엔트로피 복호화부(310)는 입력되는 압축 비트스트림을 엔트로피 복호화하여 차영상의 양자화된 계수값, 움직임 벡터 등의 부호화 정보를 추출할 수 있다. The
부호화 모드 복원부(312)는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 정보를 이용해서 부호화된 매크로 블록의 부호화 모드를 확인한다.The encoding
부호화 모드 복원부(312)는 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 확인된 부호화 모드들의 빈도에 따라 변경할 수 있다.The encoding
또한, 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위에 관한 정보는 기설정되거나 또는 깊이 영상을 복호화할 때 정의되어 부호화 장치로 수신될 수도 있다.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
인터 복호화부(316)는 움직임 복원부(314)에서 확인한 움직임 벡터를 이용해서 인터 복호화하여 예측블록을 생성한다.The
인트라 모드 복원부(318)는 부호화된 매크로 블록의 부호화 모드가 인트라 예측 모드이면 복호화한 주변의 매크로 블록들을 이용해서 상기 부호화된 매크로 블록의 방향성을 예측한다. 이때, 예측한 방향성은 부호화된 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 부호화된 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 부호화된 매크로 블록의 위쪽 경계화소와 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나이다.The
인트라 모드 복원부(318)는 부호화된 매크로 블록의 부호화 모드가 인트라 후보 부호화 모드들 중 하나이면, 수신한 비트 스트림에 포함된 방향성 정보를 확인한다.If the encoding mode of the encoded macroblock is one of intra candidate encoding modes, the
인트라 복호화부(320)는 인트라 모드 복원부(318)에서 예측한 방향성 또는 확인한 방향성 정보를 이용해서 예측 블록을 생성한다.The
역변환 및 역양자화부(322)는 추출된 양자화 계수값을 매크로블록 단위로 역양자화하여 역변환에 대응하는 차분 신호의 계수값을 생성한다. 역변환 및 역양자화부(322)는 생성된 차영상의 계수값을 이산 코사인 역변환(IDCT: Invert Discrete cosine transform)하여 차분 신호를 획득할 수 있다. 이로써, 압축 비트스트림은 복호화되어 깊이 영상으로 임시 복원된다. The inverse transform and
결합부(324)는 차분 신호와 예측 블록을 더하여 깊이 영상을 복원한다. 차분 신호는 역변환 및 역양자화부(322)로부터 결합부(324)로 입력되며, 예측 블록은 인터 복호화부(316) 또는 인트라 복호화부(320)로부터 결합부(324)로 입력된다.The
디블록킹 필터부(326)는 결합부(324)에서 복원된 깊이 영상을 필터링하여 블록킹 현상을 제거한다. 디블록킹 필터부(326)는 블록의 경계를 기준으로 양쪽의 블록 중에서 하나라도 인트라 부호화 되었으면, 블록의 경계를 기준으로 양쪽 블록 모두가 인터 부호화 된 경우 보다 상대적으로 강하게 필터링 한다. 이때, 인트라 부호화는 인트라 예측 모드를 포함하고, 인트라 예측 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중 적어도 하나를 포함한다. 디블록킹 필터부(326)는 필터링의 강도를 이후 도 7과 같이 설정할 수도 있다.The
부호화 장치의 인트라 모드 예측부(210)와 복호화 장치의 인트라 모드 복원부(318)은 방향성의 예측을 아래 도 4와 같은 방법으로 예측할 수 있다.The intra
도 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
[수학식 1][Equation 1]
여기서, A_SSE는 윗 블록의 경계값의 복잡도 이고, L_SSE는 왼쪽 블록의 경계값의 복잡도 이다.Here, A_SSE is the complexity of the boundary value of the upper block, and L_SSE is the complexity of the boundary value of the left block.
<수학식 1>은 현재 매크로블록에 대한 방향성을 예측하기 위한 하나의 실시예로 예측한 방향성은 이 방법 외에도 이미 부호화 된 인접 시점의 깊이영상을 이용하거나 색상 정보를 이용하는 방법을 통해서도 예측이 가능하다. 또한 방향성의 예측 방법에는 인접 블록의 경계화소가 아닌 모드 정보나 움직임 정보 혹은 인접 블록의 edge 성분의 분석을 통해서도 예측이 가능하다. 또한 방향성 정보 획득을 위한 수식도 differnece의 제곱합이 아닌 단순합이나 분산 등 다양한 difference들을 사용할 수 있다.
실시예에 따라 제안하는 부호화 장치와 복호화 장치는 깊이영상을 부호화하고 복호화 하는데 최적화되었다. 하지만 부호화 장치와 복호화 장치는 깊이영상에 한정되지 않으며 깊이영상 뿐 아니라, 흑백영상, 엑스레이 영상과 같은 의료영상 및 평탄한 특성을 가지는 칼라영상에도 적용 가능하다.According to an embodiment, the proposed encoding apparatus and the decoding apparatus are optimized for encoding and decoding a depth image. However, the encoding apparatus and the decoding apparatus are not limited to the depth image, but may be applied not only to the depth image but also to a medical image such as a black and white image and an x-ray image and a color image having flat characteristics.
이하, 상기와 같이 구성된 본 발명에 따른 깊이영상 부호화/복호화 장치에서 인트라 예측 모드를 이용해서 깊이영상을 부호화하고 복호화하기 위한 방법을 아래에서 도면을 참조하여 설명한다.Hereinafter, a method for encoding and decoding a depth image using an intra prediction mode in the depth image encoding / decoding apparatus according to the present invention configured as described above will be described with reference to the accompanying drawings.
도 5는 깊이영상 부호화 장치에서 부호화 모드를 결정하는 과정을 도시한 흐름도이다.5 is a flowchart illustrating a process of determining an encoding mode in a depth image encoding apparatus.
도 5를 참조하면, 부호화 장치는 510단계에서 부호화할 깊이영상의 매크로 블록을 수신한다.Referring to FIG. 5, in
그리고, 부호화 장치는 512단계에서 인트라 예측 모드를 위해 부호화된 주변의 매크로 블록들을 이용해서 현재 매크로 블록의 방향성을 예측하고, 인트라 예측 모드를 제외한 나머지 인트라 후보 부호화 모드를 위해 RDO 관점에서 방향성을 결정한다.In
그리고, 부호화 장치는 514단계에서 현재 매크로 블록을 인트라 후보 부호화 모드들 별로 인트라 부호화한다.In
이때, 인트라 후보 부호화 모드는 인트라 예측 모드를 포함하고 인트라 예측 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함할 수 있다. 인트라 스킵 모드는 예측한 방향성 정보와 잔치신호를 부호화해서 복호화 장치로 전달하지 않는 모드이고, 인트라 다이렉트 모드는 상기 예측한 방향성 정보를 부호화해서 상기 복호화 장치로 전달하지 않는 모드이고, 상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드이다.In this case, the intra candidate encoding mode may include an intra prediction mode, and 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 encoded and transmitted to the decoding apparatus, and the intra direct mode is a mode in which the predicted directional information is not encoded and transmitted to the decoding apparatus. In this mode, the residual signal is not transmitted to the decoding apparatus.
그리고, 인트라 스킵 모드는 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 중에서 최상위 우선순위 또는 차상위의 우선순위이다. 인트라 후보 부호화 모드들의 종류는 매크로 블록의 사이즈의 종류, 방향성 정보의 부호화 여부 및 매크로 블록의 밝기성분에 대한 잔차신호를 존재여부 중 적어도 하나의 차이에 따라 구분될 수 있다.In addition, the intra skip mode is the highest priority or the next highest priority among the priority of each of the intra candidate encoding modes and the encoding modes included in the inter candidate encoding modes. The types of intra candidate encoding modes may be classified according to a difference between at least one of the size of the macro block, whether the directional information is encoded, and whether there is a residual signal for the brightness component of the macro block.
한편, 부호화 장치는 516단계에서 현재 매크로 블록이 P-픽처 또는 B-픽처에 대응하는 매크로 블록인지 확인한다.In
516단계의 확인결과 현재 매크로 블록이 P-픽처 또는 B-픽처에 대응하는 매크로 블록이 아니면, 부호화 장치는 520단계로 진행한다.If the current macroblock is not a macroblock corresponding to the P-picture or the B-picture, the encoding apparatus proceeds to step 520.
516단계의 확인결과 현재 매크로 블록이 P-픽처 또는 B-픽처에 대응하는 매크로 블록이면, 부호화 장치는 518단계에서 현재 매크로 블록을 인터 후보 부호화 모드들 별로 인터 부호화한다.In
그리고, 부호화 장치는 520단계에서 인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 고려해서 부호화 모드들 중에서 율-왜곡 최적화(RDO: Rate-Distortion Optimization) 비용이 가장 작은 부호화 모드를 현재 매크로 블록의 부호화 모드로 결정한다.
In
도 6은 깊이영상 복호화 장치에서 복호화를 위해 예측블록을 생성하는 과정을 도시한 흐름도이다.6 is a flowchart illustrating a process of generating a prediction block for decoding in a depth image decoding apparatus.
도 6을 참조하면, 복호화 장치는 610단계에서 부호화된 매크로 블록을 수신하면, 612단계에서 부호화된 매크로 블록에 포함된 부호화 정보를 확인해서 부호화 모드를 확인한다.Referring to FIG. 6, when the decoding apparatus receives an encoded macroblock in
그리고, 복호화 장치는 614단계에서 부호화된 매크로 블록의 부호화 모드가 인트라 모드인지 확인한다.In
614단계의 확인결과 부호화 모드가 인트라 모드가 아니면, 복호화 장치는 616단계에서 인터 모드에 따른 예측블록을 생성한다.If the encoding mode is not the intra mode in
614단계의 확인결과 부호화 모드가 인트라 모드이면, 복호화 장치는 618단계에서 부호화 모드가 인트라 예측 모드인지 확인한다.In
618단계의 확인결과 부호화 모드가 인트라 예측 모드이면, 복호화 장치는 620단계에서 복호화한 주변의 매크로 블록들을 이용해서 부호화된 매크로 블록의 방향성을 예측한다. 그리고, 복호화 장치는 622단계에서 예측한 방향성을 이용해서 예측 블록을 생성한다.In operation 618, if the encoding mode is the intra prediction mode, the decoding apparatus predicts the direction of the encoded macroblock using the neighboring macroblocks decoded in
618단계의 확인결과 부호화 모드가 인트라 예측 모드가 아니면, 즉, 부호화된 매크로 블록의 부호화 모드가 인트라 후보 부호화 모드들 중 하나이면 복호화 장치는 624단계에서 부호화 정보에 포함된 방향성 정보를 확인한다. 그리고, 복호화 장치는 626단계에서 확인한 방향성 정보를 이용해서 예측 블록을 생성한다.In operation 618, if the encoding mode is not the intra prediction mode, that is, when the encoding mode of the encoded macroblock is one of the intra candidate encoding modes, the decoding apparatus checks directional information included in the encoding information in
도 7은 깊이영상 부호화 장치 또는 깊이영상 복호화 장치에서 디블럭킹을 위한 필터링 강도를 설정하는 과정을 도시한 흐름도이다.7 is a flowchart illustrating a process of setting a filtering strength for deblocking in a depth image encoding apparatus or a depth image decoding apparatus.
도 7을 참조하면, 깊이영상 부호화 장치 또는 깊이영상 복호화 장치의 디블럭킹 필터링부는 710단계에서 경계를 기준으로 양쪽블록들 중 하나라도 인트라 부호화되었는지 여부를 확인한다. 이때, 인트라 부호화는 인트라 예측 모드를 포함하고, 인트라 예측 모드는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중 적어도 하나를 포함한다.Referring to FIG. 7, in
710단계의 확인결과 경계를 기준으로 양쪽블록들 중 하나라도 인트라 부호화되었으면, 디블럭킹 필터링부는 720단계에서 양쪽 블록 사이의 경계가 매크로 블록의 에지인지 여부를 확인한다.If at least one of both blocks is intra-encoded based on the boundary as a result of
720단계의 확인결과 경계가 매크로 블록의 에지이면, 디블럭킹 필터링부는 722단계에서 필터링 강도(BS; boundary strength)를 4로 설정한다. 이때, BS는 0에서 4까지의 값으로 설정할 수 있으며, 이중에서 0은 필터링을 하지 않는 것이고, 4는 가장 강한 필터링 강도를 나타낸다.In
720단계의 확인결과 경계가 매크로 블록의 에지가 아니면, 디블럭킹 필터링부는 724단계에서 BS를 3으로 설정한다.If the boundary of
710단계의 확인결과 경계를 기준으로 양쪽 블록들 모두 인터 부호화되었으면, 디블럭킹 필터링부는 730단계에서 경계를 기준으로 양쪽 블록들 중 하나라도 잔여 데이터가 존재하는지 확인한다.If both blocks are inter-coded based on the boundary as a result of checking in
730단계의 확인결과 잔여 데이터를 가진 블록이 존재하면, 디블럭킹 필터링부는 732단계에서 BS를 2로 설정한다.If the block having the residual data exists in
730단계의 확인결과 잔여 데이터를 가진 블록이 존재하지 않으면, 디블럭킹 필터링부는 740단계에서 양쪽 블록들의 움직임 차이가 기준값 이상이거나 양쪽 블록들이 서로 다른 프레임을 참조했는지 여부를 확인한다.If the block having the residual data does not exist as a result of checking in
740단계의 확인결과 양쪽 블록들이 움직임 차이가 기준값 이상이거나 양쪽 블록들이 서로 다른 프레임을 참조한 경우, 디블럭킹 필터링부는 742단계에서 BS를 1로 설정한다.As a result of checking in
740단계의 확인결과 양쪽 블록들이 움직임 차이가 기준값 보다 작고 양쪽 블록들이 모두 같은 프레임을 참조한 경우, 디블럭킹 필터링부는 744단계에서 BS를 0로 설정한다.As a result of checking in
도 7을 살펴보면 인트라 부호화의 경우 필터링 강도 설정은 722단계 또는 724단계 중 하나로 결정되고, 인터 부호화의 경우 필터링 강도 설정은 732단계, 742단계 또는 744단계 중 하나로 결정된다. 결정된 필터링 강도의 설정값을 비교해 보면, 인트라 부호화의 경우가 인터 부호화의 경우보다 상대적으로 더 강하게 필터링 됨을 확인할 수 있다. 따라서, 제안하는 인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중 적어도 하나를 포함하는 인트라 예측 모드는 인트라 부호화에 속함으로 인터 부호화에 비해 상대적으로 더 강한게 필터링 된다.Referring to FIG. 7, in the case of intra coding, the filtering strength setting may be determined as one of
이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.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 limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.
Claims (28)
상기 현재 매크로 블록을 인트라 후보 부호화 모드들 별로 인트라 부호화 하는 인트라 부호화부;
상기 현재 매크로 블록을 인터 후보 부호화 모드들 별로 인터 부호화 하는 인터 부호화부; 및
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 고려해서 상기 부호화 모드들 중에서 율-왜곡 최적화(RDO: Rate-Distortion Optimization) 비용이 가장 작은 부호화 모드를 상기 현재 매크로 블록의 부호화 모드로 결정하는 부호화 모드 결정부를 포함하고,
상기 인트라 후보 부호화 모드들에,
상기 예측한 방향성을 이용해서 인트라 부호화하는 인트라 예측 모드가 포함되는
깊이 영상 부호화 장치.
An intra mode predictor for predicting the direction of the current macro block using the encoded neighboring macro blocks;
An intra encoder for intra coding the current macro block according to intra candidate encoding modes;
An inter encoder for inter encoding the current macroblock according to inter candidate encoding modes; And
In consideration of the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes, an encoding mode having a smallest rate-distortion optimization (RDO) cost among the encoding modes is described. An encoding mode determiner configured to determine an encoding mode of a current macroblock,
In the intra candidate encoding modes,
An intra prediction mode for intra coding using the predicted directionality is included.
Depth video encoding device.
상기 인트라 예측 모드는,
인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고,
상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 복호화 장치로 전달하지 않는 모드이고,
상기 인트라 다이렉트 모드는 상기 예측한 방향성 정보를 상기 복호화 장치로 전달하지 않는 모드이고,
상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드인,
깊이 영상 부호화 장치.
The method of claim 1,
The intra prediction mode,
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 a decoding apparatus.
The intra direct mode is a mode in which the predicted directional information is not transmitted to the decoding apparatus.
The intra direction mode is a mode in which the residual signal is not transmitted to the decoding apparatus.
Depth video encoding device.
상기 인트라 스킵 모드는,
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 중에서 최상위 우선순위 또는 차상위의 우선순위인
깊이 영상 부호화 장치.
The method of claim 2,
The intra skip mode,
The highest priority or the next highest priority among the priorities of the encoding modes included in the intra candidate encoding modes and the inter candidate encoding modes.
Depth video encoding device.
상기 예측한 방향성은,
상기 현재 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 현재 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나인
깊이 영상 부호화 장치.
The method of claim 1,
The predicted directionality is,
A vertical direction extending vertically from an upper boundary pixel of the current macroblock to generate a prediction block, a horizontal direction extending horizontally from a left boundary pixel of the current macroblock to generate a prediction block, and the current One of a DC direction for generating a prediction block with an average of the upper boundary pixel and the left boundary pixel of the macro block, and one of the plane directions for generating the prediction block by considering the upper boundary pixel and the left boundary pixel of the current macro block together. sign
Depth video encoding device.
상기 인트라 후보 부호화 모드들의 종류는,
매크로 블록의 사이즈의 종류, 방향성 정보의 부호화 여부 및 매크로 블록의 밝기성분에 대한 잔차신호를 존재여부 중 적어도 하나의 차이에 따라 구분되는
깊이 영상 부호화 장치.
The method of claim 1,
Types of the intra candidate encoding modes are
According to the difference between at least one of the type of the size of the macroblock, whether the directional information is encoded, and the residual signal for the brightness component of the macroblock
Depth video encoding device.
상기 인터 후보 부호화 모드들은 매크로 블록 당 하나의 움직임 벡터를 참조하고,
상기 인터 후보 부호화 모드들의 종류는 매크로 블록의 사이즈의 종류, 움직임 벡터의 부호화 여부 및 잔차신호의 부호화 여부를 중에서 적어도 하나의 차이에 따라 구분되는
깊이 영상 부호화 장치.
The method of claim 1,
The inter candidate coding modes refer to one motion vector per macro block,
The types of the inter candidate encoding modes are classified according to at least one of a kind of a size of a macroblock, whether a motion vector is encoded, and whether a residual signal is encoded.
Depth video encoding device.
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위는,
상기 인트라 후보 부호화 모드들이 상기 인터 후보 부호화 모드들보다 우선순위가 높게 설정되는,
깊이 영상 부호화 장치.
The method of claim 1,
Priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes is:
Wherein the intra candidate encoding modes are set to have a higher priority than the inter candidate encoding modes.
Depth video encoding device.
상기 인트라 후보 부호화 모드들 간의 우선순위는,
매크로 블록의 사이즈가 클 수록 우선순위가 높게 설정되고,
방향성 정보를 부호화 하지 않는 모드가 방향성 정보를 부호화 하는 모드보다 우선순위가 높게 설정되고,
잔차신호를 부호화 하지 않는 모드가 잔차신호를 부호화 하는 모드보다 우선순위가 높게 설정되고,
방향성이 있는 모드가 방향성이 없는 모드보다 우선순위가 높게 설정되는
깊이 영상 부호화 장치.
The method of claim 1,
Priority between the intra candidate encoding modes,
The larger the macro block size is, the higher the priority is set.
The mode which does not encode directional information has a higher priority than the mode which encodes directional information,
The mode in which the residual signal is not encoded has a higher priority than the mode in which the residual signal is encoded.
Directional modes have a higher priority than non-directional modes.
Depth video encoding device.
상기 인터 후보 부호화 모드들 간의 우선순위는,
매크로 블록의 사이즈가 클 수록 우선순위가 높게 설정되고,
움직임 벡터를 부호화 하지 않는 모드가 부호화 하는 모드보다 우선순위가 높게 설정되고,
잔차신호를 부호화 하지 않는 모드가 잔차신호를 부호화 하는 모드보다 우선순위가 높게 설정되는
깊이 영상 부호화 장치.
The method of claim 1,
Priority between the inter candidate encoding modes,
The larger the macro block size is, the higher the priority is set.
Modes that do not encode motion vectors have a higher priority than modes that encode.
The mode in which the residual signal is not encoded has a higher priority than the mode in which the residual signal is encoded.
Depth video encoding device.
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위에 관한 정보는,
기설정되거나 또는 깊이 영상을 부호화할 때 정의되어 복호화 장치로 송신되는
깊이 영상 부호화 장치.
The method of claim 1,
The information on the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes may include:
Pre-defined or defined when encoding the depth image is transmitted to the decoding device
Depth video encoding device.
상기 부호화 모드 결정부는,
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 부호화 모드들이 최종 결정된 빈도에 따라 변경하는,
깊이 영상 부호화 장치.
The method of claim 1,
The encoding mode determiner,
Changing the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes according to a frequency at which encoding modes are finally determined;
Depth video encoding device.
상기 현재 매크로 블록은,
깊이영상의 매크로 블록, 흑백영상의 매크로 블록, 평탄한 특성을 가진 칼라영상의 매크로 블록 또는 엑스레이 영상의 매크로 블록 중 하나인
깊이 영상 부호화 장치.
The method of claim 1,
The current macro block is,
One of the macroblock of the depth image, the macroblock of the black and white image, the macroblock of the color image with flat characteristics, or the macroblock of the X-ray image,
Depth video encoding device.
상기 예측 블록을 이용해서 복원된 블록을 필터링하여 블록킹 현상을 제거하는 디블록킹 필터부를 더 포함하고,
상기 디블록킹 필터부는,
블록의 경계를 기준으로 양쪽의 블록 중에서 하나라도 상기 인트라 부호화 되었으면, 블록의 경계를 기준으로 양쪽 블록 모두가 상기 인터 부호화 된 경우 보다 상대적으로 강하게 필터링하는
깊이 영상 부호화 장치.
The method of claim 1,
The apparatus may further include a deblocking filter configured to remove a blocking phenomenon by filtering the reconstructed block by using the prediction block.
The deblocking filter unit,
If any one of both blocks is intra coded based on a block boundary, the filtering is performed more strongly than when both blocks are inter coded based on a block boundary.
Depth video encoding device.
상기 부호화된 매크로 블록의 부호화 모드가 인트라 예측 모드이면 복호화한 주변의 매크로 블록들을 이용해서 상기 부호화된 매크로 블록의 방향성을 예측하는 인트라 모드 복원부; 및
상기 예측한 방향성을 이용해서 예측 블록을 생성하는 인트라 복호화부를 포함하는
깊이 영상 복호화 장치.
An encoding mode restoration unit which checks an encoding mode of the received encoded macroblock;
An intra mode reconstruction unit predicting the directionality of the encoded macro block using the decoded neighboring macro blocks when the encoding mode of the encoded macro block is an intra prediction mode; And
And an intra decoder configured to generate a predicted block using the predicted directionality.
Depth video decoding device.
상기 부호화 모드 복원부는,
인트라 후보 부호화 모드들과 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 정보를 이용해서 상기 부호화된 매크로 블록의 부호화 모드를 확인하고,
상기 인트라 예측 모드는 상기 인트라 후보 부호화 모드들에 포함되는
깊이 영상 복호화 장치.
15. The method of claim 14,
The encoding mode recovery unit,
Identifying the encoding mode of the encoded macroblock by using priority information of respective encoding modes included in intra candidate encoding modes and inter candidate encoding modes,
The intra prediction mode is included in the intra candidate coding modes.
Depth video decoding device.
상기 부호화 모드 복원부는,
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 확인된 부호화 모드들의 빈도에 따라 변경하는,
깊이 영상 복호화 장치.
16. The method of claim 15,
The encoding mode recovery unit,
Changing the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes according to a frequency of identified encoding modes,
Depth video decoding device.
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위에 관한 정보는,
기설정되거나 또는 깊이 영상을 복호화할 때 정의되어 부호화 장치로 수신되는
깊이 영상 복호화 장치.
16. The method of claim 15,
The information on the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes may include:
Predetermined or defined when decoding the depth image and received by the encoding apparatus
Depth video decoding device.
상기 예측한 방향성은,
상기 부호화된 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 부호화된 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나인
깊이 영상 복호화 장치.
15. The method of claim 14,
The predicted directionality is,
A vertical direction extending vertically from an upper boundary pixel of the coded macroblock to generate a prediction block, a horizontal direction extending horizontally from a left boundary pixel of the coded macroblock to generate a prediction block, and A DC direction for generating a prediction block by an average of the upper boundary pixel and the left boundary pixel of the coded macro block, and generating the prediction block by considering the upper boundary pixel and the left boundary pixel of the coded macro block together One of the plane directions
Depth video decoding device.
상기 인트라 예측 모드는,
인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고,
상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 부호화 장치로부터 제공받지 않는 모드이고,
상기 인트라 다이렉트 모드는 잔차신호를 상기 부호화 장치로부터 수신하고 상기 예측한 방향성 정보는 상기 부호화 장치로부터 제공받지 않는 모드이고,
상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드인,
깊이 영상 복호화 장치.
15. The method of claim 14,
The intra prediction mode,
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 provided from an encoding device.
The intra direct mode is a mode in which a residual signal is received from the encoding apparatus and the predicted directional information is not provided from the encoding apparatus.
The intra direction mode is a mode in which the residual signal is not transmitted to the decoding apparatus.
Depth video decoding device.
상기 예측 블록을 이용해서 복원된 깊이 영상을 필터링하여 블록킹 현상을 제거하는 디블록킹 필터부를 더 포함하고,
상기 디블록킹 필터부는,
블록의 경계를 기준으로 양쪽의 블록 중에서 하나라도 인트라 부호화 되었으면, 블록의 경계를 기준으로 양쪽 블록 모두가 인터 부호화 된 경우 보다 상대적으로 강하게 필터링하는
깊이 영상 복호화 장치.
15. The method of claim 14,
The apparatus may further include a deblocking filter unit configured to remove a blocking phenomenon by filtering the reconstructed depth image by using the prediction block.
The deblocking filter unit,
If any one of the two blocks is intra coded based on the boundary of the block, the filtering is performed more strongly than the case where both blocks are inter coded based on the boundary of the block.
Depth video decoding device.
상기 현재 매크로 블록을 인트라 후보 부호화 모드들 별로 인트라 부호화 하는 단계;
상기 현재 매크로 블록이 P-픽처 또는 B-픽처에 대응하는 매크로 블록이면, 상기 현재 매크로 블록을 인터 후보 부호화 모드들 별로 인터 부호화 하는 단계; 및
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위를 고려해서 상기 부호화 모드들 중에서 율-왜곡 최적화(RDO: Rate-Distortion Optimization) 비용이 가장 작은 부호화 모드를 상기 현재 매크로 블록의 부호화 모드로 결정하는 단계를 포함하고,
상기 인트라 후보 부호화 모드는,
상기 예측한 방향성을 이용해서 인트라 부호화하는 인트라 예측 모드를 포함하는
깊이 영상 부호화 방법.
Predicting the direction of the current macro block using the encoded neighboring macro blocks;
Intra coding the current macro block according to intra candidate encoding modes;
If the current macro block is a macro block corresponding to a P-picture or a B-picture, inter encoding the current macro block according to inter candidate encoding modes; And
In consideration of the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes, an encoding mode having a smallest rate-distortion optimization (RDO) cost among the encoding modes is described. Determining the encoding mode of the current macroblock;
The intra candidate encoding mode is
An intra prediction mode for intra coding using the predicted directionality;
Depth image coding method.
상기 인트라 예측 모드는,
인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고,
상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 부호화해서 복호화 장치로 전달하지 않는 모드이고,
상기 인트라 다이렉트 모드는 상기 예측한 방향성 정보를 부호화해서 상기 복호화 장치로 전달하지 않는 모드이고,
상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드인,
깊이 영상 부호화 방법.
The method of claim 21,
The intra prediction mode,
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 encoded and transmitted to the decoding apparatus.
The intra direct mode is a mode in which the predicted directional information is not encoded and transmitted to the decoding apparatus.
The intra direction mode is a mode in which the residual signal is not transmitted to the decoding apparatus.
Depth image coding method.
상기 인트라 스킵 모드는,
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위 중에서 최상위 우선순위 또는 차상위의 우선순위인
깊이 영상 부호화 방법.
The method of claim 22,
The intra skip mode,
The highest priority or the next highest priority among the priorities of the encoding modes included in the intra candidate encoding modes and the inter candidate encoding modes.
Depth image coding method.
상기 예측한 방향성은,
상기 현재 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 현재 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 현재 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나인
깊이 영상 부호화 방법.
The method of claim 21,
The predicted directionality is,
A vertical direction extending vertically from an upper boundary pixel of the current macroblock to generate a prediction block, a horizontal direction extending horizontally from a left boundary pixel of the current macroblock to generate a prediction block, and the current One of a DC direction for generating a prediction block with an average of the upper boundary pixel and the left boundary pixel of the macro block, and one of the plane directions for generating the prediction block by considering the upper boundary pixel and the left boundary pixel of the current macro block together. sign
Depth image coding method.
상기 부호화된 매크로 블록의 부호화 모드가 인트라 예측 모드이면 복호화한 주변의 매크로 블록들을 이용해서 상기 부호화된 매크로 블록의 방향성을 예측하는 단계: 및
상기 예측한 방향성을 이용해서 예측 블록을 생성하는 단계를 포함하는
깊이 영상 복호화 방법.
Identifying an encoding mode of an encoded macroblock using priority information of respective encoding modes included in the intra candidate encoding modes and the inter candidate encoding modes;
Estimating the directionality of the encoded macroblock using the decoded neighboring macroblocks if the encoding mode of the encoded macroblock is an intra prediction mode:
Generating a prediction block using the predicted directionality;
Depth image decoding method.
상기 인트라 후보 부호화 모드들과 상기 인터 후보 부호화 모드들에 포함된 각 부호화 모드들의 우선순위에 관한 정보는,
기설정되거나 또는 깊이 영상을 복호화할 때 정의되어 부호화 장치로 수신되는
깊이 영상 복호화 방법.
26. The method of claim 25,
The information on the priority of each encoding mode included in the intra candidate encoding modes and the inter candidate encoding modes may include:
Predetermined or defined when decoding the depth image and received by the encoding apparatus
Depth image decoding method.
상기 예측한 방향성은,
상기 부호화된 매크로 블록의 위쪽 경계화소로부터 수직으로 확장해서 예측블록을 생성하는 수직(Vertical)방향, 상기 부호화된 매크로 블록의 왼쪽 경계화소로부터 수평으로 확장해서 예측블록을 생성하는 수평(Horizontal)방향 및 상기 부호화된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 경계화소의 평균으로 예측블록을 생성하는 DC 방향, 상기 부호호된 매크로 블록의 상기 위쪽 경계화소와 상기 왼쪽 걍계화소를 함께 고려해서 예측블록을 생성하는 Plane 방향 중 하나인
깊이 영상 복호화 방법.
26. The method of claim 25,
The predicted directionality is,
A vertical direction extending vertically from an upper boundary pixel of the coded macroblock to generate a prediction block, a horizontal direction extending horizontally from a left boundary pixel of the coded macroblock to generate a prediction block, and A prediction block is generated by considering a DC direction for generating a prediction block as an average of the upper boundary pixel and the left boundary pixel of the coded macro block, and the upper boundary pixel and the left boundary pixel of the coded macro block. One of the plane directions
Depth image decoding method.
상기 인트라 예측 모드는,
인트라 스킵(Skip) 모드, 인트라 다이렉트(Direct) 모드 및 인트라 디렉션(direction) 모드 중에서 적어도 하나를 포함하고,
상기 인트라 스킵 모드는 상기 예측한 방향성 정보와 잔치신호를 부호화 장치로부터 제공받지 않는 모드이고,
상기 인트라 다이렉트 모드는 잔차신호를 상기 부호화 장치로부터 수신하고 상기 예측한 방향성 정보는 상기 부호화 장치로부터 제공받지 않는 모드이고,
상기 인트라 디렉션 모드는 잔치신호를 복호화 장치로 전달하지 않는 모드인,
깊이 영상 복호화 방법.26. The method of claim 25,
The intra prediction mode,
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 provided from an encoding device.
The intra direct mode is a mode in which a residual signal is received from the encoding apparatus and the predicted directional information is not provided from the encoding apparatus.
The intra direction mode is a mode in which the residual signal is not transmitted to the decoding apparatus.
Depth image decoding method.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020110141112A KR20120083209A (en) | 2011-01-17 | 2011-12-23 | Depth map coding/decoding apparatus and method |
| US13/350,250 US8902982B2 (en) | 2011-01-17 | 2012-01-13 | Depth map coding and decoding apparatus and method |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020110004490 | 2011-01-17 | ||
| KR20110004490 | 2011-01-17 | ||
| US201161434594P | 2011-01-20 | 2011-01-20 | |
| US61/434,594 | 2011-01-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| KR20120083200A true KR20120083200A (en) | 2012-07-25 |
Family
ID=46714692
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020110092912A Pending KR20120083200A (en) | 2011-01-17 | 2011-09-15 | Depth map coding/decoding apparatus and method |
| KR1020110141112A Withdrawn KR20120083209A (en) | 2011-01-17 | 2011-12-23 | Depth map coding/decoding apparatus and method |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020110141112A Withdrawn KR20120083209A (en) | 2011-01-17 | 2011-12-23 | Depth map coding/decoding apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| KR (2) | KR20120083200A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015009113A1 (en) * | 2013-07-18 | 2015-01-22 | 삼성전자 주식회사 | Intra scene prediction method of depth image for interlayer video decoding and encoding apparatus and method |
| CN117376551A (en) * | 2023-12-04 | 2024-01-09 | 淘宝(中国)软件有限公司 | Video coding acceleration method and electronic equipment |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9100636B2 (en) * | 2012-09-07 | 2015-08-04 | Intel Corporation | Motion and quality adaptive rolling intra refresh |
| KR102216585B1 (en) | 2013-01-04 | 2021-02-17 | 삼성전자주식회사 | Encoding apparatus and decoding apparatus for depth map, and encoding method and decoding method |
| WO2014107038A1 (en) * | 2013-01-04 | 2014-07-10 | 삼성전자주식회사 | Encoding apparatus and decoding apparatus for depth image, and encoding method and decoding method |
| CN105659605B (en) | 2013-10-18 | 2019-05-21 | Lg 电子株式会社 | Video decoding method and apparatus for decoding multi-view video |
-
2011
- 2011-09-15 KR KR1020110092912A patent/KR20120083200A/en active Pending
- 2011-12-23 KR KR1020110141112A patent/KR20120083209A/en not_active Withdrawn
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015009113A1 (en) * | 2013-07-18 | 2015-01-22 | 삼성전자 주식회사 | Intra scene prediction method of depth image for interlayer video decoding and encoding apparatus and method |
| CN105556972A (en) * | 2013-07-18 | 2016-05-04 | 三星电子株式会社 | Intra scene prediction method of depth image for interlayer video decoding and encoding apparatus and method |
| US10284876B2 (en) | 2013-07-18 | 2019-05-07 | Samsung Electronics Co., Ltd | Intra scene prediction method of depth image for interlayer video decoding and encoding apparatus and method |
| CN117376551A (en) * | 2023-12-04 | 2024-01-09 | 淘宝(中国)软件有限公司 | Video coding acceleration method and electronic equipment |
| CN117376551B (en) * | 2023-12-04 | 2024-02-23 | 淘宝(中国)软件有限公司 | Video coding acceleration method and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20120083209A (en) | 2012-07-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8902982B2 (en) | Depth map coding and decoding apparatus and method | |
| KR101276720B1 (en) | Method for predicting disparity vector using camera parameter, apparatus for encoding and decoding muti-view image using method thereof, and a recording medium having a program to implement thereof | |
| CN101641959B (en) | Intraprediction/interprediction method and apparatus | |
| JP6446488B2 (en) | Video data decoding method and video data decoding apparatus | |
| KR20120080122A (en) | Apparatus and method for encoding and decoding multi-view video based competition | |
| CN116800961A (en) | Equipment that encodes and decodes video signals and equipment that transmits image data | |
| CN104704832B (en) | Image processing method and equipment for predicted motion vector sum difference vector | |
| KR20140019221A (en) | In-loop filtering method and apparatus using the smae | |
| KR20120066579A (en) | Apparatus and method for encoding and decoding multi-view video | |
| JP2017525314A (en) | Depth picture coding method and apparatus in video coding | |
| EP2920967A1 (en) | Method and apparatus of constrained disparity vector derivation in 3d video coding | |
| KR20170066411A (en) | Method and apparatus for compressing motion information for 3D video coding | |
| US20130271567A1 (en) | Image processing method and apparatus for predicting motion vector and disparity vector | |
| KR20120083200A (en) | Depth map coding/decoding apparatus and method | |
| KR20070033863A (en) | A parallax vector prediction method, a method and apparatus for encoding and decoding a multiview video using the method | |
| KR102105323B1 (en) | A method for adaptive illuminance compensation based on object and an apparatus using it | |
| Kitahara et al. | Multi-view video coding using view interpolation and reference picture selection | |
| KR20130118250A (en) | Apparatus and method for encdoing and decoding of depth image | |
| Yea et al. | View synthesis prediction for rate-overhead reduction in ftv | |
| Khan et al. | Early decision of CU splitting, using base view information, for low complexity MV-HEVC | |
| EP3122050A1 (en) | 3d video encoding/decoding method and device | |
| KR102133936B1 (en) | Apparatus and method for encoding/decoding for 3d video | |
| KR20120084628A (en) | Apparatus and method for encoding and decoding multi-view image | |
| KR102234851B1 (en) | Method and apparatus for decoding of intra prediction mode | |
| CN101478673B (en) | Macroblock motion information obtaining method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20110915 |
|
| PG1501 | Laying open of application | ||
| PC1204 | Withdrawal of earlier application forming a basis of a priority claim |
Patent event date: 20110915 Comment text: Patent Application Patent event code: PC12041R01I |