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

JPS6128157B2 - - Google Patents

Info

Publication number
JPS6128157B2
JPS6128157B2 JP11216479A JP11216479A JPS6128157B2 JP S6128157 B2 JPS6128157 B2 JP S6128157B2 JP 11216479 A JP11216479 A JP 11216479A JP 11216479 A JP11216479 A JP 11216479A JP S6128157 B2 JPS6128157 B2 JP S6128157B2
Authority
JP
Japan
Prior art keywords
match
pattern
memory
projection
marks
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
Application number
JP11216479A
Other languages
Japanese (ja)
Other versions
JPS5636778A (en
Inventor
Kunio Nakatsuka
Akira Maeda
Junichi Shibayama
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP11216479A priority Critical patent/JPS5636778A/en
Publication of JPS5636778A publication Critical patent/JPS5636778A/en
Publication of JPS6128157B2 publication Critical patent/JPS6128157B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Collating Specific Patterns (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

この発明は、画像処理の分野において、あらか
じめ登録されているパターンと、対象とするパタ
ーンを読み取り、対象パターンが登録されている
ものと同一であるか否かを判定する照合装置に関
するものである。 従来この種の装置として第1図に示すものがあ
つた。図において1は画像入力装置、2はこの画
像入力装置1の出力を2値化し、デイジタル量と
してとり出す2値化回路、3は2値化回路2の出
力を記憶する2次元アドレス可能な画像メモリ、
4は登録パターンの情報を格納してある登録パタ
ーンメモリ、5は演算の途中結果等を格納する演
算メモリ、6は画像の水平方向及び垂直方向の投
影ヒストグラムを求める投影ヒストグラム演算
部、7は登録パターン及び対象パターンの投影ヒ
ストグラムの相互相関係数を求める相互相関演算
部、8は相互相関係数の値により、登録パターン
と対象パターンが一致するか否かを判定する照合
部である。 次に動作について説明する。まず画像入力装置
1に被写体の画像を入力する。画像入力装置は、
例えばテレビジヨンカメラのように、光学系、走
査機構、光学変換機構より成り、被写体上をスポ
ツトがラスタスキヤンし、スポツト上の濃淡情報
を光電変換機構により電気信号に変換し、出力す
る装置である。次に、2値化回路で、画像入力装
置1の走査機構に同期し、被写体をデイジタル的
に読みとるためのサンプルパルスにより、あらか
じめ設定された閾値電圧と画像入力装置1の出力
とを比較し、対象物に固定される画素すなわち対
象物上にある画素を“1”、背影を“0”として
出力し、画像メモリ3に順次書込む。4は登録パ
ターンメモリで、あらかじめ複数個のパターンが
登録されており、例えばキーボードなどより、特
定のパターンを指定できる機能を有している。 以下取扱うデイジタル画像の大きさをM×Mと
して説明する。 投影ヒストグラム演算部6は、画像メモリ3及
び、登録パターンメモリ4より対象パターン及び
登録パターンを読み出し、水平方向、垂直方向の
投影ヒストグラムを求め、演算メモリ5に格納す
る。例えば水平方向の投影ヒストグラムとは、デ
イジタル画像の最も上の1ラインより水平方向の
ライン毎に、対象物に固定される画素の数をカウ
ントしたものを並べたものである。また垂直方向
の投影ヒストグラムも同様に、最左端より垂直方
向のライン毎にカウントしたものを並べたもので
ある。 照合部8は、対象パターン及び登録パターンの
水平方向及び垂直方向の投影ヒストグラムより対
象パターンと登録パターンの類似度を求め、双方
の類似度により、対象パターンが登録パターンと
同一であるか否かの判定を行う。 相互相関演算部7は、演算メモリ5より水平方
向又は垂直方向のヒストグラム (i),j=1〜M;対象パターン g(j),j=1〜M;登録パターン (g(j)=0 j<1orj>M) を読みとり相互相関係数Λ(τ) を求める。 照合部8は相互相関演算部7の出力より類似度
Sを
The present invention, in the field of image processing, relates to a matching device that reads a pre-registered pattern and a target pattern and determines whether the target pattern is the same as the registered pattern. A conventional device of this type is shown in FIG. In the figure, 1 is an image input device, 2 is a binarization circuit that binarizes the output of the image input device 1 and takes it out as a digital quantity, and 3 is a two-dimensional addressable image that stores the output of the binarization circuit 2. memory,
4 is a registered pattern memory that stores information on registered patterns; 5 is a calculation memory that stores intermediate results of calculations; 6 is a projection histogram calculation unit that calculates the horizontal and vertical projection histograms of the image; 7 is registration. A cross-correlation calculating section 8 calculates the cross-correlation coefficient of the projection histograms of the pattern and the target pattern, and 8 is a matching section that determines whether the registered pattern and the target pattern match based on the value of the cross-correlation coefficient. Next, the operation will be explained. First, an image of a subject is input to the image input device 1. The image input device is
For example, like a television camera, it is a device that consists of an optical system, a scanning mechanism, and an optical conversion mechanism, and performs a raster scan of a spot on the subject, and converts the gradation information on the spot into an electrical signal using a photoelectric conversion mechanism, and outputs the signal. . Next, in synchronization with the scanning mechanism of the image input device 1, a binarization circuit compares a preset threshold voltage with the output of the image input device 1 using a sample pulse for digitally reading the subject. Pixels fixed to the object, that is, pixels on the object, are output as "1" and backgrounds are output as "0", and are sequentially written into the image memory 3. Reference numeral 4 denotes a registered pattern memory in which a plurality of patterns are registered in advance and has a function of specifying a specific pattern using, for example, a keyboard. The following explanation will be given assuming that the size of the digital image to be handled is M×M. The projection histogram calculation section 6 reads out the target pattern and the registered pattern from the image memory 3 and the registered pattern memory 4, obtains horizontal and vertical projection histograms, and stores them in the calculation memory 5. For example, a horizontal projection histogram is a count of the number of pixels fixed on an object for each horizontal line starting from the topmost line of a digital image. Similarly, the projection histogram in the vertical direction is obtained by arranging the counts for each line in the vertical direction starting from the leftmost end. The matching unit 8 calculates the similarity between the target pattern and the registered pattern from the horizontal and vertical projection histograms of the target pattern and the registered pattern, and determines whether the target pattern is the same as the registered pattern based on the similarity of both. Make a judgment. The cross-correlation calculation unit 7 obtains a horizontal or vertical histogram (i), j=1 to M; target pattern g(j), j=1 to M; registered pattern (g(j)=0) from the calculation memory 5. j<1orj>M) and the cross-correlation coefficient Λ(τ) seek. The matching unit 8 calculates the similarity S from the output of the cross-correlation calculation unit 7.

【式】により求める。そして双方 のパターンの照合は、例えば水平方向及び垂直方
向の類似度SH,SVがあるあらかじめ定められた
閾値SOより 条件 SH・SVSO を満すとき一致したとする判定を行う。 なお、相互相関係数Λ(τ)は −1Λ
(τ)1の値を有し、 Λ(τ)=1の等号は
(i)=c・g(i−τ) Λ(τ)=−1の等号は
(i)=−c・g(i−τ)c0 が成立する時である。 よつて、双方のパターンが似ている程1に近い
値となる。 従来の照合装置は以上の様に構成されていたの
で、扱うパターンとしては、ノイズの少いパター
ンであることが必要で、例えば印の様に捺印時
に、かすれ、にじみなど微細な字体の相異が全体
にわたつて分布する様な画質の悪い対象に対して
は、真に字体の異る印との区別がつかず、しばし
ば異る印と判定し、よつて全体のリジエクト率を
引き上げるなどの欠点があつた。 この発明は上記のような従来のものの欠点を除
去する為になされたもので、対象パターン及び登
録パターンの投影ヒストグラムを求め、まず一方
の投影ヒストグラムを、数個の大領域に分割しさ
らに、その大領域を数個の小領域に分割する。そ
して、小領域毎に他方の投影ヒストグラムとマツ
チングをとり、マツチした小領域の数が大領域の
全てにおいて一定数以上あるような分布をすると
きその印は一致したと判定することにより、捺印
時の微細な字体の相異が全体にわたつて分布する
様な画質の悪い印に対しても正確に照合できる印
影照合装置を提供することを目的としている。 第2図はこの発明の一実施例を示す概略図で、
1は画像入力装置、2はこの画像入力装置1の出
力を2値化しデイジタル量としてとり出す2値化
回路、3は2値化回路2の出力を記憶する2次元
アドレス可能な画像メモリ4は登録パターンの情
報を格納してある登録パターンメモリ、5は演算
の途中結果等を格納する演算メモリ、6は画像の
水平方向及び垂直方向の投影ヒストグラムを求め
る投影ヒストグラム演算部、7は登録パターン及
び対象パターンの投影ヒストグラムの相互相関係
数を求める相互相関演算部、9は小領域がマツチ
しているか否かを判定する小領域マツチング部、
10は大領域におけるマツチした小領域の分布を
調べる分布計測部、8は分布計測部の出力より印
の一致又は不一致を判定する照合部である。 第2図において、投影ヒストグラムを求めるま
では従来と同様で画像入力装置1により被写体を
入力し、2値化回路2により2値のデイジタル画
像に変換し、画像メモリ3に格納する。登録パタ
ーンは、登録パターンメモリ4に格納されている
パターンの内の1つが指定され読み出される。 投影ヒストグラム演算部6では、登録パターン
及び対象パターンの水平方向及び垂直方向の投影
ヒストグラムを演算メモリ5に格納する。 相互相関演算部7は、演算メモリ5より投影ヒ
ストグラム (i),i=1〜M;対象パターン g(j),j=1〜M;登録パターン (ただし、g(j)=0 j1又はjM) を読みとり、指定された小領域R(k,l)にお
ける相互相関係数ΛR(τ) を求める。 小領域マツチング部9は、指定された小領域R
(k,l)において、パターンがマツチしている
か否かを判定する。 これには、例えばあらかじめ与えられる偏位τ
Oの近くで、適宜偏位τを変化させ(|τ−τO
ε;ε 適宜決る定数)相互相関演算部7の出
力の相互相関係数ΛR(τ)の最大値 を求めこの値をあるあらかじめ定められた閾値X
Oと比較し 条件 XROを満すか否かを判定
し、条件を満せば小領域はマツチしたと判定す
る。 分布計測部10は対象パターン又は登録パター
ンのどちらか片方(ここでは、対象パターン)の
投影ヒストグラムをまず数個の等間隔の大領域
R1(k1,l1),R2(k2,l2),……Rα(kα,l
α),…Rm(km,lm)に分割する。 ここでkα=M/m(α−1)+1 lα=M/m・α Mはmの倍数 そして、この大領域Rα(kα,lα)をさら
に数個の小領域Rα(kα,lα),Rα
(kα,lα),…Rαβ(kαβ,lα
β),…Rαn(kαn,lαn)に分割する。 ここで(Mはm・nの倍数 kαβ=kα+M/m・n(β−1) lαβ=kα+M/m・nβ−1,β=1, 2,…n) そして、まず全領域で偏位τを変化させ相互相
関演算部により、最も相互相関係数が最大になる
点τOを求める。 そしてこの偏位τOを用い、小領域マツチング
部9において、全ての小領域Rαβ(kαβ,l
αβ),α=1〜m,β=1〜mについて小領域
がマツチするか否かを判定し、大領域Rα,α=
1〜m毎にマツチした小領域の数をカウントす
る。大領域Rαにおけるカウント値をCαとす
る。 次に照合部8で、大領域内でマツチした小領域
の数Cα,α=1〜mの分布により印の一致又は
不一致の判断を行う。これは例えばあるあらかじ
め与えられた閾値Tを用い、例えば 条件 “Cα/n>T,or alld” すなわちある一定数以上すべての大領域中にマ
ツチする小領域が含まれるという条件を満すな
ら、その印は一致しているという判定を行う。 この発明によれば、二値パターンの投影ヒスト
グラムを用いて、パターンの照合を行う際に、片
方の投影ヒストグラムを大領域に分け、その中を
さらに小領域に分割し、全ての大領域の中にマツ
チする小領域の数が一定数以上あるような分布を
するとき、印が一致したと判定するので印の捺印
時のにじみ、かすれなど、微細なパターンの相異
が全体に分布している画質の悪い印に対しても照
合できるものが得られる。
Calculate using [Formula]. When the two patterns are compared, it is determined that they match when the conditions SH and SVS O are satisfied, for example, based on predetermined threshold values S O of horizontal and vertical similarities SH and SV. Note that the cross-correlation coefficient Λ(τ) is −1Λ
(τ) has a value of 1, and the equality sign of Λ(τ) = 1 is
(i)=c・g(i−τ) The equality sign of Λ(τ)=−1 is when (i)=−c・g(i−τ)c0 holds true. Therefore, the more similar both patterns are, the closer the value will be to 1. Conventional verification devices are configured as described above, so the patterns used need to be low-noise patterns.For example, when printing a seal, it is necessary to avoid minute differences in fonts such as blurring and blurring. For objects with poor image quality where fonts are distributed over the entire area, it is difficult to distinguish between marks with truly different fonts, and the marks are often judged to be different, thus increasing the overall reject rate. There were flaws. This invention was made in order to eliminate the drawbacks of the conventional ones as described above. Projection histograms of a target pattern and a registered pattern are obtained, one of the projection histograms is first divided into several large regions, and then the projection histograms are divided into several large regions. Divide a large area into several small areas. Then, each small area is matched with the other projection histogram, and when the number of matched small areas is distributed such that there is a certain number or more in all large areas, the marks are determined to match. It is an object of the present invention to provide a seal imprint collation device that can accurately collate even a mark of poor image quality in which minute differences in font are distributed throughout the entire body. FIG. 2 is a schematic diagram showing an embodiment of this invention.
1 is an image input device, 2 is a binarization circuit that binarizes the output of the image input device 1 and takes it out as a digital quantity, and 3 is a two-dimensional addressable image memory 4 that stores the output of the binarization circuit 2. A registered pattern memory stores registered pattern information; 5 is an arithmetic memory that stores intermediate results of calculations; 6 is a projection histogram calculation unit that calculates a horizontal and vertical projection histogram of an image; 7 is a registered pattern and a cross-correlation calculation unit that calculates the cross-correlation coefficient of the projection histogram of the target pattern; 9 a small area matching unit that determines whether the small areas match;
Reference numeral 10 denotes a distribution measuring unit that examines the distribution of matched small areas in the large area, and reference numeral 8 denotes a matching unit that determines whether marks match or do not match based on the output of the distribution measuring unit. In FIG. 2, the process up to obtaining a projection histogram is the same as in the conventional method, in which a subject is inputted by an image input device 1, converted into a binary digital image by a binarization circuit 2, and stored in an image memory 3. As the registered pattern, one of the patterns stored in the registered pattern memory 4 is designated and read out. The projection histogram calculation unit 6 stores horizontal and vertical projection histograms of the registered pattern and the target pattern in the calculation memory 5. The cross-correlation calculating unit 7 calculates a projection histogram (i), i=1 to M; target pattern g(j), j=1 to M; registered pattern (however, g(j)=0 j1 or jM) from the calculation memory 5. ) and calculate the cross-correlation coefficient Λ R (τ) in the specified small region R (k, l). seek. The small area matching unit 9 matches the specified small area R.
At (k, l), it is determined whether the patterns match. This includes, for example, a given deviation τ
Near O , change the deviation τ appropriately (|τ−τ O |
ε; ε a constant determined as appropriate) Maximum value of the cross-correlation coefficient Λ R (τ) of the output of the cross-correlation calculation unit 7 Find this value and set it to a certain predetermined threshold value
It is determined whether the condition X R X O is satisfied by comparing with O , and if the condition is satisfied, it is determined that the small area is matched. The distribution measurement unit 10 first divides the projection histogram of either the target pattern or the registered pattern (here, the target pattern) into several equally spaced large areas.
R 1 (k 1 , l 1 ), R 2 (k 2 , l 2 ), ... Rα (k α, l
α), ...Rm (km, lm). Here kα=M/m(α-1)+1 lα=M/m・α M is a multiple of m Then, this large area Rα (kα, lα) is further divided into several small areas Rα 1 (kα 1 , lα 1 ), Rα
2 (kα 2 , lα 2 ),...Rαβ (kαβ, lα
β), ... Rαn (kαn, lαn). Here (M is a multiple of m・n kαβ=kα+M/m・n(β−1) lαβ=kα+M/m・nβ−1, β=1, 2,...n) Then, first, the deviation τ in the whole area is changed, and the cross-correlation calculation unit determines the point τ O at which the cross-correlation coefficient is maximum. Then, using this deviation τ O , the small area matching unit 9 calculates all the small areas Rαβ(kαβ, l
αβ), α=1~m, β=1~m, it is determined whether or not the small area matches, and the large area Rα,α=
Count the number of matching small areas every 1 to m. Let Cα be the count value in the large area Rα. Next, the matching section 8 determines whether the marks match or do not match based on the distribution of the number of matching small areas Cα, α=1 to m within the large area. For example, if a predetermined threshold value T is used, and the condition "Cα/n>T, or alld" is satisfied, that is, a certain number or more of matching small regions are included in all large regions, then It is determined that the marks match. According to this invention, when performing pattern matching using projection histograms of binary patterns, one projection histogram is divided into large regions, which are further divided into small regions, and all of the large regions are When the distribution is such that the number of small areas that match a certain number or more is determined to be a match, it is determined that the marks match, so minute differences in the pattern, such as blurring or blurring when stamping, are distributed throughout the mark. Even marks with poor image quality can be verified.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の印影照合装置を示す概略構成
図、第2図はこの発明の一実施例による印影照合
装置を示す概略構成図である。なお、図中同一符
号は同一または相当部分を示す。 1:画像入力装置、2:二値化回路、3:画像
メモリ、4:登録パターンメモリ、5:演算メモ
リ、6:投影ヒストグラム演算部、7:相互相関
演算部、8:照合部、9:小領域マツチング部、
10:分布計測部。
FIG. 1 is a schematic configuration diagram showing a conventional seal imprint verification device, and FIG. 2 is a schematic configuration diagram showing a seal imprint verification device according to an embodiment of the present invention. Note that the same reference numerals in the figures indicate the same or corresponding parts. 1: Image input device, 2: Binarization circuit, 3: Image memory, 4: Registered pattern memory, 5: Calculation memory, 6: Projection histogram calculation unit, 7: Cross-correlation calculation unit, 8: Collation unit, 9: Small area matching section,
10: Distribution measurement section.

Claims (1)

【特許請求の範囲】[Claims] 1 証券等の書面上に捺印された印影を2値デイ
ジタル画像として入力する手段と、多数の印影の
デイジタル画像を記憶するメモリ手段と、このメ
モリ手段より照合する登録パターンを選び出す手
段とを備え、水平方向および垂直方向に対し値
“1”を有する画素の数をカウントした投影ヒス
トグラムを用いて、双方の印が同一は否かの判定
を行う印影照合装置において、一方の投影ヒスト
グラムを複数個の大領域に分け、さらにそれぞれ
を数個の小領域に分け、それぞれ小領域毎に、他
方の投影ヒストグラムとのマツチングを行い、全
ての大領域の中に、マツチした小領域が一定数以
上存在する分布をするとき、印が一致したと判定
する事を特徴とした印影照合装置。
1. Equipped with means for inputting seal impressions affixed on documents such as securities as binary digital images, memory means for storing a large number of digital images of seal impressions, and means for selecting registered patterns to be compared from this memory means, In a seal imprint matching device that uses projection histograms that count the number of pixels with the value "1" in the horizontal and vertical directions to determine whether both marks are the same, one projection histogram is Divide into large regions, further divide each into several small regions, match each small region with the projection histogram of the other, and find that a certain number or more of matched small regions exist in all large regions. A seal imprint matching device characterized by determining that the marks match when performing distribution.
JP11216479A 1979-08-31 1979-08-31 Matcher for print of seal Granted JPS5636778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11216479A JPS5636778A (en) 1979-08-31 1979-08-31 Matcher for print of seal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11216479A JPS5636778A (en) 1979-08-31 1979-08-31 Matcher for print of seal

Publications (2)

Publication Number Publication Date
JPS5636778A JPS5636778A (en) 1981-04-10
JPS6128157B2 true JPS6128157B2 (en) 1986-06-28

Family

ID=14579839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11216479A Granted JPS5636778A (en) 1979-08-31 1979-08-31 Matcher for print of seal

Country Status (1)

Country Link
JP (1) JPS5636778A (en)

Also Published As

Publication number Publication date
JPS5636778A (en) 1981-04-10

Similar Documents

Publication Publication Date Title
JPS6236273B2 (en)
US4962432A (en) Selective retrieval of data from microfilm images of different forms by reading a memory index form cord (bar code) recorded on each image frame
JPS59106079A (en) Binary-coding device of pattern collating device
JPS6128157B2 (en)
JPS6128156B2 (en)
EP0013276B1 (en) Optical mark reading system
JP2002185782A (en) Character extraction device, character extraction method, and recording medium
JP2590099B2 (en) Character reading method
JP2575408B2 (en) Postal address reading device for mail
JPS5852781A (en) Linear scanner
JPS6227887A (en) Character type separation method
JPS6198483A (en) Picture collating device
JPH08305794A (en) Address line extracting device
Zuraiyah et al. Quran Tajweed Extraction and Segmentation Based on HSV Color Space Model
JP3636783B2 (en) Face area determination method, copy method, and exposure amount determination method
JP3100825B2 (en) Line recognition method
JP3090928B2 (en) Character recognition device
JP2000207490A (en) Character segmenting device and character segmenting method
JPH0632077B2 (en) Figure recognition device
JPS63101983A (en) Character string extracting system
JP2616995B2 (en) Character recognition device
Borden et al. The use of the temporal dimension in classifying and mapping ERTS-1 MSS data
JP2802132B2 (en) Image forming device
JPH09128542A (en) Image recognition search device
JP2954218B2 (en) Image processing method and apparatus