JP2011034581A - Object detection device and learning device for the same - Google Patents

Object detection device and learning device for the same Download PDF

Info

Publication number
JP2011034581A
JP2011034581A JP2010229972A JP2010229972A JP2011034581A JP 2011034581 A JP2011034581 A JP 2011034581A JP 2010229972 A JP2010229972 A JP 2010229972A JP 2010229972 A JP2010229972 A JP 2010229972A JP 2011034581 A JP2011034581 A JP 2011034581A
Authority
JP
Japan
Prior art keywords
node
image
rectangular
object detection
learning
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.)
Granted
Application number
JP2010229972A
Other languages
Japanese (ja)
Other versions
JP4712907B2 (en
Inventor
Katsunori Waratani
克則 藁谷
Tomiyoshi Kawai
富美 河合
Cher Keng Heng
ヘーン・チェー・ケーン
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2010229972A priority Critical patent/JP4712907B2/en
Publication of JP2011034581A publication Critical patent/JP2011034581A/en
Application granted granted Critical
Publication of JP4712907B2 publication Critical patent/JP4712907B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a high precision object detection device that can suppress an increase in a processing load, and a learning device for the same. <P>SOLUTION: The object detection device includes a characteristic extracting part 390 which sets a rectangular template 1010 constituted of a plurality of rectangular blocks in an image window 1001, calculates a reference luminance value based on the luminance value of the rectangular blocks included in the rectangular template 1010 and an individual luminance value about each of the rectangular blocks, calculates a pattern 1110 as spatial distribution information to identify the rectangular blocks from magnitude relation between the reference luminance value and the individual luminance value of each of the rectangular blocks, and uses the spatial distribution information to determine whether an image in the rectangular template 1010 includes an object. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像から顔等の対象物を検出する対象物検出装置及びその学習装置に関する。   The present invention relates to an object detection device that detects an object such as a face from an image and a learning device thereof.

コンピュータビジョンにおいて、対象物検出技術は、画像の中に特定の対象物が映っているか否かを判定する問題とされる。対象物としては、車や、歩行者、人間の顔などがある。多くのアプリケーションにおいて、対象物検出は非常に難しい問題とされている。たとえば、対象物が人間の顔の場合、顔の向き、照明、サングラスやマスク等による部分的な隠れにより、その見え方は大きく変化する。また、監視装置等に用いるアプリケーション等においては、画質が悪くノイズが載っている場合や、画像の中に映る顔が小さい場合などはその検出がいっそう難しくなる。   In computer vision, the object detection technique is a problem of determining whether or not a specific object is reflected in an image. Examples of the object include a car, a pedestrian, and a human face. In many applications, object detection is a very difficult problem. For example, when the object is a human face, its appearance changes greatly due to the face direction, lighting, partial hiding by sunglasses, a mask, and the like. In addition, in an application or the like used for a monitoring device or the like, detection becomes more difficult when the image quality is poor and noise is present or when the face shown in the image is small.

対象物検出の問題を解決する一般的な方式として、統計的学習に基づくパターン認識技術があり、識別器のパラメータはあらかじめ与えた学習用サンプルを元に決定される。顔検出における一般的な手法としては、ニューラルネットワークや、サポートベクターマシン、ベイズ推定等を用いた手法がある。これらの手法は、通常、入力画像から識別に用いる特徴量を抽出する特徴選択技術と、選択した特徴量を入力として対象物であるか否かを判定する識別器を構築する識別器構築技術と、構築した識別器を使って、画像ウィンドウ内に顔の存在を判定する技術からなる。なお、「画像ウィンドウ」とは、入力画像内の部分領域を意味し、入力画像からは、部分領域の位置や大きさを変えた多数のウィンドウが切り出し可能である。   As a general method for solving the problem of object detection, there is a pattern recognition technique based on statistical learning, and the parameters of the discriminator are determined based on learning samples given in advance. As a general method for face detection, there is a method using a neural network, a support vector machine, Bayesian estimation, or the like. These methods usually include a feature selection technique for extracting a feature amount used for identification from an input image, and a discriminator construction technique for constructing a discriminator for determining whether or not the selected feature amount is an object. This technology consists of a technique for determining the presence of a face in an image window using a constructed discriminator. The “image window” means a partial area in the input image, and a large number of windows in which the position and size of the partial area are changed can be cut out from the input image.

識別器の構築手法としては、非特許文献1で知られているアダプティブブースティング(Adaptive Boosting)又はアダブースト(Adaboost)がある。以下これを「アダブースト学習法」と呼ぶ。これは、多数の対象物検出システムにおいて適用されており、これを用いた画像からの顔検出手法としては、非特許文献2がある。アダブースト学習法では、識別器は、判別エラーが50%以下であればよいという高いエラー率でよいとされており、これを弱判別器と称す。アダブースト学習法では、用意した多数の弱判別器の中から、いくつかの弱判別器を選択し、これらをアンサンブルすることで、判別エラー率の低い強判別器を構築する。   As a construction method of the discriminator, there is adaptive boosting or adaptive boost known in Non-Patent Document 1. This is hereinafter referred to as “AdaBoost learning method”. This is applied in many object detection systems, and there is Non-Patent Document 2 as a face detection method from an image using this. In the AdaBoost learning method, it is said that the discriminator may have a high error rate that the discrimination error should be 50% or less, and this is called a weak discriminator. In the AdaBoost learning method, several weak classifiers are selected from a large number of prepared weak classifiers and ensembles are selected to construct a strong classifier having a low discrimination error rate.

アダブースト学習法を用いたリアルタイムでの正面顔検出手法として、非特許文献2や特許文献1に示される手法がある。非特許文献2や特許文献1における顔識別器、すなわち顔検出器では、複数の強判別器を一列に連結したカスケード構造をとる。カスケード構造では、連結している判別器をステージと称し、入力に近いほうから1ステージ目を1段目の強判別器、または1段目のステージ識別器と呼ぶ。各ステージの識別器は、アダブースト学習法によって学習し、学習用の入力画像から抽出された特徴量に基づく多数の弱判別器を連結し、構築する。各ステージ識別器は学習サンプルに対してはほぼ100%で識別が正解するように訓練する一方で、非顔画像の学習サンプルに対しては50%程度で識別が正解すればいいように訓練する。1段目のステージ識別器の場合は、入力画像に対して、また、2段目以降のステージ識別器の場合は、1段目のステージ識別器が顔と判定した入力画像に対して、顔/非顔の判定を行う。n段目のステージで非顔と判定されたものは、それ以上処理を行わず非顔と判定を決定するため、効率的に処理が可能であり、1秒あたり15フレーム程度の処理速度で動作することが知られている。   As a front face detection method in real time using the Adaboost learning method, there are methods shown in Non-Patent Document 2 and Patent Document 1. The face discriminator, that is, the face detector in Non-Patent Document 2 and Patent Document 1, has a cascade structure in which a plurality of strong discriminators are connected in a row. In the cascade structure, connected classifiers are referred to as stages, and the first stage closer to the input is referred to as a first-stage strong classifier or first-stage stage identifier. The classifier at each stage learns by the Adaboost learning method, and connects and constructs a number of weak classifiers based on the feature amount extracted from the learning input image. Each stage discriminator trains the learning sample so that the discrimination is correct at approximately 100%, while training is performed so that the discrimination is correct at about 50% for the learning sample of the non-face image. . In the case of the first stage discriminator, the face is applied to the input image, and in the case of the second and subsequent stage discriminators, the face is applied to the input image determined by the first stage discriminator as the face. / Determine non-face. What is determined to be non-face at the nth stage is determined as non-face without further processing, so it can be processed efficiently and operates at a processing speed of about 15 frames per second It is known to do.

また、異なる学習サンプルを用いて複数の顔検出器を構築し、それらの識別結果を総合することで識別精度を向上させる手法がある。その一例として、多数決(Majority Voting)方式が非特許文献2に示されている。非特許文献2の著者であるViolaらは3つのカスケード構造識別器(カスケード構造である識別器)を用意し、それらの出力結果の多数決により識別誤差が減少することを示している。非特許文献3に示される別のアプリケーションにおいては、非特許文献3の著者であるRowleyらは顔検出器を構築するために多数のニューラルネットを訓練した。複数の検出器の結果の結合方法として、前記多数決方式に代わって、多数のニューラルネットワーク検出器から最終結果を出力するように訓練されたニューラルネットワークを用いる手法が提案されている。   In addition, there is a method of improving the identification accuracy by constructing a plurality of face detectors using different learning samples and combining the identification results. As an example thereof, Non-Patent Document 2 shows a majority voting method. Viola et al., The author of Non-Patent Document 2, prepare three cascade structure classifiers (classifiers having a cascade structure), and show that the classification error is reduced by the majority of the output results. In another application shown in Non-Patent Document 3, Rowley et al., Author of Non-Patent Document 3, trained numerous neural networks to build a face detector. As a method for combining the results of a plurality of detectors, a method using a neural network trained to output final results from a number of neural network detectors has been proposed instead of the majority voting method.

顔検出のための特徴量の抽出方法としては、矩形特徴(Rectangle Feature)と呼ばれる特徴が非特許文献2でViolaらにより提案されている。画像ウィンドウの矩形特徴は矩形フィルターで定義された長方形の部分領域間の輝度差を測ることによって抽出される。   As a feature quantity extraction method for face detection, a feature called a rectangle feature is proposed by Viola et al. The rectangular feature of the image window is extracted by measuring the luminance difference between the rectangular partial areas defined by the rectangular filter.

また、別の特徴量抽出方法として、非特許文献4の「Modified Census Transform」が提案されている。特徴量は、入力画像中の3×3画素ブロックを2値画像に変換することによって抽出される。ブロック内の画素の輝度値はブロック内の輝度平均値と比較される。画素の輝度値が平均値よりも高いなら1が、そうでないなら0がラベル付けされる。ブロック内のすべての画素のラベルを順に並べると、9ビットの情報になり、これが特徴量の値として使用される。   As another feature amount extraction method, “Modified Census Transform” of Non-Patent Document 4 has been proposed. The feature amount is extracted by converting a 3 × 3 pixel block in the input image into a binary image. The luminance value of the pixel in the block is compared with the average luminance value in the block. If the luminance value of the pixel is higher than the average value, 1 is labeled, otherwise 0 is labeled. If the labels of all the pixels in the block are arranged in order, it becomes 9-bit information, which is used as a feature value.

米国特許出願公開第2002/0102024号明細書US Patent Application Publication No. 2002/0102024

Yoav Freund、Robert E. Schapire、「A decision-theoretic generalization of on-line learning and an application to boosting」、Computational Learning Theory: Eurocolt '95、Springer-Verlag、1995年、p.23−37Yoav Freund, Robert E. Schapire, `` A decision-theoretic generalization of on-line learning and an application to boosting '', Computational Learning Theory: Eurocolt '95, Springer-Verlag, 1995, p. 23-37 Paul Viola、Michael Jones、「Rapid Object Detection Using a Boosted Cascade of Simple Features」、IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR)、2001年12月、ISSN: 1063-6919, Vol. 1、p.511−518Paul Viola, Michael Jones, `` Rapid Object Detection Using a Boosted Cascade of Simple Features '', IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), December 2001, ISSN: 1063-6919, Vol. 1, p. 511-518 H. Rowley、S. Baluja、T. Kanade、「Neural Network-Based Face Detection」、IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI)、Vol. 20、No. 1、1998年1月、p.23−28H. Rowley, S. Baluja, T. Kanade, `` Neural Network-Based Face Detection '', IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI), Vol. 20, No. 1, January 1998, p.23- 28 Bernhard Froba、Andreas Ernst、「Face Detection with the Modified Census Transform」、Proceedings for Sixth IEEE International Conference on Automatic Face and Gesture Recognition (AFGR)、2004年5月、p.91−96Bernhard Froba, Andreas Ernst, `` Face Detection with the Modified Census Transform '', Proceedings for Sixth IEEE International Conference on Automatic Face and Gesture Recognition (AFGR), May 2004, p.91-96

しかしながら、上記の検出技術には下記の課題がある。   However, the above detection technique has the following problems.

第一の課題は、非特許文献2および特許文献1にて提案されているカスケード識別器において、弱判別器が全入力空間に対して処理する線形識別器であることである。弱判別器は一つ前の弱判別器の識別エラーを補うために追加、訓練される。しかし、新たに訓練された弱判別器を加えると、それらを連結してできる全体の識別器でのエラーは逓減するが、入力空間のある部分領域においてエラーを改善する一方で、別の部分領域では識別エラーを引き起こす。したがって、カスケード識別器内の後段の強判別器が、対象物(たとえば顔)を含む画像と対象物を含まない画像が、画像特徴として似通っている場合、特徴区間上でそれらのデータを線形分離できないことが多くなり、その判別エラーを引き起こす率が高くなる。そのため、非常に多くの弱判別器を必要とし、識別時に処理する判別処理数が増大する。   The first problem is that in the cascade classifiers proposed in Non-Patent Document 2 and Patent Document 1, the weak classifier is a linear classifier that processes the entire input space. Weak classifiers are added and trained to compensate for the previous weak classifier identification error. However, adding a newly trained weak discriminator reduces the error in the overall discriminator formed by concatenating them, but improves the error in one subregion of the input space, while another subregion Causes an identification error. Therefore, if the strong discriminator in the subsequent stage in the cascade discriminator is similar to the image including the object (for example, face) and the image not including the object as image features, the data is linearly separated on the feature section. There are many things that cannot be done, and the rate of causing the discrimination error becomes high. Therefore, a very large number of weak classifiers are required, and the number of discrimination processes to be processed at the time of identification increases.

また、ステージ識別器を学習する際には、対象物を含まない画像(以下、非対象物画像)についてはステージごとに異なる画像サンプルで学習され、学習の非対象物画像に合った最もよい(最もよく判別できる)弱判別器が選択されるが、対象物を含む画像(以下、対象物画像)については全ステージでそれと認識されなければならず、同一の学習サンプルで学習されている。しかしながら、たとえば対象物が顔である場合では、顔画像は、顔の向き・傾きや照明条件、個人の特徴や人種、サングラス・マスクや髪による隠蔽などにより、その特徴は大きく異なる。真正面向きで、目、鼻、口等がはっきり映っている顔は判別しやすく、一方、向きや照明等により顔の特徴が削減されている場合、判別し難い。このような事情があるにもかかわらず、従来の識別器はそれらの顔特徴について同一の弱判別器で処理を行っており、非顔とは区別しやすい顔画像を処理するメカニズムがない。また、各顔の特徴に応じた識別が実現されていないため、複雑な顔特徴に対する高精度な検出が困難となっている。   Further, when learning a stage discriminator, an image that does not include an object (hereinafter referred to as a non-object image) is learned with a different image sample for each stage, and is best suited to the learning non-object image ( The weak discriminator (which can be discriminated best) is selected, but an image including an object (hereinafter referred to as an object image) must be recognized as it at all stages and is learned by the same learning sample. However, for example, when the object is a face, the characteristics of the face image vary greatly depending on the orientation / tilt of the face, lighting conditions, personal characteristics and race, concealment by sunglasses / masks and hair, and the like. It is easy to discriminate a face that faces directly in front and clearly shows eyes, nose, mouth, etc. On the other hand, it is difficult to discriminate when the facial features are reduced by orientation, lighting, or the like. In spite of such circumstances, the conventional classifiers process those facial features with the same weak classifier, and there is no mechanism for processing a face image that can be easily distinguished from a non-face. In addition, since identification according to the feature of each face is not realized, it is difficult to detect a complex face feature with high accuracy.

第二の課題は、非特許文献2と特許文献1におけるカスケード構造では、あるステージの強判別器から別のステージへ、何の情報も伝達されないことである。従来の方式では、あるステージの弱判別器は前段のステージの強判別器の出力値を知らない。そのため、たとえば対象物が顔画像である場合に、正面向きで判別しやすい顔を対象とする検出器の構築は、カスケード構造により実現できても、入力空間が複雑で識別器が高次元に及ぶような複雑な顔(たとえば、多様な向きの顔画像)を対象とする検出器の実現は、カスケード構造では難しい。前段の強判別器の結果を知らずに、新たに強判別器を学習する場合、その強判別器で使用する弱判別機は、学習用の顔・非顔サンプルを全体的に最もうまく分離する弱判別機から選択される。一方、仮に前段の強判別器の結果として、前段の強判別器が識別し難かった(すなわち、顔・非顔の境界付近に存在するサンプルなのか)、判別がしやすかったサンプルであったかの情報が与えられていると、その情報を用いて、顔と非顔の境界付近をうまく識別する弱判別器から組み込むことができ、特徴空間上の顔と非顔の境界をすばやく見つけることが可能になる。したがって、複雑な識別境界となる、多様な向きの顔のような複雑な顔の識別ができる検出器の構築の実現には、前段の強判別機の情報が不可欠と考えられる。   The second problem is that in the cascade structure in Non-Patent Document 2 and Patent Document 1, no information is transmitted from a strong discriminator of one stage to another stage. In the conventional method, the weak classifier of a certain stage does not know the output value of the strong classifier of the preceding stage. Therefore, for example, when the object is a face image, the construction of a detector for a face that is easy to discriminate in the front direction can be realized by a cascade structure, but the input space is complicated and the classifier has a high dimension. Realization of a detector for such a complex face (for example, face images in various directions) is difficult in a cascade structure. When learning a new strong classifier without knowing the result of the strong classifier in the previous stage, the weak classifier used in the strong classifier is the weakest class that best separates the learning face and non-face samples as a whole. Selected from the classifier. On the other hand, as a result of the strong classifier in the previous stage, information about whether the strong classifier in the previous stage was difficult to identify (that is, a sample that exists near the boundary between the face and non-face), and was a sample that was easy to distinguish Can be incorporated from weak discriminators that use the information to identify the vicinity of the boundary between the face and the non-face, making it possible to quickly find the boundary between the face and the non-face in the feature space Become. Therefore, it is considered that the information of the strong classifier in the previous stage is indispensable for the construction of a detector that can identify a complex face such as a face in various directions, which becomes a complex identification boundary.

第三の課題は、非特許文献2において示されている多数決方式では、複数の検出器が並列に動作するので処理負荷が大きい。また、カスケード識別器がそれぞれ独立に訓練されるので、それらが補完的に動作しているか否かが不明である。識別器間では情報を共有しない。多数決手法は複数の検出器の結果を結合するための最良の手法ではない。たとえば、まったく別の識別器が訓練され、非特許文献4に示されるように複数の識別器から最良の結果を出力するように構築した場合には、処理時間はもっと早くなる。   A third problem is that in the majority voting method shown in Non-Patent Document 2, a plurality of detectors operate in parallel, and thus the processing load is large. In addition, since cascade discriminators are trained independently, it is unclear whether they are operating in a complementary manner. No information is shared between classifiers. The majority method is not the best way to combine the results of multiple detectors. For example, if a completely different classifier is trained and configured to output the best results from multiple classifiers as shown in Non-Patent Document 4, the processing time will be faster.

第四の課題は、非特許文献2および特許文献1において、Violaらによって提案されている輝度値に基づく矩形特徴が、照明環境に敏感であるということである。たとえば、図15は従来技術における矩形特徴の課題を説明するための図であり、矩形特徴は図15の斜線で示す矩形1220と、矩形1221との間の輝度値の差の値である。たとえば、図15(B)の顔画像1202では照明影響が顔の一部に強く現れており、そのような画像における輝度値の差は、図15(D)の非顔画像1212のそれに似た値となる。さらに、その特徴量は矩形ブロック内の輝度情報だけを測るので、重要な配置情報を取得しない。たとえば、図15(C)に示す非顔画像1211と図15(A)に示す顔画像1201は、双方がほぼ同数の低輝度値の画素を持つので同じくらいの輝度差の値を持つ。高低の輝度値を持つ画素の空間的分布は画像を識別する上で非常に重要であるが、それらが特徴抽出の中で考慮されていない。非顔画像が顔画像により似通ってくる後段の識別器では、矩形特徴が顔と非顔を分離するのにどんどん効果がなくなっていき、識別エラーを増加させる。これが、ステージ識別器における特徴量の数を大きく増加する要因となっている。   The fourth problem is that the rectangular feature based on the luminance value proposed by Viola et al. In Non-Patent Document 2 and Patent Document 1 is sensitive to the lighting environment. For example, FIG. 15 is a diagram for explaining the problem of the rectangular feature in the prior art, and the rectangular feature is a value of a difference in luminance value between the rectangle 1220 and the rectangle 1221 indicated by the oblique lines in FIG. For example, in the face image 1202 in FIG. 15B, the illumination effect appears strongly on a part of the face, and the difference in luminance value in such an image is similar to that of the non-face image 1212 in FIG. Value. Further, since the feature amount only measures the luminance information in the rectangular block, important arrangement information is not acquired. For example, the non-face image 1211 shown in FIG. 15C and the face image 1201 shown in FIG. 15A have approximately the same number of low luminance value pixels, and therefore have the same luminance difference value. Although the spatial distribution of pixels with high and low luminance values is very important in identifying images, they are not considered in feature extraction. In the latter classifier in which the non-face image is more similar to the face image, the rectangular feature becomes less effective in separating the face and the non-face and increases the identification error. This is a factor that greatly increases the number of feature quantities in the stage discriminator.

異なるアプローチとして、たとえば非特許文献4に示されている、パターンにもと基づく「modified census transform」特徴量があるが、これは局所特徴量だけを抽出するのでノイズの影響に敏感となってしまう。たとえば、図16は、この従来の特徴量の課題を説明するための図である。変換テンプレートは3x3画素のブロック1250に対して特徴量をとる。ブロック1250が二値ブロック1251に示すように二値に変換されるとき、ノイズの載った非顔画像1231も、顔画像1201と同じ二値ブロック値に変換される。これは、「modified census transform」特徴量では、輝度情報が完全に無視されているからである。「modified census transform」特徴量は画素を単位としているので、ブロックに局所化しすぎであり、大域的な特徴量を取得できていない。   As a different approach, for example, there is a “modified census transform” feature amount based on a pattern, which is shown in Non-Patent Document 4, for example, but this is sensitive to the influence of noise because only the local feature amount is extracted. . For example, FIG. 16 is a diagram for explaining the problem of this conventional feature amount. The conversion template takes a feature amount for a block 1250 of 3 × 3 pixels. When the block 1250 is converted to binary as indicated by the binary block 1251, the non-face image 1231 with noise is also converted to the same binary block value as the face image 1201. This is because luminance information is completely ignored in the “modified census transform” feature. Since the “modified census transform” feature value is in units of pixels, it is too localized in the block, and a global feature value cannot be acquired.

本発明は、上記の事情に鑑みてなされたものであって、高精度で、処理負荷の増加を抑えることが可能な対象物検出装置及びその学習装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an object detection device and a learning device thereof that can suppress an increase in processing load with high accuracy.

本発明の第1は、対象物検出装置であって、入力された画像から、当該画像の部分領域である画像ウィンドウを複数抽出する画像ウィンドウ抽出手段と、対象物の識別を行う識別器を有するノードがネットワーク状に接続されたノードネットワークを用いて、前記抽出された画像ウィンドウの各々に対して、対象物の存在を検出する対象物検出手段とを備える。   1st of this invention is an object detection apparatus, Comprising: The image window extraction means which extracts multiple image windows which are the partial area | regions of the said image from the input image, and the discriminator which identifies a target object Object detection means for detecting the presence of an object for each of the extracted image windows using a node network in which nodes are connected in a network form.

この構成により、ノードネットワークを用いて画像ウィンドウを識別し、対象物の存在を検出するので、高精度で、処理負荷の増加を抑えることが可能となる。   With this configuration, an image window is identified using a node network and the presence of an object is detected, so that an increase in processing load can be suppressed with high accuracy.

本発明は、第2に、上記第1に記載の対象物検出装置であって、前記ノードは、複数の識別器を有する。   A second aspect of the present invention is the object detection apparatus according to the first aspect, wherein the node includes a plurality of discriminators.

本発明は、第3に、上記第1又は第2に記載の対象物検出装置であって、前記対象物検出手段は、前記ノードネットワークにおいて、少なくとも一つの経路を生成する経路生成手段と、前記生成された経路の各々について対象物の識別処理を行い、前記画像ウィンドウが対象物を含むか否かの識別結果を出力する識別手段とを有する。   Thirdly, the object detection apparatus according to the first or second aspect described above, wherein the object detection unit includes a route generation unit that generates at least one route in the node network; And identifying means for performing an object identification process for each of the generated paths and outputting an identification result as to whether or not the image window includes the object.

本発明は、第4に、上記第3に記載の対象物検出装置であって、前記対象物検出手段は、前記画像ウィンドウに対して前記ノードネットワークの中にまだ評価していない新しい経路が存在するか否かを判別し、当該判別結果に基づいて、前記経路生成手段による経路生成処理と、前記識別手段による前記識別結果出力処理とを繰り返す。   Fourthly, the present invention provides the object detection apparatus according to the third aspect, wherein the object detection means has a new path that has not yet been evaluated in the node network with respect to the image window. Whether or not to perform the determination is determined, and based on the determination result, the route generation processing by the route generation means and the identification result output processing by the identification means are repeated.

本発明は、第5に、上記第4に記載の対象物検出装置であって、前記経路生成処理及び前記識別結果出力処理は、その繰返し回数が所定の回数に達するまで、又は新たな経路が生成できなくなるまで繰り返される。   The fifth aspect of the present invention is the object detection apparatus according to the fourth aspect, wherein the route generation processing and the identification result output processing are repeated until the number of repetitions reaches a predetermined number of times or when a new route is detected. Repeated until it can no longer be generated.

本発明は、第6に、上記第3ないし第5のいずれかに記載の対象物検出装置であって、前記経路生成手段は、経路の数が所定の数を超えず、かつ少なくとも一つの経路を決定する経路決定部と、新しい経路を生成するために前記ネットワーク上の各経路を分割する機能とを有する。   Sixthly, the present invention provides the object detection apparatus according to any one of the third to fifth aspects, wherein the path generation unit does not exceed a predetermined number of paths and at least one path And a function of dividing each route on the network to generate a new route.

本発明は、第7に、上記第3ないし6のいずれかに記載の対象物検出装置であって、前記識別手段は、前記生成された各経路での識別結果と識別エラーとを求める識別処理を行う評価部と、前記ノードネットワークの識別結果として最も識別エラーの低い経路での識別結果を選択する選択部と、最も低い識別エラーが所定の値より小さくなった場合に前記評価部における識別処理を停止することを決定する停止決定部とを有する。   Seventhly, the present invention provides the object detection apparatus according to any one of the third to sixth aspects, wherein the identification unit obtains an identification result and an identification error in each of the generated paths. An evaluation unit that performs the selection, a selection unit that selects an identification result on a route with the lowest identification error as an identification result of the node network, and an identification process in the evaluation unit when the lowest identification error becomes smaller than a predetermined value And a stop determining unit that determines to stop.

本発明は、第8に、上記第7に記載の対象物検出装置であって、前記評価部は、生成された経路の各ノードについて前記画像ウィンドウの特徴量値を抽出する抽出部と、経路に含まれる各ノードの評価値を出すために前記特徴量値を識別器に適用する適用部と、生成された経路の累積評価値を生成するために各ノードの評価値を結合する結合部と、生成された経路の前記識別結果を得るために、累積評価値を用いて画像ウィンドウが対象物体を含むか否かを識別する識別部と、生成された経路の識別結果に対して識別エラーを推定するエラー推定部とを有する。   Eighth, the present invention is the object detection device according to the seventh aspect, wherein the evaluation unit extracts a feature value of the image window for each node of the generated route, and a route An application unit that applies the feature value to the discriminator in order to obtain an evaluation value of each node included in the node, and a coupling unit that combines the evaluation values of the nodes to generate a cumulative evaluation value of the generated path. In order to obtain the identification result of the generated route, an identification unit for identifying whether the image window includes the target object using a cumulative evaluation value, and an identification error with respect to the generated route identification result An error estimation unit for estimation.

本発明は、第9に、上記第1ないし第8のいずれかに記載の対象物検出装置であって、前記各ノードの識別器による識別結果を最終結果の判定に利用するか否かは、前記画像ウィンドウ内の特徴に合わせて変更される。   Ninthly, the present invention provides the object detection apparatus according to any one of the first to eighth aspects, wherein whether or not the identification result by the classifier of each of the nodes is used for determining a final result, It is changed according to the feature in the image window.

本発明は、第10に、上記第1ないし8のいずれかに記載の対象物検出装置であって、前記各ノードの識別器による識別結果を最終結果の判定に利用する割合は、前記画像ウィンドウ内の特徴に合わせて変更される。   The tenth aspect of the present invention is the object detection apparatus according to any one of the first to eighth aspects, wherein a ratio of using a discrimination result by a discriminator of each node for determination of a final result is the image window. It is changed according to the characteristics in

本発明は、第11に、上記第10に記載の対象物検出装置であって、前記各ノードの識別器による識別結果を最終結果の判定に利用する割合は、前記画像ウィンドウ内の特徴と、前記識別器の学習に用いた画像の特徴との差に基づくパラメータに基づいて決定される。   Eleventhly, in the object detection apparatus according to the tenth aspect described above, the ratio of the identification result obtained by the classifier of each node used for the determination of the final result is the characteristics in the image window, It is determined based on a parameter based on the difference from the image feature used for learning of the classifier.

本発明は、第12に、上記第1ないし8のいずれか一項に記載の対象物検出装置であって、前記識別器がブースティング法に基づく場合、ある識別器の結果が最終結果の判定に寄与する割合は、前記画像ウィンドウに対して当該識別器以前の全識別器による累積評価値と、当該識別器を学習画像に基づき構築する際に当該識別器以前の全識別器による累積評価値のうちもっとも識別エラーが高かった累積評価値との差に基づいて決定される。   The twelfth aspect of the present invention is the object detection apparatus according to any one of the first to eighth aspects, wherein when the discriminator is based on a boosting method, a result of a discriminator is determined as a final result. The ratio that contributes to: the cumulative evaluation value by all classifiers before the classifier for the image window, and the cumulative evaluation value by all classifiers before the classifier when the classifier is constructed based on the learning image Is determined based on the difference from the cumulative evaluation value having the highest identification error.

本発明は、第13に、上記第1ないし8のいずれか一項に記載の対象物検出装置であって、前記各ノードにおける識別器において、累積評価値に寄与する割合が、当該ノードの親ノードにおける前記画像ウィンドウの累積評価値と、当該ノードの特徴量識別器を学習画像に基づき構築する際に当該ノードの親ノードにおける累積評価値のうちもっとも識別エラーが高かった累積評価値との差に基づいて決定される。   According to a thirteenth aspect of the present invention, in the object detection device according to any one of the first to eighth aspects, in the discriminator at each node, a ratio that contributes to a cumulative evaluation value is a parent of the node. The difference between the cumulative evaluation value of the image window at the node and the cumulative evaluation value with the highest identification error among the cumulative evaluation values at the parent node of the node when the feature classifier of the node is constructed based on the learning image To be determined.

本発明は、第14に、上記第1ないし13のいずれかに記載の対象物検出装置であって、前記対象物検出手段は、あるノードの親ノードが複数存在する場合に、当該ノードの特徴量識別器を学習する際に学習画像において当該ノードの親ノードにおける累積評価値においてもっとも識別エラーを出した累積評価値を、親ノードにおける累積評価値の範囲で探索する。   The fourteenth aspect of the present invention is the object detection device according to any one of the first to thirteenth aspects, wherein the object detection means has a feature of a node when there are a plurality of parent nodes of the node. When learning the quantity discriminator, the accumulated evaluation value that has caused the most identification error in the accumulated evaluation value at the parent node of the node in the learning image is searched in the range of the accumulated evaluation value at the parent node.

本発明は、第15に、対象物検出装置の学習装置であって、前記対象物検出装置は、対象物の識別を行う識別器を有するノードがネットワーク状に接続されたノードネットワークを用いて、前記ノードネットワーク構造の識別器を動的に学習するノードネットワーク学習手段を備え、前記ノードネットワーク学習手段は、前記ノードネットワークの中に、少なくとも1つの空ノードを生成する空ノード生成手段と、前記空ノードの学習用の複数の画像を集める学習画像収集手段と、前記収集した画像で空ノードを学習するノード学習手段とを有する。   15thly, this invention is a learning apparatus of a target object detection apparatus, Comprising: The said target object detection apparatus uses the node network to which the node which has the discriminator which identifies a target object was connected in network form, Node network learning means for dynamically learning the classifier of the node network structure, wherein the node network learning means includes empty node generation means for generating at least one empty node in the node network, and the empty network Learning image collecting means for collecting a plurality of images for node learning, and node learning means for learning an empty node from the collected images.

本発明は、第16に、上記第15に記載の学習装置であって、前記ノードネットワーク学習手段は、新しい空のノードを作成しうるかどうか判別し、当該判別結果に基づいて、前記空ノード生成手段、前記学習画像収集手段及び前記ノード学習手段による処理を繰り返す。   The sixteenth aspect of the present invention is the learning device according to the fifteenth aspect described above, wherein the node network learning unit determines whether a new empty node can be created, and generates the empty node based on the determination result. The processing by the means, the learning image collection means and the node learning means is repeated.

本発明は、第17に、上記第15又は16に記載の学習装置であって、前記空ノード生成手段は、前記ノードネットワークが空の場合に基準となるノードを生成し、ノードネットワークにすでに存在するノードを統合と分割することによって新しい空ノードを生成する。   Seventeenth, the present invention is the learning device according to the fifteenth or sixteenth aspect, wherein the empty node generation unit generates a reference node when the node network is empty and already exists in the node network. A new empty node is created by integrating and splitting the nodes to be created.

本発明は、第18に、上記第15ないし17のいずれかに記載の学習装置であって、前記空ノード生成手段は、前記学習画像収集手段により集められた画像の数が不十分である場合に、そのノードを除去する。   The eighteenth aspect of the present invention is the learning device according to any one of the fifteenth to seventeenth aspects, wherein the empty node generation means has an insufficient number of images collected by the learning image collection means. Then remove the node.

本発明は、第19に、上記第15ないし18のいずれかに記載の学習装置であって、前記学習画像収集手段は、前記画像を構築中のノードネットワークの入力として与え、画像を伝播させ、前記空ノード間で画像を共有し、各空ノードに到達する画像を収集する。   Nineteenth, the present invention is the learning device according to any one of the fifteenth to eighteenth aspects, wherein the learning image collection means gives the image as an input of a node network under construction, propagates the image, Images are shared among the empty nodes, and images reaching each empty node are collected.

本発明は、第20に、上記第15ないし19のいずれかに記載の学習装置であって、前記ノード学習手段には、ブースティングアルゴリズムが適用される。   The twentieth aspect of the present invention is the learning device according to any one of the fifteenth to nineteenth aspects, wherein a boosting algorithm is applied to the node learning unit.

本発明は、第21に、上記第20に記載の学習装置であって、前記ノード学習手段は、前記ブースティングアルゴリズムにより前記収集された画像から部分集合を決定し、当該部分集合を用いて、収集された画像に重み付けを行い、重み付けされた画像を用いて前記空ノードの識別器を決定する。   The invention according to the twenty-first aspect is the learning device according to the twentieth aspect, wherein the node learning unit determines a subset from the collected images by the boosting algorithm, and uses the subset. The collected image is weighted, and the classifier of the empty node is determined using the weighted image.

本発明は、第22に、上記第1ないし14のいずれか一項に記載の対象物検出装置であって、前記対象物検出手段は、前記画像ウィンドウの画素の空間分布情報と画素の強さ情報の双方を利用して検出する。   According to a twenty-second aspect of the present invention, in the object detection device according to any one of the first to fourteenth aspects, the object detection unit includes the spatial distribution information of the pixels of the image window and the intensity of the pixels. Detect using both information.

本発明は、第23に、上記第22に記載の対象物検出装置であって、前記画素の空間分布情報は、1つ以上の画素から構成される画素ブロックについて、複数の画素ブロック間での、各画素ブロックの特徴量値の大小関係と画素ブロックの画像上の配置関係とを表すものである。   According to a twenty-third aspect of the present invention, in the object detection device according to the twenty-second aspect, the spatial distribution information of the pixels is a pixel block composed of one or more pixels. This represents the magnitude relationship between the feature value of each pixel block and the arrangement relationship of the pixel block on the image.

本発明は、第24に、上記第23に記載の対象物検出装置であって、前記画素の強さ情報は、前記空間分布情報に対して、各画素ブロックの特徴量値の大小関係の強さを表すものである。   According to a twenty-fourth aspect of the present invention, in the object detection apparatus according to the twenty-third aspect, the strength information of the pixel is a strength of a magnitude relation of a feature value of each pixel block with respect to the spatial distribution information. It expresses.

本発明は、第25に、上記第23又は24に記載の対象物検出装置であって、前記画素ブロックには、長方形のテンプレートが適用される。   According to a twenty-fifth aspect of the present invention, in the object detection device according to the twenty-third or twenty-fourth, a rectangular template is applied to the pixel block.

本発明によれば、高精度で、処理負荷の増加を抑えることが可能な対象物検出装置及びその学習装置を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the target object detection apparatus which can suppress the increase in processing load with high precision, and its learning apparatus can be provided.

本発明の実施形態に係る対象物検出装置の概略構成を示すブロック図The block diagram which shows schematic structure of the target object detection apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るノードネットワークを示す概念図The conceptual diagram which shows the node network which concerns on embodiment of this invention 本発明の実施形態に係るパス生成部の処理手順を示すフローチャートThe flowchart which shows the process sequence of the path | pass production | generation part which concerns on embodiment of this invention. 本発明の実施形態に係る画像ウィンドウ検出処理部の処理手順を示すフローチャートThe flowchart which shows the process sequence of the image window detection process part which concerns on embodiment of this invention. 本発明の実施形態に係る対象物検出学習装置の概略構成を示すブロック図The block diagram which shows schematic structure of the target object detection learning apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る空ノード生成部の処理手順を示すフローチャートThe flowchart which shows the process sequence of the empty node production | generation part which concerns on embodiment of this invention. 本発明の実施形態に係る空ノード生成を説明する概念図The conceptual diagram explaining the empty node production | generation which concerns on embodiment of this invention 本発明の実施形態に係る画像サンプル収集部の処理手順を示すフローチャートThe flowchart which shows the process sequence of the image sample collection part which concerns on embodiment of this invention. 本発明の実施形態に係るノード学習部の処理手順を示すフローチャートThe flowchart which shows the process sequence of the node learning part which concerns on embodiment of this invention. 本発明の実施形態に係る特徴抽出部の概略構成を示すブロック図The block diagram which shows schematic structure of the feature extraction part which concerns on embodiment of this invention. 本発明の実施形態に係る特徴抽出用の矩形テンプレートの一例を示す図The figure which shows an example of the rectangular template for the feature extraction which concerns on embodiment of this invention 本発明の実施形態に係る特徴抽出部の処理手順を示すフローチャートThe flowchart which shows the process sequence of the feature extraction part which concerns on embodiment of this invention. 本発明の実施形態に係る特徴抽出部における処理手順を説明するための説明図Explanatory drawing for demonstrating the process sequence in the feature extraction part which concerns on embodiment of this invention 本発明の実施形態に係る特徴抽出用の矩形テンプレートの他の例を示す図The figure which shows the other example of the rectangular template for the feature extraction which concerns on embodiment of this invention 従来技術における矩形特徴の課題を説明するための図The figure for demonstrating the subject of the rectangular feature in a prior art 従来の特徴量の課題を説明するための図The figure for demonstrating the subject of the conventional feature-value

次に、本発明の実施形態に係る対象物検出装置について説明する。以下の説明では、対象物として人物の顔を具体例として説明する。   Next, the target object detection apparatus which concerns on embodiment of this invention is demonstrated. In the following description, a human face will be described as a specific example as an object.

<検出装置の構造>
図1は、本発明の実施形態に係る対象物検出装置の概略構成を示すブロック図である。図1に示すように、本実施形態の対象物検出装置は、入力部201と、画像ウィンドウ抽出部210と、記憶部502と、ネットワーク識別器590と、出力部202とを有する。
<Structure of detection device>
FIG. 1 is a block diagram showing a schematic configuration of an object detection apparatus according to an embodiment of the present invention. As shown in FIG. 1, the object detection apparatus of the present embodiment includes an input unit 201, an image window extraction unit 210, a storage unit 502, a network identifier 590, and an output unit 202.

画像ウィンドウ抽出部210は、入力部201に入力された画像から複数の画像ウィンドウを抽出する。なお、「画像ウィンドウ」とは、入力画像内の部分領域を意味し、入力画像からは、部分領域の位置や大きさを変えた多数のウィンドウが切り出し可能である。   The image window extraction unit 210 extracts a plurality of image windows from the image input to the input unit 201. The “image window” means a partial area in the input image, and a large number of windows in which the position and size of the partial area are changed can be cut out from the input image.

記憶部502は、ノードネットワークを蓄積する。図2は、本発明の実施形態に係るノードネットワークを示す概念図である。ネットワーク100は、ネットワーク上に配置された複数のノードを有する。   The storage unit 502 stores a node network. FIG. 2 is a conceptual diagram showing a node network according to the embodiment of the present invention. The network 100 has a plurality of nodes arranged on the network.

同図に、ネットワークの基本ユニット110を示す。基本ユニット110は、1つのノード・「ノードN」111と、多くともM個のノードからのつながりを統合するジョイント部117と、多くともN個のノードへ分割するスピリット部118からなる。たとえば、図2では、M=N=2の場合を示している。また、M個のノードは、ノードNの親ノードと称し、N個のノードはノードNの子ノードと称す。   The figure shows the basic unit 110 of the network. The basic unit 110 includes one node “node N” 111, a joint unit 117 that integrates connections from at most M nodes, and a spirit unit 118 that divides into at most N nodes. For example, FIG. 2 shows a case where M = N = 2. The M nodes are referred to as parent nodes of the node N, and the N nodes are referred to as child nodes of the node N.

図2の場合、ノードNの親ノードはノード112、113であり、子ノードはノード114,115である。親ノードのないノードをルートノード(図2では101)と称す。入力画像170はルートノード101に入力される。   In the case of FIG. 2, the parent nodes of the node N are the nodes 112 and 113, and the child nodes are the nodes 114 and 115. A node having no parent node is referred to as a root node (101 in FIG. 2). The input image 170 is input to the root node 101.

各ノード111は複数の識別器を有しており、識別器は、特徴量識別器h、対象物識別器H、そして識別エラー関数Eを有する。識別器はたとえば、Jin, R.、Hauptmann, A.、Carbonell, J.、 Si, L.、Liu, Y.、「A New Boosting Algorithm Using Input Dependent Regularizer」、20th International Conference on Machine Learning (ICML'03), Washington, DC, August 21-24, 2003(以下、文献Aという)に示されるように、局所的にブースティングを用いることによって構築することが可能である。特徴量識別器はブースティング学習法における弱判別器であってもよいし、また、対象物識別器はブースティング学習法における強判別器であってもよい。 Each node 111 has a plurality of discriminator, the discriminator has feature classifier h n, the object identifier H n, and the identification error function E n. For example, Jin, R., Hauptmann, A., Carbonel, J., Si, L., Liu, Y., `` A New Boosting Algorithm Using Input Dependent Regularizer '', 20th International Conference on Machine Learning (ICML ' 03), Washington, DC, August 21-24, 2003 (hereinafter referred to as Document A), and can be constructed by using boosting locally. The feature quantity classifier may be a weak classifier in the boosting learning method, and the object classifier may be a strong classifier in the boosting learning method.

図1の対象物検出装置の説明に戻る。ネットワーク識別器590は、ネットワーク構造を有する識別器であり、画像ウィンドウ抽出部210から画像ウィンドウを取得し、記憶部502に蓄積されているノードネットワークを用いて、各画像ウィンドウに対象物が含まれるか否かを識別する。   Returning to the description of the object detection apparatus of FIG. The network classifier 590 is a classifier having a network structure, acquires an image window from the image window extraction unit 210, and includes an object in each image window using a node network stored in the storage unit 502. Or not.

ネットワーク識別器590は、パス生成部520と画像ウィンドウ検出処理部530を有する。パス生成部520は、記憶部502に蓄積されているノードネットワークの情報を読み込み、少なくとも1つ以上のパス(経路)を生成する。パスは、画像ウィンドウを処理するために選ばれたノードの列である。   The network identifier 590 includes a path generation unit 520 and an image window detection processing unit 530. The path generation unit 520 reads the node network information stored in the storage unit 502 and generates at least one path (route). A path is a sequence of nodes selected to process an image window.

画像ウィンドウ検出処理部530は、画像ウィンドウ抽出部210から画像ウィンドウを取得し、パス生成部520によって生成されたパスにより、画像ウィンドウを処理する。なお、各パスにおいて、上述した各ノードにおいて識別器(特徴量識別器h、対象物識別器H、識別エラー関数E)による演算を行い、画像ウィンドウが対象物を含むか否かを示す識別結果が生成される。出力する識別結果として、最も識別エラーの低い識別結果を選択し、出力部202に蓄積する。 The image window detection processing unit 530 acquires an image window from the image window extraction unit 210 and processes the image window using the path generated by the path generation unit 520. In each pass, calculation is performed by the classifier (feature quantity classifier h n , target object classifier H n , identification error function E n ) at each node described above, and whether or not the image window includes the target object is determined. An identification result is generated. As the identification result to be output, the identification result with the lowest identification error is selected and stored in the output unit 202.

続いて、ネットワーク識別器590は新しいパスを生成するよう、パス生成部520に指示し、それ以上新しいパスが生成されなくなるまで、または所定の回数に達するまで上記識別処理を繰り返す。   Subsequently, the network discriminator 590 instructs the path generation unit 520 to generate a new path, and repeats the above identification process until no new paths are generated or until a predetermined number of times is reached.

図3は、本発明の実施形態に係るパス生成部の処理手順を示すフローチャートである。まず、パス生成部520は、ネットワーク内に生成されているパスがあるか否かを判定する(ステップ621)。パスがない場合、ルートノードのみを含むパスが生成され(ステップ622)、パス生成処理を終了する。   FIG. 3 is a flowchart showing a processing procedure of the path generation unit according to the embodiment of the present invention. First, the path generation unit 520 determines whether there is a path generated in the network (step 621). If there is no path, a path including only the root node is generated (step 622), and the path generation process is terminated.

パスが存在した場合、ネットワーク内に生成されているパスの数があらかじめ設定したK個よりも大きいか否かを判定する(ステップ623)。Kの値はたとえば、1、2、3などが設定される。パス数がKを超えている場合、パス数が多くともK個となるように識別エラーが高いパスを終了させる(ステップ624)。ここで、画像ウィンドウ検出処理部530において既に求められたものにより判定する。また、「パスを終了する」とは、あるパスについて、入力画像に対してそれ以上処理しない場合をいう。   If there is a path, it is determined whether or not the number of paths generated in the network is larger than a preset number K (step 623). For example, 1, 2, 3, etc. are set as the value of K. If the number of paths exceeds K, the path with a high identification error is terminated so that the number of paths is at most K (step 624). Here, the determination is made based on what has already been obtained by the image window detection processing unit 530. “End a pass” refers to a case where no further processing is performed on an input image for a certain pass.

それぞれの現在のパスを分割することによって、より多くのパスを生成する(ステップ625)。たとえば、あるパスが{node、node、node}を含む場合について考える。このとき、たとえばnodeの子ノードとして、nodeb,child1と、nodeb,child2が生成され、新しいパス、{node、node、node、nodeb,child1}と{node、node、node、nodeb,child2}が生成される。 More paths are generated by dividing each current path (step 625). For example, consider the case where a path includes {node 0 , node a , node b }. At this time, as a child node of the example node b, node and b, child1, node b, child2 is generated, a new path, {node 0, node a, node b, node b, child1} and {node 0, node a , Node b , node b, child2 } are generated.

図4は、本発明の実施形態に係る画像ウィンドウ検出処理部の処理手順を示すフローチャートである。   FIG. 4 is a flowchart showing a processing procedure of the image window detection processing unit according to the embodiment of the present invention.

各生成されたパスに対し、画像ウィンドウ検出処理部530は画像ウィンドウが対象物を含むか否かを示す識別結果を評価する。識別結果はたとえば上記文献Aのように局所的なブースティングから得てもよい。出力の識別結果は、生成されたパスのすべての識別結果から選択される。   For each generated path, the image window detection processing unit 530 evaluates an identification result indicating whether or not the image window includes an object. The identification result may be obtained from local boosting as in Document A above, for example. The output identification result is selected from all the identification results of the generated path.

図4のフローチャートの各ステップについて説明する。まず、画像ウィンドウ検出処理部530は、生成されたパスの各ノードに対して、入力の画像ウィンドウから特徴量を抽出する(ステップ631)。入力画像ウィンドウをXとし、ノードNについて抽出された特徴量をf(X)とする。なお、特徴抽出は、例えば図10に示す特徴抽出部390によって処理されるものであり、詳細は後述する。 Each step of the flowchart of FIG. 4 will be described. First, the image window detection processing unit 530 extracts a feature amount from the input image window for each node of the generated path (step 631). Let X be the input image window, and let f n (X) be the feature quantity extracted for node N. Note that the feature extraction is performed by, for example, the feature extraction unit 390 shown in FIG. 10, and details will be described later.

次に、抽出した特徴量f(X)を識別器に与え、生成されたパスのノードに対するスコアh(X)を求める(ステップ632)。スコアh(X)は、特徴量識別器hから求められ、次の式(1)に基づいて計算される。 Next, the extracted feature quantity f n (X) is given to the discriminator, and the score h n (X) for the node of the generated path is obtained (step 632). The score h n (X) is obtained from the feature quantity discriminator h n and is calculated based on the following equation (1).

Figure 2011034581
Figure 2011034581

上記式(1)のProb(k)は、イベントkが発生する確率を示す。Y=+1およびY=−1は、それぞれ入力画像が対象物を含む場合、および含まない場合を意味している。   Prob (k) in the above equation (1) indicates the probability that the event k will occur. Y = + 1 and Y = −1 mean that the input image includes and does not include the object, respectively.

次に、各ノードのスコアが生成されたパスに対する累積スコアS(X)を評価するために結合する(ステップ633)。累積スコアS(X)は、次式(2)で求めてもよい。 Next, the score of each node is combined to evaluate the accumulated score S n (X) for the generated path (step 633). The cumulative score S n (X) may be obtained by the following equation (2).

Figure 2011034581
Figure 2011034581

正則化関数exp(−|Sn,parent(X)−α|)は、特徴量識別器h(X)による効果を入力画像に応じて局所化するものであり、入力画像Xに対してSn,parent(X)が正則化パラメータαに十分に近い値をとる場合にのみ累積スコアS(X)に加算する。従って、ある場合には、exp(−|Sn,parent(X)−α|)はほぼ0となり、新しい値S(X)は古い値Sn,parent(X)と相対的にほぼ変わりない値になることもある。 The regularization function exp (− | S n, parent (X) −α n |) localizes the effect of the feature quantity classifier h n (X) according to the input image. Thus, only when S n, parent (X) takes a value sufficiently close to the regularization parameter α n , it is added to the cumulative score S n (X). Therefore, in some cases, exp (− | S n, parent (X) −α n |) is almost 0, and the new value S n (X) is relatively close to the old value S n, parent (X). The value may not change.

次に、各パスの累積スコアS(X)と識別結果H(X)により、画像ウィンドウが対象物を含むか否かを判定する(ステップ634)。ここで、識別結果H(X)は、対象物識別器Hから求めてもよく、次式(3)で求めてもよい。 Next, it is determined whether or not the image window includes an object based on the cumulative score S n (X) and the identification result H n (X) of each path (step 634). Here, the discrimination result H n (X) may be obtained from the object discriminator H n or may be obtained by the following equation (3).

Figure 2011034581
Figure 2011034581

(X)=+1は、画像ウィンドウが対象物を含むとする判別結果であり、H(X)=−1は、対象物を含まないとの判別結果を意味する。 H n (X) = + 1 is a determination result that the image window includes the object, and H n (X) = − 1 means a determination result that the object does not include the object.

次に、パスの識別結果に対する識別エラーE(X)を推定する(ステップ635)。識別エラーは、エラー関数E(誤差関数)から求めることができ、また次式(4)で求めてもよい。 Next, an identification error E n (X) for the path identification result is estimated (step 635). The identification error can be obtained from the error function E n (error function) or may be obtained by the following equation (4).

Figure 2011034581
Figure 2011034581

また、計算にかかる処理負荷を低減するために、関数hは、次式(5)のようにルックアップテーブルとして実装してもよい。関数E、HおよびSもまた、次式(6)のように二次元のルックアップテーブルとして実装してもよい。 Moreover, in order to reduce the processing load concerning calculation, the function h n may be implemented as a lookup table as shown in the following equation (5). The functions E n , H n and S n may also be implemented as a two-dimensional lookup table as shown in the following equation (6).

Figure 2011034581
Figure 2011034581

Figure 2011034581
Figure 2011034581

画像ウィンドウ検出処理部530は、上記ステップ631〜635を繰り返し、各パスの識別結果および識別エラー(誤差関数)を求める(ステップ636)。そして、求められたパスの識別結果の中から、最も低い識別エラー値の識別結果を出力結果として選択する(ステップ637)。   The image window detection processing unit 530 repeats the above steps 631 to 635 to obtain the identification result and identification error (error function) of each path (step 636). Then, the identification result of the lowest identification error value is selected as the output result from the obtained path identification results (step 637).

そして、出力結果の識別エラーがあらかじめ定めている値よりも小さい場合、識別処理を終了する(ステップ638)。なお、出力結果の識別エラーがあらかじめ定めている値よりも小さくない場合には、パス生成部520へ新たなパスの生成を指示し、パス生成部520はパスを生成する。   If the output result identification error is smaller than a predetermined value, the identification process is terminated (step 638). When the output result identification error is not smaller than a predetermined value, the path generation unit 520 is instructed to generate a new path, and the path generation unit 520 generates a path.

出力部202は、このようにしてネットワーク識別器590の画像ウィンドウ検出処理部530が対象物を含んでいると識別した画像ウィンドウの位置(たとえば、入力画像上における座標値)と大きさ等の情報を出力する。   The output unit 202 thus provides information such as the position (for example, the coordinate value on the input image) and the size of the image window that the image window detection processing unit 530 of the network classifier 590 has identified as including an object. Is output.

このようにして、パス生成部520によって、ネットワークが統合と分割を行うので、多数のパスを構築することが可能である。また、各パスは識別結果を評価する際に使用され、ネットワークは多数の検出器のプールとなっている。検出器群となっていることで1つの識別器よりもより信頼できる出力結果を出すことが可能である。   In this way, the network is integrated and divided by the path generation unit 520, so that a large number of paths can be constructed. Each path is used to evaluate the identification result, and the network is a pool of many detectors. By being a detector group, it is possible to produce a more reliable output result than a single discriminator.

さらに、高速な識別プロセスを保障するために、パス数はKで制限されている。最良な識別結果を保証するために、パスは動的に生成され、高い識別エラーを持つパスは識別処理の間に終了させられる。従って、入力に対して低い識別エラーを持つパスのみが使用される。   Furthermore, the number of passes is limited by K to ensure a fast identification process. In order to guarantee the best identification result, paths are generated dynamically and paths with high identification errors are terminated during the identification process. Therefore, only paths with a low identification error for the input are used.

したがって、従来の並列では、並列検出器は静的で、識別処理の間に変更可能でないのに対して、本実施形態の対象物検出装置では、利用する検出器を動的に変化させ、不要な処理を抑えることができる。   Therefore, in the conventional parallel, the parallel detector is static and cannot be changed during the identification process, whereas in the object detection apparatus of the present embodiment, the detector to be used is dynamically changed, and is not necessary. Processing can be suppressed.

また、画像ウィンドウ検出処理部530において、ブースティングアルゴリズムの利用により、新たに生成したパスでの識別エラーは、古いパスのものより統計的に小さくなることが保障されている。さらに、上記式(2)は、ブースティングを局所的に行い、識別器h(X)が入力画像の部分集合にのみに作用することを保障する。 Further, in the image window detection processing unit 530, by using the boosting algorithm, it is guaranteed that the identification error in the newly generated path is statistically smaller than that in the old path. Furthermore, the above equation (2) performs boosting locally and ensures that the classifier h n (X) acts only on a subset of the input image.

また、十分に識別エラーが低くなった処理を中止させる本手法により、識別処理の高速化を実現している。これは、対象物を含んでいようがいまいが、判別しやすい入力画像を早期に識別することが可能であり、その判別に必要なノードの数を少なく抑えることができているからである。   In addition, the speed of the identification process is realized by this method of stopping the process with sufficiently low identification error. This is because an input image that can be easily discriminated can be identified at an early stage, regardless of whether the object is included, and the number of nodes necessary for the discrimination can be reduced.

また、本手法は、対象物を含んでいないと識別できた入力画像ウィンドウのみを早期に認識し、その後は決まった数の識別器で処理する従来のカスケード構造型よりも、より効率的である。   In addition, this method is more efficient than the conventional cascade structure type in which only the input image window that can be identified as not containing an object is recognized at an early stage and then processed by a fixed number of discriminators. .

<対象物検出の学習方法と装置>
図5は、本発明の実施形態に係る対象物検出学習装置の概略構成を示すブロック図である。図1に示す対象物検出装置と重複する部分については、同一の符号を付す。図5に示すように、入力部701と、ネットワーク学習部790と、記憶部502とを有する。この対象物検出学習装置は、判定結果の情報(対象物の有無)を伴った複数の画像サンプルを与え、対象物検出装置において用いられるノードネットワークのノードの識別器を学習させて構築するものである。なお、目的の対象物を含む画像サンプルをポジティブサンプルといい、目的の対象物を含まない画像サンプルをネガティブサンプルという。
<Learning Method and Device for Object Detection>
FIG. 5 is a block diagram showing a schematic configuration of the object detection learning device according to the embodiment of the present invention. Parts that are the same as those in the object detection device shown in FIG. As illustrated in FIG. 5, an input unit 701, a network learning unit 790, and a storage unit 502 are included. This object detection learning device is configured to provide a plurality of image samples with determination result information (presence / absence of an object) and to learn a classifier of a node of a node network used in the object detection device. is there. An image sample including the target object is referred to as a positive sample, and an image sample not including the target object is referred to as a negative sample.

複数の画像サンプルが与えられると、ネットワーク学習部790は、複数の画像サンプルを識別するよう学習されたノードネットワークを決定する。ここで決定したノードネットワークは記憶部502にたくわえられ、ネットワーク識別器590で画像ウィンドウが対象物のインスタンスを持っているかどうかを識別プロセスにて識別するのに用いられる。   Given a plurality of image samples, the network learning unit 790 determines a node network learned to identify the plurality of image samples. The node network determined here is stored in the storage unit 502 and is used by the network identifier 590 to identify whether the image window has an object instance in the identification process.

図7に示すように、ネットワーク学習部790は、空ノード生成部710、画像サンプル収集部720、ノード学習部730を有する。なお、空ノードとは、識別器が決定されていないノードをいい、学習済みのノードとは、識別器を決定済みのノードをいう。ネットワークのノードの識別器を決定するのにはたとえば上記文献Aに記載の局所的ブースティングアルゴリズムを用いてもよい。   As illustrated in FIG. 7, the network learning unit 790 includes an empty node generation unit 710, an image sample collection unit 720, and a node learning unit 730. An empty node refers to a node for which a discriminator has not been determined, and a learned node refers to a node for which a discriminator has been determined. For example, the local boosting algorithm described in the above-mentioned document A may be used to determine the classifier of the network node.

まず、空ノード生成部710は、記憶部502に保存された現在のノードネットワークを読み取り、学習のための空ノードを生成する。そして、空ノード生成部710は、画像サンプル収集部720を用いて、複数の入力画像サンプルから所定の数の画像サンプルを収集する。もし、収集した画像サンプルの数が所定の数よりも少なければ学習できないので空ノードを削除する。   First, the empty node generation unit 710 reads the current node network stored in the storage unit 502 and generates an empty node for learning. Then, the empty node generation unit 710 uses the image sample collection unit 720 to collect a predetermined number of image samples from a plurality of input image samples. If the number of collected image samples is less than a predetermined number, learning cannot be performed, and therefore, an empty node is deleted.

次に、ノード学習部730は、画像サンプル収集部720から収集された画像サンプルを用いて生成された各々の空ノードに対応する識別器を最終的に決定する。ノードネットワークは、記憶部502に学習済みのノードを保存することで更新される。   Next, the node learning unit 730 finally determines a discriminator corresponding to each empty node generated using the image samples collected from the image sample collection unit 720. The node network is updated by storing learned nodes in the storage unit 502.

これらの学習プロセスを、空ノード生成部710によって空ノードが生成されなくなるまで繰り返す。   These learning processes are repeated until no empty node is generated by the empty node generation unit 710.

図6は、本発明の実施形態に係る空ノード生成部の処理手順を示すフローチャートである。ステップ811では、ノードネットワークが空かどうか判定する。ノードが存在しない場合に、ネットワークは空であるという。ネットワークが空であれば、空のルートノード(node)を生成することでネットワークを開始する(ステップ812)。 FIG. 6 is a flowchart showing a processing procedure of the empty node generation unit according to the embodiment of the present invention. In step 811, it is determined whether the node network is empty. The network is empty when there are no nodes. If the network is empty, the network is started by generating an empty root node (node 0 ) (step 812).

一方、ネットワークが空でない場合、すなわち少なくとも一つのノードが存在する場合、N個以下の子ノードとなるように、新規の空ノードをノードの結合と分割によって生成する(ステップ813)。ここで、この空ノードの生成プロセスについて説明する。   On the other hand, if the network is not empty, that is, if there is at least one node, a new empty node is generated by combining and dividing the nodes so as to become N or less child nodes (step 813). Here, the generation process of this empty node will be described.

図7は、本発明の実施形態に係る空ノード生成を説明する概念図である。現在のノードネットワーク901から、近接する空ノードが共通の親を共有するように空のノード950、951、952、953を、ノード960、961、962、963を分割することで形成する。たとえば、ノード950及びノードは1つの共通の親ノードを持っている。   FIG. 7 is a conceptual diagram illustrating empty node generation according to the embodiment of the present invention. From the current node network 901, empty nodes 950, 951, 952, and 953 are formed by dividing the nodes 960, 961, 962, and 963 so that adjacent empty nodes share a common parent. For example, node 950 and the node have one common parent node.

図6に戻り、空ノード生成の手順を説明する。ステップ814では、画像サンプル収集部720にそれぞれの空ノードに所定数T個(たとえば、10000個)の画像サンプル群を収集する。   Returning to FIG. 6, the procedure for generating an empty node will be described. In step 814, the image sample collection unit 720 collects a predetermined number T (for example, 10,000) of image sample groups in each empty node.

ステップ815では、収集画像サンプルが不十分な空ノードを取り除く。たとえば、画像サンプル数がTよりも少ないときである。   In step 815, empty nodes with insufficient collected image samples are removed. For example, when the number of image samples is less than T.

図8は、本発明の実施形態に係る画像サンプル収集部の処理手順を示すフローチャートである。   FIG. 8 is a flowchart showing a processing procedure of the image sample collection unit according to the embodiment of the present invention.

ステップ821では、記憶部502で保存されているノードネットワークの識別で使われるパスを使って入力画像サンプル群701が伝達する。たとえば、ステップS821において、画像サンプル収集部720は、ネットワーク識別器590と同様の処理を行い、対象物の検出時と同じ動作で1つの画像サンプルを識別する経路を1つ以上生成する。画像サンプルのコピーが生成され、生成された経路の上を通ってネットワークを伝播し、経路の終端のノードに到達する。その際に、ネットワークには多重に生成した経路が存在しうるから、画像サンプルのコピーは同一のノードに多重に到達することがありうる。   In step 821, the input image sample group 701 is transmitted using the path used for identifying the node network stored in the storage unit 502. For example, in step S821, the image sample collection unit 720 performs the same processing as that of the network identifier 590, and generates one or more paths for identifying one image sample with the same operation as when detecting an object. A copy of the image sample is generated, propagates over the network over the generated path, and reaches the node at the end of the path. At that time, multiple paths generated in the network may exist, and therefore, the copy of the image sample may reach the same node in multiple ways.

なお、画像サンプル収集部720の動作は、ネットワーク識別器590の対象物検出時と同じ動作である。したがって、あるノードで画像識別の識別エラーが十分小さくなっていれば、その画像に対するパスは、そこで終点となるし、パスの数は一定数以下に制限される点も同じである。   The operation of the image sample collection unit 720 is the same as that when the network identifier 590 detects an object. Therefore, if the identification error of image identification is sufficiently small at a certain node, the path for that image is the end point, and the number of paths is limited to a certain number or less.

ステップ822では、親ノードに到達した画像サンプル群は、その空の子ノードに共有される。(たとえば、子ノードに対する親ノードが複数あれば、子ノードはそれぞれの親ノードの画像サンプル群の合併集合を画像サンプルとする。親ノードに対して子ノードが複数あれば、それぞれの子ノードは共通の親ノードから同じ画像サンプル群を引き継ぐ)。つまり、ステップ821で親ノードに到達した画像は、コピーがそれぞれの子ノードに生成される。   In step 822, the image sample group that has reached the parent node is shared by its empty child nodes. (For example, if there are multiple parent nodes for a child node, the child node uses a merged set of image samples of each parent node as an image sample. If there are multiple child nodes for the parent node, each child node is Take over the same set of image samples from a common parent node). That is, a copy of the image that has reached the parent node in step 821 is generated at each child node.

ポジティブサンプルを(X、Y=+1)、ネガティブサンプルは(X、Y=−1)として表記する。1つの空のノードnについて、親ノードでの画像サンプルの累積スコアSn,parent(X)を、式(2)を用いて決定する。空ノードでの画像サンプル群は、(X,Y,Sn,parent(X))として表記する。 A positive sample is expressed as (X, Y = + 1), and a negative sample is expressed as (X, Y = -1). For one empty node n, the cumulative score S n, parent (X) of the image sample at the parent node is determined using equation (2). The image sample group at the empty node is expressed as (X, Y , Sn, parent (X)).

そして、ステップ823において、それぞれの空のノードに到達する画像サンプルを最大T個になるまで集める。たとえば、T/2個のポジティブサンプルとT/2個のネガティブサンプルとを、その空ノードに到着した全ての画像サンプルからランダムに選択する。   In step 823, image samples that reach each empty node are collected until a maximum of T images are reached. For example, T / 2 positive samples and T / 2 negative samples are randomly selected from all image samples arriving at the empty node.

図9は、本発明の実施形態に係るノード学習部の処理手順を示すフローチャートである。   FIG. 9 is a flowchart showing a processing procedure of the node learning unit according to the embodiment of the present invention.

ノード学習部730では、空ノードnの学習のために収集された画像サンプル群を用いて、その中から親ノードで識別エラーが大きくなるよう部分集合を決定する。次に、その部分集合での学習に焦点を合わせて局在化し特化した識別器を生成するように、重み関数を決定する。その働きを、順をおって説明する。   The node learning unit 730 uses the image sample group collected for learning of the empty node n, and determines a subset so that an identification error becomes large at the parent node. Next, a weight function is determined so as to generate a localized and specialized classifier focusing on learning in the subset. Explain the work in order.

ステップ831では、ノードの識別器を特化するための画像サンプルの部分集合を、累積スコアを考えるときの重みを画像サンプルに応じて変更することによって決定している。その画像サンプルの部分集合は、親ノードでもっとも高い識別エラーを与える部分集合である。その手順は以下のとおりである。   In step 831, a subset of image samples for specializing the classifier of the node is determined by changing the weight when considering the cumulative score according to the image samples. The subset of the image samples is the subset that gives the highest identification error at the parent node. The procedure is as follows.

まず、画像サンプル収集部720から収集された画像サンプル群を(X,Y,Sn,parent(X))とする。次に、画像サンプル群に対する現行の識別エラーEn,parent(X)を、式(4)によって決定する。この識別エラーEn,parent(X)を用い式(7)で、正則化パラメータαの値を決定する。 First, let the image sample group collected from the image sample collection unit 720 be (X, Y , Sn, parent (X)). Next, the current identification error E n, parent (X) for the image sample group is determined by equation (4). Using this identification error E n, parent (X), the value of the regularization parameter α n is determined by Equation (7).

式(7)では、αに近い親の累積スコアSn,parent(X)をもつ画像サンプル群が最大の識別エラーEn,parent(X)を親ノードで持つようにαn,parent1とαn,parent2との間に値αを選んでいる。つまり、前段でうまく識別できなかった画像を集中的に学習するための選択を行っていることになる。それゆえ、親ノードで識別エラーが最大になるように選んだ画像サンプルの部分集合に対し、ノードnの識別器が識別エラーを減らすよう学習すると期待できる。 In Expression (7), α n, parent1 is set so that the image sample group having the cumulative score S n, parent (X) of the parent close to α n has the largest identification error En , parent (X) at the parent node. The value α n is selected between α n and parent2 . In other words, selection is made to intensively learn images that could not be identified well in the previous stage. Therefore, it can be expected that the classifier of node n learns to reduce the identification error for a subset of the image samples chosen to maximize the identification error at the parent node.

正則化関数exp(−|Sn,parent(X)−α|)を用い、αnを次式(7)で決定する。この正則化関数、累積スコアはいずれも、対象物検出装置におけるものと同じである。 Using the regularization function exp (− | S n, parent (X) −α |), α n is determined by the following equation (7). Both the regularization function and the accumulated score are the same as those in the object detection apparatus.

Figure 2011034581
Figure 2011034581

すなわち、αn,parent1<α<αn,parent2となるαにおいて、親ノードにおける識別エラーと正則化関数との積の、収集された全ての画像サンプルについての総和が最大となるαを、αとする。なお、親ノードが3つ以上の場合には、αの選択範囲は、min(αn,parent)<α<max(αn,parent)となる。また、このとき、親ノードがひとつだけのときには、次の式(8)に示す値を用いる。 That is, in α satisfying α n, parent1 <α <α n, parent2 , α that maximizes the sum of all the collected image samples of the product of the identification error and the regularization function in the parent node is expressed as α Let n . If there are three or more parent nodes, the selection range of α is min (α n, parent ) <α <max (α n, parent ). At this time, when there is only one parent node, the value shown in the following equation (8) is used.

Figure 2011034581
Figure 2011034581

このように、ステップ831によって、識別器を特化させるための画像サンプルの部分集合を、親ノードでの識別エラーを最大とする画像サンプルの集合として決定する。   Thus, in step 831, the subset of image samples for specializing the classifier is determined as the set of image samples that maximizes the identification error at the parent node.

次に、ステップ831で決定した部分集合を用いて、ステップ832では、全ての収集画像サンプルに対して重みを決定する。重みをつけた学習サンプル群を(X,Y,w(X))と表記する。ここで重み関数w(X)は、次の式(9)で数学的に表現される。   Next, using the subset determined in step 831, in step 832, weights are determined for all collected image samples. The weighted learning sample group is denoted as (X, Y, w (X)). Here, the weighting function w (X) is mathematically expressed by the following equation (9).

Figure 2011034581
Figure 2011034581

ここでWsumはw(X)を分布とするときの規格化定数である。この式で、|Sn,parent(X)−α|≒0となる状況で重みが大きく、|Sn,parent(X)−α|が大となる状況で重み関数は小さい。 Here, W sum is a normalization constant when w (X) is a distribution. In this equation, | S n, parent (X ) -α | large weights in situations where the ≒ 0, | S n, parent (X) -α | weighting function is small in situations where a large.

さらに、ステップ833では、ノードnの各種識別器を、重みつき画像サンプル群を用いて決定する。決定する識別器は、それぞれ式(1)、(3)、(4)に示す特徴識別器h、対象物識別器H、識別エラー関数Eである。ここで、特徴量には、たとえば上記文献Aに示すブースティングアルゴリズムで見つけられる特徴量から最良の識別を与える特徴量を1つ選びだして用いる。 Further, in step 833, various classifiers of the node n are determined using the weighted image sample group. Determining classifier, respectively formula (1), (3), which is a feature classifier shown in (4) h n, the object identifier H n, the identification error function E n. Here, as the feature quantity, for example, one feature quantity that gives the best discrimination is selected from the feature quantities found by the boosting algorithm shown in the above-mentioned document A and used.

また、特徴識別器hは、次式10で決定してよい。 The feature classifier h n may be determined by the following equation 10.

Figure 2011034581
Figure 2011034581

この式で、P(j)は分布wのときにイベントjが起こる重みつき確率を示す。f(X)は最良の選択をした(=最もよい識別結果を与える)特徴量を用いて画像サンプルXに対して抽出した特徴量、たとえば図10の特徴抽出部390(後述)を用いて抽出した特徴量である。Σw、Σwはそれぞれ特徴量f(X)をもつポジティブサンプル、ネガティブサンプルの重みの総和である。 In this equation, P w (j) represents a weighted probability that event j occurs in distribution w. f n (X) is the feature quantity extracted from the image sample X using the best choice (= giving the best discrimination result), for example, using a feature extraction unit 390 (described later) in FIG. The extracted feature amount. Σw + and Σw are sums of weights of positive samples and negative samples each having a feature quantity f n (X).

正則化パラメータαと特徴識別器h(X)の値とを用いて、累積スコアS(X)は式(2)によって決定される。その結果、条件付き確率は次式(11)、(12)で決定される。 Using the regularization parameter α n and the value of the feature classifier h n (X), the cumulative score S n (X) is determined by Equation (2). As a result, the conditional probability is determined by the following equations (11) and (12).

Figure 2011034581
Figure 2011034581

Figure 2011034581
Figure 2011034581

ここでC、Cはそれぞれ、累積スコアS(X)をもつポジティブサンプルとネガティブサンプルのカウント(個数)である。条件付き確率を用いて、対象物識別器Hは式(3)で決定される。 Here, C + and C are respectively the counts (numbers) of positive samples and negative samples having a cumulative score S n (X). Using the conditional probability, the object discriminator Hn is determined by Equation (3).

さらに、対象物識別器の識別エラーE(X)は、次の式(13)で表される。 Furthermore, the identification error E n (X) of the object identifier is expressed by the following equation (13).

Figure 2011034581
Figure 2011034581

ここで、min{a,b}はa及びbの最小値を示す。このようにして、各ノードに対する特徴識別器h、対象物識別器H、識別エラー関数Eを決定する。以上の一連の手続きによってノード学習プロセスが完了する。 Here, min {a, b} indicates the minimum value of a and b. In this manner, the determining feature classifier h n for each node, the object identifier H n, the identification error function E n. The node learning process is completed by the series of procedures described above.

このように、本発明の実施形態のネットワーク学習部790では、以下の利点を持つ。   As described above, the network learning unit 790 according to the embodiment of the present invention has the following advantages.

まず、空ノード生成部710により、複数の経路の識別結果を用いて対象物の判定ができるので、カスケード構造の先行技術に比べて効果的な判定ができるという利点を持つ。   First, since the empty node generation unit 710 can determine an object using the identification results of a plurality of routes, it has an advantage that it can be determined more effectively than the prior art with a cascade structure.

本実施形態では、ノードの統合と分割を用いているので、接続パスを経由して下層の1つのノードにつながっている上層のノードは1つ以上ある。それぞれのノードの特徴識別器には、ブースティングアルゴリズムで学習した特徴識別器を用い、それらの識別器の結果は、下層の1つ以上の識別器に伝えられるので、下層の識別器では、それらの複数の経路の識別器の情報をあわせて対象物の判定を行うことができる。   In this embodiment, since integration and division of nodes are used, there are one or more upper layer nodes connected to one lower layer node via a connection path. The feature classifiers learned by the boosting algorithm are used for the feature classifiers of each node, and the results of those classifiers are transmitted to one or more lower classifiers. The object can be determined by combining the information of the classifiers of the plurality of paths.

このことと、複数の経路の識別器の情報をあわせて判定を行えることが、1つのステージの中にある弱識別器は別のステージにある弱識別器の情報をもたないカスケード構造の先行技術に対する利点である。一方、先行技術においては弱識別器の情報は、同じステージにある次の弱識別器に伝わるにすぎない。この利点は、後述の第三の特長に対応する。   This is combined with the information of classifiers of a plurality of paths, so that the weak classifier in one stage has a cascade structure that does not have the information of weak classifiers in another stage. It is an advantage over technology. On the other hand, in the prior art, the information of the weak classifier is only transmitted to the next weak classifier in the same stage. This advantage corresponds to the third feature described later.

さらに、空ノード生成部710は、学習の視点でも次のような利点を持っている。先行技術におけるカスケード構造の対象物検出器においては、あるステージの中にある弱判別器は別のステージにある弱判別器の情報を利用することはない。これに対し、本実施形態の装置では、上記、空ノード生成フローにより、複数のステージ識別器内に属する複数の弱判別器の情報を利用して空ノードを学習させることを可能にしている。   Further, the empty node generation unit 710 has the following advantages from the viewpoint of learning. In an object detector having a cascade structure in the prior art, a weak discriminator in one stage does not use information of a weak discriminator in another stage. On the other hand, in the apparatus of the present embodiment, it is possible to learn an empty node using the information of a plurality of weak discriminators belonging to a plurality of stage discriminators by the above-described empty node generation flow.

しかも、本方式ではノードの統合と分割を用いているので、ルートノードから新たに生成する空ノードまでのパスがあり、これらのルートノードから空ノードまでのそれぞれのパスは、ステージ識別器に相当している。上層の各ノードはブースティングアルゴリズムで学習した特徴量識別器であり、複数のステージ識別器に属する特徴量識別器の結果を利用して、空ノードを学習できる構造を実現している。   In addition, since this method uses node integration and division, there are paths from the root node to newly generated empty nodes, and each path from these root nodes to the empty nodes corresponds to a stage discriminator. is doing. Each node in the upper layer is a feature classifier learned by a boosting algorithm, and a structure that can learn an empty node is realized by using the result of the feature classifier belonging to a plurality of stage classifiers.

従来例として知られる多数決方式においても、並列に動作する複数の検出器において判定を用いているが、本発明の形態においては、次の利点を持つ。   Even in the majority method known as a conventional example, the determination is used in a plurality of detectors operating in parallel. However, the embodiment of the present invention has the following advantages.

まず、ノードネットワークに対して制限した数のパスを生成しているので、多数決方式に比べ、パスの数ほどに計算量が増大しない。しかも、ノードネットワークに対して複数の空ノードを生成し学習をする基準が明確になっているので、複数のパスによる学習が効果的に行われ、従来例の多数決方式においてはそれぞれのカスケード識別器が補完的に動作しているかどうか不明であるという課題、第三の課題を克服している。このように、従来よりも効率的なアンサンブル学習を実現している   First, since a limited number of paths are generated for the node network, the amount of calculation does not increase as much as the number of paths compared to the majority method. In addition, since the criteria for generating and learning a plurality of empty nodes for the node network are clear, learning by a plurality of paths is effectively performed, and each cascade discriminator is used in the conventional majority voting method. Overcoming the third issue, which is unclear whether or not is operating in a complementary manner. In this way, ensemble learning is more efficient than before.

次に、画像サンプル収集部により、次に示す利点が得られる。第1に、本発明の実施形態では、画像サンプル群が複数の空ノードで共有されているので、1枚の学習画像により1つ以上の経路のノードを同時に学習可能にしている。   Next, the following advantages are obtained by the image sample collection unit. First, in the embodiment of the present invention, since the image sample group is shared by a plurality of empty nodes, it is possible to simultaneously learn one or more nodes of a path by one learning image.

そのため、1つの画像サンプルを1つの識別器で識別するのにくらべ、同一の空ノードのいたる複数の経路で構成され複数の経路からの識別結果を利用するネットワーク識別器によって効果的に識別できる。この利点は、後述の第二の特長に対応する。これは、画像サンプル収集部が、画像サンプル群を複数の空ノードで共有させる仕組みにより可能になっている。   Therefore, as compared with the case where one image sample is identified by a single classifier, it can be effectively identified by a network classifier configured by a plurality of paths from the same empty node and using identification results from the plurality of paths. This advantage corresponds to the second feature described later. This is made possible by a mechanism in which the image sample collection unit shares an image sample group with a plurality of empty nodes.

第2に、本発明の実施の形態では、識別器の段数を増やしていっても、学習データが過度に細分化(over-fragmentation)されることがなく、後段の識別器においても安定な学習を可能にしている。   Second, in the embodiment of the present invention, even if the number of classifiers is increased, the learning data is not excessively fragmented, and stable learning is possible even in the latter classifier. Is possible.

従来の手法においては、識別器の段数を増やしていくと、その識別器に到達する学習サンプル数が少なくなっていき(過度の断片化を生じ)、学習結果が学習サンプルに対する依存性(過学習)を強く示すようになってしまう欠点があった。本手法においては、多重経路での判定を可能にするように、ノードの統合と分割を行って画像を共有しているので、学習の優先領域に重なりがあり、学習サンプルが過度に断片化されることもなく、学習結果が過学習を示しにくいので、安定した学習となっているという利点がある。   In the conventional method, as the number of stages of the classifier increases, the number of learning samples reaching the classifier decreases (excessive fragmentation occurs), and the learning result depends on the learning sample (overlearning). ) Was strongly indicated. In this method, the images are shared by integrating and dividing the nodes so that the determination by multiple paths is possible, so there is an overlap in the priority area of learning, and the learning sample is excessively fragmented. In addition, since the learning result is less likely to indicate overlearning, there is an advantage that the learning is stable.

一般に、自由度を高めた学習を行うと、本来のデータの統計的な特徴を再現するのではなく、学習に用いたデータセットに対して過度に依存性を持つ傾向がある。そのようなモデルのよしあしを判定する指標としてはたとえばAIC(赤池の情報量基準:Akaike's Information Criteria)が知られている。   In general, when learning with a high degree of freedom is performed, the statistical characteristics of the original data are not reproduced, but tend to be excessively dependent on the data set used for learning. For example, AIC (Akaike's Information Criteria) is known as an index for determining whether a model is good or bad.

多変量解析ではAICが最小になる自由度のモデルを採用することで、学習に用いたデータセットに対して過度に依存性をもつことを防いでいる。同様に、本発明のネットワーク型の識別器においても、いたずらに自由度を高めることは、本来のモデルのよしあしには関係なく、学習に用いたデータセットに対してだけは良好な学習結果になるかもしれないという潜在的な危険を含んでいる。しかしながら、本実施形態の手法においては、ノードの統合も行っていることで学習サンプルを細分化しすぎない、空ノードに規定の数の画像が集まらない場合には、学習を実施しない、複数のパスの識別器を用いて判定を行っている、といった制限が加えられており、いたずらに自由度が高くなる危険を防いでいるため、本手法においては、学習結果が過学習を示しにくい。   In multivariate analysis, a model having a degree of freedom that minimizes AIC is used to prevent excessive dependence on the data set used for learning. Similarly, in the network type discriminator of the present invention, increasing the degree of freedom unnecessarily is a good learning result only for the data set used for learning, regardless of the original model. Contains the potential danger that it may be. However, in the method of the present embodiment, the learning sample is not subdivided because the nodes are also integrated, and when the prescribed number of images are not collected in the empty node, the learning is not performed. In this method, the learning result is less likely to indicate over-learning because the restriction that the determination is performed using the discriminator is added and the risk of unnecessarily increasing the degree of freedom is prevented.

さらに、本実施形態のノード学習部730により、以下に示す利点が得られる。   Further, the node learning unit 730 of the present embodiment provides the following advantages.

第1に、ノード学習部730は、親ノードで識別できなかった画像サンプルの部分集合に対して特化した識別器を作り上げる。これは、ノード学習部は、式(9)の重み関数を用いて、(特徴識別器hを式(10)にしたがって学習させているので)、親の識別器で大きな識別エラーを生じる画像サンプル群に対して大きな重みを与えるようになっている。 First, the node learning unit 730 creates a specialized classifier for a subset of image samples that could not be identified by the parent node. This is because the node learning unit uses the weight function of Equation (9) (because the feature discriminator h n is trained according to Equation (10)), and thus an image that causes a large discrimination error in the parent discriminator. A large weight is given to the sample group.

第2に、ノード学習部は、影響が局在化した識別器hを作り上げる。すなわち、親のノードで大きな識別エラーを生じるときにおいてのみ、このノードによる累積スコアへの寄与があるものになっている。実際、親の識別器での大きな識別エラーを生じる場合には、式(2)で|Sn,parent(X)−α|が小さな値となっているので、累積スコアへのexp(−|Sn,parent(X)−α|)*h(X)の項が大きくなり、このノードでの識別器h(X)の値が累積スコアに十分に反映される。 Second, the node learning unit creates a discriminator h n whose influence is localized. That is, only when a large identification error occurs in the parent node, the contribution to the accumulated score by this node is made. Actually, when a large identification error occurs in the parent classifier, | S n, parent (X) −α n | is a small value in the expression (2), so exp (− The term | S n, parent (X) −α n |) * h n (X) becomes large, and the value of the discriminator h n (X) at this node is sufficiently reflected in the accumulated score.

逆に、親識別器で大きな識別エラーを生じない場合には、式(2)で|Sn,parent(X)−α|の値が大きくなるので、exp(−|Sn,parent(X)−α|)*h(X)の項が小さくなり、このノードでの識別器h(X)の値が累積スコアにほとんど影響しない。 On the other hand, when a large identification error does not occur in the parent classifier, | S n, parent (X) −α n | is increased in Expression (2), so exp (− | S n, parent ( The term X) −α n |) * h n (X) is small, and the value of the discriminator h n (X) at this node has little effect on the cumulative score.

このため、累積スコアへの影響は、親ノードでの識別エラーが大きい場合に限定されたものになる。それは、影響が局在化した識別器と言い換えることができる。   For this reason, the influence on the cumulative score is limited to the case where the identification error at the parent node is large. It can be paraphrased as a classifier with localized effects.

このように、1つのパスの各ノードの識別器では、それぞれの識別器が高い寄与で累積スコアに効いてくる入力画像が異なるため、個々の識別器にはその他の全ての識別器の動作に影響を与えずに優先的に動作する優先領域がある。   In this way, in each classifier of each node of one path, each classifier has a high contribution and the input image that is effective on the cumulative score is different. Therefore, each classifier has operations for all other classifiers. There is a priority area that operates preferentially without affecting.

一方、従来例としてあげるカスケード構造の識別器では、第一の課題に示したように、弱判別器が全入力空間に対して処理を行う線形識別器であり、全ての弱識別器は、全ての顔画像を顔として識別しなければならない。それに対して、本発明の実施形態のノードの識別器においては、前段のノードの識別器が誤識別を起こしやすい画像集合についてだけ、顔と非顔を識別するものである。そのため、ノードの識別器が動作する入力画像空間は限定的なものであり、このノードの識別器での顔/非顔の識別は、カスケード構造の識別器の場合よりもはるかに簡単な構成で実現できる。これは、後述の第一の特長に対応する。   On the other hand, in the cascade structure classifier given as a conventional example, as shown in the first problem, the weak classifier is a linear classifier that processes all input spaces, and all weak classifiers are all Must be identified as a face. On the other hand, in the node classifier according to the embodiment of the present invention, a face and a non-face are identified only for a set of images in which the preceding node classifier is likely to be erroneously identified. Therefore, the input image space in which the node classifier operates is limited, and the face / non-face discrimination with this node classifier is much simpler than the cascade classifier. realizable. This corresponds to the first feature described later.

このように本発明の実施形態では、各ノードの識別器が、優先的に動作する入力画像の優先的な空間があるので、1つの識別器の動作が他の識別器の動作に影響を与えることはほとんどない。これは、先行技術においては、弱識別器は全入力空間に対して動作しその他の弱分類器動作に影響を与えうるという課題をかかえているのと比較し、大きな利点となっている。   As described above, in the embodiment of the present invention, since there is a preferential space of the input image in which the classifier of each node operates preferentially, the operation of one classifier affects the operation of the other classifier. There is hardly anything. This is a significant advantage compared to the prior art, which has the problem that weak classifiers operate on the entire input space and can affect other weak classifier operations.

<特徴抽出>
図10は、本発明の実施形態に係る特徴抽出部の概略構成を示すブロック図である。この特徴抽出部は、例えば、図1に示す画像ウィンドウ検出処理部530や、図7に示すノード学習部730にて用いられる。
<Feature extraction>
FIG. 10 is a block diagram showing a schematic configuration of the feature extraction unit according to the embodiment of the present invention. This feature extraction unit is used, for example, in the image window detection processing unit 530 shown in FIG. 1 or the node learning unit 730 shown in FIG.

図10に示すように、特徴抽出部390は、入力部501に入力された画像ウィンドウから特徴量309を抽出する。この特徴量309は画像ウィンドウが対象物を含むかどうかの識別に用いられる。   As illustrated in FIG. 10, the feature extraction unit 390 extracts a feature amount 309 from the image window input to the input unit 501. This feature quantity 309 is used to identify whether the image window includes an object.

たとえば、画像ウィンドウ検出処理部530によって実行される図4に記載のステップ631は、特徴抽出部390により実行される。   For example, step 631 shown in FIG. 4 executed by the image window detection processing unit 530 is executed by the feature extraction unit 390.

図11は、本発明の実施形態に係る特徴抽出用の矩形テンプレートの一例を示す図である。与えられた画像ウィンドウ1001に対して、矩形テンプレートはL個の同じ大きさの長方形等の矩形ブロックを画像ウィンドウ1001の内部に含む。Lは、例えば2から9の間の任意の値をとってよい。個々の矩形ブロックは、右上の座標と幅wと高さhとで特定できる。   FIG. 11 is a diagram showing an example of a rectangular template for feature extraction according to the embodiment of the present invention. For a given image window 1001, the rectangular template includes L rectangular blocks such as rectangles of the same size inside the image window 1001. L may take any value between 2 and 9, for example. Each rectangular block can be specified by the upper right coordinate, the width w, and the height h.

たとえば、図11(A)に示す矩形テンプレート1010、図11(B)に示す矩形テンプレート1020、図11(C)に示す矩形テンプレート1030は、それぞれ6、9、7個の矩形ブロックを含んでいる。   For example, a rectangular template 1010 shown in FIG. 11A, a rectangular template 1020 shown in FIG. 11B, and a rectangular template 1030 shown in FIG. 11C each include 6, 9, and 7 rectangular blocks. .

図12は、本発明の実施形態に係る特徴抽出部の処理手順を示すフローチャートである。また、図13は、本発明の実施形態に係る特徴抽出部における処理手順を説明するための説明図である。   FIG. 12 is a flowchart showing a processing procedure of the feature extraction unit according to the embodiment of the present invention. Moreover, FIG. 13 is explanatory drawing for demonstrating the process sequence in the feature extraction part which concerns on embodiment of this invention.

ステップ491では、画像ウィンドウXに、画像ウィンドウ中の矩形ブロックを定義する矩形テンプレートfを適用する。   In step 491, a rectangular template f that defines a rectangular block in the image window is applied to the image window X.

ステップ492では、画像ウィンドウから空間的分布情報を測定する。空間的分布情報は、パターンのどの矩形ブロックが他よりも高い輝度値を持つのかを示すパターン1110として示される。   In step 492, spatial distribution information is measured from the image window. The spatial distribution information is shown as a pattern 1110 indicating which rectangular block of the pattern has a higher luminance value than the others.

パターン1110を矩形ブロックの輝度値比較によって計算する。全ての矩形ブロックの平均輝度値がまず計算され、これを参照輝度値とする。次に、個々の矩形ブロックの平均輝度値を計算する。矩形ブロックの平均輝度値が参照輝度値よりも小さければ1、大きければ0と矩形ブロックはラベルする。これら強度は、積分画像を使うことですばやく効率的に計算できる。この矩形ブロックのラベルを集めることで、パターン1110が得られる。   The pattern 1110 is calculated by comparing the luminance values of the rectangular blocks. First, an average luminance value of all rectangular blocks is calculated and used as a reference luminance value. Next, the average luminance value of each rectangular block is calculated. The rectangular block is labeled 1 if the average luminance value of the rectangular block is smaller than the reference luminance value, and 0 if it is larger. These intensities can be calculated quickly and efficiently using integral images. By collecting the labels of the rectangular blocks, a pattern 1110 is obtained.

例として、図13において、矩形テンプレート1010を用いる。入力顔画像1105に対し、特徴抽出部390は、pattern=101000というパターン1151を生成する。別の非顔画像1106に対しては、特徴抽出部390はpattern=011000というパターン1161を生成する。   As an example, a rectangular template 1010 is used in FIG. For the input face image 1105, the feature extraction unit 390 generates a pattern 1151 with pattern = 101000. For another non-face image 1106, the feature extraction unit 390 generates a pattern 1161 with pattern = 01000.

ステップ493では、空間輝度値情報を画像ウィンドウから計測する。この空間輝度値情報を強さ(strength)とし、異なるブロック間でどれがどのくらい強度差があるのかを示す。   In step 493, spatial luminance value information is measured from the image window. This spatial luminance value information is assumed to be strength, which indicates how much intensity is different between different blocks.

強さ1120は、1とラベルされた全ての矩形ブロックの平均輝度値から0とラベルされた全ての矩形ブロックの平均輝度値を差し引くことで計算される。   The intensity 1120 is calculated by subtracting the average luminance value of all rectangular blocks labeled 0 from the average luminance value of all rectangular blocks labeled 1.

たとえば、図13において、入力顔画像1105に対して、特徴抽出部390は、strength=35という強さ1152を生成する。別の非顔画像1106に対しては、特徴抽出部390は、strength=37という強さ1152を生成する。   For example, in FIG. 13, the feature extraction unit 390 generates an intensity 1152 of strength = 35 for the input face image 1105. For another non-face image 1106, the feature extraction unit 390 generates an intensity 1152 of strength = 37.

特徴抽出部390の抽出する特徴f(X)は、2次元量であり、次の式(14)ように表現できる。   The feature f (X) extracted by the feature extraction unit 390 is a two-dimensional quantity and can be expressed as the following equation (14).

Figure 2011034581
Figure 2011034581

抽出された特徴量は、特徴量の識別能力を改善するためにパターンと強度の2つの属性を使う。多くの場合、空間的分布情報と輝度値情報の両方が画像を区別するのに必要である。   The extracted feature quantity uses two attributes of pattern and intensity in order to improve the feature quantity identification capability. In many cases, both spatial distribution information and luminance value information are necessary to distinguish images.

例をあげれば、図13において、入力の顔画像1105と非顔画像1106は似た強さである。強さ情報に基づく先行技術は両者を区別することができない。しかしながら、顔画像1105と非顔画像1106とは異なるパターン値をしているので、パターン値で区別できる。   For example, in FIG. 13, the input face image 1105 and the non-face image 1106 have similar strength. Prior art based on strength information cannot distinguish between the two. However, since the face image 1105 and the non-face image 1106 have different pattern values, they can be distinguished by the pattern values.

図14は、本発明の実施形態に係る特徴抽出用の矩形テンプレートの他の例を示す図である。画像ウィンドウ1101が与えられたとき、矩形テンプレートはL個の矩形ブロックをウィンドウ1101の内部に含む。   FIG. 14 is a diagram showing another example of the rectangular template for feature extraction according to the embodiment of the present invention. Given an image window 1101, the rectangular template includes L rectangular blocks inside the window 1101.

図14(A)に示す矩形ブロック1091のように、矩形ブロックはそれぞれ大きさが異なってもよい。また、図14(B)、(C)に示す矩形ブロック1092、1093のように、矩形ブロックは交わらなかったり、隣接していなくてもよい。さらに、図14(D)、図14(E)に示す矩形ブロック1094のように、完全に又は部分的にオーバーラップしていてもよい。   Like the rectangular block 1091 shown in FIG. 14A, the rectangular blocks may have different sizes. Further, like the rectangular blocks 1092 and 1093 shown in FIGS. 14B and 14C, the rectangular blocks may not intersect or be adjacent to each other. Further, as illustrated in a rectangular block 1094 illustrated in FIGS. 14D and 14E, the blocks may overlap completely or partially.

このような本発明の実施形態の対象物検出装置及びその学習装置によれば、下記の構成を有するものである。   According to the object detection device and the learning device thereof according to the embodiment of the present invention, the following configuration is provided.

まず、前記対象物検出方式において、前記ノードはブースティング学習法によって訓練された複数の識別器を備える。ネットワーク学習プロセスは、多数の画像サンプルを入力として、それらの画像サンプル群をいくつかの集合に分割し、それぞれの画像集合をもとに識別器を訓練する。ノードに配置する識別器を決定するために、まず、前記構造(building)は識別プロセスにおいてノードに到達する訓練サンプルを収集する。次に、最も識別エラーが高く、学習サンプルが多く存在する領域を決定する。そして、弱判別器がその制限された領域で識別をおこなう。弱判別器は全入力空間に均等に影響を与えるものではない。新たに追加される各弱判別器は特徴づけされ、決定された領域の中で前の弱判別器の結果の改良のみを行う。このようにして構築した本発明の実施形態のネットワーク識別器においては、各パスの識別器が識別するのはそのパスを伝播した画像からなる入力画像の部分空間であり、部分空間での顔/非顔の判定は全入力画像空間での判定よりも分離が容易となり、従来例の後段の強判別器のように多数の弱判別器を必要としないとい効果を生じている。これにより、第一の課題を解決することができる。   First, in the object detection method, the node includes a plurality of discriminators trained by a boosting learning method. The network learning process takes a large number of image samples as input, divides these image sample groups into several sets, and trains a classifier based on each set of images. In order to determine the classifiers to be placed at a node, the building first collects training samples that reach the node in the identification process. Next, a region having the highest identification error and a large number of learning samples is determined. Then, the weak classifier discriminates in the restricted area. Weak classifiers do not affect the entire input space equally. Each newly added weak classifier is characterized and only improves on the result of the previous weak classifier in the determined region. In the network classifier according to the embodiment of the present invention constructed as described above, the classifier of each path identifies a partial space of an input image composed of an image propagated through the path. The non-face determination is easier to separate than the determination in the entire input image space, and there is an effect that a large number of weak classifiers are not required unlike the strong classifier in the latter stage of the conventional example. Thereby, the first problem can be solved.

また、本発明の実施形態のノードネットワークでは、(1)各ノードが自ノードに到達するまでに処理したノードの累積評価値をもとに顔・非顔を判別する強判別器を備えること、(2)学習時に、各ノードの識別器を、そのノードに到達する学習サンプルと前段ノードにおける累積評価値の結果に基づいて学習させる。すなわち、本方式により、各ノードはそれまでの経路上に存在するノードから成る強判別器として機能し、対象物の有無の決定に十分でない場合に、その判別結果に応じて学習されている次の子ノードで処理が続く、という構造をとる。したがって、常にそれまでの識別結果が有効に利用されるため、識別処理が高速に、最適に実現できる。また、第一の解決手段により、各ノードが入力空間の部分領域に特化する判別器が選択されている一方で、本ノードネットワークの特徴的な構造の一つであるノードの統合(親ノードを複数持つ子ノードの存在)では、全親ノードのサンプルを引継ぎ、親ノードの識別対象領域を統合した部分領域で最適な判別器を学習するこの統合構造により、入力空間を多様な部分領域について識別処理を行うことが可能である。これにより、入力空間上のある1点の画像は、複数のノードの弱判別器によって処理され、それらの結果の累積値での判別を実現する。これにより、第二の課題を解決することができる。   In the node network according to the embodiment of the present invention, (1) a strong discriminator that discriminates between a face and a non-face based on a cumulative evaluation value of a node processed until each node reaches the node, (2) At the time of learning, the classifier of each node is trained based on the learning sample that reaches the node and the result of the cumulative evaluation value at the preceding node. In other words, with this method, each node functions as a strong discriminator consisting of nodes existing on the path up to that point, and when it is not sufficient to determine the presence or absence of an object, it is learned according to the discrimination result. It takes a structure in which processing continues at a child node. Therefore, since the identification results so far are always effectively used, the identification process can be realized optimally at high speed. In addition, the first solving means selects classifiers in which each node specializes in a partial region of the input space, while node integration (parent node) which is one of the characteristic structures of this node network. In the presence of multiple child nodes), this integrated structure that takes over the samples of all parent nodes and learns the optimal discriminator in the partial area that integrates the parent node's identification target areas, Identification processing can be performed. Thereby, one point image on the input space is processed by the weak discriminator of a plurality of nodes, and discrimination based on the cumulative value of these results is realized. Thereby, the second problem can be solved.

また、画像からの対象物検出装置において、前記識別プロセスでは、入力データをネットワーク上の複数のパスで処理させることが可能である。パスとは、入力データを処理し、識別するのに使用されるノードの経路である。パス上の各ノードの識別器は、入力画像に対する識別を行う弱判別器だけではなく、前段までのノードの弱判別器の識別結果を累積する識別器をも含んでいる。そのため、パス上の各ノードの弱判別器からの累積スコアを用いることによって、強判別器または識別器による識別結果が得られる。また、識別処理の間に、現在のパスから複数のパスをさらに生成する。不必要なパスが多くなるのを防ぐため、最も高い識別エラーを持つパスは終了させる。ノードは分割されたり統合されたりするので、ネットワークを、共通の弱判別器を共有する複数の異なる強判別器の結合とみなすことができる。複数のパス上のノードを用いて強識別器を作ることは、協調的に動作するように訓練された並列な強判別器を動かしているのと同等である。パスの識別結果のうち、識別エラー値が最良のものを出力結果として選択する。このようにして、複数のカスケード識別器からなる検出装置(=多数決方式のカスケード識別器)と同等以上な識別能力を持ちつつ、それぞれのパスが協調的に動作し、しかも多数決方式よりも計算量の少ない識別器を達成できる。これにより、第三の課題を解決することができる。   Further, in the object detection device from an image, in the identification process, input data can be processed through a plurality of paths on the network. A path is a path of a node used to process and identify input data. The classifier of each node on the path includes not only a weak classifier that performs identification on an input image but also a classifier that accumulates identification results of weak classifiers of nodes up to the previous stage. Therefore, the discrimination result by the strong discriminator or the discriminator can be obtained by using the cumulative score from the weak discriminator of each node on the path. Further, a plurality of paths are further generated from the current path during the identification process. To prevent the number of unnecessary paths from increasing, the path with the highest identification error is terminated. Since nodes are divided and integrated, the network can be viewed as a combination of different strong classifiers sharing a common weak classifier. Creating a strong classifier using nodes on multiple paths is equivalent to running parallel strong classifiers trained to work cooperatively. Among the path identification results, the one with the best identification error value is selected as the output result. In this way, each path operates in a coordinated manner while having a discrimination capability equivalent to or better than that of a detection device consisting of a plurality of cascade discriminators (= a majority discriminating cascade discriminator), and is more computationally intensive than the majority voting method. A discriminator with less can be achieved. Thereby, the third problem can be solved.

画像からの対象物検出装置において、本実施形態の特徴量抽出手法は、入力の画像ウィンドウに対して空間的分布情報と輝度値情報の両方を測るものである。まず、特徴テンプレートにおいて、画像ウィンドウにおける対象領域を決定する。まず、”パターン(pattern)”と表記する属性として、領域が他の領域よりも輝度値が高いか低いかをあらわす値を計算する。この属性は、輝度値の高低の空間的分布を表す。続いて、”強さ(strength)”と表記する一つの属性は、画像ウィンドウの輝度値の高低の大きさの差を表現する値が計算される。すなわち、本実施形態で提案する特徴選択手法は画像から有益な情報を得るために2つの属性値を使用する。これにより、第四の課題を解決することができる。   In the object detection apparatus from an image, the feature amount extraction method of the present embodiment measures both spatial distribution information and luminance value information with respect to an input image window. First, the target area in the image window is determined in the feature template. First, as an attribute described as “pattern”, a value representing whether the luminance value of a region is higher or lower than other regions is calculated. This attribute represents a spatial distribution of brightness values. Subsequently, as one attribute denoted as “strength”, a value representing a difference in magnitude between the luminance values of the image window is calculated. That is, the feature selection method proposed in the present embodiment uses two attribute values to obtain useful information from an image. Thereby, the fourth problem can be solved.

そして、本発明の実施形態に係る対象物検出装置及びその学習装置は、以下の特長を含む。第一の特長は、入力画像の部分空間で識別を行うよう、識別器の局所化を行っている点である。ネットワーク構造を導入することによって、弱判別器が入力空間全体を識別するよう訓練されている従来手法とは異なり、本実施形態は入力空間の部分領域に対して処理する弱判別器を訓練する。すなわち、各識別器は他の識別器の識別処理に関係なく、特定の領域に対して、特定の識別処理を行う。これにより、精度の向上と識別エラーの減少を実現し、より複雑な非線形識別器の構築が可能にしている。   And the target object detection apparatus which concerns on embodiment of this invention, and its learning apparatus contain the following characteristics. The first feature is that the discriminator is localized so as to discriminate in the partial space of the input image. Unlike the conventional method where weak classifiers are trained to identify the entire input space by introducing a network structure, the present embodiment trains weak classifiers that process a partial region of the input space. That is, each classifier performs a specific identification process on a specific area regardless of the identification process of other classifiers. As a result, accuracy is improved and identification errors are reduced, and more complex nonlinear classifiers can be constructed.

また、本実施形態では、入力画像に対応した識別器を適用させるため、すべての識別器を評価する必要はない。したがって、識別処理における計算処理コストを低減させることが可能である。さらに、対象物を含む場合にも含まない場合にも、単純な(識別しやすい)入力画像に対して早期に識別することを保証するために、入力画像に対して早期に処理が行われるネットワーク上の上部や外側の位置の弱判別器は、単純な入力画像に対して処理するように特化させる。   In this embodiment, since the classifier corresponding to the input image is applied, it is not necessary to evaluate all the classifiers. Therefore, the calculation processing cost in the identification process can be reduced. Furthermore, a network in which an input image is processed early in order to guarantee early identification with respect to a simple (easy to identify) input image, whether or not the object is included. The weak classifiers at the upper and outer positions are specialized to process a simple input image.

第二の特長は、識別結果をより効果的に共有する点である。本実施形態では、従来手法において弱判別器をつないでいるカスケード構造にかわって、ネットワーク構造を用いる。識別器は、複数のノードから複数のノードへつながれたネットワーク上のノードに配置される。ネットワークの分割構造が識別器を特定領域の操作に局所化させ、統合構造がネットワークがしっかりと結びついていることを保障する。結合ノードの構築においては、親ノードの学習時のサンプルを統合して用いることによって、入力空間の過分割を起こさないようにしている。対象問題を分割と結合により解を求める本実施形態の方式により識別情報を効果的に共有し、対象物検出器全体で使用する識別器総数を低減させることができる。   The second feature is that the identification result is shared more effectively. In this embodiment, a network structure is used instead of the cascade structure in which weak classifiers are connected in the conventional method. The discriminator is arranged at a node on the network connected from a plurality of nodes to a plurality of nodes. The network partition structure localizes the discriminator to specific area operations, and the integrated structure ensures that the network is tightly connected. In the construction of the connection node, the input space is not over-divided by integrating and using the parent node learning samples. The identification information can be effectively shared by the method of the present embodiment in which the target problem is obtained by dividing and combining, and the total number of classifiers used in the entire object detector can be reduced.

第三の特長は、ひとつの識別器から複数の識別結果を生成することである。本実施形態の装置においては、対象物検出装置は入力画像を識別器ネットワークにおいて、複数の弱判別器を選択し、複数の経路で識別処理をおこなう。各パスは入力画像を識別するための識別器の集合である。識別器は識別処理において、識別エラーを減少させるように動的に選択する。ある層のノードにいたる識別器のパスの選択の際に、前段までの古いパスを利用して、そこからノードの分割と統合とを行いつつ新しいパスを生成する。各パスは、入力画像内に対象物があるか否かを決定する強判別結果を出す。すなわち、ネットワークそのものは実際には、複数の弱判別器を共有する強判別器の集合である。独立な強判別器が使用されている従来の多数決方式に比べて、本実施形態の複数の強判別器は集団的に訓練され、強調的に動作する。さらに、最も高い識別エラーのパスを終結させることによって、従来の多数決方式において発生していた複数の判別器を並列に動作させた際の処理負荷の増加を抑えることが可能である。   A third feature is that a plurality of identification results are generated from one classifier. In the apparatus of the present embodiment, the object detection apparatus selects a plurality of weak classifiers in the classifier network for the input image, and performs a classification process using a plurality of paths. Each path is a set of classifiers for identifying an input image. The discriminator dynamically selects to reduce discrimination errors in the discrimination process. When selecting a classifier path to a node in a certain layer, an old path up to the previous stage is used, and a new path is generated while performing node division and integration. Each pass gives a strong discrimination result that determines whether there is an object in the input image. That is, the network itself is actually a set of strong classifiers sharing a plurality of weak classifiers. Compared to the conventional majority voting method in which independent strong classifiers are used, the plurality of strong classifiers of this embodiment are trained collectively and operate in an emphasized manner. Furthermore, by terminating the path of the highest identification error, it is possible to suppress an increase in processing load when a plurality of discriminators that have occurred in the conventional majority method are operated in parallel.

第四の特長は、より高い識別力を持つ新しい特徴抽出手法の使用である。本実施形態では、入力の画像ウィンドウにおけるある領域に対して、従来の非特許文献2および特許文献1の矩形特徴量が強さ情報を測るものであるのに比べて、空間的なパターン情報と輝度の強さ情報の両方を測ることが可能な矩形パターン特徴を提案している。空間的なパターン情報は高低の輝度画素がある領域内でどのような配置になっているかを表す。強さ情報は、高低の輝度の画素領域間で輝度値の差がどれくらい強いかを表す。非特許文献4にある手法に比べて、本実施形態の矩形パターン特徴は強さ情報を組み込んだことによってノイズ画像にロバストであり、本実施形態のパターン特徴は非特許文献4にある手法が画素間比較するのに比べ、大局的な特徴を取得することが可能である。したがって、識別力がより高くなり、検出器において使用され、対象物体を見つけるのに必要な特徴量の数は大きく減少できる。   The fourth feature is the use of a new feature extraction method with higher discrimination power. In the present embodiment, spatial pattern information and non-patent literature 2 and patent literature 1 are compared with the case where a rectangular feature amount in the input image window measures strength information. A rectangular pattern feature that can measure both intensity information is proposed. Spatial pattern information represents how the high and low luminance pixels are arranged in an area. The strength information represents how strong the difference in luminance value is between the pixel regions with high and low luminance. Compared to the method described in Non-Patent Document 4, the rectangular pattern feature of this embodiment is robust to noise images by incorporating strength information, and the pattern feature of this embodiment is the pixel feature described in Non-Patent Document 4. It is possible to acquire a global feature compared to the comparison. Accordingly, the discriminating power becomes higher, and the number of features used to find the target object used in the detector can be greatly reduced.

本発明の対象物検出装置及びその学習装置は、高精度で、処理負荷の増加を抑えることが可能な効果を有し、監視カメラ等により撮影された対象物検出等に有用である。   The object detection device and the learning device thereof according to the present invention have an effect capable of suppressing an increase in processing load with high accuracy, and are useful for detecting an object photographed by a monitoring camera or the like.

201 入力部
202 出力部
210 画像ウィンドウ抽出部
390 特徴抽出部
502 記憶部
520 パス生成部
530 画像ウィンドウ検出処理部
590 ネットワーク識別器
710 空ノード生成部
720 画像サンプル収集部
730 ノード学習部
790 ネットワーク学習部
DESCRIPTION OF SYMBOLS 201 Input part 202 Output part 210 Image window extraction part 390 Feature extraction part 502 Storage part 520 Path generation part 530 Image window detection processing part 590 Network identifier 710 Empty node generation part 720 Image sample collection part 730 Node learning part 790 Network learning part

Claims (7)

画像に対して複数の矩形ブロックから構成される矩形テンプレートを設定し、
前記矩形テンプレートに含まれる矩形ブロックの輝度値に基づく参照輝度値と、前記矩形ブロック各々についての個別輝度値とを求め、
前記参照輝度値と前記矩形ブロック各々についての前記個別輝度値との大小関係から、前記矩形ブロックを識別するための空間的分布情報を求め、
前記空間的分布情報を用いて、前記矩形テンプレート内の画像が対象物を含むか否かを判定する
特徴抽出部を備える対象物検出装置。
Set a rectangular template consisting of multiple rectangular blocks for the image,
Obtaining a reference luminance value based on a luminance value of a rectangular block included in the rectangular template and an individual luminance value for each of the rectangular blocks;
From the magnitude relationship between the reference luminance value and the individual luminance value for each of the rectangular blocks, obtain spatial distribution information for identifying the rectangular block,
An object detection device comprising: a feature extraction unit that determines whether an image in the rectangular template includes an object using the spatial distribution information.
請求項1に記載の対象物検出装置であって、
前記複数の矩形ブロックはそれぞれ大きさが異なる対象物検出装置。
The object detection device according to claim 1,
The plurality of rectangular blocks are object detection devices having different sizes.
請求項1または2に記載の対象物検出装置であって、
前記特徴抽出部は、
前記矩形ブロック各々の個別輝度値が前記参照輝度値以上のときには、前記矩形ブロックに対して第1ラベルを割り当て、
前記矩形ブロック各々の個別輝度値が前記参照輝度値未満のときには、前記矩形ブロックに対して第2ラベルを割り当て、
前記空間的分布情報は、前記矩形ブロック各々に対して割り当てられた前記第1ラベルまたは第2ラベルによって構成される対象物検出装置。
The object detection device according to claim 1 or 2,
The feature extraction unit includes:
When the individual luminance value of each rectangular block is equal to or greater than the reference luminance value, a first label is assigned to the rectangular block,
When the individual luminance value of each rectangular block is less than the reference luminance value, a second label is assigned to the rectangular block,
The spatial distribution information is an object detection device configured by the first label or the second label assigned to each of the rectangular blocks.
請求項3に記載の対象物検出装置であって、
前記特徴抽出部は、
前記第1ラベルが割り当てられた全ての矩形ブロックの個別輝度値の平均輝度値と前記第2ラベルが割り当てられた全ての矩形ブロックの個別輝度値の平均輝度値との差に基づいて強度を求め、
前記空間的分布情報と前記強度を用いて前記矩形テンプレートを設定した画像が対象物を含むか否かを判定する対象物検出装置。
The object detection device according to claim 3,
The feature extraction unit includes:
The intensity is obtained based on the difference between the average luminance value of the individual luminance values of all rectangular blocks to which the first label is assigned and the average luminance value of the individual luminance values of all rectangular blocks to which the second label is assigned. ,
An object detection apparatus for determining whether an image in which the rectangular template is set using the spatial distribution information and the intensity includes an object.
請求項1ないし4のいずれか1項に記載の対象物検出装置であって、
前記矩形ブロックは互いに離れている対象物検出装置。
The object detection device according to any one of claims 1 to 4,
The rectangular block is an object detection device separated from each other.
請求項1ないし4のいずれか1項に記載の対象物検出装置であって、
前記矩形ブロックは互いに重なり合っている対象物検出装置。
The object detection device according to any one of claims 1 to 4,
The object detection device in which the rectangular blocks overlap each other.
特徴抽出部により、
画像に対して複数の矩形ブロックから構成される矩形テンプレートを設定するステップと、
前記全ての矩形ブロックの輝度値から参照輝度値と、前記矩形ブロック各々から個別輝度値とを求めるステップと、
前記参照輝度値と前記矩形ブロック各々についての個別輝度値との大小関係から、前記矩形ブロックを識別するための空間的分布情報を求めるステップと、
前記空間的分布情報を用いて、前記矩形テンプレート内の画像が対象物を含むか否かを判定するステップと、
を有する対象物検出方法。
By the feature extraction unit
Setting a rectangular template composed of a plurality of rectangular blocks for the image;
Obtaining a reference luminance value from the luminance values of all the rectangular blocks and an individual luminance value from each of the rectangular blocks;
Obtaining spatial distribution information for identifying the rectangular block from the magnitude relationship between the reference luminance value and the individual luminance value for each of the rectangular blocks;
Using the spatial distribution information to determine whether an image in the rectangular template includes an object;
An object detection method comprising:
JP2010229972A 2010-10-12 2010-10-12 Object detection device and learning device thereof Expired - Fee Related JP4712907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010229972A JP4712907B2 (en) 2010-10-12 2010-10-12 Object detection device and learning device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010229972A JP4712907B2 (en) 2010-10-12 2010-10-12 Object detection device and learning device thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005175356A Division JP4767595B2 (en) 2005-06-15 2005-06-15 Object detection device and learning device thereof

Publications (2)

Publication Number Publication Date
JP2011034581A true JP2011034581A (en) 2011-02-17
JP4712907B2 JP4712907B2 (en) 2011-06-29

Family

ID=43763527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010229972A Expired - Fee Related JP4712907B2 (en) 2010-10-12 2010-10-12 Object detection device and learning device thereof

Country Status (1)

Country Link
JP (1) JP4712907B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0991432A (en) * 1995-09-28 1997-04-04 Nippon Telegr & Teleph Corp <Ntt> Method for extracting doubtful person
JP2000194856A (en) * 1998-12-25 2000-07-14 Oki Electric Ind Co Ltd Contour extraction method and device
WO2004114219A1 (en) * 2003-06-17 2004-12-29 Mitsubishi Denki Kabushiki Kaisha Method for detecting a moving object in a temporal sequence of images of a video
JP2005044330A (en) * 2003-07-24 2005-02-17 Univ Of California San Diego Weak hypothesis generation device and method, learning device and method, detection device and method, expression learning device and method, expression recognition device and method, and robot device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0991432A (en) * 1995-09-28 1997-04-04 Nippon Telegr & Teleph Corp <Ntt> Method for extracting doubtful person
JP2000194856A (en) * 1998-12-25 2000-07-14 Oki Electric Ind Co Ltd Contour extraction method and device
WO2004114219A1 (en) * 2003-06-17 2004-12-29 Mitsubishi Denki Kabushiki Kaisha Method for detecting a moving object in a temporal sequence of images of a video
JP2005044330A (en) * 2003-07-24 2005-02-17 Univ Of California San Diego Weak hypothesis generation device and method, learning device and method, detection device and method, expression learning device and method, expression recognition device and method, and robot device

Also Published As

Publication number Publication date
JP4712907B2 (en) 2011-06-29

Similar Documents

Publication Publication Date Title
JP4767595B2 (en) Object detection device and learning device thereof
CN111401177B (en) End-to-end behavior recognition method and system based on adaptive space-time attention mechanism
Sebe et al. Skin detection: A bayesian network approach
KR101410489B1 (en) Face detection and method and apparatus
US9053358B2 (en) Learning device for generating a classifier for detection of a target
CN106846355B (en) Target tracking method and device based on lifting intuitive fuzzy tree
Masurekar et al. Real time object detection using YOLOv3
JP4553044B2 (en) Group learning apparatus and method
US20110182497A1 (en) Cascade structure for classifying objects in an image
Wang et al. Sface: An efficient network for face detection in large scale variations
Sahoo et al. Adaptive feature fusion and spatio-temporal background modeling in KDE framework for object detection and shadow removal
Lee et al. Reinforced adaboost learning for object detection with local pattern representations
Kumar et al. Normalizing flow based feature synthesis for outlier-aware object detection
CN115798055B (en) Violent behavior detection method based on cornersort tracking algorithm
JP4741036B2 (en) Feature extraction device, object detection device, feature extraction method, and object detection method
JP5241687B2 (en) Object detection apparatus and object detection program
JP4712907B2 (en) Object detection device and learning device thereof
AFFES et al. Comparison of YOLOV5, YOLOV6, YOLOV7 and YOLOV8 for Intelligent Video Surveillance.
JP2014203133A (en) Image processing device and image processing method
Bakr et al. Mask R-CNN for moving shadow detection and segmentation
Kumar et al. An efficient hierarchical approach for background subtraction and shadow removal using adaptive GMM and color discrimination
Vijayarani et al. An efficient algorithm for facial image classification
KR102594422B1 (en) Method for training object detector capable of predicting center of mass of object projected onto the ground, method for identifying same object in specific space captured from multiple cameras having different viewing frustums using trained object detector, and learning device and object identifying device using the same
WO2022259575A1 (en) Learning device, inference device, learning method, inference method, and program
Pinto Automotive interior sensing: Human interaction recognition

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110203

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110323

LAPS Cancellation because of no payment of annual fees