JPS59191667A - Picture data converting system - Google Patents

Picture data converting system

Info

Publication number
JPS59191667A
JPS59191667A JP58066313A JP6631383A JPS59191667A JP S59191667 A JPS59191667 A JP S59191667A JP 58066313 A JP58066313 A JP 58066313A JP 6631383 A JP6631383 A JP 6631383A JP S59191667 A JPS59191667 A JP S59191667A
Authority
JP
Japan
Prior art keywords
data
point
line
branch
points
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.)
Pending
Application number
JP58066313A
Other languages
Japanese (ja)
Inventor
Yasuo Kubota
靖夫 久保田
Akio Yanase
柳瀬 彰夫
Kazutaka Okawa
大川 和隆
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP58066313A priority Critical patent/JPS59191667A/en
Publication of JPS59191667A publication Critical patent/JPS59191667A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding

Abstract

PURPOSE:To perform a quick and accurate correction and to reduce the software load of a computer by carrying out both the correction processing and the cut-out line extraction processing after converting a linear graphic data of raster type into the data of vector type. CONSTITUTION:The picture data read by a TV camera are all converted into the linear graphic data with a raster type maintained as it is. Then a computer 5 converts the linear graphic data into the data of vector type via an external memory 7 and writes it to an external memory 6. This data is read out of the memory 6 and displayed to a monitor 9 to perform a checkup. Then the corrected data is fed to the computer 5 by a digitizer 8. Thus a drop-out part or undesired part of a linear pattern is corrected, and the desired cut-out line data is extracted and written to the memory 7. With such cut-line data stored in the memory 7, a cut-out mask is produced by reading out the cut-out line data and supplying it to a plotter 10. As a result, the correction is possible quickly and accurately and the computer load is reduced.

Description

【発明の詳細な説明】 本発明は、印刷用切抜きマスク及び版下の作成に必要な
切抜き線抽出データの作成方式に係り、特に、このよう
なデータの作成に必要なデータ修正処理が容易な画像デ
ータ変換方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for creating cutout line extraction data necessary for creating a cutout mask for printing and a block copy, and in particular, a method for creating cutout line extraction data necessary for creating a cutout mask and block copy for printing, and in particular, a method that facilitates data modification processing necessary for creating such data. Related to image data conversion method.

従来、この種の印刷用切抜きマスクや版下は、原画から
直接、手作業により作成していた。そのため、作業に多
大の熟練を要し、その上、品質の均一性や作成時間の点
で問題があった。
Conventionally, this type of printing cutout mask or block copy has been created by hand directly from the original image. Therefore, the work required a great deal of skill, and there were also problems in terms of uniformity of quality and production time.

ところで、近年、印刷製版の分野にもコンピー−タによ
る画像処理技術が広く採り入れられるようになり、原画
r* をテレビジョンカメラやスキャナーなどにより一
旦、画像データ化した上で処理し、これにより製版作業
の自動化や簡略化が図られるようにしたシステムが使用
されるようになってきた。
By the way, in recent years, computer-based image processing technology has been widely adopted in the field of printing plate making, and the original image R* is first converted into image data using a television camera or scanner, and then processed. Systems that automate and simplify work have come into use.

そこで、印刷用切抜きマスク及び版下の作成についても
、このようなコンピュータによる画像処理技法會適用し
、上記したように原画隊ヲ一旦、画像データ化し、この
画像データ全2値化、輪郭抽出、細線化などの演算処理
により線図形データ化して切抜きマスクを作成する方法
が用いられるようになり、上記した手作業による問題を
解決することができるようになってきた。
Therefore, for the creation of cutout masks and block copies for printing, we apply such computer image processing techniques to first convert the original drawings into image data as described above, then convert this image data into full binarization, extract outlines, A method of creating a cutout mask by converting it into line figure data through arithmetic processing such as line thinning has come to be used, and it has become possible to solve the above-mentioned manual problems.

しかしながら、上記した画像データの演算処理によって
得た線図形データをそのまま用いて切抜き線抽出を行な
ったのでは、原画像の種類や状態にもよるが、現在のと
ころ光分な結果を得ることはほとんどできない。
However, if the line figure data obtained through the above-mentioned image data calculation processing is used to extract the cutout lines as is, it is not possible to obtain accurate results at present, although it depends on the type and condition of the original image. I can hardly do it.

そのため、この・ようなコンピュータによる印刷用切抜
きマスク及び版下の作成システムにおいては、上記した
演算処理によって得た線図形データに修正作業を施こし
、実用上必要な範囲で切抜き線抽出が可能なデータにま
で補正するようにしていた。すなわち、演算処理して得
られたままの線図形データには、必要とする切抜き線情
報の一部に欠落を生じていたり、切抜き線以外の不必要
な情報が含まれていたりする。そこで、この線図形デー
タを原画像データと比較しながら欠格部分を補修したり
、不要部分を取除いたりしてイレ正を行なうのである。
Therefore, in this computer-based printing cutout mask and block production system, correction work is performed on the line figure data obtained through the above-mentioned arithmetic processing, making it possible to extract cutout lines to the extent necessary for practical use. I even tried to correct the data. In other words, the line graphic data obtained through arithmetic processing may be missing some of the necessary cutout line information, or may include unnecessary information other than the cutout lines. Therefore, while comparing this line figure data with the original image data, errors are corrected by repairing disqualified parts or removing unnecessary parts.

この線図形データの修正作業は、例えば特願昭57−4
8734号の出願により提案されている装置などによっ
て行なうのであるが、従来は、この線図形データがラス
ター形式のデータとなっているため、修正作業に必要な
データのハンドリングが面倒で、修正作業に余分な時間
を要したり、コンピュータのソフト面での負荷が増加し
易いという欠点があった。
This work of correcting line figure data can be done, for example, in Japanese Patent Application No. 57-4.
This is done using a device such as the one proposed in the No. 8734 application, but in the past, this line figure data was in raster format, so handling the data necessary for correction work was troublesome, and it was difficult to perform correction work. This method has disadvantages in that it requires extra time and tends to increase the load on computer software.

本発明の目的は、上記した従来技術の欠点を除き、修正
処理のためのデータのハンドリングが容易で、修正作業
が短時間で済み、しかもコンピュータのソフト面の負荷
が軽くて済むようにした画(’Jデータ変換方式を提供
するにある。
An object of the present invention is to eliminate the above-mentioned drawbacks of the prior art, and to provide an image that facilitates handling of data for correction processing, allows correction work to be completed in a short time, and reduces the load on computer software. ('J data conversion method is provided.

この目的ケ達成するため、本発明は、ラスター形式で与
えられる線図形データ’x4に正作業に先立って予めベ
クトル形式の線図形データに変換しておくようにした点
を特徴とする。
In order to achieve this object, the present invention is characterized in that the line figure data 'x4 given in raster format is converted into line figure data in vector format in advance before the actual work.

以下、本発明による画、隊データ変換方式の実施例全図
面について説明する。
Hereinafter, all the drawings of the embodiment of the image data conversion method according to the present invention will be described.

第1図は本発明による画像データ変換方式の一実施例を
備えた印刷用切抜きマスク作成装置の一例を示すブロッ
ク図で、1は原画、2はフィルタ、3はテレビジョン(
TV)カメラ、4はカメラコントローラ、5はコンピュ
ータ、6..7は外部メモリ、8はディジタイザ、9は
画像モニタ、10はプロッタである。
FIG. 1 is a block diagram showing an example of a printing cutout mask creation device equipped with an embodiment of the image data conversion method according to the present invention, in which 1 is an original image, 2 is a filter, and 3 is a television (
TV) camera, 4 is a camera controller, 5 is a computer, 6. .. 7 is an external memory, 8 is a digitizer, 9 is an image monitor, and 10 is a plotter.

この装置は第2図のフローチャートにしたがって動作し
、まず、ステップ1では、原画1の絵柄の1象がTVカ
メラ3によって撮像され、その画像信号は、例えばカメ
ラコントローラ4によって縦方向と横方向にそれぞれ5
12画素で、各画素ごとに8ピツトのディジタル画像デ
ータに変換され、外部メモリ6に記憶される。フィルタ
2は赤、緑、青、灰色の4種のフィルタからなり、原画
1に応じて所定のフィルタ金順次選択し、それぞれの色
による画像データを取り込むためのものである。
This device operates according to the flowchart shown in FIG. 2. First, in step 1, one image of the original image 1 is imaged by the TV camera 3, and the image signal is transmitted vertically and horizontally by the camera controller 4, for example. 5 each
There are 12 pixels, and each pixel is converted into 8-pit digital image data and stored in the external memory 6. The filter 2 consists of four types of filters: red, green, blue, and gray, and is used to sequentially select predetermined filters according to the original image 1 and capture image data of each color.

こ)して外部メモリ6に記憶されたufjl象データは
512画素×512画素のデータからなる、いわゆるラ
スター形式の画像データとなっている。
The ufjl image data stored in the external memory 6 is so-called raster format image data consisting of 512 pixels x 512 pixels.

このステップ1でのデータの流れ?示したのが第3図で
ある。
What is the data flow in this step 1? This is shown in Figure 3.

次に、ステップ2では、外部メモリ6から画像データが
順次読出され、コンビエータ5で演算処理されてデータ
の2値化、雑音除去、輪郭線抽出、。
Next, in step 2, the image data is sequentially read from the external memory 6, and is subjected to arithmetic processing by the combiator 5 to binarize the data, remove noise, and extract outlines.

細線化が行なわれ、線図形データ化されたデータが外部
メモリ7に書込まれる。従って、このときのデータの流
れは第4図に示すようになる。なお、このときの2値化
、雑音除去、輪郭線抽出、細線化については例えば特願
昭56−2143193号の出願により提案されている
方法などにより行なうようにすればよい。
Line thinning is performed, and the data converted into line graphic data is written into the external memory 7. Therefore, the data flow at this time is as shown in FIG. Incidentally, the binarization, noise removal, contour line extraction, and line thinning at this time may be performed by, for example, the method proposed in Japanese Patent Application No. 56-2143193.

こうして、TVカメラ3で読取った画1象データがラス
ター形式のままで全て線図形データ化されたらステップ
3に移行し、コンピュータ5は外部メモリ7から線図形
データを順次、所定の順序で各画素ごとに読出し、ベク
トル変換処理によりベクトル形式のデータに変換して外
部メモリ6に書込んでゆ(。従って、このときのデータ
の流れは第5図に示すようになる。なお、ここにいうベ
クトル変換処理の内容については後述する。
In this way, once the image data read by the TV camera 3 has been converted into line figure data while remaining in raster format, the process moves to step 3, where the computer 5 sequentially converts the line figure data from the external memory 7 to each pixel in a predetermined order. The vector data is read out, converted into vector format data by vector conversion processing, and written to the external memory 6. Therefore, the data flow at this time is as shown in Figure 5. The details of the conversion process will be described later.

ステップ4に入ると、今度は外部メモリ6からベクトル
形式線図形データが読出され、コンピュータ5によって
モニタ9に線図形画像として表示される。そこで、この
モニタ9に映出された線図形画像を調べ、ディジタイザ
8により修正データをコンビーータ5に入力して線図形
の欠落部や不必要な部分に対する1昨正を行ない、必要
な切抜き線データの抽出を行なう。そして、その結果を
外部メモリ7に書込んでゆく。従って、このときのデー
タの流れは第6図のようになる。なお、この修正作業に
ついては、前掲の!願昭57−48734号の装置によ
って行なうようにしてもよい。
In step 4, vector format line graphic data is read from the external memory 6 and displayed by the computer 5 on the monitor 9 as a line graphic image. Therefore, the line figure image displayed on the monitor 9 is examined, and the corrected data is inputted to the converter 5 using the digitizer 8 to make corrections for missing or unnecessary parts of the line figure, and the necessary cutout line data is made. Extract. Then, the results are written to the external memory 7. Therefore, the data flow at this time is as shown in FIG. Regarding this correction work, please refer to the above! It may also be carried out using the apparatus disclosed in Japanese Patent No. 57-48734.

このようにして外部メモリ7に切抜き線データが用意さ
れたらステップ5に進み、必要な切抜き線データを外部
メモリ7から読出してプロッタ10に入力し、切抜きマ
スクの作成を行なう。
Once the cutout line data is prepared in the external memory 7 in this way, the process proceeds to step 5, where the necessary cutout line data is read out from the external memory 7 and input to the plotter 10 to create a cutout mask.

従って、この実施例によれは、ステップ4における線図
形データの修正処理と、線図形データからの切抜き線デ
ータの抽出処理に先立って、ステップ3において線図形
データがラスター形式からベクトル形式に変換されてお
り、このベクトル形式となっている線図形データに基づ
いて上記した修正処理と抽出処理が行なわれるため、デ
ータのハンドリングが容易で、コンビーータ5の負荷を
軽減させることができる。また、ラスター形式からベク
トル形式に変換した結果、データ量が大幅に減少される
から、メモリ容量も少くて済むという効果が得られろ。
Therefore, according to this embodiment, the line figure data is converted from raster format to vector format in step 3, prior to the process of correcting the line figure data in step 4 and the process of extracting cutout line data from the line figure data. Since the above-mentioned correction processing and extraction processing are performed based on the line figure data in vector format, data handling is easy and the load on the conbeater 5 can be reduced. Furthermore, as a result of converting from raster format to vector format, the amount of data is significantly reduced, so you can get the effect of requiring less memory capacity.

なお、上記実施例では、磁気ディスクなどからなる外部
メモIJ6,7’e用い、これらの間でデータの移し替
えを行なうようになっているが、これは説明を簡単にす
るためで、実際には1台の外部メモリを用い、それの異
なったメモリ領域間でデータの移し替えを行なうように
すればよい。
In the above embodiment, external memorandums IJ6, 7'e made of magnetic disks or the like are used to transfer data between them, but this is for the purpose of simplifying the explanation and is not actually used. In this case, one external memory may be used and data may be transferred between different memory areas of the external memory.

次に、線図形データのラスター形式からベクトル形式へ
の変換処理、つまり第2図のステップ3におけるベクト
ル変換処理の実施例について説明する。
Next, an embodiment of the conversion process of line graphic data from raster format to vector format, that is, the vector conversion process in step 3 in FIG. 2 will be described.

第8図は本発明におけるベクトル変換処理の一笑施例を
示すフローチャートで、以下、このフローチャートによ
る処理を第9図の概念図を用いて説明する。
FIG. 8 is a flowchart showing a simple example of vector conversion processing according to the present invention, and the processing according to this flowchart will be explained below using the conceptual diagram of FIG. 9.

いま、外部メモリ7に用意されたラスター形式の線図形
データが第9図に示すようにX方向(横方向) K 5
12画素、Y方向(縦方向)にも512画素のもので、
それぞれの画素をXY座標の点で表わし、成る点をIP
(X、Y)とすれば、このデータは、IP(0,0)、
IP(1,O)、  ・・・・・・。
Now, the raster format line figure data prepared in the external memory 7 is being moved in the X direction (horizontal direction) as shown in FIG.
12 pixels, 512 pixels in the Y direction (vertical direction),
Each pixel is represented by an XY coordinate point, and the point is IP
(X, Y), this data is IP (0, 0),
IP(1,O), ・・・・・・.

IP(511,O)、IP(1,1)、・・・・・・、
  IP(X、Y)、tp(x+1.’y)、・・・・
・・、IP(511、511)の順になっており、2値
化された画素が黒ならその点IP(X、Y)=0.白に
なっていたらその点IP(X、Y)=1の値をそれぞれ
とる。
IP(511,O), IP(1,1),...
IP (X, Y), tp (x+1.'y), ...
..., IP (511, 511), and if the binarized pixel is black, then the point IP (X, Y) = 0. If it is white, take the value of IP (X, Y) = 1 for that point.

ここで、以下のペク)/’に換の説明に使用される用語
について説明する。
Here, we will explain the terms used in the following explanation of peku)/'.

・連続点、成る点IP(X、Y)=Oに対して第10図
に示す3×3のマスク内に存在する黒画素点。
・Continuous points, black pixel points existing within the 3×3 mask shown in FIG. 10 for the point IP(X, Y)=O.

・連結点、成る点IP(X、Y)=Oに対して第11図
に示す5×5のマスク内に存在する黒画素点で連続点を
伴なっている 点。
・Connection point, a black pixel point existing within the 5×5 mask shown in FIG. 11 with respect to the point IP(X, Y)=O, which is accompanied by continuous points.

・開始点、成る線図形に対してベクトル追跡を開始する
点。
・Starting point, the point at which vector tracing starts for the line figure.

IP(0,O)、IP(1,O)・・・・・・の順に探
索全行ない、これらの点が白画素(=1)の間は探索奮
進めてゆ き、黒画素になった点I P (Xo、 Yo)=0を
開始点とする。ただし、連結点 に限り、単一点(後述)および孤立点 (後述)は含まない。
The search is carried out in the order of IP (0, O), IP (1, O), etc., and while these points are white pixels (=1), the search continues until the point becomes a black pixel. Let I P (Xo, Yo)=0 be the starting point. However, only connected points are included, and single points (described later) and isolated points (described later) are not included.

・分岐点、成るIP(X、Y)=0の点における分岐方
向が2方向以上存在する点。
- Branch point, a point where there are two or more branch directions at the point where IP (X, Y) = 0.

ただし、探索済の点(罰点)の方向は 除く。However, the direction of the searched points (penalty points) is except.

・端 点、次の連結点が存在しない点。従って分岐数=
0の点となる。
・End point, point where the next connection point does not exist. Therefore, the number of branches =
It becomes a point of 0.

・中間点、分岐点と分岐点の間、或いは端点と端点の間
、それに分岐点と端点の間の 点。従って分岐数=1゜ ・単一点、連続点は持たないが、連結点r有する点。
・Intermediate points, points between branching points, between endpoints, and points between branching points and endpoints. Therefore, the number of branches = 1°, a single point, a point that does not have continuous points but has connected points r.

・孤立点、連続点も連結点も持たない点。- Isolated point, a point that has neither continuous points nor connected points.

・偏曲点、進行方向が変化している点、中間点に含まれ
る。
・Included in deflection points, points where the direction of travel is changing, and intermediate points.

・グループ、開始点I P (Xo、 Yo)= Oか
ら連続して存在する点IP(X、Y)=0 の集合。従って、ループ(後述)及び 又はオープンクラスタ(後述)から成 る。
- Group, a set of points IP (X, Y) = 0 that exist continuously from the starting point IP (Xo, Yo) = O. Therefore, it consists of a loop (described later) and/or an open cluster (described later).

・ライン(t)  IPs(Xs、Ys)  IPm(
Xs。
・Line (t) IPs (Xs, Ys) IPm (
Xs.

Y、 )  で表わされる直線、つまり偏曲点にはさま
れた直線。
A straight line represented by Y, ), that is, a straight line between eccentric points.

・ニレメン)(H)  分岐点(端点)から分岐点(端
点)内の直線の集まり。
・Niremen) (H) A collection of straight lines from a branch point (end point) to a branch point (end point).

・ループ(L)  成る閉曲線に含まれるエレメントの
集まり。
・Loop (L) A collection of elements included in a closed curve.

・オープンクラスタ(0) 閉曲線に含まれないエレメ
ントの集まり。閉曲線のこと。
・Open cluster (0) A collection of elements that are not included in a closed curve. A closed curve.

・ポイント(P )  I P (X、 、 Y、 )
の単一点。
・Point (P) I P (X, , Y, )
A single point.

・分岐数=0・・・・・・端点、単一点、孤立点。・Number of branches = 0... End point, single point, isolated point.

=1・・・・・・中間点(偏曲点)、開始点。=1...Middle point (deflection point), starting point.

≧2・・・・・・分岐点。≧2... Branching point.

さて、第8図に戻り、このベクトル変換処理はベクトル
追跡処理とループ図形検出処理に大別され、それぞれグ
ループ単位ごとに、まず、ベクトル追跡処理7行ない、
ついでループ図形検出処理を行なうようになっている。
Now, returning to FIG. 8, this vector conversion process is roughly divided into vector tracking processing and loop figure detection processing, and for each group, first, seven vector tracking processes are performed,
Next, loop figure detection processing is performed.

ベクトル追跡処理 (1)開始点の探索 1 第9図に示すように、IP(0,0)、IP(1,
0)、・・・・・・IP(511,0)、  IP(0
,1)・・・・・・の順に外部メモリ7(第1図、第5
図)からラスター形式の線図形データを読出し、IP(
X、Y)=Oとなる点を探す。
Vector tracking process (1) Search for starting point 1 As shown in Figure 9, IP (0, 0), IP (1,
0), ...IP (511,0), IP (0
, 1)...... External memory 7 (Fig. 1, 5
The line figure data in raster format is read from the IP (
Find the point where X, Y) = O.

なお、黒二〇、白:1であることは前述のとおりである
As mentioned above, black is 20 and white is 1.

It  IP(X、Y)=0の点に到ったならば、第1
0図の3×3マスクを用い、第12図に示すようにして
連続点が存在するか否かヲ調べる。
If it reaches the point of IP(X, Y)=0, the first
Using the 3x3 mask shown in Figure 0, it is checked whether or not there are continuous points as shown in Figure 12.

連続点が存在したら、その点IP(X、Y)を開始点と
みなし、グループナンバー全カウントアツプする。
If a continuous point exists, that point IP (X, Y) is regarded as the starting point, and all group numbers are counted up.

111  連続点が無いと判断されたら、単一点か否か
の判断のため、第11図の5×5マスクを用い、第13
図に示すように他の連結点があるか否かを調べる。そし
て、5×5マスクの中のIP(X、Y)以外に黒点(−
〇)があったら、その点を中心にして書び3×3マスク
を用い、この点に連続点があったときには、この点を連
結点とみなし、それケ開始点とする。
111 If it is determined that there are no continuous points, use the 5×5 mask in Figure 11 to determine whether it is a single point or not.
Check whether there are other connection points as shown in the figure. Then, in addition to IP (X, Y) in the 5 × 5 mask, there is a black point (-
If there is a ○), use a 3x3 mask to draw with that point as the center, and if there is a continuous point at this point, consider this point to be a connected point and use it as the starting point.

こうして連結点が見付かったときには、上記の点IP(
X、Y)は単一点とみなし、その位置をポイントデータ
とし、用意しであるデータベースに誉込む(外部メモリ
6)。なお、実際には、第13図の斜線を施した部分a
の検索だけで充分であるが、中間点での単一点の検索で
は5×5のマスク全部の検索が必要になる。
When the connection point is found in this way, the above point IP (
X, Y) is regarded as a single point, its position is used as point data, and it is stored in a prepared database (external memory 6). Note that in reality, the shaded area a in Figure 13
A search for a single point at an intermediate point would require searching the entire 5×5 mask, whereas searching for a single point at an intermediate point would be sufficient.

点IP(X、Y)に連続点も連結点も存在しなかったと
判断されたときには、この点は孤立点であるとし、雑音
などによるものとみなして無視し、次の点IP(X+1
.Y)から再び探索を開始する。
When it is determined that there are no continuous points or connected points at point IP (X, Y), this point is considered to be an isolated point and is ignored as it is caused by noise etc., and the next point IP (X + 1
.. Start searching again from Y).

(2)  END判断 1 開始点の探索を行ないながら、点I P (X。(2) END judgment 1 While searching for the starting point, find the point IP (X.

Y)を調べ、X=511. Y=511になったらデー
タの変換処理は全て完了したものと判断し、処理を終了
させる。
Y) and find that X=511. When Y=511, it is determined that all data conversion processing has been completed, and the processing is terminated.

(3)開始点処理 開始点において分岐判断を行ない、以下の処理をする。(3) Starting point processing A branch decision is made at the starting point, and the following processing is performed.

1 分岐数=1のとき、(第14図) ・ コントロールデータテープA/(後述)全用意し、
そこにエレメントナンバーと、接合点(端点)ナンバー
とを登録する。なお、この接°合点(端点)ナンバー全
ポイントIt)ナンバーとする。
1 When the number of branches = 1 (Fig. 14) ・ Control data tape A/(described later) is fully prepared,
The element number and junction point (end point) number are registered there. Note that this joining point (end point) number is the total point It) number.

・ 用意しであるデータベースにエレメントデータを書
込み、ニレメン)IDとポイントID=iカウントアツ
プする。
・Write the element data to the prepared database and count up the Niremen ID and point ID = i.

・ 中間点:IP(X、Y)、=1(白)にする。ここ
で端点が現われてきたら、端点処理ケする。
・Midpoint: IP (X, Y), set to = 1 (white). If endpoints appear here, process the endpoints.

11  分岐数=2のとき、 ・ データベースにエレメントデータとポイントデータ
を書込む。
11 When the number of branches = 2: - Write element data and point data to the database.

・ 中間点=2とし、分岐点がでてきたら、分岐の1つ
とみなす(第15図)。
- Set the intermediate point = 2, and when a branch point appears, consider it as one of the branches (Figure 15).

俸 分岐点が出てこなけれは、単一ループ(閉ループ又
は開ループ)とみなし、データテーブルに書込を行ない
、それが終了したら開始点に戻る(第16図)。
Salary If a branch point does not appear, it is regarded as a single loop (closed loop or open loop), writes to the data table, and returns to the starting point when it is completed (Figure 16).

・ 端点がでてきたら端点を開始点とし、分岐数=1の
ときと同じ処理を実行する(第17図)。
- When an end point appears, use the end point as the starting point and execute the same process as when the number of branches = 1 (Figure 17).

111  分岐数>3のとき、 ・ 分岐点と判断し、データベース、分岐テーブル及ヒ
コントロールデータテーブルに’%1込む。
111 When the number of branches > 3: - It is determined that it is a branch point, and '%1' is stored in the database, branch table, and control data table.

・ 優先方向(後述)に進む。分岐点;−1にする。・Proceed in the priority direction (described later). Branching point: Set to -1.

(4)分岐点判断 開始点から1画素進んだら単一点検索と分岐点検出、ラ
イン判断からなる分岐点判断を行なう。
(4) Branch Point Judgment After proceeding by one pixel from the starting point, a branch point judgment consisting of a single point search, branch point detection, and line judgment is performed.

1 単一点検索 ・ 第11図の5×5マスク會用い、第18図に示すよ
うに、その中に含まれる点のピックアップを行なう。
1. Single point search: Using the 5×5 mask shown in FIG. 11, points included in the mask are picked up as shown in FIG. 18.

・ ピックアップされたそれぞれの点について第10図
の3×3のマスクを用い、第18図のようにして連続点
の有無により連続性を調べる。
- Using the 3×3 mask shown in FIG. 10 for each point picked up, check the continuity by checking the presence or absence of continuous points as shown in FIG. 18.

・ 連続性が無く、単一点と判断されたら、それをデー
タベースにポイントデータとして畳込み、単一点=1(
白)にする。
・ If there is no continuity and it is determined that it is a single point, it is convoluted into the database as point data, and single point = 1 (
white).

また、単一点でなければ、そのまま残す。Also, if it is not a single point, leave it as is.

11  分岐点検出(3X3のマスクを用いたと@)a
0分岐数=0 ・ 端点とみなす。
11 Branch point detection (using 3X3 mask @)a
Number of 0 branches = 0 - Considered as an end point.

・ 分岐テーブル會参照し、最新の分岐点に戻り、優先
方向に進む。なお、優先方向の決定については後述する
- Refer to the branch table, return to the latest branch point, and proceed in the priority direction. Note that the determination of the priority direction will be described later.

b0分岐数=1 ・ 中間点とみなす。b0 branch number = 1 ・Regarded as the midpoint.

・ 方向検索を行ない、直進方向であれば次に進み、屈
曲していた場合にはその座標をエレメント座標プレイに
書込む。
- Perform a direction search, and if the direction is straight, proceed to the next one, and if it is curved, write the coordinates in the element coordinate play.

・ IP=1にする。・Set IP=1.

C1分岐数≧2 ・ 分岐候補点とみなしく第19図)、これから分岐点
を検出する。分岐点の検出については後述する。
C1 number of branches ≧2 - Regarded as a branch candidate point (Fig. 19), a branch point is detected from this point. Detection of branch points will be described later.

〔優先方向の決定〕[Determination of priority direction]

分岐点での優先方向は、以下のようにして定める。 The preferred direction at a branch point is determined as follows.

1、分岐点に達したら、第加図のように、入力方向に対
して最も鋭角をなす方向に進む。
1. When you reach a branch point, proceed in the direction that makes the most acute angle to the input direction, as shown in Figure 1.

端点から最新の分岐点に戻る場合にも、第21図のよう
に、入力方向に対して鋭角をなす方向の1@に進む。
When returning from the end point to the latest branch point, the process proceeds in the direction 1@, which is at an acute angle to the input direction, as shown in FIG.

2 人力方向に対して最も鋭角をなす方向が、第n図の
ように、2方向にある場合には、右方向を優先する。
2. If there are two directions that make the most acute angle with respect to the direction of human power, as shown in Figure n, give priority to the right direction.

3、開始点が分岐点の場合は、第5図のようにして優先
順位を定める。例えば第U図の場合には、図示の順とな
る。
3. If the starting point is a branch point, determine the priority order as shown in Figure 5. For example, in the case of Figure U, the order is as shown.

〔分岐点の検出〕[Detection of branching point]

分岐候補点から分岐点を検出するのは、以下の方法によ
る。
A branch point is detected from branch candidate points using the following method.

1、 分岐候補点が検出されたら、それをIP。1. When a branch candidate point is detected, IP it.

としてから進行方向の次の点IP、に進む。, then proceed to the next point IP in the direction of travel.

2、進行方向の次の点IP、が白点、つまり第5図のよ
うに、進行方向の次に黒点が存在しなかった場合には、
この点IP0を分岐点とする。
2. If the next point IP in the direction of travel is a white point, as shown in Figure 5, if there is no black point next in the direction of travel, then
This point IP0 is defined as a branch point.

この分岐点は前のエレメントのEND座標になると共に
、次のエレメントの8TART座標にもなる。また、こ
のときにエレメントlDナンバーのカウントアツプとポ
イントデ−タのデータベースへの書込みが行なわれ、優
先方向に進む。
This branch point becomes the END coordinate of the previous element, and also becomes the 8TART coordinate of the next element. Also, at this time, the element ID number is counted up and the point data is written into the database, and the process proceeds in the priority direction.

3、進行方向の点IP、=o、つまり点IP、が黒のと
きには、さらに進行方向の次の点I P、 =Oか否か
を検索する。
3. When the point IP, =o in the traveling direction, that is, the point IP, is black, it is further searched to see whether the next point IP, =O in the traveling direction.

3−1.進行方向の点IP、=Qではなく、かつ、進行
方向に分岐候補点が■PoとIP、02つの点に存在す
る場合、つまり第n図(al、Φ)の場合には、点IP
、を分岐点とする。ただし、第n図(a)、 (b)の
ように、進行方向に黒点は存在するが、それが分岐候補
点ではない場合には、点工Po及び/又はIP、は分岐
点とせず、これらの点IP。又はIP、の次の点を偏曲
点とする0 3−2.進行方向の3つの点IPo、  IP、、  
IP、が分岐候補点となっている場合。
3-1. If the point IP in the traveling direction is not Q, and there are branch candidate points in the traveling direction at two points Po and IP, that is, in the case of diagram n (al, Φ), the point IP
, is the branching point. However, as shown in FIGS. These points IP. or IP, with the next point as the inflection point 0 3-2. Three points in the direction of travel: IPo, IP,
When IP is a branch candidate point.

■ 点IP1において第11図の5×5のマスクを用い
、第あ図(a)、 (b)のようにして進行方向に対す
る分岐方向を詞べる。
(2) At point IP1, using the 5×5 mask shown in FIG. 11, determine the branching direction relative to the traveling direction as shown in FIGS. A (a) and (b).

■ 分岐方向が2方向にわたっている場合■−1,5X
5マスクの1又は7の方向に点が存在するとき、例えば
第四図の場合には、点IP!6分岐点とする。
■ If the branch direction spans two directions ■ -1,5X
When a point exists in the direction of 1 or 7 of the 5 mask, for example in the case of Figure 4, the point IP! There are 6 branching points.

■−2,5X5マスクの2又は6の方向に点が存在する
とき、例えば第30図の場合には、点IP、を分岐点と
する。
(2) When a point exists in the 2 or 6 direction of the -2,5×5 mask, for example in the case of FIG. 30, the point IP is set as the branch point.

■−3,5X5マスクの3又は5の方向に点が存在する
とき、例えば第31図の場合には、■Poを分岐点とす
る。
(2) When a point exists in the 3 or 5 direction of the -3,5×5 mask, for example in the case of FIG. 31, (2) Po is set as the branch point.

■ 分岐方向が3方向以上ある場合も同様に処理する。■ If there are three or more branching directions, process in the same way.

li+  ライン判断 エレメントのデータには、分岐点、端点、偏曲点の座標
が入る。そこで、ライン判断として以下の処理を行なう
The data of the li+ line determination element contains coordinates of branch points, end points, and deflection points. Therefore, the following process is performed as a line judgment.

・ 分岐点又は端点からなるスタート点から1画素点進
むごとに方向性のチェックを行ない、第32図(a)、
Φ)、(C)のように方向が髪ったら編曲点とみなしく
〔分岐点の検出〕の3−1項を参照)、その点の座標デ
ータをエレメント座標プレイに書込み、座標カウントを
カウントアツプする。また、分岐点もしくは端点が検出
されたらエレメントのE 1’J Dであるから、エレ
メントデータ全データベースに書込む。
- The directionality is checked every time one pixel point advances from the starting point consisting of a branch point or an end point, and as shown in Fig. 32 (a),
Φ), if the direction is straight as shown in (C), it is considered as an arrangement point [see section 3-1 of branch point detection]), write the coordinate data of that point to the element coordinate play, and count the coordinate count. rise. Furthermore, if a branch point or end point is detected, it is E 1'J D of the element, so it is written in the entire element data database.

・ 第33図(a)、 (b)に示すような、1段づつ
折れているような画素のつながりとなっている場合には
、偏曲点とはみなさないで単なる中間点として扱う。な
お、処理する線図形データは、既に細線化されているた
め、第33図(C)のような1ffll累のつながりと
なることはない。
- If the pixels are connected one step at a time, as shown in FIGS. 33(a) and 33(b), they are not regarded as eccentric points, but are treated as mere intermediate points. Note that since the line graphic data to be processed has already been thinned, it will not result in 1ffll connections as shown in FIG. 33(C).

(5)  グループエンドの検出 0分岐テーブルを調べ、そこにデータがなくなったらグ
ループエンドと判断してベクトル遺跡処理全路る。
(5) Detection of group end The 0 branch table is checked, and if there is no data there, it is determined that the group is at the end and all vector ruins processing is performed.

ここで、以上のベクトル追跡処理で作成、使用されるテ
ーブルについて説明する。
Here, the tables created and used in the above vector tracking process will be explained.

1、分岐テーブル ・ ベクトル追跡時に新たな分岐点が検出されたら、分
岐テーブルに分岐点のポイン)IDナンバー、分岐点の
座標9分岐方向(絶対方向)全書込む。このときの分岐
方向(絶対方向)は第34図に示すように定める。
1. Branch table When a new branch point is detected during vector tracking, write the point (point) ID number of the branch point, the coordinates of the branch point (9 branch directions (absolute direction)) all in the branch table. The branching direction (absolute direction) at this time is determined as shown in FIG.

・ 分岐点から離れる方向全圧、向う方向を負とする。・ Total pressure in the direction away from the branch point, negative in the opposite direction.

従って分岐点に向う方向には−を付ける。Therefore, the direction toward the branch point is marked with -.

・ 検索済みの方向データはOにする。・Set the searched direction data to O.

従って、第35図の例では第36図のようなテーブルに
なる。また、IP、はその分岐点の座標だけではな(て
、分岐点キー(−10)とポイントIDナンバーも付加
1−るので、実際の分岐テーブルのフォーマットは第3
7図のようになる。
Therefore, in the example of FIG. 35, the table becomes as shown in FIG. 36. In addition, IP is not only the coordinates of the branch point, but also the branch point key (-10) and point ID number, so the actual format of the branch table is the third one.
It will look like Figure 7.

・ 分岐方向が全てゼロになったら一つ前の分岐点に戻
る。
- When all branching directions become zero, return to the previous branching point.

・ 端点にきたら最新の分岐情報を参照し、負方向に対
して最も鋭角となる方向にベクトル追跡を行なう。
- When reaching the end point, refer to the latest branch information and trace the vector in the direction that makes the most acute angle with respect to the negative direction.

・ グループエンドの判断に使用する。・ Used to judge the end of the group.

・ 分岐テーブルは逐次、晋キ代えられる。・The branch table is replaced sequentially.

・ 分岐点−8TART点の場合には、負の方向がない
ため、このときには最初に進んだ方向を負の方向として
データに−を付ける。
- In the case of the branch point -8 TART point, there is no negative direction, so in this case, the first direction traveled is regarded as the negative direction, and a - mark is added to the data.

2、 コントロールテーブル ・ 抽出されたエレメントについて、その抽出順にエレ
メントを表わすエレメントIIJナンバーと、その接合
点を表わすポイン) I I)ナンバーを書込んだテー
ブルのことである。ここで、接合点とは、成るエレメン
トの始点と終点のことで、分岐点又は端点からなるもの
である。
2. Control table - This is a table in which element IIJ numbers representing the extracted elements and point numbers representing their junctions are written in the order of extraction. Here, a junction point refers to a starting point and an ending point of an element, and is a branching point or an end point.

・ ループ図形検出処理における接合行列の作成に使用
するものである。
- It is used to create a junction matrix in loop figure detection processing.

・ エレメント情報だけではなくて、それとは別にグル
ープ情報をも持っている。
- It has not only element information but also group information.

従って、第38図のようなベクトル追跡に際しては第3
9図のようなテーブルとなっている。
Therefore, in vector tracking as shown in Fig. 38, the third
The table is as shown in Figure 9.

ループ図形検出 (1)接合行列の作成 ・ 接合行列とはグループ内のエレメントと、その接合
点(分岐点及び端点)との関係を表わしたもので、行列
の行方向に左から右にエレメントIl)ナンバーを、そ
して列方向に上から下にポイン) L Dナンバー金そ
れぞれ第40図に示すようにとり、互に関係のあるエレ
メントとポイントとの交点には1ン、そうでない交点に
は0をそれぞれ与えたものである。
Loop figure detection (1) Creation of a junction matrix A junction matrix represents the relationship between elements in a group and their junction points (branch points and end points). ) number, and point from top to bottom in the column direction) Take the L and D numbers as shown in Figure 40, and mark the intersections of elements and points that are related to each other with 1, and the intersections that are not with 0. Each was given.

従って、この接合行列Bはコントロールデータテーブル
から作成することができ、このテーブルが第41図の左
1則のようになっていたとすれは、それから生成される
接合行列Bは第41図の右側の図のようになる。
Therefore, this junction matrix B can be created from the control data table, and if this table is like the first rule on the left in Figure 41, then the junction matrix B generated from it will be as shown on the right in Figure 41. It will look like the figure.

(2)行の横系 ここでは、ループに含まれないエレメントの検出全行な
う。
(2) Horizontal line system Here, all elements not included in the loop are detected.

・ 接合行列fJi調べ、各々の行のうち、行方向1行
の%flが1になる行があるか否かを第42図に示すよ
うに調べる。この第42図の例では第1行目の和がlに
tcっている。
- Examine the junction matrix fJi, and check whether there is a row in which %fl of one row in the row direction is 1, as shown in FIG. 42. In the example of FIG. 42, the sum of the first row is tc to l.

・ オOが1になっている行があったら、その行の1に
なっている懺累が含まれている列のエレメントはループ
に含まれないエレメント、つまり端点ケもったエレメン
トと判断し、それを表わすデータをオープンクラスタデ
ータとしてデータベースに登録する。
- If there is a row in which O is set to 1, the elements in the column that contain the summation set to 1 in that row are judged to be elements that are not included in the loop, that is, elements with endpoints, Data representing this is registered in the database as open cluster data.

・ 和が1になっている行の要素1を含む列をマスクし
、その結果、行方向のオロが1になる行が現われたら、
同じことを繰りがえす。
・ Mask the column containing element 1 of the row whose sum is 1, and as a result, if a row appears where the oro in the row direction is 1,
Repeat the same thing.

(3)列の検索 ここでは単一ループと多重ループの検出全行なう。なお
、ここでいう単一ループとは第43図に示すように1つ
のニレメン)Hn、従って1つの接合点Pmからなるル
ープのことで、多重ループとは第44図に示すように複
数のエレメントE5.  E6又はE6.  E7から
なり、従って複数の接合点P4、P5’!に有するルー
プのことである。
(3) Column search Here, both single loop and multiple loop detection are performed. Note that the single loop here refers to a loop consisting of one element (Hn) and therefore one junction Pm as shown in Fig. 43, and the multiple loop refers to a loop consisting of multiple elements as shown in Fig. 44. E5. E6 or E6. E7 and therefore multiple junctions P4, P5'! This refers to the loop that exists in .

1 接合行列Bの列のうちに、その列方向の和が第45
図に示すように1になっている列があったら、その列の
エレメントは単一ループ全形成するものとみなし、それ
會 IJm = (En ) としてループテーブルに書込む。第45図の例では、I
Jm = (E 2 )  となる。
1 Among the columns of the junction matrix B, the sum in the column direction is the 45th
If there is a column that is 1 as shown in the figure, the elements in that column are considered to form a single loop, and are written into the loop table as IJm = (En). In the example of Figure 45, I
Jm = (E2).

・ その列はマスクする。・Mask that column.

11  行列の要素の構成が同じ列のエレメントは第4
5図に示すように互に多重ループを形成するエレメント
とみなし Dk = (Ei 、 Ej ) をループテーブルに記憶する。
11 Elements in columns with the same matrix element configuration are the fourth
As shown in FIG. 5, Dk = (Ei, Ej), which are regarded as elements that mutually form multiple loops, are stored in the loop table.

・ 複数あった場合には順番にループを形成するものと
みなす。従って、第45図の例では1)、= (E5.
 E6)、 D、= (E6. E7)となる。
- If there is more than one, they are considered to form a loop in order. Therefore, in the example of FIG. 45, 1), = (E5.
E6), D, = (E6. E7).

(4)生成木の検出 生成木とは、成るグラフにおいて全ての頂点を結び、L
ooPを含まない最小のエレメントの集りのことで、こ
こでは最小ループ検出のために使用する。
(4) Detection of a generative tree A generative tree is a graph that connects all vertices in a graph consisting of L
It is a collection of minimum elements that do not include ooP, and is used here for minimum loop detection.

1 上記(3)において検宛済みの接合行列について、
各行の行方向1行の和が1になるようにそれぞれの行の
要素全消去する。
1 Regarding the junction matrix that has been checked in (3) above,
All elements in each row are deleted so that the sum of each row in the row direction is 1.

11  このとき、各列の1になっている要素のうちエ
レメントa号の多い方から優先的に消去し、かつ、それ
ぞれの列の中で1になっている要素の数が2とOのいず
れかとなるようにして消去する。
11 At this time, among the elements that are 1 in each column, the one with the most element number a is deleted first, and the number of elements that are 1 in each column is 2 or O. Erase it in such a way that it looks like this.

111  上記した行の和の計算に際しては、上の行か
ら下の行に向って順次行ない、各列で対をなし℃いる要
素は除く。
111 When calculating the above-mentioned row sums, perform the calculations sequentially from the top row to the bottom row, excluding elements that form pairs in each column.

′これを第46図で説明する。'This will be explained with reference to FIG.

上記(3)までの処理により、接合行列の各列には1と
なっている要素の数は、必ず0か2になっている。
Through the processing up to (3) above, the number of elements that are 1 in each column of the junction matrix is always 0 or 2.

そこでいま、 A=消去すべき要素 ■:残すべき要素 山:■の要素と対をなしているので残され、かつ、行の
和の計算には算入されない要素と丁れば、第46図で第
1行目には1列目と7列目のInが1になっているから
、上me l!のルールにより7列目の賛素會消去(=
O)L、これにより第1行目の和を1にする。
So now, A = Element to be deleted ■: Element pile to be retained: If we compare the elements that are left because they form a pair with the element of ■ and are not included in the calculation of the sum of rows, we get the following in Figure 46. In the first row, In in the first and seventh columns is 1, so the upper me l! According to the rule, the 7th column's support meeting is eliminated (=
O)L, which makes the sum of the first row 1.

第2行目では1列目と3列目、それに5列目の要素が1
になっている。しかして1列目の要素1は第1行目の要
素と対になっているから、上記111のルールによりこ
の要素は除いて和の計算を行ない、かつ上記11のルー
ルにより3列目ではなくて5列目の要素を消去し、行の
和を1にする。
In the second row, the elements in columns 1, 3, and 5 are 1
It has become. Therefore, element 1 in the first column is paired with the element in the first row, so according to rule 111 above, this element is excluded when calculating the sum, and according to rule 11 above, it is not in the third column. to delete the element in the 5th column and make the row sum 1.

以下、これを最下行まで繰り返すのである。This is repeated until the bottom row.

IV  1の要素が2つ残った列のニレメントラ生成水
とする。従って第46図の例では、El。
IV Let it be the Nilementra-produced water in the column with two elements of 1 remaining. Therefore, in the example of FIG. 46, El.

E3.hi4.E6が生成水となる。E3. hi4. E6 becomes produced water.

■ 消去したエレメントのナンバーも記録しておく。■ Also record the number of the deleted element.

(5)最小ループの検索 多重ループを含む線図形では、全てのループのデータ全
登録する必要はなく、最小単位のループのデータだけを
残らす取り込んでおけは、全てのループについてのデー
タを再生することかできる。
(5) Searching for the minimum loop For line drawings that include multiple loops, it is not necessary to register all the data for all the loops.If you import only the data for the minimum unit of loop, the data for all the loops will be played back. I can do something.

そのため、最小ループを検索してそのデータだけを記憶
するようにし、これにより最も少ないデータ量で全ての
ループデータが得られるようにしている。
Therefore, the minimum loop is searched and only that data is stored, thereby making it possible to obtain all the loop data with the least amount of data.

1(4)の生成水の検出処理を終えた接合行列Bについ
て、消去したエレメントの順に処理を進める。
Regarding the junction matrix B that has completed the generated water detection process in step 1(4), the process is performed in the order of the deleted elements.

11  消去したエレメントの中で1になっていた要素
の一方(Pm)から他方(Pn)への順路のうち最短の
ものを探す。
11 Find the shortest route from one (Pm) to the other (Pn) of the elements that were 1 among the deleted elements.

・ このとき、同一の行及びタリの中で1になっている
要素間での移動は自由である。
- At this time, you can freely move between elements that are set to 1 in the same row or tag.

実際には、接合行列B′tl−詞べ、要素PmからPn
への順路(1でつながる要素)を全てピックアップし、
要素の数が最も少ないものを最小ループとする。
In reality, the junction matrix B'tl - elements Pm to Pn
Pick up all the routes to (elements connected by 1),
The loop with the least number of elements is the minimum loop.

以下、これを第47図の例によって説明する。This will be explained below using the example shown in FIG.

いま、線図形が第47図(a)のようになっていたとす
ると、その接合行列Bは同図中)のようになる。
Now, if the line figure is as shown in FIG. 47(a), its junction matrix B will be as shown in the figure.

従って、エレメントE3.[4,E6の列が消去され、
生成水は第47図(C)に示すように、El、E2、E
5となっている。
Therefore, element E3. [4, column E6 is deleted,
As shown in Figure 47 (C), the produced water is composed of El, E2, E
It is 5.

そうすると、最小ループの検出は次のようになる。Then, the detection of the minimum loop becomes as follows.

■ 消去されたニレメン)E3の接合点P1からP3へ
向う1瞳路は 1)P1→P2→P3 2)P1→P2→P4→P3 3)P1→P4→P3 4)P1→P4→P2→P3 の4種類となる。このうち、最小ループは1)か3)と
なる。そして、最小ループが複数となったら、以下の優
先順位によって最小ループを定める。
■ The 1-pupil path from the junction point P1 of E3 (Erased) to P3 is 1) P1 → P2 → P3 2) P1 → P2 → P4 → P3 3) P1 → P4 → P3 4) P1 → P4 → P2 → There are four types: P3. Among these, the minimum loop is 1) or 3). Then, when there are multiple minimum loops, the minimum loop is determined based on the following priority order.

※ 最小ループが複数あった場合の優先順位<a>  
生成水を多く含む方が優先。
*Priority order when there are multiple minimum loops <a>
Priority is given to those containing more generated water.

Φ)生成水の数が同じになりだときには、他のループで
重なりがないかをチェッ クし、重なっている方を優先。
Φ) When the number of produced waters becomes the same, check to see if there is any overlap in other loops and give priority to the one that overlaps.

(C)  生成水のナンバーの近い方km先。(C) Kilometers away from the one with the closest generated water number.

従って、この■の場合は上記(a)のルールによりP1
→P2→P3を最小ループとする。
Therefore, in this case, according to the rule (a) above, P1
→P2→P3 is assumed to be the minimum loop.

■ 消去されたニレメン)E4の場合 1) P1→P3→P4 2) P1→P2→P4 従って、ルール(b)又は(C)によりP1→P3→P
4が最小ループとなる。
■ In the case of E4 (Erased Niremen) 1) P1 → P3 → P4 2) P1 → P2 → P4 Therefore, according to rule (b) or (C), P1 → P3 → P
4 is the minimum loop.

■ 消去されたエレメントE6の場合 1)P2→P1→P4 2)P2→P3→P4 従って、ルール(a)によりP2→P3→P4が最小ル
ープである。
■ Case of deleted element E6 1) P2→P1→P4 2) P2→P3→P4 Therefore, according to rule (a), P2→P3→P4 is the minimum loop.

111  最小ループは Dm = (Di l 、 
El 、 Ek −−)として表示する。従って、上記
■、■、■の場合は、 D、″(El、E2. E3)  ・・・・・・・・・
・・・■D、−(E3. E4.E5)  ・・・・・
・・・・・・・■D、=(E2. E5.E6)  ・
・・・・・・・・・・・■となる。         
          (、”・(も) ループテーブル
作成 ・ 検出した最小ループデータDn = (Et、 E
lEk、・・・・・・)會第絽図のようなループテーブ
ルに書込む。
111 The minimum loop is Dm = (Di l,
El, Ek --). Therefore, in the case of ■, ■, ■ above, D,'' (El, E2. E3) ・・・・・・・・・
...■D, -(E3. E4. E5) ...
...... ■D, = (E2. E5. E6) ・
・・・・・・・・・・・・■.
(,”・(also) Loop table creation・Detected minimum loop data Dn = (Et, E
lEk,...) is written to a loop table such as a meeting number chart.

・ 同様に、オーブンクラスタについても第49図のよ
うなオープンクラスタテーブルに書込む。
- Similarly, oven clusters are also written in the open cluster table as shown in Figure 49.

次に、このベクトル変換処理の一実施例におけるデータ
ファイルの書込みについて説明する。
Next, writing of a data file in one embodiment of this vector conversion processing will be described.

この実施例では、以下の6種類のデータがファイル書込
みされる。
In this embodiment, the following six types of data are written to the file.

(1)  エレメントl)データ ベクトル追跡処理を行なってエレメントが検出されたら
、以下の処理ケ行なう。
(1) Element l) When an element is detected by performing data vector tracking processing, perform the following processing.

1、 エレメントデータIDナンバー記入。1. Fill in the element data ID number.

2、始点ポイン)IDナンバー記入。2. Starting point) Enter the ID number.

3 始点ポイントデータ書込み。3. Write starting point data.

4、座標カウントのカウントアツプ。4. Count up the coordinate count.

座標アレイへの記入。Filling in the coordinate array.

5、終点iDナンバーの記入。5.Enter the end point ID number.

6、終点ポイントデータ薔込み。6. End point data included.

7 エレメントデータ書込み。7. Write element data.

(2)  ポイント(p)データ ポイントデータはエレメントの始点、終点及び単一点で
あり、このうち、エレメントの始点と終点はエレメント
検出時に、そして単一点は随時、ファイルに書込まれる
(2) Point (p) data Point data is the start point, end point, and single point of an element. Among these, the start point and end point of an element are written to a file when the element is detected, and the single point is written to a file at any time.

(3)接合行列データ (jitOUPのENDが検出されたら、コントロール
データテーブルから接合行列が作成され、その行列デー
タがファイルに書込まれる。
(3) Junction matrix data (When the END of jitOUP is detected, a junction matrix is created from the control data table, and the matrix data is written to a file.

(4)ループ(L)データ ループ検出によりて作成されたループテーブルを参照し
てループデータをファイルに書込む。
(4) Loop (L) Data Write loop data to a file by referring to the loop table created by loop detection.

(5)  オープンクラスタ(0)データループ検出に
より作成されたオープンクラスタテーブルを参照してオ
ープンクラスタデータをファイルに書込む。
(5) Open cluster (0) Refer to the open cluster table created by data loop detection and write open cluster data to a file.

(6)  カウントデータ 全ての線図形の検索が終ったら、ポイント総数、エレメ
ント総数、グループ総数、ループ総数、それにオープン
クラスタ総数をファイルに書込む。
(6) Count data When all line figures have been searched, write the total number of points, total number of elements, total number of groups, total number of loops, and total number of open clusters to a file.

従って、このデータのファイル書込みをフローチャート
で示すと、第(資)図に示すようになる。
Therefore, if this data is written into a file in a flowchart, it will be as shown in FIG.

この実施例によるベクトル変換処理によれば、線図形デ
ータがベクトル形式化された上、最小ループデータとし
て記憶されるため、必要な情報を失なうことなく、デー
タ量を充分に少くすることができる。
According to the vector conversion process according to this embodiment, line figure data is converted into a vector format and stored as minimum loop data, so the amount of data can be sufficiently reduced without losing necessary information. can.

また、このベクトル変換処理の実施例によれば、ベクト
ル形式のデータが、ポイント、エレメント、オーブンク
ラスタ、単一ループ、多重ループ、それにグループなど
に階層化されているため、修正処理(第2図のステップ
4)におけるデータの取扱いが単純化され、修正処理を
容易に、しかも正確に行なうことができる。
In addition, according to this embodiment of vector conversion processing, data in vector format is hierarchically divided into points, elements, oven clusters, single loops, multiple loops, groups, etc., so correction processing (see Fig. 2) is performed. The handling of data in step 4) is simplified, and correction processing can be performed easily and accurately.

以上説明したように、本発明によれは、ラスター形式の
線図形データをベクトル形式のデータに変換してから修
正処理と切抜き線抽出処理を行なうようにしtこから、
修正処理のためのデータの取扱いが容易になり、従来技
術の欠点?除き、修正作業が短時間でしかも正確に行な
え、しかもコンビーータの負荷が少(て済む画叡データ
変換方式全提供することができる。
As explained above, according to the present invention, after converting raster format line figure data to vector format data, correction processing and cutout line extraction processing are performed.
What are the drawbacks of the prior art, which makes it easier to handle data for corrective processing? However, it is possible to provide an entire image data conversion system that allows correction work to be performed in a short time and accurately, and that requires less load on the converter.

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

第1図は本発明による画像データ変換方式の一実施例が
適用された印刷用切抜きマスク作成装置の一例を示すブ
ロック図、第2図はその動作説明用のフローチャート、
第3図、第4図、第5図。 第6図、それに第7図はデータの流れにより示した動作
説明図、第8図は本発明におけるベクトル変換処理の一
実施例の動作を示すフローチャート、第9図はその動作
概念図、第10図及び第11図は検索用マスクの説明図
、第12図ないし第25図、第26図(a)、 (b)
、第n図(a)、 (1))、第四図(a)、 (b)
、第29図ないし第31図、第32図(a)、 (b)
、 (C)、第33図(a)、 (b)。 (C)、第34図ないし第36図はベクトル追跡動作の
説明図、第37図は分岐テーブルの概念図、第北図はベ
クトル追跡動作の一例?示す説明図、第39図は分岐テ
ーブルの一実施例を示す説明図、第40図は接合行列の
概念図、第41図は接合行列とコントロールテーブルと
の関係を示す説明図、第42図は行の検索の説明図、第
43図、第44図、第45図は列の検索の説明図、第4
6図は生成水の検出の説明図、第47図(a)、 (b
)、 (C)は最小ループ検索の説明図、第48図はル
ープテーブルの説明図、第49図はオープンクラスタテ
ーブルの説明図、第50図はデータ書込を示すフローチ
ャートである。 ■・・・・・・原画、2・・・・・・フィルタ、3・・
曲テレビジョンカメラ、4・・・・・・カメラコントロ
ーラ、5・曲・コンピュータ、6,7・・・・・・外部
メモリ、8・・曲ティジタイザ、9・・・・・・画1家
モニタ、 10・・・・・・プロッタ。 代理人弁理士 武 順次部(ほか1名)嗜 第31図 O ゲ畝鼻、 第34図       第35図 第36図 第38図 第39図 第40図 第41図 第42図 −翫 新 7スクする 区        〔 と 第48図 第49図 ; 第■図
FIG. 1 is a block diagram showing an example of a printing cutout mask creation device to which an embodiment of the image data conversion method according to the present invention is applied, and FIG. 2 is a flowchart for explaining its operation.
Figures 3, 4, and 5. 6 and 7 are explanatory diagrams of the operation shown in terms of data flow, FIG. 8 is a flowchart illustrating the operation of an embodiment of vector conversion processing in the present invention, FIG. 9 is a conceptual diagram of the operation, and FIG. Figures 11 and 11 are explanatory diagrams of search masks, Figures 12 to 25, and Figures 26 (a) and (b).
, Figure n (a), (1)), Figure 4 (a), (b)
, Figures 29 to 31, Figures 32 (a), (b)
, (C), Figure 33 (a), (b). (C), Figures 34 to 36 are explanatory diagrams of vector tracking operations, Figure 37 is a conceptual diagram of a branch table, and Figure North is an example of vector tracking operations? 39 is an explanatory diagram showing an example of a branch table, FIG. 40 is a conceptual diagram of a junction matrix, FIG. 41 is an explanatory diagram showing the relationship between a junction matrix and a control table, and FIG. 42 is an explanatory diagram showing an example of a branch table. Figures 43, 44, and 45 are illustrations of row search, and Figures 4 and 4 are illustrations of column search.
Figure 6 is an explanatory diagram of detection of produced water, Figure 47 (a), (b
), (C) is an explanatory diagram of the minimum loop search, FIG. 48 is an explanatory diagram of the loop table, FIG. 49 is an explanatory diagram of the open cluster table, and FIG. 50 is a flowchart showing data writing. ■・・・Original picture, 2...Filter, 3...
Music television camera, 4...Camera controller, 5...Music/computer, 6, 7...External memory, 8...Music digitizer, 9...Picture 1 monitor , 10... Plotter. Representative Patent Attorney Junjibu Take (and 1 other person) Figure 31 O Geunehana, Figure 34 Figure 35 Figure 36 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42 - Kanshin 7th Scroll 〔Figure 48Figure 49; Figure ■

Claims (1)

【特許請求の範囲】[Claims] (1)原画像から読取ったラスター形式の画11データ
を線図形データ化し、この線図形データを修正して切抜
き線抽出用のデータを得るようにした画像データ変換方
式において、上記線図形データンベクトル形式の線図形
データに変換し、この変換したデータの修正により上記
切抜き線抽出用のデータを得るように構成したことを%
徴とする画像データ変換方式。 (2、特許請求の範囲第1項において、上記ベクトル形
式のデータに変換された線図形データが階層化されて生
成されるように構成されていることを特徴とする画像デ
ータ変換方式。
(1) In an image data conversion method in which raster format drawing data read from an original image is converted into line figure data, and this line figure data is modified to obtain data for extracting cutout lines, the line figure data is converted into line figure data. % that the data for extracting the cutout line is obtained by converting it to line figure data in vector format and modifying the converted data.
Image data conversion method. (2. The image data conversion method according to claim 1, characterized in that the line graphic data converted to the vector format data is generated in a hierarchical manner.
JP58066313A 1983-04-16 1983-04-16 Picture data converting system Pending JPS59191667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58066313A JPS59191667A (en) 1983-04-16 1983-04-16 Picture data converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58066313A JPS59191667A (en) 1983-04-16 1983-04-16 Picture data converting system

Publications (1)

Publication Number Publication Date
JPS59191667A true JPS59191667A (en) 1984-10-30

Family

ID=13312207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58066313A Pending JPS59191667A (en) 1983-04-16 1983-04-16 Picture data converting system

Country Status (1)

Country Link
JP (1) JPS59191667A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269276A (en) * 1986-05-19 1987-11-21 Nippon Telegr & Teleph Corp <Ntt> Interactive graphic inputting system
JPS62274467A (en) * 1986-05-23 1987-11-28 Nippon Telegr & Teleph Corp <Ntt> Intellectual conversation processing method
JPH01126717A (en) * 1987-11-12 1989-05-18 Toshiba Corp Linear graphic input device
JPH01126774A (en) * 1987-11-12 1989-05-18 Toshiba Corp Graphic input device
JPH01185772A (en) * 1988-01-21 1989-07-25 Fujitsu Ltd Display device
JPH07239679A (en) * 1994-02-25 1995-09-12 Kazuo Toraichi Device for forming signboard

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269276A (en) * 1986-05-19 1987-11-21 Nippon Telegr & Teleph Corp <Ntt> Interactive graphic inputting system
JPS62274467A (en) * 1986-05-23 1987-11-28 Nippon Telegr & Teleph Corp <Ntt> Intellectual conversation processing method
JPH01126717A (en) * 1987-11-12 1989-05-18 Toshiba Corp Linear graphic input device
JPH01126774A (en) * 1987-11-12 1989-05-18 Toshiba Corp Graphic input device
JPH01185772A (en) * 1988-01-21 1989-07-25 Fujitsu Ltd Display device
JPH07239679A (en) * 1994-02-25 1995-09-12 Kazuo Toraichi Device for forming signboard

Similar Documents

Publication Publication Date Title
EP1901228B1 (en) Apparatus, method and program for image matching
JPS63145577A (en) Pattern data generating method
JPS59191667A (en) Picture data converting system
JP2747706B2 (en) Picture film distortion correction method
JPH0981740A (en) Diagram input device
JP2761900B2 (en) Picture film distortion correction method and apparatus
JPH04141783A (en) Device and method for preparing electron beam graphic data
JPS62131382A (en) Vector conversion system for binary picture
JP2735197B2 (en) Graphic input device
JP2729699B2 (en) Tracking start point input method and device
JPH06148089A (en) Craze measuring processor
JPS6275873A (en) Drawing control system
JP2559359B2 (en) Image structure storage method and image registration apparatus
JP2544330B2 (en) Management method of drawing data
JPH0510709B2 (en)
JP2789338B2 (en) Picture film distortion correction device
JPH07282230A (en) Method for connecting map drawing data
JPH0535872A (en) Contour tracing system for binary image
JPS63204469A (en) Drawing processing system
JPH0290281A (en) Method for recognizing reference point of regular pattern
JP2838556B2 (en) Image processing device
JP2611020B2 (en) Object recognition method
JPH02266478A (en) Method for recognizing drawing
EP0682319A2 (en) Improvements in image processing
JPH02146681A (en) Contour line extracting system