JPS6129035B2 - - Google Patents

Info

Publication number
JPS6129035B2
JPS6129035B2 JP54092312A JP9231279A JPS6129035B2 JP S6129035 B2 JPS6129035 B2 JP S6129035B2 JP 54092312 A JP54092312 A JP 54092312A JP 9231279 A JP9231279 A JP 9231279A JP S6129035 B2 JPS6129035 B2 JP S6129035B2
Authority
JP
Japan
Prior art keywords
circuit
binary signal
binary
pixels
pixel
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
JP54092312A
Other languages
Japanese (ja)
Other versions
JPS5617485A (en
Inventor
Fukuma Sakamoto
Norio Itsushiki
Koji Sato
Masatoshi Tanaka
Akihiro Oooka
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP9231279A priority Critical patent/JPS5617485A/en
Publication of JPS5617485A publication Critical patent/JPS5617485A/en
Publication of JPS6129035B2 publication Critical patent/JPS6129035B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は光学的文字等読取装置に係り、特に文
字等が記載された対象物における汚れなどをノイ
ズとして電気的に判別し削除する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an optical character reading device, and more particularly to a device that electrically identifies dirt and the like on an object on which characters are written as noise and deletes it.

従来より提案されている光学的文字等読取装置
は、第1図に簡略図示する如く文字、符号などの
文字等が記載されている紙などの対象物を光電変
換部1で走査・検出し、得られたアナログ信号を
二値化回路2で文字等領域と背景領域とに対応し
た二値信号を変換し、この二値信号に基づいて識
別回路3にて文字等の識別を行ない文字等のコー
ドを出力する機能を有している。かかる従来の回
路についてはたとえば対象物が汚れていたりまた
何らかの原因にて万一ノイズを拾うとその不用な
文字等領域を示す二値信号が識別回路3にそのま
ま入力されて処理されることになり、ノイズを含
んだままで識別処理されて、識別不能や識別誤ま
りを生ずることが多い。
Conventionally proposed optical character reading devices use a photoelectric conversion unit 1 to scan and detect an object, such as paper, on which characters, codes, etc. are written, as shown in a simplified diagram in FIG. The obtained analog signal is converted into a binary signal corresponding to the character area and the background area by the binarization circuit 2, and based on this binary signal, the identification circuit 3 identifies the character, etc. It has a function to output code. In such conventional circuits, if the object is dirty or noise is picked up for some reason, the binary signal indicating the unnecessary area such as characters is input as is to the identification circuit 3 and processed. , the identification process is often performed while still containing noise, resulting in inability to identify or identification errors.

本発明はかかる欠点に鑑み正規の文字等領域に
ない文字等領域を現わす二値信号を不要なもとし
て背景領域の二値信号に変換・修正するための光
学的文字等読取装置の提供を目的とする。
In view of this drawback, the present invention provides an optical character reading device for converting and correcting a binary signal representing a character area that is not in a regular character area into an unnecessary binary signal of a background area. purpose.

かかる目的を達成するため本発明としては、文
字等が記載された対象物の一部を区画した視野領
域における文字等領域と背景領域とを上記視野領
域の複数行と複数列の画素に対応した光電変換部
にて走査・検出し、この光電変換部からのアナロ
グ信号を二値化回路にて二値信号に変換し、この
二値信号に基づき識別回路にて上記文字等のコー
ドを出力するものにおいて、上記二値化回路と上
記識別回路との間に前処理回路を介在させ、該前
処理回路では、各画素の二値信号をその画素の周
辺のnxn画素の二値信号の有り方によつて決定す
る。そのため、前処理回路として、二値化回路か
らの二値信号を順次記憶する記憶回路と、該記憶
回路に記憶されている二値信号データを処理し
て、該画素の周辺のnxn画素の二値信号のパター
ンを判定する回路として構成する。一方文字領域
の境界近傍における画素の二値信号の決定を正し
く行うため記憶回路に二値信号を記憶する際に、
境界近傍の画素の二値信号に続いて、ダミーの画
素の二値信号を背景領域のデータとして記憶して
上記判定回路で、各画素の二値信号を決定するこ
とを特徴とする。
In order to achieve such an object, the present invention provides a system in which a character area and a background area in a visual field area that is a part of an object in which characters, etc. are written correspond to multiple rows and multiple columns of pixels in the visual field area. The photoelectric conversion unit scans and detects the signal, the analog signal from this photoelectric conversion unit is converted into a binary signal by the binarization circuit, and based on this binary signal, the identification circuit outputs a code such as the above characters. In the device, a preprocessing circuit is interposed between the binarization circuit and the identification circuit, and the preprocessing circuit converts the binary signal of each pixel into a state of the binary signals of nxn pixels surrounding the pixel. Determined by. Therefore, as a pre-processing circuit, there is a memory circuit that sequentially stores the binary signals from the binarization circuit, and a memory circuit that processes the binary signal data stored in the memory circuit and converts the nxn pixels around the pixel. It is configured as a circuit that determines the pattern of a value signal. On the other hand, when storing a binary signal in a storage circuit in order to correctly determine the binary signal of a pixel near the boundary of a character area,
Following the binary signal of the pixel near the boundary, the binary signal of the dummy pixel is stored as background area data, and the determination circuit determines the binary signal of each pixel.

ここで、本発明による光学的文字等読取装置の
実施例を説明する。本実施例では記憶回路として
シフトレジスタを用いており、5×5画素のデー
タにより中心の画素の二値信号を決定する。第2
図は二値化回路2と識別回路3との間にノイズ除
去のための前処理回路4を介在させたものの簡略
図である。すなわち、文字等が記載された対象物
の一部を区画した視野領域全体つまり文字等領域
と背景領域とを視野領域の複数行と複数列の画素
に区分して、この各行または各列ごとに順に走査
を行ない各画素が文字等領域か背景領域かによつ
て異なる信号として検出され得る光電変換部1
と、この光電変換部1からの各画素に対応したア
ナログ信号をデイジタル信号に変換する二値化回
路2とが存在し、二値化回路2の後段にはノイズ
除去のための前処理回路4が存在する。
Here, an embodiment of the optical character reading device according to the present invention will be described. In this embodiment, a shift register is used as a storage circuit, and the binary signal of the center pixel is determined based on data of 5×5 pixels. Second
The figure is a simplified diagram in which a preprocessing circuit 4 for noise removal is interposed between a binarization circuit 2 and an identification circuit 3. In other words, the entire visual field, which is a part of an object with characters written on it, that is, the character area and the background area, is divided into multiple rows and multiple columns of pixels in the visual field, and each row or column is divided into pixels. A photoelectric conversion unit 1 that sequentially scans and can detect each pixel as a different signal depending on whether it is a text area or a background area.
There is a binarization circuit 2 that converts the analog signal corresponding to each pixel from the photoelectric conversion unit 1 into a digital signal, and a preprocessing circuit 4 for noise removal is provided after the binarization circuit 2. exists.

この前処理回路4に入力される二値信号として
は通常並列のたとえば一行分を一括している二値
信号として扱われかつ伝送されるので、前処理回
路4の前段には直列二値信号に変換するため並列
一直列変換回路が存在する。この直列二値信号へ
の変換は次段にくる複数段のシフトレジタへの入
力の便宜のための変換であるため、二値化回路2
からの出力が直列二値信号の場合には当然並列変
換回路は必要ない。
The binary signals inputted to the preprocessing circuit 4 are usually handled and transmitted as parallel binary signals, for example, one row of signals at a time. A parallel-to-serial conversion circuit exists for the conversion. Since this conversion to a serial binary signal is for the convenience of inputting to the next stage of multi-stage shift registers, the binarization circuit 2
Naturally, if the output from the converter is a serial binary signal, a parallel conversion circuit is not required.

シフトレジスタは本実施例の場合第3図に示す
ように5段の直列接続を有しており、このシフト
レジスタ5にはクロツクにより順次前述した画素
に該当する直列の二値信号が入力されることにな
り、さらに、シフトレジスタ5の容量としては5
aから5dまでが前述した視野領域の一行分の画
素に2画素分加えた記憶素子を持ち、5段目のシ
フトレジスタ5eとしては少なくとも5個の記憶
素子を有するものが必要である。
In this embodiment, the shift register has five stages connected in series, as shown in FIG. Therefore, the capacity of the shift register 5 is 5.
The shift registers a to 5d have memory elements corresponding to two pixels in addition to the pixels for one row of the visual field area described above, and the fifth stage shift register 5e must have at least five memory elements.

ここで、シフトレジスタ5の容量の説明を述べ
たので、容量と関係する本実施例におけるノイズ
除去の概観を説明しておく。シフトレジスタ5に
は第4図に示す光電変換部1の視野領域における
複数行(いま仮にn行とする)および複数列(い
ま仮にm列とする)の画素に該当する二値信号が
入つてくる。すなわち、i行の左端から右端へつ
いでi+1行の左端から右端へ………という具合
に二値信号が入力されるのである。そして、本実
施例では更に第4図に示すように視野領域のn行
の他に更に各行につき2列すなわちm+2列の画
素を想定して処理を行なつている。この想定とい
うのは、現実の視野領域ではあくまでもn行m列
であるが二値化回路2の後段にて電気的にm+2
列となるように二値化回路2からの二値信号に更
に2列分の二値信号を挿入するものである。この
2列分の付加二値信号は背景領域に該当する二値
信号を入れている。このいわばダミーである二値
信号の付加理由は後述する。
Now that the capacity of the shift register 5 has been explained, an overview of noise removal in this embodiment related to the capacity will be explained. The shift register 5 contains binary signals corresponding to pixels in a plurality of rows (let's say n rows now) and a plurality of columns (let's say m columns now) in the viewing area of the photoelectric converter 1 shown in FIG. come. That is, the binary signal is input from the left end of the i row to the right end, then from the left end to the right end of the i+1 row, and so on. Further, in this embodiment, as shown in FIG. 4, in addition to the n rows of the visual field area, processing is performed assuming two columns of pixels for each row, that is, m+2 columns. This assumption means that in the actual visual field, there are only n rows and m columns, but in the latter stage of the binarization circuit 2, electrically m+2
Two columns of binary signals are further inserted into the binary signal from the binarization circuit 2 so as to form a column. These two columns of additional binary signals contain binary signals corresponding to the background area. The reason for adding this so-called dummy binary signal will be described later.

さて、第4図に示す1行分の画素に該当する二
値信号はシフトレジスタ5aの記憶容量と一致
し、同様に2行、3行、4行、5行(一部)の画
素に該当する二値信号もシフトレジスタ5b,5
c,5d,5eと一致すれば第3図のシフトレジ
スタ5内に入力される二値信号は第4図の画素と
同様の配列状態を採る。ここで、第4図の黒点に
該当する二値信号がたとえば対象物の汚れなどに
よる正規の文字等領域以外の不要なものであるか
否かを判別する場合、この黒点に該当する二値信
号を中心として5行5列の画素に該当する二値信
号に着目する。かかる状態を番号付けして示すと
第5図に示すようになる。この5行5列の画素に
該当する二値信号において、第5図における画素
33の二値信号が正規の文字等領域のものか否か
については一例として第6図に示す10個の成分に
この5行5列の画素に該当する二値信号を分けた
場合を考える。すなわち、第6図と第5図を対応
させるに、 A=11、12、21 B=41、51、52 C=14、15、25 D=45、55、54 E=22、32、42 F=24、34、44 G=13、31、35、53 H=23、43 I=21、31、41、25、35、45 J=11、12、13、14、15、51、52、53、54、55 の如くである。そして、この複数種類の成分を前
提として例えば第7図、第8図、第9A図に示す
三つのモザイク状パターンを設定し、第7図で成
分A,B,C,D,Gが背景領域の二値信号で
E,Fのいずれか一方がすべて背景領域の二値信
号のとき画素33の二値信号を背景領域の二値信
号とし、第8図で成分E,F,H,Gが背景領域
の二値信号でA,B,C,Dのうちの三成分が背
景領域の二値信号のとき画素33の二値信号を背
景領域の二値信号とし、第9A図で成分Jが背景
領域の二値信号で二つのI,E,F内に少なくと
も1個の文字等領域の二値信号があるとき画素3
3の二値信号を文字等領域の二値信号として、画
素33の二値信号を決定するという具合である。
ここに挙げたモザイク状パターンは例示であつて
第6図の成分の組合せを変化させることで多種の
モザイク状パターンができ多くの画素33の決定
方法が存在する。また、成分の形状である画素の
組合せを変化させて別の配置を有する成分形状と
してもよい。また、背景領域の二値信号がどこに
あるか又は文字等の二値信号がどこにあるかとい
う集散状態を変化させて画素33の二値信号を決
定するようにしてもよい。こうして、対象となる
画素に該当する二値信号を中心として、その周囲
に5行、5列の画素に該当する二値信号に複数成
分を有する複数種類のモザイク状パターンを当て
はめることにより、対象となる画素の二値信号を
決定することができる。この場合、5行5列の画
素に限らず例えば7行7列のモザイク状パターン
を用いることもできる。
Now, the binary signal that corresponds to one row of pixels shown in FIG. The binary signals to be output are also transferred to the shift registers 5b, 5.
c, 5d, and 5e, the binary signal input into the shift register 5 of FIG. 3 takes the same arrangement state as the pixels of FIG. 4. Here, when determining whether or not the binary signal corresponding to the black dot in FIG. We will focus on binary signals corresponding to pixels in 5 rows and 5 columns with . Such states are numbered and shown in FIG. 5. Among the binary signals corresponding to the pixels in 5 rows and 5 columns, whether or not the binary signal of pixel 33 in FIG. Consider a case where the binary signals corresponding to the pixels in the 5 rows and 5 columns are divided. That is, when comparing Figure 6 and Figure 5, A = 11, 12, 21 B = 41, 51, 52 C = 14, 15, 25 D = 45, 55, 54 E = 22, 32, 42 F = 24, 34, 44 G = 13, 31, 35, 53 H = 23, 43 I = 21, 31, 41, 25, 35, 45 J = 11, 12, 13, 14, 15, 51, 52, 53 , 54, 55. Then, assuming these multiple types of components, for example, three mosaic patterns shown in FIG. 7, FIG. 8, and FIG. 9A are set, and in FIG. When either E or F is a binary signal of the background area, the binary signal of pixel 33 is taken as the binary signal of the background area, and in Fig. 8, the components E, F, H, and G are When the three components A, B, C, and D are the binary signals of the background area, the binary signal of pixel 33 is taken as the binary signal of the background area, and in FIG. 9A, component J is the binary signal of the background area. Pixel 3 when there is at least one binary signal of a character etc. area within two I, E, F in the binary signal of the background area.
The binary signal of pixel 33 is determined by using the binary signal of pixel 33 as the binary signal of the character area.
The mosaic pattern mentioned here is an example; by changing the combination of components shown in FIG. 6, various mosaic patterns can be created and there are many methods for determining the pixels 33. Alternatively, the combination of pixels forming the component shape may be changed to create a component shape having a different arrangement. Furthermore, the binary signal of the pixel 33 may be determined by changing the convergence state of where the binary signal of the background area is located or where the binary signal of characters or the like is located. In this way, by applying multiple types of mosaic patterns having multiple components to the binary signals corresponding to pixels in 5 rows and 5 columns around the binary signal corresponding to the target pixel, The binary signal of the pixel can be determined. In this case, the pixels are not limited to 5 rows and 5 columns, but a mosaic pattern of 7 rows and 7 columns, for example, can also be used.

以上にてシフトレジスタ5とノイズ除去の概観
を述べたが、更にここで本実施例における重大な
特徴部であるダミーについて述べる。第9図aは
視野領域の境界に不要な文字等領域が存在してい
る場合を示し、この場合、この画素が真正な文字
領域であるか否かの決定に際してはこの端の画素
の周囲の5行5列に該当する二値信号によらねば
ならない。ところが、二値信号列としてはこの決
定の対象となるi行の最終画素に該当する二値信
号の次に、第9図bに示すダミーが存在しない場
合、i+1行の最初の画素に該当する二値信号が
来ることとなる。すなわち決定の対象とする画素
の右半分の画素に該当する二値信号は次の行の最
初の画素に該当する二値信号になるため、決定の
対称となる画素の右側に実際に存在する画素とは
異なることとなる。このため、第9図cに示すよ
うに本来不要な背景領域に決定されるでき画素に
該当する二値信号が真正な文字等領域の画素に該
当する二値信号として誤つて決定されることにも
なりかねない。このため、第9図dに示す如く視
野領域の端に本実施例では2列の背景領域の画素
帯があるように二値信号列に操作を施している。
第9図eの如く文字等領域と背景領域とのパター
ンが第9図cと異なり、決定の対象となる画素の
二値信号は正確に決定される。
An overview of the shift register 5 and noise removal has been described above, and now we will further describe the dummy, which is an important feature of this embodiment. Figure 9a shows a case where an unnecessary area such as a character exists at the boundary of the visual field, and in this case, when determining whether or not this pixel is a genuine character area, the It must be based on a binary signal corresponding to the 5th row and 5th column. However, if the dummy shown in FIG. 9b does not exist next to the binary signal corresponding to the last pixel in row i, which is the subject of this determination, as a binary signal string, then the signal corresponding to the first pixel in row i+1 is not present. A binary signal will come. In other words, the binary signal that corresponds to the right half pixel of the pixel to be determined becomes the binary signal that corresponds to the first pixel in the next row, so the pixel that actually exists to the right of the pixel to be determined It will be different from that. For this reason, as shown in FIG. 9c, a binary signal corresponding to a pixel originally determined to be in an unnecessary background area is mistakenly determined as a binary signal corresponding to a pixel in a genuine text area. It could also happen. For this reason, the binary signal string is manipulated so that there are two rows of background region pixel bands in this embodiment at the edge of the visual field, as shown in FIG. 9d.
As shown in FIG. 9e, the pattern of the character area and the background area is different from that in FIG. 9c, and the binary signal of the pixel to be determined is accurately determined.

現実にダミーを挿入する場合の回路例としては
第10図および第11図が例示できる。第10図
の例は二他化回路2の出力信号が並列に出力され
る場合並列−直列変換回路4aにダミーデータで
ある2列分の背景領域に該当する二値信号も並列
に入力され、タイミングを採つて視野領域におけ
る各行の最初の二値信号前にこのダミーである二
値信号を挿入するものである。また第11図の例
は二値化回路2の出力が直列に出力される場合を
示し、二値化回路2の二値出力信号はクロツク
CK1にてFIFO(フアーストインフアーストアウ
トシフトレジスタ)4bに入力され前処理回路4
のクロツクCK2によりFIFO4bより読出される
とき、各行の最初の二値信号の前のダミーデータ
挿入タイミングによりFIFO4bのクロツクCK2
をマスクしダミーデータが挿入される。ダミーと
してを設定するときTになるとクロツクCK2
再びFIFO4bを読出し、その出力がそのまま次
段に入力される。
Examples of circuits in which a dummy is actually inserted are shown in FIGS. 10 and 11. In the example of FIG. 10, when the output signals of the binary conversion circuit 2 are output in parallel, the binary signals corresponding to the background area for two columns as dummy data are also input in parallel to the parallel-to-serial conversion circuit 4a. This dummy binary signal is inserted before the first binary signal of each row in the viewing area at the appropriate timing. The example in FIG. 11 shows a case where the output of the binarization circuit 2 is output in series, and the binary output signal of the binarization circuit 2 is clocked.
It is input to the FIFO (first-in-first-out shift register) 4b at CK 1 and is sent to the preprocessing circuit 4.
When data is read from FIFO 4b by clock CK 2 of FIFO 4b, clock CK 2 of FIFO 4b is read by dummy data insertion timing before the first binary signal of each row.
is masked and dummy data is inserted. When setting as a dummy, when the clock reaches T, the clock CK 2 reads out the FIFO 4b again, and the output thereof is directly input to the next stage.

以上の説明は視野領域の右側につきダミーを採
つた場合に関してであるが、視野領域の上端に関
しても、同様にダミーを設けることにより視野の
上部および、下部のノイズ除去が行える。また視
野の右側および、上端の代りに左側および、下端
にダミーを付加してもよい。
The above explanation is about the case where a dummy is taken on the right side of the visual field, but noise can be removed from the upper and lower parts of the visual field by similarly providing a dummy at the upper end of the visual field. Also, a dummy may be added to the left side and bottom edge of the field of view instead of the right side and top edge.

以上の説明にてシフトレジスタとノイズ除去お
よびダミーの挿入に関して述べた。つぎに、シフ
トレジスタとノイズ除去の比較的具体的な回路に
つき述べる。第12図aはシフトレジスタ5を示
すもので、入力端には二値化回路の二値信号で直
列のものが入力され、その二値信号は視野領域の
n行、m+2列の画素を順に走査したものに該当
する。そして、シフトレジスタ5a1,5a2,
5b1,5b2,5c1,5c2,5d1,5d
2にはm+2列に対応する当記憶素子が存在し、
シフトレジスタ5eには少なくとも5個の記憶素
子が存在する。したがつて、このシフトレジスタ
5には第4図に示す画素分の二値信号が記憶され
る。シフトレジスタ5a1,5b1,5c1,5
d1,5eの前段の5個の記憶素子は出力端子が
存在し、この25個の記憶素子には第5図に示す画
素に該当する二値信号が存在する。そして、シフ
トレジスタ5には順次画素に該当する二値信号が
送り込まれ、このシフトレジスタ5によりシフト
される。したがつて、たとえばシフトレジスタ5
c1の三番目の記憶素子a33にには順次各画素
に該当する二値信号が至ることになり、この記憶
素子a33の周囲の記憶素子にも当然順次新たな
二値信号が至ることとなる。この結果、ダミーも
含めた視野領域のすべての画素に該当する二値信
号につき信号の適否を問われることになる。第1
2図bは第6図に示す10個の成分につき第7図、
第8図、第9図のモザイク状パターンから、対象
となる画素に該当する二値信号を決定するための
条件を回路構成として表わしたものである。同図
には第6図に示す各成分A,B,C,D,E,
F,G,H,I,Jの出力および第7図、第8
図、第9図の説明の際に条件となる各成分の組合
せが記載されている。そして、第12図bの出力
と、第12図aの記憶素子a33の出力とを比較
し、記憶素子a33二値信号を決定している。
In the above explanation, the shift register, noise removal, and dummy insertion were described. Next, a shift register and a relatively specific circuit for noise removal will be described. Figure 12a shows the shift register 5, into which a series binary signal from the binarization circuit is input, and the binary signal sequentially passes through the pixels in row n and column m+2 in the visual field. This corresponds to what was scanned. And shift registers 5a1, 5a2,
5b1, 5b2, 5c1, 5c2, 5d1, 5d
2 has the memory element corresponding to column m+2,
There are at least five storage elements in the shift register 5e. Therefore, binary signals for pixels shown in FIG. 4 are stored in this shift register 5. Shift registers 5a1, 5b1, 5c1, 5
Output terminals are present in the five memory elements in the preceding stage of d1 and 5e, and binary signals corresponding to the pixels shown in FIG. 5 are present in these 25 memory elements. Then, binary signals corresponding to the pixels are sequentially sent to the shift register 5 and shifted by the shift register 5. Therefore, for example, shift register 5
Binary signals corresponding to each pixel will sequentially reach the third storage element a33 of c1, and of course new binary signals will also sequentially reach the storage elements surrounding this storage element a33. As a result, the suitability of the binary signals corresponding to all pixels in the viewing area including the dummy is questioned. 1st
Figure 2b shows Figure 7 for the 10 components shown in Figure 6,
Conditions for determining a binary signal corresponding to a target pixel from the mosaic patterns of FIGS. 8 and 9 are expressed as a circuit configuration. The same figure shows each component A, B, C, D, E shown in FIG.
Outputs of F, G, H, I, J and Figures 7 and 8
Combinations of components that are conditions for explanation of FIGS. 9 and 9 are described. Then, the output of FIG. 12b and the output of the storage element a33 of FIG. 12a are compared to determine the binary signal of the storage element a33.

本実施例における今までの説明では直列二値信
号を画素の各行ごとに走査して対応させたが、画
素の各列ごとに走査したものを用いることもでき
る。
In the explanation of this embodiment so far, the serial binary signal is scanned for each row of pixels to correspond to each other, but it is also possible to use a serial binary signal that is scanned for each column of pixels.

また、対象となる画素に該当する二値信号の決
定に対しては5×5の画素の該当する二値信号を
利用したが、たとえば7×7などの画素に該当す
る二値信号を利用することもできる。
In addition, to determine the binary signal corresponding to the target pixel, the corresponding binary signal of 5 × 5 pixels was used, but for example, the binary signal corresponding to 7 × 7 pixels is used. You can also do that.

以上実施例により説明した如く本発明によれ
ば、対象となる二値信号を真正に決定することが
でき、しかも単一の処理回路で視野全領域の前処
理が可能となり、さらにダミーの採用によつて視
野領域の端での決定は完全なものとなつた。
As explained above with reference to the embodiments, according to the present invention, it is possible to truly determine the target binary signal, and moreover, it is possible to pre-process the entire field of view with a single processing circuit, and it is also possible to use a dummy. Thus, the determination at the edge of the visual field became complete.

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

第1図は従来の光学的文字等読取装置の一例の
回路図、第2図は本発明による光学的文字等読取
装置の一例を示す回路図、第3図は前処理回路内
のシフトレジスタの接続図、第4図は視野領域お
よびダミーを画素として一部表わした説明図、第
5図は5行5列の画素に該当する二値信号を示す
説明図、第6図は第5図の画素に該当する二値信
号を複数成分に分けた説明図、第7図ないし第9
A図それぞれはモザイク状パターンの三つの例を
現わした説明図、第9図a,b,c,d,e全体
はダミーの有又は無の際画素に該当する二値信号
の決定の誤り又は正規を示す説明図、第10図お
よび第11図それぞれはダミーデータの挿入回路
の二つの例を示す回路図、第12図a,bはそれ
ぞれ具体的なシフトレジスタと条件設定回路を示
したものである。 図面中、1は光電変換部、2は二値化回路、3
は識別回路、4は前処理回路、5,5a,5b,
5c,5dはシフトレジスタである。
FIG. 1 is a circuit diagram of an example of a conventional optical character reading device, FIG. 2 is a circuit diagram of an example of an optical character reading device according to the present invention, and FIG. 3 is a circuit diagram of a shift register in a preprocessing circuit. Connection diagram, Figure 4 is an explanatory diagram partially showing the viewing area and dummy as pixels, Figure 5 is an explanatory diagram showing binary signals corresponding to pixels in 5 rows and 5 columns, and Figure 6 is Explanatory diagrams of dividing a binary signal corresponding to a pixel into multiple components, Figures 7 to 9
Each figure A is an explanatory diagram showing three examples of a mosaic pattern, and the whole figure 9 a, b, c, d, and e shows an error in determining the binary signal corresponding to a pixel when a dummy is present or absent. Figures 10 and 11 are circuit diagrams showing two examples of dummy data insertion circuits, and Figures 12a and 12b show specific shift registers and condition setting circuits, respectively. It is something. In the drawing, 1 is a photoelectric conversion unit, 2 is a binarization circuit, and 3 is a photoelectric conversion unit.
is an identification circuit, 4 is a preprocessing circuit, 5, 5a, 5b,
5c and 5d are shift registers.

Claims (1)

【特許請求の範囲】[Claims] 1 文字等が記載された対象物の一部を区画した
視野領域における文字等領域と背景領域とを上記
視野領域の複数行と複数列の画素に対応した光電
変換部にて走査・検出し、この光電変換部からの
アナログ信号を二値化回路にて二値信号に変換
し、この二値信号に基づき識別回路にて上記文字
等のコードを出力するものにおいて、上記二値化
回路と上記識別回路との間に前処理回路を介在さ
せ、該前処理回路では、上記二値化回路からの二
値信号を順次記憶すると共に、文字領域の境界近
傍における画素の二値信号の決定を正しく行うた
め、二値信号を記憶する際に、境界近傍の画素に
引続き、ダミーの画素の二値信号を、背景領域の
データとして与えられる記憶回路と、該記憶回路
に記憶されている二値信号データを処理して或る
画素の周辺画素の二値信号の有り方を判定する回
路とで構成される光学的文字等読取装置。
1. Scanning and detecting the text, etc. area and the background area in a visual field that partitions a part of the object in which the text, etc. are written with a photoelectric conversion unit corresponding to multiple rows and multiple columns of pixels in the visual field, The analog signal from the photoelectric conversion unit is converted into a binary signal by a binary conversion circuit, and based on this binary signal, a code such as the above characters is output by an identification circuit. A preprocessing circuit is interposed between the identification circuit and the preprocessing circuit, and the preprocessing circuit sequentially stores the binary signals from the binarization circuit and correctly determines the binary signals of pixels near the boundaries of the character area. To do this, when storing a binary signal, a storage circuit is provided with a binary signal of a dummy pixel following the pixels near the boundary as background area data, and a binary signal stored in the storage circuit is provided. An optical character reading device comprising a circuit that processes data and determines the presence of binary signals of pixels surrounding a certain pixel.
JP9231279A 1979-07-20 1979-07-20 Optical reader for character or the like Granted JPS5617485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9231279A JPS5617485A (en) 1979-07-20 1979-07-20 Optical reader for character or the like

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9231279A JPS5617485A (en) 1979-07-20 1979-07-20 Optical reader for character or the like

Publications (2)

Publication Number Publication Date
JPS5617485A JPS5617485A (en) 1981-02-19
JPS6129035B2 true JPS6129035B2 (en) 1986-07-03

Family

ID=14050873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9231279A Granted JPS5617485A (en) 1979-07-20 1979-07-20 Optical reader for character or the like

Country Status (1)

Country Link
JP (1) JPS5617485A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4880227A (en) * 1972-01-31 1973-10-27
JPS5078231A (en) * 1973-11-09 1975-06-26
JPS5122333A (en) * 1974-08-20 1976-02-23 Oki Electric Ind Co Ltd

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4880227A (en) * 1972-01-31 1973-10-27
JPS5078231A (en) * 1973-11-09 1975-06-26
JPS5122333A (en) * 1974-08-20 1976-02-23 Oki Electric Ind Co Ltd

Also Published As

Publication number Publication date
JPS5617485A (en) 1981-02-19

Similar Documents

Publication Publication Date Title
US4613986A (en) Digital filter for enhancement of document images
US5377280A (en) Method and apparatus for automatic language determination of European script documents
US4003024A (en) Two-dimensional binary data enhancement system
US4750209A (en) System for processing an image having both letter and photographic information
US4703512A (en) Pattern outline tracking method and apparatus
US4466123A (en) Apparatus and method for correcting contour line pattern images
US20020039445A1 (en) Arbitrary-shape image-processing device and arbitrary-shape image-reproducing device
GB1338867A (en) System for analysing engineering drawings or like documents
JPS6129035B2 (en)
JPH0452510B2 (en)
JPS6133299B2 (en)
US4809343A (en) Maximum/minimum value conversion circuit for image processing
JPS6033333B2 (en) Original reading device
US4435836A (en) Technique for extracting features from images
US20030107577A1 (en) Data processing system having a plurality of processors and executing a series of processings in a prescribed order
EP0504576A2 (en) Document scanner
JPH04295980A (en) Image reader
JPS609887Y2 (en) Preprocessing circuit in character reading device
JPH0468824B2 (en)
JP2619971B2 (en) Image processing device
JPH0687264B2 (en) Image binarization method
JPS6252911B2 (en)
JP3203791B2 (en) Character arrangement inspection device
JPH04101570A (en) Image signal binarizing device
JPS58184965U (en) Digital notchless circuit for image signals