KR20210144519A - Method and apparatus of generating depth image - Google Patents

Method and apparatus of generating depth image Download PDF

Info

Publication number
KR20210144519A
KR20210144519A KR1020200094048A KR20200094048A KR20210144519A KR 20210144519 A KR20210144519 A KR 20210144519A KR 1020200094048 A KR1020200094048 A KR 1020200094048A KR 20200094048 A KR20200094048 A KR 20200094048A KR 20210144519 A KR20210144519 A KR 20210144519A
Authority
KR
South Korea
Prior art keywords
depth
resolution
probability distribution
image
feature
Prior art date
Application number
KR1020200094048A
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 US17/225,574 priority Critical patent/US20210366139A1/en
Publication of KR20210144519A publication Critical patent/KR20210144519A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models
    • G06N7/005
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models
    • G06N7/01Probabilistic graphical models, e.g. probabilistic networks
    • 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/139Format conversion, e.g. of frame-rate or size
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/161Encoding, multiplexing or demultiplexing different image signal components

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Algebra (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Image Analysis (AREA)

Abstract

A method and apparatus for generating a depth image according to an embodiment include: receiving an input image; extracting a feature corresponding to the input image; generating a feature for each depth resolution by decoding the feature using decoders corresponding to different depth resolutions; estimating a probability distribution for each depth resolution by gradually correcting the feature for each depth resolution; and generating a target depth image corresponding to the input image, based on a finally estimated probability distribution among the probability distributions for each depth resolution.

Description

깊이 영상을 생성하는 방법 및 장치{METHOD AND APPARATUS OF GENERATING DEPTH IMAGE}METHOD AND APPARATUS OF GENERATING DEPTH IMAGE

아래의 실시예들은 깊이 영상을 생성하는 방법 및 장치에 관한 것이다.The following embodiments relate to a method and an apparatus for generating a depth image.

영상 인식이나 장면 이해에 있어 3D 정보의 활용은 중요하다. 2D 상에서의 공간 정보에 깊이 정보를 추가하는 것은 객체의 공간 상의 분포를 효과적으로 예측할 수 있게 한다. 일반적으로, 깊이 정보는 깊이 카메라를 이용하여 깊이 영상을 획득해야 알 수 있으며, 깊이 카메라의 성능에 따라 그로부터 얻을 수 있는 깊이 영상의 품질이 달라진다. 예를 들어, 깊이 카메라의 성능에 따라 획득되는 깊이 영상의 해상도나 노이즈 정도가 달라질 수 있다. 깊이 정보의 정확도는 해당 깊이 정보를 이용하는 결과물의 품질에 많은 영향을 미치기 때문에, 고품질의 깊이 영상을 획득하는 것은 중요하다. The use of 3D information is important for image recognition or scene understanding. Adding depth information to spatial information in 2D makes it possible to effectively predict the spatial distribution of objects. In general, depth information can be known only by acquiring a depth image using a depth camera, and the quality of a depth image obtainable therefrom varies according to the performance of the depth camera. For example, the resolution or noise level of the acquired depth image may vary according to the performance of the depth camera. Since the accuracy of depth information greatly affects the quality of a result using the corresponding depth information, it is important to obtain a high-quality depth image.

전술한 배경기술은 발명자가 본원의 개시 내용을 도출하는 과정에서 보유하거나 습득한 것으로서, 반드시 본 출원 전에 일반 공중에 공개된 공지기술이라고 할 수는 없다.The above-mentioned background art is possessed or acquired by the inventor in the process of deriving the disclosure of the present application, and it cannot be said that it is necessarily known technology disclosed to the general public prior to the present application.

일 실시예에 따르면, 깊이 영상을 생성하는 방법은 입력 영상을 수신하는 단계; 상기 입력 영상에 대응하는 특징을 추출하는 단계; 서로 다른 깊이 해상도들에 대응하는 디코더들을 이용하여 상기 특징을 디코딩(decoding) 함으로써, 깊이 해상도 별 특징을 생성하는 단계; 상기 깊이 해상도 별 특징을 점진적으로 보정(progressively refine) 함으로써, 깊이 해상도 별 확률 분포를 추정하는 단계; 및 상기 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여, 상기 입력 영상에 대응하는 타겟 깊이 영상을 생성하는 단계를 포함한다. According to an embodiment, a method for generating a depth image includes receiving an input image; extracting a feature corresponding to the input image; generating a feature for each depth resolution by decoding the feature using decoders corresponding to different depth resolutions; estimating a probability distribution for each depth resolution by progressively refining the feature for each depth resolution; and generating a target depth image corresponding to the input image based on a finally estimated probability distribution among the probability distributions for each depth resolution.

상기 깊이 해상도 별 특징을 생성하는 단계는 상기 깊이 해상도들 중 제1 깊이 해상도에 대응하는 제1 디코더를 이용하여, 상기 제1 깊이 해상도의 특징을 생성하는 단계; 및 상기 깊이 해상도들 중 제2 깊이 해상도에 대응하는 제2 디코더를 이용하여, 상기 제2 깊이 해상도의 잔차 특징(residual feature)을 생성하는 단계를 포함할 수 있다. The generating of the feature for each depth resolution may include: generating the feature of the first depth resolution by using a first decoder corresponding to a first depth resolution among the depth resolutions; and generating a residual feature of the second depth resolution by using a second decoder corresponding to the second depth resolution among the depth resolutions.

상기 깊이 해상도 별 특징을 생성하는 단계는 상기 깊이 해상도들 중 제3 깊이 해상도에 대응하는 제3 디코더를 이용하여, 상기 제3 깊이 해상도의 잔차 특징(residual feature)을 생성하는 단계를 더 포함할 수 있다. The generating of the feature for each depth resolution may further include generating a residual feature of the third depth resolution by using a third decoder corresponding to a third depth resolution among the depth resolutions. have.

상기 깊이 해상도 별 특징을 생성하는 단계는 균일(uniform)하게 설정된 깊이 간격으로 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성하는 단계; 및 간격 증가 이산화(spacing-increasing discretization; SID) 기법에 기초하여 상이하게 설정된 깊이 간격에 의해 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성하는 단계 중 어느 하나를 포함할 수 있다.The generating of the feature for each depth resolution may include: generating the feature for each depth resolution by decoding the feature at a uniformly set depth interval; and generating the feature for each depth resolution by decoding the feature with a depth interval set differently based on a spacing-increasing discretization (SID) technique.

상기 깊이 해상도 별 확률 분포를 추정하는 단계는 상기 깊이 해상도들 중 제1 깊이 해상도의 특징에 기초하여, 상기 제1 깊이 해상도의 깊이 범위들에 대응하는 제1 확률 분포를 추정하는 단계; 및 상기 제1 확률 분포 및 상기 깊이 해상도들 중 제2 깊이 해상도의 잔차 특징에 기초하여, 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포를 추정하는 단계를 포함할 수 있다. The estimating of the probability distribution for each depth resolution may include: estimating a first probability distribution corresponding to depth ranges of the first depth resolution based on a characteristic of the first depth resolution among the depth resolutions; and estimating a second probability distribution corresponding to depth ranges of a second depth resolution based on the first probability distribution and a residual feature of a second depth resolution among the depth resolutions.

상기 제2 확률 분포를 추정하는 단계는 상기 제2 깊이 해상도의 잔차 특징에 의해 상기 제1 확률 분포를 보정함으로써 상기 제2 깊이 해상도의 깊이 범위들에 대응하는 상기 제2 확률 분포를 추정하는 단계를 포함할 수 있다. The estimating of the second probability distribution includes estimating the second probability distribution corresponding to the depth ranges of the second depth resolution by correcting the first probability distribution by the residual feature of the second depth resolution. may include

상기 제2 확률 분포를 추정하는 단계는 상기 제1 확률 분포를 업-스케일링(up-scaling)하는 단계; 및 상기 제2 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제1 확률 분포를 보정함으로써 상기 제2 확률 분포를 추정하는 단계를 포함할 수 있다. The estimating of the second probability distribution may include: up-scaling the first probability distribution; and estimating the second probability distribution by correcting the up-scaled first probability distribution by a residual feature of the second depth resolution.

상기 깊이 해상도 별 확률 분포를 추정하는 단계는 상기 제2 확률 분포 및 상기 깊이 해상도들 중 제3 깊이 해상도의 잔차 특징에 기초하여, 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포를 추정하는 단계를 더 포함할 수 있다. The estimating of the probability distribution for each depth resolution may include estimating a third probability distribution corresponding to depth ranges of a third depth resolution based on the second probability distribution and a residual feature of a third depth resolution among the depth resolutions. It may further include the step of

상기 제3 확률 분포를 추정하는 단계는 상기 제3 깊이 해상도의 잔차 특징에 의해 상기 제2 확률 분포를 보정함으로써 상기 제3 깊이 해상도의 깊이 범위들에 대응하는 상기 제3 확률 분포를 추정하는 단계를 포함할 수 있다. The estimating of the third probability distribution includes estimating the third probability distribution corresponding to the depth ranges of the third depth resolution by correcting the second probability distribution by the residual feature of the third depth resolution. may include

상기 제3 확률 분포를 추정하는 단계는 상기 제2 확률 분포를 업-스케일링하는 단계; 및 상기 제3 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제2 확률 분포를 보정함으로써 상기 제3 확률 분포를 추정하는 단계를 포함할 수 있다. The estimating of the third probability distribution may include: up-scaling the second probability distribution; and estimating the third probability distribution by correcting the up-scaled second probability distribution by the residual feature of the third depth resolution.

상기 타겟 깊이 영상을 생성하는 단계는 상기 최종적으로 추정되는 확률 분포를 상기 타겟 깊이 영상으로 변환(conversion)하는 단계를 포함할 수 있다. The generating of the target depth image may include converting the finally estimated probability distribution into the target depth image.

상기 타겟 깊이 영상을 생성하는 단계는 상기 최종적으로 추정되는 확률 분포의 기대 값을 산출하는 단계; 상기 최종적으로 추정되는 확률 분포에 기초하여, 상기 기대 값의 보정 값을 추정하는 단계; 및 상기 기대 값 및 상기 보정 값에 기초하여, 타겟 깊이 영상을 생성하는 단계를 포함할 수 있다. The generating of the target depth image may include calculating an expected value of the finally estimated probability distribution; estimating a correction value of the expected value based on the finally estimated probability distribution; and generating a target depth image based on the expected value and the correction value.

상기 깊이 해상도들은 제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도 중 적어도 둘을 포함하고, 상기 제1 깊이 해상도는 상기 제2 깊이 해상도에 비해 성긴 값(coarse value)를 가지고, 상기 제2 깊이 해상도는 상기 제1 깊이 해상도에 비해 조밀한 값(fine value)을 가지며, 상기 제3 깊이 해상도는 상기 제2 깊이 해상도에 비해 조밀한 값을 가질 수 있다. The depth resolutions include at least two of a first depth resolution, a second depth resolution, and a third depth resolution, the first depth resolution having a coarse value compared to the second depth resolution, The second depth resolution may have a finer value than the first depth resolution, and the third depth resolution may have a finer value than the second depth resolution.

상기 깊이 영상을 생성하는 방법은 상기 입력 영상에 포함된 픽셀들의 깊이 값들의 깊이 범위를 이산화하여 복수 개의 구간들로 분할하는 단계를 더 포함할 수 있다. The method of generating the depth image may further include discretizing a depth range of depth values of pixels included in the input image and dividing the depth range into a plurality of sections.

상기 깊이 영상을 생성하는 방법은 상기 타겟 깊이 영상을 출력하는 단계를 더 포함할 수 있다. The method of generating the depth image may further include outputting the target depth image.

상기 입력 영상은 단일 컬러 영상, 적외선 영상, 및 깊이 영상 중 적어도 하나를 포함할 수 있다. The input image may include at least one of a single color image, an infrared image, and a depth image.

일 실시예에 따르면, 깊이 영상을 생성하는 방법은 깊이 영상을 수신하는 단계; 컬러 영상을 수신하는 단계; 상기 깊이 영상을 이산화하여, 제1 깊이 해상도의 확률 분포를 생성하는 단계; 상기 컬러 영상에 대응하는 특징을 추출하는 단계; 적어도 하나의 제2 깊이 해상도에 대응하는 적어도 하나의 디코더를 이용하여 상기 특징을 디코딩함으로써, 제2 깊이 해상도 별 특징을 생성하는 단계; 상기 깊이 해상도 별 특징을 점진적으로 보정함으로써, 깊이 해상도 별 확률 분포를 추정하는 단계; 및 상기 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여, 상기 입력 영상에 대응하는 타겟 깊이 영상을 생성하는 단계를 포함한다. According to an embodiment, a method of generating a depth image includes: receiving a depth image; receiving a color image; generating a probability distribution of a first depth resolution by discretizing the depth image; extracting a feature corresponding to the color image; generating a feature for each second depth resolution by decoding the feature using at least one decoder corresponding to at least one second depth resolution; estimating a probability distribution for each depth resolution by gradually correcting the feature for each depth resolution; and generating a target depth image corresponding to the input image based on a finally estimated probability distribution among the probability distributions for each depth resolution.

일 실시예에 따르면, 깊이 영상을 생성하는 장치는 입력 영상을 수신하는 통신 인터페이스; 및 상기 입력 영상에 대응하는 특징을 추출하고, 서로 다른 깊이 해상도들에 대응하는 디코더들을 이용하여 상기 특징을 디코딩 함으로써, 깊이 해상도 별 특징을 생성하고, 상기 깊이 해상도 별 특징을 점진적으로 보정함으로써, 깊이 해상도 별 확률 분포를 추정하며, 상기 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여, 상기 입력 영상에 대응하는 타겟 깊이 영상을 생성하는 프로세서를 포함한다. According to an embodiment, an apparatus for generating a depth image includes a communication interface for receiving an input image; and extracting a feature corresponding to the input image, decoding the feature using decoders corresponding to different depth resolutions, generating a feature for each depth resolution, and gradually correcting the feature for each depth resolution. and a processor estimating a probability distribution for each resolution and generating a target depth image corresponding to the input image based on a finally estimated probability distribution among the probability distributions for each depth resolution.

상기 프로세서는 상기 깊이 해상도들 중 제1 깊이 해상도에 대응하는 제1 디코더를 이용하여, 상기 제1 깊이 해상도의 특징을 생성하고, 상기 깊이 해상도들 중 제2 깊이 해상도에 대응하는 제2 디코더를 이용하여, 상기 제2 깊이 해상도의 잔차 특징을 생성할 수 있다. The processor generates the feature of the first depth resolution by using a first decoder corresponding to a first depth resolution among the depth resolutions, and uses a second decoder corresponding to a second depth resolution among the depth resolutions. Thus, a residual feature of the second depth resolution may be generated.

상기 프로세서는 상기 깊이 해상도들 중 제3 깊이 해상도에 대응하는 제3 디코더를 이용하여, 상기 제3 깊이 해상도의 잔차 특징을 생성할 수 있다. The processor may generate a residual feature of the third depth resolution by using a third decoder corresponding to the third depth resolution among the depth resolutions.

상기 프로세서는 균일하게 설정된 깊이 간격으로 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성하거나, 또는 간격 증가 이산화(SID) 기법에 기초하여 상이하게 설정된 깊이 간격에 의해 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성할 수 있다. The processor generates the feature for each depth resolution by decoding the feature at a uniformly set depth interval, or by decoding the feature by a depth interval set differently based on an increased spacing discretization (SID) technique. You can create features.

상기 프로세서는 상기 깊이 해상도들 중 제1 깊이 해상도의 특징에 기초하여, 상기 제1 깊이 해상도의 깊이 범위들에 대응하는 제1 확률 분포를 추정하고, 상기 제1 확률 분포 및 상기 깊이 해상도들 중 제2 깊이 해상도의 잔차 특징에 기초하여, 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포를 추정할 수 있다. The processor estimates a first probability distribution corresponding to depth ranges of the first depth resolution based on a characteristic of a first depth resolution among the depth resolutions, and estimates a first probability distribution of the first probability distribution and the depth resolutions. A second probability distribution corresponding to depth ranges of the second depth resolution may be estimated based on the residual feature of the second depth resolution.

상기 프로세서는 상기 제2 깊이 해상도의 잔차 특징에 의해 상기 제1 확률 분포를 보정함으로써 상기 제2 깊이 해상도의 깊이 범위들에 대응하는 상기 제2 확률 분포를 추정할 수 있다. The processor may estimate the second probability distribution corresponding to the depth ranges of the second depth resolution by correcting the first probability distribution by the residual feature of the second depth resolution.

상기 프로세서는 상기 제1 확률 분포를 업-스케일링하고, 상기 제2 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제1 확률 분포를 보정함으로써 상기 제2 확률 분포를 추정할 수 있다. The processor may estimate the second probability distribution by up-scaling the first probability distribution and correcting the up-scaled first probability distribution by a residual feature of the second depth resolution.

상기 프로세서는 상기 제2 확률 분포 및 상기 깊이 해상도들 중 제3 깊이 해상도의 잔차 특징에 기초하여, 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포를 추정할 수 있다. The processor may estimate a third probability distribution corresponding to depth ranges of a third depth resolution based on the second probability distribution and a residual feature of a third depth resolution among the depth resolutions.

상기 프로세서는 상기 제3 깊이 해상도의 잔차 특징에 의해 상기 제2 확률 분포를 보정함으로써 상기 제3 깊이 해상도의 깊이 범위들에 대응하는 상기 제3 확률 분포를 추정할 수 있다. The processor may estimate the third probability distribution corresponding to the depth ranges of the third depth resolution by correcting the second probability distribution by the residual feature of the third depth resolution.

상기 프로세서는 상기 제2 확률 분포를 업-스케일링하고, 상기 제3 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제2 확률 분포를 보정함으로써 상기 제3 확률 분포를 추정할 수 있다. The processor may estimate the third probability distribution by up-scaling the second probability distribution and correcting the up-scaled second probability distribution by a residual feature of the third depth resolution.

상기 프로세서는 상기 최종적으로 추정되는 확률 분포를 상기 타겟 깊이 영상으로 변환할 수 있다. The processor may convert the finally estimated probability distribution into the target depth image.

상기 프로세서는 상기 최종적으로 추정되는 확률 분포의 기대 값을 산출하고, 상기 최종적으로 추정되는 확률 분포에 기초하여, 상기 기대 값의 보정 값을 추정하며, 상기 기대 값 및 상기 보정 값에 기초하여, 타겟 깊이 영상을 생성할 수 있다. The processor calculates an expected value of the finally estimated probability distribution, estimates a correction value of the expected value based on the finally estimated probability distribution, and based on the expected value and the correction value, a target You can create a depth image.

상기 깊이 해상도들은 제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도 중 적어도 둘을 포함하고, 상기 제1 깊이 해상도는 상기 제2 깊이 해상도에 비해 성긴 값을 가지고, 상기 제2 깊이 해상도는 상기 제1 깊이 해상도에 비해 조밀한 값을 가지며, 상기 제3 깊이 해상도는 상기 제2 깊이 해상도에 비해 조밀한 값을 가질 수 있다. the depth resolutions include at least two of a first depth resolution, a second depth resolution, and a third depth resolution, wherein the first depth resolution has a sparse value compared to the second depth resolution, wherein the second depth resolution is It may have a denser value than the first depth resolution, and the third depth resolution may have a denser value than the second depth resolution.

상기 프로세서는 상기 입력 영상에 포함된 픽셀들의 깊이 값들의 깊이 범위를 이산화하여 복수 개의 구간들로 분할할 수 있다. The processor may discretize a depth range of depth values of pixels included in the input image and divide it into a plurality of sections.

상기 통신 인터페이스는 상기 타겟 깊이 영상을 출력할 수 있다. The communication interface may output the target depth image.

상기 입력 영상은 단일 컬러 영상, 적외선 영상, 및 깊이 영상 중 적어도 하나를 포함할 수 있다. The input image may include at least one of a single color image, an infrared image, and a depth image.

상기 깊이 영상을 생성하는 장치는 스마트 폰(Smartphone), 스마트 TV(Smart-TV), 태블릿(Tablet), 헤드-업 디스프레이(HUD), 3D 디지털 정보 디스플레이(Digital Information Display, DID), 3D 모바일 기기, 및 스마트 차량(Smart Automobile) 중 적어도 하나를 포함할 수 있다.A device for generating the depth image is a smart phone, a smart TV, a tablet, a head-up display (HUD), a 3D digital information display (DID), a 3D mobile device , and a smart vehicle (Smart Automobile) may include at least one.

도 1은 일 실시예에 따른 깊이 영상을 생성하는 방법을 나타낸 흐름도.
도 2는 일 실시예에 따른 깊이 영상을 생성하는 장치의 구성 및 동작을 설명하기 위한 도면.
도 3은 일 실시예에 따른 깊이 영상의 생성을 위해 픽셀 값을 깊이 범위들의 클래스 레이블로 치환하는 개념을 설명하기 위한 도면.
도 4는 일 실시예에 따른 깊이 해상도 별 특징을 점진적으로 보정하는 개념을 설명하기 위한 도면.
도 5는 일 실시예에 따른 깊이 해상도 별 특징을 생성하는 방법을 나타낸 흐름도.
도 6은 일 실시예에 따른 깊이 해상도 별 확률 분포를 추정하는 방법을 나타낸 흐름도.
도 7은 일 실시예에 따른 깊이 영상을 생성하는 장치의 학습 과정을 설명하기 위한 도면.
도 8은 다른 실시예에 따른 깊이 영상을 생성하는 장치의 구성 및 동작을 설명하기 위한 도면.
도 9는 다른 실시예에 따른 깊이 영상을 생성하는 방법을 나타낸 흐름도.
도 10은 다른 실시예에 따른 깊이 영상을 생성하는 장치의 구성 및 동작을 설명하기 위한 도면.
도 11은 일 실시예에 따른 깊이 영상을 생성하는 장치의 블록도.
1 is a flowchart illustrating a method of generating a depth image according to an exemplary embodiment;
FIG. 2 is a diagram for describing a configuration and operation of an apparatus for generating a depth image according to an exemplary embodiment;
FIG. 3 is a diagram for explaining a concept of substituting a pixel value with class labels of depth ranges to generate a depth image according to an exemplary embodiment;
4 is a diagram for explaining a concept of gradually correcting a feature for each depth resolution according to an exemplary embodiment;
5 is a flowchart illustrating a method of generating a feature for each depth resolution according to an embodiment.
6 is a flowchart illustrating a method of estimating a probability distribution for each depth resolution according to an embodiment;
7 is a diagram for describing a learning process of an apparatus for generating a depth image according to an exemplary embodiment;
8 is a diagram for describing a configuration and operation of an apparatus for generating a depth image according to another exemplary embodiment;
9 is a flowchart illustrating a method of generating a depth image according to another exemplary embodiment;
10 is a view for explaining a configuration and operation of an apparatus for generating a depth image according to another embodiment;
11 is a block diagram of an apparatus for generating a depth image according to an exemplary embodiment;

이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 그러나, 실시예들에는 다양한 변경이 가해질 수 있어서 특허출원의 권리 범위가 이러한 실시예들에 의해 제한되거나 한정되는 것은 아니다. 실시예들에 대한 모든 변경, 균등물 내지 대체물이 권리 범위에 포함되는 것으로 이해되어야 한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. However, since various changes may be made to the embodiments, the scope of the patent application is not limited or limited by these embodiments. It should be understood that all modifications, equivalents and substitutes for the embodiments are included in the scope of the rights.

실시예에서 사용한 용어는 단지 설명을 목적으로 사용된 것으로, 한정하려는 의도로 해석되어서는 안된다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서 상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the examples are used for description purposes only, and should not be construed as limiting. The singular expression includes the plural expression unless the context clearly dictates otherwise. In the present specification, terms such as “comprise” or “have” are intended to designate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, but one or more other features It should be understood that this does not preclude the existence or addition of numbers, steps, operations, components, parts, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiment belongs. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the related art, and should not be interpreted in an ideal or excessively formal meaning unless explicitly defined in the present application. does not

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 실시예의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In addition, in the description with reference to the accompanying drawings, the same components are given the same reference numerals regardless of the reference numerals, and the overlapping description thereof will be omitted. In the description of the embodiment, if it is determined that a detailed description of a related known technology may unnecessarily obscure the gist of the embodiment, the detailed description thereof will be omitted.

또한, 실시 예의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다. In addition, in describing the components of the embodiment, terms such as first, second, A, B, (a), (b), etc. may be used. These terms are only for distinguishing the components from other components, and the essence, order, or order of the components are not limited by the terms. When it is described that a component is “connected”, “coupled” or “connected” to another component, the component may be directly connected or connected to the other component, but another component is between each component. It will be understood that may also be "connected", "coupled" or "connected".

어느 하나의 실시 예에 포함된 구성요소와, 공통적인 기능을 포함하는 구성요소는, 다른 실시 예에서 동일한 명칭을 사용하여 설명하기로 한다. 반대되는 기재가 없는 이상, 어느 하나의 실시 예에 기재한 설명은 다른 실시 예에도 적용될 수 있으며, 중복되는 범위에서 구체적인 설명은 생략하기로 한다.. Components included in one embodiment and components having a common function will be described using the same names in other embodiments. Unless otherwise stated, descriptions described in one embodiment may be applied to other embodiments as well, and detailed descriptions within the overlapping range will be omitted.

도 1은 일 실시예에 따른 깊이 영상을 생성하는 방법을 나타낸 흐름도이고, 도 2는 일 실시예에 따른 깊이 영상을 생성하는 장치의 구성 및 동작을 설명하기 위한 도면이다. 도 1 및 도 2를 참조하면, 일 실시예에 따른 깊이 영상을 생성하는 장치(이하, '생성 장치')(200)는 아래의 단계(110) 내지 단계(150)를 통해 입력 영상(205)에 대응하는 타겟 깊이 영상(250)을 생성할 수 있다. 일 실시예에 따른 생성 장치(200)는 예를 들어, 한 개의 인코더(encoder)와 세 개의 디코더(decoder)들을 포함하는 인코더-디코더 신경망으로 구성될 수 있다. 이하, 보다 구체적인 설명을 위해, 한 개의 인코더와 세 개의 디코더들을 포함하는 심층 신경망으로 구성된 생성 장치(200)의 동작에 대하여 설명하지만, 반드시 이에 한정되지는 않는다. 생성 장치(200)는 예를 들어, 한 개의 인코더(encoder)와 두 개의 디코더(decoder)들을 포함하는 인코더-디코더 신경망으로 구성될 수도 있다.1 is a flowchart illustrating a method of generating a depth image according to an embodiment, and FIG. 2 is a diagram for explaining a configuration and operation of an apparatus for generating a depth image according to an embodiment. Referring to FIGS. 1 and 2 , an apparatus for generating a depth image (hereinafter, 'generating apparatus') 200 according to an embodiment includes an input image 205 through steps 110 to 150 below. A target depth image 250 corresponding to may be generated. The generating apparatus 200 according to an embodiment may be configured as, for example, an encoder-decoder neural network including one encoder and three decoders. Hereinafter, for a more detailed description, an operation of the generating apparatus 200 configured with a deep neural network including one encoder and three decoders will be described, but the present invention is not limited thereto. The generating apparatus 200 may be configured as, for example, an encoder-decoder neural network including one encoder and two decoders.

단계(110)에서, 생성 장치(200)는 입력 영상(205)을 수신한다. 입력 영상(205)은 예를 들어, RGB 컬러 정보를 포함하는 단일 컬러 영상, 적외선 영상, 및 깊이 영상 중 적어도 하나를 포함할 수 있다. 단일 컬러 영상은 '단일 RGB 영상'이라고도 부를 수 있다. 단일 컬러 영상은 예를 들어, CMOS(Complementary Metal-Oxide-Semiconductor) 영상 센서, CCD(Charge-Coupled Device) 영상 센서 또는 스테레오 카메라 등과 같은 영상 센서를 통해 감지된 것일 수 있다. 적외선 영상은 적외선 센서에 의해 감지된 영상일 수 있다. 여기서, 각각의 센서에 의해 센싱된 단일 컬러 영상, 적외선 영상 및/또는 깊이 영상은 동일한 장면을 센싱한 영상들로서 서로 대응할 수 있다.In operation 110 , the generating device 200 receives the input image 205 . The input image 205 may include, for example, at least one of a single color image including RGB color information, an infrared image, and a depth image. A single color image may also be referred to as a 'single RGB image'. The single color image may be detected by, for example, an image sensor such as a complementary metal-oxide-semiconductor (CMOS) image sensor, a charge-coupled device (CCD) image sensor, or a stereo camera. The infrared image may be an image sensed by an infrared sensor. Here, the single color image, the infrared image, and/or the depth image sensed by each sensor may correspond to each other as images sensed by the same scene.

단계(110)에서, 생성 장치(200)는 예를 들어, 입력 영상(205)에 포함된 픽셀들의 깊이 값들의 깊이 범위를 이산화(discretization)하여 복수 개의 구간들로 분할할 수 있다. 생성 장치(200)가 깊이 값들의 깊이 범위를 이산화하여 복수 개의 구간들로 분할하는 과정은 아래의 도 3을 참조하여 보다 구체적으로 설명한다.In operation 110 , the generating apparatus 200 may discretize a depth range of depth values of pixels included in the input image 205 and divide it into a plurality of sections. A process in which the generating apparatus 200 discretizes the depth range of depth values and divides it into a plurality of sections will be described in more detail with reference to FIG. 3 below.

단계(120)에서, 생성 장치(200)는 입력 영상(205)에 대응하는 특징을 추출한다. 생성 장치(200)는 예를 들어, 영상 인식 작업을 위해 사전 훈련된 SENet 과 같은 인코더(encoder)(210)에 의한 인코딩(encoding)을 통해 입력 영상(205)에 대응하는 특징들을 추출할 수 있다. 인코더(210)는 예를 들어, 입력 영상(205)의 크기의 1/32, 1/16, 1/8 및 1/4 배의 서로 다른 공간 크기들(spatial sizes)을 갖는 4 가지 특징들을 추출할 수 있다. 추출한 4가지 특징들은 예를 들어, 상향 투영 프로세스(up-projection processes)를 통해 하나로 통합될 수 있다. In operation 120 , the generating device 200 extracts a feature corresponding to the input image 205 . The generating device 200 may extract features corresponding to the input image 205 through, for example, encoding by an encoder 210 such as SENet pre-trained for an image recognition task. . The encoder 210 extracts, for example, four features having different spatial sizes of 1/32, 1/16, 1/8 and 1/4 times the size of the input image 205 . can do. The four extracted features may be integrated into one through, for example, up-projection processes.

단계(130)에서, 생성 장치(200)는 서로 다른 깊이 해상도들에 대응하는 디코더들(220, 230, 240)을 이용하여 단계(120)에서 추출한 특징을 디코딩(decoding) 함으로써, 깊이 해상도 별 특징을 생성한다. 여기서, 서로 다른 깊이 해상도들은 예를 들어, 제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도 중 적어도 둘을 포함할 수 있으며, 반드시 이에 한정되는 것은 아니다. 깊이 해상도들은 제4 깊이 해상도, 및 제5 깊이 해상도 등과 같이 더 많은 레벨들의 값들을 포함할 수 있다. 본 명세서에서, '레벨(level)'은 '해상도(resolution)' 또는 '스케일'과 서로 대체되어 사용될 수 있다. In step 130 , the generating apparatus 200 decodes the feature extracted in step 120 using the decoders 220 , 230 , and 240 corresponding to different depth resolutions, thereby performing a feature for each depth resolution. create Here, the different depth resolutions may include, for example, at least two of a first depth resolution, a second depth resolution, and a third depth resolution, but is not necessarily limited thereto. The depth resolutions may include more levels of values, such as a fourth depth resolution, a fifth depth resolution, and the like. In this specification, 'level' may be used interchangeably with 'resolution' or 'scale'.

예를 들어, 제1 깊이 해상도는 제2 깊이 해상도에 비해 성긴 값(coarse value)를 가질 수 있다. 또한, 제2 깊이 해상도는 제1 깊이 해상도에 비해 조밀한 값(fine value)을 가질 수 있다. 제3 깊이 해상도는 제2 깊이 해상도에 비해 조밀한 값을 가질 수 있다. 다시 말해, 깊이 해상도들은 제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도의 순서로 성긴 값에서부터 조밀한 값으로 변화할 수 있다.For example, the first depth resolution may have a coarse value compared to the second depth resolution. Also, the second depth resolution may have a finer value than that of the first depth resolution. The third depth resolution may have a denser value than the second depth resolution. In other words, the depth resolutions may vary from a coarse value to a dense value in the order of the first depth resolution, the second depth resolution, and the third depth resolution.

생성 장치(200)는 예를 들어, 미리 학습된 분류기들(classifiers) 또는 디코더들(220, 230, 240)에 의해 단계(120)에서 추출한 특징을 디코딩 함으로써, 깊이 해상도 별 특징을 생성할 수 있다. 이때, 단계(120)에서 추출한 특징은 모두 동일하게 디코더들(220, 230, 240)에 입력될 수 있다. 디코더들(220, 230, 240)은 예를 들어, 서로 다른 레벨들의 양자화(quantization)를 통해 특징을 단계적으로 다른 서로 다른 깊이 해상도들로 디코딩할 수 있다.The generating apparatus 200 may generate a feature for each depth resolution by, for example, decoding the feature extracted in step 120 by pre-trained classifiers or decoders 220 , 230 , and 240 . . In this case, the features extracted in step 120 may all be equally input to the decoders 220 , 230 , and 240 . Decoders 220 , 230 , 240 may decode the feature to different depth resolutions step by step, for example through different levels of quantization.

생성 장치(200)는 예를 들어, 깊이 해상도들 중 제1 깊이 해상도에 대응하는 제1 디코더(220)를 이용하여 제1 깊이 해상도의 특징을 생성할 수 있다. 생성 장치(200)는 깊이 해상도들 중 제2 깊이 해상도에 대응하는 제2 디코더(230)를 이용하여, 제2 깊이 해상도의 잔차 특징(residual feature)을 생성할 수 있다. 생성 장치(200)는 깊이 해상도들 중 제3 깊이 해상도에 대응하는 제3 디코더(240)를 이용하여, 제3 깊이 해상도의 잔차 특징을 생성할 수 있다. The generating apparatus 200 may generate a feature of the first depth resolution using, for example, the first decoder 220 corresponding to the first depth resolution among the depth resolutions. The generating apparatus 200 may generate a residual feature of the second depth resolution by using the second decoder 230 corresponding to the second depth resolution among the depth resolutions. The generating apparatus 200 may generate a residual feature of the third depth resolution by using the third decoder 240 corresponding to the third depth resolution among the depth resolutions.

생성 장치(200)는 예를 들어, 균일(uniform)하게 설정된 깊이 간격으로 특징을 디코딩 함으로써 깊이 해상도 별 특징을 생성할 수 있다. 또는 생성 장치(200)는 예를 들어, 상이하게 설정된 깊이 간격에 의해 특징을 디코딩 함으로써 깊이 해상도 별 특징을 생성할 수 있다. 생성 장치(200)는 예를 들어, 부분적으로 볼록한 함수, 또는 로그 함수(log function) 등과 같이 다양한 간격 증가 이산화(spacing-increasing discretization; SID) 기법에 기초하여 상이하게 설정된 깊이 간격에 의해 특징을 디코딩함으로써 깊이 해상도 별 특징을 생성할 수 있다. The generating apparatus 200 may generate a feature for each depth resolution by, for example, decoding the feature at a uniformly set depth interval. Alternatively, the generating apparatus 200 may generate a feature for each depth resolution by, for example, decoding the feature by a different set depth interval. The generating device 200 decodes a feature by a depth interval set differently based on various spacing-increasing discretization (SID) techniques, such as a partially convex function, or a log function, for example. By doing so, it is possible to generate features for each depth resolution.

생성 장치(200)가 깊이 해상도 별 특징을 생성하는 과정은 아래의 도 5를 참조하여 보다 구체적으로 설명한다. A process in which the generating device 200 generates features for each depth resolution will be described in more detail with reference to FIG. 5 below.

단계(140)에서, 생성 장치(200)는 깊이 해상도 별 특징을 점진적으로 보정(progressively refine)함으로써, 깊이 해상도 별 확률 분포를 추정한다. 일 실시예에서 생성 장치(200)가 깊이 해상도 별 특징을 '점진적으로 보정'한다는 개념은 아래의 도 4를 참조하여 보다 구체적으로 설명한다.In step 140 , the generating apparatus 200 estimates a probability distribution for each depth resolution by progressively refining the feature for each depth resolution. According to an embodiment, the concept that the generating device 200 'gradually corrects features for each depth resolution' will be described in more detail with reference to FIG. 4 below.

단계(140)에서, 생성 장치(200)는 예를 들어, 제1 디코더(220)에서 생성된 제1 깊이 해상도의 특징에 기초하여, 제1 깊이 해상도의 깊이 범위들에 대응하는 제1 확률 분포(P1)(225)를 추정할 수 있다. 생성 장치(200)는 제2 디코더(230)에 의해 생성된 제2 깊이 해상도의 잔차 특징에 의해 제1 확률 분포(P1)(225)를 보정(227)함으로써 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포(P2)(235)를 추정할 수 있다. 제2 디코더(230)는 예를 들어, 단계(120)에서 추출한 특징에 기초하여 제2 깊이 해상도의 잔차 특징을 출력하도록 학습된 것일 수 있다. 제2 깊이 해상도의 잔차 특징은 예를 들어, 중간 해상도의 깊이 정보를 포함할 수 있다. In step 140 , the generating device 200 generates a first probability distribution corresponding to depth ranges of the first depth resolution, for example, based on the characteristic of the first depth resolution generated by the first decoder 220 . (P 1 ) (225) can be estimated. The generating apparatus 200 corrects 227 the first probability distribution (P 1 ) 225 by the residual feature of the second depth resolution generated by the second decoder 230 to determine depth ranges of the second depth resolution. A second probability distribution (P 2 ) 235 corresponding to may be estimated. The second decoder 230 may be learned to output a residual feature of the second depth resolution based on the feature extracted in step 120 , for example. The residual feature of the second depth resolution may include, for example, depth information of the intermediate resolution.

생성 장치(200)는 제3 디코더(240)에 의해 생성된 제3 깊이 해상도의 잔차 특징에 의해 제2 확률 분포(P2)(235)를 보정(237)함으로써 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포(P3)(245)를 추정할 수 있다. 제3 디코더(240)는 예를 들어, 단계(120)에서 추출한 특징에 기초하여 제3 깊이 해상도의 잔차 특징을 출력하도록 학습된 것일 수 있다. 제3 깊이 해상도의 잔차 특징은 예를 들어, 고해상도의 깊이 정보를 포함할 수 있으며, 상대적으로 객체의 에지 성분을 잘 나타내는 특징에 해당할 수 있다. 생성 장치(200)는 이전 단계의 낮은 깊이 해상도에서 추정하지 못한 깊이 정보의 잔차(residual) 성분을 현재 단계에서 처리하도록 가이드 함으로써, 각 단계에서는 담당하는 깊이 해상도에 대응하는 깊이 정보가 분리되어 독립적으로 추정되도록 할 수 있다. The generating device 200 corrects 237 the second probability distribution (P 2 ) 235 by the residual feature of the third depth resolution generated by the third decoder 240 to determine depth ranges of the third depth resolution. A third probability distribution (P 3 ) 245 corresponding to may be estimated. The third decoder 240 may be, for example, learned to output the residual feature of the third depth resolution based on the feature extracted in step 120 . The residual feature of the third depth resolution may include, for example, depth information of a high resolution, and may correspond to a feature that relatively well represents an edge component of an object. The generating device 200 guides a residual component of depth information that was not estimated at the low depth resolution of the previous step to be processed in the current step, so that, in each step, the depth information corresponding to the depth resolution in charge is separated and independently can be estimated.

일 실시예에서 보정(227, 237)은 업 샘플링 동작 및 이전 단계의 확률 분포와의 통합 동작을 모두 포함할 수 있다. 생성 장치(200)가 깊이 해상도 별 확률 분포를 추정하는 방법은 아래의 도 6을 참조하여 보다 구체적으로 설명한다. In one embodiment, the corrections 227 and 237 may include both an up-sampling operation and an integration operation with the probability distribution of the previous step. A method for the generating apparatus 200 to estimate a probability distribution for each depth resolution will be described in more detail with reference to FIG. 6 below.

단계(150)에서, 생성 장치(200)는 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포(예를 들어, 제3 확률 분포(P3)(245))에 기초하여, 입력 영상(205)에 대응하는 타겟 깊이 영상(250)을 생성한다. 이때, 생성 장치(200)는 최종적으로 추정되는 확률 분포를 변환(conversion)할 수 있다. 생성 장치(200)는 최종적으로 추정되는 이산적인 확률 분포인 제3 확률 분포(P3)(245)를 연속적인 값으로 변환함으로써 타겟 깊이 영상(250)을 생성할 수 있다. In operation 150 , the generating apparatus 200 generates an input image 205 based on a finally estimated probability distribution (eg, a third probability distribution (P 3 ) 245 ) among the probability distributions for each depth resolution. A target depth image 250 corresponding to . In this case, the generating device 200 may convert the finally estimated probability distribution. The generating apparatus 200 may generate the target depth image 250 by converting the third probability distribution (P 3 ) 245 , which is a finally estimated discrete probability distribution, into a continuous value.

단계(150)에서, 생성 장치(200)는 최종적으로 추정되는 확률 분포의 기대 값(expectation value)을 산출할 수 있다. 확률 분포의 기대 값은 확률 분포의 가중 평균(weighted mean)에 해당할 수 있다. 생성 장치(200)는 최종적으로 추정되는 확률 분포에 기초하여, 기대 값의 보정 값을 추정할 수 있다. 생성 장치(200)는 예를 들어, 컨볼루션 신경망(Convolution Neural Network; CNN)에 의해 기대 값의 보정 값을 추정할 수 있으며, 반드시 이에 한정되지는 않는다. 생성 장치(200)는 기대 값 및 보정 값에 기초하여, 타겟 깊이 영상(250)을 생성할 수 있다. In operation 150 , the generating device 200 may calculate an expectation value of the finally estimated probability distribution. The expected value of the probability distribution may correspond to a weighted mean of the probability distribution. The generator 200 may estimate a correction value of the expected value based on the finally estimated probability distribution. The generating apparatus 200 may estimate the correction value of the expected value by, for example, a convolutional neural network (CNN), but is not limited thereto. The generating apparatus 200 may generate the target depth image 250 based on the expected value and the correction value.

생성 장치(200)는 단계(150)에서 생성한 타겟 깊이 영상(250)을 출력할 수 있다. 생성 장치(200)는 타겟 깊이 영상(250)을 예를 들어, 디스플레이 등과 같이 출력 장치를 통해 내제적으로(implicitly) 출력할 수도 있고, 또는 통신 인터페이스를 통해 생성 장치(200)의 외부로 외재적으로(explicitly) 출력할 수도 있다.The generating apparatus 200 may output the target depth image 250 generated in step 150 . The generating device 200 may implicitly output the target depth image 250 through an output device such as a display or the like, or externally to the outside of the generating device 200 through a communication interface. It can also be output explicitly.

일 실시예에 따른 생성 장치(200)는 깊이 해상도 별 세분화를 통해 깊이 정보를 점진적으로 세밀화(refinement)해 나가는 구조를 통해 최종적으로 타겟 깊이 영상(250)을 생성할 수 있다. 생성 장치(200)는 입력 영상(205)의 깊이 해상도 또는 스케일을 다양하게 구성하고, 각 깊이 해상도로부터 각기 다른 깊이 정보를 획득할 수 있다. 생성 장치(200)는 획득한 서로 다른 깊이 정보를 결합하는 것에 의해 최종적인 타겟 깊이 영상(250)을 생성할 수 있다. 이를 통해 생성 장치(200)는 별도의 깊이 센서나 별도의 깊이 영상을 이용하지 않고도 컬러 영상이나 적외선 영상으로부터 고품질의 깊이 영상을 생성할 수 있다. The generating apparatus 200 according to an embodiment may finally generate the target depth image 250 through a structure in which depth information is gradually refined through segmentation for each depth resolution. The generating apparatus 200 may configure various depth resolutions or scales of the input image 205 , and may acquire different depth information from each depth resolution. The generating apparatus 200 may generate the final target depth image 250 by combining the acquired different depth information. Through this, the generating apparatus 200 may generate a high-quality depth image from a color image or an infrared image without using a separate depth sensor or a separate depth image.

생성 장치(200)는 전술한 방법에 의해 단일 RGB 영상 또는 적외선 영상에 대응하는 깊이 영상을 대량으로 생성하여 지도 학습(supervised learning)에 활용할 수 있다. 생성 장치(200)는 입력 영상(205)에 대응하여 생성된 타겟 깊이 영상(250)에 의해, 예를 들어, 입력 영상(205)에 포함된 3차원 객체, 또는 3차원 얼굴을 인식하거나, 사진의 아웃 포커싱(Out-focusing), 및/또는 디지털 각도자(Digital Ruler) 등의 기능을 수행할 수 있다. The generating apparatus 200 may generate a large amount of depth images corresponding to a single RGB image or an infrared image by the above-described method and utilize it for supervised learning. The generating apparatus 200 recognizes, for example, a 3D object or 3D face included in the input image 205 by the target depth image 250 generated in response to the input image 205 , or a photo out-focusing, and/or functions such as a digital ruler may be performed.

깊이 영상의 활용도를 높이기 위해서는 고해상도(또는 고품질)의 깊이 영상을 이용하는 것이 중요하다. 깊이 영상을 이용하여 바람직한 결과를 얻기 위해서는, 깊이 특징(예, 객체의 에지(edge)에 대한 깊이 특징)이 잘 나타난 깊이 영상을 획득하는 것이 중요하다. 생성 장치(200)는 본 명세서를 통해 설명되는 멀티 스케일 기반의 깊이 영상을 생성하는 방법을 통해 깊이 정보를 보다 세밀하고 정확하게 추정함으로써 고해상도 및 고품질의 깊이 영상을 생성할 수 있다. In order to increase the utility of the depth image, it is important to use a high-resolution (or high-quality) depth image. In order to obtain a desirable result using a depth image, it is important to obtain a depth image in which a depth feature (eg, a depth feature for an edge of an object) is well represented. The generating apparatus 200 may generate a high-resolution and high-quality depth image by estimating depth information more precisely and accurately through the method of generating a multi-scale-based depth image described through this specification.

실시예에 따라서, 생성 장치(200)는 상대적으로 저해상도(또는 저품질)의 깊이 영상으로부터 고해상도(또는 고품질)의 깊이 영상을 생성할 수 있다. 생성 장치(200)가 저해상도의 깊이 영상으로부터 고해상도의 깊이 영상을 생성하는 방법은 아래의 도 9 내지 도 10을 참조하여 구체적으로 설명한다.According to an embodiment, the generating apparatus 200 may generate a high-resolution (or high-quality) depth image from a relatively low-resolution (or low-quality) depth image. A method in which the generating apparatus 200 generates a high-resolution depth image from a low-resolution depth image will be described in detail with reference to FIGS. 9 to 10 below.

도 3은 일 실시예에 따라 깊이 영상의 생성을 위해 픽셀 값을 깊이 범위들의 클래스 레이블로 치환하는 개념을 설명하기 위한 도면이다. 도 3을 참조하면, 일 실시예에 따른 입력 영상에 대응하는 깊이 영상(310) 및 깊이 영상(310)에 대응하는 깊이 범위들의 클래스 레이블이 부여된 영상(330)이 도시된다. FIG. 3 is a diagram for explaining a concept of substituting a pixel value with class labels of depth ranges to generate a depth image, according to an exemplary embodiment. Referring to FIG. 3 , a depth image 310 corresponding to an input image and an image 330 to which class labels of depth ranges corresponding to the depth image 310 are assigned are shown according to an exemplary embodiment.

일 실시예에 따른 생성 장치는 예를 들어, 단일 RGB 영상이 주어진 경우, 멀티-스케일(multi-scale)의 분류(classification)을 기반으로 깊이 영상(310)을 생성할 수 있다. For example, when a single RGB image is given, the generating apparatus according to an embodiment may generate the depth image 310 based on multi-scale classification.

생성 장치는 단일 RGB 영상에 대응하는 깊이 영상(310)을 이산화하여 깊이 영상을 생성(또는 추정)하는 태스크(task)를 영상(330)과 같이 각 픽셀의 클래스를 추정하는 태스크로 치환할 수 있다. The generating apparatus may replace the task of generating (or estimating) the depth image by discretizing the depth image 310 corresponding to the single RGB image with the task of estimating the class of each pixel, such as the image 330 . .

생성 장치는 단일 RGB 영상에 대하여 픽셀 단위로 깊이 값을 추정하여 깊이 영상(310)을 생성할 수 있다. 이때, 생성 장치는 깊이 값들에 대한 양자화(quantization)를 통해 깊이 값의 범위를 셀 수 있는 N개(예를 들어, 16개)의 구간들로 나눔으로써 깊이 영상을 생성하는 문제를 깊이 값의 범위를 분류하는 문제로 전환할 수 있다. 여기서, '깊이 값의 범위들의 구간들'은 '클래스들(classes)'에 해당하고, 구간들의 개수 N은 스케일 또는 깊이 해상도가 높아질수록 크게 설정될 수 있다. 다시 말해, 레벨 또는 깊이 해상도가 높아질수록 좀 더 조밀한 추정이 가능하므로 최종 레벨 또는 최종 깊이 해상도에서 조밀한 값을 가진 타겟 깊이 영상이 생성될 수 있다. The generating apparatus may generate the depth image 310 by estimating a depth value in units of pixels with respect to a single RGB image. In this case, the generating apparatus solves the problem of generating a depth image by dividing the range of depth values into N countable (eg, 16) sections through quantization of the depth values. can be converted into a problem of classifying Here, 'sections of ranges of depth values' correspond to 'classes', and the number N of sections may be set larger as the scale or depth resolution increases. In other words, since a more dense estimation is possible as the level or depth resolution increases, a target depth image having a dense value at the final level or final depth resolution may be generated.

예를 들어, 깊이 영상(310)에서 소파에 해당하는 어느 한 픽셀의 깊이 값이 4.532이고, 해당 깊이 값이 16개의 구간들 중 10번째 구간에 해당한다고 하자. 생성 장치는 깊이 영상(310)에 대한 이산화를 통해 영상(330)과 같이 소파에 해당하는 해당 픽셀들의 클래스에 레이블(예를 들어, 10)을 부여할 수 있다. 생성 장치는 다중 레벨 또는 깊이 해상도 별로 양자화를 수행하여 깊이 해상도 별 확률 분포에 대한 점진적인 보정이 가능하도록 할 수 있다. For example, it is assumed that a depth value of one pixel corresponding to a sofa in the depth image 310 is 4.532, and the corresponding depth value corresponds to a tenth section among 16 sections. The generating apparatus may assign a label (eg, 10) to a class of corresponding pixels corresponding to the sofa like the image 330 through discretization of the depth image 310 . The generating apparatus may perform quantization for each multi-level or depth resolution to enable gradual correction of the probability distribution for each depth resolution.

도 4는 일 실시예에 따른 깊이 해상도 별 특징을 점진적으로 보정하는 개념을 설명하기 위한 도면이다. 도 4의 (a)를 참조하면, 깊이 값들에 대한 점진적인 보정을 통해 깊이 값의 범위, 다시 말해 클래스의 레이블이 예를 들어, 4개, 8개, 및 16개로 점진적으로 증가된 깊이 영상들(410, 420, 430)이 도시된다. 또한, 도 4의 (b)를 참조하면, 도 4의 (a)의 깊이 영상(410)에 포함된 각 픽셀들(예를 들어, 픽셀 A와 픽셀 B)의 확률 분포에 대한 클래스를 레이블링한 결과가 도시된다. 4 is a diagram for explaining a concept of gradually correcting a feature for each depth resolution according to an exemplary embodiment. Referring to (a) of FIG. 4 , depth images in which the range of the depth value, that is, the label of the class, is gradually increased to, for example, 4, 8, and 16 through gradual correction of the depth values ( 410, 420, 430 are shown. In addition, referring to FIG. 4 (b), the class for the probability distribution of each pixel (eg, pixel A and pixel B) included in the depth image 410 of FIG. 4 (a) is labeled. Results are shown.

생성 장치는 Coarse-to-Fine 방식으로 단계적으로 깊이 해상도 별 확률 분포를 세밀하게 정제해가며 깊이 범위들(다시 말해, 깊이 해상도의 클래스 레이블들)의 개수들을 4개, 8개, 16개로 증가시킬 수 있다. The generation device can increase the number of depth ranges (that is, class labels of depth resolution) to 4, 8, and 16 by finely refining the probability distribution for each depth resolution step by step in a coarse-to-fine method. can

예를 들어, 생성 장치는 깊이 영상(410)에서 4개의 클래스 레이블들에 대응하는 제1 확률 분포를 업 스케일링한 후, 깊이 영상(420)과 같이 8개의 클래스 레이블들에 대응하는 제2 확률 분포로 보정할 수 있다. 또한, 생성 장치는 예를 들어, 깊이 영상(420)과 같이 8개의 클래스 레이블에 대응하는 제2 확률 분포를 업-스케일링한 후, 깊이 영상(430)과 같이 16개의 클래스 레이블에 대응하는 제3 확률 분포로 보정할 수 있다. For example, the generating apparatus upscales the first probability distribution corresponding to the four class labels in the depth image 410 , and then the second probability distribution corresponding to the eight class labels as in the depth image 420 . can be corrected with In addition, the generating apparatus up-scales the second probability distribution corresponding to 8 class labels as in the depth image 420 , and then up-scaling the third probability distribution corresponding to 16 class labels as in the depth image 430 . It can be corrected with a probability distribution.

이때, 깊이 영상(410)에 포함된 픽셀 A와 픽셀 B 은 둘 다 클래스 레이블 3에 속할 수 있으나, 각 픽셀이 클래스 레이블 3에 속할 확률은 서로 다를 수 있다. 픽셀 A가 클래스 레이블 3에 속할 확률은 0.41이고, 픽셀 B가 클래스 레이블 3에 속할 확률은 0.6일 수 있다. 생성 장치는 이와 같이 이전 단계의 정보(각 픽셀에 대한 확률 분포)를 전부 현재 단계로 가져옴으로써 이전 단계에서 현재 단계로의 에러 전파를 줄일 수 있다. 생성 장치는 최종 레벨(예를 들어, 16개의 클래스 레이블)에 대응하는 확률 분포로부터 타겟 깊이 영상을 예측할 수 있다. In this case, both the pixel A and the pixel B included in the depth image 410 may belong to the class label 3 , but the probability that each pixel belongs to the class label 3 may be different from each other. A probability that pixel A belongs to class label 3 may be 0.41, and a probability that pixel B belongs to class label 3 may be 0.6. In this way, the generating device can reduce error propagation from the previous step to the current step by bringing all the information (probability distribution for each pixel) of the previous step to the current step. The generating apparatus may predict the target depth image from the probability distribution corresponding to the final level (eg, 16 class labels).

도 5는 일 실시예에 따른 깊이 해상도 별 특징을 생성하는 방법을 나타낸 흐름도이다. 도 5를 참조하면, 일 실시예에 따른 생성 장치는 단계(510) 및 단계(520)를 수행함으로써 깊이 해상도 별 특징을 생성할 수 있다. 5 is a flowchart illustrating a method of generating a feature for each depth resolution according to an embodiment. Referring to FIG. 5 , the generating apparatus according to an embodiment may generate features for each depth resolution by performing steps 510 and 520 .

단계(510)에서, 생성 장치는 깊이 해상도들 중 제1 깊이 해상도에 대응하는 제1 디코더를 이용하여, 제1 깊이 해상도의 특징을 생성한다.In operation 510 , the generating device generates a feature of the first depth resolution by using a first decoder corresponding to the first depth resolution among the depth resolutions.

단계(520)에서, 생성 장치는 깊이 해상도들 중 제2 깊이 해상도에 대응하는 제2 디코더를 이용하여, 제2 깊이 해상도의 잔차 특징(residual feature)을 생성한다. 잔차 특징은 '잔차 확률 특징(residual probabilistic features)'이라고도 부를 수 있다. In operation 520 , the generating apparatus generates a residual feature of the second depth resolution by using a second decoder corresponding to the second depth resolution among the depth resolutions. Residual features may also be referred to as 'residual probabilistic features'.

실시예에 따라서, 생성 장치는 깊이 해상도들 중 제3 깊이 해상도에 대응하는 제3 디코더를 이용하여, 제3 깊이 해상도의 잔차 특징을 생성할 수도 있다. According to an embodiment, the generating apparatus may generate a residual feature of the third depth resolution by using a third decoder corresponding to the third depth resolution among the depth resolutions.

도 6은 일 실시예에 따른 깊이 해상도 별 확률 분포를 추정하는 방법을 나타낸 흐름도이다. 도 6을 참조하면, 일 실시예에 따른 생성 장치는 단계(610) 및 단계(620)를 수행함으로써 깊이 해상도 별 확률 분포를 추정할 수 있다. 6 is a flowchart illustrating a method of estimating a probability distribution for each depth resolution according to an embodiment. Referring to FIG. 6 , the generating apparatus according to an embodiment may estimate a probability distribution for each depth resolution by performing steps 610 and 620 .

단계(610)에서, 생성 장치는 깊이 해상도들 중 제1 깊이 해상도의 특징에 기초하여, 제1 깊이 해상도의 깊이 범위들에 대응하는 제1 확률 분포를 추정할 수 있다. In operation 610 , the generating apparatus may estimate a first probability distribution corresponding to depth ranges of the first depth resolution based on the characteristic of the first depth resolution among the depth resolutions.

단계(620)에서, 생성 장치는 제1 확률 분포 및 깊이 해상도들 중 제2 깊이 해상도의 잔차 특징에 기초하여, 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포를 추정할 수 있다. 생성 장치는 예를 들어, 제2 깊이 해상도의 잔차 특징에 의해 제1 확률 분포를 보정함으로써 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포를 추정할 수 있다. In operation 620 , the generating apparatus may estimate a second probability distribution corresponding to depth ranges of the second depth resolution based on a residual feature of the second depth resolution among the first probability distribution and the depth resolutions. The generating apparatus may estimate the second probability distribution corresponding to the depth ranges of the second depth resolution by, for example, correcting the first probability distribution by the residual feature of the second depth resolution.

단계(620)에서, 생성 장치는 예를 들어, 이중 선형 보간법(Bilinear Interpolation)에 의해 제1 확률 분포를 업-스케일링(up-scaling)할 수 있으며, 반드시 이에 한정되지는 않는다. 생성 장치는 제2 깊이 해상도의 잔차 특징에 의해 업-스케일링된 제1 확률 분포를 보정함으로써 제2 확률 분포를 추정할 수 있다. 여기서, 제2 깊이 해상도의 잔차 특징에 의해 업-스케일링된 제1 확률 분포를 '보정'한다는 것은 제2 깊이 해상도의 잔차 특징과 업-스케일링된 제1 확률 분포를 결합 또는 합산한다는 의미로 이해될 수 있다. 여기서, 결합은 서로 대응되는 픽셀 위치의 깊이 값들 간의 합산(summation) 또는 가중합(weighted sum)에 해당할 수 있다.In operation 620 , the generating device may up-scaling the first probability distribution by, for example, bilinear interpolation, but is not limited thereto. The generating apparatus may estimate the second probability distribution by correcting the up-scaled first probability distribution by the residual feature of the second depth resolution. Here, 'correcting' the first probability distribution up-scaled by the residual feature of the second depth resolution is understood to mean combining or summing the residual feature of the second depth resolution and the up-scaled first probability distribution. can Here, the combination may correspond to a summation or a weighted sum between depth values of pixel positions corresponding to each other.

실시예에 따라서, 생성 장치는 제2 확률 분포 및 깊이 해상도들 중 제3 깊이 해상도의 잔차 특징에 기초하여, 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포를 추정할 수 있다. 생성 장치는 제3 깊이 해상도의 잔차 특징에 의해 제2 확률 분포를 보정함으로써 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포를 추정할 수 있다. 생성 장치는 예를 들어, 이중 선형 보간법에 의해 제2 확률 분포를 업-스케일링할 수 있으며, 반드시 이에 한정되지는 않는다. 생성 장치는 제3 깊이 해상도의 잔차 특징에 의해 업-스케일링된 제2 확률 분포를 보정함으로써 제3 확률 분포를 추정할 수 있다. According to an embodiment, the generating apparatus may estimate a third probability distribution corresponding to depth ranges of the third depth resolution based on a residual feature of the third depth resolution among the second probability distribution and the depth resolutions. The generating apparatus may estimate the third probability distribution corresponding to the depth ranges of the third depth resolution by correcting the second probability distribution by the residual feature of the third depth resolution. The generating device may up-scale the second probability distribution by, for example, but not limited to, bilinear interpolation. The generating apparatus may estimate the third probability distribution by correcting the second probability distribution up-scaled by the residual feature of the third depth resolution.

일 실시예에 따른 생성 장치는 예를 들어, 임펄스 함수(impulse function)와 같은 확률 분포로 픽셀 별 깊이 값을 추정하고, 확률 분포 자체(예를 들어, 잔차 특징)를 다음 레벨의 깊이 해상도로 전달할 수 있다. 생성 장치는 이전 레벨의 확률 분포를 입력으로 받아 다음 레벨의 깊이 해상도에 이를 더하거나, 또는 빼는 방식으로 주어진 확률 분포를 수정 보완할 수 있다. 이때, 확률 분포의 구성 요소(element)의 개수는 단계가 진행될수록 커질 수 있다. The generating apparatus according to an embodiment estimates a depth value for each pixel using a probability distribution such as, for example, an impulse function, and transmits the probability distribution itself (eg, a residual feature) to the next level of depth resolution. can The generating device may receive the probability distribution of the previous level as an input and correct or supplement the given probability distribution by adding or subtracting it to the depth resolution of the next level. In this case, the number of elements of the probability distribution may increase as the steps progress.

도 7은 일 실시예에 따른 깊이 영상을 생성하는 장치의 학습 과정을 설명하기 위한 도면이다. 도 7의 상단을 참조하면, 레벨 별로 추정된 깊이 영상들이 도시되고, 도 7의 하단을 참조하면, 레벨 별로 추정된 깊이 영상들에 대응하는 정답(ground truth) 깊이 영상들이 도시된다. 7 is a diagram for describing a learning process of an apparatus for generating a depth image according to an exemplary embodiment. Referring to the upper part of FIG. 7 , depth images estimated for each level are shown, and referring to the lower part of FIG. 7 , ground truth depth images corresponding to the depth images estimated for each level are shown.

일 실시예에 따른 생성 장치는 예를 들어, 인코더-디코더들로 구성된 심층 신경망을 통해 각 레벨 별 또는 깊이 해상도 별로 확률 분포 도메인에서의 보정을 통해 각 레벨에 대응하는 깊이 값 및 깊이 값의 확률 분포를 추정할 수 있다. 생성 장치는 각 레벨에서 추정한 픽셀들의 깊이 값과 동일 레벨의 정답 깊이 영상에서 동일 픽셀들의 깊이 값 간의 차이를 최소화하도록 각 레벨 별로 분류기들 또는 디코더들을 학습시킬 수 있다. The generating apparatus according to an embodiment provides, for example, a depth value corresponding to each level and a probability distribution of the depth value through correction in the probability distribution domain for each level or for each depth resolution through a deep neural network composed of encoder-decoders. can be estimated. The generator may train the classifiers or decoders for each level to minimize a difference between the depth values of pixels estimated at each level and the depth values of the same pixels in the correct answer depth image of the same level.

생성 장치는 예를 들어, 깊이 정보의 참 값(ground truth)에 해당하는 정답 깊이 영상과 추정된 깊이 영상을 비교하여, 정답 깊이 영상과 추정된 깊이 영상 간의 차이를 계산할 수 있다. 생성 장치는 정답 깊이 영상과 추정된 깊이 영상 간의 차이가 줄어들도록 신경망을 구성하는 파라미터들의 값을 조정할 수 있다. 예를 들어, 생성 장치는 정답 깊이 영상과 추정된 깊이 영상 간의 차이를 정의하는 손실 함수의 값이 최소화되는 방향으로 최적의 파라미터 값을 찾을 수 있다. 여기서, 손실 함수는 분류(classification) 방식, 회귀(regression) 방식 등에 따라 여러 형태로 정의될 수 있다. 손실 함수가 어떻게 정의되느냐에 따라 파라미터 값이 조정되는 방식이나 추정된 깊이 영상의 생성을 위한 깊이 정보의 캘리브레이션 과정이 달라질 수 있다. For example, the generating device may calculate a difference between the correct answer depth image and the estimated depth image by comparing the correct answer depth image corresponding to the ground truth of the depth information and the estimated depth image. The generating apparatus may adjust values of parameters constituting the neural network so that a difference between the correct answer depth image and the estimated depth image is reduced. For example, the generating apparatus may find an optimal parameter value in a direction in which a value of a loss function defining a difference between the correct depth image and the estimated depth image is minimized. Here, the loss function may be defined in various forms according to a classification method, a regression method, and the like. A method of adjusting a parameter value or a calibration process of depth information for generating an estimated depth image may vary depending on how the loss function is defined.

손실 함수(L)는 예를 들어, 아래의 수학식 1과 같이 분류 손실 함수(classification loss function)

Figure pat00001
및 데이터 손실 함수(data loss function)
Figure pat00002
의 총합으로 정의될 수 있다. The loss function (L) is, for example, a classification loss function as shown in Equation 1 below.
Figure pat00001
and a data loss function.
Figure pat00002
can be defined as the sum of

Figure pat00003
Figure pat00003

여기서,

Figure pat00004
는 올바른 클래스의 위치에서 '1'을 갖고, k번째 깊이 해상도에서 '0'을 갖는 원-핫 벡터(one-hot vector)를 나타낼 수 있다. 내고,
Figure pat00005
는 k번째 깊이 해상도에서의 정답 깊이 영상을 나타낼 수 있다. here,
Figure pat00004
may represent a one-hot vector having '1' at the position of the correct class and '0' at the kth depth resolution. pay,
Figure pat00005
may represent the correct answer depth image at the kth depth resolution.

생성 장치는 많은 수의 학습 영상들에 대해 위와 같은 과정을 반복적으로 수행함으로써 신경망에 포함된 분류기 또는 디코더들 각각에 대한 최적의 파라미터 값을 찾을 수 있다.The generator may find an optimal parameter value for each of the classifiers or decoders included in the neural network by repeatedly performing the above process for a large number of training images.

전술한 학습 과정을 통해, 제2 디코더는 인코더가 추출한 특징에 기초하여 제2 깊이 해상도의 잔차 특징을 출력하도록 학습되고, 제3 디코더는 인코더가 추출한 특징에 기초하여 제3 깊이 해상도의 잔차 특징을 출력하도록 학습될 수 있다. Through the above-described learning process, the second decoder is trained to output the residual feature of the second depth resolution based on the feature extracted by the encoder, and the third decoder is the residual feature of the third depth resolution based on the feature extracted by the encoder It can be learned to output.

도 8은 다른 실시예에 따른 깊이 영상을 생성하는 장치의 구성 및 동작을 설명하기 위한 도면이다. 도 8을 참조하면, 일 실시예에 따른 생성 장치(800)는 하나의 인코더(810)와 세 개의 디코더들(821, 823, 825)을 포함하는 해상도 특징 추출(Residual Feature Extraction; RFE) 모듈(820), 확률 분포 보정(Probability Refinement; PR) 모듈(840) 및 깊이 변환부(860)를 포함할 수 있다. 8 is a diagram for describing a configuration and operation of an apparatus for generating a depth image according to another exemplary embodiment. Referring to FIG. 8 , the generating apparatus 800 according to an embodiment includes a resolution feature extraction (RFE) module including one encoder 810 and three decoders 821 , 823 , and 825 ( 820 , a probability distribution correction (PR) module 840 , and a depth transform unit 860 .

해상도 특징 추출(RFE) 모듈(820)은 세 가지 깊이 해상도들로 디코딩을 수행하는 세 개의 디코더들(821, 823, 825)을 포함할 수 있다. 또한, 확률 분포 보정 모듈(PR) 모듈(840)은 소프트맥스(softmax) 수행부(841), 및 확률 분포 보정부(PR)들 (843, 845)을 포함할 수 있다. The resolution feature extraction (RFE) module 820 may include three decoders 821 , 823 , 825 that perform decoding at three depth resolutions. Also, the probability distribution correcting module (PR) module 840 may include a softmax performing unit 841 and probability distribution correcting units (PRs) 843 and 845 .

도 8에서 R1, R2는 각각 제2 깊이 해상도 및 제3 깊이 해상도에 대응하는 잔차 특징을 나타낼 수 있다. P1, P2, P3는 제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도 각각의 깊이 범위에 대응하는 확률 분포(Probability feature)를 나타낼 수 있다. 또한, d1, d2, d3는 제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도 각각의 깊이 범위들의 구간(또는 클래스들)의 개수를 나타낼 수 있다. In FIG. 8 , R 1 and R 2 may represent residual features corresponding to the second depth resolution and the third depth resolution, respectively. P 1 , P 2 , and P 3 may represent probability distributions corresponding to depth ranges of the first depth resolution, the second depth resolution, and the third depth resolution, respectively. Also, d 1 , d 2 , and d 3 may represent the number of sections (or classes) of depth ranges of each of the first depth resolution, the second depth resolution, and the third depth resolution.

일 실시예에 따른 생성 장치(800)는 예를 들어, 심층 신경망에 의해 단일 영상으로부터 멀티 스케일(multi-scale)의 깊이 분류(depth classification)를 수행할 수 있다. 심층 신경망은 예를 들어, 픽셀 당 깊이 값을 성긴 값으로부터 조밀한 값까지 추정할 수 있다. 이를 위해, 일 실시예에서는 먼저 서로 다른 입도(granularities)를 가진 여러 세트의 개별 레이블들에 의해 연속된 깊이 간격을 양자화할 수 있다. 또한, 일 실시예에서는 일련의 분류기들에 의해 제공된 예측된 깊이 해상도의 깊이 범위들에 대응하는 확률 분포를 세분화하고, 세분화된 확률 분포의 가중합에 의해 각 픽셀의 깊이 값을 산출할 수 있다. 일 실시예에서는 이와 같은 멀티 스케일의 분류를 통해 작업을 단순화하면서도 점진적인 예측 및 점진적인 깊이 보정을 통해 양자화 아티팩트(quantization artifacts)를 효과적으로 줄일 수 있다.The generating apparatus 800 according to an embodiment may perform multi-scale depth classification from a single image by, for example, a deep neural network. A deep neural network can estimate, for example, a per-pixel depth value from coarse to dense. To this end, in one embodiment, the successive depth interval may be first quantized by several sets of individual labels with different granularities. Also, according to an embodiment, the probability distribution corresponding to the depth ranges of the predicted depth resolution provided by a series of classifiers may be subdivided, and the depth value of each pixel may be calculated by weighted sum of the subdivided probability distributions. In an embodiment, it is possible to effectively reduce quantization artifacts through gradual prediction and gradual depth correction while simplifying operations through such multi-scale classification.

생성 장치(800)는 단일 RGB 영상에 대한 단안 깊이 추정(Monocular depth estimation)을 다중 스케일 분류 작업으로 전환하여 모든 픽셀들의 깊이 값들을 예측할 수 있다. 생성 장치(800)는 이산화된 깊이값에 대한 확률 분포를 예측하고, 이를 기초로, 최종 레벨에서 타겟 깊이 영상을 예측함으로써 이산화 아티팩트(discretization artifacts)가 없는 부드러운 깊이 맵(smooth depth map)을 생성할 수 있다. 더 높은 정확도를 달성하기 위해, 생성 장치(800)는 후처리(post-processing)를 위한 개선 모듈(refinement module)을 통합하여 최종 확률 분포를 조정함으로써 정확도를 극대화할 수 있다.The generating apparatus 800 may convert monocular depth estimation for a single RGB image into a multi-scale classification operation to predict depth values of all pixels. The generating device 800 predicts the probability distribution for the discretized depth value, and based on this, predicts the target depth image at the final level to generate a smooth depth map without discretization artifacts. can To achieve higher accuracy, the generating device 800 may incorporate a refinement module for post-processing to maximize the accuracy by adjusting the final probability distribution.

보다 구체적으로, 입력 영상(805)(예를 들어, 단일 RGB 영상)을 수신한 생성 장치(800)는 인코더(810)를 통해 입력 영상(805)에 대한 인코딩을 수행할 수 있다. 인코더(810)는 예를 들어, 입력 영상(805)의 크기의 1/32, 1/16, 1/8 및 1/4 배의 서로 다른 공간 크기들을 갖는 4 가지 특징들(815)을 추출할 수 있다. 4 가지 특징들(815)은 예를 들어, 상향 투영 프로세스(up-projection processes)를 통해 하나로 통합될 수 있다. 생성 장치는 상향 투영 프로세서를 통해 하나로 통합된 특징에 대해 서로 다른 세 가지 깊이 해상도 별로 디코딩을 수행할 수 있다. More specifically, the generating device 800 receiving the input image 805 (eg, a single RGB image) may encode the input image 805 through the encoder 810 . The encoder 810 may extract four features 815 having different spatial sizes of, for example, 1/32, 1/16, 1/8 and 1/4 times the size of the input image 805. can The four features 815 may be integrated into one, for example, via up-projection processes. The generating apparatus may perform decoding for three different depth resolutions on the integrated feature through the up-projection processor.

해상도 특징 추출(RFE) 모듈(820)은 다양한 수준의 수용장(receptive fields)을 포착하기 위해 다양한 팽창률(dilation rates) r ∈ {3, 6, 12, 18}을 가진 확장된 컨볼루션 필터의 몇 가지 조합으로 수행될 수 있다. 해상도 특징 추출(RFE) 모듈(820)에서 추출된 잔차 특징들(R1, R2)은 확률 분포 보정(PR) 모듈(840)로 공급될 수 있다. The resolution feature extraction (RFE) module 820 is configured with several extended convolutional filters with various dilation rates r ∈ {3, 6, 12, 18} to capture different levels of receptive fields. It can be carried out in a combination of branches. The residual features R 1 , R 2 extracted by the resolution feature extraction (RFE) module 820 may be supplied to the probability distribution correction (PR) module 840 .

확률 분포 보정(PR) 모듈(840)은 이전 레벨들의 특징들을 통합하여 깊이 해상도 별 확률 분포를 추정할 수 있다. 확률 분포 보정(PR) 모듈(840)에서 추정된 가장 조밀한 확률 분포가 깊이 변환부(860)로 공급되어 최종적으로 타겟 깊이 영상(870) 또는 최종 깊이 맵이 생성될 수 있다. The probability distribution correction (PR) module 840 may estimate a probability distribution for each depth resolution by integrating features of previous levels. The densest probability distribution estimated by the probability distribution correction (PR) module 840 may be supplied to the depth converter 860 to finally generate a target depth image 870 or a final depth map.

생성 장치(800)는 예를 들어, 디코더들(821, 823, 825)을 통해 서로 다른 3가지의 깊이 해상도에 대응하는 확률 분포

Figure pat00006
를 추정할 수 있다. 확률 분포는 디코딩 과정에서 여러 단계의 정제 과정(refinement processes)을 통해 계층적으로 추정될 수 있다. 디코딩 단계에서 깊이 해상도 별 분류를 예측하기 위해, 일 실시예에서는 로그 함수를 사용하는 간격 증가 이산화(spacing-increasing discretization; SID)를 채택할 수 있다. 생성 장치(800)는 디코딩의 각 단계에서, 서로 다른 레벨들의 양자화를 사용할 수 있다. The generating device 800 provides, for example, a probability distribution corresponding to three different depth resolutions through the decoders 821 , 823 , and 825 .
Figure pat00006
can be estimated. The probability distribution may be hierarchically estimated through several refinement processes in the decoding process. In order to predict classification by depth resolution in the decoding step, in an embodiment, spacing-increasing discretization (SID) using a log function may be employed. The generating device 800 may use different levels of quantization in each step of decoding.

일 실시예에서는 예를 들어, 전체 깊이 간격 [a, b]을 3 개의 서로 다른 개수의 깊이 범위들(d1, d2 및 d3)로 나눌 수 있으며, 신경망을 통해 초기 확률 특징을 예측할 수 있다. 생성 장치(800)는 깊이 해상도가 점진적으로 높아짐에 따라 확률 분포를 구성하는 값들을 정제(refine)하거나, 또는 수정(correct)할 수 있다. In one embodiment, for example, the entire depth interval [a, b] can be divided into three different numbers of depth ranges d 1 , d 2 and d 3 , and the initial probability feature can be predicted through the neural network. have. The generating apparatus 800 may refine or correct values constituting the probability distribution as the depth resolution is gradually increased.

생성 장치(800)가 추정하는 깊이 해상도 별 확률 분포들(P1, P2, P3)은 서로 다른 공간 및 채널 해상도(channel resolutions)를 가질 수 있다. 예를 들어, H와 W가 가장 조밀한 깊이 해상도에서의 깊이 영상의 높이와 너비를 나타내는 경우,

Figure pat00007
Figure pat00008
차원을 가질 수 있다. 이때,
Figure pat00009
이고,
Figure pat00010
일 수 있다. 여기서, H 및 W는 가장 조밀한 깊이 해상도 또는 가장 정밀한 레벨에서의 깊이 영상의 높이 및 폭을 나타낼 수 있다. 또한,
Figure pat00011
는 p 번째 픽셀의 깊이 값이 k 번째 깊이 해상도 또는 k 번째 레벨에서 특정 간격으로 존재할 가능성을 나타낼 수 있다. The probability distributions P 1 , P 2 , and P 3 for each depth resolution estimated by the generator 800 may have different spatial and channel resolutions. For example, if H and W represent the height and width of the depth image at the densest depth resolution,
Figure pat00007
Is
Figure pat00008
can have dimensions. At this time,
Figure pat00009
ego,
Figure pat00010
can be Here, H and W may represent the height and width of the depth image at the densest depth resolution or the most precise level. In addition,
Figure pat00011
may indicate the possibility that the depth value of the p-th pixel exists at a specific interval in the k-th depth resolution or the k-th level.

생성 장치(800)는 예를 들어, 가장 성긴 제1 깊이 해상도에 대응하는 제1 디코더(821)에 의해 생성된 제1 깊이 해상도의 특징으로부터 제1 확률 분포(P1)를 예측할 수 있다. 실시예에 따라서, 생성 장치(800)는 소프트맥스 수행부(841)에 의해 제1 깊이 해상도의 특징으로부터 제1 확률 분포(P1)를 예측할 수도 있고, 또는 소프트맥스 수행부(841) 없이 바로 제1 깊이 해상도의 특징으로부터 제1 확률 분포(P1)를 예측할 수도 있다. 이때, 제1 확률 분포는 제1 깊이 해상도의 깊이 범위들(예를 들어, d1 = 4개)에 대응할 수 있다. The generating device 800 may predict the first probability distribution P 1 from, for example, a feature of the first depth resolution generated by the first decoder 821 corresponding to the coarsest first depth resolution. According to an embodiment, the generating device 800 may predict the first probability distribution P 1 from the feature of the first depth resolution by the softmax performing unit 841 or directly without the softmax performing unit 841 . The first probability distribution P 1 may be predicted from the feature of the first depth resolution. In this case, the first probability distribution may correspond to depth ranges (eg, d 1 = 4) of the first depth resolution.

생성 장치(800)는 제2 디코더(823)에 의해 제1 깊이 해상도보다 조밀한 제2 깊이 해상도의 잔치 특징(R1)을 예측할 수 있다. 생성 장치(800)는 확률 분포 보정부(843)에 의해 이전 단계(제1 깊이 해상도)의 확률 분포(P1)와 제2 깊이 해상도의 잔치 특징(R1)과 통합(aggregation)하여 제2 확률 분포(P2)를 추정할 수 있다. 이때, 제2 확률 분포(P2)는 제2 깊이 해상도의 깊이 범위들(예를 들어, d2 = 8개)에 대응할 수 있다. The generating device 800 may predict the residual feature R 1 of the second depth resolution denser than the first depth resolution by the second decoder 823 . The generation device 800 aggregates the probability distribution P 1 of the previous step (first depth resolution) and the residual feature R 1 of the second depth resolution by the probability distribution correcting unit 843 to obtain a second A probability distribution (P 2 ) can be estimated. In this case, the second probability distribution P 2 may correspond to depth ranges (eg, d 2 = 8) of the second depth resolution.

또한, 생성 장치(800)는 제3 디코더(825)에 의해 제2 깊이 해상도보다 조밀한 제3 깊이 해상도의 잔치 특징(R2)을 예측할 수 있다. 생성 장치(800)는 확률 분포 보정부(845)에 의해 제3 깊이 해상도의 잔치 특징(R2)을 이전 단계(제2 깊이 해상도)의 확률 분포(P2)와 통합하여 제3 확률 분포(P2)를 추정할 수 있다. 이때, 제3 확률 분포(P3)는 제3 깊이 해상도의 깊이 범위들(예를 들어, d3 = 16개)에 대응할 수 있다. Also, the generating device 800 may predict the residual feature R 2 of the third depth resolution that is denser than the second depth resolution by the third decoder 825 . The generating device 800 integrates the residual feature R 2 of the third depth resolution with the probability distribution P 2 of the previous step (second depth resolution) by the probability distribution correcting unit 845 to obtain the third probability distribution ( P 2 ) can be estimated. In this case, the third probability distribution P 3 may correspond to depth ranges (eg, d 3 =16) of the third depth resolution.

보다 구체적으로, 생성 장치(800)는 제1 확률 분포

Figure pat00012
을 초기 값으로 예측한 후, 제1 깊이 해상도에서 예측된 거친 확률 분포(예를 들어, 제1 확률 분포
Figure pat00013
)에 더 미세한 구조를 추가하기 위해 제2 잔차 특징
Figure pat00014
을 예측할 수 있다. More specifically, the generating device 800 generates a first probability distribution
Figure pat00012
After predicting as an initial value, the coarse probability distribution predicted at the first depth resolution (eg, the first probability distribution
Figure pat00013
) to add a finer structure to the second residual feature
Figure pat00014
can be predicted.

이후, 생성 장치(800)는 순차적으로 제2 확률 분포

Figure pat00015
및 제3 확률 분포
Figure pat00016
를 추정할 수 있다. 이때,
Figure pat00017
는 아래의 수학식 2에 기재된
Figure pat00018
로부터의 정보를 집계(aggregating)함으로써
Figure pat00019
로 정제될 수 있다. Thereafter, the generating device 800 sequentially generates a second probability distribution.
Figure pat00015
and a third probability distribution
Figure pat00016
can be estimated. At this time,
Figure pat00017
is described in Equation 2 below
Figure pat00018
by aggregating information from
Figure pat00019
can be purified with

Figure pat00020
Figure pat00020

여기서, k ∈ {2, 3}일 수 있다. Here, k ∈ {2, 3} may be.

생성 장치(800)는 예를 들어, 이중 선형 보간을 통한 확률 분포

Figure pat00021
의 업 스케일링 후, 업스케일링된 확률 분포
Figure pat00022
와 잔차 특징
Figure pat00023
을 합할 수 있다.
Figure pat00024
를 통한 업 스케일링 과정에서, 두 종류의 업 샘플링 프로세스가 수행될 수 있다. 이중 선형 보간은 공간 영역에서 수행되어 중간 특징이
Figure pat00025
과 동일한 공간 크기를 갖도록 할 수 있다. 이때, 특징의 채널 크기가
Figure pat00026
를 갖도록 채널 도메인에서 다른 보간이 수행될 수도 있다. The generating device 800 is, for example, a probability distribution through bilinear interpolation.
Figure pat00021
After upscaling of , the upscaled probability distribution
Figure pat00022
and residual features
Figure pat00023
can be summed
Figure pat00024
In the upscaling process through , two types of upsampling processes may be performed. Bilinear interpolation is performed in the spatial domain so that the intermediate features are
Figure pat00025
It can be made to have the same space size as . At this time, the channel size of the feature is
Figure pat00026
Another interpolation may be performed in the channel domain to have

생성 장치(800)는 확률 분포

Figure pat00027
를 잔차 특징
Figure pat00028
과 합산하기 전에 채널 방향의 모든 합산된 값이 1과 같도록
Figure pat00029
를 통해 업 스케일링된 확률 분포를 정규화될 수 있다. The generating device 800 is a probability distribution
Figure pat00027
Residual Features
Figure pat00028
Make sure that all summed values in the channel direction are equal to 1 before summing with
Figure pat00029
The upscaled probability distribution may be normalized through .

깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여 입력 영상에 대응하는 타겟 깊이 영상

Figure pat00030
이 생성될 수 있다. A target depth image corresponding to the input image based on the finally estimated probability distribution among the probability distributions for each depth resolution
Figure pat00030
can be created.

이때, 각 깊이 해상도에서 추정된 확률 분포

Figure pat00031
는 깊이 영상
Figure pat00032
로 변환되고, 모든 깊이 해상도들에서의 정답 깊이들(ground-truth depths)과 비교될 수 있다. In this case, the probability distribution estimated at each depth resolution
Figure pat00031
is the depth image
Figure pat00032
, and can be compared with ground-truth depths at all depth resolutions.

일 실시예에 따른 생성 장치(800)는 멀티 스케일(Multi-scale) 방식으로 각 단계의 스케일 정보(scale information), 다시 말해 서로 다른 깊이 해상도 별 특징을 생성함으로써 좀 더 좀더 조밀한 깊이 영상을 생성할 수 있다. The generating apparatus 800 according to an embodiment generates a more dense depth image by generating scale information of each stage, that is, features for different depth resolutions, in a multi-scale method. can do.

또한, 일 실시예에 따른 생성 장치(800)는 서로 다른 깊이 해상도 별 특징에 의해 서로 다른 깊이 해상도 별 확률 분포를 재구성할 수 있다. 보다 구체적으로, 생성 장치에서 성긴 값을 가지는 깊이 해상도를 생성하는 모듈은 글로벌 구조(global structure)에 집중하고, 그 외 조밀한 값을 가지는 깊이 해상도를 생성하는 모듈들은 조밀한 깊이 정보를 생성함으로써 높은 해상도를 갖는 타겟 깊이 영상을 생성할 수 있다. Also, the generating apparatus 800 according to an embodiment may reconstruct probability distributions for different depth resolutions based on features for different depth resolutions. More specifically, the module generating the depth resolution having a coarse value in the generating device concentrates on the global structure, and the modules generating the depth resolution having a dense value are high by generating the dense depth information. A target depth image having a resolution may be generated.

또한, 일 실시예에서는 깊이 값을 보정하는 대신에, 추정한 깊이 해상도 별 확률 분포를 보정에 이용함으로써 깊이 해상도 별 특징을 보다 정확하게 보정할 수 있다. Also, in an embodiment, instead of correcting the depth value, the estimated probability distribution for each depth resolution is used for correction, so that the feature for each depth resolution may be more accurately corrected.

도 9는 다른 실시예에 따른 깊이 영상을 생성하는 방법을 나타낸 흐름도이고, 도 10은 다른 실시예에 따른 깊이 영상을 생성하는 장치의 구성 및 동작을 설명하기 위한 도면이다.9 is a flowchart illustrating a method of generating a depth image according to another embodiment, and FIG. 10 is a diagram for explaining a configuration and operation of an apparatus for generating a depth image according to another embodiment.

도 9 및 도 10을 참조하면, 일 실시예에 따른 생성 장치가 단계(910) 내지 단계(970)를 수행함으로써 저화질의 깊이 영상을 향상(enhancement)시켜 고화질의 타겟 깊이 영상을 생성하는 과정이 도시된다.9 and 10 , a process of generating a high-quality target depth image by enhancing a low-quality depth image by performing steps 910 to 970 by the generating apparatus according to an embodiment is illustrated. do.

단계(910)에서, 생성 장치(1000)는 깊이 영상(1003)을 수신한다. 깊이 영상(1003)은 예를 들어, 단계(920)에서 수신하는 입력 영상(1001)인 컬러 영상에 대응하는 저화질의 깊이 영상에 해당할 수 있다. 깊이 영상(1003)은 예를 들어, 키넥트(kinect), TOF(time-of-flight) 깊이 카메라 또는 광 3D 스캐너 등과 같이 객체에 대한 깊이 정보를 나타내는 깊이 영상을 획득하는 깊이 센서에 의해 감지될 수 있다. 깊이 영상(1003)은 촬영 위치로부터 객체까지의 깊이(또는 거리)에 대한 정보인 깊이 정보를 나타내는 영상이다. In operation 910 , the generating device 1000 receives the depth image 1003 . The depth image 1003 may correspond to, for example, a low-quality depth image corresponding to a color image that is the input image 1001 received in operation 920 . The depth image 1003 may be sensed by a depth sensor that acquires a depth image representing depth information about an object, such as a kinect, a time-of-flight (TOF) depth camera, or an optical 3D scanner, for example. can The depth image 1003 is an image representing depth information, which is information about a depth (or distance) from a photographing position to an object.

단계(920)에서, 생성 장치는 입력 영상(예를 들어, 컬러 영상)(1001)을 수신한다.In step 920 , the generating device receives an input image (eg, a color image) 1001 .

단계(930)에서, 생성 장치는 단계(910)에서 수신한 깊이 영상(1003)을 이산화(1020)하여, 제1 깊이 해상도의 확률 분포(P1)를 생성한다In operation 930 , the generating apparatus discretizes 1020 the depth image 1003 received in operation 910 , and generates a probability distribution P 1 of the first depth resolution.

단계(940)에서, 생성 장치는 단계(920)에서 수신한 컬러 영상(1001)에 대응하는 특징을 추출한다. 생성 장치는 예를 들어, 인코더(1010)에 의해 컬러 영상(1001)에 대응하는 특징을 추출할 수 있다. In operation 940 , the generating device extracts a feature corresponding to the color image 1001 received in operation 920 . The generating apparatus may extract a feature corresponding to the color image 1001 by, for example, the encoder 1010 .

단계(950)에서, 생성 장치는 적어도 하나의 제2 깊이 해상도에 대응하는 적어도 하나의 디코더(1030, 1050)를 이용하여 단계(940)에서 추출한 특징을 디코딩함으로써, 제2 깊이 해상도 별 특징을 생성한다. 여기서, '적어도 하나의 제2 깊이 해상도'는 제2 깊이 해상도 이외에 제3 깊이 해상도, 및 제4 깊이 해상도 등과 같이 제2 깊이 해상도 보다 조밀한 깊이 값을 가지는 깊이 해상도들을 모두 포함하는 의미로 이해될 수 있다. 생성 장치는 예를 들어, 제2 깊이 해상도에 대응하는 제2 디코더(1030)를 이용하여, 제2 깊이 해상도의 잔차 특징을 생성할 수 있다. 생성 장치는 제2 깊이 해상도보다 조밀한 제3 깊이 해상도에 대응하는 제3 디코더(1050)를 이용하여, 제3 깊이 해상도의 잔차 특징을 생성할 수 있다.In step 950 , the generating device generates a feature for each second depth resolution by decoding the feature extracted in step 940 using at least one decoder 1030 , 1050 corresponding to the at least one second depth resolution. do. Here, 'at least one second depth resolution' may be understood to include all of the depth resolutions having a denser depth value than the second depth resolution, such as the third depth resolution and the fourth depth resolution, in addition to the second depth resolution. can The generating apparatus may generate a residual feature of the second depth resolution using, for example, the second decoder 1030 corresponding to the second depth resolution. The generating apparatus may generate the residual feature of the third depth resolution by using the third decoder 1050 corresponding to the third depth resolution that is denser than the second depth resolution.

단계(960)에서, 생성 장치는 단계(950)에서 생성한 깊이 해상도 별 특징을 점진적으로 보정함으로써, 깊이 해상도 별 확률 분포를 추정한다. 생성 장치는 제2 디코더(1030)에 의해 생성된 제2 깊이 해상도의 잔차 특징에 의해 제1 확률 분포(P1)를 보정(1040)함으로써 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포(P2)를 추정할 수 있다. 생성 장치는 제3 디코더(1050)에 의해 생성된 제3 깊이 해상도의 잔차 특징에 의해 제2 확률 분포(P2)를 보정(1060)함으로써 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포(P3)를 추정할 수 있다.In operation 960 , the generating device estimates a probability distribution for each depth resolution by gradually correcting the feature for each depth resolution generated in operation 950 . The generating apparatus corrects 1040 the first probability distribution P 1 by the residual feature of the second depth resolution generated by the second decoder 1030 , thereby providing a second probability corresponding to depth ranges of the second depth resolution. The distribution (P 2 ) can be estimated. The generating apparatus corrects ( 1060 ) the second probability distribution P 2 by the residual feature of the third depth resolution generated by the third decoder 1050 , thereby providing a third probability corresponding to the depth ranges of the third depth resolution. The distribution (P 3 ) can be estimated.

단계(970)에서, 생성 장치는 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포(예를 들어, 제3 확률 분포(P3))에 기초하여, 입력 영상(1001)에 대응하는 타겟 깊이 영상(1080)을 생성한다. 생성 장치는 최종적으로 추정되는 이산적인 확률 분포인 제3 확률 분포(P3)를 연속적인 값으로 변환(1070)함으로써 타겟 깊이 영상(1080)을 생성할 수 있다. 타겟 깊이 영상(1080)은 3D 얼굴 인식 등과 같은 객체 인식이나 아웃포커싱과 같은 사진 효과 처리에 이용될 수 있다. 타겟 깊이 영상(1080)은 객체들 간의 기하학적 관계(geometric relation)를 결정해 주거나 또는 3D 기하학 정보를 제공함으로써 비주얼 객체 인식(visual object recognition)의 성능 향상에 도움을 줄 수 있다.In operation 970 , the generating device generates a target depth image corresponding to the input image 1001 based on a finally estimated probability distribution (eg, a third probability distribution P 3 ) among probability distributions for each depth resolution. (1080). The generating apparatus may generate the target depth image 1080 by converting the third probability distribution P 3 , which is the finally estimated discrete probability distribution, into a continuous value ( 1070 ). The target depth image 1080 may be used for object recognition such as 3D face recognition or photo effect processing such as defocusing. The target depth image 1080 may help improve performance of visual object recognition by determining a geometric relation between objects or providing 3D geometric information.

생성 장치는 단계(970)에서 생성한 타겟 깊이 영상을 출력할 수 있다. The generating device may output the target depth image generated in operation 970 .

도 11은 일 실시예에 따른 깊이 영상을 생성하는 장치의 블록도이다. 도 11을 참조하면, 일 실시예에 따른 깊이 영상을 생성하는 장치('생성 장치')(1100)는 통신 인터페이스(1110), 프로세서(1130), 및 메모리(1150)를 포함한다. 통신 인터페이스(1110), 프로세서(1130), 및 메모리(1150)는 통신 버스(1105)를 통해 서로 연결될 수 있다. 11 is a block diagram of an apparatus for generating a depth image according to an exemplary embodiment. Referring to FIG. 11 , an apparatus (“generating device”) 1100 for generating a depth image according to an exemplary embodiment includes a communication interface 1110 , a processor 1130 , and a memory 1150 . The communication interface 1110 , the processor 1130 , and the memory 1150 may be connected to each other through the communication bus 1105 .

통신 인터페이스(1110)는 입력 영상을 수신한다. 또한, 통신 인터페이스(1110)는 프로세서(1130)가 생성한 타겟 깊이 영상을 출력할 수 있다. The communication interface 1110 receives an input image. Also, the communication interface 1110 may output the target depth image generated by the processor 1130 .

프로세서(1130)는 입력 영상에 대응하는 특징을 추출한다. 프로세서(1130)는 서로 다른 깊이 해상도들에 대응하는 디코더들을 이용하여 특징을 디코딩 함으로써, 깊이 해상도 별 특징을 생성한다. 프로세서(1130)는 깊이 해상도 별 특징을 점진적으로 보정함으로써, 깊이 해상도 별 확률 분포를 추정한다. 프로세서(1130)는 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여, 입력 영상에 대응하는 타겟 깊이 영상을 생성한다. The processor 1130 extracts a feature corresponding to the input image. The processor 1130 generates a feature for each depth resolution by decoding the feature using decoders corresponding to different depth resolutions. The processor 1130 estimates a probability distribution for each depth resolution by gradually correcting a feature for each depth resolution. The processor 1130 generates a target depth image corresponding to the input image based on a finally estimated probability distribution among probability distributions for each depth resolution.

메모리(1150)는 입력 영상을 저장할 수 있다. 또한, 메모리(1150)는 프로세서(1130)가 생성한 타겟 깊이 영상을 저장할 수 있다. The memory 1150 may store an input image. Also, the memory 1150 may store the target depth image generated by the processor 1130 .

또한, 메모리(1150)는 상술한 프로세서(1130)의 처리 과정에서 생성되는 다양한 정보들을 저장할 수 있다. 이 밖에도, 메모리(1150)는 각종 데이터와 프로그램 등을 저장할 수 있다. 메모리(1150)는 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있다. 메모리(1150)는 하드 디스크 등과 같은 대용량 저장 매체를 구비하여 각종 데이터를 저장할 수 있다.Also, the memory 1150 may store various pieces of information generated in the process of the processor 1130 described above. In addition, the memory 1150 may store various data and programs. The memory 1150 may include a volatile memory or a non-volatile memory. The memory 1150 may include a mass storage medium such as a hard disk to store various data.

실시예에 따라서, 생성 장치(1100)는 입력 영상을 감지 또는 캡쳐하는 이미지 센서, 카메라, 깊이 값을 감지하는 깊이 센서, 및/또는 깊이 카메라 등과 같은 센서들을 더 포함할 수 있다. 또는 생성 장치(1100)는 입력 영상에 대응하는 타겟 깊이 영상을 출력하는 디스플레이 장치를 더 포함할 수도 있다. According to an embodiment, the generating device 1100 may further include sensors such as an image sensor sensing or capturing an input image, a camera, a depth sensor sensing a depth value, and/or a depth camera. Alternatively, the generating device 1100 may further include a display device that outputs a target depth image corresponding to the input image.

또한, 프로세서(1130)는 도 1 내지 도 10을 통해 전술한 적어도 하나의 방법 또는 적어도 하나의 방법에 대응되는 알고리즘을 수행할 수 있다. 프로세서(1130)는 목적하는 동작들(desired operations)을 실행시키기 위한 물리적인 구조를 갖는 회로를 가지는 하드웨어로 구현된 데이터 처리 장치일 수 있다. 예를 들어, 목적하는 동작들은 프로그램에 포함된 코드(code) 또는 인스트럭션들(instructions)을 포함할 수 있다. 예를 들어, 하드웨어로 구현된 데이터 처리 장치는 마이크로프로세서(microprocessor), 중앙 처리 장치(central processing unit), 프로세서 코어(processor core), 멀티-코어 프로세서(multi-core processor), 멀티프로세서(multiprocessor), ASIC(Application-Specific Integrated Circuit), FPGA(Field Programmable Gate Array)를 포함할 수 있다.Also, the processor 1130 may perform at least one method described above with reference to FIGS. 1 to 10 or an algorithm corresponding to the at least one method. The processor 1130 may be a hardware-implemented data processing device having a circuit having a physical structure for executing desired operations. For example, desired operations may include code or instructions included in a program. For example, a data processing device implemented as hardware includes a microprocessor, a central processing unit, a processor core, a multi-core processor, and a multiprocessor. , an Application-Specific Integrated Circuit (ASIC), and a Field Programmable Gate Array (FPGA).

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

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may comprise a computer program, code, instructions, or a combination of one or more thereof, which configures a processing device to operate as desired or is independently or collectively processed You can command the device. The software and/or data may be any kind of machine, component, physical device, virtual equipment, computer storage medium or device, to be interpreted by or to provide instructions or data to the processing device. , or may be permanently or temporarily embody in a transmitted signal wave. The software may be distributed over networked computer systems, and stored or executed in a distributed manner. Software and data may be stored in one or more computer-readable recording media.

이상과 같이 실시예들이 비록 한정된 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기를 기초로 다양한 기술적 수정 및 변형을 적용할 수 있다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with reference to the limited drawings, those skilled in the art may apply various technical modifications and variations based on the above. For example, the described techniques are performed in a different order than the described method, and/or the described components of the system, structure, apparatus, circuit, etc. are combined or combined in a different form than the described method, or other components Or substituted or substituted by equivalents may achieve an appropriate result.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

1100: 생성 장치
1105: 통신 버스
1110: 통신 인터페이스
1130: 프로세서
1150: 메모리
1100: generating device
1105: communication bus
1110: communication interface
1130: Processor
1150: memory

Claims (35)

입력 영상을 수신하는 단계;
상기 입력 영상에 대응하는 특징을 추출하는 단계;
서로 다른 깊이 해상도들에 대응하는 디코더들을 이용하여 상기 특징을 디코딩(decoding)함으로써, 깊이 해상도 별 특징을 생성하는 단계;
상기 깊이 해상도 별 특징을 점진적으로 보정(progressively refine)함으로써, 깊이 해상도 별 확률 분포를 추정하는 단계; 및
상기 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여, 상기 입력 영상에 대응하는 타겟 깊이 영상을 생성하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
receiving an input image;
extracting a feature corresponding to the input image;
generating a feature for each depth resolution by decoding the feature using decoders corresponding to different depth resolutions;
estimating a probability distribution for each depth resolution by progressively refining the feature for each depth resolution; and
generating a target depth image corresponding to the input image based on a finally estimated probability distribution among the probability distributions for each depth resolution;
containing,
How to create a depth image.
제1항에 있어서,
상기 깊이 해상도 별 특징을 생성하는 단계는
상기 깊이 해상도들 중 제1 깊이 해상도에 대응하는 제1 디코더를 이용하여, 상기 제1 깊이 해상도의 특징을 생성하는 단계; 및
상기 깊이 해상도들 중 제2 깊이 해상도에 대응하는 제2 디코더를 이용하여, 상기 제2 깊이 해상도의 잔차 특징(residual feature)을 생성하는 단계;
를 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
The step of generating the feature for each depth resolution includes:
generating a feature of the first depth resolution by using a first decoder corresponding to a first depth resolution among the depth resolutions; and
generating a residual feature of the second depth resolution by using a second decoder corresponding to a second depth resolution among the depth resolutions;
containing,
How to create a depth image.
제1항에 있어서,
상기 깊이 해상도 별 특징을 생성하는 단계는
상기 깊이 해상도들 중 제3 깊이 해상도에 대응하는 제3 디코더를 이용하여, 상기 제3 깊이 해상도의 잔차 특징을 생성하는 단계
를 더 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
The step of generating the feature for each depth resolution includes:
generating a residual feature of the third depth resolution by using a third decoder corresponding to a third depth resolution among the depth resolutions;
further comprising,
How to create a depth image.
제1항에 있어서,
상기 깊이 해상도 별 특징을 생성하는 단계는
균일(uniform)하게 설정된 깊이 간격으로 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성하는 단계; 및
간격 증가 이산화(spacing-increasing discretization; SID) 기법에 기초하여 상이하게 설정된 깊이 간격에 의해 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성하는 단계
중 어느 하나를 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
The step of generating the feature for each depth resolution includes:
generating a feature for each depth resolution by decoding the feature at a uniformly set depth interval; and
Generating the feature for each depth resolution by decoding the feature with a depth interval set differently based on a spacing-increasing discretization (SID) technique
including any one of
How to create a depth image.
제1항에 있어서,
상기 깊이 해상도 별 확률 분포를 추정하는 단계는
상기 깊이 해상도들 중 제1 깊이 해상도의 특징에 기초하여, 상기 제1 깊이 해상도의 깊이 범위들에 대응하는 제1 확률 분포를 추정하는 단계; 및
상기 제1 확률 분포 및 상기 깊이 해상도들 중 제2 깊이 해상도의 잔차 특징에 기초하여, 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포를 추정하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
The step of estimating the probability distribution for each depth resolution comprises:
estimating a first probability distribution corresponding to depth ranges of the first depth resolution based on a characteristic of the first depth resolution among the depth resolutions; and
estimating a second probability distribution corresponding to depth ranges of a second depth resolution based on the first probability distribution and a residual feature of a second depth resolution among the depth resolutions;
containing,
How to create a depth image.
제5항에 있어서,
상기 제2 확률 분포를 추정하는 단계는
상기 제2 깊이 해상도의 잔차 특징에 의해 상기 제1 확률 분포를 보정함으로써 상기 제2 깊이 해상도의 깊이 범위들에 대응하는 상기 제2 확률 분포를 추정하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
6. The method of claim 5,
The step of estimating the second probability distribution comprises:
estimating the second probability distribution corresponding to depth ranges of the second depth resolution by correcting the first probability distribution by the residual feature of the second depth resolution;
containing,
How to create a depth image.
제6항에 있어서,
상기 제2 확률 분포를 추정하는 단계는
상기 제1 확률 분포를 업-스케일링(up-scaling)하는 단계; 및
상기 제2 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제1 확률 분포를 보정함으로써 상기 제2 확률 분포를 추정하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
7. The method of claim 6,
The step of estimating the second probability distribution comprises:
up-scaling the first probability distribution; and
estimating the second probability distribution by correcting the up-scaled first probability distribution by a residual feature of the second depth resolution;
containing,
How to create a depth image.
제5항에 있어서,
상기 깊이 해상도 별 확률 분포를 추정하는 단계는
상기 제2 확률 분포 및 상기 깊이 해상도들 중 제3 깊이 해상도의 잔차 특징에 기초하여, 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포를 추정하는 단계
를 더 포함하는,
깊이 영상을 생성하는 방법.
6. The method of claim 5,
The step of estimating the probability distribution for each depth resolution comprises:
estimating a third probability distribution corresponding to depth ranges of a third depth resolution based on the second probability distribution and a residual feature of a third depth resolution among the depth resolutions;
further comprising,
How to create a depth image.
제8항에 있어서,
상기 제3 확률 분포를 추정하는 단계는
상기 제3 깊이 해상도의 잔차 특징에 의해 상기 제2 확률 분포를 보정함으로써 상기 제3 깊이 해상도의 깊이 범위들에 대응하는 상기 제3 확률 분포를 추정하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
9. The method of claim 8,
The step of estimating the third probability distribution comprises:
estimating the third probability distribution corresponding to depth ranges of the third depth resolution by correcting the second probability distribution by the residual feature of the third depth resolution;
containing,
How to create a depth image.
제8항에 있어서,
상기 제3 확률 분포를 추정하는 단계는
상기 제2 확률 분포를 업-스케일링하는 단계; 및
상기 제3 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제2 확률 분포를 보정함으로써 상기 제3 확률 분포를 추정하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
9. The method of claim 8,
The step of estimating the third probability distribution comprises:
up-scaling the second probability distribution; and
estimating the third probability distribution by correcting the up-scaled second probability distribution by a residual feature of the third depth resolution;
containing,
How to create a depth image.
제1항에 있어서,
상기 타겟 깊이 영상을 생성하는 단계는
상기 최종적으로 추정되는 확률 분포를 상기 타겟 깊이 영상으로 변환(conversion)하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
The step of generating the target depth image includes:
converting the finally estimated probability distribution into the target depth image
containing,
How to create a depth image.
제1항에 있어서,
상기 타겟 깊이 영상을 생성하는 단계는
상기 최종적으로 추정되는 확률 분포의 기대 값을 산출하는 단계;
상기 최종적으로 추정되는 확률 분포에 기초하여, 상기 기대 값의 보정 값을 추정하는 단계; 및
상기 기대 값 및 상기 보정 값에 기초하여, 타겟 깊이 영상을 생성하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
The step of generating the target depth image includes:
calculating an expected value of the finally estimated probability distribution;
estimating a correction value of the expected value based on the finally estimated probability distribution; and
generating a target depth image based on the expected value and the correction value;
containing,
How to create a depth image.
제1항에 있어서,
상기 깊이 해상도들은
제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도 중 적어도 둘을 포함하고,
상기 제1 깊이 해상도는 상기 제2 깊이 해상도에 비해 성긴 값(coarse value)을 가지고, 상기 제2 깊이 해상도는 상기 제1 깊이 해상도에 비해 조밀한 값(fine value)을 가지며, 상기 제3 깊이 해상도는 상기 제2 깊이 해상도에 비해 조밀한 값을 가지는,
깊이 영상을 생성하는 방법.
According to claim 1,
The depth resolutions are
at least two of a first depth resolution, a second depth resolution, and a third depth resolution;
The first depth resolution has a coarse value compared to the second depth resolution, the second depth resolution has a fine value compared to the first depth resolution, and the third depth resolution has a dense value compared to the second depth resolution,
How to create a depth image.
제1항에 있어서,
상기 입력 영상에 포함된 픽셀들의 깊이 값들의 깊이 범위를 이산화(discretization)하여 복수 개의 구간들로 분할하는 단계
를 더 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
dividing a depth range of depth values of pixels included in the input image into a plurality of sections by discretization;
further comprising,
How to create a depth image.
제1항에 있어서,
상기 타겟 깊이 영상을 출력하는 단계
를 더 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
outputting the target depth image
further comprising,
How to create a depth image.
제1항에 있어서,
상기 입력 영상은
단일 컬러 영상, 적외선 영상, 및 깊이 영상 중 적어도 하나를 포함하는,
깊이 영상을 생성하는 방법.
According to claim 1,
The input image is
comprising at least one of a single color image, an infrared image, and a depth image;
How to create a depth image.
깊이 영상을 수신하는 단계;
컬러 영상을 수신하는 단계;
상기 깊이 영상을 이산화하여, 제1 깊이 해상도의 확률 분포를 생성하는 단계;
상기 컬러 영상에 대응하는 특징을 추출하는 단계;
적어도 하나의 제2 깊이 해상도에 대응하는 적어도 하나의 디코더를 이용하여 상기 특징을 디코딩함으로써, 제2 깊이 해상도 별 특징을 생성하는 단계;
상기 깊이 해상도 별 특징을 점진적으로 보정함으로써, 깊이 해상도 별 확률 분포를 추정하는 단계; 및
상기 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여, 상기 입력 영상에 대응하는 타겟 깊이 영상을 생성하는 단계
를 포함하는,
깊이 영상을 생성하는 방법.
receiving a depth image;
receiving a color image;
generating a probability distribution of a first depth resolution by discretizing the depth image;
extracting a feature corresponding to the color image;
generating a feature for each second depth resolution by decoding the feature using at least one decoder corresponding to at least one second depth resolution;
estimating a probability distribution for each depth resolution by gradually correcting the feature for each depth resolution; and
generating a target depth image corresponding to the input image based on a finally estimated probability distribution among the probability distributions for each depth resolution;
containing,
How to create a depth image.
하드웨어와 결합되어 제1항 내지 제17항 중 어느 하나의 항의 방법을 실행시키기 위하여 매체에 저장된 컴퓨터 프로그램.A computer program stored on a medium for executing the method of any one of claims 1 to 17 in combination with hardware. 입력 영상을 수신하는 통신 인터페이스; 및
상기 입력 영상에 대응하는 특징을 추출하고, 서로 다른 깊이 해상도들에 대응하는 디코더들을 이용하여 상기 특징을 디코딩 함으로써, 깊이 해상도 별 특징을 생성하고, 상기 깊이 해상도 별 특징을 점진적으로 보정함으로써, 깊이 해상도 별 확률 분포를 추정하며, 상기 깊이 해상도 별 확률 분포 중 최종적으로 추정되는 확률 분포에 기초하여, 상기 입력 영상에 대응하는 타겟 깊이 영상을 생성하는 프로세서
를 포함하는,
깊이 영상을 생성하는 장치.
a communication interface for receiving an input image; and
By extracting a feature corresponding to the input image, decoding the feature using decoders corresponding to different depth resolutions, generating a feature for each depth resolution, and gradually correcting the feature for each depth resolution, depth resolution A processor for estimating a star probability distribution and generating a target depth image corresponding to the input image based on a finally estimated probability distribution among the probability distributions for each depth resolution
containing,
A device that generates a depth image.
제19항에 있어서,
상기 프로세서는
상기 깊이 해상도들 중 제1 깊이 해상도에 대응하는 제1 디코더를 이용하여, 상기 제1 깊이 해상도의 특징을 생성하고,
상기 깊이 해상도들 중 제2 깊이 해상도에 대응하는 제2 디코더를 이용하여, 상기 제2 깊이 해상도의 잔차 특징을 생성하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
the processor
generating a feature of the first depth resolution by using a first decoder corresponding to a first depth resolution among the depth resolutions;
generating a residual feature of the second depth resolution by using a second decoder corresponding to a second depth resolution among the depth resolutions;
A device that generates a depth image.
제19항에 있어서,
상기 프로세서는
상기 깊이 해상도들 중 제3 깊이 해상도에 대응하는 제3 디코더를 이용하여, 상기 제3 깊이 해상도의 잔차 특징을 생성하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
the processor
generating a residual feature of the third depth resolution by using a third decoder corresponding to a third depth resolution among the depth resolutions;
A device that generates a depth image.
제19항에 있어서,
상기 프로세서는
균일하게 설정된 깊이 간격으로 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성하거나, 또는 간격 증가 이산화(SID) 기법에 기초하여 상이하게 설정된 깊이 간격에 의해 상기 특징을 디코딩 함으로써 상기 깊이 해상도 별 특징을 생성하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
the processor
The feature for each depth resolution is generated by decoding the feature at a uniformly set depth interval, or the feature for each depth resolution is generated by decoding the feature by a depth interval set differently based on an increased spacing discretization (SID) technique. doing,
A device that generates a depth image.
제19항에 있어서,
상기 프로세서는
상기 깊이 해상도들 중 제1 깊이 해상도의 특징에 기초하여, 상기 제1 깊이 해상도의 깊이 범위들에 대응하는 제1 확률 분포를 추정하고, 상기 제1 확률 분포 및 상기 깊이 해상도들 중 제2 깊이 해상도의 잔차 특징에 기초하여, 제2 깊이 해상도의 깊이 범위들에 대응하는 제2 확률 분포를 추정하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
the processor
estimating a first probability distribution corresponding to depth ranges of the first depth resolution based on a characteristic of a first depth resolution among the depth resolutions, and a second depth resolution of the first probability distribution and the depth resolutions estimating a second probability distribution corresponding to depth ranges of the second depth resolution based on the residual feature of
A device that generates a depth image.
제23항에 있어서,
상기 프로세서는
상기 제2 깊이 해상도의 잔차 특징에 의해 상기 제1 확률 분포를 보정함으로써 상기 제2 깊이 해상도의 깊이 범위들에 대응하는 상기 제2 확률 분포를 추정하는,
깊이 영상을 생성하는 장치.
24. The method of claim 23,
the processor
estimating the second probability distribution corresponding to depth ranges of the second depth resolution by correcting the first probability distribution by a residual feature of the second depth resolution;
A device that generates a depth image.
제24항에 있어서,
상기 프로세서는
상기 제1 확률 분포를 업-스케일링하고, 상기 제2 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제1 확률 분포를 보정함으로써 상기 제2 확률 분포를 추정하는,
깊이 영상을 생성하는 장치.
25. The method of claim 24,
the processor
up-scaling the first probability distribution and estimating the second probability distribution by correcting the up-scaled first probability distribution by a residual feature of the second depth resolution;
A device that generates a depth image.
제23항에 있어서,
상기 프로세서는
상기 제2 확률 분포 및 상기 깊이 해상도들 중 제3 깊이 해상도의 잔차 특징에 기초하여, 제3 깊이 해상도의 깊이 범위들에 대응하는 제3 확률 분포를 추정하는,
깊이 영상을 생성하는 장치.
24. The method of claim 23,
the processor
estimating a third probability distribution corresponding to depth ranges of a third depth resolution based on the second probability distribution and a residual feature of a third depth resolution among the depth resolutions;
A device that generates a depth image.
제26항에 있어서,
상기 프로세서는
상기 제3 깊이 해상도의 잔차 특징에 의해 상기 제2 확률 분포를 보정함으로써 상기 제3 깊이 해상도의 깊이 범위들에 대응하는 상기 제3 확률 분포를 추정하는,
깊이 영상을 생성하는 장치.
27. The method of claim 26,
the processor
estimating the third probability distribution corresponding to depth ranges of the third depth resolution by correcting the second probability distribution by a residual feature of the third depth resolution;
A device that generates a depth image.
제27항에 있어서,
상기 프로세서는
상기 제2 확률 분포를 업-스케일링하고, 상기 제3 깊이 해상도의 잔차 특징에 의해 상기 업-스케일링된 제2 확률 분포를 보정함으로써 상기 제3 확률 분포를 추정하는,
깊이 영상을 생성하는 장치.
28. The method of claim 27,
the processor
up-scaling the second probability distribution and estimating the third probability distribution by correcting the up-scaled second probability distribution by a residual feature of the third depth resolution;
A device that generates a depth image.
제19항에 있어서,
상기 프로세서는
상기 최종적으로 추정되는 확률 분포를 상기 타겟 깊이 영상으로 변환하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
the processor
converting the finally estimated probability distribution into the target depth image,
A device that generates a depth image.
제19항에 있어서,
상기 프로세서는
상기 최종적으로 추정되는 확률 분포의 기대 값을 산출하고, 상기 최종적으로 추정되는 확률 분포에 기초하여, 상기 기대 값의 보정 값을 추정하며, 상기 기대 값 및 상기 보정 값에 기초하여, 타겟 깊이 영상을 생성하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
the processor
calculating an expected value of the finally estimated probability distribution, estimating a correction value of the expected value based on the finally estimated probability distribution, and generating a target depth image based on the expected value and the correction value generated,
A device that generates a depth image.
제19항에 있어서,
상기 깊이 해상도들은
제1 깊이 해상도, 제2 깊이 해상도, 및 제3 깊이 해상도 중 적어도 둘을 포함하고,
상기 제1 깊이 해상도는 상기 제2 깊이 해상도에 비해 성긴 값을 가지고, 상기 제2 깊이 해상도는 상기 제1 깊이 해상도에 비해 조밀한 값을 가지며, 상기 제3 깊이 해상도는 상기 제2 깊이 해상도에 비해 조밀한 값을 가지는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
The depth resolutions are
at least two of a first depth resolution, a second depth resolution, and a third depth resolution;
The first depth resolution has a coarse value compared to the second depth resolution, the second depth resolution has a coarse value compared to the first depth resolution, and the third depth resolution has a coarse value compared to the second depth resolution. having a dense value,
A device that generates a depth image.
제19항에 있어서,
상기 프로세서는
상기 입력 영상에 포함된 픽셀들의 깊이 값들의 깊이 범위를 이산화하여 복수 개의 구간들로 분할하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
the processor
dividing a depth range of depth values of pixels included in the input image into a plurality of sections,
A device that generates a depth image.
제19항에 있어서,
상기 통신 인터페이스는
상기 타겟 깊이 영상을 출력하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
The communication interface is
outputting the target depth image,
A device that generates a depth image.
제19항에 있어서,
상기 입력 영상은
단일 컬러 영상, 적외선 영상, 및 깊이 영상 중 적어도 하나를 포함하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
The input image is
comprising at least one of a single color image, an infrared image, and a depth image;
A device that generates a depth image.
제19항에 있어서,
상기 깊이 영상을 생성하는 장치는
스마트 폰(Smartphone), 스마트 TV(Smart-TV), 태블릿(Tablet), 헤드-업 디스프레이(HUD), 3D 디지털 정보 디스플레이(Digital Information Display, DID), 3D 모바일 기기, 및 스마트 차량(Smart Automobile) 중 적어도 하나를 포함하는,
깊이 영상을 생성하는 장치.
20. The method of claim 19,
The apparatus for generating the depth image
Smartphone, Smart-TV, Tablet, Head-up Display (HUD), 3D Digital Information Display (DID), 3D Mobile Device, and Smart Automobile comprising at least one of
A device that generates a depth image.
KR1020200094048A 2020-05-21 2020-07-28 Method and apparatus of generating depth image KR20210144519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/225,574 US20210366139A1 (en) 2020-05-21 2021-04-08 Method and apparatus for generating depth image

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202063028066P 2020-05-21 2020-05-21
US63/028,066 2020-05-21

Publications (1)

Publication Number Publication Date
KR20210144519A true KR20210144519A (en) 2021-11-30

Family

ID=78722646

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200094048A KR20210144519A (en) 2020-05-21 2020-07-28 Method and apparatus of generating depth image

Country Status (1)

Country Link
KR (1) KR20210144519A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023200111A1 (en) * 2022-04-13 2023-10-19 주식회사 뷰웍스 Animal in-vivo imaging device and operating method thereof
WO2023200128A1 (en) * 2022-04-14 2023-10-19 주식회사 메디트 Method, apparatus and recording medium storing commands for processing scanned image of intraoral scanner

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023200111A1 (en) * 2022-04-13 2023-10-19 주식회사 뷰웍스 Animal in-vivo imaging device and operating method thereof
WO2023200128A1 (en) * 2022-04-14 2023-10-19 주식회사 메디트 Method, apparatus and recording medium storing commands for processing scanned image of intraoral scanner
KR20230147285A (en) * 2022-04-14 2023-10-23 주식회사 메디트 Method, apparatus and recording medium storing commands for processing scanned image of intraoral scanner

Similar Documents

Publication Publication Date Title
Liu et al. Automatic building extraction on high-resolution remote sensing imagery using deep convolutional encoder-decoder with spatial pyramid pooling
EP3758359A1 (en) Focusing method and device, electronic device and computer-readable storage medium
EP3757890A1 (en) Method and device for image processing, method and device for training object detection model
US11676023B2 (en) Systems and methods for performing direct conversion of image sensor data to image analytics
CN110674688B (en) Face recognition model acquisition method, system and medium for video monitoring scene
CN111191663B (en) License plate number recognition method and device, electronic equipment and storage medium
US20180231871A1 (en) Depth estimation method for monocular image based on multi-scale CNN and continuous CRF
EP3232371A1 (en) Object recognition method, object recognition device, and classifier training method
US11687773B2 (en) Learning method and recording medium
US11170470B1 (en) Content-adaptive non-uniform image downsampling using predictive auxiliary convolutional neural network
US11257252B2 (en) Image coding apparatus, probability model generating apparatus and image compression system
KR101723738B1 (en) Apparatus and method for resolution enhancement based on dictionary learning
KR20210144519A (en) Method and apparatus of generating depth image
CN116229452B (en) Point cloud three-dimensional target detection method based on improved multi-scale feature fusion
KR20210056149A (en) Depth image generation method and depth image generation apparatus
CN116612468A (en) Three-dimensional target detection method based on multi-mode fusion and depth attention mechanism
KR20220047141A (en) Method and Apparatus for Video Inpainting
US20210366139A1 (en) Method and apparatus for generating depth image
CN113902789A (en) Image feature processing method, depth image generating method, depth image processing apparatus, depth image generating medium, and device
CN110717913B (en) Image segmentation method and device
CN112613373A (en) Image recognition method and device, electronic equipment and computer readable storage medium
CN115909088A (en) Optical remote sensing image target detection method based on super-resolution feature aggregation
US20230325985A1 (en) Systems and methods for inpainting images at increased resolution
WO2022155565A1 (en) Enhancement of coarse resolution imagery using super-resolution and convolution neural networks to be used for fit-for-purpose systematic land titling and land valuation
KR20220046808A (en) Method and Apparatus for Video Inpainting

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal