JP2014140133A - Image processing device, image processing method, and program for converting two-dimensional image information into three-dimensional image information - Google Patents
Image processing device, image processing method, and program for converting two-dimensional image information into three-dimensional image information Download PDFInfo
- Publication number
- JP2014140133A JP2014140133A JP2013008626A JP2013008626A JP2014140133A JP 2014140133 A JP2014140133 A JP 2014140133A JP 2013008626 A JP2013008626 A JP 2013008626A JP 2013008626 A JP2013008626 A JP 2013008626A JP 2014140133 A JP2014140133 A JP 2014140133A
- Authority
- JP
- Japan
- Prior art keywords
- image information
- image
- dimensional
- dimensional image
- image object
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本発明は、2次元画像情報を3次元表示器で表示する為に3次元画像情報に変換する画像処理装置、画像処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program for converting 2D image information into 3D image information for display on a 3D display.
2次元画像情報を表示する2次元表示器と3次元画像情報を表示する3次元表示器が有り、両者を両方の表示器で表示したい場合が有る。 There are two-dimensional displays that display two-dimensional image information and three-dimensional displays that display three-dimensional image information, and there are cases where it is desired to display both on both displays.
特許文献1及び2には、自然画からなる2次元画像情報を疑似的に3次元情報に変換して3次元表示する技術が開示されている。
しかしながら、描画ソフト等で人工的に作成されたCGやプレゼンテーション用の2次元画像情報は各画像オブジェクト自体に遠近情報を持たない為、1や2で開示された技術が適用出来無く、違和感の無い3次元表示可能な3次元画像情報には上手く変換できない。 However, since the two-dimensional image information for CG or presentation artificially created by drawing software or the like does not have perspective information in each image object itself, the techniques disclosed in 1 and 2 cannot be applied, and there is no sense of incongruity. It cannot be successfully converted into 3D image information that can be displayed in 3D.
本発明に係る画像処理装置は、
画像情報入力部から2次元画像情報を取得し、2次元画像情報解析部で2次元画像情報を構成する各画像オブジェクトを解析した結果に従って、2次元−3次元画像情報変換部で疑似的に2次元画像情報を3次元表示器で表示出来る3次元画像情報に変換する。
An image processing apparatus according to the present invention includes:
Two-dimensional image information is acquired from the image information input unit, and the two-dimensional to three-dimensional image information conversion unit performs
本発明によれば、既存の2次元画像情報を違和感の無い疑似的な3次元画像情報に変換して3次元表示器で立体表示出来る。 According to the present invention, existing two-dimensional image information can be converted into pseudo three-dimensional image information without a sense of incongruity and stereoscopically displayed on a three-dimensional display.
実施例の説明に先立って、本明細書で用いる用語について簡単に説明する。 Prior to the description of the embodiments, terms used in this specification will be briefly described.
2次元画像は、表示器で表示する、例えば人や図形などを表す2次元の画像そのものを示している。 The two-dimensional image indicates a two-dimensional image itself that is displayed on a display device and represents, for example, a person or a figure.
3次元画像は、3次元表示器で立体的に表示される、例えば人や図形などを表す3次元の画像そのものを示している。例えば、3次元画像は、視差を有する複数の2次元画像で構成される。例えば左目用と右目用の視差を有する一対の2次元画像を両目で見る事で得られる画像である。 The three-dimensional image indicates a three-dimensional image itself that is displayed in a three-dimensional manner on a three-dimensional display, for example, representing a person or a figure. For example, a three-dimensional image is composed of a plurality of two-dimensional images having parallax. For example, it is an image obtained by viewing a pair of two-dimensional images having parallax for left eye and right eye with both eyes.
2次元画像情報または3次元画像情報は、上記の2次元画像または3次元画像を表示するための信号源を示している。特に3次元画像情報は、少なくとも左目用および右目用の一対の2次元画像情報を有する。 The two-dimensional image information or the three-dimensional image information indicates a signal source for displaying the two-dimensional image or the three-dimensional image. In particular, the three-dimensional image information includes at least a pair of two-dimensional image information for the left eye and the right eye.
画像の一部を画像オブジェクトと称す。2次元画像中で、画像オブジェクトが他の画像オブジェクトと少なくともその一部が重なり、該重なった部分で上に表示される画像オブジェクトを手前の画像オブジェクトと表現する。該手前の画像オブジェクトでその一部が下に隠れて表示される画像オブジェクトを奥の画像オブジェクトと表現する。 A part of the image is referred to as an image object. In a two-dimensional image, an image object is at least partially overlapped with another image object, and an image object displayed on the overlapped portion is expressed as a front image object. An image object that is partly hidden and displayed in the front image object is expressed as a back image object.
次に、簡単に3次元表示器について説明する。本発明実施例で用いる3次元表示器は、3次元画像情報として、その表示器の1つの画面中に複数の2次元画像情報を同時に表示している。具体的には、3次元表示器に表示される2次元画像は、少なくともユーザーの左目および右目の各視点から見た2枚以上の複数の2次元画像情報となっている。 Next, the three-dimensional display will be briefly described. The three-dimensional display used in the embodiment of the present invention simultaneously displays a plurality of pieces of two-dimensional image information on one screen of the display as three-dimensional image information. Specifically, the two-dimensional image displayed on the three-dimensional display is at least two or more pieces of two-dimensional image information viewed from each viewpoint of the left eye and right eye of the user.
以下、本発明を実施するための形態について図面を用いて説明する。本実施形態では、ユーザーが3次元表示器で2次元画像情報を表示する際、該2次元画像情報を疑似的に3次元画像情報に自動的に変換する画像処理装置を例に説明するが、これに限定されるものではない。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In the present embodiment, an example is described of an image processing apparatus that automatically converts 2D image information into pseudo 3D image information when the user displays 2D image information on a 3D display. It is not limited to this.
<実施例1>
図1は、実施例の画像処理装置の一例を示す概略図である。図1に於いて本発明として2次元画像情報を疑似的に3次元画像情報に変換する為の画像処理装置は一般的なパーソナルコンピュータ(以後PCと称する)1を有し、ネットワーク回線110等から画像情報等をネットワーク制御部90を介して取得する。また画像処理装置は、少なくとも、3次元画像情報に基づいた3次元画像を立体表示する為の3次元表示装置2を有し、必要に応じて、2次元画像情報に基づいた2次元画像を表示する為の2次元表示装置50を有する。表示すべき画像情報に応じて3次元表示装置2かあるいは2次元表示装置50で画像を表示する事が出来る。
<Example 1>
FIG. 1 is a schematic diagram illustrating an example of an image processing apparatus according to an embodiment. In FIG. 1, an image processing apparatus for converting two-dimensional image information into pseudo-three-dimensional image information according to the present invention has a general personal computer (hereinafter referred to as a PC) 1 and is connected to a
PC1はCPU(Central Processing Unit)10で制御される。PC1は、3次元画像情報や本実施例に用いられるプログラム等を保持する記憶部80を有する。またPC1は、各種設定やプログラムを格納するROM(Read Only Memory)60及び、一時的な記憶手段として機能するRAM(Random Access Memory)70を有する。3次元表示装置2は、3次元画像を表示する3次元表示器30を有する。また、3次元表示装置2は、3次元表示器の表示面にタッチパネル40を有し、表示した3次元画像を直接タッチして指定すると共に、キーボードやマウスで構成する操作入力部55と同様にユーザーのPCへの各種の入力操作を可能にする。撮像手段20は一般的表示器に装備された物で、ユーザーの位置やユーザーの動作を認識する為に3次元表示器30の近傍に設けられている。
The PC 1 is controlled by a CPU (Central Processing Unit) 10. The PC 1 includes a
<画像処理装置の機能ブロック>
図2は、本実施例の画像処理装置1の画像処理機能のブロックの一例を示す図である。画像情報入力部300、2次元画像情報解析部302、2次元−3次元画像情報変換部303は、CPU10、ROM60、RAM70から構成されており、図3で示すフローチャートの処理を実行することが可能となっている。これは、ROM60に、図3のフローチャートを処理するためのプログラムが含まれているためである。CPUがこのプログラムを適宜、RAMにロードして実行することにより処理は実行される。
また、2次元画像情報記憶部301及び3次元画像情報記憶部304は記憶部80の一部や一時的に画像を保持するRAM70である。
<Functional block of image processing apparatus>
FIG. 2 is a diagram illustrating an example of a block of an image processing function of the
The two-dimensional image
画像情報入力部300は、CPU10で実行される電子文書作成アプリケーションソフトウエアーによって、記憶部80またはネットワーク制御部90から画像情報を取得する。
The image
画像処理装置1は、画像情報入力部300から2次元画像情報は2次元画像情報記憶部301に、3次元画像情報は3次元画像情報記憶部304に入力し、記憶保持する。
The
一方2次元画像情報記憶部301に記憶保持した2次元画像情報を取り出し、2次元画像情報解析部302で該2次元画像情報を解析する。該解析結果に従って、2次元−3次元画像情報変換部303は疑似的に2次元画像情報を3次元表示器で表示出来る3次元画像情報に変換する。
On the other hand, the 2D image information stored and held in the 2D image
<2次元画像情報を3次元画像情報に変換する方法>
図3に本実施例による3次元画像情報への変換処理のフローチャートを示す。
<Method of Converting 2D Image Information to 3D Image Information>
FIG. 3 shows a flowchart of the conversion process to three-dimensional image information according to the present embodiment.
ユーザーが操作入力部55から特定の画像表示を伴う指示を行った場合、該ユーザーの操作指示が3次元表示器での表示か、2次元表示器での表示か、ステップS401で検知する。つぎに、2次元表示器(例えば、2次元表示器50)で2次元画像情報を表示するなら、ステップS404はステップS409に分岐し、2次元画像情報記憶部301から表示すべき2次元画像情報を取得し、ステップS411で2次元表示器50に表示する。
When the user gives an instruction accompanied by a specific image display from the
一方3次元表示器(例えば、3次元表示器30)で3次元画像情報を表示するなら、ステップS401からステップS402、ステップS408に分岐し、3次元画像情報記憶部304から3次元画像情報をステップS408で取得し、ステップS410で3次元表示器30で表示する。
On the other hand, if 3D image information is displayed on a 3D display (for example, 3D display 30), the process branches from step S401 to step S402 and step S408, and the 3D image information is stored in the 3D image
一方、ユーザーの操作指示が、3次元表示器(例えば、3次元表示器30)で2次元画像情報を表示するなら、ステップS402からステップS403に分岐する。ステップS403は2次元画像情報記憶部301から2次元画像情報を読み出し、2次元画像情報解析部302で取得した2次元画像情報を解析する。更に、2次元画像情報解析部302で解析した結果に従って、2次元−3次元画像情報変換部303は疑似的に3次元画像情報に変換する。
On the other hand, if the user's operation instruction displays 2D image information on a 3D display (for example, 3D display 30), the process branches from step S402 to step S403. In step S403, the two-dimensional image information is read from the two-dimensional image
その後、変換した3次元画像情報をステップS407は3次元画像情報記憶部304に一端記憶する。
Thereafter, the converted three-dimensional image information is temporarily stored in the three-dimensional image
再度、ステップS408で記憶した3次元画像情報を取得して、ステップS410で3次元表示器30で表示する。尚本発明の特徴とするステップS403の処理は詳細に後述する。
The 3D image information stored in step S408 is acquired again and displayed on the
尚、ユーザーの操作指示が、2次元表示器(例えば、2次元表示器50)で3次元画像情報を表示するなら、ステップS401からステップS404を経てステップS405に分岐する。ステップS405は3次元画像情報記憶部304から表示すべき3次元画像情報の内、左目用表示の為の画像を読み出し、ステップS406でこの画像情報を2次元画像情報記憶部301に保存する。
If the user's
その後ステップS409で2次元画像情報記憶部301から該表示すべき該2次元画像情報を取得し、ステップS411で2次元表示器50に表示する。表示すべき2次元画像情報は3次元画像情報記憶部304から一対の視差画像の内、どちらか一方で有れば、右目用画像でも左目用画像でもどちらでも構わない。
Thereafter, the two-dimensional image information to be displayed is acquired from the two-dimensional image
図4は立体視画像表示の対象となる画像オブジェクトの表示画面からの飛び出し位置と画像オブジェクトの表示画面上のずらし量(両眼視差)の関係を示す図である。表示画面の位置からユーザの視聴位置までの距離をL(なお、Lは予め設定されているものとする)、2次画像情報の表示画面上のずらし量(両眼視差)をp、ユーザーの両眼間隔をe、表示画面の位置から飛び出し位置までの距離(飛び出し量)をdとする。 FIG. 4 is a diagram showing the relationship between the jump-out position of the image object to be displayed as a stereoscopic image display from the display screen and the shift amount (binocular parallax) of the image object on the display screen. The distance from the position of the display screen to the user's viewing position is L (L is assumed to be set in advance), and the shift amount (binocular parallax) on the display screen of the secondary image information is p, Assume that the distance between both eyes is e, and the distance from the position of the display screen to the pop-out position (the pop-out amount) is d.
ここで、表示画面からどの程度飛び出して見えるようにするかは、予め、ユーザーがファイル単位で設定するものとする。 Here, it is assumed that the user sets in advance how much the image is projected from the display screen in units of files.
図5で示すUI画面は、タッチパネル40上に表示され、電子文書作成アプリケーション内で飛び出し効果を設定する設定画面の一例を示しており、どの程度飛び出して見えるようにするかを1〜3の3段階で設定できるようになっている。値が大きいほど、表示画面から飛び出して見える度合いが大きくなる。なお、飛び出し効果設定で3が設定されると、両眼視差は両眼間隔と同じものになるとする。また、2が設定されると、両眼視差は両眼間隔の2/3、また、1が設定されると両眼視差は両眼間隔の1/3とする。
The UI screen shown in FIG. 5 is displayed on the
この場合において、表示画面の位置、視聴位置、及び飛び出し位置の相互間には以下の式(1)が成立する。 In this case, the following formula (1) is established between the position of the display screen, the viewing position, and the pop-out position.
d:p=(L−d):e
そして上記式(1)から、飛び出し量dは、以下の式(2)によって求められることになる。
d: p = (L−d): e
From the above equation (1), the pop-out amount d is obtained by the following equation (2).
d=pL/(p+e)
例えば、L=5000mm、両眼間隔e=65mm(成人の場合)、そして飛び出し効果が3(即ち、p=65mm)と仮定すると、飛び出し量dは2500mmとなる。即ち、オブジェクトは、画面とユーザーの視聴位置の真ん中まで飛び出してくることになる。
d = pL / (p + e)
For example, assuming that L = 5000 mm, binocular distance e = 65 mm (in the case of an adult), and the pop-out effect is 3 (that is, p = 65 mm), the pop-out amount d is 2500 mm. That is, the object jumps out to the middle of the screen and the viewing position of the user.
L=5000mm、e=65mm、飛び出し効果が2(p=43mm)と仮定すると、飛び出し量dは1991mmとなる。 Assuming that L = 5000 mm, e = 65 mm, and the pop-out effect is 2 (p = 43 mm), the pop-out amount d is 1991 mm.
L=5000mm、e=65mm、飛び出し効果が1(p=21mm)と仮定すると、飛び出し量dは1221mmとなる。 Assuming that L = 5000 mm, e = 65 mm, and the pop-out effect is 1 (p = 21 mm), the pop-out amount d is 1221 mm.
図6は本発明によって2次元画像情報を3次元画像情報に変換する一実施例である。
図7は2次元画像情報解析部302及び2次元−3次元画像情報変換部303が、ステップS403で、2次元画像情報から3次元画像情報へ変換する処理の詳細を示したフローチャートである。
FIG. 6 shows an embodiment for converting two-dimensional image information into three-dimensional image information according to the present invention.
FIG. 7 is a flowchart showing details of processing in which the 2D image
本実施例は、ROM60、あるいは記憶部80に予めユーザーが設定した飛び出し効果の設定値が1の時の処理であり、図6及び図7を用いて詳説する。
This embodiment is processing when the setting value of the pop-out effect preset by the user in the
図6の図中701は、矩形の画像オブジェクト702、703、704を持つ2次元画像情報であり、ステップS412で2次元画像記憶部301から取得する。次に、ステップS413で該2次元画像情報から、それぞれ右目用画像、左目用画像を生成し、3次元画像記憶部304に一旦記憶保持する。この状態ではユーザーは、図6で示す画像オブジェクト702、703、704は同じ3次元位置に平面的に見える。
In FIG. 6,
2次元画像情報解析部302はステップS414で順次各画像オブジェクトの属性を解析し、他の画像オブジェクトの上に重なってるか否かを判定する。
In step S414, the two-dimensional image
図6の2次元画像情報701の画像オブジェクト702は他の画像オブジェクトの上に重なって居ない為、ステップS416に分岐する。次に、ステップ416で全ての画像オブジェクトに対して該重なりの分析を終了するまで2次元画像情報解析部302はステップS414で各画像オブジェクトの属性に対する判定を繰り返す。
Since the
即ち、2次元画像情報701の、画像オブジェクト702、及び画像オブジェクト703、及び画像オブジェクト704を順に判定する。
That is, the
本実施例では画像オブジェクト703は画像オブジェクト702の上に重なる為、ステップS414からステップS415に分岐する。
In this embodiment, since the
他の画像オブジェクトの上に重なる画像オブジェクトは下の画像オブジェクトに対して、3次元表示される様に3次元画像情報に変換する。従ってステップS415では右目用画像709としてステップS413で3次元画像記憶部304に記憶保持した3次元画像情報の中の画像オブジェクト703を左に21mm移動した位置に描画して3次元画像記憶部304に再度記憶保持する。
An image object that is superimposed on another image object is converted into three-dimensional image information so that the lower image object is three-dimensionally displayed. Accordingly, in step S415, the
即ち図6に於いて仮想平面図710で画像オブジェクト703を711から距離1221mmだけ手前の712に疑似的に3次元変換する。
In other words, in FIG. 6, the
同様に画像オブジェクト704も画像オブジェクト703の上に重なっている為、
仮想平面図710上での位置712から1221mmだけ手前の713に疑似的に3次元変換する。即ち画像オブジェクト704は画像オブジェクト701に対して1221×2=2442mm手前に疑似的に3次元変換する。
Similarly, since the
Pseudo three-dimensional conversion is performed from the
従って図6に示す右目用画像情報709は左目用画像情報701に対して、まず画像オブジェクト703は21mmだけ左に移動して707として描画し、画像オブジェクト704は2×21mm=42mmだけ左に移動して708として描画する。
Therefore, the image information 709 for the right eye shown in FIG. 6 is first moved to the left by 21 mm and drawn as 707 with respect to the
そして、描画した画像を3次元画像情報705として、3次元画像記憶部304に再度記憶保持する。
Then, the drawn image is stored and held again in the 3D
尚画像オブジェクト702は左右画像情報701と709と同じ位置に描画されたままの為、3次元位置に立体表示される。
Since the
<2次元画像情報から3次元画像情報への変換する 実施例2>
図8は、本発明によって2次元画像情報を3次元画像情報に変換する実施例2である。本別実施例は、図8において、2次元画像情報901の画像オブジェクト903と画像オブジェクト904がグループ化されている場合の例である。
<Example 2 for Converting 2D Image Information to 3D Image Information>
FIG. 8 is a second embodiment of converting 2D image information into 3D image information according to the present invention. This embodiment is an example when the
図9は2次元画像情報解析部302及び2次元−3次元画像情報変換部303がステップS403で2次元画像情報から3次元画像情報へ変換する処理の詳細を示したフローチャートである。
FIG. 9 is a flowchart showing details of processing in which the 2D image
本実施例は、ROM60、あるいは記憶部80に予めユーザーが設定した飛び出し効果の設定値が2の時の処理であり、図8及び図9を用いて詳説する。
This embodiment is processing when the setting value of the pop-out effect preset by the user in the
先の従来例と同じ2次元画像情報をステップS412で2次元画像記憶部301から取得し、ステップS413で該2次元画像情報を其々左目用2次元画像、即ち画像4、右目用2次元画像、即ち画像5として3次元画像記憶部304に一端記憶保持する。
In step S412, the same two-dimensional image information as in the conventional example is acquired from the two-dimensional
2次元画像情報解析部302はステップS414で各画像オブジェクトの属性を分析し、他の画像オブジェクトの上に重なってるか否かを決定する。今画像オブジェクト902は他の画像オブジェクトの上に重なって居ない為、ステップS416に分岐する。次に、ステップ516で全ての画像オブジェクトに対して該重なりの分析を終了するまで2次元画像情報解析部302はステップS414で各画像オブジェクトに対する判定を繰り返す。
In step S414, the two-dimensional image
即ち、画像オブジェクト902、及び画像オブジェクト903、及び画像オブジェクト904を順に判定する。
That is, the
本実施例では画像オブジェクト903は画像オブジェクト902の上に重なる為、ステップS414からステップS417に分岐する。次に、2次元画像情報解析部302はステップS417で各画像オブジェクトの属性を分析し、他の画像オブジェクトとのグループ化の有無を判定する。画像オブジェクトは903は、画像オブジェクト902とグループ化されていないので、ステップS415に分岐する。本実施例は、他の画像オブジェクトの上に重なる画像オブジェクトは下の画像オブジェクトに対して1991mmに3次元表示される様に3次元画像情報に変換する。従って右目用画像用としてステップS413で3次元画像記憶部304に記憶保持した3次元画像情報の中の画像オブジェクト903を左に43mm移動した位置に描画して3次元画像記憶部304に再度記憶保持する。
In this embodiment, since the
即ち、図8の仮想平面図910で、画像オブジェクト903を911から距離1991mmだけ手前の912に疑似的に3次元変換する。
In other words, in the
同様に画像オブジェクト904も画像オブジェクト903の上に重なっている為、
ステップS417に分岐し、2次元画像情報解析部302はステップS417で各画像オブジェクトの属性を分析し、他の画像オブジェクトとのグループ化の有無を判定する。画像オブジェクト904は、下の画像オブジェクト903とグループ化されている為、例外的に描画処理ステップS418へ分岐し、下の画像オブジェクト903と同様の距離分(43mm)左に移動した位置に描画して3次元画像記憶部304に再度記憶保持する。これは、画像オブジェクト904は画像オブジェクト903の上で重なってはいるが、グループ化されている為、画像オブジェクト903の手前に表示させないで、画像オブジェクト903と同じ奥行き方向の位置に3次元変換するためである。
Similarly, since the
The process branches to step S417, and the two-dimensional image
即ち、図8の仮想平面図910で、画像オブジェクト904を911から距離1991mmだけ手前の913に、つまり912と同じ奥行き方向の位置に疑似的に3次元変換する。
That is, in the
従って図8に示す右目用画像情報909は左目用画像情報901に対して、まず画像オブジェクト903は43mmだけ左に移動して907として描画し、画像オブジェクト904も同様に43mmだけ左に移動し908として描画する。
Accordingly, the
そして、描画した画像を3次元画像情報908として、3次元画像記憶部304に再度記憶保持する。
The rendered image is stored and held again in the 3D
本実施例は先の実施例で疑似的に3次元化した際に、特に同じ画像オブジェクトの面にある模様等が、不自然に飛び出て3次元化される事を防止出来る利点を有する。 This embodiment has an advantage that, when it is pseudo-three-dimensionalized in the previous embodiment, a pattern on the surface of the same image object can be prevented from popping out unnaturally and three-dimensionally.
<2次元画像情報から3次元画像情報への変換する 実施例3>
図10は2次元画像情報解析部302及び2次元−3次元画像情報変換部303がステップS403で2次元画像情報から3次元画像情報へ変換する処理の実施例3の詳細を示したフローチャートである。本実施例は、ROM60、あるいは記憶部80に予めユーザーが設定した飛び出し効果の設定値が1の時の処理であり、図10を用いて詳説する。
<Third Example of Conversion from 2D Image Information to 3D Image Information>
FIG. 10 is a flowchart showing details of the third embodiment of the process in which the 2D image
先の従来例と同じ2次元画像情報をステップS412で2次元画像記憶部301から取得し、ステップS413で該2次元画像情報を其々左目用2次元画像右目用2次元画像として3次元画像記憶部304に一端記憶保持する。
The same two-dimensional image information as in the conventional example is acquired from the two-dimensional
2次元画像情報解析部302はステップS414で各画像オブジェクトの属性を分析し、他の画像オブジェクトの上に重なってるか否かを判定する。今画像オブジェクトが他の画像オブジェクトの上に重なって居ない場合は、ステップS416に分岐する。次にステップ416で全ての画像オブジェクトに対して該重なりの分析を終了するまで2次元画像情報解析部302はステップS414で各画像オブジェクトに対する判定を繰り返す。
In step S414, the two-dimensional image
画像オブジェクトが他の画像オブジェクの上に重なる場合は、ステップS414からステップS419に分岐する。 If the image object overlaps another image object, the process branches from step S414 to step S419.
2次元画像情報解析部302はステップS419で画像オブジェクトの大きさを既定サイズと比較し、既定値より大きい場合はステップS415に分岐する。本実施例では、既定サイズは、高さ1cm×幅1cmとする。
The two-dimensional image
次に、先の実施例と同様に、他の画像オブジェクトの上に重なる画像オブジェクトは下の画像オブジェクトに対して1221mmに3次元表示される様に3次元画像情報に変換する。 Next, as in the previous embodiment, an image object that is superimposed on another image object is converted into three-dimensional image information so that it is displayed three-dimensionally at 1221 mm with respect to the lower image object.
一方、2次元画像情報解析部302がステップS419で画像オブジェクトの属性を分析した結果、その大きさが既定値(1cm×1cm)より小さい場合は、描画処理ステップS418へ分岐し、下の画像オブジェクトと同様の距離分(21mm)左に移動した位置に描画して3次元画像記憶部304に再度記憶保持する。
On the other hand, if the size of the two-dimensional image
即ち他の画像オブジェクトの上に重なる画像オブジェクトであるが、サイズが小さい為、下の画像オブジェクトと同じ3次元位置で表示される様に疑似的に3次元画像情報に変換する。ここで面積を有さない単独の線や文字、線で囲まれた閉区間を持たないでグループ化された複数の点や線も既定値より小さいサイズの画像オブジェクトと判断する。 That is, although it is an image object that is superimposed on another image object, since it is small in size, it is converted into pseudo three-dimensional image information so that it is displayed at the same three-dimensional position as the lower image object. Here, a single line or character having no area, and a plurality of points or lines grouped without having a closed section surrounded by the line are also determined to be image objects having a size smaller than a predetermined value.
本実施例は先の実施例で疑似的に3次元化した際に、特に同じ画像オブジェクトの面にある模様等が、不自然に飛び出て3次元化される事を防止出来る利点を有する。 This embodiment has an advantage that, when it is pseudo-three-dimensionalized in the previous embodiment, a pattern on the surface of the same image object can be prevented from popping out unnaturally and three-dimensionally.
<2次元画像情報から3次元画像情報へ変換する他の実施例>
図11−Aは本発明の特徴とする2次元画像分析部302が各画像オブジェクトの属性を分析し、その結果に従って2−3次元画像変換部303が該当する画像オブジェクトを疑似的に3次元画像に変換する他の実施例を示す。2次元画像情報中画像オブジェクトBは画像オブジェクトAとその一部が重なっている。本実施例の2次元画像情報解析部302は各画像オブジェクト全体が他の画像オブジェクトに重なっている場合は重なった画像オブジェクトを手前に疑似的に3次元化せず、一部が重なった画像オブジェクトBの場合のみ画像オブジェクトAより手前に疑似的に3次元化して変換する。
<Another Example of Conversion from 2D Image Information to 3D Image Information>
In FIG. 11A, the two-dimensional
本実施例は先の実施例で疑似的に3次元化した際に、特に同じ画像オブジェクトの面にある模様等が、不自然に飛び出て3次元化される事を防止出来る利点を有する。 This embodiment has an advantage that, when it is pseudo-three-dimensionalized in the previous embodiment, a pattern on the surface of the same image object can be prevented from popping out unnaturally and three-dimensionally.
図11−Bは本発明の特徴とする2次元画像分析部302が各画像オブジェクトの属性を分析し、その結果に従って2−3次元画像変換部303が該当する画像オブジェクトを疑似的に3次元画像に変換する他の実施例を示す。
In FIG. 11-B, the 2D
2次元画像情報中画像オブジェクトBは特定の既定形状をしており、画像オブジェクトAと重なっている。本実施例の2次元画像情報解析部302は他の画像オブジェクトに重なっている全ての画像オブジェクトを手前に疑似的に3次元化せず、特定の形状の画像オブジェクトBの場合のみ画像オブジェクトAより手前に疑似的に3次元化して変換する。特定の形状とは2次元表示画像として特に強調して表示する為に用いられる形状で、ユーザーが予め設定しておく。尚、画像オブジェクトが一般の文書作成アプリーケーション等で作成され、其々ベクトルデータで2次元画像情報記憶部301に記憶保持されていれば2次元画像情報解析部302は各画像オブジェクト毎に有する属性や付帯情報から容易に各画像オブジェクトが既定形状の画像オブジェクトである事を検出出来る。
The image object B in the two-dimensional image information has a specific default shape and overlaps the image object A. The two-dimensional image
本実施例は必然性の高い画像オブジェクトを疑似的に3次元化出来る利点を有する。 This embodiment has an advantage that a highly necessary image object can be pseudo-three-dimensionalized.
図11−Cは本発明の特徴とする2次元画像分析部302が各画像オブジェクトの属性を分析し、その結果に従って2−3次元画像変換部303が該当する画像オブジェクトを疑似的に3次元画像に変換する他の実施例を示す。
2次元画像情報中画像オブジェクトBはアニメーションの設定がされている画像オブジェクトである。本実施例の2次元画像情報解析部302はアニメーション設定されている画像オブジェクトを検出し、アニメーション設定されている画像オブジェクトBの場合のみアニメーション設定されていない画像オブジェクトAより手前に疑似的に3次元化して変換する。先の実施例では重なった画像オブジェクトを手前に3次元化したが、必ずしも手前に3次元化すべき必然性の高い画像オブジェクトは重なっているとは限らない。
In FIG. 11-C, the 2D
The image object B in the two-dimensional image information is an image object for which animation is set. The two-dimensional image
本実施例は必然性の高い画像オブジェクトを疑似的に3次元化出来る利点を有する。 This embodiment has an advantage that a highly necessary image object can be pseudo-three-dimensionalized.
図11−Dは本発明の特徴とする2次元画像分析部302が各画像オブジェクトの属性を分析し、その結果に従って2−3次元画像変換部303が該当する画像オブジェクトを疑似的に3次元画像に変換する他の実施例を示す。
In FIG. 11-D, the two-dimensional
2次元画像情報中画像オブジェクトBは影付け等他の一般の画像オブジェクトに対して強調して表示する画像オブジェクトである。本実施例の2次元画像情報解析部302は該強調処理を施した画像オブジェクトを検出し、例えば影付けされた画像オブジェクトBの場合のみ他の一般の画像オブジェクトAより手前に疑似的に3次元化して変換する。先の実施例では重なった画像オブジェクトを手前に3次元化したが、必ずしも手前に3次元化すべき必然性の高い画像オブジェクトは重なっているとは限らない。
The image object B in the two-dimensional image information is an image object displayed with emphasis on other general image objects such as shadowing. The two-dimensional image
本実施例は必然性の高い画像オブジェクトを疑似的に3次元化出来る利点を有する。 This embodiment has an advantage that a highly necessary image object can be pseudo-three-dimensionalized.
尚、図8、図9、図10及び図11で2次元画像分析部302が各画像オブジェクトの属性を分析し、その結果に従って2−3次元画像変換部303が該当する画像オブジェクトを疑似的に3次元画像に変換する別実施例を開示したが、これら全て、各画像オブジェクト自体の属性を分析した結果に応じて疑似的に特定の画像オブジェクトを3次元化する技術を開示する物で、3次元化する画像オブジェクトは開示された単独の各条件に限定される物では無く、他の実施例と組み合わせて実施可能な事は述べるまでも無い。又、2−3次元画像変換部303は単に手前に3次元化するのではなく、画像オブジェクトの属性に応じて異なる距離で手前に3次元化したり、或いは画像オブジェクトの属性に応じて任意の3次元位置へ3次元画像情報として変換する事も可能である。
8, 9, 10, and 11, the two-dimensional
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (7)
2次元画像情報に含まれる複数のオブジェクトが互いに重なっているか判定する判定手段と、
前記判定手段で複数のオブジェクトが互いに重なっていると判定した場合に、前記複数のオブジェクトに含まれる一部のオブジェクトが残りのオブジェクトよりも手前になるように各オブジェクトの奥行きを決定する決定手段と、
前記決定手段で決定された奥行きの情報を含む3次元画像情報を生成する生成手段とを有することを特徴とする装置。 An apparatus for generating 3D image information from 2D image information,
Determining means for determining whether or not a plurality of objects included in the two-dimensional image information overlap each other;
Determining means for determining the depth of each object so that some of the objects included in the plurality of objects are in front of the remaining objects when the determining means determines that the plurality of objects overlap each other; ,
A generating unit configured to generate three-dimensional image information including information on the depth determined by the determining unit.
前記複数のオブジェクトがグループ化されている場合に、例外的に前記複数のオブジェクトの奥行きが同じになるように各オブジェクトの奥行きを決定することを特徴とする請求項1に記載の装置。 The determining means includes
The apparatus according to claim 1, wherein when the plurality of objects are grouped, the depth of each object is determined so that the depth of the plurality of objects is exceptionally the same.
前記生成手段は、
前記左目用画像情報におけるオブジェクトの位置と、前記右目用画像情報におけるオブジェクトの位置をずらすことによって、前記3次元画像情報を生成することを特徴とする請求項1又は2に記載の装置。 The three-dimensional image information includes left-eye image information and right-eye image information,
The generating means includes
The apparatus according to claim 1, wherein the three-dimensional image information is generated by shifting a position of the object in the left-eye image information and a position of the object in the right-eye image information.
2次元画像情報に含まれる複数のオブジェクトが互いに重なっているか判定する判定工程と、
前記判定工程で複数のオブジェクトが互いに重なっていると判定した場合に、前記複数のオブジェクトに含まれる一部のオブジェクトが残りのオブジェクトよりも手前になるように各オブジェクトの奥行きを決定する決定工程と、
前記決定工程で決定された奥行きの情報を含む3次元画像情報を生成する生成工程とを有することを特徴とする方法。 A method of generating 3D image information from 2D image information,
A determination step of determining whether a plurality of objects included in the two-dimensional image information overlap each other;
A determination step of determining the depth of each object so that some objects included in the plurality of objects are in front of the remaining objects when it is determined in the determination step that the plurality of objects overlap each other; ,
A generating step of generating three-dimensional image information including information on the depth determined in the determining step.
前記複数のオブジェクトがグループ化されている場合に、例外的に前記複数のオブジェクトの奥行きが同じになるように各オブジェクトの奥行きを決定することを特徴とする請求項4に記載の方法。 The determination step includes
The method according to claim 4, wherein, when the plurality of objects are grouped, the depth of each object is determined so that the depth of the plurality of objects is exceptionally the same.
前記生成工程は、
前記左目用画像情報におけるオブジェクトの位置と、前記右目用画像情報におけるオブジェクトの位置をずらすことによって、前記3次元画像情報を生成することを特徴とする請求項4又は5に記載の方法。 The three-dimensional image information includes left-eye image information and right-eye image information,
The generating step includes
The method according to claim 4 or 5, wherein the three-dimensional image information is generated by shifting an object position in the left-eye image information and an object position in the right-eye image information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013008626A JP2014140133A (en) | 2013-01-21 | 2013-01-21 | Image processing device, image processing method, and program for converting two-dimensional image information into three-dimensional image information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013008626A JP2014140133A (en) | 2013-01-21 | 2013-01-21 | Image processing device, image processing method, and program for converting two-dimensional image information into three-dimensional image information |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014140133A true JP2014140133A (en) | 2014-07-31 |
Family
ID=51416631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013008626A Pending JP2014140133A (en) | 2013-01-21 | 2013-01-21 | Image processing device, image processing method, and program for converting two-dimensional image information into three-dimensional image information |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014140133A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113628260A (en) * | 2021-07-05 | 2021-11-09 | 中国科学院深圳先进技术研究院 | Image registration method and device, terminal equipment and storage medium |
-
2013
- 2013-01-21 JP JP2013008626A patent/JP2014140133A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113628260A (en) * | 2021-07-05 | 2021-11-09 | 中国科学院深圳先进技术研究院 | Image registration method and device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100913173B1 (en) | 3 dimension graphic processor and autostereoscopic display device using the same | |
US9829996B2 (en) | Operations in a three dimensional display system | |
CN103444190B (en) | Conversion when primary list is as the operation of 3D to three-dimensional 3D | |
US10706625B2 (en) | Information processing apparatus, control method, and storage medium storing program | |
US10389995B2 (en) | Apparatus and method for synthesizing additional information while rendering object in 3D graphic-based terminal | |
TW201505420A (en) | Content-aware display adaptation methods | |
US9986225B2 (en) | Techniques for cut-away stereo content in a stereoscopic display | |
JP2011164781A (en) | Stereoscopic image generation program, information storage medium, apparatus and method for generating stereoscopic image | |
JP6017795B2 (en) | GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME IMAGE GENERATION METHOD | |
JP2010259017A (en) | Display device, display method and display program | |
JP2022058753A (en) | Information processing apparatus, information processing method, and program | |
KR101919077B1 (en) | Method and apparatus for displaying augmented reality | |
JP5950701B2 (en) | Image display system, puzzle game system, image display method, puzzle game method, image display device, puzzle game device, image display program, and puzzle game program | |
JP2014140133A (en) | Image processing device, image processing method, and program for converting two-dimensional image information into three-dimensional image information | |
US8817081B2 (en) | Image processing apparatus, image processing method, and program | |
JP6266229B2 (en) | Image processing apparatus, method, and program | |
JP5428409B2 (en) | Image generation method | |
TWI812548B (en) | Method and computer device for generating a side-by-side 3d image | |
JP6562371B1 (en) | Display device, display processing device, and display processing program | |
JP5545995B2 (en) | Stereoscopic display device, control method thereof, and program | |
KR20120063349A (en) | Converting method, device and system for 3d stereoscopic cartoon, recording medium for the same | |
JP6330310B2 (en) | Image generation method, image generation apparatus, and program | |
CN118115693A (en) | Method and computer device for generating side-by-side three-dimensional images | |
JP2015119228A (en) | Image processor, image processing method, and program | |
JP2014089514A (en) | Device, method, and program for generating electronic document data |