JPS63254581A - Pattern restoration system - Google Patents
Pattern restoration systemInfo
- Publication number
- JPS63254581A JPS63254581A JP8850387A JP8850387A JPS63254581A JP S63254581 A JPS63254581 A JP S63254581A JP 8850387 A JP8850387 A JP 8850387A JP 8850387 A JP8850387 A JP 8850387A JP S63254581 A JPS63254581 A JP S63254581A
- Authority
- JP
- Japan
- Prior art keywords
- image
- point
- contour vector
- dot
- contour
- 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
Links
Landscapes
- Image Processing (AREA)
- Image Generation (AREA)
Abstract
Description
【発明の詳細な説明】
〔目 次〕
概要
産業上の利用分野
従°来の技術と発明が解決しようとする問題点問題点を
解決するための手段
作用
実施例
発明の効果
〔概要〕
フルドツトの原パターンの走査方向(X方向)に対して
、最初に出現するパターンの画像開始輪郭線をベクトル
化した画像開始輪郭ベクトル列と。[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology and Problems to be Solved by the Invention Means for Solving the Problems Actions Examples Effects of the Invention [Summary] Fuldot's An image start contour vector sequence obtained by vectorizing the image start contour of the pattern that appears first in the scanning direction (X direction) of the original pattern.
最後に出現する画像終了輪郭線をベクトル化した画像終
了輪郭ベクトル列とを°対” として表現したパターン
の圧縮データから原パターンを復元する方式において、
上記画像開始輪郭ベクトル間と。In a method for restoring an original pattern from compressed data of a pattern expressed as a pair of image ending contour vectors obtained by vectorizing the image ending contour that appears last,
Between the above image and the starting contour vector.
画像終了輪郭ベクトル間の点を発生する毎に、Y方向の
座標値の変化を検出し、該変化があると、X方向の座標
値の最大、又は最小の座標を検出し、該X方向の最小の
座標と、最大の座標とを用いて、−走査線毎の塗り潰し
区間データを生成し、該塗り潰し区間データに基づいて
塗り潰し処理を実行することにより、−走査線毎のベク
トル間に、点列を発生して原パターンを復元するように
したものである。Every time a point between the image end contour vectors is generated, a change in the coordinate value in the Y direction is detected, and when there is a change, the maximum or minimum coordinate value in the X direction is detected, and the coordinate value in the X direction is detected. Using the minimum coordinates and the maximum coordinates, - by generating filled section data for each scanning line and executing the filling process based on the filled section data, - a point is created between the vectors for each scanning line. The original pattern is restored by generating a sequence.
〔産業上の利用分野〕
本発明は、フルドツトの原パターンの走査方向(X方向
)に対して、最初に出現するパターンの画像開始輪郭線
をベクトル化した画像開始輪郭ベクトル列と、最後に出
現する画像終了輪郭線をベクトル化した画像終了輪郭ベ
クトル列とを対“とじて表現したパターンの圧縮データ
から原パターンを復元する方式に関する。[Industrial Field of Application] The present invention provides an image start contour vector sequence obtained by vectorizing the image start contour of the pattern that appears first in the scanning direction (X direction) of the original full-dot pattern, and The present invention relates to a method for restoring an original pattern from compressed data of a pattern expressed by pairing an image ending contour vector string with an image ending contour vector sequence obtained by vectorizing an image ending contour line.
近年、文字のディジタル処理技術の導入が進み、今やオ
フィスオートメーション(□A)機器や、電算写植シス
テム等においては、文字の品質そのものが問われる時代
になっている。In recent years, the introduction of digital text processing technology has progressed, and we are now in an era where the quality of text itself is being questioned in office automation (□A) equipment, computer typesetting systems, and the like.
このようなシステムでは、膨大な数の文字パターンが要
求される為、それらを格納しておく為の膨大な記憶容量
を有する記憶装置が必要となる。Since such a system requires a huge number of character patterns, a storage device with a huge storage capacity is required to store them.
この記憶容量の問題を解決する為に、文字パターンをフ
ルドツト形式で格納するのではなく、何らかの形で圧縮
する技術と、必要に応じて、該圧縮された文字パターン
を復元したり、或いは、文字パターンの圧縮データに、
拡大/縮小等の幾何学的変換を施した幾何学的変換パタ
ーンを生成する技術が必要とされる。In order to solve this storage capacity problem, we need a technology that compresses character patterns in some form rather than storing them in full dot format, and if necessary, restores the compressed character patterns or In the compressed data of the pattern,
A technique is required to generate a geometric transformation pattern that undergoes geometric transformation such as enlargement/reduction.
又、コンピュータグラフィックス等の分野においても、
ベクトルデータで与えられた図形データを復元したり、
その幾何学的変換パターンを生成する技術が必要となる
。Also, in fields such as computer graphics,
Restore graphic data given as vector data,
A technique is required to generate the geometric transformation pattern.
特に、パターンの復元/生成技術に関しては、実時間性
が要求される。In particular, real-time performance is required for pattern restoration/generation techniques.
〔従来の技術と発明が解決しようとする問題点〕第5図
は従来のパターン復元方式を説明する図であり、本願出
願者によって先に出願しているもので、(イ)は特願昭
60−48895号公報で開示されている「パターン情
報量圧縮方式」の原理を説明する図を示し、(ロ)は特
願昭60−48896号公報で開示されている「多角形
内部領域塗潰装置」の原理を説明する図を示しており、
(イ)に示した方式で圧縮されたデータを、(ロ)で示
した塗潰方式で復元するものである。[Prior art and problems to be solved by the invention] Figure 5 is a diagram explaining the conventional pattern restoration method, which was previously filed by the applicant of the present application, and (a) is a A diagram illustrating the principle of the "pattern information amount compression method" disclosed in Japanese Patent Application No. 60-48895 is shown. A diagram explaining the principle of the device is shown.
The data compressed using the method shown in (a) is restored using the filling method shown in (b).
上記従来方式の詳細については、それぞれの明細書に開
示されているので、ここでは、その要点のみを説明する
。Details of the above-mentioned conventional systems are disclosed in their respective specifications, so only the main points thereof will be explained here.
先ず、(イ)で示した「パターン情報量圧縮方式」につ
いて説明する。First, the "pattern information amount compression method" shown in (a) will be explained.
この圧縮技術は、処理対象となるパターンの輪郭線に着
目し、パターン形状を、その輪郭線の部分形状と完全に
一致する直線の集合で表現する方法であり、該輪郭線の
追跡の際の追跡方向に順序付けられた輪郭ベクトルの集
合、即ち、直線の端点(屈曲点)の集合と、その接続関
係に圧縮表現される。This compression technology focuses on the outline of the pattern to be processed, and expresses the pattern shape as a set of straight lines that completely match the partial shape of the outline. It is compressed and expressed as a set of contour vectors ordered in the tracking direction, that is, a set of straight line end points (bent points) and their connection relationships.
具体的には、(イ)図の(a)に示すパター゛ンの輪郭
線上の一点を捉え、そこから輪郭線を8連結で追跡し、
O印で示す如き輪郭線上の点の座標列を得て、該輪郭線
の始点をS、終点をEとして、該始点Sを無条件に屈曲
点として抽出する。Specifically, (a) capture one point on the contour line of the pattern shown in (a) of the figure, trace the contour line from there by 8 connections,
Obtain a coordinate string of points on the contour line as indicated by O marks, set the start point of the contour line as S, and the end point as E, and unconditionally extract the start point S as a bending point.
次に、(b)図に示すように、点Pを終点Eから始点S
に向かって、該輪郭線上を移動させながら、該点Pと始
点Sとの間に直線(◎で示す)を発注すると共に、この
点Pから右回り方向で×印(S点)迄の輪郭線を求め、
該直線と上記求めた輪郭線との差を求めることを繰り返
し、その差が零となる点Pvを屈曲点Vとして抽出((
C)図の・で示す)する。Next, as shown in the figure (b), move the point P from the ending point E to the starting point S.
While moving on the contour line toward Find the line,
The difference between the straight line and the contour line obtained above is repeatedly determined, and the point Pv where the difference is zero is extracted as the bending point V ((
C) (indicated by * in the figure).
同様にして、上記屈曲点Vを始点として同じ動作を繰り
返して、(d)の・印で示した屈曲点を得る。Similarly, the same operation is repeated starting from the bending point V to obtain the bending point indicated by the mark (.) in (d).
この屈曲点情報で、上記パターンの輪郭線情報を表現す
るようにしたパターン情報圧縮方式である。This is a pattern information compression method that expresses the outline information of the pattern using this bending point information.
次に、(ロ)図に示した「多角形内部領域塗潰装置」を
説明する。Next, the "polygonal internal area filling device" shown in FIG.
これは、(イ)図で説明したようにして、屈曲点情報に
基づいてベクトル化されたパターンデータを基に、輪郭
線を復元しながら、その輪郭線上にパターンの、内/外
部を判別する為の点を定義した後、その判別点間を塗り
潰すことによってパターンを復元するものである。This involves (a) restoring the contour line based on the vectorized pattern data based on the bending point information as explained in the figure, and determining the inside/outside of the pattern on the contour line. After defining the points for the determination, the pattern is restored by filling in the areas between the discriminant points.
具体的には、上記屈曲点情報から復元した輪郭線を、例
えば、P1〜PI5で表すとき、■各パターンの隣接点
のY座標が異なる点を判別点とする。Specifically, when the contour lines restored from the bending point information are expressed as, for example, P1 to PI5, (2) points where adjacent points of each pattern have different Y coordinates are determined as determination points.
■又、隣接点が水平方向に連続しているとき、これを1
つのグループとし、そのグループの両端に隣接する各パ
ターンの隣接点のY座標が異なるとき、そのグループの
任意の1つ、例えば、そのX座標の最小のものを判別点
とするもので、本図の例においては、PIIPSIP?
1PISが該判別点として定義され、この間をX印の如
く塗り潰して、原パターンを復元する方式である。■Also, when adjacent points are continuous in the horizontal direction,
When the Y coordinates of the adjacent points of each pattern adjacent to both ends of the group are different, any one of the groups, for example, the one with the minimum X coordinate, is set as the discrimination point. In the example, PIIPSIP?
In this method, 1 PIS is defined as the discrimination point, and the area between these points is filled in like an X mark to restore the original pattern.
然し、この従来技術をワードプロセッサ、パソコン等に
実装したり、パターン復元/生成用高集積回路(LSI
)として実現するには、(1) パターンの復元/生
成処理が、パターン輪郭の復元/生成フェーズと、パタ
ーン内部の塗り潰しフェーズとから成り、判別点の定義
等、その処理が複雑である。However, it is difficult to implement this conventional technology in word processors, personal computers, etc., or to implement it in highly integrated circuits (LSI) for pattern restoration/generation.
), (1) The pattern restoration/generation process consists of a pattern contour restoration/generation phase and a pattern interior filling phase, and the processing including the definition of discriminant points is complicated.
(2)定義された判別点を格納する為に、該先願公報か
らも明らかなように、出力サイズに比例した多量のイメ
ージバッファを必要とする。(2) In order to store the defined discriminant points, a large amount of image buffer is required in proportion to the output size, as is clear from the earlier publication.
等の問題がある。There are other problems.
本発明は上記従来の欠点に鑑み、パターンデータの圧縮
側で、復元/生成に適した輪郭表現形式として、パター
ンの輪郭線を左輪郭線と、右輪郭線に分類し、それらを
゛対′としてベクトルで表現する形式を採用する(この
方法に基づくパターン圧縮方式として、本願出願者は、
別途「高速復元処理向きパターン圧縮方式」を出願して
いる。In view of the above-mentioned conventional drawbacks, the present invention classifies pattern contours into left contours and right contours, and pairs them as a contour expression format suitable for restoration/generation on the compression side of pattern data. (As a pattern compression method based on this method, the applicant has
A separate application has been filed for a ``pattern compression method suitable for high-speed restoration processing''.
)ことにより、復元/生成側での大幅な負荷の軽減を図
り、且つ多量のイメージバッファを必要としない、高速
のパターン復元方式を提供することを目的とするもので
ある。), the object is to provide a high-speed pattern restoration method that significantly reduces the load on the restoration/generation side and does not require a large amount of image buffer.
〔問題点を解決するための手段〕
第1図は本発明のパターン復元方式の原理ブロック図で
ある。[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the pattern restoration method of the present invention.
本発明においては、
輪郭ベクトル対で表現されたパターンの圧縮データファ
イル1から読み出された1対の輪郭)クトル列が、画像
開始輪郭ベクトル列間点発生手段2と5画像終了輪郭ベ
クトル列間点発生手段3に送出される。In the present invention, a pair of contour vectors read out from a compressed data file 1 of a pattern expressed by a pair of contour vectors is connected to a point generating means 2 between image start contour vector columns and a point between image start contour vector columns 2 and 5. It is sent to the point generating means 3.
該画像開始輪郭ベクトル列間点発生手段2においては、
該ベクトル列の内、画像開始輪郭ベクトル列、即ち、主
走査方向に対して、最初に出現する輪郭ベクトル列の各
輪郭ベクトル間に、直線発生手段を用いて、点列を発生
する。In the image starting contour vector inter-column point generation means 2,
A line generation means is used to generate a point sequence between the contour vectors of the image starting contour vector sequence, that is, the contour vector sequence that appears first in the main scanning direction among the vector sequences.
又、該画像終了輪郭ベクトル列間点発生手段3において
は、′画像終了輪郭ベクトル列、即ち、主走査方向に対
して、最後に出現する輪郭ベクトル列の各輪郭ベクトル
間に、直線発生手段を用いて、点列を発生する。In addition, the point generating means 3 between the image end contour vector rows includes a straight line generating means between each contour vector of the image end contour vector row, that is, the contour vector row that appears last in the main scanning direction. to generate a point sequence.
次の画像開始点検出手段4は、上記画像開始輪郭ベクト
ル列間点発生手段2から順次与えられた点列に基づいて
、同一走査線(X方向)上に連なる点列を検出し、主走
査方向に対して最初に出現する点を、復元画像の開始点
として決定する。The next image starting point detecting means 4 detects a series of points consecutive on the same scanning line (X direction) based on the series of points sequentially given from the image starting contour vector inter-series point generating means 2, and The point that appears first in the direction is determined as the starting point of the restored image.
又、画像終了点検出手段5は、上記画像終了輪郭ベクト
ル列間点発生手段3から順次与えられた点列に基づいて
、同一走査線(X方向)上に連なる点列を検出し、主走
査方向に対して最後に出現する点を、復元画像の終了点
として決定する。Further, the image end point detection means 5 detects a series of points consecutive on the same scanning line (X direction) based on the series of points sequentially given from the image end contour vector inter-series point generating means 3, and The last point appearing in the direction is determined as the end point of the restored image.
−走査線の塗り潰し区間データ発生手段6は、上記画像
開始点検出手段4.及び画像終了点検出手段5によって
、1つの走査線に対する画像開始点、及び画像終了点が
決定した時、その区間が画像データ領域であることを示
す塗り潰し区間データを発生する。- The scanning line filled section data generating means 6 includes the image starting point detecting means 4. When the image start point and image end point for one scanning line are determined by the image end point detecting means 5, filled section data indicating that the section is an image data area is generated.
該塗り潰し区間データに基づいて塗り潰し処理を実行し
、原パターンの復元/生成を行うように構成する。The configuration is such that the filling process is executed based on the filled section data and the original pattern is restored/generated.
即ち、本発明によれば、フルドツトの原パターンの走査
方向(X方向)に対して、最初に出現するパターンの画
像開始輪郭線をベクトル化した画像開始輪郭ベクトル列
と、最後に出現する画像終了輪郭線をベクトル化した画
像終了輪郭ベクトル列とを゛対′として表現したパター
ンの圧縮データから原パターンを復元する方式において
、上記画像開始輪郭ベクトル間と2画像終了輪郭ベクト
ル間の点を発生する毎に、Y方向の座標値の変化を検出
し、該変化があると、X方向の座標値の最大、又は最小
の座標を検出し、該X方向の最小の座標と、最大の座標
とを用いて、−走査線毎の塗り潰し区間データを生成し
、該塗り潰し区間データに基づいて塗り潰し処理を実行
することにより、−走査線毎のベクトル間に、点列を発
生して原パターンを復元するようにしたものであるので
、イメージバッファを必要とせず、塗り潰し区間を塗り
潰すだけの高速なパターン復元手段が実現できる効果が
ある。That is, according to the present invention, in the scanning direction (X direction) of the original full-dot pattern, there is an image start contour vector sequence obtained by vectorizing the image start contour of the pattern that appears first, and an image end contour that appears last. In a method of restoring the original pattern from compressed data of a pattern expressed as a pair of image end contour vectors obtained by vectorizing contour lines, points are generated between the image start contour vector and between the two image end contour vectors. For each time, a change in the coordinate value in the Y direction is detected, and when the change occurs, the maximum or minimum coordinate value in the X direction is detected, and the minimum coordinate and the maximum coordinate in the X direction are detected. - By generating filled section data for each scanning line and performing filling processing based on the filled section data, - generating a point sequence between vectors for each scanning line and restoring the original pattern. This has the effect of realizing a high-speed pattern restoration means that only fills in the filled sections without requiring an image buffer.
以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.
前述の第1図が、本発明のパターン復元方式の原理ブロ
ック図であり、第2図は本発明の原理説明図であり、第
3図は本発明の一実施例をブロック図で示した図であり
、第4図は一対の輪郭ベクトル列の例を示した図であっ
て、第1図、第3図における、画像開始輪郭ベクトル列
間点発生手段2、画像終了輪郭ベクトル列間点発生手段
3.又は画像開始輪郭ベクトル間点発生回路10.画像
終了輪郭ベクトル間点発生回路11と1画像開始点検出
手段49画像終了点検出手段5.又はY方向座標値変化
検出回路12.X方向最大/最小座標検出回路13と、
−走査線の塗り潰し区間データ発生手段6.又は−走査
線塗り潰し区間データ発生回路6が本発明を実施するの
に必要な手段である。The above-mentioned FIG. 1 is a block diagram of the principle of the pattern restoration method of the present invention, FIG. 2 is a diagram explaining the principle of the present invention, and FIG. 3 is a block diagram showing an embodiment of the present invention. FIG. 4 is a diagram showing an example of a pair of contour vector sequences, in which the image start contour vector inter-sequence point generation means 2 and image end contour vector inter-sequence point generation means 2 in FIGS. 1 and 3 are used. Means 3. Or image starting contour vector point generation circuit 10. Image end contour vector point generation circuit 11 and one image start point detection means 49 Image end point detection means 5. Or Y direction coordinate value change detection circuit 12. X-direction maximum/minimum coordinate detection circuit 13;
- Scanning line filled section data generation means 6. Alternatively, the scanning line filled section data generation circuit 6 is a necessary means for implementing the present invention.
尚、全図を通して同じ符号は同じ対象物を示している。Note that the same reference numerals indicate the same objects throughout the figures.
以下、第1図を参照しながら、第2図〜第4図によって
、本発明のパターン復元方式を説明する。Hereinafter, the pattern restoration method of the present invention will be explained with reference to FIGS. 2 to 4 while referring to FIG.
本発明においては、輪郭ベクトル対表現の形式で格納さ
れているパターンの圧縮データを用いる。In the present invention, compressed pattern data stored in the form of a contour vector pair representation is used.
(第2図(b)参照)
即ち、輪郭ベグトル対表現の形式で格納されているパタ
ーンの圧縮データを復元する際の、走査方向に対して、
最初に出現するパターンの画像開始輪郭線をベクトル化
した画像開始ベクトル列と。(See FIG. 2(b)) In other words, in the scanning direction when restoring compressed data of a pattern stored in the form of contour vector pair representation,
An image start vector sequence obtained by vectorizing the image start contour of the pattern that appears first.
最後に出現する画像終了輪郭線をベクトル化した画像終
了輪郭ベクトル列を対“として表現した上記パターンの
圧縮データに基づき、一対の輪郭ベクトル間に点列を一
点ずつ発生させながら、ラスク単位の塗り潰し区間デー
ダ(第2図(c)参照)を生成して、該区間を塗り潰す
(即ち、点列を発生する)ことにより、原パターンを復
元するようにした所に特徴がある。(第2図(d)参照
)次に、第3図の実施例によって、本発明のパターン復
元処理を詳細に説明する。Based on the compressed data of the above pattern, which is expressed as a pair of image end contour vector sequences obtained by vectorizing the image end contour line that appears last, a point sequence is generated one point at a time between a pair of contour vectors, and each rask is filled in. The feature is that the original pattern is restored by generating a section data (see Fig. 2(c)) and filling the section (that is, generating a sequence of points). (See Figure (d)) Next, the pattern restoration process of the present invention will be explained in detail using the embodiment shown in FIG.
先ず、輪郭ベクトル列間点列発生制御回路8は、圧縮デ
ータファイル1から1つのパターン表現における一対の
輪郭ベクトル列を読み出して、座標値およびフラグ保持
メモリ 9の内容を初期状態にクリアする。ここで、上
記一対の輪郭ベクトル列のベクトル本数、即ち、屈曲点
の数は、第4図(a)に示すように、必ずしも一致する
必要はない。First, the contour vector inter-sequence point sequence generation control circuit 8 reads out a pair of contour vector sequences in one pattern expression from the compressed data file 1, and clears the contents of the coordinate value and flag holding memory 9 to the initial state. Here, the number of vectors in the pair of contour vector sequences, ie, the number of bending points, do not necessarily have to match, as shown in FIG. 4(a).
特に、制御フラグCsF、CeFに関しては、今から一
対の輪郭ベクトル列を送出すると云う意味で、例えば、
該CsF、CeFを“0゛にする。In particular, regarding the control flags CsF and CeF, in the sense that a pair of contour vector sequences will be sent from now on, for example,
The CsF and CeF are set to "0".
次に、今読み出した一対の輪郭ベクトル列に基づいて、
画像開始輪郭ベクトル間点発生回路10に、主走査方向
(X方向)に対して、最初に出現する輪郭ベクトル列の
内の、一本口の輪郭ベクトルの始点と終点座標を、又、
画像終了輪郭ベクトル間点発生回路11に、主走査方向
(X方向)に対して、最後に出現する輪郭ベクトル列の
内の、一本口の輪郭ベクトルの始点と終点座標を設定す
る。Next, based on the pair of contour vector sequences just read out,
The image start contour vector interpoint generation circuit 10 is provided with the coordinates of the start point and end point of the contour vector of one of the contour vectors appearing first in the main scanning direction (X direction), and
The start point and end point coordinates of the contour vector of one end of the contour vector sequence appearing last in the main scanning direction (X direction) are set in the image end contour vector interpoint generation circuit 11.
若し、一対の輪郭ベクトル列を設定し終わり、設定すべ
き輪郭ベクトルが無くなった場合(即ち、後述するよう
に、制御フラグCsF、或いはCeFが2゛であるにも
関わらず、送出すべき輪郭ベクトルがない場合)、本座
標値およびフラグ保持メモリ9の制御フラグCsF (
画像開始輪郭ベクトル間点発生回路10に設定すべき輪
郭ベクトルがなくなった場合)、或いはCeF (画像
終了輪郭ベクトル間点発生回路11に設定すべき輪郭ベ
クトルがなくなった場合)を、例えば、°3゛ とす
る。If a pair of contour vector strings have been set and there are no more contour vectors to be set (in other words, as described later, even though the control flag CsF or CeF is 2', the contour to be sent is If there is no vector), this coordinate value and the control flag CsF of the flag holding memory 9 (
CeF (when there are no more contour vectors to be set in the image start contour vector point generation circuit 10) or CeF (when there are no more contour vectors to be set in the image end contour vector point generation circuit 11), for example.゛.
即ち、制御フラグCsF+或いはCeFが°3”である
と云うことは、一対の輪郭ベクトル列の内、それぞれ、
画像開始輪郭ベクトル間点発生回路10゜又は画像終了
輪郭ベクトル間点発生回路11に対して、画像開始輪郭
ベクトル列、或いは、画像終了輪郭ベクトル列の設定を
終えたことを意味する。In other words, if the control flag CsF+ or CeF is 3", it means that each of the pair of contour vector sequences is
This means that the setting of the image start contour vector sequence or the image end contour vector sequence has been completed for the image start contour vector inter-point generation circuit 10° or the image end contour vector inter-point generation circuit 11.
(第4図(a)参照)
制御フラグCsFに“3゛を設定した場合には、画像開
始輪郭ベクトル間点発生回路10を起動せず、制御フラ
グCeFに°3′を設定した場合には、画像終了輪郭ベ
クトル間点発生回路11を起動せずに、Y方向座標値変
化検出回路12を起動する。(See FIG. 4(a)) When the control flag CsF is set to 3, the image start contour vector interpoint generation circuit 10 is not activated, and when the control flag CeF is set to 3', , the Y-direction coordinate value change detection circuit 12 is activated without activating the image end contour vector point generation circuit 11.
又、一対の輪郭ベクトル列が、第4図(b)に示すよう
に、始点と終点が一敗した長さ °0″のベクトルの組
であれば、輪郭ベクトル列間点列発生制御回路8は、制
御フラグCsF、CeFに3”を設定し、更に、後述す
るY座標値Ysb(Yeb)に、長さ0′の画像開始輪
郭ベクトル(又は、画像終了輪郭ベクトル)の始点のY
座標値゛Y°を、最大/最小X座標値Xs、Xeに、そ
れぞれ、長さO゛の画像開始輪郭ベクトル、及び、画像
終了輪郭ベクトルの始点のX座標値IXIを設定した後
、画像開始輪郭ベクトル間点発生回路10(又は、画像
終了輪郭ベクトル間点発生回路11)を起動しないで、
Y方向座標値変化検出回路12を起動する。Further, if the pair of contour vector strings is a set of vectors with a length of 0'' with the start point and end point defeated, as shown in FIG. 4(b), the point string generation control circuit 8 between the contour vector strings sets the control flags CsF and CeF to 3", and further sets the Y coordinate value Ysb (Yeb), which will be described later, to the Y of the starting point of the image start contour vector (or image end contour vector) with length 0'.
After setting the coordinate value ゛Y° and the maximum/minimum without activating the contour vector point generation circuit 10 (or the image end contour vector point generation circuit 11).
The Y-direction coordinate value change detection circuit 12 is activated.
以下、主走査方向をX座標軸の正方向、副走査方向をY
座標軸の正方向とした場合を例にして説明する。Hereinafter, the main scanning direction is the positive direction of the X coordinate axis, and the sub-scanning direction is Y.
An example will be explained in which the positive direction of the coordinate axes is used.
画像開始輪郭ベクトル間点発生回路10.及び画像終了
輪郭ベクトル間点発生回路11は、輪郭ベクトル列間点
列発生制御回路8により、一本の輪郭ベクトルが設定さ
れると、ディジクル微分解析器(DDA)等の手段によ
って、その間の点座標を1つ宛発生していくが、その動
作を詳細に述べる前に、前述の座標値およびフラグ保持
メモリ9に保持される内容を説明する。Image starting contour vector point generation circuit 10. When one contour vector is set by the contour vector sequence point sequence generation control circuit 8, the image end contour vector inter-point generation circuit 11 generates points between them by means such as a digital differential analyzer (DDA). Coordinates are generated one by one, but before describing the operation in detail, the aforementioned coordinate values and the contents held in the flag holding memory 9 will be explained.
該座標値およびフラグ保持メモリ9には、輪郭ベクトル
列間点列発生制御回路8が、画像開始輪郭ベクトル間点
発生回路10を制御する為の制御フラグCsF 、及び
画像終了輪郭ベクトル間点発生回路11を制御する為の
制御フラグCeFと、最初に輪郭ベクトル列の一本口の
輪郭ベクトルが設定されてから、これまでに画像開始輪
郭ベクトル間点発生回路10が発生した最後の点のY座
標値(ysb)、及び、これまでに画像終了輪郭ベクト
ル間点発生回路11が発生した最後の点のY座標値(Y
eb)と、画像開始輪郭ベクトル間点発生回路10が今
発生した点のY座標値が、上記Ysbと異なったことを
示すY方向座標変化フラグ(YsF) 、及び、画像終
了輪郭ベクトル間点発生回路11が今発生した点のY座
標値が、上記Webと異なったことを示すY方向座標変
化フラグ(Yes)と、更に、画像開始輪郭ベクトル間
点発生回路10によって発生された同一走査線上に並ぶ
(同−Y座標値)の点列の最小のX座標値(Xs)、及
び画像終了輪郭ベクトル間点発生回路11によって発生
された同一走査線上に並ぶ(同−Y座標値)の点列の最
大のX座標値(Xe)とが保持される。In the coordinate value and flag holding memory 9, a contour vector inter-sequence point sequence generation control circuit 8 stores a control flag CsF for controlling the image start contour vector inter-series point generation circuit 10, and an image end contour vector inter-series point generation circuit. 11 and the Y coordinate of the last point generated by the image start contour vector interpoint generation circuit 10 since the contour vector of one end of the contour vector string was first set. value (ysb), and the Y coordinate value (Y
eb), a Y-direction coordinate change flag (YsF) indicating that the Y coordinate value of the point just generated by the image start contour vector point generation circuit 10 is different from the above Ysb, and a point generation point between image end contour vectors. The circuit 11 generates a Y-direction coordinate change flag (Yes) indicating that the Y-coordinate value of the point that has just been generated is different from the above-mentioned Web, and furthermore, a Y-direction coordinate change flag (Yes) indicating that the Y-coordinate value of the point that has just been generated is different from the above-mentioned Web. The minimum X coordinate value (Xs) of a sequence of points that line up (same - Y coordinate value) and the sequence of points that line up (same - Y coordinate value) on the same scanning line generated by the image end contour vector point generation circuit 11 The maximum X coordinate value (Xe) of
座標値およびフラグ保持メモリ9の内容の初期設定は、
輪郭ベクトル列間点列発生制御回路8が一対の輪郭ベク
トル列を圧縮データファイル1から読み出し、各輪郭ベ
クトル列の一本口の輪郭へクトルを画像開始輪郭ベクト
ル間点発生回路10゜及び画像終了輪郭ベクトル間点発
生回路11に設定する前に行う。The initial settings of the coordinate values and the contents of the flag holding memory 9 are as follows:
The contour vector inter-column point sequence generation control circuit 8 reads out a pair of contour vector sequences from the compressed data file 1, and generates the contour hector of one mouth of each contour vector sequence into the image start contour vector inter-point sequence generation circuit 10° and the image end. This is done before setting in the contour vector point generation circuit 11.
さて、画像開始輪郭ベクトル間点発生回路10は、輪郭
ベクトル列間点列発生制御回路8によって、一本の輪郭
ベクトルの始点と、終点座標が設定されて起動されると
、その始点から終点に向かう線分上の一点の座標を発生
し、Y方向座標値変化検出回路12にその座標を渡す。Now, when the image start contour vector point generation circuit 10 is started with the start point and end point coordinates of one contour vector set by the contour vector row point sequence generation control circuit 8, the image starting point contour vector point generation circuit 10 starts from the start point to the end point. It generates the coordinates of a point on the line segment toward which it is heading, and passes the coordinates to the Y-direction coordinate value change detection circuit 12.
同様に、画像終了輪郭ベクトル間点発生回路11も、一
本の輪郭ベクトルの始点と終点座標が設定されて起動さ
れると、その始点から終点に向かう線分上の一点の座標
を発生し、Y方向座標値変化検出回路12にその座標を
渡す。Similarly, when the image end contour vector point generation circuit 11 is activated after the start point and end point coordinates of one contour vector are set, it generates the coordinates of a point on a line segment from the start point to the end point, The coordinates are passed to the Y-direction coordinate value change detection circuit 12.
但し、画像開始輪郭ベクトル間点発生回路10゜画像終
了輪郭ベクトル間点発生回路11は、起動される毎に点
を発生するのではなく、後述する座標値およびフラグ保
持メモリ9のY座標値変化フラグYsF、YeFに応じ
て、点を発生するか否かを決定する。However, the image start contour vector point generation circuit 10 and the image end contour vector point generation circuit 11 do not generate points each time they are activated, but instead generate points based on changes in the Y coordinate value of the coordinate value and flag holding memory 9, which will be described later. Depending on the flags YsF and YeF, it is determined whether or not to generate a point.
即ち、画像開始輪郭ベクトル間点発生回路10は、Y座
標値変化フラグYsFが0°のとき、画像終了輪郭ベク
トル間点発生回路11は、Y座標値変化フラグYeFが
O゛のときに、点を発生するように動作する。点を発生
しない場合、(即ち、画像開始輪郭ベクトル間での点の
発生と2画像終了輪郭ベクトル間での点の発生とが、Y
方向に同期していない場合で、上記のY座標値変化フラ
グYsF、又はYeFのみが1゛となっている場合)に
は、そのことを示すコードを発生する。That is, the image start contour vector point generation circuit 10 generates a point when the Y coordinate value change flag YsF is 0°, and the image end contour vector point generation circuit 11 generates a point when the Y coordinate value change flag YeF is O゛. operate to occur. If no point is generated (i.e., the occurrence of a point between the image start contour vector and the point generation between the two image end contour vectors is Y
If the direction is not synchronized (and only the Y coordinate value change flag YsF or YeF is 1), a code indicating this is generated.
若し、今、発生した点の座標値が、前述(第4図(a)
参照)の輪郭ベクトル列間点列発生制御回路8によって
設定された終点であれば、画像開始輪郭ベクトル間点発
生回路10は制御フラグCsFを、画像終了輪郭ベクト
ル間点発生回路11は制御フラグCeFを、例えば、2
“ とする。 (第4図(a)参照)
これは、前述のように、輪郭ベクトル列間点列発生制御
回路8に、次の輪郭ベクトルの設定を要求する意味を持
つ。If the coordinate values of the point that has just occurred are as described above (Fig. 4 (a)
If the end point is set by the contour vector inter-sequence point sequence generation control circuit 8 of (see), the image start contour vector inter-sequence generation circuit 10 sets the control flag CsF, and the image end contour vector inter-sequence generation circuit 11 sets the control flag CeF. For example, 2
(See FIG. 4(a).) As described above, this has the meaning of requesting the contour vector inter-column point sequence generation control circuit 8 to set the next contour vector.
Y方向座標値変化検出回路12は、画像開始輪郭ベクト
ル間点発生回路10(或いは、画像終了輪郭ベクトル間
点発生回路11)により発生された点の座標(χ、Y)
、或いは上記のコードを受は取ると、座標値およびフラ
グ保持メモリ9の制御フラグCsF (CeF)を読み
出し、その値に応じて、以下の処理を行い、X方向最大
/最小座標値検出回路13に、上記受は取った点の座標
(X、Y)、或いはコードを渡す。The Y-direction coordinate value change detection circuit 12 detects the coordinates (χ, Y) of the point generated by the image start contour vector point generation circuit 10 (or the image end contour vector point generation circuit 11).
, or when the above code is received, the coordinate value and the control flag CsF (CeF) of the flag holding memory 9 are read out, and the following processing is performed according to the value, and the X-direction maximum/minimum coordinate value detection circuit 13 Then, the receiver passes the coordinates (X, Y) or code of the point taken.
但し、画像開始輪郭ベクトル間点発生回路10(或いは
、画像終了輪郭ベクトル間点発生回路11)が発生しな
かったことを示す上記コードを送出した場合には、何も
せず、X方向最大/最小座標値検出回路13に、そのコ
ードを渡す。However, if the image start contour vector point generation circuit 10 (or the image end contour vector point generation circuit 11) sends the above code indicating that no occurrence has occurred, nothing will be done and the X direction maximum/minimum The code is passed to the coordinate value detection circuit 13.
i)座標値およびフラグ保持メモリ9の制御フラグCs
F (CeF)の値が0゛ならば、に)無条件に、座標
値およびフラグ保持メモリ9のY座標値Ysb(Yeb
)に、上記受は取った座標値(χ、Y)の°Y゛を設定
する。i) Control flag Cs of coordinate value and flag holding memory 9
If the value of F (CeF) is 0, then the Y coordinate value Ysb (Yeb) of the coordinate value and flag holding memory 9 is unconditionally
), set the coordinate value (χ, Y) taken by the receiver as °Y゛.
ii)上記制御フラグCsF (CeF)が°1゛、或
いは“2”ならば、
■ 上記Y座標値Ysb(Yeb) (今、生成された
点の1つ前の点のY座標値)の値が、今生成された座標
°Y″と異なる場合:
呻座標値およびフラグ保持メモリ9のY座標値変化フラ
グYsF(YeF)を°1′にする。ii) If the above control flag CsF (CeF) is °1゛ or "2", ■ the value of the above Y coordinate value Ysb (Yeb) (the Y coordinate value of the point immediately before the point currently generated); is different from the coordinate °Y'' just generated: The Y coordinate value change flag YsF (YeF) in the coordinate value and flag holding memory 9 is set to °1'.
■ 上記Y座標値Ysb(Yeb)の値が、今生成され
た座標“Y゛と同じ場合:
→Y座標値変化フラグYsF (YeF)を°0°とす
る。(2) If the value of the Y coordinate value Ysb (Yeb) is the same as the just generated coordinate "Y": → Set the Y coordinate value change flag YsF (YeF) to 0°.
(第4図(a)参照)
iii )制御フラグCsF (CeF)が3′ならば
、仲前述のように、画像開始輪郭ベクトル間点発生回路
10.或いは画像終了輪郭ベクトル間点発生回路11に
設定すべき輪郭ベクトルがないので、何もしない。(第
4図(a)参照)
次に、X方向最大/最小座標値検出回路13は、Y方向
座標値変化検出回路12から、画像開始輪郭ベクトル間
点発生回路10(或いは、画像終了輪郭ベクトル間点発
生回路11)により発生された点の座標(X、Y)、或
いはコードを受は取ると、座標値およびフラグ保持メモ
リ 9の制御フラグCsF (CeF)と、Y座標値変
化フラグYsF (YeF)を読み出し、その値に応し
て、以下の動作を行い、−走査ゑ
線塗り潰し区間データ発生回路桝に、上記発生された点
の座標、或いはコードを渡す。(See FIG. 4(a)) iii) If the control flag CsF (CeF) is 3', the image starting contour vector point generation circuit 10. Alternatively, since there is no contour vector to be set in the image end contour vector interpoint generation circuit 11, nothing is done. (See FIG. 4(a)) Next, the X-direction maximum/minimum coordinate value detection circuit 13 detects the point generation circuit 10 between the image start contour vectors (or the image end contour vectors) from the Y direction coordinate value change detection circuit 12. When the coordinates (X, Y) or code of the point generated by the interpoint generating circuit 11) is received, the control flag CsF (CeF) of the coordinate value and flag holding memory 9 and the Y coordinate value change flag YsF ( YeF) is read out, the following operations are performed according to the value, and the coordinates or code of the generated point is passed to the -scanning line filling section data generation circuit box.
但し、譲渡された点の座標が、点を発生しなかったこと
を示すコードであれば、何もせず、−喜
走査線塗り潰し区間データ発生回路→にそのコードをそ
の侭送出する。However, if the coordinates of the transferred point are a code indicating that the point was not generated, nothing is done and the code is sent to the positive scanning line filled section data generation circuit→.
i)座標値およびフラグ保持メモリ9の制御フラグCs
F (CeF)の値が“0゛ならば、呻無条件に、最大
/最小X座標値Xs (Xe)に、上記点の座標゛X゛
を設定し、上記制御フラグC5F(CeF)を°1′に
する。i) Control flag Cs of coordinate value and flag holding memory 9
If the value of F (CeF) is "0", the coordinate "X" of the above point is unconditionally set to the maximum/minimum X coordinate value Xs (Xe), and the control flag C5F (CeF) is set to ° Set it to 1'.
ii)該制御フラグCsF (CeF)が“1゛、或い
は°2′ならば、
■ Y座標値変化フラグYsF (YeF)の値が°0
゜の場合:
・最大/最小X座標値Xs (Xe)の値(1つ前の点
の最大/最小X座標値)がX°より大きい(小さい)場
合:
に)最大/最小X座標値Xs (Xe)にX″を設定す
る。ii) If the control flag CsF (CeF) is "1" or °2', ■ The value of the Y coordinate value change flag YsF (YeF) is °0.
In the case of °: ・Maximum/minimum X coordinate value Xs If the value of (Xe) (maximum/minimum X coordinate value of the previous point) is larger (smaller) than Set X'' to (Xe).
・最大/最小X座標値Xs (Xe)の値が°X°より
小さい(大きい)場合:
→何もしない。・If the maximum/minimum X coordinate value Xs (Xe) is smaller (larger) than °X°: →Do nothing.
■ Y座標値変化フラグYsF (YeF)の値が1”
の場合:
→何もしない。■ The value of Y coordinate value change flag YsF (YeF) is 1”
In the case of: →Do nothing.
iii )制御フラグCsF (CeF)が°3゛なら
ば、に)点を発生すべき輪郭ベクトルは無いので、何も
しない。iii) If the control flag CsF (CeF) is 3°, then nothing is done because there is no contour vector to generate a point.
次に、−走査線塗り潰し区間データ発生回路中÷は、X
方向最大/最小座標値検出回路13から、画像開始輪郭
ベクトル間点発生回路10(或いは、画像終了輪郭ベク
トル間点発生回路11)により発生された点の座標(X
、 Y) 、或いはコードを受は取ると、座標値および
フラグ保持メモリ9の制御フラグCsF、CeF、 Y
座標値変化フラグYsF 、 YeF 、及び最大/最
小X座標値Xs、Xeを参照し、制御フラグCsF、C
eF、 Y座標値変化フラグYsF 、 YeFの値に
基づいて、以下の処理を実行する。Next, - scanning line filled section data generation circuit ÷ is
The direction maximum/minimum coordinate value detection circuit 13 determines the coordinates (X
, Y), or when the code is received, the control flags CsF, CeF, Y of the coordinate value and flag holding memory 9 are
With reference to the coordinate value change flags YsF, YeF and the maximum/minimum X coordinate values Xs, Xe, control flags CsF, C
The following processing is executed based on the values of eF, Y coordinate value change flag YsF, and YeF.
i)制御フラグCsF、CeFの、少な(とも一方が“
3″でない場合:
■ Y座標値変化フラグYsF、YeFが両方とも“1
”の場合:
呻−走査線の塗り潰し区間データとして、巨Y座標値Y
sb) lのY座標値と、塗り潰し開始点座標Xs、塗
り潰し終了点XeのX座標値を発生する。更に、
・該YsFが1゛で、画像開始輪郭ベクトル間点発生回
路10により送出された点の座標(X、Y)が、点を発
生しなかったことを示すコードでない場合:に)座標値
およびフラグ保持メモリ9の最大/最tJ)X座標値X
sに°X′を、Y座標値YsbにY°を設定する。i) The control flags CsF and CeF are low (one of them is “
If not 3": ■ Y coordinate value change flags YsF and YeF are both "1".
”: As the filled-in section data of the scanning line, the giant Y coordinate value Y
sb) Generate the Y coordinate value of l, the filling start point coordinate Xs, and the X coordinate value of the filling end point Xe. Furthermore, if the YsF is 1゛ and the coordinates (X, Y) of the point sent by the image start contour vector inter-point generation circuit 10 are not a code indicating that no point has been generated: and maximum/maximum tJ) X coordinate value of flag holding memory 9
Set °X' to s and Y° to the Y coordinate value Ysb.
・該YeFが°1′で、画像終了輪郭ベクトル間点発生
回路11により送出された点の座標(X、Y)が、点を
発生しなかったことを示すコードでない場合二呻座標値
およびフラグ保持メモリ9の最大/最小X座標値Xeに
X゛を、Y座標値Yebに“Yoを設定する。- If the YeF is °1' and the coordinates (X, Y) of the point sent by the image end contour vector point generation circuit 11 are not a code indicating that no point was generated, the coordinate value and flag are The maximum/minimum X coordinate value Xe of the holding memory 9 is set to X', and the Y coordinate value Yeb is set to "Yo".
そして、Y座標値変化フラグYsF、 YeFを“Ol
にする。(6第4図(a)参照)
この動作は、画像開始輪郭ベクトル間での点の発生と、
画像終了輪郭ベクトル間での点の発生との間で同期が採
れた場合の動作である。Then, set the Y coordinate value change flags YsF and YeF to “Ol”.
Make it. (See Figure 4(a)) This operation involves the generation of points between the image starting contour vectors,
This is an operation when synchronization is achieved between the occurrence of points between the image end contour vectors.
■ Y座標値変化フラグYsFが°1゛で、且つ画像開
始輪郭ベクトル間点発生回路10により送出された点の
座標(X、Y)が、点を発生しなかったことを示すコー
ドでない場合:
に)座標値およびフラグ保持メモリ9の最大/最小X座
標値XsにX゛を、Y座標値Ysbに°Y゛を設定する
。■ When the Y coordinate value change flag YsF is 1° and the coordinates (X, Y) of the point sent by the image start contour vector point generation circuit 10 are not codes indicating that no point has been generated: (b) The maximum/minimum X coordinate value Xs of the coordinate value and flag holding memory 9 is set to X', and the Y coordinate value Ysb is set to °Y'.
■ Y座標値変化フラグYeFが°1゛で、且つ画像終
了輪郭ベクトル間点発生回路11により送出された点の
座標(X、Y)が、点を発生しなかったことを示すコー
ドでない場合:
Q座標値およびフラグ保持メモリ9の最大/最小X座標
値Xeに°X゛を、Y座標値Yebに°Y゛を設定する
。■ When the Y coordinate value change flag YeF is 1° and the coordinates (X, Y) of the point sent by the image end contour vector interpoint generation circuit 11 are not codes indicating that no point has been generated: The maximum/minimum X coordinate value Xe of the Q coordinate value and flag holding memory 9 is set to °X', and the Y coordinate value Yeb is set to °Y'.
■ 上記以外の場合には: に)何もしない。■ In cases other than the above: ) do nothing.
ii)制御フラグCsF、CeFの両方が3″である場
合:
に)−走査線の塗り潰し区間データとして、画像開始輪
郭ベクトル間点発生回路10と1画像終了輪郭ベクトル
間点発生回路11の内、点の座標(X。ii) When both the control flags CsF and CeF are 3'': ii) - As the filling section data of the scanning line, the image start contour vector inter-point generation circuit 10 and the one-image end contour vector inter-point generation circuit 11, Coordinates of the point (X.
Y)(点を発生しなかったことを示すコードでない)を
発生した方のY座標値°Y゛と、塗り潰し開始点Xs、
塗り潰し終了点XeのX座標値を発生し、Y座標値変化
フラグYsF、YeFを“0”にする。The Y coordinate value °Y゛ of the side that generated Y) (not a code indicating that no point was generated), the filling start point Xs,
The X coordinate value of the filling end point Xe is generated, and the Y coordinate value change flags YsF and YeF are set to "0".
このようにして、−走査線の塗り潰し区間データを発生
した後、輪郭ベクトル列間点列発生制御回路8は、上述
した処理を繰り返し、一対の輪郭ヘクトル列、更には、
制御フラグCsF、CeFの両方が3°の場合に、次の
一対の輪郭ベクトル列を読み出し、上述の処理を繰り返
すことによって、1つのパターンの復元のための塗り潰
しデータを発生する。After generating the filled section data of the - scanning line in this manner, the contour vector inter-column point sequence generation control circuit 8 repeats the above-described process to generate a pair of contour vector columns, and further,
When both control flags CsF and CeF are 3 degrees, the next pair of contour vector sequences are read out and the above-described process is repeated to generate fill data for restoring one pattern.
このように、本発明は、輪郭ベクトル対表現されたパタ
ーンの圧縮データから、一対の輪郭ベクトル列間に点列
を発生しながら、ラスク単位の塗り潰し区間データを生
成するようにした所に特徴がある。As described above, the present invention is characterized in that filled interval data is generated in rask units while generating a point sequence between a pair of contour vector sequences from compressed data of a pattern expressed in pairs of contour vectors. be.
以上、詳細に説明したように、本発明のパターン復元方
式は、フルドツトの原パターンの走査方向(X方向)に
対して、最初に出現するパターンの画像開始輪郭線をベ
クトル化した画像開始輪郭ベクトル列と、最後に出現す
る画像終了輪郭線をベクトル化した画像終了輪郭ベクト
ル列とを“対゛ として表現したパターンの圧縮データ
から原パターンを復元する方式において、上記画像開始
輪郭ベクトル間と1画像終了輪郭ヘクトル間の点を発生
する毎に、Y方向の座標値の変化を検出し、該変化があ
ると、X方向の座標値の最大、又は最小の座標を検出し
、該X方向の最小の座標と、最大の座標とを用いて、−
走査線毎の塗り潰し区間データを生成し、該塗り潰し区
間データに基づいて塗り潰し処理を実行することにより
、−走査線毎のベクトル間に、点列を発生して原パター
ンを復元するようにしたものであるので、イメージバ・
7フアを必要と廿ず、塗り潰し区間を塗り潰すだけの高
速なパターン復元手段が実現できる効果がある。As described above in detail, the pattern restoration method of the present invention uses an image start contour vector obtained by vectorizing the image start contour of the pattern that first appears in the scanning direction (X direction) of the original full-dot pattern. In the method of restoring the original pattern from the compressed data of the pattern expressed as a "pair" of the image ending contour vector sequence obtained by vectorizing the image ending contour line that appears last, the original pattern is Every time a point between the end contour hectares is generated, a change in the coordinate value in the Y direction is detected, and when there is a change, the maximum or minimum coordinate value in the X direction is detected, and the minimum coordinate value in the X direction is detected. Using the coordinates of and the maximum coordinates, −
By generating filled section data for each scanning line and executing filling processing based on the filled section data, a sequence of points is generated between the vectors for each scanning line and the original pattern is restored. Therefore, the image bar
This has the effect of realizing a high-speed pattern restoring means that only fills out the filled sections without requiring 7 layers.
第1図は本発明のパターン復元方式の原理ブロック図。
第2図は本発明の原理説明図。
第3図は本発明の一実施例をブロック図で示した図。
第4図は一対の輪郭ベクトル列の例を示した図。
第5図は従莱のパターン復元方式を説明する図。
である。
図面において、
1は圧縮データファイル。
2は画像開始輪郭ベクトル列間点発生手段。
3は画像終了輪郭ベクトル列間点発生手段。
4は画像開始点検出手段。
5は画像終了点検出手段。
6は一走査線の塗り潰し区間データ発生手段、又は、回
路。
8は輪郭ベクトル列間点列発生制御回路。
9は座標値およびフラグ保持メモリ。
10は画像開始輪郭ベクトル間点発生回路。
11は画像終了輪郭ベクトル間点発生回路。
12はY方向座標値変化検出回路。
13はX方向最大/最小座標値検出回路。
をそれぞれ示す。
7す、盲ト■耳の/でクーンイ吐方さ糺のA1fυ”T
J、、、7B第 1 司
木俗叩、l)#理艶H旧4
第2 図FIG. 1 is a block diagram of the principle of the pattern restoration method of the present invention. FIG. 2 is a diagram explaining the principle of the present invention. FIG. 3 is a block diagram showing one embodiment of the present invention. FIG. 4 is a diagram showing an example of a pair of contour vector sequences. FIG. 5 is a diagram explaining Jourai's pattern restoration method. It is. In the drawing, 1 is a compressed data file. 2 is an image starting contour vector inter-column point generating means. 3 is an image end contour vector inter-column point generation means. 4 is an image starting point detection means. 5 is an image end point detection means. Reference numeral 6 denotes a filled section data generating means or circuit for one scanning line. 8 is a point sequence generation control circuit between contour vector sequences. 9 is a coordinate value and flag holding memory. 10 is a point generation circuit between image starting contour vectors; 11 is a point generation circuit between image end contour vectors; 12 is a Y-direction coordinate value change detection circuit. 13 is an X-direction maximum/minimum coordinate value detection circuit. are shown respectively. 7. Blind ■ Ear / Deflection A1fυ”T
J,,,7B No. 1 Shiki Zokukaku, l) #Riyan H old 4 Fig.
Claims (1)
現するパターンの画像開始輪郭線をベクトル化した画像
開始輪郭ベクトル列と、最後に出現する画像終了輪郭線
をベクトル化した画像終了輪郭ベクトル列とを‘対’と
して表現したパターンの圧縮データ(1)から原パター
ンを復元する方式であって、 上記画像開始輪郭ベクトル列間の点の座標を発生する画
像開始輪郭ベクトル列間点発生手段(2)と、 上記 画像終了輪郭ベクトル列間の点の座標を発生する
画像終了輪郭ベクトル列間点発生手段(3)と、 上記手段(2、3)によって発生された点の座標に基づ
いて、 復元画像の開始点を決定する画像開始点検出手段(4)
と、 復元画像の終了点を決定する画像終了点検出手段(5)
と、 該画像開始点、及び画像終了点から一走査線毎の塗り潰
し区間データを生成する一走査線の塗り潰し区間データ
発生手段(6)とを備え、 上記の手段(2、4)と、手段(3、5)によって生成
された塗り潰し区間データに基づいて点列を発生し、原
パターンを復元することを特徴とするパターン復元方式
。[Claims] In the scanning direction of the full-dot original pattern, an image start contour vector sequence is obtained by vectorizing the image start contour of the pattern that appears first, and a vectorization of the image end contour that appears last. This is a method for restoring the original pattern from the compressed data (1) of a pattern expressed as a 'pair' with the image start contour vector sequence, which generates the coordinates of a point between the image start contour vector sequence. an inter-column point generating means (2); an image-ending contour vector inter-column point generating means (3) for generating the coordinates of a point between the image-ending contour vector columns; and a point generated by the above-mentioned means (2, 3). Image starting point detection means (4) for determining the starting point of the restored image based on the coordinates of
and image end point detection means (5) for determining the end point of the restored image.
and one scanning line filled section data generating means (6) for generating filled section data for each scanning line from the image start point and the image end point, the means (2, 4) and the means A pattern restoration method characterized by generating a point sequence based on the filled section data generated by (3, 5) and restoring the original pattern.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62088503A JP2989604B2 (en) | 1987-04-10 | 1987-04-10 | Pattern restoration method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62088503A JP2989604B2 (en) | 1987-04-10 | 1987-04-10 | Pattern restoration method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63254581A true JPS63254581A (en) | 1988-10-21 |
| JP2989604B2 JP2989604B2 (en) | 1999-12-13 |
Family
ID=13944628
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62088503A Expired - Lifetime JP2989604B2 (en) | 1987-04-10 | 1987-04-10 | Pattern restoration method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2989604B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6075868A (en) * | 1983-10-03 | 1985-04-30 | 株式会社写研 | Character image data processing system |
| JPS6282476A (en) * | 1985-10-07 | 1987-04-15 | Canon Inc | Graphic processing device |
-
1987
- 1987-04-10 JP JP62088503A patent/JP2989604B2/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6075868A (en) * | 1983-10-03 | 1985-04-30 | 株式会社写研 | Character image data processing system |
| JPS6282476A (en) * | 1985-10-07 | 1987-04-15 | Canon Inc | Graphic processing device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2989604B2 (en) | 1999-12-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3238580B2 (en) | Thicker text generator | |
| US4853885A (en) | Method of compressing character or pictorial image data using curve approximation | |
| JPS63254581A (en) | Pattern restoration system | |
| JPS6282484A (en) | How to convert linear shapes | |
| JPH0519194B2 (en) | ||
| JPS62211692A (en) | Preparation system for character of varied size | |
| JP2903514B2 (en) | High-speed drawing method | |
| JP2985275B2 (en) | Character generation method of outline font | |
| JP3087414B2 (en) | Data output device | |
| JPH01270186A (en) | Character pattern thinning system | |
| JP2666090B2 (en) | Outline pattern generator | |
| JPS63127288A (en) | Pattern generator | |
| JP2575047B2 (en) | Digital image restoration device | |
| JPS62211691A (en) | Character synthesization system | |
| JP2881884B2 (en) | Document creation device | |
| JPH0810395B2 (en) | Pattern compression expression method | |
| JP2635779B2 (en) | Drawing feature extraction device | |
| JPS6376086A (en) | Pattern restoring system from contour vector | |
| JPS62212167A (en) | Synthesized character forming system | |
| JPS60117381A (en) | Method and device for extracting contour | |
| JPH08180087A (en) | Distortion correcting method for graphic | |
| JPH0321991A (en) | Pattern generating system | |
| JPH05290178A (en) | Handwritten curve display system | |
| JPH03288894A (en) | Document creation device and document creation method | |
| JPH03253983A (en) | Vector/raster converter |