JP3244041B2 - Image recognition method, image recognition device, and recording medium - Google Patents

Image recognition method, image recognition device, and recording medium

Info

Publication number
JP3244041B2
JP3244041B2 JP32320397A JP32320397A JP3244041B2 JP 3244041 B2 JP3244041 B2 JP 3244041B2 JP 32320397 A JP32320397 A JP 32320397A JP 32320397 A JP32320397 A JP 32320397A JP 3244041 B2 JP3244041 B2 JP 3244041B2
Authority
JP
Japan
Prior art keywords
image
pixel
block
binary
binary 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.)
Expired - Fee Related
Application number
JP32320397A
Other languages
Japanese (ja)
Other versions
JPH11161787A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP32320397A priority Critical patent/JP3244041B2/en
Publication of JPH11161787A publication Critical patent/JPH11161787A/en
Application granted granted Critical
Publication of JP3244041B2 publication Critical patent/JP3244041B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力された画像か
ら図形、文字、記号などの特定画像を認識する画像認識
方法および画像認識装置ならびに記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recognition method, an image recognition apparatus, and a recording medium for recognizing a specific image such as a figure, character, or symbol from an input image.

【0002】[0002]

【従来の技術】従来、入力された画像から特定の画像を
認識する方法としてはテンプレートマッチング法があ
る。一般的なテンプレートマッチング法の手順は次の通
りである。認識したい画像を基準画像として用意してお
き、入力画像と基準画像を重ね合わせ水平もしくは垂直
方向に1画素ずつずらしながら比較していき、全てもし
くはある一定の個数以上の画素が一致した場合、認識対
象の画像と判定するものである。しかしながらこの方法
では、認識対象の画像の向きが変わって(回転されて)
入力されると認識できないという欠点があった。上記の
問題点を解決する方法として、特開平5−12446号
公報に記載されているように、メモリに記憶した基準パ
ターンを回転させたときの座標を生成していろいろな角
度でテンプレートマッチングを行う方法が提案されてい
る。また、特開平8−63604号公報に記載されてい
るように、画像の重心を検出して重心を中心とする極座
標データに変換して回転画像に対応するものや、特開平
6−309461号公報に記載されているように、円形
ウィンドウ上の濃淡画素データ列にフーリエ変換を施し
てスペクトルを求め、基準画像のスペクトルパタンと比
較して回転画像に対応するものなどが提案されている。
2. Description of the Related Art Conventionally, there is a template matching method as a method for recognizing a specific image from an input image. The procedure of a general template matching method is as follows. An image to be recognized is prepared as a reference image, and the input image and the reference image are superimposed and compared while shifting one pixel at a time in the horizontal or vertical direction. If all or a certain number or more of the pixels match, the recognition is performed. It is determined as the target image. However, in this method, the orientation of the image to be recognized is changed (rotated).
There was a disadvantage that it could not be recognized once it was entered. As a method for solving the above problem, as described in Japanese Patent Application Laid-Open No. Hei 5-12446, template matching is performed at various angles by generating coordinates when a reference pattern stored in a memory is rotated. A method has been proposed. Further, as described in JP-A-8-63604, a method of detecting the center of gravity of an image, converting the image into polar coordinate data centered on the center of gravity, and corresponding to a rotated image, and Japanese Patent Application Laid-Open No. 6-309461. As described in Japanese Patent Application Laid-Open No. H11-163, there has been proposed a method in which a Fourier transform is performed on a gray-scale pixel data string on a circular window to obtain a spectrum, which is compared with a spectrum pattern of a reference image and corresponds to a rotated image.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来に
おいては、上述のように複雑な演算を行わなければなら
ず、高速に処理できないという問題があった。また、回
路で実現すれば高速化が望めるものの、大規模で複雑な
回路になってしまうという問題があった。一方、従来の
一般的なテンプレートマッチング法においては、前述の
問題に加えて、特定画像を認識するためには特定画像の
画素数以上の画素数を有するウィンドウ領域を用意しな
ければならず、特定画像の画素数が多い場合に回路が大
規模になってしまうという問題もあった。ところで、近
年、著作物や重要文書あるいは有価証券等に2次元コー
ドなどの特定のパターンを予め埋め込み、このパターン
を認識して利用することで文書の高度な管理や不正利用
(例えば著作物の無断複写)の防止などを実現するシス
テムが提案されており、一般的なパターンマッチング法
よりも高速に特定画像を認識できる技術が待望されてい
る。本発明は、上述した事情に鑑みて為されたものであ
り、簡単な構成および処理で高速に特定画像の認識を行
うことが可能な画像認識方法および画像認識装置ならび
に記録媒体を提供することを目的とする。
However, in the prior art, there has been a problem that complicated calculations have to be performed as described above, and high-speed processing cannot be performed. In addition, although high speed can be expected if realized by a circuit, there is a problem that the circuit becomes large and complicated. On the other hand, in the conventional general template matching method, in addition to the above-described problem, in order to recognize a specific image, a window region having the number of pixels equal to or larger than the number of pixels of the specific image must be prepared. There is also a problem that the circuit becomes large-scale when the number of pixels of the image is large. By the way, in recent years, a specific pattern such as a two-dimensional code is preliminarily embedded in a work, important document, securities, or the like, and this pattern is recognized and used, so that advanced management and unauthorized use of the document (for example, unauthorized use of the work is prohibited). There has been proposed a system for realizing prevention of (copying) and the like, and a technology capable of recognizing a specific image faster than a general pattern matching method is expected. The present invention has been made in view of the above-described circumstances, and provides an image recognition method, an image recognition device, and a recording medium capable of quickly recognizing a specific image with a simple configuration and processing. Aim.

【0004】[0004]

【課題を解決するための手段】上述した課題を解決する
ために、本発明に係る画像認識方法は、同一形状および
同一サイズの複数の部分画像からなる特定画像を入力画
像から認識する画像認識方法であって、前記入力画像か
ら前記部分画像を認識し、該部分画像が存在する位置の
画素を有効画素、該部分画像が存在しない位置の画素を
無効画素とした2値画像を生成する入力画像部分判定ス
テップと、前記入力画像部分判定ステップで生成された
前記2値画像を、複数の画素を含むサイズのブロックに
より分割し、前記有効画素を含むブロックを有効ブロッ
ク、前記有効画素を含まないブロックを無効ブロックと
して表現した2値画像に単純化する入力画像サンプリン
グステップと、前記入力画像サンプリングステップで単
純化された前記2値画像と前記特定画像を予め前記ブロ
ック単位で単純化して表した基準パターンとをマッチン
グし、該マッチングの結果を出力する全体判定ステップ
とを有することを特徴としている。すなわち、画像を単
純化してマッチングすることになるので、認識処理全体
の処理量を削減することができる。しかも、前記各部分
画像について画素単位での認識処理を行った上でブロッ
ク単位のマッチングを行っているので、認識精度の低下
を抑制することができる。
In order to solve the above-mentioned problems, an image recognition method according to the present invention is a method for recognizing a specific image composed of a plurality of partial images having the same shape and the same size from an input image. An input image for recognizing the partial image from the input image and generating a binary image in which a pixel at a position where the partial image exists is an effective pixel, and a pixel at a position where the partial image does not exist is an invalid pixel A partial determination step, the binary image generated in the input image partial determination step is divided by a block having a size including a plurality of pixels, a block including the effective pixel is an effective block, and a block not including the effective pixel. An input image sampling step of simplifying the input image into a binary image expressed as an invalid block; and the input image sampling step of simplifying the input image sampling step. Matching the reference pattern representing a simplified advance in units of blocks the specific image as the image is characterized by having a total determination step of outputting a result of the matching. That is, since matching is performed by simplifying the image, the processing amount of the entire recognition process can be reduced. In addition, since the matching process is performed in block units after performing the recognition process in pixel units for each of the partial images, it is possible to suppress a decrease in recognition accuracy.

【0005】さらに加えて、前記入力画像サンプリング
ステップでは、前記入力画像部分判定ステップで生成さ
れた前記2値画像を、複数の画素を含むサイズのブロッ
クにより分割し、前記有効画素を含むブロックを有効ブ
ロック、前記有効画素を含まないブロックを無効ブロッ
クとして表現し、さらに1つの前記有効ブロックを1つ
の有効画素、1つの前記無効ブロックを1つの無効画素
で表して2値画像を生成し、前記全体判定ステップで
は、前記入力画像サンプリングステップで生成された前
記2値画像と前記特定画像を予め前記ブロック単位で表
現した上で各ブロックをそれぞれ1つの画素で表した基
準パターンとをマッチングし、該マッチングの結果を出
力するようにしてもよい。これにより、認識処理全体の
処理量を大幅に削減することができる。
[0005] In addition, in the input image sampling step, the binary image generated in the input image portion determination step is divided into blocks each having a size including a plurality of pixels, and the block including the effective pixels is set to be valid. A block, a block that does not include the effective pixel is represented as an invalid block, and one valid block is represented by one valid pixel, and one invalid block is represented by one invalid pixel to generate a binary image. In the determining step, the binary image generated in the input image sampling step and the specific image are represented in advance in the block unit, and then each block is matched with a reference pattern in which each block is represented by one pixel. May be output. Thereby, the processing amount of the entire recognition processing can be significantly reduced.

【0006】なお、前記特定画像から前記部分画像を認
識し、該部分画像が存在する位置の画素を有効画素、該
部分画像が存在しない位置の画素を無効画素とした2値
画像を生成する特定画像部分判定ステップと、前記特定
画像部分判定ステップで生成された前記2値画像を、前
記ブロックにより分割し、前記有効画素を含むブロック
を有効ブロック、前記有効画素を含まないブロックを無
効ブロックとして表現した2値画像である基準パターン
を生成する特定画像サンプリングステップとを設け、こ
れらの処理によって前記特定パターンを求めるようにし
てもよい。
It is to be noted that the partial image is recognized from the specific image, and a binary image is generated in which a pixel at a position where the partial image exists is an effective pixel and a pixel at a position where the partial image does not exist is an invalid pixel. The binary image generated in the image part determination step and the specific image part determination step is divided by the block, and a block including the effective pixel is expressed as an effective block, and a block not including the effective pixel is expressed as an invalid block. And a specific image sampling step of generating a reference pattern which is a binary image as described above, and the specific pattern may be obtained by these processes.

【0007】また、前記入力画像部分判定ステップ(お
よび前記特定画像部分判定ステップ)で生成された前記
2値画像上で複数の有効画素が隣接する場合には1つの
有効画素を除いた他の有効画素を無効画素として該2値
画像を変更する入力画像フィルタリングステップを設
け、該入力画像フィルタリングステップで変更された前
記2値画像に対して、前記入力画像サンプリングステッ
プにおいて前述の処理を行うようにしてもよい。これに
より、1つの部分画像に対する有効画素の数は‘1’と
なるので、1つの部分画像に対応した有効ブロックが複
数となる事態を避けることができる。したがって、認識
精度をより一層、向上させることができる。
In the case where a plurality of effective pixels are adjacent to each other on the binary image generated in the input image part determining step (and the specific image part determining step), another effective pixel except one effective pixel is removed. An input image filtering step of changing the binary image as a pixel as an invalid pixel is provided, and the above-described processing is performed in the input image sampling step on the binary image changed in the input image filtering step. Is also good. As a result, the number of effective pixels for one partial image is “1”, so that it is possible to avoid a situation where there are a plurality of effective blocks corresponding to one partial image. Therefore, the recognition accuracy can be further improved.

【0008】あるいは、前記入力画像サンプリングステ
ップ(および前記特定画像部分判定ステップ)で単純化
された前記2値画像上で複数の有効画素が隣接する場合
には1つの有効画素を除いた他の有効画素を無効画素と
して該2値画像を変更する入力画像フィルタリングステ
ップを設け、該入力画像フィルタリングステップで変更
された前記2値画像に対して、前記全体判定ステップに
おいて前述の処理を行うようにしてもよい。この場合に
も、1つの部分画像に対する有効ブロックが複数となる
事態を避けることができる。したがって、認識精度の向
上を期待できる。さらに、前記入力画像フィルタリング
ステップでの処理はブロック単位で行われるので、当該
処理における処理量を削減できるという利点がある。
Alternatively, when a plurality of effective pixels are adjacent to each other on the binary image simplified in the input image sampling step (and the specific image portion determining step), other effective pixels except one effective pixel are removed. An input image filtering step of changing the binary image with pixels as invalid pixels may be provided, and the above-described processing may be performed on the binary image changed in the input image filtering step in the overall determination step. Good. Also in this case, it is possible to avoid a situation where there are a plurality of effective blocks for one partial image. Therefore, improvement in recognition accuracy can be expected. Further, since the processing in the input image filtering step is performed in block units, there is an advantage that the processing amount in the processing can be reduced.

【0009】また、前記入力画像を予め設定された条件
に基づいて2値化し2値画像を生成する入力画像2値化
ステップ(および前記部分画像の色を基準として前記特
定画像を2値化して2値画像を生成する特定画像2値化
ステップ)を設け、該2値化ステップで生成された2値
画像に対して、前記入力画像部分判定ステップ(および
前記特定画像部分判定ステップ)の処理を行うようにす
れば、画素の濃度値が多値となるような画像についても
本画像処理方法を適用可能となる。
An input image binarizing step of binarizing the input image based on preset conditions to generate a binary image (and binarizing the specific image based on the color of the partial image) A specific image binarizing step of generating a binary image), and performing the processing of the input image part determining step (and the specific image part determining step) on the binary image generated in the binarizing step. If it is performed, the present image processing method can be applied to an image in which the density value of a pixel is multi-valued.

【0010】さらに、上述した各種方法において、前記
部分画像の形状を、その回転画像が自らに完全に重なる
形状とすれば、処理対象の画像が回転されて入力されて
も、その差異を吸収することができる。したがって、前
記部分画像の認識処理においては、各回転角度毎に認識
処理を行う必要がない。すなわち、前記部分画像の認識
処理は任意の1つの回転角度に対して行えば十分とな
る。
Further, in the above-described various methods, if the shape of the partial image is a shape in which the rotated image completely overlaps itself, even if the image to be processed is rotated and input, the difference is absorbed. be able to. Therefore, in the recognition processing of the partial image, it is not necessary to perform the recognition processing for each rotation angle. That is, it is sufficient to perform the partial image recognition process for any one rotation angle.

【0011】また、前述の課題を解決するために、本発
明に係る画像認識装置は、同一形状および同一サイズの
複数の部分画像からなる特定画像を入力画像から認識す
る画像認識装置であって、前記特定画像に応じて予め設
定された基準パターンを記憶した記憶手段と、入力した
画像データで表される画像から前記部分画像を認識し、
該部分画像が存在する位置の画素を有効画素、該部分画
像が存在しない位置の画素を無効画素とした2値画像を
表す2値画像データを生成する部分判定手段と、前記部
分判定手段により生成された前記2値画像データで表さ
れる前記2値画像を、複数の画素を含むサイズのブロッ
クにより分割し、前記有効画素を含むブロックを有効ブ
ロック、前記有効画素を含まないブロックを無効ブロッ
クとして表現した2値画像に単純化し、該2値画像を表
す2値画像データを生成するサンプリング手段と、前記
特定画像を予め前記ブロック単位で単純化して表現した
基準パターンを表す基準パターンデータを記憶した記憶
手段と、前記サンプリング手段により生成された前記2
値画像データで表される2値画像と前記記憶手段に記憶
された前記基準パターンデータで表される前記基準パタ
ーンとをマッチングし、該マッチングの結果を出力する
全体判定手段とを具備し、前記部分判定手段が入力する
前記画像データは前記入力画像を表す画像データである
ことを特徴としている。すなわち、画素を単純化してマ
ッチングすることになるので、全体の処理量および回路
規模を削減することができる。しかも、前記各部分画像
について画素単位での認識処理を行った上でブロック単
位のマッチングを行っているので、認識精度の低下を抑
制することができる。
According to another aspect of the present invention, there is provided an image recognition apparatus for recognizing a specific image composed of a plurality of partial images having the same shape and the same size from an input image. A storage unit that stores a reference pattern set in advance according to the specific image, and recognizes the partial image from an image represented by input image data,
A partial determination unit that generates binary image data representing a binary image in which a pixel at a position where the partial image exists is an effective pixel, and a pixel at a position where the partial image does not exist is an invalid pixel; The binary image represented by the obtained binary image data is divided by a block having a size including a plurality of pixels, a block including the effective pixel is regarded as an effective block, and a block not including the effective pixel is regarded as an invalid block. Sampling means for simplifying the image into a represented binary image and generating binary image data representing the binary image, and reference pattern data representing a reference pattern representing the specific image simplified and represented in block units are stored. Storage means; and the second means generated by the sampling means.
An overall determination unit that matches a binary image represented by value image data with the reference pattern represented by the reference pattern data stored in the storage unit, and outputs a result of the matching. The image data input by the partial determination means is image data representing the input image. That is, since matching is performed by simplifying the pixels, it is possible to reduce the entire processing amount and the circuit scale. In addition, since the matching process is performed in block units after performing the recognition process in pixel units for each of the partial images, it is possible to suppress a decrease in recognition accuracy.

【0012】さらに加えて、前記サンプリング手段は、
前記部分判定手段により生成された前記2値画像データ
で表される2値画像を、複数の画素を含むサイズのブロ
ックにより分割し、前記有効画素を含むブロックを有効
ブロック、前記有効画素を含まないブロックを無効ブロ
ックとして表現し、さらに1つの前記有効ブロックを1
つの有効画素、1つの前記無効ブロックを1つの無効画
素で表した2値画像に単純化し、該2値画像を表す2値
画像データを生成し、前記記憶手段は、前記特定画像を
予め前記ブロック単位で単純化して表現した上で各ブロ
ックをそれぞれ1つの画素で表した基準パターンを表す
基準パターンデータを記憶しているようにしてもよい。
これにより、全体の処理量および回路規模を大幅に削減
することができる。
[0012] In addition, the sampling means may include:
A binary image represented by the binary image data generated by the partial determination unit is divided by a block having a size including a plurality of pixels, and a block including the effective pixel is an effective block and does not include the effective pixel. A block is represented as an invalid block, and one valid block is defined as 1
One effective pixel, the one invalid block is simplified to a binary image represented by one invalid pixel, and binary image data representing the binary image is generated. It is also possible to store reference pattern data representing a reference pattern in which each block is represented by one pixel after being simplified and expressed in units.
As a result, the overall processing amount and circuit scale can be significantly reduced.

【0013】また、前記部分判定手段により生成された
前記2値画像データで表される前記2値画像上で複数の
有効画素が隣接する場合には1つの有効画素を除いた他
の有効画素を無効画素として該2値画像データを変更す
るフィルタリング手段を設け、該フィルタリング手段に
より変更された前記2値画像データに対して前記サンプ
リング手段による処理を行うようにしてもよい。これに
より、1つの部分画像に対する有効画素の数は‘1’と
なるので、1つの部分画像に対応した有効ブロックが複
数となる事態を避けることができる。したがって、認識
精度をより一層、向上させることができる。
When a plurality of effective pixels are adjacent to each other on the binary image represented by the binary image data generated by the partial determining means, another effective pixel excluding one effective pixel is removed. Filtering means for changing the binary image data as invalid pixels may be provided, and the sampling means may process the binary image data changed by the filtering means. As a result, the number of effective pixels for one partial image is “1”, so that it is possible to avoid a situation where there are a plurality of effective blocks corresponding to one partial image. Therefore, the recognition accuracy can be further improved.

【0014】あるいは、前記サンプリング手段で生成さ
れた前記2値画像データで表される前記2値画像上で複
数の有効画素が隣接する場合には1つの有効画素を除い
た他の有効画素を無効画素として該2値画像データを変
更するフィルタリング手段を設け、該フィルタリング手
段により変更された前記2値画像データに対して、前記
全体判定手段による処理を行うようにしてもよい。この
場合にも、1つの部分画像に対する有効ブロックが複数
となる事態を避けることができる。したがって、認識精
度の向上を期待できる。さらに、前記フィルタリング手
段での処理はブロック単位で行われるので、全体の処理
量および回路規模を削減できるという利点がある。
Alternatively, when a plurality of valid pixels are adjacent to each other on the binary image represented by the binary image data generated by the sampling means, other valid pixels except one valid pixel are invalidated. Filtering means for changing the binary image data as pixels may be provided, and the binary judgment data changed by the filtering means may be processed by the overall judgment means. Also in this case, it is possible to avoid a situation where there are a plurality of effective blocks for one partial image. Therefore, improvement in recognition accuracy can be expected. Further, since the processing by the filtering means is performed in block units, there is an advantage that the overall processing amount and circuit scale can be reduced.

【0015】なお、前記部分判定手段が入力する前記画
像データを前記入力画像および前記特定画像とし、前記
記憶手段が、前記部分判定手段が入力する前記画像デー
タが前記特定画像を表す画像データの場合には、前記サ
ンプリング手段または前記フィルタリング手段により単
純化または生成された前記2値画像データを前記基準パ
ターンデータとして記憶するようにしてもよい。すなわ
ち、本画像認識装置に、前記特定画像から前記基準パタ
ーンデータを生成する機能を持たせてもよい。
It is to be noted that the image data input by the partial judging means is the input image and the specific image, and the storage means stores the image data inputted by the partial judging means as image data representing the specific image. Alternatively, the binary image data simplified or generated by the sampling unit or the filtering unit may be stored as the reference pattern data. That is, the image recognition device may have a function of generating the reference pattern data from the specific image.

【0016】また、入力した画像データを予め設定され
た条件に基づいて2値化し2値画像データを生成する2
値化手段を設け、該2値化手段により生成された前記2
値画像データに対して、前記部分判定手段による処理を
行うようにしてもよい。こうすることにより、画素の濃
度値が多値の画像についても本画像認識装置を適用でき
る。
The input image data is binarized based on preset conditions to generate binary image data.
A binarizing unit, wherein the binarizing unit generates the binarizing unit;
The processing by the partial determination unit may be performed on the value image data. By doing so, the present image recognition apparatus can be applied to an image having a multi-valued pixel density value.

【0017】あるいは、入力した画像データに対して、
予め設定された複数の条件に基づいて該条件毎に独立し
て2値化を行い、複数の2値画像データを生成する2値
化手段と、前記2値化手段により生成された前記複数の
2値画像データに基づいて1つの2値画像データを生成
する選択手段とを設け、該選択手段により生成された2
値画像データに対して前記部分判定手段の処理を行うよ
うにしてもよい。この場合には、画素の濃度値が多値で
あり、かつ各部分画像の色が異なるような画像について
も本画像認識装置を適用できる。
Alternatively, for the input image data,
A binarizing unit that performs binarization independently for each of the conditions based on a plurality of preset conditions to generate a plurality of binary image data; and the plurality of binarized images generated by the binarizing unit. Selecting means for generating one piece of binary image data based on the binary image data;
The processing of the partial determination means may be performed on the value image data. In this case, the image recognition device can be applied to an image in which the density values of pixels are multi-valued and the colors of the partial images are different.

【0018】さらに、上述した各種装置において、前記
部分画像の形状を、その回転画像が自らに完全に重なる
形状とすれば、処理対象の画像が回転されて入力されて
も、その差異を吸収することができる。したがって、前
記部分画像の認識処理においては、各回転角度毎に認識
処理を行う必要がない。すなわち、前記部分画像の認識
処理は任意の1つの回転角度に対して行えば十分とな
り、回路規模を削減することができる。
Further, in the various apparatuses described above, if the shape of the partial image is a shape in which the rotated image completely overlaps itself, even if the image to be processed is rotated and input, the difference is absorbed. be able to. Therefore, in the recognition processing of the partial image, it is not necessary to perform the recognition processing for each rotation angle. That is, it is sufficient to perform the partial image recognition process for any one rotation angle, and the circuit scale can be reduced.

【0019】また、前述の課題を解決するために、本発
明に係る記録媒体は、同一形状および同一サイズの複数
の部分画像からなる特定画像を入力画像から認識する画
像認識方法を実現するプログラムであって、前記入力画
像から前記部分画像を認識し、該部分画像が存在する位
置の画素を有効画素、該部分画像が存在しない位置の画
素を無効画素とした2値画像を生成する入力画像部分判
定ステップと、前記入力画像部分判定ステップで生成さ
れた前記2値画像を、複数の画素を含むサイズのブロッ
クにより分割し、前記有効画素を含むブロックを有効ブ
ロック、前記有効画素を含まないブロックを無効ブロッ
クとして表現した2値画像に単純化する入力画像サンプ
リングステップと、前記入力画像サンプリングステップ
で単純化された前記2値画像と前記特定画像を予め前記
ブロック単位で単純化して表した基準パターンとをマッ
チングし、該マッチングの結果を出力する全体判定ステ
ップとを実現するプログラムを記録したことを特徴とし
ている。この記録媒体に記録されたプログラムをコンピ
ュータシステム等によって実行することにより、画像を
単純化してマッチングすることになるので、認識処理全
体の処理量を削減することができる。しかも、前記各部
分画像について画素単位での認識処理を行った上でブロ
ック単位のマッチングを行っているので、認識精度の低
下を抑制することができる。
In order to solve the above-mentioned problem, a recording medium according to the present invention is a program for realizing an image recognition method for recognizing a specific image composed of a plurality of partial images having the same shape and the same size from an input image. An input image portion for recognizing the partial image from the input image and generating a binary image in which a pixel at a position where the partial image exists is an effective pixel and a pixel at a position where the partial image does not exist is an invalid pixel The determination step, the binary image generated in the input image portion determination step is divided by a block having a size including a plurality of pixels, a block including the effective pixel is a valid block, a block that does not include the effective pixel An input image sampling step for simplifying to a binary image expressed as an invalid block; The specific image and the binary image simplifying beforehand in the units of blocks matching a reference pattern expressed in, and characterized by recording a program for realizing the entire determination step of outputting a result of the matching. By executing the program recorded on the recording medium by a computer system or the like, the image is simplified and matching is performed, so that the processing amount of the entire recognition process can be reduced. In addition, since the matching process is performed in block units after performing the recognition process in pixel units for each of the partial images, it is possible to suppress a decrease in recognition accuracy.

【0020】[0020]

【発明の実施の形態】以下、本発明の一実施形態による
画像認識装置(以後、本装置)について図面を参照して
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image recognition device (hereinafter, this device) according to an embodiment of the present invention will be described with reference to the drawings.

【0021】(1)画像認識方法 まず、本装置により実現される画像認識方法(以後、本
方法)の概要について説明する。図1および図2は本方
法における処理の流れを示すフローチャートであり、本
実施形態では、これらの図に示す認識処理および登録処
理を行うことによって、入力画像に対する特定画像の認
識処理が完了する。ここでは、具体的な処理の流れにつ
いて説明する前に、本装置における認識処理の原理につ
いて説明する。
(1) Image Recognition Method First, an outline of an image recognition method (hereinafter, this method) realized by the present apparatus will be described. FIGS. 1 and 2 are flowcharts showing the flow of processing in the present method. In the present embodiment, the recognition processing and registration processing shown in these figures complete the recognition processing of a specific image with respect to an input image. Here, before describing a specific processing flow, the principle of the recognition processing in the present apparatus will be described.

【0022】(1−1)基本的な原理 本装置は、特定画像が複数の部分画像から構成され、各
部分画像が同一形状であることを前提としている。すな
わち、1つのパターンとのマッチング処理により全ての
部分画像を認識可能であり、認識した部分画像の位置に
基づいて、特定画像に対応したサイズの領域における部
分画像の位置関係を調べることによって認識できるよう
な特定画像を認識対象としている。
(1-1) Basic Principle The present apparatus is based on the premise that a specific image is composed of a plurality of partial images, and each partial image has the same shape. That is, all partial images can be recognized by matching processing with one pattern, and can be recognized by examining the positional relationship of the partial images in an area of a size corresponding to the specific image based on the positions of the recognized partial images. Such a specific image is targeted for recognition.

【0023】本装置では、まず、認識対象の特定画像に
対して部分画像の認識処理を行って特定画像における部
分画像の位置を特定し、所定のアルゴリズムで当該位置
を大まかに表す位置データ(以後、基準画像位置デー
タ)を求めておく。そして、入力画像に対しては、上記
部分画像の認識処理を行って入力画像における部分画像
の位置を特定し、上記所定のアルゴリズムで当該位置を
大まかに表す位置データ(以後、入力画像位置データ)
を求め、入力画像位置データで表される画像上に基準画
像位置データで表される画像が存在するか否かを判定す
ることで特定画像の有無を判定している。
In the present apparatus, first, a specific image to be recognized is subjected to partial image recognition processing to specify the position of the partial image in the specific image, and position data (hereinafter referred to as “position data”) roughly representing the position by a predetermined algorithm. , Reference image position data). The input image is subjected to the partial image recognition processing to specify the position of the partial image in the input image, and position data (hereinafter, input image position data) roughly representing the position by the predetermined algorithm.
Is determined, and the presence or absence of the specific image is determined by determining whether or not the image represented by the reference image position data exists on the image represented by the input image position data.

【0024】すなわち、部分画像の認識処理と特定画像
に対応したサイズの領域における部分画像の位置関係の
確認処理とを分離し、位置関係の確認処理においては同
一のアルゴリズムでデータ容量を削減した基準画像位置
データおよび入力画像位置データを用いることで、認識
精度を確保しつつ、特定画像の認識処理に係る処理量お
よび回路規模を削減している。さらに、本装置では、部
分画像の認識処理に用いるパターンおよび特定画像の部
分画像自体を、自らの回転画像に完全に重なる形状のパ
ターン(例えば、円や正方形など)とすることにより、
回転画像に容易に対応できるようにしている。
That is, the recognition process of the partial image is separated from the process of confirming the positional relationship of the partial images in the area of the size corresponding to the specific image. By using the image position data and the input image position data, the processing amount and the circuit scale related to the specific image recognition processing are reduced while ensuring the recognition accuracy. Further, in the present apparatus, the pattern used for the partial image recognition processing and the partial image of the specific image itself are formed into a pattern (for example, a circle or a square) having a shape completely overlapping with the own rotated image.
This makes it easy to handle rotated images.

【0025】(1−2)画像認識方法 (1−2−1)登録処理 次に、上述した原理に基づいた本方法における登録処理
について、図2を参照して説明する。本方法における登
録処理では、まず、ステップSA1において特定画像の
カラーデータ列(特定画像データ)が入力される。ステ
ップSA1で入力された特定画像データに対して、以
後、複数の2値化処理が並行して行われるが、ここで
は、説明が繁雑になるのを避けるために、ステップSA
2−1から始まる1つの2値化処理に着目して説明す
る。ステップSA2−1では、入力画像データの各カラ
ーデータが特定色であるか否かを判定する。ここでいう
特定色は、特定画像の部分画像の色であり、ステップS
A2−1では誤差を考慮してある程度の幅をもった判定
が行われる。この判定結果が「YES」の場合、当該カ
ラーデータの画素に対応した位置の2値画像データ上の
画素の値が‘1’となり(ステップSA3−1a)、他
の場合には同画素の値が‘0’となる(ステップSA3
−1b)。すなわち、特定色の画素に対応した画素の値
が‘1’、特定色でない画素に対応した画素の値が
‘0’の2値画像データが得られる。並行して行われる
他の2値化処理(ステップSA2−2から始まる2値化
処理など)では、他の特定色について上述と同様の処理
が行われる。なお値が‘1’の画素は黒画素であり、値
が‘0’の画素は白画素である。
(1-2) Image Recognition Method (1-2-1) Registration Process Next, the registration process in the present method based on the above-described principle will be described with reference to FIG. In the registration process in this method, first, in step SA1, a color data string (specific image data) of a specific image is input. After that, a plurality of binarization processes are performed in parallel on the specific image data input in step SA1, but here, in order to avoid a complicated description, step SA1 is performed.
The following description focuses on one binarization process starting from 2-1. In step SA2-1, it is determined whether each color data of the input image data is a specific color. The specific color here is the color of the partial image of the specific image,
In A2-1, a determination having a certain width is performed in consideration of an error. If the determination result is “YES”, the value of the pixel on the binary image data at the position corresponding to the pixel of the color data becomes “1” (step SA3-1a), and otherwise, the value of the same pixel Becomes '0' (step SA3
-1b). That is, binary image data in which the value of a pixel corresponding to a pixel of a specific color is “1” and the value of a pixel corresponding to a pixel that is not a specific color is “0” is obtained. In another binarization process performed in parallel (such as a binarization process starting from step SA2-2), the same process as described above is performed for another specific color. Note that a pixel with a value of “1” is a black pixel, and a pixel with a value of “0” is a white pixel.

【0026】次に、ステップSA4では選択処理が行わ
れる。具体的には、上述した各処理の結果として得られ
る複数の2値画像データから、認識対象の特定画像に対
応したデータが選択され、合成される。例えば、認識対
象の特定画像が複数の部分画像を有し、各部分画像の色
が異なる場合には、複数の2値画像データが選択され、
合成される。この合成は例えば、複数の2値画像データ
に対してORをとることで行われる。この結果、2値画
像データ上には、全ての部分画像に対応した2値画像デ
ータが存在することになる。
Next, a selection process is performed in step SA4. Specifically, data corresponding to the specific image to be recognized is selected from a plurality of binary image data obtained as a result of each of the above-described processes, and is synthesized. For example, when the specific image to be recognized has a plurality of partial images and the colors of the respective partial images are different, a plurality of binary image data are selected,
Synthesized. This combination is performed, for example, by ORing a plurality of binary image data. As a result, binary image data corresponding to all the partial images exists on the binary image data.

【0027】ステップSA5から始まる複数のステップ
ではフィルタ処理が行われる。具体的には、ステップS
A4にて得られた2値画像データに対して、例えば、注
目画素(X)とその周辺画素(A)〜(D)とをカバー
する領域R(図3参照)による走査を行い、注目画素
(X)の値が‘1’であり、かつ他の周辺画素(A)〜
(D)の少なくとも1つの値が‘1’である場合には、
注目画素(X)の値を‘0’とし(ステップSA7−
a)、その他の場合には注目画素(X)の値を変更しな
い(ステップSA7−b)、という処理を行う。
In a plurality of steps starting from step SA5, a filtering process is performed. Specifically, step S
The binary image data obtained in A4 is scanned by, for example, a region R (see FIG. 3) covering the pixel of interest (X) and its surrounding pixels (A) to (D) to obtain the pixel of interest. The value of (X) is '1' and the other peripheral pixels (A) to
When at least one value of (D) is '1',
The value of the pixel of interest (X) is set to '0' (step SA7-
a), otherwise, the value of the pixel of interest (X) is not changed (step SA7-b).

【0028】上記フィルタ処理における2値画像データ
の変化の様子を図4に示す。図4において、上段にはフ
ィルタ処理前の2値画像データで表される画像、下段に
はフィルタ処理後の2値画像データで表される画像、中
段にはフィルタ処理中の特定の時点における領域R内の
画像が示されており、各画像において、同一の画素には
同一の符号(P1〜P5)が付されている。この図にお
いて、領域Rによる走査は、フィルタ処理前の画像に対
して図中左上から右下方向へ行われている。なお、主走
査方向は図中左右方向であり、副走査方向は図中上下方
向である。
FIG. 4 shows how the binary image data changes in the filtering process. In FIG. 4, an image represented by binary image data before filtering is shown in the upper part, an image represented by binary image data after filtering is shown in the lower part, and a region at a specific time point during the filtering is shown in the middle part. The images in R are shown, and in each image, the same pixels are denoted by the same reference numerals (P1 to P5). In this figure, scanning by the region R is performed from the upper left to the lower right in the figure with respect to the image before the filtering process. The main scanning direction is the horizontal direction in the figure, and the sub-scanning direction is the vertical direction in the figure.

【0029】また、図5は、領域Rを用いたフィルタ処
理の具体的な流れを示すフローチャートである。図5に
示すように、フィルタ処理では、まず、注目画素が有効
画素(黒画素)か否かを判定する(ステップSB1)。
例えば、領域R内の注目画素がP1の場合(図4参
照)、ステップSB1の判定結果は「NO」となり、注
目画素の値は変わらずに次の注目画素が選択される(ス
テップSB3−b,SB4)。また、領域R内の注目画
素がP4の場合(図4参照)、ステップSB1の判定結
果は「YES」となり、領域R内の参照画素の少なくと
も1つが有効画素であるか否かが判定される(ステップ
SB2)。注目画素がP4の場合には、ステップSB2
での判定結果は「NO」となるので、注目画素の値は変
わらずに次の注目画素が選択される(ステップSB3−
b,SB4)。さらに、領域R内の注目画素がP2,P
3,P5のいずれか1つである場合(図4参照)、ステ
ップSB1の判定結果は「YES」、ステップSB2で
の判定結果は「YES」となり、注目画素はその値に関
わらず、無効画素(白画素)となる(ステップSB3−
a)。そして、次の注目画素が選択される(ステップS
B4)。
FIG. 5 is a flowchart showing a specific flow of the filtering process using the region R. As shown in FIG. 5, in the filtering process, first, it is determined whether or not the target pixel is an effective pixel (black pixel) (step SB1).
For example, when the target pixel in the region R is P1 (see FIG. 4), the determination result in step SB1 is “NO”, and the next target pixel is selected without changing the value of the target pixel (step SB3-b). , SB4). When the target pixel in the region R is P4 (see FIG. 4), the determination result in step SB1 is “YES”, and it is determined whether at least one of the reference pixels in the region R is a valid pixel. (Step SB2). If the pixel of interest is P4, step SB2
Is "NO", the next target pixel is selected without changing the value of the target pixel (step SB3-
b, SB4). Further, the target pixel in the region R is P2, P
3 or P5 (see FIG. 4), the determination result in step SB1 is “YES”, the determination result in step SB2 is “YES”, and the target pixel is an invalid pixel regardless of its value. (White pixel) (step SB3-
a). Then, the next target pixel is selected (step S).
B4).

【0030】このようなフィルタ処理の結果、図4に示
すように、連結有効画素領域は、最終的には1つの画素
P4によって代表されることになる。このように、図5
に示すフィルタ処理は、連結有効画素領域を1つの有効
画素で代表させる処理と言える。したがって、連結有効
画素領域を1つの有効画素で代表させることができれ
ば、図5に示すフィルタ処理以外の処理を採用すること
も可能である。
As a result of such a filtering process, as shown in FIG. 4, the connected effective pixel area is finally represented by one pixel P4. Thus, FIG.
Can be said to be a process in which the connected effective pixel area is represented by one effective pixel. Therefore, if the connected effective pixel area can be represented by one effective pixel, processing other than the filter processing shown in FIG. 5 can be adopted.

【0031】再び図2において、ステップSA8から始
まる複数のステップではサンプリング処理が行われる。
具体的には、フィルタ処理の結果を表す2値画像データ
で表される2値画像が複数の画素を包含するブロックに
分割され(ステップSA8)、各ブロック毎に、ブロッ
ク内の有効画素の数が所定数以上であるか否かが判定さ
れ(ステップSA9)、この判定結果が「YES」とな
ったブロックが有効(黒)ブロックとされ(ステップS
A10−a)、当該判定結果が「NO」となったブロッ
クが無効(白)ブロックとされる(ステップSA10−
b)。そして、1ブロックを1画素とした粗2値画像デ
ータが特定粗2値画像データとして登録される(ステッ
プSA11)。
Referring again to FIG. 2, sampling processing is performed in a plurality of steps starting from step SA8.
Specifically, the binary image represented by the binary image data representing the result of the filter processing is divided into blocks including a plurality of pixels (step SA8), and the number of effective pixels in the block is determined for each block. Is greater than or equal to a predetermined number (step SA9), and the block whose determination result is “YES” is determined to be a valid (black) block (step S9).
A10-a), the block whose determination result is “NO” is regarded as an invalid (white) block (step SA10-a).
b). Then, the coarse binary image data having one block as one pixel is registered as the specific coarse binary image data (step SA11).

【0032】(1−2−2)認識処理 次に、前述の原理に基づいた本方法における認識処理に
ついて、図1を参照して説明する。ただし、この図に示
す処理が図2に示す処理と異なる点は、入力する画像が
特定画像ではなく特定画像の認識対象となる入力画像で
ある点と、サンプリング処理後の2値画像データに対し
て認識判定処理を行う点のみであり、他の処理は上述し
た処理と同一の処理となるので、図2と共通する処理に
は同一の符号を付し、その説明を省略する。
(1-2-2) Recognition Processing Next, recognition processing in the present method based on the above-described principle will be described with reference to FIG. However, the processing shown in this figure differs from the processing shown in FIG. 2 in that the input image is not a specific image but an input image to be recognized as a specific image, and that the binary image data after the sampling processing is different. Since the other processes are the same as those described above, the same processes as those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted.

【0033】本方法における認識処理では、サンプリン
グ処理の結果として、入力画像に対する入力粗2値画像
データが得られる。そして、ステップSA12では、入
力画像に対する特定画像の認識判定処理が行われる。具
体的には、入力粗2値画像データで表される画像中に、
登録された特定粗2値画像データで表される画像が存在
するか否かの判定処理が行われる。この判定処理は例え
ば、一般的なパターンマッチング方法によって行われ
る。
In the recognition processing in the present method, input coarse binary image data for the input image is obtained as a result of the sampling processing. Then, in step SA12, recognition processing of a specific image with respect to the input image is performed. Specifically, in the image represented by the input coarse binary image data,
A determination process is performed to determine whether an image represented by the registered specific coarse binary image data exists. This determination processing is performed by, for example, a general pattern matching method.

【0034】なお、本装置では、特定画像のみならず、
当該特定画像の回転画像をも認識対象としており、前述
の登録処理を認識対象の画像の数だけ繰り返して複数の
特定粗2値画像データを登録し、上述の認識判定処理に
おいて複数の特定粗2値画像データで表される複数の画
像の有無を判定するようにしている。もちろん、2値化
処理後の2値画像データを認識対象の各画像の回転角度
で回転させて複数の2値画像データを作成し、これらの
2値画像データに対して後続する処理を行うことで複数
の特定粗2値画像データを得るようにしてもよい。
In this apparatus, not only a specific image,
The rotation image of the specific image is also a recognition target, and the above-described registration process is repeated by the number of images to be recognized to register a plurality of specific coarse binary image data. The presence or absence of a plurality of images represented by the value image data is determined. Of course, the binary image data after the binarization processing is rotated by the rotation angle of each image to be recognized to generate a plurality of binary image data, and the subsequent processing is performed on the binary image data. May be used to obtain a plurality of specific coarse binary image data.

【0035】(2)構成 次に、本装置の構成について説明する。図6は本装置の
構成を示すブロック図であり、この図に示す本装置は、
特定画像を表す特定画像データを入力して認識判定処理
において使用される特定粗2値画像データを作成・記憶
する登録機能と、特定画像の認識の対象となる入力画像
を表す入力画像データを入力し、当該入力画像に対する
特定画像の認識結果を出力する認識機能とを有する。な
お、本装置に入力される画像データは、所定の色空間
(例えば、RGB(レッド、グリーン、ブルー)やYM
C(イエロー、マゼンダ、シアン)、L***(明
度、彩度、色相)などの中から選択されたいずれか1つ
の色空間)におけるカラー情報(フルカラー情報)を有
する一連のカラーデータから構成されている。なお、こ
こでは、入力される画像データは一連のRGBデータか
ら構成されているものとして以降の説明を行う。
(2) Configuration Next, the configuration of the present apparatus will be described. FIG. 6 is a block diagram showing the configuration of the present apparatus. The present apparatus shown in FIG.
A registration function for inputting specific image data representing a specific image to create and store specific coarse binary image data used in the recognition determination processing, and inputting input image data representing an input image to be recognized for the specific image And a recognition function of outputting a recognition result of the specific image with respect to the input image. Note that the image data input to the apparatus is stored in a predetermined color space (for example, RGB (red, green, blue) or YM
A series of color data having color information (full color information) in C (yellow, magenta, cyan), L * a * b * (any one color space selected from lightness, saturation, hue), etc. It is composed of Here, the following description will be made assuming that the input image data is composed of a series of RGB data.

【0036】図6において、1は画像データを入力する
2値化部であり、入力した画像データに対して予め設定
された2値化処理を施して出力する。図に示したよう
に、2値化部1は2値化部A1a,2値化部B1b,2
値化部C1c,2値化部D1dから構成されており、2
値化部A1a,2値化部B1b,2値化部C1c,2値
化部D1dを並行して作動させることにより、1つの画
像データに対して4種類の2値画像データを出力する。
In FIG. 6, reference numeral 1 denotes a binarizing unit for inputting image data, which performs a predetermined binarizing process on the input image data and outputs the processed image data. As shown in the figure, the binarizing unit 1 includes a binarizing unit A1a, a binarizing unit B1b,
It is composed of a binarizing section C1c and a binarizing section D1d.
By operating the binarizing unit A1a, binarizing unit B1b, binarizing unit C1c, and binarizing unit D1d in parallel, four types of binary image data are output for one image data.

【0037】2値化部A1a,2値化部B1b,2値化
部C1c,2値化部D1dは、それぞれ入力された画像
データに対して予め設定された2値化処理を行って2値
画像データを出力するものであり、2値化処理は各2値
化部ごとに異なった設定となっている。例えば、ある2
値化部をRGBデータに対する2値化処理を行う2値化
部、他の2値化部をYMCデータに対する2値化を行う
2値化部というように、様々なデータ形式の画像データ
に対応できるようにしてもよい。本実施形態では、特定
画像の部分画像の色(特定色)が複数である場合に対応
できるように各2値化部が設定されている。
The binarizing section A1a, the binarizing section B1b, the binarizing section C1c, and the binarizing section D1d perform a predetermined binarizing process on the input image data, and perform binarization. It outputs image data, and the binarization processing is set differently for each binarization unit. For example, 2
A binarization unit that performs binarization processing on RGB data and a binarization unit that binarizes YMC data correspond to image data in various data formats. You may be able to. In the present embodiment, each binarizing unit is set so as to be able to cope with a case where the partial image of the specific image has a plurality of colors (specific colors).

【0038】ここで、2値化部A1aを例に挙げてその
構成例を示す。図7は2値化部A1aの構成例を示す図
であり、この図においては、入力された画像データ中の
R成分の値は‘R’、G成分の値は‘G’、B成分の値
は‘B’と表記されている。図7において、C1はRの
比較器であり、‘R’を入力し、この‘R’がRの下限
値‘Lr’以上かつRの上限値‘Ur’以下である場合
に‘1’を、他の場合に‘0’を出力する。C2はGの
比較器であり、‘G’を入力し、この‘G’がGの下限
値‘Lg’以上かつGの上限値‘Ug’以下である場合
に‘1’を、他の場合に‘0’を出力する。C3はBの
比較器であり、‘B’を入力し、この‘B’がBの下限
値‘Lb’以上かつBの上限値‘Ub’以下である場合
に‘1’を、他の場合に‘0’を出力する。
Here, an example of the configuration of the binarization unit A1a will be described. FIG. 7 is a diagram showing a configuration example of the binarization unit A1a. In this figure, the value of the R component in the input image data is 'R', the value of the G component is 'G', and the value of the B component is The value is described as 'B'. In FIG. 7, C1 is a comparator for R, which inputs 'R' and outputs '1' when this 'R' is equal to or more than a lower limit value 'Lr' of R and equal to or less than an upper limit value 'Ur' of R. , Outputs '0' in other cases. C2 is a comparator of G, which inputs "G", and when the "G" is equal to or more than the lower limit value "Lg" of G and equal to or less than the upper limit value "Ug" of G, "1" is used. '0' is output. C3 is a comparator of B, and inputs "B". If "B" is equal to or more than a lower limit value "Lb" of B and equal to or less than an upper limit value "Ub" of B, "1" is set. '0' is output.

【0039】また、GT1はANDゲートであり、各比
較器の出力のANDをとって2値画像データとして出力
する。したがって、2値化部A1aから出力されるデー
タは、入力されたデータのRGB各成分が各上限値およ
び各下限値で規定される範囲内に存在する場合(すなわ
ち特定色と判断できる場合)には‘1’、他の場合には
‘0’となる。すなわち、この図に示す構成例は完全2
値化を行うものであり、このことを前提として以降の説
明を進める。
GT1 is an AND gate, which performs an AND operation on the outputs from the respective comparators and outputs the result as binary image data. Therefore, the data output from the binarization unit A1a is output when the RGB components of the input data exist within the range defined by the upper limit value and the lower limit value (that is, when it can be determined that the color is a specific color). Is '1', otherwise it is '0'. That is, the configuration example shown in FIG.
This is a value conversion, and the following description will proceed based on this assumption.

【0040】上述したことから明らかなように、この図
に示す構成例においては、各上限値および各下限値や、
ANDゲートGT1の内容を変更することによって、2
値化処理の内容を変更することができる。なお、上限値
および下限値を一致させれば、特定色の画素のみが
‘1’、当該特定色と僅かでも異なる色の画素が‘0’
となる2値画像データを得ることができるが、本実施形
態では、ノイズ等による誤差を考慮して上限値と下限値
とを同一とはしていない。
As is apparent from the above description, in the configuration example shown in this figure, each upper limit value and each lower limit value,
By changing the contents of the AND gate GT1, 2
The contents of the valuation process can be changed. If the upper limit value and the lower limit value are matched, only the pixel of the specific color is “1”, and the pixel of a color slightly different from the specific color is “0”.
However, in the present embodiment, the upper limit value and the lower limit value are not the same in consideration of an error due to noise or the like.

【0041】他の2値化部も上述した構成と類似した構
成を備えており、2値化の条件(上限値や下限値などの
閾値を含む)に応じた変更が加えられているに過ぎな
い。このような変更は適宜設計すべき事項であることか
ら、ここでは、2値化部B1b,2値化部C1c,2値
化部D1dの構成についての具体的な説明を省略する。
なお、本実施形態においては、2値化部1内に設ける2
値化部の数を‘4’としているが、任意の数としてよい
ことは言うまでもない。
The other binarization units also have a configuration similar to the above-described configuration, and are merely modified according to binarization conditions (including thresholds such as upper and lower limits). Absent. Since such a change is a matter to be appropriately designed, a specific description of the configurations of the binarization unit B1b, the binarization unit C1c, and the binarization unit D1d is omitted here.
Note that, in the present embodiment, 2 provided in the binarization section 1
Although the number of the value conversion units is “4”, it is needless to say that any number may be used.

【0042】再び図6において、2は2値画像データ選
択部であり、2値化部1から出力された複数の2値画像
データのうち、少なくとも1つの2値画像データを選択
し、選択した2値画像データに基づいた1つの2値画像
データを出力する。この2値画像データ選択部2は、例
えば図8に示す構成を有する。図8において、GTa〜
GTdは、それぞれ上述の各2値化部に対応して設けら
れたANDゲートであり、自身に対応する2値化部の出
力データと当該2値化部を選択する場合に‘1’、他の
場合に‘0’となる選択信号とを入力し、両者のAND
をとる。GT2はANDゲートAGTa,ANDゲート
BGTb,ANDゲートCGTc,ANDゲートDGT
dの各出力のORをとるORゲートである。すなわち、
図8に示す構成の2値画像データ選択部2は、対応する
選択信号の値が‘1’となった少なくとも1つの2値化
部の各出力データのうち、1つでも値が‘1’の出力デ
ータが存在する場合に‘1’、他の場合に‘0’となる
2値画像データを出力する。なお、2値画像データ選択
部2において選択される2値画像データは、認識対象の
特定画像の特定色に関する2値化を行う2値化部から出
力された2値画像データである。
In FIG. 6 again, reference numeral 2 denotes a binary image data selection unit, and at least one of the plurality of binary image data output from the binarization unit 1 is selected and selected. One binary image data based on the binary image data is output. The binary image data selection unit 2 has, for example, a configuration shown in FIG. In FIG. 8, GTa ~
GTd is an AND gate provided corresponding to each of the above-described binarization units. The output data of the binarization unit corresponding to GTd and “1” when selecting the binarization unit, GTd, etc. , A selection signal that becomes '0' is input, and AND
Take. GT2 is an AND gate AGTa, an AND gate BGTb, an AND gate CGTc, and an AND gate DGT.
An OR gate for ORing each output of d. That is,
The binary image data selecting unit 2 having the configuration shown in FIG. 8 outputs at least one of the output data of at least one binarizing unit in which the value of the corresponding selection signal is “1”. Is output when the output data exists, and is outputted as '0' in other cases. The binary image data selected by the binary image data selection unit 2 is binary image data output from a binarization unit that binarizes a specific color of a specific image to be recognized.

【0043】再び図6において、3は特定画像の部分画
像の有無を判定する特定画像部分判定部であり、2値画
像データ選択部2から出力された2値画像データで表さ
れる2値画像上を所定のウィンドウ領域で走査しつつ、
ウィンドウ領域内の画像に対して所定の条件によるテン
プレートマッチングを施して上記判定を行い、判定結果
を表す2値画像データを出力する。特定画像部分判定部
3には、テンプレートマッチングで用いるウィンドウ領
域(図13参照)が予め設定されており、2値画像デー
タ選択部2には、当該ウィンドウ領域を設定するに十分
な2値画像データを記憶可能な数のラインバッファ(図
示略)が設けられている。なお、各ラインバッファは、
それぞれ1ライン分の入力画像データに相当する2値画
像データを記憶できる容量を有し、また、上記ウィンド
ウ領域は特定画像の部分画像が入るサイズに設定されて
いる。
Referring again to FIG. 6, reference numeral 3 denotes a specific image portion determining section for determining whether or not a specific image has a partial image, and a binary image represented by the binary image data output from the binary image data selecting section 2. While scanning the top with a predetermined window area,
The above-described determination is performed by performing template matching on the image in the window area under a predetermined condition, and binary image data representing the determination result is output. A window area (see FIG. 13) used for template matching is set in advance in the specific image portion determination unit 3, and binary image data sufficient for setting the window area is set in the binary image data selection unit 2. Of line buffers (not shown) are provided to store the number of line buffers. Each line buffer is
Each has a capacity to store binary image data corresponding to one line of input image data, and the window area is set to a size that can accommodate a partial image of a specific image.

【0044】具体的には、特定画像部分判定部3では、
テンプレートマッチングの結果が所定の条件を満たした
場合(すなわち特定画像の部分画像が存在すると判定し
た場合)には特定画像の部分画像の中心画素に対応する
2値画像上の画素(すなわちウィンドウ領域の中心に位
置する2値画像上の画素)を有効画素(値は‘1’)と
し、他の場合には当該画素を無効画素(値は‘0’)と
する。すなわち、2値画像データ選択部2から出力され
る2値画像データは、テンプレートマッチングによって
特定画像の部分画像が存在すると判定された場合にウィ
ンドウ領域の中心に位置する画素が有効画素とされ、特
定画像の部分画像が存在すると判定されなかった場合に
ウィンドウ領域の中心に位置する画素が無効画素とされ
た2値画像を表すデータとなる。
More specifically, the specific image portion determining section 3
If the result of the template matching satisfies a predetermined condition (that is, if it is determined that a partial image of the specific image exists), a pixel on the binary image corresponding to the central pixel of the partial image of the specific image (that is, The center pixel on the binary image is a valid pixel (value is “1”), and in other cases, the pixel is an invalid pixel (value is “0”). That is, in the binary image data output from the binary image data selection unit 2, when it is determined by template matching that a partial image of the specific image is present, the pixel located at the center of the window area is determined as an effective pixel. If it is not determined that a partial image of the image exists, the pixel located at the center of the window area is data representing a binary image in which the pixel is regarded as an invalid pixel.

【0045】4はフィルタリング部であり、特定画像部
分判定部3から出力された2値画像データを入力し、以
下に述べる処理を行う。フィルタリング部4は、特定画
像部分判定部3からの2値画像データを入力すると、こ
の2値画像データで表される2値画像中に連結有効画素
領域が存在する場合には、当該連結有効画素領域を1つ
の有効画素で代表させ、互いに連結していない有効画素
からなる2値画像を表す2値画像データを出力する。例
えば、図9に示すように、フィルタリング部への入力画
像8aを表す2値画像データが特定画像部分判定部3か
らフィルタリング部4に入力された場合には、フィルタ
リング部4はフィルタリング部からの出力画像8bを表
す2値画像データを出力する。フィルタリング部4を設
けたのは、特定画像部分判定部3において、設定する条
件によっては、有効画素に隣接する画素も有効画素と判
定される可能性があり、後述するサンプリング部5によ
るサンプリング処理において複数の有効画素からなる1
つの連結有効画素領域が2つのブロックにまたがってし
まい、最終的には非検出の発生確率が高くなってしま
う、という事態を避けるためである。
Reference numeral 4 denotes a filtering unit which receives the binary image data output from the specific image part determining unit 3 and performs the following processing. Upon input of the binary image data from the specific image portion determination unit 3, the filtering unit 4 determines whether the connected valid pixel region exists in the binary image represented by the binary image data. The region is represented by one effective pixel, and binary image data representing a binary image composed of effective pixels that are not connected to each other is output. For example, as shown in FIG. 9, when binary image data representing the input image 8a to the filtering unit is input from the specific image portion determination unit 3 to the filtering unit 4, the filtering unit 4 outputs It outputs binary image data representing the image 8b. The reason why the filtering unit 4 is provided is that there is a possibility that a pixel adjacent to an effective pixel may also be determined as an effective pixel depending on the conditions set in the specific image part determination unit 3. 1 consisting of multiple effective pixels
This is to avoid a situation in which one connected effective pixel area extends over two blocks, and eventually the probability of non-detection increases.

【0046】サンプリング部5は、フィルタリング部4
から出力された2値画像データで表される2値画像を複
数のブロックに分割し、ブロック毎に有効画素の有無を
調べ、この結果に基づいて有効ブロック/無効ブロック
の判定を行い、1ブロックを1画素とする2値画像デー
タを出力する。具体的には、サンプリング部5は、フィ
ルタリング部4から出力された2値画像データで表され
る2値画像上の4×4画素を1ブロックとし、1つのブ
ロック中に1つでも有効画素(黒画素)が存在した場合
に当該ブロックを有効ブロック(黒ブロック)とし、そ
れ以外の場合には当該ブロックを無効ブロック(白ブロ
ック)とし、1ブロックを1画素とした2値画像データ
を出力する。例えば、図10に示すように、フィルタリ
ング部からの出力画像8b(16×16画素)を表す2
値画像データがサンプリング部5に入力された場合は、
サンプリング部5はサンプリング部からの出力画像9
(4×4画素)を表す2値画像データを出力する。すな
わち、サンプリング部5は、各有効画素の大まかな位置
情報を保持しつつ2値画像の解像度を低下させるよう作
動する。ただし、サンプリング部5は、図示せぬ制御装
置からの指示に従い、2値画像データの出力先を基準パ
ターン記憶部6と特定画像判定結果出力部7との間で切
り換える。具体的には、サンプリング部5は、登録処理
を行う場合には基準パターン記憶部6を、認識処理を行
う場合には特定画像判定結果出力部7を2値画像データ
の出力先とする。
The sampling section 5 includes a filtering section 4
The binary image represented by the binary image data output from is divided into a plurality of blocks, the presence or absence of an effective pixel is checked for each block, and an effective block / invalid block is determined based on the result, and one block is determined. Is output as binary image data. Specifically, the sampling unit 5 sets 4 × 4 pixels on the binary image represented by the binary image data output from the filtering unit 4 as one block, and at least one valid pixel ( When there is a black pixel), the block is set as an effective block (black block), otherwise, the block is set as an invalid block (white block), and binary image data with one block as one pixel is output. . For example, as shown in FIG. 10, 2 representing the output image 8b (16 × 16 pixels) from the filtering unit
When the value image data is input to the sampling unit 5,
The sampling unit 5 outputs an image 9 from the sampling unit.
Binary image data representing (4 × 4 pixels) is output. That is, the sampling unit 5 operates so as to reduce the resolution of the binary image while maintaining the approximate position information of each effective pixel. However, the sampling unit 5 switches the output destination of the binary image data between the reference pattern storage unit 6 and the specific image determination result output unit 7 according to an instruction from a control device (not shown). Specifically, the sampling unit 5 sets the reference pattern storage unit 6 as the output destination of the binary image data when performing the registration process and the specific image determination result output unit 7 as performing the recognition process.

【0047】基準パターン記憶部6は、サンプリング部
5から出力された2値画像データを特定画像判定結果出
力部7での認識判定処理に用いる基準パターンとして記
憶するものであり、認識対象の各特定画像についての基
準パターンを格納可能な記憶容量を有する。特定画像判
定結果出力部7は、サンプリング部5から出力された2
値画像データ中に基準パターン記憶部6に記憶された基
準パターンが存在するか否かを判定し、判定結果を認識
結果として出力する認識判定処理を行う。本実施形態で
は、上記認識判定処理の方法として、一般的なパターン
マッチング方法を採用している。また、特定画像判定結
果出力部7は、上記判定結果が、上記パターンが存在し
た旨の結果である場合には、当該判定結果と該当パター
ンに関する情報とを認識結果として出力する。
The reference pattern storage section 6 stores the binary image data output from the sampling section 5 as a reference pattern used for the recognition judgment processing in the specific image judgment result output section 7, and stores each of the identification targets. It has a storage capacity capable of storing a reference pattern for an image. The specific image determination result output unit 7 outputs the second image output from the sampling unit 5.
A recognition determination process is performed to determine whether or not the reference pattern stored in the reference pattern storage unit 6 exists in the value image data, and to output a determination result as a recognition result. In the present embodiment, a general pattern matching method is adopted as the method of the recognition determination processing. In addition, when the determination result is a result indicating that the pattern exists, the specific image determination result output unit 7 outputs the determination result and information regarding the pattern as a recognition result.

【0048】(3)動作 次に、上述した構成の本装置の動作について説明する。 (3−1)前提 ここでは、入力画像は図11に示す入力画像10であ
り、入力画像データのデータ形式はRGBデータであ
り、認識対象の特定画像は図11中の特定画像A11a
であるものとする。図12に示すように、特定画像A1
1aは円形状の部分画像A12a,部分画像B12b,
部分画像C12c,部分画像D12d,部分画像E12
e,部分画像F12fから構成されている。各部分画像
の形状は塗りつぶされた円であり、その色は部分画像A
12aと部分画像B12b、部分画像C12cと部分画
像D12d、部分画像E12eと部分画像F12fがそ
れぞれ同一の特定色となっている。また、ここでは、図
11に示すように、特定画像A11aを図中時計回り方
向に90度、180度、270度回転させて得られる特
定画像B11b,特定画像C11c,特定画像D11d
をも認識対象画像とする。なお、図11から明らかなよ
うに、入力画像10には、特定画像A11a,特定画像
B11b,特定画像C11c,特定画像D11dが内包
されている。
(3) Operation Next, the operation of the present apparatus having the above configuration will be described. (3-1) Premise Here, the input image is the input image 10 shown in FIG. 11, the data format of the input image data is RGB data, and the specific image to be recognized is the specific image A11a in FIG.
It is assumed that As shown in FIG. 12, the specific image A1
1a is a circular partial image A12a, a partial image B12b,
Partial image C12c, partial image D12d, partial image E12
e, and a partial image F12f. The shape of each partial image is a filled circle, and its color is
12a and partial image B12b, partial image C12c and partial image D12d, and partial image E12e and partial image F12f have the same specific color, respectively. Also, here, as shown in FIG. 11, a specific image B11b, a specific image C11c, and a specific image D11d obtained by rotating the specific image A11a by 90 degrees, 180 degrees, and 270 degrees in the clockwise direction in the figure.
Is also a recognition target image. As is clear from FIG. 11, the input image 10 includes a specific image A11a, a specific image B11b, a specific image C11c, and a specific image D11d.

【0049】また、入力画像の入力前に、図6の2値化
部1には、特定画像の特定色によって2値化を行うため
の条件(ここでは閾値)が設定されているものとする。
具体的には、2値化部A1aには部分画像A12aおよ
び部分画像B12bに共通した特定色に対応したR,
G,Bそれぞれの上限値および下限値、2値化部B1b
には部分画像C12cおよび部分画像D12dに共通し
た特定色に対応したR,G,Bそれぞれの上限値および
下限値、2値化部C1cには部分画像E12eおよび部
分画像F12fに共通した特定色に対応したR,G,B
それぞれの上限値および下限値が設定されているものと
する。なお、上記各上限値および各下限値は、入力画像
が印刷された原稿の印刷精度や読み取り装置の精度など
を考慮して、各特定色を確実に抽出できるように十分な
幅を持たせて設定すべきである。
Before inputting an input image, it is assumed that a condition (here, a threshold value) for performing binarization using a specific color of a specific image is set in the binarization unit 1 of FIG. .
Specifically, the binarization unit A1a includes R, R corresponding to a specific color common to the partial image A12a and the partial image B12b.
Upper and lower limit values of G and B, binarization section B1b
The upper limit value and the lower limit value of each of R, G, and B corresponding to the specific color common to the partial image C12c and the partial image D12d, and the binarizing unit C1c sets the specific color common to the partial image E12e and the partial image F12f. Corresponding R, G, B
It is assumed that respective upper and lower limits are set. Note that the upper limit and the lower limit have a sufficient width so that each specific color can be reliably extracted in consideration of printing accuracy of a document on which an input image is printed, accuracy of a reading device, and the like. Should be set.

【0050】また、図示せぬ制御装置から2値画像デー
タ選択部2に供給される各選択信号(図8参照)は、2
値化部A1a,2値化部B1b,2値化部C1cの出力
データのみを選択するよう設定されているものとする。
すなわち、2値化部A1a,2値化部B1b,2値化部
C1cの各選択信号の値が‘1’に、2値化部D1dの
選択信号の値が‘0’に設定されている。このようにす
ることによって、2値画像データ選択部2からの出力デ
ータは、入力画像データから特定画像を構成する複数の
特定色成分を抽出した2値画像データとなる。
Each selection signal (see FIG. 8) supplied from the control device (not shown) to the binary image data selection section 2 is
It is assumed that the setting is made so that only the output data of the binarization unit A1a, the binarization unit B1b, and the binarization unit C1c are selected.
That is, the value of each selection signal of the binarization unit A1a, the binarization unit B1b, and the binarization unit C1c is set to "1", and the value of the selection signal of the binarization unit D1d is set to "0". . By doing so, the output data from the binary image data selection unit 2 becomes binary image data obtained by extracting a plurality of specific color components forming a specific image from the input image data.

【0051】さらに、特定画像部分判定部3には図13
に示す11×11のウィンドウ領域13が設定されてい
るものとする。このウィンドウ領域13には、特定画像
の部分画像を認識するためのマスク領域14aおよび1
4bが、各中心とウィンドウ領域13の中心とが一致す
るように設定されている。
Further, the specific image portion judging section 3 has
It is assumed that an 11 × 11 window area 13 shown in FIG. The window area 13 includes mask areas 14a and 1a for recognizing a partial image of the specific image.
4b is set so that each center coincides with the center of the window area 13.

【0052】(3−2)具体的な動作 まず、特定画像判定結果出力部7に示す入力画像を表す
入力画像データが2値化部1に入力されると、2値化部
1の各2値化部において入力画像データが2値化され、
4つの2値画像データとして出力される。これら4つの
2値画像データは2値画像データ選択部2へ入力される
が、2値画像データ選択部2は、2値化部A1a,2値
化部B1b,2値化部C1cの出力データのみを選択す
るよう設定されていることから、2値画像データ選択部
2から出力される2値画像データは入力画像データから
特定画像を構成する複数の特定色成分を抽出したデータ
となる。
(3-2) Specific Operation First, when input image data representing an input image shown in the specific image determination result output unit 7 is input to the binarization unit 1, The input image data is binarized in a binarizing unit,
It is output as four binary image data. These four binary image data are input to the binary image data selector 2. The binary image data selector 2 outputs the output data of the binarizer A1a, the binarizer B1b, and the binarizer C1c. Since only binary image data is set to be selected, the binary image data output from the binary image data selection unit 2 is data obtained by extracting a plurality of specific color components forming a specific image from the input image data.

【0053】2値画像データ選択部2から出力された2
値画像データは特定画像部分判定部3に入力され、ここ
で、当該2値画像データで表される画像に対して11×
11のウィンドウ領域13による走査が行われる。この
走査において、ウィンドウ領域13内の画像について、
ウィンドウ領域13上に予め設定されたマスク領域A1
4aおよびマスク領域B14bを用いたテンプレートマ
ッチングが施される。そして、マスク領域A14aにお
ける黒画素数が所定数以上であり、かつマスク領域B1
4bにおける黒画素数が所定数以下である場合にのみ、
走査対象の2値画像データと別に用意された出力用の2
値画像データにおいて、ウィンドウ領域13の中心に対
応するデータ位置に黒画素を表すデータが書き込まれ
る。すなわち、出力用の2値画像データで表される2値
画像においてウィンドウ領域13の中心に対応した位置
の画素が黒画素になる。一方、マスク領域A14aにお
ける黒画素数が所定数未満であるか、あるいはマスク領
域B14bにおける黒画素数が所定数を超過している場
合には、出力用の2値画像データにおいて、ウィンドウ
領域13の中心に対応するデータ位置に白画素を表すデ
ータが書き込まれる。すなわち、出力用の2値画像デー
タで表される2値画像においてウィンドウ領域13の中
心に対応した位置の画素が白画素になる。
The binary image data output from the binary image data selection unit 2
The value image data is input to the specific image portion determination unit 3, where the image represented by the binary image data is 11 ×
Scanning by the eleven window areas 13 is performed. In this scanning, for the image in the window area 13,
Mask area A1 set in advance on window area 13
4a and template matching using the mask area B14b. Then, the number of black pixels in the mask area A14a is equal to or more than a predetermined number and the mask area B1
Only when the number of black pixels in 4b is equal to or less than a predetermined number,
Output 2 prepared separately from the binary image data to be scanned
In the value image data, data representing a black pixel is written at a data position corresponding to the center of the window area 13. That is, in the binary image represented by the output binary image data, the pixel at the position corresponding to the center of the window area 13 is a black pixel. On the other hand, if the number of black pixels in the mask area A14a is less than the predetermined number or the number of black pixels in the mask area B14b exceeds the predetermined number, the binary image data for output includes Data representing a white pixel is written at a data position corresponding to the center. That is, in the binary image represented by the binary image data for output, the pixel at the position corresponding to the center of the window area 13 is a white pixel.

【0054】ここで、図14に示す例を参照して具体的
な処理結果について説明する。ただし、マスク領域A1
4aにおける黒画素数が30以上であり、かつマスク領
域B14bにおける黒画素数が0以下であった場合に黒
画素を表すデータを、その他の場合には白画素を表すデ
ータを、出力用の2値画像データにおいて、ウィンドウ
領域13の中心に対応したデータ位置に書き込むよう特
定画像部分判定部3が設定されているものとする。
Here, a specific processing result will be described with reference to the example shown in FIG. However, the mask area A1
When the number of black pixels in 4a is 30 or more and the number of black pixels in the mask area B14b is 0 or less, data representing a black pixel is output. In other cases, data representing a white pixel is output. In the value image data, it is assumed that the specific image portion determination unit 3 is set to write the data at a data position corresponding to the center of the window area 13.

【0055】図14に示すように、2値画像データ選択
部2からの2値画像データで表される2値画像中に特定
画像部分判定部の入力画像A15aが含まれ、当該特定
画像部分判定部の入力画像A15aに対して特定画像部
分判定部3において上述した処理が行われると、出力用
の2値画像データで表される2値画像は特定画像部分判
定部の出力画像A16aを含むことになる。すなわち、
1つの特定画像の部分画像に対して、部分画像の候補が
2回だけ抽出される。一方、2値画像データ選択部2か
らの2値画像データで表される2値画像中に特定画像部
分判定部の入力画像B15bが含まれ、当該特定画像部
分判定部の入力画像B15bに対して特定画像部分判定
部3において上述した処理が行われると、出力用の2値
画像データで表される2値画像は特定画像部分判定部の
出力画像B16bを含むことになる。すなわち、1つの
特定画像の部分画像に対して、部分画像の候補が1回だ
け抽出される。こうして作成された出力用の2値画像デ
ータはフィルタリング部4へ出力される。
As shown in FIG. 14, the binary image represented by the binary image data from the binary image data selection unit 2 includes the input image A15a of the specific image part determination unit, and the specific image part determination is performed. When the above-described processing is performed on the input image A15a of the unit in the specific image part determination unit 3, the binary image represented by the binary image data for output includes the output image A16a of the specific image part determination unit become. That is,
For a partial image of one specific image, partial image candidates are extracted only twice. On the other hand, the binary image represented by the binary image data from the binary image data selection unit 2 includes the input image B15b of the specific image part determination unit. When the above-described processing is performed in the specific image part determination unit 3, the binary image represented by the binary image data for output includes the output image B16b of the specific image part determination unit. That is, a partial image candidate is extracted only once for a partial image of one specific image. The output binary image data created in this way is output to the filtering unit 4.

【0056】ここで、上述したテンプレートマッチング
を行う理由について説明する。例えば、本装置をスキャ
ナや複写機に適用する場合、原稿の印刷精度や読み取り
装置の精度などによって、入力画像中の特定画像の部分
画像には、色や形状に関するバラつきが発生する。この
バラつきを考慮せずに単純にパターンマッチングを行う
と、特定画像の部分画像であるにも関わらず部分画像と
判定されず、後の特定画像のパターンマッチング処理に
おいて、特定画像であるにも関わらず特定画像として認
識されない「非検出」が発生する可能性がある。よっ
て、本装置では、上記バラつきを考慮して、本来の部分
画像との差異が所定の範囲内であれば、すなわちマスク
領域A14a内の黒画素数が所定数以上であり、かつマ
スク領域B14bにおける黒画素数が所定数以下である
場合には、ウィンドウ領域13の中心に位置する画素を
黒画素とし、部分画像の候補として残すようにしてい
る。
Here, the reason for performing the above-described template matching will be described. For example, when the present apparatus is applied to a scanner or a copying machine, variations in color and shape occur in a partial image of a specific image in an input image due to the printing accuracy of a document, the accuracy of a reading device, and the like. If pattern matching is simply performed without considering this variation, the image is not determined to be a partial image even though it is a partial image of the specific image. There is a possibility that “non-detection” that is not recognized as a specific image may occur. Therefore, in the present apparatus, in consideration of the variation, if the difference from the original partial image is within a predetermined range, that is, if the number of black pixels in the mask area A14a is equal to or more than the predetermined number and the mask area B14b When the number of black pixels is equal to or smaller than a predetermined number, the pixel located at the center of the window area 13 is set as a black pixel and is left as a partial image candidate.

【0057】特定画像部分判定部3から出力された2値
画像データはフィルタリング部4に入力され、ここで、
フィルタリング処理を施される。フィルタリング処理
は、当該2値画像データで表される2値画像中の黒画素
のうち、隣接している複数の黒画素(連結している有効
画素)を1つの黒画素で代表させる処理であり、すなわ
ち1つの部分画像に対して得られた複数の候補を1つの
候補に絞る処理である。この結果、フィルタリング部4
から出力される2値画像データで表される2値画像中の
黒画素数は原稿画像中の特定画像の部分画像数と等しく
なる。
The binary image data output from the specific image portion determination unit 3 is input to the filtering unit 4, where
Filtering processing is performed. The filtering process is a process in which, among black pixels in the binary image represented by the binary image data, a plurality of adjacent black pixels (connected effective pixels) are represented by one black pixel. That is, this is a process of narrowing down a plurality of candidates obtained for one partial image to one candidate. As a result, the filtering unit 4
The number of black pixels in the binary image represented by the binary image data output from is equal to the number of partial images of the specific image in the document image.

【0058】例えば、特定画像部分判定部3からの2値
画像データで表される2値画像が図9のフィルタリング
部への入力画像8aを含む場合、フィルタリング部への
入力画像8aに対するフィルタリング処理は、図5に示
すアルゴリズムに従って行われる。すなわち、図3に示
す参照領域によってフィルタリング部への入力画像8a
が図中右上から左下へと走査され、隣接している複数の
黒画素のうち、左下端に位置する黒画素のみが残され
る。この結果、フィルタリング部への入力画像8aに対
するフィルタリング結果として図9のフィルタリング部
からの出力画像8bを表す2値画像データが得られる。
なお、フィルタリング処理によって部分画像の候補を絞
るのは、詳しくは後述するが、特定画像部分判定部3に
おいてバラつきを許容したことによる影響をサンプリン
グ処理の前段で排除しておく必要があるからである。
For example, when the binary image represented by the binary image data from the specific image portion determination unit 3 includes the input image 8a to the filtering unit in FIG. 9, the filtering process for the input image 8a to the filtering unit is , According to the algorithm shown in FIG. That is, the input image 8a to the filtering unit is determined by the reference area shown in FIG.
Is scanned from the upper right to the lower left in the figure, and only the black pixel located at the lower left end among the plurality of adjacent black pixels is left. As a result, binary image data representing the output image 8b from the filtering unit in FIG. 9 is obtained as a filtering result for the input image 8a to the filtering unit.
The reason why the partial image candidates are narrowed down by the filtering process will be described later in detail, but it is necessary to eliminate the influence of allowing the variation in the specific image portion determining unit 3 in the preceding stage of the sampling process. .

【0059】フィルタリング部4から出力された2値画
像データは、ここで、サンプリング処理を施される。サ
ンプリング処理は、画像の特徴を維持しつつ画像の解像
度を低下させる処理であり、ここで維持する画像の特徴
とは、フィルタリング部4からの2値画像データで表さ
れる2値画像にあっては各黒画素の位置情報である。具
体的には、サンプリング部5では、フィルタリング部4
からの2値画像データで表される2値画像が4×4画素
からなるブロック毎に分割され、自ブロック内に1つで
も黒画素(有効画素)が存在するブロックが黒ブロック
(有効ブロック)、他のブロックが白ブロック(無効ブ
ロック)とされ、最終的には1ブロックを1画素とした
粗2値画像データが出力される。
The binary image data output from the filtering unit 4 is subjected to a sampling process here. The sampling process is a process of lowering the resolution of the image while maintaining the characteristics of the image. The characteristics of the image to be maintained here are the binary images represented by the binary image data from the filtering unit 4. Is position information of each black pixel. Specifically, in the sampling unit 5, the filtering unit 4
The binary image represented by the binary image data is divided into blocks each including 4 × 4 pixels, and a block in which at least one black pixel (effective pixel) exists in its own block is a black block (effective block) The other blocks are set as white blocks (invalid blocks), and coarse binary image data having one block as one pixel is finally output.

【0060】例えば、フィルタリング部4からの2値画
像データで表される2値画像が図9のフィルタリング部
からの出力画像8bを含む場合、サンプリング部5にお
いて図10に示す出力画像9が得られる。すなわち、フ
ィルタリング部からの出力画像8bに対するサンプリン
グ処理の結果として、サンプリング部5から、上記出力
画像9を表す2値画像データが出力される。フィルタリ
ング部4においてサンプリング処理を行ったことによ
り、本装置では、フィルタリング部4からの2値画像デ
ータで表される2値画像中の1つの部分画像に対応した
黒画素は複数のブロックにまたがることはない。すなわ
ち、例えば、サンプリング部からの出力画像9における
黒ブロックの位置により、フィルタリング部からの出力
画像8bにおける黒画素の大まかな位置を知ることがで
きる。したがって、精度は低下するものの、各黒画素の
位置情報はサンプリング部5から出力される粗2値画像
データにおいても維持される。これがフィルタリング処
理を行うことによる利点である。
For example, when the binary image represented by the binary image data from the filtering unit 4 includes the output image 8b from the filtering unit in FIG. 9, the sampling unit 5 obtains the output image 9 shown in FIG. . That is, as a result of the sampling process on the output image 8b from the filtering unit, binary image data representing the output image 9 is output from the sampling unit 5. By performing the sampling processing in the filtering unit 4, in the present apparatus, the black pixels corresponding to one partial image in the binary image represented by the binary image data from the filtering unit 4 are spread over a plurality of blocks. There is no. That is, for example, the approximate position of the black pixel in the output image 8b from the filtering unit can be known from the position of the black block in the output image 9 from the sampling unit. Therefore, although the accuracy is reduced, the position information of each black pixel is maintained in the coarse binary image data output from the sampling unit 5. This is an advantage of performing the filtering process.

【0061】サンプリング部5から出力された粗2値画
像データは特定画像判定結果出力部7に入力され、ここ
で、当該粗2値画像データに対して予め設定された基準
パターンによるパターンマッチング処理が行われる。具
体的には、特定画像判定結果出力部7において、基準パ
ターンを包含する大きさ(例えば4×4画素)のウィン
ドウ領域によって粗2値画像データで表される2値画像
を走査しつつ、当該ウィンドウ領域内に基準パターンと
同一のパターン(黒画素と白画素とからなるパターン)
が存在するか否かが判定され、判定結果が出力される。
本装置では、一般的なパターンマッチング方法を採用し
ていることからパターンマッチング処理における詳細な
動作については説明を省略する。
The coarse binary image data output from the sampling unit 5 is input to the specific image determination result output unit 7, where a pattern matching process using a preset reference pattern is performed on the coarse binary image data. Done. Specifically, the specific image determination result output unit 7 scans the binary image represented by the coarse binary image data by using a window area having a size (for example, 4 × 4 pixels) including the reference pattern, and The same pattern as the reference pattern in the window area (pattern consisting of black and white pixels)
Is determined, and a determination result is output.
In this apparatus, since a general pattern matching method is employed, a detailed operation in the pattern matching processing will not be described.

【0062】なお、特定画像判定結果出力部7における
パターンマッチングの対象となるのは特定画像A11a
およびその回転画像である特定画像B11b,特定画像
C11c,特定画像D11dであり、一般的なパターン
マッチング方法を採用すると、4種類の基準パターンが
必要となり、パターンマッチング処理における比較回数
も4倍となる。しかしながら、前段の処理を行わない従
来の画像認識方法と比較すると、1回のパターンマッチ
ングに要する比較回数は16×16=256[回]から
4×4=16[回]に減少していることから、比較回数
が4倍となっても全体の比較回数(16×4=64
[回])は従来の回転に対応していない画像認識方法に
比較しても十分に少ない回数となる。もちろん、より比
較回数の少ない画像認識方法を採用すれば、上記比較回
数をより一層、低減することができる。
The target of pattern matching in the specific image determination result output unit 7 is the specific image A11a.
And a specific image B11b, a specific image C11c, and a specific image D11d, which are rotated images thereof. If a general pattern matching method is adopted, four types of reference patterns are required, and the number of comparisons in the pattern matching process is quadrupled. . However, when compared with the conventional image recognition method that does not perform the preceding process, the number of comparisons required for one pattern matching is reduced from 16 × 16 = 256 [times] to 4 × 4 = 16 [times]. Thus, even if the number of comparisons is quadrupled, the total number of comparisons (16 × 4 = 64)
[Times]) is a sufficiently small number of times as compared with the conventional image recognition method that does not support rotation. Of course, if an image recognition method with a smaller number of comparisons is adopted, the number of comparisons can be further reduced.

【0063】なお、特定画像判定結果出力部7から出力
される判定結果は、基準パターンと同一のパターンを検
出した場合には、特定画像を認識した旨の情報となり、
上記パターンを検出できなかった場合には、特定画像を
認識していない旨の情報となる。また、特定画像判定結
果出力部7からは、一致した基準パターンの種類(回転
角度)を表す情報と走査位置を表す情報とが出力されて
おり、これらの情報を上記パターンの検出時に参照すれ
ば、いずれのパターンをどの位置で検出したのかが分か
る。もちろん、特定画像判定結果出力部7からの出力を
利用する装置あるいは使用者が、特定画像の認識/非認
識を表す情報のみを必要とする場合には、特定画像判定
結果出力部7から他の情報を出力する必要はない。
When the same pattern as the reference pattern is detected, the judgment result output from the specific image judgment result output unit 7 becomes information indicating that the specific image has been recognized.
If the pattern cannot be detected, the information indicates that the specific image has not been recognized. The specific image determination result output unit 7 outputs information indicating the type (rotation angle) of the matched reference pattern and information indicating the scanning position. If these information are referred to when the pattern is detected, , Which pattern is detected at which position. Of course, if the device or user using the output from the specific image determination result output unit 7 needs only information indicating recognition / non-recognition of the specific image, the specific image determination result output unit 7 outputs another information. No information needs to be output.

【0064】以上説明したように、本装置によれば、特
定画像の部分画像については通常の解像度で検出し、検
出した部分画像の位置情報をある程度の精度で保持しつ
つ解像度を低下させた画像に対してパターンマッチング
を行うようにしたので、十分な検出精度を達成できる。
この結果、特定画像のみならず、その回転画像をも認識
するようにしても、パターンマッチングに要する回路規
模および手間を大幅に削減しつつ、十分な検出精度を達
成できる。
As described above, according to the present apparatus, a partial image of a specific image is detected at a normal resolution, and an image obtained by lowering the resolution while retaining the position information of the detected partial image with a certain degree of accuracy. , The pattern matching is performed, so that sufficient detection accuracy can be achieved.
As a result, even when not only the specific image but also the rotated image is recognized, sufficient detection accuracy can be achieved while significantly reducing the circuit scale and labor required for pattern matching.

【0065】(4)変形例 次に、本装置の変形例について説明する。図15は本変
形例の基本的な構成を示すブロック図であり、この図に
示す構成が図6に示すものと異なる点は、フィルタリン
グ部4とサンプリング部5とを入れ替えた点、すなわ
ち、フィルタ処理とサンプリング処理との順序を逆転し
た点である。このような構成としても、本装置と同様の
効果を得ることができる。さらに、このような構成を採
ることによって、2値化部1に入力される画像データの
サイズが同じでも、フィルタリング部4に入力される画
像データのサイズがサンプリング部5によって削減され
るのでフィルタ処理の際に要するメモリ容量を低減する
ことができる。したがって、図6の構成による本装置に
比較して、回路規模を小さくすることができる。
(4) Modification Next, a modification of the present apparatus will be described. FIG. 15 is a block diagram showing a basic configuration of the present modification. The configuration shown in FIG. 15 differs from that shown in FIG. 6 in that the filtering unit 4 and the sampling unit 5 are replaced, that is, the filter The point is that the order of the processing and the sampling processing is reversed. Even with such a configuration, the same effect as that of the present device can be obtained. Furthermore, by adopting such a configuration, even if the size of the image data input to the binarization unit 1 is the same, the size of the image data input to the filtering unit 4 is reduced by the sampling unit 5, so that the filtering process is performed. In this case, the required memory capacity can be reduced. Therefore, the circuit scale can be reduced as compared with the present apparatus having the configuration of FIG.

【0066】(5)補足 なお、読み取り装置で読み取られた特定画像および入力
画像の解像度や、特定画像の内容にもよるが、上述した
本装置では、何らかの誤差により、特定画像の部分画像
の位置を表す黒画素が、本来とは異なるブロックに対応
する場合が考えられる(図10参照)。そこで、このよ
うなズレを考慮し、余裕をもって基準パターンを作成す
るようにしてもよい。例えば、特定画像のサンプリング
後の粗2値画像データをそのままパターンマッチングに
使用するのではなく、各部分画像の位置のズレを考慮
し、図16に示すように、各黒画素(黒ブロック)の周
辺の所定範囲内にある白画素(白ブロック)をも黒画素
が存在する領域(斜線で示された領域)とした後にパタ
ーンマッチングを行うようにしてもよい。ただし、領域
内に1つでも黒画素が存在すれば当該領域に対する黒画
素が存在したと判断し、全領域に対する黒画素が存在
し、他の領域においては白画素が存在しない場合に特定
画像を認識したと判定する。なお、図16から明らかな
ように、上記所定範囲は各黒画素毎に設定可能である。
逆に、ある程度の誤差が生じても、特定画像の部分画像
の位置を表す黒画素(図9のフィルタリング部からの出
力画像8b参照)がブロックの境界付近に位置しないよ
うに特定画像の内容およびブロックの大きさを設定する
ようにしてもよい。
(5) Supplement Although it depends on the resolution of the specific image and the input image read by the reading device and the content of the specific image, in the above-described device, the position of the partial image of the specific image is changed due to some error. May correspond to a block different from the original block (see FIG. 10). Therefore, a reference pattern may be created with a margin in consideration of such a deviation. For example, instead of using the coarse binary image data after the sampling of the specific image as it is for pattern matching, the deviation of the position of each partial image is considered, and as shown in FIG. Pattern matching may be performed after white pixels (white blocks) within a predetermined range around the area are also determined as areas where black pixels are present (areas indicated by oblique lines). However, if at least one black pixel exists in the region, it is determined that a black pixel exists for the region. If a black pixel exists for the entire region and no white pixel exists for other regions, the specific image is determined. It is determined that it has been recognized. As is clear from FIG. 16, the predetermined range can be set for each black pixel.
Conversely, even if a certain degree of error occurs, the contents of the specific image and the black pixels (see the output image 8b from the filtering unit in FIG. 9) indicating the position of the partial image of the specific image are not positioned near the boundary of the block. The size of the block may be set.

【0067】さらに、前述の本装置では、図13に示す
ウィンドウ領域13とマスク領域14aおよび14bと
を用いて部分画像を認識するようにしたので、0度、9
0度、180度、270度以外の様々な角度で回転させ
た特定画像に応じた基準パターンさえ用意すれば任意の
角度に対応可能である。しかも、基準パターンはデータ
量の少ない粗2値画像データで表されるので、2値画像
データをそのまま保持する場合に比較して少ないメモリ
容量で多数の基準パターンを保持することができるとい
う利点がある。換言すれば、特定画像が回転しても部分
画像の形状が変化しないという特徴により、処理量およ
び回路規模の増大を抑制しつつ画像の回転に対応するこ
とができる。
Further, in the above-described apparatus, the partial image is recognized using the window area 13 and the mask areas 14a and 14b shown in FIG.
Any angle can be used as long as a reference pattern corresponding to a specific image rotated at various angles other than 0, 180, and 270 degrees is prepared. Moreover, since the reference pattern is represented by coarse binary image data having a small data amount, there is an advantage that a large number of reference patterns can be held with a small memory capacity as compared with a case where the binary image data is held as it is. is there. In other words, the feature that the shape of the partial image does not change even when the specific image is rotated makes it possible to cope with the rotation of the image while suppressing an increase in the processing amount and the circuit scale.

【0068】また、本実施形態では、マスク領域14a
および14bとして円形の図形を採用したが、正多角形
などの回転画像が自身に完全に重なる図形を採用しても
よい。ただし、使用する図形に応じて、対応可能な画像
の回転角度が異なる。例えば、正方形を採用した場合に
は、0度、90度、180度、270度の回転のみに対
応可能であり、正三角形を採用した場合には、0度、1
20度、240度の回転のみに対応可能である。なお、
上記角度は時計回り方向の回転角度である。
In this embodiment, the mask region 14a
Although a circular figure is adopted as the elements 14b and 14b, a figure in which a rotated image such as a regular polygon completely overlaps itself may be adopted. However, the rotation angle of the image that can be handled differs depending on the figure used. For example, when a square is adopted, only rotations of 0 degrees, 90 degrees, 180 degrees, and 270 degrees can be supported.
Only rotations of 20 degrees and 240 degrees are possible. In addition,
The angle is a clockwise rotation angle.

【0069】ところで、本装置において、パターンマッ
チングを行うための走査時に、ウィンドウ領域内に特定
画像が存在するならば、当該ウィンドウ領域内の黒画素
数は基準パターンにおける黒画素数と等しくなる。この
ことを利用し、当該ウィンドウ領域内の黒画素数が基準
パターンの黒画素数と一致した場合にのみ、パターンマ
ッチングを行うようにし、処理の簡素化および精度の向
上を図ってもよい。
By the way, in the present apparatus, if a specific image exists in the window area during scanning for performing pattern matching, the number of black pixels in the window area becomes equal to the number of black pixels in the reference pattern. By utilizing this fact, pattern matching may be performed only when the number of black pixels in the window area matches the number of black pixels in the reference pattern, so that the processing may be simplified and the accuracy may be improved.

【0070】また、基準パターンについては、上述した
方法以外の任意の手法で取得し、設定するようにしても
よい。さらに、認識対象の特定画像の特定色が1色の場
合には、図6に示す構成において、2値化部1を1つの
2値化部から構成し、2値画像データ選択部2を削除し
てもよい。また、入力画像についてのサンプリング処理
において、1ブロックを複数画素として2値画像データ
を得るようにしてもよい。すなわち、サンプリング処理
によるデータの単純化の程度は任意に設定可能である。
もちろん、特定画像についても上記と同一の程度で単純
化して基準パターンをする必要がある。
The reference pattern may be obtained and set by an arbitrary method other than the method described above. Further, when the specific color of the specific image to be recognized is one color, in the configuration shown in FIG. 6, the binarizing unit 1 is composed of one binarizing unit, and the binary image data selecting unit 2 is deleted. May be. Further, in the sampling process for the input image, binary image data may be obtained by using one block as a plurality of pixels. That is, the degree of simplification of the data by the sampling process can be arbitrarily set.
Needless to say, it is necessary to simplify the reference pattern for the specific image to the same extent as described above.

【0071】なお、上述した実施形態および変形例に係
る画像認識方法は、プログラム言語にて記述されたソフ
トウェアとして実現される。また、上述した実施形態お
よび変形例に係る画像認識装置は、コンピュータシステ
ムおよびソフトウェアにより実現可能である。
Note that the image recognition methods according to the above-described embodiments and modifications are realized as software described in a programming language. Further, the image recognition device according to the above-described embodiment and the modified example can be realized by a computer system and software.

【0072】[0072]

【発明の効果】以上説明したように、本発明によれば、
入力画像から特定画像を簡単かつ高速に認識することが
できる。しかも、特定画像のみならず、その回転画像を
も高速に認識することができる。よって、簡単な構成お
よび処理で高速に特定画像の認識を行うことができる。
As described above, according to the present invention,
A specific image can be easily and quickly recognized from an input image. In addition, not only the specific image but also the rotated image can be recognized at high speed. Therefore, the specific image can be recognized at high speed with a simple configuration and processing.

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

【図1】 同装置により実現される画像認識方法におけ
る認識処理の流れを示すフローチャートである。
FIG. 1 is a flowchart showing a flow of a recognition process in an image recognition method realized by the apparatus.

【図2】 本発明の第1実施形態による画像認識装置に
より実現される画像認識方法における登録処理の流れを
示すフローチャートである。
FIG. 2 is a flowchart illustrating a flow of a registration process in an image recognition method realized by the image recognition device according to the first embodiment of the present invention.

【図3】 同装置のフィルタリング部4によるフィルタ
処理において使用する領域Rを示す図である。
FIG. 3 is a diagram showing a region R used in a filtering process by a filtering unit 4 of the apparatus.

【図4】 同フィルタ処理を説明するための図である。FIG. 4 is a diagram for explaining the filter processing.

【図5】 同フィルタ処理の流れを示すフローチャート
である。
FIG. 5 is a flowchart showing a flow of the filter processing.

【図6】 同装置の構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of the same device.

【図7】 同装置の2値化部1に含まれる2値化部A1
aの構成例を示す図である。
FIG. 7 shows a binarization unit A1 included in the binarization unit 1 of the apparatus.
It is a figure showing the example of composition of a.

【図8】 同装置の2値画像データ選択部2の構成例を
示す図である。
FIG. 8 is a diagram showing a configuration example of a binary image data selection unit 2 of the apparatus.

【図9】 同装置のフィルタリング部4の処理を説明す
るための図である。
FIG. 9 is a diagram for explaining processing of a filtering unit 4 of the apparatus.

【図10】 同装置のサンプリング部5の処理を説明す
るための図である。
FIG. 10 is a diagram for explaining processing of a sampling unit 5 of the apparatus.

【図11】 特定画像が含まれた原稿画像の一例を示す
図である。
FIG. 11 is a diagram illustrating an example of a document image including a specific image.

【図12】 特定画像の一例を示す図である。FIG. 12 is a diagram illustrating an example of a specific image.

【図13】 同装置の特定画像部分判定部3によるテン
プレートマッチング処理を説明するための図である。
FIG. 13 is a diagram for explaining template matching processing by a specific image portion determination unit 3 of the same device.

【図14】 同装置の特定画像部分判定部3の処理を説
明するための図である。
FIG. 14 is a diagram for explaining processing of a specific image portion determination unit 3 of the same device.

【図15】 同装置の変形例の構成を示すブロック図で
ある。
FIG. 15 is a block diagram showing a configuration of a modification of the apparatus.

【図16】 同装置の特定画像判定結果出力部7による
認識判定処理を説明するための図である。
FIG. 16 is a diagram illustrating a recognition determination process performed by a specific image determination result output unit 7 of the apparatus.

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

1…2値化部、1a…2値化部A、1b…2値化部B、
1c…2値化部C、1d…2値化部D、2…2値画像デ
ータ選択部、3…特定画像部分判定部、4…フィルタリ
ング部、5…サンプリング部、6…基準パターン記憶
部、7…特定画像判定結果出力部、10…入力画像、1
1a…特定画像A、11b…特定画像B、11c…特定
画像C、11d…特定画像D、12a…部分画像A、1
2b…部分画像B、12c…部分画像C、12d…部分
画像D、12e…部分画像E、12f…部分画像F、1
4a…マスク領域A、14b…マスク領域B、15a…
特定画像部分判定部の入力画像A、15b…特定画像部
分判定部の入力画像B、16a…特定画像部分判定部の
出力画像A、16b…特定画像部分判定部の出力画像B
1 binarization section, 1a binarization section A, 1b binarization section B,
1c Binarization section C, 1d Binarization section D, 2 ... Binary image data selection section, 3 ... Specific image portion determination section, 4 ... Filtering section, 5 ... Sampling section, 6 ... Reference pattern storage section, 7 ... Specific image determination result output unit 10 ... Input image, 1
1a specific image A, 11b specific image B, 11c specific image C, 11d specific image D, 12a partial image A, 1
2b partial image B, 12c partial image C, 12d partial image D, 12e partial image E, 12f partial image F, 1
4a: Mask area A, 14b: Mask area B, 15a ...
Input images A and 15b of the specific image portion determining section: input images B and 16a of the specific image portion determining section, output images A and 16b of the specific image portion determining section and output images B of the specific image portion determining section

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−191678(JP,A) 特開 平3−160576(JP,A) 特開 昭63−211474(JP,A) 特開 平8−137908(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 7/00 - 7/60 G06T 1/00 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-59-191678 (JP, A) JP-A-3-160576 (JP, A) JP-A-63-211474 (JP, A) JP-A 8- 137908 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G06T 7 /00-7/60 G06T 1/00 JICST file (JOIS)

Claims (20)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一形状および同一サイズの複数の部分
画像からなる特定画像を入力画像から認識する画像認識
方法であって、 前記入力画像から前記部分画像を認識し、該部分画像が
存在する位置の画素を有効画素、該部分画像が存在しな
い位置の画素を無効画素とした2値画像を生成する入力
画像部分判定ステップと、 前記入力画像部分判定ステップで生成された前記2値画
像を、複数の画素を含むサイズのブロックにより分割
し、前記有効画素を含むブロックを有効ブロック、前記
有効画素を含まないブロックを無効ブロックとして表現
した2値画像に単純化する入力画像サンプリングステッ
プと、 前記入力画像サンプリングステップで単純化された前記
2値画像と前記特定画像を予め前記ブロック単位で単純
化して表した基準パターンとをマッチングし、該マッチ
ングの結果を出力する全体判定ステップとを有すること
を特徴とする画像認識方法。
1. An image recognition method for recognizing a specific image composed of a plurality of partial images having the same shape and the same size from an input image, comprising: recognizing the partial image from the input image; An input image part determining step of generating a binary image in which pixels of the input image are valid pixels and pixels of a position where the partial image does not exist are invalid pixels; and a plurality of the binary images generated in the input image part determining step. An input image sampling step of dividing the block including the effective pixels into a binary image in which the blocks including the effective pixels are expressed as an effective block and the blocks not including the effective pixels as an invalid block; A reference pattern which is obtained by simplifying the binary image and the specific image simplified in the sampling step in units of the blocks. And an overall determination step of outputting the result of the matching.
【請求項2】 前記入力画像サンプリングステップで
は、前記入力画像部分判定ステップで生成された前記2
値画像を、複数の画素を含むサイズのブロックにより分
割し、前記有効画素を含むブロックを有効ブロック、前
記有効画素を含まないブロックを無効ブロックとして表
現し、さらに1つの前記有効ブロックを1つの有効画
素、1つの前記無効ブロックを1つの無効画素で表して
2値画像を生成し、 前記全体判定ステップでは、前記入力画像サンプリング
ステップで生成された前記2値画像と前記特定画像を予
め前記ブロック単位で表現した上で各ブロックをそれぞ
れ1つの画素で表した基準パターンとをマッチングし、
該マッチングの結果を出力することを特徴とする請求項
1に記載の画像認識方法。
2. The method according to claim 1, wherein in the input image sampling step, the second image generated in the input image portion determination step is generated.
The value image is divided by a block having a size including a plurality of pixels, a block including the effective pixels is expressed as an effective block, a block not including the effective pixels is expressed as an invalid block, and one effective block is expressed as one effective block. A pixel, the one invalid block is represented by one invalid pixel, and a binary image is generated. In the overall determination step, the binary image and the specific image generated in the input image sampling step are previously stored in the block unit. Then, each block is matched with a reference pattern represented by one pixel.
The image recognition method according to claim 1, wherein a result of the matching is output.
【請求項3】 前記入力画像部分判定ステップで生成さ
れた前記2値画像上で複数の有効画素が隣接する場合に
は1つの有効画素を除いた他の有効画素を無効画素とし
て該2値画像を変更する入力画像フィルタリングステッ
プを有し、 前記入力画像サンプリングステップでは、前記入力画像
フィルタリングステップで変更された前記2値画像を、
複数の画素を含むサイズのブロックにより分割し、前記
有効画素を含むブロックを有効ブロック、前記有効画素
を含まないブロックを無効ブロックとして表現した2値
画像に単純化することを特徴とする請求項1に記載の画
像認識方法。
3. When a plurality of effective pixels are adjacent to each other on the binary image generated in the input image portion determining step, the other valid pixels except one effective pixel are regarded as invalid pixels. Having an input image filtering step of changing the binary image changed in the input image filtering step,
2. The image processing apparatus according to claim 1, wherein the image data is divided into blocks each having a size including a plurality of pixels, and a block including the effective pixels is simplified as a valid image, and a block not including the effective pixels is expressed as an invalid block. The image recognition method described in 1.
【請求項4】 前記入力画像サンプリングステップで単
純化された前記2値画像上で複数の有効画素が隣接する
場合には1つの有効画素を除いた他の有効画素を無効画
素として該2値画像を変更する入力画像フィルタリング
ステップを有し、 前記全体判定ステップでは、前記入力画像フィルタリン
グステップで生成された前記2値画像と前記特定画像を
予め前記ブロック単位で単純化して表した基準パターン
とをマッチングし、該マッチングの結果を出力すること
を特徴とする請求項1に記載の画像認識方法。
4. When a plurality of effective pixels are adjacent to each other on the binary image simplified in the input image sampling step, another effective pixel excluding one effective pixel is regarded as an invalid pixel. In the overall determination step, the binary image generated in the input image filtering step is matched with a reference pattern that is a simplified representation of the specific image in block units. 2. The image recognition method according to claim 1, wherein a result of the matching is output.
【請求項5】 前記入力画像を予め設定された条件に基
づいて2値化し2値画像を生成する入力画像2値化ステ
ップを有し、 前記入力画像部分判定ステップは、前記入力画像2値化
ステップで生成された前記2値画像から前記部分画像を
認識し、該部分画像が存在する位置の画素を有効画素、
該部分画像が存在しない位置の画素を無効画素とした2
値画像を生成することを特徴とする請求項1に記載の画
像認識方法。
5. An input image binarizing step of binarizing the input image based on a preset condition to generate a binary image, wherein the input image portion determining step includes: Recognizing the partial image from the binary image generated in the step, a pixel at a position where the partial image exists as an effective pixel,
A pixel at a position where the partial image does not exist is regarded as an invalid pixel 2
2. The image recognition method according to claim 1, wherein a value image is generated.
【請求項6】 前記特定画像から前記部分画像を認識
し、該部分画像が存在する位置の画素を有効画素、該部
分画像が存在しない位置の画素を無効画素とした2値画
像を生成する特定画像部分判定ステップと、 前記特定画像部分判定ステップで生成された前記2値画
像を、前記ブロックにより分割し、前記有効画素を含む
ブロックを有効ブロック、前記有効画素を含まないブロ
ックを無効ブロックとして表現した2値画像である基準
パターンを生成する特定画像サンプリングステップとを
有し、 前記全体判定ステップでは、前記入力画像サンプリング
ステップで単純化された前記2値画像と前記特定画像サ
ンプリングステップで生成された前記基準パターンとを
マッチングし、該マッチングの結果を出力することを特
徴とする請求項1に記載の画像認識方法。
6. A method of recognizing the partial image from the specific image and generating a binary image in which a pixel at a position where the partial image exists is an effective pixel and a pixel at a position where the partial image does not exist is an invalid pixel. The binary image generated in the image part determining step and the specific image part determining step is divided by the block, and a block including the effective pixel is represented as a valid block, and a block not including the valid pixel is represented as an invalid block. And a specific image sampling step of generating a reference pattern that is a binary image obtained by the above. In the overall determination step, the binary image simplified in the input image sampling step and the specific image generated in the specific image sampling step are provided. 2. The method according to claim 1, wherein the matching is performed with the reference pattern, and a result of the matching is output. Image recognition method.
【請求項7】 前記入力画像部分判定ステップで生成さ
れた前記2値画像上で複数の有効画素が隣接する場合に
は1つの有効画素を除いた他の有効画素を無効画素とし
て該2値画像を変更する入力画像フィルタリングステッ
プと、 前記特定画像部分判定ステップで生成された前記2値画
像上で複数の有効画素が隣接する場合には1つの有効画
素を除いた他の有効画素を無効画素として該2値画像を
変更する特定画像フィルタリングステップとを有し、 前記入力画像サンプリングステップでは、前記入力画像
フィルタリングステップで変更された前記2値画像を、
複数の画素を含むサイズのブロックにより分割し、前記
有効画素を含むブロックを有効ブロック、前記有効画素
を含まないブロックを無効ブロックとして表現した2値
画像に単純化し、 前記特定画像サンプリングステップでは、前記特定画像
フィルタリングステップで生成された前記2値画像を、
前記ブロックにより分割し、前記有効画素を含むブロッ
クを有効ブロック、前記有効画素を含まないブロックを
無効ブロックとして表現した2値画像である基準パター
ンを生成することを特徴とする請求項6に記載の画像認
識方法。
7. When a plurality of valid pixels are adjacent to each other on the binary image generated in the input image portion determining step, the binary image is regarded as an invalid pixel except for one valid pixel. Input image filtering step of changing, and when a plurality of effective pixels are adjacent on the binary image generated in the specific image portion determination step, other effective pixels except one effective pixel are regarded as invalid pixels. A specific image filtering step of changing the binary image, wherein in the input image sampling step, the binary image changed in the input image filtering step is
Dividing by a block having a size including a plurality of pixels, simplifying a block including the effective pixels into a binary image expressed as an effective block, and a block not including the effective pixels as an invalid block, in the specific image sampling step, The binary image generated in the specific image filtering step;
7. The reference pattern according to claim 6, wherein the reference pattern is a binary image that is divided by the block, and a block including the effective pixel is expressed as an effective block, and a block not including the effective pixel is expressed as an invalid block. Image recognition method.
【請求項8】 前記入力画像サンプリングステップで単
純化された前記2値画像上で複数の有効画素が隣接する
場合には1つの有効画素を除いた他の有効画素を無効画
素として該2値画像を変更する入力画像フィルタリング
ステップと、 前記特定画像サンプリングステップで生成された前記基
準パターン上で複数の有効画素が隣接する場合には1つ
の有効画素を除いた他の有効画素を無効画素として該基
準パターンを変更する特定画像フィルタリングステップ
とを有し、 前記全体判定ステップでは、前記入力画像フィルタリン
グステップで生成された前記2値画像と前記特定画像フ
ィルタリングステップで変更された前記基準パターンと
をマッチングし、該マッチングの結果を出力することを
特徴とする請求項6に記載の画像認識方法。
8. When a plurality of valid pixels are adjacent to each other on the binary image simplified in the input image sampling step, the other valid pixels except one valid pixel are regarded as invalid pixels. An input image filtering step of changing the reference pattern, and when a plurality of effective pixels are adjacent to each other on the reference pattern generated in the specific image sampling step, the other effective pixels except one effective pixel are regarded as invalid pixels and the reference A specific image filtering step of changing a pattern, wherein in the overall determination step, the binary image generated in the input image filtering step is matched with the reference pattern changed in the specific image filtering step, The image recognition method according to claim 6, wherein a result of the matching is output.
【請求項9】 前記入力画像を予め設定された条件に基
づいて2値化し2値画像を生成する入力画像2値化ステ
ップと、 前記部分画像の色を基準として前記特定画像を2値化し
て2値画像を生成する特定画像2値化ステップとを有
し、 前記入力画像部分判定ステップは、前記入力画像2値化
ステップで生成された前記2値画像から前記部分画像を
認識し、該部分画像が存在する位置の画素を有効画素、
該部分画像が存在しない位置の画素を無効画素とした2
値画像を生成し、 前記特定画像部分判定ステップは、前記特定画像2値化
ステップで生成された前記2値画像から前記部分画像を
認識し、該部分画像が存在する位置の画素を有効画素、
該部分画像が存在しない位置の画素を無効画素とした2
値画像を生成することを特徴とする請求項6に記載の画
像認識方法。
9. An input image binarizing step of binarizing the input image based on a preset condition to generate a binary image, and binarizing the specific image based on a color of the partial image. A specific image binarizing step of generating a binary image, wherein the input image part determining step recognizes the partial image from the binary image generated in the input image binarizing step, and The pixel at the position where the image exists is the effective pixel,
A pixel at a position where the partial image does not exist is regarded as an invalid pixel 2
Generating a value image, the specific image part determination step recognizes the partial image from the binary image generated in the specific image binarization step, and sets a pixel at a position where the partial image exists as an effective pixel;
A pixel at a position where the partial image does not exist is regarded as an invalid pixel 2
The image recognition method according to claim 6, wherein a value image is generated.
【請求項10】 前記部分画像の形状はその回転画像が
自らに完全に重なる形状であることを特徴とする請求項
1乃至9いずれかに記載の画像認識方法。
10. The image recognition method according to claim 1, wherein the shape of the partial image is such that the rotated image completely overlaps itself.
【請求項11】 同一形状および同一サイズの複数の部
分画像からなる特定画像を入力画像から認識する画像認
識装置であって、 入力した画像データで表される画像から前記部分画像を
認識し、該部分画像が存在する位置の画素を有効画素、
該部分画像が存在しない位置の画素を無効画素とした2
値画像を表す2値画像データを生成する部分判定手段
と、 前記部分判定手段により生成された前記2値画像データ
で表される前記2値画像を、複数の画素を含むサイズの
ブロックにより分割し、前記有効画素を含むブロックを
有効ブロック、前記有効画素を含まないブロックを無効
ブロックとして表現した2値画像に単純化し、該2値画
像を表す2値画像データを生成するサンプリング手段
と、 前記特定画像を予め前記ブロック単位で単純化して表現
した基準パターンを表す基準パターンデータを記憶した
記憶手段と、 前記サンプリング手段により生成された前記2値画像デ
ータで表される2値画像と前記記憶手段に記憶された前
記基準パターンデータで表される前記基準パターンとを
マッチングし、該マッチングの結果を出力する全体判定
手段とを具備し、 前記部分判定手段が入力する前記画像データは前記入力
画像を表す画像データであることを特徴とする画像認識
装置。
11. An image recognition apparatus for recognizing a specific image composed of a plurality of partial images having the same shape and the same size from an input image, the apparatus recognizing the partial image from an image represented by input image data, The pixel at the position where the partial image exists is an effective pixel,
A pixel at a position where the partial image does not exist is regarded as an invalid pixel 2
A partial determining unit that generates binary image data representing a value image; and dividing the binary image represented by the binary image data generated by the partial determining unit into blocks each having a size including a plurality of pixels. A sampling unit that simplifies a block including the valid pixels into a valid image and a block that does not include the valid pixels into a binary image, and generates binary image data representing the binary image; Storage means for storing reference pattern data representing a reference pattern in which an image is simplified in block units in advance; and a binary image represented by the binary image data generated by the sampling means and the storage means. An overall format that matches the reference pattern represented by the stored reference pattern data and outputs the result of the matching And means, the image data, wherein the portions determining means for inputting the image recognition apparatus, characterized in that the image data representing the input image.
【請求項12】 前記サンプリング手段は、前記部分判
定手段により生成された前記2値画像データで表される
2値画像を、複数の画素を含むサイズのブロックにより
分割し、前記有効画素を含むブロックを有効ブロック、
前記有効画素を含まないブロックを無効ブロックとして
表現し、さらに1つの前記有効ブロックを1つの有効画
素、1つの前記無効ブロックを1つの無効画素で表した
2値画像に単純化し、該2値画像を表す2値画像データ
を生成し、 前記記憶手段は、前記特定画像を予め前記ブロック単位
で単純化して表現した上で各ブロックをそれぞれ1つの
画素で表した基準パターンを表す基準パターンデータを
記憶したことを特徴とする請求項11に記載の画像認識
装置。
12. The block including the effective pixel, wherein the sampling unit divides a binary image represented by the binary image data generated by the partial determination unit into blocks each having a size including a plurality of pixels. Is an effective block,
A block not including the effective pixel is represented as an invalid block, and one effective block is simplified into a binary image represented by one effective pixel and one invalid block by one invalid pixel. The storage means stores reference pattern data representing a reference pattern in which each block is represented by one pixel after the specific image is simplified and expressed in advance in the block unit. The image recognition device according to claim 11, wherein:
【請求項13】 前記部分判定手段により生成された前
記2値画像データで表される前記2値画像上で複数の有
効画素が隣接する場合には1つの有効画素を除いた他の
有効画素を無効画素として該2値画像データを変更する
フィルタリング手段を具備し、 前記サンプリング手段は、前記フィルタリング手段によ
り変更された前記2値画像データで表される前記2値画
像を、複数の画素を含むサイズのブロックにより分割
し、前記有効画素を含むブロックを有効ブロック、前記
有効画素を含まないブロックを無効ブロックとして表現
した2値画像に単純化し、該2値画像を表す2値画像デ
ータを生成することを特徴とする請求項11に記載の画
像認識装置。
13. When a plurality of effective pixels are adjacent to each other on the binary image represented by the binary image data generated by the partial determination unit, another effective pixel excluding one effective pixel is removed. Filtering means for changing the binary image data as invalid pixels, wherein the sampling means converts the binary image represented by the binary image data changed by the filtering means to a size including a plurality of pixels. And simplifies the block including the effective pixel into a binary image expressing the block including the effective pixel as an effective block and the block including the effective pixel as an invalid block, and generates binary image data representing the binary image. The image recognition device according to claim 11, wherein:
【請求項14】 前記サンプリング手段で生成された前
記2値画像データで表される前記2値画像上で複数の有
効画素が隣接する場合には1つの有効画素を除いた他の
有効画素を無効画素として該2値画像データを変更する
フィルタリング手段を具備し、 前記全体判定手段では、前記フィルタリング手段により
生成された前記2値画像データで表される2値画像と、
前記記憶手段に記憶された前記基準パターンデータで表
される前記基準パターンとをマッチングし、該マッチン
グの結果を出力することを特徴とする請求項11に記載
の画像認識装置。
14. When a plurality of valid pixels are adjacent to each other on the binary image represented by the binary image data generated by the sampling means, the other valid pixels except one valid pixel are invalidated. A filtering unit that changes the binary image data as a pixel, wherein the overall determination unit includes a binary image represented by the binary image data generated by the filtering unit;
The image recognition apparatus according to claim 11, wherein matching is performed with the reference pattern represented by the reference pattern data stored in the storage unit, and a result of the matching is output.
【請求項15】 入力した画像データを予め設定された
条件に基づいて2値化し2値画像データを生成する2値
化手段を具備し、 前記部分判定手段は、前記2値化手段により生成された
前記2値画像データを入力し、該2値画像データで表さ
れる2値画像から前記部分画像を認識し、該部分画像が
存在する位置の画素を有効画素、該部分画像が存在しな
い位置の画素を無効画素とした2値画像を表す2値画像
データを生成することを特徴とする請求項11に記載の
画像認識装置。
15. Binarization means for binarizing input image data based on preset conditions to generate binary image data, wherein said partial determination means is generated by said binarization means. The binary image data is input, the partial image is recognized from the binary image represented by the binary image data, a pixel at a position where the partial image exists is a valid pixel, a position at which the partial image does not exist The image recognition apparatus according to claim 11, wherein binary image data representing a binary image in which the pixels of (b) are invalid pixels is generated.
【請求項16】 入力した画像データに対して、予め設
定された複数の条件に基づいて該条件毎に独立して2値
化を行い、複数の2値画像データを生成する2値化手段
と、 前記2値化手段により生成された前記複数の2値画像デ
ータに基づいて1つの2値画像データを生成する選択手
段とを具備し、 前記部分判定手段は、前記選択手段により生成された前
記2値画像データを入力し、該2値画像データで表され
る2値画像から前記部分画像を認識し、該部分画像が存
在する位置の画素を有効画素、該部分画像が存在しない
位置の画素を無効画素とした2値画像を表す2値画像デ
ータを生成することを特徴とする請求項11に記載の画
像認識装置。
16. A binarizing means for performing binarization on input image data independently for each condition based on a plurality of preset conditions to generate a plurality of binary image data. And selecting means for generating one piece of binary image data based on the plurality of pieces of binary image data generated by the binarizing means. Binary image data is input, the partial image is recognized from the binary image represented by the binary image data, the pixel at the position where the partial image exists is the effective pixel, the pixel at the position where the partial image does not exist The image recognition apparatus according to claim 11, wherein binary image data representing a binary image in which is set as an invalid pixel is generated.
【請求項17】 前記部分判定手段が入力する前記画像
データは前記入力画像および前記特定画像であり、 前記記憶手段は、前記部分判定手段が入力する前記画像
データが前記特定画像の場合には、前記サンプリング手
段により生成された前記2値画像データを前記基準パタ
ーンデータとして記憶することを特徴とする請求項11
に記載の画像認識装置。
17. The image data input by the partial determination unit is the input image and the specific image, and the storage unit is configured to output the specific image if the image data input by the partial determination unit is the specific image. 12. The method according to claim 11, wherein the binary image data generated by the sampling unit is stored as the reference pattern data.
An image recognition device according to claim 1.
【請求項18】 前記部分判定手段が入力する前記画像
データは前記入力画像を表す画像データおよび前記特定
画像を表す画像データであり、 前記記憶手段は、前記部分判定手段が入力する前記画像
データが前記特定画像を表す画像データの場合には、前
記フィルタリング手段により生成された前記2値画像デ
ータを前記基準パターンデータとして記憶することを特
徴とする請求項13または14に記載の画像認識装置。
18. The image data input by the partial determination unit is image data representing the input image and image data representing the specific image. The storage unit stores the image data input by the partial determination unit. 15. The image recognition apparatus according to claim 13 , wherein in the case of image data representing the specific image, the binary image data generated by the filtering unit is stored as the reference pattern data.
【請求項19】 前記部分画像の形状はその回転画像が
自らに完全に重なる形状であることを特徴とする請求項
11乃至18いずれかに記載の画像認識装置。
19. The image recognition apparatus according to claim 11, wherein the shape of the partial image is such that the rotated image completely overlaps itself.
【請求項20】 同一形状および同一サイズの複数の部
分画像からなる特定画像を入力画像から認識する画像認
識方法を実現するプログラムであって、 前記入力画像から前記部分画像を認識し、該部分画像が
存在する位置の画素を有効画素、該部分画像が存在しな
い位置の画素を無効画素とした2値画像を生成する入力
画像部分判定ステップと、 前記入力画像部分判定ステップで生成された前記2値画
像を、複数の画素を含むサイズのブロックにより分割
し、前記有効画素を含むブロックを有効ブロック、前記
有効画素を含まないブロックを無効ブロックとして表現
した2値画像に単純化する入力画像サンプリングステッ
プと、 前記入力画像サンプリングステップで単純化された前記
2値画像と前記特定画像を予め前記ブロック単位で単純
化して表した基準パターンとをマッチングし、該マッチ
ングの結果を出力する全体判定ステップとを実現するプ
ログラムを記録したことを特徴とする記録媒体。
20. A program for implementing an image recognition method for recognizing a specific image composed of a plurality of partial images having the same shape and the same size from an input image, the program recognizing the partial image from the input image, and An input image portion determining step of generating a binary image in which a pixel at a position at which a partial image exists is an effective pixel, and a pixel at a position at which the partial image does not exist as an invalid pixel; An input image sampling step of dividing the image into blocks having a size including a plurality of pixels, and simplifying the block including the effective pixels into a binary image in which the blocks including the effective pixels are represented as valid blocks and the blocks not including the valid pixels are represented as invalid blocks; The binary image and the specific image simplified in the input image sampling step are simplified in block units in advance. A program for realizing an overall determination step of matching with a reference pattern expressed as a result and outputting the result of the matching.
JP32320397A 1997-11-25 1997-11-25 Image recognition method, image recognition device, and recording medium Expired - Fee Related JP3244041B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32320397A JP3244041B2 (en) 1997-11-25 1997-11-25 Image recognition method, image recognition device, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32320397A JP3244041B2 (en) 1997-11-25 1997-11-25 Image recognition method, image recognition device, and recording medium

Publications (2)

Publication Number Publication Date
JPH11161787A JPH11161787A (en) 1999-06-18
JP3244041B2 true JP3244041B2 (en) 2002-01-07

Family

ID=18152201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32320397A Expired - Fee Related JP3244041B2 (en) 1997-11-25 1997-11-25 Image recognition method, image recognition device, and recording medium

Country Status (1)

Country Link
JP (1) JP3244041B2 (en)

Also Published As

Publication number Publication date
JPH11161787A (en) 1999-06-18

Similar Documents

Publication Publication Date Title
JP3883696B2 (en) Method for scanning and detecting multiple photos and removing artificial edges
JPH05244414A (en) Picture processor
JP5042917B2 (en) Image processing apparatus and program
JP2011008549A (en) Image processor, image reader, multifunctional machine, image processing method, program, and recording medium
JP2003099788A (en) Image processor
US7016538B2 (en) Image processor for detecting specified pattern
US7961941B2 (en) Color form dropout using dynamic geometric solid thresholding
JP2010074342A (en) Image processing apparatus, image forming apparatus, and program
JPH07322057A (en) Increase of resolution of binary input picture and its increasing device together with improvement of appearance ofbinary input picture
JP3244041B2 (en) Image recognition method, image recognition device, and recording medium
US6983077B2 (en) Image processor
JP4324058B2 (en) Image processing apparatus and method
US8358848B2 (en) Image recognition device, copy apparatus and image recognition method
JP5056063B2 (en) Image processing apparatus and image processing program
US8260057B2 (en) Image processing apparatus that obtains a ruled line from a multi-value image
JP2003032480A (en) Device and method for processing image
JPH11136505A (en) Picture processor and picture processing method
WO2023013021A1 (en) Image processing device, image processing method, and program
JPH08237404A (en) Selection of optical character recognition mode
JP3557099B2 (en) Two-color image reduction conversion method and apparatus, and recording medium recording this method
JP2001351068A (en) Device and method for recognizing character, device and method for processing image and computer readable recording medium
JP4206604B2 (en) Pattern detection apparatus and method
JP2002279422A (en) Device, program and method for determining template matching
JP4218179B2 (en) Pattern detection apparatus and method
JPH11250179A (en) Character reocognition device and its method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071026

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081026

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091026

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111026

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121026

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121026

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131026

Year of fee payment: 12

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S802 Written request for registration of partial abandonment of right

Free format text: JAPANESE INTERMEDIATE CODE: R311802

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees