JP2825697B2 - Image coding method - Google Patents

Image coding method

Info

Publication number
JP2825697B2
JP2825697B2 JP4016575A JP1657592A JP2825697B2 JP 2825697 B2 JP2825697 B2 JP 2825697B2 JP 4016575 A JP4016575 A JP 4016575A JP 1657592 A JP1657592 A JP 1657592A JP 2825697 B2 JP2825697 B2 JP 2825697B2
Authority
JP
Japan
Prior art keywords
image
symbol
binary image
value
pixel
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.)
Expired - Lifetime
Application number
JP4016575A
Other languages
Japanese (ja)
Other versions
JPH05219381A (en
Inventor
信人 松代
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4016575A priority Critical patent/JP2825697B2/en
Publication of JPH05219381A publication Critical patent/JPH05219381A/en
Application granted granted Critical
Publication of JP2825697B2 publication Critical patent/JP2825697B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ファクシミリ等におい
て、写真等の濃淡(中間調)画像である多値画像を符号
化する画像符号化方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding method for encoding a multi-valued image, such as a photograph, in a facsimile or the like.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば次のような文献に記載されるものがあった。 文献1;Proceeding of the SID 、17/2(197
6)(米)R.Floyd et.al ,“アン アダプティブ ア
ルゴリズム フォア スペシャル グレイスケール
(An Adaptive Algorithm for Spatial Grayscale)” 文献2;吹抜著“FAX,OAのための画像の信号処
理”(昭57−10−20)日刊工業新聞社、P.12
5−127 前記文献1に記載されているように、多値画像を“白”
と“黒”の2値で表現する手法の1つに誤差拡散法があ
る。この誤差拡散法は、多値画像の階調値g(i,j)
を固定の閾値との比較によって2値化するのに際して、
2値化によって発生した2値化誤差を近傍画素の階調値
g(i,j)に拡散し、この修正された階調値G(i,
j)を逐次的に2値化するものである。ここで、2値化
シンボル(“白”または“黒”)、拡散誤差de(i,
j)、及び修正階調値G(i,j)は、次式(1)〜
(3)より求められる。 “白” (G(i,j)<th) s(i,j)={ ・・・(1) “黒” (th≦G(i,j)) 但し、th;2値化閾値(=gsmax /2) gsmax ;階調最大値 G(i,j) (G(i,j)<th) de(i,j)={ G(i,j)−gsmax (th≦G(i,j)) ・・・(2) G(i,j)=g(i,j)+a1 de(i−1,j) +a2 de(i+1,j−1)+a3 de(i,j−1) +a4 de(i−1,j−1) ・・・(3) 但し、ai (i=1〜4);誤差拡散係数(Σai =1) このような誤差拡散法を用いて2値化された2値化画像
(即ち、2値画像)を符号化する方法として、前記文献
2に記載された算術符号化法が知られている。多値画像
から誤差拡散法で2値化画像を生成し、その2値化画像
を算術符号化法で符号化する方法を図2に示す。図2
は、従来の画像符号化方法を実施するための符号化装置
の機能ブロック図である。
2. Description of the Related Art Conventionally, techniques in such a field include:
For example, there is one described in the following literature. Reference 1: Proceeding of the SID, 17/2 (197
6) (US) R. Floyd et.al, “An Adaptive Algorithm For Special Grayscale
(An Adaptive Algorithm for Spatial Grayscale) "Reference 2; Kibukibuki," Signal Processing of Images for FAX and OA "(57-10-20), Nikkan Kogyo Shimbun, P.12
5-127 As described in Reference 1, the multi-valued image is referred to as “white”.
An error diffusion method is one of the methods of expressing the two values of “black” and “black”. This error diffusion method uses the gradation value g (i, j) of the multi-valued image.
When binarizing by comparing with a fixed threshold,
The binarization error generated by the binarization is diffused to the gradation value g (i, j) of the neighboring pixel, and the corrected gradation value G (i, j,
j) is sequentially binarized. Here, a binarized symbol (“white” or “black”), a diffusion error de (i,
j) and the corrected gradation value G (i, j) are expressed by the following equations (1) to (1).
(3) required. “White” (G (i, j) <th) s (i, j) = {(1) “black” (th ≦ G (i, j)) where th; gs max / 2) gs max ; gradation maximum value G (i, j) (G (i, j) <th) de (i, j) = {G (i, j) −gs max (th ≦ G ( i, j)) ··· (2 ) G (i, j) = g (i, j) + a 1 de (i-1, j) + a 2 de (i + 1, j-1) + a 3 de (i, j−1) + a 4 de (i−1, j−1) (3) where ai (i = 1 to 4); error diffusion coefficient (Σai = 1) As a method of encoding a binarized binarized image (that is, a binary image), an arithmetic encoding method described in Reference 2 is known. FIG. 2 shows a method of generating a binarized image from a multi-valued image by an error diffusion method and encoding the binarized image by an arithmetic coding method. FIG.
1 is a functional block diagram of an encoding device for implementing a conventional image encoding method.

【0003】この符号化装置は、誤差拡散2値化処理手
段10と、シンボル出現確率推定手段21及び算術符号
構成手段22からなる算術符号化手段20とを、備えて
いる。誤差拡散2値化処理手段10では、(1)〜
(3)式に基づき、入力される多値画像D1における着
目画像(符号化しようとしている画素)の2値化、及び
該着目画素から近傍画素へ誤差の拡散を行い、2値化画
像D2を生成し、その2値化画像D2をシンボル出現確
率推定手段21及び算術符号構成手段22へ与える。
[0003] The coding apparatus includes an error diffusion binarization processing means 10 and an arithmetic coding means 20 comprising a symbol appearance probability estimating means 21 and an arithmetic code forming means 22. In the error diffusion binarization processing means 10, (1) to
Based on the expression (3), binarization of the target image (pixel to be coded) in the input multi-valued image D1 and diffusion of an error from the target pixel to neighboring pixels are performed, and the binarized image D2 is obtained. Then, the binarized image D2 is provided to the symbol appearance probability estimating means 21 and the arithmetic code forming means 22.

【0004】シンボル出現確率推定手段21では、2値
化画像D2を入力し、その着目画素より以前に2値化さ
れた“黒”または“白”の2値化シンボルを用い、該着
目画素で出現する2値化シンボルの出現確率を推定して
シンボル出現確率値を求め、そのシンボル出現確率値を
算術符号構成手段22へ与える。すると、算術符号構成
手段22では、算術符号化法により、シンボル出現確率
値を符号化パラメータとして2値化画像D2を符号化し
て符号D3を生成する。
The symbol appearance probability estimating means 21 receives the binarized image D2 and uses a "black" or "white" binarized symbol that has been binarized before the target pixel. The symbol appearance probability value is obtained by estimating the appearance probability of the appearing binarized symbol, and the symbol appearance probability value is provided to the arithmetic code forming means 22. Then, the arithmetic code constructing unit 22 encodes the binary image D2 using the symbol appearance probability value as an encoding parameter to generate the code D3 by the arithmetic encoding method.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
画像符号化方法では、誤差拡散2値化処理手段10にお
いて、2値化閾値に対する2値化誤差が非常に小さく、
その2値化で“白”シンボルとしても、“黒”シンボル
としても、画質にはほとんど影響のない場合がある。こ
のような場合、算術符号化手段20において、2値化規
則で定まる所定のシンボルを符号化すると、その符号長
に大きな影響を与える場合が生じる。そのため、従来の
画像符号化方法では、算術符号を効率よく構成する上
で、2値化処理が適当なものとはなっておらず、技術的
に充分満足のゆく画像符号化方法を提供することが困難
であった。
However, in the conventional image encoding method, the error diffusion binarization processing means 10 has a very small binarization error with respect to the binarization threshold.
In some cases, the binarization has little effect on the image quality whether it is a “white” symbol or a “black” symbol. In such a case, if the arithmetic encoding means 20 encodes a predetermined symbol determined by the binarization rule, the code length may be greatly affected. Therefore, in the conventional image encoding method, the binarization processing is not appropriate for efficiently configuring the arithmetic code, and an image encoding method that is technically sufficiently satisfactory is provided. Was difficult.

【0006】本発明は、前記従来技術が持っていた課題
として、従来の2値化方法が算術符号を用いたデータ圧
縮に適していないという点について解決した多値画像の
符号化方法を提供するものである。
The present invention provides a multi-valued image coding method which solves the problem of the prior art that the conventional binarizing method is not suitable for data compression using arithmetic codes. Things.

【0007】[0007]

【課題を解決するための手段】本発明は、前記課題を解
決するために、入力された2値画像に基づき、符号化対
象である着目画素で出現する“ドット存在”または“ド
ット不存在”の2値のシンボルの出現確率を推定してシ
ンボル出現確率値を求め、算術符号化法により、前記シ
ンボル出現確率値を符号化パラメータとして前記2値画
像を符号化する画像符号化方法において、次のような手
段を講じている。即ち、誤差拡散2値化処理に基づいて
修正階調値を求め、前記修正階調値、2値化閾値及び前
記シンボル出現確率値を入力し、該修正階調値と2値化
閾値の距離が所定の距離評価パラメータより小さく、か
つ符号長が所定の符号長評価パラメータにより定義され
る符号長より長くなると判断されたときに、前記入力さ
れた2値画像の値を修正して符号化するようにしてい
る。
According to the present invention, in order to solve the above-mentioned problems, based on an input binary image, "dots present" or "dots absent" appearing at a pixel of interest to be encoded. In the image encoding method for encoding the binary image using the symbol appearance probability value as an encoding parameter, the symbol appearance probability value is obtained by estimating the appearance probability of the binary symbol We have taken such measures. That is, a corrected gradation value is obtained based on the error diffusion binarization processing, the corrected gradation value, the binarization threshold and the symbol appearance probability value are input, and the distance between the corrected gradation value and the binarization threshold is calculated. Is smaller than a predetermined distance evaluation parameter and when it is determined that the code length is longer than the code length defined by the predetermined code length evaluation parameter, the value of the input binary image is corrected and encoded. Like that.

【0008】[0008]

【作用】本発明によれば、以上のように画像符号化方法
を構成したので、入力された2値画像から、シンボル出
現確率値が求められ、このシンボル出現確率値を符号化
パラメータとして、算術符号化法によって前記2値画像
が符号化される。この際、修正階調値と2値化閾値の距
離が距離評価パラメータより小さく、かつ符号長が長く
なると判断されたときには、前記入力された2値画像の
値が、そのシンボルの論理の反転や拡散誤差の調整等に
よって修正された上で、算術符号化法によって符号化さ
れる。これにより、高い圧縮率で2値画像の符号化が行
える。従って、前記課題を解決できるのである。
According to the present invention, since the image encoding method is configured as described above, a symbol appearance probability value is obtained from an input binary image, and the symbol appearance probability value is used as an encoding parameter to perform arithmetic operation. The binary image is encoded by an encoding method. At this time, when it is determined that the distance between the corrected gradation value and the binarization threshold is smaller than the distance evaluation parameter and the code length is longer, the value of the input binary image is used to determine whether the logic of the symbol is inverted or not. After being corrected by adjusting the diffusion error or the like, it is encoded by an arithmetic encoding method. Thereby, encoding of a binary image can be performed at a high compression rate. Therefore, the above problem can be solved.

【0009】[0009]

【実施例】図1は本発明の実施例を示すもので、画像符
号化方法を実施するための符号化装置の機能ブロック図
である。この符号化装置は、誤差拡散2値化処理手段3
0と2値化シンボル・拡散誤差修正手段40とを備え、
その誤差拡散2値化処理手段30の出力側に算術符号化
手段50が接続されている。算術符号化手段50は、シ
ンボル出現確率推定手段51及び算術符号構成手段52
で構成され、そのシンボル出現確率推定手段51の出力
側が2値化シンボル・拡散誤差修正手段40に接続され
ている。
FIG. 1 shows an embodiment of the present invention and is a functional block diagram of an encoding apparatus for implementing an image encoding method. This encoding device includes error diffusion binarization processing means 3
0 and a binarized symbol / diffusion error correcting means 40,
An arithmetic coding unit 50 is connected to the output side of the error diffusion binarization processing unit 30. The arithmetic coding unit 50 includes a symbol appearance probability estimating unit 51 and an arithmetic code forming unit 52.
The output side of the symbol appearance probability estimating means 51 is connected to the binarized symbol / diffusion error correcting means 40.

【0010】誤差拡散2値化処理手段30は、入力され
る多値画像D11における着目画素の2値化処理及び該
着目画素から近傍画素へ2値化誤差を拡散し、その2値
化画像(即ち、2値画像)D12を生成する機能を有し
ている。2値化シンボル・拡散誤差修正手段40は、シ
ンボル出現確率推定手段51で推定されたシンボル出現
確率PW (白),PB (黒)と、修正階調値G(i,
j)及び2値化閾値thとに応じて、誤差拡散2値化処
理手段30における2値化シンボル及び拡散誤差を修正
する機能を有している。
The error diffusion binarization processing means 30 binarizes the pixel of interest in the input multi-valued image D11, diffuses a binarization error from the pixel of interest to neighboring pixels, and outputs the binarized image ( That is, it has a function of generating a binary image) D12. The binarized symbol / diffusion error correction unit 40 calculates the symbol appearance probabilities P W (white) and P B (black) estimated by the symbol appearance probability estimation unit 51 and the corrected gradation value G (i,
j) and the function of correcting the binarized symbol and the diffusion error in the error diffusion binarization processing means 30 according to the binarization threshold th.

【0011】算術符号化手段50は、誤差拡散2値化処
理手段30からの2値化画像D12を入力し、算術符号
を構成する機能を有している。この算術符号化手段50
を構成するシンボル出現確率推定手段51は、2値化画
像D12を入力し、例えば図3に示すような参照画像を
用いてシンボル出現確率PW (白),PB (黒)を推定
する機能を有している。また、算術符号構成手段52
は、シンボル出現確率推定手段51で推定されたシンボ
ル出現確率PW (白),PB (黒)を符号化パラメータ
として、算術符号化法を用いて符号D13を構成する機
能を有している。図4は、図1に示す符号化装置の処理
手順を示すフローチャートであり、この図を参照しつ
つ、本実施例の画像符号化方法を説明する。なお、図4
中のS1〜S19は、各処理ステップを示す。
The arithmetic coding means 50 has a function of inputting the binary image D12 from the error diffusion binary processing means 30 and forming an arithmetic code. This arithmetic coding means 50
Is a function of inputting the binarized image D12 and estimating the symbol appearance probabilities P W (white) and P B (black) using, for example, a reference image as shown in FIG. have. The arithmetic code constructing means 52
Has a function of using the symbol appearance probabilities P W (white) and P B (black) estimated by the symbol appearance probability estimating means 51 as coding parameters to form the code D13 using an arithmetic coding method. . FIG. 4 is a flowchart showing a processing procedure of the encoding device shown in FIG. 1, and the image encoding method of the present embodiment will be described with reference to FIG. FIG.
S1 to S19 in the drawing indicate each processing step.

【0012】先ず、ステップS1,S2において、算術
符号化手段50を初期化すると共に、入力される多値画
像D11における着目画素の位置(i,j)を初期化す
る。ステップS3において、シンボル出現確率推定手段
51では、既に出現している2値化シンボルから画素位
置(i,j)におけるシンボル出現確率PB ,PW を推
定する。そして、ステップS4において、誤差拡散2値
化処理手段30では、(3)式に基づき、修正階調値G
(i,j)を求める。
First, in steps S1 and S2, the arithmetic coding means 50 is initialized, and the position (i, j) of the pixel of interest in the input multi-valued image D11 is initialized. In step S3, the symbol appearance probability estimating means 51 estimates the symbol appearance probabilities P B and P W at the pixel position (i, j) from the binarized symbols that have already appeared. Then, in step S4, the error diffusion binarization processing means 30 calculates the corrected gradation value G based on the equation (3).
(I, j) is obtained.

【0013】ステップS5〜S7において、誤差拡散2
値化処理手段30では、修正階調値G(i,j)を2値
化閾値th(=gsmax /2)で2値化する。即ち、ス
テップS5において、修正階調値G(i,j)が2値化
閾値th(=gsmax /2)より大きいか否かを判定
し、大きいときにはステップS6でkを“B(黒)”と
し、小さいときにはステップS7でkを“W(白)”と
する。そして、ステップS8,S9において、誤差拡散
2値化処理手段30では、(2)式に基づき、誤差拡散
de(i,j)を求める。
In steps S5 to S7, error diffusion 2
The binarization unit 30 binarizes a modified gradation value G (i, j) a binarization threshold value th (= gs max / 2) . That is, in step S5, modified gray scale value G (i, j) is the binary threshold value th (= gs max / 2) is determined is greater than or not, "the k in step S6 when large B (black) And when smaller, k is set to "W (white)" in step S7. Then, in steps S8 and S9, the error diffusion binarization processing means 30 calculates the error diffusion de (i, j) based on the equation (2).

【0014】ステップS10〜S13において、2値化
シンボル・拡散誤差修正手段40では、修正階調値G
(i,j)と2値化閾値thの距離|G(i,j)−t
h|が距離評価パラメータηより小さく、かつ符号長が
長くなると判断される場合(Pk <ε、ε;符号長評価
パラメータ)、ステップS11でk=“B”か否かの判
定を行い、その判定結果に基づき、ステップS12,S
13で、2値化シンボル“W(白)”または“B
(黒)”を反転させると共に、拡散誤差de(i,j)
を修正する。
In steps S10 to S13, the binarized symbol / diffusion error correcting means 40 sets the corrected gradation value G
Distance between (i, j) and binarization threshold th | G (i, j) -t
When it is determined that h | is smaller than the distance evaluation parameter η and the code length is longer (P k <ε, ε; code length evaluation parameter), it is determined whether or not k = “B” in step S11. Steps S12 and S
13, the binary symbol “W (white)” or “B
(Black) "and the diffusion error de (i, j)
To correct.

【0015】ステップS14,15において、算術符号
構成手段52では、ステップS10の条件が満足された
場合、ステップS14で反転シンボルに対応する出現確
率1−Pk で算術符号を構成する。これに対し、ステッ
プS10の条件が満足されない場合、ステップ15で出
現確率Pk で算術符号を構成する。そして、ステップS
16〜S19で、着目画素の座標値(i,j)を制御す
る。即ち、ステップS16で座標値(i,j)のうちの
iがxmax よりも小さいか否かを判定し、小さいときに
は、ステップS17でそのiに+1加算してステップS
3へ戻る。ステップS16でiがxmax よりも大きいと
きには、ステップS18でj<ymax か否かを判定し、
jがymax よりも小さいときには、iを0に設定すると
共に、jに+1加算してステップS3へ戻り、ステップ
S18で、jがymax よりも大きくなると、符号化処理
を終了する。
In steps S14 and S15, if the condition of step S10 is satisfied, the arithmetic code forming means 52 forms an arithmetic code with the appearance probability 1- Pk corresponding to the inverted symbol in step S14. On the other hand, if the condition of step S10 is not satisfied, an arithmetic code is formed by the appearance probability P k in step S15. And step S
In steps S16 to S19, the coordinate value (i, j) of the pixel of interest is controlled. That is, in step S16, it is determined whether or not i of the coordinate values (i, j) is smaller than xmax . If smaller, +1 is added to i in step S17 and step S17 is performed.
Return to 3. When i is larger than x max in step S16, it is determined whether or not j <y max in step S18.
When j is less than y max, as well as a i is set to 0, the process returns to step S3 and adds +1 to j, in step S18, j is the larger than y max, and ends the encoding process.

【0016】復号化においては、例えば、図3に示すよ
うに、シンボル出現確率推定のための参照画像が、符号
化と同じであれば、その符号化の逆演算で、元の2値化
画像を得ることができる。以上のように、本実施例で
は、2値化閾値thに対する2値化誤差が小さく、かつ
その2値化で出現するシンボルが符号長に大きな影響を
与える場合、2値化シンボル・拡散誤差修正手段40に
よって2値化で出現するシンボル及び拡散誤差が制御さ
れ、その制御結果に基づき、算術符号を用いたデータ圧
縮に適した2値化処理が行われる。そのため、2値化画
像D12の画質を損なうことなく、その2値化画像D1
2を高い圧縮率で符号化でき、それによって2値化画像
D12のデータ圧縮性能を向上できる。
In the decoding, for example, as shown in FIG. 3, if the reference image for estimating the symbol appearance probability is the same as that of the coding, the inverse operation of the coding is performed to obtain the original binary image. Can be obtained. As described above, in this embodiment, when the binarization error with respect to the binarization threshold th is small and the symbol appearing in the binarization has a large effect on the code length, the binarization symbol / diffusion error correction is performed. The symbol and the diffusion error appearing in the binarization are controlled by the means 40, and a binarization process suitable for data compression using an arithmetic code is performed based on the control result. Therefore, without deteriorating the image quality of the binarized image D12,
2 can be encoded at a high compression rate, thereby improving the data compression performance of the binarized image D12.

【0017】次に、本実施例と従来の方法とをシミュレ
ーションにより評価した結果を図5(a),(b)に示
す。図5(a)は従来の方法による2値化画像、図5
(b)は本実施例による2値化画像を示す。これらは、
次のようなシミュレーション条件に基づき評価した。 〔シミュレーション条件〕 多値画像:256階調(8ビット),512×512 シンボル出現確率推定のための参照画素:10画素近傍
(図3を参照) ε=0.07,η=16 図5(a),(b)に示すように、従来と本実施例の画
質の差はほとんど認められないにも関わらず、本実施例
の符号量は、従来方法の符号量より約13%程度少なく
することができた。なお、本発明は上記実施例に限定さ
れず、例えば図4の処理手順を他の手順に変更する等、
種々の変形が可能である。
Next, FIGS. 5A and 5B show the results of evaluation of the present embodiment and the conventional method by simulation. FIG. 5A shows a binarized image obtained by a conventional method.
(B) shows a binarized image according to the present embodiment. They are,
Evaluation was made based on the following simulation conditions. [Simulation conditions] Multi-valued image: 256 gradations (8 bits), 512 × 512 Reference pixels for symbol appearance probability estimation: around 10 pixels (see FIG. 3) ε = 0.07, η = 16 FIG. As shown in (a) and (b), the code amount of the present embodiment is reduced by about 13% from the code amount of the conventional method, although there is almost no difference in image quality between the conventional method and the present embodiment. I was able to. Note that the present invention is not limited to the above-described embodiment. For example, the processing procedure of FIG. 4 is changed to another procedure.
Various modifications are possible.

【0018】[0018]

【発明の効果】以上詳細に説明したように、本発明によ
れば、修正階調値と2値化閾値の距離が距離評価パラメ
ータより小さく、かつ符号長が長くなると判断されたと
きには、シンボルの論理の反転や拡散誤差の調整等によ
り、入力された2値画像の値を修正した上で、符号化す
るようにしたので、入力2値画像の画質を損なうことな
く、該入力2値画像を高い圧縮率で符号化できる。従っ
て、入力された2値画像のデータ圧縮性能を向上でき
る。
As described above in detail, according to the present invention, when it is determined that the distance between the corrected gradation value and the binarization threshold is smaller than the distance evaluation parameter and the code length becomes longer, the symbol The value of the input binary image is corrected by inversion of logic, adjustment of diffusion error, and the like, and then encoded, so that the input binary image can be encoded without deteriorating the image quality of the input binary image. Can be encoded with a high compression rate. Therefore, the data compression performance of the input binary image can be improved.

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

【図1】本発明の実施例の画像符号化方法を実施するた
めの符号化装置を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an encoding device for implementing an image encoding method according to an embodiment of the present invention.

【図2】従来の画像符号化方法を実施するための符号化
装置を示す機能ブロック図である。
FIG. 2 is a functional block diagram showing an encoding device for implementing a conventional image encoding method.

【図3】図1の符号化装置におけるシンボル出現確率推
定のための参照画素を示す図である。
FIG. 3 is a diagram showing reference pixels for estimating a symbol appearance probability in the encoding device of FIG. 1;

【図4】図1の符号化装置を用いた本実施例の画像符号
化方法の処理手順を示すフローチャートである。
FIG. 4 is a flowchart illustrating a processing procedure of an image encoding method according to the present embodiment using the encoding device of FIG. 1;

【図5】本実施例と従来の画像符号化方法のシミュレー
ション結果を示す図である。
FIG. 5 is a diagram illustrating simulation results of the present embodiment and a conventional image encoding method.

【符号の説明】[Explanation of symbols]

30 誤差拡散2値化処理手段 40 2値化シンボル・拡散誤差修正手段 50 算術符号化手段 51 シンボル出現確率推定手段 52 算術符号構成手段 D11 多値画像 D12 2値化画像 D13 符号 Reference Signs List 30 error diffusion binarization processing means 40 binary symbol / diffusion error correction means 50 arithmetic coding means 51 symbol appearance probability estimating means 52 arithmetic code construction means D11 multi-level image D12 binary image D13 code

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力された2値画像に基づき、符号化対
象である着目画素で出現する“ドット存在”または“ド
ット不存在”の2値のシンボルの出現確率を推定してシ
ンボル出現確率値を求め、 算術符号化法により、前記シンボル出現確率値を符号化
パラメータとして前記2値画像を符号化する画像符号化
方法において、 誤差拡散2値化処理に基づいて修正階調値を求め、 前記修正階調値、2値化閾値及び前記シンボル出現確率
値を入力し、該修正階調値と2値化閾値の距離が所定の
距離評価パラメータより小さく、かつ符号長が所定の符
号長評価パラメータにより定義される符号長より長くな
ると判断されたときに、前記入力された2値画像の値を
修正して符号化することを特徴とする画像符号化方法。
A symbol appearance probability value is estimated based on an input binary image by estimating an appearance probability of a binary symbol “dot present” or “dot absent” appearing at a pixel of interest to be encoded. In an image encoding method for encoding the binary image using the symbol appearance probability value as an encoding parameter by an arithmetic encoding method, a corrected gradation value is obtained based on error diffusion binarization processing. A corrected gradation value, a binarization threshold and the symbol appearance probability value are input, and a distance between the corrected gradation value and the binarization threshold is smaller than a predetermined distance evaluation parameter, and a code length is a predetermined code length evaluation parameter. An image encoding method characterized in that, when it is determined that the length becomes longer than the code length defined by the following, the value of the input binary image is corrected and encoded.
【請求項2】 請求項1記載の画像符号化方法におい
て、 前記2値画像の値の修正では、該2値画像のシンボルの
論理を反転することを特徴とする画像符号化方法。
2. The image encoding method according to claim 1, wherein in correcting the value of the binary image, the logic of a symbol of the binary image is inverted.
【請求項3】 請求項1記載の画像符号化方法におい
て、 前記2値画像は、誤差拡散法を用い、前記着目画素を前
記2値化閾値で2値化すると共に、該着目画素から近傍
画素への誤差拡散を行って生成し、前記2値画像のシンボルの論理を反転し該2値画像の値
の修正を行うと共に、この反転シンボルに対応して近傍
画素への前記拡散誤差の調整 を行うことを特徴とする画
像符号化方法。
3. The image encoding method according to claim 1, wherein the binary image is binarized by the binarization threshold using an error diffusion method, and a pixel from the pixel of interest is shifted to a neighboring pixel. Is generated by performing error diffusion to the binary image, and inverts the logic of the symbol of the binary image to obtain the value of the binary image.
And the neighborhood corresponding to the inverted symbol
An image encoding method , comprising: adjusting the diffusion error for pixels .
【請求項4】 請求項1記載の画像符号化方法におい
て、 前記2値画像は、誤差拡散方法を用い、前記着目画素を
前記2値化閾値で2値化すると共に、該着目画素から近
傍画素への誤差拡散を行って生成し、 前記2値画像のシンボルの論理を反転すると共に、この
反転シンボルに対応して拡散誤差が取り得る数値範囲の
値に該拡散誤差を調整し、前記2値画像の値の修正を行
うことを特徴とする画像符号化方法。
4. The image encoding method according to claim 1, wherein the binary image is binarized by the binarization threshold using an error diffusion method, and a pixel from the pixel of interest is shifted to a neighboring pixel. By performing error diffusion on the binary image, inverting the logic of the symbol of the binary image, adjusting the diffusion error to a value in a numerical range that the diffusion error can take in accordance with the inverted symbol, An image coding method comprising correcting an image value.
JP4016575A 1992-01-31 1992-01-31 Image coding method Expired - Lifetime JP2825697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4016575A JP2825697B2 (en) 1992-01-31 1992-01-31 Image coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4016575A JP2825697B2 (en) 1992-01-31 1992-01-31 Image coding method

Publications (2)

Publication Number Publication Date
JPH05219381A JPH05219381A (en) 1993-08-27
JP2825697B2 true JP2825697B2 (en) 1998-11-18

Family

ID=11920092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4016575A Expired - Lifetime JP2825697B2 (en) 1992-01-31 1992-01-31 Image coding method

Country Status (1)

Country Link
JP (1) JP2825697B2 (en)

Also Published As

Publication number Publication date
JPH05219381A (en) 1993-08-27

Similar Documents

Publication Publication Date Title
JP2009509418A (en) Classification filtering for temporal prediction
JP2002238054A (en) Image-coding decoding method, image coder and image decoder
Baligar et al. High compression and low order linear predictor for lossless coding of grayscale images
JP2825697B2 (en) Image coding method
JP7283156B2 (en) Image processing device and program
JP2007306513A (en) Method and device for image data compression
JP3108526B2 (en) Image quantization and its coding method
JP3966117B2 (en) Image processing apparatus, image encoding apparatus, image printing apparatus, and methods thereof
JP2716618B2 (en) Image coding method
JP3157043B2 (en) Binary image encoding method
JP3167196B2 (en) Binary image encoding method
JP3279831B2 (en) Coding method and decoding method for binary pseudo gradation image
JP2575229B2 (en) Image processing device
JPH08204971A (en) Image compression method using predictive coding and error diffusion
JP3108532B2 (en) Binary image encoding method
JP3086583B2 (en) Pseudo gradation image coding method
JP3299774B2 (en) Image coding method
JP2702593B2 (en) Isolated point removal device
JP3297502B2 (en) Image reproduction device
JPH11150659A (en) Method for processing image
JP2000354163A (en) Image processing method
JP3073323B2 (en) Binary image encoding method
JP3549700B2 (en) Image processing device
JPH09247450A (en) Image processing unit
JP2677989B2 (en) Pseudo halftone processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980901

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070911

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080911

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080911

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090911

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090911

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100911

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110911

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110911

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 14