JPS5930307B2 - Character input control device - Google Patents

Character input control device

Info

Publication number
JPS5930307B2
JPS5930307B2 JP54109992A JP10999279A JPS5930307B2 JP S5930307 B2 JPS5930307 B2 JP S5930307B2 JP 54109992 A JP54109992 A JP 54109992A JP 10999279 A JP10999279 A JP 10999279A JP S5930307 B2 JPS5930307 B2 JP S5930307B2
Authority
JP
Japan
Prior art keywords
character
area
horizontal line
input
circuit
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
JP54109992A
Other languages
Japanese (ja)
Other versions
JPS5635277A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP54109992A priority Critical patent/JPS5930307B2/en
Publication of JPS5635277A publication Critical patent/JPS5635277A/en
Publication of JPS5930307B2 publication Critical patent/JPS5930307B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 本発明は漢字情報処理システム等において、文字の入力
領域をファクシミリ等の走査装置から指定できるように
した文字入力制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character input control device in a kanji information processing system or the like, which allows a character input area to be specified from a scanning device such as a facsimile.

漢字情報処理システムにおいては、文字を画面上の特定
領域内もしくは特定位置に入力する要求が非常に多い。
In kanji information processing systems, there are many requests to input characters into specific areas or positions on the screen.

たとえば、ある図形とその図形の説明文からなる画面を
考えると、説明文は通常図形と重ならない領域に入力さ
れる。また、図面の標題とか図面内の説明文もしくは説
明句(例:ブロツク図のブロック名など)は画面上の任
意の位置に入力される。このような要求に応えるため、
従来のこの種装置ではデータタブレット等の座標入力装
置を具備して、文字を入力する前に座標入力装置から文
字領域もしくは文字位置を指定したのち、文字を順次入
力してゆくという構成がとられる。このため、文字の入
力操作のみでなく文字領域ないし文字位置も指定するこ
とが必要となり、入力字数は少ないにもかゝわらず、入
力操作が非常に繁雑になるという欠点があつた。本発明
はこれらの欠点を除去するため、文字の入力領域をファ
クシミリ等の走査装置から入力して、文字の入力位置の
指定を容易に行いうるようにしたもので、以下図面につ
いて詳細に説明する。
For example, if we consider a screen consisting of a certain figure and an explanatory text for that figure, the explanatory text is usually input in an area that does not overlap with the figure. In addition, the title of the drawing, an explanatory text or an explanatory phrase within the drawing (eg, block name of a block diagram, etc.) is input at an arbitrary position on the screen. In order to meet these demands,
Conventional devices of this type are equipped with a coordinate input device such as a data tablet, and before inputting characters, a character area or character position is specified from the coordinate input device, and then characters are input sequentially. . For this reason, it is necessary to specify not only the character input operation but also the character area or character position, which has the disadvantage that the input operation becomes extremely complicated even though the number of input characters is small. In order to eliminate these drawbacks, the present invention enables the character input area to be input from a scanning device such as a facsimile machine to easily specify the character input position.The drawings will be described in detail below. .

第1図は本発明の一実施例の概略ブロック図であつて、
1はファクシミリ送信機、2は漢字入力J 装置、3は
文字入力制御装置、4は表示装置を示す。このうち、文
字入力制御装置3が本発明の中心をなすもので、これは
第2図に示すように、図形処理回路30、領域検出回路
31、文字パターン発生器32、表示制御回路33で構
成される。; 第3図は領域検出回路31の詳細図で、
水平線識別回路311、水平線位置検出回路312、水
平線符号化回路313、水平線符号蓄積回路314より
なる。又、第4図は表7r!BU御回路33の詳細図で
、表示位置検出回路331、表示位置Fhl脚回路33
2よりなる。次に第1図から第4図を通して動作を説明
する。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.
1 is a facsimile transmitter, 2 is a kanji input device, 3 is a character input control device, and 4 is a display device. Of these, the character input control device 3 forms the center of the present invention, and as shown in FIG. be done. ; FIG. 3 is a detailed diagram of the area detection circuit 31,
It consists of a horizontal line identification circuit 311, a horizontal line position detection circuit 312, a horizontal line encoding circuit 313, and a horizontal line code storage circuit 314. Also, Figure 4 is Table 7r! This is a detailed diagram of the BU control circuit 33, showing the display position detection circuit 331 and the display position Fhl leg circuit 33.
Consists of 2. Next, the operation will be explained with reference to FIGS. 1 to 4.

文字の入力領域図形を描いた原稿をフアクシミリ送信機
1にセツトして走査を開始し、このフアクシミリ送信機
1から出力された図形情報を文字入力制御装置3の図形
処理回路30によつてまず処理する。図形処理回路30
はフアクシミリ送信機1から与えられる線図形(手書き
でもよい)を水平な線分と垂直な線分に変換する回路で
あり、これは、例えば本出願人が先に出願した特願昭5
3−128292号「図表入力処理システム」に示され
ている所の、手書きの線図形を実時間的に細線化すると
\もに水平線と垂直線よりなる図形を得る構成のものを
用いればよい。次に、図形処理回路30によつて処理さ
れた図形情報から領域検出回路31は以下に説明する動
作を行なつて文字を配置すべき領域を検出する。文字を
配置すべき領域は基本的には第5図に示すイ〜ホの5つ
の場合があり、水平線あるいは垂直線のみで記述するこ
とが可能である。
A document on which a character input area figure is drawn is set in the facsimile transmitter 1 to start scanning, and the figure information output from the facsimile transmitter 1 is first processed by the figure processing circuit 30 of the character input control device 3. do. Graphic processing circuit 30
is a circuit that converts a line drawing (which may be handwritten) given from the facsimile transmitter 1 into horizontal line segments and vertical line segments.
No. 3-128292, ``Chart Input Processing System,'' which has a configuration in which a hand-drawn line figure is thinned in real time to obtain a figure consisting of both horizontal and vertical lines may be used. Next, based on the graphic information processed by the graphic processing circuit 30, the area detection circuit 31 performs the operations described below to detect an area in which characters are to be placed. There are basically five areas in which characters should be placed, indicated by A to H shown in FIG. 5, and they can be described using only horizontal or vertical lines.

つまり、領域はすべて水平線と垂直線で構成さ札かつ領
域角部における水平線の端点と垂直線の端点は一致して
いる。従つて2つの水平線(垂直線)符号 :の端点を
組み合わせることによつて容易に垂直線(水平線)符号
を作り出すことができる。そこで、こ\では水平線を用
いて説明する。まず、図形処理回路30によつて処理さ
れた図形情報から領域検出回路31の水平線識別回路3
11が水平線を抽出する。
In other words, all areas are made up of horizontal lines and vertical lines, and the end points of the horizontal lines and the end points of the vertical lines at the corners of the area coincide. Therefore, a vertical line (horizontal line) code can be easily created by combining the end points of two horizontal line (vertical line) codes. Therefore, I will explain this using a horizontal line. First, from the graphic information processed by the graphic processing circuit 30, the horizontal line identification circuit 3 of the area detection circuit 31
11 extracts the horizontal line.

水平線はフアクシミリの主走査方向に連なる黒画素の集
団として抽出することができる。次に水平線位置検出回
路312が動作し、水平線識別回路311で抽出された
水平線の始点座標と終点座標を求める。その 3座標は
主走査方向のアドレスをX1、副走査方向のアドレスを
Yiとすると(Xl,Yi)と表わすことができる。水
平線符号化回路313はこの座標値を取り出してひとつ
の水平線の始点、終点を1組として水平線符号蓄積回路
314へ送出す φる。水平線符号蓄積回路314はフ
アクシミリの走査に伴つて送られてくる符号を順次蓄積
する。このように、領域検出回路31は水平線分と垂直
線分で囲まれる領域を水平線分の始点、終点のノ座標値
の列に分解して記憶する。
A horizontal line can be extracted as a group of black pixels that are continuous in the main scanning direction of the facsimile. Next, the horizontal line position detection circuit 312 operates to determine the starting point coordinates and ending point coordinates of the horizontal line extracted by the horizontal line identifying circuit 311. The three coordinates can be expressed as (Xl, Yi), where X1 is the address in the main scanning direction and Yi is the address in the sub-scanning direction. The horizontal line encoding circuit 313 extracts these coordinate values and sends them to the horizontal line code storage circuit 314 as a set including the starting point and ending point of one horizontal line. The horizontal line code storage circuit 314 sequentially stores codes sent as the facsimile scans. In this way, the area detection circuit 31 decomposes an area surrounded by a horizontal line segment and a vertical line segment into a string of coordinate values of the starting point and ending point of the horizontal line segment and stores them.

次に表示制御回路33が動作し、文字パターン発生器3
2からの文字パターンを検出した領域に配置して表示装
置4に表示する。表示制御回路33の動作および文字の
配置法を第6図を用いて説明する。
Next, the display control circuit 33 operates, and the character pattern generator 3
The character patterns from 2 are placed in the detected area and displayed on the display device 4. The operation of the display control circuit 33 and the method of arranging characters will be explained with reference to FIG.

第6図において、5は表示画面であり、この表示画面内
の実線が領域検出回路31によつて抽出された水平線を
示している。いま、領域検出回路31によつて下記の表
1のように水平線符号が水平線符号蓄積回路314に蓄
積されたとする。一方、文字は漢字タブレツトあるいは
キーボード等の漢字入力装置2より文字列データとして
入力さ法符号情報として該漢字入力装置2のメモリ内に
蓄えられている。
In FIG. 6, reference numeral 5 indicates a display screen, and solid lines within this display screen indicate horizontal lines extracted by the area detection circuit 31. In FIG. Now, assume that the area detection circuit 31 stores horizontal line codes in the horizontal line code storage circuit 314 as shown in Table 1 below. On the other hand, characters are input as character string data from a kanji input device 2 such as a kanji tablet or keyboard and are stored in the memory of the kanji input device 2 as modal code information.

或いは漢字入力装置2から1字づつ入力されるものとし
てもよい。このとき、表示制御回路33の表示位置検出
回路331は上記したような水平線符号蓄積回路313
の内容からまず1番目の水平線AB(7)Y座標(Y1
)、始点のX座標(X1)、終点のX座標(X2)をそ
れぞれレジスタRY,RX8,RXE(図示せず)に格
納する。
Alternatively, the characters may be input one by one from the kanji input device 2. At this time, the display position detection circuit 331 of the display control circuit 33 is connected to the horizontal line code storage circuit 313 as described above.
First, from the contents of the first horizontal line AB (7) Y coordinate (Y1
), the X coordinate (X1) of the starting point, and the X coordinate (X2) of the ending point are stored in registers RY, RX8, and RXE (not shown), respectively.

次に表示する文字コードをとり出して、その文字コード
に相当する文字パターンをパターン発生器32から得る
と\もに、その文字パターンの表示位置を上記RY,R
xs,RXEのレジスタの内容から表示位置制御回路3
32が算出し、表示装置4を制御して表示する。つまり
、第1文字をレジスタRY,Rxsに格納されたアドレ
スを起点として書き込み表示し、第2文字目以降は決め
られた字間に従つてアドレスを更新し、文字パターンを
書き込み表示する。この時、文字パターンを書き込むべ
きアドレスのXアドレスがレジスタRXEに格納された
アドレスを越えた場合あるいは文字コードが改行の場合
には自動的に改行する。自動的に改行するためには、レ
ジスタRYの内容を、(レジスタRYの内容)←(レジ
スタRYの内容)+(文字の大きさ)+(行間の大きさ
)のように更新し、レジスタRY,Rxsに格納された
アドレスを新たな書き込み開始アドレスとすればよい。
Next, when a character code to be displayed is extracted and a character pattern corresponding to the character code is obtained from the pattern generator 32, the display position of that character pattern is
Display position control circuit 3 from the contents of xs and RXE registers
32 calculates and controls the display device 4 to display it. That is, the first character is written and displayed starting from the address stored in the registers RY and Rxs, and from the second character onward, the addresses are updated according to the determined character spacing, and character patterns are written and displayed. At this time, if the X address to which the character pattern is to be written exceeds the address stored in the register RXE, or if the character code is a line feed, a line feed is automatically performed. To automatically start a new line, update the contents of register RY as follows: (contents of register RY) ← (contents of register RY) + (character size) + (line spacing size) , Rxs may be used as a new write start address.

たゾし字間と行間の大きさはあらかじめ表示位置制御回
路332に格納されているものとする。
It is assumed that the sizes of the tazoshi character spacing and the line spacing are stored in advance in the display position control circuit 332.

また改行時には領域の確認をしなければならない。この
領域の確認は次のようにして行う。即ち、表示位置検出
回路331によつて順次水平線符号を調べ、水平線の始
点、終点のX座標とレジスタRxs,RxEの内容とを
比較する。その時、レジスタRxsの内容と始点又は終
点のX座標が一致する場合、又はレジスタRXEの内容
と始点又は終点のX座標が一致する場合にのみ同じ領域
を構成する水平線となる。第6図においては、表1より
、いまRXS=X,,RXE=X2となつているので、
水平線GHは同一領域を構成する水平線ではないことが
分かり、3番目の水平線CDが(始点のX座標)一(R
xEの内容)となつており、同一領域を構成する水平線
であることが分かる。このように改行することによつて
同一領域を構成する水平線が見つかつた場合には、表2
にもとづき次のようにしてレジスタRxs,RxEの内
容を更新し水平方向の領域幅を変更する。(1)表2の
1の場合(第5図口に相当)終点のX座標をレジスタR
XEに格納し領域幅を拡げる。
Also, when starting a new line, you must check the area. Confirmation of this area is performed as follows. That is, the horizontal line code is sequentially checked by the display position detection circuit 331, and the X coordinates of the starting point and ending point of the horizontal line are compared with the contents of the registers Rxs and RxE. At that time, only when the contents of the register Rxs and the X coordinate of the starting point or the ending point match, or when the contents of the register RXE and the X coordinate of the starting point or the ending point match, are the horizontal lines constituting the same area. In Figure 6, from Table 1, RXS=X, RXE=X2, so
It turns out that the horizontal line GH is not a horizontal line that constitutes the same area, and the third horizontal line CD is (X coordinate of the starting point) - (R
It can be seen that the horizontal lines form the same area. If horizontal lines that constitute the same area are found by starting lines in this way, Table 2
Based on this, the contents of registers Rxs and RxE are updated and the horizontal area width is changed as follows. (1) In the case of 1 in Table 2 (corresponding to the exit in Figure 5), set the X coordinate of the end point to register R.
Store it in XE and expand the area width.

(2)表2の2の場合(第5図ハに相当)始点のX座標
をレジスタRxsに格納し領域幅を拡げる。
(2) In the case of 2 in Table 2 (corresponding to Fig. 5C), the X coordinate of the starting point is stored in the register Rxs and the area width is expanded.

(3)表2の3の場合(第5図二に相当)始点のX座標
をレジスタRXEに格納し領域幅を狭める。
(3) In the case of 3 in Table 2 (corresponding to 2 in FIG. 5), store the X coordinate of the starting point in register RXE and narrow the area width.

(4)表2の4の場合(第5図ホに相当)終点のX座標
をレジスタRxsに格納し領域幅を狭める。
(4) In the case of 4 in Table 2 (corresponding to E in FIG. 5), the X coordinate of the end point is stored in the register Rxs and the area width is narrowed.

上記4つの場合には領域幅を変更して文字パターンの表
示を継続するが、次の場合には領域が閉じられるため文
字パターンの表示は行なわない。
In the above four cases, the area width is changed and the character pattern continues to be displayed, but in the following cases, the area is closed and the character pattern is not displayed.

即ち、(5)表2の5の場合(第5図イに相当)レジス
タRxs,RxEの内容をクリアする。
That is, (5) In the case of 5 in Table 2 (corresponding to FIG. 5A), the contents of registers Rxs and RxE are cleared.

このようにして、1つの領域内への文字表示が完了した
ら次の領域を検出して同様の処理を施こす。また、表示
位置検出回路331による領域の水平線の検出を容易に
するため、不用となつた水平線符号は順次消去すること
\する。なお、以上の説明では文字の入力法については
詳しく触れなかつたが、文字はあらかじめ漢字テレタイ
プ等により符号情報化しておき入力することも、また表
示に伴ない1字毎に入力するように構成することも可能
であることは勿論である。
In this way, when character display in one area is completed, the next area is detected and the same process is performed. Further, in order to facilitate the detection of horizontal lines in the area by the display position detection circuit 331, horizontal line codes that are no longer needed are sequentially erased. Although we did not discuss in detail the method of inputting characters in the above explanation, it is also possible to input the characters by converting them into encoded information using Kanji Teletype, etc., or to input them one character at a time as they are displayed. Of course, it is also possible to do so.

以上説明したように、本発明によれば、文字の入力領域
をフアクシミリ等の入力装置から入力でき、文字の入力
位置を自動的に検出することができるので、従来、非常
に繁雑であつた文字の入力操作を簡易に行なえる利点が
ある。また、このように文字列とそのレイアウト制御情
報を別扱いと] することにより、文字列はそのレイア
ウトにとられれることなく構成できるので、文字列の構
成が楽になると共に符号量を消減することができる。さ
らに、本発明のようにすると、ひとつの文章をそのレイ
アウト制御情報のみを変更するだけで各5種の表示画面
に共通に使うことができる等の利点がある。
As explained above, according to the present invention, the character input area can be input from an input device such as a facsimile, and the character input position can be automatically detected. This has the advantage that input operations can be performed easily. In addition, by treating character strings and their layout control information separately in this way, character strings can be constructed without being tied to the layout, making it easier to construct character strings and reducing the amount of code. I can do it. Further, according to the present invention, there is an advantage that one text can be commonly used on each of five types of display screens by simply changing its layout control information.

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

第1図は本発明の一実施例のプロツク図、第2図は第1
図の文字入力制御装置の構成図、第3図Oは第2図の領
域検出回路の構成図、第4図は第2図の表示制御回路の
構成図、第5図は領域のパターン例を示す図、第6図は
表示制御回路の動作および文字配置法の説明図である。 1・・・・・・フアクシミリ送信機、2・・・・・・漢
字入力装置、3・・・・・・文字入力匍陶装置、4・・
・・・・表示装置、5・・・・・・表示画面、30・・
・・・・図形処理回路、31・・・・・・領域検出回路
、32・・・・・・文字パターン発生器、33・・・・
・・表示匍[回路、311・・・・・・水平線識別回路
、312・・・・・・水平線位置検出回路、313・・
・・・・水平線符号化回路、314・・・・・・水平線
符号蓄積回路、331・・・・・・表示位置検出回路、
332・・・・・・表示位置制御回路。
Fig. 1 is a block diagram of one embodiment of the present invention, and Fig. 2 is a block diagram of an embodiment of the present invention.
Figure 3 is a block diagram of the character input control device in Figure 2, Figure 3 is a block diagram of the area detection circuit in Figure 2, Figure 4 is a configuration diagram of the display control circuit in Figure 2, and Figure 5 is an example of a region pattern. The figure shown in FIG. 6 is an explanatory diagram of the operation of the display control circuit and the character arrangement method. 1...Fax transmitter, 2...Kanji input device, 3...Character input device, 4...
...Display device, 5...Display screen, 30...
...Graphic processing circuit, 31... Area detection circuit, 32... Character pattern generator, 33...
・・Display signal [circuit, 311 ・・horizontal line identification circuit, 312 ・・・horizontal line position detection circuit, 313 ・・・
...Horizontal line encoding circuit, 314...Horizontal line code storage circuit, 331...Display position detection circuit,
332...Display position control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 文字コードを入力する文字入力手段と、画面上の文
字の挿入領域を表わした図形を光学走査形式に読取る図
形読取手段と、該図形読取手段により得られる画信号か
ら図形を水平な線分と垂直な線分とからなる図形に変換
する図形変換手段と、水平な線分と垂直な線分で囲まれ
る領域を検出する領域検出手段と、前記入力された文字
コードを文字パターンに変換する文字発生手段と、前記
領域検出手段により検出された領域の中に前記文字発生
手段により発生された文字パターンを配列し表示する表
示制御手段とを具備していることを特徴とする文字入力
制御装置。
1. A character input means for inputting a character code, a figure reading means for reading a figure representing a character insertion area on the screen in an optical scanning format, and a figure reading means for converting the figure into a horizontal line segment from the image signal obtained by the figure reading means. a figure converting means for converting into a figure consisting of vertical line segments; an area detecting means for detecting an area surrounded by a horizontal line segment and a vertical line segment; and a character for converting the input character code into a character pattern. A character input control device comprising: a generating means; and a display control means for arranging and displaying character patterns generated by the character generating means in the area detected by the area detecting means.
JP54109992A 1979-08-29 1979-08-29 Character input control device Expired JPS5930307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54109992A JPS5930307B2 (en) 1979-08-29 1979-08-29 Character input control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54109992A JPS5930307B2 (en) 1979-08-29 1979-08-29 Character input control device

Publications (2)

Publication Number Publication Date
JPS5635277A JPS5635277A (en) 1981-04-07
JPS5930307B2 true JPS5930307B2 (en) 1984-07-26

Family

ID=14524330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54109992A Expired JPS5930307B2 (en) 1979-08-29 1979-08-29 Character input control device

Country Status (1)

Country Link
JP (1) JPS5930307B2 (en)

Also Published As

Publication number Publication date
JPS5635277A (en) 1981-04-07

Similar Documents

Publication Publication Date Title
JPS63178287A (en) Display device
WO2004084538A1 (en) Image processor having image region designation function
JPS63109591A (en) Optical character reader
JPH0221024B2 (en)
JPS6126150A (en) Registering and retrieving device of document picture file
JPS58208865A (en) Document producing device
JPS5930307B2 (en) Character input control device
JP3255503B2 (en) Form image processing device
EP0736833B1 (en) Document information processing device
JP3171626B2 (en) Character recognition processing area / processing condition specification method
JPS5938612B2 (en) information input device
JP2763042B2 (en) Image processing method
JPH0346081A (en) On-line hand-written character input method
JP2937607B2 (en) Layout creation device
JP2830113B2 (en) Drawing input method
JPS59148975A (en) Editing device of pattern
JPS5890692A (en) Display controller for character information processor
JPS5851374A (en) Graphic forming device
JP2995765B2 (en) Image storage device
JPH0922445A (en) On-line handwritten character input method
JP3712578B2 (en) Character recognition control method and apparatus
JP3594625B2 (en) Character input device
JP3145265B2 (en) Character recognition device
JPS62172463A (en) Document filing device
JPS63251250A (en) Document data edit unit