JP4807170B2 - Pattern detection method, pattern detection program, pattern detection apparatus, and imaging apparatus - Google Patents
Pattern detection method, pattern detection program, pattern detection apparatus, and imaging apparatus Download PDFInfo
- Publication number
- JP4807170B2 JP4807170B2 JP2006189254A JP2006189254A JP4807170B2 JP 4807170 B2 JP4807170 B2 JP 4807170B2 JP 2006189254 A JP2006189254 A JP 2006189254A JP 2006189254 A JP2006189254 A JP 2006189254A JP 4807170 B2 JP4807170 B2 JP 4807170B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- suppression
- pattern
- pattern detection
- optical system
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims description 117
- 238000003384 imaging method Methods 0.000 title description 7
- 238000000034 method Methods 0.000 claims description 44
- 230000001629 suppression Effects 0.000 claims description 36
- 230000003287 optical effect Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 22
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 description 26
- 238000012937 correction Methods 0.000 description 16
- 230000009466 transformation Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 238000003860 storage Methods 0.000 description 5
- 230000004075 alteration Effects 0.000 description 4
- 238000012706 support-vector machine Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000003909 pattern recognition Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012850 discrimination method Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Description
本発明は、光学系で撮影した画像に関するパターン検出方法、パターン検出プログラム、パターン検出装置に関する。また、本発明は、パターン検出機能を搭載した撮像装置に関する。 The present invention relates to a pattern detection method, a pattern detection program, and a pattern detection apparatus for an image photographed by an optical system. The present invention also relates to an imaging apparatus equipped with a pattern detection function.
ディジタルカメラで撮影した画像から顔を検出し、その顔部分に対してのみ色補正や階調補正を施す技術(逆光補正、肌色補正など)が知られている。
現在、画像処理ソフトウエアで一般的な顔検出方法は、入力画像の各位置にウィンドウを配置し、各ウィンドウによって切り出される各部分領域が顔であるか否かそれぞれ判別するものである(非特許文献1等を参照)。その判別には、テンプレートマッチング、SVM(Support Vector Machine)、ニューラルネットワーク、AdaBoostなど各種の判別方法が適用可能である。
Currently, a common face detection method in image processing software is to arrange a window at each position of an input image and determine whether each partial area cut out by each window is a face (non-patent). Reference 1 etc.). For the discrimination, various discrimination methods such as template matching, SVM (Support Vector Machine), neural network, AdaBoost, etc. can be applied.
しかしながら、ディジタルカメラで撮影した画像、特に広角レンズで撮影された画像では、画像周辺部の被写体像に或る種の歪みが生じているため、顔検出機能が正常に働かない可能性がある。
そこで本発明は、光学系で撮影した画像から特定パターンをより確実に検出することのできるパターン検出方法、パターン検出プログラム、パターン検出装置、及び撮像装置を提供することを目的とする。
However, in an image photographed with a digital camera, particularly an image photographed with a wide-angle lens, the face detection function may not work normally because some kind of distortion occurs in the subject image at the periphery of the image.
SUMMARY An advantage of some aspects of the invention is that it provides a pattern detection method, a pattern detection program, a pattern detection apparatus, and an imaging apparatus that can detect a specific pattern more reliably from an image captured by an optical system.
本発明のパターン検出方法は、光学系で撮影した画像の各位置における像倍率の周方向成分と径方向成分との不一致を抑制する抑制手順と、前記抑制後の前記画像から特定パターンを検出するパターン検出手順とを含み、前記抑制手順では、前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、前記パターン検出手順では、前記抑制後の前記画像の像傾斜量分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、前記判別の際には、前記抑制により前記画像に生じる像傾斜量分布に応じて前記画像を領域分けすると共に、検出方向の異なる複数の判別器を領域毎に使い分ける。 The pattern detection method of the present invention detects a specific pattern from the suppression procedure for suppressing the mismatch between the circumferential component and the radial component of the image magnification at each position of an image photographed by the optical system, and the image after the suppression. In order to suppress the mismatch, the suppression procedure includes image processing for geometrically converting the image into the same image captured by a stereoscopic projection optical system. In the pattern detection procedure, the presence / absence of the specific pattern at each position of the image is determined according to the image inclination amount distribution of the image after the suppression. The image is divided into regions according to the image inclination amount distribution occurring in the image, and a plurality of discriminators having different detection directions are used for each region.
また、本発明の別のパターン検出方法は、光学系で撮影した画像の各位置における像倍率の周方向成分と径方向成分との不一致を抑制する抑制手順と、前記抑制後の前記画像から特定パターンを検出するパターン検出手順とを含み、前記抑制手順では、前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、前記パターン検出手順では、前記抑制後の前記画像の像倍率分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、 前記判別の際には、前記抑制により前記画像に生じる像倍率分布に応じて前記画像を領域分けすると共に、検出サイズの異なる複数の判別器を領域毎に使い分ける。
また、本発明のパターン検出プログラムは、本発明の何れかのパターン検出方法をコンピュータに実行させることを特徴とする。
また、本発明のパターン検出装置は、光学系で撮影した画像の各位置における像倍率の周方向成分と径方向成分との不一致を抑制する抑制手段と、前記抑制後の前記画像から特定パターンを検出するパターン検出手段とを備え、前記抑制手段は、前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、前記パターン検出手段は、前記抑制後の前記画像の像傾斜量分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、前記判別の際には、前記抑制により前記画像に生じる像傾斜量分布に応じて前記画像を領域分けすると共に、検出方向の異なる複数の判別器を領域毎に使い分ける。
Further, another pattern detection method of the present invention is specified from a suppression procedure for suppressing a mismatch between a circumferential component and a radial component of an image magnification at each position of an image captured by an optical system, and the image after the suppression. A pattern detection procedure for detecting a pattern, and in the suppression procedure, in order to suppress the discrepancy, the image is geometrically transformed into the same image as that captured by a stereoscopic projection optical system. In the pattern detection procedure, the presence or absence of the specific pattern at each position of the image is determined according to the image magnification distribution of the image after suppression, and the suppression is performed during the determination. Thus, the image is divided into regions according to the image magnification distribution generated in the image, and a plurality of discriminators having different detection sizes are used for each region.
The pattern detection program of the present invention causes a computer to execute any one of the pattern detection methods of the present invention.
Further, the pattern detection apparatus of the present invention includes a suppression unit that suppresses a mismatch between a circumferential component and a radial component of image magnification at each position of an image captured by an optical system, and a specific pattern from the image after the suppression. An image for geometrically transforming the image into the same image taken by a stereoscopic projection optical system in order to suppress the mismatch. The pattern detection means determines whether or not there is the specific pattern at each position of the image according to the image inclination amount distribution of the image after the suppression, and at the time of the determination, The image is divided into regions according to the image tilt amount distribution generated in the image, and a plurality of discriminators having different detection directions are used for each region.
また、本発明の別のパターン検出装置は、光学系で撮影した画像の各位置における像倍率の周方向成分と径方向成分との不一致を抑制する抑制手段と、前記抑制後の前記画像から特定パターンを検出するパターン検出手段とを備え、前記抑制手段は、前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、前記パターン検出手段は、前記抑制後の前記画像の像倍率分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、前記判別の際には、前記抑制により前記画像に生じる像倍率分布に応じて前記画像を領域分けすると共に、検出サイズの異なる複数の判別器を領域毎に使い分ける。
また、本発明の撮像装置は、被写体を撮像して画像を取得する撮像素子と、前記撮像素子が取得した画像に対しパターン検出処理を施す本発明の何れかのパターン検出装置とを備えたことを特徴とする。
In addition, another pattern detection apparatus of the present invention is specified from a suppression unit that suppresses a mismatch between a circumferential component and a radial component of image magnification at each position of an image captured by an optical system, and the image after the suppression. Pattern detecting means for detecting a pattern, and the suppressing means geometrically transforms the image into the same image taken by a stereoscopic projection optical system in order to suppress the mismatch. The pattern detection means determines the presence or absence of the specific pattern at each position of the image according to the image magnification distribution of the image after suppression, and the suppression Thus, the image is divided into regions according to the image magnification distribution generated in the image, and a plurality of discriminators having different detection sizes are used for each region.
Moreover, the imaging device of the present invention includes an imaging element that captures an image of a subject and acquires an image, and any one of the pattern detection apparatuses of the present invention that performs pattern detection processing on the image acquired by the imaging element. It is characterized by.
本発明によれば、光学系で撮影した画像から特定パターンをより確実に検出することのできるパターン検出方法、パターン検出プログラム、パターン検出装置、及び撮像装置が実現する。 According to the present invention, a pattern detection method, a pattern detection program, a pattern detection apparatus, and an imaging apparatus that can detect a specific pattern more reliably from an image captured by an optical system are realized.
[第1実施形態]
第1実施形態を説明する。本実施形態は、顔検出機能を搭載したディジタルカメラの実施形態である。
先ず、ディジタルカメラの構成を説明する。
図1は、ディジタルカメラの構成図である。図1に示すとおり、ディジタルカメラには、撮影レンズ11、撮像素子12、A/D変換器13、フレームメモリ14、顔検出部15、表示部16、操作釦17、記録部19、CPU18などが備えられる。撮影レンズ11は、歪曲収差の小さい一般的な広角撮影レンズ(被写体角度θと像高hとの関係はh∝tanθ)である。顔検出部15は、顔検出用の画像処理回路である。CPU18は、その他の画像処理を実行する機能と、ディジタルカメラの各部を制御する機能とを備えた画像処理・制御回路である。
[First Embodiment]
A first embodiment will be described. The present embodiment is an embodiment of a digital camera equipped with a face detection function.
First, the configuration of the digital camera will be described.
FIG. 1 is a block diagram of a digital camera. As shown in FIG. 1, the digital camera includes a photographing
CPU18は、操作釦17の操作内容からユーザの撮影指示を認識すると、ディジタルカメラの各部を駆動して撮影を行う。撮影時、撮影レンズ11が捉えた被写界光束は、撮像素子12上に像を形成する。撮像素子12は、その像を撮像して画像データを生成する。その画像データは、A/D変換器13を介してフレームメモリ14へ格納され、その後、所定のファイル形式に変換されてから記録部19へ書き込まれる。
When the
また、CPU18は、操作釦17の操作内容からユーザの補正指示を認識すると、記憶部19から画像データを読み出し、その画像データへ画像処理を施す。
ユーザの補正指示の中には、「逆光補正」や「肌色補正」など、顔検出を要する補正指示も含まれる。これらの補正指示を認識した場合、CPU18は、記憶部19から読み出した被処理画像の画像データと、顔検出の実行指示とを顔検出部15へ与える。その後、顔検出部15が顔検出処理を実行して検出結果を出力すると、CPU18はその検出結果を利用して被処理画像の画像データへ補正処理を施す。逆光補正や肌色補正などの補正処理は周知なので、説明を省略する。
When the
The user's correction instructions include correction instructions that require face detection, such as “backlight correction” and “skin color correction”. When recognizing these correction instructions, the
図2は、顔検出部15の動作フローチャートであり、図3は、顔検出部15による処理の概念を説明する図である。
(ステップS11)
顔検出部15は、被処理画像の画像データを入力する。図3(a)に示すように、被処理画像上の各位置(特に画像周辺部)では、像倍率の光軸中心周りの成分(周方向成分a)と、光軸中心から画像周辺へ向かう成分(径方向成分b)とが一致していない。この不一致(以下、「倍率歪み」という。)は、撮影レンズ11が無収差であったとしても発生する。
FIG. 2 is an operation flowchart of the
(Step S11)
The
(ステップS12a)
顔検出部15は、被処理画像(図3(a))に対し、倍率歪みを無くすような幾何変換処理を施す。この幾何変換処理は、被処理画像を立体射影方式の撮影レンズで撮影されたのと同じ画像へと幾何変換するものである。
すなわち、顔検出部15は、被処理画像(図3(a))上の各座標(x,y)を、撮影レンズ11に固有の幾何変換特性の逆特性で座標変換してから、被写体角度θと像高hとの関係がh(θ)∝tan(θ/2)である立体射影方式の幾何変換特性で座標(x2,y2)へ座標変換し、変換後の各座標(x2,y2)からなる画像に対し、画素補間処理を施す。このうち、座標変換に関する演算を数式で示すと、以下の通りである。
・被処理画像上の座標(x,y)を、次式(1)により像高hで表す。但し、式(1)中の(cx,cy)は、被処理画像上の光軸中心の座標である。
(Step S12a)
The
That is, the
A coordinate (x, y) on the image to be processed is represented by an image height h by the following equation (1). However, (c x , c y ) in the expression (1) is the coordinate of the optical axis center on the image to be processed.
(ステップS13a)
顔検出部15は、幾何変換処理後の画像へ肌色検出処理を施し、その画像から、顔の存在している可能性の無い領域を除外する。これによって、顔候補領域が抽出されたことになる。
(ステップS13b)
顔検出部15は、抽出された顔候補領域(以下、単に「画像」という。)上の各位置に、所定画素サイズのウィンドウW(例えば19画素×19画素の矩形ウィンドウ)を配置し、そのウィンドウWによって切り出される各部分領域のパターンを認識する。
(Step S13a)
The
(Step S13b)
The
さらに、顔検出部15は、そのパターンが人間の顔であるか否か判別し、人間の顔であったならば、その部分領域を顔の存在領域とみなす(図3(c)参照)。
この判別には、例えば、多数の顔学習サンプルを用いて予め学習した判別器が用いられる。因みに、本実施形態の判別では顔の歪みを考慮する必要が無いので、多数の顔学習サンプルは、何れも歪みの無い通常の顔学習サンプルで構わない。
Further, the
For this discrimination, for example, a discriminator learned in advance using a large number of face learning samples is used. Incidentally, since it is not necessary to consider the distortion of the face in the determination of the present embodiment, any number of face learning samples may be normal face learning samples without distortion.
(ステップS12b)
顔検出部15は、検出した顔の存在領域を、ステップS12aの幾何変換処理の逆特性で幾何変換する(図3(d)参照)。
(ステップS14)
顔検出部15は、変換後の存在領域を検出結果として出力する(ステップS14の説明終了)。
(Step S12b)
The
(Step S14)
The
以上、本実施形態の顔検出部15は、顔検出処理(ステップS13b)に先立ち、被処理画像の倍率歪みを抑制するので(ステップS12a)、画像上の各位置に存在する全ての顔からは歪みが無くなる。したがって、顔検出処理(ステップS13b)では、顔の歪みを何ら考慮していないにも拘わらず、顔の存在領域を確実に検出することができる(図3(d)参照)。
As described above, since the
なお、上述した幾何変換処理後の画像(図3(b))では、倍率歪みが抑えられている反面、画像の一部(画像周辺部)に像倍率の変化及び像傾斜が発生している。このため、幾何変換処理後の画像(図3(b))には、処理前と比較してサイズの変化した顔や、処理前と比較して傾斜した顔が含まれている可能性がある。
このため、上述した顔検出処理(ステップS13b)には、サイズ及び角度対応型の顔検出方法を採用するとよい。サイズ及び角度対応型の顔検出方法は、顔の存在領域を顔のサイズ及び配置角度に依らずに検出できる顔検出方法である。
Note that, in the image after the above-described geometric transformation process (FIG. 3B), the magnification distortion is suppressed, but a change in image magnification and an image inclination occur in a part of the image (image peripheral portion). . For this reason, the image after the geometric transformation process (FIG. 3B) may include a face whose size has changed compared to that before the process or a face that has been tilted compared to that before the process. .
For this reason, the face detection process (step S13b) described above may employ a size and angle type face detection method. The size and angle correspondence type face detection method is a face detection method capable of detecting a face existing region regardless of the face size and the arrangement angle.
例えば、ステップS13において、顔検出部15は、前述した判別を、図4に示すとおり、部分領域の領域サイズと、パターンの認識角度(矢印)とをそれぞれ変化させながら繰り返し行う。因みに、部分領域の領域サイズを変化させるには、ウィンドウの画素サイズを固定したまま、画像全体の画素サイズを様々な縮小倍率で縮小すればよい。このように、部分領域の領域サイズとパターンの認識角度との組み合わせを様々に変化させれば、顔の存在領域を、その顔のサイズや配置角度に依らず漏れなく検出することができる。このようなサイズ及び角度対応型の顔検出方法は、非特許文献1にも詳しく記載されている。
For example, in step S13, the
[第2実施形態]
第2実施形態を説明する。本実施形態も、顔検出機能を搭載したディジタルカメラの実施形態である。ここでは、第1実施形態との相違点のみ説明する。相違点は、顔検出部15の動作内容にある。
図5は、本実施形態の顔検出部15の動作フローチャートである。図5に示すとおり、本実施形態の顔検出部15は、前述したステップS13bに代えてステップS13b’を実行する。以下、ステップS13b’を説明する。
[Second Embodiment]
A second embodiment will be described. This embodiment is also an embodiment of a digital camera equipped with a face detection function. Here, only differences from the first embodiment will be described. The difference is in the operation content of the
FIG. 5 is an operation flowchart of the
(ステップS13b’)
幾何変換処理後の画像(図3(b))では、前述したとおり像傾斜が発生しているので、顔検出部15は、画像内の像傾斜量分布を認識する。画像内の各位置の像傾斜量Δは、その位置に対応する被写体角度θ及び周方向角度φの関数として、Δ(θ,φ)で表される。
(Step S13b ′)
In the image after the geometric conversion process (FIG. 3B), since the image inclination occurs as described above, the
顔検出部15は、その像傾斜量Δ(θ,φ)により、画像内を複数の領域に分類する。ここでは、像傾斜量Δが−30°〜+30°である領域(0°領域)と、傾斜量Δが+30°〜+90°である領域(60°領域)と、傾斜量Δが−30°〜−90°である領域(−60°領域)とに分類する。
続いて、顔検出部15は、第1実施形態のステップS13bと同様、画像上の各位置に顔が存在しているか否かの判別を行うが、画像上の領域毎に異なる判別器を使い分ける。
The
Subsequently, the
例えば、0°領域に関する判別では、傾斜していない顔学習サンプルで予め学習した判別器を使用し、+60°領域に関する判別では、+60°だけ傾斜した顔学習サンプルで予め学習した判別器を使用し、−60°領域に関する判別では、−60°だけ傾斜した顔学習サンプルで予め学習した判別器を使用する。このような使い分けによると、画像内の領域毎に異なる角度の顔検出が行われることになる(ステップS13b’の説明終了)。 For example, a discriminator previously learned with a non-tilted face learning sample is used for discrimination regarding the 0 ° region, and a discriminator previously learned with a face learning sample inclined by + 60 ° is used for the discrimination regarding the + 60 ° region. In the discrimination regarding the −60 ° region, a discriminator learned in advance with a face learning sample inclined by −60 ° is used. According to such proper use, face detection at a different angle is performed for each region in the image (end of description of step S13b ').
以上、本実施形態の顔検出部15は、幾何変換処理後の画像の像傾斜量分布に応じて、画像内の領域毎に異なる角度の顔検出を行うので、画像上の有る位置に存在する顔が、幾何変換処理(ステップS12a)によって仮に傾斜したとしても、顔検出部15はその顔を漏れなく検出することができる。
[第3実施形態]
第3実施形態を説明する。本実施形態も、顔検出機能を搭載したディジタルカメラの実施形態である。ここでは、第1実施形態との相違点のみ説明する。相違点は、顔検出部15の動作内容にある。
As described above, the
[Third Embodiment]
A third embodiment will be described. This embodiment is also an embodiment of a digital camera equipped with a face detection function. Here, only differences from the first embodiment will be described. The difference is in the operation content of the
図6は、本実施形態の顔検出部15の動作フローチャートである。図6に示すとおり、本実施形態の顔検出部15は、前述したステップS13bに代えてステップS13b”を実行する。以下、ステップS13b”を説明する。
(ステップS13b”)
幾何変換処理後の画像(図3(b))では、前述したとおり像倍率の変化が発生しているので、顔検出部15は、画像内の像倍率分布を認識する。光軸中心の像倍率を基準とした各位置の像倍率比κは、その位置に対応する被写体角度θの関数として、式(5)で表される。
FIG. 6 is an operation flowchart of the
(Step S13b ")
In the image after the geometric transformation process (FIG. 3B), since the change in the image magnification has occurred as described above, the
続いて、顔検出部15は、第1実施形態のステップS13bと同様、画像上の各位置に顔が存在しているか否かの判別を行うが、画像上の領域毎に判別器を使い分ける。
例えば、1倍領域に関する判別では、標準サイズの顔学習サンプルで予め学習した判別器を使用し、1.5倍領域に関する判別では、その1.5倍サイズの顔学習サンプルで予め学習した判別器を使用し、2倍領域に関する判別では、その2倍サイズの顔学習サンプルで予め学習した判別器を使用する。このような使い分けによると、画像内の領域毎に異なるサイズの顔検出が行われることになる(ステップS13b”の説明終了)。
Subsequently, the
For example, a discriminator previously learned with a standard size face learning sample is used for discrimination regarding the 1 × region, and a discriminator previously learned with the 1.5 × size face learning sample is used for discrimination with respect to the 1.5 × region. In the discrimination regarding the double region, a discriminator learned in advance with the face learning sample of the double size is used. According to such use, face detection with a different size is performed for each region in the image (end of description of step S13b ″).
以上、本実施形態の顔検出部15は、幾何変換処理後の画像の像倍率分布に応じて、画像内の領域毎に異なるサイズの顔検出を行うので、画像上の有る位置に存在する顔のサイズが、幾何変換処理(ステップS12a)によって仮に変化したとしても、顔検出部15はその顔を漏れなく検出することができる。
[その他]
なお、上述した第3実施形態は、第1実施形態の変形例であったが、第2実施形態を同様に変形してもよい。
As described above, the
[Others]
In addition, although 3rd Embodiment mentioned above was a modification of 1st Embodiment, you may deform | transform 2nd Embodiment similarly.
また、上述した第2実施形態では、画像内の領域毎に異なる角度の顔検出を行ったが、画像内の位置毎に異なる角度の顔検出を行ってもよい。
また、上述した第3実施形態では、画像内の領域毎に異なるサイズの顔検出を行ったが、画像内の位置毎に異なるサイズの顔検出を行ってもよい。
また、上述した各実施形態では、撮影レンズ11の歪曲収差が小さいので幾何変換処理に式(2)を用いたが、撮影レンズ11の歪曲収差を無視できないときには、式(2)の代わりに、その歪曲収差を反映させた式を用いればよい。
In the second embodiment described above, face detection at different angles is performed for each region in the image, but face detection at different angles may be performed for each position in the image.
In the third embodiment described above, face detection with a different size is performed for each region in the image, but face detection with a different size may be performed for each position in the image.
Further, in each of the above-described embodiments, Equation (2) is used for the geometric transformation process because the distortion aberration of the photographing
また、上述した各実施形態のディジタルカメラは、顔検出の結果を逆光補正又は肌色補正に利用したが、オートフォーカスに利用してもよい。但し、オートフォーカスに利用する場合、被処理画像は、撮影後に記憶部19に格納された画像(撮影画像)ではなく、撮影前に撮像素子12が連続的に取得する粗い画像(スルー画像)となる。
また、上述した各実施形態の判別には、テンプレートマッチング、SVM(Support Vector Machine)、ニューラルネットワーク、AdaBoostなど、公知の各方法が適用可能である。
Moreover, although the digital camera of each embodiment described above uses the result of face detection for backlight correction or skin color correction, it may be used for autofocus. However, when used for autofocusing, the processed image is not an image (captured image) stored in the
In addition, for each of the above-described embodiments, various known methods such as template matching, SVM (Support Vector Machine), neural network, and AdaBoost can be applied.
また、上述した各実施形態では、顔検出処理(図2等参照)を顔検出に専用の顔検出部15に実行させたが、他の処理に兼用される画像処理回路又はCPU18に実行させてもよい。
また、上述した各実施形態では、顔検出処理の全てをディジタルカメラが実行したが、顔検出処理の一部又は全部をコンピュータに実行させてもよい。その場合、顔検出処理の一部又は全部をコンピュータに実行させる顔検出プログラムを用意し、それをインターネットや記憶媒体(CD−ROM等)を介してコンピュータへインストールすればよい。
In each of the above-described embodiments, the face detection process (see FIG. 2 and the like) is executed by the
Further, in each of the above-described embodiments, the digital camera executes all of the face detection processing, but the computer may execute part or all of the face detection processing. In that case, a face detection program for causing a computer to execute part or all of the face detection processing may be prepared and installed in the computer via the Internet or a storage medium (CD-ROM or the like).
また、上述した各実施形態では、人間の顔を検出対象とするパターン検出処理を説明したが、人間の顔以外のものを検出対象とするパターン検出にも本発明は適用可能である。
また、上述した各実施形態では、歪曲収差の小さい一般的な撮影レンズ(被写体角度θと像高hとの関係がh∝tanθ)が使用されたが、立体射影方式の撮影レンズ(被写体角度θと像高hとの関係がh∝tan(θ/2))を使用してもよい。その場合、上述した幾何変換処理(ステップS12a)の役割を撮影レンズが担うので、幾何変換処理(ステップ12a)及び逆変換処理(ステップS12b)を画像処理回路(顔検出部15)が実行する必要は無い。
Further, in each of the above-described embodiments, the pattern detection process for detecting a human face is described, but the present invention can also be applied to pattern detection for a target other than a human face.
In each of the above-described embodiments, a general photographing lens having a small distortion aberration (the relationship between the subject angle θ and the image height h is h∝tanθ) is used. However, a stereoscopic projection photographing lens (subject angle θ H∝ tan (θ / 2)) may be used as the relationship between the image height h and the image height h. In this case, since the photographing lens plays the role of the above-described geometric conversion process (step S12a), the image processing circuit (face detection unit 15) needs to execute the geometric conversion process (step 12a) and the inverse conversion process (step S12b). There is no.
また、上述した各実施形態では、ディジタルカメラを説明したが、顔認証システム、監視カメラシステムなど、撮影レンズを備えた他の機器にも本発明は適用可能である。
また、上述した各実施形態では、撮影レンズを備えた機器(ディジタルカメラ、顔認証システム、監視カメラシステムなど)を説明したが、光学系で撮影した画像と、その光学系の固有情報とを取り込むことができる他の機器、例えば、スキャナ、プリンタ、画像ストレージャなどにも本発明は適用可能である。
In each of the above-described embodiments, the digital camera has been described. However, the present invention can be applied to other devices including a photographing lens, such as a face authentication system and a surveillance camera system.
In each of the above-described embodiments, a device (such as a digital camera, a face authentication system, or a surveillance camera system) including a photographing lens has been described. However, an image photographed by an optical system and unique information of the optical system are captured. The present invention can also be applied to other devices that can be used, such as scanners, printers, and image storages.
11…撮影レンズ,12…撮像素子,13…A/D変換器,14…フレームメモリ,15…顔検出部,16…表示部,17…操作釦17,19…記録部,18…CPU
DESCRIPTION OF
Claims (6)
前記抑制後の前記画像から特定パターンを検出するパターン検出手順とを含み、
前記抑制手順では、
前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、
前記パターン検出手順では、
前記抑制後の前記画像の像傾斜量分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、
前記判別の際には、前記抑制により前記画像に生じる像傾斜量分布に応じて前記画像を領域分けすると共に、検出方向の異なる複数の判別器を領域毎に使い分ける
ことを特徴とするパターン検出方法。 A suppression procedure for suppressing the discrepancy between the circumferential component and the radial component of the image magnification at each position of the image taken by the optical system;
A pattern detection procedure for detecting a specific pattern from the image after the suppression,
In the suppression procedure,
In order to suppress the discrepancy, the image is subjected to image processing for geometric conversion into the same image as that captured by the stereoscopic projection optical system,
In the pattern detection procedure,
According to the image inclination amount distribution of the image after the suppression, the presence or absence of the specific pattern at each position of the image ,
In the discrimination, the image is divided into regions according to an image inclination amount distribution generated in the image by the suppression, and a plurality of discriminators having different detection directions are used for each region. .
前記抑制後の前記画像から特定パターンを検出するパターン検出手順とを含み、
前記抑制手順では、
前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、
前記パターン検出手順では、
前記抑制後の前記画像の像倍率分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、
前記判別の際には、前記抑制により前記画像に生じる像倍率分布に応じて前記画像を領域分けすると共に、検出サイズの異なる複数の判別器を領域毎に使い分ける
ことを特徴とするパターン検出方法。 A suppression procedure for suppressing the discrepancy between the circumferential component and the radial component of the image magnification at each position of the image taken by the optical system;
A pattern detection procedure for detecting a specific pattern from the image after the suppression,
In the suppression procedure,
In order to suppress the discrepancy, the image is subjected to image processing for geometric conversion into the same image as that captured by the stereoscopic projection optical system,
In the pattern detection procedure,
According to the image magnification distribution of the image after the suppression, determine the presence or absence of the specific pattern at each position of the image ,
In the discrimination, the image is divided into regions according to the image magnification distribution generated in the image by the suppression, and a plurality of discriminators having different detection sizes are used for each region .
前記抑制後の前記画像から特定パターンを検出するパターン検出手段とを備え、
前記抑制手段は、
前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、
前記パターン検出手段は、
前記抑制後の前記画像の像傾斜量分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、
前記判別の際には、前記抑制により前記画像に生じる像傾斜量分布に応じて前記画像を領域分けすると共に、検出方向の異なる複数の判別器を領域毎に使い分ける
ことを特徴とするパターン検出装置。 Suppression means for suppressing the discrepancy between the circumferential component and the radial component of the image magnification at each position of the image taken by the optical system;
Pattern detecting means for detecting a specific pattern from the image after the suppression,
The suppression means is
In order to suppress the discrepancy, the image is subjected to image processing for geometric conversion into the same image as that captured by the stereoscopic projection optical system,
The pattern detection means includes
According to the image inclination amount distribution of the image after the suppression, the presence or absence of the specific pattern at each position of the image ,
In the determination, the image is divided into regions according to an image inclination amount distribution generated in the image by the suppression, and a plurality of discriminators having different detection directions are used for each region. .
前記抑制後の前記画像から特定パターンを検出するパターン検出手段とを備え、
前記抑制手段は、
前記不一致を抑制するために、前記画像に対して、立体射影方式の光学系で撮影されたのと同じ画像へと幾何変換するための画像処理を施し、
前記パターン検出手段は、
前記抑制後の前記画像の像倍率分布に応じて、前記画像の各位置における前記特定パターンの有無を判別し、
前記判別の際には、前記抑制により前記画像に生じる像倍率分布に応じて前記画像を領域分けすると共に、検出サイズの異なる複数の判別器を領域毎に使い分ける
ことを特徴とするパターン検出装置。 Suppression means for suppressing the discrepancy between the circumferential component and the radial component of the image magnification at each position of the image taken by the optical system;
Pattern detecting means for detecting a specific pattern from the image after the suppression,
The suppression means is
In order to suppress the discrepancy, the image is subjected to image processing for geometric conversion into the same image as that captured by the stereoscopic projection optical system,
The pattern detecting means includes
According to the image magnification distribution of the image after the suppression, determine the presence or absence of the specific pattern at each position of the image ,
In the discrimination, the image is divided into regions according to the image magnification distribution generated in the image by the suppression, and a plurality of discriminators having different detection sizes are used for each region .
前記撮像素子が取得した画像に対しパターン検出処理を施す請求項4又は請求項5に記載のパターン検出装置と
を備えたことを特徴とする撮像装置。 An image sensor for capturing an image of a subject and acquiring an image;
An image pickup apparatus comprising: the pattern detection apparatus according to claim 4 or 5 which performs pattern detection processing on an image acquired by the image pickup element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006189254A JP4807170B2 (en) | 2006-07-10 | 2006-07-10 | Pattern detection method, pattern detection program, pattern detection apparatus, and imaging apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006189254A JP4807170B2 (en) | 2006-07-10 | 2006-07-10 | Pattern detection method, pattern detection program, pattern detection apparatus, and imaging apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008015979A JP2008015979A (en) | 2008-01-24 |
JP4807170B2 true JP4807170B2 (en) | 2011-11-02 |
Family
ID=39072897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006189254A Active JP4807170B2 (en) | 2006-07-10 | 2006-07-10 | Pattern detection method, pattern detection program, pattern detection apparatus, and imaging apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4807170B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5020894B2 (en) * | 2008-06-10 | 2012-09-05 | キヤノン株式会社 | Image processing apparatus, control method, and program |
JP5253194B2 (en) * | 2009-01-20 | 2013-07-31 | セコム株式会社 | Object detection device |
JP6529879B2 (en) * | 2015-09-29 | 2019-06-12 | オリンパス株式会社 | Image pickup apparatus and control method of image pickup apparatus |
JP6688277B2 (en) * | 2017-12-27 | 2020-04-28 | 本田技研工業株式会社 | Program, learning processing method, learning model, data structure, learning device, and object recognition device |
JP2020154408A (en) * | 2019-03-18 | 2020-09-24 | ソニーセミコンダクタソリューションズ株式会社 | Information processing device, information processing method, and information processing system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000221391A (en) * | 1998-11-25 | 2000-08-11 | Fitto:Kk | Image pickup unit using fisheye lens, picture display device and information recording medium |
JP4766841B2 (en) * | 2003-09-08 | 2011-09-07 | 株式会社オートネットワーク技術研究所 | Camera device and vehicle periphery monitoring device mounted on vehicle |
JP2005216200A (en) * | 2004-02-02 | 2005-08-11 | Alpine Electronics Inc | Other vehicle detecting apparatus and method |
-
2006
- 2006-07-10 JP JP2006189254A patent/JP4807170B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008015979A (en) | 2008-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8861806B2 (en) | Real-time face tracking with reference images | |
US9661245B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP5704905B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
EP1589478B1 (en) | Apparatus for magnifying an image | |
JP5445460B2 (en) | Impersonation detection system, impersonation detection method, and impersonation detection program | |
EP3236391B1 (en) | Object detection and recognition under out of focus conditions | |
JP5906028B2 (en) | Image processing apparatus and image processing method | |
KR101679290B1 (en) | Image processing method and apparatus | |
JP4811462B2 (en) | Image processing method, image processing program, image processing apparatus, and imaging apparatus | |
JP2010218551A (en) | Face recognition method, computer readable medium, and image processor | |
WO2012086188A1 (en) | Camera device, image processing system, image processing method and image processing program | |
JP2006228199A (en) | Face extraction device and semiconductor integrated circuit | |
JP2017091518A (en) | Image generating method and apparatus | |
JP4807170B2 (en) | Pattern detection method, pattern detection program, pattern detection apparatus, and imaging apparatus | |
US20170330025A1 (en) | Image processing apparatus, image processing method, and non-transitory computer-readable storage medium | |
JP2000339476A (en) | Eye position and face position detection device | |
JP6485655B2 (en) | Face authentication device, face authentication method, and face authentication program | |
JP4537143B2 (en) | Image processing apparatus and method, imaging apparatus, and program | |
JP5791361B2 (en) | PATTERN IDENTIFICATION DEVICE, PATTERN IDENTIFICATION METHOD, AND PROGRAM | |
WO2015145977A1 (en) | Information processing apparatus, information processing method, recording medium, and pos terminal apparatus | |
JP2005316958A (en) | Red eye detection device, method, and program | |
JPWO2020213166A1 (en) | Image processing device, image processing method, and image processing program | |
JP2008181439A (en) | Face detection device and method, and imaging apparatus | |
JP2008211534A (en) | Face detecting device | |
JP6460510B2 (en) | Image processing apparatus, image processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090603 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100204 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110422 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110426 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110627 |
|
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: 20110719 |
|
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: 20110801 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140826 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4807170 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: 20140826 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 |