KR101817137B1 - Coding Method and Coding Device for Depth Video through Depth Average in Block - Google Patents

Coding Method and Coding Device for Depth Video through Depth Average in Block Download PDF

Info

Publication number
KR101817137B1
KR101817137B1 KR1020160184396A KR20160184396A KR101817137B1 KR 101817137 B1 KR101817137 B1 KR 101817137B1 KR 1020160184396 A KR1020160184396 A KR 1020160184396A KR 20160184396 A KR20160184396 A KR 20160184396A KR 101817137 B1 KR101817137 B1 KR 101817137B1
Authority
KR
South Korea
Prior art keywords
depth
value
pixels
block
target block
Prior art date
Application number
KR1020160184396A
Other languages
Korean (ko)
Inventor
권순각
Original Assignee
동의대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 동의대학교 산학협력단 filed Critical 동의대학교 산학협력단
Priority to KR1020160184396A priority Critical patent/KR101817137B1/en
Application granted granted Critical
Publication of KR101817137B1 publication Critical patent/KR101817137B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/597Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding
    • H04N13/0048
    • H04N13/0257
    • H04N13/0271
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/161Encoding, multiplexing or demultiplexing different image signal components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/257Colour aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/271Image signal generators wherein the generated image signals comprise depth maps or disparity maps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock

Landscapes

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

Abstract

The present invention provides a method and a device for encoding a depth image through a block average, which can increase a compression ratio while maintaining quality of the depth image in consideration of a property of the depth image. According to an embodiment of the present invention, the method for encoding a depth image through a block average comprises the following steps of: capturing a three-dimensional space, and generating the depth image; separating the depth image into a plurality of blocks; determining an average value of a depth value of pixels in a target block among the plurality of blocks; calculating a difference between the average value and the depth value of the pixels in the target block, and compressing the target block; and encoding the target block.

Description

블록 평균을 통한 깊이 영상의 부호화 방법 및 부호화 장치{Coding Method and Coding Device for Depth Video through Depth Average in Block}TECHNICAL FIELD [0001] The present invention relates to a method and apparatus for encoding a depth image through a block average,

본 발명은 블록 평균을 통한 깊이 영상의 부호화 방법 및 부호화 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a depth image encoding method and an encoding apparatus using a block average.

디지털 시대가 도래된 이래로 다양한 멀티미디어 기술들이 급속히 발전하고 있으며 이를 바탕으로 디지털 콘텐츠 시장도 해마다 그 규모가 급속도로 성장하고 있다. 또한 인터넷과 같은 다양한 통신 수단과 전송 기술의 발달은 다양한 멀티미디어 콘텐츠 산업의 활성화를 이끌고 있다. 이러한 흐름 속에서 최근에는 사용자들의 요구가 단순 소비 형태의 콘텐츠 이용에서 대화형 콘텐츠, 실감 콘텐츠의 이용을 요구하는 수준으로 변화하고 있다. 디지털 영상 분야의 경우 과거의 흑백 아날로그 TV에서부터 최근의 UHD 디지털 TV까지 관련 기술이 끊임없이 발전하고 있으며 최근에는 3차원 영상에 대한 관심이 높아지면서 3차원 입체 영상 제작을 위해 다양한 깊이 카메라가 개발되었고, 이와 더불어 고품질의 3차원 입체 영상에 대한 요구가 다양한 응용 분야에서 증가하고 있다.Since the advent of the digital age, various multimedia technologies have been rapidly developing, and the digital content market is growing rapidly every year. In addition, the development of various communication means and transmission technology such as the Internet is leading the activation of various multimedia content industries. In recent years, the demand of users has changed from using simple consumption type to using interactive contents and realistic contents. In the field of digital imaging, related technologies from past black-and-white analog TV to recent UHD digital TV are constantly evolving. Recently, interest in 3D images has increased and various depth cameras have been developed for 3D stereoscopic image production. In addition, the demand for high quality 3D stereoscopic images is increasing in various applications.

이와 같이 고해상도, 고품질의 영상에 대한 요구가 다양한 응용 분야에서 증가하고 있다. 하지만, 영상이 고해상도를 가지고 고품질이 될수록 해당 영상에 관한 정보량도 함께 증가한다. 따라서, 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 정보를 전송하거나 기존의 저장 매체를 이용해 영상 정보를 저장하는 경우에는, 정보의 전송 비용과 저장 비용이 증가하게 된다. 고해상도, 고품질 영상의 정보를 효과적으로 전송하거나 저장하고 재생하기 위해 고효율의 깊이 영상 압축 기술이 요구되고 있다.As such, the demand for high resolution, high quality images is increasing in various applications. However, as the image has high resolution and high quality, the amount of information about the image also increases. Therefore, when image information is transmitted using a medium such as a conventional wired / wireless broadband line, or image information is stored using an existing storage medium, information transmission cost and storage cost are increased. There is a demand for a highly efficient depth image compression technique for effectively transmitting, storing and reproducing information of high resolution and high quality images.

대한민국공개특허공보 10-2015-0037203Korean Patent Publication No. 10-2015-0037203

본 발명의 목적은 깊이 영상의 특성을 고려하여 깊이 영상의 품질을 유지하면서도 압축율을 높일 수 있는 블록 평균을 통한 깊이 영상의 부호화 방법 및 부호화 장치를 제공함에 있다.It is an object of the present invention to provide a method and apparatus for encoding a depth image with a block average that can increase the compression rate while maintaining the quality of the depth image considering the characteristics of the depth image.

본 발명의 실시예에 따른 블록 평균을 통한 깊이 영상의 부호화 방법은 3차원 공간을 촬영하여 깊이 영상을 생성하는 단계; 상기 깊이 영상을 복수개의 블록으로 분할하는 단계; 상기 복수개의 블록 중 대상 블록 내의 화소들의 깊이 값의 평균값을 결정하는 단계; 상기 대상 블록 내의 화소들의 깊이 값에 상기 평균값을 차 연산하여 상기 대상 블록을 압축하는 단계; 및 상기 대상 블록을 부호화하는 단계;를 포함하는 블록 평균을 통한 깊이 영상의 부호화 방법을 제공할 수 있다.According to another aspect of the present invention, there is provided a method of encoding a depth image through block averaging, comprising: generating a depth image by capturing a three-dimensional space; Dividing the depth image into a plurality of blocks; Determining an average value of depth values of pixels in a target block among the plurality of blocks; Compressing the target block by subtracting the average value from the depth value of the pixels in the target block; And a step of encoding the target block. The present invention also provides a method of encoding a depth image through a block average.

또한 본 발명의 다른 실시예에 따른 블록 평균을 통한 깊이 영상의 부호화 방법은, 상기 대상 블록의 직전 블록의 평균 값에 상기 대상 블록의 평균값을 차 연산하여 블록들의 평균 값을 압축하는 단계;를 더 포함하는 블록 평균을 통한 깊이 영상의 부호화 방법을 제공할 수도 있다.According to another aspect of the present invention, there is provided a method of coding a depth image through a block average, the method comprising: averaging the average value of the target block with an average value of the immediately preceding block of the target block to compress an average value of the blocks; A method of encoding the depth image through the block averaging may be provided.

또한 본 발명의 또 다른 실시예에 따른 블록 평균을 통한 깊이 영상의 부호화 방법의 상기 복수개의 블록 중 대상 블록 내의 화소들의 깊이 값의 평균값을 결정하는 단계는, 상기 대상 블록 내의 화소들 중 깊이 값이 0인 화소는 제외한 나머지 화소들의 깊이 값의 평균값을 결정하는 것을 특징으로 하는 블록 평균을 통한 깊이 영상의 부호화 방법을 제공할 수도 있다.According to another aspect of the present invention, the step of determining the average value of the depth values of the pixels in the target block among the plurality of blocks in the depth image coding method using the block average may include: 0 < / RTI > pixels of the depth image, the average value of the depth values of the remaining pixels is determined.

또한 본 발명의 또 다른 실시예에 따른 부호화장치는, 3차원 공간을 촬영하여 깊이 영상을 생성하는 깊이검출부; 상기 깊이 영상을 복수개의 블록으로 분할하는 블록분할부; 상기 복수개의 블록 중 대상 블록 내의 화소들의 깊이 값의 평균값을 결정하는 블록분석부; 상기 대상 블록 내의 화소들의 깊이 값에 상기 평균값을 차 연산하여 상기 대상 블록을 압축하는 화소압축부; 및 상기 대상 블록을 부호화하는 부호화부;를 포함하는 부호화장치를 제공할 수도 있다.According to another aspect of the present invention, there is provided an encoding apparatus including: a depth detector for capturing a three-dimensional space to generate a depth image; A block dividing unit dividing the depth image into a plurality of blocks; A block analyzer for determining an average value of depth values of pixels in a target block among the plurality of blocks; A pixel compression unit for subtracting the average value from a depth value of pixels in the target block to compress the target block; And a coding unit for coding the target block.

또한 본 발명의 또 다른 실시예에 따른 부호화장치는, 상기 대상 블록의 직전 블록의 평균 값에 상기 대상 블록의 평균값을 차 연산하여 블록들의 평균 값을 압축하는 평균값 압축부;를 더 포함하는 부호화장치를 제공할 수도 있다.The coding apparatus according to another embodiment of the present invention further comprises an average value compressing unit compressing an average value of the blocks by subtracting an average value of the target blocks from an average value of the immediately preceding blocks of the target block, . ≪ / RTI >

본 발명의 실시예는 원 깊이 영상에 포함된 중요한 정보는 보존하면서 기타 정보를 제거하여 원 깊이 영상의 품질을 잃지 않으면서도 가능한 한 적은 디지털 부호량으로 깊이 영상을 표현할 수 있다.The embodiment of the present invention can represent the depth image with a digital code amount as small as possible without losing the quality of the original depth image by removing other information while preserving important information included in the original depth image.

도 1는 본 발명의 실시예에 따른 부호화장치와 이를 구성하는 구성들의 블록도이다.
도 2는 본 발명의 실시예에서 적용되는 깊이의 개념을 설명하기 위한 개념도이다.
도 3은 평균화부의 블록도이다.
도 4는 대상 블록의 화소들의 깊이 값을 나타낸 것이다.
도 5는 블록 평균을 통한 화소들의 깊이 값을 무손실 압축한 것을 나타낸 것이다.
도 6은 평균값 압축 전과 압축 후를 나타낸 것이다.
도 7은 평균값을 각 블록 화소 값 바로 앞에 저장시키는 방법을 나타낸 것이다.
도 8은 블록 평균을 통한 깊이 영상의 부호화 방법에 대한 흐름도이다.
FIG. 1 is a block diagram of an encoding apparatus according to an embodiment of the present invention, and a configuration thereof.
2 is a conceptual diagram for explaining the concept of depth applied in the embodiment of the present invention.
3 is a block diagram of an averaging unit.
4 shows depth values of pixels of a target block.
FIG. 5 shows lossless compression of depth values of pixels through block averaging.
6 shows the values before and after the average value compression.
FIG. 7 shows a method of storing an average value immediately before each block pixel value.
8 is a flowchart illustrating a method of encoding a depth image through a block average.

본 발명은 다양한 변환을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 본 발명의 효과 및 특징, 그리고 그것들을 달성하는 방법은 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 다양한 형태로 구현될 수 있다. 이하의 실시예에서, 제1, 제2 등의 용어는 한정적인 의미가 아니라 하나의 구성 요소를 다른 구성 요소와 구별하는 목적으로 사용되었다. 또한, 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 또한, 포함하다 또는 가지다 등의 용어는 명세서상에 기재된 특징, 또는 구성요소가 존재함을 의미하는 것이고, 하나 이상의 다른 특징들 또는 구성요소가 부가될 가능성을 미리 배제하는 것은 아니다. 또한, 도면에서는 설명의 편의를 위하여 구성 요소들이 그 크기가 과장 또는 축소될 수 있다. 예컨대, 도면에서 나타난 각 구성의 크기 및 두께는 설명의 편의를 위해 임의로 나타내었으므로, 본 발명이 반드시 도시된 바에 한정되지 않는다.BRIEF DESCRIPTION OF THE DRAWINGS The present invention is capable of various modifications and various embodiments, and specific embodiments are illustrated in the drawings and described in detail in the detailed description. The effects and features of the present invention and methods of achieving them will be apparent with reference to the embodiments described in detail below with reference to the drawings. However, the present invention is not limited to the embodiments described below, but may be implemented in various forms. In the following embodiments, the terms first, second, and the like are used for the purpose of distinguishing one element from another element, not the limitative meaning. Also, the singular expressions include plural expressions unless the context clearly dictates otherwise. Also, the terms include, including, etc. mean that there is a feature, or element, recited in the specification and does not preclude the possibility that one or more other features or components may be added. Also, in the drawings, for convenience of explanation, the components may be exaggerated or reduced in size. For example, the size and thickness of each component shown in the drawings are arbitrarily shown for convenience of explanation, and thus the present invention is not necessarily limited to those shown in the drawings.

이하, 첨부된 도면을 참조하여 본 발명의 실시예들을 상세히 설명하기로 하며, 도면을 참조하여 설명할 때 동일하거나 대응하는 구성 요소는 동일한 도면부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like reference numerals refer to like or corresponding components throughout the drawings, and a duplicate description thereof will be omitted .

<부호화장치><Encoder>

도 1은 본 발명의 실시예에 따른 부호화장치와 이를 구성하는 구성들의 블록도이고, 도 2는 본 발명의 실시예에서 적용되는 깊이의 개념을 설명하기 위한 개념도이다.FIG. 1 is a block diagram of an encoding apparatus and structures of the encoding apparatus according to an embodiment of the present invention. FIG. 2 is a conceptual diagram illustrating the concept of depth applied in an embodiment of the present invention.

도 1을 참조하면, 본 발명의 실시예에 따른 부호화장치(10)는 3차원 공간을 촬영하여 깊이 영상을 생성하는 깊이측정부(100), 깊이 영상 내의 일 방향으로 탐색하여 화소들의 깊이 값을 검출하는 화소탐색부(200), 부호화제어부(300), 깊이 영상을 부호화모드에 따라 부호화하는 부호화부(400), 부호화제어부(300)로부터 결정된 사이즈에 따라 깊이 영상을 복수의 블록으로 분할하는 불록분할부(600) 및 평균화부(700)를 포함할 수 있다.Referring to FIG. 1, an encoding apparatus 10 according to an exemplary embodiment of the present invention includes a depth measurement unit 100 for capturing a three-dimensional space to generate a depth image, A coding unit 400 for coding the depth image in accordance with the coding mode, a memory unit 400 for dividing the depth image into a plurality of blocks according to the size determined by the coding control unit 300, A dividing unit 600 and an averaging unit 700. [

본 발명의 실시예을 구성하는 깊이측정부(100)는 3차원 공간을 촬영할 수 있는 카메라를 구비할 수 있다. The depth measuring unit 100 constituting the embodiment of the present invention may include a camera capable of photographing a three-dimensional space.

또한 깊이측정부(100)가 촬영한 영상의 화소는 RGB의 색상 정보가 아닌 일 예로 mm 단위의 정수로 된 깊이 정보가 될 수 있다.In addition, the pixels of the image taken by the depth measuring unit 100 may be depth information of an integer of mm, for example, not the RGB color information.

또한 깊이측정부(100)는 3차원 공간을 촬영하여 깊이 영상을 생성할 수 있다. 그리고 여기서의 깊이 영상은 일 예로 그레이 레벨(grey level)로 표현될 수 있고 깊이 영상에 속한 각각의 화소는 깊이 값을 가질 수 있으며, 깊이 값은 카메라가 촬영한 장면의 해당 화소에 대응되는 지점에서 카메라까지의 거리를 의미할 수 있다.Also, the depth measuring unit 100 can capture a three-dimensional space and generate a depth image. Here, the depth image may be represented by a gray level, for example, and each pixel belonging to the depth image may have a depth value, and the depth value may be a value corresponding to a pixel corresponding to the corresponding pixel of the scene shot by the camera It can mean the distance to the camera.

<깊이 측정 방식><Depth measurement method>

또한 깊이측정부(100)는 3차원 공간 상에 광을 조사하고 3차원 공간 상의 물체로부터 반사되어 되돌아오는 반사광을 수신할 수 있다. 그리고 광의 출사 후 반사광의 수신 시점까지의 시간 정보를 이용하여 물체의 깊이 정보를 검출할 수 있다. 보다 상세하게는 깊이측정부(100)는 TOF(Time Of Flight) 카메라를 구비하고, TOF의 카메라는 in phase receptor와 out phase receptor로 구성된 이미지센서와 광을 출사하는 발광다이오드로 구성될 수 있다. 또한 발광다이오드로부터 모듈레이션(modulation)되며 출사된 광에 동기하여 이미지센서가 활성화되는데, 발광다이오드가 턴온된 상태에서는 in phase receptor가 활성화되고, 발광다이오드가 턴오프된 상태에서는 out phase receptor가 활성화 될 수 있다. 그리고 in phase receptor와 out phase receptor 들은 시간차를 두고 서로 다른 시점에 활성화되므로 물체와의 거리에 따라서 수신되는(누적되는) 광량에 차이가 발생하게 되고 이러한 광량에 차이를 비교하여 물체와의 거리를 측정할 수 있다.In addition, the depth measuring unit 100 can irradiate light onto the three-dimensional space and receive reflected light reflected from the object in the three-dimensional space. And depth information of the object can be detected using the time information from the output of light to the point of time of receiving the reflected light. More specifically, the depth measuring unit 100 may include a TOF (Time Of Flight) camera. The TOF camera may include an image sensor including an in-phase receptor and an out-phase receptor, and a light emitting diode that emits light. In addition, the image sensor is activated in synchronization with the emitted light by being modulated from the light emitting diode. When the light emitting diode is turned on, the in-phase receptor is activated and when the light emitting diode is turned off, have. Since the in phase receptors and the out phase receptors are activated at different points of time with a time difference, there is a difference in the amount of light received (accumulated) depending on the distance to the object, and the distance to the object is measured can do.

전술한 바에 따른 깊이 측정과는 달리 깊이측정부(100)는 카메라와 구조광을 출력하는 프로젝터로 구성되어 깊이를 얻고자 하는 객체를 향해 좁은 밴드의 빛을 비추고 다른 시점에서 볼 때에는 왜곡으로 나타날 수 있는 빛에 의한 선들, 즉 광 패턴을 촬영하여 이로부터 객체가 존재하는 3차원 공간 상의 깊이 정보를 검출할 수도 있고, 이와 달리 스테레오 카메라를 구비하여 좌, 우 영상 상호간의 정합점을 찾아내고 정합점간의 차이를 이용하여 3차원 깊이 정보를 추출할 수도 있다. Unlike the depth measurement described above, the depth measuring unit 100 is composed of a camera and a projector that outputs structured light, and it is possible to display a narrow band light toward an object to obtain a depth, Dimensional space in which an object exists, by photographing the lines of light, i.e., a light pattern, by using a stereo camera, and by finding a matching point between the left and right images by using a stereo camera, Dimensional depth information can be extracted using the difference between the three-dimensional depth information.

다만, 깊이측정부(100)의 깊이 검출 방식이 전술한 바에 한정하는 것은 아니고 3차원 깊이 정보를 추출할 수 있는 장치라면 어떠한 장치라도 가능하다.However, the depth detection method of the depth measuring unit 100 is not limited to the above-described method, and any apparatus can be used as long as it can extract three-dimensional depth information.

<깊이의 개념><The concept of depth>

또한 도 2를 참조하여 깊이 영상에서의 깊이(depth)에 대한 개념을 보다 상세하게 설명하면, 깊이측정부(100)의 카메라와 영상이 높여 있는 3차원 공간을 3차원 좌표계인 세계 좌표계(world coordinate system)로 표현할 수 있고, 카메라 역시 3차원 좌표계인 카메라 좌표계(camera coordinate system)를 가진다. 그리고 카메라는 시계 좌표계의 어느 한 점인 카메라 중심(camera center)에 위치할 수 있다. 또한 카메라의 X, Y, Z 축은 각각 수직축(Vertical axis), 수평축(Horizontal axis), 광축(optical axis)이라고 부르고 광축은 카메라의 빛(ray)의 직진 방향으로써 주축(principal axis)라 한다. 광축과 영상 평면이 만나는 점은 2차원 영상 평면(Image plane) 안의 한 점으로써 주점(principal point)이라고 하며, 카메라 중심으로부터 주점까지의 거리가 카메라의 초점거리(focal length)이다. 그리고 카메라의 투영(projection)에 의해서 촬영하고자 하는 3차원 장면의 각 점은 2차원 영상 평면(Image plane)으로 투영된다. 즉, 깊이측정부(100)의 위치는 3차원 카메라 좌표계의 원점을 나타내고 Z축(optical axis, principal axis)은 눈이 바라보는 방향과 일직선이 된다. 그리고 세계 좌표계의 임의의 한 점 P=(X, Y, Z)는 Z축에 수직인 2차원 영상 평면(image plane)의 임의의 한 점 p=(x, y)로 투영될 수 있다.Referring to FIG. 2, the concept of the depth in the depth image will be described in more detail. A three-dimensional space in which the camera and the image of the depth measuring unit 100 are elevated is referred to as a world coordinate system, and the camera also has a camera coordinate system, which is a three-dimensional coordinate system. The camera may be located at a camera center, which is a point in the clock coordinate system. The X, Y, and Z axes of the camera are referred to as a vertical axis, a horizontal axis, and an optical axis, respectively, and the optical axis is referred to as a principal axis in the direction of a straight line of a camera ray. The point at which the optical axis meets the image plane is called a principal point as a point in the image plane and the distance from the center of the camera to the principal point is the focal length of the camera. Then, each point of the three-dimensional scene to be photographed by projection of the camera is projected onto a two-dimensional image plane. That is, the position of the depth measuring unit 100 represents the origin of the three-dimensional camera coordinate system, and the Z axis (optical axis, principal axis) is in line with the direction of the eye. And an arbitrary point P = (X, Y, Z) in the world coordinate system can be projected to an arbitrary point p = (x, y) of a two-dimensional image plane perpendicular to the Z axis.

이 때 3차원 장면의 각점 p=(x, y)은 3차원 좌표계의 P=(X, Y, Z)의 Z값으로 표현될 수 있고 이 때의 2차원 영상 평면은 깊이 영상을 의미할 수 있다.In this case, each point p = (x, y) of the 3D scene can be expressed as the Z value of P = (X, Y, Z) of the 3D coordinate system, have.

한편 본 발명을 설명함에 있어 세계 좌표계와 카메라 좌표계는 서로 일치된 것으로 가정할 수 있다.In describing the present invention, it can be assumed that the world coordinate system and the camera coordinate system coincide with each other.

<깊이 정보의 개념><Concept of depth information>

전술한 바에 기초하여 깊이 영상을 다시 정의하면, 깊이측정부(100)를 기준으로 깊이측정부(100)의 위치와 실물 간의 거리를 상대적인 값으로 수치화한 정보들의 집합이라고 할 수 있고, 이는 영상 단위, 슬라이스 단위 등으로 표현될 수 있으며, 깊이 영상 내에서의 깊이 정보는 픽셀 단위로 표현될 수 있다.If the depth image is redefined based on the above description, it can be said to be a set of information obtained by digitizing the distance between the position of the depth measuring unit 100 and the real object relative to the depth measuring unit 100, , A slice unit, or the like, and the depth information in the depth image can be expressed in pixel units.

또한 하나의 프레임 내에 있는 화소 값은 그 주변 화소값과 상관 관계가 존재하기 때문에 이러한 상관 관계를 이용하여 부호화를 수행할 수 있다. 따라서 부호화를 수행하고자 하는 프레임 내의 어떤 범위에 있는 여러 개의 화소를 모아서 화소 블록을 구성할 수도 있다. In addition, since a pixel value within one frame has a correlation with its neighboring pixel values, encoding can be performed using this correlation. Accordingly, a pixel block may be formed by collecting a plurality of pixels in a certain range within a frame to be encoded.

보다 상세하게는 블록분할부(600)는 수신한 깊이 영상을 부호화 제어부(300)의 의해 결정된 사이즈에 따라 각 복수의 블록으로 분할하여 분할된 블록을 출력할 수 있다.More specifically, the block dividing unit 600 divides the received depth image into a plurality of blocks according to a size determined by the encoding control unit 300, and outputs the divided blocks.

또한 복수의 블록 각각은 M*N 화소로 이루어진 영역으로 정의할 수 있다. 예를 들어 M*N은 16*16화로소 이루어진 영역으로 정의할 수 있고 해상도가 증가하면 기본 단위는 32*32나 64*64 화소로 이루어진 영역으로 정의할 수도 있다.Each of the plurality of blocks may be defined as an area consisting of M * N pixels. For example, M * N can be defined as an area consisting of 16 * 16 pixels. When the resolution is increased, the basic unit can be defined as an area consisting of 32 * 32 pixels or 64 * 64 pixels.

부호화부(400)는 블록분할부(600)로부터 출력된 분할된 블록들 각각을 부호화 제어부(300)에 의해 결정된 부호화 모드에 따라서 부호화할 수 있다.The encoding unit 400 may encode each of the divided blocks output from the block dividing unit 600 according to the encoding mode determined by the encoding control unit 300. [

또한 부호화부(400)는 부호화 제어부(300)에 의해 결정된 부호화 모드에 따라서 화소의 깊이 정보를 부호화할 수 있다. The encoding unit 400 can encode the depth information of the pixel in accordance with the encoding mode determined by the encoding control unit 300. [

<블록 평균을 통한 깊이 영상 부호화><Depth image coding through block averaging>

도 3은 평균화부의 블록도이다. 또한 도 4는 대상 블록의 화소들의 깊이 값을 나타낸 것이고, 도 5는 블록 평균을 통한 화소들의 깊이 값을 무손실 압축한 것을 나타낸 것이다. 또한 도 6은 평균값 압축 전과 압축 후를 나타낸 것이다. 그리고 도 7은 평균값을 각 블록 화소 값 바로 앞에 저장시키는 방법을 나타낸 것이다.3 is a block diagram of an averaging unit. FIG. 4 shows the depth values of the pixels of the target block, and FIG. 5 shows lossless compression of the depth values of the pixels through the block average. 6 shows the values before and after the average value compression. And FIG. 7 shows a method of storing an average value immediately before each block pixel value.

도 3을 참조하면, 평균화부(700)는 블록분석부(710), 화소압축부(730), 평균값 압축부(740) 및 블록 저장부(750)를 포함할 수 있다.3, the averaging unit 700 may include a block analysis unit 710, a pixel compression unit 730, an average value compression unit 740, and a block storage unit 750.

부호화제어부(300)에 의해 결정된 사이즈에 따라 블록분할부(600)는 깊이 영상을 복수개의 블록으로 분할하고, 분할된 블록 중 어느 하나의 대상 블록은 일 예로 도 10과 같이 8*8의 블록이 될 수 있다.The block division unit 600 divides the depth image into a plurality of blocks according to the size determined by the encoding control unit 300, and one of the divided blocks is a block of 8 * 8, for example, as shown in FIG. 10 .

평균화부(700)의 블록분석부(710)는 대상 블록 내의 모든 화소들의 깊이 값을 검출하여 깊이 값들의 평균 값을 결정할 수 있다. 이와 달리 블록분석부(710)는 화소탐색부(200)에서 검출된 깊이 값의 정보를 수신하여 수신된 깊이 값 중에서 대상 블록 내의 깊이 값을 추출할 수도 있다.The block analyzer 710 of the averaging unit 700 may determine the average value of the depth values by detecting depth values of all the pixels in the target block. Alternatively, the block analyzing unit 710 may receive information on the depth value detected by the pixel search unit 200 and extract the depth value in the target block from the received depth values.

또한 화소압축부(730)는 검출된 평균값 1197을 대상 블록의 화소의 깊이 값에 차 연산하여 도 11과 같은 비트수를 줄여 정보량을 무손실 압축할 수 있다.In addition, the pixel compression unit 730 can perform lossless compression of the amount of information by subtracting the number of bits as shown in FIG. 11 by calculating a difference between the detected average value 1197 and the depth value of the pixel of the target block.

한편 대상 블록내에 화소의 깊이 값이 0으로 검출된 경우 해당 화소는 평균 값 계산에서 제외하고, 깊이 값이 0으로 측정된 화소에 대해서는 깊이 값으로 지정되지 않는 특별한 부호를 마크하여 다른 부호와 구별할 수 있다.On the other hand, if the depth value of a pixel is detected as 0 in the target block, the corresponding pixel is excluded from the average value calculation, and a special code not designated as a depth value is marked for a pixel having a depth value of 0, .

또한 평균화부(700)는 분할된 블록들 각각에 대한 평균화를 통한 정보량을 압축하고, 각 블록에 대한 평균값의 정보를 저장할 수 있다.In addition, the averaging unit 700 may compress the amount of information through the averaging for each of the divided blocks, and may store the average value information for each block.

또한 도 6을 참조하면, 평균화부(700)의 평균값 압축부(730)는 각 블록의 평균값을 직전 블록의 값을 이용하여 예측하고, 예측된 값과의 오차를 이용하여 압축을 수행할 수 있다. 즉 직전 블록이 존재하면 직전 블록의 평균 값에 대상 블록의 평균 값의 차 연산하여 평균 값을 압축할 수 있다.Referring to FIG. 6, the averaging unit 730 of the averaging unit 700 predicts the average value of each block using the value of the immediately preceding block, and performs compression using the error with the predicted value . That is, if there is an immediately preceding block, the average value of the previous block can be calculated by subtracting the average value of the target block to compress the average value.

또한 블록 저장부(750)는 각 대상 블록의 화소 압축 및 평균값 압축에 따라 비트수가 줄어든 블록내 각 화소의 비트수와 평균값을 저장할 수 있다.The block storage unit 750 may store the number of bits and the average value of each pixel in the block in which the number of bits is reduced according to pixel compression and average value compression of each target block.

또한 부호화부(400)에서 압축된 각각의 대상 블록을 이산여현변환(Discrete Consine Transform: DCT) 또는 화면내 예측 등의 부호화 모드에 따라 부호화될 수 있다.Each of the target blocks compressed by the encoding unit 400 may be encoded according to a coding mode such as a discrete cosine transform (DCT) or an intra prediction.

또한 부호화부(400)는 블록 저장부(750)가 저장한 블록을 순서에 맞게 저장하여 부호화할 수 있다. 이 때 평균 값은 도 7과 같이 각 블록 맨 첫 번째에 위치시킬 수 있고, 별도의 테이블을 만들어 그 곳에 저장할 수도 있다.Also, the encoding unit 400 can store the blocks stored in the block storage unit 750 in order and encode them. In this case, the average value can be located at the top of each block as shown in FIG. 7, and a separate table can be created and stored therein.

<블록 평균을 통한 깊이 영상의 부호화 방법><Coding method of depth image through block averaging>

도 8은 블록 평균을 통한 깊이 영상의 부호화 방법에 대한 흐름도이다.8 is a flowchart illustrating a method of encoding a depth image through a block average.

도 8을 참조하면, 본 발명의 실시예에 따른 블록 평균을 통한 깊이 영상의 부호화 방법은 3차원 공간을 촬영하여 깊이 영상을 생성하는 단계(S100), 상기 깊이 영상을 복수개의 블록으로 분할하는 단계(S200), 상기 복수개의 블록 중 대상 블록 내의 화소들의 깊이 값의 평균값을 결정하는 단계(S600), 상기 대상 블록 내의 화소들의 깊이 값에 상기 평균값을 차 연산하여 상기 대상 블록을 압축하는 단계(S700) 및 상기 대상 블록을 부호화하는 단계(S900)를 포함할 수 있다.Referring to FIG. 8, a method of coding a depth image through block averaging according to an embodiment of the present invention includes generating a depth image by capturing a three-dimensional space (S100), dividing the depth image into a plurality of blocks (S200), determining an average value of depth values of pixels in a target block among the plurality of blocks (S600), compressing the target block by subtracting the average value from a depth value of pixels in the target block And encoding the target block (S900).

또한 본 발명의 실시예에 따른 블록 평균을 통한 깊이 영상의 부호화 방법은 상기 대상 블록의 직전 블록의 평균 값에 상기 대상 블록의 평균값을 차 연산하여 블록들의 평균 값을 압축하는 단계(S800)를 더 포함할 수 있다. The method of coding a depth image through a block average according to an embodiment of the present invention further includes a step S800 of subtracting an average value of the target blocks from an average value of the immediately preceding blocks of the target block to compress an average value of the blocks .

본 발명의 다른 실시예에 따른 블록 평균을 통한 깊이 영상의 부호화 방법은, 3차원 공간을 촬영하여 깊이 영상을 생성하는 단계, 상기 깊이 영상을 복수개의 블록으로 분할하는 단계, 상기 분할된 블록 중 대상 블록 내의 화소들의 깊이 값을 일 방향으로 탐색하는 단계, 상기 일 방향으로의 화소들 중 어느 하나의 화소와 다음 화소의 깊이 값의 차이를 검출하는 단계, 상기 깊이 값의 차이에 기초하여 탐색된 화소들의 깊이 값을 보정하는 단계, 상기 복수개의 블록 중 대상 블록 내의 화소들의 보정된 깊이 값의 평균값을 결정하는 단계, 상기 대상 블록 내의 화소들의 보정된 깊이 값에 상기 평균값을 차 연산하여 상기 대상 블록을 압축하는 단계, 상기 대상 블록의 직전 블록의 평균 값에 상기 대상 블록의 평균값을 차 연산하여 블록들의 평균 값을 압축하는 단계 및 상기 대상 블록을 부호화하는 단계를 포함할 수 있다. 또한 여기서의 일 방향은 화소들의 수평 방향 또는 수직 방향 중 어느 하나의 방향이 될 수 있고, 탐색 영역은 상기 깊이 영상 내 또는 상기 깊이 영상을 분할한 블록들 중 어느 하나의 블록 내가 될 수 있다. 또한 깊이 값의 차이에 기초하여 탐색된 화소들의 깊이 값을 보정하는 단계는, 검출된 깊이 값의 차이 값을 기 설정치와 비교하는 단계, 상기 기 설정치 이내의 차이를 가진 화소들을 직선화보정대상화소들로 구분하는 단계 및 상기 직선화보정대상화소들의 깊이 값을 보정하는 단계를 포함할 수 있다. 또한 여기서의 직선화보정대상화소들은 제1 내지 제 k(k는 2이상의 자연수) 직선화보정대상화소들을 포함할 수 있고, 제k-f(f는 1 이상 k-1 이하의 자연수) 직선화보정대상화소들의 내의 마지막으로 탐색한 화소의 깊이 값과 제k-f+1 직선화보정대상화소들의 내의 첫번째로 탐색한 화소의 깊이 값은 상기 기 설정치 이상의 차이가 난다. 또한 직선화보정대상화소들의 깊이 값을 보정하는 단계(S530)는, 상기 제1 내지 제k 직선화보정대상화소들 중 어느 하나의 직선화보정대상화소들 내의 복수의 화소들을 구분하는 화소 번호(j)와 각각의 깊이 값을 이용하여 j개의 일차 방정식(

Figure 112016129812879-pat00001
)을 생성하는 단계, 상기 j개의 일차 방정식에 최소자승법을 적용하여 일차 방정식의 매개 변수(
Figure 112016129812879-pat00002
)를 결정하는 단계 및 상기 매개 변수를 가진 일차 방정식을 결정하고 각 j 값에 대응하는 화소의 보정된 깊이 값을 결정하는 단계를 포함할 수 있다. 본 발명에 따른 실시예는 깊이 영상 내의 깊이 값의 오차를 제거할 수 있는 블록 평균을 통한 깊이 영상의 부호화 방법 및 부호화 장치를 제공할 수 있고, 또한 깊이 영상을 부호화할 때 깊이 영상에 포함된 오차를 제거함으로써 효율적인 부호화가 이루어지도록 할 수 있다.According to another aspect of the present invention, there is provided a method of encoding a depth image through a block average, the method comprising: generating a depth image by capturing a three-dimensional space; dividing the depth image into a plurality of blocks; Detecting a depth value of pixels in a block in one direction, detecting a difference between a depth value of one of the pixels in the one direction and a depth value of the next pixel, Determining a mean value of corrected depth values of pixels in a target block among the plurality of blocks, calculating a difference value between the corrected depth value of the pixels in the target block and the average value, Compressing an average value of the target block and a mean value of the target block; And the method comprising may comprise the step of coding the current block. Here, one direction may be a horizontal direction or a vertical direction of the pixels, and the search area may be any one of the depth image and the depth image divided blocks. The step of correcting the depth value of the searched pixels based on the difference in depth value may further include comparing the difference value of the detected depth value with a preset value, And correcting a depth value of the pixels to be subjected to linearization correction. The pixels to be subjected to linearization correction may include first to k-th (k is a natural number equal to or greater than 2) rectilinearally-correcting pixels, kk (f is a natural number equal to or larger than 1 and k-1) The depth value of the last searched pixel and the depth value of the first searched pixel in the (k-f + 1) th straightening correction target pixels differ by more than the predetermined value. In addition, the step of correcting the depth value of the pixels subject to linearization correction (S530) may include a step of calculating a pixel number (j) for distinguishing a plurality of pixels in any one of the straightening- Using each of the depth values, j linear equations (
Figure 112016129812879-pat00001
), Applying a least squares method to the j number of linear equations to calculate a parameter of the linear equation
Figure 112016129812879-pat00002
) And determining a linear equation with the parameter and determining a corrected depth value of the pixel corresponding to each j value. The embodiment of the present invention can provide a method and apparatus for encoding a depth image through a block average that can eliminate an error of a depth value in a depth image, So that efficient coding can be performed.

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

본 발명에서 설명하는 특정 실행들은 일 실시 예들로서, 어떠한 방법으로도 본 발명의 범위를 한정하는 것은 아니다. 명세서의 간결함을 위하여, 종래 전자적인 구성들, 제어 시스템들, 소프트웨어, 상기 시스템들의 다른 기능적인 측면들의 기재는 생략될 수 있다. 또한, 도면에 도시된 구성 요소들 간의 선들의 연결 또는 연결 부재들은 기능적인 연결 및/또는 물리적 또는 회로적 연결들을 예시적으로 나타낸 것으로서, 실제 장치에서는 대체 가능하거나 추가의 다양한 기능적인 연결, 물리적인 연결, 또는 회로 연결들로서 나타내어질 수 있다. 또한, “필수적인”, “중요하게” 등과 같이 구체적인 언급이 없다면 본 발명의 적용을 위하여 반드시 필요한 구성 요소가 아닐 수 있다.The specific acts described in the present invention are, by way of example, not intended to limit the scope of the invention in any way. For brevity of description, descriptions of conventional electronic configurations, control systems, software, and other functional aspects of such systems may be omitted. Also, the connections or connecting members of the lines between the components shown in the figures are illustrative of functional connections and / or physical or circuit connections, which may be replaced or additionally provided by a variety of functional connections, physical Connection, or circuit connections. Also, unless explicitly mentioned, such as &quot; essential &quot;, &quot; importantly &quot;, etc., it may not be a necessary component for application of the present invention.

또한 설명한 본 발명의 상세한 설명에서는 본 발명의 바람직한 실시 예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자 또는 해당 기술분야에 통상의 지식을 갖는 자라면 후술할 특허청구범위에 기재된 본 발명의 사상 및 기술 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다. 따라서, 본 발명의 기술적 범위는 명세서의 상세한 설명에 기재된 내용으로 한정되는 것이 아니라 특허청구범위에 의해 정하여져야만 할 것이다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the technical scope of the present invention should not be limited to the contents described in the detailed description of the specification, but should be defined by the claims.

10: 부호화장치
100: 깊이검출부
200: 화소탐색부
300: 부호화 제어부
400: 부호화부
600: 블록분할부
700: 평균화부
710: 블록분석부
730: 화소압축부
740: 평균값 압축부
750: 블록저장부
10: Encoding device
100: depth detector
200:
300:
400:
600: Block division
700: Averageizer
710: block analysis unit
730:
740: average value compression section
750: Block storage unit

Claims (9)

3차원 공간을 촬영하여 깊이 영상을 생성하는 단계;
상기 깊이 영상을 복수개의 블록으로 분할하는 단계;
상기 복수개의 블록 중 대상 블록 내의 화소들의 깊이 값의 평균값을 결정하는 단계;
상기 대상 블록 내의 화소들의 깊이 값에 상기 평균값을 차 연산하여 상기 대상 블록을 압축하는 단계;
상기 대상 블록을 부호화하는 단계;
상기 분할된 블록 중 대상 블록 내의 화소들의 깊이 값을 일 방향으로 탐색하는 단계;
상기 일 방향으로의 화소들 중 어느 하나의 화소와 다음 화소의 깊이 값의 차이를 검출하는 단계; 및
상기 깊이 값의 차이에 기초하여 탐색된 화소들의 깊이 값을 보정하는 단계;를 포함하고,
상기 평균값은 상기 대상 블록 내의 화소들의 보정된 깊이 값의 평균 값이고,
상기 깊이 값의 차이에 기초하여 탐색된 화소들의 깊이 값을 보정하는 단계는,
검출된 깊이 값의 차이 값을 기 설정치와 비교하는 단계;
상기 기 설정치 이내의 차이를 가진 화소들을 직선화보정대상화소들로 구분하는 단계; 및
상기 직선화보정대상화소들의 깊이 값을 보정하는 단계;를 포함하는 것을 특징으로 하는
블록 평균을 통한 깊이 영상의 부호화 방법.
Capturing a three-dimensional space to generate a depth image;
Dividing the depth image into a plurality of blocks;
Determining an average value of depth values of pixels in a target block among the plurality of blocks;
Compressing the target block by subtracting the average value from the depth value of the pixels in the target block;
Encoding the target block;
Searching depth values of pixels in a target block among the divided blocks in one direction;
Detecting a difference between a depth value of one of pixels in one direction and a depth value of a next pixel; And
And correcting a depth value of the searched pixels based on the difference of the depth values,
Wherein the average value is an average value of corrected depth values of pixels in the target block,
Wherein the step of correcting the depth value of the searched pixels based on the difference of the depth values comprises:
Comparing the difference value of the detected depth value with a preset value;
Dividing pixels having a difference within the predetermined value into linearization correction target pixels; And
And correcting the depth value of the pixels subject to the linearization correction
Method of coding depth image through block averaging.
제1 항에 있어서,
상기 대상 블록의 직전 블록의 평균 값에 상기 대상 블록의 평균값을 차 연산하여 블록들의 평균 값을 압축하는 단계;를 더 포함하는
블록 평균을 통한 깊이 영상의 부호화 방법.
The method according to claim 1,
And averaging the average value of the target blocks to an average value of the immediately preceding blocks of the target block to compress the average value of the blocks
Method of coding depth image through block averaging.
제1 항에 있어서,
상기 복수개의 블록 중 대상 블록 내의 화소들의 깊이 값의 평균값을 결정하는 단계는,
상기 대상 블록 내의 화소들 중 깊이 값이 0인 화소는 제외한 나머지 화소들의 깊이 값의 평균값을 결정하는 것을 특징으로 하는
블록 평균을 통한 깊이 영상의 부호화 방법.
The method according to claim 1,
Wherein the step of determining an average value of depth values of pixels in a target block among the plurality of blocks comprises:
Wherein an average value of depth values of pixels other than a pixel having a depth value of 0 among the pixels in the target block is determined
Method of coding depth image through block averaging.
삭제delete 삭제delete 3차원 공간을 촬영하여 깊이 영상을 생성하는 깊이검출부;
상기 깊이 영상을 복수개의 블록으로 분할하는 블록분할부;
상기 복수개의 블록 중 대상 블록 내의 화소들의 깊이 값의 평균값을 결정하는 블록분석부;
상기 대상 블록 내의 화소들의 깊이 값에 상기 평균값을 차 연산하여 상기 대상 블록을 압축하는 화소압축부;
상기 대상 블록을 부호화하는 부호화부; 및
상기 분할된 블록 중 대상 블록 내의 화소들의 깊이 값을 일 방향으로 탐색하여 화소들의 깊이 값을 검출하는 화소 탐색부;를 포함하고,
상기 일 방향으로의 화소들 중 어느 하나의 화소와 다음 화소의 깊이 값의 차이를 검출하고, 상기 깊이 값의 차이에 기초하여 탐색된 화소들의 깊이 값을 보정하고,
검출된 깊이 값의 차이 값을 기 설정치와 비교하고,
상기 기 설정치 이내의 차이를 가진 화소들을 직선화보정대상화소들로 구분하며, 및 상기 직선화보정대상화소들의 깊이 값을 보정하는
부호화장치.
A depth detector for capturing a three-dimensional space to generate a depth image;
A block dividing unit dividing the depth image into a plurality of blocks;
A block analyzer for determining an average value of depth values of pixels in a target block among the plurality of blocks;
A pixel compression unit for subtracting the average value from a depth value of pixels in the target block to compress the target block;
An encoding unit encoding the target block; And
And a pixel search unit for searching a depth value of pixels in a target block among the divided blocks in one direction to detect a depth value of the pixels,
Detecting a difference between a depth value of one of the pixels in the one direction and a depth value of the next pixel, correcting a depth value of the searched pixels based on the difference in depth value,
The difference value of the detected depth value is compared with the preset value,
The pixels having a difference within the preset value are classified into pixels to be subjected to linearization correction, and the depth values of the pixels subjected to linearization correction are corrected
Encoding apparatus.
제6 항에 있어서,
상기 대상 블록의 직전 블록의 평균 값에 상기 대상 블록의 평균값을 차 연산하여 블록들의 평균 값을 압축하는 평균값 압축부;를 더 포함하는
부호화장치.
The method according to claim 6,
And an average value compressing unit compressing an average value of the blocks by subtracting an average value of the target blocks from an average value of the immediately preceding blocks of the target block
Encoding apparatus.
삭제delete 삭제delete
KR1020160184396A 2016-12-30 2016-12-30 Coding Method and Coding Device for Depth Video through Depth Average in Block KR101817137B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160184396A KR101817137B1 (en) 2016-12-30 2016-12-30 Coding Method and Coding Device for Depth Video through Depth Average in Block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160184396A KR101817137B1 (en) 2016-12-30 2016-12-30 Coding Method and Coding Device for Depth Video through Depth Average in Block

Publications (1)

Publication Number Publication Date
KR101817137B1 true KR101817137B1 (en) 2018-01-10

Family

ID=60998425

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160184396A KR101817137B1 (en) 2016-12-30 2016-12-30 Coding Method and Coding Device for Depth Video through Depth Average in Block

Country Status (1)

Country Link
KR (1) KR101817137B1 (en)

Similar Documents

Publication Publication Date Title
KR102402494B1 (en) Motion compensation of geometric information
US11902577B2 (en) Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device
US9600889B2 (en) Method and apparatus for performing depth estimation
KR101817140B1 (en) Coding Method and Device for Depth Video Plane Modeling
CN102326391B (en) Multi-view image coding device, multi-view image decoding method, multi-view image decoding device, multi-view image decoding method
US11823404B2 (en) Structured light depth imaging under various lighting conditions
US20060125920A1 (en) Matching un-synchronized image portions
US20110122315A1 (en) Method and apparatus for synchronizing video data
JP7184050B2 (en) Encoding device, encoding method, decoding device, and decoding method
US11030478B1 (en) System and method for correspondence map determination
KR102080694B1 (en) Method and Device of Motion Estimation for Depth Video Coding by curved surface Modeling, and NON-TRANSITORY COMPUTER READABLE RECORDING MEDIUM
KR101853215B1 (en) Coding Device and Method and Depth Information Compensation by Plane Modeling
JP5950605B2 (en) Image processing system and image processing method
US10096116B2 (en) Method and apparatus for segmentation of 3D image data
KR102098322B1 (en) Method and Device of Motion Estimation for Depth Video Coding by Plane Modeling, and NON-TRANSITORY COMPUTER READABLE RECORDING MEDIUM
KR101817137B1 (en) Coding Method and Coding Device for Depth Video through Depth Average in Block
US11272209B2 (en) Methods and apparatus for determining adjustment parameter during encoding of spherical multimedia content
KR101865821B1 (en) Noise Removing Method and Device for Depth Image, Coding Method and Device through Noise Remove
KR101904128B1 (en) Coding Method and Device Depth Video by Spherical Surface Modeling
KR20180079089A (en) Coding Device and Method for Depth Information Compensation by Sphere Surface Modeling
KR101866106B1 (en) Method and Device of Inter-frame Plane Prediction for Depth Video
CN110383295B (en) Image processing apparatus, image processing method, and computer-readable storage medium
KR101907057B1 (en) Device and Method for Depth Information Compensation by Sphere Surface Modeling
KR101866107B1 (en) Coding Device, Device and Method and Depth Information Compensation by Plane Modeling
US20160071281A1 (en) Method and apparatus for segmentation of 3d image data

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant