JP2013182524A - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- 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
Links
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
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.
しかしながら、画像の数量による選択では、アルバムテンプレートが大量に存在するとき、候補としてユーザが望まないアルバムテンプレートも多く表示してしまう可能性がある。また、デジタルカメラやスマートフォンといった表示領域が小さいデバイスにおいては、できる限り候補を絞ることが望ましい。アルバムテンプレートを選択する手間を軽減するためには、画像の数量だけでなく、さらに絞り込む方法が必要となる。 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.
以下、添付図面を参照し、本発明の好適な実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載の構成の具体的な実施例の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
また、電子アルバムを作成するために用いる画像はカメラにより撮像されたものに限らない。例えば、撮像機能が備わっている機器(携帯電話など)により撮像された画像を直接的若しくは間接的に電子アルバム作成装置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
電子アルバム作成装置102は、カメラ101により撮像された画像を管理しており、電子アルバムのページごとにテンプレートを用いてこの画像を配置することで該電子アルバムを完成させる。なお、本実施形態では、カメラ101により撮像された画像やテンプレートは電子アルバム作成装置102が管理するものとして説明する。しかし、これに限るものではなく、例えば、ネットワーク103に新たにサーバを接続し、このサーバに格納しておいても良い。この場合、テンプレートや画像は、電子アルバム作成装置102が必要に応じてこのサーバから取得する。
The electronic
また、以降に説明する電子アルバム作成装置102の一部の処理をサーバが実行するように構成してもよい。例えば、電子アルバム作成装置102は、サーバの処理結果をユーザに提示し、ユーザからの操作指示をサーバに通知することでも本実施形態を実現できる。
Moreover, you may comprise so that a server may perform one part process of the electronic
また、電子アルバム作成装置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
ユーザインターフェース301は、ユーザからの操作指示(ユーザ指示)を受け付けると共に、各種の情報を表示することが可能なタッチパネル式の画面で構成されている。もちろん、ユーザインターフェース301はタッチパネル式の画面に限るものではなく、通常の液晶画面とボタン群により構成されても良い。
The
表示制御部302は、画像表示部303とアルバム表示部304とを有する。画像表示部303は、電子アルバムを作成するための様々な画面をユーザインターフェース301に表示し、提示する。アルバム表示部304は、完成した若しくは作成途中の電子アルバムの各ページをユーザインターフェース301に表示する。
The
管理部305は、画像管理部306、アルバムテンプレート管理部307、アルバム管理部308、を有する。画像管理部306は、上記のカメラ101などから電子アルバム作成装置102に供給された画像を管理する。アルバムテンプレート管理部307は、ユーザインターフェース301の画面上における画像の配置分布を規定するテンプレートを複数枚管理している。アルバム管理部308は、作成済み電子アルバムのデータ若しくは作成途中で保存するものと指定された電子アルバムのデータを管理する。
The
レイアウト制御部309は、レイアウト処理部310、画像配置位置指定部311、画像枠数取得部312、画像枠位置取得部313、画像枠配置類似度算出部314、を有する。
The
画像配置位置指定部311は、ユーザインターフェース301の画面上における画像の配置分布として、ユーザがユーザインターフェース301を操作することで入力した指定分布を取得する。換言すると、画像配置位置指定部311は、画像を配置する配置位置を検出する。
The image arrangement
画像枠数取得部312は、アルバムテンプレート管理部307が管理しているそれぞれのテンプレートについて、該テンプレートが規定する画像配置領域(画像枠)の個数を取得する。
For each template managed by the album
画像枠位置取得部313は、アルバムテンプレート管理部307が管理しているそれぞれのテンプレートについて、該テンプレートが規定する画像配置領域(画像枠)の位置を取得する。
For each template managed by the album
画像枠配置類似度算出部314は、アルバムテンプレート管理部307が管理している複数枚のテンプレートから、指定分布と同数の画像の配置分布を規定するテンプレートを選択テンプレートとして選択する。そして画像枠配置類似度算出部314は、それぞれの選択テンプレートについて、該選択テンプレートが規定する配置分布と指定分布の類似度を求める(計算)。
The image frame arrangement
レイアウト処理部310は、それぞれの選択テンプレートのうち、類似度が規定値以上の選択テンプレートを使用候補テンプレートとして選択し、該選択した使用候補テンプレートに係る情報をユーザインターフェース301に一覧表示する。
The
以降の処理については別段限定しないが、例えば、レイアウト処理部310は、一覧表示した使用候補テンプレートのうちユーザが指定した使用候補テンプレートをユーザインターフェース301に表示する。そしてレイアウト処理部310は、ユーザインターフェース301を介したユーザ操作に応じて、該使用候補テンプレート上に画像やテキストを配置して1ページ分の電子アルバムを作成する。その際の様々な画像得表示には画像表示部303が関わる。そしてレイアウト処理部310は、ユーザインターフェース301を介してユーザから作成完了の旨の指示を受けると、この電子アルバムのデータをアルバム管理部308に管理させる。
For example, the
レイアウト制御部309が行う処理について、同処理のフローチャートを示す図4を用いて説明する。
Processing performed by the
ユーザは、ユーザインターフェース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
このようにして、ユーザがユーザインターフェース301を用いて画像配置位置を指定し、その後、ユーザインターフェース301を用いて指定終了指示を入力すると、ステップS401で画像配置位置指定部311は、この指定された画像配置位置を取得する。更に画像配置位置指定部311は、この指定した画像配置位置の個数をカウントする。
In this way, when the user designates the image arrangement position using the
ステップS402では、画像枠数取得部312は、アルバムテンプレート管理部307が管理しているそれぞれのテンプレートを取得する。
In step S <b> 402, the image frame
ステップS403では、画像枠数取得部312は、ステップS402で取得したそれぞれのテンプレートについて、該テンプレートが規定する画像配置領域(画像枠)の個数を取得する。取得する方法には様々な方法が考えられ、例えば、テンプレートに添付されている画像配置領域数の情報を読み出すことで取得しても良いし、テンプレートのデータにおいて画像配置領域を示す情報の数をカウントすることで取得しても良い。
In step S403, the image frame
そして、画像枠数取得部312は、ステップS402で取得したそれぞれのテンプレートのうち未選択のテンプレートから1つを、着目テンプレートとして選択する。そして画像枠数取得部312は、着目テンプレートについて取得した画像配置領域の個数と、ステップS401で取得した画像配置位置の個数と、が同じであるか否かを判断する。この判断の結果、同じである場合には、処理はステップS404に進み、同じではない場合には、処理はステップS408に進む。
Then, the image frame
ステップS404では、画像枠位置取得部313は、着目テンプレートが規定するそれぞれの画像配置領域(画像枠)の位置(画像配置位置)を取得する。着目テンプレートが規定するそれぞれの画像配置領域の位置の取得方法については特定の方法に限るものではない。例えば、着目テンプレートが規定するそれぞれの画像配置領域の位置が予め添付情報として着目テンプレートに添付されている場合には、この添付情報を読み出すことで取得することが出来る。
In step S404, the image frame
また、図6(a)に示す如く、画像配置領域601の四隅の位置が上記の添付情報などにより予め分かっている若しくは着目テンプレートから計算可能である場合には、画像配置領域601における2本の対角線の交点を画像配置領域601の位置としても良い。
In addition, as shown in FIG. 6A, when the positions of the four corners of the
また、図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
<方法1>
図7(a)では、ユーザインターフェース301の画面701上には3点が指定されている。ここで、この画面701を複数の矩形領域に分割すると、上記の指定した3点は、「4」、「7」、「14」の番号がつけられている矩形領域に属している。
<Method 1>
In FIG. 7A, three points are designated on the
一方、テンプレートは図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
ここで、図7(b)のテンプレート702におけるそれぞれの画像配置領域の位置は何れも、図7(a)の「4」、「7」、「14」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属しており、3点全て一致している。そこでテンプレート702に対する類似度は一致している点数である「3」とする。
Here, the positions of the image placement areas in the
図7(c)のテンプレート703におけるそれぞれの画像配置領域の位置は何れも、図7(a)の「4」、「7」、「14」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属しており、3点全て一致している。そこでテンプレート703に対する類似度は一致している点数である「3」とする。
The positions of the image placement areas in the
図7(d)のテンプレート704におけるそれぞれの画像配置領域の位置のうち2つは、図7(a)の「4」、「7」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属している。そこでテンプレート704に対する類似度は一致している点数である「2」とする。
Two of the positions of the image arrangement areas in the
図7(e)のテンプレート705におけるそれぞれの画像配置領域の位置のうち2つは、図7(a)の「7」、「14」の番号がつけられている矩形領域と相対的に同じ位置の矩形領域に属している。そこでテンプレート704に対する類似度は一致している点数である「2」とする。
Two of the positions of the image placement areas in the
なお、一致している点数が大きいほど値が大きくなるように類似度を定めるのであれば、点数と類似度とを同じ値にする必要はなく、他の算定方法で類似度を求めるようにしても良い。 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つの画像配置領域のうち該点に最も近い画像配置領域を特定し、該特定した画像配置領域の位置と該点との距離を求める。
<
In FIG. 8, three points are designated on the
図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
しかし、方法1を採用しても、方法2を採用しても、選択テンプレートが、画像の配置分布に加えてテキストの配置領域をも規定する場合、該選択テンプレートについて類似度を求める際には次のように対処することになる。
However, even if Method 1 or
即ち、選択テンプレートが規定する配置分布が示すそれぞれの画像配置領域のうち、テキストの配置領域から規定距離以内にある画像配置領域を包含対象とする。そして、該包含対象とテキストの配置領域とを包含する領域を包含対象の代わりに用いて、選択テンプレートについて類似度を求める。 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
ステップS407では、レイアウト処理部310は、着目テンプレートを識別するための情報(ファイル名など)をリストに追加登録する。このリストは初期状態では何も登録されていない。また、このリストは、電子アルバム作成装置102内の適当なメモリに保持されている。
In step S407, the
そして、ステップ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
なお、使用候補テンプレートに係る情報の一覧表示方法には様々な形態が考え得る。例えば、使用候補テンプレートのサムネイルを一覧表示しても良いし、使用候補テンプレートのファイル名などのメタ情報を一覧表示しても良い。もちろん、何れの一覧表示方法を採用したとしても、表示している対象のうち何れかを選択可能に表示する。また、全ての情報を一度に表示する必要はなく、部分的な情報をユーザ指示に応じて切り替えて表示するようにしても良い。 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
上記の通り、本実施形態では、ユーザは、ユーザインターフェース301を用いて画像配置位置を指定すると共に、該画像配置位置に配置する画像の画像特定情報(ファイル名やパス、URLなど)を指定する。そしてユーザがユーザインターフェース301を用いて指定終了指示を入力すると、ステップS1001で画像配置位置指定部311は、この指定された画像特定情報を取得する。
As described above, in the present embodiment, the user designates the image arrangement position using the
ステップS1002では、重み付け設定部901は、リストに登録されている各情報に対応する使用候補テンプレートに対して重み値を設定する。この重み値を設定するための方法については様々な方法が考え得る。以下では、重み値を求めるための処理の例として2つを上げ、図11を用いて説明する。
In step S1002, the
図11(a)においてユーザインターフェース301の画面1101上には3点が指定されている。また、この3点のうち、左端の点に対しては画像Aの画像特定情報が指定されており、中央の点に対しては画像Dの画像特定情報が指定されており、右端の点に対しては画像Cの画像特定情報が指定されている。
In FIG. 11A, three points are designated on the
このとき、画像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
一方、使用候補テンプレート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
なお、一致数が大きい(一致の度合いが大きい)ほど重み値が大きくなるようにするのであれば、一致数=重み値としなくても良い。また、アスペクト比は、予めメタ情報として用意しておいても良いし、実際に計測することで取得しても良い。 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
このとき、画像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
このとき、使用候補テンプレート1102,1103において代表画像としての画像Aの配置位置に最も近い画像配置領域のサイズ(縦及び/又は横のサイズなど)に応じて、使用候補テンプレート1102,1103に対する重み値を設定する。
At this time, in the
使用候補テンプレート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
図10に戻って、次に、ステップS1003では、重み付け設定部901は、重み値を設定したそれぞれの使用候補テンプレートを、重み値に従ってソートする。例えば、重み値が高い順に使用候補テンプレートを並べ替える。
Returning to FIG. 10, in step S <b> 1003, the
ステップS1004では、レイアウト処理部310は、ソート順(例えば重み値が大きい順)に使用候補テンプレートを選択する。そして、レイアウト処理部310は、該選択した使用候補テンプレートが示すそれぞれの画像配置領域に、該画像配置領域に最も近い画像配置位置について取得した画像特定情報が特定する画像を配置した画面の縮小画面を生成する。そしてレイアウト処理部310は、それぞれの使用候補テンプレートについて生成した縮小画面を、該それぞれの使用候補テンプレートの重み値に従って並べて、ユーザインターフェース301の画面上に表示する。この表示例を図12に示す。
In step S1004, the
図12の画面1201では、右側に並べた縮小画面のうちユーザが選択した縮小画面が拡大されて左側に表示されている。なお、ここでは、候補表示時に自動で画像を配置したが、アルバムテンプレートを候補として表示し、ユーザが選択したタイミングで画像の配置を行ってもよい。
In the
[第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
画面1302は、画像Dを表示させてページの右上に指定している。ここで、配置完了ボタンを指定することで画面1303へと推移し、フリック操作によって画面1304では次のテンプレートに切り替えて表示している。ここでテンプレート選択ボタンを指定することで画面1305へと推移し、次のページの画像配置位置を指定可能となる。
The
[第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
RAM202は、HDD(ハードディスクドライブ)209やFDD(フロッピー(登録商標)ディスクドライブ)210からロードされたコンピュータプログラムやデータを一時的に記憶するためのエリアを有する。更にRAM202は、NETIF(ネットワークインターフェース)204を介して外部から受信した様々なデータを一時的に記憶するためのエリアを有する。また、RAM202は、CPU201が各種の処理を実行する際に用いるワークエリアを有する。即ち、RAM202は、各種のエリアを適宜提供することができる。
The
ROM203は、ブートプログラムなどの基本プログラムを格納するためのプログラムROMと、コンピュータの設定データなどの基本データを格納するためのデータROMと、を有する。
The
NETIF204は、本コンピュータをネットワーク103に接続するためのもので、本コンピュータは、このNETIF204を介して外部機器とのデータ通信を行うことができる。
The
VRAM205は、CRT206に表示する1画面のデータを記憶するためのもので、CRT206にはこのVRAM205に格納されているデータに従った画面が表示されることになる。このCRT206は、上記のユーザインターフェース301の画面として機能することになる。
The
KBC(キーボ−ドコントローラ)207は、ユーザがKB(キーボード)208を操作することで入力した各種の指示(上記の指定分布の入力指示など)をCPU201に通知するためのものである。KB208は、上記のユーザインターフェース301の入力受付構成に相当する。
The KBC (keyboard controller) 207 is for notifying the
HDD209には、OS(オペレーティングシステム)や、電子アルバム作成装置102が行うものとして上述した各処理をCPU201に実行させるためのコンピュータプログラムやデータが保存されている。
The
HDD209に保存されているコンピュータプログラムには、図3,9において、ユーザインターフェース301、管理部305を除く各部の機能をCPU201に実行させるためのコンピュータプログラムが含まれている。また、HDD209に保存されているデータには、管理部305が管理するものとして上述した各種のデータが含まれている。
The computer program stored in the
HDD209に保存されているものとして上述したコンピュータプログラムやデータは、CPU201による制御に従って適宜RAM202にロードされ、CPU201による処理対象となる。
The computer programs and data described above as being stored in the
FDD210は、FD(フロッピー(登録商標)ディスク)に記録されているコンピュータプログラムやデータを読み出してRAM202やHDD209に出力したり、コンピュータプログラムやデータをこのFDに記録するためのものである。
The
上記のCPU201、RAM202、ROM203、NETIF204、VRAM205、KBC207、HDD209、FDD210、は何れも、共通のバス211に接続されている。
The
なお、図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
(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(または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.
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 (7)
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 |
JP7600664B2 (en) | 2020-12-18 | 2024-12-17 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and information processing program |
-
2012
- 2012-03-02 JP JP2012047301A patent/JP2013182524A/en active Pending
Cited By (11)
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 |
JP7600664B2 (en) | 2020-12-18 | 2024-12-17 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and information processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2013182524A (en) | Image processing apparatus and image processing method | |
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 | |
US9069445B2 (en) | Electronic device with touch screen and page flipping method | |
US20130076705A1 (en) | Display control apparatus, display control method, and storage medium for displaying a content of a file on a display apparatus | |
JP7610047B2 (en) | Image processing device, image processing method, program, and recording medium | |
US11507260B2 (en) | Electronic album apparatus, method for operating electronic album apparatus, and operation program utilizing display cell enlargement | |
US20150106761A1 (en) | Information processing apparatus, method for controlling the information processing apparatus, and storage medium | |
CN106201196A (en) | The method for sorting of a kind of desktop icons and mobile terminal | |
US20190104221A1 (en) | Information processing method, information processing apparatus, and storage medium | |
US8526741B2 (en) | Apparatus and method for processing image | |
JP2014016790A (en) | Information processing apparatus, information processing method, and program | |
JP2016085534A (en) | Image processing apparatus, control method of image processing apparatus, and program | |
WO2016006090A1 (en) | Electronic apparatus, method, and program | |
US7280693B2 (en) | Document information input apparatus, document information input method, document information input program and recording medium | |
CN108268258B (en) | Method and device for acquiring webpage code and electronic equipment | |
JP6575329B2 (en) | Electronic album creation device | |
WO2019155853A1 (en) | Electronic album device, and operation method and operation program thereof | |
US10140258B2 (en) | Portable device and image displaying method thereof | |
EP2940635A1 (en) | User terminal apparatus for managing data and method thereof | |
US20130191782A1 (en) | Information processing apparatus, control method thereof, and program | |
JP5883837B2 (en) | Person image determination apparatus for electronic album, control method thereof, control program thereof, and recording medium storing the control program | |
JP7200008B2 (en) | ELECTRONIC DEVICE AND ITS CONTROL METHOD AND PROGRAM | |
JP2017033421A (en) | Image display method | |
US10965902B2 (en) | Information processing apparatus and control method therefor |