JP2005323227A - Device, method, and program for picking up image - Google Patents
Device, method, and program for picking up image Download PDFInfo
- Publication number
- JP2005323227A JP2005323227A JP2004140621A JP2004140621A JP2005323227A JP 2005323227 A JP2005323227 A JP 2005323227A JP 2004140621 A JP2004140621 A JP 2004140621A JP 2004140621 A JP2004140621 A JP 2004140621A JP 2005323227 A JP2005323227 A JP 2005323227A
- Authority
- JP
- Japan
- Prior art keywords
- image
- identification information
- reference image
- acquired
- similarity
- 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.)
- Withdrawn
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
本発明は、撮影により画像を取得するデジタルカメラ等の画像撮像装置および画像撮像方法並びに画像撮像方法をコンピュータに実行させるためのプログラムに関するものである。 The present invention relates to an image capturing device such as a digital camera that acquires an image by photographing, an image capturing method, and a program for causing a computer to execute the image capturing method.
デジタルカメラにおいては、撮影により取得した画像をデジタル画像データとしてデジタルカメラ内部に設けられた内部メモリやICカード等の記録媒体に記録し、記録されたデジタル画像データに基づいて、撮影により取得した画像をプリンタやモニタに再生することができる。 In a digital camera, an image acquired by shooting is recorded as digital image data in a recording medium such as an internal memory or an IC card provided in the digital camera, and an image acquired by shooting is recorded based on the recorded digital image data. Can be reproduced on a printer or monitor.
一方、顔を識別するための各種手法が提案されている(特許文献1,2参照)。このような手法を用いることにより、あらかじめ複数の人物の顔画像を登録しておき、撮影により取得した画像と登録された顔画像とを比較することにより、取得した画像にどの人物が含まれているかを識別することができる。
ところで、デジタルカメラを用いて撮影を行う場合、撮影対象が特定の被写体に偏ることが多い。例えば、子供がいる家庭においては、子供の画像および家族の画像がとくに多くなるものである。このような場合、画像に撮影対象を識別する識別情報を付与すれば、画像を分類したり整理するときに便利である。ここで、画像にはタグが付与されており、タグにコメント等を記述することが可能である。このため、パソコンを用いて画像のタグに撮影対象を識別する識別情報をコメントとして記述することにより、タグを参照すれば撮影対象に応じて画像を分類および整理することが可能となる。 By the way, when shooting using a digital camera, the shooting target is often biased toward a specific subject. For example, in a family with children, there are particularly many children images and family images. In such a case, it is convenient to classify and organize the images by adding identification information for identifying the photographing target to the images. Here, a tag is attached to the image, and a comment or the like can be described in the tag. For this reason, it is possible to classify and organize images according to the shooting target by referring to the tag by describing identification information for identifying the shooting target as a comment using a personal computer.
しかしながら、画像を一つずつ表示して識別情報をコメントとして記述する作業は非常に煩わしく手間がかかるものである。 However, the operation of displaying the images one by one and describing the identification information as a comment is very cumbersome and time-consuming.
本発明は、上記事情に鑑みなされたものであり、画像を分類等する際に使用する識別情報を、手間をかけることなく画像に付与できるようにすることを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide identification information used when classifying an image to an image without taking time and effort.
本発明による画像撮像装置は、複数種類の被写体をそれぞれ含む複数の参照画像を、該複数の参照画像のそれぞれに含まれる被写体を識別する識別情報と対応づけて記憶する参照画像記憶手段と、
撮影により被写体を表す画像を取得する撮像手段と、
前記撮影により取得された取得画像と前記複数の参照画像のそれぞれとの類似度を算出し、該類似度が所定のしきい値以上であるか否かを判定する判定手段と、
該判定が肯定された場合に、前記取得画像と類似すると判定された参照画像に対応づけられた前記識別情報を、前記取得画像に付与する情報付与手段とを備えたことを特徴とするものである。
An image capturing apparatus according to the present invention includes a reference image storage unit that stores a plurality of reference images each including a plurality of types of subjects in association with identification information for identifying subjects included in each of the plurality of reference images;
Imaging means for acquiring an image representing a subject by photographing;
A determination means for calculating a similarity between each of the acquired images acquired by the photographing and the plurality of reference images, and determining whether the similarity is equal to or higher than a predetermined threshold;
When the determination is affirmative, the information processing apparatus includes an information adding unit that adds the identification information associated with the reference image determined to be similar to the acquired image to the acquired image. is there.
なお、本発明による画像撮像装置においては、前記被写体を人物とし、前記識別情報を前記人物を識別する情報としてもよい。 In the image pickup apparatus according to the present invention, the subject may be a person, and the identification information may be information for identifying the person.
本発明による画像撮像方法は、撮影により被写体を表す画像を取得し、
前記撮影により取得された取得画像と、複数種類の被写体をそれぞれ含む複数の参照画像を、該複数の参照画像のそれぞれに含まれる被写体を識別する識別情報と対応づけて記憶する参照画像記憶手段に記憶した前記複数の参照画像のそれぞれとの類似度を算出し、
該類似度が所定のしきい値以上であるか否かを判定し、
該判定が肯定された場合に、前記取得画像と類似すると判定された参照画像に対応づけられた前記識別情報を、前記取得画像に付与することを特徴とするものである。
An image capturing method according to the present invention acquires an image representing a subject by shooting,
Reference image storage means for storing an acquired image acquired by photographing and a plurality of reference images each including a plurality of types of subjects in association with identification information for identifying subjects included in each of the plurality of reference images. Calculating similarity with each of the stored reference images;
Determine whether the similarity is greater than or equal to a predetermined threshold,
When the determination is affirmative, the identification information associated with the reference image determined to be similar to the acquired image is added to the acquired image.
なお、本発明による画像撮像方法をコンピュータに実行させるためのプログラムとして提供してもよい。 The image capturing method according to the present invention may be provided as a program for causing a computer to execute the image capturing method.
本発明によれば、撮影により被写体を表す画像が取得されると、撮影により取得された取得画像と複数の参照画像のそれぞれとの類似度が算出され、算出された類似度が所定のしきい値以上であるか否かが判定される。そしてこの判定が肯定されると、取得画像に類似すると判定された参照画像に対応づけられた識別情報が取得画像に付与される。このため、あらかじめ所望とする被写体を撮影して参照画像を取得し、参照画像を被写体を識別する識別情報と対応づけて記憶しておくことにより、記憶した参照画像に含まれる被写体については、撮影を行いさえすれば識別情報が付与されることとなる。したがって、個々の画像に対して識別情報を付与する作業を行う必要がなくなり、その結果、被写体別に取得画像を分類する作業を手間をかけることなく行うことができる。 According to the present invention, when an image representing a subject is acquired by shooting, the similarity between the acquired image acquired by shooting and each of the plurality of reference images is calculated, and the calculated similarity is a predetermined threshold. It is determined whether or not the value is greater than or equal to the value. When this determination is affirmed, identification information associated with a reference image determined to be similar to the acquired image is given to the acquired image. For this reason, by photographing a desired subject in advance and obtaining a reference image, and storing the reference image in association with identification information for identifying the subject, the subject included in the stored reference image is photographed. As long as this is performed, identification information is given. Therefore, it is not necessary to perform an operation of assigning identification information to each image, and as a result, it is possible to perform an operation of classifying acquired images for each subject without trouble.
以下、図面を参照して本発明の実施形態について説明する。図1は本発明の画像撮像装置の実施形態によるデジタルカメラの構成を示す概略ブロック図である。図1に示すように、本実施形態によるデジタルカメラ1は、撮像部2と、画像記憶部4と、参照画像記憶部6と、判定部8と、画像記録部10と、表示部12と、入力部14とがバス16により接続されてなる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram showing a configuration of a digital camera according to an embodiment of an image pickup apparatus of the present invention. As shown in FIG. 1, the
撮像部2は、光学系、CCD等の撮像素子、シャッタ、A/D変換部等を備え、デジタルカメラ1のユーザがシャッタを駆動することにより、被写体を撮影して被写体を表すデジタルの画像データS0を取得する。
The
画像記憶部4は、後述する判定の処理の作業を行う際の作業領域となる。
The
参照画像記憶部6は、参照画像を表す参照画像データRi(i=1〜n)を複数記憶する。本実施形態においては、参照画像データRiは、ユーザが自分の家族および親族の顔を撮影することによる取得される。この際、参照画像データRiは、家族および親族を識別する識別情報がタグに記述される。例えば、ユーザの父、母、妻、長男および次男の顔を撮影して4つの参照画像データR1〜R4を取得した場合には、4つの参照画像データR1〜R4のそれぞれのタグに、父、母、長男および次男と記述がなされる。
The reference
なお、参照画像記憶部6は参照画像データRiを記憶する際に、参照画像データRiにより表される参照画像(以下参照画像についても参照画像データと同様に参照符号Riを用いる)から顔の輪郭を検出し、輪郭に囲まれる領域のサイズが所定サイズとなるように正規化して、すべての参照画像Riに含まれる顔のサイズおよび参照画像Ri自体のサイズが同一となるようにする。
When the reference
判定部8は、撮像部2が取得した画像データS0により表される画像(以下画像についても画像データと同様に参照符号S0を用いる)と参照画像Riとの類似度を算出し、類似度がしきい値Th1以上であるか否かを判定する。具体的には以下のように判定を行う。
The
まず、判定部8は、画像S0から顔の輪郭を検出する。顔の輪郭の検出は、例えば画像に含まれる楕円形状の肌色の領域を検出し、検出した肌色の領域の輪郭を検出することにより行う。そして、検出した顔の輪郭を上記所定サイズとなるように正規化する。なお、画像S0に複数の顔が含まれる場合には、すべての顔の輪郭を正規化する。そして正規化された画像S0から参照画像Riと同一サイズの顔画像(Fjとする、j=1〜m(mは画像S0に含まれる顔の数))を抽出し、抽出した顔画像Fjの自己相関係数を求める。
First, the
ここで、自己相関係数は、下記の式(1)により算出する。
式(1)において、P(u,v)は顔画像Fjの画像値、Q,Rは顔画像Fjの大きさ、(ξ,η)は画像の相対移動量を示す。ここで、−T≦ξ≦T、−T≦η≦Tの範囲で計算すると、(2T+1)2個の自己相関係数が得られる。(2T+1)2個の自己相関係数を並べたものが顔画像Fjの特徴ベクトルとなる。 In equation (1), P (u, v) is the image value of the face image Fj, Q and R are the size of the face image Fj, and (ξ, η) is the relative movement amount of the image. Here, when calculated in the range of −T ≦ ξ ≦ T and −T ≦ η ≦ T, (2T + 1) 2 autocorrelation coefficients are obtained. (2T + 1) Two autocorrelation coefficients are arranged as a feature vector of the face image Fj.
また、判定部8は、すべての参照画像Riの特徴ベクトルを上記と同様に求める。なお、参照画像Riの特徴ベクトルをあらかじめ算出しておき、参照画像記憶部6に記憶しておいてもよい。
Further, the
そして判定部8は、すべての参照画像Riの特徴ベクトルと顔画像Fjの特徴ベクトルとの間の類似度Dを下記の式(2)により算出する。なお、式(2)においてσk(ξ,η)はk番目の参照画像Rkの特徴ベクトルである。
判定部8は、参照画像Riを順次変更しつつすべての顔画像Fjと参照画像Riとの類似度Dを算出し、類似度Dがしきい値Th1以上であるか否かを判定する。そして判定部8はしきい値Th1以上となった参照画像RTiを表す情報を画像記録部10に出力する。
The
画像記録部10は、判定部8から入力された参照画像RTiの種類を表す情報に基づいて、その参照画像RTiを表す参照画像データRTiのタグに記述された識別情報を顔画像Fjを得た画像データS0のタグに記述した後に、画像データS0をメディアに記録する。
Based on the information indicating the type of the reference image RTi input from the
表示部12は画像データS0および各種コマンドを表示する液晶モニタからなる。
The
入力部14は、十字キー、ダイヤルおよび各種ボタンからなり、ユーザが操作することにより、撮像装置1のモード(例えば表示モード、撮影モード等)の設定や各種入力を行うことができる。
The
次いで、本実施形態において行われる処理について説明する。まず、参照画像Riの登録について説明する。まず、ユーザは本実施形態によるデジタルカメラ1を撮影モードに切り替えて、参照画像Riとして登録したい人物の撮影を行う。撮影後、デジタルカメラ1を表示モードに切り替え、参照画像Riとして登録したい画像を表示部12に表示する。そして入力部14を操作することにより、代表的な識別情報のリストを表示部12に表示する。代表的な識別情報としては、例えば祖父、祖母、父、母、夫、妻、長男、次男、三男、長女、次女、三女等が挙げられる。そしてリストから適切な識別情報を選択して、入力部14を操作すると、選択された識別情報が表示中の画像を表す画像データのタグに記述され、その画像データが参照画像データRiとして参照画像記憶部6に記憶されることにより参照画像Riが登録される。なお、リストからの選択に代えて直接識別情報を入力してもよい。また、識別情報としては被写体として撮影した人物の名前を用いてもよい。
Next, processing performed in the present embodiment will be described. First, registration of the reference image Ri will be described. First, the user switches the
次いで、撮影時に行われる処理について説明する。図2は本実施形態によるデジタルカメラ1の撮影時に行われる処理を示すフローチャートである。なお、ここでは画像S0には1つの顔のみが含まれるものとする。
Next, processing performed at the time of shooting will be described. FIG. 2 is a flowchart showing processing performed at the time of photographing with the
ユーザがデジタルカメラ1のシャッタを駆動して被写体の撮影を行うことにより処理が開始され、まず撮像部2が画像データS0を取得する(ステップS1)。次いで判定部8が参照画像記憶部6から参照画像データRiをi=1から順に読み出し(ステップS2)、画像S0から抽出した顔画像Fjと参照画像データRiとの類似度Dを算出する(ステップS3)。
The process starts when the user drives the shutter of the
そして、算出した類似度Dがしきい値Th1以上であるか否かを判定し(ステップS4)、ステップS4が肯定されると類似度Dを算出した参照画像RTiを表す情報を画像記録部10に出力する(ステップS5)。画像記録部10は、参照画像RTiを表す参照画像データRTiのタグに記述された識別情報を顔画像Fjを得た画像データS0のタグに記述することにより識別情報を画像データS0に付与し(ステップS6)、識別情報が付与された画像データS0をメディアに記録し(ステップS7)、処理を終了する。
Then, it is determined whether or not the calculated similarity D is equal to or greater than the threshold value Th1 (step S4). When step S4 is affirmed, information indicating the reference image RTi for which the similarity D has been calculated is stored in the
なお、ステップS4が否定されると、判定部8は次の参照画像データRiがあるか否かを判定し(ステップS8)、ステップS8が肯定されるとステップS2に戻る。ステップS9が否定されると処理を終了する。
If step S4 is negative, the
このように、本実施形態においては、撮影により取得した画像S0に含まれる顔画像Fjと参照画像Riとの類似度Dがしきい値Th1以上の場合に、その画像S0に参照画像Riに付与された識別情報を付与するようにしたため、撮影を行いさえすれば撮影により取得した画像S0に識別情報が付与されることとなる。したがって、個々の画像に対して識別情報を付与する作業を行う必要がなくなり、その結果、参照画像Riとして登録した被写体別に画像S0を分類する作業を手間をかけることなく行うことができる。 As described above, in this embodiment, when the similarity D between the face image Fj and the reference image Ri included in the image S0 acquired by photographing is equal to or greater than the threshold Th1, the reference image Ri is given to the image S0. Since the identification information is added, the identification information is added to the image S0 acquired by the shooting as long as the shooting is performed. Therefore, it is not necessary to perform the operation of assigning identification information to each image, and as a result, it is possible to perform the operation of classifying the image S0 for each subject registered as the reference image Ri without taking time and effort.
なお、上記実施形態においては、デジタルカメラ1において参照画像Riを登録しているが、デジタルカメラ1をパソコンと接続して、パソコンからデジタルカメラ1を操作することにより参照画像Riを登録してもよい。また、識別情報を付与した参照画像データRiをメディアに記録しておき、メディアを画像記録部10にセットして、メディアに記録された参照画像データRiを参照画像記憶部6に記憶することにより参照画像を登録してもよい。
In the above-described embodiment, the reference image Ri is registered in the
また、上記実施形態においては、人物を被写体として参照画像データRiを登録しているが、被写体としては人物に限定されるものではなく、建物やテーマパークのキャラクタ等であってもよい。 In the above embodiment, the reference image data Ri is registered with a person as a subject, but the subject is not limited to a person, and may be a character in a building or a theme park.
1 デジタルカメラ
2 撮像部
4 画像記憶部
6 参照画像記憶部
8 判定部
10 画像記録部
12 表示部
14 入力部
DESCRIPTION OF
Claims (4)
撮影により被写体を表す画像を取得する撮像手段と、
前記撮影により取得された取得画像と前記複数の参照画像のそれぞれとの類似度を算出し、該類似度が所定のしきい値以上であるか否かを判定する判定手段と、
該判定が肯定された場合に、前記取得画像と類似すると判定された参照画像に対応づけられた前記識別情報を、前記取得画像に付与する情報付与手段とを備えたことを特徴とする画像撮像装置。 Reference image storage means for storing a plurality of reference images each including a plurality of types of subjects in association with identification information for identifying subjects included in each of the plurality of reference images;
Imaging means for acquiring an image representing a subject by photographing;
A determination means for calculating a similarity between each of the acquired images acquired by the photographing and the plurality of reference images, and determining whether the similarity is equal to or higher than a predetermined threshold;
An image imaging device comprising: an information adding unit that adds the identification information associated with the reference image determined to be similar to the acquired image to the acquired image when the determination is affirmative apparatus.
前記撮影により取得された取得画像と、複数種類の被写体をそれぞれ含む複数の参照画像を、該複数の参照画像のそれぞれに含まれる被写体を識別する識別情報と対応づけて記憶する参照画像記憶手段に記憶した前記複数の参照画像のそれぞれとの類似度を算出し、
該類似度が所定のしきい値以上であるか否かを判定し、
該判定が肯定された場合に、前記取得画像と類似すると判定された参照画像に対応づけられた前記識別情報を、前記取得画像に付与することを特徴とする画像撮像方法。 Obtain an image representing the subject by shooting,
Reference image storage means for storing an acquired image acquired by photographing and a plurality of reference images each including a plurality of types of subjects in association with identification information for identifying subjects included in each of the plurality of reference images. Calculating similarity with each of the stored reference images;
Determine whether the similarity is greater than or equal to a predetermined threshold,
When the determination is affirmative, the identification information associated with the reference image determined to be similar to the acquired image is added to the acquired image.
前記撮影により取得された取得画像と、複数種類の被写体をそれぞれ含む複数の参照画像を、該複数の参照画像のそれぞれに含まれる被写体を識別する識別情報と対応づけて記憶する参照画像記憶手段に記憶した前記複数の参照画像のそれぞれとの類似度を算出する手順と、
該類似度が所定のしきい値以上であるか否かを判定する手順と、
該判定が肯定された場合に、前記取得画像と類似すると判定された参照画像に対応づけられた前記識別情報を、前記取得画像に付与する手順とを有することを特徴とする画像撮像方法をコンピュータに実行させるためのプログラム。 A procedure for acquiring an image representing a subject by shooting;
Reference image storage means for storing an acquired image acquired by photographing and a plurality of reference images each including a plurality of types of subjects in association with identification information for identifying subjects included in each of the plurality of reference images. Calculating a similarity with each of the stored reference images;
A procedure for determining whether the similarity is equal to or greater than a predetermined threshold;
And a step of assigning the identification information associated with the reference image determined to be similar to the acquired image to the acquired image when the determination is affirmed. A program to make it run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004140621A JP2005323227A (en) | 2004-05-11 | 2004-05-11 | Device, method, and program for picking up image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004140621A JP2005323227A (en) | 2004-05-11 | 2004-05-11 | Device, method, and program for picking up image |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005323227A true JP2005323227A (en) | 2005-11-17 |
Family
ID=35470148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004140621A Withdrawn JP2005323227A (en) | 2004-05-11 | 2004-05-11 | Device, method, and program for picking up image |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005323227A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683692A (en) * | 2015-02-04 | 2015-06-03 | 广东欧珀移动通信有限公司 | Continuous shooting method and continuous shooting device |
-
2004
- 2004-05-11 JP JP2004140621A patent/JP2005323227A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683692A (en) * | 2015-02-04 | 2015-06-03 | 广东欧珀移动通信有限公司 | Continuous shooting method and continuous shooting device |
CN104683692B (en) * | 2015-02-04 | 2017-10-17 | 广东欧珀移动通信有限公司 | A kind of continuous shooting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5128880B2 (en) | Image handling device | |
JP4274233B2 (en) | Imaging apparatus, image processing apparatus, image processing method therefor, and program causing computer to execute the method | |
US8218833B2 (en) | Image capturing apparatus, method of determining presence or absence of image area, and recording medium | |
CN101262561B (en) | Imaging apparatus and control method thereof | |
JP2008219874A (en) | Imaging device, image processing device, control method, and program | |
KR20070102404A (en) | Image display control device, control method and program thereof | |
JP2008131330A (en) | Image display device and image displaying method | |
JP4490214B2 (en) | Electronic album display system, electronic album display method, and electronic album display program | |
JP2012023502A (en) | Photographing support system, photographing support method, server, photographing device, and program | |
KR20090095649A (en) | Imaging apparatus | |
JP2008242694A (en) | Image processing apparatus and its program | |
JP2010178259A (en) | Digital camera | |
JP5206422B2 (en) | Composition selection device and program | |
JP2015139001A (en) | Information processing device, information processing method and program | |
JP2005323227A (en) | Device, method, and program for picking up image | |
JP4636024B2 (en) | Imaging device | |
JP2009089083A (en) | Age estimation photographing device and age estimation photographing method | |
JP5002311B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP6006841B2 (en) | Image handling apparatus, image handling method, and program | |
JP5370577B2 (en) | Composition selection device and program | |
JP5778314B2 (en) | Server and image handling method | |
JP5434096B2 (en) | Digital camera | |
JP2012015912A (en) | Electronic device | |
JP2006086887A (en) | Image information processor and digital camera | |
JP2016213689A (en) | Imaging apparatus and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061207 |
|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070807 |