JP2013148989A - Scan window size determination device, detection frame size histogram information acquisition device, and scan window size determination method - Google Patents

Scan window size determination device, detection frame size histogram information acquisition device, and scan window size determination method Download PDF

Info

Publication number
JP2013148989A
JP2013148989A JP2012007621A JP2012007621A JP2013148989A JP 2013148989 A JP2013148989 A JP 2013148989A JP 2012007621 A JP2012007621 A JP 2012007621A JP 2012007621 A JP2012007621 A JP 2012007621A JP 2013148989 A JP2013148989 A JP 2013148989A
Authority
JP
Japan
Prior art keywords
detection frame
scan window
size
frame size
window size
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
JP2012007621A
Other languages
Japanese (ja)
Inventor
Hajime Tamura
一 田村
Katsunori Waratani
克則 藁谷
Hirobumi Fujii
博文 藤井
Takeshi Watanabe
偉志 渡邊
Yuichi Matsumoto
裕一 松本
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 JP2012007621A priority Critical patent/JP2013148989A/en
Publication of JP2013148989A publication Critical patent/JP2013148989A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To determine a scan window size when an object such as a person is detected from an image photographed with a monitoring camera according to the size of the person or the like photographed with the monitoring camera.SOLUTION: Based on a detection frame size histogram information storage part 103 which holds statistical information on detection frame size for every plurality of areas of an image divided into the plurality of areas, and the statistical information stored in the detection frame size histogram information storage part 103, a scan window size of the areas is determined to prevent erroneous detection.

Description

本発明は、静止画物体検出において、入力画像を幾つかの領域に分割し、予め領域毎に取得した検出枠サイズヒストグラム情報を用いて静止画物体検出のスキャンウィンドウサイズを決定するスキャンウィンドウサイズ決定装置およびスキャンウィンドウサイズ決定方法、および予め取得した前記検出枠サイズヒストグラム情報を用いて誤検出を除去する誤検出除去装置および誤検出除去方法に関するものである。   The present invention divides an input image into several regions in still image object detection, and determines a scan window size for determining a scan window size for still image object detection using detection frame size histogram information acquired for each region in advance. The present invention relates to an apparatus, a scan window size determination method, and a false detection removal apparatus and false detection removal method for removing false detection using the detection frame size histogram information acquired in advance.

静止画物体検出では、画像内の様々なサイズの物体を検出するために入力画像を複数回リサイズして検出処理を行う必要があるが、それに伴う処理時間の増加および誤検出の増加などの課題がある。これらの課題に対処するための従来手法として、オートフォーカス機能付きの撮像装置を使用した場合において、物体との合焦距離情報および画角情報に応じて入力画像内の物体サイズを推定し、入力画像の複数回リサイズ処理を行わず、推定した物体サイズを唯一のスキャンウィンドウサイズとして入力画像全体に静止画物体検出処理を施すスキャンウィンドウサイズ決定装置およびスキャンウィンドウサイズ決定方法がある。これにより、従来手法では処理を高速化、さらに想定される物体サイズとは異なるサイズの誤検出を抑制していた。   In still image object detection, in order to detect objects of various sizes in the image, it is necessary to resize the input image multiple times and perform detection processing. However, there are problems such as increased processing time and increased false detection. There is. As a conventional method for dealing with these problems, when an imaging device with an autofocus function is used, the object size in the input image is estimated and input according to the focus distance information and the angle of view information on the object. There are a scan window size determination apparatus and a scan window size determination method that perform still image object detection processing on the entire input image without performing resize processing of an image multiple times and using an estimated object size as the only scan window size. As a result, the conventional method increases the processing speed and suppresses erroneous detection of a size different from the assumed object size.

特開2006−025238号公報JP 2006-025238 A

しかしながら、従来のスキャンウィンドウサイズ決定装置およびスキャンウィンドウサイズ決定方法は、物体との唯一の合焦距離を用いるため、被写界深度が深い(合焦距離に幅がある)パンフォーカス監視カメラ等を用いた場合に最適なスキャンウィンドウサイズが得られないという課題があった。   However, since the conventional scan window size determination apparatus and scan window size determination method use only the in-focus distance with the object, a pan-focus monitoring camera having a deep depth of field (the in-focus distance is wide), etc. When used, there is a problem that an optimal scan window size cannot be obtained.

また、複数回リサイズ処理を行わず、推定した唯一のスキャンウィンドウサイズで物体検出処理を行うため、合焦した物体以外の物体の検出性能が低下するという課題があった。   Further, since the object detection process is performed with the estimated single scan window size without performing the resizing process a plurality of times, there is a problem that the detection performance of an object other than the focused object is deteriorated.

本発明のスキャンウィンドウサイズ決定装置は、複数の領域に分割された画像の前記領域毎の検出枠サイズの統計情報を保持する検出枠サイズヒストグラム情報記憶部と、前記検出枠サイズヒストグラム情報記憶部に記憶された前記統計情報に基づき、前記領域のスキャンウィンドウサイズを決定するスキャンウィンドウサイズ決定部とを備えている。   The scan window size determining apparatus according to the present invention includes a detection frame size histogram information storage unit that holds statistical information of a detection frame size for each region of an image divided into a plurality of regions, and a detection frame size histogram information storage unit. A scan window size determining unit that determines a scan window size of the area based on the stored statistical information.

上記構成によれば、分割された画像の領域毎に、最適なスキャンウィンドウサイズを決定することができるので、不要な大きさのスキャンウィンドウサイズで物体を検出する必要がなく、静止画物体検出処理の高速化を望むことができる。   According to the above configuration, since an optimum scan window size can be determined for each divided image area, there is no need to detect an object with an unnecessary scan window size, and still image object detection processing is performed. It can be desired to speed up.

また、本発明のスキャンウィンドウサイズ決定装置は、画像を入力する画像入力部と、物体検出部とを有し、前記画像入力部は、前記入力画像を前記複数の領域に分割し、前記物体検出部は、前記スキャンウィンドウサイズ決定部によって前記複数の領域毎に決定されたスキャンウィンドウサイズを用いて、前記複数の領域毎に物体を検出することを特徴としている。   The scan window size determining apparatus of the present invention includes an image input unit that inputs an image and an object detection unit, and the image input unit divides the input image into the plurality of regions, and detects the object. The unit is characterized in that an object is detected for each of the plurality of regions using the scan window size determined for each of the plurality of regions by the scan window size determining unit.

上記構成によれば、同様に、分割された画像の領域毎に、スキャンウィンドウサイズを決定することができるので、不要な大きさのスキャンウィンドウサイズで物体を検出する必要がなく、静止画物体検出処理の高速化を望むことができる。   According to the above configuration, similarly, since the scan window size can be determined for each divided image area, there is no need to detect an object with an unnecessary scan window size, and still image object detection is performed. It is possible to increase the processing speed.

さらに、本発明のスキャンウィンドウサイズ決定装置は、前記検出枠サイズヒストグラム情報は、前記領域毎に物体が検出されたときの検出枠サイズの平均値と分散であることを特徴としている。   Furthermore, the scan window size determining apparatus of the present invention is characterized in that the detection frame size histogram information is an average value and variance of detection frame sizes when an object is detected for each region.

上記構成によれば、検出枠サイズヒストグラム情報を元に、前記複数の領域毎のスキャンウィンドウサイズを決定することができる。   According to the above configuration, the scan window size for each of the plurality of regions can be determined based on the detection frame size histogram information.

さらに、本発明のスキャンウィンドウサイズ決定装置は、前記スキャンウィンドウサイズ決定部は、前記統計情報から重み付きサンプリングを用いてスキャンウィンドウサイズを決定することを特徴としている。   Furthermore, the scan window size determining apparatus of the present invention is characterized in that the scan window size determining unit determines the scan window size using weighted sampling from the statistical information.

上記構成によれば、統計情報から重み付きサンプリングを用いてスキャンウィンドウサイズを決定することができる。   According to the above configuration, the scan window size can be determined from the statistical information using weighted sampling.

さらに、本願に係る検出枠サイズヒストグラム情報記憶部に記憶する検出枠サイズの統計情報を生成する検出枠サイズヒストグラム情報取得装置は、入力した画像を複数の領域に分割する画像入力部と、複数のスキャンウィンドウサイズを用いて前記入力画像中の物体を検出する物体検出部と、前記物体検出部によって物体が検出されたとき、得られた物体検出枠の重心が位置する前記領域の前記検出枠サイズヒストグラムに対して前記検出枠の検出枠サイズの投票を行う検出枠サイズヒストグラム投票部とを有している。   Furthermore, the detection frame size histogram information acquisition device for generating statistical information of the detection frame size stored in the detection frame size histogram information storage unit according to the present application includes: an image input unit that divides an input image into a plurality of regions; An object detection unit that detects an object in the input image using a scan window size; and the detection frame size of the region where the center of gravity of the obtained object detection frame is located when the object detection unit detects the object A detection frame size histogram voting unit for voting the detection frame size of the detection frame with respect to the histogram.

この構成により、スキャンウィンドウサイズ決定装置に用いる統計情報を、画像内の分割した領域毎に取得することができる。   With this configuration, statistical information used in the scan window size determining apparatus can be acquired for each divided region in the image.

さらに、本願に係るスキャンウィンドウサイズ決定装置は、複数の領域に分割された画像の前記領域毎の検出枠サイズの統計情報を保持する検出枠サイズヒストグラム情報記憶部と、複数のスキャンウィンドウサイズを用いて前記入力画像中の物体を検出する物体検出部と、前記物体検出部が物体を検出したとき、得られた物体検出枠の重心が位置する前記領域の前記検出枠サイズヒストグラムを用いて、前記物体検出枠が誤検出か否かを判定する誤検出除去部とを有している。   Furthermore, the scan window size determining apparatus according to the present application uses a detection frame size histogram information storage unit that holds statistical information of a detection frame size for each of the regions divided into a plurality of regions, and a plurality of scan window sizes. An object detection unit that detects an object in the input image, and when the object detection unit detects an object, the detection frame size histogram of the region where the center of gravity of the obtained object detection frame is located, And an erroneous detection removal unit that determines whether or not the object detection frame is erroneously detected.

この構成により、物体を検出するとき、入力画像中の各領域で統計的に検出されにくい物体検出枠サイズを有する物体検出枠を誤検出として除去することができる。   With this configuration, when an object is detected, an object detection frame having an object detection frame size that is difficult to detect statistically in each region in the input image can be removed as a false detection.

本発明によれば、入力画像から物体を検出する際に、入力画像を分割した領域毎に、検出枠サイズを決定できるので、検出枠の大きさを様々に変えて検出する際、実際にはその領域に存在しない検出枠で検出する無駄がなく、分割した領域には存在しない物体が検出されたとき、誤検出として判定することができる。   According to the present invention, when detecting an object from an input image, the detection frame size can be determined for each region into which the input image is divided. Therefore, when detecting by changing the size of the detection frame in various ways, When there is no waste in detecting with a detection frame that does not exist in the area, and an object that does not exist in the divided area is detected, it can be determined as a false detection.

本発明の実施の形態1に係るスキャンウィンドウサイズ決定装置の概略構成を示すブロック図1 is a block diagram showing a schematic configuration of a scan window size determining apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1に係る検出枠サイズヒストグラム情報取得装置を示すブロック図FIG. 1 is a block diagram showing a detection frame size histogram information acquisition apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1に係るスキャンウィンドウサイズ決定装置の制御を示すフローチャートThe flowchart which shows control of the scan window size determination apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る検出枠サイズヒストグラム情報取得装置の制御を示すフローチャートThe flowchart which shows control of the detection frame size histogram information acquisition apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るヒストグラムの説明図Explanatory drawing of the histogram which concerns on Embodiment 1 of this invention 本発明の実施の形態1に係るスキャンウィンドウサイズ決定措置を用いた静止物体検出の説明図Explanatory drawing of a stationary object detection using the scan window size determination measure which concerns on Embodiment 1 of this invention 本発明の実施の形態1に係る重み付けサンプリングによるスキャンウィンドウサイズ選択ステップの説明図Explanatory drawing of the scan window size selection step by weighted sampling according to Embodiment 1 of the present invention. 本発明の実施の形態1に係る検出枠サイズヒストグラムの計上に応じた重み付けサンプリングの説明図Explanatory drawing of the weighted sampling according to calculation of the detection frame size histogram which concerns on Embodiment 1 of this invention 本発明の実施の形態1に係る検出枠サイズヒストグラム情報取得装置の説明図Explanatory drawing of the detection frame size histogram information acquisition apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係る誤検出除去装置の概略構成を示すブロック図The block diagram which shows schematic structure of the false detection removal apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る誤検出除去装置の制御を示すフローチャートThe flowchart which shows control of the false detection removal apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る誤検出除去装置の動作説明図Operation explanatory diagram of the false detection removal device according to Embodiment 2 of the present invention

以下、本発明を実施するための好適な実施の形態について、図面を参照して詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments for carrying out the invention will be described in detail with reference to the drawings.

(実施の形態1)
以下本発明の実施の形態1について、図面を参照しながら説明する。
(Embodiment 1)
Embodiment 1 of the present invention will be described below with reference to the drawings.

図1は、本発明の実施の形態1に係るスキャンウィンドウサイズ決定装置の概略構成を示すブロック図である。本実施の形態に係るスキャンウィンドウサイズ決定装置101は、通常のコンピュータを用いた構成としている。即ち、CPU、RAM等の揮発性メモリ、ROM等の不揮発性メモリ、およびハードディスクまたはSSD(Solid State Drive)等の大容量記憶装置等を備えたコンピュータによって構成している。なお、コンピュータを用いた構成以外に専用のハード構成としてもよいことはいうまでもない。   FIG. 1 is a block diagram showing a schematic configuration of a scan window size determining apparatus according to Embodiment 1 of the present invention. The scan window size determining apparatus 101 according to the present embodiment is configured using a normal computer. That is, it is configured by a computer including a volatile memory such as a CPU and a RAM, a nonvolatile memory such as a ROM, and a large-capacity storage device such as a hard disk or an SSD (Solid State Drive). Needless to say, a dedicated hardware configuration other than the configuration using the computer may be used.

図1において、本発明の実施の形態1に係るスキャンウィンドウサイズ決定装置101は、画像入力部102と、検出枠サイズヒストグラム情報記憶部103と、スキャンウィンドウサイズ決定部104と、領域物体検出部105とを備える。   In FIG. 1, a scan window size determining apparatus 101 according to Embodiment 1 of the present invention includes an image input unit 102, a detection frame size histogram information storage unit 103, a scan window size determining unit 104, and an area object detecting unit 105. With.

画像入力部102は、入力された画像を任意の個数の領域に分割する。検出枠サイズヒストグラム情報記憶部103は、複数の個数に分割された画像の領域毎に、検出枠サイズのヒストグラムを記憶している。スキャンウィンドウサイズ決定部104は、検出枠サイズヒストグラム情報記憶部103から読み込んだ各領域の検出枠サイズヒストグラムに対して、重み付きサンプリングで領域毎に任意の個数のスキャンウィンドウサイズを抽出する。領域物体検出部105は、スキャンウィンドウサイズ決定部104で領域毎に抽出された任意の個数のスキャンウィンドウサイズを用いて各領域に静止画物体検出処理を施す。   The image input unit 102 divides the input image into an arbitrary number of regions. The detection frame size histogram information storage unit 103 stores a histogram of detection frame size for each region of the image divided into a plurality of numbers. The scan window size determination unit 104 extracts an arbitrary number of scan window sizes for each region by weighted sampling with respect to the detection frame size histogram of each region read from the detection frame size histogram information storage unit 103. The area object detection unit 105 performs still image object detection processing on each area using an arbitrary number of scan window sizes extracted for each area by the scan window size determination unit 104.

図2は、検出枠サイズヒストグラム情報記憶部103に記憶するヒストグラム情報を取得する、検出枠サイズヒストグラム情報取得装置201を示している。   FIG. 2 shows a detection frame size histogram information acquisition apparatus 201 that acquires histogram information stored in the detection frame size histogram information storage unit 103.

検出枠サイズヒストグラム情報取得装置201は、画像入力部102、画面物体検出部202と、検出枠サイズヒストグラム投票部203と、検出枠サイズヒストグラム情報記憶部103とを備えるが、画像入力部102と検出枠サイズヒストグラム情報記憶部103は、図1のスキャンウィンドウ決定装置のものと同じである。   The detection frame size histogram information acquisition apparatus 201 includes an image input unit 102, a screen object detection unit 202, a detection frame size histogram voting unit 203, and a detection frame size histogram information storage unit 103. The frame size histogram information storage unit 103 is the same as that of the scan window determination apparatus of FIG.

画像入力部102は、入力された画像を任意の個数の領域に分割する。画面物体検出部202は、画像入力部102で入力された入力画像に対して、予め指定されたスタートスケール、スケール倍率、リサイズ回数で、入力画像全体にわたって静止画物体検出処理を施し、入力画像内の所望の物体を検出する。検出枠サイズヒストグラム投票部203は、画面物体検出部202で得られた物体検出枠の重心が属する領域を求め、その領域固有の検出枠サイズヒストグラムに画面物体検出部202で得られた物体検出枠のサイズを投票する。検出枠サイズヒストグラム情報記憶部103は、入力画像全体に対して画面物体検出部202および検出枠サイズヒストグラム投票部203の処理が完了した後に、各領域の検出枠サイズヒストグラム、およびその平均値、標準偏差を記憶する。   The image input unit 102 divides the input image into an arbitrary number of regions. The screen object detection unit 202 performs still image object detection processing on the entire input image with a predetermined start scale, scale magnification, and number of resizings on the input image input by the image input unit 102, The desired object is detected. The detection frame size histogram voting unit 203 obtains a region to which the center of gravity of the object detection frame obtained by the screen object detection unit 202 belongs, and the object detection frame obtained by the screen object detection unit 202 in the detection frame size histogram unique to that region. Vote for size. The detection frame size histogram information storage unit 103, after the processing of the screen object detection unit 202 and the detection frame size histogram voting unit 203 is completed for the entire input image, the detection frame size histogram of each region, its average value, standard Memorize the deviation.

図3は、本発明の実施の形態1に係るスキャンウィンドウサイズ決定装置101の制御を示すフローチャートである。   FIG. 3 is a flowchart showing the control of the scan window size determining apparatus 101 according to the first embodiment of the present invention.

パラメータ設定ステップS301は入力画像を分割する領域の個数・大きさ、および各領域の検出枠サイズヒストグラムからの検出枠サイズサンプリング個数nなどを規定し、ステップS302に進む。   In parameter setting step S301, the number and size of areas into which the input image is divided, the detection frame size sampling number n from the detection frame size histogram of each area, and the like are defined, and the process proceeds to step S302.

画像入力ステップS302は画像を入力する。この際、入力画像はステップS301で規定された領域に分割され、ステップS303に進む。   An image input step S302 inputs an image. At this time, the input image is divided into regions defined in step S301, and the process proceeds to step S303.

検出領域変更ステップS303はステップS301で規定された画像内の各領域の中で静止画物体検出処理を施す領域を変更し、ステップS304に進む。   In the detection area changing step S303, an area to be subjected to the still image object detection process is changed in each area in the image defined in step S301, and the process proceeds to step S304.

検出枠サイズヒストグラム情報読み込みステップS304はステップS303で規定された検出領域の検出枠サイズヒストグラム情報を読み込み、ステップS305に進む。   In the detection frame size histogram information reading step S304, the detection frame size histogram information of the detection area defined in step S303 is read, and the process proceeds to step S305.

重み付きサンプリングによるスキャンウィンドウサイズ選択ステップS305はステップS303で規定された注目領域の検出枠サイズヒストグラムに対して、各検出枠サイズの出現確率に基づく重み付きサンプリングにより、ステップS301で規定された検出枠サイズサンプリング個数n個のスキャンウィンドウサイズを選択し、ステップS306に進む。   In the scan window size selection step S305 by weighted sampling, the detection frame defined in step S301 is performed by weighted sampling based on the appearance probability of each detection frame size with respect to the detection frame size histogram of the attention area defined in step S303. A scan window size of size sampling number n is selected, and the process proceeds to step S306.

スキャンウィンドウサイズ変更ステップS306はステップS303で規定された検出領域をスキャンするためのスキャンウィンドウサイズを、ステップS305で規定されたn個のスキャンウィンドウサイズの中から1つ選択し、ステップS307に進む。   In the scan window size changing step S306, one scan window size for scanning the detection region defined in step S303 is selected from the n scan window sizes defined in step S305, and the process proceeds to step S307.

スキャン位置変更ステップS307はステップS303で規定された検出領域において、ラスタスキャンする際のスキャンウィンドウの位置を規定し、ステップS308に進む。物体検出ステップS308はステップS303で規定された検出領域内のステップS307で規定されたスキャン位置に対して、ステップS306で規定されたスキャンウィンドウサイズを用いて静止画物体検出処理を施し、ステップS309に進む。   In the scan position changing step S307, the position of the scan window for raster scanning is defined in the detection region defined in step S303, and the process proceeds to step S308. In the object detection step S308, a still image object detection process is performed on the scan position defined in step S307 within the detection area defined in step S303 using the scan window size defined in step S306, and the process proceeds to step S309. move on.

検出領域スキャン完了判定ステップS309はステップS306で規定されたスキャンウィンドウサイズを用いて、ステップS303で規定された検出領域全体をスキャン完了したか否かを判定する。 スキャンが完了した場合はステップS310に進み、完了していない場合はステップS307に進み、スキャン位置を変更する。   In the detection area scan completion determination step S309, it is determined whether the entire detection area defined in step S303 has been scanned using the scan window size defined in step S306. If the scan is completed, the process proceeds to step S310. If the scan is not completed, the process proceeds to step S307 to change the scan position.

全スキャンウィンドウサイズ使用完了判定ステップS310はステップS303で規定された検出領域をステップS305で規定されたn個のスキャンウィンドウサイズを用いてスキャン完了したか否かを判定する。スキャンが完了した場合はステップS311に進み、完了していない場合はステップS306に進み、ステップS305で選択されたn個のスキャンウィンドウサイズの中から次に静止画物体検出処理を施すためのスキャンウィンドウサイズを選択する。   In step S310, the use of all scan window sizes is completed, it is determined whether the detection area defined in step S303 has been scanned using the n scan window sizes defined in step S305. If the scan is completed, the process proceeds to step S311. If the scan is not completed, the process proceeds to step S306, and the scan window for performing the still image object detection process next from the n scan window sizes selected in step S305. Select a size.

全領域スキャン完了判定ステップS311はステップS302で入力された画像全体をスキャンしたか否かを判定する。スキャンが完了した場合はステップS312に進み、完了していない場合はステップS303に進み、検出領域を変更する。   In the entire area scan completion determination step S311, it is determined whether or not the entire image input in step S302 has been scanned. If the scan is completed, the process proceeds to step S312, and if not completed, the process proceeds to step S303, and the detection area is changed.

検出枠表示ステップS312はステップS308で得られた物体検出枠を全て表示し、ステップS302に進む。なお、各ステップはコンピュータで実行可能なプログラムで記述されてもよい。   The detection frame display step S312 displays all the object detection frames obtained in step S308, and proceeds to step S302. Each step may be described by a program that can be executed by a computer.

図4は、本発明の実施の形態1に係る検出枠サイズヒストグラム情報取得装置の制御を示すフローチャートである。   FIG. 4 is a flowchart showing control of the detection frame size histogram information acquisition apparatus according to Embodiment 1 of the present invention.

パラメータ設定ステップS401は入力画像を分割する領域の個数・大きさ、および静止画物体検出処理のスタートスケール、スケール倍率、リサイズ回数などを規定し、ステップS402に進む。画像入力ステップS402は画像を入力する。この際、入力画像はステップS401で規定された領域に分割され、ステップS403に進む。スキャンウィンドウサイズ変更ステップS403は画面全体をラスタスキャンする際のスキャンウィンドウのサイズを規定し、ステップS404に進む。スキャン位置変更ステップS404はラスタスキャンする際のスキャンウィンドウの位置を規定し、ステップS405に進む。物体検出ステップS405はステップS403で規定されたスキャンウィンドウサイズを用いて、ステップS404で規定された位置に静止画物体検出処理を施す。物体が検出された場合はステップS406に進み、物体が検出されなかった場合はステップS408に進む。   In parameter setting step S401, the number and size of areas into which the input image is divided, the start scale of the still image object detection process, the scale magnification, the number of times of resizing, etc. are defined, and the process proceeds to step S402. An image input step S402 inputs an image. At this time, the input image is divided into regions defined in step S401, and the process proceeds to step S403. In scan window size changing step S403, the size of the scan window for raster scanning the entire screen is defined, and the flow proceeds to step S404. In the scan position changing step S404, the position of the scan window for raster scanning is defined, and the process proceeds to step S405. In the object detection step S405, the still image object detection process is performed at the position specified in step S404 using the scan window size specified in step S403. If an object is detected, the process proceeds to step S406. If an object is not detected, the process proceeds to step S408.

検出枠のサイズS取得・検出枠の重心位置C計算ステップS406はステップS405で得られた物体検出枠のサイズS、およびその物体検出枠の重心位置Cを計算し、ステップS407に進む。検出枠サイズヒストグラムへの投票ステップS407はステップS406で得られた物体検出枠の重心位置Cが属する領域の検出枠サイズヒストグラムにステップS406で得られた物体検出枠のサイズSを投票し、ステップS408に進む。   In the detection frame size S acquisition / detection frame centroid position C calculation step S406, the size S of the object detection frame obtained in step S405 and the centroid position C of the object detection frame are calculated, and the process proceeds to step S407. In the voting step S407 for the detection frame size histogram, the size S of the object detection frame obtained in step S406 is voted for the detection frame size histogram of the region to which the barycentric position C of the object detection frame obtained in step S406 belongs. Proceed to

画面全体走査完了判定ステップS408はステップS403で規定されたスキャンウィンドウサイズで画面全体を走査したか否かを判定する。画面全体を走査完了した場合はステップS409に進み、完了していない場合はステップS404に進み、ステップS403で規定されたスキャンウィンドウサイズを保持したままスキャン位置を変更する。   In step S408, the entire screen scan completion determination step determines whether the entire screen has been scanned with the scan window size defined in step S403. If the entire screen has been scanned, the process proceeds to step S409. If not completed, the process proceeds to step S404, and the scan position is changed while maintaining the scan window size defined in step S403.

指定リサイズ回数経過判定ステップS409はステップS401で設定された回数だけスキャンウィンドウサイズをリサイズしたか否かを判定する。指定回数リサイズした場合はステップS410に進み、していない場合はステップS403に進み、現状のスキャンウィンドウサイズにステップS410で設定されたスケール倍率を乗じ、スキャンウィンドウのサイズを変更する。   In the designated resizing count elapse determination step S409, it is determined whether or not the scan window size has been resized the number of times set in step S401. If the specified number of times has been resized, the process proceeds to step S410. If not, the process proceeds to step S403, and the current scan window size is multiplied by the scale factor set in step S410 to change the scan window size.

学習完了判定ステップS410は各領域の検出枠サイズヒストグラムへの投票(学習)が、十分であるか否かを判定する。各領域の検出枠サイズヒストグラムへの投票数が十分である場合はステップS411に進み、十分でない場合はステップS402に進み再度入力画像から物体を検出して、各領域の検出枠サイズヒストグラムへの投票数を増やす。   A learning completion determination step S410 determines whether or not voting (learning) for the detection frame size histogram of each region is sufficient. If the number of votes for the detection frame size histogram of each area is sufficient, the process proceeds to step S411. If not, the process proceeds to step S402, and an object is detected again from the input image, and the vote for the detection frame size histogram of each area is performed. Increase the number.

検出枠サイズヒストグラム記憶ステップS411は各領域の検出枠サイズヒストグラム、およびその平均値、標準偏差を記憶する。なお、各ステップはコンピュータで実行可能なプログラムで記述されてもよい。   The detection frame size histogram storage step S411 stores the detection frame size histogram of each region, its average value, and standard deviation. Each step may be described by a program that can be executed by a computer.

次に、図2で説明した検出枠サイズヒストグラム情報取得装置が生成する検出枠サイズヒストグラム情報の生成について、図5を用いて説明する。   Next, generation of detection frame size histogram information generated by the detection frame size histogram information acquisition apparatus described in FIG. 2 will be described with reference to FIG.

図5は、本発明の実施の形態1に係るヒストグラムの説明図を示している。この検出枠サイズヒストグラムは、ある撮像環境において、画像中の各領域にどれくらいの検出枠サイズを有する物体が、どの程度得られやすいかを表している。   FIG. 5 shows an explanatory diagram of the histogram according to the first embodiment of the present invention. This detection frame size histogram represents how easily an object having a detection frame size in each region in an image is easily obtained in a certain imaging environment.

次に図1で説明した、本発明の実施の形態1に係るスキャンウィンドウサイズ決定装置101を用いた静止画物体検出について図6を用いて説明する。なお、図6では静止画物体検出の検出対象となる物体として人物の上半身を採用している。   Next, still image object detection using the scan window size determining apparatus 101 according to Embodiment 1 of the present invention described in FIG. 1 will be described with reference to FIG. In FIG. 6, the upper body of a person is used as an object to be detected for still image object detection.

入力画像は画像入力部102によって図6の点線で示すように幾つかの領域に分割され(この場合は20個の領域に分割)、各領域には領域番号が付与される。各領域毎に、各検出枠サイズヒストグラムから所定の数の検出枠サイズが求めれ、その数を検出枠サイズサンプリング個数nとし、n=3と仮定する。そして、各領域の検出枠サイズヒストグラム情報が検出枠サイズヒストグラム情報記憶部103から読み込まれる。   The input image is divided into several areas (in this case, divided into 20 areas) by the image input unit 102 as indicated by dotted lines in FIG. 6, and an area number is assigned to each area. For each region, a predetermined number of detection frame sizes are obtained from each detection frame size histogram, and the number is assumed to be the detection frame size sampling number n, where n = 3. Then, detection frame size histogram information of each region is read from the detection frame size histogram information storage unit 103.

ここで領域N0.8に注目し、領域No.8が現在注目している検出領域であると仮定する。スキャンウィンドウサイズ決定部104は領域No.8の検出枠サイズヒストグラムに対して、各検出枠サイズの出現確率に基づく重み付きサンプリングにより3個のスキャンウィンドウサイズを選択する。なお、選択された3つのスキャンウィンドウサイズを降順にS3,1,S3,2,S3,3とする。   Here, paying attention to area N0.8, area No. Suppose that 8 is the detection region of interest. The scan window size determining unit 104 selects the area number. For the eight detection frame size histograms, three scan window sizes are selected by weighted sampling based on the appearance probability of each detection frame size. Note that the three selected scan window sizes are S3, 1, S3, 2, S3, 3 in descending order.

領域物体検出部105は領域No.8の周囲にマージンを付与した領域601に対して、選択された3つのスキャンウィンドウサイズ(S3,1,S3,2,S3,3)を用いて静止画物体検出処理を施す。   The area object detection unit 105 includes an area number. A still image object detection process is performed on a region 601 with a margin around 8 using three selected scan window sizes (S3, 1, S3, 2, S3, 3).

なお、601に対してスキャンウィンドウサイズをS3,1,S3,2,S3,3の順に大きくさせながら静止画物体検出処理を施すことは、スキャンウィンドウサイズを一定にして601を縮小させながら静止画物体検出処理を施すことと同義であり、図6は、後者の観点で描かれたものである。   Note that applying the still image object detection process while increasing the scan window size in the order of S3, 1, S3, 2, S3, 3 with respect to 601 means that the still image is reduced while reducing the 601 while keeping the scan window size constant. This is synonymous with the object detection processing, and FIG. 6 is drawn from the viewpoint of the latter.

このように予め、その撮像環境において取得した物体検出枠サイズの事前情報(検出枠サイズヒストグラム)を用いて、入力画像中の各領域で統計的に物体検出されやすいスキャンウィンドウサイズのみに絞って静止画物体検出処理を施すことで、処理の高速化、誤検出の抑制を期待できる。   In this way, by using the prior information (detection frame size histogram) of the object detection frame size acquired in the imaging environment in advance, only the scan window size that is statistically easy to detect an object in each area in the input image is stopped. By performing the image object detection process, it is possible to expect high-speed processing and suppression of erroneous detection.

図7は、本発明の実施の形態1に係る重み付きサンプリングによるスキャンウィンドウサイズ選択ステップの説明図である。   FIG. 7 is an explanatory diagram of a scan window size selection step by weighted sampling according to Embodiment 1 of the present invention.

検出枠サイズヒストグラム情報記憶部103から読み出した任意の領域の検出枠サイズヒストグラム701に関して、横軸は検出枠サイズ、縦軸は各検出枠サイズの出現確率、μは検出枠サイズの平均値、σは検出枠サイズの標準偏差を表している。   Regarding the detection frame size histogram 701 of an arbitrary region read from the detection frame size histogram information storage unit 103, the horizontal axis is the detection frame size, the vertical axis is the appearance probability of each detection frame size, μ is the average value of the detection frame sizes, σ Represents the standard deviation of the detection frame size.

μ±σの範囲内に含まれるスキャンウィンドウサイズ(S1,S2,S3,S4)に対して、出現確率に基づく重み付きサンプリングを施し、n個のスキャンウィンドウを選択する。   Weighted sampling based on the appearance probability is performed on the scan window sizes (S1, S2, S3, S4) included in the range of μ ± σ, and n scan windows are selected.

重み付きサンプリングを実現するための手段として、ルーレット法が挙げられる。702はμ±σの範囲内に含まれるスキャンウィンドウサイズ(S1,S2,S3,S4)出現確率の円グラフを表しており、ルーレット法とは、この円グラフ上でルーレットを回し、ルーレットが止まった領域のスキャンウィンドウサイズを選択することと同義である。つまり、702の円グラフにおいて、面積が大きい(出現確率が大きい)スキャンウィンドウサイズほど重み付きサンプリングで選択される確率が高くなる。ルーレット法の他にも、例えば等間隔サンプリング、マルコフ連鎖モンテカルロ法(MCMC: MARKOV CHAIN MONTE CARLO)などを用いてもよい。   As a means for realizing weighted sampling, a roulette method can be mentioned. Reference numeral 702 represents a pie chart of the appearance probability of the scan window size (S1, S2, S3, S4) included in the range of μ ± σ. In the roulette method, the roulette is stopped by rotating the roulette on the pie chart. This is equivalent to selecting the scan window size of the selected area. That is, in the 702 pie chart, the larger the scan window size (the greater the appearance probability), the higher the probability of being selected by weighted sampling. In addition to the roulette method, for example, equidistant sampling, Markov chain Monte Carlo method (MCMC: MARKOV CHAIN MONTE CARLO), or the like may be used.

図8は、本発明の実施の形態1に係る検出枠サイズヒストグラムの形状に応じた重み付きサンプリングの説明図である。検出枠サイズヒストグラム情報記憶部103から読み出した任意の領域の検出枠サイズヒストグラムが凸な場合を801に、平坦な場合を802に示す。   FIG. 8 is an explanatory diagram of weighted sampling according to the shape of the detection frame size histogram according to Embodiment 1 of the present invention. A case where the detection frame size histogram of an arbitrary region read from the detection frame size histogram information storage unit 103 is convex is indicated by 801, and a case where the detection frame size histogram is flat is indicated by 802.

801,802共に横軸は検出枠サイズ、縦軸は各検出枠サイズの出現確率、μは検出枠サイズの平均値、σは検出枠サイズの標準偏差を表している。なお、各検出枠サイズヒストグラムからの検出枠サイズサンプリング個数nをn=3と仮定する。   In both 801 and 802, the horizontal axis represents the detection frame size, the vertical axis represents the appearance probability of each detection frame size, μ represents the average value of the detection frame sizes, and σ represents the standard deviation of the detection frame sizes. It is assumed that the detection frame size sampling number n from each detection frame size histogram is n = 3.

801に示すように検出枠サイズヒストグラムが凸な場合、μ±σの範囲内に含まれるスキャンウィンドウサイズが3個未満になる場合や、重み付きサンプリングによって選択されたスキャンウィンドウサイズが3個未満になる場合がある。この場合、予め指定されたスキャンウィンドウサイズは3個であっても、最終的に選択された3個未満のスキャンウィンドウサイズを採用する。   When the detection frame size histogram is convex as shown in 801, the scan window size included in the range of μ ± σ is less than 3, or the scan window size selected by weighted sampling is less than 3. There is a case. In this case, even if there are three scan window sizes designated in advance, a scan window size of less than three finally selected is adopted.

また、802に示すように検出枠サイズヒストグラムが平坦な場合、重み付きサンプリングによって選択された3個のスキャンウィンドウサイズを採用する。   Further, when the detection frame size histogram is flat as indicated by 802, three scan window sizes selected by weighted sampling are employed.

図9は、図2で説明した本発明の実施の形態1に係る検出枠サイズヒストグラム情報取得装置の説明図である。なお、図9では静止画物体検出の検出対象となる物体として人物の上半身を採用している。   FIG. 9 is an explanatory diagram of the detection frame size histogram information acquisition apparatus according to Embodiment 1 of the present invention described in FIG. In FIG. 9, the upper body of a person is used as an object to be detected for still image object detection.

入力画像は画像入力部102によって図9の点線で示すように幾つかの領域に分割され(この場合は20個の領域に分割)、各領域には領域番号が付与される。901および902はそれぞれ画面物体検出部202によって得られた物体検出枠であり、903および904はそれらの重心を表す。   The input image is divided into several areas (in this case, divided into 20 areas) by the image input unit 102 as indicated by dotted lines in FIG. 9, and an area number is assigned to each area. Reference numerals 901 and 902 denote object detection frames obtained by the screen object detection unit 202, and 903 and 904 denote the centers of gravity of the object detection frames.

この場合、903および904が属する領域番号はそれぞれNo.8およびNo.13となる。物体検出枠901の物体検出枠サイズをS8および検出枠902の検出枠サイズS13とすると、各領域の検出枠サイズヒストグラム投票部203はNo.8で表される領域の検出枠サイズヒストグラム905のS8のビン、およびNo.13で表される領域の検出枠サイズヒストグラム906のS13のビンに投票を行う。   In this case, the area numbers to which 903 and 904 belong are respectively No. 8 and no. 13 Assuming that the object detection frame size of the object detection frame 901 is S8 and the detection frame size S13 of the detection frame 902, the detection frame size histogram voting unit 203 of each area is No. S8 bin of the detection frame size histogram 905 of the area represented by 8; Voting is performed on the bin of S13 in the detection frame size histogram 906 of the area represented by 13.

全入力画像に対して画面物体検出部202および各領域の検出枠サイズヒストグラム投票部203の処理が終了した後に、各領域の検出枠サイズヒストグラム、およびその平均値、標準偏差を記憶する。   After the processing of the screen object detection unit 202 and the detection frame size histogram voting unit 203 for each region is completed for all input images, the detection frame size histogram of each region, its average value, and standard deviation are stored.

この場合、905は領域No.8ではスキャンウィンドウサイズS8有する物体が得られやすく、906は領域No.13ではスキャンウィンドウサイズS13を有する物体が得られやすいということを表しており、検出枠サイズヒストグラムはその撮像環境に係る検出枠サイズの事前情報を表している。   In this case, reference numeral 905 denotes an area number. 8 is easy to obtain an object having a scan window size S8. 13 indicates that an object having the scan window size S13 is easily obtained, and the detection frame size histogram indicates prior information on the detection frame size related to the imaging environment.

(実施の形態2)
本発明の実施の形態2では、実施の形態1と同様に検出枠サイズヒストグラムを用いる。そのため、本発明の実施の形態2に係る検出枠サイズヒストグラム情報取得装置および検出枠サイズヒストグラム情報取得方法に関する構成図、制御概略図、説明図は実施の形態1で述べたものに譲ることとする。
(Embodiment 2)
In the second embodiment of the present invention, a detection frame size histogram is used as in the first embodiment. Therefore, a configuration diagram, a control schematic diagram, and an explanatory diagram related to the detection frame size histogram information acquisition apparatus and the detection frame size histogram information acquisition method according to Embodiment 2 of the present invention are left to those described in Embodiment 1. .

図10は、本発明の実施の形態2に係る誤検出除去装置1001のブロック図である。   FIG. 10 is a block diagram of a false detection removal apparatus 1001 according to Embodiment 2 of the present invention.

図10において、画像入力部102および検出枠サイズヒストグラム情報記憶部103、領域物体検出部105は図1と同じであり、誤検出除去部1002は、領域物体検出部105で得られた物体検出枠が誤検出か否かを、検出枠サイズヒストグラム情報記憶部103参照して判別する。 In FIG. 10, the image input unit 102, the detection frame size histogram information storage unit 103, and the area object detection unit 105 are the same as those in FIG. 1, and the false detection removal unit 1002 is an object detection frame obtained by the area object detection unit 105. Is detected with reference to the detection frame size histogram information storage unit 103.

領域物体検出部105は、予め指定されたスタートスケール、スケール倍率、リサイズ回数で入力画像全体に対して静止画物体検出処理を施す。1002は誤検出除去部であり、各領域の検出枠サイズヒストグラム情報を基にして、領域物体検出部105で得られた物体検出枠の中から誤検出枠を除去する。   The area object detection unit 105 performs still image object detection processing on the entire input image with a start scale, scale magnification, and number of resizings specified in advance. Reference numeral 1002 denotes a false detection removal unit that removes false detection frames from the object detection frames obtained by the region object detection unit 105 based on the detection frame size histogram information of each region.

図11は、本発明の実施の形態2に係る誤検出除去装置のフローチャートである。パラメータ設定ステップS1101は入力画像を分割する領域の個数・大きさ、および静止画物体検出処理のスタートスケール、スケール倍率、リサイズ回数などを規定し、ステップS1102に進む。   FIG. 11 is a flowchart of the false detection removal apparatus according to Embodiment 2 of the present invention. In parameter setting step S1101, the number and size of regions into which the input image is divided and the start scale, scale magnification, resize count, etc. of the still image object detection process are defined, and the process proceeds to step S1102.

画像入力ステップS1102は画像を入力する。この際、入力画像はステップS1101で規定された領域に分割され、ステップS1103に進む。スキャンウィンドウサイズ変更ステップS1103は画面全体をラスタスキャンする際のスキャンウィンドウのサイズを規定し、ステップS1104に進む。   An image input step S1102 inputs an image. At this time, the input image is divided into regions defined in step S1101, and the process proceeds to step S1103. In scan window size changing step S1103, the size of the scan window for raster scanning the entire screen is defined, and the flow advances to step S1104.

スキャン位置変更ステップS1104はラスタスキャンする際のスキャンウィンドウの位置を規定し、ステップS1105に進む。物体検出ステップS1105はステップS1103で規定されたスキャンウィンドウサイズを用いて、ステップS1104で規定された位置に静止画物体検出処理を施す。物体が検出された場合はステップS1106に進み、物体が検出されなかった場合はステップS1110に進む。   In scan position changing step S1104, the position of the scan window at the time of raster scanning is defined, and the process proceeds to step S1105. In the object detection step S1105, the still image object detection process is performed on the position defined in step S1104 using the scan window size defined in step S1103. If an object is detected, the process proceeds to step S1106, and if no object is detected, the process proceeds to step S1110.

検出枠のサイズS取得・検出枠の重心位置C計算ステップS1106はステップS1105で得られた物体検出枠のサイズS、およびその重心位置Cを計算し、ステップS1107に進む。   The detection frame size S acquisition / detection frame centroid position C calculation step S1106 calculates the size S of the object detection frame obtained in step S1105 and the centroid position C thereof, and the process proceeds to step S1107.

検出枠サイズヒストグラム情報読み込みステップS1107はステップS1106で得られた検出枠の重心位置Cが属する領域の検出枠サイズヒストグラム情報(平均値μ、標準偏差σ)を読み込み、ステップS1108に進む。   The detection frame size histogram information reading step S1107 reads the detection frame size histogram information (average value μ, standard deviation σ) of the region to which the barycentric position C of the detection frame obtained in step S1106 belongs, and proceeds to step S1108.

誤検出判定ステップS1108はステップS1105で得られた物体検出枠サイズがステップS1107で読み込んだ平均値μから±σの範囲内に存在するか否かを判定する。ステップS1105で得られた物体検出枠サイズがμ±σの範囲内に入っていなければステップS1109に進み、入っていればステップS1110に進む。   In the erroneous detection determination step S1108, it is determined whether or not the object detection frame size obtained in step S1105 is within a range of ± σ from the average value μ read in step S1107. If the object detection frame size obtained in step S1105 is not within the range of μ ± σ, the process proceeds to step S1109, and if it is, the process proceeds to step S1110.

誤検出除去ステップS1109はステップS1108で誤検出枠と判定された物体検出枠を除去し、ステップS1110に進む。画面全体走査完了判定ステップS1110はステップS1103で規定されたスキャンウィンドウサイズで画面全体を走査したか否かを判定する。画面全体を走査完了した場合はステップS1111に進み、完了していない場合はステップS1104に進み、ステップS1103で規定されたスキャンウィンドウサイズを保持したままスキャン位置を変更する。   In the erroneous detection removal step S1109, the object detection frame determined as the erroneous detection frame in step S1108 is removed, and the process proceeds to step S1110. In step S1110, the entire screen scan completion determination step determines whether the entire screen has been scanned with the scan window size defined in step S1103. If the entire screen has been scanned, the process proceeds to step S1111. If not completed, the process proceeds to step S1104, and the scan position is changed while the scan window size defined in step S1103 is maintained.

指定リサイズ回数経過判定ステップS1111はステップS1101で設定された回数だけスキャンウィンドウサイズをリサイズしたか否かを判定する。指定回数リサイズした場合はステップS1112に進み、していない場合はステップS1103に進み、現状のスキャンウィンドウサイズにステップS1101で設定されたスケール倍率を乗じ、スキャンウィンドウのサイズを変更する。
検出枠表示ステップS1112はステップS1105で得られた物体検出枠の中からステップS1108で誤検出と判定された誤検出枠を除去した状態で物体検出枠を表示する。なお、各ステップはコンピュータで実行可能なプログラムで記述されてもよい。
The specified resizing count elapse determination step S1111 determines whether or not the scan window size has been resized the number of times set in step S1101. If it has been resized the specified number of times, the process proceeds to step S1112. If not, the process proceeds to step S1103, and the current scan window size is multiplied by the scale factor set in step S1101 to change the size of the scan window.
In the detection frame display step S1112, the object detection frame is displayed in a state where the erroneous detection frame determined to be erroneous detection in step S1108 is removed from the object detection frame obtained in step S1105. Each step may be described by a program that can be executed by a computer.

図12は、本発明の実施の形態2に係る誤検出除去装置の動作説明図である。入力画像は画像入力部102によって図12の点線で示すように幾つかの領域に分割され(この場合は20個の領域に分割)、各領域には領域番号が付与される。1201および1202はそれぞれ領域物体検出部105によって得られた物体検出枠であり、1203および1204はそれらの重心を表す。   FIG. 12 is a diagram for explaining the operation of the false detection removal apparatus according to Embodiment 2 of the present invention. The input image is divided into several areas (in this case, divided into 20 areas) by the image input unit 102 as indicated by dotted lines in FIG. 12, and an area number is assigned to each area. 1201 and 1202 are object detection frames obtained by the area object detection unit 105, respectively, and 1203 and 1204 represent their centroids.

この場合、1203および1204が属する領域番号はそれぞれNo.9およびNo.13となる。1205および1206はそれぞれ検出枠サイズヒストグラム情報記憶部103によって読み出された領域No.9および領域No.13の検出枠サイズヒストグラムであり、(μ9、σ9)、(μ13、σ13)はそれぞれ領域No.9および領域No.13の検出枠サイズヒストグラムの平均値と標準偏差である。   In this case, the area numbers to which 1203 and 1204 belong are respectively No. 9 and no. 13 Reference numerals 1205 and 1206 denote the area numbers read by the detection frame size histogram information storage unit 103, respectively. 9 and region no. 13 is a detection frame size histogram, and (μ9, σ9) and (μ13, σ13) are respectively region Nos. 9 and region no. 13 is an average value and standard deviation of 13 detection frame size histograms.

物体検出枠1201の物体検出枠サイズをS9および物体検出枠1202の物体検出枠サイズS13とすると、誤検出除去部1002は1205に示すようにS9がμ9±σ9の範囲内にあるか否か、1206に示すようにS13がμ13±σ13の範囲内にあるか否かを判定する。   Assuming that the object detection frame size of the object detection frame 1201 is S9 and the object detection frame size S13 of the object detection frame 1202, the erroneous detection removal unit 1002 determines whether or not S9 is within a range of μ9 ± σ9 as indicated by 1205, As shown at 1206, it is determined whether or not S13 is within the range of μ13 ± σ13.

この場合、S9はμ9±σ9の範囲外に存在することから誤検出として除去され、S13はμ13±σ13の範囲内に存在することから除去されず、物体検出枠として表示される。このように予め、その撮像環境において取得された物体検出枠サイズの事前情報(検出枠サイズヒストグラム)を用いることで、入力画像中の各領域で統計的に検出されにくい物体検出枠サイズを有する物体検出枠を誤検出として除去することができる。   In this case, S9 is removed as an erroneous detection because it exists outside the range of μ9 ± σ9, and S13 is not removed because it exists within the range of μ13 ± σ13, and is displayed as an object detection frame. As described above, the object detection frame size that is difficult to statistically detect in each area in the input image by using the prior information (detection frame size histogram) of the object detection frame size acquired in the imaging environment in advance. The detection frame can be removed as a false detection.

本発明に係るスキャンウィンドウサイズ決定装置および検出枠サイズヒストグラム情報取得装置、スキャンウィンドウサイズ決定方法は、物体検出装置を設置して、物体を検出する際、入力画像を領域に分割して領域毎に検出枠サイズの範囲を決めることにより、効率よく物体を検出したり、誤検出をなくすといった効果を有し、監視システム等への適用が可能である。   The scan window size determining device, the detection frame size histogram information acquiring device, and the scan window size determining method according to the present invention install an object detection device and divide an input image into regions when detecting an object. By determining the range of the detection frame size, it has an effect of efficiently detecting an object and eliminating false detection, and can be applied to a monitoring system or the like.

101 スキャンウィンドウサイズ決定装置
102 画像入力部
103 検出枠サイズヒストグラム情報記憶部
104 スキャンウィンドウサイズ決定部
105 領域物体検出部
DESCRIPTION OF SYMBOLS 101 Scan window size determination apparatus 102 Image input part 103 Detection frame size histogram information storage part 104 Scan window size determination part 105 Area | region object detection part

Claims (7)

複数の領域に分割された画像の前記複数の領域毎の検出枠サイズの統計情報を保持する検出枠サイズヒストグラム情報記憶部と、
前記検出枠サイズヒストグラム情報記憶部に記憶された前記統計情報に基づき、前記領域のスキャンウィンドウサイズを決定するスキャンウィンドウサイズ決定部と、
を有することを特徴とするスキャンウィンドウサイズ決定装置。
A detection frame size histogram information storage unit that holds statistical information of a detection frame size for each of the plurality of regions of an image divided into a plurality of regions;
A scan window size determining unit that determines a scan window size of the region based on the statistical information stored in the detection frame size histogram information storage unit;
A scan window size determining apparatus comprising:
画像を入力する画像入力部と、物体検出部とを有し、
前記画像入力部は、前記入力した画像を前記複数の領域に分割し、
前記物体検出部は、前記スキャンウィンドウサイズ決定部によって前記複数の領域毎に決定されたスキャンウィンドウサイズを用いて、前記複数の領域毎に物体を検出することを特徴とする請求項1に記載のスキャンウィンドウサイズ決定装置。
An image input unit for inputting an image and an object detection unit;
The image input unit divides the input image into the plurality of regions,
2. The object detection unit according to claim 1, wherein the object detection unit detects an object for each of the plurality of regions using a scan window size determined for each of the plurality of regions by the scan window size determination unit. Scan window size determination device.
前記検出枠サイズヒストグラム情報は、前記領域毎に物体が検出されたときの検出枠サイズの平均値と分散であることを特徴とする請求項1または2に記載のスキャンウィンドウサイズ決定装置。   The scan window size determining apparatus according to claim 1, wherein the detection frame size histogram information is an average value and a variance of detection frame sizes when an object is detected for each region. 前記スキャンウィンドウサイズ決定部は、前記統計情報から重み付きサンプリングを用いてスキャンウィンドウサイズを決定することを特徴とする請求項1乃至3に記載のスキャンウィンドウサイズ決定装置。   4. The scan window size determining apparatus according to claim 1, wherein the scan window size determining unit determines a scan window size using weighted sampling from the statistical information. 請求項1に記載の検出枠サイズヒストグラム情報記憶部に記憶する検出枠サイズの統計情報を生成する検出枠サイズヒストグラム情報取得装置であって、
入力した画像を複数の領域に分割する画像入力部と、
複数のスキャンウィンドウサイズを用いて前記入力した画像の物体を検出する物体検出部と、
前記物体検出部によって物体が検出されたとき、得られた物体検出枠の重心が位置する前記領域の前記検出枠サイズヒストグラムに対して前記検出枠の検出枠サイズの投票を行う検出枠サイズヒストグラム投票部とを有する検出枠サイズヒストグラム情報取得装置。
A detection frame size histogram information acquisition device for generating statistical information of a detection frame size stored in the detection frame size histogram information storage unit according to claim 1,
An image input unit that divides the input image into a plurality of regions;
An object detection unit for detecting an object of the input image using a plurality of scan window sizes;
Detection frame size histogram voting for voting the detection frame size of the detection frame with respect to the detection frame size histogram of the region where the center of gravity of the obtained object detection frame is located when an object is detected by the object detection unit And a detection frame size histogram information acquisition device.
複数の領域に分割された画像の前記領域毎の検出枠サイズの統計情報を保持する検出枠サイズヒストグラム情報記憶部と、
複数のスキャンウィンドウサイズを用いて前記入力した画像の物体を検出する物体検出部と、
前記物体検出部が物体を検出したとき、得られた物体検出枠の重心が位置する前記領域の前記検出枠サイズヒストグラムを用いて、前記物体検出枠が誤検出か否かを判定する誤検出除去部と、
を有するスキャンウィンドウサイズ決定装置。
A detection frame size histogram information storage unit that holds statistical information of a detection frame size for each of the regions divided into a plurality of regions;
An object detection unit for detecting an object of the input image using a plurality of scan window sizes;
When the object detection unit detects an object, using the detection frame size histogram of the region where the center of gravity of the obtained object detection frame is located, it is determined whether or not the object detection frame is erroneously detected. And
A scan window sizing device.
コンピュータを用いてスキャンウィンドウのサイズを決定するスキャンウィンドウサイズ決定方法であって、
複数の領域に分割された画像の前記領域毎の検出枠サイズの統計情報を保持する検出枠サイズヒストグラム情報記憶ステップと、
前記検出枠サイズヒストグラム情報記憶ステップに記憶された前記統計情報に基づき、前記領域のスキャンウィンドウサイズを決定するスキャンウィンドウサイズ決定ステップと、
を有するスキャンウィンドウサイズ決定方法。
A scan window size determining method for determining a scan window size using a computer,
A detection frame size histogram information storage step for holding statistical information of the detection frame size for each of the regions divided into a plurality of regions;
A scan window size determining step for determining a scan window size of the region based on the statistical information stored in the detection frame size histogram information storing step;
A method for determining a scan window size.
JP2012007621A 2012-01-18 2012-01-18 Scan window size determination device, detection frame size histogram information acquisition device, and scan window size determination method Pending JP2013148989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012007621A JP2013148989A (en) 2012-01-18 2012-01-18 Scan window size determination device, detection frame size histogram information acquisition device, and scan window size determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012007621A JP2013148989A (en) 2012-01-18 2012-01-18 Scan window size determination device, detection frame size histogram information acquisition device, and scan window size determination method

Publications (1)

Publication Number Publication Date
JP2013148989A true JP2013148989A (en) 2013-08-01

Family

ID=49046450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012007621A Pending JP2013148989A (en) 2012-01-18 2012-01-18 Scan window size determination device, detection frame size histogram information acquisition device, and scan window size determination method

Country Status (1)

Country Link
JP (1) JP2013148989A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150108577A (en) * 2014-03-18 2015-09-30 에스케이플래닛 주식회사 Learning apparatus and method for detecting features in an extended region for object recognition and computer readable medium having computer program recorded therefor
JP2018124629A (en) * 2017-01-30 2018-08-09 キヤノン株式会社 Image processing device, information processing method and program
KR101916832B1 (en) * 2017-07-11 2018-11-08 강경수 Method and apparatus for detecting of object using the annotation bounding box
JP2019204374A (en) * 2018-05-24 2019-11-28 日本信号株式会社 Object detecting apparatus
CN113792656A (en) * 2021-09-15 2021-12-14 山东大学 Behavior detection and alarm system for using mobile communication equipment in personnel movement

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150108577A (en) * 2014-03-18 2015-09-30 에스케이플래닛 주식회사 Learning apparatus and method for detecting features in an extended region for object recognition and computer readable medium having computer program recorded therefor
KR102224936B1 (en) 2014-03-18 2021-03-08 에스케이플래닛 주식회사 Learning apparatus and method for detecting features in an extended region for object recognition and computer readable medium having computer program recorded therefor
JP2018124629A (en) * 2017-01-30 2018-08-09 キヤノン株式会社 Image processing device, information processing method and program
KR101916832B1 (en) * 2017-07-11 2018-11-08 강경수 Method and apparatus for detecting of object using the annotation bounding box
JP2019204374A (en) * 2018-05-24 2019-11-28 日本信号株式会社 Object detecting apparatus
CN113792656A (en) * 2021-09-15 2021-12-14 山东大学 Behavior detection and alarm system for using mobile communication equipment in personnel movement
CN113792656B (en) * 2021-09-15 2023-07-18 山东大学 Behavior detection and alarm system using mobile communication equipment in personnel movement

Similar Documents

Publication Publication Date Title
US10810438B2 (en) Setting apparatus, output method, and non-transitory computer-readable storage medium
JP5221436B2 (en) Facial feature point detection apparatus and program
JP2013148989A (en) Scan window size determination device, detection frame size histogram information acquisition device, and scan window size determination method
EP1973060A2 (en) Object image detection method and object image detection device
EP3168810A1 (en) Image generating method and apparatus
KR20170061629A (en) Method and device for identifying region
JP2011029737A (en) Surveillance image retrieval apparatus and surveillance system
JP2013500536A5 (en)
JP6494418B2 (en) Image analysis apparatus, image analysis method, and program
US10313596B2 (en) Method and apparatus for correcting tilt of subject ocuured in photographing, mobile terminal, and storage medium
KR102199094B1 (en) Method and Apparatus for Learning Region of Interest for Detecting Object of Interest
US9489715B2 (en) Image display apparatus and image display method
CN110991455B (en) Image text broadcasting method and equipment, electronic circuit and storage medium thereof
JP2013115751A5 (en)
DE102015110955A1 (en) An information processing device for acquiring an object from an image, a method of controlling the device, and storage media
US9400929B2 (en) Object detection device and method for detecting an object by performing a raster scan on a scan window
JP6991045B2 (en) Image processing device, control method of image processing device
JP6548920B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
WO2019069629A1 (en) Image processing device and learned model
JP5795916B2 (en) Image processing apparatus and image processing method
JP2012142143A5 (en)
JP5862261B2 (en) DETECTING DEVICE, DETECTING METHOD, AND VEHICLE
JP2005316958A (en) Red eye detection device, method, and program
JP2018092507A (en) Image processing apparatus, image processing method, and program
US10748397B2 (en) Monitoring system