KR20110071483A - Apparatus and method for processing depth image using bit depth reduction - Google Patents

Apparatus and method for processing depth image using bit depth reduction Download PDF

Info

Publication number
KR20110071483A
KR20110071483A KR1020090128068A KR20090128068A KR20110071483A KR 20110071483 A KR20110071483 A KR 20110071483A KR 1020090128068 A KR1020090128068 A KR 1020090128068A KR 20090128068 A KR20090128068 A KR 20090128068A KR 20110071483 A KR20110071483 A KR 20110071483A
Authority
KR
South Korea
Prior art keywords
depth
image
bit
bit depth
depth image
Prior art date
Application number
KR1020090128068A
Other languages
Korean (ko)
Other versions
KR101642965B1 (en
Inventor
이재준
위호천
이진영
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020090128068A priority Critical patent/KR101642965B1/en
Publication of KR20110071483A publication Critical patent/KR20110071483A/en
Application granted granted Critical
Publication of KR101642965B1 publication Critical patent/KR101642965B1/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/128Adjusting depth or disparity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Abstract

PURPOSE: An image processing apparatus and method using bit depth reduction are provided to reduce unnecessary bit used in the expression of a depth image. CONSTITUTION: A histogram analysis unit(130) analyzes the histogram of a depth image. According to the analysis result of the histogram of the depth image, a bit depth reduction unit(140) reduces the bit depth of the depth image. An image composition unit(180) restores the depth image in which the bit depth is reduced. The image composition unit composes the restored image and a color image.

Description

비트 심도 감소를 이용한 깊이 영상 처리 장치 및 방법{APPARATUS AND METHOD FOR PROCESSING DEPTH IMAGE USING BIT DEPTH REDUCTION}Depth image processing apparatus and method using bit depth reduction {APPARATUS AND METHOD FOR PROCESSING DEPTH IMAGE USING BIT DEPTH REDUCTION}

아래의 실시예들은 비트 심도 감소를 이용한 깊이 영상 처리 장치 및 방법에 관한 것이다.The following embodiments are related to a depth image processing apparatus and method using bit depth reduction.

일반적으로 입체 영상은 깊이 및 공간에 대한 형상 정보를 동시에 제공하는 3차원 영상이다. 단순히 좌우 눈에 각각 다른 시점의 영상을 제공하는 스테레오와는 달리 관찰자가 보는 시점을 달리할 때마다 다른 방향에서 본 것과 같은 영상을 제공하기 위해서는 여러 시점에서 촬영한 영상이 필요하다. 그러나 여러 시점에서 찍은 영상은 데이터량이 방대하기 때문에 압축하여 전송하려면 네트워크 인프라, 지상파 대역폭 등을 고려할 때 실현이 거의 불가능하다. In general, a stereoscopic image is a three-dimensional image that simultaneously provides shape information about depth and space. Unlike stereo, which provides images of different viewpoints to the left and right eyes, images taken from different viewpoints are required to provide the same image as seen from different directions whenever the viewer views different views. However, since images taken from various viewpoints have a large amount of data, it is almost impossible to compress and transmit them in consideration of network infrastructure and terrestrial bandwidth.

여러 시점의 비디오를 모두 압축 전송하는 대신에 깊이 영상을 만들어 여러 시점의 영상 중에서 일부 시점의 영상과 함께 압축 전송하면 압축 시 발생하는 데이터량을 줄일 수 있다. 깊이 영상은 영상내의 사물들 사이의 3차원 거리 차이를 나타내는 영상으로서 8비트 영상에서 각 픽셀마다 0부터 255 사이의 값으로 표현된다. 깊이 영상의 픽셀 값이 클수록 시청자와 가까이 있는 것을 나타낸다. 여러 카메라로 촬영한 영상을 모두 압축 전송하는 것보다 일부 컬러 영상에 대한 깊이 영상을 구하여 선택된 컬러 영상과 얻어진 깊이 영상을 전송하면, 수신단에서 복호화한 후 원하는 시점에서의 영상을 합성할 수 있기 때문에 압축 시 발생되는 데이터량을 줄일 수 있다.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 from multiple viewpoints to reduce the amount of data generated during compression. The depth image is an image representing a three-dimensional distance difference between objects in the image and is expressed as a value between 0 and 255 for each pixel in an 8-bit image. The larger the pixel value of the depth image, the closer the viewer is. Rather than compressing and transmitting all the images taken by multiple cameras, if you obtain a depth image for some color images and send the selected color image and the obtained depth image, the image can be synthesized at the desired time point after decoding at the receiving end. The amount of data generated at the time can be reduced.

깊이 영상은 컬러 영상과 달리 평탄한 부분이 많기 때문에 압축을 해도 발생 비트량이 컬러 영상의 반정도 밖에 되지 않는다. 깊이 영상을 만들기 위해서는 깊이 카메라를 이용하여 촬영할 수도 있으나 여러 시점에서의 깊이 영상을 만들기 위해서는 여러 대의 깊이 카메라가 필요하고, 일반 2차원 비디오를 촬영하는 카메라에 비해 깊이 카메라가 고가이므로 실제로는 여러 대의 깊이 카메라를 사용하는 대신에 주어진 다시점 영상에서 깊이 영상을 추정하는 방법이 많이 사용된다.Unlike the color image, since the depth image has many flat portions, the amount of generated bits is only about half of the color image even when compressed. In order to make a depth image, you can shoot using a depth camera.However, to create a depth image at multiple points of view, several depth cameras are needed, and depth cameras are more expensive than cameras for shooting a normal two-dimensional video. Instead of using a camera, a method of estimating a depth image from a given multiview image is often used.

본 발명의 일실시예에 따른 깊이 영상 처리 장치는 깊이 영상의 히스토그램을 분석하는 히스토그램 분석부와, 상기 깊이 영상의 히스토그램에 대한 분석 결과에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키는 비트 심도 감소부 및 상기 비트 심도가 감소된 깊이 영상을 복원하여 컬러 영상과 합성하는 영상 합성부를 포함한다.Depth image processing apparatus according to an embodiment of the present invention is a histogram analysis unit for analyzing the histogram of the depth image, and a bit depth reduction unit for reducing the bit depth of the depth image according to the analysis result of the histogram of the depth image And an image synthesizer configured to reconstruct a depth image having the reduced bit depth and synthesize the color image.

본 발명의 일측면에 따르면, 상기 히스토그램 분석부는 상기 깊이 영상에 대한 히스토그램을 분석하여 상기 히스토그램의 막대 그래프 분포에 따라 감소시킬 비트 심도의 양을 결정할 수 있다. According to an aspect of the present invention, the histogram analyzer may determine the amount of bit depth to be reduced according to the histogram distribution of the histogram by analyzing the histogram for the depth image.

또한, 본 발명의 일측면에 따르면, 상기 비트 심도 감소부는 상기 결정된 감소시킬 비트 심도의 양에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키고 상기 비트 심도가 감소된 깊이 영상을 부호화하는 깊이 영상 부호화부를 더 포함할 수 있다. In addition, according to an aspect of the present invention, the bit depth reducer is a depth image encoder which reduces the bit depth of the depth image according to the determined amount of the bit depth to be reduced and encodes the depth image having the reduced bit depth. It may further include.

또한, 본 발명의 일측면에 따르면, 상기 부호화된 깊이 영상을 복호화하는 깊이 영상 복호화부 및 상기 비트 심도 감소부에 의해 감소된 비트 심도의 양만큼 상기 복호화된 깊이 영상에 대한 깊이 심도를 증가시키는 비트 심도 증가부를 더 포함할 수 있다. Also, according to an aspect of the present invention, a bit for increasing a depth depth of the decoded depth image by an amount of bit depth reduced by the depth image decoder and the bit depth reducer to decode the coded depth image. It may further include a depth increasing portion.

또한, 본 발명의 일측면에 따르면, 상기 비트 심도가 감소된 깊이 영상에 대해 비트 심도를 증가시킨 후 입력 깊이 영상과 비트 심도가 감소/증가된 깊이 영 상의 양자화 오차를 보상하는 양자화 오차 보상부를 더 포함할 수 있다. In addition, according to an aspect of the present invention, after the bit depth is increased for the depth image of which the bit depth is reduced, a quantization error compensator for compensating a quantization error of an input depth image and a depth image having a reduced / increased bit depth is further included. It may include.

또한, 본 발명의 일실시예에 따른 깊이 영상 처리 방법은 깊이 영상의 히스토그램을 분석하는 단계와, 상기 깊이 영상의 히스토그램에 대한 분석 결과에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키는 단계 및 상기 비트 심도가 감소된 깊이 영상을 복원하여 컬러 영상과 합성하는 단계를 포함한다.The depth image processing method may further include analyzing a histogram of a depth image, reducing a bit depth of the depth image according to an analysis result of the histogram of the depth image, and the bit. Reconstructing a depth image having a reduced depth and synthesizing it with a color image.

또한, 본 발명의 일측면에 따르면, 상기 깊이 영상의 히스토그램을 분석하는 단계는 상기 깊이 영상에 대한 히스토그램을 분석하여 상기 히스토그램의 막대 그래프 분포에 따라 감소시킬 비트 심도의 양을 결정할 수 있다. In addition, according to an aspect of the present disclosure, analyzing the histogram of the depth image may determine an amount of bit depth to be reduced according to a histogram distribution of the histogram by analyzing the histogram of the depth image.

또한, 본 발명의 일측면에 따르면, 상기 비트 심도를 감소시키는 단계는 상기 결정된 감소시킬 비트 심도의 양에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키고, 상기 비트 심도가 감소된 깊이 영상을 부호화하는 단계를 더 포함할 수 있다. Further, according to an aspect of the present invention, the step of reducing the bit depth is to reduce the bit depth for the depth image according to the determined amount of bit depth to be reduced, and to encode the depth image with the reduced bit depth It may further comprise a step.

또한, 본 발명의 일측면에 따르면, 상기 부호화된 깊이 영상을 복호화하는 단계 및 상기 감소된 비트 심도의 양만큼 상기 복호화된 깊이 영상에 대한 깊이 심도를 증가시키는 단계를 더 포함할 수 있다. According to an aspect of the present invention, the method may further include decoding the encoded depth image and increasing the depth depth of the decoded depth image by the amount of the reduced bit depth.

또한, 본 발명의 일측면에 따르면, 상기 비트 심도가 감소된 깊이 영상에 대해 비트 심도를 증가시킨 후 입력 깊이 영상과 비트 심도가 감소/증가된 깊이 영상의 양자화 오차를 보상하는 단계를 더 포함할 수 있다. According to an aspect of the present invention, the method may further include compensating a quantization error of an input depth image and a depth image of which the bit depth is reduced / increased after increasing the bit depth of the depth image of which the bit depth is reduced. Can be.

본 발명의 실시예는 깊이 영상 표현에 사용되는 불필요한 비트를 줄임으로 써 깊이 영상의 압축 효율을 높일 수 있다. The embodiment of the present invention can increase the compression efficiency of the depth image by reducing unnecessary bits used for representing the depth image.

또한, 본 발명의 실시예는 깊이 영상에 대한 비트 심도를 크게 감소시켜 양자화 과정에서 발생되는 양자화 오차를 보상할 수 있다. In addition, the embodiment of the present invention can greatly reduce the bit depth of the depth image to compensate for the quantization error generated during the quantization process.

이하, 첨부된 도면들에 기재된 내용들을 참조하여 본 발명에 따른 실시예를 상세하게 설명한다. 다만, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다.Hereinafter, with reference to the contents described in the accompanying drawings will be described in detail an embodiment according to the present invention. However, the present invention is not limited to or limited by the embodiments. Like reference numerals in the drawings denote like elements.

도 1은 본 발명의 일실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 장치의 구성을 나타내는 도면이다.1 is a diagram illustrating a configuration of a depth image processing apparatus using bit depth reduction according to an embodiment of the present invention.

도 1을 참조하면, 깊이 영상 처리 장치(100)는 컬러 영상 부호화부(110), 컬러 영상 복호화부(120), 히스토그램 분석부(130), 비트 심도 감소부(140), 깊이 영상 부호화부(150), 깊이 영상 복호화부(160), 비트 심도 증가부(170) 및 영상 합성부(180)을 포함한다. Referring to FIG. 1, the depth image processing apparatus 100 may include a color image encoder 110, a color image decoder 120, a histogram analyzer 130, a bit depth reducer 140, and a depth image encoder ( 150, a depth image decoder 160, a bit depth increaser 170, and an image synthesizer 180.

컬러 영상 부호화부(110)는 입력 컬러 영상을 부호화한다. 일례로 컬러 영상 부호화부(110)는 상기 입력 컬러 영상을 H.264 등과 같은 부호화 방식에 따라 부호화함으로써 상기 입력 컬러 영상을 압축할 수 있다.The color image encoder 110 encodes the input color image. For example, the color image encoder 110 may compress the input color image by encoding the input color image according to an encoding method such as H.264.

컬러 영상 복호화부(120)는 상기 부호화된 컬러 영상을 복호화한다. 일례로 컬러 영상 복호화부(120)는 H.264 등과 같은 복호화 방식에 의해 압축된 컬러 영상을 복호화함으로써 컬러 영상을 복원할 수 있다. The color image decoder 120 decodes the encoded color image. For example, the color image decoder 120 may reconstruct the color image by decoding the compressed color image by a decoding method such as H.264.

히스토그램 분석부(130)는 입력 깊이 영상에 대한 히스토그램을 분석한다. 즉, 히스토그램 분석부(130)는 상기 입력 깊이 영상에 대한 히스토그램을 분석한 결과로서 상기 히스토그램의 막대 그래프 분포에 따라 감소시킬 비트 심도의 양을 결정한다. The histogram analyzer 130 analyzes the histogram of the input depth image. That is, the histogram analyzer 130 determines the amount of bit depth to be reduced according to the histogram distribution of the histogram as a result of analyzing the histogram of the input depth image.

도 5는 컬러 영상에 대한 히스토그램의 일례를 나타내는 도면이다.5 is a diagram illustrating an example of a histogram of a color image.

도 5를 참조하면, 컬러 영상에 대한 히스토그램은 x축에 빈 곳이 거의 없을 정도로 막대 그래프가 빽빽한 상태로서 이는 한 영상안에 0~255의 모든 화소 값이 거의 모두가 존재하는 것을 나타낸다. 이와 같이, 컬러 영상에서 비트 심도(bit depth)가 클수록 많은 수의 색상이 표현되므로 컬러 영상에 대한 비트 심도를 감소시키지 않는다. Referring to FIG. 5, the histogram for the color image is dense so that there are almost no spaces on the x-axis, indicating that almost all pixel values of 0 to 255 are present in one image. As such, as the bit depth in the color image increases, a greater number of colors are represented, so that the bit depth of the color image is not reduced.

도 6은 깊이 영상에 대한 히스토그램의 일례를 나타내는 도면이다.6 is a diagram illustrating an example of a histogram of a depth image.

도 6을 참조하면, 깊이 영상에 대한 히스토그램은 막대 그래프가 듬성 듬성하며, 이는 한 영상 안에서 8비트 영상이 표현할 수 있는 값 0~255 중에서 일부 특정한 값을 갖는 화소만이 있다는 것을 의미한다. 다시점 영상에서 깊이 영상을 추정하는 방법으로 생성된 깊이 영상의 히스토그램을 분석하면, 8비트 깊이 영상은 0에서 255의 값을 갖지만 특정 화소 밝기 값만 갖고 있는 경우가 많다. 8비트 깊이 영상은 0에서 255 사이의 값을 갖지만 실제로 깊이 추정을 통해 얻은 깊이 영상 값은 0에서 255 화소 밝기 값 중에서 50개 정도의 화소 밝기 값만을 갖는다. 비트 깊이 영상에서 실제로 존재하는 화소 밝기 값이 50여 개 정도밖에 안되기 때문에 불필요한 비트가 깊이 영상 표현에 쓰이고 있다. 한 영상 안에 0~255의 화소 밝기 중에서 50개의 화소 밝기만이 존재한다면, 8비트 영상이 표현할 수 있는 화소 밝기 중에서 20%(50×100/256)만이 사용되고 있다. 이처럼 깊이 영상은 영상안 화소들의 상관 관계가 떨어지기 때문에 압축 효율이 낮으므로 히스토그램의 상관 관계를 높이기 위해서 널리 퍼져 있는 히스토그램의 막대 그래프를 좀 더 빽빽하게 만들어주는 방식으로 비트 심도 감소가 이용될 수 있다. Referring to FIG. 6, a histogram for a depth image is a sparse sparse bar graph, which means that there are only pixels having some specific values among values 0 to 255 that can be represented by an 8-bit image in one image. When analyzing a histogram of a depth image generated by estimating a depth image from a multiview image, an 8-bit depth image may have a value of 0 to 255, but only a specific pixel brightness value. The 8-bit depth image has a value between 0 and 255, but the depth image obtained through the depth estimation has only about 50 pixel brightness values among the 0 to 255 pixel brightness values. Since only about 50 pixel brightness values exist in the bit depth image, unnecessary bits are used to represent the depth image. If only 50 pixel brightnesses among 0 to 255 pixel brightnesses exist in an image, only 20% (50 × 100/256) of the pixel brightnesses that an 8-bit image can represent is used. Since the depth image has low compression efficiency because the pixels in the image are inferior in correlation, the bit depth reduction may be used to make the histogram of the histogram more denser in order to increase the correlation of the histogram.

이와 같이, 히스토그램 분석부(130)는 상기 입력 깊이 영상에 대한 히스토그램을 분석한 결과로서 일부 화소 값만이 사용되는 것을 파악할 수 있으므로 감소시킬 비트 심도의 양을 결정할 수 있다. As such, the histogram analyzer 130 may determine that only some pixel values are used as a result of analyzing the histogram of the input depth image, and thus may determine the amount of bit depth to be reduced.

히스토그램 분석부(130)는 상기 입력 깊이 영상에 대한 히스토그램을 분석한 결과를 특정 문턱치와 비교하여 상기 입력 깊이 영상에 대한 비트 심도를 얼마만큼 감소시킬지 결정한다. 일례로 히스토그램 분석부(130)는 상기 깊이 영상에 대한 히스토그램을 분석한 결과로서 화소 밝기 수가 제1 문턱치보다 크거나 같고, 제2 문턱치보다 작은 경우 감소시킬 비트 심도를 1비트로 결정할 수 있다. 다른 일례로 히스토그램 분석부(130)는 상기 깊이 영상에 대한 히스토그램을 분석한 결과로서 상기 화소 밝기 수가 상기 제2 문턱치보다 크거나 같고, 제3 문턱치보다 작은 경우 감소시킬 비트 심도를 2비트로 결정할 수 있다. 또 다른 일례로 히스토그램 분석부(130)는 상기 깊이 영상에 대한 히스토그램을 분석한 결과로서 상기 화소 밝기 수가 상기 제3 문턱치보다 크거나 같고, 제4 문턱치보다 작은 경우 감소시킬 비트 심도를 3비트로 결정할 수 있다. 또 다른 일례로 히스토그램 분석부(130)는 상기 제4 문턱치보다 크거나 같고, 제5 문턱치보다 작은 경우 감소시킬 비트 심도를 4비트로 결정할 수 있다.The histogram analyzer 130 compares the result of analyzing the histogram of the input depth image with a specific threshold to determine how much to reduce the bit depth of the input depth image. For example, as a result of analyzing the histogram of the depth image, the histogram analyzer 130 may determine a bit depth to be reduced as one bit when the pixel brightness number is greater than or equal to the first threshold and smaller than the second threshold. As another example, the histogram analyzer 130 may determine a bit depth to be reduced to 2 bits when the pixel brightness number is greater than or equal to the second threshold and smaller than the third threshold as a result of analyzing the histogram of the depth image. . As another example, the histogram analyzer 130 may determine, as a result of analyzing the histogram of the depth image, the bit depth to be reduced to 3 bits when the pixel brightness number is greater than or equal to the third threshold and smaller than the fourth threshold. have. As another example, the histogram analyzer 130 may determine a bit depth to be reduced to 4 bits when it is larger than or equal to the fourth threshold and smaller than the fifth threshold.

비트 심도 감소부(140)는 상기 깊이 영상의 히스토그램에 대한 분석 결과에 따라 상기 깊이 영상에 대한 비트 심도를 감소시킨다. 즉, 비트 심도 감소부(170)는 상기 결정된 감소시킬 비트 심도의 양에 따라 상기 복호화된 깊이 영상에 대한 비트 심도를 감소시킨다. The bit depth reducer 140 reduces the bit depth of the depth image according to the analysis result of the histogram of the depth image. That is, the bit depth reduction unit 170 reduces the bit depth of the decoded depth image according to the determined amount of bit depth to be reduced.

도 7은 깊이 영상을 7비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.7 is a diagram illustrating an example of a histogram after a bit depth is reduced to 7 bits of a depth image.

도 7을 참조하면, 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도가 1비트인 경우, 8비트의 깊이 영상을 7비트의 깊이 영상으로 비트 심도를 감소시킬 수 있다. 즉, 비트 심도 감소부(140)는 히스토그램 분석부(130)에 의해 결정된 감소시킬 비트 심도가 1비트이고, 상기 입력 깊이 영상의 비트 심도가 8비트인 경우, 상기 입력 깊이 영상에 대한 비트 심도를 1비트 감소시킴으로써 7비트인 비트 심도의 깊이 영상을 출력할 수 있다. 상기 비트 심도를 줄여서 7비트의 깊이 영상으로 만들어지면, 0~127 중에서 50개의 밝기를 가지므로 7비트 영상을 표현하기 위해 39%(50×100/128)의 화소 밝기 값이 사용되어 비트 효율이 증가한다. Referring to FIG. 7, when the determined bit depth to be reduced is 1 bit, the bit depth reducer 140 may reduce the bit depth to an 8-bit depth image and a 7-bit depth image. That is, when the bit depth to be reduced determined by the histogram analyzer 130 is 1 bit and the bit depth of the input depth image is 8 bits, the bit depth reducer 140 determines the bit depth of the input depth image. By reducing 1 bit, a depth image having a bit depth of 7 bits can be output. When the depth of the bit is reduced to a 7-bit depth image, since there are 50 brightnesses from 0 to 127, a pixel brightness value of 39% (50 × 100/128) is used to represent the 7-bit image, thereby improving bit efficiency. Increases.

도 8은 깊이 영상을 6비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.8 is a diagram illustrating an example of a histogram after reducing the bit depth to 6 bits of a depth image.

도 8을 참조하면, 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도가 2비트인 경우, 8비트의 깊이 영상을 6비트의 깊이 영상으로 비트 심도를 감소시킬 수 있다. 즉, 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도가 2비트이고, 상기 입력 깊이 영상의 비트 심도가 8비트인 경우, 상기 입력 깊이 영상 에 대한 비트 심도를 2비트 감소시킴으로써 6비트인 비트 심도의 깊이 영상을 출력할 수 있다. Referring to FIG. 8, when the determined bit depth to be reduced is 2 bits, the bit depth reducer 140 may reduce the bit depth from the 8-bit depth image to the 6-bit depth image. That is, when the determined bit depth to be reduced is 2 bits and the bit depth of the input depth image is 8 bits, the bit depth reduction unit 140 reduces the bit depth of the input depth image by 2 bits to 6 bits. The depth image of the bit depth may be output.

도 9는 깊이 영상을 5비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.9 is a diagram illustrating an example of a histogram after reducing a bit depth of a depth image to 5 bits.

도 9를 참조하면, 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도가 3비트인 경우, 8비트의 깊이 영상을 5비트의 깊이 영상으로 비트 심도를 감소시킬 수 있다. 즉, 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도가 3비트이고, 상기 입력 깊이 영상에 대한 깊이 심도가 8비트인 경우, 상기 입력 영상에 대한 비트 심도를 3비트 감소시킴으로써 5비트인 비트 심도의 깊이 영상을 출력할 수 있다. Referring to FIG. 9, when the determined bit depth to be reduced is 3 bits, the bit depth reducer 140 may reduce the bit depth to an 8-bit depth image into a 5-bit depth image. That is, when the determined bit depth to be reduced is 3 bits, and the depth depth of the input depth image is 8 bits, the bit depth reduction unit 140 decreases the bit depth of the input image by 3 bits to 5 bits. The depth image of the bit depth may be output.

도 10은 깊이 영상을 4비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.FIG. 10 is a diagram illustrating an example of a histogram after reducing a bit depth of a depth image to 4 bits.

도 10을 참조하면, 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도가 4비트인 경우, 8비트의 깊이 영상을 4비트의 깊이 영상으로 비트 심도를 감소시킬 수 있다. 즉, 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도가 4비트이고, 상기 입력 깊이 영상에 대한 깊이 심도가 8비트인 경우, 상기 입력 깊이 영상에 대한 비트 심도를 4비트 감소시킴으로써 4비트인 비트 심도의 깊이 영상을 출력할 수 있다.Referring to FIG. 10, when the determined bit depth to be reduced is 4 bits, the bit depth reducer 140 may reduce the bit depth from the 8-bit depth image to the 4-bit depth image. That is, when the determined bit depth to be reduced is 4 bits, and the depth depth of the input depth image is 8 bits, the bit depth reduction unit 140 reduces the bit depth of the input depth image by 4 bits to 4 bits. An in-depth depth image may be output.

비트 심도 감소부(140)가 도 7 내지 도 10에 도시된 것과 같이 비트 심도를 감소시킴으로써 히스토그램 막대 그래프의 분포가 점점 더 촘촘해지면, 이는 영상 표현을 위한 비트 효율이 점점 증가하는 것을 의미한다. As the bit depth reduction unit 140 decreases the bit depth as shown in FIGS. 7 to 10, the distribution of the histogram histogram becomes more dense, which means that the bit efficiency for image representation is gradually increased.

깊이 영상 부호화부(150)는 비트 심도 감소부(140)로부터 비트 심도가 감소된 깊이 영상을 입력 받고, 상기 비트 심도가 감소된 깊이 영상을 부호화한다. The depth image encoder 150 receives a depth image of which the bit depth is reduced from the bit depth reducer 140 and encodes the depth image of which the bit depth is reduced.

깊이 영상 복호화부(160)는 상기 부호화된 깊이 영상을 복호화한다.The depth image decoder 160 decodes the encoded depth image.

비트 심도 증가부(170)는 상기 복호화된 깊이 영상에 대한 비트 심도를 증가시킨다. 즉, 비트 심도 증가부(170)는 상기 복호화된 깊이 영상에 대한 비트 심도를 비트 심도 감소부(140)에 의해 감소된 비트 심도의 양만큼 증가시킨다. 일례로 비트 심도 증가부(170)는 비트 심도 감소부(140)에 의해 감소된 비트 심도가 1비트이고, 비트 심도 감소부(140)로부터 출력된 깊이 영상의 비트 심도가 7비트인 경우, 상기 복호화된 깊이 영상에 대한 비트 심도를 1비트 증가시킴으로써 비트 심도가 8비트인 깊이 영상을 출력할 수 있다. 다른 일례로 비트 심도 증가부(170)는 비트 심도 감소부(140)에 의해 감소된 비트 심도가 2비트이고, 비트 심도 감소부(140)로부터 출력된 깊이 영상의 비트 심도가 6비트인 경우, 상기 복호화된 깊이 영상에 대한 비트 심도를 2비트 증가시킴으로써 비트 심도가 8비트인 깊이 영상을 출력할 수 있다. 또 다른 일례로 비트 심도 증가부(170)는 비트 심도 감소부(140)에 의해 감소된 비트 심도가 3비트이고, 비트 심도 감소부(140)로부터 출력된 깊이 영상의 비트 심도가 5비트인 경우, 상기 복호화된 깊이 영상에 대한 비트 심도를 3비트 증가시킴으로써 비트 심도가 8비트인 깊이 영상을 출력할 수 있다. 또 다른 일례로 비트 심도 증가부(170)는 비트 심도 감소부(140)에 의해 감소된 비트 심도가 4비트이고, 비트 심도 감소부(140)로부터 출력된 깊이 영상의 비트 심도가 4비 트인 경우, 상기 복호화된 깊이 영상에 대한 비트 심도를 4비트 증가시킴으로써 비트 심도가 8비트인 깊이 영상을 출력할 수 있다. 상기 비트 심도가 증가된 깊이 영상은 상기 입력 깊이 영상의 비트 심도와 동일한 비트 심도로 복원된 깊이 영상이다. The bit depth increasing unit 170 increases the bit depth of the decoded depth image. That is, the bit depth increasing unit 170 increases the bit depth of the decoded depth image by the amount of the bit depth reduced by the bit depth reduction unit 140. For example, when the bit depth increasing unit 170 decreases the bit depth reduced by the bit depth reduction unit 140 and the bit depth of the depth image output from the bit depth reduction unit 140 is 7 bits, By increasing the bit depth of the decoded depth image by one bit, a depth image having a bit depth of 8 bits may be output. As another example, when the bit depth increase unit 170 has a bit depth reduced by the bit depth reduction unit 140 and the bit depth of the depth image output from the bit depth reduction unit 140 is 6 bits, By increasing the bit depth of the decoded depth image by 2 bits, a depth image having a bit depth of 8 bits may be output. As another example, the bit depth increase unit 170 has a bit depth reduced by the bit depth reducer 140 and 3 bits, and a bit depth of the depth image output from the bit depth reducer 140 is 5 bits. The depth image having a bit depth of 8 bits may be output by increasing the bit depth of the decoded depth image by 3 bits. As another example, the bit depth increasing unit 170 may have 4 bits of the bit depth reduced by the bit depth reduction unit 140 and 4 bits of the depth image output from the bit depth reduction unit 140. The depth image having a bit depth of 8 bits may be output by increasing the bit depth of the decoded depth image by 4 bits. The depth image having the increased bit depth is a depth image reconstructed with the same bit depth as that of the input depth image.

영상 합성부(180)는 상기 복호화된 컬러 영상과 상기 비트 심도가 증가된 깊이 영상을 합성한다. 즉, 영상 합성부(180)는 컬러 영상 복호화부(120)로부터 출력되는 상기 복호화된 컬러 영상 및 비트 심도 증가부(170)로부터 상기 비트 심도가 증가된 깊이 영상을 합성함으로써 입체 영상을 출력한다. The image synthesizer 180 synthesizes the decoded color image and the depth image of which the bit depth is increased. That is, the image synthesizing unit 180 outputs a stereoscopic image by synthesizing the decoded color image output from the color image decoding unit 120 and the depth image of which the bit depth is increased from the bit depth increasing unit 170.

이와 같이, 본 발명의 일실시예에 따른 깊이 영상 처리 장치(100)는 깊이 영상에 대한 히스토그램을 분석하여 특정 문턱치에 따라 얼마만큼의 비트 심도를 감소시킬지를 결정하여 비트 심도를 감소시켜 양자화함으로써 압축 효율을 증가시킬 수 있다. As described above, the depth image processing apparatus 100 according to an embodiment of the present invention analyzes a histogram of a depth image to determine how much bit depth is to be reduced according to a specific threshold, thereby compressing the bit depth by reducing the quantization. The efficiency can be increased.

도 2는 본 발명의 다른 실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 장치의 구성을 나타내는 도면이다.2 is a diagram illustrating a configuration of a depth image processing apparatus using bit depth reduction according to another exemplary embodiment of the present invention.

도 2를 참조하면, 본 발명의 다른 실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 장치(200)는 컬러 영상 부호화부(110), 컬러 영상 복호화부(120), 히스토그램 분석부(130), 비트 심도 감소부(140), 제1 깊이 영상 부호화부(150), 제1 깊이 영상 복호화부(160), 제1 비트 심도 증가부(170), 영상 합성부(180), 제2 비트 심도 증가부(210), 양자화 오차 계산부(220), 제2 깊이 영상 부호화부(230), 제2 깊이 영상 복호화부(240) 및 양자화 오차 보상부(250)를 포함한다. 여기서, 컬러 영상 부호화부(110), 컬러 영상 복호화부(120), 히스토그램 분석부(130), 비트 심도 감소부(140), 제1 깊이 영상 부호화부(150), 제1 깊이 영상 복호화부(160), 제1 비트 심도 증가부(170)는 도 1에 도시된 구성과 동일한 동작에 대한 설명을 생략하기로 한다. 2, a depth image processing apparatus 200 using bit depth reduction according to another exemplary embodiment of the present invention may include a color image encoder 110, a color image decoder 120, a histogram analyzer 130, Bit depth reducer 140, first depth image encoder 150, first depth image decoder 160, first bit depth increaser 170, image synthesizer 180, and second bit depth increase The unit 210 includes a quantization error calculator 220, a second depth image encoder 230, a second depth image decoder 240, and a quantization error compensator 250. Here, the color image encoder 110, the color image decoder 120, the histogram analyzer 130, the bit depth reducer 140, the first depth image encoder 150, and the first depth image decoder ( 160, the first bit depth increasing unit 170 will not be described for the same operation as that shown in FIG. 1.

일례로 비트 심도 감소부(140)는 상기 입력 깊이 영상의 크기가 '99'이고, 상기 비트 심도를 1/2로 감소시키는 경우, 상기 입력 깊이 영상에 대한 깊이 심도를 1/2로 감소시키면 상기 깊이 심도가 감소된 깊이 영상의 크기가 '49'가 될 수 있다. For example, when the size of the input depth image is '99' and the bit depth is reduced to 1/2, the bit depth reduction unit 140 reduces the depth of the input depth image to 1/2. The depth image having the reduced depth depth may be '49'.

제2 비트 심도 증가부(210)는 비트 심도 감소부(140)에 의해 비트 심도가 감소된 깊이 영상에 대해 깊이 심도를 증가시킨다. 즉, 제2 비트 심도 증가부(210)는 비트 심도 감소부(140)에 의해 감소된 비트 감소의 양만큼 비트 심도 감소부(140)로부터 출력되는 상기 비트 심도가 감소된 깊이 영상에 대한 깊이 심도를 증가시킨다. 일례로 제2 비트 심도 증가부(210)는 상기 비트 심도 감소부(140)에 의해 감소된 비트 감소의 양이 1/2이고, 상기 비트 심도 감소부(140)로부터 출력된 깊이 영상의 크기가 '49'인 경우, 비트 심도 감소부(140)로부터 출력되는 상기 비트 심도 감소가 감소된 깊이 영상에 대한 깊이 심도를 2배로 증가시켜 그 크기가 '98'인 깊이 영상을 출력할 수 있다. The second bit depth increasing unit 210 increases the depth depth of the depth image in which the bit depth is reduced by the bit depth reducing unit 140. That is, the second bit depth increasing unit 210 may provide a depth depth for the depth image of which the bit depth output from the bit depth reduction unit 140 is reduced by the amount of bit reduction reduced by the bit depth reduction unit 140. To increase. For example, in the second bit depth increasing unit 210, the amount of bit reduction reduced by the bit depth reduction unit 140 is 1/2, and the size of the depth image output from the bit depth reduction unit 140 is increased. If the value is '49', the depth depth of the depth image having the reduced bit depth reduction output from the bit depth reduction unit 140 may be doubled to output a depth image having a size of '98'.

양자화 오차 계산부(220)는 상기 입력 깊이 영상과 제2 비트 심도 증가부(210)에 의해 출력되는 깊이 영상을 비교하여 양자화 오차를 계산한다. 일례로 양자화 오차 계산부(220)는 상기 입력 깊이 영상의 크기가 '99'이고, 제2 비트 심 도 증가부(210)에 의해 출력된 깊이 영상의 크기가 '98'인 경우, 양자화 오차를 '1'로 계산할 수 있다. The quantization error calculator 220 calculates a quantization error by comparing the input depth image with the depth image output by the second bit depth increasing unit 210. For example, when the size of the input depth image is '99' and the size of the depth image output by the second bit depth increasing unit 210 is '98', the quantization error calculator 220 may determine the quantization error. Can be calculated as '1'.

제2 깊이 영상 부호화부(230)는 양자화 오차 계산부(220)에 의해 계산된 깊이 영상에 대한 양자화 오차를 부호화한다.The second depth image encoder 230 encodes the quantization error of the depth image calculated by the quantization error calculator 220.

제2 깊이 영상 복호화부(230)는 제2 깊이 영상 부호화부(230)에 의해 부호화된 깊이 영상에 대한 양자화 오차를 복호화한다.The second depth image decoder 230 decodes a quantization error of the depth image encoded by the second depth image encoder 230.

양자화 오차 보상부(250)는 제1 비트 심도 증가부(170)로부터 출력되는 비트 심도가 증가된 깊이 영상에 대해 제2 깊이 영상 복호화부(240)로부터 출력되는 복호화된 양자화 오차를 보상한다. 즉, 양자화 오차 보상부(250)는 비트 심도 감소부(140)에 의해 감소된 비트 감도에 따라 입력 영상을 압축함으로 인해 발생되는 양자화 오차를 보상함으로써 보다 정확하게 깊이 영상을 복원한다. The quantization error compensator 250 compensates the decoded quantization error output from the second depth image decoder 240 with respect to the depth image having the increased bit depth output from the first bit depth increaser 170. That is, the quantization error compensator 250 reconstructs the depth image more accurately by compensating for the quantization error generated by compressing the input image according to the bit sensitivity reduced by the bit depth reducer 140.

영상 합성부(180)는 컬러 영상 복호화부(120)로부터 출력되는 복호화된 컬러 영상과 양자화 오차 보상부(250)로부터 출력된 양자화 오차가 보상된 깊이 영상을 합성하여 입력 영상을 출력한다. The image synthesizer 180 synthesizes the decoded color image output from the color image decoder 120 and the depth image compensated for from the quantization error compensator 250 and outputs an input image.

이와 같이, 본 발명의 다른 실시예에 따른 깊이 영상 처리 장치(200)는 깊이 영상에 대한 비트 심도를 크게 감소시켜 양자화 과정에서 발생되는 양자화 오차를 보상할 수 있다. As described above, the depth image processing apparatus 200 according to another exemplary embodiment may greatly reduce the bit depth of the depth image to compensate for the quantization error generated during the quantization process.

도 3은 본 발명의 일실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 방법의 동작 흐름을 나타내는 도면이다.3 is a diagram illustrating an operation flow of a depth image processing method using bit depth reduction according to an embodiment of the present invention.

도 1 및 도 3을 참조하면, 단계(310)에서 히스토그램 분석부(130)는 깊이 영상에 대한 히스토그램을 분석한다. 즉, 단계(310)에서 히스토그램 분석부(130)는 상기 깊이 영상에 대한 히스토그램을 분석하여 상기 히스토그램의 막대 그래프 분포에 따라 감소시킬 비트 심도의 양을 결정한다. 일례로 단계(310)에서 히스토그램 분석부(130)는 상기 깊이 영상에 대한 히스토그램을 분석하고, 상기 히스토그램 분석 결과에 따른 화소 밝기 수와 문턱치를 비교하여 상기 깊이 영상에 대한 감소시킬 비트 심도를 결정할 수 있다.1 and 3, in step 310, the histogram analyzer 130 analyzes a histogram of a depth image. That is, in step 310, the histogram analyzer 130 analyzes the histogram of the depth image to determine the amount of bit depth to be reduced according to the histogram distribution of the histogram. For example, in operation 310, the histogram analyzer 130 may analyze the histogram of the depth image, compare the pixel brightness number and the threshold value according to the histogram analysis result, and determine a bit depth to be reduced for the depth image. have.

단계(320)에서 비트 심도 감소부(140)는 상기 결정된 감소시킬 비트 심도에 따라 상기 깊이 영상에 대한 비트 심도를 감소시킨다. In operation 320, the bit depth reducer 140 reduces the bit depth of the depth image according to the determined bit depth to be reduced.

단계(330)에서 깊이 영상 부호화부(150)는 상기 비트 심도가 감소된 깊이 영상을 부호화한다. In operation 330, the depth image encoder 150 encodes the depth image having the reduced bit depth.

단계(340)에서 깊이 영상 복호화부(160)는 상기 부호화된 깊이 영상을 복호화한다.In operation 340, the depth image decoder 160 decodes the encoded depth image.

단계(350)에서 비트 심도 증가부(170)는 상기 복호화된 깊이 영상에 대한 비트 심도를 증가시킨다. 즉, 단계(350)에서 비트 심도 증가부(170)는 비트 심도 감소부(140)에 의해 감소된 비트 심도만큼 상기 복호화된 깊이 영상에 대한 비트 심도를 증가시킨다. In operation 350, the bit depth increasing unit 170 increases the bit depth of the decoded depth image. That is, in step 350, the bit depth increasing unit 170 increases the bit depth of the decoded depth image by the bit depth reduced by the bit depth reducing unit 140.

단계(360)에서 컬러 영상 부호화부(110)는 입력 컬러 영상을 부호화한다.In operation 360, the color image encoder 110 encodes the input color image.

단계(370)에서 컬러 영상 복호화부(120)는 상기 부호화된 컬러 영상을 복호화한다.In operation 370, the color image decoder 120 decodes the encoded color image.

단계(380)에서 영상 합성부(180)는 상기 비트 심도가 증가된 깊이 영상과 상기 복호화된 컬러 영상을 합성한다. 즉, 단계(380)에서 영상 합성부(180)는 비트 심도 증가부(170)에 의해 비트 심도가 증가됨에 따라 원래 비트 심도로 복원된 깊이 영상과 컬러 영상 복호화부(120)에 의해 복원된 컬러 영상을 합성함으로써 입체 영상을 출력한다.In operation 380, the image synthesizer 180 synthesizes the depth image having the increased bit depth and the decoded color image. That is, in operation 380, the image synthesizer 180 reconstructs the depth image restored to the original bit depth and the color restored by the color image decoder 120 as the bit depth is increased by the bit depth increase unit 170. Stereoscopic images are output by synthesizing the images.

이와 같이, 본 발명의 일실시예에 따른 깊이 영상 처리 방법은 깊이 영상에 대한 히스토그램을 분석하여 특정 문턱치에 따라 얼마만큼의 비트 심도를 감소시킬지를 결정하여 비트 심도를 감소시켜 양자화함으로써 압축 효율을 증가시킬 수 있다. As described above, the depth image processing method according to an exemplary embodiment of the present invention analyzes a histogram of a depth image to determine how much bit depth is reduced according to a specific threshold, and decreases the bit depth to quantize to increase compression efficiency. You can.

도 4는 본 발명의 다른 실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 방법의 동작 흐름을 나타내는 도면이다.4 is a diagram illustrating an operation flow of a depth image processing method using bit depth reduction according to another exemplary embodiment of the present invention.

도 2 및 도 4를 참조하면, 단계(411)에서 히스토그램 분석부(130)는 깊이 영상에 대한 히스토그램을 분석한다. 즉, 단계(411)에서 히스토그램 분석부(130)는 상기 깊이 영상에 대한 히스토그램을 분석하여 상기 히스토그램의 막대 그래프 분포에 따라 감소시킬 비트 심도의 양을 결정한다. 일례로 단계(411)에서 히스토그램 분석부(130)는 상기 깊이 영상에 대한 히스토그램을 분석하고, 상기 히스토그램 분석 결과에 따른 화소 밝기 수와 문턱치를 비교하여 상기 깊이 영상에 대한 감소시킬 비트 심도의 양을 결정할 수 있다.2 and 4, in step 411, the histogram analyzer 130 analyzes a histogram of a depth image. That is, in step 411, the histogram analyzer 130 analyzes the histogram of the depth image to determine the amount of bit depth to be reduced according to the histogram distribution of the histogram. For example, in step 411, the histogram analyzer 130 analyzes the histogram for the depth image, compares the pixel brightness number and the threshold value according to the histogram analysis result, and determines the amount of bit depth to be reduced for the depth image. You can decide.

단계(412)에서 비트 심도 감소부(140)는 상기 깊이 영상에 대한 비트 심도를 상기 결정된 감소시킬 비트 심도의 양에 따라 감소시킨다. In operation 412, the bit depth reducer 140 reduces the bit depth of the depth image according to the determined amount of bit depth to be reduced.

단계(413)에서 제1 깊이 영상 부호화부(150)는 상기 비트 심도가 감소된 깊 이 영상을 부호화한다. 즉, 단계(413)에서 제1 깊이 영상 부호화부(150)는 상기 감소된 비트 심도에 따라 상기 깊이 영상에 대한 양자화 과정을 실시함으로써 상기 깊이 영상을 더 많이 압축할 수 있다. In operation 413, the first depth image encoder 150 encodes the depth image having the reduced bit depth. That is, in operation 413, the first depth image encoder 150 may further compress the depth image by performing a quantization process on the depth image according to the reduced bit depth.

단계(414)에서 제1 깊이 영상 복호화부(160)는 상기 부호화된 깊이 영상을 복호화한다. In operation 414, the first depth image decoder 160 decodes the encoded depth image.

단계(415)에서 제1 비트 심도 증가부(170)는 상기 복호화된 깊이 영상에 대한 비트 심도를 증가시킨다. 즉, 단계(415)에서 제1 비트 심도 증가부(170)는 단계(412)에서 감소된 비트 심도의 양만큼 상기 복호화된 깊이 영상에 대한 비트 심도를 증가시킨다. In operation 415, the first bit depth increasing unit 170 increases the bit depth of the decoded depth image. That is, in step 415, the first bit depth increasing unit 170 increases the bit depth of the decoded depth image by the amount of the bit depth reduced in step 412.

단계(416)에서 제2 비트 심도 증가부(210)는 상기 비트 심도가 감소된 깊이 영상에 대한 비트 심도를 증가시킨다. 즉, 단계(416)에서 제2 비트 심도 증가부(210)는 단계(412)에서 감소시킨 비트 심도의 양만큼 상기 비트 심도가 감소된 깊이 영상에 대한 비트 심도를 증가시킨다. In operation 416, the second bit depth increasing unit 210 increases the bit depth of the depth image having the reduced bit depth. That is, in operation 416, the second bit depth increasing unit 210 increases the bit depth of the depth image having the bit depth reduced by the amount of the bit depth reduced in operation 412.

단계(417)에서 양자화 오차 계산부(220)는 상기 입력 깊이 영상과 상기 비트 심도가 증가된 깊이 영상을 비교하여 양자화 오차를 계산한다. 즉, 단계(417)에서 양자화 오차 계산부(220)는 상기 감소된 비트 심도를 다시 증가시킨 깊이 영상과 상기 입력 깊이 영상을 비교하여 그 차이로 양자화 오차를 계산한다. In operation 417, the quantization error calculator 220 calculates a quantization error by comparing the input depth image with the depth image having the increased bit depth. That is, in step 417, the quantization error calculator 220 compares the input depth image with the depth image in which the reduced bit depth is increased and calculates a quantization error based on the difference.

단계(418)에서 제2 깊이 영상 부호화부(230)는 상기 계산된 양자화 오차에 대한 깊이 영상을 부호화한다.In operation 418, the second depth image encoder 230 encodes the depth image of the calculated quantization error.

단계(419)는 제2 깊이 영상 복호화부(230)는 상기 부호화된 양자화 오차에 대한 깊이 영상을 복호화한다.In operation 419, the second depth image decoder 230 decodes the depth image of the encoded quantization error.

단계(420)에서 양자화 오차 보상부(250)는 상기 비트 심도가 증가된 깊이 영상에 상기 복호화된 양자화 오차에 대한 깊이 영상을 반영하여 양자화 오차를 보상한다. In operation 420, the quantization error compensator 250 compensates the quantization error by reflecting the depth image of the decoded quantization error in the depth image having the increased bit depth.

단계(421)에서 컬러 영상 부호화부(110)는 컬러 영상을 부호화한다.In operation 421, the color image encoder 110 encodes the color image.

단계(422)에서 컬러 영상 복호화부(120)는 상기 부호화된 컬러 영상을 복호화한다. In operation 422, the color image decoder 120 decodes the encoded color image.

단계(423)에서 영상 합성부(180)는 상기 양자화 오차가 보상된 깊이 영상과 상기 복호화된 컬러 영상을 합성한다. 즉, 단계(423)에서 영상 합성부(180)는 단계(420)에 의해 상기 양자화 오차가 보상된 깊이 영상과 단계(422)에 의해 상기 복호화된 컬러 영상을 합성함으로써 입체 영상을 출력한다.In operation 423, the image synthesizer 180 synthesizes the depth image compensated for the quantization error and the decoded color image. That is, in operation 423, the image synthesis unit 180 outputs a stereoscopic image by synthesizing the depth image in which the quantization error is compensated by the operation 420 and the decoded color image in operation 422.

이와 같이, 본 발명의 다른 실시예에 따른 깊이 영상 처리 방법은 깊이 영상에 대한 비트 심도를 크게 감소시켜 양자화 과정에서 발생되는 양자화 오차를 보상할 수 있다. As described above, the depth image processing method according to another embodiment of the present invention can greatly reduce the bit depth of the depth image to compensate for the quantization error generated in the quantization process.

본 발명에 따른 깊이 영상 처리 방법들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Depth image processing methods according to the present invention can be implemented in the form of program instructions that can be executed by various computer means can be recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, 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 not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device 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 limited to the described embodiments, but should be determined not only by the claims below but also by the equivalents of the claims.

도 1은 본 발명의 일실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 장치의 구성을 나타내는 도면이다.1 is a diagram illustrating a configuration of a depth image processing apparatus using bit depth reduction according to an embodiment of the present invention.

도 2는 본 발명의 다른 실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 장치의 구성을 나타내는 도면이다.2 is a diagram illustrating a configuration of a depth image processing apparatus using bit depth reduction according to another exemplary embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 방법의 동작 흐름을 나타내는 도면이다.3 is a diagram illustrating an operation flow of a depth image processing method using bit depth reduction according to an embodiment of the present invention.

도 4는 본 발명의 다른 실시예에 따른 비트 심도 감소를 이용한 깊이 영상 처리 방법의 동작 흐름을 나타내는 도면이다.4 is a diagram illustrating an operation flow of a depth image processing method using bit depth reduction according to another exemplary embodiment of the present invention.

도 5는 컬러 영상에 대한 히스토그램의 일례를 나타내는 도면이다.5 is a diagram illustrating an example of a histogram of a color image.

도 6은 깊이 영상에 대한 히스토그램의 일례를 나타내는 도면이다.6 is a diagram illustrating an example of a histogram of a depth image.

도 7은 깊이 영상을 7비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.7 is a diagram illustrating an example of a histogram after a bit depth is reduced to 7 bits of a depth image.

도 8은 깊이 영상을 6비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.8 is a diagram illustrating an example of a histogram after reducing the bit depth to 6 bits of a depth image.

도 9는 깊이 영상을 5비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.9 is a diagram illustrating an example of a histogram after reducing a bit depth of a depth image to 5 bits.

도 10은 깊이 영상을 4비트로 비트 심도를 감소시킨 후 히스토그램의 일례를 나타내는 도면이다.FIG. 10 is a diagram illustrating an example of a histogram after reducing a bit depth of a depth image to 4 bits.

Claims (11)

깊이 영상의 히스토그램을 분석하는 히스토그램 분석부;A histogram analyzer analyzing the histogram of the depth image; 상기 깊이 영상의 히스토그램에 대한 분석 결과에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키는 비트 심도 감소부; 및A bit depth reduction unit that reduces the bit depth of the depth image according to an analysis result of the histogram of the depth image; And 상기 비트 심도가 감소된 깊이 영상을 복원하여 컬러 영상과 합성하는 영상 합성부An image synthesizer which reconstructs the depth image having the reduced bit depth and synthesizes the color image 를 포함하는, 깊이 영상 처리 장치.Including, a depth image processing device. 제1항에 있어서,The method of claim 1, 상기 히스토그램 분석부는,The histogram analysis unit, 상기 깊이 영상에 대한 히스토그램을 분석하여 상기 히스토그램의 막대 그래프 분포에 따라 감소시킬 비트 심도의 양을 결정하는, 깊이 영상 처리 장치.And analyzing the histogram for the depth image to determine the amount of bit depth to decrease according to the histogram distribution of the histogram. 제2항에 있어서,The method of claim 2, 상기 비트 심도 감소부는,The bit depth reduction unit, 상기 결정된 감소시킬 비트 심도의 양에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키고,Reduce the bit depth for the depth image according to the determined amount of bit depth to decrease, 상기 비트 심도가 감소된 깊이 영상을 부호화하는 깊이 영상 부호화부를 더 포함하는, 깊이 영상 처리 장치.And a depth image encoder configured to encode the depth image having the reduced bit depth. 제3항에 있어서,The method of claim 3, wherein 상기 부호화된 깊이 영상을 복호화하는 깊이 영상 복호화부; 및A depth image decoder to decode the encoded depth image; And 상기 비트 심도 감소부에 의해 감소된 비트 심도의 양만큼 상기 복호화된 깊이 영상에 대한 깊이 심도를 증가시키는 비트 심도 증가부를 더 포함하는, 깊이 영상 처리 장치.And a bit depth increasing unit configured to increase the depth depth of the decoded depth image by an amount of the bit depth reduced by the bit depth reducing unit. 제1항에 있어서,The method of claim 1, 상기 비트 심도가 감소된 깊이 영상에 대해 비트 심도를 증가시킨 후 입력 깊이 영상과 비트 심도가 감소/증가된 깊이 영상의 양자화 오차를 보상하는 양자화 오차 보상부를 더 포함하는, 깊이 영상 처리 장치.And a quantization error compensator configured to compensate for the quantization error of the input depth image and the depth image of which the bit depth is reduced / increased after increasing the bit depth with respect to the depth image having the reduced bit depth. 깊이 영상의 히스토그램을 분석하는 단계;Analyzing the histogram of the depth image; 상기 깊이 영상의 히스토그램에 대한 분석 결과에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키는 단계; 및Reducing the bit depth for the depth image according to an analysis result of the histogram of the depth image; And 상기 비트 심도가 감소된 깊이 영상을 복원하여 컬러 영상과 합성하는 단계Restoring the depth image having the reduced bit depth and synthesizing it with a color image; 를 포함하는, 깊이 영상 처리 방법.Including, a depth image processing method. 제6항에 있어서,The method of claim 6, 상기 깊이 영상의 히스토그램을 분석하는 단계는,Analyzing the histogram of the depth image, 상기 깊이 영상에 대한 히스토그램을 분석하여 상기 히스토그램의 막대 그래프 분포에 따라 감소시킬 비트 심도의 양을 결정하는, 깊이 영상 처리 방법.And analyzing the histogram for the depth image to determine the amount of bit depth to decrease according to the histogram distribution of the histogram. 제7항에 있어서,The method of claim 7, wherein 상기 비트 심도를 감소시키는 단계는,Reducing the bit depth, 상기 결정된 감소시킬 비트 심도의 양에 따라 상기 깊이 영상에 대한 비트 심도를 감소시키고,Reduce the bit depth for the depth image according to the determined amount of bit depth to decrease, 상기 비트 심도가 감소된 깊이 영상을 부호화하는 단계를 더 포함하는, 깊이 영상 처리 방법.And encoding a depth image having the reduced bit depth. 제8항에 있어서,The method of claim 8, 상기 부호화된 깊이 영상을 복호화하는 단계; 및Decoding the encoded depth image; And 상기 감소된 비트 심도의 양만큼 상기 복호화된 깊이 영상에 대한 깊이 심도를 증가시키는 단계를 더 포함하는, 깊이 영상 처리 방법.Increasing the depth depth for the decoded depth image by the amount of the reduced bit depth. 제6항에 있어서,The method of claim 6, 상기 비트 심도가 감소된 깊이 영상에 대해 비트 심도를 증가시킨 후 입력 깊이 영상과 비트 심도가 감소/증가된 깊이 영상의 양자화 오차를 보상하는 단계를 더 포함하는, 깊이 영상 처리 방법.And compensating for the quantization error of the input depth image and the depth image of which the bit depth is reduced / increased after increasing the bit depth for the depth image having the bit depth reduced. 제6항 내지 제10항 중 어느 한 항의 방법을 수행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.A computer readable recording medium having recorded thereon a program for performing the method of any one of claims 6 to 10.
KR1020090128068A 2009-12-21 2009-12-21 Apparatus and method for processing depth image using bit depth reduction KR101642965B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090128068A KR101642965B1 (en) 2009-12-21 2009-12-21 Apparatus and method for processing depth image using bit depth reduction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090128068A KR101642965B1 (en) 2009-12-21 2009-12-21 Apparatus and method for processing depth image using bit depth reduction

Publications (2)

Publication Number Publication Date
KR20110071483A true KR20110071483A (en) 2011-06-29
KR101642965B1 KR101642965B1 (en) 2016-07-26

Family

ID=44402582

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090128068A KR101642965B1 (en) 2009-12-21 2009-12-21 Apparatus and method for processing depth image using bit depth reduction

Country Status (1)

Country Link
KR (1) KR101642965B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013048105A1 (en) * 2011-09-30 2013-04-04 Lg Innotek Co., Ltd. Apparatus for transmitting image data
WO2023080426A1 (en) * 2021-11-08 2023-05-11 숭실대학교 산학협력단 Adversarially perturbed image detection method and computer program stored in recording medium to execute adversarially perturbed image detection method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3554074A1 (en) 2018-04-13 2019-10-16 Thomson Licensing Methods and apparatus for depth encoding and decoding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100386194B1 (en) * 2000-11-23 2003-06-02 주식회사 엠아이 Apparatus and method for image improvement by DC value additional compensation of quantization error in image compression
JP2005341555A (en) * 2004-04-29 2005-12-08 Mitsubishi Electric Information Technology Centre Europa Bv Method of representing image or sequence of image, descriptor representing image and method of using the same, apparatus for performing the methods, computer program, and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100386194B1 (en) * 2000-11-23 2003-06-02 주식회사 엠아이 Apparatus and method for image improvement by DC value additional compensation of quantization error in image compression
JP2005341555A (en) * 2004-04-29 2005-12-08 Mitsubishi Electric Information Technology Centre Europa Bv Method of representing image or sequence of image, descriptor representing image and method of using the same, apparatus for performing the methods, computer program, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013048105A1 (en) * 2011-09-30 2013-04-04 Lg Innotek Co., Ltd. Apparatus for transmitting image data
US9621891B2 (en) 2011-09-30 2017-04-11 Lg Innotek Co., Ltd. Apparatus for transmitting image data
WO2023080426A1 (en) * 2021-11-08 2023-05-11 숭실대학교 산학협력단 Adversarially perturbed image detection method and computer program stored in recording medium to execute adversarially perturbed image detection method

Also Published As

Publication number Publication date
KR101642965B1 (en) 2016-07-26

Similar Documents

Publication Publication Date Title
KR100552666B1 (en) Encoding/decoding apparatus for coordinate interpolator, and recordable medium containing coordinate interpolator encoded bit stream
US7848425B2 (en) Method and apparatus for encoding and decoding stereoscopic video
JP6029583B2 (en) System and method for transmission, processing and rendering of stereoscopic and multi-view images
US8861879B2 (en) Method and apparatus for encoding and decoding image based on skip mode
KR20210050186A (en) Apparatus and method for performing artificial intelligence encoding and artificial intelligence decoding of image
US10237576B2 (en) 3D-HEVC depth video information hiding method based on single-depth intra mode
US9554145B2 (en) Re-encoding image sets using frequency-domain differences
KR20130084670A (en) Video coding using temporally coherent dynamic range mapping
US9565450B2 (en) Method and device for processing video signal
US10911783B2 (en) Method and apparatus for processing video signal using coefficient-induced reconstruction
CA2774976C (en) Embedded graphics coding: reordered bitstream for parallel decoding
CN106576170B (en) The method and system that adaptive search-window for Video coding positions
US20180278943A1 (en) Method and apparatus for processing video signals using coefficient induced prediction
US20150365698A1 (en) Method and Apparatus for Prediction Value Derivation in Intra Coding
US20240048738A1 (en) Methods, apparatuses, computer programs and computer-readable media for processing configuration data
KR20100089705A (en) Apparatus and method for encoding and decoding 3d video
KR20110135044A (en) Apparatus and method for processing 3d image
TWI533670B (en) Method for decoding picture in form of bit-stream
US20140321757A1 (en) Extending prediction modes and performance of video codecs
KR101642965B1 (en) Apparatus and method for processing depth image using bit depth reduction
US10979704B2 (en) Methods and apparatus for optical blur modeling for improved video encoding
JP5706291B2 (en) Video encoding method, video decoding method, video encoding device, video decoding device, and programs thereof
KR20190087764A (en) Apparatus and method for encording kinect video data
US20200128240A1 (en) Video encoding and decoding using an epitome
Le Pendu et al. Template based inter-layer prediction for high dynamic range scalable compression

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190619

Year of fee payment: 4