JP2646478B2 - Compression storage device and composite output device for divided reading of character and graphics - Google Patents

Compression storage device and composite output device for divided reading of character and graphics

Info

Publication number
JP2646478B2
JP2646478B2 JP5166010A JP16601093A JP2646478B2 JP 2646478 B2 JP2646478 B2 JP 2646478B2 JP 5166010 A JP5166010 A JP 5166010A JP 16601093 A JP16601093 A JP 16601093A JP 2646478 B2 JP2646478 B2 JP 2646478B2
Authority
JP
Japan
Prior art keywords
data
junction
image
approximation
point
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
JP5166010A
Other languages
Japanese (ja)
Other versions
JPH06348837A (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.)
Toraichi Kazuo
Original Assignee
Toraichi Kazuo
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 Toraichi Kazuo filed Critical Toraichi Kazuo
Priority to JP5166010A priority Critical patent/JP2646478B2/en
Publication of JPH06348837A publication Critical patent/JPH06348837A/en
Application granted granted Critical
Publication of JP2646478B2 publication Critical patent/JP2646478B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、少ないメモリ容量の
装置を用いて、文字図形を含む大きい原画を分割して読
取り圧縮し記憶し再生する装置に関する。図形の記録、
再生を少ない容量のメモリで行うことができ、しかも記
録品質が極めて優れており、再生文字、図形がきれいで
ある装置を提供することを目的とする。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for dividing, reading, compressing, storing, and reproducing a large original picture including a character and a graphic by using an apparatus having a small memory capacity. Record of figures,
It is an object of the present invention to provide an apparatus that can perform reproduction with a memory having a small capacity, has excellent recording quality, and has excellent reproduction characters and graphics.

【0002】[0002]

【従来の技術】文字や図形をイメ−ジスキャナによって
読取り、デジタル化してこれをメモリに記憶させる装置
は既に多数存在する。イメ−ジスキャナの画面は縦横の
画素に分割される。画素が、横M個、縦N個並んでいる
とすると、全部でMN個の画素が存在することになる。
画素を簡単にドットと呼ぶこともある。1画素について
デ−タがnビットあるとすると、全体でのデ−タ量はn
MNビットとなる。画像の鮮明度はもちろん画面の分割
数MNが大きいほど勝っている。しかしMNが大きい
と、1枚の画面でのデ−タ量nMNだけでも膨大なデ−
タ量になってしまう。これをそのまま記憶させると、非
常に広大なメモリが必要になる。実際、現在使用されて
いる印刷機械などでは、イメ−ジデ−タの記憶のために
は膨大なメモリを使っている。
2. Description of the Related Art There are already many devices for reading characters and figures by an image scanner, digitizing the characters and figures, and storing them in a memory. The screen of the image scanner is divided into vertical and horizontal pixels. Assuming that M pixels are arranged horizontally and N pixels vertically, MN pixels exist in total.
Pixels are sometimes simply called dots. Assuming that there are n bits of data for one pixel, the total amount of data is n
MN bits. The higher the division number MN of the screen is, the higher the image clarity is, of course. However, when the MN is large, a huge amount of data can be obtained only by the data amount nMN on one screen.
It becomes the amount of data. If this is stored as it is, a very large memory is required. In fact, a printing machine currently used uses an enormous amount of memory for storing image data.

【0003】かといって分割数MNを少なくすると、画
面が粗くなり再生画像の品質が劣化する。適当な分割数
がメモリの容量と画像品質への要求から決められる。実
際の文字図形は連続した輪郭線に囲まれた連続図形であ
ることが多い。そこでまた輪郭線は直線の集合である
か、直線と滑らかな曲線、あるいは真円の集合であるこ
とが多い。1ドット毎に勾配が変化するような図形は取
り扱わない。そこで、原画をイメ−ジスキャナで読み取
った後、デジタル化し、直ぐにメモリに記憶させるので
はなくこれを圧縮するということが試みられる。しかし
現在のところ充分にデ−タ圧縮できてしかも、再生画像
が高品質であるというような圧縮方法は本発明者の方法
以外には見い出されていない。
On the other hand, if the number of divisions MN is reduced, the screen becomes coarse and the quality of the reproduced image deteriorates. An appropriate number of divisions is determined based on the memory capacity and the demand for image quality. Actual character figures are often continuous figures surrounded by continuous outlines. Therefore, the contour is often a set of straight lines, a set of straight lines and smooth curves, or a set of perfect circles. A figure whose gradient changes every dot is not handled. Therefore, it is attempted to read the original image with an image scanner, digitize the image, and compress the image instead of immediately storing it in a memory. However, at present, no other compression method has been found other than that of the present inventor, which can sufficiently compress data and has a high quality reproduced image.

【0004】本発明者の文字デ−タの圧縮方法、図形デ
−タの圧縮方法は、特願平4−259137号、特願平
4−269646号に提案されている。これは原画を読
取り、デジタル化した後、輪郭線を抽出し、輪郭線の各
点における曲率を計算し、曲率の大きい点を接合点と
し、接合点を整理し、接合点の位置を修正した後に、隣
接接合点を繋ぐ線のパラメ−タを求める。この時、接合
点を結ぶ線が曲線である場合は、本発明者の創案したフ
ル−エンシ−関数を用いる。これが大きな特徴である。
こうして求めた接合点の座標と、接合点を繋ぐ線のパラ
メ−タをメモリに記憶させる。こうすると、輪郭線以外
の画素のデ−タが不要になる。また輪郭線上であっても
接合点以外の点のデ−タは不要になる。従って、記憶さ
せるべきデ−タの量が大幅に減少する。メモリの容量も
少なくて良い。誠に優れた発明である。
The inventor's method of compressing character data and graphic data has been proposed in Japanese Patent Application Nos. 4-259137 and 4-269646. This is to read the original image, digitize it, extract the contour, calculate the curvature at each point of the contour, use the point with the large curvature as the joining point, arrange the joining point, and correct the position of the joining point Later, the parameters of the line connecting the adjacent junctions are determined. At this time, if the line connecting the joining points is a curve, the full-energy function created by the inventor is used. This is a major feature.
The coordinates of the joining point thus determined and the parameters of the line connecting the joining points are stored in the memory. This eliminates the need for data on pixels other than the contour line. Further, even on the contour line, data at points other than the joining point becomes unnecessary. Therefore, the amount of data to be stored is greatly reduced. The memory capacity may be small. It is a truly excellent invention.

【0005】[0005]

【発明が解決しようとする課題】メモリ容量の大きい大
型のコンピュ−タであれば、A4やB4の大きさの原画
であってもそのまま読取り圧縮しメモリに記憶させるこ
とができよう。メモリ容量が大きい装置の場合は前記の
発明の方法をそのまま適用できる。これらの発明を安価
なパ−ソナルコンピュ−タを使って実施したいものであ
る。しかし、パ−ソナルコンピュ−タの小さいメモリ容
量では、小さい原画しか処理できない。一時的にしても
入力画像のデ−タを全て記憶しなければならないが、こ
のために必要なメモリ容量がかなり大きいためである。
With a large computer having a large memory capacity, an original picture of A4 or B4 size can be read and compressed as it is and stored in the memory. In the case of an apparatus having a large memory capacity, the method of the present invention can be applied as it is. We would like to implement these inventions using an inexpensive personal computer. However, with a small memory capacity of a personal computer, only a small original image can be processed. All data of the input image must be stored even temporarily, because the required memory capacity is considerably large.

【0006】例えばパ−ソナルコンピュ−タを使った場
合、256ドット×256ドットの小さい正方形領域で
画像読取りをする装置を前記の発明に従って作ることが
できる。ドット数が制限されると原画の大きさも制約を
受ける。例えば、320dpiのイメ−ジスキャナを用
いると、256ドット×256ドットの寸法は、約2c
m角の大きさになる。2cm角の小さい原画ならこれで
有効に利用できる。このように小さい原画を記憶再生さ
せるということでも利益はある。しかし読取り可能な領
域が極めて狭いので、用途が限られる。より広い面積の
原画を処理できるということが切に望まれる。
For example, when a personal computer is used, an apparatus for reading an image in a small square area of 256 dots.times.256 dots can be manufactured according to the above-mentioned invention. When the number of dots is limited, the size of the original image is also limited. For example, if an image scanner of 320 dpi is used, the size of 256 dots × 256 dots is approximately 2c.
The size is m square. This makes it possible to effectively use small originals of 2 cm square. There is also a benefit in storing and reproducing such a small original image. However, the readable area is extremely small, which limits its use. It is urgently desired to be able to process a larger area of the original image.

【0007】より粗いドットのイメ−ジスキャナを用い
れば読取り領域の寸法は大きくなるが、反対に読取りデ
−タが粗くなり望ましくないこともある。もしも同等の
精度で、A4の寸法(縦30cm×横21cm)の原画
を読取り処理しようとすると、15倍×11倍=165
倍のメモリ容量を必要とする。通常のパ−ソナルコンピ
ュ−タでこのような膨大なデ−タ量をそのまま取り扱う
ことは不可能である。このような難点を解決し、メモリ
容量の小さいコンピュ−タを使いながら前記の発明をよ
り広い面積の原画にも適用できるようにした装置を提供
することが本発明の第1の目的である。適切な関数近似
により、輪郭線を簡明に記述し、再生画像の品質を高め
ることのできる装置を提供することが第2の目的であ
る。
The use of a coarser dot image scanner increases the size of the reading area, but on the contrary, the reading data becomes coarser, which may be undesirable. If the original image of A4 size (30 cm × 21 cm) is read and processed with the same accuracy, 15 × 11 × 165
Requires twice the memory capacity. It is impossible for ordinary personal computers to handle such a huge amount of data as it is. SUMMARY OF THE INVENTION It is a first object of the present invention to provide an apparatus which solves such a difficulty and which can apply the above-mentioned invention to an original having a larger area while using a computer having a small memory capacity. It is a second object of the present invention to provide a device capable of simply describing a contour by appropriate function approximation and improving the quality of a reproduced image.

【0008】[0008]

【課題を解決するための手段】本発明の方法は、大きい
原画をイメ−ジスキャナで読取り、読み取られた画像
を、1ドットずつ重なる小さい画像処理可能な基本処理
領域に分割し、これらの分割画像を一つの図形として取
り扱い、輪郭線抽出と接合点抽出を行い、接合点間の線
を関数近似する。同じ処理を全ての分割画像について行
う。分割画像について行う処理は、前記の特願平4−2
59137号に提案されている方法と同じである。全て
の分割画像についての接合点と、接合点間を結ぶ線のパ
ラメ−タが求められる。そしてこれらをメモリに記憶さ
せる。再生も分割画像毎に行う。1ドットずつ重なるの
で連続した大きい画像が再生される。
According to the method of the present invention, a large original image is read by an image scanner, and the read image is divided into small image processing basic processing areas overlapping by one dot. Is treated as one figure, contour line extraction and joint point extraction are performed, and the line between the joint points is approximated by a function. The same processing is performed for all the divided images. The processing to be performed on the divided image is as described in the above-mentioned Japanese Patent Application No. 4-2.
This is the same as the method proposed in No. 59137. The joint points for all the divided images and the parameters of the line connecting the joint points are obtained. Then, these are stored in the memory. Reproduction is also performed for each divided image. Since the dots overlap by one dot, a continuous large image is reproduced.

【0009】原画を縦横に基本処理領域によって分割す
るのであるから、上下左右の端辺において、分割画像の
一部に原画が存在しない領域が発生する。この部分は画
素デ−タを0とする。つまり原画からはみ出した残余の
部分には0を埋め込んでゆく。こうしてすべての分割画
像が基本処理領域の大きさになる。隣接する分割画像間
で、曲線や直線が滑らかに繋がるように幾つかの工夫が
なされる。隣接分割画像間で重複する1ドット分を境界
部分ということにする。境界部分の画素は特に重要であ
る。この部分は隣接する分割画像で同一のドットデ−タ
を持つ。これが異なる分割画像で異なる処理を受ける。
境界部分のドットデ−タが接合点抽出関数近似の際に消
えてしまってはいけない。そこで接合点抽出の時に境界
部分では両端の黒画素を必ず接合点にする。
[0009] Since the original image is divided vertically and horizontally by the basic processing area, an area where the original image does not exist in a part of the divided image occurs at the upper, lower, left and right edges. In this part, the pixel data is set to 0. In other words, zeros are embedded in the remaining portions that protrude from the original image. Thus, all the divided images have the size of the basic processing area. Some measures are taken so that curves and straight lines are smoothly connected between adjacent divided images. One dot overlapping between adjacent divided images is referred to as a boundary portion. The pixels at the border are particularly important. This portion has the same dot data in adjacent divided images. It undergoes different processing on different divided images.
The dot data at the boundary must not disappear during the approximation of the junction extraction function. Therefore, at the time of extraction of the junction, the black pixels at both ends are always used as the junction at the boundary.

【0010】次に本発明の方法の概略を予め説明する。 任意の大きさの文字図形などを光学的手段によって読
取る。 第1の画像記憶装置により光学的手段によって読み取
ったデ−タを記憶する。 画像処理可能な基本処理領域に分割し、分割画像毎に
デ−タを切り出す。この時、境界線に沿って1ドット分
重なるようにする。分割画像のデ−タを第2の画像記憶
装置に記憶させる。 各分割画像に対して輪郭線抽出を行う。これは、第2
の画像記憶装置から分割画像毎のデ−タを読み出すこと
によって行う。輪郭線は輪郭点列として与えられる。 各分割画像に対して輪郭点列を記憶する。 境界接合点を抽出する。これはふたつの分割画像の境
界の近傍にある接合点である。これは本発明の特徴のひ
とつである。分割されたデ−タを再生時に接合させた時
に滑らかに繋がるように、周囲と接している境界部分の
接合点を強制的に抽出する。抽出された接合点はいかな
る場合にも接合点として存在する必要があるので、以後
の処理では特別な接合点として取り扱われ、接合点除去
機構などで除去されることがない。 一つの分割画像についてデ−タ近似を行いデ−タを圧
縮する。圧縮デ−タを記憶する。デ−タの圧縮は前記の
特願平4−259137号、特願平4−269646号
と同じ方法で行う。輪郭線から接合点の抽出を行い、こ
れの座標を求める。接合点の内不要なものを削除する。
残った隣接接合点を結ぶ線が、直線、円弧、自由曲線の
いずれであるのかを求め、これらの線を定義するパラメ
−タとともに記憶させる。自由曲線で隣接接合点をつな
ぐ時にフル−エンシ−関数を用いる。デ−タの数が著し
く減り、しかも直線が奇麗になり、曲線が滑らかにな
る。デ−タ数が減少するのでデ−タ圧縮というのであ
る。これは各分割画像毎におこなうデ−タの圧縮作業で
ある。ひとつの分割画像の圧縮デ−タを記憶装置に記憶
させたら、次の分割画像について同じことを行う。順次
全ての分割画像についてデ−タ圧縮を行う。こうして全
ての分割画像が、接合点と接合点とをつなぐ線によって
表される。 画像の再生は、各分割画像毎の再生を繰り返して行う
ことによってなされる。圧縮デ−タからの画像の再生も
前記の特願平4−25913号、特願平4−26964
6号と同様にして行う。この時レイアウトエディタを用
いて分割画像をくっつけるようにレイアウトする。分割
画像は境界において1ドットずつ重なるように再生す
る。
Next, the outline of the method of the present invention will be described in advance. An arbitrary size character figure or the like is read by optical means. Data read by optical means by the first image storage device is stored. The image is divided into basic processing areas capable of image processing, and data is cut out for each divided image. At this time, one dot is overlapped along the boundary line. The data of the divided image is stored in the second image storage device. Contour extraction is performed on each divided image. This is the second
This is done by reading out data for each divided image from the image storage device. The outline is given as an outline point sequence. An outline point sequence is stored for each divided image. Extract boundary junctions. This is a joint point near the boundary between the two divided images. This is one of the features of the present invention. In order to smoothly connect the divided data when they are joined at the time of reproduction, the joining points at the boundary portions in contact with the surroundings are forcibly extracted. Since the extracted joint point must exist as a joint point in any case, it will be treated as a special joint point in the subsequent processing and will not be removed by a joint point removing mechanism or the like. Data approximation is performed on one divided image to compress the data. The compressed data is stored. Data compression is performed in the same manner as in the aforementioned Japanese Patent Application Nos. 4-259137 and 4-269646. A joint point is extracted from the contour line, and its coordinates are obtained. Remove unnecessary junction points.
It is determined whether the line connecting the remaining adjacent joint points is a straight line, a circular arc, or a free curve, and is stored together with parameters defining these lines. A full-energy function is used when connecting adjacent junctions with a free curve. The number of data is remarkably reduced, and the straight line becomes clear and the curve becomes smooth. This is called data compression because the number of data is reduced. This is a data compression operation performed for each divided image. When the compressed data of one divided image is stored in the storage device, the same is performed for the next divided image. Data compression is sequentially performed on all the divided images. In this way, all the divided images are represented by lines connecting the joining points. The reproduction of the image is performed by repeating the reproduction for each divided image. The reproduction of an image from compressed data is also described in Japanese Patent Application Nos. 4-25913 and 4-26964.
Perform in the same manner as in No. 6. At this time, a layout editor is used to lay the divided images together. The divided images are reproduced so as to overlap by one dot at the boundary.

【0011】[0011]

【作用】図面によって本発明の手法を説明する。図1は
第1の画像記憶装置から分割画像を切り出しデ−タ圧縮
してこれを第2の画像記憶装置に記憶させる操作を示
す。原図は例えばA4の大きさやA3の大きさのある通
常の文書の大きさである。これをイメ−ジスキャナで光
学的に図形文字を読取る。これが第1の画像記憶装置1
に記憶される。原画が大きいので、デ−タの量も多くな
る。、デ−タの量が多過ぎるので、市販のパソコンの能
力では,そのままでデ−タ圧縮ができない。そこでこれ
をデ−タ圧縮の可能な、基本処理領域に分割する。これ
を例えば256×256の小領域とする。基本処理領域
の画像を分割画像ということにする。以下に述べる手順
に従い、順番に分割画像をひとつずつデ−タ圧縮した
後、第2の画像記憶装置1′に記憶させる。
The method of the present invention will be described with reference to the drawings. FIG. 1 shows an operation of cutting out a divided image from the first image storage device, compressing the data, and storing the data in the second image storage device. The original figure is, for example, the size of a normal document having the size of A4 or A3. This is read optically by an image scanner. This is the first image storage device 1
Is stored. Since the original is large, the amount of data is also large. Since the amount of data is too large, the data cannot be compressed as it is with the capacity of a commercially available personal computer. Therefore, this is divided into basic processing areas where data can be compressed. This is, for example, a small area of 256 × 256. The image in the basic processing area is referred to as a divided image. In accordance with the procedure described below, the divided images are data-compressed one by one, and then stored in the second image storage device 1 '.

【0012】分割画像は充分に小さいので、市販のパソ
コンを用いて本発明の方法により簡単にデ−タ圧縮する
ことができる。デ−タ圧縮は、輪郭点列抽出、曲率演
算、曲率記憶、真円抽出、接合点抽出、最適接合点抽
出、接合点除去、接合点の記憶、接合点を結ぶ線の導
出、この線のパラメ−タの記憶などによってなされる。
原画は全体が第1の画像記憶装置1に記憶されている。
左上から単位の大きさに右方向へ分割してゆく。これを
ひとつずつ圧縮処理する。第1の分割画像を切り出し、
これをデ−タ圧縮したものを第2の画像記憶装置1′
(圧縮デ−タ記憶装置)に記憶させる。これを図1の
(1)に示す。続いて、第2番目の基本処理領域を切り
取り、第2の分割画像とする。第2の分割画像について
も同様のデ−タ圧縮操作を行う。つまり、輪郭点列抽
出、曲率演算、曲率記憶、真円抽出、接合点抽出、最適
接合点抽出、接合点除去、接合点の記憶、接合点を結ぶ
線の導出、この線のパラメ−タの記憶などを、第2の分
割画像について行い、この結果を第2の画像記憶装置
1′(圧縮デ−タ記憶装置)に記憶させる。これを図1
の(2)に示す。
Since the divided image is sufficiently small, the data can be easily compressed by the method of the present invention using a commercially available personal computer. Data compression includes contour point sequence extraction, curvature calculation, curvature storage, perfect circle extraction, junction extraction, optimal junction extraction, junction removal, junction storage, derivation of lines connecting junctions, This is performed by storing parameters.
The entire original image is stored in the first image storage device 1.
It divides into the unit size from the upper left to the right. This is compressed one by one. Cut out the first divided image,
The data obtained by compressing the data is stored in a second image storage device 1 '.
(Compressed data storage device). This is shown in FIG. Subsequently, a second basic processing area is cut out to be a second divided image. The same data compression operation is performed on the second divided image. In other words, contour point sequence extraction, curvature calculation, curvature storage, perfect circle extraction, junction extraction, optimal junction extraction, junction removal, junction storage, derivation of the line connecting the junctions, parameters of this line The storage is performed on the second divided image, and the result is stored in the second image storage device 1 '(compressed data storage device). Figure 1
(2).

【0013】3番目の分割画像を切り出すと、これは全
体が白画素よりできたものである。黒画素がない。つま
り白紙部分である。これは輪郭点列抽出などの処理が不
要である。すぐに次の分割画像の切り出しと圧縮処理に
移ることができる。以下同様にこのような分割画像毎の
デ−タ圧縮を繰り返し、全ての分割画像についてデ−タ
圧縮をする。もしも原図が横にM′個、縦にN′個の分
割画像に分けられたとすると、合計M′N′の分割画像
がある。この場合はM′N′の分割画像について同じデ
−タ圧縮操作を繰り返す。
When the third divided image is cut out, it is entirely made of white pixels. There are no black pixels. That is, it is a blank portion. This eliminates the need for processing such as contour point sequence extraction. Immediately, the processing can be shifted to the next divided image clipping and compression processing. Hereinafter, data compression for each divided image is repeated in the same manner, and data compression is performed for all divided images. If the original image is divided into M 'horizontal and N' vertical divided images, there are a total of M'N 'divided images. In this case, the same data compression operation is repeated for the M'N 'divided images.

【0014】大きい原画を分割する際に本発明では境界
の1画素分が重なるようにして分割する。図2は分割の
際に境界が重なっていることを示す図である。分割画像
は4辺、3辺あるいは2辺において他の分割画像と境を
接している。縦横の境界で1画素つまり1ドットずつ重
なるように領域分割する。これは再生画像が元の画像を
正しく再現するためである。例えば基本領域つまり分割
画像の大きさを例えば256ドット×256ドットとす
る。分割画像の大きさはこれに限らず、2の乗羃である
128、512ドットなどの平方に設定することもでき
る。しかし敢えて2の乗羃でなくても良い。適当な大き
さであって使用しているコンピュ−タで簡単にデ−タ圧
縮ができれば良いのである。1ドットの重なりが必要な
理由を説明する。分割画像PとQにおいて、両方に掛か
る図のようなパタ−ンが存在しているとする。左の分割
画像Pでは境界に3つの黒画素が縦に並ぶ。同じ3つの
黒画素が右の分割画像Qでも並ぶ。境界線で1ドット分
を左右の分割画像が共有するからである。デ−タ圧縮
し、第2の画像記憶装置に記憶する。これを再び読み出
して再生すると、下の再生画像P+Qを得る。境界線の
3つの黒画素を共有していたので境界でふたつの分割画
像が滑らかに繋がることができる。
In the present invention, when a large original image is divided, the original image is divided such that one pixel at the boundary overlaps. FIG. 2 is a diagram showing that boundaries are overlapped at the time of division. The divided image is bordered on other sides by four sides, three sides or two sides. The region is divided so that one pixel, that is, one dot overlaps the vertical and horizontal boundaries. This is because the reproduced image correctly reproduces the original image. For example, the size of the basic area, that is, the size of the divided image is, for example, 256 dots × 256 dots. The size of the divided image is not limited to this, and may be set to a square such as 128, 512 dots, which is a power of two. However, it does not have to be a power of two. It is sufficient if the data can be easily compressed by an appropriate size computer. The reason why one dot overlap is required will be described. It is assumed that there is a pattern as shown in FIG. In the left divided image P, three black pixels are vertically arranged on the boundary. The same three black pixels are arranged in the right divided image Q. This is because the left and right divided images share one dot at the boundary line. The data is compressed and stored in the second image storage device. When this is read out and reproduced again, a lower reproduced image P + Q is obtained. Since the three black pixels on the boundary line are shared, the two divided images can be smoothly connected at the boundary.

【0015】もしも境界線を共有しないとすると再生画
像に隙間ができたり変形したりする。図3によって説明
する。図3では1画素分の重なりを取らずに、単位の大
きさに原画を分割している。分割画像PとQにおいて先
程と同様のパタ−ンがあるとする。左の分割画像では境
界に縦に並ぶ3つの黒画素がある。右の分割画像ではこ
れがなく、2つの黒画素が並ぶ。これがデ−タ圧縮され
て第2の画像記憶装置1′に記憶される。これを再生す
ると、下段の左のように分割画像PとQの間に隙間がで
きる。重なりがないので間が繋がらないためである。あ
るいは、下段の右のように段差ができてしまう。いずれ
にしても原画から離れてしまい。原画を忠実に再現する
ことができない。このような訳で、図2に示すように分
割画像は互いに境界で1ドット分重なるようにするので
ある。
If the boundary line is not shared, a gap or deformation occurs in the reproduced image. This will be described with reference to FIG. In FIG. 3, the original image is divided into unit sizes without overlapping one pixel. It is assumed that there is a pattern similar to the above in the divided images P and Q. In the left divided image, there are three black pixels vertically arranged on the boundary. The right divided image does not have this, and two black pixels are arranged. This is data-compressed and stored in the second image storage device 1 '. When this is reproduced, a gap is formed between the divided images P and Q as shown on the lower left. This is because there is no overlap and no connection is made. Alternatively, a step is formed as shown on the lower right. Either way, you will be away from the original. The original picture cannot be faithfully reproduced. For this reason, the divided images are overlapped with each other by one dot at the boundary as shown in FIG.

【0016】原画が全体で何ドット×何ドットとなるか
ということは、原画の幾何学的大きさの他にイメ−ジス
キャナのドット数による。縦横の大きさはまちまちであ
り、基本の大きさ(例えば256×256ドット)の整
数倍ではない。分割画像で原画を切り取ってゆく(1ド
ットずつ重ならせて)と、図4に示すように、右端に基
本単位領域に余りがでる。下端にも同様に余りがでる。
余りがでた場合は、この余りの部分には白画素(つまり
0)を対応させる。右、下の基本単位領域の余りの部分
に0を埋め込んでゆくのである。画像分割する時に、境
界に沿う直線の端点は接合点として残す。接合点という
のは後に説明するように、本来は曲線の一部で曲率が大
きい点として定義されるものである。これはデ−タ圧縮
をする際のデ−タとして重要である。圧縮デ−タは接合
点とこれらを結ぶ直線、曲線である。初めに接合点とし
て現れても、これが除去操作によって消えることがあ
る。境界上の直線の端点はたとえ除去操作で消えるべき
ものとしても、接合点として残すということである。こ
れは境界線でふたつの分割画像が滑らかにつながるよう
にという目的のためである。
The total number of dots of the original picture is determined by the number of dots of the image scanner in addition to the geometric size of the original picture. The vertical and horizontal sizes vary, and are not integral multiples of the basic size (for example, 256 × 256 dots). When the original image is cut out from the divided images (overlapping one dot at a time), a remainder is left in the basic unit area at the right end as shown in FIG. The same applies to the lower end.
If there is a surplus, a white pixel (that is, 0) is made to correspond to the surplus portion. Zeros are embedded in the remaining portions of the right and lower basic unit areas. When dividing an image, the end points of a straight line along the boundary are left as joint points. As will be described later, a junction point is originally defined as a point having a large curvature in a part of a curve. This is important as data for data compression. The compression data is a joint point and a straight line or a curve connecting these points. Even if it initially appears as a junction, it may disappear by the removal operation. The end point of the straight line on the boundary is left as a junction even if it should be erased by the removal operation. This is for the purpose of smoothly connecting the two divided images at the boundary line.

【0017】図2のように境界線と、パタ−ンの線が大
きい角度をなし(ここでは直角)ている場合は、右側の
分割画像Qの最下の黒画素が消えないので、滑らかに接
続される。しかし、パタ−ンの線と境界線が小さい角度
をなす場合は、パタ−ンを再生するために必要な接合点
が消えてしまうことがある。これを防ぐために、境界上
の直線の端点をなす接合点は除去しないと決めるのであ
る。図5によってこれを説明する。(1)に示すように
原図に分割線に対して小さい角度をなすような、斜線が
あるとする。この斜線と分割線が交差している。この場
合右の分割画像は(2)に示すようになる。RSが境界
に沿う直線部である。黒画素が並んでいる。接合点抽出
を行うと(3)のようになる。R、S、Tが接合点とな
って抽出される。通常の接合点除去操作をすると、曲率
の低い中間の接合点Sが消えてしまう。これがもしも消
えると、(4)に示すように、TとRを結ぶようなデ−
タになってしまう。点Sが消えるので再生画像は(5)
に示すように、点Sと点Tが結ばれず、これより上の点
RとTとが結ばれることになる。これは(1)の原画と
異なる。どうしてこのようなことになったかというと、
中間の接合点Sが消えたからである。原画を忠実に再生
するには、中間の接合点Sを残す必要がある。こういう
理由で、境界上の直線の端点である接合点は、後の操作
でも残すようにするのである。
When the boundary line and the pattern line form a large angle (here, a right angle) as shown in FIG. 2, the lowermost black pixel of the right divided image Q does not disappear, so that it is smooth. Connected. However, if the pattern line and the boundary line form a small angle, the joints required to reproduce the pattern may disappear. In order to prevent this, it is decided not to remove the junction which forms the end point of the straight line on the boundary. This will be described with reference to FIG. As shown in (1), it is assumed that there is an oblique line that forms a small angle with respect to the dividing line in the original drawing. This oblique line and the dividing line intersect. In this case, the right divided image is as shown in (2). RS is a straight line along the boundary. Black pixels are lined up. When the junction is extracted, the result is as shown in (3). R, S, and T are extracted as junction points. When a normal joint removing operation is performed, the intermediate joint S having a low curvature disappears. If this disappears, as shown in (4), a data connecting T and R is obtained.
It becomes a data. Since the point S disappears, the reproduced image is (5)
As shown in the figure, the point S and the point T are not connected, and the points R and T above this point are connected. This is different from the original picture of (1). Why did this happen?
This is because the intermediate junction S has disappeared. In order to faithfully reproduce the original image, it is necessary to leave an intermediate joining point S. For this reason, the junction point, which is the end point of the straight line on the boundary, is to be retained in a later operation.

【0018】このような操作を表すフロ−チャ−トを図
6に示す。これは、分割画像の左の境界線(x=0)で
の接合点の保存のためのフロ−チャ−トである。座標は
左上を原点として、右に向けてX軸と下に向けてY軸を
取る。初めに輪郭点列記憶装置より一つの閉輪郭{(x
i ,yi )}i=0 leng-1 のデ−タを読み出す。ここで、
(xi ,yi )は輪郭点列の座標を表す。iは輪郭点列
の番号である。iは0からleng−1までの値を取
る。lengというのはその閉輪郭の構成輪郭点の数で
ある。分割画像の左の境界線(x=0)での接合点を対
象にするので、xi =0かつxi+1 =0が条件となる。
この時(xi ,yi )に直線開始の接合点フラグを立て
る。i番目以降の座標点は、この直線上にある場合もあ
り、この直線から外れることもある。この直線上にある
座標点の最終のものを接合点として残し、これから曲線
が始まるようにフラグを立てることとする。
FIG. 6 is a flowchart showing such an operation. This is a flow chart for preserving the junction at the left boundary (x = 0) of the divided image. The coordinates take the X axis to the right and the Y axis to the bottom with the upper left as the origin. First, one closed contour {(x
i , y i )} i = 0 Read out the data of leng-1 . here,
(X i , y i ) represents the coordinates of the contour point sequence. i is the number of the contour point sequence. i takes a value from 0 to length-1. “Leng” is the number of contour points constituting the closed contour. Since the target is a junction at the left boundary line (x = 0) of the divided image, x i = 0 and x i + 1 = 0 are conditions.
In this case (x i, y i) sets a junction flag linear started. The i-th and subsequent coordinate points may be on this straight line or may deviate from this straight line. The last coordinate point on this straight line is left as a junction point, and a flag is set so that the curve starts from this point.

【0019】kをi+1からleng−1までの数とす
る。xk =0なら境界線上の点である。最初にxk ≠0
となるものがあれば、これの直前の座標(xk-1 ,y
k-1 )が曲線開始点となる。境界に沿う直線の初めの端
点が(xi ,yi )であったが、終わりの端点が(x
k-1 ,yk-1 )ということになる。そこで最初にxk
0となる点の直前の座標(xk-1 ,yk-1 )に曲線開始
のフラグを立てることにする。もう一つの条件は、yk
−yk-1 <0の場合にも、直前の点(xk-1 ,yk-1
から曲線開始のフラグを立てる。つまりこの点を接合点
として残すようにする。これの意味は図7により説明す
る。以上述べたものは、分割画像の右の境界線に沿うも
のであるが、左の境界線に沿うものも同様に直線の端点
に接合点をとるようにする。xi =255、xi+1 =2
55という条件がフロ−チャ−トの下の方に書いてある
が、これは分割画像の右の境界にある直線成分について
同様に行うということである。分割画像の上の線に沿う
直線についても同じことをする。このための条件はyi
=0、yi+1 =0で表現できる。また分割画像の下の境
界線に沿う直線に沿うついても同じことをする。これは
i =255、yi+1 =255で表現できる。
Let k be a number from i + 1 to length-1. If x k = 0, it is a point on the boundary line. First, x k ≠ 0
If any, the coordinates (x k-1 , y
k-1 ) is the starting point of the curve. The first end point of the straight line along the boundary was (x i , y i ), but the last end point was (x i , y i ).
k-1 , y k-1 ). So first x k
A flag to start the curve is set at the coordinates (x k−1 , y k−1 ) immediately before the point at which the value becomes zero. Another condition is y k
Even if −y k−1 <0, the immediately preceding point (x k−1 , y k−1 )
From the start of the curve. That is, this point is left as a joining point. The meaning of this will be described with reference to FIG. Although the above description is along the right boundary of the divided image, the junction along the left boundary is also set to the junction point at the end point of the straight line. x i = 255, x i + 1 = 2
The condition of 55 is written at the bottom of the flowchart, which means that the same operation is performed for the linear component on the right boundary of the divided image. The same applies to a straight line along the upper line of the divided image. The condition for this is y i
= 0, y i + 1 = 0. The same is true for a straight line along the lower boundary of the divided image. This can be represented by y i = 255 and y i + 1 = 255.

【0020】図7によって、yk −yk-1 <0の時に
も、(xk-1 ,yk-1 )に曲線開始のフラグを立てると
いうことの意味を説明する。図7は処理の順を、縦に表
すために、下向きにX軸を、右向きにY軸を取ってい
る。分割画像のx=0(左辺上にある境界線)での接合
点を考える。(1)のような図形を考える。矢印の順に
輪郭点列に番号が付されているとする。説明の便宜のた
めに画素にイロハニホヘトチリヌルという符号を付け
る。ロでは初めてx=0となるので、ここで境界線に沿
う直線が始まるということを意味する直線フラグを立て
る。もしもxk+1 ≠0の条件だけしかないとすれば、
(2)に示すように、ヘに曲線開始のフラグが立つこと
になってしまう。この場合に再生画像は、(3)のよう
になり、これらより端にあるトとチの2点が欠落してし
まう。そこで、yk −yk-1 <0の場合にも曲線開始の
フラグを立てることとすれば、(4)に示すように、境
界線上での折返し点のトとチにおいて、yk −yk-1
0がなり立つ。したがって(xk-1,yk-1 )を与える
チ点に曲線開始フラグを立てるのである。こうすると、
(5)に示すように、境界に沿う直線の全てを再生でき
るようになる。
FIG. 7 explains the meaning of setting a curve start flag at (x k−1 , y k−1 ) even when y k −y k−1 <0. FIG. 7 shows the X-axis downward and the Y-axis rightward in order to represent the order of processing vertically. Consider a junction at x = 0 (a boundary line on the left side) of the divided image. Consider a figure like (1). It is assumed that the contour point sequence is numbered in the order of the arrows. For convenience of description, the pixels are denoted by Irohanihohettilinul. In b, since x = 0 for the first time, a straight line flag indicating that a straight line along the boundary line starts is set here. If there is only the condition x k + 1 ≠ 0, then
As shown in (2), a curve start flag is set at F. In this case, the reproduced image is as shown in (3), and two points at the ends, i. Therefore, if the flag of the start of the curve is set even when y k −y k−1 <0, then as shown in (4), y k −y k-1 <
0 stands. Therefore, a curve start flag is set at the point giving (x k−1 , y k−1 ). In this case,
As shown in (5), all the straight lines along the boundary can be reproduced.

【0021】さて本発明は、単に大きい画像を分割して
デ−タ圧縮し、これを記憶しておき、さらに反対に分割
画像を結合して画像として再生するのである。輪郭線を
抽出しこれから幾つかの接合点とこれを結ぶ直線、曲線
として画像を記憶するので、再生の時は、輪郭線が第1
に再現される。従って、単にそのまま画像を再生するだ
けでなく、カッテイングプロッタを用いてシ−トを輪郭
線に沿って切断するということにも使うことが出来る。
画像をそのまま再生する場合は余り問題がない。しか
し、輪郭線を切り抜こうとする場合はさらに問題が残
る。輪郭線のみを出力することをここではアウトライン
出力と呼ぶことにする。
According to the present invention, a large image is simply divided and subjected to data compression, which is stored, and conversely, the divided images are combined and reproduced as an image. Since the contour is extracted and the image is stored as a number of joints and straight lines and curves connecting the joints, the contour is first when reproduced.
Will be reproduced. Therefore, the present invention can be used not only for simply reproducing an image as it is, but also for cutting a sheet along a contour line using a cutting plotter.
There is no problem in reproducing the image as it is. However, a further problem remains when trying to cut out the contour. Outputting only the outline is herein referred to as outline output.

【0022】図8によってアウトライン出力の困難を説
明する。入力画像がヲのように4つの分割画像にわたる
閉曲線で囲まれる図形であるとする。これをワのように
単位の大きさの4つの小画像に分割する。分割画像は個
々に関数近似される。そして境界と、元々存在した輪郭
線で囲まれる図形を得る。この単純化した例では、分割
画像において3つの接合点と、これを繋ぐ2本の直線
と、一つの4分円弧とによってデ−タが構成される。こ
のデ−タが画像記憶装置に記憶される。再生の場合はふ
たとおりの方法がある。塗り潰しの場合は、タのように
4つの部分的な分割画像のデ−タを重ね合わせて、左上
の閉領域から順に塗り潰して行く(タ)。つぎに右上の
閉領域も塗り潰す。レのようになる。これを左下も塗り
潰すとソのようになる。さらに右下も塗り潰すとツのよ
うになる。これで再生画像の出来上がりである。
The difficulty of outline output will be described with reference to FIG. It is assumed that the input image is a figure surrounded by a closed curve extending over four divided images as indicated by ヲ. This is divided into four small images of a unit size like a wa. The divided images are individually approximated by a function. Then, a figure surrounded by the boundary and the originally existing outline is obtained. In this simplified example, data is constituted by three joining points in a divided image, two straight lines connecting them, and one quadrant arc. This data is stored in the image storage device. In the case of playback, there are two methods. In the case of filling, the data of four partial divided images are superimposed as in the case of (ta), and the filling is performed in order from the upper left closed area (ta). Next, the upper right closed area is also filled. It looks like Les. If you paint this on the lower left as well, it will look like Seo. Furthermore, if the lower right is also painted, it will look like a lip. This is the end of the reproduced image.

【0023】これは元々黒であるところは黒になるの
で、境界線が黒の中に埋まってしまうので問題がない。
しかしカッティングプロッタ等で輪郭線を切ろうとする
場合は、単に4つの分割画像を単純にくっつけても、ヨ
のように輪郭線がでてしまう。これが問題である。より
具体的に説明する。図9は自由曲線で描かれた原図であ
る。線は曲線の集まりであり、太い線も細い線も存在す
る。但し大きさは特許出願図面の条件による制約がある
ので、小さく縮小コピ−してある。
This is a problem because the boundary line is buried in black since the place that is originally black becomes black.
However, when trying to cut the outline with a cutting plotter or the like, the outline will appear as if the four divided images are simply attached. This is the problem. This will be described more specifically. FIG. 9 is an original drawing drawn by a free curve. A line is a collection of curves, and there are both thick and thin lines. However, since the size is restricted by the conditions of the drawings of the patent application, the size is reduced and reduced.

【0024】図10は輪郭線による再生画像である。こ
れはカッティングプロッタでシ−トを切断した場合など
に対応する。プロッタの刃物をペンで置き換えることに
よりこのような図を得ることができる。輪郭線は黒画素
になるべきところを囲むように現れる。分割画像の境界
線(分割線)も黒画素となるべき領域の内部に現れる。
基本となる分割画像の大きさが約20mm×20mm〜
30mm×30mmの程度であるから、分割画像のピッ
チで縦横に境界分割線が現れる。黒画素が多いものはは
っきりと境界分割線が出てくる。このような分割線はも
ともと存在せず、原画を小さい分割画像に分割したため
に現れたものである。従って輪郭線を切る場合はこのよ
うな境界分割線が現れないようにしなければならない。
FIG. 10 shows a reproduced image based on a contour line. This corresponds to a case where the sheet is cut by a cutting plotter. Such a diagram can be obtained by replacing the blade of the plotter with a pen. The outline appears so as to surround the area that should become a black pixel. A boundary line (division line) of the divided image also appears inside a region to be a black pixel.
The size of the basic divided image is about 20 mm x 20 mm
Since the size is about 30 mm × 30 mm, boundary dividing lines appear vertically and horizontally at the pitch of the divided image. Those having many black pixels clearly have boundary dividing lines. Such a dividing line does not originally exist but appears because the original image is divided into small divided images. Therefore, when cutting the contour line, it is necessary to prevent such a boundary dividing line from appearing.

【0025】図11は塗り潰しによる再生画像である。
出力装置は、400dpiのレーザプリンタである。こ
れは図8のタ〜ツのように閉輪郭線で囲まれた部分は、
黒く塗り潰す。原画と同じ図が得られる。前記の境界分
割線は黒画素の部分にのみあるので、塗り潰せばこのよ
うな境界分割線が消えてしまう。特許出願の図面であり
大きさに制限があるので、縮小してある。ために図9の
原画と大きさの差がない。しかし、データの圧縮をして
記憶しているので、拡大、縮小は単純な計算によって短
時間で行なうことができる。ここでも再生画面と原画は
大きさが違うのであるが、出願図面という制約があるの
で大きさの違いを示すことができない。図11の再生画
面が図9の原画の忠実な再生になっていることが分か
る。
FIG. 11 shows a reproduced image obtained by filling.
The output device is a 400 dpi laser printer. This is because the part surrounded by the closed contour line as shown in FIG.
Fill it black. The same figure as the original is obtained. Since the above-mentioned boundary dividing line exists only in the portion of the black pixel, such a boundary dividing line disappears if it is painted. It is reduced because it is a drawing of a patent application and its size is limited. Therefore, there is no difference in size from the original image of FIG. However, since the data is compressed and stored, enlargement and reduction can be performed in a short time by a simple calculation. Here, the size of the reproduction screen is different from that of the original image, but the size cannot be shown because of the restriction of the application drawing. It can be seen that the reproduction screen of FIG. 11 is a faithful reproduction of the original picture of FIG.

【0026】図12は別の原画である。これも曲線を主
体とする動物のイラストである。細線、太線、べた塗り
の部分などを含む。これを小さい基本処理画面に分割
し、デ−タ圧縮する。輪郭線による再生画像が図13に
示すものである。これも境界の分割線が現れている。特
に黒部分の多いパンダの絵に分割線が出現している。図
14は塗り潰しによる再生画像である。これも出力装置
としてリコ−イマジオMF530(400dpi)を用
いた。原画と大きさは違うが、特許図面であるので、大
体同じ大きさになっている。これを見ても本発明の手法
により、分割デ−タ圧縮、記憶、再生したものは原画を
忠実に再生しているということが良く分かる。
FIG. 12 is another original image. This is also an illustration of an animal mainly composed of curves. Includes fine lines, thick lines, and solid-colored parts. This is divided into small basic processing screens and data is compressed. FIG. 13 shows a reproduced image based on the outline. This also shows a boundary dividing line. In particular, a dividing line appears in a picture of a panda having many black portions. FIG. 14 shows a reproduced image by filling. This also used Rico-Imagio MF530 (400 dpi) as an output device. Although the size is different from the original, it is almost the same size because it is a patent drawing. From this, it can be clearly understood that the divided data compressed, stored and reproduced by the method of the present invention faithfully reproduces the original image.

【0027】アウトライン出力の問題をここで説明す
る。図15により、分割境界線上の輪郭線の特徴を述べ
る。分割境界線上の輪郭線は次のような特徴を持つ。 (1)直線である。 (2)両端の接合点が共に境界線上にあり、かつ、x座
標同士あるいはy座標同士が等しい。つまり直線の両端
の座標を(Xa,Ya )、(Xb ,Yb )とすると、Xa
=Xb =0、Xa =Xb =255、Ya =Yb =0、
a =Yb =255、のいずれかが成り立つ。例えば、
図15において、曲線ネの両端は分割画像の左辺の上に
ある(つまりXa =Xb =0)。曲線ナの両端は分割画
像の上辺の上にある(Ya =Yb =0)。曲線ラの両端
も同じく分割画像の上辺にある。曲線ムの両端は分割画
像の右辺の上にある(Xa=Xb =255)、曲線ウの
一端は分割画像の下辺(Ya =255)にあり、多端は
分割画像の右辺(Xb =255)にある。これらの2点
を結ぶ線分は分割したことによって現れるものであっ
て、アウトライン出力の場合はこれを出力しないように
する工夫が必要である。
The problem of outline output will now be described. Referring to FIG. 15, the features of the contour on the division boundary will be described. The contour on the division boundary has the following features. (1) It is a straight line. (2) Both joint points on both ends are on the boundary line, and the x coordinates or the y coordinates are equal. That is, the two ends of the coordinates of the straight line (X a, Y a), when a (X b, Y b), X a
= X b = 0, X a = X b = 255, Y a = Y b = 0,
Y a = Y b = 255, holds one of the. For example,
In FIG. 15, both ends of the curved line are on the left side of the divided image (that is, X a = X b = 0). Both ends of the curved line are on the upper side of the divided image (Y a = Y b = 0). Both ends of the curved line are also on the upper side of the divided image. Both ends of the curve beam is on the right side of the divided image (X a = X b = 255 ), one end of the curve c is in the lower side of the divided image (Y a = 255), other end the right side of the divided image (X b = 255). The line segment connecting these two points appears due to the division, and in the case of the outline output, it is necessary to devise a method of not outputting this.

【0028】図16は出力時に分割境界線上の輪郭線を
出力しないようにしたアルゴリズムの例を示す。図16
において、境界線上の点ノの座標を(Xa ,Ya )と
し、オの座標を(Xb ,Yb )とする。出発点ヰからペ
ンまたは刃で紙または剥離紙に図形を描くものとする。
ヰからノまではそのまま紙の上をなぞるが、境界線上の
点ノに至ると、ペンまたは刃を上げる、上げたままペ
ン、刃を境界線に沿って移動し、他の境界線上の点オで
ペン、刃を下ろしここから分割画像内の輪郭線オクヰを
描く。このように境界線上にある接合点間ではペン、刃
を上げて移動することにより、分割線が出ないようにす
ることができる。
FIG. 16 shows an example of an algorithm which does not output the contour on the dividing boundary line at the time of output. FIG.
, Let the coordinates of a point on the boundary be (X a , Y a ) and the coordinates of E be (X b , Y b ). From the starting point ヰ, draw a figure on paper or release paper with a pen or blade.
From ヰ to ノ, trace on the paper as it is, but when reaching the point ノ on the boundary line, raise the pen or blade, move the pen or blade along the boundary line while raising it, and The pen and the blade are lowered, and the contour line in the divided image is drawn from here. As described above, by moving the pen and the blade up and moving between the joining points on the boundary line, the dividing line can be prevented from appearing.

【0029】本発明の新規なところは以上述べたところ
にある。次に分割画像のデ−タ出力について説明する。
分割画像の扱いについては前記の特願平4−25913
7号、特願平4−269646号等と同じ手法を用い
る。分割画像というのは単位の大きさの画像であるが、
例えば256ドット×256ドットの画像である。これ
をデ−タ圧縮し、記憶する。そのための構成を図17に
示す。
The novel aspect of the present invention has been described above. Next, the data output of the divided image will be described.
Regarding the handling of divided images, refer to the aforementioned Japanese Patent Application No. 4-25913.
7 and Japanese Patent Application No. 4-269646. A split image is an image of unit size,
For example, the image is 256 dots × 256 dots. This is data compressed and stored. FIG. 17 shows a configuration for that purpose.

【0030】A.画像記憶装置1 B.輪郭点列抽出装置 C.輪郭点列記憶装置 D.デ−タ近似機構A E.曲率演算機構 E′.近似曲率記憶装置 F.真円抽出機構 G.真円記憶装置 H.接合点位置抽出機構 I.接合点位置記憶装置 J.最適接合点抽出機構 K.最適接合点記憶装置 L.接合点除去機構 M.最終接合点記憶装置 N.デ−タ近似機構B O.圧縮デ−タ出力機構 P.圧縮デ−タ記憶装置 R.輪郭再生機構 S.画像再生機構 T.再生デ−タ出力機構 U.画像記憶装置2A. Image storage device 1 B. Contour point sequence extraction device C. Outline point sequence storage device D. Data approximation mechanism AE Curvature calculation mechanism E '. Approximate curvature storage device F. Perfect circle extraction mechanism G. Perfect circular storage device H. Junction point position extraction mechanism I. Junction point position storage device Optimal junction extraction mechanism K. Optimal junction storage device L. Junction point removal mechanism Final junction storage device Data approximation mechanism B.O. Compressed data output mechanism Compressed data storage device Contour reproduction mechanism Image reproduction mechanism Reproduction data output mechanism U. Image storage device 2

【0031】まず原画を適当な解像度を持つイメ−ジス
キャナで読み取る。この全体を第1の画像記憶装置Aに
記憶させる。これを基本の大きさ(例えば256×25
6ドット)に分割し、ひとつずつ以下の圧縮処理を行
う。以下対象にするのは分割画像である。分割画像を
白、黒の二値画像とし、白領域と黒領域の境界である輪
郭線を抽出する。画素が256×256ドットあるの
で、輪郭線は輪郭点列となる。幾つかの閉じられた輪郭
点列がある。輪郭点列の群毎に番号を付ける。輪郭点列
の点にも順に番号を付ける。点はX、Y座標上の点とし
て表現できる。点列の番号を付けて座標を表すことがで
きる。
First, an original image is read by an image scanner having an appropriate resolution. The whole is stored in the first image storage device A. This is the basic size (for example, 256 × 25
(6 dots), and the following compression processing is performed one by one. In the following, the target image is a divided image. The divided image is a binary image of white and black, and a contour line that is a boundary between the white region and the black region is extracted. Since there are 256 × 256 dots of pixels, the outline becomes an outline point sequence. There are several sequences of closed contour points. A number is assigned to each group of contour point sequences. The points in the outline point sequence are also numbered sequentially. A point can be represented as a point on the X, Y coordinates. The coordinates can be represented by numbering the sequence of points.

【0032】さらに媒介変数表示を用いて、X、Y座標
をtの関数とする。輪郭点列は閉曲線に沿って連続的に
並ぶ点列であるから媒介変数表示をすることができる。
それぞれの輪郭点列群において全体に渡って区分的多項
式で近似する。区分的多項式で連続関数になるから各輪
郭点列において2階微分し曲率を求める。曲率が一定で
ある輪郭点列は真円である。これは真円として分離す
る。残りの輪郭点列群については、曲率の大きい点を接
合点とする。接合点というのは輪郭点列を代表する点で
ある。輪郭線を接合点とこれを結ぶ線として表現できる
ような点である。初めは単純に曲率の大きいところを接
合点とするが、これは仮の接合点である。接合点は後に
追加されることもあり、除去されることもある。仮接合
点の回りに接合点候補を取り、この内の好適な接合点を
最適接合点として残す。
Further, using the parameter display, the X and Y coordinates are defined as functions of t. Since the contour point sequence is a point sequence continuously arranged along a closed curve, it can be displayed as a parameter.
Each contour point sequence group is approximated by a piecewise polynomial throughout. Since a piecewise polynomial becomes a continuous function, the curvature is obtained by performing second order differentiation on each contour point sequence. A contour point sequence having a constant curvature is a perfect circle. This separates as a perfect circle. Regarding the remaining contour point sequence group, a point having a large curvature is set as a joining point. The joining point is a point representing the outline point sequence. This is a point where the contour can be expressed as a joint point and a line connecting the joint point. At first, a portion having a large curvature is simply set as a junction, but this is a temporary junction. Junctions may be added later or removed. Candidate joining points are taken around the temporary joining point, and a suitable joining point is left as an optimal joining point.

【0033】接合点が確定すると、接合点の間を直線、
円弧、自由曲線によって近似する。近似は直線、円弧、
自由曲線の順で行う。直線の場合は近似に要する時間は
短い。デ−タ量も少ない。円弧の近似も簡単である。円
弧の始点、半径、中心角、関数の係数などを与えれば良
い。直線でも円弧でも近似できない場合は、自由曲線近
似する。この場合は接合点間をM個の細区間に分割し区
分的多項式で近似する。細区分の数を増やすと近似を高
めることができるので所望の精度の近似をすることがで
きる。
When the joining points are determined, a straight line is drawn between the joining points,
Approximate by arc and free curve. The approximations are straight lines, arcs,
Perform in the order of free curves. In the case of a straight line, the time required for approximation is short. The amount of data is also small. The approximation of the arc is also easy. What is necessary is just to give the starting point of the arc, the radius, the central angle, the coefficient of the function, and the like. If it cannot be approximated by a straight line or a circular arc, a free curve is approximated. In this case, the space between the joining points is divided into M subsections and approximated by a piecewise polynomial. If the number of subdivisions is increased, the approximation can be increased, so that an approximation with desired accuracy can be made.

【0034】こうして接合点と、直線、円弧、自由曲線
のパラメ−タが得られるので、これを分割画像を表現す
るデ−タとして記憶する。たとえば256×256ドッ
トの場合、本発明のデ−タ圧縮をすると、大体300〜
500バイト程度のデ−タで済む。白黒画像のままであ
ると画面を構成する全画素の数だけのデ−タがあるの
で、8キロバイトのデ−タ量となる。本発明では大幅に
デ−タを圧縮できる。本発明では分割画像毎にこのよう
なデ−タ圧縮と記憶を行う。これらのデ−タは逆に読み
出して接合点を基準として直線、円弧、自由曲線を再生
することができる。計算によって任意の大きさ、任意の
位置に再生することができる。
In this way, the parameters of the joint point, the straight line, the arc, and the free curve are obtained, and these are stored as data representing the divided image. For example, in the case of 256 × 256 dots, when the data compression of the present invention is carried out, it is approximately 300 to 256 dots.
Only about 500 bytes of data is required. If the image is a monochrome image, the amount of data is equal to the number of all pixels constituting the screen, so that the data amount is 8 kilobytes. According to the present invention, data can be greatly compressed. In the present invention, such data compression and storage are performed for each divided image. These data can be read out in reverse to reproduce straight lines, arcs, and free curves based on the junction point. It can be reproduced to any size and any position by calculation.

【0035】[A.画像記憶装置1]これは原画の全体
をを光学的手段によって読み取り、画素毎に分解された
情報として記憶するものである。実際には市販のイメ−
ジスキャナを用いる。そして入力されたデ−タを例えば
白黒の二値画像として記憶する。
[A. Image storage device 1] This reads the entire original image by optical means and stores it as information decomposed for each pixel. Actually, commercially available images
Use a scanner. The input data is stored as, for example, a black and white binary image.

【0036】[B.輪郭点列抽出装置]輪郭点列抽出装
置は分割画像の輪郭点列を抽出するものである。黒画素
の集合の輪郭を輪郭線という。分割画像は幾つかの閉輪
郭線を持つ。境界に両端部を持つ輪郭線もある。これも
境界分割線を輪郭線と見做すことにより閉輪郭線とな
る。画像はドットの集まりであるので、輪郭線は点の集
まりと見做すことができる。輪郭線を点の集合とし、連
続する点の順に並べたものを輪郭点列という。輪郭点列
の総数をUとする。U個の輪郭点列には0からU−1の
番号が付けられる。u番目の輪郭点列の輪郭点の総数を
N(u)で表す。ひとつの輪郭点列において連続する点
に番号kを付す。kは0〜N(u)−1の整数である。
u番目の輪郭点列のk番目の輪郭点の座標を(xk u
k u )によって表現する。全輪郭点は
[B. Contour Point String Extraction Device] The contour point sequence extraction device extracts a contour point sequence of a divided image. The outline of the set of black pixels is called an outline. The divided image has several closed contour lines. Some contours have both ends at the boundary. This also becomes a closed contour by regarding the boundary dividing line as a contour. Since the image is a group of dots, the outline can be regarded as a group of points. A contour line is a set of points, and a sequence of successive points is called a contour point sequence. Let U be the total number of contour point sequences. The U contour point sequences are numbered from 0 to U-1. The total number of contour points in the u-th contour point sequence is represented by N (u). A number k is assigned to consecutive points in one outline point sequence. k is an integer of 0 to N (u) -1.
The u-th k-th coordinate of the contour points of the contour point sequence (x k u,
y k u) be represented by. All contour points are

【0037】 {(xk u ,yk u )}k=0 N u -1 u=0 U-1 (1)[0037] {(x k u, y k u)} k = 0 N u -1 u = 0 U-1 (1)

【0038】によって表現される。k=0 N u -1 というの
は点列番号kが0からN(u)−1までの値を取り得る
ということである。N(u)−1は括弧を含みこれは1
/4角にできないから変数のサフィックスとなるとき
は、括弧を除去しN u −1と書いている。N u
−1=N(u)−1である。サフィックスであるので上
下に書くべきであるがこれができないので左下と右上に
分けて付す。u=0 U-1は輪郭点列群の番号uが0〜U−1
の値を取るということである。また輪郭点列の番号uは
変数の右肩に括弧を付けて示すべきであるが括弧が1/
4角にできないから括弧を省く。
Is represented by because k = 0 N u -1 is that can take values from the point sequence number k is 0 to N (u) -1. N (u) -1 contains parentheses and is 1
When it becomes a variable suffix because it cannot be a square, the parentheses are removed and written as Nu-1. Nu
-1 = N (u) -1. Since it is a suffix, it should be written on the top and bottom, but since this is not possible, it is divided into lower left and upper right. u = 0 U-1 means that the number u of the outline point sequence group is 0 to U -1
Is to take the value of The number u of the contour point sequence should be indicated by adding parentheses to the right shoulder of the variable.
Omit the brackets because they cannot be square.

【0039】[C.輪郭点列記憶装置]輪郭点列記憶装
置は前段で求めた輪郭点列を記憶する装置である。(x
k u ,yk uk=0 N u -1 u=0 U-1 という形でこれを記憶
する。先述のように、Uが全点列の数であり、uが点列
に付けた番号である。点列uにおける点の数はN(u)
であり、kがこれに付けた点番号である。このような事
k=0 N u -1 u=0 U-1 によって表現する。(xk u ,yk
u )はu番目の点列のk番目の点のx、y座標である。
[C. Contour Point Sequence Storage Device] The contour point sequence storage device is a device for storing the contour point sequence obtained in the preceding stage. (X
k u, and stores this in the form of y k u) k = 0 N u -1 u = 0 U-1. As described above, U is the number of all point sequences, and u is the number assigned to the point sequence. The number of points in the point sequence u is N (u)
And k is the point number assigned to this. Such things expressed by k = 0 N u -1 u = 0 U-1. (X k u, y k
u ) is the x, y coordinates of the kth point in the uth point sequence.

【0040】[D.データ近似機構A] データ近似機構は二つある。これは最初のものである
が、区別するためにAと付記する。これは仮に輪郭点列
の曲率の大きいところを求め接合点を求めるために必要
とされる。曲率を求めるには、離散的な点の内、いくつ
かをデータとして採用しこれから求めることもできる。
本発明はこのような離散的曲率を採用しても実行でき
る。しかしここでは輪郭点列群の全体を区分的多項式よ
りなる連続関数で近似してからこれを2階微分して曲率
を求めるようにする。このための近似がここでのデータ
近似である。独立変数をtとし、従属変数をx、yとし
前記の連続群毎の輪郭点列のx、y座標をtを独立変
数、xとyを従属変数とする2次の区分的多項式で近似
し、近似精度が所定範囲になるまで最小二乗近似を繰り
返し輪郭点列の群毎の近似多項式を求めるものである。
区分的多項式で近似する範囲は輪郭点列群の全体であ
る。これは最終的なデータを得ようとするものではな
く、仮の接合点を求めるものである。
[D. Data approximation mechanism A] There are two data approximation mechanisms. This is the first one, but is appended with A to distinguish it. This is necessary for temporarily finding a place where the curvature of the outline point sequence is large and for finding a joint point. In order to obtain the curvature, some of the discrete points can be adopted as data and can be obtained from now on.
The present invention can be practiced even with such discrete curvatures. However, here, the entire contour point sequence group is approximated by a continuous function consisting of a piecewise polynomial, and then this is second-order differentiated to obtain a curvature. The approximation for this is the data approximation here. The independent variable is t, the dependent variables are x and y, and the x and y coordinates of the contour point sequence for each continuous group are approximated by a quadratic piecewise polynomial where t is an independent variable and x and y are dependent variables. The least squares approximation is repeated until the approximation accuracy falls within a predetermined range to obtain an approximate polynomial for each group of contour point sequences.
The range approximated by the piecewise polynomial is the entire contour point sequence group. This is not for obtaining final data but for obtaining a temporary junction.

【0041】群uでの輪郭点列(xk u ,yk u )のx
座標をSx (t)で近似し、y座標をSy (t)によっ
て近似する。tは媒介変数である。Sx (t)とSy
(t)を2次のフル−エンシ−関数系{ψm }を底とす
る一次結合として与える。Sx (t)は非周期m次のフ
ル−エンシ−関数ψk を基底として展開する。
The group contour point sequence in u (x k u, y k u) of x
The coordinates are approximated by S x (t), and the y coordinates are approximated by S y (t). t is a parameter. S x (t) and S y
(T) is given as a linear combination based on a quadratic full-energy function system { m }. S x (t) is developed based on an aperiodic m-th order full-energy function ψ k as a base.

【0042】 Sx (t)=Σk=-m M+mk xψk (t) (2)[0042] S x (t) = Σ k = -m M + m C k x ψ k (t) (2)

【0043】フル−エンシ−関数というのは本発明者が
命名した関数名である。次数mは多項式の次数に対応す
る。Mは次元数である。一般にm次のフル−エンシ−関
数は、定義域を[0,T]とし、パラメ−タをkとし、
このパラメ−タをサフィックスとして付けて表す。Ck x
は線形一次結合の係数である。ψk 自体がkの近傍で値
を持つ多項式である。
The full-energy function is a function name named by the present inventor. The degree m corresponds to the degree of the polynomial. M is the number of dimensions. In general, the m-th order full-energy function has a domain of [0, T], a parameter of k,
This parameter is represented with a suffix. C k x
Is the coefficient of linear linear combination. ψ k itself is a polynomial having a value near k.

【0044】 ψk (t)=3(T/M)-mΣq=0 m+1(−1)q {t−(k+q)(T/M)} m + /{q!(m+1−q)!} (3) 但し、k=−m,−m+1,・・・,0,1,2,・・
・,m+M
Ψk (T) = 3 (T / M)-mΣq = 0 m + 1(-1)q {T- (k + q) (T / M)} m + / {Q! (M + 1-q)! } (3) where k = −m, −m + 1,..., 0, 1, 2,.
・, M + M

【0045】ここでm乗の下に付したプラスは、括弧内
が負のときは0で、正の時にはm乗であるということ
で、次のような定義である。
Here, the plus added below the m-th power is 0 when the value in the parenthesis is negative, and is m-th when the value is positive, and is defined as follows.

【0046】 (t−a)m +=(t−a)m t>a、 (4) 0 t≦a (5)(T−a) m + = (t−a) m t> a, (4) 0 t ≦ a (5)

【0047】基底関数ψk は区分番号k〜k+m+1ま
で有限の値を持ちその両側は0になる山形の関数であ
る。これは{t−(k+q)(T/M)}m +のような0
から立ち上がるm次関数を一つずつ座標をよこにずらせ
て(qを一つずつ増やす)これを重ね合わせる形になっ
ている。t>(k+m+1)(T/M)の時に恒等的に
0でなければならない。この条件によって重ね合わせの
係数が(−1)q /{q!(m+1−q)!}というふ
うに決まる。領域の大きさTは輪郭点列群の点の数N
(u)に等しくするのが簡単であるが、比例するものと
して定義しても良い。このようにフル−エンシ−関数を
用いて、輪郭点列を近似するが、T/Mの間隔を持つ分
割点が多数あるので接合点がなくても近似することがで
きる。近似の度合いを高めるにはフル−エンシ−関数の
次数mを高めればよい。しかし次数が高いと計算の回数
が増えるので処理時間が掛かる。
The basis function ψ k is a chevron-shaped function having finite values from section numbers k to k + m + 1 and having 0 on both sides. This is 0 such as {t- (k + q) (T / M)} m +
The coordinates of the m-th order function rising from are shifted one by one (q is increased one by one), and these are superimposed. Must be equal to 0 when t> (k + m + 1) (T / M). Under this condition, the superimposition coefficient is (−1) q / {q! (M + 1-q)! It is determined as}. The size T of the area is the number N of points in the outline point sequence group.
Although it is easy to make it equal to (u), it may be defined as being proportional. As described above, the contour point sequence is approximated by using the full-energy function. However, since there are many division points having a T / M interval, the contour point sequence can be approximated without a joint point. To increase the degree of approximation, the order m of the full-energy function may be increased. However, when the degree is high, the number of calculations increases, so that processing time is required.

【0048】発明者の主張は、多くの自然界の物理量の
変動を表す関数が、1次、2次のフル−エンシ−関数の
線形結合として表されるということである。m次のフル
−エンシ−関数というのは、m+1個の領域にまたがり
一つのピ−クを持つm次多項式からなる区分多項式であ
る。m=0は単なる箱型の関数、m=1は三角形の関
数、m=2は3つの領域にまたがる2次の多項式関数よ
りなる。ここではm=2のみを採用する。これによって
輪郭線は過不足なく表現できる。勿論本発明はm=3以
上のフル−エンシ−関数を用いても構成できる。m=2
とするので、基底関数は3つの区間に渡って値があり、
中央で極大を取る区間内では2次多項式になる。上の式
はm=2のとき、
The inventor's claim is that many functions representing the variation of physical quantities in the natural world are represented as linear combinations of first-order and second-order full-energy functions. The m-th order full-energy function is a piecewise polynomial consisting of an m-th order polynomial having one peak over m + 1 regions. m = 0 is a simple box-shaped function, m = 1 is a triangular function, and m = 2 is a quadratic polynomial function spanning three regions. Here, only m = 2 is adopted. As a result, the contour lines can be expressed without excess or shortage. Of course, the present invention can also be configured using a full-energy function of m = 3 or more. m = 2
Therefore, the basis function has a value over three sections,
In a section having a maximum at the center, a quadratic polynomial is obtained. The above equation is for m = 2,

【0049】 Sx (t)=Σk=-2 M+2k xψk (t) (6) ψk (t)=3(T/M)-2Σq=0 3(−1)q {t−(k+q)(T/M)}2 + /{q!(3−q)!} (7)[0049] S x (t) = Σ k = -2 M + 2 C k x ψ k (t) (6) ψ k (t) = 3 (T / M) -2 Σ q = 0 3 (-1 ) Q {t- (k + q) (T / M)} 2 + / {q! (3-q)! } (7)

【0050】となる。基底関数は{t−(k+q)(T
/M)}2 +で示される横方向へT/Mずつずらせた4つ
の0から立ち上がる2次関数の重ね合わせである。細区
分の数がkからk+3まで値のある関数である。k+4
以上で恒等的に0であるために重ね合わせの係数が(−
1)q /{q!(3−q)!}となる。基底関数の数は
M+5個である。Mは全区間の分割数でありこれを近似
の次元数と呼ぶ。これとフル−エンシ−関数の次数mと
を混同してはいけない。y座標を近似するSy (t)も
同様にCk xを係数とするフル−エンシ−関数によって展
開することができる。
Is as follows. The basis function is Δt− (k + q) (T
/ M)} is a superposition of the quadratic function rising from four 0-shifted laterally by T / M is the two +. The number of subdivisions is a function with values from k to k + 3. k + 4
As described above, since the constant is 0, the superimposition coefficient becomes (−
1) q / {q! (3-q)! It becomes}. The number of basis functions is M + 5. M is the number of divisions of all sections, and this is called an approximate dimension number. This should not be confused with the order m of the full-energy function. Similarly, S y (t) approximating the y-coordinate can be expanded by a full-energy function using C k x as a coefficient.

【0051】近似の程度はこれがどれほどもとの輪郭点
列(xk u ,yk u )に近いかということで判断でき
る。最小二乗法によりこれを評価するが、これは
[0051] The degree of approximation can be judged by this is how the original outline point sequence (x k u, y k u ) of how close to. This is evaluated by the least squares method, which is

【0052】 Q=Σ{Sx (tk u )−xk u2 +{Sy (tk u )−yk u2 (8) [0052] Q = Σ {S x (t k u) -x k u} 2 + {S y (t k u) -y k u} 2 (8)

【0053】を最小にするということである。積算の範
囲は輪郭点列群uの点全部である。この条件から、係
数、Ck x、Ck yを求めることができる。これによって、
近似関数Sx (t)、Sy (t)が求まる。輪郭点列群
u=0について計算できると次はu=1の群について行
う。以下同様に、全ての輪郭点列群について(u=U−
1群迄)の計算を行う。
Is to be minimized. The range of integration is all points of the outline point sequence group u. From this condition, it is possible to obtain coefficients, C k x, the C k y. by this,
Approximate functions S x (t) and S y (t) are obtained. When the calculation can be performed for the contour point sequence group u = 0, the following is performed for the group of u = 1. Similarly, for all contour point sequence groups, (u = U−
The calculation of 1 group) is performed.

【0054】[E.曲率演算機構]全ての輪郭点列群に
対して近似関数が求まったのでこれを2階微分すること
により各輪郭点列群、各点での曲率を求める。輪郭点列
群uのk番目の点(xk u,yk u )での曲率K(tk u
)は、
[E. Curvature operation mechanism] Since the approximate function has been obtained for all the contour point sequence groups, this is second-order differentiated to obtain the curvature at each contour point sequence group and each point. K-th point of the contour point sequence group u (x k u, y k u) curvature at K (t k u
)

【0055】 K(tk u )={Sx ′(tk u )Sy ′′(tk u )−Sx ′′(tk u )S y ′(tk u )}/{Sx ′(tk u2 +Sy ′(tk u23/2 (9)K (tk u ) = {Sx '(Tk u ) Sy '' (Tk u ) -Sx '' (Tk u ) S y '(Tk u )} / {Sx '(Tk u )Two + Sy '(Tk u )Two }3/2 (9)

【0056】によって計算することができる。全ての輪
郭点列の全ての点について曲率を求める。
Can be calculated. The curvatures are obtained for all points in all contour point sequences.

【0057】[E′.近似曲率記憶装置]前段で求めた
曲率K(tk u )を点(輪郭点列群u、点番号k)毎に
記憶する装置である。
[E '. Approximate curvature memory] curvature K obtained in the previous stage of (t k u) point (edge point sequence group u, the point number k) is a device for storing for each.

【0058】[F.真円抽出機構]これは近似曲率に基
づいてある輪郭点列が真円であるかそうでないかを判別
し真円を抽出するものである。真円の部分が他の直線、
曲線と交差接触している場合は真円として抽出されな
い。真円抽出で抽出されたパタ−ンは、以後近似計算か
ら除去される。これはCircle(u)という符号を
付す。uは輪郭点列群の番号である。真円を抽出すると
次の利点がある。ひとつは本来真円であるものがノイズ
のために少し歪んでいても真円としてデ−タ化するので
ノイズが落ちてしまい形状をより正確に決定できる。ま
た円は半径と中心の座標だけで指定できるのでデ−タ圧
縮の点で極めて有効である。真円というのはその輪郭点
列での各点での曲率が全て等しいというものである。輪
郭点列の全ての点で曲率が求められているので、各点で
の曲率を調べて真円を抽出できる。
[F. Perfect circle extraction mechanism] This is to determine whether a certain contour point sequence is a perfect circle or not based on the approximate curvature and extract a perfect circle. The part of the perfect circle is another straight line,
If they are in cross contact with the curve, they are not extracted as perfect circles. The pattern extracted by the perfect circle extraction is thereafter removed from the approximation calculation. This is denoted by Circle (u). u is the number of the contour point sequence group. Extracting a perfect circle has the following advantages. In the first case, even if a circle that is originally a circle is slightly distorted due to noise, the data is converted into a true circle, so that the noise drops and the shape can be determined more accurately. Since a circle can be specified only by the coordinates of the radius and the center, it is extremely effective in data compression. A perfect circle means that the curvatures at each point in the outline point sequence are all equal. Since the curvatures are obtained at all points in the contour point sequence, the curvature at each point can be checked to extract a perfect circle.

【0059】[G.真円記憶装置]前段階において求め
た真円の中心座標と半径rを記憶するものである。これ
により真円である群uのデ−タが3つの値で記述でき
る。一重の真円の場合これは内部全体が黒画素で塗り潰
された円であるので、孤立した円点である。2重の真円
の場合は、2重円の間が黒画素で塗り潰された丸などに
対応する。
[G. Perfect circle storage device] Stores the center coordinates and radius r of the perfect circle obtained in the previous stage. Thus, data of the group u which is a perfect circle can be described by three values. In the case of a single perfect circle, this is an isolated circle point because the entire inside is a circle filled with black pixels. In the case of a double perfect circle, the space between the double circles corresponds to a circle filled with black pixels.

【0060】[H.接合点位置抽出機構]接合点という
のは直線と直線の継ぎ目、曲線と曲線の継ぎ目、直線と
曲線の継ぎ目などである。異なる勾配、異なる曲率の線
が接触するのでこれを接合点というのである。輪郭点列
を関数近似する時接合点は極めて重要な役割を果たす。
前記の曲率を通じて決定された接合点は仮の接合点であ
り、さらに接合点を追加除去する。本発明は接合点を正
確適切に決定することにより再生画像を高品質に維持し
ながら、デ−タ量を最小にすることができるのである。
図18は接合点抽出手続の概略を示す。分割画像を入力
して、外周をなす輪郭点列を抽出する。これによって得
た各輪郭点列群に対して接合点を抽出する。まず明白な
接合点を抽出する。これは曲率が大きい点として決定で
きる。これは仮の接合点であって最適のものでない。又
これだけでは全ての接合点を見い出せない。逆に接合点
として不要なものも含まれる。
[H. Joining Point Position Extraction Mechanism] The joining points include a joint between a straight line and a straight line, a joint between a curve and a curve, a joint between a straight line and a curve, and the like. Since the lines having different slopes and different curvatures come into contact, this is called a junction. The junction points play a very important role when approximating the sequence of contour points as a function.
The junction determined through the curvature is a temporary junction, and the junction is additionally removed. According to the present invention, the amount of data can be minimized while maintaining a high quality reproduced image by accurately and appropriately determining the joining point.
FIG. 18 shows the outline of the junction extraction procedure. A divided image is input, and a contour point sequence forming an outer periphery is extracted. A joint point is extracted for each group of contour points obtained as described above. First, obvious joint points are extracted. This can be determined as a point having a large curvature. This is a temporary junction and not optimal. Also, this alone cannot find all the junctions. Conversely, those unnecessary as junctions are also included.

【0061】従って接合点の指定に関して修正が必要で
ある。その後直角部分の接合点の抽出を行う。これは二
つの直線が交差する時に交差点での接続を滑らかにする
ためである。直線の接合点というのは細線の始点と終点
であり、細線であって曲率が大という条件では現れない
接合点を追加するものである。反対に不必要な接合点が
あるのでこれらを除去する必要がある。一つは直線の中
にある接合点である。接合点が直線の半ばにあり直線か
らの距離が小さいときこれを除いても直線を維持できる
ことがある。これはノイズによって生じた接合点である
から除去する。もう一つは円弧の接合点である。本来ひ
とつの円弧であるべきものが接合点が多くて二つの円弧
に分離して現れることがある。これも中間の接合点を除
去して円弧を合体して一つの円弧にする。図19は接合
点の例を示す。(a)は「あ」の輪郭線の接合点を×に
よって示し、(b)はポの接合点を×によって示す。直
線の交差する点や、尖点、曲率の変化する点などが接合
点になる。これは文字の場合であるが、任意の図形に対
しても輪郭線の接合点を求めることができる。
Therefore, it is necessary to correct the designation of the joining point. After that, a junction at the right angle portion is extracted. This is to make the connection at the intersection smooth when two straight lines intersect. The joining points of the straight lines are the starting point and the ending point of the thin line, and adding a joining point that is a thin line and does not appear under the condition that the curvature is large. Conversely, there are unnecessary junctions, which need to be removed. One is a junction in a straight line. When the joining point is in the middle of the straight line and the distance from the straight line is small, the straight line may be maintained even if this is removed. Since this is a junction point caused by noise, it is removed. The other is the junction of the arcs. What is supposed to be a single arc may appear as two arcs separated by two junctions due to the large number of joints. This also removes intermediate junctions and combines the arcs into a single arc. FIG. 19 shows an example of the junction. (A) shows the joint point of the outline of "a" by X, and (b) shows the joint point of Po by X. A point at which a straight line intersects, a cusp, or a point at which the curvature changes is a junction point. Although this is a case of a character, a joint point of a contour line can be obtained for an arbitrary figure.

【0062】そして接合点が確定すると各区間を区分的
多項式によって近似する。この区分的多項式の近似は先
にデ−タ近似機構Aで述べたものと同じであるが前回の
ものは近似区間が全輪郭点列群に渡っていた。今度はそ
うでなく接合点ごとに区分的多項式近似を行う。多項式
近似の精度は、前回に説明したのと同じように、元の座
標値との差の2乗の和を最少にするという最少二乗近似
を行うことによってなされる。
When the joining point is determined, each section is approximated by a piecewise polynomial. The approximation of this piecewise polynomial is the same as that described above for the data approximation mechanism A, but in the previous one the approximation interval spanned the entire contour point sequence group. This time, instead, a piecewise polynomial approximation is performed for each junction. The accuracy of the polynomial approximation is achieved by performing a least-squares approximation to minimize the sum of the squares of the differences from the original coordinate values, as described previously.

【0063】[I.接合点位置記憶装置]これは前述の
操作で求めた仮接合点の番号と座標{di (xi u ,y
i u )}を記憶するものである。
[I. Joining point position storage device] This is the number of the temporary joining point and the coordinates {d i (x i u , y
i u )}.

【0064】[J.最適接合点抽出機構]これまでに求
めたものは、曲率の大きさだけで判定した仮接合点であ
る。これらは実際の接合点でないことがある。それで最
適の接合点を見い出す必要がある。例えば2つの線が交
差する場合、4つの隅点ができるがこの場合隅部が潰れ
て肥大しやすい。そこで、隣接する隅点同士がそれらの
線の輪郭線上にあるということから最適接合点を求め
る。こうすると線の交差部で隅部が不恰好に肥大すると
いうことがない。最適接合点は先述の手法で求めた仮接
合点の近くにあるはずである。そこで仮接合点の近傍の
幾つかを接合点候補とし、接合点候補から最適の点を最
適接合点として求める。
[J. Optimal Joint Point Extraction Mechanism] What has been obtained so far is a temporary joint point determined only by the magnitude of the curvature. These may not be actual junctions. So we need to find the best joint. For example, when two lines intersect, four corner points are formed. In this case, the corners are crushed and easily enlarged. Therefore, an optimum joint point is obtained from the fact that adjacent corner points are on the contour of those lines. In this way, the corners at the intersections of the lines do not grow grossly. The optimal junction should be near the temporary junction determined by the method described above. Therefore, some of the vicinity of the temporary connection point are set as connection point candidates, and the optimum point is determined as the optimum connection point from the connection point candidates.

【0065】[K.最適接合点記憶装置]前記の操作よ
って求めた最適接合点を全て格納する装置である。最適
接合点を(xi u ,yi u )として格納する。uは輪郭
点列の番号である。iは群uの中で接合点に付けた番号
である。
[K. Optimum junction storage device] This is a device that stores all the optimal junctions obtained by the above operation. Stores the optimum junction as (x i u, y i u ). u is the number of the contour point sequence. i is the number assigned to the junction in group u.

【0066】[L.接合点除去機構]ここではこれまで
に抽出された接合点の内不要である接合点を除去する。
直線または円弧の接合点から不要な接合点を除去する。
これまでに求めた接合点は、輪郭線を区分的多項式で近
似し、曲率を求め、仮接合点を求め接合点候補から最適
接合点を求めたものである。従って不要な接合点は殆ど
ない筈であるがそれでも画像ノイズの影響などで、不要
な接合点が存在する可能性がある。それは直線の接合点
と、円弧の接合点である。自由曲線の中にも不要な接合
点があるかもしれないが、自由曲線の場合これが不要か
否かを決めることができない。直線や円弧の場合は、決
定的な図形であり、これから外れるものと、外れないも
のを明白に区別することができる。このために直線、円
弧の不要接合点を除去するのである。
[L. Junction point removal mechanism] Here, unnecessary junction points are removed from the junction points extracted so far.
Unnecessary joints are removed from straight or circular joints.
The joint points determined so far are obtained by approximating the contour line with a piecewise polynomial, determining the curvature, determining the temporary joint point, and determining the optimum joint point from the joint point candidates. Therefore, there should be almost no unnecessary junctions, but there is still a possibility that there are unnecessary junctions due to the influence of image noise. It is the junction of a straight line and the junction of an arc. There may be unnecessary junctions in the free curve, but in the case of the free curve, it cannot be determined whether or not this is unnecessary. In the case of a straight line or an arc, it is a definitive figure, and one that deviates from this and one that does not deviate can be clearly distinguished. For this purpose, unnecessary joining points of straight lines and arcs are removed.

【0067】[直線の接合点の除去] 例えば3つの接
合点U、V、Wがほぼ直線上に並ぶが、少し直線からず
れているという場合がある。この場合、端点であるUと
Wとを結ぶ直線と、中間点Vとの距離がある一定距離内
であるとする。Vはノイズによって発生したものと考え
られる。この場合、直線の中間にある接合点Vを除去す
る。これを除くと、座標点が一つ減り、直線が一つ減
る。デ−タが二つ減る。これはデ−タを減らすというこ
とよりも直線をくっきりと再生するという意味で重要な
のである。
[Removal of Joint Points of Straight Line] For example, there are cases where three joint points U, V, and W are arranged substantially on a straight line, but slightly deviate from the straight line. In this case, it is assumed that the distance between the straight line connecting the end points U and W and the intermediate point V is within a certain distance. V is considered to be generated by noise. In this case, the junction point V in the middle of the straight line is removed. Excluding this, one coordinate point is reduced and one straight line is reduced. The data is reduced by two. This is more important in reducing the amount of data than in reproducing straight lines.

【0068】[円弧の接合点の除去] 前段階迄に抽出
された円弧の接合点の中に、複数個の接合点が連続して
いる事がある。この場合に於いて、中間の接合点を除去
してもデ−タの品質が保たれる場合、その接合点を除去
する事とする。つまり中間の接合点と次の接合点を結ぶ
円弧の中心、半径が、最初の接合点と最終の接合点を結
ぶ円弧の中心、半径と近似している場合、中間の接合点
を除去する。接合点の除去によりデ−タが減少する。し
かし円弧の接合点の除去は、デ−タ減少のためではな
く、奇麗な図形を再生するためである。実際には一つの
円弧であったものがノイズのために、線が滲み、複数の
円弧の集合のように見えているのである。だからこれも
図形の整形という意味があるのである。本発明の再生画
像の品質が良いのは、接合点の除去により直線や円弧が
正しく描かれるところにひとつの原因がある。
[Removal of Arc Joining Point] A plurality of joining points may be continuous among arc joining points extracted up to the previous stage. In this case, if the data quality is maintained even if the intermediate junction is removed, the junction is removed. In other words, if the center and radius of the arc connecting the intermediate connection point and the next connection point are close to the center and radius of the arc connecting the first connection point and the final connection point, the intermediate connection point is removed. Eliminating the junction reduces the data. However, the removal of the arc junction is not for data reduction but for reproducing a beautiful figure. What was actually a single arc was blurred due to noise, and the line looked like a set of multiple arcs. So this also means shaping figures. One of the reasons why the quality of the reproduced image of the present invention is good is that a straight line or an arc is correctly drawn by removing the joint points.

【0069】[M.最終接合点記憶装置]不要な接合点
を除去して得た最終的な接合点は最終接合点記憶装置に
記憶される。最終接合点は、座標(xi u ,yi u
i=0 I-1によって示される。ここでiは接合点の番号、u
は輪郭点列群の番号、Iは輪郭点列群uの最終接合点の
総数である。
[M. Final junction storage device] The final junction obtained by removing unnecessary junctions is stored in the final junction storage. The final junction is at coordinates (x i u , y i u )
Indicated by i = 0 I-1 . Where i is the number of the junction, u
Is the number of the contour point sequence group, and I is the total number of final joining points of the contour point sequence group u.

【0070】[N.デ−タ近似機構B]これまでに得た
輪郭点列、最終接合点、真円などのデ−タからデ−タを
近似する機構である。本発明の中心的な部分である。そ
れぞれの記憶装置から入力されるものは、 輪郭点列記憶装置・・・輪郭点列{(xk u ,yk
u )}k=0 N u -1 最終接合点記憶装置・・最終接合点{(xi u ,yi
u )}i=0 I-1 真円記憶装置・・・・・円Circle(u) である。輪郭点列のサフィックスのuは輪郭点列群の番
号である。kはその輪郭点列群uでの輪郭点列番号であ
る。N(u)(N u となっている)は群uでの輪郭
点列の数である。iは群uでの最終接合点である。最終
接合点が得られているが、隣接する二つの接合点の間
(接合点間)を直線、円弧、自由曲線近似する。近似に
おいて媒介変数tを用いてx成分をsx (t)により、
y成分をsy(t)によって表現する。
[N. Data approximation mechanism B] This is a mechanism for approximating data from data such as a contour point sequence, a final joint point, and a perfect circle obtained so far. It is a central part of the present invention. What is input from the respective storage, contour point string storage device ... contour point sequence {(x k u, y k
u )} k = 0 N u -1 final junction storage device .. final junction {(x i u , y i
u )} i = 0 I-1 perfect circle storage device... Circle Circle (u). The suffix u of the outline point sequence is the number of the outline point sequence group. k is a contour point sequence number in the contour point sequence group u. N (u) (represented by N u) is the number of contour point sequences in the group u. i is the final junction in group u. Although the final joint point is obtained, a straight line, a circular arc, and a free curve approximation are made between two adjacent joint points (between the joint points). Using the parameter t in the approximation, the x component is given by s x (t):
The y component is represented by s y (t).

【0071】これは最初に輪郭点列の全体を媒介変数t
で表現したのと同じ手法である。しかし今度は領域が接
合点の間になっているから、tの範囲やtとsx
(t)、sy (t)の対応は前回のものとは異なってい
る。またある接合点から始まる区間が直線の区間である
か、円弧の区間であるか、あるいは自由曲線の区間であ
るかということは、曲率を各点において求めるときに分
かっている。直線ならば、隣接点を結ぶだけで済む。円
弧の場合は中心の座標、半径を求めれば良い。自由曲線
の場合は、フル−エンシ−関数の係数を求める必要があ
る。
First, the entire contour point sequence is defined as a parameter t.
This is the same method as expressed in. But this time, since the region is between the junctions, the range of t and t and s x
The correspondence between (t) and s y (t) is different from the previous one. Whether the section starting from a certain junction is a section of a straight line, a section of an arc, or a section of a free curve is known when the curvature is obtained at each point. If it is a straight line, it is only necessary to connect adjacent points. In the case of an arc, the coordinates and radius of the center may be obtained. In the case of a free curve, it is necessary to determine the coefficient of the full-energy function.

【0072】[直線区間の近似] 直線の接合点から始
まる区間は、接合点の抽出段階において直線と判断され
ている。始点と終点の座標が分かっている。従って直線
の勾配などを求める必要がない。直線であるというフラ
グを立てるだけで済む。[円弧区間の近似] 円弧の接
合点から始まる区間の近似について説明する。この区間
は接合点抽出の段階において円弧と判断されている。円
弧を表す近似曲線sx (t)、sy (t)は、次の三角
関数の線形結合で表される。観測区間をt∈[0,T]
とすると、sx (t)、sy (t)は、
[Approximation of Straight Line Section] A section starting from a joint point of a straight line is determined to be a straight line at the stage of extracting the joint point. The coordinates of the start and end points are known. Therefore, there is no need to determine the gradient of the straight line. You only need to flag it as a straight line. [Approximation of Circular Arc Section] Approximation of a section starting from a junction of arcs will be described. This section is determined to be a circular arc at the point of joint point extraction. The approximate curves s x (t) and s y (t) representing the arc are expressed by the following linear combination of trigonometric functions. Let the observation interval be t∈ [0, T]
Then, s x (t) and s y (t) are

【0073】 sx (t)=Axcos(2πt/(T/narc ))+Bx sin (2πT/(T/n arc ))+Cx (10) sy (t)=Aycos(2πt/(T/narc ))+By sin (2πT/(T/n arc ))+Cy (11)Sx (T) = Axcos (2πt / (T / narc )) + Bx sin (2πT / (T / n arc )) + Cx (10) sy (T) = Aycos (2πt / (T / narc )) + By sin (2πT / (T / n arc )) + Cy (11)

【0074】によって表現される。narc は円弧の全円
に対する比である。つまり円弧の中心角を360度で割
った値である。2πnarc がこの円弧の中心角である。
変数2πt/(T/narc )は円弧の始点からパラメ−
タtに対応する点までの中心角である。(Cx 、Cy
は円弧の中心の座標である。この時、
Is represented by n arc is the ratio of the arc to the total circle. That is, it is a value obtained by dividing the central angle of the arc by 360 degrees. 2πn arc is the central angle of this arc.
The variable 2πt / (T / n arc ) is a parameter from the starting point of the arc.
It is the central angle up to the point corresponding to point t. (C x , C y )
Is the coordinates of the center of the arc. At this time,

【0075】 Ax 2+Bx 2=Ay 2+By 2 (12) By /Ay =Bx /Ax (13)[0075] A x 2 + B x 2 = A y 2 + B y 2 (12) B y / A y = B x / A x (13)

【0076】が成立すれば近似関数は円弧となる。この
場合、円弧を規定するパラメ−タは関数のそれぞれの係
数Ax 、Bx 、Cx 、Ay 、By 、Cy 、narc であ
る。もしも始めからこの区間が円弧であることが分かっ
ていれば、始点、終点の座標と、曲率と中間の一点の座
標とからこのようなパラメ−タを一義的に決定できる。
[自由曲線の近似] 直線の接合点でも、円弧の接合点
でもない接合点から始まる区間を自由曲線近似する。媒
介変数tで表現するが、輪郭点列は(xi3 u ,yi3 u
)で表され、これにtを対応させて、(ti3 u ,x
i3 u )、(ti3 u ,yi3 u )という媒介変数表示
とする。これまで輪郭点列のサフィックスはkであった
が、ここで区間の区分の番号としてkを用いるからkの
代わりに、i3を輪郭点列の番号とするのである。そし
て輪郭点列の総数をn3とする。
If the above holds, the approximation function becomes an arc. In this case, parameter defines an arc - data each coefficient A x of the function, B x, is C x, A y, B y , C y, n arc. If it is known from the beginning that this section is a circular arc, such parameters can be uniquely determined from the coordinates of the start and end points, the curvature and the coordinates of one point in the middle.
[Approximation of Free Curve] A section starting from a joint that is neither a joint of a straight line nor a joint of an arc is approximated by a free curve. Although represented by the parameter t, the outline point sequence is (x i3 u , y i3 u
), And corresponding to t, (t i3 u , x
i3 u ) and (t i3 u , y i3 u ). Until now, the suffix of the contour point sequence was k. However, since k is used as the section number of the section, i3 is used as the contour point sequence number instead of k. Then, the total number of contour point sequences is set to n3.

【0077】そして、二次のフル−エンシ−関数ψk3
底としてsx (t)、sy (t)を展開する。これは3
つの細区分にのみ値を持つ関数である。区間を[0,
T]として、二次フル−エンシ−関数ψk3は、M次元の
関数系
Then, s x (t) and s y (t) are developed with the quadratic full-energy function ψ k3 as the base. This is 3
A function that has a value in only one subdivision. The interval is [0,
T], the quadratic full-energy function ψ k3 is an M-dimensional functional system

【0078】 ψk3(t)=3(T/M)-2Σq=0 3(−1)q (t−ξk+q2 +/{(q!(3 −q)!)} (14)Ψ k3 (t) = 3 (T / M) -2 Σ q = 0 3 (−1) q (t−ξ k + q ) 2 + / {(q! (3-q)!)} (14)

【0079】 k=−2,−1,0,1,2,・・・M+2 である。これを底としてsx (ti3)、sy (ti3
は、係数ck x、ck yを用いて、
K = −2, −1, 0, 1, 2,..., M + 2. Using this as the base, s x (t i3 ) and s y (t i3 )
Is calculated using coefficients c k x and c k y .

【0080】 sx (ti3)=Σk=-2 M+2k xψk3(ti3) (15) sy (ti3)=Σk=-2 M+2k yψk3(ti3) (16) と表現される。ここで、 t>ξk+q の時 (t−ξk+q2 + =(t−ξk+q2 (17) t≦ξk+q の時 (t−ξk+q2 + = 0 (18)S x (t i3 ) = Σ k = −2 M + 2 c k x ψ k3 (t i3 ) (15) sy (t i3 ) = Σ k = −2 M + 2 c k y ψ k3 (T i3 ) (16) Here, when t> ξ k + q (t−ξ k + q ) 2 + = (t−ξ k + q ) 2 (17) When t ≦ ξ k + q (t−ξ k + q ) 2 + = 0 (18)

【0081】と定義されている。ξk+q は、区間TをM
等分したときの細区分である。 ξk+q =(k+q)T/M (19)
Is defined as ξ k + q is defined as
It is a subdivision when divided equally. ξ k + q = (k + q) T / M (19)

【0082】係数ck x、ck yは、各輪郭点列の値(xi3
u ,yi3 u )と、sx (ti3)、sy (ti3)の値
が近似するように決定する。最小二乗法で係数の値を決
める。2乗誤差Qは
The coefficients c k x and c k y are defined as the values (x i3
u , y i3 u ) and the values of s x (t i3 ) and s y (t i3 ) are determined to be similar. Determine the value of the coefficient by the least squares method. The square error Q is

【0083】 Q=Σi3=1 n3|xi3 u −sx (ti3)|2 −Σi3=1 n3|yi3 u −sy (ti3 )|2 (20)Q = Σ i3 = 1 n3 | x i3 u −s x (t i3 ) | 2 −Σ i3 = 1 n3 | y i3 u −s y (t i3 ) | 2 (20)

【0084】によって定義される。これを最小にすると
いうことで、係数ck x、ck yを求めることができる。
Is defined by By minimizing this, the coefficients c k x and c k y can be obtained.

【0085】[O.圧縮デ−タ出力機構]図形の輪郭線
がこれまでの手順によって、直線(線分)、真円、円
弧、自由曲線に分離された。これらは始点、終点を持
ち、傾き、中心、半径などのパラメ−タを持っている。
それぞれの種類によって格納すべきデ−タも異なってい
る。直線デ−タの場合は、直線である事を示すフラグ、
直線の始点座標をデ−タとして格納する。終点座標は次
の区間の始点として与えられるのでここでは格納する必
要がない。直線の傾きは直線を定義するパラメ−タであ
るが始点と、次の接合点の座標を結ぶことにより直線が
できるので傾きも不要である。これも格納しない。
[O. Compressed Data Output Mechanism] The outline of a figure is separated into straight lines (line segments), perfect circles, circular arcs, and free curves by the above procedure. These have a starting point and an ending point, and have parameters such as inclination, center, and radius.
The data to be stored differs depending on the type. In the case of straight line data, a flag indicating a straight line,
The coordinates of the starting point of the straight line are stored as data. Since the end point coordinates are given as the start point of the next section, there is no need to store them here. The inclination of the straight line is a parameter that defines the straight line. However, since the straight line can be formed by connecting the coordinates of the starting point and the coordinates of the next junction, no inclination is required. This is not stored either.

【0086】真円デ−タの場合は、真円記憶装置Gから
直接にデ−タを得る事ができる。これは1回目のデ−タ
近似機構Aによって既に選び出されている。真円の場
合、真円を示すフラグ、円の中心座標、円の半径をデ−
タとして格納する。円弧デ−タとして、円弧である事を
示すフラグ、円弧の始点座標、円弧分割長(円弧長/周
長)、輪郭点数、関数の係数を格納する。自由曲線のデ
−タとしては、関数の次元数、輪郭点数、輪郭点列の変
動の中点(μx 、μy )及び関数の係数cx 、cy を格
納する。
In the case of the perfect circle data, the data can be obtained directly from the perfect circle storage device G. This has already been selected by the first data approximation mechanism A. In the case of a perfect circle, the flag indicating the perfect circle, the center coordinates of the circle, and the radius of the circle are provided.
Stored as data. As the arc data, a flag indicating an arc, the coordinates of the starting point of the arc, the arc division length (arc length / perimeter), the number of contour points, and the coefficient of the function are stored. De of free curve - The data, dimensionality of the function, the contour points, the middle point (μ x, μ y) of the variation of the contour point sequence and the coefficient of the function c x, stores c y.

【0087】[P.圧縮デ−タ記憶装置]圧縮デ−タ出
力機構から出力された、直線、真円、円弧、自由曲線な
どのデ−タを記憶する。これは記憶した後適当な時期に
出力する。ここまではデ−タを圧縮生成し記憶する装置
である。大きい原画を入力し、第1の画像記憶装置に記
憶し、これを分割画像毎に切り出して,以上のようなデ
−タ圧縮操作を行い、これを圧縮デ−タ記憶装置Pに記
憶する。これが第12の画像記憶装置1′と表現してい
たものである。同様にして次の分割画像の処理を行う。
次々に分割画像のデ−タ圧縮処理を行いこれを圧縮デ−
タ記憶装置に記憶して行く。圧縮デ−タ記憶装置Pに格
納されるデ−タ構造を表1に示す。
[P. Compressed data storage device] Stores data such as straight lines, perfect circles, circular arcs, and free curves output from the compressed data output mechanism. This is output at an appropriate time after being stored. Up to this point, the data is compressed and generated and stored. A large original image is input, stored in the first image storage device, cut out for each divided image, subjected to the above data compression operation, and stored in the compressed data storage device P. This is what was expressed as a twelfth image storage device 1 '. Similarly, the processing of the next divided image is performed.
Data compression processing of the divided images is performed one after another, and this is compressed data.
Data in the data storage device. Table 1 shows the data structure stored in the compressed data storage device P.

【0088】[0088]

【表1】 [Table 1]

【0089】デ−タの大きさについて説明する。接合点
間が直線の場合は、直線を示すフラグのために1バイ
ト、線分の始点を示すのに2バイト(x座標とy座標)
で計3バイト要る。接合点間が円弧の場合は、円弧を示
すフラグで1バイト、円弧の始点を示すのに2バイト、
円弧中心角を表すのに4バイト、輪郭点列の数を表すの
に1バイト、近似関数の係数(6個ある)を表すのに1
2バイトで合計20バイト必要である。接合点間が自由
曲線の場合は、関数の次元数Mを表すのに1バイト、輪
郭点数で1バイト、輪郭点の変動の中心を表すのに2バ
イト、近似関数の係数を表すのに2Mバイト、合計で4
+2Mバイトとなる。
The size of the data will be described. If a straight line exists between the joining points, one byte is used for the flag indicating the straight line, and two bytes are used for indicating the start point of the line segment (x coordinate and y coordinate).
Requires a total of 3 bytes. When the arc between the joining points is an arc, the flag indicating the arc is 1 byte, and the start point of the arc is 2 bytes.
4 bytes to represent the arc center angle, 1 byte to represent the number of contour points, 1 to represent the approximate function coefficients (there are 6)
A total of 20 bytes are required for 2 bytes. In the case of a free curve between the joining points, 1 byte is used to represent the dimension number M of the function, 1 byte is used as the number of contour points, 2 bytes is used to represent the center of variation of the contour points, and 2M is used to represent the coefficient of the approximate function. Bytes, 4 in total
+2 Mbytes.

【0090】[R.輪郭再生機構]これは記憶されてい
る圧縮デ−タから画像の骨格となるべき輪郭線を再生す
る機構である。輪郭線は直線、真円、円弧、自由曲線の
場合がある。[直線の再生] 直線の再生は、始点の座
標から、次の区間の接合点の座標までを直線で結ぶこと
によって行われる。直線の傾きに関するデ−タは不要で
ある。[真円の再生] 真円の再生は、中心の座標と半
径のデ−タから、中心座標を中心として与えられた半径
の円を描く事によって行われる。[円弧の再生] 円弧
の再生は格納されている各デ−タ(Ax ,Bx ,・・
・)を次の式に代入する事によって行われる。
[R. Contour Reproducing Mechanism] This is a mechanism for reproducing a contour line to be a skeleton of an image from stored compressed data. The contour may be a straight line, a perfect circle, an arc, or a free curve. [Reproduction of Straight Line] The reproduction of a straight line is performed by connecting a straight line from the coordinates of the starting point to the coordinates of the joining point in the next section. No data regarding the inclination of the straight line is required. [Reproduction of Perfect Circle] Reproduction of a perfect circle is performed by drawing a circle having a given radius around the center coordinates from data of the coordinates and the radius of the center. [Reproduction of circular arc] Reproduction of circular arc is performed by storing the stored data (A x , B x ,...).
・) Is substituted into the following equation.

【0091】 Sx(t) = Axcos{2πt/(T/narc)} +Bxsin{2πt/(T/narc)} +Cx (2 1) Sy(t) = Aycos{2πt/(T/narc)} +Bysin{2πt/(T/narc)} +Cy (2 2)S x (t) = A x cos {2πt / (T / n arc )} + B x sin {2πt / (T / n arc )} + C x (21) S y (t) = A y cos {2πt / (T / n arc )} + B y sin {2πt / (T / n arc )} + C y (22)

【0092】パラメ−タtを[0〜T]の区間で変動さ
せる事により、Sx (t)、Sy (t)からx、y座標
を得る。 [自由曲線の再生] 各標本点ti に於ける近似関数の
基底ψK3の値は、標本点ti が区間[(L−1)(T/
M),L(T/M)]内にある時(1≦L≦M)、p=
L−ti ×M/Tを用いて、
The x and y coordinates are obtained from S x (t) and S y (t) by varying the parameter t in the interval [0 to T]. [Reproduction of Free Curve] The value of the basis ψ K3 of the approximation function at each sample point t i is such that the sample point t i is in the interval [(L−1) (T /
M), L (T / M)] (1 ≦ L ≦ M), p =
By using the L-t i × M / T ,

【0093】 ψk3(ti )=0.5p2 k=L (23) ψk3(ti )=p(1−p)+0.5 k=L+1 (24) ψk3(ti )=1−ψL3(ti )−ψL+13(ti ) k=L+2 (25) ψk3(ti )=0 k≦L−1,L+3≦k (26)Ψ k3 (t i ) = 0.5p 2 k = L (23) ψ k3 (t i ) = p (1-p) +0.5 k = L + 1 (24) ψ k3 (t i ) = 1 −ψ L3 (t i ) −ψ L + 13 (t i ) k = L + 2 (25) ψ k3 (t i ) = 0 k ≦ L−1, L + 3 ≦ k (26)

【0094】によって表される。ただしLは次元数M以
下の自然数である。このような基底ψK3を用いて各標本
点に於ける近似関数値S(ti )は
Is represented by Here, L is a natural number of dimensions M or less. Using such a basis ψ K3 , the approximate function value S (t i ) at each sample point is

【0095】 S(ti )=Σk=L L+2k ψk3(ti ) (27)[0095] S (t i) = Σ k = L L + 2 C k ψ k3 (t i) (27)

【0096】によって求められる。出力をカッティング
プロッタなどとし、シ−ト部材を切り出すようなもので
あれば、このような輪郭線にそってシ−トを切るように
すれば良い。
Is obtained by If the output is a cutting plotter or the like and a sheet member is cut out, the sheet may be cut along such a contour line.

【0097】[S.画像再生機構]輪郭線が得られたの
で輪郭線で囲まれた部分を黒画素として、白黒の2値画
像にしてロゴ・イラスト形状に再生する。あるいは反対
に輪郭線で囲まれた部分を白画素とし、残りを黒画素と
することもできる。さらに輪郭線で囲まれた部分をある
色彩とし、他の部分を他の色彩とすることもできる。
[S. Image reproducing mechanism] Since the outline is obtained, a portion surrounded by the outline is set as a black pixel, and a black-and-white binary image is reproduced in a logo / illustration shape. Or, conversely, the portion surrounded by the outline can be white pixels, and the rest can be black pixels. Further, a portion surrounded by the outline may be set to a certain color, and another portion may be set to another color.

【0098】[T.再生デ−タ出力機構]関数の係数か
ら画像を再生するために、例えば再生画像の大きさを1
mm角からA3版大まで指定できるレイアウトエデイタ
を用いる。再生画像は300DPIの精度を持つレ−ザ
プリンタ或は600DPIの精度を持つレ−ザプリンタ
を用いて印字される。さらに、3000DPIの電植機
(印刷機器)、または400DPIのポストスクリプト
対応プリンタ、レ−ザカッタ等によって出力することが
できる。原図は関数の係数の形で記憶されていて、任意
の倍率に拡大縮小することができる。また座標もその中
心を任意に指定する事ができる。このため、任意の形状
の文字、図形等を任意の位置に任意の大きさで出力する
事ができる。
[T. Reproduction data output mechanism] In order to reproduce an image from the coefficient of the function, for example, the size of the reproduced image is set to 1
Use a layout editor that can specify from mm square to A3 size large. The reproduced image is printed by using a laser printer having an accuracy of 300 DPI or a laser printer having an accuracy of 600 DPI. Further, it can be output by a 3000 DPI electroplanter (printing device), a 400 DPI postscript compatible printer, a laser cutter, or the like. The original figure is stored in the form of function coefficients, and can be scaled to any magnification. Also, the center can be arbitrarily specified for the coordinates. Therefore, it is possible to output a character, a figure, or the like having an arbitrary shape at an arbitrary position and an arbitrary size.

【0099】[0099]

【実施例】本発明は原画をイメ−ジスキャナで読取り
(入力)、分割画像に分割しデ−タ圧縮して記憶装置に
デ−タを記憶する。そして記憶装置からデ−タを読み出
して合成し、レ−ザプリンタやカッティングプロッタな
どで再生図を描く(出力)。本発明では分割画像の大き
さを任意の大きさに設定できる。例えば、400×40
0ドットや、1000×1000ドットとすることがで
きる。しかし分割画像のサイズは2のn乗の大きさ(6
4,256,512,1024等)にした方が便利であ
る。ここで述べる実施例では分割画像の大きさは256
×256ドットである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS According to the present invention, an original image is read (input) by an image scanner, divided into divided images, compressed, and stored in a storage device. Then, the data is read from the storage device and synthesized, and a reproduction diagram is drawn (output) by a laser printer, a cutting plotter or the like. In the present invention, the size of the divided image can be set to an arbitrary size. For example, 400 × 40
It can be 0 dots or 1000 × 1000 dots. However, the size of the divided image is 2 n (6
4, 256, 512, 1024) is more convenient. In the embodiment described here, the size of the divided image is 256
× 256 dots.

【0100】ドット数で分割画像を規定しているので、
画像読取りのためのイメ−ジスキャナのdpi(1イン
チ当たりのドット数)により、分割画像の実際の大きさ
が変わってくる。粗い読取り精度のイメ−ジスキャナ
(dpiが小さい)の場合は、分割画像が大きくなる。
この場合、同じ大きさの原画を扱う時、分割画像の分割
数(ここでは箱数という)が少なくなる。反対に、細か
い読取りをするイメ−ジスキャナの場合(dpiが大き
い)は、分割画像が小さくなる。分割数(箱数)が大き
くなり、処理時間も長く必要である。イメ−ジスキャナ
の読取り精度(dpi)は90〜400dpiと様々で
ある。
Since the divided image is defined by the number of dots,
The actual size of the divided image changes depending on the dpi (dots per inch) of the image scanner for reading the image. In the case of an image scanner with a low reading accuracy (dpi is small), the divided image becomes large.
In this case, when handling original images of the same size, the number of divisions of the divided image (here, the number of boxes) is reduced. On the other hand, in the case of an image scanner that performs fine reading (dpi is large), the divided image becomes small. The number of divisions (the number of boxes) increases and the processing time needs to be long. The reading accuracy (dpi) of the image scanner varies from 90 to 400 dpi.

【0101】[0101]

【表2】 [Table 2]

【0102】表2にイメ−ジスキャナのdpiと、分割
画像の寸法、A4画面を入力した時にこれを覆い尽くす
ことのできる分割画像の数(箱数)を示す。またその時
に読み込まれるデ−タ量をも示す。イメ−ジスキャナの
dpiは1インチ当たりのドット数であるので、256
ドットの分割画像の一辺寸法Sは、25.4×256/
dpi(mm)ということになる。90dpiの場合、
S=72.2mmで、400dpiの場合、S=16.
2mmである。A4の原画の場合、210mm×296
mmであるので、R=[210/S]+1が横方向の分
割画像の数になる。ここで[…]というのは、…の整数
部分を意味する。縦方向にはQ=[296/S]+1で
ある。A4全面読み込みの時の箱数というのは、これら
の積PQである。200dpiで箱数は、70個であ
る。400dpiで箱数は266個である。読み込まれ
た時のデ−タ量というのは256×256×(箱数)で
ある。入力出力装置として例えば次のようなものを用い
ることができる。
Table 2 shows the dpi of the image scanner, the dimensions of the divided images, and the number of divided images (the number of boxes) that can cover the A4 screen when it is input. It also shows the amount of data read at that time. Since the dpi of the image scanner is the number of dots per inch, 256
One side size S of the divided image of the dot is 25.4 × 256 /
dpi (mm). For 90 dpi,
When S = 72.2 mm and 400 dpi, S = 16.
2 mm. In the case of A4 original picture, 210 mm x 296
mm, R = [210 / S] +1 is the number of divided images in the horizontal direction. Here, [...] means an integer part of .... In the vertical direction, Q = [296 / S] +1. The number of boxes at the time of full-size reading of A4 is the product PQ of these. At 200 dpi, the number of boxes is 70. The number of boxes is 266 at 400 dpi. The data amount at the time of reading is 256 × 256 × (the number of boxes). For example, the following can be used as the input / output device.

【0103】[入力装置] システムクオリテイ社IS
−500(400dpi) これは400DPIの解像度、256の階調を持つイメ
−ジスキャナである。A4の大きさの原画の場合、40
0dpiで8秒、240dpiで5.5秒程度である。
[Input Device] System Quality IS
-500 (400 dpi) This is an image scanner having a resolution of 400 DPI and 256 gradations. In the case of the original picture of A4 size, 40
It is about 8 seconds at 0 dpi and about 5.5 seconds at 240 dpi.

【0104】[出力装置] 株式会社リコー製のレーザプリンタ(商品名リコーS
P8)(240dpi、擬似600dpi) これは鮮明なレーザプリンタ出力である。原画の複雑さ
にもよるが、原画がA4の大きさの場合に、出力の速さ
は1分程度またはそれ以下である。極めて速い出力機で
ある。出力の寸法はA4までである。
[Output Device] Laser printer manufactured by Ricoh Co., Ltd. (trade name: Ricoh S)
P8) (240 dpi, pseudo 600 dpi) This is a sharp laser printer output. Although depending on the complexity of the original image, the output speed is about 1 minute or less when the original image is A4 size. It is an extremely fast output machine. Output dimensions are up to A4.

【0105】株式会社リコー製のレーザプリンタ(商
品名リコーイマジオMF530)(400dpi) 高解像度の美しいレーザプリンタ出力を得ることができ
る。版下をそのまま使用することにより、DTP印刷器
として利用できる。出力の速度は遅い。本発明の方法に
より記憶した画像を出力する場合、A4の大きさで15
分〜30分かかる。
Laser printer manufactured by Ricoh Co., Ltd. (trade name: Ricoh Imagio MF530) (400 dpi) A high-resolution beautiful laser printer output can be obtained. By using the composition as it is, it can be used as a DTP printer. Output speed is slow. When outputting an image stored by the method of the present invention, the size of A4 is 15
It takes between minutes and 30 minutes.

【0106】カッティングプロッタ 例えばグラフテック社のFC2100−50、FC21
00−90Aなどを用いることができる。これは幅50
0mm〜50mmの幅のフィルムを切断することができ
る。切断刃は超鋼刃、セラミック刃、サファイア刃など
である。これは剥離紙と台紙よりなるフィルムを切断す
る。この場合は、切断したフィルムを何らかの台材に貼
り付けて、看板や、案内板、ビルの装飾、道路標識など
に用いることができる。熱転写フィルムを使うとスポ−
ツウエア、アウトドア用品、Tシャツなどに文字、模様
を描くのに利用できる。カッティングプロッタの刃をペ
ンに変えると図面を紙の上に描くこともできる。
Cutting plotter For example, FC2100-50, FC21 manufactured by Graphtec
00-90A or the like can be used. This is width 50
A film having a width of 0 mm to 50 mm can be cut. The cutting blade is a super steel blade, a ceramic blade, a sapphire blade or the like. This cuts the film consisting of release paper and backing paper. In this case, the cut film can be attached to some kind of base material and used for signboards, information boards, building decorations, road signs, and the like. When using thermal transfer film,
It can be used to draw letters and patterns on t-shirts, outdoor goods, T-shirts, etc. By changing the blade of the cutting plotter to a pen, you can draw drawings on paper.

【0107】サーマルプロッタ(400dpi) これは感熱紙に図面を描くものである。例えば、グラフ
テック社のTM1000−OPFなどを使うことができ
る。これはA0、A1、A2、A3などの大きさの用紙
に図面、文字を出力することができる。横断幕、会場案
内、葬儀名札、などの単文字の出力に適する。大きい画
面を再生できるので、特大の横断幕を製作することがで
きる。カッティングプロッタによって再生画像を出力す
る場合は、刃またはペンで輪郭線(アウトライン出力)
を描くことになる。前述のように分割境界線を出力しな
いようにしてアウトライン出力すれば、シート部材など
を輪郭線に沿って切ることができる。看板や、案内板、
表示板、名札、横断幕、アイロンプリントなど広い用途
に使うことができる。位置や大きさは計算により自在に
設定できる。図20は、マーク(原画は図28実寸大)
を本発明の方法で読取り、分割しデータ圧縮し、記憶し
これを合成してアウトライン出力したものである。境界
分割線が消えている。また図21はverdという語
(原画は図29実寸大)を本発明の方法で読取り分割し
データ圧縮して記憶しさらに合成しアウトライン出力し
たものである。これも分割境界線が消えている。図22
も同様に、納涼祭という言葉(原画は図30実寸大)に
ついて本発明を適用し、アウトライン出力したものであ
る。このように本発明は正確に輪郭線にそってシートを
切断することができるので、多様な用途に用いることが
できる。図27はカッティングシートをカッティングプ
ロッタにより上層のみを切断したものである。分割境界
線が現れない。これは長辺が1120mm、短辺が46
1.5mmである大きいシートである。文字のKの高さ
が122mmである。このように広いシートであっても
簡単に切り出すことができる。
Thermal plotter (400 dpi) This draws a drawing on thermal paper. For example, TM1000-OPF of Graphtec can be used. It can output drawings and characters on paper of A0, A1, A2, A3, etc. Suitable for single character output such as banners, venue guides, funeral name tags, etc. The ability to play large screens makes it possible to produce oversized banners. When outputting a playback image using a cutting plotter, use a blade or pen to outline (outline output)
Will be drawn. As described above, if the outline is output without outputting the division boundary line, the sheet member or the like can be cut along the outline. Signs, information boards,
It can be used for a wide range of applications such as display boards, name tags, banners, and iron prints. The position and size can be freely set by calculation. FIG. 20 shows the mark (the original picture is the actual size shown in FIG. 28).
Is read out by the method of the present invention, divided, data compressed, stored, synthesized, and output as an outline. The boundary dividing line has disappeared. FIG. 21 shows the word verd (the original picture is the actual size of FIG. 29) read and divided by the method of the present invention, compressed and stored, further synthesized, and output as an outline. Also in this case, the dividing boundary line has disappeared. FIG.
Similarly, the present invention is applied to the word “Nyo-sai” (the original picture is the actual size of FIG. 30) and output in outline. As described above, since the present invention can cut a sheet accurately along a contour line, it can be used for various applications. FIG. 27 shows a cutting sheet in which only the upper layer is cut by a cutting plotter. No division boundaries appear. It has a long side of 1120 mm and a short side of 46
This is a large sheet that is 1.5 mm. The height of the letter K is 122 mm. Such a wide sheet can be easily cut out.

【0108】次に通常のプリンタで出力した再生画像に
ついて説明する。図23はある原画である。秋の訪問
着、秋の呉服市、などの文字が書かれている。大きさは
特許出願のための制限にあうように縮小してある。これ
を前記のイメージスキャナで読み込み、本発明の手法に
従って分割し、これをデータ圧縮して記憶している。デ
ータ圧縮などは日本電気株式会社製のパーソナルコンピ
ュータ(商品名PC−9801BA)を用いた。図26
は株式会社リコー製のレーザプリンタ(商品名リコーイ
マジオMF530)による再生画像である。これは図2
3と全く同じように見える。大きさは勿論違うのである
が、特許出願用図面にしているので、大きさも近似して
いる。原画を奇麗に再現していることがわかる。図24
は秋の訪問着の部分の株式会社リコー製のレーザプリン
タ(商品名リコーSP8)による再生画像である。大き
さは計算により様々に変化させることができる。図25
は秋の呉服市の部分の株式会社リコー製のレーザプリン
タ(商品名リコーSP8)による再生画像である。これ
も原画の忠実な再現であることが分かる。
Next, a reproduced image output by a normal printer will be described. FIG. 23 shows a certain original picture. Characters such as autumn visiting clothes and autumn kimono market are written. The size has been reduced to meet the restrictions for patent applications. This is read by the image scanner, divided according to the method of the present invention, and compressed and stored. For data compression and the like, a personal computer (trade name: PC-9801BA) manufactured by NEC Corporation was used. FIG.
Is a reproduced image by a laser printer (trade name: Ricoh Imagio MF530) manufactured by Ricoh Co., Ltd. This is Figure 2
Looks exactly like 3. Although the size is of course different, the size is similar because the drawing is for a patent application. It can be seen that the original is reproduced beautifully. FIG.
Is a reproduced image of a portion of the arrival at the autumn visit by a laser printer (trade name: Ricoh SP8) manufactured by Ricoh Co., Ltd. The size can be variously changed by calculation. FIG.
Is an image reproduced by a laser printer (trade name: Ricoh SP8) manufactured by Ricoh Co., Ltd. in the area of Kimono City in autumn. It can be seen that this is also a faithful reproduction of the original picture.

【0109】[0109]

【表3】 [Table 3]

【0110】表3にこのような処理に要する時間を示
す。秋の呉服市の部分のイメージスキャナによる読取り
に13秒、日本電気株式会社製のパーソナルコンピュー
タ(商品名PC−9801BA)による分割画像切り出
し、データ圧縮、データ記憶に、1分40秒掛かる。こ
れを出力する場合、株式会社リコー製のレーザプリンタ
(商品名リコーイマジオMF530)で9分52秒、株
式会社リコー製のレーザプリンタ(商品名リコーSP
8)で1分19秒掛かった。後者の場合、データ読取り
から出力までの合計の時間が、3分12秒に過ぎない。
Table 3 shows the time required for such processing. It takes 13 minutes to read the portion of the autumn kimono city by the image scanner, and it takes 1 minute and 40 seconds to cut out the divided image using a personal computer (trade name: PC-9801BA) manufactured by NEC Corporation, compress the data, and store the data. When outputting this, a laser printer (trade name Ricoh SP) (trade name: Ricoh Imagio MF530) manufactured by Ricoh Co., Ltd.
8) It took 1 minute and 19 seconds. In the latter case, the total time from data reading to output is only 3 minutes and 12 seconds.

【0111】[0111]

【表4】 [Table 4]

【0112】表4には秋の訪問着の部分の読取り、デー
タ圧縮、出力の時間を示す。イメージスキャナでの読取
りに21秒、日本電気株式会社製のパーソナルコンピュ
ータ(商品名PC−9801BA)での処理に1分57
秒かかった。再生画像の出力には、株式会社リコー製の
レーザプリンタ(商品名リコーイマジオMF530)で
8分44秒、株式会社リコー製のレーザプリンタ(商品
名リコーSP8)で1分4秒かかった。いずれにしても
極めて短時間で、大きい画像を分割し、関数近似してデ
ータ圧縮し、記憶し、さらに記憶されていたデータを合
成して画像にすることができるということが分かる。ま
た従来は原画を光学的に読取るとノイズが入って再生画
像が汚くなってしまうが、本発明ではノイズなどを除
き、直線部円弧部等を積極的に修正する作用もあるの
で、端麗な再生画像を得ることができる。
Table 4 shows the time of reading, data compression, and output of the portion of the arrival at autumn. 21 seconds for reading with an image scanner and 1 minute 57 for processing with a personal computer (trade name: PC-9801BA) manufactured by NEC Corporation.
It took seconds. Output of the reproduced image took 8 minutes and 44 seconds with a laser printer manufactured by Ricoh Co., Ltd. (trade name: Ricoh Imagio MF530) and 1 minute, 4 seconds by laser printer manufactured by Ricoh Co., Ltd. (trade name: Ricoh SP8). In any case, it can be seen that in a very short time, a large image can be divided, data approximated by function approximation, stored, and the stored data can be combined into an image. Conventionally, when the original image is optically read, noise is generated and the reproduced image becomes dirty.However, in the present invention, since there is also an operation of actively correcting a linear portion and an arc portion, etc. Images can be obtained.

【0113】[0113]

【発明の効果】本発明は、大きい画像を単位大きさの小
さい画像に分割し、これを、白黒画像として輪郭点列抽
出、接合点抽出、函数近似などを行い、圧縮されたデ−
タを記憶装置に記憶させる。そしてこれを何回も繰り返
して、画像の全体をデ−タ圧縮する。反対に個々の分割
画像のデ−タを読み出しこれを合成して再生する。小さ
い範囲を対象にして、輪郭点列抽出、接合点抽出、函数
近似をするので、通常のパソコンでも充分に対応するこ
とができる。接合点抽出してこの間を、直線、円弧、自
由曲線で結ぶようにするので、読取りの際に入る光学的
な原因によるノイズの影響を除去することができる。反
対に滑らかな曲線部も美しく再現でき高品質の再生画像
を得ることができる。函数近似するので記憶すべきデ−
タの量が減るし、滑らかに近似できる。為に出力の時間
が短くなり、しかも再生画像の質を向上することができ
るのである。
According to the present invention, a large image is divided into images having a small unit size, and the resulting image is subjected to contour point sequence extraction, joint point extraction, function approximation, etc. as a black and white image, and the compressed data is obtained.
Data in the storage device. This is repeated many times to compress the entire image. Conversely, the data of each divided image is read out and synthesized and reproduced. Since outline point sequence extraction, junction point extraction, and function approximation are performed for a small range, a normal personal computer can be used sufficiently. Since junctions are extracted and connected by a straight line, a circular arc, or a free curve, it is possible to eliminate the influence of noise caused by optical factors that occur during reading. Conversely, a smooth curved portion can be beautifully reproduced, and a high-quality reproduced image can be obtained. Data to be memorized because of function approximation
The amount of data can be reduced and smooth approximation can be achieved. Therefore, the output time is shortened, and the quality of the reproduced image can be improved.

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

【図1】大きい原図をイメ−ジスキャナで読み込み、第
1の画像記憶装置に記憶させ、小さい基本となる分割画
像に分割して順にデ−タ圧縮処理し、第2の画像記憶装
置1′に圧縮デ−タを書き込んで行く本発明の手順を示
す図。
FIG. 1 is a diagram showing an original image which is read by an image scanner, stored in a first image storage device, divided into smaller basic divided images and subjected to data compression processing in order, and transferred to a second image storage device 1 '. The figure which shows the procedure of this invention which writes compressed data.

【図2】原図から分割画像を切り出す時に縦横に1画素
分だけ重ねるようにすることを示す図。
FIG. 2 is a diagram showing that one pixel is overlapped vertically and horizontally when a divided image is cut out from an original image.

【図3】原図から分割画像を切り出す時に1画素分重ね
ない場合に再生画像がどうなるかを説明する図。
FIG. 3 is a view for explaining what happens to a reproduced image when one pixel is not overlapped when cutting out a divided image from an original image.

【図4】原図を単位の大きさの分割画像に分割してゆく
と右端と下端に余りが出るがこれに0を埋め込むことを
示す図。
FIG. 4 is a diagram showing that when the original image is divided into divided images of a unit size, there is a surplus at the right end and the lower end, but 0 is embedded in this.

【図5】境界に沿う直線の端点は、接合点として残す必
要があることを説明するための図。
FIG. 5 is a diagram for explaining that an end point of a straight line along a boundary needs to be left as a joining point;

【図6】境界にある直線の端点を接合点として残すため
のアルゴリズムを示す図。
FIG. 6 is a diagram illustrating an algorithm for leaving an end point of a straight line at a boundary as a joint point.

【図7】境界の接合点を正しく残すためには、yk −y
k-1 <0が必要であることを説明するための図。
FIG. 7 shows that y k −y
The figure for explaining that k-1 <0 is required.

【図8】4つの分割画像にまたがるパタ−ンが、どのよ
うに分割されて、どのように再生されるかを示す図。塗
り潰しの場合は問題がないが、輪郭線を描く場合は、境
界に起因する分割線が黒画像の部分に現れることを説明
する。
FIG. 8 is a view showing how a pattern extending over four divided images is divided and reproduced. There is no problem in the case of filling, but in the case of drawing an outline, it will be described that a dividing line due to a boundary appears in a black image portion.

【図9】本発明の効果を示すための一つの原図。FIG. 9 is an original view showing the effect of the present invention.

【図10】図9の原図を本発明の方法で分割デ−タ圧縮
記憶し、分割デ−タを合成して輪郭線画像を再生したも
のを示す図。黒画素の部分に分割境界線が現れている。
FIG. 10 is a diagram showing the original image of FIG. 9 compressed and stored in accordance with the method of the present invention and reproducing the contour image by synthesizing the divided data. A dividing boundary line appears at the black pixel portion.

【図11】図9の原図を本発明の方法で分割、デ−タ圧
縮し、記憶し、分割デ−タを合成して原図を再生したも
のを示す図。
FIG. 11 is a diagram showing the original drawing of FIG. 9 divided and compressed by the method of the present invention, stored, and the divided drawing is synthesized to reproduce the original drawing.

【図12】本発明の効果を示すための他の原図。FIG. 12 is another original view showing the effect of the present invention.

【図13】図12の原図を本発明の方法で分割し、デ−
タ圧縮し、記憶し、さらに分割デ−タを合成して輪郭線
画像を再生したものを示す図。輪郭線による再生(アウ
トライン出力)画像。黒画素の部分に分割境界線が現れ
ている。
FIG. 13 divides the original drawing of FIG. 12 by the method of the present invention, and
FIG. 9 is a diagram showing a data obtained by compressing data, storing the data, and synthesizing the divided data to reproduce an outline image. Reproduced (outline output) image with contour lines. A dividing boundary line appears at the black pixel portion.

【図14】図12の原画を本発明の方法で分割、デ−タ
圧縮し、記憶し、分割デ−タを合成し、閉輪郭線を塗り
潰して再生したものを示す図。
FIG. 14 is a diagram showing the original image of FIG. 12 reproduced by dividing and compressing the data by the method of the present invention, storing the divided data, synthesizing the divided data, and filling the closed contour lines.

【図15】分割境界線上の輪郭線の特徴を示す図。FIG. 15 is a view showing characteristics of a contour on a division boundary.

【図16】出力時に分割境界線上の輪郭線を出力しない
ためのひとつのアルゴリズムを説明する図。
FIG. 16 is a view for explaining one algorithm for not outputting an outline on a division boundary at the time of output.

【図17】分割画像をデ−タ圧縮するための機構を説明
するための構成図。
FIG. 17 is a configuration diagram for explaining a mechanism for compressing data of a divided image.

【図18】本発明のデ−タ圧縮方法において採用される
接合点抽出手法の手続を説明するためのフロ−チャ−
ト。
FIG. 18 is a flowchart for explaining a procedure of a joint extraction method adopted in the data compression method of the present invention.
G.

【図19】「あ」と「ポ」の接合点抽出結果を例示する
図。
FIG. 19 is a diagram exemplifying a junction extraction result of “a” and “po”;

【図20】本発明の方法により文字を入力、分割、デー
タ圧縮し、輪郭線出力(アウトライン出力)した図。分
割境界線が消えている。
FIG. 20 is a diagram in which characters are input, divided, data compressed, and contour lines are output (outline outputs) according to the method of the present invention. The dividing border has disappeared.

【図21】本発明の方法により文字を入力、分割、デー
タ圧縮し、輪郭線出力(アウトライン出力)した図。分
割境界線が消えている。
FIG. 21 is a diagram in which characters are input, divided, data compressed, and contour lines are output (outline outputs) according to the method of the present invention. The dividing border has disappeared.

【図22】本発明の方法により納涼祭という文字を入
力、分割、デ−タ圧縮し、輪郭線出力(アウトライン出
力)した図。分割境界線が消えている。
FIG. 22 is a diagram in which the character “Nyo-sai” is input, divided, data-compressed, and output as an outline (outline output) by the method of the present invention. The dividing border has disappeared.

【図23】本発明の効果を調べるための「秋の呉服市、
秋の訪問着、振りそで、きものまつり」等の語を含む原
画。
FIG. 23: “Autumn kimono city,
Original drawings that include words such as "Welcome to the autumn, shades, kimono festival".

【図24】図23中、秋の訪問着の部分の株式会社リコ
ー製のレーザプリンタ(商品名リコーSP8)による再
生図。
FIG. 24 is a reproduction view of a portion of the arrival at autumn in FIG. 23 by a laser printer manufactured by Ricoh Co., Ltd. (trade name: Ricoh SP8).

【図25】図23中、秋の呉服市の部分の株式会社リコ
ー製のレーザプリンタ(商品名リコーSP8)による再
生図。
FIG. 25 is a reproduction diagram of a portion of the autumn clothing market in FIG. 23 using a laser printer (trade name: Ricoh SP8) manufactured by Ricoh Co., Ltd.

【図26】図23を株式会社リコー製のレーザプリンタ
(商品名リコーイマジオMF530)により再生した再
生図。
FIG. 26 is a reproduction view of FIG. 23 reproduced by a laser printer (trade name: Ricoh Imagio MF530) manufactured by Ricoh Co., Ltd.

【図27】カッテイングシ−トをカッティングプロッタ
によって上層だけを切り込んだものを示す図。
FIG. 27 is a diagram showing a cutting sheet in which only the upper layer is cut by a cutting plotter.

【図28】図20の原画である文字の原寸大の図。FIG. 28 is a full-scale view of a character that is the original image of FIG. 20;

【図29】図21の原画である文字の原寸大の図。FIG. 29 is a full-scale view of a character that is the original image of FIG. 21;

【図30】図22の原画である納涼際という文字の原寸
大の図。
FIG. 30 is a full-scale drawing of the character “cool” which is the original picture of FIG. 22;

フロントページの続き (56)参考文献 特開 昭60−49483(JP,A) 特開 昭57−159363(JP,A) 特開 昭62−274372(JP,A) 特開 昭61−221979(JP,A) 電子情報通信学会論文誌D VOL. J70−D NO.6 P.1164−1172 (昭和62年6月) 電子情報通信学会論文誌D−II V OL.J73−D−II NO.9 P. 1448−1457(平成2年9月)Continuation of front page (56) References JP-A-60-49483 (JP, A) JP-A-57-159363 (JP, A) JP-A-62-274372 (JP, A) JP-A-61-221979 (JP) , A) IEICE Transactions D VOL. J70-D NO. 6P. 1164-1172 (June 1987) IEICE Transactions D-II VOL. J73-D-II NO. 9 P. 1448-1457 (September 1990)

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを基本小領域に分割し分割
された分割画像について順次関数近似によりデータ圧縮
するデータ圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して、原画を再生する再生装置とを含
み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする2次の区分的多項式で近
似し、近似精度が所定範囲になるまで最小二乗近似を繰
り返し輪郭点列の群毎の近似多項式を求めるデータ近似
機構Aと、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を仮接
合点として抽出する仮接合点位置抽出機構と、 (b7)隣接する隅点に対応する接合点同士が隅点を形
成する線の輪郭線上にあるという条件に従って隅点の仮
接合点の近傍の接合点候補から最適接合点を求める最適
接合点抽出機構と、 (b8)連続する二以上の直線又は連続する二以上の円
弧の始点である最適接合点の中からそれがなくても近似
精度が保たれるような不要な接合点を見い出しこれを除
去する不要接合点除去機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした2次の区分
的多項式で近似し近似精度が所定の値に収まるまで2次
区分的多項式の次元数を増加させながら最小二乗近似
を繰り返して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構Bと、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶合成出力装置。
1. A first method of storing data obtained by optically reading a character / graphic figure in correspondence with a finite number of pixels arranged vertically and horizontally.
(B) a data compression device that divides the stored image data into basic small regions and sequentially compresses the divided images by function approximation, and (c) stores the data compressed. A second image storage device; and (d) a reproduction device that synthesizes data relating to the previous divided image stored in the second image storage device and reproduces the original image. b): (b1) a contour extraction mechanism for extracting a contour of a character figure from a divided image; and (b2) storing two-dimensional coordinates (X, Y) of the extracted contour for each continuous group. (B3) approximating the X and Y coordinates of the contour point sequence for each group with a quadratic piecewise polynomial in which t is an independent variable and x and y are dependent variables; Least square approximation until the specified range A data approximation mechanism A for calculating an approximate polynomial for each group of the repeated contour point sequence; and (b4) a curvature calculation mechanism for calculating a curvature at each point of the point sequence for each group in the x, y space from the approximation result; (B5) a perfect circle extraction mechanism for extracting a perfect circle from the curvature data for each group; and (b6) an infinity from the curvature data of the contour point sequence excluding the perfect circle.
Or a temporary joint position extraction mechanism for extracting a point having a curvature greater than or equal to a certain value as a temporary joint point. (B7) Joint points corresponding to adjacent corner points form corner points.
The corner points are temporarily set according to the condition that they
An optimal joint extraction mechanism for finding an optimal joint from candidate joints near the joint ; and (b8) an optimal joint that is a starting point of two or more continuous straight lines or two or more continuous arcs. and unnecessary junction removing mechanism also remove it found unnecessary junctions such approximation accuracy is maintained by, between the (b9) adjacent the junction of the sequence of points the same group linear,
When approximated by an arc of the order which at a given approximation accuracy is not obtained
When t is an independent variable and x and y are dependent variables, it is approximated by a second-order piecewise polynomial and the second order is used until the approximation accuracy falls within a predetermined value.
Wherein between the piecewise polynomial junctions while increasing the number of dimensions adjacent repeated a least squares approximation straight line, an arc, a data approximation mechanism B approximated by piecewise polynomials, every group of (b10) point sequence compressed data storage mechanism for storing the parameters of the function approximating the one coordinate and the adjacent <br/> junction of the junction and be more of, stored in a second image store compressed data of the (c) And a compression / synthesis / combination / output device for reading / dividing a character / figure.
【請求項2】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを境界において1画素分ず
つ重なるようにして基本小領域に分割し分割された分割
画像について順次関数近似によりデータ圧縮するデータ
圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して、原画を再生する再生装置とを含
前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする2次の区分的多項式で近
似し、近似精度が所定範囲になるまで最小二乗近似を繰
り返し輪郭点列の群毎の近似多項式を求めるデータ近似
機構Aと、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を仮接
合点として抽出する仮接合点位置抽出機構と、 (b7)隣接する隅点に対応する接合点同士が隅点を形
成する線の輪郭線上にあるという条件に従って隅点の仮
接合点の近傍の接合点候補から最適接合点を求める最適
接合点抽出機構と、 (b8)連続する二以上の直線又は連続する二以上の円
弧の始点である最適接合点の中からそれがなくても近似
精度が保たれるような不要な接合点を見い出しこれを除
去する不要接合点除去機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした2次の区分
的多項式で近似し近似精度が所定の値に収まるまで2次
区分的多項式の次元数を増加させながら最小二乗近似
を繰り返して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構Bと、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶合成出力装置。
2. (a) Data obtained by optically reading a character / graphic
Data that is stored in correspondence with a finite number of pixels
And (b) storing the stored image data.One pixel at the border
So that they overlapDivided into basic small areas and divided
Data compression for images sequentially by function approximationdata
compression(C) a second image storage for storing the compressed data;
Storage device; and (d) relating to the previous divided image stored in the second image storage device.
And a playback device that plays back the original image.
Only,  The data compression device (b) for the divided image extracts (b1) a contour of a character figure from the divided image.
(B2) two-dimensional coordinates (X, Y) of the extracted contour line
(B3) a contour point sequence storage mechanism for storing the contour point sequence for each groupX,YIndependent coordinates t
Variables, a quadratic piecewise polynomial with x and y as dependent variables
Similar, and repeat the least squares approximation until the approximation accuracy is within the specified range.
Data approximation to find an approximate polynomial for each group of repeated contour points
(B4) a point sequence for each group in the x, y space from the approximation result
And (b5) a perfect circle extraction for extracting a perfect circle from the curvature data for each group.
(B6)Outline point sequence excluding perfect circleFrom the curvature dataInfinity
Or has a curvature greater than a certain valueTemporarily connect points
A temporary junction position extraction mechanism for extracting as a joint point; (b7)Joint points corresponding to adjacent corner points form corner points
The corner points are temporarily set according to the condition that they
From candidate junctions near the junctionOptimum for finding the optimal junction
(B8) two or more continuous straight lines or two or more continuous circles
Approximate from the best joint point which is the starting point of the arc without it
Unnecessary joints that maintain accuracy are found and eliminated.
(B9) Same as the unnecessary joint removal mechanism to be removedGroup point sequenceNeighbors withinDoJunctionofA straight line between
Approximate in the order of circular arcs and this does not provide the required approximation accuracyWhen
ComeIs a quadratic classification where t is an independent variable and x and y are dependent variables.
Approximate with a polynomial and quadratic until approximation accuracy falls within a specified value
ofLeast-squares approximation while increasing the number of dimensions of piecewise polynomial
Repeat adjacentDoJunctionofStraight line, circular arc, piecewise
A data approximation mechanism B approximating with a polynomial;Do
JunctionofPressure that stores the parameters of the function that approximates
Compressed data is stored in the second image storage device (c).
Character / graphic division reading characterized by being read
Compression storage synthesis output device.
【請求項3】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを境界において1画素分ず
つ重なるようにして基本小領域に分割し分割された分割
画像について順次関数近似によりデータ圧縮するデータ
圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して、原画を再生する再生装置とを含
み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする2次の区分的多項式で近
似し、近似精度が所定範囲になるまで最小二乗近似を繰
り返し輪郭点列の群毎の近似多項式を求めるデータ近似
機構Aと、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を仮接
合点として抽出する仮接合点位置抽出機構と、 (b7)隣接する隅点に対応する接合点同士が隅点を形
成する線の輪郭線上にあるという条件に従って隅点の仮
接合点の近傍の接合点候補から最適接合点を求める最適
接合点抽出機構と、 (b8)連続する二以上の直線又は連続する二以上の円
弧の始点であり、分割境界線上にない最適接合点の中か
らそれがなくても近似精度が保たれるような不要な接合
点を見い出しこれを除去する不要接合点除去機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした2次の区分
的多項式で近似し近似精度が所定の値に収まるまで2次
区分的多項式の次元数を増加させながら最小二乗近似
を繰り返して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構Bと、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶合成出力装置。
3. A first method of storing data obtained by optically reading a character / graphic figure in correspondence with a finite number of pixels arranged vertically and horizontally.
And (b) the stored image data is separated by one pixel at the boundary.
Data for data compression by sequential function approximation for the divided image divided divided into basic sub-area manner overlapping One
A compression device; (c) a second image storage device for storing the compressed data; and (d) data relating to the pre-divided image stored in the second image storage device, and reproducing the original image. A data compression device (b) for the divided image, wherein: (b1) a contour extraction mechanism for extracting a contour of a character graphic from the divided image; A contour point sequence storage mechanism for storing dimensional coordinates (X, Y) for each continuous group; and (b3) X and Y coordinates of the contour point sequence for each of the groups are t as independent variables, and x and y as dependent variables. A data approximation mechanism A for approximating with a quadratic piecewise polynomial and repeating the least squares approximation until the approximation accuracy falls within a predetermined range to obtain an approximate polynomial for each group of contour point sequences; and (b4) song at each point in the point sequence for each group in x, y space A curvature calculation device for obtaining the, (b5) and circularity extraction mechanism for extracting a perfect circle from the data of the curvature of each group, (b6) infinity from the data of the curvature of the contour point sequence except circularity
Or a temporary joint position extraction mechanism for extracting a point having a curvature greater than or equal to a certain value as a temporary joint point. (B7) Joint points corresponding to adjacent corner points form corner points.
The corner points are temporarily set according to the condition that they
The optimum junction extraction mechanism for determining the optimum junction from the junction point candidate in the vicinity of the junction, (b8) is a two or more arc start point to the straight line or a continuous two or more consecutive, not on the division boundary line optimal junction also the required junction removing mechanism to remove it found unnecessary junctions such approximation accuracy is maintained without it out of, between the (b9) adjacent the junction of the sequence of points the same group Straight line,
When approximated by an arc of the order which at a given approximation accuracy is not obtained
When t is an independent variable and x and y are dependent variables, it is approximated by a second-order piecewise polynomial and the second order is used until the approximation accuracy falls within a predetermined value.
Wherein between the piecewise polynomial junctions while increasing the number of dimensions adjacent repeated a least squares approximation straight line, an arc, a data approximation mechanism B approximated by piecewise polynomials, every group of (b10) point sequence compressed data storage mechanism for storing the parameters of the function approximating the one coordinate and the adjacent <br/> junction of the junction and be more of, stored in a second image store compressed data of the (c) And a compression / synthesis / combination / output device for reading / dividing a character / figure.
【請求項4】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを境界において1画素分ず
つ重なるようにして基本小領域に分割し分割された分割
画像について順次関数近似によりデータ圧縮するデータ
圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置とを含み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする2次の区分的多項式で近
似し、近似精度が所定範囲になるまで最小二乗近似を繰
り返し輪郭点列の群毎の近似多項式を求めるデータ近似
機構Aと、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を仮接
合点として抽出する仮接合点位置抽出機構と、 (b7)隣接する隅点に対応する接合点同士が隅点を形
成する線の輪郭線上にあるという条件に従って隅点の仮
接合点の近傍の接合点候補から最適接合点を求める最適
接合点抽出機構と、 (b8)連続する二以上の直線又は連続する二以上の円
弧の始点であり、分割境界線上にない最適接合点の中か
らそれがなくても近似精度が保たれるような不要な接合
点を見い出しこれを除去する不要接合点除去機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした2次の区分
的多項式で近似し近似精度が所定の値に収まるまで2次
区分的多項式の次元数を増加させながら最小二乗近似
を繰り返して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構Bと、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶装置。
4. A first method for storing data obtained by optically reading a character / graphic figure in correspondence with a finite number of pixels arranged vertically and horizontally.
And (b) the stored image data is separated by one pixel at the boundary.
Data for data compression by sequential function approximation for the divided image divided divided into basic sub-area manner overlapping One
Includes a compression device, and a second image memory for storing the data compressed (c) data, the data compression device for said divided image (b), for (b1) dividing the image, the graphic character outlines (B2) a contour point sequence storage mechanism that stores the two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group; and (b3) a contour line for each group. The X and Y coordinates of the point sequence are approximated by a quadratic piecewise polynomial with t as an independent variable and x and y as dependent variables, and least square approximation is repeated until the approximation accuracy falls within a predetermined range. A data approximation mechanism A for obtaining an approximate polynomial of (b4); a curvature calculation mechanism for obtaining a curvature at each point of a point sequence for each group in the x, y space from the approximation result; and (b5) a curvature calculation mechanism for each group. A perfect circle extraction mechanism for extracting perfect circles from data; (b6) perfect circles Infinity from curvature data of contour point sequence excluding
Or a temporary joint position extraction mechanism for extracting a point having a curvature greater than or equal to a certain value as a temporary joint point. (B7) Joint points corresponding to adjacent corner points form corner points.
The corner points are temporarily set according to the condition that they
The optimum junction extraction mechanism for determining the optimum junction from the junction point candidate in the vicinity of the junction, (b8) is a two or more arc start point to the straight line or a continuous two or more consecutive, not on the division boundary line optimal junction also the required junction removing mechanism to remove it found unnecessary junctions such approximation accuracy is maintained without it out of, between the (b9) adjacent the junction of the sequence of points the same group Straight line,
When approximated by an arc of the order which at a given approximation accuracy is not obtained
When t is an independent variable and x and y are dependent variables, it is approximated by a second-order piecewise polynomial and the second order is used until the approximation accuracy falls within a predetermined value.
Wherein between the piecewise polynomial junctions while increasing the number of dimensions adjacent repeated a least squares approximation straight line, an arc, a data approximation mechanism B approximated by piecewise polynomials, every group of (b10) point sequence compressed data storage mechanism for storing the parameters of the function approximating the one coordinate and the adjacent <br/> junction of the junction and be more of, stored in a second image store compressed data of the (c) A character / graphic divisional read / compression storage device characterized in that:
【請求項5】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを境界において1画素分ず
つ重なるようにして基本小領域に分割し分割された分割
画像について順次関数近似によりデータ圧縮するデータ
圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して、 原画の輪郭線のみをペンまたは刃によって再生する再生
装置とを含み 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする2次の区分的多項式で近
似し、近似精度が所定範囲になるまで最小二乗近似を繰
り返し輪郭点列の群毎の近似多項式を求めるデータ近似
機構Aと、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を仮接
合点として抽出する仮接合点位置抽出機構と、 (b7)隣接する隅点に対応する接合点同士が隅点を形
成する線の輪郭線上にあるという条件に従って隅点の仮
接合点の近傍の接合点候補から最適接合点を求める最適
接合点抽出機構と、 (b8)連続する二以上の直線又は連続する二以上の円
弧の始点である最適接合点の中からそれがなくても近似
精度が保たれるような不要な接合点を見い出しこれを除
去する不要接合点除去機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした2次の区分
的多項式で近似し近似精度が所定の値に収まるまで2次
区分的多項式の次元数を増加させながら最小二乗近似
を繰り返して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構Bと、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしてあり、 輪郭線を出力するときに、分割境界線を辿る場合ペンま
たは刃を上げて分割境界線が現れないようにしたことを
特徴とする文字図形の分割読取り圧縮記憶合成出力装
置。
5. A method of optically reading character / graphic data.
Data that is stored in correspondence with a finite number of pixels
And (b) storing the stored image data.One pixel at the border
So that they overlapDivided into basic small areas and divided
Data compression for images sequentially by function approximationdata
compression(C) a second image storage for storing the compressed data;
Storage device; and (d) relating to the previous divided image stored in the second image storage device.
Playback that combines the data to be played and only the outline of the original image with a pen or blade
Equipment and including,  The data compression device (b) for the divided image extracts (b1) a contour of a character figure from the divided image.
(B2) two-dimensional coordinates (X, Y) of the extracted contour line
(B3) a contour point sequence storage mechanism for storing the contour point sequence for each groupX,YIndependent coordinates t
Variables, a quadratic piecewise polynomial with x and y as dependent variables
Similar, and repeat the least squares approximation until the approximation accuracy is within the specified range.
Data approximation to find an approximate polynomial for each group of repeated contour points
(B4) a point sequence for each group in the x, y space from the approximation result
And (b5) a perfect circle extraction for extracting a perfect circle from the curvature data for each group.
(B6)Outline point sequence excluding perfect circleFrom the curvature dataInfinity
Or has a curvature greater than a certain valueTemporarily connect points
A temporary junction position extraction mechanism for extracting as a joint point; (b7)Joint points corresponding to adjacent corner points form corner points
The corner points are temporarily set according to the condition that they
From candidate junctions near the junctionOptimum for finding the optimal junction
(B8) two or more continuous straight lines or two or more continuous circles
Approximate from the best joint point which is the starting point of the arc without it
Unnecessary joints that maintain accuracy are found and eliminated.
(B9) Same as the unnecessary joint removal mechanism to be removedGroup point sequenceNeighbors withinDoJunctionofA straight line between
Approximate in the order of circular arcs and this does not provide the required approximation accuracyWhen
ComeIs a quadratic classification where t is an independent variable and x and y are dependent variables.
Approximate with a polynomial and quadratic until approximation accuracy falls within a specified value
ofLeast-squares approximation while increasing the number of dimensions of piecewise polynomial
Repeat adjacentDoJunctionofStraight line, circular arc, piecewise
A data approximation mechanism B approximating with a polynomial;Do
JunctionofPressure that stores the parameters of the function that approximates
Compressed data is stored in the second image storage device (c).
Output contoursWhenWhen tracing the division boundary,
Or raise the blade so that the dividing border does not appear
Characterized figure / character division reading compression storage / synthesis output device
Place.
【請求項6】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを基本小領域に分割し分割
された分割画像について順次関数近似によりデータ圧縮
するデータ圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置とを含み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする2次の区分的多項式で近
似し輪郭点列の群毎の近似多項式を求めるデータ近似機
と、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を接合
点として抽出する接合点位置抽出機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした区分的多項
式で近似して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構と、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶合成出力装置。
6. A first method of storing data obtained by optically reading a character / graphic figure in correspondence with a finite number of pixels arranged vertically and horizontally.
(B) a data compression device that divides the stored image data into basic small regions and sequentially compresses the divided images by function approximation, and (c) stores the data compressed. A data compression device (b) for the divided image, wherein: (b1) a contour line extraction mechanism for extracting a contour line of a character graphic from the divided image; and (b2) an extracted line. A contour point sequence storage mechanism for storing the two-dimensional coordinates (X, Y) of the contour line for each continuous group; and (b3) the X and Y coordinates of the contour point sequence for each group are represented by t as independent variables, x and a data approximation mechanism A for approximating by a quadratic piecewise polynomial with y as a dependent variable to obtain an approximate polynomial for each group of contour point sequences; and (b4) a point for each group in x, y space from the above approximation results. Curvature calculation mechanism for finding curvature at each point in a sequence , (B5) and circularity extraction mechanism for extracting a perfect circle from the data of the curvature of each group, (b6) infinity from the data of the curvature of the contour point sequence except circularity
Lines and junction position extraction mechanism, between the (b9) adjacent the junction of the sequence of points the same group for extracting a point having a curvature of constant value greater than or some is as junction,
When approximated by an arc of the order which at a given approximation accuracy is not obtained
Can independently a t variable, x, a straight line between the junction points adjacent approximated by piecewise polynomials as the dependent variable y, arcs, and the data approximation mechanism B approximated by piecewise polynomial, (b10) point sequence more becomes, the second image store compressed data of the said junction points of the coordinates for each group and the compressed data storage mechanism for storing the parameters of the function that approximates between adjacent <br/> junction (C) a character / figure divided read / compressed / stored / synthesized output device;
【請求項7】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを基本小領域に分割し分割
された分割画像について順次関数近似によりデータ圧縮
するデータ圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して、原画を再生する再生装置とを含
み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする区分的多項式で近似し輪
郭点列の群毎の近似多項式を求めるデータ近似機構
と、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を接合
点として抽出する接合点位置抽出機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした区分的多項
式で近似して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構と、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶合成出力装置。
7. (a) Data obtained by optically reading a character or graphic
Data that is stored in correspondence with a finite number of pixels
(B) dividing and dividing the stored image data into basic small areas
Data compression of the divided images sequentially by function approximation
DoData compression(C) a second image storage for storing the compressed data;
Storage device; and (d) relating to the previous divided image stored in the second image storage device.
And a playback device that plays back the original image.
The data compression apparatus (b) for the divided image includes: (b1) extracting a contour line of a character / graphic figure from the divided image;
(B2) two-dimensional coordinates (X, Y) of the extracted contour line
(B3) a contour point sequence storage mechanism for storing the contour point sequence for each groupX,YIndependent coordinates t
Approximate by a piecewise polynomial with variables x and y as dependent variables
A Data Approximation Mechanism for Calculating Approximate Polynomials for Groups of Gut PointsA
And (b4) a point sequence for each group in the x, y space from the above approximation result
And (b5) a perfect circle extraction for extracting a perfect circle from the curvature data for each group.
(B6)Outline point sequence excluding perfect circleFrom the curvature dataInfinity
Or has a curvature greater than a certain valueJoin points
(B9) Same as junction point extraction mechanism that extracts as pointsGroup point sequenceNeighbors withinDoJunctionofA straight line between
Approximate in the order of circular arcs and this does not provide the required approximation accuracyWhen
ComeIs a piecewise polynomial where t is the independent variable and x and y are the dependent variables
Approximate by formula and adjacentDoJunctionofStraight line, circular arc, piecewise
Data approximation mechanism approximated by polynomialBAnd (b10) the coordinates of the junction point and the neighbors for each group of point sequencesDo
JunctionofPressure that stores the parameters of the function that approximates
Compressed data is stored in the second image storage device (c).
Character / graphic division reading characterized by being read
Compression storage synthesis output device.
【請求項8】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを境界において1画素分ず
つ重なるようにして基本小領域に分割し分割された分割
画像について順次関数近似によりデータ圧縮するデータ
圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して、原画を再生する再生装置とを含
み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする区分的多項式で近似し輪
郭点列の群毎の近似多項式を求めるデータ近似機構
と、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を接合
点として抽出する接合点位置抽出機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした区分的多項
式で近似して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構と、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶合成出力装置。
8. (a) Data obtained by optically reading a character or graphic
Data that is stored in correspondence with a finite number of pixels
And (b) storing the stored image data.One pixel at the border
So that they overlapDivided into basic small areas and divided
Data compression for images sequentially by function approximationdata
compression(C) a second image storage for storing the compressed data;
Storage device; and (d) relating to the previous divided image stored in the second image storage device.
And a playback device that plays back the original image.
The data compression apparatus (b) for the divided image includes: (b1) extracting a contour line of a character / graphic figure from the divided image;
(B2) two-dimensional coordinates (X, Y) of the extracted contour line
(B3) a contour point sequence storage mechanism for storing the contour point sequence for each groupX,YIndependent coordinates t
Approximate by a piecewise polynomial with variables x and y as dependent variables
A Data Approximation Mechanism for Calculating Approximate Polynomials for Groups of Gut PointsA
And (b4) a point sequence for each group in the x, y space from the above approximation result
And (b5) a perfect circle extraction for extracting a perfect circle from the curvature data for each group.
(B6)Outline point sequence excluding perfect circleFrom the curvature dataInfinity
Or has a curvature greater than a certain valueJoin points
(B9) Same as junction point extraction mechanism that extracts as pointsGroup point sequenceNeighbors withinDoJunctionofA straight line between
Approximate in the order of circular arcs and this does not provide the required approximation accuracyWhen
ComeIs a piecewise polynomial where t is the independent variable and x and y are the dependent variables
Approximate by formula and adjacentDoJunctionofStraight line, circular arc, piecewise
Data approximation mechanism approximated by polynomialBAnd (b10) the coordinates of the junction point and the neighbors for each group of point sequencesDo
JunctionofPressure that stores the parameters of the function that approximates
Compressed data is stored in the second image storage device (c).
Character / graphic division reading characterized by being read
Compression storage synthesis output device.
【請求項9】 (a)光学的に文字図形を読み取ったデ
ータを縦横に有限個並ぶ画素に対応させて記憶する第1
の画像記憶装置と、 (b)記憶された画像データを境界において1画素分ず
つ重なるようにして基本小領域に分割し分割された分割
画像について順次関数近似によりデータ圧縮するデータ
圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して原画の輪郭線のみをペンまたは刃
によって再生する再生装置とを含み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとに記憶する輪郭点列記憶機構と、 (b3)前記の群毎の輪郭点列の座標をtを独立
変数、xとyを従属変数とする区分的多項式で近似し輪
郭点列の群毎の近似多項式を求めるデータ近似機構
と、 (b4)前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を接合
点として抽出する接合点位置抽出機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした区分的多項
式で近似して隣接する接合点間を直線、円弧、区分的
多項式で近似するデータ近似機構と、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにし、 分割境界線においてペンまたは刃を上げることによりこ
れを出力しないようにしたことを特徴とする文字図形の
分割読取り圧縮記憶合成出力装置。
9. (a) Data obtained by optically reading a character or graphic
Data that is stored in correspondence with a finite number of pixels
And (b) storing the stored image data.One pixel at the border
So that they overlapDivided into basic small areas and divided
Data compression for images sequentially by function approximationdata
compression(C) a second image storage for storing the compressed data;
Storage device; and (d) relating to the previous divided image stored in the second image storage device.
Data to be combined and only the outline of the original
A data compression apparatus (b) for the divided image, wherein (b1) extracting a contour line of a character / graphic figure from the divided image
(B2) two-dimensional coordinates (X, Y) of the extracted contour line
(B3) a contour point sequence storage mechanism for storing the contour point sequence for each groupX,YIndependent coordinates t
Approximate by a piecewise polynomial with variables x and y as dependent variables
A Data Approximation Mechanism for Calculating Approximate Polynomials for Groups of Gut PointsA
And (b4) a point sequence for each group in the x, y space from the above approximation result
And (b5) a perfect circle extraction for extracting a perfect circle from the curvature data for each group.
(B6)Outline point sequence excluding perfect circleFrom the curvature dataInfinity
Or has a curvature greater than a certain valueJoin points
(B9) Same as junction point extraction mechanism that extracts as pointsGroup point sequenceNeighbors withinDoJunctionofA straight line between
Approximate in the order of circular arcs and this does not provide the required approximation accuracyWhen
ComeIs a piecewise polynomial where t is the independent variable and x and y are the dependent variables
Approximate by formula and adjacentDoJunctionofStraight line, circular arc, piecewise
Data approximation mechanism approximated by polynomialBAnd (b10) the coordinates of the junction point and the neighbors for each group of point sequencesDo
JunctionofPressure that stores the parameters of the function that approximates
Compressed data is stored in the second image storage device (c).
By raising the pen or blade at the dividing line.
Is not output.
Split read compression storage synthesis output device.
【請求項10】 (a)光学的に文字図形を読み取った
データを縦横に有限個並ぶ画素に対応させて記憶する第
1の画像記憶装置と、 (b)記憶された画像データを境界において1画素分ず
つ重なるようにして基本小領域に分割し分割された分割
画像について順次関数近似によりデータ圧縮するデータ
圧縮装置と、 (c)データ圧縮されたデータを記憶する第2の画像記
憶装置と、 (d)第2の画像記憶装置に記憶された前分割画像に関
するデータを合成して原画を再生する再生装置とを含
み、 前記の分割画像に対するデータ圧縮装置(b)は、 (b1)分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、 (b2)抽出された輪郭線の2次元座標(X,Y)を連
続する群ごとにtを独立変数、を従属変数として
記憶する輪郭点列記憶機構と、 (b4)x、y空間での群毎の点列の各点における離散
的曲率を求める曲率演算機構と、 (b5)群毎の曲率のデータから真円を抽出する真円抽
出機構と、 (b6)真円を除く輪郭点列の曲率のデータから無限大
であるかある一定値より大きい値の曲率を持つ点を接合
点として抽出する接合点位置抽出機構と、 (b9)同一群の点列内の隣接する接合点間を直線、
円弧の順で近似しこれで所定の近似精度が得られない
はtを独立変数、x、yを従属変数とした区分的多項
式で近似し近似精度が所定の値に収まるまで区分的多項
式の次元数を増加させながら最小二乗近似を繰り返して
隣接する接合点間を直線、円弧、区分的多項式で近似
するデータ近似機構と、 (b10)点列の群毎に前記の接合点の座標と隣接する
接合点間を近似する関数のパラメータとを記憶する圧
縮データ記憶機構とよりなり、 圧縮データが前記の第2の画像記憶装置(c)に記憶さ
れるようにしたことを特徴とする文字図形の分割読取り
圧縮記憶合成出力装置。
10. (a) a first image storage device for optically stored data read graphic character to correspond to a finite number arranged pixels vertically and horizontally, 1 at the boundary of the image data (b) storage Without pixel
Data for data compression by sequential function approximation for the divided image divided divided into basic sub-area manner overlapping One
A compression device; (c) a second image storage device that stores the data that has been compressed; and (d) reproduction that reproduces the original image by synthesizing data relating to the pre-divided image stored in the second image storage device. A data compression device (b) for the divided image, wherein: (b1) a contour extraction mechanism for extracting a contour of a character graphic from the divided image; and (b2) a two-dimensional extracted contour. A contour point sequence storage mechanism for storing t as an independent variable and x and y as dependent variables for each continuous group of coordinates (X, Y); and (b4) each point of a point sequence for each group in x, y space. (B5) a perfect circle extraction mechanism for extracting a perfect circle from the curvature data for each group; and (b6) an infinity from the curvature data of the contour point sequence excluding the perfect circle.
Lines and junction position extraction mechanism, between the (b9) adjacent the junction of the sequence of points the same group for extracting a point having a curvature of constant value greater than or some is as junction,
When approximated by an arc of the order which at a given approximation accuracy is not obtained
Can independently a t variable, x, junctions approximation accuracy approximated by piecewise polynomials as the dependent variable y is adjacent repeated a least squares approximation with increasing number of dimensions of the piecewise polynomial to within a predetermined value a data approximation mechanism for approximating a straight line, an arc, piecewise polynomial between the parameters of the function that approximates between <br/> junction adjacent to the junction points of the coordinates for each group of (b10) point sequence Wherein the compressed data is stored in the second image storage device (c).
JP5166010A 1993-06-10 1993-06-10 Compression storage device and composite output device for divided reading of character and graphics Expired - Fee Related JP2646478B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5166010A JP2646478B2 (en) 1993-06-10 1993-06-10 Compression storage device and composite output device for divided reading of character and graphics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5166010A JP2646478B2 (en) 1993-06-10 1993-06-10 Compression storage device and composite output device for divided reading of character and graphics

Publications (2)

Publication Number Publication Date
JPH06348837A JPH06348837A (en) 1994-12-22
JP2646478B2 true JP2646478B2 (en) 1997-08-27

Family

ID=15823227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5166010A Expired - Fee Related JP2646478B2 (en) 1993-06-10 1993-06-10 Compression storage device and composite output device for divided reading of character and graphics

Country Status (1)

Country Link
JP (1) JP2646478B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2942222B2 (en) * 1997-08-11 1999-08-30 株式会社つくばソフト研究所 Communication device for color images and grayscale images
JP2016179504A (en) * 2015-03-23 2016-10-13 ブラザー工業株式会社 Cutting apparatus
JP2017030130A (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data preparation device and cutting data preparation program
JP2017030128A (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutoff data creation device and cutoff data creation program
JP2017030127A (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data preparation device and cutting data preparation program
JP2017030126A (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data preparation device and cutting data preparation program
JP2017030129A (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutoff data creation device and cutoff data creation program
JP2017094465A (en) * 2015-11-26 2017-06-01 ブラザー工業株式会社 Processing data creation device and processing data creation program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
電子情報通信学会論文誌D VOL.J70−D NO.6 P.1164−1172(昭和62年6月)
電子情報通信学会論文誌D−II VOL.J73−D−II NO.9 P.1448−1457(平成2年9月)

Also Published As

Publication number Publication date
JPH06348837A (en) 1994-12-22

Similar Documents

Publication Publication Date Title
US5844570A (en) Method and apparatus for generating digital map images of a uniform format
EP0950988B1 (en) Three-Dimensional image generating apparatus
RU2003109426A (en) DATA MEDIA WITH THE PRINT OBTAINED BY THE METAL PRINT METHOD AND METHOD FOR CONVERTING THE ORIGINAL IMAGES INTO LINEAR STRUCTURES AND IN PRINTING ELEMENTS OF THE PRINTING FORM
KR20020018936A (en) Apparatus and method for correcting distortion of input image
JPH08287238A (en) Method and equipment for synthesis of picture
JP2646478B2 (en) Compression storage device and composite output device for divided reading of character and graphics
KR20020064350A (en) Image data compressing method and restoring method
JP3444148B2 (en) Eyebrow drawing method
US5278950A (en) Image composing method
JP2646479B2 (en) Communication device for character and graphics
JP4181604B2 (en) Output device and program
JP2005031818A (en) Cartoon line drawing image forming method and device, and computer program therefor
JP4554758B2 (en) Artwork shape changing method and apparatus
JPS59104854A (en) Method for outputting picture layout in picture inputting/outputting device
JPH07334648A (en) Method and device for processing image
JP4353358B2 (en) DATA GENERATION DEVICE, DATA GENERATION METHOD, AND COMPUTER PROGRAM
JP3111971B2 (en) Image data interpolation apparatus, image data interpolation method, and medium recording image data interpolation program
JP2701194B2 (en) Iron print making equipment
AU721447B2 (en) Method and apparatus for generating digital map images of a uniform format
KR20050078100A (en) Methods for manufacturing moving cartoon and recording medium thereof
JP2701195B2 (en) Sign making equipment
JP3560124B2 (en) Image data interpolation device, image data interpolation method, and medium recording image data interpolation program
JP2559359B2 (en) Image structure storage method and image registration apparatus
JP2800254B2 (en) Image single character processing device
JPH01189692A (en) Dot matrix converting method for registering character type

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090509

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees