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
JPS6010352B2 - Stain removal method in figure recognition device - Google Patents
[go: Go Back, main page]

JPS6010352B2 - Stain removal method in figure recognition device - Google Patents

Stain removal method in figure recognition device

Info

Publication number
JPS6010352B2
JPS6010352B2 JP53056376A JP5637678A JPS6010352B2 JP S6010352 B2 JPS6010352 B2 JP S6010352B2 JP 53056376 A JP53056376 A JP 53056376A JP 5637678 A JP5637678 A JP 5637678A JP S6010352 B2 JPS6010352 B2 JP S6010352B2
Authority
JP
Japan
Prior art keywords
stain
mesh
stain removal
scanning window
size
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
JP53056376A
Other languages
Japanese (ja)
Other versions
JPS54148325A (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.)
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 JP53056376A priority Critical patent/JPS6010352B2/en
Publication of JPS54148325A publication Critical patent/JPS54148325A/en
Publication of JPS6010352B2 publication Critical patent/JPS6010352B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Description

【発明の詳細な説明】 本発明は、図形認識装置におけるシミ除去方式、特に帳
票に書かれた文字などの図形を謙取つてシミ除去回路部
を介してシミを除去した後に認識を行なう図形認識装置
において、ユーザが使用する白紙帳票がもつているシミ
の大きさを測定し、それに合わせて上記シミ除去回路部
がシミであるとみなして除去するシミ除去領域を設定す
るようにした図形認識装置においてシミ除去方式に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a stain removal method in a figure recognition device, and in particular a figure recognition method in which a figure such as a character written on a form is removed and recognized after the stain is removed through a stain removal circuit. A figure recognition device that measures the size of a stain on a blank form used by a user, and sets a stain removal area in which the stain removal circuit section considers it to be a stain and removes it accordingly. relates to a stain removal method.

図形認識装置においては、いわゆる前処理過程において
帳票上に存在するシミを認識対象図形自体と区別して抽
出し、該シミをシミ除去回路部によって除去するように
している。
In a figure recognition device, in a so-called pre-processing process, a stain existing on a form is extracted while distinguishing it from the figure to be recognized, and the stain is removed by a stain removal circuit.

そしてこの場合、例えば予め操作者がシミの大きさを想
定し、当該想定された大きさ以内の孤立点をシミである
とみなして除去するようにしている。しかし、ユーザが
使用する白紙の帳票上に存在するシミの大きさは不定で
あり、ユーザの現状にあわせて上記シミ除去回路部のシ
ミ除去領域の閥値を設定することが望まれる。
In this case, for example, the operator assumes the size of the stain in advance, and removes isolated points within the assumed size, considering them to be stains. However, the size of a stain that exists on a blank form used by a user is undefined, and it is desirable to set the threshold value of the stain removal area of the stain removal circuit unit according to the user's current situation.

本発明はこの点を解決することを目的としており、本発
明の図形認識装魔におけるシミ除去方式は帳票上に書か
れた図形を謙取つて電気信号に変換し、シミ除去回路部
を介してシミに対応する黒メッシュ点を白メッシュ点に
変更した上で、上記図形認識を行なう図形認識装置にお
いて、上記図形が書かれる前の白紙帳票を、縦mメッシ
ュでかつ穣nメッシュ(但しm=nを含む)のmxn個
分のメッシュに対応する大きさをもつ走査窓であって上
記値mおよびnの両者またはいずれか一方が異なる複数
種類の走査窓によって走査すると共に、当該走査したm
×nメッシュに対応する大きさをもつ走査窓において該
窓の最外周枠に対応する2(m−1)十2(n−1)個
のメッシュ位置がすべて白メッシュ点となる走査窓の中
で、認識対象図形の微小ドットと区別できるシミの大き
さを判定する最小の大きさをもつ最小走査窓を設定する
シミ面積判定回路部をもうけ、該シミ面積判定回路部に
おいて上記最小走査窓によって決定されるシミの大きさ
を判定して、上記シミ除去回路部のシミ除去領域の閥値
を上記最小走査窓によって与えられる大きさに設定する
ようにしたことを特徴としている。
The purpose of the present invention is to solve this problem, and the stain removal method in the figure recognition device of the present invention extracts the figure written on the form, converts it into an electrical signal, and sends it through the stain removal circuit. In a figure recognition device that performs the figure recognition after changing the black mesh points corresponding to the stains to white mesh points, the blank form before the figure is written has m mesh length and n mesh width (where m = A scanning window having a size corresponding to mxn meshes (including n), which scans with a plurality of types of scanning windows having different values m and/or n, and scans the scanned m
In a scanning window with a size corresponding to xn mesh, all 2(m-1)12(n-1) mesh positions corresponding to the outermost frame of the window are white mesh points. A stain area determination circuit section is provided to set a minimum scanning window having the minimum size for determining the size of a stain that can be distinguished from minute dots on the recognition target figure, and the stain area determination circuit section is configured to perform a process using the minimum scanning window. The present invention is characterized in that the size of the determined stain is determined, and the threshold value of the stain removal area of the stain removal circuit section is set to the size given by the minimum scanning window.

以下図面を参照しつつ説明する。第1図は走査窓によっ
て帳票を走査する態様を説明する説明図、第2図Aない
し日は夫々本発明にいうm×nメッシュの走査窓の一実
施例、第3図は本発明の図形認識装置におけるシミ除去
方式の一実施例構成、第4図は本発明にいうシミ面積判
定回路部の一実施例処理を概念的に説明する説明図、第
5図は本発明にいうシミ除去回路部の一実施例処理を説
明する説明図を示す。
This will be explained below with reference to the drawings. FIG. 1 is an explanatory diagram illustrating how a form is scanned by a scanning window, FIG. An embodiment of the structure of a stain removal method in a recognition device, FIG. 4 is an explanatory diagram conceptually explaining an embodiment of the process of the stain area determination circuit section according to the present invention, and FIG. 5 is a diagram showing the stain removal circuit according to the present invention. FIG. 4 is an explanatory diagram illustrating an example process of the part.

第1図において、1は帳票、2は帳票上の図形記録枠領
域、3,3ーー,3−2は夫々走査窓を表わしている、
また第2図において3一3×3,3一4×4,・・・・
・・・・・3一10×10として示したものは、各種大
きさをもつ走査窓を特定する符号であり、例えば走査窓
3−10×1川ま縦10メッシュでかつ横10メッシュ
の10×1の固分のメッシュに対応する大きさをもつ走
査窓を表わしている。
In FIG. 1, 1 represents a form, 2 represents a figure recording frame area on the form, and 3, 3--, and 3-2 represent scanning windows, respectively.
Also, in Figure 2, 3-3×3, 3-4×4,...
...3-10×10 is a code that specifies scanning windows of various sizes. For example, scanning window 3-10×1 has 10 meshes vertically and 10 meshes horizontally. It represents a scanning window with a size corresponding to a ×1 solid mesh.

なお本発明において例えば10×10メッシュの走査窓
によって走査するという記載は、周知の如く、次のよう
な事柄を意味している。即ち、第1図図示の図形記録枠
領域2上を、10×10メッシュの大きさのみが見える
窓でラスタ状に走査し、当該ラスタ走査の間に10×1
0メッシュの大きさをもつ上誼窓から見える図形を調べ
ることを意味している。本発明の場合、ユーザが使用す
る帳票1が白紙状態にあるとき、図形記録枠領域2を走
査窓3によって走査し、白紙帳票上に存在するシミの大
きさを測定するようにする。
In the present invention, for example, the description that scanning is performed using a 10×10 mesh scanning window means the following, as is well known. That is, the graphic recording frame area 2 shown in FIG.
This means examining the figure that can be seen through the upper window that has a size of 0 mesh. In the case of the present invention, when the form 1 used by the user is in a blank state, the figure recording frame area 2 is scanned by the scanning window 3 to measure the size of the stain existing on the blank form.

該測定に当っては、数多くの白紙帳票を走査しその結果
を測定するようにされる。即ち、例えば第2図日に示す
如き10×10メッシュの走査窓3一10×101こよ
って、白紙状態にある図形記録枠領域2を第1図図示矢
印a,b・・・・・・の如くラスタ状に走査してゆく。
そして白紙状態にある図形記録枠領域2上に存在するシ
ミが、上記走査窓3−10×10の最外周の36個分の
メッシュを除くメッシュ範囲(この場合8×8メッシュ
分即私〆ツシユ分)以内に収まってしまうように見えた
場合、上記走査窓3−10×1川こ代えてより小さい走
査窓3−9×9による走査を行なうようにされる。該走
査窓3−9×9の最外周の32個分のメッシュを除く4
9メッシュ範囲内(7×7メッシュ)に収まって見える
場合、次のより小さい走査窓3一8×8による走査を行
なうようにされる。以下同様にして、次々と走査窓3を
縮小してゆき、白紙帳票上に存在するシミの大きさを測
定するようにされる。
In this measurement, many blank forms are scanned and the results are measured. That is, for example, by using a scanning window 3 of 10 x 10 meshes as shown in Fig. 2 (10 x 101), the figure recording frame area 2 in a blank state can be scanned by the arrows a, b, . . . shown in Fig. 1. It scans like a raster.
Then, if the stain existing on the figure recording frame area 2 which is in a blank state is within the mesh range excluding the outermost 36 meshes of the scanning window 3-10x10 (in this case, 8x8 meshes), If it appears that the scanning window 3-10.times.1 is within 10 minutes, the scan window 3-10.times.1 is replaced with a smaller scanning window 3-9.times.9. 4 excluding the outermost 32 meshes of the scanning window 3-9×9
If it appears within the 9 mesh range (7x7 mesh), scanning is performed using the next smaller scanning window 3 - 8x8. Thereafter, the scanning window 3 is successively reduced in size in the same manner, and the size of the stain on the blank form is measured.

この場合、単に最大の大きさをもつシミを測定するだけ
でなく、所定枚数の白紙帳票を走査して、走査窓3一3
×3でカバーできる大きさのシミの個数、走査窓3一4
×4でカバーできる大きさのシミの個数、・・・・・・
を調べて頻度グラフをつくり、後述の如く認識対象図形
のドットと区別してシミとして除去できる好ましい範囲
のシミの大きさを測定することが望まれる。第3図は本
発明の図形認識装置におけるシミ除去方式の一実施例構
成を示し、図中の符号4はデータ処理部、5はシミ面積
判定回路部兼シミ除去回路部、6は走査窓設定部、7は
ラッチ回路、8はアドレス・レジスタであってPROM
で構成される走査窓設定部6に対する議出しアドレス情
報をセットするもの、9は固定アドレス・レジスタであ
って除去すべきシミの大きさが決定された状態のもとで
上記走査窓設定部6に対するアドレス情報をセットする
もの、「ビデオ信号」は白紙帳票あるいは図形を書込ん
だ帳票を例えばフライング・スポットなどでスキャンし
て得たビデオ信号を表わしている。なお上記m×nメッ
シュの走査窓による走査を行なう処理を実現するには、
上記フライング・スポットなどで各メッシュを走査する
形で全体をラスタ状に走査した際のビデオ信号を利用し
、周知の如く、m×nメッシュ分の窓に相当する枠内の
各メッシュの白・黒信号(m×n個)を一度に眺め得る
ようにし、その眺めを上記フライング・スポットの走査
に対応して順次ズラしてゆくようにされる。図示のビデ
オ信号はこのために利用される。白紙帳票を走査窓3に
よって走査してシミの大きさを測定する過程は次の如く
行なわれる。
In this case, in addition to simply measuring the largest stain, a predetermined number of blank forms are scanned and the scanning windows 3 and 3 are scanned.
Number of stains that can be covered by ×3, scanning window 3-4
The number of stains that can be covered with ×4,...
It is desirable to create a frequency graph by examining the above, and measure the size of the stain within a preferable range that can be distinguished from the dots of the figure to be recognized and removed as a stain, as described later. FIG. 3 shows the configuration of an embodiment of the stain removal method in the figure recognition device of the present invention, in which reference numeral 4 is a data processing section, 5 is a stain area determination circuit unit and stain removal circuit section, and 6 is a scanning window setting. , 7 is a latch circuit, and 8 is an address register which is a PROM.
9 is a fixed address register for setting the output address information for the scanning window setting section 6, which is configured with The ``video signal'' that sets the address information for the ``video signal'' represents a video signal obtained by scanning a blank form or a form with figures written on it using, for example, a flying spot. Note that in order to realize the process of scanning using the m×n mesh scanning window,
By using the video signal obtained by scanning each mesh in a raster manner using the above-mentioned flying spot, etc., as is well known, the white color of each mesh within a frame corresponding to a window of m x n meshes is The black signals (m×n) can be viewed at once, and the view is sequentially shifted in accordance with the scanning of the flying spots. The illustrated video signal is used for this purpose. The process of scanning a blank form using the scanning window 3 to measure the size of a stain is carried out as follows.

即ち、{1ー 該処理過程においては、回路部5はシミ
面積判定回路部として動作する。
That is, {1- In the processing process, the circuit section 5 operates as a stain area determination circuit section.

■ そして白紙帳票から得られたビデオ信号はシミ面積
判定回路部5を通ってデータ処理部4に渡される。
(2) The video signal obtained from the blank form is passed through the stain area determination circuit section 5 to the data processing section 4.

‘3} このとき最初、アドレス・レジスタ8には、走
査窓設定部6からシミ面積判定回路部5に対して走査窓
3一10‐×10を選択する信号を出力せしめるべきア
ドレス情報がセットされる。
'3} At this time, the address register 8 is initially set with address information that causes the scanning window setting unit 6 to output a signal for selecting the scanning window 3-10-×10 to the stain area determination circuit unit 5. Ru.

‘41白紙帳票から得られたビデオ信号が入力されてゆ
く間に走査窓3−10×10でカバーされるシミが検出
された場合、ラツチ回路7がセットされる。該ラッチ回
路7をリセツトする時期は、1つの帳票分のビデオ信号
にもとずし、て処理し終った時期でもよく、あるいはラ
ツチ回路7が一度でもセットされたときこれを図示しな
い他の記憶部に記憶せしめた上で直ちにリセットしもよ
い。‘5} ラツチ回路7が一旦セットされると、アド
レス・レジスタ8に対して、走査窓設定部6からシミ面
積判定回路部5に対して走査窓3−9×9を選択する信
号を出力せしめるべきアドレス情報がセットされる。
If a spot covered by the scanning window 3-10.times.10 is detected while the video signal obtained from the '41 blank form is being input, the latch circuit 7 is set. The latch circuit 7 may be reset at the time when the video signal for one form has been processed, or when the latch circuit 7 is set even once, it may be reset at another memory (not shown). It may be stored in the unit and then immediately reset. '5} Once the latch circuit 7 is set, a signal is output to the address register 8 to select the scanning window 3-9×9 from the scanning window setting section 6 to the stain area determination circuit section 5. address information is set.

即ち走査窓3一9×9でシミの大きさを調べてゆく。‘
6ー そして上記処理■で示したと同様の処理が行なわ
れ、ラツチ回路7が一度でもセットされたとき、次に走
査窓3−8×8によるシミの大きさを調べてゆく。
That is, the size of the stain is examined using the scanning window 3 - 9×9. '
6- Then, the same process as shown in process (2) above is performed, and when the latch circuit 7 is set at least once, the size of the stain by the scanning window 3-8×8 is then checked.

上述の如く走査窓3一10×10,3−9×9・…・・
によってシミの大きさを調べてゆき、認識対象図形のド
ットと区別してシミとして除去すべき最大のシミの大き
さが測定されたとき、以後の処理においてシミ除去回路
5に対して除去すべきシミの大きさをセットするように
する。
As mentioned above, the scanning window 3-10×10, 3-9×9...
When the size of the stain is determined using the following steps, and when the maximum size of the stain that should be distinguished from the dots of the recognition target figure and removed as a stain is determined, the stain removal circuit 5 is asked to remove the stain in subsequent processing. Set the size of .

即ち、図示の固定アドレス・レジスタ9に所定のアドレ
ス情報をセットし、走査窓設定部6がシミ除去回路部5
に対して除去すべきシミの大きさを指示する信号を出力
するようにする。そして以後シミを除去する過程に入る
。即ち、‘71以後、図形が書かれた帳票かち得られた
ビデオ信号がシミ除去回路部5に入力される。
That is, predetermined address information is set in the fixed address register 9 shown in the figure, and the scanning window setting section 6 sets the stain removal circuit section 5.
A signal indicating the size of the stain to be removed is output. After that, the process of removing the stain begins. That is, after 1971, a video signal obtained from a form on which a figure was written was input to the stain removal circuit section 5.

‘81 そしてシミ除去回路部5は指示された大きさ範
囲内のシミを除去し、該シミを除去されたビデオ信号が
データ処理部4に供給される。
'81 Then, the stain removal circuit section 5 removes the stains within the specified size range, and the video signal from which the stains have been removed is supplied to the data processing section 4.

即ち、データ処理部4は、シミを除去されたビデオ信号
にもとづいて、公3句の如く図形認識処理を行なってゆ
く。第4図は本発明にいうシミ面積判定回路部の一実施
例処理をネ暁念的に説明する説明図、第5図は本発明に
いうシミ除去回路部の一実施例処理を説明する説明図を
示す。
That is, the data processing section 4 performs figure recognition processing as in Kosanku, based on the video signal from which the stains have been removed. FIG. 4 is an explanatory diagram illustrating one embodiment of the process of the stain area determination circuit according to the present invention, and FIG. 5 is an explanatory diagram illustrating one embodiment of the process of the stain removal circuit according to the present invention. Show the diagram.

図中の符号3一mxnはmxnメッシュよりなる走査窓
bll,b12,・・…・はメッシュ情報であって白
メッシュ点に対応して論理「1」が与えられ黒メッシュ
点に対応して論理「0」が与えられるもの、10−IA
と10一1B,10一2Aと10一2B,10一3Aと
10一3B,……は夫々シフト・レジスタ、11一1,
12一1,13一1,……は夫々アンド回路を表わす。
シミ面積判定回路部5に対して、走査窓設定部6から走
査窓3としてm×nメッシュが指定されたとするとき、
該走査窓3−m×nによって白紙帳票が走査される。
The symbol 31mxn in the figure is a scanning window consisting of mxn mesh. bll, b12, ... is mesh information, and a logic "1" is given corresponding to a white mesh point, and a logic "1" is given corresponding to a black mesh point. Those given “0”, 10-IA
and 10-1B, 10-2A and 10-2B, 10-3A and 10-3B, . . . are shift registers, 11-1,
12-1, 13-1, . . . represent AND circuits, respectively.
When it is assumed that an m×n mesh is specified as the scanning window 3 by the scanning window setting unit 6 for the stain area determination circuit unit 5,
A blank form is scanned by the scanning window 3-m×n.

そして該走査窓3−mxnの最外周の2(m−1)十2
(n−1)個のメッシュ位置がすべて白メッシュ点であ
ってかつ上記最外周のメッシュ位置で囲われる(m−2
)(n−2)個のメッシュ位置にいずれか少なくとも1
つの黒メッシュ点が存在するとき、当該走査窓3一m×
nでカバーされる大きさのシミが存在するものと判定さ
れる。即ち白情報が論理「1ハ黒情報が論理「0」であ
ることから、第4図図示の論理式FがF=1を満足する
とき、カバーされる大きさのシミが存在するものと判定
される。第5図図示のシフト・レジスタ10−IAと1
0−IBには帳票上の例えば1縦列分のメッシュ情報が
シリヤルに入力され、シフト・レジスタ10−2Aと1
0−2Bには同様に次の縦列の1縦列分のメッシュ情報
が入力され、シフト・レジスタ10−3Aと10−3B
には更に次の縦列の1縦列分のメッシュ情報が入力され
・・・・・・てゆく。
And the outermost 2(m-1)12 of the scanning window 3-mxn
(n-1) mesh positions are all white mesh points and are surrounded by the outermost mesh position (m-2
)(n-2) mesh positions.
When there are two black mesh points, the scanning window 31m×
It is determined that there is a stain with a size covered by n. In other words, since the white information is logic "1" and the black information is logic "0", when the logical formula F shown in FIG. 4 satisfies F=1, it is determined that there is a stain of the size to be covered be done. Shift register 10-IA and 1 shown in FIG.
For example, mesh information for one column on the form is serially input to 0-IB, and shift registers 10-2A and 1
Similarly, mesh information for one column of the next column is input to 0-2B, and shift registers 10-3A and 10-3B
In addition, the mesh information for one column of the next column is input, and so on.

このとき例えばシフト・レジスタ10−IA上の各端子
、シフト・レジスタ10一2A上の各端子、・・・・・
・・・・からの情報の態様が変化する状態を眺めること
によって、公知の如く、ちようど上記走査窓3−10×
1川こて図形を走査したこととなる。今シミ除去回路部
5に対して、10×10メッシュの走査窓でカバーされ
るシミを除去すべきことが指示されたとする。この場合
、シフト・レジスター0−IAに対応してアンド回路1
1一1が、シフト・レジスタ10−2Aに対応してアン
ド回路11−2が、……シフト・レジスタ10一10A
に対応してアンド回路11−10が夫々オン可能にされ
る。したがって、ビデオ信号がシリヤルに入力されるに
つれて、シフト・レジスタ10一1A,10−2A,・
・・・・・10一10A上からの各メッシュに対応した
出力端子から、公知の如く10×10メッシュの走査窓
3−10×1川こよって帳票を走査した出力が取出され
る。そして、該走査窓3一10×10の最外周の36個
のすべてのメッシュ位置が白メッシュ点となる状態が検
出されたとき、シフト・レジスタ10−IA,10−2
A,……,10−10A上のすべてのメッシュ情報に対
して論理「1」を与えるよう、シフト・レジスタ10−
IA,10−2A,・・・・・・,10−10Aをリセ
ットする。
At this time, for example, each terminal on shift register 10-IA, each terminal on shift register 10-2A, etc.
As is well known, by observing the state in which the information form changes from .
This means that one river trowel figure has been scanned. Suppose now that the stain removal circuit unit 5 is instructed to remove a stain covered by a 10×10 mesh scanning window. In this case, AND circuit 1 corresponds to shift register 0-IA.
1-1 corresponds to the shift register 10-2A, and the AND circuit 11-2 corresponds to the shift register 10-10A.
In response to this, AND circuits 11-10 are respectively enabled to be turned on. Therefore, as the video signal is serially input, shift registers 10-1A, 10-2A, .
. . . From the output terminal corresponding to each mesh from above 10-10A, the output of scanning the form through the 10×10 mesh scanning window 3-10×1 river is taken out, as is well known. When it is detected that all 36 mesh positions on the outermost periphery of the scanning window 3-10×10 become white mesh points, the shift registers 10-IA, 10-2
A, . . . , 10-10A, the shift register 10-
Reset IA, 10-2A, ..., 10-10A.

即ち当該時点において走査窓3−10×10と重なって
いる10×10メッシュ全体を強制的に白メッシュ点に
変更せしめるようにする。同様にシミ除去回路部5に対
して、4×4メッシュの走査窓でカバーされるシミを除
去すべきことが指示されたとすると、シフト・レジスタ
10一1Aに対応してアンド回路12−1が、シフト・
レジスタ10一2Aに対応してアンド回路12−2がシ
フト・レジスタ10−3Aに対応してアンド回路12−
3が、シフト・レジスタ10−4Aに対応してアンド回
路12一4がオン可能とされる。
That is, the entire 10x10 mesh that overlaps with the scanning window 3-10x10 at that point in time is forcibly changed to a white mesh point. Similarly, if the stain removal circuit unit 5 is instructed to remove stains covered by a 4×4 mesh scanning window, the AND circuit 12-1 is activated in response to the shift register 10-1A. ,shift·
An AND circuit 12-2 corresponds to the register 10-2A, and an AND circuit 12-2 corresponds to the shift register 10-3A.
3, the AND circuits 12-4 are enabled to be turned on corresponding to the shift register 10-4A.

したがって、走査窓3一4×4で走査してゆく形となる
。そして該走査窓3一4×4の最外周の12個のすべて
のメッシュ位置が白メッシュ点となる状態が検出された
とき、当該時点において走査窓3一4×4と重なってい
る4×4メッシュ全体を強制的に白メッシュ点に変更せ
しめる。したがって、今シミ除去回路部5に対してmx
nメッシュが指示されたものとして、図形が書込まれた
帳票から得られたビデオ信号を当該シミ除去回路部5に
通したとき、該シミ除去回路部5かち得られたビデオ信
号は、(m−1)×(n−1)の大きさよりも小さい面
積をもつすべてのドットを抹消したビデオ信号となる。
即ち(m−1)×(n−1)の大きさよりも小さい面積
をもつシミがすべて除去されたビデオ信号となる。以上
説明した如く、本発明によれば、ユーザが使用する白紙
帳票に存在するシミの大きさに合わせて、シミ除去回路
部のシミ除去領域の闇値を設定することが可能となる。
Therefore, the scanning window 3 is scanned in a 4×4 manner. When it is detected that all 12 mesh positions on the outermost periphery of the scanning window 3 - 4 x 4 become white mesh points, the 4 x 4 mesh that overlaps with the scanning window 3 - 4 x 4 at that point in time is detected. Forces the entire mesh to change to white mesh points. Therefore, mx is now applied to the stain removal circuit section 5.
When a video signal obtained from a form on which a figure is written is passed through the stain removal circuit section 5 assuming that n mesh is specified, the video signal obtained from the stain removal circuit section 5 is (m The resulting video signal is obtained by erasing all dots having an area smaller than -1)×(n-1).
In other words, a video signal is obtained in which all stains having an area smaller than (m-1)×(n-1) are removed. As described above, according to the present invention, it is possible to set the darkness value of the stain removal area of the stain removal circuit section according to the size of the stain present on the blank form used by the user.

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

第1図は走査窓によって帳票を走査する態様を説明する
説明図、第2図Aないし川ま夫々本発明にいうm×nメ
ッシュの走査窓の一実施例、第3図は本発明の図形認識
装置におけるシミ除去方式の一実施例構成、第4図は本
発明にいうシミ面積判定回路の一実施例処理を概念的に
説明する説明図、第5図は本発明にいうシミ除去回路部
の一実施例処理を説明する説明図を示す。 図中、1は帳票、3は走査窓、4はデータ処理部、5は
シミ面積判定回路部兼シミ除去回路部、6は走査窓設定
部、7はラッチ回路を表わす。 ア1図才2図 才3図 ゲ4図 75図
FIG. 1 is an explanatory diagram illustrating how a form is scanned by a scanning window, FIG. 2 is an example of an m×n mesh scanning window according to the present invention, and FIG. 3 is a diagram of a figure according to the present invention. The structure of one embodiment of the stain removal method in the recognition device, FIG. 4 is an explanatory diagram conceptually explaining the processing of one embodiment of the stain area determination circuit according to the present invention, and FIG. 5 is the configuration of the stain removal circuit according to the present invention. An explanatory diagram illustrating one embodiment of processing is shown. In the figure, 1 is a form, 3 is a scanning window, 4 is a data processing section, 5 is a stain area determination circuit/stain removal circuit, 6 is a scanning window setting section, and 7 is a latch circuit. A 1 figure 2 figures 3 figures Ge 4 figures 75 figures

Claims (1)

【特許請求の範囲】 1 帳票上に書かれた図形を読取って電気信号に変換し
、シミ除去回路部を介してシミに対応する黒メツシユ点
を白メツシユ点に変更した上で、上記図形認識を行なう
図形認識装置において、上記図形が書かれる前の白紙帳
票を、縦mメツシユでかつ横nメツシユ(旦しm=nを
含む)のm×n個分のメツシユに対応する大きさをもつ
走査窓であって上記値mおよびnの両者またはいずれか
一方が異なる複数種類の走査窓によって走査すると共に
、当該走査したm×nメツシユに対応する大きさをもつ
走査窓において該窓の最外周枠に対応する2(m−1)
+2(n−1)個のメツシユ位置がすべて白メツシユ点
となる走査窓の中で、認識対象図形の微小ドツトと区別
できるシミの大きさを判定する最小の大きさをもつ最小
走査窓を設定するシミ面積判定回路部をもうけ、該シミ
面積判定回路部において上記最小走査窓によって決定さ
れるシミの大きさを判定して、上記シミ除去回路部のシ
ミ除去領域の閾値を上記最小走査窓によって与えられる
大きさに設定するようにしたことを特徴とする図形認識
装置におけるシミ除去方式。 2 上記シミ除去回路部は、上記閾値によって与えられ
たm×nメツシユのシミ除去領域をもち、図形が書かれ
た帳票を走査して上記シミ除去領域の最外周枠に対応す
る2(m−1)+2(n−1)個のメツシユ位置がすべ
て白メツシユ点となることを検出したとき、上記m×n
メツシユのシミ除去領域内のすべてのメツシユ点を強制
的に白メツシユ点に変更するよう構成されることを特徴
とする特許請求の範囲第1項記載の図形認識装置におけ
るシミ除去方式。
[Claims] 1. A figure written on a form is read and converted into an electrical signal, and a black mesh point corresponding to the stain is changed to a white mesh point via a stain removal circuit, and then the figure is recognized. In a figure recognition device that performs this, the blank form before the above-mentioned figure is written has a size corresponding to m×n meshes of m meshes in height and n meshes in width (including the size m=n). The outermost periphery of the scanning window is scanned by a plurality of types of scanning windows in which the values m and/or n are different, and the scanning window has a size corresponding to the scanned m×n mesh. 2(m-1) corresponding to the frame
Among the scanning windows in which +2(n-1) mesh positions are all white mesh points, set the minimum scanning window with the minimum size that determines the size of a stain that can be distinguished from a minute dot on the recognition target figure. a stain area determination circuit section for determining the size of the stain determined by the minimum scanning window in the stain area determination circuit section, and determining a threshold value of the stain removal area of the stain removal circuit section using the minimum scanning window. A stain removal method in a figure recognition device, characterized in that the stain is set to a given size. 2 The stain removal circuit unit has a stain removal area of m×n mesh given by the threshold value, and scans a form on which a figure is written to determine the area corresponding to the outermost frame of the stain removal area. 1) When it is detected that +2(n-1) mesh positions are all white mesh points, the above m×n
2. A stain removal method in a figure recognition device according to claim 1, wherein all mesh points within a mesh stain removal area are forcibly changed to white mesh points.
JP53056376A 1978-05-12 1978-05-12 Stain removal method in figure recognition device Expired JPS6010352B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53056376A JPS6010352B2 (en) 1978-05-12 1978-05-12 Stain removal method in figure recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53056376A JPS6010352B2 (en) 1978-05-12 1978-05-12 Stain removal method in figure recognition device

Publications (2)

Publication Number Publication Date
JPS54148325A JPS54148325A (en) 1979-11-20
JPS6010352B2 true JPS6010352B2 (en) 1985-03-16

Family

ID=13025535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53056376A Expired JPS6010352B2 (en) 1978-05-12 1978-05-12 Stain removal method in figure recognition device

Country Status (1)

Country Link
JP (1) JPS6010352B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668761B2 (en) * 1986-06-06 1994-08-31 住友特殊金属株式会社 Small particle removal method

Also Published As

Publication number Publication date
JPS54148325A (en) 1979-11-20

Similar Documents

Publication Publication Date Title
EP0333921B1 (en) Cell image processing method and apparatus therefor
US4162482A (en) Pre-processing and feature extraction system for character recognition
CA1160347A (en) Method for recognizing a machine encoded character
JPS6145376A (en) Document image accentuation type digital filter
JPS6357831B2 (en)
JP7812684B2 (en) Teacher data generation device, teacher data generation method, and program
JP3758266B2 (en) Code reader
JPS6010352B2 (en) Stain removal method in figure recognition device
EP0062665A1 (en) Segmentation system and method for optical character scanning
US4783832A (en) Image processing apparatus
JPS5832434B2 (en) recognition device
JP3984295B2 (en) Method for determining pen speed along a graphic tablet and graphic tablet suitable for carrying out this method
JP4646599B2 (en) Ultrasonic flaw detector
JP3276555B2 (en) Format recognition device and character reader
JP2982287B2 (en) Character string detection method, character string detection device, character string reading method, and character string reading device
JPH10233930A (en) Image processor
JPS646508B2 (en)
JP3116622B2 (en) Printed line detection method
JPS5994181A (en) Pattern recognizing device
JPS6333194B2 (en)
JPS596419B2 (en) Character extraction method
JPH0222427B2 (en)
JP2957740B2 (en) Line direction determination device
JP3113086B2 (en) Character recognition result communication processing method
JPH0243220B2 (en)