JPH01295374A - Producing device for contour vector data - Google Patents

Producing device for contour vector data

Info

Publication number
JPH01295374A
JPH01295374A JP63030412A JP3041288A JPH01295374A JP H01295374 A JPH01295374 A JP H01295374A JP 63030412 A JP63030412 A JP 63030412A JP 3041288 A JP3041288 A JP 3041288A JP H01295374 A JPH01295374 A JP H01295374A
Authority
JP
Japan
Prior art keywords
data
extracted
points
contour
vector 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.)
Granted
Application number
JP63030412A
Other languages
Japanese (ja)
Other versions
JP2677582B2 (en
Inventor
Masa Tani
谷 雅
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Publication of JPH01295374A publication Critical patent/JPH01295374A/en
Application granted granted Critical
Publication of JP2677582B2 publication Critical patent/JP2677582B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To easily and quickly produce the contour vector data by producing a picture where only the isolated points are extracted, a picture where only the points set on the contours are extracted and a picture where only the points of 1-line width are extracted and scanning these pictures for production of the data from which the final vector data is obtained. CONSTITUTION:A contour extracting part 4 produces a picture where only the isolated points are extracted, a picture where only the points set on the contours are extracted and a picture where only the points of 1-line width are extracted based on the pattern of an original picture P where the contours are extracted. Each of these produced pictures is scanned in each fixed directional order for production of the data line from which the final vector data is obtained through each extracted point. Thus it is possible to easily and quickly produce the contour vector data with no intervention of manual operations.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はドツトフォントのドツトイメージをベクトルデ
ータ化して保存する際に用いられる輪郭データ生成装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a contour data generation device used when converting a dot image of a dot font into vector data and saving the vector data.

(従来の技術) デザイナ−によって作られた文字フォント等の原画をも
とに生成した比較的大きなドツトマトリクス構成のイメ
ージデータを扱うシステムに於いて、上記イメージデ〒
りをそのままの形で(ドツトイメージとして)保存し転
送したのでは扱うデータ量が膨大なものとなり、記憶容
量、転送速度等、種々の面で実用上の問題が生じる。そ
こで、上記イメージデータの保存、転送等を効率良く行
なうためのデータ圧縮手段として、デザイナ−に′よっ
て作られた文字フォント等の原画をスキャンしてその輪
郭を抽出し、抽出された輪郭ドツトデータをもとにベク
トルフォントデータを生成する手段が考えられる。
(Prior Art) In a system that handles image data in a relatively large dot matrix structure generated based on original images such as character fonts created by a designer, the above image data is
If the data were saved and transferred in its original form (as a dot image), the amount of data to be handled would be enormous, causing practical problems in various aspects such as storage capacity and transfer speed. Therefore, as a data compression means for efficiently storing and transferring the above image data, the original image of a character font etc. created by a designer is scanned and its outline is extracted, and the extracted outline dot data is One possible method is to generate vector font data based on .

この際、従来では、ベクトルフォントデータを作成する
ために、原画パターンをディジタイザのテーブル上にセ
ットして、その輪郭線を直接、手操作により各線分毎に
ボインティングすることで一個一個データをなぞりなが
ら作成していた。
Conventionally, in order to create vector font data, the original pattern was set on a digitizer table, and the data was traced one by one by directly pointing the outline of each line segment by hand. I was creating it while doing so.

従って従来では、原画からベクトルフォントデ−夕を生
成する際に多くの時間と労力を要し、作業性の面で問題
が生じていた。
Therefore, in the past, it took a lot of time and effort to generate vector font data from an original image, which caused problems in terms of workability.

(発明が解決しようとする課題) 上述したように従来では、原画からベクトルフォントデ
ータを生成する際、原画パターンをディジタイザのテー
ブル上にセットして、その輪郭線を直接、手操作により
各線分毎にボインティングすることで一個一個データを
なぞりながら作成していたため、その作成処理に多くの
時間と労力を要していた。
(Problem to be Solved by the Invention) As described above, conventionally, when generating vector font data from an original image, the original image pattern is set on the table of a digitizer, and its outline is directly manually drawn for each line segment. Since the data was created by tracing each piece of data one by one by pointing, the creation process required a lot of time and effort.

本発明は上記実情に鑑みなされたもので、原画からベク
トルフォントデータを生成する際の輪郭ベクトルデータ
の生成処理が人手を煩わせることなく容易かつ迅速に行
なえる輪郭ベクトルデータ生成装置を提供することを目
的とする。
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a contour vector data generation device that can easily and quickly perform contour vector data generation processing when generating vector font data from an original image without requiring manual labor. With the goal.

[発明の構成] (課題を解決するための手段及び作用)本発明は、輪郭
抽出すべき原画のドツトイメージから、孤立点のみを抽
出した画像と、輪郭線上の点のみを抽出した画像と、1
ライン幅の点のみを抽出した画像とを生成し、上記各画
像をそれぞれ一定の方向(例えば反時計方向)順序に従
い走査して、各抽出点から最終ベクトルデータの基とな
るデータ列を生成し、同データからデータ圧縮された最
終ベクトルデータを生成し保存する手段を有して、原画
からベクトルフォントデータを生成する際の輪郭ベクト
ルデータの生、成を人手′によらず自動生成する構成と
したもので、これにより、輪郭ベクトルデータの生成処
理が人手を煩わせることなく容易かつ迅速に行なえる。
[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention provides an image in which only isolated points are extracted from a dot image of an original image whose outline is to be extracted, an image in which only points on the outline are extracted, 1
Generate an image in which only line width points are extracted, scan each of the above images in a fixed direction (for example, counterclockwise), and generate a data string from each extraction point that will become the basis of the final vector data. , having a means for generating and storing compressed final vector data from the same data, and automatically generating and forming contour vector data when generating vector font data from an original image without relying on humans. As a result, contour vector data generation processing can be performed easily and quickly without any manual effort.

又、上記輪郭線上の点のみを抽出した画面(αプレーン
)と、1ライン幅の点のみを抽出した画面(βプレーン
;輪郭線補助画面)とを上下に重ね合わせた平面上で隣
接点を追跡してゆくことにより、1ドツトの孤立原デー
タ、1ドツトライン幅の原データ等に於いてもベクトル
データ化が可能となり、極めて精度の高いベクトルデー
タを人手を必要とせず容易に得ることができる。
In addition, adjacent points can be detected on a plane in which a screen in which only points on the contour line are extracted (α plane) and a screen in which only points of one line width are extracted (β plane; contour line auxiliary screen) are superimposed vertically. By tracking, it is possible to convert isolated original data of one dot, original data of one dot line width, etc. into vector data, and extremely highly accurate vector data can be easily obtained without the need for human intervention. .

(実施例) 以下図面を参照して本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例によるシステム構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention.

図中、lはシステム全体の制御を司るCPUであり、こ
こでは後述する第2図乃至第12図に示すような各種の
処理を制御する。2は原稿台に載置された原画Pをスキ
ャニングし、ドツトイメージデータとして出力するイメ
ージスキャナである。
In the figure, l is a CPU that controls the entire system, and here controls various processes as shown in FIGS. 2 to 12, which will be described later. Reference numeral 2 denotes an image scanner that scans an original image P placed on a document table and outputs it as dot image data.

3はイメージスキャナ2でスキャンしたデータを入力し
バッファしてCPUIに受渡す原画データ読取り部であ
る。4はCPUIの制御の下に原画パターンの輪郭デー
タを抽出し、同データから、孤立点のみを抽出した画面
と輪郭線上の点のみを抽出した画面と1ライン幅の点の
みを抽出した画面とを得る輪郭抽出部であり、ここでは
第9図及び第10図に示す処理手順に従い、第2図(a
)に示す原画パターンから、同図(d)に示すような孤
立点のみを抽出した画面(以下γブレーンと称す)と、
同図(b)に示すような輪郭線上の点のみを抽出した画
面(以下αプレーンと称す)と、同図(−C)に示すよ
うな1ライン幅の点のみを抽出した輪郭線補助画面(以
下βプレーンと称す)とを得る。5は上記輪郭抽出部4
で得たα・βプレーンの各抽出点を予め定められた走査
方向に従う走査(ここでは左上端よりライン方向走査)
で検出した最初の点(左上端の点)を始点に隣接点を順
次子め定められた方向順序(ここでは反時計方向順序)
に従って追跡し、圧縮された最終ベクトルデータの基に
なる絶対ベクトル(絶対座標)データを順次バッファリ
ングする輪郭追跡部であり、ここでは第11図に示す処
理手順に従って第6図、及び第12図(a)に示すよう
な絶対ベクトル(絶対座標)データを得る。6はCPU
Iによりアクセス制御されるメインメモリ (MM)で
あり、イメージスキャナ2で読取られた原画Pのドツト
パターンデータを含む各種のデータが記憶される。
Reference numeral 3 denotes an original image data reading section which inputs data scanned by the image scanner 2, buffers it, and delivers it to the CPUI. 4 extracts the contour data of the original pattern under the control of the CPUI, and from the same data, a screen in which only isolated points are extracted, a screen in which only points on the contour line are extracted, and a screen in which only points of one line width are extracted. This is a contour extraction unit that obtains a
) A screen (hereinafter referred to as γ-brane) in which only isolated points are extracted from the original pattern shown in (d) of the same figure,
A screen in which only points on the contour line are extracted (hereinafter referred to as α plane) as shown in (b) of the same figure, and an auxiliary contour screen in which only points of one line width are extracted as shown in (-C) in the same figure. (hereinafter referred to as β plane) is obtained. 5 is the contour extraction section 4
Scan each extraction point of the α and β planes obtained in a predetermined scanning direction (here, scan in the line direction from the upper left corner)
Starting from the first point detected (the upper left point), successively descend adjacent points in a predetermined directional order (in this case, counterclockwise order)
6 and 12 according to the processing procedure shown in FIG. 11. Obtain absolute vector (absolute coordinate) data as shown in (a). 6 is CPU
A main memory (MM) whose access is controlled by I, and stores various data including dot pattern data of the original image P read by the image scanner 2.

第2図は輪郭抽出処理の対象となる原画Pのパターンと
同パターンをもとに上記輪郭抽出部4により生成される
各プレーンのパターンを示したもので、同図(a)は原
画パターン、同図(b)は輪郭線上の点のみを抽出した
αブレーン、同図(C)は1ライン幅の点のみを抽出し
たβブレーン(輪郭線補助画面)、同図(d)は孤立点
のみを抽出したγブレーンである。
FIG. 2 shows the pattern of the original picture P that is the target of the contour extraction process, and the patterns of each plane generated by the contour extracting section 4 based on the same pattern. Figure (b) is an α-brane that extracts only points on the contour line, Figure (C) is a β-brane (contour auxiliary screen) that extracts only points with a width of one line, and Figure (d) is only isolated points. This is the extracted γ-brane.

第3図乃至第7図はそれぞれ上記輪郭追跡部5の処理動
作を説明するためのもので、第3図乃至第5図と第7図
はそれぞれ追跡処理動作の説明図、第6図は上記追跡処
理により得た絶対ベクトル(絶対座標)データを示す図
である。
FIGS. 3 to 7 are for explaining the processing operations of the contour tracking section 5, respectively. FIGS. 3 to 5 and 7 are explanatory diagrams of the tracking processing operations, respectively, and FIG. FIG. 7 is a diagram showing absolute vector (absolute coordinate) data obtained through tracking processing.

第8図乃至第11図はそれぞれ上記実施例の処理手順を
示すフローチャートであり、このうち、第8図は全体の
メインフローを示し、第9図は第8図ステップS2の孤
立点処理フローを示し、第10図は第8図ステップS3
の輪郭線抽出処理フローを示し、第11図は第8図ステ
ップS4の輪郭線追跡処理フローを示す。
8 to 11 are flowcharts showing the processing procedure of the above embodiment, of which FIG. 8 shows the overall main flow, and FIG. 9 shows the isolated point processing flow of step S2 in FIG. 8. and FIG. 10 is step S3 in FIG.
FIG. 11 shows the outline tracing processing flow of step S4 in FIG. 8.

第12図は絶対ベクトルデータからデータ圧縮された最
終ベクトルデータを得る処理手順を説明するためのもの
で、同図(a)は輪郭追跡部5の処理で得られた絶対ベ
クトルデータのデータパターン、同図(b)は同図(a
)の絶対ベクトルデータを相対ベクトルデータに変換し
たデータバタ。
FIG. 12 is for explaining the processing procedure for obtaining compressed final vector data from absolute vector data. FIG. The same figure (b) is the same figure (a
) data data converted from absolute vector data to relative vector data.

−ン、同図(C)は同図(b)の相対ベクトルデータを
データ圧縮された相対ベクトルデータ(最終ベクトルデ
ータ)に変換したデータパターンをそれぞれ示している
。この際の第12図(a′)がら(b)、及び同図(b
)から(c)への各データ変換処理はCPUIが行なう
- Fig. 3(C) shows a data pattern obtained by converting the relative vector data in Fig. 4(b) into data-compressed relative vector data (final vector data). At this time, Figures 12 (a'), (b), and (b)
) to (c) is performed by the CPUI.

ここで上記第1図乃至第12図を参照して本発明による
一実施例の動作を説明する。
The operation of one embodiment of the present invention will now be described with reference to FIGS. 1 to 12.

イメージスキャナ2により読取られた原画Pのドツトパ
ターンデータは原画データ読取り部3に一旦バッファさ
れた後、CPU1の制御の下にメインメモリ6に格納さ
れる。このドツトパターン構成を第2図(a)に示す。
The dot pattern data of the original image P read by the image scanner 2 is once buffered in the original image data reading section 3 and then stored in the main memory 6 under the control of the CPU 1. This dot pattern configuration is shown in FIG. 2(a).

上記メインメモリBに貯えられた第2図(a)に示す処
理対象ドツトパターンデータはCPUIの制御の下に輪
郭抽出部4に送出されて、上記第2図(a)に示すドツ
トパターンデータがら、同図(d)に示す孤立点のみを
抽出したγブレーンと、同図(b)に示す輪郭線上の点
のみを抽出したαブレーンと、同図(C)に示す1ライ
ン幅の点のみを抽出したβブレーン(輪郭線補助画面)
とが生成される(第8図ステップ81〜S3)。
The dot pattern data to be processed shown in FIG. 2(a) stored in the main memory B is sent to the contour extraction section 4 under the control of the CPUI, and the dot pattern data shown in FIG. , a γ-brane that extracts only isolated points shown in (d) of the same figure, an α-brane that extracts only points on the contour line shown in (b) of the same figure, and only points of one line width shown in (C) of the same figure. β-brane extracted (contour auxiliary screen)
is generated (steps 81 to S3 in FIG. 8).

ここでは、先ず上記第2図(a)に示すドツトパターン
データから孤立点のみを抽出する孤立点処理が実行され
る(第8図ステップS2)。この孤立点処理フローを第
9図に示す。
Here, first, isolated point processing is executed to extract only isolated points from the dot pattern data shown in FIG. 2(a) (step S2 in FIG. 8). This isolated point processing flow is shown in FIG.

この孤立点処理は、成るドツトに注目したとき、その周
囲8方向の全てに隣接する点が存在しないとき、このド
ツトを孤立点として抽出し、第2図(d)に示すγプレ
ーンを作成する(第9図ステップ511)。
In this isolated point processing, when we look at a dot and there are no adjacent points in all eight directions around it, we extract this dot as an isolated point and create the γ plane shown in Figure 2(d). (Step 511 in FIG. 9).

次に上記孤立点のみを抽出した第2図(d)に示すγブ
レーン上を左上から右下に向は順次ライン方向(X方向
)にサーチして、抽出した各孤立点をそれぞれ絶対ベク
トルデータに変換し、その孤立点を消去する(第9図ス
テップS 12. 313)。
Next, on the γ-brane shown in FIG. 2(d) where only the isolated points have been extracted, search is performed sequentially from the upper left to the lower right in the line direction (X direction), and each extracted isolated point is converted into absolute vector data. (step S12.313 in FIG. 9).

次に、上記孤立点を除去した(クリーニング処理を施し
た)ドツトパターンデータをもとに、輪郭線上の点を抽
出する輪郭線抽出処理と、1ライン幅の点のみを抽出す
る補助輪郭線抽出処理とが実行される。この際の各輪郭
線抽出処理フローを第10図に示す。
Next, based on the dot pattern data from which isolated points have been removed (cleaned), a contour line extraction process is performed to extract points on the contour line, and an auxiliary contour line extraction process is performed to extract only points with a width of one line. processing is executed. The outline extraction process flow at this time is shown in FIG.

ここでは、先ず、成るドツトに注目したとき、周囲8方
向のうち、少なくとも1方向に隣接点が存在しない点を
輪郭線上の点として抽出し、第2図(b)に示すαブレ
ーンを作成する(第10図ステップS 21)。
Here, when we first focus on a dot, we extract points on the contour line that have no adjacent points in at least one of the eight surrounding directions, and create the α-brane shown in Figure 2(b). (Step S21 in Figure 10).

次に、成るドツトに注目したとき、上下の両方向、ある
いは左右の両方向に隣接点が無い点を1ライン幅の点と
して抽出し、第2図(c)に示すβブレーンを作成する
(第10図ステップ522)。
Next, when looking at the dots that form, we extract points with no adjacent points in both the vertical and horizontal directions as points with a width of one line, and create the β-brane shown in Figure 2(c) (10th Figure step 522).

上述の如くして、第2図(b)に示す輪郭線上の点のみ
を抽出したαブレーンと、同図(C)に示す1ライン幅
の点のみを抽出したβブレーン(輪郭線補助画面)とを
得た後、同ブレーンのドツトパターンデータを輪郭追跡
部5に送出して、同プレーン上の輪郭追跡処理により最
終輪郭ベクトルデータの基となるデータを生成する(第
8図ステップS4)。この際の輪郭追跡処理フローを第
11図に示し、追跡処理の具体的な動作例を第3図乃至
第5図と第7図に示し、絶対ベクトルデータのデータパ
ターン例を第6図、及び第12図(a)に示す。
As described above, an α-brane in which only points on the contour line shown in FIG. After obtaining the dot pattern data of the same plane, the dot pattern data of the same plane is sent to the contour tracing section 5, and the data that becomes the basis of the final contour vector data is generated by the contour tracing process on the same plane (step S4 in FIG. 8). The outline tracking process flow at this time is shown in FIG. 11, specific operation examples of the tracking process are shown in FIGS. 3 to 5, and FIG. 7, and data pattern examples of absolute vector data are shown in FIGS. It is shown in FIG. 12(a).

ここでは、上記αプレーンとβブレーンが上下に重なっ
た平面の概念で輪郭追跡処理を行なう。
Here, contour tracking processing is performed using the concept of a plane in which the α-plane and the β-brane are superimposed one above the other.

先ず、上記第2図(b)に示す輪郭線上の点のみを抽出
したαプレーン上の輪郭線のスタート点(始点)を検出
する。即ち、ここでは上記第2図(b)に示すαプレー
ン上を左上から右下に向は順次ライン方向(X方向)に
サーチし、最初に見付けた点(最も左上に位置するドツ
ト)を輪郭線の始点に定める(第11図ステップS31
. 532)。
First, the starting point of the contour line on the α plane from which only points on the contour line shown in FIG. 2(b) are extracted is detected. That is, here, we search sequentially in the line direction (X direction) from the upper left to the lower right on the α plane shown in FIG. Set at the starting point of the line (step S31 in Fig. 11)
.. 532).

ここで始点が見付かると、その始点の隣接点を所定の方
向順序で捜す。ここでは第4図(b)に示すように、反
時計回りの方向に45°ずつ順に隣接点を追跡してゆく
。即ち、第4図(b)に於いて、隣接点の追跡が例えば
南方向に進行してきたとき、次はそのベクトル方向(南
)の逆方向がら反時計回りの方向に45°回転した方向
(北西方向)を追跡ベクトル方向の基点とし、その後は
更に反時計回りの方向に45°回転した方向(西方向)
を追跡ベクトル方向の基点とする(第11図ステップ5
33)。
When a starting point is found here, points adjacent to the starting point are searched for in a predetermined direction order. Here, as shown in FIG. 4(b), adjacent points are tracked in a counterclockwise direction in 45° increments. In other words, in Fig. 4(b), when the tracking of the adjacent point progresses in the south direction, the next direction is a direction rotated 45° counterclockwise from the opposite direction of the vector direction (south). The base point of the tracking vector direction is (northwest direction), and then the direction further rotated by 45 degrees counterclockwise (west direction)
is the base point of the tracking vector direction (Step 5 in Figure 11).
33).

この隣接点検出処理で隣接点が見付かると、′その際の
処理対象となる点(最初は始点)を絶対ベクトルデータ
化して同データをバッファリングし、その点を次の追跡
の邪魔になるので消去する。そして新たに捜した隣接点
を次の処理対象点とし、同点の隣接点を捜す(第11図
ステップS33.S34、 535)  。
When an adjacent point is found in this adjacent point detection process, the point to be processed at that time (initially the starting point) is converted into absolute vector data and the data is buffered. to erase. Then, the newly searched adjacent point is set as the next point to be processed, and a similar adjacent point is searched for (steps S33, S34, 535 in FIG. 11).

この処理を繰返し実行することにより第6図に示すよう
な絶対ベクトルデータのデータパターンが作成される。
By repeatedly executing this process, a data pattern of absolute vector data as shown in FIG. 6 is created.

同図に於いて、Aは第3図(a)のA点の座標データ、
Bは同B点の座標データである。
In the figure, A is the coordinate data of point A in Figure 3 (a),
B is the coordinate data of the same point B.

上記処理を繰返し実行してゆき、隣接点が始点位置に戻
ったとき、1閉ループの輪郭抽出処理が終了し、1つの
閉じられた輪郭線の絶対ベクトルデータが作成されたこ
とになる(第11図ステップ53G、 S 37)。
When the above process is repeatedly executed and the adjacent point returns to the starting point position, one closed loop contour extraction process is completed and absolute vector data of one closed contour line has been created (11th Figure step 53G, S37).

この際の追跡ループを第7図(a)に示す。The tracking loop at this time is shown in FIG. 7(a).

又、この際は、第3図(a)に示すαプレーンから[A
−+B→C→D→E→F→A]の輪郭線ドツトが消去さ
れ、αプレーン上には第5図(a)に示すように、B’
−E’の輪郭線パターンカ残る。
Also, in this case, [A
-+B→C→D→E→F→A] is erased, and the outline dots B'
-The outline pattern of E' remains.

上述した1閉ループの輪郭抽出処理が終了すると、再び
上記同様の輪郭抽出処理が開始され、この例では第5図
(a)に示すB’−E’の輪郭線パターンが絶対ベクト
ルデータ化されるが、E′点で隣接点が途切れてしまう
When the one-closed-loop contour extraction process described above is completed, the same contour extraction process as described above is started again, and in this example, the contour line pattern B'-E' shown in FIG. 5(a) is converted into absolute vector data. However, the adjacent points are interrupted at point E'.

この際は、上記第5図(a)に示すαプレーンに、同図
(b)に示すβブレーンを重ね合わせたブレーン上で隣
接点を追跡してゆく (第11図ステップ338.S3
3・・・)。
In this case, the adjacent points are traced on a brane in which the β-brane shown in FIG. 5(b) is superimposed on the α-plane shown in FIG.
3...).

従ってここでは第5図(a)に示すαプレーン上のE′
点から同図(b)に示すβプレーン上のE−点に移行し
て、E′→F′→A″→B−と進行し、第7図(b)に
示す閉ループが形成される。
Therefore, here, E′ on the α plane shown in FIG. 5(a) is
The process moves from the point to the E-point on the β plane shown in FIG. 7(b), progresses as E'→F'→A''→B-, and a closed loop shown in FIG. 7(b) is formed.

この追跡処理による輪郭線パターンの絶対ベクトルデー
タ化が終了することにより、第2図(a)に示す原画P
のパターンに対する全ての絶対ベクトルデータ化処理が
完了する(第11図ステップ539)。
By completing the conversion of the outline pattern into absolute vector data through this tracking process, the original image P shown in FIG. 2(a) is
All absolute vector data conversion processing for the pattern is completed (step 539 in FIG. 11).

この原画Pのパターンに対する全ての絶対ベクトルデー
タは、メインメモリ6上にて、CPUIの処理で、第1
2図(b)に示すように相対ベクトルデータに変換され
、更に同図(C)に示すようにデータ圧縮された相対ベ
クトルデータ(最終ベクトルデータ)に変換される。
All the absolute vector data for the pattern of the original picture P are stored in the main memory 6 through CPU processing.
The data is converted into relative vector data as shown in FIG. 2(b), and further converted into compressed relative vector data (final vector data) as shown in FIG. 2(C).

このようにして任意ドツトマトリクス構成の文字フォン
ト等のパターンに対して、その輪郭ベクトルデータが生
成される。
In this way, contour vector data is generated for a pattern such as a character font having an arbitrary dot matrix structure.

上記したような、輪郭線上の点のみを抽出したαプレー
ンと、1ライン幅の点のみを抽出したβブレーン(輪郭
線補助画面)とを上下に重ね合わせたブレーン上で隣接
点を追跡してゆくことにょリ、1ドツトの孤立原データ
、1ドツトライン幅の原データ等に於いてもベクトルデ
ータ化が可能となり、極めて精度の高いベクトルデータ
を人手を必要とせず容易に得ることができる。
Adjacent points are tracked on the above-mentioned alpha plane, which extracts only the points on the contour, and the beta plane (contour auxiliary screen), which extracts only the points of one line width, which are superimposed vertically. Eventually, it will become possible to convert isolated original data of one dot, original data of one dot line width, etc. into vector data, and extremely highly accurate vector data can be easily obtained without the need for human labor.

上記した輪郭ベクトルデータ生成装置は、通常のイメー
ジ処理機器以外に、例えば写植機、図形処理機器等にも
用いることができる。
The contour vector data generation device described above can be used not only for ordinary image processing equipment but also, for example, for phototypesetting machines, graphic processing equipment, and the like.

[発明の効果] 以上詳記したように本発明の輪郭ベクトルデータ生成装
置によれば、輪郭抽出すべきドツトイメージから孤立点
のみを抽出した第1の画像と輪郭線上の点のみを抽出し
た第2の画像と1ライン幅の点のみを抽出した第3の画
像を生成する手段と、上記各画像をそれぞれ一定の方向
順序に従い走査して各抽出点から最終ベクトルデータの
基となるデータを生成し記憶する手段と、同記憶された
データからデータ圧縮された最終ベクトルデータを生成
し保存する手段とを有してなる構成としたことにより、
輪郭ベクトルデータの生成処理が人手を煩わせることな
く容易かつ迅速に行なえる。
[Effects of the Invention] As detailed above, according to the contour vector data generation device of the present invention, a first image in which only isolated points are extracted from a dot image to be contour extracted, and a second image in which only points on the contour line are extracted. means for generating a third image in which only the second image and one line width points are extracted, and each of the above images is scanned in a predetermined directional order to generate data from each extraction point that becomes the basis of final vector data. By adopting a configuration comprising a means for storing data, and a means for generating and storing compressed final vector data from the stored data,
The generation process of contour vector data can be performed easily and quickly without any manual effort.

又、上記輪郭線上の点のみを抽出した第2の画像(αブ
レーン)と、1ライン幅の点のみを抽出した第2の画像
(βブレーン;輪郭線補助画面)とを上下に重ね合わせ
た平面上で隣接点を追跡してゆくことにより、1ドツト
の孤立原データ、1ドツトライン幅の原データ等に於い
てもベクトルデータ化が可能となり、極めて精度の高い
ペクト′ルデータを人手を必要とせず容易に得ることが
できる。
In addition, a second image (α-brane) in which only points on the contour line are extracted and a second image (β-brane; contour auxiliary screen) in which only points with a width of one line are extracted are superimposed vertically. By tracking adjacent points on a plane, it is possible to convert isolated original data of one dot, original data of one dot line width, etc. into vector data. can be easily obtained.

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

第1図は本発明の一実施例によるシステム構成を示すブ
ロック図である。第2図は上記実施例に於ける輪郭抽出
処理の対象となる原画Pのパターンと同パターンをもと
に上記輪郭抽出部4により生成される各ブレーンのパタ
ーンを示したもので、同図(a)は原画パターン、同図
(b)は輪郭線上の点のみを抽出したαブレーン、同図
(C)は1ライン幅の点のみを抽出したβブレーン(輪
郭線補助画面)、同図(d)は孤立点のみを抽出したγ
プレーンである。第3図乃至第7図はそれぞれ上記実施
例に於ける輪郭追跡部の処理動作を説明するためのもの
で、第3図乃至第5図と第7図はそれぞれ追跡処理動作
の説明図、第6図は上記追跡処理により得た絶対ベクト
ル(絶対座標)データを示す図である。第8図乃至第1
1図はそれぞれ上記実施例の処理手順を示すフローチャ
ートであり、第8図は全体のメインフローを示し、第9
図は第8図ステップS2の孤立点処理フローを示し、第
10図は第8図ステップS3の輪郭線抽出処理フローを
示し、第11図は第8図ステップS4の輪郭線追跡処理
フローを示す。第12図は絶対ベクトルデータからデー
タ圧縮された最終ベクトルデータを得る処理手順を説明
するためのもので、同図(a)は輪郭追跡部5の処理で
得られた絶対ベクトルデータのデータパターン、同図(
b)は同図(a)の絶対ベクトルデータを相対ベクトル
データに変換したデータパターン、同図(C)は同図(
b)の相対ベクトルデータをデータ圧縮された相対ベク
トルデータ(最終ベクトルデータ)に変換したデータパ
ターンをそれぞれ示す図である。 ■・・・CPU、2・・・イメージスキャナ、3・・・
原画データ読取り部、4・・・輪郭抽出部、5・・・輪
郭追跡部、8−・・メインメモリ(MM)。 出願人代理人 弁理士 鈴江武彦 (b)           (c)        
   (d)第2図 第5図 第6図 第8図 第9図       第10図 奉色夕寸べ7ト) (a) し−オ呂さ1ベツト)し灸ギ延 (b)                   (c)
第12図
FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention. FIG. 2 shows the pattern of each brane generated by the contour extracting section 4 based on the pattern of the original picture P that is the target of the contour extraction process in the above embodiment. (a) is the original pattern, (b) is the α-brane in which only points on the contour are extracted, (C) is the β-brane (outline auxiliary screen) in which only points with one line width are extracted, and ( d) is γ that extracts only isolated points.
It's plain. 3 to 7 are for explaining the processing operation of the contour tracking section in the above embodiment, respectively. FIG. 6 is a diagram showing absolute vector (absolute coordinate) data obtained by the above tracking process. Figures 8 to 1
1 is a flowchart showing the processing procedure of the above embodiments, FIG. 8 shows the overall main flow, and FIG.
The figure shows the isolated point processing flow in step S2 of Fig. 8, Fig. 10 shows the outline extraction processing flow of step S3 in Fig. 8, and Fig. 11 shows the outline tracing processing flow of step S4 in Fig. 8. . FIG. 12 is for explaining the processing procedure for obtaining compressed final vector data from absolute vector data. FIG. Same figure (
b) is a data pattern obtained by converting the absolute vector data in (a) to relative vector data, and (C) is a data pattern obtained by converting the absolute vector data in (a) to relative vector data.
FIG. 6 is a diagram showing data patterns obtained by converting the relative vector data in b) into data-compressed relative vector data (final vector data). ■...CPU, 2...Image scanner, 3...
Original image data reading unit, 4--contour extracting unit, 5--contour tracking unit, 8--main memory (MM). Applicant's agent Patent attorney Takehiko Suzue (b) (c)
(d) Figure 2 Figure 5 Figure 6 Figure 8 Figure 9 Figure 10 Figure 7
Figure 12

Claims (1)

【特許請求の範囲】[Claims] 輪郭抽出すべきドットイメージから孤立点のみを抽出し
た第1の画像と輪郭線上の点のみを抽出した第2の画像
と1ライン幅の点のみを抽出した第3の画像を生成する
手段と、上記各画像をそれぞれ一定の方向順序に従い走
査して各抽出点から最終ベクトルデータの基となるデー
タを生成し記憶する手段と、同記憶されたデータからデ
ータ圧縮された最終ベクトルデータを生成し保存する手
段とを具備してなることを特徴とする輪郭ベクトルデー
タ生成装置。
Means for generating a first image in which only isolated points are extracted from a dot image to be contour extracted, a second image in which only points on the contour line are extracted, and a third image in which only points of one line width are extracted; Means for scanning each of the above images according to a fixed directional order and generating and storing data that becomes the basis of final vector data from each extraction point, and generating and storing compressed final vector data from the stored data. 1. A contour vector data generation device comprising: means for generating contour vector data.
JP63030412A 1988-01-26 1988-02-12 Contour vector data generator Expired - Lifetime JP2677582B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP63-15259 1988-01-26
JP63015259A JPH01189692A (en) 1988-01-26 1988-01-26 Dot matrix converting method for registering character type

Publications (2)

Publication Number Publication Date
JPH01295374A true JPH01295374A (en) 1989-11-29
JP2677582B2 JP2677582B2 (en) 1997-11-17

Family

ID=11883855

Family Applications (2)

Application Number Title Priority Date Filing Date
JP63015259A Pending JPH01189692A (en) 1988-01-26 1988-01-26 Dot matrix converting method for registering character type
JP63030412A Expired - Lifetime JP2677582B2 (en) 1988-01-26 1988-02-12 Contour vector data generator

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP63015259A Pending JPH01189692A (en) 1988-01-26 1988-01-26 Dot matrix converting method for registering character type

Country Status (1)

Country Link
JP (2) JPH01189692A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0576298A2 (en) * 1992-06-26 1993-12-29 Canon Kabushiki Kaisha Image processing method and apparatus
US5672204A (en) * 1995-04-27 1997-09-30 Shin-Etsu Handotai Co., Ltd. Apparatus for vapor-phase epitaxial growth
WO1997042451A1 (en) 1996-05-09 1997-11-13 Gastar Co., Ltd. Combustion equipment and method of judging life of combustion equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0576298A2 (en) * 1992-06-26 1993-12-29 Canon Kabushiki Kaisha Image processing method and apparatus
EP0576298A3 (en) * 1992-06-26 1994-04-20 Canon Kk
US5579405A (en) * 1992-06-26 1996-11-26 Canon Kabushiki Kaisha Method and apparatus for contour vector image processing
US5672204A (en) * 1995-04-27 1997-09-30 Shin-Etsu Handotai Co., Ltd. Apparatus for vapor-phase epitaxial growth
WO1997042451A1 (en) 1996-05-09 1997-11-13 Gastar Co., Ltd. Combustion equipment and method of judging life of combustion equipment

Also Published As

Publication number Publication date
JPH01189692A (en) 1989-07-28
JP2677582B2 (en) 1997-11-17

Similar Documents

Publication Publication Date Title
US5075895A (en) Method and apparatus for recognizing table area formed in binary image of document
JP2006053568A (en) Deteriorated character image generation program, method and apparatus
KR960025239A (en) Texture mapping device and method
US20040046768A1 (en) Method, system and record medium for generating wide-area high-resolution image
CN111127668A (en) Role model generation method and device, electronic equipment and storage medium
JP2010211732A (en) Object recognition device and method
JPH01295374A (en) Producing device for contour vector data
JPH1074271A (en) Method and device for preparing three-dimensional portrait
JP2010033397A (en) Image composition device and method
CN116579963A (en) System and method for generating dynamic image by using static image
JP5563390B2 (en) Image processing apparatus, control method therefor, and program
JP2003281548A (en) Video editing method and program
JPH0535871A (en) Image processing method
JPH04255080A (en) Image input device
JPH01126774A (en) Graphic input device
JP2021022321A (en) Image processing device and image processing method
CN115953783A (en) Engineering data conversion method, device and equipment based on picture and storage medium
JP4052401B2 (en) Image processing method and apparatus
JP2022124739A (en) Teacher data creation method and teacher data creation apparatus
JP3426005B2 (en) Line figure input device
JPH08180087A (en) Distortion correcting method for graphic
JPS63188278A (en) Contour extracting system
JP2006134137A (en) Method and computer program for generating front image data by computer, and method and computer program for creating three-dimensional cg model
Georgopoulos et al. Low cost digital rectification on a PC
JPH03286377A (en) Three-dimensional coordinate extracting device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080725

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080725

Year of fee payment: 11