JPH09146523A - Character generating device - Google Patents

Character generating device

Info

Publication number
JPH09146523A
JPH09146523A JP7304363A JP30436395A JPH09146523A JP H09146523 A JPH09146523 A JP H09146523A JP 7304363 A JP7304363 A JP 7304363A JP 30436395 A JP30436395 A JP 30436395A JP H09146523 A JPH09146523 A JP H09146523A
Authority
JP
Japan
Prior art keywords
character
alphanumeric
image data
extracted
read
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.)
Withdrawn
Application number
JP7304363A
Other languages
Japanese (ja)
Inventor
Iwao Suzuki
岩雄 鈴木
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 Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP7304363A priority Critical patent/JPH09146523A/en
Publication of JPH09146523A publication Critical patent/JPH09146523A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily generate a new alphanumeric character having the same features as its basic alphanumeric character. SOLUTION: This device is equipped with a read means (S1) which reads in a 1st character in the form of image data, an input means (S2) which inputs a 2nd character, extracting means (S3, S4, S5, S6, and S7) which extracts the features of the read-in 1st character, and a generating means (S9) which generates a 3rd character by correcting the said 2nd character on the basis of the features of the said 1st character extracted by the extracting means (S3, S4, S5, S6, and S7).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、イメージデータ化
された図面類における英数字の修正、追記に適用される
文字生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character generating device applied to correction and additional writing of alphanumeric characters in drawings converted into image data.

【0002】[0002]

【従来の技術】図7は、従来の技術における、イメージ
データ化された英数字の修正の処理をコンピュータを用
いて行なう手順を示す図である。以下、図7を基に従来
の技術を説明する。
2. Description of the Related Art FIG. 7 is a diagram showing a procedure of performing correction processing of alphanumeric characters converted into image data using a computer in the conventional technology. The conventional technique will be described below with reference to FIG.

【0003】まずステップS21で、イメージスキャナ
で読み込みイメージデータ化された英数字(例えば
“2”)を消去し、ステップS22でオペレータにより
キーボードからキー入力される修正用の英数字(例えば
“3”)を入力する。次にステップS23で、入力され
た前記修正用の英数字“3”に対応し、コンピュータ内
に基本的に用意されている英数字データ「3」を出力す
る。そしてステップS24で、前記英数字データ「3」
を、その“大きさ”、“傾き”、“太さ”が前記イメー
ジデータ化された英数字“2”に類似するよう、試行錯
誤により修正している。
First, in step S21, the alphanumeric characters (for example, "2") read by the image scanner and converted into image data are erased, and in step S22, the correction alphanumeric characters (for example, "3") keyed by the operator from the keyboard. ) Is entered. Next, in step S23, the alphanumeric data "3" basically corresponding to the input alphanumeric "3" for correction and basically prepared in the computer is output. Then, in step S24, the alphanumeric data "3"
Is corrected by trial and error so that the "size", "tilt", and "thickness" are similar to the alphanumeric "2" converted into image data.

【0004】[0004]

【発明が解決しようとする課題】このようにイメージス
キャナで読み込んだイメージデータ(英数字)は、一般
的にその文字を消去して修正している。しかしその際に
書き直すことができる英数字は、コンピュータがその内
部に基本的に有している文字種類(ゴシック体、明朝体
等)に限られている。
The image data (alphanumeric characters) read by the image scanner as described above is generally corrected by erasing the characters. However, the alphanumeric characters that can be rewritten at that time are limited to the character types that the computer basically has inside (Gothic, Mincho, etc.).

【0005】また、その結果書き直された英数字は、前
記イメージデータ化された英数字の特徴(“大きさ”、
“傾き”、“太さ”及び“形状”)を有しておらず、文
字サイズもオペレータが適当に倍率で合わせている。し
たがって、上述したようにコンピュータ内に用意されて
いる文字を使用する場合、他のイメージデータ化された
英数字の特徴に類似させるために、煩わしい試行錯誤を
する必要がある。
The rewritten alphanumeric characters are the characteristics of the alphanumeric characters converted into image data (“size”,
It does not have "tilt", "thickness", and "shape"), and the operator also adjusts the character size at an appropriate magnification. Therefore, when the characters prepared in the computer are used as described above, it is necessary to perform a troublesome trial and error in order to make the characters similar to other image data alphanumeric characters.

【0006】このように、イメージデータ化された図面
類に記載されている英数字を修正、追加しようとする
と、コンピュータが有する基本的な“形状”、“大き
さ”、“傾き”および“太さ”をもつ英数字しか表現で
きない。また、修正、追加の後、その図面類(テキス
ト)を全体的に見たとき、前述したように修正、追加さ
れた英数字のみが他の英数字と比べて特異なものとなっ
ており、違和感を感じるという問題がある。本発明の目
的は、基本となる英数字と特徴が同一な新たな英数字を
簡易に生成できる文字生成装置を提供することにある。
As described above, when it is attempted to correct or add the alphanumeric characters described in the drawings converted into image data, the basic "shape", "size", "tilt" and "thickness" possessed by the computer are obtained. Only alphanumeric characters with "sa" can be expressed. Also, when the drawings (text) are viewed as a whole after correction and addition, only the alphanumeric characters that have been corrected and added are unique as compared with other alphanumeric characters as described above. There is a problem of feeling uncomfortable. An object of the present invention is to provide a character generation device that can easily generate new alphanumeric characters having the same characteristics as basic alphanumeric characters.

【0007】[0007]

【課題を解決するための手段】上記課題を解決し目的を
達成するために、本発明の文字生成装置は以下の如く構
成されている。 (1)本発明の文字生成装置は、イメージデータ化され
た第1の文字を読み込む読み込み手段と、第2の文字を
入力する入力手段と、前記読み込み手段で読み込んだ第
1の文字の特徴を抽出する抽出手段と、この抽出手段で
抽出した前記第1の文字の特徴に基づき前記第2の文字
を修正することにより、第3の文字を生成する生成手段
と、から構成されている。 (2)本発明の文字生成装置は上記(1)に記載の装置
であって、かつ前記抽出手段は、前記第1の文字の所定
軸に対する傾き、前記第1の文字の大きさ、前記第1の
文字の成す線の太さ、および前記第1の文字の形状を抽
出する。
In order to solve the above-mentioned problems and achieve the object, the character generating apparatus of the present invention is constructed as follows. (1) The character generation device of the present invention has a reading means for reading the first character converted into image data, an input means for inputting the second character, and a characteristic of the first character read by the reading means. It is composed of an extracting means for extracting and a generating means for generating a third character by modifying the second character based on the characteristics of the first character extracted by the extracting means. (2) The character generation device according to the present invention is the device according to (1) above, and the extraction means includes the inclination of the first character with respect to a predetermined axis, the size of the first character, and the first character. The thickness of the line formed by the first character and the shape of the first character are extracted.

【0008】上記手段を講じた結果、それぞれ次のよう
な作用が生じる。 (1)本発明の文字生成装置によれば、読み込んだ前記
第1の文字の特徴を抽出し、その特徴に基づき前記第2
の文字を修正することにより、前記第3の文字を生成す
るので、抽出した前記第1の文字の特徴に則した前記第
3の文字、すなわち特徴が同じである同種類の他文字を
簡易に生成することができる。
As a result of taking the above-mentioned means, the following actions are brought about respectively. (1) According to the character generation device of the present invention, the characteristic of the read first character is extracted, and the second character is extracted based on the characteristic.
Since the third character is generated by modifying the character of, the third character conforming to the characteristic of the extracted first character, that is, another character of the same type having the same characteristic, can be simplified. Can be generated.

【0009】そして、生成された英数字等の前記第3の
文字をイメージデータの修正、追記に使用することによ
り、図面類で記載されているすべての英数字を同じ種類
のものとすることができる。よって、前記図面類を全体
的に見たとき、違和感を感じることがなくなる。 (2)本発明の文字生成装置によれば、前記第1の文字
の所定軸に対する傾き、前記第1の文字の大きさ、前記
第1の文字の成す線の太さ、および前記第1の文字の形
状を抽出するので、従来試行錯誤により前記第1の文字
の傾き、大きさ、太さ、および形状を同図面類上の他の
英数字に合わせていた作業を自動的にかつ簡易に行なう
ことができる。
By using the generated third letters such as alphanumeric characters for correction and additional writing of image data, all the alphanumeric characters described in the drawings can be made the same type. it can. Therefore, when viewing the drawings as a whole, the user does not feel uncomfortable. (2) According to the character generation device of the present invention, the inclination of the first character with respect to the predetermined axis, the size of the first character, the thickness of the line formed by the first character, and the first character. Since the shape of the character is extracted, the work of adjusting the inclination, size, thickness, and shape of the first character to other alphanumeric characters on the same drawings by the conventional trial and error is automatically and easily performed. Can be done.

【0010】よって、前記図面類上で修正、追記する英
数字を高い精度で前記他の英数字と類似させることがで
きるとともに、修正、追記作業の時間の大幅な短縮が可
能となる。
Therefore, the alphanumeric characters to be corrected / added on the drawings can be made to resemble the other alphanumeric characters with high accuracy, and the time for the correction / additional work can be greatly shortened.

【0011】[0011]

【発明の実施の形態】図1は、本発明の実施の形態に係
る文字生成装置における処理手順を示すフローチャート
である。なお、当該文字生成装置は図示しないコンピュ
ータにより構成されており、以下に示す各処理は前記コ
ンピュータ内のCPUにより行なわれる。
1 is a flow chart showing a processing procedure in a character generation device according to an embodiment of the present invention. The character generation device is configured by a computer (not shown), and each processing described below is performed by the CPU in the computer.

【0012】以下、図1を基に当該文字生成装置におけ
る処理手順を説明する。本実施の形態では、基本となる
イメージデータから読み込んだ英数字について、“傾
き”、“大きさ”、“太さ”および“形状”の各特徴デ
ータを順に抽出する。そして、イメージデータから読み
込んだ英数字と同じ特徴を持つ新たな英数字を簡易に生
成する。
The processing procedure in the character generator will be described below with reference to FIG. In the present embodiment, with respect to the alphanumeric characters read from the basic image data, the respective characteristic data of “tilt”, “size”, “thickness” and “shape” are extracted in order. Then, a new alphanumeric character having the same characteristics as the alphanumeric character read from the image data is simply generated.

【0013】まずステップS1で、図示しないイメージ
スキャナにより基本となる英数字(例えば“2”)のイ
メージデータを読み込み、当該コンピュータ内に取り込
む。それと同時に、ステップS2でイメージデータとし
て何を読み込んだのかを示す基準データ(ここでは、
「2」)をオペレータが図示しないキーボードから入力
する。そして前記基準データは前記キーボードから当該
コンピュータ内へ取り込まれる。
First, in step S1, basic alphanumeric (for example, "2") image data is read by an image scanner (not shown) and is taken into the computer. At the same time, reference data indicating what is read as image data in step S2 (here,
The operator inputs "2") from a keyboard (not shown). Then, the reference data is taken into the computer from the keyboard.

【0014】そして、ステップS3で、当該コンピュー
タのCPUは読み込んだ英数字のイメージデータ“2”
の中心線(骨格線)を抽出する。これは、読み込んだ英
数字“2”の原形、すなわち太さおよび輪郭線の凹凸が
無い、基本的な形状を抽出するためである。つまり、こ
の処理は読み込んだイメージデータの特徴を得るための
処理である。
Then, in step S3, the CPU of the computer reads the alphanumeric image data "2".
The center line (skeleton line) of is extracted. This is to extract the original shape of the read alphanumeric character "2", that is, the basic shape without the thickness and the unevenness of the outline. That is, this process is a process for obtaining the characteristics of the read image data.

【0015】図2の(a)および(b)は、前述した中
心線(骨格線)の抽出処理を示す図であり、(a)は読
み込んだイメージデータの例を示す図であり、(b)は
抽出された中心線を示す図である。図2の(a)および
(b)において、11は画素であり、この画素11はマ
トリクス状に多数配列されている。なお、イメージデー
タの一つの点は、最低でも1画素分に相当している。
2 (a) and 2 (b) are diagrams showing the above-mentioned center line (skeleton line) extraction processing, FIG. 2 (a) is a diagram showing an example of the read image data, and FIG. ) Is a figure which shows the extracted center line. In FIGS. 2A and 2B, 11 is a pixel, and a large number of the pixels 11 are arranged in a matrix. Note that one point of the image data corresponds to at least one pixel.

【0016】また、文字を表現する線は、最低1画素か
らなる点の連なりで表現される。その連なりを連結と呼
ぶ。なお、集合された画素の圧縮は、その連結数を保ち
ながら行なわれる。また、前記連結は黒い画素に関する
ものであるが、その背景となる白い画素についても同じ
ような連なりで表現でき、この連なりを位数と呼ぶ。な
お、この位数は、連結に対応する黒を白、白を黒に反転
することで求められる。そして、上記骨格線を求めると
きは、前記連結数と位数の関係を保ちながら求める。
A line representing a character is represented by a series of points each including at least one pixel. The connection is called connection. The compressed pixels are compressed while maintaining the number of connected pixels. Further, although the connection is related to the black pixel, the white pixel as the background can be expressed by the same series, and this series is called the order. It should be noted that this order is obtained by inverting black corresponding to the connection to white and vice versa. When obtaining the skeleton line, the skeleton line is obtained while maintaining the relationship between the number of connections and the order.

【0017】図2の(a)において1はイメージデータ
であり、このイメージデータ1は英数字の“2”を示し
ている。このイメージデータ1の中心線(骨格線)を抽
出するため、基本的に文字情報を失なわないようにす
る、すなわち前記連結数と位数を変化させないようにす
る必要がある。このため図2の(a)に(1)で示され
る黒の画素のうち、イメージデータ1の中心から外れて
いるものを(0)で示される白に変化させる。これによ
り図2の(b)に示すように、線の太さが1本となる中
心線(骨格線)2が求められる。
In FIG. 2A, 1 is image data, and this image data 1 represents alphanumeric "2". Since the center line (skeleton line) of the image data 1 is extracted, it is basically necessary not to lose the character information, that is, to not change the connecting number and the order. For this reason, among the black pixels indicated by (1) in FIG. 2A, those deviated from the center of the image data 1 are changed to white indicated by (0). As a result, as shown in FIG. 2B, a center line (skeleton line) 2 having a single line thickness is obtained.

【0018】このようにして中心線2だけとなった原形
の英数字が持っている特徴データは、“傾き”と“大き
さ”だけになる。そのため、続いてステップS4で前記
原形の縦方向の軸が垂直となるように座標変換を行な
い、その垂直になる迄の回転角を“傾き”とする。次
に、垂直になった文字から後述するような外接文字枠を
作り、その枠から文字の“大きさ”を抽出する。
In this way, the characteristic data of the original alphanumeric characters having only the center line 2 are "inclination" and "size". Therefore, subsequently, in step S4, coordinate conversion is performed so that the vertical axis of the original shape is vertical, and the rotation angle until the vertical axis is "inclined". Next, a circumscribing character frame, which will be described later, is created from the vertical characters, and the "size" of the character is extracted from the frame.

【0019】図3の(a)〜(c)は、前述した“傾
き”、“大きさ”の抽出処理を示す図である。まず、図
2の(b)に示したように作られた中心線2だけとなっ
た英数字のイメージデータ(”2“)から、図3の
(a)に示すような四つの矢印方向に沿って、骨格線2
に接する外接文字枠3を作り(当該骨格線2と外接文字
枠3との接点の座標を求める)、その左下隅を文字の原
点4とする。
FIGS. 3A to 3C are diagrams showing the above-described "inclination" and "size" extraction processing. First, from the alphanumeric image data (“2”) that is only the center line 2 created as shown in FIG. 2B, the four arrow directions as shown in FIG. Along the skeletal line 2
A circumscribing character frame 3 in contact with is created (the coordinates of the contact point between the skeleton line 2 and the circumscribing character frame 3 are obtained), and the lower left corner is set as the origin 4 of the character.

【0020】次に、下式(1)(2)に示すような幾何
学的変換(アフィン変換)により、中心線2の縦方向の
中心軸が垂直、または所定の方向に一致するように変換
し、その回転角θを“傾き”として求める。
Then, the geometrical transformation (affine transformation) as shown in the following equations (1) and (2) is performed so that the longitudinal center axis of the center line 2 is vertical or coincides with a predetermined direction. Then, the rotation angle θ is obtained as “inclination”.

【0021】 x1 =x0 cosθ−y0 sinθ …(1) y1 =x0 sinθ+y0 cosθ …(2) つまり図3の(b)に示すように、骨格線2を回転さ
せ、その中心軸が垂直となるように座標変換し、その回
転角度を“傾き”のデータとして抽出する。その結果図
3の(c)に示すように垂直となった文字から、再度外
接文字枠31を作り、その外接文字枠31の大きさを基
に前記文字の“大きさ”を抽出する。
X1 = x0 cos θ−y0 sin θ (1) y1 = x0 sin θ + y0 cos θ (2) That is, as shown in FIG. 3B, the skeleton line 2 is rotated so that its central axis becomes vertical. The coordinate is converted into, and the rotation angle is extracted as "tilt" data. As a result, as shown in FIG. 3C, the circumscribing character frame 31 is created again from the vertical characters, and the "size" of the character is extracted based on the size of the circumscribing character frame 31.

【0022】この時点で、ステップS5で上記の結果垂
直となった英数字の原形と上記キーボードから入力した
英数字「2」、つまり基準となる中心線を持つ当該コン
ピュータ内の英数字(コンピュータに用意されている、
もともと垂直になっている文字)とを比較(重ね合わ
せ)することにより、上述した中心線2の抽出処理で発
生したヒゲ、ノイズ(直線のビットズレ等)の除去がで
きる。これにより精度の高い中心線が求められ、さらに
再度上記ステップS4の処理、すなわち“傾き”、“大
きさ”の抽出を行なう。
At this point, in step S5, the original shape of the alphanumeric characters which has become vertical as a result of the above, and the alphanumeric character "2" input from the keyboard, that is, the alphanumeric character (in the computer Are available,
By comparing (superimposing) with the character which is originally vertical, it is possible to remove the whiskers and noise (straight line bit deviation, etc.) generated in the extraction processing of the center line 2 described above. As a result, a highly accurate center line is obtained, and the process of step S4, that is, the "inclination" and the "size" are extracted again.

【0023】本発明は文字認識に係るものではなく、文
字の特徴データを抽出するものなので、イメージデータ
として読み込んだ文字と、別にキーボードから入力した
文字とを比較でき、上述したような中心線(骨格線)の
抽出において、イメージデータの細線化(中心線を求め
る)過程で発生し問題となるノイズ(ヒゲや直線のビッ
トズレ)を除去できる。
Since the present invention does not relate to character recognition but extracts characteristic data of characters, it is possible to compare a character read as image data with a character separately input from the keyboard, and the center line ( In extracting the skeleton line, noise (whiskers or straight line misalignment) that occurs in the process of thinning the image data (determining the center line) and causing a problem can be removed.

【0024】この方法により、特徴データの抽出が容易
になり、また抽出データの精度の向上が得られる。ここ
で、前記中心線は1本の線になっている。次に、ステッ
プS6で、本来太さのあるイメージデータとして読み込
んだ英数字の“太さ”の抽出を行なう。
This method facilitates the extraction of the characteristic data and improves the accuracy of the extracted data. Here, the center line is a single line. Next, in step S6, the alphanumeric "thickness" read as the image data having the original thickness is extracted.

【0025】図4の(a)〜(c)は、“太さ”の抽出
処理を示す図である。図4の(a)に示すように、前処
理で得られたノイズの無い中心線(骨格線)2に沿っ
て、図4の(b)に示す3×3のマトリックスをx方
向、y方向に平行移動させながら、黒(1)から白
(0)への変化を判別して線の幅を求める。
4A to 4C are diagrams showing the "thickness" extraction processing. As shown in (a) of FIG. 4, along the noise-free center line (skeleton line) 2 obtained by the preprocessing, the 3 × 3 matrix shown in (b) of FIG. While moving in parallel with, the change from black (1) to white (0) is discriminated and the line width is obtained.

【0026】つまり、図4の(b)に示す“x0 ”を骨
格線2に沿ってx,y軸方向に平行移動させ、x0 が白
(0)になるまでの黒(1)の数をカウントし、その平
均値を求め太さとする。すなわち、図4の(c)に示す
ように黒(1)の累積から、“太さ”(平均値)すなわ
ち線の幅を抽出する。続いて、ステップS7で“形状”
の抽出を行なう。
That is, "x0" shown in FIG. 4 (b) is translated along the skeleton line 2 in the x and y axis directions, and the number of black (1) until x0 becomes white (0) is calculated. Count and calculate the average value to obtain the thickness. That is, as shown in FIG. 4C, the "thickness" (average value), that is, the width of the line is extracted from the accumulation of black (1). Then, in step S7, "shape"
Is extracted.

【0027】図5は、“形状”の抽出処理を示す図であ
る。イメージデータとして読み込んだ英数字“2”の輪
郭線(外側の境界線)5を閉曲線と捉え、その曲線上の
凹凸をたどり始点に戻ってくるまでを偏角関数(周囲の
長さLの周期をもつ周期関数)とする。そしてその偏角
関数をフーリェ級数展開し、高次の項(すなわち高周波
部分)を抽出する。これにより、イメージデータとして
読み込んだ英数字の細かい変動量(すなわち、文字のエ
ッジ部分のギザギザ)を“形状”特徴として捉えること
ができる。図5に示すように座標列を(xn ,yn )、
長さをLm 、偏角の差分をΔθmとすると、長さLm は
次式(3)のようになる。
FIG. 5 is a diagram showing the "shape" extraction processing. The contour line (outer boundary line) 5 of the alphanumeric character "2" read as image data is regarded as a closed curve, and the irregularity on the curve is traced until it returns to the starting point. With a periodic function). Then, the argument function is expanded into a Fourier series to extract a higher-order term (that is, a high-frequency part). As a result, the minute variation of alphanumeric characters read as image data (that is, the jagged edges of the characters) can be grasped as the "shape" feature. As shown in FIG. 5, the coordinate sequence is (xn, yn),
When the length is Lm and the difference between the deflection angles is Δθm, the length Lm is given by the following expression (3).

【0028】[0028]

【数1】 また、偏角の差分をΔθm は次式(4)のようになる。(Equation 1) Further, the difference between the deflection angles, Δθm, is given by the following equation (4).

【0029】[0029]

【数2】 上式(3)および(4)から、偏差関数値ψm を求める
と次式(5)のようになる。
(Equation 2) When the deviation function value ψm is obtained from the above equations (3) and (4), the following equation (5) is obtained.

【0030】[0030]

【数3】 (Equation 3)

【0031】そしてψm をフーリエ級数展開し、前記閉
曲線の細かい変動量を“形状”特徴として抽出する。こ
の“形状”特徴つまり文字の凹凸は、上記で求めた“太
さ”と重複するデータがあるため、ステップS8で“太
さ”の平均値と“形状”特徴が合致するよう、“太さ”
と“形状”を補正し、その後ステップS9で同種文字の
生成処理を行なう。
Then, ψ m is subjected to Fourier series expansion, and a fine variation amount of the closed curve is extracted as a “shape” feature. Since this "shape" feature, that is, the concavity and convexity of the character, has data that overlaps with the "thickness" obtained above, the "thickness" is set so that the average value of the "thickness" matches the "shape" feature in step S8. ”
And the “shape” are corrected, and thereafter, in step S9, the same character generation processing is performed.

【0032】図6は、同種文字の生成処理手順を示すフ
ローチャートである。まずステップS11で、オペレー
タが修正用の英数字(例えば“3”)を上記キーボード
から入力することにより、当該コンピュータ内の基本の
英数字「3」を準備する。
FIG. 6 is a flow chart showing the procedure for generating the same kind of characters. First, in step S11, the operator inputs a correction alphanumeric character (for example, "3") from the keyboard to prepare the basic alphanumeric character "3" in the computer.

【0033】次に、ステップS12で前記基本の英数字
「3」に上述したように抽出した“大きさ”特徴を合わ
せ、ステップS13で前記基本の英数字に上述したよう
に抽出した“傾き”特徴を合わせる。そしてステップS
14で上述したように抽出した“太さ”特徴を加え、さ
らにステップS15で上述したように抽出した“形状”
特徴を組み合せる。
Next, in step S12, the basic alphanumeric "3" is matched with the "size" feature extracted as described above, and in step S13 the basic alphanumeric "tilt" extracted as described above. Match the characteristics. And step S
14. The "thickness" feature extracted as described above in 14 is added, and the "shape" extracted as described above in step S15
Combine the features.

【0034】このようにして、読み込んだイメージデー
タの英数字“2”と同じ特徴を持つ(すなわち同種の)
英数字“3”の生成ができ、その修正用英数字“3”が
出力される。
In this way, it has the same characteristics as the alphanumeric character "2" of the read image data (that is, the same kind).
The alphanumeric character "3" can be generated, and the modifying alphanumeric character "3" is output.

【0035】なお、本発明は上記実施の形態に限定され
ず、要旨を変更しない範囲で適宜変形して実施できる。 (変形例)上記実施の形態では、イメージデータとして
一つの英数字を読み込んで処理を行なったが、複数の英
数字を読み込み、各英数字について上述したと同様の処
理を行なうようにしてもよい。これにより、上述した文
字の各特徴をより一層正確に抽出することができる。
The present invention is not limited to the above-mentioned embodiment, and can be carried out by appropriately modifying it within the scope of the invention. (Modification) In the above embodiment, one alphanumeric character is read as the image data and processed, but a plurality of alphanumeric characters may be read and the same processing as described above may be performed for each alphanumeric character. . As a result, it is possible to more accurately extract each feature of the character described above.

【0036】(実施の形態のまとめ)実施の形態に示さ
れた構成および作用効果をまとめると次の通りである。 [1]実施の形態に示された文字生成装置は、イメージ
データ化された第1の文字を読み込む読み込み手段(S
1)と、第2の文字を入力する入力手段(S2)と、前
記読み込み手段(S1)で読み込んだ第1の文字の特徴
を抽出する抽出手段(S3、S4、S6、S7)と、こ
の抽出手段(S3、S4、S6、S7)で抽出した前記
第1の文字の特徴に基づき前記第2の文字を修正するこ
とにより、第3の文字を生成する生成手段(S9)と、
から構成されている。
(Summary of Embodiments) The configurations and operational effects shown in the embodiments are summarized as follows. [1] The character generation device shown in the embodiment is a reading unit (S) for reading the first character converted into image data.
1), an input means (S2) for inputting a second character, and an extracting means (S3, S4, S6, S7) for extracting the characteristics of the first character read by the reading means (S1), Generating means (S9) for generating a third character by modifying the second character based on the characteristics of the first character extracted by the extracting means (S3, S4, S6, S7);
It is composed of

【0037】このように上記文字生成装置においては、
読み込んだ前記第1の文字の特徴を抽出し、その特徴に
基づき前記第2の文字を修正することにより、前記第3
の文字を生成するので、抽出した前記第1の文字の特徴
に則した前記第3の文字、すなわち特徴が同じである同
種類の他文字を簡易に生成することができる。
As described above, in the above character generator,
By extracting the characteristic of the read first character and modifying the second character based on the characteristic, the third character is extracted.
Is generated, it is possible to easily generate the third character conforming to the characteristics of the extracted first character, that is, another character of the same type having the same characteristics.

【0038】そして、生成された英数字等の前記第3の
文字をイメージデータの修正、追記に使用することによ
り、図面類で記載されているすべての英数字を同じ種類
のものとすることができる。よって、前記図面類を全体
的に見たとき、違和感を感じることがなくなる。 [2]実施の形態に示された文字生成装置は上記[1]
に記載の装置であって、かつ前記抽出手段(S3、S
4、S6、S7)は、前記第1の文字の所定軸に対する
傾き、前記第1の文字の大きさ、前記第1の文字の成す
線の太さ、および前記第1の文字の形状を抽出する。
By using the generated third character such as alphanumeric characters for correction and additional writing of image data, all the alphanumeric characters described in the drawings can be made the same type. it can. Therefore, when viewing the drawings as a whole, the user does not feel uncomfortable. [2] The character generation device shown in the embodiment has the above-mentioned [1].
The device according to claim 1, wherein the extraction means (S3, S
4, S6, S7) extracts the inclination of the first character with respect to a predetermined axis, the size of the first character, the thickness of the line formed by the first character, and the shape of the first character. To do.

【0039】このように上記文字生成装置においては、
前記第1の文字の所定軸に対する傾き、前記第1の文字
の大きさ、前記第1の文字の成す線の太さ、および前記
第1の文字の形状を抽出するので、前記第1の文字の各
特徴を簡易かつ高精度で自動的に抽出でき、従来試行錯
誤により前記第1の文字の傾き、大きさ、太さ、および
形状を同図面類上の他の英数字に合わせていた作業を自
動的にかつ簡易に行なうことができる。
As described above, in the above character generator,
Since the inclination of the first character with respect to the predetermined axis, the size of the first character, the thickness of the line formed by the first character, and the shape of the first character are extracted, the first character is extracted. Each feature of can be automatically extracted with simple and high accuracy, and the work of adjusting the inclination, size, thickness, and shape of the first character to other alphanumeric characters on the same drawings by trial and error in the past. Can be performed automatically and easily.

【0040】よって、前記図面類上で修正、追記する英
数字を高い精度で前記他の英数字と類似させることがで
きるとともに、修正、追記作業の時間の大幅な短縮が可
能となる。
Therefore, the alphanumeric characters to be corrected / added on the drawings can be made highly similar to the other alphanumeric characters, and the time for the correction / additional work can be greatly shortened.

【0041】[0041]

【発明の効果】本発明によれば、基本となる英数字と特
徴が同一な新たな英数字を簡易に生成できる文字生成装
置を提供できる。
According to the present invention, it is possible to provide a character generation device capable of easily generating a new alphanumeric character having the same characteristics as a basic alphanumeric character.

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

【図1】本発明の実施の形態に係る文字生成装置におけ
る処理手順を示すフローチャート。
FIG. 1 is a flowchart showing a processing procedure in a character generation device according to an embodiment of the present invention.

【図2】本発明の実施の形態に係る中心線の抽出処理を
示す図であり、(a)は読み込んだイメージデータの例
を示す図、(b)は抽出された中心線を示す図。
2A and 2B are diagrams showing a centerline extracting process according to the embodiment of the present invention, FIG. 2A is a diagram showing an example of read image data, and FIG. 2B is a diagram showing extracted centerlines.

【図3】本発明の実施の形態に係る“傾き”、“大き
さ”の抽出処理を示す図であり、(a)は外接文字枠に
係る図、(b)は“傾き”の抽出に係る図、(c)は再
度作成する外接文字枠に係る図。
3A and 3B are diagrams showing an extraction process of "inclination" and "size" according to the embodiment of the present invention. FIG. 3A is a diagram related to a circumscribing character frame, and FIG. The figure, (c) is a figure related to the circumscribing character frame to be created again.

【図4】本発明の実施の形態に係る“太さ”の抽出処理
を示す図であり、(a)は中心線に係る図、(b)は3
×3のマトリックスを示す図、(c)は“太さ”の抽出
に係る図。
4A and 4B are diagrams showing a “thickness” extraction process according to the embodiment of the present invention, in which FIG. 4A is a diagram relating to a center line and FIG.
The figure which shows the matrix of * 3, (c) is a figure regarding extraction of "thickness."

【図5】本発明の実施の形態に係る“形状”の抽出処理
を示す図。
FIG. 5 is a diagram showing a “shape” extraction process according to the embodiment of the present invention.

【図6】本発明の実施の形態に係る同種文字の生成処理
手順を示すフローチャート。
FIG. 6 is a flowchart showing a procedure for generating similar characters according to the embodiment of the present invention.

【図7】従来例に係る、イメージデータ化された英数字
の修正の処理を行なう手順を示す図。
FIG. 7 is a diagram showing a procedure for performing processing for correcting alphanumeric characters converted into image data according to a conventional example.

【符号の説明】[Explanation of symbols]

1…イメージデータ 11…画素 2…中心線(骨格線) 3…外接文字枠 31…外接文字枠 4…原点 5…輪郭線(境界線) 1 ... Image data 11 ... Pixel 2 ... Center line (skeleton line) 3 ... Enclosed character frame 31 ... Enclosed character frame 4 ... Origin 5 ... Contour line (boundary line)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】イメージデータ化された第1の文字を読み
込む読み込み手段と、 第2の文字を入力する入力手段と、 前記読み込み手段で読み込んだ第1の文字の特徴を抽出
する抽出手段と、 この抽出手段で抽出した前記第1の文字の特徴に基づき
前記第2の文字を修正することにより、第3の文字を生
成する生成手段と、 を具備したことを特徴とする文字生成装置。
1. A reading means for reading a first character converted into image data, an input means for inputting a second character, and an extracting means for extracting a characteristic of the first character read by the reading means, A character generation device comprising: a generation unit that corrects the second character based on the characteristics of the first character extracted by the extraction unit to generate a third character.
【請求項2】前記抽出手段は、前記第1の文字の所定軸
に対する傾き、前記第1の文字の大きさ、前記第1の文
字の成す線の太さ、および前記第1の文字の形状を抽出
することを特徴とする請求項1に記載の文字生成装置。
2. The extracting means, the inclination of the first character with respect to a predetermined axis, the size of the first character, the thickness of the line formed by the first character, and the shape of the first character. The character generation device according to claim 1, wherein
JP7304363A 1995-11-22 1995-11-22 Character generating device Withdrawn JPH09146523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7304363A JPH09146523A (en) 1995-11-22 1995-11-22 Character generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7304363A JPH09146523A (en) 1995-11-22 1995-11-22 Character generating device

Publications (1)

Publication Number Publication Date
JPH09146523A true JPH09146523A (en) 1997-06-06

Family

ID=17932126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7304363A Withdrawn JPH09146523A (en) 1995-11-22 1995-11-22 Character generating device

Country Status (1)

Country Link
JP (1) JPH09146523A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007156500A (en) * 1999-02-01 2007-06-21 Sharp Corp Character display apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007156500A (en) * 1999-02-01 2007-06-21 Sharp Corp Character display apparatus

Similar Documents

Publication Publication Date Title
JPH01196675A (en) Pattern data preparing system
JP3344188B2 (en) Character generator
JP3037854B2 (en) Character generation method and device
JP3576797B2 (en) Graphic processing device, graphic processing method, character processing device, and character processing method
CN116579963A (en) System and method for generating dynamic image by using static image
JPH09146523A (en) Character generating device
JPH06274149A (en) Method and device for varying width of outline font
JP3344538B2 (en) Character generator
JP3082467B2 (en) Outline data processing device
JP2006018731A (en) Fingerprint image composition apparatus, method, and fingerprint image composition program
JP3039015B2 (en) Character processor
JPH0535871A (en) Image processing method
JPH04104296A (en) Character/graphic plotter
JP2861201B2 (en) Data converter
JP2856704B2 (en) Character generator
JP3362452B2 (en) Sample point creation method when converting dot pattern data to outline data
JPS63191284A (en) Pattern processor
JP2881884B2 (en) Document creation device
JP3035141B2 (en) Character creation device and character creation method
JPH07141336A (en) Character producing device
JP2801246B2 (en) Character processing apparatus and method
JP4080470B2 (en) Character pattern generator
JPS63198168A (en) Device for representing linear graphic by polygonal line
JPS63196987A (en) Graphic processor
JPH1020846A (en) Character processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030204