Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4580324B2 - Image classification apparatus and image classification method - Google Patents
[go: Go Back, main page]

JP4580324B2 - Image classification apparatus and image classification method - Google Patents

Image classification apparatus and image classification method Download PDF

Info

Publication number
JP4580324B2
JP4580324B2 JP2005314971A JP2005314971A JP4580324B2 JP 4580324 B2 JP4580324 B2 JP 4580324B2 JP 2005314971 A JP2005314971 A JP 2005314971A JP 2005314971 A JP2005314971 A JP 2005314971A JP 4580324 B2 JP4580324 B2 JP 4580324B2
Authority
JP
Japan
Prior art keywords
template
image
coin
money
country
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.)
Expired - Fee Related
Application number
JP2005314971A
Other languages
Japanese (ja)
Other versions
JP2007122494A (en
Inventor
亨 米澤
真也 山本
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.)
Glory Ltd
Original Assignee
Glory Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glory Ltd filed Critical Glory Ltd
Priority to JP2005314971A priority Critical patent/JP4580324B2/en
Publication of JP2007122494A publication Critical patent/JP2007122494A/en
Application granted granted Critical
Publication of JP4580324B2 publication Critical patent/JP4580324B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Testing Of Coins (AREA)
  • Image Analysis (AREA)

Description

本発明は、物体の模様を含む入力画像とテンプレートとの比較により複数のカテゴリーから物体が属するカテゴリーを特定する画像分類装置および画像分類方法に関し、特に、物体の模様の画像を用いて鑑別を行う際に、処理に要する時間を短縮することができる画像分類装置および画像分類方法に関する。   The present invention relates to an image classification apparatus and an image classification method for identifying a category to which an object belongs from a plurality of categories by comparing an input image including an object pattern with a template, and in particular, performs discrimination using an image of an object pattern. In particular, the present invention relates to an image classification apparatus and an image classification method that can reduce the time required for processing.

従来、例えば硬貨など表面に模様が形成された物体の画像をスキャンして、模様のスキャン結果とテンプレートとのパターンマッチングにより、物体の種別や真贋を判定する装置が考案されている。例えば特許文献1には、硬貨の中心を通る直線をスキャンラインとし、硬貨の中心を通る360度全方向の直線に関して用意されたテンプレートそれぞれと、スキャンラインにおけるスキャン結果との相関値を求めて照合することにより、硬貨の種別を判定することが記載されている。   2. Description of the Related Art Conventionally, an apparatus has been devised that scans an image of an object having a pattern formed on the surface, such as a coin, and determines the type and authenticity of the object by pattern matching between the pattern scan result and a template. For example, in Patent Document 1, a straight line passing through the center of a coin is used as a scan line, and each template prepared with respect to a 360-degree omnidirectional straight line passing through the center of the coin is compared with a scan value on the scan line. It is described that the type of coin is determined by doing so.

さらに特許文献1には、例えば硬貨の製造年のように同種の硬貨でも模様が異なる部分があることを考慮して、スキャンライン全体のスキャン結果に関する相関値が低い場合にはスキャン結果を複数の部分に分割し、いずれかの部分で相関値が高ければスキャン結果がテンプレートに合致していると判定することが開示されている。   Further, in Patent Document 1, considering that there is a portion having a different pattern even in the same type of coin, such as the year of manufacture of the coin, when the correlation value regarding the scan result of the entire scan line is low, a plurality of scan results are displayed. It is disclosed to divide into parts and to determine that the scan result matches the template if the correlation value is high in any part.

特開2003−187289号公報JP 2003-187289 A

しかしながら、上述のような判定を行って物体の種別または真贋を鑑別する場合には、物体の模様の種類が豊富になるにつれ、処理時間が増大するという問題がある。すなわち、例えばユーロ硬貨のように、金種ごとかつ国ごとに異なる多数の模様の硬貨がある場合、1つの硬貨の種別または真贋を鑑別するためには、スキャン結果をすべての種類の模様に関するテンプレートと比較しなければならず、非常に長い処理時間を必要とする。   However, when the above-described determination is performed to identify the type or authenticity of an object, there is a problem that the processing time increases as the types of object patterns increase. That is, for example, when there are a large number of coins having different patterns for each denomination and for each country, such as euro coins, in order to distinguish the type or authenticity of one coin, the scan result is a template for all types of patterns. And requires a very long processing time.

また、1種類の模様に関するテンプレートの比較においても、上述したように360度全方向の直線に関して用意されたすべてのテンプレートとスキャン結果を比較することになる。このため、最終的に1つの硬貨を鑑別するまでには、1種類の模様に関するテンプレート数に物体の模様の種類数を乗じた回数の比較を行う必要があり、膨大な処理時間を要することになる。   Also, in the comparison of templates related to one type of pattern, as described above, the scan results are compared with all templates prepared for straight lines in all directions of 360 degrees. For this reason, until one coin is finally identified, it is necessary to compare the number of times of the number of templates related to one pattern multiplied by the number of types of object patterns, which requires enormous processing time. Become.

本発明はかかる点に鑑みてなされたものであり、物体の模様の画像を用いて鑑別を行う際に、処理に要する時間を短縮することができる画像分類装置および画像分類方法を提供することを目的とする。   The present invention has been made in view of the above points, and provides an image classification apparatus and an image classification method capable of reducing the time required for processing when performing discrimination using an image of an object pattern. Objective.

上記課題を解決するため、本発明は、物体の模様を含む入力画像とテンプレートとの比較により複数のカテゴリーから前記物体が属するカテゴリーを特定する画像分類装置であって、同一カテゴリーに属する複数の物体の模様に共通する特徴領域の画像集計データをカテゴリーごとのテンプレートとしてあらかじめ記憶する記憶手段と、前記入力画像の特徴領域ごとの画像集計データを算出する第1の算出手段と、前記第1の算出手段によって算出された画像集計データと前記記憶手段によって記憶されたテンプレートとを相関演算してテンプレートごとの照合値を算出する第2の算出手段と、前記第2の算出手段によって算出された照合値が最大のテンプレートに対応するカテゴリーを前記物体の分類結果として出力する出力手段とを有することを特徴とする。   In order to solve the above-described problem, the present invention is an image classification apparatus for identifying a category to which the object belongs from a plurality of categories by comparing an input image including a pattern of the object with a template, and a plurality of objects belonging to the same category. Storage means for preliminarily storing, as a template for each category, image total data of feature areas common to the patterns, first calculation means for calculating image total data for each feature area of the input image, and the first calculation Second calculation means for calculating a collation value for each template by performing a correlation operation on the image total data calculated by the means and the template stored by the storage means; and the collation value calculated by the second calculation means Output means for outputting the category corresponding to the largest template as the classification result of the object I am characterized in.

また、本発明は、上記発明において、前記第1の算出手段は、前記入力画像を極座標変換する極座標変換部と、前記極座標変換部によって極座標変換された入力画像中の特徴領域におけるヒストグラムを作成するヒストグラム作成部と、前記ヒストグラム作成部によって作成されたヒストグラムの自己相関曲線を算出する自己相関算出部とを有し、前記第2の算出手段は、前記自己相関算出部によって算出された自己相関曲線と前記記憶手段によって記憶されたテンプレートの自己相関曲線との正規化相関からテンプレートごとの照合値を算出することを特徴とする。   Also, in the present invention according to the above invention, the first calculation means creates a polar coordinate conversion unit that performs polar coordinate conversion on the input image, and a histogram in a feature region in the input image that has been subjected to polar coordinate conversion by the polar coordinate conversion unit. A histogram generation unit; and an autocorrelation calculation unit that calculates an autocorrelation curve of the histogram generated by the histogram generation unit, wherein the second calculation unit includes the autocorrelation curve calculated by the autocorrelation calculation unit. And a collation value for each template is calculated from a normalized correlation between the template and the autocorrelation curve of the template stored by the storage means.

また、本発明は、上記発明において、前記第1の算出手段は、前記入力画像中の特徴領域におけるヒストグラムを作成するヒストグラム作成部を有し、前記第2の算出手段は、前記ヒストグラム作成部によって作成されたヒストグラムと前記記憶手段によって記憶されたテンプレートのヒストグラムとの正規化相関からテンプレートごとの照合値を算出することを特徴とする。   Further, in the present invention according to the above invention, the first calculation unit includes a histogram generation unit that generates a histogram in a feature region in the input image, and the second calculation unit includes the histogram generation unit. The collation value for each template is calculated from the normalized correlation between the created histogram and the histogram of the template stored by the storage means.

また、本発明は、上記発明において、前記出力手段は、前記第2の算出手段によって算出された照合値が所定の閾値以上のテンプレートに対応するカテゴリーを前記物体の分類結果として出力することを特徴とする。   Further, the present invention is characterized in that, in the above invention, the output means outputs a category corresponding to a template whose collation value calculated by the second calculation means is not less than a predetermined threshold as a classification result of the object. And

また、本発明は、上記発明において、前記記憶手段は、1つのカテゴリーに対して複数の特徴領域の画像集計データをテンプレートとして記憶し、前記第2の算出手段は、複数の特徴領域それぞれにおける相関演算結果を重み付け加算してテンプレートごとの照合値を算出することを特徴とする。   Also, in the present invention according to the above-described invention, the storage unit stores image aggregate data of a plurality of feature regions for one category as a template, and the second calculation unit stores correlations in each of the plurality of feature regions. The comparison result for each template is calculated by weighted addition of the calculation results.

また、本発明は、上記発明において、前記入力画像から物体のサイズを検出する検出手段をさらに有し、前記第2の算出手段は、前記検出手段によって検出されたサイズの物体が属するカテゴリーのみのテンプレートを照合値の算出に用いることを特徴とする。   Further, the present invention according to the above invention further comprises a detecting means for detecting the size of the object from the input image, and the second calculating means is for only the category to which the object of the size detected by the detecting means belongs. A template is used for calculation of a collation value.

また、本発明は、硬貨の模様を含む入力画像とテンプレートとの比較により前記硬貨がいずれの国のものであるか特定する画像分類装置であって、各国の硬貨の模様に特徴的な特徴領域の画像集計データを国ごとのテンプレートとしてあらかじめ記憶する記憶手段と、前記入力画像の特徴領域ごとの画像集計データを算出する第1の算出手段と、前記第1の算出手段によって算出された画像集計データと前記記憶手段によって記憶されたテンプレートとを相関演算してテンプレートごとの照合値を算出する第2の算出手段と、前記第2の算出手段によって算出された照合値が最大のテンプレートに対応する国を分類結果として出力する出力手段とを有することを特徴とする。   In addition, the present invention is an image classification device that identifies which country the coin is from by comparing an input image including a coin pattern with a template, and a characteristic region characteristic of the coin pattern of each country Storage means for preliminarily storing the image total data as a template for each country, first calculation means for calculating image total data for each feature region of the input image, and image total calculated by the first calculation means A second calculation means for calculating a collation value for each template by correlating the data and the template stored in the storage means, and the collation value calculated by the second calculation means corresponds to the maximum template. Output means for outputting the country as a classification result.

また、本発明は、物体の模様を含む入力画像とテンプレートとの比較により複数のカテゴリーから前記物体が属するカテゴリーを特定する画像分類方法であって、同一カテゴリーに属する複数の物体の模様に共通する特徴領域の画像集計データを示すカテゴリーごとのテンプレートを読み出す読出工程と、前記入力画像の特徴領域ごとの画像集計データを算出する第1の算出工程と、前記第1の算出工程にて算出された画像集計データと前記読出工程にて読み出されたテンプレートとを相関演算してテンプレートごとの照合値を算出する第2の算出工程と、前記第2の算出工程にて算出された照合値が最大のテンプレートに対応するカテゴリーを前記物体の分類結果として出力する出力工程とを有することを特徴とする。   The present invention is also an image classification method for identifying a category to which the object belongs from a plurality of categories by comparing an input image including a pattern of the object with a template, and is common to a plurality of object patterns belonging to the same category. Calculated in the reading step of reading out the template for each category indicating the image total data of the feature region, the first calculation step of calculating the image total data for each feature region of the input image, and the first calculation step A second calculation step of calculating a collation value for each template by performing a correlation operation between the image total data and the template read in the reading step; and the collation value calculated in the second calculation step is a maximum. And an output step of outputting a category corresponding to the template as a classification result of the object.

本発明によれば、同一カテゴリーに属する複数の物体の模様に共通する特徴領域の画像集計データをカテゴリーごとのテンプレートとしてあらかじめ記憶しておき、入力画像の特徴領域ごとの画像集計データを算出し、算出された画像集計データとテンプレートとを相関演算してテンプレートごとの照合値を算出し、算出された照合値が最大のテンプレートに対応するカテゴリーを前記物体の分類結果として出力するよう構成したので、あらかじめ物体が属するカテゴリーを特定して候補を絞ることができ、物体の模様の画像を用いて鑑別を行う際に、処理に要する時間を短縮することができる。   According to the present invention, image aggregate data of feature areas common to a plurality of object patterns belonging to the same category is stored in advance as a template for each category, and image aggregate data for each feature area of the input image is calculated, Since the calculated image aggregation data and the template are subjected to correlation operation to calculate a matching value for each template, and the category corresponding to the template with the largest calculated matching value is output as the classification result of the object, Candidates can be narrowed down by specifying the category to which the object belongs in advance, and the time required for processing can be shortened when performing discrimination using the pattern image of the object.

また、本発明によれば、入力画像を極座標変換し、極座標変換された入力画像中の特徴領域におけるヒストグラムを作成し、作成されたヒストグラムの自己相関曲線を算出し、算出された自己相関曲線とテンプレートの自己相関曲線との正規化相関からテンプレートごとの照合値を算出するよう構成したので、物体とテンプレートとの回転方向のずれを合わせる必要が無く、さらに処理時間を短縮することができる。   Further, according to the present invention, the input image is subjected to polar coordinate conversion, a histogram in the feature region in the input image subjected to polar coordinate conversion is created, an autocorrelation curve of the created histogram is calculated, and the calculated autocorrelation curve and Since the collation value for each template is calculated from the normalized correlation with the autocorrelation curve of the template, it is not necessary to match the rotational direction deviation between the object and the template, and the processing time can be further reduced.

また、本発明によれば、入力画像中の特徴領域におけるヒストグラムを作成し、作成されたヒストグラムとテンプレートのヒストグラムとの正規化相関からテンプレートごとの照合値を算出するよう構成したので、物体とテンプレートとの回転方向のずれを合わせておけば、入力画像を極座標変換せずに直交座標系における処理が可能となる。   In addition, according to the present invention, a histogram in the feature region in the input image is created, and the collation value for each template is calculated from the normalized correlation between the created histogram and the histogram of the template. If the shift in the rotation direction is matched, processing in an orthogonal coordinate system can be performed without converting the input image into polar coordinates.

また、本発明によれば、照合値が所定の閾値以上のテンプレートに対応するカテゴリーを物体の分類結果として出力するよう構成したので、閾値を適宜設定することにより、柔軟な分類を行うことができる。   In addition, according to the present invention, a category corresponding to a template whose collation value is equal to or greater than a predetermined threshold is output as an object classification result. Therefore, flexible classification can be performed by appropriately setting the threshold. .

また、本発明によれば、1つのカテゴリーに対して複数の特徴領域の画像集計データをテンプレートとして記憶し、複数の特徴領域それぞれにおける相関演算結果を重み付け加算してテンプレートごとの照合値を算出するよう構成したので、特徴領域が1つでは完全に分類ができない場合でも、特徴領域の数を増やして容易に照合値を求め、確実に物体を分類することができる。   Further, according to the present invention, image aggregate data of a plurality of feature areas for one category is stored as a template, and correlation values for each of the plurality of feature areas are weighted and added to calculate a matching value for each template. With this configuration, even if one feature region cannot be used for complete classification, the number of feature regions can be increased to easily obtain a matching value, and an object can be reliably classified.

また、本発明によれば、入力画像から物体のサイズを検出し、検出されたサイズの物体が属するカテゴリーのみのテンプレートを照合値の算出に用いるよう構成したので、分類結果とはなり得ないカテゴリーのテンプレートを除外して照合値を算出することができ、さらに処理時間を短縮することができる。   In addition, according to the present invention, the size of an object is detected from the input image, and the template of only the category to which the object of the detected size belongs is used for calculation of the collation value. Therefore, a category that cannot be a classification result. The matching value can be calculated by excluding the template, and the processing time can be further reduced.

また、本発明によれば、各国の硬貨の模様に特徴的な特徴領域の画像集計データを国ごとのテンプレートとしてあらかじめ記憶しておき、入力画像の特徴領域ごとの画像集計データを算出し、算出された画像集計データとテンプレートとを相関演算してテンプレートごとの照合値を算出し、算出された照合値が最大のテンプレートに対応する国を分類結果として出力するよう構成したので、あらかじめ硬貨がどの国のものであるか特定することができ、硬貨の模様の画像を用いて鑑別を行う際に、処理に要する時間を短縮することができる。   In addition, according to the present invention, image aggregate data of feature regions characteristic of the coin pattern of each country is stored in advance as a template for each country, and image aggregate data for each feature region of the input image is calculated and calculated. By calculating the correlation value for each template and calculating the matching value for each template, and outputting the country corresponding to the template with the largest matching value as the classification result, It can be specified whether it is a country, and the time required for processing can be shortened when performing discrimination using an image of a coin pattern.

また、本発明によれば、同一カテゴリーに属する複数の物体の模様に共通する特徴領域の画像集計データを示すカテゴリーごとのテンプレートを読み出し、入力画像の特徴領域ごとの画像集計データを算出し、算出された画像集計データとテンプレートとを相関演算してテンプレートごとの照合値を算出し、算出された照合値が最大のテンプレートに対応するカテゴリーを物体の分類結果として出力するようにしたので、あらかじめ物体が属するカテゴリーを特定して候補を絞ることができ、物体の模様の画像を用いて鑑別を行う際に、処理に要する時間を短縮することができる。   Further, according to the present invention, a template for each category indicating image aggregate data of feature areas common to a plurality of object patterns belonging to the same category is read, and image aggregate data for each feature area of the input image is calculated and calculated. Since the calculated image data and the template are correlated to calculate the matching value for each template, the category corresponding to the template with the largest matching value is output as the object classification result. The category to which the user belongs can be specified to narrow down candidates, and the time required for processing can be shortened when performing discrimination using an image of an object pattern.

以下、本発明の一実施の形態について、図面を参照して詳細に説明する。なお、以下では、ユーロ硬貨の鑑別を例に挙げ、硬貨の模様を大まかに分類して硬貨の種別の候補を含む国などのカテゴリーを限定する場合について説明する。ユーロ硬貨は、同一金種でも国ごとに模様が異なっており、全部で二十種類以上の模様がある。したがって、従来通りにユーロ硬貨を鑑別するためには、鑑別対象の1つの硬貨と二十種類以上のテンプレートそれぞれとの照合を行う必要があり、効率的ではない。そこで、以下の実施の形態では、あらかじめ硬貨が属するカテゴリー(すなわち、国)を絞っておく場合について説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the following, a case where euro coins are identified will be described as an example, and a case where the patterns of coins are roughly classified to limit categories such as countries including coin type candidates will be described. Euro coins have different patterns from country to country even with the same denomination, and there are more than 20 patterns. Therefore, in order to discriminate euro coins as usual, it is necessary to collate one coin to be discriminated with each of twenty or more types of templates, which is not efficient. Therefore, in the following embodiment, a case will be described in which the category (ie, country) to which the coin belongs is narrowed down in advance.

図1は、本発明の一実施の形態に係る画像分類装置の要部構成を示すブロック図である。図1に示す画像分類装置は、エッジ検出部110、サイズ検出部120、画像切出部130、座標変換部140、テンプレート記憶部150、テンプレート設定部160、テンプレート比較部170、および最大値選択部180を有している。   FIG. 1 is a block diagram showing a main configuration of an image classification apparatus according to an embodiment of the present invention. 1 includes an edge detection unit 110, a size detection unit 120, an image cutout unit 130, a coordinate conversion unit 140, a template storage unit 150, a template setting unit 160, a template comparison unit 170, and a maximum value selection unit. 180.

エッジ検出部110は、鑑別対象の硬貨の模様を含む入力画像に対しエッジ検出を行って、エッジの有無がエッジ強度の濃淡で表現されたエッジ画像を生成し、サイズ検出部120へ出力する。   The edge detection unit 110 performs edge detection on an input image including a coin pattern to be identified, generates an edge image in which the presence / absence of an edge is expressed by shading of the edge strength, and outputs the edge image to the size detection unit 120.

サイズ検出部120は、エッジ画像から鑑別対象の硬貨のサイズを検出し、検出されたサイズを画像切出部130およびテンプレート設定部160へ通知する。具体的には、サイズ検出部120は、エッジ画像中でエッジが生じている領域が硬貨の大きさに対応していると判断し、例えば硬貨の半径などを画像切出部130およびテンプレート設定部160へ通知する。   The size detection unit 120 detects the size of the coin to be identified from the edge image, and notifies the image cutting unit 130 and the template setting unit 160 of the detected size. Specifically, the size detection unit 120 determines that the region where the edge is generated in the edge image corresponds to the size of the coin. For example, the image cutting unit 130 and the template setting unit 160 is notified.

画像切出部130は、サイズ検出部120から通知された硬貨のサイズに従って、エッジ画像から硬貨部分の画像を切り出し、座標変換部140へ出力する。なお、硬貨は円形であるものとし、硬貨部分の画像は、硬貨の円形と同一の形状でも良く、また、硬貨の円形に外接する正方形の形状などでも良い。   The image cutout unit 130 cuts out an image of a coin part from the edge image according to the coin size notified from the size detection unit 120, and outputs the cut image to the coordinate conversion unit 140. The coin is assumed to be circular, and the image of the coin portion may be the same shape as the coin circle, or may be a square shape circumscribing the coin circle.

座標変換部140は、硬貨部分の画像を極座標変換し、硬貨の回転方向の変位を直線方向の変位に変換する。すなわち、座標変換部140は、直交座標系であるxy座標上の画像を極座標系であるρθ座標上に写像することにより、xy座標上での回転方向の変位をρθ座標上でのθ軸方向の直線的な変位に変換する。これにより、入力画像中において硬貨がいかなる角度で回転していても、この回転が直線的なずれとして表現されることになる。   The coordinate conversion unit 140 converts the image of the coin portion into polar coordinates, and converts the displacement in the rotation direction of the coin into the displacement in the linear direction. That is, the coordinate conversion unit 140 maps the image on the xy coordinate that is an orthogonal coordinate system onto the ρθ coordinate that is the polar coordinate system, thereby converting the displacement in the rotational direction on the xy coordinate to the θ-axis direction on the ρθ coordinate. Convert to linear displacement. Thereby, even if the coin rotates at any angle in the input image, this rotation is expressed as a linear shift.

テンプレート記憶部150は、それぞれの国のすべての金種に共通する特徴領域に関する画像集計データを国ごとのテンプレートとして記憶している。具体的には、テンプレート記憶部150は、硬貨のエッジ画像が極座標系(ρθ座標系)に配置された場合に、国ごとに特徴的となるρ軸方向に幅がある帯状の領域を加算区間としたヒストグラムの自己相関曲線を記憶している。すなわち、テンプレート記憶部150は、例えばA国の硬貨の模様を特徴付けるρ軸方向の加算区間におけるヒストグラムの自己相関曲線をA国のテンプレートとして記憶しており、他国に関してもそれぞれの国の模様を特徴付けるρ軸方向の加算区間におけるヒストグラムの自己相関曲線を各国のテンプレートとして記憶している。   The template storage unit 150 stores image aggregate data regarding feature regions common to all denominations in each country as a template for each country. Specifically, the template storage unit 150 adds a band-like region having a width in the ρ-axis direction that is characteristic for each country when the edge image of the coin is arranged in the polar coordinate system (ρθ coordinate system). The autocorrelation curve of the histogram is stored. That is, the template storage unit 150 stores, for example, the autocorrelation curve of the histogram in the addition section in the ρ-axis direction that characterizes the coin pattern of country A as a template of country A, and characterizes the pattern of each country with respect to other countries. The autocorrelation curve of the histogram in the addition section in the ρ axis direction is stored as a template for each country.

なお、1国のテンプレートには複数の加算区間の自己相関曲線が含まれていても良い。ただし、1国のテンプレートに含まれる加算区間数が多くなると、この国に関してはテンプレートとの比較処理の回数が多くなるため、全体の処理時間は増大する。また、各加算区間はρ軸方向の帯状の領域であるため、硬貨の中心が原点となる直交座標系(xy座標系)では原点を中心とした同心円から形成されるドーナツ状の領域がテンプレート用の領域として用いられることに他ならない。   One country template may include auto-correlation curves of a plurality of addition sections. However, if the number of added sections included in the template for one country increases, the number of comparison processes with the template increases for this country, and the overall processing time increases. In addition, since each addition section is a band-shaped region in the ρ axis direction, in a rectangular coordinate system (xy coordinate system) in which the center of the coin is the origin, a donut-shaped region formed from a concentric circle centered on the origin is used for the template. It is none other than being used as an area of

ここで、ρ軸方向の加算区間におけるヒストグラムの自己相関曲線をテンプレートとしておくことにより、後に詳述するように、鑑別対象の硬貨とテンプレートとの比較において直交座標系での回転方向のずれを無視することができるようになる。また、ρ軸方向の帯状の加算区間がテンプレートに用いられるため、鑑別対象の硬貨を例えば線状のテンプレートと比較するような場合とは異なり、過度に厳密ではない幅がある判定を行うことができる。このため、上述した国ごとのテンプレートのように、1国のテンプレートに対して複数の種類の硬貨が合致するといった判定が可能となる。   Here, by using the autocorrelation curve of the histogram in the addition section in the ρ-axis direction as a template, as will be described in detail later, in the comparison between the coin to be identified and the template, the rotational direction shift in the orthogonal coordinate system is ignored. Will be able to. In addition, since a band-shaped addition section in the ρ axis direction is used as a template, it is possible to perform a determination that has an excessively narrow width unlike a case where a coin to be identified is compared with, for example, a linear template. it can. For this reason, it is possible to determine that a plurality of types of coins match one country template like the above-described country-specific templates.

テンプレート設定部160は、サイズ検出部120から通知された硬貨のサイズに応じて硬貨の分類に用いるテンプレートを選択し、選択されたテンプレートをテンプレート記憶部150から読み出してテンプレート比較部170内の加算区間指示部171に設定する。ユーロ硬貨は、金種によって硬貨のサイズが異なっているが、国によっては存在しない金種があるため、サイズ検出部120によって検出されたサイズの硬貨が存在しない国のテンプレートは鑑別対象の硬貨の分類に使用する必要が無い。すなわち、テンプレート設定部160は、サイズ検出部120によって検出されたサイズの金種が存在する国のテンプレートのみを加算区間指示部171に設定する。これにより、硬貨のサイズから使用するテンプレートが限定され、結果として硬貨の種別が絞られることがある。   The template setting unit 160 selects a template to be used for classifying coins according to the size of the coin notified from the size detection unit 120, reads the selected template from the template storage unit 150, and adds the interval in the template comparison unit 170. Set in the instruction unit 171. Euro coins have different coin sizes depending on the denomination, but there are denominations that do not exist depending on the country. Therefore, a template for a country where there is no coin of the size detected by the size detection unit 120 is the coin to be identified. There is no need to use it for classification. That is, the template setting unit 160 sets only the template of the country where the denomination of the size detected by the size detection unit 120 exists in the addition section instruction unit 171. Thereby, the template to be used is limited based on the size of the coin, and as a result, the type of the coin may be narrowed down.

テンプレート比較部170は、加算区間指示部171、ヒストグラム作成部172、自己相関算出部173、正規化相関算出部174、および照合値算出部175を有しており、入力画像とテンプレートとの比較を行って、入力画像と各国のテンプレートとの照合値を出力する。   The template comparison unit 170 includes an addition interval instruction unit 171, a histogram creation unit 172, an autocorrelation calculation unit 173, a normalized correlation calculation unit 174, and a matching value calculation unit 175, and compares an input image with a template. And output a collation value between the input image and the template of each country.

具体的には、加算区間指示部171は、極座標変換された硬貨部分の画像中においてθごとのエッジ強度を算出すべき加算区間をヒストグラム作成部172に指示する。すなわち、加算区間指示部171は、テンプレート設定部160によって設定された国ごとのテンプレートの各加算区間に対応するヒストグラムを作成するようにヒストグラム作成部172に指示する。同時に、加算区間指示部171は、指示した加算区間の自己相関曲線(テンプレート)を正規化相関算出部174へ出力する。また、加算区間指示部171は、1国のテンプレートのすべての加算区間について指示を完了した場合に、この国の照合値の算出を照合値算出部175に指示し、すべてのテンプレートについて指示を完了した場合に、すべての照合値の出力を照合値算出部175に指示する。   Specifically, the addition interval instruction unit 171 instructs the histogram creation unit 172 of an addition interval in which the edge intensity for each θ is to be calculated in the image of the coin part that has been subjected to polar coordinate conversion. That is, the addition section instruction unit 171 instructs the histogram creation unit 172 to create a histogram corresponding to each addition section of the template for each country set by the template setting unit 160. At the same time, the addition interval instruction unit 171 outputs the autocorrelation curve (template) of the specified addition interval to the normalized correlation calculation unit 174. In addition, when the addition section instruction unit 171 completes the instruction for all the addition sections of the template for one country, the addition section instruction section 171 instructs the collation value calculation section 175 to calculate the collation value for this country, and completes the instruction for all the templates. In this case, the collation value calculation unit 175 is instructed to output all collation values.

ヒストグラム作成部172は、加算区間指示部171によって指示された加算区間の画素値をθごとに加算して、各θにおける加算区間のエッジ強度を示すヒストグラムを作成する。作成されたヒストグラムは、いずれかの国のテンプレートに含まれる加算区間に対応するヒストグラムであるため、鑑別対象の硬貨がこのテンプレートの国のものであれば、ヒストグラムは特徴的であり、同一の加算区間について作成された他国の硬貨のヒストグラムとの間には明確な差があることになる。   The histogram creation unit 172 adds the pixel values of the addition section designated by the addition section instruction unit 171 for each θ, and creates a histogram indicating the edge strength of the addition section at each θ. Since the created histogram is a histogram corresponding to the addition section included in the template of any country, if the coins to be identified are from this template country, the histogram is characteristic and the same addition There is a clear difference between the histograms of other countries' coins prepared for the interval.

自己相関算出部173は、ヒストグラム作成部172によって作成されたヒストグラムの自己相関を算出し、画像集計データとして自己相関曲線を得る。上述したように、硬貨部分の画像は、座標変換部140によって極座標変換されているため、直交座標系(xy座標系)の回転方向の変位がθ軸方向の直線的な変位に変換されている。このため、ヒストグラム作成部172によって作成されたヒストグラムにおいても、直交座標系(xy座標系)における硬貨の回転に応じて、ピークの位置がθ軸方向に平行移動することになる。そこで、ヒストグラムをθ軸方向にずらした場合の自己相関を自己相関算出部173が算出することにより、直交座標系(xy座標系)で硬貨がいかなる回転角で配置されていようとも、同一の硬貨に関するヒストグラムについては同一の自己相関曲線を得ることができる。   The autocorrelation calculation unit 173 calculates the autocorrelation of the histogram created by the histogram creation unit 172, and obtains an autocorrelation curve as the image total data. As described above, since the image of the coin part has been subjected to polar coordinate conversion by the coordinate conversion unit 140, the displacement in the rotation direction of the orthogonal coordinate system (xy coordinate system) is converted into a linear displacement in the θ-axis direction. . For this reason, also in the histogram created by the histogram creation unit 172, the peak position translates in the θ-axis direction in accordance with the rotation of the coin in the orthogonal coordinate system (xy coordinate system). Therefore, the autocorrelation calculation unit 173 calculates the autocorrelation when the histogram is shifted in the θ-axis direction, so that the same coin can be used regardless of the rotation angle of the coin in the orthogonal coordinate system (xy coordinate system). The same autocorrelation curve can be obtained with respect to the histogram.

これにより、入力画像における硬貨の回転の情報を除去することができ、硬貨の模様にのみ依存した自己相関曲線が得られ、テンプレートとの比較に際して、直交座標系(xy座標系)における硬貨の回転を無視することが可能となる。   As a result, it is possible to remove information on the rotation of the coin in the input image, and an autocorrelation curve that depends only on the pattern of the coin is obtained. When comparing with the template, the rotation of the coin in the orthogonal coordinate system (xy coordinate system) Can be ignored.

正規化相関算出部174は、自己相関算出部173によって得られた自己相関曲線と加算区間指示部171から出力されたテンプレートの自己相関曲線との正規化相関を算出し、2つの自己相関曲線がどの程度類似しているか照合する。鑑別対象の硬貨がテンプレートとなっている国の硬貨であれば、2つの自己相関曲線が類似しているため、正規化相関算出部174によって算出される正規化相関は大きくなる。逆に、鑑別対象の硬貨がテンプレートとなっている国の硬貨でなければ、2つの自己相関曲線は類似しておらず、正規化相関算出部174によって算出される正規化相関は小さくなる。   The normalized correlation calculation unit 174 calculates a normalized correlation between the autocorrelation curve obtained by the autocorrelation calculation unit 173 and the template autocorrelation curve output from the addition section instruction unit 171, and the two autocorrelation curves are obtained. Check how similar they are. If the coin to be identified is a coin of a country that is a template, since the two autocorrelation curves are similar, the normalized correlation calculated by the normalized correlation calculation unit 174 increases. On the other hand, if the coins to be identified are not the coins of the country that is the template, the two autocorrelation curves are not similar, and the normalized correlation calculated by the normalized correlation calculation unit 174 becomes small.

照合値算出部175は、各国のテンプレートの各加算区間に関する正規化相関から国ごとの照合値を算出する。具体的には、照合値算出部175は、加算区間指示部171から照合値の算出が指示されると、すべての加算区間について得られる正規化相関を重み付け加算して国ごとの照合値を算出する。すなわち、i国のテンプレート中の加算区間jに関する正規化相関をsijとして、以下の式(1)によってi国の照合値Ziを算出する。

Figure 0004580324
The matching value calculation unit 175 calculates a matching value for each country from the normalized correlation for each addition section of the template for each country. Specifically, when the addition value indicating unit 171 is instructed to calculate the reference value, the reference value calculating unit 175 calculates the reference value for each country by weighted addition of the normalized correlations obtained for all the addition regions. To do. In other words, the normalized correlation with respect to the addition interval j in the template for country i is set as s ij , and the matching value Z i for country i is calculated by the following equation (1).
Figure 0004580324

なお、式(1)において、αijはi国のテンプレート中の加算区間jに関する重み係数であり、例えばブースティング(Boosting)などの学習アルゴリズムによって決定される値である。この式(1)によって求められるi国の照合値Ziは、i国の各テンプレートに関する正規化相関sijが大きいほど大きくなり、入力画像中の硬貨がi国の硬貨である時に照合値Ziが最大となる。 In equation (1), α ij is a weighting factor for the addition interval j in the template for country i, and is a value determined by a learning algorithm such as boosting. The matching value Z i for i country obtained by this equation (1) increases as the normalized correlation s ij for each template in i country increases, and the matching value Z when the coin in the input image is a coin of i country. i is the maximum.

最大値選択部180は、国ごとの照合値の最大値を選択し、入力画像中の硬貨が選択された照合値に対応する国の硬貨であるという分類結果を出力する。この分類結果は、鑑別対象の硬貨がどの国のものであるかを示しているため、金種までは特定されていない。しかし、分類結果の国の硬貨を候補としてさらに詳細な鑑別を行うことにより、すべての国のすべての金種の硬貨を候補として詳細な鑑別を行うよりも短時間で処理が完了する。   The maximum value selection unit 180 selects the maximum value of the collation values for each country, and outputs a classification result that the coins in the input image are coins of the country corresponding to the selected collation values. Since this classification result indicates which country the coin to be identified belongs to, the denomination is not specified. However, the process is completed in a shorter time than by performing detailed discrimination using coins of all denominations of all countries as candidates by performing further detailed discrimination using the coins of countries of the classification results as candidates.

次いで、上記のように構成された画像分類装置による画像の分類方法について、図2に示すフロー図を参照しながら説明する。   Next, an image classification method by the image classification apparatus configured as described above will be described with reference to the flowchart shown in FIG.

まず、鑑別対象の硬貨の模様を含む入力画像はエッジ検出部110によってエッジ検出され、エッジ画像が生成される。そして、サイズ検出部120によって、エッジ画像から硬貨のサイズが検出され(ステップS1000)、このサイズが画像切出部130およびテンプレート設定部160へ通知される。   First, an edge detection unit 110 performs edge detection on an input image including a coin pattern to be identified, and an edge image is generated. Then, the size detection unit 120 detects the size of the coin from the edge image (step S1000), and notifies the image cutout unit 130 and the template setting unit 160 of this size.

画像切出部130に硬貨のサイズが通知されると、画像切出部130によって、エッジ画像から硬貨部分の画像が切り出され、座標変換部140によって、硬貨部分の画像が極座標変換される(ステップS1010)。これにより、鑑別対象の硬貨の模様が極座標系であるρθ座標軸上に配置されることになり、硬貨の領域は、ρ軸方向の長さが硬貨の半径に相当し、θ軸方向の長さが360度に相当する長方形の領域となる。したがって、直交座標系であるxy座標軸上における硬貨の回転方向の変位は、θ軸方向の直線的な変位に変換されたことになる。   When the image cutout unit 130 is notified of the size of the coin, the image cutout unit 130 cuts out the image of the coin part from the edge image, and the coordinate conversion unit 140 converts the image of the coin part into polar coordinates (step). S1010). As a result, the pattern of the coins to be identified is arranged on the ρθ coordinate axis, which is a polar coordinate system, and the coin region has a length in the ρ axis direction corresponding to the radius of the coin, and a length in the θ axis direction. Becomes a rectangular region corresponding to 360 degrees. Therefore, the displacement in the rotational direction of the coin on the xy coordinate axis, which is an orthogonal coordinate system, is converted into a linear displacement in the θ-axis direction.

一方、テンプレート設定部160に硬貨のサイズが通知されると、テンプレート設定部160によって、通知されたサイズの硬貨が存在する国のテンプレートがテンプレート記憶部150から読み出され、加算区間指示部171に設定される。つまり、鑑別対象の硬貨は、この硬貨と同じサイズの金種が存在するいずれかの国のものであるため、サイズ検出部120によって検出されたサイズの金種が存在する国のみのI個のテンプレートが使用されることとなる(ステップS1020)。これらのI個のテンプレートは、それぞれの国の硬貨の画像集計データであり、具体的には、ρ軸方向の1加算区間または複数加算区間におけるヒストグラムの自己相関曲線から構成されている。   On the other hand, when the size of the coin is notified to the template setting unit 160, the template setting unit 160 reads the template of the country where the coin of the notified size exists from the template storage unit 150, and sends it to the addition section instruction unit 171. Is set. That is, since the coins to be identified are from any country in which a denomination of the same size as this coin exists, only I countries in which the denomination of the size detected by the size detection unit 120 exists. A template is used (step S1020). These I templates are image total data of coins of respective countries, and are specifically configured from histogram autocorrelation curves in one addition section or multiple addition sections in the ρ-axis direction.

加算区間指示部171にI個のテンプレートが設定されると、加算区間指示部171によって、テンプレートを指定する変数iが1に初期化され(ステップS1030)、入力画像と最初に比較されるテンプレート1が設定される(ステップS1040)。なお、テンプレート1が設定されることに伴って、当面使用される加算区間数J(すなわち、テンプレート1の加算区間数)が決定される。   When I templates are set in the addition section instruction section 171, the addition section instruction section 171 initializes a variable i for designating a template to 1 (step S1030), and the template 1 that is first compared with the input image. Is set (step S1040). As the template 1 is set, the number of addition sections J used for the time being (that is, the number of addition sections of the template 1) is determined.

そして、加算区間指示部171によって、テンプレート1を構成する各加算区間を指定する変数jが1に初期化され(ステップS1050)、ヒストグラム作成部172に対して、テンプレート1の加算区間1に対応するヒストグラムを作成する旨の指示が出力される(ステップS1060)。同時に、テンプレート1の加算区間1の自己相関曲線が正規化相関算出部174へ出力される。加算区間指示部171からヒストグラム作成の指示が出力されると、ヒストグラム作成部172によって、座標変換部140によって極座標変換された硬貨部分の画像のヒストグラムが作成される。このとき、ヒストグラム作成部172は、テンプレート1の加算区間1に対応するヒストグラムを作成する。   Then, the addition section instruction unit 171 initializes a variable j for designating each addition section constituting the template 1 to 1 (step S1050), and corresponds to the addition section 1 of the template 1 for the histogram creation unit 172. An instruction to create a histogram is output (step S1060). At the same time, the autocorrelation curve of addition period 1 of template 1 is output to normalized correlation calculation section 174. When an instruction to create a histogram is output from the addition section instruction unit 171, the histogram creation unit 172 creates a histogram of the coin portion image that has been subjected to polar coordinate conversion by the coordinate conversion unit 140. At this time, the histogram creation unit 172 creates a histogram corresponding to the addition section 1 of the template 1.

テンプレート1の加算区間1に対応するヒストグラムは、自己相関算出部173へ出力され、自己相関が算出されることにより自己相関曲線が得られる。この自己相関曲線は、テンプレート1の加算区間1に対応する鑑別対象の硬貨の自己相関曲線であり、入力画像における硬貨の回転方向の情報が除去されている。また、もし鑑別対象の硬貨がテンプレート1の国の硬貨であれば、自己相関算出部173において得られた自己相関曲線は、加算区間指示部171から正規化相関算出部174へ出力されたテンプレート1の加算区間1の自己相関曲線に類似していることになる。   The histogram corresponding to addition section 1 of template 1 is output to autocorrelation calculation section 173, and an autocorrelation curve is obtained by calculating autocorrelation. This autocorrelation curve is an autocorrelation curve of a coin to be identified corresponding to the addition section 1 of the template 1, and information on the rotation direction of the coin in the input image is removed. If the coin to be identified is a coin of the country of template 1, the autocorrelation curve obtained in autocorrelation calculation unit 173 is the template 1 output from addition interval instruction unit 171 to normalized correlation calculation unit 174. It is similar to the autocorrelation curve of the addition interval 1 of

入力画像から得られた自己相関曲線は、正規化相関算出部174へ出力され、既に加算区間指示部171から出力済みのテンプレート1の加算区間1の自己相関曲線との正規化相関が算出される(ステップS1070)。算出される正規化相関は、2つの自己相関曲線がどの程度類似しているかを示す指標であり、2つの自己相関曲線が類似していれば大きくなり、2つの自己相関曲線が類似していなければ小さくなる。この正規化相関は、照合値算出部175へ出力され、一時的に保持される。   The autocorrelation curve obtained from the input image is output to the normalized correlation calculation unit 174, and the normalized correlation with the autocorrelation curve of the addition interval 1 of the template 1 already output from the addition interval instruction unit 171 is calculated. (Step S1070). The calculated normalized correlation is an index indicating how similar the two autocorrelation curves are. If the two autocorrelation curves are similar, it will increase, and the two autocorrelation curves must be similar. It will become smaller. This normalized correlation is output to the collation value calculation unit 175 and temporarily held.

一方、テンプレート1の加算区間1に対応するヒストグラム作成の指示を出力した後、加算区間指示部171は、テンプレート1の加算区間数Jと加算区間を指定する現在の変数jとが等しいか否か判定する(ステップS1080)。ここでは、テンプレート1の加算区間1に対応するヒストグラム作成の指示が出力されたところであるため、変数jの値は1である。したがって、テンプレート1の加算区間数Jが2以上であれば、加算区間数Jと変数jは等しくなく(ステップS1080否定)、加算区間指示部171によって変数jが1インクリメントされ(ステップS1090)、テンプレート1の加算区間2に対応するヒストグラムを作成する旨の指示が出力される(ステップS1060)。同時に、テンプレート1の加算区間2の自己相関曲線が正規化相関算出部174へ出力される。   On the other hand, after outputting the histogram creation instruction corresponding to the addition section 1 of the template 1, the addition section instruction section 171 determines whether or not the number of addition sections J of the template 1 is equal to the current variable j specifying the addition section. Determination is made (step S1080). Here, since the instruction for creating the histogram corresponding to the addition section 1 of the template 1 has been output, the value of the variable j is 1. Therefore, if the addition section number J of the template 1 is 2 or more, the addition section number J and the variable j are not equal (No in step S1080), and the variable j is incremented by 1 by the addition section instruction unit 171 (step S1090). An instruction to create a histogram corresponding to 1 addition interval 2 is output (step S1060). At the same time, the autocorrelation curve of the addition section 2 of the template 1 is output to the normalized correlation calculation unit 174.

そして、変数jが1の場合と同様に、テンプレート1の加算区間2に対応するヒストグラムがヒストグラム作成部172によって作成され、ヒストグラムの自己相関曲線とテンプレート1の加算区間2の自己相関曲線との正規化相関が正規化相関算出部174によって算出され(ステップS1070)、照合値算出部175へ出力されて保持される。   Similarly to the case where the variable j is 1, a histogram corresponding to the addition interval 2 of the template 1 is created by the histogram creation unit 172, and the normal correlation between the autocorrelation curve of the histogram and the autocorrelation curve of the addition interval 2 of the template 1 is performed. The normalized correlation is calculated by the normalized correlation calculation unit 174 (step S1070), and is output to and stored in the matching value calculation unit 175.

そして、再び加算区間指示部171は、テンプレート1の加算区間数Jと現在の変数jとが等しいか否か判定する(ステップS1080)。ここでは、テンプレート1の加算区間2に対応するヒストグラム作成の指示が出力されたところであるため、変数jの値は2である。したがって、テンプレート1の加算区間数Jが2であれば、加算区間数Jと変数jは等しく(ステップS1080肯定)、加算区間指示部171によって、テンプレート1のすべての加算区間に関する正規化相関が算出された旨が照合値算出部175へ通知される。   Then, the addition section instructing unit 171 again determines whether or not the number of addition sections J of the template 1 is equal to the current variable j (step S1080). Here, since the instruction for creating the histogram corresponding to the addition interval 2 of the template 1 has been output, the value of the variable j is 2. Therefore, if the number of addition sections J of the template 1 is 2, the number of addition sections J and the variable j are equal (Yes in step S1080), and the addition section instruction unit 171 calculates the normalized correlation for all the addition sections of the template 1. The verification value calculation unit 175 is notified of the fact.

この通知を受け、照合値算出部175によって上式(1)が用いられることにより、テンプレート1の国に関する照合値が算出される(ステップS1100)。すなわち、ここでは、正規化相関s11および正規化相関s12が重み付け加算されることにより、照合値Z1が求められる。この照合値Z1が大きければ、鑑別対象の硬貨がテンプレート1の国の硬貨である可能性が大きく、反対に照合値Z1が小さければ、鑑別対象の硬貨がテンプレート1の国の硬貨である可能性が小さい。求められた照合値Z1は、照合値算出部175によって引き続き保持される。 Upon receiving this notification, the collation value calculation unit 175 uses the above equation (1) to calculate the collation value for the country of the template 1 (step S1100). That is, here, the collation value Z 1 is obtained by weighted addition of the normalized correlation s 11 and the normalized correlation s 12 . If this collation value Z 1 is large, there is a high possibility that the coin to be identified is a coin in the country of template 1, and conversely if the collation value Z 1 is small, the coin to be identified is a coin in the country of template 1. The possibility is small. The obtained collation value Z 1 is continuously held by the collation value calculation unit 175.

一方、テンプレート1のすべての加算区間に関する正規化相関が算出された旨を通知した後、加算区間指示部171は、使用するテンプレート数Iとテンプレートを指定する現在の変数iとが等しいか否か判定する(ステップS1110)。ここでは、テンプレート1のすべての加算区間に関する正規化相関が算出された旨が通知されたところであるため、変数iの値は1である。したがって、使用するテンプレート数Iが2以上であれば、テンプレート数Iと変数iは等しくなく(ステップS1110否定)、加算区間指示部171によって変数iが1インクリメントされ(ステップS1120)、入力画像と比較されるテンプレート2が設定される(ステップS1040)。このとき、テンプレート2が設定されることに伴って、改めて加算区間数J(すなわち、テンプレート2の加算区間数)が決定される。   On the other hand, after notifying that the normalized correlation for all the addition sections of the template 1 has been calculated, the addition section instructing unit 171 determines whether or not the number of templates I to be used and the current variable i designating the template are equal. Determination is made (step S1110). Here, since it has been notified that the normalized correlation for all the addition sections of template 1 has been calculated, the value of variable i is 1. Therefore, if the number of templates I to be used is 2 or more, the number of templates I and the variable i are not equal (No in step S1110), and the variable i is incremented by 1 by the addition interval instruction unit 171 (step S1120) and compared with the input image. The template 2 to be set is set (step S1040). At this time, as the template 2 is set, the number of addition sections J (that is, the number of addition sections of the template 2) is newly determined.

以後、テンプレート1の各加算区間について正規化相関が算出されてテンプレート1の照合値Z1が算出されたのと同様に、テンプレート2の各加算区間について正規化相関が算出されてテンプレート2の照合値Z2が算出される(ステップS1050〜S1100)。求められた照合値Z2は、照合値算出部175によって引き続き保持される。 Thereafter, the normalized correlation is calculated for each added section of template 2 and the template 2 matching is performed in the same manner as the normalized correlation is calculated for each added section of template 1 and the matching value Z 1 of template 1 is calculated. A value Z 2 is calculated (steps S1050 to S1100). The obtained collation value Z 2 is continuously held by the collation value calculation unit 175.

そして、再び加算区間指示部171は、使用するテンプレート数Iと現在の変数iとが等しいか否か判定する(ステップS1110)。ここでは、テンプレート2の照合値Z2が算出されたところであるため、変数iの値は2である。したがって、使用するテンプレート数Iが2であれば、テンプレート数Iと変数iは等しく(ステップS1110肯定)、照合値算出部175に対して、これまでに算出された照合値Z1および照合値Z2を最大値選択部180へ出力する旨が指示される。 Then, the addition section instruction unit 171 again determines whether or not the number of templates I to be used is equal to the current variable i (step S1110). Here, since the collation value Z 2 of the template 2 has been calculated, the value of the variable i is 2. Therefore, if the number of templates I to be used is 2, the number of templates I and the variable i are equal (Yes at step S1110), and the collation value Z 1 and collation value Z calculated so far are compared with the collation value calculation unit 175. 2 is output to maximum value selection section 180.

この指示を受け、照合値算出部175から最大値選択部180へ照合値Z1および照合値Z2が出力されると、最大値選択部180によって、照合値の最大値が選択される(ステップS1130)。上述したように、照合値算出部175によって算出される照合値は、鑑別対象の硬貨に関する自己相関曲線とテンプレートの自己相関曲線とが類似しているときに大きくなるため、最大値選択部180によって選択される照合値は、鑑別対象の硬貨に最も類似していたテンプレートに対応する照合値であることになる。換言すれば、鑑別対象の硬貨は、最大値選択部180によって選択された照合値に対応するテンプレートの国の硬貨である可能性が最も高いことになる。そこで、最大値選択部180によって、鑑別対象の硬貨がこの国の硬貨であるという分類結果が出力される。 In response to this instruction, when collation value Z 1 and collation value Z 2 are output from collation value calculation unit 175 to maximum value selection unit 180, maximum value selection unit 180 selects the maximum collation value (step). S1130). As described above, the collation value calculated by the collation value calculation unit 175 increases when the autocorrelation curve related to the coin to be identified and the autocorrelation curve of the template are similar. The selected collation value is the collation value corresponding to the template most similar to the coins to be identified. In other words, the coin to be identified is most likely a coin of the template country corresponding to the collation value selected by the maximum value selection unit 180. Therefore, the maximum value selection unit 180 outputs a classification result that the coins to be identified are coins of this country.

このように、鑑別対象の硬貨がどの国の硬貨であるか分類されるため、鑑別対象の硬貨をいずれか1国の硬貨であると限定することができ、この国の硬貨のみについて詳細に鑑別を行うことにより、最終的にどの国のどの金種の硬貨であるか特定することができる。このとき、詳細な鑑別が行われるのは、多くとも数種類の金種についてのみであるため、国の分類をせずに二十数種類の硬貨すべてについて詳細な鑑別を行うよりも大幅に時間を短縮することができる。   In this way, since the coins to be identified are classified as to which country's coins, it is possible to limit the coins to be identified as being coins of any one country, and only the coins of this country are identified in detail. By performing the above, it is possible to finally identify which denomination coin of which country. At this time, detailed discrimination is performed only for a few types of denominations, so the time is greatly reduced compared to detailed discrimination for all 20 types of coins without country classification. can do.

詳細な鑑別の具体的な方法としては、例えば以下のようなものがある。すなわち、入力画像およびテンプレート画像から相関値画像を生成し、この相関値画像を画素値が閾値以上であるか否かにより正相関値画像と負相関値画像とに分離し、テンプレート画像を画素値が閾値以上であるか否かにより正テンプレート画像と負テンプレート画像とに分離し、正相関値画像および負相関値画像と正テンプレート画像および負テンプレート画像との組み合わせにより複数の正負分離相関画像を生成し、この正負分離相関画像を用いて照合判定を行う。   Specific methods for detailed discrimination include, for example, the following. That is, a correlation value image is generated from an input image and a template image, and the correlation value image is separated into a positive correlation value image and a negative correlation value image depending on whether the pixel value is equal to or greater than a threshold value, Is separated into a positive template image and a negative template image depending on whether or not the threshold value is equal to or greater than a threshold, and a plurality of positive and negative separated correlation images are generated by combining the positive correlation value image and the negative correlation value image with the positive template image and the negative template image. Then, the collation determination is performed using the positive / negative separated correlation image.

次に、本実施の形態に係る入力画像とテンプレートとの照合について、具体的に例を挙げながら説明する。   Next, collation between the input image and the template according to the present embodiment will be described with specific examples.

図3(a)は、画像切出部130によって切り出された硬貨部分の画像が直交座標系であるxy座標軸上に配置された状態を示している。xy座標軸上では、硬貨は半径rの円形で表現されている。この円形の半径rは、サイズ検出部120によって検出されたサイズに基づいており、半径rが定まることにより、半径rの硬貨が存在しない国は鑑別対象の硬貨の分類結果とはなり得ないことがわかる。したがって、テンプレート設定部160によって、半径rの硬貨が存在する国のテンプレートのみが読み出され、加算区間指示部171に設定される。ここでは、例えばA国とB国の2国のテンプレートが加算区間指示部171に設定されたものとする。   FIG. 3A shows a state in which the image of the coin portion cut out by the image cutout unit 130 is arranged on the xy coordinate axis that is an orthogonal coordinate system. On the xy coordinate axis, the coin is represented by a circle having a radius r. This circular radius r is based on the size detected by the size detection unit 120, and by determining the radius r, a country in which no coin with the radius r exists cannot be a classification result of the coins to be identified. I understand. Therefore, the template setting unit 160 reads only the template of the country where the coin with the radius r exists, and sets it in the addition section instruction unit 171. Here, for example, it is assumed that the templates of the two countries of country A and country B are set in the addition section instruction unit 171.

また、図3(a)において、硬貨の円形内の黒色部分はエッジに囲まれた領域の一部を例示している。xy座標軸上では、硬貨の回転に伴って、黒色部分が回転方向に変位することになる。そこで、座標変換部140が硬貨部分の画像を極座標変換することにより、硬貨の円形は、図3(b)に示すようなρθ座標軸上の長方形として表現される。ρθ座標軸上では、硬貨の回転に伴って、黒色部分がθ軸方向(紙面向かって左右方向)へ直線的に変位することになる。   Further, in FIG. 3A, the black portion in the circle of the coin illustrates a part of the region surrounded by the edge. On the xy coordinate axis, the black portion is displaced in the rotation direction as the coin rotates. Therefore, the coordinate conversion unit 140 converts the image of the coin part into polar coordinates, whereby the circle of the coin is expressed as a rectangle on the ρθ coordinate axis as shown in FIG. On the ρθ coordinate axis, as the coin rotates, the black portion is linearly displaced in the θ-axis direction (left-right direction with respect to the paper surface).

ところで、テンプレート記憶部150には、各国のテンプレートとして、各国の硬貨を特徴付ける帯状の加算区間におけるヒストグラムの自己相関曲線が記憶されている。すなわち、例えばA国のテンプレートとしては、図3(b)中の3つの加算区間210それぞれにおけるヒストグラムの自己相関曲線が記憶されており、B国のテンプレートとしては、図3(b)中の2つの加算区間220それぞれにおけるヒストグラムの自己相関曲線が記憶されている。   By the way, the template storage unit 150 stores, as templates for each country, an autocorrelation curve of a histogram in a band-like addition section characterizing the coins of each country. That is, for example, as a template for country A, histogram autocorrelation curves in each of the three addition sections 210 in FIG. 3B are stored, and as a template for country B, 2 in FIG. The autocorrelation curve of the histogram in each of the two addition sections 220 is stored.

これらの加算区間は、いずれもρ軸方向に幅がある帯状の区間であるため、硬貨の回転に伴ってθ軸方向の直線的な変位が生じても、各加算区間のヒストグラムの自己相関曲線は不変である。したがって、これらの加算区間について鑑別対象の硬貨のヒストグラムの自己相関曲線を算出すれば、硬貨の回転を無視して容易にテンプレートとの比較を行うことができる。   Since each of these addition sections is a band-shaped section having a width in the ρ-axis direction, even if linear displacement in the θ-axis direction occurs as the coin rotates, the autocorrelation curve of the histogram of each addition section Is immutable. Therefore, if the autocorrelation curve of the histogram of the coins to be identified is calculated for these addition sections, the comparison with the template can be easily performed while ignoring the rotation of the coins.

そこで、加算区間指示部171は、設定されたテンプレートの各加算区間について、順に硬貨部分の画像のヒストグラムを作成するようにヒストグラム作成部172に指示する。ヒストグラム作成部172は、指示された加算区間におけるθごとのエッジ強度を加算し、各加算区間について例えば図3(c)に示すようなヒストグラムを作成する。そして、さらに自己相関算出部173は、ヒストグラムをθ軸方向にずらした場合の自己相関を算出し、例えば図3(d)に示すような自己相関曲線を求める。なお、図3(b)、(c)、(d)におけるθ軸方向のスケールは必ずしも同一ではない。   Therefore, the addition section instructing unit 171 instructs the histogram creating section 172 to create a histogram of the coin portion image in order for each added section of the set template. The histogram creation unit 172 adds the edge strength for each θ in the designated addition section, and creates a histogram as shown in FIG. 3C for each addition section, for example. Further, the autocorrelation calculation unit 173 calculates the autocorrelation when the histogram is shifted in the θ-axis direction, and obtains an autocorrelation curve as shown in FIG. 3D, for example. Note that the scales in the θ-axis direction in FIGS. 3B, 3C, and 3D are not necessarily the same.

自己相関算出部173によって求められた各加算区間に対応する自己相関曲線は、それぞれ同一の加算区間のテンプレートとして記憶されている自己相関曲線と比較され、正規化相関算出部174によって正規化相関が算出される。すなわち、図4に示すように、A国のテンプレートの加算区間1〜3に対応する自己相関曲線をそれぞれXA−1〜3とし、A国の加算区間1〜3のテンプレートをそれぞれA−1〜3とすれば、XA−1とA−1との正規化相関、XA−2とA−2との正規化相関、およびXA−3とA−3との正規化相関がそれぞれ算出される。これらの正規化相関は、照合値算出部175へ出力され、照合値算出部175によって上式(1)が用いられることにより、A国に関する照合値ZAが算出される。同様に、B国についてもXB−1とB−1との正規化相関およびXB−2とB−2との正規化相関が正規化相関算出部174によってそれぞれ算出され、これらの正規化相関から照合値算出部175によってB国に関する照合値ZBが算出される。 The autocorrelation curve corresponding to each addition interval obtained by the autocorrelation calculation unit 173 is compared with the autocorrelation curve stored as the template of the same addition interval, and the normalized correlation calculation unit 174 calculates the normalized correlation. Calculated. That is, as shown in FIG. 4, the autocorrelation curves corresponding to the addition sections 1 to 3 of the country A template are X A -1 to 3 respectively, and the templates of the country A addition sections 1 to 3 are A-1 respectively. -3, the normalized correlation between X A -1 and A-1, the normalized correlation between X A -2 and A-2, and the normalized correlation between X A -3 and A-3, respectively Calculated. These normalized correlations are output to the collation value calculation unit 175, and the collation value calculation unit 175 uses the above equation (1) to calculate the collation value Z A for country A. Similarly, for country B, the normalized correlation between X B -1 and B-1 and the normalized correlation between X B -2 and B-2 are calculated by the normalized correlation calculation unit 174, respectively. Based on the correlation, the matching value calculation unit 175 calculates the matching value Z B for country B.

図4の例では、自己相関曲線XA−1とA−1とは大きく異なっているため正規化相関は小さい一方、自己相関曲線XB−1とB−1とは類似しているため正規化相関は大きい。正規化相関が大きいということは、この加算区間における入力画像のヒストグラムがテンプレートの国の硬貨のヒストグラムと類似した特徴を示していることになる。さらに、ここでは、複数(A国は3つ、B国は2つ)の加算区間について算出された正規化相関を重み付け加算して国ごとの照合値を算出しているため、照合値が大きければ鑑別対象の硬貨がテンプレートの国の硬貨である可能性は高まる。 In the example of FIG. 4, the autocorrelation curves X A -1 and A-1 are greatly different from each other, and thus the normalized correlation is small. On the other hand, the autocorrelation curves X B -1 and B-1 are similar to each other and thus normal. The correlation is large. The fact that the normalized correlation is large means that the histogram of the input image in this addition section shows a feature similar to the histogram of the coins of the template country. Furthermore, here, since the collation value for each country is calculated by weighted addition of the normalized correlations calculated for a plurality of addition sections (three for Country A and two for Country B), the collation value is large. For example, the possibility that the coin to be identified is a coin of the country of the template increases.

このため、最大値選択部180は、照合値の最大値を選択し、最大の照合値に対応するテンプレートの国を分類結果として出力する。この結果、例えば鑑別対象の硬貨はB国の硬貨であるという分類結果が出力されれば、B国のみの数種類の硬貨に関する詳細な鑑別を行うことにより、鑑別対象の硬貨を特定することができる。   Therefore, the maximum value selection unit 180 selects the maximum value of the matching value and outputs the country of the template corresponding to the maximum matching value as the classification result. As a result, for example, if a classification result indicating that the coins to be identified are the coins of country B is output, the coins to be identified can be identified by performing detailed discrimination on several types of coins only in country B. .

以上のように、本実施の形態によれば、入力画像を極座標変換し、国ごとの特徴がある帯状の領域についてヒストグラムの自己相関曲線をテンプレートと比較し、各領域に関する個々の比較結果を国ごとにまとめて重み付け加算して照合値を求め、入力画像中の硬貨が最大の照合値に対応する国の硬貨であると分類する。このため、鑑別対象の硬貨の鑑別結果の候補を数種類に限定して、詳細な鑑別を行うための処理時間を短くすることができ、物体の模様の画像を用いて鑑別を行う際に、処理に要する時間を短縮することができる。   As described above, according to the present embodiment, the input image is subjected to polar coordinate conversion, the autocorrelation curve of the histogram is compared with the template for the band-like region having the characteristics for each country, and the individual comparison results regarding each region are The collation value is obtained by weighting and adding together for each, and the coin in the input image is classified as the coin of the country corresponding to the largest collation value. For this reason, it is possible to limit the number of candidates for the discrimination result of the coins to be discriminated to shorten the processing time for performing detailed discrimination, and when performing discrimination using the image of the object pattern, Can be shortened.

なお、上記一実施の形態においては、照合値の最大値に対応するテンプレートを分類結果としたが、テンプレートごとの照合値を所定の閾値と比較し、所定の閾値以上の照合値に対応するテンプレートを分類結果としても良い。こうすることにより、閾値を適宜設定して、分類結果として2国以上を出力することもでき、柔軟な分類を行うことができる。   In the above embodiment, the template corresponding to the maximum value of the matching value is used as the classification result. However, the template corresponding to the matching value equal to or higher than the predetermined threshold is obtained by comparing the matching value for each template with a predetermined threshold. May be used as the classification result. By doing so, it is possible to set a threshold value as appropriate, and output two or more countries as classification results, and flexible classification can be performed.

また、上記一実施の形態においては、テンプレート記憶部150が国ごとのテンプレートを記憶するものとしたが、例えば金種ごとのテンプレートを記憶するようにしても良い。この場合も、幅がある帯状の領域がテンプレートに対応しているため、複数の国の硬貨を1つのカテゴリー(金種)に分類することができる。   Moreover, in the said one Embodiment, although the template memory | storage part 150 shall memorize | store the template for every country, you may make it memorize | store the template for every money type, for example. Also in this case, since the band-like region having a width corresponds to the template, the coins of a plurality of countries can be classified into one category (denomination).

さらに、上記一実施の形態においては、硬貨部分の画像を極座標変換するものとしたが、硬貨の回転の情報を除去できるのであれば、極座標変換を行わず直交座標系上の領域をテンプレートと比較するようにしても良い。硬貨の回転の情報が除去できていれば、ヒストグラムの自己相関曲線を求める必要はなく、テンプレートとして各領域のヒストグラムを記憶しておけば良い。そして、各領域のヒストグラムとテンプレートとの正規化相関を求め、上記一実施の形態と同様に照合値を算出し、照合値の最大値選択または閾値判定によって分類結果を得ることができる。このとき、テンプレートとなる領域の形状は任意で良いが、面積がある領域とすることにより、極座標系での幅がある帯状の領域と同様に、幅がある判定が可能となる。   Further, in the above-described embodiment, the image of the coin portion is converted to polar coordinates. However, if the information on the rotation of the coins can be removed, the region on the orthogonal coordinate system is compared with the template without performing the polar coordinate conversion. You may make it do. If the information on the rotation of the coin can be removed, it is not necessary to obtain the autocorrelation curve of the histogram, and the histogram of each region may be stored as a template. Then, the normalized correlation between the histogram of each region and the template is obtained, the collation value is calculated in the same manner as in the above embodiment, and the classification result can be obtained by selecting the maximum collation value or determining the threshold value. At this time, the shape of the region serving as the template may be arbitrary, but by making the region having an area, it is possible to determine whether the region has a width as in the case of a belt-like region having a width in the polar coordinate system.

また、上記一実施の形態においては、ユーロ硬貨の鑑別を例に挙げて説明したが、例えば州ごとに模様が異なるアメリカ合衆国の硬貨を分類する場合や、紙幣・薬の錠剤を分類する場合など、様々な物体を分類する場合に本発明を適用することができる。   Further, in the above-described embodiment, the identification of euro coins has been described as an example, but for example, when coins of the United States with different patterns for each state are classified, or when banknotes and medicine tablets are classified, The present invention can be applied to classify various objects.

本発明は、物体の模様の画像を用いて鑑別を行う際に、処理に要する時間を短縮する場合に適している。   The present invention is suitable for shortening the time required for processing when performing discrimination using an image of an object pattern.

本発明の一実施の形態に係る画像分類装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image classification apparatus which concerns on one embodiment of this invention. 一実施の形態に係る入力画像の分類動作を示すフロー図である。It is a flowchart which shows the classification | category operation | movement of the input image which concerns on one embodiment. 一実施の形態に係る自己相関算出の一例を示す図である。It is a figure which shows an example of the autocorrelation calculation which concerns on one embodiment. 一実施の形態に係る照合値算出の一例を示す図である。It is a figure which shows an example of the collation value calculation which concerns on one Embodiment.

符号の説明Explanation of symbols

110 エッジ検出部
120 サイズ検出部
130 画像切出部
140 座標変換部
150 テンプレート記憶部
160 テンプレート設定部
170 テンプレート比較部
171 加算区間指示部
172 ヒストグラム作成部
173 自己相関算出部
174 正規化相関算出部
175 照合値算出部
180 最大値選択部
DESCRIPTION OF SYMBOLS 110 Edge detection part 120 Size detection part 130 Image extraction part 140 Coordinate conversion part 150 Template memory | storage part 160 Template setting part 170 Template comparison part 171 Addition area instruction | indication part 172 Histogram creation part 173 Autocorrelation calculation part 174 Normalization correlation calculation part 175 Collation value calculation unit 180 Maximum value selection unit

Claims (4)

貨幣の模様を含む入力画像とテンプレートとの比較により前記貨幣がいずれの地域のものであるか特定する画像分類装置であって、
地域貨幣の模様に特徴的な特徴領域の画像集計データを地域ごとのテンプレートとしてあらかじめ記憶する記憶手段と、
前記入力画像の特徴領域ごとの画像集計データを算出する第1の算出手段と、
前記第1の算出手段によって算出された画像集計データと前記記憶手段によって記憶されたテンプレートとを相関演算してテンプレートごとの照合値を算出する第2の算出手段と、
前記第2の算出手段によって算出された照合値が最大のテンプレートに対応する地域を分類結果として出力する出力手段と
備えたことを特徴とする画像分類装置。
An image classification device that identifies which region the money is from by comparing an input image including a pattern of money and a template,
Image summary data pattern to a characteristic feature areas of money for each region storage means for previously storing as a template for each region,
First calculation means for calculating image aggregate data for each feature region of the input image;
Second calculation means for calculating a collation value for each template by performing a correlation operation on the image total data calculated by the first calculation means and the template stored by the storage means;
Image classification apparatus characterized by matching value calculated by the second calculation means and an output means for outputting the resulting classify areas corresponding to the maximum of the template.
貨幣の模様を含む入力画像とテンプレートとの比較により前記貨幣がいずれの金種でいずれの地域のものであるか特定する画像分類装置であって、  An image classification device for identifying which denomination and which region the money is in by comparing a template with an input image including a pattern of money,
複数の地域にまたがる同一金種の貨幣の模様に特徴的な特徴領域の画像集計データを金種ごとのテンプレートとしてあらかじめ記憶する記憶手段と、  Storage means for preliminarily storing, as a template for each denomination, image aggregate data of a characteristic region characteristic of the money pattern of the same denomination across multiple regions;
前記入力画像の特徴領域ごとの画像集計データを算出する第1の算出手段と、  First calculation means for calculating image aggregate data for each feature region of the input image;
前記第1の算出手段によって算出された画像集計データと前記記憶手段によって記憶されたテンプレートとを相関演算してテンプレートごとの照合値を算出する第2の算出手段と、  Second calculation means for calculating a collation value for each template by performing a correlation operation on the image total data calculated by the first calculation means and the template stored by the storage means;
前記第2の算出手段によって算出された照合値が最大のテンプレートに対応する金種を分類結果として出力する出力手段と  Output means for outputting the denomination corresponding to the template having the maximum matching value calculated by the second calculating means as a classification result;
を備え、  With
前記出力手段によって出力された金種に限定して地域の特定を行うことを特徴とする画像分類装置。  An image classification apparatus for identifying an area limited to denominations output by the output means.
貨幣の模様を含む入力画像とテンプレートとの比較により前記貨幣がいずれの地域のものであるか特定する画像分類方法であって、  An image classification method for identifying which region the money is from by comparing an input image including a pattern of money and a template,
各地域の貨幣の模様に特徴的な特徴領域の画像集計データを地域ごとのテンプレートとしてあらかじめ記憶する記憶工程と、  A storage step of preliminarily storing, as a template for each area, image aggregate data of characteristic areas characteristic to the pattern of money in each area;
前記入力画像の特徴領域ごとの画像集計データを算出する第1の算出工程と、  A first calculation step of calculating image aggregate data for each feature region of the input image;
前記第1の算出工程によって算出された画像集計データと前記記憶工程によって記憶されたテンプレートとを相関演算してテンプレートごとの照合値を算出する第2の算出工程と、  A second calculation step of calculating a collation value for each template by performing a correlation operation between the image total data calculated in the first calculation step and the template stored in the storage step;
前記第2の算出工程によって算出された照合値が最大のテンプレートに対応する地域を分類結果として出力する出力工程と  An output step of outputting, as a classification result, an area corresponding to a template having a maximum matching value calculated by the second calculation step;
を含んだことを特徴とする画像分類方法。  An image classification method characterized by including
貨幣の模様を含む入力画像とテンプレートとの比較により前記貨幣がいずれの金種でいずれの地域のものであるか特定する画像分類方法であって、  An image classification method for identifying which denomination and which region the money is from by comparing an input image including a pattern of money and a template,
複数の地域にまたがる同一金種の貨幣の模様に特徴的な特徴領域の画像集計データを金種ごとのテンプレートとしてあらかじめ記憶する記憶工程と、  A storage step of storing in advance image aggregated data of characteristic regions characteristic of money patterns of the same denomination across a plurality of regions as templates for each denomination;
前記入力画像の特徴領域ごとの画像集計データを算出する第1の算出工程と、  A first calculation step of calculating image aggregate data for each feature region of the input image;
前記第1の算出工程によって算出された画像集計データと前記記憶工程によって記憶されたテンプレートとを相関演算してテンプレートごとの照合値を算出する第2の算出工程と、  A second calculation step of calculating a collation value for each template by performing a correlation operation between the image total data calculated in the first calculation step and the template stored in the storage step;
前記第2の算出工程によって算出された照合値が最大のテンプレートに対応する金種を分類結果として出力する出力工程と  An output step of outputting, as a classification result, a denomination corresponding to a template having a maximum matching value calculated by the second calculation step;
を含み、  Including
前記出力工程によって出力された金種に限定して地域の特定を行うことを特徴とする画像分類方法。  An image classification method characterized by specifying an area limited to the denominations output in the output step.
JP2005314971A 2005-10-28 2005-10-28 Image classification apparatus and image classification method Expired - Fee Related JP4580324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005314971A JP4580324B2 (en) 2005-10-28 2005-10-28 Image classification apparatus and image classification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005314971A JP4580324B2 (en) 2005-10-28 2005-10-28 Image classification apparatus and image classification method

Publications (2)

Publication Number Publication Date
JP2007122494A JP2007122494A (en) 2007-05-17
JP4580324B2 true JP4580324B2 (en) 2010-11-10

Family

ID=38146263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005314971A Expired - Fee Related JP4580324B2 (en) 2005-10-28 2005-10-28 Image classification apparatus and image classification method

Country Status (1)

Country Link
JP (1) JP4580324B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018066431A1 (en) 2016-10-07 2018-04-12 グローリー株式会社 Currency classification device and currency classification method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5355292B2 (en) * 2009-08-10 2013-11-27 キヤノン株式会社 Image processing apparatus and image processing method
JP5491826B2 (en) * 2009-10-30 2014-05-14 株式会社東芝 Tablet packaging inspection device, tablet packaging inspection method
JP6361305B2 (en) * 2014-06-13 2018-07-25 オムロン株式会社 Model image generating apparatus and model image generating method
JP6679140B2 (en) * 2015-11-19 2020-04-15 株式会社ユニバーサルエンターテインメント Amusement machine
JP6679139B2 (en) * 2015-11-19 2020-04-15 株式会社ユニバーサルエンターテインメント Amusement machine
JP6837630B2 (en) * 2016-12-19 2021-03-03 小林クリエイト株式会社 2D code reader, 2D code reader and printed matter
JP7138158B2 (en) * 2020-12-25 2022-09-15 エヌ・ティ・ティ・コムウェア株式会社 OBJECT CLASSIFIER, OBJECT CLASSIFICATION METHOD, AND PROGRAM

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3130974B2 (en) * 1991-08-07 2001-01-31 グローリー工業株式会社 Coin identification device
JP3572205B2 (en) * 1998-09-04 2004-09-29 株式会社三協精機製作所 How to identify circular patterns
JP2000322579A (en) * 1999-05-13 2000-11-24 Sankyo Seiki Mfg Co Ltd Image recognizing device
JP2003196699A (en) * 2001-12-26 2003-07-11 Nippon Conlux Co Ltd Coin discriminating method, and coin discriminating device
JP2003233851A (en) * 2002-02-13 2003-08-22 Glory Ltd Method for judging authenticity/soundness of coin from picture and its device
JP2005031891A (en) * 2003-07-10 2005-02-03 Sankyo Seiki Mfg Co Ltd Method of creating template, template created by this method, and identification method of circular object by use of this template

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018066431A1 (en) 2016-10-07 2018-04-12 グローリー株式会社 Currency classification device and currency classification method
US11017273B2 (en) 2016-10-07 2021-05-25 Glory Ltd. Currency classification device and currency classification method

Also Published As

Publication number Publication date
JP2007122494A (en) 2007-05-17

Similar Documents

Publication Publication Date Title
Källén et al. Towards grading gleason score using generically trained deep convolutional neural networks
JP5108018B2 (en) Paper sheet identification device and paper sheet identification method
KR101446376B1 (en) Identification and verification of an unknown document according to an eigen image process
US7801337B2 (en) Face detection method, device and program
TWI484421B (en) Document verification using dynamic document identification framework
US9053393B2 (en) Learning method and apparatus for pattern recognition
US20070058856A1 (en) Character recoginition in video data
CN105608441B (en) Vehicle type recognition method and system
US20140010410A1 (en) Image recognition system, image recognition method, and non-transitory computer readable medium storing image recognition program
JP2006268825A (en) Object detection device, learning device, object detection system, method, and program
JP2014232533A (en) System and method for ocr output verification
JP6858525B2 (en) Money classification device and money classification method
JP2010526361A (en) Fast fingerprint identification method by indexing feature point pairs
JP2013250809A (en) Multi-class discrimination device, method and program
JP5372183B2 (en) Coin classification device and coin classification method
US9489593B2 (en) Information processing apparatus and training method
KR102123910B1 (en) Serial number rcognition Apparatus and method for paper money using machine learning
JP4580324B2 (en) Image classification apparatus and image classification method
JP4932177B2 (en) Coin classification device and coin classification method
JP4588575B2 (en) Method, apparatus and program for detecting multiple objects in digital image
JP5389723B2 (en) Object detection device and learning device thereof
JP2000322579A (en) Image recognizing device
Kitagawa et al. Banknote portrait detection using convolutional neural network
KR101133225B1 (en) System and method for recognizing face using pose estimation
Hapsari et al. Identification of Indonesian Rupiah Paper Currency Denominations Using First Order Statistical Feature Extraction and k-Nearest Neighbor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100708

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

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

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

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4580324

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees