[go: up one dir, main page]

JP2008065670A - Image layout apparatus and method, and program - Google Patents

Image layout apparatus and method, and program Download PDF

Info

Publication number
JP2008065670A
JP2008065670A JP2006243854A JP2006243854A JP2008065670A JP 2008065670 A JP2008065670 A JP 2008065670A JP 2006243854 A JP2006243854 A JP 2006243854A JP 2006243854 A JP2006243854 A JP 2006243854A JP 2008065670 A JP2008065670 A JP 2008065670A
Authority
JP
Japan
Prior art keywords
image
layout
images
key
group
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
JP2006243854A
Other languages
Japanese (ja)
Inventor
Toshitsugu Fukushima
敏貢 福島
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2006243854A priority Critical patent/JP2008065670A/en
Publication of JP2008065670A publication Critical patent/JP2008065670A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

【課題】複数の画像をレイアウトする際に、統一感のあるレイアウト画像や多様な画像からなるレイアウト画像を得ることができるようにする。
【解決手段】入力部20により、互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付ける。画像選択部34は、レイアウト領域にレイアウトする画像を、キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択する。そして、レイアウト部36が、キー画像および選択された画像をレイアウト領域にレイアウトする。
【選択図】図1
When a plurality of images are laid out, a layout image having a sense of unity and a layout image composed of various images can be obtained.
An input unit 20 receives selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified. The image selection unit 34 selects one image to be laid out in the layout area from a group different from the group into which the key images are classified. The layout unit 36 lays out the key image and the selected image in the layout area.
[Selection] Figure 1

Description

本発明は、複数のレイアウト領域を有するテンプレートに画像をレイアウトする画像レイアウト装置および方法並びに画像レイアウト方法をコンピュータに実行させるためのプログラムに関するものである。   The present invention relates to an image layout apparatus and method for laying out an image on a template having a plurality of layout areas, and a program for causing a computer to execute the image layout method.

撮影により取得した画像を編集する際に、複数の画像を1つのテンプレートにレイアウトして装飾性の高い画像を作成する場合がある。このようにテンプレートにレイアウトする画像を選択するためには、最終的に得られる画像の見栄えをよくするように、作業者が複数の画像を確認しながらレイアウトに使用する画像を選択する必要があるため、作業者の負担が大きい。   When editing an image acquired by shooting, a plurality of images may be laid out in a single template to create a highly decorative image. In order to select an image to be laid out in the template as described above, it is necessary for an operator to select an image to be used for layout while confirming a plurality of images so as to improve the appearance of the finally obtained image. Therefore, the burden on the worker is large.

このため、レイアウトに使用する画像を自動で選択するための各種手法が提案されている。例えば、あらかじめ定められた対称性を有する複数のレイアウト領域に画像をレイアウトする際に、顔を含む画像を所定のレイアウト領域に配置した後、その画像に含まれる顔の顔面積および顔分散値が近似する画像を、その画像に対して対称の位置関係となるように配置する手法が提案されている(特許文献1参照)。また、テンプレートに含まれるレイアウト領域に関連づけられたレイアウト順序情報を取得し、レイアウトする画像の注目度を算出し、レイアウト順序情報と算出した注目度の順序とに従って画像をレイアウトする手法も提案されている(特許文献2参照)。   For this reason, various methods for automatically selecting an image to be used for layout have been proposed. For example, when an image is laid out in a plurality of layout areas having a predetermined symmetry, after an image including a face is placed in a predetermined layout area, the face area and face variance value of the face included in the image are determined. A method has been proposed in which approximate images are arranged so as to have a symmetrical positional relationship with the images (see Patent Document 1). Also proposed is a method of acquiring layout order information associated with a layout area included in a template, calculating the attention level of the image to be laid out, and laying out the image according to the layout order information and the calculated order of attention level. (See Patent Document 2).

これらの手法によれば、作業者が煩わしい作業を行わなくてもレイアウトに使用する画像を選択してテンプレートにレイアウトすることができる。
特開2005−190401号公報 特開2004−234500号公報
According to these methods, an image to be used for layout can be selected and laid out on a template without an operator having to perform troublesome work.
JP-A-2005-190401 JP 2004-234500 A

しかしながら、上記特許文献1に記載された手法においては、対称性を維持したバランスのよいレイアウト画像を得ることができるが、画像の対称性を考慮しているのみであるため、統一感のあるレイアウト画像や多様な画像からなるレイアウト画像を得ることができない。また、特許文献2に記載された手法においては、レイアウトの順序を定めているのみであるため、特許文献1に記載の手法と同様に、統一感のあるレイアウト画像や多様な画像からなるレイアウト画像を得ることができない。   However, in the method described in Patent Document 1, a well-balanced layout image that maintains symmetry can be obtained. However, since only the symmetry of the image is taken into consideration, a layout with a sense of unity is provided. A layout image composed of images and various images cannot be obtained. In addition, since the method described in Patent Document 2 only determines the order of layouts, as with the method described in Patent Document 1, a layout image having a sense of unity and a variety of images are included. Can't get.

本発明は上記事情に鑑みなされたものであり、統一感のあるレイアウト画像や多様な画像からなるレイアウト画像を得ることができるようにすることを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to obtain a layout image having a sense of unity and a layout image composed of various images.

本発明による第1の画像レイアウト装置は、互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付ける選択受付手段と、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択する画像選択手段と、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトするレイアウト手段とを備えたことを特徴とするものである。
A first image layout apparatus according to the present invention includes: a selection receiving unit that receives selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified;
Image selecting means for selecting images to be laid out in the layout area one by one from a group different from the group into which the key images are classified;
And a layout means for laying out the key image and the selected image in the layout area.

なお、本発明による第1の画像レイアウト装置においては、前記画像選択手段を、前記キー画像が分類されたグループとは異なるグループのそれぞれから、前記キー画像との類似度が最も低い画像を選択する手段としてもよい。   In the first image layout apparatus according to the present invention, the image selection means selects an image having the lowest similarity with the key image from each of the groups different from the group into which the key image is classified. It may be a means.

ここで、画像が分類されたグループ数がレイアウト領域の数以上の場合には、キー画像が分類されたグループとは異なるグループのそれぞれから、キー画像との類似度が最も低い画像を、キー画像との類似度が低い順に選択すればよい。一方、グループ数がレイアウト領域の数よりも少ない場合には、すべてのグループから1つずつ画像を選択した後、すでに画像を選択したグループのそれぞれから、キー画像との類似度が次に低い画像を、キー画像との類似度が低い順に選択して、キー画像および選択された画像の数をレイアウト領域の数と一致させればよい。   Here, when the number of groups into which the images are classified is equal to or greater than the number of layout areas, an image having the lowest similarity to the key image is selected from each of the groups different from the group into which the key image is classified. May be selected in ascending order of similarity. On the other hand, when the number of groups is smaller than the number of layout areas, images having the next lowest similarity with the key image are selected from each of the groups for which images have already been selected after selecting images one by one from all groups. Are selected in descending order of similarity to the key image, and the number of key images and selected images may be made to match the number of layout areas.

また、本発明による第1の画像レイアウト装置においては、前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループと同一のグループから選択する他の画像選択手段と、
前記画像選択手段および前記他の画像選択手段のいずれかを指定する指定手段とをさらに備えるものとし、
該指定手段による指定結果に応じて、前記画像選択手段または前記他の画像選択手段により前記レイアウト領域にレイアウトする画像を選択するようにしてもよい。
Further, in the first image layout device according to the present invention, another image selection means for selecting an image to be laid out in the layout area from the same group as the group into which the key images are classified,
And further comprising a specifying means for specifying any of the image selecting means and the other image selecting means,
An image to be laid out in the layout area may be selected by the image selection unit or the other image selection unit according to the designation result by the designation unit.

この場合、前記他の画像選択手段を、前記キー画像が分類されたグループと同一のグループから、前記キー画像との類似度が高い順に前記画像を選択する手段としてもよい。   In this case, the other image selecting means may be means for selecting the images in the descending order of similarity to the key image from the same group as the group into which the key images are classified.

なお、キー画像が分類されたグループの画像数がレイアウト領域の数以上の場合には、キー画像との類似度が高い順に画像を選択すればよい。一方、キー画像が分類されたグループの画像数がレイアウト領域の数よりも少ない場合には、キー画像が分類されたグループからすべての画像を選択した後、他のグループからキー画像との類似度が高い画像を選択し、その画像が属するグループからキー画像との類似度が高い順に画像を選択して、キー画像および選択された画像の数をレイアウト領域の数と一致させればよい。   When the number of images in the group into which the key images are classified is equal to or greater than the number of layout areas, the images may be selected in descending order of similarity to the key images. On the other hand, if the number of images in the group into which the key image is classified is smaller than the number of layout areas, after selecting all images from the group into which the key image is classified, the similarity to the key image from other groups It is only necessary to select an image with a high image quality, select an image in descending order of similarity to the key image from the group to which the image belongs, and match the number of the key image and the selected image with the number of layout areas.

また、本発明による第1の画像レイアウト装置においては、前記レイアウト手段を、あらかじめ定められた順序にて前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトする手段としてもよい。   In the first image layout apparatus according to the present invention, the layout means may be means for laying out the key image and the selected image in the layout area in a predetermined order.

本発明による第2の画像レイアウト装置は、互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付ける選択受付手段と、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループと同一のグループから選択する画像選択手段と、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトするレイアウト手段とを備えたことを特徴とするものである。
A second image layout apparatus according to the present invention includes a selection receiving unit that receives selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified.
Image selecting means for selecting an image to be laid out in the layout area from the same group as the group into which the key images are classified;
And a layout means for laying out the key image and the selected image in the layout area.

なお、本発明による第2の画像レイアウト装置においては、前記画像選択手段を、前記キー画像が分類されたグループと同一のグループから、前記キー画像との類似度が高い順に前記画像を選択する手段としてもよい。   In the second image layout apparatus according to the present invention, the image selecting means selects the images from the same group as the group into which the key images are classified in descending order of similarity to the key images. It is good.

また、本発明による第2の画像レイアウト装置においては、前記レイアウト手段を、あらかじめ定められた順序にて前記キー画像および前記選択された画像をレイアウトする手段としてもよい。   In the second image layout device according to the present invention, the layout means may be means for laying out the key image and the selected image in a predetermined order.

本発明による第1の画像レイアウト方法は、互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付け、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択し、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトすることを特徴とするものである。
The first image layout method according to the present invention accepts selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified,
The images to be laid out in the layout area are selected one by one from a group different from the group into which the key images are classified, respectively.
The key image and the selected image are laid out in the layout area.

なお、本発明による第1の画像レイアウト方法においては、前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択するか、前記キー画像が分類されたグループと同一のグループから選択するかの指定を受け付け、
該指定結果に応じて、前記レイアウト領域にレイアウトする画像を選択するようにしてもよい。
In the first image layout method according to the present invention, the images to be laid out in the layout area are selected one by one from a group different from the group into which the key images are classified, or the key images are classified. Accepts whether to select from the same group as
An image to be laid out in the layout area may be selected according to the designation result.

本発明による第2の画像レイアウト方法は、互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付け、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループと同一のグループから選択し、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトすることを特徴とするものである。
The second image layout method according to the present invention accepts selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified,
An image to be laid out in the layout area is selected from the same group as the group into which the key images are classified,
The key image and the selected image are laid out in the layout area.

なお、本発明による第1および第2の画像レイアウト方法をコンピュータに実行させるためのプログラムとして提供してもよい。   Note that the first and second image layout methods according to the present invention may be provided as programs for causing a computer to execute them.

本発明の第1の画像レイアウト装置および方法によれば、1つのキー画像の選択が受け付けられ、レイアウト領域にレイアウトする画像が、キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択され、キー画像および選択された画像がレイアウト領域にレイアウトされる。このため、作業者は煩わしい作業を行わなくても、互いに類似しない多様な画像がレイアウトされたレイアウト画像を得ることができる。   According to the first image layout apparatus and method of the present invention, selection of one key image is accepted, and images to be laid out in the layout area are selected one by one from a group different from the group into which the key images are classified. The key image and the selected image are laid out in the layout area. For this reason, the operator can obtain a layout image in which various images that are not similar to each other are laid out without performing a troublesome work.

また、レイアウト領域にレイアウトする画像を、キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択するか、キー画像が分類されたグループと同一のグループから選択するかの指定を受け付け、指定結果に応じてレイアウト領域にレイアウトする画像を選択することにより、互いに類似しない多様な画像がレイアウトされたレイアウト画像または互いに類似する画像がレイアウトされた統一感のあるレイアウト画像のいずれかを得ることができる。   In addition, it accepts designation of selecting an image to be laid out in the layout area, one each from a group different from the group into which the key image is classified, or from the same group as the group into which the key image is classified, By selecting an image to be laid out in the layout area according to the specified result, either a layout image in which various images that are not similar to each other are laid out or a unified layout image in which images that are similar to each other are laid out is obtained. Can do.

本発明の第2の画像レイアウト装置および方法によれば、1つのキー画像の選択が受け付けられ、レイアウト領域にレイアウトする画像が、キー画像が分類されたグループと同一のグループから選択され、キー画像および選択された画像がレイアウト領域にレイアウトされる。このため、作業者は煩わしい作業を行わなくても、互いに類似する画像がレイアウトされた統一感のあるレイアウト画像を得ることができる。   According to the second image layout apparatus and method of the present invention, selection of one key image is accepted, an image to be laid out in the layout area is selected from the same group as the group into which the key image is classified, and the key image The selected image is laid out in the layout area. Therefore, the operator can obtain a unified layout image in which images similar to each other are laid out without performing a troublesome work.

以下、図面を参照して本発明の実施形態について説明する。図1は本発明の第1の実施形態による画像レイアウト装置の構成を示す概略ブロック図である。図1に示すように第1の実施形態による画像レイアウト装置1は、画像データの記録制御および表示制御等の各種制御を行うとともに、装置1を構成する各部の制御を行うCPU12と、CPU12を動作させるプログラム、および各種定数が記録されているROMおよびCPU12が処理を実行する際の作業領域となるRAMにより構成されるシステムメモリ14と、各種表示を行う液晶モニタ等からなる表示部16と、表示部16を制御する表示制御部18と、種々の指示を装置1に対して行うためのキーボード、マウスおよびタッチパネル等からなる入力部20と、入力部20を制御する入力制御部22とを備える。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram showing the configuration of an image layout apparatus according to the first embodiment of the present invention. As shown in FIG. 1, the image layout apparatus 1 according to the first embodiment performs various controls such as recording control and display control of image data, and controls each part of the apparatus 1 and operates the CPU 12. A system memory 14 composed of a ROM for recording programs and various constants and a RAM serving as a work area when the CPU 12 executes processing, a display unit 16 composed of a liquid crystal monitor for performing various displays, and a display The display control unit 18 that controls the unit 16, the input unit 20 including a keyboard, a mouse, and a touch panel for performing various instructions to the apparatus 1, and the input control unit 22 that controls the input unit 20 are provided.

また、画像レイアウト装置1は、画像を表す画像データを記録したメモリカード等のメディアから画像データを読み出したり画像データをメディアに記録したりするための画像読込部24と、画像読込部24を制御する画像読込制御部26と、読み込んだ画像を保存する画像データベース(DB)28と、画像をレイアウトするためのテンプレートを保存するテンプレートデータベース(DB)30と、画像読込部24が読み込んだ画像とすでに画像DB28に保存されている画像との類似度を算出する類似度算出部32とを備える。なお、画像DB28には複数の画像が類似度に応じて、互いに類似する画像からなる複数のグループに分類されている。   The image layout apparatus 1 controls the image reading unit 24 for reading image data from a medium such as a memory card in which image data representing an image is recorded and recording the image data on the medium, and the image reading unit 24. The image reading control unit 26 to store, the image database (DB) 28 to store the read image, the template database (DB) 30 to store the template for laying out the image, the image read by the image reading unit 24 and the image already read A similarity calculation unit 32 that calculates the similarity with the image stored in the image DB 28; In the image DB 28, a plurality of images are classified into a plurality of groups consisting of images similar to each other according to the degree of similarity.

ここで、類似度算出部32は、新たに読み込んだ画像と画像DB28に保存されているすべての画像との類似度を算出する。画像DB28は類似度算出部32が算出した類似度に応じて、互いに類似する画像が属するグループに新たに読み込んだ画像を分類して保存する。なお、類似度算出部32は、画像の選択を行う際にも後述するように類似度を算出する。   Here, the similarity calculation unit 32 calculates the similarity between the newly read image and all the images stored in the image DB 28. The image DB 28 classifies and stores newly read images in groups to which images similar to each other belong according to the similarity calculated by the similarity calculation unit 32. The similarity calculation unit 32 also calculates the similarity as will be described later when selecting an image.

なお、類似度の算出は、例えば特開平11−203477号公報に記載されているように、新たに読み込んだ画像上の各画素の特徴ベクトルと、画像DB28に保存されている画像の特徴ベクトルとの距離を類似度として算出する手法を用いればよいが、これに限定されるものではなく、公知の各種手法を用いることができる。   For example, as described in Japanese Patent Application Laid-Open No. 11-203477, the similarity is calculated using the feature vector of each pixel on the newly read image and the feature vector of the image stored in the image DB 28. However, the method is not limited to this, and various known methods can be used.

また、画像レイアウト装置1は、後述するように作業者により選択されたキー画像が分類されたグループとは異なるグループのそれぞれから、キー画像との類似度が最も低い画像を選択する画像選択部34と、選択された画像を、後述するように選択されたテンプレートのレイアウト領域にレイアウトしてレイアウト画像を生成するレイアウト部36とを備える。なお、画像選択部34が選択する画像の数はあらかじめ入力部20から入力されているものとする。   Further, the image layout device 1 selects an image having the lowest similarity with the key image from each of the groups different from the group into which the key image selected by the operator is classified as described later. And a layout unit 36 that generates a layout image by laying out the selected image in the layout area of the selected template as will be described later. It is assumed that the number of images selected by the image selection unit 34 is input from the input unit 20 in advance.

さらに、画像レイアウト装置1は、プリンタ38と、プリンタ38を制御するプリンタ制御部40とを備える。   The image layout apparatus 1 further includes a printer 38 and a printer control unit 40 that controls the printer 38.

以下、第1の実施形態において行われる処理について説明する。図2は第1の実施形態において行われる処理を示すフローチャートである。なお、レイアウトに使用する画像はメディアから読み出されて画像DB28に保存されているものとする。作業者が画像のレイアウトの指示を入力部20から行うことによりCPU12が処理を開始し、レイアウトする画像の枚数を入力するための枚数入力画面を表示部16に表示する(ステップST1)。   Hereinafter, processing performed in the first embodiment will be described. FIG. 2 is a flowchart showing processing performed in the first embodiment. It is assumed that the images used for the layout are read from the media and stored in the image DB 28. When the operator issues an image layout instruction from the input unit 20, the CPU 12 starts processing, and a number input screen for inputting the number of images to be laid out is displayed on the display unit 16 (step ST1).

図3は第1の実施形態における枚数入力画面を示す図である。図3に示すように枚数入力画面100には、レイアウトに使用する画像の枚数を入力するための枚数入力ボックス102と、確定ボタン104とが表示されている。作業者は枚数入力ボックス102にレイアウトに使用する画像の枚数を入力し、確定ボタン104を押下することにより、レイアウトに使用する画像の枚数を装置1に入力することができる。   FIG. 3 is a diagram showing a number input screen in the first embodiment. As shown in FIG. 3, the number input screen 100 displays a number input box 102 for inputting the number of images to be used for layout and a confirmation button 104. The operator can input the number of images used for the layout into the apparatus 1 by inputting the number of images used for the layout in the number input box 102 and pressing the confirm button 104.

次いで、CPU12は画像枚数の入力がなされたか否かの監視を開始し(ステップST2)、ステップST2が肯定されると、キー画像を選択するための画像選択画面を表示部16に表示する(ステップST3)。   Next, the CPU 12 starts monitoring whether or not the number of images has been input (step ST2). When step ST2 is affirmed, an image selection screen for selecting a key image is displayed on the display unit 16 (step ST2). ST3).

図4は画像選択画面を示す図である。図4に示すように画像選択画面110には、画像DB28に保存された画像のサムネイル画像の一覧を表示する一覧表示エリア112と、一覧表示エリア112をスクロールするためのスクロールバー114と、選択した画像を確定するための確定ボタン116とが表示されている。作業者は一覧表示エリア112に表示されたサムネイル画像の一覧から所望とする1つの画像を指定して確定ボタン116を押下することにより、指定した画像をキー画像として選択することができる。   FIG. 4 is a diagram showing an image selection screen. As shown in FIG. 4, the image selection screen 110 has a list display area 112 for displaying a list of thumbnail images of images stored in the image DB 28, a scroll bar 114 for scrolling the list display area 112, and a selected one. A confirmation button 116 for confirming the image is displayed. The operator can select a designated image as a key image by designating one desired image from the list of thumbnail images displayed in the list display area 112 and pressing the confirm button 116.

続いて、キー画像が選択されたか否かの監視を開始し(ステップST4)、ステップST4が肯定されると、類似度算出部32がキー画像と画像DB28に保存されている各グループに分類された画像との類似度を算出し(ステップST5)、画像選択部34がキー画像が分類されたグループとは異なるグループからそれぞれ1つずつ画像を選択する(ステップST6)。具体的には、キー画像が分類されたグループとは異なるグループのそれぞれから、キー画像との類似度が最も低い画像を選択する。   Subsequently, monitoring of whether or not a key image has been selected is started (step ST4). When step ST4 is affirmed, the similarity calculation unit 32 is classified into groups stored in the key image and the image DB 28. The image similarity is calculated (step ST5), and the image selection unit 34 selects one image each from a group different from the group into which the key images are classified (step ST6). Specifically, an image having the lowest similarity with the key image is selected from each of the groups different from the group into which the key image is classified.

なお、画像DB28において、画像が分類されているグループ数が入力された画像枚数(すなわち、後述するテンプレートのレイアウト領域の数)以上の場合には、キー画像が分類されたグループとは異なるグループのそれぞれから、キー画像との類似度が最も低い画像を、キー画像との類似度が低い順に選択すればよい。一方、グループ数が入力された画像枚数よりも少ない場合には、すべてのグループから1つずつ画像を選択した後、すでに画像を選択したグループのそれぞれから、キー画像との類似度が次に低い画像を、キー画像との類似度が低い順に選択して、キー画像および選択された画像の数を入力された画像枚数と一致させればよい。   In the image DB 28, if the number of groups into which the images are classified is equal to or greater than the number of input images (that is, the number of template layout areas described later), a group different from the group into which the key images are classified. The image having the lowest degree of similarity to the key image may be selected from each in the order of the degree of similarity to the key image. On the other hand, if the number of groups is less than the number of input images, after selecting images one by one from all the groups, the similarity to the key image is the next lowest from each group that has already selected images. Images may be selected in ascending order of similarity to key images, and the number of key images and selected images may be made to match the number of input images.

図5は画像の分類を説明するための図、図6は第1の実施形態における画像の選択を説明するための図である。本実施形態においては、図5に示すように、画像DB28には15枚の画像S1〜S15が登録されており、画像S1〜S3がグループG1、画像S4,S5がグループG2、画像S6,S7がグループG3、画像S8,S9がグループG4、画像S10〜S15がそれぞれグループG5〜G10に分類されているものとする。   FIG. 5 is a diagram for explaining classification of images, and FIG. 6 is a diagram for explaining selection of images in the first embodiment. In this embodiment, as shown in FIG. 5, 15 images S1 to S15 are registered in the image DB 28, the images S1 to S3 are the group G1, the images S4 and S5 are the group G2, and the images S6 and S7. Are group G3, images S8 and S9 are classified into group G4, and images S10 to S15 are classified into groups G5 to G10, respectively.

ここで、キー画像として画像S2が選択され、レイアウトに使用する画像の枚数が3枚であるとする。そして、算出された画像S2と他の画像S1,S3〜S15との類似度が、画像S14,S15,S13,S12,S10,S11,S8,S9,S7,S6,S5,S4,S3,S1順で低い(すなわち画像S14が最も類似度が低い)とすると、画像選択部34は、図6(a)に示すように、画像S14,S15をレイアウトに使用する画像として選択する。なお、レイアウトに使用する画像が10枚である場合、画像選択部34は、図6(b)に示すように、画像S14,S15,S13,S12,S10,S11,S8,S9,S7をレイアウトに使用する画像として選択する。   Here, it is assumed that the image S2 is selected as the key image and the number of images used for the layout is three. Then, the similarity between the calculated image S2 and the other images S1, S3 to S15 is the image S14, S15, S13, S12, S10, S11, S8, S9, S7, S6, S5, S4, S3, S1. If the order is low (that is, the image S14 has the lowest similarity), the image selection unit 34 selects the images S14 and S15 as images to be used for the layout, as shown in FIG. When ten images are used for layout, the image selection unit 34 lays out images S14, S15, S13, S12, S10, S11, S8, S9, and S7 as shown in FIG. 6B. Select as the image to use.

続いて、レイアウト部36が、キー画像および選択された画像をテンプレートのレイアウト領域にレイアウトし(ステップST7)、これにより生成されたレイアウト画像を表示部16に表示する(ステップST8)。なお、ステップST2において入力された画像枚数に応じたレイアウト領域を有するテンプレートが、テンプレートDB30から選択されている。本実施形態においては、入力した画像枚数が3枚であるため、図7に示すように3つのレイアウト領域L1〜L3を有するテンプレート120が選択されているものとする。一方、テンプレートDB30に保存されているテンプレートの一覧を表示部16に表示し、作業者に所望とするテンプレートを選択させるようにしてもよい。   Subsequently, the layout unit 36 lays out the key image and the selected image in the layout area of the template (step ST7), and displays the layout image generated thereby on the display unit 16 (step ST8). Note that a template having a layout area corresponding to the number of images input in step ST2 is selected from the template DB 30. In the present embodiment, since the number of input images is 3, it is assumed that a template 120 having three layout areas L1 to L3 is selected as shown in FIG. On the other hand, a list of templates stored in the template DB 30 may be displayed on the display unit 16 to allow the operator to select a desired template.

ここで、テンプレート120のレイアウト領域L1〜L3はこの順序にてサイズが小さくなり、かつ各レイアウト領域L1〜L3にはL1,L2,L3の順序にて画像を挿入する優先順位が設定されている。レイアウト部36はキー画像である画像S2を優先順位が最も高いレイアウト領域L1に、次にキー画像と最も類似度が低い画像S14をレイアウト領域L2に、次に類似度が低い画像S15をレイアウト領域L3にそれぞれ挿入して、図8に示すようにレイアウト画像130を生成する。   Here, the layout areas L1 to L3 of the template 120 are reduced in size in this order, and the priority order for inserting images in the order of L1, L2, and L3 is set in each layout area L1 to L3. . The layout unit 36 assigns the image S2, which is a key image, to the layout region L1 having the highest priority, the image S14 having the lowest similarity to the key image to the layout region L2, and the image S15 having the next lowest similarity to the layout region. A layout image 130 is generated as shown in FIG.

なお、作業者は表示部16に表示されたレイアウト画像130を見て、使用する画像を入れ替えたり、文字を加えたりする等の編集指示を入力部20を用いてレイアウト画像130に行うことができる。このため、CPU12は編集指示がなされたか否かを判定し(ステップST9)、ステップST9が肯定されると作業者の指示内容に応じた編集を行い(ステップST10)、ステップST8に戻る。ステップST9が否定されると、生成されたレイアウト画像130を画像DB28に保存し(ステップST11)、処理を終了する。   Note that the operator can view the layout image 130 displayed on the display unit 16, and use the input unit 20 to perform an editing instruction on the layout image 130 such as changing the image to be used or adding characters. . For this reason, the CPU 12 determines whether or not an editing instruction has been made (step ST9). If step ST9 is affirmed, the CPU 12 performs editing according to the instruction content of the operator (step ST10), and the process returns to step ST8. If step ST9 is negative, the generated layout image 130 is stored in the image DB 28 (step ST11), and the process ends.

なお、保存されたレイアウト画像130は、プリンタ38からプリントアウトしたり、画像読込部24からメディアに記録したりすることができる。   The stored layout image 130 can be printed out from the printer 38 or recorded on a medium from the image reading unit 24.

このように、第1の実施形態においては、レイアウトに使用する画像を、キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択し、キー画像および選択された画像をテンプレートのレイアウト領域にレイアウトするようにしたため、作業者は煩わしい作業を行わなくても、互いに類似しない多様な画像がレイアウトされたレイアウト画像を得ることができる。   As described above, in the first embodiment, images to be used for layout are selected one by one from a group different from the group into which the key images are classified, and the key image and the selected image are selected as the layout area of the template. Therefore, the operator can obtain a layout image in which a variety of images that are not similar to each other are laid out without performing troublesome work.

次いで、本発明の第2の実施形態について説明する。図9は本発明の第2の実施形態による画像レイアウト装置の構成を示す概略ブロック図である。なお、第2の実施形態において第1の実施形態と同一の構成については同一の参照番号を付与し、詳細な説明は省略する。第2の実施形態による画像レイアウト装置1Aは、第1の実施形態における画像選択部34とは異なる態様にて画像を選択する画像選択部42を備えた点が第1の実施形態と異なる。   Next, a second embodiment of the present invention will be described. FIG. 9 is a schematic block diagram showing the configuration of the image layout apparatus according to the second embodiment of the present invention. Note that in the second embodiment, the same reference numerals are assigned to the same components as those in the first embodiment, and detailed description thereof is omitted. The image layout apparatus 1A according to the second embodiment is different from the first embodiment in that the image layout apparatus 1A includes an image selection unit 42 that selects an image in a manner different from the image selection unit 34 in the first embodiment.

第2の実施形態における画像選択部42は、キー画像が分類されたグループと同一のグループから、キー画像との類似度が高い順に画像を選択するようにしたものである。   The image selection unit 42 according to the second embodiment is configured to select images in the descending order of similarity to the key image from the same group as the group into which the key image is classified.

以下、第2の実施形態において行われる処理について説明する。図10は第2の実施形態において行われる処理を示すフローチャートである。なお、レイアウトに使用する画像はメディアから読み出されて画像DB28に保存されているものとする。作業者が画像のレイアウトの指示を入力部20から行うことによりCPU12が処理を開始し、第1の実施形態と同様に、レイアウトする画像の枚数を入力するための枚数入力画面を表示部16に表示する(ステップST21)。   Hereinafter, processing performed in the second embodiment will be described. FIG. 10 is a flowchart showing processing performed in the second embodiment. It is assumed that the images used for the layout are read from the media and stored in the image DB 28. The CPU 12 starts processing when the operator gives an image layout instruction from the input unit 20, and a number input screen for inputting the number of images to be laid out is displayed on the display unit 16 as in the first embodiment. Displayed (step ST21).

次いで、CPU12は画像枚数の入力がなされたか否かの監視を開始し(ステップST22)、ステップST22が肯定されると、第1の実施形態と同様にキー画像を選択するための画像選択画面を表示部16に表示する(ステップST23)。   Next, the CPU 12 starts monitoring whether or not the number of images has been input (step ST22). If step ST22 is affirmed, an image selection screen for selecting a key image is displayed as in the first embodiment. It displays on the display part 16 (step ST23).

続いて、キー画像が選択されたか否かの監視を開始し(ステップST24)、ステップST24が肯定されると、類似度算出部32がキー画像と画像DB28に保存されている各グループに分類された画像との類似度を算出し(ステップST25)、画像選択部42がキー画像が分類されたグループと同一のグループから画像を選択する(ステップST26)。具体的には、キー画像が分類されたグループと同一のグループに分類された画像のうち、キー画像との類似度が最も高い画像から順に画像を選択する。   Subsequently, monitoring of whether or not a key image has been selected is started (step ST24). When step ST24 is affirmed, the similarity calculation unit 32 is classified into groups stored in the key image and the image DB 28. The degree of similarity with the image is calculated (step ST25), and the image selection unit 42 selects an image from the same group as the group into which the key images are classified (step ST26). Specifically, among the images classified into the same group as the group into which the key image is classified, images are selected in order from the image having the highest similarity with the key image.

なお、キー画像が分類されたグループの画像数が入力された画像枚数(すなわち、テンプレートのレイアウト領域の数)以上の場合には、キー画像との類似度が高い順に画像を選択すればよい。一方、キー画像が分類されたグループの画像数が入力された画像枚数よりも少ない場合には、キー画像が分類されたグループからすべての画像を選択した後、他のグループからキー画像との類似度が高い画像を選択し、その画像が属するグループからキー画像との類似度が高い順に画像を選択して、キー画像および選択された画像の数を入力された画像枚数と一致させればよい。   If the number of images in the group into which the key images are classified is equal to or greater than the number of input images (that is, the number of template layout areas), the images may be selected in descending order of similarity to the key images. On the other hand, if the number of images in the group into which the key image is classified is smaller than the number of input images, all images are selected from the group into which the key image is classified and then similar to the key image from other groups. Select an image with a high degree, select an image from the group to which the image belongs, in descending order of similarity to the key image, and match the number of key images and selected images with the number of input images. .

図11は第2の実施形態における画像の選択を説明するための図である。なお、画像DB28に保存されている画像は第1の実施形態と同様に分類されているものとする。ここで、キー画像として画像S2が選択され、レイアウトに使用する画像の枚数が3枚であるとすると、画像選択部42は、図11(a)に示すように、画像S2と同一のグループG1に分類されている画像S1,S3(S1,S3は画像S2との類似度が高い順序)をレイアウトに使用する画像として選択する。なお、レイアウトに使用する画像が5枚である場合、画像選択部42は、図11(b)に示すように、まず画像S1,S3を選択し、さらに画像S2との類似度が高い画像S4が分類されているグループG2から、画像S2との類似度が高い順に画像S4,S5をレイアウトに使用する画像として選択する。   FIG. 11 is a diagram for explaining image selection in the second embodiment. Note that the images stored in the image DB 28 are classified in the same manner as in the first embodiment. Here, if the image S2 is selected as the key image and the number of images used for the layout is three, the image selection unit 42, as shown in FIG. 11A, has the same group G1 as the image S2. Images S1 and S3 (S1 and S3 are in the order of high similarity to the image S2) are selected as images to be used for the layout. When there are five images to be used for the layout, the image selection unit 42 first selects images S1 and S3 as shown in FIG. 11B, and further image S4 having a high degree of similarity with image S2. Images S4 and S5 are selected as images to be used in the layout in descending order of similarity to the image S2.

続いて、レイアウト部36が、キー画像および選択された画像をテンプレートのレイアウト領域にレイアウトし(ステップST27)、これにより生成されたレイアウト画像を表示部16に表示する(ステップST28)。第2の実施形態においても図7に示すように3つのレイアウト領域L1〜L3を有するテンプレート120が選択されているものとする。   Subsequently, the layout unit 36 lays out the key image and the selected image in the layout area of the template (step ST27), and displays the layout image generated thereby on the display unit 16 (step ST28). Also in the second embodiment, it is assumed that a template 120 having three layout regions L1 to L3 is selected as shown in FIG.

ここで、テンプレート120のレイアウト領域L1〜L3はこの順序にてサイズが小さくなり、かつ各レイアウト領域L1〜L3にはL1,L2,L3の順序にて画像を挿入する優先順位が設定されている。レイアウト部36はキー画像である画像S2を優先順位が最も高いレイアウト領域L1に、次にキー画像と最も類似度が高い画像S1をレイアウト領域L2に、次に類似度が高い画像S3をレイアウト領域L3にそれぞれ挿入して、図12に示すようにレイアウト画像140を生成する。   Here, the layout areas L1 to L3 of the template 120 are reduced in size in this order, and the priority order for inserting images in the order of L1, L2, and L3 is set in each layout area L1 to L3. . The layout unit 36 sets the image S2, which is a key image, to the layout region L1 having the highest priority, the image S1 having the next highest similarity to the key image to the layout region L2, and the image S3 having the next highest similarity to the layout region. A layout image 140 is generated as shown in FIG.

続いて、CPU12は編集指示がなされたか否かを判定し(ステップST29)、ステップST29が肯定されると作業者の指示内容に応じた編集を行い(ステップST30)、ステップST28に戻る。ステップST29が否定されると、生成されたレイアウト画像140を画像DB28に保存し(ステップST31)、処理を終了する。   Subsequently, the CPU 12 determines whether or not an editing instruction has been given (step ST29). If step ST29 is affirmed, the CPU 12 performs editing according to the contents of the operator's instruction (step ST30), and the process returns to step ST28. If step ST29 is negative, the generated layout image 140 is stored in the image DB 28 (step ST31), and the process ends.

なお、保存されたレイアウト画像140は、プリンタ38からプリントアウトしたり、画像読込部24からメディアに記録したりすることができる。   The stored layout image 140 can be printed out from the printer 38 or recorded on a medium from the image reading unit 24.

このように、第2の実施形態においては、レイアウト領域に対応する数の画像を、キー画像が分類されたグループと同一のグループから選択し、キー画像および選択された画像をレイアウト領域にレイアウトするようにしたため、作業者は煩わしい作業を行わなくても、互いに類似する画像がレイアウトされた統一感のあるレイアウト画像を得ることができる。   As described above, in the second embodiment, the number of images corresponding to the layout area is selected from the same group as the group into which the key image is classified, and the key image and the selected image are laid out in the layout area. Therefore, the operator can obtain a unified layout image in which similar images are laid out without performing troublesome work.

次いで、本発明の第3の実施形態について説明する。図13は本発明の第3の実施形態による画像レイアウト装置の構成を示す概略ブロック図である。なお、第3の実施形態において第1および第2の実施形態と同一の構成については同一の参照番号を付与し、詳細な説明は省略する。第3の実施形態による画像レイアウト装置1Bは、第1の実施形態における画像選択部34と、第2の実施形態における画像選択部42との双方を備え、いずれの画像選択部34,42を用いて画像の選択を行うかを作業者が指示できるようにした点が第1および第2の実施形態と異なる。   Next, a third embodiment of the present invention will be described. FIG. 13 is a schematic block diagram showing the configuration of an image layout apparatus according to the third embodiment of the present invention. In the third embodiment, the same components as those in the first and second embodiments are denoted by the same reference numerals, and detailed description thereof is omitted. The image layout device 1B according to the third embodiment includes both the image selection unit 34 in the first embodiment and the image selection unit 42 in the second embodiment, and any of the image selection units 34 and 42 is used. This is different from the first and second embodiments in that an operator can instruct whether to select an image.

以下、第3の実施形態において行われる処理について説明する。図14は第3の実施形態において行われる処理を示すフローチャートである。なお、レイアウトに使用する画像はメディアから読み出されて画像DB28に保存されているものとする。作業者が画像のレイアウトの指示を入力部20から行うことによりCPU12が処理を開始し、レイアウトする画像の枚数および画像選択指示を入力するための枚数入力画面を表示部16に表示する(ステップST41)。   Hereinafter, processing performed in the third embodiment will be described. FIG. 14 is a flowchart showing processing performed in the third embodiment. It is assumed that the images used for the layout are read from the media and stored in the image DB 28. When the operator issues an image layout instruction from the input unit 20, the CPU 12 starts processing, and a number input screen for inputting the number of images to be laid out and an image selection instruction is displayed on the display unit 16 (step ST41). ).

図15は第3の実施形態における枚数入力画面を示す図である。図15に示すように枚数入力画面150には、レイアウトに使用する画像の枚数を入力するための枚数入力ボックス152と、類似画像を使用して(すなわち画像選択部42を使用して)画像の選択を行う際にチェックする第1のチェックボックス154と、非類似画像を使用して(すなわち画像選択部34を使用して)画像の選択を行う際にチェックする第2のチェックボックス156と、確定ボタン158とが表示されている。作業者は枚数入力ボックス152にレイアウトに使用する画像の枚数を入力し、第1および第2のチェックボックス154,156のいずれかをチェックし、さらに確定ボタン158を押下することにより、画像選択指示(すなわち、レイアウトに使用する画像の枚数および類似画像および非類似画像のいずれを用いて画像を選択するかの指示)を装置1Bに入力することができる。   FIG. 15 is a diagram showing a number input screen in the third embodiment. As shown in FIG. 15, the number input screen 150 uses a number input box 152 for inputting the number of images to be used for layout and a similar image (that is, using the image selection unit 42). A first check box 154 that is checked when making a selection, a second check box 156 that is checked when selecting an image using a dissimilar image (that is, using the image selection unit 34), A confirmation button 158 is displayed. The operator inputs the number of images to be used for the layout in the number input box 152, checks one of the first and second check boxes 154 and 156, and further presses the confirm button 158 to instruct image selection. (That is, the number of images used for layout and an instruction to select an image using a similar image or a dissimilar image) can be input to the apparatus 1B.

次いで、CPU12は画像枚数および画像選択指示の入力がなされたか否かの監視を開始し(ステップST42)、ステップST42が肯定されると、第1の実施形態と同様にキー画像を選択するための画像選択画面を表示部16に表示する(ステップST43)。   Next, the CPU 12 starts monitoring whether or not the number of images and an image selection instruction have been input (step ST42). When step ST42 is affirmed, the CPU 12 selects a key image as in the first embodiment. An image selection screen is displayed on the display unit 16 (step ST43).

続いて、キー画像が選択されたか否かの監視を開始し(ステップST44)、ステップST44が肯定されると、類似度算出部32がキー画像と画像DB28に保存されている各グループに分類された画像との類似度を算出し(ステップST45)、画像選択の指示結果に応じて画像選択部34または画像選択部42が画像を選択する。なお、画像選択部34における画像選択の処理は上記第1の実施形態と、画像選択部42における画像選択の処理は上記第2の実施形態と同様であるため、ここでは詳細な説明は省略する。   Subsequently, monitoring of whether or not a key image has been selected is started (step ST44). When step ST44 is affirmed, the similarity calculation unit 32 is classified into groups stored in the key image and the image DB 28. The degree of similarity with the selected image is calculated (step ST45), and the image selection unit 34 or the image selection unit 42 selects an image in accordance with the image selection instruction result. The image selection process in the image selection unit 34 is the same as that in the first embodiment, and the image selection process in the image selection unit 42 is the same as in the second embodiment. Therefore, detailed description thereof is omitted here. .

続いて、レイアウト部36が、キー画像および選択された画像をテンプレートのレイアウト領域にレイアウトし(ステップST47)、これにより生成されたレイアウト画像を表示部16に表示する(ステップST48)。次いで、CPU12は編集指示がなされたか否かを判定し(ステップST49)、ステップST49が肯定されると作業者の指示内容に応じた編集を行い(ステップST50)、ステップST48に戻る。ステップST49が否定されると、生成されたレイアウト画像を画像DB28に保存し(ステップST51)、処理を終了する。   Subsequently, the layout unit 36 lays out the key image and the selected image in the layout area of the template (step ST47), and displays the layout image generated thereby on the display unit 16 (step ST48). Next, the CPU 12 determines whether or not an editing instruction has been made (step ST49). If step ST49 is affirmed, the CPU 12 performs editing according to the contents of the operator's instruction (step ST50), and the process returns to step ST48. If step ST49 is negative, the generated layout image is stored in the image DB 28 (step ST51), and the process ends.

なお、保存されたレイアウト画像は、プリンタ38からプリントアウトしたり、画像読込部24からメディアに記録したりすることができる。   The stored layout image can be printed out from the printer 38 or recorded on a medium from the image reading unit 24.

このように、第3の実施形態においては、レイアウト領域に対応する数の画像を、キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択するか、キー画像が分類されたグループと同一のグループから選択するかの指定を受け付け、指定結果に応じてレイアウト領域に対応する数の画像を選択するようにしたため、互いに類似しない多様な画像がレイアウトされたレイアウト画像または互いに類似する画像がレイアウトされた統一感のあるレイアウト画像のいずれかを得ることができる。   Thus, in the third embodiment, the number of images corresponding to the layout region is selected one by one from a group different from the group into which the key image is classified, or the group with the key image is classified. Since designation of whether to select from the same group is accepted and the number of images corresponding to the layout area is selected according to the designation result, layout images in which various images that are not similar to each other are laid out or images that are similar to each other are displayed. Any layout image with a sense of unity can be obtained.

なお、上記実施形態においては、レイアウトに使用する画像を図5に示すようにすべて横長で正視できる画像としているが、図16に示すように画像DB28には、横長で正視できる画像のみならず縦長で正視できる画像(ここでは、S3′,S8′)も含まれている。上記第1から第3の実施形態においてレイアウトに使用する画像として縦長の画像が選択された場合に、その画像をそのまま図3に示すようにテンプレートの横長のレイアウト領域に挿入すると、図17に示すように画像の両側に空白部分が形成されるため、レイアウト画像の見栄えが悪くなる。   In the above embodiment, the images used for the layout are all images that can be viewed in landscape orientation as shown in FIG. 5. However, in the image DB 28, as shown in FIG. The images (here, S3 ′ and S8 ′) that can be viewed normally are also included. When a vertically long image is selected as an image to be used for layout in the first to third embodiments, when the image is directly inserted into a horizontally long layout area as shown in FIG. 3, it is shown in FIG. Thus, blank portions are formed on both sides of the image, so that the appearance of the layout image is deteriorated.

このため、縦長の画像が選択された場合には、図18(a)に示すように縦長の画像S3′を拡大するとともに画像S3′の上下をカットすることにより得られた画像S3″をレイアウト領域に挿入したり、図18(b)に示すように、レイアウト領域を90度回転して縦長の画像S3′をそのままレイアウトできるようにすることが好ましい。   Therefore, when a vertically long image is selected, an image S3 ″ obtained by enlarging the vertically long image S3 ′ and cutting the top and bottom of the image S3 ′ as shown in FIG. 18A is laid out. It is preferable to insert the image into the region or rotate the layout region by 90 degrees so that the vertically long image S3 ′ can be laid out as it is, as shown in FIG.

なお、画像が縦長の画像か否かの判定は、画像のタグに付帯情報として記述された画像の天地を表す情報を使用すればよい。   Whether the image is a vertically long image may be determined by using information representing the top and bottom of the image described as supplementary information in the image tag.

また、類似度算出部32において画像DB28に保存されている画像との類似度を算出する際に、基準となる角度(例えば画像を横長とした状態を0度とする)からの回転角度を算出し、その回転角度の情報を付帯情報として画像のタグに記述し、この回転角度の情報を用いてレイアウト領域を基準となる角度からその回転角度に対応する角度回転させるようにしてもよい。なお、レイアウト領域の基準となる角度とは例えば図3に示すようにレイアウト領域L1〜L3が配置されている角度である。以下、類似度算出の際の回転角度の算出について説明する。   Further, when the similarity calculation unit 32 calculates the similarity with the image stored in the image DB 28, the rotation angle from the reference angle (for example, the state where the image is horizontally long is set to 0 degree) is calculated. Then, the information on the rotation angle may be described in the tag of the image as incidental information, and the layout area may be rotated by an angle corresponding to the rotation angle from the reference angle using the information on the rotation angle. The reference angle of the layout area is an angle at which the layout areas L1 to L3 are arranged as shown in FIG. 3, for example. Hereinafter, calculation of the rotation angle when calculating the similarity will be described.

図19は基準となる画像と類似度を判定する対象となる画像との回転角度についての類似度を判定する際に行われる処理のフローチャートである。類似画像が入力されることにより類似度算出部32が処理を開始し、類似度を判定する対象となる画像(以、判定対象画像とする)のサイズが基準となる画像(以下、基準画像とする)のサイズと一致するように、判定対象画像をリサイズする(ステップST61)。なお、基準画像としては横長で正視できる画像を用いることが好ましい。そして、判定対象画像を基準角度(0度)に回転し(ステップST62)、判定対象画像と基準画像との類似度を算出する(ステップST63)。なお、本実施形態においては、回転角度を10度刻みで0〜350度まで回転して類似度を算出するものとする。   FIG. 19 is a flowchart of processing performed when determining a similarity degree with respect to a rotation angle between a reference image and an image whose similarity is to be determined. When a similar image is input, the similarity calculation unit 32 starts processing, and an image based on the size of an image (hereinafter referred to as a determination target image) for determining the similarity (hereinafter referred to as a reference image). The size of the determination target image is resized to match the size of (Yes) (step ST61). In addition, it is preferable to use an image that can be viewed in landscape orientation as the reference image. Then, the determination target image is rotated to the reference angle (0 degree) (step ST62), and the similarity between the determination target image and the reference image is calculated (step ST63). In the present embodiment, the similarity is calculated by rotating the rotation angle from 0 to 350 degrees in increments of 10 degrees.

次いで、すべての回転角度について類似度を算出したか否かを判定し(ステップST64)、ステップST64が否定されると次の回転角度に判定対象画像を回転し(ステップST65)、ステップST63に戻り、ステップST63以降の処理を繰り返す。   Next, it is determined whether or not similarity is calculated for all rotation angles (step ST64). If step ST64 is negative, the determination target image is rotated to the next rotation angle (step ST65), and the process returns to step ST63. The processes after step ST63 are repeated.

ステップST64が肯定されると、各角度において算出した類似度を比較し(ステップST66)、最も大きい類似度を算出した回転角度を付帯情報として判定対象画像のタグに記述することにより判定対象画像に付与し(ステップST67)、処理を終了する。   If step ST64 is affirmed, the degrees of similarity calculated at each angle are compared (step ST66), and the rotation angle at which the largest degree of similarity is calculated is described as incidental information in the tag of the object image to be determined. (Step ST67), and the process ends.

これにより、レイアウトに使用する画像の回転角度を考慮して、レイアウト領域を回転して、画像をレイアウトすることができることとなる。   Thus, the layout area can be rotated in consideration of the rotation angle of the image used for the layout, and the image can be laid out.

以上、本発明の実施形態に係る装置1,1A,1Bについて説明したが、コンピュータを、上記の類似度算出部32、画像選択部34,42およびレイアウト部36に対応する手段として機能させ、図2,10,14に示すような処理を行わせるプログラムも、本発明の実施形態の1つである。また、そのようなプログラムを記録したコンピュータ読取り可能な記録媒体も、本発明の実施形態の1つである。   The devices 1, 1A, and 1B according to the embodiments of the present invention have been described above, but the computer is caused to function as a unit corresponding to the similarity calculation unit 32, the image selection units 34 and 42, and the layout unit 36. A program for performing processing as shown in 2, 10, and 14 is also one embodiment of the present invention. A computer-readable recording medium in which such a program is recorded is also one embodiment of the present invention.

本発明の第1の実施形態による画像レイアウト装置の構成を示す概略ブロック図1 is a schematic block diagram showing the configuration of an image layout apparatus according to a first embodiment of the present invention. 第1の実施形態において行われる処理を示すフローチャートThe flowchart which shows the process performed in 1st Embodiment. 第1の実施形態における枚数入力画面を示す図The figure which shows the number input screen in 1st Embodiment 画像選択画面を示す図Figure showing the image selection screen 画像の分類を説明するための図Illustration for explaining image classification 第1の実施形態における画像の選択を説明するための図The figure for demonstrating selection of the image in 1st Embodiment. 第1の実施形態において使用されるテンプレートを示す図The figure which shows the template used in 1st Embodiment. 第1の実施形態において生成されるレイアウト画像を示す図The figure which shows the layout image produced | generated in 1st Embodiment 本発明の第2の実施形態による画像レイアウト装置の構成を示す概略ブロック図Schematic block diagram showing the configuration of an image layout apparatus according to a second embodiment of the present invention 第2の実施形態において行われる処理を示すフローチャートThe flowchart which shows the process performed in 2nd Embodiment. 第2の実施形態における画像の選択を説明するための図The figure for demonstrating selection of the image in 2nd Embodiment. 第2の実施形態において生成されるレイアウト画像を示す図The figure which shows the layout image produced | generated in 2nd Embodiment 本発明の第3の実施形態による画像レイアウト装置の構成を示す概略ブロック図The schematic block diagram which shows the structure of the image layout apparatus by the 3rd Embodiment of this invention. 第3の実施形態において行われる処理を示すフローチャートThe flowchart which shows the process performed in 3rd Embodiment 第3の実施形態における枚数入力画面を示す図The figure which shows the number input screen in 3rd Embodiment 縦長の画像が含まれた場合の画像の分類を説明するための図The figure for explaining the classification of the image when the vertically long image is included 縦長の画像をレイアウトした状態を示す図The figure which shows the state which laid out the portrait image 縦長の画像を見栄えよくレイアウトした状態を示す図A figure showing a vertically laid out image 基準となる画像と類似度を判定する対象となる画像との回転角度についての類似度を判定する際に行われる処理のフローチャートThe flowchart of the process performed when determining the similarity with respect to the rotation angle between the reference image and the image whose similarity is to be determined

符号の説明Explanation of symbols

1,1A,1B 画像レイアウト装置
12 CPU
14 システムメモリ
16 表示部
18 表示制御部
20 入力部
22 入力制御部
24 画像読込部
26 画像読込制御部
28 画像DB
30 テンプレートDB
32 類似度算出部
34,42 画像選択部
36 レイアウト部
38 プリンタ
40 プリンタ制御部
1,1A, 1B Image layout device 12 CPU
14 System Memory 16 Display Unit 18 Display Control Unit 20 Input Unit 22 Input Control Unit 24 Image Reading Unit 26 Image Reading Control Unit 28 Image DB
30 Template DB
32 Similarity calculation unit 34, 42 Image selection unit 36 Layout unit 38 Printer 40 Printer control unit

Claims (14)

互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付ける選択受付手段と、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択する画像選択手段と、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトするレイアウト手段とを備えたことを特徴とする画像レイアウト装置。
Selection accepting means for accepting selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified;
Image selecting means for selecting images to be laid out in the layout area one by one from a group different from the group into which the key images are classified;
An image layout apparatus comprising: layout means for laying out the key image and the selected image in the layout area.
前記画像選択手段は、前記キー画像が分類されたグループとは異なるグループのそれぞれから、前記キー画像との類似度が最も低い画像を選択する手段であることを特徴とする請求項1記載の画像レイアウト装置。   2. The image according to claim 1, wherein the image selection means is a means for selecting an image having the lowest similarity with the key image from each of the groups different from the group into which the key image is classified. Layout device. 前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループと同一のグループから選択する他の画像選択手段と、
前記画像選択手段および前記他の画像選択手段のいずれかを指定する指定手段とをさらに備え、
該指定手段による指定結果に応じて、前記画像選択手段または前記他の画像選択手段により前記レイアウト領域にレイアウトする画像を選択することを特徴とする請求項1または2記載の画像レイアウト装置。
Other image selection means for selecting an image to be laid out in the layout area from the same group as the group into which the key images are classified,
Further comprising: designation means for designating any of the image selection means and the other image selection means,
3. The image layout apparatus according to claim 1, wherein an image to be laid out in the layout area is selected by the image selection unit or the other image selection unit according to a designation result by the designation unit.
前記他の画像選択手段は、前記キー画像が分類されたグループと同一のグループから、前記キー画像との類似度が高い順に前記画像を選択する手段であることを特徴とする請求項3記載の画像レイアウト装置。   The said other image selection means is a means to select the said image in order with a high similarity with the said key image from the same group as the group by which the said key image was classified. Image layout device. 前記レイアウト手段は、あらかじめ定められた順序にて前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトする手段であることを特徴とする請求項1から4のいずれか1項記載の画像レイアウト装置。   5. The image layout according to claim 1, wherein the layout means is means for laying out the key image and the selected image in the layout area in a predetermined order. apparatus. 互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付ける選択受付手段と、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループと同一のグループから選択する画像選択手段と、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトするレイアウト手段とを備えたことを特徴とする画像レイアウト装置。
Selection accepting means for accepting selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified;
Image selecting means for selecting an image to be laid out in the layout area from the same group as the group into which the key images are classified;
An image layout apparatus comprising: layout means for laying out the key image and the selected image in the layout area.
前記画像選択手段は、前記キー画像が分類されたグループと同一のグループから、前記キー画像との類似度が高い順に前記画像を選択する手段であることを特徴とする請求項6記載の画像レイアウト装置。   7. The image layout according to claim 6, wherein the image selection means is a means for selecting the images in descending order of similarity to the key image from the same group as the group into which the key images are classified. apparatus. 前記レイアウト手段は、あらかじめ定められた順序にて前記キー画像および前記選択された画像をレイアウトする手段であることを特徴とする請求項6または7記載の画像レイアウト装置。   8. The image layout apparatus according to claim 6, wherein the layout means is means for laying out the key image and the selected image in a predetermined order. 互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付け、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択し、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトすることを特徴とする画像レイアウト方法。
Accepting selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified;
The images to be laid out in the layout area are selected one by one from a group different from the group into which the key images are classified, respectively.
An image layout method comprising laying out the key image and the selected image in the layout area.
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択するか、前記キー画像が分類されたグループと同一のグループから選択するかの指定を受け付け、
該指定結果に応じて、前記レイアウト領域にレイアウトする画像を選択することを特徴とする請求項9記載の画像レイアウト方法。
It is possible to specify whether images to be laid out in the layout area are selected one by one from a group different from the group into which the key image is classified, or selected from the same group as the group into which the key image is classified ,
The image layout method according to claim 9, wherein an image to be laid out in the layout area is selected according to the designation result.
互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付け、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループと同一のグループから選択し、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトすることを特徴とする画像レイアウト方法。
Accepting selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified;
An image to be laid out in the layout area is selected from the same group as the group into which the key images are classified,
An image layout method comprising laying out the key image and the selected image in the layout area.
互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付ける手順と、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択する手順と、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトする手順とを有することを特徴とする画像レイアウト方法をコンピュータに実行させるためのプログラム。
A procedure for receiving selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified;
A procedure of selecting images to be laid out in the layout area, one each from a group different from the group into which the key images are classified;
A program for causing a computer to execute an image layout method comprising laying out the key image and the selected image in the layout area.
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループとは異なるグループからそれぞれ1つずつ選択するか、前記キー画像が分類されたグループと同一のグループから選択するかの指定を受け付ける手順と、
該指定結果に応じて、前記レイアウト領域にレイアウトする画像を選択する手順とを有することを特徴とする請求項12記載のプログラム。
A designation is made as to whether images to be laid out in the layout area are selected one by one from a group different from the group into which the key images are classified, or from the same group as the group into which the key images are classified. Procedure and
13. The program according to claim 12, further comprising a step of selecting an image to be laid out in the layout area in accordance with the designation result.
互いに類似する画像が分類された複数のグループから、複数のレイアウト領域を有するテンプレートにレイアウトするための1つのキー画像の選択を受け付ける手順と、
前記レイアウト領域にレイアウトする画像を、前記キー画像が分類されたグループと同一のグループから選択する手順と、
前記キー画像および前記選択された画像を前記レイアウト領域にレイアウトする手順とを有することを特徴とする画像レイアウト方法をコンピュータに実行させるためのプログラム。
A procedure for receiving selection of one key image for laying out a template having a plurality of layout areas from a plurality of groups into which images similar to each other are classified;
A procedure for selecting an image to be laid out in the layout area from the same group as the group into which the key images are classified;
A program for causing a computer to execute an image layout method comprising laying out the key image and the selected image in the layout area.
JP2006243854A 2006-09-08 2006-09-08 Image layout apparatus and method, and program Pending JP2008065670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006243854A JP2008065670A (en) 2006-09-08 2006-09-08 Image layout apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006243854A JP2008065670A (en) 2006-09-08 2006-09-08 Image layout apparatus and method, and program

Publications (1)

Publication Number Publication Date
JP2008065670A true JP2008065670A (en) 2008-03-21

Family

ID=39288330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006243854A Pending JP2008065670A (en) 2006-09-08 2006-09-08 Image layout apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP2008065670A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010073002A (en) * 2008-09-19 2010-04-02 Hoya Corp Image processor and camera
JP2011078005A (en) * 2009-10-01 2011-04-14 Noritsu Koki Co Ltd Device and program for receiving order of photograph booklet
EP2355485A3 (en) * 2010-02-10 2013-03-06 Brother Kogyo Kabushiki Kaisha Data processor and scanner device
CN107979709A (en) * 2016-10-24 2018-05-01 佳能株式会社 Image processing apparatus, system, control method and computer-readable medium
JP2022086519A (en) * 2020-11-30 2022-06-09 キヤノン株式会社 Image processing apparatus, image processing method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000067057A (en) * 1998-08-18 2000-03-03 Minolta Co Ltd Device for serially displaying image data and method therefor and record medium
JP2002185908A (en) * 2000-12-12 2002-06-28 Minolta Co Ltd Computer-readable recording medium recording image extract program, image extract device and image extract method
JP2005327249A (en) * 2004-04-13 2005-11-24 Fuji Photo Film Co Ltd Image recording device and method, and program
JP2006072824A (en) * 2004-09-03 2006-03-16 Canon Inc Electronic album editing apparatus, control method thereof, program thereof, and storage medium storing the program in a computer-readable manner

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000067057A (en) * 1998-08-18 2000-03-03 Minolta Co Ltd Device for serially displaying image data and method therefor and record medium
JP2002185908A (en) * 2000-12-12 2002-06-28 Minolta Co Ltd Computer-readable recording medium recording image extract program, image extract device and image extract method
JP2005327249A (en) * 2004-04-13 2005-11-24 Fuji Photo Film Co Ltd Image recording device and method, and program
JP2006072824A (en) * 2004-09-03 2006-03-16 Canon Inc Electronic album editing apparatus, control method thereof, program thereof, and storage medium storing the program in a computer-readable manner

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010073002A (en) * 2008-09-19 2010-04-02 Hoya Corp Image processor and camera
JP2011078005A (en) * 2009-10-01 2011-04-14 Noritsu Koki Co Ltd Device and program for receiving order of photograph booklet
EP2355485A3 (en) * 2010-02-10 2013-03-06 Brother Kogyo Kabushiki Kaisha Data processor and scanner device
US8711420B2 (en) 2010-02-10 2014-04-29 Brother Kogyo Kabushiki Kaisha Data processor and scanner device
CN107979709A (en) * 2016-10-24 2018-05-01 佳能株式会社 Image processing apparatus, system, control method and computer-readable medium
US10432820B2 (en) 2016-10-24 2019-10-01 Canon Kabushiki Kaisha Image processing apparatus, image processing system, control method for image processing apparatus, and non-transitory computer readable medium
JP2022086519A (en) * 2020-11-30 2022-06-09 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP7696712B2 (en) 2020-11-30 2025-06-23 キヤノン株式会社 Image processing device, image processing method, and program
US12437536B2 (en) 2020-11-30 2025-10-07 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium that select an image from an image group based on an obtained score

Similar Documents

Publication Publication Date Title
CN101383141B (en) Image display control apparatus and image display control method
US8601369B2 (en) Image processing apparatus, image processing method, and image processing program
US20050093860A1 (en) Information processing apparatus and method, program for executing said method, and storage medium storing said program
JP2000040142A (en) Image display device
JP2025157720A (en) Drawing processing apparatus and drawing processing method
US20080231869A1 (en) Method and apparatus for displaying document image, and computer program product
JP2008065670A (en) Image layout apparatus and method, and program
JPH05257439A (en) Character image composition and display device
JP4127178B2 (en) Multiple image layout processing
JP4631261B2 (en) Captured image projection apparatus, image processing method thereof, and program
JPH11174950A (en) Information processing apparatus and method, computer readable memory
JP2011135350A (en) Image processing apparatus and method of controlling the same
JP5100560B2 (en) Information processing apparatus, information processing method, and program
JPH08202856A (en) Image processing method
JP4501731B2 (en) Image processing device
JP2003308478A (en) Form recognizing device, storage medium and program
JP2001051771A (en) System and method for processing picture
JPH0962451A (en) Character input method
JPH1055431A (en) Image processing device
JPH103516A (en) Information processing method and apparatus
JP5398396B2 (en) Image processing apparatus and control method thereof
JP4375182B2 (en) Document image display device, control method for document image display device, program, and document image data
US20090241063A1 (en) Information processing apparatus, information processing method, and computer readable medium for designing a gui
JP2021081792A (en) Information processing device, information processing method, and program
JP2007104563A (en) Layout editing apparatus, layout editing method, and layout editing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110614

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110719

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110809