JP3170125B2 - Method and apparatus for compressing character dot data - Google Patents

Method and apparatus for compressing character dot data

Info

Publication number
JP3170125B2
JP3170125B2 JP32516193A JP32516193A JP3170125B2 JP 3170125 B2 JP3170125 B2 JP 3170125B2 JP 32516193 A JP32516193 A JP 32516193A JP 32516193 A JP32516193 A JP 32516193A JP 3170125 B2 JP3170125 B2 JP 3170125B2
Authority
JP
Japan
Prior art keywords
data
dot
character
predetermined
dots
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
Application number
JP32516193A
Other languages
Japanese (ja)
Other versions
JPH07181945A (en
Inventor
弘康 倉科
健二 渡邊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
King Jim Co Ltd
Original Assignee
Seiko Epson Corp
King Jim Co Ltd
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, King Jim Co Ltd filed Critical Seiko Epson Corp
Priority to JP32516193A priority Critical patent/JP3170125B2/en
Publication of JPH07181945A publication Critical patent/JPH07181945A/en
Application granted granted Critical
Publication of JP3170125B2 publication Critical patent/JP3170125B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、表示用文字および印刷
用文字のドットパターン記憶装置のデータ格納方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data storage system for a dot pattern storage device for display characters and print characters.

【0002】[0002]

【従来の技術】文字を表示したり印刷する機能を持つ電
子機器は、概ね図1に示すような回路構成をしており、
104部の記憶装置に文字のデータを記憶する必要があ
る。その文字データは、例えば32×32ドットのマト
リックスデータであれば1024ビットすなわち128
バイトが1文字につき必要となり、文字数が増えればそ
れに比例してデータ量が増加していく。とくに日本語を
扱う機器の場合には、漢字とかなを相当文字数保有する
ことが機器の機能や使い勝手を左右する重要な要素とな
るため、より多くの文字データを格納することが要求さ
れ、その結果記憶装置の数や容量がかさみ高価になる欠
点があった。また逆に、記憶装置の容量を限定すると、
文字データ量が多くなることで、記憶装置内のプログラ
ム部分に残された領域が小さくなり、機能が十分盛り込
まれない欠点があった。いずれの場合も文字データを少
しでも小容量に圧縮して記憶装置に格納することが必要
とされる。
2. Description of the Related Art An electronic device having a function of displaying and printing characters has a circuit configuration as generally shown in FIG.
It is necessary to store character data in the 104 storage devices. If the character data is, for example, 32 × 32 dot matrix data, it is 1024 bits, that is, 128 bits.
A byte is required for each character, and as the number of characters increases, the data amount increases in proportion thereto. In particular, in the case of devices that handle Japanese, having a considerable number of kanji and kana is an important factor that affects the function and usability of the device, so it is necessary to store more character data. As a result, there is a disadvantage that the number and capacity of the storage devices are increased and the cost is high. Conversely, if the capacity of the storage device is limited,
As the character data amount increases, the area left in the program portion in the storage device becomes smaller, and there is a disadvantage that functions are not sufficiently incorporated. In any case, it is necessary to compress the character data to a small amount at least and store it in the storage device.

【0003】従来の圧縮技術として、特開昭63−30
5389にみられるような、以下の手法が用いられてい
る。
As a conventional compression technique, Japanese Patent Laid-Open No. 63-30 / 1988
The following technique, as found in 5389, is used.

【0004】(1)図2に示すように、ドットデータを
8ドットを1ブロックとして複数のブロックに分解す
る。一般に白ドットにビット0、黒ドットにビット1を
対応させ、図の上方向を上位ビットとみなすと、圧縮を
行わなければブロック1からブロック4までのデータ
は、「2003E000」と表される。
(1) As shown in FIG. 2, dot data is decomposed into a plurality of blocks by dividing eight dot data into one block. In general, assuming that bit 0 corresponds to a white dot and bit 1 to a black dot, and that the upper direction of the figure is regarded as the upper bit, data from block 1 to block 4 is expressed as "2003E000" unless compression is performed.

【0005】ところで、少なくとも1ドットが黒ドット
であるブロックにはビット1を与え、総てのドットが白
であるブロックにはビット0を与えて判別し、このビッ
ト列を圧縮データaとする。ブロック1からブロック4
についての圧縮データaは、図3にあるように「111
0」である。次にビット1が与えられたブロックのデー
タのみを1バイトデータで表現し、これをつなげてデー
タ列とし、このデータ列を圧縮データbとする。ブロッ
ク1からブロック4についての圧縮データbは、図3に
あるように「2003E0」である。
By the way, a block in which at least one dot is a black dot is given a bit 1, and a block in which all the dots are white is given a bit 0 to make a discrimination. Block 1 to Block 4
As shown in FIG. 3, the compressed data a for
0 ". Next, only the data of the block to which bit 1 is given is represented by 1-byte data, and these are connected to form a data string, and this data string is referred to as compressed data b. The compressed data b for blocks 1 to 4 is “2003E0” as shown in FIG.

【0006】この圧縮データaと圧縮データbとが、圧
縮後の文字ドットデータである。圧縮データaがデータ
量の増加分になり、圧縮データbの中で、ビット0のブ
ロック(8ドットすべてが白であるブロック、以下「白
ブロック」と呼ぶ。)のデータ分が、データ量の減少分
になり、その差分がデータ圧縮されてことになる。ブロ
ック1からブロック4については、データ量4ビットが
縮小されている。なお図2の文字全体では、ブロック数
が128あるので、圧縮データaは 128 / 8 = 16(バイト) になる。
[0006] The compressed data a and the compressed data b are character dot data after compression. The compressed data a is the increase in the data amount, and the data amount of the block of bit 0 (the block in which all eight dots are white, hereinafter referred to as “white block”) in the compressed data b is the data amount. The difference is reduced, and the difference is compressed. For blocks 1 to 4, the data amount is reduced by 4 bits. In addition, since the number of blocks is 128 in the entire character in FIG. 2, the compressed data a is 128/8 = 16 (bytes).

【0007】また白ブロックは34個あるので、圧縮デ
ータbは 128 − 34 = 94(バイト) になる。
Also, since there are 34 white blocks, the compressed data b is 128-34 = 94 (bytes).

【0008】したがって、圧縮後のデータは 94 + 16 = 110(バイト) になる。Therefore, the data after compression becomes 94 + 16 = 110 (bytes).

【0009】その結果圧縮データ量は、 128 − 110 = 18(バイト) になる。As a result, the amount of compressed data is 128-110 = 18 (bytes).

【0010】この圧縮データから、もとの文字ドットデ
ータが一意に復号され得る。
The original character dot data can be uniquely decoded from the compressed data.

【0011】この圧縮手法を以下、「判別分解法」と略
す。
This compression method is hereinafter abbreviated as “discriminating decomposition method”.

【0012】これは、文字ドットパターンが白ドットを
多く含むことを利用している。
This utilizes the fact that the character dot pattern contains many white dots.

【0013】(2)上記(1)手法の前段階にて、文字
ドットデータにある加工を施すことで圧縮率をさらに高
める工夫も行われている。
(2) At a stage prior to the above-mentioned method (1), there is a method of further increasing the compression ratio by performing a certain processing on the character dot data.

【0014】文字ドットパターンは、白ドットと黒ドッ
トが1ドットおきに交互に出現することはまれで、同じ
ドットが2個以上連続して出現することが交互に繰り返
しされることが多い、という特徴がある。それを利用し
て、文字データを、白ドットを0、黒ドットを1と表現
するかわりに、ドット列に方向性をもたせて、前のドッ
トと同じであるドットを0、前のドットを反転したドッ
トを1、と表現する。その結果、1であるドットの数が
減り、白ブロックの数が著しく増加する。それが圧縮デ
ータbの容量を減らすことになり、圧縮率を向上させ
る。
In a character dot pattern , it is rare that white dots and black dots alternately appear every other dot, and that the same dot appears more than once in succession in many cases. There are features. Using this, instead of expressing character data as white dots as 0 and black dots as 1, the dot row is given a direction and the same dot as the previous dot is set to 0 and the previous dot is inverted. The resulting dot is expressed as 1. As a result, the number of 1 dots decreases, and the number of white blocks increases significantly. This reduces the capacity of the compressed data b and improves the compression ratio.

【0015】具体的には、文字ドットデータを1ドット
左にシフトしたドットデータを作成し、元の文字ドット
データと重ね合わせて論理排他和(EXCLUSIVE
−OR、以下「XOR」と略す。)をとることで実現さ
れる。なおこのとき左シフトしてあふれた最左列のデー
タは捨てられる。また最右列は一様に白ドットを重ねる
こととする。XOR後のドットデータからもとの文字ド
ットデータは、一意に復号可能である。「判別分解法」
の効率を高めるための以上の工程を、以下、「XOR工
程」と略す。
More specifically, dot data is generated by shifting the character dot data one dot to the left, and is superimposed on the original character dot data to form a logical exclusive sum (EXCLUSIVE).
−OR, hereinafter abbreviated as “XOR”. ). At this time, the data in the leftmost column that has been left-shifted and overflowed is discarded. In addition, the rightmost column is assumed to uniformly overlap white dots. The original character dot data can be uniquely decoded from the dot data after XOR. "Discriminant decomposition method"
The above steps for improving the efficiency of the above are hereinafter abbreviated as “XOR step”.

【0016】図2と同じデータを、「XOR工程」を用
いた「判別分解法」によって圧縮した例を図4に示す。
FIG. 4 shows an example in which the same data as in FIG. 2 is compressed by a “discriminating decomposition method” using an “XOR process”.

【0017】図4の文字全体では、圧縮データaは変わ
らず 128 / 8 = 16(バイト) になる。
In the whole character shown in FIG. 4, the compressed data a is unchanged and becomes 128/8 = 16 (bytes).

【0018】また白ブロックは58個に増加したので、
圧縮データbは 128 − 58 = 70(バイト) になる。
Since the number of white blocks has increased to 58,
The compressed data b becomes 128-58 = 70 (bytes).

【0019】したがって、圧縮後のデータは 70 + 16 = 86(バイト) になる。Therefore, the data after compression becomes 70 + 16 = 86 (bytes).

【0020】その結果圧縮データ量は、 128 − 86 = 42(バイト) になる。As a result, the amount of compressed data is 128-86 = 42 (bytes).

【0021】[0021]

【発明が解決しようとする課題】しかし、上記手法を用
いて実現されたデータには依然冗長性があり、その分、
データを格納するメモリが余分に必要になるという課題
があった。本発明の目的は、文字ドットデータを記録装
置に格納するうえで、さらに大きな圧縮率を実現するこ
とにある。
However, there is still redundancy in data realized using the above method,
There has been a problem that an extra memory for storing data is required. An object of the present invention is to realize a higher compression ratio when storing character dot data in a printing apparatus.

【0022】[0022]

【課題を解決するための手段】本発明の請求項1の文字
ドットデータの圧縮方法は、文字を構成する画素に対応
する有効ドットおよび前記文字の背景となる画素に対応
する無効ドットから成るドットマトリクスにより構成さ
れ前記文字を表現する文字ドットデータを対象として、
所定の複数ドット毎のブロックに分割するブロック分割
工程と、分割された各ブロックについて、そのブロック
内に前記有効ドットが含まれるときには、所定の2値の
うちの一方を割り付け、前記有効ドットが含まれないと
きには、前記所定の2値のうちの他方を割り付けること
により、前記所定の2値を示す2値データを前記ブロッ
クの数分だけ並べた第1圧縮データを作成する第1圧縮
データ作成工程と、前記有効ドットが含まれる各ブロッ
クについて、前記有効ドットに前記所定の2値のうちの
前記一方を割り付け、前記無効ドットに前記所定の2値
のうちの前記他方を割り付けることにより、前記所定の
2値を示す2値データを、前記有効ドットが含まれる各
ブロックのドット数の総数分だけ並べた第2圧縮データ
を作成する第2圧縮データ作成工程と、を備え、前記第
1圧縮データおよび前記第2圧縮データに基づいて、前
記文字ドットデータを圧縮した文字データを作成する文
字ドットデータの圧縮方法であって、仮名、漢字、記
号、英字または数字を含む文字の各文字を表現する文字
ドットデータのうちの多数に共通して出現するドットパ
ターンを、特定ドットパターンとして1以上定めてお
り、前記ブロックの分割に先立ち、前記文字ドットデー
タに含まれる特定ドットパターンをコード化した特定ド
ットパターンデータを作成する特定ドットパターンデー
タ作成工程と、前記特定ドットパターンデータとしてコ
ード化された特定ドットパターンを、前記文字ドットデ
ータから削除して、代用文字ドットデータを作成する特
定ドットパターン削除工程と、をさらに備え、前記ブロ
ックの分割は、前記文字ドットデータの代わりに前記代
用文字ドットデータを対象として行うことを特徴とす
る。
The character of claim 1 of the present invention
Dot data compression method corresponds to the pixels that make up characters
Corresponding to effective dots and the background pixels of the characters
Composed of a dot matrix of invalid dots
Target character dot data representing the character,
Block division to divide into blocks of predetermined multiple dots
Process and for each divided block, the block
When the effective dot is included in the
If one of them is assigned and the effective dot is not included
Assigning the other of the two predetermined values
The binary data indicating the predetermined binary value is stored in the block.
1st compression to create 1st compressed data arranged by the number of
The data creation step and each block containing the effective dots
The effective dot, the effective dot
One of the two is assigned, and the predetermined binary is assigned to the invalid dot.
By allocating the other of the predetermined
Binary data indicating a binary value is stored in each of the effective dots.
Second compressed data arranged by the total number of dots in the block
A second compressed data creating step of creating
Based on the first compressed data and the second compressed data,
Statement that creates character data by compressing character dot data
This is a compression method for character dot data.
A character that represents each character of a character including a number, alphabetic character, or number
Dot patterns commonly appearing in many of the dot data
Turns are defined as one or more specific dot patterns.
Before the division of the block, the character dot data
The specific dot pattern that encodes the specific dot pattern
Create specific dot pattern data
Data creation step, and a code as the specific dot pattern data.
The specified dot pattern is converted to the character dot data.
Data from the data to create the substitute character dot data.
A fixed dot pattern deleting step,
The division of the check is performed in place of the character dot data.
Character dot data.
You.

【0023】また、本発明の請求項2の文字ドットデー
タの圧縮方法は、文字を構成する画 素に対応する有効ド
ットおよび前記文字の背景となる画素に対応する無効ド
ットから成るドットマトリクスにより構成され前記文字
を表現する文字ドットデータを対象として、隣接する各
ドットについて、双方が異種のドットのときには前記有
効ドットを割り付け、双方が同種のドットのときには前
記無効ドットを割り付けることにより、前記文字ドット
データと同サイズの排他画素ドットデータを作成する排
他画素ドットデータ作成工程と、前記排他画素ドットデ
ータを、所定の複数ドット毎のブロックに分割するブロ
ック分割工程と、分割された各ブロックについて、その
ブロック内に前記有効ドットが含まれるときには、所定
の2値のうちの一方を割り付け、前記有効ドットが含ま
れないときには、前記所定の2値のうちの他方を割り付
けることにより、前記所定の2値を示す2値データを前
記ブロックの数分だけ並べた第1圧縮データを作成する
第1圧縮データ作成工程と、前記有効ドットが含まれる
各ブロックについて、前記有効ドットに前記所定の2値
のうちの前記一方を割り付け、前記無効ドットに前記所
定の2値のうちの前記他方を割り付けることにより、前
記所定の2値を示す2値データを、前記有効ドットが含
まれる各ブロックのドット数の総数分だけ並べた第2圧
縮データを作成する第2圧縮データ作成工程と、を備
え、前記第1圧縮データおよび前記第2圧縮データに基
づいて、前記文字ドットデータを圧縮した文字データを
作成する文字ドットデータの圧縮方法であって、仮名、
漢字、記号、英字または数字を含む文字の各文字を表現
する文字ドットデータのうちの多数に共通して出現する
ドットパターンを、特定ドットパターンとして1以上定
めており、前記排他画素ドットデータの作成に先立ち、
前記文字ドットデータに含まれる特定ドットパターンを
コード化した特定ドットパターンデータを作成する特定
ドットパターンデータ作成工程と、前記特定ドットパタ
ーンデータとしてコード化された特定ドットパターン
を、前記文字ドットデータから削除して、代用文字ドッ
トデータを作成する特定ドットパターン削除工程と、を
さらに備え、前記排他画素ドットデータの作成は、前記
文字ドットデータの代わりに前記代用文字ドットデータ
を対象として行うことを特徴とする。
The character dot data according to claim 2 of the present invention.
The method of compressing data is effective de corresponding to picture element constituting the character
Invalid pixels corresponding to the pixel and the background pixel of the character.
The character is composed of a dot matrix composed of
For character dot data expressing
If the dots are different types of dots,
Effective dots are assigned, and when both are of the same type,
By assigning invalid dots, the character dots
Create exclusive pixel dot data of the same size as the data.
A step of creating another pixel dot data;
Block that divides the data into blocks of predetermined multiple dots.
Block division process, and for each divided block,
When the effective dot is included in the block,
One of the two values is assigned, and the effective dot is included
If not, assign the other of the two specified values
In this way, the binary data indicating the predetermined binary is
Create the first compressed data arranged by the number of blocks
A first compressed data creation step, including the effective dot
For each block, the effective dot is the predetermined binary value.
And assigning the invalid dot to the
By assigning the other of the two fixed values,
The effective dot includes binary data indicating a predetermined binary value.
The second pressure lined up by the total number of dots in each block
A second compressed data creation step of creating compressed data.
Based on the first compressed data and the second compressed data
The character data obtained by compressing the character dot data
A method of compressing character dot data to be created,
Represents each character including kanji, symbols, letters or numbers
Common to many of the character dot data
Set one or more dot patterns as specific dot patterns
Prior to creation of the exclusive pixel dot data,
The specific dot pattern included in the character dot data is
Identification to create coded specific dot pattern data
A dot pattern data creation step, and the specific dot pattern
Specific dot pattern coded as pattern data
Is deleted from the character dot data, and the substitute character
A specific dot pattern deletion process for creating
The apparatus further comprises: generating the exclusive pixel dot data,
Substitute character dot data instead of character dot data
Is performed for the target.

【0024】また、請求項1または2の文字ドットデー
タの圧縮方法において、前記1以上 の特定ドットパター
ンには、縦または横の所定方向に所定のドット幅で所定
のドット長だけ連なるドットパターンが含まれることが
好ましい。
The character dot data according to claim 1 or 2
In the method of compressing data, the one or more specific dot patterns
With a predetermined dot width in the vertical or horizontal direction
Dot pattern that is continuous for the dot length of
preferable.

【0025】また、本発明の請求項4の文字ドットデー
タの圧縮方法は、文字を構成する画素に対応する有効ド
ットおよび前記文字の背景となる画素に対応する無効ド
ットから成るドットマトリクスにより構成され前記文字
を表現する文字ドットデータを対象として、所定の複数
ドット毎のブロックに分割するブロック分割工程と、分
割された各ブロックについて、そのブロック内に前記有
効ドットが含まれるときには、所定の2値のうちの一方
を割り付け、前記有効ドットが含まれないときには、前
記所定の2値のうちの他方を割り付けることにより、前
記所定の2値を示す2値データを前記ブロックの数分だ
け並べた第1圧縮データを作成する第1圧縮データ作成
工程と、前記有効ドットが含まれる各ブロックについ
て、前記有効ドットに前記所定の2値のうちの前記一方
を割り付け、前記無効ドットに前記所定の2値のうちの
前記他方を割り付けることにより、前記所定の2値を示
す2値データを、前記有効ドットが含まれる各ブロック
のドット数の総数分だけ並べた第2圧縮データを作成す
る第2圧縮データ作成工程と、を備え、前記第1圧縮デ
ータおよび前記第2圧縮データに基づいて、前記文字ド
ットデータを圧縮した文字データを作成する文字ドット
データの圧縮方法であって、前記ブロックの分割に先立
ち、前記文字ドットデータを所定方向に循環させること
により、前記有効ドットが含まれるブロックの数を前記
文字ドットデータの場合より減少させる代用文字ドット
データを作成するドット循環工程と、前記所定方向に循
環するドット数を前記所定の2値を示す2値データを並
べて表現する循環ドット数データ作成工程と、をさらに
備え、前記ブロックの分割は、前記文字ドットデータの
代わりに前記代用文字ドットデータを対象として行うこ
とを特徴とする。
The character dot data according to claim 4 of the present invention.
The data compression method is based on the effective
Invalid pixels corresponding to the pixel and the background pixel of the character.
The character is composed of a dot matrix composed of
A predetermined number of character dot data
A block dividing step of dividing the block into blocks for each dot;
For each of the divided blocks,
When an effective dot is included, one of the predetermined two values
When the effective dot is not included,
By allocating the other of the predetermined two values,
The binary data indicating the predetermined binary is equivalent to the number of the blocks.
First compressed data creation for creating the first compressed data arranged side by side
Process and each block containing the effective dots.
The effective dot is one of the predetermined two values.
And assigns the invalid dot to the invalid dot,
By assigning the other, the predetermined binary value is indicated.
The binary data of each block containing the effective dots.
Creates the second compressed data arranged by the total number of dots of
And a second compressed data creating step.
Data based on the data and the second compressed data.
Character dot to create character data that is compressed data
A method for compressing data, the method comprising:
That is, the character dot data is circulated in a predetermined direction.
By the above, the number of blocks containing the effective dots is
Substitute character dots to be reduced compared to character dot data
A dot circulating step for creating data, and circulating in the predetermined direction.
Binary data indicating the predetermined binary value is arranged in parallel with the number of dots to be linked.
And the process of creating the cyclic dot number data
The division of the block is performed based on the character dot data.
Instead, perform the above-mentioned substitute character dot data.
And features.

【0026】また、本発明の請求項5の文字ドットデー
タの圧縮方法は、文字を構成する画素に対応する有効ド
ットおよび前記文字の背景となる画素に対応する無効ド
ットから成るドットマトリクスにより構成され前記文字
を表現する文字ドットデータを対象として、隣接する各
ドットについて、双方が異種のドットのときには前記
効ドットを割り付け、双方が同種のドットのときには前
記無効ドットを割り付けることにより、前記文字ドット
データと同サイズの排他画素ドットデータを作成する排
他画素ドットデータ作成工程と、前記排他画素ドットデ
ータを、所定の複数ドット毎のブロックに分割するブロ
ック分割工程と、分割された各ブロックについて、その
ブロック内に前記有効ドットが含まれるときには、所定
の2値のうちの一方を割り付け、前記有効ドットが含ま
れないときには、前記所定の2値のうちの他方を割り付
けることにより、前記所定の2値を示す2値データを前
記ブロックの数分だけ並べた第1圧縮データを作成する
第1圧縮データ作成工程と、前記有効ドットが含まれる
各ブロックについて、前記有効ドットに前記所定の2値
のうちの前記一方を割り付け、前記無効ドットに前記所
定の2値のうちの前記他方を割り付けることにより、前
記所定の2値を示す2値データを、前記有効ドットが含
まれる各ブロックのドット数の総数分だけ並べた第2圧
縮データを作成する第2圧縮データ作成工程と、を備
え、前記第1圧縮データおよび前記第2圧縮データに基
づいて、前記文字ドットデータを圧縮した文字データを
作成する文字ドットデータの圧縮方法であって、前記排
他画素ドットデータの作成に先立ち、前記文字ドットデ
ータを所定方向に循環させることにより、前記有効ドッ
トが含まれるブロックの数を前記文字ドットデータの場
合より減少させる代用文字ドットデータを作成するドッ
ト循環工程と、前記所定方向に循環するドット数を前記
所定の2値を示す2値データを並べて表現する循環ドッ
ト数データ作成工程と、をさらに備え、前記排他画素ド
ットデータの作成は、前記文字ドットデータの代わりに
前記代用文字ドットデータを対象として行うことを特徴
とする。
The character dot data according to claim 5 of the present invention.
The data compression method is based on the effective
Invalid pixels corresponding to the pixel and the background pixel of the character.
The character is composed of a dot matrix composed of
For character dot data expressing
For dot, it said Yes when both are of different kinds of dots
Effective dots are assigned, and when both are of the same type,
By assigning invalid dots, the character dots
Create exclusive pixel dot data of the same size as the data.
A step of creating another pixel dot data;
Block that divides the data into blocks of predetermined multiple dots.
Block division process, and for each divided block,
When the effective dot is included in the block,
One of the two values is assigned, and the effective dot is included
If not, assign the other of the two specified values
In this way, the binary data indicating the predetermined binary is
Create the first compressed data arranged by the number of blocks
A first compressed data creation step, including the effective dot
For each block, the effective dot is the predetermined binary value.
And assigning the invalid dot to the
By assigning the other of the two fixed values,
The effective dot includes binary data indicating a predetermined binary value.
The second pressure lined up by the total number of dots in each block
A second compressed data creation step of creating compressed data.
Based on the first compressed data and the second compressed data
The character data obtained by compressing the character dot data
A method of compressing character dot data to be created,
Prior to creation of dot data for other pixels, the character dot data
By circulating the data in a predetermined direction, the effective
The number of blocks that include
Dot to create substitute character dot data
And the number of dots circulating in the predetermined direction
Circular dot for arranging binary data indicating predetermined binary
A number data creating step, wherein the exclusive pixel
Create the cut data instead of the character dot data.
The method is performed on the substitute character dot data.
And

【0027】また、本発明の請求項6の文字ドットデー
タの圧縮方法は、文字を構成する画素に対応する有効ド
ットおよび前記文字の背景となる画素に対応する無効ド
ットから成るドットマトリクスにより構成され前記文字
を表現する文字ドットデータを対象として、隣接する各
ドットについて、双方が異種のドットのときには前記有
効ドットを割り付け、双方が同種のドットのときには前
記無効ドットを割り付けることにより、前記文字ドット
データと同サイズの排他画素ドットデータを作成する排
他画素ドットデータ作成工程と、前記排他画素ドットデ
ータを、所定の 複数ドット毎のブロックに分割するブロ
ック分割工程と、分割された各ブロックについて、その
ブロック内に前記有効ドットが含まれるときには、所定
の2値のうちの一方を割り付け、前記有効ドットが含ま
れないときには、前記所定の2値のうちの他方を割り付
けることにより、前記所定の2値を示す2値データを前
記ブロックの数分だけ並べた第1圧縮データを作成する
第1圧縮データ作成工程と、前記有効ドットが含まれる
各ブロックについて、前記有効ドットに前記所定の2値
のうちの前記一方を割り付け、前記無効ドットに前記所
定の2値のうちの前記他方を割り付けることにより、前
記所定の2値を示す2値データを、前記有効ドットが含
まれる各ブロックのドット数の総数分だけ並べた第2圧
縮データを作成する第2圧縮データ作成工程と、を備
え、前記第1圧縮データおよび前記第2圧縮データに基
づいて、前記文字ドットデータを圧縮した文字データを
作成する文字ドットデータの圧縮方法であって、仮名、
漢字、記号、英字または数字を含む文字の各文字を表現
する文字ドットデータに基づいて作成される排他画素ド
ットデータのうちの多数に共通して出現するドットパタ
ーンを、特定ドットパターンとして1以上定めており、
前記ブロックの分割に先立ち、前記排他画素ドットデー
タに含まれる特定ドットパターンをコード化した特定ド
ットパターンデータを作成する特定ドットパターンデー
タ作成工程と、前記特定ドットパターンデータとしてコ
ード化された特定ドットパターンを、前記排他画素ドッ
トデータから削除して、代用排他画素ドットデータを作
成する特定ドットパターン削除工程と、をさらに備え、
前記ブロックの分割は、前記排他画素ドットデータの代
わりに前記代用排他画素ドットデータを対象として行う
ことを特徴とする。
The character dot data according to claim 6 of the present invention.
The data compression method is based on the effective
Invalid pixels corresponding to the pixel and the background pixel of the character.
The character is composed of a dot matrix composed of
For character dot data expressing
If the dots are different types of dots,
Effective dots are assigned, and when both are of the same type,
By assigning invalid dots, the character dots
Create exclusive pixel dot data of the same size as the data.
A step of creating another pixel dot data;
Block that divides the data into blocks of predetermined multiple dots.
Block division process, and for each divided block,
When the effective dot is included in the block,
One of the two values is assigned, and the effective dot is included
If not, assign the other of the two specified values
In this way, the binary data indicating the predetermined binary is
Create the first compressed data arranged by the number of blocks
A first compressed data creation step, including the effective dot
For each block, the effective dot is the predetermined binary value.
And assigning the invalid dot to the
By assigning the other of the two fixed values,
The effective dot includes binary data indicating a predetermined binary value.
The second pressure lined up by the total number of dots in each block
A second compressed data creation step of creating compressed data.
Based on the first compressed data and the second compressed data
The character data obtained by compressing the character dot data
A method of compressing character dot data to be created,
Represents each character including kanji, symbols, letters or numbers
Exclusive pixel dots created based on the character dot data
Dot pattern that appears in many of the
Is defined as one or more specific dot patterns,
Prior to the block division, the exclusive pixel dot data
The specific dot pattern that encodes the specific dot pattern
Create specific dot pattern data
Data creation step, and a code as the specific dot pattern data.
The specific dot pattern converted to the exclusive pixel dot.
From the default data to create the substitute exclusive pixel dot data.
A specific dot pattern deleting step to be performed,
The block division is performed in place of the exclusive pixel dot data.
Instead, it is performed on the substitute exclusive pixel dot data.
It is characterized by the following.

【0028】また、請求項1ないし6の文字ドットデー
タの圧縮方法において、前記所定の2値は0および1で
あり、前記2値データは1ビットで示されるビットデー
タであることが好ましい。
Also, the character dot data according to claims 1 to 6
In the data compression method, the predetermined binary values are 0 and 1.
And the binary data is bit data represented by 1 bit.
It is preferred that

【0029】また、請求項1ないし7の文字ドットデー
タの圧縮方法において、前記有効ドットは黒ドットであ
り、前記無効ドットは白ドットであることが好ましい。
Further , the character dot data according to claims 1 to 7 is provided.
In the data compression method, the effective dots are black dots.
Preferably, the invalid dots are white dots.

【0030】また、本発明の請求項9の文字ドットデー
タの圧縮装置は、文字を構成する画素に対応する有効ド
ットおよび前記文字の背景となる画素に対応する無効ド
ットから成るドットマトリクスにより構成され前記文字
を表現する文字ドットデータを対象として、所定の複数
ドット毎のブロックに分割するブロック分割手段と、分
割された各ブロックについて、そのブロック内に前記有
効ドットが含まれるときには、所定の2値のうちの一方
を割り付け、前記有効ドットが含まれないときには、前
記所定の2値のうちの他方を割り付けることにより、前
記所定の2値を示す2値データを前記ブロックの数分だ
け並べた第1圧縮データを作成する第1圧縮データ作成
手段と、前記有効ドットが含まれる各ブロックについ
て、前記有効ドットに前記所定の2値のうちの前記一方
を割り付け、前記無効ドットに前記所定の2値のうちの
前記他方を割り付けることにより、前記所定の2値を示
す2値データを、前記有効ドットが含まれる各ブロック
のドット数の総数分だけ並べた第2圧縮データを作成す
る第2圧縮データ作成手段と、を備え、前記第1圧縮デ
ータおよび前記第2圧縮データに基づいて、前記文字ド
ットデータを圧縮した文字データを作成する文字ドット
データの圧縮装置であって、仮名、漢字、記号、英字ま
たは数字を含む文字の各文字を表現する文字ドットデー
タのうちの多数に共通して出現するドットパターンを、
特定ドットパターンとして1以上定めており、前記ブロ
ックの分割に先立ち、前記文字ドットデータに含まれる
特定ドットパターンをコード化した特定ドットパターン
データを作成する特定ドットパターンデータ作成手段
と、前記特定ドットパターンデータとしてコード化され
た特定ドットパターンを、前記文字ドットデータから削
除して、代用文字ドットデータを作成する特定ドットパ
ターン削除手段と、をさらに備え、前記ブロックの分割
は、前記文字ドットデータの代わりに前記代用文字ドッ
トデータを対象として行うことを特徴とする。
The character dot data according to claim 9 of the present invention.
The data compression device uses the effective dots corresponding to the pixels that make up the character.
Invalid pixels corresponding to the pixel and the background pixel of the character.
The character is composed of a dot matrix composed of
A predetermined number of character dot data
A block dividing means for dividing into blocks for each dot;
For each of the divided blocks,
When an effective dot is included, one of the predetermined two values
When the effective dot is not included,
By allocating the other of the predetermined two values,
The binary data indicating the predetermined binary is equivalent to the number of the blocks.
First compressed data creation for creating the first compressed data arranged side by side
Means, and for each block containing the effective dot,
The effective dot is one of the predetermined two values.
And assigns the invalid dot to the invalid dot,
By assigning the other, the predetermined binary value is indicated.
The binary data of each block containing the effective dots.
Creates the second compressed data arranged by the total number of dots of
Second compressed data creating means, and the first compressed data
Data based on the data and the second compressed data.
Character dot to create character data that is compressed data
A data compression device that handles kana, kanji, symbols,
Or a character dot data that represents each character
Dot patterns that appear in many of the
One or more specific dot patterns are defined, and
Prior to the division of the mark, it is included in the character dot data.
Specific dot pattern that codes specific dot pattern
Specific dot pattern data creation means for creating data
And encoded as the specific dot pattern data
The specified dot pattern from the character dot data
Specific dot pattern to create the substitute character dot data.
And turning off the block.
Replaces the character dot data with the substitute character
This is performed for target data.

【0031】また、本発明の請求項10の文字ドットデ
ータの圧縮装置は、文字を構成する画素に対応する有効
ドットおよび前記文字の背景となる画素に対応する無効
ドットから成るドットマトリクスにより構成され前記文
字を表現する文字ドットデータを対象として、隣接する
各ドットについて、双方が異種のドットのときには前
有効ドットを割り付け、双方が同種のドットのときには
前記無効ドットを割り付けることにより、前記文字ドッ
トデータと同サイズの排他画素ドットデータを作成する
排他画素ドットデータ作成手段と、前記排他画素ドット
データを、所定の複数ドット毎のブロックに分割するブ
ロック分割手段と、分割された各ブロックについて、そ
のブロック内に前記有効ドットが含まれるときには、所
定の2値のうちの一方を割り付け、前記有効ドットが含
まれないときには、前記所定の2値のうちの他方を割り
付けることにより、前記所定の2値を示す2値データを
前記ブロックの数分だけ並べた第1圧縮データを作成す
る第1圧縮データ作成手段と、前記有効ドットが含まれ
る各ブロックについて、前記有効ドットに前記所定の2
値のうちの前記一方を割り付け、前記無効ドットに前記
所定の2値のうちの前記他方を割り付けることにより、
前記所定の2値を示す2値データを、前記有効ドットが
含まれる各ブロックのドット数の総数分だけ並べた第2
圧縮データを作成する第2圧縮データ作成手段と、を備
え、前記第1圧縮データおよび前記第2圧縮データに基
づいて、前記文字ドットデータを圧縮した文字データを
作成する文字ドットデータの圧縮装置であって、仮名、
漢字、記号、英字または数字を含む文字の各文字を表現
する文字ドットデータのうちの多数に共通して出現する
ドットパターンを、特定ドットパターンとして1以上定
めており、前記排他画素ドットデータの作成に先立ち、
前記文字ドットデータに含まれる特定ドットパターンを
コード化した特定ドットパターンデータを作成する特定
ドットパターンデータ作成手段と、前記特定ドットパタ
ーンデータとしてコード化された特定ドットパターン
を、前記文字ドットデータから削除して、代用文字ドッ
トデータを作成する特定ドットパターン削除手段と、を
さらに備え、前記排他画素ドットデータの作成は、前記
文字ドットデータの代わりに前記代用文字ドットデータ
を対象として行うことを特徴とする。
The character dot data according to claim 10 of the present invention.
The data compression device has an effective
Invalid corresponding to the dot and the background pixel of the character
The sentence composed of a dot matrix composed of dots
Adjacent for character dot data expressing characters
For each dot, before when both of the disparate dots Symbol
Assign effective dots and when both are the same type of dots
By assigning the invalid dot, the character
Create exclusive pixel dot data of the same size as
Exclusive pixel dot data creating means, and the exclusive pixel dot
A block that divides data into predetermined blocks of a plurality of dots.
For the lock dividing means and each divided block,
When the effective dot is included in the block of
One of the two fixed values, and the effective dot
If not, the other of the two predetermined values is divided.
By attaching the binary data indicating the predetermined binary,
Create the first compressed data arranged by the number of the blocks.
First compressed data creating means, and the effective dots are included.
For each of the blocks,
Assigns one of the values to the invalid dot.
By allocating the other of the predetermined two values,
The binary data indicating the predetermined binary is expressed by the effective dot
The second lined up by the total number of dots of each block included
Second compressed data creating means for creating compressed data.
Based on the first compressed data and the second compressed data
The character data obtained by compressing the character dot data
A compression device for character dot data to be created,
Represents each character including kanji, symbols, letters or numbers
Common to many of the character dot data
Set one or more dot patterns as specific dot patterns
Prior to creation of the exclusive pixel dot data,
The specific dot pattern included in the character dot data is
Identification to create coded specific dot pattern data
Means for creating dot pattern data, the specific dot pattern
Specific dot pattern coded as pattern data
Is deleted from the character dot data, and the substitute character
Specific dot pattern deleting means for creating default data.
The apparatus further comprises: generating the exclusive pixel dot data,
Substitute character dot data instead of character dot data
Is performed for the target.

【0032】また、請求項9または10の文字ドットデ
ータの圧縮装置において、前記1以上の特定ドットパタ
ーンには、縦または横の所定方向に所定のドット幅で所
定のドット長だけ連なるドットパターンが含まれること
が好ましい。
The character dot data according to claim 9 or 10 is also provided.
In the data compression device, the one or more specific dot patterns
Area with a predetermined dot width in the vertical or horizontal direction.
Includes a dot pattern that extends for a fixed dot length
Is preferred.

【0033】また、本発明の請求項12の文字ドットデ
ータの圧縮装置は、文字を構成する画素に対応する有効
ドットおよび前記文字の背景となる画素に対応する無効
ドットから成るドットマトリクスにより構成され前記文
字を表現する文字ドットデータを対象として、所定の複
数ドット毎のブロックに分割するブロック分割手段と、
分割された各ブロックについて、そのブロック内に前記
有効ドットが含まれるときには、所定の2値のうちの一
方を割り付け、前記有効ドットが含まれないときには、
前記所定の2値のうちの他方を割り付けることにより、
前記所定の2値を示す2値データを前記ブロックの数分
だけ並べた第1圧縮データを作成する第1圧縮データ作
成手段と、前記有効ドットが含まれる各ブロックについ
て、前記有効ドットに前記所定の2値のうちの前記一方
を割り付け、前記無効ドットに前記所定の2値のうちの
前記他方を割り付けることにより、前記所定の2値を示
す2値データを、前記有効ドットが含まれる各ブロック
のドット数の総数分だけ並べた第2圧縮データを作成す
る第2圧縮データ作成手段と、を備え、前記第1圧縮デ
ータおよび前記第2圧縮データに基づいて、前記文字ド
ットデータを圧縮した文字データを作成する文字ドット
データの圧縮装置であって、前記ブロックの分割に先立
ち、前記文字ドットデータを所定方向に循環させること
により、前記有効ドットが含まれるブロックの数を前記
文字ドットデータの場合より減少させる代用文字ドット
データを作成するドット循環手段と、前記所定方向に循
環するドット数を前記所定の2値を示す2値データを並
べて表現する循環ドット数データ作成手段と、をさらに
備え、前記ブロックの分割は、前記文字ドットデータの
代わりに前記代用文字ドットデータを対象として行うこ
とを特徴とする。
The character dot data according to claim 12 of the present invention.
The data compression device has an effective
Invalid corresponding to the dot and the background pixel of the character
The sentence composed of a dot matrix composed of dots
For character dot data expressing characters,
Block dividing means for dividing into blocks of several dots,
For each of the divided blocks,
When an effective dot is included, one of predetermined two values is used.
When the effective dot is not included,
By allocating the other of the predetermined two values,
The binary data indicating the predetermined binary is equivalent to the number of the blocks.
First compressed data creation to create first compressed data
Generating means and each block including the effective dots.
The effective dot is one of the predetermined two values.
And assigns the invalid dot to the invalid dot,
By assigning the other, the predetermined binary value is indicated.
The binary data of each block containing the effective dots.
Creates the second compressed data arranged by the total number of dots of
Second compressed data creating means, and the first compressed data
Data based on the data and the second compressed data.
Character dot to create character data that is compressed data
An apparatus for compressing data, the apparatus comprising:
That is, the character dot data is circulated in a predetermined direction.
By the above, the number of blocks containing the effective dots is
Substitute character dots to be reduced compared to character dot data
Dot circulating means for creating data, and circulating in the predetermined direction.
Binary data indicating the predetermined binary value is arranged in parallel with the number of dots to be linked.
And a means for creating cyclic dot number data that expresses all
The division of the block is performed based on the character dot data.
Instead, perform the above-mentioned substitute character dot data.
And features.

【0034】また、本発明の請求項13の文字ドットデ
ータの圧縮装置は、文字を構成する画素に対応する有効
ドットおよび前記文字の背景となる画素に対応する無効
ドットから成るドットマトリクスにより構成され前記文
字を表現する文字ドットデータを対象として、隣接する
各ドットについて、双方が異種のドットのときには前記
有効ドットを割り付け、双方が同種のドットのときには
前記無効ドットを割り付けることにより、前記文字ドッ
トデータと同サイズの排他画素ドットデータを作成する
排他画素ドットデータ作成手段と、前記排他画素ドット
データを、所定 の複数ドット毎のブロックに分割するブ
ロック分割手段と、分割された各ブロックについて、そ
のブロック内に前記有効ドットが含まれるときには、所
定の2値のうちの一方を割り付け、前記有効ドットが含
まれないときには、前記所定の2値のうちの他方を割り
付けることにより、前記所定の2値を示す2値データを
前記ブロックの数分だけ並べた第1圧縮データを作成す
る第1圧縮データ作成手段と、前記有効ドットが含まれ
る各ブロックについて、前記有効ドットに前記所定の2
値のうちの前記一方を割り付け、前記無効ドットに前記
所定の2値のうちの前記他方を割り付けることにより、
前記所定の2値を示す2値データを、前記有効ドットが
含まれる各ブロックのドット数の総数分だけ並べた第2
圧縮データを作成する第2圧縮データ作成手段と、を備
え、前記第1圧縮データおよび前記第2圧縮データに基
づいて、前記文字ドットデータを圧縮した文字データを
作成する文字ドットデータの圧縮装置であって、前記排
他画素ドットデータの作成に先立ち、前記文字ドットデ
ータを所定方向に循環させることにより、前記有効ドッ
トが含まれるブロックの数を前記文字ドットデータの場
合より減少させる代用文字ドットデータを作成するドッ
ト循環手段と、前記所定方向に循環するドット数を前記
所定の2値を示す2値データを並べて表現する循環ドッ
ト数データ作成手段と、をさらに備え、前記排他画素ド
ットデータの作成は、前記文字ドットデータの代わりに
前記代用文字ドットデータを対象として行うことを特徴
とする。
The character dot data of claim 13 of the present invention.
The data compression device has an effective
Invalid corresponding to the dot and the background pixel of the character
The sentence composed of a dot matrix composed of dots
Adjacent for character dot data expressing characters
For each dot, when both are different types of dots,
Assign effective dots and when both are the same type of dots
By assigning the invalid dot, the character
Create exclusive pixel dot data of the same size as
Exclusive pixel dot data creating means, and the exclusive pixel dot
A block that divides data into predetermined blocks of a plurality of dots.
For the lock dividing means and each divided block,
When the effective dot is included in the block of
One of the two fixed values, and the effective dot
If not, the other of the two predetermined values is divided.
By attaching the binary data indicating the predetermined binary,
Create the first compressed data arranged by the number of the blocks.
First compressed data creating means, and the effective dots are included.
For each of the blocks,
Assigns one of the values to the invalid dot.
By allocating the other of the predetermined two values,
The binary data indicating the predetermined binary is expressed by the effective dot
The second lined up by the total number of dots of each block included
Second compressed data creating means for creating compressed data.
Based on the first compressed data and the second compressed data
The character data obtained by compressing the character dot data
An apparatus for compressing character dot data to be created,
Prior to creation of dot data for other pixels, the character dot data
By circulating the data in a predetermined direction, the effective
The number of blocks that include
Dot to create substitute character dot data
Circulating means, the number of dots circulating in the predetermined direction
Circular dot for arranging binary data indicating predetermined binary
Number data creating means, wherein the exclusive pixel
Create the cut data instead of the character dot data.
The method is performed on the substitute character dot data.
And

【0035】また、本発明の請求項14の文字ドットデ
ータの圧縮装置は、文字を構成する画素に対応する有効
ドットおよび前記文字の背景となる画素に対応する無効
ドットから成るドットマトリクスにより構成され前記文
字を表現する文字ドットデータを対象として、隣接する
各ドットについて、双方が異種のドットのときには前記
有効ドットを割り付け、双方が同種のドットのときには
前記無効ドットを割り付けることにより、前記文字ドッ
トデータと同サイズの排他画素ドットデータを作成する
排他画素ドットデータ作成手段と、前記排他画素ドット
データを、所定の複数ドット毎のブロックに分割するブ
ロック分割手段と、分割された各ブロックについて、そ
のブロック内に前記有効ドットが含まれるときには、所
定の2値のうちの一方を割り付け、前記有効ドットが含
まれないときには、前記所定の2 値のうちの他方を割り
付けることにより、前記所定の2値を示す2値データを
前記ブロックの数分だけ並べた第1圧縮データを作成す
る第1圧縮データ作成手段と、前記有効ドットが含まれ
る各ブロックについて、前記有効ドットに前記所定の2
値のうちの前記一方を割り付け、前記無効ドットに前記
所定の2値のうちの前記他方を割り付けることにより、
前記所定の2値を示す2値データを、前記有効ドットが
含まれる各ブロックのドット数の総数分だけ並べた第2
圧縮データを作成する第2圧縮データ作成手段と、を備
え、前記第1圧縮データおよび前記第2圧縮データに基
づいて、前記文字ドットデータを圧縮した文字データを
作成する文字ドットデータの圧縮装置であって、仮名、
漢字、記号、英字または数字を含む文字の各文字を表現
する文字ドットデータに基づいて作成される排他画素ド
ットデータのうちの多数に共通して出現するドットパタ
ーンを、特定ドットパターンとして1以上定めており、
前記ブロックの分割に先立ち、前記排他画素ドットデー
タに含まれる特定ドットパターンをコード化した特定ド
ットパターンデータを作成する特定ドットパターンデー
タ作成手段と、前記特定ドットパターンデータとしてコ
ード化された特定ドットパターンを、前記排他画素ドッ
トデータから削除して、代用排他画素ドットデータを作
成する特定ドットパターン削除手段と、をさらに備え、
前記ブロックの分割は、前記排他画素ドットデータの代
わりに前記代用排他画素ドットデータを対象として行う
ことを特徴とする。
According to a fourteenth aspect of the present invention, the character dot data
The data compression device has an effective
Invalid corresponding to the dot and the background pixel of the character
The sentence composed of a dot matrix composed of dots
Adjacent for character dot data expressing characters
For each dot, when both are different types of dots,
Assign effective dots and when both are the same type of dots
By assigning the invalid dot, the character
Create exclusive pixel dot data of the same size as
Exclusive pixel dot data creating means, and the exclusive pixel dot
A block that divides data into predetermined blocks of a plurality of dots.
For the lock dividing means and each divided block,
When the effective dot is included in the block of
One of the two fixed values, and the effective dot
If not, the other of the two predetermined values is divided.
By attaching the binary data indicating the predetermined binary,
Create the first compressed data arranged by the number of the blocks.
First compressed data creating means, and the effective dots are included.
For each of the blocks,
Assigns one of the values to the invalid dot.
By allocating the other of the predetermined two values,
The binary data indicating the predetermined binary is expressed by the effective dot
The second lined up by the total number of dots of each block included
Second compressed data creating means for creating compressed data.
Based on the first compressed data and the second compressed data
The character data obtained by compressing the character dot data
A compression device for character dot data to be created,
Represents each character including kanji, symbols, letters or numbers
Exclusive pixel dots created based on the character dot data
Dot pattern that appears in many of the
Is defined as one or more specific dot patterns,
Prior to the block division, the exclusive pixel dot data
The specific dot pattern that encodes the specific dot pattern
Create specific dot pattern data
Data creation means and a code as the specific dot pattern data.
The specific dot pattern converted to the exclusive pixel dot.
From the default data to create the substitute exclusive pixel dot data.
And a specific dot pattern deleting means to be formed.
The block division is performed in place of the exclusive pixel dot data.
Instead, it is performed on the substitute exclusive pixel dot data.
It is characterized by the following.

【0036】また、請求項9ないし14の文字ドットデ
ータの圧縮装置において、前記所定の2値は0および1
であり、前記2値データは1ビットで示されるビットデ
ータであることが好ましい。
Further, the character dot data according to the ninth to fourteenth aspects is provided.
In the data compression device, the predetermined two values are 0 and 1.
And the binary data is a bit data represented by one bit.
Data.

【0037】また、請求項9ないし15の文字ドットデ
ータの圧縮装置において、前記有効ドットは黒ドットで
あり、前記無効ドットは白ドットであることが好まし
い。
Further, the character dot data according to claims 9 to 15 is provided.
In the data compression device, the effective dots are black dots.
Yes, the invalid dots are preferably white dots
No.

【0038】[0038]

【実施例】以下に、本発明の一実施例について、各図を
参照して説明する。図5は、以下の説明に用いるフロー
図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
It will be described with reference to FIG. FIG. 5 is a flowchart used in the following description.

【0039】まず、マイコン応用機器において表示用ま
たは印刷用の文字データを記憶装置に格納するにあた
り、前述の従来の圧縮方法と同様に、元の文字データが
ドットマトリックスにより表現されている場合、これを
数ドットごとのブロックに分割して、少なくとも1ドッ
トが黒ドットであるブロックにはビット1を与え、総て
のビットが0であるブロックにはビット0を与え、この
ビット列と、ビット1を与えられたブロックのドットデ
ータのみを文字データとして格納することによって、記
憶装置内の文字データのメモリ容量を節約する。また、
前述のXOR工程(S504)により圧縮の効率を向上
させる。
First, in storing character data for display or printing in a storage device in a microcomputer application device, if the original character data is represented by a dot matrix as in the above-described conventional compression method , Is divided into blocks each having several dots, and a block in which at least one dot is a black dot is provided with bit 1; a block in which all bits are 0 is provided with bit 0; by storing only the dot data of a given block as character data, you save the memory capacity of the character data in the storage device. Also,
Compression efficiency is improved by the aforementioned XOR step (S504)
Let it.

【0040】一方、本実施例では、上記の従来の圧縮に
加え、 (1)多くのかな漢字、記号および英数字などに共通し
て出現する特定ドット幅の縦画をコード化して削除する
工程(以下「縦画削除工程」:500)と、 (2)文字データ全体を数ドット上下スライドさせる工
程(以下「ドットスライド工程」:501)と、 (3)特定ドットサイズや特定書体において、多くの漢
字に共通して出現する、文字装飾部をコード化して削除
する工程(以下「装飾情報削除工程」:503)と、に
より、白ブロックの数を減らして、文字データを圧縮す
る。
On the other hand, in the present embodiment,
In addition, (1) a process of coding and deleting a vertical image of a specific dot width that appears commonly in many kana-kanji characters, symbols, and alphanumeric characters ( hereinafter, "vertical image deletion process": 500); and (2) characters A step of sliding the whole data up and down by several dots ( hereinafter referred to as “dot slide step”: 501); and (3) encoding and deleting a character decoration part that appears in many kanji characters in a specific dot size or a specific typeface ( Hereinafter, “decoration information deletion step”: 503), the number of white blocks is reduced, and the character data is compressed.

【0041】このうち、(1)と(2)はXOR(S5
04)の前処理であり、(3)はXOR工程(S50
4)の後処理である。なお、文字ごとにドットパターン
の特性が異なるため、書体や文字によっては、(1)
(2)(3)のすべてもしくはいずれかの工程を省くこ
とがある。
Of these, (1) and (2) are XOR (S5
04) is pre-processing, and (3) is an XOR step (S50).
4) Post-processing. Since the characteristics of the dot pattern are different for each character, (1)
(2) All or any of the steps (3) may be omitted.

【0042】(1)縦画削除工程 図4は、XOR工程により文字ドットデータを加工した
図である。
(1) Vertical Image Deletion Step FIG. 4 is a diagram in which character dot data is processed by the XOR step.

【0043】ここでは図内に記したように、横画データ
は両端の各ドットで表されているので大きく圧縮されて
いることがわかる。しかし逆に縦画データは、目ではっ
きりと確認できるほど黒ドットとして残されており、ま
だあまり圧縮されたとはいえない。なお、この場合、前
述の従来技術と同様に、横方向に隣接するドット間での
XORを行ったので、縦画データが残ったが、縦方向に
隣接するドット間でのXORとすれば、逆の関係になる
(すなわち横画データが残りやすくなる)。したがっ
て、以下では縦または横の所定方向の代表としての
「縦」について説明する。
Here, as shown in the figure, since the horizontal image data is represented by the dots at both ends, it can be seen that the horizontal image data is greatly compressed. On the other hand, however, the vertical image data is left as black dots so that it can be clearly confirmed with the eyes, and it cannot be said that it has been compressed much yet. In this case,
As in the prior art described above, the horizontal
Although the XOR was performed, the vertical image data remained.
In the case of XOR between adjacent dots, the relationship is reversed.
(That is, horizontal image data is likely to remain.) Accordingly
In the following, the vertical or horizontal
"Vertical" will be described.

【0044】そこでこの工程では、元の文字ドットデー
タから特定のドット幅の縦画を削除する。ドット幅は、
その文字のドットサイズで頻繁に現れるドット幅とし、
状況によっては複数のドット幅を対象にすることができ
る。削除した縦画データは、開始左上のX、Y座標と長
さでコード化して、別に格納する。図6は、2ドット幅
の縦画を削除した後の文字ドットパターン図である。図
6では、座標(15H,08H)から、長さ16Hの縦
画情報を削除しているが、この削除縦画情報を2バイト
で格納する例を、図7に示す。これで、文字の展開にあ
たっては、一意に復号が可能である。
Therefore, in this step, a vertical image having a specific dot width is deleted from the original character dot data. The dot width is
The dot width that frequently appears in the dot size of the character,
In some situations, multiple dot widths can be targeted. The deleted vertical image data is coded using the X and Y coordinates and the length at the upper left of the start, and stored separately. FIG. 6 is a character dot pattern diagram after deleting a vertical image having a width of 2 dots. In FIG. 6, the vertical image information having a length of 16H is deleted from the coordinates (15H, 08H). An example in which the deleted vertical image information is stored in 2 bytes is shown in FIG. Thus, when the character is expanded, it can be uniquely decoded.

【0045】なお、図8(a)のように縦画と横画が交
差している場合に、図8(b)のように一方的に縦画を
削除したのでは、横画が二本に分断され、XOR工程に
より図8(c)のように横画データが従来の2端点から
4端点へと増加してしまうので、圧縮効率が低下する。
そこでこの場合には図8(d)のように、横画を残し、
横画にかからない縦画のみのドットを削除すると、XO
R工程後は図8(e)のように2端点のみになる。
When the vertical image and the horizontal image intersect as shown in FIG. 8A, if the vertical image is deleted unilaterally as shown in FIG. 8C, the horizontal image data is increased from the conventional two end points to four end points by the XOR process as shown in FIG. 8C, so that the compression efficiency is reduced.
Therefore, in this case, a horizontal image is left as shown in FIG.
If you delete the dots of only the vertical image that does not cover the horizontal image, XO
After the R step, there are only two end points as shown in FIG.

【0046】この結果、本工程を行わないでXOR工程
を実行した場合の白ブロックは図4から58個であるの
に対し、本工程を行った場合は、XOR工程後は、図1
0(a)のようなドットパターンになり、その白ブロッ
ク数は9個増加し、67個になる。また、本例では、削
除縦画数が3本なので、縦画情報のために使われるデー
タ量は、3×2=6バイトである。従って文字データの
容量は 67 − 58 − 6 = 3(バイト) の減少となる。
As a result, when the XOR step is performed without performing this step, the number of white blocks is 58 as shown in FIG. 4, whereas when this step is performed, FIG.
It becomes a dot pattern like 0 (a), and the number of white blocks increases by 9 to 67. Further, in this example, since the number of deleted vertical images is three, the data amount used for vertical image information is 3 × 2 = 6 bytes. Therefore, the capacity of the character data is reduced by 67-58-6 = 3 (bytes).

【0047】(2)ドットスライド工程 図9(a)が、「3」という数字文字を判別分解する前
のドットデータの列である。すでに縦画を一部削除し、
EOR工程を経ている。ここで図内(901)に示した
ように、複数のブロックにデータがまたがっている場
合、ブロックの取り方を上下にずらせば白ブロックが増
加することが予測できる。そこで逆に、文字ドットデー
タ自体を上下に数ドットスライドさせて、白ブロック数
を増加させる。ここではブロックの取り方を、列幅1ド
ット、段長8ドットとしているので、前述の「縦」と同
様に上下スライドとなるが、ブロックの取り方を横長に
した場合には、左右スライドとなる。したがって、以下
では、上下(縦)または左右(横)の所定方向のスライ
ドを代表して上下スライドとする。また、8ドット以上
の上下スライドは8ドット未満の上下スライドに等価変
換できる。また、下スライドと上スライドは互いに等価
変換できる。そこで、以降の処理との関連から、ここで
はすべて、8ドット未満の上スライドに代表させる。
(2) Dot Sliding Step FIG. 9A shows a row of dot data before the number character “3” is discriminated and decomposed. Already deleted some portraits,
It has gone through the EOR process. Here, as shown in (901) in the figure, when data spans a plurality of blocks, it can be predicted that the number of white blocks will increase if the way of taking blocks is shifted up and down. Therefore, conversely, the character dot data itself is slid up and down by several dots to increase the number of white blocks. How to take the block here, a column width of 1 dot, because it is a stage length of 8 dots, the same as the "vertical" of the above-mentioned
Slide up and down like this, but take the block horizontally
If it does, it will slide left and right. Therefore,
Then, slide in the predetermined direction of up and down (vertical) or
Slide up and down on behalf of the computer. Also, vertical slides of 8 dots or more can be equivalently converted to vertical slides of less than 8 dots. Further, the lower slide and the upper slide can be equivalently converted to each other. Therefore, in relation to the subsequent processing, here, all are represented by an upper slide of less than 8 dots.

【0048】図9(b)は、文字ドットデータを3ドッ
ト上スライドさせた後のドットパターンである。上スラ
イドの結果、上からあふれた3段は、そのまま下に付加
する(902)。すなわち、上スライドの結果、各ドッ
トを3ドット分だけ上方向に循環させたことになる。
FIG. 9B shows a dot pattern after the character dot data is slid up by three dots. As a result of the upper slide, the three rows overflowing from the top are directly added to the bottom (902). That is, as a result of the upper slide,
This means that the dots are circulated upward by three dots.

【0049】この結果、本工程を行わないでXOR工程
を実行した場合の白ブロックは92個であるのに対し、
本工程を行った場合は、白ブロック数は8個増加し、1
00個になる。文字パターン復号時には、ドットデータ
を下スライドしなければならないので、何ドットスライ
ドさせるべきか、を示すスライド情報をメモリに格納す
ることが必要となる。スライド量は1〜7ドットの範囲
なので、情報ひとつにつき3ビットが必要となる。従っ
て本例では、文字データの容量は 100 − 92 − (3/8) = 7.6(バ
イト) の減少となる。
As a result, when the XOR step is performed without performing this step, the number of white blocks is 92, whereas
When this step is performed, the number of white blocks increases by eight, and
00 pieces. At the time of character pattern decoding, since the dot data must be slid downward, it is necessary to store slide information indicating how many dots should be slid in the memory. Since the slide amount is in the range of 1 to 7 dots, 3 bits are required for each piece of information. Therefore, in this example, the capacity of the character data is reduced by 100-92- (3/8) = 7.6 (bytes).

【0050】(3)修飾情報削除工程 図10(a)が、縦画削除工程、ドットスライド工程お
よびXOR工程を経て、判別分解する前のドットデータ
の例である。スライドドット数は0である。これは漢字
の32ドットデータの例で、書体は明朝体である。ここ
で図内に丸囲みで示した(A10)部分は、この文字以
外にも多くの32ドット明朝体漢字のこの加工段階にお
いて頻繁に出現するパターンである。本工程では、文字
ドットデータの白ドットブロック数を増加させて、圧縮
率を高めることを目的として、元の文字ドットデータか
ら特定のパターン(書体の文字修飾パターンに依存する
ことから、以下、「修飾パターン」と略す。)を削除す
る。
(3) Modification Information Deletion Step FIG. 10A shows an example of dot data before being discriminated and decomposed through a vertical image deletion step, a dot slide step, and an XOR step. The number of slide dots is 0. This is an example of kanji 32 dot data, and the font is Mincho. Here, the portion (A10) indicated by a circle in the figure is a pattern that frequently appears in this processing stage of many 32-dot Mincho Chinese characters other than this character. In this step, a specific pattern (from the original character dot data, which depends on the character modification pattern of the typeface, will be referred to as “character pattern” below) in order to increase the compression ratio by increasing the number of white dot blocks in the character dot data. Modification pattern ").

【0051】修飾パターン7種を削除した後の文字ドッ
トパターンを図10(b)に示す。
FIG. 10B shows the character dot pattern after the seven kinds of modification patterns are deleted.

【0052】修飾パターン自体のドットパターンは別に
定義することとして、修飾パターンには5ビット程のコ
ードを割り当てて区別する。削除する修飾パターンデー
タは、開始左上のX、Y座標とパターンコードとでコー
ド化して、別に格納する。図11(a)は、図10
(a)A10の修飾パターンを抜き出した図である。こ
の修飾パターンに2進数000001をパターンコード
として与えると、図10(b)は修飾パターン0000
01を座標(1BH,05H)から削除したことにな
る。この削除修飾パターン情報を2バイトで格納する例
を図11(b)に示す。これで文字の展開にあたって
は、一意に復号が可能である。
The dot pattern of the decoration pattern itself is defined separately, and the decoration pattern is distinguished by assigning a code of about 5 bits. The decoration pattern data to be deleted is coded using the upper left X and Y coordinates and the pattern code, and stored separately. FIG. 11A shows FIG.
(A) It is the figure which extracted the modification pattern of A10. When a binary number 000001 is given as a pattern code to this decoration pattern, FIG.
01 has been deleted from the coordinates (1BH, 05H). FIG. 11B shows an example in which the deletion modification pattern information is stored in 2 bytes. With this, when the character is expanded, it can be uniquely decoded.

【0053】この結果、本工程を行わないでXOR工程
を実行した場合の図10(a)にみられる白ブロックは
67個であるのに対し、本工程を行った場合は、図10
(b)のように白ブロックは22個増加し、89個にな
る。また、本例では、削除修飾数が7個なので、修飾情
報のために使われるデータ量は、7×2=14バイトで
ある。
As a result, when the XOR step is performed without performing this step, the number of white blocks seen in FIG. 10A is 67, whereas when this step is performed, FIG.
As shown in (b), the number of white blocks is increased by 22 to 89. Further, in this example, since the number of deletion decorations is 7, the data amount used for the decoration information is 7 × 2 = 14 bytes.

【0054】また修飾パターンのコードを定義するため
にもメモリを割かなければならないが、修飾パターンを
32通り列挙した場合は、1修飾パターンの定義に5バ
イト使ったとすると総計160バイトが必要となる。文
字総数をZとすると、1文字あたり 160/Z(バイ
ト)がオーバヘッドとして文字データの増加要因とな
る。
In order to define the code of the decoration pattern, the memory must be allocated. However, when 32 kinds of decoration patterns are enumerated, a total of 160 bytes is required if 5 bytes are used for defining one decoration pattern. . Assuming that the total number of characters is Z, 160 / Z (bytes) per character causes an increase in character data as overhead.

【0055】文字総数を4000とすると、本例では、
文字データの容量は 89−67−14−(160/4000)=7.96
(バイト) の減少となる。
Assuming that the total number of characters is 4000, in this example,
The capacity of character data is 89−67−14− (160/4000) = 7.96
(Bytes).

【0056】[0056]

【発明の効果】事務用電子機器において一般によく用い
られる32ドット×32ドット明朝体文字データ4,7
41文字の元データ総量は、 128(バイト)×4741(文字)=606,848
(バイト) である。
According to the present invention, 32 dots.times.32 dots Mincho character data 4,7 commonly used in office electronic equipment.
The total original data amount of 41 characters is 128 (bytes) × 4741 (characters) = 606,848
(Bytes).

【0057】それに対し、従来の「判別分解法」による
圧縮を行うと、データ総量は319,791(バイト)
になる。
On the other hand, when compression is performed by the conventional "discriminating decomposition method", the total data amount is 319,791 (bytes).
become.

【0058】したがって圧縮率は 319,791/606,848 = 52.7(%)
である。
Therefore, the compression ratio is 319,791 / 606,848 = 52.7 (%)
It is.

【0059】それに対し、本発明による工程を実際に活
用して「判別分解法」による圧縮を行うと、データ総量
は 291,568(バイト)となる。
On the other hand, when the compression according to the “discriminating decomposition method” is performed by actually utilizing the process according to the present invention, the total amount of data is 291,568 (bytes).

【0060】したがって圧縮率は 291,568/606,848 = 48.0(%)
である。
Accordingly, the compression ratio is 291,568 / 606,848 = 48.0 (%)
It is.

【0061】以上から、圧縮率4.7ポイントの向上が
実現できた。
As described above, an improvement in the compression ratio of 4.7 points was realized.

【0062】一般的に文字ドットデータを記憶装置に格
納するにあたっては、本発明の方法を用いることによ
り、データ容量を大きく圧縮することができる。
In general, when storing character dot data in a storage device, the data capacity can be greatly reduced by using the method of the present invention.

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

【図1】本発明の実施例である、マイコン応用機器の概
略図である。
FIG. 1 is a schematic diagram of a microcomputer application device according to an embodiment of the present invention.

【図2】従来の方法における、文字ドットパターンのブ
ロック分割図である。
FIG. 2 is a block diagram of a character dot pattern in a conventional method.

【図3】従来の方法における、文字ドットデータの圧縮
データ量を示す図である。
FIG. 3 is a diagram showing a compressed data amount of character dot data in a conventional method.

【図4】従来の方法における、XOR工程後の文字ドッ
トパターン図である。
FIG. 4 is a diagram of a character dot pattern after an XOR step in a conventional method.

【図5】実施例における、データ圧縮のフローチャート
である。
FIG. 5 is a flowchart of data compression in the embodiment.

【図6】実施例における、縦画削除工程後の文字ドット
パターン図である。
FIG. 6 is a diagram illustrating a character dot pattern after a vertical image deletion step in the embodiment.

【図7】実施例における、削除縦画情報の格納例を示す
図である。
FIG. 7 is a diagram illustrating a storage example of deleted vertical image information in the embodiment.

【図8】(a)実施例における、縦画削除工程前の文字
ドットパターン図である。 (b)実施例における、縦画削除工程後の文字ドットパ
ターン図である。 (c)実施例における、XOR工程後の文字ドットパタ
ーン図である。 (d)実施例における、改善を加えた縦画削除工程後の
文字ドットパターン図である。 (e)実施例における、改善を加えた縦画削除工程後
の、XOR工程後の文字ドットパターン図である。
FIG. 8A is a diagram of a character dot pattern before a vertical image deletion step in the embodiment. (B) It is a character dot pattern figure after the vertical image deletion process in an Example. (C) In an Example, it is a character dot pattern figure after an XOR process. (D) In an Example, it is a character dot pattern figure after the improved vertical image deletion process. (E) In an Example, it is a character dot pattern figure after the XOR process after the improved vertical image deletion process.

【図9】(a)実施例における、ドットスライド工程前
の文字ドットパターン図である。 (b)実施例における、ドットスライド工程後の文字ド
ットパターン図である。
FIG. 9A is a diagram of a character dot pattern before a dot sliding step in the embodiment. (B) It is a character dot pattern figure after the dot slide process in an Example.

【図10】(a)実施例における、XOR工程後の文字
ドットパターン図である。 (b)実施例における、修飾パターン削除工程後の文字
ドットパターン図である。
FIG. 10A is a diagram of a character dot pattern after an XOR step in the example. (B) It is a character dot pattern figure after the modification pattern deletion process in an Example.

【図11】(a)実施例における、修飾パターンのコー
ド化例を示す図である。 (b)実施例における、削除修飾情報の格納例を示す図
である。
FIG. 11A is a diagram showing an example of coding a decoration pattern in the embodiment. FIG. 14B is a diagram illustrating a storage example of deletion decoration information in the embodiment.

【符号の説明】[Explanation of symbols]

101・・・CPU 102・・・内蔵RAM 103・・・ゲートアレイ 104・・・ROM、文字ドットデータ記憶部 105・・・RAM 106・・・キー入力部 107・・・表示部 108・・・印字部 109・・・電源部 500・・・縦画削除工程 501・・・ドットスライド工程 502・・・XOR工程 503・・・修飾情報工程 504・・・判別分解 901・・・8ドットブロック 902・・・3段ドット列 A01・・・修飾パターン 101: CPU 102: Built-in RAM 103: Gate Array 104: ROM, character dot data storage unit 105: RAM 106: Key input unit 107: Display unit 108: Printing unit 109: Power supply unit 500: Vertical image deletion process 501: Dot slide process 502: XOR process 503: Modification information process 504: Discrimination decomposition 901: 8-dot block 902 ... 3 rows of dot rows A01 ... Modification pattern

フロントページの続き (56)参考文献 特開 平1−159685(JP,A) 特開 昭62−153079(JP,A) 特開 昭60−176085(JP,A) (58)調査した分野(Int.Cl.7,DB名) G09G 5/24 G06F 17/21 G06T 9/00 Continuation of the front page (56) References JP-A-1-159968 (JP, A) JP-A-62-153079 (JP, A) JP-A-60-176085 (JP, A) (58) Fields studied (Int .Cl. 7 , DB name) G09G 5/24 G06F 17/21 G06T 9/00

Claims (16)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字を構成する画素に対応する有効ドッ
トおよび前記文字の背景となる画素に対応する無効ドッ
トから成るドットマトリクスにより構成され前記文字を
表現する文字ドットデータを対象として、所定の複数ド
ット毎のブロックに分割するブロック分割工程と、 分割された各ブロックについて、そのブロック内に前記
有効ドットが含まれるときには、所定の2値のうちの一
方を割り付け、前記有効ドットが含まれないときには、
前記所定の2値のうちの他方を割り付けることにより、
前記所定の2値を示す2値データを前記ブロックの数分
だけ並べた第1圧縮データを作成する第1圧縮データ作
成工程と、 前記有効ドットが含まれる各ブロックについて、前記有
効ドットに前記所定の2値のうちの前記一方を割り付
け、前記無効ドットに前記所定の2値のうちの前記他方
を割り付けることにより、前記所定の2値を示す2値デ
ータを、前記有効ドットが含まれる各ブロックのドット
数の総数分だけ並べた第2圧縮データを作成する第2圧
縮データ作成工程と、 を備え、 前記第1圧縮データおよび前記第2圧縮データに基づい
て、前記文字ドットデータを圧縮した文字データを作成
する文字ドットデータの圧縮方法であって、 仮名、漢字、記号、英字または数字を含む文字の各文字
を表現する文字ドットデータのうちの多数に共通して出
現するドットパターンを、特定ドットパターンとして1
以上定めており、 前記ブロックの分割に先立ち、前記文字ドットデータに
含まれる特定ドットパターンをコード化した特定ドット
パターンデータを作成する特定ドットパターンデータ作
成工程と、 前記特定ドットパターンデータとしてコード化された特
定ドットパターンを、前記文字ドットデータから削除し
て、代用文字ドットデータを作成する特定ドットパター
ン削除工程と、 をさらに備え、 前記ブロックの分割は、前記文字ドットデータの代わり
に前記代用文字ドットデータを対象として行うことを特
徴とする文字ドットデータの圧縮方法。
An effective dot corresponding to a pixel constituting a character.
Invalid dots corresponding to the background pixels of the characters and the characters.
The character is composed of a dot matrix consisting of
Predetermined multiple dots for character dot data to be expressed
A block dividing step of dividing the data into blocks for each unit, and for each of the divided blocks,
When an effective dot is included, one of predetermined two values is used.
When the effective dot is not included,
By allocating the other of the predetermined two values,
The binary data indicating the predetermined binary is equivalent to the number of the blocks.
First compressed data creation to create first compressed data
Forming step, and for each block including the effective dot,
Assign one of the predetermined two values to the effective dot
The other of the predetermined two values is assigned to the invalid dot.
Is assigned, a binary data indicating the predetermined binary is assigned.
Data for each block containing the effective dots.
The second pressure for creating the second compressed data arranged by the total number of numbers
Comprising a reduced data producing step, a, based on the first compressed data and said second compressed data
Create character data by compressing the character dot data
Is a method of compressing character dot data, including characters that include kana, kanji, symbols, alphabetic or numeric characters.
Common to many of the character dot data
The appearing dot pattern is 1 as a specific dot pattern.
As described above, prior to the block division, the character dot data
Specific dots that encode the specific dot patterns included
Creating specific dot pattern data to create pattern data
And a special step coded as the specific dot pattern data.
Delete the fixed dot pattern from the character dot data
To create a substitute character dot data
Further comprising the step of:
In particular, the method is performed for the substitute character dot data.
Character dot data compression method.
【請求項2】 文字を構成する画素に対応する有効ドッ2. An effective dot corresponding to a pixel constituting a character.
トおよび前記文字の背景となる画素に対応する無効ドッInvalid dots corresponding to the background pixels of the characters and the characters.
トから成るドットマトリクスにより構成され前記文字をThe character is composed of a dot matrix consisting of
表現する文字ドットデータを対象として、隣接する各ドFor each character dot data to be represented,
ットについて、双方が異種のドットのときには前記有効When both are different types of dots,
ドットを割り付け、双方が同種のドットのときには前記Allocate dots, and when both are of the same type,
無効ドットを割り付けることにより、前記文字ドットデBy assigning invalid dots, the character dot data
ータと同サイズの排他画素ドットデータを作成する排他To create exclusive pixel dot data of the same size as the data
画素ドットデータ作成工程と、Pixel dot data creation process, 前記排他画素ドットデータを、所定の複数ドット毎のブThe exclusive pixel dot data is stored in a block for each predetermined plurality of dots.
ロックに分割するブロック分割工程と、A block dividing step for dividing into locks; 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成工程と、Process, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dots,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, a binary data indicating the predetermined binary is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成工程と、Compressed data creation process, を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮方法であって、Character dot data compression method, 仮名、漢字、記号、英字または数字を含む文字の各文字Each character of kana, kanji, symbol, letter including alphabet or number
を表現する文字ドットデータのうちの多数に共通して出Common to many of the character dot data
現するドットパターンを、特定ドットパターンとして1The appearing dot pattern is 1 as a specific dot pattern.
以上定めており、Has been determined above, 前記排他画素ドットデータの作成に先立ち、前記文字ドPrior to creation of the exclusive pixel dot data, the character
ットデータに含まれる特定ドットパターンをコード化しEncodes a specific dot pattern included in the
た特定ドットパターンデータを作成する特定ドCreate a specific dot pattern data ットパタPutter
ーンデータ作成工程と、Data creation process, 前記特定ドットパターンデータとしてコード化された特The characteristic coded as the specific dot pattern data
定ドットパターンを、前記文字ドットデータから削除しDelete the fixed dot pattern from the character dot data
て、代用文字ドットデータを作成する特定ドットパターTo create a substitute character dot data
ン削除工程と、Removal process, をさらに備え、Further comprising 前記排他画素ドットデータの作成は、前記文字ドットデThe creation of the exclusive pixel dot data is based on the character dot data.
ータの代わりに前記代用文字ドットデータを対象としてData instead of character data
行うことを特徴とする文字ドットデータの圧縮方法。A method of compressing character dot data.
【請求項3】 前記1以上の特定ドットパターンには、3. The one or more specific dot patterns include:
縦または横の所定方向に所定のドット幅で所定のドットPredetermined dot with specified dot width in specified vertical or horizontal direction
長だけ連なるドットパターンが含まれることを特徴とすIt is characterized in that it includes a dot pattern that is continuous only for a long length.
る、請求項1または2に記載の文字ドットデータの圧縮3. Compression of character dot data according to claim 1 or 2.
方法。Method.
【請求項4】 文字を構成する画素に対応する有効ドッ4. An effective dot corresponding to a pixel constituting a character.
トおよび前記文字の背景となる画素に対応する無効ドッInvalid dots corresponding to the background pixels of the characters and the characters.
トから成るドットマトリクスにより構成され前記文字をThe character is composed of a dot matrix consisting of
表現する文字ドットデータを対象として、所定の複数ドPredetermined multiple dots for character dot data to be expressed
ット毎のブロックに分割するブロック分割工程と、A block dividing step of dividing into blocks for each unit; 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成工程と、Process, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dots,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, a binary data indicating the predetermined binary is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成工程と、Compressed data creation process, を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮方法であって、Character dot data compression method, 前記ブロックの分割に先立ち、前記文字ドットデータをPrior to the block division, the character dot data is
所定方向に循環させるCirculate in a predetermined direction ことにより、前記有効ドットが含In this way, the effective dots are included.
まれるブロックの数を前記文字ドットデータの場合よりThe number of included blocks is
減少させる代用文字ドットデータを作成するドット循環Dot cycling to create substitute character dot data to reduce
工程と、Process and 前記所定方向に循環するドット数を前記所定の2値を示The number of dots circulating in the predetermined direction indicates the predetermined binary value.
す2値データを並べて表現する循環ドット数データ作成Create cyclic dot count data to represent binary data side by side
工程と、Process and をさらに備え、Further comprising 前記ブロックの分割は、前記文字ドットデータの代わりThe block division is performed in place of the character dot data.
に前記代用文字ドットデータを対象として行うことを特In particular, the method is performed for the substitute character dot data.
徴とする文字ドットデータの圧縮方法。Character dot data compression method.
【請求項5】 文字を構成する画素に対応する有効ドッ5. An effective dot corresponding to a pixel constituting a character.
トおよび前記文字の背景となる画素に対応する無効ドッInvalid dots corresponding to the background pixels of the characters and the characters.
トから成るドットマトリクスにより構成され前記文字をThe character is composed of a dot matrix consisting of
表現する文字ドットデータを対象として、隣接する各ドFor each character dot data to be represented,
ットについて、双方が異種のドットのときには前記有効When both are different types of dots,
ドットを割り付け、双方が同種のドットのときには前記Allocate dots, and when both are of the same type,
無効ドットを割り付けることにより、前記文字ドットデBy assigning invalid dots, the character dot data
ータと同サイズの排他画素ドットデータを作成する排他To create exclusive pixel dot data of the same size as the data
画素ドットデータ作成工程と、Pixel dot data creation process, 前記排他画素ドットデータを、所定の複数ドット毎のブThe exclusive pixel dot data is stored in a block for each predetermined plurality of dots.
ロックに分割するブロック分割工程と、A block dividing step for dividing into locks; 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成工程と、Process, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dot,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, binary data indicating the predetermined binary value is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成工程と、Compressed data creation process, を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮方法であって、Character dot data compression method, 前記排他画素ドットデータの作成に先立ち、前記文字ドPrior to creation of the exclusive pixel dot data, the character
ットデータを所定方向Data in a predetermined direction に循環させることにより、前記有By circulating
効ドットが含まれるブロックの数を前記文字ドットデーThe number of blocks containing effective dots is
タの場合より減少させる代用文字ドットデータを作成すCreate substitute character dot data that is smaller than
るドット循環工程と、Dot circulation process, 前記所定方向に循環するドット数を前記所定の2値を示The number of dots circulating in the predetermined direction indicates the predetermined binary value.
す2値データを並べて表現する循環ドット数データ作成Create cyclic dot count data to represent binary data side by side
工程と、Process and をさらに備え、Further comprising 前記排他画素ドットデータの作成は、前記文字ドットデThe creation of the exclusive pixel dot data is based on the character dot data.
ータの代わりに前記代用文字ドットデータを対象としてData instead of character data
行うことを特徴とする文字ドットデータの圧縮方法。A method of compressing character dot data.
【請求項6】 文字を構成する画素に対応する有効ドッ6. An effective dot corresponding to a pixel constituting a character.
トおよび前記文字の背景となる画素に対応する無効ドッInvalid dots corresponding to the background pixels of the characters and the characters.
トから成るドットマトリクスにより構成され前記文字をThe character is composed of a dot matrix consisting of
表現する文字ドットデータを対象として、隣接する各ドFor each character dot data to be represented,
ットについて、双方が異種のドットのときには前記有効When both are different types of dots,
ドットを割り付け、双方が同種のドットのときには前記Allocate dots, and when both are of the same type,
無効ドットを割り付けることにより、前記文字ドットデBy assigning invalid dots, the character dot data
ータと同サイズの排他画素ドットデータを作成する排他To create exclusive pixel dot data of the same size as the data
画素ドットデータ作成工程と、Pixel dot data creation process, 前記排他画素ドットデータを、所定の複数ドット毎のブThe exclusive pixel dot data is stored in a block for each predetermined plurality of dots.
ロックに分割するブロック分割工程と、A block dividing step for dividing into locks; 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成工程と、Process, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dot,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, binary data indicating the predetermined binary value is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成工程と、Compressed data creation process, を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデThe character dot ータを圧縮した文字データを作成Creates compressed character data
する文字ドットデータの圧縮方法であって、Character dot data compression method, 仮名、漢字、記号、英字または数字を含む文字の各文字Each character of kana, kanji, symbol, letter including alphabet or number
を表現する文字ドットデータに基づいて作成される排他Created based on the character dot data that represents
画素ドットデータのうちの多数に共通して出現するドッDots that commonly appear in many of the pixel dot data
トパターンを、特定ドットパターンとして1以上定めてPattern is defined as one or more specific dot patterns.
おり、Yes, 前記ブロックの分割に先立ち、前記排他画素ドットデーPrior to the block division, the exclusive pixel dot data
タに含まれる特定ドットパターンをコード化した特定ドThe specific dot pattern that encodes the specific dot pattern
ットパターンデータを作成する特定ドットパターンデーCreate specific dot pattern data
タ作成工程と、Data creation process, 前記特定ドットパターンデータとしてコード化された特The characteristic coded as the specific dot pattern data
定ドットパターンを、前記排他画素ドットデータから削The constant dot pattern is deleted from the exclusive pixel dot data.
除して、代用排他画素ドットデータを作成する特定ドッSpecific dot to create the substitute exclusive pixel dot data.
トパターン削除工程と、Pattern deletion process, をさらに備え、Further comprising 前記ブロックの分割は、前記排他画素ドットデータの代The block division is performed in place of the exclusive pixel dot data.
わりに前記代用排他画素ドットデータを対象として行うInstead, it is performed on the substitute exclusive pixel dot data.
ことを特徴とする文字ドットデータの圧縮方法。A method of compressing character dot data.
【請求項7】 前記所定の2値は0および1であり、前7. The method according to claim 6, wherein the predetermined binary values are 0 and 1,
記2値データは1ビットで示されるビットデータであるThe binary data is bit data represented by one bit.
ことを特徴とする、請求項1ないし6のいずれかに記載The method according to any one of claims 1 to 6, wherein
の文字ドットデータの圧縮方法。Compression method for character dot data.
【請求項8】 前記有効ドットは黒ドットであり、前記8. The effective dot is a black dot.
無効ドットは白ドットであることを特徴とする、請求項The invalid dot is a white dot.
1ないし7のいずれかに記載の文字ドットデータの圧縮Compression of character dot data according to any of 1 to 7
方法。Method.
【請求項9】 文字を構成する画素に対応する有効ドッ9. An effective dot corresponding to a pixel constituting a character.
トおよび前記文字の背景となる画素に対応する無効ドッInvalid dots corresponding to the background pixels of the characters and the characters.
トから成るドットマトリクスにより構成され前記文字をThe character is composed of a dot matrix consisting of
表現する文字ドットデータを対象として、所定の複数ドPredetermined multiple dots for character dot data to be expressed
ット毎のブロックに分割するブロック分割手段と、Block dividing means for dividing into blocks for each unit, 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成手段と、Means, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dot,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, binary data indicating the predetermined binary value is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成手段と、Means for creating compressed data; を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮装置であって、Character dot data compression device, 仮名、漢字、記号、英字または数字を含む文字の各文字Each character of kana, kanji, symbol, letter including alphabet or number
を表現する文字ドットデータのうちの多数に共通して出Common to many of the character dot data
現するドットパターンを、特定ドットパターンとして1The appearing dot pattern is 1 as a specific dot pattern.
以上定めており、Has been determined above, 前記ブロックの分割に先立ち、前記文字ドットデータにPrior to the block division, the character dot data
含まれる特定ドットパターンをコード化した特定ドットSpecific dots that encode the specific dot patterns included
パターンデータを作成する特定ドットパターンデータ作Creating specific dot pattern data to create pattern data
成手段と、Means, 前記特定ドットパターンデータとしてコード化された特The characteristic coded as the specific dot pattern data
定ドットパターンを、前記文字ドットデータから削除しDelete the fixed dot pattern from the character dot data
て、代用文字ドットデータを作成する特定ドットパターTo create a substitute character dot data
ン削除手段と、Means for deleting をさらに備え、Further comprising 前記ブロックの分割は、前記文字ドットデータの代わりThe block division is performed in place of the character dot data.
に前記代用文字ドットデータを対象として行うことを特In particular, the method is performed for the substitute character dot data.
徴とする文字ドットデータの圧縮装置。Character dot data compression device.
【請求項10】 文字を構成する画素に対応する有効ド10. An effective domain corresponding to a pixel constituting a character.
ットおよび前記文字の背景となる画素に対応する無効ドInvalid pixels corresponding to the pixel and the background pixel of the character.
ットから成るドットマトリクスにより構成され前記文字The character is composed of a dot matrix composed of
を表現する文字ドットデータを対象として、隣接する各For character dot data expressing
ドットについて、双方が異種のドットのときには前記有If the dots are different types of dots,
効ドットを割り付け、双方が同種のドットのときには前Effective dots are assigned, and when both are of the same type,
記無効ドットを割り付けることにより、前記文字ドットBy assigning invalid dots, the character dots
データと同サイズの排他画素ドットデータを作成する排Create exclusive pixel dot data of the same size as the data.
他画素ドットデータ作成手段と、Other pixel dot data creation means, 前記排他画素ドットデータを、所定の複数ドット毎のブThe exclusive pixel dot data is stored in a block for each predetermined plurality of dots.
ロックに分割するブロック分割手段と、Block dividing means for dividing into locks; 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成手段と、Means, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dot,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, binary data indicating the predetermined binary value is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成手段と、Means for creating compressed data; を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮装置であって、Character dot data compression device, 仮名、漢字、記号、英字または数字を含む文字の各文字Each character of kana, kanji, symbol, letter including alphabet or number
を表現する文字ドットデータのうちの多数に共通して出Common to many of the character dot data
現するドットパターンを、特定ドットパターンとして1The appearing dot pattern is 1 as a specific dot pattern.
以上定めており、Has been determined above, 前記排他画素ドットデータの作成に先立ち、前記文字ドPrior to creation of the exclusive pixel dot data, the character
ットデータに含まれる特定ドットパターンをコード化しEncodes a specific dot pattern included in the
た特定ドットパターンデータを作成する特定ドットパタSpecific dot pattern to create specific dot pattern data
ーンデータ作成手段と、Data creation means, 前記特定ドットパターンデータとしてコード化された特The characteristic coded as the specific dot pattern data
定ドットパターンを、前記文字ドットデータから削除しDelete the fixed dot pattern from the character dot data
て、代用文字ドットデータを作成する特定ドットパターTo create a substitute character dot data
ン削除手段と、Means for deleting をさらに備え、Further comprising 前記排他画素ドットデータの作成は、前記文字ドットデThe creation of the exclusive pixel dot data is based on the character dot data.
ータの代わりに前記代用文字ドットデータを対象としてData instead of character data
行うことを特徴とする文字ドットデータの圧縮装置。An apparatus for compressing character dot data.
【請求項11】 前記1以上の特定ドットパターンに11. The one or more specific dot patterns
は、縦または横の所定方向に所定のドット幅で所定のドIs a specified dot width and a specified dot width
ット長だけ連なるドットパターンが含まれることを特徴It is characterized by including a dot pattern that continues only for
とする、請求項9または10に記載の文字ドットデータThe character dot data according to claim 9 or 10,
の圧縮装置。Compression equipment.
【請求項12】 文字を構成する画素に対応する有効ド12. An effective domain corresponding to a pixel constituting a character.
ットおよび前記文字の背景となる画素に対応する無効ドInvalid pixels corresponding to the pixel and the background pixel of the character.
ットから成るドットマトリクスにより構成され前記文字The character is composed of a dot matrix composed of
を表現する文字ドットデータを対象として、所定の複数A predetermined number of character dot data
ドット毎のブロックに分割するブロック分割手段と、Block dividing means for dividing into blocks for each dot, 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成手段と、Means, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dot,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, binary data indicating the predetermined binary value is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成手段と、Means for creating compressed data; を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮装置であって、Character dot data compression device, 前記ブロックの分割に先立ち、前記文字ドットデータをPrior to the block division, the character dot data is
所定方向に循環させることにより、前記有効ドットが含By circulating in a predetermined direction, the effective dots are included.
まれるブロックの数を前記文字ドットデータの場合よりThe number of included blocks is
減少させる代用文字ドットデータを作成するドット循環Dot cycling to create substitute character dot data to reduce
手段と、Means, 前記所定方向に循環するドット数を前記所定の2値を示The number of dots circulating in the predetermined direction indicates the predetermined binary value.
す2値データを並べて表現する循環ドット数データ作成Create cyclic dot count data to represent binary data side by side
手段と、Means, をさらに備え、Further comprising 前記ブロックの分割は、前記文字ドットデータの代わりThe block division is performed in place of the character dot data.
に前記代用文字ドットデータを対象として行うことを特In particular, the method is performed for the substitute character dot data.
徴とする文字ドットデータの圧縮装置。Character dot data compression device.
【請求項13】 文字を構成する画素に対応する有効ド13. An effective domain corresponding to a pixel constituting a character.
ットおよび前記文字の背景となる画素に対応する無効ドInvalid pixels corresponding to the pixel and the background pixel of the character.
ットから成るドットマトリクスにより構成され前記文字The character is composed of a dot matrix composed of
を表現する文字ドットデータを対象として、隣接する各For character dot data expressing
ドットについて、双方が異種のドットのときには前記有If the dots are different types of dots,
効ドットを割り付け、双方が同種のドEffective dots, and both sides ットのときには前Before
記無効ドットを割り付けることにより、前記文字ドットBy assigning invalid dots, the character dots
データと同サイズの排他画素ドットデータを作成する排Create exclusive pixel dot data of the same size as the data.
他画素ドットデータ作成手段と、Other pixel dot data creation means, 前記排他画素ドットデータを、所定の複数ドット毎のブThe exclusive pixel dot data is stored in a block for each predetermined plurality of dots.
ロックに分割するブロック分割手段と、Block dividing means for dividing into locks; 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成手段と、Means, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dot,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, binary data indicating the predetermined binary value is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成手段と、Means for creating compressed data; を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮装置であって、Character dot data compression device, 前記排他画素ドットデータの作成に先立ち、前記文字ドPrior to creation of the exclusive pixel dot data, the character
ットデータを所定方向に循環させることにより、前記有By circulating the set data in a predetermined direction,
効ドットが含まれるブロックの数を前記文字ドットデーThe number of blocks containing effective dots is
タの場合より減少させる代用文字ドットデータを作成すCreate substitute character dot data that is smaller than
るドット循環手段と、Dot circulation means, 前記所定方向に循環するドット数を前記所定の2値を示The number of dots circulating in the predetermined direction indicates the predetermined binary value.
す2値データを並べて表現する循環ドット数データ作成Create cyclic dot count data to represent binary data side by side
手段と、Means, をさらに備え、Further comprising 前記排他画素ドットデータの作成は、前記文字ドットデThe creation of the exclusive pixel dot data is based on the character dot data.
ータの代わりに前記代用文字ドットデータを対象としてData instead of character data
行うことを特徴とする文字ドットデータの圧縮装置。An apparatus for compressing character dot data.
【請求項14】 文字を構成する画素に対応する有効ド14. An effective dot corresponding to a pixel constituting a character.
ットおよび前記文字And the characters の背景となる画素に対応する無効ドInvalid pixels corresponding to background pixels
ットから成るドットマトリクスにより構成され前記文字The character is composed of a dot matrix composed of
を表現する文字ドットデータを対象として、隣接する各For character dot data expressing
ドットについて、双方が異種のドットのときには前記有If the dots are different types of dots,
効ドットを割り付け、双方が同種のドットのときには前Effective dots are assigned, and when both are of the same type,
記無効ドットを割り付けることにより、前記文字ドットBy assigning invalid dots, the character dots
データと同サイズの排他画素ドットデータを作成する排Create exclusive pixel dot data of the same size as the data.
他画素ドットデータ作成手段と、Other pixel dot data creation means, 前記排他画素ドットデータを、所定の複数ドット毎のブThe exclusive pixel dot data is stored in a block for each predetermined plurality of dots.
ロックに分割するブロック分割手段と、Block dividing means for dividing into locks; 分割された各ブロックについて、そのブロック内に前記For each of the divided blocks,
有効ドットが含まれるときには、所定の2値のうちの一When an effective dot is included, one of predetermined two values is used.
方を割り付け、前記有効ドットが含まれないときには、When the effective dot is not included,
前記所定の2値のうちの他方を割り付けることにより、By allocating the other of the predetermined two values,
前記所定の2値を示す2値データを前記ブロックの数分The binary data indicating the predetermined binary is equivalent to the number of the blocks.
だけ並べた第1圧縮データを作成する第1圧縮データ作First compressed data creation to create first compressed data
成手段と、Means, 前記有効ドットが含まれる各ブロックについて、前記有For each block containing the effective dot,
効ドットに前記所定の2値のうちの前記一方を割り付Assign one of the predetermined two values to the effective dot
け、前記無効ドットに前記所定の2値のうちの前記他方The other of the predetermined two values is assigned to the invalid dot.
を割り付けることにより、前記所定の2値を示す2値デIs assigned, binary data indicating the predetermined binary value is assigned.
ータを、前記有効ドットが含まれる各ブロックのドットData for each block containing the effective dots.
数の総数分だけ並べた第2圧縮データを作成する第2圧The second pressure for creating the second compressed data arranged by the total number of numbers
縮データ作成手段と、Means for creating compressed data; を備え、With 前記第1圧縮データおよび前記第2圧縮データに基づいBased on the first compressed data and the second compressed data
て、前記文字ドットデータを圧縮した文字データを作成Create character data by compressing the character dot data
する文字ドットデータの圧縮装置であって、Character dot data compression device, 仮名、漢字、記号、英字または数字を含む文字の各文字Each character of kana, kanji, symbol, letter including alphabet or number
を表現する文字ドットデータに基づいて作成される排他Created based on the character dot data that represents
画素ドットデータのうちの多数に共通して出現するドッDots that commonly appear in many of the pixel dot data
トパターンを、特定ドットパターンとして1以上定めてPattern is defined as one or more specific dot patterns.
おり、Yes, 前記ブロックの分割に先立ち、前記排他画素ドットデーPrior to the block division, the exclusive pixel dot data
タに含まれる特定ドットパターンをコード化した特定ドThe specific dot pattern that encodes the specific dot pattern
ットパターンデータを作成する特定ドットパターンデーCreate specific dot pattern data
タ作成手段と、Data creation means, 前記特定ドットパターンデータとしてコード化された特The characteristic coded as the specific dot pattern data
定ドットパターンを、前記排他画素ドットデータから削The constant dot pattern is deleted from the exclusive pixel dot data.
除して、代用排他画素ドットデータを作成するTo create substitute exclusive pixel dot data 特定ドッSpecific dock
トパターン削除手段と、Pattern deletion means; をさらに備え、Further comprising 前記ブロックの分割は、前記排他画素ドットデータの代The block division is performed in place of the exclusive pixel dot data.
わりに前記代用排他画素ドットデータを対象として行うInstead, it is performed on the substitute exclusive pixel dot data.
ことを特徴とする文字ドットデータの圧縮装置。An apparatus for compressing character dot data.
【請求項15】 前記所定の2値は0および1であり、15. The predetermined binary value is 0 and 1,
前記2値データは1ビットで示されるビットデータであThe binary data is bit data represented by one bit.
ることを特徴とする、請求項9ないし14のいずれかにThe method according to any one of claims 9 to 14, wherein
記載の文字ドットデータの圧縮装置。A device for compressing the described character dot data.
【請求項16】 前記有効ドットは黒ドットであり、前16. The effective dot is a black dot.
記無効ドットは白ドットであることを特徴とする、請求The invalid dot is a white dot.
項9ないし15のいずれかに記載の文字ドットデータのItem 9 to 15
圧縮装置。Compression device.
JP32516193A 1993-12-22 1993-12-22 Method and apparatus for compressing character dot data Expired - Lifetime JP3170125B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32516193A JP3170125B2 (en) 1993-12-22 1993-12-22 Method and apparatus for compressing character dot data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32516193A JP3170125B2 (en) 1993-12-22 1993-12-22 Method and apparatus for compressing character dot data

Publications (2)

Publication Number Publication Date
JPH07181945A JPH07181945A (en) 1995-07-21
JP3170125B2 true JP3170125B2 (en) 2001-05-28

Family

ID=18173704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32516193A Expired - Lifetime JP3170125B2 (en) 1993-12-22 1993-12-22 Method and apparatus for compressing character dot data

Country Status (1)

Country Link
JP (1) JP3170125B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6679836B2 (en) 2002-06-21 2004-01-20 Scimed Life Systems, Inc. Universal programmable guide catheter
US6770027B2 (en) 2001-10-05 2004-08-03 Scimed Life Systems, Inc. Robotic endoscope with wireless interface
US6835173B2 (en) 2001-10-05 2004-12-28 Scimed Life Systems, Inc. Robotic endoscope
US8827894B2 (en) 2000-04-03 2014-09-09 Intuitive Surgical Operations, Inc. Steerable endoscope and improved method of insertion
US9808140B2 (en) 2000-04-03 2017-11-07 Intuitive Surgical Operations, Inc. Steerable segmented endoscope and method of insertion
US10105036B2 (en) 2000-04-03 2018-10-23 Intuitive Surgical Operations, Inc. Connector device for a controllable instrument
US10327625B2 (en) 2000-04-03 2019-06-25 Intuitive Surgical Operations, Inc. Apparatus and methods for facilitating treatment of tissue via improved delivery of energy based and non-energy based modalities
US10512392B2 (en) 2008-02-06 2019-12-24 Intuitive Surgical Operations, Inc. Segmented instrument having braking capabilities

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10105036B2 (en) 2000-04-03 2018-10-23 Intuitive Surgical Operations, Inc. Connector device for a controllable instrument
US11026564B2 (en) 2000-04-03 2021-06-08 Intuitive Surgical Operations, Inc. Apparatus and methods for facilitating treatment of tissue via improved delivery of energy based and non-energy based modalities
US10893794B2 (en) 2000-04-03 2021-01-19 Intuitive Surgical Operations, Inc. Steerable endoscope and improved method of insertion
US10736490B2 (en) 2000-04-03 2020-08-11 Intuitive Surgical Operations, Inc. Connector device for a controllable instrument
US10327625B2 (en) 2000-04-03 2019-06-25 Intuitive Surgical Operations, Inc. Apparatus and methods for facilitating treatment of tissue via improved delivery of energy based and non-energy based modalities
US8827894B2 (en) 2000-04-03 2014-09-09 Intuitive Surgical Operations, Inc. Steerable endoscope and improved method of insertion
US9808140B2 (en) 2000-04-03 2017-11-07 Intuitive Surgical Operations, Inc. Steerable segmented endoscope and method of insertion
US7666135B2 (en) 2001-10-05 2010-02-23 Boston Scientific Scimed, Inc. Robotic endoscope
US8517924B2 (en) 2001-10-05 2013-08-27 Boston Scientific Scimed, Inc. Robotic endoscope with wireless interface
US6835173B2 (en) 2001-10-05 2004-12-28 Scimed Life Systems, Inc. Robotic endoscope
US6770027B2 (en) 2001-10-05 2004-08-03 Scimed Life Systems, Inc. Robotic endoscope with wireless interface
US6679836B2 (en) 2002-06-21 2004-01-20 Scimed Life Systems, Inc. Universal programmable guide catheter
US10512392B2 (en) 2008-02-06 2019-12-24 Intuitive Surgical Operations, Inc. Segmented instrument having braking capabilities
US10952594B2 (en) 2008-02-06 2021-03-23 Intuitive Surgical Operations, Inc. Segmented instrument having braking capabilities

Also Published As

Publication number Publication date
JPH07181945A (en) 1995-07-21

Similar Documents

Publication Publication Date Title
EP0170776B1 (en) Data compression method for storing a complex character font
JP3170125B2 (en) Method and apparatus for compressing character dot data
US5444445A (en) Master + exception list method and apparatus for efficient compression of data having redundant characteristics
JP3106021B2 (en) Pattern data compression method and apparatus and output method and apparatus
JP3278298B2 (en) Bitmap data compression method and compression apparatus
JPS5955762A (en) Printing system
US5966467A (en) System for compressing and decompressing binary representations of dithered images
Coueignoux Character generation by computer
US4972497A (en) Image coding system
US8488894B2 (en) Method and system for dot-matrix font data compression and decompression
JPH06344601A (en) Outputting apparatus and outputting method
US7259891B2 (en) Image compression method, decompression method thereof and program therefor
JPH0818790A (en) Compression system for half tone image
US6088039A (en) Compression of grey scale images of text
US7164802B2 (en) Method for image compression by modified Huffman coding
JP2012213088A (en) Method and system for compressing and decompressing dot-matrix font data by computer
JPH06222747A (en) Font compression device and font restoration device
JP2001502485A (en) Lossless compression and decompression of bitmaps
CN114254719B (en) Anti-counterfeiting two-dimensional code generation method and device
JP2617636B2 (en) Character encoding / decoding device
JPH07282242A (en) Device and method for character font compression
JP2008124632A (en) Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, image encoding program, image decoding program, recording medium recording image encoding program, and recording medium recording image decoding program
JPH0345413B2 (en)
KR960016738B1 (en) Method and apparatus for processing information
JPH06167962A (en) Method and device for compression of font data

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

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

Free format text: PAYMENT UNTIL: 20090316

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100316

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100316

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

EXPY Cancellation because of completion of term