JPH0719277B2 - Image recognition device - Google Patents

Image recognition device

Info

Publication number
JPH0719277B2
JPH0719277B2 JP61221173A JP22117386A JPH0719277B2 JP H0719277 B2 JPH0719277 B2 JP H0719277B2 JP 61221173 A JP61221173 A JP 61221173A JP 22117386 A JP22117386 A JP 22117386A JP H0719277 B2 JPH0719277 B2 JP H0719277B2
Authority
JP
Japan
Prior art keywords
rank
sub
image
region
pixels
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
JP61221173A
Other languages
Japanese (ja)
Other versions
JPS6375989A (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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP61221173A priority Critical patent/JPH0719277B2/en
Publication of JPS6375989A publication Critical patent/JPS6375989A/en
Publication of JPH0719277B2 publication Critical patent/JPH0719277B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像認識装置に関し、特に文字パターン等の
画像を順位相関を使用して適確に認識する画像認識装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recognition device, and more particularly to an image recognition device that accurately recognizes an image such as a character pattern by using rank correlation.

〔従来の技術〕[Conventional technology]

文字パターン等の画像を認識する画像認識装置は、手書
き文字に限らず、タイプまたは印刷文字、更に文字に限
らず、その他の種々の画像情報をコンピュータ等の機械
装置に人間を介さずに入力するために使用され得る有益
な装置であり、種々の方式のものが研究開発されてい
る。
An image recognition device for recognizing an image such as a character pattern inputs not only handwritten characters but also type or print characters, and various other image information to a mechanical device such as a computer without human intervention. It is a useful device that can be used for various purposes, and various types have been researched and developed.

〔発明が解決しようとする問題点〕 従来、種々の画像認識装置が開発されてはいるが、まだ
完全な認識能力を有するものは開発されておらず、更に
多くの開発が必要とされ、これらの開発の上に立って更
に優れた認識能力を有するものを開発することが要望さ
れている。
[Problems to be Solved by the Invention] Conventionally, although various image recognition devices have been developed, those having complete recognition ability have not yet been developed, and more development is required. It is demanded to develop what has more excellent recognition ability based on the development of.

本発明の目的は、比較的簡単な手法により適確に画像を
認識し得る画像認識装置を提供することにある。
An object of the present invention is to provide an image recognition device capable of accurately recognizing an image by a relatively simple method.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の画像認識装置は、認識すべき画像を囲む所定形
状の領域を画定する領域画定手段と、該領域画定手段で
画定された所定形状の領域を所定の複数の副領域に分割
する分割手段と、該分割手段で分割された各副領域内に
存在する画像の画素数を求める画素数算出手段と、該画
素数算出手段で求めた各副領域の画素数の多い順に前記
複数の副領域を順位付けし、各副領域に対する順位値を
求める順位値算出手段と、該順位値算出手段で求めた各
副領域の順位値を基準画像の各副領域の順位値と比較し
て両者の順位相関を求める順位相関算出手段と、該順位
相関算出手段で求めた順位相関に基づいて認識すべき画
像が基準画像の同じであるか否かを判定する判定手段と
を有する。
The image recognition apparatus of the present invention includes a region defining unit that defines a region of a predetermined shape surrounding an image to be recognized, and a dividing unit that divides the region of the predetermined shape defined by the region defining unit into a plurality of predetermined sub-regions. A pixel number calculating means for obtaining the number of pixels of an image existing in each sub-region divided by the dividing means, and the plurality of sub-regions in descending order of the number of pixels of each sub-region obtained by the pixel number calculating means. And a rank value calculation means for calculating a rank value for each sub-area, and a rank value of each sub-area calculated by the rank-value calculation means is compared with a rank value of each sub-area of the reference image to rank the both. It has a rank correlation calculating means for obtaining the correlation, and a judging means for judging whether or not the images to be recognized are the same as the reference image based on the rank correlation calculated by the rank correlation calculating means.

〔作用〕[Action]

本発明の画像認識装置においては、認識すべき画像を囲
む所定形状の領域を複数の副領域に分割し、この分割し
た各副領域に存在する画像の画素数を求め、この画素数
の多い順に複数の副領域を順位付けして各副領域に対す
る順位値を求め、この順位値を基準画像の各副領域の順
位値と比較して両者の順位相関を求め、この順位相関に
基づいて認識すべき画像が基準画像と同じであるか否か
を判定している。
In the image recognition apparatus of the present invention, an area of a predetermined shape surrounding an image to be recognized is divided into a plurality of sub-areas, the number of pixels of the image existing in each of the divided sub-areas is calculated, and the number of pixels in descending order A plurality of sub-regions are ranked to obtain a rank value for each sub-region, this rank value is compared with the rank value of each sub-region of the reference image to obtain a rank correlation between the two, and recognition is performed based on this rank correlation. It is determined whether the power image is the same as the reference image.

〔実施例〕〔Example〕

以下、図面を用いて本発明の実施例を説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例に係る画像認識装置の作用を
示すフローチャートである。この実施例の画像認識装置
は、画像情報として文字パターンを識別する場合につい
て示し、この文字パターンを複数の副領域に分割し、こ
の各副領域における画素数の順位値を基準画像パター
ン、すなわち辞書パターンの順位値と比較して両者の順
位相関を求め、この順位相関により文字パターンを認識
している。
FIG. 1 is a flowchart showing the operation of the image recognition apparatus according to the embodiment of the present invention. The image recognition apparatus of this embodiment shows a case of identifying a character pattern as image information, divides this character pattern into a plurality of sub-regions, and determines the rank value of the number of pixels in each sub-region as a reference image pattern, that is, a dictionary. The rank correlation between the two is calculated by comparing with the rank value of the pattern, and the character pattern is recognized by this rank correlation.

すなわち、第1図において(a)に示すような文字パタ
ーン「代」が入力されたとすると、この文字パターンを
含むまたは囲む最小矩形を(b)に示すように算出し、
更にこの矩形を大きさの等しい複数の副領域、すなわち
第1図の(c)に示すようにM×N個の複数のブロック
に分割する(ステップ110、120)。なお、第1図の
(c)では4×4の16個のブロックに分割されている。
That is, if a character pattern "alternative" as shown in FIG. 1 (a) is input, a minimum rectangle including or surrounding this character pattern is calculated as shown in (b),
Further, this rectangle is divided into a plurality of sub-regions having the same size, that is, a plurality of M × N blocks as shown in FIG. 1 (c) (steps 110 and 120). In addition, in FIG. 1C, it is divided into 16 blocks of 4 × 4.

次に、M×N個に分割された各ブロック内に存在する画
素数、図示の場合には黒画素数を求める。第1図の
(d)は16個に分割された各ブロック内の数字で画素数
を示しているが、この画素数は第1図の(c)で示す文
字「代」に対応しているものである。それから、このよ
うに求めた各ブロック毎の画素数の多い順に各ブロック
に順位付けを行う(ステップ130)。第1図の(e)は
第1図の(d)に示す画素数に基づいてその多い順に番
号を1から16までの順位値を付したものであるが、画素
数が「85」と最も多いブロックが順位値1を付され、画
素数が「5」の最も少ないブロックが順位値16を付され
ている。この順位値ijは1以上で、M×N以下の値、す
なわち1≦ij≦M×Nであり、ここでj=1,2,・・・,M
×Nである。
Next, the number of pixels existing in each block divided into M × N, that is, the number of black pixels in the illustrated case is obtained. In FIG. 1 (d), the number of pixels is shown by the number in each block divided into 16 pieces, and this number of pixels corresponds to the character “dai” shown in FIG. 1 (c). It is a thing. Then, the blocks are ranked in descending order of the number of pixels in each block thus obtained (step 130). FIG. 1 (e) shows that the numbers are assigned rank values from 1 to 16 in descending order based on the number of pixels shown in FIG. 1 (d). A block having a large number is given a rank value of 1, and a block having the smallest number of pixels of "5" is given a rank value of 16. The rank value ij is greater than or equal to 1 and less than or equal to M × N, that is, 1 ≦ ij ≦ M × N, where j = 1, 2, ..., M
× N.

次のステップ140では、上述したように求めた入力文字
パターンの順位値ijを基準画像パターン、すなわち辞書
パターンの順位値αjと比較し、両者の順位相関γiα
を求めるのであるが、ここで第2図を参照して辞書パタ
ーンの順位値αjを記憶している文字データの辞書構成
について説明する。
In the next step 140, the rank value ij of the input character pattern obtained as described above is compared with the rank value αj of the reference image pattern, that is, the dictionary pattern, and the rank correlation γi α of the two.
The dictionary configuration of the character data storing the rank value αj of the dictionary pattern will be described with reference to FIG.

第2図において、文字パターン「代」は、上述したステ
ップ120,130と同様に最小矩形および複数の副領域であ
るブロックM×Nに分割され、各ブロック内に含まれる
画素数を求め、更にこの画素数の多い順に各ブロックを
順位付けする。
In FIG. 2, the character pattern “substitution” is divided into blocks M × N, which are the minimum rectangle and a plurality of sub-regions, as in steps 120 and 130 described above, and the number of pixels contained in each block is calculated. Each block is ranked in descending order of number.

第2図(f)はこのように順位付けされた順位値を示し
ているものであるが、このようにしてすべての文字パタ
ーンに対する順位値αjを求め、これらの順位値αjを
各文字パターンに対応してメモリ等に記憶して辞書デー
タを構成しておくのである。
FIG. 2 (f) shows the rank values ranked in this way. In this way, the rank values αj for all character patterns are obtained, and these rank values αj are assigned to each character pattern. Correspondingly, the dictionary data is constructed by storing it in a memory or the like.

このように構成されている辞書パターンの順位値αjを
メモリ等から順次読み出し、この辞書パターンの順位値
αjを上述したように算出した入力文字パターンの順位
値ijと比較し、両パターンの順位相関γjαを求める
(ステップ140)。順位値ijおよび順位値αjはそれぞ
れ第1図の(f)および(g)に示すように各ブロック
内に割り当てられている。このように割り当てられた両
パターンの順位相関γiαは−1≦γiα≦1であり、
ここでα=1,2,・・・kである。
The rank value αj of the dictionary pattern thus configured is sequentially read from the memory or the like, the rank value αj of this dictionary pattern is compared with the rank value ij of the input character pattern calculated as described above, and the rank correlation of both patterns is compared. γ j α is calculated (step 140). The rank value ij and the rank value αj are assigned in each block as shown in (f) and (g) of FIG. 1, respectively. The rank correlation γi α of both patterns thus assigned is −1 ≦ γi α ≦ 1,
Here, α = 1, 2, ... K.

両パターンの順位相関γiαを求めた後は、この順位相
関γiαの最大値γαを求める(ステップ150)。
After obtaining the rank correlation γi α of both patterns, the maximum value γα * of this rank correlation γi α is obtained (step 150).

γα =ma×{γiα|α=1,2,・・・,k} そして、この順位相関γiαの最大値γα をすべての
辞書パターンに対して求め、この最大値γα の最も大
きな辞書パターンαの画像、すなわち文字パターンを
入力文字パターンに対応する文字パターンとして認識す
るのである(ステップ160)。
γ α * = ma × {γ i α | α = 1,2, ..., k} Then, the maximum value γ α * of this rank correlation γ i α is obtained for all dictionary patterns, and this maximum value γ α * the largest dictionary pattern alpha * images, that is, to recognize as a character pattern corresponding to the character pattern in the input character pattern (step 160).

次に、順位相関、特にスペアマンの順位相関について説
明する。
Next, rank correlation, particularly Spearman rank correlation, will be described.

順位相関はn個の特性を有する2つの固体iおよびαに
おいて各々のn個の特性を何らかの基準によって順位付
けして、次の表に示すように順位付けした両順位値ij,
αjを求める。この順位値ij、αjは1≦ij≦n,1≦α
j≦nであり、ここでj=1,2,・・・,nである。
The rank correlation is a two-rank value ij, which is ranked as shown in the following table by ranking each n characteristic in some two solids i and α having n characteristics by some criterion.
Find α j. The rank values ij and αj are 1 ≦ ij ≦ n, 1 ≦ α
j ≦ n, where j = 1, 2, ..., N.

このように求めた両者の順位値ijおよびαjから次式に
より順位相関γiαが求められるのである。
The rank correlation γi α is calculated from the rank values ij and αj thus calculated by the following equation.

なお、上記実施例においては、文字パターンを含む最小
矩形を求め、これを分割しているが、この形状は矩形に
限定されるものでなく、認識すべき画像パターンを含む
他の形状でもよい。
Although the minimum rectangle including the character pattern is obtained and divided in the above embodiment, this shape is not limited to the rectangle and may be another shape including the image pattern to be recognized.

また、各ブロック内で算出する画素数は黒画素数に限定
されるものでなく、反対に黒画素のない白または無画素
あるいはこれに相当するものを用いてもよい。
Further, the number of pixels calculated in each block is not limited to the number of black pixels, and conversely white or no pixels without black pixels or the equivalent may be used.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、認識すべき画像
を複数の副領域に分割し、各副領域に含まれる画素数の
順位値と基準画像の各副領域の順位値との順位相関に基
づいて画像を認識しているので、画像を分割して形成さ
れる副領域への細分化により比較的微細な部分の認識も
適確に行われる。
As described above, according to the present invention, an image to be recognized is divided into a plurality of sub-regions, and a rank correlation between the rank value of the number of pixels included in each sub-region and the rank value of each sub-region of the reference image. Since the image is recognized on the basis of, the subdivided areas formed by dividing the image can also accurately recognize a relatively fine portion.

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

第1図は本発明の一実施例に係る画像認識装置の作用を
示すフローチャート、 第2図は第1図の実施例で使用する順位相関の説明図で
ある。 図において、 110〜160……ステップである。
FIG. 1 is a flow chart showing the operation of the image recognition apparatus according to one embodiment of the present invention, and FIG. 2 is an explanatory diagram of rank correlation used in the embodiment of FIG. In the figure, 110 to 160 ... Steps.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】認識すべき画像を囲む所定形状の領域を画
定する領域画定手段と、 該領域画定手段で画定された所定形状の領域を所定の複
数の副領域に分割する分割手段と、 該分割手段で分割された各副領域内に存在する画像の画
素数を求める画素数算出手段と、 該画素数算出手段で求めた各副領域の画素数の多い順に
前記複数の副領域を順位付けし、各副領域に対する順位
値を求める順位値算出手段と、 該順位値算出手段で求めた各副領域の順位値を基準画像
の各副領域の順位値と比較して両者の順位相関を求める
順位相関算出手段と、 該順位相関算出手段で求めた順位相関に基づいて認識す
べき画像が基準画像と同じであるか否かを判断する判定
手段と、 を有することを特徴とする画像認識装置。
1. A region defining means for defining a region of a predetermined shape surrounding an image to be recognized, and a dividing means for dividing the region of the predetermined shape defined by the region defining means into a plurality of predetermined sub-regions. Pixel number calculating means for obtaining the number of pixels of an image existing in each sub-region divided by the dividing means, and ranking the plurality of sub-regions in descending order of the number of pixels of each sub-region obtained by the pixel number calculating means Then, a rank value calculating means for obtaining a rank value for each sub-area, and a rank value for each sub-area obtained by the rank-value calculating means is compared with a rank value for each sub-area of the reference image to obtain a rank correlation between them. An image recognition apparatus comprising: a rank correlation calculating means; and a judging means for judging whether or not the image to be recognized is the same as the reference image based on the rank correlation calculated by the rank correlation calculating means. .
JP61221173A 1986-09-19 1986-09-19 Image recognition device Expired - Fee Related JPH0719277B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61221173A JPH0719277B2 (en) 1986-09-19 1986-09-19 Image recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61221173A JPH0719277B2 (en) 1986-09-19 1986-09-19 Image recognition device

Publications (2)

Publication Number Publication Date
JPS6375989A JPS6375989A (en) 1988-04-06
JPH0719277B2 true JPH0719277B2 (en) 1995-03-06

Family

ID=16762619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61221173A Expired - Fee Related JPH0719277B2 (en) 1986-09-19 1986-09-19 Image recognition device

Country Status (1)

Country Link
JP (1) JPH0719277B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2937729B2 (en) * 1993-12-21 1999-08-23 株式会社バーズ情報科学研究所 Pattern recognition method and apparatus and dictionary creation method
JP4655615B2 (en) * 2004-12-10 2011-03-23 富士ゼロックス株式会社 Solid identification device and program

Also Published As

Publication number Publication date
JPS6375989A (en) 1988-04-06

Similar Documents

Publication Publication Date Title
CN111754541B (en) Target tracking method, device, equipment and readable storage medium
JP4845715B2 (en) Image processing method, image processing apparatus, program, and storage medium
CN111695430B (en) Multi-scale face detection method based on feature fusion and visual receptive field network
CN112883983B (en) Feature extraction method, device and electronic system
CN112348028A (en) Scene text detection method, correction method, device, electronic equipment and medium
US10713830B1 (en) Artificial intelligence based image caption creation systems and methods thereof
EP0587860B1 (en) Bitmap image segmentation using a charge model for pixels
US11783625B2 (en) Method for verifying the identity of a user by identifying an object within an image that has a biometric characteristic of the user and separating a portion of the image comprising the biometric characteristic from other portions of the image
JPH0719277B2 (en) Image recognition device
CN112233194B (en) Medical picture optimization method, device, equipment and computer readable storage medium
CN113762237A (en) Text image processing method, device and equipment and storage medium
CN112183253A (en) Data processing method and device, electronic equipment and computer readable storage medium
JP2020129298A (en) Computation system
US5594811A (en) Apparatus and method for recognizing a character
JP7533011B2 (en) Information processing device, program, and information processing method
WO2024103997A1 (en) Handwriting recognition method and handwriting recognition model training method and apparatus
JPH0830725A (en) Device and method for processing image
JP3100825B2 (en) Line recognition method
CN115640607A (en) Medical report image sending method and system, electronic device and storage medium
CN114550125A (en) Road sign information identification method, apparatus, computer device and storage medium
CN116343229A (en) Method for recognizing braille characters in natural scene with edge characteristics excavated
JP2740506B2 (en) Image recognition method
JP3965881B2 (en) Character feature extraction apparatus and character feature extraction method
JP2022054812A (en) Information processing apparatus and computer program
JPH1055408A (en) Pattern separating device and its method for separating contact pattern

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees