JP2009025894A - Face image detection method and face image processor - Google Patents
Face image detection method and face image processor Download PDFInfo
- Publication number
- JP2009025894A JP2009025894A JP2007185967A JP2007185967A JP2009025894A JP 2009025894 A JP2009025894 A JP 2009025894A JP 2007185967 A JP2007185967 A JP 2007185967A JP 2007185967 A JP2007185967 A JP 2007185967A JP 2009025894 A JP2009025894 A JP 2009025894A
- Authority
- JP
- Japan
- Prior art keywords
- luminance
- luminance value
- region
- face image
- value
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 description 24
- 239000000284 extract Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000001815 facial effect Effects 0.000 description 4
- 230000000630 rising effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000037007 arousal Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は、人物の顔を検出する顔画像検出方法及び顔画像処理装置に関する。 The present invention relates to a face image detection method and a face image processing apparatus for detecting a human face.
従来、このような分野では、例えば近赤外線カメラを用いて人物の顔を撮像し、撮像された画像データに基づいて画像処理を行って顔画像を検出している。具体的には、撮像された画像中において、周囲と比較して明るい領域を顔であるとしている。このような技術において、例えば外乱光の入射等により顔の半分側が暗い場合には、顔の中心軸を境界として左右両側の輝度を比較してコントラストの高低を判断し、コントラストの高い側の輝度値をコントラストの低い側の輝度値として顔の中心軸を基点に折り返すことで、輝度値の補正を実行していた(例えば、特許文献1参照)。
しかしながら、上記特許文献1に記載の従来技術では、顔の中心軸を境界として左右対称に折り返すことで、輝度値の補正を実行しているため、外乱光の入射位置が変化して、コントラストの高低の境界が顔の中心軸からずれた場合には、補正後の顔画像を正確に検出することできないという問題があった。 However, in the prior art described in Patent Document 1, since the luminance value is corrected by folding back symmetrically with the center axis of the face as a boundary, the incident position of the disturbance light changes, and the contrast When the high and low boundaries deviate from the center axis of the face, there is a problem that the corrected face image cannot be detected accurately.
本発明は、このような課題を解決するために成されたものであり、顔画像の検出精度の向上を図った顔画像検出方法及び顔画像処理装置を提供することを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to provide a face image detection method and a face image processing apparatus that improve the detection accuracy of face images.
本発明による顔画像検出方法は、撮像された画像に基づいて顔画像を検出する顔画像検出方法において、画像の一方向の輝度分布を生成する輝度分布生成工程と、輝度分布に基づいて、輝度値の補正を実行しない第1の領域及び第1の領域より輝度値が低く輝度値の補正を実行する第2の領域を判定する補正領域判定工程と、第1の領域における輝度分布に基づいて予想された予想輝度値の分布である予想輝度分布を演算する予想輝度分布演算工程と、第2の領域の所定位置における輝度値及び予測輝度値を比較する輝度値比較工程と、輝度値比較工程による比較結果に基づいて、第2の領域の輝度値を補正する輝度値補正工程と、を備えることを特徴としている。 The face image detection method according to the present invention is a face image detection method for detecting a face image based on a captured image, a luminance distribution generation step for generating a luminance distribution in one direction of the image, and a luminance based on the luminance distribution. A correction area determination step of determining a first area in which the correction of the value is not performed and a second area in which the luminance value is lower than that of the first area and in which the correction of the luminance value is performed, and the luminance distribution in the first area An expected luminance distribution calculating step for calculating an expected luminance distribution that is an expected luminance value distribution, a luminance value comparing step for comparing the luminance value and the predicted luminance value at a predetermined position in the second region, and a luminance value comparing step And a luminance value correction step of correcting the luminance value of the second region based on the comparison result of (2).
また、本発明による顔画像処理装置は、撮像された画像に基づいて顔画像を検出する顔画像処理装置において、画像の一方向の輝度分布を生成する輝度分布生成手段と、輝度分布に基づいて、輝度値の補正を実行しない第1の領域及び第1の領域より輝度値が低く輝度値の補正を実行する第2の領域を判定する補正領域判定手段と、第1の領域における輝度分布に基づいて予想された予想輝度値の分布である予想輝度分布を演算する予想輝度分布演算手段と、第2の領域の所定位置における輝度値及び予想輝度値を比較する輝度値比較手段と、輝度値比較手段による比較結果に基づいて、第2の領域の輝度値を補正する輝度値補正手段と、を備えることを特徴としている。 In addition, a face image processing apparatus according to the present invention is a face image processing apparatus that detects a face image based on a captured image, based on the luminance distribution generating means for generating a luminance distribution in one direction of the image, and the luminance distribution. A correction area determination means for determining a first area where the luminance value is not corrected and a second area where the luminance value is lower than the first area and where the luminance value is corrected; and the luminance distribution in the first area A predicted luminance distribution calculating unit that calculates a predicted luminance distribution that is a predicted luminance value distribution based on the predicted luminance value, a luminance value comparing unit that compares the luminance value and the predicted luminance value at a predetermined position in the second region, and a luminance value And a luminance value correcting unit that corrects the luminance value of the second region based on a comparison result by the comparing unit.
このような顔画像検出方法及び顔画像処理装置によれば、撮像された画像の一方向の輝度分布を生成し、生成された輝度分布に基づいて、輝度値補正を実行しない第1の領域及びこの第1の領域より輝度値が低く輝度値補正を実行する第2の領域を判定する。そして、第1の領域の輝度値に基づいて、第2の領域における予想輝度値の分布である予想輝度分布を演算し、第2の領域の代表点における輝度値(実輝度値)及び予想輝度値を比較して、この比較に基づいて、第2の領域の輝度値を補正する。これにより、補正を実行しない第1の領域の輝度値に基づいて、予想輝度分布を生成し、第2の領域の代表点の予想輝度値及び輝度値(実測値)を比較して、第2の領域の輝度値補正を実行するため、顔の一部分(第1の領域)の輝度値に基づいて、輝度値補正を実行することが可能となる。そのため、コントラストの境界が顔の中心軸に沿っていない場合であっても、精度良く輝度値の補正を実行することができる。 According to such a face image detection method and a face image processing apparatus, a first region that generates a luminance distribution in one direction of a captured image, and that does not perform luminance value correction based on the generated luminance distribution, and A second region having a luminance value lower than that of the first region and performing luminance value correction is determined. Based on the luminance value of the first area, an expected luminance distribution that is a distribution of the expected luminance value in the second area is calculated, and the luminance value (actual luminance value) and the expected luminance at the representative point of the second area are calculated. The values are compared, and the luminance value of the second region is corrected based on the comparison. As a result, an expected luminance distribution is generated based on the luminance value of the first region where correction is not performed, and the predicted luminance value and the luminance value (actually measured value) of the representative point of the second region are compared with each other. Therefore, it is possible to execute the luminance value correction based on the luminance value of a part of the face (first region). Therefore, even when the contrast boundary is not along the center axis of the face, the luminance value can be corrected with high accuracy.
ここで、代表点は、第2の領域内における最大輝度値が検出された位置であることが好ましい。最大輝度値が検出された位置は、第2の領域内で最も精度良く輝度値が検出された位置であると想定することができる。これにより、最大輝度値が検出された位置を代表点として、この代表点における予想輝度値及び輝度値を比較し、この比較結果に基づいて、第2領域の輝度値を補正することが可能となる。そのため、顔の検出精度を向上させることができる。 Here, the representative point is preferably a position where the maximum luminance value is detected in the second region. It can be assumed that the position where the maximum luminance value is detected is the position where the luminance value is detected with the highest accuracy in the second region. As a result, the position where the maximum luminance value is detected is used as a representative point, the expected luminance value and the luminance value at this representative point are compared, and the luminance value of the second region can be corrected based on the comparison result. Become. Therefore, the face detection accuracy can be improved.
本発明の顔画像検出方法及び顔画像処理装置によれば、顔の一部分の輝度値に基づいて、予想輝度値を算出し、この予想輝度値と実測された輝度値との比較に基づいて、輝度値補正を実行することで、コントラストの境界が顔の中心軸に沿っていない場合であっても、輝度値補正を精度良く実行することが可能となり、顔の検出精度を向上させることができる。 According to the face image detection method and the face image processing apparatus of the present invention, an expected brightness value is calculated based on the brightness value of a part of the face, and based on a comparison between the expected brightness value and the actually measured brightness value, By executing the brightness value correction, it is possible to execute the brightness value correction accurately even when the contrast boundary is not along the center axis of the face, and the face detection accuracy can be improved. .
以下、本発明の好適な実施形態について図面を参照しながら説明する。なお、図面の説明において、同一または相当要素には同一の符号を付し、重複する説明は省略する。図1は、本発明の実施形態に係る顔画像処理装置を示すブロック図、図2は、顔画像撮像カメラによって撮像された顔画像の一例を示すものであり、輝度補正実行前の顔画像を示す図である。 Preferred embodiments of the present invention will be described below with reference to the drawings. In the description of the drawings, the same or corresponding elements are denoted by the same reference numerals, and redundant description is omitted. FIG. 1 is a block diagram illustrating a face image processing apparatus according to an embodiment of the present invention, and FIG. 2 illustrates an example of a face image captured by a face image capturing camera. FIG.
図1に示す顔画像処理装置10は、車両等に搭載され運転者Dの顔画像を検出するものである。この顔画像処理装置10は、運転者Dの顔画像を撮像する顔画像撮像カメラ12、顔画像撮像カメラ12からの画像信号に基づいて画像処理を行う顔画像処理電子制御ユニット(以下、「顔画像処理ECU」という)14を備えている。
A face
顔画像撮像カメラ12は、例えばコラムカバー16の上面に設定され、運転者Dの顔画像を取得するものである。顔画像撮像カメラ12は、例えば、近赤外線カメラであり、近赤外線投射装置(不図示)から照射した近赤外線光が物体(運転者Dの顔)に反射した反射光を受光することによって、運転者Dの顔を撮像する。顔画像撮像カメラ12では、例えば、毎秒30フレームの画像を取得することができる。
The face
顔画像処理ECU14は、演算処理を行うCPU、記憶部18となるROM及びRAM、入力信号回路、出力信号回路、電源回路などにより構成され、入力された画像信号について画像処理を行い運転者Dの顔画像を検出する。検出された顔画像は、例えば、運転者Dの覚醒度判定、脇見判定等に利用される。
The face
ここで、本実施形態の顔画像処理装置10は、図2に示すように、例えば、運転者Dの顔の一部の輝度値が低下した場合に、輝度値の補正を実行して、顔画像の検出精度を向上させる機能を有している。そして、顔画像処理ECU14のCPUでは、記憶部18に記憶されているプログラムを実行することで、輝度分布生成部20、補正領域判定部22、予想輝度曲線生成部24、輝度値比較部26、輝度値補正部28、画像処理部30が構成される。また、記憶部18には、CPUを作動させるためのプログラムのほかに、複数の3次元顔モデルが記憶されている。また、記憶部18は、撮像された画像データを一時記憶する記憶手段として機能する。
Here, as shown in FIG. 2, the face
輝度分布生成部20は、顔画像撮像カメラ12にからの入力された画像の各点における輝度値を算出して輝度分布を作成する。輝度分布生成部20では、運転者Dの顔を横方向に延在する複数の列(以下、「横列」という)Anに分割し、横列An毎に輝度分布を作成する。図3は、撮像された顔画像に基づいて生成された輝度分布を示すグラフである。図3では、図2中の横列Anにおける輝度分布Bnを示すものであり、横軸に顔の横方向(図示左右方向)の位置を示し、縦軸に輝度値を示している。一点鎖線で示すL0は、顔の中心軸L0を示している。顔の中心軸L0は、運転者Dの顔の中心を通り上下方向に延在するものである。顔の中心軸L0は、顔画像の輝度値が十分であり、輝度値補正の必要が無いときに取得された画像に基づいて設定されている。また、破線で示すF1,F2は、顔領域を囲むように設定された矩形枠Fの左右両端F1,F2を示すものである。矩形枠Fは、顔画像の輝度値が十分であり、輝度値補正の必要が無いときに取得された画像に基づいて設定されている。輝度分布生成部20では、上下方向に配列された横列Anの全てについて輝度分布の生成を行う。
The luminance
補正領域判定部22は、輝度分布生成部20で生成された輝度分布Bnに基づいて、輝度値の補正を必要としない領域(以下、「第1領域」という)Gnと、この第1領域Gnより輝度値が低く輝度値の補正を必要とする領域(以下、「第2領域」という)Hnとを判定する。補正領域設定部22では、輝度分布Bnを参照し、輝度値の高低(コントラストの高低)を判定し、輝度値の高い方を第1領域Gnと設定し、輝度値の低い方を第2領域Hnと設定する。
Based on the luminance distribution Bn generated by the luminance
なお、第1領域Gn及び第2領域Hnの判定は、例えば、過去のデータに基づいて設定された基準値との比較によって行ってもよく、この場合には、輝度値が基準値より高い領域について第1領域と設定し、輝度値が基準値以下の領域について第2領域と設定する。また、補正領域判定部22は、輝度分布Bnの変化率(傾き)に基づいて、第1領域Gn、第2領域Hnを設定してもよく、この場合には、変化率の大きい位置を第1領域Gn及び第2領域Hnの境界として設定する。なお、「輝度値の補正を必要としない領域(第1領域)」とは、輝度値が十分であり、輝度値の補正を実行することなく、顔部品(眼、鼻、口)等の特徴点を検出できる領域である。また、「輝度値の補正を必要とする領域(第2領域)」とは、輝度値が不十分であり、顔部品等の特徴点を正確に検出できない領域である。
The determination of the first region G n and the second region H n may be performed, for example, by comparison with a reference value set based on past data. In this case, the luminance value is greater than the reference value. A high region is set as a first region, and a region having a luminance value equal to or lower than a reference value is set as a second region. The correction
また、図3に示すデータでは、第1領域Gnと第2領域Hnとの境界が顔の中心軸L0となっているが、第1の領域Gnと第2領域Hnとの境界は、顔の中心軸L0になるとは限らない。例えば、顔の右側の3分の1の範囲の輝度値が基準値より高く、顔の左側の3分の2の範囲の輝度値が基準値以下の場合、顔の右側の3分の1の範囲が、第1領域Gnと設定され、顔の左側の3分の2の範囲が、第2領域Hnと設定される。 In the data shown in FIG. 3, the boundary between the first region G n and the second region H n is the center axis L 0 of the face, but the first region G n and the second region H n boundaries, not necessarily the center axis L 0 of the face. For example, if the brightness value in the 1/3 range on the right side of the face is higher than the reference value and the brightness value in the 2/3 range on the left side of the face is less than or equal to the reference value, 1/3 of the right side of the face range, is set as the first region G n, 2 ranging thirds of the left face is set as the second region H n.
予想輝度曲線生成部24は、第1領域Gnにおける輝度分布Bnに基づいて、図4に示す予想輝度曲線(予想輝度分布)Jnを生成する。図4は、予想輝度曲線を示すグラフである。予想輝度曲線生成部24では、例えば、輝度分布Bnの変化率を算出して、顔領域の端部を示す立ち上がり部Knを検出する。予想輝度曲線生成部24は、この検出された立ち上がり部Knに沿う正規分布(ガウス分布)曲線を設定し、この正規分布曲線を予想輝度曲線Jnとして生成する。
Expected brightness
輝度値比較部26は、第2領域Hnの代表点Pnにおける輝度値(実輝度値)Sn及び予想輝度値Tnを比較して、予想輝度比(補正係数)Rn(=予想輝度値Tn/輝度値Sn)を算出する。ここで、代表点Pnは、第2領域Hn内における最大輝度値が検出された位置である。図4では、第2領域Hn内における最大輝度値Snに対応する顔の横方向の位置が代表点Pnとなり、代表点Pnにおける予想輝度曲線Jn上の点が予想輝度値Tnとなる。
Luminance
輝度値補正部28は、輝度値比較部26による比較結果である予想輝度比Rnに基づいて、第2領域の輝度値を補正する。具体的には、輝度分布Bnに予想輝度比Rn乗算することで輝度値の補正を実行する。図5は、予想輝度曲線に基づいて補正された輝度分布を示すグラフである。図5では、図2中の横列Anにおける補正後の輝度分布Cnを示すものであり、横軸に顔の横方向の位置を示し、縦軸に輝度値を示している。図5では、第2領域Hnの輝度値は、予想輝度比Rnによって補正されたものである。例えば予想輝度比Rnが「3.0」である場合、輝度分布Bn(実輝度値)を3倍することで輝度値の補正を実行する。
Luminance
図6は、顔画像撮像カメラによって撮像された顔画像の一例を示すものであり、輝度補正実行後の顔画像を示す図である。画像処理部30は、補正後の画像データに基づいて画像処理を行う。補正が実行されなかった場合には、顔画像撮像カメラ12から入力された画像信号に基づいて画像処理を行う。画像処理部30は、画像処理を行い、運転者Dの顔の輪郭線を示す顔輪郭エッジE1を抽出すると共に、運転者Dの顔領域Eを検出する。画像処理部30は、周囲より明るい部分を顔領域Eとして検出する。また、画像処理部30は、運転者Dの顔向き角度の算出、及び顔特徴点(例えば、眼、鼻孔、口等)の抽出を行う。
FIG. 6 is a diagram illustrating an example of a face image captured by the face image capturing camera, and is a diagram illustrating the face image after performing the brightness correction. The
次に、このように構成された顔画像処理装置10を用いた顔画像検出方法について説明する。図7は、顔画像処理ECUで実行されるメイン処理の動作手順を示すフローチャートである。メイン処理は、顔画像処理装置10の起動中において所定のタイミングで繰り返し実行される。まず、顔画像処理ECU14は、顔画像撮像カメラ12から運転者Dの顔を撮像した画像信号を入力する(S1)。
Next, a face image detection method using the face
次に、顔画像処理ECU14は、輝度値補正処理(S2)を行う。図8は、顔画像処理ECUで実行される輝度値補正処理の動作手順を示すフローチャートである。輝度値補正処理では、顔画像処理ECU14は、前回に顔領域Eを検出しているか否かを判定する(S11)。前回に顔領域Eを検出していると判定された場合には、ステップS12に進み、前回に顔領域Eを検出していると判定されなかった場合には、輝度値補正処理を終了し、図7に示すメイン処理のステップS3に進む。
Next, the face
ステップS12では、顔画像処理ECU14は、前回の顔領域Eに関するデータを入力する。次に、顔画像処理ECU14は、入力された顔領域Eに関するデータに基づいて横列An毎に輝度分布Bnを生成する(S13、輝度分布生成工程)。
In step S12, the face
続いて、顔画像処理ECU14は、輝度分布Bnに基づいて輝度値の高低を判定し、輝度値の補正を必要としない第1領域Gnと、輝度値の補正を必要とする第2領域とを設定し、輝度値の補正を実行する必要があるか否かを判定する(S14、補正領域判定工程)。輝度値の補正を実行する必要がないと判定された場合には、輝度値補正処理を終了し、図7に示すメイン処理のステップS3に進む。輝度値の補正を実行する必要があると判定された場合には、ステップS15に進む。
Subsequently, the face
ステップS15では、顔画像処理ECU14は、第1領域Gnにおける輝度分布Bnに基づいて顔の横方向の予想輝度曲線Jnを作成する(S15、予想輝度分布演算工程)。次に、顔画像処理ECU14は、輝度分布Bnに基づいて、第2領域Hn内の最大輝度値Snを抽出し、代表点Pnを決定する(S16)。 In step S15, the face image processing ECU14 creates a predicted luminance curve J n in the lateral direction of the face based on the luminance distribution B n in the first region G n (S15, predicted luminance distribution calculation step). Then, the face image processing ECU14, based on the luminance distribution B n, extracts the maximum brightness value S n of the second region H n, determines the representative point P n (S16).
続いて、顔画像処理ECU14は、予想輝度曲線Jnを参照して、代表点Pnにおける予想輝度値Tnを抽出する(S17)。次に、顔画像処理ECU14は、代表点Pnにおける予想輝度比Rnを算出する(S18、輝度値比較工程)。
Subsequently, the face image processing ECU14 refers to the expected luminance curve J n, extracts the predicted luminance value T n at the representative point P n (S17). Next, the face
続いて、顔画像処理ECU14は、第2領域Hnの輝度値補正を実行する(S19、輝度値補正工程)。具体的には、顔画像処理ECU14は、輝度分布Bn(実輝度値)に予想輝度比Rnを乗算して、補正後の輝度値を算出する。顔画像処理ECU14は、顔の上下方向に隣接する全ての横列An(図2参照)について、輝度値補正処理を実行した後に、メイン処理のステップS3に進む。
Subsequently, the face image processing ECU14 executes the luminance value correction of the second region H n (S19, luminance value correction step). Specifically, the face
顔画像処理ECU14は、図7に示すように、ステップS2の輝度値補正処理の後、輝度値補正後のデータに基づいて、顔輪郭エッジを抽出し(S3)、顔領域を検出する(S4)。次に、顔画像処理ECU14は、運転者Dの顔向き角度を算出し(S5)、顔の特徴点を抽出する(S6)。
As shown in FIG. 7, the face
このような顔画像処理装置10及び顔画像検出方法によれば、撮像された画像の横列Anに沿って輝度分布Bnを生成し、生成された輝度分布Bnに基づいて、輝度値補正を実行しない第1領域Gn及びこの第1領域Gnより輝度値が低く輝度値補正を実行する第2領域Hnを判定する。そして、第1領域Gnの輝度分布Bnに沿うように、予想輝度曲線として正規分布を設定し、第2領域Hnの代表点Pnにおける予想輝度比Rnを算出し、この予想輝度比Rnに基づいて、第2領域Hnの輝度値を補正する。このため、顔の一部分(第1領域)の輝度値に基づいて、輝度値補正を実行している。その結果、コントラストの境界が顔の中心軸に沿っていない場合であっても、精度良く輝度値の補正を実行することができる。
According to such a face
ここで、第2領域Hn内における最大輝度値が検出された位置を代表点Pnとしているので、顔画像の検出精度が一層向上されている。最大輝度値が検出された位置は、第2領域Hn内で最も精度良く輝度値が検出された位置であると想定することができるため、最大輝度値が検出された位置を代表点として、この代表点における予想輝度比Rnを算出し、この予想輝度比Rnに基づいて、第2領域Hnの輝度値を補正することで、顔画像の検出精度を一層向上させることができる。 Here, since the maximum luminance value in the second region H n is a representative point P n of the detected position, the detection accuracy of the face image is further improved. Position where the maximum luminance value is detected, because it can most accurately luminance value in the second region H n is assumed to be position detection, the position at which the maximum luminance value is detected as a representative point, By calculating the expected brightness ratio R n at the representative point and correcting the brightness value of the second region H n based on the expected brightness ratio R n , the detection accuracy of the face image can be further improved.
以上、本発明をその実施形態に基づき具体的に説明したが、本発明は、上記実施形態に限定されるものではない。上記実施形態では、車両を操縦する運転者の顔画像を検出しているが、例えば、飛行機、鉄道、プラント、機械等を扱うその他の運転者、操作者の顔画像を検出する場合に、本発明を適用してもよい。また、建造物の入口等に顔画像撮像カメラを設置し、訪問者の顔画像を検出する場合に本発明を適用してもよい。 As mentioned above, although this invention was concretely demonstrated based on the embodiment, this invention is not limited to the said embodiment. In the above embodiment, the face image of the driver who steers the vehicle is detected. For example, when detecting the face image of other drivers and operators who handle airplanes, railways, plants, machines, etc. The invention may be applied. Further, the present invention may be applied to a case where a face image capturing camera is installed at an entrance of a building and the like and a visitor's face image is detected.
また、上記実施形態では、顔の横方向に輝度分布を生成しているが、顔の上下方向や、その他の方向に、輝度分布を生成してもよい。 In the above embodiment, the luminance distribution is generated in the horizontal direction of the face. However, the luminance distribution may be generated in the vertical direction of the face or in other directions.
また、上記実施形態では、代表点Pnにおける輝度値(実輝度値)及び予想輝度値の比である予想輝度比Rnを算出し、この予想輝度比Rnに基づいて、輝度値の補正を実行しているが、予想輝度値と輝度値との差を算出し、算出された差分を加算することで、輝度値の補正を実行してもよい。 In the above embodiment, an expected brightness ratio R n that is a ratio between the brightness value (actual brightness value) at the representative point P n and the expected brightness value is calculated, and the brightness value is corrected based on the expected brightness ratio R n. However, the correction of the luminance value may be executed by calculating the difference between the predicted luminance value and the luminance value and adding the calculated difference.
また、上記実施形態では、第2領域内における最大輝度値が検出された位置を代表点としているが、予想輝度値と輝度値との差に基づいて、代表点を設定してもよい。 In the above embodiment, the position where the maximum luminance value is detected in the second region is used as the representative point. However, the representative point may be set based on the difference between the predicted luminance value and the luminance value.
また、第1領域及び第2領域を複数に分割することで、輝度値の補正を詳細に行うようにしてもよい。 Further, the luminance value may be corrected in detail by dividing the first area and the second area into a plurality of areas.
また、上記実施形態では、横列An毎に予想輝度比Rn(補正係数)を設定しているが、一つの横列Anの補正係数を用いて、他の横列Anの輝度値補正を実行してもよい。 Further, in the above embodiment, it is set expected luminance ratio R n (correction factor) for each row A n, by using the correction coefficient of one row A n, perform the brightness value correction of other rows An May be.
また、上記実施形態では、正規分布を予想輝度曲線としているが、その他の近似式を用いて、予想輝度分布を算出してもよい。要は、輝度値補正を実行しない第1領域の輝度分布に基づいて、予想輝度分布を生成すればよい。 In the above-described embodiment, the normal distribution is the expected luminance curve, but the predicted luminance distribution may be calculated using another approximate expression. In short, an expected luminance distribution may be generated based on the luminance distribution of the first region where luminance value correction is not performed.
10…顔画像処理装置、12…顔画像撮像カメラ、14…顔画像処理ECU、16…コラムカバー、18…記憶部、20…輝度分布生成部、22…補正領域判定部、24…予想輝度曲線生成部、26…輝度値比較部、28…輝度値補正部、30…画像処理部、An…顔領域の横方向に延在する列、Bn…輝度分布、Cn…補正後の輝度分布、D…運転者、E…顔領域、E1…顔輪郭エッジ、Gn…補正を必要としない領域(第1の領域)、Hn…補正を必要とする領域(第2の領域)、Jn…予想輝度曲線(予想輝度分布)、Kn…立ち上がり部、Pn…代表点、Rn…予想輝度比(補正係数)、Sn…代表点における輝度値、Tn…代表点における予想輝度値。
DESCRIPTION OF
Claims (3)
前記画像の一方向の輝度分布を生成する輝度分布生成工程と、
前記輝度分布に基づいて、輝度値の補正を実行しない第1の領域及び前記第1の領域より輝度値が低く輝度値の補正を実行する第2の領域を判定する補正領域判定工程と、
前記第1の領域における輝度分布に基づいて予想された前記一方向の予想輝度値の分布である予想輝度分布を演算する予想輝度分布演算工程と、
前記第2の領域の代表点における輝度値及び予測輝度値を比較する輝度値比較工程と、
前記輝度値比較工程による比較結果に基づいて、前記第2の領域の輝度値を補正する輝度値補正工程と、を備えることを特徴とする顔画像検出方法。 In a face image detection method for detecting a face image based on a captured image,
A luminance distribution generation step for generating a luminance distribution in one direction of the image;
A correction area determination step for determining a first area where the correction of the luminance value is not performed based on the luminance distribution and a second area where the luminance value is lower than that of the first area and where the correction of the luminance value is performed;
An expected luminance distribution calculating step of calculating an expected luminance distribution which is a distribution of expected luminance values in the one direction predicted based on the luminance distribution in the first region;
A luminance value comparison step of comparing a luminance value and a predicted luminance value at a representative point of the second region;
A face image detection method comprising: a brightness value correction step of correcting the brightness value of the second region based on a comparison result in the brightness value comparison step.
前記画像の一方向の輝度分布を生成する輝度分布生成手段と、
前記輝度分布に基づいて、輝度値の補正を実行しない第1の領域及び前記第1の領域より輝度値が低く輝度値の補正を実行する第2の領域を判定する補正領域判定手段と、
前記第1の領域における輝度分布に基づいて予想された前記一方向の予想輝度値の分布である予想輝度分布を演算する予想輝度分布演算手段と、
前記第2の領域の代表点における輝度値及び予想輝度値を比較する輝度値比較手段と、
前記輝度値比較手段による比較結果に基づいて、前記第2の領域の輝度値を補正する輝度値補正手段と、を備えることを特徴とする顔画像処理装置。 In a face image processing apparatus that detects a face image based on a captured image,
A luminance distribution generating means for generating a luminance distribution in one direction of the image;
A correction area determination unit that determines a first area that does not execute correction of a luminance value based on the luminance distribution and a second area that has a luminance value lower than that of the first area and performs correction of the luminance value;
Expected luminance distribution calculating means for calculating an expected luminance distribution that is a distribution of expected luminance values in one direction predicted based on the luminance distribution in the first region;
A luminance value comparing means for comparing the luminance value at the representative point of the second region and the expected luminance value;
A face image processing apparatus comprising: a brightness value correcting unit that corrects a brightness value of the second region based on a comparison result by the brightness value comparing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007185967A JP2009025894A (en) | 2007-07-17 | 2007-07-17 | Face image detection method and face image processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007185967A JP2009025894A (en) | 2007-07-17 | 2007-07-17 | Face image detection method and face image processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009025894A true JP2009025894A (en) | 2009-02-05 |
Family
ID=40397670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007185967A Pending JP2009025894A (en) | 2007-07-17 | 2007-07-17 | Face image detection method and face image processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009025894A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013140824A1 (en) * | 2012-03-22 | 2013-09-26 | 株式会社日立ソリューションズ | Image analysis device, image analysis method and program |
WO2018159037A1 (en) * | 2017-03-01 | 2018-09-07 | オムロン株式会社 | Facial detection device, and control method and program for same |
-
2007
- 2007-07-17 JP JP2007185967A patent/JP2009025894A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013140824A1 (en) * | 2012-03-22 | 2013-09-26 | 株式会社日立ソリューションズ | Image analysis device, image analysis method and program |
US9189877B2 (en) | 2012-03-22 | 2015-11-17 | Hitachi Solutions, Ltd. | Pixel analysis and image transformation device and method |
WO2018159037A1 (en) * | 2017-03-01 | 2018-09-07 | オムロン株式会社 | Facial detection device, and control method and program for same |
JP2018147046A (en) * | 2017-03-01 | 2018-09-20 | オムロン株式会社 | Face detection device and method for controlling the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009159496A5 (en) | ||
JP5435307B2 (en) | In-vehicle camera device | |
US8411911B2 (en) | Image processing apparatus, image processing method, and storage medium for storing program | |
WO2010100842A1 (en) | Image capturing device, operator monitoring device, method for measuring distance to face, and program | |
JP5466610B2 (en) | Gaze estimation device | |
JP2009130845A5 (en) | ||
JP2011165050A (en) | White line recognition device | |
JP2013005234A5 (en) | ||
WO2016027408A1 (en) | Image processing apparatus, and failure diagnosis method for image processing apparatus | |
JP2010134490A (en) | Detection device and method, and program | |
US9147115B2 (en) | Method and device for detecting an object in an image | |
CN110199318B (en) | Driver state estimation device and driver state estimation method | |
KR20130090615A (en) | Exposure measuring method and apparatus based on the composition for automatic image correction | |
TWI472989B (en) | Image adjusting method and optical navigating apparatus utlizing the image adjusting method | |
JP2009025894A (en) | Face image detection method and face image processor | |
JP2015018084A5 (en) | Imaging apparatus, camera system, and image processing method | |
JP4871315B2 (en) | Compound eye photographing apparatus, control method therefor, and program | |
JP2008042227A (en) | Imaging apparatus | |
US11575841B2 (en) | Information processing apparatus, imaging apparatus, method, and storage medium | |
JP4825737B2 (en) | Eye opening degree determination device | |
JP5004099B2 (en) | Cursor movement control method and cursor movement control apparatus | |
JP5519413B2 (en) | Pupil concealed state detection device and in-vehicle camera equipped with the same | |
JP2009009206A (en) | Extraction method of outline inside image and image processor therefor | |
JP2011118767A (en) | Facial expression monitoring method and facial expression monitoring apparatus | |
JP5145194B2 (en) | Face detection system |