JP4860342B2 - Album creating apparatus, album creating method, and album creating program - Google Patents
Album creating apparatus, album creating method, and album creating program Download PDFInfo
- 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
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.
原稿ごとに画像領域の副走査方向の長さを検出した後に、検出された長さに基づいて、各原稿における画像領域の副走査方向の長さが一定になるように変倍する。そして、長尺紙における各画像領域の境界に仕切り線の画像を形成する。これにより、複数ページの原稿を長尺紙に記録してページごとに折り畳む場合に、折り目、すなわちページ境界線が文字部等の画像部分に重なることを防止する方法が提案されている。
しかしながら、特許文献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
例えば、ユーザ600は、撮像装置150により被写体610を撮像する。撮像装置150は、撮像画像を格納する。そして、撮像装置150は、メモリ、およびインターネット等のネットワークを介して、撮像された撮像画像をアルバム作成装置100に供給する。アルバム作成装置100は、受け取った複数の撮像画像を、予め定められた基準に従って分類する。そして、アルバム作成装置100は、分類された複数の撮像画像から主要なオブジェクトが含まれる画像を選択する。続いて、アルバム作成装置100は、選択した画像を含む複数の撮像画像を、アルバムの見開きページ200にレイアウトする。ここで、主要なオブジェクトとは、分類された画像に含まれるオブジェクトの中で、頻繁に登場するオブジェクトであってよい。また、分類された画像に含まれるオブジェクトの中で、より動きのあるオブジェクトを主要なオブジェクトとしてもよい。更には、分類された画像に複数のオブジェクトが含まれている場合には、オブジェクトの種類が人物であるオブジェクトを、主要なオブジェクトとしてもよい。
For example, the
そして、画像をレイアウトした後のアルバムの見開きページ200において、アルバムページのページ境界線208と撮像画像204に含まれる主要なオブジェクトである人物の画像とが重なっていた場合を考える。係る場合において、アルバム作成装置100は、主要なオブジェクトである人物の画像がページ境界線208と重ならないように、見開きページ200に対する主要なオブジェクトの位置を移動させる。そして、アルバム作成装置100は、見開きページ202を作成する。アルバム作成装置100は、作成した見開きページ202を、プリンタ、ディスプレイ等に出力することにより、アルバム220を作成する。
A case is considered in which the
本実施形態に係るアルバム作成装置100によれば、画像をアルバムのページにレイアウトする場合において、アルバムのページに含まれるページの折り目と画像に含まれる主要なオブジェクトとが重なる場合でも、画像に含まれる主要なオブジェクトの位置を、主要なオブジェクトがページの折り目に重ならない位置に自動的に移動させて、アルバムを作成することができる。これにより、アルバムの観賞者は、観賞を欲する主要オブジェクトをはっきり認識でき、観賞者の満足度を高めることができる。
According to the
図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
画像分類部20は、画像格納部10から受け取った複数の画像を、アルバムのページごとに分類する。また、画像分類部20は、複数の画像をアルバムにおける見開きページごとに分類してもよい。さらに、画像分類部20は、主要オブジェクト決定部44から、複数の撮像画像ごとに決定された主要なオブジェクトを受け取ってもよい。そして、例えば、画像分類部20は、撮像画像が撮像された位置、撮像時刻等に基づいて複数の画像を分類してよい。また、主要オブジェクト決定部44において決定された主要なオブジェクトに基づいて、複数の撮像画像を分類してもよい。なお、撮像画像は画像の一例である。
The
ここで、画像分類部20は、複数の見開きページごとにテーマを設定して、各テーマに沿うように複数の画像を分類してよい。テーマは、アルバム観賞者にとって、関心の高い内容であってよい。テーマは、例えば、旅行、運動会、ペット等であってよい。すなわち、テーマが旅行の場合には、画像分類部20は、ユーザが旅行先で撮像した複数の画像を場所ごとに分類する。また、テーマが運動会の場合には、画像分類部20は、複数の画像の中から運動会に関連する画像を抽出して、競技ごと、または人ごと等に分類する。さらに、テーマは、ペットに関するテーマ、特定のオブジェクトに関するテーマ等であってよい。いずれの場合であっても、見開きページのテーマは、撮像画像に含まれる主要なオブジェクトの種類に基づいて決定してよい。画像分類部20は、分類された複数の画像を、画像レイアウト部30へ供給する。
Here, the
画像レイアウト部30は、複数の画像をアルバムのページのそれぞれにレイアウトする。具体的には、画像レイアウト部30は、複数の画像を、折り目を含むページである折り目ページにレイアウトする。また、画像レイアウト部30は、画像分類部20から受け取った、分類された複数の画像を、アルバムの見開きページのそれぞれにレイアウトする。画像レイアウト部30は、分類された画像をアルバムの見開きページにレイアウトする場合において、画像が配置されるべきレイアウト枠が予め配置されたページテンプレートに画像をレイアウトしてもよい。この場合、当該ページテンプレートには、主要なオブジェクトを含む画像がレイアウトされるべきレイアウト枠が、予め定められていてもよい。また、画像レイアウト部30は、複数の画像を、アルバムの表表紙、背表紙、および裏表紙を含む表紙にレイアウトしてもよい。例えば、画像レイアウト部30は、アルバムの背表紙に画像をレイアウトしてよい。さらに、画像レイアウト部30は、画像を、CD−ROM、DVD等の形状を有するテンプレートにレイアウトしてもよい。画像レイアウト部30は、アルバムのページにレイアウトされた画像をオブジェクト抽出部40へ供給する。
The
オブジェクト抽出部40は、画像レイアウト部30から受け取った、アルバムの見開きページにレイアウトされた画像に含まれるオブジェクトの画像を抽出する。オブジェクト抽出部40は、オブジェクトの画像を、例えば、輪郭抽出処理、色分布分析処理等の画像処理により抽出する。そして、オブジェクト抽出部40は、抽出されたオブジェクトの画像、およびアルバムの見開きページにレイアウトされた画像を、オブジェクト種類特定部42へ供給する。オブジェクト種類特定部42は、オブジェクト抽出部40から受け取った、抽出されたオブジェクトの種類を特定する。
The
オブジェクト種類特定部42は、例えば、オブジェクト抽出部40から受け取ったオブジェクトの画像と、予めオブジェクト種類特定部42が有している、人物の体のパターン画像、動植物のパターン画像、自動車等の乗り物のパターン画像、および建物のパターン画像等とのパターンマッチングにより、オブジェクトの種類を特定してよい。また、特定されたオブジェクトが人物である場合には、オブジェクト種類特定部42は人物の顔領域をさらに特定してよい。人物の顔領域の特定は、人物の顔の輪郭形状、眼、鼻、口、眉等の顔における特徴的な部位の形状、および各部位の顔の中における位置等に基づいて特定できる。また、オブジェクト種類特定部42は、肌色抽出等によって人物の顔領域を特定してもよい。オブジェクト種類特定部42は、特定されたオブジェクトの種類、およびアルバムのページにレイアウトされた画像を、主要オブジェクト決定部44へ供給する。
The object
主要オブジェクト決定部44は、オブジェクト種類特定部42から受け取ったオブジェクトの種類が人物である場合に、当該オブジェクトを主要なオブジェクトと決定する。また、画像分類部20において分類された複数の撮像画像に含まれるオブジェクトのうち、当該分類された複数の撮像画像の中で予め定められた基準値以上の頻度で撮像されているオブジェクトを、主要なオブジェクトと決定してもよい。これにより、主要オブジェクト決定部44は、頻繁に撮像されている人物、およびオブジェクトを、主要なオブジェクトとして決定することができる。
When the object type received from the object
また、主要オブジェクト決定部44は、主要なオブジェクトが、撮像画像の中で占める位置を表す位置情報を算出する。ここで、位置情報は、座標に対応づけて算出してよい。例えば、主要オブジェクト決定部44は、撮像画像の中における主要なオブジェクトが占める範囲を、座標に対応づけて算出する。主要なオブジェクトが占める範囲は、例えば、撮像画像に対して座標軸を設定して、当該座標軸において主要なオブジェクトが占める範囲の座標として算出してよい。更に、主要オブジェクト決定部44は、主要なオブジェクトが人物であった場合には、当該人物の顔の位置を、座標に対応づけて算出してもよい。
Further, the main
更には、主要オブジェクト決定部44は、以下のように主要なオブジェクトを決定してもよい。まず、撮像装置150は複数の合焦距離において予備画像を撮像する。そして、主要オブジェクト決定部44は、撮像装置150から複数の予備画像を受け取り、各予備画像の空間周波数成分を算出する。そして、高周波数成分が予め定められたレベルよりも高い予備画像を撮像した合焦距離において撮像された撮像画像に含まれるオブジェクトを、主要オブジェクト決定部44は、主要なオブジェクトとして決定してもよい。なお、予備画像とは、合焦位置などの撮像条件を決定するために、撮像装置150が取得する画像であってよい。例えば、予備画像は、合焦位置ごとに撮像された、解像度が撮像画像よりも低い画像であってよい。主要オブジェクト決定部44は、主要なオブジェクトとして決定されたオブジェクトを含む画像、主要なオブジェクトの画像に対する位置を示す位置情報、および画像レイアウト部30においてアルバムのページにレイアウトされた画像を、境界判断部60、および画像分類部20へ供給する。
Furthermore, the main
境界位置格納部50は、折り目ページにおけるページの折り目の位置を格納する。また、境界位置格納部50は、アルバムの表紙の折り目の位置を格納してもよい。さらに、境界位置格納部50は、アルバムの見開きページにおける右ページと左ページとのページ境界線の位置を格納する。境界位置格納部50は、見開きページに座標軸を設定して、ページ境界線の位置を、座標に対応づけて格納してよい。また、境界位置格納部50は、アルバムの判型の種類に対応づけて、異なるページ境界線の位置を示す座標を格納してよい。なお、見開きページのページ境界線、ページの折り目の折り目線、および表紙の折り目の折り目線等は、ページの折り目の一例である。また、見開きページとは、本型のアルバムの右ページ、および左ページの他、折り込みページにおいて折り目をはさんだ複数のページであってよい。例えば、観音折りでアルバムを作成する場合には、見開きページにおける右ページと左ページとのページ境界線だけではなく、右ページ、および左ページの中心の折り目もページ境界線としてよい。更には、蛇腹折りのページを作成する場合、折込みページをページの間に差し込む場合等には、各ページの折り目を、ページ境界線としてもよい。また、境界位置格納部50は、画像レイアウト部30が画像をレイアウトするテンプレートがCD−ROM、DVD等のテンプレートである場合には、CD−ROM、DVD等の穴の位置を格納してもよい。境界位置格納部50は、ページの折り目の位置を、境界判断部60の制御に基づいて境界判断部60へ供給する。
The boundary
タイトル枠位置情報格納部52は、表表紙、背表紙、および裏表紙の少なくとも一つを含むアルバムの表紙に配置される文字列情報がレイアウトされるタイトル枠の位置をタイトル枠位置情報として格納する。例えば、タイトル枠位置情報格納部52は、アルバムの背表紙に配置される文字列情報がレイアウトされるタイトル枠の位置を、タイトル枠位置情報として格納してよい。なお、タイトル枠にレイアウトされる文字列情報は、アルバムのテーマを示す文字列等であってよい。例えば、アルバムのテーマが運動会である場合には、文字列情報は運動会を示す文字列であってよい。また、アルバムのテーマが旅行である場合には、文字列情報は旅行先の地名を含む文字列情報であってよい。タイトル枠位置情報格納部52は、境界判断部60の制御に基づいて、タイトル枠位置情報を境界判断部60に供給する。
The title frame position
境界判断部60は、画像レイアウト部30が折り目ページにレイアウトした画像における主要なオブジェクトが、境界位置格納部50から受け取ったページの折り目の位置に重なっているか否かを判断する。境界判断部60は、画像レイアウト部30がアルバムの表紙に画像をレイアウトした場合には、表紙の折り目の位置に画像における主要なオブジェクトが重なっているか否かを判断する。また、境界判断部60は、画像レイアウト部30が表紙にレイアウトした画像における主要なオブジェクトが、タイトル枠位置情報格納部から受け取ったタイトル枠の位置に重なっているか否かを判断してもよい。例えば、境界判断部60は、画像レイアウト部30が背表紙に画像をレイアウトした場合に、画像に含まれる主要なオブジェクトが、背表紙に配置されているタイトル枠の位置に重なっているか否かを判断してよい。なお、境界判断部60は、テンプレートがCD−ROM、DVD等のテンプレートである場合には、主要なオブジェクトがCD−ROMのテンプレートの穴に重なっているか否かを判断してもよい。境界判断部60は、画像における主要なオブジェクトがページの折り目の位置に重なっているか否かを示す情報、およびページにレイアウトされた画像等を主要オブジェクト移動部70に供給する。
The
また、境界判断部60は、主要オブジェクト決定部44から受け取った、画像レイアウト部30においてページにレイアウトされた画像における主要なオブジェクトが、境界位置格納部50から受け取ったページ境界線の位置と重なっているか否かを判断してもよい。例えば、境界判断部60は、ページの座標軸と撮像画像の座標軸とを一致させる。そして、境界判断部60は、ページ境界線に対応づけられた座標と画像に含まれる主要なオブジェクトが占める範囲に対応づけられた座標とを比較する。そして、境界判断部60は、主要なオブジェクトが占める範囲がページ境界線と重なる場合には、画像レイアウト部30においてレイアウトされた画像と共に、主要なオブジェクトがページ境界線と重なる旨を示す情報を、主要オブジェクト移動部70へ供給する。一方、主要なオブジェクトが占める範囲が、ページ境界線と重ならない場合には、境界判断部60は、画像レイアウト部30においてアルバムのページにレイアウトされた画像を、印刷部80、および表示部84へ供給する。
Further, the
主要オブジェクト移動部70は、境界判断部60においてページの折り目に主要なオブジェクトが重なっていると判断された場合に、主要なオブジェクトがページの折り目に重ならないように、折り目ページに対する主要なオブジェクトの位置を移動させる。また、画像レイアウト部30が画像をアルバムの表紙にレイアウトしたときに、表紙の折り目の位置に主要なオブジェクトが重なると境界判断部60において判断された場合には、主要オブジェクト移動部70は、主要なオブジェクトが表紙の折り目の位置と重ならないように、表紙に対する主要なオブジェクトの位置を移動させる。また、主要オブジェクト移動部70は、境界判断部60がタイトル枠の位置と主要なオブジェクトとが重なっていると判断した場合に、主要なオブジェクトがタイトル枠の位置に重ならないように、表紙に対する主要なオブジェクトの位置を移動させてもよい。例えば、画像レイアウト部30が画像をアルバムの背表紙にレイアウトしたときに、画像に含まれる主要なオブジェクトの位置が背表紙のタイトル枠の位置に重なると境界判断部60において判断された場合に、主要オブジェクト移動部70は、背表紙のタイトル枠に対する主要なオブジェクトの位置を移動させてよい。なお、主要オブジェクト移動部70が主要なオブジェクトを移動させる方向はタイトル枠から離れる方向であればよく、例えば、タイトル枠の位置を基準として上下左右のいずれの方向であってもよい。
The main
また、主要オブジェクト移動部70は、境界判断部60から見開きページのページ境界線と主要なオブジェクトとが重なっている旨の情報を受け取った場合に、主要なオブジェクトとページ境界線とが重ならないように、見開きページに対する主要なオブジェクトの位置を移動させる。例えば、主要オブジェクト移動部70は、主要なオブジェクトが含まれる画像を、見開きページに対してページ境界線から主要なオブジェクトが離れる方向に移動させることによって、主要なオブジェクトとページ境界線との重なりを回避できる。また、主要オブジェクト移動部70は、境界判断部60からページ境界線に主要なオブジェクトが重なっている旨の情報を受け取った場合に、見開きページにおける画像の位置を移動させずに、画像に含まれる主要なオブジェクトの位置を見開きページに対して移動させて、主要なオブジェクトとページ境界線とが重ならないようにしてもよい。
In addition, when the main
更に、主要オブジェクト移動部70は、画像に含まれる主要なオブジェクトが占める部分領域をトリミングする。そして、主要オブジェクト移動部70は、トリミング前の撮像画像がはめ込まれていたレイアウト枠に適合する大きさに、当該トリミングされた部分領域を拡大する。そして、主要オブジェクト移動部70は、見開きページのレイアウト枠に、当該拡大された部分領域をはめ込んでもよい。また、主要オブジェクト決定部44において、主要なオブジェクトが人物であると判断され、境界判断部60において、当該人物の顔がページ境界線に重なっていると判断された場合には、主要オブジェクト移動部70は、人物の顔がページ境界線に重ならないように、見開きページに対する人物の位置を移動させてもよい。主要オブジェクト移動部70は、主要なオブジェクトの位置を移動させた後のページを、印刷部80、および表示部84へ供給する。
Further, the main
なお、主要オブジェクト移動部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
印刷部80は、主要オブジェクト移動部70、および境界判断部60から受け取ったページを印刷してアルバムを作成する。また、印刷部80は、CD−ROM、DVD等の表面にページを印刷してもよい。さらに、モニタ等の表示装置を備える表示部84に、ページを電子アルバムとして表示してもよい。
The
本実施形態に係るアルバム作成装置100によれば、撮像された画像に含まれる人物等の主要なオブジェクトが、アルバムの折り目ページにおけるページの折り目に重なることを自動的に防止できる。これにより、観賞者は、観賞者にとって関心の高い主要なオブジェクトに折り目が重なっていない状態のアルバムを観賞でき、観賞者の満足度を高めることができる。
According to the
更に、本実施形態に係るアルバム作成装置100によれば、主要なオブジェクトとページ境界線とが重なっていない場合には、画像レイアウト部30がレイアウトしたアルバムを作成できる。これにより、画像のレイアウトについて自由度を確保できるので、鑑賞者が観賞していて飽きることのないアルバムを作成できる。
Furthermore, according to the
図3は、本実施形態に係る主要オブジェクト移動部70における画像の移動方法の一例を示す。主要オブジェクト移動部70は、境界判断部60においてページ境界線に主要なオブジェクトが重なっていると判断された画像を、見開きページに対して移動させる。また、主要オブジェクト移動部70は、見開きページにおいて予め定められているレイアウト枠の位置を、主要なオブジェクトがページ境界線と重ならない位置に移動させて、主要なオブジェクトを含む画像をはめ込んでもよい。更に、主要オブジェクト移動部70は、主要なオブジェクトがページ境界線と重ならないレイアウトを有するページを改めて選択して、主要なオブジェクトを含む画像をレイアウト枠にはめ込んでもよい。
FIG. 3 shows an example of an image moving method in the main
例えば、見開きページ300に対して画像310に含まれる主要なオブジェクトがページ境界線304と重なっていた場合には、主要オブジェクト移動部70は、画像310の見開きページ300に対する位置を移動させる。そして、主要オブジェクト移動部70は、見開きページ302のように画像312を移動させることにより、画像312に含まれる主要なオブジェクトがページ境界線306と重なることを回避する。
For example, when a main object included in the image 310 overlaps the
本実施形態に係るアルバム作成装置100によれば、撮像画像に含まれる主要なオブジェクトが、アルバムのページ境界線に重なっている場合に、当該画像の位置を自動的に移動させることができる。これにより、画像に含まれる主要なオブジェクトがアルバムの折り目に重なることを回避できるので、主要なオブジェクトの見栄えを損なうことを避けることができる。
According to the
図4は、本実施形態に係る主要オブジェクト移動部70における画像の移動方法の一例を示す。主要オブジェクト移動部70は、境界判断部60においてページ境界線に主要なオブジェクトが重なっていると判断された画像に対して、境界判断部60においてページ境界線に重なっていると判断された主要なオブジェクトを移動させる。そして、主要オブジェクト移動部70は、主要なオブジェクトがページ境界線に重ならないように、見開きページに対する主要なオブジェクトの位置を移動させる。
FIG. 4 shows an example of an image moving method in the main
例えば、見開きページ400において、画像410に含まれる主要なオブジェクトである主要オブジェクト414がページ境界線404の一部と重なっていた場合を考える。係る場合において、主要オブジェクト移動部70は、画像410を予め定められた範囲に分割して部分領域を設定する。そして、主要オブジェクト移動部70は、設定された各部分領域について空間周波数を算出する。続いて、主要オブジェクト移動部70は、空間周波数の高周波成分のレベルが小さい部分領域を選択する。そして、主要オブジェクト移動部70は、選択された部分領域を所定の方向に引き伸ばす。主要オブジェクト移動部70が部分領域を引き伸ばす方向は、例えば、部分領域の長手方向、短手方向等であってよい。また、主要オブジェクト移動部70が部分領域を引き伸ばす量は、主要オブジェクト414をページ境界線404と重ならない位置にトリミングした場合に、トリミング前の主要オブジェクト414が存在していた領域をカバーすることのできる量であってよい。なお、部分領域を引き伸ばす場合には、引き伸ばした方向の画素間に対して最近傍法、線形補間法等を用いて、補間処理を施してもよい。
For example, consider a case where the
そして、主要オブジェクト移動部70は、主要オブジェクト414をトリミングして、見開きページ400のページ境界線404に重ならない位置に移動させる。続いて、主要オブジェクト移動部70は、引き伸ばした部分領域を、トリミング前の主要オブジェクト414が存在していた領域に重ね合わせる。これにより、主要オブジェクト414を移動させた後の見開きページ402において、画像412に含まれる主要オブジェクト416がページ境界線406と重なることを回避できる。
Then, the main
図5は、主要オブジェクト移動部70における画像の移動方法の一例を示す。主要オブジェクト移動部70は、画像の主要なオブジェクトが含まれる部分領域をトリミングする。そして、主要オブジェクト移動部70は、トリミングされた部分領域を拡大して、見開きページのレイアウト枠に当該部分領域をはめ込んでもよい。なお、主要オブジェクト移動部70がトリミングする領域は、トリミングされた部分領域をレイアウト枠に適合するように拡大した場合に、ページ境界線に主要なオブジェクトが重ならない位置となるように決定してよい。
FIG. 5 shows an example of an image moving method in the main
例えば、見開きページ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
本実施形態に係るアルバム作成装置100によれば、撮像画像に含まれる主要なオブジェクトが、アルバムの折り目に重なっている場合に、ページに対して主要なオブジェクトを自動的に移動させることができる。これにより、主要なオブジェクトが折り目によって見にくくなることがなくなるので、観賞者の、主要なオブジェクトを観賞したいという欲求を十分に満たすことができる。
According to the
図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
ここで、画像レイアウト部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
図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
そして、画像レイアウト部30は、画像分類部20から受け取った複数の画像を、テンプレートのレイアウト枠にレイアウトする(S1020)。画像レイアウト部30は、複数の画像をテンプレートのレイアウト枠にレイアウトしてよい。続いて、画像レイアウト部30は、アルバムのページにレイアウトされた画像をオブジェクト抽出部40へ供給する。オブジェクト抽出部40は、アルバムのページにレイアウトされた画像に含まれるオブジェクトを抽出する(S1030)。そして、オブジェクト抽出部40において抽出されたオブジェクトは、オブジェクト種類特定部42へ供給される。オブジェクト種類特定部42は、オブジェクト抽出部40から受け取ったオブジェクトの種類を特定する(S1040)。オブジェクト種類特定部42において特定されたオブジェクトの種類は、主要オブジェクト決定部44へ供給される。
Then, the
そして、主要オブジェクト決定部44は、オブジェクト種類特定部42から受け取ったオブジェクトが人物である場合には、当該オブジェクトを主要なオブジェクトと決定する(S1050)。また、主要オブジェクト決定部44は、画像の中における主要なオブジェクトの位置情報を算出する。そして、主要オブジェクト決定部44は、アルバムのページにレイアウトされた画像、および主要なオブジェクトの画像における位置情報を境界判断部60へ供給する。境界判断部60は、アルバムのページの折り目と、主要オブジェクト決定部44から受け取った主要なオブジェクトとが重なっているか否かを判断する(S1060)。
If the object received from the object
主要なオブジェクトがページの折り目と重なっていた場合には(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
そして、印刷部80は、境界判断部60、および主要オブジェクト移動部70から受け取ったアルバムのページにレイアウトされた画像を印刷して、アルバムを作成する(S1080)。これにより、アルバム作成装置100は、画像に含まれる主要なオブジェクトがページの折り目に重なっているか否かを自動的に判断して、主要なオブジェクトがページの折り目に重なることを避けることができる。
The
図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
まず、画像レイアウト部30は、画像格納部10から受け取った複数の画像を、予め生成されたアルバムのテンプレートにレイアウトする。ここで、アルバムのテンプレートには、アルバムのページごとのテンプレートであるページテンプレート、およびアルバムの表紙のテンプレートが含まれていてよい。そして、ページテンプレートおよび表紙のテンプレートには、画像がレイアウトされるレイアウト枠、およびテンプレートに対して予め定められた位置に配置されるテンプレート画像が配置されていてよい。なお、テンプレート画像とは、アルバムのテンプレートに配置されるデザインアイコン、切り抜きオブジェクト配置枠、および文字列が配置されるテキスト枠等であってよい。具体的には、テンプレート画像は、アルバムのテンプレートの所定の位置に配置されて、当該アルバムを観賞したユーザに所定の視覚的効果を与える、予め定められた画像であってよい。例えば、テンプレート画像は、リボン、吹き出し、星、およびその他の幾何学形状を有する画像であってよい。
First, the
また、切り抜きオブジェクト配置枠は、画像から抽出したオブジェクトの画像を配置する枠であってよい。例えば、主要オブジェクト決定部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
テンプレート画像位置格納部54は、アルバムのテンプレートに配置されているテンプレート画像の、アルバムのテンプレートにおける位置を格納する。テンプレート画像位置格納部54は、アルバムのテンプレートに座標軸を設定して、テンプレート画像のテンプレートにおける位置を、座標データとして格納してよい。アルバムのテンプレートに複数のテンプレート画像が配置されている場合には、テンプレート画像位置格納部54は、複数のテンプレート画像のそれぞれに対応づけて、各テンプレート画像のアルバムのテンプレートにおける位置を格納する。テンプレート画像位置格納部54は、重なり判断部62の制御に基づいて、テンプレート画像のテンプレートにおける位置を示す情報を重なり判断部62に供給する。
The template image
重なり判断部62は、画像レイアウト部30においてアルバムのテンプレートにレイアウトされた画像における主要なオブジェクトが、テンプレート画像位置格納部54が格納しているテンプレート画像の位置に重なっているか否かを判断する。具体的には、重なり判断部62は、アルバムのテンプレートに配置されているテンプレート画像の位置と、レイアウト枠に配置された画像における主要なオブジェクトの位置とを比較する。ここで、画像における主要なオブジェクトの位置は以下のように算出してよい。すなわち、まず、オブジェクト抽出部40は、画像からオブジェクトを抽出するときに、抽出するオブジェクトの画像における位置を算出する。続いて、オブジェクト種類特定部42において、オブジェクト抽出部40が抽出したオブジェクトの種類が特定される。
The
そして、主要オブジェクト決定部44がオブジェクト種類特定部42の特定結果に基づいて主要なオブジェクトを決定したときに、主要オブジェクト決定部44は、オブジェクト抽出部40が算出した当該オブジェクトの画像における位置を、主要なオブジェクトの画像における位置としてよい。主要オブジェクト決定部44は、テンプレートのレイアウト枠にレイアウトされた画像における主要なオブジェクトの位置を、重なり判断部62に供給する。重なり判断部62は、テンプレート画像位置格納部54から取得したテンプレート画像の位置と、主要オブジェクト決定部44から受け取った主要なオブジェクトの位置とを比較する。そして、重なり判断部62は、主要なオブジェクトの画像における位置がテンプレート画像の位置に重なっているか否かを判断する。重なり判断部62は判断結果を、主要オブジェクト移動部70に供給する。
When the main
主要オブジェクト移動部70は、重なり判断部62がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した場合に、主要なオブジェクトがテンプレート画像に重ならないように、アルバムのページに対する主要なオブジェクトの位置を移動させる。例えば、主要オブジェクト移動部70は、主要なオブジェクトがテンプレート画像に重ならないように、テンプレート画像に対する主要なオブジェクトの位置を移動させる。すなわち、主要オブジェクト移動部70は、テンプレート画像に対して主要なオブジェクトが含まれる画像をテンプレート画像から離れる方向に移動させることによって、主要なオブジェクトがテンプレート画像に重ならないようにしてよい。
When the
また、主要オブジェクト移動部70は、重なり判断部62がテンプレート画像の位置に主要なオブジェクトが重なっていると判断した画像に対して、重なり判断部62がテンプレート画像の位置に重なっていると判断した主要なオブジェクトを移動させてもよい。例えば、主要オブジェクト移動部70は、画像に含まれる主要なオブジェクトをトリミングすることによって、テンプレート画像に対して主要なオブジェクトを移動させてもよい。これにより、主要オブジェクト移動部70は、テンプレートに対する画像の位置を移動させずに、画像に含まれる主要なオブジェクトの位置を移動させることによって、テンプレート画像と主要なオブジェクトとが重なることを防止できる。
The main
本実施形態に係るアルバム作成装置102によれば、アルバムのテンプレートのレイアウト枠に画像をレイアウトしたときに、テンプレートに配置されているテンプレート画像と画像に含まれる主要なオブジェクトとが重なる場合に、テンプレート画像と主要なオブジェクトとが重ならない位置に主要なオブジェクトを自動的に移動できる。これにより、画像における主要なオブジェクトがテンプレート画像と重なることにより、主要なオブジェクトを観賞することができなくなることを防止できる。
According to the
図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
主要オブジェクト移動部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
図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
画像格納部10は、複数の画像を格納している。画像格納部10は、主要オブジェクト領域判断部66および画像選択部75の制御に基づいて、画像を主要オブジェクト領域判断部66および画像選択部75に供給する。主要オブジェクト領域判断部66は、画像における、当該画像の主要なオブジェクトの領域を判断する。具体的には、まず、主要オブジェクト領域判断部66は、画像格納部10が格納している画像に含まれるオブジェクトを抽出する。例えば、主要オブジェクト領域判断部66は、画像に含まれるオブジェクトを、輪郭抽出処理、色分布分析処理等の画像処理により抽出する。この場合において、主要オブジェクト領域判断部66は、抽出したオブジェクトの画像における位置を算出する。そして、主要オブジェクト領域判断部66は、抽出したオブジェクトが主要なオブジェクトか否かを判断する。例えば、主要オブジェクト領域判断部66は、肌色抽出、人物の顔部品の画像を用いたパターンマッチング等により、抽出したオブジェクトが人物であるか否かを判断してよい。そして、主要オブジェクト領域判断部66は、抽出したオブジェクトが人物である場合に、当該オブジェクトを主要なオブジェクトと判断してよい。また、主要オブジェクト領域判断部66は、抽出したオブジェクトの画像における位置が画像の中心から予め定められた範囲にある場合に、抽出したオブジェクトを主要なオブジェクトと判断してもよい。
The
さらに、主要オブジェクト領域判断部66は、抽出したオブジェクトの画像に対する大きさである、オブジェクトサイズを算出する。例えば、主要オブジェクト領域判断部66は、画像に含まれるオブジェクトの所定のエッジから当該オブジェクトの他のエッジまでの距離のうち、最も大きな距離をオブジェクトサイズとして算出してよい。また、オブジェクトが人物の場合には、主要なオブジェクトは当該人物の顔領域であってよい。そして、主要オブジェクト領域判断部66は、当該顔領域の画像に対する大きさをオブジェクトサイズとして算出してもよい。係る場合においては、オブジェクトサイズは、人物の顔領域の外接円の半径であってよい。そして、主要オブジェクト領域判断部66は、抽出したオブジェクトのオブジェクトサイズが予め定められた値以上である場合に、抽出したオブジェクトを主要なオブジェクトと判断してもよい。主要オブジェクト領域判断部66は、画像における主要なオブジェクトの領域、例えば、主要なオブジェクトの画像における位置を示す情報、主要なオブジェクトの画像に対する大きさを示す情報を画像比較部64に供給する。
Further, the main object
アルバムテンプレート格納部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
例えば、ページテンプレート格納部900は、アルバムのテンプレートに含まれるページのテンプレートであるページテンプレートを格納する。ページテンプレート格納部900が格納するページテンプレートは、アルバムのページ、見開きページ、および表紙ページのテンプレートであってよい。また、ページテンプレート格納部900は、CD−ROM、DVD等の形状を有したテンプレートを格納していてもよい。折り目位置格納部910は、折り目を含むページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含む折り目の位置を格納する。ページテンプレートに折り目が複数存在する場合には、折り目位置格納部910は、複数の折り目の位置をそれぞれ格納してよい。なお、テンプレートの形状がCD−ROM、DVD等の形状をしている場合には、折り目位置格納部910は、ページテンプレートが含む折り目の位置の代わりに、CD−ROM等において画像を配置できない部分の位置、例えば、CD−ROM、DVD等の穴の位置を格納していてもよい。
For example, the page
レイアウト枠位置格納部920は、ページテンプレートが含むレイアウト枠のページテンプレートにおける位置を、レイアウト枠位置として格納する。なお、レイアウト枠は、画像格納部10が格納している画像がレイアウトされる枠、および画像格納部10が格納している画像から抽出されたオブジェクトがレイアウトされる枠であってよい。また、配置位置格納部930は、主要なオブジェクトが存在すべきレイアウト枠における位置を、主要オブジェクト配置位置として格納する。テンプレート画像位置格納部940は、テンプレート画像を含むページのページテンプレートに予め配置されたレイアウト枠に対する、当該ページテンプレートが含むテンプレート画像の位置を格納する。アルバムテンプレート格納部90が有する折り目位置格納部910は、画像比較部64の制御に基づいて、ページテンプレートの折り目の位置を画像比較部64に供給する。また、テンプレート画像位置格納部940は、画像比較部64の制御に基づいて、テンプレート画像の位置を画像比較部64に供給する。さらに、アルバムテンプレート格納部90は、ページテンプレート、レイアウト枠位置、配置位置、およびテンプレート画像位置を画像レイアウト部30の制御に基づいて、画像レイアウト部30に供給する。
The layout frame
画像比較部64は、折り目位置格納部910から受け取ったレイアウト枠に対する折り目の位置と、主要オブジェクト領域判断部66から受け取った画像における主要なオブジェクトの領域とを画像ごとに比較する。そして、画像比較部64は、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重なるか否かを判断する。なお、画像比較部64は、テンプレートの形状がCD−ROM等の形状である場合には、CD−ROM等の穴の位置と画像における主要なオブジェクトの領域とが重なるか否かを判断してもよい。また、画像比較部64は、テンプレート画像位置格納部940から受け取ったテンプレート画像の位置と、主要オブジェクト領域判断部66から受け取った画像における主要なオブジェクトの領域とを画像ごとに比較してよい。そして、画像比較部64は、レイアウト枠に画像を配置した場合に、テンプレート画像と画像の主要なオブジェクトとが重なるか否かを判断してもよい。画像比較部64は、判断結果を画像選択部75に供給する。
The
画像選択部75は、画像比較部64から受け取った判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートの折り目と画像の主要なオブジェクトとが重ならない画像を、画像格納部10から選択する。なお、画像選択部75は、テンプレートの形状がCD−ROM等の形状である場合には、CD−ROM等の穴の位置と画像の主要なオブジェクトとが重ならない画像を選択してもよい。また、画像選択部75は、画像比較部64から受け取った判断結果に基づいて、レイアウト枠に画像を配置した場合に、ページテンプレートのテンプレート画像と画像の主要なオブジェクトとが重ならない画像を選択してもよい。画像レイアウト部30は、画像選択部75から受け取った画像をページテンプレートのレイアウト枠にレイアウトしてアルバムのページ、または、アルバムの表紙のデータを作成する。画像レイアウト部30は作成したアルバムのページ、または、アルバムの表紙を印刷部80、または表示部84に供給する。
Based on the determination result received from the
印刷部80は、画像レイアウト部30から受け取ったアルバムのページ、または、アルバムの表紙を紙媒体等に印刷してアルバムを作成する。なお、印刷部80は、CD−ROM等の表面に画像を印刷してもよい。また、表示部84は、画像レイアウト部30から受け取ったアルバムのページ、または、アルバムの表紙をモニタ等の表示装置に電子アルバムとして表示する。なお、本実施形態に係るアルバム作成装置104は、画像レイアウト部30において作成されたアルバムのデータを、DVD等の記録媒体に記録する出力部をさらに備えていてもよい。
The
本実施形態に係るアルバム作成装置104によれば、アルバムのレイアウト枠に対するページの折り目の位置と画像に含まれる主要なオブジェクトの領域とを比較して、ページの折り目に主要なオブジェクトが重ならない画像を自動的に選択できる。これにより、アルバムを作成するときに、ページのレイアウト枠にページの折り目が重なっている場合でも、自動的にページの折り目に主要なオブジェクトが重ならない画像を選択してレイアウトできるので、主要なオブジェクトがページの折り目によって分断されず、見栄えのよいアルバムを作成できる。
According to the
また、本実施形態に係るアルバム作成装置104によれば、アルバムのレイアウト枠に対するテンプレート画像の位置と画像に含まれる主要なオブジェクトの領域とを比較して、テンプレート画像に主要なオブジェクトが重ならない画像を自動的に選択できる。これにより、アルバムを作成するときに、ページのレイアウト枠にテンプレート画像が重なっている場合でも、自動的にテンプレート画像に主要なオブジェクトが重ならない画像を選択してレイアウトできるので、主要なオブジェクトがテンプレート画像に重なって観賞することができなくなることを防止できる。
Further, according to the
図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
画像比較部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
画像比較部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
図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
ホスト・コントローラ1582は、RAM1520と、高い転送レートでRAM1520をアクセスするCPU1505およびグラフィック・コントローラ1575とを接続する。CPU1505は、ROM1510およびRAM1520に格納されたプログラムに基づいて動作して、各部を制御する。グラフィック・コントローラ1575は、CPU1505等がRAM1520内に設けたフレーム・バッファ上に生成する画像データを取得して、表示装置1580上に表示させる。これに代えて、グラフィック・コントローラ1575は、CPU1505等が生成する画像データを格納するフレーム・バッファを、内部に含んでもよい。
The
入出力コントローラ1584は、ホスト・コントローラ1582と、比較的高速な入出力装置である通信インターフェイス1530、ハードディスクドライブ1540、CD−ROMドライブ1560を接続する。通信インターフェイス1530は、ネットワークを介して他の装置と通信する。ハードディスクドライブ1540は、アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104内のCPU1505が使用するプログラムおよびデータを格納する。CD−ROMドライブ1560は、CD−ROM1595からプログラムまたはデータを読み取り、RAM1520を介してハードディスクドライブ1540に提供する。
The input /
また、入出力コントローラ1584には、ROM1510と、フレキシブルディスク・ドライブ1550、および入出力チップ1570の比較的低速な入出力装置とが接続される。ROM1510は、アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104が起動時に実行するブート・プログラム、アルバム作成装置100、アルバム作成装置102、およびアルバム作成装置104のハードウェアに依存するプログラム等を格納する。フレキシブルディスク・ドライブ1550は、フレキシブルディスク1590からプログラムまたはデータを読み取り、RAM1520を介してハードディスクドライブ1540に提供する。入出力チップ1570は、フレキシブルディスク・ドライブ1550、例えばパラレル・ポート、シリアル・ポート、キーボード・ポート、マウス・ポート等を介して各種の入出力装置を接続する。
The input /
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
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加え得ることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 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.
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
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に記載のアルバム作成装置。 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.
前記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.
前記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.
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)
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)
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)
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 |
-
2006
- 2006-05-10 JP JP2006131963A patent/JP4860342B2/en active Active
Cited By (1)
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 |