JP2008217385A - Image sorting device, method, and program - Google Patents

Image sorting device, method, and program Download PDF

Info

Publication number
JP2008217385A
JP2008217385A JP2007053618A JP2007053618A JP2008217385A JP 2008217385 A JP2008217385 A JP 2008217385A JP 2007053618 A JP2007053618 A JP 2007053618A JP 2007053618 A JP2007053618 A JP 2007053618A JP 2008217385 A JP2008217385 A JP 2008217385A
Authority
JP
Japan
Prior art keywords
images
similarity
image
face
sorting
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
JP2007053618A
Other languages
Japanese (ja)
Other versions
JP4895201B2 (en
Inventor
Masashi Norimatsu
正志 乗松
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 JP2007053618A priority Critical patent/JP4895201B2/en
Publication of JP2008217385A publication Critical patent/JP2008217385A/en
Application granted granted Critical
Publication of JP4895201B2 publication Critical patent/JP4895201B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable a user to easily find out an image including the primary face without acquiring a face image being the object of retrieval. <P>SOLUTION: A plurality of images are displayed at a display part 6, and the selection of an image by a user is accepted. A similarity calculation part 34 calculates the similarity of the faces included in the plurality of images in a prescribed timing, and a labeling part 36 labels the face included in a plurality of images on the basis of similarity. A primary face specification part 38 specifies at least one primary face included in the plurality of images on the basis of the labeling result of the face included in the selected image. A similarity calculation part 34 calculates the primary face similarity being similarity between the primary face and any image other than the selected image, and a sorting part 40 re-sorts any image other than the image selected in the order of the high primary face similarity, and displays the images in the order of re-sort at a display part 6. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の画像をソートするための画像ソート装置および方法並びに画像ソート方法をコンピュータに実行させるためのプログラムに関するものである。   The present invention relates to an image sorting apparatus and method for sorting a plurality of images, and a program for causing a computer to execute the image sorting method.

近年、デジタルカメラの普及により写真撮影が手軽に行われるようになってきている。撮影により取得した画像は、ミニラボやネットワークプリントサービスを利用してプリント出力することができる。しかしながら、撮影により取得した多数の画像からプリントを所望する画像を探す作業は大変面倒である。このため、検索の対象となる人物の顔画像を取得しておき、複数の画像からその顔画像を含む画像を検索するシステムが提案されている(特許文献1参照)。
特開2002−24229号公報
In recent years, photography has been easily performed with the spread of digital cameras. Images obtained by shooting can be printed out using a minilab or a network print service. However, it is very troublesome to search for an image desired to be printed from a large number of images acquired by photographing. For this reason, a system has been proposed in which a face image of a person to be searched is acquired and an image including the face image is searched from a plurality of images (see Patent Document 1).
JP 2002-24229 A

しかしながら、特許文献1に記載された手法においては、検索の対象となる顔画像をあらかじめ取得する必要があるため、顔画像が取得されていない被写体を含む画像は検索を行うことができず、その結果、プリント等を行うための画像を探す作業が困難なものとなる。   However, in the method described in Patent Document 1, since it is necessary to acquire a face image to be searched in advance, an image including a subject from which a face image has not been acquired cannot be searched. As a result, it is difficult to search for an image for printing or the like.

本発明は上記事情に鑑みなされたものであり、検索の対象となる顔画像を取得しなくても、主要な顔を含む画像を容易に探すことができるようにすることを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to make it possible to easily search for an image including a main face without acquiring a face image to be searched.

本発明による画像ソート装置は、複数の画像をソートする画像ソート装置において、
前記複数の画像を所定の順序にてソートするソート手段と、
前記複数の画像を表示する表示手段と、
前記表示された複数の画像から所望とされる複数の画像の選択を受け付ける選択手段と、
所定のタイミングにて、前記複数の画像に含まれる顔同士の類似度を算出する類似度算出手段と、
前記類似度に基づいて、前記複数の画像に含まれる顔をラベリングするラベリング手段と、
前記選択された画像に含まれる顔のラベリング結果に基づいて、少なくとも1つの主要顔を特定する主要顔特定手段とを備え、
前記類似度算出手段は、前記主要顔と前記選択された画像以外の他の画像との類似度である主要顔類似度を算出する手段であり、
前記ソート手段は、前記主要顔類似度が高い順に前記他の画像を再ソートし、該再ソートされた順に前記他の画像を前記表示手段に表示する手段であることを特徴とするものである。
An image sorting apparatus according to the present invention is an image sorting apparatus that sorts a plurality of images.
Sorting means for sorting the plurality of images in a predetermined order;
Display means for displaying the plurality of images;
Selection means for accepting selection of a plurality of desired images from the displayed plurality of images;
Similarity calculation means for calculating the similarity between faces included in the plurality of images at a predetermined timing;
Labeling means for labeling faces included in the plurality of images based on the similarity;
Main face specifying means for specifying at least one main face based on a labeling result of the face included in the selected image,
The similarity calculation means is a means for calculating a main face similarity which is a similarity between the main face and another image other than the selected image.
The sorting means is means for re-sorting the other images in descending order of the main face similarity and displaying the other images on the display means in the re-sorted order. .

本発明による画像ソート方法は、複数の画像をソートする画像ソート方法において、
表示手段に表示された複数の画像から所望とされる複数の画像の選択を受け付け、
所定のタイミングにて、前記複数の画像に含まれる顔同士の類似度を算出し、
前記類似度に基づいて、前記複数の画像に含まれる顔をラベリングし、
前記選択された画像に含まれる顔のラベリング結果に基づいて、少なくとも1つの主要顔を特定し、
前記主要顔と前記選択された画像以外の他の画像との類似度である主要顔類似度を算出し、
前記主要顔類似度が高い順に前記他の画像を再ソートし、該再ソートされた順に前記他の画像を前記表示手段に表示することを特徴とするものである。
An image sorting method according to the present invention is an image sorting method for sorting a plurality of images.
Accepting selection of a plurality of desired images from a plurality of images displayed on the display means,
At a predetermined timing, the similarity between faces included in the plurality of images is calculated,
Label faces included in the plurality of images based on the similarity,
Identifying at least one primary face based on a labeling result of faces included in the selected image;
Calculating a main face similarity that is a similarity between the main face and another image other than the selected image;
The other images are re-sorted in descending order of the main face similarity, and the other images are displayed on the display means in the re-sorted order.

なお、本発明による画像ソート方法をコンピュータに実行させるためのプログラムとして提供してもよい。   The image sorting method according to the present invention may be provided as a program for causing a computer to execute the image sorting method.

本発明によれば、表示された複数の画像から所望とされる複数の画像の選択が受け付けられ、所定のタイミングにて、複数の画像に含まれる顔同士の類似度が算出される。そして、類似度に基づいて複数の画像に含まれる顔がラベリングされる。このラベリングは、例えば類似度が所定値以上となった顔に対して同一のラベルを付与することにより行われる。次いで、選択された画像に含まれる顔のラベリング結果に基づいて、複数の画像に含まれる少なくとも1つの主要顔が特定される。そして、主要顔と選択された画像以外の他の画像との類似度である主要顔類似度が算出され、主要顔類似度が高い順に他の画像が再ソートされ、再ソートされた順に他の画像が表示される。   According to the present invention, selection of a plurality of desired images from a plurality of displayed images is accepted, and the degree of similarity between faces included in the plurality of images is calculated at a predetermined timing. Then, the faces included in the plurality of images are labeled based on the similarity. This labeling is performed, for example, by assigning the same label to faces whose similarity is equal to or higher than a predetermined value. Next, at least one main face included in the plurality of images is identified based on a labeling result of the faces included in the selected image. Then, the main face similarity, which is the similarity between the main face and other images other than the selected image, is calculated, the other images are re-sorted in descending order of the main face similarity, An image is displayed.

このため、検索の対象となる顔画像を取得しなくても、ユーザが選択した画像に含まれる主要顔を特定して画像をソートできるため、ユーザは、主要顔を含む画像をより見つけやすくなる。   For this reason, since it is possible to identify the main faces included in the image selected by the user and sort the images without acquiring a face image to be searched, the user can more easily find an image including the main face. .

以下、図面を参照して本発明の実施形態について説明する。図1は本発明の実施形態による画像ソート装置を適用した画像のプリント注文受付装置の外観斜視図である。図1に示すように、本実施形態によるプリント注文受付装置1は、ユーザによる画像のプリント注文を受け付けるために写真店の店頭に設置されてなるものであり、プリント注文するための画像が記録された各種メモリカード2を装填し、メモリカード2から画像を読み出したり、メモリカード2に画像を記録したりするための複数種類のカードスロット4と、プリント注文のための各種表示を行う液晶等の表示部6とを備え、写真店に設置されたプリンタ8と接続されている。なお、表示部6はタッチパネル式の入力部を備え、ユーザは表示部6の表示にしたがって表示部6にタッチすることにより、プリント注文に必要な入力を行うことができる。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an external perspective view of an image print order receiving apparatus to which an image sorting apparatus according to an embodiment of the present invention is applied. As shown in FIG. 1, a print order receiving apparatus 1 according to the present embodiment is installed at a photo shop in order to receive an image print order by a user, and an image for ordering a print is recorded. Various memory cards 2 are loaded, a plurality of types of card slots 4 for reading out images from the memory card 2 and recording images on the memory card 2, and liquid crystal for performing various displays for ordering prints, etc. It has a display unit 6 and is connected to a printer 8 installed in a photo shop. The display unit 6 includes a touch panel type input unit, and the user can make an input necessary for the print order by touching the display unit 6 in accordance with the display on the display unit 6.

図2は本発明の実施形態によるプリント注文受付装置の構成を示す概略ブロック図である。図2に示すように、プリント注文受付装置1は、画像を表す画像データの記録制御および表示制御等の各種制御を行うとともに、装置1を構成する各部の制御を行うCPU12と、画像のプリント注文を行うためのプリント注文プログラムおよび装置1を動作させるための基本的なプログラムや各種定数が記録されているROM並びにCPU12が処理を実行する際の作業領域となるRAMにより構成されるシステムメモリ14と、種々の指示を装置1に対して行うためのタッチパネル式の入力部16と、上述した表示部6とを備える。   FIG. 2 is a schematic block diagram showing the configuration of the print order receiving apparatus according to the embodiment of the present invention. As shown in FIG. 2, the print order receiving device 1 performs various controls such as recording control and display control of image data representing an image, and also controls each part of the device 1, and an image print order. A system order memory 14 composed of a print ordering program for performing the processing, a basic program for operating the apparatus 1 and a ROM in which various constants are recorded, and a RAM serving as a work area when the CPU 12 executes processing. The touch panel type input unit 16 for giving various instructions to the apparatus 1 and the display unit 6 described above are provided.

また、プリント注文受付装置1は、上述したカードスロット4と、画像データをJPEGに代表される手法で圧縮したり、圧縮した画像データを解凍する圧縮解凍部22と、複数の画像を保存するハードディスク24と、システムメモリ14、カードスロット4およびハードディスク24を制御するメモリ制御部26と、表示部6の表示を制御する表示制御部28と、プリンタ8を装置1に接続するためのプリンタインターフェース30とを備える。   The print order receiving apparatus 1 also includes a card slot 4 described above, a compression / decompression unit 22 that compresses image data by a technique typified by JPEG, and decompresses the compressed image data, and a hard disk that stores a plurality of images. 24, a memory control unit 26 for controlling the system memory 14, the card slot 4 and the hard disk 24, a display control unit 28 for controlling the display of the display unit 6, and a printer interface 30 for connecting the printer 8 to the apparatus 1. Is provided.

また、プリント注文受付装置1は、後述するようにハードディスク24に保存された複数の画像のそれぞれから顔領域を検出する顔検出部32と、類似度算出部34と、ラベリング部36と、主要顔特定部38と、複数の画像をソートするソート部40とを備える。   The print order receiving apparatus 1 also includes a face detection unit 32 that detects a face area from each of a plurality of images stored in the hard disk 24, a similarity calculation unit 34, a labeling unit 36, a main face, as will be described later. The identification unit 38 and a sorting unit 40 that sorts a plurality of images are provided.

顔検出部32は、テンプレートマッチングによる手法や、顔の多数のサンプル画像を用いてマシンラーニング学習により得られた顔判別器を用いる手法等により、各画像上における顔の位置を顔領域として検出する。   The face detection unit 32 detects a face position on each image as a face region by a template matching method or a method using a face discriminator obtained by machine learning learning using a large number of sample images of a face. .

類似度算出部34は、まず後述するタイミングにて、ハードディスク24に保存された複数の画像のそれぞれに含まれる顔同士の類似度を算出する。そして、主要顔が特定された後、主要顔と後述する複数の画像以外の他の画像との類似度である主要顔類似度を算出する。   First, the similarity calculation unit 34 calculates the similarity between faces included in each of a plurality of images stored in the hard disk 24 at a timing described later. Then, after the main face is specified, the main face similarity, which is the similarity between the main face and other images other than a plurality of images described later, is calculated.

類似度算出部34は、まず類似判定の基準となるいずれかの画像に含まれる所定の顔T0について、顔T0を構成する主要な顔部品を顔の特徴点として検出する。具体的には、各顔部品のテンプレートを用いたテンプレートマッチングによる手法や顔部品の多数のサンプル画像を用いたマシンラーニング学習により得られた、顔部品毎の判別器を用いる手法等により、例えば左右目頭、左右目尻、左右小鼻、左右口角、上唇の計9個の特徴点の位置を検出する。   The similarity calculation unit 34 first detects main facial parts constituting the face T0 as face feature points for a predetermined face T0 included in any of the images used as a criterion for similarity determination. Specifically, for example, by using a template matching method using a template of each facial part or a method using a discriminator for each facial part obtained by machine learning learning using a large number of sample images of facial parts. The positions of a total of nine feature points of the eyes, left and right eyes, left and right noses, left and right mouth corners, and upper lip are detected.

そして、検出した9個の特徴点があらかじめ定められた基準位置に近づくように、所定の顔T0に対して施すアフィン変換のパラメータを求め、所定の顔T0に対してアフィン変換を施して、正規化顔T1を取得する。   Then, an affine transformation parameter to be applied to the predetermined face T0 is obtained so that the nine detected feature points approach a predetermined reference position, and the affine transformation is performed on the predetermined face T0 to obtain a normal The converted face T1 is acquired.

そして、正規化顔T1の画像データをより低次元の特徴量空間へ射影行列を用いて射影して、正規化顔T1における特徴量FT1を抽出する。ここで、特徴量空間は、下記のような学習により決定される。   Then, the image data of the normalized face T1 is projected onto a lower-dimensional feature amount space using a projection matrix, and the feature amount FT1 in the normalized face T1 is extracted. Here, the feature amount space is determined by learning as described below.

各種表情および向きを有する多数の学習用顔画像に対して、上記のように正規化した正規化学習用顔画像群を用いて、主成分分析または線形判別分析(LDA)等の分析により射影行列を求め、この射影行列によって射影される固有空間もしくはこれに準ずる空間を特徴量空間とする。   A projection matrix is analyzed by principal component analysis or linear discriminant analysis (LDA) analysis using the normalized learning face image group normalized as described above for a large number of learning face images having various facial expressions and orientations. And the eigenspace projected by this projection matrix or a space equivalent thereto is defined as the feature amount space.

一方、類似度算出部34は、複数の画像のそれぞれに含まれる顔のうち、類似度算出の対象となる対象顔P0について、上記と同様に正規化を行って正規化顔P1を取得し、さらに正規化顔P1の画像データをより低次元の特徴量空間へ射影行列を用いて射影して、正規化顔P1における特徴量FP1を抽出する。   On the other hand, the similarity calculation unit 34 performs normalization in the same manner as described above on the target face P0 that is the target of similarity calculation among the faces included in each of the plurality of images, and acquires the normalized face P1. Further, the image data of the normalized face P1 is projected onto a lower dimensional feature amount space using a projection matrix, and the feature amount FP1 in the normalized face P1 is extracted.

そして、所定の顔T0の特徴量FT1と対象顔P0の特徴量FP1とを比較して、所定の顔T0と対象顔P0との類似度R1を算出する。なお、ここでは、例えば特開2005−149506号公報に記載されているAGMモデル(付加ガウスモデル)を利用して類似度R1を算出する。ここで、類似度R1は0〜1の間の値で算出され、1に近いほど類似度が高いものとなる。   Then, the feature amount FT1 of the predetermined face T0 and the feature amount FP1 of the target face P0 are compared, and the similarity R1 between the predetermined face T0 and the target face P0 is calculated. Here, the similarity R1 is calculated using an AGM model (additional Gaussian model) described in, for example, JP-A-2005-149506. Here, the similarity R1 is calculated as a value between 0 and 1, and the closer to 1, the higher the similarity.

AGMモデルとは、個人差を表す変数と個人内の見えの変化(照明変化、顔向き変化、経年変化など)を表す変数の和で顔データが表現できると仮定した確率モデルであり、各変数は正規分布に従うものとする。あらかじめ各正規分布のパラメータを推定しておくことで、類似度算出の対象となる顔の数が少ない場合にも見えの変化を考慮したロバストな類似度算出処理が可能となる。各正規分布のパラメータ推定には、特徴量空間を決定する際に利用した学習用顔画像群を用いる。   The AGM model is a probabilistic model that assumes that face data can be expressed by the sum of variables representing individual differences and variables representing changes in the appearance of individuals (lighting changes, face orientation changes, secular changes, etc.). Shall follow a normal distribution. By estimating the parameters of each normal distribution in advance, it is possible to perform a robust similarity calculation process in consideration of changes in appearance even when the number of faces to be subjected to similarity calculation is small. For parameter estimation of each normal distribution, a learning face image group used when determining the feature amount space is used.

なお、特徴量空間において、特徴量FT1で規定される顔T0の座標と、特徴量FP1で規定される類似度算出の対象顔P0の座標との間のユークリッド距離をそのまま類似度R1として用いる方法等、他の類似度算出方法を用いてもよい。   In the feature amount space, the Euclidean distance between the coordinates of the face T0 specified by the feature amount FT1 and the coordinates of the target face P0 for similarity calculation specified by the feature amount FP1 is used as it is as the similarity R1. For example, other similarity calculation methods may be used.

そして、類似度算出部34は、所定の顔T0を順次変更して、複数の画像に含まれる顔同士のすべての類似度R1を算出する。   Then, the similarity calculation unit 34 sequentially changes the predetermined face T0 and calculates all the similarities R1 of the faces included in the plurality of images.

一方、類似度算出部34は、後述するように主要顔が特定された後に、上記と同様に主要顔と対象顔P0との類似度である主要顔類似度R2を算出する。   On the other hand, the similarity calculation unit 34 calculates the main face similarity R2 that is the similarity between the main face and the target face P0 in the same manner as described above after the main face is specified as described later.

ラベリング部36は、類似度算出部34が算出した複数の画像に含まれる顔同士の類似度R1に基づいて、複数の画像に含まれる顔をラベリングする。具体的には、類似度R1が所定のしきい値Th0(例えば0.9)以上となる顔同士を同一ラベルによりラベリングする。   The labeling unit 36 labels the faces included in the plurality of images based on the similarity R1 between the faces included in the plurality of images calculated by the similarity calculation unit 34. Specifically, faces having a similarity R1 of a predetermined threshold Th0 (for example, 0.9) or more are labeled with the same label.

主要顔特定部38は、後述するように選択された画像に含まれる顔のラベリング結果に基づいて複数の画像に含まれる主要顔を特定する。   The main face specifying unit 38 specifies the main face included in the plurality of images based on the labeling result of the face included in the selected image as will be described later.

ソート部40は、主要顔類似度R2が高い順に画像をソートする。   The sorting unit 40 sorts the images in descending order of the main face similarity R2.

以下、本実施形態において行われる処理について説明する。図3は本実施形態において行われる処理を示すフローチャートである。ユーザが画像ソートの指示を表示部6にタッチして行うことによりCPU12が処理を開始し、ソート部40があらかじめ定められた所定の順序にて、ハードディスク24に保存された画像をソートして表示部6に表示する(ステップST1)。なお、ソートの順序としては、本実施形態においては撮影日時順とするが、これに限定されるものではなく、ハードディスク24に保存された複数の画像に含まれる顔の数が多い順に画像をソートしてもよい。そして、CPU12は表示された複数の画像からのユーザによる画像の選択を受け付ける(ステップST2)。   Hereinafter, processing performed in the present embodiment will be described. FIG. 3 is a flowchart showing processing performed in the present embodiment. When the user touches the display unit 6 to instruct image sorting, the CPU 12 starts processing, and the sorting unit 40 sorts and displays the images stored in the hard disk 24 in a predetermined order. Displayed on the unit 6 (step ST1). The order of sorting is in order of shooting date and time in the present embodiment, but is not limited to this, and the images are sorted in descending order of the number of faces included in a plurality of images stored in the hard disk 24. May be. Then, the CPU 12 accepts selection of an image by the user from the displayed plurality of images (step ST2).

図4はソート結果の表示画面を示す図である。図4に示すようにソート結果の表示画面50には、複数の画像のサムネイル画像をソート順に表示する表示エリア51と、複数の画像が1画面に入りきらない場合に、表示エリア51に表示される画像を切り替えるための矢印ボタン52A,52Bが表示されている。   FIG. 4 is a diagram showing a display screen for sorting results. As shown in FIG. 4, the sorting result display screen 50 is displayed in the display area 51 for displaying thumbnail images of a plurality of images in the sort order, and when the plurality of images cannot fit on one screen. Arrow buttons 52A and 52B for switching the images to be displayed are displayed.

なお、ユーザは、表示エリア51に表示された複数の画像を見て、例えばプリントしたい画像を表示部6にタッチすることにより選択することができる。なお、図4においては表示エリア51に表示された8つの画像G1〜G8のうち、画像G1〜G4,画像G6,G7を選択したとすると、選択した画像G1〜G4,画像G6,G7に太枠が付与される。   The user can select a plurality of images displayed in the display area 51 by touching the display unit 6 with an image to be printed, for example. In FIG. 4, when images G1 to G4 and images G6 and G7 are selected from the eight images G1 to G8 displayed in the display area 51, the selected images G1 to G4, images G6 and G7 are thick. A frame is given.

次いで、CPU13は、ユーザがページボタン52A,52Bにタッチすることにより、表示エリア51に表示する画像を切り替える指示がなされたか否かの監視を開始し(ステップST3)、ステップST3が肯定されると、顔検出部32が複数の画像から顔を検出し(ステップST4)、類似度算出部34が、上記のように複数の画像に含まれる顔同士の類似度R1を算出し(ステップST5)、ラベリング部36が類似度R1が所定のしきい値Th0以上となる顔同士を同一ラベルによりラベリングする(ステップST6)。   Next, the CPU 13 starts monitoring whether or not an instruction to switch an image to be displayed in the display area 51 is given by the user touching the page buttons 52A and 52B (step ST3), and step ST3 is affirmed. The face detection unit 32 detects a face from a plurality of images (step ST4), and the similarity calculation unit 34 calculates the similarity R1 between the faces included in the plurality of images as described above (step ST5). The labeling unit 36 labels faces whose similarity R1 is equal to or greater than a predetermined threshold Th0 with the same label (step ST6).

図5はラベリング結果を示す図である。なお、図5においては図4に示す表示画面50の表示エリア51に表示された画像G1〜G8のラベリング結果を示す。図5に示すように、画像G1〜G8には9人の人物の顔が含まれており、顔同士の類似度R1に応じてそれぞれの顔にA〜Iのラベルが付与される。   FIG. 5 shows the labeling result. FIG. 5 shows the labeling results of the images G1 to G8 displayed in the display area 51 of the display screen 50 shown in FIG. As shown in FIG. 5, images G1 to G8 include nine human faces, and labels A to I are assigned to the faces according to the similarity R1 between the faces.

そして、主要顔特定部38が、選択された画像に含まれる顔のラベリング結果に基づいて、ハードディスク24に保存された複数の画像に含まれる主要顔を特定する(ステップST7)。ここで、画像G1〜G8のうち、選択された画像G1〜G4,画像G6,G7に含まれる顔を見ると、顔A,B,C,D,Eを含む画像は複数枚選択されている。顔F,G,H,Iを含む画像は1枚選択されている。顔C,D,Fについては選択されていない画像がある。主要顔特定部38は、顔A〜Iを含む画像の選択状況に基づいて、主要顔を特定する。具体的には、複数枚選択されている画像に含まれる顔のうち、選択されていない画像がある顔以外の顔を主要顔とする。これにより、顔A,B,C,D,Eのうち顔C,D以外の顔A,B,Eが主要顔に特定される。   Then, the main face specifying unit 38 specifies the main face included in the plurality of images stored in the hard disk 24 based on the labeling result of the face included in the selected image (step ST7). Here, among the images G1 to G8, when a face included in the selected images G1 to G4, images G6 and G7 is viewed, a plurality of images including the faces A, B, C, D, and E are selected. . One image including faces F, G, H, and I is selected. There are images that are not selected for faces C, D, and F. The main face specifying unit 38 specifies the main face based on the selection status of the images including the faces A to I. Specifically, a face other than a face having an unselected image among the faces included in a plurality of selected images is set as a main face. Thereby, the faces A, B, E other than the faces C, D among the faces A, B, C, D, E are specified as the main faces.

なお、選択されていない画像がある顔がない場合には、複数枚選択されている画像に含まれる顔のうち、1枚のみ選択されている画像がある顔以外の顔を主要顔としてもよく、複数枚選択されている画像に含まれる顔がない場合、1枚のみ選択されている画像に含まれる顔のうち、選択されていない画像がある顔以外の顔を主要顔としてもよい。また、複数枚選択されている画像に含まれる顔を主要顔としてもよい。   When there is no face with an unselected image, a face other than the face with only one selected image among the faces included in the plurality of selected images may be used as the main face. When there are no faces included in the selected images, a face other than the face with the unselected image among the faces included in the selected image may be used as the main face. A face included in a plurality of selected images may be used as the main face.

次いで、類似度算出部34が、主要顔A,B,Eとハードディスク24に保存された複数の画像のうち選択された画像以外の他の画像との類似度である主要顔類似度R2を算出する(ステップST8)。なお、主要顔類似度の算出は、類似度R1の算出において、所定の顔T0を主要顔A,B,Eとして、他の画像に含まれるすべての顔との類似度を主要顔類似度R2として算出することにより行う。ここで、画像に複数の顔が含まれる場合、図6に示すように、それぞれの顔について例えば主要顔Aとの類似度R1が算出されるが、複数の類似度R1のうち最も高い類似度R1を主要顔Aとその画像との類似度R2′とする。例えば、図7に示すように、画像G0に4つの顔が含まれており、各顔と主要顔Aとの類似度が図7に示すように0.9,0.7,0.6,0.2であった場合、主要顔Aとその画像G0との類似度R2′は0.9として算出される。   Next, the similarity calculation unit 34 calculates a main face similarity R2 that is a similarity between the main faces A, B, and E and other images other than the selected image among the plurality of images stored in the hard disk 24. (Step ST8). Note that the main face similarity is calculated by calculating the similarity R1 with the predetermined face T0 as the main face A, B, E and the similarities with all the faces included in other images. This is done by calculating as Here, when the image includes a plurality of faces, as shown in FIG. 6, for example, the similarity R1 with the main face A is calculated for each face, and the highest similarity among the plurality of similarities R1 is calculated. Let R1 be the similarity R2 'between the main face A and its image. For example, as shown in FIG. 7, the image G0 includes four faces, and the similarity between each face and the main face A is 0.9, 0.7, 0.6, In the case of 0.2, the similarity R2 ′ between the main face A and the image G0 is calculated as 0.9.

ここで、本実施形態においては、主要顔は顔A,B,Eの3つあるため、類似度算出部34は、3つの主要顔A,B,Eのそれぞれについての類似度R2′を算出し、その加算値を主要顔類似度R2として算出する。このため、顔A,B,Eの3つの顔を含む画像は主要顔類似度R2は高い値となり、以下、顔A,B,Eが含まれる数が少なくなるにつれて主要顔類似度R2の値も小さくなる。例えば、図8に示す画像G11〜G13において、画像G11には顔A、画像G12には顔A,B、画像G13には顔A,B,Eが含まれている場合、主要顔類似度R2は、G13>G12>G11となる。   Here, in this embodiment, since there are three main faces A, B, and E, the similarity calculation unit 34 calculates the similarity R2 ′ for each of the three main faces A, B, and E. Then, the added value is calculated as the main face similarity R2. For this reason, an image including three faces A, B, and E has a high value of the main face similarity R2, and hereinafter, the value of the main face similarity R2 decreases as the number of the faces A, B, and E decreases. Becomes smaller. For example, in the images G11 to G13 shown in FIG. 8, when the image G11 includes the face A, the image G12 includes the faces A and B, and the image G13 includes the faces A, B, and E, the main face similarity R2 Is G13> G12> G11.

そして、ソート部40が、主要顔類似度R2が高い順に選択された画像以外の画像を再ソートし(ステップST8)、ソートされた順に複数の画像を表示部6に表示し(ステップST9)、処理を終了する。なお、主要顔類似度R2が同一の場合には撮影日時の昇順に画像をソートするものとする。また、すべてを類似度順に表示する必要はなく、例えば主要顔類似度R2が所定のしきい値Th1を超える画像のみをソートして表示するようにしてもよい。   Then, the sorting unit 40 re-sorts images other than the images selected in descending order of the main face similarity R2 (step ST8), and displays a plurality of images on the display unit 6 in the sorted order (step ST9). The process ends. When the main face similarity R2 is the same, the images are sorted in ascending order of shooting date / time. Further, it is not necessary to display all in order of similarity, and for example, only images whose main face similarity R2 exceeds a predetermined threshold value Th1 may be sorted and displayed.

図9は主要顔類似度R2が高い順にソートした場合のソート結果の表示画面を示す図である。図9に示すように表示画面53の表示エリア54には、図4において選択された画像G1〜G3,画像G5,G7がこの順序にて表示されている。なお、画像G1〜G4,画像G6,G7には選択されたことを示す太枠が付与されている。また、画像G1〜G4,画像G6,G7に加えて、例えば図8に示す3つの画像のうち、主要顔がより多く含まれる画像G12,G13がG13,G12の順序にて表示エリア54に表示される。   FIG. 9 is a diagram showing a display screen of the sorting result when sorting is performed in descending order of the main face similarity R2. As shown in FIG. 9, in the display area 54 of the display screen 53, the images G1 to G3, images G5 and G7 selected in FIG. 4 are displayed in this order. Note that the images G1 to G4, the images G6, and G7 are provided with a thick frame indicating that they have been selected. Further, in addition to the images G1 to G4, the images G6, and G7, among the three images shown in FIG. 8, for example, the images G12 and G13 including more main faces are displayed in the display area 54 in the order of G13 and G12. Is done.

ユーザは表示エリア54に表示された画像からプリントする画像を選択する。そして、プリントの指示を行うことにより、選択した画像がプリンタ8からプリント出力される。   The user selects an image to be printed from the images displayed in the display area 54. Then, by performing a print instruction, the selected image is printed out from the printer 8.

このように、本実施形態においては、主要顔と選択された画像以外の他の画像との類似度である主要顔類似度R2を算出し、主要顔類似度R2が高い順に画像を再ソートして表示するようにしたため、上記特許文献1に記載された手法のように、検索の対象となる顔画像を取得しなくても、ユーザが選択した画像に含まれる主要顔を特定して画像をソートできるため、ユーザは、複数の画像から主要顔を含む画像をより見つけやすくなる。   Thus, in the present embodiment, the main face similarity R2 that is the similarity between the main face and other images other than the selected image is calculated, and the images are re-sorted in descending order of the main face similarity R2. Therefore, as in the technique described in Patent Document 1, the main face included in the image selected by the user is identified and the image is acquired without acquiring the face image to be searched. Since sorting is possible, the user can more easily find an image including the main face from a plurality of images.

なお、上記実施形態においては、表示エリア51に表示する画像を切り替えるタイミングで再ソートを行っているが、ユーザが画像を選択する毎に選択した画像以外の他の画像について再ソートを行うようにしてもよい。また、ユーザが画像を選択後、再ソートの指示を行うことにより再ソートを行うようにしてもよい。   In the above embodiment, the image is resorted at the timing of switching the image displayed in the display area 51. However, every time the user selects an image, another image other than the image selected is resorted. May be. In addition, after the user selects an image, re-sorting may be performed by instructing re-sorting.

また、上記実施形態においては、ソートする前に、撮影場所や撮影時間に応じてあらかじめ複数の画像を分類しておき、分類された画像単位でソートを行うようにしてもよい。   In the above embodiment, before sorting, a plurality of images may be classified in advance according to shooting locations and shooting times, and sorting may be performed in units of sorted images.

また、上記実施形態においては、本発明による画像ソート装置を写真店の店頭に設置されたプリント注文装置に適用しているが、これに限定されるものではなく、ネットワーク経由でプリント注文を行う注文サーバに画像ソート装置を適用し、ネットワーク経由で注文サーバに保管された画像のソートを行うようにしてもよい。   In the above embodiment, the image sorting apparatus according to the present invention is applied to a print ordering apparatus installed at a photo shop. However, the present invention is not limited to this, and an order for placing a print order via a network is used. An image sort device may be applied to the server to sort images stored in the order server via the network.

以上、本発明の実施形態に係る装置について説明したが、コンピュータを、上記の顔検出部32、類似度算出部34、ラベリング部36、主要顔特定部38およびソート部40に対応する手段として機能させ、図3に示すような処理を行わせるプログラムも、本発明の実施形態の1つである。また、そのようなプログラムを記録したコンピュータ読取り可能な記録媒体も、本発明の実施形態の1つである。また、このようなプログラムを、画像を閲覧するためのビューアソフトに組み込むようにしてもよい。   Although the apparatus according to the embodiment of the present invention has been described above, the computer functions as a unit corresponding to the face detection unit 32, the similarity calculation unit 34, the labeling unit 36, the main face specifying unit 38, and the sorting unit 40. A program that causes the processing as shown in FIG. 3 to be performed is also one embodiment of the present invention. A computer-readable recording medium in which such a program is recorded is also one embodiment of the present invention. Further, such a program may be incorporated in viewer software for browsing images.

本発明の実施形態による画像ソート装置を適用したプリント注文受付装置の外観斜視図1 is an external perspective view of a print order receiving apparatus to which an image sorting apparatus according to an embodiment of the present invention is applied. 本発明の実施形態によるプリント注文受付装置の構成を示す概略ブロック図1 is a schematic block diagram showing a configuration of a print order receiving apparatus according to an embodiment of the present invention. 本実施形態において行われる処理を示すフローチャートA flowchart showing processing performed in the present embodiment ソート結果の表示画面を示す図Figure showing the sort result display screen ラベリング結果を示す図Diagram showing labeling results 所定の顔と画像に含まれる顔との類似度の算出を説明するための図(その1)FIG. (1) for explaining calculation of similarity between a predetermined face and a face included in the image 所定の顔と画像に含まれる顔との類似度の算出を説明するための図(その2)FIG. (2) for explaining the calculation of the similarity between a predetermined face and a face included in the image 主要顔類似度の算出を説明するための図Diagram for explaining calculation of main face similarity 主要顔類似度が高い順にソートした場合のソート結果の表示画面を示す図The figure which shows the display screen of the sorting result when sorting in descending order of main face similarity

符号の説明Explanation of symbols

1 プリント注文受付装置
2 メモリカード
4 カードスロット
6 表示部
8 プリンタ
12 CPU
14 システムメモリ
16 入力部
22 圧縮解凍部
24 ハードディスク
26 メモリ制御部
28 表示制御部
30 プリンタインターフェース
32 顔検出部
34 類似度算出部
36 ラベリング部
38 主要顔特定部
40 ソート部
DESCRIPTION OF SYMBOLS 1 Print order reception apparatus 2 Memory card 4 Card slot 6 Display part 8 Printer 12 CPU
DESCRIPTION OF SYMBOLS 14 System memory 16 Input part 22 Compression / decompression part 24 Hard disk 26 Memory control part 28 Display control part 30 Printer interface 32 Face detection part 34 Similarity calculation part 36 Labeling part 38 Main face specific part 40 Sort part

Claims (3)

複数の画像をソートする画像ソート装置において、
前記複数の画像を所定の順序にてソートするソート手段と、
前記複数の画像を表示する表示手段と、
前記表示された複数の画像から所望とされる複数の画像の選択を受け付ける選択手段と、
所定のタイミングにて、前記複数の画像に含まれる顔同士の類似度を算出する類似度算出手段と、
前記類似度に基づいて、前記複数の画像に含まれる顔をラベリングするラベリング手段と、
前記選択された画像に含まれる顔のラベリング結果に基づいて、少なくとも1つの主要顔を特定する主要顔特定手段とを備え、
前記類似度算出手段は、前記主要顔と前記選択された画像以外の他の画像との類似度である主要顔類似度を算出する手段であり、
前記ソート手段は、前記主要顔類似度が高い順に前記他の画像を再ソートし、該再ソートされた順に前記他の画像を前記表示手段に表示する手段であることを特徴とする画像ソート装置。
In an image sorting device for sorting a plurality of images,
Sorting means for sorting the plurality of images in a predetermined order;
Display means for displaying the plurality of images;
Selection means for accepting selection of a plurality of desired images from the displayed plurality of images;
Similarity calculation means for calculating the similarity between faces included in the plurality of images at a predetermined timing;
Labeling means for labeling faces included in the plurality of images based on the similarity;
Main face specifying means for specifying at least one main face based on a labeling result of the face included in the selected image,
The similarity calculation means is a means for calculating a main face similarity which is a similarity between the main face and another image other than the selected image.
The sorting means is means for re-sorting the other images in descending order of the main face similarity and displaying the other images on the display means in the re-sorted order. .
複数の画像をソートする画像ソート方法において、
表示手段に表示された複数の画像から所望とされる複数の画像の選択を受け付け、
所定のタイミングにて、前記複数の画像に含まれる顔同士の類似度を算出し、
前記類似度に基づいて、前記複数の画像に含まれる顔をラベリングし、
前記選択された画像に含まれる顔のラベリング結果に基づいて、少なくとも1つの主要顔を特定し、
前記主要顔と前記選択された画像以外の他の画像との類似度である主要顔類似度を算出し、
前記主要顔類似度が高い順に前記他の画像を再ソートし、該再ソートされた順に前記他の画像を前記表示手段に表示することを特徴とする画像ソート方法。
In the image sorting method for sorting multiple images,
Accepting selection of a plurality of desired images from a plurality of images displayed on the display means,
At a predetermined timing, the similarity between faces included in the plurality of images is calculated,
Label faces included in the plurality of images based on the similarity,
Identifying at least one primary face based on a labeling result of faces included in the selected image;
Calculating a main face similarity that is a similarity between the main face and another image other than the selected image;
The image sorting method characterized by re-sorting the other images in descending order of the main face similarity and displaying the other images on the display means in the re-sorted order.
複数の画像をソートする画像ソート方法をコンピュータに実行させるためのプログラムにおいて、
表示手段に表示された複数の画像から所望とされる複数の画像の選択を受け付ける手順と、
所定のタイミングにて、前記複数の画像に含まれる顔同士の類似度を算出する手順と、
前記類似度に基づいて、前記複数の画像に含まれる顔をラベリングする手順と、
前記選択された画像に含まれる顔のラベリング結果に基づいて、少なくとも1つの主要顔を特定する手順と、
前記主要顔と前記選択された画像以外の他の画像との類似度である主要顔類似度を算出する手順と、
前記主要顔類似度が高い順に前記他の画像を再ソートし、該再ソートされた順に前記他の画像を前記表示手段に表示する手順とを有することを特徴とするプログラム。
In a program for causing a computer to execute an image sorting method for sorting a plurality of images,
Receiving a selection of a plurality of desired images from a plurality of images displayed on the display means;
A procedure for calculating the similarity between faces included in the plurality of images at a predetermined timing;
Labeling faces included in the plurality of images based on the similarity;
Identifying at least one primary face based on a labeling result of faces included in the selected image;
Calculating a main face similarity that is a similarity between the main face and another image other than the selected image;
A program comprising: re-sorting the other images in descending order of the main face similarity, and displaying the other images on the display unit in the re-sorted order.
JP2007053618A 2007-03-05 2007-03-05 Image sorting apparatus, method, and program Active JP4895201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007053618A JP4895201B2 (en) 2007-03-05 2007-03-05 Image sorting apparatus, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007053618A JP4895201B2 (en) 2007-03-05 2007-03-05 Image sorting apparatus, method, and program

Publications (2)

Publication Number Publication Date
JP2008217385A true JP2008217385A (en) 2008-09-18
JP4895201B2 JP4895201B2 (en) 2012-03-14

Family

ID=39837350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007053618A Active JP4895201B2 (en) 2007-03-05 2007-03-05 Image sorting apparatus, method, and program

Country Status (1)

Country Link
JP (1) JP4895201B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112009002110T5 (en) 2008-08-26 2012-03-08 Aisin Seiki K.K. Terahertz wave generating device and method for generating a terahertz wave

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630791B (en) * 2014-10-27 2020-11-10 腾讯科技(深圳)有限公司 Network album browsing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079220A (en) * 2004-09-08 2006-03-23 Fuji Photo Film Co Ltd Image retrieval device and method
JP2006244279A (en) * 2005-03-04 2006-09-14 Mitsubishi Electric Corp Image-classifying device
JP2006318034A (en) * 2005-05-10 2006-11-24 Fuji Photo Film Co Ltd Image selection method, image selection device, program and print order accepting machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079220A (en) * 2004-09-08 2006-03-23 Fuji Photo Film Co Ltd Image retrieval device and method
JP2006244279A (en) * 2005-03-04 2006-09-14 Mitsubishi Electric Corp Image-classifying device
JP2006318034A (en) * 2005-05-10 2006-11-24 Fuji Photo Film Co Ltd Image selection method, image selection device, program and print order accepting machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112009002110T5 (en) 2008-08-26 2012-03-08 Aisin Seiki K.K. Terahertz wave generating device and method for generating a terahertz wave

Also Published As

Publication number Publication date
JP4895201B2 (en) 2012-03-14

Similar Documents

Publication Publication Date Title
US10810454B2 (en) Apparatus, method and program for image search
US9626551B2 (en) Collation apparatus and method for the same, and image searching apparatus and method for the same
US8600191B2 (en) Composite imaging method and system
CN101685542B (en) Electronic device, fuzzy image sorting method
JP4638274B2 (en) Image selection method, image selection apparatus, program, and print order receiving machine
US11323577B2 (en) Image processing device for creating an album
JP2001309225A (en) Camera for detecting face and its method
JP2007097090A (en) Image display apparatus, method and program, and photo print order accepting device
TWI586160B (en) Real time object scanning using a mobile phone and cloud-based visual search engine
US20150262370A1 (en) Image processing device, image processing method, and image processing program
CN101321223A (en) Information processing method, information processing apparatus, and storage medium storing a program
JP2020140557A (en) Image processing device, control method, and program
JP4881185B2 (en) Image sorting apparatus, method, and program
JP2007293399A (en) Image exchange device, image exchange method, and image exchange program
JP2020140555A (en) Image processing device, control method, and program
JP4895201B2 (en) Image sorting apparatus, method, and program
US20100321529A1 (en) Image processing apparatus, method of controlling the apparatus, program thereof, and storage medium
JP2007140897A (en) Image search device and method, and program
JP4891119B2 (en) Image sorting apparatus, method, and program
JP2008085538A (en) Image evaluating device, method, and program
US20040119839A1 (en) Method and apparatus for processing images
JP2019113959A (en) Muzzle pattern collation system, muzzle pattern collation method and muzzle pattern collation program
JP4934380B2 (en) Image evaluation apparatus and method, and program
JP2007109130A (en) Image retrieval device, method, and program
JP2007102549A (en) Image retrieval support device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090911

RD15 Notification of revocation of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7435

Effective date: 20110415

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111118

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4895201

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250