JP2009246890A - Image processor - Google Patents

Image processor Download PDF

Info

Publication number
JP2009246890A
JP2009246890A JP2008094138A JP2008094138A JP2009246890A JP 2009246890 A JP2009246890 A JP 2009246890A JP 2008094138 A JP2008094138 A JP 2008094138A JP 2008094138 A JP2008094138 A JP 2008094138A JP 2009246890 A JP2009246890 A JP 2009246890A
Authority
JP
Japan
Prior art keywords
image
frame
file
information
moving image
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.)
Granted
Application number
JP2008094138A
Other languages
Japanese (ja)
Other versions
JP4760849B2 (en
Inventor
Tomohiko Hasegawa
智彦 長谷川
Maki Kondo
真樹 近藤
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2008094138A priority Critical patent/JP4760849B2/en
Priority to US12/414,318 priority patent/US8320717B2/en
Publication of JP2009246890A publication Critical patent/JP2009246890A/en
Application granted granted Critical
Publication of JP4760849B2 publication Critical patent/JP4760849B2/en
Priority to US13/662,920 priority patent/US8588532B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor that outputs an easy-to-view list of images. <P>SOLUTION: The number of frame images extracted from a moving image is determined for one or each of a plurality of moving image information stored in a media card, and frame image information corresponding to the determined number of frame images are acquired from respective moving image files. The image list 20 is output wherein frame images corresponding to the frame image information or reduced or enlarged images of the frame images are arranged as index images 21 based upon the acquired frame image information. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は画像処理装置に関するものである。   The present invention relates to an image processing apparatus.

近年では、デジタルカメラを用いて動画像と静止画とを撮影できるため、撮影シーンに応じて、動画像と静止画像とを使い分けて撮影するケースが存在している。例えば、集合写真などの動きのないシーンは静止画で撮影し、運動会の場面など、動きのあるシーンは動画像で撮影することができる。   In recent years, since a moving image and a still image can be shot using a digital camera, there are cases in which a moving image and a still image are shot separately according to a shooting scene. For example, a scene without motion such as a group photo can be shot as a still image, and a scene with motion such as a sports day scene can be shot as a moving image.

また、このようなデジタルカメラで撮影した動画像や静止画を印刷出力し、またはディスプレイに表示する装置も提案されている。
特開2005−130254号公報 特開平9−322113号公報
There has also been proposed an apparatus that prints out a moving image or a still image captured by such a digital camera or displays it on a display.
JP 2005-130254 A JP 9-322113 A

しかしながら、上述のような装置では、単に、動画を構成するフレーム画像のインデックス画像と、静止画のインデックス画像とを単純に並べているだけにすぎず、十分に閲覧性が良い画像一覧を提供できていない、という問題点があった。   However, the apparatus as described above merely provides a simple list of frame image index images and still image index images that constitute a moving image, and can provide an image list with sufficiently good browsing properties. There was a problem of not.

例えば、動画は多数のフレーム画像から構成されるから、その動画の内容を把握するためには、なるべく多くのフレーム画像を閲覧できるような画像一覧を出力することが好ましい。しかしながら、閲覧に時間がかかること、インクやトナー、記録用紙も大量に消費することを鑑みると、現実的ではない。   For example, since a moving image is composed of a large number of frame images, it is preferable to output an image list that allows browsing of as many frame images as possible in order to grasp the contents of the moving image. However, in view of the time taken for browsing and the large amount of ink, toner, and recording paper consumed, it is not realistic.

一方、各動画像について、一律の数のインデックス画像を形成することとすると、例えば、録画時間が極めて長い動画について、ほんの少しの数のインデックス画像しか形成されず、ユーザはその動画の内容を的確に把握することができないという問題点がある。また、反対に、録画時間が極めて短時間であり、1枚のインデックス画像を見るだけでその内容を把握できるような動画についてまで、複数枚のインデックス画像を形成すると、ほとんど内容に変化のない冗長なインデックス画像が多数形成されることとなり、画像一覧の閲覧性を悪化させるおそれがある。   On the other hand, if a uniform number of index images are formed for each moving image, for example, only a small number of index images are formed for a video with a very long recording time, and the user can accurately determine the contents of the video. There is a problem that cannot be grasped. On the other hand, when a plurality of index images are formed for a video that has a very short recording time and can be grasped only by looking at one index image, there is almost no change in content. As a result, a large number of such index images are formed, and there is a possibility that the browseability of the image list is deteriorated.

本発明は、上記の問題点を解決するためになされたものであり、閲覧性の良い画像一覧を出力可能な画像処理装置を提供することを目的としている。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an image processing apparatus capable of outputting a list of images with good viewability.

この目的を達成するために、請求項1記載の画像処理装置は、動画像を再生するための動画像情報を処理するものであって、動画像から抽出するフレーム画像の枚数を、記憶媒体に格納された1または複数の動画像情報の各々について決定する抽出フレーム数決定手段と、その抽出フレーム数決定手段により決定される枚数のフレーム画像に対応したフレーム画像情報を、前記動画像情報の各々から取得するフレーム画像取得手段と、そのフレーム画像取得手段により取得されるフレーム画像情報に基づいて、そのフレーム画像情報に対応するフレーム画像、またはそのフレーム画像の縮小もしくは拡大画像が動画インデックス画像として配置された画像一覧を出力する出力手段とを備える。   In order to achieve this object, an image processing apparatus according to claim 1 processes moving image information for reproducing a moving image, and stores the number of frame images extracted from the moving image in a storage medium. Extracted frame number determining means for determining each of one or a plurality of stored moving image information, and frame image information corresponding to the number of frame images determined by the extracted frame number determining means, for each of the moving image information Based on the frame image acquisition means acquired from the frame image information acquired by the frame image acquisition means, a frame image corresponding to the frame image information, or a reduced or enlarged image of the frame image is arranged as a moving image index image. Output means for outputting the list of images.

請求項2記載の画像処理装置は、請求項1記載の画像処理装置において、前記出力手段は、静止画像を出力するための静止画像情報が前記記憶媒体に記憶されている場合、その静止画像情報に対応した静止画像またはその静止画像の縮小もしくは拡大画像で構成される静止画インデックス画像を、前記動画インデックス画像と共に配置した画像一覧を出力する。   The image processing apparatus according to claim 2 is the image processing apparatus according to claim 1, wherein the output means stores still image information for outputting a still image when the storage medium stores the still image information. An image list in which a still image index image composed of a still image corresponding to the above or a reduced or enlarged image of the still image is arranged together with the moving image index image is output.

請求項3記載の画像処理装置は、請求項2記載の画像処理装置において、前記動画インデックス画像と、前記静止画インデックス画像とを含むインデックス画像群が、所定の条件に従った順序で配列されるように、前記インデックス画像群を構成するインデックス画像の各々について、配置順序を決定する順序決定手段を備え、前記出力手段は、前記順序決定手段により決定された配置順序で前記インデックス画像群が配列された画像一覧を出力する。   The image processing device according to claim 3 is the image processing device according to claim 2, wherein the index image group including the moving image index image and the still image index image is arranged in an order according to a predetermined condition. As described above, for each of the index images constituting the index image group, there is provided order determining means for determining an arrangement order, and the output means arranges the index image groups in the arrangement order determined by the order determining means. Output image list.

請求項4記載の画像処理装置は、請求項3記載の画像処理装置において、静止画像情報、及び、フレーム画像情報の各々について、画像情報が生成された時刻を特定する時刻情報を取得する時刻情報取得手段を備え、前記配置順序決定手段は、前記時刻情報取得手段により取得される時刻情報を前記所定の条件とし、時刻情報により特定される時刻の昇順または降順となるように、前記インデックス画像群を構成するインデックス画像の各々について、配置順序を決定する。   According to a fourth aspect of the present invention, there is provided the image processing device according to the third aspect, wherein the time information for obtaining the time information specifying the time when the image information is generated is obtained for each of the still image information and the frame image information. The arrangement order determining means includes the index image group so that the time information acquired by the time information acquisition means is the predetermined condition and the time specified by the time information is in ascending order or descending order. The arrangement order is determined for each of the index images constituting the.

請求項5記載の画像処理装置は、請求項1から4のいずれかに記載の画像処理装置において、前記抽出フレーム数決定手段は、前記動画像の録画時間長さが大であるほど、その動画像から抽出するフレーム画像の枚数が大となるように、前記動画像情報の各々について、フレーム画像の枚数を決定する。   The image processing device according to claim 5 is the image processing device according to any one of claims 1 to 4, wherein the extracted frame number determination means increases the moving image recording time length as the moving image recording time length increases. The number of frame images is determined for each piece of moving image information so that the number of frame images extracted from the image becomes large.

請求項6記載の画像処理装置は、請求項1から4のいずれかに記載の画像処理装置において、前記動画像に含まれるシーンの切り替えを検出する切り替え検出手段を備え、前記抽出フレーム数決定手段は、前記切り替え検出手段により検出されるシーン切り替え回数が大であるほど、その動画像から抽出するフレーム画像の枚数が大となるように、前記動画像情報の各々について、フレーム画像の枚数を決定する。   The image processing device according to claim 6 is the image processing device according to any one of claims 1 to 4, further comprising switching detection means for detecting switching of a scene included in the moving image, wherein the number of extracted frames is determined. Determines the number of frame images for each of the moving image information so that the larger the number of scene switching detected by the switching detection means, the larger the number of frame images extracted from the moving image. To do.

請求項7記載の画像処理装置は、請求項6記載の画像処理装置において、前記フレーム画像取得手段は、動画像に複数のシーンが含まれる場合、各シーンから少なくとも1枚のフレーム画像が抽出されるように、シーン毎にフレーム画像情報を取得する。   The image processing device according to claim 7 is the image processing device according to claim 6, wherein when the moving image includes a plurality of scenes, the frame image acquisition unit extracts at least one frame image from each scene. As described above, frame image information is acquired for each scene.

請求項8記載の画像処理装置は、請求項1から4のいずれかに記載の画像処理装置において、前記抽出フレーム数決定手段は、動画像に含まれるフレーム画像の総数が大であるほど、その動画像から抽出するフレーム画像の枚数が大となるように、前記動画像情報の各々について、フレーム画像の枚数を決定する。   The image processing device according to claim 8 is the image processing device according to any one of claims 1 to 4, wherein the extraction frame number determination means increases the total number of frame images included in the moving image. The number of frame images is determined for each piece of moving image information so that the number of frame images extracted from the moving image becomes large.

請求項9記載の画像処理装置は、請求項2記載の画像処理装置において、前記抽出フレーム数決定手段は、前記出力手段により出力する前記画像一覧に配置する、前記静止画インデックス画像の個数に基づいて、前記動画像から抽出するフレーム画像の枚数を決定する。   The image processing device according to claim 9 is the image processing device according to claim 2, wherein the extracted frame number determination means is based on the number of the still image index images arranged in the image list output by the output means. Thus, the number of frame images to be extracted from the moving image is determined.

請求項1記載の画像処理装置によれば、動画像から抽出するフレーム画像の枚数が動画像情報の各々について決定され、その決定された枚数のフレーム画像に対応した動画インデックス画像が、画像一覧に配置されて出力される。よって、動画像毎に適切な個数の動画インデックス画像が配置された、閲覧性の良い画像一覧を出力することができる。   According to the image processing apparatus of the first aspect, the number of frame images extracted from the moving image is determined for each piece of moving image information, and the moving image index image corresponding to the determined number of frame images is included in the image list. Arranged and output. Therefore, it is possible to output an image list with good browsing properties in which an appropriate number of moving image index images are arranged for each moving image.

請求項2記載の画像処理装置によれば、請求項1記載の画像処理装置の奏する効果に加え、記憶媒体に、静止画像情報と動画像情報とが混在している場合であっても、静止画像情報と動画像情報の内容をまとめて視認できるような、閲覧性の良い画像一覧を出力することができる   According to the image processing apparatus of the second aspect, in addition to the effect produced by the image processing apparatus of the first aspect, even if the storage medium includes a mixture of still image information and moving image information, It is possible to output an easy-to-view image list that allows you to visually recognize the contents of image information and moving image information.

請求項3記載の画像処理装置は、請求項2記載の画像処理装置の奏する効果に加え、動画インデックス画像と、静止画インデックス画像とを含むインデックス画像群が、所定の条件に従った配置順序で配列された、閲覧性の良い画像一覧を出力することができる。   According to a third aspect of the present invention, in addition to the effects produced by the second aspect, the index image group including the moving image index image and the still image index image is arranged in an arrangement order according to a predetermined condition. It is possible to output a list of images that are arranged and have good readability.

請求項4記載の画像処理装置によれば、請求項3記載の画像処理装置の奏する効果に加え、生成時刻順でインデックス画像が整列された、ユーザにとって閲覧性のよい画像一覧を出力できる。   According to the image processing apparatus of the fourth aspect, in addition to the effect produced by the image processing apparatus of the third aspect, it is possible to output an image list that is easy to view for the user in which the index images are arranged in order of generation time.

請求項5記載の画像処理装置によれば、請求項1から4のいずれかに記載の画像処理装置の奏する効果に加え、録画時間が長い動画像情報については、より多数の動画インデックス画像が、画像一覧に配置されることとなる。録画時間が長い動画像情報には、より多くのシーンが撮影されていることが予想されるので、多数の動画インデックス画像を画像一覧に配置することにより、その動画像情報の内容を、ユーザに的確に把握させることができる。   According to the image processing device according to claim 5, in addition to the effect produced by the image processing device according to any one of claims 1 to 4, for moving image information having a long recording time, a larger number of moving image index images It will be placed in the image list. For video information with a long recording time, it is expected that more scenes have been shot. Therefore, by placing a large number of video index images in the image list, the content of the video information is given to the user. It can be accurately grasped.

また、録画開始から録画終了までに要した時間(すなわち録画時間)に対して再生時間が長いスローモーション映像についても、録画時間が短ければ、フレーム画像の抽出枚数として少ない値が決定されるので、内容を把握するために適切な数の動画インデックス画像を画像一覧に配置することができる。   Also, for slow motion video with a long playback time with respect to the time required from the start of recording to the end of recording (that is, the recording time), if the recording time is short, a smaller value is determined as the number of extracted frame images. An appropriate number of moving image index images can be arranged in the image list in order to grasp the contents.

請求項6記載の画像処理装置によれば、請求項1から4のいずれかに記載の画像処理装置の奏する効果に加え、シーン切り替え回数が大である動画像情報については、より多数の動画インデックス画像が、画像一覧に配置されることとなる。シーン切り替え回数が大である動画像情報については、多数の動画インデックス画像を画像一覧に配置することにより、その動画像情報の内容を、ユーザに的確に把握させることができる。   According to the image processing device of the sixth aspect, in addition to the effect produced by the image processing device according to any one of the first to fourth aspects, a larger number of moving image indexes are provided for moving image information having a large number of scene switching times. The image is arranged in the image list. For moving image information with a large number of scene switching times, by arranging a large number of moving image index images in the image list, the user can accurately grasp the contents of the moving image information.

請求項7記載の画像処理装置によれば、請求項6記載の画像処理装置の奏する効果に加え、動画像に複数のシーンが含まれる場合、シーン毎に少なくとも1つの動画インデックス画像が画像一覧に配置されることとなるので、動画像情報に記録された多数のシーンの各々を、より的確に把握させることができる。   According to the image processing apparatus of the seventh aspect, in addition to the effect produced by the image processing apparatus of the sixth aspect, when the moving image includes a plurality of scenes, at least one moving image index image is included in the image list for each scene. Since they are arranged, each of a large number of scenes recorded in the moving image information can be grasped more accurately.

請求項8記載の画像処理装置によれば、請求項1から4のいずれかに記載の画像処理装置の奏する効果に加え、動画像に多数のフレーム画像が含まれる動画像情報については、より多数の動画インデックス画像が、画像一覧に配置されることとなる。多数のフレーム画像で構成される動画像には、より多くのシーンが含まれていることが予想されるので、より多数の動画インデックス画像を画像一覧に配置することにより、その動画像情報の内容を、ユーザに的確に把握させることができる。   According to the image processing device of the eighth aspect, in addition to the effect produced by the image processing device according to any one of the first to fourth aspects, a larger number of moving image information including a large number of frame images in the moving image. The moving image index images are arranged in the image list. Since a moving image composed of a large number of frame images is expected to contain more scenes, the content of the moving image information can be obtained by placing a larger number of video index images in the image list. Can be accurately grasped by the user.

請求項9記載の画像処理装置によれば、請求項2記載の画像処理装置の奏する効果に加え、画像一覧に配置する、静止画インデックス画像の個数に基づいて、適切な数の動画インデックス画像を画像一覧に配置することができ、ユーザにとって閲覧性の良い画像一覧を出力できる。   According to the image processing device of the ninth aspect, in addition to the effect produced by the image processing device of the second aspect, an appropriate number of moving image index images are obtained based on the number of still image index images arranged in the image list. The image list can be arranged in the image list, and an image list that is easy to view for the user can be output.

以下、本発明の好ましい実施形態について、添付図面を参照して説明する。図1は、本発明の画像処理装置の第1実施形態である多機能周辺装置(以下、「MFP(Multi Function Peripheral)」と称す)1の外観構成を示した斜視図である。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a perspective view showing an external configuration of a multifunction peripheral device (hereinafter referred to as “MFP (Multi Function Peripheral)”) 1 which is a first embodiment of an image processing apparatus of the present invention.

このMFP1は、フォトキャプチャー機能、コピー機能、スキャナ機能、メディアキャプチャ機能などの各種機能を有する多機能周辺装置である。メディアキャプチャ機能では、後述するスロット部6に装着されたメディアカード(特許請求の範囲の記憶媒体の一例)から画像ファイルを読み出して印刷出力する処理、メディアカードから読み出した画像ファイルに対応した画像をLCD5に表示出力する処理、スキャナ機能により読み取られた画像データをメディアカードに保存する処理などを実行できる。   The MFP 1 is a multifunction peripheral device having various functions such as a photo capture function, a copy function, a scanner function, and a media capture function. In the media capture function, a process for reading out an image file from a media card (an example of a storage medium in claims) loaded in a slot unit 6 to be described later and printing it out, an image corresponding to the image file read from the media card is displayed. A process of displaying and outputting on the LCD 5 and a process of storing image data read by the scanner function in a media card can be executed.

特に、本実施形態のMFP1は、スロット部6に装着されたメディアカード内の画像ファイルの内容をユーザが把握できるように、インデックス画像を配列した閲覧性の良い画像一覧を印刷するように構成されているが、詳細は後述する。   In particular, the MFP 1 according to the present embodiment is configured to print a list of images with good readability in which index images are arranged so that the user can grasp the contents of the image file in the media card mounted in the slot unit 6. The details will be described later.

MFP1の上部には、原稿を読み取るためのスキャナ2が配置されている。また、筐体内部には記録用紙に画像を印刷する装置として、所謂インクジェットプリンタで構成されたプリンタ3が内蔵されている。   A scanner 2 for reading a document is arranged on the top of the MFP 1. In addition, a printer 3 composed of a so-called inkjet printer is built in the housing as a device for printing an image on recording paper.

また、MFP1の前面には、スロット部6が設けられている。このスロット部6には、コンパクトフラッシュ(登録商標)、SDメモリカードなどの各種メディアカードを直接挿入できるカードスロットが設けられている。   A slot 6 is provided on the front surface of the MFP 1. The slot portion 6 is provided with a card slot into which various media cards such as a compact flash (registered trademark) and an SD memory card can be directly inserted.

また、原稿カバー体の前方には、操作パネルが設けられており、複数のキーやタッチパネルで構成される操作部4、およびLCD5を具備する。MFP1は、LCD5に操作手順や実行中の処理の状態を表示させると共に、操作部4の操作に対応する情報を表示させる。   An operation panel is provided in front of the document cover body, and includes an operation unit 4 including a plurality of keys and a touch panel, and an LCD 5. The MFP 1 displays the operation procedure and the status of the process being executed on the LCD 5 and also displays information corresponding to the operation of the operation unit 4.

図2を参照して、MFP1の電気的構成について説明する。図2は、MFP1の電気的構成を示すブロック図である。MFP1は、CPU11、ROM12、RAM13、EEPROM14、スキャナ2、プリンタ3、操作部4、LCD5、スロット部6を主に有している。   The electrical configuration of the MFP 1 will be described with reference to FIG. FIG. 2 is a block diagram showing an electrical configuration of the MFP 1. The MFP 1 mainly includes a CPU 11, a ROM 12, a RAM 13, an EEPROM 14, a scanner 2, a printer 3, an operation unit 4, an LCD 5, and a slot unit 6.

このうち、CPU11、ROM12、RAM13、EEPROM14は、バスライン26を介して互いに接続されている。また、スキャナ2、プリンタ3、操作部4、LCD5、スロット部6、バスライン26は、入出力ポート27を介して互いに接続されている。   Among these, the CPU 11, ROM 12, RAM 13, and EEPROM 14 are connected to each other via a bus line 26. The scanner 2, the printer 3, the operation unit 4, the LCD 5, the slot unit 6, and the bus line 26 are connected to each other via an input / output port 27.

CPU11は、ROM12、RAM13やEEPROM14に記憶される固定値やプログラムに従って、MFP1が有している各機能の制御や、入出力ポート27と接続された各部を制御するものである。   The CPU 11 controls each function of the MFP 1 and controls each unit connected to the input / output port 27 according to fixed values and programs stored in the ROM 12, RAM 13, and EEPROM 14.

ROM12は、CPU11によって実行される制御プログラム12aを記憶すると共に、電源遮断後も内容を保持可能な不揮発性のメモリである。制御プログラム12aは、後述する図7〜図13にフローチャートで示す処理を実行するためのプログラムを含んでいる。   The ROM 12 is a non-volatile memory that stores the control program 12a executed by the CPU 11 and can retain the contents even after the power is turned off. The control program 12a includes a program for executing processing shown in flowcharts in FIGS.

ROM12には、さらに横方向画像配置数記憶領域12b、1ページ画像配置数記憶領域12cが設けられている。   The ROM 12 further includes a horizontal image arrangement number storage area 12b and a one-page image arrangement number storage area 12c.

横方向画像配置数記憶領域12bは、「横方向の配置枚数」を記憶する領域である。「横方向の配置枚数」は、画像一覧において、横一列に並べて配置可能なインデックス画像の数を示す値である。なお、本実施形態のMFP1には、予め印刷用紙サイズ(L版、A4、Letterなど)、および印刷モード(高精細、普通、高速など)に応じて、複数種類の「横方向の配置枚数」が記憶されており、後述する配置印刷処理(図12,図13参照)では、この中から適した値を読み出して用いるものとして説明する。   The horizontal image arrangement number storage area 12b is an area for storing “the number of horizontal arrangements”. “Number of sheets arranged in the horizontal direction” is a value indicating the number of index images that can be arranged in a horizontal row in the image list. Note that the MFP 1 according to the present embodiment includes a plurality of types of “horizontal arrangement number” according to the print paper size (L, A4, Letter, etc.) and the print mode (high definition, normal, high speed, etc.) in advance. In the arrangement printing process (see FIGS. 12 and 13), which will be described later, an appropriate value is read out and used.

1ページ画像配置数記憶領域12cは、「1ページ内画像配置数」を記憶する領域である。「1ページ内画像配置数」は、1ページ分の記録用紙に形成する画像一覧に、最大で何個分のインデックス画像を配置可能であるかを示す値である。なお、本実施形態においては、予め印刷用紙サイズおよび印刷モードに応じて、複数種類の「1ページ内画像配置数」が記憶されており、後述する配置印刷処理(図12,図13参照)では、この中から適した値を読み出して用いるものとして説明する。   The one-page image arrangement number storage area 12c is an area for storing “the number of image arrangements in one page”. “Number of images per page” is a value indicating the maximum number of index images that can be arranged in an image list formed on one page of recording paper. In this embodiment, a plurality of types of “number of images per page” are stored in advance according to the print paper size and print mode, and in the layout printing process (see FIGS. 12 and 13) described later. In the following description, a suitable value is read out and used.

RAM13は、MFP1の各操作の実行時に各種のデータを一時的に記憶するためのメモリであり、処理ファイル数記憶領域13b、処理画像総数記憶領域13c、生成ページ数記憶領域13d、ファイル情報記憶領域13h、配置情報記憶領域13i、フレーム画像情報記憶領域13j、デコードデータ記憶領域13k、カウンタ記憶領域13m、動画像ファイル数記憶領域13o、ダイナミックレンジ情報管理領域13s、第1調査フレーム記憶領域13t、第2調査フレーム記憶領域13uが設けられている。   The RAM 13 is a memory for temporarily storing various data when each operation of the MFP 1 is executed. The processed file number storage area 13b, the processed image total number storage area 13c, the generated page number storage area 13d, and the file information storage area 13h, arrangement information storage area 13i, frame image information storage area 13j, decoded data storage area 13k, counter storage area 13m, moving image file number storage area 13o, dynamic range information management area 13s, first survey frame storage area 13t, first Two survey frame storage areas 13u are provided.

ここで、本実施形態で用いる用語の意味を説明する。本実施形態において、「動画像」とは、多数のフレーム画像を切り替え表示することにより再生される画像を意味している。「動画像ファイル(特許請求の範囲に記載の動画像情報の一例)」は、動画像を再生するためのファイルであって、例えば、AVI動画ファイル、クイックタイム動画ファイルなどで構成される。ただし、動画像を再生可能な情報であれば、どのような形式のファイルであっても差し支えない。また、本実施形態において、「フレーム画像情報」は、動画像を構成する1のフレーム画像に対応した情報を意味している。   Here, the meaning of terms used in the present embodiment will be described. In the present embodiment, “moving image” means an image reproduced by switching and displaying a large number of frame images. A “moving image file (an example of moving image information described in claims)” is a file for reproducing a moving image, and includes, for example, an AVI moving image file, a quick time moving image file, and the like. However, any information file can be used as long as it can reproduce a moving image. In the present embodiment, “frame image information” means information corresponding to one frame image constituting a moving image.

処理ファイル数記憶領域13bは、「総処理ファイル数」を記憶する領域である。「総処理ファイル数」は、メディアカードに格納される静止画像ファイル(特許請求の範囲に記載の静止画像情報の一例)と動画像ファイルの合計を示す値である。   The processing file number storage area 13b is an area for storing the “total number of processing files”. The “total number of processed files” is a value indicating the total of still image files (an example of still image information described in claims) and moving image files stored in the media card.

処理画像総数記憶領域13cは、「処理画像総数」を記憶する領域である。「処理画像総数」は、画像一覧内に形成するインデックス画像の総数を示す値である。生成ページ数記憶領域13dは、「生成ページ数」を記憶する領域である。「生成ページ数」は、後述する配置印刷処理(図12、図13)の実行により出力する画像一覧の総ページ数を示す値である。   The processed image total number storage area 13c is an area for storing “total number of processed images”. The “total number of processed images” is a value indicating the total number of index images formed in the image list. The generated page number storage area 13d is an area for storing “number of generated pages”. The “number of generated pages” is a value indicating the total number of pages of the image list output by executing the layout printing process (FIGS. 12 and 13) described later.

ファイル情報記憶領域13h、配置情報記憶領域13iについては、図5、図6を参照して後述する。   The file information storage area 13h and the arrangement information storage area 13i will be described later with reference to FIGS.

フレーム画像情報記憶領域13jは、動画ファイルから抽出されるフレーム画像情報を格納する領域である。デコードデータ記憶領域13kは、フレーム画像情報をデコード処理した結果、または、静止画像ファイルをデコード処理した結果を記憶する領域である。   The frame image information storage area 13j is an area for storing frame image information extracted from the moving image file. The decoded data storage area 13k is an area for storing a result of decoding the frame image information or a result of decoding the still image file.

カウンタ記憶領域13mは、各種カウンタを記憶する領域である。動画像ファイル数記憶領域13oは、メディアカードが格納する動画像ファイルの個数を記憶する領域である。   The counter storage area 13m is an area for storing various counters. The moving image file number storage area 13o is an area for storing the number of moving image files stored in the media card.

ダイナミックレンジ情報管理領域13s、第1調査フレーム記憶領域13t、第2調査フレーム記憶領域13uは、第1実施形態のMFP1では用いなくても良いため、第2実施形態と共に説明することとし、ここでの説明は省略する。EEPROM14は、書換可能な不揮発性のメモリである。   The dynamic range information management area 13s, the first survey frame storage area 13t, and the second survey frame storage area 13u may not be used in the MFP 1 of the first embodiment, and will be described together with the second embodiment. Description of is omitted. The EEPROM 14 is a rewritable nonvolatile memory.

図3は、MFP1が印刷する、1ページ分の画像一覧20の一例を示す図である。図3に示すように、画像一覧20には、動画像ファイルの内容を示す動画インデックス画像21と、静止画像ファイルの内容を示す静止画インデックス画像22とからなる画像群が配列されている。   FIG. 3 is a diagram showing an example of the image list 20 for one page printed by the MFP 1. As shown in FIG. 3, the image list 20 includes an image group including a moving image index image 21 indicating the contents of a moving image file and a still image index image 22 indicating the contents of a still image file.

詳細は図4を参照して後述するが、MFP1は、動画像から抽出するフレーム画像の枚数を、メディアカードに格納された動画像ファイルの各々について、個別に決定する。   Although details will be described later with reference to FIG. 4, the MFP 1 individually determines the number of frame images to be extracted from the moving image for each moving image file stored in the media card.

そして、決定した枚数のフレーム画像に対応したフレーム画像情報を、動画像ファイルの各々から抽出(取得)し、その抽出したフレーム画像情報に対応するフレーム画像を、規定サイズに縮小もしくは拡大した画像を、動画インデックス画像21として画像一覧20に配置する。   Then, frame image information corresponding to the determined number of frame images is extracted (acquired) from each of the moving image files, and an image obtained by reducing or enlarging the frame image corresponding to the extracted frame image information to a specified size is obtained. The moving image index image 21 is arranged in the image list 20.

したがって、動画像毎に適切な個数の動画インデックス画像21が配置された、閲覧性の良い画像一覧20を出力することができる。   Therefore, it is possible to output an image list 20 with good browsing properties in which an appropriate number of moving image index images 21 are arranged for each moving image.

また、MFP1は、静止画像を出力するための静止画像ファイルがメディアカードに記憶されている場合は、その静止画像ファイルに対応した静止画像を、規定サイズに縮小もしくは拡大した画像を、静止画インデックス画像22として、動画インデックス画像21と共に画像一覧20に配置する。   Further, when a still image file for outputting a still image is stored in the media card, the MFP 1 converts the still image corresponding to the still image file into an image that has been reduced or enlarged to a specified size, and a still image index. The image 22 is arranged in the image list 20 together with the moving image index image 21.

よって、メディアカードに、静止画像ファイルと動画像ファイルとが混在している場合であっても、静止画像ファイルと動画像ファイルの内容をまとめて視認できるような、閲覧性の良い画像一覧20を出力することができる。   Therefore, even when a still image file and a moving image file are mixed on the media card, an image list 20 with good readability is provided so that the contents of the still image file and the moving image file can be visually recognized together. Can be output.

また、MFP1は、インデックス画像21,22を含む画像群が、撮影日時(生成時刻の一例)の昇順または降順となるように、インデックス画像群を構成するインデックス画像の各々について配置順序を決定し、その決定した配置順序でインデックス画像21,22を配列した画像一覧20を印刷する。   Further, the MFP 1 determines the arrangement order for each of the index images constituting the index image group so that the image group including the index images 21 and 22 is in ascending order or descending order of the shooting date and time (an example of generation time). The image list 20 in which the index images 21 and 22 are arranged in the determined arrangement order is printed.

図3に示す画像一覧20はその一例であるが、例えば、画像一覧20の左側から右側へ向かうにつれて、撮影日時が新しくなるような順序で、横一列分のインデックス画像21,22が配列し、その横一列分の配列の下に、次に撮影日時が新しい横一列分のインデックス画像21,22が配列されるように、インデックス画像21,22の各々について配置順序を決定する。よって、撮影日時順でインデックス画像21,22が整列された、ユーザにとって閲覧性のよい画像一覧を出力できる。   The image list 20 shown in FIG. 3 is an example thereof. For example, the index images 21 and 22 for one horizontal row are arranged in the order in which the shooting date and time are updated from the left side to the right side of the image list 20. The arrangement order for each of the index images 21 and 22 is determined so that the index images 21 and 22 corresponding to the next horizontal row having the latest shooting date and time are arranged below the horizontal row. Therefore, it is possible to output an image list that is easy to view for the user, in which the index images 21 and 22 are arranged in order of photographing date and time.

なお、図3に示すように、MFP1は、同一の動画像ファイルに由来する複数のインデックス画像21が隣接して配置される場合、例えば、映画用フィルムを擬した図柄により連結した体裁で、印刷出力することとしている。このようにすれば、ユーザは、同一の動画像ファイルに由来するインデックス画像21をまとめて把握できると共に、静止画像ファイルに対応するインデックス画像22と、フレーム画像情報に対応するインデックス画像21とを一目で区別することができ、閲覧性が良い。   As shown in FIG. 3, when a plurality of index images 21 derived from the same moving image file are arranged adjacent to each other, the MFP 1 prints in a form linked with a pattern imitating a movie film, for example. It is going to output. In this way, the user can collectively grasp the index images 21 derived from the same moving image file, and at a glance, the index image 22 corresponding to the still image file and the index image 21 corresponding to the frame image information. Can be distinguished by, and is easy to read.

図4は、第1実施形態のMFP1によって決定される、動画像から抽出するフレーム画像の枚数と、録画時間長さとの関係を模式的に示す図である。   FIG. 4 is a diagram schematically illustrating a relationship between the number of frame images extracted from a moving image and the recording time length, which is determined by the MFP 1 according to the first embodiment.

図4に示すように、MFP1は、動画像の録画時間長さ(すなわち、録画開始Sから録画終了Eまでの時間)が大であるほど、その動画像から抽出するフレーム画像の枚数が大となるように、動画像ファイルの各々について、フレーム画像の枚数を決定する。より具体的には、録画時間長さの割合に応じて、各動画像から抽出されるフレーム画像の枚数が決定される。つまり、録画時間の長い動画像の方が、録画時間の短い動画像よりも多くのフレームが抽出されるようにフレーム枚数が決定される。   As shown in FIG. 4, the MFP 1 has a larger number of frame images to be extracted from the moving image as the recording time length of the moving image (that is, the time from the recording start S to the recording end E) is larger. In this way, the number of frame images is determined for each moving image file. More specifically, the number of frame images extracted from each moving image is determined according to the ratio of the recording time length. That is, the number of frames is determined so that a moving image with a longer recording time extracts more frames than a moving image with a shorter recording time.

このようにすれば、録画時間が長い動画像情報については、より多数の動画インデックス画像21が、画像一覧20に配置されることとなる。録画時間が長い動画像ファイルには、より多くのシーンが撮影されていることが予想されるので、多数の動画インデックス画像21を画像一覧20に配置することにより、その動画像ファイルの内容を、ユーザに的確に把握させることができる。   In this way, a larger number of moving image index images 21 are arranged in the image list 20 for moving image information with a long recording time. Since a larger number of scenes are expected to be captured in a moving image file having a long recording time, by placing a large number of moving image index images 21 in the image list 20, the contents of the moving image file are The user can be accurately grasped.

図5は、ファイル情報記憶領域13hの構成を模式的に示す図である。図5に示すように、ファイル情報記憶領域13hには、ファイルIDを記憶するファイルID記憶領域201、ファイル名を記憶するファイル名記憶領域202、ファイル種類を記憶するファイル種類記憶領域203、抽出フレーム数を記憶する抽出フレーム数記憶領域204、総フレーム数を記憶する総フレーム数記憶領域205、fps情報を記憶するfps情報記憶領域206、ファイル日付情報を記憶するファイル日付情報記憶領域207、ファイル時間情報を記憶するファイル時間情報記憶領域208、ファイル付加情報記憶領域209が設けられ、ファイル名、ファイル種類、抽出フレーム数、fps情報、ファイル日付情報、ファイル時間情報、ファイル付加情報からなるファイル情報200を、そのファイル情報200を管理するファイルIDに対応付けた情報を記憶する。MFP1は、画像一覧20(図3参照)におけるインデックス画像21,22の配置順序を決定するための準備処理として、メディアカード内に格納された静止画像ファイルまたは動画像ファイルの各々についてファイル情報200を作成し、ファイル情報記憶領域13hに格納する。   FIG. 5 is a diagram schematically showing the configuration of the file information storage area 13h. As shown in FIG. 5, the file information storage area 13h includes a file ID storage area 201 for storing the file ID, a file name storage area 202 for storing the file name, a file type storage area 203 for storing the file type, and an extraction frame. Extracted frame number storage area 204 for storing the number of frames, total frame number storage area 205 for storing the total number of frames, fps information storage area 206 for storing fps information, file date information storage area 207 for storing file date information, file time A file time information storage area 208 for storing information and a file additional information storage area 209 are provided, and file information 200 including a file name, a file type, the number of extracted frames, fps information, file date information, file time information, and file additional information. The file information 200 Storing information associated with the file ID to. As a preparatory process for determining the arrangement order of the index images 21 and 22 in the image list 20 (see FIG. 3), the MFP 1 stores file information 200 for each of the still image file or the moving image file stored in the media card. It is created and stored in the file information storage area 13h.

ファイルID記憶領域201は、ファイルIDを記憶する領域である。ファイル名記憶領域202は、静止画像ファイルまたは動画像ファイルのファイル名を格納する領域である。図5に示すように、各ファイル名には、拡張子が付加されている。例えば、画像ファイルがJPEGファイルである場合は拡張子「jpg」が付加され、AVI動画ファイルである場合は拡張子「avi」が付加され、クイックタイム動画ファイルである場合は拡張子「mov」が付加される。   The file ID storage area 201 is an area for storing a file ID. The file name storage area 202 is an area for storing a file name of a still image file or a moving image file. As shown in FIG. 5, an extension is added to each file name. For example, if the image file is a JPEG file, the extension “jpg” is added, if it is an AVI movie file, the extension “avi” is added, and if it is a quick time movie file, the extension “mov” is added. Added.

ファイル種類記憶領域203は、各画像ファイルの種類(フォーマット)を示す値を格納する領域である。画像ファイルの種類は、例えば、ファイル名に付加された拡張子に基づいて判定することができる。本実施形態では、画像ファイルの形式がJPEGファイル(拡張子jpg)である場合、JPEGファイルであることを示す値「0」をファイル種類記憶領域203に格納し、画像ファイルの形式がAVI動画ファイル(拡張子avi)である場合、値「1」をファイル種類記憶領域203に格納し、画像ファイルの形式がクイックタイム動画ファイル(拡張子mov)である場合、値「2」をファイル種類記憶領域203に格納する。   The file type storage area 203 is an area for storing a value indicating the type (format) of each image file. The type of the image file can be determined based on, for example, an extension added to the file name. In this embodiment, when the format of the image file is a JPEG file (extension jpg), a value “0” indicating that it is a JPEG file is stored in the file type storage area 203, and the format of the image file is an AVI video file. If it is (extension avi), the value “1” is stored in the file type storage area 203, and if the image file format is a quick time video file (extension mov), the value “2” is stored in the file type storage area. 203.

なお、各画像ファイルの先頭から数バイト分に格納されている情報に基づいて画像ファイルの種類を判定することもできる。例えば、先頭から2バイトが「0xFFD8」であればJPEGファイルであると判定できるし、先頭から2バイトが「0x424D」であれば、ビットマップデータであると判定することができる。これらの情報に基づいて、画像ファイルの種類を判定しても差し支えない。   Note that the type of the image file can also be determined based on information stored in several bytes from the top of each image file. For example, if the first two bytes are “0xFFD8”, it can be determined that the file is a JPEG file. If the first two bytes are “0x424D”, it can be determined that the data is bitmap data. The type of image file may be determined based on such information.

抽出フレーム数記憶領域204は、何枚分のフレーム画像に対応したフレーム画像情報を、画像ファイルから抽出するかを示す値を記憶する領域である。なお、静止画像ファイルの場合、抽出フレーム数記憶領域204には「1」が格納される。動画像ファイルの場合は、後述する抽出フレーム数決定処理(図9参照)で決定されたフレーム画像抽出数が記憶される。   The extracted frame number storage area 204 is an area for storing a value indicating how many frame image information corresponding to the number of frame images is to be extracted from the image file. In the case of a still image file, “1” is stored in the extracted frame number storage area 204. In the case of a moving image file, the number of frame image extractions determined by an extraction frame number determination process (see FIG. 9) described later is stored.

総フレーム数記憶領域205は、各画像ファイルの総フレーム数を格納する領域である。動画像ファイルの場合は動画像ファイルに含まれる総フレーム数が格納され、静止画像である場合は常に1が格納される。   The total frame number storage area 205 is an area for storing the total number of frames of each image file. In the case of a moving image file, the total number of frames included in the moving image file is stored, and in the case of a still image, 1 is always stored.

fps情報記憶領域206は、各画像ファイルのfps(Frame Per Second)情報を格納する領域である。静止画像ファイルである場合には「0」が格納される。一方、動画像ファイルである場合には、例えば、1秒間に60フレーム画像が存在することを示す「60」や、1秒間に30フレーム画像が存在することを示す「30」が、このfps情報記憶領域206に格納される。   The fps information storage area 206 is an area for storing fps (Frame Per Second) information of each image file. If it is a still image file, “0” is stored. On the other hand, in the case of a moving image file, for example, “60” indicating that there are 60 frame images per second, and “30” indicating that there are 30 frame images per second include the fps information. Stored in the storage area 206.

ファイル日付情報記憶領域207は、各画像ファイルの撮影日を表すファイル日付情報を格納する領域である。例えば、撮影日「2008年1月15日」は、ファイル日付情報「20080115」として表すものとする。   The file date information storage area 207 is an area for storing file date information indicating the shooting date of each image file. For example, the shooting date “January 15, 2008” is represented as file date information “20080115”.

ファイル時間情報記憶領域208は、各画像ファイルの撮影時間を表すファイル時間情報を格納する領域である。例えば、撮影時間「12時50分45秒」は、ファイル時間情報「125045」として表すものとする。画像ファイルが動画像ファイルの場合は、撮影開始時間を表す情報が、ファイル時間情報として格納される。   The file time information storage area 208 is an area for storing file time information indicating the shooting time of each image file. For example, the shooting time “12:50:45” is represented as file time information “125045”. When the image file is a moving image file, information indicating the shooting start time is stored as file time information.

以降の説明では、各画像ファイルのヘッダに記述された情報を読み出してくることにより、総フレーム数、fps情報、ファイル日付情報およびファイル時間情報を取得するものとするが、他の手段により、これらの情報を取得しても良い。   In the following description, the total number of frames, fps information, file date information, and file time information are acquired by reading the information described in the header of each image file. You may acquire the information.

ファイル付加情報記憶領域209には、各画像ファイルのその他の固有情報を格納する領域である。本第1実施形態では、ファイル付加情報記憶領域209には、動画像ファイルの録画時間の長さを表す録画長情報が格納される。なお、図5のファイル付加情報記憶領域209に示す値の単位は「秒」である。また、静止画像ファイルの場合、ファイル付加情報記憶領域209には、一律に「1」を格納する。   The file additional information storage area 209 is an area for storing other unique information of each image file. In the first embodiment, the file additional information storage area 209 stores recording length information indicating the length of the recording time of the moving image file. The unit of the value shown in the file additional information storage area 209 in FIG. 5 is “seconds”. In the case of a still image file, “1” is uniformly stored in the file additional information storage area 209.

図6は、配置情報記憶領域13iの構成を模式的に示す図である。図6に示すように、配置情報記憶領域13iは、ファイルID、抽出フレーム位置、抽出フレーム番号、画像日付情報、画像時間情報、画像付加情報からなる配置情報300と、その配置情報300に対応する配置順序とを記憶する。   FIG. 6 is a diagram schematically showing the configuration of the arrangement information storage area 13i. As shown in FIG. 6, the arrangement information storage area 13 i corresponds to the arrangement information 300 including the file ID, the extracted frame position, the extracted frame number, the image date information, the image time information, and the image additional information, and the arrangement information 300. The arrangement order is stored.

図6に示すように、配置情報記憶領域13iには、配置順序記憶領域301、ファイルID記憶領域302、抽出フレーム位置記憶領域303、抽出フレーム番号記憶領域304、画像日付情報記憶領域305、画像時間情報記憶領域306が設けられる。   As shown in FIG. 6, the arrangement information storage area 13i includes an arrangement order storage area 301, a file ID storage area 302, an extracted frame position storage area 303, an extracted frame number storage area 304, an image date information storage area 305, an image time. An information storage area 306 is provided.

配置情報記憶領域301は、配置順序を記憶する領域である。後述する配置印刷処理(図12,図13参照)では、配置順序に従った順序で、配置情報300が読み出され、各配置情報300で特定されるフレーム画像または静止画像のインデックス画像21,22が、配置順序に従った順序で、画像一覧20に配列される。   The arrangement information storage area 301 is an area for storing the arrangement order. In an arrangement printing process (see FIGS. 12 and 13) described later, arrangement information 300 is read in the order according to the arrangement order, and frame images or still image index images 21 and 22 specified by each arrangement information 300 are displayed. Are arranged in the image list 20 in the order according to the arrangement order.

ファイルID記憶領域302は、ファイルIDを記憶する領域である。図5を参照して説明したように、ファイル情報記憶領域13hには、ファイルIDとファイル名とが1対1で対応付けて記憶されているので、ファイルIDから、1の画像ファイルを特定することができる。   The file ID storage area 302 is an area for storing a file ID. As described with reference to FIG. 5, since the file ID and the file name are stored in a one-to-one correspondence in the file information storage area 13h, one image file is specified from the file ID. be able to.

抽出フレーム位置記憶領域303は、1の動画像ファイルにおける先頭から数えて何番目のフレーム画像情報であるかを示す「抽出フレーム位置」を記憶する領域である。なお、抽出フレーム位置の算出方法は後述する。   The extracted frame position storage area 303 is an area for storing an “extracted frame position” indicating what number of frame image information is counted from the beginning in one moving image file. A method for calculating the extracted frame position will be described later.

抽出フレーム番号記憶領域304は、1の動画像ファイルから抽出されるフレーム画像情報の中で、先頭から数えて何番目に当たるかを示す「抽出フレーム番号」を記憶する。   The extracted frame number storage area 304 stores an “extracted frame number” indicating the number of frame image information extracted from one moving image file, counting from the beginning.

画像日付情報記憶領域305は、ファイルID記憶領域302に格納されたファイルIDで特定される画像ファイルの撮影日を表す画像日付情報が格納される領域である。画像時間情報記憶領域306は、撮影時間を表す画像時間情報が格納される領域である。静止画像ファイルについては、ファイル情報記憶領域13hの対応する領域に格納されたファイル時間情報が、この画像時間情報記憶領域306にコピーされる。   The image date information storage area 305 is an area in which image date information indicating the shooting date of the image file specified by the file ID stored in the file ID storage area 302 is stored. The image time information storage area 306 is an area in which image time information representing the shooting time is stored. For still image files, the file time information stored in the corresponding area of the file information storage area 13h is copied to the image time information storage area 306.

一方、動画像ファイルについては、フレーム画像情報毎に、撮影時間を表す画像時間情報を取得し、画像時間情報記憶領域306に記憶する。なお、フレーム画像情報毎の画像時間情報を算出する具体的演算例については、図10に示すフローチャートを参照して後述する。   On the other hand, for the moving image file, image time information representing the shooting time is acquired for each frame image information and stored in the image time information storage area 306. A specific calculation example for calculating the image time information for each frame image information will be described later with reference to the flowchart shown in FIG.

図7は、MFP1で実行されるレイアウト画像印刷処理を示すフローチャートである。このレイアウト画像印刷処理は、ユーザによって、画像一覧20の印刷出力の開始指示が入力されると実行される。   FIG. 7 is a flowchart showing a layout image printing process executed by the MFP 1. This layout image printing process is executed when the user inputs a print output start instruction for the image list 20.

図7に示すように、レイアウト画像印刷処理では、まず、ファイル情報200を作成し、ファイル情報記憶領域13h(図5参照)へ格納する画像情報取得処理(S101)を実行する。処理の詳細は図8を参照して後述する。   As shown in FIG. 7, in the layout image printing process, first, file information 200 is created, and an image information acquisition process (S101) for storing in the file information storage area 13h (see FIG. 5) is executed. Details of the processing will be described later with reference to FIG.

次に、動画像から抽出するフレーム画像の枚数を決定する抽出フレーム数決定処理を実行する(S101a)。処理の詳細は、図9を参照して後述する。   Next, an extraction frame number determination process for determining the number of frame images extracted from the moving image is executed (S101a). Details of the processing will be described later with reference to FIG.

次に、配置情報決定処理を実行する(S102)。この処理は、インデックス画像21,22の配置順序を決定する。この処理の詳細は、図10を参照して後述する。次に、配置印刷処理を実行する(S103)。配置印刷処理(S103)の詳細は、図12,図13を参照して後述する。   Next, arrangement information determination processing is executed (S102). In this process, the arrangement order of the index images 21 and 22 is determined. Details of this processing will be described later with reference to FIG. Next, the layout printing process is executed (S103). Details of the layout printing process (S103) will be described later with reference to FIGS.

MFP1は、レイアウト画像印刷処理を実行することにより、図3を参照して説明した画像一覧20を出力する。   The MFP 1 outputs the image list 20 described with reference to FIG. 3 by executing the layout image printing process.

図8は、画像情報取得処理(S101)を示すフローチャートである。画像情報取得処理(S101)は、ファイル情報200(図5参照)を作成する処理である。   FIG. 8 is a flowchart showing the image information acquisition process (S101). The image information acquisition process (S101) is a process for creating the file information 200 (see FIG. 5).

まず、メディアカードに記憶されている総処理ファイル数を算出し、処理ファイル数記憶領域13bに記憶する(S299)。次に、メディアカードに記憶されている動画像ファイル数を算出し、動画像ファイル数記憶領域13oに記憶する(S300)。   First, the total number of processed files stored in the media card is calculated and stored in the processed file number storage area 13b (S299). Next, the number of moving image files stored in the media card is calculated and stored in the moving image file number storage area 13o (S300).

そして、ファイル数をカウントするファイル数カウンタを0で初期化する(S301)。このファイル数カウンタは、カウンタ記憶領域13m(図2参照)に設けられている。   Then, a file number counter for counting the number of files is initialized with 0 (S301). This file number counter is provided in the counter storage area 13m (see FIG. 2).

次に、メディアカードに格納された画像ファイルのうち、1の画像ファイルを処理対象として選択し、その画像ファイルのファイル名、ファイル日付情報、ファイル時間情報を取得する(S302)。そして、ファイル数カウンタ値のファイルIDに対応した領域に、取得したファイル名、ファイル日付情報、ファイル時間情報を記憶する(S303)。なお、ファイル名はファイル名記憶領域202へ記憶し、ファイル日付情報はファイル日付情報記憶領域207へ記憶し、ファイル時間情報はファイル時間情報記憶領域208(図5参照)へ記憶する。   Next, among the image files stored on the media card, one image file is selected as a processing target, and the file name, file date information, and file time information of the image file are acquired (S302). Then, the acquired file name, file date information, and file time information are stored in an area corresponding to the file ID of the file number counter value (S303). The file name is stored in the file name storage area 202, the file date information is stored in the file date information storage area 207, and the file time information is stored in the file time information storage area 208 (see FIG. 5).

次に、選択した画像ファイルの種類を解析する(S304)。この処理では、例えば、ファイル名に付加された拡張子を解析することにより、画像ファイルの種類を判定している。そして、判定した画像ファイルの種類を、ファイル数カウンタ値のファイルIDに対応した、ファイル種類記憶領域203(図5参照)へ記憶する(S305)。   Next, the type of the selected image file is analyzed (S304). In this process, for example, the type of the image file is determined by analyzing the extension added to the file name. The determined image file type is stored in the file type storage area 203 (see FIG. 5) corresponding to the file ID of the file number counter value (S305).

そして、取得した画像ファイルの種類に基づいて、選択した画像ファイルが動画像ファイルであるか静止画像ファイルであるかを判断する(S306)。   Then, based on the acquired type of the image file, it is determined whether the selected image file is a moving image file or a still image file (S306).

S306の判断において、動画像ファイルであると判断した場合(S306:動画像)、動画像ファイルの録画時間長さを表す録画長情報を取得する(S307)。本実施形態では、動画像ファイルのヘッダ情報に含まれる録画長情報を取得するものとして説明する。ただし、例えば、動画像ファイルのヘッダ情報に含まれる、総フレーム数をfps情報で除した値を、録画長情報として取得するなど、他の手段により録画長情報を取得しても良い。   If it is determined in S306 that the file is a moving image file (S306: moving image), recording length information indicating the recording time length of the moving image file is acquired (S307). In the present embodiment, description will be made assuming that recording length information included in header information of a moving image file is acquired. However, for example, the recording length information may be acquired by other means such as a value obtained by dividing the total number of frames by the fps information included in the header information of the moving image file as the recording length information.

そして、取得した録画長情報を、ファイル数カウンタ値のファイルIDに対応した、ファイル付加情報記憶領域209(図5参照)へ記憶する(S308)。   The acquired recording length information is stored in the file additional information storage area 209 (see FIG. 5) corresponding to the file ID of the file number counter value (S308).

一方、S306の判断において、静止画像ファイルであると判断した場合(S306:静止画像)、ファイル付加情報記憶領域209に「1」を記憶する(S309)。   On the other hand, if it is determined in S306 that the file is a still image file (S306: still image), “1” is stored in the file additional information storage area 209 (S309).

このようにして、S308またはS309の処理のうち、いずれかが実行されると、次に、処理画像数カウンタに1を加算し(S310)、ファイル数カウンタの値が、総処理ファイル数を超えたか否かを判断する(S311)。   When one of the processes in S308 or S309 is executed in this way, next, 1 is added to the processed image number counter (S310), and the value of the file number counter exceeds the total number of processed files. It is determined whether or not (S311).

S311の判断が否定される場合(S311:No)、S302に戻り処理を繰り返すが、肯定される場合(S311:Yes)、この画像情報取得処理(S101)を終了する。そして、図9に示す処理に移行する。   If the determination in S311 is negative (S311: No), the process returns to S302 and is repeated. If the determination is affirmative (S311: Yes), the image information acquisition process (S101) is terminated. And it transfers to the process shown in FIG.

図9は、抽出フレーム数決定処理(S101a)を示すフローチャートである。抽出フレーム数決定処理(101a)では、動画像から抽出するフレーム画像の枚数を、メディアカードに格納された動画像ファイルの各々について決定する。   FIG. 9 is a flowchart showing extraction frame number determination processing (S101a). In the extraction frame number determination process (101a), the number of frame images to be extracted from the moving image is determined for each moving image file stored in the media card.

まず、ファイル数カウンタを0で初期化する(S400)。次に、ファイル数カウンタ値のファイルIDに対応した、ファイル種類記憶領域203を参照し、画像ファイルの種類が動画像であるか静止画像であるかを判断する(S402)。   First, the file number counter is initialized with 0 (S400). Next, with reference to the file type storage area 203 corresponding to the file ID of the file number counter value, it is determined whether the type of the image file is a moving image or a still image (S402).

静止画像であると判断された場合(S402:静止画像)、フレーム画像抽出数「1」を、ファイルカウンタ値のファイルIDに対応した抽出フレーム数記憶領域204(図5参照)へ記憶し(S402a)、ファイル数カウンタに1を加算する(S407)。そして、ファイル数カウンタの値が、総処理ファイル数以上となったか否かを判断する(S408)。S408の判断が否定される場合(S408:No)、S402に戻り処理を繰り返す。   When it is determined that the image is a still image (S402: still image), the frame image extraction number “1” is stored in the extracted frame number storage area 204 (see FIG. 5) corresponding to the file ID of the file counter value (S402a). ), 1 is added to the file number counter (S407). Then, it is determined whether or not the value of the file number counter is equal to or greater than the total number of processed files (S408). If the determination in S408 is negative (S408: No), the process returns to S402 and is repeated.

一方、動画像であると判断された場合(S402:動画像)、処理対象の動画像ファイルの録画長情報をファイル付加情報記憶領域209(図5参照)から読み出し(S403)、その録画長情報を、予め定められた単位時間で除算して、フレーム画像の抽出数(フレーム画像抽出数)を決定する(S404)。なお、フレーム画像の抽出数としては、1以上の整数を算出するものとする。また、単位時間は、ユーザが操作部4から入力できるように構成されても良い。   On the other hand, when it is determined that the image is a moving image (S402: moving image), the recording length information of the moving image file to be processed is read from the file additional information storage area 209 (see FIG. 5) (S403), and the recording length information is obtained. Is divided by a predetermined unit time to determine the number of extracted frame images (number of extracted frame images) (S404). Note that an integer greater than or equal to 1 is calculated as the number of extracted frame images. The unit time may be configured so that the user can input from the operation unit 4.

さらに、フレーム画像抽出数の具体的算出方法は、上述した例に限られるものではなく、別の方法も採用し得る。例えば、全ての動画像ファイルの録画長情報を平均した「平均録画時間」と、規定の基準抽出枚数とを用いて、下記数式4のように算出しても良い。   Furthermore, the specific method for calculating the number of frame image extractions is not limited to the above-described example, and another method may be employed. For example, the calculation may be performed by using the “average recording time” obtained by averaging the recording length information of all the moving image files and the prescribed reference extraction number, as shown in Equation 4 below.

(数式4)
フレーム画像抽出枚数=(録画長情報/平均録画時間)×基準抽出枚数
(Formula 4)
Number of extracted frame images = (recording length information / average recording time) x reference number of extracted frames

次に、決定したフレーム画像抽出数を、ファイル数カウンタ値のファイルIDに対応した、抽出フレーム数記憶領域204(図5参照)へ記憶する(S406)。   Next, the determined number of extracted frame images is stored in the extracted frame number storage area 204 (see FIG. 5) corresponding to the file ID of the file number counter value (S406).

そして、ファイル数カウンタの値に1を加算し(S407)、S408の判断が否定される間(S408:No)、S402から処理を繰り返す。そして、処理を繰り返すうちに、ファイル数カウンタの値が総処理ファイル数以上となると(S408:Yes)、抽出フレーム数決定処理を終了する。   Then, 1 is added to the value of the file number counter (S407), and the process from S402 is repeated while the determination in S408 is negative (S408: No). If the value of the file number counter becomes equal to or greater than the total number of processed files while the process is repeated (S408: Yes), the extracted frame number determination process is terminated.

このようにすれば、動画像ファイルの各々について、適切なフレーム画像抽出数が決定される。   In this way, an appropriate number of frame image extractions is determined for each moving image file.

図10は、配置情報決定処理を示すフローチャートである。まず、ファイル数カウンタ、処理画像数カウンタおよびフレーム画像抽出枚数カウンタを、それぞれ0で初期化する(S1001)。なお、これらのカウンタは、カウンタ記憶領域13m(図2参照)に設けられている。   FIG. 10 is a flowchart showing the arrangement information determination process. First, a file number counter, a processed image number counter, and a frame image extraction number counter are each initialized to 0 (S1001). These counters are provided in the counter storage area 13m (see FIG. 2).

次に、ファイル数カウンタ値のファイルIDに対応した画像ファイルの種類を判定する(S1002)。最初は、ファイル数カウンタの値が「0」であるため、ファイルID「0」の画像ファイルの種類を判定することとなる。   Next, the type of the image file corresponding to the file ID of the file number counter value is determined (S1002). Initially, since the value of the file number counter is “0”, the type of the image file with the file ID “0” is determined.

画像ファイルの種類が動画像であると判断した場合(S1002:動画像)、動画像ファイルの撮影日を表すファイル日付情報、動画像ファイルの撮影開始時間を表すファイル時間情報、動画像ファイルのfpsを表すfps情報、および動画像ファイルの総フレーム数を表す総フレーム数情報を、その動画像ファイルのヘッダから読み出す(S1003)。   When it is determined that the type of the image file is a moving image (S1002: moving image), file date information indicating the shooting date of the moving image file, file time information indicating the shooting start time of the moving image file, and fps of the moving image file. And the total frame number information indicating the total number of frames of the moving image file are read out from the header of the moving image file (S1003).

そして、処理画像数カウンタ値の配置順序に対応したファイル日付情報記憶領域207へファイル日付情報を記憶し、ファイル時間情報記憶領域208へファイル時間情報を記憶し、fps情報記憶領域206へfps情報を記憶し、総フレーム数記憶領域205へ総フレーム数情報を記憶する(S1004)。   Then, the file date information is stored in the file date information storage area 207 corresponding to the arrangement order of the processed image counter value, the file time information is stored in the file time information storage area 208, and the fps information is stored in the fps information storage area 206. The total frame number information is stored in the total frame number storage area 205 (S1004).

次に、処理対象の画像ファイルについて配置情報を作成し、配置情報記憶領域13i(図6参照)へ記憶する処理を行う。具体的には、まず、処理画像数カウンタ値の配置順序に対応したファイルID記憶領域302へ、現時点におけるファイル数カウンタの値をファイルIDとして記憶する。また、現時点におけるフレーム画像抽出枚数カウンタ値に基づいて、抽出フレーム番号および抽出フレーム位置を算出し、抽出フレーム位置記憶領域303および抽出フレーム番号記憶領域304にそれぞれ記憶する(S1004a)。   Next, a process of creating arrangement information for the processing target image file and storing it in the arrangement information storage area 13i (see FIG. 6) is performed. Specifically, first, the current file number counter value is stored as a file ID in the file ID storage area 302 corresponding to the arrangement order of the processed image number counter value. Further, the extracted frame number and the extracted frame position are calculated based on the current frame image extraction number counter value, and are stored in the extracted frame position storage area 303 and the extracted frame number storage area 304, respectively (S1004a).

なお、抽出フレーム位置は、例えば、下記数式5のように算出することができる。
(数式5)
抽出フレーム位置 = (総フレーム数/抽出フレーム数)×抽出フレーム番号
Note that the extracted frame position can be calculated, for example, as in Equation 5 below.
(Formula 5)
Extraction frame position = (total frame number / extraction frame number) x extraction frame number

次に、抽出フレーム位置で特定されるフレーム画像情報の画像時間情報を算出して取得し、配置順序に対応する画像時間情報記憶領域306へ記憶する(S1005)。本実施形態においては、一例として、以下のように、画像時間情報を算出するものとする。   Next, the image time information of the frame image information specified by the extracted frame position is calculated and acquired, and stored in the image time information storage area 306 corresponding to the arrangement order (S1005). In the present embodiment, as an example, image time information is calculated as follows.

ここで、動画像ファイルの撮影開始時間を表すファイル時間情報をVideoTime、fps情報をFPS、フレーム画像情報の撮影時間を表す画像時間情報をFrameTime、処理対象のフレーム画像情報の抽出フレーム位置をNとする。   Here, the file time information indicating the shooting start time of the moving image file is VideoTime, the fps information is FPS, the image time information indicating the shooting time of the frame image information is FrameTime, and the extraction frame position of the frame image information to be processed is N. To do.

そして、ファイル時間情報VideoTimeを、以下数式6のように、動画像時間情報VT_Hour、動画像分情報VT_Minute、動画像秒情報VT_Secondに分解する。
(数式6)
VT_Hour = [ VideoTime/10000 ]
VT_Minute = [ (VideoTime - VT_Hour×10000)/100 ]
VT_Second = VideoTime - (VT_Hour×10000 + VT_Minute×100)
次に、フレーム時情報Frame_Hour、フレーム分情報Frame_Minute、フレーム秒情報Frame_Secondを下記数式7の通り算出する。
(数式7)
ここでCal_Second,Cal_Minute,Cal_Hourは上記情報を求めるための一時変数とする。
また、A mod BはAをBで割った時の剰余を表す
Cal_Second = VT_Second + [ N / FPS]
Cal_Minute = VT_Minute + [ Cal_Second / 60 ]
Cal_Hour = VT_Hour + [ Cal_Minute / 60 ]
Frame_second = Cal_Second mod 60
Frame_Minute = Cal_Minute mod 60
Frame_Hour = Cal_Hour mod 24
以上を、例えば、下記の数式8を用いて結合し、フレーム画像情報の撮影時間を表す画像時間情報FrameTimeを算出する。
(数式8)
FrameTime = Frame_Hour×10000 + Frame_Minute×100 + Frame_Second
次に、画像日付算出処理を実行する(S1006)。画像日付算出処理は、フレーム年情報Frame_Year、フレーム月情報Frame_Month、フレーム日情報Frame_Dayを算出し、取得する処理である。
Then, the file time information VideoTime is decomposed into moving picture time information VT_Hour, moving picture minute information VT_Minute, and moving picture second information VT_Second as shown in Equation 6 below.
(Formula 6)
VT_Hour = [VideoTime / 10000]
VT_Minute = [(VideoTime-VT_Hour × 10000) / 100]
VT_Second = VideoTime-(VT_Hour × 10000 + VT_Minute × 100)
Next, frame time information Frame_Hour, frame portion information Frame_Minute, and frame second information Frame_Second are calculated as shown in Equation 7 below.
(Formula 7)
Here, Cal_Second, Cal_Minute, and Cal_Hour are temporary variables for obtaining the above information.
A mod B represents the remainder when A is divided by B
Cal_Second = VT_Second + [N / FPS]
Cal_Minute = VT_Minute + [Cal_Second / 60]
Cal_Hour = VT_Hour + [Cal_Minute / 60]
Frame_second = Cal_Second mod 60
Frame_Minute = Cal_Minute mod 60
Frame_Hour = Cal_Hour mod 24
The above is combined using, for example, Equation 8 below to calculate image time information FrameTime representing the shooting time of the frame image information.
(Formula 8)
FrameTime = Frame_Hour × 10000 + Frame_Minute × 100 + Frame_Second
Next, an image date calculation process is executed (S1006). The image date calculation process is a process for calculating and obtaining frame year information Frame_Year, frame month information Frame_Month, and frame date information Frame_Day.

図11は、画像日付算出処理を示すフローチャートである。なお、図11のフローチャートに示す変数Mは、現日付からM日進めることを意味する変数である。   FIG. 11 is a flowchart showing image date calculation processing. Note that a variable M shown in the flowchart of FIG. 11 is a variable that means that M days are advanced from the current date.

まず、フレーム年情報Frame_Year、フレーム月情報Frame_Month、フレーム日情報Frame_Dayに、それぞれ、動画像年情報VD_Year、動画像月情報VD_Month、動画像日情報VD_Dayを代入する(S1201)。次に、変数Mに、[Cal_Hour/24]を代入する(S1202)。次にMが0であるかを判断し(S1203)、肯定されると(S1203:Yes)、本処理を終了する。   First, moving image year information VD_Year, moving image month information VD_Month, and moving image day information VD_Day are substituted into frame year information Frame_Year, frame month information Frame_Month, and frame date information Frame_Day, respectively (S1201). Next, [Cal_Hour / 24] is substituted into the variable M (S1202). Next, it is determined whether M is 0 (S1203). If the determination is affirmative (S1203: Yes), this process is terminated.

一方、否定されると(S1203:No)、フレーム日情報Frame_Dayを判断する(S1204)。「1以上27以下」と判断されると(S1204:1以上27以下)、Frame_Dayに「1」を加算する(S1205)。   On the other hand, if negative (S1203: No), the frame date information Frame_Day is judged (S1204). If it is determined that “1 to 27” (S1204: 1 to 27), “1” is added to Frame_Day (S1205).

一方、S1204の判断において、「28または29」と判断されると(S1204:28or29)、Frame_Monthが「2」であるか否かを判断する(S1206)。否定される場合(S1206;No)、S1205の処理に移行する。   On the other hand, if “28 or 29” is determined in the determination in S1204 (S1204: 28 or 29), it is determined whether or not Frame_Month is “2” (S1206). When negative (S1206; No), it transfers to the process of S1205.

一方、肯定されると(S1206:Yes)、次に、Frame_Dayが「28」であるかを判断する(S1208)。否定される場合(S1208:No)、Frame_Dayに「1」を代入し、Frame_Monthに「1」を加算する(S1210)。   On the other hand, if the determination is affirmative (S1206: Yes), it is next determined whether or not Frame_Day is “28” (S1208). If negative (S1208: No), “1” is substituted into Frame_Day, and “1” is added to Frame_Month (S1210).

一方、S1208の判断が肯定されると(S1208:Yes)、Frame_Yearで示される年がうるう年か否かを判断する(S1209)。肯定される場合(S1209:Yes)、S1205の処理に進む。否定される場合(S1209:No)、S1210の処理に進む。   On the other hand, if the determination in S1208 is positive (S1208: Yes), it is determined whether or not the year indicated by Frame_Year is a leap year (S1209). If the determination is affirmative (S1209: Yes), the process proceeds to S1205. When negative (S1209: No), it progresses to the process of S1210.

次に、S1204の判断において、「30」と判断されると(S1204:30)、次に、Frame_Monthが4,6,9,11のいずれかであるかを判断する(S1211)。肯定される場合(S1211:Yes)、S1210の処理に進む。   Next, if “30” is determined in the determination of S1204 (S1204: 30), it is next determined whether Frame_Month is 4, 6, 9, or 11 (S1211). If the determination is affirmative (S1211: Yes), the process proceeds to S1210.

一方、否定される場合(S1211:No)、Frame_Dayに「1」を加算する(S1216)。次に、S1204の判断において、「31」と判断されると(S1204:31)、次に、Frame_Yearが12であるかを判断する(S1215)。否定される場合(S1215:No)、S1216の処理に進む。   On the other hand, if negative (S1211: No), “1” is added to Frame_Day (S1216). Next, if “31” is determined in the determination in S1204 (S1204: 31), it is then determined whether Frame_Year is 12 (S1215). When negative (S1215: No), it progresses to the process of S1216.

一方、肯定される場合(S1215:Yes)、Frame_Dayに「1」を代入し、Frame_Monthに「1」を代入し、Frame_Yearに「1」を加算する(S1217)。   On the other hand, if affirmative (S1215: Yes), “1” is substituted into Frame_Day, “1” is substituted into Frame_Month, and “1” is added to Frame_Year (S1217).

S1205,S1210,S1216,S1217の処理の後は、変数Mから「1」減算し(S1212)、S1203に戻る。そして、S1203の判断が肯定されると(S1203:Yes)、本処理を終了する。   After the processing of S1205, S1210, S1216, and S1217, “1” is subtracted from the variable M (S1212), and the process returns to S1203. If the determination in S1203 is affirmed (S1203: Yes), this process ends.

図10に戻り説明する。図11に示す処理で算出した値を、例えば下記数式11を用いて結合し、フレーム画像情報の撮影日付を表す画像日付情報FrameDateを算出する。算出された画像日付情報は、画像日付情報記憶領域305へ記憶する(S1007)。
(数式11)
FrameDate = Frame_Year×10000 + Frame_Month×100 + Frame_Day
Returning to FIG. The values calculated in the process shown in FIG. 11 are combined using, for example, the following formula 11 to calculate image date information FrameDate representing the shooting date of the frame image information. The calculated image date information is stored in the image date information storage area 305 (S1007).
(Formula 11)
FrameDate = Frame_Year × 10000 + Frame_Month × 100 + Frame_Day

なお、S1005,S1006の処理で取得される、画像時間情報および画像日付情報が、特許請求の範囲に記載の時刻情報の一例に相当する。また、画像時間情報および画像日付情報で特定される撮影日時が、特許請求の範囲に記載の、画像情報が生成された時刻の一例に相当する。   Note that the image time information and the image date information acquired in the processing of S1005 and S1006 correspond to an example of time information described in the claims. Further, the shooting date and time specified by the image time information and the image date information corresponds to an example of the time when the image information is generated, as described in the claims.

このようして、動画像ファイルから抽出される1のフレーム画像情報について、配置情報が作成され、配置情報記憶領域13iへ記憶すると、次に、処理済みの画像数をカウントする処理画像数カウンタ、およびフレーム画像抽出枚数カウンタに、それぞれ「1」を加算する(S1008)。   In this way, when the arrangement information is created for one frame image information extracted from the moving image file and stored in the arrangement information storage area 13i, a processed image number counter for counting the number of processed images, Then, “1” is added to the frame image extraction number counter (S1008).

そして、フレーム画像抽出枚数カウンタの値が、その動画像ファイルについて決定されたフレーム画像抽出数以上となったか否かを判断する(S1009)。S1009の判断が否定される場合(S1009:No)、S1004aに戻り処理を繰り返す。   Then, it is determined whether or not the value of the frame image extraction number counter is equal to or greater than the frame image extraction number determined for the moving image file (S1009). If the determination in S1009 is negative (S1009: No), the process returns to S1004a and the process is repeated.

一方、S1009の判断が肯定される場合(S1009:Yes)、次にフレーム画像抽出枚数カウンタを0で初期化し(S1010)、ファイル数カウンタに1を加算する(S1016)。なお、フレーム画像抽出枚数カウンタは、カウンタ記憶領域13m(図2参照)に設けられている。そして、ファイル数カウンタの値が、メディアカードに格納される静止画像ファイルと動画像ファイルの合計を示す「総処理ファイル数」以上となったか否かを判断する(S1017)。S1017の判断が否定される場合(S1017:No)、S1002の処理に戻り、ファイル数カウンタ値のファイルIDに対応した次の画像ファイルを処理対象として選択し、処理を繰り返す。   On the other hand, if the determination in S1009 is affirmative (S1009: Yes), then the frame image extraction number counter is initialized with 0 (S1010), and 1 is added to the file number counter (S1016). The frame image extraction number counter is provided in the counter storage area 13m (see FIG. 2). Then, it is determined whether or not the value of the file number counter is equal to or greater than the “total number of processed files” indicating the total of still image files and moving image files stored in the media card (S1017). If the determination in S1017 is negative (S1017: No), the process returns to S1002, and the next image file corresponding to the file ID of the file number counter value is selected as a processing target, and the process is repeated.

次に、処理対象の画像ファイルが静止画像ファイルであると判断された場合(S1002:静止画像)について説明する。静止画像ファイルである場合も、同様に、まず、その静止画像ファイルに関するファイル情報を作成し、ファイル情報記憶領域13h(図4参照)へ格納する。   Next, a case where it is determined that the image file to be processed is a still image file (S1002: still image) will be described. Similarly, in the case of a still image file, first, file information relating to the still image file is created and stored in the file information storage area 13h (see FIG. 4).

具体的には、まず、処理画像数カウンタ値の配置順序に対応したファイルID記憶領域302(図6参照)へ、現時点におけるファイル数カウンタの値を記憶し、抽出フレーム位置記憶領域303および抽出フレーム番号記憶領域304(図6参照)へ「1」を記憶する(S1011a)。そして、処理対象の静止画像ファイルの撮影日を表すファイル日付情報および撮影時間を表すファイル時間情報を読み出し(取得し)(S1011)、ファイル情報記憶領域13hのうち、ファイル数カウンタ値のファイルIDに対応した領域へ、取得したファイル日付情報とファイル時間情報とを記憶する(S1012)。なお、fps情報記憶領域206には「0」を記憶する。ここで、ファイル日付情報およびファイル時間情報が、特許請求の範囲に記載の時刻情報の一例に相当する。また、ファイル日付情報およびファイル時間情報で特定される撮影日時が、特許請求の範囲に記載の、画像情報が生成された時刻の一例に相当する。   Specifically, first, the current file number counter value is stored in the file ID storage area 302 (see FIG. 6) corresponding to the arrangement order of the processed image number counter value, and the extracted frame position storage area 303 and the extracted frame are stored. “1” is stored in the number storage area 304 (see FIG. 6) (S1011a). Then, file date information indicating the shooting date of the still image file to be processed and file time information indicating the shooting time are read (obtained) (S1011), and the file ID of the file number counter value in the file information storage area 13h is read. The acquired file date information and file time information are stored in the corresponding area (S1012). Note that “0” is stored in the fps information storage area 206. Here, the file date information and the file time information correspond to an example of the time information described in the claims. Further, the shooting date and time specified by the file date information and the file time information corresponds to an example of the time when the image information is generated as described in the claims.

次に、ファイル数カウンタ値のファイルIDに対応した処理対象の静止画像ファイルのファイル日付情報を、配置情報記憶領域13i(図6参照)における、処理画像数カウンタ値の配置順序に対応する画像日付情報記憶領域305へ記憶し、同配置順序に対応する画像時間情報記憶領域306へ、処理対象の静止画像ファイルのファイル時間情報を記憶する(S1013)。そして、処理画像数カウンタに1を加算し(S1015)、S1016の処理に移行する。   Next, the file date information of the still image file to be processed corresponding to the file ID of the file number counter value is set to the image date corresponding to the arrangement order of the processed image number counter value in the arrangement information storage area 13i (see FIG. 6). The information is stored in the information storage area 305, and the file time information of the still image file to be processed is stored in the image time information storage area 306 corresponding to the same arrangement order (S1013). Then, 1 is added to the processed image number counter (S1015), and the process proceeds to S1016.

このようにして処理を繰り返すうちに、S1017の判断が肯定されると(S1017:Yes)、次に、画像時間情報の小さい順に配置情報をソートし(S1018)、配置情報決定処理(S102)を終了する。配置情報決定処理(S102)により、配置情報で特定されるインデックス画像21,22の各々について、対応する配置順序が決定する。   If the determination in S1017 is affirmed while the processing is repeated in this way (S1017: Yes), then the arrangement information is sorted in ascending order of the image time information (S1018), and the arrangement information determination process (S102) is performed. finish. Through the arrangement information determination process (S102), the corresponding arrangement order is determined for each of the index images 21 and 22 specified by the arrangement information.

図12は、配置印刷処理を示すフローチャートである。図12に示す配置印刷処理(S103)は、配置情報決定処理(S102;図10参照)によって決定された順序でインデックス画像21,22が配列された画像一覧20を、記録用紙に印刷出力する。   FIG. 12 is a flowchart showing the layout printing process. In the layout print process (S103) shown in FIG. 12, the image list 20 in which the index images 21 and 22 are arranged in the order determined by the layout information determination process (S102; see FIG. 10) is printed out on a recording sheet.

まず、画像一覧20に配列される横一列分のインデックス画像21,22の数を示す「横方向の配置枚数」を、横方向画像配置数記憶領域12bから読み出す(S1101)。次に、1ページ分の画像一覧20に配置可能なインデックス画像21,22の数を示す「1ページ内画像配置数」を、1ページ内画像配置数記憶領域12cから読み出す(S1102)。   First, the “horizontal arrangement number” indicating the number of index images 21 and 22 for one horizontal row arranged in the image list 20 is read from the horizontal image arrangement number storage area 12b (S1101). Next, the “number of images in one page” indicating the number of index images 21 and 22 that can be arranged in the image list 20 for one page is read from the image arrangement number storage area 12c in one page (S1102).

次に、ページカウンタを1で初期化し(S1103)、静止画像ファイルの総数と、フレーム画像の抽出数の総数とを合計した値である「処理画像総数」を、処理画像総数記憶領域13c(図2参照)から算出する(S1104)。なお、ページカウンタは、カウンタ記憶領域13mに設けられている。   Next, the page counter is initialized with 1 (S1103), and the “total number of processed images”, which is the sum of the total number of still image files and the total number of extracted frame images, is stored in the total processed image storage area 13c (FIG. 2) (S1104). The page counter is provided in the counter storage area 13m.

次に、処理画像総数と、1ページ内画像配置数とから、何ページ分の画像一覧を印刷出力するかを示す「生成ページ数」を算出し、生成ページ数記憶領域13d(図2参照)へ記憶する(S1105)。   Next, a “generated page number” indicating how many pages of the image list are to be printed out is calculated from the total number of processed images and the number of images arranged per page, and the generated page number storage area 13d (see FIG. 2). (S1105).

本実施形態では、生成ページ数page_noは下記数式12を用いて算出する。ここでは、処理画像総数をTotalImageNo,1ページ内画像配置数をLAYOUT_NUMとしている。
(数式12)
page_no = [ TotalImageNo / LAYOUT_NUM ] + 1
次に、レイアウト画像カウンタを0で初期化し(S1106)、1枚の記録用紙内に配置する配置画像数layout_noを算出する(S1107)。本実施形態においては、layout_noは下記数式13を用いて算出する。また、レイアウト画像カウンタは、カウンタ記憶領域13mに設けられている。
(数式13)
(ページカウンタ値) < 生成ページ数 の時
layout_no = (1ページ内画像配置数)
(ページカウンタ値) ≧ 生成ページ数 の時
layout_no = (グループ画像数) - { (1ページ内画像配置数) × (ページカウンタ値) }
次に、配置順序に対応したファイルIDと、抽出フレーム番号とを配置情報記憶領域13iから読み出す(S1108)。そして、読み出したファイルIDに対応する画像ファイルが、動画像ファイルであるか静止画像ファイルであるかを判定する(S1109)。
In the present embodiment, the number of generated pages page_no is calculated using the following formula 12. Here, the total number of processed images is TotalImageNo, and the number of images arranged in one page is LAYOUT_NUM.
(Formula 12)
page_no = [TotalImageNo / LAYOUT_NUM] + 1
Next, the layout image counter is initialized to 0 (S1106), and the number of layout images layout_no to be placed on one sheet of recording paper is calculated (S1107). In the present embodiment, layout_no is calculated using Equation 13 below. The layout image counter is provided in the counter storage area 13m.
(Formula 13)
(Page counter value) <Number of generated pages
layout_no = (Number of images on one page)
(Page counter value) ≥ Number of generated pages
layout_no = (number of group images)-{(number of images in one page) x (page counter value)}
Next, the file ID corresponding to the arrangement order and the extracted frame number are read from the arrangement information storage area 13i (S1108). Then, it is determined whether the image file corresponding to the read file ID is a moving image file or a still image file (S1109).

S1109の判定において、動画像ファイルと判定される場合(S1109:動画像)、次に、抽出フレーム番号に対応した、1フレーム画像分のフレーム画像情報を動画像ファイルから抽出する(S1110)。   If it is determined in S1109 that the file is a moving image file (S1109: moving image), then frame image information for one frame image corresponding to the extracted frame number is extracted from the moving image file (S1110).

次に、抽出したフレーム画像情報をデコード処理する(S1111)。そして、デコードしたフレーム画像情報をインデックス画像21,22の規定サイズに縮小または拡大し、配置用バッファの所定位置に配置する(S1112)。   Next, the extracted frame image information is decoded (S1111). Then, the decoded frame image information is reduced or enlarged to the specified size of the index images 21 and 22, and is arranged at a predetermined position in the arrangement buffer (S1112).

一方、S1109の判定において、静止画像ファイルと判定される場合(S1109:静止画像)、配置順序に対応したファイルIDで特定される静止画像ファイルを抽出し、デコード処理する(S1113)、そして、デコードされた静止画像ファイルをインデックス画像21,22の規定サイズに縮小または拡大し、配置用バッファの所定位置に配置する(S1114)。   On the other hand, if it is determined in S1109 that the file is a still image file (S1109: still image), the still image file specified by the file ID corresponding to the arrangement order is extracted, decoded (S1113), and decoded. The obtained still image file is reduced or enlarged to the specified size of the index images 21 and 22, and is arranged at a predetermined position in the arrangement buffer (S1114).

このようにして、フレーム画像情報または静止画像ファイルのいずれかをデコード処理して配置用バッファに配置する配置処理を実行した後、次に、横方向に配置できる画像数の上限である「横方向の配置枚数」回分の配置処理を行ったか否かを判断する(S1115)。S1115の判断が否定される場合(S1115:No)、配置用バッファにおける次のデータの配置位置を示す横方向位置を更新する(S1119)。   In this way, after executing the placement processing for decoding either the frame image information or the still image file and placing it in the placement buffer, the “horizontal direction” is the upper limit of the number of images that can be placed in the horizontal direction. It is determined whether or not the arrangement processing for “number of arrangements” has been performed (S1115). If the determination in S1115 is negative (S1115: No), the horizontal position indicating the arrangement position of the next data in the arrangement buffer is updated (S1119).

そして、レイアウト画像カウンタに「1」を加算し(S1120)、レイアウト画像カウンタの値が、現在の処理対象の記録用紙に配置するインデックス画像21,22の数「layout_no」以上となったか否かを判断する(S1121)。S1121の判断が否定される場合(S1121:No)、S1108の処理に戻り、次の配置順序に対応した配置情報を処理する。   Then, “1” is added to the layout image counter (S1120), and it is determined whether or not the value of the layout image counter is equal to or larger than the number “layout_no” of the index images 21 and 22 to be arranged on the current recording paper to be processed. Judgment is made (S1121). If the determination in S1121 is negative (S1121: No), the process returns to S1108, and arrangement information corresponding to the next arrangement order is processed.

このようにして処理を繰り返す内に、「横方向の配置枚数」回分の配置処理が実行されると、S1115の判断が肯定されるので(S1115:Yes)、次に、配置用バッファのデータをプリンタ3(図2参照)へ渡す(S1116)。これにより、配置用バッファのデータがプリンタ3における印刷処理にかけられる。ただし配置用バッファに画像が配置されない領域については印刷出力しない。   If the arrangement processing for “the number of arrangements in the horizontal direction” is executed while the processing is repeated in this way, the determination in S1115 is affirmed (S1115: Yes). Next, the data in the arrangement buffer is stored. The data is transferred to the printer 3 (see FIG. 2) (S1116). As a result, the data in the placement buffer is subjected to print processing in the printer 3. However, an area where no image is arranged in the arrangement buffer is not printed out.

次に、配置用バッファにおける次のデータの横方向配置位置を示す横方向位置を初期化し(S1117)、また、配置用バッファにおける次のデータの縦方向配置位置を示す縦方向位置を更新する(S1118)。この横方向位置および縦方向位置によって、画像一覧20における次の行の左端から、次のインデックス画像21,22が配列されるように、配置用バッファにおける次のデータの配置位置が決定される。そして、上述したS1120、S1121の処理を実行する。   Next, the horizontal position indicating the horizontal arrangement position of the next data in the arrangement buffer is initialized (S1117), and the vertical position indicating the vertical arrangement position of the next data in the arrangement buffer is updated (S1117). S1118). The arrangement position of the next data in the arrangement buffer is determined by the horizontal position and the vertical position so that the next index images 21 and 22 are arranged from the left end of the next row in the image list 20. And the process of S1120 and S1121 mentioned above is performed.

このようにして、処理対象の1ページ分の記録用紙に配置するインデックス画像21,22の全てについて印刷処理を完了すると、S1121の判断が肯定されるので(S1121:Yes)、図13に示す次の処理に移行する。   In this way, when the printing process is completed for all the index images 21 and 22 arranged on the recording paper for one page to be processed, the determination in S1121 is affirmed (S1121: Yes), so the next shown in FIG. Move on to processing.

図13は、図12に示す配置印刷処理の続きを示すフローチャートであって、S1121の判断が肯定される場合に実行される。   FIG. 13 is a flowchart showing the continuation of the layout printing process shown in FIG. 12, and is executed when the determination in S1121 is affirmed.

まず、配置用バッファに、未だ印刷処理を行っていないデータが存在するかを判断する(S1122)。S1122の判断が肯定される場合(S1122:Yes)、その残りのデータをプリンタ3に渡し(S1123)、プリンタ3にて印刷出力をさせ、S1124の処理に移行する。一方、S1122の判断が否定される場合(S1122:No)、S1123の判断をスキップし、S1124の処理に移行する。   First, it is determined whether there is data that has not yet undergone printing processing in the arrangement buffer (S1122). If the determination in S1122 is affirmative (S1122: Yes), the remaining data is transferred to the printer 3 (S1123), the printer 3 prints out, and the process proceeds to S1124. On the other hand, if the determination in S1122 is negative (S1122: No), the determination in S1123 is skipped and the process proceeds to S1124.

そして、1ページ分のデータ出力が完了したことを示す印刷完了命令をプリンタ3に渡し(S1124)、ページカウンタに「1」を加算する(S1125)。次に、配置用バッファにおける次のデータの配置位置を示す横方向位置および縦方向位置を初期化する(S1126)。そして、ページカウンタの値が「生成ページ数」より大となったかを判断する(S1127)。S1127の判断が否定される場合(S1127:No)、図12に示すS1106の処理に戻り、次ページの処理を開始する。   Then, a print completion command indicating that data output for one page has been completed is passed to the printer 3 (S1124), and “1” is added to the page counter (S1125). Next, the horizontal position and the vertical position indicating the arrangement position of the next data in the arrangement buffer are initialized (S1126). Then, it is determined whether the value of the page counter is larger than “number of generated pages” (S1127). If the determination in S1127 is negative (S1127: No), the process returns to S1106 shown in FIG. 12, and the process for the next page is started.

一方、S1127の判断が肯定される場合(S1127:Yes)、配置印刷処理を終了する。   On the other hand, if the determination in S1127 is affirmative (S1127: Yes), the layout printing process ends.

なお、図12、図13に示す配置印刷処理(S103)において、同一の動画像ファイルに由来するインデックス画像21が、画像一覧20において互いに隣接する場合には、それらのインデックス画像21,22を連結する図柄(図3参照)を形成して印刷しても良いが、処理の詳細については、説明を省略する。   In the layout printing process (S103) shown in FIGS. 12 and 13, when index images 21 derived from the same moving image file are adjacent to each other in the image list 20, the index images 21 and 22 are connected. The pattern to be printed (see FIG. 3) may be formed and printed, but the details of the process will be omitted.

このように、第1実施形態のMFP1によれば、図3を参照して説明したように、閲覧性の良い画像一覧20を出力することができる。   As described above, according to the MFP 1 of the first embodiment, as described with reference to FIG. 3, it is possible to output the image list 20 with good viewability.

次に、第2実施形態のMFP1について説明する。なお、第2実施形態のMFP1の外観構成および電気的構成は、第1実施形態のMFP1と同一であるため、第2実施形態のMFP1については、抽出フレーム数決定処理のみ図示することとする。   Next, the MFP 1 according to the second embodiment will be described. Note that since the external configuration and electrical configuration of the MFP 1 of the second embodiment are the same as those of the MFP 1 of the first embodiment, only the extraction frame number determination process is illustrated for the MFP 1 of the second embodiment.

図14,図15は、第2実施形態のMFP1が実行する抽出フレーム数決定処理(S101b)を示すフローチャートである。この抽出フレーム数決定処理(S101b)は、第1実施形態で説明した抽出フレーム数決定処理(S101a)に代えて実行される。   14 and 15 are flowcharts showing the extracted frame number determination process (S101b) executed by the MFP 1 of the second embodiment. This extracted frame number determination process (S101b) is executed instead of the extracted frame number determination process (S101a) described in the first embodiment.

第2実施形態の抽出フレーム数決定処理(S101b)は、動画像に含まれるシーン切り替え回数が大であるほど、その動画像から抽出するフレーム画像の枚数(フレーム画像抽出数)が大となるように、動画像ファイルの各々について、フレーム画像抽出数を決定する処理である。   In the extraction frame number determination process (S101b) of the second embodiment, the larger the number of scene switching included in a moving image, the larger the number of frame images extracted from the moving image (the number of frame image extractions). In addition, it is a process for determining the number of frame image extractions for each moving image file.

まず、ファイル数カウンタ、抽出フレーム数カウンタ、処理画像数カウンタを0で初期化する(S501)。   First, a file number counter, an extracted frame number counter, and a processed image number counter are initialized with 0 (S501).

次に、ファイル数カウンタ値に対応するファイル種類記憶領域203(図5参照)を参照し、画像ファイルの種類が、動画像ファイルであるか静止画像ファイルであるかを判断する(S502)。静止画像ファイルであると判断された場合(S502:静止画像)、図15に示すS525の処理に移行する。   Next, referring to the file type storage area 203 (see FIG. 5) corresponding to the file number counter value, it is determined whether the type of the image file is a moving image file or a still image file (S502). If it is determined that the file is a still image file (S502: still image), the process proceeds to S525 shown in FIG.

一方、動画像ファイルであると判断された場合(S502:動画像)、ファイル数カウンタ値に対応するファイルID記憶領域201からファイルIDを読み出す(S503)。そして、そのファイルIDに対応する動画像ファイルから総フレーム数を読み出し、ファイル数カウンタ値に対応する総フレーム数記憶領域205に記憶する(S504)。   On the other hand, when it is determined that the file is a moving image file (S502: moving image), the file ID is read from the file ID storage area 201 corresponding to the file number counter value (S503). Then, the total number of frames is read from the moving image file corresponding to the file ID, and stored in the total frame number storage area 205 corresponding to the file number counter value (S504).

次に、ファイル数カウンタ値に対応するfps情報を、fps情報記憶領域206から読み出し、そのfps情報に基づいて、調査フレーム抽出間隔を算出する(S507)。調査フレーム抽出間隔は、例えば、下記の数式15に基づいて算出できる。
(数式15)
調査フレーム抽出間隔= (fps情報 / 間隔係数)
上記間隔係数は、予め定められた固定値であっても良いし、ユーザが操作部4から設定できるように構成されても良い。
Next, the fps information corresponding to the file number counter value is read from the fps information storage area 206, and the survey frame extraction interval is calculated based on the fps information (S507). The survey frame extraction interval can be calculated based on Equation 15 below, for example.
(Formula 15)
Survey frame extraction interval = (fps information / interval coefficient)
The interval coefficient may be a predetermined fixed value, or may be configured to be set by the user from the operation unit 4.

次に、総フレーム数、調査フレーム抽出間隔から調査フレーム数を算出する(S507)。調査フレーム数は、例えば、下記の数式16に基づいて算出できる。
(数式16)
調査フレーム数 =[総フレーム数/調査フレーム抽出間隔]
Next, the number of survey frames is calculated from the total number of frames and the survey frame extraction interval (S507). The number of survey frames can be calculated based on, for example, Equation 16 below.
(Formula 16)
Number of survey frames = [total number of frames / survey frame extraction interval]

次に、抽出フレーム数カウンタを「0」で初期化する(S509)。そして、抽出フレーム数カウンタ値にフレーム抽出間隔を乗算して得られる値をフレーム抽出位置として、そのフレーム抽出位置で特定されるフレーム画像情報を抽出する(S510)。   Next, the extracted frame number counter is initialized with “0” (S509). Then, using the value obtained by multiplying the extracted frame number counter value by the frame extraction interval as the frame extraction position, the frame image information specified at the frame extraction position is extracted (S510).

そして、そのフレーム画像情報を、第1調査フレーム記憶領域13t(図2参照)に記憶する(S511)。そして、抽出フレーム数カウンタに「1」を加算し(S512)、図15に示す処理に移行する。   Then, the frame image information is stored in the first survey frame storage area 13t (see FIG. 2) (S511). Then, “1” is added to the extracted frame number counter (S512), and the process proceeds to the process shown in FIG.

図15は、図14に示す抽出フレーム決定処理(S101b)の後半部分を示す処理である。まず、抽出フレーム数カウンタ値にフレーム抽出間隔を乗算して得られる値をフレーム抽出位置として、そのフレーム抽出位置で特定されるフレーム画像情報を抽出する(S513)。   FIG. 15 is a process showing the latter half of the extracted frame determination process (S101b) shown in FIG. First, frame image information specified by the frame extraction position is extracted using a value obtained by multiplying the extracted frame number counter value by the frame extraction interval as a frame extraction position (S513).

次に、そのフレーム画像情報を、第2調査フレーム記憶領域13u(図2参照)に記憶する(S514)。そして、その第2調査フレーム記憶領域13uに格納したフレーム画像情報と、第1調査フレーム記憶領域13tに格納したフレーム画像情報との差分を算出する(S515)。   Next, the frame image information is stored in the second survey frame storage area 13u (see FIG. 2) (S514). Then, the difference between the frame image information stored in the second survey frame storage area 13u and the frame image information stored in the first survey frame storage area 13t is calculated (S515).

具体的には、画素毎に画素値の差分を算出し、その差分を全画素分について合計した値を、2つのフレーム画像情報の差分として算出する。ただし、処理速度の観点からは、予め定めた数ポイントについてのみ画素値の差分を算出し、その差分を合計した値を、2つのフレーム画像情報の差分としても良い。   Specifically, a difference between pixel values is calculated for each pixel, and a value obtained by adding the differences for all pixels is calculated as a difference between two pieces of frame image information. However, from the viewpoint of processing speed, the difference between the pixel values may be calculated only for a predetermined number of points, and the sum of the differences may be used as the difference between the two frame image information.

次に、算出した差分が閾値以上であるか否かを判断する(S516)。ここで、閾値は、先に抽出されたフレーム画像情報と今回抽出されたフレーム画像情報との間に、シーンの切り替えがあったか否かを検出するために、予め定められた固定値であるものとして説明するが、ユーザが操作部4から設定できるように構成されても良い。   Next, it is determined whether or not the calculated difference is greater than or equal to a threshold value (S516). Here, the threshold value is assumed to be a predetermined fixed value in order to detect whether or not the scene has been switched between the previously extracted frame image information and the currently extracted frame image information. As will be described, the user may be configured to be able to set from the operation unit 4.

S516の判断が否定される場合(S516:No)、S519に移行する。一方、S516の判断が肯定される場合(S516:Yes)、すなわち、動画像に含まれるシーンの切り替えが検出された場合、抽出フレーム数カウンタ、処理画像数カウンタに「1」を加算する(S517)。   When judgment of S516 is denied (S516: No), it transfers to S519. On the other hand, if the determination in S516 is affirmative (S516: Yes), that is, if switching of a scene included in the moving image is detected, “1” is added to the extracted frame number counter and the processed image number counter (S517). ).

そして、S513の処理で算出されたフレーム抽出位置を、処理画像数カウンタ値に対応する抽出フレーム位置記憶領域303(図6参照)に記憶し、現時点における抽出フレーム数カウンタ値を、抽出フレーム番号記憶領域304に記憶する(S518)。   Then, the frame extraction position calculated in the process of S513 is stored in the extracted frame position storage area 303 (see FIG. 6) corresponding to the processed image number counter value, and the current extracted frame number counter value is stored in the extracted frame number storage. It memorize | stores in the area | region 304 (S518).

次に、第2調査フレーム記憶領域13uのデータを、第1調査フレーム記憶領域13tに記憶し(S519)、抽出フレーム数カウンタに「1」を加算する(S520)。   Next, the data in the second survey frame storage area 13u is stored in the first survey frame storage area 13t (S519), and "1" is added to the extracted frame number counter (S520).

次に、抽出フレーム数カウンタ値が調査フレーム数以上か否かを判断する(S521)。S521の判断が否定される間(S521:No)、S513に戻り処理を繰り返す。   Next, it is determined whether or not the extracted frame number counter value is greater than or equal to the number of survey frames (S521). While the determination in S521 is negative (S521: No), the process returns to S513 and is repeated.

すなわち、先に抽出されたフレーム画像情報との間の差分が閾値以上と判断されたフレーム画像情報が、後に実行される配置印刷処理において抽出されるように、フレーム抽出位置が抽出フレーム位置記憶領域303に記憶される。   That is, the frame extraction position is the extracted frame position storage area so that the frame image information for which the difference from the previously extracted frame image information is determined to be greater than or equal to the threshold is extracted in the layout printing process to be executed later. 303 is stored.

その結果、処理対象の動画像に複数のシーンが含まれる場合には、各シーンから少なくとも1枚のフレーム画像が抽出され、動画インデックス画像21が画像一覧20に配置されるように、フレーム抽出位置を決定することができる。   As a result, when a plurality of scenes are included in the moving image to be processed, at least one frame image is extracted from each scene, and the frame extraction position is set such that the moving image index image 21 is arranged in the image list 20. Can be determined.

そして、S521の判断が肯定されると(S521:Yes)、次に、ファイル数カウンタ値に対応するファイル付加記憶領域209(図5参照)へ、シーン切り替え回数を記憶する(S522)。   If the determination in S521 is affirmative (S521: Yes), then the number of scene switching is stored in the file additional storage area 209 (see FIG. 5) corresponding to the file number counter value (S522).

次に、現時点における抽出フレーム数カウンタ値を、処理対象の動画像から抽出するフレーム画像の枚数として決定し、ファイル数カウンタ値に対応する抽出フレーム数記憶領域204へ記憶する(S524)。そして、抽出フレーム数カウンタ値を「0」で初期化し(S525)、ファイル数カウンタを「1」加算する(S526)。   Next, the current extracted frame number counter value is determined as the number of frame images to be extracted from the processing target moving image, and stored in the extracted frame number storage area 204 corresponding to the file number counter value (S524). Then, the extracted frame number counter value is initialized with “0” (S525), and the file number counter is incremented by “1” (S526).

次に、ファイル数カウンタ値が、総処理ファイル数以上となったか否かを判断し(S527)、S527の判断が否定される場合(S527:No)、S502に戻り処理を繰り返す。   Next, it is determined whether or not the file number counter value is equal to or greater than the total number of processed files (S527). If the determination in S527 is negative (S527: No), the process returns to S502 and the process is repeated.

このようにして処理を繰り返すうちに、S527の判断が肯定されると(S527:Yes)、抽出フレーム数決定処理(S101b)を終了する。   If the determination in S527 is affirmed while the process is repeated in this manner (S527: Yes), the extracted frame number determination process (S101b) is terminated.

第2実施形態のMFP1も、第1実施形態のMFP1と同様に、抽出フレーム数決定処理によって決定された枚数のフレーム画像に対応するフレーム画像情報が、後に実行される配置印刷処理(S103)において抽出され、動画インデックス画像22として出力される。   Similarly to the MFP 1 of the first embodiment, the MFP 1 of the second embodiment also receives frame image information corresponding to the number of frame images determined by the extracted frame number determination process in the layout printing process (S103) executed later. Extracted and output as a moving image index image 22.

よって、第2実施形態のMFP1によれば、シーン切り替え回数が大である動画像ファイルについては、より多数の動画インデックス画像21が、画像一覧20に配置される。シーン切り替え回数が大である動画像ファイルについては、多数の動画インデックス画像21を画像一覧20に配置することにより、その動画像ファイルの内容を、ユーザに的確に把握させることができる。   Therefore, according to the MFP 1 of the second embodiment, a larger number of moving image index images 21 are arranged in the image list 20 for a moving image file having a large number of scene switching times. For a moving image file with a large number of scene switching times, by arranging a large number of moving image index images 21 in the image list 20, the contents of the moving image file can be accurately grasped by the user.

また、動画像に複数のシーンが含まれる場合であっても、シーン毎に少なくとも1つの動画インデックス画像21が画像一覧20に配置されることとなるので、動画像ファイルに記録された多数のシーンの各々を、より的確に把握させることができる。   In addition, even when a moving image includes a plurality of scenes, at least one moving image index image 21 is arranged in the image list 20 for each scene, and thus a large number of scenes recorded in the moving image file. Each can be grasped more accurately.

次に、第3実施形態のMFP1について説明する。なお、第3実施形態のMFP1の外観構成および電気的構成は、第1実施形態のMFP1と同一であるため、第3実施形態のMFP1については、抽出フレーム数決定処理のみ図示することとする。   Next, the MFP 1 according to the third embodiment will be described. Note that since the external configuration and electrical configuration of the MFP 1 of the third embodiment are the same as those of the MFP 1 of the first embodiment, only the extracted frame number determination process is illustrated for the MFP 1 of the third embodiment.

図16は、第3実施形態のMFP1で実行される抽出フレーム数決定処理(S101c)を示すフローチャートである。この抽出フレーム数決定処理(S101c)は、第1実施形態で説明した抽出フレーム数決定処理(S101a)に代えて実行される。なお、第3実施形態の抽出フレーム数決定処理(S101c)は、上述した第1実施形態の抽出フレーム数決定処理(S101a)におけるS403,S404の処理に代えて、S601〜S603の処理が設けられている点において異なり、他は同一であるので、同一の構成については同一の符号を付して説明を省略する。   FIG. 16 is a flowchart illustrating the extracted frame number determination process (S101c) executed by the MFP 1 of the third embodiment. This extracted frame number determination process (S101c) is executed instead of the extracted frame number determination process (S101a) described in the first embodiment. Note that the extracted frame number determination process (S101c) of the third embodiment includes processes of S601 to S603 instead of the processes of S403 and S404 in the extracted frame number determination process (S101a) of the first embodiment described above. In other respects, the other components are the same, and the same components are denoted by the same reference numerals and the description thereof is omitted.

図16に示すように、第3実施形態の抽出フレーム数決定処理(S101c)は、処理対象の動画像ファイルの総フレーム数を読み出し(S601)、総フレーム数記憶領域205(図5参照)に記憶する(S602)。そして、総フレーム数から例えば、下の数式Aまたは数式Bのいずれかにより、フレーム画像抽出数を算出する。
(数式A)
フレーム画像抽出数 = 総フレーム数 / 単位フレーム数
ここで、単位フレーム数は、予め定められた値であっても良いし、ユーザが操作部4から入力できるように構成されていても良い。
(数式B)
フレーム画像抽出数 =(総フレーム数/平均総フレーム数)×基準抽出枚数
ここで、平均総フレーム数は、全動画像ファイルの総フレーム数を平均した値であり、基準抽出枚数は、予め定められた値であっても良いし、ユーザが操作部4から入力できるように構成されていても良い。
As shown in FIG. 16, the extracted frame number determination process (S101c) of the third embodiment reads the total frame number of the moving image file to be processed (S601), and stores it in the total frame number storage area 205 (see FIG. 5). Store (S602). Then, the number of frame image extractions is calculated from the total number of frames, for example, by using either the following formula A or formula B.
(Formula A)
Number of extracted frame images = total number of frames / number of unit frames Here, the number of unit frames may be a predetermined value or may be configured so that the user can input from the operation unit 4.
(Formula B)
Number of extracted frame images = (total number of frames / average total number of frames) × reference number of extracted frames Here, the average total number of frames is a value obtained by averaging the total number of frames of all moving image files. It may be configured to be a value, or may be configured so that the user can input from the operation unit 4.

第3実施形態のMFP1によれば、動画像に多数のフレーム画像が含まれる動画像ファイルについては、フレーム画像抽出数として大きい値が決定されるので、より多数の動画インデックス画像21が、画像一覧20に配置されることとなる。多数のフレーム画像で構成される動画像には、より多くのシーンが含まれていることが予想されるので、より多数の動画インデックス画像21を画像一覧20に配置することにより、その動画像ファイルの内容を、ユーザに的確に把握させることができる。   According to the MFP 1 of the third embodiment, for a moving image file in which a large number of frame images are included in a moving image, a large value is determined as the number of extracted frame images. 20 will be arranged. Since a moving image composed of a large number of frame images is expected to include a larger number of scenes, a larger number of moving image index images 21 are arranged in the image list 20, thereby moving the moving image file. It is possible to allow the user to accurately grasp the contents of.

以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能であることは容易に推察できるものである。   The present invention has been described above based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications and changes can be easily made without departing from the spirit of the present invention. Can be inferred.

例えば、本実施形態では、画像一覧20を記録用紙に印刷出力するものとして説明したが、LCD5など表示装置に画像一覧20を表示出力する場合にも、本発明を適用できる。   For example, in the present embodiment, the image list 20 is described as being printed out on recording paper. However, the present invention can also be applied to the case where the image list 20 is displayed on a display device such as the LCD 5.

また、本発明を、例えば、パーソナルコンピュータに適用し、PCのモニターに、画像一覧20を表示出力する場合、あるいは、パーソナルコンピュータからプリンタを制御して画像一覧を印刷出力する場合にも、本発明を適用できる。   The present invention is also applied to, for example, a case where the present invention is applied to a personal computer and the image list 20 is displayed on a PC monitor, or the image list is printed out by controlling the printer from the personal computer. Can be applied.

また、上記実施形態で説明した抽出フレーム数決定処理(S101a,S101b,S101c)を変形し、例えば、画像一覧20に配置する、静止画インデックス画像22の個数に基づいて、フレーム画像抽出数を決定するように、構成しても良い。   Further, the extraction frame number determination process (S101a, S101b, S101c) described in the above embodiment is modified, and the frame image extraction number is determined based on, for example, the number of still image index images 22 arranged in the image list 20. You may comprise so that it may do.

例えば、第1実施形態の抽出フレーム数決定処理(101a)において、最初に、メディアカードに格納された静止画像ファイルの個数を算出することとする。そして、その個数が例えば、10であった場合(すなわち、画像一覧20に配置することとなる静止画インデックス画像22の個数が10個である場合)には、その静止画インデックス画像22の個数に基づき、一の最長録画時間の動画の最大抽出枚数を、例えば10フレーム、あるいは20フレームといった枚数に設定する。   For example, in the extracted frame number determination process (101a) of the first embodiment, first, the number of still image files stored in the media card is calculated. For example, when the number is 10 (that is, when the number of still image index images 22 to be arranged in the image list 20 is 10), the number of the still image index images 22 is increased. Based on this, the maximum number of moving images extracted with one longest recording time is set to a number such as 10 frames or 20 frames.

そして、その動画像よりも録画時間の短い動画ファイルがあれば、その最長録画時間に対する、各動画像の録画時間の割合を、先に算出した最大抽出枚数に乗算することにより、各動画像ファイルについて、フレーム画像抽出数を決定する。このようにすれば、静止画インデックス画像22の個数に基づくフレーム画像抽出数を決定することができる。   Then, if there is a moving image file whose recording time is shorter than that of the moving image, each moving image file is multiplied by the ratio of the recording time of each moving image to the longest recording time by the previously calculated maximum number of extracted images. The number of frame image extractions is determined. In this way, the number of frame image extractions based on the number of still image index images 22 can be determined.

なお、静止画インデックス22の個数に対する動画像の最大抽出枚数については、予め、テーブルに記憶させておいてもよいし、静止画インデックス22の個数と同じ数を最大抽出枚数としてもよい。また、静止画インデックス画像22の個数を利用した特定の数式により、導き出すものでもよい。   The maximum number of moving images extracted with respect to the number of still image indexes 22 may be stored in a table in advance, or the same number as the number of still image indexes 22 may be set as the maximum number of extracted images. Further, it may be derived by a specific formula using the number of still image index images 22.

さらに、静止画インデックス画像22の個数に基づいて、フレーム画像抽出数を決定する変形例としては、次のような例も考えられる。例えば、上記数式4や、上記数式Bの「基準抽出枚数」に、静止画インデックス画像22の個数を代入することにより、フレーム画像抽出数を算出する。このようにしても、静止画インデックス画像22の個数に基づく(すなわち、静止画インデックス画像22の個数と一定の相関関係を有する)、フレーム画像抽出数を決定することができる。   Further, as a modification example in which the number of frame images extracted is determined based on the number of still image index images 22, the following example is also conceivable. For example, the number of frame image extractions is calculated by substituting the number of still image index images 22 into the “reference extraction number” of Equation 4 or Equation B above. Even in this case, the number of frame image extractions can be determined based on the number of still image index images 22 (that is, having a certain correlation with the number of still image index images 22).

本変形例のように、静止画インデックス画像22の個数に基づいて、フレーム画像抽出数を決定することとすれば、ユーザにとって、閲覧性の良い画像一覧20を提供することができる。例えば、静止画像ファイル及び動画像ファイルが夫々1ファイルずつ記録媒体に格納されている場合、動画ファイルから抽出したフレームが100枚もあると、100個の動画インデックス画像21の中で、1個の静止画インデックス画像22は紛れてしまうことがある。そのような場合、画像一覧20を印刷しても、ユーザは静止画インデックス画像21がどこに印刷され、どのような静止画かを確認するのが非常に煩わしい。本変形例によれば、例えば、静止画の枚数とフレームの「基準抽出枚数」を同じ値に設定しておけば、静止画像の枚数とフレーム画像の枚数のバランスを保つことができ、そのような煩わしさが低減される。   If the number of frame image extractions is determined based on the number of still image index images 22 as in this modification, it is possible to provide an image list 20 that is easy to view for the user. For example, when a still image file and a moving image file are stored in a recording medium one by one, if there are 100 frames extracted from a moving image file, one of 100 moving image index images 21 The still image index image 22 may be confused. In such a case, even if the image list 20 is printed, it is very troublesome for the user to check where the still image index image 21 is printed and what kind of still image it is. According to this modification, for example, if the number of still images and the “reference extraction number” of frames are set to the same value, the balance between the number of still images and the number of frame images can be maintained. Troublesomeness is reduced.

また、上述した実施形態では、動画像ファイルおよび静止画像ファイルは、共に撮影により生成された画像ファイルであるものとして説明したが、動画像ファイルおよび静止画像ファイルは、撮影以外の方法で生成されるものであっても、本発明を適用可能である。その場合は、撮影日時に代えて、ファイルの作成日時を表すファイルの生成日時情報や、ファイルの更新日時情報など、他の条件を元に、インデックス画像21,22の配置順序を決定するように構成されても良い。   In the above-described embodiment, the moving image file and the still image file are both assumed to be image files generated by shooting. However, the moving image file and the still image file are generated by a method other than shooting. Even if it is a thing, this invention is applicable. In this case, the arrangement order of the index images 21 and 22 is determined based on other conditions such as file generation date / time information indicating file creation date / time and file update date / time information instead of the shooting date / time. It may be configured.

また、上述した実施形態では、メディアカード内に、静止画像ファイルと動画像ファイルとが混在している場合について説明したが、メディアカード内に動画像ファイルのみが格納されている場合にも本発明は適用可能である。   In the above-described embodiment, the case where a still image file and a moving image file are mixed in the media card has been described. Is applicable.

また、上述した実施形態では、着脱可能なメディアカード内に記憶されている画像情報を処理対象としていたが、MFP1の内部メモリに格納された画像情報を処理対象とする場合にも、本発明は適用可能である。   In the above-described embodiment, the image information stored in the removable media card is the processing target. However, the present invention is also applicable to the case where the image information stored in the internal memory of the MFP 1 is the processing target. Applicable.

また、上記実施形態以外の条件に基づいて、フレーム画像抽出数を決定するように構成しても良い。例えば、動画像情報に含まれる音声情報を解析する解析手段と、その解析手段による解析に基づいて、音量が閾値以上となった回数または時間を検出する音声解析手段とを備え、その音声解析手段により検出される回数または時間が大となるほど、その動画像から切り出すフレーム画像の枚数が大となるように、前記動画像情報の各々についてフレーム画像の枚数を決定するようにしても良い。また、大音量の音声が録音されているシーンに対応した位置をフレーム抽出位置として決定しても良い。   Further, the number of frame image extractions may be determined based on conditions other than the above embodiment. For example, an analysis unit that analyzes voice information included in the moving image information, and a voice analysis unit that detects the number of times or time when the volume exceeds a threshold based on the analysis by the analysis unit, the voice analysis unit The number of frame images may be determined for each of the moving image information so that the larger the number of times or time detected by the above, the larger the number of frame images cut out from the moving image. Further, a position corresponding to a scene where a loud sound is recorded may be determined as the frame extraction position.

また、特定周波数の音声のみについて、その音声が検出された回数または時間を検出するものであっても良い。   Alternatively, only the sound of a specific frequency may be detected for the number of times or time when the sound is detected.

さらに、上記実施形態では、撮影日時に基づいて配置順序をソートしていたが、例えば、ダイナミックレンジや、平均輝度、画像に顔が含まれるか否か、など、他の条件で、配置順序をソートするものであっても良い。   Furthermore, in the above-described embodiment, the arrangement order is sorted based on the shooting date and time. However, the arrangement order is changed under other conditions such as a dynamic range, average luminance, and whether or not a face is included in an image. You may sort.

本発明の画像処理装置の第1実施形態であるMFPの外観構成を示した斜視図である。1 is a perspective view showing an external configuration of an MFP that is a first embodiment of an image processing apparatus according to the present invention; FIG. MFPの電気的構成を示すブロック図である。2 is a block diagram illustrating an electrical configuration of the MFP. FIG. MFPが出力する、1ページ分の画像一覧の一例を示す図である。FIG. 3 is a diagram illustrating an example of an image list for one page output from an MFP. MFPによって決定される、動画像から抽出するフレーム画像の枚数と、録画時間長さとの関係を模式的に示す図である。FIG. 6 is a diagram schematically showing a relationship between the number of frame images extracted from a moving image and the recording time length determined by the MFP. ファイル情報記憶領域の構成を模式的に示す図である。It is a figure which shows typically the structure of a file information storage area. 配置情報記憶領域の構成を模式的に示す図である。It is a figure which shows typically the structure of an arrangement | positioning information storage area. MFPで実行されるレイアウト画像印刷処理を示すフローチャートである。6 is a flowchart illustrating a layout image printing process executed by the MFP. 画像情報取得処理を示すフローチャートである。It is a flowchart which shows an image information acquisition process. 抽出フレーム数決定処理を示すフローチャートである。It is a flowchart which shows an extraction frame number determination process. 配置情報決定処理を示すフローチャートである。It is a flowchart which shows arrangement | positioning information determination processing. 画像日付算出処理を示すフローチャートである。It is a flowchart which shows an image date calculation process. 配置印刷処理を示すフローチャートである。It is a flowchart which shows arrangement | positioning printing processing. 図12に示す配置印刷処理の続きを示すフローチャートである。13 is a flowchart showing a continuation of the layout printing process shown in FIG. 第2実施形態のMFPが実行する抽出フレーム数決定処理を示すフローチャートである。10 is a flowchart illustrating extraction frame number determination processing executed by the MFP according to the second embodiment. 図14に示す抽出フレーム数決定処理の続きの部分を示すフローチャートである。FIG. 15 is a flowchart showing a continuation of the extracted frame number determination process shown in FIG. 14. FIG. 第3実施形態のMFPで実行される抽出フレーム数決定処理を示すフローチャートである。12 is a flowchart illustrating extraction frame number determination processing executed by the MFP of the third embodiment.

符号の説明Explanation of symbols

1 MFP(画像処理装置の一例)
20 画像一覧
21 動画インデックス画像
22 静止画インデックス画像
S101a 抽出フレーム数決定処理(抽出フレーム数決定手段の一例)
S101b 抽出フレーム数決定処理(抽出フレーム数決定手段の一例)
S101c 抽出フレーム数決定処理(抽出フレーム数決定手段の一例)
S1110 フレーム画像取得手段の一例
S102 配置情報決定処理(順序決定手段の一例)
S103 配置印刷処理(出力手段の一例)
S516 切り替え検出手段の一例
S1005 時刻情報取得手段の一例
S1006 時刻情報取得手段の一例
S1011 時刻情報取得手段の一例
1 MFP (an example of an image processing apparatus)
20 Image List 21 Movie Index Image 22 Still Image Index Image S101a Extracted Frame Number Determination Process (Example of Extracted Frame Number Determination Unit)
S101b Extracted frame number determination processing (an example of extracted frame number determination means)
S101c Extracted frame number determination processing (an example of extracted frame number determination means)
S1110 Example of frame image acquisition means S102 Arrangement information determination processing (example of order determination means)
S103 Arrangement printing process (an example of output means)
S516 An example of switching detection means S1005 An example of time information acquisition means S1006 An example of time information acquisition means S1011 An example of time information acquisition means

Claims (9)

動画像を再生するための動画像情報を処理する画像処理装置であって、
動画像から抽出するフレーム画像の枚数を、記憶媒体に格納された1または複数の動画像情報の各々について決定する抽出フレーム数決定手段と、
その抽出フレーム数決定手段により決定される枚数のフレーム画像に対応したフレーム画像情報を、前記動画像情報の各々から取得するフレーム画像取得手段と、
そのフレーム画像取得手段により取得されるフレーム画像情報に基づいて、そのフレーム画像情報に対応するフレーム画像、またはそのフレーム画像の縮小もしくは拡大画像が動画インデックス画像として配置された画像一覧を出力する出力手段とを備えることを特徴とする画像処理装置。
An image processing apparatus for processing moving image information for reproducing a moving image,
Extraction frame number determining means for determining the number of frame images extracted from a moving image for each of one or more pieces of moving image information stored in a storage medium;
Frame image acquisition means for acquiring frame image information corresponding to the number of frame images determined by the extracted frame number determination means from each of the moving image information;
Based on the frame image information acquired by the frame image acquisition means, an output means for outputting an image list in which frame images corresponding to the frame image information or reduced or enlarged images of the frame images are arranged as moving image index images An image processing apparatus comprising:
前記出力手段は、
静止画像を出力するための静止画像情報が前記記憶媒体に記憶されている場合、その静止画像情報に対応した静止画像またはその静止画像の縮小もしくは拡大画像で構成される静止画インデックス画像を、前記動画インデックス画像と共に配置した画像一覧を出力することを特徴とする請求項1記載の画像処理装置。
The output means includes
When still image information for outputting a still image is stored in the storage medium, a still image index image composed of a still image corresponding to the still image information or a reduced or enlarged image of the still image is The image processing apparatus according to claim 1, wherein a list of images arranged together with the moving image index image is output.
前記動画インデックス画像と、前記静止画インデックス画像とを含むインデックス画像群が、所定の条件に従った順序で配列されるように、前記インデックス画像群を構成するインデックス画像の各々について、配置順序を決定する順序決定手段を備え、
前記出力手段は、前記順序決定手段により決定された配置順序で前記インデックス画像群が配列された画像一覧を出力することを特徴とする請求項2記載の画像処理装置。
An arrangement order is determined for each of the index images constituting the index image group so that the index image group including the moving image index image and the still image index image is arranged in an order according to a predetermined condition. Order determination means for
The image processing apparatus according to claim 2, wherein the output unit outputs an image list in which the index image group is arranged in the arrangement order determined by the order determination unit.
静止画像情報、及び、フレーム画像情報の各々について、画像情報が生成された時刻を特定する時刻情報を取得する時刻情報取得手段を備え、
前記配置順序決定手段は、
前記時刻情報取得手段により取得される時刻情報を前記所定の条件とし、時刻情報により特定される時刻の昇順または降順となるように、前記インデックス画像群を構成するインデックス画像の各々について、配置順序を決定することを特徴とする請求項3記載の画像処理装置。
For each of the still image information and the frame image information, a time information acquisition unit that acquires time information for specifying a time when the image information is generated is provided.
The arrangement order determining means includes
With the time information acquired by the time information acquisition means as the predetermined condition, the arrangement order is set for each of the index images constituting the index image group so that the time specified by the time information is in ascending or descending order. The image processing apparatus according to claim 3, wherein the determination is performed.
前記抽出フレーム数決定手段は、前記動画像の録画時間長さが大であるほど、その動画像から抽出するフレーム画像の枚数が大となるように、前記動画像情報の各々について、フレーム画像の枚数を決定することを特徴とする請求項1から4のいずれかに記載の画像処理装置。   The extracted frame number determining means determines the frame image of each of the moving image information so that the larger the recording time length of the moving image, the larger the number of frame images extracted from the moving image. The image processing apparatus according to claim 1, wherein the number of sheets is determined. 前記動画像に含まれるシーンの切り替えを検出する切り替え検出手段を備え、
前記抽出フレーム数決定手段は、前記切り替え検出手段により検出されるシーン切り替え回数が大であるほど、その動画像から抽出するフレーム画像の枚数が大となるように、前記動画像情報の各々について、フレーム画像の枚数を決定することを特徴とする請求項1から4のいずれかに記載の画像処理装置。
Comprising switching detection means for detecting switching of a scene included in the moving image;
For each of the moving image information, the extracted frame number determining unit increases the number of frame images extracted from the moving image as the number of scene switching detected by the switching detection unit increases. 5. The image processing apparatus according to claim 1, wherein the number of frame images is determined.
前記フレーム画像取得手段は、
動画像に複数のシーンが含まれる場合、各シーンから少なくとも1枚のフレーム画像が抽出されるように、シーン毎にフレーム画像情報を取得することを特徴とする請求項6記載の画像処理装置。
The frame image acquisition means includes
The image processing apparatus according to claim 6, wherein when a moving image includes a plurality of scenes, frame image information is acquired for each scene so that at least one frame image is extracted from each scene.
前記抽出フレーム数決定手段は、動画像に含まれるフレーム画像の総数が大であるほど、その動画像から抽出するフレーム画像の枚数が大となるように、前記動画像情報の各々について、フレーム画像の枚数を決定することを特徴とする請求項1から4のいずれかに記載の画像処理装置。   The extracted frame number determining means determines the frame image for each of the moving image information so that the larger the total number of frame images included in the moving image, the larger the number of frame images extracted from the moving image. The image processing apparatus according to claim 1, wherein the number of images is determined. 前記抽出フレーム数決定手段は、
前記出力手段により出力する前記画像一覧に配置する、前記静止画インデックス画像の個数に基づいて、前記動画像から抽出するフレーム画像の枚数を決定することを特徴とする請求項2記載の画像処理装置。
The extracted frame number determining means includes:
3. The image processing apparatus according to claim 2, wherein the number of frame images extracted from the moving image is determined based on the number of the still image index images arranged in the image list output by the output unit. .
JP2008094138A 2008-03-31 2008-03-31 Image processing device Active JP4760849B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2008094138A JP4760849B2 (en) 2008-03-31 2008-03-31 Image processing device
US12/414,318 US8320717B2 (en) 2008-03-31 2009-03-30 Image processor
US13/662,920 US8588532B2 (en) 2008-03-31 2012-10-29 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008094138A JP4760849B2 (en) 2008-03-31 2008-03-31 Image processing device

Publications (2)

Publication Number Publication Date
JP2009246890A true JP2009246890A (en) 2009-10-22
JP4760849B2 JP4760849B2 (en) 2011-08-31

Family

ID=41308287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008094138A Active JP4760849B2 (en) 2008-03-31 2008-03-31 Image processing device

Country Status (1)

Country Link
JP (1) JP4760849B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012044646A (en) * 2010-07-22 2012-03-01 Fujifilm Corp Image processing device, image processing method and program
JP2012205238A (en) * 2011-03-28 2012-10-22 Brother Ind Ltd Image processing device and image processing program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006060648A (en) * 2004-08-23 2006-03-02 Seiko Epson Corp Selection method of still picture, and printer
JP2006080652A (en) * 2004-09-07 2006-03-23 Canon Inc Recording and reproducing apparatus and recording and reproducing method
JP2007323698A (en) * 2006-05-30 2007-12-13 Canon Inc Multi-media content display device, method, and program
JP2007329684A (en) * 2006-06-07 2007-12-20 Canon Inc Image reproducing device, image reproducing method, printing system, program, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006060648A (en) * 2004-08-23 2006-03-02 Seiko Epson Corp Selection method of still picture, and printer
JP2006080652A (en) * 2004-09-07 2006-03-23 Canon Inc Recording and reproducing apparatus and recording and reproducing method
JP2007323698A (en) * 2006-05-30 2007-12-13 Canon Inc Multi-media content display device, method, and program
JP2007329684A (en) * 2006-06-07 2007-12-20 Canon Inc Image reproducing device, image reproducing method, printing system, program, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012044646A (en) * 2010-07-22 2012-03-01 Fujifilm Corp Image processing device, image processing method and program
US9020328B2 (en) 2010-07-22 2015-04-28 Fujifilm Corporation Image processing device, image processing method, and program
US9311961B2 (en) 2010-07-22 2016-04-12 Fujifilm Corporation Image extracting device, image extracting method, and recording medium
JP2012205238A (en) * 2011-03-28 2012-10-22 Brother Ind Ltd Image processing device and image processing program

Also Published As

Publication number Publication date
JP4760849B2 (en) 2011-08-31

Similar Documents

Publication Publication Date Title
KR101062572B1 (en) Computer-readable recording medium recording image output device and program
US6016184A (en) Filing system and reproduction apparatus
JP5246286B2 (en) Image recording apparatus, image recording method, and program
JP2009237702A (en) Album creating method, program and apparatus
JP4572948B2 (en) Image processing device
JP2007089136A (en) Image processing method, image processing program, recording medium, and composite device
JP5036331B2 (en) Image processing apparatus, image processing method, and program
JP4859865B2 (en) CALENDAR OUTPUT METHOD, PROGRAM, AND DEVICE
KR101098754B1 (en) Image processing apparatus and image processing method
US7995865B2 (en) Apparatus and method for laying out images and program therefor
US8466929B2 (en) Image processor
JP4760849B2 (en) Image processing device
JP2007158536A (en) Method, apparatus, and program for outputting image
EP2107786B1 (en) Image processor
JP2006107144A (en) Image reproduction device
JP4685843B2 (en) Album editing apparatus and method, and program
EP1811401A1 (en) Image search device, image search method, image creation device, image creation method, and program
JP4623120B2 (en) Image processing device
JP4437999B2 (en) Index album booklet creation method, apparatus and program
JP4821794B2 (en) Image processing device
JP5149925B2 (en) Display control apparatus and control method thereof
JP4437998B2 (en) Index album booklet creation method, apparatus and program
JP2005197822A (en) Imaging apparatus, and generating method of title-attached thumbnail picture
JP2004362403A (en) Image output system and its method
JP2005210233A (en) Image data management apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110418

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: 20110510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110523

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

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4760849

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150