JP3126575B2 - 3D image generator for stereoscopic vision - Google Patents

3D image generator for stereoscopic vision

Info

Publication number
JP3126575B2
JP3126575B2 JP05337006A JP33700693A JP3126575B2 JP 3126575 B2 JP3126575 B2 JP 3126575B2 JP 05337006 A JP05337006 A JP 05337006A JP 33700693 A JP33700693 A JP 33700693A JP 3126575 B2 JP3126575 B2 JP 3126575B2
Authority
JP
Japan
Prior art keywords
image
data
dimensional
viewpoint
processing
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.)
Expired - Fee Related
Application number
JP05337006A
Other languages
Japanese (ja)
Other versions
JPH07200870A (en
Inventor
行生 岸本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP05337006A priority Critical patent/JP3126575B2/en
Publication of JPH07200870A publication Critical patent/JPH07200870A/en
Application granted granted Critical
Publication of JP3126575B2 publication Critical patent/JP3126575B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、左右両眼にそれぞれ視
差に基づく異なる画像を提示する立体視用の3次元画像
生成装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a three-dimensional three-dimensional image generating apparatus for presenting different images based on parallax to both left and right eyes.

【0002】[0002]

【従来の技術】数値データによる対象物の3次元モデル
を計算機内に構築し、該モデルを立体的に表示する方法
が、数値解析やCADの分野のみならず多くのアプリケ
ーションソフトウェアで重要となっている。このような
立体表示は、単に3次元モデルを2次元に投影して平面
ディスプレイに表示することが行われて来たが、近年
は、左右の目に見える画像をそれぞれ提示することによ
って立体的に表示する立体視が実現されるようになって
いる。
2. Description of the Related Art A method of constructing a three-dimensional model of an object based on numerical data in a computer and displaying the model three-dimensionally has become important not only in the fields of numerical analysis and CAD but also in many application softwares. I have. In such a three-dimensional display, a three-dimensional model is simply projected two-dimensionally and displayed on a flat display, but in recent years, three-dimensional display is performed by presenting left and right visible images respectively. Stereoscopic vision for display is realized.

【0003】このような立体視のために2つの画像を立
体的に提示する方法には、次の2つの方法がある。 (1)左目用の画像と右目用の画像とを1つのディスプ
レイ上に時分割して表示し、液晶シャッター等を時分割
に同期して開閉するメガネを用いて見せる方法。 (2)2つのディスプレイを用意し、それぞれのディス
プレイに左右の目から見える画像を提示して、それぞれ
の目で見るようにする方法。
There are the following two methods for stereoscopically presenting two images for such stereoscopic viewing. (1) A method in which an image for the left eye and an image for the right eye are displayed in a time-division manner on one display, and a liquid crystal shutter or the like is displayed using glasses that open and close in synchronization with the time division. (2) A method of preparing two displays, presenting images that can be viewed from the left and right eyes on each display, and viewing the images with each eye.

【0004】いずれの方法においても、2つの立体視用
の画像を生成する場合には、従来、例えば図6に示すよ
うに、表示するモデルデータをモデリング変換した後、
透視投影変換からクリッピング処理を経て隠面消去・シ
ェーディング処理までを左右それぞれの画像用に独立し
た構成をとって、左右それぞれ独立に行っている。得ら
れた表示用データ(ラスタデータ)は、対応するそれぞ
れのフレームバッファに書き込まれた後、各ディスプレ
イに個別に表示されたり、1つのディスプレイに時分割
して表示される。なお、このほかに、モデリング変換か
らすべて左右独立した構成をとっているものもある。
In either method, when two images for stereoscopic viewing are generated, conventionally, for example, as shown in FIG.
From the perspective projection transformation to the hidden surface elimination / shading processing via the clipping processing, the left and right images are independently performed for the left and right images independently. After the obtained display data (raster data) is written into the corresponding frame buffers, it is individually displayed on each display or displayed on one display in a time-division manner. In addition, in addition to the above, there is a configuration in which all the left and right are independent of the modeling conversion.

【0005】[0005]

【発明が解決しようとする課題】このように、従来の装
置では、透視投影変換からクリッピング処理、隠面消去
処理、シェーディング処理に至る一連の過程が左右のデ
ィスプレイ用にそれぞれ独立した構成で独立に処理され
ている。これは、図7に示すようにある対象物を上から
見た場合に、左右の目から見える各画像が、両目の間隔
の分だけ視点がずれているために、それぞれの目で見た
対象物の形状や色などが異なって見えるためである。
As described above, in the conventional apparatus, a series of processes from the perspective projection conversion to the clipping process, the hidden surface elimination process, and the shading process are independently performed for the left and right displays in an independent configuration. Is being processed. This is because, when a certain object is viewed from above as shown in FIG. 7, the images viewed from the left and right eyes are shifted from the viewpoint by the distance between both eyes, so that the object viewed by each eye is shifted. This is because the shapes and colors of the objects look different.

【0006】しかしながら、上記従来の立体視用3次元
画像生成装置では、左右の目から見た各画像がそれぞれ
独立した構成で取り扱われるために、1つの画像を生成
する場合と比較して2倍の装置構成を必要とするという
問題点があった。また、上記の各種処理をそれぞれ左右
1セットで処理する場合には、例えば左右の画像を順に
生成して同期させるため、左右1セットの画像を生成し
終わるまでの計算量が多くなり、そのため、処理時間が
長くなるという問題点があった。
However, in the above-described conventional three-dimensional image generating apparatus for stereoscopic viewing, each image viewed from the left and right eyes is handled in an independent configuration, so that it is twice as large as when one image is generated. However, there is a problem that the device configuration is required. In addition, when the above-described various processes are performed in one set of left and right images, for example, in order to generate and synchronize the left and right images in order, the amount of calculation until the generation of one set of left and right images is increased. There is a problem that the processing time becomes long.

【0007】本発明は、このような従来技術の問題点に
鑑みてなされたものであり、装置構成を簡素化し全体と
しての計算量を低減しうる立体視用3次元画像生成装置
を提供することを課題とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such problems of the prior art, and provides a stereoscopic three-dimensional image generating apparatus capable of simplifying the apparatus configuration and reducing the amount of calculation as a whole. As an issue.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するた
め、本発明はつぎの構成を有する。すなわち本発明は、
左目用の画像と右目用の画像とを生成してそれぞれ左目
と右目とに表示する立体視用3次元画像生成装置におい
て、表示対象物の3次元モデルデータを左右の目の中央
に視点を置いた視野座標系に変換する視野座標変換処理
手段と、該視野座標変換処理手段の処理結果に立体的な
視覚効果を実現する処理を加える立体効果実現処理手段
と、前記立体効果実現処理手段の処理結果である画素デ
ータを視点からの視野座標系におけるZ軸方向の値に比
例して左または右にずらして、左目用の画像と右目用の
画像とを生成する左右ずらし処理手段と、を備えたこと
を特徴とする立体視用3次元画像生成装置である。
To solve the above problems, the present invention has the following arrangement. That is, the present invention
In a stereoscopic three-dimensional image generating apparatus that generates an image for the left eye and an image for the right eye and displays them on the left and right eyes, respectively, the viewpoint is placed at the center of the left and right eyes on the three-dimensional model data of the display target. and a visual field coordinate conversion processing means for converting the visual field coordinate system, and the steric effects realized processing means for applying a process to achieve a three-dimensional visual effect on the processing result of the visual field coordinate conversion processing means, the processing of the three-dimensional effect achieved processing means The resulting pixel data
Data to the value in the Z-axis direction in the view coordinate system from the viewpoint
For example, shift to the left or right so that the image for the left eye and the image for the right eye
A three-dimensional image generating apparatus for stereoscopic vision , comprising: a left-right shift processing unit that generates an image.

【0009】[0009]

【0010】[0010]

【作用】上記のように構成された本発明にあっては、左
右の画像を立体視で見たときに認識される1つの像が、
左右の目の中央に視点を置いて得られる像と近似してい
ることを利用し、ラスタデータを得るまでの処理を左右
の目の中央に視点を置いたものとして処理する。すなわ
ち、視野座標変換処理手段によって、表示対象物の3次
元モデルデータを左右の目の中央に視点を置いた視野座
標系に変換した後、立体効果実現処理手段によって、視
野座標変換処理手段の処理結果に、立体的な視覚効果を
実現する処理を加える。
In the present invention configured as described above, one image recognized when stereoscopically viewing the left and right images is:
Utilizing the fact that the image is similar to an image obtained by placing the viewpoint at the center of the left and right eyes, processing until raster data is obtained is performed assuming that the viewpoint is placed at the center of the left and right eyes. That is, after the three-dimensional model data of the display object is converted into a visual field coordinate system in which the viewpoint is placed at the center of the left and right eyes by the visual field coordinate conversion processing means, the processing of the visual field coordinate conversion processing means is performed by the three-dimensional effect realization processing means. A process for realizing a three-dimensional visual effect is added to the result.

【0011】左右ずらし処理手段は、立体効果実現処理
手段の処理結果(ラスタデータ)に、視点の差、つま
り、仮に設定した視点(左右の目の中央)と左右それぞ
れの目の視点との差に応じた左右ずらし処理を加えて、
左目用の画像と右目用の画像を生成する。こうして得ら
れた左右の画像データは、例えばフレームバッファに書
き込まれて、左右のディスプレイに表示される。
The left and right shift processing means includes a viewpoint difference, that is, a difference between a tentatively set viewpoint (the center of the left and right eyes) and a viewpoint of each of the right and left eyes in the processing result (raster data) of the three-dimensional effect realization processing means. To the left and right according to the
Generate an image for the left eye and an image for the right eye. The left and right image data thus obtained are written into, for example, a frame buffer and displayed on the left and right displays.

【0012】[0012]

【実施例】次に、本発明の1実施例を図面を参照して詳
細に説明する。図1は本発明に係る立体視用3次元画像
生成装置の1実施例構成を示す機能ブロック図、図2は
同実施例における立体視用画像生成過程を示すフローチ
ャート、図3は各種処理後のデータの変化を示す図、図
4と図5は左右ずらし処理の説明に供する図である。
Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram showing a configuration of an embodiment of a stereoscopic three-dimensional image generating apparatus according to the present invention, FIG. 2 is a flowchart showing a stereoscopic image generating process in the embodiment, and FIG. FIGS. 4 and 5 are diagrams illustrating a change in data, and FIGS.

【0013】本実施例の立体視用3次元画像生成装置
は、図1に示すように、大別して、各部を総合的に制御
するとともに表示対象物の3次元モデルデータを送出す
る制御部10と、座標計算等を行うジオメトリエンジン
部11と、左右の表示用のラスタデータを生成するラス
タエンジン部12と、左目用の表示部13と、右目用の
表示14とから構成されている。
As shown in FIG. 1, the three-dimensional image generating apparatus for stereoscopic viewing according to the present embodiment is roughly divided into a control unit 10 for comprehensively controlling each unit and transmitting three-dimensional model data of a display object. , A geometry engine unit 11 for performing coordinate calculation and the like, a raster engine unit 12 for generating raster data for left and right display, a display unit 13 for a left eye, and a display 14 for a right eye.

【0014】制御部10から送出される3次元モデルデ
ータは、3次元の表示対象物を数値的に表現したデータ
である。ジオメトリエンジン部11は、モデリング変換
を行うモデリング変換処理部15と、透視投影変換を行
う透視投影変換処理部16と、クリッピング処理を行う
クリッピング処理部17とで構成されている。モデリン
グ変換は、3次元モデルデータの座標系を物体座標系
(絶対座標系)に変換する処理である。また、透視投影
変換は、視点を固定してその視点の位置と方向をもとに
対象を投影する処理であり、物体座標系を視野座標系に
変換する処理である。
The three-dimensional model data sent from the control unit 10 is data representing a three-dimensional display object numerically. The geometry engine unit 11 includes a modeling conversion processing unit 15 that performs modeling conversion, a perspective projection conversion processing unit 16 that performs perspective projection conversion, and a clipping processing unit 17 that performs clipping processing. The modeling conversion is a process of converting a coordinate system of three-dimensional model data into an object coordinate system (absolute coordinate system). Perspective projection transformation is a process of fixing a viewpoint and projecting an object based on the position and direction of the viewpoint, and is a process of transforming an object coordinate system into a visual field coordinate system.

【0015】従来は、左右の目の視点の位置が異なるた
め、前述のように、左目用と右目用の2つの透視投影変
換を行っていたが、本実施例では、左右の目の中央の位
置を視点として1つの透視投影変換を行うようになって
いる。これは、左右の画像を立体視で見たときに認識さ
れる1つの像が、左右の目の中央に視点を置いて得られ
る像と近似していることを利用したものである。また、
クリッピング処理は、ディスプレイ上に表示領域を指定
し、外側にはみでたデータを取り除く処理である。
Conventionally, since the viewpoint positions of the right and left eyes are different, two perspective projection transformations for the left eye and the right eye are performed as described above. One perspective projection transformation is performed using the position as the viewpoint. This is based on the fact that one image recognized when stereoscopically viewing the left and right images is similar to an image obtained by placing the viewpoint at the center of the left and right eyes. Also,
The clipping process is a process of designating a display area on a display and removing data outside the display area.

【0016】また、ラスタエンジン部12は、隠面消去
処理を行う隠面消去処理部18と、シェーディング処理
を行うシェーディング処理部19と、得られたラスタデ
ータを左右の表示用にずらす処理を行う左右ずらし処理
部20とで構成され、隠面消去処理部18には、隠面消
去処理に用いるZバッファ18aが接続されている。隠
面消去処理は、現実感の強い本物に近い画像を得るた
め、実際には隠れて見えない面(隠面)を消去する処理
であって、これにより、物体の裏側および他の物体の陰
になる部分の面は除去され、正面から見える部分のみが
残されて表示されることになる。
The raster engine unit 12 performs a hidden surface erasing process unit 18 for performing a hidden surface erasing process, a shading processing unit 19 for performing a shading process, and performs a process of shifting the obtained raster data for left and right display. The hidden buffer erasing unit 18 is connected to a Z buffer 18a used for hidden surface erasing processing. The hidden surface erasing process is a process of erasing a surface (hidden surface) that is actually hidden and cannot be seen in order to obtain an image close to the real thing with a strong sense of reality. Is removed, and only the portion visible from the front is left displayed.

【0017】本実施例では、隠面消去の手法として、い
わゆるZバッファ法を用いている。これは、各画素(ピ
クセル)ごとのZ軸方向(奥行き方向)の距離を記憶す
るメモリ(前記Zバッファ18a)を設け、新たに画素
データを書き込む際に、新旧の距離データを比較し、視
点に近いほうの画素データを残すようにする方法であ
る。また、シェーディング処理は、3次元物体のモデル
を表示するときに、モデルに当たった光が特定の方向に
どれだけ反射してくるかを計算し、面の向きと方向に応
じて面に陰影をつける処理である。このシェーディング
処理を行うと、さらに物体の相互関係が明らかとなり、
現実感が増す。こうした隠面消去処理やシェーディング
処理によって立体的な視覚効果が実現され、これらの処
理で得られた画像データ(ラスタデータ)は立体感のあ
るものとなる。
In this embodiment, a so-called Z buffer method is used as a technique for erasing a hidden surface. This is achieved by providing a memory (the Z buffer 18a) for storing the distance in the Z-axis direction (depth direction) for each pixel (pixel), and comparing new and old distance data when newly writing pixel data, This is a method of leaving the pixel data closer to. The shading process calculates how much light that hits the model is reflected in a specific direction when displaying a model of a three-dimensional object, and creates a shadow on the surface according to the direction and direction of the surface. This is the process of attaching. Performing this shading process further clarifies the interrelationship between objects.
Reality increases. A three-dimensional visual effect is realized by such hidden surface elimination processing and shading processing, and the image data (raster data) obtained by these processings has a three-dimensional effect.

【0018】また、左右ずらし処理の内容は、後で詳述
するが、仮に設定した視点(本実施例では左右の目の中
央)と左右それぞれの目の視点との差に応じて、対象物
のラスタデータの奥行きの値(Z値)に合わせてずらす
というものであって、これにより、左目用の画像と右目
用の画像が生成される。
The details of the right and left shift processing will be described later in detail, but the object is determined in accordance with the difference between the tentatively set viewpoint (the center of the left and right eyes in this embodiment) and the viewpoint of each of the right and left eyes. Is shifted in accordance with the depth value (Z value) of the raster data, and thereby an image for the left eye and an image for the right eye are generated.

【0019】左右の表示部13と14は、それぞれ、左
右ずらし処理によって得られたデータを格納するフレー
ムバッファ21、22と、画像を表示するディスプレイ
23、24とで構成されている。フレームバッファ2
1、22は、ディジタル形式の画像データを記憶する大
容量のメモリであって、表示速度で内容を読み出し、D
/A変換して表示すると同時に、画素データを書き込む
ことができる。
The left and right display sections 13 and 14 are respectively composed of frame buffers 21 and 22 for storing data obtained by the left and right shift processing, and displays 23 and 24 for displaying images. Frame buffer 2
Reference numerals 1 and 22 denote large-capacity memories for storing digital image data.
The pixel data can be written at the same time as the A / A conversion and display.

【0020】なお、座標変換処理手段は透視投影変換処
理部16、立体効果実現処理手段は隠面消去処理部18
とシェーディング処理部19、左右ずらし処理手段は左
右ずらし処理部20によってそれぞれ構成されている。
The coordinate transformation processing means is a perspective projection transformation processing section 16 and the three-dimensional effect realization processing means is a hidden surface erasing processing section 18.
The shading processing unit 19 and the left / right shift processing means are respectively constituted by a left / right shift processing unit 20.

【0021】次に、このように構成された本装置による
画像生成過程を、図2に示すフローチャートに従って説
明する。まず、制御部10から表示対象物の3次元モデ
ルデータ30(図3(a)参照)がモデリング変換処理
部15に送られると(S1)、モデリング変換処理部1
5は、モデルデータ30に対して拡大、縮小、回転、平
行移動などのモデリング変換を行って、物体座標系にお
けるモデルデータ31(図3(b)参照)を計算し、こ
のデータを透視投影変換処理部16に送る(S2)。
Next, the process of generating an image by the present apparatus configured as described above will be described with reference to the flowchart shown in FIG. First, when three-dimensional model data 30 (see FIG. 3A) of a display object is sent from the control unit 10 to the modeling conversion processing unit 15 (S1), the modeling conversion processing unit 1
5 performs modeling transformation such as enlargement, reduction, rotation, and translation on the model data 30, calculates model data 31 (see FIG. 3B) in the object coordinate system, and converts this data into perspective projection transformation. It is sent to the processing unit 16 (S2).

【0022】次いで、透視投影変換処理部16は、モデ
ルデータ31に対してあらかじめ設定された視点の位置
や方向を元にして透視投影変換を行って、視野座標系に
おけるモデルデータ32(図3(c)参照)を計算し、
このデータをクリッピング処理部17に送る(S3)。
このとき、前述のように、従来は、左右の目の視点の位
置が異なるため、左目用と右目用の2つの透視投影変換
を別々に行っていたが、本実施例では、左右の目の中央
の位置を視点として1つの透視投影変換を行う。このた
め、データ処理時間の多くを占有する透視投影変換の為
のデータ処理量は約半減する。
Next, the perspective projection conversion processing unit 16 performs perspective projection conversion on the model data 31 based on a preset viewpoint position and direction, and obtains model data 32 (FIG. c) see)
This data is sent to the clipping processing unit 17 (S3).
At this time, as described above, conventionally, since the viewpoint positions of the left and right eyes are different, two perspective projection transformations for the left eye and the right eye are separately performed. One perspective projection transformation is performed with the center position as a viewpoint. For this reason, the amount of data processing for perspective projection conversion occupying much of the data processing time is reduced by about half.

【0023】次いで、クリッピング処理部17は、あら
かじめ指定された表示領域外のデータを取り除いて、モ
デルデータ32を表示サイズに合わせた後、このデータ
を隠面消去処理部18に送る(S4)。次いで、隠面消
去処理部18は、クリッピング処理されたモデルデータ
32に対してZバッファ法による隠面消去処理を行っ
て、実際には隠れて見えない面を消去したデータ33
(図3(d)参照)を計算し、このデータをシェーディ
ング処理部19に送る(S5)。
Next, the clipping processing section 17 removes data outside the display area specified in advance, adjusts the model data 32 to the display size, and sends this data to the hidden surface erasing processing section 18 (S4). Next, the hidden surface elimination processing unit 18 performs a hidden surface elimination process by the Z-buffer method on the model data 32 subjected to the clipping process, and deletes the data 33 that is actually hidden and invisible.
(See FIG. 3D) and sends this data to the shading processing unit 19 (S5).

【0024】次いで、シェーディング処理部19は、隠
面消去処理が施されたデータ33に対してシェーディン
グ処理を行って、面の向きと方向に応じて面に陰影をつ
けたデータ34(図3(e)参照)を計算し、このデー
タをラスタデータとして左右ずらし処理部20に送る
(S6)。モデルデータ32は、こうした隠面消去処理
(S5)およびシェーディング処理(S6)を経ること
によって順次立体感が付与され、最終的に、現実感の強
い本物に近い画像データ(ラスタデータ)34に変化す
ることになる。
Next, the shading processing section 19 performs shading processing on the data 33 on which the hidden surface removal processing has been performed, and shades the data 34 according to the direction and direction of the surface (FIG. 3 ( e) is calculated, and this data is sent to the left / right shift processing unit 20 as raster data (S6). The model data 32 is given a three-dimensional effect sequentially through the hidden surface elimination process (S5) and the shading process (S6), and finally changes into real image data (raster data) 34 having a strong sense of reality. Will do.

【0025】ラスタデータ34が左右ずらし処理部20
に入力されると、左右ずらし処理部20は、ラスタデー
タ34に対して左右ずらし処理を左目用と右目用に並行
して行って、左目用の画像35(図3(f)参照)と右
目用の画像36(図3(g)参照)をそれぞれ生成する
(S7)。すなわち、仮に設定した視点(本実施例では
左右の目の中央)と左右それぞれの目の視点との差に応
じて、ラスタデータ34の各ピクセル(画素)データ
を、奥行きの値(Z値)、つまり視点座標系におけるZ
軸方向の値に比例してずらす。これにより、Z値が大き
いほどずらし量は大きくなる。
The raster data 34 is shifted left and right by the processing unit 20.
, The left / right shift processing unit 20 performs the left / right shift processing on the raster data 34 in parallel for the left eye and the right eye, and outputs the image 35 for the left eye (see FIG. 3F) and the right eye. Image 36 (see FIG. 3 (g)) is generated (S7). That is, each pixel (pixel) data of the raster data 34 is converted into a depth value (Z value) in accordance with the difference between the tentatively set viewpoint (the center of the left and right eyes in this embodiment) and the left and right eyes. , That is, Z in the viewpoint coordinate system
Shift in proportion to the value in the axial direction. Thus, the larger the Z value, the larger the shift amount.

【0026】実際のずらし量は、視点と対象物との距離
や対象物の大きさと、表示サイズに応じて比例する量と
なる。例えば、左目用の画像を生成する場合を例にとる
と、図4に示すように、稜線Aと稜線Bを比較すれば稜
線BのほうがZ値が大きいため、そのZ値に比例して図
中矢印で示した左方向へのずらし量が大きくなる。これ
を実際にずらして表示すると、図5(a)と(b)に示
すように、稜線Bが左方向にずれて見えることになる。
The actual shift amount is proportional to the distance between the viewpoint and the object, the size of the object, and the display size. For example, taking the case of generating an image for the left eye as an example, as shown in FIG. 4, when the ridge line A and the ridge line B are compared, the ridge line B has a larger Z value. The shift amount to the left indicated by the middle arrow increases. If this is actually shifted and displayed, as shown in FIGS. 5A and 5B, the ridge line B appears to be shifted leftward.

【0027】ステップ7で生成された左目用の画像35
と右目用の画像36はそれぞれ対応するフレームバッフ
ァ21、22に格納され(S8、S9)、左右のディス
プレイ23、24に表示される(S10、S11)。こ
れを立体視鏡や立体視用メガネを用いて見ると、対象物
を立体視することができる。
The image 35 for the left eye generated in step 7
And the image 36 for the right eye are stored in the corresponding frame buffers 21 and 22 (S8, S9), and displayed on the left and right displays 23, 24 (S10, S11). When this is viewed using a stereoscope or stereoscopic glasses, the object can be viewed stereoscopically.

【0028】したがって、本実施例によれば、透視投影
変換処理部16、クリッピング処理部17、隠面消去処
理部18、シェーディング処理部19を左右の画像用に
共通化したので、これらの処理における計算量が概略半
減され、左右ずらし処理部20の追加はあるものの、全
体としては装置構成が簡素化され、その分装置全体の計
算量を少なくすることができ、処理時間の短縮が図られ
る。
Therefore, according to this embodiment, the perspective projection conversion processing unit 16, the clipping processing unit 17, the hidden surface elimination processing unit 18, and the shading processing unit 19 are shared for the left and right images. Although the amount of calculation is substantially reduced by half and the left and right shift processing unit 20 is added, the apparatus configuration is simplified as a whole, and the amount of calculation of the entire apparatus can be reduced correspondingly, thereby shortening the processing time.

【0029】なお、本実施例では、立体効果を出す手法
として、隠面消去処理とシェーディング処理を用いてい
るが、シェーディング処理についてはこれに限定される
ものではなく、他のレンダリング処理、例えばレイ・ト
レーシング(光線追跡法)などを用いてもよい。また本
実施例では、左右別々のディスプレイに左目用の画像と
右目用の画像を表示するとしたが、1つのディスプレイ
を時分割して使用してもよいし、その他左右の目にそれ
ぞれ異なる画像を提示できる提示手段を使用してもよい
ことは明らかである。
In this embodiment, the hidden surface elimination process and the shading process are used as a method for producing a three-dimensional effect. However, the shading process is not limited to this, and other rendering processes, such as ray rendering, may be used. Tracing (ray tracing method) or the like may be used. Further, in the present embodiment, the left-eye image and the right-eye image are displayed on the left and right separate displays. However, one display may be used in a time-sharing manner, and other images different from each other may be displayed. Obviously, a presentation means capable of presentation may be used.

【0030】[0030]

【発明の効果】以上説明したように本発明によれば、表
示対象物の3次元モデルデータに対する座標変換処理か
ら立体効果実現処理に至るまでの一連の処理を左右の画
像用に共通化したので、装置構成が簡素化され、その分
装置全体の計算量が低減され、処理時間の短縮が図られ
るという効果がある。
As described above, according to the present invention, a series of processes from the coordinate conversion process for the three-dimensional model data of the display object to the three-dimensional effect realization process is shared for the left and right images. In addition, the apparatus configuration is simplified, the amount of calculation of the entire apparatus is reduced accordingly, and the processing time is shortened.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の立体視用3次元画像生成装置の1実施
例の機能ブロック図である。
FIG. 1 is a functional block diagram of an embodiment of a stereoscopic three-dimensional image generating apparatus according to the present invention.

【図2】同実施例における立体視用画像生成過程を示す
フローチャートである。
FIG. 2 is a flowchart illustrating a stereoscopic image generation process according to the embodiment.

【図3】立方体を例に各種処理後のデータの変化を示す
説明図である。
FIG. 3 is an explanatory diagram showing a change in data after various processes using a cube as an example.

【図4】左右ずらし処理において左目用の画像を得るた
めのずらし量の説明図である。
FIG. 4 is an explanatory diagram of a shift amount for obtaining a left-eye image in a left-right shift process.

【図5】図4のずらし量に応じてずらした画像を示す図
である。
5 is a diagram illustrating an image shifted according to the shift amount in FIG. 4;

【図6】従来の立体視用3次元画像生成装置のデータの
流れを示す機能ブロック図である。
FIG. 6 is a functional block diagram showing a data flow of a conventional stereoscopic three-dimensional image generating apparatus.

【図7】対象物を左右の目から見た様子を示す説明図で
ある。
FIG. 7 is an explanatory diagram illustrating a state in which an object is viewed from left and right eyes.

【符号の説明】[Explanation of symbols]

10 制御部 15 モデリング変換処理部 16 透視投影変換処理部(座標変換処理手段) 17 クリッピング処理部 18 隠面消去処理部(立体効果実現処理手段) 19 シェーディング処理部(立体効果実現処理手段) 20 左右ずらし処理部(左右ずらし処理手段) 21、22 フレームバッファ 23、24 ディスプレイ DESCRIPTION OF SYMBOLS 10 Control part 15 Modeling conversion processing part 16 Perspective projection conversion processing part (coordinate conversion processing means) 17 Clipping processing part 18 Hidden surface elimination processing part (stereoscopic effect realization processing means) 19 Shading processing part (stereoscopic effect realization processing means) 20 right and left Shift processing unit (left and right shift processing means) 21, 22 Frame buffer 23, 24 Display

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06T 11/00 - 17/50 H04N 5/262 - 5/28 H04N 13/00 - 17/06 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) G06T 1/00 G06T 11/00-17/50 H04N 5/262-5/28 H04N 13/00-17 / 06

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 左目用の画像と右目用の画像とを生成し
てそれぞれ左目と右目とに表示する立体視用3次元画像
生成装置において、 表示対象物の3次元モデルデータを左右の目の中央に視
点を置いた視野座標系に変換する視野座標変換処理手段
と、 該視野座標変換処理手段の処理結果に立体的な視覚効果
を実現する処理を加える立体効果実現処理手段と、前記立体効果実現処理手段の処理結果である画素データ
を視点からの視野座標系におけるZ軸方向の値に比例し
て左または右にずらして、左目用の画像と右目用の画像
とを生成する左右ずらし処理手段と、 を備えた ことを特徴とする立体視用3次元画像生成装
置。
1. A stereoscopic three-dimensional image generating apparatus for generating an image for a left eye and an image for a right eye and displaying the images for the left and right eyes, respectively. a visual field coordinate conversion processing means for converting the visual field coordinate system placed the viewpoint center, the steric effect realized processing means for applying a process to achieve a three-dimensional visual effect on the processing result of the visual field coordinate conversion processing unit, the three-dimensional effect Pixel data that is the processing result of the realization processing means
Is proportional to the value in the Z-axis direction in the view coordinate system from the viewpoint.
The image for the left eye and the image for the right eye
DOO generates a lateral shift processing means and the three-dimensional image generating device for stereoscopic vision, characterized in that it comprises a.
JP05337006A 1993-12-28 1993-12-28 3D image generator for stereoscopic vision Expired - Fee Related JP3126575B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05337006A JP3126575B2 (en) 1993-12-28 1993-12-28 3D image generator for stereoscopic vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05337006A JP3126575B2 (en) 1993-12-28 1993-12-28 3D image generator for stereoscopic vision

Publications (2)

Publication Number Publication Date
JPH07200870A JPH07200870A (en) 1995-08-04
JP3126575B2 true JP3126575B2 (en) 2001-01-22

Family

ID=18304597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05337006A Expired - Fee Related JP3126575B2 (en) 1993-12-28 1993-12-28 3D image generator for stereoscopic vision

Country Status (1)

Country Link
JP (1) JP3126575B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997015150A1 (en) * 1995-10-19 1997-04-24 Sony Corporation Method and device for forming three-dimensional image
KR100381817B1 (en) * 1999-11-17 2003-04-26 한국과학기술원 Generating method of stereographic image using Z-buffer
JP4772952B2 (en) * 2000-08-28 2011-09-14 株式会社バンダイナムコゲームス Stereoscopic image generation apparatus and information storage medium
WO2005067319A1 (en) * 2003-12-25 2005-07-21 Brother Kogyo Kabushiki Kaisha Image display device and signal processing device
JP4506219B2 (en) * 2004-03-18 2010-07-21 ブラザー工業株式会社 Image display device and image display system
JP4568670B2 (en) * 2005-10-05 2010-10-27 学校法人金沢工業大学 3D image display device
KR100894874B1 (en) * 2007-01-10 2009-04-24 주식회사 리얼이미지 Apparatus and Method for Generating a Stereoscopic Image from a Two-Dimensional Image using the Mesh Map
JP4982862B2 (en) * 2007-09-07 2012-07-25 株式会社バンダイナムコゲームス Program, information storage medium, and image generation system
JP5660818B2 (en) 2010-07-21 2015-01-28 任天堂株式会社 Image processing program, image processing apparatus, image processing system, and image processing method
JP5450330B2 (en) 2010-09-16 2014-03-26 株式会社ジャパンディスプレイ Image processing apparatus and method, and stereoscopic image display apparatus
JP6216851B1 (en) * 2016-09-12 2017-10-18 株式会社コロプラ Information processing method and program for causing computer to execute information processing method
CN107992871B (en) * 2017-12-21 2020-06-02 陕西伟景机器人科技有限公司 Restaurant automatic checkout method based on image recognition
JP2019159886A (en) * 2018-03-14 2019-09-19 凸版印刷株式会社 Image generation method and image generation device

Also Published As

Publication number Publication date
JPH07200870A (en) 1995-08-04

Similar Documents

Publication Publication Date Title
US5694533A (en) 3-Dimensional model composed against textured midground image and perspective enhancing hemispherically mapped backdrop image for visual realism
US5751927A (en) Method and apparatus for producing three dimensional displays on a two dimensional surface
US10096157B2 (en) Generation of three-dimensional imagery from a two-dimensional image using a depth map
EP2340534B1 (en) Optimal depth mapping
US4925294A (en) Method to convert two dimensional motion pictures for three-dimensional systems
JP5160741B2 (en) 3D graphic processing apparatus and stereoscopic image display apparatus using the same
JP3230745B2 (en) Three-dimensional image generation apparatus and generation method
EP2051533B1 (en) 3D image rendering apparatus and method
JP3126575B2 (en) 3D image generator for stereoscopic vision
WO2015196791A1 (en) Binocular three-dimensional graphic rendering method and related system
KR100967296B1 (en) Graphics interface and method for rasterizing graphics data for a stereoscopic display
JPH06130881A (en) Formation of hologram information
WO2018187635A1 (en) System, method and software for producing virtual three dimensional images that appear to project forward of or above an electronic display
JPH0744701B2 (en) Three-dimensional superimpose device
KR100381817B1 (en) Generating method of stereographic image using Z-buffer
US6559844B1 (en) Method and apparatus for generating multiple views using a graphics engine
KR100239132B1 (en) 3d parallax drawing system and method
JP7394566B2 (en) Image processing device, image processing method, and image processing program
JPH0628452A (en) Three-dimensional image processor
WO1998043442A1 (en) Multiple viewpoint image generation
JPH09245192A (en) Method for realizing virtual environment generation realizing and its device
KR100272132B1 (en) Method and apparatus for reconstruction of stereo scene using vrml
JP2002279442A (en) Device and method for image processing
JP6330310B2 (en) Image generation method, image generation apparatus, and program
KR20050058767A (en) 3d graphical model rendering apparatus and method for displaying stereoscopic image

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131102

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees