[go: up one dir, main page]

JP3002971B2 - 3D model creation device - Google Patents

3D model creation device

Info

Publication number
JP3002971B2
JP3002971B2 JP10103064A JP10306498A JP3002971B2 JP 3002971 B2 JP3002971 B2 JP 3002971B2 JP 10103064 A JP10103064 A JP 10103064A JP 10306498 A JP10306498 A JP 10306498A JP 3002971 B2 JP3002971 B2 JP 3002971B2
Authority
JP
Japan
Prior art keywords
dimensional
image
model
information
dimensional image
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
JP10103064A
Other languages
Japanese (ja)
Other versions
JPH11296698A (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.)
Shima Seiki Mfg Ltd
Original Assignee
Shima Seiki Mfg Ltd
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 Shima Seiki Mfg Ltd filed Critical Shima Seiki Mfg Ltd
Priority to JP10103064A priority Critical patent/JP3002971B2/en
Priority to US09/290,581 priority patent/US6677944B1/en
Priority to EP99106250A priority patent/EP0950988B1/en
Publication of JPH11296698A publication Critical patent/JPH11296698A/en
Application granted granted Critical
Publication of JP3002971B2 publication Critical patent/JP3002971B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータによ
る画像処理によって、2次元画像から3次元モデルを作
成して、3次元画像を生成するレンダリング処理を行う
3次元モデル作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a three-dimensional model creating apparatus for creating a three-dimensional model from a two-dimensional image by image processing by a computer and performing a rendering process for generating a three-dimensional image.

【0002】[0002]

【従来の技術】従来から、2次元画像に画像処理を施し
て3次元化して表示するコンピュータグラフィックスの
手法が知られている。たとえば映像ソフトなどのタイト
ルとして表示される文字は、立体的な3次元画像として
表示されることがある。これらの3次元的な文字の表示
では、2次元的な文字の輪郭に一定の奥行きを加え、3
次元化した後で、レンダリング処理によって3次元画像
表示を行う。奥行情報としては、必ずしも一様な厚さに
見えるようにするばかりではなく、たとえば輪郭部分を
他の部分よりも薄くする程度の変形も行われることがあ
る。
2. Description of the Related Art Conventionally, there has been known a computer graphics method for performing image processing on a two-dimensional image to convert the image into a three-dimensional image. For example, characters displayed as titles of video software or the like may be displayed as three-dimensional three-dimensional images. In the display of these three-dimensional characters, a certain depth is added to the outline of the two-dimensional character, and
After the dimensioning, a three-dimensional image is displayed by a rendering process. As the depth information, not only the depth is not necessarily made to look uniform, but also a deformation such as making the outline part thinner than other parts may be performed.

【0003】より複雑で一般的な3次元モデルの作成手
法としては、物体の表面を多数のポリゴン、たとえば多
数の三角形に分割し、各三角形の辺によって構成される
稜線で形状を表すワイヤフレームモデルで最終的な3次
元形状を決定し、レンダリング処理で3次元画像として
生成する。3次元画像に複雑な形状の変化をもたせよう
とする場合には、ワイヤフレームモデルを直接修正する
必要がある。
[0003] As a more complicated and general method of creating a three-dimensional model, a wire frame model is used in which the surface of an object is divided into a large number of polygons, for example, a large number of triangles, and the shape is represented by ridges formed by the sides of each triangle. Determines the final three-dimensional shape, and generates a three-dimensional image by a rendering process. In order to make the three-dimensional image have a complicated shape change, it is necessary to directly correct the wireframe model.

【0004】[0004]

【発明が解決しようとする課題】2次元画像から3次元
モデルを作成する従来の方法のうち、映像ソフトのタイ
トルなどに用いられている手法は、規則的な形状の3次
元モデルしか作成することはできない。ワイヤフレーム
モデルを直接修正して3次元モデルを作成することは、
かなり多量の専門的知識と手間とを有する。
Among the conventional methods for creating a three-dimensional model from a two-dimensional image, the technique used for titles of video software, etc., creates only a regular three-dimensional model. Can not. Creating a 3D model by directly modifying the wireframe model is
Has a great deal of expertise and effort.

【0005】本発明の目的は、2次元画像の構成要素を
3次元モデルの構成要素に反映させて、複雑なモデリン
グを行わずに3次元モデルを定義して作成することがで
きる3次元モデル作成装置を提供することである。
SUMMARY OF THE INVENTION It is an object of the present invention to create a three-dimensional model by reflecting a component of a two-dimensional image on a component of a three-dimensional model and defining and creating a three-dimensional model without performing complicated modeling. It is to provide a device.

【0006】[0006]

【課題を解決するための手段】本発明は、2次元画像に
画像処理を施して3次元モデルを作成する3次元モデル
作成装置において、2次元画像を表す画像データを入力
して保存する画像保存手段と、2次元画像を3次元化す
るための基礎となる3次元形状を定めるモデリングデー
タを設定するモデル設定手段と、入力される2次元画像
を表す画像データから予め定める構成要素についての情
報を抽出する要素抽出手段と、要素抽出手段によって抽
出される要素情報を、予め定める関連性を有する3次元
情報に変換する要素変換手段と、モデル設定手段によっ
て設定されるモデリングデータに対して、要素変換手段
によって変換される3次元情報を反映させ、3次元モデ
ルを作成するモデル作成手段と、モデル作成手段によっ
て作成される3次元モデルから、レンダリング処理によ
って3次元画像を生成するレンダリング手段と、要素変
換手段による要素情報の3次元情報への変換、モデル作
成手段による3次元情報の3次元モデルへの反映、およ
びレンダリング手段による3次元モデルのレンダリング
処理の過程で、該レンダリング処理によって生成される
3次元画像上の画素と、前記画像保存手段に保存される
画像データで表される2次元画像上の画素との対応関係
を示すマッピング情報を作成するマッピング手段と、レ
ンダリング手段によって生成される3次元画像データ
を、該マッピング手段によって作成されるマッピング情
報とともに記憶するレンダリングメモリと、レンダリン
グメモリに記憶される3次元画像データを、表示して修
正するための描画操作を入力する3次元画像修正手段
と、3次元画像修正手段への描画操作が行われるとき、
レンダリングメモリに記憶されるマッピング情報に従っ
て、画像保存手段に保存される2次元画像を表す画像デ
ータを修正する逆マッピング手段とを含むことを特徴と
する3次元モデル作成装置である。
According to the present invention, there is provided a three-dimensional model creating apparatus for creating a three-dimensional model by performing image processing on a two-dimensional image, and storing and inputting image data representing the two-dimensional image. Means, model setting means for setting modeling data for defining a three-dimensional shape serving as a basis for three-dimensional conversion of a two-dimensional image, and information on constituent elements predetermined from image data representing an input two-dimensional image. Element extracting means for extracting, element converting means for converting element information extracted by the element extracting means into three-dimensional information having a predetermined relationship, and element conversion for modeling data set by the model setting means. A model creating means for creating a three-dimensional model by reflecting the three-dimensional information converted by the means, and a tertiary model created by the model creating means. A rendering unit for generating a three-dimensional image from the model by a rendering process; a conversion of element information into three-dimensional information by an element conversion unit; a reflection of the three-dimensional information on the three-dimensional model by the model creation unit; In the course of the rendering process of the three-dimensional model, the correspondence between the pixels on the three-dimensional image generated by the rendering process and the pixels on the two-dimensional image represented by the image data stored in the image storage unit is shown. A mapping unit for creating mapping information, a rendering memory for storing the three-dimensional image data generated by the rendering unit together with the mapping information created by the mapping unit, and a three-dimensional image data stored in the rendering memory are displayed. Input drawing operation to correct When an image correction unit, rendering operation to the three-dimensional image correction means is performed,
A three-dimensional model creating apparatus, comprising: inverse mapping means for correcting image data representing a two-dimensional image stored in the image storage means according to mapping information stored in the rendering memory.

【0007】本発明に従えば、画像保存手段には2次元
画像を表す画像データが入力されて保存される。モデル
設定手段には、2次元画像を3次元化するための基礎と
なる3次元形状を定めるモデリングデータが設定され
る。要素抽出手段は、入力される2次元画像を表す画像
データから予め定める構成要素についての情報を抽出す
る。要素変換手段は、要素抽出手段によって抽出される
要素情報を、予め定める関連性を有する3次元情報に変
換する。モデル作成手段は、変換された3次元情報をモ
デル設定手段によって設定される3次元形状に反映させ
て、3次元モデルを作成する。レンダリング手段は、モ
デル作成手段によって作成される3次元モデルを、レン
ダリング処理によって3次元画像として生成する。生成
される3次元画像は、2次元画像から抽出される要素情
報が反映されて3次元モデル化されているので、2次元
画像の要素情報を変化させることによって、生成される
3次元画像についての変形を容易に行うことができる。
3次元モデルは、モデル設定手段によって設定される3
次元形状を定めるモデリングデータを基礎にして形成さ
れるので、2次元画像から抽出される要素情報に基づい
て3次元モデルの全体を構成する必要はなく、必要な画
像処理量の低減と高速化を図ることができる。また、レ
ンダリングメモリには、レンダリング手段によって生成
される3次元画像データと、画像データ上の各画素に対
応して、2次元画像上の画素との対応関係を表すマッピ
ング情報とが記憶される。3次元画像修正手段でレンダ
リングメモリに記憶される画像データを修正すれば、修
正内容が対応する2次元画像データに反映され、2次元
画像に基づいてレンダリング処理の対象となる3次元モ
デルが修正される。3次元画像修正手段による修正をレ
ンダリング手段によって生成される3次元画像に対して
行っても、3次元モデルを作成する元になる2次元画像
を表す画像データに対する修正が行われるので、3次元
モデルに対する直接的な修正処理を行う必要がなく、簡
単な2次元画像に対する修正で3次元的な修正を行うこ
とができる。また、2次元画像に対して修正が行われ、
その修正結果が3次元画像に反映されるので、3次元画
像の周囲などに対して、違和感のない修正を行うことが
できる。
According to the present invention, image data representing a two-dimensional image is input to the image storage means and stored. Modeling data for defining a three-dimensional shape serving as a basis for converting a two-dimensional image into three dimensions is set in the model setting means. The element extracting means extracts information about a predetermined component from image data representing the input two-dimensional image. The element conversion means converts the element information extracted by the element extraction means into three-dimensional information having a predetermined relationship. The model creating means creates a three-dimensional model by reflecting the converted three-dimensional information on the three-dimensional shape set by the model setting means. The rendering means generates a three-dimensional model created by the model creation means as a three-dimensional image by a rendering process. Since the generated three-dimensional image is formed into a three-dimensional model by reflecting the element information extracted from the two-dimensional image, the three-dimensional image generated by changing the element information of the two-dimensional image is changed. Deformation can be easily performed.
The three-dimensional model is set by a model setting unit.
Since it is formed on the basis of modeling data that defines a three-dimensional shape, it is not necessary to construct the entire three-dimensional model based on element information extracted from a two-dimensional image. Can be planned. Further, the rendering memory stores three-dimensional image data generated by the rendering unit and mapping information indicating a correspondence relationship between pixels on the two-dimensional image corresponding to each pixel on the image data. If the image data stored in the rendering memory is corrected by the three-dimensional image correction means, the correction is reflected on the corresponding two-dimensional image data, and the three-dimensional model to be subjected to the rendering process is corrected based on the two-dimensional image. You. Even if the correction by the three-dimensional image correction means is performed on the three-dimensional image generated by the rendering means, the correction is performed on the image data representing the two-dimensional image from which the three-dimensional model is created. It is not necessary to perform a direct correction process on the three-dimensional image, and a three-dimensional correction can be performed by a simple two-dimensional image correction. In addition, correction is performed on the two-dimensional image,
Since the result of the correction is reflected on the three-dimensional image, it is possible to perform correction without any uncomfortable feeling around the three-dimensional image.

【0008】また本発明で、前記要素抽出手段、前記要
素変換手段、前記モデル作成手段および前記レンダリン
グ手段は、前記3次元画像修正手段によって画像データ
の修正のための描画操作が行われる画素を含んで予め定
める範囲の画像データのみを、処理の対象とすることを
特徴とする。本発明に従えば、レンダリング手段によっ
て生成される3次元画像に対する修正は、修正のための
描画操作が行われる画素を含む予め定める範囲の画像デ
ータのみを処理の対象として行われるので、修正に関連
する領域のみの画像処理で、全体的な画像処理を行う場
合よりも時間短縮を図ることができる。
In the present invention, the element extracting means, the element converting means, the model creating means and the rendering means include pixels for which a rendering operation for correcting image data is performed by the three-dimensional image correcting means. , Only image data within a predetermined range is to be processed. According to the present invention, the correction to the three-dimensional image generated by the rendering unit is performed only on image data in a predetermined range including pixels on which a rendering operation for the correction is performed. The time can be reduced by performing the image processing only on the region to be processed, as compared with the case where the entire image processing is performed.

【0009】さらに本発明は、2次元画像に画像処理を
施して3次元モデルを作成する3次元モデル作成装置に
おいて、2次元画像を表す画像データを入力して保存す
る画像保存手段と、2次元画像を3次元化するための基
礎となる3次元形状を定めるモデリングデータを設定す
るモデル設定手段と、入力される2次元画像を表す画像
データから予め定める構成要素についての情報を抽出す
る要素抽出手段と、要素抽出手段によって抽出される要
素情報を、予め定める関連性を有する3次元情報に変換
する要素変換手段と、モデル設定手段によって設定され
るモデリングデータに対して、要素変換手段によって変
換される3次元情報を反映させ、3次元モデルを作成す
るモデル作成手段と、モデル作成手段によって作成され
る3次元モデルから、レンダリング処理によって3次元
画像を生成するレンダリング手段と、画像保存手段に保
存される2次元画像を表す画像データを、表示して修正
するための描画操作を入力する2次元画像修正手段とを
含み、要素抽出手段、要素変換手段、モデル作成手段お
よびレンダリング手段は、2次元画像修正手段によって
画像データの修正のための描画操作が行われる画素を含
む予め定める範囲の画像データのみを、処理の対象とす
ることを特徴とする3次元モデル作成装置である。
Further, the present invention provides a three-dimensional model creating apparatus for creating a three-dimensional model by performing image processing on a two-dimensional image, an image storage means for inputting and storing image data representing the two-dimensional image, Model setting means for setting modeling data for defining a three-dimensional shape serving as a basis for making an image three-dimensional, and element extracting means for extracting information on predetermined components from image data representing an input two-dimensional image Element conversion means for converting element information extracted by the element extraction means into three-dimensional information having a predetermined relationship; and modeling data set by the model setting means, which is converted by the element conversion means. A model creating means for creating a three-dimensional model by reflecting the three-dimensional information, and a three-dimensional model created by the model creating means Rendering means for generating a three-dimensional image by rendering processing, and two-dimensional image correcting means for inputting a drawing operation for displaying and correcting image data representing the two-dimensional image stored in the image storing means. , An element extracting unit, an element converting unit, a model creating unit, and a rendering unit perform processing on only image data in a predetermined range including pixels for which a rendering operation for correcting image data is performed by the two-dimensional image correcting unit. This is a three-dimensional model creation device.

【0010】本発明に従えば、画像保存手段には2次元
画像を表す画像データが入力されて保存される。モデル
設定手段には、2次元画像を3次元化するための基礎と
なる3次元形状を定めるモデリングデータが設定され
る。要素抽出手段は、入力される2次元画像を表す画像
データから予め定める構成要素についての情報を抽出す
る。要素変換手段は、要素抽出手段によって抽出される
要素情報を、予め定める関連性を有する3次元情報に変
換する。モデル作成手段は、変換された3次元情報をモ
デル設定手段によって設定される3次元形状に反映させ
て、3次元モデルを作成する。レンダリング手段は、モ
デル作成手段によって作成される3次元モデルを、レン
ダリング処理によって3次元画像として生成する。生成
される3次元画像は、2次元画像から抽出される要素情
報が反映されて3次元モデル化されているので、2次元
画像の要素情報を変化させることによって、生成される
3次元画像についての変形を容易に行うことができる。
3次元モデルは、モデル設定手段によって設定される3
次元形状を定めるモデリングデータを基礎にして形成さ
れるので、2次元画像から抽出される要素情報に基づい
て3次元モデルの全体を構成する必要はなく、必要な画
像処理量の低減と高速化を図ることができる。また、2
次元画像修正手段で2次元画像を表す画像データを修正
すると、修正された2次元画像を反映して3次元モデル
が作成されるので、修正結果をレンダリング手段によっ
て生成される3次元画像を表示して容易に確認し、所望
の3次元画像が得られるまで2次元画像の修正を行うこ
とができる。画像保存手段に入力して保存される2次元
画像に対する修正は、修正のための描画操作が行われる
画素を含む予め定める範囲の画像データのみを処理の対
象として行われるので、修正に関連する領域のみの画像
処理で、全体的な画像処理を行う場合よりも時間短縮を
図ることができる。
According to the present invention, image data representing a two-dimensional image is input and stored in the image storage means. Modeling data for defining a three-dimensional shape serving as a basis for converting a two-dimensional image into three dimensions is set in the model setting means. The element extracting means extracts information about a predetermined component from image data representing the input two-dimensional image. The element conversion means converts the element information extracted by the element extraction means into three-dimensional information having a predetermined relationship. The model creating means creates a three-dimensional model by reflecting the converted three-dimensional information on the three-dimensional shape set by the model setting means. The rendering means generates a three-dimensional model created by the model creation means as a three-dimensional image by a rendering process. Since the generated three-dimensional image is formed into a three-dimensional model by reflecting the element information extracted from the two-dimensional image, the three-dimensional image generated by changing the element information of the two-dimensional image is changed. Deformation can be easily performed.
The three-dimensional model is set by a model setting unit.
Since it is formed on the basis of modeling data that defines a three-dimensional shape, it is not necessary to construct the entire three-dimensional model based on element information extracted from a two-dimensional image. Can be planned. Also, 2
When the image data representing the two-dimensional image is corrected by the three-dimensional image correcting means, a three-dimensional model is created reflecting the corrected two-dimensional image. The two-dimensional image can be easily checked and corrected until a desired three-dimensional image is obtained. The correction to the two-dimensional image input and stored in the image storage means is performed only on image data in a predetermined range including pixels on which a rendering operation for correction is performed. With only image processing, the time can be reduced as compared with the case where overall image processing is performed.

【0011】また本発明で、前記2次元画像は、3以上
の複数階調を有するモノクロ画像であり、前記要素抽出
手段は、該モノクロ画像を表す画像データから前記要素
情報として階調情報を抽出し、前記要素変換手段は、該
階調情報を3次元の奥行情報に変換することを特徴とす
る。
In the present invention, the two-dimensional image is a monochrome image having three or more gradations, and the element extracting means extracts gradation information as the element information from image data representing the monochrome image. The element conversion means converts the gradation information into three-dimensional depth information.

【0012】本発明に従えば、2次元画像として3以上
の複数階調を有するモノクロ画像を入力し、階調情報を
要素情報として抽出して3次元の奥行情報に変換するの
で、モノクロ画像の濃淡を3次元的な凹凸を表す奥行情
報に変換することができる。これによって、たとえば木
版画の木型のような形状データを容易に作成することが
可能となる。
According to the present invention, a monochrome image having three or more tones is input as a two-dimensional image, and tone information is extracted as element information and converted into three-dimensional depth information. The shading can be converted into depth information representing three-dimensional unevenness. This makes it possible to easily create shape data such as a woodcut of a woodcut.

【0013】また本発明で、前記2次元画像は、複数色
の成分を有するカラー画像であり、前記要素抽出手段
は、該カラー画像を表す画像データから前記要素情報と
して予め定める色成分の濃度情報を抽出し、前記要素変
換手段は、該色成分の濃度情報を3次元の奥行情報に変
換することを特徴とする。
Further, in the present invention, the two-dimensional image is a color image having components of a plurality of colors, and the element extracting means determines density information of a color component predetermined as the element information from image data representing the color image. And the element conversion means converts the density information of the color component into three-dimensional depth information.

【0014】本発明に従えば、2次元画像として複数色
の成分を有するカラー画像を入力し、予め定める色成分
の濃度情報を要素情報として抽出して3次元の奥行情報
に変換するので、カラー画像のうちの特定の色成分を反
映させた3次元モデルを作成することができる。
According to the present invention, a color image having a plurality of color components is input as a two-dimensional image, density information of a predetermined color component is extracted as element information, and is converted into three-dimensional depth information. It is possible to create a three-dimensional model reflecting a specific color component of the image.

【0015】[0015]

【0016】[0016]

【0017】また本発明は、前記要素抽出手段によって
前記要素情報が抽出される2次元画像に基づいて、テク
スチャ画像データを作成するテクスチャ作成手段をさら
に含み、前記モデル作成手段は、前記3次元情報を反映
させて作成する3次元モデルの表面に、テクスチャ作成
手段によって作成されるテクスチャ座標データに基づく
該2次元画像のテクスチャマッピング処理を施すことを
特徴とする。
Further, the present invention further includes a texture creating means for creating texture image data based on the two-dimensional image from which the element information is extracted by the element extracting means, and wherein the model creating means comprises the three-dimensional information. The texture mapping processing of the two-dimensional image based on the texture coordinate data created by the texture creating means is performed on the surface of the three-dimensional model created by reflecting the image.

【0018】本発明に従えば、2次元画像からは要素抽
出手段によって要素情報が抽出され、抽出された要素情
報が3次元モデルに反映されるとともに、2次元画像に
基づくテクスチャ座標データがテクスチャ作成手段によ
って作成される。テクスチャ座標データに基づいて、レ
ンダリング手段は3次元モデルの画像生成の際に、テク
スチャマッピング処理を施すので、元の2次元画像その
ものが3次元化されるとともに、その一部が3次元的に
変形される3次元モデルを得ることができる。
According to the present invention, element information is extracted from the two-dimensional image by the element extracting means, the extracted element information is reflected on the three-dimensional model, and texture coordinate data based on the two-dimensional image is used for texture creation. Created by means. Based on the texture coordinate data, the rendering means performs a texture mapping process when generating the image of the three-dimensional model, so that the original two-dimensional image itself is made three-dimensional and a part thereof is three-dimensionally deformed. The obtained three-dimensional model can be obtained.

【0019】また本発明は、バンプ処理用のデータを入
力して保存するバンプ保存手段をさらに含み、前記モデ
ル作成手段は、前記3次元情報を反映させて作成する3
次元モデルの表面に、バンプ保存手段によって保存され
るデータに基づくバンプ処理を施すことを特徴とする。
Further, the present invention further includes a bump storage means for inputting and storing data for bump processing, wherein the model creation means creates the data by reflecting the three-dimensional information.
The surface of the dimensional model is subjected to a bump process based on data stored by the bump storage unit.

【0020】本発明に従えば、バンプ保存手段に保存さ
れるバンプ処理用のデータが、レンダリング手段によっ
て3次元モデルの画像を生成する際にバンプ処理を施す
ために用いられるので、バンプデータに基づく法線方向
の変形で3次元画像の表面に凹凸などを容易に付加する
ことができる。
According to the present invention, the bump processing data stored in the bump storage means is used for performing the bump processing when the three-dimensional model image is generated by the rendering means. Irregularities and the like can be easily added to the surface of the three-dimensional image by deformation in the normal direction.

【0021】さらに本発明は、2次元画像を表す画像デ
ータを入力して保存する画像保存手段と、2次元画像を
3次元化するための基礎となる3次元形状を定めるモデ
リングデータを設定するモデル設定手段と、入力される
2次元画像を表す画像データから予め定める構成要素に
ついての情報を抽出する要素抽出手段と、要素抽出手段
によって抽出される要素情報を、予め定める関連性を有
する3次元情報に変換する要素変換手段と、モデル設定
手段によって設定されるモデリングデータに対して、要
素変換手段によって変換される3次元情報を反映させ、
3次元モデルを作成するモデル作成手段と、モデル作成
手段によって作成される3次元モデルから、レンダリン
グ処理によって3次元画像を生成するレンダリング手段
と、要素変換手段による要素情報の3次元情報への変
換、モデル作成手段による3次元情報の3次元モデルへ
の反映、およびレンダリング手段による3次元モデルの
レンダリング処理の過程で、該レンダリング処理によっ
て生成される3次元画像上の画素と、前記画像保存手段
に保存される画像データで表される2次元画像上の画素
との対応関係を示すマッピング情報を作成するマッピン
グ手段と、レンダリング手段によって生成される3次元
画像データを、該マッピング手段によって作成されるマ
ッピング情報とともに記憶するレンダリングメモリと、
レンダリングメモリに記憶される3次元画像データを、
表示して修正するための描画操作を入力する3次元画像
修正手段と、3次元画像修正手段への描画操作が行われ
るとき、レンダリングメモリに記憶されるマッピング情
報に従って、画像保存手段に保存される2次元画像を表
す画像データを修正する逆マッピング手段とを含み、2
次元画像に画像処理を施して3次元モデルを作成する3
次元モデル作成装置として、コンピュータを機能させる
ためのプログラムを記録したコンピュータ読取可能な記
録媒体である。さらにまた本発明は、2次元画像を表す
画像データを入力して保存する画像保存手段と、2次元
画像を3次元化するための基礎となる3次元形状を定め
るモデリングデータを設定するモデル設定手段と、入力
される2次元画像を表す画像データから予め定める構成
要素についての情報を抽出する要素抽出手段と、要素抽
出手段によって抽出される要素情報を、予め定める関連
性を有する3次元情報に変換する要素変換手段と、モデ
ル設定手段によって設定されるモデリングデータに対し
て、要素変換手段によって変換される3次元情報を反映
させ、3次元モデルを作成するモデル作成手段と、モデ
ル作成手段によって作成される3次元モデルから、レン
ダリング処理によって3次元画像を生成するレンダリン
グ手段と、画像保存手段に保存される2次元画像を表す
画像データを、表示して修正するための描画操作を入力
する2次元画像修正手段とを含み、要素抽出手段、要素
変換手段、モデル作成手段およびレンダリング手段は、
2次元画像修正手段によって画像データの修正のための
描画操作が行われる画素を含む予め定める範囲の画像デ
ータのみを、処理の対象とし、2次元画像に画像処理を
施して3次元モデルを作成する3次元モデル作成装置と
して、コンピュータを機能させるためのプログラムを記
録したコンピュータ読取可能な記録媒体である。
Further, the present invention provides an image storing means for inputting and storing image data representing a two-dimensional image, and a model for setting modeling data for defining a three-dimensional shape as a basis for converting the two-dimensional image into a three-dimensional image. Setting means, element extracting means for extracting information on predetermined components from image data representing an input two-dimensional image, and three-dimensional information having predetermined relevance of the element information extracted by the element extracting means. The three-dimensional information converted by the element conversion means is reflected on the modeling data set by the element conversion means for converting the
Model creation means for creating a three-dimensional model, rendering means for creating a three-dimensional image by a rendering process from the three-dimensional model created by the model creation means, conversion of element information into three-dimensional information by element conversion means, In the process of reflecting the three-dimensional information on the three-dimensional model by the model creation part and rendering the three-dimensional model by the rendering part, the pixels on the three-dimensional image generated by the rendering processing are stored in the image storage part. Mapping means for creating mapping information indicating a correspondence relationship with pixels on a two-dimensional image represented by image data to be rendered, and mapping information created by the mapping means for three-dimensional image data generated by the rendering means. A rendering memory stored with the
The three-dimensional image data stored in the rendering memory is
Three-dimensional image correcting means for inputting a drawing operation for displaying and correcting, and when a drawing operation is performed on the three-dimensional image correcting means, the image is stored in the image storing means in accordance with the mapping information stored in the rendering memory. Inverse mapping means for modifying image data representing a two-dimensional image;
3D image processing to create a 3D model
It is a computer-readable recording medium that stores a program for causing a computer to function as a dimensional model creation device. Still further, the present invention provides an image storage means for inputting and storing image data representing a two-dimensional image, and a model setting means for setting modeling data for defining a three-dimensional shape as a basis for converting the two-dimensional image into three dimensions. And an element extracting means for extracting information on a predetermined component from image data representing an input two-dimensional image, and converting the element information extracted by the element extracting means into three-dimensional information having a predetermined relationship. An element conversion unit that performs the conversion, reflects the three-dimensional information converted by the element conversion unit on the modeling data set by the model setting unit, and creates a three-dimensional model, and a model creation unit that creates the three-dimensional model. Rendering means for generating a three-dimensional image from a three-dimensional model by a rendering process, and image data stored in an image storage means. That the image data representing a two-dimensional image, and a two-dimensional image correction means for inputting a drawing operation to view and modify, element extraction means, elements converting means, the model creating means and the rendering means,
Only a predetermined range of image data including pixels for which a rendering operation for correcting image data is performed by the two-dimensional image correction means is to be processed, and a two-dimensional image is subjected to image processing to create a three-dimensional model. A computer-readable recording medium that records a program for causing a computer to function as a three-dimensional model creation device.

【0022】本発明に従えば、コンピュータをプログラ
ム動作で、2次元画像を表す画像データを入力して要素
情報を抽出し、3次元情報に反映させることによって、
複雑な形状の3次元モデルを容易に作成することができ
る3次元モデル作成装置として動作させることができ
る。
According to the present invention, the computer operates as a program to input image data representing a two-dimensional image, extract element information, and reflect the extracted element information on the three-dimensional information.
The device can be operated as a three-dimensional model creating device that can easily create a three-dimensional model having a complicated shape.

【0023】[0023]

【発明の実施の形態】図1は、本発明の実施の一形態の
概略的な電気的構成を示す。2次元画像入力部1には、
3次元化すべき2次元画像が入力される。2次元画像加
工部2では、2次元画像入力部1に入力される2次元画
像を、2次元画像保存部3に保存し、また必要に応じて
2次元画像保存部3に保存されている2次元画像を表す
画像データを読出す。3次元モデリングデータ保存部4
は、予め設定される3次元形状を定めるモデリングデー
タを保存する。図4で後述するように、モデリングデー
タは、2次元画像を3次元化するときの基本となる表面
を有する。モデリングデータの3次元形状は、ワイヤフ
レームモデルの状態で保存され、読み出して変形や投影
方向の修正を加えることもできる。バンプデータ保存部
5は、3次元モデルの表面に法線方向の細かい変化を付
加するバンプ処理を施すためのバンプデータを保存す
る。テクスチャ座標データ保存部6は、入力される2次
元画像から生成される物体表面の色彩、陰影、模様等を
表すテクスチャデータを、テクスチャ座標として保存す
る。
FIG. 1 shows a schematic electrical configuration of an embodiment of the present invention. In the two-dimensional image input unit 1,
A two-dimensional image to be made three-dimensional is input. In the two-dimensional image processing unit 2, the two-dimensional image input to the two-dimensional image input unit 1 is stored in the two-dimensional image storage unit 3 and, if necessary, stored in the two-dimensional image storage unit 3. The image data representing the two-dimensional image is read. 3D modeling data storage 4
Stores modeling data that defines a preset three-dimensional shape. As will be described later with reference to FIG. 4, the modeling data has a basic surface when a two-dimensional image is three-dimensionalized. The three-dimensional shape of the modeling data is stored in a state of a wire frame model, and can be read out and subjected to deformation and correction of a projection direction. The bump data storage unit 5 stores bump data for performing a bump process for adding a fine change in the normal direction to the surface of the three-dimensional model. The texture coordinate data storage unit 6 stores texture data representing colors, shadows, patterns, and the like of the surface of the object generated from the input two-dimensional image as texture coordinates.

【0024】3次元情報関連づけ処理部7は、2次元画
像加工部2から読出される2次元画像と3次元モデリン
グデータ保存部4に保存されている3次元のモデリング
データとの関連づけ処理を行う。3次元情報関連づけ処
理部7で関連づけを行った2次元画像に基づく3次元情
報は、3次元モデリングデータ作成部8で座標や法線成
分などに変換されて、3次元のワイヤフレームモデルが
作成される。作成された3次元のモデリングデータは、
3次元モデリングデータ保存部4に保存される。また、
3次元情報関連づけ処理部7は、バンプマッピングやテ
クスチャマッピング用にも関連を行うことができる。こ
の場合、3次元情報は、バンプデータ作成部9およびテ
クスチャデータ作成部10にもそれぞれ与えられ、バン
プデータおよびテクスチャ座標データがそれぞれ作成さ
れて、バンプデータ保存部5およびテクスチャ座標デー
タ保存部6にそれぞれ保存される。
The three-dimensional information associating processing unit 7 performs a process of associating the two-dimensional image read from the two-dimensional image processing unit 2 with the three-dimensional modeling data stored in the three-dimensional modeling data storage unit 4. The three-dimensional information based on the two-dimensional image associated by the three-dimensional information association processing unit 7 is converted into coordinates and normal components by a three-dimensional modeling data creation unit 8 to create a three-dimensional wireframe model. You. The created 3D modeling data is
The data is stored in the three-dimensional modeling data storage unit 4. Also,
The three-dimensional information association processing unit 7 can also perform association for bump mapping and texture mapping. In this case, the three-dimensional information is also provided to the bump data creation unit 9 and the texture data creation unit 10, respectively, and the bump data and the texture coordinate data are created respectively. Each is saved.

【0025】3次元モデリングデータ作成部8で作成さ
れた3次元のモデリングデータは、バンプマッピング制
御部11でバンプマッピングを行うか否かのON/OF
F制御が行われる。バンプマッピング制御部11の制御
出力は、バンプマッピング前処理部12に与えられ、バ
ンプマッピングがONに制御されるときには、バンプデ
ータ作成部9によって作成されるバンプデータと、2次
元画像保存部3に保存される2次元画像を表す画像デー
タとに基づくバンプマッピングのための前処理が行われ
る。バンプマッピング制御部11からは、モデリングデ
ータがテクスチャマッピング制御部13に与えられる。
テクスチャマッピング制御部13では、テクスチャマッ
ピング前処理部14に対し、テクスチャマッピングを行
うか否かのON/OFF制御を行う。テクスチャマッピ
ングを行うときには、テクスチャ座標データ作成部10
で作成されるテクスチャ座標データと、2次元画像保存
部3から読出される2次元画像を表す画像データとの間
で、テクスチャマッピング前処理が行われる。
The three-dimensional modeling data created by the three-dimensional modeling data creation unit 8 is used to determine whether or not bump mapping is to be performed by the bump mapping control unit 11.
F control is performed. The control output of the bump mapping control unit 11 is given to the bump mapping pre-processing unit 12, and when the bump mapping is controlled to be ON, the bump data created by the bump data creation unit 9 and the two-dimensional image storage unit 3 A pre-process for bump mapping based on the stored image data representing the two-dimensional image is performed. The modeling data is provided from the bump mapping control unit 11 to the texture mapping control unit 13.
The texture mapping control unit 13 controls the texture mapping pre-processing unit 14 to perform ON / OFF control as to whether or not to perform texture mapping. When performing texture mapping, the texture coordinate data creation unit 10
The texture mapping pre-processing is performed between the texture coordinate data created in step (1) and the image data representing the two-dimensional image read from the two-dimensional image storage unit 3.

【0026】テクスチャマッピング制御部13からは、
3次元モデリングデータがレンダリング処理部15に与
えられ、バンプマッピング前処理部12およびテクスチ
ャマッピング前処理部14からそれぞれ与えられるバン
プマッピングデータおよびテクスチャマッピングデータ
を利用して、ワイヤフレームモデルを3次元的に見える
ようにするレンダリング処理が行われる。レンダリング
処理部15は、処理結果を画像データとして保存するレ
ンダリングメモリを有する。ワイヤフレームをそのまま
表示すると、視点から見て裏側の稜線も表示されてしま
い、現実的な3次元形状としての認識が困難である。レ
ンダリング処理部15の処理結果は、レンダリングメモ
リから読み出され、陰極線管(CRT)や液晶表示素子
(LCD)などの表示部16で画像として表示される。
From the texture mapping control unit 13,
The three-dimensional modeling data is supplied to the rendering processing unit 15, and the wireframe model is three-dimensionally converted using the bump mapping data and the texture mapping data supplied from the bump mapping preprocessing unit 12 and the texture mapping preprocessing unit 14, respectively. A rendering process is performed to make it visible. The rendering processing unit 15 has a rendering memory that stores processing results as image data. If the wire frame is displayed as it is, the ridgeline on the back side when viewed from the viewpoint is also displayed, and it is difficult to recognize a realistic three-dimensional shape. The processing result of the rendering processing unit 15 is read from the rendering memory and displayed as an image on a display unit 16 such as a cathode ray tube (CRT) or a liquid crystal display (LCD).

【0027】以上のように、本実施形態の3次元モデル
作成装置20は、2次元画像入力部1に入力される2次
元画像を3次元モデリングデータ作成部8で作成される
3次元モデリングデータに反映させて、3次元モデルを
得ることができる。2次元画像入力部1は、スキャナな
どの2次元画像の読取装置を備えたり、ファイル化され
た2次元画像を読込むようにしたり、あるいは直接描画
操作で入力を行うようにすることができる。
As described above, the three-dimensional model creation device 20 of the present embodiment converts a two-dimensional image input to the two-dimensional image input unit 1 into three-dimensional modeling data created by the three-dimensional modeling data creation unit 8. By reflection, a three-dimensional model can be obtained. The two-dimensional image input unit 1 can include a two-dimensional image reading device such as a scanner, read a two-dimensional image stored in a file, or perform input by a direct drawing operation.

【0028】図2は、図1の3次元モデル作成装置20
の概略的な画像処理手順を示す。ステップa1から処理
を開始し、ステップa2ではモノクロの2次元画像、た
とえば図3に示すような2次元画像が入力される。ステ
ップa3では、図3に示すような2次元画像を構成する
要素の一つである白黒の濃淡レベルについての情報が抽
出され、3次元の奥行情報に変換される。たとえば、2
次元画像の濃淡から奥行情報に変換する際には、濃淡の
階調を256階調とし、128のレベルを基本色として
設定する。濃淡のレベルが129〜255のときは、表
面から突出する方向に座標変換が行われ、レベルが12
8のときは奥行に変化がない状態であるので、奥行情報
を消去する際に使用する。また濃淡レベルが0〜127
のきは、3次元モデルの表面の反対側に引っ込むように
座標変換が行われる。ステップa4では、図4に示すよ
うなワイヤフレームモデルが予め3次元形状を定めるモ
デリングデータとして用意され、ステップa3で変換さ
れた奥行情報が付加されて3次元モデル作成が行われ
る。図4のワイヤフレームモデルは、図4(a)に示す
ような基本形状を、図4(b)に示すように任意に変形
し、任意の投影角度を設定することができる。図4
(a)の段階では、図3の2次元画像の2次元座標との
間で画素間の対応関係が設定され、図4(b)に示すよ
うな3次元的な変形された形状に対して図3の2次元座
標との対応関係が3次元モデリングデータ作成部8でマ
ッピングデータとして作成される。さらにステップa3
で変換された奥行情報を付加すると、図3の2次元画像
は図5に示すようなワイヤフレームで表される3次元モ
デルに変換される。
FIG. 2 shows the three-dimensional model creating apparatus 20 shown in FIG.
1 shows a schematic image processing procedure. The process starts from step a1. In step a2, a monochrome two-dimensional image, for example, a two-dimensional image as shown in FIG. 3 is input. In step a3, information on black and white shading levels, which is one of the elements constituting the two-dimensional image as shown in FIG. 3, is extracted and converted into three-dimensional depth information. For example, 2
When converting the shades of a two-dimensional image into depth information, the shades of shades are set to 256 tones and 128 levels are set as basic colors. When the shading level is 129 to 255, coordinate conversion is performed in a direction protruding from the surface, and the level is 12
At the time of 8, since there is no change in the depth, it is used when deleting the depth information. In addition, the gray level is 0 to 127.
In the case of a saw, coordinate transformation is performed so as to retract on the opposite side of the surface of the three-dimensional model. In step a4, a wireframe model as shown in FIG. 4 is prepared in advance as modeling data for defining a three-dimensional shape, and the depth information converted in step a3 is added to create a three-dimensional model. The wire frame model of FIG. 4 can arbitrarily deform the basic shape as shown in FIG. 4A as shown in FIG. 4B and set an arbitrary projection angle. FIG.
In the stage (a), the correspondence between pixels is set between the two-dimensional coordinates of the two-dimensional image in FIG. 3 and the three-dimensional deformed shape as shown in FIG. The correspondence with the two-dimensional coordinates in FIG. 3 is created as mapping data by the three-dimensional modeling data creating unit 8. Step a3
When the converted depth information is added, the two-dimensional image of FIG. 3 is converted to a three-dimensional model represented by a wire frame as shown in FIG.

【0029】ステップa5では、図1のレンダリング処
理部15によってレンダリング処理を行う。レンダリン
グ処理では、2次元のバンプデータに従って、3次元モ
デルの表面の法線方向を変調したり、2次元のテクスチ
ャデータを3次元モデルの表面にマッピングしたりする
処理も行う。図5に示すようなワイヤフレーム形式の3
次元モデルについては、レンダリング処理でテクスチャ
マッピングを行わずに、指示色について、たとえば図6
に示すようなサーフェイスモデル形式の3次元画像とし
て生成することも可能である。ステップa6では、レン
ダリング処理部15によるレンダリング処理後に生成さ
れる画像を表示する。ステップa7では、2次元画像入
力部1に入力される2次元画像に対して修正が行われて
いるか否か判断する。ステップa6で表示した画像が必
ずしも所望の効果が得られていないときなどには、ペン
などの描画ツールを利用して、元の2次元画像に対する
修正が行われる。修正が行われると、ステップa3に戻
る。修正が行われなければ、ステップa8で処理を終了
する。
In step a5, rendering processing is performed by the rendering processing unit 15 of FIG. In the rendering process, a process of modulating the normal direction of the surface of the three-dimensional model and mapping the two-dimensional texture data on the surface of the three-dimensional model is also performed according to the two-dimensional bump data. As shown in FIG.
Regarding the dimensional model, the texture mapping is not performed in the rendering process, and the indicated color is obtained, for example, as shown in FIG.
It is also possible to generate a three-dimensional image in a surface model format as shown in FIG. In step a6, an image generated after the rendering processing by the rendering processing unit 15 is displayed. In step a7, it is determined whether or not the two-dimensional image input to the two-dimensional image input unit 1 has been corrected. When the image displayed in step a6 does not always have the desired effect, the original two-dimensional image is corrected using a drawing tool such as a pen. After the correction, the process returns to step a3. If no correction has been made, the process ends at step a8.

【0030】レンダリング処理によって得られた3次元
画像に対して修正を行う場合には、その修正を行う方向
によって2種類があり、これを切換可能にしておく。
When a three-dimensional image obtained by the rendering process is corrected, there are two types depending on the direction in which the correction is performed, and these can be switched.

【0031】レンダリングによって表示される3次元
画像の向きに関係なく、ペンで指定した位置での3次元
モデルの表面に対し、垂直方向に奥行の座標変換を行
う。3次元モデル表面に対する修正角度は、投影角度に
関係しない。
Regardless of the orientation of the three-dimensional image displayed by rendering, the depth coordinate transformation is performed on the surface of the three-dimensional model at the position designated by the pen in the vertical direction. The correction angle with respect to the three-dimensional model surface is independent of the projection angle.

【0032】レンダリングによって表示される3次元
画像のペンで指定した位置に対して、表示部16から見
た方向に奥行の座標変換を行う。投影角度によって、3
次元モデル表面に対する修正角度が変化する。
The coordinates of the depth are converted in the direction viewed from the display unit 16 with respect to the position specified by the pen on the three-dimensional image displayed by the rendering. 3 depending on the projection angle
The correction angle with respect to the three-dimensional model surface changes.

【0033】図7は、本発明の実施の他の形態として、
図1の3次元モデル作成装置が行う処理手順を示す。ス
テップb1から処理を開始し、ステップb2では、図2
のステップa2と同様に2次元画像の入力を行う。本実
施形態では、2次元画像として、図8に示すようなカラ
ー画像を用いる。ステップb3では、入力されたカラー
画像から特定の色成分を構成要素として抽出し、抽出さ
れた色成分の濃淡レベルを3次元的な奥行情報に変換す
る。ステップb4では、図2のステップa4と同様に、
図5に示すような3次元モデルを作成する。ステップb
5では、図5に示すような3次元モデルに基づき、図2
のステップa5で作成される図6の3次元画像と同様な
レンダリング処理を行う。ステップb7では、さらにレ
ンダリング処理で、図8に示す2次元カラー画像を図6
に示す3次元画像の表面にテクスチャマッピングし、図
9に示すような画像を表示する。ステップb8では、元
の2次元画像に対する修正が行われていれば、ステップ
b3に戻る。修正が行われていなければ、ステップb9
で手順を終了する。
FIG. 7 shows another embodiment of the present invention.
2 shows a processing procedure performed by the three-dimensional model creation device of FIG. The process starts from step b1.
A two-dimensional image is input as in step a2. In the present embodiment, a color image as shown in FIG. 8 is used as a two-dimensional image. In step b3, a specific color component is extracted as a component from the input color image, and the density level of the extracted color component is converted into three-dimensional depth information. In step b4, similar to step a4 in FIG.
A three-dimensional model as shown in FIG. 5 is created. Step b
5 is based on a three-dimensional model as shown in FIG.
Rendering processing similar to the three-dimensional image of FIG. 6 created in step a5 of FIG. In step b7, the two-dimensional color image shown in FIG.
The texture mapping is performed on the surface of the three-dimensional image shown in FIG. 9 and an image as shown in FIG. 9 is displayed. In step b8, if the original two-dimensional image has been corrected, the process returns to step b3. If no correction has been made, step b9
To end the procedure.

【0034】図10は、本発明の実施の他の形態の概略
的な構成を示す。2次元画像入力部21には、複数の画
像22a,22b,…,22nが入力可能である。入力
された画像22a,22b,22nを表す画像データ
は、2次元画像保存部23に保存される。要素関連づけ
指定部24は、3次元モデル作成の元になる2次元画像
からどの構成要素を抽出し、3次元画像のどの要素に変
換するかを指定する。関連づけデータ変換処理部25
は、要素関連づけ指定部24で指定される構成要素を2
次元画像保存部23に保存されている2次元画像を表す
画像データから抽出し、3次元情報に変換し、3次元の
モデリングデータに反映させる。関連づけデータ変換処
理部25で処理された3次元モデルの座標データは、3
次元座標保存部26に保存される。関連づけデータ変換
処理部25では、2次元画像入力部21から入力される
2次元画像からテクスチャ座標データを作成することも
でき、作成されたデータはテクスチャ座標データ保存部
27に保存される。3次元画像処理部28は、テクスチ
ャ座標保存部27または2次元画像保存部23に保存さ
れる2次元画像を、テクスチャマッピング情報またはバ
ンプマッピング情報としてそれぞれ利用し、3次元座標
保存部26に保存される3次元のモデリングデータを基
礎とする3次元モデルをレンダリング処理し、3次元画
像として生成する。3次元画像処理部28はレンダリン
グメモリを備え、レンダリング処理によって得られる3
次元画像データを記憶することができる。レンダリング
メモリの記憶内容は、3次元画像修正部29で表示画像
を見ながら修正することができる。3次元画像修正部2
9によって与えられる修正は、2次元画像保存部23に
保存される2次元画像に反映して修正され、修正結果が
再び3次元画像に反映されて表示される。
FIG. 10 shows a schematic configuration of another embodiment of the present invention. A plurality of images 22a, 22b,..., 22n can be input to the two-dimensional image input unit 21. Image data representing the input images 22a, 22b, 22n is stored in the two-dimensional image storage unit 23. The element association specifying unit 24 specifies which constituent element is extracted from the two-dimensional image that is the source of the three-dimensional model creation and which element of the three-dimensional image is to be converted. Association data conversion processing unit 25
Indicates that the component specified by the element association specifying unit 24 is 2
It is extracted from image data representing a two-dimensional image stored in the three-dimensional image storage unit 23, converted into three-dimensional information, and reflected on three-dimensional modeling data. The coordinate data of the three-dimensional model processed by the association data conversion processing unit 25 is
It is stored in the dimensional coordinate storage unit 26. The association data conversion processing unit 25 can also create texture coordinate data from the two-dimensional image input from the two-dimensional image input unit 21, and the created data is stored in the texture coordinate data storage unit 27. The three-dimensional image processing unit 28 uses the two-dimensional image stored in the texture coordinate storage unit 27 or the two-dimensional image storage unit 23 as texture mapping information or bump mapping information, and stores the three-dimensional image in the three-dimensional coordinate storage unit 26. A three-dimensional model based on three-dimensional modeling data is rendered to generate a three-dimensional image. The three-dimensional image processing unit 28 includes a rendering memory, and obtains a three-dimensional image obtained by the rendering process.
One-dimensional image data can be stored. The contents stored in the rendering memory can be corrected by the three-dimensional image correction unit 29 while viewing the display image. 3D image correction unit 2
The correction given by 9 is reflected and corrected in the two-dimensional image stored in the two-dimensional image storage unit 23, and the correction result is reflected and displayed again in the three-dimensional image.

【0035】ここで3次元画像修正部29による3次元
画像の修正では、2種類のペンを用意しておき、上述の
3次元モデル修正用と、テクスチャ画像修正用とに切換
え可能にしておく。ペンの種類を上述の3次元モデル修
正用からテクスチャ画像修正用に切換えて、3次元画像
処理部28のレンダリングメモリに記憶される画像デー
タを修正すれば、3次元画像の表面にテクスチャマッピ
ングを行うための2次元のテクスチャ画像データに対す
る修正を行うこともできる。テクスチャ画像について
も、レンダリング処理によって得られる画像データを見
ながら修正することが可能となるので、画像データの修
正を容易に行うことができる。
Here, in the correction of the three-dimensional image by the three-dimensional image correction unit 29, two types of pens are prepared, and switching between the three-dimensional model correction and the texture image correction is possible. If the type of pen is switched from the above-described three-dimensional model correction to the texture image correction and the image data stored in the rendering memory of the three-dimensional image processing unit 28 is corrected, texture mapping is performed on the surface of the three-dimensional image. Correction for the two-dimensional texture image data can be performed. The texture image can be corrected while viewing the image data obtained by the rendering process, so that the image data can be easily corrected.

【0036】なお、画像の修正の際には、修正のための
描画が行われる画素を含む所定領域を設定し、設定され
る領域内でのみ修正のための画像処理を行うこともでき
る。全部の画像データの修正を行う必要がなくなる。ま
た、マッピングデータを逆方向、すなわち3次元画像上
の画素から2次元画像上の画素に対応させる逆マッピン
グデータを作成しておけば、3次元画像から2次元画像
への修正をさらに迅速に行うことができる。
When an image is modified, a predetermined area including pixels to be rendered for the modification may be set, and image processing for the modification may be performed only in the set area. It is not necessary to correct all image data. In addition, if reverse mapping data is created for mapping data in the reverse direction, that is, from a pixel on a three-dimensional image to a pixel on a two-dimensional image, the correction from the three-dimensional image to the two-dimensional image can be performed more quickly. be able to.

【0037】図10に示すような3次元モデル作成装置
30では、画像22a,22bとして、たとえば図3に
示すようなモノクロの濃淡画像と図8に示すようなカラ
ー画像とを3次元モデル作成用の2次元画像として入力
し、さらにテクスチャデータやバンプデータとして用い
る2次元画像や、画像22nとして、図11に示すよう
な画像も入力可能である。すなわち、2次元画像入力部
21には、複数の2次元画像が入力され、2次元画像保
存部23には、入力された複数の2次元画像を保存し、
3次元モデル作成用の2次元画像と、テクスチャマッピ
ング用の2次元画像等を自由に選択することができる。
3次元座標保存部26には、図5に示すような3次元の
モデリングデータを保存することができる。3次元画像
処理部28で得られる画像の一例として、図12には、
図7と同様に図8のカラー画像データから1つの色成分
を抽出して奥行情報に反映させた後、さらに元の図8に
示す2次元カラー画像をテクスチャマッピング処理をし
た3次元画像を示す。
In the three-dimensional model creating apparatus 30 as shown in FIG. 10, for example, a monochrome gray-scale image as shown in FIG. 3 and a color image as shown in FIG. It is also possible to input a two-dimensional image used as texture data and bump data, and an image shown in FIG. 11 as the image 22n. That is, the two-dimensional image input unit 21 receives a plurality of two-dimensional images, and the two-dimensional image storage unit 23 stores the plurality of input two-dimensional images.
A two-dimensional image for creating a three-dimensional model, a two-dimensional image for texture mapping, and the like can be freely selected.
The three-dimensional coordinate storage unit 26 can store three-dimensional modeling data as shown in FIG. As an example of an image obtained by the three-dimensional image processing unit 28, FIG.
7 shows a three-dimensional image obtained by extracting one color component from the color image data of FIG. 8 and reflecting the same on the depth information in the same manner as in FIG. 7, and further subjecting the original two-dimensional color image shown in FIG. 8 to texture mapping. .

【0038】図13は、図1または図10に示すような
3次元モデル作成装置20,30を実現するために必要
なコンピュータ装置31と周辺装置とを示す。コンピュ
ータ装置31としては、ワークステーションやパーソナ
ルコンピュータなどが使用可能である。画像の表示に
は、陰極線管(CRT)や液晶表示素子(LCD)など
によるディスプレイ装置32を用いる。コンピュータ装
置31に各種データを与えるために、キーボード33を
使用する。コンピュータ装置31に画像を描画して入力
するために、ペン34およびタブレット35の組合わせ
を用いる。コンピュータ装置31内には、内部記憶装置
36として、半導体メモリやハードディスクなどが収納
される。さらに外部記憶装置37として、CD−ROM
およびDVD−ROMやフロッピーデイスクなどの記録
媒体の再生装置が設けられる。コンピュータ装置31を
図1の3次元モデル作成装置20または図10の3次元
モデル作成装置30として動作させるためのプログラム
は、たとえばCD−ROMなどに記録した状態で外部記
憶装置37に挿入する。またコンピュータ装置31は、
ローカルエリアネットワーク(LAN)やインターネッ
トなどに接続され、それらのネットワークからプログラ
ムをダウンロードして動作させることもできる。2次元
画像入力部1,21に入力する2次元画像も、記録媒体
またはネットワークから作成済みの画像データファイル
として入力したり、ペン34およびタブレット35など
を使用して描画により入力させることもできる。なお、
コンピュータ装置31として、専用のハードウエアを用
いることも可能である。
FIG. 13 shows a computer device 31 and peripheral devices necessary for realizing the three-dimensional model creating devices 20 and 30 as shown in FIG. 1 or FIG. As the computer device 31, a workstation or a personal computer can be used. A display device 32 such as a cathode ray tube (CRT) or a liquid crystal display (LCD) is used for displaying an image. A keyboard 33 is used to provide various data to the computer device 31. A combination of a pen 34 and a tablet 35 is used for drawing and inputting an image to the computer device 31. In the computer device 31, a semiconductor memory, a hard disk, or the like is housed as the internal storage device. Further, a CD-ROM is used as the external storage device 37.
Also, a reproducing apparatus for a recording medium such as a DVD-ROM or a floppy disk is provided. A program for operating the computer device 31 as the three-dimensional model creation device 20 in FIG. 1 or the three-dimensional model creation device 30 in FIG. 10 is inserted into the external storage device 37 while being recorded on, for example, a CD-ROM. The computer device 31
It is connected to a local area network (LAN), the Internet, or the like, and can also operate by downloading programs from those networks. The two-dimensional image input to the two-dimensional image input units 1 and 21 can also be input as a prepared image data file from a recording medium or a network, or can be input by drawing using the pen 34 and the tablet 35 or the like. In addition,
It is also possible to use dedicated hardware as the computer device 31.

【0039】図14〜図16は、図1または図10に示
す3次元モデル作成装置20,30を用いて2次元画像
に基づいて3次元画像として表示可能な例を示す。図1
4に示すようなカラーの2次元画像から、各色の濃淡を
3次元の奥行情報に変換し、図15に示すような3次元
のレンダリング画像を生成する。さらに、図14に示す
ような元の2次元画像を図15の3次元変換されたレン
ダリング画像の表面にテクスチャマッピングすると、図
16に示すような3次元画像を容易に得ることができ
る。
FIGS. 14 to 16 show examples in which three-dimensional images can be displayed as three-dimensional images based on two-dimensional images using the three-dimensional model generating devices 20 and 30 shown in FIG. 1 or FIG. FIG.
From the color two-dimensional image shown in FIG. 4, the shade of each color is converted into three-dimensional depth information, and a three-dimensional rendering image as shown in FIG. 15 is generated. Further, when the original two-dimensional image as shown in FIG. 14 is texture-mapped on the surface of the three-dimensionally converted rendering image in FIG. 15, a three-dimensional image as shown in FIG. 16 can be easily obtained.

【0040】[0040]

【発明の効果】以上のように本発明によれば、2次元画
像から抽出される構成要素についての情報を、3次元モ
デルの作成の際に反映させ、複雑な形状の3次元モデル
も容易に作成することができる。また、レンダリング処
理によって生成される3次元画像に対して修正を行え
ば、元の2次元画像に対して修正が行われ、3次元モデ
ルの形状に対する違和感のない修正に容易に反映させる
ことができる。
As described above, according to the present invention, information on components extracted from a two-dimensional image is reflected when a three-dimensional model is created, and a three-dimensional model having a complicated shape can be easily obtained. Can be created. Further, if the three-dimensional image generated by the rendering process is corrected, the correction is performed on the original two-dimensional image, and the correction can be easily reflected on the correction of the shape of the three-dimensional model without discomfort. .

【0041】また本発明によれば、画像データに対して
修正が行われるときには、予め定める範囲のみの画像処
理でデータの修正を行うので、3次元画像作成処理の迅
速化を図ることができる。
Further, according to the present invention, when the image data is corrected, the data is corrected only by a predetermined range of image processing, so that the three-dimensional image creation processing can be sped up.

【0042】さらに本発明によれば、2次元画像から抽
出される構成要素についての情報を、3次元モデルの作
成の際に反映させ、複雑な形状の3次元モデルも容易に
作成することができる。また、3次元モデルの元になる
2次元画像の画像データを修正することによって、容易
に3次元モデルの修正を行うことができる。さらに、画
像データに対して修正が行われるときには、予め定める
範囲のみの画像処理でデータの修正を行うので、3次元
画像作成処理の迅速化を図ることができる。
Further, according to the present invention, information on constituent elements extracted from a two-dimensional image is reflected when a three-dimensional model is created, and a three-dimensional model having a complicated shape can be easily created. . Further, by correcting the image data of the two-dimensional image that is the basis of the three-dimensional model, the three-dimensional model can be easily corrected. Further, when the image data is corrected, the data is corrected by image processing only in a predetermined range, so that the three-dimensional image creation processing can be speeded up.

【0043】また本発明によれば、モノクロ画像の濃淡
を3次元的な奥行きに反映させて3次元モデルを作成す
ることができる。
Further, according to the present invention, a three-dimensional model can be created by reflecting the shading of a monochrome image on a three-dimensional depth.

【0044】また本発明によれば、カラー画像の特定の
色成分を3次元モデルの奥行情報に反映させて3次元モ
デルを容易に得ることができる。
Further, according to the present invention, it is possible to easily obtain a three-dimensional model by reflecting a specific color component of a color image in depth information of the three-dimensional model.

【0045】[0045]

【0046】また本発明によれば、2次元画像から抽出
される構成要素が反映されて形成される3次元画像の表
面には、2次元画像がテクスチヤマッピング処理で付加
されるので、元の2次元画像の一部が凹凸化した3次元
画像を得ることができる。
According to the present invention, the two-dimensional image is added to the surface of the three-dimensional image formed by reflecting the components extracted from the two-dimensional image by the texture mapping process. It is possible to obtain a three-dimensional image in which a part of the two-dimensional image is made uneven.

【0047】また本発明によれば、3次元画像の表面に
バンプ処理を施すことができるので、材質感などを容易
に表すことができる。
Further, according to the present invention, the surface of a three-dimensional image can be subjected to a bump treatment, so that a feeling of material and the like can be easily represented.

【0048】さらに本発明によれば、記録媒体に記録さ
れているプログラムでコンピュータ装置に2次元画像の
構成要素を3次元画像に反映させる3次元モデル作成装
置として動作させることができる。
Further, according to the present invention, it is possible to cause a computer device to operate as a three-dimensional model creation device that reflects components of a two-dimensional image on a three-dimensional image by a program recorded on a recording medium.

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

【図1】本発明の実施の一形態の3次元モデル作成装置
20の概略的な構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a three-dimensional model creation device 20 according to an embodiment of the present invention.

【図2】図1の3次元モデル作成装置20の処理手順の
一形態を示すフローチャートである。
FIG. 2 is a flowchart showing one embodiment of a processing procedure of the three-dimensional model creation device 20 of FIG.

【図3】図1の2次元画像入力部1に入力されるモノク
ロの2次元画像の例を示す図である。
FIG. 3 is a diagram illustrating an example of a monochrome two-dimensional image input to a two-dimensional image input unit 1 in FIG. 1;

【図4】3次元モデルの基本となる3次元のワイヤフレ
ームモデルについての初期設定状態と変形状態とを示す
図である。
FIG. 4 is a diagram illustrating an initial setting state and a deformed state of a three-dimensional wire frame model which is a basic of the three-dimensional model.

【図5】図1の3次元モデリングデータ作成部8で作成
される3次元のワイヤフレームモデルを示す図である。
FIG. 5 is a diagram showing a three-dimensional wireframe model created by a three-dimensional modeling data creation unit 8 of FIG. 1;

【図6】図1のレンダリング処理部15でレンダリング
処理されて生成される3次元画像を示す図である。
6 is a diagram illustrating a three-dimensional image generated by performing a rendering process in a rendering processing unit 15 of FIG. 1;

【図7】図1の3次元モデル作成装置20の処理手順の
他の形態示すフローチャートである。
FIG. 7 is a flowchart showing another embodiment of the processing procedure of the three-dimensional model creation device 20 of FIG.

【図8】図7の処理手順で2次元画像入力部1に入力さ
れるカラーの2次元画像を示す図である。
8 is a diagram illustrating a color two-dimensional image input to the two-dimensional image input unit 1 in the processing procedure of FIG. 7;

【図9】図7の処理手順で、図8のカラー画像の色成分
を抽出して3次元化したレンダリング処理画像を示す図
である。
FIG. 9 is a diagram showing a rendering process image in which the color components of the color image of FIG. 8 are extracted and three-dimensionalized by the processing procedure of FIG. 7;

【図10】本発明の実施の他の形態の3次元モデル作成
装置30の概略的な電気的構成を示すブロック図であ
る。
FIG. 10 is a block diagram showing a schematic electrical configuration of a three-dimensional model creation device 30 according to another embodiment of the present invention.

【図11】図10の2次元画像入力部21に入力される
複数の2次元画像のうちの1つを示す図である。
11 is a diagram illustrating one of a plurality of two-dimensional images input to the two-dimensional image input unit 21 in FIG.

【図12】図10の実施形態の3次元画像処理部28か
ら得られる3次元画像の一例を示す図である。
FIG. 12 is a diagram illustrating an example of a three-dimensional image obtained from a three-dimensional image processing unit of the embodiment in FIG. 10;

【図13】図1の3次元モデル作成装置20または図1
0の3次元モデル作成装置30を実現するハードウエア
構成の例を簡略化して示す斜視図である。
FIG. 13 shows the three-dimensional model creation device 20 of FIG. 1 or FIG.
FIG. 3 is a simplified perspective view showing an example of a hardware configuration for realizing the three-dimensional model creation device 30 of FIG.

【図14】図1または図10の実施形態で3次元化処理
を行う元となる2次元画像のさらに他の例を示す図であ
る。
FIG. 14 is a diagram showing still another example of the two-dimensional image from which the three-dimensional processing is performed in the embodiment of FIG. 1 or FIG. 10;

【図15】図14の2次元画像に基づいて得られる3次
元レンダリング処理画像を示す図である。
FIG. 15 is a diagram illustrating a three-dimensional rendering image obtained based on the two-dimensional image of FIG. 14;

【図16】図15の3次元レンダリング処理画像に図1
4の2次元画像をテクスチャマッピング処理した3次元
画像を示す図である。
FIG. 16 shows a three-dimensional rendering image of FIG.
FIG. 14 is a diagram illustrating a three-dimensional image obtained by performing texture mapping on the two-dimensional image No. 4;

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

1,21 2次元画像入力部 3,23 2次元画像保存部 4 3次元モデリングデータ保存部 5 バンプデータ保存部 6,27 テクスチャ座標データ保存部 7 3次元情報関連づけ処理部 8 3次元モデリングデータ作成部 9 バンプデータ作成部 10 テクスチャデータ座標作成部 15 レンダリング処理部 16 表示部 20,30 3次元モデル作成装置 22a,22b,…,22n 画像 24 要素関連づけ指定部 25 関連づけデータ変換処理部 26 3次元座標保存部 28 3次元画像処理部 29 3次元画像修正部 31 コンピュータ装置 32 ディスプレイ装置 34 ペン 35 タブレット 37 外部記憶装置 1, 21 2D image input unit 3, 23 2D image storage unit 4 3D modeling data storage unit 5 Bump data storage unit 6, 27 Texture coordinate data storage unit 7 3D information association processing unit 8 3D modeling data creation unit 9 Bump data creation unit 10 Texture data coordinate creation unit 15 Rendering processing unit 16 Display unit 20, 30 3D model creation device 22a, 22b, ..., 22n Image 24 Element association specifying unit 25 Association data conversion processing unit 26 3D coordinate storage Unit 28 three-dimensional image processing unit 29 three-dimensional image correction unit 31 computer device 32 display device 34 pen 35 tablet 37 external storage device

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 2次元画像に画像処理を施して3次元モ
デルを作成する3次元モデル作成装置において、 2次元画像を表す画像データを入力して保存する画像保
存手段と、 2次元画像を3次元化するための基礎となる3次元形状
を定めるモデリングデータを設定するモデル設定手段
と、 入力される2次元画像を表す画像データから予め定める
構成要素についての情報を抽出する要素抽出手段と、 要素抽出手段によって抽出される要素情報を、予め定め
る関連性を有する3次元情報に変換する要素変換手段
と、 モデル設定手段によって設定されるモデリングデータに
対して、要素変換手段によって変換される3次元情報を
反映させ、3次元モデルを作成するモデル作成手段と、 モデル作成手段によって作成される3次元モデルから、
レンダリング処理によって3次元画像を生成するレンダ
リング手段と、 要素変換手段による要素情報の3次元情報への変換、モ
デル作成手段による3次元情報の3次元モデルへの反
映、およびレンダリング手段による3次元モデルのレン
ダリング処理の過程で、該レンダリング処理によって生
成される3次元画像上の画素と、前記画像保存手段に保
存される画像データで表される2次元画像上の画素との
対応関係を示すマッピング情報を作成するマッピング手
段と、 レンダリング手段によって生成される3次元画像データ
を、該マッピング手段によって作成されるマッピング情
報とともに記憶するレンダリングメモリと、 レンダリングメモリに記憶される3次元画像データを、
表示して修正するための描画操作を入力する3次元画像
修正手段と、 3次元画像修正手段への描画操作が行われるとき、レン
ダリングメモリに記憶されるマッピング情報に従って、
画像保存手段に保存される2次元画像を表す画像データ
を修正する逆マッピング手段とを含むことを特徴とする
3次元モデル作成装置。
1. A three-dimensional model creating apparatus for creating a three-dimensional model by performing image processing on a two-dimensional image, comprising: image storage means for inputting and saving image data representing a two-dimensional image; Model setting means for setting modeling data for defining a three-dimensional shape as a basis for dimensioning; element extracting means for extracting information about predetermined components from image data representing an input two-dimensional image; Element conversion means for converting the element information extracted by the extraction means into three-dimensional information having a predetermined relationship; and three-dimensional information converted by the element conversion means for modeling data set by the model setting means. From the model creating means for creating the three-dimensional model, and the three-dimensional model created by the model creating means,
Rendering means for generating a three-dimensional image by a rendering process; conversion of element information into three-dimensional information by element conversion means; reflection of three-dimensional information on the three-dimensional model by model creation means; In the course of the rendering process, mapping information indicating the correspondence between pixels on the three-dimensional image generated by the rendering process and pixels on the two-dimensional image represented by the image data stored in the image storage unit is stored. Mapping means for creating, a rendering memory for storing the three-dimensional image data generated by the rendering means together with mapping information created by the mapping means, and three-dimensional image data stored in the rendering memory.
Three-dimensional image correcting means for inputting a drawing operation for display and correction; and when a drawing operation to the three-dimensional image correcting means is performed, according to mapping information stored in a rendering memory.
A three-dimensional model creation device, comprising: inverse mapping means for correcting image data representing a two-dimensional image stored in the image storage means.
【請求項2】 前記要素抽出手段、前記要素変換手段、
前記モデル作成手段および前記レンダリング手段は、前
記3次元画像修正手段によって画像データの修正のため
の描画操作が行われる画素を含む予め定める範囲の画像
データのみを、処理の対象とすることを特徴とする請求
項1記載の3次元モデル作成装置。
2. The element extracting unit, the element converting unit,
The model creating unit and the rendering unit are configured to process only image data in a predetermined range including pixels for which a rendering operation for correcting image data is performed by the three-dimensional image modifying unit. The three-dimensional model creation device according to claim 1, wherein
【請求項3】 2次元画像に画像処理を施して3次元モ
デルを作成する3次元モデル作成装置において、 2次元画像を表す画像データを入力して保存する画像保
存手段と、2次元画像を3次元化するための基礎となる
3次元形状を定めるモデリングデータを設定するモデル
設定手段と、 入力される2次元画像を表す画像データから予め定める
構成要素についての情報を抽出する要素抽出手段と、 要素抽出手段によって抽出される要素情報を、予め定め
る関連性を有する3次元情報に変換する要素変換手段
と、 モデル設定手段によって設定されるモデリングデータに
対して、要素変換手段によって変換される3次元情報を
反映させ、3次元モデルを作成するモデル作成手段と、 モデル作成手段によって作成される3次元モデルから、
レンダリング処理によって3次元画像を生成するレンダ
リング手段と、 画像保存手段に保存される2次元画像を表す画像データ
を、表示して修正するための描画操作を入力する2次元
画像修正手段とを含み、 要素抽出手段、要素変換手段、モデル作成手段およびレ
ンダリング手段は、2次元画像修正手段によって画像デ
ータの修正のための描画操作が行われる画素を含む予め
定める範囲の画像データのみを、処理の対象とすること
を特徴とする3次元モデル作成装置。
3. A three-dimensional model creation apparatus for creating a three-dimensional model by performing image processing on a two-dimensional image, comprising: image storage means for inputting and saving image data representing a two-dimensional image; Model setting means for setting modeling data for defining a three-dimensional shape as a basis for dimensioning; element extracting means for extracting information about predetermined components from image data representing an input two-dimensional image; Element conversion means for converting the element information extracted by the extraction means into three-dimensional information having a predetermined relationship; and three-dimensional information converted by the element conversion means for modeling data set by the model setting means. From the model creating means for creating the three-dimensional model, and the three-dimensional model created by the model creating means,
Rendering means for generating a three-dimensional image by a rendering process; and two-dimensional image correction means for inputting a drawing operation for displaying and correcting image data representing the two-dimensional image stored in the image storage means, The element extraction unit, the element conversion unit, the model creation unit, and the rendering unit determine that only a predetermined range of image data including pixels for which a rendering operation for correcting image data is performed by the two-dimensional image correction unit is to be processed. A three-dimensional model creating apparatus.
【請求項4】 前記2次元画像は、3以上の複数階調を
有するモノクロ画像であり、 前記要素抽出手段は、該モノクロ画像を表す画像データ
から前記要素情報として階調情報を抽出し、 前記要素変換手段は、該階調情報を3次元の奥行情報に
変換することを特徴とする請求項1〜3のいずれかに記
載の3次元モデル作成装置。
4. The two-dimensional image is a monochrome image having three or more gradations, wherein the element extracting means extracts gradation information as the element information from image data representing the monochrome image, The three-dimensional model creation device according to any one of claims 1 to 3, wherein the element conversion unit converts the gradation information into three-dimensional depth information.
【請求項5】 前記2次元画像は、複数色の成分を有す
るカラー画像であり、 前記要素抽出手段は、該カラー画像を表す画像データか
ら前記要素情報として予め定める色成分の濃度情報を抽
出し、 前記要素変換手段は、該色成分の濃度情報を3次元の奥
行情報に変換することを特徴とする請求項1〜3のいず
れかに記載の3次元モデル作成装置。
5. The image processing apparatus according to claim 1, wherein the two-dimensional image is a color image having components of a plurality of colors, and the element extracting unit extracts density information of a predetermined color component as the element information from image data representing the color image. The three-dimensional model creation device according to any one of claims 1 to 3, wherein the element conversion unit converts the density information of the color component into three-dimensional depth information.
【請求項6】 前記要素抽出手段によって前記要素情報
が抽出される2次元画像に基づいて、テクスチャ画像デ
ータを作成するテクスチャ作成手段をさらに含み、 前記モデル作成手段は、前記3次元情報を反映させて作
成する3次元モデルの表面に、テクスチャ作成手段によ
って作成されるテクスチャ座標データに基づく該2次元
画像のテクスチャマッピング処理を施すことを特徴とす
る請求項1〜5のいずれかに記載の3次元モデル作成装
置。
6. A texture creating means for creating texture image data based on a two-dimensional image from which the element information is extracted by the element extracting means, wherein the model creating means reflects the three-dimensional information. The three-dimensional model according to any one of claims 1 to 5, wherein a texture mapping process of the two-dimensional image is performed on the surface of the three-dimensional model created by the texture coordinate data created by the texture creating means. Model creation device.
【請求項7】 バンプ処理用のデータを入力して保存す
るバンプ保存手段をさらに含み、 前記モデル作成手段は、前記3次元情報を反映させて作
成する3次元モデルの表面に、バンプ保存手段によって
保存されるデータに基づくバンプ処理を施すことを特徴
とする請求項1〜6のいずれかに記載の3次元モデル作
成装置。
7. A bump storage means for inputting and storing data for bump processing, wherein the model creation means is provided on the surface of a three-dimensional model created by reflecting the three-dimensional information by the bump storage means. The three-dimensional model creation device according to claim 1, wherein a bump process is performed based on the stored data.
【請求項8】2次元画像を表す画像データを入力して保
存する画像保存手段と、 2次元画像を3次元化するための基礎となる3次元形状
を定めるモデリングデータを設定するモデル設定手段
と、 入力される2次元画像を表す画像データから予め定める
構成要素についての情報を抽出する要素抽出手段と、 要素抽出手段によって抽出される要素情報を、予め定め
る関連性を有する3次元情報に変換する要素変換手段
と、 モデル設定手段によって設定されるモデリングデータに
対して、要素変換手段によって変換される3次元情報を
反映させ、3次元モデルを作成するモデル作成手段と、 モデル作成手段によって作成される3次元モデルから、
レンダリング処理によって3次元画像を生成するレンダ
リング手段と、 要素変換手段による要素情報の3次元情報への変換、モ
デル作成手段による3次元情報の3次元モデルへの反
映、およびレンダリング手段による3次元モデルのレン
ダリング処理の過程で、該レンダリング処理によって生
成される3次元画像上の画素と、前記画像保存手段に保
存される画像データで表される2次元画像上の画素との
対応関係を示すマッピング情報を作成するマッピング手
段と、 レンダリング手段によって生成される3次元画像データ
を、該マッピング手段によって作成されるマッピング情
報とともに記憶するレンダリングメモリと、 レンダリングメモリに記憶される3次元画像データを、
表示して修正するための描画操作を入力する3次元画像
修正手段と、 3次元画像修正手段への描画操作が行われるとき、レン
ダリングメモリに記憶されるマッピング情報に従って、
画像保存手段に保存される2次元画像を表す画像データ
を修正する逆マッピング手段とを含み、 2次元画像に画像処理を施して3次元モデルを作成する
3次元モデル作成装置として、コンピュータを機能させ
るためのプログラムを記録したコンピュータ読取可能な
記録媒体。
8. An image storage means for inputting and storing image data representing a two-dimensional image, and a model setting means for setting modeling data for defining a three-dimensional shape which is a basis for converting a two-dimensional image into three dimensions. An element extracting means for extracting information about a predetermined component from image data representing an input two-dimensional image, and converting the element information extracted by the element extracting means into three-dimensional information having a predetermined relationship. Element conversion means, model creation means for creating a three-dimensional model by reflecting the three-dimensional information converted by the element conversion means on the modeling data set by the model setting means, and creation by the model creation means. From the three-dimensional model,
Rendering means for generating a three-dimensional image by a rendering process; conversion of element information into three-dimensional information by element conversion means; reflection of three-dimensional information on the three-dimensional model by model creation means; In the course of the rendering process, mapping information indicating the correspondence between pixels on the three-dimensional image generated by the rendering process and pixels on the two-dimensional image represented by the image data stored in the image storage unit is stored. Mapping means for creating, a rendering memory for storing the three-dimensional image data generated by the rendering means together with mapping information created by the mapping means, and three-dimensional image data stored in the rendering memory.
Three-dimensional image correcting means for inputting a drawing operation for display and correction; and when a drawing operation to the three-dimensional image correcting means is performed, according to mapping information stored in a rendering memory.
A reverse mapping means for correcting image data representing the two-dimensional image stored in the image storage means, and causing the computer to function as a three-dimensional model creation device for creating a three-dimensional model by performing image processing on the two-dimensional image Readable recording medium on which a program for recording is recorded.
【請求項9】 2次元画像を表す画像データを入力して
保存する画像保存手段と、 2次元画像を3次元化するための基礎となる3次元形状
を定めるモデリングデータを設定するモデル設定手段
と、 入力される2次元画像を表す画像データから予め定める
構成要素についての情報を抽出する要素抽出手段と、 要素抽出手段によって抽出される要素情報を、予め定め
る関連性を有する3次元情報に変換する要素変換手段
と、 モデル設定手段によって設定されるモデリングデータに
対して、要素変換手段によって変換される3次元情報を
反映させ、3次元モデルを作成するモデル作成手段と、 モデル作成手段によって作成される3次元モデルから、
レンダリング処理によって3次元画像を生成するレンダ
リング手段と、 画像保存手段に保存される2次元画像を表す画像データ
を、表示して修正するための描画操作を入力する2次元
画像修正手段とを含み、 要素抽出手段、要素変換手段、モデル作成手段およびレ
ンダリング手段は、2次元画像修正手段によって画像デ
ータの修正のための描画操作が行われる画素を含む予め
定める範囲の画像データのみを、処理の対象とし、 2次元画像に画像処理を施して3次元モデルを作成する
3次元モデル作成装置として、コンピュータを機能させ
るためのプログラムを記録したコンピュータ読取可能な
記録媒体。
9. An image storage means for inputting and storing image data representing a two-dimensional image, and a model setting means for setting modeling data for defining a three-dimensional shape serving as a basis for converting a two-dimensional image into three dimensions. An element extracting means for extracting information about a predetermined component from image data representing an input two-dimensional image, and converting the element information extracted by the element extracting means into three-dimensional information having a predetermined relationship. Element conversion means, model creation means for creating a three-dimensional model by reflecting the three-dimensional information converted by the element conversion means on the modeling data set by the model setting means, and creation by the model creation means. From the three-dimensional model,
Rendering means for generating a three-dimensional image by a rendering process; and two-dimensional image correction means for inputting a drawing operation for displaying and correcting image data representing the two-dimensional image stored in the image storage means, The element extraction unit, the element conversion unit, the model creation unit, and the rendering unit target only image data in a predetermined range including pixels for which a rendering operation for correcting image data is performed by the two-dimensional image correction unit. A computer-readable recording medium that records a program for causing a computer to function as a three-dimensional model creation device that creates a three-dimensional model by performing image processing on a two-dimensional image.
JP10103064A 1998-04-14 1998-04-14 3D model creation device Expired - Fee Related JP3002971B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP10103064A JP3002971B2 (en) 1998-04-14 1998-04-14 3D model creation device
US09/290,581 US6677944B1 (en) 1998-04-14 1999-04-13 Three-dimensional image generating apparatus that creates a three-dimensional model from a two-dimensional image by image processing
EP99106250A EP0950988B1 (en) 1998-04-14 1999-04-14 Three-Dimensional image generating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10103064A JP3002971B2 (en) 1998-04-14 1998-04-14 3D model creation device

Publications (2)

Publication Number Publication Date
JPH11296698A JPH11296698A (en) 1999-10-29
JP3002971B2 true JP3002971B2 (en) 2000-01-24

Family

ID=14344251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10103064A Expired - Fee Related JP3002971B2 (en) 1998-04-14 1998-04-14 3D model creation device

Country Status (1)

Country Link
JP (1) JP3002971B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000063181A (en) * 2000-04-21 2000-11-06 서정완 method of realizating alive tri dimension cube image
JP4677661B2 (en) * 2000-10-16 2011-04-27 ソニー株式会社 Video ordering system and method
JP2002216149A (en) * 2001-01-24 2002-08-02 Hayashi Telempu Co Ltd Pattern creating method, pattern creation system, animation creating method and animation creation system
CN110909401A (en) * 2019-10-30 2020-03-24 广东优世联合控股集团股份有限公司 Building information control method and device based on three-dimensional model and storage medium

Also Published As

Publication number Publication date
JPH11296698A (en) 1999-10-29

Similar Documents

Publication Publication Date Title
US6677944B1 (en) Three-dimensional image generating apparatus that creates a three-dimensional model from a two-dimensional image by image processing
JP3647487B2 (en) Texture mapping device
US4609917A (en) Three-dimensional display system
JP3830555B2 (en) Method and apparatus for correcting original video
EP1424655B1 (en) A method of creating 3-D facial models starting from facial images
JP3626144B2 (en) Method and program for generating 2D image of cartoon expression from 3D object data
JPS59129897A (en) Three-dimensional display system
Anderson et al. Unwrapping and visualizing cuneiform tablets
US20090153555A1 (en) System and Computer-Implemented Method for Modeling the Three-Dimensional Shape of An Object by Shading of a Two-Dimensional Image of the Object
JPH11203500A (en) Image processing apparatus and recording medium storing bump map data used therein
EP1031946A2 (en) Recording medium,Image processing method and unit with integrated shaping model data
US20020175923A1 (en) Method and apparatus for displaying overlapped graphical objects using depth parameters
JP3002971B2 (en) 3D model creation device
JP2973573B2 (en) Image conversion device
JP2837584B2 (en) How to create terrain data
JP2009521062A (en) Modeling the 3D shape of an object by shading 2D images
JP3002972B2 (en) 3D image processing device
US20030063084A1 (en) System and method for improving 3D data structure representations
GB2360919A (en) Appearance modelling
JPH08297751A (en) Method and apparatus for creating three-dimensional model
JPH11175765A (en) Method and device for generating three-dimensional model and storage medium
JP3712015B2 (en) Image creating apparatus and method
JP3701627B2 (en) Drawing processing program, recording medium storing drawing processing program, drawing processing apparatus and method
JPH02170770A (en) Image processing method
JP3261832B2 (en) Image generation device

Legal Events

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

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091119

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091119

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101119

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101119

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20111119

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20121119

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees