JPH03215893A - Outline character correction system - Google Patents

Outline character correction system

Info

Publication number
JPH03215893A
JPH03215893A JP2010952A JP1095290A JPH03215893A JP H03215893 A JPH03215893 A JP H03215893A JP 2010952 A JP2010952 A JP 2010952A JP 1095290 A JP1095290 A JP 1095290A JP H03215893 A JPH03215893 A JP H03215893A
Authority
JP
Japan
Prior art keywords
point
vector data
points
distance
correction
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.)
Granted
Application number
JP2010952A
Other languages
Japanese (ja)
Other versions
JP2550418B2 (en
Inventor
Isamu Oishi
勇 大石
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010952A priority Critical patent/JP2550418B2/en
Publication of JPH03215893A publication Critical patent/JPH03215893A/en
Application granted granted Critical
Publication of JP2550418B2 publication Critical patent/JP2550418B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To generate vector data on a smooth and beautiful outline character by generating the vector data on the outline character by processing vector data on the contour line of a dot character by step and noise removal and correction based on four successive points. CONSTITUTION:An outline correction part 1-2 fetch the four successive points from the vector data 2 before correction. The straight line connecting the 2nd and 3rd points is found when the distance L1 between 1st and 2nd points and distance L3 between 2nd and 3rd points are both shorter than a specified distance L. When the 1st and 4th points are in the opposite area about the straight line and the 1st point is on the straight line, the 2nd point is skipped and then four successive points from a next point except the skipped point or a further next point are fetched when both of the distances L1 and distance L2 are larger than the specified distance L. The processing is performed repeatedly to generate the vector data 3 after the correction of the outline character from which coordinate data on skipped points are removed. Thus, the vector data on the smooth and beautiful outline character can be generated.

Description

【発明の詳細な説明】 〔概要〕 ドット文字などの輪郭線のデータを補正してアウトライ
ン文字のベクトルデータを生成するアウトライン文字補
正方式に関し、 ドット文字などの輪郭線のデータから段差・ノイズの補
正を行い、滑らかで綺麗なアウトライン文字のベクトル
デークを生成することを目的とし、補正前のベクトルデ
ータから連続する4点を取り込み、1点目と2点目の距
離L1および2点目と3点目の距離L2がともに指定し
た距離Lよりも小さいとき、2点目と3点目とを結ぶ直
線を求め、この直線をもとに1点目と4点目とが反対の
領域にあるときおよび1点目が直線上にあるときに2点
目をスキソブし一次に、このスキンプした点を除いた次
の点あるいは」二記距離L1および距ML2がともに指
定した距RLよりも大きいときに次の点から連続する4
点を取り込み、上記処理を繰り返し行ってスキソブした
点の座標データを除去したアウトライン文字のベクトル
データを生成するように構成する。
[Detailed Description of the Invention] [Summary] Regarding an outline character correction method that generates vector data of outline characters by correcting outline data such as dot characters, the present invention corrects steps and noise from outline data such as dot characters. The purpose of this is to generate a vector data of smooth and beautiful outline characters, import four consecutive points from the vector data before correction, and calculate the distance L1 between the first point and the second point, and the distance L1 between the second point and the third point. When the eye distance L2 is both smaller than the specified distance L, find a straight line connecting the 2nd and 3rd points, and based on this straight line, when the 1st and 4th points are in opposite areas. And when the first point is on a straight line, skip the second point, and then move to the next point excluding this skimped point, or "2. When distance L1 and distance ML2 are both greater than the specified distance RL, 4 consecutive from the next point
The system is configured to capture points and repeat the above processing to generate vector data of an outline character from which the coordinate data of the skipped points is removed.

〔産業上の利用分野〕[Industrial application field]

本発明は、ドット文字などの輪郭線のデータを補正して
アウトライン文字のベクトルデークを生成するアウトラ
イン文字補正方式に関するものである。
The present invention relates to an outline character correction method that generates a vector data of an outline character by correcting outline data such as a dot character.

〔従来の技術と発明が解決しようとする課題〕従来、ド
ット文字を変換して生成したアウトライン文字のベクト
ルデータや、文字をスキャナで読み取ってベクトル化し
たベクトルデータは、第8図(イ)■ないし■に示すよ
うにドットによる段差、読み取り時のノイズなどがあり
、滑らかな綺麗な文字のベクトルデータを得られない場
合が発生するという問題があった。このため、第[(口
)■ないし■の太線に示すように補正し、滑らかな綺麗
なアウトライン文字のベクトルデータを生成することが
望まれている。
[Prior art and problems to be solved by the invention] Conventionally, vector data of outline characters generated by converting dot characters and vector data obtained by reading characters with a scanner and converting them into vectors are shown in Figure 8 (a) ■ As shown in (2) to (2), there are steps caused by dots, noise during reading, etc., and there are cases where smooth and clean character vector data cannot be obtained. For this reason, it is desired to perform the correction as shown in the thick lines of [(opening) ① to ② to generate vector data of smooth and beautiful outline characters.

本発明は、ドット文字などの輪郭線のデータから段差・
ノイズの補正を行い、滑らかで綺処なアウトライン文字
のベクトルデータを生成することを目的としている。
The present invention can detect steps and
The purpose is to correct noise and generate vector data of smooth and well-defined outline characters.

〔課題を解決する手段〕[Means to solve problems]

第1図は、本発明の原理構成図を示す。 FIG. 1 shows a basic configuration diagram of the present invention.

第1図において、ベクトルデータ2ば、ドット文字など
の輪郭線の補正前のベクトルデータである。
In FIG. 1, vector data 2 is vector data before contour lines of dot characters or the like are corrected.

ベクトルデータ3ば、ドット文字などの輪郭線の補正後
のアウトライン文字のベクトルデータである。
Vector data 3 is vector data of an outline character such as a dot character after the outline has been corrected.

アウトライン補正部1−2は、補正前のベクトルデータ
2から連続ずる4点を取り込み、1点目と2点目の距離
Llおよび2点目と3点目の距離L2がともに指定した
距離Lよりも小さいとき、2点目と3点目とを結ぶ直線
を求め、この直線をもとに1点目と4点目とが反対の領
域にあるときおよび1点目が直線上にあるときに2点目
をスキソブして補正するものである。
The outline correction unit 1-2 takes in four successive points from the vector data 2 before correction, and calculates the distance Ll between the first point and the second point and the distance L2 between the second point and the third point from the specified distance L. is also small, find a straight line connecting the 2nd and 3rd points, and based on this straight line, calculate when the 1st and 4th points are in opposite areas and when the 1st point is on the straight line. This is to correct the second point by subtracting it.

〔作用〕[Effect]

本発明は、第1図に示すように、アウトライン補正部1
−2が補正前のベクトルデータ2から連続する4点を取
り込み、1点目と2点目の距離L1および2点目と3点
目の距離L2がともに指定した距離Lよりも小さいとき
、2点百と3点目とを結ぶ直線を求め、この直線をもと
に1点目と4点目とが反対の領域にあるときおよび1点
目が直線上にあるときに2点目をスキソブし、次に、こ
のスキソブした点を除いた次の点あるいは距離L1、距
離L,がともに指定した距離Lよりも大きいときに次の
点から連続する4点を取り込み、上記処理を繰り返し行
ってスキップした点の座標データを除去したアウトライ
ン文字の補正後のベクトルデータ3を生成するようにし
ている。
As shown in FIG. 1, the present invention provides an outline correction section 1
-2 captures four consecutive points from vector data 2 before correction, and when the distance L1 between the first and second points and the distance L2 between the second and third points are both smaller than the specified distance L, 2 Find a straight line connecting the point 100 and the 3rd point, and based on this straight line, when the 1st and 4th points are in opposite areas and when the 1st point is on the straight line, calculate the 2nd point. Then, when the next point excluding this skipped point or the distance L1 and distance L are both larger than the specified distance L, take in four consecutive points from the next point and repeat the above process. Corrected vector data 3 of the outline character from which the coordinate data of the skipped points has been removed is generated.

従って、ド乙2・ト文字などの輪郭線のベクトルデータ
2から連続した4点をもとに段差・ノイズの補正を行っ
てアウトライン文字のベクトルデータ3を生成すること
により、滑らかで綺麗なアウトライン文字のベクトルデ
ータを生成することが可能となる。
Therefore, by generating vector data 3 of outline characters by correcting steps and noise based on 4 consecutive points from vector data 2 of outlines such as do 2 and t characters, smooth and beautiful outlines can be created. It becomes possible to generate character vector data.

[実施例〕 次に、第1図から第7図を用いて本発明の1実施例の構
成および動作を順次詳細に説明する。
[Embodiment] Next, the configuration and operation of an embodiment of the present invention will be explained in detail using FIGS. 1 to 7.

第1図において、データ編集システム1ば、補正前のベ
クトルデータ2を取り込んで前処理を行うデータ前処理
部1−1、および前処理したベクトルデータについて補
正を行って段差・ノイズなどを補正するアウトライン補
正部1−2などから構成されている。以下順次詳細に説
明する。
In FIG. 1, a data editing system 1 includes a data preprocessing unit 1-1 that takes in uncorrected vector data 2 and performs preprocessing, and a data preprocessing unit 1-1 that corrects the preprocessed vector data to correct steps, noise, etc. It is composed of an outline correction section 1-2 and the like. A detailed explanation will be given below.

第2図は、本発明に係る直線の算出説明図を示す。この
直線Y=aX十b!よ、補正前のベクトルデータ2から
連続する4点(Pi 、P=−+ 、P=42、P1。
FIG. 2 shows an explanatory diagram for calculating a straight line according to the present invention. This straight line Y = aX ten b! , four consecutive points from vector data 2 before correction (Pi, P=-+, P=42, P1.

3)のうちの2点目P6hI と3点目P1や2を結ぶ
直線である。この直線Y=aX十bをもとにY<aX+
bの領域、Y>aX+bの領域、および直線上の3つに
分けて、2点目Pエ41をスキソブ(ベクトルデータか
ら除去)するか否かを判別している(第3図■ないし[
F]を用いて後述する)。
This is a straight line connecting the second point P6hI and the third points P1 and 2 in 3). Based on this straight line Y=aX+b, Y<aX+
It is divided into three areas: the area b, the area Y>aX+b, and the area on the straight line, and it is determined whether or not to skip (remove from the vector data) the second point P41 (Fig. 3 ■ to [
(described later using F]).

次に、第3図フローチャートに示す順序に従い第1図構
成の動作を詳細に説明する。
Next, the operation of the configuration shown in FIG. 1 will be explained in detail in accordance with the order shown in the flowchart of FIG.

第3図において、■は、レコードの取り込み(文字単位
)を行う。これは、利用者が距離Lを指定した0以降の
処理の実行指示に対応して、ドット文字などの輪郭から
なる補正前のベクトルデータ2についてレコード単位(
文字単位)に右側に示すように取り込む。この取り込ん
だレコードは、ドット文字などの輪郭の屈曲点の座標(
 X. i、YL)を対にして順次格納したものである
In FIG. 3, ■ is used to import records (character by character). This is performed in record units (
character by character) as shown on the right. This imported record contains the coordinates (
X. i, YL) are sequentially stored in pairs.

@は、島単位にデータの取り込みを行う。これは、■で
文字単位に取り込んだ補正前のベクトルデータ2につい
て一更に島単位に取り込む(例えば文字“い”の場合に
左側の輪郭が連続した部分?島)と、右側の部分(島)
とに分けて1つの島単位に取り込む)。
@ imports data on an island-by-island basis. This is done by importing the uncorrected vector data 2 character by character in step ■ in island units (for example, in the case of the character "i", the part where the outline on the left is continuous?island) and the part on the right (island).
(separated into one island).

■は、島単位のベクトルデータの臘集を行う。(2) Collects vector data for each island.

これは、右側に示すよう乙こ、■で取り込んだ島単位の
ベクトルデータについて、終端部分にP+(X+・Y1
) P2  (XZ 、Yz ) Ps  (X3 、Y:+ ) の3つの座標値をコピーし、連続する4点を取り出した
ときに処理し得るように前編集する。
As shown on the right side, for the island-based vector data imported in ■, P+(X+・Y1
) P2 (XZ, Yz) Ps (X3, Y:+) The three coordinate values are copied and pre-edited so that they can be processed when four consecutive points are extracted.

■は、4点のベクトルデータを取り込む。これは、P 
i 、P i+I s. P i+2 、P 4+2の
連続する4点のベクトルデータを取り込む。
■ Inputs vector data of four points. This is P
i, P i+I s. The vector data of four consecutive points of P i+2 and P 4+2 are taken in.

■は、中の2点(Pi., 、Pa.■)を結ぶ直線の
式を求める。
For (■), find the equation of the straight line connecting the two points (Pi., , Pa. (■)).

’y’ = a X + b・・・・・・・・・・・・
・・(1)[相]は、L1、L2がともにLよりも小さ
いか否かを判別する。これは、最初に利用者から指定さ
れた距MLに比較して、■で取り込んだ4点のうちの1
点目P8−2点目P,4,の距離Li と、2?目P1
。.−3点目P8。2の距離L2とがともに小さいか否
かを判別する。YESの場合(Ll<L、かつLZ<L
の場合)には、■ないし■のうちの対応するいずれか1
つの処理(補正)を行う。
'y' = aX + b・・・・・・・・・・・・
...(1) [Phase] determines whether L1 and L2 are both smaller than L. This is one of the four points captured in ■ compared to the distance ML specified by the user.
The distance Li between point P8 and second point P,4, and 2? Eye P1
. .. - It is determined whether the distance L2 of the third point P8.2 is both small. If YES (Ll<L and LZ<L
), the corresponding one of ■ or ■
Perform two types of processing (correction).

これは、取り出した4点について■ないし■の処理(補
正)を常に行うと、第5図で後述するように、文字の形
が崩れてしまうので、予め指定した距離Lよりも距離L
1および距離L2がともに小さいときにのみ補正対象と
したものである。NOの場合には、補正対象としなく、
■以降を行う。
This is because if you always perform the processing (correction) from ■ to ■ on the four extracted points, the shape of the character will be distorted, as will be described later in Figure 5, so the distance L is smaller than the pre-specified distance L.
1 and distance L2 are both small, it is targeted for correction. If NO, it will not be subject to correction,
■Do the following.

■は、1点目とζ点目が反対の領域の場合、2点目をス
キソブする。これは、第6図■、■の場合、■の2点目
P ti+を除去し、点線で示すように1点目P.と3
点目P14■とをつなぐ。
In (2), when the first point and the ζ point are in opposite areas, the second point is skipped. In the case of ■ and ■ in Fig. 6, the second point P ti+ of ■ is removed, and the first point P ti+ is removed as shown by the dotted line. and 3
Connect point P14■.

■は、1点目と4点目が同じ領域にある場合、補正しな
い。これは、第6図■、■の場合、補正しない。
In case (2), if the first point and the fourth point are in the same area, no correction is made. This is not corrected in the cases of ① and ② in Fig. 6.

◎は、1点目が直線上にある場合、2点目をスキップす
る。これは、第6図■、■の場合、◎の2点百P8。1
を除去し、1点目P8と3点目P■.9 2とをつなぐ。
◎: If the first point is on a straight line, the second point is skipped. This is in the case of ■ and ■ in Figure 6, 2 points of ◎, 100 P8.1
, the first point P8 and the third point P■. 9 Connect with 2.

■は、4点目が直線上にある場合、補正しない。(2) is not corrected when the fourth point is on a straight line.

これは、第5図■、■の場合、補正しない。This is not corrected in cases ① and ② in Fig. 5.

■は、1点目と4点目が直線上にある場合、2点目をス
キップする。これは、第6図■の場合、◎の2点目P1
lを除去し、1点百P8と3点目P,。2とをつなぐ。
(2) skips the second point if the first and fourth points are on a straight line. In the case of ■ in Figure 6, this is the second point P1 of ◎.
Remove l, 1 point 100 P8 and 3rd point P,. Connect 2.

0は、別の領域にベクトルデータを入れる。0 puts vector data in another area.

[相]は、次の点から4点を取り込む。これば、■ない
し■でスキソブした点を除いた次の点から連続した4点
を取り込む。また、[相]でNoの場合には、次の点か
ら連続した1点を取り込む。
[Phase] takes in four points from the following points. This will take in 4 consecutive points from the next point excluding the point skipped by ■ or ■. Moreover, in the case of No in [phase], one consecutive point is taken from the next point.

@は、4点目のデータが0 (零、終わりを表す)か否
かを判別する。YESの場合には、島単位に取り出した
ベクトルデータが終わったので、[株]を行う。NOの
場合には、島単位に取り出したベクトルデータが終わっ
ていないので、■以降を繰り返し行う。
@ determines whether the fourth point data is 0 (zero, indicating the end). If YES, the vector data extracted for each island has been completed, so perform [Stock]. In the case of NO, since the vector data extracted for each island is not finished, the steps from (1) onwards are repeated.

[相]ば、残りの島があるか否かを判別する。これは、
■で取り込んだ文字単位のベクトルデータに10 ついて、残りの島があるか否かを判別する。YESの場
合には、@で残りの島のベクトルデータを取り込み、■
以降を行う。Noの場合には、■を行う。
[Phase] Then, it is determined whether there are any remaining islands. this is,
Based on the character-by-character vector data imported in step (2), it is determined whether there are any remaining islands. If YES, import the vector data of the remaining islands with @, and
Do the following. If No, perform ■.

@は、補正後のベクトルデータの数が補正前のベクトル
デートの数と等しいか否かを判別する。
@ determines whether the number of vector data after correction is equal to the number of vector dates before correction.

YESの場合には、■、■、■によってスキップされて
補正されていないので、最適化を行う必要がないので、
0でレコードをファイルへ書き戻し、終了する(END
)。一方、NOの場合には、■で補正後のベクトルデー
タで前回のべクI・ルデータを置き換え、■以降を繰り
返し行い、補正前のベクトルデータの数と、補正後のベ
クトルデータの数とが等しくなるまで、繰り返し行う。
If YES, it is skipped and not corrected by ■, ■, ■, so there is no need to perform optimization.
Writes the record back to the file with 0 and exits (END
). On the other hand, in the case of NO, replace the previous vector data with the corrected vector data in ■, and repeat the steps after ■, so that the number of vector data before correction and the number of vector data after correction are Repeat until equal.

これにより、補正モレを防止することができる。Thereby, correction leakage can be prevented.

以上の処理によって、ドット文字などの輪郭を表すベク
トルデータについて連続した4点を取り込み、1点目−
2点目の距離L,、2点目−3点目の距i!ltL2が
ともに指定した距#Lよりも小さいときに■ないし■の
補正を行ってドット段差・11 凹凸のノイズを除去することにより、第7図補正ルーチ
ン処理後に示すように、滑らかな綺麗なアウトライン文
字のベクトルデータに補正することができた。
Through the above processing, four consecutive points of vector data representing the outline of a dot character, etc. are captured, and the first point -
Distance of the second point L,, distance i between the second point and the third point! When both ltL2 and distance #L are smaller than the specified distance #L, by performing the correction of ■ or ■ and removing the noise of dot steps and unevenness, a smooth and beautiful outline can be created as shown in Figure 7 after the correction routine processing. I was able to correct the text to vector data.

第4図は、本発明に係る連続する4点取り込み説明図を
示す。これは、第3図[相]で次の点から4点を取り込
む場合の説明図である。
FIG. 4 shows an explanatory diagram of continuous four-point capture according to the present invention. This is an explanatory diagram when the following four points are taken in in FIG. 3 [Phase].

第4図(イ)は、補正なしの場合に取り込む様子を示す
。この場合にば、右側に示すように、次の点をP,とし
て連続した4点を取り込む。
FIG. 4(a) shows how the image is captured without correction. In this case, as shown on the right side, four consecutive points are captured with the next point as P.

第4図(口)ば、補正ありの場合に取り込む様子を示す
。この場合には、右側に示すように、次の点◎をスキソ
ブし、次の次の点をP8として連続した4点を取り込む
FIG. 4 (portion) shows how data is captured with correction. In this case, as shown on the right side, the next point ◎ is skipped, and the next point is taken as P8, and four consecutive points are captured.

第5図は、本発明に係る補正対象説明図を示す。FIG. 5 shows an explanatory diagram of a correction target according to the present invention.

これは、第3図[相]でLr,LzがともにLよりも小
さいか否かを判別する場合の説明図である。ここで、l
よ利用者が指定した距離Lを表し、L.は1点目−2点
目の距離を表し、L2ば2点目=3点目の距離を表す。
This is an explanatory diagram when determining whether Lr and Lz are both smaller than L in FIG. 3 [Phase]. Here, l
represents the distance L specified by the user, and L. represents the distance between the first point and the second point, and L2 represents the distance between the second point and the third point.

12 第5図(イ)は、L>Ll 、かつL>L2の場合の様
子を表す。この場合には、補正対象とし、第3図■ない
し■のうちの該当する1つの補正を行う。
12 FIG. 5(a) shows the situation when L>Ll and L>L2. In this case, it is targeted for correction, and the corresponding one of the corrections shown in FIG. 3 is performed.

第5図(t?)は、L>L+ ,かつL>L!でない場
合の様子を表す。この場合には、補正対象としなく、第
3図■ないし[F]の補正を行わない。これは、全ての
場合について第3図■ないし■の補正を行うと、文字の
形が崩れてしまうため、補正を行う対象をできるだけド
ットの段差による凹凸の箇所だけに制限したものである
。このときの距離Lは〜予め実験して綺麗なアウトライ
ン文字が得られるような最適な値を利用者が指定する。
FIG. 5 (t?) shows that L>L+ and L>L! It shows what happens when it is not. In this case, it is not subject to correction, and the corrections shown in FIG. 3 (■) to [F] are not performed. This is because if the corrections shown in FIG. 3 (2) to (3) are performed in all cases, the shape of the characters will be distorted, so the objects to be corrected are limited to only the irregularities caused by the steps of the dots as much as possible. At this time, the distance L is determined by the user in advance by experimenting and specifying the optimum value that will allow a clear outline character to be obtained.

第6図は、本発明に係る補正例を示す。ここで、■ない
し■は、直線との大小関係が図示の場合であって、模式
的に表すと右側の連続した4点に示すようになる。
FIG. 6 shows an example of correction according to the present invention. Here, ■ to ■ are cases where the magnitude relationship with the straight line is as shown in the figure, and when expressed schematically, it is as shown in four consecutive points on the right side.

第6図において、■、■は、第3図■に対応し、2点目
◎をスキップして点線で示すよう1点月と3点目とをつ
なぐ具体例を示す。
In FIG. 6, ■ and ■ correspond to FIG. 3 ■, and show a specific example of skipping the second point ◎ and connecting the first point and the third point as shown by the dotted line.

■、■ぱ、第3図■に対応し、補正をしない具体例を示
す。
2) Corresponding to 3 in Fig. 3, a specific example in which no correction is made is shown.

■、■は、第3図■に対応し、補正をしない具体例を示
す。
■ and ■ correspond to FIG. 3, and show specific examples in which no correction is made.

■、■は、第3mOに対応し、2点目@をスキソブして
1点目と3点目とをつなぐ具体例を示す。
■ and ■ correspond to the 3rd mO, and show specific examples of connecting the 1st and 3rd points by skipping the 2nd point @.

■は、第3図■に対応し、2点目◎をスキップして1点
目と3点目とをつなぐ具体例を示す。
■ corresponds to ■ in FIG. 3 and shows a specific example of skipping the second point ◎ and connecting the first and third points.

第7図は、本発明の具体例説明図を示す。FIG. 7 shows a diagram illustrating a specific example of the present invention.

第7図(イ)、(Iff)の上段が補正前のベクトルデ
ータによる文字を示し、下段が本実施例による補正後の
ベクトルデータ番こよる文字を示す。これら補正後のベ
クトルデータによる文字を見て判明するように、本実施
例に係る第3図フローチャートに示す補正ルーチンによ
って補正を施すことにより、ドット文字によるギサギザ
した段差や細かな凹凸のノイズが滑らかに綺麗に補正(
整形)され、見易くなっている。
The upper row of FIG. 7(a) and (Iff) shows the characters based on the vector data before correction, and the lower row shows the characters based on the vector data number after correction according to this embodiment. As can be seen by looking at the characters based on the vector data after these corrections, by performing the correction using the correction routine shown in the flowchart of FIG. Beautifully corrected (
(formatted) to make it easier to see.

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

以上説明したように、本発明によれば、ドット文字など
の輪郭線のベクトルデータ2から連続した4点をもとに
段差、ノイズの除去・補正を行ってアウトライン文字の
ベクトルデータ3を生成する構成を採用しているため、
滑らかで箱麗なアウトライン文字のベクトルデータを生
成することができる。また、段差、ノイズの除去・補正
を行っているため、これらによる無駄なベクトルデータ
がなくなり、平均的に25%のデータ量を削減すること
ができた。
As explained above, according to the present invention, the vector data 3 of an outline character is generated by removing and correcting steps and noise based on four consecutive points from the vector data 2 of an outline of a dot character, etc. Because the configuration is adopted,
It is possible to generate vector data of smooth and boxy outline characters. Furthermore, since steps and noise are removed and corrected, unnecessary vector data due to these is eliminated, and the amount of data can be reduced by 25% on average.

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

第1図は本発明の原理構成図、第2図は本発明に係る直
線の算出説明図、第3図は本発明の動作説明フローチャ
ート、第4図は本発明に係る連続する4点取り込み説明
図、第5図は本発明に係る補正対象説明図〜第6図は本
発明に係る補正例、第7図は本発明の具体例説明図、第
8図はベクトルデータの段差・ノイズ説明図を示す。 図中、1tまデータ編集システム、1−1はデー15 夕前処理部、1−2はアウトライン補正部、2はベクト
ルデータ(補正前)、3ばベクトルデータ(補正後)を
表す。
Fig. 1 is a diagram showing the basic configuration of the present invention, Fig. 2 is an explanatory diagram for calculating a straight line according to the present invention, Fig. 3 is a flowchart explaining the operation of the present invention, and Fig. 4 is an explanation of consecutive four-point acquisition according to the present invention. 5 is an explanatory diagram of a correction target according to the present invention, FIG. 6 is an explanatory diagram of a correction object according to the present invention, FIG. 7 is an explanatory diagram of a specific example of the present invention, and FIG. 8 is an explanatory diagram of steps and noise in vector data. shows. In the figure, 1t represents a data editing system, 1-1 represents a data pre-processing section, 1-2 represents an outline correction section, 2 represents vector data (before correction), and 3 represents vector data (after correction).

Claims (1)

【特許請求の範囲】 ドット文字などの輪郭線のデータを補正してアウトライ
ン文字のベクトルデータを生成するアウトライン文字補
正方式において、 補正前のベクトルデータ(2)から連続する4点を取り
込み、1点目と2点目の距離L_1および2点目と3点
目の距離L_2がともに指定した距離Lよりも小さいと
き、2点目と3点目とを結ぶ直線を求め、この直線をも
とに1点目と4点目とが反対の領域にあるときおよび1
点目が直線上にあるときに2点目をスキップし、 次に、このスキップした点を除いた次の点あるいは上記
距離L_1および距離L_2がともに指定した距離Lよ
りも大きいときに次の点から連続する4点を取り込み、
上記処理を繰り返し行ってスキップした点の座標データ
を除去したアウトライン文字のベクトルデータ(3)を
生成するように構成したことを特徴とするアウトライン
文字補正方式。
[Claims] In an outline character correction method that generates vector data of an outline character by correcting outline data such as dot characters, four consecutive points are taken from vector data (2) before correction, and one point is When the distance L_1 between the eye and the second point and the distance L_2 between the second point and the third point are both smaller than the specified distance L, find a straight line connecting the second point and the third point, and based on this straight line. When the 1st and 4th points are in opposite areas and 1
Skip the second point when the points are on a straight line, and then move to the next point excluding this skipped point or the next point when the distance L_1 and distance L_2 are both greater than the specified distance L. Take in four consecutive points from
An outline character correction method characterized in that the above process is repeated to generate vector data (3) of an outline character from which coordinate data of skipped points are removed.
JP2010952A 1990-01-20 1990-01-20 Outline character correction method Expired - Fee Related JP2550418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010952A JP2550418B2 (en) 1990-01-20 1990-01-20 Outline character correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010952A JP2550418B2 (en) 1990-01-20 1990-01-20 Outline character correction method

Publications (2)

Publication Number Publication Date
JPH03215893A true JPH03215893A (en) 1991-09-20
JP2550418B2 JP2550418B2 (en) 1996-11-06

Family

ID=11764529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010952A Expired - Fee Related JP2550418B2 (en) 1990-01-20 1990-01-20 Outline character correction method

Country Status (1)

Country Link
JP (1) JP2550418B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0627694A1 (en) * 1993-05-27 1994-12-07 Canon Kabushiki Kaisha Image processing apparatus and method
US5450096A (en) * 1993-07-13 1995-09-12 Fujitsu Limited Character generating method and apparatus
US5878161A (en) * 1991-12-26 1999-03-02 Canon Kabushiki Kaisha Image processing using vector data to reduce noise
JP2010009350A (en) * 2008-06-27 2010-01-14 Fujitsu Microelectronics Ltd Line drawing method
CN110235180A (en) * 2016-12-13 2019-09-13 皇家飞利浦有限公司 Method and apparatus for modifying the profile of the sequence of the point including being positioned on image

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878161A (en) * 1991-12-26 1999-03-02 Canon Kabushiki Kaisha Image processing using vector data to reduce noise
EP0627694A1 (en) * 1993-05-27 1994-12-07 Canon Kabushiki Kaisha Image processing apparatus and method
US5450096A (en) * 1993-07-13 1995-09-12 Fujitsu Limited Character generating method and apparatus
JP2010009350A (en) * 2008-06-27 2010-01-14 Fujitsu Microelectronics Ltd Line drawing method
US9129437B2 (en) 2008-06-27 2015-09-08 Cypress Semiconductor Corporation Line plotting method
CN110235180A (en) * 2016-12-13 2019-09-13 皇家飞利浦有限公司 Method and apparatus for modifying the profile of the sequence of the point including being positioned on image

Also Published As

Publication number Publication date
JP2550418B2 (en) 1996-11-06

Similar Documents

Publication Publication Date Title
EP0516047B1 (en) Method of and apparatus for processing multi-dimensional data
JP2591984B2 (en) Pattern recognition device
JPH01307878A (en) Pattern recognizing device
JPH03215893A (en) Outline character correction system
US20070247672A1 (en) One-dimensional lens shading correction
JPH06290264A (en) Automatic distortion correction system for image data
CN115205427A (en) Cartoon face driving method and device
JP2001043381A (en) Moving object contour extracting method
JP3066667B2 (en) Outline character correction processing method
JPS59191667A (en) Picture data converting system
JPH06100906B2 (en) Character processing method
JP2910101B2 (en) Vector font data component point correction device
JP3046653B2 (en) How to correct the inclination of text documents
JP2751171B2 (en) Image shading device
JP3024254B2 (en) Curve drawing method and apparatus
JP2521756B2 (en) Pattern data generator
JPH0520402A (en) Cad/cam system
JPH10143676A (en) Picture processor and method for processing the same and recording medium
JP3615375B2 (en) Image processing method, apparatus, and storage medium
JP3031011B2 (en) Calculation method of area, center of gravity, and principal axis of inertia using chain code
JPH01297774A (en) Line graphic smoothing method
JP2977226B2 (en) Nonlinear normalization method for characters
JPS6074092A (en) Extracting circuit of contour shape information
JP4079229B2 (en) Conduit image processing method and apparatus
JP2625489B2 (en) Raster data distortion correction method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees