JPH0197067A - Picture data compressing and expanding system - Google Patents

Picture data compressing and expanding system

Info

Publication number
JPH0197067A
JPH0197067A JP62253564A JP25356487A JPH0197067A JP H0197067 A JPH0197067 A JP H0197067A JP 62253564 A JP62253564 A JP 62253564A JP 25356487 A JP25356487 A JP 25356487A JP H0197067 A JPH0197067 A JP H0197067A
Authority
JP
Japan
Prior art keywords
pattern
data
image data
compressed
memory
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
JP62253564A
Other languages
Japanese (ja)
Inventor
Hajime Kikuta
元 菊田
Yoshito Hagiwara
萩原 義人
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.)
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering 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 Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP62253564A priority Critical patent/JPH0197067A/en
Publication of JPH0197067A publication Critical patent/JPH0197067A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To efficiently compress picture data including data of inefficient regulating ratio such as half tone by dividing picture data into a part where the repetition of a same pattern continues and a part except for said part, and compressing and expanding them i separate forms. CONSTITUTION:A picture coding processor 1 detects a repeating pattern where the repetition of the same pattern in picture data from a picture data memory 10 continues, compresses and encodes picture data in said part by the system based on the regularity of the pattern, and stores it in the area 12 of a work memory 5. The compression encoding is executed by the system including the repeating pattern and the number of repeating times. Picture data in the non- repeating pattern part is compressed and encoded by an MH system or an MR system and the like, and is stored in the area 11 if the memory 5. A repeating pattern decoding processor 2 decodes compressed and encoded data in the area 12, and a picture decoding processor 3 compressed and encoded data in the area 11. They synthesize and store data in a dot pattern memory 4 based on addresses corresponding to respective bits.

Description

【発明の詳細な説明】 〔鉱業上の利用分野〕 本発明は、画像データの圧縮伸長を行う情報処理システ
ムに係り、特に、ハーフトーン等小さなパターンの繰返
しを含む画像データを圧縮伸長する九めに用いて好適な
画像データ圧縮伸長方式に関する。
[Detailed Description of the Invention] [Field of Application in Mining] The present invention relates to an information processing system that compresses and expands image data, and particularly relates to an information processing system that compresses and expands image data that includes repeating small patterns such as halftones. The present invention relates to an image data compression/expansion method suitable for use in.

〔従来の技術〕[Conventional technology]

画像データの圧縮伸長方式に関する従来技術として、例
えば、「シー・シー・アイ・ティー・ティー レッドブ
ック(CCITT  几gDBOOK)Vol、■」に
記載されている一矢ランレングス符号化方式であるM 
H(Modif ied −Huffman )方式及
び二次元符号化方式であるM R(Modified−
RBAD )方式等が知られている・ 〔発明が解決しようとする問題点〕 前記従来技術は、=ygデータ、において、ノ’−7ト
ーン等小さなパターンが繰返兄される部分が多くなると
、この部分における画像データの圧縮効率が恐く、圧縮
符号化後のデータ証が増大してしまうという問題点を有
している。
As a conventional technique related to the image data compression/expansion method, for example, M is a one-arrow run-length encoding method described in "CCITT Red Book (CCITT 几gDBOOK) Vol.
H (Modified-Huffman) method and MR (Modified-Huffman) method, which is a two-dimensional encoding method.
[Problems to be Solved by the Invention] In the prior art, when there are many parts in which small patterns such as 0'-7 tones are repeated in =yg data, There is a problem in that the compression efficiency of the image data in this part is low, and the data evidence after compression encoding increases.

本発明の目的は、前記従来技術の問題点を解決し、ハー
フトーン等の小さなパターンか繰返えされる画像データ
の部分を効率よく圧縮し、圧縮符号化後のデータを大幅
に削減することが可能な画像データ圧縮伸長方式を提供
することにある。
An object of the present invention is to solve the problems of the prior art described above, to efficiently compress small patterns such as halftones, or portions of image data that are repeated, and to significantly reduce the amount of data after compression encoding. The object of the present invention is to provide a possible image data compression/expansion method.

〔問題点を解決するための手段〕[Means for solving problems]

本発明によれば、前記目的は、小さなパターンが繰返え
される部分の画像データを、元の画像データより分離し
、この分離された部分の画像データをパターンの規則性
を用いたアルゴリズムで圧縮し、元の画像データの繰返
しパターンのあった部分にスペースデータな埋め込み、
このスペースデータな温め込んだ元のデータを従来方式
により圧縮することにより達成される。
According to the present invention, the object is to separate image data in a portion where small patterns are repeated from the original image data, and compress the image data in the separated portion using an algorithm using the regularity of the pattern. Then, embed space data in the part of the original image data where there was a repeating pattern,
This is achieved by compressing the warmed-up original data using a conventional method.

〔作 用〕[For production]

元の画像、データは、そのmmデータの圧縮を行う前に
、同一パターンが複数回連続して繰返えされる部分の画
像データが抽出され、そ゛の抽出され九画鐵データの部
分に、その画像データI(代ってスペースデータが埋め
込まれる。このスペースデータが埋込まれた画像データ
は、従来技術によるMH方式あるいはMa方式により圧
縮される。この圧縮は、元の画像データをそのまま圧縮
する場合に比較し、効率よく行うことができる。また、
抽出された同一パターンの繰返し部分の画像データは、
繰返しの規則性に基づいて別に圧縮される。
For the original image and data, before compressing the mm data, the image data of the part where the same pattern is repeated several times in succession is extracted, and the extracted 9-stroke data part is Image data I (space data is embedded instead. Image data in which this space data is embedded is compressed by the MH method or Ma method according to the conventional technology. This compression compresses the original image data as it is. This can be done more efficiently than in other cases.Also,
The extracted image data of the repeated part of the same pattern is
It is compressed separately based on the regularity of repetition.

これにより、−元の画像データは、そのまま圧縮するよ
シ効率よく圧縮され、圧縮符号化後のデータ量は、大幅
に削減されたものとなる。
As a result, the original image data is compressed as efficiently as it is, and the amount of data after compression encoding is significantly reduced.

また、伸長処理において、繰返し部分の圧縮データは、
圧縮処理時に付加された元の画像データ内の位置情報に
基づいて、繰返し部分を抽出した元の1jIIi鍬デー
タと合成することにより、元の画はデータを復元する。
Also, in the decompression process, the compressed data of the repeated part is
The original image data is restored by combining the repeated portion with the extracted original 1jIIi hoe data based on the position information in the original image data added during compression processing.

、〔実施例〕 以下、本発明による画家データ圧縮伸長方式の一実施例
を図面によ夕詳細に説明する。
, [Embodiment] Hereinafter, an embodiment of the artist data compression/expansion method according to the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例の全体の構成を示すプ田ツク
図、第2図は画像データから繰返しパターンを抽出する
処理を説明するフローチャート、縞3図は繰返しパター
ンの圧縮データのフォーマット例を示す図、第4図は圧
縮データを復号する繰返しパターン復号化プロセッサの
構成を示すブラック図、第5図は制御情報と圧縮データ
を格納するメモリの構成図である。第1図、第4図、第
5図において、1は画像符号化プロセッサ、2は繰返し
パターン復号化プロセッサ、3は画像復号化プロセッサ
、4はドットパターンメ峰す、5は圧縮データメモリ、
10は画像データメ篭り、20はパターンレジスタ、2
1はカウンタ、22はXアドレスレジスタ、23はYア
ドレスレジスタ、24はパターン長レジスタ、25は制
御回路である。
Fig. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, Fig. 2 is a flowchart explaining the process of extracting a repeating pattern from image data, and Fig. 3 shows the format of compressed data of the repeating pattern. FIG. 4 is a black diagram showing the configuration of a repetitive pattern decoding processor that decodes compressed data, and FIG. 5 is a configuration diagram of a memory that stores control information and compressed data. 1, 4, and 5, 1 is an image encoding processor, 2 is a repetitive pattern decoding processor, 3 is an image decoding processor, 4 is a dot pattern processor, 5 is a compressed data memory,
10 is an image data storage, 20 is a pattern register, 2
1 is a counter, 22 is an X address register, 23 is a Y address register, 24 is a pattern length register, and 25 is a control circuit.

本発明の一実施例による画像データ圧縮伸長方式は、第
1図に示すように、画隊データメ゛モリlO内の画像デ
ータを受取シ、画像データよ)繰返しパターン部分の画
像データを抽出し、その繰返しパターン部分の画像デー
タを圧縮するとi4K、抽出画像データ部分にスペース
データな埋込んだ画像データを圧縮する画像符号化プロ
セッサ1と、2種類の圧縮データと、制御f#報を格納
するメ毫り領域11〜13を有する圧縮データメモリ5
と、21111類の圧縮データの夫々な復号化する繰返
しパターン復号化プロセッサ2、画像復号化プロセッサ
3と、復号化された画像データを格納するドツトパター
ンメモリ4とによりm成される。
As shown in FIG. 1, the image data compression/expansion method according to an embodiment of the present invention receives image data in the squadron data memory IO, extracts image data of a repetitive pattern portion (image data), When the image data of the repetitive pattern part is compressed, the image encoding processor 1 compresses the embedded image data such as space data in the extracted image data part, and the memory that stores the two types of compressed data and control f# information. Compressed data memory 5 having delimited areas 11 to 13
, a repetitive pattern decoding processor 2 that decodes each of the 21111 type compressed data, an image decoding processor 3, and a dot pattern memory 4 that stores the decoded image data.

前述のようにi成された本発明の実施例の動作の概略を
次に説明する。
An outline of the operation of the embodiment of the present invention constructed as described above will now be described.

画像符号化プロセッサ1は、画像データメモリlOから
画像データを受取ると、その画像データ内の同一バタニ
ンが複数回連続して繰返えされる繰返しパターンを検出
し、その部分の画像データを抽出して、その繰返しパタ
ーン部分の画像データを、パターンの規則性に基づいた
方式で圧縮符号化する。この圧縮符号化は、例えば、第
3図に示すように、その繰返しパターンの画像データ中
の始点アドレスと、パターンの様返し回数と、そのパタ
ーン長と、繰返しのパターンとによ夕、−連の連続し九
繰返しパターンに対応する圧縮データを作成するように
行われる。また、この場合、繰返えされる1つのパター
ンは、例えば、連続した複数の@0”(または@1′)
と連続した複数の@ll″(tたは′″0”)とより成
る一連のデータ、すなわち、−組の白(黒)ドツトと黒
(白)ドツトによるパターンである。ま九、画像符号化
プロセッサ1は、前述で、画像データから繰返しパター
ンの*eデータを抽出し九部分にスペースデータを剥込
み、この非繰返しパターンによる画像データをMH方式
あるいはMFL方式等により圧縮符号化する。
When the image encoding processor 1 receives image data from the image data memory IO, it detects a repeating pattern in which the same batonine is repeated multiple times in succession in the image data, and extracts the image data of that part. , the image data of the repeated pattern portion is compressed and encoded using a method based on the regularity of the pattern. For example, as shown in FIG. 3, this compression encoding is performed based on the starting point address in the image data of the repeated pattern, the number of repetitions of the pattern, the length of the pattern, and the repeated pattern. This is done to create compressed data corresponding to a nine consecutive repeating pattern. In addition, in this case, one pattern that is repeated is, for example, a plurality of consecutive @0'' (or @1')
It is a series of data consisting of a plurality of consecutive @ll'' (t or ``0''), that is, a pattern of - pairs of white (black) dots and black (white) dots. As described above, the encoding processor 1 extracts the *e data of the repetitive pattern from the image data, strips space data into nine parts, and compresses and encodes the image data of this non-repetitive pattern by the MH method or the MFL method.

前述で圧縮符号化された非繰返しパターンによる画像デ
ータの圧縮符号化データ及び繰返しパターンによる画像
データの圧縮符号化データは、夫々ワークメモリ5のメ
七す領域11及び12に格納される。
The compressed encoded data of the image data according to the non-repetitive pattern and the compressed encoded data of the image data according to the repeated pattern compressed and encoded as described above are stored in the menu areas 11 and 12 of the work memory 5, respectively.

繰返しパターン復号化プロセッサ2は、前述のメ4り領
域12内の圧縮符号化データを復号化してドツトパター
ンメモリ4に格納する。この繰返しパターン復号化プロ
セッサ2の構成と動作は、後に詳述する。一方画像復号
化プロセッサ3は、メモリ領域11内の圧縮符号化デー
タを復号化する。メモリ領域11内の圧縮符号化データ
は、公知のM)1方式おるいはMR方式により圧縮符号
化したデータであるので、画欧復号化プ四セッサ3は、
公知のMH方式あるいはMR方式による圧縮符号化され
たデータを公知の方法で復号化し、伸長し九データをド
ツトパターンメモリ4に格納する。ドツトパターンメモ
リ4内には、繰返しパターン復号化プロセッサ2と画識
仮号化プロセッサ3からの復号化され元画像データが、
夫々の二次元のビット対応のアドレスに基づいて合成さ
れ、格納されることになる。
The repetitive pattern decoding processor 2 decodes the compressed encoded data in the above-mentioned square area 12 and stores it in the dot pattern memory 4. The configuration and operation of this repetitive pattern decoding processor 2 will be described in detail later. On the other hand, the image decoding processor 3 decodes the compressed encoded data in the memory area 11. Since the compressed and encoded data in the memory area 11 is data compressed and encoded using the known M)1 method or MR method, the image decoding processor 3
Data compressed and encoded by the known MH method or MR method is decoded by a known method, expanded, and stored in the dot pattern memory 4. In the dot pattern memory 4, the decoded original image data from the repetitive pattern decoding processor 2 and the image virtualization processor 3 are stored.
They are synthesized and stored based on the addresses corresponding to the respective two-dimensional bits.

前述した第1図の説明において、本発明の実施例を構成
する各ブロックで示され九装置は、夫々が一つの装置と
して構成され【いても工く、複数の装置に分れて構成さ
れてもヱい。さらに、各プ闘ツクで示された複数の装置
が一体の装置として構成されていてもよい。
In the above description of FIG. 1, each of the nine devices shown as blocks constituting the embodiment of the present invention may be configured as a single device, or may be configured as a plurality of devices. It's so hot. Furthermore, a plurality of devices shown in each platform may be configured as an integrated device.

次に、画mis化プロセッサlにおいて、画像データメ
モリ10の元の画像データから繰返しノ(ターン部分を
抽出する処理を第2図に示すフローチャートにより説明
する。
Next, the process of extracting a repeated turn portion from the original image data in the image data memory 10 in the image misformation processor 1 will be explained with reference to the flowchart shown in FIG.

(1)まず、元の画像データの先頭から1個または複数
個の連続した白ドツトと、1個ま九は複数個の連続した
黒ドツトの組からなるパターンを取込み、そのパターン
と比較するデータが有るか否かチエツクする(フロー3
1.32)。
(1) First, capture a pattern consisting of a set of one or more consecutive white dots and one or more consecutive black dots from the beginning of the original image data, and compare the data with that pattern. (Flow 3)
1.32).

(2)この場合、画像データの先頭のパターンであるの
で、比較用データは、まだ持っていないので、取込んだ
パターンのパターン長が所定値以下であるか否かチエツ
クする(フロー32.33 )。
(2) In this case, since it is the first pattern in the image data, comparison data is not yet available, so it is checked whether the pattern length of the imported pattern is less than or equal to a predetermined value (Flows 32 and 33). ).

(3)  取込んだパターンのパターン長が所定値より
長い場合、繰返しパターンとして抽出して圧縮処理する
より、MH方式ある。いはMR方式により圧縮処理した
方が圧縮効率が高いので、このパターンは、前記のMH
方式あるいはMR方式で処理する九め出力される(フロ
ー33.36 )。
(3) If the pattern length of the captured pattern is longer than a predetermined value, the MH method is better than extracting it as a repeated pattern and compressing it. Alternatively, compression processing using the MR method has higher compression efficiency, so this pattern is similar to the MH method described above.
The ninth output is processed using the MR method or the MR method (Flows 33 and 36).

(4)  取込んだパターンのパターン長が所定値より
lsい場合、そのパターンが複数回線遮光されるか否か
をチエツクするため、取込んだ入カバターンを比軟用パ
ターンとしてセットし、繰返しカウンタを@1”にセッ
トする(フロー33〜35)。
(4) If the pattern length of the captured pattern is longer than the predetermined value, set the captured input cover pattern as a soft pattern and repeat the counter in order to check whether the pattern blocks light for multiple lines. is set to @1” (Flows 33 to 35).

(5)  前述の70−35.36が終了すると、画像
データの12・イン分の処理が終了したか否かをチエツ
クし、1ライン分の処理が終了していない場合、70−
31の処理に戻る(フロー43)。
(5) When the above-mentioned 70-35.36 is completed, it is checked whether processing for 12 inches of image data has been completed, and if processing for 1 line has not been completed, 70-35.36 is completed.
The process returns to step 31 (flow 43).

(6)次の白ドツトと黒ドツトのパターンを取込んで、
比較用データの有無をチエツクしたとき、比較用データ
が無ければ、最初のデータの取込みの場合と同様な処理
が行われるCフラー31〜36.43)。
(6) Import the next pattern of white dots and black dots,
When the presence or absence of comparison data is checked, if there is no comparison data, the same processing as in the case of first data acquisition is performed.

(7)フロー32で、繰返しパターンの候補が比較用デ
ータとして存在する場合、次に取込んだパターンと比較
用パターンが一致するか否かチエツクし、一致する場合
、繰返しカウンタを+1し、取込んだデータを捨て、前
述の70−43に進む(フロー32.37.42)。
(7) In flow 32, if there is a repeat pattern candidate as comparison data, check whether the next imported pattern matches the comparison pattern, and if they match, add 1 to the repeat counter and The entered data is discarded and the process proceeds to 70-43 described above (flow 32.37.42).

(817r:1−37で取込んだバター・ンと比較用パ
ターンとの一致が得られない場合、繰返しカウンタの値
が所定値以上となっているか否かチエツクされる。繰返
しパターンの候補が評価され、繰返しパターンとして分
離抽出するに充分なデータ藍かめる場合、すなわち、繰
返しカウンタの値が所定値以上となっている場合、この
繰返しのパターンが抽出分離され、分離した繰返しパタ
ーンに代シスペースデータが出力され、夫々、画像符号
化プロセッサ内のメそり上の所定のワーク用エリアに格
納される(フロー37〜40)。
(817r: If the pattern imported in 1-37 does not match the comparison pattern, it is checked whether the value of the repetition counter is greater than or equal to a predetermined value.The repetition pattern candidate is evaluated. If enough data is obtained to separate and extract it as a repeating pattern, that is, if the value of the repeat counter is greater than or equal to a predetermined value, this repeating pattern is extracted and separated, and the separated repeating pattern is replaced with system space data. are output and stored in predetermined work areas on the mesh in the image encoding processor (Flows 37 to 40).

(9)71:l−38で繰返しカウンタ38の値が所定
値に達していない場合、繰返しパターンがそのまま、メ
モリ上のワークエリアに出力される。これは、繰返しパ
ターンのデータ量が少な一場合、繰返しパターンとして
の圧縮処理のメリットがないためである(フロー38.
41)。
(9) If the value of the repetition counter 38 has not reached the predetermined value at 71:1-38, the repetition pattern is output as is to the work area on the memory. This is because if the amount of data of a repeating pattern is small, there is no advantage of compression processing as a repeating pattern (Flow 38.
41).

(lO)  前述の7a−40,41の処理が終了する
と、フロー37で不一致となった次に取込まれたパター
ンを、繰返しパターンの候補とし【評価するため、その
パターンに対してフロー33以下の処理が最初の取込み
パターンの場合と同様に実行される。
(lO) When the above-mentioned processes 7a-40 and 41 are completed, the next captured pattern that is inconsistent in flow 37 is selected as a repeat pattern candidate. processing is performed in the same way as for the first acquisition pattern.

(1リ 前述の処理は、1ツイ−7分のデータ処理終了
まで練遮光され、1ライン分のデータ処理が終了すると
、残っている比較用パターンを評価しメモリのワークエ
リアに出力する後処理が実行される(フロー43.44
)。
(1) In the above processing, the light is blocked until the data processing for 1-7 minutes is completed, and when the data processing for 1 line is completed, the remaining comparison pattern is evaluated and post-processed to be output to the work area of the memory. is executed (flows 43 and 44)
).

画像符号化プロセッサlは、前述し次処理によシ、繰返
しパタ゛−ンを抽出し、繰返しパターンの画像データに
関する第3図に示し九フォーマットの?X数の圧縮符号
化データと、非繰返しパターンによる画像データなメ七
りのワーク用エリアに格納する。画像符号化プロセッサ
1は、次に、非繰返しパターンによるmkデータ″4I
:M H方式あるいはMR方式等によシ圧縮符号化す゛
る。
The image encoding processor 1 extracts the repeating pattern by the following processing described above, and converts the image data of the repeating pattern into the format shown in FIG. X number of compressed encoded data and image data with non-repetitive patterns are stored in seven work areas. The image encoding processor 1 then generates mk data "4I" according to the non-repetitive pattern.
: Compression encoding is performed using the MH method or MR method.

第3図に示す腑返しパターンの圧縮データのフォーマッ
トにおいて、始点アドレスは、圧縮データの伸長後にお
ける繰返しパターンの画1威テータ内での開始アドレス
を示し、繰返し回数は、後に続く様返しパターンが何回
連続するかを示し、パターン長は、繰返しパターンの1
個のパターンのドツト長を示し、練返しパターンは、蝕
遮光される1個のパターンがそのまま示される。゛この
ように、繰返しパターンによる画像データは、繰返しパ
ターンの規則性に基づい比圧縮方式にょシ効率的に圧縮
できる。この圧縮データには、非繰返しパターンとの合
成に必要なデータ、この場合には繰返しパターンの画像
データ内での開始位置も付加される、 非繰返しパターンによる画像データは、繰返しパターン
として抽出された少数ドツトによる繰返し部分をスペー
スに変えた画像データとして、MH方式、MR方式等に
より圧縮される。このデータは、元の画像データに比較
すると、白ドツトと黒ドツトとの変化点が大幅に減少し
てシシ、圧縮効率の向上を図ることができる。
In the format of the compressed data of the repeating pattern shown in Fig. 3, the start point address indicates the start address in the stroke data of the repeating pattern after the compressed data is expanded, and the number of repetitions indicates the number of repetitions of the repeating pattern that follows. Indicates how many times the pattern repeats, and the pattern length is 1 of the repeated pattern.
The dot length of each pattern is shown, and the rehearsed pattern is shown as it is, one pattern that is shielded from light. ``In this way, image data with a repetitive pattern can be efficiently compressed using the ratio compression method based on the regularity of the repetitive pattern. This compressed data also includes the data necessary for compositing with the non-repeating pattern, in this case the starting position of the repeating pattern within the image data. The image data is compressed by the MH method, MR method, etc., with the repeated portions of a small number of dots replaced with spaces. Compared to the original image data, this data has significantly fewer points of change between white dots and black dots, thereby improving compression efficiency.

圧縮され九2徳のデータは、ワークメモリ上の別のエリ
アに格納されるため、2つデータを結合する情報が必要
である。このため、第5図に示すように、圧縮データメ
モリ5内のメ゛毎り領域13内の制御情報の中に、アド
レスポインタP1.P2を設けて−る。ポインタPiは
、非繰返しパターンによる画像データの圧縮符号化デー
タが格納されているメモリ領域11の先頭番地を示し、
tLポインタP2は、繰返しパターンによる画像データ
め圧縮データが格納されているメモリ領域12の先頭番
地を示している。
Since the compressed multiplication data is stored in a separate area on the work memory, information for combining the two pieces of data is required. Therefore, as shown in FIG. 5, the address pointer P1. P2 is provided. The pointer Pi indicates the starting address of the memory area 11 in which compression encoded data of image data according to a non-repetitive pattern is stored,
The tL pointer P2 indicates the starting address of the memory area 12 where compressed image data based on a repetitive pattern is stored.

次に、繰返しパターン復号化プロセッサ2の構成と動作
をw14°図によ)説明する。
Next, the configuration and operation of the repetitive pattern decoding processor 2 will be explained (see diagram w14).

繰返しパターン復号化プロセッサ2は、第4図に示すよ
うに、繰返しパターンを格納するパターンレ少スタ20
と、繰返し回数がセットされるカウンタ21と、繰返し
パターンの始点アドレスがセットされるXアドレスレジ
スタ22及びYアドレスレジスタ23と、パターン長を
格納するレジスタ24と、制御回路25を主な構成要素
として構成される。
As shown in FIG. 4, the repetitive pattern decoding processor 2 has a pattern register 20 that stores the repetitive pattern.
The main components are a counter 21 in which the number of repetitions is set, an X address register 22 and a Y address register 23 in which the starting point address of the repetition pattern is set, a register 24 that stores the pattern length, and a control circuit 25. configured.

k&3図に示したフォーマットで構成される繰返しパタ
ーンによる画像データの正補データは、分割されて、夫
々対応するレジスタ20.22〜24及びカウンタ21
にセットされる。パターンレジスタ20内に格納された
繰返しパターンは、まず、Xアドレスレジスタ22及び
Yアドレスレジスタ23にセットされたアドレスに基づ
いて、制御回路25に制御されてドツトパターンメモリ
4に書込まれる。繰返しパターンの1回の書込みが終了
すると、Xアドレスレジスタ22内の値に、パターン長
レジスタ24C)値が加算器ADDを介して加算され、
新九なX方向アドレスが、Xアドレスレジスタ22に格
納され、カウンタ21の値が減算器を介して−1される
。新しいアドレスを持っXアドレスレジスタ22のアド
レスに基づいて、再びパターンレジスタ20内の繰返し
パターンが、ドツトパターンメモリ4に書込まれる。繰
返しパターン復号化プロセッサ2は、前述の動作を繰返
し、カウンタ21の値が零となる迄、繰返しパターンを
ドツトパターンメモリ4に嘗込む。この処理は、カウン
タ21の値を基に制御回路25によって制御される。
The correction data of the image data according to the repetitive pattern configured in the format shown in FIG.
is set to The repetitive pattern stored in the pattern register 20 is first written into the dot pattern memory 4 under the control of the control circuit 25 based on the addresses set in the X address register 22 and Y address register 23. When one writing of the repetitive pattern is completed, the value in the pattern length register 24C) is added to the value in the X address register 22 via the adder ADD,
The new nine X-direction addresses are stored in the X address register 22, and the value of the counter 21 is decremented by 1 via the subtracter. The repeating pattern in the pattern register 20 is again written to the dot pattern memory 4 based on the address in the X address register 22 with the new address. The repeated pattern decoding processor 2 repeats the above-described operation and reads the repeated pattern into the dot pattern memory 4 until the value of the counter 21 becomes zero. This process is controlled by the control circuit 25 based on the value of the counter 21.

前述した本発明の実へ例は、復号化され伸長された画像
データを、ドツトパターンメモリ4上で合成するものと
して説明したが、繰返しパターンによる画像データの圧
縮データに付加された始点アドレスデータな基に、復号
化された非繰返しデータと同期を取って、出力の論理和
をとり、直接フ0リンタ等に出力することも可能である
In the above-mentioned example of the present invention, decoded and expanded image data is synthesized on the dot pattern memory 4, but starting point address data added to compressed data of image data based on a repetitive pattern is also used. Based on this, it is also possible to synchronize with the decoded non-repetitive data, take the logical OR of the output, and directly output it to a printer or the like.

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

以上説明し念ように、本発明によれば、画法データの符
号化と復号化の過程において、比較的簡単な論理の追加
により、ハーフトーン等圧縮効率の悪いデータな含む画
像データを効率よく圧縮することができ、画像データ量
を削減することができ、tfc、データ量が減少するこ
とにより、データ転送時間なts、lfmすることがで
きる。
As explained above, according to the present invention, by adding relatively simple logic in the process of encoding and decoding drawing method data, image data including halftone data and other data with poor compression efficiency can be efficiently processed. The image data can be compressed, the amount of image data can be reduced, and by reducing the amount of tfc and data, the data transfer time can be shortened, ts and lfm.

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

第1図は本発明の一実施例の全体の構成を示すブロック
図、第2図は画像データ量ら1mA返しパターンを抽出
する処理を説明するフローチャート、第3図は繰返しパ
ターンの圧縮データのフォーマット例を示す図、第4図
は繰返しパターン復号化プロセッサの構成を示すブロッ
ク図、謁5図は画像用メモリの構成図でおる。 1−−−−−・@像符号化プロセッサ、2・・・・・・
繰返しパターン復号化プロセッサ、3・・・・・・画像
復号化プロセッサ、4・・・・・・ドツトパターンメモ
リ、5・−・・・圧縮データメモリ、10・・・・・・
画像データメモリ、20・・・・・・パターンメ七す、
21・・・・・・カウンタ、22−・・・・・Xアドレ
スレジスタ、23・・・・・・Yアドレスレジスタ、2
4・・・・・・パターン長レジスタ、25−・・・・・
制御回路。 第1図 第2図 第3図 −゛第4図
Fig. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, Fig. 2 is a flowchart explaining the process of extracting a 1 mA repeating pattern from the amount of image data, and Fig. 3 is the format of compressed data of the repeating pattern. FIG. 4 is a block diagram showing the configuration of a repetitive pattern decoding processor, and FIG. 5 is a configuration diagram of an image memory. 1------@image encoding processor, 2...
Repeated pattern decoding processor, 3... Image decoding processor, 4... Dot pattern memory, 5... Compressed data memory, 10...
Image data memory, 20...Pattern menus,
21...Counter, 22-...X address register, 23...Y address register, 2
4...Pattern length register, 25-...
control circuit. Figure 1 Figure 2 Figure 3 - Figure 4

Claims (1)

【特許請求の範囲】 1、画像データの圧縮伸長を行う情報処理システムにお
いて、画像データを、同一パターンの繰返しが続く部分
と、それ以外の部分とに分け、夫々を別の形式で圧縮符
号化し、圧縮データを伸長復号化するとき、夫々の圧縮
符号化に対応した形式で夫々の圧縮データを伸長復号化
したデータを合成することを特徴とする画像データ圧縮
伸長方式。 2、前記同一パターンの繰返しが続く部分は、少なくと
も、繰返されるパターンと、その繰返し回数とを含む形
式に圧縮符号化されることを特徴とする特許請求の範囲
第1項記載の画像データ圧縮伸長方式。
[Claims] 1. In an information processing system that compresses and expands image data, the image data is divided into a portion where the same pattern continues to be repeated and other portions, and each portion is compressed and encoded in a different format. An image data compression/expansion method characterized in that, when compressed data is expanded and decoded, data obtained by decompressing and decoding each compressed data in a format corresponding to each compression encoding is synthesized. 2. The image data compression/expansion according to claim 1, wherein the portion where the same pattern continues to be repeated is compressed and encoded in a format that includes at least the repeated pattern and the number of repetitions thereof. method.
JP62253564A 1987-10-09 1987-10-09 Picture data compressing and expanding system Pending JPH0197067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62253564A JPH0197067A (en) 1987-10-09 1987-10-09 Picture data compressing and expanding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62253564A JPH0197067A (en) 1987-10-09 1987-10-09 Picture data compressing and expanding system

Publications (1)

Publication Number Publication Date
JPH0197067A true JPH0197067A (en) 1989-04-14

Family

ID=17253122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62253564A Pending JPH0197067A (en) 1987-10-09 1987-10-09 Picture data compressing and expanding system

Country Status (1)

Country Link
JP (1) JPH0197067A (en)

Similar Documents

Publication Publication Date Title
JP2922680B2 (en) Compressed image storage method for high-resolution computer graphics
JP2001136368A5 (en)
JP2000032456A (en) Dynamic image coding method using sprite coding, decoding method, coder, decoder, dynamic image coding program and recording medium with dynamic image decoding program recorded therein
JP2702408B2 (en) Image conversion system
JPH0197067A (en) Picture data compressing and expanding system
JPS6282723A (en) Redundancy suppression coding system
JP3311221B2 (en) Image processing apparatus and method
JPH0628150A (en) Method for compressing program capacity
JP4364729B2 (en) Image data compression / decompression method and image processing apparatus
JP3763751B2 (en) Image compression / decompression apparatus and image compression / decompression method
JP2002084425A (en) Multi-level image data compression device
JP2894255B2 (en) Digital special effects device
JP3757297B2 (en) Printing device
JPH11284840A (en) Image forming device
JPH0774923A (en) Image output device
JPH07184067A (en) Binary image companding processing system and binary image segmentating method
JPH06291987A (en) Picture output device
JP3212393B2 (en) Encoding device
JPH01174173A (en) Compression coding method for binary picture data
JPS62268271A (en) Coding circuit
JP3227237B2 (en) Encoding device
JP2000270192A (en) Image processing unit and its method
JPH08162973A (en) Data processing method and device and information system using this data processor
JPH09116764A (en) Picture processor
JPH05191633A (en) Decoding processing method for picture data