JPS61123276A - Picture data compression system - Google Patents

Picture data compression system

Info

Publication number
JPS61123276A
JPS61123276A JP59243481A JP24348184A JPS61123276A JP S61123276 A JPS61123276 A JP S61123276A JP 59243481 A JP59243481 A JP 59243481A JP 24348184 A JP24348184 A JP 24348184A JP S61123276 A JPS61123276 A JP S61123276A
Authority
JP
Japan
Prior art keywords
area
picture
line
character
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.)
Pending
Application number
JP59243481A
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 JP59243481A priority Critical patent/JPS61123276A/en
Publication of JPS61123276A publication Critical patent/JPS61123276A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To compress efficiently a mixed picture between a character and a contrast picture by discriminating a character/line picture area or a contrast picture depending on the probability of generation of white/black pattern data comprising plural picture elements, separating the areas and applying MH coding to the contrast area after forecast conversion. CONSTITUTION:After a mixed picture between a character/line drawing and a contrast picture fed to an input terminal 1 is set to a register 2, the picture is fed to a shift register 3, an exclusive OR circuit 4 and a multiplexer 7. A means comprising a ROM 10, a register 11 and a line counter 10 discriminates whether an area is a character/line picture area or a contrast area. When the area is discriminated as the character/line picture area, the input picture data is fed to an MH coder 8 via the multiplexer 7 to apply MH coding, and when the area is discriminated as the contrast area, the input picture data is subjected to forecast conversion, the result is fed to the MH coder 8 via the multiplexer 7 as a smoothed forecast error signal (e) to attain MH coding.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字、線画データと濃淡画データとの混在画
像データを標準方式によりデータ圧縮する画像データ圧
縮方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image data compression method for compressing mixed image data of characters, line drawing data, and gray scale image data using a standard method.

〔従来の技術〕[Conventional technology]

文字、線画等は白黒2値で表現できるものであって、M
H符号化等の標準方式でデータ圧縮して伝送することが
できる。又濃淡画については、ディザ法により白黒2値
で疑似中間調として表現できるが、濃淡レベルを黒画素
の密度で表現する為、走査線上の黒及び白のランが分断
されることになる。従って、MH符号化等の標準方式に
よるデータ圧縮が期待できないものとなる。このような
問題点に対して、ディザ画像データの圧縮が可能である
と共に標準方式と適合性の良い方式が種々提案されてい
る。例えば、予測変換を用いる方式として、予測MH方
式(「ディザ画像のMH符号化」電子通信学会技術報告
IE82−45 (1982)参照)が提案されている
Characters, line drawings, etc. can be expressed in black and white binary, and M
Data can be compressed and transmitted using a standard method such as H encoding. As for grayscale images, they can be expressed as pseudo-halftones using black and white binary values using the dithering method, but since the grayscale levels are expressed by the density of black pixels, the black and white runs on the scanning line are separated. Therefore, data compression using standard methods such as MH encoding cannot be expected. To address these problems, various methods have been proposed that are capable of compressing dithered image data and are compatible with the standard method. For example, a predictive MH method (see "MH Coding of Dithered Images" Technical Report IE82-45 (1982), Institute of Electronics and Communications Engineers) has been proposed as a method using predictive conversion.

第5図は前述の予測MH方式のブロック図を示し、41
は入力端子、42は予測器、43.44   。
FIG. 5 shows a block diagram of the above-mentioned predictive MH method, with 41
is an input terminal, 42 is a predictor, 43.44.

は加算器、45は遅延回路、46はMH符号器、47は
出力端子であって、入力端子41に加えられたディザ画
像データXの予測信号交を、予測器42によって形成し
、このディザ画像データXと予測信号父とを加算器43
に加えて、ディザ画像データXから予測信号交を減算し
、予測誤差信号eを出力する。加算器43はモジュロ2
の加算器であり、排他的論理和回路と同様の作用を行う
ことになる。
is an adder, 45 is a delay circuit, 46 is an MH encoder, and 47 is an output terminal, which forms a predicted signal intersection of dithered image data Adder 43 adds data X and predicted signal father
In addition, the prediction signal intersection is subtracted from the dithered image data X, and a prediction error signal e is output. Adder 43 is modulo 2
This is an adder and performs the same function as an exclusive OR circuit.

加算器44に於いては、加算器43からの予測誤差信号
eと遅延回路45で1画素分遅延された信号とにより、
平滑化予測誤差信号dが形成される。この平滑化予測誤
差信号dは、予測誤差信号eが“l”の時にレベルを反
転した信号となり、MH符号器46に加えられ、MH符
号に変換されて出力端子47から送出される。
In the adder 44, using the prediction error signal e from the adder 43 and the signal delayed by one pixel in the delay circuit 45,
A smoothed prediction error signal d is formed. This smoothed prediction error signal d becomes a signal whose level is inverted when the prediction error signal e is "1", is applied to the MH encoder 46, is converted into an MH code, and is sent out from the output terminal 47.

4X4のディザマトリクスを用いた場合に於ける予測器
42としては、−次元の時、第6図の[a)に示すよう
に、注目画素xoの走査線上の4画素前を参照画素x1
として用いて予測を行い、又二次元の時は、第6図の(
b)に示すように、周囲の画素x1〜x6を参照画素と
して注目画素X。の予測を行うものである。
In the case of using a 4×4 dither matrix, the predictor 42 selects the reference pixel x1 four pixels before the pixel of interest xo on the scanning line in the case of − dimension, as shown in [a] of FIG.
For two-dimensional cases, the prediction is made using
As shown in b), the pixel of interest X is set using surrounding pixels x1 to x6 as reference pixels. It is used to make predictions.

一次元予測を用いた時の多値画像信号、ディザ画像信号
X、予測信号交、予測誤差信号e、平滑化予測誤差信号
dの関係の一例を第7図に示す。
FIG. 7 shows an example of the relationship among the multivalued image signal, dithered image signal X, prediction signal intersection, prediction error signal e, and smoothed prediction error signal d when one-dimensional prediction is used.

同図に於いて、aは多値画像信号、bはディザ化閾値を
示し、ディザ画像信号Xは、ディザ化閾値よりレベルが
大きい多値画像信号を斜線を施した黒画素として示し、
予測信号交は、ディザ画像信号Xを4画素遅延させた信
号に相当し、予測誤差信号eは、ディザ画像信号Xと予
測信号交との排他的論理和の出力信号に相当し、平滑化
予測誤差信号1は、予測誤差信号e毎に反転される信号
に相当するものである。従って、この平滑化予測誤差信
号ぢのラン長を長くすることができるので、MH符号器
46に於いて、効率の良い符号化を行うことができる。
In the figure, a indicates a multi-valued image signal, b indicates a dithering threshold, and the dithered image signal X indicates a multi-valued image signal whose level is higher than the dithering threshold as a black pixel with diagonal lines,
The predicted signal intersection corresponds to a signal obtained by delaying the dithered image signal X by 4 pixels, and the prediction error signal e corresponds to the output signal of the exclusive OR of the dithered image signal The error signal 1 corresponds to a signal that is inverted for each prediction error signal e. Therefore, since the run length of this smoothed prediction error signal can be increased, efficient encoding can be performed in the MH encoder 46.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述の予測MH方式に於ける一次元予測を用いた場合、
注目画素XQの4N素前を参照画素Xlとしている為に
、文字等の部分では注目画素XQと参照画素Xlとの相
関が小さくなる。即ち、文字等の部分では隣接画素間の
相関は大きいが、画素間が離れるに従って相関は小さく
なるものである。その為、データ圧縮比が低下する欠点
がある。又二次元予測を用いた場合は、文字と濃淡画と
の両方に適した参照画素を用いて予測を行うことになり
、又伝送誤りが波及するので、圧縮データに誤り対策と
して冗長ビットを付加する必要がある。
When using the one-dimensional prediction in the prediction MH method described above,
Since the reference pixel Xl is 4N pixels before the pixel of interest XQ, the correlation between the pixel of interest XQ and the reference pixel Xl is small in areas such as characters. That is, in areas such as characters, the correlation between adjacent pixels is large, but as the distance between pixels increases, the correlation decreases. Therefore, there is a drawback that the data compression ratio decreases. In addition, when two-dimensional prediction is used, prediction is performed using reference pixels suitable for both text and grayscale images, and transmission errors spread, so redundant bits are added to compressed data as an error countermeasure. There is a need to.

本発明は、文字と濃淡画との混在画像のデータを圧縮す
る場合に、標準方式に適合し且つ高い圧縮比が得られる
一次元符号化方式を提供することを目的とするものであ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a one-dimensional encoding method that is compatible with standard methods and can obtain a high compression ratio when compressing data of a mixed image of characters and grayscale images.

C問題点を解決するための手段〕 本発明は、濃淡画のディザ画像データによるオール黒及
びオール白以外の複数画素からなる白黒パターン・デー
タによって文字、線画領域か濃淡画領域かを判定する判
定手段と、この判定手段によって文字、線画領域と判定
した時は入力された画像データを、又濃淡画領域と判定
した時は平滑化予測誤差信号を選択する切換手段と、M
H符号器とを備え、文字、線画領域と濃淡画領域とが混
在する画像データに対して、文字、線画領域にっいては
MH符号化し、又濃淡画領域については予測変換した後
にMH符号化するものである。
Means for Solving Problem C] The present invention provides a method for determining whether a character, line drawing area or gray area is a text area, a line drawing area, or a gray area based on black and white pattern data consisting of a plurality of pixels other than all black and all white based on dithered image data of a light and shade image. a switching means for selecting the input image data when the determination means determines that it is a character or line drawing area, or selects the smoothed prediction error signal when determining that it is a grayscale image area;
For image data containing a mixture of text, line drawing areas, and gray area, the text and line drawing areas are MH encoded, and the gray area is predictively converted and then MH encoded. It is something to do.

〔作用〕[Effect]

文字、m画領域か濃淡画領域かを、複数画素からなる白
黒パターン・データの発生確率から判定して、文字、線
画領域と濃淡画領域とを分離し、濃淡画領域のみを予測
変換した後にMH符号化し、文字、線画領域はそのまま
MH符号化するものである。
After determining whether it is a text, m-picture area or a light and shade picture area based on the probability of occurrence of black and white pattern data consisting of multiple pixels, separating the text and line picture areas from the light and shade picture area, and predictively converting only the light and shade picture area. MH encoding is performed, and text and line drawing areas are directly MH encoded.

〔実施例〕〔Example〕

第1図は本発明の実施例の符号化回路のブロック図であ
り、1は入力端子、2はレジスタ(REG)、3はシフ
トレジスタ(SHR) 、4.5は排他的論理和回路、
6はレジスタ(REG) 、7はマルチプレクサ(MP
X) 、8はMH符号器(CD)、9は出力端子、10
はリードオンリメモリ (ROM) 、11はレジスタ
(RBG) 、12はラインカウンタ(LCTR)であ
る。入力端子1には、文字、線画と濃淡画との混合画像
のデータが入力されるものであり、レジスタ2にセット
された後、シフトレジスタ3.排他的論理回路4及びマ
ルチプレクサ7に加えられる。
FIG. 1 is a block diagram of an encoding circuit according to an embodiment of the present invention, where 1 is an input terminal, 2 is a register (REG), 3 is a shift register (SHR), 4.5 is an exclusive OR circuit,
6 is a register (REG), 7 is a multiplexer (MP
X), 8 is the MH encoder (CD), 9 is the output terminal, 10
is a read-only memory (ROM), 11 is a register (RBG), and 12 is a line counter (LCTR). The input terminal 1 receives data of a mixed image of characters, line drawings, and grayscale drawings, and after being set in the register 2, the data is transferred to the shift register 3. Exclusive logic circuit 4 and multiplexer 7 are added.

4×4のディザマトリクスを用いた場合は、シフトレジ
スタ3は4ビツト構成となり、排他的論理和回路4には
、レジスタ2からの注目画素X。
When a 4×4 dither matrix is used, the shift register 3 has a 4-bit configuration, and the exclusive OR circuit 4 receives the pixel of interest X from the register 2.

に対してシフトレジスタ3から4画素前の参照画素Xl
が加えられることになる。この排他的論理和回路4の出
力信号が予測誤差信号eとなる。又レジスタ6は1画素
分の遅延を与える為のものであり、排他的論理和回路5
には、予測誤差信号eと1画素分遅延された平滑化予測
誤差信号dが加えられ、予測誤差信号eが“l”となる
毎に平滑化予測誤差信号dが変化することになる。
Reference pixel Xl from shift register 3 to 4 pixels before
will be added. The output signal of this exclusive OR circuit 4 becomes the prediction error signal e. Also, the register 6 is for giving a delay of one pixel, and the exclusive OR circuit 5
, the prediction error signal e and the smoothed prediction error signal d delayed by one pixel are added, and the smoothed prediction error signal d changes every time the prediction error signal e becomes "1".

又第2図はベイヤ(Bayer)型の4×4のディザマ
トリクスを用いた場合の階調パターンを示し、0〜16
の階調を黒画素の数によって表していることになる。又
第1ラインL1〜第4ラインL4について、1×4画素
のパターンとしてまとめると、第3図に示すように、θ
〜4階調となる。例えば、第1ラインLlの階調2につ
いてみると、第2図に於ける階調3.4,5.6,7゜
8に対応し、又第4ラインL4の階調2についてみると
、第2図に於ける階調8.9,10,11.12.13
に対応している。濃淡画データは、このような1×4画
素のパターン・データが発生することになり、各ライン
L1〜L4のオール黒及びオール白のパターンは、文字
、線画領域に於いても、発生する可能性が大きいので、
各ラインL1〜L4の階lil〜3のパターンを利用し
て文字、線画領域であるか濃淡画領域であるかを判定す
ることができる。
Fig. 2 shows the gradation pattern when using a Bayer type 4 x 4 dither matrix, and the gradation pattern ranges from 0 to 16.
The gradation of is expressed by the number of black pixels. Furthermore, when the first line L1 to the fourth line L4 are summarized as a 1×4 pixel pattern, as shown in FIG.
~4 gradations. For example, when looking at the gradation 2 of the first line Ll, it corresponds to the gradation 3.4, 5.6, and 7°8 in FIG. 2, and when looking at the gradation 2 of the fourth line L4, Gradation levels 8.9, 10, 11.12.13 in Figure 2
It corresponds to In the grayscale image data, such 1×4 pixel pattern data is generated, and the all-black and all-white patterns of each line L1 to L4 can also occur in the text and line drawing areas. Because the nature is large,
It can be determined whether the area is a character, line drawing area, or gray area using the patterns of the levels lil to 3 of each line L1 to L4.

リードオンリメモリ10.レジスタ11及びラインカウ
ンタ12により、前述の文字、線画領域か濃淡画領域か
の判定を行う判定手段を構成するものであり、シフトレ
ジスタ3から4ビット並列データとして出力され、第3
図に示す1×4画素のパターン・データとなって、リー
ドオンリメモIJ10のアドレス信号の一部となる。又
ラインカウンタ12の下位2ビツトは、4X4のディザ
マトリクスの第1ラインL1〜第4ラインL4の何れの
ラインであるかを識別させる為のリードオンリメモリ1
0のアドレス信号の一部となる。又内部履歴情報として
例えば3ピントがレジスタ11に読出されてセットされ
、その内部履歴情報もリードオンリメモリ10のアドレ
ス信号の一部となる。
Read-only memory 10. The register 11 and the line counter 12 constitute a determining means for determining whether it is a character, line drawing area or gray area, and the shift register 3 outputs it as 4-bit parallel data, and the third
The data becomes the 1×4 pixel pattern data shown in the figure, and becomes part of the address signal of the read-only memory IJ10. The lower two bits of the line counter 12 are used in the read-only memory 1 for identifying which line among the first line L1 to the fourth line L4 of the 4×4 dither matrix.
It becomes part of the 0 address signal. Further, as internal history information, for example, 3 pinto is read out and set in the register 11, and the internal history information also becomes part of the address signal of the read-only memory 10.

内部履歴情報は一種のカウンタを構成し、シフトレジス
タ3からの4ビット並列データが、ラインカウンタ12
からの下位2ビツトで示されるラインに於ける第3図の
1×4画素の階調1〜3のパターンに対応する連続回数
を内部履歴情報が示すことになり、nとなった時に濃淡
画領域と判定することになるものであり、そのnがアド
レス信号の一部としてリードオンリメモリ10に加えら
れるので、その時は、マルチプレクサ7が平滑化予測誤
差信号dを選択する制御情報が読出されてレジスタ11
にセットされる。
The internal history information constitutes a kind of counter, and the 4-bit parallel data from the shift register 3 is input to the line counter 12.
The internal history information indicates the consecutive number of times corresponding to the 1 x 4 pixel gradation level 1 to 3 pattern in Figure 3 on the line indicated by the lower 2 bits from Since n is added to the read-only memory 10 as part of the address signal, the control information for the multiplexer 7 to select the smoothed prediction error signal d is read out. register 11
is set to

濃淡画領域と判定された後に、シフトレジスタ3からの
4ビット並列データが、ラインカウンタ12からの下位
2ビツトで示されるラインに於ける第3図の1×4画素
の階調1〜3のパターンに対応しないことがm回連続す
ると、文字、線画領域と判定することになる。そして、
リードオンリメモリ10のアドレス信号の一部を構成す
る内部履歴情報によって、リードオンリメモリ10から
は、マルチプレクサ7がレジスタ2からの画像データを
選択する制御情報が読出され、その制御情報はレジスタ
11にセットされる。なお、前述のn、mは例えば3と
することができ、第3図の1×4画素の階調1〜3のパ
ターンを用いて、文字、線画領域か濃淡画領域かを判定
することができる。
After it is determined that the area is a gray area, the 4-bit parallel data from the shift register 3 is applied to the gradations 1 to 3 of the 1×4 pixels in FIG. If the area does not correspond to the pattern m times in a row, it is determined that the area is a character or line drawing area. and,
Control information for multiplexer 7 to select image data from register 2 is read from read-only memory 10 by internal history information forming part of the address signal of read-only memory 10 , and the control information is transferred to register 11 . Set. Note that the aforementioned n and m can be set to 3, for example, and it is possible to determine whether the area is a character, line drawing area, or gray area using the 1×4 pixel gradation 1 to 3 pattern shown in FIG. can.

前述のように、文字、線画領域か濃淡画領域かの判定が
行われ、文字2wA画領域の場合は、入力された画像デ
ータをマルチプレクサ7を介してMH符号器8に加えて
M)(符号化を行い、濃淡画領域の場合は、入力された
画像データを予測変換を行って、平滑化予測誤差信号さ
としてマルチプレクサ7を介してMH符号器8に加え、
濃淡画領域の画像データをMH符号化するものである。
As mentioned above, it is determined whether it is a character, line drawing area or gray scale image area, and in the case of a character 2wA drawing area, the input image data is applied to the MH encoder 8 via the multiplexer 7, In the case of a grayscale image area, the input image data is subjected to predictive conversion and is applied as a smoothed prediction error signal to the MH encoder 8 via the multiplexer 7.
This is to perform MH encoding on image data in a gray area.

第4図は本発明の実施例の復号回路のブロック図であり
、21はMH符号信号の入力端子、22はMH復号器(
DEC) 、23はレジスタ(REG)、24は排他的
論理和回路、25はレジスタ(REG) 、26.27
はシフトレジスタ(SHR)、28は排他的論理和回路
、29はマルチプレクサ(MPX) 、30は出力端子
、31はシフトレジスタ(SHR) 、32はリードオ
ンリメモリ (ROM) 、33はレジスタ(REG)
 、34はラインカウンタ(LCTR)である。
FIG. 4 is a block diagram of a decoding circuit according to an embodiment of the present invention, in which 21 is an input terminal for an MH code signal, 22 is an MH decoder (
DEC), 23 is a register (REG), 24 is an exclusive OR circuit, 25 is a register (REG), 26.27
is a shift register (SHR), 28 is an exclusive OR circuit, 29 is a multiplexer (MPX), 30 is an output terminal, 31 is a shift register (SHR), 32 is a read-only memory (ROM), 33 is a register (REG)
, 34 is a line counter (LCTR).

受信されたMH符号信号は、MH復号器22により復号
され、レジスタ23.排他的論理和回路24及びシフト
レジスタ27に加えられる。レジスタ23と排他的論理
和回路24とにより、復号された平滑化予測誤差信号「
は、予測誤差信号eに変換され、レジスタ25に加えら
れる。シフトレジスタ26は4ビツトのシフトレジスタ
であり、排他的論理和回路28には、予測誤差信号eと
それより4ビツト遅延された予測誤差信号eとが加えら
れることになり、予測逆変換が行われて、排他的論理和
回路28から濃淡画領域のデータが出力されてマルチプ
レクサ29に加えられることになる。又シフトレジスタ
27は、レジスタ25、シフトレジスタ26の遅延を補
償する為の5ビツトのシフトレジスタである。
The received MH code signal is decoded by MH decoder 22 and sent to register 23 . It is added to the exclusive OR circuit 24 and shift register 27. The register 23 and the exclusive OR circuit 24 generate the decoded smoothed prediction error signal "
is converted into a prediction error signal e and added to the register 25. The shift register 26 is a 4-bit shift register, and the prediction error signal e and the prediction error signal e delayed by 4 bits are added to the exclusive OR circuit 28, and the prediction inverse conversion is performed. Then, the data of the gray area is outputted from the exclusive OR circuit 28 and applied to the multiplexer 29. Further, the shift register 27 is a 5-bit shift register for compensating for delays in the register 25 and shift register 26.

マルチプレクサ29により選択出力されたデータは出力
端子30から受信復元画像データとして送出され、且つ
シフトレジスタ31に加えられる。このシフトレジスタ
31は4ビツトのシフトレジスタであって、加えられた
4ビツトの画像データを4ビット並列データとし、その
4ビット並列データをリードオンリメモリ32のアドレ
ス信号の一部として加えるものである。又ラインカウン
タ34からの下位2ビツトが第1ラインL1〜第4ライ
ンL4の何れのラインであるかを示すアドレス信号とし
てリードオンリメモリ32に加えられ、又レジスタ33
にセットされた内部順歴情報もリードオンリメモリ32
のアドレス信号の一部として加えられる。このリードオ
ンリメモリ32を含む構成は、第1図に於ける文字、線
画領域か濃淡画領域かの判定手段と同一であり、その判
定結果による制御情報がレジスタ33にセットされてマ
ルチプレクサ29の切換制御が行われる。
The data selectively output by the multiplexer 29 is sent out from the output terminal 30 as received restored image data, and is added to the shift register 31. This shift register 31 is a 4-bit shift register that converts the added 4-bit image data into 4-bit parallel data and adds the 4-bit parallel data as part of the address signal of the read-only memory 32. . Further, the lower two bits from the line counter 34 are added to the read-only memory 32 as an address signal indicating which line among the first line L1 to the fourth line L4.
The internal forward history information set in the read-only memory 32
is added as part of the address signal. The configuration including this read-only memory 32 is the same as the means for determining whether it is a character, line drawing area, or gray area in FIG. Control takes place.

従って、文字、線画領域と判定された時は、MH復号器
22により復号された画像データがシフトレジスタ27
からマルチプレクサ29を介して出力され、濃淡画領域
と判定された時は、平滑化予測誤差信号dから予測誤差
信号eに変換され、更に予測逆変換により濃淡画データ
となり、マルチプレクサ29を介して出力される。
Therefore, when it is determined that the area is a character or line drawing area, the image data decoded by the MH decoder 22 is transferred to the shift register 27.
When it is determined that it is a grayscale image area, the smoothed prediction error signal d is converted into a prediction error signal e, which is further subjected to predictive inverse conversion to become grayscale image data, and outputted through the multiplexer 29. be done.

前述の実施例は、ディザマトリクスとして、ベイヤ型を
用いた場合を示すものであるが、網点型や渦巻型等のデ
ィザマトリクスを用いた場合にも適用できるものである
。又文字、線画と濃淡画とが混在した画像について全面
ディザ化した場合の画像データについて説明しているが
、文字、線画領域は単一闇値で2値化し、濃淡画領域の
みディザ画像データとした画像データのデータ圧縮に於
いても適用できるものである。
Although the above-mentioned embodiment shows the case where a Bayer type dither matrix is used, the present invention can also be applied to cases where a halftone type dither matrix, a spiral type dither matrix, or the like is used. In addition, the image data is explained when the entire surface is dithered for an image containing a mixture of text, line art, and light and shade images, but the text and line art areas are binarized with a single darkness value, and only the light and shade areas are converted into dithered image data. The present invention can also be applied to data compression of image data.

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

以上説明したように、本発明は、濃淡画のディザ画像デ
ータによるオール黒及びオール白以外の複数画素からな
る白黒パターン・データにより文字、線画領域か濃淡画
領域かを判定するリードオンリメモリlOやラインカウ
ンタ12等からなる判定手段と、この判定手段により文
字、&’i百領域と判定した時は入力された画像データ
を、又濃淡画領域俣判定した時は平滑化予測誤差信号さ
を選択するマルチプレクサ7等の切換手段と、MH符号
器8とを備えて、文字、線画領域と濃淡画領域とが混在
する画像データをM)I符号化するものであり、能率の
良いデータ圧縮が可能となる利点がある。
As explained above, the present invention provides a read-only memory lO that determines whether it is a character, line drawing area, or gray area using black and white pattern data consisting of a plurality of pixels other than all black and all white based on dithered image data of a light and shade image. A determination means consisting of a line counter 12, etc., and this determination means selects the input image data when it is determined to be a character or &'i hundred area, or the smoothed prediction error signal when it is determined to be a gray area. It is equipped with a switching means such as a multiplexer 7 and an MH encoder 8, and performs M)I encoding on image data containing a mixture of characters, line drawing areas, and gray area, and enables efficient data compression. There is an advantage that

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

第1図は本発明の実施例の符号化回路のブロック図、第
2図は4×4のベイヤ型ディザマトリクスによる階調パ
ターンの説明図、第3図はライン対応の1×4の階調パ
ターンの説明図、第4図は本発明の実施例の復号回路の
ブロック図、第5図は従来の予測MH方式のブロック図
、第6図は予測MH方式の参照画素と注目画素との説明
図、第7図は予測MH方式の一例の変換説明図である。
Fig. 1 is a block diagram of an encoding circuit according to an embodiment of the present invention, Fig. 2 is an explanatory diagram of a gradation pattern based on a 4 x 4 Bayer dither matrix, and Fig. 3 is a 1 x 4 gradation pattern corresponding to a line. An explanatory diagram of the pattern, FIG. 4 is a block diagram of a decoding circuit according to an embodiment of the present invention, FIG. 5 is a block diagram of a conventional predictive MH method, and FIG. 6 is an explanation of reference pixels and target pixels of the predictive MH method. 7 are conversion explanatory diagrams of an example of the predictive MH method.

Claims (1)

【特許請求の範囲】[Claims] 濃淡画のディザ画像データによるオール黒及びオール白
以外の複数画素からなる白黒パターン・データにより文
字、線画領域か濃淡画領域かを判定する判定手段と、該
判定手段により文字、線画領域と判定した時は入力され
た画像データを、又濃淡画領域と判定した時は平滑化予
測誤差信号を選択する切換手段と、MH符号器とを備え
、文字、線画領域と濃淡画領域とが混在する画像データ
を前記MH符号器によりMH符号化することを特徴とす
る画像データ圧縮方式。
A determining means for determining whether the area is a character, line drawing area or a gray area based on black and white pattern data consisting of a plurality of pixels other than all black and all white based on dithered image data of a light and shade image; It is equipped with an MH encoder and a switching means that selects the input image data when the input image data is determined to be a grayscale image area, and a smoothed prediction error signal when it is determined that the image data is a grayscale image area. An image data compression method characterized in that data is MH encoded by the MH encoder.
JP59243481A 1984-11-20 1984-11-20 Picture data compression system Pending JPS61123276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59243481A JPS61123276A (en) 1984-11-20 1984-11-20 Picture data compression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59243481A JPS61123276A (en) 1984-11-20 1984-11-20 Picture data compression system

Publications (1)

Publication Number Publication Date
JPS61123276A true JPS61123276A (en) 1986-06-11

Family

ID=17104526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59243481A Pending JPS61123276A (en) 1984-11-20 1984-11-20 Picture data compression system

Country Status (1)

Country Link
JP (1) JPS61123276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH046954A (en) * 1990-04-24 1992-01-10 Canon Inc Picture prediction coding system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH046954A (en) * 1990-04-24 1992-01-10 Canon Inc Picture prediction coding system

Similar Documents

Publication Publication Date Title
US5363219A (en) Image processing method and apparatus
US4125861A (en) Video signal encoding
US4633325A (en) Adaptive predictive encoding and/or decoding apparatus
US5491564A (en) Data compression method and apparatus for binary image using Markov model encoding
EP0103773B1 (en) Method of processing picture signal to increase average run length and apparatus therefor
JPH04270564A (en) Serial picture data compression system having color information
JPS61123276A (en) Picture data compression system
JPH02220583A (en) Predicting encoding and decoding method
JPS63182973A (en) Pseudo half-tonal image transmission method for facsimile equipment
JP2634793B2 (en) Color image signal encoding device
JPH0832820A (en) Coder for error spread binary image
JP2713298B2 (en) Color image signal decoding device
JPS61123277A (en) Picture data compression system
JPH047871B2 (en)
JPS6174455A (en) Coding control system of binary picture signal
JP3732329B2 (en) Pseudo halftone image encoding apparatus and encoding method
JPH0132702B2 (en)
JPH046948A (en) Binarizing method for color picture
JP3263218B2 (en) Image information data compression and playback device
JP3189068B2 (en) Image data encoding
JPH0132703B2 (en)
JPH041552B2 (en)
JPH0121667B2 (en)
JPH04270563A (en) Data compression system in picture processor
JP2000244751A (en) Binary coding method for multilevel image and binary encoder for multilevel image