JP2013046188A - Layout editing support device, layout editing support method, and program - Google Patents

Layout editing support device, layout editing support method, and program Download PDF

Info

Publication number
JP2013046188A
JP2013046188A JP2011182193A JP2011182193A JP2013046188A JP 2013046188 A JP2013046188 A JP 2013046188A JP 2011182193 A JP2011182193 A JP 2011182193A JP 2011182193 A JP2011182193 A JP 2011182193A JP 2013046188 A JP2013046188 A JP 2013046188A
Authority
JP
Japan
Prior art keywords
layout
clustering
cluster
data group
unit
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.)
Withdrawn
Application number
JP2011182193A
Other languages
Japanese (ja)
Inventor
Taisuke Ishiguro
泰輔 石黒
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011182193A priority Critical patent/JP2013046188A/en
Publication of JP2013046188A publication Critical patent/JP2013046188A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically generate layout candidates which can be desired by a user.SOLUTION: A content identification unit 304 identifies a data group to be a layout change object. A clustering condition determination unit 305 determines a condition for performing clustering processing on the basis of the data group identified by the content identification unit 304. A clustering unit 302 performs a clustering process on the data group according to the condition. A layout unit 303 performs a layout process on the data group on the basis of respective clusters generated by the clustering unit 302.

Description

本発明は、コンテンツデータ群のレイアウトを編集するための技術に関するものである。   The present invention relates to a technique for editing a layout of a content data group.

デジタル画像データ(以下、写真と称す)を自動レイアウトしてフォトアルバム等のフォトプリントレイアウトを生成するサービスやアプリケーションが知られている。ユーザは、当該サービス等によって生成されたフォトアルバムから気に入ったものを選び、必要に応じて編集を行った上で、プリントサービス等を利用してフォトアルバムを購入することができる。なお、上述したサービスやアプリケーションでは、複数のページで構成されるフォトアルバムに対応するため、多数の写真からページ数や構成も含めて自動化する技術が用いられている(特許文献1参照)。   There are known services and applications for automatically laying out digital image data (hereinafter referred to as photos) to generate a photo print layout such as a photo album. The user can purchase a photo album using a print service or the like after selecting a favorite photo album generated by the service or the like and editing it as necessary. Note that the services and applications described above use a technique of automating a number of photos including the number of pages and the configuration in order to support a photo album composed of a plurality of pages (see Patent Document 1).

特開2006−295887号公報JP 2006-295887 A

上述したサービス等を用いてフォトアルバムを自動生成した場合、ユーザの望まないレイアウトで生成される可能性がある。当該生成結果がユーザの所望するものと異なる場合、ユーザはアプリケーション等が提供する編集機能を用いて写真の配置等を変更する。しかしながら、複数の写真やページから構成されるフォトアルバムの編集作業は、非常に煩雑な操作が必要になる。   When a photo album is automatically generated using the above-described service or the like, it may be generated with a layout that the user does not want. If the generation result is different from what the user desires, the user changes the arrangement of the photos using an editing function provided by the application or the like. However, the editing work of a photo album composed of a plurality of photos and pages requires a very complicated operation.

本発明は上記問題を鑑みてなされたものであり、その目的は、ユーザ指示に基づき写真のページ割付処理を変更することで、ユーザの所望する可能性があるレイアウト候補を自動生成することである。   The present invention has been made in view of the above problems, and an object of the present invention is to automatically generate layout candidates that the user may desire by changing the photo page allocation processing based on a user instruction. .

そこで、本発明の目的は、ユーザの所望する可能性があるレイアウト候補を自動生成することにある。   Accordingly, an object of the present invention is to automatically generate layout candidates that the user may desire.

本発明のレイアウト編集支援装置は、レイアウト変更対象となるデータ群を特定する特定手段と、前記特定手段により特定された前記データ群に基づいて、クラスタリング処理の際の条件を決定する決定手段と、前記決定手段により決定された前記条件に基づいて、前記データ群に対してクラスタリング処理を行うクラスタリング手段と、前記クラスタリング手段により生成された各クラスタに基づいて、前記データ群に対するレイアウト処理を行うレイアウト手段とを有することを特徴とする。   The layout editing support apparatus according to the present invention includes a specifying unit that specifies a data group that is a layout change target, a determination unit that determines a condition for clustering processing based on the data group specified by the specifying unit, Clustering means for performing clustering processing on the data group based on the condition determined by the determining means, and layout means for performing layout processing on the data group based on each cluster generated by the clustering means It is characterized by having.

本発明によれば、ユーザの所望する可能性があるレイアウト候補を自動生成することが可能となる。   According to the present invention, it is possible to automatically generate layout candidates that the user may desire.

本発明の実施形態におけるレイアウト編集支援処理の概要について説明するための図である。It is a figure for demonstrating the outline | summary of the layout edit assistance process in embodiment of this invention. 本発明の実施形態に係るレイアウト編集支援装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the layout edit assistance apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るレイアウト編集支援装置の機能的な構成を示す図である。It is a figure which shows the functional structure of the layout editing assistance apparatus which concerns on embodiment of this invention. 本発明の実施形態におけるフォトアルバム生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the photo album production | generation process in embodiment of this invention. 図4のステップS4010におけるレイアウト処理の流れを示すフローチャートである。6 is a flowchart showing a flow of layout processing in step S4010 of FIG. 図5のステップS5000におけるページ割付処理について説明するための図である。It is a figure for demonstrating the page allocation process in step S5000 of FIG. 図5のステップS5010におけるテンプレート決定処理について説明するための図である。It is a figure for demonstrating the template determination process in step S5010 of FIG. 図5のステップS5020におけるレイアウト処理について説明するための図である。It is a figure for demonstrating the layout process in step S5020 of FIG. 図4のステップS4020における編集処理の流れを示すフローチャートである。6 is a flowchart showing the flow of editing processing in step S4020 of FIG. 編集指示の一例について説明するための図である。It is a figure for demonstrating an example of an edit instruction | indication. ステップS9060及びS9070におけるレイアウト処理結果の提示及びレイアウトの選択操作の一例について説明するための図である。It is a figure for demonstrating an example of presentation of the layout process result in step S9060 and S9070, and layout selection operation. ステップS9060及びS9070におけるレイアウト処理結果の提示及びレイアウトの選択操作の一例について説明するための図である。It is a figure for demonstrating an example of presentation of the layout process result in step S9060 and S9070, and layout selection operation. 図9のステップS9010におけるコンテンツ特定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the content specific process in step S9010 of FIG. 編集対象となっているフォトアルバムのクラスタツリーの一例を示す図である。It is a figure which shows an example of the cluster tree of the photo album used as edit object. 図9のステップS9020におけるクラスタリング条件決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the clustering condition determination process in step S9020 of FIG. 写真群が保持するメタデータの一例を示す図である。It is a figure which shows an example of the metadata which a photograph group hold | maintains. 図9のステップS9030におけるクラスタリング処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the clustering process in step S9030 of FIG. 図17のステップS17020における相関度算出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the correlation calculation process in step S17020 of FIG. ステップS17020及びステップS17030の処理について具体的に説明するための図である。It is a figure for demonstrating concretely about processing of Step S17020 and Step S17030.

以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments to which the invention is applied will be described in detail with reference to the accompanying drawings.

図1は、本発明の実施形態におけるレイアウト編集支援処理の概要について説明するための図である。図1において、101は、既存のフォトアルバム作成アプリケーションにより自動生成されたフォトアルバムの一例を示している。本実施形態におけるレイアウト編集支援処理では、フォトアルバム101からユーザの指示に基づいて代替候補となるフォトアルバム102が生成される。具体的には、ユーザは、既存のフォトアルバム作成アプリケーションにより生成されたフォトアルバム101に対してレイアウトを編集したいページを指示する。103は、ユーザによって編集が指示されたページを示している。本実施形態におけるレイアウト編集支援処理では、当該ページ103に含まれるコンテンツデータ群群を用いて異なるレイアウトを自動生成し、ユーザに提示する。104は、ページ103に含まれるコンテンツデータ群を用いて自動生成されたページ候補を示している。生成されたページ候補はユーザに提示される。ユーザは提示されたページ候補から所望のものを選択することで編集作業を行う。以下では、上記コンテンツデータを写真と称す。   FIG. 1 is a diagram for explaining an outline of layout editing support processing in the embodiment of the present invention. In FIG. 1, reference numeral 101 denotes an example of a photo album automatically generated by an existing photo album creation application. In the layout editing support process according to the present embodiment, a photo album 102 that is an alternative candidate is generated from the photo album 101 based on a user instruction. Specifically, the user instructs a page whose layout is to be edited with respect to the photo album 101 generated by the existing photo album creation application. Reference numeral 103 denotes a page for which editing is instructed by the user. In the layout editing support process in the present embodiment, different layouts are automatically generated using the content data group group included in the page 103 and presented to the user. Reference numeral 104 denotes a page candidate automatically generated using the content data group included in the page 103. The generated page candidate is presented to the user. The user performs an editing operation by selecting a desired one from the presented page candidates. Hereinafter, the content data is referred to as a photograph.

図2は、本発明の実施形態に係るレイアウト編集支援装置のハードウェア構成を示す図である。図2において、202は、CPU(Central Processing Unit)であり、各種処理のための演算や論理判断等を行い、バス201に接続された各種要素を制御する。本実施形態に係るレイアウト編集支援装置には、プログラムメモリ及びデータメモリを含むメモリが搭載されている。プログラムメモリには、後述する各種処理手順をCPU202に実行させるためのプログラムが格納される。プログラムメモリは、ROM(Read-Only Memory)203であってもよいし、外部記憶装置等からプログラムがロードされるRAM(Random Access Memory)204であってもよい。或いは、これらの組合せで実現しても構わない。   FIG. 2 is a diagram showing a hardware configuration of the layout editing support apparatus according to the embodiment of the present invention. In FIG. 2, 202 is a CPU (Central Processing Unit) that performs various processes, logical determinations, and the like, and controls various elements connected to the bus 201. The layout editing support apparatus according to the present embodiment includes a memory including a program memory and a data memory. The program memory stores a program for causing the CPU 202 to execute various processing procedures to be described later. The program memory may be a ROM (Read-Only Memory) 203 or a RAM (Random Access Memory) 204 into which a program is loaded from an external storage device or the like. Alternatively, it may be realized by a combination of these.

205は、本実施形態に係るデータやプログラムを記憶しておくためのハードディスク等の記憶装置である。また本実施形態において、記憶装置205は写真等を保持しておくためにも利用される。なお、写真を保持しておく装置としては、外部接続やネットワークに接続された記録装置を用いてもよい。また、記憶装置205と同様の役割を果たすものとして、外部記憶装置206を用いてもよい。ここで外部記憶装置206は、例えば、メディア(記録媒体)と、当該メディアへのアクセスを実現するための外部記憶ドライブとで実現することができる。また上記メディアとしては、例えば、フレキシブルディスク(FD)、CD−ROM、DVD、USBメモリ、MO、フラッシュメモリ等を適用することができる。   Reference numeral 205 denotes a storage device such as a hard disk for storing data and programs according to the present embodiment. In the present embodiment, the storage device 205 is also used to hold a photograph or the like. Note that a recording device connected to an external connection or a network may be used as a device for holding a photograph. Further, the external storage device 206 may be used as the same role as the storage device 205. Here, the external storage device 206 can be realized by, for example, a medium (recording medium) and an external storage drive for realizing access to the medium. As the medium, for example, a flexible disk (FD), a CD-ROM, a DVD, a USB memory, an MO, a flash memory, or the like can be applied.

207は、ユーザからの指示を入力するための入力装置である。ユーザは、入力装置207を介して、本実施形態に係るレイアウト編集支援装置に対して指示を行う。入力装置207は、例えば、キーボードやポインティングデバイスにより構成される。208は、処理結果等を表示する表示手段としての出力装置である。出力装置208は、例えば、出力のための回路を含むCRT(Cathode-Ray Tube)や液晶表示器等のディスプレイ装置により実現することができる。本実施形態においては、写真やレイアウト結果等を出力装置(表示装置)208に表示する。209は、インタフェース(以下、I/Fと称す)であり、このI/F209を介して外部装置とのデータのやりとりを行う。   Reference numeral 207 denotes an input device for inputting an instruction from the user. The user gives an instruction to the layout editing support apparatus according to the present embodiment via the input device 207. The input device 207 is configured by a keyboard or a pointing device, for example. Reference numeral 208 denotes an output device as display means for displaying processing results and the like. The output device 208 can be realized by a display device such as a CRT (Cathode-Ray Tube) or a liquid crystal display including a circuit for output. In the present embodiment, photographs, layout results, and the like are displayed on the output device (display device) 208. Reference numeral 209 denotes an interface (hereinafter referred to as I / F), which exchanges data with an external device via the I / F 209.

図3は、本実施形態に係るレイアウト編集支援装置の機能的な構成を示す図である。なお、図3における入力装置207及び出力装置208は、図1における入力装置207と出力装置208と同一構成である。   FIG. 3 is a diagram showing a functional configuration of the layout editing support apparatus according to the present embodiment. Note that the input device 207 and the output device 208 in FIG. 3 have the same configuration as the input device 207 and the output device 208 in FIG.

302は、クラスタリング部であり、ユーザにより入力された写真群、又は、後述するコンテンツ特定部304により特定された写真群のクラスタリング処理を行う。303は、レイアウト部であり、クラスタリング部302により生成された各クラスタを1ページとして写真のレイアウト処理を行う。このレイアウト処理の例としては、例えば予め用意されたテンプレートに対して写真を配置することでレイアウトすること等が挙げられる。また、レイアウト処理に用いられるテンプレートは、後述するテンプレートDB306において保持されている。   A clustering unit 302 performs clustering processing on a photo group input by a user or a photo group specified by a content specifying unit 304 described later. A layout unit 303 performs photo layout processing with each cluster generated by the clustering unit 302 as one page. As an example of this layout process, for example, a layout is made by arranging a photo on a template prepared in advance. A template used for layout processing is held in a template DB 306 described later.

304は、コンテンツ特定部であり、ユーザが編集を希望するページに含まれる写真群を特定する。305は、クラスタリング条件決定部であり、クラスタリング部302にて実行されるクラスタリング処理で使用される条件を決定する。即ち、クラスタリング部302は、クラスタリング条件決定部305により決定された条件に基づいてクラスタリング処理を行う。306は、テンプレートDBであり、レイアウト部303で使用されるレテンプレートを保持する。   A content specifying unit 304 specifies a group of photos included in a page that the user desires to edit. Reference numeral 305 denotes a clustering condition determination unit that determines conditions used in the clustering process executed by the clustering unit 302. That is, the clustering unit 302 performs a clustering process based on the conditions determined by the clustering condition determining unit 305. A template DB 306 holds a re-template used in the layout unit 303.

本実施形態において、コンテンツ特定部304は、ユーザが編集を希望するページに含まれる写真群を特定し、クラスタリング条件決定部305は、当該写真群に対してクラスタリング処理の条件を決定する。クラスタリング部302は、決定された条件に基づいてクラスタリング処理を行い、レイアウト部303は、クラスタリング処理によって生成されたクラスタに基づいてレイアウト処理を行う。以上の処理により、本実施形態においては、元のレイアウトとは異なるレイアウトのページ候補が生成される。なお、上述した各機能構成は、図2のCPU202が外部記録装置等からプログラムをRAM204にロードして実行することにより、実現するものである。   In the present embodiment, the content specifying unit 304 specifies a group of photos included in a page that the user desires to edit, and the clustering condition determining unit 305 determines a clustering process condition for the photo group. The clustering unit 302 performs clustering processing based on the determined conditions, and the layout unit 303 performs layout processing based on the clusters generated by the clustering processing. Through the above processing, in this embodiment, page candidates having a layout different from the original layout are generated. Each functional configuration described above is realized by the CPU 202 in FIG. 2 loading a program from the external recording device or the like into the RAM 204 and executing it.

図4は、本実施形態におけるフォトアルバム生成処理の流れを示すフローチャートである。以下、図4を参照しながら、本実施形態におけるフォトアルバム生成処理について説明する。   FIG. 4 is a flowchart showing a flow of photo album generation processing in the present embodiment. Hereinafter, the photo album generation process in the present embodiment will be described with reference to FIG.

ユーザは、フォトアルバムを作成したい写真群を選択する。ステップS4000において、レイアウト編集支援装置は、ユーザの選択操作に応じて写真群を選択する。写真群の選択作業においては、OS等によって提供されるファイル管理システムのインタフェースが利用される。ここでの写真の選択作業はユーザによる手動操作によるものであるが、これとは異なる方法によって写真群を選択してもよい。例えば、レイアウト編集支援装置は、ユーザの閲覧履歴が多いものをユーザの好みの写真として推定し、推定した好みの写真群を選択するようにしてもよい。また、レイアウト編集支援装置は、写真がメタデータとして保有する解像度を利用して、高解像度の写真群を選択するようにしてもよい。   The user selects a photo group for which a photo album is to be created. In step S4000, the layout editing support apparatus selects a photo group according to a user's selection operation. In the photo group selection operation, an interface of a file management system provided by the OS or the like is used. The photo selection operation here is performed manually by the user, but the photo group may be selected by a different method. For example, the layout editing support apparatus may estimate a user's favorite browsing photograph as a user's favorite photograph and select the estimated favorite photograph group. In addition, the layout editing support apparatus may select a high-resolution photo group using the resolution held by the photo as metadata.

ステップS4010において、レイアウト編集支援装置は、ステップS4000において選択した写真群を用いてフォトアルバムのレイアウトを生成し、生成したレイアウトをユーザに提示する。ユーザは、必要に応じて、ステップS4010において生成されたレイアウトに対して編集操作を行う。このように、ユーザはステップS4010で生成されたレイアウトに対して編集操作を行うことにより、所望のレイアウトを作成する。ステップS4020において、レイアウト編集支援装置は、ステップS4010において生成したレイアウトに対してユーザの編集操作に応じた編集処理を行う。本実施形態においては、編集操作において代替となるページ候補を提示することにより、ユーザの編集負荷を軽減させている。   In step S4010, the layout editing support apparatus generates a photo album layout using the photo group selected in step S4000, and presents the generated layout to the user. The user performs an editing operation on the layout generated in step S4010 as necessary. In this manner, the user creates a desired layout by performing an editing operation on the layout generated in step S4010. In step S4020, the layout editing support apparatus performs an editing process according to the user's editing operation on the layout generated in step S4010. In the present embodiment, the editing load on the user is reduced by presenting alternative page candidates in the editing operation.

図5は、図4のステップS4010におけるレイアウト処理の流れを示すフローチャートである。ステップS5000において、レイアウト部303は、指定された写真群のページ割付処理を行う。ページ割付処理では、フォトアルバムのページ数と各ページにどの写真を割り付けるかが決定される。具体的には、クラスタリング部302は、写真においてExif等のメタデータとして保持される撮影時刻に基づいて、クラスタリング処理を行う。そして、レイアウト部303は、生成されたクラスタからレイアウトに用いるクラスタを特定する。以下、レイアウトに用いられるクラスタのことをレイアウトクラスタと称す。レイアウト部303は、特定したレイアウトクラスタ数をフォトアルバムのページ数として決定し、レイアウトクラスタに含まれる写真群を各ページに割りつけることでページ割付処理を行う。このページ割付処理の詳細については、図6を用いて後述する。ここでは、クラスタリング処理の基準を撮影時刻としたが、異なる基準を用いてもよい。例えば、GPS等で取得可能な撮影位置がメタデータとして写真に付与されていれば、撮影位置に基づいてクラスタリング処理を行ってもよい。   FIG. 5 is a flowchart showing the flow of layout processing in step S4010 of FIG. In step S5000, the layout unit 303 performs page assignment processing for the designated photo group. In the page allocation process, the number of pages in the photo album and which photo is allocated to each page are determined. Specifically, the clustering unit 302 performs clustering processing based on the shooting time held as metadata such as Exif in a photograph. Then, the layout unit 303 identifies a cluster to be used for layout from the generated cluster. Hereinafter, a cluster used for layout is referred to as a layout cluster. The layout unit 303 determines the specified number of layout clusters as the number of pages in the photo album, and performs page allocation processing by allocating a group of photos included in the layout cluster to each page. Details of the page allocation processing will be described later with reference to FIG. Here, the reference for the clustering process is the shooting time, but a different reference may be used. For example, if a photographing position that can be acquired by GPS or the like is given to a photograph as metadata, clustering processing may be performed based on the photographing position.

ステップS5010において、レイアウト部303は、ステップS5000におけるページ割付処理の結果に基づいて各ページに使用するテンプレートを決定する。このテンプレート決定処理は、各ページに割り付けられた写真数に基づいて行われる。テンプレート決定処理の詳細については、図7を用いて後述する。   In step S5010, the layout unit 303 determines a template to be used for each page based on the result of the page allocation process in step S5000. This template determination process is performed based on the number of photos assigned to each page. Details of the template determination process will be described later with reference to FIG.

ステップS5020において、レイアウト部303は、ステップS5010において決定したテンプレートを用いてレイアウトを行う。具体的には、レイアウト部303は、テンプレートに対し、ステップS5000において割り付けられた写真を配置する。このレイアウト処理の詳細については、図8を用いて後述する。以上の処理により、本実施形態に係るレイアウト編集支援装置は、自動的に写真群からフォトアルバムレイアウトを生成し、ユーザに提示することができる。   In step S5020, the layout unit 303 performs layout using the template determined in step S5010. Specifically, the layout unit 303 arranges the photos assigned in step S5000 on the template. Details of this layout processing will be described later with reference to FIG. Through the above processing, the layout editing support apparatus according to the present embodiment can automatically generate a photo album layout from a group of photos and present it to the user.

次に、図6を参照しながら、図5のステップS5000におけるページ割付処理について説明する。図6(a)は、ユーザにより選択された写真群の一例を示している。ID601は写真を一意に特定するための識別情報である。撮影時刻602は、写真の撮影時刻を示す情報である。ページ割付処理では、上述したように撮影時刻に基づいてクラスタリング処理が行われる。先ず、クラスタリング処理では、各写真を撮影時刻順に並べた後、各写真をクラスタとして定義する。そして、クラスタリング部302は、撮影時刻が近いクラスタを順次統合していくことにより、図6(b)に示すようなクラスタツリーを生成する。   Next, the page allocation processing in step S5000 in FIG. 5 will be described with reference to FIG. FIG. 6A shows an example of a photograph group selected by the user. ID 601 is identification information for uniquely identifying a photograph. The shooting time 602 is information indicating the shooting time of the photograph. In the page allocation process, the clustering process is performed based on the shooting time as described above. First, in the clustering process, the photographs are arranged in order of shooting time, and then the photographs are defined as clusters. And the clustering part 302 produces | generates a cluster tree as shown in FIG.6 (b) by integrating sequentially the cluster with the near imaging | photography time.

次に、レイアウト部303は、クラスタツリーに含まれる各クラスタ間の距離に基づいて、レイアウトクラスタを特定する。具体的には、レイアウト部303は、末端の全クラスタに対して同一の親クラスタを持つクラスタ間での距離を算出し、距離が予め定められた距離(以下、距離規定値と称す)よりも小さい場合、親クラスタをレイアウトクラスタ候補とする。一方、算出された距離が距離規定値以上である場合、レイアウト部303は、当該クラスタをレイアウトクラスタとして特定する。次に、レイアウトクラスタ候補となるクラスタが存在する場合、レイアウト部303は、全てのレイアウトクラスタ候補となるクラスタに対して同一の親クラスタを持つクラスタ間での距離を算出し、上述した方法と同様にレイアウトクラスタを特定する。レイアウト部303は、このような処理をレイアウトクラスタ候補となるクラスタがなくなるまで繰り返すことによりレイアウトクラスタを特定する。図6(c)は、特定されたレイアウトクラスタを示している。即ち、クラスタA(写真A)とクラスタB(写真B)との距離は距離規定値よりも小さいため、レイアウトクラスタとは特定されていない。クラスタAB(クラスタA+クラスタB)とクラスタCDE(クラスタC+クラスタD+クラスタE)との距離は距離規定値以上であるため、レイアウトクラスタとして特定されている。   Next, the layout unit 303 identifies a layout cluster based on the distance between each cluster included in the cluster tree. Specifically, the layout unit 303 calculates a distance between clusters having the same parent cluster with respect to all end clusters, and the distance is larger than a predetermined distance (hereinafter referred to as a distance specified value). If it is smaller, the parent cluster is set as a layout cluster candidate. On the other hand, when the calculated distance is equal to or greater than the distance specified value, the layout unit 303 identifies the cluster as a layout cluster. Next, when there is a cluster as a layout cluster candidate, the layout unit 303 calculates the distance between the clusters having the same parent cluster with respect to all the cluster as the layout cluster candidates. Specify the layout cluster. The layout unit 303 identifies a layout cluster by repeating such processing until there is no cluster that is a layout cluster candidate. FIG. 6C shows the specified layout cluster. That is, since the distance between cluster A (photo A) and cluster B (photo B) is smaller than the distance specified value, it is not specified as a layout cluster. Since the distance between the cluster AB (cluster A + cluster B) and the cluster CDE (cluster C + cluster D + cluster E) is equal to or greater than the distance specified value, it is specified as a layout cluster.

このように特定された各レイアウトクラスタを1ページとすることでページ割付処理が完了する。具体的には、各レイアウトクラスタに含まれる写真群を1つのページに配置するという対応付けが行われる。この対応付けの結果は、不図示のページ割付テーブルに保持される。図6(c)の例では、レイアウトクラスタが2つ存在するため、フォトアルバムのページ数は2となる。ページ順序は、クラスタ順序と同様である。即ち、撮影時刻が早いレイアウトクラスタから撮影時刻が遅いレイアウトクラスタという順序でページ順序が決定される。ここでは、1ページ目に写真A及び写真Bが対応付けられ、2ページ目に写真C、写真D及び写真Eが対応付けられる。   The page allocation process is completed by setting each layout cluster thus identified as one page. Specifically, association is performed in which a group of photographs included in each layout cluster is arranged on one page. The result of this association is held in a page allocation table (not shown). In the example of FIG. 6C, since there are two layout clusters, the number of pages of the photo album is two. The page order is the same as the cluster order. That is, the page order is determined in the order of the layout cluster with the earlier shooting time to the layout cluster with the later shooting time. Here, Photo A and Photo B are associated with the first page, and Photo C, Photo D, and Photo E are associated with the second page.

本実施形態では、距離規定値を予め定めたものとしたが、距離規定値を算出するようにしてもよい。例えば、フォトアルバムにおけるページ数に制約を設け、ページ数制約に応じて距離規定値を決定してもよい。即ち、ページ数制約と合致するレイアウトクラスタ数となるように距離規定値が算出される。フォトアルバム作成サービスでは、ページ数により課金される場合がある。そのため、ユーザは予算に応じてページ数を決定し、ページ数をページ数制約として設定することが考えられる。上述した方法によって距離規定値を求めることにより、ページ数制約に応じてレイアウトクラスタを決定することが可能になり、ユーザにより指定されたページ数のフォトアルバムを生成することができる。   In the present embodiment, the distance regulation value is determined in advance, but the distance regulation value may be calculated. For example, a restriction may be provided on the number of pages in the photo album, and the distance regulation value may be determined according to the restriction on the number of pages. That is, the distance regulation value is calculated so that the number of layout clusters matches the page number constraint. The photo album creation service may be charged depending on the number of pages. Therefore, it is conceivable that the user determines the number of pages according to the budget and sets the number of pages as a page number constraint. By obtaining the distance specified value by the above-described method, it is possible to determine a layout cluster according to the page number constraint, and it is possible to generate a photo album having the number of pages specified by the user.

次に、図7を参照しながら、図5のステップS5010におけるテンプレート決定処理について説明する。図7は、テンプレートを保持するテンプレートテーブルを示す図である。テンプレートテーブルは図3におけるテンプレートDB306に格納されており、写真数毎に利用可能なテンプレートが管理されている。図7に示すテンプレートテーブルでは、写真数701にて規定される写真数毎に一意にテンプレートを特定するためのテンプレートID702が格納されている。例えば、あるレイアウトクラスタにおける写真数が2つである場合に利用可能なレイアウトテンプレートのテンプレートIDは、T0003、T0004及びT0005であることがわかる。テンプレート決定処理では、レイアウト部303が各ページに割り付けられた写真数を基にテンプレートテーブルを参照することによりテンプレートを決定する。ページに対して割り付けられたテンプレートを示す情報は、上述した不図示のページ割付テーブルに追記される。利用可能なテンプレートが複数存在する場合、既存のランダム値生成技術を用いてランダムにテンプレートが選択される。但し、テンプレートの選択処理はランダムではなく、異なる方法を用いてもよい。例えば、テンプレートに対して適合する写真の条件を付与しておき、当該条件に基づきテンプレートを選択してもよい。具体的には、写真の代表色を条件としてテンプレートに定義しておき、写真群の代表色を用いてテンプレートを特定することができる。当該手法により、写真の色合い等に応じて適切なテンプレートを選択することが可能になる。   Next, the template determination process in step S5010 of FIG. 5 will be described with reference to FIG. FIG. 7 is a diagram illustrating a template table that holds templates. The template table is stored in the template DB 306 in FIG. 3, and a usable template is managed for each number of photos. In the template table shown in FIG. 7, a template ID 702 for uniquely specifying a template is stored for each number of photos defined by the number of photos 701. For example, it can be seen that the template IDs of the layout templates that can be used when the number of photos in a certain layout cluster is two are T0003, T0004, and T0005. In the template determination process, the layout unit 303 determines a template by referring to the template table based on the number of photos assigned to each page. Information indicating the template allocated to the page is added to the page allocation table (not shown). When there are a plurality of usable templates, the templates are selected at random using an existing random value generation technique. However, the template selection process is not random, and a different method may be used. For example, a suitable photo condition may be assigned to the template, and the template may be selected based on the condition. Specifically, it is possible to define a template with the representative color of the photo as a condition, and specify the template using the representative color of the photo group. This method makes it possible to select an appropriate template according to the color of the photograph.

次に、図8を参照しながら、図5のステップS5020におけるレイアウト処理について説明する。図8はテンプレートの一例を示す図である。図8に示すテンプレートは、ページ全体を示すページ領域801と写真を配置する領域であるスロット802とから構成される。レイアウト処理では、テンプレート内のスロット802に写真が配置される。スロット802に対する写真の配置処理は、既存のランダム値生成技術を用いて写真がランダムに配置される。ここでは、写真をランダムに配置することとしたが、他の方法を用いてもよい。例えば、スロット802に対して配置順番を定義しておき、配置順番と撮影時刻の順番とが合致するようにスロットに配置してもよい。また、1つのパターンを生成するのではなく、考えられる全ての配置の組合せを生成して、当該レイアウト結果をユーザに選択させることも可能である。   Next, the layout process in step S5020 in FIG. 5 will be described with reference to FIG. FIG. 8 shows an example of a template. The template shown in FIG. 8 includes a page area 801 that shows the entire page and a slot 802 that is an area in which a photo is placed. In the layout process, a photograph is placed in a slot 802 in the template. In the photo placement process for the slot 802, the photos are randomly placed using an existing random value generation technique. Here, the photos are randomly arranged, but other methods may be used. For example, an arrangement order may be defined for the slot 802 and the slots may be arranged so that the arrangement order matches the order of shooting times. Further, instead of generating one pattern, it is possible to generate all possible combinations of arrangements and allow the user to select the layout result.

図9は、図4のステップS4020における編集処理の流れを示すフローチャートである。以下、図9を参照しながら、編集処理の流れについて詳細に説明する。ステップS9000において、レイアウト編集支援装置は、ユーザによる編集対象の指示を受け付ける。編集対象は、ページ単位で指定可能であり、ユーザはレイアウトを変更したいと考えるページを選択する。変更したいページが複数存在する場合、複数のページを選択することができる。フォトアルバムのレイアウトは、既存のレイアウトアプリケーションと類似の形式で表示されており、ユーザは当該表示に対して編集したいページを指示することが可能である。   FIG. 9 is a flowchart showing the flow of the editing process in step S4020 of FIG. Hereinafter, the flow of the editing process will be described in detail with reference to FIG. In step S9000, the layout editing support apparatus receives an instruction to be edited by the user. The editing target can be specified in units of pages, and the user selects a page whose layout is to be changed. When there are a plurality of pages to be changed, a plurality of pages can be selected. The layout of the photo album is displayed in a format similar to that of the existing layout application, and the user can specify a page to be edited for the display.

ここで、図10を参照しながら、編集指示の一例について説明する。図10(a)は、本実施形態におけるレイアウト編集画面を示している。レイアウト編集画面は、メニュー1001、レイアウト表示画面1002及びスクロールバー1003から構成される。メニュー1001は、レイアウト結果等を保存する指示を行うためのファイル等、アプリケーションが提供する機能へのアクセス手段を提供している。レイアウト表示画面1002は、本実施形態におけるレイアウト編集支援装置により生成されたフォトアルバムのレイアウトが表示される。ページ数が多く、レイアウトが一画面内に収まらない場合、スクロールバー1003により表示するページをコントロールすることが可能である。   Here, an example of an editing instruction will be described with reference to FIG. FIG. 10A shows a layout editing screen in the present embodiment. The layout editing screen includes a menu 1001, a layout display screen 1002, and a scroll bar 1003. The menu 1001 provides access means to functions provided by the application, such as a file for instructing to save the layout result. The layout display screen 1002 displays the layout of the photo album generated by the layout editing support apparatus according to this embodiment. When the number of pages is large and the layout does not fit on one screen, the page to be displayed can be controlled by the scroll bar 1003.

ユーザは、レイアウト表示画面1002に表示されるレイアウトから変更を行いたいページを、マウスを用いて指示する。図10(b)の1004に示すように、指示されたレイアウトはハイライト表示される。指示されたレイアウトが存在する状態で、マウスの右クリックが行われることにより、図10(c)の1005に示すように、編集メニューが表示される。ユーザは、編集メニュー1005における自動編集を指示することにより、レイアウト変更を指示する。   The user designates a page to be changed from the layout displayed on the layout display screen 1002 using the mouse. As indicated by 1004 in FIG. 10B, the instructed layout is highlighted. When the mouse is right-clicked in a state where the instructed layout exists, an edit menu is displayed as shown at 1005 in FIG. 10C. The user instructs layout change by instructing automatic editing in the editing menu 1005.

ステップS9010において、コンテンツ特定部304は、ステップS9000におけるユーザの指示に基づいてコンテンツ特定処理を行う。コンテンツ特定処理は、レイアウト変更対象となる写真群を特定する処理である。ステップS9010の詳細は、図13を用いて後述する。   In step S9010, the content specifying unit 304 performs content specifying processing based on the user instruction in step S9000. The content identification process is a process for identifying a group of photographs whose layout is to be changed. Details of step S9010 will be described later with reference to FIG.

ステップS9020において、クラスタリング条件決定部305は、ステップS9010において特定された写真群に対するクラスタリング条件を決定する。クラスタリング条件決定処理では、後述するステップS9030のクラスタリング処理において基準として用いられるクラスタリング条件としてメタデータと距離規定値とが決定される。ステップS9020の詳細は、図15を用いて後述する。   In step S9020, the clustering condition determining unit 305 determines a clustering condition for the photograph group specified in step S9010. In the clustering condition determination process, metadata and a prescribed distance value are determined as clustering conditions used as a reference in the clustering process in step S9030 described later. Details of step S9020 will be described later with reference to FIG.

ステップS9030において、クラスタリング部302は、ステップS9020において決定されたクラスタリング条件に基づいて、ステップS9010にて特定された写真群に対してクラスタリング処理を行う。ステップS9030は、図5におけるステップS5000と類似の処理であり、写真群に対するページ割付が決定される。ステップS9030の詳細は、図17を用いて後述する。   In step S9030, the clustering unit 302 performs clustering processing on the photo group specified in step S9010 based on the clustering condition determined in step S9020. Step S9030 is processing similar to step S5000 in FIG. 5, and page allocation is determined for the photo group. Details of step S9030 will be described later with reference to FIG.

ステップS9040において、レイアウト部303は、ステップS9030における処理結果に基づいてテンプレートを決定する。ステップS9040は、図5におけるステップS5010と同様の処理である。   In step S9040, the layout unit 303 determines a template based on the processing result in step S9030. Step S9040 is the same processing as step S5010 in FIG.

ステップS9050において、レイアウト部303は、ステップS9030及びステップS9040における処理結果に基づいてレイアウトを行う。ステップS9050は、図5におけるステップS5020と同様の処理であり、ページ内の写真配置が決定される。   In step S9050, the layout unit 303 performs layout based on the processing results in steps S9030 and S9040. Step S9050 is the same processing as step S5020 in FIG. 5, and the photo arrangement in the page is determined.

ステップS9060において、レイアウト部303は、ステップS9050におけるレイアウト処理結果をユーザに提示する。ステップS9050におけるレイアウト処理結果としてレイアウトが複数生成された場合、複数のレイアウト処理結果をリストにして提示する。提示する順序は、既存のランダム値生成技術を用いてランダムに並べてもよいし、ステップS9050における処理順で並べてもよい。また、レイアウトの品質を評価する既存技術を用いてレイアウトのスコアを算出し、算出されたスコア順に並べることも可能である。レイアウトの品質評価技術としては、余白量等に基づいて品質を定量評価する技術が知られている。   In step S9060, the layout unit 303 presents the layout processing result in step S9050 to the user. When a plurality of layouts are generated as the layout processing result in step S9050, the plurality of layout processing results are presented as a list. The order of presentation may be arranged randomly using an existing random value generation technique, or may be arranged in the processing order in step S9050. It is also possible to calculate a layout score using an existing technique for evaluating layout quality, and to arrange the score in the calculated score order. As a layout quality evaluation technique, a technique for quantitatively evaluating quality based on a margin amount or the like is known.

ステップS9070において、レイアウト部303は、ステップS9060において提示したレイアウト処理結果に対するユーザの選択操作を受け付ける。レイアウト部303は、ユーザによって選択されたレイアウトを適用した新たなフォトアルバムのレイアウト処理結果を提示する。   In step S9070, the layout unit 303 accepts a user selection operation for the layout processing result presented in step S9060. The layout unit 303 presents a layout processing result of a new photo album to which the layout selected by the user is applied.

ステップS9060及びS9070におけるレイアウト処理結果の提示及びレイアウトの選択操作の一例について、図11及び図12を参照しながら説明する。図11(a)は、レイアウト処理結果の表示画面を示している。図11(a)に示すように、レイアウト処理結果の表示画面は、生成された複数のレイアウト候補が表示される候補表示領域1101を備えている。候補表示領域1101には、生成されたレイアウト候補が候補リスト1102においてリスト形式で表示される。ユーザは、候補リスト1102から所望のレイアウト候補を選択する。図11(b)に示すように、選択されたレイアウト候補1103はハイライト表示される。選択されたレイアウト候補1103が存在する状態で、マウスを右クリックすることにより決定メニュー1104が表示される。ユーザが決定メニュー1104を指示することにより、図12に示すように、選択されたレイアウト候補を用いた新たなフォトアルバムレイアウトが表示される。   An example of layout processing result presentation and layout selection operations in steps S9060 and S9070 will be described with reference to FIGS. FIG. 11A shows a display screen of the layout processing result. As shown in FIG. 11A, the layout processing result display screen includes a candidate display area 1101 in which a plurality of generated layout candidates are displayed. In the candidate display area 1101, the generated layout candidates are displayed in a list format in the candidate list 1102. The user selects a desired layout candidate from the candidate list 1102. As shown in FIG. 11B, the selected layout candidate 1103 is highlighted. A determination menu 1104 is displayed by right-clicking the mouse in a state where the selected layout candidate 1103 exists. When the user instructs the decision menu 1104, a new photo album layout using the selected layout candidate is displayed as shown in FIG.

ユーザは、必要に応じて、上述した編集処理をレイアウト編集支援装置に実行させることにより、編集作業を簡易な操作で行うことができる。   The user can perform the editing operation with a simple operation by causing the layout editing support apparatus to execute the editing process described above as necessary.

以上説明したように、クラスタリング条件を新たに生成することにより、ページに割り付けられる写真数が変更される。写真数が変わることで使用されるテンプレートも変更され、結果として異なるレイアウトが生成される。生成されたレイアウトは、クラスタリング条件により意味付けされたものとなっており、ランダムに配置されたものとは異なり、人間にとっても理解しやすいレイアウトが実現されることになる。   As described above, the number of photos assigned to a page is changed by newly generating a clustering condition. Changing the number of photos also changes the template used, resulting in a different layout. The generated layout is given meaning by the clustering condition, and unlike the randomly arranged layout, a layout that is easy to understand for humans is realized.

図13は、図9のステップS9010におけるコンテンツ特定処理の流れを示すフローチャートである。ステップS13000において、コンテンツ特定部304は、ユーザにより選択されたページと対応付けられるレイアウトクラスタを特定する。レイアウトクラスタの特定処理は、上述した不図示のページ割付テーブルを用いて行われる。   FIG. 13 is a flowchart showing the flow of content specifying processing in step S9010 of FIG. In step S13000, the content specifying unit 304 specifies a layout cluster associated with the page selected by the user. The layout cluster specifying process is performed using the above-described page allocation table (not shown).

ステップS13010において、コンテンツ特定部304は、ステップS13000で特定したレイアウトクラスタを全て含むクラスタを特定する。この処理では、コンテンツ特定部304は、各レイアウトクラスタの親クラスタを順次探索していき、全レイアウトクラスタを含むクラスタを特定する。   In step S13010, the content specifying unit 304 specifies a cluster that includes all the layout clusters specified in step S13000. In this process, the content specifying unit 304 sequentially searches for a parent cluster of each layout cluster, and specifies a cluster including all layout clusters.

ここで、図14を参照しながら、ステップS13010について具体的に説明する。図14は、編集対象となっているフォトアルバムのクラスタツリーの一例を示している。ユーザにより指示されたページと対応付けられるレイアウトクラスタがクラスタ1401及びクラスタ1402である場合、これらのレイアウトクラスタを含むクラスタは、クラスタ1403と特定される。これにより、複数のページに対して一度にレイアウト変更を行うことが可能となる。ここでは、ユーザにより指示された全レイアウトクラスタを含むクラスタを特定することにより、複数のページに対するレイアウトを一括で実施する方法について説明したが、異なる方法を用いてもよい。即ち、ユーザにより指示のあったレイアウトクラスタ毎にレイアウト変更処理を行ってもよい。   Here, step S13010 will be specifically described with reference to FIG. FIG. 14 shows an example of a cluster tree of photo albums to be edited. When the layout clusters associated with the page designated by the user are the clusters 1401 and 1402, the cluster including these layout clusters is identified as the cluster 1403. This makes it possible to change the layout for a plurality of pages at once. Here, the method of collectively performing layout for a plurality of pages by specifying a cluster including all layout clusters instructed by the user has been described. However, a different method may be used. That is, the layout change process may be performed for each layout cluster instructed by the user.

ステップS13020において、コンテンツ特定部304は、ステップS13010において特定したクラスタに基づき、レイアウト変更対象となる写真群を特定する。具体的には、コンテンツ特定部304は、ステップS13010において特定したクラスタが含む全写真をレイアウト対象として決定する。   In step S13020, the content specifying unit 304 specifies a group of photos that are subject to layout change based on the cluster specified in step S13010. Specifically, the content specifying unit 304 determines all photos included in the cluster specified in step S13010 as layout targets.

図15は、図9のステップS9020におけるクラスタリング条件決定処理の流れを示すフローチャートである。ステップS15000において、クラスタリング条件決定部305は、図9のステップS9010において特定された写真群に共通のメタデータを特定する。図16は、写真群が保持するメタデータの一例を示す図である。図16に示すように、各写真はメタデータを保持している。ステップS15000において、クラスタリング条件決定部305は、各写真のメタデータを参照することにより、全写真に共通のメタデータを特定する。図16に示す例では、撮影時刻、撮影場所及びお気に入り度が共通のメタデータとして特定される。   FIG. 15 is a flowchart showing the flow of the clustering condition determination process in step S9020 of FIG. In step S15000, the clustering condition determining unit 305 specifies metadata common to the photo group specified in step S9010 of FIG. FIG. 16 is a diagram illustrating an example of metadata held by a photograph group. As shown in FIG. 16, each photo holds metadata. In step S15000, the clustering condition determination unit 305 identifies metadata common to all the photos by referring to the metadata of each photo. In the example illustrated in FIG. 16, the shooting time, the shooting location, and the favorite degree are specified as common metadata.

ステップS15010において、クラスタリング条件決定部305は、指示されたレイアウトが生成された際のクラスタリング条件を取得する。クラスタリング条件とは、上述したようにクラスタリング処理で用いられるメタデータ及び距離規定値である。例えば、最初に生成されるレイアウトは全て撮影時刻に基づいてクラスタリング処理が行われ、距離規定値は予め規定されている。従って、最初に生成されたレイアウトである場合、ステップS15010において取得されるクラスタリング条件は、撮影時刻と予め規定された距離規定値ということになる。一方、ユーザにより1回以上レイアウト変更が行われた場合、異なるメタデータ及び距離規定値でクラスタリング処理が行われている。従って、撮影時刻とは別のメタデータ及び距離規定値が取得されることになる。なお、各クラスタリング条件は、クラスタリング処理毎に不図示のクラスタリング条件テーブルに格納されている。ステップS15010においては、このクラスタリング条件テーブルを参照することにより、クラスタリング条件が取得される。   In step S15010, the clustering condition determination unit 305 acquires the clustering condition when the instructed layout is generated. The clustering conditions are metadata and distance specification values used in the clustering process as described above. For example, all layouts that are generated first are subjected to clustering processing based on the shooting time, and the prescribed distance value is prescribed in advance. Accordingly, in the case of the layout generated first, the clustering condition acquired in step S15010 is the shooting time and the distance specified value specified in advance. On the other hand, when the layout change is performed once or more by the user, the clustering process is performed with different metadata and distance specification values. Therefore, metadata and distance specification values different from the shooting time are acquired. Each clustering condition is stored in a clustering condition table (not shown) for each clustering process. In step S15010, the clustering condition is acquired by referring to the clustering condition table.

ステップS15020において、クラスタリング条件決定部305は、ステップS15000及びステップS15010で取得した情報に基づいて、新たなクラスタリング条件を生成する。具体的には、クラスタリング条件決定部305は、ステップS15000で特定したメタデータ毎に新たなクラスタリング条件を生成する。   In step S15020, the clustering condition determination unit 305 generates a new clustering condition based on the information acquired in steps S15000 and S15010. Specifically, the clustering condition determination unit 305 generates a new clustering condition for each piece of metadata specified in step S15000.

先ず、クラスタリング条件決定部305は、メタデータがステップS15010で取得したクラスタリング条件で使用されたものと同じものか否かを判定する。判定処理は、メタデータ名称を単語とし、単語のマッチングを行うことにより実現する。マッチング処理は完全一致としてもよいし、辞書等を用いて類似する単語であれば合致したと判定してもよい。   First, the clustering condition determining unit 305 determines whether the metadata is the same as that used in the clustering condition acquired in step S15010. The determination process is realized by matching a word with a metadata name as a word. The matching process may be a complete match, or may be determined to be a match if it is a similar word using a dictionary or the like.

判定の結果、メタデータがステップS15010で取得したクラスタリング条件で使用されたものと同じものである場合、クラスタリング条件決定部305は、ステップS15010で取得したクラスタリング条件の距離規定値を変更して、新たなクラスタリング条件を生成する。例えば、元のクラスタリング条件が、メタデータ:撮影時刻、距離規定値:1時間である場合、新たなクラスタリング条件は、メタデータは変わらないが、距離規定値が変更されたものになる。距離規定値の変更方法は、予め規定しておいた割合で変更してもよいし、ランダムに変更してもよい。先に述べた例では、新たなクラスタリング条件の一例として、メタデータ:撮影時刻、距離規定値:5分等が考えられる。これにより、元のレイアウトとは異なる粒度でページ割付を行うことが可能になる。例えば、旅行記録のフォトアルバムを作成する場合を考える。当初のレイアウトでは、1時間を目安にページ割付が行われていたが、部分的に5分を目安にページ分割を行うことが可能になる。名所が多い都市等の観光の場合、短時間に多数の写真撮影を行うことが考えられる。当初のレイアウトでは、多くの写真が1ページに配置されてしまい名所での撮影記録を効果的に配置することができないが、クラスタリング条件を変更することにより、1ページ当たりの配置枚数を簡易に変更することが可能になる。   As a result of the determination, if the metadata is the same as that used in the clustering condition acquired in step S15010, the clustering condition determining unit 305 changes the distance specified value of the clustering condition acquired in step S15010 to Clustering conditions are generated. For example, when the original clustering condition is metadata: photographing time, distance specified value: 1 hour, the new clustering condition is that the distance specified value is changed, although the metadata is not changed. The method for changing the distance specified value may be changed at a rate specified in advance or may be changed randomly. In the example described above, as an example of a new clustering condition, metadata: photographing time, distance specified value: 5 minutes, etc. can be considered. This makes it possible to perform page allocation with a granularity different from that of the original layout. For example, consider the case of creating a travel record photo album. In the initial layout, page allocation was performed with 1 hour as a guide, but it becomes possible to partially perform page split with 5 minutes as a guide. In the case of sightseeing in a city with many famous places, it may be possible to take a number of photographs in a short time. In the original layout, many photos are placed on one page, so it is not possible to effectively arrange shooting records at famous places, but by changing the clustering conditions, the number of placements per page can be changed easily. It becomes possible to do.

一方、判定の結果、メタデータがステップS15010で取得したクラスタリング条件で使用されたものと異なるものである場合、クラスタリング条件決定部305は、新たなクラスタリング条件としてメタデータと距離規定値とを更新する。例えば、元のクラスタリング条件におけるメタデータが撮影時刻で判定対象となるメタデータがお気に入り度であった場合、新たなクラスタリング条件のメタデータはお気に入り度と設定される。距離規定値の設定処理は、上述した方法と同様にランダムで設定してもよいし、予め規定しておいたメタデータ毎の距離規定値を用いてもよい。   On the other hand, as a result of the determination, if the metadata is different from that used in the clustering condition acquired in step S15010, the clustering condition determining unit 305 updates the metadata and the distance specification value as a new clustering condition. . For example, when the metadata under the original clustering condition is the favorite level and the metadata to be determined at the shooting time is the favorite level, the metadata under the new clustering condition is set as the favorite level. The distance setting value setting process may be set at random in the same manner as described above, or a distance setting value for each metadata specified in advance may be used.

図17は、図9のステップS9030におけるクラスタリング処理の流れを示すフローチャートである。ステップS17000において、クラスタリング部302は、クラスタリング条件を取得する。クラスタリング条件取得処理は、図9におけるステップS9020で決定されたクラスタリング条件を取得することで実現する。クラスタリング条件が複数存在する場合、クラスタリング条件毎に以降のステップS17010からステップS17030を実施する。   FIG. 17 is a flowchart showing the flow of clustering processing in step S9030 of FIG. In step S17000, the clustering unit 302 acquires a clustering condition. The clustering condition acquisition process is realized by acquiring the clustering condition determined in step S9020 in FIG. When there are a plurality of clustering conditions, the following steps S17010 to S17030 are performed for each clustering condition.

ステップS17010において、クラスタリング部302は、ステップS17000で取得したクラスタリング条件に基づいてクラスタリング処理を行う。クラスタリング処理は、図5におけるステップS5000と同様の処理である。即ち、クラスタリング部302は、クラスタリング条件に規定されるメタデータを基準としてクラスタリング処理を行い、クラスタツリーを生成する。そして、クラスタリング部302は、生成されたクラスタツリーに対してクラスタリング条件で規定される距離規定値を基にレイアウトクラスタ特定処理を行う。   In step S17010, the clustering unit 302 performs clustering processing based on the clustering condition acquired in step S17000. The clustering process is the same process as step S5000 in FIG. That is, the clustering unit 302 performs a clustering process based on metadata defined in the clustering condition, and generates a cluster tree. Then, the clustering unit 302 performs layout cluster specifying processing on the generated cluster tree based on the distance specified value specified by the clustering condition.

ステップS17020において、クラスタリング部302は、ステップS17010で生成されたレイアウトクラスタと当該レイアウトクラスタと関連するクラスタとの相関度を算出する。相関度算出処理については図18を用いて後述する。ステップS17030において、クラスタリング部302は、ステップS17020で算出した相関度に基づいてレイアウトクラスタの順序を変更し、クラスタツリーを更新する。   In step S17020, the clustering unit 302 calculates the degree of correlation between the layout cluster generated in step S17010 and the cluster related to the layout cluster. The correlation degree calculation process will be described later with reference to FIG. In step S17030, the clustering unit 302 changes the order of the layout clusters based on the correlation calculated in step S17020, and updates the cluster tree.

ここで、ステップS17020及びステップS17030の処理について具体的に説明する。図19(a)は、フォトアルバム全体を示すクラスタツリーを示しており、ユーザにより変更指示があったクラスタがクラスタBである。図19(b)は、クラスタBに対し、新たなクラスタリング条件に基づいてクラスタリング処理を行った結果を示しており、新たなクラスタとしてクラスタXとクラスタYとが生成されている。クラスタリング部302は、変更指示のあったクラスタBの関連クラスタとして直前のクラスタAを特定した場合、クラスタX及びクラスタYの夫々についてクラスタAとの相関度を算出する。図19(c)は、クラスタAとの相関度がクラスタXの方が高い場合に最終的に生成されるクラスタツリーを示している。一方、図19(d)は、クラスタAとの相関度がクラスタYの方が高い場合に生成されるクラスタツリーを示している。クラスタAとの相関度が高いクラスタがクラスタAと近接するように決定されている。   Here, the processing of step S17020 and step S17030 will be specifically described. FIG. 19A shows a cluster tree showing the entire photo album, and a cluster for which a change instruction is given by the user is cluster B. FIG. FIG. 19B shows the result of clustering processing performed on cluster B based on the new clustering conditions, and cluster X and cluster Y are generated as new clusters. The clustering unit 302 calculates the degree of correlation with the cluster A for each of the cluster X and the cluster Y when the immediately preceding cluster A is specified as the related cluster of the cluster B for which the change instruction has been issued. FIG. 19C illustrates a cluster tree that is finally generated when the degree of correlation with the cluster A is higher in the cluster X. On the other hand, FIG. 19D shows a cluster tree generated when the degree of correlation with cluster A is higher in cluster Y. A cluster having a high degree of correlation with cluster A is determined to be close to cluster A.

以上の処理により、新たなクラスタリング条件により元のレイアウトの一部に対する異なるページ割付が実現される。当該処理により、部分的にクラスタリング条件が変更されるため、生成されるレイアウトが人間に違和感を与える可能性がある。例えば、フォトアルバム全体は、撮影時刻を基にページが構成されているが、部分的に撮影場所を基にページが構成されるということが考えられる。このような課題を解決するため、本実施形態では、ステップS17020及びステップS17030の処理により元のレイアウトとの相関が近くなるように新しいページ割付を実現している。即ち、新たに生成される部分的なレイアウトが人間に違和感を与える可能性を低減することが可能である。   Through the above processing, different page allocations for a part of the original layout are realized under new clustering conditions. Since the clustering condition is partially changed by the processing, the generated layout may give a strange feeling to humans. For example, in the entire photo album, the page is configured based on the shooting time, but the page may be configured partially based on the shooting location. In order to solve such a problem, in the present embodiment, new page allocation is realized by the processing in steps S17020 and S17030 so that the correlation with the original layout is close. That is, it is possible to reduce the possibility that a newly generated partial layout will give a person a sense of incongruity.

図18は、図17のステップS17020における相関度算出処理の流れを示すフローチャートである。ステップS18000において、クラスタリング部302は、レイアウト変更対象として指示されたクラスタの関連クラスタを特定する。関連クラスタの特定処理では、レイアウト変更対象のクラスタと前後するクラスタが特定される。ステップS18010において、クラスタリング部302は、相関度を算出するための基準となるメタデータを決定する。基準メタデータ取得処理では、ステップS18000で特定されたクラスタに含まれる写真と図17のステップS17010で生成されたクラスタに含まれる写真とに共通のメタデータが抽出される。例えば、関連クラスタに含まれる写真に付与されるメタデータが撮影時刻とお気に入り度とであり、図17のステップS17010で生成されたクラスタに含まれるメタデータが撮影時刻と撮影位置とであった場合、撮影時刻が基準メタデータとして抽出される。この例では、単一のメタデータが抽出されたが、共通のメタデータが複数あった場合、複数のメタデータが抽出される。ここで、基準メタデータの決定方法として共通メタデータの抽出を用いたが、異なる方法でも実現可能である。例えば、ステップS18000で特定されたクラスタが生成される際に用いられたメタデータでもよい。即ち、元のフォトアルバムが撮影時刻でクラスタリングされていた場合、撮影時刻を基準メタデータとしてもよい。   FIG. 18 is a flowchart showing the flow of correlation degree calculation processing in step S17020 of FIG. In step S18000, the clustering unit 302 identifies the related cluster of the cluster designated as the layout change target. In the related cluster specifying process, a cluster to be laid out and a cluster before and after the layout change target are specified. In step S18010, the clustering unit 302 determines metadata serving as a reference for calculating the degree of correlation. In the reference metadata acquisition process, common metadata is extracted between the photo included in the cluster specified in step S18000 and the photo included in the cluster generated in step S17010 in FIG. For example, when the metadata given to the photos included in the related cluster is the shooting time and the favorite degree, and the metadata included in the cluster generated in step S17010 in FIG. 17 is the shooting time and the shooting position. The shooting time is extracted as reference metadata. In this example, a single piece of metadata is extracted, but when there are a plurality of common metadata, a plurality of pieces of metadata are extracted. Here, the extraction of the common metadata is used as the reference metadata determination method, but a different method can be used. For example, the metadata used when the cluster specified in step S18000 is generated may be used. That is, when the original photo album is clustered by shooting time, the shooting time may be used as the reference metadata.

ステップS18020において、クラスタリング部302は、ステップS18010で決定された基準メタデータに基づいて、関連クラスタと図17のステップS17010で生成されたクラスタとの相関度を算出する。相関度算出は、メタデータに基づいてクラスタ間の距離を算出することで実現する。クラスタ間の距離の算出は既存技術を用いて行う。例えば、クラスタ内の写真が持つメタデータの平均値を用いてクラスタ間の距離を算出する方法が知られている。   In step S18020, the clustering unit 302 calculates the degree of correlation between the related cluster and the cluster generated in step S17010 in FIG. 17 based on the reference metadata determined in step S18010. The correlation degree calculation is realized by calculating the distance between the clusters based on the metadata. The distance between clusters is calculated using existing technology. For example, a method is known in which the distance between clusters is calculated using an average value of metadata held by photographs in the cluster.

本実施形態では、相関度を求める基準をメタデータとする方法を説明したが、異なる方法を用いてもよい。例えば、写真の色味(色相・彩度・明度)に着目し、色味の相性を相関度とする方法が可能である。色味の相性はレイアウトデザインの知識として一般に知られており、当該知識を利用することで実現可能である。具体的には、同系色(色相が同じで彩度・明度が異なるもの)、類似色(色相が近接し彩度・明度が同一のもの)、補色(色相が対称となるもの)が相性の良い色味の一例として知られている。従って、色相・彩度・明度の距離を用いることで相性を判断することができる。   In the present embodiment, the method of using the reference for obtaining the degree of correlation as metadata has been described, but a different method may be used. For example, it is possible to focus on the hue (hue / saturation / lightness) of a photograph and use the compatibility of the hue as a correlation. Color compatibility is generally known as knowledge of layout design, and can be realized by using this knowledge. Specifically, similar colors (those with the same hue but different saturation / lightness), similar colors (those with similar hues and similar hues), and complementary colors (those with symmetrical hues) are compatible. It is known as an example of good color. Therefore, the compatibility can be determined by using the distances of hue, saturation, and brightness.

また、相関度を算出する方法としては、相関度を求める際にページ構成に着目する手法も考えられる。フォトアルバムの場合、見開きページとなる組合せは強い相関が求められる可能性が高いがページめくりが発生する場合は、連続するページの相関度が低くても人間に違和感を与えない可能性もある。例えば、見開きページとなるかページめくりが発生するかに応じて相関度に対して係数を乗算し、ページ構成を考慮した相関度を決定する方法により実現可能である。   Further, as a method of calculating the degree of correlation, a method of paying attention to the page configuration when obtaining the degree of correlation can be considered. In the case of a photo album, there is a high possibility that a strong correlation is required for a combination that becomes a spread page, but when page turning occurs, there is a possibility that humans will not feel uncomfortable even if the correlation degree of consecutive pages is low. For example, this can be realized by a method of multiplying the correlation degree by a coefficient in accordance with whether the page is spread or turning, and determining the correlation degree considering the page configuration.

本実施形態においては、ユーザによって指定された写真群のメタデータに基づいてクラスタリング条件を変更し、当該変更結果に合わせてレイアウト処理を行うことにより、ユーザの所望する可能性があるレイアウト候補を自動生成することが可能となる。   In this embodiment, by changing the clustering condition based on the metadata of the photo group specified by the user and performing layout processing according to the change result, layout candidates that the user may desire are automatically selected. Can be generated.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

302:クラスタリング部、303:レイアウト部、304:コンテンツ特定部、305:クラスタリング条件決定部、306:テンプレートDB   302: Clustering unit, 303: Layout unit, 304: Content specifying unit, 305: Clustering condition determining unit, 306: Template DB

Claims (6)

レイアウト変更対象となるデータ群を特定する特定手段と、
前記特定手段により特定された前記データ群に基づいて、クラスタリング処理の際の条件を決定する決定手段と、
前記決定手段により決定された前記条件に基づいて、前記データ群に対してクラスタリング処理を行うクラスタリング手段と、
前記クラスタリング手段により生成された各クラスタに基づいて、前記データ群に対するレイアウト処理を行うレイアウト手段とを有することを特徴とするレイアウト編集支援装置。
A specifying means for specifying a data group to be changed in layout,
Determining means for determining a condition for clustering processing based on the data group specified by the specifying means;
Clustering means for performing a clustering process on the data group based on the condition determined by the determining means;
A layout editing support apparatus, comprising: layout means for performing layout processing on the data group based on each cluster generated by the clustering means.
前記決定手段は、前記データ群のメタデータに基づいて、前記条件を決定することを特徴とする請求項1に記載のレイアウト編集支援装置。   The layout editing support apparatus according to claim 1, wherein the determination unit determines the condition based on metadata of the data group. 前記レイアウト手段は、生成した前記各クラスタと、レイアウト変更対象となる前記データ群と関連するクラスタとの相関度に基づいて、前記各クラスタの順序を決定し、前記レイアウト手段は、前記レイアウト手段により決定された前記各クラスタの順序に基づいて、前記データ群に対するレイアウト処理を行うことを特徴とする請求項1又は2に記載のレイアウト編集支援装置。   The layout means determines the order of the clusters based on the degree of correlation between the generated clusters and the clusters related to the data group to be changed in layout, and the layout means The layout editing support apparatus according to claim 1, wherein a layout process is performed on the data group based on the determined order of the clusters. 前記レイアウト手段は、前記クラスタリング手段により生成された前記各クラスタに含まれるデータをページ毎に割り付けることにより、前記データ群に対するレイアウト処理を行うことを特徴とする請求項1乃至3の何れか1項に記載のレイアウト編集支援装置。   4. The layout unit according to claim 1, wherein the layout unit performs layout processing on the data group by allocating data included in each cluster generated by the clustering unit for each page. The layout editing support apparatus according to 1. レイアウト編集支援装置によって実行されるレイアウト編集支援方法であって、
レイアウト変更対象となるデータ群を特定する特定ステップと、
前記特定ステップにより特定された前記データ群に基づいて、クラスタリング処理の際の条件を決定する決定ステップと、
前記決定ステップにより決定された前記条件に基づいて、前記データ群に対してクラスタリング処理を行うクラスタリングステップと、
前記クラスタリングステップにより生成された各クラスタに基づいて、前記データ群に対するレイアウト処理を行うレイアウトステップとを有することを特徴とするレイアウト編集支援方法。
A layout editing support method executed by a layout editing support device,
A specific step of identifying a data group to be changed in layout,
A determination step of determining a condition for clustering processing based on the data group specified by the specifying step;
A clustering step of performing a clustering process on the data group based on the condition determined in the determination step;
A layout editing support method comprising: a layout step for performing layout processing on the data group based on each cluster generated by the clustering step.
レイアウト変更対象となるデータ群を特定する特定ステップと、
前記特定ステップにより特定された前記データ群に基づいて、クラスタリング処理の際の条件を決定する決定ステップと、
前記決定ステップにより決定された前記条件に基づいて、前記データ群に対してクラスタリング処理を行うクラスタリングステップと、
前記クラスタリングステップにより生成された各クラスタに基づいて、前記データ群に対するレイアウト処理を行うレイアウトステップとをコンピュータに実行させるためのプログラム。
A specific step of identifying a data group to be changed in layout;
A determination step of determining a condition for clustering processing based on the data group specified by the specifying step;
A clustering step of performing a clustering process on the data group based on the condition determined in the determination step;
A program for causing a computer to execute a layout step for performing a layout process on the data group based on each cluster generated by the clustering step.
JP2011182193A 2011-08-24 2011-08-24 Layout editing support device, layout editing support method, and program Withdrawn JP2013046188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011182193A JP2013046188A (en) 2011-08-24 2011-08-24 Layout editing support device, layout editing support method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011182193A JP2013046188A (en) 2011-08-24 2011-08-24 Layout editing support device, layout editing support method, and program

Publications (1)

Publication Number Publication Date
JP2013046188A true JP2013046188A (en) 2013-03-04

Family

ID=48009770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011182193A Withdrawn JP2013046188A (en) 2011-08-24 2011-08-24 Layout editing support device, layout editing support method, and program

Country Status (1)

Country Link
JP (1) JP2013046188A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015053543A (en) * 2013-09-05 2015-03-19 キヤノン株式会社 Image processing apparatus, image processing method, and program
CN105554052A (en) * 2015-09-25 2016-05-04 深圳市美贝壳科技有限公司 Server photograph information remote synchronous modification method
US9509859B2 (en) 2013-09-30 2016-11-29 Fujifilm Corporation Image allocation device and image allocation method
WO2017187751A1 (en) * 2016-04-25 2017-11-02 富士フイルム株式会社 Image synthesis device, image synthesis method, and image synthesis program
JP2018097491A (en) * 2016-12-09 2018-06-21 キヤノン株式会社 Image processing device, image processing method and program
CN115099675A (en) * 2022-07-14 2022-09-23 海门市三德体育用品有限公司 Layout planning method for fitness place

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015053543A (en) * 2013-09-05 2015-03-19 キヤノン株式会社 Image processing apparatus, image processing method, and program
US9509859B2 (en) 2013-09-30 2016-11-29 Fujifilm Corporation Image allocation device and image allocation method
CN105554052A (en) * 2015-09-25 2016-05-04 深圳市美贝壳科技有限公司 Server photograph information remote synchronous modification method
WO2017187751A1 (en) * 2016-04-25 2017-11-02 富士フイルム株式会社 Image synthesis device, image synthesis method, and image synthesis program
JP2017199961A (en) * 2016-04-25 2017-11-02 富士フイルム株式会社 Image synthesizer, image composition method and image synthesis program
US10719965B2 (en) 2016-04-25 2020-07-21 Fujifilm Corporation Image combination apparatus, image combination method, and image combination program
JP2018097491A (en) * 2016-12-09 2018-06-21 キヤノン株式会社 Image processing device, image processing method and program
CN115099675A (en) * 2022-07-14 2022-09-23 海门市三德体育用品有限公司 Layout planning method for fitness place
CN115099675B (en) * 2022-07-14 2022-11-15 海门市三德体育用品有限公司 Layout planning method for fitness place

Similar Documents

Publication Publication Date Title
US8743410B2 (en) Method, apparatus, and program for laying out images
US7296224B2 (en) Method for assigning graphical images to pages
US10999454B2 (en) Information processing method, information processing apparatus, and storage medium that generate, for each of a plurality of images, reliability information indicating reliability of date and time information, and notify a user accordingly
JP2013046188A (en) Layout editing support device, layout editing support method, and program
US10498909B2 (en) Information processing apparatus, information processing method, and storage medium
US8930809B2 (en) Editing apparatus and layout method, and storage medium
JP2012104949A (en) Information processing device, information processing device control method, and program
US9405494B2 (en) Apparatus and method for outputting layout data according to timing information, and storage medium
US10795620B2 (en) Image processing apparatus and layout method
US20180218526A1 (en) Information processing apparatus and information processing method
JP2009246822A (en) Method for editing image and device therefor
JP4412552B2 (en) Image layout apparatus and method, and program
US10341508B2 (en) Information processing apparatus, information processing method, and non-transitory computer readable storage medium
JP6525804B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
US10902047B2 (en) Information processing method for displaying a plurality of images extracted from a moving image
EP2763391B1 (en) Image editing device, image editing method, program, and computer readable storage medium
JP5898158B2 (en) Human image display control device, control method thereof, control program thereof, and recording medium storing the control program
US11741055B2 (en) Managing file revisions from multiple reviewers
US20130247746A1 (en) Music content display apparatus and method
JP2015069599A (en) Person image determination device for electronic album, control method for the same, control program for the same, and recording medium storing control program
JP7292895B2 (en) Information processing device, information processing method, and program
JP2014119810A (en) Data processing device, data processing method and program
US20210044704A1 (en) Information processing apparatus, method for information processing, and storage medium
JP2019036802A (en) Information processing apparatus and method for controlling the same, and program
JP6572054B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141104