JP4860342B2 - Album creating apparatus, album creating method, and album creating program - Google Patents

Album creating apparatus, album creating method, and album creating program Download PDF

Info

Publication number
JP4860342B2
JP4860342B2 JP2006131963A JP2006131963A JP4860342B2 JP 4860342 B2 JP4860342 B2 JP 4860342B2 JP 2006131963 A JP2006131963 A JP 2006131963A JP 2006131963 A JP2006131963 A JP 2006131963A JP 4860342 B2 JP4860342 B2 JP 4860342B2
Authority
JP
Japan
Prior art keywords
image
main object
page
unit
album
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.)
Active
Application number
JP2006131963A
Other languages
Japanese (ja)
Other versions
JP2007012030A (en
Inventor
歩 磯村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2006131963A priority Critical patent/JP4860342B2/en
Publication of JP2007012030A publication Critical patent/JP2007012030A/en
Application granted granted Critical
Publication of JP4860342B2 publication Critical patent/JP4860342B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、アルバム作成装置、アルバム作成方法、およびアルバム作成プログラムに関する。特に、本発明は、ページ境界線に主要オブジェクトが重ならないアルバムを作成するアルバム作成装置、アルバム作成方法、およびアルバム作成プログラムに関する。   The present invention relates to an album creating apparatus, an album creating method, and an album creating program. In particular, the present invention relates to an album creating apparatus, an album creating method, and an album creating program for creating an album in which a main object does not overlap a page boundary line.

原稿ごとに画像領域の副走査方向の長さを検出した後に、検出された長さに基づいて、各原稿における画像領域の副走査方向の長さが一定になるように変倍する。そして、長尺紙における各画像領域の境界に仕切り線の画像を形成する。これにより、複数ページの原稿を長尺紙に記録してページごとに折り畳む場合に、折り目、すなわちページ境界線が文字部等の画像部分に重なることを防止する方法が提案されている。
特開平09−080976号公報
After detecting the length of the image area in the sub-scanning direction for each original, the magnification is scaled so that the length of the image area in each original in the sub-scanning direction is constant based on the detected length. Then, a partition line image is formed at the boundary of each image region on the long paper. Thus, there has been proposed a method for preventing a crease, that is, a page boundary line from overlapping an image portion such as a character portion when a document having a plurality of pages is recorded on a long sheet and folded for each page.
Japanese Patent Laid-Open No. 09-080976

しかしながら、特許文献1に記載されている発明は、ロール紙等の長尺紙に対してしか用いることができないので、見開きページに画像が印刷されるアルバム作成に用いることはできない。また、ページ境界線に重なっても問題のない画像までもページ境界線に重ならないように処理されるので、アルバム作成におけるレイアウトの自由度が制限されるという問題がある。   However, since the invention described in Patent Document 1 can be used only for long paper such as roll paper, it cannot be used for creating an album in which an image is printed on a spread page. In addition, since an image that does not have a problem even if it overlaps the page boundary line is processed so as not to overlap the page boundary line, there is a problem that the degree of freedom of layout in album creation is limited.

そこで本発明は、上記課題を解決することができるアルバム作成装置、アルバム作成方法、およびアルバム作成プログラムを提供することを目的とする。この目的は特許請求の範囲における独立項に記載の特徴の組み合わせにより達成される。また従属項は本発明の更なる有利な具体例を規定する。   Therefore, an object of the present invention is to provide an album creation apparatus, an album creation method, and an album creation program that can solve the above-described problems. This object is achieved by a combination of features described in the independent claims. The dependent claims define further advantageous specific examples of the present invention.

上記課題を解決するために、本発明の第1の形態においては、アルバム作成装置であって、複数の画像をアルバムのページのそれぞれにレイアウトする画像レイアウト部と、折り目を含むページである折り目ページにおけるページの折り目の位置を格納する境界位置格納部と、画像レイアウト部が折り目ページにレイアウトした画像における主要なオブジェクトが、境界位置格納部が格納しているページの折り目の位置に重なっているか否かを判断する境界判断部と、境界判断部がページの折り目に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動部とを備える。   In order to solve the above-described problem, according to the first aspect of the present invention, an album creating apparatus, an image layout unit for laying out a plurality of images on each page of an album, and a crease page that is a page including a crease. The boundary position storage unit that stores the position of the page crease in the image and whether the main object in the image laid out on the crease page by the image layout unit overlaps the position of the page fold stored in the boundary position storage unit. When the boundary determination unit and the boundary determination unit determine that the main object overlaps the page fold, the main object does not overlap the page fold. A main object moving unit that moves the position.

また、複数の画像を折り目ページである見開きページごとに分類する画像分類部をさらに備え、画像レイアウト部は、画像分類部が見開きページごとに分類した画像を、アルバムの見開きページのそれぞれにレイアウトし、境界位置格納部は、見開きページにおける右ページと左ページとのページ境界線の位置を格納し、境界判断部は、画像レイアウト部が見開きページにレイアウトした画像における主要なオブジェクトが、境界位置格納部が格納しているページ境界線に重なっているか否かを判断し、主要オブジェクト移動部は、境界判断部がページ境界線に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがページ境界線に重ならないように、見開きページに対する主要なオブジェクトの位置を移動させてもよい。   In addition, the image layout unit further categorizes a plurality of images for each spread page that is a crease page, and the image layout unit lays out the images classified by the spread page for each spread page on each spread page of the album. The boundary position storage unit stores the position of the page boundary line between the right page and the left page in the spread page, and the boundary determination unit stores the boundary position of main objects in the image laid out on the spread page by the image layout unit. The main object moving unit determines whether the main object is overlaid when the boundary determining unit determines that the main object overlaps the page boundary. You can move the position of the main object relative to the facing page so that it doesn't overlap the page border. .

さらに、画像レイアウト部は、複数の画像を、アルバムの表表紙、背表紙、および裏表紙を含む表紙にレイアウトし、境界位置格納部は、アルバムの表紙の折り目の位置を格納し、境界判断部は、画像レイアウト部が表紙にレイアウトした画像における主要なオブジェクトが、境界位置格納部が格納している表紙の折り目の位置に重なっているか否かを判断し、主要オブジェクト移動部は、境界判断部が表紙の折り目の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトが表紙の折り目の位置に重ならないように、表紙に対する主要なオブジェクトの位置を移動させてもよい。   Further, the image layout unit lays out a plurality of images on a cover including an album cover, spine, and back cover, and the boundary position storage unit stores the position of the fold of the album cover, and the boundary determination unit Determines whether the main object in the image laid out on the cover by the image layout unit overlaps the position of the fold of the cover stored in the boundary position storage unit, and the main object moving unit When it is determined that the main object overlaps the position of the cover fold, the position of the main object relative to the cover may be moved so that the main object does not overlap the position of the cover fold.

また、表表紙、背表紙、および裏表紙の少なくとも一つを含むアルバムの表紙に配置される文字列情報がレイアウトされるタイトル枠の位置をタイトル枠位置情報として格納するタイトル枠位置情報格納部をさらに備え、画像レイアウト部は、複数の画像をアルバムの表紙にレイアウトし、境界判断部は、画像レイアウト部が表紙にレイアウトした画像における主要なオブジェクトが、タイトル枠位置情報格納部が格納しているタイトル枠の位置に重なっているか否かを判断し、主要オブジェクト移動部は、境界判断部がタイトル枠の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがタイトル枠の位置に重ならないように、表紙に対する主要なオブジェクトの位置を移動させてもよい。   In addition, a title frame position information storage unit that stores, as title frame position information, a position of a title frame in which character string information arranged on an album cover including at least one of a front cover, a back cover, and a back cover is laid out Further, the image layout unit lays out a plurality of images on the cover of the album, and the boundary determination unit stores main objects in the image laid out on the cover by the image layout unit in the title frame position information storage unit. The main object moving unit determines whether the main object overlaps the title frame position when the boundary determining unit determines that the main object overlaps the title frame position. The position of the main object relative to the cover may be moved so as not to overlap.

そして、タイトル枠位置情報格納部は、アルバムの背表紙に配置される文字列情報がレイアウトされるタイトル枠の位置をタイトル枠位置情報として格納し、画像レイアウト部は、複数の画像をアルバムの背表紙にレイアウトし、境界判断部は、画像レイアウト部が背表紙にレイアウトした画像における主要なオブジェクトが、タイトル枠位置情報格納部が格納しているタイトル枠の位置に重なっているか否かを判断し、主要オブジェクト移動部は、境界判断部がタイトル枠の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがタイトル枠の位置に重ならないように、背表紙に対する主要なオブジェクトの位置を移動させてもよい。   The title frame position information storage unit stores the position of the title frame on which the character string information arranged on the back cover of the album is laid out as title frame position information, and the image layout unit stores a plurality of images in the back of the album. The boundary determination unit determines whether or not the main object in the image laid out on the back cover by the image layout unit overlaps the position of the title frame stored in the title frame position information storage unit. The main object moving unit, when the boundary determining unit determines that the main object overlaps the title frame position, prevents the main object from overlapping the title frame position. The position may be moved.

さらに、主要オブジェクト移動部は、境界判断部がページの折り目に主要なオブジェクトが重なっていると判断した画像を折り目ページに対して移動させることによって、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させてもよく、主要オブジェクト移動部は、境界判断部がページの折り目に主要なオブジェクトが重なっていると判断した画像に対して、境界判断部がページの折り目に重なっていると判断した主要なオブジェクトを移動させることによって、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させてもよい。   Further, the main object moving unit moves the image that the boundary determining unit determines that the main object overlaps the page fold so that the main object does not overlap the page fold. The main object moving unit may move the position of the main object with respect to the crease page, and the main object moving unit detects that the boundary determining unit determines that the main object overlaps the page fold. The position of the main object relative to the crease page may be moved so that the main object does not overlap the crease of the page by moving the main object that is determined to overlap the fold.

また、画像レイアウト部がレイアウトした画像に含まれるオブジェクトを抽出するオブジェクト抽出部と、オブジェクト抽出部が抽出したオブジェクトの種類を特定するオブジェクト種類特定部と、オブジェクト種類特定部が特定したオブジェクトの種類が人物であるオブジェクトを主要なオブジェクトと決定する主要オブジェクト決定部とをさらに備えてもよく、主要オブジェクト移動部は、境界判断部がページの折り目に重なっていると判断した主要なオブジェクトが人物であると判断された場合に、人物の顔がページの折り目に重ならないように、折り目ページに対する人物の位置を移動させてよい。   Further, there are an object extraction unit that extracts an object included in an image laid out by the image layout unit, an object type specification unit that specifies the type of the object extracted by the object extraction unit, and an object type specified by the object type specification unit. A main object determining unit that determines an object that is a person as a main object may be further included. In the main object moving unit, the main object that the boundary determination unit determines to overlap the page fold is a person. If it is determined, the position of the person relative to the crease page may be moved so that the face of the person does not overlap the crease of the page.

また、本発明の第2の形態においては、アルバム作成方法であって、複数の画像をアルバムのページのそれぞれにレイアウトする画像レイアウト段階と、折り目を含むページである折り目ページにおけるページの折り目の位置を格納している境界位置格納部を参照する境界位置参照段階と、画像レイアウト段階において折り目ページにレイアウトされた画像における主要なオブジェクトが、境界位置参照段階において参照されたページの折り目に重なっているか否かを判断する境界判断段階と、境界判断段階においてページの折り目に主要なオブジェクトが重なっていると判断された場合に、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動段階とを備える。   According to the second aspect of the present invention, there is provided an album creating method, an image layout stage in which a plurality of images are laid out on each page of an album, and a fold position of a page in a fold page that is a page including a fold. Whether the main object in the image laid out on the crease page in the image layout stage overlaps the fold of the page referenced in the boundary position reference stage. A boundary determination stage for determining whether or not the main object overlaps the page fold when it is determined that the main object overlaps the page fold at the boundary determination stage. Main object movement stage to move the position of the object Equipped with a.

また、本発明の第3の形態においては、アルバムを作成するアルバム作成装置用のアルバム作成プログラムであって、アルバム作成装置を、複数の画像をアルバムのページのそれぞれにレイアウトする画像レイアウト部、折り目を含むページである折り目ページにおけるページの折り目の位置を格納する境界位置格納部、画像レイアウト部が折り目ページにレイアウトした画像における主要なオブジェクトが、境界位置格納部が格納しているページの折り目に重なっているか否かを判断する境界判断部、境界判断部がページの折り目に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動部として機能させる。   According to a third aspect of the present invention, there is provided an album creating program for an album creating apparatus for creating an album, the album creating apparatus including an image layout unit for laying a plurality of images on each page of an album, The boundary position storage unit that stores the position of the crease of the page in the crease page that is a page including the main object in the image laid out on the crease page by the image layout unit is the crease of the page stored in the boundary position storage unit Boundary determination unit that determines whether or not they overlap, and when the boundary determination unit determines that the main object overlaps the crease of the page, the main object for the crease page is prevented from overlapping the crease of the page. As the main object moving part that moves the position of the object To function.

また、本発明の第4の形態においては、アルバム作成装置であって、予め生成されたアルバムのテンプレートに複数の画像をレイアウトする画像レイアウト部と、アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納するテンプレート画像位置格納部と、画像レイアウト部がアルバムのテンプレートにレイアウトした画像における主要なオブジェクトが、テンプレート画像位置格納部が格納しているテンプレート画像の位置に重なっているか否かを判断する重なり判断部と、重なり判断部がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動部とを備える。   Further, in the fourth embodiment of the present invention, the album creating apparatus is an image layout unit that lays out a plurality of images on a previously generated album template, and a template image arranged in the album template, The template image position storage unit that stores the position of the album in the template, and whether the main object in the image laid out by the image layout unit on the album template overlaps the position of the template image stored in the template image position storage unit If the overlap determination unit determines whether or not the main object overlaps the position of the template image, the main determination for the album page is performed so that the main object does not overlap the template image. Object position And a main object moving section for moving the.

また、主要オブジェクト移動部は、重なり判断部がテンプレート画像位置格納部が格納しているテンプレート画像の位置に主要なオブジェクトが重なっていると判断した画像を、テンプレート画像に対して移動させることによって、主要なオブジェクトがテンプレート画像に重ならないように、テンプレート画像に対する主要なオブジェクトの位置を移動させてもよい。また、主要オブジェクト移動部は、重なり判断部がテンプレート画像位置格納部が格納しているテンプレート画像の位置に主要なオブジェクトが重なっていると判断した画像に対して、重なり判断部がテンプレート画像の位置に重なっていると判断した主要なオブジェクトを移動させることによって、主要なオブジェクトがテンプレート画像に重ならないように、テンプレート画像に対する主要なオブジェクトの位置を移動させてもよい。   In addition, the main object moving unit moves the image that the overlap determining unit determines that the main object overlaps the position of the template image stored in the template image position storage unit with respect to the template image, The position of the main object with respect to the template image may be moved so that the main object does not overlap the template image. The main object moving unit is configured so that the overlap determining unit determines the position of the template image for the image that the overlap determining unit determines that the main object overlaps the position of the template image stored in the template image position storage unit. The position of the main object relative to the template image may be moved so as to prevent the main object from overlapping the template image by moving the main object determined to overlap with the template image.

また、本発明の第5の形態においては、アルバム作成方法であって、予め生成されたアルバムのテンプレートに複数の画像をレイアウトする画像レイアウト段階と、アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納しているテンプレート画像位置格納部を参照するテンプレート画像位置参照段階と、画像レイアウト段階においてアルバムのテンプレートにレイアウトされた画像における主要なオブジェクトが、テンプレート画像位置参照段階において参照されたテンプレート画像の位置に重なっているか否かを判断する重なり判断段階と、重なり判断段階においてテンプレート画像の位置に主要なオブジェクトが重なっていると判断された場合に、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動段階とを備える。   Further, in the fifth embodiment of the present invention, there is provided an album creating method, an image layout stage for laying out a plurality of images on a previously generated album template, and a template image arranged in the album template, A template image position reference stage that references a template image position storage section that stores the position in the album template, and main objects in the images laid out in the album template in the image layout stage are referenced in the template image position reference stage. An overlap determination stage for determining whether or not the template object overlaps the position of the template image, and if it is determined in the overlap determination stage that the main object overlaps the position of the template image, the main object is So as not to overlap with the image, and a main object moving step of moving the position of the main object for the album page.

また、本発明の第6の形態においては、アルバムを作成するアルバム作成装置用のアルバム作成プログラムであって、アルバム作成装置を、予め生成されたアルバムのテンプレートに複数の画像をレイアウトする画像レイアウト部、アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納するテンプレート画像位置格納部、画像レイアウト部がアルバムのテンプレートにレイアウトした画像における主要なオブジェクトが、テンプレート画像位置格納部が格納しているテンプレート画像の位置に重なっているか否かを判断する重なり判断部、重なり判断部がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動部として機能させる。   According to a sixth aspect of the present invention, there is provided an album creating program for an album creating apparatus for creating an album, wherein the album creating apparatus lays out a plurality of images on a previously generated album template. A template image position storage unit that stores the position of the template image arranged in the album template in the album template, and the main object in the image laid out by the image layout unit in the album template is the template image position storage unit. The overlap determination unit that determines whether or not the position of the stored template image overlaps, and when the overlap determination unit determines that the main object overlaps the position of the template image, the main object is added to the template image. If heavy Oddly, to function as the main object moving section for moving the position of the main object for the album page.

また、本発明の第7の形態においては、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートを有するアルバムテンプレートに、画像をレイアウトしてアルバムを作成するアルバム作成装置であって、折り目を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含む折り目の位置を格納する折り目位置格納部と、画像における、当該画像の主要なオブジェクトの領域を判断する主要オブジェクト領域判断部と、折り目位置格納部が格納しているレイアウト枠に対する折り目の位置と、主要オブジェクト領域判断部が判断した画像における主要なオブジェクトの領域とを画像ごとに比較して、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重なるか否かを判断する画像比較部と、画像比較部の判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重ならない画像を選択する画像選択部と、画像選択部が選択した画像を、レイアウト枠にレイアウトする画像レイアウト部とを備える。   According to a seventh aspect of the present invention, there is provided an album creating apparatus for creating an album by laying out an image on an album template having a page template in which a layout frame in which an image is to be arranged is previously arranged. A crease position storage unit that stores a position of a crease included in the page template with respect to a layout frame arranged in advance in the page template of the page including the main object area determination that determines an area of a main object of the image in the image The image is placed in the layout frame by comparing the crease position with respect to the layout frame stored in the fold position storage unit and the main object area in the image determined by the main object area determination unit for each image. Page template crease and image main When the image is arranged in the layout frame based on the determination result of the image comparison unit and whether the image comparison unit determines whether or not the object overlaps, the crease of the page template and the main object of the image do not overlap An image selection unit that selects an image, and an image layout unit that lays out the image selected by the image selection unit in a layout frame.

また、本発明の第8の形態においては、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートを有するアルバムテンプレートに、画像をレイアウトしてアルバムを作成するアルバム作成方法であって、折り目を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含む折り目の位置を格納している折り目位置格納部を参照する折り目位置参照段階と、画像における、当該画像の主要なオブジェクトの領域を判断する主要オブジェクト領域判断段階と、折り目位置参照段階において参照されたレイアウト枠に対する折り目の位置と、主要オブジェクト領域判断段階において判断された画像における主要なオブジェクトの領域とを画像ごとに比較して、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重なるか否かを判断する画像比較段階と、画像比較段階における判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重ならない画像を選択する画像選択段階と、画像選択段階において選択された画像を、レイアウト枠にレイアウトする画像レイアウト段階とを備える。   According to an eighth aspect of the present invention, there is provided an album creating method for creating an album by laying out an image on an album template having a page template in which a layout frame in which an image is to be placed is arranged in advance. A fold position reference stage for referring to a fold position storage section that stores a fold position included in the page template with respect to a layout frame arranged in advance in the page template of the page including the image, and a main object of the image in the image The main object area determination stage for determining the area of the image, the position of the crease relative to the layout frame referenced in the fold position reference stage, and the main object area in the image determined in the main object area determination stage are compared for each image. To place the image in the layout frame. If the image template is placed in the layout frame based on the image comparison stage for determining whether or not the crease of the page template and the main object of the image overlap, and the determination result in the image comparison stage, the page template An image selection stage for selecting an image in which the crease and the main object of the image do not overlap, and an image layout stage for laying out the image selected in the image selection stage in a layout frame.

また、本発明の第9の形態においては、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートを有するアルバムテンプレートに、画像をレイアウトしてアルバムを作成するアルバム作成装置用のアルバム作成プログラムであって、アルバム作成装置を、折り目を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含む折り目の位置を格納する折り目位置格納部、画像における、当該画像の主要なオブジェクトの領域を判断する主要オブジェクト領域判断部、折り目位置格納部が格納しているレイアウト枠に対する折り目の位置と、主要オブジェクト領域判断部が判断した画像における主要なオブジェクトの領域とを画像ごとに比較して、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重なるか否かを判断する画像比較部、画像比較部の判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重ならない画像を選択する画像選択部、画像選択部が選択した画像を、レイアウト枠にレイアウトする画像レイアウト部として機能させる。   In the ninth embodiment of the present invention, an album creating program for an album creating apparatus that lays out an image and creates an album on an album template having a page template in which a layout frame in which an image is to be placed is arranged in advance. A fold position storage unit for storing the position of a fold included in the page template with respect to a layout frame previously arranged in the page template of the page including the fold, and the main object of the image in the image The main object area determination unit for determining the area of the image and the crease position with respect to the layout frame stored in the fold position storage unit are compared with the main object area in the image determined by the main object area determination unit for each image. If you place an image in the layout frame, In addition, when the image is arranged in the layout frame based on the determination result of the image comparison unit and the image comparison unit that determines whether or not the crease of the page template overlaps with the main object of the image, the fold of the page template An image selection unit that selects an image that does not overlap with main objects of the image, and an image layout unit that lays out the image selected by the image selection unit in a layout frame.

また、本発明の第10の形態においては、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートを有するアルバムテンプレートに、画像をレイアウトしてアルバムを作成するアルバム作成装置であって、テンプレート画像を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含むテンプレート画像の位置を格納するテンプレート画像位置格納部と、画像における、当該画像の主要なオブジェクトの領域を判断する主要オブジェクト領域判断部と、テンプレート画像位置格納部が格納しているレイアウト枠に対するテンプレート画像の位置と、主要オブジェクト領域判断部が判断した画像における主要なオブジェクトの領域とを画像ごとに比較して、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重なるか否かを判断する画像比較部と、画像比較部の判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重ならない画像を選択する画像選択部と、画像選択部が選択した画像を、レイアウト枠にレイアウトする画像レイアウト部とを備える。   According to a tenth aspect of the present invention, there is provided an album creating apparatus for creating an album by laying out an image on an album template having a page template in which a layout frame in which an image is to be arranged is arranged in advance. A template image position storage unit that stores the position of a template image included in the page template with respect to a layout frame previously arranged in the page template of the page including the image, and a main that determines a region of a main object of the image in the image Compare the position of the template image with respect to the layout frame stored in the object area determination unit, the template image position storage unit, and the main object area in the image determined by the main object area determination unit An image in the frame When the image is arranged in the layout frame based on the determination result of the image comparison unit that determines whether or not the template image of the page template and the main object of the image overlap, and the determination result of the image comparison unit, An image selection unit that selects an image in which a template image of the page template and a main object of the image do not overlap each other, and an image layout unit that lays out the image selected by the image selection unit in a layout frame.

また、本発明の第11の形態においては、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートを有するアルバムテンプレートに、画像をレイアウトしてアルバムを作成するアルバム作成方法であって、テンプレート画像を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含むテンプレート画像の位置を格納しているテンプレート画像位置格納部を参照するテンプレート画像位置参照段階と、画像における、当該画像の主要なオブジェクトの領域を判断する主要オブジェクト領域判断段階と、テンプレート画像位置参照段階において参照されたレイアウト枠に対するテンプレート画像の位置と、主要オブジェクト領域判断段階において判断された画像における主要なオブジェクトの領域とを画像ごとに比較して、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重なるか否かを判断する画像比較段階と、画像比較段階における判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重ならない画像を選択する画像選択段階と、画像選択段階において選択された画像を、レイアウト枠にレイアウトする画像レイアウト段階とを備える。   According to an eleventh aspect of the present invention, there is provided an album creating method for creating an album by laying out an image on an album template having a page template in which a layout frame in which an image is to be arranged is previously arranged. A template image position reference stage that refers to a template image position storage unit that stores a position of a template image included in the page template with respect to a layout frame previously arranged in the page template of the page including the image, and the image in the image The main object area determination stage for determining the main object area of the image, the position of the template image with respect to the layout frame referred to in the template image position reference stage, and the main object area in the image determined in the main object area determination stage. An image comparison stage for determining whether or not the template image of the page template and the main object of the image overlap when the image is compared with the image area for each image and the image is arranged in the layout frame. The image selection stage for selecting an image in which the template image of the page template and the main object of the image do not overlap when the image is arranged in the layout frame based on the determination result in, and the image selected in the image selection stage And an image layout stage for laying out the layout frame.

また、本発明の第12の形態においては、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートを有するアルバムテンプレートに、画像をレイアウトしてアルバムを作成するアルバム作成装置用のアルバム作成プログラムであって、アルバム作成装置を、テンプレート画像を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含むテンプレート画像の位置を格納するテンプレート画像位置格納部、画像における、当該画像の主要なオブジェクトの領域を判断する主要オブジェクト領域判断部、テンプレート画像位置格納部が格納しているレイアウト枠に対するテンプレート画像の位置と、主要オブジェクト領域判断部が判断した画像における主要なオブジェクトの領域とを画像ごとに比較して、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重なるか否かを判断する画像比較部、画像比較部の判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重ならない画像を選択する画像選択部、画像選択部が選択した画像を、レイアウト枠にレイアウトする画像レイアウト部として機能させる。   In the twelfth aspect of the present invention, an album creating program for an album creating apparatus that lays out an image and creates an album on an album template having a page template in which layout frames in which images are to be placed is arranged in advance. An album creating apparatus is a template image position storage unit that stores a position of a template image included in the page template with respect to a layout frame previously arranged in a page template of the page including the template image. A main object area determination unit for determining a main object area, a position of the template image with respect to the layout frame stored in the template image position storage unit, and a main object area in the image determined by the main object area determination unit; Based on the determination result of the image comparison unit and the image comparison unit that determine whether or not the template image of the page template overlaps the main object of the image when the image is arranged in the layout frame as compared for each image When an image is placed in the layout frame, an image selection unit that selects an image in which the template image of the page template and the main object of the image do not overlap, and an image layout that lays out the image selected by the image selection unit in the layout frame Function as a part.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションもまた、発明となりうる。   The above summary of the invention does not enumerate all the necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.

本発明によれば、撮像画像に含まれる主要なオブジェクトがアルバムのページ境界線と重なっていた場合に、見開きページに対する主要なオブジェクトの位置を自動的に移動させて、アルバムを作成することができる。   According to the present invention, when the main object included in the captured image overlaps the page boundary of the album, the album can be created by automatically moving the position of the main object with respect to the spread page. .

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the invention according to the scope of claims, and all combinations of features described in the embodiments are included. It is not necessarily essential for the solution of the invention.

図1は、本発明の一実施形態に係るアルバム作成装置100の概要を示す。本実施形態に係るアルバム作成装置100は、撮像画像に含まれる主要なオブジェクトがアルバムのページ境界線と重なっていた場合に、見開きページに対する主要なオブジェクトの位置を移動させてアルバムを作成することを目的とする。なお、見開きページは折り目を含むページである折り目ページの一例であり、見開きページのページ境界線は、折り目ページにおけるページの折り目の一例である。また、折り目ページには、アルバムのページ、アルバムの折り込みページ、アルバムの表表紙、アルバムの背表紙、およびアルバムの裏表紙が含まれていてよい。   FIG. 1 shows an overview of an album creating apparatus 100 according to an embodiment of the present invention. The album creating apparatus 100 according to the present embodiment creates an album by moving the position of the main object with respect to the spread page when the main object included in the captured image overlaps the page boundary of the album. Objective. The spread page is an example of a fold page that is a page including a fold, and the page boundary line of the spread page is an example of a fold of the page in the fold page. The crease page may include an album page, an album insert page, an album cover, an album spine, and an album back cover.

例えば、ユーザ600は、撮像装置150により被写体610を撮像する。撮像装置150は、撮像画像を格納する。そして、撮像装置150は、メモリ、およびインターネット等のネットワークを介して、撮像された撮像画像をアルバム作成装置100に供給する。アルバム作成装置100は、受け取った複数の撮像画像を、予め定められた基準に従って分類する。そして、アルバム作成装置100は、分類された複数の撮像画像から主要なオブジェクトが含まれる画像を選択する。続いて、アルバム作成装置100は、選択した画像を含む複数の撮像画像を、アルバムの見開きページ200にレイアウトする。ここで、主要なオブジェクトとは、分類された画像に含まれるオブジェクトの中で、頻繁に登場するオブジェクトであってよい。また、分類された画像に含まれるオブジェクトの中で、より動きのあるオブジェクトを主要なオブジェクトとしてもよい。更には、分類された画像に複数のオブジェクトが含まれている場合には、オブジェクトの種類が人物であるオブジェクトを、主要なオブジェクトとしてもよい。   For example, the user 600 images the subject 610 with the imaging device 150. The imaging device 150 stores a captured image. Then, the imaging device 150 supplies the captured images to the album creating device 100 via a memory and a network such as the Internet. The album creating apparatus 100 classifies the received plurality of captured images according to a predetermined standard. Then, the album creating apparatus 100 selects an image including a main object from the plurality of classified captured images. Subsequently, the album creating apparatus 100 lays out a plurality of captured images including the selected image on the spread page 200 of the album. Here, the main object may be an object that frequently appears among the objects included in the classified images. Further, among the objects included in the classified image, an object with more movement may be set as a main object. Furthermore, when a plurality of objects are included in the classified image, an object whose type is a person may be set as a main object.

そして、画像をレイアウトした後のアルバムの見開きページ200において、アルバムページのページ境界線208と撮像画像204に含まれる主要なオブジェクトである人物の画像とが重なっていた場合を考える。係る場合において、アルバム作成装置100は、主要なオブジェクトである人物の画像がページ境界線208と重ならないように、見開きページ200に対する主要なオブジェクトの位置を移動させる。そして、アルバム作成装置100は、見開きページ202を作成する。アルバム作成装置100は、作成した見開きページ202を、プリンタ、ディスプレイ等に出力することにより、アルバム220を作成する。   A case is considered in which the page boundary line 208 of the album page overlaps the image of a person as a main object included in the captured image 204 on the spread page 200 of the album after the image is laid out. In such a case, the album creating apparatus 100 moves the position of the main object with respect to the spread page 200 so that the image of the person who is the main object does not overlap the page boundary line 208. Then, the album creating apparatus 100 creates a spread page 202. The album creating apparatus 100 creates the album 220 by outputting the created spread page 202 to a printer, a display, or the like.

本実施形態に係るアルバム作成装置100によれば、画像をアルバムのページにレイアウトする場合において、アルバムのページに含まれるページの折り目と画像に含まれる主要なオブジェクトとが重なる場合でも、画像に含まれる主要なオブジェクトの位置を、主要なオブジェクトがページの折り目に重ならない位置に自動的に移動させて、アルバムを作成することができる。これにより、アルバムの観賞者は、観賞を欲する主要オブジェクトをはっきり認識でき、観賞者の満足度を高めることができる。   According to the album creating apparatus 100 according to the present embodiment, when an image is laid out on an album page, even if a fold of the page included in the album page overlaps with a main object included in the image, the image is included in the image. The album can be created by automatically moving the position of the main object to a position where the main object does not overlap the page fold. As a result, the viewer of the album can clearly recognize the main object that the viewer wants to watch, and can increase the satisfaction of the viewer.

図2は、本実施形態に係るアルバム作成装置100の機能構成の一例を示す。アルバム作成装置100は、画像格納部10、画像分類部20、画像レイアウト部30、オブジェクト抽出部40、オブジェクト種類特定部42、主要オブジェクト決定部44、境界位置格納部50、タイトル枠位置情報格納部52、境界判断部60、主要オブジェクト移動部70、印刷部80、および表示部84を備える。画像格納部10は、撮像装置150から受け取った複数の画像を格納する。画像格納部10は、画像を一意に識別できる識別子に対応づけて、画像を格納する。また、画像格納部10は、識別子に対応づけて、画像、画像が撮像された位置、および撮像された時刻を格納してもよい。更に、画像格納部10は、識別子に対応づけて、画像、画像が撮像されたときの合焦距離、撮像された画像の色相等を格納してもよい。また、画像には、画像に含まれる主要なオブジェクトの画像に対する位置を示す情報が付帯されていてもよく、画像格納部10は、識別子に対応づけて主要なオブジェクトの画像に対する位置をさらに格納してもよい。画像格納部10は、複数の画像を画像分類部20およびオブジェクト抽出部40へ供給する。   FIG. 2 shows an example of a functional configuration of the album creating apparatus 100 according to the present embodiment. The album creating apparatus 100 includes an image storage unit 10, an image classification unit 20, an image layout unit 30, an object extraction unit 40, an object type identification unit 42, a main object determination unit 44, a boundary position storage unit 50, and a title frame position information storage unit. 52, a boundary determination unit 60, a main object moving unit 70, a printing unit 80, and a display unit 84. The image storage unit 10 stores a plurality of images received from the imaging device 150. The image storage unit 10 stores an image in association with an identifier that can uniquely identify the image. The image storage unit 10 may store an image, a position where the image is captured, and a time when the image is captured in association with the identifier. Further, the image storage unit 10 may store an image, a focusing distance when the image is captured, a hue of the captured image, and the like in association with the identifier. The image may be accompanied by information indicating the position of the main object included in the image with respect to the image, and the image storage unit 10 further stores the position of the main object relative to the image in association with the identifier. May be. The image storage unit 10 supplies a plurality of images to the image classification unit 20 and the object extraction unit 40.

画像分類部20は、画像格納部10から受け取った複数の画像を、アルバムのページごとに分類する。また、画像分類部20は、複数の画像をアルバムにおける見開きページごとに分類してもよい。さらに、画像分類部20は、主要オブジェクト決定部44から、複数の撮像画像ごとに決定された主要なオブジェクトを受け取ってもよい。そして、例えば、画像分類部20は、撮像画像が撮像された位置、撮像時刻等に基づいて複数の画像を分類してよい。また、主要オブジェクト決定部44において決定された主要なオブジェクトに基づいて、複数の撮像画像を分類してもよい。なお、撮像画像は画像の一例である。   The image classification unit 20 classifies the plurality of images received from the image storage unit 10 for each page of the album. The image classification unit 20 may classify a plurality of images for each spread page in the album. Further, the image classification unit 20 may receive a main object determined for each of the plurality of captured images from the main object determination unit 44. For example, the image classification unit 20 may classify a plurality of images based on the position where the captured image is captured, the imaging time, and the like. Further, a plurality of captured images may be classified based on the main object determined by the main object determination unit 44. The captured image is an example of an image.

ここで、画像分類部20は、複数の見開きページごとにテーマを設定して、各テーマに沿うように複数の画像を分類してよい。テーマは、アルバム観賞者にとって、関心の高い内容であってよい。テーマは、例えば、旅行、運動会、ペット等であってよい。すなわち、テーマが旅行の場合には、画像分類部20は、ユーザが旅行先で撮像した複数の画像を場所ごとに分類する。また、テーマが運動会の場合には、画像分類部20は、複数の画像の中から運動会に関連する画像を抽出して、競技ごと、または人ごと等に分類する。さらに、テーマは、ペットに関するテーマ、特定のオブジェクトに関するテーマ等であってよい。いずれの場合であっても、見開きページのテーマは、撮像画像に含まれる主要なオブジェクトの種類に基づいて決定してよい。画像分類部20は、分類された複数の画像を、画像レイアウト部30へ供給する。   Here, the image classification unit 20 may set a theme for each of the plurality of spread pages, and classify the plurality of images along each theme. The theme may be content that is of great interest to album viewers. The theme may be, for example, travel, athletic meet, pet or the like. That is, when the theme is travel, the image classification unit 20 classifies a plurality of images captured by the user at the travel destination for each place. Further, when the theme is athletic meet, the image classification unit 20 extracts images related to the athletic meet from a plurality of images, and classifies them for each competition or for each person. Furthermore, the theme may be a theme related to a pet, a theme related to a specific object, or the like. In either case, the spread page theme may be determined based on the types of main objects included in the captured image. The image classification unit 20 supplies the plurality of classified images to the image layout unit 30.

画像レイアウト部30は、複数の画像をアルバムのページのそれぞれにレイアウトする。具体的には、画像レイアウト部30は、複数の画像を、折り目を含むページである折り目ページにレイアウトする。また、画像レイアウト部30は、画像分類部20から受け取った、分類された複数の画像を、アルバムの見開きページのそれぞれにレイアウトする。画像レイアウト部30は、分類された画像をアルバムの見開きページにレイアウトする場合において、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートに画像をレイアウトしてもよい。この場合、当該ページテンプレートには、主要なオブジェクトを含む画像がレイアウトされるべきレイアウト枠が、予め定められていてもよい。また、画像レイアウト部30は、複数の画像を、アルバムの表表紙、背表紙、および裏表紙を含む表紙にレイアウトしてもよい。例えば、画像レイアウト部30は、アルバムの背表紙に画像をレイアウトしてよい。さらに、画像レイアウト部30は、画像を、CD−ROM、DVD等の形状を有するテンプレートにレイアウトしてもよい。画像レイアウト部30は、アルバムのページにレイアウトされた画像をオブジェクト抽出部40へ供給する。   The image layout unit 30 lays out a plurality of images on each page of the album. Specifically, the image layout unit 30 lays out a plurality of images on a crease page that is a page including a crease. The image layout unit 30 lays out the plurality of classified images received from the image classification unit 20 on each of the spread pages of the album. The image layout unit 30 may lay out an image on a page template in which a layout frame in which the image is to be arranged is arranged in advance when the classified image is laid out on the spread page of the album. In this case, a layout frame in which an image including a main object should be laid out may be determined in advance in the page template. Further, the image layout unit 30 may lay out a plurality of images on a cover including an album cover, a back cover, and a back cover. For example, the image layout unit 30 may lay out images on the back cover of an album. Further, the image layout unit 30 may lay out the image on a template having a shape such as a CD-ROM or a DVD. The image layout unit 30 supplies the image laid out on the album page to the object extraction unit 40.

オブジェクト抽出部40は、画像レイアウト部30から受け取った、アルバムの見開きページにレイアウトされた画像に含まれるオブジェクトの画像を抽出する。オブジェクト抽出部40は、オブジェクトの画像を、例えば、輪郭抽出処理、色分布分析処理等の画像処理により抽出する。そして、オブジェクト抽出部40は、抽出されたオブジェクトの画像、およびアルバムの見開きページにレイアウトされた画像を、オブジェクト種類特定部42へ供給する。オブジェクト種類特定部42は、オブジェクト抽出部40から受け取った、抽出されたオブジェクトの種類を特定する。   The object extraction unit 40 extracts the image of the object included in the image laid out on the spread page of the album received from the image layout unit 30. The object extraction unit 40 extracts an object image by image processing such as contour extraction processing and color distribution analysis processing. Then, the object extracting unit 40 supplies the extracted object image and the image laid out on the spread page of the album to the object type specifying unit 42. The object type identification unit 42 identifies the type of the extracted object received from the object extraction unit 40.

オブジェクト種類特定部42は、例えば、オブジェクト抽出部40から受け取ったオブジェクトの画像と、予めオブジェクト種類特定部42が有している、人物の体のパターン画像、動植物のパターン画像、自動車等の乗り物のパターン画像、および建物のパターン画像等とのパターンマッチングにより、オブジェクトの種類を特定してよい。また、特定されたオブジェクトが人物である場合には、オブジェクト種類特定部42は人物の顔領域をさらに特定してよい。人物の顔領域の特定は、人物の顔の輪郭形状、眼、鼻、口、眉等の顔における特徴的な部位の形状、および各部位の顔の中における位置等に基づいて特定できる。また、オブジェクト種類特定部42は、肌色抽出等によって人物の顔領域を特定してもよい。オブジェクト種類特定部42は、特定されたオブジェクトの種類、およびアルバムのページにレイアウトされた画像を、主要オブジェクト決定部44へ供給する。   The object type identification unit 42 includes, for example, an image of an object received from the object extraction unit 40 and a pattern image of a person's body, a pattern image of animals and plants, a vehicle such as an automobile, which the object type identification unit 42 has in advance. The type of object may be specified by pattern matching with a pattern image, a building pattern image, or the like. When the specified object is a person, the object type specifying unit 42 may further specify the face area of the person. The face area of a person can be specified based on the contour shape of the person's face, the shape of a characteristic part of the face such as the eyes, nose, mouth, and eyebrows, and the position of each part in the face. Further, the object type specifying unit 42 may specify a human face region by skin color extraction or the like. The object type identification unit 42 supplies the identified object type and the image laid out on the album page to the main object determination unit 44.

主要オブジェクト決定部44は、オブジェクト種類特定部42から受け取ったオブジェクトの種類が人物である場合に、当該オブジェクトを主要なオブジェクトと決定する。また、画像分類部20において分類された複数の撮像画像に含まれるオブジェクトのうち、当該分類された複数の撮像画像の中で予め定められた基準値以上の頻度で撮像されているオブジェクトを、主要なオブジェクトと決定してもよい。これにより、主要オブジェクト決定部44は、頻繁に撮像されている人物、およびオブジェクトを、主要なオブジェクトとして決定することができる。   When the object type received from the object type specifying unit 42 is a person, the main object determination unit 44 determines the object as a main object. In addition, among the objects included in the plurality of captured images classified by the image classification unit 20, an object that is imaged with a frequency equal to or higher than a predetermined reference value among the plurality of classified captured images is mainly used. May be determined as a simple object. Thereby, the main object determination unit 44 can determine a person and an object that are frequently imaged as main objects.

また、主要オブジェクト決定部44は、主要なオブジェクトが、撮像画像の中で占める位置を表す位置情報を算出する。ここで、位置情報は、座標に対応づけて算出してよい。例えば、主要オブジェクト決定部44は、撮像画像の中における主要なオブジェクトが占める範囲を、座標に対応づけて算出する。主要なオブジェクトが占める範囲は、例えば、撮像画像に対して座標軸を設定して、当該座標軸において主要なオブジェクトが占める範囲の座標として算出してよい。更に、主要オブジェクト決定部44は、主要なオブジェクトが人物であった場合には、当該人物の顔の位置を、座標に対応づけて算出してもよい。   Further, the main object determination unit 44 calculates position information indicating the position occupied by the main object in the captured image. Here, the position information may be calculated in association with the coordinates. For example, the main object determination unit 44 calculates the range occupied by the main object in the captured image in association with the coordinates. The range occupied by the main object may be calculated as, for example, the coordinates of the range occupied by the main object on the coordinate axis by setting a coordinate axis for the captured image. Furthermore, when the main object is a person, the main object determination unit 44 may calculate the position of the person's face in association with the coordinates.

更には、主要オブジェクト決定部44は、以下のように主要なオブジェクトを決定してもよい。まず、撮像装置150は複数の合焦距離において予備画像を撮像する。そして、主要オブジェクト決定部44は、撮像装置150から複数の予備画像を受け取り、各予備画像の空間周波数成分を算出する。そして、高周波数成分が予め定められたレベルよりも高い予備画像を撮像した合焦距離において撮像された撮像画像に含まれるオブジェクトを、主要オブジェクト決定部44は、主要なオブジェクトとして決定してもよい。なお、予備画像とは、合焦位置などの撮像条件を決定するために、撮像装置150が取得する画像であってよい。例えば、予備画像は、合焦位置ごとに撮像された、解像度が撮像画像よりも低い画像であってよい。主要オブジェクト決定部44は、主要なオブジェクトとして決定されたオブジェクトを含む画像、主要なオブジェクトの画像に対する位置を示す位置情報、および画像レイアウト部30においてアルバムのページにレイアウトされた画像を、境界判断部60、および画像分類部20へ供給する。   Furthermore, the main object determination unit 44 may determine main objects as follows. First, the imaging device 150 captures a preliminary image at a plurality of focusing distances. Then, the main object determination unit 44 receives a plurality of preliminary images from the imaging device 150 and calculates a spatial frequency component of each preliminary image. Then, the main object determination unit 44 may determine the object included in the captured image captured at the focal distance at which the high-frequency component is higher than a predetermined level as the main object. . Note that the preliminary image may be an image acquired by the imaging device 150 in order to determine an imaging condition such as a focus position. For example, the preliminary image may be an image captured at each in-focus position and having a lower resolution than the captured image. The main object determination unit 44 includes an image including the object determined as the main object, position information indicating the position of the main object with respect to the image, and an image laid out on the album page in the image layout unit 30 as a boundary determination unit. 60 and the image classification unit 20.

境界位置格納部50は、折り目ページにおけるページの折り目の位置を格納する。また、境界位置格納部50は、アルバムの表紙の折り目の位置を格納してもよい。さらに、境界位置格納部50は、アルバムの見開きページにおける右ページと左ページとのページ境界線の位置を格納する。境界位置格納部50は、見開きページに座標軸を設定して、ページ境界線の位置を、座標に対応づけて格納してよい。また、境界位置格納部50は、アルバムの判型の種類に対応づけて、異なるページ境界線の位置を示す座標を格納してよい。なお、見開きページのページ境界線、ページの折り目の折り目線、および表紙の折り目の折り目線等は、ページの折り目の一例である。また、見開きページとは、本型のアルバムの右ページ、および左ページの他、折り込みページにおいて折り目をはさんだ複数のページであってよい。例えば、観音折りでアルバムを作成する場合には、見開きページにおける右ページと左ページとのページ境界線だけではなく、右ページ、および左ページの中心の折り目もページ境界線としてよい。更には、蛇腹折りのページを作成する場合、折込みページをページの間に差し込む場合等には、各ページの折り目を、ページ境界線としてもよい。また、境界位置格納部50は、画像レイアウト部30が画像をレイアウトするテンプレートがCD−ROM、DVD等のテンプレートである場合には、CD−ROM、DVD等の穴の位置を格納してもよい。境界位置格納部50は、ページの折り目の位置を、境界判断部60の制御に基づいて境界判断部60へ供給する。   The boundary position storage unit 50 stores the fold position of the page in the fold page. Further, the boundary position storage unit 50 may store the position of the fold of the cover of the album. Further, the boundary position storage unit 50 stores the position of the page boundary line between the right page and the left page in the spread pages of the album. The boundary position storage unit 50 may set a coordinate axis for a spread page and store the position of the page boundary line in association with the coordinates. Further, the boundary position storage unit 50 may store coordinates indicating positions of different page boundary lines in association with the type of album format. Note that the page boundary line of the spread page, the crease line of the page crease, the crease line of the cover crease, and the like are examples of the crease of the page. In addition to the right and left pages of the album of the book type, the spread pages may be a plurality of pages with a fold between the folded pages. For example, when an album is created by double folding, not only the page boundary line between the right page and the left page in the spread page but also the fold line at the center of the right page and the left page may be used as the page boundary line. Furthermore, when creating a bellows-folded page or inserting a folded page between pages, the fold of each page may be a page boundary line. In addition, the boundary position storage unit 50 may store the positions of holes such as CD-ROM and DVD when the template on which the image layout unit 30 lays out an image is a template such as CD-ROM and DVD. . The boundary position storage unit 50 supplies the position of the page fold to the boundary determination unit 60 based on the control of the boundary determination unit 60.

タイトル枠位置情報格納部52は、表表紙、背表紙、および裏表紙の少なくとも一つを含むアルバムの表紙に配置される文字列情報がレイアウトされるタイトル枠の位置をタイトル枠位置情報として格納する。例えば、タイトル枠位置情報格納部52は、アルバムの背表紙に配置される文字列情報がレイアウトされるタイトル枠の位置を、タイトル枠位置情報として格納してよい。なお、タイトル枠にレイアウトされる文字列情報は、アルバムのテーマを示す文字列等であってよい。例えば、アルバムのテーマが運動会である場合には、文字列情報は運動会を示す文字列であってよい。また、アルバムのテーマが旅行である場合には、文字列情報は旅行先の地名を含む文字列情報であってよい。タイトル枠位置情報格納部52は、境界判断部60の制御に基づいて、タイトル枠位置情報を境界判断部60に供給する。   The title frame position information storage unit 52 stores, as title frame position information, the position of the title frame where the character string information arranged on the cover of the album including at least one of the front cover, the back cover, and the back cover is laid out. . For example, the title frame position information storage unit 52 may store, as title frame position information, the position of the title frame in which character string information arranged on the back cover of the album is laid out. Note that the character string information laid out in the title frame may be a character string indicating the theme of the album. For example, when the theme of the album is an athletic meet, the character string information may be a character string indicating the athletic meet. When the theme of the album is travel, the character string information may be character string information including a place name of the travel destination. The title frame position information storage unit 52 supplies the title frame position information to the boundary determination unit 60 based on the control of the boundary determination unit 60.

境界判断部60は、画像レイアウト部30が折り目ページにレイアウトした画像における主要なオブジェクトが、境界位置格納部50から受け取ったページの折り目の位置に重なっているか否かを判断する。境界判断部60は、画像レイアウト部30がアルバムの表紙に画像をレイアウトした場合には、表紙の折り目の位置に画像における主要なオブジェクトが重なっているか否かを判断する。また、境界判断部60は、画像レイアウト部30が表紙にレイアウトした画像における主要なオブジェクトが、タイトル枠位置情報格納部から受け取ったタイトル枠の位置に重なっているか否かを判断してもよい。例えば、境界判断部60は、画像レイアウト部30が背表紙に画像をレイアウトした場合に、画像に含まれる主要なオブジェクトが、背表紙に配置されているタイトル枠の位置に重なっているか否かを判断してよい。なお、境界判断部60は、テンプレートがCD−ROM、DVD等のテンプレートである場合には、主要なオブジェクトがCD−ROMのテンプレートの穴に重なっているか否かを判断してもよい。境界判断部60は、画像における主要なオブジェクトがページの折り目の位置に重なっているか否かを示す情報、およびページにレイアウトされた画像等を主要オブジェクト移動部70に供給する。   The boundary determination unit 60 determines whether the main object in the image laid out on the crease page by the image layout unit 30 overlaps the position of the fold of the page received from the boundary position storage unit 50. When the image layout unit 30 lays out the image on the cover of the album, the boundary determination unit 60 determines whether or not a main object in the image overlaps the position of the fold of the cover. The boundary determination unit 60 may determine whether or not main objects in the image laid out on the cover by the image layout unit 30 overlap the position of the title frame received from the title frame position information storage unit. For example, when the image layout unit 30 lays out the image on the back cover, the boundary determination unit 60 determines whether or not main objects included in the image overlap the position of the title frame arranged on the back cover. You can judge. Note that, when the template is a template such as a CD-ROM or DVD, the boundary determination unit 60 may determine whether or not a main object overlaps a hole in the template of the CD-ROM. The boundary determination unit 60 supplies the main object moving unit 70 with information indicating whether or not the main object in the image overlaps the position of the fold of the page, and the image laid out on the page.

また、境界判断部60は、主要オブジェクト決定部44から受け取った、画像レイアウト部30においてページにレイアウトされた画像における主要なオブジェクトが、境界位置格納部50から受け取ったページ境界線の位置と重なっているか否かを判断してもよい。例えば、境界判断部60は、ページの座標軸と撮像画像の座標軸とを一致させる。そして、境界判断部60は、ページ境界線に対応づけられた座標と画像に含まれる主要なオブジェクトが占める範囲に対応づけられた座標とを比較する。そして、境界判断部60は、主要なオブジェクトが占める範囲がページ境界線と重なる場合には、画像レイアウト部30においてレイアウトされた画像と共に、主要なオブジェクトがページ境界線と重なる旨を示す情報を、主要オブジェクト移動部70へ供給する。一方、主要なオブジェクトが占める範囲が、ページ境界線と重ならない場合には、境界判断部60は、画像レイアウト部30においてアルバムのページにレイアウトされた画像を、印刷部80、および表示部84へ供給する。   Further, the boundary determination unit 60 overlaps the position of the page boundary line received from the boundary position storage unit 50 with the main object in the image laid out on the page in the image layout unit 30 received from the main object determination unit 44. It may be determined whether or not. For example, the boundary determination unit 60 matches the coordinate axis of the page with the coordinate axis of the captured image. The boundary determination unit 60 compares the coordinates associated with the page boundary line with the coordinates associated with the range occupied by the main object included in the image. When the range occupied by the main object overlaps the page boundary line, the boundary determination unit 60 includes information indicating that the main object overlaps the page boundary line together with the image laid out by the image layout unit 30. This is supplied to the main object moving unit 70. On the other hand, when the range occupied by the main object does not overlap the page boundary line, the boundary determination unit 60 transfers the image laid out on the album page in the image layout unit 30 to the printing unit 80 and the display unit 84. Supply.

主要オブジェクト移動部70は、境界判断部60においてページの折り目に主要なオブジェクトが重なっていると判断された場合に、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる。また、画像レイアウト部30が画像をアルバムの表紙にレイアウトしたときに、表紙の折り目の位置に主要なオブジェクトが重なると境界判断部60において判断された場合には、主要オブジェクト移動部70は、主要なオブジェクトが表紙の折り目の位置と重ならないように、表紙に対する主要なオブジェクトの位置を移動させる。また、主要オブジェクト移動部70は、境界判断部60がタイトル枠の位置と主要なオブジェクトとが重なっていると判断した場合に、主要なオブジェクトがタイトル枠の位置に重ならないように、表紙に対する主要なオブジェクトの位置を移動させてもよい。例えば、画像レイアウト部30が画像をアルバムの背表紙にレイアウトしたときに、画像に含まれる主要なオブジェクトの位置が背表紙のタイトル枠の位置に重なると境界判断部60において判断された場合に、主要オブジェクト移動部70は、背表紙のタイトル枠に対する主要なオブジェクトの位置を移動させてよい。なお、主要オブジェクト移動部70が主要なオブジェクトを移動させる方向はタイトル枠から離れる方向であればよく、例えば、タイトル枠の位置を基準として上下左右のいずれの方向であってもよい。   The main object moving unit 70, when the boundary determining unit 60 determines that the main object overlaps the page fold, the main object moving unit 70 prevents the main object from overlapping the page fold. Move position. Further, when the image layout unit 30 lays out the image on the cover of the album and the boundary determining unit 60 determines that the main object overlaps the position of the cover fold, the main object moving unit 70 The position of the main object with respect to the cover is moved so that the correct object does not overlap the position of the fold of the cover. Further, the main object moving unit 70, when the boundary determining unit 60 determines that the position of the title frame and the main object overlap, the main object moving unit 70 prevents the main object from overlapping the title frame position. The position of the object may be moved. For example, when the image layout unit 30 lays out the image on the back cover of the album, when the boundary determination unit 60 determines that the position of the main object included in the image overlaps the position of the title frame of the back cover, The main object moving unit 70 may move the position of the main object with respect to the title frame of the back cover. The direction in which the main object moving unit 70 moves the main object may be a direction away from the title frame. For example, the main object moving unit 70 may be any of the upper, lower, left, and right directions with respect to the position of the title frame.

また、主要オブジェクト移動部70は、境界判断部60から見開きページのページ境界線と主要なオブジェクトとが重なっている旨の情報を受け取った場合に、主要なオブジェクトとページ境界線とが重ならないように、見開きページに対する主要なオブジェクトの位置を移動させる。例えば、主要オブジェクト移動部70は、主要なオブジェクトが含まれる画像を、見開きページに対してページ境界線から主要なオブジェクトが離れる方向に移動させることによって、主要なオブジェクトとページ境界線との重なりを回避できる。また、主要オブジェクト移動部70は、境界判断部60からページ境界線に主要なオブジェクトが重なっている旨の情報を受け取った場合に、見開きページにおける画像の位置を移動させずに、画像に含まれる主要なオブジェクトの位置を見開きページに対して移動させて、主要なオブジェクトとページ境界線とが重ならないようにしてもよい。   In addition, when the main object moving unit 70 receives information indicating that the page boundary line of the spread page and the main object overlap from the boundary determination unit 60, the main object and the page boundary line do not overlap. Next, the position of the main object with respect to the spread page is moved. For example, the main object moving unit 70 moves the image including the main object in a direction in which the main object moves away from the page boundary with respect to the spread page, thereby overlapping the main object and the page boundary. Can be avoided. When the main object moving unit 70 receives information from the boundary determining unit 60 that the main object overlaps the page boundary line, the main object moving unit 70 is included in the image without moving the position of the image on the spread page. The position of the main object may be spread and moved relative to the page so that the main object does not overlap the page boundary.

更に、主要オブジェクト移動部70は、画像に含まれる主要なオブジェクトが占める部分領域をトリミングする。そして、主要オブジェクト移動部70は、トリミング前の撮像画像がはめ込まれていたレイアウト枠に適合する大きさに、当該トリミングされた部分領域を拡大する。そして、主要オブジェクト移動部70は、見開きページのレイアウト枠に、当該拡大された部分領域をはめ込んでもよい。また、主要オブジェクト決定部44において、主要なオブジェクトが人物であると判断され、境界判断部60において、当該人物の顔がページ境界線に重なっていると判断された場合には、主要オブジェクト移動部70は、人物の顔がページ境界線に重ならないように、見開きページに対する人物の位置を移動させてもよい。主要オブジェクト移動部70は、主要なオブジェクトの位置を移動させた後のページを、印刷部80、および表示部84へ供給する。   Further, the main object moving unit 70 trims the partial area occupied by the main object included in the image. Then, the main object moving unit 70 enlarges the trimmed partial area to a size that fits the layout frame in which the captured image before trimming was fitted. Then, the main object moving unit 70 may insert the enlarged partial area into the layout frame of the spread page. When the main object determining unit 44 determines that the main object is a person and the boundary determining unit 60 determines that the face of the person overlaps the page boundary line, the main object moving unit 70 may move the position of the person relative to the facing page so that the face of the person does not overlap the page boundary. The main object moving unit 70 supplies the page after moving the position of the main object to the printing unit 80 and the display unit 84.

なお、主要オブジェクト移動部70は、テンプレートがCD−ROM、DVD等のテンプレートである場合には、画像に含まれる主要なオブジェクトがCD−ROM、DVD等の穴に重ならないように、主要なオブジェクトの位置を移動させてもよい。具体的には、主要オブジェクト移動部70は、境界判断部60においてCD−ROMのテンプレートの穴の位置に主要なオブジェクトが重なっていると判断された場合に、主要なオブジェクトが当該穴に重ならないように、当該穴に対する主要なオブジェクトの位置を移動させてもよい。   When the template is a template such as a CD-ROM or DVD, the main object moving unit 70 prevents the main object included in the image from overlapping the hole of the CD-ROM or DVD. The position of may be moved. Specifically, the main object moving unit 70 does not overlap the hole when the boundary determining unit 60 determines that the main object overlaps the position of the hole in the template of the CD-ROM. As described above, the position of the main object with respect to the hole may be moved.

印刷部80は、主要オブジェクト移動部70、および境界判断部60から受け取ったページを印刷してアルバムを作成する。また、印刷部80は、CD−ROM、DVD等の表面にページを印刷してもよい。さらに、モニタ等の表示装置を備える表示部84に、ページを電子アルバムとして表示してもよい。   The printing unit 80 prints the pages received from the main object moving unit 70 and the boundary determination unit 60 to create an album. The printing unit 80 may print a page on the surface of a CD-ROM, DVD, or the like. Further, the page may be displayed as an electronic album on the display unit 84 including a display device such as a monitor.

本実施形態に係るアルバム作成装置100によれば、撮像された画像に含まれる人物等の主要なオブジェクトが、アルバムの折り目ページにおけるページの折り目に重なることを自動的に防止できる。これにより、観賞者は、観賞者にとって関心の高い主要なオブジェクトに折り目が重なっていない状態のアルバムを観賞でき、観賞者の満足度を高めることができる。   According to the album creating apparatus 100 according to the present embodiment, it is possible to automatically prevent a main object such as a person included in a captured image from overlapping a page fold in the fold page of the album. Thereby, the viewer can appreciate the album in which the crease is not overlapped with the main object which is highly interested for the viewer, and the satisfaction of the viewer can be increased.

更に、本実施形態に係るアルバム作成装置100によれば、主要なオブジェクトとページ境界線とが重なっていない場合には、画像レイアウト部30がレイアウトしたアルバムを作成できる。これにより、画像のレイアウトについて自由度を確保できるので、鑑賞者が観賞していて飽きることのないアルバムを作成できる。   Furthermore, according to the album creating apparatus 100 according to the present embodiment, an album laid out by the image layout unit 30 can be created when the main object and the page boundary line do not overlap. As a result, it is possible to secure a degree of freedom with respect to the layout of the image, so that it is possible to create an album that the viewer can watch and never get tired of.

図3は、本実施形態に係る主要オブジェクト移動部70における画像の移動方法の一例を示す。主要オブジェクト移動部70は、境界判断部60においてページ境界線に主要なオブジェクトが重なっていると判断された画像を、見開きページに対して移動させる。また、主要オブジェクト移動部70は、見開きページにおいて予め定められているレイアウト枠の位置を、主要なオブジェクトがページ境界線と重ならない位置に移動させて、主要なオブジェクトを含む画像をはめ込んでもよい。更に、主要オブジェクト移動部70は、主要なオブジェクトがページ境界線と重ならないレイアウトを有するページを改めて選択して、主要なオブジェクトを含む画像をレイアウト枠にはめ込んでもよい。   FIG. 3 shows an example of an image moving method in the main object moving unit 70 according to the present embodiment. The main object moving unit 70 moves the image determined by the boundary determining unit 60 that the main object overlaps the page boundary line with respect to the spread page. In addition, the main object moving unit 70 may move the position of the layout frame predetermined on the spread page to a position where the main object does not overlap the page boundary line, and may fit an image including the main object. Furthermore, the main object moving unit 70 may select a page having a layout in which the main object does not overlap the page boundary line, and fit an image including the main object in the layout frame.

例えば、見開きページ300に対して画像310に含まれる主要なオブジェクトがページ境界線304と重なっていた場合には、主要オブジェクト移動部70は、画像310の見開きページ300に対する位置を移動させる。そして、主要オブジェクト移動部70は、見開きページ302のように画像312を移動させることにより、画像312に含まれる主要なオブジェクトがページ境界線306と重なることを回避する。   For example, when a main object included in the image 310 overlaps the page boundary line 304 with respect to the spread page 300, the main object moving unit 70 moves the position of the image 310 with respect to the spread page 300. Then, the main object moving unit 70 moves the image 312 like the spread page 302, thereby avoiding the main object included in the image 312 from overlapping the page boundary line 306.

本実施形態に係るアルバム作成装置100によれば、撮像画像に含まれる主要なオブジェクトが、アルバムのページ境界線に重なっている場合に、当該画像の位置を自動的に移動させることができる。これにより、画像に含まれる主要なオブジェクトがアルバムの折り目に重なることを回避できるので、主要なオブジェクトの見栄えを損なうことを避けることができる。   According to the album creating apparatus 100 according to the present embodiment, when the main object included in the captured image overlaps the page boundary line of the album, the position of the image can be automatically moved. Thereby, since it is possible to avoid the main object included in the image from overlapping the fold of the album, it is possible to avoid impairing the appearance of the main object.

図4は、本実施形態に係る主要オブジェクト移動部70における画像の移動方法の一例を示す。主要オブジェクト移動部70は、境界判断部60においてページ境界線に主要なオブジェクトが重なっていると判断された画像に対して、境界判断部60においてページ境界線に重なっていると判断された主要なオブジェクトを移動させる。そして、主要オブジェクト移動部70は、主要なオブジェクトがページ境界線に重ならないように、見開きページに対する主要なオブジェクトの位置を移動させる。   FIG. 4 shows an example of an image moving method in the main object moving unit 70 according to the present embodiment. The main object moving unit 70 detects the main image that has been determined by the boundary determining unit 60 as being overlapped by the page boundary line, for the image that is determined by the boundary determining unit 60 to be overlapped by the page boundary line. Move the object. The main object moving unit 70 moves the position of the main object with respect to the spread page so that the main object does not overlap the page boundary line.

例えば、見開きページ400において、画像410に含まれる主要なオブジェクトである主要オブジェクト414がページ境界線404の一部と重なっていた場合を考える。係る場合において、主要オブジェクト移動部70は、画像410を予め定められた範囲に分割して部分領域を設定する。そして、主要オブジェクト移動部70は、設定された各部分領域について空間周波数を算出する。続いて、主要オブジェクト移動部70は、空間周波数の高周波成分のレベルが小さい部分領域を選択する。そして、主要オブジェクト移動部70は、選択された部分領域を所定の方向に引き伸ばす。主要オブジェクト移動部70が部分領域を引き伸ばす方向は、例えば、部分領域の長手方向、短手方向等であってよい。また、主要オブジェクト移動部70が部分領域を引き伸ばす量は、主要オブジェクト414をページ境界線404と重ならない位置にトリミングした場合に、トリミング前の主要オブジェクト414が存在していた領域をカバーすることのできる量であってよい。なお、部分領域を引き伸ばす場合には、引き伸ばした方向の画素間に対して最近傍法、線形補間法等を用いて、補間処理を施してもよい。   For example, consider a case where the main object 414, which is a main object included in the image 410, overlaps a part of the page boundary line 404 in the spread page 400. In such a case, the main object moving unit 70 sets the partial region by dividing the image 410 into a predetermined range. Then, the main object moving unit 70 calculates a spatial frequency for each set partial region. Subsequently, the main object moving unit 70 selects a partial region where the level of the high frequency component of the spatial frequency is small. Then, the main object moving unit 70 extends the selected partial area in a predetermined direction. The direction in which the main object moving unit 70 extends the partial area may be, for example, the longitudinal direction or the short direction of the partial area. In addition, the amount by which the main object moving unit 70 extends the partial area covers the area where the main object 414 before trimming existed when the main object 414 is trimmed to a position that does not overlap the page boundary 404. It can be as much as possible. When the partial region is stretched, interpolation processing may be performed on the pixels in the stretched direction using a nearest neighbor method, a linear interpolation method, or the like.

そして、主要オブジェクト移動部70は、主要オブジェクト414をトリミングして、見開きページ400のページ境界線404に重ならない位置に移動させる。続いて、主要オブジェクト移動部70は、引き伸ばした部分領域を、トリミング前の主要オブジェクト414が存在していた領域に重ね合わせる。これにより、主要オブジェクト414を移動させた後の見開きページ402において、画像412に含まれる主要オブジェクト416がページ境界線406と重なることを回避できる。   Then, the main object moving unit 70 trims the main object 414 and moves it to a position that does not overlap the page boundary line 404 of the spread page 400. Subsequently, the main object moving unit 70 superimposes the stretched partial area on the area where the main object 414 before trimming was present. Thereby, it is possible to avoid the main object 416 included in the image 412 from overlapping the page boundary line 406 in the spread page 402 after the main object 414 is moved.

図5は、主要オブジェクト移動部70における画像の移動方法の一例を示す。主要オブジェクト移動部70は、画像の主要なオブジェクトが含まれる部分領域をトリミングする。そして、主要オブジェクト移動部70は、トリミングされた部分領域を拡大して、見開きページのレイアウト枠に当該部分領域をはめ込んでもよい。なお、主要オブジェクト移動部70がトリミングする領域は、トリミングされた部分領域をレイアウト枠に適合するように拡大した場合に、ページ境界線に主要なオブジェクトが重ならない位置となるように決定してよい。   FIG. 5 shows an example of an image moving method in the main object moving unit 70. The main object moving unit 70 trims a partial area including the main object of the image. Then, the main object moving unit 70 may enlarge the trimmed partial area and fit the partial area into the layout frame of the spread page. The area to be trimmed by the main object moving unit 70 may be determined so that the main object does not overlap the page boundary line when the trimmed partial area is enlarged to fit the layout frame. .

例えば、見開きページ500において、画像510に含まれる主要なオブジェクトである人物がページ境界線504と重なっていた場合には、主要オブジェクト移動部70は、主要なオブジェクトである人物が含まれる部分領域512をトリミングする。続いて、主要オブジェクト移動部70は、トリミングされた部分領域512を、見開きページ502に予め設定されている、画像をはめ込むレイアウト枠に適合する大きさに拡大する。そして、主要オブジェクト移動部70は、拡大された主要なオブジェクトである人物が含まれる部分領域を、見開きページ502のレイアウト枠にはめ込む。そして、主要オブジェクト移動部70は、画像514がはめ込まれた見開きページ502を作成する。   For example, when the person who is the main object included in the image 510 overlaps the page boundary line 504 in the spread page 500, the main object moving unit 70 includes the partial area 512 including the person who is the main object. To trim. Subsequently, the main object moving unit 70 enlarges the trimmed partial region 512 to a size that is set in advance on the spread page 502 and fits a layout frame in which an image is inserted. Then, the main object moving unit 70 inserts the partial area including the person who is the enlarged main object into the layout frame of the spread page 502. Then, the main object moving unit 70 creates a spread page 502 in which the image 514 is inserted.

本実施形態に係るアルバム作成装置100によれば、撮像画像に含まれる主要なオブジェクトが、アルバムの折り目に重なっている場合に、ページに対して主要なオブジェクトを自動的に移動させることができる。これにより、主要なオブジェクトが折り目によって見にくくなることがなくなるので、観賞者の、主要なオブジェクトを観賞したいという欲求を十分に満たすことができる。   According to the album creating apparatus 100 according to the present embodiment, when the main object included in the captured image overlaps the fold of the album, the main object can be automatically moved with respect to the page. As a result, the main object does not become difficult to see due to the crease, so that the viewer's desire to view the main object can be fully satisfied.

図6は、本実施形態に係る主要オブジェクト移動部70における画像の移動方法の一例を示す。画像レイアウト部30が画像をアルバムの背表紙にレイアウトした場合を考える。係る場合においては、画像レイアウト部30は、アルバムの背表紙のテンプレート700に画像720をレイアウトする。すなわち、画像レイアウト部30は、テンプレート700に予め設定されているレイアウト枠に画像720をレイアウトする。ここで、アルバムの背表紙のテンプレート700には、アルバムの背表紙を作成するときにおける折り目702および折り目704が設定されている。さらに、背表紙のテンプレート700には、アルバムの題名等を付す領域であるタイトル枠710が設定されている。タイトル枠710には、アルバムのテーマに応じて所定の文字列情報が配置される。例えば、タイトル枠710には「運動会」等の文字列が配置されていてよい。   FIG. 6 shows an example of an image moving method in the main object moving unit 70 according to the present embodiment. Consider a case where the image layout unit 30 lays out an image on the back cover of an album. In such a case, the image layout unit 30 lays out the image 720 on the template 700 of the back cover of the album. That is, the image layout unit 30 lays out the image 720 in a layout frame preset in the template 700. Here, in the back cover template 700 of the album, a fold line 702 and a fold line 704 when creating the back cover of the album are set. Further, a title frame 710 that is an area to which the title of the album is attached is set in the back cover template 700. In the title frame 710, predetermined character string information is arranged according to the theme of the album. For example, a character string such as “Athletic meet” may be arranged in the title frame 710.

ここで、画像レイアウト部30が画像720をテンプレート700にレイアウトすると、境界判断部60は、タイトル枠位置情報格納部52が格納しているタイトル枠位置情報が示すタイトル枠の位置と、画像720における主要なオブジェクトの画像720における位置とから、画像に含まれる主要なオブジェクト730がタイトル枠710と重なっていると判断する。この状態でアルバムの表紙750を作成すると、画像における主要なオブジェクトがタイトル枠710と重なった状態のアルバムの表紙750が作成され、鑑賞者にとって好ましくない結果となる。従って、係る場合においては、主要オブジェクト移動部70は、画像720における主要なオブジェクト730の画像720に対する位置を移動させて、画像722を生成する。そして、主要オブジェクト移動部70が画像720に対する主要なオブジェクト730の位置を移動させることにより、テンプレート700の折り目702、折り目704、およびタイトル枠710のいずれにも重ならない画像722がテンプレート700に配置されることとなる。これにより、主要なオブジェクト730が含まれる画像722を、アルバムの表紙752に明瞭に表示することができる。   Here, when the image layout unit 30 lays out the image 720 on the template 700, the boundary determination unit 60 displays the title frame position indicated by the title frame position information stored in the title frame position information storage unit 52 and the image frame 720. From the position of the main object in the image 720, it is determined that the main object 730 included in the image overlaps the title frame 710. If the album cover 750 is created in this state, an album cover 750 in which the main object in the image overlaps the title frame 710 is created, which is undesirable for the viewer. Accordingly, in such a case, the main object moving unit 70 moves the position of the main object 730 in the image 720 relative to the image 720 to generate the image 722. Then, the main object moving unit 70 moves the position of the main object 730 with respect to the image 720, so that an image 722 that does not overlap any of the fold line 702, the fold line 704, and the title frame 710 of the template 700 is arranged in the template 700. The Rukoto. Thereby, the image 722 including the main object 730 can be clearly displayed on the cover 752 of the album.

図7は、本実施形態に係るアルバム作成装置100における処理の流れの一例を示す。まず、アルバム作成装置100は、撮像装置150から受け取った複数の撮像画像を、画像格納部10に格納する。続いて、複数の撮像画像は、画像格納部10から画像分類部20に供給される。そして、画像分類部20において、撮像位置、撮像時刻、および撮像画像に含まれる主要なオブジェクト等に基づいて、複数の撮像画像がアルバムのページごとに分類される(S1000)。そして、画像分類部20は分類された複数の画像を画像レイアウト部30へ供給する。続いて、画像レイアウト部30は、アルバムのページのテンプレートを選択する(S1010)。なお、ページのテンプレートは、アルバムの見開きページ、アルバムの表表紙、アルバムの背表紙、およびアルバムの裏表紙等のテンプレートであってよい。   FIG. 7 shows an example of the flow of processing in the album creating apparatus 100 according to the present embodiment. First, the album creating apparatus 100 stores a plurality of captured images received from the image capturing apparatus 150 in the image storage unit 10. Subsequently, the plurality of captured images are supplied from the image storage unit 10 to the image classification unit 20. Then, the image classification unit 20 classifies the plurality of captured images for each page of the album based on the imaging position, the imaging time, the main objects included in the captured image, and the like (S1000). Then, the image classification unit 20 supplies the plurality of classified images to the image layout unit 30. Subsequently, the image layout unit 30 selects an album page template (S1010). The page template may be a template such as an album spread page, an album cover, an album spine, and an album back cover.

そして、画像レイアウト部30は、画像分類部20から受け取った複数の画像を、テンプレートのレイアウト枠にレイアウトする(S1020)。画像レイアウト部30は、複数の画像をテンプレートのレイアウト枠にレイアウトしてよい。続いて、画像レイアウト部30は、アルバムのページにレイアウトされた画像をオブジェクト抽出部40へ供給する。オブジェクト抽出部40は、アルバムのページにレイアウトされた画像に含まれるオブジェクトを抽出する(S1030)。そして、オブジェクト抽出部40において抽出されたオブジェクトは、オブジェクト種類特定部42へ供給される。オブジェクト種類特定部42は、オブジェクト抽出部40から受け取ったオブジェクトの種類を特定する(S1040)。オブジェクト種類特定部42において特定されたオブジェクトの種類は、主要オブジェクト決定部44へ供給される。   Then, the image layout unit 30 lays out a plurality of images received from the image classification unit 20 in a template layout frame (S1020). The image layout unit 30 may lay out a plurality of images in a template layout frame. Subsequently, the image layout unit 30 supplies the image laid out on the album page to the object extraction unit 40. The object extraction unit 40 extracts objects included in the images laid out on the album page (S1030). Then, the object extracted by the object extraction unit 40 is supplied to the object type identification unit 42. The object type identification unit 42 identifies the type of the object received from the object extraction unit 40 (S1040). The type of the object specified by the object type specifying unit 42 is supplied to the main object determining unit 44.

そして、主要オブジェクト決定部44は、オブジェクト種類特定部42から受け取ったオブジェクトが人物である場合には、当該オブジェクトを主要なオブジェクトと決定する(S1050)。また、主要オブジェクト決定部44は、画像の中における主要なオブジェクトの位置情報を算出する。そして、主要オブジェクト決定部44は、アルバムのページにレイアウトされた画像、および主要なオブジェクトの画像における位置情報を境界判断部60へ供給する。境界判断部60は、アルバムのページの折り目と、主要オブジェクト決定部44から受け取った主要なオブジェクトとが重なっているか否かを判断する(S1060)。   If the object received from the object type identification unit 42 is a person, the main object determination unit 44 determines the object as a main object (S1050). Further, the main object determination unit 44 calculates position information of main objects in the image. Then, the main object determination unit 44 supplies the image laid out on the album page and the position information on the main object image to the boundary determination unit 60. The boundary determination unit 60 determines whether or not the fold of the album page overlaps the main object received from the main object determination unit 44 (S1060).

主要なオブジェクトがページの折り目と重なっていた場合には(S1060:Yes)、境界判断部60はその旨を示す情報、およびアルバムのページにレイアウトされた画像を主要オブジェクト移動部70へ供給する。そして、主要オブジェクト移動部70は、主要なオブジェクトがページの折り目と重ならない位置に、ページに対して主要なオブジェクトの位置を移動させる(S1070)。一方、主要なオブジェクトがページの折り目と重なっていない場合には(S1060:No)、境界判断部60は、アルバムのページにレイアウトされた画像を印刷部80へ供給する。また、境界判断部60は、アルバムのページにレイアウトされた画像を表示部84へ供給してもよい。   If the main object overlaps the crease of the page (S1060: Yes), the boundary determination unit 60 supplies information indicating that and an image laid out on the album page to the main object moving unit 70. Then, the main object moving unit 70 moves the position of the main object with respect to the page to a position where the main object does not overlap the crease of the page (S1070). On the other hand, when the main object does not overlap the crease of the page (S1060: No), the boundary determination unit 60 supplies the image laid out on the album page to the printing unit 80. The boundary determination unit 60 may supply an image laid out on the album page to the display unit 84.

そして、印刷部80は、境界判断部60、および主要オブジェクト移動部70から受け取ったアルバムのページにレイアウトされた画像を印刷して、アルバムを作成する(S1080)。これにより、アルバム作成装置100は、画像に含まれる主要なオブジェクトがページの折り目に重なっているか否かを自動的に判断して、主要なオブジェクトがページの折り目に重なることを避けることができる。   The printing unit 80 then prints the images laid out on the album page received from the boundary determination unit 60 and the main object moving unit 70 to create an album (S1080). Thereby, the album creating apparatus 100 can automatically determine whether or not the main object included in the image overlaps the fold of the page, and can prevent the main object from overlapping the fold of the page.

図8は、本発明の第2の実施形態に係るアルバム作成装置102の機能構成の一例を示す。アルバム作成装置102は、画像格納部10、画像分類部20、画像レイアウト部30、オブジェクト抽出部40、オブジェクト種類特定部42、主要オブジェクト決定部44、テンプレート画像位置格納部54、重なり判断部62、主要オブジェクト移動部70、印刷部80、および表示部84を備える。なお、本実施形態に係るアルバム作成装置102が備える部材のうち、図1から図7の上記説明において説明した部材と同一の符号を付した部材は、図1から図7の上記説明における部材と略同一の機能を有するので、詳細な説明は省略する。また、本実施形態に係るアルバム作成装置102は、図1から図7の上記説明で説明したアルバム作成装置100の機能および構成の一部、または全部をさらに備えていてもよい。   FIG. 8 shows an example of a functional configuration of the album creating apparatus 102 according to the second embodiment of the present invention. The album creating apparatus 102 includes an image storage unit 10, an image classification unit 20, an image layout unit 30, an object extraction unit 40, an object type identification unit 42, a main object determination unit 44, a template image position storage unit 54, an overlap determination unit 62, A main object moving unit 70, a printing unit 80, and a display unit 84 are provided. Of the members included in the album creating apparatus 102 according to the present embodiment, members denoted by the same reference numerals as those described in the above description of FIGS. 1 to 7 are members in the above description of FIGS. Since it has substantially the same function, detailed description is omitted. Further, the album creating apparatus 102 according to the present embodiment may further include some or all of the functions and configurations of the album creating apparatus 100 described in the above description of FIGS.

まず、画像レイアウト部30は、画像格納部10から受け取った複数の画像を、予め生成されたアルバムのテンプレートにレイアウトする。ここで、アルバムのテンプレートには、アルバムのページごとのテンプレートであるページテンプレート、およびアルバムの表紙のテンプレートが含まれていてよい。そして、ページテンプレートおよび表紙のテンプレートには、画像がレイアウトされるレイアウト枠、およびテンプレートに対して予め定められた位置に配置されるテンプレート画像が配置されていてよい。なお、テンプレート画像とは、アルバムのテンプレートに配置されるデザインアイコン、切り抜きオブジェクト配置枠、および文字列が配置されるテキスト枠等であってよい。具体的には、テンプレート画像は、アルバムのテンプレートの所定の位置に配置されて、当該アルバムを観賞したユーザに所定の視覚的効果を与える、予め定められた画像であってよい。例えば、テンプレート画像は、リボン、吹き出し、星、およびその他の幾何学形状を有する画像であってよい。   First, the image layout unit 30 lays out a plurality of images received from the image storage unit 10 into a previously generated album template. Here, the album template may include a page template, which is a template for each page of the album, and an album cover template. The page template and the cover template may include a layout frame in which images are laid out and a template image that is arranged at a predetermined position with respect to the template. The template image may be a design icon arranged in the album template, a cutout object arrangement frame, a text frame in which a character string is arranged, or the like. Specifically, the template image may be a predetermined image that is arranged at a predetermined position of an album template and gives a predetermined visual effect to a user who has viewed the album. For example, the template image may be an image having ribbons, speech bubbles, stars, and other geometric shapes.

また、切り抜きオブジェクト配置枠は、画像から抽出したオブジェクトの画像を配置する枠であってよい。例えば、主要オブジェクト決定部44は、画像格納部10が格納している画像から、主要なオブジェクトとして決定したオブジェクトを除くオブジェクトを画像から切り抜いて、切り抜き画像を生成してよい。そして、主要オブジェクト決定部44が生成した切り抜き画像は、画像レイアウト部30においてテンプレートの切り抜きオブジェクト配置枠にレイアウトされてよい。また、テキスト枠は、アルバムのテンプレートのテーマに適した文字列情報が配置される枠であってよい。すなわち、テキスト枠は、タイトル枠の一例であってよい。画像レイアウト部30は、画像をレイアウトした後のアルバムのテンプレートを、オブジェクト抽出部40に供給する。また、画像レイアウト部30は、画像をレイアウトした後のアルバムのテンプレートを、重なり判断部62に供給してもよい。   The clipped object arrangement frame may be a frame in which an object image extracted from an image is arranged. For example, the main object determination unit 44 may generate a cut-out image by cutting out objects other than the object determined as the main object from the image stored in the image storage unit 10. Then, the clipped image generated by the main object determination unit 44 may be laid out in the cutout object placement frame of the template in the image layout unit 30. The text frame may be a frame in which character string information suitable for the theme of the album template is arranged. That is, the text frame may be an example of a title frame. The image layout unit 30 supplies the album template after the image layout to the object extraction unit 40. In addition, the image layout unit 30 may supply the overlap determination unit 62 with the template of the album after the image is laid out.

テンプレート画像位置格納部54は、アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納する。テンプレート画像位置格納部54は、アルバムのテンプレートに座標軸を設定して、テンプレート画像のテンプレートにおける位置を、座標データとして格納してよい。アルバムのテンプレートに複数のテンプレート画像が配置されている場合には、テンプレート画像位置格納部54は、複数のテンプレート画像のそれぞれに対応づけて、各テンプレート画像のアルバムのテンプレートにおける位置を格納する。テンプレート画像位置格納部54は、重なり判断部62の制御に基づいて、テンプレート画像のテンプレートにおける位置を示す情報を重なり判断部62に供給する。   The template image position storage unit 54 stores the position of the template image arranged in the album template in the album template. The template image position storage unit 54 may set a coordinate axis for an album template and store the position of the template image in the template as coordinate data. When a plurality of template images are arranged in the album template, the template image position storage unit 54 stores the position of each template image in the album template in association with each of the plurality of template images. The template image position storage unit 54 supplies information indicating the position of the template image in the template to the overlap determination unit 62 based on the control of the overlap determination unit 62.

重なり判断部62は、画像レイアウト部30においてアルバムのテンプレートにレイアウトされた画像における主要なオブジェクトが、テンプレート画像位置格納部54が格納しているテンプレート画像の位置に重なっているか否かを判断する。具体的には、重なり判断部62は、アルバムのテンプレートに配置されているテンプレート画像の位置と、レイアウト枠に配置された画像における主要なオブジェクトの位置とを比較する。ここで、画像における主要なオブジェクトの位置は以下のように算出してよい。すなわち、まず、オブジェクト抽出部40は、画像からオブジェクトを抽出するときに、抽出するオブジェクトの画像における位置を算出する。続いて、オブジェクト種類特定部42において、オブジェクト抽出部40が抽出したオブジェクトの種類が特定される。   The overlap determination unit 62 determines whether or not the main object in the image laid out in the album template in the image layout unit 30 overlaps the position of the template image stored in the template image position storage unit 54. Specifically, the overlap determination unit 62 compares the position of the template image arranged in the album template with the position of the main object in the image arranged in the layout frame. Here, the position of the main object in the image may be calculated as follows. That is, first, the object extraction unit 40 calculates the position of the object to be extracted in the image when extracting the object from the image. Subsequently, the object type specifying unit 42 specifies the type of the object extracted by the object extracting unit 40.

そして、主要オブジェクト決定部44がオブジェクト種類特定部42の特定結果に基づいて主要なオブジェクトを決定したときに、主要オブジェクト決定部44は、オブジェクト抽出部40が算出した当該オブジェクトの画像における位置を、主要なオブジェクトの画像における位置としてよい。主要オブジェクト決定部44は、テンプレートのレイアウト枠にレイアウトされた画像における主要なオブジェクトの位置を、重なり判断部62に供給する。重なり判断部62は、テンプレート画像位置格納部54から取得したテンプレート画像の位置と、主要オブジェクト決定部44から受け取った主要なオブジェクトの位置とを比較する。そして、重なり判断部62は、主要なオブジェクトの画像における位置がテンプレート画像の位置に重なっているか否かを判断する。重なり判断部62は判断結果を、主要オブジェクト移動部70に供給する。   When the main object determination unit 44 determines a main object based on the identification result of the object type identification unit 42, the main object determination unit 44 determines the position of the object in the image calculated by the object extraction unit 40. It may be the position in the image of the main object. The main object determination unit 44 supplies the overlap determination unit 62 with the position of the main object in the image laid out in the template layout frame. The overlap determination unit 62 compares the position of the template image acquired from the template image position storage unit 54 with the position of the main object received from the main object determination unit 44. Then, the overlap determination unit 62 determines whether or not the position of the main object in the image overlaps the position of the template image. The overlap determination unit 62 supplies the determination result to the main object moving unit 70.

主要オブジェクト移動部70は、重なり判断部62がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる。例えば、主要オブジェクト移動部70は、主要なオブジェクトがテンプレート画像に重ならないように、テンプレート画像に対する主要なオブジェクトの位置を移動させる。すなわち、主要オブジェクト移動部70は、テンプレート画像に対して主要なオブジェクトが含まれる画像をテンプレート画像から離れる方向に移動させることによって、主要なオブジェクトがテンプレート画像に重ならないようにしてよい。   When the overlap determination unit 62 determines that the main object overlaps the position of the template image, the main object moving unit 70 sets the main object for the album page so that the main object does not overlap the template image. Move position. For example, the main object moving unit 70 moves the position of the main object with respect to the template image so that the main object does not overlap the template image. That is, the main object moving unit 70 may prevent the main object from overlapping the template image by moving an image including the main object in the direction away from the template image.

また、主要オブジェクト移動部70は、重なり判断部62がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した画像に対して、重なり判断部62がテンプレート画像の位置に重なっていると判断した主要なオブジェクトを移動させてもよい。例えば、主要オブジェクト移動部70は、画像に含まれる主要なオブジェクトをトリミングすることによって、テンプレート画像に対して主要なオブジェクトを移動させてもよい。これにより、主要オブジェクト移動部70は、テンプレートに対する画像の位置を移動させずに、画像に含まれる主要なオブジェクトの位置を移動させることによって、テンプレート画像と主要なオブジェクトとが重なることを防止できる。   The main object moving unit 70 determines that the overlap determining unit 62 overlaps the position of the template image with respect to the image that the overlap determining unit 62 determines that the main object overlaps the position of the template image. The main object may be moved. For example, the main object moving unit 70 may move the main object with respect to the template image by trimming the main object included in the image. Accordingly, the main object moving unit 70 can prevent the template image and the main object from overlapping each other by moving the position of the main object included in the image without moving the position of the image with respect to the template.

本実施形態に係るアルバム作成装置102によれば、アルバムのテンプレートのレイアウト枠に画像をレイアウトしたときに、テンプレートに配置されているテンプレート画像と画像に含まれる主要なオブジェクトとが重なる場合に、テンプレート画像と主要なオブジェクトとが重ならない位置に主要なオブジェクトを自動的に移動できる。これにより、画像における主要なオブジェクトがテンプレート画像と重なることにより、主要なオブジェクトを観賞することができなくなることを防止できる。   According to the album creating apparatus 102 according to the present embodiment, when an image is laid out in the layout frame of the album template, the template image arranged in the template and the main object included in the image overlap each other. The main object can be automatically moved to a position where the image and the main object do not overlap. Accordingly, it is possible to prevent the main object from being unable to be viewed because the main object in the image overlaps the template image.

図9は、本実施形態に係る主要オブジェクト移動部70における画像の移動方法の一例を示す。画像レイアウト部30がページテンプレート800に画像810をレイアウトした場合に、画像810に含まれる主要なオブジェクト840がテンプレート画像830と重なる場合を考える。まず、重なり判断部62は、主要オブジェクト決定部44から、ページテンプレート800にレイアウトされた画像810に含まれる主要なオブジェクト840の画像810における位置を受け取る。また、重なり判断部62は、ページテンプレート800に配置されているテンプレート画像830のページテンプレート800における位置を、テンプレート画像位置格納部54から取得する。そして、重なり判断部62は、主要なオブジェクト840の位置とテンプレート画像830の位置とを比較して、主要なオブジェクト840とテンプレート画像830とが重なっていると判断する。   FIG. 9 shows an example of an image moving method in the main object moving unit 70 according to the present embodiment. Consider a case where the main object 840 included in the image 810 overlaps the template image 830 when the image layout unit 30 lays out the image 810 on the page template 800. First, the overlap determination unit 62 receives the position of the main object 840 included in the image 810 laid out on the page template 800 from the main object determination unit 44. Further, the overlap determination unit 62 acquires the position of the template image 830 arranged in the page template 800 in the page template 800 from the template image position storage unit 54. Then, the overlap determination unit 62 compares the position of the main object 840 with the position of the template image 830 and determines that the main object 840 and the template image 830 overlap.

主要オブジェクト移動部70は、重なり判断部62における結果に応じて、画像810に含まれる主要なオブジェクト840の位置を、テンプレート画像830と重ならない位置に移動させる。例えば、主要オブジェクト移動部70は、画像810のページテンプレート800における位置を移動させることによって、主要なオブジェクト840とテンプレート画像830とが重ならないようにしてよい。また、主要オブジェクト移動部70は、主要なオブジェクト840とテンプレート画像830とが重ならない位置に主要なオブジェクト840をトリミングした画像812を生成して、ページテンプレート800に画像812をレイアウトしてもよい。なお、主要オブジェクト移動部70は、図1から図7の上記説明で説明した主要オブジェクト移動部70と同様の方法で、主要なオブジェクト840をテンプレート画像830に対して移動させてよい。   The main object moving unit 70 moves the position of the main object 840 included in the image 810 to a position that does not overlap the template image 830 according to the result of the overlap determination unit 62. For example, the main object moving unit 70 may prevent the main object 840 and the template image 830 from overlapping by moving the position of the image 810 in the page template 800. The main object moving unit 70 may generate an image 812 obtained by trimming the main object 840 at a position where the main object 840 and the template image 830 do not overlap with each other, and lay out the image 812 on the page template 800. The main object moving unit 70 may move the main object 840 with respect to the template image 830 in the same manner as the main object moving unit 70 described in the above description of FIGS.

図10は、本発明の第3の実施形態に係るアルバム作成装置104の機能構成の一例を示す。アルバム作成装置104は、画像格納部10、画像レイアウト部30、画像比較部64、主要オブジェクト領域判断部66、画像選択部75、印刷部80、表示部84、およびアルバムテンプレート格納部90を備える。また、アルバムテンプレート格納部90は、ページテンプレート格納部900、折り目位置格納部910、レイアウト枠位置格納部920、配置位置格納部930、およびテンプレート画像位置格納部940を有する。なお、本実施形態に係るアルバム作成装置104が備える部材のうち、図1から図9の上記説明において説明した部材と同一の符号を付した部材は、図1から図9の上記説明における部材と略同一の機能を有するので、詳細な説明は省略する。また、本実施形態に係るアルバム作成装置104は、図1から図7の上記説明で説明したアルバム作成装置100の機能および構成の一部、または全部をさらに備えてもよい。さらに、本実施形態に係るアルバム作成装置104は、図8および図9の上記説明で説明したアルバム作成装置102の機能および構成の一部、または全部をさらに備えてもよい。   FIG. 10 shows an example of a functional configuration of the album creating apparatus 104 according to the third embodiment of the present invention. The album creating apparatus 104 includes an image storage unit 10, an image layout unit 30, an image comparison unit 64, a main object area determination unit 66, an image selection unit 75, a printing unit 80, a display unit 84, and an album template storage unit 90. The album template storage unit 90 includes a page template storage unit 900, a fold position storage unit 910, a layout frame position storage unit 920, an arrangement position storage unit 930, and a template image position storage unit 940. Of the members included in the album creating apparatus 104 according to the present embodiment, members denoted by the same reference numerals as those described in the above description of FIGS. 1 to 9 are members in the above description of FIGS. Since it has substantially the same function, detailed description is omitted. The album creating apparatus 104 according to the present embodiment may further include some or all of the functions and configurations of the album creating apparatus 100 described in the above description of FIGS. Furthermore, the album creating apparatus 104 according to the present embodiment may further include some or all of the functions and configurations of the album creating apparatus 102 described in the above description of FIGS.

画像格納部10は、複数の画像を格納している。画像格納部10は、主要オブジェクト領域判断部66および画像選択部75の制御に基づいて、画像を主要オブジェクト領域判断部66および画像選択部75に供給する。主要オブジェクト領域判断部66は、画像における、当該画像の主要なオブジェクトの領域を判断する。具体的には、まず、主要オブジェクト領域判断部66は、画像格納部10が格納している画像に含まれるオブジェクトを抽出する。例えば、主要オブジェクト領域判断部66は、画像に含まれるオブジェクトを、輪郭抽出処理、色分布分析処理等の画像処理により抽出する。この場合において、主要オブジェクト領域判断部66は、抽出したオブジェクトの画像における位置を算出する。そして、主要オブジェクト領域判断部66は、抽出したオブジェクトが主要なオブジェクトか否かを判断する。例えば、主要オブジェクト領域判断部66は、肌色抽出、人物の顔部品の画像を用いたパターンマッチング等により、抽出したオブジェクトが人物であるか否かを判断してよい。そして、主要オブジェクト領域判断部66は、抽出したオブジェクトが人物である場合に、当該オブジェクトを主要なオブジェクトと判断してよい。また、主要オブジェクト領域判断部66は、抽出したオブジェクトの画像における位置が画像の中心から予め定められた範囲にある場合に、抽出したオブジェクトを主要なオブジェクトと判断してもよい。   The image storage unit 10 stores a plurality of images. The image storage unit 10 supplies an image to the main object region determination unit 66 and the image selection unit 75 based on the control of the main object region determination unit 66 and the image selection unit 75. The main object area determination unit 66 determines the area of the main object of the image in the image. Specifically, first, the main object area determination unit 66 extracts objects included in the image stored in the image storage unit 10. For example, the main object region determination unit 66 extracts an object included in the image by image processing such as contour extraction processing and color distribution analysis processing. In this case, the main object area determination unit 66 calculates the position of the extracted object in the image. Then, the main object area determination unit 66 determines whether or not the extracted object is a main object. For example, the main object region determination unit 66 may determine whether or not the extracted object is a person by skin color extraction, pattern matching using an image of a human face part, or the like. Then, when the extracted object is a person, the main object area determination unit 66 may determine that the object is a main object. In addition, the main object region determination unit 66 may determine that the extracted object is a main object when the position of the extracted object in the image is within a predetermined range from the center of the image.

さらに、主要オブジェクト領域判断部66は、抽出したオブジェクトの画像に対する大きさである、オブジェクトサイズを算出する。例えば、主要オブジェクト領域判断部66は、画像に含まれるオブジェクトの所定のエッジから当該オブジェクトの他のエッジまでの距離のうち、最も大きな距離をオブジェクトサイズとして算出してよい。また、オブジェクトが人物の場合には、主要なオブジェクトは当該人物の顔領域であってよい。そして、主要オブジェクト領域判断部66は、当該顔領域の画像に対する大きさをオブジェクトサイズとして算出してもよい。係る場合においては、オブジェクトサイズは、人物の顔領域の外接円の半径であってよい。そして、主要オブジェクト領域判断部66は、抽出したオブジェクトのオブジェクトサイズが予め定められた値以上である場合に、抽出したオブジェクトを主要なオブジェクトと判断してもよい。主要オブジェクト領域判断部66は、画像における主要なオブジェクトの領域、例えば、主要なオブジェクトの画像における位置を示す情報、主要なオブジェクトの画像に対する大きさを示す情報を画像比較部64に供給する。   Further, the main object area determination unit 66 calculates an object size that is the size of the extracted object with respect to the image. For example, the main object region determination unit 66 may calculate the largest distance among the distances from a predetermined edge of the object included in the image to the other edge of the object as the object size. When the object is a person, the main object may be the face area of the person. Then, the main object area determination unit 66 may calculate the size of the face area with respect to the image as the object size. In such a case, the object size may be a radius of a circumscribed circle of the human face area. Then, the main object area determination unit 66 may determine that the extracted object is a main object when the object size of the extracted object is equal to or larger than a predetermined value. The main object area determination unit 66 supplies information indicating the area of the main object in the image, for example, the position of the main object in the image and the information indicating the size of the main object with respect to the image to the image comparison unit 64.

アルバムテンプレート格納部90は、アルバムのテンプレートを格納する。アルバムテンプレート格納部90が格納するアルバムのテンプレートは、所定のテーマごとに設定されたアルバムのテンプレートであってよい。アルバムテンプレート格納部90は、アルバムのテーマに対応づけて、アルバムのページであるページのテンプレート、折り目を含むページである折り目ページの折り目の位置、ページのテンプレートに予め配置されているレイアウト枠の位置、レイアウト枠における主要なオブジェクトが配置されるべき位置、およびページのテンプレートに予め配置されているテンプレート画像のページのテンプレートに対する位置等の情報を格納する。具体的には、アルバムテンプレート格納部90は、ページテンプレート格納部900、折り目位置格納部910、レイアウト枠位置格納部920、配置位置格納部930、およびテンプレート画像位置格納部940を有していてよく、上記種々の情報をそれぞれの格納部に格納してよい。   The album template storage unit 90 stores album templates. The album template stored in the album template storage unit 90 may be an album template set for each predetermined theme. The album template storage unit 90 associates with the theme of the album, a page template that is an album page, a fold position of a crease page that is a page including a crease, and a position of a layout frame arranged in advance in the page template. Information such as a position where a main object in the layout frame is to be arranged and a position of the template image arranged in advance in the page template with respect to the page template is stored. Specifically, the album template storage unit 90 may include a page template storage unit 900, a fold position storage unit 910, a layout frame position storage unit 920, an arrangement position storage unit 930, and a template image position storage unit 940. The various information may be stored in each storage unit.

例えば、ページテンプレート格納部900は、アルバムのテンプレートに含まれるページのテンプレートであるページテンプレートを格納する。ページテンプレート格納部900が格納するページテンプレートは、アルバムのページ、見開きページ、および表紙ページのテンプレートであってよい。また、ページテンプレート格納部900は、CD−ROM、DVD等の形状を有したテンプレートを格納していてもよい。折り目位置格納部910は、折り目を含むページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含む折り目の位置を格納する。ページテンプレートに折り目が複数存在する場合には、折り目位置格納部910は、複数の折り目の位置をそれぞれ格納してよい。なお、テンプレートの形状がCD−ROM、DVD等の形状をしている場合には、折り目位置格納部910は、ページテンプレートが含む折り目の位置の代わりに、CD−ROM等において画像を配置できない部分の位置、例えば、CD−ROM、DVD等の穴の位置を格納していてもよい。   For example, the page template storage unit 900 stores a page template which is a page template included in an album template. The page template stored in the page template storage unit 900 may be an album page, a spread page, and a cover page template. The page template storage unit 900 may store a template having a shape such as a CD-ROM or a DVD. The fold position storage unit 910 stores the position of the fold included in the page template with respect to the layout frame previously arranged in the page template including the fold. When a plurality of creases exist in the page template, the crease position storage unit 910 may store a plurality of crease positions. In the case where the template has a shape such as CD-ROM or DVD, the fold position storage unit 910 cannot place an image on the CD-ROM or the like in place of the fold position included in the page template. May be stored, for example, the positions of holes such as CD-ROMs and DVDs.

レイアウト枠位置格納部920は、ページテンプレートが含むレイアウト枠のページテンプレートにおける位置を、レイアウト枠位置として格納する。なお、レイアウト枠は、画像格納部10が格納している画像がレイアウトされる枠、および画像格納部10が格納している画像から抽出されたオブジェクトがレイアウトされる枠であってよい。また、配置位置格納部930は、主要なオブジェクトが存在すべきレイアウト枠における位置を、主要オブジェクト配置位置として格納する。テンプレート画像位置格納部940は、テンプレート画像を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含むテンプレート画像の位置を格納する。アルバムテンプレート格納部90が有する折り目位置格納部910は、画像比較部64の制御に基づいて、ページテンプレートの折り目の位置を画像比較部64に供給する。また、テンプレート画像位置格納部940は、画像比較部64の制御に基づいて、テンプレート画像の位置を画像比較部64に供給する。さらに、アルバムテンプレート格納部90は、ページテンプレート、レイアウト枠位置、配置位置、およびテンプレート画像位置を画像レイアウト部30の制御に基づいて、画像レイアウト部30に供給する。   The layout frame position storage unit 920 stores the position of the layout frame included in the page template in the page template as the layout frame position. The layout frame may be a frame in which an image stored in the image storage unit 10 is laid out and a frame in which an object extracted from the image stored in the image storage unit 10 is laid out. Also, the arrangement position storage unit 930 stores the position in the layout frame where the main object should exist as the main object arrangement position. The template image position storage unit 940 stores the position of the template image included in the page template with respect to the layout frame arranged in advance in the page template of the page including the template image. The fold position storage unit 910 included in the album template storage unit 90 supplies the fold position of the page template to the image comparison unit 64 based on the control of the image comparison unit 64. Further, the template image position storage unit 940 supplies the position of the template image to the image comparison unit 64 based on the control of the image comparison unit 64. Furthermore, the album template storage unit 90 supplies the page template, the layout frame position, the arrangement position, and the template image position to the image layout unit 30 based on the control of the image layout unit 30.

画像比較部64は、折り目位置格納部910から受け取ったレイアウト枠に対する折り目の位置と、主要オブジェクト領域判断部66から受け取った画像における主要なオブジェクトの領域とを画像ごとに比較する。そして、画像比較部64は、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重なるか否かを判断する。なお、画像比較部64は、テンプレートの形状がCD−ROM等の形状である場合には、CD−ROM等の穴の位置と画像における主要なオブジェクトの領域とが重なるか否かを判断してもよい。また、画像比較部64は、テンプレート画像位置格納部940から受け取ったテンプレート画像の位置と、主要オブジェクト領域判断部66から受け取った画像における主要なオブジェクトの領域とを画像ごとに比較してよい。そして、画像比較部64は、レイアウト枠に画像を配置した場合に、テンプレート画像と画像の主要なオブジェクトとが重なるか否かを判断してもよい。画像比較部64は、判断結果を画像選択部75に供給する。   The image comparison unit 64 compares the crease position with respect to the layout frame received from the crease position storage unit 910 and the main object region in the image received from the main object region determination unit 66 for each image. Then, the image comparison unit 64 determines whether or not the crease of the page template and the main object of the image overlap when the image is arranged in the layout frame. In addition, when the shape of the template is a shape such as a CD-ROM, the image comparison unit 64 determines whether or not the hole position of the CD-ROM or the like overlaps the main object region in the image. Also good. The image comparison unit 64 may compare the position of the template image received from the template image position storage unit 940 with the main object region in the image received from the main object region determination unit 66 for each image. Then, the image comparison unit 64 may determine whether or not the template image and the main object of the image overlap when the image is arranged in the layout frame. The image comparison unit 64 supplies the determination result to the image selection unit 75.

画像選択部75は、画像比較部64から受け取った判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重ならない画像を、画像格納部10から選択する。なお、画像選択部75は、テンプレートの形状がCD−ROM等の形状である場合には、CD−ROM等の穴の位置と画像の主要なオブジェクトとが重ならない画像を選択してもよい。また、画像選択部75は、画像比較部64から受け取った判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重ならない画像を選択してもよい。画像レイアウト部30は、画像選択部75から受け取った画像をページテンプレートのレイアウト枠にレイアウトしてアルバムのページ、または、アルバムの表紙のデータを作成する。画像レイアウト部30は作成したアルバムのページ、または、アルバムの表紙を印刷部80、または表示部84に供給する。   Based on the determination result received from the image comparison unit 64, the image selection unit 75 displays an image in which the fold of the page template and the main object of the image do not overlap when the image is arranged in the layout frame. Select from. Note that when the template shape is a shape such as a CD-ROM, the image selection unit 75 may select an image in which the position of the hole such as the CD-ROM does not overlap with the main object of the image. Further, the image selection unit 75 selects an image in which the template image of the page template and the main object of the image do not overlap when the image is arranged in the layout frame based on the determination result received from the image comparison unit 64. May be. The image layout unit 30 lays out the image received from the image selection unit 75 in the layout frame of the page template, and creates album page or album cover data. The image layout unit 30 supplies the created album page or album cover to the printing unit 80 or the display unit 84.

印刷部80は、画像レイアウト部30から受け取ったアルバムのページ、または、アルバムの表紙を紙媒体等に印刷してアルバムを作成する。なお、印刷部80は、CD−ROM等の表面に画像を印刷してもよい。また、表示部84は、画像レイアウト部30から受け取ったアルバムのページ、または、アルバムの表紙をモニタ等の表示装置に電子アルバムとして表示する。なお、本実施形態に係るアルバム作成装置104は、画像レイアウト部30において作成されたアルバムのデータを、DVD等の記録媒体に記録する出力部をさらに備えていてもよい。   The printing unit 80 creates an album by printing the album page received from the image layout unit 30 or the cover of the album on a paper medium or the like. Note that the printing unit 80 may print an image on the surface of a CD-ROM or the like. The display unit 84 displays the album page or the album cover received from the image layout unit 30 as an electronic album on a display device such as a monitor. The album creating apparatus 104 according to the present embodiment may further include an output unit that records the album data created by the image layout unit 30 on a recording medium such as a DVD.

本実施形態に係るアルバム作成装置104によれば、アルバムのレイアウト枠に対するページの折り目の位置と画像に含まれる主要なオブジェクトの領域とを比較して、ページの折り目に主要なオブジェクトが重ならない画像を自動的に選択できる。これにより、アルバムを作成するときに、ページのレイアウト枠にページの折り目が重なっている場合でも、自動的にページの折り目に主要なオブジェクトが重ならない画像を選択してレイアウトできるので、主要なオブジェクトがページの折り目によって分断されず、見栄えのよいアルバムを作成できる。   According to the album creating apparatus 104 according to the present embodiment, the position of the page fold with respect to the album layout frame is compared with the area of the main object included in the image, and the image in which the main object does not overlap the page fold. Can be selected automatically. As a result, when creating an album, even if the page crease overlaps the page layout frame, you can automatically select and lay out images that do not overlap the main object in the page crease. Is not divided by the crease of the page, you can create a good-looking album.

また、本実施形態に係るアルバム作成装置104によれば、アルバムのレイアウト枠に対するテンプレート画像の位置と画像に含まれる主要なオブジェクトの領域とを比較して、テンプレート画像に主要なオブジェクトが重ならない画像を自動的に選択できる。これにより、アルバムを作成するときに、ページのレイアウト枠にテンプレート画像が重なっている場合でも、自動的にテンプレート画像に主要なオブジェクトが重ならない画像を選択してレイアウトできるので、主要なオブジェクトがテンプレート画像に重なって観賞することができなくなることを防止できる。   Further, according to the album creating apparatus 104 according to the present embodiment, the position of the template image with respect to the album layout frame is compared with the area of the main object included in the image, and the image in which the main object does not overlap the template image. Can be selected automatically. As a result, when creating an album, even if the template image overlaps the layout frame of the page, it is possible to automatically select and lay out an image in which the main object does not overlap the template image. It is possible to prevent the image from being overlaid on the image.

図11および図12は、本実施形態に係る画像選択部75の画像選択方法の一例を示す。図11に示すページテンプレート1000には、画像が配置されるレイアウト枠1020が予め配置されている。そして、レイアウト枠1020内には、レイアウト枠1020内において主要なオブジェクトが配置されるべき位置として、主要オブジェクト配置位置1030が予め定められている。また、ページテンプレート1000には、ページの折り目1010が設定されている。ここで、主要オブジェクト配置位置1030から折り目1010までの距離を折り目距離1040とする。また、主要オブジェクト配置位置1030からレイアウト枠1020の端までの距離をレイアウト距離1050とする。一方、図12に示す画像1060には、主要なオブジェクト1062が含まれる。ここで、主要なオブジェクト1062の画像1060に対する大きさを、オブジェクトサイズ1042とする。また、画像1060に対する主要なオブジェクト1062の位置から、当該画像1060の端までの距離を画像距離1052とする。   11 and 12 show an example of the image selection method of the image selection unit 75 according to the present embodiment. In the page template 1000 shown in FIG. 11, a layout frame 1020 in which images are arranged is arranged in advance. In the layout frame 1020, a main object arrangement position 1030 is determined in advance as a position where a main object is to be arranged in the layout frame 1020. In the page template 1000, a page fold 1010 is set. Here, a distance from the main object placement position 1030 to the crease 1010 is a crease distance 1040. The distance from the main object arrangement position 1030 to the end of the layout frame 1020 is defined as a layout distance 1050. On the other hand, a main object 1062 is included in the image 1060 shown in FIG. Here, the size of the main object 1062 with respect to the image 1060 is set as an object size 1042. The distance from the position of the main object 1062 with respect to the image 1060 to the end of the image 1060 is defined as an image distance 1052.

画像比較部64は、折り目1010の位置と画像1060の主要なオブジェクト1062の領域とを比較して、レイアウト枠1020に画像1060をレイアウトした場合に、主要なオブジェクト1062が折り目1010と重なるか否かを判断する。例えば、画像比較部64は、折り目距離1040をオブジェクトサイズ1042で除した値に画像距離1052を乗じた値を構図適正評価値として算出してよい。なお、画像比較部64は、構図適正評価値を算出する構図適正評価値算出部を有していてもよい。そして、画像比較部64は、算出した構図適正評価値とレイアウト距離1050が示す値とを比較する。画像比較部64は、算出した構図適正評価値が、レイアウト距離1050が示す値よりも大きい場合に、画像1060をレイアウト枠1020にレイアウトしても、主要なオブジェクト1062が折り目1010と重ならないと判断する。そして、画像比較部64は、判断結果を画像選択部75に供給する。画像選択部75は、画像比較部64の判断結果に基づいて、画像1060をレイアウト枠1020にレイアウトすべき画像として選択する。続いて、画像レイアウト部30は、画像選択部75が選択した画像1060をレイアウト枠1020にレイアウトする。   The image comparison unit 64 compares the position of the fold line 1010 with the area of the main object 1062 in the image 1060 and determines whether the main object 1062 overlaps the fold line 1010 when the image 1060 is laid out in the layout frame 1020. Judging. For example, the image comparison unit 64 may calculate a value obtained by dividing the crease distance 1040 by the object size 1042 and the image distance 1052 as the composition suitability evaluation value. Note that the image comparison unit 64 may include a composition appropriate evaluation value calculation unit that calculates a composition appropriate evaluation value. Then, the image comparison unit 64 compares the calculated composition appropriateness evaluation value with the value indicated by the layout distance 1050. When the calculated composition suitability evaluation value is larger than the value indicated by the layout distance 1050, the image comparison unit 64 determines that the main object 1062 does not overlap the crease 1010 even if the image 1060 is laid out in the layout frame 1020. To do. Then, the image comparison unit 64 supplies the determination result to the image selection unit 75. The image selection unit 75 selects the image 1060 as an image to be laid out in the layout frame 1020 based on the determination result of the image comparison unit 64. Subsequently, the image layout unit 30 lays out the image 1060 selected by the image selection unit 75 in the layout frame 1020.

画像比較部64は、上記説明で説明した比較方法を用いて、画像ごとに画像の主要なオブジェクトが折り目1010に重なるか否かを判断する。例えば、図12に示す画像1080においては、画像比較部64は、主要なオブジェクト1082の画像1080における位置から求めた画像距離1054およびオブジェクトサイズ1044と、折り目距離1040およびレイアウト距離1050とから構図適正評価値を算出する。係る場合においては、画像比較部64が算出した構図適正評価値は、レイアウト距離1050が示す値よりも小さい。従って、画像比較部64は、画像1080に含まれる主要なオブジェクト1082が折り目1010と重なると判断する。また、図12に示す画像1070の場合は、画像比較部64は以下のように判断してもよい。例えば、画像1070から領域1074をトリミングして領域1074の大きさを画像1070の大きさまで拡大する場合を考える。この場合において、上記と同様にして画像比較部64は、拡大した画像を用いて構図適正評価値を算出する。そして、算出された構図適正評価値がレイアウト距離1050よりも大きい場合には、画像比較部64は、トリミング後の画像に含まれる主要なオブジェクト1072の領域が折り目1010と重ならないと判断してもよい。   The image comparison unit 64 determines whether the main object of the image overlaps the fold line 1010 for each image using the comparison method described in the above description. For example, in the image 1080 shown in FIG. 12, the image comparison unit 64 evaluates composition appropriateness from the image distance 1054 and the object size 1044 obtained from the position of the main object 1082 in the image 1080, and the crease distance 1040 and the layout distance 1050. Calculate the value. In this case, the composition suitability evaluation value calculated by the image comparison unit 64 is smaller than the value indicated by the layout distance 1050. Therefore, the image comparison unit 64 determines that the main object 1082 included in the image 1080 overlaps the fold line 1010. In the case of the image 1070 shown in FIG. 12, the image comparison unit 64 may determine as follows. For example, consider a case where the region 1074 is trimmed from the image 1070 to enlarge the size of the region 1074 to the size of the image 1070. In this case, the image comparison unit 64 calculates the composition suitability evaluation value using the enlarged image in the same manner as described above. When the calculated composition suitability evaluation value is larger than the layout distance 1050, the image comparison unit 64 determines that the area of the main object 1072 included in the trimmed image does not overlap the crease 1010. Good.

図13は、本実施形態に係るアルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104のハードウェア構成の一例を示す。本実施形態に係るアルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104は、ホスト・コントローラ1582により相互に接続されるCPU1505、RAM1520、グラフィック・コントローラ1575、および表示装置1580を有するCPU周辺部と、入出力コントローラ1584によりホスト・コントローラ1582に接続される通信インターフェイス1530、ハードディスクドライブ1540、およびCD−ROMドライブ1560を有する入出力部と、入出力コントローラ1584に接続されるROM1510、フレキシブルディスク・ドライブ1550、および入出力チップ1570を有するレガシー入出力部とを備える。   FIG. 13 shows an example of the hardware configuration of the album creating apparatus 100, the album creating apparatus 102, and the album creating apparatus 104 according to this embodiment. The album creating apparatus 100, the album creating apparatus 102, and the album creating apparatus 104 according to the present embodiment are a CPU peripheral unit having a CPU 1505, a RAM 1520, a graphic controller 1575, and a display device 1580 connected to each other by a host controller 1582. An input / output unit having a communication interface 1530, a hard disk drive 1540, and a CD-ROM drive 1560 connected to the host controller 1582 by the input / output controller 1584; a ROM 1510 connected to the input / output controller 1584; a flexible disk drive 1550 and a legacy input / output unit having an input / output chip 1570.

ホスト・コントローラ1582は、RAM1520と、高い転送レートでRAM1520をアクセスするCPU1505およびグラフィック・コントローラ1575とを接続する。CPU1505は、ROM1510およびRAM1520に格納されたプログラムに基づいて動作して、各部を制御する。グラフィック・コントローラ1575は、CPU1505等がRAM1520内に設けたフレーム・バッファ上に生成する画像データを取得して、表示装置1580上に表示させる。これに代えて、グラフィック・コントローラ1575は、CPU1505等が生成する画像データを格納するフレーム・バッファを、内部に含んでもよい。   The host controller 1582 connects the RAM 1520 to the CPU 1505 and the graphic controller 1575 that access the RAM 1520 at a high transfer rate. The CPU 1505 operates based on programs stored in the ROM 1510 and the RAM 1520 to control each unit. The graphic controller 1575 acquires image data generated by the CPU 1505 or the like on a frame buffer provided in the RAM 1520 and displays the image data on the display device 1580. Alternatively, the graphic controller 1575 may include a frame buffer that stores image data generated by the CPU 1505 or the like.

入出力コントローラ1584は、ホスト・コントローラ1582と、比較的高速な入出力装置である通信インターフェイス1530、ハードディスクドライブ1540、CD−ROMドライブ1560を接続する。通信インターフェイス1530は、ネットワークを介して他の装置と通信する。ハードディスクドライブ1540は、アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104内のCPU1505が使用するプログラムおよびデータを格納する。CD−ROMドライブ1560は、CD−ROM1595からプログラムまたはデータを読み取り、RAM1520を介してハードディスクドライブ1540に提供する。   The input / output controller 1584 connects the host controller 1582 to the communication interface 1530, the hard disk drive 1540, and the CD-ROM drive 1560, which are relatively high-speed input / output devices. The communication interface 1530 communicates with other devices via a network. The hard disk drive 1540 stores programs and data used by the album creating apparatus 100, the album creating apparatus 102, and the CPU 1505 in the album creating apparatus 104. The CD-ROM drive 1560 reads a program or data from the CD-ROM 1595 and provides it to the hard disk drive 1540 via the RAM 1520.

また、入出力コントローラ1584には、ROM1510と、フレキシブルディスク・ドライブ1550、および入出力チップ1570の比較的低速な入出力装置とが接続される。ROM1510は、アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104が起動時に実行するブート・プログラム、アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104のハードウェアに依存するプログラム等を格納する。フレキシブルディスク・ドライブ1550は、フレキシブルディスク1590からプログラムまたはデータを読み取り、RAM1520を介してハードディスクドライブ1540に提供する。入出力チップ1570は、フレキシブルディスク・ドライブ1550、例えばパラレル・ポート、シリアル・ポート、キーボード・ポート、マウス・ポート等を介して各種の入出力装置を接続する。   The input / output controller 1584 is connected to the ROM 1510, the flexible disk drive 1550, and the relatively low-speed input / output device of the input / output chip 1570. The ROM 1510 stores a boot program executed when the album creating apparatus 100, the album creating apparatus 102, and the album creating apparatus 104 are started, a program depending on the hardware of the album creating apparatus 100, the album creating apparatus 102, the album creating apparatus 104, and the like. Is stored. The flexible disk drive 1550 reads a program or data from the flexible disk 1590 and provides it to the hard disk drive 1540 via the RAM 1520. The input / output chip 1570 connects various input / output devices via a flexible disk drive 1550 such as a parallel port, a serial port, a keyboard port, and a mouse port.

RAM1520を介してハードディスクドライブ1540に提供されるアルバム作成プログラムは、フレキシブルディスク1590、CD−ROM1595、またはICカード等の記録媒体に格納されて利用者によって提供される。アルバム作成プログラムは、記録媒体から読み出され、RAM1520を介してアルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104内のハードディスクドライブ1540にインストールされ、CPU1505において実行される。アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104にインストールされて実行されるアルバム作成プログラムは、CPU1505等に働きかけて、図1から図12にかけて説明したアルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104を、画像格納部10、画像分類部20、画像レイアウト部30、オブジェクト抽出部40、オブジェクト種類特定部42、主要オブジェクト決定部44、境界位置格納部50、タイトル枠位置情報格納部52、テンプレート画像位置格納部54、境界判断部60、重なり判断部62、画像比較部64、主要オブジェクト領域判断部66、主要オブジェクト移動部70、画像選択部75、印刷部80、表示部84、アルバムテンプレート格納部90、ページテンプレート格納部900、折り目位置格納部910、レイアウト枠位置格納部920、配置位置格納部930、およびテンプレート画像位置格納部940として機能させる。   The album creation program provided to the hard disk drive 1540 via the RAM 1520 is stored in a recording medium such as the flexible disk 1590, the CD-ROM 1595, or an IC card and provided by the user. The album creating program is read from the recording medium, installed on the album creating apparatus 100, the album creating apparatus 102, and the hard disk drive 1540 in the album creating apparatus 104 via the RAM 1520 and executed by the CPU 1505. The album creating program installed in the album creating apparatus 100, the album creating apparatus 102, and the album creating apparatus 104 is executed by the CPU 1505 and the like, and the album creating apparatus 100 and the album creating apparatus 102 described with reference to FIGS. , And album creating apparatus 104, image storage unit 10, image classification unit 20, image layout unit 30, object extraction unit 40, object type identification unit 42, main object determination unit 44, boundary position storage unit 50, title frame position information Storage unit 52, template image position storage unit 54, boundary determination unit 60, overlap determination unit 62, image comparison unit 64, main object region determination unit 66, main object moving unit 70, image selection unit 75, printing unit 80, display unit 84, album template storage unit 9 , Page template storage section 900, the fold position storage section 910, a layout frame position storage section 920, position storage section 930, and to function as a template image position storage section 940.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加え得ることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

アルバム作成装置100の概念図である。1 is a conceptual diagram of an album creating apparatus 100. FIG. アルバム作成装置100の機能構成を示すブロック図である。3 is a block diagram showing a functional configuration of an album creating apparatus 100. FIG. 主要オブジェクト移動部70における画像の移動方法を示す図である。FIG. 5 is a diagram illustrating an image moving method in a main object moving unit 70. 主要オブジェクト移動部70における画像の移動方法を示す図である。FIG. 5 is a diagram illustrating an image moving method in a main object moving unit 70. 主要オブジェクト移動部70における画像の移動方法を示す図である。FIG. 5 is a diagram illustrating an image moving method in a main object moving unit 70. 主要オブジェクト移動部70における画像の移動方法を示す図である。FIG. 5 is a diagram illustrating an image moving method in a main object moving unit 70. アルバム作成装置100の処理の流れを示すフローチャートである。3 is a flowchart showing a processing flow of the album creating apparatus 100. アルバム作成装置102の機能構成を示すブロック図である。3 is a block diagram showing a functional configuration of an album creating apparatus 102. FIG. 主要オブジェクト移動部70における画像の移動方法を示す図である。FIG. 5 is a diagram illustrating an image moving method in a main object moving unit 70. アルバム作成装置104の機能構成を示すブロック図である。3 is a block diagram showing a functional configuration of an album creating apparatus 104. FIG. 画像選択部75の画像選択方法を示す図である。It is a figure which shows the image selection method of the image selection part 75. FIG. 画像選択部75の画像選択方法を示す図である。It is a figure which shows the image selection method of the image selection part 75. FIG. アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104のハードウェア構成を示すブロック図である。2 is a block diagram showing a hardware configuration of an album creating apparatus 100, an album creating apparatus 102, and an album creating apparatus 104. FIG.

符号の説明Explanation of symbols

10 画像格納部
20 画像分類部
30 画像レイアウト部
40 オブジェクト抽出部
42 オブジェクト種類特定部
44 主要オブジェクト決定部
50 境界位置格納部
52 タイトル枠位置情報格納部
54 テンプレート画像位置格納部
60 境界判断部
62 重なり判断部
64 画像比較部
66 主要オブジェクト領域判断部
70 主要オブジェクト移動部
75 画像選択部
80 印刷部
84 表示部
90 アルバムテンプレート格納部
100、102、104 アルバム作成装置
150 撮像装置
200、202 見開きページ
204、206 画像
208、210 ページ境界線
220 アルバム
300、302 見開きページ
304、306 ページ境界線
310、312 画像
400、402 見開きページ
404、406 ページ境界線
410、412 画像
414、416 主要オブジェクト
500、502 見開きページ
504、506 ページ境界線
510、514 画像
512 部分領域
600 ユーザ
610 被写体
700 テンプレート
702、704 折り目
710 タイトル枠
720、722、810、812 画像
730、840 主要なオブジェクト
750、752 アルバムの表紙
800、1000 ページテンプレート
830 テンプレート画像
900 ページテンプレート格納部
910 折り目位置格納部
920 レイアウト枠位置格納部
930 配置位置格納部
940 テンプレート画像位置格納部
1010 折り目
1020 レイアウト枠
1030 主要オブジェクト配置位置
1040 折り目距離
1042、1044 オブジェクトサイズ
1050 レイアウト距離
1052、1054 画像距離
1060、1070、1080 画像
1062、1072、1082 主要なオブジェクト
1074 領域
1505 CPU
1510 ROM
1520 RAM
1530 通信インターフェイス
1540 ハードディスクドライブ
1550 フレキシブルディスク・ドライブ
1560 CD−ROMドライブ
1570 入出力チップ
1575 グラフィック・コントローラ
1580 表示装置
1582 ホスト・コントローラ
1584 入出力コントローラ
1590 フレキシブルディスク
1595 CD−ROM
DESCRIPTION OF SYMBOLS 10 Image storage part 20 Image classification part 30 Image layout part 40 Object extraction part 42 Object type specific part 44 Main object determination part 50 Boundary position storage part 52 Title frame position information storage part 54 Template image position storage part 60 Boundary judgment part 62 Overlap Determination unit 64 Image comparison unit 66 Main object region determination unit 70 Main object moving unit 75 Image selection unit 80 Printing unit 84 Display unit 90 Album template storage unit 100, 102, 104 Album creation device 150 Imaging device 200, 202 Spreading page 204, 206 Image 208, 210 Page border 220 Album 300, 302 Spread page 304, 306 Page border 310, 312 Image 400, 402 Spread page 404, 406 Page border 410, 412 Image 414, 416 Main object 500, 502 Spreading page 504, 506 Page border 510, 514 Image 512 Partial area 600 User 610 Subject 700 Template 702, 704 Crease 710 Title frame 720, 722, 810, 812 Image 730, 840 Main Objects 750, 752 Album cover 800, 1000 Page template 830 Template image 900 Page template storage unit 910 Fold position storage unit 920 Layout frame position storage unit 930 Arrangement position storage unit 940 Template image position storage unit 1010 Fold 1020 Layout frame 1030 Main Object placement position 1040 Crease distance 1042, 1044 Object size 1050 Layout distance 10 2,1054 image distance 1060,1070,1080 image 1062,1072,1082 major object 1074 area 1505 CPU
1510 ROM
1520 RAM
1530 Communication interface 1540 Hard disk drive 1550 Flexible disk drive 1560 CD-ROM drive 1570 Input / output chip 1575 Graphic controller 1580 Display device 1582 Host controller 1584 Input / output controller 1590 Flexible disk 1595 CD-ROM

Claims (14)

複数の画像をアルバムのページのそれぞれにレイアウトする画像レイアウト部と、
折り目を含むページである折り目ページにおけるページの折り目の位置を格納する境界位置格納部と、
前記画像レイアウト部がレイアウトした画像に含まれるオブジェクトを抽出するオブジェクト抽出部と、
前記オブジェクト抽出部が抽出したオブジェクトの種類を特定するオブジェクト種類特定部と、
前記オブジェクト種類特定部が特定したオブジェクトの種類が人物であるオブジェクトを主要なオブジェクトと決定する主要オブジェクト決定部と、
前記画像レイアウト部が折り目ページにレイアウトした画像における前記主要なオブジェクトが、前記境界位置格納部が格納しているページの折り目の位置に重なっているか否かを判断する境界判断部と、
前記境界判断部がページの折り目に前記主要なオブジェクトが重なっていると判断した場合に、前記ページおける前記画像の位置を移動させずに、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動部と
を備えるアルバム作成装置。
An image layout section that lays out multiple images on each page of the album;
A boundary position storage unit that stores a position of a crease of a page in a crease page that is a page including a crease;
An object extraction unit for extracting an object included in the image laid out by the image layout unit;
An object type specifying unit for specifying the type of object extracted by the object extracting unit;
A main object determining unit that determines an object whose type of object specified by the object type specifying unit is a person as a main object;
A boundary determination unit that determines whether or not the main object in the image laid out on the crease page by the image layout unit overlaps the position of the fold of the page stored in the boundary position storage unit;
If the boundary determination unit determines that overlap the main object the fold of the page, without moving the position of the image definitive in the page, so the main object is not overlapped to the fold of the page, An album creating apparatus comprising: a main object moving unit that moves a position of a main object with respect to a crease page.
前記主要オブジェクト移動部は、前記主要なオブジェクトをトリミングして、前記ページの折り目に重ならない位置に移動させるとともに、前記画像に設定された複数の分割領域の中から空間周波数の高周波成分のレベルが予め定められたレベルより小さい部分領域を選択し、選択された部分領域を引き伸ばし、引き伸ばした部分領域をトリミング前の前記主要オブジェクトが存在していた領域に重ね合わせる請求項1に記載のアルバム作成装置。   The main object moving unit trims the main object and moves the main object to a position that does not overlap the crease of the page, and the level of the high-frequency component of the spatial frequency from among the plurality of divided regions set in the image 2. The album creating apparatus according to claim 1, wherein a partial area smaller than a predetermined level is selected, the selected partial area is stretched, and the stretched partial area is overlaid on the area where the main object before trimming was present. . 前記主要オブジェクト移動部は、前記画像がレイアウトされる前記ページの予め定められたレイアウト枠に適合するように拡大した場合に前記主要なオブジェクトが前記ページの折り目に重ならない位置となる、前記主要なオブジェクトを含む部分領域を、前記画像からトリミングし、トリミングされた前記部分領域を拡大して、前記レイアウト枠にはめ込む請求項に記載のアルバム作成装置。 The main object moving unit is configured such that when the image is enlarged to fit a predetermined layout frame of the page on which the image is laid out, the main object is positioned so as not to overlap a fold of the page. a partial area including the object, trimmed from the image, an enlarged cropped the partial regions, the album creating apparatus according to claim 1 fitted to the layout frame. 複数の画像を折り目ページである見開きページごとに分類する画像分類部
をさらに備え、
前記画像レイアウト部は、前記画像分類部が見開きページごとに分類した画像を、アルバムの見開きページのそれぞれにレイアウトし、
前記境界位置格納部は、見開きページにおける右ページと左ページとのページ境界線の位置を格納し、
前記境界判断部は、前記画像レイアウト部が見開きページにレイアウトした画像における主要なオブジェクトが、前記境界位置格納部が格納しているページ境界線に重なっているか否かを判断し、
前記主要オブジェクト移動部は、前記境界判断部がページ境界線に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがページ境界線に重ならないように、見開きページに対する主要なオブジェクトの位置を移動させる
請求項1に記載のアルバム作成装置。
An image classification unit that classifies a plurality of images for each spread page that is a crease page,
The image layout unit lays out the images classified by the image classification unit for each spread page on each spread page of the album,
The boundary position storage unit stores the position of the page boundary line between the right page and the left page in the spread page,
The boundary determination unit determines whether or not a main object in the image laid out on the spread page by the image layout unit overlaps a page boundary stored in the boundary position storage unit;
The main object moving unit determines the position of the main object with respect to the facing page so that the main object does not overlap the page boundary when the boundary determination unit determines that the main object overlaps the page boundary. The album creating apparatus according to claim 1, wherein the album creating apparatus is moved.
前記画像レイアウト部は、複数の画像を、アルバムの表表紙、背表紙、および裏表紙を含む表紙にレイアウトし、
前記境界位置格納部は、アルバムの表紙の折り目の位置を格納し、
前記境界判断部は、前記画像レイアウト部が表紙にレイアウトした画像における主要なオブジェクトが、前記境界位置格納部が格納している表紙の折り目の位置に重なっているか否かを判断し、
前記主要オブジェクト移動部は、前記境界判断部が表紙の折り目の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトが表紙の折り目の位置に重ならないように、表紙に対する主要なオブジェクトの位置を移動させる
請求項1に記載のアルバム作成装置。
The image layout unit lays out a plurality of images on a cover including an album cover, a back cover, and a back cover,
The boundary position storage unit stores the position of the fold of the cover of the album,
The boundary determining unit determines whether or not a main object in the image laid out on the cover by the image layout unit overlaps a position of a fold of the cover stored in the boundary position storage unit;
The main object moving unit, when the boundary determining unit determines that the main object overlaps the position of the cover fold, prevents the main object from overlapping the position of the cover fold. The album creating apparatus according to claim 1, wherein the position of the object is moved.
表表紙、背表紙、および裏表紙の少なくとも一つを含むアルバムの表紙に配置される文字列情報がレイアウトされるタイトル枠の位置をタイトル枠位置情報として格納するタイトル枠位置情報格納部
をさらに備え、
前記画像レイアウト部は、複数の画像をアルバムの表紙にレイアウトし、
前記境界判断部は、前記画像レイアウト部が表紙にレイアウトした画像における主要なオブジェクトが、前記タイトル枠位置情報格納部が格納しているタイトル枠の位置に重なっているか否かを判断し、
前記主要オブジェクト移動部は、前記境界判断部がタイトル枠の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがタイトル枠の位置に重ならないように、表紙に対する主要なオブジェクトの位置を移動させる
請求項1に記載のアルバム作成装置。
A title frame position information storage unit for storing, as title frame position information, a position of a title frame in which character string information arranged on an album cover including at least one of a front cover, a back cover, and a back cover is laid out; ,
The image layout unit lays out a plurality of images on the cover of the album,
The boundary determination unit determines whether or not a main object in the image laid out on the cover by the image layout unit overlaps a position of the title frame stored in the title frame position information storage unit;
The main object moving unit, when the boundary determining unit determines that the main object overlaps the position of the title frame, prevents the main object from overlapping the position of the title frame. The album creating apparatus according to claim 1, wherein the position is moved.
前記タイトル枠位置情報格納部は、アルバムの背表紙に配置される文字列情報がレイアウトされるタイトル枠の位置をタイトル枠位置情報として格納し、
前記画像レイアウト部は、複数の画像をアルバムの背表紙にレイアウトし、
前記境界判断部は、前記画像レイアウト部が背表紙にレイアウトした画像における主要なオブジェクトが、前記タイトル枠位置情報格納部が格納しているタイトル枠の位置に重なっているか否かを判断し、
前記主要オブジェクト移動部は、前記境界判断部がタイトル枠の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがタイトル枠の位置に重ならないように、背表紙に対する主要なオブジェクトの位置を移動させる
請求項6に記載のアルバム作成装置。
The title frame position information storage unit stores, as title frame position information, the position of the title frame where the character string information arranged on the back cover of the album is laid out
The image layout unit lays out a plurality of images on the back cover of the album,
The boundary determination unit determines whether or not a main object in the image laid out on the back cover by the image layout unit overlaps the position of the title frame stored in the title frame position information storage unit,
The main object moving unit, when the boundary determining unit determines that the main object overlaps the position of the title frame, the main object for the spine so that the main object does not overlap the position of the title frame The album creating apparatus according to claim 6, wherein the position of the album is moved.
前記主要オブジェクト移動部は、前記境界判断部がページの折り目に主要なオブジェクトが重なっていると判断した画像に対して、前記境界判断部がページの折り目に重なっていると判断した主要なオブジェクトを移動させることによって、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる
請求項1に記載のアルバム作成装置。
The main object moving unit is configured to select a main object determined by the boundary determination unit as overlapping a page fold with respect to an image determined by the boundary determination unit as overlapping a page fold. The album creating apparatus according to claim 1, wherein the position of the main object with respect to the crease page is moved by moving the main object so that the main object does not overlap the crease of the page.
前記主要オブジェクト移動部は、前記境界判断部がページの折り目に重なっていると判断した主要なオブジェクトが人物であると判断された場合に、人物の顔がページの折り目に重ならないように、折り目ページに対する人物の位置を移動させる
請求項1に記載のアルバム作成装置。
The main object moving unit is configured to prevent the person's face from overlapping the page fold when the boundary determining unit determines that the main object determined to overlap the page fold is a person. The album creating apparatus according to claim 1, wherein the position of the person with respect to the page is moved.
コンピュータを、請求項1から請求項のいずれか1つに記載のアルバム作成装置として機能させるためのプログラム。 A program for causing a computer to function as the album creating apparatus according to any one of claims 1 to 9 . RAMに読み出されたプログラムをCPUが実行することにより、前記CPUを有するコンピュータが、画像がレイアウトされたアルバムを作成するアルバム作成方法であって、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、複数の画像をアルバムのページのそれぞれにレイアウトする画像レイアウト段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、折り目を含むページである折り目ページにおけるページの折り目の位置を格納している境界位置格納部を参照する境界位置参照段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記画像レイアウト段階でレイアウトした画像に含まれるオブジェクトを抽出するオブジェクト抽出段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記オブジェクト抽出段階で抽出したオブジェクトの種類を特定するオブジェクト種類特定段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記オブジェクト種類特定段階で特定したオブジェクトの種類が人物であるオブジェクトを主要なオブジェクトと決定する主要オブジェクト決定段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記画像レイアウト段階において折り目ページにレイアウトされた画像における主要なオブジェクトが、前記境界位置参照段階において参照されたページの折り目に重なっているか否かを判断する境界判断段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記境界判断段階においてページの折り目に主要なオブジェクトが重なっていると判断された場合に、前記ページおける前記画像の位置を移動させずに、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動段階と
を備えるアルバム作成方法。
A method of creating an album in which a computer having the CPU creates an album in which images are laid out by executing a program read into a RAM.
An image layout step of laying out a plurality of images on each page of the album by the CPU operating based on the program and controlling the hardware of the computer;
The CPU operates based on the program and controls the hardware of the computer, thereby referring to a boundary position storage unit that stores the position of the fold of the page in the fold page that is a page including the fold. A boundary position reference stage;
An object extraction step of extracting objects included in the image laid out in the image layout step by the CPU operating based on the program and controlling the hardware of the computer;
The CPU operates based on the program and controls the hardware of the computer, thereby identifying the type of the object extracted in the object extraction step,
Main object determination in which the CPU operates based on the program and controls the hardware of the computer to determine an object whose type of object specified in the object type specifying step is a person as a main object Stages,
The CPU operates based on the program and controls the hardware of the computer, whereby main objects in the image laid out on the crease page in the image layout stage are referred to in the boundary position reference stage. A boundary determination stage for determining whether or not the page folds overlap,
When the CPU operates based on the program and controls the hardware of the computer to determine that the main object overlaps the page crease in the boundary determination step, the CPU adds to the page . And a main object moving step of moving the position of the main object with respect to the crease page so that the main object does not overlap the crease of the page without moving the position of the image.
予め生成されたアルバムのテンプレートに複数の画像をレイアウトする画像レイアウト部と、
アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納するテンプレート画像位置格納部と、
前記画像レイアウト部がテンプレートにレイアウトした画像に含まれるオブジェクトを抽出するオブジェクト抽出部と、
前記オブジェクト抽出部が抽出したオブジェクトの種類を特定するオブジェクト種類特定部と、
前記オブジェクト種類特定部が特定したオブジェクトの種類が人物であるオブジェクトを主要なオブジェクトと決定する主要オブジェクト決定部と、
前記主要なオブジェクトが、前記テンプレート画像位置格納部が格納しているテンプレート画像の位置に重なっているか否かを判断する重なり判断部と、
前記重なり判断部がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した場合に、前記テンプレートに対する前記画像の位置を移動させずに、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動部と
を備えるアルバム作成装置。
An image layout unit that lays out a plurality of images on a pre-generated album template;
A template image position storage unit for storing a position of the template image arranged in the template of the album in the template of the album;
An object extraction unit for extracting an object included in the image laid out in the template by the image layout unit;
An object type specifying unit for specifying the type of object extracted by the object extracting unit;
A main object determining unit that determines an object whose type of object specified by the object type specifying unit is a person as a main object;
An overlap determination unit that determines whether or not the main object overlaps the position of the template image stored in the template image position storage unit;
When the overlap determination unit determines that the main object is overlapped with the position of the template image, the position of the album is set so that the main object does not overlap the template image without moving the position of the image with respect to the template. An album creating apparatus comprising: a main object moving unit that moves a position of a main object with respect to a page.
RAMに読み出されたプログラムをCPUが実行することにより、前記CPUを有するコンピュータが、画像がレイアウトされたアルバムを作成するアルバム作成方法であって、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、予め生成されたアルバムのテンプレートに複数の画像をレイアウトする画像レイアウト段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納しているテンプレート画像位置格納部を参照するテンプレート画像位置参照段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記画像レイアウト段階でテンプレートにレイアウトした画像に含まれるオブジェクトを抽出するオブジェクト抽出段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記オブジェクト抽出段階で抽出したオブジェクトの種類を特定するオブジェクト種類特定段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記オブジェクト種類特定段階で特定したオブジェクトの種類が人物であるオブジェクトを主要なオブジェクトと決定する主要オブジェクト決定段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記画像レイアウト段階においてアルバムのテンプレートにレイアウトされた画像における主要なオブジェクトが、前記テンプレート画像位置参照段階において参照されたテンプレート画像の位置に重なっているか否かを判断する重なり判断段階と、
前記CPUが、前記プログラムに基づいて動作して前記コンピュータが有するハードウェアを制御することにより、前記重なり判断段階においてテンプレート画像の位置に主要なオブジェクトが重なっていると判断された場合に、前記テンプレートに対する前記画像の位置を移動させずに、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動段階と
を備えるアルバム作成方法。
A method of creating an album in which a computer having the CPU creates an album in which images are laid out by executing a program read into a RAM.
An image layout stage in which the CPU operates based on the program and controls the hardware of the computer to lay out a plurality of images on a pre-generated album template;
Template image position storage that stores the position of the template image arranged in the album template in the album template by the CPU operating based on the program and controlling the hardware of the computer A template image position reference stage for referring to a part;
An object extraction step of extracting an object included in the image laid out in the template in the image layout step by the CPU operating based on the program and controlling the hardware of the computer;
The CPU operates based on the program and controls the hardware of the computer, thereby identifying the type of the object extracted in the object extraction step,
Main object determination in which the CPU operates based on the program and controls the hardware of the computer to determine an object whose type of object specified in the object type specifying step is a person as a main object Stages,
The CPU operates based on the program and controls the hardware of the computer, so that main objects in the image laid out in the album template in the image layout stage are changed in the template image position reference stage. An overlap determination stage for determining whether or not the position of the referenced template image overlaps;
When the CPU operates based on the program and controls the hardware of the computer to determine that the main object overlaps the position of the template image in the overlap determination step, the template And a main object moving step of moving the position of the main object with respect to the album page so that the main object does not overlap the template image without moving the position of the image with respect to the image.
アルバムを作成するアルバム作成装置用のアルバム作成プログラムであって、
予め生成されたアルバムのテンプレートに複数の画像をレイアウトする画像レイアウト部、
アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納するテンプレート画像位置格納部、
前記画像レイアウト部がテンプレートにレイアウトした画像に含まれるオブジェクトを抽出するオブジェクト抽出部、
前記オブジェクト抽出部が抽出したオブジェクトの種類を特定するオブジェクト種類特定部、
前記オブジェクト種類特定部が特定したオブジェクトの種類が人物であるオブジェクトを主要なオブジェクトと決定する主要オブジェクト決定部、
前記画像レイアウト部がアルバムのテンプレートにレイアウトした画像における主要なオブジェクトが、前記テンプレート画像位置格納部が格納しているテンプレート画像の位置に重なっているか否かを判断する重なり判断部、
前記重なり判断部がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した場合に、前記テンプレートに対する前記画像の位置を移動させずに、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる主要オブジェクト移動部
としてコンピュータを機能させるためのアルバム作成プログラム。
An album creating program for an album creating device for creating an album,
An image layout unit that lays out a plurality of images in a pre-generated album template;
A template image position storage unit for storing the position of the template image arranged in the template of the album in the template of the album;
An object extraction unit for extracting an object included in the image laid out in the template by the image layout unit;
An object type specifying unit for specifying the type of object extracted by the object extracting unit;
A main object determining unit that determines an object whose type of object specified by the object type specifying unit is a person as a main object;
An overlap determination unit that determines whether or not a main object in an image laid out by the image layout unit on the template of the album overlaps a position of a template image stored in the template image position storage unit;
When the overlap determination unit determines that the main object is overlapped with the position of the template image, the position of the album is set so that the main object does not overlap the template image without moving the position of the image with respect to the template. An album creation program for causing a computer to function as a main object moving unit that moves the position of a main object with respect to a page.
JP2006131963A 2005-05-30 2006-05-10 Album creating apparatus, album creating method, and album creating program Active JP4860342B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006131963A JP4860342B2 (en) 2005-05-30 2006-05-10 Album creating apparatus, album creating method, and album creating program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005157782 2005-05-30
JP2005157782 2005-05-30
JP2006131963A JP4860342B2 (en) 2005-05-30 2006-05-10 Album creating apparatus, album creating method, and album creating program

Publications (2)

Publication Number Publication Date
JP2007012030A JP2007012030A (en) 2007-01-18
JP4860342B2 true JP4860342B2 (en) 2012-01-25

Family

ID=37750368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006131963A Active JP4860342B2 (en) 2005-05-30 2006-05-10 Album creating apparatus, album creating method, and album creating program

Country Status (1)

Country Link
JP (1) JP4860342B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102446035B1 (en) * 2021-06-01 2022-09-23 (주)애니로직 Device and method for web auto generator based on deep learning

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010045479A (en) * 2008-08-11 2010-02-25 Noritsu Koki Co Ltd Image processor, image forming apparatus, image processing method and image processing program
JP5253069B2 (en) 2008-09-29 2013-07-31 キヤノン株式会社 Image processing method and image processing apparatus
JP5335495B2 (en) * 2009-03-10 2013-11-06 キヤノン株式会社 Information processing apparatus, image data generation method, and computer program
JP5371560B2 (en) * 2009-06-09 2013-12-18 キヤノン株式会社 Layout editing apparatus, layout editing method and program
JP2011119945A (en) * 2009-12-02 2011-06-16 Canon Inc Imaging apparatus, method of controlling the same, and program
US9471911B2 (en) 2012-03-13 2016-10-18 Canon Kabushiki Kaisha Information processing apparatus and information processing method
WO2014045723A1 (en) * 2012-09-18 2014-03-27 富士フイルム株式会社 Image analysis device, image display control device, operation control method therefor, and operation control program therefor
JP6674879B2 (en) * 2016-09-30 2020-04-01 富士フイルム株式会社 Image extraction system, image extraction method and program thereof
JP6902860B2 (en) * 2016-12-09 2021-07-14 キヤノン株式会社 Image processing equipment, image processing methods, and programs
JP7040120B2 (en) * 2018-02-27 2022-03-23 大日本印刷株式会社 Photobook creation system, photobook creation method and program
KR102249865B1 (en) * 2019-01-22 2021-05-10 김민정 A system for Electronic Album

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2844802B2 (en) * 1990-02-22 1999-01-13 富士ゼロックス株式会社 Image processing device
JP2002111995A (en) * 2000-09-27 2002-04-12 Fuji Photo Film Co Ltd Image editing device and method and image print control device and method
JP2004175014A (en) * 2002-11-28 2004-06-24 Seiko Epson Corp Printer control program and printer
JP2004199248A (en) * 2002-12-17 2004-07-15 Seiko Epson Corp Image layouting device, method and program
JP4346561B2 (en) * 2005-01-26 2009-10-21 株式会社東芝 Typesetting system and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102446035B1 (en) * 2021-06-01 2022-09-23 (주)애니로직 Device and method for web auto generator based on deep learning

Also Published As

Publication number Publication date
JP2007012030A (en) 2007-01-18

Similar Documents

Publication Publication Date Title
JP4860342B2 (en) Album creating apparatus, album creating method, and album creating program
US8111948B2 (en) Album creating apparatus, album creating method and computer readable medium
EP1701308B1 (en) Image layout apparatus, image layout method and image layout program
JP5084938B2 (en) Image extraction apparatus, image extraction method, and image extraction program
JP4762731B2 (en) Album creating apparatus, album creating method, and album creating program
JP5449460B2 (en) Image processing apparatus, image processing method, and image processing program
JP4605006B2 (en) Print data generation apparatus, print data generation method, and program
US20060279555A1 (en) Album creating apparatus, album creating method and program therefor
JP4945687B2 (en) Album creating apparatus, album creating method, and album creating program
KR20040029258A (en) Image editing method, image editing apparatus, program for implementing image editing method and recording medium recording program
JP4539318B2 (en) Image information evaluation method, image information evaluation program, and image information evaluation apparatus
US8102560B2 (en) Device for searching print target image adapted for printable area
US8910038B2 (en) Apparatus and method for image separation, layout, and templating
JP4841926B2 (en) Album creating apparatus, album creating method, and album creating program
CN1509072A (en) Image laying-out apparatus, method and programe thereof
JP2007122684A (en) Layout information generating apparatus, layout information generating method, layout information generating program, orderer apparatus, image creating system, image creating method and image creating program
JP2009237977A (en) Image output control device, image output control method, image output control program, and printer
JP4704225B2 (en) Album creating apparatus, album creating method, and album creating program
JP4781844B2 (en) Image output apparatus, image output method, and image output program
JP4442616B2 (en) Document editing apparatus, program, and storage medium
JP4984773B2 (en) Document editing apparatus and program
JP4052502B2 (en) Caricature image creation device, computer program, and recording medium
JP3869635B2 (en) Image processing apparatus, image processing method, recording medium, and print system
JP2008187256A (en) Motion image creating device, method and program
JP2009237978A (en) Image output control device, image output control method, image output control program, and printer

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061212

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110722

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111011

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111102

R150 Certificate of patent or registration of utility model

Ref document number: 4860342

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250