JPH08287225A - Image simulation device - Google Patents

Image simulation device

Info

Publication number
JPH08287225A
JPH08287225A JP7091129A JP9112995A JPH08287225A JP H08287225 A JPH08287225 A JP H08287225A JP 7091129 A JP7091129 A JP 7091129A JP 9112995 A JP9112995 A JP 9112995A JP H08287225 A JPH08287225 A JP H08287225A
Authority
JP
Japan
Prior art keywords
data
image
fitting
area
material data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7091129A
Other languages
Japanese (ja)
Inventor
Taijiro Ogawa
泰次郎 小川
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.)
Toppan Inc
Original Assignee
Toppan Printing Co 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 Toppan Printing Co Ltd filed Critical Toppan Printing Co Ltd
Priority to JP7091129A priority Critical patent/JPH08287225A/en
Publication of JPH08287225A publication Critical patent/JPH08287225A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE: To provide the image simulation device which is free from trouble and low in cost and can accurately obtain an image of an article having its partial appearance altered. CONSTITUTION: Material data are deformed in conformity with the shape of an insertion area as an area that an image of material which can be altered occupies in an original image to be processed to generate deformed material data and data to be processed which represents the original image in the insertion area are updated based on the deformed material data; and the updated data to be processed are shaded on the basis of mask data for shading and the image represented with the shaded data to be processed is displayed. Thus, the image having altered material in the desired area R is obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、所望の物品の一部また
は全部の素材や色等を変更して得られるであろう外観イ
メージを表示する画像シミュレーション装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image simulation apparatus for displaying an external appearance image which may be obtained by changing the material or color of a part or all of a desired article.

【0002】[0002]

【従来の技術】一部の素材や色等を変更可能な物品を顧
客に提案するにあたり、従来より、様々な提案手法が案
出されている。そのような提案手法の一つとして「見
本」を用いたカタログの制作が広く行われている。図1
1は家を販売するためのカタログの一例を説明するため
の図であり、この図においては、カタログ1のあるペー
ジだけが描かれている。
2. Description of the Related Art Various proposal methods have hitherto been devised for proposing to a customer an article whose material, color, etc. can be changed. As one of such proposed methods, catalogs using "samples" are widely produced. FIG.
1 is a diagram for explaining an example of a catalog for selling a house, and in this diagram, only a page of the catalog 1 is drawn.

【0003】カタログ1には、販売しようとする家(モ
デルハウス)の写真2と、その家に対して用意された外
壁材の見本3a〜3cが対応付けて印刷されている。こ
のカタログ1を用いた場合、顧客は、写真2および見本
3a〜3cを眺め、所望の見本を写真2の家に適用した
場合の家の外観を想像し、外壁材の材質や色柄等を決定
することになる。
In the catalog 1, a photograph 2 of a house (model house) to be sold and samples 3a to 3c of outer wall materials prepared for the house are associated and printed. When this catalog 1 is used, the customer looks at the photograph 2 and the samples 3a to 3c, imagines the appearance of the house when the desired sample is applied to the house of the photograph 2, and determines the material and color pattern of the outer wall material. It will be decided.

【0004】[0004]

【発明が解決しようとする課題】ところで、カタログ1
を用いた提案手法では、実際に所望の外壁材を用いた家
の写真があるわけではないため、顧客が、十分に明確な
イメージを掴み難いという欠点がある。この欠点を克服
するために、外壁材の数だけ家を建築し、それらを撮影
してカタログを制作するという手法も考えられるが、一
般に、同一形式の家に適用可能な外壁材の数は多く、ま
た、家の建築コストも極めて高い。したがって、外壁材
毎に家を建築するという手法は非現実的である。
By the way, the catalog 1
The proposed method using does not have a photograph of the house that actually uses the desired outer wall material, and therefore has the drawback that it is difficult for the customer to grasp a sufficiently clear image. In order to overcome this drawback, it is possible to construct a house by the number of exterior wall materials and shoot them to create a catalog, but generally, the number of exterior wall materials applicable to the same type of house is large. Also, the cost of building a house is extremely high. Therefore, the method of constructing a house for each outer wall material is unrealistic.

【0005】ところで、外壁材の画像部分のみを切り抜
くマスクを作成し、このマスクを用いて、写真2の外壁
材部分を他の外壁材で置き換えた画像(写真)を作成す
るという手法も考えられる。しかしながら、一軒の家に
おいて交換可能なものは外壁材のみではないことが多い
ため、多種のマスクを作成する必要がある。また、外壁
材を取り付ける位置によって、外壁材上の明度分布や模
様の向きおよび大きさ等が変わる。したがって、単にマ
スクを掛けて素材および色柄を変更するだけでは、十分
に正確なイメージを表す画像を得ることはできない。
By the way, it is also conceivable to create a mask for cutting out only the image portion of the outer wall material and use this mask to create an image (photograph) in which the outer wall material portion of Photo 2 is replaced with another outer wall material. . However, it is often the case that a house is not the only replaceable outer wall material, so it is necessary to make various types of masks. Further, the lightness distribution on the outer wall material, the direction and size of the pattern, and the like change depending on the position where the outer wall material is attached. Therefore, it is not possible to obtain a sufficiently accurate image by simply applying a mask and changing the material and the color pattern.

【0006】また、家を3次元画像データで表し、所望
の素材(テクスチャ)をマッピングして所望の画像を得
るようにしてもよいが、十分に高い精度の3次元画像デ
ータの作成には膨大な手間およびコストがかかり、これ
もまた実用的ではない。本発明は、上述した事情に鑑み
て為されたものであり、手間がかからず低コストである
とともに、一部の外観を変更した物品のイメージを正確
に得ることができる画像シミュレーション装置を提供す
ることを目的とする。
Although a house may be represented by three-dimensional image data and a desired material (texture) may be mapped to obtain a desired image, it is enormous to create sufficiently high-precision three-dimensional image data. It is laborious and costly, which is also impractical. The present invention has been made in view of the above-mentioned circumstances, and provides an image simulation apparatus that is low in cost and low in cost, and that can accurately obtain an image of an article whose appearance is partially changed. The purpose is to do.

【0007】[0007]

【課題を解決するための手段】請求項1記載の画像シミ
ュレーション装置は、処理対象となる元画像を表す処理
対象データと、該元画像で表される物品を構成し得る素
材の画像データである素材データと、前記元画像におい
て変更可能な素材の画像が占める領域であるはめ込み領
域を表すはめ込み用マスクデータとを記憶した記憶手段
と、前記素材データを前記はめ込み領域の形状に合わせ
て変形して変形素材データを生成する変形手段と、前記
はめ込み領域内の前記処理対象データを、前記変形素材
データに基づいて更新するはめ込み手段と、該はめ込み
手段により更新された前記処理対象データで表される画
像を表示する表示手段とを具備することを特徴としてい
る。
According to another aspect of the present invention, there is provided an image simulation apparatus which is processing target data representing an original image to be processed and image data of a material which can form an article represented by the original image. A storage unit that stores material data and inset mask data that represents an inset area that is an area occupied by a changeable material image in the original image; and deforms the material data according to the shape of the inset area. Deformation means for generating transformation material data, fitting means for updating the processing target data in the fitting area based on the transformation material data, and an image represented by the processing target data updated by the fitting means And display means for displaying.

【0008】請求項2記載の画像シミュレーション装置
は、処理対象となる元画像を表す処理対象データと、該
元画像で表される物品を構成し得る素材の画像データで
ある素材データと、前記元画像において変更可能な素材
の画像が占める領域であるはめ込み領域を表すはめ込み
用マスクデータと、元画像中の各画素の明度または輝度
を表す影用マスクデータとを記憶した記憶手段と、前記
素材データを前記はめ込み領域の形状に合わせて変形し
て変形素材データを生成する変形手段と、前記はめ込み
領域内の前記処理対象データを、前記変形素材データに
基づいて更新するはめ込み手段と、前記はめ込み手段に
より更新された前記処理対象データに対して前記影用マ
スクデータに基づいた影付け処理を行う影付け手段と、
該影付け手段により影付け処理が施された前記処理対象
データで表される画像を表示する表示手段とを具備する
ことを特徴としている。
According to a second aspect of the image simulation device, processing target data representing an original image which is a processing target, material data which is image data of a material which can form an article represented by the original image, and the original data. Storage means for storing inset mask data representing an inset area which is an area occupied by an image of a changeable material in the image, and shadow mask data representing lightness or luminance of each pixel in the original image, and the material data Deformation means for deforming according to the shape of the fitting area to generate deformation material data, fitting means for updating the processing target data in the fitting area based on the deformation material data, and the fitting means. Shadowing means for performing a shadowing process based on the shadow mask data for the updated processing target data;
And a display unit for displaying an image represented by the processing target data that has been subjected to the shadowing process by the shadowing unit.

【0009】請求項3記載の画像シミュレーション装置
は、請求項1または2記載のものにおいて、前記はめ込
み用マスクデータは階調データであり、その各階調値に
よって前記はめ込み領域を表すことを特徴としている。
請求項4記載の画像シミュレーション装置は、請求項1
または2記載のものにおいて、前記はめ込み手段は、前
記はめ込み領域にはめ込もうとする画像の輪郭を円滑に
するアンシャープネス処理を前記素材データに施すこと
を特徴としている。
According to a third aspect of the present invention, in the image simulation apparatus according to the first or second aspect, the fitting mask data is gradation data, and each gradation value represents the fitting area. .
The image simulation device according to claim 4 is the image simulation device according to claim 1.
Alternatively, in the second aspect, the fitting means performs an unsharpness process on the material data to smooth the contour of an image to be fitted in the fitting area.

【0010】請求項5記載の画像シミュレーション装置
は、請求項1または2記載のものにおいて、前記素材デ
ータは多角形状の画像を表し、前記変形手段は前記多角
形状の画像の頂点と前記はめ込み領域の頂点とを略一致
させて前記変形素材データを生成することを特徴として
いる。請求項6記載の画像シミュレーション装置は、請
求項1または2記載のものにおいて、所定の形状および
解像度の単位素材データを前記はめ込み領域に合うよう
繰り返し並べて前記素材データを作成するタイリング手
段を具備し、前記記憶手段は前記単位素材データを記憶
することを特徴としている。請求項7記載の画像シミュ
レーション装置は、請求項2記載のものにおいて、前記
元画像中の各画素の明度または輝度を抽出して階調デー
タを作成し、該階調データにアンシャープネス処理を施
して前記影用マスクデータを作成する影付けマスク作成
手段を具備することを特徴としている。
According to a fifth aspect of the present invention, in the image simulation apparatus according to the first or second aspect, the material data represents a polygonal image, and the deforming means includes a vertex of the polygonal image and the fitting region. It is characterized in that the deformable material data is generated by substantially matching the apexes. The image simulation apparatus according to claim 6 is the apparatus according to claim 1 or 2, further comprising tiling means for creating the material data by repeatedly arranging unit material data having a predetermined shape and resolution so as to fit in the fitting region. The storage means stores the unit material data. The image simulation apparatus according to claim 7 is the image simulation apparatus according to claim 2, wherein the brightness or luminance of each pixel in the original image is extracted to create gradation data, and the gradation data is unsharpened. It is characterized by comprising a shadowing mask creating means for creating the shadow mask data.

【0011】[0011]

【作用】請求項1記載の画像シミュレーション装置によ
れば、変形手段が、記憶手段に記憶された素材データ
を、処理対象となる元画像において変更可能な素材の画
像が占める領域であるはめ込み領域の形状に合わせて変
形して変形素材データを生成する。また、はめ込み手段
が、前記はめ込み領域内の前記元画像を表す処理対象デ
ータを、前記変形素材データに基づいて更新し、表示手
段が、前記はめ込み手段により更新された前記処理対象
データで表される画像を表示する。請求項2記載の画像
シミュレーション装置によれば、前記影付け手段が前記
はめ込み手段により更新された前記処理対象データに対
して前記記憶手段に記憶された影用マスクデータに基づ
いた影付け処理を行い、前記表示手段が、影付け処理さ
れた前記処理対象データで表される画像を表示する。
According to the image simulation apparatus of the present invention, the transforming means can change the material data stored in the storage means into an inset area which is an area occupied by an image of a changeable material in the original image to be processed. Deformation material data is generated by deforming according to the shape. Further, the fitting means updates the processing target data representing the original image in the fitting area based on the transformation material data, and the display means is represented by the processing target data updated by the fitting means. Display an image. According to the image simulation device of claim 2, the shadowing unit performs the shadowing process on the processing target data updated by the fitting unit based on the shadow mask data stored in the storage unit. The display means displays the image represented by the processing target data that has been subjected to the shadowing process.

【0012】請求項3記載の画像シミュレーション装置
によれば、前記はめ込み用マスクデータの各階調値によ
って前記はめ込み領域が表される。請求項4記載の画像
シミュレーション装置によれば、前記はめ込み手段が、
前記はめ込み領域にはめ込もうとする画像の輪郭を円滑
にするアンシャープネス処理を前記素材データに施す。
According to the image simulation apparatus of the third aspect, the fitting area is represented by each gradation value of the fitting mask data. According to the image simulation device of claim 4, the fitting means includes:
The material data is subjected to unsharpness processing for smoothing the contour of the image to be fitted into the fitting area.

【0013】請求項5記載の画像シミュレーション装置
によれば、前記変形手段が、前記素材データで表される
多角形状の画像の頂点と前記はめ込み領域の頂点とを略
一致させて前記変形素材データを生成する。請求項6記
載の画像シミュレーション装置によれば、前記記憶手段
が所定の形状および解像度の単位素材データを記憶し、
タイリング手段が前記単位素材データを前記はめ込み領
域に合うよう繰り返し並べて前記素材データを作成す
る。請求項7記載の画像シミュレーション装置によれ
ば、影付けマスク作成手段が、前記元画像中の各画素の
明度または輝度を抽出して階調データを作成し、該階調
データにアンシャープネス処理を施して前記影用マスク
データを作成する。
According to the fifth aspect of the image simulation device, the deforming means substantially matches the apex of the polygonal image represented by the material data with the apex of the fitting area to obtain the deformable material data. To generate. According to the image simulation device of claim 6, the storage means stores unit material data of a predetermined shape and resolution,
The tiling means repeatedly arranges the unit material data so as to fit the fitting area to create the material data. According to the image simulation apparatus of claim 7, the shadow-casting mask creating means extracts the brightness or the brightness of each pixel in the original image to create gradation data, and performs the unsharpness process on the gradation data. Then, the shadow mask data is created.

【0014】[0014]

【実施例】以下、図面を参照して、本発明の一実施例に
ついて説明する。図1は本実施例による画像シミュレー
ション装置が行う「はめ込み処理」の概略を説明するた
めの図であり、この図において、αははめ込み処理前の
画像であり、βははめ込み処理後の画像である。すなわ
ち、本実施例による画像シミュレーション装置は、変更
したい部分、本実施例では外壁材の領域R,Rに異なる
外壁材をはめ込んで画像βを得る処理を行う。以下、本
実施例による画像シミュレーション装置について詳細に
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram for explaining the outline of the “fitting process” performed by the image simulation apparatus according to the present embodiment. In this figure, α is an image before the fitting process, and β is an image after the fitting process. . In other words, the image simulation apparatus according to the present embodiment performs a process of fitting different outer wall materials into the portion to be changed, that is, the regions R of the outer wall material in this embodiment, to obtain the image β. The image simulation apparatus according to this embodiment will be described in detail below.

【0015】図2は本発明の一実施例による画像シミュ
レーション装置の構成を示すブロック図であり、この図
において、4はキーボードやマウス、タブレット等の指
示入力装置(表示手段)、5はRGB各色について25
6階調以上の色を表現可能なCRT等の表示装置、6は
ハードディスク等のカラー画像データを記憶するに十分
な記憶容量の外部記憶装置(記憶手段)、7はカラープ
リンタ等の十分な解像度の印刷装置、8は画像データ入
力装置であり、カラー写真のネガあるいはポジを十分な
解像度で読み取ることが可能なイメージスキャナや、こ
のイメージスキャナ等により得られるカラー画像データ
を記憶したCD−Rや光磁気ディスク、フロッピーディ
スク等から当該データを読み出すドライブ等がこれに相
当する。
FIG. 2 is a block diagram showing the arrangement of an image simulation apparatus according to an embodiment of the present invention. In this figure, 4 is an instruction input device (display means) such as a keyboard, mouse, tablet, etc., and 5 are RGB colors. About 25
A display device such as a CRT capable of expressing colors of 6 gradations or more, 6 is an external storage device (storage means) such as a hard disk having a storage capacity sufficient to store color image data, and 7 is a sufficient resolution such as a color printer. And 8 is an image data input device, such as an image scanner capable of reading a negative or a positive of a color photograph with a sufficient resolution, a CD-R storing color image data obtained by the image scanner, or the like. A drive or the like that reads the data from a magneto-optical disk, a floppy disk, or the like corresponds to this.

【0016】9はCPU,ROM,RAM,各種I/O
インタフェースを有するコンピュータ等の処理装置(変
形手段、はめ込み手段、影付け手段、タイリング手段、
影付けマスク作成手段)であり、この処理装置9には、
上記各構成要素4〜8が接続されている。処理装置9
は、ROMに記憶したプログラムと指示入力装置4から
入力される指示に基づいて作動し、画像データ入力装置
8から入力されるカラー画像データを外部記憶装置6に
記憶させるとともに、外部記憶装置6に記憶されたカラ
ー画像データに対して後述する処理を施し、その結果得
られる画像を表示装置5および印刷装置7から出力す
る。
Reference numeral 9 denotes a CPU, ROM, RAM, various I / O
A processing device such as a computer having an interface (deformation means, fitting means, shadowing means, tiling means,
Shadowing mask creating means), and the processing device 9
The above-mentioned constituent elements 4 to 8 are connected. Processor 9
Operates based on the program stored in the ROM and the instruction input from the instruction input device 4, stores the color image data input from the image data input device 8 in the external storage device 6, and causes the external storage device 6 to store the color image data. The stored color image data is subjected to the processing described later, and the resulting image is output from the display device 5 and the printing device 7.

【0017】このような構成により、家を撮影して得ら
れた写真の外壁材部分に他の素材をはめ込んだ画像を作
成するはめ込み処理について図3を参照して説明する。
ただし、処理装置9はROMに記憶したプログラムを実
行しているものとし、対象となるカラー画像データ(あ
る外壁材が使用された家のカラー画像データ(以後、処
理対象データと称す)および外壁材の見本のカラー画像
データ(以後、単位素材データと称す))は、指示入力
装置4から所定の指示が入力された処理装置9により、
画像データ入力装置8から入力され、既に外部記憶装置
6に記憶されているものとする。
A fitting process for creating an image in which another material is fitted into the outer wall material portion of a photograph obtained by photographing a house with such a configuration will be described with reference to FIG.
However, it is assumed that the processing device 9 is executing the program stored in the ROM, and the target color image data (color image data of a house in which a certain outer wall material is used (hereinafter referred to as processing target data) and the outer wall material) The color image data of the sample (hereinafter referred to as unit material data) is processed by the processing device 9 to which a predetermined instruction is input from the instruction input device 4.
It is assumed that the image data is input from the image data input device 8 and already stored in the external storage device 6.

【0018】このような状態において、指示入力装置4
から処理装置9へ所定の指示が入力されると、処理はス
テップS1へ進む。ステップS1では、まず、処理装置
9により、外部記憶装置6に記憶された処理対象データ
が読み出され、このデータに表される画像、すなわち、
家の画像が表示装置8に表示される(図4参照)。以
後、指示入力装置4から入力される指示に応じて作動す
る処理装置9により、表示装置5に表示された画像に対
して、複数階調(例えば、256階調)のはめ込み用マ
スクデータおよび影用マスクデータが作成される。
In such a state, the instruction input device 4
When a predetermined instruction is input to the processor 9 from, the process proceeds to step S1. In step S1, first, the processing device 9 reads the processing target data stored in the external storage device 6, and the image represented by this data, that is,
The image of the house is displayed on the display device 8 (see FIG. 4). After that, the processing device 9 that operates in response to the instruction input from the instruction input device 4 causes the image displayed on the display device 5 to have a plurality of gradations (for example, 256 gradations) of the embedding mask data and shadows. Mask data is created.

【0019】ここで、はめ込み用マスクデータについて
説明する。図5は、図4に示される処理対象データに対
するはめ込み用マスクデータで表される画像を示す図で
あり、実際には、はめ込み用マスクデータは、複数階調
のグレースケール画像を表す。図5の画像で表されるは
め込み用マスクデータは、実際には、処理対象データで
表される画像において、素材を変更可能な部分の各面を
「0(最低レベル)」以外の階調値で表し、その他の部
分を「0」で表している。
Here, the mask data for fitting will be described. FIG. 5 is a diagram showing an image represented by fitting mask data for the processing target data shown in FIG. 4, and in practice, the fitting mask data represents a grayscale image of a plurality of gradations. The embedding mask data represented by the image of FIG. 5 is actually a gradation value other than “0 (minimum level)” for each surface of the part whose material can be changed in the image represented by the processing target data. The other parts are represented by "0".

【0020】ただし、素材を変更可能な各面の階調値
は、処理対象データ中の対応部分の階調値に近似させる
ことにより、はめ込みマスクデータと処理対象データと
の対応関係が直感的に理解し易くなるため、例えば、処
理対象データを256階調のグレースケール画像データ
に変換し、このグレースケール画像において、面を構成
する各画素の平均値を当該面の階調値とする手法が好適
である。
However, the gradation value of each surface whose material can be changed is approximated to the gradation value of the corresponding portion in the processing object data, so that the correspondence relationship between the fitting mask data and the processing object data is intuitively obtained. To facilitate understanding, for example, a method in which the processing target data is converted into grayscale image data having 256 gradations and the average value of each pixel forming a surface in the grayscale image is used as the gradation value of the surface is proposed. It is suitable.

【0021】一方、影用マスクデータは、基本的に、処
理対象データから明度(あるいは輝度)だけを抽出した
データである。以下、影用マスクデータの作成過程の一
例について説明する。まず、処理対象データを256階
調のグレースケール画像データに変換する。ここで得ら
れるグレースケール画像データは、はめ込みマスクデー
タと異なり、各画素の明度は他の画素の影響を受けな
い。
On the other hand, the shadow mask data is basically data obtained by extracting only brightness (or brightness) from the data to be processed. An example of the process of creating shadow mask data will be described below. First, the processing target data is converted into grayscale image data having 256 gradations. The grayscale image data obtained here is different from the embedding mask data, and the brightness of each pixel is not influenced by other pixels.

【0022】次に、このグレースケール画像データを、
屋根や壁等の部材毎のグループに分類し、各グループに
おける最高明度(あるいは最高輝度)を合わせる。これ
は、処理対象データで表される画像中の各部の明度が、
使用している素材等により大きく変わることがあり、そ
のような明度を変更後の素材にそのまま適用すると不自
然な画像となる虞れがあるからである。
Next, the grayscale image data is
Classify the members into groups such as roofs and walls, and match the maximum brightness (or maximum brightness) in each group. This is because the brightness of each part in the image represented by the data to be processed is
This is because the material may vary greatly depending on the material used, and if such lightness is applied to the material after the modification as it is, an unnatural image may be generated.

【0023】各グループの明度(輝度)補正の一例につ
いて説明する。なお、本実施例では、明度の最低値は
「0」であり、最高値は「255」であるものとする。
例えば、最高明度が最も高い第1のグループ(例えば、
屋根)における各画素の明度が100〜200であり、
第2のグループ(例えば、壁)における各画素の明度が
50〜100である場合、第2のグループの全ての画素
の明度を両者の最高明度の差、すなわち「100」だけ
上げる。
An example of the brightness (luminance) correction of each group will be described. In this embodiment, the minimum value of brightness is “0” and the maximum value is “255”.
For example, the first group with the highest brightness (for example,
The brightness of each pixel on the roof is 100-200,
When the brightness of each pixel in the second group (for example, the wall) is 50 to 100, the brightness of all the pixels in the second group is increased by the difference between the maximum brightness of both pixels, that is, “100”.

【0024】このような明度補正が為された後の各グル
ープに対して、それぞれ強いアンシャープネスをかけ、
各グループ内の模様成分が目立たないようにする。この
アンシャープネス処理は、グループ毎に行われるため、
各グループの輪郭部分がぼけることはない。もちろん、
輪郭部分を除いたアンシャープネス処理が可能であり、
かつ、アンシャープネスを必要とするグループ数が多け
れば、全画像データに対して一括処理してアンシャープ
ネス処理を行ってもよい。上述した過程を経て作成され
たはめ込み用マスクデータおよび影用マスクデータは外
部記憶装置6に記憶される。
Strong unsharpness is applied to each group after such brightness correction,
Make the pattern components in each group inconspicuous. Since this unsharpness processing is performed for each group,
The outline of each group is not blurred. of course,
Unsharpness processing excluding the contour part is possible,
If the number of groups that require unsharpness is large, the unsharpness processing may be performed on all the image data collectively. The fitting mask data and the shadow mask data created through the above process are stored in the external storage device 6.

【0025】上述した処理が終了すると、処理は図3の
ステップS2へ進む。ステップS2では、はめ込もうと
する単位素材データの選択処理が行われる。実際の選択
処理では、まず、操作者が指示入力装置4を介して所定
の指示を入力することにより、表示装置5の表示面の所
定領域に各種素材データで表される単位画像が表示され
る。これらの単位画像を参照した操作者が指示入力装置
4を介して所望の単位素材データを選択するための指示
を入力すると、処理装置9により、当該単位素材データ
が選択されるのである。
When the above process is completed, the process proceeds to step S2 in FIG. In step S2, a process of selecting the unit material data to be fitted is performed. In the actual selection process, first, the operator inputs a predetermined instruction via the instruction input device 4, whereby a unit image represented by various material data is displayed in a predetermined area on the display surface of the display device 5. . When an operator who refers to these unit images inputs an instruction for selecting desired unit material data via the instruction input device 4, the processing device 9 selects the unit material data.

【0026】次に、ステップS3において、処理装置9
は、まず、図6に示すように、選択された単位素材デー
タで示される画像(単位画像)を予め設定された寸法の
領域R2に表示する。この領域R2は、処理対象データ
で表される画像と異なるプレーン上の領域であり、この
領域R2を指示入力装置4から入力される指示に応じて
移動しても、処理対象データで表される画像には全く影
響しない。
Next, in step S3, the processing device 9
First, as shown in FIG. 6, an image (unit image) indicated by the selected unit material data is displayed in a region R2 having a preset size. The area R2 is an area on a plane different from the image represented by the processing target data, and is represented by the processing target data even if the area R2 is moved according to the instruction input from the instruction input device 4. It has no effect on the image.

【0027】また、ステップS3では、領域R2に表示
された単位画像を拡大・縮小することが可能である。実
際には、操作者が指示入力装置4を介して単位画像の拡
大倍率あるいは縮小倍率を入力すると、処理装置9が単
位画像を当該倍率で拡大あるいは縮小する。この際、領
域R2も単位画像と同一の拡大・縮小率で拡大または縮
小される。なお、単位素材データは十分に高い解像度の
画像データであり、拡大による画質の劣化は人間に感知
できない程度のものである。また、使用する単位素材デ
ータの解像度が処理対象データの解像度に合わせて設定
されている場合には、上記拡大・縮小処理は不必要であ
る。
In step S3, the unit image displayed in the area R2 can be enlarged or reduced. Actually, when the operator inputs the enlargement ratio or reduction ratio of the unit image via the instruction input device 4, the processing device 9 enlarges or reduces the unit image at the ratio. At this time, the region R2 is also enlarged or reduced at the same enlargement / reduction ratio as the unit image. Note that the unit material data is image data of sufficiently high resolution, and deterioration of the image quality due to enlargement is such that it cannot be perceived by humans. Further, when the resolution of the unit material data to be used is set in accordance with the resolution of the processing target data, the enlarging / reducing process is unnecessary.

【0028】次に、ステップS4では、必要に応じて単
位画像のタイリング処理が行われる。この処理は、単位
画像を任意の個数だけ繰り返し敷き詰めて領域R2を拡
大する処理である。すなわち、単位画像の解像度は変わ
らず、領域R2の大きさが変わることになる。この処理
は、素材を変更する面(後に指定する)が単位画像に比
較して大きい場合等に為される。なお、上述した過程を
経て作成された画像データを、以後、素材データと称
す。
Next, in step S4, a tiling process for the unit image is performed if necessary. This process is a process of repeatedly spreading an arbitrary number of unit images and enlarging the region R2. That is, the resolution of the unit image does not change and the size of the region R2 changes. This processing is performed when the surface for changing the material (specified later) is larger than the unit image. The image data created through the above process will be referred to as material data hereinafter.

【0029】次に、ステップS5では、領域R2および
領域R2内の画像に対して変形処理が施され、変形素材
データが作成される。具体的には、操作者が指示入力装
置4を操作し、領域R2の各頂点をマウス(指示入力装
置4)でのドラッグ等により所望の位置(例えば、対象
となる面の各頂点と略一致した位置)に移動し、アフィ
ン変換を施すことにより為される。この変形処理により
変形された領域R2’を図7に示す。図7から明らかな
ように、本ステップでの変形処理は、素材を変更しよう
とする面の向きに基づいて行われる。なお、ここでいう
「面」とは、処理対象データで表される画像(家)を構
成する面であり、材質や色柄、端部の形状などにより操
作者が判断する。
Next, in step S5, the deformation processing is performed on the area R2 and the image in the area R2 to create deformation material data. Specifically, the operator operates the instruction input device 4, and the vertices of the region R2 are dragged with the mouse (the instruction input device 4) or the like to a desired position (for example, substantially coincide with the vertices of the target surface). It is done by moving to the position) and applying affine transformation. FIG. 7 shows the region R2 ′ transformed by this transformation process. As is apparent from FIG. 7, the deformation process in this step is performed based on the orientation of the surface on which the material is to be changed. The “face” mentioned here is a face forming an image (house) represented by the processing target data, and is determined by the operator based on the material, the color pattern, the shape of the end portion, and the like.

【0030】上記変形処理において為されるアフィン変
換について、図8(a),図8(b)を参照して説明す
る。図8(a)は変形前の画像A(X,Y)を示す図で
あり、Hiは画像の高さ(図中縦方向の長さ)を、Wi
は画像の幅(図中横方向の長さ)である。また、図8
(b)は変形後の画像B(X’,Y’)を表す図であ
り、Ho,Woはそれぞれ画像の高さ(図中縦方向の長
さ)および画像の幅(図中横方向の長さ)である。
The affine transformation performed in the above modification process will be described with reference to FIGS. 8 (a) and 8 (b). FIG. 8A is a diagram showing the image A (X, Y) before transformation, where Hi is the height of the image (length in the vertical direction in the figure), and Wi is
Is the width of the image (horizontal length in the figure). Also, FIG.
(B) is a diagram showing the image B (X ′, Y ′) after deformation, and Ho and Wo are the image height (vertical length in the figure) and the image width (horizontal direction in the figure), respectively. Length).

【0031】また、図8(b)において、(x0,y
0)〜(x3,y3)は画像の各頂点の座標を示し、
(x1’,y1’)は座標(x0,y0)と座標(x
1,y1)とを通る直線と、画像A(X,Y)の高さ方
向の一方の辺との交点の座標を示し、(x2’,y
2’)は座標(x2,y2)と座標(x3,y3)とを
通る直線と、画像A(X,Y)の高さ方向の他方の辺の
延長線との交点の座標を示す。これらの図に示されるア
フィン変換は、以下に示す(1)式および(2)式に基
づいて為される。 X = a0 (X’+a1 ) …… (1) Y = a2 (x’+a3 ) …… (2)
Further, in FIG. 8B, (x0, y
0) to (x3, y3) indicate the coordinates of each vertex of the image,
(X1 ', y1') are the coordinates (x0, y0) and the coordinates (x
1, y1) and the coordinates of the intersection of one side in the height direction of the image A (X, Y) with (x2 ′, y
2 ') indicates the coordinates of the intersection of a straight line passing through the coordinates (x2, y2) and the coordinates (x3, y3) and the extension line of the other side of the image A (X, Y) in the height direction. The affine transformation shown in these figures is performed based on the following equations (1) and (2). X = a 0 (X '+ a 1 ) ... (1) Y = a 2 (x' + a 3 ) ... (2)

【0032】ただし、上記(1)および(2)式中のa
0〜a3は、以下に示す(3)〜(12)式により得ら
れる値である。 a0 = dx・Y’+dx1 …… (3) a1 = x0+((x0−x2’)/Ho)・Y’ …… (4) a2 = dy・X’+dy1 …… (5) a3 = y0+((y0−y1’)/Wo)・X’ …… (6) dx = (dx2−dx1)/Ho …… (7) dy = (dy2−dy1)/Wo …… (8) dx1 = (x1’−x0)/Wi …… (9) dx2 = (x3−x2’)/Wi …… (10) dy1 = (y2’−y0)/Hi …… (11) dy2 = (y3−y1’)/Hi …… (12)
However, a in the above equations (1) and (2)
0 to a3 are values obtained by the expressions (3) to (12) shown below. a 0 = dx · Y '+ dx1 ...... (3) a 1 = x0 + ((x0-x2') / Ho) · Y '...... (4) a 2 = dy · X' + dy1 ...... (5) a 3 = Y0 + ((y0-y1 ') / Wo) * X' (6) dx = (dx2-dx1) / Ho (7) dy = (dy2-dy1) / Wo (8) dx1 = (X1'-x0) / Wi (9) dx2 = (x3-x2 ') / Wi (10) dy1 = (y2'-y0) / Hi (11) dy2 = (y3-y1') ) / Hi …… (12)

【0033】上述した変形処理が終了し、指示入力装置
4から所定の指示が入力されると、処理はステップS6
へ進む。ステップS6では、処理対象データ中の変更し
ようとする部分、すなわち処理対象データで表される画
像内の素材を変更しようとする面を指定するための面指
定処理が為される。この面指定処理は、操作者が指示入
力装置4を操作して、処理対象データで表される画像あ
るいははめ込み用マスクデータで表される画像内の所望
部分を指定することにより為される。ここで指定される
面は一つとは限らず、例えば、隣接しない複数の面を指
定することも可能である。
When the above-described transformation process is completed and a predetermined instruction is input from the instruction input device 4, the process proceeds to step S6.
Go to. In step S6, a surface designation process for designating a portion in the processing target data to be changed, that is, a surface to be changed in the material represented by the processing target data in the image is performed. This surface designation processing is performed by the operator operating the instruction input device 4 to designate a desired portion in the image represented by the processing target data or the image represented by the fitting mask data. The number of surfaces specified here is not limited to one, and it is also possible to specify a plurality of surfaces that are not adjacent to each other.

【0034】指示入力装置4から入力される指示が面指
定処理の終了を表す指示である場合には、処理はステッ
プS7へ進み、ここで、素材データがステップS6で指
定された面のみにはめ込まれる。なお、この際、はめ込
み用マスクデータで表される領域内の画素のうち、当該
領域外の画素に隣接する画素については、単に色を置き
換えるだけでなく、当該領域と周囲の領域との輪郭が滑
らかになるよう(シャギーが無くなるよう)、周囲の画
素の色に応じてその色を変更する。
When the instruction input from the instruction input device 4 is an instruction indicating the end of the surface designation processing, the processing proceeds to step S7, where the material data is fitted only to the surface designated in step S6. Be done. At this time, among the pixels in the area represented by the fitting mask data, the pixels adjacent to the pixels outside the area do not simply replace the color, but also the outline of the area and the surrounding area. The color is changed according to the color of the surrounding pixels so that it becomes smooth (shaggy disappears).

【0035】本実施例では、処理対象データで表される
元画像における画素の3原色値を(R1 ,G1 ,B1
とし、変形素材データで表される変形素材画像における
対応画素の3原色値を(R3 ,G3 ,B3 )とすると、
はめ込み後の、はめ込み用マスクデータで表される領域
内の各画素の3原色値(R2 ,G2 ,B2 )は、以下に
示す(13)〜(15)式で与えられる。 R2 = R1(255−R4)/255+R34/255 …… (13) G2 = G1(255−G4)/255+G34/255 …… (14) B2 = B1(255−B4)/255+B34/255 …… (15)
In this embodiment, the three primary color values of the pixel in the original image represented by the data to be processed are (R 1 , G 1 , B 1 )
And the three primary color values of the corresponding pixels in the deformable material image represented by the deformable material data are (R 3 , G 3 , B 3 ),
After the fitting, the three primary color values (R 2 , G 2 , B 2 ) of each pixel in the area represented by the fitting mask data are given by the following equations (13) to (15). R 2 = R 1 (255- R 4) / 255 + R 3 R 4/255 ...... (13) G 2 = G 1 (255-G 4) / 255 + G 3 G 4/255 ...... (14) B 2 = B 1 (255-B 4) / 255 + B 3 B 4/255 ...... (15)

【0036】ただし、上記(13)式において、R4
以下に示す(16)式で与えられる。なお、G4 ,B4
についても同様な式により得られる。 R4 = 255−(3×3マスク領域内の無変更画素数) /9×255 …… (16) ここで、上記(16)式における「3×3マスク領域」
および「無変更画素数」について、図9を参照して説明
する。
However, in the above equation (13), R 4 is given by the following equation (16). In addition, G 4 , B 4
Is also obtained by a similar equation. R 4 = 255− (number of unchanged pixels in 3 × 3 mask area) / 9 × 255 (16) Here, “3 × 3 mask area” in the above equation (16)
The "number of unchanged pixels" will be described with reference to FIG.

【0037】図9は元画像の一部を拡大して示す図であ
り、この図において、10は素材データをはめ込もうと
している領域、11は他の素材データがはめ込まれる領
域、12は素材データがはめ込まれない領域(例えば、
はめ込みマスクデータにおいて、階調値が「0」となっ
ている領域)、M1,M2はそれぞれ3画素×3画素の
3×3マスク領域である。3×3マスク領域M1は、領
域10の画素P5に対応して設定されたものであり、画
素P1およびこの画素P1に隣接する各画素を含む。こ
れと同様に、3×3マスク領域M2は、画素10に対応
して設定され、画素P10およびこの画素P10に隣接
する各画素を含む。
FIG. 9 is an enlarged view of a part of the original image. In this figure, 10 is an area where material data is to be fitted, 11 is an area where other material data is fitted, and 12 is material. Areas where data will not fit (for example,
Areas where the gradation value is “0” in the fitting mask data), M1 and M2 are 3 × 3 mask areas of 3 pixels × 3 pixels, respectively. The 3 × 3 mask area M1 is set corresponding to the pixel P5 in the area 10, and includes the pixel P1 and each pixel adjacent to the pixel P1. Similarly, the 3 × 3 mask region M2 is set corresponding to the pixel 10, and includes the pixel P10 and each pixel adjacent to the pixel P10.

【0038】ここで、例えば、画素M1の色を決定する
場合、まず、(16)式により、R4 が求められる。画
素P1に対応する3×3マスクM1には、領域10外の
画素P2〜P6が含まれる。これらの画素のうち、画素
P5およびP6は、素材データがはめ込まれない領域
(無変更領域)12内の画素である。したがって、この
場合の無変更画素数は「2」となり、R4 は約199.
4となる。この結果と(13)式により、画素P5のR
成分の色は、R1 とR3 を約556:1994という比
率で合成した色となる。上述した処理がG,B成分につ
いても行われ、画素P5の色(RGB値)が決定され
る。なお、画素P10については、R4 が170、画素
P10の色におけるR1 :R4 の成分比が85:170
となる。
Here, for example, when the color of the pixel M1 is determined, R 4 is first obtained by the equation (16). The 3 × 3 mask M1 corresponding to the pixel P1 includes pixels P2 to P6 outside the area 10. Of these pixels, the pixels P5 and P6 are pixels in the area (unmodified area) 12 in which the material data is not fitted. Therefore, the number of unchanged pixels in this case is “2”, and R 4 is about 199.
It becomes 4. From this result and the expression (13), R of the pixel P5 is
The color of the component is a color obtained by combining R 1 and R 3 at a ratio of about 556: 1994. The above-described processing is performed for the G and B components, and the color (RGB value) of the pixel P5 is determined. For the pixel P10, R 4 is 170, and the component ratio of R 1 : R 4 in the color of the pixel P10 is 85: 170.
Becomes

【0039】次に、ステップS8では、はめ込まれた画
像に対して影付け処理が為される。ここで、影用マスク
のRGB値を(R5 ,G5 ,B5 )とすると、影付け処
理により得られる画像のRGB値(R6 ,G6 ,B6
は、以下の(17)〜(19)式により得られる。 R6 = R4・(255−R5)/255 …… (17) G6 = G4・(255−G5)/255 …… (18) B6 = B4・(255−B5)/255 …… (19) この影付け処理により、はめ込まれた画像に元画像の明
度(輝度)分布が反映され、鑑賞者(顧客)に対して、
あたかも、実際に素材を交換したような印象を与えるこ
とができる。このようにして作成された画像は、表示装
置、印刷装置7により、鑑賞者に提示される。上述した
ステップS2〜ステップS9の処理は必要に応じて繰り
返され、一つまたは複数の面に対する素材の置き換えが
実現される。
Next, in step S8, a shadowing process is performed on the fitted image. Here, assuming that the RGB value of the shadow mask is (R 5 , G 5 , B 5 ), the RGB value (R 6 , G 6 , B 6 ) of the image obtained by the shadowing process.
Is obtained by the following equations (17) to (19). R 6 = R 4 · (255 -R 5) / 255 ...... (17) G 6 = G 4 · (255-G 5) / 255 ...... (18) B 6 = B 4 · (255-B 5) / 255 (19) By this shadowing process, the brightness (luminance) distribution of the original image is reflected in the fitted image, and the viewer (customer)
It gives the impression that the material has actually been replaced. The image thus created is presented to the viewer by the display device and the printing device 7. The processes of steps S2 to S9 described above are repeated as necessary to realize the replacement of the material for one or more surfaces.

【0040】以上説明したように、本発明の一実施例に
よれば、指示入力装置4から入力される指示に基づいて
作動する処理装置9により、素材データが、はめ込み領
域に合わせて変形され、その後、はめ込まれる。したが
って、鑑賞者に、一部の素材を変更した家のイメージを
正確に把握させることができるという利点が生じる。ま
た、実際に素材を交換した家を建てる必要がなく、家の
3次元画像データを作成する必要もない。したがって、
手間をかけずに低コストで上記利点を得ることができ
る。
As described above, according to the embodiment of the present invention, the material data is transformed according to the fitting area by the processing device 9 which operates based on the instruction input from the instruction input device 4, After that, it is fitted. Therefore, there is an advantage that the viewer can accurately grasp the image of the house in which some materials are changed. Further, it is not necessary to actually build a house in which the materials are exchanged, and it is not necessary to create three-dimensional image data of the house. Therefore,
The above-mentioned advantages can be obtained at low cost without trouble.

【0041】また、影用マスクデータに基づいて処理対
象データに影付け処理を行うようにしたため、人間が敏
感に認識可能な明度(輝度)成分について正確にシミュ
レートすることができる。さらに、影用マスクデータの
作成時に、設定された各グループの最高明度(輝度)を
合わせるようにしたため、可視光の反射率や屈折率が異
なる素材をはめ込んでも、得られる画像に自然な明度
(輝度)分布を与えることができる。
Further, since the shadowing processing is performed on the processing target data based on the shadow mask data, it is possible to accurately simulate the lightness (luminance) component that can be sensitively recognized by humans. Furthermore, since the maximum brightness (luminance) of each set group was matched when creating the mask data for shadows, even if a material with different visible light reflectance or refractive index was fitted, the resulting image would have a natural brightness (luminance). A luminance distribution can be given.

【0042】また、影用マスクデータの作成時に、強い
アンシャープネスをかけて模様による明度(輝度)分布
への影響を低減するようにしたため、模様が異なる素材
をはめ込んでも、元の素材の模様による影響を低減する
ことができる。さらに、はめ込み用マスクデータを25
6階調のグレースケール画像データとし、その階調値で
面を表すようにしたため、はめ込み用マスクデータを一
つの画像データとして取り扱うことが可能である。した
がって、マスク使用時にかかる手間やマスクデータの管
理にかかる手間を削減できる、処理対象データをグレー
スケール画像に変換し、僅かな処理を施すだけではめ込
み用マスクデータを得ることができる、および、窓や木
立などの素材変更に無関係なものの明度を所定の値に設
定することにより、これらへの素材変更の影響を取り除
くためのマスクデータを別途作成する必要がない、とい
う利点がある。
In addition, when the shadow mask data is created, strong unsharpness is applied to reduce the influence of the pattern on the brightness (luminance) distribution. Therefore, even if a material having a different pattern is fitted, the original pattern of the material is used. The influence can be reduced. Furthermore, the mask data for fitting is set to 25
Since the grayscale image data has 6 gradations and the surface is represented by the gradation values, the fitting mask data can be treated as one image data. Therefore, it is possible to reduce the labor required for using the mask and the labor required to manage the mask data, it is possible to obtain the mask data for fitting by converting the processing target data into a grayscale image and performing a slight processing, and There is an advantage that it is not necessary to separately create mask data for removing the influence of the material change on these, by setting the brightness of a material that is not related to the material change, such as a tree or a grove, to a predetermined value.

【0043】さらに、はめ込み領域の輪郭部に位置する
素材データに対して、3×3マスクデータに基づいたぼ
かし(アンシャープネス)処理を施すようにしたため、
シャギーの発生を防止できる。また、素材データで表さ
れる画像の各頂点とはめ込み領域の各頂点とを略一致さ
せることによって変形素材データを生成することができ
るため、変形処理にかかる手間を大幅に削減することが
できる。また、単位素材データをタイリングして素材デ
ータを作成することができるため、任意の大きさおよび
形状のはめ込み領域に対応することができる。
Further, since the material data located at the contour portion of the fitting area is subjected to the blurring (unsharpness) processing based on the 3 × 3 mask data,
It can prevent the generation of shaggy. Further, since the deformed material data can be generated by substantially matching the vertices of the image represented by the material data with the respective vertices of the fitting area, it is possible to significantly reduce the time and effort required for the deformation process. Further, since the material data can be created by tiling the unit material data, it is possible to correspond to the fitting area of any size and shape.

【0044】なお、上述した一実施例においては、強い
アンシャープネスをかける例を示したが、これに限ら
ず、例えば、「拡散」などの模様による明度への影響を
低減できるフィルタを掛けても同様な効果を得ることが
できる。シャギーの発生を防止するために3×3マスク
データを用いるようにしたが、3×3である必要はな
い。さらに言えば、素材を変更しない領域との境界をぼ
かすことができれば、どのような手法を用いてもよい。
In the above-described embodiment, an example of applying strong unsharpness is shown, but the present invention is not limited to this, and for example, a filter that can reduce the influence on the lightness due to patterns such as "diffusion" may be applied. Similar effects can be obtained. Although 3 × 3 mask data is used in order to prevent the generation of shaggy, it does not have to be 3 × 3. Furthermore, any method may be used as long as the boundary with the area where the material is not changed can be blurred.

【0045】また、上述した一実施例では、ステップS
2〜ステップS9の処理を繰り返し行って複数の素材デ
ータをはめ込むようにしたが、例えば、ステップS2で
複数の素材データを選択し、以降の処理を各素材データ
について並列に行うようにしてもよい。もちろん、この
際、ステップS6では複数の面を指定できるものとす
る。ステップS6で複数の面を指定可能な場合、例え
ば、図10に示されるように、隣接する面にはめ込もう
とする素材データを同時に表示することにより、操作者
は両者の拡大・縮小率の差異やレンガ等の継ぎ目のずれ
等を容易に認識することができる。すなわち、より正確
な画像イメージを得ることができる。さらに、はめ込み
マスクデータを256階調のグレースケール画像データ
としたが、例えば、256色のRGBデータなど、多数
の領域を表現可能なデータであればよい。
Further, in the above-described embodiment, step S
Although the processing of 2 to step S9 is repeated to fit a plurality of material data, for example, a plurality of material data may be selected in step S2 and the subsequent processing may be performed in parallel for each material data. . Of course, at this time, a plurality of surfaces can be designated in step S6. When a plurality of faces can be designated in step S6, for example, as shown in FIG. 10, the material data to be fitted to the adjacent faces are simultaneously displayed so that the operator can determine the enlargement / reduction ratio of the two faces. It is possible to easily recognize the difference and the shift of the joint of the bricks and the like. That is, a more accurate image can be obtained. Furthermore, although the fitting mask data is grayscale image data of 256 gradations, it may be data capable of expressing a large number of areas such as RGB data of 256 colors.

【0046】[0046]

【発明の効果】以上説明したように、本発明によれば、
変形手段が、記憶手段に記憶された素材データを、処理
対象となる元画像において変更可能な素材の画像が占め
る領域であるはめ込み領域の形状に合わせて変形して変
形素材データを生成する。また、はめ込み手段が、前記
はめ込み領域内の前記元画像を表す処理対象データを、
前記変形素材データに基づいて更新し、表示手段が、前
記はめ込み手段により更新された前記処理対象データで
表される画像を表示する。したがって、実際に素材を変
更した物品を製作する必要がなく、物品の3次元画像デ
ータを作成する必要もない。このことに加えて、はめ込
み領域の形状に合わせて素材データを変形するようにし
たため、手間がかからず低コストであるとともに、鑑賞
者に、一部の外観を変更した物品のイメージを正確に把
握させることができるという効果が得られる(請求項
1)。また、前記影付け手段が前記はめ込み手段により
更新された前記処理対象データに対して前記記憶手段に
記憶された影用マスクデータに基づいた影付け処理を行
うとともに、前記表示手段が、影付け処理された前記処
理対象データで表される画像を表示するようにしたた
め、最終的に表示される画像を、より正確な画像とする
ことができるという効果がある(請求項2)。
As described above, according to the present invention,
The deforming unit deforms the material data stored in the storage unit according to the shape of the fitting area, which is an area occupied by the image of the changeable material in the original image to be processed, to generate deformed material data. In addition, the fitting means processes the processing target data representing the original image in the fitting area,
Updating is performed based on the deformable material data, and the display unit displays the image represented by the processing target data updated by the fitting unit. Therefore, it is not necessary to actually manufacture an article whose material is changed, and it is not necessary to create three-dimensional image data of the article. In addition to this, since the material data is transformed according to the shape of the inset area, it is both time-consuming and low-cost, and the viewer can accurately see the image of the part of the product whose appearance has been changed. The effect of being able to grasp is obtained (Claim 1). The shadowing means performs a shadowing process based on the shadow mask data stored in the storage means with respect to the processing target data updated by the fitting means, and the display means performs a shadowing process. Since the image represented by the processed data is displayed, there is an effect that the finally displayed image can be a more accurate image (claim 2).

【0047】さらに、前記はめ込み用マスクデータの各
階調値によって前記はめ込み領域が表されるため、はめ
込み用マスクデータを一つの画像データとして取り扱う
ことができるという効果がある(請求項3)。また、前
記はめ込み手段が、前記はめ込み領域にはめ込もうとす
る画像の輪郭を円滑にするアンシャープネス処理を前記
素材データに施すため、シャギーの発生を防止できると
いう効果がある(請求項4)。
Further, since each of the gradation values of the fitting mask data represents the fitting area, there is an effect that the fitting mask data can be treated as one image data (claim 3). Further, since the fitting means performs the unsharpness processing for smoothing the contour of the image to be fitted into the fitting area on the material data, it is possible to prevent the generation of shaggy (claim 4).

【0048】さらに、前記変形手段が、前記素材データ
で表される多角形状の画像の頂点と前記はめ込み領域の
頂点とを略一致させることによって前記変形素材データ
を生成するため、処理にかかる手間を大幅に省くことが
できるという効果がある(請求項5)。また、前記記憶
手段が所定の形状および解像度の単位素材データを記憶
し、タイリング手段が前記単位素材データを前記はめ込
み領域に合うよう繰り返し並べて前記素材データを作成
するため、任意の大きさおよび形状の前記はめ込み領域
に対応することができるという効果がある(請求項
6)。影付けマスク作成手段が、前記元画像中の各画素
の明度または輝度を抽出して階調データを作成し、該階
調データにアンシャープネス処理を施して前記影用マス
クデータを作成するため、模様が異なる素材をはめ込ん
でも正確な画像を得ることができるという効果がある
(請求項7)。
Further, since the deforming means generates the deformed material data by causing the vertices of the polygonal image represented by the material data to substantially coincide with the vertices of the fitting area, the labor required for processing is reduced. There is an effect that it can be largely omitted (Claim 5). Further, since the storage means stores unit material data of a predetermined shape and resolution, and the tiling means repeatedly arranges the unit material data so as to fit the fitting area to create the material data, an arbitrary size and shape can be obtained. There is an effect that it is possible to correspond to the fitting area of (6). The shadow-casting mask creating means extracts the brightness or the brightness of each pixel in the original image to create gradation data, and performs the unsharpness process on the gradation data to create the shadow mask data, There is an effect that an accurate image can be obtained even if materials having different patterns are fitted (claim 7).

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

【図1】本発明の一実施例による画像シミュレーション
装置が行う「はめ込み処理」の概略を説明するための図
である。
FIG. 1 is a diagram for explaining an outline of “fitting processing” performed by an image simulation apparatus according to an embodiment of the present invention.

【図2】同装置の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the device.

【図3】同装置により為される処理の流れを示すフロー
チャートである。
FIG. 3 is a flowchart showing a flow of processing performed by the device.

【図4】元画像の一例を示す図である。FIG. 4 is a diagram showing an example of an original image.

【図5】図4に示される元画像に対するはめ込み用マス
クを説明するための図である。
5A and 5B are views for explaining a fitting mask for the original image shown in FIG.

【図6】図4に示される元画像に対して為される処理を
説明するための図である。
FIG. 6 is a diagram for explaining a process performed on the original image shown in FIG.

【図7】図4に示される元画像に対して為される処理を
説明するための図である。
FIG. 7 is a diagram for explaining a process performed on the original image shown in FIG.

【図8】本発明の一実施例による画像シミュレーション
装置において行われるアフィン変換について説明するた
めの図であり、(a)は変換前の画像、(b)は変換後
の画像を模式的に示す。
8A and 8B are diagrams for explaining affine transformation performed in the image simulation apparatus according to the embodiment of the present invention, where FIG. 8A schematically shows an image before transformation and FIG. 8B schematically shows an image after transformation. .

【図9】元画像の一部を拡大して示す図である。FIG. 9 is a diagram showing an enlarged part of an original image.

【図10】本発明の一実施例による画像シミュレーショ
ン装置の機能について説明するための図である。
FIG. 10 is a diagram for explaining the function of the image simulation apparatus according to the embodiment of the present invention.

【図11】従来の装置または方法によるカタログの一例
を説明するための図である。
FIG. 11 is a diagram for explaining an example of a catalog by a conventional device or method.

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

4 指示入力装置 5 表示装置 6 外部記憶装置 7 印刷装置 8 画像データ入力装置 9 処理装置 R 外壁材の領域 4 instruction input device 5 display device 6 external storage device 7 printing device 8 image data input device 9 processing device R area of outer wall material

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 処理対象となる元画像を表す処理対象デ
ータと、該元画像で表される物品を構成し得る素材の画
像データである素材データと、前記元画像において変更
可能な素材の画像が占める領域であるはめ込み領域を表
すはめ込み用マスクデータとを記憶した記憶手段と、 前記素材データを前記はめ込み領域の形状に合わせて変
形して変形素材データを生成する変形手段と、 前記はめ込み領域内の前記処理対象データを、前記変形
素材データに基づいて更新するはめ込み手段と、 該はめ込み手段により更新された前記処理対象データで
表される画像を表示する表示手段とを具備することを特
徴とする画像シミュレーション装置。
1. Processing target data representing an original image to be processed, material data that is image data of material that can form an article represented by the original image, and an image of material that can be changed in the original image. Storage means for storing inlaying mask data representing an inlaying area which is an area occupied by, deformation means for deforming the material data according to the shape of the inlaying area to generate deformed material data, and in the inlaying area And a display unit for displaying the image represented by the processing target data updated by the fitting unit, the processing target data being updated based on the transformation material data. Image simulation device.
【請求項2】 処理対象となる元画像を表す処理対象デ
ータと、該元画像で表される物品を構成し得る素材の画
像データである素材データと、前記元画像において変更
可能な素材の画像が占める領域であるはめ込み領域を表
すはめ込み用マスクデータと、元画像中の各画素の明度
または輝度を表す影用マスクデータとを記憶した記憶手
段と、 前記素材データを前記はめ込み領域の形状に合わせて変
形して変形素材データを生成する変形手段と、 前記はめ込み領域内の前記処理対象データを、前記変形
素材データに基づいて更新するはめ込み手段と、 前記はめ込み手段により更新された前記処理対象データ
に対して前記影用マスクデータに基づいた影付け処理を
行う影付け手段と、 該影付け手段により影付け処理を施された前記処理対象
データで表される画像を表示する表示手段とを具備する
ことを特徴とする画像シミュレーション装置。
2. Processing target data representing an original image to be processed, material data that is image data of material that can form an article represented by the original image, and an image of material that can be changed in the original image. Storage means for storing inset mask data that represents an inset area that is an area occupied by, and shadow mask data that represents the brightness or luminance of each pixel in the original image, and the material data that matches the shape of the inset area. Deforming means for deforming to generate deformation material data, fitting means for updating the processing target data in the fitting area based on the deformation material data, and the processing target data updated by the fitting means. On the other hand, shadowing means for performing shadowing processing based on the shadow mask data, and the processing target data subjected to the shadowing processing by the shadowing means. Image simulation apparatus characterized by comprising a display means for displaying an in represented images are.
【請求項3】 前記はめ込み用マスクデータは階調デー
タであり、その各階調値によって前記はめ込み領域を表
すことを特徴とする請求項1または2記載の画像シミュ
レーション装置。
3. The image simulation apparatus according to claim 1, wherein the fitting mask data is gradation data, and each fitting value represents the fitting area.
【請求項4】 前記はめ込み手段は、前記はめ込み領域
にはめ込もうとする画像の輪郭を円滑にするアンシャー
プネス処理を前記素材データに施すことを特徴とする請
求項1または2記載の画像シミュレーション装置。
4. The image simulation apparatus according to claim 1, wherein the fitting means performs an unsharpness process on the material data to smooth an outline of an image to be fitted in the fitting area. .
【請求項5】 前記素材データは多角形状の画像を表
し、前記変形手段は前記多角形状の画像の頂点と前記は
め込み領域の頂点とを略一致させて前記変形素材データ
を生成することを特徴とする請求項1または2記載の画
像シミュレーション装置。
5. The material data represents a polygonal image, and the deforming means generates the deformed material data by causing the vertices of the polygonal image and the vertices of the fitting area to substantially coincide with each other. The image simulation device according to claim 1 or 2.
【請求項6】 所定の形状および解像度の単位素材デー
タを前記はめ込み領域に合うよう繰り返し並べて前記素
材データを作成するタイリング手段を具備し、 前記記憶手段は前記単位素材データを記憶することを特
徴とする請求項1または2記載の画像シミュレーション
装置。
6. A tiling means for repeatedly arranging unit material data of a predetermined shape and resolution so as to fit in the fitting area to create the material data, and the storage means stores the unit material data. The image simulation device according to claim 1 or 2.
【請求項7】 前記元画像中の各画素の明度または輝度
を抽出して階調データを作成し、該階調データにアンシ
ャープネス処理を施して前記影用マスクデータを作成す
る影付けマスク作成手段を具備することを特徴とする請
求項2記載の画像シミュレーション装置。
7. A shadowing mask creation for creating tone data by extracting lightness or luminance of each pixel in the original image and performing unsharpness processing on the tone data to create the shadow mask data. The image simulation apparatus according to claim 2, further comprising means.
JP7091129A 1995-04-17 1995-04-17 Image simulation device Pending JPH08287225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7091129A JPH08287225A (en) 1995-04-17 1995-04-17 Image simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7091129A JPH08287225A (en) 1995-04-17 1995-04-17 Image simulation device

Publications (1)

Publication Number Publication Date
JPH08287225A true JPH08287225A (en) 1996-11-01

Family

ID=14017934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7091129A Pending JPH08287225A (en) 1995-04-17 1995-04-17 Image simulation device

Country Status (1)

Country Link
JP (1) JPH08287225A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002297689A (en) * 2001-04-03 2002-10-11 Toppan Printing Co Ltd Pattern design simulation system, server used for pattern design simulation system, pattern design simulation method and program, computer-readable recording medium with program recorded thereon and outputted product
JP2005293616A (en) * 2005-06-06 2005-10-20 Dainippon Printing Co Ltd Image synthesis device
US11508029B2 (en) 2020-10-22 2022-11-22 Fujifilm Business Innovation Corp. Information processing apparatus and non-transitory computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05258072A (en) * 1992-03-13 1993-10-08 Nippon Telegr & Teleph Corp <Ntt> Specific face graphic preparing method
JPH05336346A (en) * 1992-06-02 1993-12-17 Hitachi Ltd Image processing method and storage device
JPH06274650A (en) * 1993-03-23 1994-09-30 Dainippon Printing Co Ltd Image synthesizer
JPH06339150A (en) * 1993-05-31 1994-12-06 Fuji Color Service:Kk Compositing method of shade in electronic picture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05258072A (en) * 1992-03-13 1993-10-08 Nippon Telegr & Teleph Corp <Ntt> Specific face graphic preparing method
JPH05336346A (en) * 1992-06-02 1993-12-17 Hitachi Ltd Image processing method and storage device
JPH06274650A (en) * 1993-03-23 1994-09-30 Dainippon Printing Co Ltd Image synthesizer
JPH06339150A (en) * 1993-05-31 1994-12-06 Fuji Color Service:Kk Compositing method of shade in electronic picture

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002297689A (en) * 2001-04-03 2002-10-11 Toppan Printing Co Ltd Pattern design simulation system, server used for pattern design simulation system, pattern design simulation method and program, computer-readable recording medium with program recorded thereon and outputted product
JP2005293616A (en) * 2005-06-06 2005-10-20 Dainippon Printing Co Ltd Image synthesis device
US11508029B2 (en) 2020-10-22 2022-11-22 Fujifilm Business Innovation Corp. Information processing apparatus and non-transitory computer readable medium

Similar Documents

Publication Publication Date Title
US5745666A (en) Resolution-independent method for displaying a three-dimensional model in two-dimensional display space
US6961064B2 (en) System and method for combining graphics formats in a digital video pipeline
JPH0344780A (en) Texture mapping method
JP2000067267A (en) Method and device for restoring shape and pattern in there-dimensional scene
JP3626144B2 (en) Method and program for generating 2D image of cartoon expression from 3D object data
JP3467725B2 (en) Image shadow removal method, image processing apparatus, and recording medium
JPH10243211A (en) Image processor, image-processing method and recording medium
JPH07146931A (en) Picture generating method
US6744440B1 (en) Image processing apparatus, recording medium, and program
JP4174133B2 (en) Image generation method
US7274372B1 (en) Real-time digital three dimensional engraving
JPH08287225A (en) Image simulation device
KR100602739B1 (en) Semi-automatic field based image metamorphosis using recursive control-line matching
JP3356865B2 (en) Map making method and apparatus
JP3501479B2 (en) Image processing device
JP3596959B2 (en) Texture editing system
JPH09265548A (en) Method and device for generating pattern simulatively representing wrinkle, and printed matter having the same pattern
JP3453410B2 (en) Image processing apparatus and method
KR100431788B1 (en) A method for simulating virtual clothes
JP3170419B2 (en) Image shadowing method
JP2701056B2 (en) Secondary representation method for three-dimensional objects
JP2000293667A (en) Picture synthesizing device
CN116991052A (en) Three-dimensional visual holographic plate making method for black-white graphic elements
JPH0955881A (en) Picture shading method
JPH08249497A (en) Method for constructing three-dimensional model

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050809