KR102640283B1 - Apparatus and method for composing three-dimensional image - Google Patents

Apparatus and method for composing three-dimensional image Download PDF

Info

Publication number
KR102640283B1
KR102640283B1 KR1020220054494A KR20220054494A KR102640283B1 KR 102640283 B1 KR102640283 B1 KR 102640283B1 KR 1020220054494 A KR1020220054494 A KR 1020220054494A KR 20220054494 A KR20220054494 A KR 20220054494A KR 102640283 B1 KR102640283 B1 KR 102640283B1
Authority
KR
South Korea
Prior art keywords
inter
distance
axis distance
background
location
Prior art date
Application number
KR1020220054494A
Other languages
Korean (ko)
Other versions
KR20230080285A (en
Inventor
최홍규
송복득
김성훈
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to US17/885,020 priority Critical patent/US20230171389A1/en
Publication of KR20230080285A publication Critical patent/KR20230080285A/en
Application granted granted Critical
Publication of KR102640283B1 publication Critical patent/KR102640283B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/293Generating mixed stereoscopic images; Generating mixed monoscopic and stereoscopic images, e.g. a stereoscopic image overlay window on a monoscopic image background
    • 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/156Mixing image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/246Calibration of cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/275Image signal generators from 3D object models, e.g. computer-generated stereoscopic image signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

입체 영상 합성 장치는 촬영할 배경을 위치별로 모델링하여 각 위치의 배경 모델을 생성하고, 각 위치의 배경 모델에 기초해서 대응하는 위치에서의 카메라의 제1 축간 거리를 설정하고, 제1 축간 거리에 기초해서 카메라가 촬영한 배경의 입체 영상을 획득하고, 촬영될 객체에 해당하는 위치를 선택하고, 선택한 위치에 설정된 제1 축간 거리에 기초해서 제2 축간 거리를 설정하고, 제2 축간 거리에 기초해서 카메라가 촬영한 객체의 입체 영상을 획득하고, 배경의 입체 영상과 객체의 입체 영상을 합성하는 명령어를 포함할 수 있다.The stereoscopic image synthesis device models the background to be photographed for each location, generates a background model for each location, sets the distance between the first axes of the camera at the corresponding location based on the background model at each location, and sets the distance between the first axes of the camera based on the distance between the first axes. Thus, a three-dimensional image of the background captured by the camera is acquired, a position corresponding to the object to be photographed is selected, a second axis distance is set based on the first axis distance set at the selected position, and based on the second axis distance, It may include commands to obtain a three-dimensional image of an object captured by a camera and to combine a three-dimensional image of the background and a three-dimensional image of the object.

Description

입체 영상 합성 장치 및 방법{APPARATUS AND METHOD FOR COMPOSING THREE-DIMENSIONAL IMAGE}Apparatus and method for synthesizing three-dimensional images {APPARATUS AND METHOD FOR COMPOSING THREE-DIMENSIONAL IMAGE}

본 발명은 입체 영상 합성 장치 및 방법에 관한 것이다.The present invention relates to a stereoscopic image synthesis device and method.

사용자들이 온라인상의 콘텐츠에 익숙해지면서 사실과 동일한 형태의 콘텐츠를 요구하고 있다. 이러한 사용자의 요구에 따라, 사실과 흡사한 콘텐츠를 표현하기 위한 홀로그램, 가상 현실(virtual reality, VR), 증강 현실(augmented reality, AR), 혼합 현실(mixed reality, MR), 확장 현실(extended reality, XR) 등의 기술이 제안되고 있다.As users become accustomed to online content, they are demanding content in the same form as the facts. According to these user demands, holograms, virtual reality (VR), augmented reality (AR), mixed reality (MR), and extended reality are used to express content similar to reality. , XR), etc. technologies are being proposed.

특히, 사실과 흡사한 콘텐츠를 제공하기 위해서는 입체 영상을 제작하는 기술이 필요하다. 입체 영상의 제작을 위해 스테레오스코픽(stereoscopic) 3D(three-dimension) 촬영이 사용되지만, 스테레오스코픽 3D 촬영은 2차원 촬영에 비해 복잡하다는 문제점이 있다. 이에 따라, 배경 영상과 객체 영상을 분리하여 촬영한 후에 이들을 결합하는 기술이 제안되었다.In particular, in order to provide content similar to reality, technology for producing three-dimensional images is needed. Stereoscopic 3D (three-dimension) shooting is used to produce three-dimensional images, but stereoscopic 3D shooting has the problem of being more complicated than two-dimensional shooting. Accordingly, a technology was proposed to separate the background image and the object image and then combine them.

그러나 기존의 기술은 배경 영상의 설정 위치에 객체 영상의 크기를 설정된 비율로 확대 또는 축소하여서 합성할 뿐, 입체 영상의 중요한 요소인 입체 값을 고려하지 않아서 위화감 없는 입체 영상을 합성하기 어렵다는 문제점이 있다. However, the existing technology only synthesizes the size of the object image by enlarging or reducing it at a set ratio at the set position of the background image, and does not take into account the stereoscopic value, which is an important element of stereoscopic images, so there is a problem in that it is difficult to synthesize stereoscopic images without discomfort. .

KRKR 10-1392406 10-1392406 B1B1

본 발명의 어떤 실시예는 배경 영상과 객체 영상을 위화감 없이 합성할 수 있는 입체 영상 합성 장치 및 방법을 제공할 수 있다.Certain embodiments of the present invention can provide a stereoscopic image synthesis device and method that can synthesize a background image and an object image without discomfort.

한 실시예에 따르면, 컴퓨팅 장치에 의해 수행되는 입체 영상 합성 방법이 제공될 수 있다. 상기 입체 영상 합성 방법은 촬영될 배경을 위치별로 모델링하여 각 위치의 배경 모델을 생성하는 단계, 각 위치의 상기 배경 모델에 기초해서 대응하는 위치에서의 카메라의 제1 축간 거리를 설정하는 단계, 상기 제1 축간 거리에 기초해서 상기 카메라가 촬영한 상기 배경의 입체 영상을 획득하는 단계, 촬영될 객체에 해당하는 타겟 위치를 선택하는 단계, 상기 타겟 위치에 설정된 상기 제1 축간 거리에 기초해서 상기 타겟 위치에서의 제2 축간 거리를 설정하는 단계, 상기 제2 축간 거리에 기초해서 상기 카메라가 촬영한 상기 객체의 입체 영상을 획득하는 단계, 그리고 상기 배경의 입체 영상과 상기 객체의 입체 영상을 합성하는 단계를 포함할 수 있다.According to one embodiment, a stereoscopic image synthesis method performed by a computing device may be provided. The stereoscopic image synthesis method includes generating a background model for each location by modeling the background to be photographed for each location, setting a distance between the first axes of the camera at the corresponding location based on the background model for each location, Obtaining a three-dimensional image of the background captured by the camera based on the first axis distance, selecting a target position corresponding to the object to be photographed, and selecting the target position based on the first axis distance set at the target position. Setting a second inter-axis distance at a position, obtaining a three-dimensional image of the object captured by the camera based on the second inter-axis distance, and combining the three-dimensional image of the background and the three-dimensional image of the object. May include steps.

어떤 실시예에서, 상기 제1 축간 거리를 설정하는 단계는 상기 카메라의 축간 거리를 변경하는 단계, 상기 변경된 축간 거리에 따른 상기 대응하는 위치에서의 상기 배경 모델의 입체 값을 확인하는 단계, 최적의 입체 값이 확인될 때까지 상기 축간 거리를 변경하는 단계 및 상기 입체 값을 확인하는 단계를 반복하는 단계, 그리고 상기 최적의 입체 값이 확인될 때의 상기 축간 거리를 상기 제1 축간 거리로 설정하는 단계를 포함할 수 있다.In some embodiments, setting the first inter-axis distance includes changing the inter-axis distance of the camera, checking a stereoscopic value of the background model at the corresponding position according to the changed inter-axis distance, and determining an optimal Repeating the steps of changing the inter-axis distance and confirming the stereoscopic value until the stereoscopic value is confirmed, and setting the inter-axial distance when the optimal stereoscopic value is confirmed as the first inter-axial distance. May include steps.

어떤 실시예에서, 상기 입체 영상 합성 방법은 각 위치에서의 상기 제1 축간 거리 및 상기 배경의 입체 영상을 데이터베이스에 저장하는 단계를 더 포함할 수 있다.In some embodiments, the stereoscopic image synthesis method may further include storing the first inter-axis distance at each location and the stereoscopic image of the background in a database.

어떤 실시예에서, 상기 제2 축간 거리를 설정하는 단계는 상기 데이터베이스로부터 상기 설정된 위치에 대응하는 상기 제1 축간 거리를 불러오는 단계를 포함할 수 있다.In some embodiments, setting the distance between the second axes may include loading the distance between the first axes corresponding to the set position from the database.

어떤 실시예에서, 상기 타겟 위치에서의 상기 제2 축간 거리는 상기 타겟 위치에 설정된 상기 제1 축간 거리와 동일할 수 있다.In some embodiments, the second axis-to-axis distance at the target location may be equal to the first axis-to-axis distance set at the target location.

어떤 실시예에서, 상기 제2 축간 거리를 설정하는 단계는 상기 타겟 위치에서의 상기 객체를 모델링하여 객체 모델을 생성하는 단계, 상기 타겟 위치에 설정된 상기 제1 축간 거리에 따른 상기 객체 모델의 입체 값을 확인하는 단계, 그리고 확인 결과에 기초해서 상기 제2 축간 거리를 설정하는 단계를 포함할 수 있다.In some embodiments, setting the second axis-to-axis distance includes generating an object model by modeling the object at the target position, and a three-dimensional value of the object model according to the first axis-to-axis distance set at the target position. It may include confirming and setting the distance between the second axes based on the confirmation result.

상기 확인 결과에 기초해서 상기 제2 축간 거리를 설정하는 단계는 최적의 입체 값이 확인될 때까지 상기 카메라의 축간 거리를 미세 조정하면서 입체 값을 확인하는 동작을 반복하는 단계, 그리고 상기 최적의 입체 값이 확인될 때의 상기 축간 거리를 상기 제2 축간 거리로 설정하는 단계를 포함할 수 있다.The step of setting the second inter-axis distance based on the confirmation result includes repeating the operation of checking the stereoscopic value while finely adjusting the inter-axis distance of the camera until the optimal stereoscopic value is confirmed. It may include setting the distance between axes when the value is confirmed as the second distance between axes.

어떤 실시예에서, 상기 입체 영상 합성 방법은 상기 타겟 위치에서의 상기 제2 축간 거리 및 상기 객체의 입체 영상을 데이터베이스에 저장하는 단계를 더 포함할 수 있다.In some embodiments, the stereoscopic image synthesis method may further include storing the second inter-axis distance at the target location and the stereoscopic image of the object in a database.

본 발명의 다른 실시예에 따르면, 적어도 하나의 명령어를 저장하는 메모리, 그리고 상기 명령어를 실행하는 프로세서를 포함하는 입체 영상 합성 장치가 제공될 수 있다. 상기 명령어를 실행함으로써, 상기 프로세서는 촬영될 배경의 복수의 위치에서의 카메라의 제1 축간 거리를 각각 설정하고, 상기 제1 축간 거리에 기초해서 상기 카메라가 촬영한 상기 배경의 입체 영상을 획득하고, 상기 복수의 위치 중에서 촬영될 객체에 해당하는 타겟 위치를 선택하고, 상기 타겟 위치에 설정된 상기 제1 축간 거리에 기초해서 상기 타겟 위치에서의 제2 축간 거리를 설정하고, 상기 제2 축간 거리에 기초해서 상기 카메라가 촬영한 상기 객체의 입체 영상을 획득하고, 상기 배경의 입체 영상과 상기 객체의 입체 영상을 합성할 수 있다.According to another embodiment of the present invention, a stereoscopic image synthesis device may be provided including a memory storing at least one command, and a processor executing the command. By executing the command, the processor sets the first inter-axis distance of the camera at a plurality of positions of the background to be photographed, and obtains a three-dimensional image of the background captured by the camera based on the first inter-axis distance, , select a target position corresponding to the object to be photographed from among the plurality of positions, set a second axis distance at the target position based on the first axis distance set at the target position, and set the second axis distance at the target position. Based on this, a three-dimensional image of the object captured by the camera can be obtained, and the three-dimensional image of the background and the three-dimensional image of the object can be synthesized.

어떤 실시예에서, 상기 프로세서는 복수의 위치에서 상기 배경을 각각 모델링하여 복수의 배경 모델을 생성하고, 상기 복수의 배경 모델 중에서 각 위치에 해당하는 배경 모델에 기초해서 대응하는 위치에서의 상기 제1 축간 거리를 설정할 수 있다.In some embodiments, the processor generates a plurality of background models by respectively modeling the background at a plurality of positions, and the first model at a corresponding position is based on the background model corresponding to each position among the plurality of background models. You can set the distance between axes.

어떤 실시예에서, 상기 프로세서는 각 위치에서 상기 카메라의 축간 거리에 따른 상기 대응하는 위치에서의 상기 배경 모델의 입체 값을 확인하고, 최적의 입체 값이 확인될 때까지 상기 축간 거리를 변경하는 동작을 반복하고, 상기 최적의 입체 값이 확인될 때의 상기 축간 거리를 상기 제1 축간 거리로 설정할 수 있다.In some embodiments, the processor checks the stereoscopic value of the background model at the corresponding location according to the inter-axial distance of the camera at each location, and changes the inter-axial distance until the optimal stereoscopic value is confirmed. may be repeated, and the inter-axis distance when the optimal stereoscopic value is confirmed may be set as the first inter-axis distance.

어떤 실시예에서, 상기 프로세서는 상기 타겟 위치에서의 상기 객체를 모델링하여 객체 모델을 생성하고, 상기 타겟 위치에 설정된 상기 제1 축간 거리 및 상기 객체 모델에 기초해서 상기 타겟 위치에서의 상기 제2 축간 거리를 설정할 수 있다.In some embodiments, the processor generates an object model by modeling the object at the target location, and generates the second inter-axis distance at the target location based on the first inter-axis distance set at the target location and the object model. You can set the distance.

어떤 실시예에서, 상기 프로세서는 상기 타겟 위치에서 상기 카메라의 축간 거리에 따른 상기 타겟 위치에서의 상기 객체 모델의 입체 값을 확인하고, 최적의 입체 값이 확인될 때까지 상기 축간 거리를 미세 조정하는 동작을 반복하고, 상기 최적의 입체 값이 확인될 때의 상기 축간 거리를 상기 제2 축간 거리로 설정할 수 있다.In some embodiments, the processor determines the stereoscopic value of the object model at the target location according to the inter-axial distance of the camera at the target location, and finely adjusts the inter-axial distance until the optimal stereoscopic value is confirmed. The operation may be repeated, and the distance between axes when the optimal stereoscopic value is confirmed may be set as the second distance between axes.

본 발명의 또 다른 실시예에 따르면, 컴퓨팅 장치에 의해 수행되는 입체 영상 합성 방법이 제공될 수 있다. 상기 입체 영상 합성 방법은 촬영될 배경의 복수의 위치에서의 카메라의 제1 축간 거리를 각각 설정하는 단계, 상기 복수의 위치 중에서 촬영될 객체에 해당하는 타겟 위치를 선택하는 단계, 상기 타겟 위치에 설정된 상기 제1 축간 거리에 기초해서 상기 타겟 위치에서의 제2 축간 거리를 설정하는 단계, 그리고 상기 제1 축간 거리에 기초해서 상기 카메라가 촬영한 상기 배경의 입체 영상과 상기 제2 축간 거리에 기초해서 상기 카메라가 촬영한 상기 객체의 입체 영상을 합성하는 단계를 포함할 수 있다.According to another embodiment of the present invention, a stereoscopic image synthesis method performed by a computing device may be provided. The stereoscopic image synthesis method includes the steps of setting the distance between the first axes of the camera at a plurality of positions of the background to be photographed, selecting a target position corresponding to the object to be photographed from among the plurality of positions, and setting a target position at the target position. Setting a second inter-axis distance at the target location based on the first inter-axis distance, and based on the three-dimensional image of the background captured by the camera based on the first inter-axis distance and the second inter-axis distance It may include synthesizing a three-dimensional image of the object captured by the camera.

도 1은 본 발명의 한 실시예에 따른 입체 영상 합성 시스템의 한 예를 나타내는 도면이다.
도 2는 카메라의 축간 거리와 입체값 사이의 관계를 설명하는 도면이다.
도 3은 본 발명의 한 실시예에 따른 입체 영상 합성 방법의 한 예를 나타내는 흐름도이다.
도 4는 본 발명의 한 실시예에 따른 입체 영상 합성 방법에서 입체 공간 생성의 한 예를 설명하는 도면이다.
도 5는 본 발명의 한 실시예에 따른 입체 영상 합성 방법에서 입체 객체 생성의 한 예를 설명하는 도면이다.
도 6는 본 발명의 한 실시예에 따른 입체 영상 합성 방법에서 입체 영상 합성의 한 예를 설명하는 도면이다.
도 7은 본 발명의 한 실시예에 따른 컴퓨팅 장치의 한 예를 나타내는 도면이다.
1 is a diagram showing an example of a stereoscopic image synthesis system according to an embodiment of the present invention.
Figure 2 is a diagram explaining the relationship between the inter-axis distance of the camera and the stereoscopic value.
Figure 3 is a flowchart showing an example of a stereoscopic image synthesis method according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating an example of stereoscopic space creation in a stereoscopic image synthesis method according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating an example of creating a three-dimensional object in a three-dimensional image synthesis method according to an embodiment of the present invention.
FIG. 6 is a diagram illustrating an example of stereoscopic image synthesis in the stereoscopic image synthesis method according to an embodiment of the present invention.
Figure 7 is a diagram showing an example of a computing device according to an embodiment of the present invention.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Below, with reference to the attached drawings, embodiments of the present invention will be described in detail so that those skilled in the art can easily implement the present invention. However, the present invention may be implemented in many different forms and is not limited to the embodiments described herein. In order to clearly explain the present invention in the drawings, parts that are not related to the description are omitted, and similar parts are given similar reference numerals throughout the specification.

아래 설명에서 단수로 기재된 표현은 "하나" 또는 "단일" 등의 명시적인 표현을 사용하지 않은 이상, 단수 또는 복수로 해석될 수 있다.In the description below, expressions described as singular may be interpreted as singular or plural, unless explicit expressions such as “one” or “single” are used.

도면을 참고하여 설명한 흐름도에서, 동작 순서는 변경될 수 있고, 여러 동작들이 병합되거나, 어느 동작이 분할될 수 있고, 특정 동작은 수행되지 않을 수 있다.In the flowchart described with reference to the drawings, the order of operations may be changed, several operations may be merged, certain operations may be divided, and certain operations may not be performed.

도 1은 본 발명의 한 실시예에 따른 입체 영상 합성 시스템의 한 예를 나타내는 도면이다.1 is a diagram showing an example of a stereoscopic image synthesis system according to an embodiment of the present invention.

도 1을 참고하면, 입체 영상 합성 시스템은 입체 영상 합성 장치(100) 및 카메라(10)를 포함한다.Referring to FIG. 1, the stereoscopic image synthesis system includes a stereoscopic image synthesis device 100 and a camera 10.

카메라(10)는 입체 영상을 촬영할 수 있는 카메라이다. 어떤 실시예에서, 카메라는 스테레오스코픽 3D 촬영이 가능한 카메라일 수 있다.The camera 10 is a camera capable of shooting three-dimensional images. In some embodiments, the camera may be a camera capable of stereoscopic 3D shooting.

입체 영상 합성 장치(100)는 카메라(10)에서 촬영된 배경 영상과 객체 영상을 합성하여 입체 영상을 생성한다. 입체 영상 합성 장치(100)는 배경 데이터 생성부(110), 객체 데이터 생성부(120), 데이터베이스(130) 및 합성부(140)를 포함한다. 어떤 실시예에서, 입체 영상 합성 장치(100)는 컴퓨팅 장치에 의해 구현될 수 있다.The stereoscopic image synthesis device 100 generates a stereoscopic image by combining a background image and an object image captured by the camera 10. The stereoscopic image synthesis apparatus 100 includes a background data generation unit 110, an object data generation unit 120, a database 130, and a synthesis unit 140. In some embodiments, the stereoscopic image synthesis device 100 may be implemented by a computing device.

배경 데이터 생성부(110)는 촬영할 입체 공간(배경)을 위치별로 분할하고, 각 위치에서 입체 값을 확인하면서 최적의 축간 거리(inter-axial distance, IAD)를 설정한다. 각 위치에서의 배경의 입체 영상을 얻기 위해, 카메라(10)의 축간 거리를 해당 위치에서의 최적의 축간 거리로 설정하고, 카메라(10)가 촬영한 배경의 입체 영상을 획득한다. 배경 데이터 생성부(110)는 각 위치에서의 최적의 축간 거리와 배경의 입체 영상을 데이터베이스(130)에 저장한다. 배경 데이터 생성부(110)는 배경이 분할된 복수의 위치에 대해서 이러한 동작을 반복할 수 있다.The background data generator 110 divides the three-dimensional space (background) to be photographed by location, checks the three-dimensional value at each location, and sets the optimal inter-axial distance (IAD). In order to obtain a three-dimensional image of the background at each location, the inter-axis distance of the camera 10 is set to the optimal inter-axis distance at the corresponding location, and a three-dimensional image of the background captured by the camera 10 is acquired. The background data generator 110 stores the optimal inter-axis distance at each location and the three-dimensional image of the background in the database 130. The background data generator 110 may repeat this operation for a plurality of positions where the background is divided.

객체 데이터 생성부(120)는 촬영될 객체에 해당하는 위치를 선택하고, 데이터베이스(130)로부터 선택한 위치에서의 최적의 축간 거리를 불러온다. 객체 데이터 생성부(120)는 선택한 위치에서의 최적의 축간 거리에 기초해서 객체용 축간 거리를 설정하고, 카메라(10)의 축간 거리를 객체용 축간 거리로 설정하고, 카메라(10)가 촬영한 객체의 입체 영상을 획득한다. 어떤 실시예에서, 카메라(10)는 크로마키(chroma-key) 기법으로 객체를 촬영할 수 있다. 객체 데이터 생성부(120)는 선택한 위치에서의 객체용 축간 거리와 객체의 입체 영상을 데이터베이스(130)에 저장한다. 객체 데이터 생성부(110)는 촬영될 복수의 객체에 대해서 이러한 동작을 반복할 수 있다.The object data generator 120 selects a location corresponding to the object to be photographed and retrieves the optimal inter-axis distance at the selected location from the database 130. The object data generator 120 sets the inter-axis distance for the object based on the optimal inter-axis distance at the selected position, sets the inter-axis distance of the camera 10 as the inter-axis distance for the object, and sets the inter-axis distance for the object. Acquire a three-dimensional image of the object. In some embodiments, the camera 10 may photograph an object using a chroma-key technique. The object data generator 120 stores the inter-axis distance for the object at the selected location and the three-dimensional image of the object in the database 130. The object data generator 110 may repeat this operation for a plurality of objects to be photographed.

합성부(140)는 배경 데이터 생성부(110)에서 생성한 배경의 입체 영상과 객체 데이터 생성부(120)에서 생성한 객체의 입체 영상을 데이터베이스(130)로부터 불러오고, 배경의 입체 영상과 객체의 입체 영상을 합성하여 최종 입체 영상을 생성한다.The synthesis unit 140 loads the three-dimensional image of the background generated by the background data generating unit 110 and the three-dimensional image of the object generated by the object data generating unit 120 from the database 130, and retrieves the three-dimensional image of the background and the object generated by the background data generating unit 110. The three-dimensional images are synthesized to create the final three-dimensional image.

도 2는 카메라의 축간 거리와 입체값 사이의 관계를 설명하는 도면이다.Figure 2 is a diagram explaining the relationship between the inter-axis distance of the camera and the stereoscopic value.

일반적으로, 사람이 무엇인가를 볼 때 왼쪽과 오른쪽 눈의 간격으로 인해 차이가 있는 이미지를 보게 되며, 이 시각적인 차이가 3차원 효과(입체감)를 만들어 낸다. 입체감이 나타나는 요인은 두 눈의 거리에 따른 양안 시차(binocular parallax), 양안의 폭주각(binocular convergence), 초점 조절, 운동 시차 및 심리적인 요인 등이 있다. 이 경우, 양안 시차는 카메라의 축간 거리에 대응할 수 있다.Generally, when a person looks at something, he or she sees a different image due to the gap between the left and right eyes, and this visual difference creates a three-dimensional effect. Factors that cause a three-dimensional effect include binocular parallax depending on the distance between the eyes, binocular convergence, focus control, motion parallax, and psychological factors. In this case, binocular parallax may correspond to the inter-axial distance of the camera.

도 2를 참고하면, 눈(210, 220)의 간격(또는 양안 시차)에 대응하는 카메라의 축간 거리에 따른 입체 값을 계산하여 화면(230)에서 원하는 사물(240)이 화면(230)을 기준으로 앞으로 도출되거나 화면(230)을 기준으로 들어가는 입체 영상을 획득할 수 있다. 어떤 실시예에서, 입체 값은 깊이(depth)를 포함할 수 있다.Referring to FIG. 2, the stereoscopic value is calculated according to the inter-axis distance of the camera corresponding to the spacing (or binocular parallax) of the eyes 210 and 220, and the desired object 240 on the screen 230 is based on the screen 230. A three-dimensional image can be obtained in the future or based on the screen 230. In some embodiments, the stereoscopic value may include depth.

이 경우, 입체 값(ZV)은 양안 시차(te), 눈(210)에서 화면(230)까지의 거리(ZD) 및 화면(230)에 표현되는 객체(240)의 크기(P)에 의해 정의되고, 양안 시차(te)는 카메라의 축간 거리로 대체될 수 있다. 예를 들면, 입체 값(ZV)은 수학식 1과 같이 정의될 수 있다.In this case, the stereoscopic value (Z V ) is binocular disparity (t e ), the distance from the eye 210 to the screen 230 (Z D ), and the size of the object 240 represented on the screen 230 (P). is defined by, and binocular disparity (t e ) can be replaced by the inter-axis distance of the camera. For example, the three-dimensional value (Z V ) can be defined as Equation 1.

따라서, 축간 거리에 따른 입체 값이 계산될 수 있으므로, 축간 거리를 설정함으로써 객체(240)가 화면(230)을 기준으로 들어가는 영상(입체 값이 양의 값) 또는 화면을 기준으로 나오는 영상(입체 값이 음의 값)을 획득할 수 있다. 아래에서는 축간 거리에 기초해서 입체 영상을 합성하는 방법에 대해서 도 3 내지 도 6을 참고로 하여 설명한다.Therefore, since the stereoscopic value can be calculated according to the distance between axes, by setting the distance between axes, the image in which the object 240 enters based on the screen 230 (stereoscopic value is a positive value) or the image coming out based on the screen (stereoscopic value) A negative value) can be obtained. Below, a method of synthesizing a three-dimensional image based on the inter-axis distance will be described with reference to FIGS. 3 to 6.

도 3은 본 발명의 한 실시예에 따른 입체 영상 합성 방법의 한 예를 나타내는 흐름도이다. 도 4는 본 발명의 한 실시예에 따른 입체 영상 합성 방법에서 입체 공간 생성의 한 예를 설명하는 도면이며, 도 5는 본 발명의 한 실시예에 따른 입체 영상 합성 방법에서 입체 객체 생성의 한 예를 설명하는 도면이며, 도 6는 본 발명의 한 실시예에 따른 입체 영상 합성 방법에서 입체 영상 합성의 한 예를 설명하는 도면이다.Figure 3 is a flowchart showing an example of a stereoscopic image synthesis method according to an embodiment of the present invention. FIG. 4 is a diagram illustrating an example of stereoscopic space creation in a stereoscopic image synthesis method according to an embodiment of the present invention, and FIG. 5 is an example of stereoscopic object creation in a stereoscopic image synthesis method according to an embodiment of the present invention. 6 is a diagram illustrating an example of stereoscopic image synthesis in the stereoscopic image synthesis method according to an embodiment of the present invention.

도 3 및 도 4를 참고하면, 입체 영상 합성 장치는 촬영할 공간의 배경의 입체 영상 및 위치별 축간 거리를 획득한다. 구체적으로, 입체 영상 합성 장치는 배경을 위치별로 분할하고, 위치별로 배경의 입체 영상을 모델링한다(S311). 어떤 실시예에서, 입체 영상 합성 장치는 주지의 입체 모델링 알고리즘 또는 프로그램을 사용하여 입체 영상을 모델링할 수 있다. 예를 들면, 입체 영상 합성 장치는 상용 입체 모델링 프로그램인 3D MAX를 사용해서 입체 영상을 모델링할 수 있다.Referring to Figures 3 and 4, the stereoscopic image synthesis device obtains a stereoscopic image of the background of the space to be captured and the inter-axis distance for each location. Specifically, the stereoscopic image synthesis device divides the background by location and models the stereoscopic image of the background for each location (S311). In some embodiments, a stereoscopic image synthesis device may model a stereoscopic image using a well-known stereoscopic modeling algorithm or program. For example, a stereoscopic image synthesis device can model stereoscopic images using 3D MAX, a commercial stereoscopic modeling program.

입체 영상 합성 장치는 각 위치의 배경 모델에 임의의 축간 거리를 설정하고(S312), 설정한 축간 거리에 따른 해당 위치에서의 배경 모델의 입체 값을 확인한다(S313). 입체 영상 합성 장치는 최적의 입체 값이 확인될 때까지 축간 거리를 변경하면서 입체 값을 확인하는 동작을 반복할 수 있다(S314). 어떤 실시예에서, 입체 영상 합성 장치는 축간 거리의 최소 값을 축간 거리의 초기 값으로 설정한 후에, 축간 거리를 증가시키면서 입체 값을 확인하는 동작을 반복할 수 있다. 어떤 실시예에서, 입체 영상 합성 장치는 축간 거리의 최대 값을 축간 거리의 초기 값으로 설정한 후에, 축간 거리를 감소시키면서 입체 값을 확인하는 동작을 반복할 수 있다. 이에 따라, 입체 영상 합성 장치는 위치별로 최적화된 축간 거리 및 입체 공간(즉, 입체 배경 모델)을 획득할 수 있다.The stereoscopic image synthesis device sets a random inter-axis distance to the background model at each location (S312) and checks the stereoscopic value of the background model at that location according to the set inter-axis distance (S313). The stereoscopic image synthesis device may repeat the operation of checking the stereoscopic value while changing the distance between axes until the optimal stereoscopic value is confirmed (S314). In some embodiments, the stereoscopic image synthesis device may set the minimum value of the inter-axis distance as the initial value of the inter-axis distance and then repeat the operation of checking the stereoscopic value while increasing the inter-axis distance. In some embodiments, the stereoscopic image synthesis device may set the maximum value of the inter-axis distance as the initial value of the inter-axis distance and then repeat the operation of checking the stereoscopic value while decreasing the inter-axis distance. Accordingly, the stereoscopic image synthesis device can obtain the inter-axis distance and stereoscopic space (i.e., stereoscopic background model) optimized for each location.

입체 영상 합성 장치는 모든 위치의 배경 모델에 대해서 최적의 축간 거리를 설정한 후에, 최적의 축간 거리에 기초해서 촬영된 배경의 입체 영상을 획득한다(S315). 어떤 실시예에서, 입체 영상 합성 장치는 최적의 입체 값이 확인될 때의 축간 거리를 최적의 축간 거리로 설정할 수 있다. 어떤 실시예에서, 입체 영상 합성 장치는 카메라의 축간 거리를 최적의 축간 거리로 설정하고, 카메라에 의해 촬영된 배경의 입체 영상을 카메라로부터 획득할 수 있다. 입체 영상 합성 장치는 각 위치에서의 최적의 축간 거리 및 촬영된 배경의 입체 영상 데이터를 데이터베이스에 저장한다(S316).The stereoscopic image synthesis device sets the optimal axis-to-axis distance for the background model at all locations and then acquires a stereoscopic image of the background captured based on the optimal axis-to-axis distance (S315). In some embodiments, the stereoscopic image synthesis device may set the inter-axis distance when the optimal stereoscopic value is confirmed as the optimal inter-axis distance. In some embodiments, the stereoscopic image synthesis device may set the inter-axis distance of the camera to the optimal inter-axis distance and obtain a stereoscopic image of the background captured by the camera from the camera. The stereoscopic image synthesis device stores the optimal inter-axis distance at each location and stereoscopic image data of the photographed background in the database (S316).

이러한 과정을 통해서, 입체 영상 합성 장치는 입체 값을 가장 잘 나타낼 수 있는 위치별 축간 거리와 입체 값이 가장 잘 나타난 배경 화면의 입체 영상을 획득할 수 있다.Through this process, the stereoscopic image synthesis device can obtain a stereoscopic image of the background screen that best represents the inter-axis distance and stereoscopic value for each position that can best represent the stereoscopic value.

도 3 및 도 5를 참고하면, 입체 영상 합성 장치는 데이터베이스에 저장된 각 위치의 축간 거리에 기초해서 객체 영상을 획득한다. 구체적으로, 입체 영상 합성 장치는 촬영될 객체에 해당하는 위치를 선택한다(S321). 입체 영상 합성 장치는 선택한 위치에 해당하는 축간 거리를 데이터베이스로부터 불러온다(S322). 입체 영상 합성 장치는 데이터베이스로부터 불러온 축간 거리에 기초해서 객체용 축간 거리를 결정하고(S323-S325), 객체용 축간 거리에 기초해서 촬영된 객체의 입체 영상을 획득한다(S326). 어떤 실시예에서, 입체 영상 합성 장치는 카메라의 축간 거리를 객체용 축간 거리로 설정하고, 카메라에 의해 촬영된 객체의 입체 영상을 카메라로부터 획득할 수 있다. 입체 영상 합성 장치는 각 위치에 해당하는 객체의 입체 영상을 데이터베이스에 저장한다(S327).Referring to Figures 3 and 5, the stereoscopic image synthesis device acquires an object image based on the inter-axis distance of each position stored in the database. Specifically, the stereoscopic image synthesis device selects a location corresponding to the object to be photographed (S321). The stereoscopic image synthesis device retrieves the inter-axis distance corresponding to the selected position from the database (S322). The stereoscopic image synthesis device determines the inter-axis distance for the object based on the inter-axis distance retrieved from the database (S323-S325) and acquires a stereoscopic image of the photographed object based on the inter-axis distance for the object (S326). In some embodiments, the stereoscopic image synthesis device may set the inter-axial distance of the camera to the inter-axial distance for the object and obtain a stereoscopic image of the object captured by the camera from the camera. The stereoscopic image synthesis device stores the stereoscopic image of the object corresponding to each location in the database (S327).

어떤 실시예에서, 객체용 축간 거리는 데이터베이스로부터 불러온 축간 거리와 동일할 수 있다. 어떤 실시예에서, 입체 영상 합성 장치는 데이터베이스로부터 불러온 축간 거리에 기초해서 객체용 축간 거리를 설정할 수 있다. 어떤 실시예에서, 선택한 위치에서 객체를 모델링하고, 데이터베이스로부터 불러온 축간 거리에 따른 해당 위치에서의 객체 모델의 입체 값을 확인할 수 있다(S323). 입체 영상 합성 장치는 최적의 입체 값이 확인될 때까지 축간 거리를 미세 조정하면서 입체 값을 확인하는 동작을 반복할 수 있다(S324, S325). 이러한 과정의 반복을 통해 입체 영상 합성 장치는 해당 위치의 객체의 최적의 축간 거리(객체용 축간 거리) 및 최적화된 입체 객체 모델을 설정할 수 있다. 어떤 실시예에서, 입체 영상 합성 장치는 최적의 입체 값이 확인될 때의 축간 거리를 최적의 객체용 축간 거리로 설정할 수 있다. 입체 영상 합성 장치는 각 위치에 해당하는 객체용 축간 거리를 데이터베이스에 저장할 수 있다(S327).In some embodiments, the axis distance for an object may be the same as the axis distance retrieved from the database. In some embodiments, the stereoscopic image synthesis device may set an inter-axis distance for an object based on an inter-axis distance retrieved from a database. In some embodiments, an object can be modeled at a selected location, and the three-dimensional value of the object model at that location according to the inter-axis distance retrieved from the database can be checked (S323). The stereoscopic image synthesis device may repeat the operation of checking the stereoscopic value while finely adjusting the distance between axes until the optimal stereoscopic value is confirmed (S324, S325). Through repetition of this process, the stereoscopic image synthesis device can set the optimal inter-axis distance (inter-axial distance for the object) of the object at the corresponding location and an optimized stereoscopic object model. In some embodiments, the stereoscopic image synthesis device may set the inter-axis distance when the optimal stereoscopic value is confirmed as the optimal inter-axis distance for the object. The stereoscopic image synthesis device can store the inter-axis distance for objects corresponding to each position in the database (S327).

도 3 및 도 6을 참고하면, 입체 영상 합성 장치는 위치를 선택하고, 데이터베이스에 저장된 선택한 위치에 해당하는 배경의 입체 영상과 객체의 입체 영상을 합성한다(S331). 입체 영상 합성 장치는 복수의 위치에 대해서 배경의 입체 영상과 객체의 입체 영상을 합성하는 과정을 반복하여서 최종 입체 영상을 획득한다(S333). 어떤 실시예에서, 입체 영상 합성 장치는 배경의 입체 영상과 객체의 입체 영상을 합성할 때, 배경의 입체 영상과 객체의 입체 영상의 입체 값을 다시 확인할 수 있다(S332).Referring to FIGS. 3 and 6, the stereoscopic image synthesis device selects a location and synthesizes a stereoscopic image of the background and a stereoscopic image of the object corresponding to the selected location stored in the database (S331). The stereoscopic image synthesis device obtains the final stereoscopic image by repeating the process of synthesizing the stereoscopic image of the background and the stereoscopic image of the object for a plurality of positions (S333). In some embodiments, when the stereoscopic image synthesis device synthesizes the stereoscopic image of the background and the stereoscopic image of the object, the stereoscopic value of the stereoscopic image of the background and the stereoscopic image of the object may be re-checked (S332).

이러한 과정을 통해서, 입체 값에서 위화감 없는 입체 영상이 생성될 수 있다. 또한, 위치별로 최적의 카메라의 축간 거리를 설정할 수 있으므로, 실제 촬영 환경에서 촬영 변수의 설정을 최소화할 수 있다. 따라서, 입체 영상의 전문 제작자뿐만 아니라 일반인도 쉽게 입체 영상 콘텐츠를 생성할 수 있다. 예를 들면, 공연장의 입체 영상과 공연의 입체 영상을 합성함으로써 사용자가 선택한 공연장에서 사용자가 원하는 공연이 재생되는 입체 영상이 생성될 수 있다.Through this process, a three-dimensional image can be created without any discomfort in stereoscopic values. Additionally, since the optimal camera axis distance can be set for each location, the settings of shooting variables can be minimized in an actual shooting environment. Therefore, not only professional producers of 3D video but also ordinary people can easily create 3D video content. For example, by combining a three-dimensional image of a performance hall and a three-dimensional image of a performance, a three-dimensional image of the performance desired by the user can be generated at the performance hall selected by the user.

다음, 본 발명의 한 실시예에 따른 입체 영상 합성 장치 또는 입체 영상 합성 방법을 구현할 수 있는 예시적인 컴퓨팅 장치에 대하여 도 7을 참고로 하여 설명한다.Next, an exemplary computing device capable of implementing a stereoscopic image synthesis device or a stereoscopic image synthesis method according to an embodiment of the present invention will be described with reference to FIG. 7.

도 7은 본 발명의 한 실시예에 따른 컴퓨팅 장치의 한 예를 나타내는 도면이다.Figure 7 is a diagram showing an example of a computing device according to an embodiment of the present invention.

도 7을 참고하면, 컴퓨팅 장치는 프로세서(710), 메모리(720), 저장 장치(730), 통신 인터페이스(740) 및 버스(750)를 포함한다. 컴퓨팅 장치는 다른 범용적인 구성 요소를 더 포함할 수 있다.Referring to FIG. 7 , the computing device includes a processor 710, memory 720, storage device 730, communication interface 740, and bus 750. The computing device may further include other general purpose components.

프로세서(710)는 컴퓨팅 장치의 각 구성의 전반적인 동작을 제어한다. 프로세서(710)는 CPU(central processing unit), MPU(microprocessor unit), MCU(micro controller unit), GPU(graphic processing unit) 등의 다양한 프로세싱 유닛 중 적어도 하나로 구현될 수 있으며, 병렬 프로세싱 유닛으로 구현될 수도 있다. 또한, 프로세서(710)는 위에서 설명한 입체 영상 합성 방법을 실행하기 위한 프로그램에 대한 연산을 수행할 수 있다.The processor 710 controls the overall operation of each component of the computing device. The processor 710 may be implemented as at least one of various processing units such as a central processing unit (CPU), microprocessor unit (MPU), micro controller unit (MCU), and graphic processing unit (GPU), and may be implemented as a parallel processing unit. It may be possible. Additionally, the processor 710 may perform operations on a program for executing the stereoscopic image synthesis method described above.

메모리(720)는 각종 데이터, 명령 및/또는 정보를 저장한다. 메모리(720)는 위에서 설명한 입체 영상 합성 방법을 실행하기 위하여 저장 장치(730)로부터 컴퓨터 프로그램을 로드할 수 있다. 저장 장치(730)는 프로그램을 비임시적으로 저장할 수 있다. 저장 장치(730)는 비휘발성 메모리로 구현될 수 있다. 저장 장치(730)는 데이터베이스를 저장할 수 있다.The memory 720 stores various data, commands and/or information. The memory 720 may load a computer program from the storage device 730 to execute the stereoscopic image synthesis method described above. The storage device 730 can store programs non-temporarily. The storage device 730 may be implemented as non-volatile memory. The storage device 730 may store a database.

통신 인터페이스(740)는 컴퓨팅 장치의 무선 통신을 지원한다.Communication interface 740 supports wireless communication of the computing device.

버스(750)는 컴퓨팅 장치의 구성 요소간 통신 기능을 제공한다. 버스(750)는 주소 버스(address bus), 데이터 버스(data bus) 및 제어 버스(control bus) 등 다양한 형태의 버스로 구현될 수 있다.Bus 750 provides communication functionality between components of a computing device. The bus 750 may be implemented as various types of buses, such as an address bus, a data bus, and a control bus.

컴퓨터 프로그램은 메모리(720)에 로드될 때 프로세서(710)로 하여금 입체 영상 합성 방법을 수행하도록 하는 명령어(instructions)를 포함할 수 있다. 즉, 프로세서(710)는 명령어를 실행함으로써, 입체 영상 합성 방법을 수행할 수 있다.When loaded into the memory 720, the computer program may include instructions that cause the processor 710 to perform a stereoscopic image synthesis method. That is, the processor 710 can perform the stereoscopic image synthesis method by executing the command.

위에서 설명한 입체 영상 합성 방법은 컴퓨터가 읽을 수 있는 매체 상에 컴퓨터가 읽을 수 있는 컴퓨터 프로그램으로 구현될 수 있다. 한 실시예에서, 컴퓨터가 읽을 수 있는 매체는 이동형 기록 매체이거나 고정식 기록 매체일 수 있다. 다른 실시예에서, 컴퓨터가 읽을 수 있는 매체에 기록된 컴퓨터 프로그램은 인터넷 등의 네트워크를 통하여 다른 컴퓨팅 장치에 전송되어 다른 컴퓨팅 장치에 설치되어 실행될 수 있다.The stereoscopic image synthesis method described above can be implemented as a computer-readable computer program on a computer-readable medium. In one embodiment, the computer-readable medium may be a removable or non-removable recording medium. In another embodiment, a computer program recorded on a computer-readable medium may be transmitted to another computing device through a network such as the Internet, and may be installed and executed on the other computing device.

어떤 실시예에서, 컴퓨터 프로그램은 촬영할 배경을 위치별로 모델링하여 각 위치의 배경 모델을 생성하고, 각 위치의 상기 배경 모델에 기초해서 대응하는 위치에서의 카메라의 제1 축간 거리를 설정하고, 상기 제1 축간 거리에 기초해서 상기 카메라가 촬영한 상기 배경의 입체 영상을 획득하고, 촬영될 객체에 해당하는 위치를 선택하고, 상기 선택한 위치에 설정된 상기 제1 축간 거리에 기초해서 제2 축간 거리를 설정하고, 상기 제2 축간 거리에 기초해서 상기 카메라가 촬영한 상기 객체의 입체 영상을 획득하고, 상기 배경의 입체 영상과 상기 객체의 입체 영상을 합성하는 명령어를 포함할 수 있다.In some embodiments, the computer program models the background to be photographed for each location, generates a background model for each location, sets a first axis distance of the camera at the corresponding location based on the background model at each location, and sets the first axis distance of the camera at the corresponding location. 1 Obtain a three-dimensional image of the background captured by the camera based on the inter-axis distance, select a location corresponding to the object to be photographed, and set a second inter-axis distance based on the first inter-axis distance set at the selected location. and may include instructions for obtaining a three-dimensional image of the object captured by the camera based on the second inter-axis distance and synthesizing the three-dimensional image of the background and the three-dimensional image of the object.

이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements made by those skilled in the art using the basic concept of the present invention defined in the following claims are also possible. It falls within the scope of rights.

Claims (14)

컴퓨팅 장치에 의해 수행되는 입체 영상 합성 방법으로서,
촬영될 배경을 위치별로 분할하고, 상기 위치별로 배경의 입체 영상을 모델링하여 각 위치의 배경 모델을 생성하는 단계,
각 위치의 상기 배경 모델에 기초해서 대응하는 위치에서의 카메라의 제1 축간 거리를 설정하는 단계,
상기 제1 축간 거리에 기초해서 상기 카메라가 촬영한 상기 배경의 입체 영상을 획득하는 단계,
촬영될 객체에 해당하는 타겟 위치를 선택하는 단계,
상기 타겟 위치에 설정된 상기 제1 축간 거리에 기초해서 상기 타겟 위치에서의 제2 축간 거리를 설정하는 단계,
상기 제2 축간 거리에 기초해서 상기 카메라가 촬영한 상기 객체의 입체 영상을 획득하는 단계, 그리고
상기 배경의 입체 영상과 상기 객체의 입체 영상을 합성하는 단계
를 포함하는 입체 영상 합성 방법.
A stereoscopic image synthesis method performed by a computing device, comprising:
Creating a background model for each location by dividing the background to be photographed by location and modeling a three-dimensional image of the background for each location;
setting a first inter-axis distance of the camera at a corresponding location based on the background model at each location;
Obtaining a three-dimensional image of the background captured by the camera based on the first axis distance,
Selecting a target location corresponding to the object to be photographed,
Setting a second inter-axis distance at the target position based on the first inter-axis distance set at the target position,
Obtaining a three-dimensional image of the object captured by the camera based on the second inter-axis distance, and
Combining the three-dimensional image of the background and the three-dimensional image of the object
A stereoscopic image synthesis method comprising:
제1항에서,
상기 제1 축간 거리를 설정하는 단계는
상기 카메라의 축간 거리를 변경하는 단계,
상기 변경된 축간 거리에 따른 상기 대응하는 위치에서의 상기 배경 모델의 입체 값을 확인하는 단계,
특정 입체 값이 확인될 때까지 상기 축간 거리를 변경하는 단계 및 상기 입체 값을 확인하는 단계를 반복하는 단계, 그리고
상기 특정 입체 값이 확인될 때의 상기 축간 거리를 상기 제1 축간 거리로 설정하는 단계
를 포함하는 입체 영상 합성 방법.
In paragraph 1:
The step of setting the distance between the first axes is
Changing the inter-axis distance of the camera,
Confirming the three-dimensional value of the background model at the corresponding position according to the changed inter-axis distance,
repeating the steps of changing the inter-axial distance and confirming the stereoscopic value until a specific stereoscopic value is confirmed; and
Setting the inter-axis distance when the specific stereoscopic value is confirmed as the first inter-axis distance
A stereoscopic image synthesis method comprising:
제1항에서,
각 위치에서의 상기 제1 축간 거리 및 상기 배경의 입체 영상을 데이터베이스에 저장하는 단계를 더 포함하는 입체 영상 합성 방법.
In paragraph 1:
A stereoscopic image synthesis method further comprising storing the first inter-axis distance and the stereoscopic image of the background at each position in a database.
제3항에서,
상기 제2 축간 거리를 설정하는 단계는 상기 데이터베이스로부터 상기 설정된 위치에 대응하는 상기 제1 축간 거리를 불러오는 단계를 포함하는 입체 영상 합성 방법.
In paragraph 3,
Setting the second inter-axis distance includes loading the first inter-axis distance corresponding to the set position from the database.
제1항에서,
상기 타겟 위치에서의 상기 제2 축간 거리는 상기 타겟 위치에 설정된 상기 제1 축간 거리와 동일한, 입체 영상 합성 방법.
In paragraph 1:
The method of synthesizing three-dimensional images, wherein the second axis-to-axis distance at the target position is equal to the first axis-to-axis distance set at the target position.
제1항에서,
상기 제2 축간 거리를 설정하는 단계는
상기 타겟 위치에서의 상기 객체를 모델링하여 객체 모델을 생성하는 단계,
상기 타겟 위치에 설정된 상기 제1 축간 거리에 따른 상기 객체 모델의 입체 값을 확인하는 단계, 그리고
확인 결과에 기초해서 상기 제2 축간 거리를 설정하는 단계
를 포함하는 입체 영상 합성 방법.
In paragraph 1:
The step of setting the distance between the second axes is
generating an object model by modeling the object at the target location;
Confirming the three-dimensional value of the object model according to the first axis distance set at the target position, and
Setting the distance between the second axes based on the confirmation result
A stereoscopic image synthesis method comprising:
제6항에서,
상기 확인 결과에 기초해서 상기 제2 축간 거리를 설정하는 단계는
특정 입체 값이 확인될 때까지 상기 카메라의 축간 거리를 미세 조정하면서 입체 값을 확인하는 동작을 반복하는 단계, 그리고
상기 특정 입체 값이 확인될 때의 상기 축간 거리를 상기 제2 축간 거리로 설정하는 단계
를 포함하는 입체 영상 합성 방법.
In paragraph 6:
The step of setting the distance between the second axes based on the confirmation result is
Repeating the operation of checking the stereoscopic value while finely adjusting the inter-axis distance of the camera until a specific stereoscopic value is confirmed, and
Setting the inter-axis distance when the specific stereoscopic value is confirmed as the second inter-axis distance
A stereoscopic image synthesis method comprising:
제1항에서,
상기 타겟 위치에서의 상기 제2 축간 거리 및 상기 객체의 입체 영상을 데이터베이스에 저장하는 단계를 더 포함하는 입체 영상 합성 방법.
In paragraph 1:
A stereoscopic image synthesis method further comprising storing the second inter-axis distance at the target position and the stereoscopic image of the object in a database.
적어도 하나의 명령어를 저장하는 메모리, 그리고
상기 명령어를 실행하는 프로세서를 포함하며,
상기 명령어를 실행함으로써, 상기 프로세서는
촬영될 배경을 위치별로 분할하고, 상기 위치별로 배경의 입체 영상을 모델링하여 각 위치의 배경 모델을 생성하고, 각 위치의 상기 배경 모델에 기초해서 촬영될 배경의 복수의 위치에서의 카메라의 제1 축간 거리를 각각 설정하고,
상기 제1 축간 거리에 기초해서 상기 카메라가 촬영한 상기 배경의 입체 영상을 획득하고,
상기 복수의 위치 중에서 촬영될 객체에 해당하는 타겟 위치를 선택하고,
상기 타겟 위치에 설정된 상기 제1 축간 거리에 기초해서 상기 타겟 위치에서의 제2 축간 거리를 설정하고,
상기 제2 축간 거리에 기초해서 상기 카메라가 촬영한 상기 객체의 입체 영상을 획득하고,
상기 배경의 입체 영상과 상기 객체의 입체 영상을 합성하는
입체 영상 합성 장치.
memory to store at least one instruction, and
Includes a processor that executes the instructions,
By executing the instruction, the processor
The background to be photographed is divided by location, a three-dimensional image of the background is modeled for each location to generate a background model for each location, and the first camera at a plurality of positions of the background to be photographed is based on the background model at each location. Set the distance between axes respectively,
Obtaining a three-dimensional image of the background captured by the camera based on the first axis distance,
Select a target location corresponding to the object to be photographed from among the plurality of locations,
Setting a second inter-axis distance at the target position based on the first inter-axis distance set at the target position,
Obtaining a three-dimensional image of the object captured by the camera based on the second inter-axis distance,
Combining the three-dimensional image of the background and the three-dimensional image of the object
Stereoscopic image synthesis device.
제9항에서,
상기 프로세서는
복수의 위치에서 상기 배경을 각각 모델링하여 복수의 배경 모델을 생성하고,
상기 복수의 배경 모델 중에서 각 위치에 해당하는 배경 모델에 기초해서 대응하는 위치에서의 상기 제1 축간 거리를 설정하는
입체 영상 합성 장치.
In paragraph 9:
The processor is
Creating a plurality of background models by modeling each of the backgrounds at a plurality of locations,
Setting the distance between the first axes at the corresponding position based on the background model corresponding to each position among the plurality of background models.
Stereoscopic image synthesis device.
제10항에서,
상기 프로세서는
각 위치에서 상기 카메라의 축간 거리에 따른 상기 대응하는 위치에서의 상기 배경 모델의 입체 값을 확인하고, 특정 입체 값이 확인될 때까지 상기 축간 거리를 변경하는 동작을 반복하고, 상기 특정 입체 값이 확인될 때의 상기 축간 거리를 상기 제1 축간 거리로 설정하는
입체 영상 합성 장치.
In paragraph 10:
The processor is
At each location, the stereoscopic value of the background model at the corresponding position is confirmed according to the inter-axial distance of the camera, and the operation of changing the inter-axial distance is repeated until a specific stereoscopic value is confirmed, and the specific stereoscopic value is confirmed. Setting the distance between axes when confirmed as the first distance between axes
Stereoscopic image synthesis device.
제9항에서,
상기 프로세서는
상기 타겟 위치에서의 상기 객체를 모델링하여 객체 모델을 생성하고,
상기 타겟 위치에 설정된 상기 제1 축간 거리 및 상기 객체 모델에 기초해서 상기 타겟 위치에서의 상기 제2 축간 거리를 설정하는
입체 영상 합성 장치.
In paragraph 9:
The processor is
Generate an object model by modeling the object at the target location,
Setting the second inter-axis distance at the target location based on the first inter-axis distance and the object model set at the target location.
Stereoscopic image synthesis device.
제12항에서,
상기 프로세서는
상기 타겟 위치에서 상기 카메라의 축간 거리에 따른 상기 타겟 위치에서의 상기 객체 모델의 입체 값을 확인하고, 특정 입체 값이 확인될 때까지 상기 축간 거리를 미세 조정하는 동작을 반복하고, 상기 특정 입체 값이 확인될 때의 상기 축간 거리를 상기 제2 축간 거리로 설정하는
입체 영상 합성 장치.
In paragraph 12:
The processor is
Confirming the stereoscopic value of the object model at the target location according to the inter-axial distance of the camera at the target location, repeating the operation of finely adjusting the inter-axial distance until a specific stereoscopic value is confirmed, and repeating the operation of fine-tuning the inter-axial distance When this is confirmed, the distance between the axes is set to the second distance between the axes.
Stereoscopic image synthesis device.
컴퓨팅 장치에 의해 수행되는 입체 영상 합성 방법으로서,
촬영될 배경을 위치별로 분할하고, 상기 위치별로 배경의 입체 영상을 모델링하여 각 위치의 배경 모델을 생성하고, 각 위치의 상기 배경 모델에 기초해서 촬영될 배경의 복수의 위치에서의 카메라의 제1 축간 거리를 각각 설정하는 단계,
상기 복수의 위치 중에서 촬영될 객체에 해당하는 타겟 위치를 선택하는 단계,
상기 타겟 위치에 설정된 상기 제1 축간 거리에 기초해서 상기 타겟 위치에서의 제2 축간 거리를 설정하는 단계, 그리고
상기 제1 축간 거리에 기초해서 상기 카메라가 촬영한 상기 배경의 입체 영상과 상기 제2 축간 거리에 기초해서 상기 카메라가 촬영한 상기 객체의 입체 영상을 합성하는 단계
를 포함하는 입체 영상 합성 방법.
A stereoscopic image synthesis method performed by a computing device, comprising:
The background to be photographed is divided by location, a three-dimensional image of the background is modeled for each location to generate a background model for each location, and the first camera at a plurality of positions of the background to be photographed is based on the background model at each location. Steps of setting the distance between axes,
Selecting a target location corresponding to the object to be photographed from among the plurality of locations,
setting a second inter-axis distance at the target location based on the first inter-axis distance set at the target location; and
Combining a three-dimensional image of the background captured by the camera based on the first axis distance and a three-dimensional image of the object captured by the camera based on the second axis distance.
A stereoscopic image synthesis method comprising:
KR1020220054494A 2021-11-29 2022-05-03 Apparatus and method for composing three-dimensional image KR102640283B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/885,020 US20230171389A1 (en) 2021-11-29 2022-08-10 Apparatus and method for synthesizing three-dimensional image

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20210167040 2021-11-29
KR1020210167040 2021-11-29

Publications (2)

Publication Number Publication Date
KR20230080285A KR20230080285A (en) 2023-06-07
KR102640283B1 true KR102640283B1 (en) 2024-02-27

Family

ID=86761212

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220054494A KR102640283B1 (en) 2021-11-29 2022-05-03 Apparatus and method for composing three-dimensional image

Country Status (1)

Country Link
KR (1) KR102640283B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101348929B1 (en) * 2012-08-20 2014-01-09 광운대학교 산학협력단 A multiview image generation method using control of layer-based depth image

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101356544B1 (en) * 2012-03-29 2014-02-19 한국과학기술원 Method and apparatus for generating 3d stereoscopic image
KR101392406B1 (en) 2012-09-26 2014-08-14 주식회사 에이아이오코리아 Method and Apparatus for Chromakey compositing of Subject Image and Background Image

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101348929B1 (en) * 2012-08-20 2014-01-09 광운대학교 산학협력단 A multiview image generation method using control of layer-based depth image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
변기식, 외4, "원거리 입체촬영용 카메라 축간거리 조절을 위한 퍼지추론 시스템", 한국정보통신학회논문지, Vol. 19, No. 1, 2015.01.09.*

Also Published As

Publication number Publication date
KR20230080285A (en) 2023-06-07

Similar Documents

Publication Publication Date Title
US10504274B2 (en) Fusing, texturing, and rendering views of dynamic three-dimensional models
KR20200139240A (en) Virtual object transformation processing method, device, device and storage medium
KR20210119438A (en) Systems and methods for face reproduction
JP7116142B2 (en) Generating Arbitrary Views
EP3783571A1 (en) Face model processing method and device, nonvolatile computer-readable storage medium and electronic device
US20090153569A1 (en) Method for tracking head motion for 3D facial model animation from video stream
CN103426163A (en) System and method for rendering affected pixels
KR100957129B1 (en) Method and device for converting image
JP2005295004A (en) Stereoscopic image processing method and apparatus thereof
JP2005353047A (en) Three-dimensional image processing method and three-dimensional image processor
KR20210040555A (en) Apparatus, method and computer program for providing facial motion retargeting of virtual character based on basis model
DE112017004918T5 (en) Hybrid stereo rendering for depth extension in dynamic light field displays
CN115512014A (en) Method for training expression driving generation model, expression driving method and device
US7009606B2 (en) Method and apparatus for generating pseudo-three-dimensional images
WO2000038434A1 (en) Method and apparatus for converting monoscopic images into stereoscopic images
KR102640283B1 (en) Apparatus and method for composing three-dimensional image
CN116610213A (en) Interactive display method and device in virtual reality, electronic equipment and storage medium
US20140192045A1 (en) Method and apparatus for generating three-dimensional caricature using shape and texture of face
WO2013027773A1 (en) Image processing device, image processing method, and recording medium
JP6898264B2 (en) Synthesizers, methods and programs
JP2009009296A (en) Face image deformation method and face image deformation device implementing this method
KR100360487B1 (en) Texture mapping method and apparatus for 2D facial image to 3D facial model
CN113596569B (en) Image processing method, apparatus and computer-readable storage medium
US20230171389A1 (en) Apparatus and method for synthesizing three-dimensional image
CN115176282A (en) Image processing device, method for generating 3D model, learning method, and program

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant