JP2005141458A - Image processing method and apparatus, program, and recording medium - Google Patents

Image processing method and apparatus, program, and recording medium Download PDF

Info

Publication number
JP2005141458A
JP2005141458A JP2003376637A JP2003376637A JP2005141458A JP 2005141458 A JP2005141458 A JP 2005141458A JP 2003376637 A JP2003376637 A JP 2003376637A JP 2003376637 A JP2003376637 A JP 2003376637A JP 2005141458 A JP2005141458 A JP 2005141458A
Authority
JP
Japan
Prior art keywords
template
sub
image
search target
target 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
JP2003376637A
Other languages
Japanese (ja)
Other versions
JP4394926B2 (en
Inventor
Naoki Ito
直己 伊藤
Yoshinori Kusachi
良規 草地
Akira Suzuki
章 鈴木
Kenichi Arakawa
賢一 荒川
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2003376637A priority Critical patent/JP4394926B2/en
Publication of JP2005141458A publication Critical patent/JP2005141458A/en
Application granted granted Critical
Publication of JP4394926B2 publication Critical patent/JP4394926B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

【課題】探索対象画像から特定のテンプレートに類似した領域を探索するとき、前記領域が変形していても高精度で探索する。
【解決手段】テンプレート加工手段3はテンプレートから選択される複数の位置座標を各々の基準点とするサブテンプレートを複数作成する。探索制御手段8はサブテンプレートの基準点を探索対象画像の各位置座標に配置し該サブテンプレートと探索対象画像との整合度合いを算出する。スコア投票手段11は想定した座標変換パラメータに基づきサブテンプレートの基準点に該当する点と対応するテンプレートの基準点との位置関係を算出し前記整合度合いを座標変換パラメータ毎に対応するテンプレートの基準点のスコアに加算して総和値を得る。ピーク探索手段13は探索対象画像の位置座標毎に前記総和値を最大とする座標変換パラメータを特定すると共にこの最大値を求めこの値が極大となるテンプレートの基準点の位置を探索する。
【選択図】図1
When searching for a region similar to a specific template from a search target image, the search is performed with high accuracy even if the region is deformed.
A template processing means 3 creates a plurality of sub-templates having a plurality of position coordinates selected from a template as reference points. The search control means 8 places the reference point of the sub template at each position coordinate of the search target image and calculates the degree of matching between the sub template and the search target image. The score voting means 11 calculates the positional relationship between the point corresponding to the reference point of the sub template and the reference point of the corresponding template based on the assumed coordinate conversion parameter, and determines the degree of matching for the reference point of the template corresponding to each coordinate conversion parameter. Is added to the score to obtain the total value. The peak searching means 13 specifies a coordinate conversion parameter that maximizes the total value for each position coordinate of the search target image, obtains the maximum value, and searches for the position of the template reference point at which this value is maximum.
[Selection] Figure 1

Description

本発明は、探索対象画像の中から、特定の微小画像(テンプレート)に類似した領域を探索する画像処理方法とその装置、プログラム並びにこの記録媒体に関するもので、特に、探索対象画像中の該当領域が変形している場合でも高精度で探索を行うことができるようにするものに関するものである。   The present invention relates to an image processing method, an apparatus, a program, and a recording medium for searching for a region similar to a specific minute image (template) from search target images, and more particularly to a corresponding region in the search target image. The present invention relates to a device that makes it possible to perform a search with high accuracy even when is deformed.

画像中からテンプレートを探索する技術としては、画像の中でテンプレートをずらしながら各位置での画像の領域とテンプレートとの一致の度合いを算出してテーブルに記録し、その後でテーブルから局所的なピークの位置を探索する方法が知られている(非特許文献1)。このとき用いる一致の度合いの評価関数としては様々なものがあり、例えば正規化された相互相関(以下、正規化相関と称する)が知られている。その他に、従来の認識処理技術としては、以下の非特許文献2や非特許文献3などに開示されているものがある。
長尾真,「ディジタル画像処理」,近代科学社,1995年,pp.306−310 若原徹,「局所的アフィン変換を用いた画像間のずれの検出」、電子情報通信学会誌D−II,社団法人電子情報通信学会,1989年12月,第J72−D−II巻,pp.2070−2079 若林哲史、鶴岡信治、木村文隆、三宅康二,「特徴量の次元数増加による手書き数字認識の高精度化」,電子情報通信学会論文誌,社団法人電子情報通信学会、1994年10月、Vol.J77−D−II,No.10,pp.2046−2053
A technique for searching a template from an image is to calculate the degree of coincidence between the image area and the template at each position while shifting the template in the image and record it in a table. There is known a method for searching the position of (Non-patent Document 1). There are various evaluation functions for the degree of coincidence used at this time, and for example, normalized cross-correlation (hereinafter referred to as normalized correlation) is known. In addition, conventional recognition processing techniques include those disclosed in Non-Patent Document 2 and Non-Patent Document 3 below.
Makoto Nagao, “Digital Image Processing”, Modern Science, 1995, pp. 306-310 Toru Wakahara, “Detection of displacement between images using local affine transformation”, IEICE Journal D-II, The Institute of Electronics, Information and Communication Engineers, December 1989, Vol. J72-D-II, pp. 2070-2079 Wakabayashi Satoshi, Tsuruoka Shinji, Kimura Fumitaka, Miyake Koji, “High accuracy of handwritten digit recognition by increasing the number of dimensions of features”, IEICE Transactions, Institute of Electronics, Information and Communication Engineers, October 1994, Vol. J77-D-II, No. 10, pp. 2046-2053

従来技術では、探索対象となる画像中の該当する領域にテンプレートを重ねると、対応する画素が全て一致することを前提としており、この前提が成立する場合には高い探索精度を有する。   In the prior art, when a template is overlaid on a corresponding region in an image to be searched, it is assumed that all corresponding pixels match, and when this premise is satisfied, high search accuracy is obtained.

しかしながら、該当する領域が変形している場合には両者にずれが生じ、探索精度が低下するという問題がある。例えば、図41に示すような正方形のテンプレートと、図42に示すような探索対象画像とを想定する。この図42に示す探索対象の画像では、図41に示すテンプレートが1.2倍に拡大され、さらに、右方向(負の方向)に20度回転されていることを想定している。このような変形が生じると、従来技術に従って、図43(a)に示すような探索を行った場合、図43(b)に示すように、両者が重なってもずれが生じ、一致の度合いは低くなる。このように、従来技術に従っていると、探索対象となる画像中の該当する領域が変形している場合に探索精度が低下するという問題がある。   However, when the corresponding region is deformed, there is a problem in that both are displaced and search accuracy is lowered. For example, a square template as shown in FIG. 41 and a search target image as shown in FIG. 42 are assumed. In the search target image shown in FIG. 42, it is assumed that the template shown in FIG. 41 is enlarged 1.2 times and further rotated 20 degrees in the right direction (negative direction). When such a deformation occurs, when a search as shown in FIG. 43 (a) is performed according to the conventional technique, as shown in FIG. 43 (b), a shift occurs even if both overlap, and the degree of coincidence is Lower. Thus, according to the prior art, there is a problem that the search accuracy is lowered when the corresponding region in the image to be searched is deformed.

また、非特許文献2に開示されている技術では、探索対象画像から探索対象となる特定の領域を抽出可能であることを前提としており、探索対象画像全域からの認識手法については触れられていない。   In addition, the technique disclosed in Non-Patent Document 2 is based on the premise that a specific region to be searched can be extracted from the search target image, and does not touch on a recognition method from the entire search target image. .

さらに、非特許文献3に脚示されている技術では、アルゴリズム上、極度の大きさの変化や、強い回転の加わった場合に探索制度が低下するという問題がある。   Furthermore, the technique described in Non-Patent Document 3 has a problem that the search system is lowered when an extreme change in the algorithm or a strong rotation is applied.

本発明は、かかる事情に鑑みてなされたものであって、探索対象画像の中から、特定のテンプレートに類似した領域を探索するときに、探索対象画像中の該当領域が変形している場合でも高精度で探索できるようにする新たな画像処理技術の提供を目的とする。   The present invention has been made in view of such circumstances, and even when a region similar to a specific template is searched from a search target image, the corresponding region in the search target image is deformed. The object is to provide a new image processing technique that enables high-precision search.

そこで、本発明の画像処理方法及びその装置は、探索対象画像に存在する可能性のあるテンプレートとの整合度合いの高い領域を探索するにあたって、
(1)テンプレートから選択される複数の異なる位置を各々の基準点として、基準点以外の点において一致度の条件を緩和した複数のサブテンプレートを作成し、(2)サブテンプレートの基準点を探索対象画像の各位置座標に配置して、サブテンプレートと探索対象画像との整合度合いを算出し、
(3)予め想定した複数の座標変換パラメータに基づきテンプレートを変形させたときの、サブテンプレートの基準点に該当する点と対応するテンプレートの基準点との位置関係を求め、
(4)全てのサブテンプレートについて算出した整合度合いを、座標変換パラメータ毎に対応するテンプレートの基準点のスコアに加算した総和値を得、
(5)探索対象画像の各位置座標毎に、その総和値を最大とする座標変換パラメータを特定するとともに、その最大値を求め、
(6)探索対象画像において、その最大値がピーク(極大)となるテンプレートの基準点の位置を探索することにより、
探索対象画像に変形が生じている場合でも、探索対象画像におけるテンプレートとの整合度合いの高い領域を求めることができるようにすることを実現する。
Therefore, the image processing method and apparatus of the present invention search for a region having a high degree of matching with a template that may exist in the search target image.
(1) Using a plurality of different positions selected from the template as reference points, creating a plurality of sub-templates with relaxed matching conditions at points other than the reference points, and (2) searching for reference points of the sub-templates Place it at each position coordinate of the target image, calculate the degree of matching between the sub-template and the search target image,
(3) obtaining a positional relationship between a point corresponding to a reference point of the sub-template and a corresponding reference point of the template when the template is deformed based on a plurality of coordinate transformation parameters assumed in advance;
(4) Obtain a total value obtained by adding the degree of matching calculated for all the sub-templates to the score of the reference point of the template corresponding to each coordinate conversion parameter,
(5) For each position coordinate of the search target image, specify a coordinate conversion parameter that maximizes the sum value, and determine the maximum value;
(6) In the search target image, by searching for the position of the reference point of the template whose maximum value is the peak (maximum),
Even when the search target image is deformed, it is possible to obtain a region having a high degree of matching with the template in the search target image.

本発明の画像処理装置としては、
(1)テンプレートから選択される複数の基準点の各々について、その近傍領域の画像構報からサブテンプレートを作成するサブテンプレート作成手段と、
(2)位置座標と予め想定した複数の座標変換パラメータとの組み合わせに対してスコアを記録するメモリエリアを持つ投票テーブル手段と、
(3)全サブテンプレートを処理対象として、各サブテンプレートを探索対象画像の各位置座標に配置して探索対象画像との整合度合いを算出し、座標変換パラメータの各々について、その座標変換パラメータとその配置におけるサブテンプレートの基準点の位置座標との指すテンプレート位置座標を算出して、その算出した整合度合いを、その座標変換パラメータとその算出したテンプレート位置座標との指すメモリエリアの持つスコアに加算するサブテンプレート探索手段と、
(4)サブテンプレート探索手段による加算結果のスコアに基づいて、探聚対象画像の中からテンプレートとの整合度合いの高い領域を探索するテンプレート探索手段とを備えたものがある。
As the image processing apparatus of the present invention,
(1) For each of a plurality of reference points selected from the template, sub-template creation means for creating a sub-template from the image composition of the neighboring area;
(2) Voting table means having a memory area for recording a score for a combination of position coordinates and a plurality of coordinate conversion parameters assumed in advance;
(3) With all sub-templates as processing targets, each sub-template is placed at each position coordinate of the search target image to calculate the degree of matching with the search target image, and for each coordinate conversion parameter, the coordinate conversion parameter and its The template position coordinate pointed to by the position coordinate of the reference point of the sub template in the arrangement is calculated, and the calculated matching degree is added to the score of the memory area pointed to by the coordinate conversion parameter and the calculated template position coordinate point. Sub-template search means;
(4) There is a template search unit that searches a search target image for a region having a high degree of matching with a template based on the score of the addition result obtained by the sub-template search unit.

この画像処理装置においては、探索結果となる整合度合いの高い領域の位置座標における座標変換パラメータに従ってテンプレートを座標変換することで変形させて、その変形させたテンプレートとその位置座標における探索対象画像との整合度合いを算出する整合度合い算出手段を備えてもよい。   In this image processing apparatus, the template is transformed by coordinate transformation according to the coordinate transformation parameter in the position coordinate of the region having a high degree of matching as a search result, and the transformed template and the search target image at the position coordinate are transformed. You may provide the matching degree calculation means which calculates a matching degree.

このとき、サブテンプレート作成手段は、サブテンプレートの基準点からの距離が大きくなる程、ぼかしの度合いが大きくなる近傍領域の画像情報、あるいは、その距離に関係なく一様のぼかし度合いを示す近傍領域画燥情報の中から、サブテンプレートを作成するように処理することもある。   At this time, the sub-template creation unit is configured to display image information of a neighboring area in which the degree of blur increases as the distance from the reference point of the sub template increases, or a neighboring area that exhibits a uniform blur degree regardless of the distance. In some cases, processing is performed so as to create a sub-template from the dry information.

そして、サブテンプレート探索手段は、サブテンプレートとの整合度合いの算出対象となる探索対象画像として、サブテンプレートの基準点に重なる位置からの距離が大きくなる程ぼかしの度合いがおおきくなる画像情報を作成するか、あるいは、その距離に関係なく単一のぼかし度合いを示す画像情報を作成して、それとサブテンプレートとの整合度合いを算出するように処理することがある。   Then, the sub-template search means creates image information in which the degree of blurring increases as the distance from the position overlapping the reference point of the sub-template increases as the search target image for which the degree of matching with the sub-template is calculated. Alternatively, image information indicating a single blur level regardless of the distance may be created, and processing may be performed to calculate the degree of matching between the image information and the sub-template.

また、サブテンプレート探索手段は、探索結呆となる整合度合いの高い領域の位置座標を出力したり、その位置座標の出力に加えて、その位置座標におけるスコアや座標変換パラメータを出力するように処理することがある。   In addition, the sub-template search means outputs a position coordinate of a region with a high degree of matching that causes search ligation, and outputs a score and a coordinate conversion parameter at the position coordinate in addition to outputting the position coordinate. There are things to do.

以上の各処理手段はコンピュータプログラムで実現できるものであり、このコンピュータプログラムは半導体メモリなどの記録媒体に記録して提供したり、ネットワークを介して提供することができる。   Each of the processing means described above can be realized by a computer program, and this computer program can be provided by being recorded on a recording medium such as a semiconductor memory or via a network.

さらに、このように構成される画像処理装置では、探索処理に入る前に、テンプレートから選択される複数の基準点の各々について、その近傍領域の画像情報からサブテンプレートを作成することで複数のサブテンプレート(分割形態のサブテンプレート)を作成するとともに、位置座標と予め想定した複数の座標変換パラメータとの組み合わせに対してスコアを記録するメモリエリアを持つ投票テーブル手段を作成するとよい。   Further, in the image processing apparatus configured as described above, before entering the search process, for each of a plurality of reference points selected from the template, a plurality of sub-templates are created by creating a sub-template from the image information of the neighboring area. It is preferable to create a voting table means having a memory area for recording a score with respect to a combination of position coordinates and a plurality of coordinate transformation parameters assumed in advance, while creating a template (a sub template in a divided form).

この準備を完了した後に探索処理に入ると、各サブテンプレートを順番に選択して、その選択したサブテンプレートを探索対象画像の各位置座標に配置して探索対象画像との整合度合いを算出し、その算出した整合度合いについて、予め想定した複数の座標変換パラメータの各々について、その座標変換パラメータとその配置におけるサブテンプレート基準点の位置座標との組み合わせの指すテンプレート位置座標を算出して、その算出した整合度合いを、その座標変換パラメータとその算出したテンプレート位置座標との組み合わせの指すメモリエリアの持つスコアに加算していく。   When entering the search process after completing this preparation, each sub-template is selected in turn, the selected sub-template is placed at each position coordinate of the search target image, and the degree of matching with the search target image is calculated, For the calculated degree of matching, for each of a plurality of coordinate conversion parameters assumed in advance, a template position coordinate indicated by a combination of the coordinate conversion parameter and the position coordinate of the sub-template reference point in the arrangement is calculated and calculated. The degree of matching is added to the score of the memory area indicated by the combination of the coordinate conversion parameter and the calculated template position coordinate.

そして、その加算処理を終了すると、その加算結果のスコアに基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索して、その位置座標を出力したり、その位置座標の出力に加えて、その位置座標におけるスコアや座標変換パラメータを出力する。   When the addition process is completed, a region having a high degree of matching with the template is searched from the search target image based on the score of the addition result, and the position coordinates are output or the position coordinates are output. In addition to the above, a score and coordinate conversion parameters at the position coordinates are output.

このとき、さらに、探索結果となる整合度合いの高い領域の位置座標における座標変換パラメータに従ってテンプレートを座標変換することで変形さ世で、その変形させたテンプレートとの位置座標における探索対象画像との整合度合いを算出して出力することがある。   At this time, further, the template is coordinate-transformed according to the coordinate transformation parameters in the position coordinates of the region having a high degree of matching as a search result, and the matching with the search target image in the position coordinates with the deformed template is performed. The degree may be calculated and output.

このように、本発明の画像処理装置では、テンプレートを色々と変形させるような操作を行わずに、テンプレートを分割(重複した形態で分割してもよい)することで複数のサブテンプレートを作成して、それらのサブテンプレートと探索対象画像との間の整合度合いを算出し、その算出結果を、予め想定した複数の座標変換パラメータにより変形を受けていると仮定した場合のテンプレートの位置座標に累積加算していくことで、テンプレートを色々と変形さ世て整合度合いを算出する処理と等価な処理を実行して、その加算結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索するように処理するのである。   As described above, the image processing apparatus of the present invention creates a plurality of sub-templates by dividing a template (may be divided in an overlapping form) without performing various operations to deform the template. The degree of matching between the sub-template and the search target image is calculated, and the calculation result is accumulated in the position coordinates of the template when it is assumed that the transformation is performed by a plurality of coordinate conversion parameters assumed in advance. By performing addition, the template is transformed in various ways, and processing equivalent to the processing for calculating the degree of matching is executed. Based on the addition result, the degree of matching with the template is high among the search target images. It is processed so as to search for an area.

このことから、本発明によれば、探索対象画像中の該当領域が変形している場合でも、テンプレートに類似する領域を高精度に探索できるようになるとともに、テンプレートを変形させて探索を行う場合に比べて小さな処理負荷でもって、その探索を実行できるようになる。   Therefore, according to the present invention, even when the corresponding region in the search target image is deformed, a region similar to the template can be searched with high accuracy, and the template is deformed for searching. The search can be executed with a small processing load compared to.

この探索を行う場合に、探索対象画像中の該当領域が変形している場合を考慮して、サブテンプレートをぼかした形で作成するとともに、それに合わせて、サブテンプレートとの整合度合いの算出対象となる探索対照画像をぼかした形で作成するように処理するとよい。   When performing this search, considering the case where the corresponding area in the search target image is deformed, the sub template is created in a blurred form, and the matching target with the sub template is calculated accordingly. It is preferable to process so as to create a search contrast image to be blurred.

また、テンプレートの特徴が規定の画像変換を施すことで顕著になるような場合には、探索対照画像の画像情報にその画像変換を施すことで得られる画像情報を処理対象の探索対象画像として探索処理を行うように処理することが好ましい。   In addition, when the template features become noticeable by performing the prescribed image conversion, the image information obtained by performing the image conversion on the image information of the search reference image is searched as the search target image to be processed. It is preferable to process so that it may process.

例えば、テンプレートの特徴が微分を施すことで顕著になるような場合には、探索対象画像の画像情報に微分処理を施すことで得られる画像情報を処理対象の探索対象画像として探索処理を行うとよく、また、テンプレートの特徴が各画素の輝度値を対数変換することで顕著になるような場合には、探索対象画像の各画素の輝度値を対数変換して得られる画像情報を処理対象の探索対象画像として探索処理を行うように処理するとよく、また、テンプレートの特徴が微分を施した結果から得られるエッジの方向を有限の方向に量子化し、同時に得られるエッジの強さで重み付けしたヒストグラムを任意の個数に分割したテンプレートのフロック内で作成することで顕著になる場合には、探索対象画像の画像情報に微分処理を施し、テンプレートとの比較を行う該当領域をテンプレートと同様の手段で作成したヒストグラムを処理対象の検索対象画像として探索処理を行うようにするとよい。   For example, in the case where the feature of the template becomes prominent by performing differentiation, the search processing is performed using the image information obtained by performing differentiation on the image information of the search target image as the search target image to be processed. Well, if the template features become prominent by logarithmically converting the luminance value of each pixel, the image information obtained by logarithmically converting the luminance value of each pixel of the search target image is processed. It is good to process so that search processing is performed as a search target image, and the histogram is obtained by quantizing the edge direction obtained from the result of differentiation of the template features into a finite direction and weighting the edge strength obtained simultaneously. If the image becomes prominent by creating it in a template flock divided into an arbitrary number, the image information of the search target image is subjected to differentiation processing, Better to such a search process performs histogram created as a search target image to be processed in the same means as the template to the appropriate area for comparing the.

また、座標変換としては、通常の場合、幾何変換を用いることになるが、この幾何変換として、一つの幾何変換を用いるほかに、探索対象画像中の該当領域の変形形態を考慮して、複数の幾何変換の組み合わせを用いることも可能である。   Further, as the coordinate transformation, a geometric transformation is usually used. In addition to using one geometric transformation as the geometric transformation, in consideration of the deformation form of the corresponding region in the search target image, a plurality of geometric transformations are used. It is also possible to use a combination of geometric transformations.

例えば、拡大・縮小変換や回転変換やスキュー変換といった幾何変換や、それらの幾何変換を組み合わせたものを用いたり、あるいは、アフィン変換や射影変換といった幾何変換を用いることが可能である。   For example, it is possible to use geometric transformations such as enlargement / reduction transformation, rotation transformation and skew transformation, a combination of these geometric transformations, or geometric transformations such as affine transformation and projective transformation.

さらに、探索対象画像中の該当領域の変形形態を考慮して、このときに用いる幾何変換が複数の座標変換パラメータを持つ場合に、その内の一部の座標変換パラメータについては固定とする形で探索処理を行うように処理してもよい。   Furthermore, in consideration of the deformation form of the corresponding region in the search target image, when the geometric transformation used at this time has a plurality of coordinate transformation parameters, some of the coordinate transformation parameters are fixed. You may process so that a search process may be performed.

次いで、本発明の画像処理装置は、
テンプレートから選択される複数の基準点の各々について、その近傍領域の画像情報からサブテンプレートを作成するサブテンプレート作成手段と
テンプレートを探索対象画像の各座標位置に配置する場合に、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出し、テンプレートを配置した探索対象画像の位置座標毎に、それらの総和値の最大値及びその最大値を実現する座標変換パラメータを特定する特定手段と、
その特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索するテンプレート探索手段とを備えてもよい。
Next, the image processing apparatus of the present invention
For each of a plurality of reference points selected from the template, a sub-template creation means for creating a sub-template from image information of the neighboring area and a coordinate conversion parameter to be assumed when the template is arranged at each coordinate position of the search target image Each time, the position coordinates of the reference point of each sub-template is determined, the total value of the degree of matching with the search target image for all sub-templates is calculated, and for each position coordinate of the search target image where the template is arranged A specifying means for specifying the maximum value of the sum total value and the coordinate transformation parameter that realizes the maximum value;
Based on the identification result, template search means for searching a region having a high degree of matching with the template from the search target image may be provided.

この画像処理装置においては、探索結果となる整合度合いの高い領域の位置座標における座標変換パラメータに従ってテンプレートを座標変換することで変形させて、その変形させたテンプレートとその位置座標における探索対象画像との整合度合いを算出して出力する整合度合い算出手段を備えてもよい。   In this image processing apparatus, the template is transformed by coordinate transformation according to the coordinate transformation parameter in the position coordinate of the region having a high degree of matching as a search result, and the transformed template and the search target image at the position coordinate are transformed. You may provide the matching degree calculation means which calculates and outputs a matching degree.

このとき、サブテンプレート作成手段は、テンプレートから選択される複数の基準点の近傍領域における画像情報からサブテンプレートを作成するときに、その近傍領域の画像情報をぼかすことでサブテンプレートを作成するように処理するよい。   At this time, the sub template creation means creates the sub template by blurring the image information of the neighboring area when creating the sub template from the image information in the neighboring area of the plurality of reference points selected from the template. Good to process.

また、前記特定手段は、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出するときに、ぼかしの施された探索対象画像との整合度合いの総和値を算出するように処理することがある。   Further, the specifying means determines the position coordinates of the reference point of each sub template for each assumed coordinate conversion parameter and calculates the total value of the matching degrees with the search target images for all sub templates. Processing may be performed so as to calculate the total value of the degree of matching with the search target image subjected to blurring.

また、特定手段は、探索対象画像の位榿座標に対応付けて総和個の最大値及びその最大値を実現する座標変換パラメータを記録するテーブル手段を使って、テンプレートを配置した探索対象画像の位置座標毎に総和値の最大値及びその最大値を実現する座標変換パラメータを特定するように処理することがある。   Further, the specifying means uses the table means for recording the total maximum value in association with the position coordinates of the search target image and the coordinate conversion parameter for realizing the maximum value, and the position of the search target image where the template is arranged. For each coordinate, processing may be performed to specify the maximum sum value and the coordinate conversion parameter that realizes the maximum value.

ここで、テンプレートの特徴が規定の画像変換を施すことで顕著になるような場合には、探索対象画像の画像情報にその画像変換を施すことで得られる画像情報を処理対象画像として、探索処理を行うように処理することが好ましい。   Here, when the template features become noticeable by performing the prescribed image conversion, the search processing is performed using the image information obtained by performing the image conversion on the image information of the search target image as the processing target image. It is preferable to process so that it may perform.

例えば、テンプレートの特徴が微分を施すことで顕著になるような場合には、探索対象画像の画像情報に微分処理を施すことで得られる画像情報を処理対象の画像情報として探索処理を行うように処理することが好ましく、また、テンプレートの特徴が各画素の輝度値を対数変換することで顕著になるような場合には、探索対象画像の各画素の輝度値を対数変換することで得られる画像情報を処理対象の探索対象画像として探索処理を行うように処理することが好ましく、また、テンプレートの特徴が微分を施した結果から得られるエッジの方向を有限の方向に量子化し、同時に得られるエッジの強さで重み付けしたヒストグラムを任意の個数に分割したテンプレートのブロック内で作成することで顕著になる場合には、探索対象画像の画像情報に微分処理を施し、テンプレートとの比較を行う該当領域をテンプレートと同様の手段で作成したヒストグラムを処理対象の探索対象画像として探索処理を行うようにするとよい。   For example, in the case where the feature of the template becomes prominent by performing differentiation, the search processing is performed using the image information obtained by performing differentiation on the image information of the search target image as the processing target image information. Preferably, the image is obtained by logarithmically converting the luminance value of each pixel of the search target image when the template feature becomes prominent by logarithmically converting the luminance value of each pixel. It is preferable to perform a search process using information as a search target image to be processed, and the edge direction obtained from the result of differentiation of the template features is quantized into a finite direction, and the edges obtained simultaneously If it becomes prominent by creating a histogram weighted with the strength of the template in the block of the template divided into an arbitrary number, the image of the search target image Distribution in performing differentiation processing, better to perform the search processing histogram created as a search target image to be processed in the same means as the template to the appropriate area for comparison with the template.

また、座標変換としては、通常の場合、幾何変換を用いることになるが、この幾何変換として、一つの幾何変換を用いるほかに、探索対象画像中の該当領域の変形形態を考慮して、複数の幾何変換の組み合わ世を用いることも可能である。   Further, as the coordinate transformation, a geometric transformation is usually used. In addition to using one geometric transformation as the geometric transformation, in consideration of the deformation form of the corresponding region in the search target image, a plurality of geometric transformations are used. It is also possible to use a combination of geometric transformations.

例えば、拡大・縮小変換や、回転変換やスキュー変換といった幾何変換やそれらの幾何変換を組み合わせたものを用いたり、あるいは、アフィン変換や射影変換といった幾何変換を用いることが可能である。   For example, it is possible to use geometric transformation such as enlargement / reduction transformation, rotation transformation or skew transformation, or a combination of these, or geometric transformation such as affine transformation or projective transformation.

さらに、探索対象画像中の該当領域の変形形態を考虚して、このとき用いる幾何変換が複数の座標変換パラメータを持つ場合に、その内の一部の座標変換パラメータについては固定とする形で探索処理を行うように処理してもよい。   Furthermore, in consideration of the deformation form of the corresponding area in the search target image, when the geometric transformation used at this time has a plurality of coordinate transformation parameters, some of the coordinate transformation parameters are fixed. You may process so that a search process may be performed.

以上の各処理手段はコンピュータプログラムで実現できるものであり、このコンピュータプログラムは、半導体メモリなどの記録媒体に記録して提供したり、ネットワークを介して提供することができる。   Each of the processing means described above can be realized by a computer program, and this computer program can be provided by being recorded on a recording medium such as a semiconductor memory or via a network.

このように構成される画像処理装置では、探索処理に入る前に、テンプレートから選択される複数の基準点の各々について、その近傍領域の画像情報からサブテンプレートを作成することで複数のサブテンプレート(分割形態のサブテンプレート)を作成するとよい。   In the image processing apparatus configured as described above, before entering the search process, for each of a plurality of reference points selected from the template, a plurality of sub-templates ( It is preferable to create a sub template in a divided form.

これらのサブテンプレートの作成を完了した後に、探索処理に入ると、テンプレートを探索対象画像の各位置座標に順番に配置して、それらの各一座表で、想定する座標変換パラメータを順番に選択し、その配置した位置座標とその選択した座標変換パラメータとに基づき、各サブテンプレートの基準点の位置座標を決定して、全てのサブテンプレートについての探索対象画像との整合度合いの総和を算出する。   After completing the creation of these sub-templates, when entering the search process, the templates are arranged in order at each position coordinate of the search target image, and the assumed coordinate conversion parameters are selected in order from each of these constellations. Then, based on the arranged position coordinates and the selected coordinate conversion parameter, the position coordinates of the reference point of each sub template are determined, and the sum of the matching degrees with the search target images for all the sub templates is calculated.

そして、それらの算出した総和値の最大値を特定するとともに、その最大便を実現する座標変換パラメータを特定することで、テンプレートを配置した探索対象画像の位置座標毎に、それらの算出した総和値の最大値及びその最大値を実現する座標変換パラメータを特定する。   Then, by specifying the maximum value of the calculated total value and specifying the coordinate conversion parameter that realizes the maximum flight, the calculated total value for each position coordinate of the search target image in which the template is arranged And the coordinate transformation parameter that realizes the maximum value.

そして、その特定処理を終了すると、この特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索して、その位置座標を出力したり、その位置座標の出力に加えて、その位置座標における総和値の最大値やその最大値を実現する座標変換パラメータを出力する。   When the identification processing is completed, based on the identification result, an area having a high degree of matching with the template is searched from the search target image, and the position coordinates are output or added to the output of the position coordinates. Thus, the maximum sum value at the position coordinates and the coordinate conversion parameters for realizing the maximum value are output.

このように、テンプレートの配置位置を投票先とするとともに、この投票先に、その配置位置における座標変換パラメータを変化させたときの各ザブテンプレートと探索対象画像との間における整合度合いの総和値の最大値をスコアとして投票しており、スコアを記録するテーブルとして、探索対象画像の位置座標に対応付けて総和値の最大値及びその最大値を実現する座標変換パラメータを記録するテーブルを用意すれば足りることになるので、スコア記録用のテーブルとして小さな要領のものを用意すれば足りることになる。   In this way, the template placement position is set as the vote destination, and the total value of the degree of matching between each sub template and the search target image when the coordinate conversion parameter at the placement position is changed is set as the vote destination. If the maximum value is voted as a score and a table for recording the score is prepared, a table for recording the maximum value of the total value in association with the position coordinates of the search target image and a coordinate conversion parameter for realizing the maximum value is prepared. Since it is sufficient, it is sufficient to prepare a small table for score recording.

また、本発明の画像処理装置は、
テンプレートから選択される複数の基準点の各々について、その基準点に応じて画像情報をぼかすことで複数のサブテンプレートを作成するサブテンプレート作成手段と、
テンプレートを探索対象画像の各位置座標に配置する場合に、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出し、テンプレートを配置した探索対象画像の位置座標毎に、それらの総和値の最大値及びその最大値を実現する座標変換パラメータを特定する特定手段と、
この特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索するテンプレート探索手段とを備えてもよい。
The image processing apparatus of the present invention is
For each of a plurality of reference points selected from the template, sub-template creation means for creating a plurality of sub-templates by blurring image information according to the reference points;
When placing the template at each position coordinate of the search target image, the position coordinates of the reference point of each sub template are determined for each assumed coordinate conversion parameter, and the degree of matching with the search target image for all the sub templates is determined. For each position coordinate of the search target image in which the template is arranged, the specifying means for specifying the maximum value of the total value and the coordinate conversion parameter that realizes the maximum value;
Based on this identification result, template search means for searching a region having a high degree of matching with the template from the search target image may be provided.

本発明においては、探索結果となる整合度合いの高い領域の位置座標における座標変換パラメータに従ってテンプレートを座標変換することで変形させて、その変形させたテンプレートとその位置座標における探索対象画像との整合度合いを算出して出力する整合度合い算出手段を備えることもある。   In the present invention, the template is transformed by coordinate transformation according to the coordinate transformation parameters in the position coordinates of the region having a high degree of matching as a search result, and the degree of matching between the transformed template and the search target image at the position coordinates. There may be provided a matching degree calculating means for calculating and outputting.

このように構成されるにあたって、特定手段は、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出するときに、ぼかしの施された探索対象画像との整合度合いの総和値を算出するように処理することがある。   In this configuration, the specifying unit determines the position coordinates of the reference point of each sub template for each assumed coordinate conversion parameter, and calculates the total value of the degree of matching with the search target image for all sub templates. At the time of calculation, processing may be performed to calculate the total value of the degree of matching with the search target image that has been blurred.

また、特定手段は、探索対象画像の位置座標に対応付けて総和値の最大値及びその最大値を実現する座標変換パラメータを記録するテーブル手段を有し、テンプレートを配置した探索対象画像が位置座標毎に、総和値の最大値及びその最大値を実現する座標変換パラメータを特定するように処理することがある。   The specifying unit includes a table unit that records a maximum sum value and a coordinate conversion parameter that realizes the maximum value in association with the position coordinates of the search target image. Every time, processing may be performed to specify the maximum sum value and the coordinate conversion parameter that realizes the maximum value.

また、サブテンプレートと探索対象画像との間の整合度合いを算出して、サブテンプレートの基準点の位睡座標と対応をとりつつメモリに保存させる手段を備え、このとき、特定手段は、そのメモリに保存される整合度合いを使って、整合度合いの総和値を算出するように処理することがある。   In addition, a degree of matching between the sub-template and the search target image is calculated, and is stored in a memory while being associated with the sleep coordinate of the reference point of the sub-template, and at this time, the specifying unit includes the memory There is a case where processing is performed so as to calculate the total value of the matching degree using the matching degree stored in.

ここで、テンプレートの特徴が規定の画像変換を施すことで顕著になるような場合には、探索対象画像の画像情報にその画像変換を施すことで得られる画像情報を処理対象の探索対象画像として、探索処理を行うように処理するとよい。   Here, when the template features become prominent by performing the prescribed image conversion, the image information obtained by performing the image conversion on the image information of the search target image is used as the search target image to be processed. The search process may be performed.

例えば、テンプレートの特徴が微分を施すことで顕著になるような場合には、探索対象画像の画像情報に微分処理を施すことで得られる画像情報を処理対象の探索対象画像として探索処理を行うように処理することよく、また、テンプレートの特徴が各画素の輝度値を対数変換することで顕著になるような場合には、探索対象画像の各画素の輝度値を対数変換することで得られる画像情報を処理対象の画像として探索処理を行うように処理するとよく、また、テンプレートの特徴が微分を施した結果から得られるエッジの方向を有限の方向に量子化し、同時に得られるエッジの強さで重み付けしたヒストグラムを任意の個数に分割したテンプレートのブロック内で作成することで顕著になる場合には、探索対象画像の画像情報に微分処理を施し、テンプレートとの比較を行う該当領域をテンプレートと同様の手段で作成したヒストグラムを処理対象の探索対象画像として探索処理を行うようにするとよい。   For example, in the case where the feature of the template becomes prominent by performing differentiation, the search processing is performed using the image information obtained by performing differentiation on the image information of the search target image as the search target image to be processed. If the template features become prominent by logarithmically converting the luminance value of each pixel, an image obtained by logarithmically converting the luminance value of each pixel of the search target image It is better to process the information as an image to be processed so that the search process is performed. Also, the edge direction obtained from the result of differentiation of the template features is quantized into a finite direction, and the edge strength obtained at the same time If it becomes prominent by creating a weighted histogram in a block of a template divided into an arbitrary number, a differentiation process is applied to the image information of the search target image. , It may be to perform the search processing histogram created as a search target image to be processed in the same way as the corresponding region template for comparing the template.

座標変換としては、通常の場合、幾何変換を用いることになるが、この幾何変換として一つ幾何変換を用いる他に、探索対象画像中の該当領域の変形形態を考慮して、複数の幾何変換の組み合わせを用いることも可能である。   In general, geometric transformation is used as the coordinate transformation. In addition to using one geometric transformation as the geometric transformation, a plurality of geometric transformations are considered in consideration of the deformation form of the corresponding region in the search target image. It is also possible to use a combination of these.

例えば、拡大・縮小変換や回転変換やスキュー変換といった幾何変換やそれらの幾何変換を組み合わせたものを用いたり、あるいは、アフィン変換や射影変換といった幾何変換を用いることも可能である。   For example, it is possible to use geometric transformation such as enlargement / reduction transformation, rotation transformation, skew transformation, or a combination of these, or geometric transformation such as affine transformation or projective transformation.

さらに、探索対象画像中の該当領域の変形形態を考慮して、このとき用いる幾何変換が複数の座標変換パラメータを持つ場合に、その内の一部の座標変換パラメータについては固定とする形で探索処理を行うように処理してもよい。   Furthermore, in consideration of the deformation mode of the corresponding area in the search target image, when the geometric transformation used at this time has a plurality of coordinate transformation parameters, some of the coordinate transformation parameters are fixed and searched. You may process so that a process may be performed.

以上の各処理手段はコンピュータプログラムで実現できるものであり、このコンピュータプログラムは、半導体メモリなどの記録媒体に記録して提供したり、ネットワークを介して提供することができる。   Each of the processing means described above can be realized by a computer program, and this computer program can be provided by being recorded on a recording medium such as a semiconductor memory or via a network.

このように構成される本発明の画像処理装置においては、探索処理に入る前に、テンプレートから選択される複数の基準点の各々について、その基準点に応じて画像情報をぼかすことで複数のサブテンプレート(テンプレートの画像情報の一部がぼかされたサブテンプレート)を作成するとよい。   In the image processing apparatus of the present invention configured as described above, before entering the search process, for each of a plurality of reference points selected from the template, the image information is blurred according to the reference points, thereby substituting a plurality of sub-points. A template (a sub template in which part of image information of the template is blurred) may be created.

これらのサブテンプレートの作成を完了した後に、探索処理に入ると、テンプレートを探索対製画像の各位置座標に順番に配置して、これらの各位置座標で、想定する座標変換パラメータを順番に選択し、その配置した位置座標とその選択した座榛変換パラメータとに基づき、各サブテンプレートの基準点の位置座標を決定して、全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出する。   After completing the creation of these sub-templates, when entering the search process, the templates are arranged in order at the position coordinates of the search-to-produce image, and the assumed coordinate conversion parameters are selected in order at these position coordinates. Then, based on the arranged position coordinates and the selected locus conversion parameters, the position coordinates of the reference point of each sub template are determined, and the total value of the degree of matching with the search target image for all the sub templates is determined. calculate.

そして、これらの算出した総和値の最大値を特定するとともに、その最大値を実現する座標変換パラメータを特定することで、テンプレートを配置した探索対象画像の位置座標毎に、それらの算出した総和値の最大値及びその最大値を実現する座標変換パラメータを特定する。   Then, by specifying the maximum value of these calculated total values and specifying the coordinate transformation parameter that realizes the maximum value, the calculated total value for each position coordinate of the search target image in which the template is arranged And the coordinate transformation parameter that realizes the maximum value.

前記特定処理を終了すると、この特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索して、その位置座標を出力したり、その位置座標の出力に加えて、その位置座標における総和値の最大値やその最大値を実現する座標変換パラメータを出力する。   When the identification process is completed, based on the identification result, an area having a high degree of matching with the template is searched from the search target image, and the position coordinates are output, or in addition to the output of the position coordinates, The maximum sum value at the position coordinates and a coordinate conversion parameter that realizes the maximum value are output.

このように、テンプレートの配置位置を投票先とするとともに、その投票先に、その配置位置における座標変換パラメータを変化させたときの各サブテンプレートと探索対象画像との間における整合度合いの総和値の最大値をスコアとして投票しており、スコアを記録するテーブルとして、探索対象画像の位置座標に対応付けて総和値の最大値及びその最大値を実現する座標変換パラメータを記録するテーブルを用意すれば足りることになるので、スコア記録用のテーブルとして小さな要領のものを用意すれば足りることになる。   In this way, the template placement position is set as a vote destination, and the total value of the degree of matching between each sub template and the search target image when the coordinate conversion parameter at the placement position is changed is set as the vote destination. If the maximum value is voted as a score and a table for recording the score is prepared, a table for recording the maximum value of the total value in association with the position coordinates of the search target image and a coordinate conversion parameter for realizing the maximum value is prepared. Since it is sufficient, it is sufficient to prepare a small table for score recording.

また、テンプレートの一部をぼかしたサブテンプレートを使って、探索対象画像との整合度合いの、総和値の最大値を求めており、テンプレートを分割することで構成されるサブテンプレートを用いる場合に比べて、テンプレートの画像情報を残しつつ探索対象画像との整合度合いの、総和値の最大値を求めることになるので、より一層精度の高い探索処理を実現できるようになる。   In addition, the maximum value of the total sum of the degree of matching with the search target image is obtained by using a sub template in which a part of the template is blurred. Compared to the case where a sub template configured by dividing the template is used. Thus, the maximum sum value of the degree of matching with the search target image is obtained while leaving the image information of the template, so that a more accurate search process can be realized.

したがって、本発明の画像処理方法及びその装置、プログラム並びにこの記録媒体によれば、探索対象画像の中から特定のテンプレートに類似した領域を探索するときに、探索対象画像の中の該当領域が変形している場合でも、テンプレートに類似する領域を高精度で探索できるようになる。   Therefore, according to the image processing method, apparatus, program, and recording medium of the present invention, when a region similar to a specific template is searched from the search target image, the corresponding region in the search target image is deformed. Even in such a case, a region similar to the template can be searched with high accuracy.

また、テンプレートを変形させて探索を行う場合に比べて、小さな処理負荷でもって、その探索を実行できるようになる。   Further, the search can be executed with a small processing load as compared with the case where the search is performed by deforming the template.

しかも、その実現にあたっては、探索対象画像中の該当領域の変形が大きい場合に高精度での探索を実現する方法や、メモリ削減を優先する場合に好適な探索方法や、メモリ削減を優先しつつ高糖度の探索を実現する方法といった様々な実現方法を提供できるようになる。   Moreover, in realizing this, a method for realizing a high-accuracy search when the deformation of the corresponding area in the search target image is large, a search method suitable for giving priority to memory reduction, and giving priority to memory reduction. Various realization methods such as a method for realizing a search for a high sugar content can be provided.

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

(実施形態例1)
図1は実施形態例1に係る画像処理装置の概略図である。
(Example 1)
FIG. 1 is a schematic diagram of an image processing apparatus according to the first embodiment.

本実施形態例の画像処理装置は、投票座標情報算出手段1と、投票座標情報蓄積手段2と、テンプレート加工手段3と、画像ぼかし手段4と、テンプレート蓄積手段5と、入力画像加工手段6と、加工画像蓄積手段7と、探索制御手段8と、被照合パタン生成手段9と、パタン間照合手段10と、スコア投票手段11と、スコア記録手段12と、ピーク探索手段13とを備えている。   The image processing apparatus according to this embodiment includes a voting coordinate information calculation unit 1, a voting coordinate information storage unit 2, a template processing unit 3, an image blurring unit 4, a template storage unit 5, and an input image processing unit 6. , Processed image storage means 7, search control means 8, matched pattern generation means 9, inter-pattern matching means 10, score voting means 11, score recording means 12, and peak search means 13. .

これらの各処理手段の詳細な動作について説明する。   The detailed operation of each of these processing means will be described.

ここで、この動作の説明は、テンプレートを加工するモードと、加工されたテンプレートを用いて画像を探索するモードとの2つに分けられる。尚、この助作の説明では、テンプレートとして図41に示したものを想定し、探索対象画像(入力画像)として図42に示したものを想定している。   Here, the description of this operation can be divided into two modes: a mode for processing a template and a mode for searching for an image using the processed template. In the description of this assistance, the template shown in FIG. 41 is assumed, and the search target image (input image) shown in FIG. 42 is assumed.

(i)テンプレートを加工するモードの動作例
テンプレートを加工するモードにおいては、テンプレート加工手段3が主に動作する。先ず、テンプレート加工手段3は、テンプレートからの複数の局所的な領域を選ぶ。(各々の領域をフロックと呼ぶ)。これらのブロックは、テンプレートからいくつ選んでもよく、大きさも任意に設定してよく、互いに部分的に重複してもよい。
(I) Example of operation in a mode for processing a template In a mode for processing a template, the template processing means 3 mainly operates. First, the template processing means 3 selects a plurality of local areas from the template. (Each area is called a floc). Any number of these blocks may be selected from the template, the size may be arbitrarily set, and the blocks may partially overlap each other.

図2に、テンプレートから選んだブロックの一例を図示する。   FIG. 2 shows an example of a block selected from the template.

この例では、図41に示したテンプレート(以下、これをテンプレート0と呼ぶ)を4つに間う分割して4個のブロックを作っている。   In this example, the template shown in FIG. 41 (hereinafter referred to as template 0) is divided into four to create four blocks.

説明の便宜上、テンプレートのサイズは4L×4Lで表す。したがって、各ブロックのサイズは2L×2Lである。この例ではテンプレートの形状は正方形だが、この形状は任意の形状(長方形、円、楕円など)でもよい。   For convenience of explanation, the size of the template is represented by 4L × 4L. Therefore, the size of each block is 2L × 2L. In this example, the template has a square shape, but this shape may be any shape (rectangle, circle, ellipse, etc.).

次に、テンプレート加工手段3は、画像ぼかし手段4にテンプレート0を渡す。これを受けて、画像ぼかし手段4ぱ、複数のぼかし度合いでテンプレート0をぼかしてテンプレート加工手段3に返す。   Next, the template processing unit 3 passes the template 0 to the image blurring unit 4. In response to this, the image blurring means 4, blurs the template 0 with a plurality of blurring degrees and returns it to the template processing means 3.

具体的なぼかし方法としては、例えば2次元マトリクスを畳み込むことによる平滑化フィルタを用いる方法があり、その平滑化フィルタの例としては、画像解析ハンドブック(高木、下田監修、1991年、東京大学出版社)の539貫に記載された局所平均フィルタや局所加頭平均フィルタがある。   As a specific blurring method, for example, there is a method of using a smoothing filter by convolving a two-dimensional matrix. Examples of the smoothing filter include an image analysis handbook (supervised by Takagi and Shimoda, 1991, University of Tokyo Press). 539) of local average filters and local head average filters.

これらのマトリクスのサイズを変えたり、局所加重フィルタの場合には、中心からの距離よる重みの変化の度合いを変えることでぼかしの度合いを変えられる。   In the case of a local weighting filter, the degree of blurring can be changed by changing the degree of change in weight depending on the distance from the center.

すなわち、これらのマトリクスを大きくしたり、局所加重平均フィルタの場合には、中心からの距離による重みの減少の度合いを小さくすることで、ぼかしの度合いを犬きくできる。   That is, in the case of these matrixes being enlarged, or in the case of a local weighted average filter, the degree of blurring can be increased by reducing the degree of weight reduction due to the distance from the center.

図3(a)〜(e)に、ぼかしの度合いを5段階に変えたぼかし画像の例を示す。   3A to 3E show examples of blurred images in which the degree of blurring is changed in five stages.

テンプレート加工手段3は、その後で、図2に示す各ブロックを1個ずつ取り出し、以下の処理を行う。   Thereafter, the template processing means 3 takes out each block shown in FIG. 2 one by one and performs the following processing.

すなわち、ブロック1を例とすると、先ず、ブロックの領域を中心からの距離こよって図3の(f)のように分ける。そして、各領域について、中心からの距離が大きいほどぼかしの度合いの大きいぼかし画像の対応する面素値をコピーしてくることにより、図3(g)に示すように、中心からの距離が大きい程ぼかしの度合いの大きいぼかし画像を作成する。これをテンプレート1とする。   That is, taking block 1 as an example, first, the block area is divided as shown in FIG. For each region, the larger the distance from the center, the larger the distance from the center, as shown in FIG. 3G, by copying the corresponding surface element value of the blurred image having a higher degree of blurring. Create a blurred image with a greater degree of blurring. This is template 1.

同様の方法で、ブロック2〜4についても加工し、図4に示すようなテンプレート2〜4を作成する。   In the same manner, the blocks 2 to 4 are also processed to create templates 2 to 4 as shown in FIG.

次に、テンプレートの特徴として方向別のヒストグラム特徴を用いる場合には、テンプレート1〜4を数画素のブロックに分割し、図5(a)〜(d)に示すような分割したブロック内でのエッジの方向別濃淡ヒストグラムを作成する。これをテンプレート5〜8という。テンプレート5〜8は、それぞれのテンプレートに対して、量子化された方向の数だけ作成される。   Next, when using a histogram feature for each direction as a template feature, the templates 1 to 4 are divided into blocks of several pixels, and within the divided blocks as shown in FIGS. Create a density histogram by edge direction. This is called templates 5-8. Templates 5 to 8 are created for each template in the number of quantized directions.

そして、テンプレート加工手段3は、これらのテンプレート1〜4または5〜8をテンプレート蓄積手段5に送り、保存する。以後の処理について、方向別のヒストグラム特徴を使用する場合、テンプレート1〜4の代わりにテンプレート5〜8を使用する。   Then, the template processing means 3 sends these templates 1 to 4 or 5 to 8 to the template storage means 5 and stores them. For the subsequent processing, when using the histogram feature for each direction, templates 5 to 8 are used instead of templates 1 to 4.

次に、テンプレート加工手段3は、テンプレート0の基準位置とテンプレート1〜4の基準位置とを投票座標算出手段1に送る。   Next, the template processing unit 3 sends the reference position of the template 0 and the reference positions of the templates 1 to 4 to the voting coordinate calculation unit 1.

ここでは、一例として、図6に示すように、テンプレート0の基準位置(基準点)はその中心点、テンプレート1〜4の基準位置(基準点)は各々の中心点とする。   Here, as an example, as shown in FIG. 6, the reference position (reference point) of template 0 is the center point, and the reference positions (reference points) of templates 1 to 4 are the center points.

投票座標情報算出手段1は、テンプレート加工手段3からテンプレート0〜4の基準点の位置を受け取ると、先ずテンプレート1について、それが探索対象画像の任意の位置に置かれた際に、テンプレート1の基準点からのテンプレート0の基準点に相当する点の相対的な位置が、想定された座標変換で表現される領域の変形によってどの座標に存在する可能性力があるのかを算出する。   When the voting coordinate information calculation means 1 receives the positions of the reference points of the templates 0 to 4 from the template processing means 3, when the template 1 is first placed at an arbitrary position in the search target image, the template 1 It is calculated which coordinate has a possibility that the relative position of the point corresponding to the reference point of the template 0 from the reference point exists due to the deformation of the region expressed by the assumed coordinate transformation.

本実施形態例では、変形の例を、拡大・縮小と回転とを組み合わせた座標変換で表されると想定する。   In the present embodiment, it is assumed that an example of deformation is expressed by coordinate transformation that combines enlargement / reduction and rotation.

探索対象画像中の該当領域に変形がまったく生じなかったときには、その該当領域はテンプレート0と完全に重なるはずであり、そのときのテンプレート0の基準点を原点とした座標系では、その該当領域においてテンプレート1の基準点に該当する点の位置は(−L,L)であるが、変形が生じた場合、変換後を(x’、y’)で表すと、(x’、y’)は、下記(1)及び(2)式で表される。   When no deformation occurs in the corresponding area in the search target image, the corresponding area should completely overlap with the template 0. In the coordinate system with the reference point of the template 0 at that time as the origin, The position of the point corresponding to the reference point of the template 1 is (−L, L), but when deformation occurs, if (x ′, y ′) after conversion is expressed, (x ′, y ′) is These are represented by the following formulas (1) and (2).

x’=−aLcosγ−aLsinγ …(1)
y’=−aLsinγ+aLcosγ …(2)
ここで、aは拡大・縮小率、γは回転角度である。
x ′ = − aL cos γ−a L sin γ (1)
y ′ = − aLsinγ + aLcosγ (2)
Here, a is the enlargement / reduction ratio, and γ is the rotation angle.

一方、テンプレート0の基準点は座標系の原点なので、変形が生じなくても生じても、(0,0)である。ここで、(x’、y’)を原点としたときのテンプレート0の基準点の位厘を、(Δx、Δy)で表すと、下記(3)及び(4)式で表せる。   On the other hand, since the reference point of template 0 is the origin of the coordinate system, even if no deformation occurs, it is (0, 0). Here, when the position of the reference point of template 0 when (x ′, y ′) is the origin is represented by (Δx, Δy), it can be represented by the following equations (3) and (4).

Δx=−x’=aLcosγ+aLsinγ …(3)
Δy=−y’=aLsinγ+aLcosγ …(4)
すなわち、(3)式と(4)式とで表される(Δx、Δy)が、パラメータ値a、γによる変形が生じたときに、テンプレート1の基準点に該当する点を原点としたときのテンプレート0の基準点の位置であり、探索対象画像中の任意の位置にテンプレート1をずらして置いた際に、そのときのパターンとしてのテンプレート1と探索対象画像におけるその位置の領域との画像としての一致度合いを記録すべきテンプレートの位置である。
Δx = −x ′ = aLcosγ + aLsinγ (3)
Δy = −y ′ = aLsinγ + aLcosγ (4)
That is, when (Δx, Δy) expressed by the equations (3) and (4) is deformed by the parameter values a and γ, the point corresponding to the reference point of the template 1 is used as the origin. When the template 1 is shifted and placed at an arbitrary position in the search target image, the image of the template 1 as a pattern at that time and the region at that position in the search target image The position of the template where the degree of coincidence should be recorded.

(Δx、Δy)は、想定されるパラメータ値の範囲内で、aとγを小幅で変化させて複数個算出する。   A plurality of (Δx, Δy) are calculated by changing a and γ within a small range within an assumed parameter value range.

これについて図を参照しながら説明すると、m≦a≦n(0≦m≦1,1≦n)とし、−β≦γ≦αと想定した場合、aとγをこの範囲内で変化きせたときに、プロヅク1の基準点を原点としたテンプレート0の位置(Δx、Δy)の奇跡は、図7の斜線の部分で表されることになる。   This will be described with reference to the drawings. When m ≦ a ≦ n (0 ≦ m ≦ 1, 1 ≦ n) is assumed and −β ≦ γ ≦ α, a and γ can be changed within this range. Sometimes, the miracle of the position (Δx, Δy) of the template 0 with the reference point of the process 1 as the origin is represented by the hatched portion in FIG.

投票座標情報算出手段1は、この計算を予め行ってテーブルを作成し、投票座標情報蓄積手段2に蓄積しておく。   The voting coordinate information calculating means 1 performs this calculation in advance to create a table and stores it in the voting coordinate information accumulating means 2.

このテーブルの一例を図示すべく、これまでの記号で示してきた値の数値例として、L=50(画素)、β=α=20(度)、m=0.7、n=1.3を用いる。また、aとγを変化させる値として、aは(0.7,0.8,0.9,1.0,1.1,1.2,1.3)、γは(−20度,−10度,0度,10度,20度)を用いる。   In order to illustrate an example of this table, L = 50 (pixels), β = α = 20 (degrees), m = 0.7, n = 1.3 are shown as numerical examples of the values shown so far. Is used. As values for changing a and γ, a is (0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3), and γ is (−20 degrees, −10 degrees, 0 degrees, 10 degrees, 20 degrees).

図8に、これらの数値を用いて、(3)式と(4)式とにより算出した値を記録したテーブルを図示する。   FIG. 8 shows a table in which values calculated by the equations (3) and (4) using these numerical values are recorded.

同様の考え方で、テンプレート2についてテーブルを作成した結果を図9に、また、テンプレート3についてテーブルを作成した結果を図10に、テンプレート4についてテーブルを作成した結呆を図11に図示する。   In the same way, FIG. 9 shows the result of creating a table for template 2, FIG. 10 shows the result of creating a table for template 3, and FIG. 11 shows the result of creating a table for template 4.

投票座標情報算出手段1は、これらのテーブル(以下、投票座標位置テーブルと称することがある)を作成すると、それらを投票座榛情報蓄積手段2に苗積することになる。   When the voting coordinate information calculating unit 1 creates these tables (hereinafter sometimes referred to as a voting coordinate position table), the voting coordinate information calculating unit 1 accumulates them in the voting chair information storage unit 2.

(ii)画像を探索するモードの動作例
この動作の説明では、テンプレートとして図41に示すものを想定し、探索対象画像として図42に示すものを想定している。また、4L=200(画索)を想定している。図42に示した探索対象画像では、図41に示すテンプレート1を1.2倍に拡大するとともに、−20度(すなわち右方向に20度)回転させた画像を、中心位置が(X=3000画素,Y=1000画素)の領域に置いたことを想定している。
(Ii) Example of operation in mode for searching image In the description of this operation, the template shown in FIG. 41 is assumed, and the search target image shown in FIG. 42 is assumed. In addition, 4L = 200 (image search) is assumed. In the search target image shown in FIG. 42, an image obtained by enlarging the template 1 shown in FIG. 41 by 1.2 times and rotating it by −20 degrees (that is, 20 degrees to the right) has a center position (X = 3000). (Pixel, Y = 1000 pixels).

したがって、図41に示すテンプレート(テンプレート0)を1.2倍に拡大するとともに、−20度回転させて、その基準位置をこの中心位置(X=3000画素、Y=1000画索)に重ねたときに、パターン間の一致の度合いがピークを持つはずである。   Therefore, the template (template 0) shown in FIG. 41 is enlarged 1.2 times and rotated by −20 degrees, and the reference position is overlapped with this center position (X = 3000 pixels, Y = 1000 image search). Sometimes the degree of matching between patterns should have a peak.

ここで、テンプレート1については、基準点のX座標が2964画素((1)式のx’にX=3000画素を加えた価)、Y座標が1077画素((2)式のy’にY=1000画索を加えた値)となる領域に重ねられたときに、一致の度合いがピークとなるはずであり、同様にテンプレート2については、基準点のX座標が3077画素、Y座標が1036画素となる領域に重ねられたときに、一致の度合いがピークとなるはずである。そして、テンプレート3とテンプレート4とについても、図12に示した位置に重ねたときに、一致の度合いがピークとなるはずである。   Here, for template 1, the X coordinate of the reference point is 2964 pixels (the value obtained by adding X = 3000 pixels to x ′ in equation (1)), and the Y coordinate is 1077 pixels (y ′ in y ′ in equation (2)). = The value obtained by adding 1000 strokes), the degree of coincidence should be a peak. Similarly, for template 2, the X coordinate of the reference point is 3077 pixels, and the Y coordinate is 1036. The degree of coincidence should peak when overlaid on the pixel area. The template 3 and the template 4 should have a peak degree of coincidence when they are superimposed on the positions shown in FIG.

画像を探索するモードでは、先ず、画像ぼかし手段4を用いて、探索対象画像に対して、ぼかしの度合いの異なる複数のぼかし画像を作成する。   In the image search mode, first, the image blurring unit 4 is used to create a plurality of blurred images having different degrees of blurring with respect to the search target image.

このぼかし画像については、上述の「テンプレートを加工するモード」で説明した方法と同じ方法を用いて作成する。図13(a)〜(e)に、その作成結果を図示する。   This blurred image is created by using the same method as described in the above “template processing mode”. FIGS. 13A to 13E show the creation results.

次に、処理は探索制御手段8に移る。   Next, the processing moves to the search control means 8.

探索制御手段8では、先ず、テンプレート蓄積手段5からテンプレート1の画像(図3の(g))を取り出す。そして、探索制御手段8は、この取り出したテンプレート1の画像をぼかした探索対象画像の各位置にずらしながら、各位置での一致の度合いを算出し、その結果をスコア投票手段11に送り、これを受けて、スコア投票手段11は、それをスコア記録手段12に記録する。   The search control means 8 first takes out the image of the template 1 ((g) in FIG. 3) from the template storage means 5. Then, the search control means 8 calculates the degree of coincidence at each position while shifting the extracted image of the template 1 to each position of the blurred search target image, and sends the result to the score voting means 11. In response, the score voting means 11 records it in the score recording means 12.

ここで、探索制御手段8がテンプレート1の画像を探索対象画像の一つの位置にずらしておいたときにおける一致の度合いの算出手順について、図13を用いて説明する。   Here, a procedure for calculating the degree of coincidence when the search control unit 8 shifts the image of the template 1 to one position of the search target image will be described with reference to FIG.

一例として、図13の(f)で説明するように、テンプレート1の基準点の位置がもっとも一致する座標である(2964画素、1077画素)になるように置かれたときの動作について説明する。   As an example, as will be described with reference to (f) of FIG. 13, the operation when the position of the reference point of the template 1 is placed so as to be the most coincident coordinates (2964 pixels, 1077 pixels) will be described.

この場合、探索制御手段8は、先ず、テンプレート1の基準点の座標(2964画素、1077画素)と、テンプレート1のサイズ(この説明では100画素×100画素)と、入力画像加工手段6で加工された図13の(a)〜(e)に示すぼかしの度合いの異なる複数のぼかし画像(原画は探索対象画像)とを被照合パタン生成手段9に送る。   In this case, the search control means 8 first processes the coordinates of the reference point of the template 1 (2964 pixels, 1077 pixels), the size of the template 1 (100 pixels × 100 pixels in this description), and the input image processing means 6. The plurality of blurred images (original images are search target images) having different degrees of blurring shown in FIGS. 13A to 13E are sent to the matched pattern generation means 9.

ここで、入力画像加工手段6は、画像ぼかし手段4を用いて、探索対象画像をぼかしの度合いの異なる複数のぼかし画像に変換し、加工画像蓄積手段7は、そのぼかし画像を保存することになる。   Here, the input image processing unit 6 uses the image blurring unit 4 to convert the search target image into a plurality of blurred images having different blurring degrees, and the processed image storage unit 7 stores the blurred image. Become.

これを受けて、被照合パタン生成手段9は、上述の「テンプレートを加工するモード」で説明した方法と同じ方法を用いて、テンプレート1と同じ大きさで、その中心からの距離が大きい程ぼかしの度合いの大きいぼかし画像を作成して、探索制御手段8に返す(処理結果の画像例を図13の(h)に示す)。   In response to this, the collation pattern generation means 9 uses the same method as that described in the above-mentioned “mode for processing a template”, and blurs as the distance from the center is the same size as the template 1. Is created and returned to the search control means 8 (an example of the processing result is shown in FIG. 13 (h)).

そして、探索制御手段8は、このぼかし画像の処理結果をパタン間照合手段10に送る。   Then, the search control unit 8 sends the processing result of the blurred image to the inter-pattern matching unit 10.

これを受けて、パタン間照合手段10は、渡された画像をテンプレート1の画像と照合してパタン間の一致の度合いを算出し、その結果を探索制御手段8に返す。   In response to this, the inter-pattern matching unit 10 collates the passed image with the image of the template 1 to calculate the degree of matching between the patterns, and returns the result to the search control unit 8.

パタン間の一致の度合いとしては、例えば、従来の技術の説明で述べた正規化相関を用いることができる、ここでは、例えば「0.8」が算出されたとする。   As the degree of matching between patterns, for example, the normalized correlation described in the description of the prior art can be used. Here, for example, “0.8” is calculated.

続いて、探索制御手段8は、スコア投票手段11に対して、パタン間照合手段10から返された値(以下スコアと呼ぷ。ここでは上述の「0.8」)と、テンプレート1の識別コードと、テンプレート1の基準点の座標(この場合は(2964画素、1077画素))とを送る。テンプレート1〜4の識別コードとしては、ここでは、一例として各々「1」〜「4」を用いることとすると、この場合には「1」が送られることになる。次に、処理はスコア投票手段11に移る。   Subsequently, the search control means 8 identifies the value returned from the inter-pattern matching means 10 to the score voting means 11 (hereinafter referred to as score; here, “0.8” above) and the template 1. The code and the coordinates of the reference point of the template 1 (in this case (2964 pixels, 1077 pixels)) are sent. Here, as the identification codes of templates 1 to 4, if “1” to “4” are used as an example, “1” is sent in this case. Next, the processing moves to the score voting means 11.

その説明の前に、スコア記録手段12の構成例を図示する。この図は探索を行う前の初期状態である。   Prior to the description, a configuration example of the score recording unit 12 is illustrated. This figure shows the initial state before the search is performed.

図14に示されているように、スコア記録手段12は、探索対象画像の各位置座標の各座標こついて、その座標にスコアを記録するための配列(以下、スコア記録テーブルと称する)を有しており、このスコア記録テーブルには、変形のパラメータ値の網羅的な組み合わせが事前に登録されており、さらに各組み合わせに対応するスコアの欄には初期状態では初期値(図14の例では0)が記入されている。   As shown in FIG. 14, the score recording means 12 has an array (hereinafter referred to as a score recording table) for recording a score at each coordinate of each position coordinate of the search target image. In this score recording table, comprehensive combinations of parameter values for deformation are registered in advance, and the initial value (in the example of FIG. 14) is displayed in the score column corresponding to each combination in the initial state. 0) is entered.

次に、スコア投票手段11の動作について説明する。   Next, the operation of the score voting means 11 will be described.

スコア投票手段11は、探索制御手段8から送られてきたテンプレート1の識別コード「1」を識別し、該当するテンプレート1の投票座標位置テーブル(図8に示すもの)を投票座標情報蓄積手段2から取り出す。   The score voting unit 11 identifies the identification code “1” of the template 1 sent from the search control unit 8 and stores the voting coordinate position table (shown in FIG. 8) of the corresponding template 1 in the voting coordinate information storage unit 2. Take out from.

そして、その投票座標位置テーブルの各行に記録されたΔxとΔyの数値に、探索制御手段8から送られてきたテンプレート1の基準点の座標(この場合は(2964晒素、1077画素))をそれぞれ加算することで・その行における投慕先のX座標と投票先のY座標を出力する(図15(a))。   Then, the coordinates of the reference point of the template 1 sent from the search control means 8 (in this case (2964 exposure element, 1077 pixels)) are added to the numerical values of Δx and Δy recorded in each row of the vote coordinate position table. By adding each, the X coordinate of the throwing destination and the Y coordinate of the voting destination in that row are output (FIG. 15A).

ここで、図15(a)では、テンプレート1の投票座標位置テーブルの持つ「回転角度=−20度、拡大率=1.2」という行について、投票先X座標と投票先Y座標を算出した例を示しているが、このような処理を投票座標位置テーブルの各行について行うことになる。   Here, in FIG. 15A, the voting destination X coordinate and the voting destination Y coordinate are calculated for the row “rotation angle = −20 degrees, enlargement ratio = 1.2” of the voting coordinate position table of the template 1. Although an example is shown, such processing is performed for each row of the voting coordinate position table.

次に、スコア投票手段11は、投票座標位置テーブルの各行について、その行の投票先X座標と投票先Y座標に該当するスコア記録テーブルの持つ、その行の回転角度と拡大率に該当する個所のスコアの欄に、探索例御手段8から送られてきたスコア(この場合は0.8)を加算する(図15(b))。   Next, for each row of the voting coordinate position table, the score voting means 11 has a portion corresponding to the rotation angle and enlargement ratio of the row of the score recording table corresponding to the vote destination X coordinate and the vote destination Y coordinate of the row. The score sent from the search example control means 8 (0.8 in this case) is added to the score column (FIG. 15B).

ここで、図15(b)では、「回転角度=−20度、拡大率=1.2」の行に対応付けられる「投票先X座標=3000画素、投票先Y座標=1000画素」を持つスコア記録テーブルの持つ該当欄(「回転角度=−20度、拡大率=1.2」の欄)に、スコア0.8を加算した例を示しているが、このような処理を投票座標位置テーブルの各行について行うことになる。   Here, in FIG. 15B, “voting destination X coordinate = 3000 pixels, voting destination Y coordinate = 1000 pixels” associated with the row of “rotation angle = −20 degrees, enlargement ratio = 1.2”. Although an example is shown in which a score of 0.8 is added to the corresponding column of the score recording table (the column of “rotation angle = −20 degrees, magnification factor = 1.2”), such processing is performed in the voting coordinate position. This is done for each row in the table.

以上について説明したテンプレート1を探索対象画像の1つの位置に置いた際の処理(テンプレート1とのパタン間照合処理とその結果のスコア記録テーブルヘの加算処理)については、探索対象画像の全ての位置について行われることになる。   Regarding the processing when the template 1 described above is placed at one position of the search target image (inter-pattern matching processing with the template 1 and addition processing to the score recording table as a result), all the positions of the search target image Will be done about.

探索制御手段8とスコア投票手段11は、上記の処理をテンプレート1について完了した後で、同様の処理を残りのテンプレート2〜4についても行う。   The search control means 8 and the score voting means 11 perform the same processing for the remaining templates 2 to 4 after completing the above processing for the template 1.

図16は、テンプレート2が図12に示したように、その基準位置が最も一致する座標である(3077画素、1036画索)になるように置かれたときの動作におけるスコア投票手段11の動作例を説明する図である。   FIG. 16 shows the operation of the score voting means 11 in the operation when the template 2 is placed so that the reference position is the closest coordinate (3077 pixels, 1036 lines) as shown in FIG. It is a figure explaining an example.

「投票先X座像=3000画素、投票先Y座標=1000画素」に対しては、ここでもスコアの投票が行われる。これは、テンプレート3とテンプレート4でも同様の結呆となる。   For “voting destination X seat image = 3000 pixels, voting destination Y coordinate = 1000 pixels”, the score is also voted here. This is the same for the template 3 and the template 4.

すなわち、テンプレート0については、大きさと傾きが探索対象画像中の該当領域とは大きくずれているにもかかわらず、テンプレート1〜テンプレート4に分割して照合する本発明の仕組みにより、テンプレート0の基準点(3000画素、1000両素)には、大きなスコアが蓄積することとなる。   That is, with respect to template 0, although the size and inclination of the template 0 are significantly different from the corresponding region in the search target image, the template 0 is divided into templates 1 to 4 and collated, so that the reference of template 0 can be obtained. A large score is accumulated at the point (3000 pixels, 1000 both primes).

最後に、ピーク探索手段13の処理に移る。   Finally, the process proceeds to the peak search means 13.

図17に、ピーク探索手段13の処理の説明図を図示する。   FIG. 17 shows an explanatory diagram of the processing of the peak searching means 13.

この図に示すように、ピーク探索手段13は、スコア記録手段12における各スコア記録テーブル(図17(a))から、スコアの最大値を取得して、そのスコアの値をスコアマップ(図17(b))にプロットし、またそのときの変形パラメータ値をパラメータ値マップ(図17(c))にプロットする。   As shown in this figure, the peak search means 13 acquires the maximum value of the score from each score recording table (FIG. 17A) in the score recording means 12, and uses the score value as a score map (FIG. 17). (B)), and the deformation parameter values at that time are plotted on the parameter value map (FIG. 17C).

そして、ピーク探索手段13は、スコアマップからピーク探索の手法(例えば、規定の閾値以上を持つスコアを抽出して、隣接するものが同一のグループに属するような形でグルーピングを行い、各グルーブの中で最大のスコアを持つものを特定することでピーク個所を探し出すといった手法)により、ピーク個所(複数のこともある)を探し出して、その位置の座標とスコア値とを出力し、さらに、パラメータ値マップの該当する座椋からパラメータ値を取得して、これも出力する。   Then, the peak searching means 13 extracts a peak search technique (for example, a score having a specified threshold value or more from the score map, performs grouping so that adjacent items belong to the same group, Find the peak location by identifying the one with the highest score among them), find the peak location (s), output the coordinates of the location and the score value, and The parameter value is obtained from the corresponding spot in the value map and is also output.

図18及び図19に、以上に説明した画像探索モードの処理フローを図示する。   18 and 19 show the processing flow of the image search mode described above.

すなわち、本発明の画像処理装置は、画繰探索モードに入ると、この処理フローに示すように、先ず、ステップ1で、テンプレートの識別番号となる変数iに初期値1をセツトする。この実施形態例ではi=1〜4の値をとりうることになる。   That is, when the image processing apparatus according to the present invention enters the image search mode, first, as shown in this processing flow, first, in step 1, the initial value 1 is set to the variable i which becomes the identification number of the template. In this embodiment, i = 1 to 4 can be taken.

続いて、ステップ2で、変数iの値が4よりも大きくなったのか否かを判定して、大きくなっていないことを判断するときには、ステップ3に進んで、テンプレート蓄積手段5からテンプレートiの画像を取り出し、続くステップ4で、投票座標情報蓄積手段2からテンプレートiの投票座標位罎テーブル(図8から図ユ1に示すもの)を取り出す。   Subsequently, in step 2, it is determined whether or not the value of the variable i is larger than 4, and when it is determined that the value is not larger, the process proceeds to step 3 where the template storage means 5 stores the template i. In step 4, the image is extracted, and the voting coordinate position table (shown in FIG. 8 from FIG. 8) of the template i is extracted from the voting coordinate information accumulating means 2.

以下に説明するように、X方向とY方向とに1画素ずつずらしながらテンプレートiについて全位置を処理していないことを判断するときは、ステップ7に進んで、未処理位置の中からテンプレートiの処理位置(テンプレートiの基準点の位置)を1つ選択する。例えば、X方向とY方向とに1画索すつずらしながら選択する。   As will be described below, when it is determined that all positions of the template i are not processed while shifting one pixel at a time in the X direction and the Y direction, the process proceeds to step 7 where the template i is selected from the unprocessed positions. One processing position (the position of the reference point of template i) is selected. For example, the selection is made by shifting one stroke in the X direction and the Y direction.

続いて、ステップ8で、探索対象画像から、その選択した処理位置におけるテンプレートiの照合対象となるぼかし画像を作成し(前もって複数段階でぼかしておいた探索対象画像を合成することで作成する)、続くステップ9で、テンプレートiとその作成したぼかし画像との間の一致度を算出する。   Subsequently, in step 8, a blurred image that is a collation target of the template i at the selected processing position is created from the search target image (created by synthesizing a search target image that has been blurred in multiple stages in advance). In the subsequent step 9, the degree of coincidence between the template i and the created blurred image is calculated.

その一致度の算出に合わせて、投票座標位置テーブルの各行について以下に説明する処理を行うことになるので、続いて、ステップ10で、投票座標位置テーブルの全行について処理を終了したのか否かを判断して、投票座標位置テーブルの全行について処理を終了したことを判断するときには、探索対象画像の次の処理位置における一致度を算出すべく、ステップ5に戻る、
一方、ステップ10で投票座標位置テーブルの全行について処理を終了していないことを判断するときには、ステップ11に進んで、テンプレートiの投票座標位置テーブル(ステップ4で取り出したもの)の中から、未処理の行を1つ選択する。例えば、投票座標位置テーブル(図8から図11に示すもの)の上から順番に行(エントリー域)を1つずつ選択していく場合には、前回処理した行の下の行を選択するのである。
In accordance with the calculation of the degree of coincidence, the process described below is performed for each row of the voting coordinate position table. Subsequently, in step 10, whether all the lines of the voting coordinate position table have been processed. When it is determined that the processing has been completed for all the rows in the voting coordinate position table, the process returns to step 5 in order to calculate the degree of coincidence at the next processing position of the search target image.
On the other hand, when it is determined in step 10 that the processing has not been completed for all the rows of the voting coordinate position table, the process proceeds to step 11 and from the voting coordinate position table (extracted in step 4) of template i, Select one unprocessed row. For example, when selecting rows (entry areas) one by one from the top of the voting coordinate position table (shown in FIGS. 8 to 11), the row below the previously processed row is selected. is there.

続いて、ステヅブ12で、その選択した行に設定されているΔx/Δyと処理位置とを加算することで、投票先X座標/投票先Y座標を算出する。続いて、ステップ13で、その算出した投票先X座標/投票先Y座標の指すスコア記録テーブルを選択し、その選択したスコア記録テーブルの持つエントリーの内、選択した行に設定されている回転角度/拡大率の指すエントリー(スコアを記録している)に、算出した一致度(スコア)を加算してから、次の投票先座標位置テーブルの行に対しての処理を行うべく、ステップ10に戻る。   Subsequently, at step 12, the vote destination X coordinate / voting destination Y coordinate is calculated by adding Δx / Δy set to the selected row and the processing position. Subsequently, in step 13, the score recording table indicated by the calculated vote destination X coordinate / voting destination Y coordinate is selected, and the rotation angle set in the selected row among the entries of the selected score recording table. / After adding the calculated degree of coincidence (score) to the entry pointed by the enlargement ratio (recording the score), the process goes to step 10 in order to perform processing for the next row in the vote-destination coordinate position table. Return.

このようにして、ステップ2〜ステツブ14の処理を繰り返していくときに、ステツブ2で、変数iの値が4よりも大きくなったことを判断するとき、すなわち、全てのテンプレートについて処理を終了したことを判断するときには、ステップ14に進んで、スコア記録テーブルの中に含まれる規定の閾値以上の値を持つスコアを抽出する。   In this manner, when it is determined that the value of the variable i is larger than 4 in step 2 when the processing of steps 2 to 14 is repeated, the processing is completed for all templates. When this is determined, the process proceeds to step 14, and a score having a value equal to or greater than a prescribed threshold value included in the score recording table is extracted.

続いて、ステップ15で、その抽出したスコアを、隣接するものが同じグループに属する形でグルーピングし、続くステップ16で、同一のグループの中で最大値を示すスコアを探索結果として選択する。   Subsequently, in step 15, the extracted scores are grouped so that adjacent ones belong to the same group, and in step 16, the score indicating the maximum value in the same group is selected as a search result.

続いて、ステップ17で、スコア記録手段12(スコア記録テーブル)を参照することで、探索結呆のスコアの指す位置座標/回転角度/拡大率を取得する。続いて、ステップ18で、その取得した回転角度/拡大率に従ってテンプレート0を変形して、その取得した位置座標の指す探索対象画像との間の一致度を算出する。   Subsequently, in step 17, by referring to the score recording means 12 (score recording table), the position coordinate / rotation angle / magnification rate pointed to by the score of the search ligation is acquired. Subsequently, in step 18, the template 0 is deformed according to the acquired rotation angle / magnification ratio, and the degree of coincidence with the search target image indicated by the acquired position coordinates is calculated.

続いて、ステップ19で、ステツブ16で選択した探締結果のスコアと、ステップ17で取得した位置座標/回転角度/拡大率と、ステップ18で算出した一致度とを出力して、処理を終了する。   Subsequently, in step 19, the score of the search result selected in step 16, the position coordinates / rotation angle / magnification rate acquired in step 17, and the degree of coincidence calculated in step 18 are output, and the process is terminated. To do.

このようにして、本実施形態例の画像処理装置は、テンプレート0を分割することで、例えば4個のテンプレート1〜4を作成して、それらのテンプレート1〜4と探索対象画像との間の整合度合いを算出し、その算出結果を、予め想定した複数の座標変換パラメータにより変形を受けていると仮定した場合のテンプレート0の位置座標に累積加算していくことで、テンプレートを色々と変形させて整合度合いを算出する処理と等価な処理を実行して、その加算結果に基づいて、探索対象画像の中からテンプレート0との整合度合いの高い領域を探索するように処理するのである。   In this manner, the image processing apparatus according to the present embodiment divides the template 0 to create, for example, four templates 1 to 4, and between those templates 1 to 4 and the search target image. The degree of matching is calculated, and the result of the calculation is cumulatively added to the position coordinates of template 0 when it is assumed that it has been deformed by a plurality of coordinate transformation parameters assumed in advance, thereby deforming the template in various ways. Then, a process equivalent to the process of calculating the degree of matching is executed, and based on the addition result, processing is performed so as to search for an area having a high degree of matching with the template 0 from the search target image.

以上に説明した本実施形態例において、テンプレート1〜4について、中心からの距離が大きくなる程ぼかしの度合いが大きくなるぼかし画像で構成するとともに、テンプレート1〜4との照合対象となる探索対象画像についても、その中心に重なる位置からの距離が大きくなる程ぼかしの度合いが大きくなるぼかし画像で構成するようにしたが、どちらか一方のみをぼかし画像で構成するようにしてもよいし、ぼかしの方法についても、距離に関係なく単一のぼかし度合いを示すぼかし画像で構成するようにしてもよい。   In the embodiment described above, the templates 1 to 4 are configured with a blurred image in which the degree of blur increases as the distance from the center increases, and the search target image to be compared with the templates 1 to 4 As for the image, the blur image increases in the degree of blur as the distance from the center overlaps, but only one of the images may be composed of the blur image. The method may also be configured with a blurred image showing a single degree of blur regardless of distance.

(実施形態例2)
図20は、実施形態例2に係る画像処理装置の概略図である。
Embodiment 2
FIG. 20 is a schematic diagram of an image processing apparatus according to the second embodiment.

本実施形態例の画像処理装置は、投票座標情報算出手段1aと、投票座標情報蓄積手段2aと、テンプレート加工手段3aと、画像ぼかし手段4aと、テンプレート蓄積手段5aと、入力画像加工手段6aと、加工画像蓄積手段7aと、探索制御手段8aと、被照合パタン生成手段9aと、パタン間照合手段10aと、スコア投票手段11aと、スコア記録手段12aと、ピーク探索手段13aと、照合結果蓄積手段14aとを備えている。   The image processing apparatus according to the present embodiment includes a voting coordinate information calculation unit 1a, a voting coordinate information storage unit 2a, a template processing unit 3a, an image blurring unit 4a, a template storage unit 5a, and an input image processing unit 6a. Processed image storage means 7a, search control means 8a, matched pattern generation means 9a, inter-pattern verification means 10a, score voting means 11a, score recording means 12a, peak search means 13a, and verification result storage Means 14a.

投票座標情報算出手段1aは、投票座標一テーブルを作成する処理をおこなうものであり、実施形態例1では前記(3)式及び(4)式に従って図8から図11に示した投票座標位置テーブルを作成することになる。   The voting coordinate information calculation means 1a performs a process of creating a voting coordinate table. In the first embodiment, the voting coordinate position table shown in FIGS. 8 to 11 according to the equations (3) and (4). Will be created.

後述することから分かるように、本実施形態例に従う場合には、テンプレート0の基準点(図6に示す位置)の位置を基準にして、テンプレート1〜4の基準点(図6に示す位置)の位置を特定するように処理することから、投票座標情報算出手段1aは、前記(1)式及び(2)式に従って投票座標位置テーブルを算出する。   As will be described later, when the embodiment is followed, the reference points of the templates 1 to 4 (positions shown in FIG. 6) are based on the positions of the reference points of the template 0 (positions shown in FIG. 6). Therefore, the voting coordinate information calculating unit 1a calculates the voting coordinate position table according to the above equations (1) and (2).

これから、投票座標情報蓄積手段2aには、図8から図11に示したテーブルデータの符号を反転した図21に示すような投票座標位置テーブルが蓄積されることになる。   From this, the voting coordinate information accumulating means 2a accumulates a voting coordinate position table as shown in FIG. 21 in which the signs of the table data shown in FIGS. 8 to 11 are inverted.

テンプレート加工手段3aは、実施形態例1の画像ぼかし手段4と同様の処理を実行する画像ぼかし手段4aを使い、実施形態例1のテンプレート加工手段3と同様の処理を実行することで、図3及び図4に示したテンプレート1〜4を作成する。   The template processing unit 3a uses the image blurring unit 4a that performs the same processing as the image blurring unit 4 of the first embodiment, and executes the same processing as the template processing unit 3 of the first embodiment, thereby performing FIG. And templates 1 to 4 shown in FIG. 4 are created.

これから、テンプレート蓄積手段5aには、図3及び図4に示したテンプレート1〜4が保存されることになる。   Thus, the templates 1 to 4 shown in FIGS. 3 and 4 are stored in the template storage unit 5a.

入力画像加工手段6a、加工画像蓄積手段7a、被照合パタン生成手段9a及びパタン間照合手段10aは、それぞれ実施形態例1の入力画像加工手段6、加工画像蓄積手段7、被照合パタン生成手段9及びパタン間照合手段10と同様の処理を実行することになるが、実施形態例2に従う場合には、パタン間の一致度合い(スコア)については、その都度、スコア投票手段11aに送られるのではなくて、探索制御手段8aを介して照合結果蓄積手段14aに蓄積されることになる。   The input image processing unit 6a, the processed image storage unit 7a, the collated pattern generation unit 9a, and the inter-pattern verification unit 10a are respectively the input image processing unit 6, the processed image storage unit 7, and the collated pattern generation unit 9 of the first embodiment. In addition, in the case of following the second embodiment, the matching degree (score) between patterns is not sent to the score voting unit 11a each time. Instead, it is stored in the collation result storage unit 14a via the search control unit 8a.

図22に照合結果蓄積手段14aに蓄積されるスコアのデータ構造を図示する。この図に示すように、被照合結果蓄積手段14aは、テンプレート1〜4のそれぞれについて、各テンプレート1〜4の基準点が置かれた探索対象画像の一に対応付けて、その位置におけるぼかされた探索対象画像との間の一致度合い(スコア)を蓄積する。   FIG. 22 illustrates the data structure of the score stored in the collation result storage unit 14a. As shown in this figure, the collation result accumulating means 14a associates each of the templates 1 to 4 with one of the search target images on which the reference points of the templates 1 to 4 are placed, and blurs them at that position. The degree of coincidence (score) with the searched image is stored.

スコア記録手段12aぱ、図23に示すように、テンプレート0の基準点が置かれた探索対象画像の位置に対応付けて、その位置におけるテンプレート1〜4の持つスコアの総和の最大値と、その最大スコア総和値を実現する変形パラメータ(拡犬・縮小率a、回転角度γ)とを管理するスコア記録テーブルで檎成される。   As shown in FIG. 23, the score recording unit 12a is associated with the position of the search target image where the reference point of the template 0 is placed, and the maximum value of the sum of the scores of the templates 1 to 4 at that position, It is generated by a score recording table that manages deformation parameters (dog expansion / reduction rate a, rotation angle γ) that realize the maximum score total value.

スコア投票手段12aは、スコア記録手段12aへのデータ登録を実行するものであって、テンプレート0の基準点を探索対象画像の各位置に配置し、投票座標位置テーブル(図21に示すもの)を参照することで、それぞれの配置位置で変形パラメータを変化させたときのテンプレート1〜4の基準点の位置を求め、その位置をキーにして照合結果検乗手段14a(図22に示すもの)を参照することで、テンプレート1〜4のスコアを得て、その総和値を算出する。   The score voting means 12a executes data registration in the score recording means 12a, and arranges the reference point of the template 0 at each position of the search target image, and creates a voting coordinate position table (shown in FIG. 21). By referencing, the position of the reference point of the templates 1 to 4 when the deformation parameter is changed at each arrangement position is obtained, and the collation result detecting means 14a (shown in FIG. 22) is obtained using that position as a key. By referencing, the scores of templates 1 to 4 are obtained, and the sum value thereof is calculated.

そして、スコア投票手段11aは、このようにして図24に示すような形でスコア総和値を算出すると、スコア記録テーブルに記録される最大スコア総和値と比較して、それよりも大きなスコア総和値が算出される場合には、それに応じてスコア記録テーブルに記録されるデータを更新していくことで、スコア記録手段12aへのデータ登録を実行する。   Then, when the score voting means 11a calculates the score total value in the form as shown in FIG. 24 in this way, the score total value is larger than the maximum score total value recorded in the score recording table. Is calculated, the data recorded in the score recording table is updated accordingly, thereby registering data in the score recording means 12a.

すなわち、スコア投票手段11aは、図25に示す処理を実行することで、スコア記録手段12a(スコア記録テーブル)へのデータ登録を実行する。   That is, the score voting means 11a executes data registration in the score recording means 12a (score recording table) by executing the processing shown in FIG.

このようにして、本実施形態例に従う場合には、スコア記録手段12aを構成するスコア記録テーブルには、図23に示すように、テンプレート0の基準点が置かれた探索対象画像の位置に対応付けて、その位置におけるテンプレート1〜4のスコアの総和の最大値と、その最大スコア総和値を実現する変形パラメータとが記録されることになる。   Thus, in the case of following this embodiment, the score recording table constituting the score recording means 12a corresponds to the position of the search target image where the reference point of the template 0 is placed, as shown in FIG. In addition, the maximum value of the sum of the scores of the templates 1 to 4 at the position and the deformation parameter that realizes the maximum score sum value are recorded.

したがって、ピーク探索手段13aは、スコア記録テーブルを参照することで、直ちに、図17に示したようなスコアマップおよびパラメータ値マップヘのプロットを実行できるようになる。   Therefore, the peak searching means 13a can immediately execute the plot on the score map and the parameter value map as shown in FIG. 17 by referring to the score recording table.

これから、ピーク探索手段13aは、実施形態例1のピーク探索手段13と同様に、スコアマップからピーク探索の手法(例えば、規定の閾値以上を持つ最大スコア総和値を抽出して、隣接するものが同一のグループに属するような形でグルービングを行い、各グループの中で最大値を示す最大スコア総和値を持つものを特定することでピーク個所を探し出すといった手法)により、ピークの個所(複数のこともある)を探し出して、その位置の座標と最大スコア総和値とを出力し、さらに、パラメータ値マップの該当する座標から変形パラメータ値を取得して、これも出力する。   From now on, the peak search means 13a extracts the peak search technique (for example, the maximum score sum value having a specified threshold value or more from the score map, as in the peak search means 13 of the first embodiment, The location of the peak (several things) by grooving in the form of belonging to the same group, and finding the peak location by identifying the one with the maximum total score value indicating the maximum value in each group) And the coordinates of the position and the maximum score total value are output, and the deformation parameter value is acquired from the corresponding coordinates of the parameter value map, and this is also output.

実施形態例1に従う場合には、テンプレート1〜4を独立の形で動かしてスコアを加算していくことから、探索対象画像に含まれるテンプレート画像部分が複雑に変形していてもそれを検出できるようになるものの、図14に示すように、探索対象画像の位置ごとに用意する大きなメモリ要領のスコア記録テーブルを用いなければならない。   In the case of following the first embodiment, since the scores are added by moving the templates 1 to 4 independently, even if the template image portion included in the search target image is complicatedly deformed, it can be detected. However, as shown in FIG. 14, a large memory-based score recording table prepared for each position of the search target image must be used.

これに対して、実施形態例2に従う場合には、以上の説明から分かるように、テンプレート1〜4を、テンプレート0を基準として、一体的な形で動かしてスコアの総和値を求めて、それをテンプレート0の位置を投票先として投票することから、図23に示すような小さなメモリ要領のスコア記録テーブルを用意すれば足りることになる。   On the other hand, in the case of following the second embodiment, as can be seen from the above description, the templates 1 to 4 are moved in an integrated manner on the basis of the template 0 to obtain the total value of the scores, Therefore, it is sufficient to prepare a score recording table having a small memory procedure as shown in FIG.

次に、図26から図28に示す処理フローに従って、本実施形態に従う場合に本発明の画像処理装置が実行する画像探索モードの処理について説明する。   Next, processing in the image search mode executed by the image processing apparatus of the present invention when following the present embodiment will be described according to the processing flow shown in FIGS.

本実施形態の画像処理装置は、画像探索モードに入ると、この処理フローに示すように、先ず、ステップ20で、テンプレートの識別番号となる変数iに初期値1をセットする。この実施形態例ではi=1〜4の値をとりうることになる。   When entering the image search mode, the image processing apparatus according to the present embodiment first sets an initial value 1 to a variable i serving as a template identification number in step 20, as shown in this processing flow. In this embodiment, i = 1 to 4 can be taken.

続いて、ステップ21で、変数iの値が4よりも大きくなったのか否かを判断して、大きくなっていないことを判断するときにほ、ステップ22に進んで、テンプレート蓄積手段5aからテンプレートiの画像を取り出す。   Subsequently, in step 21, it is determined whether or not the value of the variable i is larger than 4, and when it is determined that the value is not larger, the process proceeds to step 22 where the template accumulating means 5a receives the template. Take out the image of i.

以下に説明するように、X方向とY方向とに1画索ずつずらしながらテンプレートiを探索対象画像に置いて所定の処理を実行していくことになるが、続いて、ステップ23で、その位置について以下に説明する処理を終了したのか否かを判断して、全位置について処理を終了したことを判断するときには、ステップ24に進んで、次のテンプレートiを処理すべく変数iの値を1つインクリメントしてから、ステツブ21に戻る。   As will be described below, the template i is placed on the search target image while shifting one image at a time in the X direction and the Y direction, and predetermined processing is executed. When it is determined whether or not the process described below for the position has been completed and it is determined that the process has been completed for all positions, the process proceeds to step 24 to set the value of the variable i to process the next template i. After one increment, return to step 21.

一方、ステップ23で、テンプレートiについて全位置を処理していないことを判断するときには、ステップ25に進んで、探索対象画鎮の未処理位置の中からテンプレートiの基準点を置く処理位置を1つ選択(X方向とY方向とに1画素ずつずらしながら選択)する。   On the other hand, when it is determined in step 23 that all positions of the template i have not been processed, the process proceeds to step 25, where the processing position for placing the reference point of the template i from the unprocessed positions of the search target map is set to 1. Are selected (selected while shifting one pixel at a time in the X and Y directions).

続いて、ステップ26で、探索対象画像から、その選択した処理位置におけるテンプレートiの照合対象となるぼかし画像を作成する(前もって複数段階でぼかしておいた探索対象画像を合成することで作成する)。   Subsequently, in step 26, a blurred image that is a collation target of the template i at the selected processing position is created from the search target image (created by synthesizing a search target image that has been blurred in multiple stages in advance). .

続いて、ステップ27で、テンプレートiとその作成したぼかし画像との間の一致度を算出して照合結呆蓄積手段14aに登録してから、探索対象画像の次の位置における一致度を算出すべく、ステップ23に戻る。   Subsequently, in step 27, the degree of coincidence between the template i and the created blurred image is calculated and registered in the collation ligation accumulation means 14a, and then the degree of coincidence at the next position of the search target image is calculated. Therefore, the process returns to step 23.

このようにして、ステップ22〜ステップ27の処理を繰り返していくことにより、図22に示すようなデータ構造をもつ照合結果蓄積手段14aへのデータ登録を完了することで、ステップ21で、変数iの値が4よりも大きくなったことを判断すると、ステップ28に進んで、探索対象画像の全位置について処理を終了したか否かを判断する。   In this way, by repeating the processing of step 22 to step 27, data registration in the collation result storage means 14a having the data structure as shown in FIG. If it is determined that the value of is greater than 4, the process proceeds to step 28 to determine whether or not the processing has been completed for all positions of the search target image.

すなわち、以下に説明するように、X方向とY方向とに1画素すつずらしながらテンプレート0(分割元のテンプレート)を探索対象画像に置いて所定の処理を実行していくことになるので、その全処理を終了したのか否かを判断するのである。   That is, as described below, template 0 (division source template) is placed on the search target image while shifting one pixel in the X direction and the Y direction, and a predetermined process is executed. It is determined whether or not all the processes have been completed.

このステップ28の判断処理により、探索対象画像の全位置について処理を終了していないことを判断するときには、ステップ29に進んで、探索対象が未処理位置の中からテンプレート0の基準点を置く処理位置を1つ選択(X方向とY方向とに1画索ずつずらしながら選択)する。   When it is determined by the determination process in step 28 that the process has not been completed for all positions of the search target image, the process proceeds to step 29, in which the search target places the reference point of the template 0 from the unprocessed positions. One position is selected (selected while shifting one stroke in the X and Y directions).

続いて、ステップ30で、投票座標位置テーブルの中から、未処理の行を1つ選択することで、未処理の変形パラメータを1つ選択する。例えば、投票座標位置テーブル(図21に示すもの)の上から順番に行(4つのテーブルに共通となる行)を1つずつ選択していく場合には、前回処理した行の下の行を選択することで、未処理の変形パラメータを1つ選択するのである。   Subsequently, in step 30, one unprocessed deformation parameter is selected by selecting one unprocessed line from the vote coordinate position table. For example, when selecting rows one by one from the top of the voting coordinate position table (shown in FIG. 21) (rows common to the four tables) one by one, By selecting, one unprocessed deformation parameter is selected.

続いて、ステップ31で、その選択した行に登録されているΔx/Δyと処理位置とを加算することで、探索対象画像上におけるテンプレート1〜4の基準点の位置を特定して、その特定した位置をキーにして照合結果蓄積手段14aを参照することで、照合結果蓄積手段14aに登録されているテンプレート1〜4と探索対象画像との間の一致度(スコア)を得て、それらの総和を算出する。   Subsequently, in step 31, by adding Δx / Δy registered in the selected row and the processing position, the position of the reference point of the templates 1 to 4 on the search target image is specified, and the specification is performed. The matching result (score) between the templates 1 to 4 registered in the matching result accumulation unit 14a and the search target image is obtained by referring to the matching result accumulation unit 14a using the determined position as a key. Calculate the sum.

続いて、ステップ32で、その算出した総和値が、スコア記録テーブル(図23に示すもの)に記録されている選択した探索対象画像の処理位置の指す最大スコア総和値よりも大きいのか否かを判断して、大きいことを判断するときには、ステップ33に進んで、その算出した総和値とそれを実現する変形パラメータとに従って、スコア記録テーブルに記録されているデータを更新(未登録の場合には新規登録となる)する。   Subsequently, at step 32, it is determined whether or not the calculated total value is larger than the maximum score total value indicated by the processing position of the selected search target image recorded in the score recording table (shown in FIG. 23). If it is determined that the value is larger, the process proceeds to step 33, and the data recorded in the score recording table is updated (if not registered) in accordance with the calculated total value and the deformation parameter that realizes the sum. New registration).

一方、ステップ32で、算出した総和値が、スコア記録テーブルに記録されている選択した探索対象画像の処理位置の指す最大スコア総和値よりも小さいことを判断するときには、このステップ33の処理を省略する。   On the other hand, when it is determined in step 32 that the calculated total value is smaller than the maximum score total value indicated by the processing position of the selected search target image recorded in the score recording table, the processing in step 33 is omitted. To do.

続いて、ステップ34で、投票座標位置テーブルの全行について処理を終了したか否かを判断して、全行について処理を終了していないことを判断するときは、次の行に対しての処理を行うべく、ステップ30に戻り、一方、全行について処理を終了したことを判断するときには、次の探索対象画像の処理位置に対しての処理を行うべく、ステップ28に戻る。   Subsequently, in step 34, it is determined whether or not the processing has been completed for all the rows of the voting coordinate position table, and when it is determined that the processing has not been completed for all the rows, In order to perform the process, the process returns to step 30. On the other hand, when it is determined that the process has been completed for all rows, the process returns to step 28 in order to perform the process for the processing position of the next search target image.

このようにして、ステップ29からステップ34の処理を繰り返していくことにより、図25に示したような形でスコア記録テーブルヘのデータ登録を行い、そのデータ登録を完了することで、ステップ28で、探索対象画像の全位置について処理を終了したことを判断すると、ステップ35に進んで、スコア記録テーブルの中に含まれる規定の閾値以上の値を持つ最大スコア総和値を抽出する。   In this way, by repeating the processing from step 29 to step 34, data registration to the score recording table is performed in the form as shown in FIG. 25, and by completing the data registration, in step 28, When it is determined that the processing has been completed for all positions of the search target image, the process proceeds to step 35, and the maximum score sum value having a value equal to or greater than a prescribed threshold value included in the score recording table is extracted.

続いて、ステップ36で、その抽出した最大スコア総和値を、隣接するものが同じグルーブに属する形でグルーピングし、続くステップ37で、同一グループの中で最大値を示す最大スコア総和値を探索結果として選択する。   Subsequently, in step 36, the extracted maximum score sum values are grouped so that adjacent ones belong to the same groove, and in step 37, the maximum score sum value indicating the maximum value in the same group is searched. Choose as.

続いて、ステップ38でスコア記録テーブル(スコア記録手段12a)を参照することで、探索結果のスコア総和値の指す位置座標/変形パラメータを取得する。続いて、ステップ39で、その取得した変形パラメータに従ってテンプレート0を変形して、その取得した位置座標の指す探索対象画像との間の一致度を算出する。   Subsequently, by referring to the score recording table (score recording means 12a) in step 38, the position coordinate / deformation parameter indicated by the score total value of the search result is acquired. Subsequently, in step 39, the template 0 is deformed according to the acquired deformation parameter, and the degree of coincidence with the search target image indicated by the acquired position coordinate is calculated.

続いて、ステップ40で、ステップ37で選択した探索対象画像のスコアを総和値と、ステップ38で取得した位置座標/変形パラメータと、ステップ39で算出した一致度とを出力して、処理を終了する。   Subsequently, in step 40, the total score of the search target image selected in step 37, the position coordinates / deformation parameter acquired in step 38, and the degree of coincidence calculated in step 39 are output, and the process is terminated. To do.

図29に、図26〜図28の処理フローの概要を示すとともに、図30に、実施形態例1の実行する図18及び図19の処理フローの概要を示す。   FIG. 29 shows an overview of the processing flows of FIGS. 26 to 28, and FIG. 30 shows an overview of the processing flows of FIGS. 18 and 19 executed by the first embodiment.

図30に示されたように、実施形態例1に従う場合には、テンプレート1〜4を独立の形で動かしてスコアを加算していくことから、探索対象画像に含まれるテンプレート画像部分が複雑に変形していてもそれを探索できるようになるものの、図14に示すように、探索対象画像の位置毎に用意する大きなメモリ容量のスコア記録テーブルを用いなければならない。   As shown in FIG. 30, in the case of following the first embodiment, the templates 1 to 4 are moved independently and the scores are added, so that the template image portion included in the search target image is complicated. Although it becomes possible to search even if it is deformed, as shown in FIG. 14, it is necessary to use a score recording table having a large memory capacity prepared for each position of the search target image.

これに対して、実施形態例2に従う場合には、図29に示したように、テンプレート1〜4を、テンプレート0を基準として、一体的な形で動かしてスコアの総和値を求めて、それをテンプレート0の位置を投票先として投票することから、図23に示すような、小きなメモリ容量のスコア記録テーブルを用意すれば足りることになる。   On the other hand, when the second embodiment is followed, as shown in FIG. 29, the templates 1 to 4 are moved in an integrated manner with the template 0 as a reference to obtain the total value of the scores. Therefore, it is sufficient to prepare a score recording table having a small memory capacity as shown in FIG.

ここで、図20に示す実施形態例2では、照合結果蓄積手段14aを用意する構成を採ったが、この照合結果蓄積手段14aを用意せずに、その都度、テンプレート1〜4と探索対象画像との間の一致度を算出して、その総和を得るようにしてもよい。   Here, in the second embodiment shown in FIG. 20, the configuration in which the collation result storage unit 14a is prepared is adopted. However, without preparing the collation result storage unit 14a, the templates 1 to 4 and the search target image are prepared each time. The degree of coincidence may be calculated to obtain the sum.

この構成を用いると、照合結果蓄積手段14aを省略することが可能になるので、さらにメモリエリアを節約できるようになる。   When this configuration is used, the collation result accumulating unit 14a can be omitted, and thus the memory area can be further saved.

以上に説明した実施形態例2において、テンプレート1〜4について、中心からの距離が大きくなる程ぼかしの度合いが大きくなるぼかし画像で構成するとともに、テンプレート1〜4との照合対象となる探索対象画像こついても、実施形態例1の被照合パタン生成手段9と同様の処理を実行する被照合パタン生成手段9aの処理に従って、その中心に重なる位置からの距離が大きくなる程ぼかしの度合いが大きくなるぼかし画像で構成するようにしたが、どちらか一方のみをぼかした画像で構成するようにしてもよいし、ぼかしの方法についても、距離に関係なく単一のぼかし度合いを示すぼかし画像で構成するようにしてもよい。   In the second embodiment described above, the templates 1 to 4 are composed of blurred images in which the degree of blur increases as the distance from the center increases, and the search target images to be collated with the templates 1 to 4 Even in this case, the degree of blur increases as the distance from the position overlapping the center increases in accordance with the process of the pattern generation unit 9a that executes the same process as the pattern generation unit 9 of the first embodiment. Although it is configured with a blurred image, it may be configured with an image with only one of them blurred, and the blurring method is also configured with a blurred image showing a single blur level regardless of the distance. You may do it.

(実施形態例3)
図31は、実施形態例3に係る画像処理装置の概略構成図である。
(Embodiment 3)
FIG. 31 is a schematic configuration diagram of an image processing apparatus according to the third embodiment.

本実施形態例の画像処理装置は、投票座標情報算出手段1bと、投票座標情報蓄積手段2bと、テンプレート加工手段3bと、画像ぼかし手段4bと、テンプレート蓄積手段5bと、入力画像加工手段6bと、加工画像蓄積手段7bと、探索制御手段8bと、被照合パタン生成手段9bと、パタン間照合手段10bと、スコア投票手段11bと、スコア記録手段12bと、ピーク探索手段13bと、照合結果蓄積手段14bとを備えている。   The image processing apparatus according to the present embodiment includes a voting coordinate information calculation unit 1b, a voting coordinate information storage unit 2b, a template processing unit 3b, an image blurring unit 4b, a template storage unit 5b, and an input image processing unit 6b. Processed image storage means 7b, search control means 8b, matched pattern generation means 9b, inter-pattern matching means 10b, score voting means 11b, score recording means 12b, peak search means 13b, and verification result storage Means 14b.

実施形態例1及び2では、テンプレート0を分割することで例えは図3及び図4に示すようなテンプレート1〜4を生成して、それを使って、探索対象画像こ含まれるテンプレート画像部分を探索するという構成を採るのに対して、本実施形態例では、図32に示すように、テンプレート0に含まれる複数の基準点(テンプレート0の基準点を除く)に応じてテンプレート0の画像をぼかすことで例えば4個のテンプレート9〜12を生成して、それを使って、探索対象画像に含まれるテンプレート画像部分を探索するという構成を採る。   In the first and second embodiments, the template 0 is divided to generate templates 1 to 4 as shown in FIGS. 3 and 4, for example, and the template image portion included in the search target image is used. In contrast to the configuration of searching, in this embodiment, as shown in FIG. 32, the image of template 0 is displayed according to a plurality of reference points (excluding the reference point of template 0) included in template 0. For example, four templates 9 to 12 are generated by blurring, and a template image portion included in the search target image is searched for using the templates.

このようなテンプレート9〜12を生成するために、テンプレート加工手段3bは、テンプレート0が与えられると、複数の基準点を選択する。次に、画像ぼかし手段4bにテンプレート0を渡し、これを受けて、画像ぼかし手段4bは、複数のぼかしの度合いでテンプレート0をぼかしてテンプレート加工手段3bに返す。   In order to generate such templates 9 to 12, the template processing unit 3b selects a plurality of reference points when the template 0 is given. Next, the template 0 is transferred to the image blurring unit 4b. Upon receiving this, the image blurring unit 4b blurs the template 0 with a plurality of blurring degrees and returns it to the template processing unit 3b.

具体的なぼかし方法としては、例えば2次元マトリクスを畳み込むことにより平滑化フィルタを用いる方法があり、その平滑化フィルタの例としては、画像解析ハンドブック(高木、下田監修、1991年、東京大学出版社)の第539頁に記述された局所平均フィルタや局所加重平均フィルタがある、
これらのマトリクスのサイズを変えたり、局所加重平均フィルタの場合には、中心からの距離による重みの変化の度合いを変えることで、ぼかしの度合いを変えられる。すなわち、これらのマトリクスを大きくしたり、局所加重平均フィルタの場合には、中心からの距離が大きい程ぼかしの度合いの大きいぼかし画像を生成する。
As a specific blurring method, for example, there is a method using a smoothing filter by convolving a two-dimensional matrix. Examples of the smoothing filter include an image analysis handbook (supervised by Takagi and Shimoda, 1991, University of Tokyo Press). ) On page 539, there is a local average filter and a local weighted average filter,
In the case of the size of these matrices, or in the case of a local weighted average filter, the degree of blurring can be changed by changing the degree of change in weight depending on the distance from the center. That is, in the case of increasing these matrices or in the case of a local weighted average filter, a blurred image having a higher degree of blurring is generated as the distance from the center is larger.

このようにして、テンプレート加工手段3bは、テンプレート0に含まれる複数の基準点に応じてテンプレート0の画像をぼかすことで、図32に示すようなテンプレート9〜12を生成するのである。   In this way, the template processing unit 3b generates templates 9 to 12 as shown in FIG. 32 by blurring the image of the template 0 according to a plurality of reference points included in the template 0.

これから、テンプレート蓄横手段5bには、図32に示すようなテンプレート9〜12が保存されることになる。   From this, templates 9 to 12 as shown in FIG. 32 are stored in the template storage lateral means 5b.

投票座標情報算出手段1bは、投票座標位置テーブルを作成する処理を行うものであり、実施形態例1では前記(3)式及び(4)式に従って図8〜図11に示した投票座標位置テーブルを作成するのに対して、前記(1)式及び(2)式に従って投票座標位置テーブルを作成することになる。   The voting coordinate information calculation means 1b performs processing for creating a voting coordinate position table. In the first embodiment, the voting coordinate position table shown in FIGS. 8 to 11 according to the equations (3) and (4). Is created in accordance with the equations (1) and (2).

後述することから分かるように、実施形態例3に従う場合には、テンプレート0の基準点の位置を基準にして、テンプレート9〜12の基準点の位置を特定するように処理することから、投票座標情報算出手段1bほ、前記(1)式及び(2)式に従って投票座標位置テーブルを算出するのである。   As will be described later, in the case of following the third embodiment, the processing is performed so as to specify the positions of the reference points of the templates 9 to 12 on the basis of the position of the reference point of the template 0. The information calculation means 1b calculates the voting coordinate position table according to the equations (1) and (2).

これから、投票座標情報蓄積手段2bには、図8〜図11に示したテーブルデータの符号を反転した図33に示すような投票座標位置テーブルが蓄積されることになる。   From this, the voting coordinate information accumulating means 2b accumulates a voting coordinate position table as shown in FIG. 33 in which the signs of the table data shown in FIGS.

入力画像加工手段6b、加工画像蓄積手段7b、被照合パタン生成手段9b、パタン間照合手段10bは、それぞれ、実施形態例1の入力画像加工手段6の処理を実行することになるが、本実施形態例に従う場合には、パタン間照合手段10bにより算出されるテンプレート9〜12と探察対象画像とのパタン間の一致度合い(スコア)については、その都度スコア投票手段11bに送られるのではなくて、探察制御手段8bを介して照合結果蓄積手段14bに蓄積されることになる。   The input image processing means 6b, the processed image storage means 7b, the to-be-matched pattern generation means 9b, and the inter-pattern matching means 10b each execute the processing of the input image processing means 6 of the first embodiment. When the embodiment is followed, the degree of matching (score) between the patterns of the templates 9 to 12 calculated by the inter-pattern matching unit 10b and the search target image is not sent to the score voting unit 11b each time. The result is accumulated in the collation result accumulating unit 14b via the search control unit 8b.

図34に、照合緒架蓄積手段14bに蓄積されるスコアのデータ構造を図示する。図示されるように、照合結果蓄積手段14bは、テンプレート9〜12のそれぞれについて、各テンプレート5〜8の基準点(図32に示す位置)が置かれた探索対象画像の位置に対応付けて、その位置におけるぼかされた探索対象画像との間の一致度合い(スコア)を蓄積する。   FIG. 34 illustrates the data structure of the score stored in the collation frame storage unit 14b. As shown in the figure, the collation result accumulating unit 14b associates each of the templates 9 to 12 with the position of the search target image where the reference point (the position shown in FIG. 32) of each template 5 to 8 is placed. The degree of coincidence (score) with the blurred search target image at that position is accumulated.

スコア記録手段12bは、図35に示すように、テンプレート0の基準点(図32に示す位置)が置かれた探索対象画像の位置に対応付けて、その位置におけるテンプレート9〜12の持つスコアの総和の最大値と、その最大スコア総和値を実現する変形パラメータ(拡大・縮小率a、回転角度γ)とを管理するスコア記録テーブルで構成される。   As shown in FIG. 35, the score recording unit 12b associates the reference point of the template 0 (the position shown in FIG. 32) with the position of the search target image and the score of the templates 9 to 12 at that position. The score recording table manages the maximum value of the total sum and the deformation parameters (enlargement / reduction ratio a, rotation angle γ) that realize the maximum score total value.

スコア投票手段11bは、スコア記録手段12bへのデータ登録を実行するものであって、テンプレート0の基準点を探索対象画像の各位置に配置し、投票座標位置テーブル(図33に示すもの)を参照することで、それぞれの配置位置で変形パラメータを変化させたときにおけるテンプレート9〜12の基準点の位置を求め、その位置をキーにして照合結果蓄積手段14b(図34に示すもの)を参照することで、テンプレート9〜12のスコアを得て、その総和値を算出する。   The score voting unit 11b executes data registration in the score recording unit 12b. The score voting unit 11b arranges the reference point of the template 0 at each position of the search target image, and a voting coordinate position table (shown in FIG. 33). By referencing, the positions of the reference points of the templates 9 to 12 when the deformation parameters are changed at the respective arrangement positions are obtained, and the collation result accumulating means 14b (shown in FIG. 34) is referred to using the positions as keys. As a result, the scores of the templates 9 to 12 are obtained, and the total value thereof is calculated.

そして、スコア投票手段11bは、このようにして図36に示すような形でスコア総和値を算出すると、スコア記録テーブルに記録される最大スコア総和値と比較して、それよりも大きなスコア総和値が算出される場合には、それに応じてスコア記録テーブルに記録されるデータを更新していくことで、スコア記録手段12bへのデータ登録を実行する。   Then, when the score voting means 11b calculates the score total value in the form as shown in FIG. 36 as described above, the score voting means 11b compares the maximum score total value recorded in the score recording table with a larger score total value. Is calculated, data registration in the score recording unit 12b is executed by updating the data recorded in the score recording table accordingly.

すなわち、スコア投票手段11bは、図37に示す処理を実行することで、スコア記録手段12b(スコア記録テーブル)へのデータ登録を実行するのである。   That is, the score voting unit 11b executes data registration in the score recording unit 12b (score recording table) by executing the process shown in FIG.

このようにして、本実施形態例に従う場合には、スコア記録手段12bを構成するスコア記録テーブルには、図35に示すように、テンプレート0の基準点が置かれた探索対象画像の位置に対応付けて、その位置におけるテンプレート9〜12のスコアの総和の最大値と、その最大スコア総和値を実現する変形パラメータとが記録されることになる。   Thus, in the case of following this embodiment, the score recording table constituting the score recording unit 12b corresponds to the position of the search target image where the reference point of the template 0 is placed, as shown in FIG. In addition, the maximum value of the sum of the scores of the templates 9 to 12 at that position and the deformation parameter that realizes the maximum score sum value are recorded.

したがって、ピーク探索手段13bは、スコア記録テーブルを参照することで、直ちに、図17に示したようなスコアマップおよびパラメータ値のマップヘのプロットを実行できるようになる。   Therefore, the peak searching means 13b can immediately execute plotting of the score map and parameter values on the map as shown in FIG. 17 by referring to the score recording table.

これから、ピーク探索手段13bは、実施形態例1のピーク探索手段13と同様に、スコアマップからピーク探索の手法(例えば、規定の閾値以上を持つ最大スコア総和値を抽出して、隣接するものが同一のグループに属するような形でグルーピングを行い、各グループの中で最大値を示す最大スコア総和値を持つものを特定することでピーク個所を探し出すといった手法)によりピークの個所(複数のこともある)を探し出して、その位置の座標と最大スコア総和値とを出力し、さらに、パラメータ値マップの該当する座標から変形パラメータ個を取得して、これも出力する。   From now on, the peak search means 13b, like the peak search means 13 of the first embodiment, extracts a peak search method (for example, a maximum score sum having a specified threshold value or more from a score map, Perform grouping in such a way as to belong to the same group, and identify the peak location (a method that finds the peak location by specifying the one with the maximum total score value indicating the maximum value in each group) And the coordinates of the position and the maximum score total value are output, and the deformation parameters are obtained from the corresponding coordinates in the parameter value map and are also output.

実施形態例1に従う場合には、テンプレート1〜4を独立の形で動かしてスコアを加算していくことから、探索対象画像に含まれるテンプレート画像部分が複雑に変形していてもそれを検出できるようになるものの、図14に示すように、探索対象画像の位置毎に用意する大きなメモリ容量のスコア記録テーブルを用いなければならない。   In the case of following the first embodiment, since the scores are added by moving the templates 1 to 4 independently, even if the template image portion included in the search target image is complicatedly deformed, it can be detected. However, as shown in FIG. 14, it is necessary to use a score recording table having a large memory capacity prepared for each position of the search target image.

これに対して、本実施形態例に従う場合には、以上の説明から分かるように、テンプレート9〜12をテンプレート0を基準として一体的な形で動かしてスコアの総和値を求めて、それをテンプレート0の位置を投票先として投票することから、図35に示すような小さなメモリ容量のスコア記録テーブルを用意すれば足りることになる。   On the other hand, in the case of following this embodiment, as can be seen from the above description, the templates 9 to 12 are moved in an integrated manner with reference to the template 0 to obtain the total value of the scores, and this is used as the template. Since voting is performed using the 0 position as a voting destination, it is sufficient to prepare a score recording table having a small memory capacity as shown in FIG.

しかも、実施形態例2に従う場合には、テンプレート0を分割する形態で生成するテンプレート1〜4を用いることから、テンプレート0の一部の画像情報が取り除かれた形での探索処理になるのに対して、本実施形態例に従う場合には、テンプレート0の一部の画像情報をぼかす形態で生成するテンプレート9〜12を用いることから、そのような画像情報の取り除きがなくなることで高精度の探索処理を実現できるようになる。   In addition, according to the second embodiment, the templates 1 to 4 generated in the form of dividing the template 0 are used, so that the search processing is performed in a form in which some image information of the template 0 is removed. On the other hand, in the case of following the present embodiment example, since the templates 9 to 12 that are generated in the form of blurring part of the image information of the template 0 are used, such image information is not removed and a high-accuracy search is performed. Processing can be realized.

次に、図38〜図40に示す処理フローに従って、本実施形態例に従う場合に本発明の画像情報処理装置が実行する画像探索モードの処理について説明する。   Next, according to the processing flow shown in FIGS. 38 to 40, the processing in the image search mode executed by the image information processing apparatus of the present invention when following the present embodiment will be described.

ここで、この処理フローでは、照合結果蓄積手段14bを用意せず、その都度、テンプレート9〜12と探索対象画像との間の一致度を算出してその総和を得るようにしている。   Here, in this processing flow, the collation result accumulating unit 14b is not prepared, and the degree of coincidence between the templates 9 to 12 and the search target image is calculated and the sum is obtained each time.

本実施形態例の画像処理装置は、画像探察モードに入ると、この処理フローに示すように、先ず、ステップ50で、探索対象画像の全位置について処理が終了したのか否かを判断する。   When entering the image search mode, the image processing apparatus according to the present embodiment first determines in step 50 whether or not the processing has been completed for all positions of the search target image, as shown in this processing flow.

すなわち、以下に説明するように、X方向とY方向とに1画素ずつずらしながらテンプレート0(テンプレート9〜12の生成元のテンプレート)を探索対象画像に置いて所定の処理を実行していくことになるので、その全処理を終了したのか否かを判断するのである。   That is, as described below, template 0 (the template from which templates 9 to 12 are generated) is placed on the search target image while shifting one pixel at a time in the X direction and the Y direction, and predetermined processing is executed. Therefore, it is determined whether or not all the processes have been completed.

このステップ50の判断処理により、探索対象画像の全位置について処理を終了していないことを判断するときには、ステップ51に進んで、探索対象画像の未処理位置の中からテンプレート0の基準点を置く処理位置を1つ選択(X方向とY方向とに1画索ずっずらしながら逮択)する。   When it is determined by the determination processing in step 50 that the processing has not been completed for all positions of the search target image, the process proceeds to step 51 to set the reference point of template 0 from the unprocessed positions of the search target image. One processing position is selected (an arrest is made while searching one screen in the X and Y directions).

続いて、ステップ52で、投票座標位置テーブルの中から、未処理の行を1つ選択することで、未処理の変形パラメータを1つ選択する。例えば、投票座標位置テーブル(図33に示すもの)の上から順番に行(4つのテーブルに共通となる行)を1つずつ選択していく場合には、前回処理した行の下の行を選択することで、未処理の変形パラメータを1つ選択するのである。   Subsequently, in step 52, one unprocessed deformation parameter is selected by selecting one unprocessed line from the vote coordinate position table. For example, when selecting rows one by one from the top of the voting coordinate position table (shown in FIG. 33) (rows that are common to the four tables) one by one, By selecting, one unprocessed deformation parameter is selected.

続いて、ステップ53で、テンプレートの識別番号となる変数iに初期値9をセットする。この実施形態例ではi=9〜12の値をとりうることになる。   Subsequently, in step 53, an initial value 9 is set to a variable i which becomes a template identification number. In this embodiment, i = 9 to 12 can be taken.

続いて、ステップ54で、変数iの値が12よりも大きくなったのか否かを判断して、大きくなっていないことを判断するときには、ステップ55に進んで、テンプレート蓄積手段5bからテンプレートiの画像を取り出す。   Subsequently, at step 54, it is determined whether or not the value of the variable i has become larger than 12, and when it is determined that the value has not increased, the routine proceeds to step 55 where the template i is stored in the template storage means 5b. Take out the image.

続いて、ステップ56で、ステップ52で選択した行に登録されているテンプレートiの指すΔx/Δyと、ステップ51で選択した処理位置とを加算することで、探索対象画像上におけるテンプレートiの基準点の位置を特定する。   Subsequently, in step 56, Δx / Δy pointed to by the template i registered in the row selected in step 52 and the processing position selected in step 51 are added, so that the reference of the template i on the search target image is added. Specify the position of the point.

続いて、ステップ57で、探索対象画像から、その選択した処理位置におけるテンプレートiの照合対象となるぼかし画像を作成し(前もって複数段階でぼかしておいた探索対象画像を実施形態例1で説明したように基準点を中心にして合成することで作成する)、続くステップ58で、テンプレートiとその作成したぼかし画像との間の一致度を算出する。   Subsequently, in step 57, a blurred image that is a target for collation of the template i at the selected processing position is created from the search target image (the search target image blurred in advance in a plurality of stages has been described in the first embodiment. In step 58, the degree of coincidence between the template i and the created blurred image is calculated.

続いて、ステップ59で、次のテンプレートiを処理すべく変数iの値を1つインクリメントしてから、ステップ54に戻る。   Subsequently, in step 59, the value of the variable i is incremented by one to process the next template i, and then the process returns to step 54.

このようにして、ステップ55〜ステップ59の処理を繰り返していくことで、ステップ54で、選択したテンプレート0の処理位置(基準点の位置)において、選択した行に登録されている変形パラメータにより特定されるテンプレート9〜12の基準点の位置での一致度の算出完了を判断すると、ステップ60に進んで、算出した一致度(テンプレート9〜12と探索対象画像との一致度)の総和を算出する。   In this way, by repeating the processing of step 55 to step 59, in step 54, the processing position (reference point position) of the selected template 0 is specified by the deformation parameter registered in the selected row. When it is determined that the degree of coincidence calculation has been completed at the position of the reference point of the templates 9 to 12, the process proceeds to step 60 to calculate the sum of the calculated degrees of coincidence (the degree of coincidence between the templates 9 to 12 and the search target image) To do.

続いて、ステップ61で、その算出した総和値が、スコア記録テーブル(図35に示すもの)に記録されている選択した探索対象画像の処理位置の指す最大スコアよりも大きいのか否かを判断して、大きいことを判断するときには、ステップ62に進んで、その算出した総和値とそれを実現する変形パラメータとに従って、スコア記録テーブルに記録されているデータを更新(未登録の場合には新規登録となる)する。   Subsequently, in step 61, it is determined whether or not the calculated total value is larger than the maximum score indicated by the processing position of the selected search target image recorded in the score recording table (shown in FIG. 35). When it is determined that the value is large, the process proceeds to step 62, and the data recorded in the score recording table is updated according to the calculated total value and the deformation parameter that realizes the sum (if it is not registered, it is newly registered). Become).

一方、ステップ61で、算出した総和値が、スコア記録テーブルに記録されている選択した探索対象画像の処理位置の指す最大スコア総和値よりも小さいことを判断するときには、このステップ62の処理を省略する。   On the other hand, when it is determined in step 61 that the calculated total value is smaller than the maximum score total value indicated by the processing position of the selected search target image recorded in the score recording table, the processing in step 62 is omitted. To do.

続いて、ステップ63で、投票座標位置テーブルの全行について処理を終了したか否かを判断して、全行について処理を終了していないことを判断するときには、次の行に対して処理を行うべく、ステップ52に戻り、一方、全行について処理を終了したことを判断するときには、次の探索対象画像の処理位置に対しての処理を行うべく、ステップ50に戻る。   Subsequently, in step 63, it is determined whether or not the processing has been completed for all the rows of the voting coordinate position table, and when it is determined that the processing has not been completed for all the rows, the processing is performed for the next row. If it is determined that the process has been completed for all the rows, the process returns to step 50 to perform the process for the processing position of the next search target image.

このようにして、ステップ50〜ステップ63の処理を繰り返していくことにより、図37に示したような形でスコア記録テーブルヘのデータ登録を行い、そのデータ登録を完了することで、ステップ50で、探索対象画像の全位置について処理を終了したことを判断すると、ステップ64に進んで、スコア記録テーブルの中に含まれる規定の閾値以上の値を持つ最大スコア総和値を抽出する。   In this way, by repeating the processing of step 50 to step 63, data registration to the score recording table is performed as shown in FIG. 37, and the data registration is completed. When it is determined that the processing has been completed for all positions of the search target image, the process proceeds to step 64, and the maximum score total value having a value equal to or greater than a prescribed threshold included in the score recording table is extracted.

続いて、ステップ65で、その抽出した最大スコアの総和価を、隣接するものが同じグループに属する形でグルーピングし、続くステップ66で、同一グループの中で最大値を示す最大スコア総和値を探察結果として選択する。   Subsequently, in step 65, the sum of the extracted maximum scores is grouped in such a way that adjacent ones belong to the same group, and in step 66, the maximum score sum indicating the maximum value in the same group is searched. Select as a result.

続いて、ステップ67で、スコア記録テーブル(スコア記録手段12b)を参照することで、探索結果のスコア総和値の指す位置座標/変形パラメータを取得する。続いて、ステップ68で、その取得した変形パラメータに従ってテンプレート0を変形して、その取得した位置座標の指す探索対象画像との間の一致点を算出する。   Subsequently, in step 67, by referring to the score recording table (score recording means 12b), the position coordinate / deformation parameter indicated by the total score value of the search result is acquired. Subsequently, in step 68, the template 0 is deformed according to the acquired deformation parameter, and a coincidence point with the search target image indicated by the acquired position coordinate is calculated.

続いて、ステップ69で、ステップ66で選択した探索結果のスコア総和個と、ステップ67で取得した位置座標/変形パラメータと、ステップ68で算出した一致度とを出力して、処理を終了する。   Subsequently, in step 69, the total number of search results selected in step 66, the position coordinates / deformation parameters acquired in step 67, and the degree of coincidence calculated in step 68 are output, and the process is terminated.

このようにして、本実施形態例に従う場合にも、実施形態例2の処理の概要を示した図29と同様に、テテンプレート0を基準としてンプレート9〜12を一体的な形で動かしてスコアの総和値を求めて、それをテンプレート0の位置を投票先として投票することから、図35に示すような小さなメモリ容量のスコア記録テーブルを用意すれば足りることになる。   In this way, even in the case of following this embodiment, the templates 9 to 12 are moved in an integrated manner with reference to the template 0 as in FIG. 29 showing the outline of the processing of the embodiment 2. Since the total value of the scores is obtained and voted with the position of template 0 as the vote destination, it is sufficient to prepare a score recording table having a small memory capacity as shown in FIG.

しかも、本実施形態例に従う場合には、テンプレート0の一部をぼかしたテンプレート5〜8を使ってスコアの総和値を求めて、それをテンプレート0の位置を投票先として投票することから、テンプレート0を分割することで構成されるテンプレート1〜4を用いる場合に比べて、テンプレート0の画像情報を残しつつ投票を行うことになるので、実施形態例2に従う場合に比べて高精度の探索処理を実現できるようになる。   In addition, in the case of following the present embodiment example, the total value of the score is obtained using the templates 5 to 8 obtained by blurring a part of the template 0, and it is voted with the position of the template 0 as the vote destination. Compared with the case where templates 1 to 4 configured by dividing 0 are used, the voting is performed while leaving the image information of template 0. Therefore, the search process is more accurate than the case according to the second embodiment. Can be realized.

ここで、図38〜図39の処理フローでは、照合結果蓄積手段14bを用意せずに、その都度、テンプレート9〜12と探索対象画像との間の一致度を算出してその総和を得るようにしたが、前もってテンプレート9〜12と探索対象画像との間の一致度を算出して照合結果蓄積手段14bに登録しておくという方法を用いるようにしてもよい。   Here, in the processing flow of FIGS. 38 to 39, the matching result between the templates 9 to 12 and the search target image is calculated and the sum is obtained each time without preparing the collation result accumulating unit 14b. However, a method may be used in which the degree of coincidence between the templates 9 to 12 and the search target image is calculated in advance and registered in the collation result accumulation unit 14b.

この構成を用いる場合には、実施形態例2で説明した図26〜図28の処理フローと同様の処理を実行することになる。   When this configuration is used, processing similar to the processing flow of FIGS. 26 to 28 described in the second embodiment is executed.

この照合結果蓄積手段14bを用意するという構成を用いると、テンプレート9〜12と探索対象画像との間の一致度を重複して算出することがなくなり、計算時間を短縮できるようになる。   By using this configuration of preparing the collation result accumulating unit 14b, it is not necessary to calculate the degree of coincidence between the templates 9 to 12 and the search target image, and the calculation time can be shortened.

すなわち、テンプレート0の処理位置を選択したときに、その都度、テンプレート9〜12と探索対象画像との間の一致度を算出するようにすると、別の処理位置を選択したときに、前に計算したことのある一致度を再び算出することが起こるが、照合結果蓄積手段14bを用いると、そのような重複する算出処理を行わずに済ませることができるようになることで、計算時間を短縮できるようになるのである。   That is, when the processing position of the template 0 is selected, each time the degree of coincidence between the templates 9 to 12 and the search target image is calculated, the calculation is performed before when another processing position is selected. However, when the matching result accumulating unit 14b is used, it is possible to reduce the calculation time by eliminating the need for such overlapping calculation processing. It becomes like this.

以上に説明した実施形態例3において、テンプレート9〜12について、基準点からの距離が大きくなる程ぼかしの度合いが大きくなるぼかし画像で構成するとともに、テンプレート9〜12との照合対象となる探索対象画像についても、実施形態例1の被照合パタン生成手段9と同様の処理を実行する被照合パタン生成手段9bの処理こ従って、その基準点に重なる位置からの距離が大きくなる程ぼかしの度合いが大きくなるぼかし画像で構成するようにしたが、どちらか一方のみをぼかし画像で構成するようにしてもよいし、ぼかしの方法についても、距離に関係なく単一のぼかし度合いを示すぼかし画像で構成するようにしてもよい。   In Embodiment 3 described above, the templates 9 to 12 are configured with a blurred image in which the degree of blurring increases as the distance from the reference point increases, and the search target to be collated with the templates 9 to 12 As for the image, the process of the collation pattern generation unit 9b that executes the same process as the collation pattern generation unit 9 of the first embodiment. Therefore, the degree of blurring increases as the distance from the position overlapping the reference point increases. Although it is configured with a blurred image that becomes larger, only one of them may be configured with a blurred image, and the blurring method is also configured with a blurred image that shows a single blur level regardless of the distance. You may make it do.

以上の実施形態例に従って本発明の画像処理方法を説明したが、本発明はこれに限定されるものではない、例えば、実施形態例に示した数値はあくまでも説明の便宜上に過ぎないものであって、本発明はこれに限定されるものではない。   Although the image processing method of the present invention has been described according to the above embodiment, the present invention is not limited to this. For example, the numerical values shown in the embodiment are merely for convenience of description. However, the present invention is not limited to this.

また、実施形態例で述べた画像処理方法は、図1〜図43で示した処理工程をコンピュータのプログラムで構成し、このプログラムをコンピュータに実行させることができることは言うまでもなく、コンピュータでその機能を実現するためのプログラム、あるいは、コンピュータにその処理の工程の実行させるためのプログラムを、そのコンピュータが読み取りできる記録媒体、例えば、フレキシブルディスクや、MO、ROM、メモリカード、CD、DVD、リムーバルディスク等に記録して、保存したり、配布したりすることが可能である。また、このプログラムをインターネットや電子メールなど、ネットワークを介して提供することも可能である。   Further, in the image processing method described in the embodiment, it is needless to say that the processing steps shown in FIGS. 1 to 43 are configured by a computer program, and this program can be executed by the computer. A recording medium that can be read by the computer, such as a flexible disk, MO, ROM, memory card, CD, DVD, removable disk, etc. It can be recorded and stored or distributed. It is also possible to provide this program via a network such as the Internet or electronic mail.

そして、これら記録媒体からコンピュータに前記のプログラムをインストールすることにより、あるいはネットワークからダウンロードしてコンピュータに前記のプログラムをインストールすることにより、本発明を実施することが可能となる。但し、コンピュータへのインストールはコンピュータ単位であり、装置やシステムが複数あることなどでインストールの対象となるコンピュータが複数ある場合には、当該プログラムは必要な処理部分毎にインストールされることは当然である。この場合、当該プログラムはコンピュータ対応に記録媒体に記録するか、またはネットワークを介してダウンロードしてもよい。   Then, the present invention can be implemented by installing the program from these recording media into a computer, or by downloading the program from a network and installing the program into the computer. However, installation on a computer is a computer unit, and when there are multiple computers to be installed due to multiple devices and systems, it is natural that the program is installed for each necessary processing part. is there. In this case, the program may be recorded on a recording medium corresponding to a computer, or downloaded via a network.

実施形態例1に係る画像処理装置の概略構成図。1 is a schematic configuration diagram of an image processing apparatus according to Embodiment 1. FIG. 実施形態例1におけるテンプレートの分割処理の説明図。Explanatory drawing of the division | segmentation process of the template in Embodiment 1. FIG. 実施形態例1におけるテンプレートの作成処理の説明図。Explanatory drawing of the creation process of the template in Example 1 of Embodiment. 実施形態例1で用いるテンプレートの説明図。Explanatory drawing of the template used in Embodiment Example 1. FIG. 実施形態例1で用いるテンプレートの説明図。Explanatory drawing of the template used in Embodiment Example 1. FIG. テンプレートの基準位置の説明図。Explanatory drawing of the reference position of a template. 実施形態例1における投票先X座標/投票先Y座標の説明図。Explanatory drawing of the vote destination X coordinate / vote destination Y coordinate in Example 1 of Embodiment. 実施形態例1で用いる投票座標位置テーブルの説明図。Explanatory drawing of the voting coordinate position table used in Embodiment Example 1. FIG. 実施形態例1で用いる投票座標位置テーブルの説明図。Explanatory drawing of the voting coordinate position table used in Embodiment Example 1. FIG. 実施形態例1で用いる投票座標位置テーブルの説明図。Explanatory drawing of the voting coordinate position table used in Embodiment Example 1. FIG. 実施形態例1で用いる投票座標位置テーブルの説明図。Explanatory drawing of the voting coordinate position table used in Embodiment Example 1. FIG. 一致の度合いがピークとなるテンプレート位置の説明図。Explanatory drawing of the template position where the degree of matching becomes a peak. 探索対象画像から生成するぼかし画像の説明図。Explanatory drawing of the blurred image produced | generated from a search object image. 実施形態例1におけるスコア記録手段の櫓成の説明図。Explanatory drawing of the formation of the score recording means in Example 1 of Embodiment. 実施形態例1における投票処理の説明図。Explanatory drawing of the voting process in Example 1 of Embodiment. 実施形態例1における投票処理の説明図。Explanatory drawing of the voting process in Example 1 of Embodiment. 実施形態例1におけるピーク探索処理の説明図。Explanatory drawing of the peak search process in Embodiment 1. FIG. 実施形態例1における画像探索モードの処理フローチャート。5 is a process flowchart of an image search mode in the first embodiment. 実施形態例1における画像探索モードの処理フローチャート。5 is a process flowchart of an image search mode in the first embodiment. 実施形態例2に係る画像処理装置の概略構成図。FIG. 6 is a schematic configuration diagram of an image processing apparatus according to Embodiment 2; 実施形態例2で用いる投票座標位置テーブルの説明図である。It is explanatory drawing of the vote coordinate position table used in Example 2 of an embodiment. 実施形態例2における照合結果蓄積手段に蓄積されるスコアのデータ構造の説明図。Explanatory drawing of the data structure of the score accumulate | stored in the collation result accumulation | storage means in Example 2 of an embodiment. 実施形態例2におけるスコア記録手段の構成の説明図。Explanatory drawing of the structure of the score recording means in Example 2 of an embodiment. 実施形態例2における投票処理の説明図。Explanatory drawing of the voting process in Example 2 of Embodiment. 実施形態例2における投票処理の説明図。Explanatory drawing of the voting process in Example 2 of Embodiment. 実施形態例2における画像探索モードの処理フローチャート。10 is a processing flowchart of an image search mode in the second embodiment. 実施形態例2における画像探索モードの処理フローチャート。10 is a processing flowchart of an image search mode in the second embodiment. 実施形態例2における画像探索モードの処理フローチャート。10 is a processing flowchart of an image search mode in the second embodiment. 実施形態例2の画像探索モードの処理を概略説明した説明図。Explanatory drawing which roughly demonstrated the process of the image search mode of Embodiment 2. FIG. 実施形態例1の画像探索モードの処理を概略説明した説明図。Explanatory drawing which roughly demonstrated the process of the image search mode of Embodiment 1. FIG. 実施形態例3に係る画像処理装置の概略構成図。FIG. 10 is a schematic configuration diagram of an image processing apparatus according to Embodiment 3; 実施形態例3で用いるテンプレートの説明図。Explanatory drawing of the template used in Embodiment Example 3. FIG. 実施形態例3で用いる投票座標位置テーブルの説明図。Explanatory drawing of the voting coordinate position table used in Example 3 of an embodiment. 実施形態例3でにおける照合結果累積手段に蓄積されるスコアのデータ構造の説明図。Explanatory drawing of the data structure of the score accumulate | stored in the collation result accumulation means in Embodiment 3. FIG. 実施形態例3でにおけるスコア記録手段の構成の説明図。Explanatory drawing of the structure of the score recording means in Embodiment Example 3. FIG. 実施形態例3における投票処理の説明図。Explanatory drawing of the voting process in Example 3 of an embodiment. 実施形態例3における投票処理の説明図。Explanatory drawing of the voting process in Example 3 of an embodiment. 実施形態例3における画像探索モードの処理フローチャート。14 is a processing flowchart of an image search mode in the third embodiment. 実施形態例3における画像探索モードの処理フローチャート。14 is a processing flowchart of an image search mode in the third embodiment. 実施形態例3における画像探索モードの処理フローチャート。14 is a processing flowchart of an image search mode in the third embodiment. 従来技術および本発明の説明に用いるテンプレート画像の説明図。Explanatory drawing of the template image used for description of a prior art and this invention. 従来技術および本発明の説明に用いるテンプレート画像の説明図。Explanatory drawing of the template image used for description of a prior art and this invention. 従来技術の説明図。Explanatory drawing of a prior art.

符号の説明Explanation of symbols

1,2a,2b…投票座標情報算出手段
2,2a,2b…投票座標情報蓄積手段
3,3a,3b…テンプレート加工手段
4,4a,4b…画像ぼかし手段
5,5a,5b…テンプレート蓄積手段
6,6a,6b…入力画像加工手段
7,7a,7b…加工画像蓄積手段
8,8a,8b…探索制御手段
9,9a,9b…被照合パタン生成手段
10,10a,10b…パタン間照合手段
11,11a,11b…スコア投票手段
12,12a,12b…スコア記録手段
13,13a,13b…ピーク探索手段
14a,14b…照合結果蓄積手段
1, 2a, 2b ... Voting coordinate information calculation means 2, 2a, 2b ... Voting coordinate information storage means 3, 3a, 3b ... Template processing means 4, 4a, 4b ... Image blurring means 5, 5a, 5b ... Template storage means 6 , 6a, 6b ... input image processing means 7, 7a, 7b ... processed image storage means 8, 8a, 8b ... search control means 9, 9a, 9b ... matched pattern generation means 10, 10a, 10b ... inter-pattern matching means 11 , 11a, 11b ... score voting means 12, 12a, 12b ... score recording means 13, 13a, 13b ... peak search means 14a, 14b ... collation result storage means

Claims (28)

探索対象画像に存在する可能性のあるテンプレートとの整合度合いの高い領域を探索する画像処理装置であって、
テンプレートから選択される複数の位置座標を各々の基準点とする複数のサブテンプレートを作成する手段と、
前記サブテンプレートの基準点を探索対象画像の各位置座標に配置して、このサブテンプレートと探索対象画像との整合度合いを算出する手段と、
予め想定した複数の座標変換パラメータに基づき前記テンプレートを変形させたときの、前記サブテンプレートの基準点に該当する点と対応する前記テンプレートの基準点との位置関係を算出し、前記全てのサブテンプレートについて算出した前記整合度合いを前記座標変換パラメータ毎に対応する前記テンプレートの基準点のスコアに加算した総和値を算出する手段と、
探索対象画像の各位置座標毎に、前記総和値を最大とする座標変換パラメータを特定すると共にその最大値を算出する手段と、
前記最大値が極大となるテンプレートの基準点の位置を探索する手段と
を備えることを特徴とする画像処理装置。
An image processing apparatus that searches for a region having a high degree of matching with a template that may exist in a search target image,
Means for creating a plurality of sub-templates each having a plurality of position coordinates selected from the template as reference points;
Means for disposing a reference point of the sub-template at each position coordinate of the search target image and calculating a degree of matching between the sub-template and the search target image;
Calculating a positional relationship between a point corresponding to a reference point of the sub-template and a corresponding reference point of the template when the template is deformed based on a plurality of coordinate transformation parameters assumed in advance; Means for calculating a sum total value obtained by adding the degree of matching calculated with respect to the score of the reference point of the template corresponding to each coordinate transformation parameter;
For each position coordinate of the search target image, specifying a coordinate conversion parameter that maximizes the total value and calculating the maximum value;
An image processing apparatus comprising: means for searching for a position of a reference point of the template where the maximum value is maximized.
探索対象画像に存在する可能性のあるテンプレートとの整合度合いの高い領域を探索する画像処理装置であって、
テンプレートから選択される複数の基準点の各々について、その近傍領域の画像情報からサブテンプレートを作成する手段と、
位置座標と予め想定した複数の座標変換パラメータとの組み合わせに対してスコアを記録するメモリエリアを保持する手段と、
全サブテンプレートを処理対象として、各サブテンプレートを探索対象画像の各位置座標に配置して探索対象画像との整合度合いを算出し、前記座標変換パラメータの各々について、該座標変換パラメータと該配置におけるサブテンプレートの基準点の位置座標との指すテンプレート位置座標を算出して、該調整度合いを、該座標変換パラメータと該テンプレート位置座標との指す前記メモリエリアの有するスコアに加算する手段と、
前記加算結果のスコアに基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索する手段と
を備えることを特徴とする画像処理装置。
An image processing apparatus that searches for a region having a high degree of matching with a template that may exist in a search target image,
For each of a plurality of reference points selected from the template, means for creating a sub-template from the image information of the neighboring area;
Means for holding a memory area for recording a score for a combination of position coordinates and a plurality of coordinate transformation parameters assumed in advance;
With all sub-templates as processing targets, each sub-template is placed at each position coordinate of the search target image to calculate the degree of matching with the search target image, and for each of the coordinate conversion parameters, the coordinate conversion parameter and the placement Means for calculating a template position coordinate pointed to by a position coordinate of a reference point of the sub-template, and adding the degree of adjustment to a score of the memory area pointed to by the coordinate conversion parameter and the template position coordinate;
An image processing apparatus comprising: means for searching a region having a high degree of matching with a template from a search target image based on the score of the addition result.
前記サブテンプレートを作成する手段は、
前記サブテンプレートの基準点からの距離が大きくなる程、ぼかしの度合いが大きくなる前記近傍領域の画像情報からサブテンプレートを作成し、このサブテンプレートとの整合度合いの算出対象となる探索対象画像として、該ザブテンプレートの基準点に重なる位置からの距離が大きくなる程、ぼかしの度合いが大きくなる画像情報を作成するか、若しくは、前記距離に関係なく単一のぼかし度合いを示す前記近傍領域の画像情報からサブテンプレートを作成し、
該サブテンプレートとの整合度合いの算出対象となる探索対象画像として、単一のぼかし度合いを示す画像情報を作成して、これと該サブテンプレートとの整合度合いを算出すること
を特徴とする請求項2記戟の画像処理装置。
The means for creating the sub-template is:
As the distance from the reference point of the sub-template increases, the sub-template is created from the image information of the neighboring area in which the degree of blur increases, and as a search target image for calculating the degree of matching with the sub-template, Create image information in which the degree of blur increases as the distance from the position overlapping the reference point of the sub-template increases, or image information of the neighboring region that indicates a single blur degree regardless of the distance Create a sub template from
The image information indicating a single blurring degree is created as a search target image for which the degree of matching with the sub-template is to be calculated, and the degree of matching between the sub-template and the sub-template is calculated. 2. Image processing apparatus according to item 2.
探索対象画像に存在する可能性のあるテンプレートとの整合度合いの高い領域を探索する画像処理装置であって、
テンプレートから選択される複数の基準点の各々について、その近傍領域の画像情報からサブテンプレートを作成する手段と、
テンプレートを探索対象画像の各位置に配置する場合に、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出し、テンプレートを配置した探索対象画像の位置座標毎に、これらの総和値の最大値及びその最大値を実現する座標変換パラメータを特定する手段と、
前記特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索する手段と
を備えることを特徴とする画像処理装置。
An image processing apparatus that searches for a region having a high degree of matching with a template that may exist in a search target image,
For each of a plurality of reference points selected from the template, means for creating a sub-template from the image information of the neighboring area;
When placing the template at each position of the search target image, for each assumed coordinate conversion parameter, determine the position coordinates of the reference point of each sub template, and the total degree of matching with the search target image for all sub templates A means for calculating a value and specifying a maximum value of these total values and a coordinate conversion parameter for realizing the maximum value for each position coordinate of the search target image in which the template is arranged;
An image processing apparatus comprising: means for searching a region having a high degree of matching with a template from a search target image based on the identification result.
前記サブテンプレートを作成する手段は、前記近傍領域の画像情報をぼかすこと
を特徴とする請求項4記載の画像処理装置。
The image processing apparatus according to claim 4, wherein the means for creating the sub-template blurs image information of the neighboring area.
探索対象画像に存在する可能性のあるテンプレートとの整合度合いの高い領域を探索する画像処理装置であって、
テンプレートから選択される複数の基準点の各々について、この基準点に応じて画像情報をぼかすことで複数のサブテンプレートを作成する手段と、
テンプレートを探索対象画像の各位置座標に配置する場合に、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出し、テンプレートを配置した探索対象画像の位置座標毎に、これらの総和値の最大値及びその最大値を実現する座標変換パラメータを特定する手段と、
前記特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索する手段と
を備えることを特徴とする画像処理装置。
An image processing apparatus that searches for a region having a high degree of matching with a template that may exist in a search target image,
For each of a plurality of reference points selected from the template, means for creating a plurality of sub-templates by blurring image information according to the reference points;
When placing the template at each position coordinate of the search target image, the position coordinates of the reference point of each sub template are determined for each assumed coordinate conversion parameter, and the degree of matching with the search target image for all the sub templates is determined. A means for calculating a sum value and specifying a maximum value of these sum values and a coordinate conversion parameter for realizing the maximum value for each position coordinate of the search target image in which the template is arranged;
An image processing apparatus comprising: means for searching a region having a high degree of matching with a template from a search target image based on the identification result.
前記特定する手段は、ぼかしの施された探索対象画像との整合度合いの総和値を算出すること
を特徴とする請求項4から6のいずれか1項に記載の画像処理装置。
The image processing apparatus according to claim 4, wherein the specifying unit calculates a total value of a degree of matching with a search target image subjected to blurring.
前記特定する手段は、探索対象画像の位置座標に対応付けて前記総和値の最大値及びその最大値を実現する座標変換パラメータを記録するテーブル手段を使って、テンプレートを配置した探索対象画像の位置座標毎に、前記総和値の最大値及びその最大値を実現する座標変換パラメータを特定すること
を特徴とする請求項4から7のいずれか1項に記載の画像処理装置。
The specifying means uses a table means for recording a maximum value of the total value and a coordinate conversion parameter for realizing the maximum value in association with the position coordinates of the search target image, and the position of the search target image where the template is arranged. The image processing apparatus according to claim 4, wherein a maximum value of the total value and a coordinate conversion parameter that realizes the maximum value are specified for each coordinate.
ザブテンプレートと探索対象画像との間の整合度合いを算出して、サブテンプレートの基準点の位置座標と対応をとりつつメモリに保存させる手段を備え、前記特定する手段は、前記メモリに保存される整合度合いを使って、前記整合度合いの総和値を算出すること
を特徴とする請求項4から8のいずれか1項に記載の画像処理装置。
A means for calculating the degree of matching between the sub-template and the search target image and storing it in a memory while taking correspondence with the position coordinates of the reference point of the sub-template, the specifying means being stored in the memory The image processing apparatus according to claim 4, wherein a total value of the matching degrees is calculated using a matching degree.
前記探索する手段は、サブテンプレート、テンプレート及び探索対象画像の画像情報に規定の画像変換として、
微分処理を行う画像変換、対数変換を行う画像変換、画像情報を複数のブロックに分割し、このブロック内での微分処理結果から得られる方向成分を有限個の方向成分に量子化し、同様に微分処理結果から得られる方向強度で重み付けした方向別ヒストグラムを算出する画像変換、該方向別ヒストグラム算出時に、隣接するブロックの方向別ヒストグラムを重み付けする画像変換、該方向別ヒストグラム算出時に、隣接する方向のヒストグラムを重み付けした値を該ブロックのヒストグラムとして算出する画像変換、幾何変換を行う画像変換、のいずれか1つまたは1つ以上の画像変換を施し、
探索対象画像とサブテンプレートあるいは探索対象画像とテンプレートとの整合度合いの高い領域を探索すること
を特徴とする請求項2ないし9のいずれか1項に記載の画像処理装置。
The searching means includes sub template, template and image information of search target image as prescribed image conversion,
Image transformation for differential processing, image transformation for logarithmic transformation, image information is divided into multiple blocks, the direction components obtained from the differential processing results in this block are quantized into a finite number of direction components, and similarly differentiated Image conversion for calculating a histogram for each direction weighted by the direction intensity obtained from the processing result, image conversion for weighting the histogram for each direction of the adjacent block when calculating the histogram for each direction, and for calculating the histogram for each direction. Performing one or more image conversions of image conversion for calculating a weighted value of the histogram as a histogram of the block, image conversion for performing geometric conversion,
10. The image processing apparatus according to claim 2, wherein a region having a high degree of matching between the search target image and the sub-template or the search target image and the template is searched.
前記幾何変換が複数の座標変換パラメータを有する場合に、その内の一部の座標変換パラメータについては固定とする形で、テンプレートとの整合度合いの高い領域を探索すること
を特徴とする請求項10記載の画像処理装置。
11. When the geometric transformation has a plurality of coordinate transformation parameters, an area having a high degree of matching with the template is searched in such a manner that some of the coordinate transformation parameters are fixed. The image processing apparatus described.
前記探索する手段は、探索結果となる整合度合いの高い領域の位置座標を出力するか、この位置座標の出力に加えて、この位置座標における前記総和値及びまたは前記座標変換パラメータを出力すること
を特徴とする請求項2から11のいずれか1項に記載の画像処理装置。
The searching means outputs position coordinates of a region with a high degree of matching as a search result, or outputs the total value and / or the coordinate conversion parameter in the position coordinates in addition to outputting the position coordinates. The image processing apparatus according to claim 2, wherein the image processing apparatus is characterized.
探索対象となる整合度合いの高い領域の位置座標における前記座標変換パラメータに従ってテンプレートを座標変換することで変形させて、この変形させたテンプレートと前記位置座標における探索対象画像との整合度合いを算出して出力する手段を備えること
を特徴とする請求項2から12のいずれか1項に記載の画像処理装置。
The template is transformed by coordinate transformation according to the coordinate transformation parameter in the position coordinates of the region with a high degree of matching to be searched, and the degree of matching between the transformed template and the search target image at the position coordinates is calculated. The image processing apparatus according to claim 2, further comprising an output unit.
探索対象画創こ存在する可能性のあるテンプレートとの整合度合いの高い領域を探索する画像処理方法であって、
サブテンプレート作成手段と、サブテンプレート探索手段と、座標パラメータ特定手段と、テンプレート探索手段とを有し、
サブテンプレート作成手段が、前記テンプレートから選択される複数の位置座標を各々の基準点とする複数のサブテンプレートを作成する過程と、
サブテンプレート探索手段が、前記サブテンプレートの基準点を探索対象画像の各位置座標に配置してこのサブテンプレートと探索対象画像との整合度合いを算出する過程と、予め想定した複数の座標変換パラメータに基づき前記テンプレートを変形させたときの、前記サブテンプレートの基準点に該当する点と対応する前記テンプレートの基準点との位置関係を算出し、前記全てのサブテンプレートについて算出した前記整合度合いを前記座標変換パラメータ毎に対応する前記テンプレートの基準点のスコアに加算した総和値を算出する過程と、を実行する過程と、
座標パラメータ特定手段が、探索対象画像の各位置座標毎に、前記総和値を最大とする座標変換パラメータを特定すると共にその最大値を算出する過程と、
テンプレート探索手段が、前記最大値が極大となるテンプレートの基準点の位置を探索する過程と
を有することを特徴とする画傷処理方法。
An image processing method for searching for a region having a high degree of matching with a template that may exist as a search target image,
Sub template creation means, sub template search means, coordinate parameter identification means, template search means,
A step of creating a plurality of sub-templates each having a plurality of position coordinates selected from the template as reference points,
The sub-template search means arranges the reference point of the sub-template at each position coordinate of the search target image and calculates the degree of matching between the sub template and the search target image, and a plurality of coordinate conversion parameters assumed in advance. Calculating a positional relationship between a point corresponding to the reference point of the sub-template and a corresponding reference point of the template when the template is deformed, and calculating the degree of matching calculated for all the sub-templates A step of calculating a total value added to the reference point score of the template corresponding to each conversion parameter, and
A coordinate parameter specifying unit for each position coordinate of the search target image, specifying a coordinate transformation parameter that maximizes the total value and calculating the maximum value;
And a template searching means for searching for a position of a reference point of the template where the maximum value is maximized.
探索対象画像に存在する可能性のあるテンプレートとの整合度合いの高い領域を探索する画像処理方法であって、
サブテンプレート作成手段と、テーブル手段と、サブテンプレート探索手段と、テンプレート探索手段とを備え、
サブテンプレート作成手段が、テンプレートから選択される複数の基準点の各々について、その近傍領域の画像情報からサブテンプレートを作成する過程と、
テーブル手段が、位置座標と予め想定した複数の座標変換パラメータとの組み合わせに対してスコアを記録する過程と、
サブテンプレート探索手段が、全サブテンプレートを処理対象として、各サブテンプレートを探索対象画像の各位置座標に配置して探索対象画像との整合度合いを算出し、前記座標変換パラメータの各々について、該座標変換パラメータと該配置におけるサブテンプレートの基準点の位置座標との指すテンプレート位置座標を算出して、該調整度合いを、該座標変換パラメータと該テンプレート位置座標との指す前記メモリエリアの持つスコアに加算する過程と、
テンプレート探索手段が、前記加算結果のスコアに基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索する過程と
を有することを特徴とする間像処理方法。
An image processing method for searching a region having a high degree of matching with a template that may exist in a search target image,
A sub-template creation means, a table means, a sub-template search means, and a template search means,
A process of creating a sub-template from image information in the vicinity of each of a plurality of reference points selected from the template by the sub-template creating means;
A process in which the table means records a score for a combination of position coordinates and a plurality of coordinate transformation parameters assumed in advance;
The sub template search means sets all sub templates as processing targets, arranges each sub template at each position coordinate of the search target image, calculates the degree of matching with the search target image, and for each of the coordinate transformation parameters, A template position coordinate indicated by the conversion parameter and the position coordinate of the reference point of the sub-template in the arrangement is calculated, and the degree of adjustment is added to the score of the memory area indicated by the coordinate conversion parameter and the template position coordinate The process of
A template image processing method comprising: a step of searching for a region having a high degree of matching with a template from a search target image based on a score of the addition result.
前記サブテンプレート作成手段がサブテンプレートを作成する過程においては、
前記サブテンプレートの基準点からの距離が大きくなる程、ぼかしの度合いが大きくなる前記近傍領域の画像情報からサブテンプレートを作成し、このサブテンプレートとの整合度合いの算出対象となる探索対象画像として、該ザブテンプレートの基準点に重なる位置からの距離が大きくなる程、ぼかしの度合いが大きくなる画像情報を作成するか、若しくは、前記距離に関係なく単一のぼかし度合いを示す前記近傍領域の画像情報からサブテンプレートを作成する過程と、
該サブテンプレートとの整合度合いの算出対象となる探索対象画像として、単一のぼかし度合いを示す画像情報を作成して、これと該サブテンプレートとの整合度合いを算出する過程とを実行する過程を有すること
を特徴とする請求項15記載の画像処理方法。
In the process of creating a sub template by the sub template creating means,
As the distance from the reference point of the sub-template increases, the sub-template is created from the image information of the neighboring area in which the degree of blur increases, and as a search target image for calculating the degree of matching with the sub-template, Create image information in which the degree of blur increases as the distance from the position overlapping the reference point of the sub-template increases, or image information of the neighboring region that indicates a single blur degree regardless of the distance The process of creating sub-templates from
A process of creating image information indicating a single degree of blur as a search target image that is a target for calculating a degree of matching with the sub-template and calculating a degree of matching with the sub-template. 16. The image processing method according to claim 15, further comprising:
探索対象画像に存在する可能性のあるテンプレートとの整合皮合いの高い領域を探索する画像処理方法であって、
サブテンプレート作成手段と、座標パラメータ特定手段と、テンプレート探索手段とを備え、
サブテンプレート作成手段が、テンプレートから選択される複数の基準点の各々について、その近傍領域の画像情報からサブテンプレートを作成する過程と、
座標変換パラメータ特定手段が、テンプレートを探索対象画像の各位置に配置する場合に、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出し、テンプレートを配置した探索対象画像の位置座標毎に、これらの総和値の最大値及びその最大値を実現する座標変換パラメータを特定する過程と、
テンプレート探索手段が、前記特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索する過程と
を有することを特徴とする画像処理方法。
An image processing method for searching a region having a high degree of matching with a template that may exist in a search target image,
Sub template creation means, coordinate parameter identification means, and template search means,
A process of creating a sub-template from image information in the vicinity of each of a plurality of reference points selected from the template by the sub-template creating means;
When the coordinate conversion parameter specifying means places the template at each position of the search target image, the position coordinates of the reference point of each sub template are determined for each assumed coordinate conversion parameter, and the search target for all sub templates is determined. Calculating the total value of the degree of matching with the image, and for each position coordinate of the search target image in which the template is arranged, specifying a maximum value of these total values and a coordinate conversion parameter that realizes the maximum value;
An image processing method comprising: a template searching unit searching a region having a high degree of matching with a template from a search target image based on the identification result.
前記サブテンプレート作成手段がサブテンプレートを作成する過程においては、前記近傍領域の画像情報をぼかす過程を有すること
を特徴とする請求項17記載の画像処理方法。
18. The image processing method according to claim 17, wherein the step of creating the sub-template by the sub-template creation unit includes a step of blurring image information of the neighboring area.
探索対象画像に存在する可能性のあるテンプレートとの整合度合いの高い領域を探索する画像処理方法であって、
サブテンプレート作成手段と、座標変換パラメータ特定手段と、テンプレート探索手段とを備え、
サブテンプレート作成手段が、テンプレートから選択される複数の基準点の各々について、この基準点に応じて画像情報をぼかすことで複数のサブテンプレートを作成する過程と、
座標変換パラメータ特定手段が、テンプレートを探索対象画像の各位置座標に配置する場合に、想定する座標変換パラメータ毎に、各サブテンプレートの基準点の位置座標を決定して全てのサブテンプレートについての探索対象画像との整合度合いの総和値を算出し、テンプレートを配置した探索対象画像の位置座標毎に、これらの総和値の最大値及びその最大値を実現する座標変換パラメータを特定する過程と、
テンプレート探索手段が、前記特定結果に基づいて、探索対象画像の中からテンプレートとの整合度合いの高い領域を探索する過程と
を有すること特徴とする画像処理方法。
An image processing method for searching a region having a high degree of matching with a template that may exist in a search target image,
Sub template creation means, coordinate transformation parameter identification means, and template search means,
A process of creating a plurality of sub-templates by blurring image information in accordance with the reference points for each of a plurality of reference points selected from the template,
When the coordinate conversion parameter specifying unit arranges the template at each position coordinate of the search target image, the position coordinate of the reference point of each sub template is determined for each assumed coordinate conversion parameter, and search for all sub templates is performed. Calculating the total value of the degree of matching with the target image, and for each position coordinate of the search target image in which the template is arranged, identifying a maximum value of these total values and a coordinate conversion parameter that realizes the maximum value;
An image processing method, comprising: a step of searching for a region having a high degree of matching with the template from the search target image based on the identification result.
前記座標変換パラメータ特定手段が特定する過程においては、
ぼかしの施された探索対象画像との整合度合いの総和値を算出する過程を有すること
を特徴とする請求項17から19のいずれか1項に記載の画像処理方法。
In the process of specifying the coordinate transformation parameter specifying means,
20. The image processing method according to claim 17, further comprising a step of calculating a total value of matching degrees with the search target image subjected to blurring.
前記座標変換パラメータ特定手段が特定する過程においては、
探索対象画像の位置座標に対応付けて前記総和値の最大値及びその最大値を実現する座標変換パラメータを記録するテーブル過程を使って、テンプレートを配置した探索対象画像の位置座標毎に、前記総和値の最大値及びその最大値を実現する座標変換パラメータを特定する過程を有すること
を特赦とする請求項17から20のいずれか1項に記載の画像処理方法。
In the process of specifying the coordinate transformation parameter specifying means,
For each position coordinate of the search target image in which the template is arranged, using the table process for recording the maximum value of the total value and the coordinate conversion parameter that realizes the maximum value in association with the position coordinates of the search target image 21. The image processing method according to claim 17, further comprising a step of specifying a maximum value and a coordinate transformation parameter that realizes the maximum value.
サブテンプレートと探索対象画像との間の整合度合いを算出して、サブテンプレートの基準点の位置座標と対応をとりつつメモリ手段に保存させる過程を有し、
前記座標変換パラメータ特定手段が特定する過程においては、
前記メモリ手段に保存される整合度合いを使って、前記整合度合いの総和値を算出する過程を有すること
を特徴とする請求項17から21のいずれか1項に記載の画像処理方法。
Calculating the degree of matching between the sub-template and the search target image, and storing it in the memory means while taking correspondence with the position coordinates of the reference point of the sub-template,
In the process of specifying the coordinate transformation parameter specifying means,
The image processing method according to any one of claims 17 to 21, further comprising a step of calculating a total value of the matching degrees using a matching degree stored in the memory means.
前記テンプレート探索手段が、サブテンプレート及びテンプレート及び探索対象画像の画像情報に規定の画像変換として、微分処理を行う画像変換、対数変換を行う画像変換、画像情報を複数のブロックに分割し、該ブロック内での微分処理結果から得られる方向成分を有限個の方向成分に量子化し、同時に微分処理結果から得られる方向強度で重み付けした方向別ヒストグラムを算出する画像変換、該方向別ヒストグラム算出時に、隣接するブロックの方向別ヒストグラムを重み付けする画像変換、該方向別ヒストグラム算出時に、隣接する方向のヒストグラムを重み付けした値を該ブロックのヒストグラムとして算出する画像変換、幾何変換を行う画像変換、のいずれか1つ、又は1つ以上の画像変換を施し、探索対象画像とサブテンプレート、あるいは探索対象画像とテンプレートとの整合度合いの高い領域を探索する過程
を有することを特徴とする請求項15ないし22のいずれか1項に記載の画像処理方法。
The template search means divides the image information into a plurality of blocks, image conversion for performing differential processing, image conversion for performing logarithmic conversion, and image information as prescribed image conversion for the image information of the sub-template, template and search target image, Quantize the direction component obtained from the differential processing result in the image into a finite number of direction components, and simultaneously calculate the direction-specific histogram weighted by the direction intensity obtained from the differential processing result, adjacent when calculating the direction-specific histogram Any one of image conversion for weighting a histogram for each direction of a block to be performed, image conversion for calculating a weighted value for a histogram in the adjacent direction as the histogram for the block at the time of calculating the histogram for each direction, and image conversion for performing geometric conversion One or more image conversions and search target images and sub-tempts Over preparative or image processing method according to any one of claims 15 to 22 characterized by having a process of searching for a region with a high matching degree between the search target image and the template.
前記テンプレート探索手段が探索する過程においては、
前記幾何変換が複数の座標変換パラメータを持つ場合に、その内の一部の座標変換パラメータについては固定とする形で、テンプレートとの整合度合いの高い領域を探索する過程
を有することを特徴とする請求項23記餓の画像処理方法。
In the process of searching by the template search means,
In the case where the geometric transformation has a plurality of coordinate transformation parameters, a part of the coordinate transformation parameters is fixed, and a process of searching for a region having a high degree of matching with the template is included. The image processing method for starvation according to claim 23.
前記テンプレート探索手段が探索する過程においては、
探索結果となる整合度合いの高い領域の位置座標を出力する過程、または、
この位置座標の出力に加えて、この位置座標における前記総和値及びまたは前記座標変換パラメータを出力する過程を有すること
を特徴とする請求項15から24のいずれか1項に記載の画像処理方法。
In the process of searching by the template search means,
The process of outputting the position coordinates of the region with a high degree of matching as a search result, or
The image processing method according to any one of claims 15 to 24, further comprising a step of outputting the total value and / or the coordinate conversion parameter at the position coordinates in addition to outputting the position coordinates.
前記テンプレート探索手段が探索する過程においては、
探索対象となる整合度合いの高い領域の位置座標における前記座標変換パラメータに従ってテンプレートを座標変換することで変形させて、この変形させたテンプレートと前記位置座標における探索対象画像との整合度合いを算出して出力する過程を有すること
を特徴とする請求項15から25のいずれか1項に記載の画像処理方法。
In the process of searching by the template search means,
The template is transformed by coordinate transformation according to the coordinate transformation parameter in the position coordinates of the region with a high degree of matching to be searched, and the degree of matching between the transformed template and the search target image at the position coordinates is calculated. 26. The image processing method according to claim 15, further comprising an output process.
請求項14から26のいずれか1項に記載の画像処理方法をコンピュータに実行させるための画像処理プログラム。 An image processing program for causing a computer to execute the image processing method according to any one of claims 14 to 26. 請求項14から26のいずれか1項に記載の画像処理方法をコンピュータに実行させるための画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体。
27. A computer-readable recording medium on which an image processing program for causing a computer to execute the image processing method according to any one of claims 14 to 26 is recorded.
JP2003376637A 2003-11-06 2003-11-06 Image processing method and apparatus, program, and recording medium Expired - Fee Related JP4394926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003376637A JP4394926B2 (en) 2003-11-06 2003-11-06 Image processing method and apparatus, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003376637A JP4394926B2 (en) 2003-11-06 2003-11-06 Image processing method and apparatus, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2005141458A true JP2005141458A (en) 2005-06-02
JP4394926B2 JP4394926B2 (en) 2010-01-06

Family

ID=34687617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003376637A Expired - Fee Related JP4394926B2 (en) 2003-11-06 2003-11-06 Image processing method and apparatus, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4394926B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006201914A (en) * 2005-01-19 2006-08-03 Megachips Lsi Solutions Inc Unit, method, and computer program for image filtering
JP2010079764A (en) * 2008-09-29 2010-04-08 Hitachi High-Technologies Corp Image processing system, and scanning electron microscope instrument
JP2014203837A (en) * 2013-04-01 2014-10-27 株式会社ディスコ Key pattern detection method and alignment method
CN112465050A (en) * 2020-12-04 2021-03-09 广东拓斯达科技股份有限公司 Image template selection method, device, equipment and storage medium
WO2024171372A1 (en) * 2023-02-16 2024-08-22 ファナック株式会社 Image processing device, image processing method, and image processing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006201914A (en) * 2005-01-19 2006-08-03 Megachips Lsi Solutions Inc Unit, method, and computer program for image filtering
JP2010079764A (en) * 2008-09-29 2010-04-08 Hitachi High-Technologies Corp Image processing system, and scanning electron microscope instrument
JP2014203837A (en) * 2013-04-01 2014-10-27 株式会社ディスコ Key pattern detection method and alignment method
CN112465050A (en) * 2020-12-04 2021-03-09 广东拓斯达科技股份有限公司 Image template selection method, device, equipment and storage medium
CN112465050B (en) * 2020-12-04 2024-02-09 广东拓斯达科技股份有限公司 Image template selection method, device, equipment and storage medium
WO2024171372A1 (en) * 2023-02-16 2024-08-22 ファナック株式会社 Image processing device, image processing method, and image processing program

Also Published As

Publication number Publication date
JP4394926B2 (en) 2010-01-06

Similar Documents

Publication Publication Date Title
CN111340701B (en) A circuit board image stitching method based on clustering method to screen matching points
US8265350B2 (en) Method and apparatus for detecting and processing specific pattern from image
JP5229050B2 (en) Document area extraction apparatus, method, and program from image
US20080199044A1 (en) Image Processing Apparatus, Image Processing Method, and Program
Chiang et al. Automatic and accurate extraction of road intersections from raster maps
US12131576B2 (en) Method for verifying the identity of a user by identifying an object within an image that has a biometric characteristic of the user and separating a portion of the image comprising the biometric characteristic from other portions of the image
JP2008287438A (en) Image processing apparatus and image search method
JPH10261089A (en) Method and device for graphic position detection, and machine-readable recording medium where program is recorded
JP5210241B2 (en) Image search apparatus, control method therefor, and program
JP2009087087A (en) License plate information processing apparatus and license plate information processing method
JP4339221B2 (en) Image construction method, fingerprint image construction apparatus and program
JP4394926B2 (en) Image processing method and apparatus, program, and recording medium
CN115937205B (en) Method, apparatus, equipment and storage medium for generating images of surface defect ceramic tiles
JP2008252856A (en) Image correction method, correction program, and image distortion correction apparatus
CN108710881A (en) Neural network model, candidate target region generation method, model training method
JP4943228B2 (en) Image matching processing method
CN115205113A (en) Image splicing method, device, equipment and storage medium
JP2003323616A (en) Image processing apparatus and method, image processing program and recording medium storing the program
KR102492230B1 (en) License plate detection apparatus and method using image warping
JP3948943B2 (en) Graphic recognition method and apparatus
JP4869364B2 (en) Image processing apparatus and image processing method
CN111860608B (en) Invoice image registration method, invoice image registration equipment and computer storage medium
JP3196291B2 (en) Character recognition method and device
JP5227251B2 (en) Camera calibration device and camera calibration program
JP3451925B2 (en) Object recognition method and object recognition device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060407

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090714

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090914

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: 20091013

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: 20091016

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121023

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121023

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131023

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees