JP2801246B2 - Character processing apparatus and method - Google Patents

Character processing apparatus and method

Info

Publication number
JP2801246B2
JP2801246B2 JP1045701A JP4570189A JP2801246B2 JP 2801246 B2 JP2801246 B2 JP 2801246B2 JP 1045701 A JP1045701 A JP 1045701A JP 4570189 A JP4570189 A JP 4570189A JP 2801246 B2 JP2801246 B2 JP 2801246B2
Authority
JP
Japan
Prior art keywords
pattern
contour
input
data
contour data
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 - Fee Related
Application number
JP1045701A
Other languages
Japanese (ja)
Other versions
JPH02223987A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1045701A priority Critical patent/JP2801246B2/en
Publication of JPH02223987A publication Critical patent/JPH02223987A/en
Application granted granted Critical
Publication of JP2801246B2 publication Critical patent/JP2801246B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、輪郭データを補正する文字処理装置及び方
法に関する。
Description: TECHNICAL FIELD The present invention relates to a character processing device and method for correcting contour data.

[従来の技術] 従来より、文字、図形等の2次元パターンの輪郭形状
を表現する方式として、その輪郭形状を輪郭座標データ
の並びによって表現する手法が提案されている。
2. Description of the Related Art Conventionally, as a method of expressing a contour shape of a two-dimensional pattern such as a character or a figure, a method of expressing the contour shape by an arrangement of contour coordinate data has been proposed.

パターンの形状データを輪郭形状座標値で保持するこ
とで、そのパターンに対して拡大、縮小、移動、回転等
の座標変換処理を容易に施すことができる。
By storing the shape data of the pattern as the outline shape coordinate value, the pattern can be easily subjected to coordinate conversion processing such as enlargement, reduction, movement, rotation, and the like.

[発明が解決しようとしている問題点] しかし、従来の座標変換処理装置は、パターン全体に
対してアフィン変換等の座標変換処理を一律に施すもの
であるため、変換前のパターンのある特定の部分にのみ
座標変換処理を施すなどの要求を満たすことができなか
った。
[Problems to be Solved by the Invention] However, since the conventional coordinate transformation processing apparatus uniformly performs the coordinate transformation processing such as the affine transformation on the entire pattern, a specific part of the pattern before the transformation is performed. However, it was not possible to satisfy the requirements such as performing the coordinate conversion processing only on the.

上記問題点を解決するために本発明では、特定のパタ
ーンの部分の輪郭データの対して補正を施して座標変換
を行うことができる文字処理装置及び方法を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION In order to solve the above problems, an object of the present invention is to provide a character processing apparatus and method capable of performing correction on contour data of a specific pattern portion and performing coordinate conversion.

[問題点を解決するための手段] 上記目的を達成するために、本発明の文字処理装置
は、 パターンの輪郭を表現する輪郭データを入力する入力
手段と、 所定のマッチングパターンと前記入力手段により入力
された輪郭データとが一致するか否かを判別する判別手
段と、 前記判別手段により一致すると判別された場合、前記
入力手段により入力された輪郭データに対して補正を施
した座標変換を行い、前記判別手段により一致しないと
判別された場合、前記所定のマッチングパターンとは別
のマッチングパターンを読み出し、読み出された別のマ
ッチングパターンと前記入力手段により入力された輪郭
データとが一致するか否かを判別する手段とを有するこ
とを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, a character processing apparatus according to the present invention comprises: an input unit for inputting contour data representing a contour of a pattern; a predetermined matching pattern and the input unit. Discriminating means for discriminating whether or not the input contour data coincides with each other; and when the discriminating means determines that the contour data coincides with each other, the contour data input by the input means is subjected to coordinate conversion with correction. If it is determined by the determining means that the two do not match, a matching pattern different from the predetermined matching pattern is read, and whether the read another matching pattern matches the contour data input by the input means is determined. Means for judging whether or not there is no information.

また、本発明の文字処理方法は、 パターンの輪郭を表現する輪郭データを入力する入力
ステップと、 所定のマッチングパターンと前記入力ステップにより
入力された輪郭データとが一致するか否かを判別する判
別ステップと、 前記判別ステップにより一致すると判別された場合、
前記入力ステップにより入力された輪郭データに対して
補正を施した座標変換を行い、前記判別ステップにより
一致しないと判別された場合、前記所定のマッチングパ
ターンとは別のマッチングパターンを読み出し、読み出
された別のマッチングパターンと前記入力ステップによ
り入力された輪郭データとが一致するか否かを判別する
ステップとを有することを特徴とする。
The character processing method according to the present invention further comprises: an input step of inputting outline data representing an outline of the pattern; and determining whether or not a predetermined matching pattern matches the outline data input in the input step. And if it is determined that they match in the determining step,
The contour data input in the input step is subjected to corrected coordinate conversion, and if it is determined in the determining step that they do not match, a matching pattern different from the predetermined matching pattern is read and read. Determining whether or not another matching pattern matches the contour data input in the input step.

[実施例] 以下図面に基づいて、本発明の実施例を詳細に、か
つ、具体的に説明する。第1−1図は、本発明を適用し
得るデータ処理の概略説明図である。既存の文字処理装
置、プリンタに設けられているドットフォントデータ10
0からパターン認識等の手法を用いて、輪郭データ101を
抽出する。このデータは、リストデータとして文字コー
ド等に対応づけられて、保存される。次に、曲線抽出、
平滑化、座標変換等、本発明の実施例の処理を行うフィ
ルタ群102を介して、最終的に高品位なアウトラインフ
ォント・データ103を得ることができる。この様に、本
発明はドットフォントから高品位なアウトラインフォン
トを得る処理に適用できる。
Example An example of the present invention will be described below in detail and specifically with reference to the drawings. FIG. 1-1 is a schematic explanatory diagram of data processing to which the present invention can be applied. Dot font data 10 provided in existing character processing devices and printers
The contour data 101 is extracted from 0 using a technique such as pattern recognition. This data is stored as list data in association with a character code or the like. Next, curve extraction,
It is possible to finally obtain high-quality outline font data 103 via the filter group 102 that performs processing of the embodiment of the present invention such as smoothing and coordinate conversion. As described above, the present invention can be applied to a process for obtaining a high-quality outline font from a dot font.

第1−2図は、本発明の特徴を最もよく表わす図面で
ある。同図において、1は中央演算処理装置(CPU)で
あり、2は読み出し専用メモリ(ROM)であり、3は読
み書き可能なメモリ(RAM)であり、4は外部に増設さ
れた読み出し専用メモリ(外部ROM)であり、5はキー
ボード制御装置(KBC)であり、6はキーボード(KB)
であり、7は表示装置制御装置(CRTC)であり、8は表
示装置(CRT)であり、9は周辺装置制御装置(PKC)で
あり、10は外部記憶装置(FDおよびHD)であり、11は印
刷装置(PRT)であり、12はこれらの装置関のデータの
送受信を行なうためのシステムバスである。
FIG. 1-2 is a drawing that best illustrates the features of the present invention. In the figure, 1 is a central processing unit (CPU), 2 is a read only memory (ROM), 3 is a readable / writable memory (RAM), and 4 is a read only memory ( External ROM), 5 is a keyboard controller (KBC), 6 is a keyboard (KB)
7 is a display device controller (CRTC), 8 is a display device (CRT), 9 is a peripheral device controller (PKC), 10 is an external storage device (FD and HD), Reference numeral 11 denotes a printing device (PRT), and reference numeral 12 denotes a system bus for transmitting and receiving data related to these devices.

本装置のプログラム(第1−3図、第2図等)はROM2
あるいはRAM3上に存在し、CPU1がシステムバスを通じて
逐次プログラムをROM2あるいはRAM3から読み出しつつ、
目的を処理を行なう。
The program (Fig. 1-3, Fig. 2, etc.) of this device is ROM2
Or, it exists on the RAM3, and the CPU1 reads the program from the ROM2 or the RAM3 sequentially through the system bus,
Processing purpose.

第1−3図は、本発明を文字処理装置に適用した場合
の全体のフローチャートを示している。
FIG. 1-3 shows an overall flowchart when the present invention is applied to a character processing device.

第1−3図のS1は、まず、アウトラインフォントに基
づく出力指示があるか否かを判別する。これは例えば第
1−2図KB6から「アウトライン」のコマンドの入力が
あるか否かで判定される。Noの場合は、S2に進み、通常
の文字編集処理に基づいて、表示或いは印刷をドットフ
ォントに基づいて行う。
In S1 in FIG. 1-3, first, it is determined whether or not there is an output instruction based on the outline font. This is determined by, for example, whether or not an “outline” command is input from KB6 in FIG. 1-2. If No, the process proceeds to S2, where display or printing is performed based on a dot font based on normal character editing processing.

S1で、Yesであれば、S3,S4に進む。これらのステップ
ではまず、入力コードをとり込む。これはKB6からの入
力或いは、既に入力され、文字群或いはそれらの内の所
望の範囲を指定することにより、得られたコード情報を
RAM3に取り込むのである。そして、対応するドットパタ
ーンをROM2から読み出し、輪郭データ101を得る。この
輪郭データは、例えば、ドットフォントパターンを上、
下、左、右にそれぞれ1ドットシフトしたパターンのOR
パターンと元のパターンとのex−ORをとることでも得ら
れる。又、他の種々の方法が考えられ、これに限るもの
ではない。S4で、得られた輪郭データは、第3図に示す
リスト形式のデータとして得られ、そのデータに基づき
S5で、座標変換(第2図)、曲線抽出、平滑化処理等の
フィルタ群と称する処理を通過して、S6で高品位にドッ
トによる出力ができるアウトラインフォントを生成する
ことができる。更に、S7で出力(表示或いは印刷)を行
うことができる。
If YES in S1, the process proceeds to S3 and S4. In these steps, first, an input code is captured. This can be done by inputting from KB6 or inputting the code information that has already been input and obtained by specifying a character group or a desired range within them.
It is loaded into RAM3. Then, the corresponding dot pattern is read from the ROM 2, and the outline data 101 is obtained. This contour data is, for example, above the dot font pattern,
OR of patterns shifted one dot down, left, and right respectively
It can also be obtained by taking the ex-OR of the pattern and the original pattern. Various other methods are conceivable, and the method is not limited to this. In S4, the obtained contour data is obtained as data in a list format shown in FIG. 3, and based on the data,
In S5, an outline font that can be output with high-quality dots can be generated in S6 through a process called a filter group such as coordinate transformation (FIG. 2), curve extraction, and smoothing process. Further, output (display or printing) can be performed in S7.

第2図は、本実施例の制御手順の一例を示すフローチ
ャートである。かかるフローチャートを使用して、本装
置の動作を以下順を追って説明する。
FIG. 2 is a flowchart illustrating an example of a control procedure according to the present embodiment. Using this flowchart, the operation of the present apparatus will be described step by step.

まず、ステップS1において文字、図形等の2次元パタ
ーンの輪郭形状を表現するデータが、キーボードKB6あ
るいは外部記憶装置(10)FDあるいはHDから入力され、
RAM3に格納される。入力データは、輪郭を表現するため
に、各輪郭点の絶対座標値あるいは基準点からの相対座
標値、あるいは次の輪郭点への方向を表現する値、ある
いは前の輪郭点との輪郭点の関係から決定される輪郭の
方向変化を表現する値、などの表現形式によって配列形
式、あるいはリスト形式に保持されているものとする。
これらは、第1−1図の輪郭データ101のことである。
First, in step S1, data representing the contour shape of a two-dimensional pattern such as a character or a figure is input from the keyboard KB6 or the external storage device (10) FD or HD.
Stored in RAM3. The input data may be an absolute coordinate value of each contour point, a relative coordinate value from a reference point, a value representing the direction to the next contour point, or a value representing the contour point with the previous contour point. It is assumed that the value is held in an array format or a list format according to an expression format such as a value expressing a change in the direction of the contour determined from the relationship.
These are the outline data 101 in FIG.

第3図は、前述のリスト形式でRAM3内に格納された輪
郭データの詳細なデータ構造の一例である。21は輪郭デ
ータを表現するリストの先頭を保持するポインタ(ROO
T)である。また、22は次の輪郭要素を指すポインタ(N
EXT)で、これらのポインタに沿ってリストを順にたど
ることで、輪郭リストの輪郭点を次々と追跡することが
できる。
FIG. 3 shows an example of a detailed data structure of the outline data stored in the RAM 3 in the above-mentioned list format. 21 is a pointer (ROO) that holds the top of the list representing the contour data.
T). 22 is a pointer (N
EXT), by sequentially following the list along these pointers, the contour points of the contour list can be tracked one after another.

リスト要素23はそれぞれ1つの輪郭点に対応し、24は
対応する輪郭点のX座標値(xi)を表わし、25は輪郭点
のY座標値(yi)を表わし、26は次の輪郭点への方向を
表現する値(vi)を表わし、27は前の輪郭点と次の輪郭
点の関係から決定される方向変化を表現する値(di)を
表わす。但し、本実施例に於て用いる方向を表現する値
とは、例えば第3図に示す0〜7の方向を示す8連結表
現方式を用い、方向変化を表現する値についても公知の
表現方式によって表現されているものとする。第3図の
データは、第4図に示す3角形パターンの輪郭を表現す
るものである。
Each list element 23 corresponds to one contour point, 24 represents the X coordinate value (xi) of the corresponding contour point, 25 represents the Y coordinate value (yi) of the contour point, and 26 represents the next contour point. 27 represents a value (di) expressing a change in direction determined from the relationship between the previous contour point and the next contour point. However, the value representing the direction used in the present embodiment is, for example, an 8-concatenated expression method indicating directions 0 to 7 shown in FIG. 3, and the value expressing the direction change is also a known expression method. Shall be represented. The data in FIG. 3 represents the outline of the triangular pattern shown in FIG.

次に、CPU1はRAM3から輪郭データを読み出し座標変換
を行なうべく、処理を進める。
Next, the CPU 1 proceeds with the process to read the contour data from the RAM 3 and perform coordinate conversion.

ここで第5図に座標変換を行う際に、RAM3内に設定さ
れる記憶領域の詳細図を示す。41、42、43はリスト要素
23に示される形式23の連続した3つの輪郭点データを保
持するためのレジスタ(R1、R2、R3)で、45、46はパタ
ーンマッチングの為に、第6図に示すようなあらかじめ
登録されている輪郭データの方向変化パターンを保持す
るためのレジスタ(R4、R5)である。
Here, FIG. 5 shows a detailed view of a storage area set in the RAM 3 when performing the coordinate conversion. 41, 42 and 43 are list elements
Registers (R1, R2, R3) for holding three consecutive contour point data of the format 23 shown in FIG. 23, 45 and 46 are registered in advance as shown in FIG. 6 for pattern matching. Registers (R4, R5) for holding the direction change pattern of the contour data.

第2図のステップS2において、連続した3つの輪郭デ
ータが、レジスタR1、R2、R3に読み込まれる。
In step S2 of FIG. 2, three consecutive contour data are read into registers R1, R2, and R3.

次にステップS3において、RAM3あるいはROM2あるいは
外部記憶装置(10)FDあるいはHDからマッチングパター
ンがレジスタR4、R5に読み込まれる。
Next, in step S3, the matching pattern is read into the registers R4 and R5 from the RAM3 or ROM2 or the external storage device (10) FD or HD.

次にステップS4において、レジスタR1、R2、R3に保持
されている輪郭点データの関係から決定される方向変化
を表現する値と、レジスタR4、R5に保持されているマッ
チングパターンがCPU1によって比較さ、それらが一致し
た場合には、ステップS7において、そのパターンに付け
られた識別番号(例えば第6図における各番号)がRAM3
に一時的に保存される。一致しなかった場合にはステッ
プS6においてRAM3あるいはROM2あるいは外部記憶装置
(10)FDあるいはHDから、別のマッチングパターンデー
タをレジスタR4、R5に読込み、ステップS4から同様の処
理を繰り返す。
Next, in step S4, the CPU 1 compares the value representing the direction change determined from the relationship between the contour point data held in the registers R1, R2, and R3 with the matching pattern held in the registers R4, R5. If they match, in step S7, the identification number (for example, each number in FIG. 6) assigned to the pattern is stored in RAM3.
Is stored temporarily. If they do not match, another matching pattern data is read into the registers R4 and R5 from the RAM3 or ROM2 or the external storage device (10) FD or HD in step S6, and the same processing is repeated from step S4.

第6図に、本実施例においてRAM3あるいはROM2あるい
は外部記憶装置(10)FDあるいはHDにあらかじめ登録さ
れているデータを示す。
FIG. 6 shows data registered in advance in the RAM 3 or ROM 2 or the external storage device (10) FD or HD in this embodiment.

第6図にあるように、起こりうる方向変化の全ての場
合が登録され、それら1つ1つにパターンの識別番号が
付されている。
As shown in FIG. 6, all the possible directional changes are registered, and each of them is given a pattern identification number.

次にステップS8において、ステップS5において一致し
たパターンの識別番号に対応した座標変換手続きが、RA
M3あるいはROM2からCPU1によって読み込まれ、レジスタ
R2の座標値に対して座標変換演算が行なわれる。
Next, in step S8, a coordinate conversion procedure corresponding to the identification number of the pattern matched in step S5
Read from M3 or ROM2 by CPU1 and register
A coordinate conversion operation is performed on the coordinate value of R2.

第6図に、座標変換前の輪郭点と座標変換後の輪郭点
の位置関係を示す。白丸で示した点55が座標変換前の
点、黒丸で示した点56が座標変換後の点である。図に示
すように、1つの座標変換前の輪郭点を座標変換処理後
に複数の輪郭点に対応させたり、座標変換処理後にその
輪郭点を消去するなど、複雑な処理をマッチングパター
ンによって定義することが可能である。
FIG. 6 shows a positional relationship between a contour point before coordinate conversion and a contour point after coordinate conversion. A point 55 indicated by a white circle is a point before coordinate conversion, and a point 56 indicated by a black circle is a point after coordinate conversion. As shown in the figure, defining a complicated process by a matching pattern, such as associating one contour point before coordinate transformation with a plurality of contour points after the coordinate transformation process, or deleting the contour point after the coordinate transformation process. Is possible.

また、目盛り57は座標変換前の座標スケールを表わ
し、目盛り58は座標変換後の変換スケールを表わす。
A scale 57 indicates a coordinate scale before coordinate conversion, and a scale 58 indicates a conversion scale after coordinate conversion.

本実施例における実際の変換式は、第6図のパターン
(2)を用いた場合は、座標変換前の輪郭点Pの座標値
を(x1,y1)とし、座標変換後の輪郭点の座標値を(x2,
y2)とし、輪郭点Pから次の輪郭点へ向かう方向を表わ
す値をv1として、dx={0,2,2,0,−2,−2,−2},dy=
{−2,−2,0,2,2,2,0,−2}となる要素を持つv1を引数
とする配列を考えると、 x2=5x1+10+dx[v1] y2=5y1+10+dy[v1] なる関係式によって、座標変換手続きを記述することが
できる。このような座標変換手続きによって、座標変換
された座標値およびそれに付随する座標情報は、ステッ
プS9において、CPU1によって、RAM3に出力され一時的に
記憶される。
When the pattern (2) in FIG. 6 is used, the actual conversion formula in this embodiment is such that the coordinate value of the contour point P before the coordinate conversion is (x1, y1), and the coordinates of the contour point after the coordinate conversion. Change the value to (x2,
y2), and a value representing the direction from the contour point P to the next contour point is v1, and dx = {0, 2, 2, 0, −2, −2, −2}, dy =
Considering an array with an argument of v1 having an element of {−2, −2, 0, 2, 2, 2, 0, −2}, a relational expression of x2 = 5x1 + 10 + dx [v1] y2 = 5y1 + 10 + dy [v1] Describes the coordinate transformation procedure. In step S9, the CPU 1 outputs the coordinate values subjected to the coordinate conversion by such a coordinate conversion procedure and the associated coordinate information to the RAM 3 by the CPU 1 and temporarily stores them.

次にステップS10において、RAM3に記憶されている輪
郭データの内、未処理の輪郭点の有無が判別され、未輪
郭の輪郭点がある場合には、ステップS11において次の
連続した3つの輪郭点データをレジスタR1、R2、R3に読
み込んで、ステップS3に戻る。未処理の輪郭点がない場
合には、ステップS12においてRAM3に一時的に記憶され
た座標変換後の輪郭データを、RAM3あるいは表示装置制
御装置CRTC7あるいは外部記憶装置(10)のFDあるいはH
Dに出力する。
Next, in step S10, the presence or absence of an unprocessed contour point is determined from among the contour data stored in the RAM3. If there is an uncontoured contour point, the next three consecutive contour points are determined in step S11. The data is read into registers R1, R2, and R3, and the process returns to step S3. If there are no unprocessed contour points, the contour data after the coordinate conversion temporarily stored in the RAM 3 in step S12 is stored in the RAM 3, the display device control device CRTC7, or the FD or H in the external storage device (10).
Output to D.

以上の手順によって、第4図のパターンに対して座標
変換を施した結果を第7図に示す。この変換例では第6
図に示したマッチングパターン(3),(11),(4)
を適用することによって、第4図のパターンに対して、
拡大処理と同時に、角の丸め処理を行なっている。この
ような一連の処理によって、輪郭データの座標変換が行
なわれる。
FIG. 7 shows the result of performing coordinate conversion on the pattern of FIG. 4 by the above procedure. In this conversion example, the sixth
Matching patterns (3), (11), (4) shown in the figure
By applying to the pattern of FIG.
At the same time as the enlarging process, the corner rounding process is performed. Through such a series of processes, the coordinate conversion of the outline data is performed.

本実施例では、連続した3つの輪郭点について、輪郭
の連なる方向の変化に着目したパターンマッチングを行
ない、それによって分類した輪郭点に対して、個々の座
標変換処理を施したが、パターンマッチングを用いた輪
郭点の分類については、整数個の輪郭点の位置関係を記
述することで、拡大、縮小、移動、回転等の全ての座標
変換手続きに関して、全ての輪郭パターンに対して応用
可能である。
In the present embodiment, pattern matching is performed on three consecutive contour points by focusing on a change in the direction in which the contours are connected, and individual coordinate transformation processing is performed on the contour points classified based on the pattern matching. Regarding the classification of the contour points used, by describing the positional relationship of an integer number of contour points, it can be applied to all contour patterns for all coordinate transformation procedures such as enlargement, reduction, movement, rotation, etc. .

[効果] 以上詳述したように本発明によれば、特定のパターン
の部分の輪郭データに対して補正を施して座標変換を行
うことができる。
[Effects] As described in detail above, according to the present invention, it is possible to perform coordinate conversion by correcting the contour data of a specific pattern portion.

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

第1−1図は、本発明を適用し得るデータ処理の概略説
明図である。 第1−2図は、本発明の装置の全体図である。 第1−3図は、本発明を文字処理装置に適用した場合の
全体フローチャート、 第2図は、本実施例の制御手段を表わすフローチャート
である。 第3図は、本実施例で用いる輪郭データの詳細なデータ
構造の一例を示す図である。 第4図は、第3図に示したデータ構造の元となる輪郭パ
ターンを示す図である。 第5図は、RAM内の記憶領域の詳細図である。 第6図は、本実施例で用いる、座標変換前の輪郭点と座
標変換後の輪郭点の位置関係を示す、マッチングパター
ンを示す図である。 第7図は、第4図に示した輪郭パターンに対して、第6
図に示したマッチングパターンを用いて座標変換を行な
った後の、輪郭パターンを示す図である。 1はCPU、3はRAM、103はアウトラインフォントデー
タ、102はフィルタ装置。
FIG. 1-1 is a schematic explanatory diagram of data processing to which the present invention can be applied. FIG. 1-2 is an overall view of the apparatus of the present invention. FIG. 1-3 is an overall flowchart when the present invention is applied to a character processing apparatus, and FIG. 2 is a flowchart showing control means of the present embodiment. FIG. 3 is a diagram showing an example of a detailed data structure of contour data used in the present embodiment. FIG. 4 is a diagram showing a contour pattern that is the basis of the data structure shown in FIG. FIG. 5 is a detailed view of a storage area in the RAM. FIG. 6 is a diagram showing a matching pattern, which is used in this embodiment and indicates a positional relationship between a contour point before coordinate conversion and a contour point after coordinate conversion. FIG. 7 is a diagram showing the outline pattern shown in FIG.
FIG. 4 is a diagram illustrating an outline pattern after performing coordinate conversion using the matching pattern illustrated in FIG. 1 is a CPU, 3 is a RAM, 103 is outline font data, and 102 is a filter device.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】パターンの輪郭を表現する輪郭データを入
力する入力手段と、 所定のマッチングパターンと前記入力手段により入力さ
れた輪郭データとが一致するか否かを判別する判別手段
と、 前記判別手段により一致すると判別された場合、前記入
力手段により入力された輪郭データに対して補正を施し
た座標変換を行い、前記判別手段により一致しないと判
別された場合、前記所定のマッチングパターンとは別の
マッチングパターンを読み出し、読み出された別のマッ
チングパターンと前記入力手段により入力された輪郭デ
ータとが一致するか否かを判別する手段とを有すること
を特徴とする文字処理装置。
1. An input means for inputting contour data representing a contour of a pattern, a discriminating means for discriminating whether or not a predetermined matching pattern matches the contour data inputted by said input means; If it is determined by the means that they match, the contour data input by the input means is subjected to corrected coordinate transformation, and if the determination means determines that they do not match, the contour data is different from the predetermined matching pattern. A character processing device, comprising: means for reading out a matching pattern of (i) and determining whether or not another read-out matching pattern matches the contour data input by the input means.
【請求項2】前記パターンは、図形パターンを含むこと
を特徴とする請求項1記載の文字処理装置。
2. The character processing apparatus according to claim 1, wherein said pattern includes a graphic pattern.
【請求項3】パターンの輪郭を表現する輪郭データを入
力する入力ステップと、 所定のマッチングパターンと前記入力ステップにより入
力された輪郭データとが一致するか否かを判別する判別
ステップと、 前記判別ステップにより一致すると判別された場合、前
記入力ステップにより入力された輪郭データに対して補
正を施した座標変換を行い、前記判別ステップにより一
致しないと判別された場合、前記所定のマッチングパタ
ーンとは別のマッチングパターンを読み出し、読み出さ
れた別のマッチングパターンと前記入力ステップにより
入力された輪郭データとが一致するか否かを判別するス
テップとを有することを特徴とする文字処理方法。
3. An input step of inputting contour data representing a contour of a pattern; a discriminating step of discriminating whether or not a predetermined matching pattern matches the contour data inputted in the input step; If it is determined in the step that the pattern matches, the contour data input in the input step is subjected to corrected coordinate conversion, and if it is determined that the pattern does not match, the contour data is different from the predetermined matching pattern. And reading out another matching pattern and determining whether or not the read-out matching pattern matches the contour data input in the inputting step.
【請求項4】前記パターンは、図形パターンを含むこと
を特徴とする請求項3記載の文字処理方法。
4. The character processing method according to claim 3, wherein said pattern includes a graphic pattern.
JP1045701A 1989-02-27 1989-02-27 Character processing apparatus and method Expired - Fee Related JP2801246B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045701A JP2801246B2 (en) 1989-02-27 1989-02-27 Character processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045701A JP2801246B2 (en) 1989-02-27 1989-02-27 Character processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH02223987A JPH02223987A (en) 1990-09-06
JP2801246B2 true JP2801246B2 (en) 1998-09-21

Family

ID=12726676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045701A Expired - Fee Related JP2801246B2 (en) 1989-02-27 1989-02-27 Character processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2801246B2 (en)

Also Published As

Publication number Publication date
JPH02223987A (en) 1990-09-06

Similar Documents

Publication Publication Date Title
US5684891A (en) Method and apparatus for character recognition
JP3437037B2 (en) Character pattern generator
JP2801246B2 (en) Character processing apparatus and method
JP3207336B2 (en) Character pattern generator
JP2006227824A (en) Drawing recognition method and device
JP2749858B2 (en) Character processor
JPH02280195A (en) Character generator
JP3009895B2 (en) Deformation pattern generation method and apparatus and display system
JP3792171B2 (en) Character pattern generator
JPH01257995A (en) Character pattern generating device
JP2002351451A (en) Method for character processing based upon outline font information and computer software program product making computer implement the method
JP2603322B2 (en) Character processing apparatus and method
JP2602259B2 (en) Document processing device
JPH056164A (en) Character processing device
JPH02110796A (en) Handwritten character recognition dictionary creating system
JP2840281B2 (en) Character processing apparatus and method
JP2740506B2 (en) Image recognition method
JP2962525B2 (en) Text block recognition method
JP2578965B2 (en) Graphic processing unit
JP2938915B2 (en) Pattern processing method
JPH11102177A (en) Font data creation device and method thereof, and storage medium
JPH0580707B2 (en)
JPH07319443A (en) Data conversion device
JPH043274A (en) Vector piece number reduction processing system
JPH0747336B2 (en) Enlargement correction device for character patterns

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees