JPH10320576A - Picture processor and its program recording medium - Google Patents

Picture processor and its program recording medium

Info

Publication number
JPH10320576A
JPH10320576A JP9139197A JP13919797A JPH10320576A JP H10320576 A JPH10320576 A JP H10320576A JP 9139197 A JP9139197 A JP 9139197A JP 13919797 A JP13919797 A JP 13919797A JP H10320576 A JPH10320576 A JP H10320576A
Authority
JP
Japan
Prior art keywords
image
color
background image
background
paste
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.)
Granted
Application number
JP9139197A
Other languages
Japanese (ja)
Other versions
JP3793864B2 (en
Inventor
Atsurou Tsuho
敦郎 津保
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP13919797A priority Critical patent/JP3793864B2/en
Publication of JPH10320576A publication Critical patent/JPH10320576A/en
Application granted granted Critical
Publication of JP3793864B2 publication Critical patent/JP3793864B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically select a picture appropriate to the color of a background picture, and to compositingly output it in pasting on a color background picture other color picture. SOLUTION: A CPU 1 judges the color of a background picture, a paste picture color decision table 2-2 is referred to on the basis of this color, and a paste picture color to be pasted on the background picture is decided. On the basis of the paste picture color thus decided, a picture color division table 2-3 is referred to and a paste picture corresponding to that color is selected from an illustration picture memory 2-1, is pasted on a specified position on the background picture and is compositingly outputted.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、背景画像の所定
位置に画像を貼り付ける画像処理装置およびそのプログ
ラム記録媒体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus for pasting an image at a predetermined position of a background image and a program recording medium therefor.

【0002】[0002]

【従来の技術】従来、ワードプロセッサやパーソナルコ
ンピュータ等において、カラー画像を印刷出力したり、
表示出力する際に、彩色された背景画像の上に、他のカ
ラー画像を重ね合せて貼り付けるようにしているが、こ
の場合、背景画像の色合いと貼り付け画像との色合いと
の関係から、背景画像に対して貼り付け画像が浮き上が
って見えたり、逆に背景画像に埋もれて見えることがあ
る。このような場合、背景画像の色合いを考慮して貼り
付け画像を選ぶようにしている。
2. Description of the Related Art Conventionally, in a word processor, a personal computer, or the like, a color image is printed out,
At the time of display output, another color image is superimposed and pasted on the colored background image, but in this case, from the relationship between the color of the background image and the color of the pasted image, In some cases, the pasted image appears to be raised relative to the background image, or conversely, appears to be buried in the background image. In such a case, the pasted image is selected in consideration of the hue of the background image.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、多数の
画像の中から背景画像の色合いを考慮した画像を選ぶこ
とは、極めて煩雑な操作を必要とすると共に、必ずしも
適切な画像を選ぶことができるとは限らなかった。この
発明の課題は、カラーの背景画像に他のカラー画像を貼
り付ける場合に、背景画像の色合いに適した画像を自動
的に選択して合成出力できるようにすることである。
However, selecting an image in consideration of the hue of the background image from a large number of images requires an extremely complicated operation and can always select an appropriate image. Was not limited. SUMMARY OF THE INVENTION It is an object of the present invention to automatically select an image suitable for the hue of a background image and to perform composite output when another color image is pasted on a color background image.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。請求項1記載の発明は、背景画像に貼り付け
られる画像候補として色合いが異なる各種の画像データ
を記憶する画像記憶手段と、背景画像の色合いを判別す
る判別手段と、この判別手段によって判別された色合い
に応じた画像データを前記画像記憶手段から検索する検
索手段と、この検索手段によって検索された画像データ
を背景画像の所定位置に貼り付ける画像合成手段とを具
備するものである。なお、背景画像に貼り付けられる画
像の色合いを背景画像に対して同系色とするか補色とす
るかを指定する指定手段を設け、前記検索手段は、前記
判別手段によって判別された背景画像の色合いと、前記
指定手段によって指定された同系色か補色かに基づいて
該当する色合いの画像データを前記画像記憶手段から検
索するようにしてもよい。また、前記画像記憶手段内の
各画像データを複数の領域に分割した各分割領域毎にそ
の色合いを記憶する色合い記憶手段と、背景画像の中の
任意の領域が画像貼り付け領域として指定された際に、
この指定領域を前記複数の領域に分割する分割手段とを
有し、前記判別手段は、背景画像の色合いを前記分割手
段によって分割された分割領域毎に判別し、前記検索手
段は、前記判別手段によって分割領域毎に判別された背
景画像の各色合いに基づいて前記色合い記憶手段を参照
し、該当する画像データを前記画像記憶手段から検索す
るようにしてもよい。。更に、背景画像の中の任意の領
域が画像貼り付け領域として指定されている場合に、前
記判別手段は指定領域の外側近傍で使用量の多い色合い
を背景画像色合いと判別するようにしてもよい。
The means of the present invention are as follows. According to the first aspect of the present invention, an image storage unit that stores various image data having different colors as image candidates to be pasted on a background image, a determination unit that determines the color of the background image, and the determination unit determines the color. The image processing apparatus includes a search means for searching the image storage means for image data corresponding to a color tone, and an image synthesizing means for pasting the image data searched by the search means to a predetermined position of a background image. It is to be noted that a designating means for designating whether the color of the image to be pasted on the background image is a similar color or a complementary color to the background image is provided. The image data of the corresponding hue may be retrieved from the image storage unit based on the similar color or the complementary color designated by the designation unit. Further, a color storage means for storing the color for each divided area obtained by dividing each image data in the image storage means into a plurality of areas, and an arbitrary area in the background image is designated as an image pasting area. At that time,
Dividing means for dividing the designated area into the plurality of areas, wherein the determining means determines the hue of the background image for each of the divided areas divided by the dividing means; The color storage means may be referred to based on each color of the background image determined for each divided area, and the corresponding image data may be retrieved from the image storage means. . Further, when an arbitrary area in the background image is designated as the image pasting area, the determination means may determine a color with a large amount of use near the outside of the specified area as the background image color. .

【0005】請求項1記載の発明においては、背景画像
の色合いを判別し、この色合いに応じた画像データを画
像記憶手段から検索し、検索された画像データを背景画
像の所定位置に貼り付けて合成出力する。したがって、
カラーの背景画像に他のカラー画像を貼り付ける場合
に、背景画像の色合いに適した画像を自動的に選択して
合成出力することができる。
According to the first aspect of the present invention, the hue of the background image is determined, image data corresponding to the hue is retrieved from the image storage means, and the retrieved image data is pasted at a predetermined position of the background image. Output composite. Therefore,
When pasting another color image to a color background image, an image suitable for the hue of the background image can be automatically selected and synthesized and output.

【0006】[0006]

【発明の実施の形態】以下、図1〜図7を参照してこの
発明の一実施形態を説明する。図1(A)は画像処理装
置の全体構成を示したブロック図である。CPU1はR
AM2内にロードされている各種プログラムにしたがっ
てこの画像処理装置の全体動作を制御する中央演算処理
装置である。記憶装置3はオペレーティングシステムや
各種アプリケーションプログラム、データファイル、文
字フォントデータ等が予め格納されている記憶媒体4や
その駆動系を有している。この記憶媒体4は固定的に設
けたもの、もしくは着脱自在に装着可能なものであり、
フロッピーディスク、ハードディスク、光ディスク、R
AMカード等の磁気的・光学的記憶媒体、半導体メモリ
によって構成されている。また、記憶媒体4内のプログ
ラムやデータは、必要に応じてCPU1の制御により、
RAM2にロードされる。更に、CPU1は通信回線等
を介して他の機器側から送信されて来たプログラム、デ
ータを受信して記憶媒体4に格納したり、他の機器側に
設けられている記憶媒体に格納されているプログラム、
データを通信回線等を介して使用することもできる。そ
して、CPU1にはその入出力周辺デバイスである入力
装置5、表示装置6、印刷装置7がバスラインを介して
接続されており、入出力プログラムにしたがってCPU
1はそれらの動作を制御する。入力装置5は文字列デー
タを入力したり、背景画像を選択したり、各種コマンド
を入力するキーボードの他、マウス等のポインティング
デバイスを有している。表示装置6は多色表示を行う液
晶表示装置やCRT表示装置あるいはプラズマ表示装置
等であり、また印刷装置7はフルカラープリンタ装置
で、熱転写やインクジェットなどのノンインパクトプリ
ンタあるいはインパクトプリンタである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1A is a block diagram showing the overall configuration of the image processing apparatus. CPU1 is R
A central processing unit that controls the overall operation of the image processing apparatus according to various programs loaded in the AM2. The storage device 3 includes a storage medium 4 in which an operating system, various application programs, data files, character font data, and the like are stored in advance, and a drive system thereof. The storage medium 4 is provided fixedly or can be detachably mounted.
Floppy disk, hard disk, optical disk, R
It is composed of a magnetic / optical storage medium such as an AM card and a semiconductor memory. The programs and data in the storage medium 4 are controlled by the CPU 1 as needed.
Loaded to RAM2. Further, the CPU 1 receives programs and data transmitted from other devices via a communication line or the like and stores them in the storage medium 4 or stored in a storage medium provided in other devices. Programs,
Data can be used via a communication line or the like. The input device 5, display device 6, and printing device 7, which are input / output peripheral devices, are connected to the CPU 1 via a bus line.
1 controls their operation. The input device 5 has a keyboard for inputting character string data, selecting a background image, and inputting various commands, and a pointing device such as a mouse. The display device 6 is a liquid crystal display device, a CRT display device, a plasma display device, or the like that performs multicolor display, and the printing device 7 is a full-color printer device, such as a non-impact printer such as thermal transfer or ink jet, or an impact printer.

【0007】図1(B)はRAM2の主要構成を示した
図で、RAM2には各種のメモリ領域が割り当てられて
いる。イラスト画像メモリ2−1は予め設定されている
各種のイラストカラー画像を記憶するもので、入力装置
5から任意のイラスト画像が背景画像として選択される
と、CPU1は選択指定されたイラスト画像をイラスト
画像メモリ2−1から呼び出して背景画像として表示出
力させる。この背景画像に重ね合せられる貼り付け画像
(ペースト画像)は、背景画像の色合いに応じてイラス
ト画像メモリ2−1から自動選択されて呼び出され、背
景画像の指定領域に貼り付けられる。ペースト画像色決
定テーブル2−2は背景画像の色合いに応じてペースト
画像の色を決定するためのテーブル構成となっており、
図2はこのペースト画像色決定テーブル2−2の内容を
示している。すなわちペースト画像色決定テーブル2−
2は背景画像に対して同系色の色合いを持ったペースト
画像を貼り付けるか、背景画像に対して補色の関係色に
ある色合いを持ったペースト画像を貼り付けるかに応じ
て同系色、補色別に背景画像色コードとペースト画像色
コードとを対応付けて記憶する構成となっている。例え
ば同系色においては、背景画像色コードである黄系統色
コード「1〜25」に対応してペースト画像色コードに
は「黄」を示す色コード「25」が記憶され、また補色
においては背景画像色コード(黄系統色コード1〜2
5)に対応してペースト画像色コードには「紫」を示す
色コード「63」が記憶されている。
FIG. 1B is a diagram showing a main configuration of the RAM 2, in which various memory areas are allocated. The illustration image memory 2-1 stores various illustration color images set in advance. When an arbitrary illustration image is selected as a background image from the input device 5, the CPU 1 displays the selected illustration image as an illustration. It is called from the image memory 2-1 and displayed and output as a background image. The paste image (paste image) to be superimposed on the background image is automatically selected and called from the illustration image memory 2-1 according to the hue of the background image, and is pasted in a designated area of the background image. The paste image color determination table 2-2 has a table configuration for determining the color of the paste image according to the hue of the background image.
FIG. 2 shows the contents of the paste image color determination table 2-2. That is, paste image color determination table 2-
2 is for a similar color or a complementary color depending on whether a paste image having a similar color tone is pasted to the background image or a paste image having a complementary color to the background image is pasted to the background image. The background image color code and the paste image color code are stored in association with each other. For example, in a similar color, a paste image color code stores a color code "25" indicating "yellow" corresponding to a yellow system color code "1 to 25" which is a background image color code. Image color code (yellow color code 1-2)
In correspondence with 5), a color code “63” indicating “purple” is stored in the paste image color code.

【0008】画像色分割テーブル2−3は背景画像に貼
り付けられるペースト画像候補としてペースト画像色決
定テーブル2−2内に格納されている各種のイラスト画
像毎に、その色合いを領域毎に分割して記憶する構成と
なっている。ここで、図3(A)は画像色分割テーブル
2−3の構成を示している。すなわち、ペースト画像候
補となるイラスト画像を図3(B)に示すように4分割
したものとすると、各分割領域毎にその使用量が多い色
合いが予め画像色分割テーブル2−3に記憶されてい
る。この場合、図中(ア)、(イ)、(ウ)、(エ)は
各分割領域を示し、各イラスト画像(1)、(2)……
毎に各分割領域(ア)、(イ)、(ウ)、(エ)に対応
してその使用量に応じた色コードが記憶されている。な
お、文書メモリ2−4は文書データを記憶するテキスト
メモリで、文書中にイラスト画像を差し込む場合にはそ
のイラスト画像を呼び出すための画像コードが文書メモ
リ2−4に記憶される。ワークメモリ2−5はプログラ
ムやデータを一時記憶するワーク域である。
The image color division table 2-3 divides the color of each illustration image stored in the paste image color determination table 2-2 as a paste image candidate to be pasted on the background image into regions. Is stored. Here, FIG. 3A shows the configuration of the image color division table 2-3. That is, assuming that the illustration image that is a paste image candidate is divided into four parts as shown in FIG. 3B, the shades that are used in large amounts in each divided area are stored in advance in the image color division table 2-3. I have. In this case, (a), (b), (c), and (d) in the figure indicate each divided area, and each of the illustration images (1), (2),.
For each of the divided areas (a), (b), (c), and (d), a color code corresponding to the used amount is stored. The document memory 2-4 is a text memory for storing document data. When an illustration image is inserted into a document, an image code for calling the illustration image is stored in the document memory 2-4. The work memory 2-5 is a work area for temporarily storing programs and data.

【0009】次に、画像処理装置の動作を図4〜図6に
示すフローチャートにしたがって説明する。ここで、こ
れらのフローチャートに記述されている各機能を実現す
るためのプログラムは、CPU1が読み取り可能なプロ
グラムコードの形態で記憶媒体4に記憶されており、そ
の内容がRAM2内のワークメモリ2−5にロードされ
ている。図4はこの画像処理装置の全体動作を示したフ
ローチャートで、電源投入に伴って実行開始される。先
ず、入力装置5からのキー入力待ち状態において、キー
入力が行われると、キー入力解析を行う(ステップA
1)。ここで、背景画像にイラスト画像をペースト画像
として貼り付ける場合において、必要に応じて背景画像
とペースト画像との色関係を指定しておく。すなわち、
背景画像に対してペースト画像の色合いを同系色とする
か、補色とするかの色指定をキー入力すると、ステップ
A3に進み、指定された色関係がワークメモリ2−5に
一時記憶される。次に、背景画像とペースト画像とを重
ね合せた複合画像の作成が指示されると、ステップA2
に進み、貼り合せ位置の指定可能状態となる。ここで、
背景画像に他の画像を貼り付けるための領域(矩形枠)
を対角2点によって指定すると、その領域座標はワーク
メモリ2−5にセットされる。このようにして背景画像
とペースト画像との色関係を指定すると共に、ペースト
画像の貼り合せ位置を指定すると、色関係として同系色
が指定されたか(ステップA5)、補色が指定されたか
を調べる(ステップA6)。いま、同系色が指定された
場合には、同系色のペースト画像を選択指定して出力す
る処理に移る(ステップA7)。
Next, the operation of the image processing apparatus will be described with reference to the flowcharts shown in FIGS. Here, a program for realizing each function described in these flowcharts is stored in a storage medium 4 in the form of a program code readable by the CPU 1, and its contents are stored in a work memory 2-2 in a RAM 2. 5 is loaded. FIG. 4 is a flowchart showing the overall operation of the image processing apparatus, which is started when the power is turned on. First, in a state of waiting for a key input from the input device 5, when a key input is performed, a key input analysis is performed (step A).
1). Here, when the illustration image is pasted on the background image as a paste image, the color relationship between the background image and the paste image is specified as necessary. That is,
When a color designation of whether the color of the paste image is set to a similar color or a complementary color with respect to the background image is input by a key, the process proceeds to step A3, and the designated color relationship is temporarily stored in the work memory 2-5. Next, when an instruction to create a composite image in which the background image and the paste image are superimposed is given, step A2
And the state where the bonding position can be specified is set. here,
Area for pasting other images to the background image (rectangular frame)
Is designated by two diagonal points, the area coordinates are set in the work memory 2-5. When the color relationship between the background image and the paste image is designated in this way and the paste position of the paste image is designated, it is checked whether a similar color is designated as the color relationship (step A5) or a complementary color is designated (step A5). Step A6). If a similar color is specified, the process proceeds to a process of selecting and specifying a paste image of the similar color and outputting (step A7).

【0010】図5はこの同系色指定処理を示したフロー
チャートで、先ず、背景画像の中に指定された貼り付け
領域を4分割する処理が行われる(ステップB1)、例
えば、図7(A)に示すように「紫陽花」を示す背景画
像の左右にペースト画像をそれぞれ貼り付けるために、
その貼り付け領域が指定されると、指定された各貼り付
け領域はそれぞれ4分割される。そして、各分割領域毎
にその外側近傍における背景画像の色合いを分析する処
理が行われる(ステップB2)。すなわち、図7(B)
において、背景画像の左側の貼り付け領域は、、
、の領域に4分割され、また右側の貼り付け領域は
、、、の領域に4分割され、各分割領域の外側
近傍(図中斜線部分)の色合いを分析し、使用量の多い
色調を各分割領域における背景画像の色合いとして決定
する。これによって決定された各分割領域毎にその色合
いに基づいてペースト画像色決定テーブル2−2内の同
系色に対応する背景画像色コードを参照し、背景画像の
色が赤系統の色(色コード26〜50)であれば、ペー
スト画像色は赤色(色コード50)として決定され、ま
た青系統の色(色コード51〜75)であれば、ペース
ト画像色は青色(色コード75)として決定される。
FIG. 5 is a flowchart showing the similar color designation process. First, a process for dividing a designated pasting region into four in a background image is performed (step B1). For example, FIG. 7A To paste the paste images on the left and right of the background image showing "hydrangea" as shown in
When the paste area is designated, each designated paste area is divided into four. Then, for each divided region, a process of analyzing the hue of the background image near the outside is performed (step B2). That is, FIG.
In, the paste area on the left side of the background image is
Is divided into four areas, and the pasting area on the right side is divided into four areas, and the hue near the outside of each divided area (shaded area in the figure) is analyzed. It is determined as the hue of the background image in the divided area. The background image color code corresponding to the similar color in the paste image color determination table 2-2 is referred to based on the hue of each divided area determined in this manner, and the color of the background image is set to a red-based color (color code 26 to 50), the paste image color is determined as red (color code 50), and if it is a blue-based color (color code 51 to 75), the paste image color is determined as blue (color code 75). Is done.

【0011】これによって図7(B)に示す左側の貼り
付け領域において、その各分割領域、、、毎に
その色合いと同系色の関係にあるペースト画像色がそれ
ぞれ決定され、この4つのペースト画像色に基づいて画
像色分割テーブル2−3を検索し、各領域(ア)、
(イ)、(ウ)、(エ)の各色合いに最も近似したイラ
スト画像をペースト画像として選択する(ステップB
4)。また、図7(B)に示す右側の貼り付け領域にお
いても同様であり、その各分割領域、、、毎に
決定された4つのペースト画像色に基づいて画像色分割
テーブル2−3を検索し、各領域(ア)、(イ)、
(ウ)、(エ)の色合いに最も近似したイラスト画像が
ペースト画像として選択される。このようにして選択さ
れた各画像の画像コードに基づいてイラスト画像メモリ
2−1を検索し、対応するイラスト画像をペースト画像
として呼び出し、背景画像の貼り付け領域内に重ね合せ
て合成表示する(ステップB5)。この場合、ペースト
画像は貼り付け領域の大きさに拡大/縮小されて合成表
示される。また、ペースト画像として選択される画像は
例えば、上述したように背景画像が花を表現するもので
あれば、花のイラスト画像のように、背景画像に関連す
るイラスト画像がペースト画像として選択される。この
場合、背景画像をペースト画像候補とを予め対応付けて
おけばよい。
As a result, in the pasting area on the left side shown in FIG. 7B, a paste image color having a similar color to the shade is determined for each of the divided areas, and the four paste images are determined. The image color division table 2-3 is searched based on the color, and each area (A),
An illustration image that is the closest to each of the shades (a), (c), and (d) is selected as a paste image (step B).
4). The same applies to the pasting area on the right side shown in FIG. 7B, and the image color division table 2-3 is searched based on the divided areas and the four paste image colors determined for each. , Each area (A), (B),
The illustration image closest to the shades of (c) and (d) is selected as the paste image. The illustration image memory 2-1 is searched based on the image code of each image selected in this way, the corresponding illustration image is called as a paste image, and is superimposed and displayed in the background image pasting area ( Step B5). In this case, the paste image is enlarged / reduced to the size of the paste area and displayed in a synthesized manner. If the image selected as the paste image is, for example, a background image expressing a flower as described above, an illustration image related to the background image is selected as the paste image, such as a flower illustration image. . In this case, the background image may be associated with the paste image candidate in advance.

【0012】一方、図4のステップA6で補色が指定さ
れていることが検出された場合には、補色のペースト画
像を選択指定して出力する処理に移る(ステップA
8)。図6はこの補色指定処理を示したフローチャート
で、同系色の場合と同様に背景画像の貼り付け領域を4
分割し(ステップC1)、各分割領域毎にその外側近傍
の色調を分析し、使用量の多い色調を各分割領域におけ
る背景画像の色合いとして決定する(ステップC2)。
そして、この色合いに基づいてペースト画像色決定テー
ブル2−2内の補色に対応する背景画像色コードを参照
し、背景画像の色が黄系統の色(色コード1〜25)で
あれば、ペースト画像色は紫色(色コード63)として
決定され、また、赤系統の色であればペースト画像色は
青緑色(色コード90)として決定される。そして、こ
の各ペースト画像色に基づいて画像色分割テーブル2−
3を検索し、各領域(ア)、(イ)、(ウ)、(エ)の
色合いに最も近似したイラスト画像がペースト画像とし
て選択されると共に(ステップC4)、このペースト画
像を背景画像の貼り付け領域内に重ね合せて合成表示す
る(ステップC5)。
On the other hand, if it is detected in step A6 of FIG. 4 that a complementary color has been designated, the process proceeds to a process of selecting and specifying a paste image of the complementary color and outputting it (step A).
8). FIG. 6 is a flow chart showing the complementary color designation processing.
The image is divided (step C1), the color tone near the outside of each divided area is analyzed, and the color tone with a large usage amount is determined as the tint of the background image in each divided area (step C2).
Then, the background image color code corresponding to the complementary color in the paste image color determination table 2-2 is referred to based on this hue, and if the color of the background image is a yellow-based color (color code 1 to 25), the paste is performed. The image color is determined as purple (color code 63), and if it is a red-based color, the paste image color is determined as blue-green (color code 90). The image color division table 2-
3 is searched, and an illustration image closest to the shades of the respective regions (a), (b), (c), and (d) is selected as a paste image (step C4), and this paste image is used as a background image. The image is superimposed and displayed in the pasting area (step C5).

【0013】なお、ペースト画像色として同系色、補色
の何れも指定されていない場合には図4のステップA9
に進み、ユーザ自身が通常の方法にしたがってペースト
画像色を選択する。この場合、イラスト画像の一覧表示
の中から任意のイラスト画像を選択すると、選択された
イラスト画像は背景画像の貼り付け領域内にペースト画
像として合成表示される。他方、上述のようにして背景
画像とペースト画像とを重ね合せた複合画像を作成した
のち、複合画像の印刷指令を与えると、図4のステップ
A4に進み、この複合画像をカラー画像として印刷出力
する処理が行われる。
If neither a similar color nor a complementary color is designated as the paste image color, step A9 in FIG.
And the user himself selects a paste image color according to a normal method. In this case, when an arbitrary illustration image is selected from the list display of the illustration images, the selected illustration image is combined and displayed as a paste image in the paste region of the background image. On the other hand, when a composite image in which the background image and the paste image are superimposed is created as described above, and a print instruction for the composite image is given, the process proceeds to step A4 in FIG. 4, and the composite image is printed out as a color image. Is performed.

【0014】以上のようにこの画像処理装置において
は、背景画像の色合いを判別し、この色合いに応じたイ
ラスト画像をペースト画像として背景画像に貼り付けて
配置出力するようにしたから、背景画像の色合いを考慮
したイラスト画像を選択するための煩雑な操作が不要と
なり、また、背景画像に対してペースト画像の色合いを
同系色とするか補色とするかを指定することによって指
定された色合いのペースト画像を選択するようにしたか
ら、背景画像に対してペースト画像を浮き上がるように
強調させたり、埋もれるように調和させることができ
る。更に、背景画像に貼り付け領域が指定された際に、
この貼り付け領域を4分割し、この各分割領域毎に背景
画像の色合いを判別し、各領域の色合いの組み合せに最
も近いイラスト画像をペースト画像として選択するよう
にしたから、部分的に色合いが異なる背景画像であって
もそれに適した色合いのペースト画像を得ることができ
る。この場合、背景画像の各分割領域毎にその外側近傍
の色合いを分析し、使用量の多い色合いを背景画像色と
して判別するようにしたから、背景画像とペースト画像
との境界部分における色関係も考慮したペースト画像を
得ることができる。
As described above, in this image processing apparatus, the hue of the background image is determined, and the illustration image corresponding to the hue is pasted on the background image as a paste image and arranged and output. A complicated operation for selecting an illustration image in consideration of the color tone is not required, and the paste of the color specified by specifying whether the color of the paste image is similar or complementary to the background image is specified. Since the image is selected, the paste image can be emphasized so as to float up to the background image, or can be harmonized so as to be buried. Furthermore, when the paste area is specified in the background image,
The paste area is divided into four parts, the hue of the background image is determined for each of the divided areas, and the illustration image closest to the combination of the hue of each area is selected as the paste image. Even if the background image is different, a paste image having a suitable color can be obtained. In this case, for each divided region of the background image, the color near the outside is analyzed, and the color with a large amount of use is determined as the background image color. Therefore, the color relationship at the boundary between the background image and the paste image is also determined. A considered paste image can be obtained.

【0015】なお、上述した一実施形態においては、背
景画像に貼り付けられるイラスト画像の色合いを予め4
分割した領域毎に画像色分割テーブル2−3に指定して
おいたが、イラスト画像の色合いを予め指定しておか
ず、カラーイラスト画像の色合いを各領域毎に分析して
求めるようにしてもよい。また、背景画像に貼り付けら
れる画像として予め記憶されているイラスト画像の中か
ら選択するようにしたが、デジタルカメラによって撮影
された撮影画像やイメージセンサによって読み取られた
読み取り画像を背景画像に貼り付けるようにしてもよ
い。この場合、各画像の色合いを分析して背景画像の色
合いに適した画像を選択すればよい。
In the above-described embodiment, the color of the illustration image to be pasted on the background image is set to 4 in advance.
Although the image color division table 2-3 is specified for each divided region, the color of the illustration image may be analyzed and obtained for each region without specifying the color of the illustration image in advance. . In addition, an image to be pasted on a background image is selected from among illustration images stored in advance, but a photographed image taken by a digital camera or a read image read by an image sensor is pasted on a background image. You may do so. In this case, the color of each image may be analyzed to select an image suitable for the color of the background image.

【0016】[0016]

【発明の効果】この発明によれば、カラーの背景画像に
他のカラー画像を貼り付ける場合に、背景画像の色合い
に適した画像を自動的に選択して合成出力することがで
きるので、背景画像に貼り付ける画像を選択するための
煩雑な操作が不要となると共に、背景画像に対して浮き
上がるように強調させたり、埋もれるように調和させた
複合画像を容易に得ることができる。
According to the present invention, when another color image is pasted on a color background image, an image suitable for the hue of the background image can be automatically selected and synthesized and output. A complicated operation for selecting an image to be pasted on the image is not required, and a composite image in which the background image is emphasized so as to float or is harmonized so as to be buried can be easily obtained.

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

【図1】(A)は画像処理装置の全体構成を示したブロ
ック図、(B)はRAM2の主要構成を示した図。
FIG. 1A is a block diagram illustrating an overall configuration of an image processing apparatus, and FIG. 1B is a diagram illustrating a main configuration of a RAM 2.

【図2】ペースト画像色決定テーブル2−2の構成を示
した図。
FIG. 2 is a diagram showing a configuration of a paste image color determination table 2-2.

【図3】(A)は画像色分割テーブル2−3の構成を示
し、(B)は画像色分割テーブル2−3を説明するため
の図で、ペースト画像候補を4分割した状態を示した
図。
3A is a diagram illustrating the configuration of an image color division table 2-3, and FIG. 3B is a diagram illustrating the image color division table 2-3, showing a state in which a paste image candidate is divided into four parts. FIG.

【図4】画像処理装置の動作を説明するためのフローチ
ャート。
FIG. 4 is a flowchart illustrating the operation of the image processing apparatus.

【図5】図4のステップA7(同系色指定処理)を詳述
したフローチャート。
FIG. 5 is a flowchart detailing step A7 (similar color designation processing) in FIG. 4;

【図6】図4のステップA8(補色指定処理)を詳述し
たフローチャート。
FIG. 6 is a flowchart detailing step A8 (complementary color designation processing) in FIG. 4;

【図7】(A)は背景画像にペースト画像を貼り付けた
状態を例示した図、(B)は背景画像の中に貼り付け領
域が指定された際にその領域が4分割された状態を示す
と共に、各分割領域毎にその色合いを判定するための判
定エリアを示した図。
7A is a diagram illustrating a state in which a paste image is pasted on a background image, and FIG. 7B is a diagram illustrating a state in which a pasting region is specified in the background image and the region is divided into four parts; FIG. 5 is a diagram illustrating a determination area for determining the hue of each divided region.

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

1 CPU 2 RAM 2−1 イラスト画像メモリ 2−2 ペースト画像色決定テーブル 2−3 画像色分割テーブル 3 記憶装置 4 記憶媒体 5 入力装置 6 表示装置 7 印刷装置 1 CPU 2 RAM 2-1 Illustration image memory 2-2 Paste image color determination table 2-3 Image color division table 3 Storage device 4 Storage medium 5 Input device 6 Display device 7 Printing device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】背景画像に貼り付けられる画像候補として
色合いが異なる各種の画像データを記憶する画像記憶手
段と、 背景画像の色合いを判別する判別手段と、 この判別手段によって判別された色合いに応じた画像デ
ータを前記画像記憶手段から検索する検索手段と、 この検索手段によって検索された画像データを背景画像
の所定位置に貼り付ける画像合成手段とを具備したこと
を特徴とする画像処理装置。
An image storage means for storing various image data having different shades as image candidates to be pasted on a background image; a judgment means for judging a hue of a background image; An image processing apparatus comprising: a search unit that searches for image data obtained from the image storage unit; and an image combining unit that pastes the image data searched by the search unit to a predetermined position of a background image.
【請求項2】背景画像に貼り付けられる画像の色合いを
背景画像に対して同系色とするか補色とするかを指定す
る指定手段を設け、 前記検索手段は、前記判別手段によって判別された背景
画像の色合いと、前記指定手段によって指定された同系
色か補色かに基づいて該当する色合いの画像データを前
記画像記憶手段から検索するようにしたことを特徴とす
る請求項1記載の画像処理装置。
2. A method according to claim 1, further comprising: designating means for designating the color of the image to be pasted on the background image as a similar color or a complementary color to the background image; 2. An image processing apparatus according to claim 1, wherein said image storage means retrieves image data of a corresponding color tone based on a color tone of the image and a similar color or a complementary color designated by said designation means. .
【請求項3】前記画像記憶手段内の各画像データを複数
の領域に分割した各分割領域毎にその色合いを記憶する
色合い記憶手段と、 背景画像の中の任意の領域が画像貼り付け領域として指
定された際に、この指定領域を前記複数の領域に分割す
る分割手段とを有し、 前記判別手段は、背景画像の色合いを前記分割手段によ
って分割された分割領域毎に判別し、 前記検索手段は、前記判別手段によって分割領域毎に判
別された背景画像の各色合いに基づいて前記色合い記憶
手段を参照し、該当する画像データを前記画像記憶手段
から検索するようにしたことを特徴とする請求項1記載
の画像処理装置。
3. A color storage means for storing the color for each divided area obtained by dividing each image data in the image storage means into a plurality of areas; and an arbitrary area in the background image as an image pasting area. A dividing unit that divides the designated region into the plurality of regions when the designated region is designated, wherein the determining unit determines a hue of the background image for each of the divided regions divided by the dividing unit; The means refers to the hue storage means based on each hue of the background image determined for each divided region by the determination means, and retrieves corresponding image data from the image storage means. The image processing device according to claim 1.
【請求項4】背景画像の中の任意の領域が画像貼り付け
領域として指定されている場合に、前記判別手段は指定
領域の外側近傍で使用量の多い色合いを背景画像色合い
と判別するようにしたことを特徴とする請求項1記載の
画像処理装置。
4. When a given area in a background image is designated as an image pasting area, the discriminating means discriminates a shade having a large amount of use near the outside of the designated area as a background image shade. The image processing apparatus according to claim 1, wherein:
【請求項5】コンピュータに対して、 背景画像の色合いを判別する機能と、 背景画像に貼り付けられる画像候補として色合いが異な
る各種の画像データを記憶する画像記憶手段から前記判
別された背景画像の色合いに応じた画像データを検索す
る機能と、 検索された画像データを背景画像の所定位置に貼り付け
る機能を実現させるためのプログラムを記録した記録媒
体。
5. A computer according to claim 1, further comprising: a function of determining a color of the background image; and a storage unit for storing various image data having different colors as image candidates to be pasted on the background image. A recording medium storing a program for realizing a function of searching for image data corresponding to a color tone and a function of pasting the searched image data at a predetermined position of a background image.
JP13919797A 1997-05-15 1997-05-15 Image processing apparatus and program recording medium thereof Expired - Fee Related JP3793864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13919797A JP3793864B2 (en) 1997-05-15 1997-05-15 Image processing apparatus and program recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13919797A JP3793864B2 (en) 1997-05-15 1997-05-15 Image processing apparatus and program recording medium thereof

Publications (2)

Publication Number Publication Date
JPH10320576A true JPH10320576A (en) 1998-12-04
JP3793864B2 JP3793864B2 (en) 2006-07-05

Family

ID=15239825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13919797A Expired - Fee Related JP3793864B2 (en) 1997-05-15 1997-05-15 Image processing apparatus and program recording medium thereof

Country Status (1)

Country Link
JP (1) JP3793864B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104337A (en) * 2005-10-04 2007-04-19 Olympus Imaging Corp Camera, control apparatus, control method, program, and recording medium
US7426295B2 (en) 2003-10-02 2008-09-16 Seiko Epson Corporation Generation of decorative picture suitable for input picture
US7747074B2 (en) 2003-10-02 2010-06-29 Seiko Epson Corporation Selection of decorative picture suitable for input picture
JP2011510530A (en) * 2007-12-20 2011-03-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for automatically selecting an electronic image based on input
US7920291B2 (en) 2005-06-09 2011-04-05 Canon Kabushiki Kaisha Apparatus, method and program for processing an image
US8004700B2 (en) 2006-12-15 2011-08-23 Fujifilm Corporation Server for combining images, and method of controlling same
JP2017016256A (en) * 2015-06-29 2017-01-19 オリンパス株式会社 Information discrimination device, information discrimination method, and information discrimination program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426295B2 (en) 2003-10-02 2008-09-16 Seiko Epson Corporation Generation of decorative picture suitable for input picture
US7747074B2 (en) 2003-10-02 2010-06-29 Seiko Epson Corporation Selection of decorative picture suitable for input picture
US7920291B2 (en) 2005-06-09 2011-04-05 Canon Kabushiki Kaisha Apparatus, method and program for processing an image
JP2007104337A (en) * 2005-10-04 2007-04-19 Olympus Imaging Corp Camera, control apparatus, control method, program, and recording medium
US8004700B2 (en) 2006-12-15 2011-08-23 Fujifilm Corporation Server for combining images, and method of controlling same
JP2011510530A (en) * 2007-12-20 2011-03-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for automatically selecting an electronic image based on input
JP2017016256A (en) * 2015-06-29 2017-01-19 オリンパス株式会社 Information discrimination device, information discrimination method, and information discrimination program
US10515229B2 (en) 2015-06-29 2019-12-24 Olympus Corporation Information discriminating device, information discriminating method, and non-transitory storage medium storing information discriminating program

Also Published As

Publication number Publication date
JP3793864B2 (en) 2006-07-05

Similar Documents

Publication Publication Date Title
US7751073B2 (en) Image processing device, method, and program product with control of display screens based on selected application
JPH10294876A (en) Device, method for processing color conversion, and computer readable recording medium recording program for executing the same through computer
JPH10320576A (en) Picture processor and its program recording medium
JPH09277606A (en) Color printer controller, color printer controlling method and storage medium storing controlling program
JPH04367161A (en) Image recorder
JPH0962662A (en) Document processor
JP3360948B2 (en) Document processing apparatus and document processing method
JP3382318B2 (en) Image processing method and apparatus
JP3146690B2 (en) Color page description language processor
JPH07223346A (en) Multi-color image controller
JPH1178126A (en) Color printer
JP2747046B2 (en) Document creation device and control device
JP2000333032A (en) Color adjusting device
JP2002185759A (en) Image composition device and method, and storage medium
JP3639642B2 (en) Color processing method
JPH07107313A (en) Picture processing method and device
JPH09322005A (en) Device and method for processing image
JPS62184526A (en) Color printer
JPH10326336A (en) Processor and device for image processing
JPH09174943A (en) Method for designating color attribute in color printer
JP2983579B2 (en) Display control device
KR101219431B1 (en) Image forming system and image forming method thereof
JPH10240911A (en) Picture processor and method therefor
JPH09128206A (en) Information processor
JPH07141142A (en) Display information sharing system

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060202

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060228

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060327

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090421

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100421

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110421

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees