KR101926701B1 - Apparatus and method for tansforming 2d data to 3d data - Google Patents

Apparatus and method for tansforming 2d data to 3d data Download PDF

Info

Publication number
KR101926701B1
KR101926701B1 KR1020170103391A KR20170103391A KR101926701B1 KR 101926701 B1 KR101926701 B1 KR 101926701B1 KR 1020170103391 A KR1020170103391 A KR 1020170103391A KR 20170103391 A KR20170103391 A KR 20170103391A KR 101926701 B1 KR101926701 B1 KR 101926701B1
Authority
KR
South Korea
Prior art keywords
data
separated
vector value
vector
combined
Prior art date
Application number
KR1020170103391A
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 KR1020170103391A priority Critical patent/KR101926701B1/en
Application granted granted Critical
Publication of KR101926701B1 publication Critical patent/KR101926701B1/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/139Format conversion, e.g. of frame-rate or size
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • 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/158Switching image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/356Image reproducers having separate monoscopic and stereoscopic modes
    • H04N13/359Switching between monoscopic and stereoscopic modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention relates to an apparatus and a method for transforming data. More specifically, the present invention relates to an apparatus and a method for transforming two-dimensional data to three-dimensional data which can prevent image distortion by a viewpoint of a camera in a three-dimensional environment by dividing two-dimensional data into a certain size to use the two-dimensional data in the three-dimensional environment, setting each vector value for every divided piece of the two-dimensional data, and reuniting the two-dimensional data in which the vector value is set.

Description

2D 데이터 - 3D 데이터 변환 장치 및 방법{APPARATUS AND METHOD FOR TANSFORMING 2D DATA TO 3D DATA}TECHNICAL FIELD [0001] The present invention relates to an apparatus and method for converting 2D data to 3D data,

본 발명은 2D 데이터 - 3D 데이터 변환 장치 및 방법에 관한 것으로, 보다 구체적으로, 2D 데이터를 3D 데이터 환경에서 사용하기 위하여 2D 데이터를 일정 크기로 분리하고, 분리한 2D 데이터마다 각각 벡터값을 설정하며, 벡터값이 설정된 2D 데이터를 재결합함으로써, 3D 환경에서 카메라의 시점에 따라 이미지의 왜곡이 발생하는 것을 방지할 수 있는 2D 데이터 - 3D 데이터 변환 장치 및 방법에 관한 것이다.More particularly, the present invention relates to a 2D data-to-3D data conversion apparatus and method, and more particularly, to separate 2D data into a predetermined size in order to use 2D data in a 3D data environment, 3D data conversion apparatus and method capable of preventing distortion of an image according to a viewpoint of a camera in a 3D environment by recombining 2D data set with vector values.

최근, 그래픽 기술이 발전함에 따라 기존에 사용되던 2D(2-Dimensional) 그래픽으로 제작되던 게임 및 애니메이션에 3D(3-Dimensional) 그래픽 기술이 적용된 3D 애니메이션, 3D 게임이 사용자들에게 보급되고 있다.2. Description of the Related Art [0002] Recently, as graphics technology has developed, 3D animation and 3D games using 3D (3-Dimensional) graphics technology have been spreading to users in games and animations that have been produced using 2D (2-Dimensional) graphics.

이러한 3D 게임 및 3D 애니메이션은 게임 캐릭터나 애니메이션 케릭터에 입체감을 줌으로써, 2D 게임이나 2D 애니메이션에 비해 사용자로 하여금 보다 현실적인 느낌을 받게 할 수 있다는 장점이 있으며, 이에 따라 많은 사용자들이 2D 게임이나 2D 애니메이션보다 3D 게임 및 3D 애니메이션을 선호하게 되었다.These 3D games and 3D animations have the advantage of giving users a more realistic feel compared to 2D games and 2D animations by giving a three-dimensional effect to the game characters and animated characters. Therefore, many users can enjoy 2D games or 2D animations 3D games and 3D animation.

한편, 사용자들은 보다 다양하고 많은 양의 3D 게임 및 3D 애니메이션과 같은 컨텐츠를 제공받고자 하나, 3D 게임 및 3D 애니메이션은 2D 게임 및 2D 애니메이션에 비해 제작 과정이 복잡하기 때문에, 사용자가 기대하는 만큼 다양하고 많은 콘텐츠가 확보되기에는 어렵다는 문제가 있다.On the other hand, users are required to receive contents such as 3D games and 3D animations in a more varied and large amount. However, since 3D games and 3D animations are complicated in comparison with 2D games and 2D animations, There is a problem that it is difficult to secure many contents.

이러한 문제점을 보완하기 위하여, 종래에는 기존에 사용되던 2D 데이터를 3D 데이터 환경에 적용하는 방법을 사용하였다. 그러나, 기존에 사용되던 2D 데이터를 그대로 3D 데이터 환경에 적용하여 사용하는 경우, 3D 데이터 환경에서 2D 데이터의 관측 시점에 따라 왜곡 현상과 같이 2D 데이터에 오류가 발생하는 문제가 있었다. 또한, 이러한 왜곡 현상을 없애기 위해 2D 데이터를 3D 데이터로 변환하는 장치를 사용하여 2D 데이터를 3D 데이터로 변환하고자 하는 경우, 2D 데이터를 변환하는 작업에 많은 시간과 비용이 필요하다는 문제가 있었다.In order to solve this problem, a conventional method of applying 2D data to a 3D data environment has been used. However, when 2D data used in the past is applied to a 3D data environment as it is, there is a problem that an error occurs in the 2D data such as a distortion phenomenon according to the observation time of the 2D data in the 3D data environment. In order to eliminate such a distortion phenomenon, there has been a problem that when converting 2D data into 3D data by using a device for converting 2D data into 3D data, it takes much time and cost to convert 2D data.

이에 본 발명자는, 종래의 2D 데이터를 3D 데이터로 변환하는 장치가 가지는 문제점을 해결하기 위하여, 2D 데이터를 3D 데이터 환경에서 사용하기 위하여 2D 데이터를 일정 크기로 분리하고, 분리한 2D 데이터마다 각각 벡터값을 설정하며, 벡터값이 설정된 2D 데이터를 재결합함으로써, 3D 환경에서 카메라의 시점에 따라 이미지의 왜곡이 발생하는 것을 방지할 수 있는 2D 데이터 - 3D 데이터 변환 장치 및 방법을 개발하기에 이르렀다.In order to solve the problems of the conventional apparatus for converting 2D data into 3D data, the present inventor has proposed a method for separating 2D data into a predetermined size in order to use 2D data in a 3D data environment, 3D data conversion apparatus and method capable of preventing distortion of an image in accordance with a viewpoint of a camera in a 3D environment by reassembling 2D data set with a vector value.

한국공개특허 제2016-0012762호Korean Patent Publication No. 2016-0012762

본 발명은 상술된 문제점을 해결하기 위해 도출된 것으로서, 본 발명은 2D 데이터를 기 설정된 단위로 분리하여 벡터값을 각각 설정하고, 벡터값이 설정된 각각의 2D 데이터를 결합하며, 3D 데이터 환경에서 결합된 2D 데이터에 대한 관측 시점이 변화함에 따라 설정된 벡터값을 변화시킴으로써, 데이터 왜곡과 같이 관측 시점 변화로 인해 2D 데이터에 오류가 발생하는 것을 방지할 수 있는 2D 데이터 - 3D 데이터 변환 장치 및 방법을 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a method and apparatus for separating 2D data into predetermined units to set vector values, A 2D data-to-3D data conversion apparatus and method capable of preventing an error in 2D data due to a change in observation time, such as data distortion, by changing a set vector value as the observation time of 2D data is changed .

본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치는, 2D(2-Dimensional) 데이터를 3D(3-Dimensional) 데이터 환경에서 사용하기 위하여, 2D데이터를 변환하는 장치에 있어서, 상기 2D 데이터를 기 설정된 단위 크기로 분리하여 분리 2D 데이터를 생성하는 데이터 분리부, 상기 분리 2D 데이터마다 각각 벡터값을 설정하는 벡터 설정부 및 벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 데이터 결합부를 포함할 수 있으며, 상기 결합 2D 데이터는, 상기 3D 데이터 환경에서 상기 결합 2D 데이터에 대한 관측 시점의 변화에 기초하여 상기 설정된 벡터값을 변화시킬 수 있다.The 2D data-to-3D data conversion apparatus according to an embodiment of the present invention is an apparatus for converting 2D data to use 2-dimensional (2D) data in a 3-dimensional (2D) data environment, And a vector setting unit for setting a vector value for each of the separated 2D data and the separated 2D data having a vector value set therein to generate combined 2D data, And the combined 2D data may change the set vector value based on a change in the observation time of the combined 2D data in the 3D data environment.

일 실시예에서, 상기 데이터 분리부는, 상기 2D 데이터의 종류에 기초하여, 기 저장된 포멧 중 하나의 포멧을 선택하여 상기 2D 데이터를 대입하고, 상기 선택한 포멧에 포함된 하나 이상의 기 설정된 단위 크기로 상기 대입한 2D 데이터를 분리하여 분리 2D 데이터를 생성할 수 있으며, 상기 데이터 결합부는, 상기 선택한 포멧을 기반으로 벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성할 수 있다.In one embodiment, the data separator may select one of the pre-stored formats based on the type of the 2D data, substitute the 2D data, and convert the 2D data into the one or more predetermined unit sizes included in the selected format The separated 2D data may be separated to generate separated 2D data, and the data combining unit may combine the separated 2D data having a vector value set based on the selected format to generate combined 2D data.

일 실시예에서, 상기 벡터 설정부는, 상기 분리 2D 데이터마다 각각 위치(Position) 벡터값 및 회전(Rotation) 벡터값 중 어느 하나 이상을 설정할 수 있다.In one embodiment, the vector setting unit may set at least one of a position vector value and a rotation vector value for each of the separated 2D data.

일 실시예에서, 상기 벡터 설정부는, 하기의 수학식 1에 기반하여 상기 분리 2D 데이터와 상기 관측 시점간의 각도를 산출할 수 있다.In one embodiment, the vector setting unit may calculate an angle between the separated 2D data and the observation point based on Equation (1) below.

<수학식 1>&Quot; (1) &quot;

Figure 112017078623862-pat00001
Figure 112017078623862-pat00001

여기서, θ1은 상기 분리 2D 데이터와 상기 관측 시점간의 각도, V1은 상기 분리 2D 데이터의 방향 벡터 및 V2는 상기 분리 2D 데이터와 상기 관측 시점간의 거리Here, θ 1 is an angle between the separated 2D data and the observation time, V 1 is a direction vector of the separated 2D data, and V 2 is a distance between the separated 2D data and the observation time

일 실시예에서, 상기 벡터 설정부는, 상기 θ1의 크기 및 상기 π-θ1의 크기가 0 내지 90미만이 되도록 상기 분리 2D 데이터에 설정된 상기 벡터값을 변화시킬 수 있다.In one embodiment, the vector setting section, θ is the size and area of the π-θ 1 of 1 can be changed to the vector value is set to the 2D data separation that is less than 0-90.

일 실시예에서, 상기 데이터 결합부는, 본 애니메이션(Bone Animation) 방식 및 버텍스 애니메이션(Vertex Animation) 방식 중 어느 하나 이상을 이용하여 상기 결합 2D 데이터를 생성할 수 있다.In one embodiment, the data combining unit may generate the combined 2D data using at least one of a Bone Animation method and a Vertex Animation method.

본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 방법은, 데이터 변환 장치를 이용하여 2D(2-Dimensional) 데이터를 3D(3-Dimensional) 데이터 환경에서 사용 가능한 데이터로 변환하는 방법에 있어서, 상기 2D 데이터를 기 설정된 단위 크기로 분리하여 분리 2D 데이터를 생성하는 단계, 상기 분리 2D 데이터마다 각각 벡터값을 설정하는 단계 및 벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 단계를 포함할 수 있으며, 상기 벡터값을 설정하는 단계는, 상기 3D 데이터 환경에서 상기 결합 2D 데이터에 대한 관측 시점의 변화에 기초하여 상기 설정된 벡터값을 변화시키는 단계를 포함할 수 있다.According to an embodiment of the present invention, there is provided a method for converting 2D (2-Dimensional) data into usable data in a 3D (3-Dimensional) data environment using a data conversion apparatus, Separating the 2D data into a predetermined unit size to generate separated 2D data, setting a vector value for each of the separated 2D data, and combining the separated 2D data having a vector value to generate combined 2D data And the step of setting the vector value may include changing the set vector value based on a change in an observation time point of the combined 2D data in the 3D data environment.

일 실시예에서, 상기 분리 2D 데이터를 생성하는 단계는, 상기 2D 데이터의 종류에 기초하여, 기 저장된 포멧 중 하나의 포멧을 선택하여 상기 2D 데이터를 대입하는 단계 및 상기 선택한 포멧에 포함된 하나 이상의 기 설정된 단위 크기로 상기 대입한 2D 데이터를 분리하여 분리 2D 데이터를 생성하는 단계를 포함할 수 있으며, 상기 결합 2D 데이터를 생성하는 단계는, 상기 선택한 포멧을 기반으로 벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 단계를 포함할 수 있다.In one embodiment, the step of generating the separated 2D data may include selecting one of the pre-stored formats based on the type of the 2D data to substitute the 2D data, and selecting one or more And generating separated 2D data by separating the substituted 2D data with a predetermined unit size. The generating of the combined 2D data may include separating the separated 2D data having a vector value based on the selected format May be combined to generate combined 2D data.

일 실시예에서, 상기 벡터값을 설정하는 단계는, 상기 분리 2D 데이터마다 각각 위치(Position) 벡터값 및 회전(Rotation) 벡터값 중 어느 하나 이상을 설정하는 단계를 더 포함할 수 있다.In one embodiment, the setting of the vector value may further include setting at least one of a position vector value and a rotation vector value for each of the separated 2D data.

일 실시예에서, 상기 벡터값을 설정하는 단계는, 하기의 수학식 1에 기반하여 상기 분리 2D 데이터와 상기 관측 시점간의 각도를 산출할 수 있다.In one embodiment, the step of setting the vector value may calculate an angle between the separated 2D data and the observation point based on Equation (1) below.

<수학식 1>&Quot; (1) &quot;

Figure 112017078623862-pat00002
Figure 112017078623862-pat00002

여기서, θ1은 상기 분리 2D 데이터와 상기 관측 시점간의 각도, V1은 상기 분리 2D 데이터의 방향 벡터 및 V2는 상기 분리 2D 데이터와 상기 관측 시점간의 거리Here, θ 1 is an angle between the separated 2D data and the observation time, V 1 is a direction vector of the separated 2D data, and V 2 is a distance between the separated 2D data and the observation time

일 실시예에서, 상기 벡터값을 설정하는 단계는, 상기 θ1의 크기 및 상기 π-θ1의 크기가 0 내지 90미만이 되도록 상기 분리 2D 데이터에 설정된 벡터값을 변화시키는 단계를 더 포함할 수 있다.In one embodiment, the vector further comprising: setting a value that is, the θ is the size and area of the π-θ 1 of 1 further comprising the step of changing the vector value is set to said separation 2D data is less than 0 to 90 .

본 발명은 2D 데이터를 기 설정된 단위로 분리하여 벡터값을 각각 설정하고, 벡터값이 설정된 각각의 2D 데이터를 결합하며, 3D 데이터 환경에서 결합된 2D 데이터에 대한 관측 시점이 변화함에 따라 설정된 벡터값을 변화시킴으로써, 데이터 왜곡과 같이 관측 시점 변화로 인해 2D 데이터에 오류가 발생하는 것을 방지할 수 있다.The present invention separates 2D data into predetermined units and sets vector values, combines each 2D data set with a vector value, and sets a vector value that is set as the observation time of the combined 2D data in the 3D data environment changes It is possible to prevent the occurrence of an error in the 2D data due to the change of the observation time, such as data distortion.

또한, 본 발명은 2D 데이터를 3D 데이터로 변환시키지 않고, 3D 데이터 환경에서 2D 데이터 그 자체로 사용할 수 있도록 변환함으로써, 2D 데이터만이 가지고 있는 품질 및 완성도를 해치지 않고 3D 데이터 환경에서도 그대로 느낄 수 있다는 이점이 있다.In addition, the present invention does not convert 2D data into 3D data but converts the 2D data to be used as a 2D data itself in a 3D data environment, so that it can be felt in a 3D data environment without harming the quality and completeness of only 2D data There is an advantage.

도 1은 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)의 구성 요소를 개략적으로 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)에서 데이터 분리부(110)가 2D 데이터를 기 설정된 단위로 분리하여 분리 2D 데이터를 생성하는 형태를 개략적으로 도시한 도면이다.
도 3은 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)에서, 데이터 결합부(130)가 벡터값이 설정된 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 형태를 개략적으로 도시한 도면이다.
도 4는 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)에서 데이터 결합부(130)로부터 생성된 결한 2D 데이터가 3D 데이터 환경에서 사용되는 형태를 개략적으로 도시한 도면이다.
도 5는 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)를 이용하여 2D 데이터를 변환하는 일련의 과정을 설명하기 위한 순서도이다.
도 6은 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)를 이용하여 결합 2D 데이터의 벡터값을 변화시키는 일련의 과정을 설명하기 위한 순서도이다.
FIG. 1 is a schematic view of components of a 2D data-to-3D data conversion apparatus 100 according to an embodiment of the present invention.
FIG. 2 is a diagram schematically showing a form in which a data separator 110 in a 2D data-to-3D data conversion apparatus 100 according to an embodiment of the present invention generates separated 2D data by separating 2D data into predetermined units FIG.
FIG. 3 schematically shows a form in which, in the 2D data-to-3D data conversion apparatus 100 according to the embodiment of the present invention, the data combining unit 130 generates combined 2D data by combining separate 2D data sets having vector values Fig.
4 is a diagram schematically illustrating a form in which 2D data generated from the data combining unit 130 in the 2D data-to-3D data conversion apparatus 100 according to an exemplary embodiment of the present invention is used in a 3D data environment.
5 is a flowchart illustrating a series of processes for converting 2D data using the 2D data-to-3D data conversion apparatus 100 according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating a process of changing a vector value of combined 2D data using the 2D data-3D data conversion apparatus 100 according to an embodiment of the present invention.

이하, 본 발명의 이해를 돕기 위하여 바람직한 실시예를 제시한다. 그러나 하기의 실시예는 본 발명을 보다 쉽게 이해하기 위하여 제공되는 것일 뿐, 실시예에 의해 본 발명의 내용이 한정되는 것은 아니다.Hereinafter, preferred embodiments of the present invention will be described in order to facilitate understanding of the present invention. However, the following examples are provided only for the purpose of easier understanding of the present invention, and the present invention is not limited by the examples.

도 1은 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)의 구성 요소를 개략적으로 도시한 도면이다.FIG. 1 is a schematic view of components of a 2D data-to-3D data conversion apparatus 100 according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)는 데이터 분리부(110), 벡터 설정부(120) 및 데이터 결합부(130)를 포함하여 구성될 수 있다.Referring to FIG. 1, a 2D data-to-3D data conversion apparatus 100 according to an exemplary embodiment of the present invention includes a data separator 110, a vector setting unit 120, and a data combining unit 130 .

도 1에 도시된 2D 데이터 - 3D 데이터 변환 장치(100)는 일 실시예에 따른 것이고, 그 구성 요소들은 도 1에 도시된 실시예에 한정되는 것이 아니며, 필요에 따라 부가, 교체, 변경 또는 삭제될 수 있다. 예를 들어, 벡터 설정부(120)와 데이터 결합부(130)는 별도의 구성 요소로 형성되지 않고, 데이터 결합부(130)가 벡터값을 설정함과 동시에 결합 2D 데이터를 생성할 수 있다.The 2D data-to-3D data conversion apparatus 100 shown in FIG. 1 is according to one embodiment, and its components are not limited to the embodiment shown in FIG. 1, and may be added, replaced, . For example, the vector setting unit 120 and the data combining unit 130 are not formed as separate components, and the data combining unit 130 may generate the combined 2D data at the same time as setting the vector values.

먼저, 데이터 분리부(110)는 2D 데이터를 기 설정된 단위 크기로 분리하여 분리 2D 데이터를 생성할 수 있다. 이하, 도 2를 참조하여 데이터 분리부(110)가 2D 데이터를 분리하는 구성을 보다 구체적으로 설명하도록 한다.First, the data separator 110 separates the 2D data into a predetermined unit size to generate separated 2D data. Hereinafter, a configuration in which the data separator 110 separates 2D data will be described in more detail with reference to FIG.

도 2는 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)에서 데이터 분리부(110)가 2D 데이터를 기 설정된 단위로 분리하여 분리 2D 데이터를 생성하는 형태를 개략적으로 도시한 도면이다.FIG. 2 is a diagram schematically showing a form in which a data separator 110 in a 2D data-to-3D data conversion apparatus 100 according to an embodiment of the present invention generates separated 2D data by separating 2D data into predetermined units FIG.

도 2를 참조하면, 데이터 분리부(110)는 2D 데이터의 종류에 기초하여, 기 저장된 포멧 중 하나 이상의 포멧을 선택하여 2D 데이터를 대입할 수 있고, 선택한 포멧에 포함된 하나 이상의 기 설정된 단위 크기로 대입한 2D 데이터 분리하여 분리 2D 데이터를 생성할 수 있다.Referring to FIG. 2, the data separator 110 may select one or more of the pre-stored formats based on the type of the 2D data to assign the 2D data, and may assign one or more preset unit sizes The 2D data can be separated by separating the 2D data.

여기서, 기 설정된 단위 크기는 2D 데이터 내에서 벡터값을 설정하기 위한 가장 작은 크기를 의미할 수 있다. 예를 들어, 2D 데이터가 사람 형태의 캐릭터인 경우, 도 2에 도시된 바와 같이 관절의 크기가 기 설정된 단위일 수 있으며, 데이터 분리부(110)는 사람 형태 캐릭터를 뼈의 크기별로 분리할 수 있다.Here, the predetermined unit size may mean the smallest size for setting the vector value in the 2D data. For example, if the 2D data is a human-type character, the size of the joint may be a predetermined unit as shown in FIG. 2, and the data separator 110 may divide the human-type character by the size of the bone have.

여기서, 기 저장된 포멧은 2D 데이터를 분리하기 위하여 2D 데이터의 종류에 기초하여 사전에 설정된 틀을 의미할 수 있다. 예를 들어, 2D 데이터의 종류가 사람 형태인 경우와 동물 형태인 경우는 기 설정된 단위인 뼈의 크기, 개수, 위치가 다를 수 있기 때문에, 모든 2D 데이터에 동일한 개수 및 크기의 기 설정된 단위를 적용하지 못할 수 있다.Here, the pre-stored format may refer to a preset frame based on the type of 2D data to separate 2D data. For example, since the size, number, and position of bones may be different when the type of 2D data is human or animal, predetermined units of the same number and size are applied to all 2D data I can not.

따라서, 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)는, 2D 데이터의 종류에 기초하여 하나 이상의 포멧을 기 저장하고, 2D 데이터가 입력되는 경우, 입력된 2D 데이터의 종류에 기반하여 저장된 포멧 중 하나의 포멧을 선택할 수 있다. 예를 들어, 2D 데이터의 종류가 사람 형태인 경우에도, 어린아이 캐릭터인 경우, 성인 캐릭터보다 기 설정된 단위의 크기가 작게 설정될 수 있다.Accordingly, the 2D data-to-3D data conversion apparatus 100 according to an embodiment of the present invention stores one or more formats based on the type of 2D data, and when the 2D data is input, The format of one of the stored formats can be selected. For example, even if the type of the 2D data is human, in the case of the child character, the size of the predetermined unit may be set smaller than that of the adult character.

다른 일 실시예에서, 데이터 분리부(110)는 입력된 2D 데이터의 종류와 매칭된 기 저장된 포멧이 없는 경우, 입력된 2D 데이터의 중심부를 설정하고, 설정된 중심부를 기준으로 기 설정된 단위 크기마다 분리 포인트를 설정하며, 설정된 분리 포인트를 기반으로 2D 데이터를 분리할 수 있다. 예를 들어, 입력된 2D 데이터가 사람 형태의 캐릭터인 경우, 데이터 분리부(110)는 사람 형태의 캐릭터에서 중심부를 설정하고, 설정된 중심부를 기준으로 사람의 관절 크기만큼씩 이격된 거리에 분리 포인트를 설정할 수 있으며, 설정된 분리 포인트를 기반으로 사람 형태의 캐릭터를 분리할 수 있다.In another embodiment, the data separator 110 sets the center of the input 2D data when there is no previously stored format matched with the type of the input 2D data, and separates the input 2D data by a predetermined unit size You can set points and separate 2D data based on the set separation point. For example, when the input 2D data is a human-type character, the data separator 110 sets a center in a human-type character, and divides the distance between the center of the human- Can be set, and the human type character can be separated based on the set separation point.

또 다른 일 실시예에서, 데이터 분리부(110)는 입력된 2D 데이터의 크기가 기 설정된 단위 크기 이하인 경우 또는 입력된 2D 데이터의 종류의 식별이 어려운 경우, 입력된 2D 데이터를 분리하지 않고 하나의 기 설정된 단위 크기로 인식할 수 있으며, 후술되는 벡터 설정부(120), 입력된 2D 데이터에 하나의 벡터값을 설정할 수 있다.In another embodiment, if the size of the input 2D data is less than or equal to a predetermined unit size, or if it is difficult to identify the type of the input 2D data, the data separator 110 may divide the input 2D data into one And can set a vector value to the input 2D data.

다시 도 1로 돌아와서, 벡터 설정부(120)는 분리 2D 데이터마다 각각 벡터값을 설정할 수 있다.Referring again to FIG. 1, the vector setting unit 120 may set a vector value for each separated 2D data.

일 실시예에서, 벡터 설정부(120)는 분리 2D 데이터마다 각각 위치(Position) 벡터값 및 회전(Rotation) 벡터값 중 어느 하나 이상을 설정할 수 있다.In one embodiment, the vector setting unit 120 may set at least one of a position vector value and a rotation vector value for each separated 2D data.

여기서, 위치 벡터값은 분리 2D 데이터의 위치 정보를 나타내는 벡터값일 수 있다. 예를 들어, 위치 벡터값은 후술되는 데이터 결합부(130)에 의해 생성된 결합 2D 데이터에서의 위치에 대한 정보 및 3D 데이터 환경에서의 위치에 대한 정보를 나타내는 벡터값일 수 있다.Here, the position vector value may be a vector value indicating position information of the separated 2D data. For example, the position vector value may be a vector value indicating information on a position in combined 2D data generated by the data combining unit 130, which will be described later, and information on a position in a 3D data environment.

여기서, 회전 벡터값은 분리 2D 데이터의 회전 정보를 나타내는 벡터값일 수 있다. 예를 들어, 회전 벡터값은 3D 데이터 환경에서 분리 2D 데이터에 대한 관측 시점에 대한 정보를 나타내는 벡터값일 수 있으며, 관측 시점이 변화함에 따라 회전 벡터값이 변화할 수 있다. 이하 수학식 1을 이용하여 벡터 설정부(120)가 분리 2D 데이터에 설정된 벡터값을 변화시키는 과정에 대하여 설명하도록 한다.Here, the rotation vector value may be a vector value indicating rotation information of the separated 2D data. For example, the rotation vector value may be a vector value indicating information on the observation time point of the separated 2D data in the 3D data environment, and the rotation vector value may change as the observation point changes. Hereinafter, a process of the vector setting unit 120 changing the vector value set in the separated 2D data will be described using Equation (1).

벡터 설정부(120)는 하기의 수학식 1에 기반하여 분리 2D 데이터와 상기 관측 시점간의 각도를 산출할 수 있다.The vector setting unit 120 may calculate an angle between the separated 2D data and the observation point based on Equation (1) below.

<수학식 1>&Quot; (1) &quot;

Figure 112017078623862-pat00003
Figure 112017078623862-pat00003

여기서, θ1은 상기 분리 2D 데이터와 상기 관측 시점간의 각도, V1은 상기 분리 2D 데이터의 방향 벡터 및 V2는 상기 분리 2D 데이터와 상기 관측 시점간의 거리일 수 있다.Here, θ 1 is an angle between the separated 2D data and the observation point, V 1 is a direction vector of the separated 2D data, and V 2 is a distance between the separated 2D data and the observation point.

벡터 설정부(120)는 분리 2D 데이터에 설정된 위치 벡터값과 3D 데이터 환경에서 분리 2D 데이터에 대한 관측 시점에 대한 벡터값을 이용하여 분리 2D 데이터와 관측 시점간의 거리(Direction, V2)을 산출할 수 있다. 예를 들어, 분리 2D 데이터의 위치 벡터가 A벡터이고 관측 시점에 대한 벡터가 B벡터인 경우, A벡터와 B벡터의 차분값을 산출함으로써, 분리 2D 데이터와 관측 시점간의 거리(V2)을 산출할 수 있다.The vector setting unit 120 calculates the distance (Direction, V 2 ) between the separated 2D data and the observation point by using the position vector value set in the separated 2D data and the vector value for the observation point of the separated 2D data in the 3D data environment can do. For example, if the position vector of the separated 2D data is the A vector and the vector to the observation time is the B vector, the distance (V 2 ) between the separated 2D data and the observation point is calculated by calculating the difference value between the A vector and the B vector Can be calculated.

이후, 벡터 설정부(120)는 분리 2D 데이터와 관측 시점간의 거리(V2)와 분리 2D 데이터의 방향 벡터(V1)를 기반으로 오일러 각(Euler angle, θ1)을 산출할 수 있다. Then, the vector setting unit 120 may calculate the Euler angle (? 1 ) based on the distance (V 2 ) between the separated 2D data and the observation point and the direction vector (V 1 ) of the separated 2D data.

예를 들어, 분리 2D 데이터가 정면을 바라보고 있는 경우, 분리 2D 데이터의 방향 벡터(V1)는 (0, 0, 1)이 된다. 이를 수학식 1에 대입함으로써, 분리 2D 데이터와 관측 시점간의 각도(θ1)를 산출할 수 있다.For example, if the split 2D data is facing the front, the direction vector (V 1 ) of the split 2D data is (0, 0, 1). By substituting this into equation ( 1 ), the angle (? 1 ) between the separated 2D data and the observation point can be calculated.

벡터 설정부(120)는 산출된 분리 2D 데이터와 관측 시점간의 각도(θ1)가 0도 이상 90도 미만의 범위에 해당되는 경우, 카메라 시점상 분리 2D 데이터가 정면으로 보이는 것으로 판단할 수 있으며, 분리 2D 데이터의 벡터값을 그대로 유지시킬 수 있다.The vector setting unit 120 may determine that the separated 2D data on the camera view is viewed as being front when the calculated separation 2D data and the angle? 1 between the observed 2D data and the observed time falls within the range of 0 to 90 degrees , The vector value of the separated 2D data can be maintained as it is.

반면, 분리 2D 데이터와 관측 시점간의 각도(θ1)가 0도 이상 90도 미만의 범위에 해당하지 않는 경우, 벡터 설정부(120)는 분리 2D 데이터의 벡터값을 변화시켜 분리 2D 데이터와 관측 시점간의 각도(θ1)가 0도 이상 90도 미만의 범위에 해당하도록 할 수 있다.On the other hand, when the angle (? 1 ) between the separated 2D data and the observation point does not fall within the range of 0 to 90 degrees, the vector setting unit 120 changes the vector value of the separated 2D data, The angle? 1 between the viewpoints can be in a range of 0 degrees or more and less than 90 degrees.

또한, 벡터 설정부(120)는 분리 2D 데이터가 후면을 바라보고 있는 경우, 분리 2D 데이터의 방향 벡터(V1)를 (0, 0, -1)로 설정할 수 있으며, 이를 수학식 1에 대입함으로써, 분리 2D 데이터와 관측 시점간의 각도(θ1)를 산출할 수 있다. 이후, 분리 2D 데이터가 정면을 바라보고 있는 경우와 동일하게 분리 2D 데이터와 관측 시점간의 각도(θ1)가 0 이상 90도미만에 해당하는 경우, 분리 2D 데이터의 벡터값을 그대로 유지시키며, 분리 2D 데이터와 관측 시점간의 각도(θ1)가 0도 이상 90도 미만의 범위에 해당하지 않는 경우, 벡터 설정부(120)는 분리 2D 데이터의 벡터값을 변화시킬 수 있다.The vector setting unit 120 may set the direction vector V 1 of the separated 2D data to (0, 0, -1) when the separated 2D data is looking at the rear side, , It is possible to calculate the angle (? 1 ) between the separated 2D data and the observation point. Thereafter, when the angle (θ 1 ) between the separated 2D data and the observation time corresponds to only 0 to 90 degrees, the vector value of the separated 2D data is maintained as it is in the case where the separated 2D data is facing the front, The vector setting unit 120 can change the vector value of the separated 2D data when the angle between the 2D data and the observation point [theta] 1 does not fall within a range of 0 degrees or more and less than 90 degrees.

일 실시예에서, 벡터 설정부(120)는 분리 2D 데이터와 관측 시점간의 각도(θ1)에 대한 기준 값을 설정하고, 설정된 기준 값과 차이가 발생하는 경우, 분리 2D 데이터의 벡터값을 변화시킬 수 있다.In one embodiment, the vector setting unit 120 sets a reference value for the angle (? 1 ) between the separated 2D data and the observation point, and when the difference from the set reference value occurs, changes the vector value of the separated 2D data .

다른 일 실시예에서, 벡터 설정부(120)는 분리 2D 데이터와 관측 시점간의 각도(θ1)가 0도 이상 90도미만의 범위에 포함되는 경우, 분리 2D 데이터의 벡터값을 유지하고, 0도 이상 90도미만의 범위를 벗어나는 경우, 벡터 설정부(120)는 분리 2D 데이터의 벡터값을 변화시킬 수 있다.In another embodiment, the vector setting unit 120 holds the vector value of the separated 2D data when the angle &amp;thetas; 1 between the separated 2D data and the observation point is included in the range of 0 degrees to 90 degrees, The vector setting unit 120 may change the vector value of the separated 2D data.

다시 도 1로 돌아와서, 데이터 결합부(130)는 벡터 설정부(120)를 통해 벡터값이 설정된 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성할 수 있다. 이하, 도 3 및 도 4를 참조하여, 데이터 결합부(130)가 결합 2D 데이터를 생성하는 과정을 구체적으로 설명하도록 한다.Referring back to FIG. 1, the data combining unit 130 may combine separated 2D data having a vector value set through the vector setting unit 120 to generate combined 2D data. Hereinafter, the process of generating the combined 2D data by the data combining unit 130 will be described in detail with reference to FIGS. 3 and 4. FIG.

도 3은 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)에서, 데이터 결합부(130)가 벡터값이 설정된 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 형태를 개략적으로 도시한 도면이며, 도 4는 본 발명의 일 실시예에 따른 데이터 변환 장치(100)에서 데이터 결합부(130)로부터 생성된 결한 2D 데이터가 3D 데이터 환경에서 사용되는 형태를 개략적으로 도시한 도면이다.FIG. 3 schematically shows a form in which, in the 2D data-to-3D data conversion apparatus 100 according to the embodiment of the present invention, the data combining unit 130 generates combined 2D data by combining separate 2D data sets having vector values 4 is a diagram schematically showing a form in which 2D data generated from the data combining unit 130 in the data converting apparatus 100 according to the embodiment of the present invention is used in a 3D data environment .

먼저, 도 3을 참조하면, 데이터 결합부(130)는 분리 2D 데이터를 본 애니메이션(Bone Animation) 방식을 이용하여 결합함으로써, 결합 2D 데이터를 생성할 수 있다. 예를 들어, 2D 데이터가 사람 형태 캐릭터 데이터인 경우, 기 설정된 단위 크기는 사람의 뼈 크기일 수 있고, 사람의 뼈 크기로 분리되어 분리 2D 데이터가 생성될 수 있다. 이때, 사람의 뼈와 뼈가 연결되는 관절 부분 즉, 분리 2D 데이터와 분리 2D 데이터가 결합되는 부분이 본(Bone)이 될 수 있다. 그러나, 본 발명은 이에 한정하지 않고, 분리 2D 데이터를 결합하여 하나의 결합 2D 데이터를 생성할 수 있는 어떠한 방법이든 적용될 수 있다. 예를 들어, 데이터 결합부(130)는 버텍스 애니메이션(Vertex Animation) 방식을 이용하여 분리 2D 데이터를 결합할 수 있다.Referring to FIG. 3, the data combining unit 130 may combine separated 2D data using a Bone Animation method to generate combined 2D data. For example, when the 2D data is the human shape character data, the predetermined unit size may be the human bone size, and the separated 2D data may be generated by dividing the human bone size. At this time, the joint part where the human bone and bone are connected, that is, the part where the separated 2D data and the separated 2D data are combined can be a bone. However, the present invention is not limited thereto, and any method capable of combining separated 2D data to generate one combined 2D data can be applied. For example, the data combining unit 130 may combine the separated 2D data using a vertex animation method.

데이터 결합부(130)는 분리 2D 데이터를 결합하여 하나 이상의 본을 포함하는 결합 2D 데이터를 생성할 수 있으며, 벡터 설정부(120)는 분리 2D 데이터와 관측 시점간의 각도(θ1)에 대한 변화가 필요한 경우, 결합 2D 데이터내에 포함된 본을 움직임으로써, 각각의 분리 2D 데이터가 자동적으로 따라 움직이도록 하여 결합 2D 데이터를 전체적으로 움직이도록 할 수 있다.Changes to the data combination unit 130 to generate a combined 2D data comprising one or more of this by combining separate 2D data, and vector setting unit 120 is the angle between the separation 2D data and the observation time (θ 1) By moving the bone contained in the combined 2D data, each separated 2D data may automatically move along to move the combined 2D data as a whole.

일 실시예에서, 데이터 결합부(130)는 데이터 분리부(110)를 통해 선택된 포멧을 기반으로 벡터값이 설정된 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성할 수 있다. 예를 들어, 2D 데이터가 사람 형태의 캐릭터 데이터인 경우, 데이터 분리부(110)는 기 저장된 포멧중 사람 형태의 캐릭터를 분리하기 위한 포멧을 선택하고, 선택한 포멧에 기반하여 사람 형태의 캐릭터를 분리하여 분리 2D 데이터를 생성한다. 이후, 데이터 결합부(130)는 벡터 설정부(120)를 통해 벡터값이 설정된 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하고자 하는 경우, 사람 형태의 캐릭터를 분리하기 위하여 데이터 분리부(110)를 통해 선택된 포멧을 적용하여 분리 2D 데이터를 결합 할 수 있다.In one embodiment, the data combining unit 130 may combine separated 2D data having a vector value set based on a selected format through the data separating unit 110 to generate combined 2D data. For example, if the 2D data is human-type character data, the data separator 110 selects a format for separating the human-type character from the previously stored format, and separates the human-type character based on the selected format Thereby generating separated 2D data. The data combiner 130 combines the separated 2D data set with the vector values through the vector setting unit 120 to generate the combined 2D data, To separate 2D data by applying the selected format.

일 실시예에서, 데이터 결합부(130)는 2개의 결합 2D 데이터를 결합하여 하나의 통합 2D 데이터를 형성할 수 있다. 예를 들어, 하나의 2D 애니메이션 데이터가 입력되는 경우, 하나의 2D 애니메이션 데이터가 정면 이미지 데이터와 후면 이미지 데이터로 분할 될 수 있다. 이때 데이터 결합부(130)는, 데이터 분리부(110)를 통해 분리되고 벡터 설정부(120)를 통해 벡터값이 설정된 정면 이미지 데이터와 후면 이미지 데이터를 각각 결합 2D 데이터로 생성하고, 각각 생성된 결합 2D 데이터를 통합하여 하나의 통합 2D 데이터를 형성할 수 있다. 이를 통해, 사용자가 3D 데이터 환경을 사용되는 결합 2D 데이터를 관측할 때, 결합 2D 데이터를 정면에서 바라보는 경우, 하나로 결합 2D 데이터 중 정면 2D 데이터를 제공할 수 있고, 후면에서 바라보는 경우, 하나로 결합 2D 데이터 중 후면 2D 데이터를 제공할 수 있다. 이하, 도 5 및 도 6을 참조하여, 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)를 이용한 데이터 변환 방법을 설명하도록 한다.In one embodiment, the data combining unit 130 may combine two combined 2D data to form one integrated 2D data. For example, when one 2D animation data is input, one 2D animation data may be divided into front image data and back image data. At this time, the data combining unit 130 generates the combined 2D data of the front image data and the rear image data, which are separated through the data separating unit 110 and set vector values through the vector setting unit 120, Combined 2D data can be combined to form one integrated 2D data. Thereby, when the user observes the combined 2D data used in the 3D data environment, if the combined 2D data is viewed from the front, it can provide the front 2D data of the combined 2D data in one, and when viewed from the rear, It is possible to provide rear 2D data of the combined 2D data. Hereinafter, a data conversion method using the 2D data-3D data conversion apparatus 100 according to an embodiment of the present invention will be described with reference to FIGS. 5 and 6. FIG.

도 5는 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)를 이용하여 2D 데이터를 변환하는 일련의 과정을 설명하기 위한 순서도이며, 도 6은 본 발명의 일 실시예에 따른 2D 데이터 - 3D 데이터 변환 장치(100)를 이용하여 결합 2D 데이터의 벡터값을 변화시키는 일련의 과정을 설명하기 위한 순서도이다.FIG. 5 is a flowchart for explaining a series of processes for converting 2D data using the 2D data-to-3D data conversion apparatus 100 according to an embodiment of the present invention. FIG. 2D data - a flowchart for explaining a series of processes for changing the vector value of the combined 2D data using the 3D data conversion apparatus 100. FIG.

먼저, 도 5를 참조하면, 2D 데이터 - 3D 데이터 변환 장치는 외부로부터 2D 데이터를 입력 받으면(S110), 입력 받은 2D 데이터의 종류를 기반으로 기 저장된 포멧 중 하나의 포멧을 선택한다(S120). 데이터 변환 장치는 S120단계에서 선택된 포멧의 종류에 기반하여 2D 데이터를 분리하고, 분리 2D 데이터를 생성하고(S130), S130단계에서 생성된 분리 2D 데이터마다 각각 벡터값을 설정한다(S140). 이후, S140단계에서 벡터값이 설정된 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하고(S150), S150단계에서 생성된 결합 2D 데이터를 3D 데이터 환경에 적용한다.Referring to FIG. 5, the 2D data-to-3D data conversion apparatus receives 2D data from the outside (S110), and selects one of the pre-stored formats based on the type of the input 2D data (S120). The data conversion apparatus separates the 2D data based on the type of the format selected in step S120, generates separated 2D data (S130), and sets a vector value for each separated 2D data generated in step S130 (S140). Thereafter, in step S140, separated 2D data having a vector value set therein is combined to generate combined 2D data (S150), and the combined 2D data generated in operation S150 is applied to the 3D data environment.

다음으로, 도 6을 참조하면, 3D 데이터 환경에서 사용되고 있는 결합 2D 데이터에 대한 관측 시점을 기반으로 관측 시점에 대한 벡터값을 추출한다(S210).Next, referring to FIG. 6, a vector value for the observation time is extracted based on the observation time of the combined 2D data used in the 3D data environment (S210).

이후, 데이터 변환 장치는 S210단계에서 추출한 관측 시점 벡터값과 결합 2D 데이터에 대한 위치 벡터값을 기반으로 결합 2D 데이터와 관측 시점간의 거리 산출한다(S220). 이후, 결합 2D 데이터와 관측 시점간의 거리와 결합 2D 데이터의 방향 벡터를 기반으로 오일러 각(θ1)을 산출한다(S230).Thereafter, the data conversion apparatus calculates the distance between the combined 2D data and the observation point based on the observation vector extracted in step S210 and the position vector value of the combined 2D data (S220). Then, an Euler angle? 1 is calculated based on the distance between the combined 2D data and the observation point and the direction vector of the combined 2D data (S230).

이때, S230단계에서 산출된 θ1가 0도 이상 90도 미만의 범위에 포함되는 경우, S210단계로 돌아가서 S210단계 내지 S230단계를 반복 수행하며, S230단계에서 산출된 θ1가 0도 이상 90도 미만의 범위에 포함되지 않는 경우, 결합 2D 데이터에 설정된 벡터값을 변화시켜 θ1가 0도 이상 90도 미만의 범위에 포함되도록 한다(S240).At this time, when the θ 1 calculated in step S230 included in the range of less than zero degree less than 90, return to the step S210 and repeat to step S230 step S210, the θ 1 calculated in step S230 0 degrees 90 degrees , The vector value set in the combined 2D data is changed so that? 1 is included in the range of 0 to 90 degrees (S240).

전술한 데이터 변환 방법은 도면에 제시된 순서도를 참조로 하여 설명되었다. 간단히 설명하기 위하여 상기 방법은 일련의 블록들로 도시되고 설명되었으나, 본 발명은 상기 블록들의 순서에 한정되지 않고, 몇몇 블록들은 다른 블록들과 본 명세서에서 도시되고 기술된 것과 상이한 순서로 또는 동시에 일어날 수도 있으며, 동일한 또는 유사한 결과를 달성하는 다양한 다른 분기, 흐름 경로, 및 블록의 순서들이 구현될 수 있다. 또한, 본 명세서에서 기술되는 방법의 구현을 위하여 도시된 모든 블록들이 요구되지 않을 수도 있다.The above-described data conversion method has been described with reference to the flowcharts shown in the drawings. While the above method has been shown and described as a series of blocks for purposes of simplicity, it is to be understood that the invention is not limited to the order of the blocks, and that some blocks may be present in different orders and in different orders from that shown and described herein And various other branches, flow paths, and sequences of blocks that achieve the same or similar results may be implemented. Also, not all illustrated blocks may be required for implementation of the methods described herein.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the present invention as defined by the following claims It can be understood that

100: 2D 데이터 - 3D 데이터 변환 장치
110: 데이터 분리부
120: 벡터 설정부
130: 데이터 결합부
100: 2D data - 3D data conversion device
110:
120: Vector setting unit
130: Data combining unit

Claims (10)

2D(2-Dimensional) 데이터를 3D(3-Dimensional) 데이터 환경에서 사용하기 위하여, 2D 데이터를 변환하는 장치에 있어서,
상기 2D 데이터를 기 설정된 단위 크기로 분리하여 분리 2D 데이터를 생성하는 데이터 분리부;
상기 분리 2D 데이터마다 각각 벡터값을 설정하는 벡터 설정부; 및
벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 데이터 결합부;를 포함하며,
상기 벡터 설정부는,
상기 3D 데이터 환경에서 상기 결합 2D 데이터에 대한 관측 시점의 변화에 기초하여 상기 설정된 벡터값을 변화시키며,
하기의 수학식 1에 기반하여 상기 분리 2D 데이터와 상기 관측 시점간의 각도를 산출하는 것을키는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 장치.
<수학식 1>
Figure 112018046840173-pat00012

여기서, θ1은 상기 분리 2D 데이터와 상기 관측 시점간의 각도, V1은 상기 분리 2D 데이터의 방향 벡터 및 V2는 상기 분리 2D 데이터와 상기 관측 시점간의 거리
1. An apparatus for transforming 2D data for use in 2D (2-Dimensional) data in a 3D (3-Dimensional) data environment,
A data separator for separating the 2D data into a predetermined unit size and generating separated 2D data;
A vector setting unit for setting a vector value for each of the separated 2D data; And
And a data combining unit for combining the separated 2D data having a vector value set to generate combined 2D data,
Wherein the vector setting unit comprises:
Changing the set vector value based on a change in an observation time of the combined 2D data in the 3D data environment,
And calculating an angle between the separated 2D data and the observation point based on Equation (1) below.
2D data - 3D data conversion device.
&Quot; (1) &quot;
Figure 112018046840173-pat00012

Here, θ 1 is an angle between the separated 2D data and the observation time, V 1 is a direction vector of the separated 2D data, and V 2 is a distance between the separated 2D data and the observation time
제1항에 있어서,
상기 데이터 분리부는,
상기 2D 데이터의 종류에 기초하여, 기 저장된 포멧 중 하나의 포멧을 선택하여 상기 2D 데이터를 대입하고, 상기 선택한 포멧에 포함된 하나 이상의 기 설정된 단위 크기로 상기 대입한 2D 데이터를 분리하여 분리 2D 데이터를 생성하며,
상기 데이터 결합부는,
상기 선택한 포멧을 기반으로 벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 장치.
The method according to claim 1,
Wherein the data separator comprises:
Selecting one of the pre-stored formats based on the type of the 2D data to substitute the 2D data, separating the substituted 2D data into one or more predetermined unit sizes included in the selected format, / RTI &gt;
Wherein the data combining unit comprises:
And combines the separated 2D data having a vector value set based on the selected format to generate combined 2D data.
2D data - 3D data conversion device.
제1항에 있어서,
상기 벡터 설정부는,
상기 분리 2D 데이터마다 각각 위치(Position) 벡터값 및 회전(Rotation) 벡터값 중 어느 하나 이상을 설정하는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 장치.
The method according to claim 1,
Wherein the vector setting unit comprises:
And setting at least one of a position vector value and a rotation vector value for each of the separated 2D data.
2D data - 3D data conversion device.
삭제delete 제1항에 있어서,
상기 벡터 설정부는,
상기 θ1의 크기 및 π-θ1의 크기가 0 내지 90미만이 되도록 상기 분리 2D 데이터에 설정된 상기 벡터값을 변화시키는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 장치.
The method according to claim 1,
Wherein the vector setting unit comprises:
Wherein the vector value set in the separated 2D data is changed so that the magnitude of the? 1 and the magnitude of? -1 are less than 0 to 90,
2D data - 3D data conversion device.
데이터 변환 장치를 이용하여 2D(2-Dimensional) 데이터를 3D(3-Dimensional) 데이터 환경에서 사용 가능한 데이터로 변환하는 방법에 있어서,
상기 2D 데이터를 기 설정된 단위 크기로 분리하여 분리 2D 데이터를 생성하는 단계;
상기 분리 2D 데이터마다 각각 벡터값을 설정하는 단계; 및
벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 단계;를 포함하며,
상기 벡터값을 설정하는 단계는,
상기 3D 데이터 환경에서 상기 결합 2D 데이터에 대한 관측 시점의 변화에 기초하여 상기 설정된 벡터값을 변화시키는 단계; 및
하기의 수학식 1에 기반하여 상기 분리 2D 데이터와 상기 관측 시점간의 각도를 산출하는 단계;를 포함하는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 방법.
<수학식 1>
Figure 112018046840173-pat00013

여기서, θ1은 상기 분리 2D 데이터와 상기 관측 시점간의 각도, V1은 상기 분리 2D 데이터의 방향 벡터 및 V2는 상기 분리 2D 데이터와 상기 관측 시점간의 거리
1. A method for converting 2D (2-Dimensional) data into data usable in a 3D (3-Dimensional) data environment using a data conversion apparatus,
Separating the 2D data into a predetermined unit size to generate separated 2D data;
Setting a vector value for each of the separated 2D data; And
Combining the separated 2D data with vector values to generate combined 2D data,
Wherein the step of setting the vector value comprises:
Changing the set vector value based on a change in an observation time point of the combined 2D data in the 3D data environment; And
And calculating an angle between the separated 2D data and the observation point based on Equation (1) below.
2D data - how to convert 3D data.
&Quot; (1) &quot;
Figure 112018046840173-pat00013

Here, θ 1 is an angle between the separated 2D data and the observation time, V 1 is a direction vector of the separated 2D data, and V 2 is a distance between the separated 2D data and the observation time
제6항에 있어서,
상기 분리 2D 데이터를 생성하는 단계는,
상기 2D 데이터의 종류에 기초하여, 기 저장된 포멧 중 하나의 포멧을 선택하여 상기 2D 데이터를 대입하는 단계; 및
상기 선택한 포멧에 포함된 하나 이상의 기 설정된 단위 크기로 상기 대입한 2D 데이터를 분리하여 분리 2D 데이터를 생성하는 단계;를 포함하며,
상기 결합 2D 데이터를 생성하는 단계는,
상기 선택한 포멧을 기반으로 벡터값이 설정된 상기 분리 2D 데이터를 결합하여 결합 2D 데이터를 생성하는 단계;를 포함하는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 방법.
The method according to claim 6,
Wherein the generating the separated 2D data comprises:
Selecting one of the pre-stored formats and substituting the 2D data based on the type of the 2D data; And
Separating the substituted 2D data into one or more predetermined unit sizes included in the selected format to generate separated 2D data,
Wherein the generating the combined 2D data comprises:
And combining the separated 2D data having a vector value set based on the selected format to generate combined 2D data.
2D data - how to convert 3D data.
제6항에 있어서,
상기 벡터값을 설정하는 단계는,
상기 분리 2D 데이터마다 각각 위치(Position) 벡터값 및 회전(Rotation) 벡터값 중 어느 하나 이상을 설정하는 단계;를 더 포함하는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 방법.
The method according to claim 6,
Wherein the step of setting the vector value comprises:
And setting at least one of a position vector value and a rotation vector value for each of the separated 2D data.
2D data - how to convert 3D data.
삭제delete 제6항에 있어서,
상기 벡터값을 설정하는 단계는,
상기 θ1의 크기 및 π-θ1의 크기가 0 내지 90 미만이 되도록 상기 분리 2D 데이터에 설정된 벡터값을 변화시키는 단계;를 더 포함하는 것을 특징으로 하는,
2D 데이터 - 3D 데이터 변환 방법.
The method according to claim 6,
Wherein the step of setting the vector value comprises:
And changing the vector value set in the separated 2D data so that the magnitude of? 1 and the magnitude of? -1 are less than 0 to 90,
2D data - how to convert 3D data.
KR1020170103391A 2017-08-16 2017-08-16 Apparatus and method for tansforming 2d data to 3d data KR101926701B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170103391A KR101926701B1 (en) 2017-08-16 2017-08-16 Apparatus and method for tansforming 2d data to 3d data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170103391A KR101926701B1 (en) 2017-08-16 2017-08-16 Apparatus and method for tansforming 2d data to 3d data

Publications (1)

Publication Number Publication Date
KR101926701B1 true KR101926701B1 (en) 2019-03-07

Family

ID=65760593

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170103391A KR101926701B1 (en) 2017-08-16 2017-08-16 Apparatus and method for tansforming 2d data to 3d data

Country Status (1)

Country Link
KR (1) KR101926701B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230077471A (en) 2021-11-25 2023-06-01 (주)천재교육 An apparatus and method for generating 3 dimension spatial modeling data using a plurality of 2 dimension images acquired at different locations, and a program therefor
KR20230144754A (en) 2022-04-08 2023-10-17 동신대학교산학협력단 Apparatus and method for automatically converting 2D drawing to 3D drawing
KR20230153165A (en) 2022-04-28 2023-11-06 동신대학교산학협력단 Home Furnishing O2O service platform system based on virtual simulation using XR technologies and apparatus and method for the same
KR20230153178A (en) 2022-04-28 2023-11-06 동신대학교산학협력단 System, apparatus and method for providing interior service based on virtual simulation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001222726A (en) * 1999-12-22 2001-08-17 Lucent Technol Inc Method and device for image processing
KR20160012762A (en) 2014-07-25 2016-02-03 이충영 3D image from a 2D picture of the method of converting the three-dimensional shape
KR101597940B1 (en) * 2015-07-09 2016-02-26 중앙대학교 산학협력단 Method of generating gesture of an avatar and computing device for performing the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001222726A (en) * 1999-12-22 2001-08-17 Lucent Technol Inc Method and device for image processing
KR20160012762A (en) 2014-07-25 2016-02-03 이충영 3D image from a 2D picture of the method of converting the three-dimensional shape
KR101597940B1 (en) * 2015-07-09 2016-02-26 중앙대학교 산학협력단 Method of generating gesture of an avatar and computing device for performing the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230077471A (en) 2021-11-25 2023-06-01 (주)천재교육 An apparatus and method for generating 3 dimension spatial modeling data using a plurality of 2 dimension images acquired at different locations, and a program therefor
KR20230144754A (en) 2022-04-08 2023-10-17 동신대학교산학협력단 Apparatus and method for automatically converting 2D drawing to 3D drawing
KR20230153165A (en) 2022-04-28 2023-11-06 동신대학교산학협력단 Home Furnishing O2O service platform system based on virtual simulation using XR technologies and apparatus and method for the same
KR20230153178A (en) 2022-04-28 2023-11-06 동신대학교산학협력단 System, apparatus and method for providing interior service based on virtual simulation

Similar Documents

Publication Publication Date Title
KR101926701B1 (en) Apparatus and method for tansforming 2d data to 3d data
US11196973B2 (en) Providing apparatus, providing method and computer readable storage medium for performing processing relating to a virtual viewpoint image
JP6778163B2 (en) Video synthesizer, program and method for synthesizing viewpoint video by projecting object information onto multiple surfaces
CN106296781B (en) Special effect image generation method and electronic equipment
WO2004072903A3 (en) Method for the 3d modeling of a tubular structure
JP5197683B2 (en) Depth signal generation apparatus and method
US9087406B2 (en) Automated stereoscopic computer-animation techniques for determining scaled stereo parameters
KR20110116671A (en) Apparatus and method for generating mesh, and apparatus and method for processing image
JP2002123842A (en) Device for generating stereoscopic image, and medium for recording information
TW201206151A (en) Method and system for generating images of a plurality of views for 3D image reconstruction
CN105611267B (en) Merging of real world and virtual world images based on depth and chrominance information
RU2020103459A (en) DEVICE AND METHOD FOR IMAGE FORMATION
CN102480626A (en) Image processing apparatus, display apparatus and image processing program
CN110915206A (en) Systems, methods, and software for generating a virtual three-dimensional image that appears to be projected in front of or above an electronic display
US9609304B2 (en) 3-dimensional data processing apparatus and method
US11227357B2 (en) Data processing apparatus, data processing method, and computer program
JP5691965B2 (en) Depth estimation data generation apparatus, generation method and generation program, and pseudo stereoscopic image generation apparatus, generation method and generation program
KR101511315B1 (en) Method and system for creating dynamic floating window for stereoscopic contents
KR102091860B1 (en) Method and apparatus for image encoding
WO2013027773A1 (en) Image processing device, image processing method, and recording medium
CN112862968B (en) Rendering display method, device and equipment of target vegetation model and storage medium
JP2019149112A (en) Composition device, method, and program
WO2020059575A1 (en) Three-dimensional image generation device, three-dimensional image generation method, and program
JP2018538010A5 (en)
KR20170077331A (en) Arbitrary View Image Generation Method and System