JPH11119763A - Bit map high-efficiency encoding system - Google Patents

Bit map high-efficiency encoding system

Info

Publication number
JPH11119763A
JPH11119763A JP9284168A JP28416897A JPH11119763A JP H11119763 A JPH11119763 A JP H11119763A JP 9284168 A JP9284168 A JP 9284168A JP 28416897 A JP28416897 A JP 28416897A JP H11119763 A JPH11119763 A JP H11119763A
Authority
JP
Japan
Prior art keywords
data
vertical
horizontal
bitmap
intermediate decoded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9284168A
Other languages
Japanese (ja)
Inventor
Jun Okochi
潤 大河内
Joji Naito
丈嗣 内藤
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP9284168A priority Critical patent/JPH11119763A/en
Publication of JPH11119763A publication Critical patent/JPH11119763A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a bit map high-efficiency encoding system which can improve the encoding efficiency. SOLUTION: A laterally successive data detection part 15 scans the character color area of bit map data in a bit map data storage memory 11 laterally and a longitudinally successive data detection part 14 scans the character color area of the bit map data longitudinally. On the basis of the data obtained by weighting those data, lateral and longitudinal intermediate decoded data are generated and stored in an intermediate decoded data storage memory 12. Those intermediate decoded data and the difference data obtained by subtracting those intermediate decoded data from the source data are encoded by a run- length encoder 17. At the time of this run-length encoding, pixels less than pixels, which are not in the character color area, are assigned to the pixels in the character color area.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はビットマップ高能率
符号化方式に係り、特にビットマップデータを保持する
必要のあるすべての装置においてビットマップを高能率
符号化するビットマップ高能率符号化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bitmap high-efficiency encoding system, and more particularly to a bitmap high-efficiency encoding system for efficiently encoding a bitmap in all devices that need to hold bitmap data. .

【0002】[0002]

【従来の技術】従来のビットマップ高能率符号化方式で
は、ビットマップデータ(フォントデータ)を保持する
必要のある装置において、フォントに関する画像データ
であるビットマップデータを符号化して保持するに際
し、記憶容量をできるだけ削減するために、ランレング
ス符号化を行って記憶している。すなわち、従来は例え
ば量子化されたビットマップデータを、予め定めた縦方
向又は横方向に走査して得られたデータに対して、縦方
向又は横方向に連続する画素数を示す可変長の画素と、
連続している画素の値を示す画素と、連続する画素数に
応じた画素数の所定値の画素とからなる符号化出力を得
るランレングス符号化方式で可変長符号化し、得られた
符号化データを画素ストリームとして出力している。
2. Description of the Related Art In a conventional bitmap high-efficiency encoding system, in a device which needs to hold bitmap data (font data), when bitmap data which is image data relating to a font is encoded and held, the data is stored. In order to reduce the capacity as much as possible, run-length encoding is performed and stored. That is, conventionally, for example, variable-length pixels indicating the number of pixels continuous in the vertical or horizontal direction with respect to data obtained by scanning quantized bitmap data in a predetermined vertical or horizontal direction. When,
Variable-length coding using a run-length coding method that obtains a coded output consisting of pixels indicating the value of continuous pixels and pixels having a predetermined number of pixels corresponding to the number of continuous pixels, and the obtained coding Data is output as a pixel stream.

【0003】[0003]

【発明が解決しようとする課題】しかるに、従来のビッ
トマップ高能率符号化方式は、ビットマップデータを符
号化する際に、フォントの特徴に係らず予め定めた縦方
向又は横方向に走査して得られたデータに対して符号化
しているため、符号化効率が悪いという問題がある。
However, in the conventional bitmap high-efficiency encoding method, when encoding bitmap data, scanning is performed in a predetermined vertical or horizontal direction regardless of font characteristics. Since the obtained data is encoded, there is a problem that encoding efficiency is poor.

【0004】本発明は上記の点に鑑みなされたもので、
符号化効率を向上し得るビットマップ高能率符号化方式
を提供することを目的とする。
[0004] The present invention has been made in view of the above points,
It is an object of the present invention to provide a bitmap high-efficiency coding scheme capable of improving coding efficiency.

【0005】[0005]

【課題を解決するための手段】本発明は上記の目的を達
成するため、符号化するビットマップデータを格納する
第1の格納手段と、第1の格納手段により格納されたビ
ットマップデータを縦方向と横方向のそれぞれに別々に
走査し、更に重み付けして得た縦方向と横方向のそれぞ
れの重み付けデータからそれぞれ横方向及び縦方向の長
さが1である縦中間デコードデータと横中間デコードデ
ータをそれぞれ生成する生成手段と、縦中間デコードデ
ータと横中間デコードデータをそれぞれ格納する第2の
格納手段と、第1の格納手段からのビットマップデータ
と第2の格納手段からの縦中間デコードデータ及び横中
間デコードデータとの差分データを演算する演算手段
と、差分データと生成手段により得られた縦中間デコー
ドデータ及び横中間デコードデータとをそれぞれランレ
ングス符号化する符号化手段とを有する構成としたもの
である。
According to the present invention, a first storage means for storing bitmap data to be encoded and a bitmap data stored by the first storage means are vertically stored. Vertical intermediate decode data and horizontal intermediate decode having horizontal and vertical lengths of 1 respectively from vertical and horizontal weighted data obtained by separately scanning in the direction and the horizontal direction and further weighting. Generating means for respectively generating data, second storage means for storing vertical intermediate decode data and horizontal intermediate decode data, respectively, bitmap data from the first storage means, and vertical intermediate decode from the second storage means Calculating means for calculating difference data between the data and the horizontal intermediate decoded data; vertical and intermediate decoded data and horizontal intermediate obtained by the difference data and the generating means; And code data is obtained by a structure having encoding means for run-length encoding, respectively.

【0006】本発明では、符号化する元のフォントのビ
ットマップデータを、横方向及び縦方向のそれぞれにつ
いて走査し、得られた文字領域の長さ情報に関する重み
付けデータを生成した後、横方向が1画素の画素列を使
用する縦中間デコードデータと縦方向が1画素の画素列
を使用する横中間デコードデータと差分データをそれぞ
れ生成するようにしたため、フォントの特徴に応じて縦
中間デコードデータと横中間デコードデータと差分デー
タをランレングス符号化できる。特にこれらのデータは
有色領域の方が非有色領域より短い長さを持つことが多
いので、ランレングス符号化において有色領域に非有色
領域よりも少ないビットを割り当てることでビットマッ
プデータの符号化効率を上げることができる。
In the present invention, the bitmap data of the original font to be encoded is scanned in each of the horizontal and vertical directions, and weighting data relating to the length information of the obtained character area is generated. Since vertical intermediate decoded data using a pixel row of one pixel, horizontal intermediate decoded data using a pixel row of one pixel in the vertical direction, and difference data are generated, the vertical intermediate decoded data is generated according to the characteristics of the font. Run-length encoding can be performed on the horizontal intermediate decoded data and the difference data. In particular, since these data often have a shorter length in the colored area than in the non-colored area, by assigning fewer bits to the colored area in the run-length coding than in the non-colored area, the coding efficiency of the bitmap data can be improved. Can be raised.

【0007】[0007]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面と共に説明する。図1は本発明になるビットマッ
プ高能率符号化方式で用いる符号化装置の一実施の形態
のブロック図を示す。同図に示すように、この実施の形
態の符号化装置は、入力された符号化すべきビットマッ
プデータ(元データ)を格納するビットマップデータ格
納メモリ11と、後述の中間デコードデータを格納する
中間デコードデータ格納メモリ12と、ビットマップ演
算器13と、ビットマップを縦方向に走査し連続する文
字色領域の長さを検出する縦方向連続データ検出部14
と、ビットマップを横方向に走査し連続する文字色領域
の長さを検出する横方向連続データ検出部15と、重み
付け演算を行い、その重み付けデータを格納する重み付
け演算部及びメモリ16と、入力されたデータをランレ
ングス符号化して出力するランレングス符号器17と、
各部を統括的に制御するデータ制御部18とからなり、
これらがバス19を介して互いに接続されている。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an encoding device used in a bitmap efficient coding system according to the present invention. As shown in the figure, the encoding apparatus of this embodiment includes a bitmap data storage memory 11 for storing input bitmap data (original data) to be encoded, and an intermediate memory for storing intermediate decode data to be described later. A decoded data storage memory 12, a bitmap calculator 13, and a vertical continuous data detector 14 that scans the bitmap in the vertical direction and detects the length of a continuous character color area.
A horizontal direction continuous data detection unit 15 that scans the bit map in the horizontal direction and detects the length of a continuous character color area; a weighting operation unit and a memory 16 that performs a weighting operation and stores the weighted data; A run-length encoder 17 for performing run-length encoding on the obtained data and outputting the encoded data;
It comprises a data control unit 18 that controls each unit collectively.
These are connected to each other via a bus 19.

【0008】データ制御部18は、中央処理装置(CP
U)181と、後述する所定の符号化動作を行うために
CPU181が実行するプログラムなどが格納されてい
るリード・オンリ・メモリ(ROM)182と、符号化
アルゴリズムを実行する際に作業領域として用いられる
ランダム・アクセス・メモリ(RAM)183とから構
成されている。データ制御部18は、入力ビットマップ
の文字色領域の横及び縦方向の長さ情報に基づき、その
文字色領域について横方向若しくは縦方向のランレング
ス符号化のいずれかを選択し、ランレングス符号器17
によるランレングス符号化に際して文字色領域の画素に
文字色領域以外の画素より少ない画素数を割り当て、横
方向及び縦方向の長さが1の文字色領域について文字色
領域以外の画素数のみ符号化する。
The data control unit 18 has a central processing unit (CP)
U) 181, a read-only memory (ROM) 182 storing a program executed by the CPU 181 for performing a predetermined encoding operation described later, and a work area for executing an encoding algorithm. And a random access memory (RAM) 183. The data control unit 18 selects either horizontal or vertical run-length encoding for the character color area based on the horizontal and vertical length information of the character color area of the input bitmap, and executes the run-length code. Table 17
In the run-length encoding, a smaller number of pixels are assigned to pixels in the character color area than pixels other than the character color area, and only the number of pixels other than the character color area is encoded for a character color area having a length of 1 in the horizontal and vertical directions. I do.

【0009】この実施の形態の動作の概要について説明
するに、例えば、図2に示す「玉」という漢字のビット
マップデータ(フォントデータ)が入力されてビットマ
ップデータ格納メモリ11に格納された場合、横方向連
続データ検出部15はこのビットマップデータの文字色
領域を横方向に走査し、また縦方向連続データ検出部1
4はこのビットマップデータの文字色領域を縦方向に走
査する。
An outline of the operation of this embodiment will be described. For example, a case where kanji bitmap data (font data) shown in FIG. 2 is input and stored in bitmap data storage memory 11 , The horizontal continuous data detector 15 scans the character color area of the bitmap data in the horizontal direction.
4 scans the character color area of the bitmap data in the vertical direction.

【0010】そして、これらの走査により得られたデー
タと、これらを重み付けして得られたデータとに基づい
て、図3に示すような横方向の中間デコードデータを生
成し、また、図4に示すような縦方向の中間デコードデ
ータを生成して、それぞれ中間デコードデータ格納メモ
リ12に格納する。ただし、図6に示すような縦方向及
び横方向の長さが1の文字領域は、上記の縦方向及び横
方向のいずれの中間デコードデータにも含まないように
する。
[0010] Based on the data obtained by these scans and the data obtained by weighting them, horizontal intermediate decode data as shown in FIG. 3 is generated. The intermediate decode data in the vertical direction as shown is generated and stored in the intermediate decode data storage memory 12, respectively. However, a character area having a length of 1 in the vertical and horizontal directions as shown in FIG. 6 is not included in any of the intermediate decoded data in the vertical and horizontal directions.

【0011】そして、データ制御部18は図3と図4の
中間デコードデータの和の情報(図5)を求めた後、図
2に示す元のビットマップデータと図5に示すこの和の
情報との差分データを求める。この差分データは図6に
示される。続いて、データ制御部18は、ランレングス
符号器17により図3の横方向の中間デコードデータを
横方向にランレングス符号化させ、図4の縦方向の中間
デコードデータを縦方向にランレングス符号化させ、図
6に示す差分データをランレングス符号化させる。な
お、ランレングス符号器17によるランレングス符号化
に際して文字色領域の画素に文字色領域以外の画素より
少ない画素数を割り当てる。
Then, the data control unit 18 obtains the sum information (FIG. 5) of the intermediate decoded data of FIGS. 3 and 4, and then obtains the original bitmap data shown in FIG. 2 and the sum information shown in FIG. And the difference data with respect to. This difference data is shown in FIG. Subsequently, the data control unit 18 causes the run-length encoder 17 to horizontally encode the intermediate decode data in the horizontal direction in FIG. 3 in the horizontal direction, and converts the intermediate decode data in the vertical direction in FIG. 4 to the run-length code in the vertical direction. The difference data shown in FIG. 6 is run-length encoded. Note that, at the time of run-length encoding by the run-length encoder 17, a smaller number of pixels are assigned to pixels in the character color area than pixels outside the character color area.

【0012】この実施の形態では、ランレングス符号化
を縦方向にかける領域と、横方向にかける領域に分解す
るために、元データを格納する元データを格納するメモ
リ11と、中間デコードデータを格納するメモリ12
と、重み付けデータを格納するメモリの3種類のメモリ
を使用する。
In this embodiment, a memory 11 for storing original data for storing original data, and an intermediate decoded data for storing the original data in order to decompose the run length coding into an area to be applied in the vertical direction and an area to be applied in the horizontal direction. Memory 12 to store
And three types of memories for storing weighting data.

【0013】中間デコードデータ格納メモリ12は、縦
方向ランレングスを行う有色領域を記録する縦方向中間
デコードデータと、横方向ランレングスを行う有色領域
を記録する横方向中間デコードデータとの和の中間デコ
ードデータを格納するメモリである。更に、重み付けデ
ータは、ビットマップデータの中の各画素について、縦
方向に連続する長さ情報を要素とする整数配列である縦
重み付けデータと、横方向に連続する長さ情報を要素と
する整数配列である横重み付けデータとを、重み付け演
算部及びメモリ16のメモリ部分に格納される。
The intermediate decode data storage memory 12 stores the intermediate value of the sum of the vertical intermediate decode data for recording the color area for performing the vertical run length and the horizontal intermediate decode data for recording the color area for performing the horizontal run length. This is a memory for storing decoded data. Further, the weighting data includes, for each pixel in the bitmap data, vertical weighting data which is an integer array having length information continuous in the vertical direction as elements, and integer weighting data having length information continuous in the horizontal direction as elements. The horizontal weighting data, which is an array, is stored in the weighting calculation unit and the memory part of the memory 16.

【0014】次に、本実施の形態の動作について更に詳
細に図7のフローチャート等と共に説明する。ビットマ
ップデータ格納メモリ11に入力ビットマップデータ
(元データ)が格納されているものとする。まず、デー
タ制御部11は中間デコードデータ格納メモリ12の中
間デコードデータを初期化する(ステップ101)。
Next, the operation of this embodiment will be described in more detail with reference to the flowchart of FIG. It is assumed that input bitmap data (original data) is stored in the bitmap data storage memory 11. First, the data control unit 11 initializes intermediate decoded data in the intermediate decoded data storage memory 12 (Step 101).

【0015】続いて、元データと中間デコードデータの
差分データの文字色領域を横方向連続データ検出部15
で横方向に走査して、すべての文字色領域の画素を含む
横方向の連続する長さ情報を検出し、それを重み付け演
算部及びメモリ16で横重み付けデータとしてメモリに
格納する(ステップ102)。同様に、元データと中間
デコードデータ配列の差分データの文字色領域を縦方向
連続データ検出部14で縦方向に走査して、すべての文
字色領域の画素を含む縦方向の連続する長さ情報を検出
し、それを重み付け演算部及びメモリ16で縦重み付け
データとしてメモリに格納する(ステップ103)。
Subsequently, the character color area of the difference data between the original data and the intermediate decoded data is detected by the horizontal continuous data detecting unit 15.
To detect horizontal continuous length information including pixels of all the character color areas, and stores it in the memory as horizontal weighting data in the weighting calculation unit and the memory 16 (step 102). . Similarly, the character color area of the difference data between the original data and the intermediate decoded data array is scanned in the vertical direction by the vertical continuous data detection unit 14, and the continuous length information including the pixels of all the character color areas in the vertical direction is obtained. Is stored in the memory as vertical weighting data by the weighting calculation unit and the memory 16 (step 103).

【0016】ここで、最初はステップ101で中間デコ
ードデータ配列を初期化しているので、元データのみが
横方向と縦方向にそれぞれ走査され、重み付け演算部1
6で重み付けデータとされる。例えば、元データが
「工」という漢字である場合、横方向重み付けデータ配
列は図8に示すようになり、縦方向重み付けデータ配列
は図9に示す如くになる。図8中、数値は横方向に連続
する文字色領域の画素数を示し、図9中、数値は縦方向
に連続する文字領域の画素数を示し、また、図8及び図
9中数値の位置は有色の画素位置を示している。
Here, first, since the intermediate decoded data array is initialized in step 101, only the original data is scanned in the horizontal and vertical directions, respectively,
6 is weighted data. For example, when the original data is a Chinese character "", the horizontal weighting data array is as shown in FIG. 8 and the vertical weighting data array is as shown in FIG. In FIG. 8, the numerical value indicates the number of pixels in the character region that is continuous in the horizontal direction, the numerical value in FIG. 9 indicates the number of pixels in the character region that is continuous in the vertical direction, and the positions of the numerical values in FIGS. Indicates a colored pixel position.

【0017】続いて、上記の縦方向重み付けデータ配列
から縦重み付けの最大値maxlenvが求められ(ス
テップ104)、横方向重み付けデータ配列から横重み
付けデータの最大値maxlenhが求められる(ステ
ップ105)。ここでは、縦重み付けデータの最大値m
axlenvは図9に示すように「6」であり、横重み
付けデータの最大値maxlenhは図8に示すように
「5」である。
Subsequently, the maximum value maxlenv of the vertical weighting is obtained from the vertical weighting data array (step 104), and the maximum value maxlenh of the horizontal weighting data is obtained from the horizontal weighting data array (step 105). Here, the maximum value m of the vertical weighting data
axlenv is “6” as shown in FIG. 9, and the maximum value maxlenh of the horizontal weighting data is “5” as shown in FIG.

【0018】続いて、上記のmaxlenvとmaxl
enhの少なくとも一方が2以上であるかどうか判定さ
れ(ステップ106)、どちらか一方が2以上である場
合はmaxlenv≧maxlenhであるかどうか判
定される(ステップ107)。ここでは、maxlen
v=6、maxlenh=5であるので、maxlen
v≧maxlenhであり、よって、元データと中間デ
コードデータ(縦)にランレングスを行うことが決定し
た文字色領域(対応する画素)を縦中間デコードデータ
配列に複写する(ステップ108)。
Subsequently, the above-mentioned maxlenv and maxl
It is determined whether at least one of enh is 2 or more (step 106), and if either one is 2 or more, it is determined whether maxlenv ≧ maxlenh (step 107). Here, maxlen
Since v = 6 and maxlenh = 5, maxlen
Since v ≧ maxlenh, the character color area (corresponding pixel) for which the original data and the intermediate decoded data (vertical) are determined to be run-length is copied to the vertical intermediate decoded data array (step 108).

【0019】しかる後に、縦中間デコードデータ配列と
横中間デコードデータ配列の和をビットマップ演算器1
3で求めてそれを中間デコードデータとして中間デコー
ドデータ格納メモリに格納した後(ステップ109)、
ステップ102に戻り、再び元データとこの中間デコー
ドデータを元に縦重み付けデータを求める。
Thereafter, the sum of the vertical intermediate decode data array and the horizontal intermediate decode data array is compared with the bitmap calculator 1.
3 and store it as intermediate decoded data in the intermediate decoded data storage memory (step 109).
Returning to step 102, vertical weighting data is obtained again based on the original data and the intermediate decoded data.

【0020】なお、maxlenv<maxlenhで
あるときは、元データと中間デコードデータ(横)にラ
ンレングスを行うことが決定した文字色領域(対応する
画素)を横中間デコードデータ配列に複写し(ステップ
108)、縦中間デコードデータ配列と横中間デコード
データ配列の和をビットマップ演算器13で求めてそれ
を中間デコードデータとして中間デコードデータ格納メ
モリに格納する(ステップ109)。
When maxlenv <maxlenh, the character color area (corresponding pixel) for which the run length is determined to be applied to the original data and the intermediate decoded data (horizontal) is copied to the horizontal intermediate decoded data array (step 108), the bitmap calculator 13 calculates the sum of the vertical intermediate decoded data array and the horizontal intermediate decoded data array, and stores this in the intermediate decoded data storage memory as intermediate decoded data (step 109).

【0021】ここで、ステップ102では元データと中
間デコードデータ配列の差分データの文字色領域を横方
向に走査して横方向重み付けデータを生成し、ステップ
103では元データと中間デコードデータ配列の差分デ
ータの文字色領域を縦方向に走査して縦方向重み付けデ
ータを生成するようにしているので、ステップ102及
び103の処理を行う毎に最大値maxlenv又はm
axlenhが低下していき最後にはいずれも1とな
る。最大値maxlenvとmaxlenhがいずれも
1であるとステップ106で判定されると、縦方向、横
方向の有色領域の長さは1なので、非有色領域の中間デ
コードデータのみをランレングス符号器17によりそれ
ぞれランレングス符号化する(ステップ111、11
2)。
In step 102, the character color area of the difference data between the original data and the intermediate decoded data array is scanned in the horizontal direction to generate horizontal weighting data. In step 103, the difference between the original data and the intermediate decoded data array is generated. Since the character color area of the data is scanned in the vertical direction to generate vertical weighted data, the maximum value maxlenv or m is calculated every time the processing in steps 102 and 103 is performed.
The axlenh decreases and finally becomes 1 at the end. If it is determined in step 106 that both the maximum values maxlenv and maxlenh are 1, the length of the colored region in the vertical direction and the horizontal direction is 1, so that only the intermediate decoded data of the non-colored region is processed by the run-length encoder 17. Each is run-length encoded (steps 111 and 11).
2).

【0022】ここで、それぞれについてランレングス符
号化をするが、有色領域は非有色領域と比較し、短い長
さを持つことが多いので、非有色領域より少ない画素を
割り当てることにより、ランレングス符号化の効率を上
げる。最後に、元データと中間デコードデータの差分を
求め(ステップ113)、その差分データをランレング
ス符号化する(ステップ114)。その際、有色領域の
横方向、縦方向の長さは1なので、非有色領域の長さの
みを符号化する。
Here, run-length encoding is performed on each of the pixels. Since a colored region often has a shorter length than a non-colored region, a run-length code is assigned by allocating fewer pixels than the non-colored region. Increase the efficiency of conversion. Finally, the difference between the original data and the intermediate decoded data is obtained (step 113), and the difference data is run-length encoded (step 114). At this time, since the horizontal and vertical lengths of the colored area are 1, only the length of the non-colored area is encoded.

【0023】このような手法を用いるために、単独画素
符号化で符号化される画素の方が元のデータをランレン
グス符号化するよりも符号化効率が良い。そこで、ラン
レングス符号化方向判定を行う際に以下に示す最適化を
行う。元データと中間デコードデータを比較して、縦又
は横方向に連続する有色領域について、その領域の開始
位置、終了位置が一致している場合、すでに中間デコー
ドデータが複写済みであるとみなし、新たにデータを複
写は行わない。
Since such a method is used, pixels coded by single pixel coding have higher coding efficiency than run-length coding of the original data. Therefore, when the run-length encoding direction is determined, the following optimization is performed. By comparing the original data and the intermediate decoded data, if the start position and the end position of the color region that is continuous in the vertical or horizontal direction match, it is considered that the intermediate decoded data has already been copied, and a new No data is copied to

【0024】元データと中間デコードデータとがそれぞ
れ横方向に連続する有色領域について、終了位置と開始
位置の一方のみが一致している場合には、単独画素とし
て取り扱う。元データと中間デコードデータとがそれぞ
れ横方向に連続する有色領域について、その領域の開始
位置と終了位置がいずれも不一致である場合には、複数
の画素として扱う。
If only one of the end position and the start position of a colored area in which the original data and the intermediate decoded data are continuous in the horizontal direction respectively, they are handled as a single pixel. If the start position and the end position of the colored region where the original data and the intermediate decoded data are respectively continuous in the horizontal direction do not coincide with each other, it is treated as a plurality of pixels.

【0025】[0025]

【実施例】次に、本実施例の動作を更に具体的、かつ、
詳細に説明する。図10はアルファベットの”B”とい
うビットマップデータを本発明方式により符号化する場
合の各配列の偏移を示す。最初のステージ1(STAG
E1)では横方向6画素、縦方向7画素のフォント”
B”のビットマップデータ(元データ)201が入力さ
れてビットマップデータ格納メモリ(図1の11)に格
納される。なお、ここでは、1画素1ビットの例を示し
ているが、1画素複数ビットでも同様である。また、中
間デコードデータが初期化されることにより(図7のス
テップ101)、横中間デコードデータ202及び縦中
間デコードデータ203はそれぞれオール0とされる。
Next, the operation of this embodiment will be described in more detail.
This will be described in detail. FIG. 10 shows the shift of each array when the bitmap data "B" of the alphabet is encoded by the method of the present invention. First stage 1 (STAG
In E1), a font of 6 pixels horizontally and 7 pixels vertically is used.
B "bitmap data (original data) 201 is input and stored in the bitmap data storage memory (11 in FIG. 1). Here, an example of one bit per pixel is shown, but one bit per pixel is shown. The same applies to a plurality of bits, and since the intermediate decoded data is initialized (Step 101 in FIG. 7), the horizontal intermediate decoded data 202 and the vertical intermediate decoded data 203 are all set to 0.

【0026】従って、元データ201と横中間デコード
データ202の差分データ、及び元データ201と横中
間デコードデータ202の差分データは、いずれも元デ
ータ201と同じであり、図7のステップ102でこの
差分データの文字色領域を横方向に走査して横方向重み
付けデータを生成すると、図10に204で示すような
横重み付けデータが生成され、図7のステップ103で
文字色領域を縦方向に走査して縦方向重み付けデータを
生成すると、図10に205で示すような縦重み付けデ
ータが生成される。これらの横重み付けデータ204、
縦重み付けデータ205の各画素の値は、元データ20
1の「1」が連続する値を示し、その画素位置は「1」
が存在する画素位置である。
Therefore, the difference data between the original data 201 and the horizontal intermediate decoded data 202 and the difference data between the original data 201 and the horizontal intermediate decoded data 202 are all the same as the original data 201, and this is determined in step 102 in FIG. When the horizontal direction weighting data is generated by scanning the character color area of the difference data in the horizontal direction, the horizontal weighting data as indicated by 204 in FIG. 10 is generated, and the character color area is scanned in the vertical direction in step 103 of FIG. Then, when the vertical weighting data is generated, vertical weighting data as indicated by 205 in FIG. 10 is generated. These horizontal weighting data 204,
The value of each pixel of the vertical weighting data 205 is
"1" of 1 indicates a continuous value, and the pixel position is "1".
Is the pixel position where exists.

【0027】図10に示すように、縦重み付けデータ2
05の最大値maxlenvは「6」であり、横重み付
けデータ204の最大値maxlenhは「4」である
から、これらはいずれも「2」以上で、またmaxle
nv>maxlenhであるから、元データから縦中間
デコードデータにランレングスを行うことが決定した文
字色領域が複写される(図7のステップ104〜10
8)。これにより、縦中間デコードデータは図10に2
06で示すように、元データ201のうち縦重み付けデ
ータ205の最大値の画素位置(ランレングスを行うこ
とが決定した文字色領域)の「1」が複写されたデータ
とされる。
As shown in FIG. 10, the vertical weighting data 2
05 is "6" and the maximum value maxlenh of the horizontal weighting data 204 is "4".
Since nv> maxlenh, the character color area determined to be run-length from the original data to the vertical intermediate decoded data is copied (steps 104 to 10 in FIG. 7).
8). As a result, the vertical intermediate decoded data is 2 in FIG.
As indicated by reference numeral 06, “1” at the pixel position (character color area determined to perform run length) of the maximum value of the vertical weighting data 205 in the original data 201 is copied data.

【0028】一方、横中間デコードデータは図10に2
02で示す元のデータのままである。この縦中間デコー
ドデータ206と横中間デコードデータ202とが加算
されて中間デコードデータとされる(図7のステップ1
09)。
On the other hand, the horizontal intermediate decode data is shown in FIG.
The original data indicated by 02 remains unchanged. The vertical intermediate decoded data 206 and the horizontal intermediate decoded data 202 are added to form intermediate decoded data (step 1 in FIG. 7).
09).

【0029】次に、元データ201と上記の中間デコー
ドデータの差分データが求められる。この差分データ
は、図10にステージ2(STAGE2)の差分データ
として207で示すように、元データ201のうち左か
ら第2列目がオール0とされたデータである。この差分
データ207は横方向に走査され、かつ、重み付けされ
ることにより、図10に208で示される横重み付けデ
ータが生成され(図7のステップ102)、また縦方向
に走査され、かつ、重み付けされることにより、図10
に209で示される縦重み付けデータが生成される(図
7のステップ103)。
Next, difference data between the original data 201 and the above-mentioned intermediate decoded data is obtained. This difference data is data in which the second column from the left in the original data 201 is all 0 as indicated by 207 as difference data of stage 2 (STAGE 2) in FIG. The difference data 207 is scanned in the horizontal direction and weighted to generate horizontal weighting data indicated by 208 in FIG. 10 (step 102 in FIG. 7), and is also scanned in the vertical direction and weighted. As a result, FIG.
209 is generated (step 103 in FIG. 7).

【0030】図10に示すように、縦重み付けデータ2
09の最大値maxlenvは「2」であり、横重み付
けデータ208の最大値maxlenhは「3」である
から、これらはいずれも「2」以上で、またmaxle
nv<maxlenhであるから、元データから横中間
デコードデータにランレングスを行うことが決定した文
字色領域が複写される(図7のステップ104〜10
7、110)。
As shown in FIG. 10, the vertical weighting data 2
09 is “2”, and the maximum value maxlenh of the horizontal weighting data 208 is “3”.
Since nv <maxlenh, the character color area determined to be run-length from the original data to the horizontal intermediate decoded data is copied (steps 104 to 10 in FIG. 7).
7, 110).

【0031】これにより、横中間デコードデータは図1
0に210で示すように、元データ201のうち横重み
付けデータ208の最大値の画素位置(ランレングスを
行うことが決定した文字色領域)の「1」が複写され、
かつ、他の領域はオールゼロとされたデータとされる。
一方、縦中間デコードデータ206は元のままである。
この縦中間デコードデータ206と横中間デコードデー
タ210とが加算されて中間デコードデータとされる
(図7のステップ109)。
As a result, the horizontal intermediate decoded data is
As indicated by 210 at 0, “1” at the pixel position of the maximum value of the horizontal weighting data 208 of the original data 201 (the character color area determined to perform run length) is copied.
The other areas are all zero data.
On the other hand, the vertical intermediate decoded data 206 remains unchanged.
The vertical intermediate decoded data 206 and the horizontal intermediate decoded data 210 are added to form intermediate decoded data (step 109 in FIG. 7).

【0032】次に、元データ201と上記の中間デコー
ドデータの差分データが求められる。この差分データ
は、図10にステージ3(STAGE3)の差分データ
として211で示すように、元データ201のうち第1
行目、第3行目及び第6行目がオール0とされたデータ
である。この差分データ211は横方向に走査され、か
つ、重み付けされることにより、図10に212で示さ
れる横重み付けデータが生成され(図7のステップ10
2)、また縦方向に走査され、かつ、重み付けされるこ
とにより、図10に213で示される縦重み付けデータ
が生成される(図7のステップ103)。
Next, difference data between the original data 201 and the above-mentioned intermediate decoded data is obtained. This difference data is the first data of the original data 201 as indicated by 211 as the difference data of the stage 3 (STAGE 3) in FIG.
The third, sixth, and sixth rows are all 0 data. The difference data 211 is scanned in the horizontal direction and weighted to generate horizontal weighting data indicated by 212 in FIG. 10.
2) In addition, by performing vertical scanning and weighting, vertical weighting data indicated by 213 in FIG. 10 is generated (step 103 in FIG. 7).

【0033】図10に示すように、縦重み付けデータ2
13の最大値maxlenvは「2」であり、横重み付
けデータ212の最大値maxlenhは「1」である
から、maxlenvが「2」以上で、またmaxle
nv>maxlenhであるから、元データから縦中間
デコードデータにランレングスを行うことが決定した文
字色領域が複写される(図7のステップ104〜10
8)。
As shown in FIG. 10, the vertical weighting data 2
13 is “2”, and the maximum value maxlenh of the horizontal weighting data 212 is “1”, so that the maximum value maxlenv is “2” or more, and
Since nv> maxlenh, the character color area determined to be run-length from the original data to the vertical intermediate decoded data is copied (steps 104 to 10 in FIG. 7).
8).

【0034】これにより、縦中間デコードデータは図1
0に214で示すように、元データ201のうち縦重み
付けデータ213の最大値の画素位置(ランレングスを
行うことが決定した文字色領域)の「1」が、最新の縦
中間デコードデータ206に複写されたデータとされ
る。
As a result, the vertically intermediate decoded data is
As indicated by 214 at 0, “1” at the pixel position of the maximum value of the vertical weighting data 213 (the character color area determined to perform run length) in the original data 201 is included in the latest vertical intermediate decoded data 206. The data is copied.

【0035】一方、横中間デコードデータは図10に2
10で示す元のデータのままである。この縦中間デコー
ドデータ214と横中間デコードデータ210とが加算
されて中間デコードデータとされる(図7のステップ1
09)。
On the other hand, the horizontal intermediate decoded data is shown in FIG.
The original data indicated by 10 remains. The vertical intermediate decoded data 214 and the horizontal intermediate decoded data 210 are added to form intermediate decoded data (step 1 in FIG. 7).
09).

【0036】次に、元データ201と上記の中間デコー
ドデータの差分データが求められる。この差分データ
は、図10にステージ4(STAGE4)の差分データ
として215で示すように、元データ201のうち2行
目の6画素目のみが1で他は0とされたデータである。
従って、この差分データ215が横方向に走査され、か
つ、重み付けされることにより、差分データ215と同
じ横重み付けデータが生成され(図7のステップ10
2)、また縦方向に走査され、かつ、重み付けされるこ
とにより、差分データ215と同じ横重み付けデータが
生成される(図7のステップ103)。
Next, difference data between the original data 201 and the above-mentioned intermediate decoded data is obtained. This difference data is data in which only the sixth pixel in the second row of the original data 201 is 1 and the others are 0, as indicated by 215 as difference data of stage 4 (STAGE 4) in FIG.
Therefore, the difference data 215 is scanned in the horizontal direction and weighted, so that the same horizontal weighted data as the difference data 215 is generated (step 10 in FIG. 7).
2) Also, the same horizontal weighting data as the difference data 215 is generated by being scanned and weighted in the vertical direction (step 103 in FIG. 7).

【0037】これにより得られた横重み付けデータの最
大値maxlenhと縦重み付けデータの最大値max
lenvはいずれも「1」であるので、まず、縦中間デ
コードデータ214をランレングス符号化する(図7の
ステップ106、111)。これにより、図10に21
7で示すように、ランレングス符号化出力”7,6,2
5,2,2”が得られる。
The maximum value maxlenh of the horizontal weighting data and the maximum value max of the vertical weighting data thus obtained are obtained.
Since both lenv are “1”, first, the vertical intermediate decoded data 214 is run-length encoded (steps 106 and 111 in FIG. 7). As a result, FIG.
7, the run-length coded output “7, 6, 2”
5, 2, 2 "are obtained.

【0038】続いて、横中間デコードデータ210をラ
ンレングス符号化され(図7のステップ112)、これ
により図10に218で示すように、ランレングス符号
化出力”2,3,9,3,15,3,7”が得られる。
更に、元データ201と中間デコードデータ210及び
214との差分データが求められ(図7のステップ11
3)、これにより図10に216で示すステージ5(S
TAGE5)の差分データが得られ、この単独画素の差
分データ216がランレングス符号化される(図7のス
テップ114)。これにより、図10に219で示すよ
うに、ランレングス符号化出力”11,30”が得られ
る。
Subsequently, the horizontal intermediate decoded data 210 is run-length coded (step 112 in FIG. 7), whereby the run-length coded output "2,3,9,3" as shown at 218 in FIG. 15, 3, 7 "are obtained.
Further, difference data between the original data 201 and the intermediate decoded data 210 and 214 is obtained (step 11 in FIG. 7).
3), whereby the stage 5 (S
TAG5) is obtained, and the difference data 216 of the single pixel is run-length encoded (step 114 in FIG. 7). As a result, as shown by reference numeral 219 in FIG. 10, a run-length encoded output “11, 30” is obtained.

【0039】このように、本発明の実施の形態及び実施
例では、漢字の場合、縦及び横方向に連続する文字色領
域が多いことに着目して符号化効率を上げているため、
従来に比べて小さい容量の記憶装置でビットマップを再
生できる。
As described above, in the embodiments and examples of the present invention, in the case of Chinese characters, the encoding efficiency is increased by focusing on the fact that there are many character color regions that are continuous in the vertical and horizontal directions.
A bit map can be reproduced with a storage device having a smaller capacity than before.

【0040】因みに、24×24画素フォント(JIS
X0208)、全文字数6877文字に対して、元デ
ータ、縦方向と横方向の良い方のランレングス符号化、
本発明方式によるランレングス符号化をそれぞれ行った
ときの総画素数、1文字あたりの画素数をそれぞれまと
めると表1に示すようになることが確かめられた。
Incidentally, a 24 × 24 pixel font (JIS
X0208), the original data, the better run-length encoding in the vertical and horizontal directions for the total of 6877 characters,
It was confirmed that the total number of pixels and the number of pixels per character when run-length encoding was performed according to the method of the present invention are as shown in Table 1.

【0041】[0041]

【表1】 なお、上記の表1において、「縦方向と横方向の良い方
のランレングス符号化」とは、各文字フォントのビット
マップデータのそれぞれについて、縦方向のみのランレ
ングス符号化と横方向のみのランレングス符号化を行
い、各文字フォント毎に符号化出力のうち、画素数の少
ない方を選択した符号化を意味する。
[Table 1] In Table 1 above, “the better run-length encoding in the vertical direction and the horizontal direction” means, for each bitmap data of each character font, the run-length encoding only in the vertical direction and the run-length encoding only in the horizontal direction. Run-length encoding means encoding in which the smaller number of pixels is selected from the encoded output for each character font.

【0042】更に、1文字単位で元データの画素数を上
限に圧縮、非圧縮を行うことにより、符号化効率を上げ
ることができる。
Further, by performing compression and non-compression on the basis of the number of pixels of the original data in units of one character, the coding efficiency can be improved.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
従来に比べて符号化効率を上げることかできるため、ビ
ットマップデータを符号化する際に必要な記憶装置の記
憶容量を従来に比べて小さくすることができ、よって従
来に比べて比較的簡単で安価な構成により符号化ができ
る。
As described above, according to the present invention,
Since the encoding efficiency can be increased as compared with the related art, the storage capacity of the storage device required for encoding the bitmap data can be reduced as compared with the related art, and therefore, it is relatively simple compared with the related art. Encoding can be performed with an inexpensive configuration.

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

【図1】本発明になるビットマップ高能率符号化方式で
用いる符号化装置の一実施の形態のブロック図である。
FIG. 1 is a block diagram of an embodiment of an encoding device used in a bitmap efficient encoding method according to the present invention.

【図2】符号化する元のフォントの一例を示す図であ
る。
FIG. 2 is a diagram illustrating an example of an original font to be encoded.

【図3】図2のフォントを横方向に走査して得られるビ
ットマップを示す図である。
FIG. 3 is a diagram showing a bitmap obtained by scanning the font of FIG. 2 in the horizontal direction.

【図4】図2のフォントを縦方向に走査して得られるビ
ットマップを示す図である。
FIG. 4 is a diagram showing a bitmap obtained by scanning the font of FIG. 2 in the vertical direction.

【図5】図3と図4のビットマップの和を示す図であ
る。
FIG. 5 is a diagram showing the sum of the bitmaps of FIGS. 3 and 4;

【図6】図2と図5のビットマップの差を示す図であ
る。
FIG. 6 is a diagram showing a difference between the bitmaps of FIGS. 2 and 5;

【図7】本発明方式の一実施の形態の動作説明用フロー
チャートである。
FIG. 7 is a flowchart for explaining the operation of the embodiment of the method of the present invention.

【図8】横方向重み付けデータ配列の一例を示す図であ
る。
FIG. 8 is a diagram showing an example of a horizontal weighting data array.

【図9】縦方向重み付けデータ配列の一例を示す図であ
る。
FIG. 9 is a diagram illustrating an example of a vertical weighting data array.

【図10】本発明の一実施例のデータの偏移を示す図で
ある。
FIG. 10 is a diagram showing data shift according to an embodiment of the present invention.

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

11 ビットマップデータ格納メモリ(第1の格納手
段) 12 中間デコードデータ格納メモリ(第2の格納手
段) 13 ビットマップ演算器(演算手段) 14 縦方向連続データ検出器(生成手段) 15 横方向連続データ検出器(生成手段) 16 重み付け演算部及びメモリ(生成手段) 17 ランレングス符号器(符号化手段) 18 データ制御部(符号化手段) 201 元データ 202、210 横中間デコードデータ 203、206、214 縦中間デコードデータ 204、208、212 横重み付けデータ 205、209、213 縦重み付けデータ 207、211、215、216 差分データ
11 Bitmap data storage memory (first storage means) 12 Intermediate decoded data storage memory (second storage means) 13 Bitmap calculator (calculation means) 14 Vertical direction continuous data detector (generation means) 15 Horizontal direction continuous Data detector (generating means) 16 weighting operation part and memory (generating means) 17 run-length encoder (encoding means) 18 data control part (encoding means) 201 original data 202, 210 horizontal intermediate decoded data 203, 206; 214 Vertical intermediate decode data 204, 208, 212 Horizontal weight data 205, 209, 213 Vertical weight data 207, 211, 215, 216 Difference data

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 符号化するビットマップデータを格納す
る第1の格納手段と、 前記第1の格納手段により格納された前記ビットマップ
データを縦方向と横方向のそれぞれに別々に走査し、更
に重み付けして得た縦方向と横方向のそれぞれの重み付
けデータからそれぞれ横方向及び縦方向の長さが1であ
る縦中間デコードデータと横中間デコードデータをそれ
ぞれ生成する生成手段と、 縦中間デコードデータと横中間デコードデータをそれぞ
れ格納する第2の格納手段と、 前記第1の格納手段からの前記ビットマップデータと前
記第2の格納手段からの縦中間デコードデータ及び横中
間デコードデータとの差分データを演算する演算手段
と、 前記差分データと前記生成手段により得られた縦中間デ
コードデータ及び横中間デコードデータとをそれぞれラ
ンレングス符号化する符号化手段とを有することを特徴
とするビットマップ高能率符号化方式。
A first storage unit for storing bitmap data to be encoded; and a bitmap data stored by the first storage unit, which is separately scanned in a vertical direction and a horizontal direction, respectively. Generating means for respectively generating vertical intermediate decode data and horizontal intermediate decode data whose horizontal and vertical lengths are 1 from the weighted vertical and horizontal weight data obtained by weighting, respectively, vertical intermediate decode data And second intermediate storage means for storing horizontal and intermediate decoded data, respectively; difference data between the bitmap data from the first storage means and the vertical and horizontal intermediate decoded data from the second storage means. Computing means for computing the difference data and the vertical intermediate decoded data and the horizontal intermediate decoded data obtained by the generating means. Bitmap high efficiency coding method, characterized in that it comprises a coding means for run-length encoding, respectively Re.
【請求項2】 前記生成手段は、前記ビットマップデー
タを縦方向に走査して得られた各画素の値のうち同じ値
が連続する個数をその画素位置に配置した縦方向重み付
けデータと、前記ビットマップデータを横方向に走査し
て得られた各画素の値のうち同じ値が連続する個数をそ
の画素位置に配置した横方向重み付けデータとを生成
し、これら縦方向重み付けデータ及び横方向重み付けデ
ータのうち少なくとも一方の重み付けデータの最大値が
2以上のときには、最大値が大きい方の重み付けデータ
のその最大値領域に、前記第1の格納手段により格納さ
れた前記ビットマップデータの対応する領域の画素値を
複写したデータを、前記第2の格納手段に格納されてい
る前記縦又は横中間デコードデータとして更新する手段
であることを特徴とする請求項1記載のビットマップ高
能率符号化方式。
2. The method according to claim 1, wherein the generation unit includes: a vertical weighting data in which the number of consecutive same values among pixel values obtained by vertically scanning the bitmap data is arranged at the pixel position; Horizontally weighted data in which the number of consecutive same values among the values of each pixel obtained by scanning the bitmap data in the horizontal direction are generated at the pixel position, and these vertical weighted data and horizontal weighted data are generated. When the maximum value of at least one of the weight data is 2 or more, the maximum value area of the weight data having the larger maximum value corresponds to the area corresponding to the bitmap data stored by the first storage means. And a means for updating data obtained by copying the pixel values of the above as the vertical or horizontal intermediate decode data stored in the second storage means. 2. The high efficiency bitmap encoding method according to claim 1, wherein
【請求項3】 前記符号化手段は、前記差分データと縦
中間デコードデータと横中間デコードデータの文字色領
域の画素に、非文字色領域の画素より少ないビット数を
割り当ててランレングス符号化することを特徴とする請
求項1又は2記載のビットマップ高能率符号化方式。
3. The encoding means executes run-length encoding by assigning a smaller number of bits to pixels in a character color area of the difference data, the vertical intermediate decode data, and the horizontal intermediate decode data than pixels in a non-character color area. 3. The highly efficient bitmap encoding method according to claim 1, wherein
JP9284168A 1997-10-17 1997-10-17 Bit map high-efficiency encoding system Pending JPH11119763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9284168A JPH11119763A (en) 1997-10-17 1997-10-17 Bit map high-efficiency encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9284168A JPH11119763A (en) 1997-10-17 1997-10-17 Bit map high-efficiency encoding system

Publications (1)

Publication Number Publication Date
JPH11119763A true JPH11119763A (en) 1999-04-30

Family

ID=17675072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9284168A Pending JPH11119763A (en) 1997-10-17 1997-10-17 Bit map high-efficiency encoding system

Country Status (1)

Country Link
JP (1) JPH11119763A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009060317A (en) * 2007-08-31 2009-03-19 Ricoh Co Ltd Image data encoding apparatus, image data encoding method, image forming apparatus, image forming method, image data decoding apparatus, and image data decoding method
JP2012005076A (en) * 2010-06-21 2012-01-05 Fujitsu Ltd Character image compression apparatus and character image restoration apparatus, character image compression method and character image restoration method, and character image compression program and character image restoration program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009060317A (en) * 2007-08-31 2009-03-19 Ricoh Co Ltd Image data encoding apparatus, image data encoding method, image forming apparatus, image forming method, image data decoding apparatus, and image data decoding method
JP2012005076A (en) * 2010-06-21 2012-01-05 Fujitsu Ltd Character image compression apparatus and character image restoration apparatus, character image compression method and character image restoration method, and character image compression program and character image restoration program

Similar Documents

Publication Publication Date Title
JP2940496B2 (en) Pattern matching encoding apparatus and method
JP4366408B2 (en) Graphic image compression system and method
JP3108479B2 (en) Encoding / decoding method and apparatus therefor
WO2004068844A1 (en) Image compression method, image restoration method, program, and apparatus
JP2001203897A (en) Pattern-matching encoding device and its method
JP2670273B2 (en) Image processing device
JP2534276B2 (en) Original image pel signal processing method
JP3278298B2 (en) Bitmap data compression method and compression apparatus
EP0602818B1 (en) Dot data compression and expansion method and apparatus
US7259891B2 (en) Image compression method, decompression method thereof and program therefor
JPH06344601A (en) Outputting apparatus and outputting method
JPH11119763A (en) Bit map high-efficiency encoding system
US20040223654A1 (en) Methods and apparatus for data compression
JP3213012B2 (en) Image data encoding and decoding method
JP3261208B2 (en) Picture information prediction encoding and decoding apparatus
JPH1013842A (en) Markov model image coder
JPH1117959A (en) Run length coding method for binary image and recording medium storing run length coding program
US6757440B2 (en) Methods and apparatus for data compression
JPH1127540A (en) Image coding/decoding method and its system
JP3123795B2 (en) Encoding device and decoding device using arithmetic code
JP2000224422A (en) Encoding method and encoder using pattern matching
JP3146092B2 (en) Encoding device and decoding device
JP2009188995A (en) Image processing apparatus and image processing method
JP2001078042A (en) Picture expansion processing device and picture compression processing device
JP2002077627A (en) Image encoding method, image encoding device, image decoding method, image decoding device, image forming device, and recording medium