JPS63275275A - Compression method for dot picture data - Google Patents

Compression method for dot picture data

Info

Publication number
JPS63275275A
JPS63275275A JP62110332A JP11033287A JPS63275275A JP S63275275 A JPS63275275 A JP S63275275A JP 62110332 A JP62110332 A JP 62110332A JP 11033287 A JP11033287 A JP 11033287A JP S63275275 A JPS63275275 A JP S63275275A
Authority
JP
Japan
Prior art keywords
data
pixel
halftone
value
image data
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.)
Granted
Application number
JP62110332A
Other languages
Japanese (ja)
Other versions
JPH0828817B2 (en
Inventor
Hiroshi Horikawa
博 堀川
Hitoshi Urabe
仁 卜部
Katsutoshi Yago
箭子 勝利
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP62110332A priority Critical patent/JPH0828817B2/en
Priority to US07/190,189 priority patent/US4943869A/en
Priority to GB8810614A priority patent/GB2204462B/en
Priority to DE3815586A priority patent/DE3815586C2/en
Publication of JPS63275275A publication Critical patent/JPS63275275A/en
Publication of JPH0828817B2 publication Critical patent/JPH0828817B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To efficiently compress dot picture data at a high speed so as to transmit it by taking data in a prescribed reference range for a same logical value and counting them from both ends of intermediate data in the counted range. CONSTITUTION:An area unit to be compressed and coded is set to be an integer multiple of dot area and the threshold matrixes of respective picture elements are displaced in a picture element unit in accordance with a prescribed reference. The number of data in which the same theoretical value continues is counted from the leading end or the tailing end of dot data which can be obtained by displacement at every prescribed unit, and data in the prescribed reference range from both ends of intermediate data in the counted range are taken for the same theoretical value and are counted. Thus, a high regulating ratio can be obtained, and address-conversion, data-conversion and coding in a comparator can be executed with respect to hardware, whereby high speed compression can be realized.

Description

【発明の詳細な説明】 (発明の技術分野) この発明は、網点画像データを効率良く圧縮するための
非完全復元方式の圧縮方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field of the Invention) The present invention relates to a compression method using a non-perfect restoration method for efficiently compressing halftone image data.

(技術的背景と解決すべき問題点) 2値データで中間調を表わす擬似ハーフトーン画像の圧
縮技術は、ファクシミリによる中間調画像や新聞画像の
データの伝送に利用されている。画像データは膨大であ
るため、そのままデータ転送したりメモリに格納するこ
とは効率が悪いからである。そして、ファクシミリのデ
ータ伝送では効率良くデータを伝送するために圧縮技術
を利用しており、従来はMll法(1次元圧縮法; M
odified Huffman Coding)やM
R法(2次元圧縮法; Modified−RE八へ)
が利用されている。しかしなから、MtI法及びMII
法の擬似ハーフトーン画像の適用はディザマトリクスの
しきい値の大きさによって画像データを並へ換えてより
長いランを生じさせ、文字画像を効率良く伝送すること
を前提としており、1〜3ビット程度の小さなランを少
なくするデータの配列換え方法を選択するのが容易でな
く、網点画像のデータ圧縮としては不適当なものである
(Technical Background and Problems to be Solved) Compression technology for pseudo-halftone images that express halftones using binary data is used to transmit halftone images and newspaper image data by facsimile. This is because image data is enormous, and it is inefficient to transfer the data as it is or store it in memory. Facsimile data transmission uses compression technology to efficiently transmit data, and conventionally, the Mll method (one-dimensional compression method;
modified Huffman Coding) and M
R method (two-dimensional compression method; Modified-RE8)
is being used. However, MtI method and MII method
The application of the pseudo halftone image of the method is based on the premise that the image data is rearranged according to the threshold value of the dither matrix to generate a longer run, and to efficiently transmit the character image. It is not easy to select a data rearrangement method that reduces the number of small runs, and this method is inappropriate for data compression of halftone images.

また、先行するm個の参照画素の状態と共に、現画素の
ディザマトリックス内の位置を考慮した予測符号化方式
もあるが、m個の状態数を多くすると実際の装置化が困
難であり、更に上記MH法、 MR法をそのまま適用し
ても圧縮率が悪いという欠点があった。
There is also a predictive encoding method that considers the position of the current pixel in the dither matrix as well as the states of the preceding m reference pixels, but increasing the number of m states makes it difficult to implement into an actual device. Even if the above-mentioned MH method and MR method were applied as they were, there was a drawback that the compression rate was poor.

(発明の目的) この発明は上述のような事情よりなされたものであり、
この発明の目的は、網点画像データを効率良くかつ高速
に圧縮して伝送するための、非完全復元方式による網点
画像データの圧縮方法を提供することにある。
(Object of the invention) This invention was made under the above circumstances,
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for compressing halftone image data using a non-perfect restoration method for efficiently compressing and transmitting halftone image data at high speed.

(問題点を解決するための手段) この発明は、画像信号を1画素当りn個(3以上の整数
)のしきい値と比較し、1画素当りnビットのディジタ
ル網点データを生成する網点画像データの圧縮方法に関
するもので、この発明の上記目的は、圧縮符号化する領
域単位を網点領域の整数倍とすると共に、各画素毎のし
きい値マトリクスを所定基準に従って前記画素単位に並
び換え、この並び換えによって得られる網点データの先
頭もしくは最後尾から同一論理値が連続するデータを所
定ユニット単位毎に数えた数を使用すると共に、前記数
えた範囲の中間部データの両端からそれぞれ一定基準範
囲のデータを同一論理値とみなして数えることによって
達成される。又、圧縮符号化する領域単位を網点領域の
整数倍とすると共に、各画素毎のしきい値マトリクスを
所定基準に従フて前記画素単位に並び換え、その後に前
記各画素内のしきい値マトリクスを所定順に並び換え、
前記並び換えによって得られるビット単位の網点データ
を前記nの整数倍ビット単位でユニット化し、前記ビッ
ト単位の網点データの先頭及び最後尾から同一論理値が
連続する前記ユニットの2つのグループ部を求めてその
ユニット数を数えて、前記2つのグループ部の間の中間
部データをコート表に従って短縮化すると共に、この短
縮化されたデータの両端からそれぞれ一定範囲のデータ
を同一論理値とみなして追加カウントすることによって
も達成される。
(Means for Solving the Problems) The present invention provides a network that compares an image signal with n threshold values (an integer of 3 or more) per pixel and generates digital halftone data of n bits per pixel. This invention relates to a method for compressing point image data, and the above object of the present invention is to compress and encode the area unit to be an integer multiple of the halftone area, and to set the threshold matrix for each pixel in accordance with a predetermined standard in the pixel unit. Sort the halftone dot data obtained by this sorting, and use the number obtained by counting consecutive identical logical values from the beginning or end of the halftone data for each predetermined unit, and from both ends of the intermediate data in the counted range. This is achieved by counting data within a certain reference range, regarding them as the same logical value. In addition, the area unit to be compressed and encoded is an integral multiple of the halftone dot area, and the threshold matrix for each pixel is rearranged into the pixel unit according to a predetermined standard, and then the threshold within each pixel is Sort the value matrix in a predetermined order,
The bit-wise halftone data obtained by the sorting is divided into units of bits that are an integer multiple of the n, and two group parts of the units in which the same logical value continues from the beginning and end of the bit-wise halftone data. , count the number of units, shorten the intermediate data between the two group parts according to the coat table, and consider data in a certain range from both ends of this shortened data as the same logical value. This can also be achieved by adding additional counts.

(発明の作用) この発明では、人力画像データを網点データに変換する
しきい値マトリクスを予め所定の基準に従って並び換え
、網点データの先頭もしくは最後尾から論理値の°“1
°゛又は“0°°が連続して出力するようにすると共に
、網点データを所定ビット単位でユニット化して先頭及
び最後尾から同一論理値が連続したユニットをカウント
し、更に中間部データの両端からそれぞれ一定範囲のデ
ータを同一論理値とみなして追加カウントすることによ
って、網点画像の効率的なデータ圧縮を達成している。
(Operation of the invention) In this invention, a threshold matrix for converting human image data into halftone data is rearranged in advance according to a predetermined standard, and logical values are
In addition to outputting "0°" or "0°°" continuously, the halftone data is divided into units in predetermined bit units, and the units in which the same logical value continues from the beginning and end are counted, and the intermediate part data is Efficient data compression of halftone dot images is achieved by treating data in a certain range from both ends as the same logical value and additionally counting them.

更に、ユニット化されたビット単位のしきい値マトリク
スを所定順に並び換えることによって、中間部の網点デ
ータをコート表に従って短縮化することによって、より
一層圧縮度を向上させている。つまり、この発明では、
画像の空間的な相関性と網点パターンの相関性とに基づ
く冗長度を利用して、非完全復元方式による網点画像デ
ータの効率的な圧縮を実現している。
Furthermore, by rearranging the unitized bit-by-bit threshold matrices in a predetermined order, the intermediate halftone dot data is shortened according to the coat table, thereby further improving the degree of compression. In other words, in this invention,
Redundancy based on the spatial correlation of images and the correlation of halftone dot patterns is utilized to realize efficient compression of halftone image data using a non-perfect restoration method.

(発明の実施例) 第1図はこの発明方法の概略をデータの流れに従って示
しており、8ビツトで表わされる画像データが、しきい
値マトリクス(プサイマトリクス)によって網点化2さ
れ、その網点データDDを圧縮3してメモリに記憶4し
、その後にデータを伸長5して4ビツトの網点データ6
としている。この場合、この発明では網点データDDと
伸長されたデータEDとが異なる非完全復元方式を用い
ている。
(Embodiment of the Invention) Fig. 1 shows an outline of the method of the invention according to the flow of data, in which image data represented by 8 bits is halftone-dotted by a threshold matrix (psi matrix), and the halftone The dot data DD is compressed 3 and stored in memory 4, and then the data is expanded 5 to create 4-bit halftone dot data 6.
It is said that In this case, the present invention uses an incomplete restoration method in which the halftone dot data DD and the expanded data ED are different.

第2図は、人力画像データ1としきい値マトリクス10
によって網点データロOが形成される揉子を示しており
、この第2図から明らかなように人力画像データ1の濃
度レベル値” o ”〜“255°° (8ビツト)に
対して1画素当り4個のしきい値と比較し、1画素当り
4ビツトの2値の網点データDDを生成している。そし
て、人力画像データ1のレベル値がしきい値マトリクス
10の各ビットのしきい値よりも高い時に°1°° (
黒)、低い時に°“0゛′ (白)としており、しきい
値マトリクスlOの各ビットしきい値は画素のレベル値
に無関係であり、画素の座標にだけ依存している。
Figure 2 shows human image data 1 and threshold matrix 10.
As is clear from FIG. 4 bits per pixel are compared with 4 threshold values per pixel to generate binary halftone dot data DD of 4 bits per pixel. °1°° when higher than the threshold (
When it is low, it is set to 0' (white), and each bit threshold of the threshold matrix IO is independent of the level value of the pixel, and depends only on the coordinates of the pixel.

ここでは、第3図に網点データCDI として示すよう
に、符号化のブロックBLの大きさを網点データDDl
の2倍、つまり2網点ユニットとし、1画素をPLの如
く4ビツトとする符号化方式を用いている。したがって
、符号化のブロックBLの大きさが2網点ユニットであ
ることから、画像は100画素/ブロックとなる。そし
て、第4図に示すように1ブロツク毎に、画像データ1
をしきい値マトリクス10にJ:って2値化して第5図
に示ずような網点データDD2を得る。次に、ブロック
BL内の網点化された画像データ(4ビツト)を、しき
い値マトリクス10の画素毎の4つのしきい値の大きい
順に並び換える。これらデータの並び換えは、いずれも
しきい値マトリクスlOによって決まる固定順である。
Here, as shown in FIG. 3 as halftone data CDI, the size of the encoding block BL is determined by halftone data DDl.
In other words, the number of halftone dot units is twice that of the original number, that is, there are 2 dot units, and an encoding method is used in which each pixel has 4 bits like PL. Therefore, since the size of the encoded block BL is 2 halftone units, the image has 100 pixels/block. Then, as shown in FIG. 4, for each block, image data 1
is binarized into a threshold value matrix 10 by J: to obtain halftone dot data DD2 as shown in FIG. Next, the halftone image data (4 bits) in the block BL are rearranged in descending order of the four threshold values for each pixel in the threshold matrix 10. These data are rearranged in a fixed order determined by the threshold matrix lO.

つまり、しきい値マトリクスlOの各ビット毎のしきい
値は第2図に示す如く固定されているので、しきい値の
大きい(又は小さい)順に画素データを並び換えると共
に、各画素のビットデータも並び換えることによって、
しきい値の大きい(又は小さい)順に全ての画像データ
が、第6図に示す如く配置換えされることになる。
In other words, since the threshold value for each bit of the threshold matrix lO is fixed as shown in FIG. By rearranging the
All image data are rearranged in order of increasing (or decreasing) threshold value as shown in FIG.

そして、並び換えた400ビツトの網点データDD3を
8ビツト毎に符号化する。この場合、並ひ換えた400
ビツトの網点データDD3を最初から8ビット単位でス
キャンし、8ビット共に°“0°′が続く8ビット単位
のユニット数を求める。このグループ部分を白部Wと称
し、白部Wの長さは°゛O゛〜゛°50°′であるから
、6ビツトで符号化することかできる。次に、並び換え
た400ビツトの網点データDD3を最後尾から8ビッ
ト単位でスキャンし、8ヒツト共に“1°。
Then, the rearranged 400-bit halftone data DD3 is encoded every 8 bits. In this case, the rearranged 400
The bit halftone data DD3 is scanned in units of 8 bits from the beginning, and the number of units in units of 8 bits in which all 8 bits are followed by ``0°'' is determined.This group part is called the white part W, and the length of the white part W is Since the width is between °゛O゛~゛°50°', it can be encoded with 6 bits.Next, the rearranged 400-bit halftone dot data DD3 is scanned in units of 8 bits from the end. All 8 hits “1°.

か続く8ビット単位のユニット数を求める。このグルー
プ部分を黒部Bとし、この黒部Bの長さも0°°〜”5
0”であるから、6ビツトで符号化することができる。
Find the number of units in 8-bit units that follow. This group part is called black part B, and the length of this black part B is also 0°°~"5
0'', it can be encoded with 6 bits.

B部の先頭位置を黒部の先頭からのユニット数としても
同様である。
The same is true if the beginning position of part B is the number of units from the beginning of the black part.

また、並び換えた400ビツトの網点データDD3の白
部Wと黒部B以外の中間部のデータを中間データと称し
、この中間データは8ビット単位で見た時の上記並び換
えの結果、第7図のコード表O〜3て示すように25種
類のパターンしかなく、これらは全て5ビツトの符号化
コードで固定的に符号化できる。つまり、8ビツトの中
間部データを5ビツトのデータに圧縮することができる
。一般には!を整数として、この符号化はρ×nビット
単位で行なうとき(口+1)1種類のパターンとなり、
2”< (n+1)’≦2xとなるXビットに置き換え
ることができる。
In addition, the data in the middle part other than the white part W and the black part B of the rearranged 400-bit halftone data DD3 is called intermediate data, and this intermediate data is the result of the above rearrangement when viewed in 8-bit units. As shown in code tables O to 3 in Figure 7, there are only 25 types of patterns, and all of these can be fixedly encoded with a 5-bit encoding code. In other words, 8-bit intermediate data can be compressed into 5-bit data. In general! When is an integer, this encoding becomes one type of pattern when performed in units of ρ×n bits (gate + 1),
It can be replaced with X bits such that 2''<(n+1)'≦2x.

更に、並び換えた400ビツトの網点データDD3の白
部Wと黒部Bをユニット数て表わす方法(つまり、6ビ
ツトでB部と黒部を符号化する)を組合せることによっ
て、より効率的なデータ圧縮を行なうことかできる。こ
の後、この発明では中間部データの両端から一定範囲(
たとえば16ビツト分のデータ、又は反転すべき論理値
のピッI−数が2ビツト)のデータを同一倫理値とみな
して、上記白部W及び黒部Bを拡張している。第8図に
はこの様子を示しており、白部Wに対する中間部データ
の端部から16ビツトのデータWMを、その中に1°′
かあっても全<”o” とみなし白部W°に拡張してい
る。
Furthermore, by combining the method of expressing the white part W and the black part B of the rearranged 400-bit halftone dot data DD3 as the number of units (that is, encoding the B part and the black part with 6 bits), a more efficient method can be obtained. It is possible to perform data compression. After this, in this invention, a certain range (
For example, the white part W and the black part B are expanded by regarding 16 bits of data or data of the logical value to be inverted (the number of bits is 2 bits) as the same ethical value. This situation is shown in FIG.
Even if there is, it is regarded as all <“o” and expanded to the white part W°.

また、黒部Bに対する中間部データの端部から16ビツ
トのデータBMを、その中に°゛0°′があっても全て
°1°゛とみなして黒部B′に拡張し、拡張された白部
W°及び黒部B°を無視することによって圧縮された網
点データMを得ることができる。この場合、配置換えさ
れた網点データの一部を強制的に反転してデータ圧縮し
ているので、データを伸長しても完全に復元することは
できない。しかし、データ圧縮の効率は上昇している。
In addition, the 16-bit data BM from the end of the intermediate data for the black part B is treated as 1° even if there is any °0°' in it, and is extended to the black part B'. Compressed halftone dot data M can be obtained by ignoring the part W° and the black part B°. In this case, a portion of the rearranged halftone dot data is forcibly inverted and data compressed, so even if the data is expanded, it cannot be completely restored. However, the efficiency of data compression is increasing.

第8図の例では、白部W及び黒部Bの各端部からそれぞ
れ16ビツトを同一理論値とするようにして拡張してい
るが、白部Wの端部からたとえは°“1′°が2ビツト
出現する位置までの範囲を全て0°゛とし、黒部Bの端
部から°0°′が2ビツト分出現する位置までの範囲を
全て“°ビ°として、データ圧縮するようにしても良い
。実際の画像データで圧縮してみたところ、中間部デー
タの両端から同一論理値とするために、反転ビット数を
2ビツトとした場合には約179.4 、反転ビット数
を4ビツトとした場合には約1/10.3、反転ビット
数を8ビツトした場合には約1710.8の圧縮率を得
ることができた。
In the example shown in Fig. 8, 16 bits from each end of the white part W and black part B are expanded to have the same theoretical value. The entire range up to the position where 2 bits of 0°' appear is set as 0°, and the entire range from the end of black part B to the position where 2 bits of 0°' appears is set as 0°, and the data is compressed. Also good. When compressing actual image data, the result was approximately 179.4 when the number of inversion bits was set to 2 bits, and when the number of inversion bits was set to 4 bits, in order to obtain the same logical value from both ends of the intermediate data. A compression ratio of about 1/10.3 was obtained, and when the number of inversion bits was set to 8 bits, a compression ratio of about 1710.8 was obtained.

更に中間部のコート化において、第7図のコード表1〜
3の例ではコート°’+1001.11010゜110
1+、11100,11101.11110,1111
1 ”に第9図に示すようなデータを割りあてることに
より、圧縮率を向上させることもできる。つまり、2x
−(n+1)’ カOテナイときニハ、(2x−(n+
1)’)種類の符号を中間部の特定パターン又はB部の
記号として割りあてることができる。
Furthermore, in coating the intermediate part, code table 1 to
In example 3, coat °'+1001.11010°110
1+, 11100, 11101.11110, 1111
The compression ratio can also be improved by allocating data as shown in Figure 9 to 1''.In other words, 2x
-(n+1)' (2x-(n+)
1)') type of code can be assigned as a specific pattern in the middle part or a symbol in part B.

上述の実施例では、ブロックBL内の網点化された画素
データ(4ビツト)を、しきい値マトリクスlOの画素
毎の4ビツトのしきい値の平均値で並び換えているか、
4ビツトのしきい値の最小値の大きい順に並び換えても
良く、最大値の大きい順に並び換えても良い。又、しき
い値マトリクス10のしきい値が“’128”(中間値
)以上の時、ブロック内の網点化された画素データ(4
ビツト)をしきい値マトリクスlOの画素毎の4ビツト
のしきい値の最大値の大ぎい順に並び換え、しきい値マ
トリクス値が127°“以下の時、しきい値マトリクス
の画素毎の4ビットのしきい値の最小値の大きい順に並
び換えても良い。また、上述ではブロックを45°の2
網点ユニットとしているが、任意の網点ユニットについ
ても行なうことができ、中間部のデータ圧縮は必らずし
も必要なものでなはい。更に、上述した“1”、“°0
°°のデータは逆であっても良く、しきい位置に対する
°1°゛、“0゛′の論理変換も任意である。
In the above embodiment, the halftone pixel data (4 bits) in the block BL are sorted by the average value of the 4-bit threshold values for each pixel in the threshold matrix 10, or
The 4-bit threshold values may be sorted in descending order of minimum value, or may be arranged in descending order of maximum value. Also, when the threshold value of the threshold matrix 10 is equal to or greater than "'128" (intermediate value), the halftone pixel data (4
Sort the 4-bit threshold values for each pixel in the threshold matrix lO in descending order of the maximum value, and when the threshold matrix value is less than or equal to 127°, the 4-bit threshold values for each pixel in the threshold matrix It is also possible to rearrange the bits in descending order of the minimum value of the threshold value.Also, in the above, the blocks are
Although the method is described as a halftone dot unit, it can be performed on any halftone dot unit, and data compression in the intermediate portion is not necessarily necessary. Furthermore, the above-mentioned "1", "°0"
The °° data may be reversed, and the logical conversion of °1°'' and "0'' with respect to the threshold position is also arbitrary.

(発明の効果) 以上のようにこの発明のデータ圧縮方法によれば、高圧
縮率が得られハードウェアに関しても、アドレス変換や
データ変換及び比較器で符号化がてきるため、高速圧縮
を実現することがてきる。
(Effects of the Invention) As described above, according to the data compression method of the present invention, a high compression rate can be obtained, and even with regard to hardware, encoding can be performed using address conversion, data conversion, and a comparator, so high-speed compression can be achieved. I can do that.

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

第1図はこの発明方法をデータのフローに従って示すブ
ロック図、第2図はこの発明の人力画像データと網点デ
ータとの関係を示す図、第3図はこの発明の網点データ
の一例を示す図、第4図々゛第6図及び第8図はこの発
明方法を説明するための図、第7図はこの発明に用いる
データ圧縮のコード表を示す図、第9図は拡張符号化コ
ード表である。 1・・・画像データ、2・・・網点化、3・・・圧縮、
4・・・記憶、5・・・伸長、lO・・・しきい値マト
リクス。 出願人代理人   安 形 雄 三 一] 第1区 ニ]づ D 某2回 羊3図 副良金 / DD2 某5因 D3 〆 羊6図 第7回
FIG. 1 is a block diagram showing the method of this invention according to the data flow, FIG. 2 is a diagram showing the relationship between human image data of this invention and halftone data, and FIG. 3 is an example of halftone data of this invention. Figures 4, 6 and 8 are diagrams for explaining the method of this invention, Figure 7 is a diagram showing a code table for data compression used in this invention, and Figure 9 is an extended encoding diagram. This is a code table. 1... Image data, 2... Halftone conversion, 3... Compression,
4... Memory, 5... Extension, lO... Threshold matrix. Applicant's agent Miichi Yasugata] District 1 D] D Certain 2nd sheep 3rd drawing subryokin / DD2 Certain 5th cause D3 〆Sheep 6th drawing 7th time

Claims (10)

【特許請求の範囲】[Claims] (1)画像信号を1画素当りn個(3以上の整数)のし
きい値と比較し、1画素当りnビットのディジタル網点
データを生成する方法において、圧縮符号化する領域単
位を網点領域の整数倍とすると共に、各画素毎のしきい
値マトリクスを所定基準に従って前記画素単位に並び換
え、この並び換えによって得られる網点データの先頭も
しくは最後尾から同一論理値が連続するデータを所定ユ
ニット単位毎に数えた数として使用すると共に、前記数
えた範囲の中間部データの両端からそれぞれ一定基準範
囲のデータを同一論理値とみなして数えるようにしたこ
とを特徴とする網点画像データの圧縮方法。
(1) In a method of comparing an image signal with n threshold values (an integer of 3 or more) per pixel to generate n-bit digital halftone data per pixel, the unit of area to be compressed and encoded is a halftone dot. At the same time, the threshold matrix for each pixel is rearranged in pixel units according to a predetermined standard, and data in which the same logical value continues from the beginning or end of the halftone data obtained by this rearrangement is Halftone image data characterized in that it is used as a number counted for each predetermined unit, and that data in a certain reference range from both ends of the intermediate data of the counted range are counted as the same logical value. compression method.
(2)前記所定基準が各画素のnビットの値の平均値で
ある特許請求の範囲第1項に記載の網点画像データの圧
縮方法。
(2) The method for compressing halftone image data according to claim 1, wherein the predetermined standard is an average value of n-bit values of each pixel.
(3)前記所定基準が各画素のnビットの値の最大値で
ある特許請求の範囲第1項に記載の網点画像データの圧
縮方法。
(3) The method for compressing halftone image data according to claim 1, wherein the predetermined criterion is the maximum value of n-bit values of each pixel.
(4)前記所定基準が各画素のnビットの値の最小値で
ある特許請求の範囲第1項に記載の網点画像データの圧
縮方法。
(4) The method for compressing halftone image data according to claim 1, wherein the predetermined criterion is the minimum value of n-bit values of each pixel.
(5)前記ユニット単位が前記nの整数倍ビット単位で
ある特許請求の範囲第1項に記載の網点画像データの圧
縮方法。
(5) The method for compressing halftone image data according to claim 1, wherein the unit unit is a bit unit that is an integral multiple of the n.
(6)前記所定基準が、各画素のnビットの値の平均値
が基準値に対して大きい場合には前記nビットの値の最
大値の順であり、前記平均値が前記基準値よりも小さい
場合には前記nビットの値の最小値である特許請求の範
囲第1項に記載の網点画像データの圧縮方法。
(6) If the predetermined standard is such that the average value of the n-bit values of each pixel is larger than the standard value, the order is in the order of the maximum value of the n-bit values, and the average value is larger than the standard value. 2. The method for compressing halftone image data according to claim 1, wherein if the value is smaller than the minimum value of the n-bit value.
(7)画像信号を1画素当りn個(3以上の整数)のし
きい値と比較し、1画素当りnビットのディジタル網点
データを生成する方法において、圧縮符号化する領域単
位を網点領域の整数倍とすると共に、各画素毎のしきい
値マトリクスを所定基準に従って前記画素単位に並び換
え、その後に前記各画素内のしきい値マトリクスを所定
順に並び換え、前記並び換えによって得られるビット単
位の網点データを前記nの整数倍ビット単位でユニット
化し、前記ビット単位の網点データの先頭及び最後尾か
ら同一論理値が連続する前記ユニットの2つのグループ
部を求めてそのユニット数を数えて、前記2つのグルー
プ部の間の中間部データをコード表に従って短縮化する
と共に、この短縮化されたデータの両端からそれぞれ一
定基準範囲のデータを同一論理値とみなして追加カウン
トするようにしたことを特徴とする網点画像データの圧
縮方法。
(7) In a method of comparing an image signal with n threshold values (an integer of 3 or more) per pixel to generate digital halftone data of n bits per pixel, the area unit to be compressed and encoded is a halftone dot. The area is an integral multiple of the area, and the threshold matrix for each pixel is rearranged in pixel units according to a predetermined standard, and then the threshold matrix within each pixel is rearranged in a predetermined order, and the threshold matrix is obtained by the rearrangement. The number of units is obtained by converting the bit-wise halftone data into units of bits that are an integral multiple of n, and finding two group parts of the units in which the same logical value continues from the beginning and end of the bit-wise halftone data. , and shorten the intermediate data between the two group parts according to the code table, and additionally count data within a certain reference range from both ends of the shortened data, regarding them as the same logical value. A method for compressing halftone image data, characterized in that:
(8)前記コード表にルックアップテーブルを用いるよ
うにした特許請求の範囲第7項に記載の網点画像データ
の圧縮方法。
(8) A method for compressing halftone image data according to claim 7, wherein a look-up table is used as the code table.
(9)前記一定範囲のデータがビット数である特許請求
の範囲第7項に記載の網点画像データの圧縮方法。
(9) The method for compressing halftone image data according to claim 7, wherein the data in the certain range is a number of bits.
(10)前記一定範囲のデータが反転すべき論理値の数
である特許請求の範囲第7項に記載の網点画像データの
圧縮方法。
(10) The method for compressing halftone image data according to claim 7, wherein the certain range of data is the number of logical values to be inverted.
JP62110332A 1987-05-06 1987-05-06 Method for compressing halftone image data Expired - Fee Related JPH0828817B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP62110332A JPH0828817B2 (en) 1987-05-06 1987-05-06 Method for compressing halftone image data
US07/190,189 US4943869A (en) 1987-05-06 1988-05-04 Compression method for dot image data
GB8810614A GB2204462B (en) 1987-05-06 1988-05-05 Compression method for dot image data
DE3815586A DE3815586C2 (en) 1987-05-06 1988-05-06 Compression method for image signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62110332A JPH0828817B2 (en) 1987-05-06 1987-05-06 Method for compressing halftone image data

Publications (2)

Publication Number Publication Date
JPS63275275A true JPS63275275A (en) 1988-11-11
JPH0828817B2 JPH0828817B2 (en) 1996-03-21

Family

ID=14533060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62110332A Expired - Fee Related JPH0828817B2 (en) 1987-05-06 1987-05-06 Method for compressing halftone image data

Country Status (1)

Country Link
JP (1) JPH0828817B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7221483B2 (en) 2000-09-05 2007-05-22 Ricoh Company, Ltd. Image encoding method and apparatus, image decoding method and apparatus, image processing apparatus, image formation apparatus, and computer-executable programs

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7221483B2 (en) 2000-09-05 2007-05-22 Ricoh Company, Ltd. Image encoding method and apparatus, image decoding method and apparatus, image processing apparatus, image formation apparatus, and computer-executable programs

Also Published As

Publication number Publication date
JPH0828817B2 (en) 1996-03-21

Similar Documents

Publication Publication Date Title
US4943869A (en) Compression method for dot image data
CN101039374B (en) Image lossless compression method
JPH04223717A (en) Method for data compression, method for selection of system and dynamic model, and system
KR100229804B1 (en) Video signal coding apparatus and method using block truncation coding method
CN1193427A (en) Method of and device for coding digital information signal
JPS6318777A (en) Code decoding processing method for dither signal
US20050152610A1 (en) Image encoding apparatus, image decoding apparatus, and their control method, and computer program and computer-readable storage medium
CN1163686A (en) Method and system for encoding and decoding method and system
Hu et al. A new lossless compression scheme based on Huffman coding scheme for image compression
CN1130825A (en) Length changeable decoder using relative address
KR0181030B1 (en) Apparatus for transmitting bitplane compressed by means of binary image
US7286264B2 (en) None-of-the-above digital halftone compression and decompression
JP3387738B2 (en) Image pattern converter
US6157327A (en) Encoding/decoding device
US5699122A (en) Method and apparatus for encoding a video signal by using a modified block truncation coding method
JPS63275275A (en) Compression method for dot picture data
JPS63275274A (en) Compression method for dot picture data
US4782400A (en) System for encoding or decoding analog video signals
Chuang et al. A lossless color image compression algorithm with adaptive arithmetic coding based on adjacent data probability
JP2511669B2 (en) Compressor for gradation image data
JPS61247165A (en) Method for dither picture coding
US6456742B1 (en) Method for image processing
JPH01267781A (en) Method for compressing multilevel image data
JPH03240173A (en) Image data compressing system
Patel Enhanced Encoding Technique for Lossless Image Compression

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees