JPH0364877B2 - - Google Patents
Info
- Publication number
- JPH0364877B2 JPH0364877B2 JP56046359A JP4635981A JPH0364877B2 JP H0364877 B2 JPH0364877 B2 JP H0364877B2 JP 56046359 A JP56046359 A JP 56046359A JP 4635981 A JP4635981 A JP 4635981A JP H0364877 B2 JPH0364877 B2 JP H0364877B2
- Authority
- JP
- Japan
- Prior art keywords
- dot pattern
- dot
- sub
- pattern
- matrix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Digital Computer Display Output (AREA)
Description
【発明の詳細な説明】 本発明はドツトパターンの縮小装置に関する。[Detailed description of the invention] The present invention relates to a dot pattern reduction device.
コンピユータシステム内の端末装置としてドツ
ト式プリンタ装置あるいはドツト式デイスプレイ
装置が設置される場合が多い。この場合、いずれ
の装置に対しても同一のドツトパターンが与えら
れるとは限らない。すなわち、例えばプリント装
置には24×24ドツトパターンを供給し、デイスプ
レイ装置には16×16ドツトパターンを供給したい
という要請がしばしば生ずる。パターンサイズを
適当に設定するためである。そうすると、1つの
パターン(漢字等の文字)についてそれぞれのサ
イズ毎にメモリを準備しなければならないことに
なる。然しそれでは余りにも不経済であり、その
ために前記端末装置から要求されるドツトパター
ンサイズのうち最大のものに合せて1つだけドツ
トパターン・メモリ(各ドツトパターン毎に)を
準備しておき、この最大ドツトパターンを任意の
サイズに縮小することにより所望のサイズのドツ
トパターンを得るということが行われている。 A dot printer or a dot display is often installed as a terminal device in a computer system. In this case, the same dot pattern is not necessarily given to all devices. That is, for example, there is often a desire to supply a 24x24 dot pattern to a printing device and a 16x16 dot pattern to a display device. This is to set the pattern size appropriately. In this case, memory must be prepared for each size of one pattern (characters such as kanji). However, this is too uneconomical, and therefore, only one dot pattern memory (for each dot pattern) is prepared to match the maximum dot pattern size required by the terminal device. A dot pattern of a desired size is obtained by reducing the maximum dot pattern to an arbitrary size.
このための縮小方法として従来から種々提案が
なされているが、その代表例として、:行およ
び列を処理単位とした行・列選択法、:各ドツ
トを単位とした比例配置法(いずれも、電子通信
学会論文誌’77/10Vol.J60−D No.10第801頁〜
第808頁参照)がある。又、:との方法を
併用したもの、:修正処理を追加することによ
りもとの字形品質を保存する方法等がある。しか
しながら、上記の方法は文字のバランスにやや
難点があり、上記の方法は線幅がやや不統一に
なりがちであり、又、上記およびの方法は処
理が複雑化してしまう難点がある。 Various reduction methods have been proposed for this purpose, and representative examples include: Row/column selection method using rows and columns as processing units; Proportional placement method using each dot as a unit (Both methods include: Journal of the Institute of Electronics and Communication Engineers '77/10Vol.J60-D No.10, page 801~
(See page 808). There are also methods that combine the : method, and methods that preserve the original character shape quality by adding correction processing. However, the above method has some disadvantages in character balance, the above method tends to result in somewhat uneven line widths, and the above methods and (2) have the disadvantage of complicating processing.
従つて本発明の目的は、上述した諸難点を緩和
すると共にハードウエア化が容易で高速処理を可
能なドツトパターン縮小装置を提供することであ
る。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a dot pattern reduction device which alleviates the above-mentioned problems, is easy to implement in hardware, and is capable of high-speed processing.
上記目的に従い本発明は、n×n′(n、n′は自
然数)ドツトマトリクスで表された基本ドツトパ
ターンをm×m′(m、m′は自然数でn>m、n′>
m′)ドツトマトリクスで表された縮小ドツトパ
ターンに変換する場合において、前記n×n′ドツ
トマトリクスを複数個の第1サブマトリクス群に
分割し且つ前記m×m′ドツトマトリクスを同数
の第2サブマトリクス群に分割した上で、該第1
および第2サブマトリクス群間の対応するサブマ
トリクス同士で予め定めた一定の論理関数に従い
ドツト変換するようにしたことを特徴とするもの
である。 In accordance with the above object, the present invention converts a basic dot pattern represented by an n×n' (n, n' are natural numbers) dot matrix into m×m' (m, m' are natural numbers, n>m, n'>
m') When converting into a reduced dot pattern represented by a dot matrix, the n x n' dot matrix is divided into a plurality of first sub-matrix groups, and the m x m' dot matrix is divided into the same number of second sub-matrix groups. After dividing into submatrix groups, the first
The present invention is characterized in that corresponding sub-matrices in the second sub-matrix group are dot-converted according to a predetermined logical function.
以下図面を参照しながら本発明を説明する。 The present invention will be described below with reference to the drawings.
第1A図は本発明に基づき縮小されるべき24×
24ドツトパターンの一例を示す図である。また、
第1B図は本発明に従つて第1A図のドツトパタ
ーンを16×16ドツトパターンに縮小した場合を示
す図である。これら第1A図および第1B図から
明らかなとおり、漢字ドツトパターン“鵬”が、
字形品質を劣化させることなく縮小されている。
このような縮小変換を可能としたのは基本のドツ
トパターン(第1A図)を第1サブマトリクス群
に分割し、縮小ドツトパターン(第1B図)を同
数の第2サブマトリクス群に分割した上で、これ
らサブマトリクス対応で変換を図つたからに他な
らない。これを図解的に説明する。第2A図は第
1A図のドツトパターンを分割した場合の任意の
第1サブマトリクスを示す図であり、第2B図
は第1B図のドツトパターンを分割した場合の任
意の第2サブマトリクスを示す図である。すな
わち、第2A図は第1A図のドツトパターンを
24×24/3×3個に均等分割したものの1つを示す。第
2B図は第2A図のサブマトリクスを4/9(これ
に限らない)に縮小したサブマトリクスである。
なお第1サブマトリクスのa11〜a33はそれぞれ基
本の単位ドツトデータを示し、第2サブマトリク
スのb11〜b22も縮小後の単位ドツトデータを示
す。 FIG. 1A is 24× to be reduced according to the present invention.
FIG. 3 is a diagram showing an example of a 24-dot pattern. Also,
FIG. 1B is a diagram showing the dot pattern of FIG. 1A reduced to a 16×16 dot pattern in accordance with the present invention. As is clear from these Figures 1A and 1B, the kanji dot pattern "Peng" is
The glyphs are reduced without deteriorating the quality.
This reduction conversion was made possible by dividing the basic dot pattern (Fig. 1A) into the first submatrix group, and dividing the reduced dot pattern (Fig. 1B) into the same number of second submatrix groups. This is because the conversion was done in response to these submatrices. This will be explained diagrammatically. FIG. 2A is a diagram showing an arbitrary first submatrix when the dot pattern in FIG. 1A is divided, and FIG. 2B is a diagram showing an arbitrary second submatrix when the dot pattern in FIG. 1B is divided. It is a diagram. In other words, Figure 2A shows the dot pattern in Figure 1A.
One of the images equally divided into 24×24/3×3 pieces is shown. FIG. 2B is a submatrix obtained by reducing the submatrix of FIG. 2A to 4/9 (not limited to this).
Note that a 11 to a 33 of the first sub-matrix each represent basic unit dot data, and b 11 to b 22 of the second sub-matrix also represent reduced unit dot data.
このようにサブマトリクス群を定義してから、
a11〜a33の基本ドツトデータをb11〜b22の基本ド
ツトデータに移し換える。この場合、9個のドツ
トデータを、字形品質の保存ということを考慮し
て4個のドツトデータに変換するのであるから、
ある一定の規則も又定義しておかなけばならな
い。この一定の規則として本発明では次の条件1
〜5を定める。つまり、第1サブマトリクスの
黒白パターンをみて、第2サブマトリクスの黒
白パターンを決定する条件は、
条件1:縦・横の直線の直線性および傾きを保存
する。 After defining the submatrix group like this,
Transfer the basic dot data of a 11 to a 33 to the basic dot data of b 11 to b 22 . In this case, 9 dot data are converted to 4 dot data taking into account the preservation of character shape quality.
Certain rules must also be defined. As this certain rule, in the present invention, the following condition 1 is used.
~5 is determined. That is, the conditions for determining the black and white pattern of the second submatrix by looking at the black and white pattern of the first submatrix are as follows: Condition 1: Preserve the linearity and slope of vertical and horizontal straight lines.
条件2:対角線方向(45°、135°)の直線の直線
性および傾きを保存する。Condition 2: Preserve the straightness and slope of the straight line in the diagonal direction (45°, 135°).
条件3:1ドツト幅の直線が2ドツト幅以上の太
さにならないこと。Condition 3: A straight line of 1 dot width must not be thicker than 2 dots wide.
条件4:1本の直線(太さは問わない)が2本以
上の離れた直線(間に白線部分を含むこと)に
ならないこと。Condition 4: One straight line (thickness doesn't matter) must not become two or more separate straight lines (with a white line in between).
条件5:線(曲線も含む)の連続性を保存するこ
と。(なお、“線”とは3ドツト以上黒が繋つた
ものをいう)
第3図は縮小変換の際の各種条件を図解的に例
示したパターン図であり、図中の矢印↓は変換を
意味する。また、3×3サブマトリクスが第1サ
ブマトリクス(第2A図)であり、2×2サブ
マトリクスが第2サブマトリクス(第2B図)
である。また、黒白パターンのうち黒ドツトは×
印を付している。第3図中3の点線の×印は、上
下どちから一方のいずれかであることを意味す
る。また、同5は、他の隣接サブマトリクスの×
も描いてある。Condition 5: Preserve the continuity of lines (including curves). (Note that a "line" refers to three or more black dots connected together.) Figure 3 is a pattern diagram illustrating various conditions for reduction conversion, and the arrow ↓ in the figure indicates conversion. do. Also, the 3x3 submatrix is the first submatrix (Figure 2A), and the 2x2 submatrix is the second submatrix (Figure 2B).
It is. Also, black dots in the black and white pattern are ×
It is marked. The dotted line x mark 3 in FIG. 3 means either the top or bottom. In addition, the same 5 is × of other adjacent submatrix
is also drawn.
そこで、上記条件1〜5を満足する論理関数(f)
について説明する。その一般式は、基本の単位ド
ツトデータa11〜a33を変数として第(1)式で表せ
る。 Therefore, the logical function (f) that satisfies the above conditions 1 to 5 is
I will explain about it. The general formula can be expressed as equation (1) using the basic unit dot data a 11 to a 33 as variables.
b11=f11(a11、a12、a21、a22)
b12=f12(a12、a13、a22、a23)
b21=f21(a21、a22、a31、a32)
b22=f22(a22、a23、a32、a33) …(1)
さらに前記条件1〜5を考慮して詳細に論理関
数を定めると次の如くである。 b 11 = f 11 (a 11 , a 12 , a 21 , a 22 ) b 12 = f 12 (a 12 , a 13 , a 22 , a 23 ) b 21 = f 21 (a 21 , a 22 , a 31 , a 32 ) b 22 = f 22 (a 22 , a 23 , a 32 , a 33 )...(1) Further, the logical function is determined in detail by taking into account the above conditions 1 to 5 as follows.
先ず、前記条件1、3、4および5を満足する
ための関係は、縦の直線に関し第(2)式で表せる。 First, the relationship for satisfying conditions 1, 3, 4, and 5 can be expressed by equation (2) regarding a vertical straight line.
b11←a11・a21+a12・a22
b12←a13・a23
b21←a21・a31+a22・a32
b22←a23・a33 …(2)
第(2)式において、「・」は論理積を、「+」は論
理和を意味し、「←」は変換を意味する。例えば
ドツトデータb11は次の場合に論理“1”(黒)と
なる。つまりa11およびa21のいずれも黒、また
は、a12およびa22のいずれもが黒、またはa11〜
a22が全て黒の場合である。以下、b12、b21および
b22の場合も同様である。ただし、第1サブマト
リクスの中央の縦線に対しては、第2サブマト
リクスの左側縦線に変換されるものとする(逆
に定めても勿論構わない)。 b 11 ←a 11・a 21 +a 12・a 22 b 12 ←a 13・a 23 b 21 ←a 21・a 31 +a 22・a 32 b 22 ←a 23・a 33 …(2) Part (2) In the formula, "." means logical product, "+" means logical sum, and "←" means conversion. For example, dot data b11 becomes logic "1" (black) in the following case. In other words, both a 11 and a 21 are black, or both a 12 and a 22 are black, or a 11 ~
This is the case when all a 22 are black. Below, b 12 , b 21 and
The same applies to b 22 . However, it is assumed that the vertical line at the center of the first sub-matrix is converted to the left-hand vertical line of the second sub-matrix (the reverse may of course be determined).
同様に条件1、3、4および5を、横の直線に
関して満足させるための式は第(3)式で表せる。 Similarly, the equation for satisfying conditions 1, 3, 4, and 5 regarding horizontal straight lines can be expressed as equation (3).
b11←a11・a12+a21・a22
b12←a12・a13+a22・a23
b21←a31・a32
b22←a32・a33 …(3)
次に条件2を満足させるための式は第(4)および
(5)式で表せる。第(4)式はサブマトリクス内での対
角線方向の直線の直線性と傾きを保存するための
式であり、第(5)式は隣接したサブマトリクス間で
の対角線方向(45°、135°)の直線の直線性およ
び傾きを保存するための式である。 b 11 ←a 11・a 12 +a 21・a 22 b 12 ←a 12・a 13 +a 22・a 23 b 21 ←a 31・a 32 b 22 ←a 32・a 33 …(3) Next, condition 2 The formula to satisfy is (4) and
It can be expressed by equation (5). Equation (4) is an equation to preserve the linearity and slope of a straight line in the diagonal direction within a submatrix, and equation (5) is an equation to preserve the linearity and slope of a straight line in the diagonal direction between adjacent submatrices (45°, 135° ) is a formula for preserving the linearity and slope of the straight line.
b11←a11・a12+a12・a21
b12←a12・a23+a13・a22
b21←a21・a32+a22・a31
b22←a22・a33+a23・a32 …(4)
b11←a11
b12←a13
b21←a31
b22←a33 …(5)
以上の第(2)〜(5)式の関係をまとめると、第(6)式
となる。逆に言えば、第(6)式を満たすことは、上
記条件1〜5を満たすことになり、結局、第(6)式
が求める最終的な論理関数となる。 b 11 ←a 11・a 12 +a 12・a 21 b 12 ←a 12・a 23 +a 13・a 22 b 21 ←a 21・a 32 +a 22・a 31 b 22 ←a 22・a 33 +a 23・a 32 …(4) b 11 ←a 11 b 12 ←a 13 b 21 ←a 31 b 22 ←a 33 …(5) To summarize the relationships of equations (2) to (5) above, ). Conversely, satisfying Equation (6) means satisfying Conditions 1 to 5 above, which ultimately becomes the final logical function determined by Equation (6).
b11=a11+a12(a21+a22)+a21・a22
b12=a13+a23(a12+a22)
b21=a31+a32(a21+a22)
b22=a33+a23a32 …(6)
この第(6)式が上記第(2)〜(5)式を満足すること
を、ドツトデータb11について(他も同様である)
証明しておく。 b 11 = a 11 + a 12 (a 21 + a 22 ) + a 21・a 22 b 12 = a 13 + a 23 (a 12 + a 22 ) b 21 = a 31 + a 32 (a 21 + a 22 ) b 22 = a 33 + a 23 a 32 ...(6) Confirm that this equation (6) satisfies the above equations (2) to (5) for dot data b 11 (the same applies to the others).
Let me prove it.
b11←a11・a21+a12・a22 (第(2)式より)
b11←a11・a12+a21・a22 (第(3)式より)
b11←a11・a22+a12・a21 (第(4)式より)+)b11←a11
(第(5)式より)
b11←a11+a11・a21+a12・a22
+a11・a12+a21・a22+a11・a22
+a12・a21
=a11(1+a21+a12+a22)
+a12(a22+a21)+a21・a22
=a11+a12(a22+a21)+a21・a22
(第(6)式と同じ)
(注: a11(1+a21+a12+a22)は、1の存在に
よりa21、a12、a22に拘らずa11である。)
すなわち例えばドツトデータb11についていえ
ば、a11が黒、a12が黒でありかつa21または
a22が黒であること、a12およびa22がともに黒で
あることの何れかの条件がみたされたときに黒と
されるものであり、他のドツトデータb12、b21、
およびb22についてもそれぞれ上記(6)式に示され
る論理関数に従つてドツト変換される。 b 11 ←a 11・a 21 +a 12・a 22 (from equation (2)) b 11 ←a 11・a 12 +a 21・a 22 (from equation (3)) b 11 ←a 11・a 22 +a 12・a 21 (from equation (4)) +)b 11 ←a 11 (from equation (5)) b 11 ←a 11 +a 11・a 21 +a 12・a 22 +a 11・a 12 +a 21・a 22 +a 11・a 22 +a 12・a 21 =a 11 (1+a 21 +a 12 +a 22 ) +a 12 (a 22 +a 21 )+a 21・a 22 =a 11 +a 12 (a 22 +a 21 )+a 21・a 22
(Same as equation (6)) (Note: a 11 (1 + a 21 + a 12 + a 22 ) is a 11 regardless of a 21 , a 12 , and a 22 due to the existence of 1.) In other words, for example, dot data b For 11 , a 11 is black, a 12 is black, and a 21 or
It is considered black when the following conditions are met: a 22 is black, a 12 and a 22 are both black, and other dot data b 12 , b 21 ,
and b 22 are also dot-converted according to the logical function shown in equation (6) above.
以上述べた論理関数は第2A図および第2B図
に示した構成のサブマトリクスについて言及した
ものであるから、これをさらに一般化して説明す
ると次のようになる。例えばn×n′ドツトパター
ンをm×m′ドツトパターンに変換する場合であ
る。ただし、n=n′(正方形)、m=m′(正方形)
であり、且つn=n′=l・(k+1)、m=m′=
l・k(n、n′、m、m′、l・kは全て自然数)
の場合とする。つまりl(k+1)×l(k+1)
の基本ドツトパターンマトリクスをl・k×l・
kの縮小ドツトパターンマトリクスに変換する場
合である。この場合に、上記条件1〜5を満足さ
せるための式は、kが2以上の偶数として、第(7)
式となる。 Since the logic function described above refers to the sub-matrix having the structure shown in FIGS. 2A and 2B, it can be further generalized and explained as follows. For example, when converting an n×n' dot pattern to an m×m' dot pattern. However, n = n' (square), m = m' (square)
and n=n'=l・(k+1), m=m'=
l・k (n, n′, m, m′, l・k are all natural numbers)
Let us consider the case of In other words, l(k+1)×l(k+1)
The basic dot pattern matrix of l・k×l・
This is a case of converting to a k reduced dot pattern matrix. In this case, the formula for satisfying the above conditions 1 to 5 is the formula (7), where k is an even number of 2 or more.
The formula becomes
上記(7)式において、サフイツクスi、jはマト
リクス上の任意の位置(第2A,2B図の11〜
33に担当)を示す。また、同(7)式中の右欄のか
つこ書きは、同左欄を設定する際の位置的条件を
定めている。その考え方は概略次のとおりであ
る。 In the above equation (7), the suffixes i and j are at arbitrary positions on the matrix (11 to 11 in Figures 2A and 2B).
33 indicates the person in charge). Furthermore, the bracket in the right column of formula (7) defines the positional conditions when setting the left column. The idea is as follows.
まず、前述の条件1、3、4および5を満足す
るための関係は、縦の直線に関し、第(8)式で表せ
る。 First, the relationship for satisfying the above-mentioned conditions 1, 3, 4, and 5 can be expressed by equation (8) regarding a vertical straight line.
これは、基本ドツトパターンマトリクスの中央
の2本の直線を1本に縮小し、他は、そのまま写
像しようとするものである。 This is an attempt to reduce the two straight lines at the center of the basic dot pattern matrix to one, and to map the other lines as they are.
同様に条件1、3、4および5を横の直線に関
して満足させるための式は第(9)式で表せる。 Similarly, the equation for satisfying conditions 1, 3, 4, and 5 regarding horizontal straight lines can be expressed as equation (9).
次に、条件2を満足させるための式は第(10)およ
び(11)式で表せる。第(10)式はサブマトリクス内
での対角線方向の直線の直線性と傾きを保存する
ための式であり、第(11)式は隣接したサブマト
リクス間での対角線方向(45°、135°)の直線の
直線性および傾きを保存するための式である。 Next, equations for satisfying condition 2 can be expressed as equations (10) and (11). Equation (10) is an equation to preserve the linearity and slope of the straight line in the diagonal direction within a submatrix, and equation (11) is an equation to preserve the linearity and slope of the straight line in the diagonal direction between adjacent submatrices (45°, 135° ) is a formula for preserving the linearity and slope of the straight line.
(10)式は、基本ドツトマトリクス上で対角線方向
に隣接した2つのドツトがともに黒ければ、縮小
ドツトマトリクス上の対応するドツトを黒くしよ
うとするものである。また、第(11)式は基本ド
ツトマトリクス上の4つの角(頂点のみならず、
角を三角形に切りとつた全体)においては、1つ
のドツトが黒ければ、縮小ドツトマトリクス上の
対応するドツトを黒くしてやろうとするものであ
る。 Equation (10) attempts to make the corresponding dots on the reduced dot matrix black if two diagonally adjacent dots on the basic dot matrix are both black. In addition, Equation (11) is expressed by the four corners (not only the vertices) on the basic dot matrix
If one dot is black in the whole (with corners cut into triangles), the corresponding dot on the reduced dot matrix will be made black.
かくして第(7)式は、第(8)、(9)、(10)および(11)
式をまとめたものとなる。 Thus, equation (7) becomes equation (8), (9), (10), and (11).
It is a collection of formulas.
第(12)式は上記第(7)式の変形別解を示す。た
だし、kは上記と同様に2以上の偶数である。 Equation (12) shows a modified solution of Equation (7) above. However, similarly to the above, k is an even number of 2 or more.
さらにkが3以上の奇数については、第(13)
式のように表わせる。 Furthermore, for odd numbers where k is 3 or more, the (13th)
It can be expressed as the formula.
なお、12行・12列のドツトパターンを第(13)
式をもとにして縮小変換した一例について後述
(第6図を参照して)する。 In addition, the dot pattern of 12 rows and 12 columns is numbered (13).
An example of reduction conversion based on the formula will be described later (with reference to FIG. 6).
第4A図は本発明に基づき縮小されるべき20×
15ドツトパターンの一例を示す図である。また、
第4B図は本発明に従つて第4A図のドツトパタ
ーンを15×10ドツトパターンに縮小した場合を示
す図である。これら第4A図および第4B図から
明らかなとおり、漢字ドツトパターン“富”が、
字形品質を劣化させることなく縮小されている。
この縮小変換の手法は既述のとおりサブマトリク
ス群に対する論理関数の適用が基本となつてい
る。 Figure 4A is 20× to be reduced according to the present invention.
FIG. 3 is a diagram showing an example of a 15-dot pattern. Also,
FIG. 4B is a diagram showing the dot pattern of FIG. 4A reduced to a 15.times.10 dot pattern in accordance with the present invention. As is clear from these Figures 4A and 4B, the kanji dot pattern "Tomi" is
The glyphs are reduced without deteriorating the quality.
As mentioned above, this reduction conversion method is based on the application of logical functions to a group of submatrices.
第5A図は第4A図のドツトパターンを分割し
た場合の任意の第1サブマトリクス′を示す図
であり、第5B図は第4B図のドツトパターンを
分割した場合の任意の第2サブマトリクス′を
示す図である。すなわち、第5A図は第4A図の
ドツトパターンを20×15/3×4個に均等分割したもの
の1つを示す。第5B図は第5A図のサブマトリ
クスを1/2(これに限らない)に縮小したサブマ
トリクスである。なお、第1サブマトリクスの
c11〜c43はそれぞれ基本の単位ドツトデータを示
し、第2サブマトリクスのd11〜d32も縮小後の単
位ドツトデータを示す。この場合、12個のドツト
データを、字形品質の保存ということを考慮して
6個のドツトデータに変換するのであるから、前
述した条件1〜5と類似の条件を要す。 FIG. 5A is a diagram showing an arbitrary first submatrix' when the dot pattern in FIG. 4A is divided, and FIG. 5B is a diagram showing an arbitrary second submatrix' when the dot pattern in FIG. 4B is divided. FIG. That is, FIG. 5A shows one of the dot patterns of FIG. 4A divided into 20×15/3×4 dots. FIG. 5B is a submatrix obtained by reducing the submatrix shown in FIG. 5A to 1/2 (but not limited to this). In addition, the first submatrix
c 11 to c 43 each represent basic unit dot data, and d 11 to d 32 of the second submatrix also represent unit dot data after reduction. In this case, since 12 dot data are converted into 6 dot data taking into consideration preservation of character shape quality, conditions similar to conditions 1 to 5 described above are required.
条件1:縦・横の直線の直線性および傾きを保存
すること。Condition 1: Preserve the linearity and slope of vertical and horizontal lines.
条件2:1ドツト幅の直線が2ドツト幅以上の太
さになることがないこと。Condition 2: A straight line with a width of 1 dot must not be thicker than the width of 2 dots.
条件3:1本の直線(太さは問わない)が2本以
上の離れた直線(間に白線部分を含むこと)に
変換されることはないこと。Condition 3: A single straight line (thickness doesn't matter) cannot be converted into two or more separate straight lines (with white lines in between).
条件4:線(曲線も含む)の連続性を保存するこ
と。Condition 4: Preserve the continuity of lines (including curves).
(なお、“線”とは3ドツト以上黒が繋つた
ものをいう)
そこで条件1〜3を、縦の直線に関し、満足さ
せる式を定めると、第(14)式となる。 (Note that a "line" refers to a line made up of three or more black dots.) Therefore, if we define a formula that satisfies Conditions 1 to 3 regarding a vertical straight line, we get formula (14).
d11←c11・c21+C12・c22
d12←c13・c23
d21←c21・c31+c22・c32
d22←c23・c33
d31←c31・c41+c32c42
d32←c33・c43 …(14)
又、横の直線に関し条件1〜3を満足させる式
は第(15)式となる。 d 11 ←c 11・c 21 +C 12・c 22 d 12 ←c 13・c 23 d 21 ←c 21・c 31 +c 22 ・ c 32 d 22 ← c 23・c 33 d 31 ←c 31・c 41 +c 32 c 42 d 32 ←c 33 ·c 43 (14) Also, the equation that satisfies conditions 1 to 3 regarding the horizontal straight line is equation (15).
d11←c11・c12
d12←c12・c13
d21←c21・c22+c31・c32
d22←c22・c23+c32・c33
d31←c41・c42
d32←c42・c43 …(15)
次にサブマトリクス内および隣接する相異るサ
ブマトリクス間での曲線の連続性、すなわち上記
条件4を満足させる式は第(16)式となる。 d 11 ←c 11・c 12 d 12 ←c 12・c 13 d 21 ←c 21・c 22 +c 31・c 32 d 22 ←c 22・c 23 +c 32・c 33 d 31 ←c 41・c 42 d 32 ←c 42 ·c 43 (15) Next, the equation that satisfies the continuity of the curve within a submatrix and between different adjacent submatrices, that is, the condition 4 above, is equation (16).
d11←c11+c12・c21
d12←c13+c12・c23
d21←c21+c31
d22←c22・c33+c23・c32
d31←c41+c31・c42
d32←c43+c33・c42 …(16)
かくして上記第(14)〜(16)式から最終的に
求める論理関数は第(17)式となる。 d 11 ←c 11 +c 12・c 21 d 12 ←c 13 +c 12・c 23 d 21 ←c 21 + c 31 d 22 ←c 22・c 33 +c 23・c 32 d 31 ←c 41 +c 31・c 42 d 32 ←c 43 +c 33 ·c 42 (16) Thus, the logical function finally obtained from the above equations (14) to (16) is equation (17).
d11=c11+c12(c21+c22)
d12=c13+c12・c23
d21=c21+c31+c22・c32
d22=c23(c22+c32+c33)+c33(c22+c32)
d31=c41+c42(c31+c32)
d32=c43+c33・c42 …(17)
例えばドツトパターンd11についてみると、以
下の展開により第(17)式のd11が得られること
が分かる。d 11 = c 11 + c 12 (c 21 + c 22 ) d 12 = c 13 + c 12・c 23 d 21 = c 21 + c 31 + c 22・c 32 d 22 = c 23 (c 22 + c 32 + c 33 ) + c 33 (c 22 + c 32 ) d 31 = c 41 + c 42 (c 31 + c 32 ) d 32 = c 43 + c 33・c 42 …(17) For example, looking at dot pattern d 11 , the following expansion results in the pattern (17) It can be seen that d 11 of the equation is obtained.
d11←c11・c21+c12・c22 (第(14)式より)
d11←c11・c12 (第(15)式より)
+)d11←c11+c12c21 (第(16)式より)
d11←c11・c21・c12・c22+c11・c12+c11
+c12・c21
=c11(c21+c12+1)+c12(c22+c21)
=c11+c12(c22+c21) (第(17)式に同じ)
第6図は、12行・12列のドツトパターン(なお
×印を付したドツトは黒ドツトを示す)を9行・
9列のドツトパターンに縮小するにあたり、該12
行・12列のドツトパターンを9個のサブマトリク
ス群(したがつて各サブマトリクスは4行・4列
すなわちa11乃至a44のドツトデータからなる)に
分割し、上記第(13)式をもとに下記の論理式を
作成し、該論理式に従つて上記各サブマトリクス
を、3行・3列すなわちb11乃至b33のドツトデー
タからなる第2サブマトリクスにドツト変換する
ことにより上記ドツトパターンを縮小変換した場
合の変換結果を示すものである。 d 11 ←c 11・c 21 +c 12・c 22 (from equation (14)) d 11 ←c 11・c 12 (from equation (15)) +) d 11 ←c 11 +c 12 c 21 (from equation (15)) (From formula (16)) d 11 ←c 11・c 21・c 12・c 22 +c 11・c 12 +c 11 +c 12・c 21 =c 11 (c 21 +c 12 +1) +c 12 (c 22 +c 21 ) = c 11 + c 12 (c 22 + c 21 ) (same as equation (17)) Figure 6 shows a dot pattern of 12 rows and 12 columns (the dots marked with an X indicate black dots) in 9 rows.・
In reducing the dot pattern to 9 rows, the 12
Divide the dot pattern of rows and 12 columns into 9 submatrix groups (therefore, each submatrix consists of 4 rows and 4 columns, that is, dot data of a 11 to a 44 ), and calculate the above equation (13). By creating the following logical formula based on the formula and converting each of the above sub-matrices into a second sub-matrix consisting of dot data of 3 rows and 3 columns, that is, b11 to b33 , according to the logical formula, the above can be obtained. This figure shows the conversion result when a dot pattern is reduced.
ここで本例においては上記第(13)式において
bijを構成するi、jはともに1乃至3であり、ま
たn:m=l・(k+1):l・k=12:9であつ
てk=3となることを考慮すれば、下記の論理式
が成立する。 Here, in this example, in the above equation (13),
Considering that i and j that make up b ij are both 1 to 3, and that n:m=l・(k+1):l・k=12:9, so that k=3, the following The logical formula is established.
すなわち
b11←a11+a12・a21+a11・a22+a11・a21
+a11・a12
b12←a13+a13・a22+a12・a23+a12・a22
+a13・a23+a12・a13
b13←a14+a14・a23+a14・a24+a13・a14
b21←a22・a31+a21・a32+a21・a31
+a21・a22+a31・a32
b22←a23・a32+a22・a33+a22・a32
+a23・a33+a22・a23+a32・a33
b23←a34+a24・a33+a23・a34+a24・a34
+a23・a24+a33・a34
b31←a41+a32・a41+a31・a42+a31.a41
a41・a42
b32←a43+a33・a42+a32・a43+a32・a42
+a33・a43+a42・a43
b33←a44+a33・a44+a34・a44+a43・a44
すなわち例えば上記b11についていえば、i=
1、j=1、k=3であることから上記第(13)
式中、かつこ内の条件を満たすaij(すなわちa11)、
ai,j+1・ai+1,j(すなわちa12・a21)、aij・ai+1,j+1
(す
なわちa11・a22)、aij・ai+1,j(すなわちa11・a21)
またはaij・ai,j+1(すなわちa11・a12)が黒である
場合に黒とされるものであり、以下b12乃至b33に
ついても同様にして上記論理式が導かれる。 That is, b 11 ←a 11 +a 12・a 21 +a 11・a 22 +a 11・a 21 +a 11・a 12 b 12 ←a 13 +a 13・a 22 +a 12・a 23 +a 12・a 22 +a 13・a 23 +a 12・a 13 b 13 ←a 14 + a 14・a 23 +a 14・a 24 +a 13・a 14 b 21 ←a 22・a 31 +a 21・a 32 +a 21・a 31 +a 21・a 22 +a 31・a 32 b 22 ←a 23・a 32 +a 22・a 33 +a 22・a 32 +a 23・a 33 +a 22・a 23 +a 32・a 33 b 23 ←a 34 +a 24・a 33 +a 23・a 34 +a 24・a 34 +a 23・a 24 +a 33・a 34 b 31 ←a 41 +a 32・a 41 +a 31・a 42 +a 31 .a 41 a 41・a 42 b 32 ←a 43 +a 33・a 42 +a 32・a 43 +a 32・a 42 +a 33・a 43 +a 42・a 43 b 33 ←a 44 +a 33・a 44 +a 34・a 44 +a 43・a 44In other words, for example, regarding b 11 above , i=
1, since j=1 and k=3, the above (13)
In the formula, a ij (i.e. a 11 ) that satisfies the condition in brackets,
a i,j+1・a i+1,j (i.e. a 12・a 21 ), a ij・a i+1,j+1
(i.e. a 11・a 22 ), a ij・a i+1,j (i.e. a 11・a 21 )
Alternatively, when a ij ·a i,j+1 (that is, a 11 ·a 12 ) is black, it is considered black, and the above logical formulas are similarly derived for b 12 to b 33 below.
ここで上記論理式を整理すると、
b11←a11+a12・a21
b12←a13+a12・(a23+a22)
b13←a14
b21←a21・a31+(a22+a32)・(a21+a31)
b22←a23・a32+(a23+a32)・(a22+a33)
+a22・a33
b23←a34+a24・(a23+a33)
b31←a41+a31・a42
b32←a43+a42・(a32+a33)
b33←a44
となり、上記論理式にしたがつて上記9個に分割
した各対応するサブマトリクス同士でのドツト変
換を行うことによつて、上記第6図に示されるよ
うなきわめて品質のすぐれた、すなわち相似のパ
ターン形状(この例では45°の傾きを有する直線
形状)が保証された一様なドツトパターンの縮小
を行うことができる。なお、上記論理式を実現す
る論理ゲート回路の構成例については後述(第8
図)する。 Now, rearranging the above logical formula, b 11 ←a 11 +a 12・a 21 b 12 ←a 13 +a 12・(a 23 +a 22 ) b 13 ←a 14 b 21 ←a 21・a 31 + (a 22 +a 32 )・(a 21 +a 31 ) b 22 ←a 23・a 32 +(a 23 +a 32 )・(a 22 +a 33 ) +a 22・a 33 b 23 ←a 34 +a 24・(a 23 +a 33 ) b 31 ←a 41 +a 31・a 42 b 32 ←a 43 +a 42・(a 32 +a 33 ) b 33 ←a 44 , and each corresponding submatrix divided into the above nine pieces according to the above logical formula By performing dot conversion between the dots, a pattern of extremely high quality, that is, a similar pattern shape (in this example, a straight line shape with an inclination of 45°) as shown in Fig. 6, is guaranteed. Various types of dot pattern reduction can be performed. An example of the configuration of a logic gate circuit that realizes the above logical formula will be described later (Chapter 8).
Figure).
第7図は本発明に基づくドツトパターン縮小装
置の実施例を示すブロツク図である。本図におい
て、ドツトパターン縮小装置1は大きく分けて、
基本ドツトパターン・メモリ2と、ドツトパター
ン変換部3と、縮小ドツトパターン・メモリ4か
らなる。この中で本発明を特徴づける部分はドツ
トパターン変換部3である。 FIG. 7 is a block diagram showing an embodiment of a dot pattern reduction apparatus according to the present invention. In this figure, the dot pattern reduction device 1 can be roughly divided into:
It consists of a basic dot pattern memory 2, a dot pattern converter 3, and a reduced dot pattern memory 4. Among these, the part that characterizes the present invention is the dot pattern converting section 3.
まず、基本ドツトパターン・メモリ2はn行
n′列(n、n′は自然数)のドツトマトリクスで表
された基本ドツトパターンを記憶するものであ
り、第1A図、第4A図および第6図の上欄にそ
れぞれ例示されたパターンデータを記憶する。 First, the basic dot pattern memory 2 has n rows.
It stores basic dot patterns expressed in a dot matrix of n' columns (n, n' are natural numbers), and the pattern data illustrated in the upper columns of Figures 1A, 4A, and 6, respectively. Remember.
次に、縮小ドツトパターン・メモリ4はm行
m′列(m、m′は自然数でn>m、n′>m′)のド
ツトマトリクスで表される縮小ドツトパターンを
保持するものであり、第1B図、第4B図および
第6図の下欄にそれぞれ例示されたパターンデー
タを保持する。 Next, the reduced dot pattern memory 4 has m rows.
It holds a reduced dot pattern represented by a dot matrix of m' columns (m, m' are natural numbers, n > m, n'>m'), and is shown in Figures 1B, 4B, and 6. The pattern data illustrated in each example is held in the lower column.
さて、ドツトパターン変換部3は、前記基本ド
ツトパターンを前記縮小ドツトパターンに変換す
るものであるが、本発明の実施例によれば、パタ
ーンデータ分割5と、N(簡略化のために図では
N=4の例を示す)個の論理ゲート回路6と、各
論理ゲート回路6対応に設けられたN(N=4の
例を示す)個の第2サブマトリクス保持メモリ7
と、パターンデータ分配書込み部8とから構成さ
れる。まず、パターンデータ分割部5は、前記基
本ドツトパターン・メモリ2からの前記基本ドツ
トパターンを入力とし、該基本ドツトパターン
を、各々がn×n′/N(Nはn×n′およびm×m′の
公約数)個のドツトからなるドツトマトリクスで
構成されるN個の第1サブマトリクスに分割して
出力するものである。第6図の例を参照すると、
n×n′=12×12(=144)、m×m′=9×9(=81)
であり、その公約数NとしてN=9を設定するこ
とができる。つまり、第6図の上欄(基本ドツト
パターン)を9個の第1サブマトリクスに分割す
る(第6図の上欄において点線で四角に囲んだ9
つと部分)。したがつて、第1サブマトリクスの
各々は12×12/9(=16)個のドツトからなるドツ
トマトリクスで構成される。 Now, the dot pattern converter 3 converts the basic dot pattern into the reduced dot pattern, but according to the embodiment of the present invention, the pattern data division 5 and N (not shown in the figure for simplicity) are used. (showing an example where N=4) logic gate circuits 6 and N (showing an example where N=4) second sub-matrix holding memories 7 provided corresponding to each logic gate circuit 6
and a pattern data distribution writing section 8. First, the pattern data dividing section 5 inputs the basic dot pattern from the basic dot pattern memory 2 and divides the basic dot pattern into n×n'/N (N is n×n' and m× The dot matrix is divided into N first sub-matrices each consisting of dots (common divisor of m') and output. Referring to the example in Figure 6,
n x n' = 12 x 12 (= 144), m x m' = 9 x 9 (= 81)
, and N=9 can be set as the common divisor N. In other words, the upper column in Figure 6 (basic dot pattern) is divided into 9 first sub-matrices (9 in the upper column in Figure 6 surrounded by a square with a dotted line).
part). Therefore, each of the first sub-matrices is composed of a dot matrix consisting of 12×12/9 (=16) dots.
N個の論理ゲート回路6は相互に同一の論理ゲ
ート構成を有し、パターンデータ分割部5により
分割されたN個の第1サブマトリクスをそれぞれ
入力とする。上述の第6図の例によれば9個の第
1サブマトリクスを入力とすることになる。 The N logic gate circuits 6 have the same logic gate configuration, and each receives the N first sub-matrices divided by the pattern data division section 5 as inputs. According to the example of FIG. 6 described above, nine first sub-matrices are input.
N個の第2サブマトリクス保持メモリ7は、N
個の論理ゲート回路6の各々に対応して設けら
れ、かつ、各々がm×m′/N個のドツトからなるド
ツトマトリクスをなすN個の第2サブマトリクス
を構成して、対応する各該論理ゲート回路6の出
力を一旦保持する。上述の第6図の例によれば、
9個の論理ゲート回路6が設けられ、9個の第2
サブマトリクスが構成される(第6図の下欄にお
いて点線で四角に囲んだ9つの部分)。そしてそ
の9個の第2サブマトリクスはm×m′/N個、すな
わち9×9/9(=9)個のドツトからなるドツト
マトリクスで構成される。 The N second sub-matrix holding memories 7 are
N second sub-matrices are provided corresponding to each of the logic gate circuits 6 and each constitutes a dot matrix consisting of m×m'/N dots. The output of the logic gate circuit 6 is temporarily held. According to the example shown in FIG. 6 above,
Nine logic gate circuits 6 are provided, nine second
A submatrix is constructed (nine square parts surrounded by dotted lines in the lower column of FIG. 6). The nine second sub-matrices are composed of m×m'/N dots, that is, 9×9/9 (=9) dot matrices.
パターンデータ分配書込み部8は、各第2サブ
マトリクス保持メモリ7から読出した各前記第2
サブマトリクスをなすパターンデータを、縮小パ
ターン・メモリ4内の所定位置に分配し、かつ、
書込む。すなわち、第6図の下欄を参照すると、
例えば、同図内の左上に位置する第2サブマトリ
クスのパターンデータとしては、第1番目の第2
サブマトリクス保持メモリ7から読出して縮小パ
ターン・メモリ4内の当該位置に分配して書込
み、同図内の上部中央に位置する第2サブマトリ
クスのパターンデータとしては、第2番目の第2
サブマトリクス保持メモリ7から読出して縮小パ
ターン・メモリ4内の当該位置に分配して書込
み、同様にして、同図内の右下に位置する第2サ
ブマトリクスのパターンデータとしては、第9番
目の第2サブマトリクス保持メモリ7から読出し
て縮小パターン・メモリ4内の当該位置に分配し
て書込む。 The pattern data distribution writing section 8 writes each of the second sub-matrix data read from each of the second sub-matrix holding memories 7.
Distributing the pattern data forming the submatrix to predetermined positions in the reduced pattern memory 4, and
Write. That is, referring to the bottom column of Figure 6,
For example, the pattern data of the second sub-matrix located at the upper left in the figure is
The pattern data of the second submatrix located at the upper center in the figure is read from the submatrix holding memory 7 and distributed and written to the corresponding positions in the reduced pattern memory 4.
The data is read from the submatrix holding memory 7, distributed and written to the corresponding positions in the reduced pattern memory 4, and in the same way, the pattern data of the 9th submatrix located at the lower right in the same figure is The data is read from the second sub-matrix holding memory 7 and distributed and written to the corresponding positions in the reduced pattern memory 4.
ここに各前記論理ゲート回路6は、各前記第2
サブマトリクスをなすm×m′/N個のドツトからな
るドツトパターンが、対応する前記第1サブマト
リクスをなすn×n′/N個のドツトからなるドツト
パターンとほぼ相似形になるような予め定めた一
定の規則をもとに論理ゲートを構成する。予め定
めた一定の規則については、既に各種の具体例を
数式をもつて詳細に説明したがその狙いは、第3
図あるいは第6図に示すとおり、各第2サブマト
リクスのドツトパターンが、対応する各第1サブ
マトリクスのドツトパターンとほぼ相似形になる
ようにすることである。一例を第8図に示す。 Here, each of the logic gate circuits 6 is connected to each of the second logic gate circuits.
A dot pattern made up of m×m'/N dots forming a sub-matrix has a similar shape to a dot pattern made up of n×n'/N dots forming the corresponding first sub-matrix. Logic gates are constructed based on certain established rules. Regarding certain predetermined rules, various concrete examples have already been explained in detail using mathematical formulas, but the aim is to
As shown in the figure or FIG. 6, the dot pattern of each second sub-matrix is made to be substantially similar to the dot pattern of each corresponding first sub-matrix. An example is shown in FIG.
第8図は論理ゲート回路の一例を示す図であ
り、特に第6図を参照して説明した例について具
体化した論理ゲート回路6を示す。なお、いずれ
の論理ゲート回路6も同一の規則のもとでドツト
変換をするので、全て同一の論理ゲート構成であ
る。本図において、a11〜a44はパターンデータ分
割部5から供給され、b11〜b33は9個の第2サブ
マトリクス保持メモリ7にそれぞれ出力される。
本図の論理ゲート部11〜17は、それぞれ第6
図の例で説明した論理式を形成するものであり、
下記の“1”〜“7”に対応する。なお、“0”
としたところは単なる配線であり、論理ゲート部
を構成するには及ばない。 FIG. 8 is a diagram showing an example of a logic gate circuit, and particularly shows a logic gate circuit 6 that is a concrete embodiment of the example described with reference to FIG. Note that since all logic gate circuits 6 perform dot conversion under the same rules, they all have the same logic gate configuration. In this figure, a 11 to a 44 are supplied from the pattern data dividing section 5, and b 11 to b 33 are output to nine second sub-matrix holding memories 7, respectively.
The logic gate sections 11 to 17 in this figure are respectively the sixth
It forms the logical formula explained in the example in the figure,
Corresponds to "1" to "7" below. In addition, “0”
However, it is just a wiring and does not constitute a logic gate section.
“1” b11←a11+a12・a21
“2” b12←a13+a12・(a23+a22)
“0” b13←a14
“3” b21←a21・a31+(a22+a32)・(a21+a31)
“4” b22←a23・a32+(a23+a32)・(a22+a33)
+a22・a33
“5” b23←a34+a24・(a23+a33)
“6” b31←a41+a31・a42
“7” b32←a43+a42・(a32+a33)
“0” b33←a44
なお、「・」はAND論理、「+」はOR論理であ
る。“1” b 11 ←a 11 +a 12・a 21 “2” b 12 ←a 13 +a 12・(a 23 +a 22 ) “0” b 13 ←a 14 “3” b 21 ←a 21・a 31 + (a 22 + a 32 )・(a 21 + a 31 ) “4” b 22 ←a 23・a 32 +(a 23 + a 32 )・(a 22 + a 33 )
+a 22・a 33 “5” b 23 ←a 34 +a 24・(a 23 +a 33 ) “6” b 31 ←a 41 +a 31・a 42 “7” b 32 ←a 43 +a 42・(a 32 +a 33 ) “0” b 33 ← a 44 Note that “・” is AND logic, and “+” is OR logic.
かくの如く本発明によれば、同一の論理関数
(上記第(6)式又は第(17)式)を複数個用いて、
複数個のサブマトリクス同士を同時に並列処理可
能であるから、高速処理が行えることは明白であ
る。また、縮小変換に対しては該論理関数に当て
はめるだけであるから、論理ゲート回路でこれを
実現でき、ハードウエア化が容易である。さらに
また、少なくとも一定のパターン(横一直線又は
縦一直線)については厳密に相似形が保障され
る。 As described above, according to the present invention, by using a plurality of the same logical functions (the above-mentioned equation (6) or equation (17)),
Since a plurality of submatrices can be processed in parallel at the same time, it is obvious that high-speed processing can be performed. Furthermore, since reduction conversion is simply applied to the logical function, this can be realized with a logic gate circuit and can be easily implemented in hardware. Furthermore, strict similarity is guaranteed for at least a certain pattern (horizontal straight line or vertical straight line).
以上説明したように本発明によれば、既述した
従来技術の諸難点を克服し、ハードウエア化も容
易で、また並列同時処理だから高速処理も可能と
いう諸利点を有するドツトパターン縮小装置が実
現される。 As explained above, according to the present invention, a dot pattern reduction device has been realized which overcomes the various drawbacks of the prior art described above, has the advantages of being easy to implement in hardware, and capable of high-speed processing due to parallel simultaneous processing. be done.
第1A図は本発明に基づき縮小されるべき24×
24ドツトパターンの一例を示す図、第1B図は本
発明に従つて第1A図のドツトパターンを16×16
ドツトパターンに縮小した場合を示す図、第2A
図は第1A図のドツトパターンを分割した場合の
任意の第1サブマトリクスを示す図、第2B図
は第1B図のドツトパターンを分割した場合の任
意の第2サブマトリクスを示す図、第3図は縮
小変換の際の各種条件を図解的に例示したパター
ン図、第4A図は本発明に基づき縮小されるべき
20×15ドツトパターンの一例を示す図、第4B図
は本発明に従つて第4A図のドツトパターンを15
×10ドツトパターンに縮小した場合を示す図、第
5A図は第4A図のドツトパターンを分割した場
合の任意の第1サブマトリクス′を示す図、第
5B図は第4B図のドツトパターンを分割した場
合の任意の第2サブマトリクス′を示す図、第
6図は12行・12列のドツトパターンを9個のサブ
マトリクスに分割し、9行・9列のドツトパター
ンに縮小変換した場合の変換結果を示す図、第7
図は本発明に基づくドツトパターン縮小装置の実
施例を示すブロツク図、第8図は論理ゲート回路
の一例を示す図である。
1…ドツトパターン縮小装置、2…基本ドツト
パターン・メモリ、3…ドツトパターン変換部、
4…縮小ドツトパターン・メモリ、5…パターン
データ分割部、6…論理ゲート回路、7…第2サ
ブマトリクス保持メモリ、8…パターンデータ分
配書込み部、,′…第1サブマトリクス、,
′…第2サブマトリクス。
FIG. 1A is 24× to be reduced according to the present invention.
FIG. 1B is a diagram showing an example of a 24-dot pattern, in which the dot pattern of FIG.
Diagram showing the case of reduction to a dot pattern, 2nd A
The figure shows an arbitrary first sub-matrix when the dot pattern in Fig. 1A is divided, Fig. 2B shows an arbitrary second sub-matrix when the dot pattern in Fig. 1B is divided, and the third The figure is a pattern diagram illustrating various conditions for reduction conversion, and Figure 4A is a pattern diagram that should be reduced based on the present invention.
FIG. 4B is a diagram showing an example of a 20×15 dot pattern, in which the dot pattern of FIG.
Figure 5A is a diagram showing the arbitrary first sub-matrix' when the dot pattern in Figure 4A is divided, Figure 5B is the diagram when the dot pattern in Figure 4B is divided. Figure 6 shows the arbitrary second submatrix ' in the case where the dot pattern with 12 rows and 12 columns is divided into 9 submatrices and reduced to a dot pattern with 9 rows and 9 columns. Diagram showing conversion results, 7th
The figure is a block diagram showing an embodiment of the dot pattern reduction device according to the present invention, and FIG. 8 is a diagram showing an example of a logic gate circuit. 1... Dot pattern reduction device, 2... Basic dot pattern memory, 3... Dot pattern converter,
4...Reduced dot pattern memory, 5...Pattern data division section, 6...Logic gate circuit, 7...Second sub-matrix holding memory, 8...Pattern data distribution and writing section,,'...First sub-matrix,,
′...Second submatrix.
Claims (1)
クスで表された基本ドツトパターンを記憶する基
本ドツトパターン・メモリ2と、 m行m′列(m、m′は自然数でn>m、n′>m′)
のドツトマトリクスで表される縮小ドツトパター
ンを保持する縮小ドツトパターン・メモリ4と、 前記基本ドツトパターンを前記縮小ドツトパタ
ーンに変換するドツトパターン変換部3とを有し
てなるドツトパターン縮小装置1において、 前記ドツトパターン変換部3が、 前記基本ドツトパターン・メモリ2からの前記
基本ドツトパターンを入力とし、該基本ドツトパ
ターンを、各々がn×n′/N(Nはn×n′およびm ×m′の公約数)個のドツトからなるドツトマト
リクスで構成されるN個の第1サブマトリクスに
分割して出力するパターンデータ分割部5と、 相互に同一の論理ゲート構成を有し、前記パタ
ーンデータ分割部5により分割された前記N個の
第1サブマトリクスをそれぞれ入力とするN個の
論理ゲート回路6と、 前記N個の論理ゲート回路6の各々に対応して
設けられ、かつ、各々がm×m′/N個のドツトから なるドツトマトリクスをなすN個の第2サブマト
リクスを構成して、対応する各該論理ゲート回路
6の出力を一旦保持するN個の第2サブマトリク
ス保持メモリ7と、 各該第2サブマトリクス保持メモリ7から読出
した各前記第2サブマトリクスをなすパターンデ
ータを、前記縮小ドツトパターン・メモリ4内の
所定位置に分配し、かつ、書込むパターンデータ
分配書込み部8とから構成され、 ここに各前記論理ゲート回路6は、各前記第2
サブマトリクスをなすm×m′/N個のドツトからな るドツトパターンが、対応する前記第1サブマト
リクスをなすn×n′/N個のドツトからなるドツト パターンとほぼ相似形になるような予め定めた一
定の規則をもとに論理ゲートを構成することを特
徴とするドツトパターン縮小装置。[Scope of Claims] 1. A basic dot pattern memory 2 that stores a basic dot pattern represented by a dot matrix with n rows and n' columns (n and n' are natural numbers); ′ is a natural number, n>m, n′>m′)
In a dot pattern reduction device 1 comprising: a reduced dot pattern memory 4 that holds a reduced dot pattern represented by a dot matrix; and a dot pattern converter 3 that converts the basic dot pattern into the reduced dot pattern. , the dot pattern conversion section 3 inputs the basic dot pattern from the basic dot pattern memory 2, and converts the basic dot patterns into n×n'/N (N is n×n' and m× a pattern data dividing unit 5 which divides and outputs a dot matrix consisting of dots (common divisor of m′) into N first sub-matrices and outputs the same logic gate configuration; N logic gate circuits 6 each receiving the N first sub-matrices divided by the data dividing unit 5; constitutes N second sub-matrices forming a dot matrix consisting of m×m'/N dots, and temporarily holds the output of each corresponding logic gate circuit 6. memory 7; pattern data distribution for distributing and writing pattern data forming each of the second sub-matrices read from each of the second sub-matrix holding memories 7 to predetermined positions in the reduced dot pattern memory 4; and a writing section 8, in which each of the logic gate circuits 6 is connected to each of the second logic gate circuits.
A dot pattern made up of m×m'/N dots forming a sub-matrix has a similar shape to a dot pattern made up of n×n'/N dots forming the corresponding first sub-matrix. A dot pattern reduction device characterized by configuring a logic gate based on certain rules.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56046359A JPS57161888A (en) | 1981-03-31 | 1981-03-31 | Dot pattern reduction |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56046359A JPS57161888A (en) | 1981-03-31 | 1981-03-31 | Dot pattern reduction |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57161888A JPS57161888A (en) | 1982-10-05 |
| JPH0364877B2 true JPH0364877B2 (en) | 1991-10-08 |
Family
ID=12744951
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56046359A Granted JPS57161888A (en) | 1981-03-31 | 1981-03-31 | Dot pattern reduction |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57161888A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2644902B2 (en) * | 1990-01-23 | 1997-08-25 | 沖電気工業株式会社 | Pattern reduction converter |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5186929A (en) * | 1975-01-29 | 1976-07-30 | Fuji Xerox Co Ltd | DOTSUTOMATORI TSUKUSUIN JISOCHI |
| JPS54148436A (en) * | 1978-05-15 | 1979-11-20 | Fujitsu Ltd | Dot pattern conversion system |
-
1981
- 1981-03-31 JP JP56046359A patent/JPS57161888A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57161888A (en) | 1982-10-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5930408A (en) | Character pattern generation | |
| US4829452A (en) | Small angle image rotation using block transfers | |
| US4698778A (en) | Method of processing gradation information with variable magnification | |
| JPH0515103B2 (en) | ||
| JPS6053373A (en) | Processing method of gradation information | |
| US5657047A (en) | Method and apparatus for zooming images on a video display | |
| JPH0364877B2 (en) | ||
| JP2502530B2 (en) | Printer | |
| JPH03127187A (en) | Computer graphics apparatus and method of the same | |
| JPH0581940B2 (en) | ||
| JPS6263988A (en) | Expansion system of character font | |
| JPS6347908Y2 (en) | ||
| JP2846357B2 (en) | Font memory device | |
| JP2695265B2 (en) | Multi-port memory | |
| JPH0222395B2 (en) | ||
| JPH079572B2 (en) | Vertical / horizontal conversion device for pattern data | |
| JPS60231267A (en) | Intra-character control system | |
| JPS63316156A (en) | Equational allocation system for character string | |
| JPS6252593A (en) | Image memory configuration system | |
| JPS61148487A (en) | Expander/reducer | |
| HK1011784B (en) | Character processing method | |
| JPS6014286A (en) | Graphic processor | |
| JPH0752468B2 (en) | Multiprocessor for line drawing display | |
| JPS63195696A (en) | Fast lithography | |
| JPH0296472A (en) | Picture data reducing method |