JPS6268369A - Picture coding system - Google Patents

Picture coding system

Info

Publication number
JPS6268369A
JPS6268369A JP60207911A JP20791185A JPS6268369A JP S6268369 A JPS6268369 A JP S6268369A JP 60207911 A JP60207911 A JP 60207911A JP 20791185 A JP20791185 A JP 20791185A JP S6268369 A JPS6268369 A JP S6268369A
Authority
JP
Japan
Prior art keywords
gradation
information
block
representative
image information
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
JP60207911A
Other languages
Japanese (ja)
Inventor
Kazuo Ozeki
和夫 大関
Chiaki Motegi
茂手木 千秋
Yoshihiko Ogawa
小川 吉彦
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP60207911A priority Critical patent/JPS6268369A/en
Publication of JPS6268369A publication Critical patent/JPS6268369A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a picture with excellent S/N and high quality by applying coding in the unit of a group larger than a block with respect to non multi- gradation picture information to improve the coding efficiency. CONSTITUTION:Input picture information is split into plural blocks comprising plural picture elements to obtain two (large and small) block representative gradations an, bn representing the gradation of a picture element in the block at each block. Then the two (large/small) group representative gradations A, B representing the gradation of the picture element in the group are decided for the group using consecutive >=2 blocks as one unit. The block representative gradations an, bn and the group representative gradations A, B are used to decide whether or not the input picture information is non multi-gradation picture information, and the input picture information decided to be non multi- gradation picture information encodes the gradation information and resolution information in the unit of groups and when not, that is, the multi-gradation picture information is coded in the unit of blocks in the same way as a conventional block coding system.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は画像情報の高能率圧縮符号化方式に係り、特に
?値画像と多階調画像とが混在した画急に適した画像符
号化方式に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a high-efficiency compression encoding method for image information, and in particular? The present invention relates to an image encoding method suitable for a combination of value images and multi-gradation images.

〔発明の技術的背蹟とその問題点〕[Technical disadvantages of the invention and its problems]

ファクシミリ等で使用される画像情報の高能率圧縮符号
化方式のなかで、ブロック符号化方式は文言のような2
値画像と写真のような多階調画像の両者に対応できる優
れた画像符号化方式として注目されている。
Among the high-efficiency compression encoding methods for image information used in facsimiles, etc., the block encoding method is
It is attracting attention as an excellent image encoding method that can handle both value images and multi-tone images such as photographs.

ブロック符号化方式の原理を第2Fを用いて説明する。The principle of the block encoding method will be explained using the second F.

第2図(a)に示すように、原画像情報を例えば3X3
画素のブロックに分割し、そのブロック内の画素の平均
的な階調である閾値xTを定める。この閾値X7と各画
素の階調(輝度レベル) X +  (i−1,2,−
,9)とを比較して、xTよりXlの方が大きい(X+
≧XT)時φi−1゜×1の方が小さい時φi −oと
定める。そして、階調が閾値X7より小の画素の平均階
調をとし、閾値X丁より大の画素の平均階調をと定める
。a、bをブロック代表諧調といい、ブロック内の各画
素の階調Xi はこれらのブロック・代表階調a、bに
置換えられ、Xi’ となる。また、φH(i=1.2
.・・・、9)を分解能情報という。
As shown in FIG. 2(a), the original image information is
It is divided into blocks of pixels, and a threshold value xT, which is the average gradation of the pixels in the block, is determined. This threshold value X7 and the gradation (luminance level) of each pixel X + (i-1, 2, -
, 9), Xl is larger than xT (X+
≧XT), when φi-1°×1 is smaller, it is determined as φi-o. Then, the average gradation of pixels whose gradation is smaller than the threshold value X7 is defined as the average gradation of pixels whose gradation is larger than the threshold value X7. A and b are called block representative gradations, and the gradation Xi of each pixel in the block is replaced by these block/representative gradations a and b to become Xi'. Also, φH(i=1.2
.. ..., 9) is called resolution information.

これら代表階調情報a、bと分解能情報φ1とが適当な
符号化方式により伝送される。第2図(a)を具体的な
数値例で表わしたものが、第2図(b)である。なお、
第2図(b)の例では閾値×Tとしてブロック内の画素
の平均階調を用いている。
These representative gradation information a, b and resolution information φ1 are transmitted using an appropriate encoding method. FIG. 2(b) shows a specific numerical example of FIG. 2(a). In addition,
In the example shown in FIG. 2(b), the average gradation of pixels within the block is used as the threshold value×T.

しかしながら、このブロック符号化方式は非多階調画像
の領域、つまり文書のような2値画像や写真の背景部分
等の領域においては、階調の連続的な変化はないにもか
かわらず、ブロック単位で代表階調情報を変えて符号化
するため、符号化効率が低下するという問題がある。ま
た、ブロックサイズを大きくすれば符号化効率は改善さ
れるが、ブロックとブロックの境界で階調が大きく変化
するためブロック間の画像の不連続性、すなわちブロッ
ク構造が現われやすく、画像品質が低下する。
However, this block encoding method does not allow continuous changes in gradation in areas of non-multi-gradation images, such as binary images such as documents or background areas of photographs. Since the representative gradation information is changed for each unit for encoding, there is a problem in that the encoding efficiency decreases. In addition, increasing the block size improves encoding efficiency, but because the gradation changes greatly at the boundaries between blocks, image discontinuity between blocks, that is, block structure, tends to appear, reducing image quality. do.

このような通常のブロック符号化方式の問題を解決する
ため、電子通信学会研究会資料r E 81−5゜19
81、9.33〜40等に記載されているように、大小
2つのブロック代表階調a、bの差が小さい時あるいは
各代表階調に対応する画素数Na、Nbが一定故以上大
きい時は、代表階調情報を1つに統合して、分解能情報
φ1をMH(モディファイド・ハフマン符号)、MR(
モディファイドREAD符号)等で符号化し、代表階調
はワイル符号等によりその継続長(ラン・レングス)を
符号化する差分ブロック符号化方式が提案されている。
In order to solve the problems of such ordinary block coding methods, we have published the IEICE Study Group Material r E 81-5゜19.
As described in 81, 9.33 to 40, etc., when the difference between two large and small block representative gradations a and b is small, or when the number of pixels Na and Nb corresponding to each representative gradation is larger than a certain value. integrates the representative gradation information into one, and converts the resolution information φ1 into MH (Modified Huffman code), MR (
A differential block encoding method has been proposed in which the representative gradation is encoded using a Weyl code or the like, and its run length is encoded using a Weyl code or the like.

この差分ブロック符号化方式によれば、符号化効率は改
善されるものの、依然として非多階調画像の領域におい
ては代表階調情報が1種類で済むにもがかわらず、ブロ
ック毎に階調情報が変化するという無駄が存在している
。また、代表階調情報をラン・レングス符号化するため
、隣接するブロック間で1階調でも変化すると、ランが
途切れて符号化効率の低下を生じる。さらに、復号・再
生された画像においてブロック構造は平均的に減少する
が、写真の背慎部分のような階調変化の緩やかなところ
でブロック構造が目立ち易い。
According to this differential block coding method, although the coding efficiency is improved, in the area of non-multi-tone images, only one type of representative tone information is required. There is a waste of change. Furthermore, since the representative gradation information is run-length encoded, if even one gradation changes between adjacent blocks, the run is interrupted, resulting in a decrease in encoding efficiency. Furthermore, although the block structure is reduced on average in the decoded and reproduced image, the block structure is more noticeable in areas where the gradation changes are gradual, such as in the discreet parts of a photograph.

〔発明の目的〕[Purpose of the invention]

本発明は上述した従来の問題点を解決するためになされ
たもので、符号化効率が高く、また再生画像の劣化要因
となるブロック構造の発生を抑圧できる画像符号化方式
を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and it is an object of the present invention to provide an image encoding method that has high encoding efficiency and can suppress the occurrence of block structures that cause deterioration of reproduced images. shall be.

(発明の概要) 本発明はこの目的を達成するため、入力画像情報を槽数
の画素でそれぞれ構成される複数のブロックに分割して
、各ブロック毎にそのブロック内の画素のlJ調を代表
する大小2つのブロック代表階調an 、 bn  (
n=1.2.−)を求めるとともに、連続する2個以上
のブロックを1単位とするグループに対してそのグルー
プ内の画素の階調を代表する大小2つのグループ代表階
調A、B(A<B)を定め、これらブロック代表階調a
rL。
(Summary of the Invention) In order to achieve this object, the present invention divides input image information into a plurality of blocks each consisting of the same number of pixels, and each block represents the lJ tone of the pixels in that block. Two large and small block representative gradations an, bn (
n=1.2. -), and determine two group representative gradations A and B (A<B) that represent the gradation of pixels in the group for a group consisting of two or more consecutive blocks as one unit. , these block representative gradations a
rL.

bnおよびグループ代表階調A、Bを用いて入力画像情
報が非多階調画像情報かどうかを判定し、非多階調画像
情報であると判定された入力画像情報は階調情報および
分解能情報をグループ単位で符号化し、そうでない時、
つまり多階調画像情報は従来のブロック符号化方式と同
様にブロック単位で符号化することを特徴とする。
It is determined whether the input image information is non-multi-gradation image information using bn and group representative gradations A and B, and input image information determined to be non-multi-gradation image information is divided into gradation information and resolution information. is encoded in groups, and if not,
In other words, multi-gradation image information is characterized in that it is encoded in units of blocks, similar to the conventional block encoding method.

すなわち、本発明は従来のブロック符号化あるいは差分
ブロック符号化方式のように、常にブロック単位で符号
化を行なうのでなく、入力画像情報が文書画像のような
2値画像や、写真の背景部分のような階調変化がほとん
どない画像の情報(これを非多階調画像情報という)に
ついては、その非多階調画像情報とみなされた2個以上
のブロックを1つのグループとして、グループ単位で階
調情報および分解能情報の符号化を行なうのである。
In other words, the present invention does not always encode in block units as in conventional block encoding or differential block encoding methods, but when the input image information is a binary image such as a document image or the background part of a photograph. For image information with almost no gradation changes (this is called non-multi-gradation image information), two or more blocks that are considered to be non-multi-gradation image information are treated as one group, and the information is divided into groups. It encodes gradation information and resolution information.

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

本発明によれば、非多階調画像情報についてはブロック
より大きいグループ単位で符号化を行なうことにより、
符号化効率が向上する。
According to the present invention, non-multi-gradation image information is encoded in units of groups larger than blocks.
Encoding efficiency is improved.

また、このような非多階調画像の領域では領域全体にわ
たり一定の階調情報が伝送されるため、再生画像におい
てブロック間での階調の変化によるブロック構造の発生
という現象がなくなり、S/Nの良好な高品質の画像を
得ることができる。
In addition, in such a non-multi-gradation image area, constant gradation information is transmitted over the entire area, so the phenomenon of block structure due to gradation changes between blocks in the reproduced image is eliminated, and S/ N good high quality images can be obtained.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照して詳細に説明する
。第1図は本発明の一実施例に係る画像符号化方式の概
要を説明するための機能ブロック図である。入力画像情
報は閾Il!!設定手段1に入力され、ブロック内の画
素の平均的階調である閾値XTn  (n=1.2.・
・・)が設定される。この閾11Xrnはブロック内の
画素の平均階調マー上’2w xr         
 ・旧・・(3)rす jフ1 によって定めることができる。また、反復演算を用いて
平均2乗誤差 が最小となるように閾lIX T nを設定してもよい
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram for explaining an overview of an image encoding method according to an embodiment of the present invention. The input image information is the threshold Il! ! A threshold value XTn (n=1.2.
) is set. This threshold 11Xrn is above the average gradation mark of the pixels in the block
・Old...(3)rjfu1 It can be determined by: Further, the threshold lIX T n may be set using iterative calculation so that the mean square error is minimized.

こうして設定された閾値xTnは、入力画像情報ととも
にブロック代表階調算出手段2に与えられる。ブロック
代表階調算出手段2では、閾値XTnと各ブロック内の
画素の階調(Ir11度レベル)Xi とを比較して、
前記(1)、(2)式より大小2つのブロック代表階調
aA、bnを算出し、また同時に分解能情報φiを出力
する。
The threshold value xTn thus set is given to the block representative tone calculation means 2 together with the input image information. The block representative gradation calculation means 2 compares the threshold XTn with the gradation (Ir 11 degree level) Xi of the pixels in each block,
Two block representative gradations aA and bn, large and small, are calculated from equations (1) and (2), and resolution information φi is output at the same time.

ブロック代表階man、bnはグループ代表階調決定手
段3に与えられる。グループ代表階調決足手段3は連続
する2個以上のブロックを最小単位とするグループを定
め、そのグループ内の画素の階調を代表する大小2つの
グループ代表階調A。
The block representative gradations man and bn are given to the group representative gradation determining means 3. The group representative gradation determining means 3 determines a group whose minimum unit is two or more consecutive blocks, and selects two group representative gradations A, large and small, representing the gradations of pixels within the group.

Bを決定する。このグループ代表階調A、Bとしては、
例えばグループ内のブロック代表MilarL。
Determine B. The group representative gradations A and B are as follows:
For example, the block representative MilarL in the group.

bnの最初のもの(n−1のもの)、あるいは最小のも
のを採用することができる。
The first one (n-1 one) or the smallest one of bn can be adopted.

ブロック代表階調an、b11とグループ代表階調A、
8が判定手段4に与えられ、入力画像情報が非多階調画
像情報かどうかが判定される。この判定は例えば次の3
つの条件■〜■ ■ B≦afi <B+vy、且つB≦bn<B+w■
 A≦afi <A+w、且つA≦brL<A+w■ 
A≦an<A+w、且つB≦l)A <B+w(但し、
Wは微小階調レベル差) を定め、これらのうら少なくとも1つの条件が成立した
とき、非多階調画像情報との判定を行なうものである(
第3図参照)。ここで、非多階調画像情報とは前述した
ように、写真画像のような多階調画像以外の画像、すな
わち文書のような211!画像あるいは写真の背景部分
のようなほとんど単階調の画像の情報をいう。
Block representative gradation an, b11 and group representative gradation A,
8 is given to the determining means 4, and it is determined whether the input image information is non-multi-gradation image information. For example, this judgment is as follows:
Conditions ■~■ ■ B≦afi <B+vy, and B≦bn<B+w■
A≦afi<A+w, and A≦brL<A+w■
A≦an<A+w, and B≦l) A<B+w (however,
W is a minute gradation level difference), and when at least one of these conditions is satisfied, it is determined that the image information is non-multi-gradation image information (
(See Figure 3). Here, non-multi-gradation image information refers to images other than multi-gradation images such as photographic images, that is, 211! images such as documents, as described above. Refers to information about almost single-tone images, such as the background part of an image or photograph.

上記3つの条件■〜■のうち、条件■はグループ内のブ
ロック代表階調arL、bnが両方とも第3図の上側の
階調レベル領域31に入る場合、条件■はブロック代表
階調a、、bnが両方とも第3図の下側の階調レベル領
域32に入る場合、条件■はレベルの低い方のブロック
代表階調anが第3図の下側の階調レベル領域32に入
り、レベルの高い方のブロック代表階y4brLが第3
図の上側の階調レベル領1ii!31に入る場合にそれ
ぞれ相当する。
Among the three conditions (■) to (■) above, condition (2) is when the block representative gradations arL and bn in the group are both within the gradation level area 31 on the upper side of FIG. , bn are both included in the lower gradation level area 32 in FIG. The block representative floor y4brL of the higher level is the third
Gradation level area 1ii on the upper side of the diagram! 31, respectively.

この判定手段4の判定結果は、符号化手段5に与えられ
る。符号化手段5はブロック代表階調an、b、1およ
び分解能情報φiを入力とし、判定手段4の判定結果が
非多階調画像情報の場合は、グループ単位で代表階調情
報および分解能情報を符号化し、非多階調画像情報でな
い場合は、従来のブロック符号化方式と同様にブロック
単位で代表階調情報および分解能情報を符号化する。こ
の符号化の形式としては、例えば代表階調情報について
は第4図(a)に示すように代表階調arL。
The determination result of the determination means 4 is given to the encoding means 5. The encoding means 5 inputs the block representative gradations an, b, 1 and the resolution information φi, and if the determination result of the determining means 4 is non-multi-gradation image information, the encoding means 5 inputs the representative gradation information and resolution information in group units. If the image information is not multi-gradation image information, representative gradation information and resolution information are encoded in units of blocks as in the conventional block encoding method. As for the format of this encoding, for example, the representative gradation information is represented by the representative gradation arL as shown in FIG. 4(a).

brLのレベルを表わす情報と、その継続長(ラン・レ
ングス)を符号化し、また分解能情報φ1は同図(b)
に示すように画素の階調が大小2つの代表階調an、b
nのどちらに属するかを示す1ビツトの情報に続けて、
そのラン・レングスを符号化すればよい。
The information representing the level of brL and its run length are encoded, and the resolution information φ1 is shown in the same figure (b).
As shown in , the pixel has two representative gradations an and b, large and small.
Following the 1-bit information indicating which group n belongs to,
The run length can be encoded.

また、上記条件■〜■のうち条件■のみ、または条件■
のみが成立する場合は、従来の差分ブロック符号化方式
と同様に、代表階調情報の符号化に際して大小2つの代
表階調情報an、bnを1つに統合して符号化してもよ
い。すなわち、従来の差分符号化方式と、本発明に基く
グループ単位での符号化とを併用する。このようにする
ことで、符号化効率の一層の向上を図ることができる。
Also, among the above conditions ■ to ■, only condition ■ or condition ■
If only the following holds true, similar to the conventional differential block encoding method, when encoding the representative gradation information, the two large and small representative gradation information an and bn may be combined into one and encoded. That is, the conventional differential encoding method and the group-based encoding based on the present invention are used together. By doing so, it is possible to further improve the encoding efficiency.

上述した本発明に係る画像符号化方式は、マイクロプロ
セッサを用いてソフトウェア処理により実行することも
可能である。その実施例を第5図に示すフローチャート
を参照して説明する。第5図において、ステップ11で
入力画像情報を1ブロック分取込むと同時にn=1とし
、ステップ12で閾値X丁ルを設定する。次に、ステッ
プ13で閾値×丁nを用いてブロック代表階調an。
The image encoding method according to the present invention described above can also be executed by software processing using a microprocessor. The embodiment will be explained with reference to the flowchart shown in FIG. In FIG. 5, at step 11, one block of input image information is taken in, and at the same time, n=1, and at step 12, a threshold value X is set. Next, in step 13, the block representative gradation an is determined using the threshold value x digit n.

bnを算出し、引続きステップ14でグループ代表階5
1A、Bを設定する。
bn is calculated, and then in step 14 the group representative floor 5 is calculated.
Set 1A and B.

次に、ステップ15においてn=n+1とし、同時にス
テップ16でライン終了、つまり各主走査の終わりに達
したかどうかが判定される。ライン終了と判定されると
、ステップ17でライン更新、つまり次の主走査への移
行がなされ、ステップ11に戻る。ステップ16の判定
結果がライン終了でない場合は、ステップ17において
入力画像情報の次の1ブロック分が取込まれ、以下ステ
ップ19.20においてステップ12.13と全く同様
にして閾値XTAが設定され、さらにブロック代表階調
an、kgが算出される。
Next, in step 15, n=n+1 is set, and at the same time, in step 16, it is determined whether the end of the line, that is, the end of each main scan has been reached. If it is determined that the line has ended, the line is updated in step 17, that is, the process moves to the next main scan, and the process returns to step 11. If the determination result in step 16 is that the line is not finished, the next block of input image information is captured in step 17, and the threshold XTA is set in step 19.20 in exactly the same manner as step 12.13. Furthermore, the block representative gradation an, kg is calculated.

ステップ20が終了すると、次のステップ21において
それまでに得られたブロック階調ミル。
When step 20 is completed, the next step 21 is to calculate the block tone mill obtained so far.

bAとグループ代表階調A、Bに基いて前記3つの条件
■〜■の有無が調べられ、非多rP3調画像情報かどう
かの判定が行なわれる。この結果、非多階調画像情報と
の判定がなされると、ステップ15に戻る。また、非多
階調画像情報でないとの判定がなされると次のステップ
22に移り、(n−1)ブロックの画像情報についての
代表階調情報および分解能情報が符号化される。このス
テップ22における符号化は、n=2の場合は1ブロッ
ク分の画像情報についての代表階調情報および分解能情
報を符号化するので、通常のブロック符号化方式(また
は差分ブロック符号化方式)と同様である。一方、n=
3またはそれ以上の場合は、ステップ22では2個以上
のブロックを1つのグループとしてそのグループ内の代
表階調情報および分解能情報を符号化する。すなわち、
本発明に基く符号化が行なわれることになる。
Based on bA and the group representative gradations A and B, the presence or absence of the three conditions (1) to (2) is checked, and it is determined whether the image information is non-multi-rP3-tone image information. As a result, if it is determined that the image information is non-multi-tone image information, the process returns to step 15. Furthermore, if it is determined that the image information is not multi-tone image information, the process moves to the next step 22, and the representative tone information and resolution information for the image information of (n-1) blocks are encoded. The encoding in step 22 encodes the representative gradation information and resolution information for one block of image information when n=2, so it is different from the normal block encoding method (or differential block encoding method). The same is true. On the other hand, n=
If the number is 3 or more, in step 22, two or more blocks are treated as one group and the representative gradation information and resolution information within that group are encoded. That is,
Encoding according to the invention will be performed.

こうしてステップ22における符号化処理が終了すると
、ステップ23でn−1に戻り、次いでステップ24に
おいてグループ代表階調A、Bが更新された後、ステッ
プ15に戻ってnが再び1つインクリメントされ、ステ
ップ16以降の処理が繰返される。
When the encoding process in step 22 is thus completed, the process returns to n-1 in step 23, and then, after the group representative gradations A and B are updated in step 24, the process returns to step 15 and n is incremented by one again. The processing from step 16 onwards is repeated.

このように本発明によれば、非多階調画像情報と判定さ
れた領域の画像情報ついては、その領域に対応する連続
した複数のブロックからなるグループ単位で代表階調情
報および分解能情報を符号化することによって、符号化
効率を向上させ、且つ画像品質を高めることができる。
As described above, according to the present invention, for image information of an area determined to be non-multi-tone image information, representative tone information and resolution information are encoded in units of groups consisting of a plurality of consecutive blocks corresponding to the area. By doing so, it is possible to improve encoding efficiency and image quality.

すなわち、本発明においては第3図に示した代表階調の
分布に見られるように、2値画像の領域においては黒。
That is, in the present invention, as seen in the distribution of representative gradations shown in FIG. 3, the area of the binary image is black.

白の変化点を含むような期間であってもブロック毎に代
表階調情報を符号化する必要はなく、その期間中同じ代
表階調情報を使用するので、従来のブロック符号化方式
や差分ブロック符号化方式のような効率の低下が生じな
い。
There is no need to encode representative gradation information for each block even in a period that includes a white change point, and the same representative gradation information is used during that period, so conventional block encoding methods and differential blocks There is no reduction in efficiency as with encoding methods.

また、ブロックサイズを大きくすることなく符号化効率
の向上が達成されることと、2値画像の部分のみならず
、写真の背景部分のような階調変化の緩やかな部分の画
像情報についてもグループ単位での符号化がなされるこ
とにより、復号化され再生された画像中のブロック構造
の発生を抑制できる。
In addition, it is possible to improve coding efficiency without increasing the block size, and it is also possible to group image information not only in binary images but also in areas with gradual gradation changes, such as the background of a photo. By performing unit encoding, it is possible to suppress the occurrence of block structures in decoded and reproduced images.

この効果は、第6図および第7図に示す実験結果からも
明らかである。第6図は文書画像および写真画像を従来
の差分ブロック符号化方式および本発明に基くブロック
連結符号化方式で符号化した場合のそれぞれについて、
符号化出力の1画素当りのビット数(符号化ビット数)
と、再生画像のS DD/ N rffis  (信号
のピーク・ピークと雑音の実効値との比)との関係を実
測した結果を示したものである。なお、写真画像として
は画像処理の評価で一般に使用されるガール・イメージ
と称される標準画像を用いた。この結果から、再生画像
のS Dp/ N rn+sは同じ符号化ビット数に対
して大きく改善されており、特に2値画像である文書部
分での改善効果が顕著である。写真画像においてもかな
りの向上が見られているのは、特に背蹟部分のS I)
D/ N r+nsの向上による効果である。また、第
7図は文書画像および写真画像が混在した画像の場合に
ついて同様の測定を行なった結果を示したものであり、
この図からも本発明に基くブロック連結符号化方式が差
分ブロック符号化方式より浸れていることがわかる。
This effect is also clear from the experimental results shown in FIGS. 6 and 7. FIG. 6 shows the case where a document image and a photographic image are encoded using the conventional differential block encoding method and the block concatenation encoding method based on the present invention, respectively.
Number of bits per pixel of encoded output (number of encoded bits)
This figure shows the results of actually measuring the relationship between SDD/Nrffis (ratio of signal peak-to-peak and effective value of noise) of the reproduced image. As the photographic image, a standard image called a girl image, which is generally used in the evaluation of image processing, was used. From this result, the S Dp/N rn+s of the reproduced image is greatly improved for the same number of encoding bits, and the improvement effect is particularly remarkable in the document portion, which is a binary image. A considerable improvement can also be seen in photographic images, especially in the dorsal area (SI).
This is an effect due to an improvement in D/N r+ns. Furthermore, FIG. 7 shows the results of similar measurements for an image containing a mixture of document images and photographic images.
This figure also shows that the block concatenation coding method according to the present invention is more sophisticated than the differential block coding method.

なお、本発明は上記実施例に限定されるものではなく、
例えば実M INではブロックを3×3画素の正方形に
とったが、長方形にとってもよく、ブロックサイズをざ
らに大きくとることもできる。
Note that the present invention is not limited to the above embodiments,
For example, in the actual MIN, the block is a square of 3 x 3 pixels, but it may also be a rectangle, and the block size can be made larger.

また、実施例においてはブロックを横方向(主走査方向
)に連結してグループ化した例を説明したが、縦方向(
復走査方向)に連結してグループ化してもよい。さらに
、実m例においては1つのグループを構成するブロック
数が可変となっているが、適当な値に固定してもよい。
In addition, in the embodiment, an example was explained in which blocks were connected in the horizontal direction (main scanning direction) and grouped, but in the vertical direction (main scanning direction)
They may be connected and grouped in the backward scanning direction). Further, in the actual example, the number of blocks constituting one group is variable, but it may be fixed to an appropriate value.

さらに、本発明はファクシミリ以外のビデオテックス、
ファイリング等の静止画像の符号化にも適用でき、テレ
ビジョン信号伝送、記録等における動画像の符号化にも
適用することができる。その他、本発明は要旨を逸脱し
ない範囲で種々変形して実施することが可能である。
Furthermore, the present invention is applicable to videotex other than facsimile,
It can also be applied to encoding still images such as in filing, and can also be applied to encoding moving images in television signal transmission, recording, etc. In addition, the present invention can be implemented with various modifications without departing from the scope.

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

第1図は本発明の一実施例に係る画像符号化方式を説明
するための機能ブロック図、第2図は従来のブロック符
号化方式を説明するための図、第3図は本発明に係る画
像符号化方式において非多階調画像情報について行なわ
れるブロック連結符号化を説明するための図、第4図は
本発明の画像符号化方式により得られる符号化出力のフ
ォーマットを示す図、第5図は本発明に係る画像符号化
方式をソフトウェア処理により実行する場合の実施例を
説明するためのフローチャート、第6図および第7図は
差分ブロック符号化方式および本発明に基くブロック連
結符号化方式により符号化した場合の符号化ビット数と
再生画像の・S pM N ribsとの関係を示す図
である。 1・・・I1m設定手段、2・・・ブロック代表階調算
出手段、3・・・グループ代表階調決定手段、4・・・
非多階調画像の判定手段、5・・・符号化手段。 出願人代理人 弁1’l   鈴江武彦第3図 第4図
FIG. 1 is a functional block diagram for explaining an image encoding method according to an embodiment of the present invention, FIG. 2 is a diagram for explaining a conventional block encoding method, and FIG. 3 is a functional block diagram for explaining an image encoding method according to an embodiment of the present invention. FIG. 4 is a diagram for explaining block concatenation encoding performed on non-multi-gradation image information in the image encoding method. FIG. 4 is a diagram showing the format of the encoded output obtained by the image encoding method of the present invention. The figure is a flowchart for explaining an embodiment in which the image encoding method according to the present invention is executed by software processing, and FIGS. 6 and 7 are a differential block encoding method and a block concatenation encoding method based on the present invention. FIG. 3 is a diagram showing the relationship between the number of encoded bits and the .S pM N ribs of a reproduced image in the case of encoding. DESCRIPTION OF SYMBOLS 1... I1m setting means, 2... Block representative gradation calculation means, 3... Group representative gradation determining means, 4...
Non-multi-gradation image determining means, 5... encoding means. Applicant's agent Ben 1'l Takehiko Suzue Figure 3 Figure 4

Claims (7)

【特許請求の範囲】[Claims] (1)入力画像情報を複数の画素の階調を代表する代表
階調情報と、各画素がどの代表階調情報に対応するかを
示す分解能情報とに分けて符号化する画像符号化方式に
おいて、前記入力画像情報を複数の画素でそれぞれ構成
される複数のブロックに分割して、各ブロック毎にその
ブロック内の画素の階調を代表する大小2つのブロック
代表階調a_n、b_n(n=1、2、・・・)を求め
、さらに連続する2個以上のブロックを最小単位とする
グループに対してそのグループ内の画素の階調を代表す
る大小2つのグループ代表階調A、B(A<B)を定め
た後、これらブロック代表階調a_n、b_nおよびグ
ループ代表階調A、Bを用いて前記入力画像情報が非多
階調画像情報かどうかを判定し、非多階調画像情報と判
定された入力画像情報は代表階調情報および分解能情報
をグループ単位で符号化し、それ以外の入力画像情報は
代表階調情報および分解能情報をブロック単位で符号化
することを特徴とする画像符号化方式。
(1) In an image encoding method that encodes input image information by dividing it into representative gradation information representing the gradations of multiple pixels and resolution information indicating which representative gradation information each pixel corresponds to. , the input image information is divided into a plurality of blocks each composed of a plurality of pixels, and for each block two large and small block representative gradations a_n, b_n (n= 1, 2, ...), and then calculate two group representative gradations A, B( After determining A<B), it is determined whether the input image information is non-multi-gradation image information using these block representative gradations a_n, b_n and group representative gradations A, B, and the non-multi-gradation image is determined. An image characterized in that input image information determined to be information is encoded with representative gradation information and resolution information in group units, and other input image information is encoded with representative gradation information and resolution information in block units. Encoding method.
(2)前記ブロック代表階調a_n、b_nは、各ブロ
ック内の画素の平均階調を閾値として、階調が該閾値よ
り大である画素の平均階調および階調が該閾値より小で
ある画素の平均階調であることを特徴とする特許請求の
範囲第1項記載の画像符号化方式。
(2) The block representative gradations a_n and b_n are such that the average gradation of pixels in each block is a threshold, and the average gradation and gradation of pixels whose gradations are larger than the threshold are smaller than the threshold. 2. The image encoding method according to claim 1, wherein the image encoding method is an average gradation of pixels.
(3)前記ブロック代表階調a_n、b_nは、該ブロ
ック代表階調a_n、b_nと各ブロック内の画素の階
調との平均2乗誤差が最小となるものであることを特徴
とする特許請求の範囲第1項記載の画像符号化方式。
(3) A patent claim characterized in that the block representative gradations a_n, b_n have a minimum mean square error between the block representative gradations a_n, b_n and the gradations of pixels in each block. The image encoding method according to the first item in the range.
(4)前記入力画像情報が非多階調画像情報かどうかを
判定するために、前記ブロック代表階調a_n、b_n
および前記グループ代表階調A、Bを用いて、次の3つ
の条件[1]〜[3] [1]B≦a_n<B+w、且つB≦b_n<B+w[
2]A≦a_n<A+w、且つA≦b_n<A+w[3
]A≦a_n<A+w、且つB≦b_n<B+w(但し
、wは微小階調レベル差) を定め、これらのうち少なくとも1つの条件が成立した
とき非多階調画像情報と判定することを特徴とする特許
請求の範囲第1項記載の画像符号化方式。
(4) In order to determine whether the input image information is non-multi-gradation image information, the block representative gradation a_n, b_n
and using the group representative gradations A and B, the following three conditions [1] to [3] [1] B≦a_n<B+w, and B≦b_n<B+w[
2] A≦a_n<A+w, and A≦b_n<A+w[3
]A≦a_n<A+w, and B≦b_n<B+w (where w is a slight gradation level difference), and when at least one of these conditions is satisfied, it is determined that the image information is non-multi-gradation image information. An image encoding method according to claim 1.
(5)前記入力画像情報が非多階調画像情報かどうかを
判定するために、前記ブロック代表階調a_n、b_n
および前記グループ代表階調A、Bを用いて、次の3つ
の条件[1]〜[3] [1]B≦a_n<B+w、且つB≦b_n<B+w[
2]A≦a_n<A+w、且つA≦b_n<A+w[3
]A≦a_n<A+w、且つB≦b_n<B+w(但し
、wは微小階調レベル差) を定め、これらのうち少なくとも1つの条件が成立した
とき非多階調画像情報と判定し、さらに条件[1]のみ
、または[2]のみが成立する時は前記階調情報の符号
化に際して大小2つの代表階調情報を1つに統合して符
号化することを特徴とする特許請求の範囲第1項記載の
画像符号化方式。
(5) In order to determine whether the input image information is non-multi-gradation image information, the block representative gradation a_n, b_n
and using the group representative gradations A and B, the following three conditions [1] to [3] [1] B≦a_n<B+w, and B≦b_n<B+w[
2] A≦a_n<A+w, and A≦b_n<A+w[3
]A≦a_n<A+w, and B≦b_n<B+w (where w is a minute gradation level difference), and when at least one of these conditions is satisfied, it is determined as non-multi-gradation image information, and further conditions are established. Claim 1, characterized in that when only [1] or only [2] holds true, when encoding the gradation information, two pieces of representative gradation information, large and small, are integrated into one and encoded. The image encoding method described in Section 1.
(6)前記入力画像情報が非多階調画像情報かどうかの
判定をブロック代表階調a_n、b_nが新たに与えら
れる毎に行なうことを特徴とする特許請求の範囲第1項
記載の画像符号化方式。
(6) The image code according to claim 1, wherein a determination as to whether the input image information is non-multi-gradation image information is made every time block representative gradations a_n, b_n are newly given. method.
(7)前記入力画像情報が非多階調画像情報かどうかの
判定をブロック代表階調a_n、b_nが所定数個与え
られる毎に行なうことを特徴とする特許請求の範囲第1
項記載の画像符号化方式。
(7) The first aspect of the present invention is characterized in that the determination as to whether the input image information is non-multi-gradation image information is made every time a predetermined number of block representative gradations a_n, b_n are given.
Image encoding method described in section.
JP60207911A 1985-09-20 1985-09-20 Picture coding system Pending JPS6268369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60207911A JPS6268369A (en) 1985-09-20 1985-09-20 Picture coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60207911A JPS6268369A (en) 1985-09-20 1985-09-20 Picture coding system

Publications (1)

Publication Number Publication Date
JPS6268369A true JPS6268369A (en) 1987-03-28

Family

ID=16547606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60207911A Pending JPS6268369A (en) 1985-09-20 1985-09-20 Picture coding system

Country Status (1)

Country Link
JP (1) JPS6268369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302941A (en) * 2008-06-13 2009-12-24 Konica Minolta Business Technologies Inc Image processing method, image processing apparatus, and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302941A (en) * 2008-06-13 2009-12-24 Konica Minolta Business Technologies Inc Image processing method, image processing apparatus, and image processing program

Similar Documents

Publication Publication Date Title
CA1241606A (en) System for reproducing mixed images
US7013050B2 (en) Image encoding apparatus and method, program code, and storage medium
WO1993021725A2 (en) Methods and apparatus for halftoning and inverse halftoning and the transmission of such images
US5491564A (en) Data compression method and apparatus for binary image using Markov model encoding
JPH07154798A (en) Method and device for picture encoding
JPH04328960A (en) Picture data transmitter
JPS6268369A (en) Picture coding system
JPH04238462A (en) Picture processor
JP3117331B2 (en) Image data processing device
JP3137702B2 (en) Image processing device
JP3361355B2 (en) Image processing device
JPH0759086A (en) Picture processing unit
JP3788895B2 (en) Encoding apparatus, encoding method, and computer-readable recording medium recording a program for causing a computer to execute the encoding method
JP2777378B2 (en) Halftone area detection method
JP3146576B2 (en) Image processing device
JPH08336043A (en) Reduction converter and magnification converter for binary image
JP2777379B2 (en) Area separation device
JP3259989B2 (en) Binary and multi-valued mixed coded image data restoration method and apparatus
JPH06339020A (en) Picture processing method and device
JP2005198022A (en) Image processing device, and image formation device with it
JP3104920B2 (en) Image processing device
JPS63316974A (en) Two-dimensional data predictive computing system for pseudo halftone image of facsimile equipment
JPH0787332A (en) Communicating equipment for irreversible coding data
JPS6152075A (en) Facsimile encoder
JPH07184056A (en) Image coder