JPS61166273A - Multi-value image data compression system - Google Patents

Multi-value image data compression system

Info

Publication number
JPS61166273A
JPS61166273A JP60006730A JP673085A JPS61166273A JP S61166273 A JPS61166273 A JP S61166273A JP 60006730 A JP60006730 A JP 60006730A JP 673085 A JP673085 A JP 673085A JP S61166273 A JPS61166273 A JP S61166273A
Authority
JP
Japan
Prior art keywords
data
plane
compressed
line
run length
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
JP60006730A
Other languages
Japanese (ja)
Inventor
Yoshito Desaki
出崎 芳人
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60006730A priority Critical patent/JPS61166273A/en
Publication of JPS61166273A publication Critical patent/JPS61166273A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the substantial storage amount and to decrease the transmission time by checking a binary image of each plane so as to discriminate whether or not the data quantity is compressed, outputting a digital image data as to a plane no data is compressed and outputting the data while compressing as to a plane only whose data is compressed. CONSTITUTION:A data of each bit plane is inputted to an input terminal 1 at each scanning line. The run length of an inputted line data is measured depending whether the color is white or black by each color run length counter 2 or 3. The result of each run length is compared with a value n1 or n2 by a comparator 4 or 5 so as to discriminate whether the white run length is larger than the n1 or the black run length is larger than the n2. When it is discriminated to be larger, the result is counted by an accumulation counter 7 via an OR circuit 6. When the input of the final line of a bit plane is finished, the numeral value of the accumulated counter 7 is compared with n3, and when the value is the n3 or over, the data is outputted as it is without being compressed at recording or transmission.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はデジタル画像データを記憶媒体に記憶したり、
伝送したりする場合の多値画像データ圧縮方式に関する
[Detailed Description of the Invention] Industrial Application Field The present invention is applicable to storing digital image data in a storage medium,
This invention relates to a multivalued image data compression method for transmission.

従来の技術 階調を含むデジタル画像データは、たとえば8dot/
+nmの解像度で、階調を8ビツトで表現してA4版1
頁の画像データ量は4MBにも相当する。
Digital image data including conventional technical gradation is, for example, 8 dots/
A4 size 1 with +nm resolution and 8-bit gradation
The amount of image data for a page is equivalent to 4MB.

この様なデータを伝送するのにその伝送速度を9600
bpsとすると1枚を伝送するのに約1時間かかる。ま
た記録媒体に記録しても4MBを必要とし、大容量記憶
媒体として現在注目されている光デイスクメモリでも約
IGBであるから250枚程度しか記憶できない。そこ
で大量なデータを圧縮できれば、伝送するのには伝送時
間の短縮、記憶するのには記憶可能枚数の増加となり、
必要な技術となる。現に白黒2値を取扱うファクシミリ
では、取り扱う多くの書類が白地の紙に書かれた黒文字
であるから、この性質を利用して符号を与えてデータ圧
縮を行っている。すなわち、画像データを走査線単位に
分解し、各走査ライン内の白信号の続くドツト数(これ
を一般にランと言う)及び黒信号の続くドツト数を数え
て、そのラン長により符号を与える。この時、白地に黒
文字という正確から黒の短いラン長には長さの短い符号
を割り当てる。統計的に発生確率の高いランには短い符
号を割り当て、発生確率の低いランには長い符号を割り
当てて全必要データ量を減少させている。
To transmit such data, the transmission speed is 9600
If it is set to bps, it takes about 1 hour to transmit one image. Furthermore, even if it is recorded on a recording medium, it requires 4 MB, and even an optical disk memory, which is currently attracting attention as a large-capacity storage medium, is about IGB, so it can only store about 250 sheets. Therefore, if large amounts of data can be compressed, the transmission time will be shortened, and the number of images that can be stored will be increased.
This is a necessary technology. In facsimiles that currently handle black and white binary values, many of the documents handled are black characters written on white paper, so this property is used to provide codes and compress data. That is, image data is broken down into scanning lines, the number of consecutive dots of a white signal (generally referred to as a run) and the number of consecutive dots of a black signal in each scanning line are counted, and a code is given based on the run length. At this time, because of the accuracy of black characters on a white background, a code with a short length is assigned to a short black run length. Runs with a statistically high probability of occurrence are assigned short codes, and runs with a low probability of occurrence are assigned long codes to reduce the total amount of data required.

この符号化をランレンゲ符号といい、実際にファクシミ
リなどではCCITTで国際的しこ勧告されているのは
この符号化方法を若干修正したMH符号が使用されてい
る。以上のように走査ライン毎に符号化を行うのを一次
元のデータ圧縮とし1う。
This encoding is called Langrenge coding, and in fact, in facsimiles and the like, the MH code, which is a slightly modified version of this encoding method, is used, which is recommended internationally by CCITT. The encoding performed for each scanning line as described above is considered to be one-dimensional data compression.

また文字や図形は、次のラインとの相関力1あるので、
ライン毎の変化にも符号を割り当てる二次元のデータ圧
縮も行われている(MR符号)。
Also, letters and figures have a correlation power of 1 with the next line, so
Two-dimensional data compression is also performed in which a code is assigned to changes from line to line (MR code).

以上のように白黒2値の画像データレこつb)での国際
勧告が行われており、国際的な標準として定着しつつあ
る。しかしながら中間階調を有する画像データの圧縮に
ついては、まだ研究段階で統一的な圧縮方法は決められ
てはし1なり1力弐、提案されている方法は数多くある
。例えIf、rFAX、OAのための画像処理」 (吹
抜敬彦著 日−FIJ工業新聞社刊 昭和57年)の第
134頁番こ述べられてbする。
As mentioned above, international recommendations have been made regarding black and white binary image data (b), and it is becoming established as an international standard. However, compression of image data having intermediate gradations is still at the research stage, and a unified compression method has yet to be determined, but there are many methods that have been proposed. For example, "Image Processing for If, rFAX, OA" (by Takahiko Fukinuki, published by Japan-FIJ Kogyo Shinbunsha, 1983), page 134, is described here.

その中で階調方向のビットプレーンのそれぞれを白黒2
値画像とみなして白黒2値のデータ圧縮方法を適用する
ことができる。これをビットプレーン符号化と言い上記
の文献にも詳しt)。この符号化の問題点は上位ビット
プレーンは圧縮効果力へ9尋られるが、下位ビットにな
るほどその効果がわるくなり、逆にデータ量がふえる可
能性もある。この様子を第3図以降の図を用いて説明す
る。第3図は階調画像を表わす図でピラミッド形で頂点
に向って濃度が黒くなっている様子を表わしており、中
に書いた数字はその濃度を表わし、濃度レベル1′0”
から7”までの8階調(2NでNは自然数で、ここでは
N=3である〕で表わしている。出力は濃度レベルを2
進数で表わした図である。第5図はラインデータを表わ
す図で縦軸は濃度レベルネ横方向はライン方向を表わし
ている。下部の表は、ビットプレーンO、ビットプレー
ン1、ビットプレーン2におけるデータを示している。
In that, each bit plane in the gradation direction is black and white 2
It is possible to apply a black and white binary data compression method to the image as a value image. This is called bit-plane encoding and is detailed in the above-mentioned literature. The problem with this encoding is that the higher bit planes are less effective in compression, but the lower the bits, the worse the effect becomes, and conversely, the amount of data may increase. This situation will be explained with reference to FIG. 3 and subsequent figures. Figure 3 is a diagram showing a gradation image, which is shaped like a pyramid and shows how the density becomes black towards the apex, and the numbers written inside represent the density, and the density level is 1'0''.
It is expressed in 8 gradations from 7" to 7" (2N, N is a natural number, here N = 3).The output is a density level of 2
It is a diagram expressed in base numbers. FIG. 5 is a diagram showing line data, in which the vertical axis represents the density level and the horizontal direction represents the line direction. The table at the bottom shows data in bit plane O, bit plane 1, and bit plane 2.

第5図のラインデータは第3図の頂点を切る1ラインの
データを表わしている。第6図(A) (B) (C)
はビットプレーンを表わす図で、それぞれを11 OI
t″1”の2値表示をしている。(A)はプレーン2、
(B)はプレーン1、(C)はプレーンOを表わしてい
る。それぞれは111”を黒とみなして表わした図で、
上位ビットプレーン2では黒が真中にかたまりとなって
存在しているので2値によるデータ圧縮により圧縮効果
がある。ところが下位ビットプレーンOでは白黒の領域
が点在するため逆にデータ量がふえる可能性がある。以
上のようにビットプレーン符号化による圧縮効果はプレ
ーン毎に異なるため、全データ量が完全に元のデータ量
よりも圧縮される保証がない。
The line data in FIG. 5 represents one line of data that cuts the vertex in FIG. Figure 6 (A) (B) (C)
is a diagram representing bit planes, each with 11 OI
A binary value of t"1" is displayed. (A) is plane 2,
(B) represents plane 1, and (C) represents plane O. Each figure represents 111" as black,
In the upper bit plane 2, black exists as a cluster in the center, so binary data compression has a compression effect. However, since black and white areas are scattered in the lower bit plane O, there is a possibility that the amount of data will increase. As described above, since the compression effect of bit-plane encoding differs from plane to plane, there is no guarantee that the total amount of data will be completely compressed compared to the original amount of data.

発明が解決しようとする問題点 このような従来のビットプレーン符号化では画一的にビ
ットプレーン毎に2値デ一タ圧縮方式を適用したので、
その圧縮効果の保証がない。
Problems to be Solved by the Invention In such conventional bit-plane encoding, a binary data compression method is uniformly applied to each bit-plane.
There is no guarantee of its compression effectiveness.

本発明は各ビットプレーンにおいて圧縮して圧縮効果が
あるかどうかの判断を自動的に行わせて最もデータ量を
小さくして記録あるいは伝送できる多値画像データ圧縮
方式を提供することを目的とする。
An object of the present invention is to provide a multi-valued image data compression method that can record or transmit data with the smallest amount of data by automatically determining whether compression is effective by compressing each bit plane. .

問題点を解決するための手段 本発明の多値画像データ圧縮方式は、2のN乗(但し、
Nは自然数)の階調を有するN個のビットプレーンで表
現したデジタル画像データを記録または伝送するに際し
、各プレーンの2値画像を調べてデータ量が圧縮される
か否かを判定し、データ量が圧縮されないプレーンは前
記デジタル画像データをそのまま出力し、データ量が圧
縮されるプレーンのみ上記データを圧縮して出力するこ
とを特徴とする。
Means for Solving the Problems The multivalued image data compression method of the present invention is based on 2 to the Nth power (however,
When recording or transmitting digital image data expressed by N bit planes with gradations (N is a natural number), the binary image of each plane is examined to determine whether the amount of data can be compressed, and the data A plane in which the amount of data is not compressed outputs the digital image data as is, and only a plane in which the amount of data is compressed compresses and outputs the data.

作用 この構成により、データ圧縮してもデータが少なくなら
ないと判定されたものについてはデータ圧縮せずに出力
するため、従来のようにすべてを圧縮していたものに比
べて記憶時や伝送時のデータ量を少なくできるものであ
る。
Effect: With this configuration, data that is judged not to be reduced even if the data is compressed is output without data compression, which reduces data storage and transmission time compared to conventional methods that compress everything. This allows the amount of data to be reduced.

実施例 以下、本発明の一実施例を図面に基づいて説明−する。Example Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は第1の実施例を示す。(1)はラインデータが
入力される入力端子、(2)は白ラン長を数えるカウン
タ、(3)は黒ラン長を数えるカウンタである。(4)
 (5) (8)は比較器、(6)はOR回路、(7)
は累計カウンタ、(12)は判定結果の出力端子である
。比較器(4) (5) (8)にはそれぞれ比較の対
象となる数値が与えられる。
FIG. 1 shows a first embodiment. (1) is an input terminal to which line data is input, (2) is a counter that counts the white run length, and (3) is a counter that counts the black run length. (4)
(5) (8) is a comparator, (6) is an OR circuit, (7)
is a total counter, and (12) is an output terminal for the determination result. Comparators (4), (5), and (8) are each given numerical values to be compared.

次に動作に基づいて第1図の構成を詳細に説明する。各
ビットプレーンのデータは走査ライン毎に入力端子(1
)に入力される。入力されたラインデータはその色が白
か黒かにより、それぞれの色のラン長カウンタ(2)ま
たは(3)によりそのラン長が測定される。ラン長が決
まるのは現在カウントしている色の反対色が出現した時
に定まり、同時に反対色用のカウンタが動作を開始し次
の反対色のラン長を測定する動作に入る。それぞれのラ
ン長測定結果は、それぞれ比較器(4)及び(5)にお
いて、nlもしくはn2の値と比較され、白ランがn工
よりも大きいか、黒ランがn2よりも大きいかの判別が
おこなわれる。大きいと判断された時はOR回路(6)
を介して累計カウンタ(7)によりカランI−される。
Next, the configuration of FIG. 1 will be explained in detail based on the operation. The data of each bit plane is input to the input terminal (1
) is input. The run length of the input line data is measured by a run length counter (2) or (3) for each color, depending on whether the color is white or black. The run length is determined when a color opposite to the color currently being counted appears, and at the same time, the counter for the opposite color starts operating to begin measuring the run length of the next opposite color. Each run length measurement result is compared with the value of nl or n2 in comparators (4) and (5), respectively, and it is determined whether the white run is larger than n or the black run is larger than n2. It is carried out. When it is determined that it is large, the OR circuit (6)
is counted by the cumulative total counter (7).

OR回路(6)は白ラン、黒ラン共に基準n工もし゛く
はn2よりも大きい時に累計カウンタ(7)を動作させ
るために挿入したものである。
The OR circuit (6) is inserted to operate the cumulative counter (7) when both the white run and the black run are larger than the reference n or n2.

この動作をビットプレーンの全ラインについて行い、ビ
ットプレーンの最終ラインの入力が終了した時点での累
計カウンタ(7)の数値は、そのビットプレーン中にn
1以上の白ランの数と、n2以上の黒ランの数の合計で
あり、これがn3と比較され、n3以上の時に、このピ
ッl−プレーンは圧縮しないほうがよいと判定して記憶
あるいは伝送の際にはデータ圧縮せずにそのまま出力す
る。
This operation is performed for all lines of the bit plane, and the value of the cumulative counter (7) at the time when the input of the last line of the bit plane is completed is n
This is the sum of the number of white runs greater than or equal to 1 and the number of black runs greater than or equal to n2. This is compared with n3, and when it is greater than or equal to n3, it is determined that this pill-plane should not be compressed and is not stored or transmitted. In some cases, the data is output as is without data compression.

このように第1図実施例ではn1以上の白ランの数と、
n2以上の黒ランの数の合計値が一定数値n3以上なら
ば、そのビットプレーンは圧縮を行うことができる。具
体的な数値n□、n2、n3については取扱う画像の種
類により、変動させねばならないが、統計的に一義的に
定める事も可能である。
In this way, in the embodiment of FIG. 1, the number of white runs greater than or equal to n1,
If the total number of black runs equal to or greater than n2 is equal to or greater than a certain value n3, that bit plane can be compressed. The specific numerical values n□, n2, and n3 must be varied depending on the type of image being handled, but they can also be determined statistically.

第2図は第2の実施例を示す図である。第2図中の符号
で第1図と同様の作用を成すものには同一符号を付けて
その説明を省く。(13)はラインメモリ、(14)は
水平モード検出回路、(15)はカウンタ、(16)は
比較器で、第1図において(4)もしくは(5)で示す
ものと同じである。さて動作説明を行う。ランレンゲ符
号を用いたMW符号の他に二次元の圧縮方法として同じ
<CCITTで国際的勧告されている方式にモデファイ
トリード(MR)符号がある。これを簡単に述べると、
各走査ラインは前ラインとの間に相関があり、全ライン
と同じ変化をする部分には前ラインと同じという意味の
短い符号を与え、ラン長の±3ドツト以内であれば前ラ
インとの違いのみを符号化し、それ以上の場合はMH符
号で符号化する。すなわち、前ラインと同じパターンで
あれば短い符号で、異った場合はMH符号で符号化する
方法をとる。しかしながら伝送上もしくは装置による誤
動作を含め、一定ライン毎に1ラインをMH符号で送る
ことを義務付けている。−次元の場合には誤りは1ライ
ンで終るが、二次元の場合は次々とラインに波及してし
まうからである。さて、本発明の場合、中間調の画像デ
ータのビットプレーンのそれぞれを白黒2値画像とみな
して、各プレーンにおいて2値の符号化を行うかどうか
の判別を行う場合に、その符号化に2次元データ圧縮方
法を適用するが、そのデータ圧縮に関して符号後のデー
タ量が増えるか増えないかの判別を自動的に行うため、
MRの符号の符号長が一番長くなる可能性の高い水平モ
ードの発生回数の累計を測定してその累計値でもってそ
のプレーンの圧縮の適否を決定するものである。第1図
と同様に第2図において、白黒2値画像とみなした各プ
レーンを走査ライン毎に分解したライン単位の信号が入
力端子(1)に入力される。白ランカウンタ(2)、黒
ランカウンタ(3)の動作については第1実施例と同じ
であるが、2次MR符号では強制MH符号化ライン、各
プレーンの最初の行及び一定ライン毎のMH符号化ライ
ンのみで測定を行う。MR符号化では前ラインのデータ
との比較が必要であるが、入力データは入力されると同
時にラインメモリ(13)に入力される。
FIG. 2 is a diagram showing a second embodiment. Components in FIG. 2 that have the same functions as those in FIG. 1 are given the same reference numerals and their explanations will be omitted. (13) is a line memory, (14) is a horizontal mode detection circuit, (15) is a counter, and (16) is a comparator, which are the same as those shown by (4) or (5) in FIG. Now let me explain the operation. In addition to the MW code using the Langrenge code, a modified read (MR) code is a two-dimensional compression method that is internationally recommended by the CCITT. To put this simply,
Each scan line has a correlation with the previous line, and parts that change the same as all lines are given a short code meaning the same as the previous line, and if it is within ±3 dots of the run length, it is Only the difference is encoded, and if it is more than that, it is encoded with MH code. That is, if the pattern is the same as the previous line, it is encoded with a short code, and if it is different, it is encoded with an MH code. However, it is mandatory to send one line per fixed line using the MH code, including the possibility of transmission or equipment malfunctions. This is because in the -dimensional case, the error ends in one line, but in the two-dimensional case, it spreads to one line after another. Now, in the case of the present invention, each bit plane of halftone image data is regarded as a black and white binary image, and when determining whether to perform binary encoding on each plane, A dimensional data compression method is applied, but in order to automatically determine whether the amount of data after encoding increases or not regarding the data compression,
The total number of occurrences of the horizontal mode in which the code length of the MR code is most likely to be the longest is measured, and the suitability of compression for that plane is determined based on the cumulative value. Similar to FIG. 1, in FIG. 2, a line-by-line signal obtained by decomposing each plane, which is regarded as a black-and-white binary image, into each scanning line is input to an input terminal (1). The operations of the white run counter (2) and black run counter (3) are the same as in the first embodiment, but in the secondary MR code, the forced MH coding line, the first row of each plane, and the MH of every fixed line are Measurement is performed only on the encoded line. MR encoding requires comparison with the data of the previous line, but the input data is input to the line memory (13) at the same time as it is input.

入力されたデータは次の符号化ラインの入力データとラ
インメモリ(13)の前ラインのデータとの間で比較さ
れる。これが水平モード検出回路内で行われ、水平モー
ドが検出されるたびに出力信号が出る。その出力はカウ
ンタ(■5)でカウントさhる。
The input data is compared between the input data of the next encoded line and the data of the previous line in the line memory (13). This is done within the horizontal mode detection circuit, which provides an output signal each time a horizontal mode is detected. The output is counted by a counter (5).

1ラインのデータが入力され終ると、その時のカウンタ
(15)の結果はそのラインの水平モードの発生回数が
保たれており、その数値が比較器(16)で設定値n4
と比較されn4よりも大のときのみ出力される。この出
力はOR回路(6)に入力され、比較器(4)及び比較
器(5)と同様に素側カウンタ(7)に出力される。累
計カウンタ(7)では、順次OR回路(6)の出力毎に
カウントされ入力データのプレーンが入力された時のカ
ウンタ(7)の数値は、そのプレーンにおける。n1以
上の白ラン長の発生回数と、n2以上の黒ラン長の発生
回数と、n4以上の水平モードの発生回数の和が得られ
、これが比較器(8)に入力される。比較器(8)では
、n3の数値と比較され、n3以上のときにこのプレー
ンでのデータ圧縮の適否を判定する判定結果(12)が
出力される。この動作をプレーン毎に繰り返し、ビット
プレーンのそれぞれについて白黒2値のデータ圧縮を行
うか行わないかを決めて中間調画像データのデータ圧縮
を行うことができる。これにより伝送上では伝送時間の
短縮、記憶する場合には記憶画面枚数の増加をはかれる
When one line of data has been inputted, the result of the counter (15) at that time is the number of times the horizontal mode has occurred for that line, and that value is set by the comparator (16) as the set value n4.
It is compared with n4 and is output only when it is larger than n4. This output is input to the OR circuit (6) and output to the prime side counter (7) in the same way as the comparators (4) and (5). The cumulative counter (7) sequentially counts each output of the OR circuit (6), and when a plane of input data is input, the numerical value of the counter (7) is for that plane. The sum of the number of occurrences of a white run length of n1 or more, the number of occurrences of a black run length of n2 or more, and the number of occurrences of a horizontal mode of n4 or more is obtained, and this is input to a comparator (8). The comparator (8) compares it with the numerical value of n3, and when it is greater than or equal to n3, outputs a determination result (12) for determining the suitability of data compression in this plane. This operation is repeated for each plane, and by determining whether or not to perform monochrome binary data compression for each bit plane, data compression of halftone image data can be performed. As a result, the transmission time can be shortened during transmission, and the number of stored screens can be increased when storing.

発明の効果 以上のように本発明の多値画像データ圧縮方式は、各プ
レーンの2値画像を調べてデータ量が圧縮されるか否か
を判定し、デー、夕景が圧縮されないプレーンは前記デ
ジタル画像データをそのまま出力し、データ量が圧縮さ
れるプレーンのみ上記データを圧縮して出力するため、
実施例のようにすべてをデータ圧縮して記録あるいは伝
送するものに比べて小さいデータ量で記録あるいは伝送
でき、実質記憶量の増大と伝送時間短縮を実現できるも
のである。
Effects of the Invention As described above, the multilevel image data compression method of the present invention examines the binary image of each plane to determine whether or not the amount of data can be compressed. The image data is output as is, and only the plane where the amount of data is compressed compresses and outputs the above data.
Compared to the case where all the data is compressed and recorded or transmitted as in the embodiment, it is possible to record or transmit a smaller amount of data, thereby increasing the actual storage amount and shortening the transmission time.

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

第1図は本発明の具体的な一実施例の要部ブロック図、
第2図は他の実施例の要部ブロック図、第3図は中間調
画像の説明図、第4図は第3図の2進表示図、第5図は
濃度レベルとビットプレーンの説明図、第6図はビット
プレーンの説明図である。 (1)・・・入力端子、(2)・・・白ラインカウンタ
、(3)・・・黒ラインカウンタ、(4) (5) (
8) (16)・・・比較器、(6)・・・OR回路、
(7)・・・累計カウンタ、 (12)・・・判定結果
の出力端子、(13)・・・ラインメモリ、(14)・
・・水平モード検出回路、(15)・・・カウンタ代理
人   森  本  義  弘 第4因 第5因 第6区
FIG. 1 is a block diagram of main parts of a specific embodiment of the present invention,
Fig. 2 is a block diagram of main parts of another embodiment, Fig. 3 is an explanatory diagram of a halftone image, Fig. 4 is a binary representation diagram of Fig. 3, and Fig. 5 is an explanatory diagram of density level and bit plane. , FIG. 6 is an explanatory diagram of a bit plane. (1)...Input terminal, (2)...White line counter, (3)...Black line counter, (4) (5) (
8) (16)...Comparator, (6)...OR circuit,
(7)... Cumulative counter, (12)... Judgment result output terminal, (13)... Line memory, (14)...
...Horizontal mode detection circuit, (15)...Counter agent Yoshihiro Morimoto 4th cause 5th cause 6th ward

Claims (1)

【特許請求の範囲】 1、2のN乗(但し、Nは自然数)の階調を有するN個
のビットプレーンで表現したデジタル画像データを記録
または伝送するに際し、各プレーンの2値画像を調べて
データ量が圧縮されるか否かを判定し、データ量が圧縮
されないプレーンは前記デジタル画像データをそのまま
出力し、データ量が圧縮されるプレーンのみ上記データ
を圧縮して出力する多値画像データ圧縮方式。 2、データ圧縮方式として一次元のランレングス符号を
用いる場合にはデータ量が圧縮されるか否かの判定を、
各ビットプレーン毎に2値画像の白もしくは黒のラン長
の発生頻度の累計を測定して、この累計値を基準値と比
較して累計値が基準値以上の場合に圧縮されないと判定
することを特徴とする特許請求の範囲第1項記載の多値
画像データ圧縮方式。 3、データ圧縮方式として二次元のモディファイドリー
ド方式を用いる場合にはデータ量が圧縮されるか否かの
判定を、各ビットプレーン毎に2値画像の白もしくは黒
のラン長の発生頻度の累計を測定すると共に各走査ライ
ンの前ラインとの比較を行い相違ラン長の累計を測定し
て圧縮されるか否かを判定する特許請求の範囲第1項記
載の多値画像データ圧縮方式。
[Claims] When recording or transmitting digital image data expressed by N bit planes having gradations of 1 and 2 to the Nth power (where N is a natural number), the binary image of each plane is examined. Multi-valued image data is determined whether the data amount is compressed or not, and the plane where the data amount is not compressed is outputted as it is, and only the plane where the data amount is compressed is compressed and outputted. Compression method. 2. When using a one-dimensional run-length code as the data compression method, determine whether the amount of data can be compressed or not.
Measuring the cumulative frequency of occurrence of white or black run lengths in a binary image for each bit plane, comparing this cumulative value with a reference value, and determining that compression is not possible when the cumulative value is greater than or equal to the reference value. A multivalued image data compression method according to claim 1, characterized in that: 3. When using the two-dimensional modified read method as the data compression method, the judgment as to whether or not the amount of data is compressed is made by calculating the cumulative frequency of occurrence of white or black run lengths in the binary image for each bit plane. 2. The multivalued image data compression method according to claim 1, wherein each scanning line is compared with the previous line to determine whether or not compression is to be performed by measuring the cumulative total of different run lengths.
JP60006730A 1985-01-17 1985-01-17 Multi-value image data compression system Pending JPS61166273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60006730A JPS61166273A (en) 1985-01-17 1985-01-17 Multi-value image data compression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60006730A JPS61166273A (en) 1985-01-17 1985-01-17 Multi-value image data compression system

Publications (1)

Publication Number Publication Date
JPS61166273A true JPS61166273A (en) 1986-07-26

Family

ID=11646351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60006730A Pending JPS61166273A (en) 1985-01-17 1985-01-17 Multi-value image data compression system

Country Status (1)

Country Link
JP (1) JPS61166273A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0503644A2 (en) * 1991-03-12 1992-09-16 Mita Industrial Co. Ltd. Device for judging type of color of document
JP2007228281A (en) * 2006-02-23 2007-09-06 Ricoh Co Ltd Image processing method, image processing device, image processing program, and information recording medium
JP2009036381A (en) * 2008-11-06 2009-02-19 Nok Corp Gasket and sealing structure between two members

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0503644A2 (en) * 1991-03-12 1992-09-16 Mita Industrial Co. Ltd. Device for judging type of color of document
US5282026A (en) * 1991-03-12 1994-01-25 Mita Industrial Co., Ltd. Device for judging the type of color of a document
JP2007228281A (en) * 2006-02-23 2007-09-06 Ricoh Co Ltd Image processing method, image processing device, image processing program, and information recording medium
JP4643468B2 (en) * 2006-02-23 2011-03-02 株式会社リコー Image processing method, image processing apparatus, image processing program, and information recording medium
JP2009036381A (en) * 2008-11-06 2009-02-19 Nok Corp Gasket and sealing structure between two members

Similar Documents

Publication Publication Date Title
US5416606A (en) Method and apparatus for encoding or decoding an image in accordance with image characteristics
CA1240789A (en) Image processing system
US5524067A (en) Image processing device employing coding with edge information preserved
EP0130415A2 (en) Data compression for graphics images
US4323974A (en) Method of restoring a picture through estimation
GB2092416A (en) Method and equipment for processing gray scale facsimile signal
US5442459A (en) Process for encoding a half tone image considering similarity between blocks
US4156880A (en) Method for transmitting a facsimile signal by sequential edge differential coding
JPH08116447A (en) Coder for image signal
US4796092A (en) Image processing with compression encoding
US6282314B1 (en) Image processing method and apparatus which iteratively divides image data into sub-regions
JPS61245768A (en) Encoding of image data
US4071855A (en) Encoder and decoder for bandwidth compression
JPH07264417A (en) Image coding method
JPS61166273A (en) Multi-value image data compression system
US5936605A (en) Lossy compression and expansion algorithm for image representative data
JP3062224B2 (en) Image coding method
JP3281183B2 (en) Image encoding / decoding method and image encoding / decoding device
JP3361201B2 (en) Image encoding apparatus, image encoding / decoding apparatus, and image encoding / decoding method
US20010015825A1 (en) Method and apparatus for encoding image data in conformity with joint bi-level image group system
JPS592483A (en) System for separating picture region
KR910008524B1 (en) Black puttern repeadly encoding method for fax
JP2003153008A (en) Image coding device and image decoding device
JP3732329B2 (en) Pseudo halftone image encoding apparatus and encoding method
JPS61136379A (en) Encoding system