JP2013182524A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2013182524A
JP2013182524A JP2012047301A JP2012047301A JP2013182524A JP 2013182524 A JP2013182524 A JP 2013182524A JP 2012047301 A JP2012047301 A JP 2012047301A JP 2012047301 A JP2012047301 A JP 2012047301A JP 2013182524 A JP2013182524 A JP 2013182524A
Authority
JP
Japan
Prior art keywords
image
template
arrangement
templates
area
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
JP2012047301A
Other languages
Japanese (ja)
Inventor
Tatsuya Yamamoto
竜也 山本
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 JP2012047301A priority Critical patent/JP2013182524A/en
Publication of JP2013182524A publication Critical patent/JP2013182524A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide technology for efficient retrieval of an album template desired by a user.SOLUTION: An image processing device selects templates for regulating image arrangement distributions as many as designated distributions from multiple templates, as selection templates, and determines similarity between the arrangement distributions regulated by the selection templates and the designated distributions, with respect to each of the selected selection templates. The device selects the selection templates that have the similarity equal to or greater than a specified value among the selection templates as use candidate templates, and displays a list of information relating to the selected use candidate templates.

Description

本発明は、アルバムテンプレートを検索する為の技術に関するものである。   The present invention relates to a technique for searching for an album template.

近年、デジタルカメラの普及に伴い、パーソナルコンピュータ上で、撮影した画像やテキストを好みの位置に配置して電子アルバムを作成するための電子アルバム作成プログラムが広く用いられている。このような電子アルバム作成プログラムでは、ユーザがレイアウトを考える手間を省くため、予め画像の配置位置を定義したアルバムテンプレートに画像を配置して電子アルバムを作成する方法が一般的である。しかし、アルバムテンプレートを多数用意したとき、ユーザは所望のアルバムテンプレートを見つけ出すことが面倒となる。   In recent years, with the widespread use of digital cameras, electronic album creation programs for creating electronic albums by arranging captured images and texts at desired positions on personal computers are widely used. In such an electronic album creation program, in order to save the user from having to think about the layout, a method of creating an electronic album by arranging images in an album template in which the arrangement positions of the images are defined in advance is generally used. However, when a large number of album templates are prepared, it is troublesome for the user to find a desired album template.

この問題を解決するため、例えば特許文献1に開示されているように、電子アルバムのページ上に配置された画像の数量を検知し、検知された画像数に応じてアルバムテンプレートの選択または候補表示を行う方法が知られている。また、特許文献1では、選択されたアルバムテンプレートに従って自動的に画像を配置することで、ユーザが画像を配置する手間を省く方法も述べられている。   In order to solve this problem, for example, as disclosed in Patent Document 1, the number of images arranged on the page of the electronic album is detected, and album template selection or candidate display is performed according to the detected number of images. The method of doing is known. Further, Patent Document 1 also describes a method for automatically arranging images according to a selected album template, thereby saving the user from arranging images.

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

しかしながら、画像の数量による選択では、アルバムテンプレートが大量に存在するとき、候補としてユーザが望まないアルバムテンプレートも多く表示してしまう可能性がある。また、デジタルカメラやスマートフォンといった表示領域が小さいデバイスにおいては、できる限り候補を絞ることが望ましい。アルバムテンプレートを選択する手間を軽減するためには、画像の数量だけでなく、さらに絞り込む方法が必要となる。   However, in the selection based on the quantity of images, when there are a large number of album templates, there is a possibility that many album templates that the user does not want are displayed as candidates. In addition, in a device with a small display area such as a digital camera or a smartphone, it is desirable to narrow down candidates as much as possible. In order to reduce the trouble of selecting an album template, a method for further narrowing down not only the quantity of images but also the image template is required.

本発明は上述した問題を解決するためになされたものであり、ユーザが所望するアルバムテンプレートを効率よく検索するための技術を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to provide a technique for efficiently searching for an album template desired by a user.

本発明の目的を達成するために、例えば、本発明の画像処理装置は、画像の配置位置を検出する検出手段と、複数のテンプレートから、前記検出手段により検出された配置位置の個数と同数の画像を配置する画像配置領域を有し、前記配置位置夫々に対応する前記画像配置領域を有するテンプレートを選択する選択手段と、前記選択手段により選択された前記テンプレートを用いて画像を配置する配置手段とを備えることを特徴とする。   In order to achieve the object of the present invention, for example, an image processing apparatus of the present invention includes a detection unit that detects an arrangement position of an image, and the same number of arrangement positions detected by the detection unit from a plurality of templates. Selection means for selecting a template having an image placement area for placing an image and having the image placement area corresponding to each of the placement positions; and placement means for placing an image using the template selected by the selection means It is characterized by providing.

本発明の構成によれば、ユーザが所望するアルバムテンプレートを効率よく検索することができる。   According to the configuration of the present invention, it is possible to efficiently search for an album template desired by the user.

システムの構成例を示す図。The figure which shows the structural example of a system. コンピュータの構成例を示す図。The figure which shows the structural example of a computer. 電子アルバム作成装置102の機能構成例を示すブロック図。FIG. 3 is a block diagram showing an example of a functional configuration of the electronic album creating apparatus 102. レイアウト制御部309が行う処理のフローチャート。The flowchart of the process which the layout control part 309 performs. ユーザインターフェース301の画面の表示例を示す図。The figure which shows the example of a display of the screen of the user interface. 画像配置領域の位置の求め方を説明する図。The figure explaining how to obtain | require the position of an image arrangement | positioning area | region. 類似度の求め方を説明する図。The figure explaining how to obtain | require similarity. 類似度の求め方を説明する図。The figure explaining how to obtain | require similarity. 電子アルバム作成装置102の機能構成例を示すブロック図。FIG. 3 is a block diagram showing an example of a functional configuration of the electronic album creating apparatus 102. レイアウト制御部309が行う処理のフローチャート。The flowchart of the process which the layout control part 309 performs. 重み値の求め方を説明する図。The figure explaining how to obtain | require a weight value. 使用候補テンプレートの表示例を示す図。The figure which shows the example of a display of a use candidate template. スマートフォンにおける表示推移例を示す図。The figure which shows the example of a display transition in a smart phone.

以下、添付図面を参照し、本発明の好適な実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載の構成の具体的な実施例の1つである。   Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. The embodiment described below shows an example when the present invention is specifically implemented, and is one of the specific examples of the configurations described in the claims.

[第1の実施形態]
先ず、画像処理装置としての電子アルバム作成装置を含むシステムの構成例について、図1を用いて説明する。本実施形態では、画面(画面全体でも良いし画面上の規定領域内であっても良い)上における画像の配置分布を規定するテンプレート(アルバムテンプレート)に基づいて画像を該画面上に配置することで、該画面を1ページとする電子アルバムを作成する。
[First Embodiment]
First, a configuration example of a system including an electronic album creating apparatus as an image processing apparatus will be described with reference to FIG. In the present embodiment, an image is arranged on the screen based on a template (album template) that defines the arrangement distribution of the image on the screen (which may be the entire screen or may be within a specified area on the screen). Thus, an electronic album having the screen as one page is created.

静止画や動画像を撮像可能な装置としてのカメラ101により撮像された画像(静止画像や動画像を構成する各フレームの画像)は、有線若しくは無線のネットワークを介して電子アルバム作成装置102に対して送出される。なお、カメラ101により撮像された画像を電子アルバム作成装置102に供給するための方法には様々な方法が考えられる。例えば、カメラ101に挿入されているメモリカードに撮像画像を記録した場合、このメモリカードを直接的若しくは間接的に電子アルバム作成装置102に接続することで、電子アルバム作成装置102はメモリカードから撮像画像を読み出すことができる。   Images captured by the camera 101 as an apparatus capable of capturing still images and moving images (images of frames constituting still images and moving images) are sent to the electronic album creating apparatus 102 via a wired or wireless network. Are sent out. Note that various methods are conceivable for supplying an image captured by the camera 101 to the electronic album creating apparatus 102. For example, when a captured image is recorded on a memory card inserted in the camera 101, the electronic album creating apparatus 102 captures an image from the memory card by connecting the memory card directly or indirectly to the electronic album creating apparatus 102. Images can be read out.

また、電子アルバムを作成するために用いる画像はカメラにより撮像されたものに限らない。例えば、撮像機能が備わっている機器(携帯電話など)により撮像された画像を直接的若しくは間接的に電子アルバム作成装置102に供給するようにしても良い。   In addition, an image used to create an electronic album is not limited to an image captured by a camera. For example, an image captured by a device (such as a mobile phone) having an imaging function may be supplied directly or indirectly to the electronic album creating apparatus 102.

電子アルバム作成装置102は、カメラ101により撮像された画像を管理しており、電子アルバムのページごとにテンプレートを用いてこの画像を配置することで該電子アルバムを完成させる。なお、本実施形態では、カメラ101により撮像された画像やテンプレートは電子アルバム作成装置102が管理するものとして説明する。しかし、これに限るものではなく、例えば、ネットワーク103に新たにサーバを接続し、このサーバに格納しておいても良い。この場合、テンプレートや画像は、電子アルバム作成装置102が必要に応じてこのサーバから取得する。   The electronic album creating apparatus 102 manages images captured by the camera 101, and completes the electronic album by arranging the images using a template for each page of the electronic album. In the present embodiment, description will be made assuming that the image and template captured by the camera 101 are managed by the electronic album creating apparatus 102. However, the present invention is not limited to this. For example, a new server may be connected to the network 103 and stored in this server. In this case, the template and image are acquired from this server by the electronic album creating apparatus 102 as necessary.

また、以降に説明する電子アルバム作成装置102の一部の処理をサーバが実行するように構成してもよい。例えば、電子アルバム作成装置102は、サーバの処理結果をユーザに提示し、ユーザからの操作指示をサーバに通知することでも本実施形態を実現できる。   Moreover, you may comprise so that a server may perform one part process of the electronic album production apparatus 102 demonstrated below. For example, the electronic album creating apparatus 102 can also realize this embodiment by presenting the processing result of the server to the user and notifying the server of an operation instruction from the user.

また、電子アルバム作成装置102が完成させた電子アルバムのデータの出力先は特定の出力先に限るものではなく、電子アルバム作成装置102内のメモリに格納しても良いし、上記のサーバに対してネットワーク103を介して送出しても良い。また、このネットワーク103に印刷業者のサーバが接続されている場合には、このサーバに対して電子アルバムのデータを送信しても良い。図1では、ネットワーク103には印刷システム104が接続されており、この印刷システム104に対して電子アルバムのデータを送出し、この印刷システム104に電子アルバムの各ページを印刷させても良い。次に、電子アルバム作成装置102の機能構成例について、図3のブロック図を用いて説明する。   In addition, the output destination of the data of the electronic album completed by the electronic album creating apparatus 102 is not limited to a specific output destination, and may be stored in a memory in the electronic album creating apparatus 102 or may be stored in the above server. May be transmitted via the network 103. Further, when a printer server is connected to the network 103, electronic album data may be transmitted to the server. In FIG. 1, a printing system 104 is connected to the network 103, electronic album data may be sent to the printing system 104, and the printing system 104 may print each page of the electronic album. Next, a functional configuration example of the electronic album creating apparatus 102 will be described with reference to the block diagram of FIG.

ユーザインターフェース301は、ユーザからの操作指示(ユーザ指示)を受け付けると共に、各種の情報を表示することが可能なタッチパネル式の画面で構成されている。もちろん、ユーザインターフェース301はタッチパネル式の画面に限るものではなく、通常の液晶画面とボタン群により構成されても良い。   The user interface 301 includes a touch panel screen that can receive an operation instruction (user instruction) from a user and display various types of information. Of course, the user interface 301 is not limited to a touch panel screen, and may be formed of a normal liquid crystal screen and a group of buttons.

表示制御部302は、画像表示部303とアルバム表示部304とを有する。画像表示部303は、電子アルバムを作成するための様々な画面をユーザインターフェース301に表示し、提示する。アルバム表示部304は、完成した若しくは作成途中の電子アルバムの各ページをユーザインターフェース301に表示する。   The display control unit 302 includes an image display unit 303 and an album display unit 304. The image display unit 303 displays various screens for creating an electronic album on the user interface 301 and presents them. The album display unit 304 displays each page of the completed or being created electronic album on the user interface 301.

管理部305は、画像管理部306、アルバムテンプレート管理部307、アルバム管理部308、を有する。画像管理部306は、上記のカメラ101などから電子アルバム作成装置102に供給された画像を管理する。アルバムテンプレート管理部307は、ユーザインターフェース301の画面上における画像の配置分布を規定するテンプレートを複数枚管理している。アルバム管理部308は、作成済み電子アルバムのデータ若しくは作成途中で保存するものと指定された電子アルバムのデータを管理する。   The management unit 305 includes an image management unit 306, an album template management unit 307, and an album management unit 308. An image management unit 306 manages images supplied from the camera 101 or the like to the electronic album creating apparatus 102. The album template management unit 307 manages a plurality of templates that define the image distribution on the screen of the user interface 301. The album management unit 308 manages the data of the created electronic album or the data of the electronic album designated to be saved during the creation.

レイアウト制御部309は、レイアウト処理部310、画像配置位置指定部311、画像枠数取得部312、画像枠位置取得部313、画像枠配置類似度算出部314、を有する。   The layout control unit 309 includes a layout processing unit 310, an image arrangement position designation unit 311, an image frame number acquisition unit 312, an image frame position acquisition unit 313, and an image frame arrangement similarity calculation unit 314.

画像配置位置指定部311は、ユーザインターフェース301の画面上における画像の配置分布として、ユーザがユーザインターフェース301を操作することで入力した指定分布を取得する。換言すると、画像配置位置指定部311は、画像を配置する配置位置を検出する。   The image arrangement position specifying unit 311 acquires a specified distribution input by the user operating the user interface 301 as an image arrangement distribution on the screen of the user interface 301. In other words, the image arrangement position designation unit 311 detects the arrangement position where the image is arranged.

画像枠数取得部312は、アルバムテンプレート管理部307が管理しているそれぞれのテンプレートについて、該テンプレートが規定する画像配置領域(画像枠)の個数を取得する。   For each template managed by the album template management unit 307, the image frame number acquisition unit 312 acquires the number of image arrangement areas (image frames) defined by the template.

画像枠位置取得部313は、アルバムテンプレート管理部307が管理しているそれぞれのテンプレートについて、該テンプレートが規定する画像配置領域(画像枠)の位置を取得する。   For each template managed by the album template management unit 307, the image frame position acquisition unit 313 acquires the position of the image arrangement area (image frame) defined by the template.

画像枠配置類似度算出部314は、アルバムテンプレート管理部307が管理している複数枚のテンプレートから、指定分布と同数の画像の配置分布を規定するテンプレートを選択テンプレートとして選択する。そして画像枠配置類似度算出部314は、それぞれの選択テンプレートについて、該選択テンプレートが規定する配置分布と指定分布の類似度を求める(計算)。   The image frame arrangement similarity calculation unit 314 selects a template that defines the arrangement distribution of the same number of images as the selected distribution from a plurality of templates managed by the album template management unit 307 as a selection template. Then, the image frame arrangement similarity calculation unit 314 calculates, for each selected template, the similarity between the arrangement distribution specified by the selection template and the designated distribution (calculation).

レイアウト処理部310は、それぞれの選択テンプレートのうち、類似度が規定値以上の選択テンプレートを使用候補テンプレートとして選択し、該選択した使用候補テンプレートに係る情報をユーザインターフェース301に一覧表示する。   The layout processing unit 310 selects a selection template having a similarity equal to or higher than a predetermined value from among the selection templates as a use candidate template, and displays a list of information on the selected use candidate template on the user interface 301.

以降の処理については別段限定しないが、例えば、レイアウト処理部310は、一覧表示した使用候補テンプレートのうちユーザが指定した使用候補テンプレートをユーザインターフェース301に表示する。そしてレイアウト処理部310は、ユーザインターフェース301を介したユーザ操作に応じて、該使用候補テンプレート上に画像やテキストを配置して1ページ分の電子アルバムを作成する。その際の様々な画像得表示には画像表示部303が関わる。そしてレイアウト処理部310は、ユーザインターフェース301を介してユーザから作成完了の旨の指示を受けると、この電子アルバムのデータをアルバム管理部308に管理させる。   For example, the layout processing unit 310 displays, on the user interface 301, the use candidate templates designated by the user among the use candidate templates displayed in a list. Then, in response to a user operation via the user interface 301, the layout processing unit 310 arranges images and text on the use candidate template and creates an electronic album for one page. The image display unit 303 is involved in various image acquisition displays at that time. When the layout processing unit 310 receives an instruction to the effect of completion of creation from the user via the user interface 301, the layout processing unit 310 causes the album management unit 308 to manage the data of the electronic album.

レイアウト制御部309が行う処理について、同処理のフローチャートを示す図4を用いて説明する。   Processing performed by the layout control unit 309 will be described with reference to FIG. 4 showing a flowchart of the processing.

ユーザは、ユーザインターフェース301の画面(画面全体でも良いし画面上の規定領域内であっても良い)を電子アルバムの1ページ分の領域と見なし、この画面上で画像を配置する位置を自身の指などでもって指定する。   The user regards the screen of the user interface 301 (which may be the entire screen or may be within a specified area on the screen) as an area for one page of the electronic album, and the position where the image is arranged on this screen is his own. Specify with your finger.

図5では、ユーザインターフェース301の画面501上に3点(三角形で示す位置)を指定しており、この位置を画像配置位置としている。なお、画像配置位置は、画像の左上隅の位置としても良いし、画像の中央位置としても良い。   In FIG. 5, three points (positions indicated by triangles) are designated on the screen 501 of the user interface 301, and these positions are set as image arrangement positions. The image arrangement position may be the position of the upper left corner of the image or the center position of the image.

このようにして、ユーザがユーザインターフェース301を用いて画像配置位置を指定し、その後、ユーザインターフェース301を用いて指定終了指示を入力すると、ステップS401で画像配置位置指定部311は、この指定された画像配置位置を取得する。更に画像配置位置指定部311は、この指定した画像配置位置の個数をカウントする。   In this way, when the user designates the image arrangement position using the user interface 301 and then inputs a designation end instruction using the user interface 301, the image arrangement position designation unit 311 in step S401 causes the designated image arrangement position to be designated. Get the image placement position. Further, the image arrangement position designation unit 311 counts the number of designated image arrangement positions.

ステップS402では、画像枠数取得部312は、アルバムテンプレート管理部307が管理しているそれぞれのテンプレートを取得する。   In step S <b> 402, the image frame number acquisition unit 312 acquires each template managed by the album template management unit 307.

ステップS403では、画像枠数取得部312は、ステップS402で取得したそれぞれのテンプレートについて、該テンプレートが規定する画像配置領域(画像枠)の個数を取得する。取得する方法には様々な方法が考えられ、例えば、テンプレートに添付されている画像配置領域数の情報を読み出すことで取得しても良いし、テンプレートのデータにおいて画像配置領域を示す情報の数をカウントすることで取得しても良い。   In step S403, the image frame number acquisition unit 312 acquires the number of image arrangement regions (image frames) defined by the template for each template acquired in step S402. Various methods are conceivable as the acquisition method. For example, the information may be acquired by reading information on the number of image arrangement areas attached to the template, or the number of information indicating the image arrangement area in the template data may be obtained. You may acquire by counting.

そして、画像枠数取得部312は、ステップS402で取得したそれぞれのテンプレートのうち未選択のテンプレートから1つを、着目テンプレートとして選択する。そして画像枠数取得部312は、着目テンプレートについて取得した画像配置領域の個数と、ステップS401で取得した画像配置位置の個数と、が同じであるか否かを判断する。この判断の結果、同じである場合には、処理はステップS404に進み、同じではない場合には、処理はステップS408に進む。   Then, the image frame number acquiring unit 312 selects one of the unselected templates from the templates acquired in step S402 as the template of interest. Then, the image frame number acquisition unit 312 determines whether or not the number of image arrangement areas acquired for the template of interest and the number of image arrangement positions acquired in step S401 are the same. If the result of this determination is the same, the process proceeds to step S404; otherwise, the process proceeds to step S408.

ステップS404では、画像枠位置取得部313は、着目テンプレートが規定するそれぞれの画像配置領域(画像枠)の位置(画像配置位置)を取得する。着目テンプレートが規定するそれぞれの画像配置領域の位置の取得方法については特定の方法に限るものではない。例えば、着目テンプレートが規定するそれぞれの画像配置領域の位置が予め添付情報として着目テンプレートに添付されている場合には、この添付情報を読み出すことで取得することが出来る。   In step S404, the image frame position acquisition unit 313 acquires the position (image arrangement position) of each image arrangement area (image frame) defined by the template of interest. The method for acquiring the position of each image arrangement area defined by the template of interest is not limited to a specific method. For example, when the position of each image arrangement area defined by the template of interest is attached to the template of interest as attached information in advance, it can be obtained by reading out the attached information.

また、図6(a)に示す如く、画像配置領域601の四隅の位置が上記の添付情報などにより予め分かっている若しくは着目テンプレートから計算可能である場合には、画像配置領域601における2本の対角線の交点を画像配置領域601の位置としても良い。   In addition, as shown in FIG. 6A, when the positions of the four corners of the image arrangement area 601 are known in advance from the attached information or can be calculated from the template of interest, two images in the image arrangement area 601 are displayed. The intersection of diagonal lines may be set as the position of the image arrangement area 601.

また、図6(b)に示す如く、画像配置領域の近傍にテキスト配置領域が設けられている場合には、これらの領域を包含する包含領域について、図6(a)を用いて説明したように位置を求めるようにしても良い。   Further, as shown in FIG. 6B, in the case where a text arrangement area is provided in the vicinity of the image arrangement area, the inclusion area including these areas has been described with reference to FIG. You may make it ask for a position.

図4に戻って、次に、ステップS405では、画像枠配置類似度算出部314は、ステップS401で取得した画像配置位置の分布(配置分布)と、ステップS404で求めた画像配置位置の分布と、の類似度を求める。それぞれの分布の類似度を求めることができるのであれば、如何なる方法を用いて類似度を求めても良い。以下に2つの方法(方法1,方法2)を例に挙げて説明する。   Returning to FIG. 4, next, in step S405, the image frame arrangement similarity calculation unit 314 obtains the image arrangement position distribution (arrangement distribution) acquired in step S401 and the image arrangement position distribution obtained in step S404. Find the similarity of. As long as the similarity of each distribution can be obtained, the similarity may be obtained by any method. Hereinafter, two methods (method 1 and method 2) will be described as examples.

<方法1>
図7(a)では、ユーザインターフェース301の画面701上には3点が指定されている。ここで、この画面701を複数の矩形領域に分割すると、上記の指定した3点は、「4」、「7」、「14」の番号がつけられている矩形領域に属している。
<Method 1>
In FIG. 7A, three points are designated on the screen 701 of the user interface 301. Here, when this screen 701 is divided into a plurality of rectangular areas, the three specified points belong to the rectangular areas numbered “4”, “7”, and “14”.

一方、テンプレートは図7(b)〜(e)に示す如く、画面上における画像配置領域(「枠」と記された、斜線で示す領域)の配置分布を示すものである。図7(b)〜(e)のそれぞれに示したテンプレート702〜705は何れも、画像配置領域の数が「3」であり、ステップS404以降の処理対象となるテンプレートである。然るに、テンプレート702〜705を、画面701と同じ分割パターンで複数の矩形領域に分割する。   On the other hand, as shown in FIGS. 7B to 7E, the template shows an arrangement distribution of image arrangement areas on the screen (areas indicated by slanting lines indicated as “frames”). Each of the templates 702 to 705 shown in each of FIGS. 7B to 7E is a template that has “3” as the number of image arrangement regions and is a processing target after step S404. However, the templates 702 to 705 are divided into a plurality of rectangular areas in the same division pattern as the screen 701.

ここで、図7(b)のテンプレート702におけるそれぞれの画像配置領域の位置は何れも、図7(a)の「4」、「7」、「14」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属しており、3点全て一致している。そこでテンプレート702に対する類似度は一致している点数である「3」とする。   Here, the positions of the image placement areas in the template 702 in FIG. 7B are all rectangular areas numbered “4”, “7”, and “14” in FIG. They belong to a rectangular area at the same relative position, and all three points coincide. Therefore, the similarity to the template 702 is “3”, which is the matching score.

図7(c)のテンプレート703におけるそれぞれの画像配置領域の位置は何れも、図7(a)の「4」、「7」、「14」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属しており、3点全て一致している。そこでテンプレート703に対する類似度は一致している点数である「3」とする。   The positions of the image placement areas in the template 703 in FIG. 7C are relatively relative to the rectangular areas numbered “4”, “7”, and “14” in FIG. They belong to a rectangular area at the same position, and all three points coincide. Therefore, the similarity to the template 703 is set to “3”, which is the matching score.

図7(d)のテンプレート704におけるそれぞれの画像配置領域の位置のうち2つは、図7(a)の「4」、「7」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属している。そこでテンプレート704に対する類似度は一致している点数である「2」とする。   Two of the positions of the image arrangement areas in the template 704 in FIG. 7D are relatively the same positions as the rectangular areas numbered “4” and “7” in FIG. Belongs to the rectangular area. Therefore, the similarity to the template 704 is “2”, which is the matching score.

図7(e)のテンプレート705におけるそれぞれの画像配置領域の位置のうち2つは、図7(a)の「7」、「14」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属している。そこでテンプレート704に対する類似度は一致している点数である「2」とする。   Two of the positions of the image placement areas in the template 705 in FIG. 7E are relatively the same positions as the rectangular areas numbered “7” and “14” in FIG. Belongs to the rectangular area. Therefore, the similarity to the template 704 is “2”, which is the matching score.

なお、一致している点数が大きいほど値が大きくなるように類似度を定めるのであれば、点数と類似度とを同じ値にする必要はなく、他の算定方法で類似度を求めるようにしても良い。   If the degree of similarity is determined so that the value increases as the number of matching points increases, it is not necessary to use the same value for the score and the degree of similarity. Also good.

<方法2>
図8では、ユーザインターフェース301の画面801上には3点が指定されている。ここで、テンプレートが規定する3つの画像配置領域(「枠」と記された、斜線で示す領域)の位置と上記3点の位置との間の距離を求める。距離の計算では、例えば、ユーザインターフェース301の画面上における各点について、テンプレートが規定する3つの画像配置領域のうち該点に最も近い画像配置領域を特定し、該特定した画像配置領域の位置と該点との距離を求める。
<Method 2>
In FIG. 8, three points are designated on the screen 801 of the user interface 301. Here, the distances between the positions of the three image arrangement areas defined by the template (areas indicated by oblique lines marked “frame”) and the positions of the three points are obtained. In the calculation of the distance, for example, for each point on the screen of the user interface 301, an image arrangement area closest to the point is specified from among the three image arrangement areas defined by the template, and the position of the specified image arrangement area is determined. Find the distance to the point.

図8(a)の場合、距離は「10」、「18」、「2」と求まったので、その合計「30」を求める。そして例えば、1/30を類似度とする。図8(b)の場合、距離は「10」、「22」、「5」と求まったので、その合計「37」を求める。そして例えば、1/37を類似度とする。このように、合計の値が大きいほど値が小さくなるような類似度を定めるのであれば、他の方法を用いて類似度を定めても良い。   In the case of FIG. 8A, since the distances are obtained as “10”, “18”, and “2”, the total “30” is obtained. For example, 1/30 is set as the similarity. In the case of FIG. 8B, since the distances are determined as “10”, “22”, and “5”, the total “37” is determined. For example, 1/37 is set as the similarity. In this way, if the similarity is determined so that the value becomes smaller as the total value is larger, the similarity may be determined using another method.

即ち、方法2では、選択テンプレート及び画面を同じ分割パターンで領域分割した場合に、選択テンプレートが規定する配置分布が示すそれぞれの画像配置領域が属する分割領域のうち、指定分布が示すそれぞれの画像配置位置が属する分割領域と相対的に同じ位置の分割領域の数が多いほどより大きい値をとる類似度を求める。   That is, in the method 2, when the selected template and the screen are divided by the same division pattern, each image arrangement indicated by the designated distribution among the divided areas to which the respective image arrangement areas indicated by the arrangement distribution specified by the selection template belong. The degree of similarity that is greater as the number of divided areas at the same position as the divided area to which the position belongs is larger.

しかし、方法1を採用しても、方法2を採用しても、選択テンプレートが、画像の配置分布に加えてテキストの配置領域をも規定する場合、該選択テンプレートについて類似度を求める際には次のように対処することになる。   However, even if Method 1 or Method 2 is adopted, when the selected template defines a text placement area in addition to the image placement distribution, when determining the similarity for the selected template It will be handled as follows.

即ち、選択テンプレートが規定する配置分布が示すそれぞれの画像配置領域のうち、テキストの配置領域から規定距離以内にある画像配置領域を包含対象とする。そして、該包含対象とテキストの配置領域とを包含する領域を包含対象の代わりに用いて、選択テンプレートについて類似度を求める。   In other words, among the image arrangement areas indicated by the arrangement distribution defined by the selected template, the image arrangement areas within the prescribed distance from the text arrangement area are included. Then, using the area including the inclusion object and the text arrangement area instead of the inclusion object, the similarity is obtained for the selected template.

図4に戻って、次に、ステップS405で求めた類似度が規定値以上であれば、処理はステップS406を介してステップS407に進み、規定値未満であれば、処理はステップS408に進む。この場合に用いる規定値は、類似度を求める方法に対応したものを用いる必要がある。例えば、<方法1>を採用して、一致している点数=類似度としたのであれば、ユーザインターフェース301の画面上で指定した点数の60%を規定値とするようにしても良い。   Returning to FIG. 4, next, if the similarity obtained in step S405 is equal to or greater than the specified value, the process proceeds to step S407 via step S406, and if less than the specified value, the process proceeds to step S408. As the specified value used in this case, it is necessary to use a value corresponding to the method for obtaining the similarity. For example, if <Method 1> is adopted and the number of matching points = similarity, 60% of the number of points designated on the screen of the user interface 301 may be set as the specified value.

ステップS407では、レイアウト処理部310は、着目テンプレートを識別するための情報(ファイル名など)をリストに追加登録する。このリストは初期状態では何も登録されていない。また、このリストは、電子アルバム作成装置102内の適当なメモリに保持されている。   In step S407, the layout processing unit 310 additionally registers information (such as a file name) for identifying the template of interest in the list. This list is not registered in the initial state. This list is held in an appropriate memory in the electronic album creating apparatus 102.

そして、ステップS402で取得した全てのテンプレートを着目テンプレートとして選択した場合には、処理はステップS408を介して終了する。一方、まだ着目テンプレートとして未選択のテンプレートが残っている場合には、処理はステップS408を介してステップS403に戻る。ステップS408からステップS403に戻った場合、テンプレートが規定する画像配置領域(画像枠)の個数の取得は行わず、ステップS402で取得したそれぞれのテンプレートのうち未選択のテンプレートから1つを、着目テンプレートとして選択する。そして以降の処理では、この着目テンプレートを対象にする。   And when all the templates acquired by step S402 are selected as a template of interest, a process is complete | finished via step S408. On the other hand, if an unselected template remains as the template of interest, the process returns to step S403 via step S408. When the process returns from step S408 to step S403, the number of image arrangement areas (image frames) defined by the template is not acquired, and one template selected from the unselected templates acquired from step S402 is selected as the template of interest. Choose as. In the subsequent processing, this template of interest is targeted.

図4のフローチャートに従った処理が完了すると、リストには、使用候補テンプレートを識別するための情報が登録されている。然るにレイアウト処理部310は、このリストに登録されている情報によって特定される使用候補テンプレートに係る情報をユーザインターフェース301に一覧表示する。   When the processing according to the flowchart of FIG. 4 is completed, information for identifying use candidate templates is registered in the list. However, the layout processing unit 310 displays a list of information related to the use candidate templates specified by the information registered in the list on the user interface 301.

なお、使用候補テンプレートに係る情報の一覧表示方法には様々な形態が考え得る。例えば、使用候補テンプレートのサムネイルを一覧表示しても良いし、使用候補テンプレートのファイル名などのメタ情報を一覧表示しても良い。もちろん、何れの一覧表示方法を採用したとしても、表示している対象のうち何れかを選択可能に表示する。また、全ての情報を一度に表示する必要はなく、部分的な情報をユーザ指示に応じて切り替えて表示するようにしても良い。   Note that various forms of information list display methods related to the use candidate templates can be considered. For example, thumbnails of use candidate templates may be displayed as a list, or meta information such as file names of use candidate templates may be displayed as a list. Of course, regardless of which list display method is adopted, any of the displayed objects is displayed so as to be selectable. Also, it is not necessary to display all information at once, and partial information may be switched and displayed according to a user instruction.

なお、上記で説明した処理はあくまでも一例であり、処理の順序や形態を適宜変更させることは可能である。すなわち、上記で説明した処理は、次のような処理の一例に過ぎない。   Note that the processing described above is merely an example, and the order and form of the processing can be changed as appropriate. That is, the process described above is merely an example of the following process.

先ず、画面上における画像の配置分布を規定するテンプレートを複数枚取得すると共に、画面上における画像の配置分布としてユーザ指示により指定された指定分布を取得する。そして、取得した複数枚のテンプレートから、指定分布と同数の画像の配置分布を規定するテンプレートを選択テンプレートとして選択し、選択したそれぞれの選択テンプレートについて、該選択テンプレートが規定する配置分布と指定分布の類似度を求める。そして、それぞれの選択テンプレートのうち、類似度が規定値以上の選択テンプレートを使用候補テンプレートとして選択し、該選択した使用候補テンプレートに係る情報を一覧表示する。   First, a plurality of templates that define the image layout distribution on the screen are acquired, and a specified distribution specified by a user instruction is acquired as the image layout distribution on the screen. Then, a template that defines the arrangement distribution of the same number of images as the designated distribution is selected as a selection template from the plurality of acquired templates, and for each selected selection template, the arrangement distribution and the designated distribution defined by the selection template are selected. Find the similarity. Then, among the selected templates, a selected template having a similarity equal to or higher than a specified value is selected as a use candidate template, and a list of information related to the selected use candidate template is displayed.

換言すると、ユーザ指示により画像の配置位置を検出し、複数のテンプレートから、検出された配置位置の個数と同数の画像を配置する画像配置領域を有し、配置位置夫々に対応する画像配置領域を有するテンプレートを選択する。そして、選択されたテンプレートのいずれかを用いて画像を配置し、アルバムを完成させる。   In other words, an image arrangement position is detected by a user instruction, and an image arrangement area for arranging the same number of images as the number of detected arrangement positions from a plurality of templates is provided. Select the template you have. Then, an image is arranged using one of the selected templates to complete the album.

[第2の実施形態]
本実施形態では、画像配置位置だけでなく該画像配置位置に配置する画像を特定する情報(画像特定情報)をユーザに入力させる。そして第1の実施形態と同様にして使用候補テンプレートを決定した後、それぞれの使用候補テンプレートに対して重み値を設定する。そして、それぞれの使用候補テンプレートについて、該使用候補テンプレートが示すそれぞれの画像配置領域に該画像配置領域に最も近い画像配置位置について取得した画像特定情報が特定する画像を配置した画面の縮小画面を生成する。そして、それぞれの使用候補テンプレートについて生成した縮小画面を、該それぞれの使用候補テンプレートの重み値に従って並べて表示する。
[Second Embodiment]
In this embodiment, the user inputs information (image specifying information) for specifying an image to be arranged at the image arrangement position as well as the image arrangement position. And after determining a use candidate template like 1st Embodiment, a weight value is set with respect to each use candidate template. Then, for each use candidate template, a reduced screen of a screen in which the image specified by the image specifying information acquired for the image arrangement position closest to the image arrangement area is arranged in each image arrangement area indicated by the use candidate template is generated. To do. Then, the reduced screens generated for the respective use candidate templates are displayed side by side according to the weight values of the respective use candidate templates.

以下では、第1の実施形態との差分のみについて説明し、以下に説明する点以外については、第1の実施形態と同様であるものとする。もちろん、第1の実施形態で説明したように、以下に説明する各処理もあくまで一例であり、処理の順序や形態を適宜変更させることは可能である。   In the following, only differences from the first embodiment will be described, and the points other than those described below are the same as those of the first embodiment. Of course, as described in the first embodiment, the processes described below are merely examples, and the order and form of the processes can be appropriately changed.

本実施形態に係る電子アルバム作成装置102の機能構成例について、図9のブロック図を用いて説明する。図9において、図3と同じ構成要件については同じ参照番号を付しており、この構成要件についての説明は省略する。図9に示した構成は、図3に示した構成に、重み付け設定部901を加えた構成となっている。重み付け設定部901の動作については、本実施形態に係るレイアウト制御部309が行う処理のフローチャートを示す図10を用いた説明の中で行う。図10において、図4に示した処理ステップと同じ処理ステップには同じ参照番号を付しており、この処理ステップについての説明は省略する。   A functional configuration example of the electronic album creating apparatus 102 according to the present embodiment will be described with reference to the block diagram of FIG. In FIG. 9, the same constituent elements as those in FIG. 3 are denoted by the same reference numerals, and description of these constituent elements is omitted. The configuration shown in FIG. 9 is obtained by adding a weight setting unit 901 to the configuration shown in FIG. The operation of the weight setting unit 901 will be described in the description with reference to FIG. 10 showing a flowchart of processing performed by the layout control unit 309 according to the present embodiment. In FIG. 10, the same processing steps as those shown in FIG. 4 are denoted by the same reference numerals, and the description of these processing steps is omitted.

上記の通り、本実施形態では、ユーザは、ユーザインターフェース301を用いて画像配置位置を指定すると共に、該画像配置位置に配置する画像の画像特定情報(ファイル名やパス、URLなど)を指定する。そしてユーザがユーザインターフェース301を用いて指定終了指示を入力すると、ステップS1001で画像配置位置指定部311は、この指定された画像特定情報を取得する。   As described above, in the present embodiment, the user designates the image arrangement position using the user interface 301 and designates the image specifying information (file name, path, URL, etc.) of the image arranged at the image arrangement position. . When the user inputs a designation end instruction using the user interface 301, the image arrangement position designation unit 311 acquires the designated image specifying information in step S1001.

ステップS1002では、重み付け設定部901は、リストに登録されている各情報に対応する使用候補テンプレートに対して重み値を設定する。この重み値を設定するための方法については様々な方法が考え得る。以下では、重み値を求めるための処理の例として2つを上げ、図11を用いて説明する。   In step S1002, the weight setting unit 901 sets a weight value for the use candidate template corresponding to each piece of information registered in the list. Various methods are conceivable as a method for setting the weight value. In the following, two examples of processing for obtaining the weight value will be given and described with reference to FIG.

図11(a)においてユーザインターフェース301の画面1101上には3点が指定されている。また、この3点のうち、左端の点に対しては画像Aの画像特定情報が指定されており、中央の点に対しては画像Dの画像特定情報が指定されており、右端の点に対しては画像Cの画像特定情報が指定されている。   In FIG. 11A, three points are designated on the screen 1101 of the user interface 301. Among these three points, the image specifying information of the image A is specified for the leftmost point, the image specifying information of the image D is specified for the central point, and the rightmost point is On the other hand, the image specifying information of the image C is designated.

このとき、画像A、画像D、画像Cのそれぞれと、使用候補テンプレート中の画像配置領域と、でサイズ(ここではアスペクト比(縦長または横長)とする)が一致している数に応じて、使用候補テンプレートに対する重み値を設定する。   At this time, depending on the number of images A, Image D, and Image C that match the size (here, the aspect ratio (vertical or horizontal)) of the image placement area in the use candidate template, Set the weight value for the use candidate template.

使用候補テンプレート1102において画像Aの配置位置に最も近い画像配置領域のアスペクト比は画像Aのアスペクト比と同じである。また、使用候補テンプレート1102において画像Dの配置位置に最も近い画像配置領域のアスペクト比は画像Dのアスペクト比と同じである。また、使用候補テンプレート1102において画像Cの配置位置に最も近い画像配置領域のアスペクト比は画像Cのアスペクト比と同じである。このように、使用候補テンプレート1102における何れの画像配置領域のアスペクト比も、画像A、画像C、画像Dのそれぞれと同じであるため、一致数は「3」となる。然るにこの場合、使用候補テンプレート1102に対する重み値として「3」を設定する。   The aspect ratio of the image placement area closest to the placement position of the image A in the use candidate template 1102 is the same as the aspect ratio of the image A. In addition, the aspect ratio of the image arrangement area closest to the arrangement position of the image D in the use candidate template 1102 is the same as the aspect ratio of the image D. In addition, the aspect ratio of the image arrangement area closest to the arrangement position of the image C in the use candidate template 1102 is the same as the aspect ratio of the image C. Thus, since the aspect ratio of any image arrangement area in the use candidate template 1102 is the same as that of each of the image A, the image C, and the image D, the number of matches is “3”. In this case, however, “3” is set as the weight value for the use candidate template 1102.

一方、使用候補テンプレート1103において画像Aの配置位置に最も近い画像配置領域のアスペクト比は画像Aのアスペクト比とは異なる。また、使用候補テンプレート1103において画像Dの配置位置に最も近い画像配置領域のアスペクト比は画像Dのアスペクト比と同じである。また、使用候補テンプレート1103において画像Cの配置位置に最も近い画像配置領域のアスペクト比は画像Cのアスペクト比とは異なる。この場合は、一致数は「1」となる。然るにこの場合、使用候補テンプレート1103に対する重み値として「1」を設定する。   On the other hand, the aspect ratio of the image placement area closest to the placement position of the image A in the use candidate template 1103 is different from the aspect ratio of the image A. In addition, the aspect ratio of the image placement area closest to the placement position of the image D in the use candidate template 1103 is the same as the aspect ratio of the image D. In addition, the aspect ratio of the image arrangement area closest to the arrangement position of the image C in the use candidate template 1103 is different from the aspect ratio of the image C. In this case, the number of matches is “1”. In this case, however, “1” is set as the weight value for the use candidate template 1103.

なお、一致数が大きい(一致の度合いが大きい)ほど重み値が大きくなるようにするのであれば、一致数=重み値としなくても良い。また、アスペクト比は、予めメタ情報として用意しておいても良いし、実際に計測することで取得しても良い。   Note that if the weight value increases as the number of matches increases (the degree of match increases), the number of matches may not be equal to the weight value. The aspect ratio may be prepared in advance as meta information, or may be acquired by actual measurement.

図11(b)においてユーザインターフェース301の画面1104上には3点が指定されている。また、この3点のうち、左端の点に対しては画像Aの画像特定情報が指定されており、中央の点に対しては画像Dの画像特定情報が指定されており、右端の点に対しては画像Cの画像特定情報が指定されている。   In FIG. 11B, three points are designated on the screen 1104 of the user interface 301. Among these three points, the image specifying information of the image A is specified for the leftmost point, the image specifying information of the image D is specified for the central point, and the rightmost point is On the other hand, the image specifying information of the image C is designated.

このとき、画像A、画像C、画像Dのうち1つを代表画像とする。代表画像の決定方法については特定の方法に限るものではなく、ユーザがユーザインターフェース301を用いて選択しても良いし、既定の条件(画像の位置やサイズなど)に応じて電子アルバム作成装置102側で選択しても良い。   At this time, one of the images A, C, and D is set as a representative image. The method for determining the representative image is not limited to a specific method, and the user may select it using the user interface 301, or the electronic album creating apparatus 102 according to a predetermined condition (image position, size, etc.). You may choose on the side.

このとき、使用候補テンプレート1102,1103において代表画像としての画像Aの配置位置に最も近い画像配置領域のサイズ(縦及び/又は横のサイズなど)に応じて、使用候補テンプレート1102,1103に対する重み値を設定する。   At this time, in the use candidate templates 1102 and 1103, the weight values for the use candidate templates 1102 and 1103 according to the size (vertical and / or horizontal size, etc.) of the image placement area closest to the placement position of the image A as the representative image. Set.

使用候補テンプレート1102において画像Aの配置位置に最も近い画像配置領域のサイズは50であるので、使用候補テンプレート1102に対する重み値として50を設定する。また、使用候補テンプレート1103において画像Aの配置位置に最も近い画像配置領域のサイズは30であるので、使用候補テンプレート1103に対する重み値として30を設定する。なお、サイズが大きいほど大きい値をとる重み値を決定するのであれば、サイズ=重み値としなくても良い。   Since the size of the image placement area closest to the placement position of the image A in the use candidate template 1102 is 50, 50 is set as the weight value for the use candidate template 1102. In addition, since the size of the image placement area closest to the placement position of the image A in the use candidate template 1103 is 30, 30 is set as the weight value for the use candidate template 1103. If a weight value that takes a larger value as the size is larger is determined, it is not necessary to set size = weight value.

図10に戻って、次に、ステップS1003では、重み付け設定部901は、重み値を設定したそれぞれの使用候補テンプレートを、重み値に従ってソートする。例えば、重み値が高い順に使用候補テンプレートを並べ替える。   Returning to FIG. 10, in step S <b> 1003, the weighting setting unit 901 sorts each use candidate template for which the weight value is set according to the weight value. For example, the use candidate templates are rearranged in descending order of weight values.

ステップS1004では、レイアウト処理部310は、ソート順(例えば重み値が大きい順)に使用候補テンプレートを選択する。そして、レイアウト処理部310は、該選択した使用候補テンプレートが示すそれぞれの画像配置領域に、該画像配置領域に最も近い画像配置位置について取得した画像特定情報が特定する画像を配置した画面の縮小画面を生成する。そしてレイアウト処理部310は、それぞれの使用候補テンプレートについて生成した縮小画面を、該それぞれの使用候補テンプレートの重み値に従って並べて、ユーザインターフェース301の画面上に表示する。この表示例を図12に示す。   In step S1004, the layout processing unit 310 selects use candidate templates in the sort order (for example, the order in which the weight value is large). Then, the layout processing unit 310 reduces the screen in which the image specified by the image specifying information acquired for the image arrangement position closest to the image arrangement area is arranged in each image arrangement area indicated by the selected use candidate template. Is generated. Then, the layout processing unit 310 arranges the reduced screens generated for the respective use candidate templates in accordance with the weight values of the respective use candidate templates, and displays them on the screen of the user interface 301. An example of this display is shown in FIG.

図12の画面1201では、右側に並べた縮小画面のうちユーザが選択した縮小画面が拡大されて左側に表示されている。なお、ここでは、候補表示時に自動で画像を配置したが、アルバムテンプレートを候補として表示し、ユーザが選択したタイミングで画像の配置を行ってもよい。   In the screen 1201 of FIG. 12, the reduced screen selected by the user among the reduced screens arranged on the right side is enlarged and displayed on the left side. Here, images are automatically arranged at the time of candidate display, but an album template may be displayed as a candidate, and images may be arranged at a timing selected by the user.

[第3の実施形態]
本実施形態では、第1,2の実施形態で説明した技術を、表示画面が比較的小さい機器の一例であるスマートフォンに適用したケースについて説明する。このスマートフォンの表示画面における表示内容の推移を図13に示す。
[Third Embodiment]
In this embodiment, a case will be described in which the technology described in the first and second embodiments is applied to a smartphone that is an example of a device having a relatively small display screen. The transition of the display content on the display screen of this smartphone is shown in FIG.

画面1301は、見開きのアルバムページに画像配置位置を指定した画面であり、スワイプ操作で表示される画像(図13では画像A,画像B,画像C)をスクロールさせている。   A screen 1301 is a screen in which an image arrangement position is designated on a spread album page, and images displayed by a swipe operation (image A, image B, and image C in FIG. 13) are scrolled.

画面1302は、画像Dを表示させてページの右上に指定している。ここで、配置完了ボタンを指定することで画面1303へと推移し、フリック操作によって画面1304では次のテンプレートに切り替えて表示している。ここでテンプレート選択ボタンを指定することで画面1305へと推移し、次のページの画像配置位置を指定可能となる。   The screen 1302 displays the image D and designates it on the upper right of the page. Here, the screen is shifted to a screen 1303 by designating an arrangement completion button, and is switched to the next template and displayed on the screen 1304 by a flick operation. By designating the template selection button here, the screen transitions to the screen 1305, and the image layout position of the next page can be designated.

[第4の実施形態]
図3,9に示した各部はハードウェアで構成しても良いが、一部の機能をソフトウェアで構成しても良い。図3,9に示した各部のうち一部の機能をソフトウェアで構成した場合に、このソフトウェアを実行可能なコンピュータのハードウェア構成例を、図2のブロック図を用いて説明する。
[Fourth Embodiment]
Each part shown in FIGS. 3 and 9 may be configured by hardware, but some functions may be configured by software. An example of the hardware configuration of a computer that can execute software when some of the functions shown in FIGS. 3 and 9 are configured by software will be described with reference to the block diagram of FIG.

CPU201は、RAM202やROM203に格納されているコンピュータプログラムやデータを用いて処理を実行することで、コンピュータ全体の動作制御を行うと共に、本コンピュータを適用した電子アルバム作成装置102の動作を実現する。   The CPU 201 executes processing using computer programs and data stored in the RAM 202 and ROM 203, thereby controlling the operation of the entire computer and realizing the operation of the electronic album creating apparatus 102 to which this computer is applied.

RAM202は、HDD(ハードディスクドライブ)209やFDD(フロッピー(登録商標)ディスクドライブ)210からロードされたコンピュータプログラムやデータを一時的に記憶するためのエリアを有する。更にRAM202は、NETIF(ネットワークインターフェース)204を介して外部から受信した様々なデータを一時的に記憶するためのエリアを有する。また、RAM202は、CPU201が各種の処理を実行する際に用いるワークエリアを有する。即ち、RAM202は、各種のエリアを適宜提供することができる。   The RAM 202 has an area for temporarily storing computer programs and data loaded from an HDD (Hard Disk Drive) 209 or an FDD (Floppy (registered trademark) Disk Drive) 210. Further, the RAM 202 has an area for temporarily storing various data received from the outside via the NETIF (network interface) 204. The RAM 202 has a work area used when the CPU 201 executes various processes. That is, the RAM 202 can provide various areas as appropriate.

ROM203は、ブートプログラムなどの基本プログラムを格納するためのプログラムROMと、コンピュータの設定データなどの基本データを格納するためのデータROMと、を有する。   The ROM 203 includes a program ROM for storing a basic program such as a boot program and a data ROM for storing basic data such as computer setting data.

NETIF204は、本コンピュータをネットワーク103に接続するためのもので、本コンピュータは、このNETIF204を介して外部機器とのデータ通信を行うことができる。   The NETIF 204 is for connecting the computer to the network 103, and the computer can perform data communication with an external device via the NETIF 204.

VRAM205は、CRT206に表示する1画面のデータを記憶するためのもので、CRT206にはこのVRAM205に格納されているデータに従った画面が表示されることになる。このCRT206は、上記のユーザインターフェース301の画面として機能することになる。   The VRAM 205 is for storing data of one screen to be displayed on the CRT 206, and a screen according to the data stored in the VRAM 205 is displayed on the CRT 206. The CRT 206 functions as the screen of the user interface 301 described above.

KBC(キーボ−ドコントローラ)207は、ユーザがKB(キーボード)208を操作することで入力した各種の指示(上記の指定分布の入力指示など)をCPU201に通知するためのものである。KB208は、上記のユーザインターフェース301の入力受付構成に相当する。   The KBC (keyboard controller) 207 is for notifying the CPU 201 of various instructions (such as the input instruction for the specified distribution) input by the user operating the KB (keyboard) 208. The KB 208 corresponds to the input reception configuration of the user interface 301 described above.

HDD209には、OS(オペレーティングシステム)や、電子アルバム作成装置102が行うものとして上述した各処理をCPU201に実行させるためのコンピュータプログラムやデータが保存されている。   The HDD 209 stores an OS (Operating System) and computer programs and data for causing the CPU 201 to execute the processes described above as performed by the electronic album creating apparatus 102.

HDD209に保存されているコンピュータプログラムには、図3,9において、ユーザインターフェース301、管理部305を除く各部の機能をCPU201に実行させるためのコンピュータプログラムが含まれている。また、HDD209に保存されているデータには、管理部305が管理するものとして上述した各種のデータが含まれている。   The computer program stored in the HDD 209 includes a computer program for causing the CPU 201 to execute the functions of the units other than the user interface 301 and the management unit 305 in FIGS. The data stored in the HDD 209 includes various types of data described above that are managed by the management unit 305.

HDD209に保存されているものとして上述したコンピュータプログラムやデータは、CPU201による制御に従って適宜RAM202にロードされ、CPU201による処理対象となる。   The computer programs and data described above as being stored in the HDD 209 are appropriately loaded into the RAM 202 under the control of the CPU 201 and are processed by the CPU 201.

FDD210は、FD(フロッピー(登録商標)ディスク)に記録されているコンピュータプログラムやデータを読み出してRAM202やHDD209に出力したり、コンピュータプログラムやデータをこのFDに記録するためのものである。   The FDD 210 reads computer programs and data recorded on an FD (floppy (registered trademark) disk) and outputs them to the RAM 202 and the HDD 209, and records computer programs and data on the FD.

上記のCPU201、RAM202、ROM203、NETIF204、VRAM205、KBC207、HDD209、FDD210、は何れも、共通のバス211に接続されている。   The CPU 201, RAM 202, ROM 203, NETIF 204, VRAM 205, KBC 207, HDD 209, and FDD 210 are all connected to a common bus 211.

なお、図3,9に示した各部は1つの装置に組み込んでも良いが、いくつかの装置に分散させても良い。例えば、管理部305を電子アルバム作成装置102とは別個の装置内に設けても良い。   Each part shown in FIGS. 3 and 9 may be incorporated in one apparatus, but may be dispersed in several apparatuses. For example, the management unit 305 may be provided in a device separate from the electronic album creation device 102.

(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
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.

Claims (9)

画像の配置位置を検出する検出手段と、
複数のテンプレートから、前記検出手段により検出された配置位置の個数と同数の画像を配置する画像配置領域を有し、前記配置位置夫々に対応する前記画像配置領域を有するテンプレートを選択する選択手段と、
前記選択手段により選択された前記テンプレートを用いて画像を配置する配置手段と
を備えることを特徴とする画像処理装置。
Detecting means for detecting the arrangement position of the image;
Selection means for selecting a template having an image arrangement area for arranging the same number of images as the number of arrangement positions detected by the detection means from a plurality of templates, and having the image arrangement area corresponding to each of the arrangement positions; ,
An image processing apparatus comprising: an arrangement unit that arranges an image using the template selected by the selection unit.
前記選択手段は、
前記配置位置の指定分布と前記画像配置領域の配置分布に基づいて、前記テンプレートを選択することを特徴とする請求項1に記載の画像処理装置。
The selection means includes
The image processing apparatus according to claim 1, wherein the template is selected based on a specified distribution of the arrangement positions and an arrangement distribution of the image arrangement areas.
前記選択手段は、
前記配置位置と、該配置位置に対応する前記画像配置領域の位置と、の間の距離に基づいて、前記テンプレートを選択する
ことを特徴とする請求項1又は2に記載の画像処理装置。
The selection means includes
The image processing apparatus according to claim 1, wherein the template is selected based on a distance between the arrangement position and the position of the image arrangement area corresponding to the arrangement position.
前記選択手段は、
前記配置位置が属する領域に対応する前記テンプレートを分割した分割領域に前記画像配置領域を有するテンプレートを選択する
ことを特徴とする請求項1乃至3の何れか1項に記載の画像処理装置。
The selection means includes
The image processing apparatus according to claim 1, wherein a template having the image arrangement area is selected as a divided area obtained by dividing the template corresponding to the area to which the arrangement position belongs.
前記テンプレートが、テキストの配置領域を規定する場合、
前記選択手段は、前記配置位置と、前記画像配置領域および前記テキストの配置領域とを包含する領域と、の対応に基づいて、前記テンプレートを選択する
ことを特徴とする請求項1乃至4の何れか1項に記載の画像処理装置。
If the template defines a text placement area,
5. The template according to claim 1, wherein the selection unit selects the template based on a correspondence between the arrangement position and an area including the image arrangement area and the text arrangement area. The image processing apparatus according to claim 1.
更に、
前記選択手段が選択した複数の候補テンプレートを提示する提示手段を備え、
前記提示手段は、前記配置手段が配置する画像のサイズと当該画像が配置される画像配置領域のサイズと、の一致の度合いに基づいて、前記複数の候補テンプレートを並べて提示する
ことを特徴とする請求項1乃至5の何れか1項に記載の画像処理装置。
Furthermore,
Presenting means for presenting a plurality of candidate templates selected by the selecting means,
The presenting means presents the plurality of candidate templates side by side based on the degree of coincidence between the size of the image arranged by the arranging means and the size of the image arrangement area where the image is arranged. The image processing apparatus according to any one of claims 1 to 5.
前記提示手段は、前記配置手段が配置する画像のサイズと当該画像が配置される画像配置領域のサイズと、の一致の度合いが大きい順に、前記複数の候補テンプレートを並べて提示する
ことを特徴とする請求項6に記載の画像処理装置。
The presenting means displays the plurality of candidate templates side by side in descending order of the degree of coincidence between the size of the image arranged by the arranging means and the size of the image arrangement area where the image is arranged. The image processing apparatus according to claim 6.
画像処理装置が行う画像処理方法であって、
画像の配置位置を検出する検出工程と、
複数のテンプレートから、前記検出工程で検出された配置位置の個数と同数の画像を配置する画像配置領域を有し、前記配置位置夫々に対応する前記画像配置領域を有するテンプレートを選択する選択工程と、
前記選択工程で選択された前記テンプレートを用いて画像を配置する配置工程と
を備えることを特徴とする画像処理方法。
An image processing method performed by an image processing apparatus,
A detection step of detecting the arrangement position of the image;
A selection step of selecting a template having an image arrangement area for arranging the same number of images as the number of arrangement positions detected in the detection step from a plurality of templates, and having the image arrangement area corresponding to each of the arrangement positions; ,
An image processing method comprising: an arrangement step of arranging an image using the template selected in the selection step.
コンピュータを、請求項1乃至7の何れか1項に記載の画像処理装置の各手段として機能させるためのコンピュータプログラム。   The computer program for functioning a computer as each means of the image processing apparatus of any one of Claims 1 thru | or 7.
JP2012047301A 2012-03-02 2012-03-02 Image processing apparatus and image processing method Pending JP2013182524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012047301A JP2013182524A (en) 2012-03-02 2012-03-02 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012047301A JP2013182524A (en) 2012-03-02 2012-03-02 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2013182524A true JP2013182524A (en) 2013-09-12

Family

ID=49273112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012047301A Pending JP2013182524A (en) 2012-03-02 2012-03-02 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2013182524A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245750A (en) * 2014-07-01 2016-01-13 富士胶片株式会社 Image processing device, image processing method, and storage medium storing image processing program
JP2016071901A (en) * 2014-09-30 2016-05-09 フリュー株式会社 Management device and control method of management device, and communication terminal, control program, and recording medium
JP2017033355A (en) * 2015-08-03 2017-02-09 富士ゼロックス株式会社 Information processing device and program
JP2019067261A (en) * 2017-10-03 2019-04-25 キヤノン株式会社 Image processing apparatus, control method and program
JP2019074872A (en) * 2017-10-13 2019-05-16 セイコーエプソン株式会社 Display device, display method, and display program
JP2019191830A (en) * 2018-04-23 2019-10-31 キヤノン株式会社 Image processing device, image processing method, and program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245750A (en) * 2014-07-01 2016-01-13 富士胶片株式会社 Image processing device, image processing method, and storage medium storing image processing program
JP2016014995A (en) * 2014-07-01 2016-01-28 富士フイルム株式会社 Image processing apparatus, image processing method, image processing program, and print order receiving apparatus
US9727224B2 (en) 2014-07-01 2017-08-08 Fujifilm Corporation Image processing device, image processing method, and storage medium storing image processing program
JP2016071901A (en) * 2014-09-30 2016-05-09 フリュー株式会社 Management device and control method of management device, and communication terminal, control program, and recording medium
JP2017033355A (en) * 2015-08-03 2017-02-09 富士ゼロックス株式会社 Information processing device and program
JP2019067261A (en) * 2017-10-03 2019-04-25 キヤノン株式会社 Image processing apparatus, control method and program
JP7076974B2 (en) 2017-10-03 2022-05-30 キヤノン株式会社 Image processing equipment, control methods and programs
JP2019074872A (en) * 2017-10-13 2019-05-16 セイコーエプソン株式会社 Display device, display method, and display program
JP7024308B2 (en) 2017-10-13 2022-02-24 セイコーエプソン株式会社 Display device, display method and display program
JP2019191830A (en) * 2018-04-23 2019-10-31 キヤノン株式会社 Image processing device, image processing method, and program

Similar Documents

Publication Publication Date Title
JP5248696B1 (en) Electronic device, handwritten document creation method, and handwritten document creation program
EP2515222B1 (en) Display control apparatus, method for controlling display, and program therefore
US9372872B2 (en) Display control apparatus, display control method, and storage medium for displaying a content of a file on a display apparatus
JP2013182524A (en) Image processing apparatus and image processing method
US9069445B2 (en) Electronic device with touch screen and page flipping method
US20150106761A1 (en) Information processing apparatus, method for controlling the information processing apparatus, and storage medium
US20190104221A1 (en) Information processing method, information processing apparatus, and storage medium
US8526741B2 (en) Apparatus and method for processing image
JP2015114920A (en) Image evaluation apparatus, image evaluation method, image evaluation program, and recording medium storing the program
JP2014016790A (en) Information processing apparatus, information processing method, and program
WO2016006090A1 (en) Electronic apparatus, method, and program
CN108268258B (en) Method and device for acquiring webpage code and electronic equipment
US20210407161A1 (en) Image processing apparatus, image processing method, program, and recording medium
WO2019155853A1 (en) Electronic album device, and operation method and operation program thereof
JP6575329B2 (en) Electronic album creation device
JP2012008884A (en) Editing device, and layout editing method and program in editing device
US10140258B2 (en) Portable device and image displaying method thereof
EP2940635A1 (en) User terminal apparatus for managing data and method thereof
US11507260B2 (en) Electronic album apparatus, method for operating electronic album apparatus, and operation program utilizing display cell enlargement
JP7200008B2 (en) ELECTRONIC DEVICE AND ITS CONTROL METHOD AND PROGRAM
JP5883837B2 (en) Person image determination apparatus for electronic album, control method thereof, control program thereof, and recording medium storing the control program
US20180081951A1 (en) Information generation system, a method and a non-transitory computer readable medium thereof
US10965902B2 (en) Information processing apparatus and control method therefor
JP2013054658A (en) Information processor, control method, and program
JP6223007B2 (en) Document display apparatus and method, program and data structure thereof