JP2006350936A - Image forming device and image forming program - Google Patents
Image forming device and image forming program Download PDFInfo
- Publication number
- JP2006350936A JP2006350936A JP2005179581A JP2005179581A JP2006350936A JP 2006350936 A JP2006350936 A JP 2006350936A JP 2005179581 A JP2005179581 A JP 2005179581A JP 2005179581 A JP2005179581 A JP 2005179581A JP 2006350936 A JP2006350936 A JP 2006350936A
- Authority
- JP
- Japan
- Prior art keywords
- image
- color
- template
- still
- photographic
- 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
Links
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
本発明は、写真画像等の静止画像が嵌め込まれるレイアウト領域が設けられたテンプレート画像に静止画像を合成する画像作成装置、及び画像作成用プログラムに関するものである。 The present invention relates to an image creation apparatus that synthesizes a still image with a template image provided with a layout area into which a still image such as a photographic image is fitted, and an image creation program.
デジタルカメラやビデオカメラによって得られた写真画像の画像データをパーソナルコンピュータ(PC)の内部に取り込んで、アルバム画像を作成するソフトが提供されている。また、インターネット上で上述した写真画像の画像データを用いてアルバム画像や、これを用いたアルバムを作成するサービスや、写真画像データを記憶した記憶媒体をサービス業者に依託して、上述したアルバムやアルバム画像を作成してもらうサービスも提供されている。 There is provided software for creating album images by taking image data of photographic images obtained by a digital camera or a video camera into a personal computer (PC). In addition, an album image using the image data of the above-described photographic image on the Internet, a service for creating an album using the image, and a storage medium storing the photographic image data are entrusted to a service provider, and the above-described album or There is also a service for creating album images.
例えば、アルバム画像を作成するソフトを用いた場合、モニタに表示されたテンプレート画像から意図するテンプレート画像を選択し、選択されたテンプレート画像のレイアウト領域に写真画像を順次配置していき、アルバム画像を作成するのが一般的である。この場合、テンプレート画像に設けられたレイアウト領域は、予め固定、或いは、写真画像を配置したときに位置調整ができるようになっている(特許文献1)。このように、アルバム画像を作成するソフトを用いた場合には、アルバム画像を作成する際の操作が容易であり、簡単にアルバム画像を作成することができる。また、PCによって接続したインターネット上でアルバム画像や、これに基づいたアルバムを作成する場合も同様である。
しかしながら、このようなアルバム画像や、アルバムを作成する場合、予めレイアウト領域の位置が決定されたテンプレート画像に対して写真画像を合成していくため、合成後の画像において統一感のないものが作成される、つまり合成された写真画像の色調と、テンプレート画像との色調が調和しないという問題がある。 However, when creating such an album image or an album, a photographic image is synthesized with a template image whose layout area has been determined in advance. In other words, there is a problem that the color tone of the synthesized photographic image and the color tone of the template image do not match.
本発明は、上記課題を解決するためになされたものであり、統一感のあるアルバム画像を作成することができるようにした画像作成装置、及び画像作成用プログラムを提供するものである。 The present invention has been made to solve the above-described problems, and provides an image creation apparatus and an image creation program capable of creating a unified album image.
本発明の画像作成装置は、静止画像が嵌め込まれるレイアウト領域が少なくとも1つ設けられた1つのテンプレート画像と、画像記憶媒体から取り込まれた少なくとも1つの前記静止画像とを合成することによって合成画像を作成する画像作成装置において、前記テンプレート画像は、該テンプレート画像の色調と調和する静止画像を絞り込むための付帯情報を有しており、前記付帯情報に基づいて、前記画像記憶媒体に記憶された複数の静止画像の中から、前記テンプレート画像に適した静止画像を選択する画像選択手段と、前記画像選択手段によって選択された静止画像を、前記テンプレート画像に合成する画像合成手段と、を備えたことを特徴とする。 The image creating apparatus according to the present invention combines a template image provided with at least one layout region into which a still image is fitted and at least one still image captured from an image storage medium, thereby synthesizing a synthesized image. In the image creating apparatus to be created, the template image has incidental information for narrowing down still images in harmony with the color tone of the template image, and a plurality of information stored in the image storage medium based on the incidental information. Image selecting means for selecting a still image suitable for the template image from among the still images, and image combining means for combining the still image selected by the image selecting means with the template image. It is characterized by.
また、前記付帯情報は、前記テンプレート画像に合成される写真画像の色範囲を示す情報であって、前記画像選択手段は、前記静止画像を解析して得られる代表色が前記色範囲内となる場合に、該静止画像を前記テンプレート画像に合成する静止画像として選択することを特徴とする。 The supplementary information is information indicating a color range of a photographic image to be combined with the template image, and the image selection unit has a representative color obtained by analyzing the still image within the color range. In this case, the still image is selected as a still image to be combined with the template image.
また、前記テンプレート画像は、前記レイアウト領域を複数備えるとともに、前記付帯情報は、前記レイアウト領域のそれぞれに嵌め込まれる静止画像の色範囲を示す情報から構成され、前記画像選択手段は、前記静止画像を解析することによって得られる代表色が前記色範囲のいずれかの範囲内となる場合に、該静止画像を、該当した色範囲となるレイアウト領域に嵌め込む静止画像として選択することを特徴とする。 The template image includes a plurality of the layout areas, and the supplementary information includes information indicating a color range of a still image fitted in each of the layout areas, and the image selection means When the representative color obtained by the analysis falls within any one of the color ranges, the still image is selected as a still image that fits into a layout area that corresponds to the corresponding color range.
また、前記代表色は、前記静止画像を構成する複数の画素に用いられる色成分に基づいて決定されることを特徴とする。 In addition, the representative color is determined based on color components used for a plurality of pixels constituting the still image.
また、本発明の画像作成用プログラムは、静止画像が嵌め込まれるレイアウト領域が少なくとも1つ設けられた1つのテンプレート画像と、画像記憶媒体から取り込まれた少なくとも1つの前記静止画像とを合成することによって合成画像を作成する画像作成用プログラムにおいて、前記テンプレート画像の色調と調和する静止画像を絞り込むための付帯情報に基づいて、前記画像記憶媒体に記憶された複数の静止画像の中から、前記テンプレート画像に適した静止画像を選択する画像選択手段と、前記画像選択手段によって選択された静止画像を、前記テンプレート画像に合成する画像合成手段と、してコンピュータを機能させることを特徴とする。 The image creation program according to the present invention combines one template image provided with at least one layout area into which a still image is inserted and at least one still image captured from an image storage medium. In the image creation program for creating a composite image, the template image is selected from a plurality of still images stored in the image storage medium based on incidental information for narrowing down still images that match the color tone of the template image. The computer functions as an image selection unit that selects a still image suitable for the image, and an image synthesis unit that synthesizes the still image selected by the image selection unit with the template image.
本発明の画像作成装置によれば、静止画像が嵌め込まれるレイアウト領域が少なくとも1つ設けられた1つのテンプレート画像と、画像記憶媒体から取り込まれた少なくとも1つの前記静止画像とを合成することによって合成画像を作成する画像作成装置において、前記テンプレート画像は、該テンプレート画像の色調と調和する静止画像を絞り込むための付帯情報を有しており、前記付帯情報に基づいて、前記画像記憶媒体に記憶された複数の静止画像の中から、前記テンプレート画像に適した静止画像を選択する画像選択手段と、前記画像選択手段によって選択された静止画像を、前記テンプレート画像に合成する画像合成手段と、を備えたから、複数の静止画像からテンプレート画像に合わせた静止画像を選択する作業を、専門の作業者に頼む必要が無くなり、統一感のある合成画像を容易に作成することができる。 According to the image creating apparatus of the present invention, one template image provided with at least one layout area into which a still image is fitted is synthesized with at least one still image taken from the image storage medium. In the image creating apparatus for creating an image, the template image has incidental information for narrowing down still images that match the color tone of the template image, and is stored in the image storage medium based on the incidental information. Image selecting means for selecting a still image suitable for the template image from a plurality of still images, and image combining means for combining the still image selected by the image selecting means with the template image. Therefore, the task of selecting a still image that matches the template image from multiple still images is a specialized task. It is not necessary to ask, the composite image of unity can be easily created.
また、前記付帯情報は、前記テンプレート画像に合成される静止画像の色範囲を示す情報であって、前記画像選択手段は、前記静止画像を解析して得られる代表色が前記色範囲内となる場合に、該静止画像を前記テンプレート画像に合成する静止画像として選択するから、統一感のある合成画像を容易に作成することができる。 The supplementary information is information indicating a color range of a still image to be combined with the template image, and the image selection unit has a representative color obtained by analyzing the still image within the color range. In this case, since the still image is selected as a still image to be combined with the template image, a unified image having a sense of unity can be easily created.
また、前記テンプレート画像は、前記レイアウト領域を複数備えるとともに、前記付帯情報は、前記レイアウト領域のそれぞれに嵌め込まれる静止画像の色範囲を示す情報から構成され、前記画像選択手段は、前記静止画像を解析することによって得られる代表色が前記色範囲のいずれかの範囲内となる場合に、該静止画像を、該当した色範囲となるレイアウト領域に嵌め込む静止画像として選択するから、統一感のある合成画像を容易に作成することができる。 The template image includes a plurality of the layout areas, and the supplementary information includes information indicating a color range of a still image fitted in each of the layout areas, and the image selection means When the representative color obtained by the analysis falls within any one of the color ranges, the still image is selected as a still image that fits into the layout area that corresponds to the corresponding color range, so there is a sense of unity A composite image can be easily created.
また、前記代表色は、前記静止画像を構成する複数の画素に用いられる色成分に基づいて決定されることを特徴とするから、今までは、テンプレート画像に合成する静止画像を専門の作業者の感覚によって選択していたので作業時間がかかっていたが、静止画像の代表色を自動で検出した後にテンプレート画像に合成されるので、作業効率が良くなるという利点がある。 In addition, since the representative color is determined based on color components used for a plurality of pixels constituting the still image, until now, a professional worker who has synthesized a still image to be combined with a template image However, since the selection is made according to the above feeling, it takes a long time to work. However, since the representative color of the still image is automatically detected and synthesized with the template image, there is an advantage that the working efficiency is improved.
図1は、アルバム画像作成装置の構成の一例を示す機能ブロック図である。このアルバム画像作成装置10は、写真画像データとテンプレート画像データTDとを用いてアルバム画像データAD1を作成するものである。このアルバム画像作成装置10は、データ読み取り部11と、データ書き込み部12とを備えている。
FIG. 1 is a functional block diagram showing an example of the configuration of an album image creation apparatus. The album image creating apparatus 10 creates album image data AD1 using photographic image data and template image data TD. The album image creating apparatus 10 includes a
データ読み取り部11は、例えば磁気ディスクや、CD−R(Compact Disk Recordable)等の光ディスクからなる記憶媒体13に記憶された写真画像データの読み取りを行うために設けられている。データ読み取り部11において読み取られた写真画像データはRAM17に作成された写真画像フォルダPFに記憶され、CPU15においてアルバム作成プログラムPG1が実行された場合に、該写真画像フォルダPFから写真画像データが読み出される。なお、写真画像データとしては、デジタルカメラやカメラ付き携帯電話などの撮像装置により得られた写真画像データが挙げられる他に、写真フイルム、印画紙に記録された画像を光電的に読み取ることにより取得された写真画像データを含むものとする。また、静止画像として写真画像について説明するが、静止画像としては、写真画像の他に、パーソナルコンピュータ(PC)で作成された絵やマーク等の画像も含まれる。
The
データ書き込み部12は、アルバム作成プログラムPG1を実行することによって得られたアルバム画像データAD1を、例えば磁気ディスクやCD−R(Compact Disk Recordable)等の光ディスクからなる記憶媒体14に書き込むために設けられている。
The
アルバム画像作成装置10は、CPU15、ROM16、RAM17を主要部とし、CPU15は、ROM16に記憶されたアルバム作成プログラムPG1を実行することにより、制御部20、代表色検出部21、目標色検出部22、テンプレート選択部23、画像編集部24、アルバム画像合成部25として機能する。
The album image creating apparatus 10 includes a
代表色検出部21は、RAM17に記憶された写真画像フォルダPFから写真画像データを読み出し、そのヒストグラムを作成する。ヒストグラムは、周知のように、写真画像データの輝度情報及びR,G,Bの色情報を画素ごとに検出し、特定の階調値に属する画素数をR,G、Bの色成分ごとにカウントした度数分布である。また、代表色検出部21は、算出されたヒストグラムからその代表値を求める。ヒストグラムの代表値としては、平均値、中央値、最頻値等があり、いずれか1つの値が代表値に選択される。
The representative
目標色検出部22は、アルバム作成に使用される写真画像の代表色を平均し、各静止画の代表色の比較対象となる目標色を検出する。この目標色は、アルバム画像を作成したときの、1つのアルバム画像における方向性を示す色である。この目標色は、入力操作部46を介してユーザーにより指定された色が適用される場合と、目標色検出部22により検出された目標色が適用される場合の2通りがあり、いずれの場合とするかはアルバム作成時にユーザーが選択することになる。
The target
テンプレート選択部23は、ユーザーにより目標色が指定された場合に、或いは、目標色検出部22において目標色が検出された場合に、目標色をテンプレート画像の色として使用しているテンプレート画像データTDをデータベース30に設けられたテンプレートフォルダ31から読み出す。なお、読み出されたテンプレート画像データTDには、テンプレート画像に合成される写真画像の色範囲、詳しくは、テンプレート画像の色と調和する写真画像の代表色の色範囲を示すデータが付帯されている。
When the target color is designated by the user or when the target color is detected by the target
画像選択部24は、写真画像の代表色が、テンプレート画像データに付帯されている代表色の色範囲に含まれるか否かを判定し、色範囲に含まれていると判定された場合に、その代表値が得られた写真画像を、テンプレート画像に合成する写真画像として選択する。例えば代表色は色成分に分解することができるので、代表色の各色成分がテンプレート画像データTDに記憶された色成分毎の色範囲内であるか否かを判定を行う。なお、以下では、代表色の色範囲は、例えば目標色の各色成分の±30の範囲を色範囲とする。
The
アルバム画像合成部25は、テンプレート選択部23によって選択されたテンプレート画像TDと写真画像とを合成することによって、アルバム画像を作成する。詳細は記載しないが、テンプレート画像は、写真画像が配置される領域(以下、レイアウト領域)と、文字やイラスト等が配置される背景領域とが設けられており、色調補正部36によって色調補正が行われた写真画像、或いは、画像振り分け部37において、テンプレート画像に合成する写真画像として適していると判定された写真画像に対して、レイアウト領域に合わせたトリミング処理が行われる。このトリミング処理が行われた写真画像をテンプレート画像にはめ込むことによって、アルバム画像が作成される。なお、アルバム画像合成部25によって作成されたアルバム画像に基づくアルバム画像データAD1は、RAM17に記憶される。
The album
画像表示部45は、例えば液晶パネルを備え、アルバム画像作成を実行する際の入力表示、データ読み取り部11によって読み取られた写真画像表示、或いは作成されたアルバム画像のプレビュー画像の表示が行われる。入力操作部46は、キーボードやマウス、タッチパネルなどからなり、アルバム画像作成時の入力操作や、プレビュー画像に基づいた修正を行う際に操作される。プリンタ47は、画像表示部に表示されたアルバム画像データに基づいたプレビュー画像を印刷する際に用いられる。
The
次に、本発明のアルバム作成装置10を用いてアルバム画像データを作成する手順を図2のフローチャートを参照して説明する。記憶媒体13に記憶された写真画像データをデータ読み取り部11によって読み取り、読み取った写真画像データをRAM17に作成された写真画像フォルダPFにコピーする。RAM17に作成された写真画像フォルダPFに写真画像データのコピーが終了すると、制御部20は、該写真画像データを用いたサムネイル画像を作成し、モニタに複数の写真画像をサムネイル画像として画像表示部45に一覧表示する。
Next, a procedure for creating album image data using the album creating apparatus 10 of the present invention will be described with reference to the flowchart of FIG. The photographic image data stored in the
画像表示部45に複数の写真画像がサムネイル画像として一覧表示されると、ユーザーは、これら写真画像から、アルバム画像の作成に使用する写真画像を選択する。このとき、ユーザーは、写真画像全てを選択する、或いは複数の写真画像の一部を選択することになる。写真画像の選択が終了すると、代表色検出部21は、各写真画像の代表色を検出する。例えば、図3に示すように、写真画像Pic.1から、(R,G,B)=(134,175,58)、写真画像Pic.2から、(R,G,B)=(85,70,125)、写真画像Pic.3から、(R,G,B)=(100,175,50)とする代表色がそれぞれ検出される。
When a plurality of photo images are displayed as a list of thumbnail images on the
代表色の検出が終了すると、画像表示部45には、テンプレート画像の色を選択するか否かの選択画面が表示される。この選択画面において表示される例えば128色のカラーパレット(図示省略)によって、テンプレート画像の色を選択する。テンプレート選択部23は、データベース30に記憶されたテンプレートフォルダ31から、選択された色を用いたテンプレート画像データTDをデータベース30から読み出して、RAM17に記憶する。
When the detection of the representative color is completed, the
一方、テンプレート画像の色を選択しない場合には、目標色検出部22において、写真画像全体としての目標色が検出される。そして、目標色の検出が行われると、テンプレート選択部23は、目標色を用いたテンプレート画像データTDを、データベース30から読み出してRAM17に記憶する。
On the other hand, when the color of the template image is not selected, the target
テンプレート画像データTDが決定されると、画像選択部24は、写真画像の代表色と、テンプレート画像に合成する写真画像の代表色の色範囲とを色成分毎に比較し、代表色の色成分のそれぞれが、色成分毎の色範囲内にあるか否かを判定する。図3に示すように、例えばテンプレート画像の色の色成分が(R、G、B)=(120,200,50)となる場合、R色成分の色範囲90〜150、G色成分の色範囲テンプレート画像に合成される写真画像として適している写真画像の代表値の色範囲は、R成分の色範囲は90〜150、G色成分の色範囲は170〜230、B色成分の色範囲は20〜80となる。例えば写真画像Pic.1の代表色の色成分が(R、G、B)=(134,175,58)となる場合には、R、G、B色成分がそれぞれ、R、G、B成分の色範囲内となるから、この場合には、写真画像Pic.1は、テンプレート画像に合成する写真画像として適していると判定し、テンプレート画像に合成する旨のデータを写真画像Pic.1の写真画像データに付加する。
When the template image data TD is determined, the
同様にして、写真画像Pic.2、Pic.3に対しても同様の処理が行われる。写真画像Pic.2の代表色の色成分は(R、G、B)=(85,75,125)となり、R、G、B色成分がいずれもR、G、B成分の色範囲外となるから、写真画像Pic.2はテンプレート画像に合成する写真画像には適していないと判定する。また、写真画像Pic.3の代表色の色成分は(R、G、B)=(100,150,50)となる場合には、R色成分、B色成分がそれぞれの色範囲内となるが、G色成分が色範囲外となるので、写真画像Pic.3は、テンプレート画像に合成される写真画像としては適していないと判定される。 Similarly, the photographic image Pic. 2, Pic. The same processing is performed for 3. Photo image Pic. The color components of the two representative colors are (R, G, B) = (85, 75, 125), and the R, G, B color components are all out of the color range of the R, G, B components. Image Pic. 2 determines that it is not suitable for a photographic image to be combined with a template image. Also, the photographic image Pic. When the color components of the three representative colors are (R, G, B) = (100, 150, 50), the R color component and the B color component are within the respective color ranges, but the G color component is Since it is out of the color range, the photographic image Pic. 3 is determined not to be suitable as a photographic image to be combined with the template image.
図4に示すように、アルバム画像の作成に9枚の写真画像Pic.1〜Pic.9を使用する場合、上述した処理が全ての写真画像について行われる。そして、例えば2枚のテンプレート画像TP1、TP2に写真画像のいずれかを合成する場合、上述した画像選択部24における比較結果から、例えばテンプレート画像TP1に合成する写真画像として、写真画像Pic.1、Pic.4、Pic.5が、テンプレート画像TP2に合成する写真画像としてPic.7〜9の6枚の写真画像がそれぞれ選択された場合には、例えばテンプレート画像TP1のレイアウト領域LA1に写真画像Pic.1が配置されるように、またテンプレート画像TP1のレイアウト領域LA2にPic.4が配置されるように、テンプレート画像TP1のレイアウト領域LA3にPic.6を配置させるように、各写真画像をテンプレート画像TP1に合成する。
As shown in FIG. 4, nine photo images Pic. 1-Pic. When 9 is used, the above-described processing is performed for all photographic images. For example, when one of the photographic images is combined with the two template images TP1 and TP2, from the comparison result in the
同様にして、テンプレート画像TP2のレイアウト領域LA4に写真画像Pic.7を、テンプレート画像TP2のレイアウト領域LA5に写真画像Pic.8を、テンプレート画像TP2のレイアウト領域LA6に写真画像Pic.9を配置させるように、各写真画像をテンプレート画像TP2に合成する。これにより、アルバム画像AP1,AP2が作成され、アルバム画像AP1,AP2に基づくアルバム画像データAD1がRAM13に記憶される。なお、写真画像は、トリミング処理等の処理が行われた上でレイアウト領域に配置される。
Similarly, the photographic image Pic. Is displayed in the layout area LA4 of the template image TP2. 7 in the layout area LA5 of the template image TP2. 8 in the layout area LA6 of the template image TP2. Each photographic image is combined with the template image TP2 so that 9 is arranged. As a result, album images AP1 and AP2 are created, and album image data AD1 based on the album images AP1 and AP2 is stored in the
なお、作成されたアルバム画像データAD1は、ユーザーによる入力操作部46の操作を受けて、例えば画像表示部45にプレビュー表示したり、データ書き込み部12にセットされた記憶媒体14に記憶する、或いは、アルバム画像データAD1をプリンタ47に転送することによって印刷を行うことができる。
The created album image data AD1 is previewed on, for example, the
なお、上述した比較において、テンプレート画像に合成する写真画像として選択されなかった写真画像は、他のテンプレート画像に合成される。なお、他のテンプレート画像としては、選択されなかった写真画像における目標色を算出し、算出された目標色を用いたテンプレート画像、或いは、無彩色のテンプレート画像等を挙げることができる。 In the above-described comparison, a photographic image that has not been selected as a photographic image to be combined with a template image is combined with another template image. Examples of other template images include a target image in a photographic image that has not been selected, a template image using the calculated target color, or an achromatic template image.
以上のように、本発明の実施形態について説明したが、本発明は上記実施形態に限られず、適宜の変更が可能である。例えば、上記実施形態のアルバム画像作成装置10は、アルバム画像を作成する専用の装置として構成されているが、アルバム作成プログラムが組み込まれたデジタルスチルカメラ、又はパーソナルコンピュータによってアルバム画像を作成するようにしてもよい。 As mentioned above, although embodiment of this invention was described, this invention is not restricted to the said embodiment, A suitable change is possible. For example, the album image creation device 10 of the above embodiment is configured as a dedicated device for creating an album image, but the album image is created by a digital still camera in which an album creation program is incorporated or a personal computer. May be.
本実施形態では、写真画像の代表色がテンプレート画像の色範囲内であるか否かによって、テンプレート画像に合成する写真画像として適しているか否かを判定したが、これに限定する必要はなく、テンプレート画像の色と、写真画像の代表値との違いを示す色較差の値を算出し、算出された色較差の値が予め設定された色較差の基準範囲内にあるか否かを判定することによって、テンプレート画像に合成する写真画像として適しているか否かを判定することも可能である。 In the present embodiment, whether or not the representative color of the photographic image is suitable as a photographic image to be combined with the template image is determined depending on whether or not the representative color is within the color range of the template image. A color difference value indicating a difference between the color of the template image and the representative value of the photographic image is calculated, and it is determined whether or not the calculated color difference value is within a preset reference range of the color difference. Thus, it is possible to determine whether or not it is suitable as a photographic image to be combined with the template image.
本実施形態では、写真画像の代表色を検出する例として、ヒストグラムを作成して検出する例を取り上げたが、これに限定する必要はなく、写真画像における主要被写体を解析し、解析された主要被写体から、代表色の検出を行うことも可能である。 In the present embodiment, as an example of detecting a representative color of a photographic image, an example in which a histogram is created and detected is taken up. However, the present invention is not limited to this, and the main subject in the photographic image is analyzed and analyzed. It is also possible to detect representative colors from the subject.
本実施形態では、テンプレート画像に付帯されるデータの例として、テンプレート画像に合成される写真画像の代表色の色範囲を取り上げたが、これに限定する必要はなく、レイアウト領域に嵌め込まれる写真画像の代表色の色範囲を示す情報としてもよい。 In the present embodiment, the color range of the representative color of the photographic image combined with the template image is taken as an example of the data attached to the template image. However, the present invention is not limited to this, and the photographic image inserted in the layout area is used. It may be information indicating the color range of the representative color.
例えば、図5に示すように、テンプレート画像TP4のレイアウト領域LA7、LA8、LA9には、それぞれのレイアウト領域LA7、LA8、LA9に嵌め込まれる写真画像の各色成分の色範囲が予め決められている。この条件は、テンプレート画像の色に応じて設定されており、例えば、写真画像に対する各色成分の色範囲は、例えばテンプレート画像TP4の色の色成分に対して±30の範囲で設定される。これにより、テンプレート画像TP4の色が(R、G、B)=(65,45,180)となる場合、レイアウト領域LA7に配置される写真画像の各色成分の色範囲は、R色成分の色範囲45〜85、B色成分の色範囲25〜60、B色成分の色範囲165〜190に設定される。同様にして、レイアウト領域LA8、LA9についても写真画像に対する各色成分の色範囲が設定されている。
For example, as shown in FIG. 5, in the layout areas LA7, LA8, LA9 of the template image TP4, the color range of each color component of the photographic image fitted in each of the layout areas LA7, LA8, LA9 is determined in advance. This condition is set according to the color of the template image. For example, the color range of each color component with respect to the photographic image is set within a range of ± 30 with respect to the color component of the color of the template image TP4, for example. Thereby, when the color of the template image TP4 is (R, G, B) = (65, 45, 180), the color range of each color component of the photographic image arranged in the layout area LA7 is the color of the R color component. The range is set to 45 to 85, the B color
例えば、写真画像Pic.10〜Pic.12をテンプレート画像LA4に合成する場合には、各写真画像におけるヒストグラム解析を行って、写真画像毎の代表値を検出する。この検出において、例えば写真画像Pic.10の代表色は、(R、G、B)=(134,175,58)、写真画像Pic.11の代表色は、(R、G、B)=(57,30,185)、写真画像Pic.12の代表色は、(R、G、B)=(100,175,50)となる。 For example, photographic image Pic. 10 Pic. 12 is combined with the template image LA4, histogram analysis is performed on each photographic image to detect a representative value for each photographic image. In this detection, for example, the photographic image Pic. 10 representative colors are (R, G, B) = (134, 175, 58), photographic image Pic. 11 representative colors are (R, G, B) = (57, 30, 185), and photographic image Pic. The 12 representative colors are (R, G, B) = (100, 175, 50).
テンプレート画像TP4の背景色が、(R、G、B)=(65,45,180)となる場合、レイアウト領域LA7に配置される写真画像の代表色における各色成分の範囲は、R色成分の色範囲45〜85、B色成分の色範囲25〜60、B色成分の色範囲165〜190に設定されるので、写真画像の代表色における色成分が、これら範囲内にあるか否かを判定する。例えば、写真画像Pic.10の場合には、各色成分の階調値が、レイアウト領域LA7に設定された色成分の範囲内ではないので、写真画像pic.10は、レイアウト領域LA7に配置される写真画像として選択しない。同様にして、写真画像pic.11についても行われる。この場合、写真画像pic.11の各色成分は、レイアウト領域に設定された色成分の範囲内となるので、写真画像pic.11は、レイアウト領域LA7に配置される写真画像として選択する。 When the background color of the template image TP4 is (R, G, B) = (65, 45, 180), the range of each color component in the representative color of the photographic image arranged in the layout area LA7 is the R color component. Since the color range is set to 45 to 85, the color range of the B color component is set to 25 to 60, and the color range of the B color component is set to 165 to 190, it is determined whether or not the color component in the representative color of the photographic image is within these ranges. judge. For example, photographic image Pic. In the case of 10, the gradation value of each color component is not within the range of the color component set in the layout area LA7. 10 is not selected as a photographic image arranged in the layout area LA7. Similarly, the photographic image pic. 11 is also performed. In this case, the photographic image pic. 11 are within the range of the color components set in the layout area, so that the photographic image pic. 11 is selected as a photographic image arranged in the layout area LA7.
同様にして、写真画像pic.12についても行われる。この比較は、他のレイアウト領域に対しても行われる。なお、この場合、1つのレイアウト領域に複数の写真画像が選択された場合は、候補としてモニタに表示し、ユーザーに選択してもらう、レイアウト領域に設定された色成分の範囲を狭めて比較処理を再度実行する、或いは、テンプレート画像の背景色と比較して、色成分が近似している写真画像をレイアウト領域に配置する画像として選択する等、適宜の方法を実行することが考えられる。また、写真画像が、複数のレイアウト領域に設定された色成分の範囲で選択される場合も同様である。これにより、統一感のあるアルバム画像を作成することができる。 Similarly, the photographic image pic. 12 is also performed. This comparison is also performed for other layout areas. In this case, when a plurality of photographic images are selected in one layout area, they are displayed as candidates on the monitor, and the selection process is performed by narrowing the range of color components set in the layout area. It is conceivable to execute again, or to execute an appropriate method such as selecting a photographic image having a color component approximated as the background color of the template image as an image to be arranged in the layout area. The same applies to a case where a photographic image is selected in a range of color components set in a plurality of layout areas. Thereby, an album image with a sense of unity can be created.
上述した比較において、レイアウト領域に配置する写真画像として選択されなかった写真画像は、他のテンプレート画像に合成される。なお、他のテンプレート画像としては、選択されなかった写真画像における目標色を算出し、算出された目標色を用いたテンプレート画像、レイアウト領域に色成分が設定されていないテンプレート画像等を挙げることができる。 In the above-described comparison, a photographic image that has not been selected as a photographic image to be arranged in the layout area is synthesized with another template image. Examples of other template images include a target image in a photographic image that has not been selected, a template image using the calculated target color, and a template image in which no color component is set in the layout area. it can.
また、付帯データとしては、色情報の他に、レイアウト領域に配置される写真画像のアスペクト比、画像サイズ、或いは写真画像が人物となる場合には、その人数等を挙げることができる。各レイアウト領域に合成する写真画像の条件が多ければ、1つのレイアウト領域に対して複数の写真画像が選択されることを防止することができる。 In addition to the color information, the incidental data may include the aspect ratio of the photographic image arranged in the layout area, the image size, or the number of persons when the photographic image is a person. If there are many photographic image conditions to be combined in each layout area, it is possible to prevent a plurality of photographic images from being selected for one layout area.
本実施形態では、テンプレート画像の色については説明していないが、実際にテンプレート画像が単色からなる場合は、テンプレート画像に使用されている色であり、テンプレート画像が複数の色から構成されている場合には、テンプレート画像に対してヒストグラムを行った結果、得られる色をテンプレート画像の色とすることも含まれる。 In this embodiment, the color of the template image is not described. However, when the template image is actually composed of a single color, the color is used for the template image, and the template image is composed of a plurality of colors. In some cases, the color obtained as a result of performing the histogram on the template image is used as the color of the template image.
10 アルバム画像作成装置
11 データ読み取り部
12 データ書き込み部
13,14 記憶媒体
15 CPU
16 ROM
17 RAM
20 制御部
21 代表色検出部
22 目標色検出部
23 テンプレート選択部
24 画像選択部
25 アルバム画像合成部
30 データベース
45 画像表示部
DESCRIPTION OF SYMBOLS 10 Album
16 ROM
17 RAM
DESCRIPTION OF
Claims (5)
前記テンプレート画像は、該テンプレート画像の色調と調和する静止画像を絞り込むための付帯情報を有しており、
前記付帯情報に基づいて、前記画像記憶媒体に記憶された複数の静止画像の中から、前記テンプレート画像に適した静止画像を選択する画像選択手段と、
前記画像選択手段によって選択された静止画像を、前記テンプレート画像に合成する画像合成手段と、を備えたことを特徴とする画像作成装置。 In an image creating apparatus that creates a composite image by combining one template image provided with at least one layout region into which a still image is fitted and at least one still image captured from an image storage medium,
The template image has incidental information for narrowing down a still image in harmony with the color tone of the template image,
Image selecting means for selecting a still image suitable for the template image from a plurality of still images stored in the image storage medium based on the incidental information;
An image creating apparatus comprising: an image composition unit configured to compose the still image selected by the image selection unit with the template image.
前記画像選択手段は、前記静止画像を解析して得られる代表色が前記色範囲内となる場合に、該静止画像を前記テンプレート画像に合成する静止画像として選択することを特徴とする請求項1記載の画像作成装置。 The auxiliary information is information indicating a color range of a still image combined with the template image,
2. The image selection means, when a representative color obtained by analyzing the still image falls within the color range, selects the still image as a still image to be combined with the template image. The image creating apparatus described.
前記画像選択手段は、前記静止画像を解析することによって得られる代表色が前記色範囲のいずれかの範囲内となる場合に、該静止画像を、該当した色範囲となるレイアウト領域に嵌め込む写真画像として選択することを特徴とする請求項1記載の画像作成装置。 The template image includes a plurality of the layout areas, and the incidental information includes information indicating a color range of a still image fitted in each of the layout areas,
When the representative color obtained by analyzing the still image falls within any one of the color ranges, the image selection unit is configured to insert the still image into a layout area that corresponds to the corresponding color range. The image creating apparatus according to claim 1, wherein the image creating apparatus is selected as an image.
前記テンプレート画像の色調と調和する静止画像を絞り込むための付帯情報に基づいて、前記画像記憶媒体に記憶された複数の静止画像の中から、前記テンプレート画像に適した静止画像を選択する画像選択手段と、
前記画像選択手段によって選択された静止画像を、前記テンプレート画像に合成する画像合成手段としてコンピュータを機能させることを特徴とする画像作成用プログラム。
In an image creation program for creating a composite image by combining one template image provided with at least one layout region into which a still image is fitted and at least one still image captured from an image storage medium,
Image selecting means for selecting a still image suitable for the template image from among a plurality of still images stored in the image storage medium based on incidental information for narrowing down the still image that matches the color tone of the template image. When,
An image creation program for causing a computer to function as an image composition means for composing a still image selected by the image selection means with the template image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005179581A JP2006350936A (en) | 2005-06-20 | 2005-06-20 | Image forming device and image forming program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005179581A JP2006350936A (en) | 2005-06-20 | 2005-06-20 | Image forming device and image forming program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006350936A true JP2006350936A (en) | 2006-12-28 |
Family
ID=37646660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005179581A Pending JP2006350936A (en) | 2005-06-20 | 2005-06-20 | Image forming device and image forming program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006350936A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011014233A1 (en) * | 2009-07-30 | 2011-02-03 | Eastman Kodak Company | Image capture device with artistic template design |
CN102201124A (en) * | 2010-03-26 | 2011-09-28 | 腾讯科技(深圳)有限公司 | Method and device for synthesizing picture and character |
WO2014088399A1 (en) * | 2012-12-04 | 2014-06-12 | Mimos Berhad | Automatic website template and 3d skin generation based on images |
US8849043B2 (en) | 2009-07-30 | 2014-09-30 | Intellectual Ventures Fund 83 Llc | System for matching artistic attributes of secondary image and template to a primary image |
US8849853B2 (en) | 2009-07-30 | 2014-09-30 | Intellectual Ventures Fund 83 Llc | Method for matching artistic attributes of a template and secondary images to a primary image |
US8854395B2 (en) | 2009-07-30 | 2014-10-07 | Intellectual Ventures Fund 83 Llc | Method for producing artistic image template designs |
JP2015082237A (en) * | 2013-10-23 | 2015-04-27 | キヤノン株式会社 | Information processing apparatus, information processing method, and program |
JP2019139488A (en) * | 2018-02-09 | 2019-08-22 | 大日本印刷株式会社 | Image processing device, image processing method, and program |
-
2005
- 2005-06-20 JP JP2005179581A patent/JP2006350936A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011014233A1 (en) * | 2009-07-30 | 2011-02-03 | Eastman Kodak Company | Image capture device with artistic template design |
US8849043B2 (en) | 2009-07-30 | 2014-09-30 | Intellectual Ventures Fund 83 Llc | System for matching artistic attributes of secondary image and template to a primary image |
US8849853B2 (en) | 2009-07-30 | 2014-09-30 | Intellectual Ventures Fund 83 Llc | Method for matching artistic attributes of a template and secondary images to a primary image |
US8854395B2 (en) | 2009-07-30 | 2014-10-07 | Intellectual Ventures Fund 83 Llc | Method for producing artistic image template designs |
CN102201124A (en) * | 2010-03-26 | 2011-09-28 | 腾讯科技(深圳)有限公司 | Method and device for synthesizing picture and character |
WO2011116658A1 (en) * | 2010-03-26 | 2011-09-29 | 腾讯科技(深圳)有限公司 | Method and device for synthesizing pictures and characters |
CN102201124B (en) * | 2010-03-26 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Method and device for synthesizing picture and character |
WO2014088399A1 (en) * | 2012-12-04 | 2014-06-12 | Mimos Berhad | Automatic website template and 3d skin generation based on images |
JP2015082237A (en) * | 2013-10-23 | 2015-04-27 | キヤノン株式会社 | Information processing apparatus, information processing method, and program |
JP2019139488A (en) * | 2018-02-09 | 2019-08-22 | 大日本印刷株式会社 | Image processing device, image processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7308158B2 (en) | Imaging method and system | |
JP5044041B2 (en) | Image quality inspection based on thumbnails | |
US7747074B2 (en) | Selection of decorative picture suitable for input picture | |
JP2005227897A (en) | Method, device, and program for image display | |
JP2009278598A (en) | Image processing apparatus, control method of the same, and storage medium | |
JP2006350936A (en) | Image forming device and image forming program | |
JP2008244996A (en) | Image processing system | |
JP4348956B2 (en) | Image layout apparatus, image layout method, and program in image layout apparatus | |
JP2006350521A (en) | Image forming device and image forming program | |
US6850341B1 (en) | Method, system and recording medium for image processing | |
JP2007189426A (en) | Image output apparatus and image output method | |
JP4873696B2 (en) | Information processing apparatus, method, and program for confirming matching accuracy between printers | |
JP5009864B2 (en) | Candidate image display method, apparatus, and program | |
JP2006350462A (en) | Album image preparation device and album image preparation program | |
US20050200923A1 (en) | Image generation for editing and generating images by processing graphic data forming images | |
JP2006172021A (en) | Image processing apparatus and image processing method | |
JP2006343977A (en) | Image processor and image composition apparatus; and image processing program and image composition program | |
CN100536549C (en) | Apparatus, method and program for information processing | |
JP4437996B2 (en) | Index print creation method, apparatus, and program | |
US20060055984A1 (en) | Image processing apparatus, image processing method and program | |
JP4605345B2 (en) | Image processing method and apparatus | |
JP4039412B2 (en) | Image processing method, image processing program, and image processing apparatus | |
JP2006005766A (en) | Image processing method and device | |
JP2002232682A (en) | Picture data output device and picture data output program | |
JP4034012B2 (en) | Image processing apparatus, image processing method, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20070115 |