JP2009205611A - Image target detection tracking device, image target detection tracking method, and image target detection tracking program - Google Patents

Image target detection tracking device, image target detection tracking method, and image target detection tracking program Download PDF

Info

Publication number
JP2009205611A
JP2009205611A JP2008049703A JP2008049703A JP2009205611A JP 2009205611 A JP2009205611 A JP 2009205611A JP 2008049703 A JP2008049703 A JP 2008049703A JP 2008049703 A JP2008049703 A JP 2008049703A JP 2009205611 A JP2009205611 A JP 2009205611A
Authority
JP
Japan
Prior art keywords
target
candidate
tracking
target candidate
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008049703A
Other languages
Japanese (ja)
Other versions
JP5076971B2 (en
Inventor
Naoyuki Sawazaki
直之 沢崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008049703A priority Critical patent/JP5076971B2/en
Publication of JP2009205611A publication Critical patent/JP2009205611A/en
Application granted granted Critical
Publication of JP5076971B2 publication Critical patent/JP5076971B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect a specific target from an image and to track it. <P>SOLUTION: A target candidate detecting means 1d reads a template including a target object from a template image storage means 1c, calculates correlation between the template and a division image obtained by dividing an input image by a prescribed unit, and selects a target candidate on the basis of a result of calculation. Also, a candidate tracking means 1f searches for a target candidate to be tracked included in the most recent input image. When the target candidate to be tracked is searched for, tracking of the target candidate is continued. Meanwhile, when the target candidate to be tracked is not searched for, the target candidate to be tracked is deleted from the target candidate. In this way, only the object stably tracked is left as a target candidate. A target specifying means 1g specifies the target candidate to be stably tracked and selected as a target candidate as a target. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は画像目標検出追跡装置及び画像目標検出追跡方法並びに画像目標検出追跡プログラムに関し、特に入力画像から目標を検出して追跡する画像目標検出追跡装置及び画像目標検出追跡方法並びに画像目標検出追跡プログラムに関する。   The present invention relates to an image target detection and tracking apparatus, an image target detection and tracking method, and an image target detection and tracking program, and more particularly to an image target detection and tracking apparatus, an image target detection and tracking method, and an image target detection and tracking program for detecting and tracking a target from an input image. About.

従来、赤外線カメラなどで撮影された画像を利用し、対象の目標を検出して追跡する画像目標検出追跡装置の実用化が各分野で進められている。海上交通の安全確保や、海難救助など、船舶を検出対象とする分野においても、海上を航行する船舶の検出と追跡の自動化への適用が進められている。   2. Description of the Related Art Conventionally, practical application of an image target detection / tracking apparatus that detects and tracks a target of an object using an image captured by an infrared camera or the like has been promoted in various fields. In fields where ships are subject to detection, such as ensuring the safety of maritime traffic and rescue of marine disasters, application to automation of detection and tracking of ships navigating at sea is being promoted.

ところで、画像センサを用いた目標物の検出は、現在のところ精度は必ずしも良くないが、比較的簡単な装置で監視を行うことができるという利点がある。そこで、船舶を検出対象とする分野においても、フレーム間差分法によって船舶を検出してタグ付けし、タグ付けされた船舶の運動特性などの特徴量を利用してトラッキングする画像センサを利用した船舶の検知、追跡を自動的に行う技術が提案されている(たとえば、非特許文献1参照)。
矢田、「画像センサによる船舶のトラッキング」、第4回電子航法研究所研究発表会、平成16年6月
By the way, detection of a target using an image sensor is not necessarily accurate at present, but has an advantage that it can be monitored with a relatively simple device. Therefore, even in the field of detecting ships, ships using image sensors that detect and tag ships by inter-frame difference method and track using feature quantities such as motion characteristics of the tagged ships. A technique for automatically detecting and tracking the above has been proposed (see, for example, Non-Patent Document 1).
Yada, “Ship Tracking with Image Sensor”, 4th Electronic Navigation Research Institute Research Presentation, June 2004

ところで、海難救助の現場では、救命ボートなど、海上に浮かぶ浮遊物を早急に発見して活動を行うことが求められている。このため、ヘリコプターなどの航空機を用いて、海上を広範囲に捜索する。このとき、夜間でも対応可能な赤外線カメラで海上を撮影し、その画像を利用して目標の検出が行われる。しかし、海上の救命ボートなどの浮遊物は小さく、船舶など所定の大きさを有する物体と比べて、検出は容易ではないという問題点がある。   By the way, at the site of marine rescue, it is required to quickly discover and carry out activities such as lifeboats that float on the sea. For this reason, he searches extensively on the sea using helicopters and other aircraft. At this time, the sea is photographed with an infrared camera that can be used at night, and the target is detected using the image. However, floating objects such as lifeboats on the sea are small, and there is a problem that detection is not easy compared to an object having a predetermined size such as a ship.

特に、航空機から撮影された画像など、遠方から撮影された画像では、救命ボートや海上に浮かぶ浮遊物の画像は非常に小さく、周辺の波頭の大きさと変わらなくなってしまう。このため、画像から目標の浮遊物を周辺の波頭と区別して特定することが非常に困難であり、自動検出の実用化は進んでいない。しかし、目視による目標物の検出と追跡は、非常に労力を要する作業であり、目標の検出・追跡の自動化が切望されている。   In particular, in an image taken from a distance such as an image taken from an aircraft, an image of a lifeboat or a floating object floating on the sea is very small, and the size of the surrounding wave front is not different. For this reason, it is very difficult to identify the target suspended matter from the image by distinguishing it from the surrounding wavefront, and the practical application of automatic detection has not progressed. However, visual target detection and tracking is a very labor intensive task, and automation of target detection and tracking is desired.

また、海難救助の現場に限らず、検出対象と似た形状を有する物体が一時的に出現するような画像から目標を検出する場合には、同様の問題が発生する。このため、このような画像の中から一時的に出現する物体を目標から除外し、特定の目標を確実に検出して追跡する技術が求められている。   The same problem occurs when detecting a target from an image in which an object having a shape similar to a detection target appears temporarily, not limited to a marine rescue site. For this reason, there is a need for a technique that excludes an object that temporarily appears from such an image from a target and reliably detects and tracks a specific target.

本発明はこのような点に鑑みてなされたものであり、撮影された画像の中から特定の目標を検出して追跡することが可能な画像目標検出追跡装置及び画像目標検出追跡方法並びに画像目標検出追跡プログラムを提供することを目的とする。   The present invention has been made in view of the above points, and an image target detection and tracking apparatus, an image target detection and tracking method, and an image target capable of detecting and tracking a specific target from captured images. An object is to provide a detection tracking program.

上記課題を解決するために、入力画像から目標を検出して追跡する画像目標検出追跡装置において、目標の物体を含むテンプレートの画像が格納されるテンプレート記憶手段からテンプレートを読み出し、テンプレートと入力画像を所定の単位で分割した分割画像との相関を算出し、算出結果が所定の基準値を超えた分割画像に含まれる物体を目標候補に登録する目標候補検出手段と、目標候補ごとに、目標候補を追跡対象として、目標候補が新たに検出された入力画像または目標候補の追跡に用いた入力画像より後に撮影された直近の入力画像に含まれる追跡対象の目標候補を探索し、追跡対象の目標候補が探索できたときはこの追跡対象の目標候補の追跡を継続し、追跡対象の目標候補が探索できなかったときはこの追跡対象の目標候補を目標候補から削除する候補追跡手段と、目標候補が予め決められた所定の期間、候補追跡手段によって継続して追跡され、かつ、目標候補検出手段によって目標候補として検出されたときは、目標候補を目標として特定する目標特定手段と、を有することを特徴とする画像目標検出追跡装置が、提供される。また、上記の目標候補検出手段、候補追跡手段、及び目標特定手段によって処理手順が実行される画像目標検出追跡方法が提供される。また、上記課題を解決するために、コンピュータを上記画像目標検出追跡装置と同様に機能させる画像目標検出追跡プログラム、が提供される。   In order to solve the above problems, in an image target detection and tracking device that detects and tracks a target from an input image, the template is read from a template storage unit that stores a template image including the target object, and the template and the input image are read. Target candidate detection means for calculating a correlation with a divided image divided in a predetermined unit and registering an object included in the divided image whose calculation result exceeds a predetermined reference value as a target candidate, and a target candidate for each target candidate The target candidate of the tracking target is searched for in the input image in which the target candidate is newly detected or the latest input image taken after the input image used for tracking the target candidate. If the candidate can be searched, the target candidate of the tracking target is continuously tracked. If the target candidate of the tracking target cannot be searched, the target candidate of the tracking target is continued. Candidate tracking means for deleting from the target candidates, and when the target candidates are continuously tracked by the candidate tracking means for a predetermined period and are detected as target candidates by the target candidate detecting means, There is provided an image target detection and tracking device characterized by having a target specifying means for specifying as a target. In addition, an image target detection and tracking method is provided in which a processing procedure is executed by the target candidate detection means, candidate tracking means, and target specifying means. In order to solve the above problems, an image target detection / tracking program is provided that causes a computer to function in the same manner as the image target detection / tracking apparatus.

開示の画像目標検出追跡装置及び画像目標検出追跡方法並びに画像目標検出追跡プログラムでは、入力画像が取り込まれると、目標候補検出手段及び候補追跡手段が起動される。目標候補検出手段によって、目標の物体を含むテンプレートがテンプレート記憶手段から読み出され、入力画像を所定の単位で分割した分割画像とテンプレートとの相関が算出される。そして、算出結果が所定の基準値を超える分割画像に含まれる物体が目標候補に登録される。また、候補追跡手段によって、目標候補ごとに目標候補を追跡対象として追跡処理が行われ、直近の入力画像に含まれる追跡対象の目標候補が探索される。追跡対象の目標候補が探索されたときは、この目標候補の追跡が継続される。一方、追跡対象の目標候補が探索されなかったときはこの追跡対象の目標候補を目標候補から削除する。こうして、継続して検出されたものだけが目標候補として残る。そして、目標特定手段によって、所定の期間安定的に追跡可能で、かつ、目標候補として選択されている目標候補が目標に特定される。   In the disclosed image target detection and tracking apparatus, image target detection and tracking method, and image target detection and tracking program, when an input image is captured, the target candidate detection means and candidate tracking means are activated. The template including the target object is read from the template storage unit by the target candidate detection unit, and the correlation between the divided image obtained by dividing the input image by a predetermined unit and the template is calculated. Then, an object included in a divided image whose calculation result exceeds a predetermined reference value is registered as a target candidate. Further, the candidate tracking unit performs tracking processing for each target candidate with the target candidate as a tracking target, and searches for target candidates for tracking included in the latest input image. When the target candidate to be tracked is searched, the tracking of the target candidate is continued. On the other hand, when the target candidate for tracking is not searched, the target candidate for tracking is deleted from the target candidates. Thus, only those continuously detected remain as target candidates. Then, a target candidate that can be stably tracked for a predetermined period and is selected as a target candidate is specified as a target by the target specifying means.

開示の画像目標検出追跡装置及び画像目標検出追跡方法並びに画像目標検出追跡プログラムによれば、入力画像から所定の基準を満たす目標候補を選択し、それぞれの目標候補の追跡を開始させる。そして、追跡が開始された以降も安定して追跡が可能で、目標候補として検出される候補を目標として特定する。これにより、画像に一時的に出現する検出対象と似た形状を有する物体を目標候補から排除し、特定の目標を確実に検出して追跡することが可能となる。   According to the disclosed image target detection and tracking apparatus, image target detection and tracking method, and image target detection and tracking program, target candidates that satisfy a predetermined criterion are selected from the input image, and tracking of each target candidate is started. Then, after the tracking is started, the tracking can be stably performed, and the candidate detected as the target candidate is specified as the target. Thereby, an object having a shape similar to the detection target that appears temporarily in the image can be excluded from the target candidates, and a specific target can be reliably detected and tracked.

以下、本発明の実施の形態を図面を参照して説明する。
図1は、実施の形態の画像目標検出追跡装置の構成図である。
画像目標検出追跡装置1は、画像入力手段1a、画像記憶手段1b、テンプレート画像記憶手段1c、目標候補検出手段1d、候補テンプレート画像記憶手段1e、候補追跡手段1f、及び目標特定手段1gを有する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram of an image target detection and tracking apparatus according to an embodiment.
The image target detection / tracking apparatus 1 includes an image input unit 1a, an image storage unit 1b, a template image storage unit 1c, a target candidate detection unit 1d, a candidate template image storage unit 1e, a candidate tracking unit 1f, and a target specifying unit 1g.

画像入力手段1aは、カメラ2によって撮影された画像データを取得し、画像記憶手段1bに格納する。カメラ2からは、撮影された画像データが順次送信される。画像入力手段1aは、カメラ2から画像データを受信したとき、画像記憶手段1bに格納される画像データを更新する。   The image input means 1a acquires image data photographed by the camera 2 and stores it in the image storage means 1b. The captured image data is sequentially transmitted from the camera 2. When the image input means 1a receives image data from the camera 2, the image input means 1a updates the image data stored in the image storage means 1b.

画像記憶手段1bには、画像入力手段1aがカメラ2から取得した最新の画像データが格納されている。
テンプレート画像記憶手段1cには、目標の物体を含む目標テンプレートの画像が格納されている。
The image storage unit 1b stores the latest image data acquired from the camera 2 by the image input unit 1a.
The template image storage unit 1c stores an image of the target template including the target object.

目標候補検出手段1dは、所定のタイミング、たとえば入力画像が取得されたときに起動され、テンプレートマッチングを利用して目標候補を検出する。まず、テンプレート画像記憶手段1cに格納される目標テンプレートを読み出す。また、画像記憶手段1bに格納されている最新の画像データを読み出し、所定の単位の領域に分割する。そして、所定の単位に分割された分割画像と目標テンプレートの相関を算出し、算出結果が予め決められた所定の基準値を超える分割画像を求める。この分割画像に含まれる物体を目標候補とする。目標候補が検出された領域と、既に登録されている目標候補が候補追跡手段1fによって検出された領域とを照合し、一致する既登録の目標候補があった場合、検出されたのは、この既登録の目標候補であると判定する。一致する既登録の目標候補がなかったときは、検出された目標候補を新規に登録する。そして、その検出された目標候補が含まれる分割画像を、追跡用の候補テンプレートとして候補テンプレート画像記憶手段1eに格納する。また、目標候補に識別記号(以下、IDとする)を割り当て、目標候補が検出された入力画像上の領域をIDに関連付けて記憶しておく。なお、画像の相関は、差分の絶対値の総和、あるいは差分の2乗和を算出する方法など、さまざまな手法により求めることができる。画像の相関の算出には、このような公知の手法を適宜選択して用いるとし、詳細は省略する。   The target candidate detection unit 1d is activated at a predetermined timing, for example, when an input image is acquired, and detects a target candidate using template matching. First, the target template stored in the template image storage unit 1c is read out. Also, the latest image data stored in the image storage means 1b is read out and divided into areas of a predetermined unit. Then, a correlation between the divided image divided into predetermined units and the target template is calculated, and a divided image whose calculation result exceeds a predetermined reference value determined in advance is obtained. An object included in this divided image is set as a target candidate. The area in which the target candidate is detected is compared with the area in which the already registered target candidate is detected by the candidate tracking unit 1f. It is determined that it is a registered target candidate. If there is no matching registered target candidate, the detected target candidate is newly registered. Then, the divided image including the detected target candidate is stored in the candidate template image storage unit 1e as a tracking candidate template. Further, an identification symbol (hereinafter referred to as ID) is assigned to the target candidate, and an area on the input image where the target candidate is detected is stored in association with the ID. Note that the correlation of images can be obtained by various methods such as a method of calculating a sum of absolute values of differences or a sum of squares of differences. For calculating the correlation of images, it is assumed that such a known method is appropriately selected and used, and details thereof are omitted.

候補テンプレート画像記憶手段1eには、目標候補検出手段1dが目標候補に登録した候補の画像が候補テンプレートとして格納されている。
候補追跡手段1fは、入力画像が取得されたときなど、所定のタイミングで起動され、テンプレートマッチングを利用して目標候補を追跡対象として、目標候補ごとに追跡処理を行う。追跡処理は、最初に目標候補が検出された入力画像、または前回追跡処理を行った入力画像よりも後に撮影された画像を用いて行う。まず、この目標候補の候補テンプレートを候補テンプレート画像記憶手段1eから読み出すとともに、画像記憶手段1bに格納されている最新の画像データを読み出して所定の領域に分割し、候補テンプレートとのマッチングをとる。このとき、マッチングは、目標候補に関連付けて記憶されている目標候補が検出された入力画像上の領域、または前回追跡対象の目標候補が検出された入力画像上の領域を中心とし、その周辺の所定の領域で行う。そして、追跡対象の目標候補が検出されたときは、検出された領域の位置を目標候補のIDに関連付けて記憶するとともに、追跡処理を継続させる。一方、追跡対象の目標候補が検出されなかったときは、この追跡対象の目標候補を目標候補から削除する。
In the candidate template image storage unit 1e, candidate images registered as target candidates by the target candidate detection unit 1d are stored as candidate templates.
The candidate tracking unit 1f is activated at a predetermined timing such as when an input image is acquired, and performs tracking processing for each target candidate using the target matching as a tracking target using template matching. The tracking process is performed using an input image in which a target candidate is first detected or an image taken after the input image on which the previous tracking process has been performed. First, the candidate template of the target candidate is read out from the candidate template image storage unit 1e, and the latest image data stored in the image storage unit 1b is read out and divided into predetermined regions to be matched with the candidate template. At this time, the matching is centered on an area on the input image where the target candidate stored in association with the target candidate is detected or an area on the input image where the target candidate to be tracked last time is detected. This is performed in a predetermined area. When a target candidate to be tracked is detected, the position of the detected area is stored in association with the target candidate ID, and the tracking process is continued. On the other hand, when the target candidate for tracking is not detected, the target candidate for tracking is deleted from the target candidate.

目標特定手段1gは、目標候補ごとに、目標として特定されるかどうかを判定する。予め決められた所定の期間、目標候補が、候補追跡手段1fによって継続的に追跡されており、かつ、目標候補検出手段1dによって目標候補として検出されているとき、この目標候補を目標として特定する。   The target specifying unit 1g determines whether each target candidate is specified as a target. When a target candidate is continuously tracked by the candidate tracking unit 1f and detected as a target candidate by the target candidate detecting unit 1d for a predetermined period, the target candidate is specified as a target. .

このような画像目標検出追跡装置1では、カメラ2から送信される画像データは、画像入力手段1aが入力し、画像記憶手段1bに格納する。画像記憶手段1bに格納される画像データは、画像入力手段1aによって適宜更新されている。また、テンプレート画像記憶手段1cには、目標物を検出するためのテンプレートが予め格納されている。   In such an image target detection and tracking device 1, the image data transmitted from the camera 2 is input by the image input means 1a and stored in the image storage means 1b. The image data stored in the image storage unit 1b is appropriately updated by the image input unit 1a. In addition, a template for detecting a target is stored in advance in the template image storage unit 1c.

所定のタイミング、少なくとも新たな入力画像が取得されたあとに、目標候補検出手段1dと、候補追跡手段1fとが起動される。目標候補検出手段1dは、画像記憶手段1bに格納される画像入力手段1aが取得した入力画像を所定の単位に分割し、分割画像と目標テンプレートの相関を算出する。そして、算出結果が予め決められた所定の基準値を超える分割画像に含まれる物体を目標候補と判定する。それが既登録の目標候補でなければ、目標候補として新たに登録する。このとき、この目標候補の物体が検出された分割画像を候補テンプレートとして候補テンプレート画像記憶手段1eに格納しておく。候補追跡手段1fは、登録されている目標候補ごとに、入力画像を所定の単位に分割し、分割画像と追跡対象の目標候補の候補テンプレートとのマッチングをとり、追跡対象の目標候補の画像が検出される入力画像上の位置を探索する。追跡対象の目標候補が検出されないときは、この追跡対象の目標候補の登録を削除する。検出されたときは、追跡対象の目標候補の位置を記憶し、追跡を継続する。目標特定手段1gは、目標候補ごとに、その目標候補が候補追跡手段1fによって安定的に追跡され、かつ、目標候補検出手段1dによって目標候補として検出されているかどうかを判定する。そして、所定の期間この状態が継続されていれば、目標候補を目標に特定する。なお、目標に特定された後も、継続して候補追跡手段1fによって追跡することができるが、別途、目標用の追跡手段を設けて追跡させるようにしてもよい。   After at least a new input image is acquired at a predetermined timing, the target candidate detection unit 1d and the candidate tracking unit 1f are activated. The target candidate detection unit 1d divides the input image acquired by the image input unit 1a stored in the image storage unit 1b into predetermined units, and calculates the correlation between the divided image and the target template. Then, an object included in a divided image whose calculation result exceeds a predetermined reference value determined in advance is determined as a target candidate. If it is not a registered target candidate, it is newly registered as a target candidate. At this time, the divided image in which the target candidate object is detected is stored in the candidate template image storage unit 1e as a candidate template. The candidate tracking unit 1f divides the input image into predetermined units for each registered target candidate, matches the divided image with the candidate template of the target candidate to be tracked, and the target candidate image to be tracked is obtained. A position on the detected input image is searched. If no tracking target candidate is detected, the registration of the tracking target candidate is deleted. If detected, the position of the target candidate to be tracked is stored and tracking is continued. For each target candidate, the target specifying unit 1g determines whether the target candidate is stably tracked by the candidate tracking unit 1f and is detected as a target candidate by the target candidate detecting unit 1d. If this state continues for a predetermined period, the target candidate is specified as the target. Even after the target is specified, it can be continuously tracked by the candidate tracking unit 1f. However, a tracking unit for the target may be separately provided for tracking.

このように、入力画像から所定の基準を満たす目標候補を選択し、それぞれの目標候補の追跡を開始させる。そして、追跡できなかった物体を目標候補から除外する。一時的に出現する物体は、継続的に追跡することができないため、目標候補から除外される。一方、検出対象の目標であれば、継続して追跡できる。こうして、追跡が開始された以降も安定して追跡が可能で、かつ、目標テンプレートによって目標候補として検出される物体が目標として特定される。これにより、画像に一時的に出現する検出対象と似た形状を有する物体を目標候補から排除し、特定の目標を確実に検出して追跡することが可能となる。   In this way, target candidates that satisfy a predetermined criterion are selected from the input image, and tracking of each target candidate is started. Then, the object that could not be tracked is excluded from the target candidates. Objects that appear temporarily are excluded from target candidates because they cannot be tracked continuously. On the other hand, if the target is a detection target, it can be continuously tracked. In this way, an object that can be stably tracked after the start of tracking and is detected as a target candidate by the target template is specified as a target. Thereby, an object having a shape similar to the detection target that appears temporarily in the image can be excluded from the target candidates, and a specific target can be reliably detected and tracked.

以下、実施の形態を、ヘリコプターなどから赤外線カメラによって撮影された海上の画像から救命ボートなどの目標物を検出し、これを追跡する画像目標検出追跡装置の場合を例にとり、詳細に説明する。このような画像では、検出対象の目標物と似た形状を有する物体(波頭など)が一時的に出現することが知られている。   Hereinafter, embodiments will be described in detail by taking as an example an image target detection and tracking device that detects a target such as a lifeboat from a marine image photographed by an infrared camera from a helicopter or the like and tracks the target. In such an image, it is known that an object (such as a wave front) having a shape similar to the target object to be detected appears temporarily.

まず、航空機などによって遠方から撮影された海上の画像について説明する。図2は、撮影画像の一例を示した図である。(A)は遠方から撮影された海上の画像の一例であり、(B)は(A)の明度の高い箇所を示した図であり、(A)の画像を説明するための図である。   First, an image of the sea taken from a distance by an aircraft or the like will be described. FIG. 2 is a diagram illustrating an example of a captured image. (A) is an example of the image of the sea image | photographed from far away, (B) is the figure which showed the location with the high brightness of (A), and is a figure for demonstrating the image of (A).

(A)の画像に示されたように、航空機などによって遠方から海上を撮影すると、救命ボートなどの検出目標(図の白丸で囲まれた部分)と、検出目標周辺の波頭と、が高い明度で表される画像が得られる。   As shown in the image of (A), when the sea is photographed from a distance by an aircraft or the like, the detection target such as a lifeboat (the part surrounded by a white circle in the figure) and the wave front around the detection target have high brightness. Is obtained.

(B)は、(A)の画像において、所定の明度を有する部分を丸、または楕円で表現した図である。丸で示した検出目標201は、(A)の画像において白丸で囲まれた検出目標を表している。また、楕円で示した波頭202は、(A)の画像における周辺の波頭を表している。この画像を用いて検出目標201を検出するための目標テンプレートを用意し、画像相関による目標検出を行うと、検出目標201に加え、周辺の波頭202も検出される。   (B) is the figure which expressed the part which has predetermined | prescribed brightness with the circle | round | yen or an ellipse in the image of (A). A detection target 201 indicated by a circle represents a detection target surrounded by a white circle in the image of (A). A wavefront 202 indicated by an ellipse represents a peripheral wavefront in the image of (A). When a target template for detecting the detection target 201 is prepared using this image and target detection is performed by image correlation, the peripheral wave front 202 is detected in addition to the detection target 201.

実施の形態の画像目標検出追跡装置1は、目標候補として検出される複数の検出目標201及び波頭202とから検出目標201を特定し、その追跡を行う。
ここで、画像目標検出追跡装置1のハードウェア構成について説明する。図3は、画像目標検出追跡装置のハードウェア構成例を示したブロック図である。
The image target detection / tracking apparatus 1 according to the embodiment identifies a detection target 201 from a plurality of detection targets 201 and wave fronts 202 detected as target candidates, and performs tracking thereof.
Here, the hardware configuration of the image target detection and tracking apparatus 1 will be described. FIG. 3 is a block diagram illustrating a hardware configuration example of the image target detection and tracking apparatus.

画像目標検出追跡装置1は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス107を介してRAM(Random Access Memory)102、ハードディスクドライブ(HDD:Hard Disk Drive)103、グラフィック処理装置104、入力インタフェース105、通信インタフェース106が接続されている。   The entire image target detection / tracking apparatus 1 is controlled by a CPU (Central Processing Unit) 101. A random access memory (RAM) 102, a hard disk drive (HDD) 103, a graphic processing device 104, an input interface 105, and a communication interface 106 are connected to the CPU 101 via a bus 107.

RAM102には、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。HDD103には、OSやアプリケーションのプログラムが格納される。グラフィック処理装置104には、モニタ108が接続されており、CPU101からの命令に従って画像をモニタ108の画面に表示させる。入力インタフェース105には、キーボード109aやマウス109bが接続されており、キーボード109aやマウス109bから送られてくる信号を、バス107を介してCPU101に送信する。通信インタフェース106は、図示しないネットワークに接続されており、ネットワークを介してカメラ2から画像データを受信する。   The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 stores various data necessary for processing by the CPU 101. The HDD 103 stores the OS and application programs. A monitor 108 is connected to the graphic processing device 104, and an image is displayed on the screen of the monitor 108 in accordance with a command from the CPU 101. A keyboard 109 a and a mouse 109 b are connected to the input interface 105, and signals transmitted from the keyboard 109 a and the mouse 109 b are transmitted to the CPU 101 via the bus 107. The communication interface 106 is connected to a network (not shown) and receives image data from the camera 2 via the network.

このようなハードウェア構成によって、画像目標検出追跡装置1の処理機能を実現することができる。
次に、画像目標検出追跡装置1の目標候補検出手段1d及び候補追跡手段1fを実現するソフトウェア構成について説明する。図4は、画像目標検出追跡装置の主要部のソフトウェア構成例を示した図である。
With such a hardware configuration, the processing function of the image target detection and tracking apparatus 1 can be realized.
Next, a software configuration for realizing the target candidate detecting unit 1d and the candidate tracking unit 1f of the image target detection and tracking device 1 will be described. FIG. 4 is a diagram illustrating a software configuration example of a main part of the image target detection / tracking apparatus.

画像目標検出追跡装置1の主要部は、記憶部110、目標候補検出部120、候補追跡部130、及び目標特定部140を備える。なお、目標候補検出部120及び候補追跡部130は、入力画像を所定の単位の領域に分割した分割画像とテンプレートとのマッチング処理を行う。以下、この分割画像をブロックと呼ぶ。   The main part of the image target detection / tracking apparatus 1 includes a storage unit 110, a target candidate detection unit 120, a candidate tracking unit 130, and a target specifying unit 140. Note that the target candidate detection unit 120 and the candidate tracking unit 130 perform matching processing between the divided image obtained by dividing the input image into regions of a predetermined unit and the template. Hereinafter, this divided image is referred to as a block.

記憶部110は、各種情報を記憶する記憶手段であり、入力画像111、目標テンプレート112、候補テンプレート113、候補管理情報114、及び候補保存メモリ管理情報115を記憶する。入力画像111は、カメラで撮影された画像データである。目標テンプレート112は、検出対象の目標の形状を含むテンプレートの画像データである。候補テンプレート113は、目標候補が新たに登録されるごとに、目標候補に関連付けて記憶される目標候補を含む候補テンプレートの画像データである。候補管理情報114には、登録された目標候補を管理するための情報が設定される。候補保存メモリ管理情報115には、追跡対象の目標候補の追跡に用いる候補テンプレートを管理するための情報が設定される。各情報の詳細は後述する。   The storage unit 110 is a storage unit that stores various types of information, and stores an input image 111, a target template 112, a candidate template 113, candidate management information 114, and candidate storage memory management information 115. The input image 111 is image data captured by a camera. The target template 112 is image data of a template including a target shape to be detected. The candidate template 113 is image data of a candidate template including a target candidate that is stored in association with the target candidate every time a target candidate is newly registered. In the candidate management information 114, information for managing registered target candidates is set. Information for managing candidate templates used for tracking target candidates to be tracked is set in the candidate storage memory management information 115. Details of each information will be described later.

目標候補検出部120は、テンプレートマッチング処理部121と、候補情報設定部122とを有する目標候補検出手段である。テンプレートマッチング処理部121は、入力画像111と目標テンプレート112を読み出し、テンプレートマッチングを行う。たとえば、入力画像のブロックの画素と、テンプレートの画素との差分絶対値を計算し、その差分絶対値のブロック内総和を計算して画像相関を算出する。そして、算出結果に基づいて、所定の基準を超えた分割画像に含まれる物体を目標候補とする。目標候補が検出されたブロックは、候補情報設定部122に通知される。候補情報設定部122は、通知された目標候補が新たに検出された目標候補であるかどうかを判定し、判定結果に応じて候補管理情報114を設定する。新たに検出された目標候補であれば、この目標候補に新規IDを付与し、候補管理情報114に新規登録する。新たに検出された目標候補でない場合は、一致する既登録の目標候補を検索し、検索された目標候補に関する登録情報を更新する。ここでは、目標候補として検出されたことを示す検出カウンタをインクリメントする。   The target candidate detection unit 120 is a target candidate detection unit having a template matching processing unit 121 and a candidate information setting unit 122. The template matching processing unit 121 reads the input image 111 and the target template 112 and performs template matching. For example, the difference absolute value between the pixel of the block of the input image and the pixel of the template is calculated, and the sum of the difference absolute value in the block is calculated to calculate the image correlation. Based on the calculation result, an object included in a divided image exceeding a predetermined reference is set as a target candidate. The block in which the target candidate is detected is notified to the candidate information setting unit 122. The candidate information setting unit 122 determines whether the notified target candidate is a newly detected target candidate, and sets the candidate management information 114 according to the determination result. If it is a newly detected target candidate, a new ID is assigned to this target candidate and newly registered in the candidate management information 114. If it is not a newly detected target candidate, a matching registered target candidate is searched, and registration information relating to the searched target candidate is updated. Here, a detection counter indicating that the target candidate has been detected is incremented.

候補追跡部130は、トラッキング処理部131と、管理情報更新部132とを有する候補追跡手段である。トラッキング処理部131の追跡処理は、目標候補ごとに設定される候補テンプレート113を読み出し、入力画像111のブロックとパターンマッチングを行って、目標候補が検出されるブロックを探索して行う。その追跡結果は、管理情報更新部132に通知する。管理情報更新部132は、トラッキング処理部131の追跡結果に基づき、追跡が可能であった目標候補に関し、候補管理情報114の該当する情報を更新する。ここでは、追跡できたことを示す追跡カウンタをインクリメントする。追跡ができなかったときは、この目標候補を候補管理情報114から削除する。   The candidate tracking unit 130 is a candidate tracking unit that includes a tracking processing unit 131 and a management information update unit 132. The tracking processing of the tracking processing unit 131 is performed by reading the candidate template 113 set for each target candidate, performing pattern matching with the block of the input image 111, and searching for a block in which the target candidate is detected. The tracking result is notified to the management information update unit 132. Based on the tracking result of the tracking processing unit 131, the management information updating unit 132 updates the corresponding information in the candidate management information 114 regarding the target candidate that can be tracked. Here, a tracking counter indicating that the tracking has been performed is incremented. When the tracking cannot be performed, the target candidate is deleted from the candidate management information 114.

目標特定部140は、目標特定手段である。記憶部110に格納される候補管理情報114を読み出し、候補管理情報114に基づいて、登録されている目標候補の中から目標を特定する。ここでは、目標候補の検出カウンタと追跡カウンタとが、所定の閾値を超えたとき、この目標候補を目標に特定する。   The target specifying unit 140 is a target specifying unit. The candidate management information 114 stored in the storage unit 110 is read, and a target is specified from the registered target candidates based on the candidate management information 114. Here, when the target candidate detection counter and the tracking counter exceed a predetermined threshold, the target candidate is specified as a target.

次に、候補管理情報114及び候補保存メモリ管理情報115から成る管理情報について説明する。図5は、管理情報の一例を示した図である。(A)は、候補管理情報の一例を示した図である。(B)は、候補保存メモリ管理情報の一例を示した図である。   Next, management information including candidate management information 114 and candidate storage memory management information 115 will be described. FIG. 5 is a diagram showing an example of management information. (A) is a figure showing an example of candidate management information. (B) is a figure showing an example of candidate storage memory management information.

(A)の候補管理情報は、候補番号(ID)1140a、入力画像内での位置(座標)1140b、候補保存メモリ内のブロック番号1140c、追跡カウント1140d、検出カウント1140e、及び次の候補データへのポインタ1140fの各情報項目を有する。   The candidate management information of (A) includes candidate number (ID) 1140a, position (coordinates) 1140b in the input image, block number 1140c in the candidate storage memory, tracking count 1140d, detection count 1140e, and the next candidate data. Each pointer 1140f.

候補番号(ID)1140aには、目標候補検出部120が目標候補を新たに検出したときに付与する一意の識別番号が格納される。入力画像内での位置(座標)1140bには、目標候補が検出された画像ブロックの入力画像上の位置を示す座標が格納される。たとえば、各ブロックの左上の頂点の座標が、ブロックの位置座標として設定される。候補保存メモリ内のブロック番号1140cには、目標候補の追跡に使用する候補テンプレートが格納される保存メモリの番号が格納される。追跡カウント1140dには、候補追跡部130が追跡対象の目標候補の追跡が可能であったときにインクリメントされるカウンタのカウント値が格納される。検出カウント1140eには、目標候補検出部120が、この目標候補を検出したときにインクリメントされるカウンタのカウント値が格納される。次の候補データへのポインタ1140fには、目標候補として登録されている次のIDの目標候補に関する候補管理情報が格納されるメモリを指示するポインタが格納される。この目標候補が最後であるときは、空コード(NULL)が設定される。   The candidate number (ID) 1140a stores a unique identification number assigned when the target candidate detection unit 120 newly detects a target candidate. The position (coordinates) 1140b in the input image stores coordinates indicating the position on the input image of the image block in which the target candidate is detected. For example, the coordinates of the upper left vertex of each block are set as the position coordinates of the block. The block number 1140c in the candidate storage memory stores the number of the storage memory in which the candidate template used for tracking the target candidate is stored. The tracking count 1140d stores a count value of a counter that is incremented when the candidate tracking unit 130 can track a target candidate to be tracked. The detection count 1140e stores a count value of a counter that is incremented when the target candidate detection unit 120 detects the target candidate. The pointer to the next candidate data 1140f stores a pointer that points to a memory in which candidate management information related to the target candidate of the next ID registered as the target candidate is stored. When this target candidate is the last, a null code (NULL) is set.

(B)の候補保存メモリ管理情報は、インデックス1150a、候補テンプレートを保存するブロックの座標データ1150b、及び使用中フラグ1150cの各情報項目を有する。   The candidate storage memory management information of (B) includes information items of an index 1150a, coordinate data 1150b of a block storing a candidate template, and a busy flag 1150c.

インデックス1150aは、候補テンプレートの画像データを格納するために用意されたブロックを指示する。ここでは簡単のため、入力画像のブロック番号B1,B2,・・・,Bn(nは任意の整数)の番号に対応し、同サイズの候補テンプレート保存用のブロックが用意されているとする。入力画像のブロックと区別するため、b1,b2,・・・,bnと表記する。ブロックの座標データ1150bは、各ブロック(b1,b2,・・・,bn)の位置を示す座標が格納される。入力画像のブロックと同様に、各ブロックの左上の頂点の座標を位置座標とする。使用中フラグ1150cは、対応するブロックが候補テンプレート保存領域として使用されているかどうかを示すフラグである。使用中であれば1、使用中でなければ0が設定される。また、ブロックが存在しないときは、空コードが設定される。   The index 1150a indicates a block prepared for storing the image data of the candidate template. Here, for the sake of simplicity, assume that candidate template storage blocks of the same size are prepared corresponding to the block numbers B1, B2,..., Bn (n is an arbitrary integer) of the input image. In order to distinguish from the blocks of the input image, they are denoted as b1, b2,. The block coordinate data 1150b stores coordinates indicating the position of each block (b1, b2,..., Bn). Similar to the block of the input image, the coordinates of the upper left vertex of each block are set as the position coordinates. The in-use flag 1150c is a flag indicating whether or not the corresponding block is used as a candidate template storage area. Set to 1 if in use, 0 if not in use. If no block exists, an empty code is set.

以上の管理情報を参照して、目標候補検出処理、候補追跡処理、及び目標特定処理が実行される。
具体例を用いて上記各処理部による画像目標検出追跡処理について説明する。図6は、入力画像と目標テンプレートの一例を示した図である。
The target candidate detection process, candidate tracking process, and target specifying process are executed with reference to the above management information.
The image target detection tracking process by each processing unit will be described using a specific example. FIG. 6 is a diagram illustrating an example of an input image and a target template.

図の例では、入力画像1110を、行方向に8、列方向に7のブロックに分割している。便宜的に、入力画像1110の左上のブロックをブロック1(以下、B1とする)1111とし、行方向にB2,B3,・・・,B8と番号を割り当て、次以降も同様に、左端のブロックを全行の最後の番号の次の番号として、順に番号を割り当てる。   In the illustrated example, the input image 1110 is divided into 8 blocks in the row direction and 7 blocks in the column direction. For convenience, the upper left block of the input image 1110 is referred to as block 1 (hereinafter referred to as B1) 1111 and numbers B2, B3,..., B8 are assigned in the row direction. Are sequentially assigned as the numbers next to the last number in all rows.

目標候補検出部120では、テンプレートマッチング処理部121が、ブロックと同サイズの目標テンプレート1120の画像と、各ブロックの画像との相関を算出する。たとえば、B1から順に、ブロック番号の順にB56まで目標テンプレート1120の画像との相関を算出する。そして、算出結果が所定の基準値を超えたブロックに含まれる物体を目標候補とする。図の例では、テンプレートマッチング処理部121は、ブロックT1(1112)から目標候補1、ブロックT2(1113)から目標候補2、及びブロックT3(1114)から目標候補3を検出し、T1(1112)のブロック座標(x1,y1)、T2(1113)のブロック座標(x2,y2)、及びT3(1114)のブロック座標(x3,y3)が候補情報設定部122に通知される。   In the target candidate detection unit 120, the template matching processing unit 121 calculates the correlation between the image of the target template 1120 having the same size as the block and the image of each block. For example, the correlation with the image of the target template 1120 is calculated from B1 to B56 in the order of block numbers. Then, an object included in a block whose calculation result exceeds a predetermined reference value is set as a target candidate. In the illustrated example, the template matching processing unit 121 detects target candidate 1 from block T1 (1112), target candidate 2 from block T2 (1113), and target candidate 3 from block T3 (1114), and T1 (1112). The block coordinates (x1, y1) of T2, the block coordinates (x2, y2) of T2 (1113), and the block coordinates (x3, y3) of T3 (1114) are notified to the candidate information setting unit 122.

候補情報設定部122は、通知に基づいて、候補管理情報114と、候補保存メモリ管理情報115を設定する。まず、これらの目標候補は、すべて新たに検出された目標候補であるとして、説明を続ける。   The candidate information setting unit 122 sets candidate management information 114 and candidate storage memory management information 115 based on the notification. First, description will be continued assuming that all of these target candidates are newly detected target candidates.

T1(1112)で検出された目標候補1に関する候補管理情報114について説明する。まず、目標候補1にID「1」が付与され、候補番号(ID)1140aに登録される。入力画像内での位置(座標)1140bに、T1(1112)の位置座標「(x1,y1)」が登録される。また、このT1(1112)の画像データを候補テンプレートとして、候補保存メモリに登録する。ここでは、候補保存メモリのブロックb1に登録するとし、候補保存メモリ内のブロック番号1140cに「1」を登録する。そして、候補保存メモリ管理情報115に基づいて、ブロックb1の座標データを読み出し、該当するメモリ領域にT1(1112)の画像データを格納し、使用中フラグ1150cを使用中「1」に設定する。さらに、追跡カウント1140dを「0」、検出カウント1140eを「1」に初期化する。次の候補データがあるときは、そのポインタをセットする。ここでは、T2(1113)で検出された目標候補2の候補管理情報を指示するポインタが、次の候補データへのポインタ1140fに登録される。   The candidate management information 114 related to the target candidate 1 detected at T1 (1112) will be described. First, ID “1” is assigned to the target candidate 1 and registered in the candidate number (ID) 1140a. The position coordinate “(x1, y1)” of T1 (1112) is registered in the position (coordinates) 1140b in the input image. The image data of T1 (1112) is registered in the candidate storage memory as a candidate template. Here, it is assumed that registration is performed in the block b1 of the candidate storage memory, and “1” is registered in the block number 1140c in the candidate storage memory. Based on the candidate storage memory management information 115, the coordinate data of the block b1 is read out, the image data of T1 (1112) is stored in the corresponding memory area, and the in-use flag 1150c is set to “1” in use. Further, the tracking count 1140d is initialized to “0” and the detection count 1140e is initialized to “1”. When there is next candidate data, the pointer is set. Here, a pointer indicating the candidate management information of the target candidate 2 detected at T2 (1113) is registered in the pointer 1140f to the next candidate data.

T2(1113)で検出された目標候補2、及びT3(1114)で検出された目標候補についても同様の処理が行われる。
図7は、候補情報設定部の処理終了後の管理情報の一例を示した図である。(A)は候補管理情報の例、(B)は候補保存メモリ管理情報の例を示している。
Similar processing is performed for the target candidate 2 detected at T2 (1113) and the target candidate detected at T3 (1114).
FIG. 7 is a diagram illustrating an example of management information after the processing of the candidate information setting unit. (A) shows an example of candidate management information, and (B) shows an example of candidate storage memory management information.

(A)に示した候補管理情報の例は、目標候補1の候補管理情報1141、目標候補2の候補管理情報1142、及び目標候補3の候補管理情報1143が、ポインタによってリンクされる構造をとっている。   The example of candidate management information shown in (A) has a structure in which candidate management information 1141 for target candidate 1, candidate management information 1142 for target candidate 2, and candidate management information 1143 for target candidate 3 are linked by pointers. ing.

候補管理情報1141は、上述の通りである。なお、図では、追跡カウント及び検出カウントは、上記の説明の初期状態から更新された状態を示している。候補管理情報1142には、目標候補のID「2」、T2(1113)の位置座標「(x2,y2)」、候補保存メモリ内のブロック番号の「3」、及び追跡カウントと検出カウント、次目標候補の候補管理情報を指示するポインタが格納されている。候補管理情報1143には、目標候補のID「3」、T3(1114)の位置座標「(x3,y3)」、候補保存メモリ内のブロック番号の「4」、及び追跡カウントと検出カウントが格納されている。なお、次目標候補はないことから、次の候補データへのポインタは、空コードが設定されている。   The candidate management information 1141 is as described above. In the figure, the tracking count and the detection count indicate a state updated from the initial state described above. The candidate management information 1142 includes a target candidate ID “2”, a position coordinate “(x2, y2)” of T2 (1113), a block number “3” in the candidate storage memory, a tracking count and a detection count, A pointer for indicating candidate candidate candidate management information is stored. The candidate management information 1143 stores the target candidate ID “3”, the position coordinate “(x3, y3)” of T3 (1114), the block number “4” in the candidate storage memory, and the tracking count and detection count. Has been. Since there is no next target candidate, an empty code is set for the pointer to the next candidate data.

(B)に示した候補保存メモリ管理情報1150には、(A)の候補管理情報1141,1142,1143の候補保存メモリ内のブロック番号に登録されたブロック番号の候補保存メモリが使用中であることが示されている。具体的には、目標候補1の候補テンプレートの画像データが格納されるブロックb1、目標候補2の候補テンプレートの画像データが格納されるブロックb3、及び目標候補3の候補テンプレートの画像データが格納されるブロックb4に対応する使用中フラグが、使用中(「1」)に設定されている。   In the candidate storage memory management information 1150 shown in (B), the candidate storage memory of the block number registered in the block number in the candidate storage memory of the candidate management information 1141, 1142, 1143 in (A) is in use. It has been shown. Specifically, the block b1 storing the candidate template image data of the target candidate 1, the block b3 storing the candidate template image data of the target candidate 2, and the candidate template image data of the target candidate 3 are stored. The in-use flag corresponding to the block b4 is set to in use (“1”).

次に、候補管理情報1141,1142,1143の状態から候補追跡部130が行う処理について説明する。候補追跡部130は、目標候補1の候補管理情報1141から順に、リンク情報を辿って順次目標候補の追跡処理を行う。そして、次の候補データへのポインタに、空コードが検出された時点で処理を終了する。   Next, processing performed by the candidate tracking unit 130 from the state of the candidate management information 1141, 1142, 1143 will be described. The candidate tracking unit 130 sequentially performs target candidate tracking processing by following the link information in order from the candidate management information 1141 of the target candidate 1. Then, the process ends when an empty code is detected in the pointer to the next candidate data.

目標候補1の場合で説明する。トラッキング処理部131は、目標候補1の候補管理情報1141を読み出し、入力画像内での位置(座標)「(x1,y1)」に基づいて目標候補1の探索範囲を決める。探索範囲は、入力画像が更新される周期や、トラッキング処理の周期、検出対象の物体の推定移動速度などに応じて経験的に決められる。また、画像から検出対象の物体の移動速度を測定し、測定結果に基づいて検出範囲が適宜調整されるようにしてもよい。たとえば、目標候補が検出されたブロックに隣接するブロックを範囲とすると、目標候補1が検出されたT1(1112)と、その周辺のブロック、B9,B10,B11,B17,B19,B25,B26,B27が探索範囲になる。この探索範囲のブロックの画像と、候補管理情報1141の候補保存メモリ内のブロック番号で指示される目標候補1の候補テンプレートとのマッチングを行い、目標候補1を検出する。この場合の候補テンプレートは、目標候補1検出時に候補保存メモリのブロックb1に格納されたT1(1112)の画像データである。管理情報更新部132には、目標候補1が検出されたときは、検出されたブロック番号、またはその座標が通知され、検出されないときは検出不可が通知される。管理情報更新部132は、目標候補1が検出されたときは、通知されたブロックの座標を候補管理情報1141の入力画像内での位置(座標)に登録し、追跡カウントをインクリメントする。目標候補1が検出されなかったときは、目標候補1の登録を削除する。たとえば、目標候補1の候補管理情報1141を指示しているポインタを、目標候補2の候補管理情報1142に変更する。なお、ここでは、検出不可ですぐに目標候補から削除するとしたが、所定の期間検出不可のときに削除するとしてもよい。目標候補2、及び目標候補3について同様の処理が行われ、候補管理情報1142,1143が更新される。   The case of target candidate 1 will be described. The tracking processing unit 131 reads the candidate management information 1141 of the target candidate 1 and determines the search range of the target candidate 1 based on the position (coordinates) “(x1, y1)” in the input image. The search range is determined empirically in accordance with the period of updating the input image, the period of tracking processing, the estimated moving speed of the object to be detected, and the like. Further, the moving speed of the object to be detected may be measured from the image, and the detection range may be appropriately adjusted based on the measurement result. For example, when a block adjacent to a block in which a target candidate is detected is defined as a range, T1 (1112) in which target candidate 1 is detected and its neighboring blocks B9, B10, B11, B17, B19, B25, B26, B27 becomes the search range. The candidate image of the block in the search range is matched with the candidate template of the target candidate 1 indicated by the block number in the candidate storage memory of the candidate management information 1141, and the target candidate 1 is detected. The candidate template in this case is T1 (1112) image data stored in the block b1 of the candidate storage memory when the target candidate 1 is detected. When the target candidate 1 is detected, the management information update unit 132 is notified of the detected block number or its coordinates, and when not detected, the management information update unit 132 is notified of the detection failure. When the target candidate 1 is detected, the management information update unit 132 registers the notified block coordinates in the position (coordinates) in the input image of the candidate management information 1141 and increments the tracking count. When the target candidate 1 is not detected, the registration of the target candidate 1 is deleted. For example, the pointer indicating the candidate management information 1141 of the target candidate 1 is changed to the candidate management information 1142 of the target candidate 2. In this example, the target candidate is immediately deleted because it cannot be detected. However, the target candidate may be deleted when it cannot be detected for a predetermined period. Similar processing is performed for the target candidate 2 and the target candidate 3, and the candidate management information 1142 and 1143 are updated.

次に、目標候補検出部120の処理について説明する。テンプレートマッチング処理部121が、目標テンプレート1120を用いて、目標テンプレート1120との相関が所定の基準値を超えたブロックに含まれる物体を目標候補とし、検出されたブロックの座標が候補情報設定部122に通知されることは、上記と同様である。候補情報設定部122は、候補管理情報114に登録があるときは、通知されたブロックの座標と、既に登録されている目標候補に関する入力画像内での位置(座標)とを照合する。一致する候補管理情報が検出されたときは、この目標候補が検出されたと判断し、この候補管理情報の検出カウントをインクリメントする。一方、一致する候補管理情報が検出されなかったときは、新たな目標候補に設定し、候補管理情報に登録する。   Next, the process of the target candidate detection unit 120 will be described. Using the target template 1120, the template matching processing unit 121 sets an object included in a block whose correlation with the target template 1120 exceeds a predetermined reference value as a target candidate, and the coordinates of the detected block are the candidate information setting unit 122. It is the same as the above to be notified. When the candidate management information 114 is registered, the candidate information setting unit 122 collates the notified block coordinates with the position (coordinates) in the input image related to the already registered target candidate. When matching candidate management information is detected, it is determined that this target candidate has been detected, and the detection count of this candidate management information is incremented. On the other hand, when no matching candidate management information is detected, a new target candidate is set and registered in the candidate management information.

以上の処理が行われ、候補管理情報は更新されていく。目標特定部140は、候補管理情報を読み出し、目標候補ごとに検出カウント及び追跡カウントが所定の閾値を超えたかどうかを判定する。そして、所定の閾値を超えた目標候補を目標に特定する。なお、目標候補を目標として特定するための判定基準は、検出対象に応じて適宜設定することができる。たとえば、検出カウントと追跡カウントとの比率が一定値を超えたときといった判定基準や、条件に応じて判定基準を可変にするなどの判定ルールを設定してもよい。   The above processing is performed and the candidate management information is updated. The target identifying unit 140 reads the candidate management information and determines whether the detection count and the tracking count exceed a predetermined threshold for each target candidate. Then, target candidates that exceed a predetermined threshold are identified as targets. Note that a criterion for specifying a target candidate as a target can be appropriately set according to a detection target. For example, a determination rule such as when the ratio between the detection count and the tracking count exceeds a certain value, or a determination rule such as making the determination criterion variable according to conditions may be set.

図8は、目標特定までの処理の流れを目標候補の画像変化とともに示した図である。
図では、時刻1、時刻2、時刻3、時刻4と時間が経過していく。画像は、各目標候補の画像の変化を経過時間とともに示したものである。たとえば、目標候補1の画像は、時刻1では画像301、時刻2では画像311、時刻3では画像321、時刻4では画像331の状態になる。目標候補2の画像は、時刻1では画像302、時刻2では画像312、時刻3では画像322、時刻4では画像332の状態になる。そして、目標候補3は、時刻1では画像303、時刻2では画像313、時刻3では画像323の状態になる。
FIG. 8 is a diagram showing a flow of processing up to target specification together with image changes of target candidates.
In the figure, time 1, time 2, time 3, and time 4 have elapsed. The image shows a change in the image of each target candidate along with the elapsed time. For example, the image of target candidate 1 is in the state of image 301 at time 1, image 311 at time 2, image 321 at time 3, and image 331 at time 4. The image of the target candidate 2 is in the state of an image 302 at time 1, an image 312 at time 2, an image 322 at time 3, and an image 332 at time 4. The target candidate 3 is in the state of an image 303 at time 1, an image 313 at time 2, and an image 323 at time 3.

まず、時刻1において、目標候補検出部120によって、目標候補1、目標候補2、及び目標候補3が初めて検出されたとする。このときの目標候補の探索は、目標テンプレート1120を用いて行われる。このとき目標候補が検出された画像、すなわち、目標候補1の画像301、目標候補2の画像302、及び目標候補3の画像303は、それぞれの目標候補の候補テンプレートとして登録される。   First, it is assumed that target candidate detection unit 120 detects target candidate 1, target candidate 2, and target candidate 3 for the first time at time 1. The search for the target candidate at this time is performed using the target template 1120. At this time, the images in which the target candidates are detected, that is, the target candidate 1 image 301, the target candidate 2 image 302, and the target candidate 3 image 303 are registered as candidate templates for the respective target candidates.

時刻2における動作について説明する。目標候補1の時刻1における画像301は、時刻2において画像311の状態に変化するが、候補追跡部130によって目標候補1として検出される。目標候補2の時刻1における画像302は、時刻2においても画像312の状態と変化は少なく、候補追跡部130によって目標候補2として検出される。そして、目標候補3の時刻1における画像303は、時刻2において画像313の状態に変化するが、候補追跡部130によって目標候補3として検出される。   The operation at time 2 will be described. The image 301 of the target candidate 1 at time 1 changes to the state of the image 311 at time 2, but is detected as the target candidate 1 by the candidate tracking unit 130. The image 302 of the target candidate 2 at time 1 is little changed from the state of the image 312 at time 2 and is detected as the target candidate 2 by the candidate tracking unit 130. Then, the image 303 of the target candidate 3 at time 1 changes to the state of the image 313 at time 2, but is detected as the target candidate 3 by the candidate tracking unit 130.

時刻3における動作について説明する。目標候補1の時刻2における画像311は、時刻3において画像321の状態に変化するが、候補追跡部130によって目標候補1として検出される。目標候補2の時刻2における画像312は、時刻3においても画像322の状態と変化は少なく、候補追跡部130によって目標候補2として検出される。そして、目標候補3の時刻2における画像313は、時刻3において画像323の状態に変化するため、候補追跡部130は目標候補3の検出ができない。この結果、追跡不能となり、目標候補3は目標候補から削除される。   The operation at time 3 will be described. The image 311 of the target candidate 1 at time 2 changes to the state of the image 321 at time 3, but is detected as the target candidate 1 by the candidate tracking unit 130. The image 312 of the target candidate 2 at time 2 has little change in the state of the image 322 at time 3 and is detected as the target candidate 2 by the candidate tracking unit 130. Then, since the image 313 of the target candidate 3 at time 2 changes to the state of the image 323 at time 3, the candidate tracking unit 130 cannot detect the target candidate 3. As a result, tracking becomes impossible and the target candidate 3 is deleted from the target candidates.

時刻4における動作について説明する。目標候補1の時刻3における画像321は、時刻4において画像331の状態に変化し、候補追跡部130では目標候補1の検出ができない。このため、追跡不能となり、目標候補1についても、目標候補から削除される。目標候補2の時刻3における画像322は、時刻4においても画像332の状態と変化は少なく、候補追跡部130によって目標候補2として検出される。   The operation at time 4 will be described. The image 321 of the target candidate 1 at time 3 changes to the state of the image 331 at time 4, and the candidate tracking unit 130 cannot detect the target candidate 1. For this reason, tracking becomes impossible and target candidate 1 is also deleted from the target candidates. The image 322 of the target candidate 2 at time 3 has little change in the state of the image 332 at time 4 and is detected as the target candidate 2 by the candidate tracking unit 130.

以上の処理が行われることにより、波頭などによって一時的に発生する目標候補(目標候補1及び目標候補3)は、波頭の消滅とともに消え、目標候補からも外される。そして、継続的、かつ安定的に検出された目標候補2が目標に特定される。   By performing the above processing, the target candidates (target candidate 1 and target candidate 3) that are temporarily generated due to a wavefront or the like disappear as the wavefront disappears and are also removed from the target candidates. Then, the target candidate 2 detected continuously and stably is specified as the target.

なお、上記の説明では、目標候補検出部120の動作について省略したが、目標候補検出部120の検出結果を加味することによって、より正確に目標を特定することが可能になる。   In the above description, the operation of the target candidate detection unit 120 is omitted. However, by adding the detection result of the target candidate detection unit 120, the target can be specified more accurately.

次に、画像目標検出追跡装置が行う画像目標検出追跡方法についてフローチャートを用いて説明する。
図9は、画像目標検出追跡方法の処理手順の全体を示したフローチャートである。
Next, an image target detection and tracking method performed by the image target detection and tracking apparatus will be described using a flowchart.
FIG. 9 is a flowchart showing the entire processing procedure of the image target detection and tracking method.

所定の周期で処理が開始される。
[ステップS01] カメラが撮影した画像データを入力する。
[ステップS02] 候補管理情報を読み出し、候補管理情報に目標候補が登録されているかどうかを調べる。目標候補が登録されているときは、処理をステップS03に進める。目標候補が登録されていないときは、処理をステップS04に進める。
Processing is started at a predetermined cycle.
[Step S01] Image data captured by the camera is input.
[Step S02] The candidate management information is read out, and it is checked whether or not the target candidate is registered in the candidate management information. If the target candidate is registered, the process proceeds to step S03. If the target candidate is not registered, the process proceeds to step S04.

[ステップS03] 目標候補が登録されているときは、候補管理情報に基づいて、入力画像から目標候補を検出して、目標候補を追跡する追跡処理を行う。詳細は後述する。
[ステップS04] 目標候補が登録されていないとき、あるいは、目標候補の追跡処理が終了したときは、入力画像から目標候補を検出する目標候補検出処理を行う。詳細は後述する。
[Step S03] When the target candidate is registered, the target candidate is detected from the input image based on the candidate management information, and tracking processing for tracking the target candidate is performed. Details will be described later.
[Step S04] When the target candidate is not registered, or when the target candidate tracking process is completed, the target candidate detection process for detecting the target candidate from the input image is performed. Details will be described later.

[ステップS05] ステップS03の目標候補追跡処理と、ステップS04の目標候補検出処理とに基づいて、目標候補の中から目標を特定する。
各処理について説明する。
[Step S05] Based on the target candidate tracking process in step S03 and the target candidate detection process in step S04, a target is specified from the target candidates.
Each process will be described.

図10は、目標候補追跡処理の処理手順を示したフローチャートである。
[ステップS31] 処理を行う対象の目標候補n(nは任意の整数)を、目標候補1に初期化する。
FIG. 10 is a flowchart showing a processing procedure for target candidate tracking processing.
[Step S31] A target candidate n (n is an arbitrary integer) to be processed is initialized to a target candidate 1.

[ステップS32] 目標候補nの追跡処理を行う。具体的には、候補管理情報に基づいて、目標候補nが検出された入力画像内での位置(座標)で示される周辺ブロックの画像と、候補保存メモリ内のブロック番号によって示される候補テンプレートの画像とのマッチングを行って、目標候補を追跡する。   [Step S32] The target candidate n is tracked. Specifically, based on the candidate management information, an image of a peripheral block indicated by a position (coordinates) in the input image where the target candidate n is detected, and a candidate template indicated by a block number in the candidate storage memory The target candidate is tracked by matching with the image.

[ステップS33] 目標候補が追跡可であったかどうかを判定する。追跡可のときは、処理をステップS34に進める。追跡不可のときは、処理をステップS35に進める。
[ステップS34] 目標候補が追跡可のときは、目標候補nの追跡カウントをインクリメントし、処理をステップS36に進める。
[Step S33] It is determined whether the target candidate is traceable. If tracking is possible, the process proceeds to step S34. If tracking is impossible, the process proceeds to step S35.
[Step S34] If the target candidate is traceable, the tracking count of the target candidate n is incremented, and the process proceeds to step S36.

[ステップS35] 目標候補が追跡不可のときは、目標候補nを目標候補から削除する。
[ステップS36] 全候補が終了したかどうかを判定する。終了したときは、処理を終了する。終了していないときは、nを1進め、ステップS32に戻って次の目標候補に対する処理を行う。
[Step S35] When the target candidate cannot be tracked, the target candidate n is deleted from the target candidates.
[Step S36] It is determined whether all candidates have been completed. When finished, the process ends. If not completed, n is incremented by 1, and the process returns to step S32 to process the next target candidate.

以上の処理手順が実行されることにより、目標候補が追跡される。そして、追跡不可となった目標候補は、候補から削除される。これにより、一時的に発生する検出対象と似た形状を持つ物体を目標から除外することができる。   The target candidate is tracked by executing the above processing procedure. Then, the target candidate that cannot be tracked is deleted from the candidates. Thereby, an object having a shape similar to a detection target that occurs temporarily can be excluded from the target.

図11は、目標候補検出処理の処理手順を示したフローチャートである。
[ステップS41] 処理を行う対象の入力画像のブロック番号m(mは任意の整数)を、B1に初期化する。
FIG. 11 is a flowchart showing a processing procedure of target candidate detection processing.
[Step S41] The block number m (m is an arbitrary integer) of the input image to be processed is initialized to B1.

[ステップS42] 入力画像のブロックBmの画像と、目標テンプレートの画像との相関を算出する。
[ステップS43] ステップS42で算出された相関値が基準値以上であるかどうかを判定する。基準値を超えているときは、処理をステップS44に進める。基準値を超えていないときは、処理をステップS48に進める。
[Step S42] The correlation between the image of the block Bm of the input image and the image of the target template is calculated.
[Step S43] It is determined whether the correlation value calculated in step S42 is greater than or equal to a reference value. If it exceeds the reference value, the process proceeds to step S44. If it does not exceed the reference value, the process proceeds to step S48.

[ステップS44] 相関値が基準値を超えているときは、このブロック番号mを、既に候補管理情報に登録された既目標候補の入力画像内での位置(座標)と照合する。一致していれば、一致した目標候補の画像であると判定する。一致していないときは、新規候補であると判定する。   [Step S44] When the correlation value exceeds the reference value, this block number m is collated with the position (coordinates) in the input image of the already-targeted candidate already registered in the candidate management information. If they match, it is determined that the images are matched target candidates. If they do not match, it is determined to be a new candidate.

[ステップS45] ブロックBmの物体が新規候補であるかどうかを判定する。新規候補であるときは、処理をステップS46に進める。新規候補でないときは、処理をステップS47に進める。   [Step S45] It is determined whether the object of the block Bm is a new candidate. If it is a new candidate, the process proceeds to step S46. If it is not a new candidate, the process proceeds to step S47.

[ステップS46] ブロックBmの物体が新規候補のときは、目標候補として候補管理情報に登録を追加し、処理をステップS48に進める。
[ステップS47] ブロックBmの物体が新規候補でないときは、ステップS43で検出されたブロックmと入力画像内での位置(座標)が同じ目標候補の検出カウントをインクリメントする。
[Step S46] If the object in the block Bm is a new candidate, registration is added to the candidate management information as a candidate candidate, and the process proceeds to step S48.
[Step S47] When the object of the block Bm is not a new candidate, the detection count of the target candidate having the same position (coordinates) in the input image as the block m detected in step S43 is incremented.

[ステップS48] 入力画像の全ブロックが終了したかどうかを判定する。終了したときは、処理を終了する。終了していないときは、mを1進め、ステップS42に戻って次のブロックに対する処理を行う。   [Step S48] It is determined whether all blocks of the input image have been completed. When finished, the process ends. If not completed, m is advanced by 1, and the process returns to step S42 to process the next block.

以上の処理手順が実行されることにより、新たな目標候補が検出される。また、既登録の目標候補については、目標テンプレートとのマッチングがとれるかどうかが検出される。   By executing the above processing procedure, a new target candidate is detected. For registered target candidates, whether or not matching with the target template can be detected is detected.

図12は、目標特定処理の処理手順を示したフローチャートである。
[ステップS51] 処理を行う対象の目標候補nを、目標候補1に初期化する。
[ステップS52] 目標候補nに関する候補管理情報から、目標候補nの検出カウントと追跡カウントとを読み出す。
FIG. 12 is a flowchart showing the processing procedure of the target specifying process.
[Step S51] The target candidate n to be processed is initialized to the target candidate 1.
[Step S52] The detection count and tracking count of the target candidate n are read from the candidate management information related to the target candidate n.

[ステップS53] 読み出した検出カウントと、追跡カウントとを評価する。たとえば、検出カウントと、追跡カウントとが、予め決められた閾値を超えているかどうかが評価される。   [Step S53] The detected detection count and the tracking count are evaluated. For example, it is evaluated whether the detection count and the tracking count exceed a predetermined threshold.

[ステップS54] ステップS53における評価の結果、目標候補nが目標に特定可であるどうかを判定する。目標に特定できるときは、処理をステップS55に進める。目標に特定できないときは、処理をステップS56に進める。   [Step S54] As a result of the evaluation in step S53, it is determined whether the target candidate n can be specified as a target. If the target can be specified, the process proceeds to step S55. If the target cannot be specified, the process proceeds to step S56.

[ステップS55] 目標候補nを目標に特定できるときは、目標候補nを目標に設定する。
[ステップS56] 全候補が終了したかどうかを判定する。終了したときは、処理を終了する。終了していないときは、nを1進め、ステップS52に戻って次の目標候補に対する処理を行う。
[Step S55] When the target candidate n can be specified as the target, the target candidate n is set as the target.
[Step S56] It is determined whether all candidates have been completed. When finished, the process ends. If not completed, n is advanced by 1, and the process returns to step S52 to process the next target candidate.

以上の処理手順が行われることにより、継続的に追跡可能で、安定して検出できた目標候補が目標に特定される。
なお、上記の処理機能は、コンピュータによって実現することができる。その場合、画像目標検出追跡装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記録装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(ReWritable)などがある。光磁気記録媒体には、MO(Magneto-Optical disk)などがある。
By performing the above processing procedure, target candidates that can be continuously tracked and detected stably are identified as targets.
The above processing functions can be realized by a computer. In that case, a program describing the processing contents of the functions that the image target detection and tracking apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Optical disks include DVD (Digital Versatile Disc), DVD-RAM, CD-ROM (Compact Disc Read Only Memory), CD-R (Recordable) / RW (ReWritable), and the like. Magneto-optical recording media include MO (Magneto-Optical disk).

プログラムを流通させる場合には、たとえば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When distributing the program, for example, portable recording media such as a DVD and a CD-ROM in which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、たとえば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

(付記1) 入力画像から目標を検出して追跡する画像目標検出追跡装置において、
目標の物体を含むテンプレートの画像が格納されるテンプレート記憶手段から前記テンプレートを読み出し、前記テンプレートと前記入力画像を所定の単位で分割した分割画像との相関を算出し、算出結果が所定の基準値を超えた前記分割画像に含まれる物体を目標候補に登録する目標候補検出手段と、
前記目標候補ごとに、前記目標候補を追跡対象として、前記目標候補が新たに検出された入力画像または前記目標候補の追跡に用いた入力画像より後に撮影された直近の入力画像に含まれる前記追跡対象の目標候補を探索し、前記追跡対象の目標候補が探索できたときは前記追跡対象の目標候補の追跡を継続し、前記追跡対象の目標候補が探索できなかったときは前記追跡対象の目標を前記目標候補から削除する候補追跡手段と、
前記目標候補が予め決められた所定の期間、前記候補追跡手段によって継続して追跡され、かつ、前記目標候補検出手段によって前記目標候補として検出されたときは、前記目標候補を目標として特定する目標特定手段と、
を有することを特徴とする画像目標検出追跡装置。
(Supplementary Note 1) In an image target detection and tracking device that detects and tracks a target from an input image,
The template is read from a template storage unit that stores a template image including a target object, a correlation between the template and a divided image obtained by dividing the input image by a predetermined unit is calculated, and the calculation result is a predetermined reference value Target candidate detection means for registering an object included in the divided image exceeding the target candidate;
For each target candidate, with the target candidate as a tracking target, the tracking included in the input image in which the target candidate is newly detected or the latest input image taken after the input image used for tracking the target candidate The target candidate for the target is searched, and when the target candidate for the tracking target can be searched, the tracking of the target candidate for the tracking target is continued, and when the target candidate for the tracking target cannot be searched, the target of the tracking target Candidate tracking means for deleting from the target candidates,
A target that identifies the target candidate as a target when the target candidate is continuously tracked by the candidate tracking unit for a predetermined period and is detected as the target candidate by the target candidate detection unit Specific means,
An image target detection and tracking device comprising:

(付記2) 前記目標候補検出手段は、前記目標候補に登録した前記物体が含まれていた前記分割画像を候補テンプレートとして候補テンプレート記憶手段に格納し、
前記候補追跡手段は、前記候補テンプレート記憶手段に格納される前記候補テンプレートを読み出し、前記直近の入力画像を所定の単位で分割した分割画像と前記候補テンプレートとの相関に基づいて前記追跡対象の目標候補を探索する、
ことを特徴とする付記1記載の画像目標検出追跡装置。
(Additional remark 2) The said target candidate detection means stores the said divided image in which the said object registered into the said target candidate was contained in a candidate template memory | storage means as a candidate template,
The candidate tracking unit reads the candidate template stored in the candidate template storage unit, and based on the correlation between the divided image obtained by dividing the most recent input image by a predetermined unit and the candidate template, the target to be tracked Search for candidates,
The image target detection and tracking device according to appendix 1, wherein:

(付記3) 前記候補追跡手段は、前記追跡対象の目標候補の探索範囲を、前回前記追跡対象の目標候補が検出された前記分割画像の前記入力画像上の位置を中心として予め決められた範囲にある前記分割画像に限定して前記目標候補の探索を行うことを特徴とする付記2記載の画像目標検出追跡装置。   (Additional remark 3) The said candidate tracking means is a range previously determined centering on the position on the said input image of the said division | segmentation image from which the target candidate of the said tracking target was detected the search range of the target candidate of the said tracking target The image target detection and tracking device according to appendix 2, wherein the target candidate is searched only for the divided image.

(付記4) 前記候補追跡手段は、前記追跡対象の目標候補が検出された前記分割画像の前記入力画像上の位置を前記追跡対象の目標候補に関連付けて記憶しておき、
前記目標候補検出手段は、前記目標候補を検出したときは、前記目標候補が検出された前記分割画像の前記入力画像上の位置が、前記候補追跡手段によって前記追跡対象の目標候補が検出された前記分割画像の前記入力画像上の位置と一致するかどうかを判定し、位置が一致する前記追跡対象の目標候補があったときは、前記目標候補は前記追跡対象の目標候補であると判定し、位置が一致する前記追跡対象の目標候補がなかったときは、前記目標候補を新たな目標候補として登録する、
ことを特徴とする付記2記載の画像目標検出追跡装置。
(Supplementary Note 4) The candidate tracking unit stores a position on the input image of the divided image where the target candidate of the tracking target is detected in association with the target candidate of the tracking target,
When the target candidate detecting means detects the target candidate, the position on the input image of the divided image from which the target candidate is detected is detected by the candidate tracking means. It is determined whether or not the position of the divided image matches the position on the input image. When there is a target candidate for tracking that matches the position, the target candidate is determined to be the target candidate for tracking. When there is no tracking target candidate whose position matches, the target candidate is registered as a new target candidate.
The image target detection and tracking device according to Supplementary Note 2, wherein

(付記5) 前記目標候補検出手段は、前記目標候補が検出されるごとに該目標候補に関する検出カウンタを更新し、
前記候補追跡手段は、前記追跡対象の目標候補が検出されるごとに該目標候補に関する追跡カウンタを更新し、
前記目標特定手段は、前記目標候補ごとに、前記目標候補に関する前記検出カウンタの値と前記追跡カウンタの値とを読み出し、前記検出カウンタの値と前記追跡カウンタの値とが所定の閾値を超えたとき、前記目標候補を前記目標に特定する、
ことを特徴とする付記1記載の画像目標検出追跡装置。
(Additional remark 5) The said target candidate detection means updates the detection counter regarding this target candidate, whenever the said target candidate is detected,
The candidate tracking unit updates a tracking counter related to the target candidate every time the target candidate to be tracked is detected,
The target specifying unit reads out the value of the detection counter and the value of the tracking counter for the target candidate for each target candidate, and the value of the detection counter and the value of the tracking counter exceed a predetermined threshold value. When the target candidate is identified as the target,
The image target detection and tracking device according to appendix 1, wherein:

(付記6) 入力画像から目標を検出して追跡する画像目標検出追跡装置において、
目標候補検出手段が、目標の物体を含むテンプレートの画像が格納されるテンプレート記憶手段から前記テンプレートを読み出し、前記テンプレートと前記入力画像を所定の単位で分割した分割画像との相関を算出し、算出結果が所定の基準値を超えた前記分割画像に含まれる物体を目標候補に登録し、
候補追跡手段が、前記目標候補ごとに、前記目標候補を追跡対象として、前記目標候補が新たに検出された入力画像または前記目標候補の追跡に用いた入力画像より後に撮影された直近の入力画像に含まれる前記追跡対象の目標候補を探索し、前記追跡対象の目標候補が探索できたときは前記追跡対象の目標候補の追跡を継続し、前記追跡対象の目標候補が探索できなかったときは前記追跡対象の目標候補を前記目標候補から削除し、
目標特定手段が、前記目標候補が予め決められた所定の期間、前記候補追跡手段によって継続して追跡され、かつ、前記目標候補検出手段によって前記目標候補として検出されたときは、前記目標候補を目標として特定する、
手順を有することを特徴とする画像目標検出追跡方法。
(Additional remark 6) In the image target detection tracking apparatus which detects and tracks a target from an input image,
A target candidate detecting unit reads the template from a template storage unit that stores a template image including a target object, calculates a correlation between the template and a divided image obtained by dividing the input image by a predetermined unit, and calculates Register an object included in the divided image whose result exceeds a predetermined reference value as a target candidate,
For each target candidate, the candidate tracking means uses the target candidate as a tracking target, the input image in which the target candidate is newly detected or the latest input image taken after the input image used for tracking the target candidate When the target candidate for tracking included in the search target candidate is searched and the target candidate for tracking target can be searched, the tracking of the target candidate for tracking target is continued, and when the target candidate for tracking target cannot be searched Deleting the target candidate to be tracked from the target candidate;
When the target identification means is continuously tracked by the candidate tracking means for a predetermined period determined in advance and is detected as the target candidate by the target candidate detection means, the target candidate is Identify as goals,
An image target detection and tracking method comprising a procedure.

(付記7) 入力画像から目標を検出して追跡するための画像目標検出追跡プログラムにおいて、
コンピュータを、
目標の物体を含むテンプレートの画像が格納されるテンプレート記憶手段から前記テンプレートを読み出し、前記テンプレートと前記入力画像を所定の単位で分割した分割画像との相関を算出し、算出結果が所定の基準値を超えた前記分割画像に含まれる物体を目標候補に登録する目標候補検出手段、
前記目標候補ごとに、前記目標候補を追跡対象として、前記目標候補が新たに検出された入力画像または前記目標候補の追跡に用いた入力画像より後に撮影された直近の入力画像に含まれる前記追跡対象の目標候補を探索し、前記追跡対象の目標候補が探索できたときは前記追跡対象の目標候補の追跡を継続し、前記追跡対象の目標候補が探索できなかったときは前記追跡対象の目標候補を前記目標候補から削除する候補追跡手段、
前記目標候補が予め決められた所定の期間、前記候補追跡手段によって継続して追跡され、かつ、前記目標候補検出手段によって前記目標候補として検出されたときは、前記目標候補を目標として特定する目標特定手段、
として機能させることを特徴とする画像目標検出追跡プログラム。
(Supplementary Note 7) In an image target detection and tracking program for detecting and tracking a target from an input image,
Computer
The template is read from a template storage unit that stores a template image including a target object, a correlation between the template and a divided image obtained by dividing the input image by a predetermined unit is calculated, and the calculation result is a predetermined reference value Target candidate detecting means for registering an object included in the divided image exceeding the target candidate,
For each target candidate, with the target candidate as a tracking target, the tracking included in the input image in which the target candidate is newly detected or the latest input image taken after the input image used for tracking the target candidate The target candidate for the target is searched, and when the target candidate for the tracking target can be searched, the tracking of the target candidate for the tracking target is continued, and when the target candidate for the tracking target cannot be searched, the target of the tracking target Candidate tracking means for deleting candidates from the target candidates;
A target that identifies the target candidate as a target when the target candidate is continuously tracked by the candidate tracking unit for a predetermined period and is detected as the target candidate by the target candidate detection unit Specific means,
An image target detection and tracking program characterized in that it functions as a computer program.

実施の形態の画像目標検出追跡装置の構成図である。It is a block diagram of the image target detection tracking apparatus of embodiment. 撮影画像の一例を示した図である。It is the figure which showed an example of the picked-up image. 画像目標検出追跡装置のハードウェア構成例を示したブロック図である。It is the block diagram which showed the hardware structural example of the image target detection tracking apparatus. 画像目標検出追跡装置の主要部のソフトウェア構成例を示した図である。It is the figure which showed the software structural example of the principal part of an image target detection tracking device. 管理情報の一例を示した図である。It is the figure which showed an example of management information. 入力画像と目標テンプレートの一例を示した図である。It is the figure which showed an example of the input image and the target template. 候補情報設定部の処理終了後の管理情報の一例を示した図である。It is the figure which showed an example of the management information after the process completion of a candidate information setting part. 目標特定までの処理の流れを目標候補の画像変化とともに示した図である。It is the figure which showed the flow of the process until target specification with the image change of the target candidate. 画像目標検出追跡方法の処理手順の全体を示したフローチャートである。It is the flowchart which showed the whole processing procedure of the image target detection tracking method. 目標候補追跡処理の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the target candidate tracking process. 目標候補検出処理の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the target candidate detection process. 目標特定処理の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the target specific process.

符号の説明Explanation of symbols

1 画像目標検出追跡装置
1a 画像入力手段
1b 画像記憶手段
1c テンプレート画像記憶手段
1d 目標候補検出手段
1e 候補テンプレート画像記憶手段
1f 候補追跡手段
1g 目標特定手段
2 カメラ
DESCRIPTION OF SYMBOLS 1 Image target detection tracking device 1a Image input means 1b Image storage means 1c Template image storage means 1d Target candidate detection means 1e Candidate template image storage means 1f Candidate tracking means 1g Target specification means 2 Camera

Claims (5)

入力画像から目標を検出して追跡する画像目標検出追跡装置において、
目標の物体を含むテンプレートの画像が格納されるテンプレート記憶手段から前記テンプレートを読み出し、前記テンプレートと前記入力画像を所定の単位で分割した分割画像との相関を算出し、算出結果が所定の基準値を超えた前記分割画像に含まれる物体を目標候補に登録する目標候補検出手段と、
前記目標候補ごとに、前記目標候補を追跡対象として、前記目標候補が新たに検出された入力画像または前記目標候補の追跡に用いた入力画像より後に撮影された直近の入力画像に含まれる前記追跡対象の目標候補を探索し、前記追跡対象の目標候補が探索できたときは前記追跡対象の目標候補の追跡を継続し、前記追跡対象の目標候補が探索できなかったときは前記追跡対象の目標候補を前記目標候補から削除する候補追跡手段と、
前記目標候補が予め決められた所定の期間、前記候補追跡手段によって継続して追跡され、かつ、前記目標候補検出手段によって前記目標候補として検出されたときは、前記目標候補を目標として特定する目標特定手段と、
を有することを特徴とする画像目標検出追跡装置。
In an image target detection and tracking device that detects and tracks a target from an input image,
The template is read from a template storage unit that stores a template image including a target object, a correlation between the template and a divided image obtained by dividing the input image by a predetermined unit is calculated, and the calculation result is a predetermined reference value Target candidate detection means for registering an object included in the divided image exceeding the target candidate;
For each target candidate, with the target candidate as a tracking target, the tracking included in the input image in which the target candidate is newly detected or the latest input image taken after the input image used for tracking the target candidate The target candidate for the target is searched, and when the target candidate for the tracking target can be searched, the tracking of the target candidate for the tracking target is continued, and when the target candidate for the tracking target cannot be searched, the target of the tracking target Candidate tracking means for deleting candidates from the target candidates;
A target that identifies the target candidate as a target when the target candidate is continuously tracked by the candidate tracking unit for a predetermined period and is detected as the target candidate by the target candidate detection unit Specific means,
An image target detection and tracking device comprising:
前記目標候補検出手段は、前記目標候補に登録した前記物体が含まれていた前記分割画像を候補テンプレートとして候補テンプレート記憶手段に格納し、
前記候補追跡手段は、前記候補テンプレート記憶手段に格納される前記候補テンプレートを読み出し、前記直近の入力画像を所定の単位で分割した分割画像と前記候補テンプレートとの相関に基づいて前記追跡対象の目標候補を探索する、
ことを特徴とする請求項1記載の画像目標検出追跡装置。
The target candidate detection unit stores the divided image that includes the object registered in the target candidate as a candidate template in a candidate template storage unit,
The candidate tracking unit reads the candidate template stored in the candidate template storage unit, and based on the correlation between the divided image obtained by dividing the most recent input image by a predetermined unit and the candidate template, the target to be tracked Search for candidates,
The image target detection and tracking device according to claim 1.
前記候補追跡手段は、前記追跡対象の目標候補が検出された前記分割画像の前記入力画像上の位置を前記追跡対象の目標候補に関連付けて記憶しておき、
前記目標候補検出手段は、前記目標候補を検出したときは、前記目標候補が検出された前記分割画像の前記入力画像上の位置が、前記候補追跡手段によって前記追跡対象の目標候補が検出された前記分割画像の前記入力画像上の位置と一致するかどうかを判定し、位置が一致する前記追跡対象の目標候補があったときは、前記目標候補は前記追跡対象の目標候補であると判定し、位置が一致する前記追跡対象の目標候補がなかったときは、前記目標候補を新たな目標候補として登録する、
ことを特徴とする請求項2記載の画像目標検出追跡装置。
The candidate tracking means stores a position on the input image of the divided image where the target candidate for the tracking target is detected in association with the target candidate for the tracking target,
When the target candidate detecting means detects the target candidate, the position on the input image of the divided image from which the target candidate is detected is detected by the candidate tracking means. It is determined whether or not the position of the divided image matches the position on the input image. When there is a target candidate for tracking that matches the position, the target candidate is determined to be the target candidate for tracking. When there is no tracking target candidate whose position matches, the target candidate is registered as a new target candidate.
The image target detection and tracking device according to claim 2, wherein:
入力画像から目標を検出して追跡する画像目標検出追跡装置において、
目標候補検出手段が、目標の物体を含むテンプレートの画像が格納されるテンプレート記憶手段から前記テンプレートを読み出し、前記テンプレートと前記入力画像を所定の単位で分割した分割画像との相関を算出し、算出結果が所定の基準値を超えた前記分割画像に含まれる物体を目標候補に登録し、
候補追跡手段が、前記目標候補ごとに、前記目標候補を追跡対象として、前記目標候補が新たに検出された入力画像または前記目標候補の追跡に用いた入力画像より後に撮影された直近の入力画像に含まれる前記追跡対象の目標候補を探索し、前記追跡対象の目標候補が探索できたときは前記追跡対象の目標候補の追跡を継続し、前記追跡対象の目標候補が探索できなかったときは前記追跡対象の目標候補を前記目標候補から削除し、
目標特定手段が、前記目標候補が予め決められた所定の期間、前記候補追跡手段によって継続して追跡され、かつ、前記目標候補検出手段によって前記目標候補として検出されたときは、前記目標候補を目標として特定する、
手順を有することを特徴とする画像目標検出追跡方法。
In an image target detection and tracking device that detects and tracks a target from an input image,
A target candidate detecting unit reads the template from a template storage unit that stores a template image including a target object, calculates a correlation between the template and a divided image obtained by dividing the input image by a predetermined unit, and calculates Register an object included in the divided image whose result exceeds a predetermined reference value as a target candidate,
For each target candidate, the candidate tracking means uses the target candidate as a tracking target, the input image in which the target candidate is newly detected or the latest input image taken after the input image used for tracking the target candidate When the target candidate for tracking included in the search target candidate is searched and the target candidate for tracking target can be searched, the tracking of the target candidate for tracking target is continued, and when the target candidate for tracking target cannot be searched Deleting the target candidate to be tracked from the target candidate;
When the target identification means is continuously tracked by the candidate tracking means for a predetermined period determined in advance and is detected as the target candidate by the target candidate detection means, the target candidate is Identify as goals,
An image target detection and tracking method comprising a procedure.
入力画像から目標を検出して追跡するための画像目標検出追跡プログラムにおいて、
コンピュータを、
目標の物体を含むテンプレートの画像が格納されるテンプレート記憶手段から前記テンプレートを読み出し、前記テンプレートと前記入力画像を所定の単位で分割した分割画像との相関を算出し、算出結果が所定の基準値を超えた前記分割画像に含まれる物体を目標候補に登録する目標候補検出手段、
前記目標候補ごとに、前記目標候補を追跡対象として、前記目標候補が新たに検出された入力画像または前記目標候補の追跡に用いた入力画像より後に撮影された直近の入力画像に含まれる前記追跡対象の目標候補を探索し、前記追跡対象の目標候補が探索できたときは前記追跡対象の目標候補の追跡を継続し、前記追跡対象の目標候補が探索できなかったときは前記追跡対象の目標候補を前記目標候補から削除する候補追跡手段、
前記目標候補が予め決められた所定の期間、前記候補追跡手段によって継続して追跡され、かつ、前記目標候補検出手段によって前記目標候補として検出されたときは、前記目標候補を目標として特定する目標特定手段、
として機能させることを特徴とする画像目標検出追跡プログラム。
In an image target detection and tracking program for detecting and tracking a target from an input image,
Computer
The template is read from a template storage unit that stores a template image including a target object, a correlation between the template and a divided image obtained by dividing the input image by a predetermined unit is calculated, and the calculation result is a predetermined reference value Target candidate detecting means for registering an object included in the divided image exceeding the target candidate,
For each target candidate, with the target candidate as a tracking target, the tracking included in the input image in which the target candidate is newly detected or the latest input image taken after the input image used for tracking the target candidate The target candidate for the target is searched, and when the target candidate for the tracking target can be searched, the tracking of the target candidate for the tracking target is continued, and when the target candidate for the tracking target cannot be searched, the target of the tracking target Candidate tracking means for deleting candidates from the target candidates;
A target that identifies the target candidate as a target when the target candidate is continuously tracked by the candidate tracking unit for a predetermined period and is detected as the target candidate by the target candidate detection unit Specific means,
An image target detection and tracking program characterized in that it functions as a computer program.
JP2008049703A 2008-02-29 2008-02-29 Image target detection and tracking apparatus, image target detection and tracking method, and image target detection and tracking program Expired - Fee Related JP5076971B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008049703A JP5076971B2 (en) 2008-02-29 2008-02-29 Image target detection and tracking apparatus, image target detection and tracking method, and image target detection and tracking program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008049703A JP5076971B2 (en) 2008-02-29 2008-02-29 Image target detection and tracking apparatus, image target detection and tracking method, and image target detection and tracking program

Publications (2)

Publication Number Publication Date
JP2009205611A true JP2009205611A (en) 2009-09-10
JP5076971B2 JP5076971B2 (en) 2012-11-21

Family

ID=41147767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008049703A Expired - Fee Related JP5076971B2 (en) 2008-02-29 2008-02-29 Image target detection and tracking apparatus, image target detection and tracking method, and image target detection and tracking program

Country Status (1)

Country Link
JP (1) JP5076971B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012221043A (en) * 2011-04-05 2012-11-12 Hitachi Kokusai Electric Inc Image processing method and monitoring device
CN105469430A (en) * 2015-12-10 2016-04-06 中国石油大学(华东) Anti-shielding tracking method of small target in large-scale scene
CN106375716A (en) * 2016-08-31 2017-02-01 上海鹰觉科技有限公司 Optical device stable tracking system and method for ship
CN113111890A (en) * 2021-04-08 2021-07-13 哈尔滨工程大学 Remote water surface infrared target rapid tracking method based on water antenna

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492318B (en) * 2018-03-01 2022-04-26 西北工业大学 Target tracking method based on bionic technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000175176A (en) * 1998-12-04 2000-06-23 Hitachi Ltd Supervisory method for mobile object and image supervisory device
JP2000259838A (en) * 1999-03-12 2000-09-22 Fujitsu Ltd Image tracking device and recording medium
JP2005149288A (en) * 2003-11-18 2005-06-09 Tokyo Univ Of Marine Science & Technology Method of extracting ship from time-series sea navigation image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000175176A (en) * 1998-12-04 2000-06-23 Hitachi Ltd Supervisory method for mobile object and image supervisory device
JP2000259838A (en) * 1999-03-12 2000-09-22 Fujitsu Ltd Image tracking device and recording medium
JP2005149288A (en) * 2003-11-18 2005-06-09 Tokyo Univ Of Marine Science & Technology Method of extracting ship from time-series sea navigation image

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012221043A (en) * 2011-04-05 2012-11-12 Hitachi Kokusai Electric Inc Image processing method and monitoring device
CN105469430A (en) * 2015-12-10 2016-04-06 中国石油大学(华东) Anti-shielding tracking method of small target in large-scale scene
CN106375716A (en) * 2016-08-31 2017-02-01 上海鹰觉科技有限公司 Optical device stable tracking system and method for ship
CN113111890A (en) * 2021-04-08 2021-07-13 哈尔滨工程大学 Remote water surface infrared target rapid tracking method based on water antenna
CN113111890B (en) * 2021-04-08 2022-09-27 哈尔滨工程大学 Remote water surface infrared target rapid tracking method based on water antenna

Also Published As

Publication number Publication date
JP5076971B2 (en) 2012-11-21

Similar Documents

Publication Publication Date Title
JP6843213B2 (en) Image processing device and image processing method
JP6821762B2 (en) Systems and methods for detecting POI changes using convolutional neural networks
US10782688B2 (en) Method, control apparatus, and system for tracking and shooting target
US9836651B2 (en) Displaying information relating to a designated marker
JP5076971B2 (en) Image target detection and tracking apparatus, image target detection and tracking method, and image target detection and tracking program
US8798357B2 (en) Image-based localization
JP6319785B2 (en) Abnormal tide level fluctuation detection device, abnormal tide level fluctuation detection method, and abnormal tide level fluctuation detection program
US20120202515A1 (en) Smartphone-based asset management system
JP3549569B2 (en) Target pattern detection method in video
JP6350251B2 (en) Route information processing apparatus, method, and program
WO2019185170A1 (en) Electronic device, robotic system and method for localizing a robotic system
JP6625734B2 (en) Method and apparatus for superimposing a virtual image on a photograph of a real scene, and a portable device
CN110866515A (en) Method and device for identifying object behaviors in plant and electronic equipment
KR102195999B1 (en) Method, device and system for processing image tagging information
JP2024008869A (en) Method and device for multi-target multi-camera head tracking
RU2014101339A (en) VIDEO SEQUENCE NAVIGATION THROUGH OBJECT LOCATION
KR101736939B1 (en) Method of determining, in an image, at least one zone likely to represent at least one finger of an individual
JP6278880B2 (en) Water level measuring device
JPWO2018105122A1 (en) Teacher data candidate extraction program, teacher data candidate extraction apparatus, and teacher data candidate extraction method
JP2008299834A (en) Photographic subject tracking program and photographic subject tracking device
KR102226372B1 (en) System and method for object tracking through fusion of multiple cameras and lidar sensor
CN115331151A (en) Video speed measuring method and device, electronic equipment and storage medium
EP3975111A1 (en) Object detection device, object detection system, object detection method, program, and recording medium
Sharma et al. Reinforcement learning based querying in camera networks for efficient target tracking
KR102621089B1 (en) Method for visual localization, control server and buiding using the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120510

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120731

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120813

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

Free format text: PAYMENT UNTIL: 20150907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees