Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4824636B2 - Face detection apparatus, method and program - Google Patents
[go: Go Back, main page]

JP4824636B2 - Face detection apparatus, method and program - Google Patents

Face detection apparatus, method and program Download PDF

Info

Publication number
JP4824636B2
JP4824636B2 JP2007159222A JP2007159222A JP4824636B2 JP 4824636 B2 JP4824636 B2 JP 4824636B2 JP 2007159222 A JP2007159222 A JP 2007159222A JP 2007159222 A JP2007159222 A JP 2007159222A JP 4824636 B2 JP4824636 B2 JP 4824636B2
Authority
JP
Japan
Prior art keywords
image
face
imaging
face detection
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007159222A
Other languages
Japanese (ja)
Other versions
JP2008312036A (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.)
Toyota Motor Corp
Toyota Central R&D Labs Inc
Original Assignee
Toyota Motor Corp
Toyota Central R&D Labs Inc
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 Toyota Motor Corp, Toyota Central R&D Labs Inc filed Critical Toyota Motor Corp
Priority to JP2007159222A priority Critical patent/JP4824636B2/en
Publication of JP2008312036A publication Critical patent/JP2008312036A/en
Application granted granted Critical
Publication of JP4824636B2 publication Critical patent/JP4824636B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Description

本発明は、顔検出装置、方法及びプログラムに関する。   The present invention relates to a face detection apparatus, method, and program.

従来、様々な環境下であっても、所定のパラメータを制御することにより人の顔を検出する技術が提案されている。特許文献1の本人特定装置は、識別不可能なエラーが発生した場合、人の身体的特徴を取得する画像取得手段の再画像取得時に、身体的特徴の再画像取得結果を前回と異ならせる。具体的には、顔が傾いている場合は、最も有効なパラメータが判定され、正面顔の画像が得られるように撮像カメラが移動調整される。また、顔の半分が暗くなった場合は、最も有効なパラメータが判定され、正規の均一な照明が得られるように照明ライトが移動調整される。   Conventionally, a technique for detecting a human face by controlling a predetermined parameter even under various environments has been proposed. When an unidentifiable error occurs, the personal identification device of Patent Document 1 makes the physical feature re-image acquisition result different from the previous one at the time of re-image acquisition of the image acquisition means for acquiring the human physical feature. Specifically, when the face is tilted, the most effective parameter is determined, and the imaging camera is moved and adjusted so that an image of the front face is obtained. When half of the face becomes dark, the most effective parameter is determined, and the illumination light is moved and adjusted so that regular uniform illumination is obtained.

特許文献2の顔認識装置は、人物の顔画像を用いて当該人物を認識する際に、周辺の照明環境や人物の洋服の変化などの影響を受けずに人物の認識に最適な画像を取得する。
特開平11−316836号公報 特開2005−202731号公報
When recognizing a person using a person's face image, the face recognition apparatus of Patent Document 2 obtains an optimal image for recognizing the person without being affected by the surrounding lighting environment or changes in the person's clothes. To do.
Japanese Patent Application Laid-Open No. 11-316836 JP 2005-202731 A

しかし、特許文献1では、最も有効なパラメータの具体的な求め方が記載されていない。このため、特許文献1の本人特定装置によって変更されたパラメータが最適であるかについては保証されていない。また、特許文献2の顔認識装置は、パラメータ制御のために予め学習する必要があり、また、顔照合の実行時にパラメータを様々な値に変更してそれぞれにおける顔の類似度から最適なパラメータを設定しなければならず、煩雑な処理を要してしまう。   However, Patent Document 1 does not describe a specific method for obtaining the most effective parameter. For this reason, it is not guaranteed whether the parameter changed by the identification device of Patent Document 1 is optimal. In addition, the face recognition device of Patent Document 2 needs to learn in advance for parameter control, and when performing face matching, the parameter is changed to various values, and the optimum parameter is determined based on the similarity of each face. It must be set, and complicated processing is required.

このため、特許文献1及び2の技術は、照明、明るさなどが逐次変化する状況では、その変化に対応することができず、人物の顔を迅速に検出できないという問題がある。   For this reason, the techniques of Patent Documents 1 and 2 have a problem that, in a situation where illumination, brightness, and the like change sequentially, the change cannot be dealt with and the face of a person cannot be detected quickly.

本発明は、上述した課題を解決するために提案されたものであり、撮影環境が変化しても、その変化に迅速に対応して人物の顔を検出できる顔検出装置、方法及びプログラムを提供することを目的とする。   The present invention has been proposed to solve the above-described problems, and provides a face detection apparatus, method, and program capable of detecting a person's face quickly in response to a change in a shooting environment. The purpose is to do.

本発明に係る顔検出装置は、人物の顔を撮像して画像を生成する撮像手段と、前記撮像手段の撮像パラメータを変更するパラメータ変更手段と、前記パラメータ変更手段により前記撮像パラメータが変更される毎に、前記撮像手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出する顔検出尤度算出手段と、前記顔検出尤度算出手段により算出された顔検出尤度が最も顔らしさを示すときの撮像パラメータになるように前記撮像手段を制御する撮像制御手段と、を備えている。 Face detecting apparatus according to the present invention, the imaging parameters are changed and the image pickup means for generating an image by capturing, a parameter changing means for changing the imaging parameters of said imaging means by said parameter changing means the face of a person The face detection likelihood calculating means for calculating the face detection likelihood indicating the face-likeness based on the image generated by the imaging means and the face detection likelihood calculated by the face detection likelihood calculating means Imaging control means for controlling the imaging means so as to be an imaging parameter when the face looks most like.

上記顔検出装置によれば、撮像パラメータが変更される毎に、撮像手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出するし、算出された顔検出尤度が最も顔らしさを示すときの撮像パラメータになるように撮像手段を制御することにより、撮影環境が変化しても、その変化に対応して撮像パラメータが変更されるので、迅速に顔を検出することができる。   According to the face detection device, each time the imaging parameter is changed, the face detection likelihood indicating the likelihood of a face is calculated based on the image generated by the imaging unit, and the calculated face detection likelihood is the highest. Even if the shooting environment changes, the imaging parameters are changed in accordance with the change by controlling the imaging means so that the imaging parameter is set to indicate the face likeness, so that the face can be detected quickly. it can.

本発明に係る顔検出装置は、人物の顔を撮像して画像を生成する撮像手段と、前記撮像手段により生成された画像を変換する画像変換手段と、前記画像変換手段の画像変換パラメータを変更するパラメータ変更手段と、前記パラメータ変更手段により前記画像変換パラメータが変更される毎に、前記画像変換手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出する顔検出尤度算出手段と、前記顔検出尤度算出手段により算出された顔検出尤度が最も顔らしさを示すときの画像変換パラメータになるように前記画像変換手段を制御する画像変換制御手段と、を備えた顔検出装置。 The face detection apparatus according to the present invention includes an imaging unit that captures an image of a person's face and generates an image, an image conversion unit that converts an image generated by the imaging unit, and an image conversion parameter of the image conversion unit is changed. and parameter changing means for, said by parameter changing means every time the image transformation parameters are changed, on the basis of the image conversion unit image generated by the face detection likelihood of calculating a face detection likelihood indicating a likelihood face Calculation means, and image conversion control means for controlling the image conversion means so that the face detection likelihood calculated by the face detection likelihood calculation means becomes an image conversion parameter when the face likelihood is most likely. Face detection device.

上記顔検出装置によれば、画像変換パラメータが変更される毎に、画像変換手段により生成された画像に基づいて顔らしさを示す顔検出尤度を算出し、算出された顔検出尤度が最も顔らしさを示すときの画像変換パラメータになるように画像変換手段を制御することにより、撮影環境が変化しても、その変化に対応して画像変換パラメータが変更されるので、迅速に顔を検出することができる。   According to the face detection device, each time the image conversion parameter is changed, the face detection likelihood indicating the likelihood of a face is calculated based on the image generated by the image conversion means, and the calculated face detection likelihood is the highest. Even if the shooting environment changes, the image conversion parameters are changed according to the change by controlling the image conversion means so that it becomes the image conversion parameter when the face looks like. can do.

本発明に係る顔検出装置、方法及びプログラムは、撮影環境が変化しても、その変化に対応して迅速に顔を検出することができる。   The face detection apparatus, method, and program according to the present invention can detect a face quickly in response to a change in the shooting environment.

以下、本発明の好ましい実施の形態について図面を参照しながら詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

[第1の実施形態]
図1は、本発明の実施の形態に係る顔検出装置の構成を示すブロック図である。顔検出装置は、人物の顔を撮像するカメラ10と、カメラ10により生成された画像に基づいて顔検出処理を行うコンピュータ20と、を備えている。
[First Embodiment]
FIG. 1 is a block diagram showing a configuration of a face detection apparatus according to an embodiment of the present invention. The face detection apparatus includes a camera 10 that captures an image of a person's face, and a computer 20 that performs face detection processing based on an image generated by the camera 10.

コンピュータ20は、CPU、RAM、ROM、入出力ポート等を備えている。コンピュータ20は、機能的には図1に示すように、画像を入力する画像入力部21と、画像入力部21に入力された画像に基づいて人物の顔検出処理を行う顔検出部22と、カメラ10のパラメータを調整するパラメータ調整部23と、調整されたパラメータに基づいてカメラ10を制御するカメラ制御部24と、を備えている。   The computer 20 includes a CPU, a RAM, a ROM, an input / output port, and the like. As shown in FIG. 1, the computer 20 functionally includes an image input unit 21 that inputs an image, a face detection unit 22 that performs a human face detection process based on the image input to the image input unit 21, A parameter adjustment unit 23 that adjusts parameters of the camera 10 and a camera control unit 24 that controls the camera 10 based on the adjusted parameters are provided.

以上のように構成された顔検出装置において、次の顔検出処理ルーチンが実行される。図2は、コンピュータ20が実行する顔検出処理ルーチンを示すフローチャートである。なお、本実施形態では、撮像パラメータとしてカメラゲインを用いた場合について説明する。   In the face detection apparatus configured as described above, the following face detection processing routine is executed. FIG. 2 is a flowchart showing a face detection processing routine executed by the computer 20. In the present embodiment, a case where a camera gain is used as an imaging parameter will be described.

ステップS11では、パラメータ調整部23は、基準画像パラメータpcを初期値p0に設定して、ステップS12に進む。ここでは、カメラゲインが1〜100まで連続して設定可能な場合は、初期値p0として例えば中間値50が設定される。また、本装置の使用環境下で最適な値を初期値p0としてもよい。   In step S11, the parameter adjustment unit 23 sets the reference image parameter pc to the initial value p0, and proceeds to step S12. Here, when the camera gain can be set continuously from 1 to 100, for example, an intermediate value 50 is set as the initial value p0. Further, an optimum value under the use environment of the present apparatus may be set as the initial value p0.

ステップS12では、パラメータ調整部23は、繰り返し回数iをゼロに設定して、ステップS13に進む。   In step S12, the parameter adjustment unit 23 sets the number of repetitions i to zero, and proceeds to step S13.

ステップS13では、パラメータ調整部23は、基準画像パラメータpdと画像パラメータ変動のためのパラメータc(i)を用いて、式(1)に示すように現状の基準画像パラメータpcを設定して、ステップS14に進む。   In step S13, the parameter adjusting unit 23 sets the current reference image parameter pc as shown in Expression (1) using the reference image parameter pd and the parameter c (i) for image parameter variation, and the step Proceed to S14.

Figure 0004824636
Figure 0004824636

ここで、c(i)は、繰り返し回数iに依存したパラメータであり、例えば式(2)に示すように定義される。   Here, c (i) is a parameter depending on the number of repetitions i, and is defined as shown in, for example, Expression (2).

Figure 0004824636
Figure 0004824636

ここで、Nは、繰り返し回数閾値である。Δpは画像パラメータの変動分であり、本実施形態では例えばΔp=2である。これにより、繰り返し回数iに応じて、基準画像パラメータpdを基準にして、画像パラメータpcが変動可能になる。   Here, N is a repeat count threshold value. Δp is a change amount of the image parameter. In this embodiment, Δp = 2, for example. Accordingly, the image parameter pc can be changed based on the reference image parameter pd according to the number of repetitions i.

例えば、N=5回、現在の基準画像パラメータpd=50である場合、i=0のときpc=46、i=1のときpc=48、i=2のときpc=50、i=3のときpc=52、i=4のときpc=54となる。これにより、少しずつ画像パラメータpcを変化させた状態で画像が生成される。   For example, when N = 5 times and the current reference image parameter pd = 50, pc = 46 when i = 0, pc = 48 when i = 1, pc = 50 when i = 2, i = 3 When pc = 52 and i = 4, pc = 54. Thus, an image is generated with the image parameter pc being changed little by little.

ステップS14では、カメラ制御部24は、パラメータ調整部23において現在設定されている画像パラメータpcになるようにカメラ10のカメラゲインを調整して、ステップS15に進む。この結果、カメラ10は、カメラ制御部24で設定されたカメラゲインの状態で人物を撮像して、画像を生成する。この画像は、画像入力部21を介して、顔検出部22に供給される。   In step S14, the camera control unit 24 adjusts the camera gain of the camera 10 so that the image parameter pc currently set in the parameter adjustment unit 23 is obtained, and the process proceeds to step S15. As a result, the camera 10 captures an image of a person with the camera gain set by the camera control unit 24 and generates an image. This image is supplied to the face detection unit 22 via the image input unit 21.

ステップS15では、顔検出部22は、画像入力部21から供給された画像に基づいて顔の検出処理を行い、更に検出された顔の信頼度(顔らしさを示す指標)である顔検出尤度φ(i)を算出する。ここで、顔の検出処理は、公知の画像処理方法を用いることができ、学習型の顔検出処理であるニューラルネットワークを用いた手法、サポートベクターマシンを用いた方法、あるいはブースティング手法を用いることができる。   In step S <b> 15, the face detection unit 22 performs face detection processing based on the image supplied from the image input unit 21, and the face detection likelihood that is the reliability of the detected face (an index indicating the likelihood of a face). φ (i) is calculated. Here, a known image processing method can be used for the face detection process, and a method using a neural network that is a learning type face detection process, a method using a support vector machine, or a boosting method is used. Can do.

ニューラルネットワークを用いた手法としては、例えば、「Rowleyら、Neural Network-Based Face Detection(PAMI, January 1998)」に記載されている技術を用いることができる。また、ブースティング手法として、例えば、「Violaら、Robust Real-Time Face Detection, International Journal of Computer Vision 57(2), 137-154, 2004」に記載された技術を用いることができる。   As a technique using a neural network, for example, a technique described in “Rowley et al., Neural Network-Based Face Detection (PAMI, January 1998)” can be used. Further, as a boosting technique, for example, the technique described in “Viola et al., Robust Real-Time Face Detection, International Journal of Computer Vision 57 (2), 137-154, 2004” can be used.

そして、顔検出部22は、上記のように顔検出尤度φ(i)を算出し、この顔検出尤度φ(i)を記録した後、ステップS16に進む。本実施形態で使用される顔検出尤度φ(i)は、顔検出処理により検出された画像特徴が顔らしくなくなるに従ってゼロに近づき、画像特徴が顔らしくなるに従って大きな値になる。   Then, the face detection unit 22 calculates the face detection likelihood φ (i) as described above, records the face detection likelihood φ (i), and then proceeds to step S16. The face detection likelihood φ (i) used in the present embodiment approaches zero as the image feature detected by the face detection process does not look like a face, and increases as the image feature looks like a face.

ステップS16では、パラメータ調整部23は、繰り返し回数iを1増分し、増分後の繰り返し回数iが繰り返し回数閾値Nより小さいか否かを判定する。増分後の繰り返し回数iが繰り返し回数閾値Nより小さいときはステップS13に戻り、小さくないときはステップS17に進む。この結果、繰り返し回数iが繰り返し回数閾値Nに達するまで、ステップS13からステップS15までの処理が繰り返される。   In step S <b> 16, the parameter adjustment unit 23 increments the number of repetitions i by 1, and determines whether or not the number of repetitions i after the increment is smaller than the repetition number threshold N. When the number of repetitions i after the increment is smaller than the repetition number threshold N, the process returns to step S13, and when not smaller, the process proceeds to step S17. As a result, the processing from step S13 to step S15 is repeated until the number of repetitions i reaches the repetition number threshold N.

ステップS17では、パラメータ調整部23は、顔検出処理に最適な基準画像パラメータpdを更新する。具体的には、φ(i){i=0,…,N−1}において最大の尤度を与えるiをimaxとすると、パラメータ調整部23は、式(3)に示すように、pd+c(imax)を新たな基準画像パラメータpdとして、ステップS18に進む。 In step S17, the parameter adjustment unit 23 updates the reference image parameter pd that is optimal for the face detection process. Specifically, if i that gives the maximum likelihood in φ (i) {i = 0,..., N−1} is i max , the parameter adjustment unit 23 obtains pd + c as shown in Equation (3). Using (i max ) as a new reference image parameter pd, the process proceeds to step S18.

Figure 0004824636
Figure 0004824636

ただし、imaxは次の式(4)を満たす。 However, i max satisfies the following equation (4).

Figure 0004824636
Figure 0004824636

ステップS18では、パラメータ調整部23は、処理を継続するか否かを判定し、処理の終了が指示されない場合は処理を継続すべく再びステップS12に戻る。そして、更新された基準画像パラメータpdを用いて上述した処理が行われる。また、処理の終了が指示されたときは処理を終了する。そして、この処理の終了後、顔検出部22は、更新された新たな基準画像パラメータpd(本実施形態ではカメラゲイン)のときの画像に基づいて人物の顔を検出する。   In step S18, the parameter adjustment unit 23 determines whether or not to continue the process. If the end of the process is not instructed, the process returns to step S12 again to continue the process. Then, the above-described processing is performed using the updated reference image parameter pd. When the end of the process is instructed, the process ends. Then, after this process is completed, the face detection unit 22 detects a person's face based on the image at the updated new reference image parameter pd (camera gain in this embodiment).

以上のように、第1の実施形態に係る顔検出装置は、各々異なるカメラゲインを用いて人物を撮像し、生成された画像から顔らしさを表す顔検出尤度を算出し、その顔検出尤度がもっとも最適な値になるときのカメラゲインを次回の撮像に用いる。このため、顔検出装置は、連続的に顔検出を行う際に徐々に明るさの条件や照明の当たり具合などが変化する場合においても、安定に顔を検出することができる。   As described above, the face detection apparatus according to the first embodiment images a person using different camera gains, calculates a face detection likelihood representing the likelihood of a face from the generated image, and the face detection likelihood. The camera gain when the degree becomes the most optimal value is used for the next imaging. For this reason, the face detection apparatus can detect the face stably even when the brightness condition, the lighting condition, etc. gradually change when performing face detection continuously.

[第2の実施形態]
つぎに、本発明の第2の実施形態について説明する。なお、第1の実施形態と同一の部位には同一の符号を付し、主に異なる点について説明する。第1の実施形態では撮像パラメータとしてカメラゲインを用いたが、第2の実施形態ではカメラゲインの代わりに画像変換パラメータとしてガンマ補正係数を用いる。このとき、図2の各ステップでは、第1の実施形態と同様の処理が行われるが、次のステップS11、S13、S14、S17では、以下のような処理が行われる。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. In addition, the same code | symbol is attached | subjected to the site | part same as 1st Embodiment, and a different point is mainly demonstrated. In the first embodiment, the camera gain is used as the imaging parameter, but in the second embodiment, a gamma correction coefficient is used as the image conversion parameter instead of the camera gain. At this time, the same processing as in the first embodiment is performed in each step of FIG. 2, but the following processing is performed in the following steps S11, S13, S14, and S17.

ステップS11では、パラメータ調整部23は、基準画像パラメータpdの初期値p0として、例えば標準的なガンマ補正係数1.0を設定する。   In step S11, the parameter adjustment unit 23 sets, for example, a standard gamma correction coefficient 1.0 as the initial value p0 of the reference image parameter pd.

ステップS13では、パラメータ調整部23は、式(2)におけるΔpを0.1として、画像パラメータpcを設定する。この場合、例えばN=5とすると、画像パラメータpcは0.98〜1.02までの値をとる。   In step S13, the parameter adjusting unit 23 sets the image parameter pc by setting Δp in the equation (2) to 0.1. In this case, for example, if N = 5, the image parameter pc takes a value from 0.98 to 1.02.

ステップS14では、カメラ制御部24は、パラメータ調整部23で現在設定されているガンマ補正係数になるようにカメラ10を制御する。この結果、カメラ10は、カメラ制御部24で設定されたガンマ補正係数を用いて人物の画像にガンマ補正を行った後、画像を出力する。   In step S <b> 14, the camera control unit 24 controls the camera 10 so that the gamma correction coefficient currently set by the parameter adjustment unit 23 is obtained. As a result, the camera 10 performs gamma correction on the human image using the gamma correction coefficient set by the camera control unit 24, and then outputs the image.

ステップS17では、パラメータ調整部23は、式(3)に従って基準画像パラメータpdを更新する。   In step S17, the parameter adjustment unit 23 updates the reference image parameter pd according to Expression (3).

以上のように、第2の実施形態に係る顔検出装置は、一般的にガンマ補正係数は1.0に設定されているが、顔検出尤度φ(i)が最適な値になるようなガンマ補正係数を設定することにより、カメラ10により生成される画像の質を向上させることができる。   As described above, in the face detection apparatus according to the second embodiment, the gamma correction coefficient is generally set to 1.0, but the face detection likelihood φ (i) is an optimal value. By setting the gamma correction coefficient, the quality of the image generated by the camera 10 can be improved.

[第3の実施形態]
つぎに、本発明の第3の実施形態について説明する。なお、上述した実施形態と同一の部位には同一の符号を付し、主に異なる点について説明する。第3の実施形態では、画像変換パラメータとして、濃度変換のための閾値を用いる。なお、濃度変換は、画像入力部21において行われる。
[Third Embodiment]
Next, a third embodiment of the present invention will be described. In addition, the same code | symbol is attached | subjected to the site | part same as embodiment mentioned above, and a different point is mainly demonstrated. In the third embodiment, a threshold value for density conversion is used as the image conversion parameter. The density conversion is performed in the image input unit 21.

図3は、入力レベルに対する出力レベルを表した濃度変換テーブルを示す図である。(ア)の濃度変換テーブルは、濃度変換を行わない場合の入力レベルと出力レベルの関係を示している。(イ)の濃度変換テーブルは、入力レベルVを輝度値0に、入力レベル(V+150)を輝度値255に変換することを示している。(イ)の濃度変換テーブルは、対象の輝度分布が集中している場合に、輝度分散を可能にする。   FIG. 3 is a diagram showing a density conversion table representing output levels with respect to input levels. The density conversion table (a) shows the relationship between the input level and the output level when density conversion is not performed. The density conversion table (A) indicates that the input level V is converted to a luminance value 0 and the input level (V + 150) is converted to a luminance value 255. The density conversion table of (a) enables luminance dispersion when the target luminance distribution is concentrated.

そこで、本実施形態では、画像入力部21が、画像パラメータとしてこの入力レベルVを用いて、顔検出に最適な入力レベルVとなるような濃度変換テーブルを設定する。このとき、図2の各ステップでは、第1の実施形態と同様の処理が行われるが、次のステップS11、S13、S14、S15、S17では、以下のような処理が行われる。   Therefore, in the present embodiment, the image input unit 21 uses this input level V as an image parameter to set a density conversion table that provides an input level V that is optimal for face detection. At this time, in each step of FIG. 2, the same processing as that of the first embodiment is performed, but in the following steps S11, S13, S14, S15, and S17, the following processing is performed.

ステップS11では、パラメータ調整部23は、(1)濃度変換の対象となる入力レベルの幅を例えば150とし、(2)入力レベル128が出力レベル128に相当する、という条件を満たすように、初期値p0を設定する。本実施形態では、基準画像パラメータpdの初期値p0として、入力レベル53が設定される。   In step S11, the parameter adjustment unit 23 sets the initial level so as to satisfy the condition that (1) the width of the input level to be subjected to density conversion is 150, for example, and (2) the input level 128 corresponds to the output level 128. Set the value p0. In the present embodiment, the input level 53 is set as the initial value p0 of the reference image parameter pd.

ステップS13では、パラメータ調整部23は、式(2)における△p=3として、画像パラメータpcを設定する。この場合、例えばN=5であれば、図3における入力レベルVの値は、47、50、53、56、59の値になる。   In step S13, the parameter adjusting unit 23 sets the image parameter pc as Δp = 3 in the equation (2). In this case, for example, if N = 5, the value of the input level V in FIG. 3 is 47, 50, 53, 56, 59.

ステップS14では、画像入力部21は、パラメータ調整部23で現在設定されている入力レベルVになるような濃度変換テーブルを作成し、この濃度変換テーブルに従って、入力画像の濃度変換を行う。   In step S14, the image input unit 21 creates a density conversion table so that the input level V currently set by the parameter adjustment unit 23 is obtained, and performs density conversion of the input image in accordance with the density conversion table.

ステップS15では、顔検出部22は、画像入力部21で濃度変換された画像を用いて顔検出処理を実行する。   In step S <b> 15, the face detection unit 22 executes face detection processing using the image whose density has been converted by the image input unit 21.

ステップS17では、パラメータ調整部23は、式(3)に従って基準画像パラメータpdを更新する。   In step S17, the parameter adjustment unit 23 updates the reference image parameter pd according to Expression (3).

以上のように、第3の実施形態に係る発明は、入力画像の濃度変換のための閾値(図3の入力レベルの切片)を、顔検出尤度を基に最適な値に設定することで、環境の明るさや照明の当たり具合の変動に対しても安定な顔検出を実現できる。   As described above, the invention according to the third embodiment sets the threshold value for the density conversion of the input image (the intercept of the input level in FIG. 3) to an optimal value based on the face detection likelihood. In addition, stable face detection can be realized even with fluctuations in the brightness of the environment and lighting conditions.

なお、本発明は、上述した実施の形態に限定されるものではなく、特許請求の範囲に記載された範囲内で設計上の変更をされたものにも適用可能であるのは勿論である。   Note that the present invention is not limited to the above-described embodiment, and it is needless to say that the present invention can also be applied to a design modified within the scope of the claims.

例えば、撮像パラメータ及び画像変換パラメータは、上述した実施形態のものに限定されるものではなく、カメラの電子シャッタ速度や、絞り値、或いは濃度変換のための変換関数などにも適用可能である。また、撮像パラメータ、画像変換パラメータは、それぞれの任意の画像パラメータを組み合わせたものでもよい。なお、撮像パラメータと画像変換パラメータの制御は、同時に行ってもよい。   For example, the imaging parameter and the image conversion parameter are not limited to those of the above-described embodiment, and can be applied to a camera electronic shutter speed, an aperture value, or a conversion function for density conversion. Further, the imaging parameters and the image conversion parameters may be combinations of arbitrary image parameters. Note that the imaging parameter and the image conversion parameter may be controlled simultaneously.

本発明の実施の形態に係る顔検出装置の構成を示すブロック図である。It is a block diagram which shows the structure of the face detection apparatus which concerns on embodiment of this invention. コンピュータが実行する顔検出処理ルーチンを示すフローチャートである。It is a flowchart which shows the face detection process routine which a computer performs. 入力レベルに対する出力レベルを表した濃度変換テーブルを示す図である。It is a figure which shows the density | concentration conversion table showing the output level with respect to an input level.

符号の説明Explanation of symbols

10 カメラ
20 コンピュータ
21 画像入力部
22 顔検出部
23 パラメータ調整部
24 カメラ制御部
DESCRIPTION OF SYMBOLS 10 Camera 20 Computer 21 Image input part 22 Face detection part 23 Parameter adjustment part 24 Camera control part

Claims (8)

人物の顔を撮像して画像を生成する撮像手段と、
前記撮像手段の撮像パラメータを変更するパラメータ変更手段と、
前記パラメータ変更手段により前記撮像パラメータが変更される毎に、前記撮像手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出する顔検出尤度算出手段と、
前記顔検出尤度算出手段により算出された顔検出尤度が最も顔らしさを示すときの撮像パラメータになるように前記撮像手段を制御する撮像制御手段と、
を備えた顔検出装置。
Imaging means for imaging a person's face and generating an image;
Parameter changing means for changing imaging parameters of the imaging means;
Each time it is the imaging parameters changed by the parameter changing section, on the basis of the image generated by the imaging unit, a face detecting likelihood calculating means for calculating a face detection likelihood indicating a likelihood face,
Imaging control means for controlling the imaging means so that the face detection likelihood calculated by the face detection likelihood calculating means becomes an imaging parameter when the face likelihood is most likely;
A face detection device.
前記撮像パラメータは、カメラゲイン、ガンマ補正係数、電子シャッタ速度、絞り値の少なくとも1つである
請求項1に記載の顔検出装置。
The face detection apparatus according to claim 1, wherein the imaging parameter is at least one of a camera gain, a gamma correction coefficient, an electronic shutter speed, and an aperture value.
人物の顔を撮像して画像を生成する撮像手段と、
前記撮像手段により生成された画像を変換する画像変換手段と、
前記画像変換手段の画像変換パラメータを変更するパラメータ変更手段と、
前記パラメータ変更手段により前記画像変換パラメータが変更される毎に、前記画像変換手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出する顔検出尤度算出手段と、
前記顔検出尤度算出手段により算出された顔検出尤度が最も顔らしさを示すときの画像変換パラメータになるように前記画像変換手段を制御する画像変換制御手段と、
を備えた顔検出装置。
Imaging means for imaging a person's face and generating an image;
Image conversion means for converting the image generated by the imaging means;
Parameter changing means for changing image conversion parameters of the image converting means;
Each time the image transformation parameter by the parameter changing means is changed, on the basis of the image conversion unit image generated by a face detection likelihood calculating means for calculating a face detection likelihood indicating a likelihood face,
Image conversion control means for controlling the image conversion means so that the face detection likelihood calculated by the face detection likelihood calculation means becomes an image conversion parameter when it is most likely to be a face;
A face detection device.
前記画像変換パラメータは、濃度変換における入力レベルに対する出力レベルの閾値、又は濃度変換のための変換関数である
請求項3に記載の顔検出装置。
The face detection apparatus according to claim 3, wherein the image conversion parameter is a threshold of an output level with respect to an input level in density conversion, or a conversion function for density conversion.
撮像手段が撮像パラメータに従って人物の顔を撮像して画像を生成し、
前記撮像パラメータが変更される毎に、前記撮像手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出し、
前記算出された顔検出尤度が最も顔らしさを示すときの撮像パラメータになるように前記撮像手段を制御する
顔検出方法。
The imaging means images a human face according to the imaging parameters to generate an image,
Each time the imaging parameter is changed, based on the image generated by the imaging means, a face detection likelihood indicating the likelihood of a face is calculated,
A face detection method for controlling the imaging means so that the calculated face detection likelihood becomes an imaging parameter when the face likelihood is most likely.
撮像手段が人物の顔を撮像して画像を生成
画像変換手段が前記撮像手段により生成された画像を画像変換パラメータに従って変換し、
前記画像変換パラメータが変更される毎に、前記画像変換手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出し、
前記算出された顔検出尤度が最も顔らしさを示すときの画像変換パラメータになるように前記画像変換手段を制御する
顔検出方法。
Imaging means generates an image by imaging the face of the person,
The image conversion means converts the image generated by the imaging means according to the image conversion parameter,
Each time the image conversion parameter is changed, based on the image generated by the image conversion means, a face detection likelihood indicating the likelihood of a face is calculated,
A face detection method for controlling the image conversion means so that the calculated face detection likelihood becomes an image conversion parameter when the face likelihood is most likely.
コンピュータを、
人物の顔を撮像して画像を生成する撮像手段の撮像パラメータを変更するパラメータ変更手段と、
前記パラメータ変更手段により前記撮像パラメータが変更される毎に、前記撮像手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出する顔検出尤度算出手段と、
前記顔検出尤度算出手段により算出された顔検出尤度が最も顔らしさを示すときの撮像パラメータになるように前記撮像手段を制御する撮像制御手段と、
として機能させる顔検出プログラム。
Computer
Parameter changing means for changing an imaging parameter of an imaging means for capturing an image of a person and generating an image;
Each time the imaging parameter is changed by the parameter changing unit, based on the image generated by the imaging unit, a face detection likelihood calculating unit that calculates a face detection likelihood indicating the likelihood of a face;
Imaging control means for controlling the imaging means so that the face detection likelihood calculated by the face detection likelihood calculating means becomes an imaging parameter when the face likelihood is most likely;
Face detection program to function as.
コンピュータを、
人物の顔を撮像して画像を生成する撮像手段により生成された画像を変換する画像変換手段と、
前記画像変換手段の画像変換パラメータを変更するパラメータ変更手段と、
前記パラメータ変更手段により前記画像変換パラメータが変更される毎に、前記画像変換手段により生成された画像に基づいて、顔らしさを示す顔検出尤度を算出する顔検出尤度算出手段と、
前記顔検出尤度算出手段により算出された顔検出尤度が最も顔らしさを示すときの画像変換パラメータになるように前記画像変換手段を制御する画像変換制御手段と、
として機能させる顔検出プログラム。
Computer
An image conversion means for converting an image generated by an imaging means for capturing an image of a person's face and generating an image;
Parameter changing means for changing image conversion parameters of the image converting means;
Each time the image conversion parameter is changed by the parameter changing means, based on the image generated by the image converting means, a face detection likelihood calculating means for calculating a face detection likelihood indicating the likelihood of a face;
Image conversion control means for controlling the image conversion means so that the face detection likelihood calculated by the face detection likelihood calculation means becomes an image conversion parameter when it is most likely to be a face;
Face detection program to function as.
JP2007159222A 2007-06-15 2007-06-15 Face detection apparatus, method and program Expired - Fee Related JP4824636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007159222A JP4824636B2 (en) 2007-06-15 2007-06-15 Face detection apparatus, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007159222A JP4824636B2 (en) 2007-06-15 2007-06-15 Face detection apparatus, method and program

Publications (2)

Publication Number Publication Date
JP2008312036A JP2008312036A (en) 2008-12-25
JP4824636B2 true JP4824636B2 (en) 2011-11-30

Family

ID=40239214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007159222A Expired - Fee Related JP4824636B2 (en) 2007-06-15 2007-06-15 Face detection apparatus, method and program

Country Status (1)

Country Link
JP (1) JP4824636B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101301301B1 (en) 2012-07-24 2013-08-28 주식회사 에스원 Face identification filter planning method and apparatus thereof
JP7351139B2 (en) * 2018-08-24 2023-09-27 株式会社豊田中央研究所 sensing device
JP6721076B1 (en) 2019-03-25 2020-07-08 日本電気株式会社 Information processing device, camera control method, program, camera device, and image processing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005151130A (en) * 2003-11-14 2005-06-09 Canon Inc Image output apparatus, image output method, storage medium, and program
US7821570B2 (en) * 2005-11-30 2010-10-26 Eastman Kodak Company Adjusting digital image exposure and tone scale

Also Published As

Publication number Publication date
JP2008312036A (en) 2008-12-25

Similar Documents

Publication Publication Date Title
JP4519708B2 (en) Imaging apparatus and method, and program
KR101431601B1 (en) Face tracking in a camera processor
JP6074254B2 (en) Image processing apparatus and control method thereof
US9641767B2 (en) Display apparatus and method using high dynamic range function for vehicle
US20100329533A1 (en) Image processing method and image processing apparatus
CN101478641A (en) Digital photographing apparatus and method of controlling the same
KR20070111357A (en) Registration device, control device, extraction method and program
CN113784119B (en) Focusing detection method and device and electronic equipment
JP4824636B2 (en) Face detection apparatus, method and program
JP2012247533A (en) Electronic camera
JP4948591B2 (en) Image processing apparatus, image processing method, and program
US9712744B2 (en) Image quality compensation system and method
JP2012027572A (en) Image processing device, method and program
JP7618414B2 (en) Imaging control device, imaging control method, and program
US20030151758A1 (en) Image processing unit, image processing method, and image processing program
JP2005260657A5 (en)
KR20090079393A (en) Apparatus and method for converting and displaying documents in time domain
US8836816B2 (en) Method of adjusting the brightness of a digital camera image
CN121399673A (en) Object detection in images
KR102457576B1 (en) Method and apparatus for detecting object based on multichannel infrared video
US12368963B1 (en) System and method for automatically adjusting lighting for a video feed
JP5865069B2 (en) Image processing apparatus, control method thereof, and program
JP4679175B2 (en) Imaging system and control device
JP2022043633A (en) Information processing apparatus, method, program, and storage medium
US20250104415A1 (en) Image recognition assistance apparatus, method, and non-transitory computer readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110421

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4824636

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

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

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

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees