JPH04581A - Pattern storage device with hierarchical structure - Google Patents

Pattern storage device with hierarchical structure

Info

Publication number
JPH04581A
JPH04581A JP10113190A JP10113190A JPH04581A JP H04581 A JPH04581 A JP H04581A JP 10113190 A JP10113190 A JP 10113190A JP 10113190 A JP10113190 A JP 10113190A JP H04581 A JPH04581 A JP H04581A
Authority
JP
Japan
Prior art keywords
pattern
data
storage device
pattern storage
patterns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10113190A
Other languages
Japanese (ja)
Inventor
Shinichi Nakano
中野 眞一
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP10113190A priority Critical patent/JPH04581A/en
Publication of JPH04581A publication Critical patent/JPH04581A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、グレイスケールパタン、アミカケパタン、フ
ィリングパタンなどのパタン記憶装置お[従来の技術] ドツトインパクトプリンタ、ワードプロセッサなどにお
いては文字のアミカケパタンをビットマツプデータとし
て記憶する手法が知られている。
Detailed Description of the Invention [Industrial Field of Application] The present invention is applicable to pattern storage devices such as gray scale patterns, amokake patterns, filling patterns, etc. [Prior Art] Dot impact printers, word processors, etc. A method of storing data as map data is known.

このほかにレーザプリンタなど高品位の印刷出力の得ら
れる装置においてはある濃度パタンをセルに敷き詰めて
い(手法(ハーフトーン)おしられている。またアウト
ラインデータとして記憶する手法も知られている。
In addition, in devices capable of producing high-quality print output, such as laser printers, there is a method (halftone) in which cells are covered with a certain density pattern (halftone).A method is also known in which the density pattern is stored as outline data.

[発明が解決しようとする課題] ドットパタンデータとして記憶する手法はパタンを構成
する画素数に相当するbit数のメモリを必要とするの
で高品位印字出力用パタンを記憶するためには膨大な量
のメモリを必要とする問題がある。また同じ5111m
角のチエツク模様を記憶するにも画素の大きざが0.5
 ran角の場合と1. Orran角の場合で異なる
データが必要といったように同一パタンを記憶するのに
画素の大きさに依存したドットパタンデータを作成しな
(てはならないという問題がある。濃度パタンをセルに
敷き詰めていく手法はたいへん高品位なパタンを生成す
るが多(の数値処理を必要としパタン記憶装置からパタ
ンを発生するのに要する計算量が非常に多いという問題
がある。
[Problem to be solved by the invention] The method of storing dot pattern data requires a memory with a number of bits corresponding to the number of pixels composing the pattern, so in order to store a pattern for high-quality print output, a huge amount of memory is required. The problem is that it requires a lot of memory. The same 5111m
The pixel size is 0.5 to memorize the corner check pattern.
In the case of ran angle and 1. There is a problem in that, in order to store the same pattern, it is necessary to create dot pattern data that depends on the pixel size, such as the need for different data depending on the Orran angle.The density pattern is laid out in cells. Although this method generates very high-quality patterns, it requires a large amount of numerical processing and has the problem that the amount of calculation required to generate a pattern from a pattern storage device is extremely large.

アウトラインデータとして記憶する手法は〕くタンの拡
大縮小回転などアフィン変換が容易であり記憶データが
画素の大きさに依存しないという利点があるが輪郭籾が
複雑であるパタンの記憶には膨大なアウトラインデータ
が必要であるといった問題がある。
The method of storing outline data has the advantage that affine transformations such as enlargement/reduction/rotation of patterns are easy and the stored data does not depend on pixel size, but it is difficult to store patterns with complex outlines because of the large amount of outline data. There is a problem with the need for data.

またビットマップデータ、アウトラインデータの圧縮に
ついてもいろいろな技術が知られている[課題を解決す
るための手段] 本発明はこのような問題を解決するために考案された、
画素の大きさに依存せず、拡大縮小も自在であり、かつ
膨大なデータを必要と゛しない新しいパタン記憶装置で
ある。その主な特徴は領域分割と階層構造によりパタン
を記憶することである[実施例コ そこで以下に本発明の詳細を図示した実施例に基づいて
説明する。
Various techniques are also known for compressing bitmap data and outline data. [Means for Solving the Problems] The present invention was devised to solve these problems.
This is a new pattern storage device that does not depend on pixel size, can be expanded or reduced, and does not require a huge amount of data. Its main feature is that it stores patterns using area division and a hierarchical structure [Embodiment] The details of the present invention will be explained below based on the illustrated embodiment.

第1図は本発明の一実施例を示すおおまかな構成図であ
る。
FIG. 1 is a schematic diagram showing an embodiment of the present invention.

図中符号1はパタン記憶装置であり本発明の手法により
パタンか記憶される。
Reference numeral 1 in the figure is a pattern storage device in which patterns are stored using the method of the present invention.

符号2はパタン読みだし装置であり、パタン記憶装置よ
り、外部読みだし信号により指定された希望パタンデー
タを探索参照する。
Reference numeral 2 denotes a pattern reading device, which searches and refers to desired pattern data specified by an external read signal from the pattern storage device.

符号6はパタン発生装置であり参照されたパタンデータ
よりパタンを生成する。
Reference numeral 6 denotes a pattern generator that generates a pattern from referenced pattern data.

符号4はドットパタン描画装置でありパタンをドツトデ
ータに変換し符号5の画像メモリの指定部分に敷き詰め
る。
Reference numeral 4 is a dot pattern drawing device which converts the pattern into dot data and spreads it over a designated portion of the image memory 5.

以下にこのように構成した装置の動作を詳細に説明する
The operation of the apparatus configured as described above will be explained in detail below.

第2図は本発明のパタン記憶装置に記憶するパタンの一
例である。簡獣な例として水平垂直線分のみで分割され
た領域から構成されたものを選んでいる。しかしこれは
本発明の範囲を限定するものではない。
FIG. 2 is an example of a pattern stored in the pattern storage device of the present invention. As a simple example, we have chosen one consisting of areas divided only by horizontal and vertical line segments. However, this is not intended to limit the scope of the invention.

第6図は本発明のパタン記憶装置から発生したパタンを
敷き詰めた例である。これも簡略な一例であり、敷き詰
める領域が矩形であることは本発明を限定するものでは
ない。また簡略な白黒画像を用いているが各領域にグレ
イスケールもしくは色をわりあてることもできるのでこ
れも本発明の範囲を限定するものではない。
FIG. 6 is an example in which patterns generated from the pattern storage device of the present invention are laid out. This is also a simple example, and the fact that the area covered is rectangular does not limit the present invention. Further, although a simple black and white image is used, gray scale or color can be assigned to each area, so this also does not limit the scope of the present invention.

第4図は例パタンの座標系をしめす。X軸は右に増加す
るむきに、Y軸は上に増加するむきに設定される。パタ
ンは矩形であり、座標軸に平行に置かれる。矩形円部の
座標が(0,0)−(10o、1oo)の範囲になるよ
うに座標が選ばれる第5図は例パタンの階層構造を示す
。(イ)は第一階層、(ロ)(ハ)(ニ)は第二階層、
(ホ)(へ)は第三階層である。
FIG. 4 shows the coordinate system of the example pattern. The X-axis is set to increase to the right, and the Y-axis is set to increase to the top. The pattern is rectangular and placed parallel to the coordinate axes. FIG. 5 shows the hierarchical structure of the example pattern, in which the coordinates of the rectangular circle are selected in the range (0,0)-(10o,1oo). (a) is the first layer, (b) (c) (d) is the second layer,
(E) (E) is the third layer.

第一階層でパタンは縦5列、横6行の9個の矩形領域に
分割される。各分割矩形領域はそれぞれ第二階層をもつ
。各分割矩形領域はさらに分割が必要ならばさらに第二
階層で再び矩形分割されるもし分割が必要でないなら第
二階層でその領域が必要ならばさらに第二階層で再び矩
形分割される。もし分割が必要でないなら第二階層でそ
の領域が黒地であるか白地であるか(あるいはグレイス
ケール、色)を指定する。
In the first layer, the pattern is divided into nine rectangular areas of five columns and six rows. Each divided rectangular area has a second layer. If further division is necessary, each divided rectangular area is divided into rectangles again at the second layer. If division is not necessary, the area is divided into rectangles again at the second layer if further division is necessary. If division is not necessary, specify whether the area is black or white (or grayscale or color) in the second layer.

これを必要に応じて必要階層だけ繰り返す。例では符号
eの領域だけが再矩形分割の必要があるどのような矩形
であっても(o、o)−(1゜o、1oo)の座標で指
定される。(縦横の目盛りは同一でないことに注意) 第6図は実際のメモリ上のデータ構成の例である。第5
図の矩形(イ)−(へ)に第6図のデータ構造(イ)−
(へ)が対応する。
Repeat this for as many layers as necessary. In the example, only the area with code e is specified by the coordinates of (o, o)-(1° o, 1oo), regardless of the rectangle that needs to be re-rectangularly divided. (Note that the vertical and horizontal scales are not the same.) FIG. 6 is an example of the actual data structure on the memory. Fifth
The rectangle (a) in the figure - (f) shows the data structure in Figure 6 (a) -
(to) corresponds.

データ構造には2種類ある。There are two types of data structures.

分割が必要であり、すなわちさらに下位構造をもつ矩形
については第6図(イ)(ロ)のようにX分割リストポ
インタ、X分割リストポインタおよび各分割矩形に対応
する各データ構造へのポインタ群で構成される。
For rectangles that require division, that is, have further lower-level structures, an X-divided list pointer, an Consists of.

分割が必要でない矩形については第6図(ハ)(ニ)(
ホ)(へ)のようにX分割リストポインタ、X分割リス
トポインタおよび黒地であるか白地であるかを示す情報
によって構成される。
For rectangles that do not require division, see Figure 6 (C) (D) (
e) It is composed of an X-divided list pointer, an X-divided list pointer, and information indicating whether the background is black or white, as shown in (e) and (f).

X分割リスト、X分割リストによりその矩形を分割して
できる矩形の個数、大きさ2位置が以下のように計算で
きる。まず希望パタンの大きさ(縦横の長さ)が指定さ
れる。第6図(イ)のX分割リストにより矩形の横辺の
長さの10%、90%のところに新たに縦線がひかれる
ことがわかる同様に第6図(イ)のX分割リストにより
矩形の縦辺の長さの10%、90%のところに新たに横
線がひかれることがわかる。(第5図(イ))分割矩形
に順にa −iと名前をつける。各々の矩形の大きさ2
位置がわかった。下の階層のためにこれを必要なだけ繰
り返す。
The number, size, and two positions of rectangles created by dividing the rectangle using the X-divided list and the X-divided list can be calculated as follows. First, the desired pattern size (vertical and horizontal length) is specified. The X-divided list in Figure 6 (a) shows that new vertical lines are drawn at 10% and 90% of the length of the horizontal sides of the rectangle.Similarly, the It can be seen that new horizontal lines are drawn at 10% and 90% of the length of the vertical sides of the rectangle. (Figure 5 (a)) Name the divided rectangles a - i in order. Size of each rectangle 2
I found the location. Repeat this as many times as necessary for the lower layers.

第6図の(ニ)(へ)は共用することもできるまたパタ
ンには部分構造が同一である場合が多くデータ構造を共
用することによりメモリを節約することができる。
Items (d) and (f) in FIG. 6 can be shared. Also, in many cases, patterns have the same partial structure, and memory can be saved by sharing the data structure.

層のデータ構造が上位のデータ構造をさす様な構成にし
て無限に細かいパタンを記憶することもできる。
It is also possible to store infinitely detailed patterns by configuring a layer data structure to point to a higher level data structure.

[発明の効果] 画素の大きさに依存せず、拡大縮小も自在であり、かつ
膨大なデータを必要としない新しいパタン記憶装置が実
現できた。レーザプリンタなどのパタン記憶装置に適し
ている。またコンビーータからパタンデータをレーザプ
リンタのパタン記憶装置にダウンロードする場合など通
信データ量が少なくなる。
[Effects of the Invention] A new pattern storage device that does not depend on the size of pixels, can be freely enlarged and reduced, and does not require a huge amount of data has been realized. Suitable for pattern storage devices such as laser printers. Furthermore, the amount of communication data is reduced when pattern data is downloaded from the combiner to the pattern storage device of the laser printer.

カラーパタンの記憶に適している。Suitable for memorizing color patterns.

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

第1図は本発明の一実施例を示すおおまかな構成図であ
る。図中符号1はパタン記憶装置であり本発明の手法に
よりパタンか記憶される。符号2はパタン読みだし装置
であり、パタン記憶装置より希望パタンデータを探索参
照する。 符号6はパタン発生装置であり参照されたパタンデータ
よりパタンを生成する。 符号4はドットパタン描画装置でありパタ/をドントデ
ータに変換し符号5の画像メモリの指定部分に敷き詰め
る。 第2図は本発明のパタン記憶装置に記憶するパタンの一
例を示す図である。 第5図は本発明のパタン記憶装置から発生したパタンを
敷き詰めた例を示す図。 第4図は例パタンの座標系をしめす図。 第5図は例パタンの階層構造を示す図で、(イ)は第−
階ノ脅、(ロ)(ハ)(ニ)は第二階層、(ホ)(へ)
は第三階層である。 第6図は実際のメモリ上のデータ構成の例を示す図であ
る。 以上
FIG. 1 is a schematic diagram showing an embodiment of the present invention. Reference numeral 1 in the figure is a pattern storage device in which patterns are stored using the method of the present invention. Reference numeral 2 denotes a pattern reading device, which searches and refers to desired pattern data from a pattern storage device. Reference numeral 6 denotes a pattern generator that generates a pattern from referenced pattern data. Reference numeral 4 denotes a dot pattern drawing device which converts the pattern into don't data and spreads it over the designated portion of the image memory 5. FIG. 2 is a diagram showing an example of a pattern stored in the pattern storage device of the present invention. FIG. 5 is a diagram showing an example in which patterns generated from the pattern storage device of the present invention are laid out. FIG. 4 is a diagram showing the coordinate system of the example pattern. Figure 5 is a diagram showing the hierarchical structure of example patterns, and (a) is a diagram showing the hierarchical structure of example patterns.
Floor threat, (B) (C) (D) is the second level, (H) (H)
is the third layer. FIG. 6 is a diagram showing an example of the data structure on the actual memory. that's all

Claims (1)

【特許請求の範囲】 階層構造をもつパタン記憶手段と、 外部からの読みだし信号により前記パタン情報を読みだ
すパタン読みだし手段と、 前記パタン情報に基づいてパタンデータを生成する手段
と、 生成されたパタンデータを画像メモリ上のドットパタン
として描画する手段と、 を備えていることを特徴とする階層構造をもつパタン記
憶装置。
[Scope of Claims] A pattern storage means having a hierarchical structure, a pattern reading means for reading out the pattern information using a read signal from an outside, a means for generating pattern data based on the pattern information, and a pattern storage means for generating pattern data based on the pattern information. What is claimed is: 1. A pattern storage device having a hierarchical structure, comprising: means for drawing pattern data as a dot pattern on an image memory;
JP10113190A 1990-04-17 1990-04-17 Pattern storage device with hierarchical structure Pending JPH04581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10113190A JPH04581A (en) 1990-04-17 1990-04-17 Pattern storage device with hierarchical structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10113190A JPH04581A (en) 1990-04-17 1990-04-17 Pattern storage device with hierarchical structure

Publications (1)

Publication Number Publication Date
JPH04581A true JPH04581A (en) 1992-01-06

Family

ID=14292525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10113190A Pending JPH04581A (en) 1990-04-17 1990-04-17 Pattern storage device with hierarchical structure

Country Status (1)

Country Link
JP (1) JPH04581A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008200917A (en) * 2007-02-19 2008-09-04 Dainippon Printing Co Ltd Form with incision and manufacturing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008200917A (en) * 2007-02-19 2008-09-04 Dainippon Printing Co Ltd Form with incision and manufacturing method

Similar Documents

Publication Publication Date Title
US5016001A (en) Pattern data generating system
US6133923A (en) Method and apparatus for texture data
JPH01296389A (en) Graphic processing method and device
JPH04581A (en) Pattern storage device with hierarchical structure
JP2770582B2 (en) Figure filling device
JPH03138779A (en) Method and device for texture mapping
JP2727667B2 (en) Drawing equipment
JP2605609B2 (en) Dot display processing device
JP3347756B2 (en) Character generation method and device
JPH08314429A (en) Translucent color image generator
JP2881924B2 (en) Data storage device
JPS63175920A (en) Image pattern display system
JPS63195696A (en) Fast lithography
JPS61102259A (en) Character display pattern generating apparatus
JPS6321909B2 (en)
JPH02168360A (en) Plotting processor
JPS6061792A (en) Character display system
JPH0497421A (en) character processing device
JPH02260080A (en) Character graphic generator
JPS5950991B2 (en) Graphic display output device
JPS60126694A (en) graphic display
JPS6165372A (en) Vector developing system
JPS6244794A (en) Pointer display system for bit map display
JPS6269290A (en) Character display unit
JPH03288894A (en) Document creation device and document creation method