JP4709812B2 - Image generation method and image processing apparatus - Google Patents

Image generation method and image processing apparatus Download PDF

Info

Publication number
JP4709812B2
JP4709812B2 JP2007220245A JP2007220245A JP4709812B2 JP 4709812 B2 JP4709812 B2 JP 4709812B2 JP 2007220245 A JP2007220245 A JP 2007220245A JP 2007220245 A JP2007220245 A JP 2007220245A JP 4709812 B2 JP4709812 B2 JP 4709812B2
Authority
JP
Japan
Prior art keywords
eye
image
face
candidate
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.)
Expired - Lifetime
Application number
JP2007220245A
Other languages
Japanese (ja)
Other versions
JP2007305167A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2007220245A priority Critical patent/JP4709812B2/en
Publication of JP2007305167A publication Critical patent/JP2007305167A/en
Application granted granted Critical
Publication of JP4709812B2 publication Critical patent/JP4709812B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

この発明は、顔写真を撮影してその顔写真から、たとえば、IDカードなどに所定の大きさで印刷する証明写真用の画像を生成する画像処理装置と画像生成方法に関する。   The present invention relates to an image processing apparatus and an image generation method for taking an image of a face and generating an image for an ID photo to be printed with a predetermined size on, for example, an ID card.

従来、IDカード等に用いられる顔写真を撮影する撮影機は、撮影した人物の顔の輪郭に基づいて所定の出力サイズの画像を生成するようになっている。すなわち、撮影した撮影画像から顔の輪郭を検出する。そして、その検出した顔の輪郭から顔の中心となる中心位置を算出し、その中心位置が中心となるように所定の出力サイズの画像として切出すことにより出力画像を生成している。   2. Description of the Related Art Conventionally, a photographing machine that captures a face photograph used for an ID card or the like generates an image having a predetermined output size based on the contour of a photographed person's face. That is, the contour of the face is detected from the captured image. Then, a center position that is the center of the face is calculated from the detected face contour, and an output image is generated by cutting out the image as a predetermined output size so that the center position is the center.

しかしながら、上記のように、撮影画像から顔の輪郭の中心位置が中心となるような画像を切り出すと、髪型を含めた部分を顔の輪郭として検出するため、髪型が左右非対称であったり、頭頂部に大きな髪飾りをつけている場合などに、その形状に伴って、出力画像として切り出す画像の中心が顔の中心位置に対してずれてしまうという欠点があった。   However, as described above, when an image having the center position of the face outline is cut out from the photographed image, the part including the hairstyle is detected as the face outline. When a large hair ornament is attached to the top, the center of the image cut out as the output image is shifted from the center position of the face with the shape.

上記したように、撮影した画像から出力画像の切り出しを自動で行う撮影機において、髪型などにより出力画像の切り出し位置がずれ、顔の中心が画像の中心にならない画像を生成してしまうという欠点を除去したもので、撮影した画像から出力画像の切り出しを自動で行う撮影機において、髪型などにより出力画像の切り出し位置がずれることなく、顔の中心が画像の中心となる安定した画像を生成することが出来る画像処理装置と画像生成方法を提供することを目的とする。   As described above, in a camera that automatically cuts out an output image from a photographed image, the cutout position of the output image is shifted due to a hairstyle or the like, and an image in which the center of the face is not the center of the image is generated. In a camera that automatically cuts out an output image from an image that has been removed, a stable image in which the center of the face is the center of the image is generated without the output image being cut out by a hairstyle or the like. An object of the present invention is to provide an image processing apparatus and an image generation method capable of performing the above.

この発明の画像生成方法は、入力画像から顔の輪郭を検出し、この検出した顔の輪郭内で少なくとも2つの目の候補を検出し、これらの検出された目の候補と予め記憶手段に記憶されている左目の標本データとの類似度を算出し、前記検出された目の候補と予め記憶手段に記憶されている右目の標本データとの類似度を算出し、前記左目の標本データとの類似度が最も高い目の候補を左目の候補として抽出し、前記右目の標本データとの類似度が最も高い目の候補を右目の候補として抽出し、前記抽出した前記左目の候補の類似度が所定の閾値以上であれば前記左目の候補を左目と判定し、前記抽出した前記右目の候補の類似度が所定の閾値以上であれば前記右目の候補を右目と判定し、前記判定した左目の位置と前記判定した右目の位置とに基づいて顔の中心位置を判断し、この判断した顔の中心位置を基準とする画像を生成する。 According to the image generation method of the present invention, a face contour is detected from an input image, at least two eye candidates are detected within the detected face contour, and the detected eye candidates are stored in a storage means in advance. The degree of similarity with the left eye sample data is calculated, the degree of similarity between the detected eye candidate and the right eye sample data stored in the storage means in advance is calculated, and the left eye sample data The eye candidate with the highest similarity is extracted as the left eye candidate, the eye candidate with the highest similarity with the right eye sample data is extracted as the right eye candidate, and the similarity of the extracted left eye candidate is The left eye candidate is determined to be the left eye if it is greater than or equal to a predetermined threshold, the right eye candidate is determined to be the right eye if the extracted similarity of the right eye candidate is greater than or equal to a predetermined threshold, and the determined left eye The position and the position of the determined right eye They based determining the center position of the face, and generates an image based on the center position of the determination by the face.

この発明の画像処理装置は、入力画像から顔の輪郭を検出する第1の検出手段と、この第1の検出手段により検出した顔の輪郭内で少なくとも2つの目の候補を検出する第2の検出手段と、この第2の検出手段により検出された各目の候補と予め記憶手段に記憶されている左目の標本データとの類似度を算出し、前記第2の検出手段により検出された目の候補と予め記憶手段に記憶されている右目の標本データとの類似度を算出する類似度算出手段と、前記類似度算出手段により算出した左目の標本データとの類似度が最も高い目の候補を左目の候補として抽出し、前記類似度算出手段により算出した右目の標本データとの類似度が最も高い目の候補を右目の候補として抽出する候補抽出手段と、前記候補抽出手段により抽出した左目の候補の類似度が所定の閾値以上であれば前記左目の候補を左目と判定し、前記候補抽出手段により抽出した右目の候補の類似度が所定の閾値以上であれば前記右目の候補を右目と判定する判定手段と、前記判定手段により判定した左目の位置と前記判定手段により判定した右目の位置とに基づいて顔の中心位置を判断する判断手段と、この判断手段により判断した顔の中心位置を基準とする画像を生成する画像生成手段を有する。 The image processing apparatus according to the present invention includes a first detection unit that detects a face outline from an input image, and a second detection unit that detects at least two eye candidates within the face outline detected by the first detection unit. A similarity between the detection means and each eye candidate detected by the second detection means and the sample data of the left eye stored in advance in the storage means is calculated, and the eye detected by the second detection means A candidate for the eye having the highest degree of similarity between the similarity calculation means for calculating the similarity between the right eye sample data stored in the storage means in advance and the left eye sample data calculated by the similarity calculation means Are extracted as left eye candidates, candidate extraction means for extracting the eye candidate with the highest similarity with the right eye sample data calculated by the similarity calculation means, and the left eye extracted by the candidate extraction means Candidate If the similarity is greater than or equal to a predetermined threshold, the left eye candidate is determined as the left eye, and if the similarity of the right eye candidate extracted by the candidate extraction unit is greater than or equal to a predetermined threshold, the right eye candidate is determined as the right eye. The determination means, a determination means for determining the center position of the face based on the position of the left eye determined by the determination means and the position of the right eye determined by the determination means, and the center position of the face determined by the determination means Image generating means for generating the image

以上詳述したように、この発明によれば、撮影した画像から出力画像の切り出しを自動で行う撮影機において、髪型などにより出力画像の切り出し位置がずれることなく、顔の中心が画像の中心となる安定した画像を生成することが出来る画像処理装置と画像生成方法を提供できる。   As described above in detail, according to the present invention, in a camera that automatically cuts out an output image from a taken image, the center of the face is the center of the image without the output image being cut out by a hairstyle or the like. An image processing apparatus and an image generation method capable of generating a stable image can be provided.

以下、この発明の実施の形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、この発明の実施の形態に係わる撮影機を含む撮影システムの外観を示すものである。   FIG. 1 shows the appearance of a photographing system including a photographing machine according to an embodiment of the present invention.

この撮影システムは、被撮影者を照射する照明機1、被撮影者の顔を撮影して撮影画像としての画像データに変換するCCDカメラ2、撮影状態、撮影者の操作情報等を表示する表示機3、撮影者による操作指示により、CCDカメラ2からの画像データ(撮影画像)を加工したり、表示機3の表示制御を行う制御台4、被撮影者の顔を撮影する際、被撮影者が着座するいす6、撮影の際に被撮影者の背景となる背景板7が設けられている。   This photographing system includes an illuminator 1 that irradiates a subject, a CCD camera 2 that photographs the subject's face and converts it into image data as a photographed image, a display that displays photographing conditions, photographer operation information, and the like. When the camera 3 processes the image data (captured image) from the CCD camera 2 or controls the display of the display device 3 in accordance with an operation instruction from the photographer, the subject 3 is photographed when the face of the subject is photographed. A chair 6 on which a person sits is provided, and a background plate 7 is provided as a background of the person to be photographed at the time of photographing.

図2は、撮影機の制御台4の内部構成を示すブロック図である。   FIG. 2 is a block diagram showing an internal configuration of the control stand 4 of the photographing machine.

図2に示すように、撮影機の制御台4は、CCDカメラ2によう撮影画像としてのアナログ信号の画像データをリアルタイムにA/D変換し、ビデオメモリやメインメモリ等に転送するビデオキャプチャ部9、このビデオキャプチャ部9からの画像データやその他の各種画像データの描画処理を行なって表示機3への表示制御を行うビデオアクセラレート部10、上記ビデオキャプチャ部9からの画像データやその他のデータに対する各種の演算処理を行うCPU、このCPUによる演算結果を一時保存するメインメモリ、各種周辺機器とのインターフェースを具備したCPU部11、印刷機などの外部の周辺機器を接続する外部バス(たとえばSCSI)を制御する外部バス制御部12、OS、アプリケーション、制御用の種々のデータ、および撮影画像から抽出する部分(例えば瞳などの顔を構成する所定の部位)に対する標本データを保存する磁気ディスク等の大容量記億媒体13、撮影画像から生成した所定の出力サイズの画像データ(出力画像)なとの出力データを保存する可搬性のある記憶媒体(たとえば、MOなどの光磁気ディスク)14とその記憶媒体への読み書き装置(たとえばMOドライブ)15、操作者が操作する入力装置であるキーボード16、およびマウス17から構成されている。   As shown in FIG. 2, the control table 4 of the photographing machine performs a real-time A / D conversion of analog signal image data as a photographed image like the CCD camera 2 and transfers it to a video memory, a main memory or the like. 9. A video accelerator 10 for performing display processing on the display device 3 by performing drawing processing of image data from the video capture unit 9 and other various image data, image data from the video capture unit 9 and other A CPU for performing various arithmetic processes on data, a main memory for temporarily storing arithmetic results by the CPU, a CPU unit 11 having an interface with various peripheral devices, and an external bus for connecting external peripheral devices such as a printing press (for example, External bus control unit 12 for controlling SCSI), OS, application, various data for control, And a large-capacity storage medium 13 such as a magnetic disk for storing specimen data for a portion extracted from the captured image (for example, a predetermined part constituting a face such as a pupil), image data of a predetermined output size generated from the captured image ( A portable storage medium (for example, a magneto-optical disk such as MO) 14 for storing output data such as an output image), a read / write device (for example, an MO drive) 15 for the storage medium, and an input device operated by an operator It is comprised from the keyboard 16 and the mouse | mouth 17 which are.

図3は、撮影機により撮影した入力画像(撮影画像)から切出す所定の出力サイズの出力画像との関係を説明するための図である。   FIG. 3 is a diagram for explaining a relationship with an output image having a predetermined output size cut out from an input image (captured image) captured by the camera.

図3は、撮影機のCCDカメラ2により撮影された入力画像18から検出される顔の輪郭の中心位置が中心となるように所定の出力サイズで切出した切出し画像19、この切出し画像19に対して瞳の位置を検出する対象の領域となる検出領域20、この検出領域20から検出した左右の瞳から判断した顔の中心位置21、およびこの顔の中心位置21が中心となるように所定の出力サイズで切出した切出し画像22を示す。   FIG. 3 shows a cut-out image 19 cut out at a predetermined output size so that the center position of the face contour detected from the input image 18 taken by the CCD camera 2 of the photographing machine is the center. The detection area 20 that is the target area for detecting the position of the pupil, the face center position 21 determined from the left and right pupils detected from the detection area 20, and the face center position 21 so as to be centered. A cut image 22 cut out with the output size is shown.

たとえば、髪型が左右均等でない被撮影者の顔を撮影した場合、CPU部11は、入力画像18から背景板7の色を判別して髪型を含む顔の輪郭を検出する。この検出した顔の輪郭の中心位置が中心となるように所定の出力サイズの画像を切出すと、図3に示すように、切出し画像19が髪型以外の顔の部分が中心からずれた画像となる。   For example, when photographing the face of the subject whose hairstyle is not equal left and right, the CPU unit 11 detects the outline of the face including the hairstyle by determining the color of the background plate 7 from the input image 18. When an image having a predetermined output size is cut out so that the center position of the detected face outline is centered, as shown in FIG. 3, the cut-out image 19 is an image in which the face portion other than the hairstyle is shifted from the center. Become.

これに対して、被撮影者の瞳の位置から顔の中心位置を求め、この中心位置が中心となるように所定の出力サイズで画像を切出すと、髪型に関係なく顔の中心が出力サイズの画像の中央部に位置する画像が得られる。   On the other hand, if the center position of the face is obtained from the pupil position of the subject and the image is cut out with a predetermined output size so that this center position is the center, the center of the face is the output size regardless of the hairstyle. An image located at the center of the image is obtained.

すなわち、CPU部11は、入力画像18から検出した顔の輪郭で左右の瞳が存在するであろう検出領域20において瞳の検出を行なう。これは、入力画像全体や顔の輪郭全体から瞳の検出を行なうと検出処理に余分な時間が掛かってしまうため、顔の輪郭に対して予め瞳が存在するであろう検出領域を設定しておき、この検出領域のみを瞳の検出対象とすることにより、処理の短縮が図れるためである。   That is, the CPU 11 detects a pupil in the detection area 20 where left and right pupils will exist in the face contour detected from the input image 18. This is because if detection of the pupil is performed from the entire input image or the entire contour of the face, it takes extra time for the detection processing. Therefore, a detection region where the pupil will exist is set in advance for the contour of the face. This is because the processing can be shortened by using only this detection region as a pupil detection target.

そして、CPU部11は、検出領域20から左右の瞳を検出すると、これらの検出した左右の瞳の位置から中心位置を判断する。この中心位置は、例えば左右の瞳の中間点が顔の中心位置として判断される。さらに、左右の瞳の位置から判断した顔の中心位置が中心となるように入力画像18から切出して切出し画像22を生成する。   When the left and right pupils are detected from the detection region 20, the CPU unit 11 determines the center position from the detected positions of the left and right pupils. For example, the center position of the left and right pupils is determined as the center position of the face. Further, a cut-out image 22 is generated by cutting out from the input image 18 so that the center position of the face determined from the positions of the left and right pupils is the center.

上記のように、瞳の位置から判断した顔の中心位置が中心となる画像を切出すことにより、髪型などにより影響されることなく、所定の出力サイズの画像において顔の位置が中央に位置する画像を生成できる。   As described above, by extracting an image having the center position of the face determined from the position of the pupil as the center, the face position is centered in the image of a predetermined output size without being affected by the hairstyle or the like. An image can be generated.

次に、所定の大きさの出力画像を切出す処理について図4に示すフローチャートを参照しつつ説明する。   Next, processing for cutting out an output image having a predetermined size will be described with reference to the flowchart shown in FIG.

まず、被撮影者が背景板7の前方に設置されたイス6に腰掛ける。撮影者(オペレータ)は、CCDカメラ2に映っている映像が表示されている表示機3を見ながら撮影機1のCCDカメラ3の向きをハンドルにより調整して撮影開始を指示する。   First, the person to be photographed sits down on the chair 6 installed in front of the background board 7. The photographer (operator) instructs the start of photographing by adjusting the direction of the CCD camera 3 of the photographing device 1 with the handle while viewing the display device 3 on which the image shown in the CCD camera 2 is displayed.

撮影者が撮影開始を指示すると、CPU部11は、CCDカメラ2により入力画像を取り込む(ステップ1)。CPU部11は、この入力画像から背景板7の色以外の領域を顔の輪郭の位置として検出する(ステップ2)。CPU部11は、検出した顔の輪郭の位置が規定の範囲内か否かを判断する(ステップ3)。この判断により顔の輪郭の位置が規定の範囲内でないと判断した際、CPU部11は、エラー処理を行なう(ステップ4)。このエラー処理は、撮影者が表示機3に表示される入力画像を見て、入力画像における顔の輪郭が大きく写っている場合に入力画像の縮小したり、顔の輪郭が小さく写っている場合に入力画像を拡大することにより入力画像の倍率を調整する。また、入力画像における顔の輪郭が極端にずれていたり、入力画像が明るすぎたり、暗すぎたりした場合に入力画像を破棄し、再び撮影処理を行なう処理である。   When the photographer instructs to start photographing, the CPU 11 captures an input image by the CCD camera 2 (step 1). The CPU 11 detects an area other than the color of the background plate 7 from the input image as the position of the face outline (step 2). The CPU 11 determines whether or not the detected position of the face contour is within a specified range (step 3). When it is determined that the position of the face contour is not within the specified range, the CPU 11 performs error processing (step 4). In this error processing, when the photographer looks at the input image displayed on the display device 3 and the face outline in the input image is large, the input image is reduced or the face outline is small. The magnification of the input image is adjusted by enlarging the input image. In addition, when the face outline in the input image is extremely shifted, the input image is too bright, or too dark, the input image is discarded and the photographing process is performed again.

上記ステップ3で、検出した顔の輪郭の位置が規定の範囲内であると判断した際、CPU部11は、予め設定されている瞳の検出領域20において、瞳と同形状の丸い形状の部位を抽出する(ステップ5)。この結果、CPU部11は、抽出した部位の数が2個以上あるか否かを判断する(ステップ6)。   When it is determined in step 3 that the detected position of the face contour is within the specified range, the CPU unit 11 in the preset pupil detection area 20 has a round part having the same shape as the pupil. Is extracted (step 5). As a result, the CPU unit 11 determines whether there are two or more extracted parts (step 6).

この判断により抽出数が2個以上であると判断した際、それぞれの抽出した部位とHDD13に記憶している左右の瞳の標本データとを比較し、それらの中で類似度の左右の瞳として最も高い抽出部位をそれぞれ検出する(ステップ7)。   When it is determined by this determination that the number of extractions is two or more, each extracted part is compared with the sample data of the left and right pupils stored in the HDD 13, and among them, the left and right pupils of similarity are obtained. The highest extraction site is detected (step 7).

さらに、CPU部11は、左右の瞳として検出した部位の類似度合いが所定のしきい値以上か否かを判断する(ステップ8)。この判断により左右の瞳として検出した部位の類似度合いがそれぞれ所定のしきい値以上であると判断した際、CPU部11は、左右の瞳の位置から顔の中心位置を検出し、この中心位置を中心とした写真の切出し位置を算出する(ステップ9)。   Further, the CPU unit 11 determines whether or not the degree of similarity between the parts detected as the left and right pupils is equal to or greater than a predetermined threshold value (step 8). When it is determined that the similarity between the parts detected as the left and right pupils is equal to or greater than a predetermined threshold, the CPU unit 11 detects the center position of the face from the positions of the left and right pupils, and the center position. The cut-out position of the photograph centering on is calculated (step 9).

また、上記ステップ6で、抽出数が2個以上でないと判断した際、あるいは上記ステップ8で、左右の瞳として検出した部位の類似度合いが所定のしきい値以上でないと判断した際、上記ステップ2で、検出した顔の輪郭位置に基づいて顔の中心位置を検出し、その中心位置を中心とした写真の切出し位置を算出する(ステップ10)。   Further, when it is determined in step 6 that the number of extractions is not two or more, or when it is determined in step 8 that the similarity between the parts detected as the left and right pupils is not equal to or greater than a predetermined threshold value, 2, the center position of the face is detected based on the detected face contour position, and the cutout position of the photograph centered on the center position is calculated (step 10).

そして、CPU部11は、上記ステップ9で左右の瞳の位置に基づいた切出し位置、あるいは上記ステップ10で顔の輪郭位置に基づいた切出し位置で入力画像を切り出すことにより所定の出力サイズの画像を生成する(ステップ11)。   Then, the CPU unit 11 cuts an input image at the cutout position based on the positions of the left and right pupils at the step 9 or at the cutout position based on the face contour position at the step 10 to obtain an image of a predetermined output size. Generate (step 11).

なお、上記実施の形態では、瞳を検出して顔の中心位置を検出するようにしたが、鼻、口、耳、眉毛などの顔を構成する瞳以外の部位を検出して顔の中心位置を判断するようにしても良い。また、例えば、耳と瞳、瞳を鼻、鼻と口、口と耳といった顔を構成する部位を複数検出してその組合わせで顔の中心位置を判断するようにしても良い
上記のように、撮影した入力画像から顔を構成する所定の部位を検出して顔の中心位置を判断し、この中心位置を中心とする出力サイズの画像を生成するようにした。
In the above embodiment, the center position of the face is detected by detecting the pupil, but the center position of the face is detected by detecting a part other than the pupil constituting the face, such as the nose, mouth, ear, and eyebrows. You may make it judge. Further, for example, a plurality of parts constituting the face such as the ear and pupil, the pupil nose, the nose and mouth, and the mouth and ear may be detected, and the center position of the face may be determined by the combination thereof. A predetermined part constituting the face is detected from the photographed input image to determine the center position of the face, and an image having an output size centered on the center position is generated.

これにより、髪型などにより顔の輪郭が左右均等でない顔写真を撮影した場合にも顔の中心位置が中心となる出力サイズの画像を生成できる。   Thereby, even when a face photograph in which the contour of the face is not equal to the left and right is photographed by a hairstyle or the like, an image having an output size centered on the center position of the face can be generated.

また、撮影した入力画像から顔を構成する所定の部位として瞳の位置を検出して顔の中心位置を判断し、この中心位置を中心とする出力サイズの画像を生成するようにした。   Further, the position of the pupil is detected as a predetermined part constituting the face from the photographed input image to determine the center position of the face, and an image having an output size centered on the center position is generated.

これにより、髪型などにより顔の輪郭が左右均等でない顔写真を撮影した場合にも顔の中心位置と出力画像の中心となる画像を生成でき、さらに、顔を構成する部位の中でも検出しやすい瞳を検出することにより、確実に顔の中心位置を検出できる。   This makes it possible to generate an image that is the center position of the face and the center of the output image even when a facial photograph with a non-equal facial contour is taken with a hairstyle, etc. By detecting this, the center position of the face can be reliably detected.

この発明の実施の形態を説明するための撮影機を含む撮影システムの外観構成を示す図。The figure which shows the external appearance structure of the imaging | photography system containing the imaging device for describing embodiment of this invention. 撮影機の内部構成を示すブロック図。The block diagram which shows the internal structure of an imaging device. 入力画像から切出される出力画像を説明するための図。The figure for demonstrating the output image cut out from an input image. 出力画像を生成する処理を説明するためのフローチャート。The flowchart for demonstrating the process which produces | generates an output image.

符号の説明Explanation of symbols

2…CCDカメラ
3…表示機
11…CPU部
13…記録媒体
2 ... CCD camera 3 ... Display 11 ... CPU unit 13 ... Recording medium

Claims (10)

入力画像から顔の輪郭を検出し、
この検出した顔の輪郭内で少なくとも2つの目の候補を検出し、
これらの検出された目の候補と予め記憶手段に記憶されている左目の標本データとの類似度を算出し、前記検出された目の候補と予め記憶手段に記憶されている右目の標本データとの類似度を算出し、
前記左目の標本データとの類似度が最も高い目の候補を左目の候補として抽出し、前記右目の標本データとの類似度が最も高い目の候補を右目の候補として抽出し、
前記抽出した左目の候補の類似度が所定の閾値以上であれば前記左目の候補を左目と判定し、前記抽出した右目の候補の類似度が所定の閾値以上であれば前記右目の候補を右目と判定し、
前記判定した左目の位置と前記判定した右目の位置とに基づいて顔の中心位置を判断し、
この判断した顔の中心位置を基準とする画像を生成する、
ことを特徴とする画像生成方法。
Detect the face outline from the input image,
Detect at least two eye candidates within the detected face contour,
The degree of similarity between the detected eye candidates and the left eye sample data stored in advance in the storage means is calculated, and the detected eye candidates and the right eye sample data stored in the storage means in advance The similarity of
Extracting the candidate for the eye with the highest degree of similarity with the sample data for the left eye as the candidate for the left eye, extracting the candidate for the eye with the highest degree of similarity with the sample data for the right eye,
If the extracted left-eye candidate has a similarity greater than or equal to a predetermined threshold, the left-eye candidate is determined as the left eye, and if the extracted right-eye candidate similarity is greater than or equal to a predetermined threshold, the right-eye candidate is determined as the right eye. And
Determining the center position of the face based on the determined left eye position and the determined right eye position ;
An image based on the determined center position of the face is generated.
An image generation method characterized by the above.
前記目の検出では、前記顔の輪郭に対して予め設定されている所定の領域から少なくとも2つの目の候補を検出する、
ことを特徴とする前記請求項に記載の画像生成方法。
In the eye detection, at least two eye candidates are detected from a predetermined region set in advance with respect to the face outline.
The image generation method according to claim 1 , wherein:
前記目の検出では、前記所定の領域から少なくとも2つの人物の目の形状らしい部位を目の候補として検出する、
ことを特徴とする前記請求項に記載の画像生成方法。
In the detection of the eyes, a part that is likely to be an eye shape of at least two persons from the predetermined region is detected as an eye candidate.
Image generating method according to claim 2, characterized in that.
さらに、前記画像の生成では、前記判断された顔の中心位置を基準とした所定のサイズの画像を生成する、
ことを特徴とする請求項1乃至の何れか1項に記載の画像生成方法。
Furthermore, in the generation of the image, an image having a predetermined size based on the determined center position of the face is generated.
Image generating method according to any one of claims 1 to 3, characterized in that.
さらに、前記入力画像から検出した顔の輪郭の位置が規定の範囲内でない場合にはエラーとする、
ことを特徴とする請求項1乃至の何れか1項に記載の画像生成方法。
Furthermore, if the position of the face contour detected from the input image is not within a specified range, an error is assumed.
Image generating method according to any one of claims 1 to 4, characterized in that.
入力画像から顔の輪郭を検出する第1の検出手段と、
この第1の検出手段により検出した顔の輪郭内で少なくとも2つの目の候補を検出する第2の検出手段と、
この第2の検出手段により検出された各目の候補と予め記憶手段に記憶されている左目の標本データとの類似度を算出し、前記第2の検出手段により検出された目の候補と予め記憶手段に記憶されている右目の標本データとの類似度を算出する類似度算出手段と、
前記類似度算出手段により算出した左目の標本データとの類似度が最も高い目の候補を左目の候補として抽出し、前記類似度算出手段により算出した右目の標本データとの類似度が最も高い目の候補を右目の候補として抽出する候補抽出手段と、
前記候補抽出手段により抽出した左目の候補の類似度が所定の閾値以上であれば前記左目の候補を左目と判定し、前記候補抽出手段により抽出した右目の候補の類似度が所定の閾値以上であれば前記右目の候補を右目と判定する判定手段と、
前記判定手段により判定した左目の位置と前記判定手段により判定した右目の位置とに基づいて顔の中心位置を判断する判断手段と、
この判断手段により判断した顔の中心位置を基準とする画像を生成する画像生成手段と、
を具備することを特徴とする画像処理装置。
First detection means for detecting a contour of a face from an input image;
Second detection means for detecting at least two eye candidates within the face contour detected by the first detection means;
The degree of similarity between each eye candidate detected by the second detection means and the left eye sample data stored in the storage means is calculated, and the eye candidates detected by the second detection means are calculated in advance. Similarity calculation means for calculating the similarity with the sample data of the right eye stored in the storage means;
The eye candidate having the highest similarity with the left eye sample data calculated by the similarity calculation means is extracted as a left eye candidate, and the eye having the highest similarity with the right eye sample data calculated by the similarity calculation means Candidate extraction means for extracting the candidate as a right eye candidate;
If the similarity of the left eye candidate extracted by the candidate extraction unit is equal to or greater than a predetermined threshold, the left eye candidate is determined as the left eye, and the similarity of the right eye candidate extracted by the candidate extraction unit is equal to or greater than a predetermined threshold. If there is a determination means for determining the right eye candidate as the right eye,
Determining means for determining the center position of the face based on the position of the left eye determined by the determining means and the position of the right eye determined by the determining means;
Image generating means for generating an image based on the center position of the face determined by the determining means;
An image processing apparatus comprising:
前記第2の検出手段は、前記顔の輪郭に対して予め設定されている所定の領域から少なくとも2つの目の候補を検出する、
ことを特徴とする前記請求項に記載の画像処理装置。
The second detection means detects at least two eye candidates from a predetermined region set in advance with respect to the contour of the face;
The image processing apparatus according to claim 6, characterized in that.
前記第2の検出手段は、前記所定の領域から少なくとも2つの人物の目の形状らしい部位を目の候補として検出する、
ことを特徴とする前記請求項に記載の画像処理装置。
The second detection means detects, as eye candidates, a part that is likely to be the shape of at least two human eyes from the predetermined region.
The image processing apparatus according to claim 7 , wherein:
さらに、前記画像生成手段は、前記判断手段により判断した顔の中心位置を基準とした所定のサイズの画像を生成する、
ことを特徴とする請求項6乃至8の何れか1項に記載の画像処理装置。
Further, the image generation means generates an image of a predetermined size with reference to the center position of the face determined by the determination means.
The image processing apparatus according to claim 6 , wherein the image processing apparatus is an image processing apparatus.
さらに、前記入力画像から検出した顔の輪郭の位置が規定の範囲内でない場合にはエラーとするエラー処理手段を有する、
ことを特徴とする請求項6乃至9の何れか1項に記載の画像処理装置。
In addition, there is an error processing means for making an error when the position of the face contour detected from the input image is not within a prescribed range.
The image processing apparatus according to claim 6 , wherein the image processing apparatus is an image processing apparatus.
JP2007220245A 2007-08-27 2007-08-27 Image generation method and image processing apparatus Expired - Lifetime JP4709812B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007220245A JP4709812B2 (en) 2007-08-27 2007-08-27 Image generation method and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007220245A JP4709812B2 (en) 2007-08-27 2007-08-27 Image generation method and image processing apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP32970498A Division JP4091184B2 (en) 1998-11-19 1998-11-19 Camera and image generation method

Publications (2)

Publication Number Publication Date
JP2007305167A JP2007305167A (en) 2007-11-22
JP4709812B2 true JP4709812B2 (en) 2011-06-29

Family

ID=38838977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007220245A Expired - Lifetime JP4709812B2 (en) 2007-08-27 2007-08-27 Image generation method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP4709812B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014110598A1 (en) * 2013-01-14 2014-07-17 Massively Parallel Technologies, Inc. System and method for determining engagement of audience members during a lecture

Also Published As

Publication number Publication date
JP2007305167A (en) 2007-11-22

Similar Documents

Publication Publication Date Title
KR100408366B1 (en) Apparatus for Photographing a Face Image and Method Therefor
JP5276111B2 (en) Method and system for supporting so that composition of face can be determined during self-photographing
JP5084938B2 (en) Image extraction apparatus, image extraction method, and image extraction program
JP2006319610A (en) Camera
JP2006115406A (en) Imaging apparatus
JP2010068128A (en) Image capturing apparatus, existence or nonexistence decision method of image area, and program
JP2003344021A (en) Method for calculating dimension of human face in image and method for detecting face
CN113837145A (en) System for generating a conforming facial image for a selected identified document
CN109478227A (en) Calculate the iris in equipment or the identification of other physical feelings
JP2007163864A (en) Display control apparatus, display control method, display control program, and display control program recording medium
JP4837602B2 (en) Image trimming apparatus and method, and program
JP4762324B2 (en) Face image photographing apparatus and face image photographing method
JP4091184B2 (en) Camera and image generation method
JP4709812B2 (en) Image generation method and image processing apparatus
JP4947018B2 (en) Automatic image trimming device
JP2006277731A (en) Image extracting device, image extracting method, and image extracting program
JP5092093B2 (en) Image processing device
JP2009003842A (en) Image processor and image processing method
JP4316063B2 (en) Face image photographing method and face image photographing apparatus
JP5374612B2 (en) Image data identification method, imaging apparatus, program, and storage medium
JP2000292852A (en) Face picture photographing device
JP2008167028A (en) Imaging apparatus
JP2006238362A (en) Apparatus and method for determining image top and bottom, and program
TW201233157A (en) System and method for avoiding closed eyes during capturing person images
JP2008262305A (en) Imaging device, control method therefor, program, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090602

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090803

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090915

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091215

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100210

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

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20100305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110318

EXPY Cancellation because of completion of term