JPH07112243B2 - Block division sequential reproduction coding method - Google Patents

Block division sequential reproduction coding method

Info

Publication number
JPH07112243B2
JPH07112243B2 JP26990187A JP26990187A JPH07112243B2 JP H07112243 B2 JPH07112243 B2 JP H07112243B2 JP 26990187 A JP26990187 A JP 26990187A JP 26990187 A JP26990187 A JP 26990187A JP H07112243 B2 JPH07112243 B2 JP H07112243B2
Authority
JP
Japan
Prior art keywords
circuit
encoding
coding
pixels
gradation
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
JP26990187A
Other languages
Japanese (ja)
Other versions
JPH01112882A (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.)
Fujitsu Ltd
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Mitsubishi Electric Corp
Nippon Telegraph and Telephone 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 Fujitsu Ltd, Mitsubishi Electric Corp, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP26990187A priority Critical patent/JPH07112243B2/en
Publication of JPH01112882A publication Critical patent/JPH01112882A/en
Publication of JPH07112243B2 publication Critical patent/JPH07112243B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (発明の技術分野) 本発明は中間調を含む濃淡画像の高能率符号化方式に係
わり、特に多階調適応形ブロック符号化方式(以下、
「GBTC方式」と称す)と順次再生符号化方式(以下、
「PCS方式」と称す)とを組み合わせてモディファイド
したブロック分割順次再生符号化方式(以下、「BSPC方
式」と称す)に関するものである。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a high-efficiency coding system for grayscale images including halftones, and more particularly to a multi-gradation adaptive block coding system (hereinafter
"GBTC method") and sequential reproduction coding method (hereinafter,
The present invention relates to a block-division sequential reproduction coding system (hereinafter referred to as "BSPC system") modified by combining with "PCS system").

(従来技術とその問題点) テレマティク・サービスにおける自然画像伝送の要求は
ビデオテックス等のセンター・テンド形通信ばかりでな
くファクシミリ等のエンド・エンド形通信においても高
まっている。これらの通信に用いられる代表的な符号化
方式としてGBTC方式とPCS方式とがある。
(Prior art and its problems) The demand for natural image transmission in telematic services is increasing not only in center-tended communication such as videotex but also in end-end communication such as facsimile. The GBTC method and the PCS method are typical encoding methods used for these communications.

まず、従来のGBTC方式の概略について説明する。First, the outline of the conventional GBTC method will be described.

第1図は従来のGBTCの概略図であり、1は画像データの
入力端子、2はバッファメモリ、3はブロック内の画像
データの最大値,最小値検出回路、4は最大,最小代表
階調決定回路、5は階調レベルメモリ、7は比較回路、
8は分解能成分メモリ、9は基準レベル発生回路、10は
差分値発生回路である。
FIG. 1 is a schematic diagram of a conventional GBTC, where 1 is an image data input terminal, 2 is a buffer memory, 3 is a maximum / minimum value detection circuit for image data in a block, and 4 is a maximum / minimum representative gradation. A decision circuit, 5 is a gradation level memory, 7 is a comparison circuit,
Reference numeral 8 is a resolution component memory, 9 is a reference level generating circuit, and 10 is a difference value generating circuit.

ハッファメモリ2は、画素単位の画像信号を端子1から
入力して、1ブロックライン(縦1個、横1列のブロッ
ク列を示す)分の画像データを蓄積し、1ブロックずつ
画素データを出力する。このバッファメモリ2に格納さ
れた画素データは、1ブロックごとに読みだされて必要
な処理が施される。
The Huffa memory 2 inputs an image signal of a pixel unit from the terminal 1, accumulates image data of one block line (one vertical column, one horizontal block column), and outputs pixel data block by block. . The pixel data stored in the buffer memory 2 is read out block by block and subjected to necessary processing.

以下、画像データを256階調(0〜255)、ブロックサイ
ズを4×4画素、1ブロックを最大4階調で近似するも
のとして説明する。
The following description will be made assuming that image data is approximated with 256 gradations (0 to 255), block size is 4 × 4 pixels, and one block is approximated with maximum 4 gradations.

各ブロックの符号化情報は次のように作成される。ま
ず、最大,最小値検出回路2は、1ブロック分の画素デ
ータをバッファメモリ2より読み込んで、ブロック内の
最大値(Lmax)と最小値(Lmin)を求め、更にこれらの
値からレベル差D=Lmax−Lminを求める。
The coding information of each block is created as follows. First, the maximum / minimum value detection circuit 2 reads the pixel data for one block from the buffer memory 2, finds the maximum value (L max ) and the minimum value (L min ) in the block, and further calculates the level from these values. Find the difference D = L max −L min .

また、第2図の如く上記レベル差Dを閾値T1,T2と比較
してDの大小によってそのブロックを表示する階調数を
1〜4に決める。続いて最大,最小代表階調決定回路4
はブロックをk階調(k=1,2,4)に量子化して表現す
るための代表階調に関して、その最大値と最大値(以下
それぞれ最大代表階調,最小代表階調と呼ぶ)の値P0,P
k(k=1,2)あるいはQk(k=1,4)を求める。
Further, as shown in FIG. 2, the level difference D is compared with the threshold values T 1 and T 2, and the number of gradations for displaying the block is determined to be 1 to 4 depending on the magnitude of D. Subsequently, the maximum and minimum representative gradation determination circuit 4
Represents the maximum value and maximum value (hereinafter referred to as maximum representative gradation and minimum representative gradation, respectively) of the representative gradation for expressing the block by quantizing it into k gradations (k = 1,2,4). Value P 0 , P
Find k (k = 1,2) or Q k (k = 1,4).

これらの値の求め方を4階調表現を例にとって説明す
る。
A method of obtaining these values will be described by taking a 4-gradation expression as an example.

(1)まずLmaxとLminよりその平均値A=1/2(Lmax+L
min)を求めるとともに両値の間を第3図に示すように
範囲a1,a2,a3,a4に4等分し、範囲a1及び範囲a4に属す
る画素データの平均値をそれぞれQ1,Q4の初期値とす
る。
(1) First, the average value of L max and L min is A = 1/2 (L max + L
min ) and divide the two values into four areas a 1 , a 2 , a 3 , a 4 as shown in FIG. 3 , and calculate the average value of the pixel data belonging to the areas a 1 and a 4. Use the initial values of Q 1 and Q 4 , respectively.

すなわち、 以上の画素データの平均をQ1 未満の画素データの平均をQ4とする。That is, The average of the above pixel data is Q 1 Let Q 4 be the average of the pixel data below.

Q1〜Q4の間で等間隔にQ2,Q3を設定するものとすると、
第4図から明らかなように で与えられる。ただし、LA=(Q1+Q2)/2(基準値)LD
=Q1−Q4(差分値)とする。ブロックを4階調で表現す
る場合の第1近似での量子化レベル、すなわち代表階調
は前記Q1,Q2,Q3,Q4で与えられる。
If Q 2 and Q 3 are set at equal intervals between Q 1 to Q 4 ,
As is clear from FIG. Given in. However, L A = (Q 1 + Q 2 ) / 2 (reference value) L D
= Q 1 −Q 4 (difference value). The quantization level in the first approximation when the block is expressed by 4 gradations, that is, the representative gradation is given by the above Q 1 , Q 2 , Q 3 and Q 4 .

(2)次に、ブロック内の画素データXを、これら各代
表階調の中の最も距離が近いもので代表するべくクラス
タに分類することを考えると、Q1で代表されるクラスタ
(以下第1クラスタと呼ぶ)には Q4で代表されるクラスタ(以下第4クラスタと呼ぶ)に
を満足する画素データが属することとなる。
(2) Next, considering that the pixel data X in the block is classified into clusters to be represented by the one having the shortest distance among these representative gradations, the cluster represented by Q 1 (hereinafter referred to as the cluster Called 1 cluster) The cluster represented by Q 4 (hereafter called the 4th cluster) Pixel data that satisfies the above condition belongs.

そこで、第1クラスタの代表階調Q1を第1クラスタの画
素データの平均値で置き換える。同様に第4クラスタの
代表階調Q4を第4クラスタの画素データの平均値で置き
換える。これによりQ1,Q4は、より近似の良い新しい値
に更新される。
Therefore, the representative gradation Q 1 of the first cluster is replaced with the average value of the pixel data of the first cluster. Similarly, the representative gradation Q 4 of the fourth cluster is replaced with the average value of the pixel data of the fourth cluster. As a result, Q 1 and Q 4 are updated to new values with better approximation.

ここで再びLD=Q1−Q4を求め、LDを更新した上で式
によりQ2,Q3を再度求めれば新しい代表階調が決定され
る。
Here, L D = Q 1 −Q 4 is obtained again, L D is updated, and then Q 2 and Q 3 are obtained again by the equation, whereby a new representative gradation is determined.

(3)(2)の処理を繰り返す。(3) The process of (2) is repeated.

(4)(2)の処理によってもQ1〜Q4の値がほとんど変
化しなくなったとき、収束したものと判断して、得られ
たQ1,Q2,Q3,Q4を最終的な代表階調とする。
(4) When the values of Q 1 to Q 4 hardly change even by the processing of (2), it is determined that they have converged, and the obtained Q 1 , Q 2 , Q 3 , and Q 4 are finally determined. The representative gradation is set.

(5)(2)の処理は、収束するまで行うことは必ずし
も必要なく、任意に打切ることができる。
(5) The processing of (2) does not necessarily have to be performed until convergence and can be arbitrarily terminated.

特に、(2)の操作を行わず、(1)の処理によって得
られるQ1〜Q4の値を代表階調としてもかなりの良い近似
が得られ実用上十分である。
Particularly, even if the operation of (2) is not performed and the values of Q 1 to Q 4 obtained by the processing of (1) are used as the representative gradation, a fairly good approximation can be obtained, which is practically sufficient.

2階調表現の場合も同様である(第5図(a))。例え
ば、A=1/2(Lmax+Lmin)以上の画素データの平均をP
1の初期値、A未満の画素データの平均をP2の初期値と
して第1近似の代表階調が得られる。クラスタ分類にあ
たってはA=1/2(P1+P2)によってAの値を更新した
後上記処理を繰り返せば、代表階調P1,P2(P1>P2)が
得られる。
The same applies to the case of expressing two gradations (FIG. 5 (a)). For example, the average of pixel data of A = 1/2 (L max + L min ) or more is P
With the initial value of 1 and the average of pixel data less than A as the initial value of P 2, a first approximation representative gradation is obtained. In classifying the clusters, representative gradations P 1 and P 2 (P 1 > P 2 ) can be obtained by updating the value of A by A = 1/2 (P 1 + P 2 ) and then repeating the above process.

1階調表現の場合は初期値のいかんにかかわらず代表階
調はブロック内の全画素の画素データの平均値となる。
In the case of one gradation expression, the representative gradation is the average value of the pixel data of all the pixels in the block regardless of the initial value.

このようにして求められた、ブロック内の代表階調によ
り、ブロック内の各画素の画素データをクラスタ分類す
るため、比較回路7,階調レベルメモリ回路5は代表階調
の値あるいはこれにかわるものを一時メモリするために
設けられている。
The pixel data of each pixel in the block is cluster-classified according to the representative gradation in the block thus obtained, so that the comparison circuit 7 and the gradation level memory circuit 5 change the representative gradation value or the representative gradation value. It is provided for temporary storage of things.

例えば、4階調表現の場合を例にとると、代表階調Q1,Q
2,Q3,Q4を階調レベルメモリ回路5に一時メモリしてお
き、ブロック内の画素データをバッファメモリ2より順
次読出して比較回路7により最も距離の近い代表階調を
判別し、その判別結果を分解能成分φとして例えば2ビ
ットで表現して、分解能成分メモリ8にメモリする。こ
のために、階調レベルメモリ回路5にメモリする値は必
ずしも代表階調である必要はなく、例えば であってもよい。この場合画素データXは XTQ1ならば第1クラスタ(代表階調Q1) TQ1>X≧TQ2ならば第2クラスタ(代表階調Q2) TQ2>X≧TQ3ならば第3クラスタ(代表階調Q3) TQ3>Xならば第4クラスタ(代表階調Q4) として分類される。
For example, in the case of expressing four gradations, representative gradations Q 1 , Q
2 , Q 3 and Q 4 are temporarily stored in the gradation level memory circuit 5, the pixel data in the block are sequentially read from the buffer memory 2, and the comparator circuit 7 determines the closest representative gradation. The determination result is expressed as a resolution component φ by, for example, 2 bits, and is stored in the resolution component memory 8. Therefore, the value stored in the gradation level memory circuit 5 does not necessarily have to be the representative gradation. May be In this case, if the pixel data X is XTQ 1 , the first cluster (representative gradation Q 1 ) TQ 1 > X ≧ TQ 2 is the second cluster (representative gradation Q 2 ) TQ 2 > X ≧ TQ 3 is the third cluster Cluster (representative gradation Q 3 ) If TQ 3 > X, it is classified as the fourth cluster (representative gradation Q 4 ).

一方、基準レベル発生回路9は、最大,最小代表階調決
定回路4により求められた最大代表階調と最小代表階調
の平均値LAを求め基準レベルとする。
On the other hand, the reference level generating circuit 9, the maximum, and average value L A look reference level of the maximum representative gray-scale and the lowest representative tone determined by the minimum representative tone decision circuit 4.

また、差分値発生回路10により、同様に最大代表階調と
最小代表階調の差LDを求める。1,2,4階調表現の場合のL
A,LDの求め方を第1表に示す。
Further, the difference value generation circuit 10 similarly obtains the difference L D between the maximum representative gradation and the minimum representative gradation. L in the case of 1, 2, 4 gradation expression
Table 1 shows how to obtain A and L D.

以上によりブロック内の原画データはLA,LD,φの3種の
成分で表されたことになる。これら各成分の値を個々に
圧縮符号化すればよい。圧縮符号化方法としては、LA
びLDがDPCM方式、φがMMR方式を用いる。
As described above, the original image data in the block is represented by the three types of components L A , L D , and φ. The value of each of these components may be individually compression-coded. As the compression encoding method, L A and L D use the DPCM method, and φ uses the MMR method.

LA,LD,φの値が表1で与えられるとき、これらから現画
像を復元するには次式によればよい。
Given the values of L A , L D , and φ in Table 1, the following equation can be used to restore the current image from them.

1階調表現: P0=LA 2階調表現: P1=LA+1/2LD P2=LA−1/2LD 4階調表現: Q1=LA+1/2LD Q2=LA−1/6LD Q3=LA−1/6LD Q4=LA−1/2LD 例えば4階調表現の場合、Q1の初期値を、値が領域a1
ある画像データの平均にとるのでなく、領域a1の中央
値、すなわちA+3/8Dとしてもよい。このような初期値
のとり方の影響は単に近似精度に影響するのみであって
符号の復号の基本条件には影響しない。
1 gradation: P 0 = L A 2 gradation expression: P 1 = L A + 1 / 2L D P 2 = L A -1 / 2L D 4 gradations: Q 1 = L A + 1 / 2L D Q 2 = L A −1 / 6L D Q 3 = L A −1 / 6L D Q 4 = L A −1 / 2L D For example, in the case of 4 gradation expression, the initial value of Q 1 is in the area a 1 . Instead of taking the average of the image data, the median of the area a 1 , that is, A + 3 / 8D may be used. The influence of the way of obtaining the initial value only affects the approximation accuracy, and does not affect the basic condition of code decoding.

また、以上の説明では各ブロックを4階調以下で表現す
る場合を説明したが、1,2,4,8,16…と多くの代表階調を
含む場合にも適用できる。例えばブロックを8階調で表
現する場合、代表階調をRk(k=1,2,3…8)とする
と、4階調表現で述べたと同様に、最大代表階調R1と最
小代表階調R8を求めその間を等間隔に分けてR2〜R7を求
める。2n階調を最大とするとき分解能成分はnビットで
表される。
Further, in the above description, the case where each block is represented by 4 gradations or less has been described, but the present invention can also be applied to the case where many representative gradations such as 1, 2, 4, 8, 16 ... Are included. For example, when a block is represented by 8 gradations, if the representative gradation is R k (k = 1,2,3 ... 8), the maximum representative gradation R 1 and the minimum representative gradation are the same as described in the 4 gradation expression. Gradation R 8 is calculated, and R 2 to R 7 are calculated by dividing the gradation at equal intervals. When maximizing 2 n gray scales, the resolution component is represented by n bits.

さらに差分値LDは最大代表階調と最小代表階調の差であ
ることは必ずしも必要ではなく、更に2階調表現と4階
調表現でその定義を異ならせてもよい。第5図及び第2
表は4階調表現の場合について、LD=2/3(Q1−Q2)と
した一例である。
Further, the difference value L D does not necessarily have to be the difference between the maximum representative gradation and the minimum representative gradation, and the definition may be different between the two gradation expression and the four gradation expression. 5 and 2
The table is an example in which L D = 2/3 (Q 1 −Q 2 ) in the case of 4-gradation expression.

第6図は画像データより符号化信号を形成するまでの過
程を示す。従来のGBTC方式のブロック図である。第2表
に示すような基準レベルLA,差分信号LDを形成するまで
の過程は第1図において説明したので省略する。
FIG. 6 shows a process from forming the encoded signal from the image data. It is a block diagram of the conventional GBTC method. The process up to forming the reference level L A and the differential signal L D as shown in Table 2 has been described in FIG.

基準レベルLAは、1ブロックラインの各ブロックの順に
基準レベル発生回路9より出力される。基準レベル符号
化回路11はLAの各値ごとに、所定のバイナリーコード
(1と0よりなるコード)を発生する。
The reference level L A is output from the reference level generating circuit 9 in the order of each block of one block line. The reference level coding circuit 11 generates a predetermined binary code (code consisting of 1 and 0) for each value of L A.

このようにして、LAは順次バイナリーコードに変換され
てバッファメモリ13に蓄積される。差分値LDは差分値符
号化回路15により所定のバイナリーコードに変換されて
順次バッファメモリ16にメモリされる。
In this way, L A is sequentially converted into a binary code and stored in the buffer memory 13. The difference value L D is converted into a predetermined binary code by the difference value encoding circuit 15 and sequentially stored in the buffer memory 16.

なお、ここで該当ブロックが1階調表現の場合にはLD
値にかかわらず、差分値符号化回路15からはLD=0の場
合と同一の符号が出力されるように制御される。
Incidentally, regardless of the value of L D in the case of where the block is 1 gradation is controlled so that the same code is output in the case of the L D = 0 from the difference value encoding circuit 15 .

また、比較回路7よりは第3表に従って分解能成分φ1,
φが出力され、それぞれφバッファ18,φバッフ
ァ19に一時メモリされた後、φ符号化回路12によりそれ
ぞれ符号化して冗長度抑圧した後φメモリ21,φ
モリ22にメモリされる。
Further, according to Table 3, the resolution component φ 1 ,
φ 2 is output and temporarily stored in the φ 1 buffer 18 and the φ 2 buffer 19, respectively, then encoded by the φ encoding circuit 12 to suppress the redundancy, and then stored in the φ 1 memory 21 and the φ 2 memory 22. It

1画面の処理が終了するとLA,LD1の符号化信号
はそれぞれバッファメモリ13,16,φメモリ21,φ
モリ22にメモリされている。これらの信号はそれぞれ端
子14,17,23,24より取り出され、信号合成器20より合成
されてLA,LD1の順に端子25より送出される前記
説明において、1階調表現のブロックにおいてLD=0と
してこれをコード化して符号化信号としたが、1階調表
現のブロックではすべてLD=0であり、この情報は必ず
しも必要としないので省略することができる。
When the processing for one screen is completed, the coded signals of L A , L D , φ 1 , and φ 2 are stored in the buffer memories 13, 16, φ 1 memory 21, and φ 2 memory 22, respectively. These signals are respectively taken out from terminals 14, 17, 23 and 24, combined by the signal combiner 20 and sent out from the terminal 25 in the order of L A , L D , φ 1 and φ 2 in the above description. This is coded by setting L D = 0 in the tone expression block to obtain a coded signal. However, in all the 1 tone expression blocks, L D = 0, this information is not always necessary and can be omitted. .

次に復号方法について第2表のLAとLDを用いた場合を例
にとり説明する。第7図は従来のGBTC方式に用いる復号
回路の構成例を示すブロック図であって、31は基準レベ
ル復号化回路、32は差分値復号回路、33は分解能成分復
号化回路、34は画像メモリ回路、35はLDメモリ、36は演
算回路、37はバッファメモリ、40は信号分配回路であ
る。端子30より入力される信号は信号分配回路40にて各
復号回路に分配されるLAの符号化信号は基準レベル復号
化回路31に復号され、LAの値が出力される。当該ブロッ
クのすべての画素に対して画像信号S1 S1=LA として与えこれを画像メモリ回路34にメモリする。1画
面のLAがすべて復号されたとき、S1によって概略画像が
構成される。
Next, the decoding method will be described by taking the case of using L A and L D in Table 2 as an example. FIG. 7 is a block diagram showing a configuration example of a conventional decoding circuit used in the GBTC system, in which 31 is a reference level decoding circuit, 32 is a difference value decoding circuit, 33 is a resolution component decoding circuit, and 34 is an image memory. circuit, 35 L D memory, 36 is the arithmetic circuit, 37 a buffer memory, 40 is a signal distribution circuit. The signal input from the terminal 30 is distributed to each decoding circuit by the signal distribution circuit 40, and the encoded signal of L A is decoded by the reference level decoding circuit 31 and the value of L A is output. The image signal S 1 S 1 = L A is given to all the pixels in the block and stored in the image memory circuit 34. When all L A of one screen are decoded, S 1 forms a schematic image.

続いて差分値LDの符号化信号が入力されると差分値復号
回路32によりこれを復号して、復号されたLDの値をLD
モリ35にメモリする。
Subsequently the coded signal of the difference value L D is decodes thereby is input difference value decoding circuit 32, memory values of the decoded L D to L D memory 35.

次にφの符号化信号が入力されると、分解能成分復号
化回路33によりφも復号し、LDメモリ35より該当ブロ
ックのLDの値を参照し、 (1) LD=0なら1階調表現のブロックなので S2=S1(S1を変更しない) (2) LD≠0なら2階調または4階調表現のブロック
なのでφ=0なら S2=S1+1/2LD φ=0なら S2=S1−1/2LD として画像メモリ回路34の内容をS1からS2に書きかえ
る。続いてφの符号信号が入力されると、分解能成分
復号化回路33によりφを復号し、 (1) 1ブロック内のすべての画素でφ=0ならば
1または2階調表現のブロックなので、当該ロック内の
各画素は S3=S2(S2を変更しない) (2) 1ブロック内で少なくとも1画素φ=1の画
素が存在すれば4階調表現なので φ=0の画素は S3=S2+1/4LD φ=1の画素は S3=S2−1/4LD として画像メモリ回路34の内容をS2からS3に書きかえ
る。
Next, when the encoded signal of φ 1 is input, φ 1 is also decoded by the resolution component decoding circuit 33, the value of L D of the corresponding block is referred from the L D memory 35, and (1) L D = 0 If so, S 2 = S 1 (block S 1 is not changed) because it is a block with 1 gradation. (2) If L D ≠ 0, it is a block with 2 gradations or 4 gradations. If φ 1 = 0, then S 2 = S 1 +1 If / 2L D φ 1 = 0, the content of the image memory circuit 34 is rewritten from S 1 to S 2 with S 2 = S 1 −1 / 2L D. Then, when a code signal of φ 2 is input, φ 2 is decoded by the resolution component decoding circuit 33, and (1) if φ 2 = 0 in all the pixels in one block, one or two gradation representation Since it is a block, each pixel in the lock is S 3 = S 2 (S 2 is not changed) (2) If there is at least one pixel φ 2 = 1 pixel in one block, it is a 4-gradation expression φ 2 = The pixel of 0 is S 3 = S 2 + 1 / 4L D φ 2 = 1 and the pixel of S 3 = S 2 −1 / 4L D is set, and the contents of the image memory circuit 34 are rewritten from S 2 to S 3 .

このようにして得られるS3が復号画像を表している。S 3 thus obtained represents the decoded image.

なお前記S2は、第5図から明らかなように、代表階調Q1
とQ2を1/2(Q1+Q2)で、代表階調Q3とQ4を1/2(Q3
Q4)で近似して表現しているので、S1とS3の中間の品質
にある。従って復号処理が段階的に行われるための途中
でも近似的な画像内容を知ることができる。
It should be noted that the above S 2 is the representative gradation Q 1
And Q 2 at 1/2 (Q 1 + Q 2 ) and representative gradations Q 3 and Q 4 at 1/2 (Q 3 +
Since it is approximated by Q 4 ), it has an intermediate quality between S 1 and S 3 . Therefore, the approximate image content can be known even during the decoding process is performed stepwise.

一般にR1〜Rrのr階調(r>2)で表現する場合には、
差分値は に比例する値に定めれば段階的復号が可能となる。
Generally, when expressing with r gradations of R 1 to R r (r> 2),
The difference value is If it is set to a value proportional to, then progressive decoding becomes possible.

前記復号方法はLD=0の場合も符号化信号が存在する場
合を述べたが、前述したようにLD=0の場合のLD符号化
信号が省略されている場合はφを復号後にブロック内
のφがすべて“0"のブロックが存在すると、LD=0の
データを作りLDメモリ35の該当メモリ位置に挿入してお
けばよい。従ってこの場合には符号化信号はLA1,LD,
φの順に送出する方が都合が良い。
The decoding method described the case where a coded signal exists even when L D = 0, but as described above, φ 1 is decoded when the L D coded signal when L D = 0 is omitted. After that, if there is a block in which φ 1 is all “0” in the block, data of L D = 0 may be created and inserted into the corresponding memory position of the L D memory 35. Therefore, in this case, the encoded signal is L A , φ 1 , L D ,
It is more convenient to send in φ 2 order.

次に従来のPCS方式(特開昭62−25575号)における符号
化・復号化方式の概略を説明する。ここでの説明では、
対象符号化画像の階調数は16階調(4ビット)とする。
Next, an outline of the encoding / decoding method in the conventional PCS method (Japanese Patent Laid-Open No. 62-25575) will be described. In this explanation,
The gradation number of the target encoded image is 16 gradations (4 bits).

PCS符号化方式では画像ビットプレーンに分解して、以
下の3種の符号化手段に分けて符号化を行うものであ
る。
In the PCS encoding system, the image bit plane is decomposed into the following three types of encoding means for encoding.

初期符号化: 各ビットレーンを構成する画素のうちから△Yライン毎
のライン上から△X画素おきに画素を抽出しこれらの画
素を符号化する。
Initial encoding: From the pixels forming each bit lane, pixels are extracted every ΔX pixels from the line for each ΔY line, and these pixels are encoded.

モード1の符号化: 符号化された画素のうち最小の矩形の頂点に位置する4
つの画素と同じ位置にある既に符号化を終えた各プレー
ンの画素を参照してそれら4つの参照画素に囲まれた中
心に位置する画素を符号化する。
Mode 1 encoding: 4 located at the vertex of the smallest rectangle of encoded pixels
Pixels located at the center surrounded by these four reference pixels are encoded by referring to the pixels of each plane that have already been encoded at the same positions as the four pixels.

モード2の符号化: 初期符号化手段とモード1の符号化手段によって符号化
された画素のうち最小の菱形の頂点に位置する4つの画
素と同じ位置にある既に符号化を終えた各プレーンの画
素を参照してその中心に位置する画素を符号化する。
Mode 2 encoding: Among the pixels encoded by the initial encoding unit and the mode 1 encoding unit, four pixels located at the same position as the four pixels located at the apex of the smallest rhombus of each plane that has already been encoded. The pixel located at the center of the pixel is encoded with reference to the pixel.

第8図は従来のPCS方式における符号化回路の一例を示
している。51,52は入力端子、53はビット化回路、54は
アドレス制御回路(I)、55はアドレス制御回路(I
I)、56,57,58,59はそれぞれ一画面メモリ、64は符号化
順序制御部、65と66はそれぞれ順次再生符号化器(I)
と順次再生符号化器(II)、67は信号合成回路、68は出
力端子、60,61,62,63はそれぞれゲートを示している。
以下、第8図の回路の動作を詳細に説明する。入力端子
51より、符号化する原画像の信号が画像の左上を始点と
し左から右、上から下の順序で順次一画素単位に受信さ
れ、ビット化回路53に転送される。ビット化回路53は4
ビットで表現されている画素を一ビット信号に分解し、
MSBからLSBまでの一ビット信号を、それぞれ一画面メモ
リ56,57,58,59に転送する。この処理により原画像は4
枚のビットプレーンに分解されて、それぞれ1画面メモ
リ56,57,58,59に記憶される。
FIG. 8 shows an example of an encoding circuit in the conventional PCS system. 51 and 52 are input terminals, 53 is a bit conversion circuit, 54 is an address control circuit (I), and 55 is an address control circuit (I
I), 56, 57, 58 and 59 are single-screen memories, 64 is an encoding order control unit, and 65 and 66 are sequential reproduction encoders (I).
And sequential reproduction encoder (II), 67 is a signal combining circuit, 68 is an output terminal, and 60, 61, 62 and 63 are gates.
The operation of the circuit shown in FIG. 8 will be described in detail below. Input terminal
From 51, the signal of the original image to be encoded is sequentially received from the upper left of the image as a starting point in the order of left to right and from top to bottom in a pixel unit, and transferred to the bit conversion circuit 53. Bit conversion circuit 53 is 4
Pixels expressed in bits are decomposed into 1-bit signals,
One-bit signals from MSB to LSB are transferred to one-screen memories 56, 57, 58 and 59, respectively. The original image is 4 by this processing
It is disassembled into one bit plane and stored in one-screen memories 56, 57, 58 and 59, respectively.

アドレス制御回路(I)54は、ビット化回路53より転送
される信号を各一画面メモリ56,57,58,59のどの座標に
記憶するかを指示する。各一画面メモリ56,57,58,59に
は、アドレス制御回路(I)54の指示により原画像から
信号が読み出される順序と同じ順序(画像の左上を始点
とし左から右、上から下の順序)で一画面分の情報が蓄
積される。各一画面メモリ56,57,58,59への情報の転送
が終了すると、アドレス制御回路(I)54は、符号化順
序制御部64に転送の終了を示す信号を転送する。符号化
順序制御部64はその信号を受信すると、予め記憶された
符号化の順序に従って、ゲート60〜63をオープンし符号
化すべきプレーンを選択するとともにアドレス制御回路
(II)55に符号化画素,参照画素の選択を指示する。ア
ドレス制御回路(II)55は各一画面メモリ56〜59より逐
次符号化画素,参照画素を抽出し、各ゲート60〜63を介
して順次再生符号化器(I)65と順次再生符号器器(I
I)66の一方又は双方に転送する。順次再生符号化器65,
66は符号化順序制御部64の制御に従って、各ゲートを介
してくる符号化画素を符号化する。順次再生符号化回路
器(I)65,(II)66で出力される符号化情報は順次信
号合成回路67へ出力される。
The address control circuit (I) 54 gives an instruction as to which coordinate of each one-screen memory 56, 57, 58, 59 the signal transferred from the bit conversion circuit 53 is stored. In each of the one-screen memories 56, 57, 58, 59, the same order as the order in which signals are read from the original image according to the instruction of the address control circuit (I) 54 (starting from the upper left of the image, left to right, top to bottom The information for one screen is accumulated in the order). When the transfer of information to each one-screen memory 56, 57, 58, 59 is completed, the address control circuit (I) 54 transfers a signal indicating the end of transfer to the encoding order control unit 64. When the coding order control unit 64 receives the signal, the gates 60 to 63 are opened to select the plane to be coded according to the previously stored coding order, and the address control circuit (II) 55 is set to code pixels, Instructing the selection of the reference pixel. The address control circuit (II) 55 extracts sequentially encoded pixels and reference pixels from each one-screen memory 56 to 59, and sequentially reproduces the encoded encoder (I) 65 and the sequentially reproduced encoder via the respective gates 60 to 63. (I
I) Transfer to one or both of 66. Sequential playback encoder 65,
Under the control of the encoding order control unit 64, the encoding unit 66 encodes the encoded pixel that passes through each gate. The encoded information output from the sequential reproduction encoding circuit (I) 65, (II) 66 is output to the sequential signal synthesizing circuit 67.

各プレーンの符号化に当たっては、まず16画素(ΔX=
16,ΔY=16)を単位として抽出して解像度1/16の画像
として初期符号化を行い、続いてΔX,ΔYを2分して既
符号化画素の中央の画素を抽出してモード1,モード2の
符号化手段により、解像度1/8の符号化信号を得る。同
様の手順を繰り返して順次1/4,1/2……と解像度の高い
符号化信号を得る。これらの符号化順序の一例を第3表
に示す。なお、解像度を順次1/16,1/8,1/4……と上げな
がら順次符号化を行うため、ΔX,ΔYの初期値は2w(w
=整数)にとる。信号合成回路67は符号化順序制御部64
から出力されるプレーン表示符号を出力端子68へ出力す
るとともに、この符号により符号化プレーンを判定し、
第4表に示す画像の符号化情報の蓄積方法により蓄積す
る。例えば、プレーン1である場合は順次再生符号化器
(I)65の出力信号をプレーン2,3,4である場合は順次
再生符号化器(II)66の出力信号を選択し、プレーン表
示符号に続けて出力端子68へ出力する。
When encoding each plane, first 16 pixels (ΔX =
16, ΔY = 16) as a unit to perform initial encoding as an image with a resolution of 1/16, and then to divide ΔX and ΔY into two to extract the central pixel of the already-encoded pixels to obtain mode 1, A coding signal of resolution 1/8 is obtained by the coding means of mode 2. By repeating the same procedure, coded signals with high resolution of 1/4, 1/2 ... Table 3 shows an example of these encoding orders. Since the encoding is performed sequentially while increasing the resolution to 1/16, 1/8, 1/4 ..., the initial values of ΔX and ΔY are 2 w (w
= Integer). The signal synthesis circuit 67 includes an encoding order control unit 64.
The plane display code output from is output to the output terminal 68, the coded plane is determined by this code,
It is stored by the method of storing the coded information of the image shown in Table 4. For example, in the case of plane 1, the output signal of the sequential reproduction encoder (I) 65 is selected as the output signal of the sequential reproduction encoder (II) 66 in the case of planes 2, 3 and 4, and the plane display code is selected. And output to the output terminal 68.

また、上述した符号化順序は、符号化順序制御部64に設
けられたメモリに予め記憶される。従って、このメモリ
の内容を変更することで、符号化順序を任意に設定する
ことができる。このメモリ内容の変更は、送信側で行っ
てもよいし、受信側から行うこともできる。これがため
の信号の入力端子が図中の入力端子52である。
Further, the above-mentioned encoding order is stored in advance in the memory provided in the encoding order control unit 64. Therefore, the encoding order can be arbitrarily set by changing the contents of this memory. This change of the memory contents may be performed on the transmitting side or the receiving side. The signal input terminal for this purpose is the input terminal 52 in the figure.

第9図は従来のPCS方式における復号化回路の一例を示
しているものであり、301は入力端子、311はプレーン表
示符号抽出回路、312は復号プレーン決定部、321は順次
再生復号回路、331,332,333,334,335,336,337,338はゲ
ート回路、341,342,343,344はそれぞれ二値化されたプ
レーンを記憶するための一画面メモリA,一画面メモリB,
一画面メモリC,一画面メモリD、351と353はアドレス制
御回路(I)と(II)、352はビット合成回路、361は階
調画像を記憶するための階調画像一画面メモリ、371は
出力端子を示している。
FIG. 9 shows an example of a conventional decoding circuit in the PCS system, where 301 is an input terminal, 311 is a plane display code extraction circuit, 312 is a decoding plane determination unit, 321 is a sequential reproduction decoding circuit, 331,332,333,334,335,336,337,338. Is a gate circuit, and 341, 342, 343, 344 are one-screen memory A, one-screen memory B for storing binarized planes,
One-screen memory C, one-screen memory D, 351 and 353 are address control circuits (I) and (II), 352 is a bit combining circuit, 361 is a gradation image one-screen memory for storing a gradation image, and 371 is The output terminals are shown.

初期状態として、4枚の一画面メモリ341〜344内の全メ
モリには全て“1"が記憶され、階調画像一画面メモリ36
1内の全メモリには全て“15"が記憶される。
In the initial state, “1” is stored in all memories of the four one-screen memories 341 to 344, and the gradation image one-screen memory 36
All the memory in 1 stores "15".

入力端子301から符号化された信号を受信する。プレー
ン表示符号抽出回路311は入力端子301より受信する信号
からプレーン表示符号を抽出し、その符号は復号プレー
ン決定部312に転送し、その他の符号は順次再生復号回
路321に転送する。順次再生復号回路321は復号プレーン
決定部312の指示に従いプレーン表示符号抽出回路311よ
り転送されてくる符号化信号を復号化する。また、アド
レス制御回路(I))353は、各一画面メモリA〜Dよ
り参照画素値を読み出し、ゲート335〜338を介して、順
次再生復号回路321へ転送する。復号プレーン決定部312
は、プレーン表示符号抽出回路311より転送されるプレ
ーン表示符号と第9図よりそのプレーン表示符号の後に
入力端子301から転送されてくる符号が、どのプレーン
に関するものかを求め、それに従ってゲート331からゲ
ート334のいずれかのゲートをオープンにすることによ
り、復号化するプレーンを選択するとともに、順次再生
復号回路321を制御する。例えば、プレーン表示符号抽
出回路311よりプレーン表示符号“10"を受信すると、復
号プレーン決定部312はプレーンCの情報を複合するた
めにゲート333をオープンにするとともにプレーンCの
情報を復号するように順次再生復号回路321に指示す
る。復号化の最小単位は符号化時における各手順単位
〔特開昭62−25575号「階調ファクシミリ画像信号の符
号化方式」参照〕であり、その単位の復号化を終了する
と、順次再生復号回路321は復号プレーン決定部312に復
号終了を指示する信号を転送する。復号プレーン決定部
312はその信号を受信すると、オープンにしていたゲー
ト(ゲート331から334のいずれか)をクローズしさらに
プレーン表示符号抽出回路311へ復号終了信号を転送す
る。また、プレーン表示符号抽出回路311は、復号化プ
レーン決定部312から復号終了の信号を受信すると、入
力端子301より入力される信号からプレーン表示符号を
抽出し、以上の手順を繰り返す。
The encoded signal is received from the input terminal 301. The plane display code extraction circuit 311 extracts a plane display code from the signal received from the input terminal 301, transfers the code to the decoding plane determination unit 312, and transfers the other codes to the reproduction / decoding circuit 321 sequentially. The sequential reproduction decoding circuit 321 decodes the encoded signal transferred from the plane display code extraction circuit 311 according to the instruction of the decoding plane determination unit 312. Further, the address control circuit (I)) 353 reads out the reference pixel value from each of the one screen memories A to D and sequentially transfers it to the reproduction decoding circuit 321 via the gates 335 to 338. Decoding plane determination unit 312
Determines which plane the plane display code transferred from the plane display code extraction circuit 311 and the code transferred from the input terminal 301 after the plane display code from FIG. 9 relate to, and accordingly, from the gate 331. By opening one of the gates 334, the plane to be decoded is selected and the sequential reproduction decoding circuit 321 is controlled. For example, when receiving the plane display code “10” from the plane display code extraction circuit 311, the decoding plane determination unit 312 opens the gate 333 to combine the information of the plane C and decodes the information of the plane C. The sequential reproduction decoding circuit 321 is instructed. The minimum unit of decoding is each procedure unit at the time of encoding (refer to JP-A-62-25575, "Coding method of gradation facsimile image signal"), and when the decoding of that unit is completed, a sequential reproduction decoding circuit 321 transfers to the decoding plane determination unit 312 a signal instructing the end of decoding. Decoding plane decision unit
Upon receiving the signal, the 312 closes the gate that has been opened (one of the gates 331 to 334) and further transfers the decoding end signal to the plane display code extraction circuit 311. Further, when the plane display code extracting circuit 311 receives the decoding completion signal from the decoding plane determining unit 312, the plane display code extracting circuit 311 extracts the plane display code from the signal input from the input terminal 301 and repeats the above procedure.

順次再生復号回路321は復号化された画情報信号をオー
プンにされたゲート(ゲート331から334のいずれか一
つ)を介して、一画面メモリ(一画面メモリA341から一
画面メモリD344のいずれか一つ)の決まったアドレスに
転送し記憶する。
The sequential reproduction decoding circuit 321 outputs the decoded image information signal to one screen memory (one of the one screen memory A341 to one screen memory D344) via the opened gate (one of the gates 331 to 334). 1) Transfer to a fixed address and store.

アドレス制御回路351は4枚の一画面メモリ341〜344と
階調画像一画面メモリの同一座標を指示する。4枚の一
画面メモリ341〜344はアドレス制御回路より指示された
座標のメモリ内容をビット合成回路352に転送する。ビ
ット合成回路352は、一画面メモリ341〜344から転送さ
れるビット情報を用いて予め定められた符号割当てによ
り階調画像信号(4ビット)を合成し、アドレス制御回
路351が指示する座標のメモリに記憶する。例えば、一
画面メモリ341〜344より転送されてくる信号がそれぞれ
“1",“0",“1",“0"の場合には、合成される階調画像
信号は“6"となる。
The address control circuit 351 indicates the same coordinates of the four one-screen memories 341 to 344 and the gradation image one-screen memory. The four one-screen memories 341 to 344 transfer the memory contents of the coordinates designated by the address control circuit to the bit synthesizing circuit 352. The bit synthesizing circuit 352 synthesizes the gradation image signal (4 bits) by a predetermined code assignment using the bit information transferred from the one-screen memories 341 to 344, and the memory of the coordinates indicated by the address control circuit 351. Remember. For example, when the signals transferred from the one-screen memories 341 to 344 are "1", "0", "1", and "0", respectively, the combined gradation image signal is "6".

アドレス制御回路351は順次再生復号回路321による復号
化が全て終了した後に、上記の手順を一画面の左上のす
みの画素より始めて左から右へ上から下へと順次に全座
標に対して行う。その結果、階調画像一画面メモリ361
に復号化された階調画像情報が得られる。
After the decoding by the sequential reproduction decoding circuit 321 is completed, the address control circuit 351 performs the above procedure sequentially for all coordinates from left to right from top to bottom, starting from the upper left corner pixel of one screen. . As a result, the gradation image full screen memory 361
The decoded gradation image information is obtained.

ところで、従来技術であるGBTC方式は最終的に完全に原
画像と同一の画像を再生することができないという欠点
があった。また、早い時点で大まかな全体の画像を再生
し、その後徐々に画質を向上させるといった順次再生の
機能については、順次再生の画像表示段数が数段階であ
り画像表示手段数をあまり多くとれない。
By the way, the GBTC method, which is a conventional technique, has a drawback that it cannot finally completely reproduce the same image as the original image. Further, with regard to the function of sequential reproduction in which a rough entire image is reproduced at an early point and then the image quality is gradually improved, the number of image display stages of sequential reproduction is several, and the number of image display means cannot be increased so much.

一方PCS方式は順次再生の機能については、順次再生の
画像表示段数を多くとれるため連続的に画質を向上でき
る。また、最終的には原画像と同一の画像を再生するこ
とができる。しかし順次再生の途中段階において、符号
化効率が十分でないという欠点があった。
On the other hand, in the PCS method, since the number of image display stages of the sequential reproduction can be increased for the sequential reproduction function, the image quality can be continuously improved. Further, finally, the same image as the original image can be reproduced. However, there is a drawback that the coding efficiency is not sufficient in the middle of the sequential reproduction.

(発明の目的) 本発明の目的は、再生画像の画質を連続的に向上するこ
とができかつ高い符号化効率が得られ、さらに、最終的
に原画像と同一の画像を再生することができるブロック
分割順次再生符号化方式を提供することにある。
(Object of the Invention) An object of the present invention is to be able to continuously improve the image quality of a reproduced image, obtain a high coding efficiency, and finally reproduce the same image as the original image. It is to provide a block-division sequential reproduction coding method.

(発明の構成) 本発明の目的を達成するために、GBTC方式にPCS方式を
組み込むように構成するとともに、GBTC方式で符号化さ
れる基準レベルと差分値と分解能成分とにより再生され
る再生画像と前記原画像との各画素毎の差分である原画
差分値を作成する原画差分作成手段と、該原画差分値を
ビットプレーンに分解し各ビットプレーンを前記初期符
号化手段と、前記モード1の符号化手段及び前記モード
2の符号化手段を用いて符号化する符号化手段を備える
ように構成されている。
(Structure of the invention) In order to achieve the object of the present invention, a PCS system is incorporated into the GBTC system, and a reproduced image reproduced by the reference level, the difference value, and the resolution component encoded by the GBTC system. An original image difference creating means for creating an original image difference value which is a difference for each pixel between the original image and the original image, the original image difference value is decomposed into bit planes, and each bit plane is subjected to the initial encoding means and the mode 1 It is configured to include an encoding unit and an encoding unit that performs encoding using the mode 2 encoding unit.

(実施例) 以下、図面を用いて、本発明を説明する。(Example) Hereinafter, the present invention will be described with reference to the drawings.

第10図は本発明の目的を達成する符号化装置のブロック
図を示す。以下、第6図と異なる点のみを説明する。11
aは基準レベルを符号化する順次再生符号化回路を、12a
は分解能成分(φ1)を符号化する順次再生符号化
回路を示している。26は画像再生回路、27は差分画像生
成差回路、28はdij符号化器、29はバッファメモリを示
し、これらの回路は、本発明の目的を達成するための本
発明による主要構成に含まれる。
FIG. 10 shows a block diagram of an encoding device which achieves the object of the present invention. Only the points different from FIG. 6 will be described below. 11
a is a sequential reproduction encoding circuit that encodes the reference level,
Shows a sequential reproduction encoding circuit for encoding resolution components (φ 1 , φ 2 ). 26 is an image reproduction circuit, 27 is a difference image generation difference circuit, 28 is a dij encoder, 29 is a buffer memory, and these circuits are included in the main configuration according to the present invention for achieving the object of the present invention. Be done.

順次再生符号化回路11aは基準レベルLAの上位n(n=
自然数)ビットを取って2n階調に量子化した上で、n枚
のビットプレーンに分解し、前述したPCS符号器により
符号化処理を行う。また、順次再生符号化方式回路12a
は分解能成分(φ1)を前述したPCS符号器により
符号化処理を行う。
The sequential reproduction encoding circuit 11a uses the upper n (n = n) of the reference level L A.
(Natural number) bits are taken and quantized into 2 n gradations, then decomposed into n bit planes, and the above-mentioned PCS encoder performs the encoding processing. In addition, the sequential reproduction coding system circuit 12a
Encodes the resolution components (φ 1 , φ 2 ) by the PCS encoder described above.

従来のGBTC方式では、基準レベルはDPCM方式を、分解能
成分(φ1)はMMR方式で符号化を行っていた。従
って、DPCM方式、MMR方式は順次再生の特性を持ってい
ないために、画像再生の画質を連続的に向上させること
ができない。
In the conventional GBTC method, the reference level is encoded by the DPCM method, and the resolution components (φ 1 , φ 2 ) are encoded by the MMR method. Therefore, since the DPCM system and the MMR system do not have the characteristic of sequential reproduction, the image quality of image reproduction cannot be continuously improved.

しかし、本発明に従って、DPCM方式、MMR方式の代わり
に順次再生符号化方式(PCS方式)を組み入れることに
よって順次再生の画像表示段数を多くすることができ、
上記欠点を改善することができる。
However, according to the present invention, it is possible to increase the number of image display stages for sequential reproduction by incorporating a sequential reproduction encoding method (PCS method) instead of the DPCM method and MMR method.
The above drawbacks can be remedied.

また、PCS方式はDPCM方式,MMR方式より符号化効率が高
いため、符号化効率の改善も可能となる。
Moreover, since the PCS method has higher coding efficiency than the DPCM method and the MMR method, the coding efficiency can be improved.

次に、この実施例の動作を説明する。Next, the operation of this embodiment will be described.

画像再生回路26は基準レベル発生回路9,差分値発生回路
10,φバッファメモリ18,φバッファメモリ19より信
号を受信し、それらより再生画像を生成する。差分画像
生成回路27はバッファメモリ2に蓄積されている原画像
と画像再生回路26で再生された画像との画素ごとの差分
をとり、差分画像dijを生成する。差分画像dijの各画素
Mビットとその正負を示す1ビットのフラグビットで表
現される。正値の場合にはフラグビットは“0"、そうで
ない場合には“1"となる。そのフラグビットをMSB(Mos
t Significant Bit)に割り当て差分画像のdijは(M+
1)ビットの画素で構成されているようにみなす。
The image reproduction circuit 26 includes a reference level generation circuit 9 and a difference value generation circuit.
Signals are received from the 10, φ 1 buffer memory 18 and the φ 2 buffer memory 19, and reproduced images are generated from them. The difference image generation circuit 27 calculates the difference for each pixel between the original image stored in the buffer memory 2 and the image reproduced by the image reproduction circuit 26, and generates a difference image dij . It is represented by M bits of each pixel of the difference image dij and 1 bit flag bit indicating the positive / negative of each pixel. If it is a positive value, the flag bit is "0", otherwise it is "1". The flag bit is MSB (Mos
t Significant Bit) and the difference image dij is (M +
1) Considered as being composed of bit pixels.

dij符号化器28はdij信号の符号化を行う。その符号化情
報はバッファメモリ29へ転送される。バッファメモリ29
に蓄積されたdij符号化情報は信号合成器20へ転送され
る。順次再生符号化回路11aは基準レベルLAの上位n
(n=自然数)ビットを取って2n階調に量子化した上
で、n枚のビットプレーンに分解し、前述したPCS符号
器により符号化処理を行う。また、φ符号化をする順次
再生符号化回路12a、差分値符号化回路15及びdij符号化
器28は前述したPCS符号化器を使用する。
The d ij encoder 28 encodes the d ij signal. The encoded information is transferred to the buffer memory 29. Buffer memory 29
The d ij coded information accumulated in (1) is transferred to the signal combiner 20. The sequential reproduction encoding circuit 11a is the upper n of the reference level L A.
(N = natural number) bits are taken and quantized into 2 n gradations, then decomposed into n bit planes, and the above-mentioned PCS encoder performs the encoding processing. The PCS encoder described above is used as the sequential reproduction encoding circuit 12a, the difference value encoding circuit 15, and the dij encoder 28 for φ encoding.

上述のように本発明は、GBTC方式の利点であるブロック
ごとに3成分に分解して高効率の符号化と、PCS方式の
利点である順次再生の機能とをそのまま生かし、かつ原
画像と同一の画像情報も高効率の符号化を行うことがで
きる。
As described above, the present invention makes the best use of the high-efficiency encoding by dividing each block into three components, which is an advantage of the GBTC method, and the sequential reproduction function, which is an advantage of the PCS method, and is identical to the original image. The image information of can also be encoded with high efficiency.

第11図は本発明BSPC方式による復号化器のブロック図を
示す。以下、第7図と異なる点のみを説明する。38はd
ij復号化回路、39は演算回路IIを示す。
FIG. 11 shows a block diagram of a decoder according to the BSPC system of the present invention. Only the points different from FIG. 7 will be described below. 38 is d
An ij decoding circuit, 39 is an arithmetic circuit II.

LA1,LDの復号の後にdij復号化回路38にてdij
号が再生され、演算回路II 39へ転送される。演算回路I
I 39はまずdij信号より以下の演算を行う。
After the decoding of L A , φ 1 , L D , φ 2 , the dij signal is reproduced by the dij decoding circuit 38 and transferred to the arithmetic circuit II 39. Arithmetic circuit I
I 39 first calculates the following from the dij signal.

という(M+1)ビットで表現されている。(aM,…a0
は係数:0または1)MSBのaMはフラグビットであり、 もしaM=0ならば dij≡aM-12M-1+…+a121+a0 におきかえる。
Is represented by (M + 1) bits. (A M , ... a 0
Is a coefficient: 0 or 1) a M of MSB is a flag bit, and if a M = 0, d ij ≡a M-1 2 M-1 + ... + a 1 2 1 + a 0 .

もしaM=1ならば dij=−(aM-12M-1+…+a121+a0) とする。この演算を行った後、演算回路II 39は画像メ
モリ回路34の各画素値を読み、その画素値に対応するア
ドレスのdij値を加え、画像メモリ34の対応するアドレ
スへ書きこむ。この処理を全て終了すると画像メモリ34
には原画と全く同一の画像が再生されることとなる。
If a M = 1 then d ij =-(a M-1 2 M-1 + ... + a 1 2 1 + a 0 ). After performing this calculation, the calculation circuit II 39 reads each pixel value of the image memory circuit 34, adds the dij value of the address corresponding to the pixel value, and writes it to the corresponding address of the image memory 34. When this process is completed, the image memory 34
In this case, an image exactly the same as the original image will be reproduced.

基準レベル復号化回路31,分解能成分φ復合化回路33,d
ij復号化回路38は前述のPCS符号化方式を使用する。
Reference level decoding circuit 31, resolution component φ decoding circuit 33, d
The ij decoding circuit 38 uses the above-mentioned PCS coding method.

本発明は、装置化を容易にする観点から基準レベルを2n
階調(nは自然数)とし、これをn枚のビットプレーン
に分解する。また、分解能成分もそれとは独立にmビッ
トで表わし、それをm枚のビットプレーンとして表現す
る。更に画素を抽出するΔX又はΔYの初期値として2w
(wは自然数)とすることにより2進表示となり、ディ
ジタル処理が容易となることは明らかである。
The present invention sets the reference level to 2 n from the viewpoint of facilitating deviceization.
Gradation (n is a natural number) is set, and this is decomposed into n bit planes. The resolution component is also represented by m bits independently of that, and is represented as m bit planes. 2 w as the initial value of ΔX or ΔY for further extracting pixels
It is clear that the use of (w is a natural number) provides a binary display, facilitating digital processing.

(発明の効果) 以上説明したように、本発明は従来のGBTC方式とPCS方
式との利点をそれぞれ組み合わせ、かつ原画像と再生画
像との原画差分値作成回路を設けることにより順次再生
が可能で、かつ高効率で原画像を再生することが可能と
なり、その効果は極めて大である。
(Effects of the Invention) As described above, the present invention enables sequential reproduction by combining the advantages of the conventional GBTC system and the PCS system and providing an original image difference value creation circuit for an original image and a reproduced image. In addition, the original image can be reproduced with high efficiency, and the effect is extremely large.

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

第1図,第2図,第3図,第4図,第5図(a)
(b),第6図及び第7図は従来のGBTC方式を説明する
ための概略図、第8図及び第9図は従来のPCS方式を説
明するための概略図、第10図は本発明によるBSPC方式の
符号化器のブロック図、第11図は本発明によるBSPC方式
の復号化器のブロック図である。
Figure 1, Figure 2, Figure 3, Figure 4, Figure 5 (a)
(B), FIGS. 6 and 7 are schematic diagrams for explaining the conventional GBTC system, FIGS. 8 and 9 are schematic diagrams for explaining the conventional PCS system, and FIG. 10 is the present invention. FIG. 11 is a block diagram of a BSPC encoder according to the present invention, and FIG. 11 is a block diagram of a BSPC decoder according to the present invention.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 遠藤 俊明 東京都新宿区西新宿2丁目3番2号 国際 電信電話株式会社内 (72)発明者 山崎 泰弘 東京都新宿区西新宿2丁目3番2号 国際 電信電話株式会社内 (72)発明者 加藤 久晴 東京都新宿区西新宿2丁目3番2号 国際 電信電話株式会社内 (72)発明者 越智 宏 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 (72)発明者 小倉 健司 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 (72)発明者 小林 誠 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 (56)参考文献 特開 昭62−25575(JP,A) 特開 昭59−153378(JP,A) ─────────────────────────────────────────────────── ─── Continued front page (72) Inventor Toshiaki Endo 2-3-2 Nishishinjuku, Shinjuku-ku, Tokyo International Telegraph and Telephone Corporation (72) Inventor Yasuhiro Yamazaki 2-3-2 Nishishinjuku, Shinjuku-ku, Tokyo No. International Telegraph and Telephone Corporation (72) Inventor Hisaharu Kato 2-3-2 Nishishinjuku, Shinjuku-ku, Tokyo International Telegraph and Telephone Corporation (72) Inventor Hiroshi Ochi 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Nippon Telegraph and Telephone Corporation (72) Inventor Kenji Ogura 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corporation (72) Makoto Kobayashi 1-1-6 Uchiyuki-cho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corporation (56) References JP-A-62-25575 (JP, A) JP-A-59-153378 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原画像をそれぞれが複数の画素からなる複
数のブロックに分割して得られる各ブロック毎に該ブロ
ック内の前記複数の画素の階調レベルを代表させる代表
階調レベルを設定して得られた複数の代表階調レベルか
ら一つの基準レベルを1ブロックラインの各ブロックの
値ごとに順次バイナリコードに変換する基準レベル符号
化回路と、 前記複数のブロックのそれぞれの前記複数の代表階調レ
ベルの分布範囲を示す差分値を作成し符号化する差分値
符号化回路と、 前記それぞれのブロック内の各画素が前記代表階調レベ
ルのいずれに相当するかを示す分解能成分を符号化して
冗長度を抑圧する符号化回路と を備えて多階調適応形ブロック符号化を行うとともに、 前記基準レベルと前記差分値と前記分解能成分とにより
再生される再生画像と前記原画像との各画素毎の差分で
ある原画差分値を作成する原画差分作成手段と、該原画
差分値をビットプレーンに分解し、各ビットプレンーン
を初期符号化手段,モード1の符号化手段及びモード2
の符号化手段を用いて符号化する符号化手段をさらに備
え、また、 前記基準レベルと前記分解能成分とおのおのが、さら
に、 2n階層で表現された多階調ファクシミリ画像信号をn桁
にそれぞれ対応するように分解してn枚の2進化ビット
プレーンを作成する手段と、 該n枚の2進化ビットプレートのうち21階層に対応する
第1のビットプレーンと22階層に対応する第2のビット
プレーンと以下同様に2n階層に対応する第nのビットプ
レーンまでを順に指定するビットプレーン指定手段と、 その指定された各ビットプレーンについて、先ず、ビッ
トプレーンを構成する画素をΔYライン毎に指定するラ
イン上でΔX画素おきに抽出しに抽出画素を符号化して
最も粗い抽出周期に相当する解像度の符号化出力を取り
出す初期符号化手段と、 前記第1のビットプレーンについて、該初期符号化され
た抽出画素のうち最小の矩形の頂点に位置する4つの画
素を参照して該4つの参照画素に囲まれた中心に位置す
る画素を符号化するモード1の符号化をし、さらに前記
初期符号化と該モード1の符号化によって符号化された
画素のうち最小の菱形の頂点に位置する4つの参照画素
を参照してその中心に位置する画素を符号化するモード
2の符号化をして前記最低解像度の2倍の解像度を有す
る符号化出力をとり出すとともに、この後は前記ΔXの
値と前記ΔYの値をそれぞれ2分の1にして前記モード
1の符号化および前記モード2の符号化をし前記最低解
像度の4倍の解像度を有する符号化出力をとり出し、以
後さらに該抽出距離ΔX,ΔYがともに2以下になりすべ
ての画像を符号化するまで繰り返して符号化する符号化
手段とを備えた順次再生符号化回路により符号化される
ように構成されたブロック分割順次再生符号化方式。
1. A representative gradation level representing a gradation level of the plurality of pixels in the block is set for each block obtained by dividing an original image into a plurality of blocks each of which includes a plurality of pixels. A reference level encoding circuit that sequentially converts one reference level from the obtained plurality of representative gradation levels into a binary code for each value of each block of one block line; and the plurality of representatives of each of the plurality of blocks. A difference value encoding circuit that creates and encodes a difference value indicating a gradation level distribution range, and encodes a resolution component indicating which of the representative gradation levels each pixel in each of the blocks corresponds to. And a multi-gradation adaptive block coding by using a coding circuit for suppressing redundancy, and a replay reproduced by the reference level, the difference value and the resolution component. An original image difference creating means for creating an original image difference value which is a difference for each pixel between a raw image and the original image, an original image difference value is decomposed into bit planes, and each bit plane is initialized by an encoding means for mode 1 code. Means and mode 2
Further comprising an encoding means for encoding using the encoding means, and each of the reference level and the resolution component further has a multi-gradation facsimile image signal expressed in 2 n layers in n digits. A means for disassembling correspondingly to create n binary coded bit planes, a first bit plane corresponding to 2 1 layers of the n binary coded bit plates and a second bit plane corresponding to 2 2 levels. The bit plane designating means for sequentially designating up to the n-th bit plane corresponding to the 2 n layer and the bit planes of the designated bit planes for each ΔY line. Initial coding means for extracting every ΔX pixels on the line designated by, coding the extracted pixels, and extracting a coded output having a resolution corresponding to the coarsest extraction period; For one bit plane, a mode in which the pixel located at the center surrounded by the four reference pixels is coded by referring to the four pixels located at the vertices of the smallest rectangle among the initially coded extracted pixels. 1 and further, referring to the four reference pixels located at the apex of the smallest rhombus among the pixels coded by the initial coding and the coding of the mode 1, the pixel located at the center is selected. Encoding mode 2 encoding is performed to obtain an encoded output having a resolution twice the minimum resolution, and thereafter, the value of ΔX and the value of ΔY are each halved. Mode 1 coding and mode 2 coding are performed to obtain a coded output having a resolution four times the minimum resolution, and thereafter the extraction distances ΔX and ΔY are both 2 or less, and all images are coded. Until Ri returns configured block divided sequentially reproduced coding method as encoded by sequentially reproducing the encoding circuit and a coding means for coding.
JP26990187A 1987-10-26 1987-10-26 Block division sequential reproduction coding method Expired - Lifetime JPH07112243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26990187A JPH07112243B2 (en) 1987-10-26 1987-10-26 Block division sequential reproduction coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26990187A JPH07112243B2 (en) 1987-10-26 1987-10-26 Block division sequential reproduction coding method

Publications (2)

Publication Number Publication Date
JPH01112882A JPH01112882A (en) 1989-05-01
JPH07112243B2 true JPH07112243B2 (en) 1995-11-29

Family

ID=17478792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26990187A Expired - Lifetime JPH07112243B2 (en) 1987-10-26 1987-10-26 Block division sequential reproduction coding method

Country Status (1)

Country Link
JP (1) JPH07112243B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3287708B2 (en) * 1994-05-30 2002-06-04 株式会社リコー Image processing device
JP3287707B2 (en) * 1994-10-11 2002-06-04 株式会社リコー Image processing apparatus and image processing method
JPH09275498A (en) * 1996-04-05 1997-10-21 Matsushita Electric Ind Co Ltd Image compressing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59153378A (en) * 1983-02-21 1984-09-01 Sony Corp Picture signal forming method
JPS6225575A (en) * 1985-07-26 1987-02-03 Kokusai Denshin Denwa Co Ltd <Kdd> Encoding system for gradation facsimile picture signal

Also Published As

Publication number Publication date
JPH01112882A (en) 1989-05-01

Similar Documents

Publication Publication Date Title
JP3464075B2 (en) System and method for compression and decompression of digital images
JPH05211646A (en) Video compressing method
US6614939B1 (en) Image compression apparatus and decoding apparatus suited to lossless image compression
US6292591B1 (en) Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
JPH1032837A (en) Image processing device and method and image encoding device and method
JP2005323326A (en) Image encoding apparatus, image decoding apparatus, control method thereof, computer program and computer-readable storage medium
JP3794749B2 (en) Video signal encoding device
KR100537123B1 (en) Picture signal coding device, picture signal coding method, picture signal decoding device, picture signal decoding method, and recording medium
US6192076B1 (en) Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
KR100574732B1 (en) Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
US7450769B2 (en) Image processing method for facilitating data transmission
JPH07112243B2 (en) Block division sequential reproduction coding method
JP3844030B2 (en) Image signal encoding apparatus, image signal encoding method, image signal decoding apparatus, and image signal decoding method
JP3320282B2 (en) Multi-value image processing device
JP2550021B2 (en) Signal transmission and reception method using data compression
JP2802629B2 (en) Image data compression device and image processing device
JP2537246B2 (en) Image coding method
JP4011580B2 (en) Image data transmission system
JP3320281B2 (en) Multi-value image processing device
JP2598410B2 (en) Encoding device
JP3085017B2 (en) Encoding device and decoding device
JPH1070730A (en) Image encoding and decoding device, and recording medium stored with their control program
KR100567710B1 (en) Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
JP3263218B2 (en) Image information data compression and playback device
EP1170956A2 (en) Method and system for compressing motion image information