JP2922014B2 - Original image pattern data playback device - Google Patents

Original image pattern data playback device

Info

Publication number
JP2922014B2
JP2922014B2 JP11457691A JP11457691A JP2922014B2 JP 2922014 B2 JP2922014 B2 JP 2922014B2 JP 11457691 A JP11457691 A JP 11457691A JP 11457691 A JP11457691 A JP 11457691A JP 2922014 B2 JP2922014 B2 JP 2922014B2
Authority
JP
Japan
Prior art keywords
coordinate
area
original image
point
image pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP11457691A
Other languages
Japanese (ja)
Other versions
JPH04342085A (en
Inventor
雅之 岡本
智博 福岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
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 VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP11457691A priority Critical patent/JP2922014B2/en
Publication of JPH04342085A publication Critical patent/JPH04342085A/en
Application granted granted Critical
Publication of JP2922014B2 publication Critical patent/JP2922014B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、原画像パターンデータ
再生装置に係り、原画像パターンの輪郭データから原画
像パターンを再生する原画像パターンデータ再生装置に
関する。近年、例えば、原画像パターンをCRT等のデ
ィスプレイに表示したり、プリンタによってプリントす
る際に、原画像パターンの輪郭点データを処理すること
によって、原画像パターンデータから復元すべき原画像
パターンを再生する原画像パターンデータ再生装置が数
多く開発されている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an original image pattern data reproducing apparatus for reproducing an original image pattern from contour data of the original image pattern. In recent years, for example, when an original image pattern is displayed on a display such as a CRT or printed by a printer, the original image pattern to be restored from the original image pattern data is reproduced by processing the contour point data of the original image pattern. Many original image pattern data reproducing apparatuses have been developed.

【0002】このような原画像パターンデータ再生装置
では、正確に、かつ、高速な処理が要求される。
In such an original image pattern data reproducing apparatus, accurate and high-speed processing is required.

【0003】[0003]

【従来の技術】従来のこの種の原画像パターンデータ再
生装置としては、例えば、図30に示すようなものがあ
る。図中、1は文字、図形等の原画像、2は原画像1を
取り込む画像入力手段であり、原画像1が、例えば、二
点鎖線領域X1 に示すようなパターン(以下、原画像パ
ターンという)1Aからなるものとすると、画像入力手
段2は原画像1を破線3で示すように走査することによ
り原画像パターン1Aに対応するアナログ画像信号を得
ることができる。
2. Description of the Related Art As a conventional original image pattern data reproducing apparatus of this type, for example, there is one as shown in FIG. In the figure, 1 is a character, the original image of the figure and the like, 2 is an image input means for capturing an original image 1, the original image 1, for example, a pattern as shown in two-dot chain line region X 1 (hereinafter, the original image pattern 1A, the image input means 2 can obtain an analog image signal corresponding to the original image pattern 1A by scanning the original image 1 as shown by a broken line 3.

【0004】4は画像入力手段2によって得られるアナ
ログ画像信号に対して、二値化処理、画像除去、画像成
形等を行う画像処理手段であり、画像処理手段4は、原
画像パターン1Aに対して、例えば、二点鎖線領域X2
に示すような原画像パターンデータ5が得られる。6は
画像処理手段4に得られる原画像パターンデータから原
画像パターンの輪郭をなす輪郭点を抽出する輪郭抽出手
段であり、輪郭抽出手段6は、原画像パターン1Aに対
して、例えば、二点鎖線領域X3 に示すような輪郭点7
を得ることができる。
[0004] Reference numeral 4 denotes image processing means for performing binarization processing, image removal, image shaping, and the like on the analog image signal obtained by the image input means 2, and the image processing means 4 performs processing on the original image pattern 1A. For example, the two-dot chain line region X 2
The original image pattern data 5 shown in FIG. Reference numeral 6 denotes a contour extracting means for extracting a contour point forming the contour of the original image pattern from the original image pattern data obtained by the image processing means 4. The contour extracting means 6 includes, for example, two points for the original image pattern 1A. contour point 7 as shown in chain line region X 3
Can be obtained.

【0005】8は輪郭抽出手段6に得られる輪郭点中、
輪郭線が屈曲する部分の輪郭点、いわゆる、屈曲点を抽
出する屈曲点抽出手段であり、屈曲点抽出手段8は、原
画像パターン1Aに対して、例えば、二点鎖線領域X4
に示すような屈曲点9を抽出することができる。10は
屈曲点抽出手段8により抽出された屈曲点データからな
る輪郭データが記憶される記憶手段である。
[0005] 8 is a contour point obtained by the contour extraction means 6,
This is a bend point extracting means for extracting a contour point of a portion where the contour is bent, that is, a so-called bend point. The bend point extracting means 8 outputs, for example, a two-dot chain line area X 4 to the original image pattern 1A.
Can be extracted as shown in FIG. Reference numeral 10 denotes storage means for storing contour data including the bending point data extracted by the bending point extracting means 8.

【0006】11は原画像パターンデータ再生装置であ
り、原画像パターンデータ再生装置11は、大別して、
輪郭データ入力手段12、輪郭復元手段13、判別点抽
出手段14、判別点設定手段15、原画像パターン復元
座標領域16、塗り潰し手段17から構成されている。
輪郭データ入力手段12は、記憶手段10に記憶されて
いる屈曲点データからなる輪郭データを入力するための
ものであり、原画像パターン1Aに対して、二点鎖線領
域X5 内に示すような屈曲点9からなる輪郭データを入
力するものである。
Reference numeral 11 denotes an original image pattern data reproducing device. The original image pattern data reproducing device 11 is roughly divided into
It comprises a contour data input means 12, a contour restoring means 13, a discriminating point extracting means 14, a discriminating point setting means 15, an original image pattern restoring coordinate area 16, and a filling means 17.
Outline data input means 12 is used to input contour data consisting of bending point data stored in the storage means 10, the original image pattern 1A, as shown in two-dot chain line area X 5 The contour data consisting of the inflection points 9 is input.

【0007】輪郭復元手段13は、輪郭データ入力手段
12により入力された輪郭データから原画像パターンの
輪郭を復元するものであり、原画像パターン1Aに対し
て、二点鎖線領域X6 内に示すような輪郭点7を復元す
るものである。判別点抽出手段14は、輪郭復元手段1
3により復元された輪郭点から塗り潰し点を決定する判
別点を抽出するものであり、この例では、走査ライン上
に連続しない1個の輪郭点がある場合、この輪郭点、及
びこの1個後の輪郭点を判別点として抽出し、また、同
一の走査ライン上に連続して存在する輪郭点がある場
合、その先頭の輪郭点、及び最後尾の輪郭点の1個後の
輪郭点を判別点として抽出するものである。すなわち、
原画像パターン1Aに対して、例えば、二点鎖線領域X
7 に示すような判別点20が得られることになる。
[0007] contour restoring means 13, which restores the contour of the original image pattern from the outline data input by the outline data input means 12, the original image pattern 1A, shown in two-dot chain line area X 6 Such a contour point 7 is restored. The discriminating point extracting means 14 includes the contour restoring means 1
In this example, when there is one discontinuous contour point on the scanning line, the discriminating point for determining the fill point is extracted from the contour point restored by step 3. Is extracted as a discrimination point, and when there is a contour point continuously existing on the same scanning line, the contour point at the head and the contour point one after the tail point at the tail are discriminated. It is extracted as a point. That is,
For example, with respect to the original image pattern 1A,
The discrimination point 20 as shown in FIG. 7 is obtained.

【0008】判別点設定手段15は、判別点抽出手段1
4によって得られた判別点を原画像パターン復元座標領
域16に設定するものである。原画像パターン復元座標
領域16は、原画像パターンを復元するための領域であ
り、RAM(Random Access Memory)等のメモリによっ
て構成されている。なお、原画像パターン復元座標領域
16が、例えば、6×6ドットの座標領域(空間)を有
しているとすると、原画像パターン1Aに対して設定さ
れる判別点20は、例えば、二点鎖線領域X8 に示すよ
うなものとなり、例えば、二点鎖線領域X7 に示す3個
の判別点20Aは設定されないことになる。
The discrimination point setting means 15 includes a discrimination point extraction means 1
4 is set in the original image pattern restoration coordinate area 16. The original image pattern restoration coordinate area 16 is an area for restoring the original image pattern, and is configured by a memory such as a RAM (Random Access Memory). If the original image pattern restoration coordinate area 16 has a coordinate area (space) of, for example, 6 × 6 dots, the discrimination points 20 set for the original image pattern 1A are, for example, two points. it is as shown in chain line region X 8, for example, three determination points 20A shown in two-dot chain line area X 7 will not be set.

【0009】塗り潰し手段17は、原画像パターン復元
座標領域16に設定された判別点に基づいて塗り潰しを
行い、原画像パターン復元座標領域16に原画像パター
ンを復元させるものであり、この例では、原画像パター
ン復元座標領域16における走査ラインに1、または複
数個の判別点がある場合、走査方向上、奇数番目の判別
点を塗り潰し開始点とし、偶数番目の判別点、またはそ
の1個手前の座標点、及び走査ラインの走査終了点を塗
り潰し終了点として塗り潰しを行うものであり、具体的
には、原画像パターン1Aに対して、例えば、二点鎖線
領域X9 に示すような塗り潰しが行われる。すなわち、
この領域に原画像パターン1Aを復元し、原画像パター
ン復元座標領域16から原画像パターンデータ5を得る
ものである。
The filling means 17 performs filling based on the discrimination points set in the original image pattern restoring coordinate area 16 and restores the original image pattern in the original image pattern restoring coordinate area 16. In this example, When there is one or a plurality of discrimination points on a scan line in the original image pattern restoration coordinate area 16, an odd-numbered discrimination point in the scanning direction is used as a filling start point, and an even-numbered discrimination point or a point immediately before the discrimination point is used. coordinate points, and is intended to perform the fill as the end point fill the scanning end point of the scanning line, specifically, the original image pattern 1A, for example, fill a line as shown in two-dot chain line area X 9 Will be That is,
The original image pattern 1A is restored in this area, and the original image pattern data 5 is obtained from the original image pattern restoration coordinate area 16.

【0010】そして、以上の処理の結果に得られる原画
像パターンデータ5は、例えば、画像メモリ21を介し
てCRT22やプリンタ23等に供給される。
The original image pattern data 5 obtained as a result of the above processing is supplied to, for example, a CRT 22 or a printer 23 via an image memory 21.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の原画像パターンデータ再生装置にあっては、
例えば、図31の二点鎖線領域X10に示す原画像パター
ン1Bに対応して、例えば、図31の二点鎖線領域X11
に示すように、原画像パターン1Bが12×12ドット
の座標領域を必要とするような原画像パターンデータ2
4が得られる場合、輪郭抽出手段6の出力には、例え
ば、二点鎖線領域X12に示すような輪郭点25が得ら
れ、同様にして屈曲点抽出手段8の出力には、例えば、
二点鎖線領域X 13に示すような屈曲点26が得られる。
However, this is not the case.
In such a conventional original image pattern data reproducing apparatus,
For example, the two-dot chain line region X in FIG.TenOriginal image putter shown
For example, corresponding to the two-dot chain line area X in FIG.11
As shown in the figure, the original image pattern 1B has 12 × 12 dots.
Original image pattern data 2 that requires a coordinate area of
4 is obtained, the output of the contour extraction means 6 includes, for example,
For example, the two-dot chain line area X12Contour point 25 as shown in
Similarly, the output of the inflection point extraction means 8 includes, for example,
Double-dot chain line area X 13Are obtained as shown in FIG.

【0012】この結果、輪郭復元手段13の出力には、
図32(A)に示すような輪郭点27が得られ、判別点
抽出手段14の出力には、図32(B)に示すような判
別点28が得られる。すなわち、図31の二点鎖線領域
14にも示すように、原画像パターン復元座標領域16
が、例えば、6×6ドットであると、図32(B)に示
す判別点28Aを除いた全ての判別点28を原画像パタ
ーン1Bの座標領域に対応させて原画像パターン復元座
標領域16に設定することができず、原画像パターン1
Bに対応した原画像パターンデータ24を再生すること
ができず、従来の原画像パターンデータ再生装置11に
おいては、原画像パターン復元座標領域に復元しようと
する原画像パターンが原画像パターン復元座標領域16
よりも大きい座標領域を必要とする場合には、原画像パ
ターンに対応した原画像パターンデータを再生すること
ができないという問題点があった。
As a result, the output of the contour restoring means 13 includes:
A contour point 27 as shown in FIG. 32A is obtained, and a discrimination point 28 as shown in FIG. That is, as shown in two-dot chain line area X 14 in FIG. 31, the original image pattern restoration coordinate area 16
For example, if the size is 6 × 6 dots, all the discrimination points 28 except the discrimination point 28A shown in FIG. 32B correspond to the coordinate area of the original image pattern 1B in the original image pattern restoration coordinate area 16. Unable to set, original image pattern 1
B cannot reproduce the original image pattern data 24 corresponding to the original image pattern restoration coordinate area in the original image pattern restoration coordinate area. 16
If a larger coordinate area is required, the original image pattern data corresponding to the original image pattern cannot be reproduced.

【0013】この場合、図32(A)に示すように、輪
郭点27が復元される座標領域29を4個の小領域30
〜33に分割し、これら小領域30〜33毎に、原画像
パターン1Bを分割して復元することが考えられるが、
従来の原画像パターンデータ再生では、正確な原画像パ
ターンデータが得られない場合があり、図31に示す原
画像パターン1Bは、まさにその代表例である。
In this case, as shown in FIG. 32A, the coordinate area 29 where the contour point 27 is restored is divided into four small areas 30.
It is considered that the original image pattern 1B is divided and restored for each of the small areas 30 to 33.
In the conventional reproduction of original image pattern data, accurate original image pattern data may not be obtained in some cases. The original image pattern 1B shown in FIG. 31 is just a typical example.

【0014】すなわち、図32(C)〜(F)は、それ
ぞれ小領域30〜33から抽出された判別点28(28
Aを除く)を小領域30〜33毎に、原画像パターン復
元座標領域16に設定した場合を示しており、同図
(G)〜(J)は、原画像パターン復元座標領域16に
おける各走査ラインに1、または複数個の判別点がある
場合、走査方向上、奇数番目の判別点を塗り潰し開始点
とし、偶数番目の判別点、またはその1個手前の座標点
及び前記走査ラインの走査終了点を塗り潰し終了点とし
て、塗り潰しを実行した場合を示し、同図(K)は、分
割して復元した原画像パターンを、画像メモリ21によ
り合成して表示した場合を示している。
That is, FIGS. 32C to 32F show the discrimination points 28 (28) extracted from the small areas 30 to 33, respectively.
(A) is set in the original image pattern restoration coordinate area 16 for each of the small areas 30 to 33, and FIGS. When there is one or a plurality of discrimination points on the line, the odd-numbered discrimination point in the scanning direction is set as the filling start point, and the even-numbered discrimination point or the coordinate point immediately before the discrimination point and the scanning of the scanning line are completed. FIG. 9K shows a case where the original image pattern that has been divided and restored is synthesized by the image memory 21 and displayed, assuming that the point is the end point of the painting.

【0015】このように、原画像パターン復元座標領域
に復元しようとする原画像パターンが原画像パターン復
元座標領域16よりも大きい座標領域を必要とする場合
において、輪郭点が復元される座標領域を分割して原画
像パターンデータを得ようとする場合、奇数番目の判別
点とこれに走査方向上隣接する偶数番目の判別点が分断
される場合があるため、原画像パターン復元座標領域1
6には、必ずしも、原画像パターンを正確に復元するこ
とができず(この場合、領域34,35の部分について
原画像パターンが復元されていない)、正確な原画像パ
ターンデータを再生することができない場合があるとい
う問題点があった。
As described above, when the original image pattern to be restored to the original image pattern restoration coordinate area requires a coordinate area larger than the original image pattern restoration coordinate area 16, the coordinate area where the contour point is restored is changed. When the original image pattern data is to be obtained by division, the odd-numbered discrimination point may be separated from the even-numbered discrimination point adjacent thereto in the scanning direction.
6, the original image pattern cannot always be accurately restored (in this case, the original image pattern is not restored for the areas 34 and 35), and accurate original image pattern data can be reproduced. There was a problem that it could not be done.

【0016】そこで、原パターン復元領域の走査方向に
対して前の領域に抽出された判別点を、復元領域の走査
開始位置に設定することにより、分割しても正確な原画
像パターンデータを再生することができるようにするこ
とが提案されている。この場合、このような直線の処理
において、例えば、昭和56,日刊工業新聞社,山口富
士夫,「コンピュータディスプレイによる図形処理工
学」,P138〜P145に示すように、領域内に直線
の全部ないし一部が存在しない場合、その直線を予め除
去し、処理を高速化する方式が知られている。
Therefore, by setting the discrimination points extracted in the previous area in the scanning direction of the original pattern restoration area as the scanning start position of the restoration area, accurate original image pattern data can be reproduced even if divided. It has been proposed to be able to. In this case, in the processing of such a straight line, for example, as shown in 1981, Nikkan Kogyo Shimbun, Fujio Yamaguchi, "Graphic Processing Engineering by Computer Display", P138 to P145, all or a part of a straight line is included in the area. There is known a method of removing the straight line in advance when there is no, thereby speeding up the processing.

【0017】しかしながら、前述の原画像パターン再生
に対して、直線除去処理を適用した場合、復元領域の走
査方向に対して前の領域に存在する線分に対しては、輪
郭の復元を忠実に行わなければならず、処理速度が低下
するという新たな問題点が生じてくる。 [目的]そこで本発明は、分割処理に対しても正確な復
元を行いつつ、復元処理の高速化を図った原画像パター
ンデータ再生装置を提供することを目的としている。
However, when the straight line removal processing is applied to the above-described reproduction of the original image pattern, the restoration of the contour is faithfully performed on the line segment existing in the area before the scanning direction of the restoration area. This has to be done, which causes a new problem that the processing speed is reduced. [Purpose] Accordingly, an object of the present invention is to provide an original image pattern data reproducing apparatus which performs high-speed restoration processing while performing accurate restoration even for division processing.

【0018】[0018]

【課題を解決するための手段】本発明による原画像パタ
ーンデータ再生装置は上記目的達成のため、外部から輪
郭データを入力する輪郭データ入力手段と、該輪郭デー
タ入力手段に入力された輪郭データを構成する各直線の
所定の第1走査方向の始点、及び終点座標値が、復元す
べき座標領域の該第1走査方向に対応する走査方向に対
してどの位置にあるかを判断する直線領域判断手段と、
該直線領域判断手段の判断結果から復元対象となる直線
の第1走査方向の座標値が復元すべき座標領域の走査方
向上における他の座標領域にある場合、該復元対象とな
る直線を該第1走査方向に対して直交する第2走査方向
の直線として座標を変更する直線座標変更手段と、該直
線座標変更手段から出力される輪郭データに基づいて輪
郭点を復元する輪郭復元手段と、該輪郭復元手段により
復元される輪郭点から、塗り潰し点を決定するための判
別点を抽出する判別点抽出手段と、原画像パターンを復
元して原画像パターンデータを得るための原画像パター
ン復元座標領域と、該原画像パターン復元座標領域に復
元すべき原画像パターンの座標領域が該原画像パターン
復元座標領域よりも広い座標領域を必要とする場合、輪
郭点データの輪郭点を復元する座標領域を該原画像パタ
ーン復元座標領域の座標領域の大きさに分割するととも
に、該分割した座標領域毎に該判別点抽出手段によって
抽出された原画像パターンを復元するための判別点が、
該分割した座標領域中に現在原画像パターンを復元すべ
き座標領域として設定された第1座標領域、あるいは現
在原画像パターンを復元すべき座標領域として設定され
た座標領域の走査方向上の前の第2座標領域、あるいは
その他の第3座標領域のいずれの領域に存在するかを判
定する領域判定手段と、該領域判定手段の判定結果に基
づいて、第1座標領域に存在する判別点は、該原画像パ
ターン復元座標領域中の対応する座標位置に判別点を設
定し、第2座標領域に存在する判別点は、該原画像パタ
ーン復元座標領域の走査開始点に判別点を排他的に設定
し、また、第3座標領域に存在する判別点は、該判別点
を判別点として設定しない判別点設定手段と、該原画像
パターン復元座標領域において、同一走査ラインに1
個、または複数個の判別点がある場合、走査方向上の奇
数番目の判別点を塗り潰し開始点、偶数番目の判別点、
もしくはその1個手前の点、及び該走査ラインの走査終
了点を塗り潰し終了点として塗り潰す塗り潰し手段とを
備えるように構成している。
In order to achieve the above object, an original image pattern data reproducing apparatus according to the present invention is provided with contour data input means for externally inputting contour data, and contour data input to the contour data input means. A straight-line area determination for determining where the coordinate values of the start point and the end point of each of the constituent straight lines in the first scanning direction are located with respect to the scanning direction corresponding to the first scanning direction in the coordinate area to be restored. Means,
When the coordinate value of the straight line to be restored in the first scanning direction is in another coordinate area in the scanning direction of the coordinate area to be restored from the determination result of the straight line area determining means, the straight line to be restored is set to the a linear coordinate changing means for changing the coordinates as straight second scanning direction orthogonal to one scan direction, and the contour restoration means for restoring a contour point based on the outline data outputted from the straight line coordinate changing means, said Discrimination point extraction means for extracting a discrimination point for determining a fill point from the contour points restored by the contour restoration means, and an original image pattern restoration coordinate area for restoring the original image pattern to obtain original image pattern data And when the coordinate area of the original image pattern to be restored in the original image pattern restoration coordinate area requires a coordinate area wider than the original image pattern restoration coordinate area, And a discrimination point for restoring the original image pattern extracted by the discrimination point extraction means for each of the divided coordinate areas. But,
The first coordinate area set as the coordinate area where the current original image pattern is to be restored in the divided coordinate area, or the previous coordinate area in the scanning direction of the coordinate area set as the coordinate area where the current original image pattern is to be restored. Area determination means for determining which of the second coordinate area or the other third coordinate area exists, and a determination point existing in the first coordinate area based on a determination result of the area determination means, A determination point is set at a corresponding coordinate position in the original image pattern restoration coordinate area, and a determination point existing exclusively in the second coordinate area is set as a scanning start point of the original image pattern restoration coordinate area. The discrimination point existing in the third coordinate area is determined by a discrimination point setting unit that does not set the discrimination point as a discrimination point, and one in the same scan line in the original image pattern restoration coordinate area.
If there are a plurality of discrimination points or a plurality of discrimination points, a start point of filling the odd-numbered discrimination points in the scanning direction, an even-number discrimination point,
Alternatively, it is configured to include a painting means for painting a point immediately before the above and a scanning end point of the scanning line as a painting end point.

【0019】なお、前記直線座標変更手段は、変更の対
象となる直線の第1走査方向の座標値を始点、もしくは
終点側のどちらか一方の座標値に変更することや、変更
の対象となる直線の第1走査方向の座標値を予め設定さ
れた座標値に変更することが好ましく、変更の対象とな
る直線の、復元領域の第2走査方向の座標値の上限値よ
りも大きい始点または終点の第2走査方向の座標値を、
前記上限値よりも大きな上限値近傍値に変更し、復元領
域の第2走査方向の座標値の下限値よりも小さい始点ま
たは終点の第2走査方向の座標値を、前記下限値よりも
小さな下限値近傍値に変更することは有効である。
[0019] Incidentally, the linear coordinate change means pair changes
And changing the first scanning direction coordinate values of the straight line as the elephants start point or on one of the coordinate values either end point, changes
It is preferable to change the first scanning direction of the coordinate values of the subject to linear a preset coordinate value, it subject to changes
From the upper limit value of the coordinate value of the straight line
The coordinate value in the second scanning direction of the start point or end point
Change to a value near the upper limit larger than the upper limit, and
Start point smaller than the lower limit of the coordinate value of the area in the second scanning direction.
Or the coordinate value of the end point in the second scanning direction is smaller than the lower limit value.
It is effective to change to a small value near the lower limit .

【0020】そして、前記輪郭復元手段は、デジタル微
分解析器(以下、DDAという)で構成することが好ま
しい。
Preferably, the contour restoring means comprises a digital differential analyzer (hereinafter referred to as DDA).

【0021】[0021]

【作用】本発明では、原画像パターン復元座標領域に復
元すべき原画像パターンの座標領域が原画像パターン復
元座標領域よりも広い座標領域を必要とする場合、輪郭
点データの輪郭点を復元する座標領域を原画像パターン
復元座標領域の座標領域の大きさに分割するとともに、
分割した座標領域毎に判別点抽出手段によって抽出され
た原画像パターンを復元するための判別点が、領域判定
手段により分割した座標領域中に現在原画像パターンを
復元すべき座標領域として設定された第1座標領域、あ
るいは現在原画像パターンを復元すべき座標領域として
設定された座標領域の走査方向上の前の第2座標領域、
あるいはその他の第3座標領域のいずれの領域に存在す
るかが判定され、領域判定手段の判定結果に基づいて、
第1座標領域に存在する判別点は、判別点設定手段によ
り原画像パターン復元座標領域中の対応する座標位置に
判別点が設定され、第2座標領域に存在する判別点は
原画像パターン復元座標領域の走査開始点に判別点が排
他的に設定され、また、第3座標領域に存在する判別点
、判別点が判別点として設定されないため、原画像パ
ターン復元座標領域に復元すべき原画像パターンが必要
とする座標領域が、原画像パターン復元座標領域よりも
広い場合であっても、正確な原画像パターンデータが再
生される。
According to the present invention, when the coordinate area of the original image pattern to be restored to the original image pattern restoration coordinate area requires a coordinate area wider than the original image pattern restoration coordinate area, the contour points of the contour point data are restored. While dividing the coordinate area into the size of the coordinate area of the original image pattern restoration coordinate area,
The discrimination point for restoring the original image pattern extracted by the discrimination point extraction means for each divided coordinate area is set as the coordinate area where the current original image pattern should be restored in the divided coordinate area by the area judgment means. A first coordinate area, or a second coordinate area preceding the coordinate area set as the coordinate area where the current original image pattern is to be restored in the scanning direction;
Alternatively, it is determined which of the other third coordinate areas is present, and based on the determination result of the area determining means ,
The discrimination point existing in the first coordinate area is set at a corresponding coordinate position in the original image pattern restoration coordinate area by the discrimination point setting means, and the discrimination point existing in the second coordinate area is
The discrimination point is set exclusively at the scanning start point of the original image pattern restoration coordinate area, and the discrimination point existing in the third coordinate area
Since the discrimination point is not set as the discrimination point, even if the coordinate area required by the original image pattern to be restored in the original image pattern restoration coordinate area is wider than the original image pattern restoration coordinate area, accurate The original image pattern data is reproduced.

【0022】また、直線領域判断手段により輪郭データ
を構成する各直線の所定の第1走査方向の始点、及び終
点座標値が、復元すべき座標領域の第1走査方向に対応
する走査方向に対してどの位置にあるかが判断され、復
元対象となる直線の第1走査方向の座標値が復元すべき
座標領域の走査方向上における他の座標領域にあると判
断された場合、直線座標変更手段により復元対象となる
直線を第1走査方向に対して直交する第2走査方向の直
線として座標が変更されるため、領域外の不要な直線が
除去されることによる処理の高速化が図られる。
Further, the starting and ending coordinate values of each of the straight lines constituting the contour data in the first scanning direction are determined by the straight line area determining means with respect to the scanning direction corresponding to the first scanning direction of the coordinate area to be restored. When it is determined that the position of the straight line to be restored is located in another coordinate area in the scanning direction of the coordinate area to be restored, the linear coordinate changing means is determined. The coordinates are changed as a straight line to be restored as a straight line in the second scanning direction orthogonal to the first scanning direction, so that unnecessary straight lines outside the area are removed, thereby increasing the processing speed.

【0023】すなわち、分割処理に対しても正確な復元
が行われ、復元処理の高速化が図られる。
That is, accurate restoration is performed even for the division process, and the speed of the restoration process is increased.

【0024】[0024]

【実施例】以下、本発明を図面に基づいて説明する。図
1は本発明に係る原画像パターンデータ再生装置の一実
施例を示す図であり、本実施例の要部構成を示すブロッ
ク図である。まず、構成を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an embodiment of an original image pattern data reproducing apparatus according to the present invention, and is a block diagram showing a main configuration of the present embodiment. First, the configuration will be described.

【0025】なお、図1において、図30に示した従来
例に付された番号と同一番号は同一部分を示す。本実施
例の原画像パターンデータ再生装置は、大別して、輪郭
データ入力手段12、直線領域判断手段36、直線座標
変更手段37、輪郭復元手段13、判別点抽出手段1
4、判別点設定手段15、領域判定手段38、原画像パ
ターン復元座標領域16、塗り潰し手段17から構成さ
れている。なお、原画像パターン復元座標領域16は、
図2に示すように、所定領域内に設定された復元領域
(第1座標領域)であり、復元領域の走査方向上の前の
領域(第2座標領域)は、図中、斜線部分である。
In FIG. 1, the same numbers as those of the conventional example shown in FIG. 30 indicate the same parts. The original image pattern data reproducing apparatus according to the present embodiment is roughly divided into a contour data input unit 12, a straight line area judging unit 36, a straight line coordinate changing unit 37, a contour restoring unit 13, and a discrimination point extracting unit 1.
4, the discriminating point setting means 15, the area determining means 38, the original image pattern restoring coordinate area 16, and the filling means 17. The original image pattern restoration coordinate area 16 is
As shown in FIG. 2, a restoration area (first coordinate area) set in a predetermined area, and a preceding area (second coordinate area) in the scanning direction of the restoration area is a hatched portion in the figure. .

【0026】直線領域判断手段36は、輪郭データ入力
手段12に入力された輪郭データを構成する各直線の所
定の第1走査方向であるX方向の始点、及び終点座標値
が、復元すべき座標領域のX方向に対応する走査方向に
対してどの位置にあるかを判断するものであり、直線座
標変更手段37は、直線領域判断手段36の判断結果か
ら復元対象となる直線のX方向の座標値が復元すべき座
標領域の走査方向上における他の座標領域にある場合、
復元対象となる直線をX方向に対して直交する第2走査
方向であるY方向の直線として座標を変更するものであ
る。
The straight line area judging means 36 calculates the coordinates of the starting point and the ending point in the X direction, which is the predetermined first scanning direction, of each straight line constituting the contour data input to the contour data inputting means 12 into the coordinates to be restored. The linear coordinate changing unit 37 determines the position in the scanning direction corresponding to the X direction of the region. If the value is in another coordinate area in the scanning direction of the coordinate area to be restored,
The coordinates of the straight line to be restored are changed as a straight line in the Y direction which is a second scanning direction orthogonal to the X direction.

【0027】領域判定手段38は、原画像パターン復元
座標領域16に復元すべき原画像パターンの座標領域が
原画像パターン復元座標領域16よりも広い座標領域を
必要とする場合、輪郭点データの輪郭点を復元する座標
領域を原画像パターン復元座標領域16の座標領域の大
きさに分割するとともに、分割した座標領域毎に判別点
抽出手段14によって抽出された原画像パターンを復元
するための判別点が、分割した座標領域中に現在原画像
パターンを復元すべき座標領域として設定された第1座
標領域、あるいは現在原画像パターンを復元すべき座標
領域として設定された座標領域の走査方向上の前の第2
座標領域、あるいはその他の第3座標領域のいずれの領
域に存在するかを判定するものである。
If the coordinate area of the original image pattern to be restored in the original image pattern restoration coordinate area 16 needs a larger coordinate area than the original image pattern restoration coordinate area 16, the area determination means 38 A discrimination point for restoring the original image pattern extracted by the discrimination point extraction means 14 for each of the divided coordinate areas while dividing the coordinate area for restoring the point into the size of the coordinate area of the original image pattern restoration coordinate area 16. Is the first coordinate area set as the coordinate area in which the current original image pattern is to be restored in the divided coordinate area, or the first coordinate area in the scanning direction of the coordinate area set as the coordinate area in which the current original image pattern is to be restored. Second
It is to determine which of the coordinate area and the other third coordinate area exists.

【0028】次に作用を説明する。まず、原画像パター
ン復元座標領域に復元すべき原画像パターンの座標領域
が原画像パターン復元座標領域よりも広い座標領域を必
要とする場合の処理について、図3〜図7に基づいて説
明する。まず、図3(A)に示すように、小領域30が
原画像パターンを復元する領域として設定された場合、
判別点抽出手段14により抽出された判別点28中、小
領域30に属する判別点P00〜P05、P12〜P14は、そ
のまま原画像パターン復元座標領域16の対応する座標
に判別点として設定される。
Next, the operation will be described. First, a process in the case where the coordinate area of the original image pattern to be restored in the original image pattern restoration coordinate area requires a coordinate area wider than the original image pattern restoration coordinate area will be described with reference to FIGS. First, as shown in FIG. 3A, when the small area 30 is set as an area for restoring the original image pattern,
Among determination points 28 extracted by the discrimination point extracting means 14, determines the point P 00 to P 05 belonging to the small region 30, P 12 to P 14 is directly as a discrimination point in the corresponding coordinates of the original image pattern restoration coordinate area 16 Is set.

【0029】また、小領域31〜33は、走査方向上、
小領域30の前にある領域ではないので、これら小領域
31〜33に属する判別点P06〜P11、P15〜P35は、
判別点として設定されない。この結果、原画像パターン
復元座標領域16には図3(B)に示すような判別点が
設定され、図3(C)に示すような塗り潰しが行われ
る。
The small areas 31 to 33 are arranged in the scanning direction.
Is not a region in front of the small regions 30, determination points belonging to these small regions 31~33 P 06 ~P 11, P 15 ~P 35 is
Not set as a discrimination point. As a result, the discrimination points as shown in FIG. 3B are set in the original image pattern restoration coordinate area 16, and the filling as shown in FIG. 3C is performed.

【0030】次に、図4(D)に示すように、小領域3
1が原画像パターンを復元する領域として設定された場
合、小領域30は、走査方向上、小領域31の前領域で
あり、小領域31の各走査ラインの走査開始点には判別
点がない。この結果、原画像パターン復元座標領域16
の第1〜第3の走査ラインの走査開始点には判別点P00
〜P02に基づく判別点が設定されることになる。
Next, as shown in FIG.
When 1 is set as the area for restoring the original image pattern, the small area 30 is the area before the small area 31 in the scanning direction, and there is no discrimination point at the scanning start point of each scan line in the small area 31. . As a result, the original image pattern restoration coordinate area 16
First to determine points on the scanning start point of the third scan line P of 00
So that the determination point based on to P 02 are set.

【0031】また、第4の走査ラインの走査開始点には
判別点P03に基づく判別点が設定されるが、この判別点
は、判別点P12によって除去され、同様に、第5,6の
走査ラインの走査開始点にも判別点P04、P05に基づく
判別点が設定されるが、これら判別点は、判別点P13
14によって除去される。また、小領域31に属する判
別点P18〜P20は、そのまま原画像パターン復元座標領
域16の対応する座標に判別点として設定され、小領域
32、33は走査方向上、小領域31の前領域ではない
ので、これら小領域32、33に属する判別点P06〜P
11、P15〜P17、P21〜P35は、判別点として設定され
ることはない。
Further, although determination points based on the determination point P 03 to the scanning start point of the fourth scan line is set, the determination point is removed by determination point P 12, Likewise, the 5,6 The determination points based on the determination points P 04 and P 05 are also set at the scanning start point of the scan line of, but these determination points are the determination points P 13 and P 13 .
It is removed by P 14. The determination points P 18 to P 20 belonging to the small area 31 are set as the determination points at the coordinates corresponding to the original image pattern restoration coordinate area 16 as they are, and the small areas 32 and 33 are located in front of the small area 31 in the scanning direction. Since it is not an area, the discrimination points P 06 -P belonging to these small areas 32 and 33
11, P 15 ~P 17, P 21 ~P 35 is not to be set as a discrimination point.

【0032】この結果、原画像パターン復元座標領域1
6には図4(E)に示すような判別点が設定され、図4
(F)に示すような塗り潰しが行われる。次に、図5
(G)に示すように、小領域32が原画像パターンを復
元する領域として設定された場合、小領域32に属する
判別点P06〜P11、P15〜P17はそのまま原画像パター
ン復元座標領域16の対応する座標に判別点として設定
される。なお、小領域30、31、33は、走査方向
上、小領域32の前領域ではないので、P00〜P05、P
12〜P14、P18〜P35は、判別点として設定されること
はない。
As a result, the original image pattern restoration coordinate area 1
In FIG. 6, discrimination points as shown in FIG.
Filling is performed as shown in FIG. Next, FIG.
As shown in (G), when the small area 32 is set as an area for restoring the original image pattern, the discrimination points P 06 to P 11 and P 15 to P 17 belonging to the small area 32 are used as the original image pattern restoration coordinates. The discrimination point is set to the corresponding coordinates of the area 16. Incidentally, the small regions 30,31,33 are scanning direction improvement, because it is not a front region of the small region 32, P 00 ~P 05, P
12 ~P 14, P 18 ~P 35 is not to be set as a discrimination point.

【0033】この結果、原画像パターン復元座標領域1
6には図5(H)に示すような判定点が設定され、図5
(I)に示すような塗り潰しが行われることになる。次
に、図6(J)に示すように、小領域33が原画像パタ
ーンを復元する領域として設定された場合、小領域32
は、走査方向上、小領域33の前領域であり、小領域3
3の各走査ラインの走査開始点には判別点がない。
As a result, the original image pattern restoration coordinate area 1
In FIG. 6, determination points as shown in FIG.
The filling as shown in (I) is performed. Next, as shown in FIG. 6J, when the small area 33 is set as an area for restoring the original image pattern,
Is the area before the small area 33 in the scanning direction, and the small area 3
There is no discrimination point at the scanning start point of each scanning line of No. 3.

【0034】この結果、原画像パターン復元座標領域1
6の第1の走査ラインの走査開始点には判別点P06に基
づく判別点が設定されるが、この判別点は、判別点P15
によって除去され、同様に、第2、第3の走査ラインの
走査開始点にも判別点P07、P08に基づく判別点が設定
されるが、これら判別点は、判別点P16、P17によって
除去される。
As a result, the original image pattern restoration coordinate area 1
Although the scanning start point of the 6 first scan line of the determination points based on the determination point P 06 is set, the determination point is determined point P 15
Similarly, the discrimination points based on the discrimination points P 07 and P 08 are also set at the scanning start points of the second and third scanning lines, but these discrimination points are the discrimination points P 16 and P 17 Removed by

【0035】他方、第4〜第6の走査ラインの走査開始
点には判別点P09〜P11に基づく判別点が設定されるこ
とになる。また、小領域33に属する判別点P21〜P23
は、そのまま原画像パターン復元座標領域16中、対応
する座標に判別点として設定され、小領域30、31は
走査方向上、小領域33の前領域ではないので、これら
小領域30、31に属する判別点P00〜P05、P12〜P
14、P18〜P20、P24〜P35は、判別点として設定され
ることはない。
On the other hand, as the scanning start points of the fourth to sixth scanning lines, the discrimination points based on the discrimination points P 09 to P 11 are set. Further, the discrimination points P 21 to P 23 belonging to the small area 33
Is set as a discrimination point at the corresponding coordinate in the original image pattern restoration coordinate area 16 as it is, and since the small areas 30 and 31 are not the areas before the small area 33 in the scanning direction, they belong to these small areas 30 and 31. discrimination point P 00 ~P 05, P 12 ~P
14, P 18 ~P 20, P 24 ~P 35 is not to be set as a discrimination point.

【0036】この結果、原画像パターン復元座標領域1
6には図6(K)に示すような判別点が設定され、図6
(L)に示すような塗り潰しが行われることになる。し
たがって、本実施例においては、図3(C)、図4
(F)、図5(I)、図6(L)に示すようにして得ら
れた原画像パターンに対応する部分的な原画像パターン
データを画像メモリ21に供給して合成することによ
り、図7(M)に示すように、原画像パターン1Bを復
元することができる。
As a result, the original image pattern restoration coordinate area 1
In FIG. 6, determination points as shown in FIG.
The filling as shown in (L) is performed. Therefore, in the present embodiment, FIGS.
(F), the partial original image pattern data corresponding to the original image pattern obtained as shown in FIGS. 5 (I) and 6 (L) is supplied to the image memory 21 to be synthesized. As shown in FIG. 7 (M), the original image pattern 1B can be restored.

【0037】次に処理の高速化のための処理について説
明する。一般に、輪郭の復元にはDDAが用いられる
が、図8に示すように、DDAでは2つの直交する座標
軸、すなわち、X方向とY方向との始点座標、及び終点
座標のそれぞれ差分を求め、これら2つの差分のうち絶
対値の大きな方の長軸(以下、長軸の反対側を短軸とい
う)の値により、実際の処理時間が決定されるものであ
る。
Next, processing for speeding up the processing will be described. In general, DDA is used for restoring the contour. As shown in FIG. 8, the DDA obtains a difference between two orthogonal coordinate axes, that is, a start point coordinate and an end point coordinate in the X and Y directions, respectively. The actual processing time is determined by the value of the major axis having the larger absolute value of the two differences (hereinafter, the opposite side of the major axis is referred to as the minor axis).

【0038】ちなみに、従来の原画像パターン再生は、
復元領域の走査方向に対して前の領域に存在する線分で
は、輪郭を復元して抽出された判別点を復元領域の走査
開始座標に設定するため、最終的に必要な情報は復元領
域の前に存在する直線のX方向に対して直交するY方向
の画素数となる。例えば、図9に示すようなPs
(Psx,Psy)−Pe(Pex,Pey)の直線を考える
と、直線Ps−Peを復元したときに抽出される判別点
はP10,P11,P12,P13となり、判別点P1
0,P11,P12,P13は、P30,P31,P3
2,P33に排他的に設定される。
By the way, the conventional original image pattern reproduction is as follows.
In the line segment existing in the previous area in the scanning direction of the restoration area, the discrimination point extracted by restoring the contour is set as the scanning start coordinate of the restoration area. This is the number of pixels in the Y direction orthogonal to the X direction of the straight line existing before. For example, Ps as shown in FIG.
(P sx, P sy) -Pe (P ex, P ey) Given a linear, the determination points are extracted when restoring the linear Ps-Pe P10, P11, P12 , P13 , and the discrimination point P1
0, P11, P12, P13 are P30, P31, P3
2 and P33 are set exclusively.

【0039】また、P20−P23の直線を考えると、
P20,P21,P22,P23が判別点として抽出さ
れるが、これらの判別点P20,P21,P22,P2
3も、それぞれP30,P31,P32,P33に排他
的に設定される。すなわち、2つの直線Ps−Pe、及
びP20−P23は、原パターン復元を考えた場合、同
等の処理結果が得られ、この場合、2つの直線に対する
処理時間を考えると、直線Ps−Peでは、長軸はX方
向となり、X方向の画素数=12が処理時間となり、一
方、直線P20−P23では、長軸はY方向となり、X
方向と直交する方向の画素数=4が処理時間となる。
Considering the straight line P20-P23,
P20, P21, P22, and P23 are extracted as discrimination points, and these discrimination points P20, P21, P22, and P2 are extracted.
3 is also set exclusively to P30, P31, P32, and P33, respectively. That is, the two straight lines Ps-Pe and P20-P23 provide the same processing result when the original pattern is restored. In this case, considering the processing time for the two straight lines, the straight line Ps-Pe The major axis is in the X direction, and the number of pixels in the X direction = 12 is the processing time. On the other hand, in the straight line P20-P23, the major axis is in the Y direction,
The number of pixels in the direction orthogonal to the direction = 4 is the processing time.

【0040】つまり、同等の処理結果を得られるもので
あっても、直線の始点、及び終点位置によって処理時間
が大きく異なる場合があり、この場合、直線P20−P
23の処理時間が最小であることは明らかである。この
ことは、直線Ps(Psx,Psy)−Pe(Pex,Pey
において、Y方向の始点座標値Psy、及び終点座標値P
ey間の直線を処理することが、処理時間を最小とする上
で重要であり、X方向の始点座標値Psx、及び終点座標
値Pex間の差は処理結果上、相違が無いことを意味す
る。
That is, even if an equivalent processing result can be obtained, the processing time may vary greatly depending on the start point and end point positions of the straight line. In this case, the straight line P20-P
Obviously, the processing time of 23 is minimal. This straight line Ps (P sx, P sy) -Pe (P ex, P ey)
, The start point coordinate value P sy and the end point coordinate value P in the Y direction
It is important to process the straight line between ey and to minimize the processing time, and the difference between the start point coordinate value P sx and the end point coordinate value P ex in the X direction has no difference in the processing result. means.

【0041】したがって、X方向の始点座標値Psxと終
点座標値Pexとの座標差分が零(Psx=Pex)となるよ
うに変更され、Y方向の始点座標値Psyと終点座標値P
eyとの座標差分が常に長軸となるように処理すること
で、最小の処理時間が得られる。また、復元領域の走査
方向対して前の領域(以下、前領域という)に抽出さ
れた判別点は、復元領域の走査方向の始点に排他的に設
定されるため、復元領域のY方向の上限値と下限値との
間に存在する部分のみが有効となる。
Therefore, the coordinate difference between the start point coordinate value P sx and the end point coordinate value P ex in the X direction is changed to zero (P sx = P ex ), and the start point coordinate value P sy and the end point coordinate in the Y direction are changed. Value P
By processing so that the coordinate difference from ey always becomes the long axis, the minimum processing time can be obtained. The front region against the scanning direction of the recovery area (hereinafter, before that region) extracted discriminated point, the order to be set exclusively to the start of the scanning direction of the recovery area, the restoration area of the Y-direction Only the part existing between the upper limit and the lower limit is valid.

【0042】すなわち、図10に示すように、P41−
P52の直線を考えると、P41−P52が判別点とし
て抽出されるが、復元領域の上限値と下限値との間の判
別点はP43−P50であり、判別点P43−P50が
復元領域にP60−P67として設定される。つまり、
判別点P41,P42,P51,P52は、原パターン
の復元に関しては、意味を持たないこととなる。
That is, as shown in FIG.
Considering the straight line of P52, P41-P52 is extracted as a discrimination point, but the discrimination point between the upper limit value and the lower limit value of the restoration area is P43-P50, and the discrimination point P43-P50 is set to P60 in the restoration area. -Set as P67. That is,
The discrimination points P41, P42, P51, and P52 have no meaning with respect to the restoration of the original pattern.

【0043】したがって、図10に示すような直線P4
1−P52を処理する場合、P41の代わりにP43
(もしくはP42)を、また、P52の代わりにP50
(もしくはP51)を用いることにより、前述のDDA
の処理時間で説明したように、長軸の長さが短くされて
処理時間が短縮される。以下、図11,12に示す具体
例に基づいて動作を説明する。
Therefore, a straight line P4 as shown in FIG.
1- When processing P52, P43 instead of P41
(Or P42) and P50 instead of P52
(Or P51), the aforementioned DDA
As described in the processing time, the length of the major axis is shortened, and the processing time is shortened. Hereinafter, the operation will be described based on specific examples shown in FIGS.

【0044】図11(a)は原パターンを示す図であ
り、図11(b)は同図(a)の原パターンから抽出さ
れた輪郭パターンを示す図である。図12(a)は図1
1(b)に基づいて得られる輪郭データを示す図であ
り、図12(b)は同図(a)の輪郭データから得られ
る輪郭を構成する直線列を示す図である。
FIG. 11A is a diagram showing an original pattern, and FIG. 11B is a diagram showing a contour pattern extracted from the original pattern of FIG. FIG. 12A shows FIG.
FIG. 12B is a diagram illustrating contour data obtained based on 1 (b), and FIG. 12B is a diagram illustrating a straight line sequence forming a contour obtained from the contour data of FIG.

【0045】まず、図11(a)に示すような原パター
ンから同図(b)に示すような輪郭パターンが生成さ
れ、輪郭パターンから図12(a)に示すような輪郭デ
ータが抽出されて輪郭データ入力手段12に入力され
る。ちなみに、この場合、輪郭データ入力手段12に入
力される輪郭データは、図12(b)に示すように、直
線1〜直線6の6つの直線で構成される。
First, a contour pattern as shown in FIG. 11B is generated from an original pattern as shown in FIG. 11A, and contour data as shown in FIG. 12A is extracted from the contour pattern. It is input to the contour data input means 12. Incidentally, in this case, the contour data inputted to the contour data input means 12 is composed of six straight lines 1 to 6 as shown in FIG.

【0046】本実施例では、図11に示す原パターンを
6×6画素の復元領域を用いて再生することを考える。
図13は領域分割の例を示す図であり、原パターンが領
域1から領域8の8つの領域に分割されて再生されるも
のとし、図11(a)に示した原パターンが原画像パタ
ーン再生装置で処理されたものとする。
In this embodiment, it is considered that the original pattern shown in FIG. 11 is reproduced using a restoration area of 6 × 6 pixels.
FIG. 13 is a diagram showing an example of area division. It is assumed that the original pattern is divided into eight areas from area 1 to area 8 and reproduced. The original pattern shown in FIG. Assume that it has been processed by the device.

【0047】このとき、直線領域判断手段37において
は、一般的な手法としての領域外線分を除去する手段を
用いて、復元領域に影響を与えない直線が取り除かれる
処理が行われるが、前領域については領域外の線分を除
去することはしない。また、図14〜図29に示す各領
域の説明において、(a)は復元領域内に存在する輪郭
線、(b)は輪郭線より抽出された判別点、(c)は復
元領域内に設定された判別点、(d)は塗り潰し処理さ
れた結果をそれぞれ示し、図中、横方向をX方向、縦方
向をY方向として説明する。
At this time, in the straight line area judging means 37, a process for removing a straight line which does not affect the restored area is performed by using a means for removing a line segment outside the area as a general method. Does not remove the line segment outside the region. In the description of each area shown in FIGS. 14 to 29, (a) is a contour line existing in the restoration area, (b) is a determination point extracted from the contour line, and (c) is set in the restoration area. The determined discrimination points and (d) show the results of the filling process, respectively. In the drawing, the horizontal direction is the X direction and the vertical direction is the Y direction.

【0048】[領域1の処理]図14,15に示すよう
に、領域1に関しては、直線領域判断手段36において
直線3以外の直線は、領域1を通過する可能性がないた
め除去される。直線3に関しては、その始点座標と終点
座標と共に領域1の前領域には存在しないため、直線座
標変更手段37では処理されずに、輪郭復元手段13に
入力され、判別点抽出手段14以降で処理が行われる。
[Process of Region 1] As shown in FIGS. 14 and 15, straight lines other than the straight line 3 are removed by the straight line region judging means 36 because there is no possibility of passing through the region 1. Since the straight line 3 does not exist in the area before the area 1 together with its start point coordinates and end point coordinates, it is not processed by the linear coordinate changing means 37 but is input to the contour restoring means 13 and processed by the discrimination point extracting means 14 and thereafter. Is performed.

【0049】しかし、輪郭復元手段13により復元され
た輪郭は領域1に存在しないため、判別点抽出手段14
により抽出された判別点は、領域判定手段38により除
去される。すなわち、最終的に塗り潰し手段17により
塗り潰しが行われても、判別点が設定されていないため
に復元される画素はない。
However, since the contour restored by the contour restoring means 13 does not exist in the area 1, the discrimination point extracting means 14
The determination points extracted by are removed by the area determination means 38. That is, even if the filling is finally performed by the filling means 17, no pixel is restored because the determination point is not set.

【0050】[領域2の処理]図16,17に示すよう
に、領域2に関しては、直線領域判別手段36におい
て、直線1〜直線3以外は除去される。直線1〜直線3
に関しては、領域2の前領域には存在する直線ではない
ため、直線座標変更手段37では処理されずに、輪郭復
元手段13に入力され、判別点抽出手段14以降で処理
が行われる。
[Process of Region 2] As shown in FIGS. 16 and 17, the straight line region discriminating means 36 removes regions other than the straight lines 1 to 3 for the region 2. Straight line 1 to straight line 3
Is not a straight line existing in the area before the area 2 and is not processed by the linear coordinate changing means 37 but is input to the contour restoring means 13 and is processed by the discrimination point extracting means 14 and thereafter.

【0051】結果として、図17(a),(b),
(d)に示すように、領域2内のパターンが復元され
る。 [領域3の処理]図18,19に示すように、領域3に
関しては、直線領域判断手段36において、直線1〜直
線3以外は除去される。
As a result, FIGS. 17 (a), (b),
As shown in (d), the pattern in the area 2 is restored. [Processing of Region 3] As shown in FIGS. 18 and 19, the straight line region judging means 36 removes regions other than the straight lines 1 to 3 for the region 3.

【0052】直線1、及び直線2に関しては、領域3の
前領域には存在する直線ではないため、直線座標変更手
段37では処理されずに、輪郭復元手段13に入力さ
れ、判別点抽出手段14以降で処理が行われる。直線3
に関しては、領域3の前領域に存在する直線であるた
め、直線座標変更手段37により、次の処理が行われ
る。
Since the straight lines 1 and 2 are not straight lines existing in the area before the area 3, they are not processed by the straight line coordinate changing means 37 but are inputted to the contour restoring means 13, and the discrimination point extracting means 14 The processing is performed thereafter. Straight line 3
Is a straight line existing in the area before the area 3, the following processing is performed by the linear coordinate changing means 37.

【0053】すなわち、直線3の始点座標P1、及び
座標P2のX方向の座標値を同じにするため、本実施
例では、終点座標P2のX方向の座標値を、始点座標P
1のX方向の座標値と同じにしており、終点座標P2
は、P3に変更される。さらに、P1−P3の直線で
は、P3のY方向の座標値が復元領域(領域3)のY方
向の下限値よりも小さな値であるため、P3のY方向の
座標値をY方向の下限値の近傍値(本例では、下限値)
に変更しており、終点座標P3は、P4に変更される。
That is, the start point coordinate P1 of the straight line 3 and the end point
In order to make the coordinate value of the point coordinate P2 in the X direction the same, in the present embodiment, the coordinate value of the end point coordinate P2 in the X direction is changed to the start point coordinate P
1 is the same as the coordinate value in the X direction, and the end point coordinate P2
Is changed to P3. Further, in the straight line P1-P3, the coordinate value of P3 in the Y direction is smaller than the lower limit value of the restoration area (area 3) in the Y direction.
The coordinate value is a value near the lower limit in the Y direction (lower limit in this example)
, And the end point coordinates P3 are changed to P4.

【0054】結果として、図19(a),(b),
(c),(d)に示すように、領域3内のパターンが復
元される。 [領域4の処理]図20,21に示すように、領域4に
関しては、直線領域判断手段36において、直線4、及
び直線5が除去される。
As a result, FIGS. 19 (a), (b),
As shown in (c) and (d), the pattern in the area 3 is restored. [Processing of Region 4] As shown in FIGS. 20 and 21, the straight line 4 and the straight line 5 are removed from the region 4 by the straight line region judging means 36.

【0055】直線1、直線2、及び直線6に関しては、
領域4の前領域には存在する直線ではないため、直線座
標変更手段37では処理されずに、輪郭復元手段13に
入力され、判別点抽出手段14以降で処理が行われる。
直線3に関しては、前述した領域3の場合と同様の処理
が、直線座標変更手段37により行われる。
With respect to the straight line 1, the straight line 2, and the straight line 6,
Since it is not a straight line existing in the area before the area 4, the data is not processed by the linear coordinate changing means 37 but is input to the contour restoring means 13 and processed by the discrimination point extracting means 14 and thereafter.
Regarding the straight line 3, the same processing as in the case of the region 3 described above is performed by the straight line coordinate changing means 37.

【0056】結果として、図21(a),(b),
(c),(d)に示すように、領域4内のパターンが復
元される。 [領域5の処理]図22,23に示すように、領域5に
関しては、直線領域判断手段36において、直線3〜直
線5以外は除去される。
As a result, FIGS. 21 (a), (b),
As shown in (c) and (d), the pattern in the area 4 is restored. [Processing of Region 5] As shown in FIGS. 22 and 23, the straight line region judging means 36 removes regions other than the straight lines 3 to 5 for the region 5.

【0057】直線3〜直線5に関しては、領域5の前領
域には存在する直線ではないため、直線座標変更手段3
7では処理されずに、輪郭復元手段13に入力され、判
別点抽出手段14以降で処理が行われる。結果として、
図23(a),(b),(c),(d)に示すように、
領域5内のパターンが復元される。
[0057] With respect to the straight line 3 to the straight line 5, because it is not a straight line present in the front region of the region 5, the linear coordinate changing means 3
7, the data is input to the contour restoring means 13 without being processed, and the processing is performed by the discriminating point extracting means 14 and thereafter. as a result,
As shown in FIGS. 23 (a), (b), (c) and (d),
The pattern in the area 5 is restored.

【0058】[領域6の処理]図24,25に示すよう
に、領域6に関しては、直線領域判断手段36におい
て、直線3〜直線5以外は除去される。直線3、及び直
線5に関しては、領域6の前領域には存在する直線では
ないため、直線座標変更手段37では処理されずに、輪
郭復元手段13に入力され、判別点抽出手段14以降で
処理が行われる。
[Processing of Region 6] As shown in FIGS. 24 and 25, the straight line region judging means 36 removes regions other than the straight lines 3 to 5 for the region 6. Since the straight lines 3 and 5 are not straight lines existing in the area before the area 6, they are not processed by the linear coordinate changing means 37 but are input to the contour restoring means 13 and processed by the discrimination point extracting means 14 and thereafter. Is performed.

【0059】直線4に関しては、領域6の前領域に存在
する直線であるため、直線座標変更手段37により、次
の処理が行われる。すなわち、直線4の始点座標P1、
及び最終座標P2のX方向の座標値同じにするが、直
線4は元々X方向の座標値が同じであるため出力は変化
しない。結果として、図25(a),(b),(c),
(d)に示すように、領域6内のパターンが復元され
る。
Since the straight line 4 is a straight line existing in the area before the area 6, the following processing is performed by the straight line coordinate changing means 37. That is, the starting point coordinates P1 of the straight line 4,
And the final coordinate P2 have the same coordinate value in the X direction, but the output of the straight line 4 does not change because the coordinate value in the X direction is originally the same. As a result, FIGS. 25 (a), (b), (c),
As shown in (d), the pattern in the area 6 is restored.

【0060】[領域7の処理]図26,27に示すよう
に、領域7に関しては、直線領域判断手段36におい
て、直線3〜直線5以外は除去される。直線5に関して
は、領域7の前領域には存在する直線ではないため、直
線座標変更手段37では処理されずに、輪郭復元手段1
3に入力され、判別点抽出手段14以降で処理が行われ
る。
[Processing of Region 7] As shown in FIGS. 26 and 27, the straight line region judging means 36 removes regions other than the straight lines 3 to 5 for the region 7. Since the straight line 5 is not a straight line existing in the area before the area 7, the straight line 5 is not processed by the straight line coordinate changing means 37, and
3 and the processing is performed by the discrimination point extracting means 14 and thereafter.

【0061】直線3、及び直線4に関しては、領域7の
前領域に存在する直線であるため、直線座標変更手段3
7により、次の処理が行われる。すなわち、直線3の始
点座標P1、及び終点座標P2のX方向の座標値同じ
にするため、本実施例では、終点座標P2のX方向の座
標値を、始点座標P1のX方向の座標値と同じにしてお
り、終点座標P2は、P3に変更される。
[0061] linear 3, and with respect to the straight line 4, since a straight line exists on the front region of the region 7, the linear coordinate changing means 3
7, the following processing is performed. That is, in order to start-point coordinates P1 of the straight line 3, and the coordinate values of the X-direction of the end point coordinates P2 same, in this embodiment, the coordinate values of the X-direction of the end point coordinates P2, X-direction coordinate values of the start point coordinates P1 And the end point coordinates P2 are changed to P3.

【0062】さらに、P1−P3の直線では、P1のY
方向の座標値が復元領域(領域7)のY方向の上限値よ
りも大きな値であるため、P1のY方向の座標値をY方
向の上限値の近傍値(本例では、上限値)に変更してお
り、終点座標P1は、P4に変更される。直線4に関し
ては、前述の領域6の場合と同様に、出力の変化はな
い。
Further, in the straight line of P1-P3, the Y of P1
Since the coordinate value in the direction is larger than the upper limit value in the Y direction of the restoration area (region 7), the coordinate value in the Y direction of P1 is set to a value near the upper limit value in the Y direction (the upper limit value in this example). The end point coordinates P1 are changed to P4. As for the straight line 4, there is no change in the output as in the case of the region 6 described above.

【0063】結果として、図27(a),(b),
(c),(d)に示すように、領域3内のパターンが復
元される。このとき、直線3について輪郭復元時間を考
えると、直線P1−P2を処理するよりも直線P4−P
3を処理する場合の方が処理時間が短縮される。 [領域8の処理]図28,29に示すように、領域8に
関しては、直線領域判断手段36において、直線1、及
び直線2が除去される。
As a result, FIGS. 27 (a), (b),
As shown in (c) and (d), the pattern in the area 3 is restored. At this time, considering the contour restoration time for the straight line 3, the straight line P4-P is
3, the processing time is shorter. [Processing of Region 8] As shown in FIGS. 28 and 29, the straight line 1 and the straight line 2 are removed by the straight line region judging means 36 for the region 8.

【0064】直線5、及び直線6に関しては、領域8の
前領域には存在する直線ではないため、直線座標変更手
段37では処理されずに、輪郭復元手段13に入力さ
れ、判別点抽出手段14以降で処理が行われる。直線
3、及び直線4に関しては、前述した領域7の場合と同
様の処理が、直線座標変更手段37により行われる。
Since the straight lines 5 and 6 are not straight lines existing in the area before the area 8, they are not processed by the straight line coordinate changing means 37, but are inputted to the contour restoring means 13 and the discrimination point extracting means 14 The processing is performed thereafter. For the straight line 3 and the straight line 4, the same processing as in the case of the region 7 described above is performed by the straight line coordinate changing means 37.

【0065】結果として、図29(a),(b),
(c),(d)に示すように、領域3内のパターンが復
元される。このように本実施例では、原画像パターン復
元座標領域16に復元すべき原画像パターンが必要とす
る座標領域が、原画像パターン復元座標領域よりも大き
な場合であっても、輪郭点が復元される座標領域が複数
(この場合、4つ)の小領域30〜33に分けられると
ともに、判別点抽出手段14により抽出された判別点
が、領域判定手段38により判定され、この判定結果に
基づいて判別点設定手段15により設定されるため、正
確な原画像パターンデータが再生される。また、復元領
域の走査方向(X方向)に対する前領域に存在する輪郭
データを構成する直線の復元処理時間が短縮化され、原
画像パターンの復元処理の高速化が図られる。
As a result, FIGS. 29 (a), (b),
As shown in (c) and (d), the pattern in the area 3 is restored. As described above, in this embodiment, even when the coordinate area required by the original image pattern to be restored in the original image pattern restoration coordinate area 16 is larger than the original image pattern restoration coordinate area, the contour points are restored. Is divided into a plurality of (in this case, four) small areas 30 to 33, and the discrimination points extracted by the discrimination point extraction means 14 are determined by the area determination means 38, and based on the determination result, Since it is set by the determination point setting means 15, accurate original image pattern data is reproduced. In addition, the restoration processing time of the straight line constituting the contour data existing in the preceding area with respect to the scanning direction (X direction) of the restoration area is shortened, and the restoration processing of the original image pattern is speeded up.

【0066】以上のように、本発明によれば、原画像パ
ターン復元座標領域に復元すべき原画像パターンが必要
とする座標領域が、原画像パターン復元座標領域よりも
広い場合であっても、正確な原画像パターンデータを復
元することができ、また、復元処理の高速化を図ること
ができる。なお、上記実施例に限らず、原画像パターン
復元座標領域16に復元すべき原画像パターンの必要と
する座標領域は、原画像パターン復元座標領域16に対
して任意の倍数分広い場合であっても、広く適用するこ
とができる。
As described above, according to the present invention, even if the coordinate area required by the original image pattern to be restored in the original image pattern restoration coordinate area is wider than the original image pattern restoration coordinate area, Accurate original image pattern data can be restored, and the speed of the restoration process can be increased. The present invention is not limited to the above-described embodiment, and the coordinate area required for the original image pattern to be restored in the original image pattern restoration coordinate area 16 is wider than the original image pattern restoration coordinate area 16 by an arbitrary multiple. Can also be widely applied.

【0067】[0067]

【発明の効果】本発明では、輪郭点データの輪郭点を復
元する座標領域を原画像パターン復元座標領域の座標領
域の大きさに分割するとともに、分割した座標領域毎に
原画像パターンを復元するための判別点が、1座標領
域、第2座標領域、第3座標領域のいずれの領域に存在
するかを判定し、第1座標領域に存在する判別点は、原
画像パターン復元座標領域中の対応する座標位置に判別
点を設定し、第2座標領域に存在する判別点は、原画像
パターン復元座標領域の走査開始点に判別点を排他的に
設定し、また、第3座標領域に存在する判別点は、判別
点を設定しないため、原画像パターン復元領域よりも広
い場合であっても、正確な原画像パターンデータを再生
できる。
According to the present invention, the coordinate area for restoring the contour point of the contour point data is divided into the size of the coordinate area of the original image pattern restoration coordinate area, and the original image pattern is restored for each of the divided coordinate areas. Is determined in any one of the first coordinate area, the second coordinate area, and the third coordinate area, and the determination point existing in the first coordinate area is determined in the original image pattern restoration coordinate area. The determination point is set at the coordinate position corresponding to the above, the determination point existing in the second coordinate area is set exclusively at the scanning start point of the original image pattern restoration coordinate area, and the determination point is set in the third coordinate area. Since the existing discrimination point is not set, accurate original image pattern data can be reproduced even if it is wider than the original image pattern restoration area.

【0068】また、直線領域判断手段によって輪郭デー
タを構成する各直線の所定の第1走査方向の始点、及び
終点座標値が、復元すべき座標領域の該第1走査方向に
対応する走査方向に対してどの位置にあるかを判断し、
復元対象となる直線の第1走査方向の座標値が復元すべ
き座標領域の走査方向上における他の座標領域にあると
判断した場合、直線座標変更手段によって復元対象とな
る直線を第1走査方向に対して直交する第2走査方向の
直線として座標を変更するため、領域外の不要な直線を
除去でき、処理の高速化を図ることができる。
The start and end point coordinate values of each straight line constituting the contour data in the first scanning direction are determined by the straight line area determining means in the scanning direction corresponding to the first scanning direction of the coordinate area to be restored. To determine where it is,
If it is determined that the coordinate value of the straight line to be restored in the first scanning direction is in another coordinate area in the scanning direction of the coordinate area to be restored, the straight line to be restored is changed by the straight line coordinate changing means to the first scanning direction. Since the coordinates are changed as a straight line in the second scanning direction that is orthogonal to, unnecessary straight lines outside the area can be removed, and the processing can be speeded up.

【0069】したがって、分割処理に対しても正確な復
元を行うことができ、復元処理の高速化を図ることがで
きる。
Therefore, accurate restoration can be performed even for the division processing, and the restoration processing can be speeded up.

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

【図1】本発明による原画像パターンデータ再生装置の
要部構成を示すブロック図である。
FIG. 1 is a block diagram showing a main configuration of an original image pattern data reproducing apparatus according to the present invention.

【図2】本実施例における復元領域、走査方向、前領域
を説明するための図である。
FIG. 2 is a diagram for explaining a restoration area, a scanning direction, and a previous area in the embodiment.

【図3】領域分割による復元動作を説明するための図で
ある。
FIG. 3 is a diagram for explaining a restoration operation by area division.

【図4】領域分割による復元動作を説明するための図で
ある。
FIG. 4 is a diagram for explaining a restoration operation by area division.

【図5】領域分割による復元動作を説明するための図で
ある。
FIG. 5 is a diagram for explaining a restoration operation by area division.

【図6】領域分割による復元動作を説明するための図で
ある。
FIG. 6 is a diagram for explaining a restoration operation by area division.

【図7】領域分割による復元動作を説明するための図で
ある。
FIG. 7 is a diagram for explaining a restoration operation by area division.

【図8】DDAの長軸・短軸を説明するための図であ
る。
FIG. 8 is a diagram for explaining a major axis and a minor axis of a DDA.

【図9】DDAによる処理時間を説明するための図であ
る。
FIG. 9 is a diagram for explaining processing time by DDA.

【図10】DDAによる処理時間を説明するための図で
ある。
FIG. 10 is a diagram for explaining processing time by DDA.

【図11】原パターンと原パターンから得られる輪郭パ
ターンとを示す図である。
FIG. 11 is a diagram showing an original pattern and a contour pattern obtained from the original pattern.

【図12】輪郭パターンから得られる輪郭データと輪郭
を構成する直線列とを示す図である。
FIG. 12 is a diagram showing contour data obtained from a contour pattern and straight line strings constituting the contour.

【図13】領域分割の例を示す図である。FIG. 13 is a diagram illustrating an example of area division.

【図14】領域1を示す図である。FIG. 14 is a diagram showing an area 1;

【図15】領域1での処理を説明するための図である。FIG. 15 is a diagram for explaining processing in an area 1;

【図16】領域2を示す図である。FIG. 16 is a diagram showing an area 2;

【図17】領域2での処理を説明するための図である。FIG. 17 is a diagram for explaining processing in an area 2;

【図18】領域3を示す図である。FIG. 18 is a diagram showing an area 3;

【図19】領域3での処理を説明するための図である。FIG. 19 is a diagram for explaining processing in an area 3;

【図20】領域4を示す図である。FIG. 20 is a diagram showing an area 4;

【図21】領域4での処理を説明するための図である。FIG. 21 is a diagram for explaining processing in an area 4;

【図22】領域5を示す図である。FIG. 22 is a diagram showing an area 5;

【図23】領域5での処理を説明するための図である。FIG. 23 is a diagram for explaining processing in an area 5;

【図24】領域6を示す図である。FIG. 24 is a diagram showing an area 6;

【図25】領域6での処理を説明するための図である。FIG. 25 is a diagram for explaining processing in an area 6;

【図26】領域7を示す図である。FIG. 26 is a diagram showing an area 7;

【図27】領域7での処理を説明するための図である。FIG. 27 is a diagram for explaining processing in an area 7;

【図28】領域8を示す図である。FIG. 28 is a diagram showing an area 8;

【図29】領域8での処理を説明するための図である。FIG. 29 is a diagram for describing processing in an area 8;

【図30】従来の原画像パターンデータ再生装置を含む
画像処理システムの全体構成を示すブロック図である。
FIG. 30 is a block diagram showing the overall configuration of an image processing system including a conventional original image pattern data reproducing device.

【図31】従来例の問題点を説明するための図である。FIG. 31 is a diagram for explaining a problem of a conventional example.

【図32】従来例の問題点を説明するための図である。FIG. 32 is a diagram for explaining a problem of the conventional example.

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

12 輪郭データ入力手段 13 輪郭復元手段 14 判別点抽出手段 15 判別点設定手段 16 原画像パターン復元座標領域 17 塗り潰し手段 36 直線領域判定手段 37 直線座標変更手段 38 領域判定手段 12 contour data input means 13 contour restoring means 14 discriminating point extracting means 15 discriminating point setting means 16 original image pattern restoring coordinate area 17 filling means 36 linear area determining means 37 linear coordinate changing means 38 area determining means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−4381(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06T 11/00 - 11/40 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-3-4381 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06T 11/00-11/40

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部から輪郭データを入力する輪郭デー
タ入力手段と、 該輪郭データ入力手段に入力された輪郭データを構成す
る各直線の所定の第1走査方向の始点、及び終点座標値
が、復元すべき座標領域の該第1走査方向に対応する走
査方向に対してどの位置にあるかを判断する直線領域判
断手段と、 該直線領域判断手段の判断結果から復元対象となる直線
の第1走査方向の座標値が復元すべき座標領域の走査方
向上における他の座標領域にある場合、該復元対象とな
る直線を該第1走査方向に対して直交する第2走査方向
の直線として座標を変更する直線座標変更手段と、 該直線座標変更手段から出力される輪郭データに基づい
て輪郭点を復元する輪郭復元手段と、 該輪郭復元手段により復元される輪郭点から、塗り潰し
点を決定するための判別点を抽出する判別点抽出手段
と、 原画像パターンを復元して原画像パターンデータを得る
ための原画像パターン復元座標領域と、 該原画像パターン復元座標領域に復元すべき原画像パタ
ーンの座標領域が該原画像パターン復元座標領域よりも
広い座標領域を必要とする場合、輪郭点データの輪郭点
を復元する座標領域を該原画像パターン復元座標領域の
座標領域の大きさに分割するとともに、該分割した座標
領域毎に該判別点抽出手段によって抽出された原画像パ
ターンを復元するための判別点が、該分割した座標領域
中に現在原画像パターンを復元すべき座標領域として設
定された第1座標領域、あるいは現在原画像パターンを
復元すべき座標領域として設定された座標領域の走査方
向上の前の第2座標領域、あるいはその他の第3座標領
域のいずれの領域に存在するかを判定する領域判定手段
と、 該領域判定手段の判定結果に基づいて、第1座標領域に
存在する判別点は、該原画像パターン復元座標領域中の
対応する座標位置に判別点を設定し、第2座標領域に存
在する判別点は、該原画像パターン復元座標領域の走査
開始点に判別点を排他的に設定し、また、第3座標領域
に存在する判別点は、該判別点を判別点として設定しな
い判別点設定手段と、 該原画像パターン復元座標領域において、同一走査ライ
ンに1個、または複数個の判別点がある場合、走査方向
上の奇数番目の判別点を塗り潰し開始点、偶数番目の判
別点、もしくはその1個手前の点、及び該走査ラインの
走査終了点を塗り潰し終了点として塗り潰す塗り潰し手
段と、 を備えることを特徴とする原画像パターンデータ再生装
置。
1. An outline data input means for inputting outline data from the outside, and a starting point and an end point coordinate value in a predetermined first scanning direction of each straight line constituting the outline data input to the outline data input means are: Linear region determining means for determining the position of the coordinate area to be restored with respect to the scanning direction corresponding to the first scanning direction; and a first straight line to be restored from the determination result of the linear area determining means. When the coordinate value in the scanning direction is in another coordinate area on the scanning direction of the coordinate area to be restored, the straight line to be restored is set as a straight line in the second scanning direction orthogonal to the first scanning direction, and the coordinates are set as follows. determine the linear coordinate change means for changing the contour restoration means for restoring a contour point based on the outline data outputted from the straight line coordinate changing means, from the outline point to be restored by the contour restoring means, a point fill Point extracting means for extracting the determination points for the original image pattern, an original image pattern restoration coordinate area for restoring the original image pattern to obtain original image pattern data, and an original image pattern to be restored to the original image pattern restoration coordinate area If the coordinate area of requires a coordinate area wider than the original image pattern restoration coordinate area, the coordinate area for restoring the contour point of the contour point data is divided into the size of the coordinate area of the original image pattern restoration coordinate area. At the same time, a discrimination point for restoring the original image pattern extracted by the discrimination point extraction means for each of the divided coordinate areas is set as a coordinate area in which the current original image pattern should be restored in the divided coordinate area. The first coordinate area, the second coordinate area in the scanning direction of the coordinate area set as the coordinate area where the current original image pattern is to be restored, or the like. And determining a region determining means for determining present in any region of the third coordinate area, based on the determination result of the region determination unit, a first coordinate area
For the existing discrimination point , the discrimination point is set at a corresponding coordinate position in the original image pattern restoration coordinate area, and the discrimination point exists in the second coordinate area.
The existing discrimination point sets the discrimination point exclusively at the scanning start point of the original image pattern restoration coordinate area.
A discrimination point that does not set the discrimination point as a discrimination point; and, if there is one or more discrimination points on the same scan line in the original image pattern restoration coordinate area, And filling means for filling the odd-numbered discrimination point above, the even-numbered discrimination point, or a point just before it, and the scan end point of the scan line as a paint end point. An original image pattern data reproducing apparatus.
【請求項2】 前記直線座標変更手段は、変更の対象と
なる直線の第1走査方向の座標値を始点、もしくは終点
側のどちらか一方の座標値に変更することを特徴とする
請求項1の原画像パターン再生装置。
2. The method according to claim 1, wherein the linear coordinate changing unit determines a target of the change.
2. The original image pattern reproducing apparatus according to claim 1, wherein the coordinate value of the straight line in the first scanning direction is changed to one of a start point and an end point.
【請求項3】 前記直線座標変更手段は、変更の対象と
なる直線の第1走査方向の座標値を予め設定された座標
値に変更することを特徴とする請求項1の原画像パター
ン再生装置。
3. The apparatus according to claim 2, wherein the linear coordinate changing means determines a target of the change.
2. The original image pattern reproducing device according to claim 1, wherein the coordinate value of the straight line in the first scanning direction is changed to a preset coordinate value.
【請求項4】 前記直線座標変更手段は、変更の対象と
なる直線の、復元領域の第2走査方向の座標値の上限値
よりも大きい始点または終点の第2走査方向の座標値
を、前記上限値よりも大きな上限値近傍値に変更し、復
元領域の第2走査方向の座標値の下限値よりも小さい始
点または終点の第2走査方向の座標値を、前記下限値よ
りも小さな下限値近傍値に変更することを特徴とする請
求項1,2または3の原画像パターン再生装置。
4. The apparatus according to claim 1, wherein said linear coordinate changing means includes an object to be changed.
Upper limit of the coordinate value of the straight line in the second scanning direction of the restoration area
Coordinate value in the second scanning direction of the start point or end point greater than
Is changed to a value near the upper limit larger than the upper limit.
The initial value smaller than the lower limit value of the coordinate value of the original area in the second scanning direction
The coordinate value of the point or the end point in the second scanning direction is calculated from the lower limit value.
Original image pattern reproduction apparatus according to claim 1, 2 or 3, characterized in that to change the remote small lower limit value approximate.
【請求項5】 前記輪郭復元手段は、デジタル微分解析
器であることを特徴とする請求項4の原画像パターン再
生装置。
5. An original image pattern reproducing apparatus according to claim 4, wherein said contour restoring means is a digital differential analyzer.
JP11457691A 1991-05-20 1991-05-20 Original image pattern data playback device Expired - Fee Related JP2922014B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11457691A JP2922014B2 (en) 1991-05-20 1991-05-20 Original image pattern data playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11457691A JP2922014B2 (en) 1991-05-20 1991-05-20 Original image pattern data playback device

Publications (2)

Publication Number Publication Date
JPH04342085A JPH04342085A (en) 1992-11-27
JP2922014B2 true JP2922014B2 (en) 1999-07-19

Family

ID=14641300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11457691A Expired - Fee Related JP2922014B2 (en) 1991-05-20 1991-05-20 Original image pattern data playback device

Country Status (1)

Country Link
JP (1) JP2922014B2 (en)

Also Published As

Publication number Publication date
JPH04342085A (en) 1992-11-27

Similar Documents

Publication Publication Date Title
US4602251A (en) Image display system for controlling the scroll of a partial image on a display screen
EP0549351A2 (en) Image processing method and apparatus
GB2354925A (en) Image filling method, apparatus and computer readable medium for reducing filling process in producing animation
JPH07146952A (en) Three-dimensional image processor
EP0200885A2 (en) Method and apparatus for processing image data
US4675665A (en) Realtime tracking of a movable cursor
KR19980042241A (en) Graphic image display device and method
JP2502175B2 (en) Original image pattern data reproducing method and device
JP2922014B2 (en) Original image pattern data playback device
US5563995A (en) Method and system for directly drawing a convex polygon having a given number of vertices with high speed
JP2770582B2 (en) Figure filling device
US5053886A (en) Method and apparatus for magnifying an image
JP2930599B2 (en) Graphic vectorization processing method and apparatus
JP2776793B2 (en) Image display method and display device thereof
KR940005827B1 (en) Method for rotation of text image data
JP2885996B2 (en) Image processing method and apparatus
JP2903514B2 (en) High-speed drawing method
JP2688671B2 (en) Image processing method
JPH0146912B2 (en)
JP2989604B2 (en) Pattern restoration method
JP2682191B2 (en) Aliasing removal method and device
JPH0375795A (en) Character pattern contraction system
JPH11203470A (en) Surface condition setting method and image recognition method
JPH08180087A (en) Distortion correcting method for graphic
JPH0573693A (en) Outline paint out system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990413

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

Free format text: PAYMENT UNTIL: 20080430

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090430

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees