JPH06348837A - Dividing/reading/compressing/storage device and synthesizing/outputting device for character and graphic - Google Patents

Dividing/reading/compressing/storage device and synthesizing/outputting device for character and graphic

Info

Publication number
JPH06348837A
JPH06348837A JP5166010A JP16601093A JPH06348837A JP H06348837 A JPH06348837 A JP H06348837A JP 5166010 A JP5166010 A JP 5166010A JP 16601093 A JP16601093 A JP 16601093A JP H06348837 A JPH06348837 A JP H06348837A
Authority
JP
Japan
Prior art keywords
data
point
image
divided
approximation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5166010A
Other languages
Japanese (ja)
Other versions
JP2646478B2 (en
Inventor
Kazuo Toraichi
和男 寅市
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)

Abstract

PURPOSE:To adapt a device also to an original picture whose area is wider by using a computer whose memory capacity is small by operating outline point string extraction, connection extraction, and function approximation by using a small area as an object. CONSTITUTION:Graphic/character are optically read by an image scanner, stored in a first picture storage device 1, divided into basic processing areas which can be data-compressed, the divided pictures are successively data-compressed, and stored in a second picture storage device 1'. Then, the entire original picture is stored in the first picture storage device 1, divided into unit sizes from the top left corner toward the right direction, compressed one by one, the first divided picture is segmented, data-compressed, and stored in the second picture storage device 1'. Moreover, the second divided picture is similarly data- compressed, and stored in the second picture storage device 1'. Thus, the border line extraction, connection extraction, and inter-connection line function approximation is operated. At the time of reproducing the picture, the reproduction of each divided picture is repeatedly operated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

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

【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 them, and storing them in a memory. The screen of the image scanner is divided into vertical and horizontal pixels. Assuming that pixels are arranged laterally M and vertically N, there are a total of MN pixels.
Pixels are sometimes simply called dots. If there are n bits of data for one pixel, the total amount of data is n.
It becomes the MN bit. The larger the number of screen divisions MN is, of course, the higher the sharpness of the image is. However, if the MN is large, an enormous amount of data will be generated even if the amount of data on one screen is nMN.
It will be the amount of data. If this is stored as it is, a very large memory is required. In fact, currently used printing machines and the like use a huge amount of memory for storing image data.

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

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

【0005】[0005]

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

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

【0007】より粗いドットのイメ−ジスキャナを用い
れば読取り領域の寸法は大きくなるが、反対に読取りデ
−タが粗くなり望ましくないこともある。もしも同等の
精度で、A4の寸法(縦30cm×横21cm)の原画
を読取り処理しようとすると、15倍×11倍=165
倍のメモリ容量を必要とする。通常のパ−ソナルコンピ
ュ−タでこのような膨大なデ−タ量をそのまま取り扱う
ことは不可能である。このような難点を解決し、メモリ
容量の小さいコンピュ−タを使いながら前記の発明をよ
り広い面積の原画にも適用できるようにした装置を提供
することが本発明の第1の目的である。適切な関数近似
により、輪郭線を簡明に記述し、再生画像の品質を高め
ることのできる装置を提供することが第2の目的であ
る。
If a coarser dot image scanner is used, the size of the reading area is increased, but on the contrary, the reading data may be coarse, which is not desirable. If you try to read an original image of A4 size (length 30 cm x width 21 cm) with the same accuracy, 15 times x 11 times = 165
Requires double the memory capacity. It is impossible for an ordinary personal computer to handle such an enormous amount of data as it is. It is a first object of the present invention to solve the above problems and to provide an apparatus in which the invention described above can be applied to an original image having a wider area while using a computer having a small memory capacity. A second object is to provide a device capable of simply describing a contour line by an 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, the read image is divided into small basic image processing areas which can be processed by small dots, and these divided images are divided. Is treated as one figure, contour lines and joint points are extracted, and the lines between the joint points are function-approximated. The same process is performed for all divided images. The processing to be performed on the divided images is described in Japanese Patent Application No. 4-2
This is the same as the method proposed in 59137. The parameters of the connecting points for all the divided images and the line connecting the connecting points are obtained. Then, these are stored in the memory. Reproduction is also performed for each divided image. Since each dot overlaps, a continuous large image is reproduced.

【0009】原画を縦横に基本処理領域によって分割す
るのであるから、上下左右の端辺において、分割画像の
一部に原画が存在しない領域が発生する。この部分は画
素デ−タを0とする。つまり原画からはみ出した残余の
部分には0を埋め込んでゆく。こうしてすべての分割画
像が基本処理領域の大きさになる。隣接する分割画像間
で、曲線や直線が滑らかに繋がるように幾つかの工夫が
なされる。隣接分割画像間で重複する1ドット分を境界
部分ということにする。境界部分の画素は特に重要であ
る。この部分は隣接する分割画像で同一のドットデ−タ
を持つ。これが異なる分割画像で異なる処理を受ける。
境界部分のドットデ−タが接合点抽出関数近似の際に消
えてしまってはいけない。そこで接合点抽出の時に境界
部分では両端の黒画素を必ず接合点にする。
Since the original image is divided vertically and horizontally by the basic processing area, some areas of the divided image have no original image at the upper, lower, left and right edges. In this portion, the pixel data is set to 0. In other words, 0s are embedded in the remaining portion that extends from the original picture. In this way, 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 that overlaps between adjacent divided images will be referred to as a boundary portion. Border pixels are particularly important. This portion has the same dot data in adjacent divided images. This undergoes different processing on different split images.
Dot data at the boundary should not disappear during the approximation of the junction extraction function. Therefore, when extracting the junction points, the black pixels at both ends are always used as the junction points in the boundary portion.

【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. A character figure or the like having an arbitrary size is read by optical means. The data read by the optical means is stored by the first image storage device. It 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 divided image data is stored in the second image storage device. A contour line is extracted for each divided image. This is the second
This is done by reading the data for each divided image from the image storage device. The contour line is given as a sequence of contour points. A contour point sequence is stored for each divided image. Extract boundary junction points. This is a splice point near the boundary of the two split images. This is one of the features of the present invention. The joint points at the boundary portion in contact with the surroundings are forcibly extracted so that the divided data can be smoothly connected when joined at the time of reproduction. Since the extracted joining point needs to exist as a joining point in any case, it is treated as a special joining point in the subsequent processing and is not removed by the joining point removing mechanism or the like. Data approximation is performed on one divided image to compress the data. Store the compressed data. The data compression is performed by the same method as the above-mentioned Japanese Patent Application Nos. 4-259137 and 4-269646. The joint points are extracted from the contour line and the coordinates thereof are obtained. Delete unnecessary junction points.
It is determined whether the line connecting the remaining adjacent junction points is a straight line, a circular arc, or a free curve, and these are stored together with the parameters that define these lines. The full-energy function is used when connecting adjacent junctions with a free-form curve. The number of data is remarkably reduced, and the straight line becomes beautiful and the curve becomes smooth. This is called data compression because the number of data decreases. This is a data compression operation performed for each divided image. After storing the compressed data of one divided image in the storage device, the same operation is performed for the next divided image. Data compression is sequentially performed on all divided images. In this way, all the divided images are represented by the line connecting the joining points. The reproduction of the image is performed by repeating the reproduction of each divided image. 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 No. 6. At this time, the layout editor is used to lay out the divided images so that they are attached to each other. The divided images are reproduced so that one dot overlaps 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 and compressing the data and storing the data in the second image storage device. The original drawing is, for example, the size of a normal document having a size of A4 or A3. The image character is optically read by an image scanner. This is the first image storage device 1
Memorized in. Since the original image is large, the amount of data also increases. Since the amount of data is too large, it is impossible to compress the data as it is with the capacity of a commercially available personal computer. Therefore, this is divided into basic processing areas in which data compression is possible. This is a small area of, for example, 256 × 256. The image of the basic processing area will be referred to as a divided image. According to the procedure described below, the divided images are sequentially 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, it 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, joint extraction, optimum joint extraction, joint removal, joint storage, derivation of a line connecting the joints, This is done by memory of parameters.
The entire original image is stored in the first image storage device 1.
Divide it from the upper left to the unit size to the right. This is compressed one by one. Cut out the first divided image,
The data-compressed version of this is used as a second image storage device 1 '.
(Compressed data storage device). This is shown in (1) of FIG. Then, the second basic processing area is cut out to form a second divided image. The same data compression operation is performed on the second divided image. That is, contour point sequence extraction, curvature calculation, curvature memory, perfect circle extraction, joint point extraction, optimum joint point extraction, joint point removal, joint point storage, derivation of a line connecting joint points, and parameters for this line. Storage and the like are 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) of.

【0013】3番目の分割画像を切り出すと、これは全
体が白画素よりできたものである。黒画素がない。つま
り白紙部分である。これは輪郭点列抽出などの処理が不
要である。すぐに次の分割画像の切り出しと圧縮処理に
移ることができる。以下同様にこのような分割画像毎の
デ−タ圧縮を繰り返し、全ての分割画像についてデ−タ
圧縮をする。もしも原図が横にM′個、縦にN′個の分
割画像に分けられたとすると、合計M′N′の分割画像
がある。この場合はM′N′の分割画像について同じデ
−タ圧縮操作を繰り返す。
When the third divided image is cut out, it is entirely made up of white pixels. There are no black pixels. In other words, it is a blank part. This does not require processing such as contour point string extraction. Immediately, the next divided image can be cut out and compressed. Similarly, the data compression for each divided image is repeated in the same manner, and the data compression is performed for all the divided images. If the original image is divided into M'horizontal divided images and N'vertical divided images in the vertical direction, there are a total of M'N 'divided images. In this case, the same data compression operation is repeated for 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つの黒画素を共有していたので境界でふたつの分割画
像が滑らかに繋がることができる。
According to the present invention, when dividing a large original image, one pixel at the boundary is overlapped. FIG. 2 is a diagram showing that the boundaries overlap at the time of division. The divided image is in contact with another divided image on four sides, three sides, or two sides. The region is divided so that one pixel, that is, one dot overlaps at 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 divided image is, for example, 256 dots × 256 dots. The size of the divided image is not limited to this, and can 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 suffices if it is of an appropriate size and can be easily compressed by a computer being used. The reason why 1 dot overlap is explained. It is assumed that the divided images P and Q have a pattern as shown in the drawing over both. In the left divided image P, three black pixels are vertically arranged at the boundary. The same three black pixels are also arranged in the right divided image Q. This is because the left and right divided images share one dot on the boundary line. The data is compressed and stored in the second image storage device. When this is read out again and reproduced, a reproduced image P + Q below is obtained. Since the three black pixels of 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 reproduced image may have a gap or be deformed. 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 the divided images P and Q have the same pattern as the above. In the left divided image, there are three black pixels arranged vertically at the boundary. The right divided image does not have this, and two black pixels are lined up. This is data-compressed and stored in the second image storage device 1 '. When this is reproduced, a gap is created between the divided images P and Q as shown on the left on the lower side. This is because there is no overlap and there is no connection between them. Alternatively, there will be a step as shown in the lower right. In any case, it separates from the original picture. The original picture cannot be faithfully reproduced. For this reason, the divided images are overlapped by one dot at the boundary as shown in FIG.

【0016】原画が全体で何ドット×何ドットとなるか
ということは、原画の幾何学的大きさの他にイメ−ジス
キャナのドット数による。縦横の大きさはまちまちであ
り、基本の大きさ(例えば256×256ドット)の整
数倍ではない。分割画像で原画を切り取ってゆく(1ド
ットずつ重ならせて)と、図4に示すように、右端に基
本単位領域に余りがでる。下端にも同様に余りがでる。
余りがでた場合は、この余りの部分には白画素(つまり
0)を対応させる。右、下の基本単位領域の余りの部分
に0を埋め込んでゆくのである。画像分割する時に、境
界に沿う直線の端点は接合点として残す。接合点という
のは後に説明するように、本来は曲線の一部で曲率が大
きい点として定義されるものである。これはデ−タ圧縮
をする際のデ−タとして重要である。圧縮デ−タは接合
点とこれらを結ぶ直線、曲線である。初めに接合点とし
て現れても、これが除去操作によって消えることがあ
る。境界上の直線の端点はたとえ除去操作で消えるべき
ものとしても、接合点として残すということである。こ
れは境界線でふたつの分割画像が滑らかにつながるよう
にという目的のためである。
The number of dots × the number of dots of the original image as a whole depends on the number of dots of the image scanner in addition to the geometrical size of the original image. The size in the vertical and horizontal directions varies, and is not an integral multiple of the basic size (for example, 256 × 256 dots). When the original image is cut out from the divided images (one dot at a time), a basic unit area is left at the right end as shown in FIG. There is also a surplus at the bottom edge.
When there is a remainder, a white pixel (that is, 0) is associated with this remainder. Zeros are embedded in the remaining part of the basic unit area on the right and bottom. When the image is divided, the end points of the straight line along the boundary are left as joint points. As will be described later, the junction point is originally defined as a point having a large curvature in a part of the curve. This is important as data when performing data compression. The compression data is a straight line or a curve connecting the joining points with each other. Even if it initially appears as a junction, it may disappear due to the removal operation. The end points of the straight line on the boundary are to be left as junction points even if they should be removed 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を残す必要がある。こういう
理由で、境界上の直線の端点である接合点は、後の操作
でも残すようにするのである。
As shown in FIG. 2, when the boundary line and the pattern line make a large angle (here, a right angle), the black pixel at the bottom of the right divided image Q does not disappear, so that it is smooth. Connected. However, when the pattern line and the boundary line form a small angle, the joint point necessary for reproducing the pattern may disappear. In order to prevent this, it is decided not to remove the junction point forming 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 the original drawing has diagonal lines that make a small angle with respect to the dividing line. This diagonal line and the dividing line intersect. In this case, the right divided image is as shown in (2). RS is a straight line portion along the boundary. Black pixels are lined up. When the junction point is extracted, it becomes as shown in (3). R, S, and T are extracted as junction points. When the normal joining point removing operation is performed, the intermediate joining point S having a low curvature disappears. If this disappears, as shown in (4), the data that connects T and R is
It becomes a ta. Since the point S disappears, the reproduced image is (5)
As shown in, the points S and T are not connected, but the points R and T above this are connected. This is different from the original picture in (1). Why did this happen?
This is because the intermediate junction point 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 joining points, which are the end points of the straight lines on the boundary, are left in the subsequent 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番目以降の座標点は、この直線上にある場合もあ
り、この直線から外れることもある。この直線上にある
座標点の最終のものを接合点として残し、これから曲線
が始まるようにフラグを立てることとする。
A flowchart showing such an operation is shown in FIG. This is a flowchart for saving the splicing point at the left boundary line (x = 0) of the divided image. The coordinates are taken with the upper left as the origin and the X axis toward the right and the Y axis toward the bottom. First, one closed contour {(x
i , y i )} i = 0 read 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. The length is the number of constituent contour points of the closed contour. Since the joining point at the left boundary line (x = 0) of the divided image is targeted, x i = 0 and x i + 1 = 0 are conditions.
At this time, a junction point flag for starting a straight line is set at (x i , y i ). 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 there is one , the coordinate immediately before this (x k-1 , y
k-1 ) is the starting point of the curve. The first endpoint of the straight line along the boundary was (x i , y i ), but the last endpoint was (x i , y i ).
k-1 , y k-1 ). Therefore, first, x k
A curve start flag is set at the coordinates (x k−1 , y k−1 ) immediately before the point that becomes 0. Another condition is y k
-If y k-1 <0, the previous point (x k-1 , y k-1 )
Set the curve start flag from. That is, this point is left as a joining point. The meaning of this will be described with reference to FIG. What has been described above is along the right boundary line of the divided images, but those along the left boundary line also have the junction points at the end points of the straight lines. x i = 255, x i + 1 = 2
The condition of 55 is written in the lower part of the flow chart, which means that the same is done for the straight line component on the right boundary of the divided image. Do the same for a straight line along the line above the split image. The condition for this is y i
= 0, y i + 1 = 0. The same thing is done for a straight line along the boundary line below the divided image. This can be expressed 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)に示すように、境界に沿う直線の全てを再生でき
るようになる。
The meaning of setting the curve start flag at (x k-1 , y k-1 ) even when y k -y k-1 <0 will be described with reference to FIG. In FIG. 7, the X-axis is downward and the Y-axis is rightward in order to represent the processing order vertically. Consider a junction at x = 0 (a boundary line on the left side) of the divided images. 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 pixel is labeled with Irohaniho hetchirinuriru. In x, x = 0 for the first time, so a straight line flag is set here, which means that a straight line along the boundary starts. If there are only conditions of x k + 1 ≠ 0,
As shown in (2), a curve start flag will be set up in F. In this case, the reproduced image becomes as shown in (3), and two points, G and C, at the ends of these are missing. Therefore, if a curve start flag is set even when y k −y k−1 <0, as shown in (4), y k −y at the turn point G and the turn point on the boundary line. k-1 <
0 stands out. Therefore, a curve start flag is set at the point that gives (x k-1 , y k-1 ). This way
As shown in (5), all the straight lines along the boundary can be reproduced.

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

【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 that extends over four divided images as shown in FIG. This is divided into four small images each having a unit size like a circle. The divided images are individually function-approximated. Then, a figure surrounded by the boundary and the contour line that originally existed is obtained. In this simplified example, the data is composed of three joining points in the divided image, two straight lines connecting the joining points, and one quadrant arc. This data is stored in the image storage device. In the case of reproduction, there are two methods. In the case of filling, data of four partial divided images are overlapped like data, and filling is performed in order from the upper left closed region (data). Next, the closed area on the upper right is also filled. It looks like Les. If you fill this in the lower left too, it will look like Seo. Furthermore, when the lower right part is filled, it becomes like a tsu. This completes the reproduced image.

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

【0024】図10は輪郭線による再生画像である。こ
れはカッティングプロッタでシ−トを切断した場合など
に対応する。プロッタの刃物をペンで置き換えることに
よりこのような図を得ることができる。輪郭線は黒画素
になるべきところを囲むように現れる。分割画像の境界
線(分割線)も黒画素となるべき領域の内部に現れる。
基本となる分割画像の大きさが約20mm×20mm〜
30mm×30mmの程度であるから、分割画像のピッ
チで縦横に境界分割線が現れる。黒画素が多いものはは
っきりと境界分割線が出てくる。このような分割線はも
ともと存在せず、原画を小さい分割画像に分割したため
に現れたものである。従って輪郭線を切る場合はこのよ
うな境界分割線が現れないようにしなければならない。
FIG. 10 is a reproduced image with contour lines. This corresponds to the case where the sheet is cut by the cutting plotter. Such a diagram can be obtained by replacing the blade of the plotter with a pen. The contour line appears so as to surround a portion that should become a black pixel. The boundary line (division line) of the divided image also appears inside the region that should become the black pixel.
The size of the basic divided image is about 20mm x 20mm ~
Since it is about 30 mm × 30 mm, boundary division lines appear vertically and horizontally at the pitch of the divided image. Boundary dividing lines appear clearly for those with many black pixels. Such a dividing line originally did not exist, and appeared because the original image was 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は塗り潰しによる再生画像である。
出力装置は、リコ−イマジオMF530(400dp
i)である。これは図8のタ〜ツのように閉輪郭線で囲
まれた部分は、黒く塗り潰す。原画と同じ図が得られ
る。前記の境界分割線は黒画素の部分にのみあるので、
塗り潰せばこのような境界分割線が消えてしまう。特許
出願の図面であり大きさに制限があるので、縮小してあ
る。ために図9の原画と大きさの差がない。しかし、デ
−タの圧縮をして記憶しているので、拡大、縮小は単純
な計算によって短時間で行うことができる。ここでも再
生画面と原画は大きさが違うのであるが、出願図面とい
う制約があるので大きさの違いを示すことができない。
図11の再生画面が図9の原画の忠実な再生になってい
ることが分かる。
FIG. 11 is a reproduced image by painting.
The output device is Rico-Imagio MF530 (400 dp
i). In this case, the portion surrounded by the closed contour line as shown in FIG. 8 is blackened. The same figure as the original picture is obtained. Since the boundary dividing line is only in the black pixel portion,
If you fill it, such a boundary dividing line will disappear. It is a drawing of a patent application and its size is limited, so it has been reduced. Therefore, there is no difference in size from the original image in FIG. However, since the data is compressed and stored, enlargement and reduction can be performed in a short time by a simple calculation. In this case as well, the size of the reproduction screen and the size of the original image are different, but it is not possible to show the difference in size due to the restriction of application drawings.
It can be seen that the reproduction screen of FIG. 11 is a faithful reproduction of the original image of FIG.

【0026】図12は別の原画である。これも曲線を主
体とする動物のイラストである。細線、太線、べた塗り
の部分などを含む。これを小さい基本処理画面に分割
し、デ−タ圧縮する。輪郭線による再生画像が図13に
示すものである。これも境界の分割線が現れている。特
に黒部分の多いパンダの絵に分割線が出現している。図
14は塗り潰しによる再生画像である。これも出力装置
としてリコ−イマジオMF530(400dpi)を用
いた。原画と大きさは違うが、特許図面であるので、大
体同じ大きさになっている。これを見ても本発明の手法
により、分割デ−タ圧縮、記憶、再生したものは原画を
忠実に再生しているということが良く分かる。
FIG. 12 shows another original picture. This is also an illustration of animals that are mainly composed of curves. Includes thin lines, thick lines, solid parts, etc. This is divided into small basic processing screens and data is compressed. The reproduced image by the contour line is shown in FIG. This also shows the dividing line of the boundary. Especially, the dividing line appears in the picture of panda with many black parts. FIG. 14 is 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. It can be seen from this that the original data is faithfully reproduced by the method of the present invention when the divided data is compressed, stored and reproduced.

【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. The features of the contour line on the division boundary line will be described with reference to FIG. The contour line on the dividing boundary line has the following features. (1) It is a straight line. (2) The joint points at both ends are both on the boundary line, and the x-coordinates or the y-coordinates are the same. That is, if the coordinates of both ends of the straight line are (X a , Y a ), (X b , Y b ), X a
= X b = 0, X a = X b = 255, Y a = Y b = 0,
Any one of Y a = Y b = 255 is established. 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 curved line are on the right side of the divided image (X a = X b = 255), one end of the curved line is on the lower side of the divided image (Y a = 255), and multi-end is on the right side of the divided image (X b = 255). The line segment connecting these two points appears by dividing, and in the case of outline output, it is necessary to devise not to output this.

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

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

【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. Contour point sequence storage device D. Data approximation mechanism A E. Curvature calculation mechanism E '. Approximate curvature storage device F. Perfect circle extraction mechanism G. Perfect circle memory device Joint position extraction mechanism I. Joint point position storage device J. Optimal junction extraction mechanism K. Optimal Junction Memory L. Junction removal mechanism M. Final junction memory N. Data approximation mechanism B O. Compressed data output mechanism P. Compressed data storage device R. Contour reproduction mechanism S. Image reproduction mechanism T.I. Reproduction data output mechanism U. Image storage device 2

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

【0032】さらに媒介変数表示を用いて、X、Y座標
をtの関数とする。輪郭点列は閉曲線に沿って連続的に
並ぶ点列であるから媒介変数表示をすることができる。
それぞれの輪郭点列群において全体に渡って区分的多項
式で近似する。区分的多項式で連続関数になるから各輪
郭点列において2階微分し曲率を求める。曲率が一定で
ある輪郭点列は真円である。これは真円として分離す
る。残りの輪郭点列群については、曲率の大きい点を接
合点とする。接合点というのは輪郭点列を代表する点で
ある。輪郭線を接合点とこれを結ぶ線として表現できる
ような点である。初めは単純に曲率の大きいところを接
合点とするが、これは仮の接合点である。接合点は後に
追加されることもあり、除去されることもある。仮接合
点の回りに接合点候補を取り、この内の好適な接合点を
最適接合点として残す。
Further, using the parameter display, the X and Y coordinates are made a function of t. Since the contour point sequence is a sequence of points lined up continuously along the closed curve, it is possible to display a parameter.
Approximate with a piecewise polynomial over the entire contour point sequence group. Since it is a continuous function with a piecewise polynomial, the second-order differentiation is performed on each contour point sequence to obtain the curvature. 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 junction points are points that represent the outline point sequence. It is a point where the contour line can be expressed as a joining point and a line connecting the joining points. Initially, the point where the curvature is large is simply set as the joining point, but this is a temporary joining point. Junction points may be added later or removed. A joint point candidate is taken around the temporary joint point, and a suitable joint point is left as the optimum joint point.

【0033】接合点が確定すると、接合点の間を直線、
円弧、自由曲線によって近似する。近似は直線、円弧、
自由曲線の順で行う。直線の場合は近似に要する時間は
短い。デ−タ量も少ない。円弧の近似も簡単である。円
弧の始点、半径、中心角、関数の係数などを与えれば良
い。直線でも円弧でも近似できない場合は、自由曲線近
似する。この場合は接合点間をM個の細区間に分割し区
分的多項式で近似する。細区分の数を増やすと近似を高
めることができるので所望の精度の近似をすることがで
きる。
When the joining points are determined, a straight line between the joining points,
It is approximated by an arc and a free curve. Approximation is straight line, arc,
Perform in the order of free-form 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 circular arc is easy. The starting point of the arc, the radius, the central angle, the coefficient of the function, etc. may be given. If it cannot be approximated by a straight line or a circular arc, then a free curve approximation is performed. In this case, the joining points are divided into M subsections and approximated by a piecewise polynomial. Since the approximation can be improved by increasing the number of subdivisions, the approximation with desired accuracy can be performed.

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

【0035】[A.画像記憶装置1]これは原画の全体
をを光学的手段によって読み取り、画素毎に分解された
情報として記憶するものである。実際には市販のイメ−
ジスキャナを用いる。そして入力されたデ−タを例えば
白黒の二値画像として記憶する。
[A. Image storage device 1] This is for reading the entire original image by optical means and storing it as information decomposed for each pixel. Actually a commercial image
Use the scanner. Then, 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 Sequence Extraction Device] The contour point sequence extraction device extracts the contour point sequence of the divided image. The contour of a set of black pixels is called a contour line. The divided image has several closed contour lines. There is also a contour line that has both ends at the boundary. This also becomes a closed contour line by regarding the boundary dividing line as a contour line. Since the image is a collection of dots, the contour line can be regarded as a collection of dots. A contour line is a set of points, and a series of consecutive 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 given to consecutive points in one contour point sequence. k is an integer of 0 to N (u) -1.
The coordinates of the k-th contour point in the u-th contour point sequence are (x k u ,
y k u) be represented by. All contour points

【0037】 {(xk u ,yk u )}k=0 N u -1 u=0 U-1 (1){(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 k = 0 N u -1 means that the point sequence number k can take values from 0 to N (u) -1. N (u) -1 includes parentheses, which is 1
When it is a suffix of a variable because it cannot be / 4 corner, parentheses are removed and it is written as Nu-1. N u
−1 = N (u) −1. Since it is a suffix, it should be written above and below, but since this cannot be done, it is attached separately to the lower left and upper right. When u = 0 U-1 , the number u of the contour point sequence group is 0 to U -1
Is to take the value of. Also, the number u of the contour point sequence should be shown with parentheses on the right shoulder of the variable, but the parentheses are 1 /
Omit parentheses because it can't 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
This is stored in the form of k u , y k u ) k = 0 N u -1 u = 0 U-1 . As described above, U is the number of all points and u is the number given to the points. The number of points in the point sequence u is N (u)
And k is the point number attached to it. Such a thing is expressed by k = 0 N u -1 u = 0 U-1 . (X k u, y k
u ) is the x, y coordinate of the kth point of 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 added with A for distinction. This is necessary in order to find a joint where the contour point sequence has a large curvature. In order to obtain the curvature, some of the discrete points can be adopted as data and obtained from this. The present invention can be implemented even by adopting such a discrete curvature. However, here, the whole contour point sequence group is approximated by a continuous function consisting of a piecewise polynomial, and then this is second-order differentiated to obtain the curvature.
The approximation for this is the data approximation here. Approximate with a quadratic piecewise polynomial in which 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 t as the independent variable and x and y are the dependent variables. Then, the least squares approximation is repeated until the approximation accuracy falls within a predetermined range, and the approximation polynomial for each group of the contour line point sequence is obtained. The range approximated by the piecewise polynomial is the entire contour point sequence group. This is not to obtain the final data, but to find a temporary joining point.

【0041】群uでの輪郭点列(xk u ,yk u )のx
座標をSx (t)で近似し、y座標をSy (t)によっ
て近似する。tは媒介変数である。Sx (t)とSy
(t)を2次のフル−エンシ−関数系{ψm }を底とす
る一次結合として与える。Sx (t)は非周期m次のフ
ル−エンシ−関数ψk を基底として展開する。
X of contour point sequence (x k u , y k u ) in group u
Coordinates are approximated by S x (t) and 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 whose base is a quadratic full-energy functional system {ψ m }. S x (t) is developed with the aperiodic mth-order full-energy function ψ k as a basis.

【0042】 Sx (t)=Σk=-m M+mk xψk (t) (2)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-ency function is a function name named by the present inventor. The order m corresponds to the order of the polynomial. M is the number of dimensions. Generally, a m-th order full-energy function has a domain of [0, T], a parameter of k,
This parameter is shown as a suffix. C k x
Is the coefficient of the linear linear combination. ψ k itself is a polynomial whose value is 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) However, 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 inside of the parentheses is negative, and the m-th power when it 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 mountain-shaped function having a finite value from the division number 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. When t> (k + m + 1) (T / M), it must be 0. Under this condition, the superposition coefficient is (-1) q / {q! (M + 1-q)! } Is decided. The size T of the area is the number N of points in the contour point sequence group.
It is easy to make it equal to (u), but it may be defined as proportional. As described above, the contour point sequence is approximated by using the full-energy function. However, since there are many division points having the intervals of T / M, the contour point sequence can be approximated even if there are no junction points. In order to increase the degree of approximation, the order m of the full-energy function may be increased. However, if the order is high, the number of calculations increases, and thus 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 argument is that many functions representing the fluctuations of physical quantities in the natural world are expressed as a linear combination 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 that spans three regions. Here, only m = 2 is adopted. With this, the contour line can be expressed exactly. Of course, the present invention can be constructed by using a full-energy function of m = 3 or more. m = 2
Therefore, the basis function has values over three intervals,
It becomes a quadratic polynomial in the section that takes the maximum at the center. The above formula is when 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)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を係数とするフル−エンシ−関数によって展
開することができる。
It becomes The basis function is {t- (k + q) (T
/ M)} 2 + is a superposition of quadratic functions rising from four 0s which are shifted by T / M in the lateral direction. It is a function whose number of subdivisions has a value from k to k + 3. k + 4
The coefficient of superposition is (-
1) q / {q! (3-q)! } Becomes. The number of basis functions is M + 5. M is the number of divisions of the entire section, which is called the approximate number of dimensions. This should not be confused with the order m of the full-ency function. Similarly, S y (t) approximating the y coordinate can be expanded by a full-energy function having C k x as a coefficient.

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

【0052】 Q=Σ{Sx (tk u )−xk u2 +{Sy (tk u )−yk u2 (8) 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 minimize. The range of integration is all the points of the contour point sequence group u. From this condition, the coefficients C k x and C k y can be obtained. by this,
The approximate functions S x (t) and S y (t) are obtained. If the calculation can be performed for the contour point sequence group u = 0, the next step is performed for the group u = 1. Similarly, (u = U-
Calculate up to 1 group).

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

【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 )2 + Sy ′ (Tk u )2 }3/2 (9)

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

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

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

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

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

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

【0062】そして接合点が確定すると各区間を区分的
多項式によって近似する。この区分的多項式の近似は先
にデ−タ近似機構Aで述べたものと同じであるが前回の
ものは近似区間が全輪郭点列群に渡っていた。今度はそ
うでなく接合点ごとに区分的多項式近似を行う。多項式
近似の精度は、前回に説明したのと同じように、元の座
標値との差の2乗の和を最少にするという最少二乗近似
を行うことによってなされる。
When the joint points are determined, each section is approximated by a piecewise polynomial. The approximation of this piecewise polynomial is the same as that described in the data approximation mechanism A, but in the previous one, the approximation interval was over 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 the least-squares approximation in which the sum of the squares of the differences from the original coordinate values is minimized, as described above.

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

【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 curvature. These may not be the actual junctions. So we need to find the best joint. For example, when two lines intersect with each other, four corner points are formed, but in this case, the corners are crushed and are easily enlarged. Therefore, since the adjacent corner points are on the contour line of those lines, the optimum joint point is obtained. This will prevent the corners from undesirably bloating at the intersection of the lines. The optimum joining point should be near the temporary joining point obtained by the method described above. Therefore, some of the vicinity of the temporary joint point are set as joint point candidates, and the optimum point is obtained from the joint point candidates as the optimum joint point.

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

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

【0067】[直線の接合点の除去] 例えば3つの接
合点U、V、Wがほぼ直線上に並ぶが、少し直線からず
れているという場合がある。この場合、端点であるUと
Wとを結ぶ直線と、中間点Vとの距離がある一定距離内
であるとする。Vはノイズによって発生したものと考え
られる。この場合、直線の中間にある接合点Vを除去す
る。これを除くと、座標点が一つ減り、直線が一つ減
る。デ−タが二つ減る。これはデ−タを減らすというこ
とよりも直線をくっきりと再生するという意味で重要な
のである。
[Removal of Junction Points on Straight Line] For example, three junction points U, V, and W are arranged substantially on a straight line, but there are cases where they are slightly deviated from the straight line. In this case, 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. If this is excluded, the number of coordinate points decreases by one and the number of straight lines decreases by one. Two data will be reduced. This is more important in terms of reproducing a straight line more clearly than reducing the amount of data.

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

【0069】[M.最終接合点記憶装置]不要な接合点
を除去して得た最終的な接合点は最終接合点記憶装置に
記憶される。最終接合点は、座標(xi u ,yi u
i=0 I-1によって示される。ここでiは接合点の番号、u
は輪郭点列群の番号、Iは輪郭点列群uの最終接合点の
総数である。
[M. Final junction point storage device] The final junction point obtained by removing unnecessary junction points is stored in the final junction point storage device. The final junction point is the coordinate (x i u , y i u )
It is indicated by i = 0 I-1 . Where i is the junction number, u
Is the number of the contour point sequence group, and I is the total number of final joint 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 the data from the data of the contour point sequence, the final joining point, the perfect circle, etc. obtained so far. It is the central part of the invention. What is input from each storage device is a contour point sequence storage device ... Contour point sequence {(x k u , y k
u )} k = 0 N u -1 Final junction memory 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 contour point sequence is the number of the contour point sequence group. k is a contour point sequence number in the contour point sequence group u. N (u) (which is 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 are approximated between two adjacent joint points (between joint points). In the approximation, using the parameter t, the x component is s x (t),
The y component is represented by s y (t).

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

【0072】[直線区間の近似] 直線の接合点から始
まる区間は、接合点の抽出段階において直線と判断され
ている。始点と終点の座標が分かっている。従って直線
の勾配などを求める必要がない。直線であるというフラ
グを立てるだけで済む。[円弧区間の近似] 円弧の接
合点から始まる区間の近似について説明する。この区間
は接合点抽出の段階において円弧と判断されている。円
弧を表す近似曲線sx (t)、sy (t)は、次の三角
関数の線形結合で表される。観測区間をt∈[0,T]
とすると、sx (t)、sy (t)は、
[Approximation of Straight Line Section] The section starting from the joining point of the straight line is judged to be a straight line in the step of extracting the joining point. You know the coordinates of the start and end points. Therefore, it is not necessary to obtain the slope of the straight line. Just flag it as a straight line. [Approximation of Arc Section] Approximation of a section starting from a junction point of arcs will be described. This section is determined to be a circular arc at the stage of extracting the joining point. Approximate curves s x (t) and s y (t) representing arcs are represented by the linear combination of the following trigonometric functions. The observation interval is 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
は円弧の中心の座標である。この時、
It is expressed 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 the parameter from the starting point of the arc.
It is the central angle up to the point corresponding to t. (C x , C y )
Are 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)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 following is true, the approximate function is a circular 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 and the coordinate of the curvature and one point in the middle.
[Approximation of free curve] A section that starts from a junction that is neither a straight line junction point nor a circular arc junction point is subjected to a free curve approximation. Although expressed by the parameter t, the contour point sequence is (x i3 u , y i3 u
), And t is associated with this, (t i3 u , x
i3 u ) and (t i3 u , y i3 u ) are displayed as parametric variables. Up to now, the suffix of the contour point sequence has been k, but since k is used as the section division number here, i3 is used as the contour point sequence number instead of k. The total number of contour point sequences is n3.

【0077】そして、二次のフル−エンシ−関数ψk3
底としてsx (t)、sy (t)を展開する。これは3
つの細区分にのみ値を持つ関数である。区間を[0,
T]として、二次フル−エンシ−関数ψk3は、M次元の
関数系
Then, s x (t) and s y (t) are expanded with the quadratic full-energy function ψ k3 as the base. This is 3
This function has a value only in 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. With this as the base, s x (t i3 ) and s y (t i3 )
Using the 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) s y (t i3 ) = Σ k = -2 M + 2 ck y ψ k3 It is expressed as (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)
It is defined as ξ k + q is the interval T is M
It is a subdivision when divided into equal parts. ξ 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 the values (x i3
u , y i3 u ) and the values of s x (t i3 ) and s y (t i3 ) are determined so as to approximate each other. The value of the coefficient is determined by the method of least squares. Squared 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 contour line of a figure was separated into a straight line (line segment), a perfect circle, a circular arc, and a free curve by the above procedure. These have start and end points, and have parameters such as inclination, center, and radius.
The data to be stored also differs depending on each type. In the case of straight line data, a flag indicating that it is a straight line,
The starting point coordinates of the straight line are stored as data. Since the end point coordinate is given as the start point of the next section, it is not necessary to store it here. The slope of the straight line is a parameter that defines the straight line, but since the straight line is formed by connecting the coordinates of the start point and the next junction point, the slope is not necessary. This is also not stored.

【0086】真円デ−タの場合は、真円記憶装置Gから
直接にデ−タを得る事ができる。これは1回目のデ−タ
近似機構Aによって既に選び出されている。真円の場
合、真円を示すフラグ、円の中心座標、円の半径をデ−
タとして格納する。円弧デ−タとして、円弧である事を
示すフラグ、円弧の始点座標、円弧分割長(円弧長/周
長)、輪郭点数、関数の係数を格納する。自由曲線のデ
−タとしては、関数の次元数、輪郭点数、輪郭点列の変
動の中点(μx 、μy )及び関数の係数cx 、cy を格
納する。
In the case of 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 deleted.
Stored as a data. As the arc data, a flag indicating that it is an arc, the starting point coordinates of the arc, the arc division length (arc length / circumferential length), 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 stored and then output at an appropriate time. Up to this point, the device is for compressing and generating data and storing it. A large original image is input, stored in the first image storage device, cut out for each divided image, the above data compression operation is performed, and this is stored in the compressed data storage device P. This was expressed as the twelfth image storage device 1 '. Similarly, the next divided image is processed.
Data compression processing of divided images is performed one after another, and this data is compressed.
Data is stored in the memory 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 there is a straight line between the junction points, 1 byte for the flag indicating the straight line, 2 bytes for indicating the start point of the line segment (x coordinate and y coordinate)
It requires a total of 3 bytes. If there is an arc between the joining points, 1 byte is the flag that indicates the arc, 2 bytes to indicate the start point of the arc,
4 bytes to represent the central angle of the arc, 1 byte to represent the number of contour point sequences, 1 to represent the coefficients of the approximation function (there are 6)
Two bytes require a total of 20 bytes. If there is a free curve between the connecting points, it is 1 byte to represent the dimension number M of the function, 1 byte to represent the number of contour points, 2 bytes to represent the center of variation of the contour points, and 2M to represent the coefficient of the approximation function. 4 bytes in total
It becomes +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 the stored compression data. The contour line may be a straight line, a perfect circle, an arc, or a free curve. [Reproduction of Straight Line] Reproduction of a straight line is performed by connecting a straight line from the coordinates of the start point to the coordinates of the junction point of the next section. No data is needed on the slope of the straight line. [Reproduction of Perfect Circle] The reproduction of a perfect circle is performed by drawing a circle having a given radius centered on the center coordinate from the data of the center coordinate and the radius. [Reproduction of arc] Reproduction of arc is performed by storing each data (A x , B x , ...
・) Is substituted into the following formula.

【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 (2 2)

【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を用いて、
By varying the parameter t in the interval [0 to T], the x and y coordinates are obtained from S x (t) and S y (t). [Reproduction of Free Curve] As for the value of the basis ψ K3 of the approximation function at each sample point t i , the sample point t i is in the interval [(L−1) (T /
M), L (T / M)] (1 ≦ L ≦ M), p =
Using 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.5 p 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 However, L is a natural number having a dimension number 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)S (t i ) = Σ k = L L + 2 C k ψ k3 (t i ) (27)

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

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

【0098】[T.再生デ−タ出力機構]関数の係数か
ら画像を再生するために、例えば再生画像の大きさを1
mm角からA3版大まで指定できるレイアウトエデイタ
を用いる。再生画像は300DPIの精度を持つレ−ザ
プリンタ或は600DPIの精度を持つレ−ザプリンタ
を用いて印字される。さらに、3000DPIの電植機
(印刷機器)、または400DPIのポストスクリプト
対応プリンタ、レ−ザカッタ等によって出力することが
できる。原図は関数の係数の形で記憶されていて、任意
の倍率に拡大縮小することができる。また座標もその中
心を任意に指定する事ができる。このため、任意の形状
の文字、図形等を任意の位置に任意の大きさで出力する
事ができる。
[T. Reproduction Data Output Mechanism] In order to reproduce the image from the coefficient of the function, for example, the size of the reproduced image is set to 1
A layout editor that can specify from mm square to A3 size is used. 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, the data can be output by a 3000 DPI electro-implanter (printing device) or a 400 DPI Postscript printer or laser cutter. The original drawing is stored in the form of function coefficients, and can be scaled up or down to any magnification. In addition, the center of coordinates can be arbitrarily specified. Therefore, it is possible to output characters, figures, etc. having arbitrary shapes at arbitrary positions and in arbitrary sizes.

【0099】[0099]

【実施例】本発明は原画をイメ−ジスキャナで読取り
(入力)、分割画像に分割しデ−タ圧縮して記憶装置に
デ−タを記憶する。そして記憶装置からデ−タを読み出
して合成し、レ−ザプリンタやカッティングプロッタな
どで再生図を描く(出力)。本発明では分割画像の大き
さを任意の大きさに設定できる。例えば、400×40
0ドットや、1000×1000ドットとすることがで
きる。しかし分割画像のサイズは2のn乗の大きさ(6
4,256,512,1024等)にした方が便利であ
る。ここで述べる実施例では分割画像の大きさは256
×256ドットである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the present invention, an original image is read (input) by an image scanner, divided into divided images, the data is compressed, and the data is stored in a storage device. Then, the data is read from the storage device, combined, and a reproduction diagram is drawn (output) with a laser printer or a cutting plotter. In the present invention, the size of the divided image can be set to any size. For example, 400 × 40
It can be 0 dots or 1000 × 1000 dots. However, the size of the divided image is the power of 2 n (6
4,256,512,1024) is more convenient. In the embodiment described here, the size of the divided image is 256.
There are 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 coarse reading accuracy (small dpi), the divided image becomes large.
In this case, when handling original images of the same size, the number of divided images (here, the number of boxes) is reduced. On the other hand, in the case of an image scanner for fine reading (large dpi), the divided image becomes small. The number of divisions (number of boxes) becomes large, and the processing time is 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 size of the divided image, and the number of divided images (the number of boxes) that can cover the A4 screen when 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
The side dimension S of the divided image of dots is 25.4 × 256 /
It means that it is dpi (mm). For 90 dpi,
When S = 72.2 mm and 400 dpi, S = 16.
It is 2 mm. In case of A4 original picture, 210mm × 296
Since it is mm, R = [210 / S] +1 is the number of divided images in the horizontal direction. Here, [...] means the integer part of. In the vertical direction, Q = [296 / S] +1. The number of boxes at the time of full reading of A4 is the product PQ of these. The number of boxes is 70 at 200 dpi. The number of boxes is 266 at 400 dpi. The amount of data when read is 256 × 256 × (number of boxes). For example, the following input / output devices can be used.

【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. 40 for A4 size originals
It takes 8 seconds at 0 dpi and 5.5 seconds at 240 dpi.

【0104】[出力装置] リコ−SP8(240dpi,擬似600dpi) これは鮮明なレ−ザプリンタ出力である。原画の複雑さ
にもよるが、原画がA4の大きさの場合に、出力の速さ
は1分程度またはそれ以下である。極めて速い出力機で
ある。出力の寸法はA4までである。
[Output Device] Rico-SP8 (240 dpi, pseudo 600 dpi) This is a clear laser printer output. Although depending on the complexity of the original picture, the output speed is about 1 minute or less when the original picture is A4 in size. It is an extremely fast output machine. The output size is up to A4.

【0105】リコ−イマジオMF530(400dp
i) 高解像度の美しいレ−ザプリンタ出力を得ることができ
る。版下をそのまま使用することにより、DTP印刷器
として利用できる。出力の速度は遅い。本発明の方法に
より記憶した画像を出力する場合、A4の大きさで15
分〜30分かかる。
Rico-Imagio MF530 (400 dp
i) A beautiful high resolution laser printer output can be obtained. By using the block copy as it is, it can be used as a DTP printer. The output speed is slow. When outputting the image stored by the method of the present invention, the size of A4 is 15
It takes 30 minutes to 30 minutes.

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

【0107】サ−マルプロッタ (400dpi) これは感熱紙に図面を描くものである。例えば、グラフ
テック社のTM1000−OPFなどを使うことができ
る。これはA0、A1、A2、A3などの大きさの用紙
に図面、文字を出力することができる。横断幕、会場案
内、葬儀名札、などの筆文字の出力に適する。大きい画
面を再生できるので、特大の横断幕を製作することがで
きる。カッティングプロッタによって再生画像を出力す
る場合は、刃またはペンで輪郭線(アウトライン出力)
を描くことになる。前述のように分割境界線を出力しな
いようにしてアウトライン出力すれば、シ−ト部材など
を輪郭線に沿って切ることができる。看板や、案内板、
表示板、名札、横断幕、アイロンプリントなど広い用途
に使うことができる。位置や大きさは計算により自在に
設定できる。図20は、S−PULSEというマ−ク
(原画は図28実寸大)を本発明の方法で読取り、分割
しデ−タ圧縮し、記憶しこれを合成してアウトライン出
力したものである。境界分割線が消えている。また図2
1はVerdyという語(原画は図29実寸大)を本発
明の方法で読取り分割しデ−タ圧縮して記憶しさらに合
成しアウトライン出力したものである。これも分割境界
線が消えている。図22も同様に、納涼祭という言葉
(原画は図30実寸大)について本発明を適用し、アウ
トライン出力したものである。このように本発明は正確
に輪郭線にそってシ−トを切断することができるので、
多様な用途に用いることができる。図27はカッテイン
グシ−トをカッティングプロッタにより上層のみを切断
したものである。分割境界線が現れない。これは長辺が
1120mm、短辺が461.5mmである大きいシ−
トである。文字のKの高さが122mmである。このよ
うに広いシ−トであっても簡単に切り出すことができ
る。
Thermal plotter (400 dpi) This is a drawing drawn on thermal paper. For example, TM1000-OPF manufactured by Graphtec Co., Ltd. can be used. This allows drawings and characters to be output on paper of sizes A0, A1, A2, A3, etc. Suitable for outputting calligraphy such as banners, venue information, funeral name tags, etc. Because it can play a large screen, you can make an oversized banner. When outputting the reproduced image with the cutting plotter, use the blade or pen to draw the 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 contour line. Signboards, information boards,
It can be used for a wide range of purposes such as display boards, name tags, banners, and iron prints. The position and size can be set freely by calculation. FIG. 20 shows an S-PULSE mark (original image is actual size shown in FIG. 28) read by the method of the present invention, divided, data-compressed, stored, synthesized and output as an outline. The border dividing line has disappeared. See also FIG.
Reference numeral 1 denotes the word Verdy (original picture is actual size shown in FIG. 29) which is read and divided by the method of the present invention, compressed by data, stored, further synthesized and output as an outline. In this case too, the dividing line has disappeared. In FIG. 22 as well, the present invention is applied to the word “Nyoryosai” (original picture is actual size in FIG. 30) and is output in outline. As described above, according to the present invention, the sheet can be accurately cut along the contour line.
It can be used for various purposes. In FIG. 27, only the upper layer of the cutting sheet is cut by a cutting plotter. The dividing border does not appear. This is a large sheet with a long side of 1120 mm and a short side of 461.5 mm.
It is The height of the letter K is 122 mm. Even such a wide sheet can be easily cut out.

【0108】次に通常のプリンタで出力した再生画像に
ついて説明する。図23はある原画である。秋の訪問
着、秋の呉服市、などの文字が書かれている。大きさは
特許出願のための制限にあうように縮小してある。これ
を前記のイメ−ジスキャナで読み込み、本発明の手法に
従って分割し、これをデ−タ圧縮して記憶している。デ
−タ圧縮などはPC−9801BAを用いた。図26は
リコ−イマジオによる再生画像である。これは図23と
全く同じように見える。大きさは勿論違うのであるが、
特許出願用図面にしているので、大きさも近似してい
る。原画を奇麗に再現していることがわかる。図24は
秋の訪問着の部分のリコ−SP8による再生画像であ
る。大きさは計算により様々に変化させることができ
る。図25は秋の呉服市の部分のリコ−SP8による再
生画像である。これも原画の忠実な再現であることが分
かる。
Next, a reproduced image output by a normal printer will be described. FIG. 23 is an original picture. The 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 described above, divided according to the method of the present invention, and the data is compressed and stored. PC-9801BA was used for data compression and the like. FIG. 26 is a reproduced image by Rico-Imagio. This looks exactly the same as in FIG. Of course the size is different,
Since the drawings are for patent applications, the sizes are similar. You can see that the original picture is beautifully reproduced. FIG. 24 is a reproduced image of a part of autumn arrival clothes by Rico-SP8. The size can be variously changed by calculation. FIG. 25 is a reproduced image of a part of Kimono City in autumn by Rico-SP8. It can be seen that this is also a faithful reproduction of the original picture.

【0109】[0109]

【表3】 [Table 3]

【0110】表3にこのような処理に要する時間を示
す。秋の呉服市の部分のイメ−ジスキャナによる読取り
に13秒、パソコンPC9801BAによる分割画像切
り出し、デ−タ圧縮、デ−タ記憶に、1分40秒掛か
る。これを出力する場合、リコ−イマジオで9分52
秒、リコ−SP8で1分19秒掛かった。後者の場合、
デ−タ読取りから出力までの合計の時間が、3分12秒
に過ぎない。
Table 3 shows the time required for such processing. It takes 13 seconds for the image scanner to read the part of autumn in Kimono City by the image scanner, and 1 minute 40 seconds for the segmented image cutting, data compression, and data storage by the personal computer PC9801BA. When this is output, 9 minutes 52 by Rico-Imagio
Second, it took 1 minute 19 seconds with Rico-SP8. 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秒、PC9801BAでの処理に1分57秒か
かった。再生画像の出力には、リコ−イマジオで8分4
4秒、リコ−SP8で1分4秒かかった。いずれにして
も極めて短時間で、大きい画像を分割し、函数近似して
デ−タ圧縮し、記憶し、さらに記憶されていたデ−タを
合成して画像にすることができるということが分かる。
また従来は原画を光学的に読取るとノイズが入って再生
画像が汚くなってしまうが、本発明ではノイズなどを除
き、直線部円弧部等を積極的に修正する作用もあるの
で、端麗な再生画像を得ることができる。
Table 4 shows the reading and data of the part of the autumn visiting clothes.
Indicates the time for data compression and output. It took 21 seconds to read with the image scanner and 1 minute 57 seconds to process with PC9801BA. For output of playback image, Rico-Imagio 8 min 4
It took 4 seconds and 1 minute and 4 seconds with Rico-SP8. In any case, it can be seen that a very large image can be divided, function-approximated, data-compressed, stored, and the stored data can be combined into an image in an extremely short time. .
Further, conventionally, when the original image is optically read, noise is generated and the reproduced image becomes dirty. However, in the present invention, there is also an action of positively correcting the straight-lined arc portion and the like, so that a neat reproduction is performed. Images can be obtained.

【0113】[0113]

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

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

【図1】大きい原図をイメ−ジスキャナで読み込み、第
1の画像記憶装置に記憶させ、小さい基本となる分割画
像に分割して順にデ−タ圧縮処理し、第2の画像記憶装
置1′に圧縮デ−タを書き込んで行く本発明の手順を示
す図。
FIG. 1 is a schematic diagram showing a large original image read by an image scanner, stored in a first image storage device, divided into small basic divided images, and sequentially subjected to data compression processing, and then stored in 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 when a divided image is cut out from an original image, one pixel is vertically and horizontally overlapped.

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

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

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

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

【図7】境界の接合点を正しく残すためには、yk −y
k-1 <0が必要であることを説明するための図。
FIG. 7: In order to leave the boundary junction points correctly, y k −y
The figure for demonstrating that k-1 <0 is required.

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

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

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

【図11】図9の原図を本発明の方法で分割、デ−タ圧
縮し、記憶し、分割デ−タを合成して原図を再生したも
のを示す図。
FIG. 11 is a diagram showing a reproduction of the original image by dividing the original image of FIG. 9 by the method of the present invention, compressing and storing the data, combining the divided data.

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

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

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

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

【図16】出力時に分割境界線上の輪郭線を出力しない
ためのひとつのアルゴリズムを説明する図。
FIG. 16 is a diagram illustrating one algorithm for not outputting a contour line on a division boundary line when outputting.

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

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

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

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

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

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

【図23】本発明の効果を調べるための「秋の呉服市、
秋の訪問着、振りそで、きものまつり」等の語を含む原
画。
FIG. 23: “Autumn kimono city for investigating the effect of the present invention,
An original picture that includes words such as "Autumn visitor's clothes, furisode, kimono festival".

【図24】図23中、秋の訪問着の部分のリコ−(登録
商標)SP8による再生図。
FIG. 24 is a reproduction diagram of a part of autumn visiting clothes in FIG. 23 by using Rico-SP8.

【図25】図23中、秋の呉服市の部分のリコ−SP8
による再生図。
[Fig. 25] In Fig. 23, Rico-SP8 in the part of autumn in Kimono City
Playback diagram by.

【図26】図23をリコ−イマジオにより再生した再生
図。
FIG. 26 is a reproduction diagram of FIG. 23 reproduced by Rico-Imagio.

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

【図28】図20の原画であるS−PLUSEという文
字の原寸大の図。
FIG. 28 is a full-scale drawing of the character S-PLUSE that is the original image of FIG. 20.

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

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

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置と、第2の画像記憶装置に記憶され
た前分割画像に関するデ−タを合成して、原画を再生す
る再生装置とを含み、前記の分割画像に対するデ−タ圧
縮装置は、分割画像について、文字図形の輪郭線を抽出
する輪郭線抽出機構と、抽出された輪郭線の2次元座標
(X,Y)を連続する群ごとに記憶する輪郭点列記憶機
構と、独立変数をt、従属変数をx、yとし前記の群毎
の輪郭線点列のx、y座標をtを独立変数、xとyを従
属変数とする2次の区分的多項式で近似し、近似精度が
所定範囲になるまで最小二乗近似を繰り返し輪郭線点列
の群毎の近似多項式を求めるデ−タ近似機構Aと、前記
の近似結果からx、y空間での群毎の点列の各点におけ
る曲率を求める曲率演算機構と、群毎の曲率のデ−タか
ら真円を抽出する真円抽出機構と、点列の曲率のデ−タ
から空間微分不可能な点を仮接合点として抽出する仮接
合点位置抽出機構と、仮接合点の近傍にある他の接合点
候補を相関関係に基づいた辻褄合わせを確率的に行い、
最適接合点を求める最適接合点抽出機構と、最適接合点
の中からそれがなくても近似精度が保たれるような不要
な接合点を見い出しこれを除去する不要接合点除去機構
と、同一点列群内の隣接接合点間を直線、円弧の順で近
似しこれで所定の近似精度が得られない時はtを独立変
数、x、yを従属変数とした2次の区分的多項式で近似
し近似精度が所定の値に収まるまで2次区分的多項式の
次元数を増加させながら最小二乗近似を繰り返して隣接
接合点間を直線、円弧、区分的多項式で近似するデ−タ
近似機構Bと、点列の群毎に前記の接合点の座標と隣接
接合点間を近似する関数のパラメ−タとを記憶する圧縮
デ−タ記憶機構とよりなり、圧縮デ−タが前記の第2の
画像記憶装置に記憶されるようにしたことを特徴とする
文字図形の分割読取り圧縮記憶合成出力装置。
1. A first image storage device for storing data obtained by optically reading a character pattern corresponding to a finite number of pixels arranged vertically and horizontally, and the stored image data is divided into basic small areas. The divided images are divided by sequential function approximation.
A device for data compression, a second image storage device for storing the data compressed data, and data relating to the pre-divided image stored in the second image storage device are combined to produce an original image. The data compression device for the divided image, which includes a reproducing device for reproducing, divides the divided image into a contour line extracting mechanism for extracting a contour line of a character figure, and a two-dimensional coordinate (X, X, X) of the extracted contour line. Y) is stored for each continuous group, a contour point sequence storage mechanism, and t is an independent variable, x and y are dependent variables, and t is an independent variable where x and y coordinates of the contour point sequence of each group are A data approximation mechanism A for approximating with a quadratic piecewise polynomial in which y and y are dependent variables and repeating the least-squares approximation until the approximation accuracy falls within a predetermined range to obtain an approximation polynomial for each group of contour line point sequences; A song for obtaining the curvature at each point of the point sequence for each group in the x and y spaces from the above approximation result A calculation mechanism, a perfect circle extraction mechanism that extracts a perfect circle from curvature data for each group, and a temporary joining point position that extracts a point that cannot be spatially differentiated as a temporary joining point from the curvature data of a point sequence. The extraction mechanism and other junction candidates near the temporary junction are stochastically adjusted based on the correlation,
The same point as the optimum joint point extraction mechanism that finds the optimum joint point and the unnecessary joint point removal mechanism that finds and removes unnecessary joint points that can maintain the approximation accuracy from the optimum joint points Approximate a straight line and a circular arc between adjacent junction points in the column group, and if a prescribed approximation accuracy cannot be obtained with this, approximate with a quadratic piecewise polynomial with t as an independent variable and x and y as dependent variables. And a data approximation mechanism B for approximating adjacent joint points with straight lines, arcs, and piecewise polynomials by repeating least squares approximation while increasing the number of dimensions of the quadratic piecewise polynomial until the approximation accuracy falls within a predetermined value. , A compression data storage mechanism for storing the coordinates of the joint points and the parameters of the function approximating between the adjacent joint points for each group of point sequences, and the compression data is the second one. Character graphics divided reading characterized by being stored in an image storage device Ri compressed storage composite output device.
【請求項2】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置と、第2の画像記憶装置に記憶され
た前分割画像に関するデ−タを合成して、原画を再生す
る再生装置とを含み前記の原画の分割は、境界において
1画素分ずつ重なるようにして行うこととし、前記の分
割画像に対するデ−タ圧縮装置は、分割画像について、
文字図形の輪郭線を抽出する輪郭線抽出機構と、抽出さ
れた輪郭線の2次元座標(X,Y)を連続する群ごとに
記憶する輪郭点列記憶機構と、独立変数をt、従属変数
をx、yとし前記の群毎の輪郭線点列のx、y座標をt
を独立変数、xとyを従属変数とする2次の区分的多項
式で近似し、近似精度が所定範囲になるまで最小二乗近
似を繰り返し輪郭線点列の群毎の近似多項式を求めるデ
−タ近似機構Aと、前記の近似結果からx、y空間での
群毎の点列の各点における曲率を求める曲率演算機構
と、群毎の曲率のデ−タから真円を抽出する真円抽出機
構と、点列の曲率のデ−タから空間微分不可能な点を仮
接合点として抽出する仮接合点位置抽出機構と、仮接合
点の近傍にある他の接合点候補を相関関係に基づいた辻
褄合わせを確率的に行い、最適接合点を求める最適接合
点抽出機構と、最適接合点の中からそれがなくても近似
精度が保たれるような不要な接合点を見い出しこれを除
去する不要接合点除去機構と、同一点列群内の隣接接合
点間を直線、円弧の順で近似しこれで所定の近似精度が
得られない時はtを独立変数、x、yを従属変数とした
2次の区分的多項式で近似し近似精度が所定の値に収ま
るまで2次区分的多項式の次元数を増加させながら最小
二乗近似を繰り返して隣接接合点間を直線、円弧、区分
的多項式で近似するデ−タ近似機構Bと、点列の群毎に
前記の接合点の座標と隣接接合点間を近似する関数のパ
ラメ−タとを記憶する圧縮デ−タ記憶機構とよりなり、
圧縮デ−タが前記の第2の画像記憶装置に記憶されるよ
うにしたことを特徴とする文字図形の分割読取り圧縮記
憶合成出力装置。
2. A first image storage device for storing data obtained by optically reading a character pattern corresponding to a finite number of vertical and horizontal pixels, and the stored image data is divided into basic small areas. The divided images are divided by sequential function approximation.
A device for data compression, a second image storage device for storing the data compressed data, and data relating to the pre-divided image stored in the second image storage device are combined to produce an original image. The division of the original image including the reproduction device for reproduction is performed so as to overlap by one pixel at the boundary, and the data compression device for the division image is
A contour line extraction mechanism for extracting a contour line of a character figure, a contour point sequence storage mechanism for storing two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group, an independent variable t, and a dependent variable Is defined as x, y, and the x, y coordinates of the contour point sequence for each group are t
Is an independent variable and x and y are dependent variables and is approximated by a quadratic piecewise polynomial, and least-squares approximation is repeated until the approximation accuracy falls within a predetermined range to obtain an approximate polynomial for each group of contour line point sequences. An approximation mechanism A, a curvature calculation mechanism for obtaining the curvature at each point of the point sequence for each group in the x and y spaces from the above approximation result, and a perfect circle extraction for extracting a perfect circle from the curvature data for each group. Based on the correlation between the mechanism, the temporary joint point position extraction mechanism that extracts a point that cannot be spatially differentiated from the data of the curvature of the point sequence as a temporary joint point, and other candidate joint points near the temporary joint point. The optimal joint point extraction mechanism that finds the optimum joint point by stochastic matching and the unnecessary joint point that maintains the approximation accuracy from the optimum joint point and removes it Unnecessary joint removal mechanism and straight or circular line between adjacent joints in the same point group When a predetermined approximation accuracy cannot be obtained with this, approximation is performed with a quadratic piecewise polynomial in which t is an independent variable and x and y are dependent variables, and the quadratic piecewise approximation is performed until the approximation accuracy falls within a predetermined value. A data approximating mechanism B for approximating adjacent joint points by a straight line, a circular arc, and a piecewise polynomial by repeating the least square approximation while increasing the number of dimensions of the polynomial, and the coordinates of the joint points for each group of point sequences. And a compression data storage mechanism for storing the parameters of a function approximating between adjacent junction points,
A divided reading compression storage combination output device for character and graphics, wherein compression data is stored in the second image storage device.
【請求項3】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置と、第2の画像記憶装置に記憶され
た前分割画像に関するデ−タを合成して、原画を再生す
る再生装置とを含み、前記の原画の分割は、境界におい
て1画素分ずつ重なるようにして行うこととし、前記の
分割画像に対するデ−タ圧縮装置は、分割画像につい
て、文字図形の輪郭線を抽出する輪郭線抽出機構と、抽
出された輪郭線の2次元座標(X,Y)を連続する群ご
とに記憶する輪郭点列記憶機構と、独立変数をt、従属
変数をx、yとし前記の群毎の輪郭線点列のx、y座標
をtを独立変数、xとyを従属変数とする2次の区分的
多項式で近似し、近似精度が所定範囲になるまで最小二
乗近似を繰り返し輪郭線点列の群毎の近似多項式を求め
るデ−タ近似機構Aと、前記の近似結果からx、y空間
での群毎の点列の各点における曲率を求める曲率演算機
構と、群毎の曲率のデ−タから真円を抽出する真円抽出
機構と、点列の曲率のデ−タから空間微分不可能な点を
仮接合点として抽出する仮接合点位置抽出機構と、仮接
合点の近傍にある他の接合点候補を相関関係に基づいた
辻褄合わせを確率的に行い、最適接合点を求める最適接
合点抽出機構と、分割境界線上にない最適接合点の中か
らそれがなくても近似精度が保たれるような不要な接合
点を見い出しこれを除去する不要接合点除去機構と、同
一点列群内の隣接接合点間を直線、円弧の順で近似しこ
れで所定の近似精度が得られない時はtを独立変数、
x、yを従属変数とした2次の区分的多項式で近似し近
似精度が所定の値に収まるまで2次区分的多項式の次元
数を増加させながら最小二乗近似を繰り返して隣接接合
点間を直線、円弧、区分的多項式で近似するデ−タ近似
機構Bと、点列の群毎に前記の接合点の座標と隣接接合
点間を近似する関数のパラメ−タとを記憶する圧縮デ−
タ記憶機構とよりなり、圧縮デ−タが前記の第2の画像
記憶装置に記憶されるようにしたことを特徴とする文字
図形の分割読取り圧縮記憶合成出力装置。
3. A first image storage device for storing data obtained by optically reading a character pattern corresponding to a finite number of vertical and horizontal pixels, and the stored image data is divided into basic small areas. The divided images are divided by sequential function approximation.
A device for data compression, a second image storage device for storing the data compressed data, and data relating to the pre-divided image stored in the second image storage device are combined to produce an original image. A reproduction device for reproducing the original image is divided so that the original image is divided by one pixel at the boundary, and the data compression device for the divided image is a contour line of a character graphic for the divided image. And a contour point sequence storage mechanism that stores the two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group, an independent variable is t, and dependent variables are x and y. The x, y coordinates of the contour point sequence for each group are approximated by a quadratic piecewise polynomial in which t is an independent variable and x and y are dependent variables, and least square approximation is performed until the approximation accuracy falls within a predetermined range. Data approximation mechanism A for finding an approximate polynomial for each group of repetitive contour line points , A curvature calculation mechanism for obtaining a curvature at each point of a point sequence for each group in the x and y spaces, a perfect circle extraction mechanism for extracting a perfect circle from the curvature data for each group, Temporary junction position extraction mechanism that extracts spatially non-differentiable points as temporary junction points from the curvature data of the column and other junction candidates near the temporary junction point based on the correlation. The optimal joint point extraction mechanism that stochastically determines the optimum joint point and the unnecessary joint point that maintains the approximation accuracy even if it does not exist on the dividing boundary line is found and removed. The unnecessary joining point removing mechanism and the adjacent joining points in the same point sequence group are approximated in the order of a straight line and a circular arc, and when a predetermined approximation accuracy cannot be obtained by this, t is an independent variable,
Approximate with a quadratic piecewise polynomial with x and y as dependent variables, and repeat the least-squares approximation while increasing the dimensionality of the quadratic piecewise polynomial until the approximation accuracy falls within a predetermined value, and draw a straight line between adjacent junction points. , A circular arc, a data approximating mechanism B for approximating with a piecewise polynomial, and a compression data for storing the coordinates of the above-mentioned joining points and the parameters of the function approximating between adjacent joining points for each group of point sequences.
And a compression storing data storage unit for storing compression data in the second image storage unit.
【請求項4】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置とを含み、前記の原画の分割は、境
界において1画素分ずつ重なるようにして行うことと
し、前記の分割画像に対するデ−タ圧縮装置は、分割画
像について、文字図形の輪郭線を抽出する輪郭線抽出機
構と、抽出された輪郭線の2次元座標(X,Y)を連続
する群ごとに記憶する輪郭点列記憶機構と、独立変数を
t、従属変数をx、yとし前記の群毎の輪郭線点列の
x、y座標をtを独立変数、xとyを従属変数とする2
次の区分的多項式で近似し、近似精度が所定範囲になる
まで最小二乗近似を繰り返し輪郭線点列の群毎の近似多
項式を求めるデ−タ近似機構Aと、前記の近似結果から
x、y空間での群毎の点列の各点における曲率を求める
曲率演算機構と、群毎の曲率のデ−タから真円を抽出す
る真円抽出機構と、点列の曲率のデ−タから空間微分不
可能な点を仮接合点として抽出する仮接合点位置抽出機
構と、仮接合点の近傍にある他の接合点候補を相関関係
に基づいた辻褄合わせを確率的に行い、最適接合点を求
める最適接合点抽出機構と、分割境界線上にない最適接
合点の中からそれがなくても近似精度が保たれるような
不要な接合点を見い出しこれを除去する不要接合点除去
機構と、同一点列群内の隣接接合点間を直線、円弧の順
で近似しこれで所定の近似精度が得られない時はtを独
立変数、x、yを従属変数とした2次の区分的多項式で
近似し近似精度が所定の値に収まるまで2次区分的多項
式の次元数を増加させながら最小二乗近似を繰り返して
隣接接合点間を直線、円弧、区分的多項式で近似するデ
−タ近似機構Bと、点列の群毎に前記の接合点の座標と
隣接接合点間を近似する関数のパラメ−タとを記憶する
圧縮デ−タ記憶機構とよりなり、圧縮デ−タが前記の第
2の画像記憶装置に記憶されるようにしたことを特徴と
する文字図形の分割読取り圧縮記憶装置。
4. A first image storage device for storing data obtained by optically reading a character pattern in association with a finite number of pixels arranged vertically and horizontally, and the stored image data is divided into basic small areas. The divided images are divided by sequential function approximation.
A data compression device and a second image storage device for storing the data-compressed data. The original image is divided so that it is overlapped by one pixel at the boundary. The data compression apparatus for the divided images stores the contour line extracting mechanism for extracting the contour line of the character graphic and the two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group. A contour point sequence storage mechanism, and t is an independent variable, x and y are dependent variables, and t is an independent variable and x and y coordinates of the contour point sequence of each group are 2 and x and y are dependent variables.
A data approximation mechanism A for approximating with the following 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 the contour point sequence, and x, y from the above approximation results. A curvature calculation mechanism that obtains the curvature at each point of the point sequence for each group in space, a perfect circle extraction mechanism that extracts a perfect circle from the curvature data for each group, and a space from the curvature data of the point sequence. A temporary joint point position extraction mechanism that extracts non-differentiable points as temporary joint points and other joint point candidates near the temporary joint point are stochastically stochastized based on the correlation to find the optimum joint point. The same as the extraction mechanism for the optimum joint point to be found, and the unnecessary joint point removal mechanism that finds and removes unnecessary joint points that can maintain the approximation accuracy even if they do not exist on the division boundary line. Approximate a straight line and a circular arc between adjacent joints in When the approximation accuracy of is not obtained, it is approximated by a quadratic piecewise polynomial in which t is an independent variable and x and y are dependent variables, and the dimensionality of the quadratic piecewise polynomial is increased until the approximation accuracy falls within a predetermined value. The data approximation mechanism B that repeats the least-squares approximation while approximating the adjacent joint points with a straight line, an arc, and a piecewise polynomial, and approximates the coordinates of the joint points and the adjacent joint points for each group of point sequences. And a compression data storage mechanism for storing the parameters of the function to be stored, the compression data being stored in the second image storage device. Compressed storage device.
【請求項5】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置と、第2の画像記憶装置に記憶され
た前分割画像に関するデ−タを合成して、原画の輪郭線
のみをペンまたは刃によって再生する再生装置とを含み
前記の原画の分割は、境界において1画素分ずつ重なる
ようにして行うこととし、前記の分割画像に対するデ−
タ圧縮装置は、分割画像について、文字図形の輪郭線を
抽出する輪郭線抽出機構と、抽出された輪郭線の2次元
座標(X,Y)を連続する群ごとに記憶する輪郭点列記
憶機構と、独立変数をt、従属変数をx、yとし前記の
群毎の輪郭線点列のx、y座標をtを独立変数、xとy
を従属変数とする2次の区分的多項式で近似し、近似精
度が所定範囲になるまで最小二乗近似を繰り返し輪郭線
点列の群毎の近似多項式を求めるデ−タ近似機構Aと、
前記の近似結果からx、y空間での群毎の点列の各点に
おける曲率を求める曲率演算機構と、群毎の曲率のデ−
タから真円を抽出する真円抽出機構と、点列の曲率のデ
−タから空間微分不可能な点を仮接合点として抽出する
仮接合点位置抽出機構と、仮接合点の近傍にある他の接
合点候補を相関関係に基づいた辻褄合わせを確率的に行
い、最適接合点を求める最適接合点抽出機構と、最適接
合点の中からそれがなくても近似精度が保たれるような
不要な接合点を見い出しこれを除去する不要接合点除去
機構と、同一点列群内の隣接接合点間を直線、円弧の順
で近似しこれで所定の近似精度が得られない時はtを独
立変数、x、yを従属変数とした2次の区分的多項式で
近似し近似精度が所定の値に収まるまで2次区分的多項
式の次元数を増加させながら最小二乗近似を繰り返して
隣接接合点間を直線、円弧、区分的多項式で近似するデ
−タ近似機構Bと、点列の群毎に前記の接合点の座標と
隣接接合点間を近似する関数のパラメ−タとを記憶する
圧縮デ−タ記憶機構とよりなり、圧縮デ−タが前記の第
2の画像記憶装置に記憶されるようにしてあり、輪郭線
を出力する時に、分割境界線を辿る場合はペンまたは刃
を上げて分割境界線が現れないようにしたことを特徴と
する文字図形の分割読取り圧縮記憶合成出力装置。
5. A first image storage device for storing data obtained by optically reading a character pattern in association with a finite number of vertical and horizontal pixels, and the stored image data is divided into basic small areas. The divided images are divided by sequential function approximation.
A device for data compression, a second image storage device for storing the data compressed data, and data relating to the pre-divided image stored in the second image storage device are combined to produce an original image. Including the reproducing device for reproducing only the contour line with a pen or a blade, the original image is divided so that it overlaps by one pixel at the boundary, and the data for the divided image is divided.
The data compression device includes a contour line extraction mechanism that extracts a contour line of a character graphic and a contour point sequence storage mechanism that stores two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group. And the independent variable is t, the dependent variables are x and y, and the x and y coordinates of the contour line sequence for each group are t and the independent variables are x and y.
And a data approximation mechanism A for approximating with a quadratic piecewise polynomial with the dependent variable as a dependent variable and repeating the least-squares approximation until the approximation accuracy falls within a predetermined range to obtain an approximation polynomial for each group of the contour point sequence.
A curvature calculation mechanism for obtaining the curvature at each point of the point sequence for each group in the x and y spaces from the above approximation results, and the curvature data for each group
A true circle extraction mechanism that extracts a perfect circle from the data, a temporary junction position extraction mechanism that extracts a point that cannot be spatially differentiated from the curvature data of the point sequence as a temporary junction point, and a temporary circle An optimal junction extraction mechanism that stochastically matches other junction candidates based on the correlation and finds the optimal junction, and the approximation accuracy is maintained even if there is no such optimal junction. Unnecessary joint removal mechanism that finds unnecessary joints and removes them, and between adjacent joints in the same point sequence group is approximated in the order of a straight line and a circular arc. Approximate with a quadratic piecewise polynomial with independent variables x and y as dependent variables, and repeat least-square approximation while increasing the number of dimensions of the quadratic piecewise polynomial until the approximation accuracy falls within a predetermined value. A data approximation mechanism B that approximates a straight line, a circular arc, and a piecewise polynomial between And a compression data storage mechanism for storing the coordinates of the joint points and the parameters of the function approximating between adjacent joint points for each group of point sequences, the compression data being the second image. It is stored in a storage device, and when outputting a contour line, when tracing a dividing boundary line, a pen or a blade is raised so that the dividing boundary line does not appear. Compressed memory synthesis output device.
【請求項6】 光学的に文字図形を読み取ったデ−タ
を、縦横に有限個並ぶ画素に対応させて記憶する第1の
画像記憶装置と、記憶された画像デ−タを基本小領域に
分割し分割された分割画像について順次函数近似により
デ−タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶
する第2の画像記憶装置とを含み、前記の分割画像に対
するデ−タ圧縮装置は、分割画像について、文字図形の
輪郭線を抽出する輪郭線抽出機構と、抽出された輪郭線
の2次元座標(X,Y)を連続する群ごとに記憶する輪
郭点列記憶機構と、独立変数をt、従属変数をx、yと
し前記の群毎の輪郭線点列のx、y座標をtを独立変
数、xとyを従属変数とする区分的多項式で近似し輪郭
線点列の群毎の近似多項式を求めるデ−タ近似機構と、
前記の近似結果からx、y空間での群毎の点列の各点に
おける曲率を求める曲率演算機構と、群毎の曲率のデ−
タから真円を抽出する真円抽出機構と、点列の曲率のデ
−タから空間微分不可能な点を接合点として抽出する接
合点位置抽出機構と、同一点列群内の隣接接合点間を直
線、円弧の順で近似しこれで所定の近似精度が得られな
い時はtを独立変数、x、yを従属変数とした区分的多
項式で近似して隣接接合点間を直線、円弧、区分的多項
式で近似するデ−タ近似機構と、点列の群毎に前記の接
合点の座標と隣接接合点間を近似する関数のパラメ−タ
とを記憶する圧縮デ−タ記憶機構とよりなり、圧縮デ−
タが前記の第2の画像記憶装置に記憶されるようにした
ことを特徴とする文字図形の分割読取り圧縮記憶装置。
6. A first image storage device for storing data obtained by optically reading a character pattern in association with a finite number of vertical and horizontal pixels, and the stored image data in a basic small area. Data for the divided images is included, which includes a device for sequentially compressing the divided images by function approximation and a second image storage device for storing the data-compressed data. The compression device includes a contour line extraction mechanism that extracts a contour line of a character figure from a divided image, and a contour point sequence storage mechanism that stores two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group. , The independent variable is t, the dependent variables are x and y, and the x and y coordinates of the above-mentioned contour point sequence for each group are approximated by a piecewise polynomial in which t is the independent variable and x and y are the dependent variables. A data approximation mechanism for obtaining an approximate polynomial for each group of columns,
A curvature calculation mechanism for obtaining the curvature at each point of the point sequence for each group in the x and y spaces from the above approximation results, and the curvature data for each group
A perfect circle extraction mechanism that extracts a perfect circle from the data, a joint position extraction mechanism that extracts a point that cannot be spatially differentiated from the curvature data of the point sequence as a joint point, and an adjacent joint point in the same point sequence group. If a predetermined approximation accuracy cannot be obtained with a straight line and a circular arc in this order, then a straight line and a circular arc are drawn between adjacent junction points by approximating with a piecewise polynomial in which t is an independent variable and x and y are dependent variables. A data approximation mechanism for approximating with a piecewise polynomial, and a compression data storage mechanism for memorizing the coordinates of the junction points and the parameters of the function approximating between adjacent junction points for each group of point sequences. Compression data
And a character graphic divided read compression storage device, wherein the data is stored in the second image storage device.
【請求項7】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置と、第2の画像記憶装置に記憶され
た前分割画像に関するデ−タを合成して原画を再生する
再生装置とを含み、前記の分割画像に対するデ−タ圧縮
装置は、分割画像について、文字図形の輪郭線を抽出す
る輪郭線抽出機構と、抽出された輪郭線の2次元座標
(X,Y)を連続する群ごとに記憶する輪郭点列記憶機
構と、独立変数をt、従属変数をx、yとし前記の群毎
の輪郭線点列のx、y座標をtを独立変数、xとyを従
属変数とする区分的多項式で近似し輪郭線点列の群毎の
近似多項式を求めるデ−タ近似機構と、前記の近似結果
からx、y空間での群毎の点列の各点における曲率を求
める曲率演算機構と、群毎の曲率のデ−タから真円を抽
出する真円抽出機構と、点列の曲率のデ−タから空間微
分不可能な点を接合点として抽出する接合点位置抽出機
構と、同一点列群内の隣接接合点間を直線、円弧の順で
近似しこれで所定の近似精度が得られない時はtを独立
変数、x、yを従属変数とした区分的多項式で近似して
隣接接合点間を直線、円弧、区分的多項式で近似するデ
−タ近似機構と、点列の群毎に前記の接合点の座標と隣
接接合点間を近似する関数のパラメ−タとを記憶する圧
縮デ−タ記憶機構とよりなり、圧縮デ−タが前記の第2
の画像記憶装置に記憶されるようにしたことを特徴とす
る文字図形の分割読取り圧縮記憶合成出力装置。
7. A first image storage device for storing data obtained by optically reading a character pattern in association with a finite number of pixels arranged vertically and horizontally, and the stored image data is divided into basic small areas. The divided images are divided by sequential function approximation.
A device for compressing data, a second image storage device for storing the data compressed data, and data for the pre-divided image stored in the second image storage device are combined to reproduce the original image. The data compression device for the divided image includes a contour line extraction mechanism for extracting the contour line of the character graphic and the two-dimensional coordinates (X, Y) of the extracted contour line. ) Is stored for each continuous group, and the independent variable is t, the dependent variables are x, y, and the x, y coordinates of the outline point sequence for each group are t as independent variables, x. A data approximation mechanism for approximating with a piecewise polynomial with y as a dependent variable to obtain an approximate polynomial for each group of contour point sequences, and each point of the sequence of points for each group in the x and y spaces from the above approximation results Curvature calculation mechanism to find the curvature in a circle, and a perfect circle extraction mechanism to extract a perfect circle from the curvature data for each group , A joint point position extraction mechanism that extracts points that cannot be spatially differentiated from the curvature data of the point sequence as joint points, and between adjacent joint points in the same point sequence group in the order of straight line, arc When a predetermined approximation accuracy cannot be obtained, a data approximation mechanism that approximates a piecewise polynomial in which t is an independent variable and x and y are dependent variables and approximates a straight line, an arc, or a piecewise polynomial between adjacent junction points And a compression data storage mechanism for storing the coordinates of the joint points and the parameters of the function approximating between the adjacent joint points for each group of point sequences.
The image reading / storing / compositing output device for character / figure.
【請求項8】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置と、第2の画像記憶装置に記憶され
た前分割画像に関するデ−タを合成して原画を再生する
再生装置とを含み、前記の原画の分割は、境界において
1画素分ずつ重なるようにして行うこととし、前記の分
割画像に対するデ−タ圧縮装置は、分割画像について、
文字図形の輪郭線を抽出する輪郭線抽出機構と、抽出さ
れた輪郭線の2次元座標(X,Y)を連続する群ごとに
記憶する輪郭点列記憶機構と、独立変数をt、従属変数
をx、yとし前記の群毎の輪郭線点列のx、y座標をt
を独立変数、xとyを従属変数とする区分的多項式で近
似し輪郭線点列の群毎の近似多項式を求めるデ−タ近似
機構と、前記の近似結果からx、y空間での群毎の点列
の各点における曲率を求める曲率演算機構と、群毎の曲
率のデ−タから真円を抽出する真円抽出機構と、点列の
曲率のデ−タから空間微分不可能な点を接合点として抽
出する接合点位置抽出機構と、同一点列群内の隣接接合
点間を直線、円弧の順で近似しこれで所定の近似精度が
得られない時はtを独立変数、x、yを従属変数とした
区分的多項式で近似して隣接接合点間を直線、円弧、区
分的多項式で近似するデ−タ近似機構と、点列の群毎に
前記の接合点の座標と隣接接合点間を近似する関数のパ
ラメ−タとを記憶する圧縮デ−タ記憶機構とよりなり、
圧縮デ−タが前記の第2の画像記憶装置に記憶されるよ
うにしたことを特徴とする文字図形の分割読取り圧縮記
憶合成出力装置。
8. A first image storage device for storing data obtained by optically reading a character pattern in association with a finite number of vertical and horizontal pixels and dividing the stored image data into basic small areas. The divided images are divided by sequential function approximation.
A device for compressing data, a second image storage device for storing the data compressed data, and data for the pre-divided image stored in the second image storage device are combined to reproduce the original image. The division of the original image is performed so as to overlap by one pixel at the boundary, and the data compression apparatus for the divided image is
A contour line extraction mechanism for extracting a contour line of a character figure, a contour point sequence storage mechanism for storing two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group, an independent variable t, and a dependent variable Is defined as x, y, and the x, y coordinates of the contour point sequence for each group are t
Is an independent variable and x and y are dependent variables and is approximated by a piecewise polynomial to obtain an approximate polynomial for each group of the contour point sequence, and for each group in the x, y space from the approximation result. A curvature calculation mechanism for obtaining the curvature at each point of the point sequence, a perfect circle extraction mechanism for extracting a perfect circle from the curvature data for each group, and a point that cannot be spatially differentiated from the curvature data of the point sequence. A joint position extraction mechanism for extracting as a joint point, and a joint between adjacent joints in the same point sequence group is approximated in the order of a straight line and an arc. , A data approximating mechanism for approximating adjacent joint points by a straight line, a circular arc, and a piecewise polynomial by approximating with a piecewise polynomial with y as a dependent variable, and adjoining the coordinates of the joint points for each group of point sequences. And a compression data storage mechanism that stores the parameters of the function approximating between the junction points,
A divided reading compression storage combination output device for character and graphics, wherein compression data is stored in the second image storage device.
【請求項9】 光学的に文字図形を読み取ったデ−タを
縦横に有限個並ぶ画素に対応させて記憶する第1の画像
記憶装置と、記憶された画像デ−タを基本小領域に分割
し分割された分割画像について順次函数近似によりデ−
タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶する
第2の画像記憶装置と、第2の画像記憶装置に記憶され
た前分割画像に関するデ−タを合成して原画の輪郭線の
みをペンまたは刃によって再生する再生装置とを含み、
前記の原画の分割は、境界において1画素分ずつ重なる
ようにして行うこととし、前記の分割画像に対するデ−
タ圧縮装置は、分割画像について、文字図形の輪郭線を
抽出する輪郭線抽出機構と、抽出された輪郭線の2次元
座標(X,Y)を連続する群ごとに記憶する輪郭点列記
憶機構と、独立変数をt、従属変数をx、yとし前記の
群毎の輪郭線点列のx、y座標をtを独立変数、xとy
を従属変数とする区分的多項式で近似し輪郭線点列の群
毎の近似多項式を求めるデ−タ近似機構と、前記の近似
結果からx、y空間での群毎の点列の各点における曲率
を求める曲率演算機構と、群毎の曲率のデ−タから真円
を抽出する真円抽出機構と、点列の曲率のデ−タから空
間微分不可能な点を接合点として抽出する接合点位置抽
出機構と、同一点列群内の隣接接合点間を直線、円弧の
順で近似しこれで所定の近似精度が得られない時はtを
独立変数、x、yを従属変数とした区分的多項式で近似
して隣接接合点間を直線、円弧、区分的多項式で近似す
るデ−タ近似機構と、点列の群毎に前記の接合点の座標
と隣接接合点間を近似する関数のパラメ−タとを記憶す
る圧縮デ−タ記憶機構とよりなり、圧縮デ−タが前記の
第2の画像記憶装置に記憶されるようにし、分割境界線
においてはペンまたは刃を上げることによりこれを出力
しないようにしたことを特徴とする文字図形の分割読取
り圧縮記憶合成出力装置。
9. A first image storage device for storing data obtained by optically reading a character pattern in association with a finite number of vertical and horizontal pixels, and dividing the stored image data into basic small areas. The divided images are divided by sequential function approximation.
A device for data compression, a second image storage device for storing the data-compressed data, and data relating to the pre-divided image stored in the second image storage device to synthesize the outline of the original image. Including a reproducing device that reproduces only the line with a pen or a blade,
The division of the original image is performed so that one pixel overlaps at the boundary, and the data for the divided image is divided.
The data compression device includes a contour line extraction mechanism that extracts a contour line of a character graphic and a contour point sequence storage mechanism that stores two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group. And the independent variable is t, the dependent variables are x and y, and the x and y coordinates of the contour line sequence for each group are t and the independent variables are x and y.
A data approximation mechanism for approximating a contour polynomial for each group of a point sequence by a piecewise polynomial with a dependent variable, and the above approximation results at each point of the point sequence for each group in the x and y spaces. A curvature calculation mechanism that obtains the curvature, a perfect circle extraction mechanism that extracts a perfect circle from the curvature data for each group, and a join that extracts a point that cannot be spatially differentiated from the curvature data of the point sequence as a joint point. When the point position extraction mechanism and adjacent joint points in the same point sequence group are approximated in the order of a straight line and a circular arc and a predetermined approximation accuracy cannot be obtained by this, t is an independent variable and x and y are dependent variables. A data approximation mechanism that approximates a piecewise polynomial by approximating between adjacent junctions by a straight line, an arc, and a piecewise polynomial, and a function that approximates the coordinates of the junction and the adjacent junctions for each group of point sequences And a compression data storage mechanism for storing the parameters of the second image storage device. So as to be stored in the divided read compressed storage combined output device of a character graphic which is characterized in that so as not to output this by raising the pen or blade at the dividing boundary.
【請求項10】 光学的に文字図形を読み取ったデ−タ
を縦横に有限個並ぶ画素に対応させて記憶する第1の画
像記憶装置と、記憶された画像デ−タを基本小領域に分
割し分割された分割画像について順次函数近似によりデ
−タ圧縮する装置と、デ−タ圧縮されたデ−タを記憶す
る第2の画像記憶装置と、第2の画像記憶装置に記憶さ
れた前分割画像に関するデ−タを合成して原画を再生す
る再生装置とを含み、前記の原画の分割は、境界におい
て1画素分ずつ重なるようにして行うこととし、前記の
分割画像に対するデ−タ圧縮装置は、分割画像につい
て、文字図形の輪郭線を抽出する輪郭線抽出機構と、抽
出された輪郭線の2次元座標(X,Y)を連続する群ご
とにtを独立変数、X、Yを従属変数として記憶する輪
郭点列記憶機構と、x、y空間での群毎の点列の各点に
おける離散的曲率を求める曲率演算機構と、群毎の曲率
のデ−タから真円を抽出する真円抽出機構と、点列の曲
率のデ−タから空間微分不可能な点を接合点として抽出
する接合点位置抽出機構と、同一点列群内の隣接接合点
間を直線、円弧の順で近似しこれで所定の近似精度が得
られない時はtを独立変数、x、yを従属変数とした区
分的多項式で近似し近似精度が所定の値に収まるまで区
分的多項式の次元数を増加させながら最小二乗近似を繰
り返して隣接接合点間を直線、円弧、区分的多項式で近
似するデ−タ近似機構と、点列の群毎に前記の接合点の
座標と隣接接合点間を近似する関数のパラメ−タとを記
憶する圧縮デ−タ記憶機構とよりなり、圧縮デ−タが前
記の第2の画像記憶装置に記憶されるようにしたことを
特徴とする文字図形の分割読取り圧縮記憶合成出力装
置。
10. A first image storage device for storing data obtained by optically reading a character pattern in association with a finite number of vertical and horizontal pixels and dividing the stored image data into basic small areas. A device for sequentially compressing the divided images by function approximation, a second image storage device for storing the data-compressed data, and a previous image data stored in the second image storage device. A reproduction device for reproducing the original image by synthesizing the data relating to the divided images, wherein the division of the original image is performed so that one pixel overlaps at the boundary, and the data compression for the divided image is performed. For the divided image, the apparatus extracts the contour line extraction mechanism for extracting the contour line of the character graphic and the two-dimensional coordinates (X, Y) of the extracted contour line for each continuous group of t as an independent variable, X, Y. A contour point sequence storage mechanism for storing as a dependent variable; x , A curvature calculation mechanism for obtaining a discrete curvature at each point of the point sequence in the y space, a perfect circle extraction mechanism for extracting a perfect circle from the curvature data for each group, and a curvature data for the point sequence. -A joint position extraction mechanism that extracts points that cannot be spatially differentiated from the joint as a joint point, and between adjacent joint points in the same point sequence group is approximated in the order of a straight line and a circular arc. If there is no t, it is approximated by a piecewise polynomial in which t is an independent variable and x, y are dependent variables, and the least squares approximation is repeated while increasing the number of dimensions of the piecewise polynomial until the approximation accuracy falls within a predetermined value. A data approximation mechanism for approximating the distances by a straight line, a circular arc, and a piecewise polynomial, and a compression data storing the coordinates of the junction points and the parameters of the function for approximating the adjacent junction points for each group of point sequences. A storage unit for storing compressed data in the second image storage device. Split read compressed storage combined output device of a character graphic which is characterized in that the.
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 true JPH06348837A (en) 1994-12-22
JP2646478B2 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6160916A (en) * 1997-08-11 2000-12-12 Tsukuba Software Laboratory Co., Ltd. Communication apparatus and method of color pictures and continually-changing tone pictures
JP2016179504A (en) * 2015-03-23 2016-10-13 ブラザー工業株式会社 Cutting apparatus
WO2017022321A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022275A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022276A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022335A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022314A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017090277A1 (en) * 2015-11-26 2017-06-01 ブラザー工業株式会社 Device for creating processing data, and program for creating processing data

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6160916A (en) * 1997-08-11 2000-12-12 Tsukuba Software Laboratory Co., Ltd. Communication apparatus and method of color pictures and continually-changing tone pictures
JP2016179504A (en) * 2015-03-23 2016-10-13 ブラザー工業株式会社 Cutting apparatus
WO2017022321A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022275A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022276A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022335A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
WO2017022314A1 (en) * 2015-08-06 2017-02-09 ブラザー工業株式会社 Cutting data creation device and cutting data creation program
US10195758B2 (en) 2015-08-06 2019-02-05 Brother Kogyo Kabushiki Kaisha Cut data generating apparatus and non-transitory recording medium recording cut data generating program
WO2017090277A1 (en) * 2015-11-26 2017-06-01 ブラザー工業株式会社 Device for creating processing data, and program for creating processing data

Also Published As

Publication number Publication date
JP2646478B2 (en) 1997-08-27

Similar Documents

Publication Publication Date Title
EP0950988B1 (en) Three-Dimensional image generating apparatus
JPH06508461A (en) Apparatus and method for automatically merging images
WO2006005003A9 (en) Composition of raster and vector graphics in geographic information systems
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
WO2002025587A2 (en) Method and apparatus for shape deformation and placement
JP2646478B2 (en) Compression storage device and composite output device for divided reading of character and graphics
JP2006345314A (en) Image processing apparatus and image processing method
IE910580A1 (en) Improved map production method
JPS6282472A (en) Picture processing system
JP2646479B2 (en) Communication device for character and graphics
JP4181604B2 (en) Output device and program
JP4554758B2 (en) Artwork shape changing method and apparatus
JP2003046746A (en) Method and apparatus for processing image
JP2646476B2 (en) Logo / Illustration data input / output device and input / output method
JP2005151455A (en) Image processor, information processor, these control method, and program
EP0418868B1 (en) Image processing system
Stern Garland's animation system (gas) a system for computer-aided keyframe animation.
KR20050078100A (en) Methods for manufacturing moving cartoon and recording medium thereof
JP2701195B2 (en) Sign making equipment
JP2002245480A (en) Solid data, file for solid shape control, solid shape projection file, or line drawing relief pattern generating method and its device, solid data, file for solid shape control, solid shape projection file, or recording medium with recorded line drawing relief pattern generating program
JPH01189692A (en) Dot matrix converting method for registering character type
JPH11296670A (en) Image data interpolation device, its method, and medium for recording image data interpolation program
JPH0594511A (en) Image processor
JP3560124B2 (en) Image data interpolation device, image data interpolation method, and medium recording image data interpolation program
RU2059203C1 (en) Method of preparation of maps for publication

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