JPS63300320A - Program input device for computer - Google Patents

Program input device for computer

Info

Publication number
JPS63300320A
JPS63300320A JP62136093A JP13609387A JPS63300320A JP S63300320 A JPS63300320 A JP S63300320A JP 62136093 A JP62136093 A JP 62136093A JP 13609387 A JP13609387 A JP 13609387A JP S63300320 A JPS63300320 A JP S63300320A
Authority
JP
Japan
Prior art keywords
program
image
input
input device
computer
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.)
Pending
Application number
JP62136093A
Other languages
Japanese (ja)
Inventor
Shigeo Toyoshima
豊嶋 繁雄
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 JP62136093A priority Critical patent/JPS63300320A/en
Publication of JPS63300320A publication Critical patent/JPS63300320A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To attain an efficient program entry job by comparing an image of a hand-written with a reference image stored in a template memory, using a central processing unit to discriminate the content of the program and converting it into a corresponding character code. CONSTITUTION:The image of a hand-written program is read by an image input means 9 being an input device so as to enable the image to be compared with the reference image stored in advance in the template memory 10, the content of the program inputted by a central processing unit 5 is discriminated by matching the images and converted into the corresponding character code. The sequential entry by a keyboard or the like is not entirely required and the program hand-written on coding paper can be inputted as it is.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、エンジニアリングワークステーシM/など
のコンピュータにプログラム等の文字データを入力する
コンピュータのプログラム入力装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer program input device for inputting character data such as a program into a computer such as an engineering workstation M/.

〔従来の技術〕[Conventional technology]

第5図は従来の工ンジニアリングワークステーシ1ン(
以下、EWSと略称する)のプログラム入力装置を示す
ブロック接続図であυ、図において、1は文字等を表示
する表示装置(以下、CRTという)、2.3はそれぞ
れ補助記憶装置としての7oツピーデイスク及びハード
ディスク、4紘主メモリ、5拡中央処理装置(以下、C
PUという)、6,7aそれぞれ入力装置としてのキー
ボード及びマウス、8紘制御用また拡データ用のシステ
ムバスである。
Figure 5 shows a conventional engineering workstation (
This is a block connection diagram showing a program input device for a program input device (hereinafter abbreviated as EWS). TSPI disk and hard disk, 4 main memory, 5 enlarged central processing unit (hereinafter referred to as C
(referred to as PU), 6 and 7a are respectively a keyboard and a mouse as input devices, and a system bus for 8-channel control and expanded data.

次に動作について説明する。Next, the operation will be explained.

まず、コンピュータとしてのEWSにプログラムを入力
する場合には、コーディング用紙に手書きされたプログ
ラムとCRTIK表示された入力プログラムとを見比べ
ながら、キーボード$よ)1文字ずつ入力する。こうし
て入力され九プログツムは、主メモリ4を経由して補助
記憶装置であるフロッピーディスク2またはハードディ
スク3へ転送される。
First, when inputting a program into the EWS as a computer, the user compares the handwritten program on the coding paper with the input program displayed on the CRTIK while inputting one character at a time ($) on the keyboard. The nine programs thus input are transferred via the main memory 4 to the floppy disk 2 or hard disk 3, which is an auxiliary storage device.

一方、上記の入力手続きを経てフロッピーディスク2な
どに一度記憶させたプログラムは、再びキーボード6よ
)入力する必要は無く、このフロッピーディスク2に格
納した状態で、このフロッピーディスク2を有するEW
Sと他のEWSとの間で、自由に入出力を可能にしてい
る。
On the other hand, once the program has been stored on the floppy disk 2 through the above input procedure, there is no need to input it again (using the keyboard 6), and the program stored on the floppy disk 2 can be used by any EW that has this floppy disk 2.
Free input/output is possible between S and other EWSs.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のEWSにおけるプログラム入力装置は以上のよう
に構成されているので、コープインク用紙とキーボード
6上で、形は異なるが同じ文字を見比べるなどの同じ作
業を繰)返さなければならず、パンチミスの確率が高く
なるほか、EWSの使用時間に占めるキーバンチ時間の
割合が高くなシ、EWSの使用効率が悪くなるばかりで
なく、目と指に対して必要以上に疲れを与えるなどの問
題点がありた。
Since the program input device in the conventional EWS is configured as described above, it is necessary to repeat the same operation (such as comparing the same characters but with different shapes on the Co-op Ink paper and the keyboard 6), which reduces the possibility of punching errors. In addition to increasing the probability, key bunching time takes up a high proportion of the EWS usage time, which not only reduces the efficiency of EWS usage, but also causes unnecessary fatigue to the eyes and fingers. Ta.

また、汎用コンピュータにおいては光学式文字読取装置
(以下、OCRとい5)などもあるが、使用可能な文字
・大きさ・字体等に制約が多く、誤読率も高い等の欠点
によシ、使いにくいといった問題点があった。
In general-purpose computers, optical character reading devices (hereinafter referred to as OCR5) are also available, but they have many limitations on usable characters, sizes, fonts, etc., and have a high rate of misreading. There was a problem that it was difficult.

この発明は上記のような問題点を解消するためになされ
たもので、キーボード等による逐次入力を全く不要KL
、コーディング用紙に手書きしたプログラムをそのまま
入力できるコンピュータのプログラム入力装置を得るこ
とを目的とする。
This invention was made to solve the above-mentioned problems, and it eliminates the need for sequential input using a keyboard, etc.
The purpose of the present invention is to obtain a computer program input device that can input a program written by hand on a coding sheet as it is.

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

この発明に係るコンピュータのプログラム入力装置は、
手書きしたプログラムのイメージを入力装置であるイメ
ージ入力手段によシ読み取シ、このイメージをテンプレ
ート用メモリに予め格納した基準イメージと比較できる
ようにし、これらの各イメージのマツチングを行なうこ
とによって、中央処理装置によ少入力した上記プログラ
ムの内容を判読し、対応する文字コードに変換するよう
に構成したものである。
A computer program input device according to the present invention includes:
An image of a handwritten program is read by an image input means, which is an input device, and this image can be compared with a reference image previously stored in a template memory, and by matching these images, the central processing The device is configured to read the contents of the program that is input into the device and convert it into a corresponding character code.

〔作 用〕[For production]

この発明におけるイメージ入力装置は、ファクシミリの
ような読取装置によってコーディング用紙上のプログラ
ムをイメージとして一括読み込みし、テンプレート用メ
モリからは別途登録しであるテープレートとしての基準
イメージを出力させ、中央処理装置によシこれら2つの
イメージのパターンマツチングを行った後、対応する文
字コードに変換して、ソフトプログラムの7アイAt−
4るように作用する。
The image input device according to the present invention reads the program on the coding paper all at once as an image using a reading device such as a facsimile, outputs a reference image as a tape rate which is registered separately from the template memory, and outputs a standard image as a tape rate which is registered separately from the template memory. After performing pattern matching on these two images, they are converted into corresponding character codes, and the software program 7-eye At-
It acts like 4.

〔実施例〕〔Example〕

以下、この発明の一実施例“を図について説明する0 第1図において、9は文字や図面を読み取る入力装置と
してのイメージ入力装置、例えばファクシミリである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, reference numeral 9 denotes an image input device, such as a facsimile, as an input device for reading characters and drawings.

10はパターンマツチング時にテンプレートとして用い
る基準イメージデータを個人別(字体)に全、て記憶さ
せであるテープレート用メモリである。構成によっては
、テンプレート用メモリ10をフロッピーディスク2や
六−ドディスク3と兼用させて、必要な部分のみを主メ
モリ4へ読み出すことも可能である。
Reference numeral 10 denotes a tape plate memory in which all reference image data used as a template during pattern matching is stored for each individual (font). Depending on the configuration, the template memory 10 may also be used as the floppy disk 2 or the six-dimensional disk 3, and only the necessary portions may be read into the main memory 4.

なお、このほかの第2図に示したものと同一のブロック
には同一符号を付して、その重複する説明を省略する。
Note that other blocks that are the same as those shown in FIG. 2 are designated by the same reference numerals, and redundant explanation thereof will be omitted.

次に動作について説明する。まず、コンピータであるE
WSにプログラムを入力する場合には、イメージ入力装
置i9によってそのプログラム中の文字(数字を含む)
を読み込み、これを主メモリ4上にイメージとして読み
込ませる。一方、テンプレート用メモリ10から入力さ
れたプログラムと同じ筆跡のものが選択され、これが基
準イメージとして同じく主メモリ4上へ読み出される。
Next, the operation will be explained. First, the computer E
When inputting a program to the WS, the characters (including numbers) in the program are input using the image input device i9.
is read into the main memory 4 as an image. On the other hand, the same handwriting as the program input from the template memory 10 is selected, and this is also read onto the main memory 4 as a reference image.

そして、CPU5はこれらの各イメージを1文字ずつパ
ターンマツチングを行なうことにより、プログラム上の
文字を判読し、対応する文字コードへ変換していく。最
後に、補助記憶装置としてのフロッピディスク2または
ハードディスク3に対し、ソースプログラムファイルと
して文字コードに変換して記憶させる。
Then, the CPU 5 performs pattern matching on each of these images character by character to decipher the characters on the program and convert them into corresponding character codes. Finally, the source program file is converted into a character code and stored in the floppy disk 2 or hard disk 3 as an auxiliary storage device.

第2図はかかるイメージの読み込みから文字コ−ドの出
力までの処理状況を示すフロー図であシ、イメージ入力
装置9に対しコーディング用紙上のプログラムをイメー
ジとして入力すると(ステップI ST)、CPU5で
はこのイメージとテンプレート用メモリ10からの基準
イメージと比較して、その入力されたイメージが数字の
Iol 、 1gmに対応するものか、文字”A” #
 ”Z”に対応するものか、特殊文字なのかをそれぞれ
判読しくステップ2ST、3ST、4ST)、判読した
これらの数字0文字、特殊文字のいずれかをそれぞれコ
ード変換しくステップ5ST 、6ST 、7ST)、
これを文字コードとして出力しくステップ8ST )、
文字コードの全処理を終了した後、フロッピーディスク
2等に格納する(ステップ9ST)。
FIG. 2 is a flow diagram showing the processing status from reading the image to outputting the character code. When the program on the coding paper is input as an image to the image input device 9 (step IST), the CPU 5 Now, compare this image with the reference image from the template memory 10 to determine whether the input image corresponds to the numbers Iol, 1gm or the letter "A"#
Steps 2ST, 3ST, 4ST) to decipher whether it corresponds to "Z" or a special character. Steps 5ST, 6ST, 7ST) ,
Output this as a character code (Step 8ST),
After completing all character code processing, the data is stored on a floppy disk 2 or the like (step 9ST).

第3図は上記パターンマツチング処理の概略を示す説明
図で、これが第4図に示すフロー図に従って行なわれる
。まず、例えば文字rAJについて、イメージ入力装置
9に読み取った入力イメージエ、と基準イメージエ、と
の各対応するドツトの排他的論理和をとる(ステップ1
1ST)。七の結果として、互いに一致しない部分のみ
が現われるイメージ入力手段て、その一致しない部分の
程度に応じて、つまシ一致率が規定値を超えるか否かを
判定する(ステップ12ST)。そして一致率が規定値
を超えない場合には、次に全イメージについてパターン
マツチングを終了したか否かを判定しくステップ13S
T)、終了していない場合には再びステップ11ST以
下の処理を繰シ返し実行する。一方、ステップ12ST
において、一致率が規定値を超えたと判定された場合に
は、テンプレート用メモリ10から上記判定の基準とし
た所定の文字コードを出力して、処理を終了する(ステ
ップ14ST)。ここで用いる上記規定値はパラメータ
設定値として、例えば90〜95%程度に別途定める。
FIG. 3 is an explanatory diagram showing an outline of the pattern matching process, which is carried out according to the flowchart shown in FIG. 4. First, for example, for the character rAJ, the exclusive OR of each corresponding dot of the input image read into the image input device 9 and the reference image is calculated (step 1
1ST). As a result of step 7, only the portions that do not match each other appear.The image input means determines whether or not the match rate exceeds a specified value depending on the degree of the portions that do not match (step 12ST). If the matching rate does not exceed the specified value, it is then determined in step 13S whether pattern matching has been completed for all images.
T), if the process has not been completed, the process from step 11ST is repeated again. On the other hand, step 12ST
If it is determined that the matching rate exceeds the specified value, the predetermined character code used as the criterion for the determination is output from the template memory 10, and the process is terminated (step 14ST). The specified value used here is separately determined as a parameter setting value, for example, about 90 to 95%.

また、上記一致率とはイメージI、において、全ドツト
に対する一致部分の全ドツト数(白い部分)の割合であ
る。
Furthermore, the above-mentioned matching rate is the ratio of the total number of dots (white portions) in matching portions to all dots in image I.

このように、入力された文字判読において、同じ大きさ
で同じ筆跡の文字をテンプレートとして用いる為、OC
Rのような標準字体を用いる必要は全くなく、日常使用
している字体がそのまま使用可能となシ、シかも誤読率
はOCRと比較して大幅に低くすることが期待できる。
In this way, when interpreting input characters, characters of the same size and handwriting are used as templates, so OC
There is no need to use a standard font such as R, and the fonts used on a daily basis can be used as they are.It is expected that the misreading rate will be significantly lower than with OCR.

なお、上記実施例ではEWSの場合について説明したが
、パソコンやミニコン等であってもよく、上記実施例と
同様の効果を奏する。またイメージ入力装置9はFAX
以外のイメージデータが入出力できる装置を使用しても
よく、上ad実施例と同様の効果を奏する。
In addition, although the case of EWS was explained in the said Example, it may be a personal computer, a minicomputer, etc., and will produce the same effect as the said Example. In addition, the image input device 9 is a FAX
A device capable of inputting and outputting image data other than the above may be used, and the same effects as in the above AD embodiment can be obtained.

また、入力するデータとしてプログラムを例にとって説
明してきたが、テンプレート用メモリ10に漢字を登録
すれば、ワードプロセッサとして、普通の日本語で書か
れた文章も処理可能である。
Although the explanation has been given using a program as an example of input data, if kanji are registered in the template memory 10, the word processor can also process sentences written in ordinary Japanese.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、手書きしたプログラ
ムのイメージをイメージ入力手段により絖み取り、この
イメージをテンプレート用メモリに格納した基準イメー
ジと比較し、これらの各イメージのマツチングを行なう
ことによって、中央処理装置により上記プログラムの内
容を判読し、対応する文字コードに変換するように構成
したので、コーディング用紙に記載そのままのイメージ
で、しかも高精度にプログラムを入力することができる
ほか、従来におけるごときキーボードによるパンチの時
間を削減でき、パンチミスを防ぐことができるとともに
、プログラム入力作業を効゛率化できるものが得られる
効果がある。
As described above, according to the present invention, the image of a handwritten program is removed by the image input means, this image is compared with the reference image stored in the template memory, and these images are matched. Since the central processing unit is configured to read the contents of the program and convert it into the corresponding character code, it is possible to input the program exactly as it is written on the coding paper and with high precision. The time required for punching using a keyboard can be reduced, punching errors can be prevented, and program input work can be made more efficient.

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

第1図はこの発明の一実施例によるコンピュータのプロ
グラム入力装置を示すブロック接続図、第2図はこの発
明の一実施例によるイメージ処理の方法を示すフロー図
、第3図はこの発明の一実施例によるパターンマツチン
グ処理の方法を示す説明図、第4図は第3図のパターン
マツチング処理の手順を示すフロー図、第5図は従来の
エンジニアリングワークステーシ嘗ンを示すブロック接
続図である。 5は中央処理装置、9はイメージ入力装置、10はテン
プレート用メモリ。 なお、図中、同一符号は同一、または相当部分を示す。
FIG. 1 is a block connection diagram showing a computer program input device according to an embodiment of the invention, FIG. 2 is a flow diagram showing an image processing method according to an embodiment of the invention, and FIG. 3 is an embodiment of the invention. FIG. 4 is a flowchart showing the procedure of the pattern matching process in FIG. 3, and FIG. 5 is a block connection diagram showing a conventional engineering workstation. be. 5 is a central processing unit, 9 is an image input device, and 10 is a template memory. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 表示装置を監視しながら入力装置によりプログラムを入
力し、この入力したプログラムをメモリに格納するコン
ピュータのプログラム入力装置において、上記入力装置
として用いられ、手書きしたプログラムのイメージを読
み取るイメージ入力手段と、このイメージ入力手段に入
力されたイメージと比較すべき基準イメージを格納した
テンプレート用メモリと、上記入力されたイメージと予
め設定された上記基準イメージとのパターンマッチング
を行なうことによって入力した上記プログラムの内容を
判読し、対応する文字コードに変換する中央処理装置と
を備えたことを特徴とするコンピュータのプログラム入
力装置。
A program input device for a computer that inputs a program through an input device while monitoring a display device and stores the input program in a memory; A template memory stores a reference image to be compared with the image input to the image input means, and the contents of the program input by performing pattern matching between the input image and the preset reference image. 1. A computer program input device comprising a central processing unit that reads and converts character codes into corresponding character codes.
JP62136093A 1987-05-30 1987-05-30 Program input device for computer Pending JPS63300320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62136093A JPS63300320A (en) 1987-05-30 1987-05-30 Program input device for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62136093A JPS63300320A (en) 1987-05-30 1987-05-30 Program input device for computer

Publications (1)

Publication Number Publication Date
JPS63300320A true JPS63300320A (en) 1988-12-07

Family

ID=15167097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62136093A Pending JPS63300320A (en) 1987-05-30 1987-05-30 Program input device for computer

Country Status (1)

Country Link
JP (1) JPS63300320A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus
US8368904B2 (en) 2006-05-26 2013-02-05 Kyocera Document Solutions Inc. Image forming device

Similar Documents

Publication Publication Date Title
US5212769A (en) Method and apparatus for encoding and decoding chinese characters
KR20210037280A (en) Automatic font generating system and method by using hand-written
JP2006227824A (en) Drawing recognition method and device
JPS63300320A (en) Program input device for computer
US6320985B1 (en) Apparatus and method for augmenting data in handwriting recognition system
JPH06231308A (en) Method and device for processing handwritten document
JPH04290184A (en) Handwritten document creation device
JP7430219B2 (en) Document information structuring device, document information structuring method and program
JP7410532B2 (en) Character recognition device and character recognition program
JP3320083B2 (en) Character recognition apparatus and method
JPH0749924A (en) Handwritten character recognizing device
JPH0296887A (en) Character recognizing device
JPH01292587A (en) Back-up device for recognition of character
JP3164086B2 (en) Handwritten character font creation method and handwritten character information processing apparatus using the same
JP2990734B2 (en) Character recognition device output control method for character recognition device
JP2740506B2 (en) Image recognition method
JP2022095326A (en) Information processing apparatus, method of controlling the same, and program therefor
JPH01292586A (en) Back-up device for recognition of character
JPH04293185A (en) Filing device
JP2732753B2 (en) Fuzzy pattern recognition device
CN111859972A (en) Entity identification method, entity identification device, computer equipment and computer readable storage medium
JP2765617B2 (en) Character recognition device
JPH081660B2 (en) Online handwritten figure recognition device
JPH03235168A (en) Character processor
TW311201B (en) Hand-written Chinese recognition system based on context root