JPS6024776A - Half tone picture compression system - Google Patents

Half tone picture compression system

Info

Publication number
JPS6024776A
JPS6024776A JP58132235A JP13223583A JPS6024776A JP S6024776 A JPS6024776 A JP S6024776A JP 58132235 A JP58132235 A JP 58132235A JP 13223583 A JP13223583 A JP 13223583A JP S6024776 A JPS6024776 A JP S6024776A
Authority
JP
Japan
Prior art keywords
pixel
data
smoothing
bit
forecasting
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
JP58132235A
Other languages
Japanese (ja)
Inventor
Shigeru Yoshida
茂 吉田
Yoshiyuki Okada
佳之 岡田
Toru Sato
透 佐藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58132235A priority Critical patent/JPS6024776A/en
Publication of JPS6024776A publication Critical patent/JPS6024776A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To obtain the matching characteristics with MH system and enlarge the compression ratio by flattening and smoothening the forecasting picture element per bit plane and by marking the half tone data for forecasting. CONSTITUTION:The picture data B and C for 1 picture element of the front line is read out of the register 12. Picture elements X, A, B and C are inputted to ROM14. In the ROM14, the data in order showing in what number the value of the picture element X is easy to appear in accordance with the value of the referring picture elements A to C is written beforehand. The bit corresponding to the forecasting order is divided and written in the memories 15 to 17. The multiplexor 18 reads out the data for 1 scanning line per bit plane from the memories 15 to 17. Further, it smoothens the output bit 39 at FF19. And it executes the run length coding with MH coder 20.

Description

【発明の詳細な説明】 (a) 発明の技1ノドを分野 本発明は予測符号化方式によるビット割付けとビットプ
レーンごとにビットを平滑化して中間調画像データを圧
縮する中間調画像圧縮方式に関するものである。
Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a halftone image compression method that compresses halftone image data by allocating bits using a predictive coding method and smoothing bits for each bit plane. It is something.

(ロ)従来技術と問題点 従来、多随中間調画像データの圧縮方式としてハ、レベ
ルプレーン符号化、ビットプレーン符号化、デ4ファレ
ンシャルパルスコードモジュレーション方式、予測順位
符号他力式など種々の方法がある。これに対して2泣画
像の圧縮方式としてはモディファイドハフマン方式(以
下MH方式と言つ)、モディファイ両−ド方式(以下M
R方式と言う)が国際規格のデータ圧縮方式として定め
られている。前記多鎮中間調1+lii像の圧縮方式の
ウチレベルプレーン符号化、ビットプレーン符号化はM
H方式の相性がよく、M H方式で圧縮して伝送する方
式が幾つか試みられている。(例えば昭和57年画像電
子学会全国大会予稿1中間調画像のビットプレーン表現
を経たG■符号化、を参照。)そこで、MH方式が中間
調画り夕の符号化に使えればファクシミリの符号器が流
用できるので有利となる。しかし、ビットプレーン符号
化やレベIレプレーン符号化は予測符号化方式に比べて
圧縮比が大きくとれないという欠点がある。
(b) Prior art and problems Conventionally, various methods for compressing multi-tone image data have been used, such as level plane coding, bit plane coding, differential pulse code modulation, and prediction order coding. There is a way. On the other hand, the compression methods for two-dimensional images include the modified Huffman method (hereinafter referred to as the MH method) and the modified two-mode method (hereinafter referred to as the MH method).
R method) has been established as an international standard data compression method. The level plane encoding and bit plane encoding of the compression method of the multi-tone halftone 1+lii image are M
Several methods have been tried that are compatible with the H method and transmit data after being compressed using the M H method. (For example, refer to Proceedings of the 1981 Institute of Image Electronics Engineers National Conference 1, G■ encoding via bit-plane representation of halftone images.) Therefore, if the MH method can be used to encode halftone images, the facsimile encoder This is advantageous because it can be used. However, bitplane encoding and level I replane encoding have the disadvantage that they cannot achieve a higher compression ratio than predictive encoding methods.

(Q) 発明の目的 本発明の目的は多筐中間調画像の圧縮比を大きくすると
ともに国際規格であるM f(方式との整合ができる中
間調画像圧縮方式を提供することにある。
(Q) Object of the Invention The object of the present invention is to provide a halftone image compression method that can increase the compression ratio of multi-case halftone images and is compatible with the international standard M f (method).

(5)発明の構成 そしてこの目的は、符号化するl!!!l素の近傍にあ
る所定の参照画素に参照して符号化する画集を予測し予
測誤差を得る予測手段と、前記予測誤差のビット割付け
を行う符号化手段と、該符号化手段より出力されるワー
ド単位のビットの書込みおよびビットプレーンごとにビ
ットの読み出しとを行う記憶手段と、該記憶手段からの
出力ビツト信号を平滑化する平滑手段とを備え、予測画
素を符号化し、前記符号化した信号を平滑化してモディ
ファイドハフマン符号器に入力することを特徴とする中
間調画像圧縮方式により達せられる。
(5) Structure of the invention and its purpose is to encode l! ! ! a prediction means for predicting an image set to be encoded by referring to a predetermined reference pixel in the vicinity of the l element, and obtaining a prediction error; an encoding means for allocating bits of the prediction error; A storage means for writing bits in units of words and reading bits for each bit plane, and a smoothing means for smoothing an output bit signal from the storage means, encodes a predicted pixel, and reads the encoded signal. This is achieved by a halftone image compression method characterized by smoothing the image and inputting it to a modified Huffman encoder.

(e) 発明の実施例 本発明による中間調画像圧縮方式の1実施例を図面によ
り詳述する。第1図は本発明による中間調画像圧縮方式
を説明するだめの予測子図であり、同図においてA、B
、Oは参照画素、Xは符号化画素を示す。第2図は本発
明tこよる中間調画像圧縮方式のブロック図であり、同
図において10゜11.18はレジスタ、12はFiy
o (FastinFast out) vジヌp、1
4はROM (Read−OJy−Memory ) 
、15.16.17はメモリ、18はマルチプレクサ、
19はトリガフリップフロップ(TFF)、20はMH
符号器、30は1画素分の8、随信号、31は画素X、
82は画素A、33は画素C184は画素Bの画素デー
タ、39は出力ビツト信号をそれぞれ示す。
(e) Embodiment of the Invention An embodiment of the halftone image compression method according to the present invention will be described in detail with reference to the drawings. FIG. 1 is a predictor diagram for explaining the halftone image compression method according to the present invention.
, O indicates a reference pixel, and X indicates a coded pixel. FIG. 2 is a block diagram of a halftone image compression method according to the present invention, in which 10°11.18 is a register, 12 is a
o (Fastin Fast out) v Jinwoo p, 1
4 is ROM (Read-OJy-Memory)
, 15.16.17 is memory, 18 is multiplexer,
19 is a trigger flip-flop (TFF), 20 is MH
Encoder, 30 is 8 for one pixel, corresponding signal, 31 is pixel X,
82 indicates pixel A, 33 indicates pixel C, 184 indicates pixel data of pixel B, and 39 indicates an output bit signal.

本実施例として8値の中間調画像を圧縮する場会につい
て考え、第1図に示す3つの参照画素を予測子に用いる
こととし、第2図の本発明の中間調画像圧縮方式のブロ
ック図の動作について説明する。
In this embodiment, considering the case where an 8-level halftone image is compressed, the three reference pixels shown in FIG. 1 are used as predictors, and the block diagram of the halftone image compression method of the present invention is shown in FIG. The operation will be explained.

1画素分の8随信号80がレジスタ10にセットされる
。同時にレジスタ10にあった内容はレジスタ11に移
されるとともに、Fj−Foレジスタ12に書込まれる
。lli’iFoレジヌタ12は参照ラインとして前ラ
インの画像信号を格納しておくものである。B” iF
 Oレジフタ12からは前ラインの1画素分の画像デー
タが読出される。同時に今までF ’x F ’oレジ
ヌタ12から読出されていた画像データはレジスタ13
にセットされる。この結果、信号81.82.84.8
8はそれぞれ第1図の画素X。
An octad signal 80 for one pixel is set in the register 10. At the same time, the contents of register 10 are moved to register 11 and written to Fj-Fo register 12. The lli'iFo register 12 stores the image signal of the previous line as a reference line. B”iF
Image data for one pixel of the previous line is read out from the O register 12. At the same time, the image data that had been read out from the F'x F'o register 12 is transferred to the register 13.
is set to As a result, the signal 81.82.84.8
8 is the pixel X in FIG. 1, respectively.

A、B、Cに対応する画像信号となり、これらがRO,
M14のアドレスに入力される。ROM14には画素A
、B、Cの1直に応じて画素Xの直が何番目に出現しや
すい直であるかを示す順位のデータが予め書込まれてお
り、@記の順位に従って当該画素を予測し、予測誤差と
して予測順位が得られる。さらにROM 14にて前記
予測順位に対応したビット割付が行なわれる。各順位は
表1に示すように順位の上位はどビット変化が少ないビ
ット開立てがされており画像データの圧縮効果を高める
働きをする。次に読出された順位の各ビットはそれぞれ
メモ’)15.’16,17に書込まれる。以との動作
が1画素分の予測誤差を得るまでの動作である。この動
作を少なくとも1走査線の画素数分繰返す。そうすると
メモリ、15.16.17には走査線分の予測画素が沿
き込まれる。次にメモリ15から予測誤差の最王位ビッ
トを1ビツトずつ前記の書き込まれた1走査線分のデー
タがマルチプレクサ18を介して読出され、読出しが終
るとメモリ16.17と順に、つ1リビツトプレーンご
とに前記1走査線分のデータが読出される。読出された
出力ビツト信号89はトリガフリップフロップ19に加
えられる。トリガフリップフロップ19は信号39が1
”になるごとにその状態を“′0”から111”または
“l”から“O”へと反転させ出力ビツト信号39を平
滑化する。トリガフリップフロップ19の出力40はM
H符号器20に入力されランレングス符号化される。第
2図の実施例では8直中間調画像について示したがこれ
は16随以上の画像についても本発明は同様にして適用
可能である。また、第2図の実施例では第1表に示すよ
うに順位へのビット割当てを固定したがこれについては
1画素ごとに順位を巡回シフトするとか何らかのアルゴ
リズムで動的に割付けることも可能である。
The image signals correspond to A, B, and C, and these are RO,
It is input to the address of M14. Pixel A in ROM14
, B, and C, ranking data indicating which position of pixel X is most likely to appear is written in advance, and the pixel is predicted according to the order of The prediction rank is obtained as an error. Furthermore, bit allocation is performed in the ROM 14 in accordance with the predicted order. As shown in Table 1, the bits in the higher rankings have fewer bit changes, and serve to enhance the compression effect of image data. Each bit of the next read order is a memo')15. Written on '16 and 17. The following operations are operations until a prediction error for one pixel is obtained. This operation is repeated for at least the number of pixels in one scanning line. Then, the predicted pixels for the scanning line are written into the memory 15, 16, and 17. Next, the written one scanning line data is read out from the memory 15 bit by bit, including the most significant bit of the prediction error, via the multiplexer 18, and when the reading is finished, the most significant bit of the prediction error is read out one bit at a time from the memory 16, 17, and so on. Data for one scanning line is read out for each plane. The read output bit signal 89 is applied to the trigger flip-flop 19. The trigger flip-flop 19 has a signal 39 of 1
'', the output bit signal 39 is smoothed by inverting its state from ``0'' to 111'' or from ``L'' to ``O''. The output 40 of the trigger flip-flop 19 is M
The signal is input to the H encoder 20 and run-length encoded. In the embodiment shown in FIG. 2, an 8-tone halftone image is shown, but the present invention can be similarly applied to images with 16 or more shades. Furthermore, in the embodiment shown in Fig. 2, the bit allocation to the ranks is fixed as shown in Table 1, but it is also possible to dynamically allocate the bits by cyclically shifting the ranks for each pixel or by using some algorithm. be.

(f) 発明の効果 本発明によれば中間調データの予測符号化と予測画素を
ビットプレーンごとに平滑化することにより圧縮比を大
きくすることができるとともに、国際規格であるMH方
式との整合性が得られるという効果は大である。
(f) Effects of the Invention According to the present invention, it is possible to increase the compression ratio by predictively encoding halftone data and smoothing the predicted pixels for each bit plane, and it is also compatible with the international standard MH method. The effect of gaining sex is great.

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

第1図は本発明による中間調画像圧縮方式を説明するだ
めの予測子図、第2図は本発明による中間調画数圧縮方
式のブロック図である。 図においてA、B、Oは参照画素、Xは符号化画素、t
o、tt、18はレジスタ、12はF:LFOレジヌタ
% 14はROM (Read OnlyMemory
 )、15.16.17はメモリ% 18はマルチプレ
クサ、19はトリガフリップフロップ、20はMf(符
号器、80は1画素分の81直信号、31は画素Xの画
素データ、82は画素Aの1回素データ、8Bは画素C
の画素データ、34は画素Bの画素テ゛−タ。 39は出力ビツト信号を示す。 第 1 図 397 別紙 表1 予測誤差のビット割当表
FIG. 1 is a preliminary predictor diagram for explaining the halftone image compression method according to the present invention, and FIG. 2 is a block diagram of the halftone image number compression method according to the present invention. In the figure, A, B, and O are reference pixels, X is a coding pixel, and t
o, tt, 18 are registers, 12 is F: LFO register % 14 is ROM (Read Only Memory
), 15.16.17 is memory%, 18 is multiplexer, 19 is trigger flip-flop, 20 is Mf (encoder, 80 is 81 direct signal for one pixel, 31 is pixel data of pixel X, 82 is pixel A's 1-time element data, 8B is pixel C
34 is the pixel data of pixel B. 39 indicates an output bit signal. Figure 1 397 Attachment Table 1 Bit allocation table for prediction error

Claims (1)

【特許請求の範囲】[Claims] 符号化する画素の近傍にある所定の参照画素を参照して
符号化する画素を予測し予測誤差を得る予測手段と、前
記予測誤差のビット割付けを行う符号化手段と、該符号
化手段より出力されるワード単位のビットの書込みおよ
びビットプレーンごとにビットの読み出しとを行う記憶
手段と、該記憶手段からの出力ビツト信号を平滑化する
平滑手段とを備え、予測両座を符号化し前記符号化した
信号を平滑化してモディファイドハフマン符号器に入力
することを特徴とする中間調画像圧縮方式。
a prediction means for predicting a pixel to be encoded by referring to a predetermined reference pixel in the vicinity of the pixel to be encoded to obtain a prediction error; an encoding means for allocating bits of the prediction error; and an output from the encoding means. a storage means for writing bits in units of words and reading bits for each bit plane, and a smoothing means for smoothing an output bit signal from the storage means, and a smoothing means for smoothing the output bit signal from the storage means. A halftone image compression method characterized by smoothing the signal and inputting it to a modified Huffman encoder.
JP58132235A 1983-07-19 1983-07-19 Half tone picture compression system Pending JPS6024776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58132235A JPS6024776A (en) 1983-07-19 1983-07-19 Half tone picture compression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58132235A JPS6024776A (en) 1983-07-19 1983-07-19 Half tone picture compression system

Publications (1)

Publication Number Publication Date
JPS6024776A true JPS6024776A (en) 1985-02-07

Family

ID=15076520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58132235A Pending JPS6024776A (en) 1983-07-19 1983-07-19 Half tone picture compression system

Country Status (1)

Country Link
JP (1) JPS6024776A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62143563A (en) * 1985-12-18 1987-06-26 Oki Electric Ind Co Ltd Image encoding system
US5741512A (en) * 1988-09-16 1998-04-21 Novartis Corporation Pharmaceutical compositions comprising cyclosporins
US6007840A (en) * 1988-09-16 1999-12-28 Novartis Ag Pharmaceutical compositions comprising cyclosporins
US6951841B2 (en) 1995-11-29 2005-10-04 Novartis Ag Pharmaceutical compositions of macrolides or cyclosporine with a polyethoxylated saturated hydroxy-fatty acid

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62143563A (en) * 1985-12-18 1987-06-26 Oki Electric Ind Co Ltd Image encoding system
JPH0476548B2 (en) * 1985-12-18 1992-12-03 Oki Electric Ind Co Ltd
US5741512A (en) * 1988-09-16 1998-04-21 Novartis Corporation Pharmaceutical compositions comprising cyclosporins
US5962017A (en) * 1988-09-16 1999-10-05 Novartis G Pharmaceutical compositions comprising cyclosporins
US6007840A (en) * 1988-09-16 1999-12-28 Novartis Ag Pharmaceutical compositions comprising cyclosporins
US6024978A (en) * 1988-09-16 2000-02-15 Novartis Ag Pharmaceutical compositions comprising cyclosporins
US7235248B2 (en) 1988-09-16 2007-06-26 Novartis Ag Pharmaceutical compositions comprising cyclosporins
US6951841B2 (en) 1995-11-29 2005-10-04 Novartis Ag Pharmaceutical compositions of macrolides or cyclosporine with a polyethoxylated saturated hydroxy-fatty acid

Similar Documents

Publication Publication Date Title
US6985630B2 (en) Image processing apparatus and method, program and storage medium
EP0776569B1 (en) Method and system for encoding and decoding image data
GB2042852A (en) Picture coding and/or decoding equipment
JPS60153264A (en) Transmission system of half tone picture
US4602383A (en) Image data compression system
US4809081A (en) Method and apparatus for decompressing encoded data
JPH0955856A (en) Bit plane encoding device
JPS6024776A (en) Half tone picture compression system
US5198898A (en) Data compressing system for compressing serial image data with color information
EP0283798A2 (en) Compression and decompression of column-interlaced, row-interlaced graylevel digital images
JPH09139955A (en) Data coding device, its method, data decoding device and its method
JPS63279686A (en) Variable length coding transmitter
JPH0974475A (en) Image coder and decoder
JPH01108861A (en) Picture coder
JP2598410B2 (en) Encoding device
JPS6329472B2 (en)
JPS62281582A (en) Picture data compression system
JPS6339186B2 (en)
JPH1070730A (en) Image encoding and decoding device, and recording medium stored with their control program
JPS6174455A (en) Coding control system of binary picture signal
JPS5947914B2 (en) Color image encoding processing method
JPS6196888A (en) Coding device of multi-tone wedge picture
JPH0487472A (en) Picture processing unit
JPS6090469A (en) Forecasting conversion encoder
JPS6022875A (en) Compressing system of intermediate tone picture