JP2008052398A - Image composition apparatus, program and recording medium - Google Patents

Image composition apparatus, program and recording medium Download PDF

Info

Publication number
JP2008052398A
JP2008052398A JP2006226149A JP2006226149A JP2008052398A JP 2008052398 A JP2008052398 A JP 2008052398A JP 2006226149 A JP2006226149 A JP 2006226149A JP 2006226149 A JP2006226149 A JP 2006226149A JP 2008052398 A JP2008052398 A JP 2008052398A
Authority
JP
Japan
Prior art keywords
image
transparent
texture
composition
transmission
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
JP2006226149A
Other languages
Japanese (ja)
Inventor
Satoshi Tabata
聡 田端
Sannashi Miyama
三奈子 宮間
Asuka Iwakoshi
明日香 岩越
Natsue Kurachi
奈津恵 倉知
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2006226149A priority Critical patent/JP2008052398A/en
Publication of JP2008052398A publication Critical patent/JP2008052398A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image composition apparatus that can reduce the operational load of transparent image composition. <P>SOLUTION: The image composition apparatus 1 comprises a background image reading means 11, a composition area setting/conversion means 12, a texture image reading means 13, a transparency information separation means 14, an image composition means 15, a composite image display means 16 and a storage part 23. The background image reading means 11 reads in a selected background image 31. The composition area setting/conversion means 12 sets and converts a composition area. The texture image reading means 13 reads in a selected texture image 32. The transparency information separation means 14 separates transparency information from a transparent texture image 34. The image composition means 15 composites the background image 31 with the texture image in a nontransparent mode to create a general composite image, and composites the background image 31 with the texture image in a transparent mode with the use of the separated transparency information to create a transparent composite image. The composite image display means 16 outputs the general composite image and transparent composite image. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の画像を合成する画像合成装置に関する。   The present invention relates to an image composition device that composes a plurality of images.

従来、画像合成装置は、複数の画像を重畳することにより画像合成を行う。また、曲面や遠近を考慮して、背景画像(原画像)とテクスチャ画像(柄画像)とを画像合成する柄替えシミュレーションシステムが提案されている(例えば、[特許文献1]参照。)。この柄替えシミュレーションシステムは、背景画像を読み込み、合成領域の設定を行い、遠近や曲面を考慮して合成領域の変換を行い、テクスチャ画像を読み込み、画像合成を行う。   Conventionally, an image composition device performs image composition by superimposing a plurality of images. In addition, there has been proposed a pattern change simulation system that combines a background image (original image) and a texture image (pattern image) in consideration of a curved surface and perspective (see, for example, [Patent Document 1]). This design change simulation system reads a background image, sets a synthesis area, converts a synthesis area in consideration of perspective and a curved surface, reads a texture image, and performs image synthesis.

特開2002−342782号公報JP 2002-342882 A

しかしながら、一般の画像合成アプリケーションを用いて、合成領域における背景画像の情報を保持したまま、テクスチャ画像の透過画像合成を行う場合、高度な操作技術や経験が必要であり、作業負荷が増大するという問題点がある。   However, when performing transparent image synthesis of texture images while maintaining background image information in the synthesis area using a general image synthesis application, advanced operation techniques and experience are required, which increases the workload. There is a problem.

本発明は、以上の問題点に鑑みてなされたものであり、透過画像合成に係る操作負担を軽減することを可能とする画像合成装置を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide an image composition device that can reduce an operation burden related to transmission image composition.

前述した目的を達成するために第1の発明は、背景画像と透過テクスチャ画像とを保持する保持手段と、前記背景画像を選択して読み込む背景画像読込手段と、前記背景画像に合成領域を設定して所定の変換処理を行う合成領域設定変換手段と、前記透過テクスチャ画像を選択して読み込む透過テクスチャ画像読込手段と、前記透過テクスチャ画像から透過情報と色情報とを分離する透過情報分離手段と、前記透過情報と前記色情報とに対してそれぞれ所定の変換処理を行い、前記背景画像の合成領域に透過画像合成する透過画像合成手段と、前記透過画像合成の結果である透過合成画像を表示する透過合成画像表示手段と、を具備することを特徴とする画像合成装置である。   In order to achieve the above-described object, the first invention provides a holding means for holding a background image and a transparent texture image, a background image reading means for selecting and reading the background image, and setting a synthesis area for the background image. Combining region setting conversion means for performing predetermined conversion processing, transparent texture image reading means for selecting and reading the transparent texture image, transparent information separation means for separating transparent information and color information from the transparent texture image, The transmission information and the color information are respectively subjected to predetermined conversion processing, and the transmission image composition means for synthesizing the transmission image in the synthesis area of the background image and the transmission composition image as a result of the transmission image composition are displayed. An image composition apparatus comprising: a transparent composite image display means for performing the above-described operation.

画像合成装置は、背景画像を読み込み、背景画像に合成領域を設定し、合成領域に所定の変換処理を行う。画像合成装置は、透過テクスチャ画像を読み込み、透過テクスチャ画像から透過情報と色情報とを分離する。画像合成装置は、透過情報と色情報とに対してそれぞれ所定の変換処理を行って背景画像の合成領域に透過画像合成し、透過合成画像を表示する。   The image composition apparatus reads a background image, sets a composition area in the background image, and performs predetermined conversion processing on the composition area. The image composition device reads the transparent texture image and separates the transmission information and the color information from the transmission texture image. The image composition device performs predetermined conversion processing on the transmission information and the color information, respectively, synthesizes the transmission image in the synthesis region of the background image, and displays the transmission combination image.

背景画像は、画像合成の原画像である。透過テクスチャ画像は、透過性を有する柄画像である。透過テクスチャ画像は、例えば、PNG形式あるいはTIFF形式の画像データである。PNG形式あるいはTIFF形式の画像データは、色情報を示すR成分及びB成分及びG成分と、透過情報を示すαチャンネル成分と、を含む。   The background image is an original image for image synthesis. The transparent texture image is a pattern image having transparency. The transparent texture image is, for example, image data in PNG format or TIFF format. The PNG format or TIFF format image data includes an R component, a B component, and a G component that indicate color information, and an α channel component that indicates transmission information.

第1の発明では、画像合成装置は、透過テクスチャ画像が含む透過情報を分離して変換処理を行い、背景画像の合成領域に透過的に透過テクスチャ画像を合成するので、透過画像合成に係る作業負荷を軽減することができる。高度な操作技術や経験がなくとも透過画像合成を行うことができる。   In the first aspect of the invention, the image synthesis device performs the conversion process by separating the transmission information included in the transmission texture image, and transparently combines the transmission texture image with the synthesis area of the background image. The load can be reduced. Transmission image synthesis can be performed without advanced operation techniques and experience.

第2の発明は、コンピュータを第1の発明の画像合成装置として機能させるプログラムである。
第3の発明は、コンピュータを第1の発明の画像合成装置として機能させるプログラムを記録したコンピュータ読取可能な記録媒体である。
上述のプログラムをCD−ROM等の記録媒体に保持させて流通させてもよいし、このプログラムを通信回線を介して送受することもできる。
The second invention is a program for causing a computer to function as the image composition device of the first invention.
A third invention is a computer-readable recording medium on which a program for causing a computer to function as the image composition device of the first invention is recorded.
The above-mentioned program may be held and distributed on a recording medium such as a CD-ROM, or the program can be transmitted and received via a communication line.

本発明によれば、透過画像合成に係る操作負担を軽減することを可能とする画像合成装置を提供することができる。   According to the present invention, it is possible to provide an image synthesizing apparatus that can reduce an operation burden related to transparent image synthesis.

以下、添付図面を参照しながら、画像合成装置の好適な実施形態について詳細に説明する。尚、以下の説明及び添付図面において、略同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略することにする。   Hereinafter, a preferred embodiment of an image composition device will be described in detail with reference to the accompanying drawings. In the following description and the accompanying drawings, the same reference numerals are given to components having substantially the same functional configuration, and redundant description is omitted.

(1.画像合成装置1の構成)
最初に、図1を参照しながら、画像合成装置1の構成について説明する。
図1は、画像合成装置1の構成図である。
(1. Configuration of the image composition device 1)
First, the configuration of the image composition device 1 will be described with reference to FIG.
FIG. 1 is a configuration diagram of the image composition apparatus 1.

画像合成装置1は、ワークステーションやパーソナルコンピュータ等である。画像合成装置1は、背景画像読込手段11、合成領域設定変換手段12、テクスチャ画像読込手段13、透過情報分離手段14、画像合成手段15、合成画像表示手段16、背景画像31及びテクスチャ画像32(一般テクスチャ画像33及び透過テクスチャ画像34)を保持する記憶部23を備える。   The image composition device 1 is a workstation, a personal computer, or the like. The image synthesizing apparatus 1 includes a background image reading unit 11, a synthesis area setting conversion unit 12, a texture image reading unit 13, a transmission information separation unit 14, an image synthesis unit 15, a synthesized image display unit 16, a background image 31, and a texture image 32 ( A storage unit 23 that holds the general texture image 33 and the transparent texture image 34) is provided.

背景画像読込手段11は、原画像である背景画像31を選択して読み込む。合成領域設定変換手段12は、合成領域の設定を行い、遠近変換や曲面変換や陰影処理等の合成領域の変換を行う。テクスチャ画像読込手段13は、柄画像であるテクスチャ画像32(一般テクスチャ画像33及び透過テクスチャ画像34)を選択して読み込む。透過情報分離手段14は、透過テクスチャ画像34から透過情報を分離する。画像合成手段15は、一般画像合成あるいは透過画像合成を行い、一般合成画像あるいは透過合成画像を作成する。一般画像合成では、背景画像31と一般テクスチャ画像33とが非透過的に画像合成される。透過画像合成では、背景画像31と透過テクスチャ画像34とが透過的に画像合成される。合成画像表示手段16は、画像合成結果である一般合成画像あるいは透過合成画像を出力する。   The background image reading means 11 selects and reads the background image 31 that is the original image. The composite area setting conversion unit 12 sets a composite area and performs composite area conversion such as perspective conversion, curved surface conversion, and shadow processing. The texture image reading means 13 selects and reads a texture image 32 (general texture image 33 and transparent texture image 34) that is a pattern image. The transmission information separation unit 14 separates transmission information from the transmission texture image 34. The image synthesizing unit 15 performs general image synthesis or transmission image synthesis, and creates a general synthesis image or a transmission synthesis image. In the general image synthesis, the background image 31 and the general texture image 33 are non-transparently synthesized. In the transparent image synthesis, the background image 31 and the transparent texture image 34 are transparently synthesized. The composite image display means 16 outputs a general composite image or a transparent composite image that is an image composite result.

(2.ハードウェア構成)
次に、図2を参照しながら、画像合成装置1のハードウェア構成について説明する。
図2は、画像合成装置1のハードウェア構成図である。
尚、図2のハードウェア構成は一例であり、用途、目的に応じて様々な構成を採ることが可能である。
(2. Hardware configuration)
Next, the hardware configuration of the image composition device 1 will be described with reference to FIG.
FIG. 2 is a hardware configuration diagram of the image composition apparatus 1.
Note that the hardware configuration in FIG. 2 is an example, and various configurations can be adopted depending on the application and purpose.

画像合成装置1は、CPU21、メモリ22、記憶部23、表示部24、入力部25、出力部26、通信部27がシステムバス28を介して接続されて構成される。   The image composition device 1 is configured by connecting a CPU 21, a memory 22, a storage unit 23, a display unit 24, an input unit 25, an output unit 26, and a communication unit 27 via a system bus 28.

CPU21(Central Processing Unit)は、演算処理(四則演算や比較演算等)やハードウェアやソフトウェアの動作制御を行う装置である。   A CPU 21 (Central Processing Unit) is a device that performs arithmetic processing (four arithmetic operations, comparison operations, etc.) and operation control of hardware and software.

メモリ22は、RAM及びROM等のメモリである。RAM(Random Access Memory)は、ROM(Read Only Memory)や記憶部23から読み出されたOS(Operating System)のプログラム、アプリケーションプログラム等を記憶する。RAMは、CPU21の主メモリやワークエリアとして機能する。   The memory 22 is a memory such as a RAM and a ROM. A RAM (Random Access Memory) stores a ROM (Read Only Memory), an OS (Operating System) program read from the storage unit 23, an application program, and the like. The RAM functions as a main memory and work area for the CPU 21.

記憶部23は、各種データを記憶する装置であり、例えば、ハードディスクである。記憶部23は、CPU21が実行するプログラム、プログラム実行に必要なデータ、OS、各種データベース等が格納される。   The memory | storage part 23 is an apparatus which memorize | stores various data, for example, is a hard disk. The storage unit 23 stores a program executed by the CPU 21, data necessary for program execution, an OS, various databases, and the like.

表示部24は、表示装置であり、例えば、CRTモニタ、液晶パネルである。表示部24は、コンピュータのビデオ機能を実現するための論理回路(ビデオアダプタ等)を有する。   The display unit 24 is a display device, such as a CRT monitor or a liquid crystal panel. The display unit 24 has a logic circuit (video adapter or the like) for realizing the video function of the computer.

入力部25は、各種データの入力装置であり、例えば、キーボード、マウスである。出力部26は、各種データの出力装置であり、例えば、プリンタである。各種メディアとのデータ入出力を行うドライブ装置を入力部25及び出力部26として用いることもできる。   The input unit 25 is an input device for various data, such as a keyboard and a mouse. The output unit 26 is an output device for various data, and is, for example, a printer. Drive devices that perform data input / output with various media can also be used as the input unit 25 and the output unit 26.

通信部27は、ネットワーク7を介して外部装置と接続・通信する通信制御装置である。例えば、TCP/IPを用いたインターネット通信が可能である。   The communication unit 27 is a communication control device that connects and communicates with an external device via the network 7. For example, Internet communication using TCP / IP is possible.

システムバス28は、各装置間の制御信号、データ信号等の授受を媒介する経路であり、例えば、PCI(Peripheral Component Interconnect)バス、AGP(Accelerated Graphics Port)バス、メモリバスである。   The system bus 28 is a path that mediates transmission / reception of control signals, data signals, and the like between the devices, and is, for example, a PCI (Peripheral Component Interconnect) bus, an AGP (Accelerated Graphics Port) bus, or a memory bus.

画像合成装置1は、記憶部23やROMや記録媒体に格納されるプログラム(アプリケーションプログラム、OSのプログラム等)をメモリ22のRAMにロードしてCPU21の制御の下に、各種処理を実行する。   The image composition device 1 loads a program (application program, OS program, etc.) stored in the storage unit 23, ROM, or recording medium into the RAM of the memory 22, and executes various processes under the control of the CPU 21.

(3.画像合成装置1が保持する情報)
次に、図3を参照しながら、画像合成装置1の記憶部23が保持する情報について説明する。
図3は、画像合成装置1の記憶部23が保持する情報を示す図である。
(3. Information held by the image composition device 1)
Next, information held in the storage unit 23 of the image composition device 1 will be described with reference to FIG.
FIG. 3 is a diagram illustrating information stored in the storage unit 23 of the image composition device 1.

記憶部23は、複数の背景画像31、テクスチャ画像32、OS38、アプリケーションプログラム39が格納される。
背景画像31は、画像合成に用いる原画像である。
テクスチャ画像32は、画像合成に用いる柄画像である。テクスチャ画像32は、一般テクスチャ画像33と透過テクスチャ画像34とに大別される。
一般テクスチャ画像33は、透過情報を有さない画像情報である。一般テクスチャ画像33は、例えば、ビットマップ(BMP)形式の画像情報である。
透過テクスチャ画像34は、透過情報(αチャンネル)を有する画像情報である。透過テクスチャ画像34は、例えば、PNG形式やTIFF形式の画像情報である。
The storage unit 23 stores a plurality of background images 31, texture images 32, an OS 38, and an application program 39.
The background image 31 is an original image used for image composition.
The texture image 32 is a pattern image used for image composition. The texture image 32 is roughly divided into a general texture image 33 and a transparent texture image 34.
The general texture image 33 is image information having no transmission information. The general texture image 33 is, for example, image information in a bitmap (BMP) format.
The transparent texture image 34 is image information having transmission information (α channel). The transparent texture image 34 is, for example, image information in PNG format or TIFF format.

OS38(Operating System)は、画像合成装置1の各構成部分を駆動制御するプログラムである。
アプリケーションプログラム39は、画像合成装置1の動作を規定する実行プログラムである。
The OS 38 (Operating System) is a program that drives and controls each component of the image composition device 1.
The application program 39 is an execution program that defines the operation of the image composition device 1.

(4.画素データ)
次に、図4及び図5を参照しながら、テクスチャ画像32の画素データについて説明する。
(4. Pixel data)
Next, pixel data of the texture image 32 will be described with reference to FIGS. 4 and 5.

(4−1.一般テクスチャ画像33の画素データ)
図4は、一般テクスチャ画像33の画素データを示す図である。図4(a)は、一般テクスチャ画像33の画素41を示す。図4(b)は、画素41の画素データ42を示す。
(4-1. Pixel data of general texture image 33)
FIG. 4 is a diagram illustrating pixel data of the general texture image 33. FIG. 4A shows the pixel 41 of the general texture image 33. FIG. 4B shows pixel data 42 of the pixel 41.

画素データ42は、位置情報43及び色情報44を有する。色情報44は、R成分45、G成分46、B成分47の各フィールドを有する。
位置情報43は、画素位置を示す。位置情報43は、例えば、XY平面における座標位置(0,0)である。
R成分45、G成分46、B成分47は、それぞれ、色空間における3原色のR成分(赤)、G成分(緑)、B成分(青)の値を示す。R成分45、G成分46、B成分47は、例えば、8ビットの場合「128」、「10」、「50」である。
The pixel data 42 includes position information 43 and color information 44. The color information 44 includes fields of an R component 45, a G component 46, and a B component 47.
The position information 43 indicates the pixel position. The position information 43 is, for example, a coordinate position (0, 0) on the XY plane.
The R component 45, the G component 46, and the B component 47 indicate the values of the R component (red), G component (green), and B component (blue) of the three primary colors in the color space, respectively. The R component 45, the G component 46, and the B component 47 are, for example, “128”, “10”, and “50” in the case of 8 bits.

(4−2.透過テクスチャ画像34の画素データ)
図5は、透過テクスチャ画像34の画素データを示す図である。図5(a)は、透過テクスチャ画像34の画素51を示す。図5(b)は、画素51の画素データ52を示す。
(4-2. Pixel Data of Transparent Texture Image 34)
FIG. 5 is a diagram illustrating pixel data of the transparent texture image 34. FIG. 5A shows the pixel 51 of the transparent texture image 34. FIG. 5B shows pixel data 52 of the pixel 51.

画素データ52は、位置情報53及び色情報54及び透過情報58を有する。色情報54は、R成分55、G成分56、B成分57の各フィールドを有する。透過情報58は、α成分59のフィールドを有する。
位置情報53、R成分55、G成分56、B成分57は、それぞれ、図4の位置情報43、R成分45、G成分46、B成分47と同様のものである。
α成分59は、透過度を示す。α成分59は、例えば、「0(非透過)」「50(半透過)」「100(完全透過)」である。
The pixel data 52 includes position information 53, color information 54, and transmission information 58. The color information 54 includes fields of an R component 55, a G component 56, and a B component 57. The transmission information 58 has a field of an α component 59.
The position information 53, R component 55, G component 56, and B component 57 are the same as the position information 43, R component 45, G component 46, and B component 47 of FIG. 4, respectively.
The α component 59 indicates the transmittance. The α component 59 is, for example, “0 (non-transmission)”, “50 (semi-transmission)”, and “100 (complete transmission)”.

(5.画像合成装置1の動作)
次に、図6〜図12を参照しながら、画像合成装置1の動作について説明する。一般テクスチャ画像33を用いて一般画像合成を行う場合(図6)と透過テクスチャ画像34を用いて透過画像合成を行う場合(図10)に分けて説明する。
(5. Operation of the image composition device 1)
Next, the operation of the image composition device 1 will be described with reference to FIGS. A case where general image synthesis is performed using the general texture image 33 (FIG. 6) and a case where transmission image synthesis is performed using the transparent texture image 34 (FIG. 10) will be described separately.

(5−1.一般画像合成)
図6は、一般画像合成における画像合成装置1の動作を示すフローチャートである。
図7は、メイン画面61を示す図である。
(5-1. General image composition)
FIG. 6 is a flowchart showing the operation of the image composition apparatus 1 in general image composition.
FIG. 7 is a diagram showing the main screen 61.

画像合成装置1のCPU21は、メイン画面61を表示部24に表示する。画像合成装置1のCPU21は、入力部25を介して背景画像31が選択されると、記憶部23から背景画像31を読み込み表示部24に表示する(ステップ1001)。   The CPU 21 of the image composition device 1 displays the main screen 61 on the display unit 24. When the background image 31 is selected via the input unit 25, the CPU 21 of the image composition device 1 reads the background image 31 from the storage unit 23 and displays it on the display unit 24 (step 1001).

図8は、メイン画面61aを示す図である。
画像合成装置1のCPU21は、入力部25を介して点63が指定(例えば、マウスのクリック操作)されると、メイン画面61aを表示部24に表示する。画像合成装置1のCPU21は、背景画像31から合成領域64を抽出して表示部24に表示する(ステップ1002)。
画像合成装置1のCPU21は、合成領域64に対して所定の変換処理を行う(ステップ1003)。所定の変換処理は、例えば、遠近変換、曲面変換、陰影処理である。遠近変換は、テクスチャ画像32の座標値を射影的正規化座標変換を行って背景画像31上の座標値に変換する処理である。曲面変換は、背景画像31が含む曲面領域の関数式を算出する処理である。
FIG. 8 shows the main screen 61a.
When the point 63 is designated (for example, a mouse click operation) via the input unit 25, the CPU 21 of the image composition device 1 displays the main screen 61a on the display unit 24. The CPU 21 of the image composition apparatus 1 extracts the composition area 64 from the background image 31 and displays it on the display unit 24 (step 1002).
The CPU 21 of the image composition apparatus 1 performs a predetermined conversion process on the composition area 64 (step 1003). The predetermined conversion processing is, for example, perspective conversion, curved surface conversion, or shadow processing. The perspective conversion is a process of converting the coordinate value of the texture image 32 into a coordinate value on the background image 31 by performing projective normalization coordinate conversion. The curved surface conversion is a process for calculating a functional expression of a curved surface area included in the background image 31.

表示画面61aには、テクスチャ画像一覧65が表示される。テクスチャ画像一覧65には、柄66、ファイル名67が表示される。柄66は、テクスチャ画像32の絵や模様等の柄を示す。ファイル名67は、テクスチャ画像32の画像データのファイル名である。   A texture image list 65 is displayed on the display screen 61a. A pattern 66 and a file name 67 are displayed in the texture image list 65. The pattern 66 indicates a pattern such as a picture or a pattern of the texture image 32. The file name 67 is the file name of the image data of the texture image 32.

図9は、一般画像合成におけるメイン画面61bを示す図である。
画像合成装置1のCPU21は、入力部25を介して項目70bが選択(例えば、マウスのダブルクリック操作)されると、項目70bが示す一般テクスチャ画像33を記憶部23から読み込む(ステップ1004)。
画像合成装置1のCPU21は、入力部25を介して設定サイズ68及び設定輝度69が入力されると、設定サイズ68のパラメータ値に基づいて、一般テクスチャ画像33のサイズ設定を行う(ステップ1005)。
FIG. 9 is a diagram showing a main screen 61b in general image composition.
When the item 70b is selected via the input unit 25 (for example, a mouse double click operation), the CPU 21 of the image composition device 1 reads the general texture image 33 indicated by the item 70b from the storage unit 23 (step 1004).
When the setting size 68 and the setting luminance 69 are input via the input unit 25, the CPU 21 of the image composition device 1 sets the size of the general texture image 33 based on the parameter value of the setting size 68 (step 1005). .

画像合成装置1のCPU21は、一般画像合成処理を開始する(ステップ1006)。
画像合成装置1のCPU21は、ステップ1003における合成領域64の変換処理と同様に、一般テクスチャ画像33の変換処理を行う(ステップ1007)。一般テクスチャ画像33の変換処理は、遠近変換及び曲面変換及び陰影処理である。
画像合成装置1のCPU21は、背景画像31の合成領域64に変換処理後のテクスチャ画像71bを貼り付けて画像合成を行う(ステップ1008)。
The CPU 21 of the image composition device 1 starts general image composition processing (step 1006).
The CPU 21 of the image composition device 1 performs the conversion process of the general texture image 33 in the same manner as the conversion process of the synthesis area 64 in Step 1003 (Step 1007). The conversion processing of the general texture image 33 is perspective conversion, curved surface conversion, and shadow processing.
The CPU 21 of the image composition apparatus 1 performs image composition by pasting the texture image 71b after the conversion process on the composition region 64 of the background image 31 (step 1008).

画像合成装置1のCPU21は、設定輝度69のパラメータ値に基づいて、一般合成画像の輝度調整を行う(ステップ1009)。
画像合成装置1のCPU21は、輝度調整後の一般合成画像72bを表示部24に表示する(ステップ1010)。
The CPU 21 of the image composition apparatus 1 adjusts the brightness of the general composite image based on the parameter value of the set brightness 69 (step 1009).
The CPU 21 of the image composition device 1 displays the general composite image 72b after the brightness adjustment on the display unit 24 (step 1010).

以上の過程を経て、画像合成装置は、背景画像を読み込み、背景画像に合成領域を設定し、合成領域に所定の変換処理を行う。画像合成装置は、一般テクスチャ画像を読み込む。画像合成装置は、合成領域と同様に一般テクスチャ画像に所定の変換処理を行う。画像合成装置は、背景画像の合成領域に変換処理後のテクスチャ画像を非透過的に重ねて画像合成を行う。画像合成装置は、一般合成画像の輝度調整を行って一般合成画像を表示する。
一般合成画像72bのテクスチャ画像71bの部分には、背景画像31の画像情報が一切反映されない。
Through the above process, the image composition device reads a background image, sets a composition area in the background image, and performs predetermined conversion processing on the composition area. The image composition device reads a general texture image. The image composition apparatus performs a predetermined conversion process on the general texture image in the same manner as the composition area. The image composition apparatus performs image composition by superimposing the texture image after the conversion process on the composition region of the background image in a non-transparent manner. The image composition device adjusts the luminance of the general composite image and displays the general composite image.
The image information of the background image 31 is not reflected at all in the texture image 71b portion of the general composite image 72b.

(5−2.透過画像合成)
図10は、透過画像合成における画像合成装置1の動作を示すフローチャートである。
ステップ2001〜ステップ2003の処理は、図6のステップ1001〜ステップ1003の処理と同様の処理である。
(5-2. Transmission image composition)
FIG. 10 is a flowchart showing the operation of the image composition apparatus 1 in the transparent image composition.
The processing in steps 2001 to 2003 is the same as the processing in steps 1001 to 1003 in FIG.

図11は、一般画像合成におけるメイン画面61cを示す図である。
画像合成装置1のCPU21は、入力部25を介して項目70cが選択(例えば、マウスのダブルクリック操作)されると、項目70cが示す透過テクスチャ画像34を記憶部23から読み込む(ステップ2004)。
FIG. 11 is a diagram showing a main screen 61c in general image composition.
When the item 70c is selected via the input unit 25 (for example, a mouse double-click operation), the CPU 21 of the image composition device 1 reads the transparent texture image 34 indicated by the item 70c from the storage unit 23 (step 2004).

図12は、色情報54と透過情報58の分離を示す図である。
画像合成装置1のCPU21は、透過テクスチャ画像34を色情報54と透過情報58とに分離する(ステップ2005)。
画像合成装置1のCPU21は、色情報54を用いて非透過テクスチャ画像35を作成する(ステップ2006)。非透過テクスチャ画像35は、一般テクスチャ画像33と同様のものであり、透過情報を有さない画像情報である。非透過テクスチャ画像35は、例えば、ビットマップ(BMP)形式の画像情報である。
FIG. 12 is a diagram illustrating the separation of the color information 54 and the transmission information 58.
The CPU 21 of the image composition device 1 separates the transparent texture image 34 into color information 54 and transparent information 58 (step 2005).
The CPU 21 of the image composition apparatus 1 creates the non-transparent texture image 35 using the color information 54 (step 2006). The non-transparent texture image 35 is the same as the general texture image 33, and is image information having no transmission information. The non-transparent texture image 35 is image information in a bitmap (BMP) format, for example.

画像合成装置1のCPU21は、入力部25を介して設定サイズ68及び設定輝度69が入力されると、設定サイズ68のパラメータ値に基づいて、非透過テクスチャ画像35のサイズ設定を行う(ステップ2007)。   When the setting size 68 and the setting luminance 69 are input via the input unit 25, the CPU 21 of the image composition device 1 sets the size of the non-transparent texture image 35 based on the parameter value of the setting size 68 (step 2007). ).

画像合成装置1のCPU21は、透過画像合成処理を開始する(ステップ2008)。
画像合成装置1のCPU21は、ステップ2003における合成領域64の変換処理と同様に、非透過テクスチャ画像35の変換処理を行う(ステップ2009)。非透過テクスチャ画像35の変換処理は、遠近変換及び曲面変換及び陰影処理である。尚、ステップ2009の処理は、図6のステップ1007の処理と同様の処理である。
画像合成装置1のCPU21は、ステップ2005の処理で透過テクスチャ画像34から分離した透過情報58の変換処理を行う(ステップ2010)。透過情報58の変換処理は、遠近変換及び曲面変換である。
画像合成装置1のCPU21は、変換処理後の非透過テクスチャ画像35及び透過情報58を用いて、背景画像31の合成領域64にテクスチャ画像71cを透過的に重ねて透過画像合成を行う(ステップ2011)。
The CPU 21 of the image composition device 1 starts the transparent image composition process (step 2008).
The CPU 21 of the image composition device 1 performs the conversion process of the non-transparent texture image 35 in the same manner as the conversion process of the synthesis region 64 in Step 2003 (Step 2009). The conversion processing of the non-transparent texture image 35 is perspective conversion, curved surface conversion, and shadow processing. Note that the processing in step 2009 is the same as the processing in step 1007 in FIG.
The CPU 21 of the image synthesizing apparatus 1 performs a conversion process of the transmission information 58 separated from the transmission texture image 34 in the process of step 2005 (step 2010). The conversion processing of the transmission information 58 is perspective conversion and curved surface conversion.
The CPU 21 of the image synthesizing apparatus 1 uses the non-transparent texture image 35 and the transmission information 58 after the conversion process to perform transparent image synthesis by transparently superposing the texture image 71c on the synthesis region 64 of the background image 31 (step 2011). ).

画像合成装置1のCPU21は、設定輝度69のパラメータ値に基づいて、透過合成画像の輝度調整を行う(ステップ2012)。
画像合成装置1のCPU21は、輝度調整後の透過合成画像72cを表示部24に表示する(ステップ2013)。
The CPU 21 of the image composition device 1 adjusts the brightness of the transparent composite image based on the parameter value of the set brightness 69 (step 2012).
The CPU 21 of the image composition device 1 displays the transmission composition image 72c after the brightness adjustment on the display unit 24 (step 2013).

以上の過程を経て、画像合成装置は、背景画像を読み込み、背景画像に合成領域を設定し、合成領域に所定の変換処理を行う。画像合成装置は、透過テクスチャ画像を読み込む。画像合成装置は、透過テクスチャ画像を色情報と透過情報とに分離し、色情報から非透過テクスチャ画像を作成する。画像合成装置は、非透過テクスチャ画像及び透過情報に所定の変換処理を行う。画像合成装置は、背景画像の合成領域に変換処理後の非透過テクスチャ画像及び透過情報を用いて、テクスチャ画像を透過的に重ねて透過画像合成を行う。画像合成装置は、透過合成画像の輝度調整を行って透過合成画像を表示する。
透過合成画像72cのテクスチャ画像71cの部分には、背景画像31の画像情報73が反映される。
Through the above process, the image composition device reads a background image, sets a composition area in the background image, and performs predetermined conversion processing on the composition area. The image composition device reads a transparent texture image. The image synthesis device separates the transparent texture image into color information and transparent information, and creates a non-transparent texture image from the color information. The image composition apparatus performs a predetermined conversion process on the non-transparent texture image and the transmission information. The image composition device performs transparent image composition by transparently superimposing texture images using the non-transparent texture image and the transmission information after the conversion process in the composition region of the background image. The image composition device adjusts the brightness of the transmission composite image and displays the transmission composite image.
The image information 73 of the background image 31 is reflected in the portion of the texture image 71c of the transparent composite image 72c.

(6.効果)
以上説明したように、本発明の実施の形態によれば、画像合成装置は、透過テクスチャ画像が選択されると、色情報と透過情報とに分離する。画像合成装置は、色情報から作成した非透過テクスチャ画像と透過情報に対してそれぞれ変換処理を行い、背景画像の合成領域に透過的にテクスチャ画像を合成する。
このように、画像合成装置は、透過テクスチャ画像の透過情報を分離して変換処理を行い、背景画像の合成領域に透過的にテクスチャ画像を合成するので、透過画像合成に係る作業負荷を軽減することができる。高度な操作技術や経験がなくとも透過画像合成を行うことができる。
(6. Effect)
As described above, according to the embodiment of the present invention, when a transparent texture image is selected, the image composition device separates color information and transparent information. The image composition device performs a conversion process on the non-transparent texture image and the transmission information created from the color information, respectively, and synthesizes the texture image transparently in the composition region of the background image.
In this way, the image composition apparatus performs the conversion process by separating the transmission information of the transparent texture image, and synthesizes the texture image transparently in the synthesis area of the background image, thus reducing the work load related to the transparent image synthesis. be able to. Transmission image synthesis can be performed without advanced operation techniques and experience.

(7.変形例) (7. Modifications)

図13は、本発明の他の実施の形態に係る画像合成システム100の構成図である。
上述の実施の形態では、画像合成装置は、単体のスタンドアロン構成の装置であるものとして説明したが、端末装置からネットワーク経由で画像合成装置の機能を利用するようにしてもよい。
FIG. 13 is a configuration diagram of an image composition system 100 according to another embodiment of the present invention.
In the above-described embodiment, the image synthesizing apparatus is described as a single stand-alone apparatus. However, the function of the image synthesizing apparatus may be used from a terminal device via a network.

画像合成システム100は、画像合成装置101及び端末装置102がネットワーク103を介して接続されて構成される。通常、複数の端末装置102がネットワーク103に接続される。
画像合成装置101〜端末装置102間では、ネットワーク103を介して相互に通信可能である。
The image composition system 100 is configured by connecting an image composition device 101 and a terminal device 102 via a network 103. Usually, a plurality of terminal devices 102 are connected to the network 103.
The image composition apparatus 101 to the terminal apparatus 102 can communicate with each other via the network 103.

画像処理装置101は、上述の実施の形態における画像合成装置1と同様のものである。
端末装置102は、ネットワーク103を介して画像合成装置101と各種データの授受を行う装置であり、例えば、パーソナルコンピュータ、情報携帯端末、携帯電話等である。
ネットワーク103は、インターネット等のネットワークであり、有線、無線を問わない。
The image processing apparatus 101 is the same as the image composition apparatus 1 in the above-described embodiment.
The terminal device 102 is a device that exchanges various data with the image composition device 101 via the network 103, and is, for example, a personal computer, an information portable terminal, a cellular phone, or the like.
The network 103 is a network such as the Internet, and may be wired or wireless.

画像合成システム100では、ネットワーク103を介して端末装置102から背景画像やテクスチャ画像の選択を行い、画像合成装置101が合成した合成画像を端末装置102に表示させる。
例えば、画像合成システム100は、WWW(World Wide Web)技術を用いて実現される。画像合成装置101は、Webサーバを搭載する。端末装置102はWebブラウザを搭載する。画像合成装置101と端末装置102とは、それぞれ、Webサーバ及びWebブラウザを介してデータの送受信を行う。
In the image composition system 100, a background image and a texture image are selected from the terminal device 102 via the network 103, and the composite image synthesized by the image composition device 101 is displayed on the terminal device 102.
For example, the image composition system 100 is realized by using WWW (World Wide Web) technology. The image composition device 101 is equipped with a Web server. The terminal device 102 is equipped with a Web browser. The image composition apparatus 101 and the terminal apparatus 102 transmit and receive data via a web server and a web browser, respectively.

これにより、画像合成システム100の利用者(端末装置102の操作者)は、画像合成装置101が設置されている店舗等に出向くことなく、端末装置102上で合成画像をみることができる。また、画像処理システム100は、同時かつ複数の利用者に対応可能であるので、短時間でより多くのシステム利用者に対して効率的に購買意欲の促進を図ることができ、さらに、設備導入に係る負担も軽減することができる。   As a result, the user of the image composition system 100 (the operator of the terminal device 102) can view the composite image on the terminal device 102 without going to a store or the like where the image composition device 101 is installed. In addition, since the image processing system 100 can handle a plurality of users at the same time, it is possible to efficiently promote purchase willingness for a larger number of system users in a short time. Can also reduce the burden.

以上、添付図面を参照しながら、本発明に係る画像合成装置の好適な実施形態について説明したが、本発明はかかる例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例又は修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the image composition apparatus according to the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to such examples. It will be apparent to those skilled in the art that various changes or modifications can be conceived within the scope of the technical idea disclosed in the present application, and these naturally belong to the technical scope of the present invention. Understood.

画像合成装置1の構成図Configuration diagram of image composition apparatus 1 画像合成装置1のハードウェア構成図Hardware configuration diagram of the image composition apparatus 1 画像合成装置1の記憶部23が保持する情報を示す図The figure which shows the information which the memory | storage part 23 of the image composition apparatus 1 hold | maintains 一般テクスチャ画像33の画素データを示す図The figure which shows the pixel data of the general texture image 33 透過テクスチャ画像34の画素データを示す図The figure which shows the pixel data of the transparent texture image 34 一般画像合成における画像合成装置1の動作を示すフローチャートA flowchart showing the operation of the image composition device 1 in general image composition メイン画面61を示す図The figure which shows the main screen 61 メイン画面61aを示す図The figure which shows the main screen 61a 一般画像合成におけるメイン画面61bを示す図The figure which shows the main screen 61b in a general image composition 透過画像合成における画像合成装置1の動作を示すフローチャートFlowchart showing the operation of the image composition device 1 in transparent image composition 一般画像合成におけるメイン画面61cを示す図The figure which shows the main screen 61c in a general image composition 色情報54と透過情報58の分離を示す図The figure which shows separation of the color information 54 and the transmission information 58 画像合成システム100の構成図Configuration diagram of image composition system 100

符号の説明Explanation of symbols

1………画像合成装置
11………背景画像読込手段
12………合成領域設定変換手段
13………テクスチャ画像読込手段
14………透過情報分離手段
15………画像合成手段
16………合成画像表示手段
21………CPU
23………記憶部
24………表示部
25………入力部
31………背景画像
32………テクスチャ画像
33………一般テクスチャ画像
34………透過テクスチャ画像
54………色情報
58………透過情報
61、61a、61b、61c………メイン画面
64………合成領域
65………テクスチャ画像一覧
66………柄
67………ファイル名
70b………項目(一般テクスチャ画像)
71b………テクスチャ画像(一般画像合成時)
72b………一般合成画像
70c………項目(透過テクスチャ画像)
71c………テクスチャ画像(透過画像合成時)
72c………透過合成画像
73………背景画像の画像情報
100………画像合成システム
101………画像合成装置
102………端末装置
103………ネットワーク
DESCRIPTION OF SYMBOLS 1 ......... Image composition apparatus 11 ......... Background image reading means 12 ......... Composition area setting conversion means 13 ......... Texture image reading means 14 ......... Transparent information separation means 15 ......... Image composition means 16 ... ... Composite image display means 21 ... ... CPU
23 ......... Storage unit 24 ......... Display unit 25 ......... Input unit 31 ......... Background image 32 ......... Texture image 33 ......... General texture image 34 ......... Transparent texture image 54 ......... Color information 58 ......... Transparent information 61, 61a, 61b, 61c ......... Main screen 64 ......... Composite area 65 ...... Texture image list 66 ......... Pattern 67 ......... File name 70b ......... Item (general texture) image)
71b ... Texture image (when composing a general image)
72b .... General composite image 70c ......... Item (transparent texture image)
71c ......... Texture image (when transparent image is synthesized)
72c ......... Transparent composite image 73 ......... Image information of background image 100 ......... Image composition system 101 ......... Image composition device 102 ......... Terminal device 103 ......... Network

Claims (7)

背景画像と透過テクスチャ画像とを保持する保持手段と、
前記背景画像を選択して読み込む背景画像読込手段と、
前記背景画像に合成領域を設定して所定の変換処理を行う合成領域設定変換手段と、
前記透過テクスチャ画像を選択して読み込む透過テクスチャ画像読込手段と、
前記透過テクスチャ画像から透過情報と色情報とを分離する透過情報分離手段と、
前記透過情報と前記色情報とに対してそれぞれ所定の変換処理を行い、前記背景画像の合成領域に透過画像合成する透過画像合成手段と、
前記透過画像合成の結果である透過合成画像を表示する透過合成画像表示手段と、
を具備することを特徴とする画像合成装置。
Holding means for holding a background image and a transparent texture image;
Background image reading means for selecting and reading the background image;
A synthesis area setting conversion means for performing a predetermined conversion process by setting a synthesis area in the background image;
A transparent texture image reading means for selecting and reading the transparent texture image;
Transmission information separating means for separating transmission information and color information from the transmission texture image;
A transmission image combining means for performing predetermined conversion processing on the transmission information and the color information, respectively, and combining the background image with a transmission image;
A transparent composite image display means for displaying a transparent composite image as a result of the transparent image combination;
An image composition apparatus comprising:
前記透過画像合成手段は、前記透過情報に対して遠近変換または曲面変換の少なくともいずれかを行うことを特徴とする請求項1に記載の画像合成装置。   The image synthesizer according to claim 1, wherein the transmissive image synthesizing unit performs at least one of perspective transformation and curved surface transformation on the transmissive information. 前記透過画像合成手段は、前記色情報から作成される非透過テクスチャ画像に対して遠近変換または曲面変換または陰影処理の少なくともいずれかを行うことを特徴とする請求項1または請求項2に記載の画像合成装置。   The said transparent image synthetic | combination means performs at least any one of perspective transformation, curved surface transformation, or a shadow process with respect to the non-transparent texture image produced from the said color information, The Claim 1 or Claim 2 characterized by the above-mentioned. Image composition device. 前記透過テクスチャ画像は、前記色情報を示すR成分及びB成分及びG成分と、前記透過情報を示すαチャンネル成分と、を含む画像データであることを特徴する請求項1から請求項3までのいずれかに記載の画像合成装置。   The transmission texture image is image data including an R component, a B component, and a G component that indicate the color information, and an α channel component that indicates the transmission information. The image composition device according to any one of the above. 前記透過テクスチャ画像は、PNG形式あるいはTIFF形式の画像データであることを特徴とする請求項1から請求項4までのいずれかに記載の画像合成装置。   The image synthesizer according to any one of claims 1 to 4, wherein the transparent texture image is image data in PNG format or TIFF format. コンピュータを請求項1から請求項5までのいずれかに記載の画像合成装置として機能させるプログラム。   A program for causing a computer to function as the image composition device according to any one of claims 1 to 5. コンピュータを請求項1から請求項5までのいずれかに記載の画像合成装置として機能させるプログラムを記録したコンピュータ読取可能な記録媒体。   A computer-readable recording medium on which a program for causing a computer to function as the image composition device according to any one of claims 1 to 5 is recorded.
JP2006226149A 2006-08-23 2006-08-23 Image composition apparatus, program and recording medium Pending JP2008052398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006226149A JP2008052398A (en) 2006-08-23 2006-08-23 Image composition apparatus, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006226149A JP2008052398A (en) 2006-08-23 2006-08-23 Image composition apparatus, program and recording medium

Publications (1)

Publication Number Publication Date
JP2008052398A true JP2008052398A (en) 2008-03-06

Family

ID=39236416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006226149A Pending JP2008052398A (en) 2006-08-23 2006-08-23 Image composition apparatus, program and recording medium

Country Status (1)

Country Link
JP (1) JP2008052398A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301758A (en) * 2004-04-13 2005-10-27 Sony Computer Entertainment Inc Image generator and image generation method
JP2005301414A (en) * 2004-04-07 2005-10-27 Sony Computer Entertainment Inc Image generating device and image generating method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301414A (en) * 2004-04-07 2005-10-27 Sony Computer Entertainment Inc Image generating device and image generating method
JP2005301758A (en) * 2004-04-13 2005-10-27 Sony Computer Entertainment Inc Image generator and image generation method

Similar Documents

Publication Publication Date Title
US7800636B2 (en) Magnification engine
US7483042B1 (en) Video graphics module capable of blending multiple image layers
US10733963B2 (en) Information processing apparatus and image processing method
JP2014513831A (en) Gesture visualization and sharing between electronic device and remote display
US20080284793A1 (en) Hue and saturation control module
US7050065B1 (en) Minimalist color space converters for optimizing image processing operations
US20150138217A1 (en) Display system
US20080030478A1 (en) Digital photo frame
US20080018964A1 (en) Apparatus and method for processing, storing and displaying digital images
JP2005077522A (en) Image processor and image processing method
JP2007041109A (en) Display control device and display control method
JP2008052398A (en) Image composition apparatus, program and recording medium
JP2009192670A (en) Information processor, image display method, and program
JP2017097120A (en) Display controller, multi-display system, and display method of multi-display system
JP2002312807A (en) Image display device for game machine
JP2008052397A (en) Image composition apparatus, program and recording medium
JP2002373044A (en) Icon preparing device
JPH11232438A (en) Information processor and information recording medium
JP4732142B2 (en) Image processing method, program, and image processing apparatus
JP6476985B2 (en) Display device, display system, and program
JP2010123067A (en) Display controller and display control program
JP3642952B2 (en) Image composition method and apparatus, and information processing system
JP2007292857A (en) Image processor and image processing method
JP2007140682A (en) Data preparation device for display unit
JP2008060624A (en) Image composition device, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110325

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110517