JPS60140469A - Pattern enlargement contraction device - Google Patents

Pattern enlargement contraction device

Info

Publication number
JPS60140469A
JPS60140469A JP58245152A JP24515283A JPS60140469A JP S60140469 A JPS60140469 A JP S60140469A JP 58245152 A JP58245152 A JP 58245152A JP 24515283 A JP24515283 A JP 24515283A JP S60140469 A JPS60140469 A JP S60140469A
Authority
JP
Japan
Prior art keywords
matrix
dots
reference matrix
magnification
dot
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
JP58245152A
Other languages
Japanese (ja)
Other versions
JPH0137748B2 (en
Inventor
Tsukasa Matoba
司 的場
Mitsuo Saito
斉藤 光男
Takeshi Aikawa
健 相川
Akio Mori
秋夫 森
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP58245152A priority Critical patent/JPS60140469A/en
Publication of JPS60140469A publication Critical patent/JPS60140469A/en
Publication of JPH0137748B2 publication Critical patent/JPH0137748B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4015Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To allow natural and neat enlargement and contraction display for an original pattern by constituting a reference matrix so that holltone dots will decrease when an enlargement ratio becmes higher and the holltone dots will increase when a contraction ration becomes higher. CONSTITUTION:A dot operation part 14 outputs position information of dots which should be taken out from a reference matrix in accordance with magnification information inputted from a magnification specifying part 12. A reference matrix correspondence part 15 takes out the reference matrix which correspondence to the matrix outputted from a matrix extraction part 13 from a reference matrix accumulation part 17, and transmits the reference matrix to a dot density decision part 16. The reference matrix is constituted in such a way that a an enlargement ratio becomes higher, the parts of the halftone dots decrease, and as a contraction ratio becomes higher, the parts of the halftone dots increase.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は文字パターンあるいは2値画像等を拡大縮小し
て表示する際、原パターンに対12て自然に美しく拡大
縮小表示の出来るパターン拡大縮小装置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides a pattern enlarging/reducing device that is capable of naturally and beautifully enlarging/reducing an original pattern when displaying a character pattern, a binary image, etc. by enlarging/reducing it. Regarding.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

情報処理技術の発展に伴い、文字パターン、2値画像等
を入力しこれらを編集し、′画像表示して視覚化するこ
とが行なわれている。この編集作業の際、あるパラメー
タによって画面上で文字パターン、2値画像等を拡大縮
小して表示することが試みられている。このパラメータ
とは、例えば出力すべきドツトと原データの周辺ドツト
との距離に反比例した重み付けを周辺ドツトの濃度に行
なって出力すべきドツトの濃度を決定する距離反比例濃
度変換法等である。従来の方式においては、この距離反
比例濃度変換法によって得られた参照すべきドツト分布
を予めROMに蓄えておき、複雑な数値演算を行わずに
極めて高速な濃度変換を行う事が提案されている。つま
多出力すべきドツトアドレスに対応したドツトデータを
ROMより読み出し拡大あるいは縮小された文字パター
ン等を得るものである。この時の条件として変換後パタ
ーンを原パターンと比較した時の自然さ、美しさなどが
あげられる。ところが上述した従来の方式では、ROM
に蓄えられた参照すべきドツト分布が拡大率に応じて複
数備わっているものは有ったが、その拡大率(あるいは
縮小率)に応じて参照すべきドツトをどのような濃淡分
布(例えば、黒・中間色、白)とすれば視覚的に自然な
パターンが得られるかというアルゴリズムが発見されて
ぃ々かった。例えば、第1図は文字パターンを拡大し7
だものであるが、拡大率が高くなる(例えば4倍以−ヒ
)とドツトの中間色部分が増加するため、変換後パター
ンの輪郭つまシ白ドツトと黒ドツトの境界が中間色によ
ってにじんで見えるという欠点があった。又、第2図は
文字パターンを縮小したものであるが、縮小率が高くな
る(例えば1/4倍以上)と参照すべきドツトの間引き
部分が増加するため変換後パターンの中間色部分も減少
し、この輪郭の矩形性が顕著となシドットのつながシが
不自然に見えるという欠点があった。つまり変換後パタ
ーンを原パターンと比較した時の自然さ、美しさという
点においては、満足すべき装置が発明されていなかった
With the development of information processing technology, character patterns, binary images, etc. are input, edited, and visualized by displaying the images. During this editing work, attempts have been made to scale and display character patterns, binary images, etc. on the screen using certain parameters. This parameter is, for example, a distance inverse proportional density conversion method in which the density of the dot to be output is determined by weighting the density of the surrounding dot in inverse proportion to the distance between the dot to be output and the surrounding dots of the original data. In the conventional method, it has been proposed that the reference dot distribution obtained by this distance inverse proportional density conversion method is stored in ROM in advance, and extremely high-speed density conversion can be performed without performing complex numerical calculations. . The dot data corresponding to the dot address to be outputted is read from the ROM and an enlarged or reduced character pattern is obtained. Conditions at this time include the naturalness and beauty of the converted pattern when compared with the original pattern. However, in the conventional method described above, the ROM
Some dots have multiple distributions of reference dots stored in them depending on the magnification rate. An algorithm has been discovered that can produce visually natural patterns using black, neutral colors, and white. For example, in Figure 1, the character pattern is enlarged to 7
However, as the magnification increases (for example, 4x or higher), the intermediate color part of the dots increases, so the border between the white dots and black dots of the converted pattern looks blurred due to the intermediate color. There were drawbacks. Also, Figure 2 shows a reduced character pattern, but as the reduction rate increases (for example, 1/4 times or more), the thinned out portion of the dots to be referenced increases, and the intermediate color portion of the converted pattern also decreases. However, there was a drawback that the rectangularity of the outline made the connecting lines of the dots look unnatural. In other words, no device has been invented that is satisfactory in terms of naturalness and beauty when comparing the converted pattern with the original pattern.

〔発明の目的〕[Purpose of the invention]

本発明の目的は1文字パターン、2値画像等を画面上に
拡大・縮小して表示する際、°その原パターンと比較し
て自然で美しいパターンを生成できる装置を提供するこ
とにある。
An object of the present invention is to provide an apparatus that can generate a natural and beautiful pattern by comparing it with the original pattern when enlarging or reducing a single character pattern, binary image, etc. on a screen.

〔発明の概要〕[Summary of the invention]

本発明は、パターン発生部よ多出力されたパターンから
1倍率指定部より入力された倍率情報に従い例えばX、
Y方向各2ドツトの2×2マトリクスを逐次抽出する2
×2マトリクス抽出部と、2×2マトリクスのパターン
別に且つ拡大縮小すべき倍率別に少なくとも黒・中間色
・白の3段階濃淡ドツトからなる参照マトリクスが格納
された参照マトリクス蓄積部と、前記2×2マトリクス
抽出部より出力された2×2マトリクスのパターンに対
応する参照マ) IJクスを前記倍率指定部より入力さ
れた倍率情報に従って前記参照マトリクス蓄積部より探
し出し前記2×2マトリクスと参照マトリクスとのパタ
ーン対応条件に基いて前記参照マトリクスを読み出す参
照マトリクス対応部と、前記倍率指定部より入力された
倍率情報に従って前記参照マトリクスより取り出すべき
ドツトの位置情報を出力するドツト操作部と、このドツ
ト操作部よ多出力された位置情報に従い前記参照マトリ
クス対応部から出力された参照マトリクスの対応するド
ツトを選び出して出方するドツト濃淡決定部と、このド
ツト濃淡決定部より出力されたドツトを前記倍率指定部
よシ入力された倍率情報によシ適宜重ね合せを行なって
表示する表示部とを備え、前記参照マトリクスは拡大率
が高くなるに従って中間色ドツトが減少し縮小率が高く
なるに従って中間色ドツトが増加するように構成されて
いるものである。
According to the magnification information inputted from the 1 magnification specifying section from the pattern output multiple times from the pattern generating section, for example,
Sequentially extracting a 2×2 matrix of 2 dots each in the Y direction 2
×2 matrix extraction section; a reference matrix storage section storing a reference matrix consisting of dots of at least three shades of black, intermediate color, and white for each pattern of the 2×2 matrix and for each magnification to be enlarged/reduced; A reference matrix corresponding to the 2×2 matrix pattern outputted from the matrix extraction unit a reference matrix correspondence section that reads out the reference matrix based on pattern correspondence conditions; a dot operation section that outputs positional information of dots to be extracted from the reference matrix according to magnification information input from the magnification specifying section; and this dot operation section. a dot density determination section that selects and outputs corresponding dots in the reference matrix outputted from the reference matrix correspondence section according to the position information output from the reference matrix; and a display section that appropriately superimposes and displays the input magnification information, and in the reference matrix, the number of intermediate color dots decreases as the enlargement rate increases, and the number of intermediate color dots increases as the reduction rate increases. It is structured as follows.

〔発明の効果〕〔Effect of the invention〕

本発明によれば原パターンと比較して自然で美しい変換
後パターンを得るととが出来るので視覚的に見え易いも
のとなり実用性が向上する。
According to the present invention, it is possible to obtain a converted pattern that is more natural and beautiful than the original pattern, which makes it easier to see visually and improves practicality.

〔発明の実施例〕 以下、図面を参照して本発明の一実施例につき説明する
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第3図は本発明の一実施例のブロック図である。FIG. 3 is a block diagram of one embodiment of the present invention.

本実施例において文字パターンを与えられた倍率情報に
よって拡大・縮小する一連の°処理について説明する。
A series of processes for enlarging/reducing a character pattern according to given magnification information in this embodiment will be described.

第3図において、11は2値で表現された文字のドツト
パターンを出力する文字パターン発生部、12は文字パ
ターン発生部11より出力される文字パターンを拡大縮
小する際の倍率情報を入力する倍率指定部である。13
は2×2マトリクス抽出部であシ、文字パターン発生部
1工より出力された文字パターン中の各X、Y方向2ド
ツト(2×2)マトリクスを順次取り出して後述するへ
参照マトリクス対応部15へ出力する。この時、倍率指
定部12より入力された倍率情報が拡大の場合と縮小の
場合とでは2×2マトリクスの取り出し方が異なる。拡
大の場合は第4図に示すように文字パターン中で互いに
隣接した2×2マトリクスが順次取シ出される。縮小の
場合は、その縮小率によって取り出し方が異なる。縮小
率1/2の時は第5図(alに示されるように2×2マ
トリクスは第4図の取り出し方に比べてX方向、Y方向
とも1回とばして取シ出される。縮小率1/3の時は第
5図(b)に示されるように2X2マトリクスは第4図
の取り出し方に比べてX方向、Y方向とも2回とばして
取シ出される。次にドツト操作部14では、倍率指定部
12より入力された倍率情報に従い後述する参照マトリ
クスよシ取り出すべきドツトの位置情報を出力する。例
えば第6図(a)では2倍の拡大率の時に2×2マトリ
クスの各ドツト間に1ドツトずつ挿入する事を表わして
いる。この場合、参照マトリクスが(16ドツト)x(
16ドツト)とすると取り出すべきドツトの位置座標は
、(o、o)、(o、s)、(0,16)。
In FIG. 3, numeral 11 is a character pattern generation section that outputs a dot pattern of characters expressed in binary, and 12 is a magnification that inputs magnification information when enlarging or reducing the character pattern output from the character pattern generation section 11. This is the specification part. 13
is a 2×2 matrix extraction unit, which sequentially extracts each 2-dot (2×2) matrix in the X and Y directions from the character pattern output from the character pattern generation unit 1, and refers to the matrix correspondence unit 15 to be described later. Output to. At this time, the method of extracting the 2×2 matrix is different depending on whether the magnification information input from the magnification specifying unit 12 is enlargement or reduction. In the case of enlargement, adjacent 2×2 matrices in the character pattern are sequentially extracted as shown in FIG. In the case of reduction, the extraction method differs depending on the reduction rate. When the reduction ratio is 1/2, as shown in FIG. /3, as shown in FIG. 5(b), the 2X2 matrix is taken out by skipping twice in both the X and Y directions compared to the taking out method shown in FIG. , according to the magnification information input from the magnification specifying section 12, outputs the position information of the dots to be extracted according to the reference matrix described later.For example, in FIG. This indicates that one dot is inserted in between. In this case, the reference matrix is (16 dots) x (
16 dots), the position coordinates of the dots to be extracted are (o, o), (o, s), (0, 16).

(s、o)、(s、s)、(8,16)、(16゜o)
、(16,8)、(16,16)である。縮小の場合に
は2×2マトリクスの4ドツトを縮小率に応じて変換し
たドツトの位置座標を出力する。
(s, o), (s, s), (8, 16), (16°o)
, (16,8), (16,16). In the case of reduction, the position coordinates of the four dots in the 2×2 matrix are converted according to the reduction rate and output.

第6図(b)では1/2倍の縮小率の時に2×27) 
IJクスを中心の1ドツトに変換するため取り出すべき
ドツトの位置座標は(8,8)である。(尚、ここでい
う倍率とは正確には15倍の拡大率でも四捨五入すれば
2倍となるため2倍と云い表している。)参照マトリク
ス対応部15°では2×2マトリクス抽出部13よ多出
力された2×2マトリ。
In Fig. 6(b), 2×27 when the reduction ratio is 1/2)
The positional coordinates of the dot to be extracted in order to convert the IJ square into a central dot are (8, 8). (Accurately speaking, the magnification here is 2x because even if the magnification is 15x, it will be 2x if rounded off.) When the reference matrix corresponding part is 15 degrees, the 2x2 matrix extraction part 13 2x2 matrix with multiple outputs.

クスに対応した後述する参照マトリクスを参照マトリク
ス蓄積部17から取り出しドツト濃淡決定部16へ送る
処理を行う。2×2マトリクスの黒。
A process is performed in which a reference matrix, which will be described later, corresponding to the matrix is taken out from the reference matrix storage section 17 and sent to the dot density determination section 16. 2x2 matrix black.

白ドツト配置の組み合わせは基本的には第7図(a)〜
(d)に示した4種類だけである(これを基本マトリク
スと呼ぶ事にする)。その他の組み合わせは基本マトリ
クスを回転あるいは白黒反転することで一致できる。参
照マトリクスは第8図(a)〜(d)に示されるように
4種の基本マトリクスのドツト数を増やしく解像度を高
くシ)、これらのドツトに基本マトリクスの白黒パター
ンに従って濃度値をつけたものである。第8図では(1
6ドツト)×(16ドツト)の参照マトリクスにO(白
)、1・2(中間色)、3(黒)の4段階の濃淡値を上
述した距離反比例濃度変換法により付けている。これら
の参照マトリクスはその基本マトリクスのパターン別(
第8図では4種類)に参照マトリクス蓄積部17に格納
されているが、これらの各々が更に拡大縮小すべき倍率
側あるいは倍率範囲別に複数種に別かれて格納されてい
る。例えば第9図に示されるように、倍率1/2以上2
未満の時は第9図(C)の参照マ) IJクス1倍率2
以上4未満の時は第9図(dlの参照マトリクス、倍率
4以上の時は第9図(e)の参興マトリクス、倍率1/
4以上1/2未満の時は第9図(b)の参照マ) IJ
クス、倍率1/4未満の時は第9図(alの参照マトリ
クスである。これらの参照マ) IJクスは拡大率が高
くガるに従って中間色ドツトの部分1.2が少なくなる
ように。
The combination of white dot placement is basically as shown in Figure 7(a)~
There are only four types shown in (d) (this will be called the basic matrix). Other combinations can be matched by rotating or inverting the basic matrix. The reference matrix was created by increasing the number of dots in the four types of basic matrices as shown in Figure 8 (a) to (d) and increasing the resolution), and assigning density values to these dots according to the black and white pattern of the basic matrix. It is something. In Figure 8, (1
A reference matrix of 6 dots)×(16 dots) is given four levels of grayscale values: O (white), 1.2 (intermediate color), and 3 (black) by the above-mentioned distance inverse proportional density conversion method. These reference matrices are separated by patterns of their base matrices (
In FIG. 8, four types) are stored in the reference matrix storage unit 17, and each of these is further divided into a plurality of types depending on the magnification side or magnification range to be enlarged or reduced. For example, as shown in Figure 9, the magnification is 1/2 or more.
If the value is less than 1, refer to Figure 9 (C).) IJ scale 1 magnification 2
When the magnification is less than 4, use the reference matrix in Figure 9 (dl); when the magnification is 4 or more, use the reference matrix in Figure 9 (e), and the magnification is 1/
If it is 4 or more and less than 1/2, refer to Figure 9 (b)) IJ
When the magnification is less than 1/4, Fig. 9 (reference matrix for al. These reference matrices) In the case of IJ magnification, as the magnification increases, the intermediate color dot portion 1.2 decreases.

又縮小率が高くなるに従って中間色ドツトの部分が多く
なるように構成されている。第9図では中間色ドツト1
,2の境界線を中心として拡大縮小率に反比例して黒ド
ツト3と白ドツト2を増加させあるいは減少させている
。例えば第9図(C)の倍率の上限は2であり第9図(
d)のそれは4であるので第9図(dlの中間色ドツト
1,2のX方向、Y方向の幅は第9図(C)の1/2で
ある。
Further, as the reduction ratio increases, the number of intermediate color dots increases. In Figure 9, intermediate color dot 1
, 2, the black dots 3 and white dots 2 are increased or decreased in inverse proportion to the scaling ratio. For example, the upper limit of the magnification in FIG. 9(C) is 2, and the upper limit of the magnification in FIG.
Since that of d) is 4, the width of intermediate color dots 1 and 2 in FIG. 9 (dl) in the X and Y directions is 1/2 of that in FIG. 9(C).

参照マトリクス対応部15では、ま−j2X2rトリク
スを4種の基本マトリクスに対応させ一致した基本マト
リクスに対応する参照々トリクスを参照マ) +7クス
蓄積部17から取シ出す。例えば第10図(a)に示す
2×2マトリクスを1000回転し、白黒反転すると(
これらをパターン対応条件と呼ぶ事にする)、第10図
(b)に示す基本マトリクスとなりこれに対応する参照
マトリクス(第10図(C))を取り出す。次に参照マ
トリクス対応部15は2×2マトリクスを基本マトリク
スに対応させた時のパターン対応条件に基いて参照マト
リクスを読み出す。例えば第10図(al 、 (bl
でのパターン対応条件では、1800回転しているので
参照マトリクスの読み出しは第10図(C)の矢印方向
から行なわれる。すると第10図(d)に示す参照マト
リクスとなるがこれを又、パターン対応条件に基いて白
黒反転させる。この白黒反転の際には0(白)→ 3(
黒)、1(中間色)→2(中間色)のように反転させる
。このようにして取り出された参照マトリクスはドツト
濃淡決定部16へ送られる。ドツト濃淡決定部16では
、ドツト操作部14によシ送られた参照マトリクス中の
取シ出すべきドツトの位置座標に基き、参照マトリクス
の対応するドツトを選び出しこれをマトリクス構成にし
て後述する表示部18へ出力する。第11図(a)はド
ツト挿入後のマトリクスであり2×2マトリクスが2倍
に拡大されたものである。これはd、〜d。
The reference matrix correspondence section 15 correlates the -j2X2r matrix with four types of basic matrices and takes out the reference matrix corresponding to the matched basic matrix from the reference matrix storage section 17. For example, if the 2×2 matrix shown in Figure 10(a) is rotated 1000 times and the black and white are inverted, (
These will be referred to as pattern correspondence conditions), resulting in a basic matrix shown in FIG. 10(b), and a reference matrix (FIG. 10(C)) corresponding to this is extracted. Next, the reference matrix correspondence unit 15 reads out the reference matrix based on the pattern correspondence conditions when the 2×2 matrix is made to correspond to the basic matrix. For example, Fig. 10 (al, (bl)
Under the pattern correspondence condition, since the rotation is 1800, the reference matrix is read out from the direction of the arrow in FIG. 10(C). This results in the reference matrix shown in FIG. 10(d), which is also inverted in black and white based on the pattern correspondence conditions. When reversing black and white, 0 (white) → 3 (
black), 1 (intermediate color) → 2 (intermediate color). The reference matrix extracted in this way is sent to the dot density determining section 16. The dot density determination section 16 selects the corresponding dots in the reference matrix based on the positional coordinates of the dots to be extracted in the reference matrix sent to the dot operation section 14, and displays the dots in a matrix configuration, which will be described later. Output to 18. FIG. 11(a) shows the matrix after dot insertion, which is a 2×2 matrix enlarged twice. This is d, ~d.

の挿入ドツト及びd6〜d8の四隅ドツトより構成され
ている。第11図(b)はこの2×2マトリクスに対応
した参照マトリクスである。ドツト濃淡決定部16はド
ツト操作部14よシ送られたd、〜d、の位置座標から
参照マトリクス中の対応するドツトを選び出し第11図
(C)に示すようなマトリクス構成にして表示部18へ
出力する。(同、マトリクス構成とせずに選び出したド
ツトをそのまま出力しても良い。)縮小(1/2倍)の
場合はマトリクスの中心の1ドツトの位置座標によシ参
照マトリクスの中心の1ドツトが選び出される。こうし
て取り出されたドツトからなるマトリクスは表示部18
へ送られる。表示部18では倍率情報が拡大率の場合は
前回に取り出されたドツトからなるマトリクスと今回の
それを(これらは変換前の文字パターンにおいて互いに
隣接している2×2マトリクスである)第12図に示す
ように重ね合わせて表示する。この重ね合せの論理はド
ツトの濃度値O〜3の和であり、和が3以上のものは一
律に3とする。岡、倍率情報が縮小率の場合は重ね合わ
せは行なわれず濃度付けされたドツトをそのまま表示す
る。以上述べた処理は文字パターンのすべての変換が終
了するまで続行される。
It is made up of insertion dots d6 to d8 and four corner dots d6 to d8. FIG. 11(b) is a reference matrix corresponding to this 2×2 matrix. The dot density determination section 16 selects the corresponding dots in the reference matrix from the position coordinates of d, to d, sent from the dot operation section 14, and creates a matrix configuration as shown in FIG. 11(C) on the display section 18. Output to. (Similarly, the selected dots may be output as they are without forming a matrix.) In the case of reduction (1/2), the position coordinates of one dot at the center of the matrix are used to determine the position of one dot at the center of the reference matrix. be singled out. The matrix made up of the dots extracted in this way is displayed on the display section 18.
sent to. If the magnification information is an enlargement rate, the display section 18 displays a matrix consisting of the previously extracted dots and the current dot (these are 2x2 matrices that are adjacent to each other in the character pattern before conversion). Display them in an overlapping manner as shown in . The logic of this superposition is the sum of the dot density values O to 3, and if the sum is 3 or more, it is uniformly set to 3. If the magnification information is a reduction ratio, no superimposition is performed and the dots with density added are displayed as they are. The above-described processing continues until all character pattern conversions are completed.

こうして得られる文字パターンを第13図に示す。第1
3図(a)は第1図の文字パターンを本実施例を用いて
同倍率で拡大したものであるが5 ドツトの中間色部分
が減少しており黒ドツトと白ドツトの輪郭が明確となる
ため視覚的に見え易いパターンとなっている。又第13
図(b)は第2図の文字パターンを本実施例を用いて同
倍率で縮小したものであるが、ドツトの中間色部分が増
加しておシ、輪郭部分が滑らかになって視覚的に見え易
いパターンとなっている。
The character pattern thus obtained is shown in FIG. 1st
Figure 3 (a) shows the character pattern in Figure 1 enlarged at the same magnification using this example, but the middle color part of the 5 dots is reduced and the outlines of the black and white dots become clearer. The pattern is easy to see visually. Also the 13th
Figure (b) shows the character pattern in Figure 2 reduced at the same magnification using this example, but the intermediate colored parts of the dots have increased and the outline parts have become smoother and visually visible. It is an easy pattern.

以上述べたように本発明によれば文字・画像等のドツト
パターンを自然に且つ視覚的に見え易いパターンとして
得る事が出来るので実用上大変に便利である。同、本発
明は上記実施例に限定されるものではない。本実施例で
は参照マトリクスの濃度値を0(白)〜3(黒)の4段
階としているがこの場合に限定されない。又、参照マ)
 IJクスのドツト数も16X16に限られるものでは
ない。
As described above, according to the present invention, it is possible to obtain a dot pattern of characters, images, etc. as a natural and visually easy-to-see pattern, which is very convenient in practice. Similarly, the present invention is not limited to the above embodiments. In this embodiment, the density value of the reference matrix is set to four levels from 0 (white) to 3 (black), but the invention is not limited to this case. Also, see Ma)
The number of dots in the IJ box is not limited to 16x16 either.

更に参照マトリクスは濃度付けされたドツトパターンを
使用しているが、これを濃度値0(白)〜3(黒)の各
々の範囲を示すエリアデータで置きかえる事も出来る。
Further, although the reference matrix uses a dot pattern with density, this can be replaced with area data indicating each range of density values from 0 (white) to 3 (black).

この場合ドツト濃淡夾決定部では濃度決定したいドツト
がどのエリアデータの範囲に属するかを調べる処理を行
なう。このようにエリアデータで置き換えることによっ
て参照マトリクスの容量を減らすことができる。
In this case, the dot density determination section performs processing to check to which area data range the dot whose density is to be determined belongs. By replacing it with area data in this way, the capacity of the reference matrix can be reduced.

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

第1図、第2図は従来の文字パターンの例を示す図、第
3図は本発明の一実施例のブロック図、第4図は拡大の
場合の2×2マトリクスの取り出し方を示す図、第5図
は縮小の場合の2×2マトリクスの取り出し方を示す図
、第6図は2×2マトリクスのドツト挿入、変換の様子
を示す図、第7図は2×2マトリクスと基本マトリクス
の対応を示す図、第8図は参照マトリクスの構成図、第
9図は拡大縮小率による参照マトリクスのドツト分布の
違いを示す図、第10図は参照マ) IJクス対応部の
処理を示す図、第11図はドツト濃淡決定部の処理を示
す図、第12図は表示部の処理を示す図、第13図は本
発明を用いた処理後パターンの例を示す図である。 11・・・文字パターン発生部、12・・・倍率指定部
、13・・・2×2マトリクス抽出部、14・・・ドツ
ト操作部、15・・・参照マトリクス対応部、16・・
・ドツト濃淡決定部、17・・参照マトリクス蓄積部、
18・・・表示部。 代理人 弁理士 則 近 憲 佑(ほか1名)第 1 
図 第 2 図 (α) (b) o o、 o o o o −−− 第6図 第7図 (dす0 翻 0 ・ 第9図 〇−、4) (、Iし4) [手、?)[ン、4) 〔
4,+凶)第8図 1、、l 1.j IJ IJ IJ IJ U IJ
リリリUリリLJLJ000000000000000
0 第8図 第10図 J 12図。0. ・・・ ・ @ ■ Oの ・ (乙しン (ムク
Figures 1 and 2 are diagrams showing examples of conventional character patterns, Figure 3 is a block diagram of an embodiment of the present invention, and Figure 4 is a diagram showing how to extract a 2x2 matrix in the case of enlargement. , Figure 5 is a diagram showing how to extract a 2x2 matrix in the case of reduction, Figure 6 is a diagram showing how to insert and convert dots in a 2x2 matrix, and Figure 7 is a diagram showing a 2x2 matrix and a basic matrix. 8 is a diagram showing the configuration of the reference matrix, FIG. 9 is a diagram showing the difference in dot distribution of the reference matrix depending on the scaling ratio, and FIG. 10 is a diagram showing the processing of the reference matrix). 11 is a diagram showing the processing of the dot density determining section, FIG. 12 is a diagram showing the processing of the display section, and FIG. 13 is a diagram showing an example of a pattern after processing using the present invention. DESCRIPTION OF SYMBOLS 11... Character pattern generation part, 12... Magnification specification part, 13... 2x2 matrix extraction part, 14... Dot operation part, 15... Reference matrix correspondence part, 16...
- Dot density determination section, 17... Reference matrix accumulation section,
18...Display section. Agent: Patent Attorney Noriyuki Chika (and 1 other person) No. 1
Figure 2 (α) (b) o o, o o o o --- Figure 6 Figure 7 (dsu 0 translation 0 ・Figure 9 〇-, 4) (, Ishi 4) [hand, ? ) [n, 4) [
4, + evil) Figure 8 1,, l 1. j IJ IJ IJ IJ U IJ
LiliriULiliLJLJ000000000000000
0 Figure 8 Figure 10 J Figure 12. 0.・・・ ・ @ ■ O's ・ (Otsushin (Muku)

Claims (1)

【特許請求の範囲】[Claims] パターン発生部と、このパターン発生部より出力された
パターンを拡大縮小する倍率情報を入力する倍率指定部
と、前記パターン発生部よシ出カされたパターンからX
方向mドツトY方向nドツトのm x nマトリクスを
前記倍率指定部より入力された倍率情報に従い逐次抽出
するm×nマトリクス抽出部と、前記m×nマトリクス
のドツトパターン別且つ拡大縮小すべき倍率別に少藩く
とも黒・中間色・白の3段階濃淡ドツトからなる参照1
トリクスが格納された参照マトリクス蓄積部と、前記m
 X nマトリクス抽出部よシ出カされたm×nマトリ
クスのドツトパターンに対応する参照マトリクスを前記
倍率指定部より入力された倍率情報に従って前記参照マ
トリクス蓄積部よシ探し出し前記参照マトリクスを読み
出す参照マトリクス対応部と、前記倍率指定部より入力
された倍率情報に従って前記参照マトリクスよシ取り出
すべきドツトの位置情報を出力するドツト操作部と、こ
のドツト操作部より出力された位置情報に従い前記参照
マトリクス対応部から出力された参照マトリクスの対応
するドツトを選び出して出力するドツト濃淡決定部とを
備え、前記参照マトリクスは拡大率が高くなるに従って
中間色ドツトが減少し縮小率が高くなるに従って中間色
ドツトが増加するように構成されていることを特徴とす
るパターン拡大縮小装置。
a pattern generation section; a magnification specifying section for inputting magnification information for enlarging/reducing the pattern output from the pattern generation section;
an m×n matrix extraction unit that sequentially extracts an m×n matrix of m dots in the direction and n dots in the Y direction according to the magnification information input from the magnification specifying unit; and a magnification to be enlarged or reduced for each dot pattern of the m×n matrix. Reference 1 consists of three levels of shading dots: black, medium color, and white.
a reference matrix storage unit storing the matrix, and the m
A reference matrix that searches the reference matrix corresponding to the dot pattern of the m×n matrix outputted by the n matrix extraction unit in the reference matrix storage unit according to the magnification information input from the magnification designation unit and reads out the reference matrix. a dot operation section that outputs position information of a dot to be extracted from the reference matrix according to the magnification information input from the magnification specifying section; and a reference matrix correspondence section according to the position information output from the dot operation section. and a dot density determining section that selects and outputs corresponding dots of a reference matrix outputted from the reference matrix, and the reference matrix is configured such that as the enlargement rate increases, the number of intermediate color dots decreases, and as the reduction rate increases, the number of intermediate color dots increases. A pattern enlarging/reducing device comprising:
JP58245152A 1983-12-28 1983-12-28 Pattern enlargement contraction device Granted JPS60140469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58245152A JPS60140469A (en) 1983-12-28 1983-12-28 Pattern enlargement contraction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58245152A JPS60140469A (en) 1983-12-28 1983-12-28 Pattern enlargement contraction device

Publications (2)

Publication Number Publication Date
JPS60140469A true JPS60140469A (en) 1985-07-25
JPH0137748B2 JPH0137748B2 (en) 1989-08-09

Family

ID=17129389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58245152A Granted JPS60140469A (en) 1983-12-28 1983-12-28 Pattern enlargement contraction device

Country Status (1)

Country Link
JP (1) JPS60140469A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62286753A (en) * 1986-06-05 1987-12-12 Ascii Corp Character pattern data converting apparatus
JPH03259193A (en) * 1990-03-08 1991-11-19 Teremateiiku Kokusai Kenkyusho:Kk Gray scale character display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62286753A (en) * 1986-06-05 1987-12-12 Ascii Corp Character pattern data converting apparatus
JPH03259193A (en) * 1990-03-08 1991-11-19 Teremateiiku Kokusai Kenkyusho:Kk Gray scale character display device

Also Published As

Publication number Publication date
JPH0137748B2 (en) 1989-08-09

Similar Documents

Publication Publication Date Title
CN102402793B (en) Computer graphical processing
EP0786757B1 (en) Adjusting contrast in antialiasing
JPS6158083A (en) Fast memory system, data processing method and memory segment
EP1203351B1 (en) System for rapidly performing scan conversion with anti-aliasing upon outline fonts and other graphic elements
JPS60198688A (en) Page makeup apparatus
JPS60140469A (en) Pattern enlargement contraction device
JP4174133B2 (en) Image generation method
US5668896A (en) Method of and apparatus for processing image having a plurality of image areas
Sajjad et al. Image magnification using adaptive interpolation by pixel level data-dependent geometrical shapes
KR100361387B1 (en) Polygon drawing method and polygon drawing apparatus
JPH05297861A (en) 1/n bit phase matching method for graphics
US7170528B1 (en) Fast glyph rendering for vector based fonts
JP3255549B2 (en) Figure processing method
GB2387854A (en) Providing character data for use by an embroidery machine
JP3006732B2 (en) Character pattern generator
KR101884885B1 (en) Method for making line type color image for textile weaving
Glöckner et al. Intermediate Representations for Vectorization of Stylized Images
JP3673002B2 (en) Multi-tone border data generation apparatus and method
JPH08272351A (en) Picture processor
JPS6081683A (en) Expanding and contracting method of dot pattern
JPH06243213A (en) Electronic graphic system
JPS60242492A (en) Character generator
JPH07140945A (en) Method and device for displaying gradation character
JP2891318B2 (en) How to create a bitmap font
JPH0227486A (en) Picture enlarging/reducing device