JP2000030033A - Person detecting method - Google Patents

Person detecting method

Info

Publication number
JP2000030033A
JP2000030033A JP10194013A JP19401398A JP2000030033A JP 2000030033 A JP2000030033 A JP 2000030033A JP 10194013 A JP10194013 A JP 10194013A JP 19401398 A JP19401398 A JP 19401398A JP 2000030033 A JP2000030033 A JP 2000030033A
Authority
JP
Japan
Prior art keywords
image
area
person
hue histogram
hue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10194013A
Other languages
Japanese (ja)
Inventor
Hiroshige Kamine
広茂 加峰
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10194013A priority Critical patent/JP2000030033A/en
Publication of JP2000030033A publication Critical patent/JP2000030033A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To speedily detect a designated person out of pictures to be retrieved. SOLUTION: A picture including a person to be detected is designated as a key picture, the hue histogram of the face area and clothing area of the key picture is secured as retrieving data and concerning the read retrieving object picture, area dividing processing is executed to secure the hue histogram for every area, the retrieving object picture is scan-processed from two of upper and lower directions to obtain a first area with a hue histogram similar to the hue histogram of the face area and a second area with a hue histogram similar to the hue histogram of the clothing area and when the first and second areas are in a mutually proximate and vertical positional relation, this is made to be the person of a detecting object.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、検索対象画像の中
からある特定の人物を検出する人物検出方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a person detecting method for detecting a specific person from an image to be searched.

【0002】[0002]

【従来の技術】近年、デジタルカメラやインターネット
等の普及でデジタルカラー画像の流通量が増加してお
り、その大量の画像の中から目的の画像を効率的に検出
する機能の重要性はますます高くなっている。
2. Description of the Related Art In recent years, the distribution of digital color images has increased due to the spread of digital cameras and the Internet, and the importance of the function of efficiently detecting a target image from a large amount of images has become increasingly important. Is getting higher.

【0003】ここで、日常的にユーザが目にすることが
多いカラー自然画の中には、デジタルカメラで旅行時な
どに撮影するスナップも含まれている。そして、その中
で最も被写体となりやすいものは人物である。したがっ
て、異なるアングルやスケールの画像の集まりの中で、
ある特定の人物をキーとして画像を検出する機能は非常
に有益である。
[0003] Here, among the color natural images that are often seen by the user on a daily basis, snaps that are shot with a digital camera when traveling or the like are also included. Among them, the person most likely to be a subject is a person. Therefore, in a collection of images at different angles and scales,
The function of detecting an image using a specific person as a key is very useful.

【0004】人物が被写体となっているものを含む大量
の画像の中から、ユーザが指定した人物が写ってる画像
を検出することに関する従来の技術として、検索対象の
人物を特徴付ける顔や服装の領域のヒストグラムを予め
確保し、画像内にチェック用のブロックを想定し、その
ブロックの大きさを任意に変化させながらヒストグラム
と比較していき、画像の全ての領域を網羅して探し出す
技術がある。
As a conventional technique for detecting an image in which a person designated by a user is captured from a large number of images including a person as a subject, an area of a face or clothes characterizing the person to be searched is known. There is a technique in which a histogram is reserved in advance, a block for checking is assumed in an image, the size of the block is arbitrarily changed, and the block is compared with the histogram to search all areas of the image.

【0005】図8に従来の人物検出装置の構成を示す。
図示する人物検出装置は、中央処理装置1と、モニタな
どのカラー画像を表示する表示装置2と、キーボードや
マウスなどの入力装置3と、処理中のプログラムや値を
一時的に記憶する主記憶装置4と、カラー画像データや
画像管理機能のモジュール等を記憶する二次記憶装置5
とから構成されている。
FIG. 8 shows the configuration of a conventional person detection device.
The illustrated human detection device includes a central processing unit 1, a display device 2 such as a monitor for displaying a color image, an input device 3 such as a keyboard and a mouse, and a main memory for temporarily storing programs and values being processed. Device 4 and secondary storage device 5 for storing color image data, modules for image management functions, etc.
It is composed of

【0006】また、二次記憶装置5は、デジタル画像の
R、G、B値で与えられる画像データを人間の視覚的色
差と一致する色相(H)、輝度(V)、彩度(C)のパ
ラメータを持つHVC系に変換する色変換部6と、任意
の大きさのブロックを定め、そのブロック内の色相
(H)ヒストグラムを確保するブロックヒストグラム取
得部16と、検索対象の画像に対して、大きさと位置を
変えながらブロック内の色相ヒストグラムをチェックす
るためのループ処理を管理するループ処理部17と、あ
る時点でのブロック内の色相ヒストグラムとキー画像の
人物を特定する顔領域と服装領域の色相ヒストグラムと
を比較するマッチング部13と、マッチング部13によ
る類似度がユーザが予め定めたしきい値よりも高い画像
を表示する表示部14とから構成されている。
[0006] The secondary storage device 5 converts the image data given by the R, G, and B values of the digital image into hue (H), luminance (V), and saturation (C) that match the human visual color difference. A color conversion unit 6 for converting to an HVC system having the following parameters: a block of an arbitrary size, a block histogram acquisition unit 16 for securing a hue (H) histogram in the block; A loop processing unit 17 for managing a loop process for checking a hue histogram in a block while changing the size and position, a face region and a clothing region for identifying a person in a hue histogram and a key image in a block at a certain point in time And a display unit 14 for displaying an image in which the degree of similarity by the matching unit 13 is higher than a threshold value predetermined by the user. It is constructed from.

【0007】次に、キー画像で指定された人物画像の顔
領域と服装領域の色相ヒストグラムを、任意の大きさの
チェック用のブロックを動かしながら検索対象画像と繰
り返し照合を行う人物検出の処理過程を図9のフローチ
ャートを用いて説明する。
Next, a person detection process for repeatedly matching the hue histograms of the face area and the clothing area of the person image specified by the key image with the search target image while moving a check block of an arbitrary size. Will be described with reference to the flowchart of FIG.

【0008】検出したい人物画像をキー画像として指定
すると(ステップS23)、RGB系からHVC系への
変換式を用いて、各画素のデータがHVC系に変換され
る(ステップS24)。
When a person image to be detected is designated as a key image (step S23), the data of each pixel is converted to an HVC system using a conversion formula from an RGB system to an HVC system (step S24).

【0009】次に、キー画像のデータの任意の大きさお
よび任意の場所を対象に、チェック用のブロックを変化
させながら、色相の肌色成分が多く見られるブロックが
検出される(ステップS25)。検出が終了したなら
ば、当該ブロックである顔領域およびそのブロックの下
部に位置するブロックである服領域の色相ヒストグラム
がキー画像の手がかりとして確保される(ステップS2
6)。
Next, while changing the check block for any size and any place of the key image data, a block having a large number of hue skin color components is detected (step S25). When the detection is completed, the hue histogram of the face area as the block and the clothes area as the block located below the block is secured as a key image key (step S2).
6).

【0010】その後、検索対象の画像を一枚ずつ読み込
むと(ステップS27)、RGB系からHVC系への変
換式を用いて、検索対象画像データがHVC系に変換さ
れる(ステップS28)。
Thereafter, when the images to be searched are read one by one (step S27), the image data to be searched is converted into the HVC system using the conversion formula from RGB system to HVC system (step S28).

【0011】次に、前述のステップS25と同様に、検
索対象の画像の中から、色相の肌色成分が多く見られる
ブロックが検出される(ステップS29)。そして、ス
テップS26と同様に、当該ブロックである顔領域およ
びそのブロックの下部に位置するブロックである服領域
の色相ヒストグラムが比較対象の色相ヒストグラム情報
として確保される(ステップS30)。
Next, similarly to step S25, a block in which many hue flesh color components are found is detected from the image to be searched (step S29). Then, similarly to step S26, the hue histogram of the face area as the block and the clothes area as the block located below the block is secured as the hue histogram information to be compared (step S30).

【0012】その後、ステップS26で確保されたキー
画像の二つの色相ヒストグラム情報とステップS30で
確保された検索対象の画像の二つの色相ヒストグラム情
報とが比較され、マッチングつまり類似度が計算される
(ステップS31)。
Thereafter, the two pieces of hue histogram information of the key image secured in step S26 are compared with the two pieces of hue histogram information of the image to be searched secured in step S30, and matching, that is, similarity is calculated ( Step S31).

【0013】そして、ステップS31で計算された類似
度が、ユーザが予め定めたしきい値よりも大きければ、
その画像が表示される(ステップS32)。
If the similarity calculated in step S31 is larger than a threshold value predetermined by the user,
The image is displayed (Step S32).

【0014】[0014]

【発明が解決しようとする課題】このような従来の技術
では、ある画像に対して、どのようなスケールでどの位
置に人物が撮影されているかが不明なために、画像内で
大きさを変化させたブロックを用いて全ての位置をチェ
ックし、人物の顔領域と思われる肌色成分が多く見られ
る領域を探し出す必要がある。
In such a conventional technique, since it is unclear at which scale and at which position a person is photographed in a certain image, the size of the person changes in the image. It is necessary to check all the positions using the blocks thus made, and to find an area where a lot of skin color components, which are considered to be a face area of a person, can be seen.

【0015】すると、必然的にループ処理時間が多くか
かり、大量の画像に対して検索を行うとレスポンスが悪
化するという問題があった。
[0015] Then, there is a problem that the loop processing time is inevitably increased, and the response becomes worse when a large number of images are searched.

【0016】そこで、本発明は、キー画像に指定された
人物を検索対象画像の中から速やかに検出することので
きる人物検出方法を提供することを目的とする。
Accordingly, an object of the present invention is to provide a person detection method capable of quickly detecting a person specified as a key image from a search target image.

【0017】[0017]

【課題を解決するための手段】この課題を解決するため
に、本発明の人物検出方法は、検出する人物が写った画
像をキー画像として指定し、キー画像の顔領域および服
装領域の色相ヒストグラムを検索データとして確保し、
読み込まれた検索対象画像について領域分割処理を行っ
て領域毎の色相ヒストグラムを確保し、検索対象画像を
上下2方向からスキャン処理を行い、顔領域の色相ヒス
トグラムに類似した色相ヒストグラムを有する第1の領
域および服装領域の色相ヒストグラムに類似した色相ヒ
ストグラムを有する第2の領域を求め、第1の領域と第
2の領域とが相互に近接した上下の位置関係にあるとき
に、これを検出対象の人物とするようにしたものであ
る。
In order to solve this problem, a person detecting method according to the present invention designates, as a key image, an image in which a person to be detected is captured, and provides a hue histogram of a face area and a clothing area of the key image. As search data,
A first hue histogram having a hue histogram similar to the hue histogram of the face region is obtained by performing a region division process on the read search target image to secure a hue histogram for each region, performing a scan process on the search target image from two upper and lower directions. A second region having a hue histogram similar to the hue histograms of the region and the clothing region is determined, and when the first region and the second region are in a close vertical relationship with each other, this is detected. It is a person.

【0018】これにより、キー画像に指定された人物を
検索対象画像の中から速やかに検出することが可能にな
る。
Thus, the person specified as the key image can be quickly detected from the search target image.

【0019】[0019]

【発明の実施の形態】本発明の請求項1に記載の発明
は、検出する人物が写った画像をキー画像として指定
し、キー画像の顔領域および服装領域の色相ヒストグラ
ムを検索データとして確保し、読み込まれた検索対象画
像について領域分割処理を行って領域毎の色相ヒストグ
ラムを確保し、検索対象画像を上下2方向からスキャン
処理を行い、顔領域の色相ヒストグラムに類似した色相
ヒストグラムを有する第1の領域および服装領域の色相
ヒストグラムに類似した色相ヒストグラムを有する第2
の領域を求め、第1の領域と第2の領域とが相互に近接
した上下の位置関係にあるときに、これを検出対象の人
物とする人物検出方法であり、キー画像に指定された人
物を検索対象画像の中から速やかに検出することが可能
になるという作用を有する。
According to the first aspect of the present invention, an image of a person to be detected is designated as a key image, and a hue histogram of a face area and a clothing area of the key image is secured as search data. A first area having a hue histogram similar to the hue histogram of the face area is obtained by performing a region division process on the read search target image to secure a hue histogram for each region, performing a scan process on the search target image from upper and lower two directions. Having a hue histogram similar to the hue histograms of the
Is a person detection method in which, when the first region and the second region are in an up-and-down positional relationship close to each other, this is a person to be detected, and the person specified in the key image is Can be quickly detected from the search target image.

【0020】本発明の請求項2に記載の発明は、請求項
1記載の発明において、動画において画像全体の色相ヒ
ストグラムが急激に変化するフレームを検索対象画像と
する人物検出方法であり、検出対象画像が動画であって
も、キー画像に指定された人物を大量の検索対象画像の
中から速やかに検出することが可能になるという作用を
有する。
According to a second aspect of the present invention, in the first aspect of the present invention, there is provided a person detecting method in which a frame in which a hue histogram of the entire image sharply changes in a moving image is used as a search target image. Even if the image is a moving image, it is possible to quickly detect the person designated as the key image from a large number of search target images.

【0021】以下、本発明の実施の形態について、図1
から図7を用いて説明する。なお、これらの図面におい
て同一の部材には同一の符号を付しており、また、重複
した説明は省略されている。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. In these drawings, the same members are denoted by the same reference numerals, and duplicate description is omitted.

【0022】図1は本発明の一実施の形態である人物検
出装置の構成を示すブロック図、図2は図1の人物検出
装置における人物検出処理を示すフローチャート、図3
は図1の人物検出装置における検索対象の画像における
領域分割処理を示すフローチャート、図4は図1の人物
検出装置における動画での人物検出処理を示すフローチ
ャート、図5は図1の人物検出装置における検索対象の
画像における領域分割処理を示す説明図、図6および図
7は図1の人物検出装置による人物の検出処理を示す説
明図である。
FIG. 1 is a block diagram showing a configuration of a person detecting device according to an embodiment of the present invention. FIG. 2 is a flowchart showing a person detecting process in the person detecting device of FIG.
FIG. 4 is a flowchart showing a region dividing process in an image to be searched in the person detecting device in FIG. 1, FIG. 4 is a flowchart showing a person detecting process in a moving image in the person detecting device in FIG. 1, and FIG. FIG. 6 and FIG. 7 are explanatory diagrams showing a region dividing process in an image to be searched, and FIG. 6 and FIG. 7 are explanatory diagrams showing a person detecting process by the person detecting device in FIG.

【0023】本実施の形態における人物検出装置は、図
1に示すように、中央処理装置1と、モニタなどのカラ
ー画像を表示する表示装置2と、キーボードやマウスな
どの入力装置3と、処理中のプログラムや値を一時的に
記憶する主記憶装置4と、カラー画像データや画像管理
のモジュール等を記憶する二次記憶装置5とから構成さ
れている。
As shown in FIG. 1, a person detecting device according to the present embodiment includes a central processing unit 1, a display device 2 for displaying a color image such as a monitor, an input device 3 such as a keyboard and a mouse, and a processing device. It comprises a main storage device 4 for temporarily storing programs and values therein, and a secondary storage device 5 for storing color image data, image management modules and the like.

【0024】また、二次記憶装置5は、RGB値からな
るデータを人間の視覚的色差と一致するパラメータを持
つHVC系に変換する色変換部6と、画像を小矩形に分
割した後、隣接する矩形をその類似度を元に統合しなが
ら画像全体の領域分割を行う領域分割処理部7と、画像
の領域内の色相値のヒストグラムを確保する領域内デー
タ部8と、画像内の人物の顔領域の候補領域を画像上方
向から、服装領域の候補領域を画像下方向から調べてい
くスキャン部9と、スキャン部9によって検出された顔
領域候補および服装領域候補が上下の位置関係にあるか
をチェックする領域境界チェック部10と、ユーザが検
出したい特定の人物が写っている画像のデータを保持す
るキー画像データ部11と、大量の検索対象の画像デー
タを保持する検索対象画像データ部12と、動画を構成
するフレームにおいて各ヒストグラムをとり、変化の著
しいフレームを抜き出すことでシーンの変わり目を検出
するシーン検出部13と、領域内の色相ヒストグラムの
類似度を計算するマッチング部14と、マッチング部1
4により算出された類似度が予めユーザが定めたしきい
値よりも大きい画像をディスプレイ上に表示する表示部
15とから構成されている。
The secondary storage device 5 is provided with a color conversion unit 6 for converting data consisting of RGB values into an HVC system having parameters matching the human visual color difference. A region division processing unit 7 for performing region division of the entire image while integrating the rectangles to be formed based on the similarity, an in-region data unit 8 for securing a histogram of hue values in the region of the image, A scanning unit 9 for examining the candidate region of the face region from the upper side of the image and the candidate region of the clothing region from the lower side of the image, and the face region candidate and the clothing region candidate detected by the scanning unit 9 are in a vertical positional relationship. Area check unit 10, a key image data unit 11 for storing data of an image of a specific person to be detected by the user, and a search for storing a large amount of image data to be searched. An elephant image data unit 12, a scene detection unit 13 which detects each transition in a frame constituting a moving image and extracts a frame having a remarkable change to detect a scene change, and a matching which calculates a similarity of a hue histogram in an area. Unit 14 and matching unit 1
And a display unit 15 for displaying on the display an image whose similarity calculated in Step 4 is larger than a threshold value predetermined by the user.

【0025】なお、二次記憶装置5に記憶される各プロ
グラムは、CD−ROMなどの記録媒体に記録し、読取
装置などを介して中央処理装置1に実行させる形態であ
ってもよい。このような形態とすることにより、本発明
を汎用コンピュータでも容易に実現することができる。
Each program stored in the secondary storage device 5 may be recorded on a recording medium such as a CD-ROM and executed by the central processing unit 1 via a reading device or the like. With such an embodiment, the present invention can be easily realized by a general-purpose computer.

【0026】このような人物検出装置において、人物検
出の前処理段階で行われる検索対象画像の領域分割につ
いて図3および図5を用いて説明する。
Referring to FIGS. 3 and 5, a description will be given of the area division of the search target image performed in the pre-processing stage of the person detection in such a person detecting apparatus.

【0027】ここで、画像の領域分割とは、検索対象の
画像をまず小矩形に分割し、相互に隣接する矩形をその
類似度を元に統合していき、画像全体をその構成領域で
分割するものである。
Here, image region division means that an image to be searched is first divided into small rectangles, and mutually adjacent rectangles are integrated based on their similarity, and the entire image is divided into its constituent regions. Is what you do.

【0028】画像の領域分割では、先ず、領域分割対象
となる画像データを確保し(ステップS12)、この画
像データをRGB系からHVC系へ変換する(ステップ
S13)。そして、画像全体を定められた大きさの矩形
に分割し(ステップS14)、分割された全ての矩形に
対して、そのブロック内の色相(HVC系のH)のヒス
トグラム情報を取得する(ステップS15)。
In the area division of an image, first, image data to be divided is secured (step S12), and this image data is converted from the RGB system to the HVC system (step S13). Then, the entire image is divided into rectangles of a predetermined size (step S14), and for all the divided rectangles, histogram information of the hue (H of the HVC system) in the block is obtained (step S15). ).

【0029】次に、上下、左右というように相互に隣接
する位置関係にある矩形同士に対して色相ヒストグラム
の類似度を計算し、得られた類似度が予めユーザが定め
たしきい値よりも大きければ、それらの小矩形を同一領
域とみなして統合する(ステップS16)。
Next, the similarity of the hue histogram is calculated for rectangles having a positional relationship adjacent to each other, such as up, down, left, and right, and the obtained similarity is smaller than a threshold determined by the user in advance. If it is larger, those small rectangles are regarded as the same area and integrated (step S16).

【0030】最終的に、このようにして統合された領域
に対して、ユニークなラベルを付与する、いわゆるラベ
リング処理を行う(ステップS17)。
Finally, a so-called labeling process for giving a unique label to the region integrated in this way is performed (step S17).

【0031】このような一連の処理を、図5を用いてさ
らに具体的に説明する。検索対象となる画像(図5
(a))が与えられると、この画像は小矩形に分割され
て、その矩形内のヒストグラムが確保される(図5
(b))。
Such a series of processing will be described more specifically with reference to FIG. Images to be searched (Fig. 5
Given (a)), this image is divided into small rectangles, and a histogram within the rectangle is secured (FIG. 5).
(B)).

【0032】そして、それぞれの小矩形の特徴ともいえ
る色相ヒストグラム情報を相互に類似したもの同士で統
合していき、画像全体を構成する領域を抽出するもので
ある(図5(c))。
Then, the hue histogram information, which can be said to be the feature of each small rectangle, is integrated by mutually similar ones, and a region constituting the entire image is extracted (FIG. 5C).

【0033】このように、画像を小矩形に分割し、これ
らの小矩形を類似度に応じて統合するようにすれば、検
索対象の画像について、当該画像を特徴づける大まかな
領域にある程度の精度で分割することができる。
As described above, if an image is divided into small rectangles and these small rectangles are integrated in accordance with the similarity, a certain degree of accuracy can be obtained for the image to be searched in a rough region characterizing the image. Can be divided by

【0034】次に、本実施の形態における人物検出装置
による人物検出処理の詳細を図2を用いて説明する。
Next, the details of the person detecting process by the person detecting apparatus according to the present embodiment will be described with reference to FIG.

【0035】図2において、検出のキーとする人物の写
った画像がユーザによりキー画像として指定されると
(ステップS1)、RGB系にデータを持つ当該画像
が、人間の視覚的色差が一致すると言われる色相
(H)、輝度(V)、彩度(C)のパラメータを持つH
VC系へと変換される(ステップS2)。
In FIG. 2, when an image including a person as a key for detection is designated by a user as a key image (step S1), if the image having data in the RGB system matches the visual color difference of a human, H having parameters of hue (H), luminance (V), and saturation (C)
It is converted to a VC system (step S2).

【0036】HVC系へ変換され画像は小矩形に分割さ
れ、ステップS2で得られた色相データを元に小矩形毎
のヒストグラムが算出される。そして、相互に隣接する
矩形の類似度がユーザが予め定めたしきい値よりも大き
ければ両者を統合してゆき、このような処理を全ての矩
形に実行することで領域分割処理が行われる(ステップ
S3)。
The image converted to the HVC system is divided into small rectangles, and a histogram for each small rectangle is calculated based on the hue data obtained in step S2. Then, if the similarity between mutually adjacent rectangles is larger than a threshold value predetermined by the user, the two are integrated, and by performing such processing on all the rectangles, the region division processing is performed ( Step S3).

【0037】ユーザが指定したキー画像について領域分
割処理が行われた後、色相データ情報において肌色成分
が多い領域の色相ヒストグラムおよびその領域の下に位
置する領域である服装の色相ヒストグラムがキー画像の
検索データとして確保される(ステップS4)。
After the area division processing is performed on the key image specified by the user, the hue histogram of the area having a large number of skin color components in the hue data information and the hue histogram of the clothes located below the area are displayed in the key image. Secured as search data (step S4).

【0038】このようにしてキーが像の検索データが確
保されたならば、検索対象の画像データが読み込まれる
(ステップS5)。そして、前述したステップS2の場
合と同様、RGB系にデータを持つ当該画像が、人間の
視覚的色差が一致すると言われる色相(H)、輝度
(V)、彩度(C)のパラメータを持つHVC系へと変
換される(ステップS6)。
When the search data of the image with the key is secured in this way, the image data to be searched is read (step S5). Then, as in step S2 described above, the image having data in the RGB system has parameters of hue (H), luminance (V), and saturation (C), which are said to match human visual color differences. It is converted to an HVC system (step S6).

【0039】次に、ステップS3と同様の要領で、検索
対象画像に対して領域分割処理が行われ(ステップS
7)、領域毎の色相ヒストグラムが確保される(ステッ
プS8)。
Next, an area dividing process is performed on the search target image in the same manner as in step S3 (step S3).
7), a hue histogram for each area is secured (step S8).

【0040】そして、検索対象画像に対してスキャン処
理が行われ、領域毎のヒストグラムが上下2方向から順
次チェックされる(ステップS9)。
Then, scan processing is performed on the search target image, and the histogram for each area is sequentially checked from the upper and lower two directions (step S9).

【0041】ステップS9で上からスキャンしてきた領
域に肌色成分が多い領域が見つかった場合、下方向から
スキャンしてきた処理の結果がチェックされ、キー画像
の服装の色相ヒストグラムと類似した領域が存在する
か、また、それが存在する領域が顔領域候補と上下の位
置関係にあるかどうかのチェックを行うマッチング処理
が行われる(ステップS10)。
In step S9, if an area scanned from above is found to have a large amount of skin color components, the result of the processing scanned from below is checked, and an area similar to the hue histogram of the clothes of the key image exists. A matching process is performed to check whether the region where the region exists is in a vertical positional relationship with the face region candidate (step S10).

【0042】最後に、ステップS10でチェックされた
類似度を元にキー画像にある人物が写っている画像が大
量の検索対象の画像の中から検出され、表示装置に表示
される(ステップS11)。
Finally, based on the similarity checked in step S10, an image in which a person in the key image is detected is detected from a large number of images to be searched and displayed on the display device (step S11). .

【0043】このような一連の処理を、図6および図7
を用いて具体的に説明する。検索対象となる画像(図6
(a))が与えられると、この画像は小矩形に分割され
る。そして、各矩形の色相ヒストグラムの類似度を元に
統合され、画像を特徴づける大まかな領域に分割される
(図6(b))。ここでは、たとえばA・B・C・D・
E・Fの6つの領域に分割されている。
Such a series of processing is described in FIG. 6 and FIG.
This will be specifically described with reference to FIG. Image to be searched (Fig. 6
Given (a)), this image is divided into small rectangles. Then, they are integrated based on the similarity of the hue histograms of the respective rectangles, and are divided into rough regions characterizing the image (FIG. 6B). Here, for example, A, B, C, D,
It is divided into six areas EF.

【0044】なお、領域分割を行うと細かい領域が多々
出現する。しかし、ここで必要なのは人間が見たときに
判断すると思われるある程度の大きさを持つ領域に限ら
れるために、細かい領域は処理対象外とされる。
When the area is divided, many small areas appear. However, since only what is necessary here is an area having a certain size that is considered to be judged when viewed by a human, a fine area is excluded from processing.

【0045】このように領域分割を行った後、図7
(a)に示すように、上方から下方に向かってスキャン
ラインを移動させながら、肌色成分が多く見られる色相
ヒストグラムを持つ領域を探す。
After the area division is performed as described above, FIG.
As shown in (a), while moving the scan line from top to bottom, an area having a hue histogram in which many flesh color components are seen is searched for.

【0046】ここで、スキャンの処理過程は、まず上方
に接しているA・B・Cの領域の色相ヒストグラムをチ
ェックする。そして、チェックしたこれらの領域の一番
下の位置にスキャンラインを移動させて、以下の領域を
順次チェックして行くようにする。
Here, in the scanning process, first, the hue histogram of the A, B, and C regions that are in contact with the upper side is checked. Then, the scan line is moved to the lowest position of these checked areas, and the following areas are sequentially checked.

【0047】このようにしてスキャンを実行し、顔領域
候補と思われる領域が出現したならば、スキャンライン
がその領域の端に来たときに、上方向からのスキャンラ
インの移動を止める。図7(a)に示す場合において
は、領域Bに肌色成分が多く見られるので、スキャンラ
インは領域Bの最下部まで移動した位置で停止される。
When the scan is performed in this way and an area that is considered as a face area candidate appears, the movement of the scan line from above is stopped when the scan line comes to the end of the area. In the case shown in FIG. 7A, since many skin color components are found in the area B, the scan line is stopped at a position where the scan line has moved to the bottom of the area B.

【0048】次に、図7(b)に示すように、下方から
上方に向かってスキャンラインを移動させながら、予め
ユーザが指定しているキー画像となる人物画像に含まれ
る服装領域の色相ヒストグラムと類似している領域をチ
ェックする。ここでは画像の下部に接する領域であるD
・Eを対象に色相ヒストグラムの情報を取得し、キー画
像の服装領域の色相ヒストグラムと比較を行う。
Next, as shown in FIG. 7 (b), the hue histogram of the clothing area included in the person image which is the key image designated by the user in advance while moving the scan line upward from below. Check for areas that are similar to. Here, D, which is an area in contact with the lower part of the image
-Acquire the information of the hue histogram for E and compare it with the hue histogram of the clothing area of the key image.

【0049】そして、キー画像のデータと当該領域の色
相ヒストグラムの類似度を計算しながらスキャンライン
を移動させ、類似している領域の最上部まで移動した位
置で停止させる。ここでは領域Eが服装領域とみなされ
るので、スキャンラインは領域Eの最上部まで移動した
位置で停止される。
Then, the scan line is moved while calculating the similarity between the key image data and the hue histogram of the area, and stopped at the position where the scan line has been moved to the top of the similar area. Here, since the region E is regarded as a clothing region, the scan line is stopped at a position where the scan line has moved to the top of the region E.

【0050】ここで、領域Bをチェックした上方向から
のスキャンラインの最終位置と領域Eをチェックした下
方向からのスキャンラインとの間隔ΔD(図7(C))
を算出する。そして、この間隔ΔDが予めユーザが定め
た許容範囲以内であれば、人物の顔領域と服装領域とは
相互に近接した上下の位置関係にあることから、これら
の候補領域は顔領域(B)と服装領域(E)と認定する
ことができ、ユーザがキー画像として与えられた人物画
像であることが特定される。
Here, the distance ΔD between the final position of the scan line from the upper direction where the area B is checked and the scan line from the lower direction where the area E is checked (FIG. 7C).
Is calculated. If the interval ΔD is within an allowable range predetermined by the user, since the face area and the clothing area of the person have a vertical positional relationship close to each other, these candidate areas are face areas (B). And the clothing area (E), it is specified that the user is a person image given as a key image.

【0051】以上の説明において、静止画像が検索対象
とされいるが、動画へ適用することもできる。これは、
動画を構成するフレームは静止画像として処理を行うこ
とが可能だからである。
In the above description, a still image is a search target, but the present invention can be applied to a moving image. this is,
This is because a frame constituting a moving image can be processed as a still image.

【0052】ここで、動画での人物検出処理を図4のフ
ローチャートを用いて説明する。動画においては、ユー
ザがキー画像として指定した人物が写っているフレーム
を検出するために、シーン検出および人物検出の大きく
二つの処理が行われる。
Here, the person detection process in a moving image will be described with reference to the flowchart of FIG. In a moving image, two major processes, scene detection and person detection, are performed in order to detect a frame in which a person designated as a key image by a user is shown.

【0053】すなわち、検索対象画像となる動画データ
が読み込まれると(ステップS18)、当該画像の全て
のフレームに対して全体の色相ヒストグラムが取得され
る(ステップS19)。
That is, when moving image data serving as a search target image is read (step S18), an entire hue histogram is obtained for all frames of the image (step S19).

【0054】次に、フレーム間比較処理として時系列的
に前後するフレームで色相ヒストグラムが急激に変化す
る個所がチェックされ(ステップS20)、このチェッ
ク個所のフレームが検出される(ステップS21)。
Next, as the inter-frame comparison processing, a point where the hue histogram changes abruptly in frames preceding and succeeding in time series is checked (step S20), and the frame at the checked point is detected (step S21).

【0055】ステップ21で検出されたフレームは動画
中のシーンの変わり目に当たるものである。そこで、こ
のステップS21で検出されたフレームを対象に人物検
出処理が行われる(ステップS22)。
The frame detected in step 21 corresponds to a change of a scene in a moving image. Therefore, a person detection process is performed on the frame detected in step S21 (step S22).

【0056】これにより、ユーザがキー画像として指定
した人物が含まれるシーンが動画中より検出することが
可能になる。
Thus, a scene including a person designated by the user as a key image can be detected from a moving image.

【0057】このように、本実施の形態によれば、検出
対象画像が静止画であっても動画であっても、キー画像
に指定された人物を大量の検索対象画像の中から速やか
に検出することが可能になる。
As described above, according to the present embodiment, regardless of whether the detection target image is a still image or a moving image, the person designated as the key image is quickly detected from a large number of search target images. It becomes possible to do.

【0058】[0058]

【発明の効果】以上のように、本発明によれば、キー画
像に指定された人物を検索対象画像の中から速やかに検
出することが可能になるという有効な効果が得られる。
As described above, according to the present invention, it is possible to obtain an effective effect that the person designated as the key image can be quickly detected from the search target image.

【0059】また、動画において画像全体の色相ヒスト
グラムが急激に変化するフレームを検索対象画像とすれ
ば、検出対象画像が動画であっても、キー画像に指定さ
れた人物を大量の検索対象画像の中から速やかに検出す
ることが可能になるという有効な効果が得られる。
Further, if a frame in which the hue histogram of the entire image changes rapidly in a moving image is set as a search target image, even if the detection target image is a moving image, a person designated as a key image can be searched for a large amount of An effective effect that the detection can be quickly performed from the inside is obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態である人物検出装置の構
成を示すブロック図
FIG. 1 is a block diagram illustrating a configuration of a person detection device according to an embodiment of the present invention;

【図2】図1の人物検出装置における人物検出処理を示
すフローチャート
FIG. 2 is a flowchart showing a person detection process in the person detection device of FIG. 1;

【図3】図1の人物検出装置における検索対象の画像に
おける領域分割処理を示すフローチャート
FIG. 3 is a flowchart showing an area dividing process in an image to be searched in the person detecting apparatus in FIG. 1;

【図4】図1の人物検出装置における動画での人物検出
処理を示すフローチャート
FIG. 4 is a flowchart showing a person detection process in a moving image in the person detection device of FIG. 1;

【図5】図1の人物検出装置における検索対象の画像に
おける領域分割処理を示す説明図
FIG. 5 is an explanatory diagram showing an area dividing process in an image to be searched in the person detection device in FIG.

【図6】図1の人物検出装置による人物の検出処理を示
す説明図
FIG. 6 is an explanatory diagram illustrating a person detection process performed by the person detection device of FIG. 1;

【図7】図1の人物検出装置による人物の検出処理を図
6に続いて示す説明図
FIG. 7 is an explanatory diagram showing a detection process of a person by the person detection device of FIG. 1 subsequent to FIG. 6;

【図8】従来の人物検出装置の構成を示すブロック図FIG. 8 is a block diagram showing a configuration of a conventional person detection device.

【図9】図8の人物検出装置による人物検出の処理過程
を示すフローチャート
FIG. 9 is a flowchart showing a process of detecting a person by the person detecting apparatus of FIG. 8;

【符号の説明】[Explanation of symbols]

1 中央処理装置 2 表示装置 3 入力装置 4 主記憶装置 5 二次記憶装置 6 色変換部 7 領域分割処理部 8 領域内データ部 9 スキャン部 10 領域境界チェック部 11 キー画像データ部 12 検索対象画像データ部 13 シーン検出部 14 マッチング部 15 表示部 REFERENCE SIGNS LIST 1 Central processing unit 2 Display device 3 Input device 4 Main storage device 5 Secondary storage device 6 Color conversion unit 7 Area division processing unit 8 In-area data unit 9 Scanning unit 10 Area boundary check unit 11 Key image data unit 12 Search target image Data section 13 Scene detection section 14 Matching section 15 Display section

フロントページの続き Fターム(参考) 5B050 AA09 BA12 DA04 EA08 EA09 FA02 FA05 5B057 AA01 BA02 CA01 CA08 CB01 CB08 CB11 CB12 CC01 CE16 DA08 DB02 DB06 DB09 DC14 DC19 DC25 DC32 5L096 AA02 AA06 BA02 CA02 DA01 EA37 FA35 FA45 GA19 GA34 GA40 GA41 HA02 Continued on the front page F-term (reference) 5B050 AA09 BA12 DA04 EA08 EA09 FA02 FA05 5B057 AA01 BA02 CA01 CA08 CB01 CB08 CB11 CB12 CC01 CE16 DA08 DB02 DB06 DB09 DC14 DC19 DC25 DC32 5L096 AA02 AA06 BA02 CA02 DA45

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】検出する人物が写った画像をキー画像とし
て指定し、 前記キー画像の顔領域および服装領域の色相ヒストグラ
ムを検索データとして確保し、 読み込まれた検索対象画像について領域分割処理を行っ
て領域毎の色相ヒストグラムを確保し、 前記検索対象画像を上下2方向からスキャン処理を行
い、前記顔領域の色相ヒストグラムに類似した色相ヒス
トグラムを有する第1の領域および服装領域の色相ヒス
トグラムに類似した色相ヒストグラムを有する第2の領
域を求め、 前記第1の領域と前記第2の領域とが相互に近接した上
下の位置関係にあるときに、これを検出対象の人物とす
ることを特徴とする人物検出方法。
An image including a person to be detected is designated as a key image, hue histograms of a face region and a clothing region of the key image are secured as search data, and a region division process is performed on the read search target image. The hue histogram of each area is secured, and the search target image is scanned from the upper and lower two directions, and the hue histogram of the first area and the hue histogram of the clothes area similar to the hue histogram of the face area are obtained. A second area having a hue histogram is obtained, and when the first area and the second area are in a vertical positional relationship close to each other, this is set as a detection target person. Person detection method.
【請求項2】動画において画像全体の色相ヒストグラム
が急激に変化するフレームを前記検索対象画像とするこ
とを特徴とする請求項1記載の人物検出方法。
2. The method according to claim 1, wherein a frame in which the hue histogram of the whole image changes rapidly in the moving image is used as the search target image.
JP10194013A 1998-07-09 1998-07-09 Person detecting method Pending JP2000030033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10194013A JP2000030033A (en) 1998-07-09 1998-07-09 Person detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10194013A JP2000030033A (en) 1998-07-09 1998-07-09 Person detecting method

Publications (1)

Publication Number Publication Date
JP2000030033A true JP2000030033A (en) 2000-01-28

Family

ID=16317511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10194013A Pending JP2000030033A (en) 1998-07-09 1998-07-09 Person detecting method

Country Status (1)

Country Link
JP (1) JP2000030033A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268657A (en) * 2000-03-21 2001-09-28 Nippon Telegr & Teleph Corp <Ntt> Method and device for remote monitoring, and recording medium with remote monitoring program recorded thereon
JP2007042072A (en) * 2005-07-05 2007-02-15 Omron Corp Tracking apparatus
JP2009146026A (en) * 2007-12-12 2009-07-02 Fujitsu Ltd State change decision method of facing person of robot, information processor and program
JP2009199322A (en) * 2008-02-21 2009-09-03 Hitachi Kokusai Electric Inc Monitoring system, and person retrieval method
KR100968244B1 (en) * 2008-01-28 2010-07-06 고려대학교 산학협력단 System for recognizing a specific subject in image and Method thereof
WO2011046128A1 (en) * 2009-10-16 2011-04-21 日本電気株式会社 Clothing feature extraction device, person retrieval device, and processing method thereof
EP2410467A1 (en) 2010-07-23 2012-01-25 Nederlandse Organisatie voor toegepast -natuurwetenschappelijk onderzoek TNO System and method for identifying image locations showing the same person in different images
WO2019105163A1 (en) * 2017-11-28 2019-06-06 深圳市商汤科技有限公司 Target person search method and apparatus, device, program product and medium
US20190188486A1 (en) * 2012-09-28 2019-06-20 Nec Corporation Information processing apparatus, information processing method, and information processing program

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268657A (en) * 2000-03-21 2001-09-28 Nippon Telegr & Teleph Corp <Ntt> Method and device for remote monitoring, and recording medium with remote monitoring program recorded thereon
JP2007042072A (en) * 2005-07-05 2007-02-15 Omron Corp Tracking apparatus
JP2009146026A (en) * 2007-12-12 2009-07-02 Fujitsu Ltd State change decision method of facing person of robot, information processor and program
KR100968244B1 (en) * 2008-01-28 2010-07-06 고려대학교 산학협력단 System for recognizing a specific subject in image and Method thereof
JP2009199322A (en) * 2008-02-21 2009-09-03 Hitachi Kokusai Electric Inc Monitoring system, and person retrieval method
US8891880B2 (en) 2009-10-16 2014-11-18 Nec Corporation Person clothing feature extraction device, person search device, and processing method thereof
WO2011046128A1 (en) * 2009-10-16 2011-04-21 日本電気株式会社 Clothing feature extraction device, person retrieval device, and processing method thereof
JP5664553B2 (en) * 2009-10-16 2015-02-04 日本電気株式会社 Person clothes feature extraction device, person search device, person clothes feature extraction method, person search method, and program
US9495754B2 (en) 2009-10-16 2016-11-15 Nec Corporation Person clothing feature extraction device, person search device, and processing method thereof
EP2410467A1 (en) 2010-07-23 2012-01-25 Nederlandse Organisatie voor toegepast -natuurwetenschappelijk onderzoek TNO System and method for identifying image locations showing the same person in different images
WO2012011817A1 (en) 2010-07-23 2012-01-26 Nederlandse Organisatie Voor Toegepast-Natuurwetenschappelijk Onderzoek Tno System and method for identifying image locations showing the same person in different images
US9275299B2 (en) 2010-07-23 2016-03-01 Nederlandse Organisatie Voor Toegepast-Natuurwetenschappelijk Onderzoek Tno System and method for identifying image locations showing the same person in different images
US20190188486A1 (en) * 2012-09-28 2019-06-20 Nec Corporation Information processing apparatus, information processing method, and information processing program
US11816897B2 (en) * 2012-09-28 2023-11-14 Nec Corporation Information processing apparatus, information processing method, and information processing program
WO2019105163A1 (en) * 2017-11-28 2019-06-06 深圳市商汤科技有限公司 Target person search method and apparatus, device, program product and medium
US10891465B2 (en) 2017-11-28 2021-01-12 Shenzhen Sensetime Technology Co., Ltd. Methods and apparatuses for searching for target person, devices, and media

Similar Documents

Publication Publication Date Title
KR101971866B1 (en) Method and apparatus for detecting object in moving image and storage medium storing program thereof
US9495754B2 (en) Person clothing feature extraction device, person search device, and processing method thereof
KR100480781B1 (en) Method of extracting teeth area from teeth image and personal identification method and apparatus using teeth image
US8254630B2 (en) Subject extracting method and device by eliminating a background region using binary masks
US8144207B2 (en) Computer program product for photographic subject tracking, photographic subject tracking device, and camera
US6542625B1 (en) Method of detecting a specific object in an image signal
JP4373840B2 (en) Moving object tracking method, moving object tracking program and recording medium thereof, and moving object tracking apparatus
CN103996046B (en) The personal identification method merged based on many visual signatures
US20060039605A1 (en) Method and apparatus for recognition of character string in scene image
JP2000082147A (en) Method for detecting human face and device therefor and observer tracking display
JP2012088787A (en) Image processing device, image processing method
KR101177626B1 (en) Object checking apparatus and method
JP4764172B2 (en) Method for detecting moving object candidate by image processing, moving object detecting method for detecting moving object from moving object candidate, moving object detecting apparatus, and moving object detecting program
KR101329138B1 (en) Imaging system, apparatus and method of discriminative color features extraction thereof
KR101471204B1 (en) Apparatus and method for detecting clothes in image
US8311269B2 (en) Blocker image identification apparatus and method
JP2000030033A (en) Person detecting method
JP2011146827A (en) Unit and method for processing image, and program
JPH09130714A (en) Image information extracting device and method
JP2005309740A (en) Method and program for tracking moving body, recording medium therefor, and moving body tracking apparatus
KR20190001873A (en) Apparatus for searching object and method thereof
JP3230509B2 (en) Moving image processing device
Ekin et al. Spatial detection of TV channel logos as outliers from the content
JP3421456B2 (en) Image processing device
JPH10247246A (en) Object detection method