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
JPH0127473B2 - - Google Patents
[go: Go Back, main page]

JPH0127473B2 - - Google Patents

Info

Publication number
JPH0127473B2
JPH0127473B2 JP55077444A JP7744480A JPH0127473B2 JP H0127473 B2 JPH0127473 B2 JP H0127473B2 JP 55077444 A JP55077444 A JP 55077444A JP 7744480 A JP7744480 A JP 7744480A JP H0127473 B2 JPH0127473 B2 JP H0127473B2
Authority
JP
Japan
Prior art keywords
output
bit
register
multiplexer
change point
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
JP55077444A
Other languages
Japanese (ja)
Other versions
JPS573177A (en
Inventor
Fumiaki Harada
Shoji Takahashi
Yasuhiko Yogoshi
Tomomi Oota
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7744480A priority Critical patent/JPS573177A/en
Publication of JPS573177A publication Critical patent/JPS573177A/en
Publication of JPH0127473B2 publication Critical patent/JPH0127473B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/18Extraction of features or characteristics of the image
    • G06V30/182Extraction of features or characteristics of the image by coding the contour of the pattern
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Description

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

本発明は光学的文字読取装置により読取つたビ
デオデータについて、短時間に輪郭テーブルを得
ることのできるパターン変化点検出回路に関す
る。 光学的文字読取装置により紙面に書かれた文
字、図形を読取るときは電荷結合素子(CCDと
略称されている)などを使用するスキヤナにより
電気信号を得て、ビツトパターンに変換してメモ
リに記憶する。 例えば、1つの字が書かれている時、その1字
が書かれた範囲を複数の素領域(ドツト)に分割
し、個々の素領域毎に“黒”と判断される場合は
“1”、また“白”と判断される場合は“0”とす
る二値化を行いメモリに記憶する。 その後メモリに記憶済みの情報を読出し、
“1”/“0”の境界を上下及び左右方向別に識
別することでパターン検出を行つて文字を解読・
認識するが、前述の二値化した“1”/“0”の
全部について境界判断した結果の情報を、そのド
ツト位置が境界点(変化点)で有る無しに関わら
ず記憶していたのでは、1つの文字について分割
した素領域の総数は平均40×60ドツトもあつて情
報量が多過ぎる。 そのため、通常は境界判断した結果の全データ
をメモリに記憶する代わりに、検出した変化点位
置の情報だけを抽出するようなデータ圧縮を行
い、1つの文字について第1図b2に示すような
左右輪郭テーブルと、同図b1に示すような上下
輪郭テーブルを得、それらから原情報を再生す
る。輪郭テーブルは前述の“1”/“0”の変化
が起こつているビツト位置(第1図aで“〇”印
は上下方向の変化点、“X”は左右方向の変化点、
印は上下/左右方向ともに変化点)のアドレス
を記憶するものである。 第1図は数字「2」について、Y軸方向に関し
ては15本、即ちアドレス(X、Y)についてその
変化点検出のスキヤン順序を、 {(X、1)、X=1〜12}、 {(X、2)、X=1〜12}、 …… {(X、15)、X=1〜12} と変化する方向に採り、また、X軸方向に関して
は11本、即ちアドレス(X、Y)についてその変
化点検出のスキヤン順序を、 {(1、Y)、Y=1〜16}、 {(2、Y)、Y=1〜16} …… {(11、Y)、Y=1〜16} と変化する方向に採つた場合を示し、輪郭付近の
“X”印はY軸に関してスキヤンした時の左右
(X軸に沿う)方向における変化点を示し、“〇”
はX軸に関してスキヤンした時の上下(Y軸に沿
う)方向における変化点を示し、“”印は上
下/左右方向共に変化点となつた場合を示してい
る。 このような輪郭テーブルを求める従来技術とし
ては、左右方向における変化点(“×”印)検出
を第2図Aに示すようにX=n−1とした前デー
タ、 {(n−1、Y)、Y=1〜15} を一旦蓄積し、それとX=nとした現データ、 {(n、Y)、Y=1〜15} とのビツト対応をYアドレスの一致するビツト間
で、例えば15個の排他的論理和演算回路EORで
それぞれ比較し、一致すると“0”、一致しない
と“1”の出力を得るようにして、上記15個の
EOR出力を個別に調べ、“1”の出力が得られた
位置をパターンの変化点(第1図aの“×”印)
となし、その時のアドレスを第1図b2のように
記憶する。或いは、1個のEOR回路を用意して
前データと現データをそれぞれ1ビツトずつシフ
トしながらEOR検出を行うようにしても良い。
このようにして全ビツトのEOR検出出力を調べ、
その中の変化点位置を検出したものである。この
ようにして検出した結果は第1図b2で、 Y=1でXが1、12、 Y=2でXが1、12、 Y=3でXが2、5…… として“X”印位置が示されている。 また前述した方向のデータスキヤンを用いた上
下方向における変化点(“〇”印)の検出は、第
2図Bに示すように、X=n−1として前デー
タ、 {(n−1、Y)、Y=1〜16)} を一旦蓄積し、X=nとした現データ、 {(n、Y)、Y=1〜16) との連続性を、 (n−1、1),(n−1、2)〜(n−1、16)、
(n、1),(n、2)〜(n、16) のようにしておき、隣接するアドレスビツト間で
例えば11個のEOR回路でEOR演算を行い、一致
すると“0”、一致しないと“1”を出力して、
これら11個のEOR出力を個別に調べ、“1”の出
力が得られた位置を変化点(第1図aの“〇”)
となし、これを第1図b1のように記憶する。或
いは、1個のEOR回路を用意して上記のビツト
情報を逐次シフトしながらEOR検出するように
しても良い。即ち、第1図b1で“〇”印のある
変化点位置は、 X=1でYが1、3、11、13、 X=2でYが1、4、10、14 X=3でYが1、5、10、15…である。 この上下/左右方向の演算手段はスキヤンする
方向を前データ{(X、m−1)、X=1〜12}、
現データ{(X、m)、X=1〜12}とするなら
ば、左右方向に対しては第2図Bを、また上下方
向に対しては第2図AのEOR演算回路を用いれ
ばよいことになる。 しかし、このような従来のやり方では、個別に
検出したEOR回路の結果に対し変位点を1ビツ
トずつ調べる必要がある欠点があつた。第2図B
のように、8個のEOR回路で構成すれば8ビツ
トの変位点の有無が同時に求められるが、この結
果に対して1ビツトずつ変位のあつたビツトを調
べなければならない。これでは8個のEOR回路
を使用し同時に変位点の情報を得るのは無意味で
ある。この方法で、EOR回路の結果に対し8ビ
ツト全てが、“0”であるという判定回路(8入
力アンド回路で容易に構成できる)を追加し、8
ビツト全部に変位の情報がなかつた場合に限りバ
イパスする手段を設け処理を早くすることが考え
られるが、1ビツトでも変位の情報が含まれてい
る場合は8ビツト全てを調べる必要があり、複雑
な文字ほど効果が薄れる。このような変位の情報
を調べる回数が多ければ、それだけ輪郭テーブル
を得るまでの時間を要することとなる。 本発明の目的は前述の欠点を改善することにあ
り、そのために同時にEOR処理した複数ビツト
の変化点情報の中から、実質変化を示している変
化点情報だけを最小限度の抽出回数で可能とする
ことにあり、更に、同一のスキヤン方向の入力デ
ータを用いて、上下/左右(V/H)方向の変化
点検出を同一回路で実現し、短時間に輪郭テーブ
ルが得られるようにしたパターン変化点検出回路
を提供することにある。 以下、第3図に示す本発明の実施例の構成図に
ついて説明する。 第3図において、REG1は前回のスキヤン情
報B0〜B7を記憶する8ビツトの第1レジスタ、
MPX1は同一スキヤン方向の入力信号Y0〜Y7
ついて、水平(第1図の“X”印)方向処理と垂
直(第1図の“〇”印)方向処理を行わせる為の
データ切換用第1マルチプレクサ、EORは排他
的論理和演算回路、ANDは論理積演算回路、
REG2は後述するマルチプレクサMPX2によつ
て切換得られた出力を入力され、その値および反
転値を出力する第2レジスタ、MPX2は排他的
論理和EORの出力とAND回路との出力を切換え
て受入れる第2マルチプレクサ、PECは第2レ
ジスタREG2の反転出力内で高順位のビツト位
置(0:Most Significant Bit)側に現れる
“0”のビツト位置を検出し、そのビツト位置を
反転出力すると共に“0”が複数個あるかどうか
を検出する高順位符号器(プライオリテイ・エン
コーダ)、DECは高順位符号器PECの反転出力を
受入れその検出ビツト位置を“0”とするビツト
パターンを出力する復号器、NOTは否定回路で
ある。 以下、動作を説明する。 図示しない信号読取器からの8ビツトの現信号
Y0〜Y7〔(X、m)、X=1〜8〕が入力端子IPに
入力され、第1マルチプレクサMPX1のV/H
端子の信号を“1”(高レベル状態)にセツトし、
例えば垂直方向(第1図の“〇”検出)の信号処
理を行う。そこで、入力信号Y0〜Y7はEOR回路
の一方の入力信号となり、第1レジスタREG1
からは前信号B0〜B7〔(X、m−1)、X=1〜
8〕が第1マルチプレクサMPX1の入力端子1
B〜8Bに入力され、上記V/H切換えによつて
出力端子01〜08に現れてEOR回路の他方の
入力となる。 このEOR回路の出力を、信号1によつて
切換えた第2のマルチプレクサMPX2の入力端
子1A〜8Aに入力し、続いて第2レジスタ
REG2にセツトする。 第2レジスタREG2の反転出力07は高順
位符号器PECにおいて、MSBとなる0のビツト
情報側から“0”となつている位置を検出する。
例えば第2レジスタREG2回路に入力される信
号パターンを“01010000”とすれば、その反転出
07が“10101111”となり、高順位符号器
PECはこの入力パターンの左から2つ目の位置
にある最初の“0”を検出し、その位置を二進数
表示した“110”(10進進数換算は6)反転出力
“001”をP1,P2,P4のビツト端子に出力す
るから、否定回路NOTを介してP1,P2,P
4端子に出力した“110”を変化点検出器CHDに
通知する。ここで、反転出力A0〜A7にはもう一
つだけ“0”が左から4つ目の位置にあるから、
否定回路NOTを介したEF端子には“0”が出力
される。高順位符号器PECの真理値表を下表に
示す。
The present invention relates to a pattern change point detection circuit that can obtain a contour table in a short time from video data read by an optical character reading device. When reading characters and figures written on paper using an optical character reading device, an electrical signal is obtained by a scanner using a charge-coupled device (abbreviated as CCD), converted into a bit pattern, and stored in memory. do. For example, when one character is written, the range in which that one character is written is divided into multiple elementary areas (dots), and if each elementary area is judged as "black", "1" is displayed. , and if it is determined to be "white", it is binarized to "0" and stored in the memory. Then read the information stored in memory,
By identifying the boundaries between “1” and “0” in the vertical and horizontal directions, pattern detection is performed to decipher characters.
I recognize that the information resulting from the boundary judgment for all of the binarized "1"/"0" mentioned above was memorized regardless of whether the dot position was a boundary point (change point) or not. , the total number of elementary regions divided for one character is on average 40 x 60 dots, which is an excessive amount of information. Therefore, instead of storing all the data resulting from boundary determination in memory, data compression is performed to extract only the information on the detected change point position, and for one character, the left and right information as shown in Figure 1 b2 is compressed. A contour table and upper and lower contour tables as shown in b1 of the same figure are obtained, and original information is reproduced from them. The contour table shows the bit positions where the above-mentioned "1"/"0" changes occur (in Figure 1a, "〇" marks are vertical change points, "X" are horizontal change points,
The marks are used to store addresses (change points in both the vertical and horizontal directions). Figure 1 shows the scan order for detecting change points for the number "2", 15 lines in the Y-axis direction, that is, the address (X, Y), as follows: {(X, 1), X=1 to 12}, { (X, 2), X = 1 ~ 12}, ... {(X, 15), The scan order for detecting the change point for Y) is {(1, Y), Y=1 to 16}, {(2, Y), Y=1 to 16} ... {(11, Y), Y= 1 to 16}, and the “X” mark near the outline indicates the point of change in the left/right (along the X-axis) direction when scanning about the Y-axis, and the “〇”
indicates a change point in the vertical (along the Y-axis) direction when scanning with respect to the X-axis, and the "" mark indicates a case where the change point occurs in both the vertical and horizontal directions. As a conventional technique for obtaining such a contour table, as shown in FIG. ), Y=1 to 15}, and then the bit correspondence between it and the current data with X=n, {(n, Y), Y=1 to 15}, between the matching bits of the Y address, for example, The 15 exclusive OR operation circuits EOR compare each other, and when they match, it outputs "0" and when they do not match, it outputs "1".
Check the EOR output individually and find the position where the output of "1" is obtained as the change point of the pattern ("x" mark in Figure 1 a)
Then, the address at that time is stored as shown in FIG. 1 b2. Alternatively, one EOR circuit may be provided and EOR detection may be performed while shifting the previous data and current data one bit at a time.
In this way, check the EOR detection output of all bits,
This is a result of detecting the position of a change point therein. The results detected in this way are shown in Figure 1 b2, and are marked with an "X" as follows: when Y=1, X is 1, 12; when Y=2, X is 1, 12; when Y=3, X is 2, 5... location is shown. In addition, as shown in FIG. 2B, the detection of change points (marked with "○") in the vertical direction using the data scan in the direction described above is performed using the previous data with X=n-1, {(n-1, Y ), Y=1~16)}, and the current data with X=n, the continuity with {(n, Y), Y=1~16), is determined by n-1, 2) to (n-1, 16),
(n, 1), (n, 2) to (n, 16), and perform EOR operation between adjacent address bits using, for example, 11 EOR circuits. If they match, it will be "0", if they do not match, it will be "0". Output “1” and
Check these 11 EOR outputs individually, and the position where an output of "1" is obtained is the change point ("〇" in Figure 1 a).
This is stored as shown in FIG. 1 b1. Alternatively, one EOR circuit may be prepared and the EOR detection may be performed while sequentially shifting the above bit information. In other words, the changing point positions marked with "〇" in Figure 1 b1 are as follows: When X=1, Y is 1, 3, 11, 13; When X=2, Y is 1, 4, 10, 14; When X=3, Y is are 1, 5, 10, 15... This vertical/horizontal calculation means calculates the scanning direction using previous data {(X, m-1), X=1 to 12},
If the current data is {(X, m), It will be a good thing. However, this conventional method has the disadvantage that it is necessary to check each displacement point bit by bit for the results of the individually detected EOR circuit. Figure 2B
If eight EOR circuits are used, the presence or absence of 8-bit displacement points can be determined at the same time, but the result must be checked bit by bit for each displaced bit. In this case, it is meaningless to use eight EOR circuits and obtain displacement point information at the same time. In this method, we add a judgment circuit (which can be easily configured with an 8-input AND circuit) that determines that all 8 bits are "0" for the result of the EOR circuit, and
It is conceivable to speed up the processing by providing a bypass method only when all bits do not contain displacement information, but if even one bit contains displacement information, it is necessary to examine all 8 bits, which is complicated. The effect becomes weaker as the characters become more pronounced. The more times such displacement information is checked, the longer it will take to obtain the contour table. The purpose of the present invention is to improve the above-mentioned drawbacks, and for this purpose, it is possible to extract only change point information indicating a substantial change from among multiple bits of change point information that are simultaneously EOR-processed with a minimum number of times. Furthermore, by using input data in the same scan direction, detection of change points in the vertical/horizontal (V/H) directions is realized with the same circuit, and a contour table can be obtained in a short time. An object of the present invention is to provide a change point detection circuit. The configuration diagram of the embodiment of the present invention shown in FIG. 3 will be described below. In FIG. 3, REG1 is an 8-bit first register that stores the previous scan information B0 to B7 ;
MPX1 is for data switching to perform horizontal (“X” mark in Figure 1) direction processing and vertical (“〇” mark in Figure 1) direction processing for input signals Y 0 to Y 7 in the same scan direction. The first multiplexer, EOR is an exclusive OR operation circuit, AND is an AND operation circuit,
REG2 is a second register that receives an output switched and obtained by multiplexer MPX2, which will be described later, and outputs the value and its inverted value. MPX2 is a second register that switches and accepts the output of the exclusive OR EOR and the output of the AND circuit. 2 multiplexer, PEC, detects the bit position of "0" that appears on the high-order bit position ( 0 : Most Significant Bit) side in the inverted output of the second register REG2, and inverts and outputs that bit position and outputs "0". a high-order encoder (priority encoder) that detects whether there is a plurality of NOT is a negation circuit. The operation will be explained below. 8-bit current signal from a signal reader (not shown)
Y 0 to Y 7 [(X, m), X=1 to 8] is input to the input terminal IP, and the V/H of the first multiplexer MPX1
Set the terminal signal to “1” (high level state),
For example, signal processing in the vertical direction (detection of "O" in FIG. 1) is performed. Therefore, the input signals Y 0 to Y 7 become one input signal of the EOR circuit, and the first register REG1
The previous signal B 0 ~B 7 [(X, m-1), X=1~
8] is the input terminal 1 of the first multiplexer MPX1
The signals are input to B to 8B, and appear at output terminals 01 to 08 by the above V/H switching, and become the other input of the EOR circuit. The output of this EOR circuit is inputted to the input terminals 1A to 8A of the second multiplexer MPX2 switched by signal 1, and then the second register
Set to REG2. The inverted outputs 0 to 7 of the second register REG2 detect the position of "0" from the MSB 0 bit information side in the high-order encoder PEC.
For example, if the signal pattern input to the second register REG2 circuit is "01010000", its inverted outputs 0 to 7 will be "10101111", and the high-order encoder
PEC detects the first “0” at the second position from the left of this input pattern, and outputs the inverted output “001”, which is expressed in binary as “110” (decimal conversion is 6), to P1, Since it is output to the bit terminals of P2 and P4, P1, P2, and P are output via the NOT circuit NOT.
Notify the change point detector CHD of “110” output to terminal 4. Here, there is only one more "0" in the inverted outputs A 0 to A 7 at the fourth position from the left, so
“0” is output to the EF terminal via the inverter NOT. The truth table of the high-order encoder PEC is shown in the table below.

【表】 なお上記においてA0はMSB(最上位ビツト) A7はLSB(最下位ビツト)を示す。またXは
1でも0でも良いことを示す。 EF端子が“0”である時は、高順位符号器
PECの反転出力“001”は復号器DECに印加さ
れ、復号器DECではその入力信号パターンの
“1の補数”を採つて、復号器DECの出力端子の
上位から2つ目のD6を“0”とする出力パター
ン“1011111”を出力する。 そして、高順位符号器PECの出力P1,P2,
P3を変化点検出器CHDが取り込むと、タイミ
ングパルスが1回発生する。すると、第2マルチ
プレクサMPX2は切換え信号1で入力端子
1B〜8B側に切換えられ、復号器DECの出力
がAND回路の一方向に印加され、また第2レジ
スタREG2の出力端子が切換えられてA0〜A7
AND回路の他方に印加される。この時の出力A0
〜A7は“01010000”であつたから、復号器DEC
の出力パターン“10111111”との論理積をとつた
出力は“00010000”となり、この信号パターンが
第2レジスタREG2に保持される。そこで高順
位符号器PECにはこの反転出力07
“11101111”が印加されるから、反転出力1,
P2,4は2進数“100”を反転した“011”と
なり、変化点検出器CHDへは“100”が送出され
る。そして、復号器DECは出力“011”が印加さ
れるが、端子EFには“1”が出力されて変化点
は全部終了したとする動作終了フラグが立つの
で、入力された現信号Y0〜Y7には2点だけの変
化点があつたことが検出される。 即ち、EOR回路の出力が“01010000”であつ
たから、右から数えて7つ目と5つ目、即ち第6
ビツト位置、第4ビツト位置の2つのビツト位置
に変化点があつたことを2回で抽出でき、続いて
次の入力データについて処理を進めて行けば良
い。 次に、同一の上記入力信号Y0〜Y7を用いた水
平方向(第1図aで“×”印)の信号処理の場合
は、第1マルチプレクサMPX1に対する切換信
号V/Hを“0”(低レベル状態)にセツトする
ことで、入力端子を1A〜8A側とする。 そして、端子1Aには第1レジスタREG1か
らの出力B7を入力し、端子2A〜8Aには端子
IPからの現信号Y0〜Y6までを入力し、出力端子
01〜08を介してEOR回路のそれぞれの一方
に入力する。また、現信号Y0〜Y7をEOR回路の
他方に入力する。従つてEOR回路での論理演算
はB7Y0、YnYn+1(n=0〜6)の演算を行
うことになる。これは前データの最終ビツトと現
データを1ビツトシフトしたデータとを併せて
EOR演算を行うことになり、以後の動作は上述
した垂直方向と同様に行われる。 このようにして本発明によると信号処理を行な
うハードウエアを接続構成しておき、輪郭データ
を得るため処理すべき信号をレジスタに一時蓄積
し、次のデータと比較をとりながら処理している
ため、全部のビツトについて判定が終るまで蓄積
していた場合と比較し、パターンに変化点がない
場合は当初の比較判定のみで終了フラグが立つた
め、直ちに次のデータを取込むことになり処理が
高速化される。またパターン変化点の位置検出の
とき処理方向を定める信号をマルチプレクサに与
えることにより簡易に処理方向を変化でき、取込
んだデータを他のメモリに移し変えるようなこと
がなく、能率的で、漢字処理に適した輪郭テーブ
ル作用回路ということができる。
[Table] In the above, A0 indicates MSB (most significant bit) and A7 indicates LSB (least significant bit). It also indicates that X may be 1 or 0. When the EF pin is “0”, the high-order encoder
The inverted output “001” of the PEC is applied to the decoder DEC, which takes the “1’s complement” of the input signal pattern and outputs the second D 6 from the top of the output terminal of the decoder DEC as “ Outputs the output pattern “1011111” which makes the output “0”. Then, the outputs P1, P2, of the high-order encoder PEC,
When the change point detector CHD captures P3, a timing pulse is generated once. Then, the second multiplexer MPX2 is switched to the input terminals 1B to 8B by the switching signal 1, the output of the decoder DEC is applied to one direction of the AND circuit, and the output terminal of the second register REG2 is switched so that A 0 ~A 7
Applied to the other side of the AND circuit. Output A at this time is 0
~A 7 was “01010000”, so the decoder DEC
The output obtained by performing a logical product with the output pattern "10111111" becomes "00010000", and this signal pattern is held in the second register REG2. Therefore, this inverted output 0 to 7 is sent to the high-order encoder PEC.
Since “11101111” is applied, the inverted output 1,
P2,4 becomes "011" which is the inversion of the binary number "100", and "100" is sent to the change point detector CHD. Then, the output "011" is applied to the decoder DEC, but "1" is output to the terminal EF and an operation end flag is set indicating that all the changing points have been completed, so the input current signal Y 0 ~ It is detected that there are only two change points at Y7 . That is, since the output of the EOR circuit was "01010000", the 7th and 5th ones counting from the right, that is, the 6th
It is only necessary to extract the fact that there is a change point at two bit positions, the bit position and the fourth bit position, in two steps, and then proceed to process the next input data. Next, in the case of signal processing in the horizontal direction (marked with "x" in Figure 1a) using the same input signals Y0 to Y7 , the switching signal V/H for the first multiplexer MPX1 is set to "0". (low level state) sets the input terminal to the 1A to 8A side. Then, the output B7 from the first register REG1 is input to the terminal 1A, and the terminals 2A to 8A are input to the terminal 1A.
The current signals Y 0 to Y 6 from the IP are inputted to one side of each of the EOR circuits via output terminals 01 to 08. Also, the current signals Y 0 to Y 7 are input to the other EOR circuit. Therefore, the logical operation in the EOR circuit is the operation of B 7 Y 0 , YnYn +1 (n=0 to 6). This includes the last bit of the previous data and the data shifted by 1 bit from the current data.
An EOR operation will be performed, and the subsequent operations will be performed in the same manner as in the vertical direction described above. In this way, according to the present invention, the hardware for signal processing is connected and configured, and the signals to be processed to obtain contour data are temporarily stored in the register and processed while being compared with the next data. Compared to the case where all bits are accumulated until the judgment is completed, if there is no change point in the pattern, the end flag is set only by the initial comparison judgment, so the next data is immediately fetched and the processing is stopped. Speed is increased. In addition, when detecting the position of a pattern change point, the processing direction can be easily changed by giving a signal that determines the processing direction to the multiplexer, and there is no need to transfer the captured data to another memory, making it efficient. This can be said to be a contour table operation circuit suitable for processing.

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

第1図は数字「2」についてパターン変化点検
出を説明する図と輪郭テーブルを示し、第2図は
パターン変化点を検出するため水平方向処理と垂
直方向処理を説明する図、第3図は本発明の実施
例の構成図である。 EOR…排他的論理和演算回路、REG1,REG
2…レジスタ、MPX1,MPX2…マルチプレク
サ、PEC…高順位符号器、DEC…復号器、CHD
…変化点検出器。
Figure 1 shows a diagram and outline table for explaining pattern change point detection for the number "2", Figure 2 is a diagram explaining horizontal direction processing and vertical direction processing for detecting pattern change points, and Figure 3 shows a diagram explaining pattern change point detection. FIG. 1 is a configuration diagram of an embodiment of the present invention. EOR...Exclusive OR operation circuit, REG1, REG
2...Register, MPX1, MPX2...Multiplexer, PEC...High-order encoder, DEC...Decoder, CHD
...change point detector.

Claims (1)

【特許請求の範囲】 1 光学的に文字を読取つた前データを保持する
第1レジスタと、 水平方向と垂直方向処理のため該第1レジスタ
出力または現入力信号のシフト信号の何れかを切
換え出力する切換用第1マルチプレクサと、 該第1マルチプレクサ出力と、現入力信号デー
タとを比較する排他的論理和演算回路と、 該排他的論理和演算回路出力または順次処理過
程のデータを保持する第2レジスタと、 前記排他的論理和演算回路の出力と、下記復号
器出力と前記第2レジスタ出力とを論理積演算し
た出力との切換用第2マルチプレクサと、 前記第2レジスタの出力について高順位ビツト
の位置測定を行う高順位符号器と、 高順位ビツトを知つた後のビツトのリセツト用
の復号器と、 で構成され、前記高順位符号器出力により光学的
文字読取出力のパターン変化点を検出すること を特徴とするパターン変化点検出回路。
[Scope of Claims] 1. A first register that holds the previous data of optically read characters; and a switchable output of either the output of the first register or a shift signal of the current input signal for horizontal and vertical processing. a first multiplexer for switching; an exclusive OR operation circuit that compares the output of the first multiplexer with current input signal data; and a second switching multiplexer that holds the output of the exclusive OR operation circuit or data of the sequential processing process. a register, a second multiplexer for switching between the output of the exclusive OR operation circuit, an output obtained by ANDing the output of the decoder below and the output of the second register, and a high-order bit for the output of the second register. A high-order encoder that measures the position of the high-order bit, and a decoder that resets the bit after knowing the high-order bit, and detects a pattern change point of the optical character reading output using the output of the high-order encoder. A pattern change point detection circuit characterized by:
JP7744480A 1980-06-09 1980-06-09 Detecting circuit for pattern change point Granted JPS573177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7744480A JPS573177A (en) 1980-06-09 1980-06-09 Detecting circuit for pattern change point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7744480A JPS573177A (en) 1980-06-09 1980-06-09 Detecting circuit for pattern change point

Publications (2)

Publication Number Publication Date
JPS573177A JPS573177A (en) 1982-01-08
JPH0127473B2 true JPH0127473B2 (en) 1989-05-29

Family

ID=13634184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7744480A Granted JPS573177A (en) 1980-06-09 1980-06-09 Detecting circuit for pattern change point

Country Status (1)

Country Link
JP (1) JPS573177A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4699172A (en) * 1982-03-03 1987-10-13 Masco Corporation Handle valve assembly
JPS62126487A (en) * 1985-11-27 1987-06-08 Shinko Electric Co Ltd Edge detecting circuit for binary image
JP2613060B2 (en) * 1987-09-02 1997-05-21 沖電気工業 株式会社 Ruled line detection method
JPH05103215A (en) * 1991-06-14 1993-04-23 Ind Technol Res Inst Parallel processing archtecture for run-length code

Also Published As

Publication number Publication date
JPS573177A (en) 1982-01-08

Similar Documents

Publication Publication Date Title
US4821334A (en) Image processing apparatus
JPH04115144A (en) Image processor and automatic optical inspection apparatus using same
CA1306296C (en) Image processing apparatus
US3700797A (en) Facsimile noise deletion and coding system
JPH0626423B2 (en) Document reader
US4561106A (en) Character recognition process and apparatus
JPH0127473B2 (en)
JP3568732B2 (en) Image processing device
JP2659198B2 (en) Image binarization device
JP3303990B2 (en) Image signal processing device
JPH0376377A (en) Image processing device
JPS6248941B2 (en)
JPS6329472B2 (en)
JP2737467B2 (en) Wiring pattern inspection equipment
JP2521744B2 (en) Image processing device
JPH0371326A (en) Scanning adding device
JP4519272B2 (en) Pattern inspection apparatus and pattern inspection method
JPS61157157A (en) Image processing device
JPH05128241A (en) Image processing device
JPH0314359A (en) Color image reader
JPH01303577A (en) Picture converting device
JPH0946236A (en) Encoding method
JPH0426514B2 (en)
JPH09120451A (en) Image processing device
JPH04169978A (en) Position detection device