JP4854957B2 - Representative image selection apparatus and method, and program - Google Patents

Representative image selection apparatus and method, and program Download PDF

Info

Publication number
JP4854957B2
JP4854957B2 JP2004363035A JP2004363035A JP4854957B2 JP 4854957 B2 JP4854957 B2 JP 4854957B2 JP 2004363035 A JP2004363035 A JP 2004363035A JP 2004363035 A JP2004363035 A JP 2004363035A JP 4854957 B2 JP4854957 B2 JP 4854957B2
Authority
JP
Japan
Prior art keywords
images
image
representative
value
candidate
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.)
Expired - Fee Related
Application number
JP2004363035A
Other languages
Japanese (ja)
Other versions
JP2006172090A (en
Inventor
優子 松井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2004363035A priority Critical patent/JP4854957B2/en
Priority to US11/298,742 priority patent/US7783115B2/en
Publication of JP2006172090A publication Critical patent/JP2006172090A/en
Application granted granted Critical
Publication of JP4854957B2 publication Critical patent/JP4854957B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数の画像から、複数の画像を代表する代表画像を選択する代表画像選択装置および方法並びに代表画像選択方法をコンピュータに実行させるためのプログラムに関するものである。   The present invention relates to a representative image selection device and method for selecting a representative image representing a plurality of images from a plurality of images, and a program for causing a computer to execute the representative image selection method.

デジタルカメラおよびスキャナの普及により、誰もが手軽にデジタルの画像を取得することが可能となっている。また、画像をパソコンに取り込んで整理することも行われている。この場合、画像の整理は、ユーザに起こったイベント毎に画像を分類して行うことが多い。例えば、ヨーロッパ旅行へ出かけた場合には、フランス、イギリス、スペイン等のように取得した画像を国毎のカテゴリに分類し、さらにフランスのカテゴリに分類された画像については、パリおよびニース等の出かけた場所毎にさらに細かいカテゴリに画像を分類する。また、パリに分類された画像については、エッフェル塔、凱旋門およびノートルダム寺院等のさらに細かいカテゴリに画像を分類する。さらには、ノートルダム寺院については、寺院の前、離れた場所および寺院の中等のさらに細かいカテゴリに画像を分類することもある。   With the widespread use of digital cameras and scanners, anyone can easily acquire digital images. In addition, images are also organized on a personal computer. In this case, images are often organized by classifying images for each event that has occurred to the user. For example, when you go on a trip to Europe, images acquired in France, the United Kingdom, Spain, etc. are classified into categories for each country, and for images classified in the French category, going out in Paris, Nice, etc. Classify images into more detailed categories for each location. For images classified in Paris, the images are classified into finer categories such as the Eiffel Tower, Arc de Triomphe and Notre Dame. Furthermore, regarding Notre Dame, images may be classified into more detailed categories such as in front of the temple, in a remote place, and in the temple.

このように画像を階層化して複数のカテゴリに分類しておけば、後で画像を参照する際にイベント毎に分けられた画像を参照できるため、画像の整理を容易に行うことができる。   If the images are hierarchized and classified into a plurality of categories in this manner, the images divided for each event can be referred to when referring to the images later, so that the images can be easily organized.

その一方で、画像を階層化して分類する作業は、画像を見ながら、さらにはユーザの記憶をたどりながら行う必要があるため、ユーザにとって非常に煩わしい作業となっている。   On the other hand, the operation of classifying images into hierarchies is very troublesome for the user because it is necessary to perform the operation while looking at the image and following the user's memory.

このため、画像を自動で分類するための各種手法が提案されている。例えば、画像に付与された撮影日時を表す撮影日時情報に基づいて、画像を時間軸上に配置し、撮影時間が隣接する2つの画像についての撮影時間差の大小に応じて画像を複数のカテゴリに分類する方法が提案されている(特許文献1参照)。また、ユーザのスケジュールを表すスケジュール情報を参照して、画像をユーザのスケジュールに応じたカテゴリに分類する手法(特許文献2参照)、また、複数の画像から特徴量を算出し、画像の特徴量間の関連性に基づいて画像を複数のカテゴリに分類する手法も提案されている(特許文献3参照)。   For this reason, various methods for automatically classifying images have been proposed. For example, the images are arranged on the time axis based on the shooting date / time information indicating the shooting date / time given to the images, and the images are classified into a plurality of categories according to the difference in shooting time difference between two images having adjacent shooting times. A classification method has been proposed (see Patent Document 1). Also, a method for classifying images into categories according to the user's schedule with reference to schedule information representing the user's schedule (see Patent Document 2), and calculating feature values from a plurality of images, A method of classifying images into a plurality of categories based on the relationship between them has also been proposed (see Patent Document 3).

このような手法を用いることにより、ユーザは自分で画像を分類する必要がなくなるため、画像を整理する際のユーザの負担を軽減できる。   By using such a method, the user does not need to classify the image by himself / herself, so that the burden on the user when arranging the images can be reduced.

また、画像を整理する際に、各カテゴリに分類された画像群を代表する代表画像を表示すれば、各カテゴリにどのような画像が分類されているかを一見して知ることができる。このため、画像検索時に各カテゴリの代表画像を表示する手法(特許文献4参照)、および各カテゴリに対応するフォルダを表示する際に、フォルダに代表画像を表示する手法(特許文献5参照)が提案されている。   Further, when organizing images, if representative images representing the image group classified into each category are displayed, it is possible to know at a glance what images are classified into each category. For this reason, there are a method for displaying a representative image of each category at the time of image search (see Patent Document 4) and a method for displaying a representative image in a folder when displaying a folder corresponding to each category (see Patent Document 5). Proposed.

これら特許文献4,5に記載された手法においては、代表画像はユーザが選択するものであるが、自動で代表画像を選択する手法も提案されている。例えば、複数の画像のうち最大画素数を有する画像を代表画像として選択する手法(特許文献6参照)、および画像の再生時間を記録しておき、再生時間が長い画像を代表画像として選択する手法(特許文献7参照)が提案されている。
特開2000−112997号公報 特開2003−108973号公報 特開2001−256244号公報 特開平5−128166号公報 特開2003−296165号公報 特開2000−244849号公報 特開2003−339013号公報
In the methods described in Patent Documents 4 and 5, the representative image is selected by the user, but a method of automatically selecting the representative image has also been proposed. For example, a method of selecting an image having the maximum number of pixels among a plurality of images as a representative image (see Patent Document 6), and a method of recording an image reproduction time and selecting an image having a long reproduction time as a representative image (See Patent Document 7).
JP 2000-112997 A JP 2003-109773 A JP 2001-256244 A Japanese Patent Laid-Open No. 5-128166 JP 2003-296165 A JP 2000-244849 A Japanese Patent Laid-Open No. 2003-339013

しかしながら、デジタルカメラを用いて撮影を行う場合、一般的に画素数を頻繁に変更することは少ないため、デジタルカメラにより取得する画像の画素数は一定であることが多い。このような状況では、特許文献6に記載された手法によっては代表画像を選択することはできない。   However, when taking a picture using a digital camera, the number of pixels of an image acquired by the digital camera is often constant because the number of pixels is not frequently changed in general. Under such circumstances, the representative image cannot be selected by the method described in Patent Document 6.

また、上記特許文献7のように、再生時間が長い画像を代表画像として選択する手法においては、ユーザが画像をデジタルカメラからパソコンに取り込んで、パソコンにおいて画像を再生する機会が多い画像が代表画像として選択される。しかしながら、デジタルカメラからパソコンに画像を取り込んだ直後(すなわち全く画像が再生されていない状態)においては、代表画像を選択することができない。   Further, in the method of selecting an image having a long reproduction time as a representative image as in Patent Document 7, an image in which a user often takes an image from a digital camera and reproduces the image on the personal computer is a representative image. Selected as. However, the representative image cannot be selected immediately after the image is captured from the digital camera to the personal computer (that is, the image is not reproduced at all).

本発明は上記事情に鑑みなされたものであり、とくに上述したようにカテゴリに分類された複数の画像から、ユーザにとって重要な代表画像を確実に選択できるようにすることを目的とする。   The present invention has been made in view of the above circumstances, and in particular, an object of the present invention is to make it possible to reliably select a representative image important for a user from a plurality of images classified into categories as described above.

本発明による第1の代表画像選択装置は、複数の画像から所定数の代表画像を選択する代表画像選択装置において、
前記複数の画像を階層化して分類することにより得られた、それぞれに重要度が設定された複数のカテゴリのうち、前記重要度が高いカテゴリから前記代表画像の候補画像を複数選択する候補選択手段と、
該選択された複数の候補画像から、前記所定数の代表画像を選択する選択手段とを備えたことを特徴とするものである。
A first representative image selection device according to the present invention is a representative image selection device that selects a predetermined number of representative images from a plurality of images.
Candidate selection means for selecting a plurality of candidate images of the representative image from the category having the higher importance among the plurality of categories each having the importance set, obtained by classifying the plurality of images into a hierarchy. When,
Selection means for selecting the predetermined number of representative images from the selected plurality of candidate images.

「重要度が高いカテゴリ」とは、重要度が最も高いカテゴリのみならず、重要度が高い順にカテゴリをソートした際の上位数個のカテゴリをも含むものである。   The “category with high importance” includes not only the category with the highest importance but also the top few categories when the categories are sorted in descending order of importance.

なお、本発明による第1の代表画像選択装置においては、前記選択手段を、前記選択された候補画像のそれぞれについて、該候補画像に対して画質を向上させる画像処理を施すことにより得られる処理済み画像と該画像処理を施す前の処理前画像との、相対応する画素間の画素値の変化量の代表値を算出し、該代表値が小さい順に最小代表値から前記所定数の画像を前記代表画像として選択する手段としてもよい。   In the first representative image selection device according to the present invention, the selection unit has processed each of the selected candidate images by performing image processing for improving the image quality of the candidate images. A representative value of a change amount of a pixel value between corresponding pixels of the image and the pre-processing image before the image processing is calculated, and the predetermined number of images from the smallest representative value in the ascending order of the representative value. It is good also as a means to select as a representative image.

「画像処理」とは、画質を向上させることが可能であればいかなる処理であってもよく、具体的には、階調補正処理、色補正処理、明るさ補正処理、ホワイトバランス補正処理、彩度補正処理、シャープネス処理、ノイズ除去処理、赤目補正処理および美肌処理等の各種処理のうちの少なくとも1つの処理を用いることができる。   The “image processing” may be any processing that can improve the image quality, and specifically includes gradation correction processing, color correction processing, brightness correction processing, white balance correction processing, color processing, and so on. At least one of various processes such as a degree correction process, a sharpness process, a noise removal process, a red-eye correction process, and a beautiful skin process can be used.

「代表値」とは、画像の一部または全体における画素値の変化量を代表する値であればいかなる値をも用いることができ、具体的には画素値の変化量の平均値およびメディアン値等を用いることができる。なお、「画素値」としては、例えば画像がRGBの3色からなる場合において、各色から算出される輝度値、3色の画素値そのものを用いることができる。この場合、画素値の変化量としては、画像と処理済み画像とにおける輝度値の差の絶対値、画像と処理済み画像とにおける画素値のRGB3次元色空間における距離(すなわち差の2乗の平方根)等を用いることができる。   As the “representative value”, any value can be used as long as it is a value representative of the change amount of the pixel value in a part or the whole of the image. Specifically, the average value and the median value of the change amount of the pixel value Etc. can be used. As the “pixel value”, for example, when an image is composed of three colors of RGB, a luminance value calculated from each color and a pixel value of three colors themselves can be used. In this case, the amount of change in the pixel value includes the absolute value of the difference in luminance value between the image and the processed image, the distance in the RGB three-dimensional color space of the pixel value between the image and the processed image (that is, the square root of the square of the difference). ) Etc. can be used.

本発明による第2の代表画像選択装置は、複数の画像から所定数の代表画像を選択する代表画像選択装置において、
前記複数の画像のそれぞれについて、該画像に対して画質を向上させる画像処理を施すことにより得られる処理済み画像と該画像処理を施す前の処理前画像との、相対応する画素間の画素値の変化量の代表値を算出する変化量算出手段と、
該代表値が小さい順に最小代表値から前記所定数の画像を前記代表画像として選択する選択手段とを備えたことを特徴とするものである。
A second representative image selection device according to the present invention is a representative image selection device that selects a predetermined number of representative images from a plurality of images.
For each of the plurality of images, pixel values between corresponding pixels of a processed image obtained by performing image processing for improving the image quality of the image and an unprocessed image before the image processing is performed Change amount calculating means for calculating a representative value of the change amount of
Selecting means for selecting the predetermined number of images as the representative image from the smallest representative value in ascending order of the representative value.

なお、本発明による第1および第2の代表画像選択装置において、前記代表値は、前記画素値の変化量の平均値を正規化した値であってもよい。   In the first and second representative image selection devices according to the present invention, the representative value may be a value obtained by normalizing an average value of the change amount of the pixel value.

また、前記代表値は、前記画素値の変化量の平均値を正規化した値を、前記画像の再生時間および最後に再生された日時の少なくとも1つの情報に応じて修正した値であってもよい。   Further, the representative value may be a value obtained by correcting a value obtained by normalizing an average value of the change amount of the pixel value according to at least one information of the reproduction time of the image and the date and time of the last reproduction. Good.

「再生時間に応じて修正する」とは、再生時間が長いほど、その再生時間に対応する値を画素値の変化量の平均値を正規化した値から減算して代表値を小さくすることを意味する。また、「最後に再生された日時に応じて修正する」とは、最後に再生された日時からの経過時間が長いほど、大きな値を画素値の変化量の平均値を正規化した値に加算することにより代表値を大きくすることを意味する。   “Correction according to playback time” means that the longer the playback time is, the smaller the representative value is by subtracting the value corresponding to the playback time from the normalized value of the pixel value variation. means. “Correct according to the date and time of the last playback” means that the longer the elapsed time from the date and time of the last playback, the larger the value is added to the normalized value of the pixel value change This means that the representative value is increased.

本発明による第1の代表画像選択方法は、複数の画像から所定数の代表画像を選択する代表画像選択方法において、
前記複数の画像を階層化して分類することにより得られた、それぞれに重要度が設定された複数のカテゴリのうち、前記重要度が高いカテゴリから前記代表画像の候補画像を複数選択し、
該選択された複数の候補画像から、前記所定数の代表画像を選択することを特徴とするものである。
A first representative image selection method according to the present invention is a representative image selection method for selecting a predetermined number of representative images from a plurality of images.
Of the plurality of categories obtained by classifying the plurality of images into hierarchies, each of which has a set importance level, a plurality of candidate images of the representative image are selected from the category with the high importance level,
The predetermined number of representative images are selected from the plurality of selected candidate images.

本発明による第2の代表画像選択方法は、複数の画像から所定数の代表画像を選択する代表画像選択方法において、
前記複数の画像のそれぞれについて、該画像に対して画質を向上させる画像処理を施すことにより得られる処理済み画像と該画像処理を施す前の処理前画像との、相対応する画素間の画素値の変化量の代表値を算出し、
該代表値が小さい順に最小代表値から前記所定数の画像を前記代表画像として選択することを特徴とするものである。
A second representative image selection method according to the present invention is a representative image selection method for selecting a predetermined number of representative images from a plurality of images.
For each of the plurality of images, pixel values between corresponding pixels of a processed image obtained by performing image processing for improving the image quality of the image and an unprocessed image before the image processing is performed Calculate the representative value of the amount of change in
The predetermined number of images are selected as the representative image from the smallest representative value in ascending order of the representative value.

なお、本発明による第1および第2の代表画像選択方法をコンピュータに実行させるためのプログラムとして提供してもよい。   Note that the first and second representative image selection methods according to the present invention may be provided as programs for causing a computer to execute the methods.

本発明によれば、重要度が設定された複数のカテゴリのうち、重要度が高いカテゴリから代表画像の候補画像が複数選択され、選択された複数の候補画像から所定数の代表画像が選択される。ここで、候補画像は重要度が高いカテゴリから選択されているため、ユーザにとって重要であることが多い。したがって、ユーザにとって重要な代表画像を確実に選択することができる。   According to the present invention, a plurality of representative image candidate images are selected from a category having a high importance level among a plurality of categories having a set importance level, and a predetermined number of representative images are selected from the selected plurality of candidate images. The Here, since the candidate image is selected from a category having high importance, it is often important for the user. Therefore, it is possible to reliably select a representative image important for the user.

また、複数のカテゴリのうち重要度が高いカテゴリから複数の候補画像を選択し、さらに複数の候補画像から代表画像を選択しているため、複数の画像の全体から代表画像を選択する場合と比較して、代表画像を選択するための処理時間を短縮することができる。   In addition, since multiple candidate images are selected from categories with a high degree of importance among multiple categories, and representative images are selected from multiple candidate images, it is compared with the case where representative images are selected from the entire plurality of images. Thus, the processing time for selecting the representative image can be shortened.

ここで、画像に対して画質を向上させる画像処理を施すことにより得られる処理済み画像と画像処理前の処理前画像との、相対応する画素間の画素値の変化量の代表値が小さいということは、処理済み画像と処理前画像とで変化が小さいということ、いわば画像処理の必要性が小さい、うまく撮影された高画質の画像であることを意味する。   Here, the representative value of the change amount of the pixel value between corresponding pixels of the processed image obtained by performing image processing for improving the image quality and the pre-processed image before the image processing is small. This means that the change between the processed image and the pre-processed image is small, that is, a well-captured high-quality image with little need for image processing.

このため、選択された複数の候補画像のそれぞれについて、上記画素値の変化量の代表値を算出し、代表値が小さい順に最小代表値から所定数の画像を代表画像として選択することにより、高画質の画像を代表画像として選択することができる。   Therefore, for each of the plurality of selected candidate images, the representative value of the change amount of the pixel value is calculated, and a predetermined number of images are selected as the representative image from the smallest representative value in ascending order of the representative value. An image having an image quality can be selected as a representative image.

また、代表値を、画素値の変化量の平均値を正規化した値とすることにより、代表値の最大値および最小値が明確となるため、代表値をわかりやすい値とすることができる。   In addition, since the maximum value and the minimum value of the representative value are clarified by setting the representative value to a value obtained by normalizing the average value of the pixel value change amounts, the representative value can be easily understood.

この際、画像の再生時間および最後に再生された日時の少なくとも1つの情報に応じて、正規化した値を修正することにより、ユーザの嗜好を反映させて代表画像を選択することができる。   In this case, the representative image can be selected to reflect the user's preference by correcting the normalized value according to at least one information of the reproduction time of the image and the date and time of the last reproduction.

以下、図面を参照して本発明の実施形態について説明する。図1は本発明の第1の実施形態による代表画像選択装置の構成を示す概略ブロック図である。図1に示すように第1の実施形態による代表画像選択装置1は、画像データの記録制御および表示制御等の各種制御を行うとともに、装置1を構成する各部の制御を行うCPU12と、CPU12を動作させるプログラム、画像を閲覧するためのビューアソフトおよび各種定数が記録されているROMおよびCPU12が処理を実行する際の作業領域となるRAMにより構成されるシステムメモリ14と、種々の指示を装置1に対して行うためのキーボードおよびマウス等からなる入力部16と、各種表示を行う液晶モニタ等からなる表示部18とを備える。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram showing the configuration of a representative image selection device according to the first embodiment of the present invention. As shown in FIG. 1, the representative image selection device 1 according to the first embodiment performs various controls such as image data recording control and display control, and also controls a CPU 12 and a CPU 12 that control each part of the device 1. A system memory 14 composed of a program to be operated, viewer software for viewing images, a ROM in which various constants are recorded, and a RAM serving as a work area when the CPU 12 executes processing, and various instructions. And an input unit 16 including a keyboard and a mouse for performing the above and a display unit 18 including a liquid crystal monitor for performing various displays.

また、代表画像選択装置1は、画像データを記録したメモリカード2から画像データを読み出したり、メモリカード2に画像データを記録したりするためのカードスロット20と、画像データをJPEGやモーションJPEGに代表される手法で圧縮したり、圧縮した画像データを解凍する圧縮解凍部22と、画像データやCPU12が実行する各種プログラム等を記録するハードディスク24と、システムメモリ14、カードスロット20およびハードディスク24を制御するメモリ制御部26とを備える。   Further, the representative image selection device 1 reads the image data from the memory card 2 on which the image data is recorded and records the image data on the memory card 2, and the image data to JPEG or motion JPEG. A compression / decompression unit 22 that compresses or decompresses compressed image data, a hard disk 24 that records image data and various programs executed by the CPU 12, a system memory 14, a card slot 20, and a hard disk 24. And a memory control unit 26 for controlling.

また、代表画像選択装置1は、ハードディスク24におけるユーザが所望するフォルダに保存された画像を複数のカテゴリに階層化して分類する画像分類部28と、各カテゴリの重要度を設定する重要度設定部30とを備える。さらに、代表画像選択装置1は、表示部18の表示を制御する表示制御部32と、重要度が高いカテゴリから、ユーザが所望するフォルダに保存された複数の画像を代表する代表画像を選択する代表画像選択部34とを備える。   The representative image selection device 1 also includes an image classification unit 28 that classifies images stored in a folder desired by the user in the hard disk 24 into a plurality of categories, and an importance setting unit that sets the importance of each category. 30. Further, the representative image selection device 1 selects a representative image representing a plurality of images stored in a folder desired by the user from a display control unit 32 that controls the display of the display unit 18 and a category having a high degree of importance. A representative image selection unit 34.

画像分類部28は、例えば上記特許文献1に記載された手法を用いてハードディスク24に保存された複数の画像を複数のカテゴリに階層化して分類する。以下、画像の分類について説明する。なお、ここではユーザがフランス旅行に出かけた際に撮影した複数の画像を分類する場合について説明する。図2はユーザのフランス旅行のある1日のタイムテーブルを示す図である。図2に示すように、ユーザはフランス旅行においてパリを訪問し、その後バスでニースに移動したものとする。また、パリにおいては、凱旋門、エッフェル塔およびノートルダム寺院を訪問したものとする。そして、翌日にブルゴーニュ地方を訪問したものとする。   The image classification unit 28 classifies a plurality of images stored in the hard disk 24 into a plurality of categories by using the method described in Patent Document 1, for example. Hereinafter, image classification will be described. Here, a case will be described in which a plurality of images taken when a user goes on a trip to France is classified. FIG. 2 is a diagram showing a time table for one day of a user's trip to France. As shown in FIG. 2, it is assumed that the user visited Paris on a French trip and then moved to Nice by bus. In Paris, the Arc de Triomphe, the Eiffel Tower and Notre Dame are visited. Assume that the next day you visited the Burgundy region.

ここで、ユーザはフランス旅行に出かけた後、別の旅行に出かけたものとすると、フランス旅行とその別の旅行とでは、1日以上差が開くこととなる。また、フランス旅行においてある1日にパリおよびニースを訪問し、翌日にブルゴーニュ地方を訪問した場合、パリおよびニースの訪問とブルゴーニュ地方の訪問とでは、1時間以上差が開くこととなる
また、バスで移動の場合、パリ訪問と、バスの中と、ニース訪問との間は1時間は差が開くことはないが30分以上は差が開くこととなる。また、凱旋門、エッフェル塔およびノートルダム寺院はパリの市内において訪問するため、訪問時間は30分は差が開くことはないが10分以上は差が開くこととなる。さらに、ノートルダム寺院においてユーザは寺院の目の前、寺院から離れた場所および寺院の中のように寺院の敷地内で移動するが、同じ寺院の敷地内における移動であるため、訪問時間は10分は差が開くことはないが3分以上は差が開くこととなる。
Here, if the user goes on a trip to France and then goes on a different trip, there will be a difference of one day or more between the French trip and the other trip. In addition, if you visit Paris and Nice on one day and visit the Burgundy region on the following day, you will have a difference of more than an hour between your visit to Paris and Nice and your visit to Burgundy. In the case of traveling, there will be no difference for 1 hour between visiting Paris, in the bus, and visiting Nice, but it will be more than 30 minutes. The Arc de Triomphe, Eiffel Tower and Notre Dame are visited in Paris, so the visit time will not be different for 30 minutes, but will be more than 10 minutes. Furthermore, in the Notre Dame temple, the user moves within the temple site in front of the temple, away from the temple, and inside the temple, but since the movement is within the same temple site, the visit time is 10%. The difference does not open for minutes, but the difference opens for more than 3 minutes.

したがって、訪問先でまとめて撮影を行った場合において、撮影時間が隣接する画像間において、撮影時間間隔が3分未満のものは同一の撮影時間と見なして、時間軸上に画像枚数をプロットすると、その関係は図3に示すものとなる。すなわち、図3に示すように時間と画像枚数との関係においては、訪問先単位で一定の時間をおいてまとまって複数の画像(すなわち画像群)が取得されていることが分かる。   Therefore, when shooting is performed collectively at the place of visit, when the shooting time interval is less than 3 minutes and the number of images is plotted on the time axis between adjacent images, the shooting time interval is regarded as the same shooting time. The relationship is as shown in FIG. That is, as shown in FIG. 3, in the relationship between time and the number of images, it can be seen that a plurality of images (that is, image groups) are acquired at a certain time for each visited site.

画像分類部28は、この関係を用いて画像を複数のカテゴリに階層化して分類する。すなわち、図3に示す関係を参照し、まず、撮影時間間隔が1日以上ある画像群を1つのカテゴリとして分類する。この場合、フランス旅行において取得したすべての画像を1つのカテゴリとして分類する。次いで、分類後の画像について、撮影時間間隔が1時間以上ある画像群を1つのカテゴリとして分類する。この場合、パリおよびニース訪問において取得した画像群と、ブルゴーニュ地方訪問において取得した画像群とをそれぞれ1つのカテゴリとしてさらに分類する。   The image classification unit 28 uses this relationship to classify images into a plurality of categories. That is, referring to the relationship shown in FIG. 3, first, an image group having a shooting time interval of one day or more is classified as one category. In this case, all images acquired in the France trip are classified as one category. Next, for the classified images, an image group having an imaging time interval of 1 hour or more is classified as one category. In this case, the image group acquired in the Paris and Nice visits and the image group acquired in the Burgundy region visit are further classified as one category.

さらに、分類後の画像について、撮影時間間隔が30分以上1時間未満となる画像群を1つのカテゴリとして分類する。この場合、パリおよびニース訪問のカテゴリにおいて、パリ訪問、バスの中およびニース訪問のそれぞれにおいて取得した画像群を1つのカテゴリとしてさらに分類する。さらに、撮影時間間隔が10分以上30分未満となる画像群を1つのカテゴリとして分類する。この場合、パリ訪問のカテゴリにおいて、凱旋門訪問、エッフェル塔訪問およびノートルダム寺院訪問のそれぞれにおいて取得した画像群を1つのカテゴリとしてさらに分類する。さらに、撮影時間間隔が3分以上10分未満となる画像群を1つのカテゴリとして分類する。この場合、ノートルダム寺院訪問のカテゴリにおいて、寺院の前、寺院から離れた場所および寺院の中のそれぞれにおいて取得した画像群を1つのカテゴリとして分類する。   Further, with respect to the classified images, an image group whose shooting time interval is 30 minutes or more and less than 1 hour is classified as one category. In this case, in the Paris and Nice visit categories, the image groups acquired in the Paris visit, in the bus, and in the Nice visit are further classified as one category. Furthermore, an image group whose shooting time interval is 10 minutes or more and less than 30 minutes is classified as one category. In this case, in the Paris visit category, the image groups acquired in the Arc de Triomphe visit, the Eiffel Tower visit, and the Notre Dame visit are further classified as one category. Further, an image group whose shooting time interval is 3 minutes or more and less than 10 minutes is classified as one category. In this case, in the category of visiting Notre Dame, the image groups acquired in front of the temple, in a place away from the temple, and in the temple are classified as one category.

そして、カテゴリ単位で1つのフォルダを作成し、分類された画像を各カテゴリに対応するフォルダに格納することにより、画像の分類を終了する。   Then, one folder is created for each category, and the classified images are stored in folders corresponding to the respective categories, thereby completing the image classification.

図4は、分類後のフォルダ構造を示す図である。なお、ここでは、フランス旅行における1日目の画像を分類した場合のフォルダ構造について説明する。図4に示すように、フランス旅行で取得した画像を保存する、フランス旅行のカテゴリに対応するフォルダF1(フランス旅行フォルダ)が最上位層にあり、フォルダF1の下層に、パリのカテゴリに分類された画像、バスで移動中のカテゴリに分類された画像およびニースのカテゴリに分類された画像をそれぞれ保存する、パリのカテゴリに対応するフォルダF1−1、バスで移動のカテゴリに対応するフォルダF1−2およびニースのカテゴリに対応するフォルダF1−3が作成される。   FIG. 4 is a diagram showing a folder structure after classification. Here, the folder structure when the images of the first day in France travel are classified will be described. As shown in FIG. 4, a folder F1 (French travel folder) corresponding to a French travel category for storing images acquired in a French travel is in the top layer, and is classified into a Paris category in the lower layer of the folder F1. A folder F1-1 corresponding to the Paris category and a folder F1-corresponding to the category moving on the bus for storing the images, images classified in the category moving on the bus, and images classified in the Nice category, respectively. Folder F1-3 corresponding to category 2 and Nice is created.

また、パリフォルダの下層に、凱旋門のカテゴリに分類された画像、エッフェル塔のカテゴリに分類された画像およびノートルダム寺院のカテゴリに分類された画像をそれぞれ保存する、凱旋門のカテゴリに対応するフォルダF1−1−1、エッフェル塔のカテゴリに対応するフォルダF1−1−2およびノートルダム寺院のカテゴリに対応するフォルダF1−1−3が作成される。   Further, a folder F1 corresponding to the Arc de Triomphe category that stores images classified into the Arc de Triomphe category, images classified into the Eiffel Tower category, and images classified into the Notre Dame category under the Paris folder. 1-1, folder F1-1-2 corresponding to the category of Eiffel Tower and folder F1-1-3 corresponding to the category of Notre Dame are created.

さらに、ノートルダム寺院フォルダの下層に、ノートルダム寺院の前のカテゴリに分類された画像、離れた場所のカテゴリに分類された画像および寺院の中のカテゴリに分類された画像をそれぞれ保存する、寺院の前のカテゴリに対応するフォルダF1−1−3−1、離れた場所のカテゴリに対応するフォルダF1−1−3−2および寺院の中のカテゴリに対応するフォルダF1−1−3−3が作成される。   In addition, in the lower level of the Notre Dame folder, the temples store images classified in the previous category of the Notre Dame temple, images classified in the remote category, and images classified in the category of the temple, respectively. Folder F1-1-3-1 corresponding to the previous category, folder F1-1-3-2 corresponding to the category at a distant place, and folder F1-1-3-3 corresponding to the category in the temple Created.

なお、ここでは説明のためにフォルダに名称を付与しているが、実際にはフォルダには名称が付与されるわけではなく、単純に図4に示すように階層に応じた番号が付与されるのみである。このため、ユーザはフォルダを開くまでは、どのフォルダにどの画像が分類されているかは分からない。   Although a name is given to the folder for explanation here, the name is not actually given to the folder, and a number corresponding to the hierarchy is simply given as shown in FIG. Only. For this reason, the user does not know which image is classified in which folder until the folder is opened.

重要度設定部30は、画像分類部28による分類結果を用いて、各カテゴリの重要度を設定する。   The importance level setting unit 30 sets the importance level of each category using the classification result obtained by the image classification unit 28.

ここで、複数の画像を複数のカテゴリに分類した場合、各カテゴリに分類された画像の数が多いほど、そのカテゴリは重要であると認識している人が多い。また、階層化して分類されたカテゴリにおいて、各カテゴリの上位の階層のカテゴリに含まれる画像数が多いほど、そのカテゴリは重要であると認識している人が多い。また、階層化して分類されたカテゴリにおいて、同一の階層に含まれ、かつ1つ上位の階層が共通するカテゴリの数が多いほどそのカテゴリは重要であると認識している人が多い。また、階層化して分類された各カテゴリにおいて、階層が深い(すなわち下位の階層数が多い)ほど、そのカテゴリは重要であると認識している人が多い。さらに、階層化して分類されたあるカテゴリにおいて、最上位の階層から各カテゴリまでの階層数が多いほどそのカテゴリは重要であると認識している人が多い。   Here, when a plurality of images are classified into a plurality of categories, many people recognize that the category is more important as the number of images classified into each category is larger. In addition, in a category classified into hierarchies, there are many people who recognize that the category is more important as the number of images included in the category of the upper hierarchy of each category is larger. In addition, in a category classified into hierarchies, there are many people who recognize that the category is more important as the number of categories included in the same hierarchy and having a common upper hierarchy is larger. Moreover, in each category classified into hierarchies, many people recognize that the category is more important as the hierarchy is deeper (that is, the number of lower layers is larger). Furthermore, in a certain category classified into hierarchies, many people recognize that the category is more important as the number of hierarchies from the highest hierarchy to each category increases.

重要度設定部30はこの点に鑑み、画像分類部28が分類した各カテゴリについて、各カテゴリに含まれる画像数、各カテゴリの上位の階層のカテゴリに含まれる画像数、各カテゴリに関連するカテゴリの数、各カテゴリの下位の階層数、および最上位の階層から各カテゴリまでの階層数の少なくとも1つの情報に基づいて、各カテゴリの重要度を設定する。以下、重要度の設定について説明する。   In view of this point, the importance setting unit 30 regards the number of images included in each category, the number of images included in the higher-level category of each category, and the category related to each category for each category classified by the image classification unit 28. The importance of each category is set based on at least one of the following information: the number of subordinates, the number of layers below each category, and the number of layers from the highest layer to each category. Hereinafter, the setting of importance will be described.

なお、ここでは、図4に示すように、フランス旅行において100枚の画像を取得し、そのうちパリのカテゴリに分類された画像が60枚、バスの中のカテゴリに分類された画像が10枚、ニースのカテゴリに分類された画像が30枚であったとする。また、パリのカテゴリの下層において、凱旋門のカテゴリに分類された画像が20枚、エッフェル塔のカテゴリに分類された画像が10枚、ノートルダム寺院のカテゴリに分類された画像が30枚であったとする。さらに、ノートルダム寺院の下層において、寺院の前のカテゴリに分類された画像が15枚、離れた場所のカテゴリに分類された画像が5枚、寺院の中のカテゴリに分類された画像が10枚であったとする。   Here, as shown in FIG. 4, 100 images were acquired in a trip to France, of which 60 images were classified into the Paris category, 10 images classified into the category in the bus, Assume that there are 30 images classified in the Nice category. In addition, 20 images classified into the Arc de Triomphe category, 10 images classified into the Eiffel Tower category, and 30 images classified into the Notre Dame category in the lower level of the Paris category. To do. Furthermore, in the lower layer of the Notre Dame temple, 15 images classified in the previous category of the temple, 5 images classified in the category of the distant place, 10 images classified in the category in the temple Suppose that

重要度設定部30は、下記の式(1)を用いて、各カテゴリに含まれる画像数、各カテゴリに関連するカテゴリの数および各カテゴリ以下の階層数を重み付け加算して各カテゴリの重要度を算出する。   The importance setting unit 30 uses the following formula (1) to weight and add the number of images included in each category, the number of categories related to each category, and the number of layers below each category. Is calculated.

重要度=a1×(各カテゴリに含まれる画像数)
+b1×(各カテゴリに関連するカテゴリの数)
+c1×(各カテゴリの下位の階層数) (1)
但し,a1,b1,c1:重み係数(本実施形態においては、a1=b1=c1=1)
ここで、関連するカテゴリとは、階層化して分類されたカテゴリにおいて、同一の階層に含まれ、かつ1つ上位の階層が共通するカテゴリを意味する。したがって、本実施形態においては、パリ、バスで移動およびニースのカテゴリが関連するカテゴリとなる。また、凱旋門、エッフェル塔およびノートルダム寺院も関連するカテゴリに、寺院の前、離れた場所および寺院の中も関連するカテゴリとなる。
Importance = a1 × (number of images included in each category)
+ B1 × (the number of categories related to each category)
+ C1 × (the number of lower layers in each category) (1)
However, a1, b1, c1: weighting factors (in this embodiment, a1 = b1 = c1 = 1)
Here, the related category means a category that is included in the same hierarchy and is shared by one higher hierarchy among categories classified into hierarchies. Accordingly, in the present embodiment, the category of moving and nice on Paris and buses is a related category. The Arc de Triomphe, the Eiffel Tower, and Notre Dame are also related categories, and the front of the temple, the distant place and the inside of the temple are also related categories.

例えば、フランス旅行のカテゴリについては、各カテゴリに含まれる画像数は100、各カテゴリに関連するカテゴリの数は1、カテゴリ以下の階層数は4となるため、重要度は105となる。このようにして算出した重要度を図5に示す。なお、このような重要度の算出方法を手法1とする。   For example, for the category of travel to France, the number of images included in each category is 100, the number of categories related to each category is 1, and the number of hierarchies below the category is 4, so the importance is 105. The importance calculated in this way is shown in FIG. Note that this importance calculation method is referred to as Method 1.

ここで、手法1においては、重み係数をa1=b1=c1=1としているが、各カテゴリに含まれる画像数、各カテゴリに関連するカテゴリの数および各カテゴリ以下の階層数のいずれを重視するかに応じて重み係数を変更してもよいことはもちろんである。   Here, in Method 1, the weighting coefficient is set to a1 = b1 = c1 = 1, but importance is attached to any of the number of images included in each category, the number of categories related to each category, and the number of layers below each category. Of course, the weighting coefficient may be changed according to the above.

なお、下記の式(2)用いて、各カテゴリに含まれる画像数、各カテゴリに関連するカテゴリの数および最上位の階層から各カテゴリまでの階層数を重み付け乗算して各カテゴリの重要度を算出してもよい。   The following formula (2) is used to weight and multiply the number of images included in each category, the number of categories related to each category, and the number of hierarchies from the highest hierarchy to each category to determine the importance of each category. It may be calculated.

重要度=a2×(各カテゴリに含まれる画像数)
×(各カテゴリに関連するカテゴリの数)
×(上位の階層から各カテゴリまでの階層数) (2)
但し,a2:重み係数(本実施形態においてはa2=1)
例えば、フランス旅行のカテゴリについて、各カテゴリに含まれる画像数は100、各カテゴリに関連するカテゴリの数は1、最上位の階層からカテゴリまでの階層数は1となるため、重要度は100となる。このようにして算出した重要度を図6に示す。なお、このような重要度の算出方法を手法2とする。
Importance = a2 × (number of images included in each category)
× (Number of categories related to each category)
× (Number of layers from the upper level to each category) (2)
However, a2: Weight coefficient (a2 = 1 in this embodiment)
For example, for the category of travel to France, the number of images included in each category is 100, the number of categories related to each category is 1, and the number of layers from the highest layer to the category is 1, so the importance is 100. Become. The importance calculated in this way is shown in FIG. Note that this importance calculation method is referred to as method 2.

ここで、手法2においては、重み係数をa2=1としているが、重み係数を変更してもよいことはもちろんである。   Here, in method 2, the weighting factor is a2 = 1, but it is needless to say that the weighting factor may be changed.

また、各カテゴリに含まれる画像数および各カテゴリの上位の階層のカテゴリに含まれる画像数を重み付け加算して各カテゴリの重要度を算出してもよい。例えば、寺院の前のカテゴリに分類された画像数は15、1つ上位のノートルダム寺院のカテゴリに分類された画像数は30、さらにこれより1つ上位のパリのカテゴリに分類された画像数は60、さらに上位のフランス旅行のカテゴリに分類された画像数は100であるため、寺院の前のカテゴリの重要度は、重み係数をすべて1とした場合、15+30+60+100=205と算出される。また、凱旋門のカテゴリに分類された画像数は20、さらにこれより1つ上位のパリのカテゴリに分類された画像数は60、さらに上位のフランス旅行のカテゴリに分類された画像数は100であるため、凱旋門のカテゴリの重要度は、重み係数をすべて1とした場合、20+60+100=180となる。このようにして算出した重要度を図7に示す。なお、このような重要度の算出方法を手法3とする。   Also, the importance of each category may be calculated by weighted addition of the number of images included in each category and the number of images included in the category of the upper hierarchy of each category. For example, the number of images classified into the category in front of the temple is 15, the number of images classified into the category of Notre Dame, which is one higher, 30 and the number of images classified into the category of Paris, which is one higher than this. 60, and the number of images classified into the higher-level French travel category is 100. Therefore, the importance of the previous category of the temple is calculated as 15 + 30 + 60 + 100 = 205 when all the weighting factors are 1. In addition, the number of images classified into the Arc de Triomphe category is 20, the number of images classified into the Paris category that is one level higher than this, and the number of images classified into the category of higher-level France travel is 100. Therefore, the importance of the Arc de Triomphe category is 20 + 60 + 100 = 180 when all weighting factors are 1. The importance calculated in this way is shown in FIG. Note that this importance calculation method is Method 3.

ここで、手法3においては、重み係数をすべて1としているが、いずれの階層を重視するかに応じて重み係数を変更してもよいことはもちろんである。   Here, in Method 3, all the weighting factors are set to 1, but it goes without saying that the weighting factors may be changed according to which hierarchy is emphasized.

さらに、最も低い階層のカテゴリについてのみ重要度を算出し、算出した重要度を1つ上位の階層のカテゴリの重要度に設定してもよい。なお、最も低い階層のカテゴリについての重要度の算出は、上記手法1〜3のいずれを用いてもよい。ここで、最も低い階層のカテゴリについての重要度を手法3により算出した場合の各カテゴリの重要度を図8に示す。なお、このような重要度の算出方法を手法4とする。   Furthermore, the importance may be calculated only for the category of the lowest hierarchy, and the calculated importance may be set as the importance of the category of the next higher hierarchy. Any of the above methods 1 to 3 may be used to calculate the importance for the category of the lowest hierarchy. Here, FIG. 8 shows the importance of each category when the importance of the category of the lowest hierarchy is calculated by the method 3. Note that this importance calculation method is referred to as Method 4.

上記手法1〜4により重要度を算出すると、重要度の値は異なるものの、同一の階層においては、算出された重要度に基づいてカテゴリに順位をつけた場合、いずれの手法によっても重要度の順位は同一となる。例えば、パリのカテゴリの1つ下の階層においては、重要度は高い方からノートルダム寺院、凱旋門およびエッフェル塔の順序となる。また、ノートルダム寺院の1つ下の階層においては、重要度は高い方から寺院の前、寺院の中および離れた場所の順序となる。   When the importance is calculated by the above methods 1 to 4, although the importance value is different, in the same hierarchy, when ranking the categories on the basis of the calculated importance, the importance level is determined by any method. The ranking is the same. For example, in the hierarchy one level below the category of Paris, the order of importance is the order of Notre Dame, Arc de Triomphe and Eiffel Tower. Also, in the hierarchy one level below Notre Dame, the order of importance is from the highest to the front of the temple, in the temple, and away from the temple.

代表画像選択部34は、重要度が設定されたカテゴリのうち、重要度が大きいカテゴリから所定数(N個とする)の代表画像を選択する。   The representative image selection unit 34 selects a predetermined number (N) of representative images from the category having the highest importance among the categories set with the importance.

図9は代表画像選択部34の構成を示す概略ブロック図である。図9に示すように代表画像選択部34は、候補画像選択部50、画像処理部52、変化量算出部54および決定部56を備える。   FIG. 9 is a schematic block diagram showing the configuration of the representative image selection unit 34. As shown in FIG. 9, the representative image selection unit 34 includes a candidate image selection unit 50, an image processing unit 52, a change amount calculation unit 54, and a determination unit 56.

候補画像選択部50は、以下の処理により、最下位の階層において、算出された重要度の値が高いカテゴリから代表画像の候補である複数の候補画像を選択する。図10は候補画像選択部50が行う候補画像選択の処理を示すフローチャートである。なお、ここでは少なくともM個(M≧N)の候補画像を選択するものとする。   The candidate image selection unit 50 selects a plurality of candidate images that are candidates for the representative image from the category having the high importance value calculated in the lowest hierarchy by the following processing. FIG. 10 is a flowchart showing candidate image selection processing performed by the candidate image selection unit 50. Here, at least M (M ≧ N) candidate images are selected.

まず、候補画像の数mを0に設定し(ステップST1)、複数の画像を分類したカテゴリの最下位の階層のカテゴリにおいて、候補画像が未選択のカテゴリのうち、重要度が最も高いカテゴリを選択し、そのカテゴリに分類されたすべての画像を候補画像として選択する(ステップST2)。ここで、m=0の場合は、最下位の階層における最も重要度が高いカテゴリから候補画像を選択する。例えば、上記のように重要度を算出した場合、ノートルダム寺院カテゴリの下位の階層の寺院の前のカテゴリから候補画像を選択する。   First, the number m of candidate images is set to 0 (step ST1), and the category having the highest importance among the unselected categories of candidate images in the category of the lowest hierarchy of the categories into which a plurality of images are classified. All images selected in the category are selected as candidate images (step ST2). Here, when m = 0, candidate images are selected from the category having the highest importance in the lowest hierarchy. For example, when the importance is calculated as described above, a candidate image is selected from a category in front of a temple in a lower hierarchy of the Notre Dame category.

続いて、候補画像の数mを、ステップST2で選択した候補画像の数m1に設定し(ステップST3)、候補画像の数mがM以上となったか否かを判定する(ステップST4)。ステップST4が肯定されると、ステップST2において選択した候補画像を最終的な候補画像として決定し(ステップST5)、処理を終了する。   Subsequently, the number m of candidate images is set to the number m1 of candidate images selected in step ST2 (step ST3), and it is determined whether or not the number m of candidate images is M or more (step ST4). If step ST4 is positive, the candidate image selected in step ST2 is determined as the final candidate image (step ST5), and the process is terminated.

ステップST4が否定されると、ステップST2に戻り、ステップST2以降の処理を繰り返す。   If step ST4 is negative, the process returns to step ST2, and the processes after step ST2 are repeated.

以上の処理においては、最下位の階層における最も重要度が高いカテゴリに分類された画像数がM未満の場合には、次に重要度が高いカテゴリに分類された画像が候補画像に加えられ、候補画像の数がM以上となるまでステップST2以降の処理が繰り返される。   In the above processing, when the number of images classified into the most important category in the lowest hierarchy is less than M, the image classified into the next most important category is added to the candidate image, The processes after step ST2 are repeated until the number of candidate images becomes M or more.

例えば、上記のように重要度を算出した場合において、候補画像の数Mを10とした場合には、ノートルダム寺院カテゴリの下位の階層の寺院の前のカテゴリに分類された15枚の画像を候補画像として選択する。また、候補画像の数Mを20とした場合には、寺院の前のカテゴリに分類された15枚の画像および寺院の中のカテゴリに分類された10枚の画像からなる合計25枚の画像を候補画像として選択する。   For example, in the case of calculating the importance as described above, when the number M of candidate images is 10, 15 images classified into the previous category of the temples in the lower hierarchy of the Notre Dame temple category are displayed. Select as a candidate image. In addition, when the number M of candidate images is 20, a total of 25 images including 15 images classified into the previous category of the temple and 10 images classified into the category within the temple. Select as a candidate image.

画像処理部52は、あらかじめ定められたアルゴリズムにしたがい、階調補正処理、色補正処理、明るさ補正処理、ホワイトバランス補正処理、彩度補正処理、シャープネス処理、ノイズ除去処理、赤目補正処理および美肌処理等の各種処理のうちの少なくとも1つの処理からなる画像処理を、選択した候補画像を表すすべての画像データに対して施すことにより処理済み画像データを得る。   The image processing unit 52 performs tone correction processing, color correction processing, brightness correction processing, white balance correction processing, saturation correction processing, sharpness processing, noise removal processing, red-eye correction processing, and skin softening according to a predetermined algorithm. Processed image data is obtained by performing image processing including at least one of various processes such as processes on all image data representing the selected candidate image.

変化量算出部54は、処理前の画像データにより表される処理前画像と、処理済み画像データにより表される処理済み画像との相対応する画素間の画素値の変化量の代表値をすべての画像データについて算出する。なお、画素値の変化量としては、画素値の変化量そのもの(例えば画素値がRGBの各色からなる場合、処理前画像と処理済み画像の相対応する画素におけるRGB値の差ΔR、ΔG、ΔBの2乗の平方根)、RGB各色から求められる輝度値の差の絶対値等を用いることができる。なお、ここでは、代表値として画素値の変化量の平均値を用いるが、これに限定されるものではなく、画素値の変化量のメディアン値等、画素値の変化量を代表する値であれば、任意の値を用いることができる。   The change amount calculation unit 54 displays all representative values of pixel value change amounts between corresponding pixels of the pre-process image represented by the pre-process image data and the processed image represented by the processed image data. The image data is calculated. Note that the change amount of the pixel value is the change amount of the pixel value itself (for example, when the pixel value is composed of RGB colors, the difference ΔR, ΔG, ΔB between the RGB values in the corresponding pixels of the pre-processed image and the processed image) Or the absolute value of the difference between luminance values obtained from each color of RGB. Here, the average value of the change amount of the pixel value is used as the representative value. However, the present invention is not limited to this, and any value that represents the change amount of the pixel value such as the median value of the change amount of the pixel value may be used. Any value can be used.

なお、画素値の変化量の平均値を、下記の式(3)により正規化し、正規化した値を代表値としてもよい。   Note that the average value of the change amount of the pixel value may be normalized by the following equation (3), and the normalized value may be used as the representative value.

代表値=(1−変化量の平均値/変化量の最大値)×100 (3)
但し、変化量の最大値はすべての候補画像について算出した変化量のうちの最も大きい値である。
Representative value = (1−average value of change / maximum value of change) × 100 (3)
However, the maximum value of the change amount is the largest value among the change amounts calculated for all candidate images.

決定部56は、代表値が小さい順に画像をソートし、最小代表値からN番目までの画像、すなわち代表値が小さい上位N個の画像を代表画像として選択する。   The determination unit 56 sorts the images in ascending order of the representative value, and selects, from the minimum representative value to the Nth image, that is, the top N images with the small representative value as representative images.

図11は画像処理部52、変化量算出部54および決定部56が行う代表画像選択の処理を示すフローチャートである。まず、CPU12が処理の対象となる画像データを、候補画像を表す画像データのうちファイル名が最初の画像データとすべく、j=1(j=1〜M)に設定する(ステップST11)。次いで、画像処理部52が画像データに対して画像処理を施して処理済み画像データを取得する(ステップST12)。   FIG. 11 is a flowchart showing representative image selection processing performed by the image processing unit 52, the change amount calculation unit 54, and the determination unit 56. First, the image data to be processed by the CPU 12 is set to j = 1 (j = 1 to M) so that the file name of the image data representing the candidate image is the first image data (step ST11). Next, the image processing unit 52 performs image processing on the image data to obtain processed image data (step ST12).

そして、変化量算出部54が、処理前の画像と処理済み画像との画素値の変化量を算出する(ステップST13)。さらに、変化量算出部54は画素値の変化量の代表値を算出する(ステップST14)。   Then, the change amount calculation unit 54 calculates the change amount of the pixel value between the unprocessed image and the processed image (step ST13). Further, the change amount calculation unit 54 calculates a representative value of the change amount of the pixel value (step ST14).

そして、CPU12がすべての候補画像を表す画像データについて処理を終了したか否かを判定し(ステップST15)、ステップST15が否定されるとファイル名が次の画像データを処理対象とすべくj=j+1に設定し(ステップST16)、ステップST12に戻る。ステップST15が肯定されると、最小代表値からN番目までの画像、すなわち代表値が小さい上位N個の画像を代表画像として選択し(ステップST17)、処理を終了する。   Then, the CPU 12 determines whether or not the processing has been completed for the image data representing all candidate images (step ST15), and if step ST15 is negative, the file name is set to j = the next image data to be processed. j + 1 is set (step ST16), and the process returns to step ST12. If step ST15 is affirmed, images from the minimum representative value to the Nth image, that is, the top N images with small representative values are selected as representative images (step ST17), and the process ends.

以上の処理により、例えば、寺院の前のカテゴリに分類された画像のみを候補画像として選択した場合には、寺院の前のカテゴリに分類された画像からN個の代表画像が選択される。また、寺院の前のカテゴリおよび寺院の中のカテゴリに分類された画像を候補画像として選択した場合には、寺院の前のカテゴリおよび寺院の中のカテゴリのすべての画像からN個の代表画像が選択される。この際、寺院の前のカテゴリおよび寺院の中のカテゴリの少なくとも一方から代表画像が選択されるため、候補画像を選択したカテゴリであっても、代表画像が選択されないカテゴリが存在する場合もある。   With the above processing, for example, when only images classified in the category in front of the temple are selected as candidate images, N representative images are selected from the images classified in the category in front of the temple. Further, when images classified into the category in front of the temple and the category in the temple are selected as candidate images, N representative images are selected from all the images in the category in front of the temple and the category in the temple. Selected. At this time, since the representative image is selected from at least one of the category in front of the temple and the category in the temple, there may be a category in which the representative image is not selected even if the candidate image is selected.

表示制御部32は、CPU12がハードディスク24に保存されている画像を閲覧するためのビューアソフトを起動した際に、ビューアソフトにより表示部18に表示される画像一覧画面において、重要度設定部30が設定した重要度を視認可能に表示部18に表示するとともに、代表画像選択部34が選択した代表画像を表示する。   When the CPU 12 starts up viewer software for browsing images stored in the hard disk 24, the display control unit 32 displays the importance setting unit 30 on the image list screen displayed on the display unit 18 by the viewer software. The set importance level is displayed on the display unit 18 so as to be visible, and the representative image selected by the representative image selection unit 34 is displayed.

図12は画像一覧画面の例を示す図である。図12に示すように画像一覧画面40は、ハードディスク24に保存されているフォルダ構造を示すフォルダフィールド40A、およびフォルダフィールド40Aにおいて選択したフォルダ(図12において矩形A1により囲んだフォルダ)に保存されている画像についてのサムネイル画像の一覧を表示する一覧表示フィールド40Bが含まれる。   FIG. 12 shows an example of an image list screen. As shown in FIG. 12, the image list screen 40 is stored in the folder field 40A indicating the folder structure stored in the hard disk 24 and the folder selected in the folder field 40A (the folder surrounded by the rectangle A1 in FIG. 12). A list display field 40B for displaying a list of thumbnail images for the existing images is included.

フォルダフィールド40Aにおいては、上述したように階層化されたカテゴリに対応するフォルダの階層構造が表示される。表示制御部32は、重要度設定部30が設定した各カテゴリの重要度に応じて、カテゴリに1〜4までの順位を設定する。そして、順位に応じてフォルダを色分けしてフォルダフィールド40Aにフォルダの階層構造を表示する。例えば、1位のフォルダはピンク色、2位のフォルダはオレンジ色、3位のフォルダは黄色、4位のフォルダは緑色というようにフォルダを色分けする。ここで、図12に示す画像一覧画面40のフォルダフィールド40Aにおいて、一番上に表示されている階層が上述したフランス旅行の画像を分類したフォルダを表すものとする。   In the folder field 40A, the hierarchical structure of folders corresponding to the hierarchical categories as described above is displayed. The display control unit 32 sets ranks 1 to 4 in categories according to the importance of each category set by the importance setting unit 30. Then, the folders are color-coded according to the order, and the hierarchical structure of the folders is displayed in the folder field 40A. For example, the first folder is pink, the second folder is orange, the third folder is yellow, and the fourth folder is green. Here, in the folder field 40A of the image list screen 40 shown in FIG. 12, the hierarchy displayed at the top represents a folder in which the above-mentioned France travel images are classified.

なお、重要度に応じた順位の設定は、例えば手法4により重要度を算出した場合、200を超える重要度を1位、150を超え200以下の重要度を2位、100を超え150以下の重要度を3位、100以下の重要度を4位というようにすればよい。   For example, when the importance is calculated by the method 4, the importance is set to 1st for the importance exceeding 200, the 2nd for the importance exceeding 150 and 2nd, and the order of importance exceeding 100 to 150 or less. The importance level may be 3rd, and the importance level 100 or less may be 4th.

ここで、重要度に応じて色分けする手法のみならず、図13に示すように重要度の順位を数値として表示するようにしてもよい。また、重要度に応じたマークやグラフを表示してもよい。   Here, not only the method of color-coding according to the importance, but also the importance ranking may be displayed as a numerical value as shown in FIG. Also, a mark or graph corresponding to the importance may be displayed.

一方、一覧表示フィールド40Bには、ユーザが最下位の階層のフォルダを選択した場合には、選択したフォルダに保存されている画像についてのサムネイル画像の一覧が表示されるが、最下位の階層以外の階層のフォルダを選択した場合には、選択したフォルダの一階層下位のフォルダが縮小表示される。   On the other hand, in the list display field 40B, when the user selects a folder at the lowest level, a list of thumbnail images for images stored in the selected folder is displayed. When a folder at a level is selected, a folder that is one level below the selected folder is reduced and displayed.

図14は一覧表示フィールド40Bにフォルダが縮小表示された画像一覧画面40の例を示す図である。なお、ここでは、ユーザがフランス旅行のフォルダ(すなわちフォルダF1)におけるノートルダム寺院フォルダ(フォルダF1−1−3)を選択したものとし、代表画像は寺院の前フォルダ(フォルダF1−1−3−1)から3つ、寺院の中フォルダ(フォルダF1−1−3−3)から1つ選択されたものとする。   FIG. 14 is a diagram showing an example of the image list screen 40 in which folders are reduced and displayed in the list display field 40B. In this example, it is assumed that the user has selected the Notre Dame folder (folder F1-1-3) in the French travel folder (ie, folder F1), and the representative image is the previous folder (folder F1-1-3-). It is assumed that three items from 1) and one item from the folder in the temple (folder F1-1-3-3) are selected.

図14に示すように一覧表示フィールド40Bには、選択したフォルダF1−1−3の一階層下位の3つのフォルダF1−1−3−1,F1−1−3−2,F1−1−3−3が縮小表示されている。また、フォルダF1−1−3−1には3つ、F1−1−3−3には1つの代表画像がサムネイル表示されている。なお、フォルダF1−1−3−2からは代表画像が選択されていないため、縮小表示されたフォルダF1−1−3−2には代表画像のサムネイル表示はなされない。   As shown in FIG. 14, the list display field 40B includes three folders F1-1-1-1, F1-1-3-2, and F1-1-3 which are one level lower than the selected folder F1-1-3. -3 is reduced. Three representative images are displayed as thumbnails in the folder F1-1-3-1 and one representative image is displayed in the F1-1-3-3. Since no representative image is selected from the folder F1-1-3-2, thumbnail display of the representative image is not performed in the reduced folder F1-1-3-2.

次いで、第1の実施形態において行われる処理について説明する。図15は第1の実施形態において行われる処理を示すフローチャートである。なお、画像データはメモリカード2から読み出されてハードディスク24のユーザが所望するフォルダに保存されているものとする。ビューアソフトを起動し、分類の指示をユーザが入力部16から行うことにより処理が開始され、画像分類部28が上述したように画像データを階層化して複数のカテゴリに分類する(ステップST21)。   Next, processing performed in the first embodiment will be described. FIG. 15 is a flowchart showing processing performed in the first embodiment. It is assumed that the image data is read from the memory card 2 and stored in a folder desired by the user of the hard disk 24. The viewer software is activated, and the processing is started when the user gives an instruction for classification from the input unit 16, and the image classification unit 28 stratifies the image data and classifies it into a plurality of categories as described above (step ST21).

そして、重要度設定部30がカテゴリに重要度を設定し(ステップST22)、代表画像選択部34の候補画像選択部50が、代表画像の候補画像を選択する(ステップST23)。続いて、画像処理部52が選択されたすべての候補画像を表す画像データに画像処理を施して処理済み画像データを取得し(ステップST24)、変化量算出部54が処理前画像と処理済み画像との変化量の代表値を算出する(ステップST25)。そして、決定部56が代表画像を決定する(ステップST26)。   Then, the importance level setting unit 30 sets the importance level for the category (step ST22), and the candidate image selection unit 50 of the representative image selection unit 34 selects a candidate image of the representative image (step ST23). Subsequently, the image processing unit 52 performs image processing on the image data representing all selected candidate images to obtain processed image data (step ST24), and the change amount calculating unit 54 performs the pre-processing image and the processed image. The representative value of the change amount is calculated (step ST25). Then, the determination unit 56 determines a representative image (step ST26).

さらに表示制御部32が重要度を視認可能にして画像一覧画面を表示部18に表示し(ステップST27)、処理を終了する。   Furthermore, the display control unit 32 makes the importance visible and displays the image list screen on the display unit 18 (step ST27), and the process is terminated.

このように、第1の実施形態によれば、重要度が設定された複数のカテゴリのうち、重要度が高いカテゴリから代表画像の候補画像を選択し、選択した複数の候補画像から代表画像を選択するようにしたものである。ここで、候補画像は重要度が高いカテゴリから選択されているため、ユーザにとって重要であることが多い。したがって、本実施形態によれば、ユーザにとって重要な代表画像を確実に選択することができる。   As described above, according to the first embodiment, a candidate image of a representative image is selected from a category having a high importance among a plurality of categories set with importance, and a representative image is selected from the plurality of selected candidate images. It is what you choose. Here, since the candidate image is selected from a category having high importance, it is often important for the user. Therefore, according to the present embodiment, it is possible to reliably select a representative image important for the user.

また、複数のカテゴリのうち重要度が高いカテゴリから候補画像を選択し、さらに候補画像から代表画像を選択しているため、複数の画像の全体から代表画像を選択する場合と比較して、代表画像を選択するための処理時間を短縮することができる。   In addition, since a candidate image is selected from a category having a high importance among a plurality of categories and a representative image is selected from the candidate images, the representative image is selected as compared with the case where the representative image is selected from the entire plurality of images. Processing time for selecting an image can be shortened.

ここで、画像に対して画質を向上させる画像処理を施すことにより得られる処理済み画像と画像処理前の処理前画像との、相対応する画素間の画素値の変化量の代表値が小さいということは、処理済み画像と処理前画像とで変化が小さいということ、いわば画像処理の必要性が小さい、うまく撮影された高画質の画像であることを意味する。   Here, the representative value of the change amount of the pixel value between corresponding pixels of the processed image obtained by performing image processing for improving the image quality and the pre-processed image before the image processing is small. This means that the change between the processed image and the pre-processed image is small, that is, a well-captured high-quality image with little need for image processing.

このため、選択された複数の候補画像のそれぞれについて、上記画素値の変化量の代表値を算出し、代表値が小さい所定数の画像を代表画像として選択することにより、高画質の画像を代表画像として選択することができる。   For this reason, for each of the plurality of selected candidate images, a representative value of the change amount of the pixel value is calculated, and a predetermined number of images having a small representative value are selected as the representative images, thereby representing a high-quality image. It can be selected as an image.

また、代表値を、画素値の変化量の平均値を正規化した値とすることにより、代表値の最大値および最小値が明確となるため、代表値をわかりやすい値とすることができる。   In addition, since the maximum value and the minimum value of the representative value are clarified by setting the representative value to a value obtained by normalizing the average value of the pixel value change amounts, the representative value can be easily understood.

なお、上記第1の実施形態においては、画素値の変化量の代表値が小さい上位N個の画像を代表画像として選択しているが、選択した候補画像をファイル名順に並べた場合のファイル名が先頭の画像または最後の画像を含むN個の画像を代表画像として選択してもよい。また、候補画像からランダムに選択したN個の画像を代表画像としてもよい。   In the first embodiment, the top N images having a small representative value of the change amount of the pixel value are selected as the representative images. However, the file names when the selected candidate images are arranged in the order of the file names are selected. N images including the first image or the last image may be selected as representative images. Further, N images randomly selected from the candidate images may be used as representative images.

また、上記第1の実施形態においては、撮影日時の間隔に基づいて画像を複数のカテゴリに階層化して分類しているが、例えば撮影場所の緯度および経度を表すGPS情報を取得可能なカメラを用いて撮影を行った場合には、画像にはGPS情報が付与される。このような場合、GPS情報を用いて撮影場所毎に画像を階層化して分類してもよい。   In the first embodiment, images are hierarchized and classified into a plurality of categories based on the shooting date and time intervals. For example, a camera capable of acquiring GPS information indicating the latitude and longitude of a shooting location is used. When shooting is performed using this, GPS information is added to the image. In such a case, images may be hierarchized and classified for each shooting location using GPS information.

また、特許文献2に記載されたような、ユーザのスケジュールを表すスケジュール情報を参照して、画像をユーザのスケジュールに応じたカテゴリに分類する手法、特許文献3に記載されたような、複数の画像から特徴量を算出し、画像の特徴量間の関連性に基づいて画像を複数のカテゴリに分類する手法を用いて画像を分類してもよい。   In addition, a method of classifying images into categories according to the user's schedule with reference to schedule information representing the user's schedule as described in Patent Document 2, and a plurality of methods as described in Patent Document 3 The feature amount may be calculated from the image, and the image may be classified using a method of classifying the image into a plurality of categories based on the relationship between the feature amounts of the image.

また、ユーザが手動により自分の好みに応じて画像を分類してもよいことはもちろんである。   Of course, the user may manually classify the images according to his / her preference.

また、上記第1の実施形態においては、重要度設定部30において、手法1〜4を用いて各カテゴリの重要度を設定しているが、ユーザが手動により自分の好みに応じて重要度を設定してもよいことはもちろんである。   In the first embodiment, the importance setting unit 30 sets the importance of each category using the methods 1 to 4, but the user manually sets the importance according to his / her preference. Of course, it may be set.

次いで、本発明の第2の実施形態について説明する。図16は本発明の第2の実施形態による代表画像選択装置の構成を示す概略ブロック図である。なお、第2の実施形態において第1の実施形態と同一の構成については同一の参照番号を付与し、ここでは詳細な説明は省略する。第2の実施形態における代表画像選択装置1′は、第1の実施形態における画像分類部28および重要度設定部30を備えないものであり、ハードディスク24におけるユーザが所望するフォルダに保存された複数の画像をカテゴリに分類することなく、この複数の画像から代表画像を選択する代表画像選択部34′を備えた点が第1の実施形態と異なる。   Next, a second embodiment of the present invention will be described. FIG. 16 is a schematic block diagram showing the configuration of a representative image selection device according to the second embodiment of the present invention. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted here. The representative image selection device 1 ′ in the second embodiment does not include the image classification unit 28 and the importance setting unit 30 in the first embodiment, and a plurality of images stored in a folder desired by the user in the hard disk 24. This embodiment is different from the first embodiment in that a representative image selection unit 34 'for selecting a representative image from the plurality of images without classifying the images is classified into categories.

図17は代表画像選択部34′の構成を示す概略ブロック図である。図17に示すように代表画像選択部34′は、第1の実施形態における代表画像選択部34の画像処理部52、変化量算出部54および決定部56にそれぞれ対応する、画像処理部52′、変化量算出部54′および決定部56′を備える。   FIG. 17 is a schematic block diagram showing the configuration of the representative image selection unit 34 ′. As shown in FIG. 17, the representative image selection unit 34 'corresponds to the image processing unit 52, the change amount calculation unit 54, and the determination unit 56 of the representative image selection unit 34 in the first embodiment, respectively. The change amount calculation unit 54 'and the determination unit 56' are provided.

次いで、第2の実施形態において行われる処理について説明する。図18は第2の実施形態において代表画像選択部34′が行う処理を示すフローチャートである。まず、CPU12が処理の対象となる画像データをファイル名が最初の画像データとすべく、k=1(kはユーザが所望するフォルダに保存されている画像データの数)に設定する(ステップST31)。次いで、画像処理部28′が画像データに対して画像処理を施して処理済み画像データを取得する(ステップST32)。   Next, processing performed in the second embodiment will be described. FIG. 18 is a flowchart showing processing performed by the representative image selection unit 34 ′ in the second embodiment. First, k = 1 (k is the number of image data stored in a folder desired by the user) is set so that the image data to be processed by the CPU 12 is the first image data having a file name (step ST31). ). Next, the image processing unit 28 'performs image processing on the image data to obtain processed image data (step ST32).

そして、変化量算出部54′が、処理前の画像と処理済み画像との画素値の変化量を算出する(ステップST33)。さらに、変化量算出部54′は画素値の変化量の代表値を算出する(ステップST34)。   Then, the change amount calculation unit 54 ′ calculates the change amount of the pixel value between the unprocessed image and the processed image (step ST33). Further, the change amount calculation unit 54 ′ calculates a representative value of the change amount of the pixel value (step ST34).

そして、CPU12がユーザが所望するフォルダに保存されたすべての画像について処理を終了したか否かを判定し(ステップST35)、ステップST35が否定されるとファイル名が次の画像データを処理対象とすべくk=k+1に設定し(ステップST36)、ステップST32に戻る。ステップST35が肯定されると、最小代表値からN番目までの画像、すなわち代表値が小さい上位N個の画像を代表画像として選択し(ステップST37)、処理を終了する。   Then, the CPU 12 determines whether or not the processing has been completed for all the images stored in the folder desired by the user (step ST35). If step ST35 is negative, the next image data whose file name is the processing target is determined. As much as possible, k = k + 1 is set (step ST36), and the process returns to step ST32. When step ST35 is affirmed, the images from the minimum representative value to the Nth image, that is, the top N images with small representative values are selected as representative images (step ST37), and the process is terminated.

このように、第2の実施形態によれば、画像を複数のカテゴリに分類しない場合においても、所望のフォルダに保存された画像の代表画像を選択することができる。   Thus, according to the second embodiment, a representative image of an image stored in a desired folder can be selected even when the image is not classified into a plurality of categories.

なお、上記第1および第2の実施形態においては、画素値の変化量の平均値またはこれを正規化した値を代表値としているが、ユーザが所望するフォルダに保存された画像を何度か再生している場合には、上記特許文献7に記載された手法を用いて、画像の再生時間を記録しておき、再生時間が長いほど代表値が小さくなるように、正規化した画素値の変化量の平均値を修正してもよい。これにより、再生時間が長い画像はより代表画像として選択されやすくなる。   In the first and second embodiments, the average value of the pixel value variation or the normalized value is used as the representative value, but the image stored in the folder desired by the user is stored several times. In the case of reproduction, the image reproduction time is recorded using the method described in Patent Document 7, and the normalized pixel value is reduced so that the representative value becomes smaller as the reproduction time becomes longer. You may correct the average value of variation. As a result, an image having a long reproduction time is more easily selected as a representative image.

また、最後に画像を再生した日時を記録しておき、この日時から代表画像選択の処理を行っている日時までの経過時間が長いほど、代表値が大きくなるように、正規化した画素値の変化量の平均値を修正してもよい。これにより、最近に再生した画像はより代表画像として選択されやすくなる。一方、長期間再生されていない画像は代表画像としては選択されにくくなる。   Also, the date and time when the image was last played back is recorded, and the normalized pixel value is set so that the representative value becomes larger as the elapsed time from this date and time to the date and time when the representative image selection process is performed is longer. You may correct the average value of variation. This makes it easier to select a recently reproduced image as a representative image. On the other hand, an image that has not been reproduced for a long time is less likely to be selected as a representative image.

これにより、ユーザの嗜好を反映させて代表画像を選択することができる。   Thereby, a representative image can be selected reflecting a user's preference.

本発明の第1の実施形態による代表画像選択装置の構成を示す概略ブロック図1 is a schematic block diagram showing the configuration of a representative image selection device according to a first embodiment of the present invention. ユーザのフランス旅行のある1日のタイムテーブルを示す図The figure which shows the time table of one day with the user's trip to France フランス旅行の時間軸と画像数との関係を示す図The figure which shows the relation between the time axis and the number of images 分類後のフォルダ構造を示す図Figure showing the folder structure after classification 分類後のフォルダ構造を手法1により算出した重要度とともに示す図The figure which shows the folder structure after classification with the importance which is calculated with method 1 分類後のフォルダ構造を手法2により算出した重要度とともに示す図The figure which shows the folder structure after classification with the importance which is calculated with method 2 分類後のフォルダ構造を手法3により算出した重要度とともに示す図The figure which shows the folder structure after classification with the importance which is calculated with method 3 分類後のフォルダ構造を手法4により算出した重要度とともに示す図The figure which shows the folder structure after classification with the importance which is calculated with method 4 第1の実施形態における代表画像選択部の構成を示す概略ブロック図Schematic block diagram showing a configuration of a representative image selection unit in the first embodiment 候補画像選択の処理を示すフローチャートFlowchart showing candidate image selection processing 第1の実施形態における代表画像選択の処理を示すフローチャートFlowchart showing representative image selection processing in the first embodiment 第1の実施形態における画像一覧画面を示す図(その1)The figure which shows the image list screen in 1st Embodiment (the 1) 第1の実施形態における画像一覧画面を示す図(その2)The figure which shows the image list screen in 1st Embodiment (the 2) 第1の実施形態における画像一覧画面を示す図(その3)The figure which shows the image list screen in 1st Embodiment (the 3) 第1の実施形態において行われる処理を示すフローチャートThe flowchart which shows the process performed in 1st Embodiment. 本発明の第2の実施形態による代表画像選択装置の構成を示す概略ブロック図The schematic block diagram which shows the structure of the representative image selection apparatus by the 2nd Embodiment of this invention. 第2の実施形態における代表画像選択部の構成を示す概略ブロック図The schematic block diagram which shows the structure of the representative image selection part in 2nd Embodiment. 第1の実施形態における代表画像選択の処理を示すフローチャートFlowchart showing representative image selection processing in the first embodiment

符号の説明Explanation of symbols

1,1′ 代表画像選択装置
2 メモリカード
12 CPU
14 システムメモリ
16 入力部
18 表示部
20 カードスロット
22 圧縮解凍部
24 ハードディスク
26 メモリ制御部
28 画像分類部
30 重要度設定部
32 表示制御部
34,34′ 代表画像選択部
40 画像一覧画面
50 候補画像選択部
52,52′ 画像処理部
54,54′ 変化量算出部
56,56′ 決定部
1, 1 'representative image selection device 2 memory card 12 CPU
DESCRIPTION OF SYMBOLS 14 System memory 16 Input part 18 Display part 20 Card slot 22 Compression / decompression part 24 Hard disk 26 Memory control part 28 Image classification part 30 Importance setting part 32 Display control part 34,34 'Representative image selection part 40 Image list screen 50 Candidate image Selection unit 52, 52 ′ Image processing unit 54, 54 ′ Change amount calculation unit 56, 56 ′ determination unit

Claims (6)

複数の画像から所定数の代表画像を選択する代表画像選択装置において、
あらかじめ階層化されて複数のカテゴリに分類され、該複数のカテゴリのそれぞれに重要度が設定されてなる前記複数の画像を記憶する記憶手段と、
該記憶手段に記憶された前記複数の画像についての前記複数のカテゴリのうち、前記重要度が高いカテゴリから前記代表画像の候補画像を複数選択する候補選択手段と、
該選択された複数の候補画像のそれぞれに対して画質を向上させる画像処理を施すことにより複数の処理済み画像を取得し、前記候補画像のそれぞれについて、前記処理済み画像との相対応する画素間の画素値の変化量の平均値を正規化し、該正規化した値を前記候補画像の再生時間が長いほど小さくなるように修正する処理、および該正規化した値を前記候補画像が最後に再生された日時からの経過時間が長いほど大きくなるように修正する処理の少なくとも一方の処理を行うことにより、前記画素値の変化量の代表値を算出し、該代表値が小さい順に最小代表値から前記所定数の前記候補画像を前記代表画像として選択する選択手段とを備えたことを特徴とする代表画像選択装置。
In a representative image selection device that selects a predetermined number of representative images from a plurality of images,
Storage means for storing the plurality of images that are hierarchized in advance and classified into a plurality of categories, and importance is set for each of the plurality of categories;
Candidate selection means for selecting a plurality of candidate images of the representative image from the category having a high degree of importance among the plurality of categories for the plurality of images stored in the storage means;
A plurality of processed images are obtained by performing image processing to improve image quality for each of the selected plurality of candidate images, and for each of the candidate images, between corresponding pixels with the processed image Normalizing the average value of the pixel value change amount , and correcting the normalized value so that it decreases as the reproduction time of the candidate image increases, and the candidate image reproduces the normalized value last. The representative value of the change amount of the pixel value is calculated by performing at least one of the processes of correcting so as to increase as the elapsed time from the specified date and time increases , and from the smallest representative value in ascending order of the representative value A representative image selecting apparatus comprising: a selecting unit that selects the predetermined number of the candidate images as the representative image.
複数の画像から所定数の代表画像を選択する代表画像選択装置において、
前記複数の画像のそれぞれに対して画質を向上させる画像処理を施すことにより複数の処理済み画像を取得する画像処理手段と、
前記複数の画像のそれぞれについて、前記処理済み画像との相対応する画素間の画素値の変化量の平均値を正規化し、該正規化した値を前記画像の再生時間が長いほど小さくなるように修正する処理、および該正規化した値を前記画像が最後に再生された日時からの経過時間が長いほど大きくなるように修正する処理の少なくとも一方の処理を行うことにより、前記画素値の変化量の代表値を算出する変化量算出手段と、
該代表値が小さい順に最小代表値から前記所定数の前記画像を前記代表画像として選択する選択手段とを備えたことを特徴とする代表画像選択装置。
In a representative image selection device that selects a predetermined number of representative images from a plurality of images,
Image processing means for obtaining a plurality of processed images by performing image processing for improving image quality for each of the plurality of images;
For each of the plurality of images, the average value of the amount of change in pixel value between pixels corresponding to the processed image is normalized so that the normalized value becomes smaller as the reproduction time of the image becomes longer. The amount of change in the pixel value by performing at least one of the process of correcting and the process of correcting the normalized value so that the elapsed time from the date and time when the image was last reproduced becomes longer a change amount calculating means for calculating a representative value,
A representative image selecting apparatus comprising: a selecting unit that selects the predetermined number of images as the representative image from the smallest representative value in order of decreasing the representative value.
複数の画像から所定数の代表画像を選択する代表画像選択方法において、
候補選択手段が、あらかじめ階層化されて複数のカテゴリに分類され、該複数のカテゴリのそれぞれに重要度が設定されてなる前記複数の画像を記憶する記憶手段に記憶された前記複数の画像についての前記複数のカテゴリのうち、前記重要度が高いカテゴリから前記代表画像の候補画像を複数選択し、
選択手段が、該選択された複数の候補画像のそれぞれに対して画質を向上させる画像処理を施すことにより複数の処理済み画像を取得し、前記候補画像のそれぞれについて、前記処理済み画像との相対応する画素間の画素値の変化量の平均値を正規化し、該正規化した値を前記候補画像の再生時間が長いほど小さくなるように修正する処理、および該正規化した値を前記候補画像が最後に再生された日時からの経過時間が長いほど大きくなるように修正する処理の少なくとも一方の処理を行うことにより、前記画素値の変化量の代表値を算出し、該代表値が小さい順に最小代表値から前記所定数の前記候補画像を前記代表画像として選択することを特徴とする代表画像選択方法。
In a representative image selection method for selecting a predetermined number of representative images from a plurality of images,
Candidate selection means is hierarchized in advance and classified into a plurality of categories, and the plurality of images stored in the storage means for storing the plurality of images in which importance is set for each of the plurality of categories. Among the plurality of categories, select a plurality of candidate images of the representative image from the category with high importance,
The selection unit obtains a plurality of processed images by performing image processing for improving the image quality on each of the selected plurality of candidate images, and each of the candidate images is correlated with the processed image. A process of normalizing an average value of changes in pixel values between corresponding pixels and correcting the normalized value so that the reproduction time of the candidate image decreases, and the normalized value is converted into the candidate image. By performing at least one of the processes of correcting so that the elapsed time from the date and time when the image was last reproduced becomes longer, the representative value of the change amount of the pixel value is calculated, and the representative value is in ascending order. A representative image selection method, wherein the predetermined number of the candidate images are selected as the representative image from a minimum representative value.
複数の画像から所定数の代表画像を選択する代表画像選択方法において、
画像処理手段が、前記複数の画像のそれぞれに対して画質を向上させる画像処理を施すことにより複数の処理済み画像を取得し、
変化量算出手段が、前記複数の画像のそれぞれについて、前記処理済み画像との相対応する画素間の画素値の変化量の平均値を正規化し、該正規化した値を前記画像の再生時間が長いほど小さくなるように修正する処理、および該正規化した値を前記画像が最後に再生された日時からの経過時間が長いほど大きくなるように修正する処理の少なくとも一方の処理を行うことにより、前記画素値の変化量の代表値を算出し、
選択手段が、該代表値が小さい順に最小代表値から前記所定数の前記画像を前記代表画像として選択することを特徴とする代表画像選択方法。
In a representative image selection method for selecting a predetermined number of representative images from a plurality of images,
The image processing means obtains a plurality of processed images by performing image processing for improving the image quality for each of the plurality of images.
A change amount calculation unit normalizes an average value of pixel value change amounts between pixels corresponding to the processed image for each of the plurality of images, and uses the normalized value as a reproduction time of the image. By performing at least one of a process of correcting to be smaller as the length is longer, and a process of correcting the normalized value to be larger as the elapsed time from the date and time when the image was last reproduced is longer, Calculating a representative value of the change amount of the pixel value ;
A representative image selecting method, wherein the selecting means selects the predetermined number of the images from the smallest representative value in ascending order of the representative value as the representative image.
複数の画像から所定数の代表画像を選択する代表画像選択方法をコンピュータに実行させるためのプログラムにおいて、
あらかじめ階層化されて複数のカテゴリに分類され、該複数のカテゴリのそれぞれに重要度が設定されてなる複数の画像を記憶する記憶手段に記憶された前記複数の画像についての前記複数のカテゴリのうち、前記重要度が高いカテゴリから前記代表画像の候補画像を複数選択する手順と、
該選択された複数の候補画像のそれぞれに対して画質を向上させる画像処理を施すことにより複数の処理済み画像を取得し、前記候補画像のそれぞれについて、前記処理済み画像との相対応する画素間の画素値の変化量の平均値を正規化し、該正規化した値を前記候補画像の再生時間が長いほど小さくなるように修正する処理、および該正規化した値を前記候補画像が最後に再生された日時からの経過時間が長いほど大きくなるように修正する処理の少なくとも一方の処理を行うことにより、前記画素値の変化量の代表値を算出し、該代表値が小さい順に最小代表値から前記所定数の前記候補画像を前記代表画像として選択する手順とを有することを特徴とするプログラム。
In a program for causing a computer to execute a representative image selection method for selecting a predetermined number of representative images from a plurality of images,
Among the plurality of categories for the plurality of images stored in a storage unit that stores a plurality of images that are previously hierarchized and classified into a plurality of categories, and importance levels are set for the respective categories. , A procedure for selecting a plurality of candidate images of the representative image from the category with high importance,
A plurality of processed images are obtained by performing image processing to improve image quality for each of the selected plurality of candidate images, and for each of the candidate images, between corresponding pixels with the processed image Normalizing the average value of the pixel value change amount , and correcting the normalized value so that it decreases as the reproduction time of the candidate image increases, and the candidate image reproduces the normalized value last. The representative value of the change amount of the pixel value is calculated by performing at least one of the processes of correcting so as to increase as the elapsed time from the specified date and time increases , and from the smallest representative value in ascending order of the representative value And a procedure for selecting the predetermined number of the candidate images as the representative image.
複数の画像から所定数の代表画像を選択する代表画像選択方法をコンピュータに実行させるためのプログラムにおいて、
前記複数の画像のそれぞれに対して画質を向上させる画像処理を施すことにより複数の処理済み画像を取得する手順と、
前記複数の画像のそれぞれについて、前記処理済み画像との相対応する画素間の画素値の変化量の平均値を正規化し、該正規化した値を前記画像の再生時間が長いほど小さくなるように修正する処理、および該正規化した値を前記画像が最後に再生された日時からの経過時間が長いほど大きくなるように修正する処理の少なくとも一方の処理を行うことにより、前記画素値の変化量の代表値を算出する手順と、
該代表値が小さい順に最小代表値から前記所定数の前記画像を前記代表画像として選択する手順とを有することを特徴とするプログラム。
In a program for causing a computer to execute a representative image selection method for selecting a predetermined number of representative images from a plurality of images,
Obtaining a plurality of processed images by performing image processing to improve image quality for each of the plurality of images;
For each of the plurality of images, the average value of the amount of change in pixel value between pixels corresponding to the processed image is normalized so that the normalized value becomes smaller as the reproduction time of the image becomes longer. The amount of change in the pixel value by performing at least one of the process of correcting and the process of correcting the normalized value so that the elapsed time from the date and time when the image was last reproduced becomes longer A procedure for calculating a representative value of
And a procedure for selecting the predetermined number of images as the representative image from the smallest representative value in ascending order of the representative value.
JP2004363035A 2004-12-14 2004-12-15 Representative image selection apparatus and method, and program Expired - Fee Related JP4854957B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004363035A JP4854957B2 (en) 2004-12-15 2004-12-15 Representative image selection apparatus and method, and program
US11/298,742 US7783115B2 (en) 2004-12-14 2005-12-12 Apparatus and method for setting degrees of importance, apparatus and method for representative image selection, apparatus and method for printing-recommended image selection, and programs therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004363035A JP4854957B2 (en) 2004-12-15 2004-12-15 Representative image selection apparatus and method, and program

Publications (2)

Publication Number Publication Date
JP2006172090A JP2006172090A (en) 2006-06-29
JP4854957B2 true JP4854957B2 (en) 2012-01-18

Family

ID=36672785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004363035A Expired - Fee Related JP4854957B2 (en) 2004-12-14 2004-12-15 Representative image selection apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP4854957B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5010219B2 (en) * 2006-09-08 2012-08-29 富士フイルム株式会社 Image processing apparatus, image processing method, and image processing program
US7869658B2 (en) * 2006-10-06 2011-01-11 Eastman Kodak Company Representative image selection based on hierarchical clustering
JP4639208B2 (en) 2007-03-16 2011-02-23 富士フイルム株式会社 Image selection apparatus, image selection method, imaging apparatus, and program
JP5379442B2 (en) * 2008-10-14 2013-12-25 オリンパスメディカルシステムズ株式会社 Image display device
EP2352118B1 (en) 2008-11-25 2017-08-16 Sony Interactive Entertainment Inc. Image display device, method for displaying image and information storing medium
JP4871345B2 (en) * 2008-11-25 2012-02-08 株式会社ソニー・コンピュータエンタテインメント Image display device, image display method, program, and information storage medium
WO2011061782A1 (en) * 2009-11-17 2011-05-26 株式会社 東芝 Image processing device

Also Published As

Publication number Publication date
JP2006172090A (en) 2006-06-29

Similar Documents

Publication Publication Date Title
US7783115B2 (en) Apparatus and method for setting degrees of importance, apparatus and method for representative image selection, apparatus and method for printing-recommended image selection, and programs therefor
JP5713279B2 (en) Image classification device, electronic album creation device, image classification method, and program
US9507802B2 (en) Information processing apparatus and method, and program
US8044945B2 (en) Image display apparatus and method, computer-readable recording medium on which the program is recorded, and photograph print order accepting apparatus
JP3747589B2 (en) Image feature amount comparison device and recording medium storing image feature amount comparison program
US7716157B1 (en) Searching images with extracted objects
US20120127066A1 (en) Content output device, content output method, program, program recording medium, and content output integrated circuit
JP6031278B2 (en) Information processing apparatus, control method thereof, and program
JP2007041964A (en) Image processor
KR101475939B1 (en) Method of controlling image processing apparatus, image processing apparatus and image file
KR100664959B1 (en) Apparatus and method for image clustering
JP7463473B2 (en) Image candidate determination device, image candidate determination method, program for controlling the image candidate determination device, and recording medium storing the program
JP2006259788A (en) Image output device
JP4854957B2 (en) Representative image selection apparatus and method, and program
CN113822898A (en) Intelligent cropping of images
JP4279083B2 (en) Image processing method and apparatus, and image processing program
JP2006303707A (en) Image processing apparatus and image processing method
US7856124B2 (en) Image evaluation device, method and program
JP6197063B2 (en) Image processing apparatus, important person determination method, image layout method, program, and recording medium
JPH09190546A (en) Automatic image editing device
JP2006171942A (en) Significance setting device and method and program
JP2007122111A (en) Importance setting apparatus and method, and program
JP6750094B2 (en) Image evaluation apparatus, image evaluation method, and image evaluation program
JP4946332B2 (en) Information processing program and information processing apparatus
US7924473B2 (en) Apparatus and method for image evaluation and program thereof

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061209

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080916

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081112

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090225

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090401

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20090424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110922

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111026

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

Free format text: PAYMENT UNTIL: 20141104

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4854957

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees