JPS6052168A - Adaptive forecasting decoder - Google Patents

Adaptive forecasting decoder

Info

Publication number
JPS6052168A
JPS6052168A JP16077583A JP16077583A JPS6052168A JP S6052168 A JPS6052168 A JP S6052168A JP 16077583 A JP16077583 A JP 16077583A JP 16077583 A JP16077583 A JP 16077583A JP S6052168 A JPS6052168 A JP S6052168A
Authority
JP
Japan
Prior art keywords
prediction error
signal
error signal
pixel
prediction
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
JP16077583A
Other languages
Japanese (ja)
Inventor
Tooru Usubuchi
臼渕 徹
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP16077583A priority Critical patent/JPS6052168A/en
Priority to US06/646,539 priority patent/US4633325A/en
Publication of JPS6052168A publication Critical patent/JPS6052168A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve forecasting effect and also to eliminate the need for a mode code by selecting a forecast value obtained from plural forecasting devices from the degree of failure in the forecasting of a forecast error signal after scanning. CONSTITUTION:Exclusive OR circuits 4a1-4an having a forecasting error signal Y from a decoder 41 and forecasting values P1-Pn from forecasting devices 3a1 -3an give the output of decoding signals X1-Xn. Then a selector 6 selects a decoding signal X from the decoding signals X1-Xn according to the selection signal from a forecast selecting circuit 5. An exclusive OR circuit 42 produce forecast error signals Y1-Yn from the decoding signal X and inputs them to a forecast selecting circuit 5. Then the selection circuit 5 selects a forecast error signal having the least failure in the forecast among picture elements after scanning already and outputs it as a selection signal. Thus, the forecasting effect is inproved and also the mode code is made unnecessary.

Description

【発明の詳細な説明】 本発明は、新聞等に使用されている白黒2値の画像信号
で中間調を表わす網点写真を予測符号化し、伝送された
符号を復号する際に用いられる適応予測復号化装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides predictive coding of halftone photographs representing halftones in black and white binary image signals used in newspapers, etc., and an adaptive prediction method used when decoding the transmitted code. The present invention relates to a decoding device.

従来この種の適応予測符号化方式としては、例えば特開
昭55−41080号公報に示されている予測手段のよ
うに、一定のブロック単位で複数の予測誤差信号の予測
はずれの画素数を比較し、予測 ゛はずれの個数が少な
い予測誤差信号を選択する方法がある。この方法はブロ
ックの途中で予測手段を変えた方が良い場合には予測効
果が十分でなくしかもどの予測手段が選ばれたかを示す
モード符号が必要なだめ、データ圧縮率が十分とれない
という欠点があった。
Conventionally, this type of adaptive predictive coding method compares the number of mispredicted pixels of a plurality of prediction error signals in a certain block unit, such as the prediction means shown in Japanese Patent Application Laid-Open No. 55-41080. However, there is a method of selecting a prediction error signal with a small number of prediction errors. This method has the disadvantage that the prediction effect is not sufficient when it is better to change the prediction method in the middle of a block, and a mode code is required to indicate which prediction method has been selected, resulting in insufficient data compression. there were.

本発明の目的は、上述の従来の予測手段の欠点を除去す
ることであり、予測効果の高いしかもモード符号のいら
ない適応予測符号化方式に用いられる復号化装置を提供
することにある。
An object of the present invention is to eliminate the drawbacks of the conventional prediction means described above, and to provide a decoding device for use in an adaptive predictive coding method that has a high prediction effect and does not require a mode code.

本発明の予測復号化装置は、網点写真上の画素Xの標本
値Xに対する複数個の予測値P1wP2y・・・。
The predictive decoding device of the present invention calculates a plurality of predicted values P1wP2y, . . . for a sample value X of a pixel X on a halftone photograph.

pnを発生し、前記複数個の予測値P1.P2.・・・
、Pnと標本値Xよシ得られた予測誤差信号Y□、Y2
.・・・。
pn, and generates the plurality of predicted values P1.pn. P2. ...
, Pn and the sample value X, the obtained prediction error signal Y□, Y2
.. ....

Ynよ#)1つの予測誤差信号Yを選択し符号化する適
応予測符号化装置で得られた符号を復号化する適応予測
復号化装置において、前記予測誤差信号Yを復号化する
手段と、前記予測誤差信号Yと複数の予測値P1,12
y・−・tPnより複数の復号信号X1゜X3.・・・
、Xnを得る手段と、前記画素Xの近傍画素と画像の2
次元網目周期パターン上で、前記画素Xと同一位相関係
にある複数の画素Yly)’fe・・・。
In an adaptive predictive decoding device that decodes a code obtained by an adaptive predictive coding device that selects and encodes one prediction error signal Y, means for decoding the prediction error signal Y; Prediction error signal Y and multiple predicted values P1, 12
A plurality of decoded signals X1°X3. ...
, Xn, neighboring pixels of the pixel X and 2 of the image
A plurality of pixels Yly)'fe... having the same phase relationship with the pixel X on the dimensional mesh periodic pattern.

ymおよび前記複数画素Y1tY2*・・・、 ymの
近傍画素の標本値を用いて前記複数個の予測値P1eP
l+・・・。
ym and the plurality of pixels Y1tY2*..., the plurality of predicted values P1eP using sample values of neighboring pixels of ym
l+...

Pnを発生する手段と、前記標本値Xと複数個の予測値
P1+ Pt、”・t Pnよシ予測誤差信号Y、、 
Y2. ・。
means for generating Pn, and a means for generating the sample value
Y2.・.

Ynを得る手段と、すでに走査ずみの画素の予測誤差信
号Y、、Y2.・・・、Ynより前記複数個の予測値p
HPat・・・、Pnの予測はずれの程度を計算する手
段と、前記計算結果に基づいて、前記複数個の復号信号
X1.X2.・・・、xnより復号画素Xの標本値Xを
選択する手段とから構成されている。
means for obtaining Yn, and prediction error signals Y, , Y2 . ..., the plurality of predicted values p from Yn
HPat..., Pn, and calculates the degree of prediction error of the plurality of decoded signals X1. X2. . . , means for selecting the sample value X of the decoded pixel X from xn.

本発明の適応予測復号化装置は、符号化装置側で標本値
Xおよび複数個の予測値PIvP2*・・・、Pnよシ
得られる予測誤差信号Y、、Y2.・・・、Ynからす
でに走査ずみの画素の予測値PlIP2t・・・、Pn
の予測はずれの程度を比較し、予測はずれの少ない予測
誤差信号Yを選択するので、予測誤差信号Yに含まれる
予測はずれの個数の少なくしかもどの予測値が選択され
たかを示すモード符号がいらないので全体として符号化
後の情報量を減少させ、国際標準のMH符号化にも適応
させるという作用効果を有するものである。
In the adaptive predictive decoding device of the present invention, prediction error signals Y, Y2 . ..., predicted value PlIP2t of the pixel already scanned from Yn..., Pn
Since the prediction error signal Y with the least prediction error is selected by comparing the degree of prediction error, the number of prediction errors included in the prediction error signal Y is small, and there is no need for a mode code to indicate which predicted value has been selected. This has the effect of reducing the amount of information after encoding as a whole and making it compatible with international standard MH encoding.

次に図面を参照して本発明の詳細な説明する。Next, the present invention will be described in detail with reference to the drawings.

第1図は本発明の適応予測復号化装置に用いられる予測
器の参照画素即ち予測信号を作シ出すために用いられる
画素および予測誤差信号の予測はずれの比較に用いられ
る画素の一例を表わす図である。なお、第1図は45°
の斜交網点画像を対象としている。第1図において距P
ittlことではD−10)は網点の周期を表わすもの
であシ、画素Xの標本値Xと同一位相関係(画像の2次
元網目周期パターン上で)にある画素は、yl、y2.
・・・。
FIG. 1 is a diagram showing an example of reference pixels of a predictor used in the adaptive predictive decoding device of the present invention, that is, pixels used to generate a prediction signal and pixels used to compare prediction errors of prediction error signals. It is. In addition, Figure 1 is 45°
The target is a diagonal halftone image. In Figure 1, the distance P
Ittl (more specifically, D-10) represents the period of the halftone dot, and the pixels that have the same phase relationship (on the two-dimensional mesh periodic pattern of the image) with the sample value X of the pixel X are yl, y2 .
....

y、である。図において、画素Xの近傍画素a、 b、
 c。
It is y. In the figure, neighboring pixels a, b,
c.

d+ fy gの標本値A、 B、 C,D、 F、 
Gと、網点の周期だけ主走査方向に離れた画素y1の標
本値Y、およびそのいられる参照画素の一例を示すもの
である。同様に画素Xの近傍画素a、b、c、d、fy
 gの標本値A、B、C,D、F、Gと、網点の周期だ
け斜め方向に離れた画素y2の標本値Y2およびその近
傍面れる参照画素の一例を示すものであり、画素Xの標
本値Xと同一位相関係にある画素y3yY41・・・。
Sample values of d+ fy g A, B, C, D, F,
G, a sample value Y of a pixel y1 separated in the main scanning direction by the period of the halftone dot, and an example of a reference pixel included therein. Similarly, neighboring pixels a, b, c, d, fy of pixel X
Sample values A, B, C, D, F, G of g, sample value Y2 of pixel y2 diagonally separated by the period of the halftone dot, and an example of a reference pixel in the vicinity thereof are shown. A pixel y3yY41 that has the same phase relationship as the sample value X of .

ymの標本値Y、、Y、、・・・9 Ymを使って第2
図囚の予測器3a3に用いられる参照画素の一例が得ら
れる。
Sample value Y of ym,,Y,...9 Using Ym, the second
An example of a reference pixel used in the picture predictor 3a3 is obtained.

まだ画素’i、12.13y 14.+5. t、、 
Icy +st Illsjlog iII t IH
t sst ft杓 11!+ ’+6+ ’l?* 
’lll5 jloツat bt Ct dy ft 
gの予測誤差信号が第2図(4)の予測選択回路5に用
いられる。
Still pixel 'i, 12.13y 14. +5. t...
Icy +st Illsjlog iII t IH
t sst ft ladle 11! +'+6+'l? *
'll5 jlots at bt Ct dy ft
The prediction error signal of g is used in the prediction selection circuit 5 of FIG. 2(4).

第2図囚は、本発明の復号化装置で復号される符号を作
シ出す符号化装置の第1の実施例を示すブロック図であ
シ、第1図に示した参照画素を用いた場合の構成例であ
る。図において、端子1には標本化され、2値化された
画像信号が印加される。ある時間における端子1に印加
された標本値をXとすると、この標本値Xは、ラインメ
モリ2a。
FIG. 2 is a block diagram showing a first embodiment of an encoding device that generates a code to be decoded by the decoding device of the present invention, and when the reference pixels shown in FIG. 1 are used. This is a configuration example. In the figure, a sampled and binarized image signal is applied to terminal 1. Assuming that the sample value applied to terminal 1 at a certain time is X, this sample value X is stored in the line memory 2a.

予測器3a1.3a2.・・Banに供給される。ライ
ンメモリ2aは信号を約1ライン遅延させるもので、よ
シ正確には1ラインの遅延量をH(= 5oooサンプ
ル)とすればその出力端子には(H−6)−7994サ
ンプル遅延した信号が得られる。またラインメモ!J 
2b、、 2b2?・・・、 2blは、それぞれ入力
信号を1ライン遅延するものでそれぞれの出力端子には
、ラインメモリ2aの出力端子に比べて1゜2、・・・
、lライン遅延した信号が得られる。予測稜述するよう
に参照画素として第1図に示された組み合わせを用いて
、それぞれ予測値P、、P、、−・・。
Predictor 3a1.3a2. ...Supplied to Ban. The line memory 2a delays the signal by about one line, and to be more precise, if the delay amount for one line is H (= 5ooo samples), the output terminal will have a signal delayed by (H-6)-7994 samples. is obtained. Another line memo! J
2b,, 2b2? ..., 2bl each delays the input signal by one line, and each output terminal has a delay of 1°2, . . . compared to the output terminal of the line memory 2a.
, a signal delayed by l lines is obtained. As described above, using the combinations shown in FIG. 1 as reference pixels, the predicted values P, , P, . . . are obtained, respectively.

Pnを出力する。予測値PLtP2.・・・tanは次
に排他的論理和回路4al、 4a2.・・・、 4a
Hで標本値Xと排他的論理和がとられ、予測誤差信号Y
、、Y、、・・・。
Output Pn. Predicted value PLtP2. . . . tan is then connected to exclusive OR circuits 4al, 4a2 . ..., 4a
An exclusive OR is taken with the sample value X at H, and the prediction error signal Y
,,Y,,...

Ynが得られ、予測選択回路5およびセレクタ6に入力
される。予測選択回路5は、第1図に一例を示しだよう
にすでに走査ずみの画素a、b、c。
Yn is obtained and input to the prediction selection circuit 5 and selector 6. The prediction selection circuit 5 selects pixels a, b, and c that have already been scanned, as shown in an example in FIG.

dy fy gt j5〜itoの予測誤差信号Yl 
t Y2 +・・・。
dy fy gt j5~ito prediction error signal Yl
t Y2 +...

Y、中に含まれる予測はずれの個数を比較し、すでに走
査ずみの画素の中で最も予測はずれの少ない予測誤差信
号(至)を選び、現画素の予測誤差信号としてYを選択
する選択信号(ロ)を出力する。セレクタ6では選択信
号Mに従い画素単位で予測誤差信号Yが得られる。予測
誤差信号Yは次に符号器7(例えばランレングス符号器
等の従来から使用されている符号器)で符号化され、出
力端子8よシ符号Cとして出力される。
A selection signal () that compares the number of prediction errors included in Y and selects the prediction error signal (maximum) with the least prediction error among the pixels that have already been scanned, and selects Y as the prediction error signal for the current pixel. b) is output. The selector 6 obtains a prediction error signal Y for each pixel according to the selection signal M. The prediction error signal Y is then encoded by an encoder 7 (eg, a conventionally used encoder such as a run-length encoder) and outputted as a code C at an output terminal 8.

また符号器7の符号化において、予測誤差信号の他に予
測状態信号を併せて符号化する場合は、第2図(B)に
示された本発明の741J2の実施例において達成でき
る。
Further, in the encoding of the encoder 7, when the prediction state signal is encoded in addition to the prediction error signal, this can be achieved by the embodiment 741J2 of the present invention shown in FIG. 2(B).

すなわち、前記予測状態信号は参照画素パターンのそれ
ぞれに対して予測的中確率を予め統計的に調べて、予測
的中確率の大小に対して予測誤差信号をグループ分けす
るために用いられる信号であシ、例えば予測状態を2状
態とする場合は予測信号SI*S2t・・−、Snは、
予測値PI + P2t ”’ t Pflと同様にシ
フトレジスタおよびROMより構成される予測器3a’
l 、 3a’z *・・・、33′。よシ出力される
That is, the prediction state signal is a signal used to statistically examine the predicted hit probability for each reference pixel pattern in advance and to group the prediction error signals according to the magnitude of the predicted hit probability. For example, when the prediction state is two states, the prediction signal SI*S2t...-, Sn is
Predicted value PI + P2t "' t Predictor 3a' composed of a shift register and ROM similarly to Pfl
l, 3a'z *..., 33'. It will be outputted.

セレクタ6′は予測状態信号Sを予測誤差信号Yと同様
に選択し、選択された予測状態信号Sは符号7′に入力
される。符号器7′では、予測状態信号Sを用いて予測
誤差信号を例えばランレングス符号化する。このような
予測誤差信号と予測状態信号を用いたランレングス符号
化法については、特開昭55−41080号公報に記載
されている。
The selector 6' selects the prediction state signal S in the same manner as the prediction error signal Y, and the selected prediction state signal S is inputted to the reference numeral 7'. The encoder 7' uses the prediction state signal S to perform run-length encoding on the prediction error signal, for example. A run-length encoding method using such a prediction error signal and a prediction state signal is described in Japanese Patent Laid-Open No. 55-41080.

第3図(4)は、第2図■に用いられる予測器3alの
実施例の一例を示すブロック図である。端子1゜および
11には現走査線および前走査線即ち第2図(4)のラ
インメモリ2aの出力信号が印加される。
FIG. 3(4) is a block diagram showing an example of the embodiment of the predictor 3al used in FIG. The current scanning line and the previous scanning line, that is, the output signals of the line memory 2a shown in FIG. 2(4) are applied to terminals 1° and 11.

端子10に印加された標本値をXとするとシフトレジス
タ12a 、 12bおよび12cで1〜2および9〜
11サンプル時刻遅延され、第1図における画素” g
t hl、ytおよびg+の標本値Ft Gt Hl 
eYlおよびG1が得られる。端子11には、標本値X
が(H−6)=7994サンプル時刻遅延した信号が印
加されるがシフトレジスタ12dで更に4fンプル時刻
遅延される。シフトレジスタ12e 、 12fおよび
12gでは、1〜4および11〜13サンプル時刻遅延
され、第1図における画素d、c、b。
Letting the sample value applied to the terminal 10 be
11 samples time delayed, pixel "g" in FIG.
Sample values of t hl, yt and g+ Ft Gt Hl
eYl and G1 are obtained. Terminal 11 has the sample value
A signal delayed by (H-6)=7994 sample times is applied, but is further delayed by 4f sample times in the shift register 12d. In shift registers 12e, 12f and 12g, pixels d, c, b in FIG. 1 are delayed by 1-4 and 11-13 samples.

a*dlp’lおよびす、の標本値Dg Cy J A
+ DI+C8およびB、が得られる。このようにして
得られたして印加され、その出力端子14に前述の予測
値P、を発生する。参照画素として画素Xの近傍画素a
t by C9’y ’t gと、網点の周期だけ斜め
方向に離れた画素y2およびその近傍画素b2* c2
yd2t g2y h2を用いた場合の予測器3a2も
シフトレジスタ、ROMを使った回路構成で実施でき、
以下画素Xと同一位相関係にある画素Y3e Y4m・
・・。
Sample value Dg Cy J A of a*dlp'l and
+DI+C8 and B are obtained. The signal thus obtained is applied and produces at its output terminal 14 the aforementioned predicted value P. Neighboring pixel a of pixel X as a reference pixel
t by C9'y 't g, pixel y2 diagonally separated by the period of the halftone dot, and its neighboring pixel b2*c2
The predictor 3a2 when using yd2t g2y h2 can also be implemented with a circuit configuration using a shift register and ROM.
The following pixels Y3e Y4m have the same phase relationship as pixel X.
....

ymを使った場合の予測器3a3.3a4.・・・、3
alも同様な回路構成で実施できる。
Predictor 3a3.3a4. when using ym. ..., 3
al can also be implemented with a similar circuit configuration.

以上予測器の参照画素として、画素Xと同一位相関係に
ある画素を1つだけ選んだ場合の実施例について述べだ
が、参照画素として、画素Xと同一位相関係にある画素
を複数個同時に利用できる。
The above describes an example in which only one pixel having the same phase relationship with pixel X is selected as the reference pixel of the predictor, but it is also possible to simultaneously use multiple pixels having the same phase relationship with pixel X as the reference pixel. .

例えば参照画素として第1図に示されたXの近傍画素b
t Cs gとXと同一位相関係にあるy1*)’2゜
y、およびその近傍画素C1s gl* C2t g2
.C3t gs rの標本値Bt Ct (L Yl、
C1t Glt y、、 c、、 o、。
For example, the neighboring pixel b of X shown in FIG. 1 as a reference pixel
t Cs g and y1*)'2゜y, which have the same phase relationship with X, and its neighboring pixels C1s gl* C2t g2
.. C3t gs r sample value Bt Ct (L Yl,
Clt Glt y,, c,, o,.

Y8.C3,G、を用いた予測器等が含まれることは勿
論である。
Y8. Of course, a predictor using C3, G, etc. is included.

第3図(B)は、第2図(I3)に用いられる予測器3
3′1を発生するROM13’が追加された点であシ、
その他は全く等しい。予測状態信号S1は、予測値P1
と同様にあらかじめ数種類の紙面よシ統言1的にめられ
る。
FIG. 3(B) shows the predictor 3 used in FIG. 2(I3).
The difference is that a ROM13' that generates 3'1 is added.
Everything else is exactly the same. The predicted state signal S1 is the predicted value P1
Similarly, several types of papers are prepared in advance.

第4図は、第2図(4)および第2図(B)に用いられ
る予測選択回路5の一実施例を示す図である。端子20
a1.20a2.・・・、 20anには、それぞれの
予測器の結果よシ得られる予測誤差信号y、 y Y2
 *・・・、Ynが印加される。端子20a、に印加さ
れた予測誤差信号Y、は、ラインメモリーおよびシフト
レジスターより構成される遅延回路21a1で遅延され
、第1図の画素It9+2t +3. +4.11丁、
i蒐89119+およびgの予測誤差信号Yly jl
、yl、 1!t Yls Icy Yle j4yY
l 、 、、、 Yl、 1.、 Ylt 1+’l’
およびY1+gがR,OM。
FIG. 4 is a diagram showing an embodiment of the prediction selection circuit 5 used in FIG. 2(4) and FIG. 2(B). terminal 20
a1.20a2. ..., 20an contains prediction error signals y, y Y2 obtained from the results of each predictor.
*..., Yn is applied. The prediction error signal Y applied to the terminal 20a is delayed by a delay circuit 21a1 composed of a line memory and a shift register, and the prediction error signal Y is applied to the pixels It9+2t+3. +4.11 guns,
Prediction error signal Yly jl of i蒐89119+ and g
, yl, 1! t Yls Icy Yle j4yY
l, ,, Yl, 1. , Ylt 1+'l'
and Y1+g is R, OM.

1ワ +1 加算器、レジスタより構成される予測はずれ測定回路2
2a1に入力される。予測はずれ測定回路22a。
1W +1 Prediction error measurement circuit 2 consisting of adder and register
It is input to 2a1. Prediction deviation measurement circuit 22a.

では、すでに走査ずみの画素i、〜11゜lat b、
 c。
Then, the already scanned pixel i, ~11°lat b,
c.

dy fy gの予測誤差信号Yl、i −Yl+ +
・、Y、。
Prediction error signal Yl, i −Yl+ + of dy fy g
・、Y、.

5 +’1 ユ、 Yl、 il’ 、 Y、、。* Yle d 
l ”+? (+およびYltgyの予測はずれの総和
が数えられる。即ち前画素に対する予測はずれの総和に
Yly 、’ 、 Y1+ +、Q 、 Ylt+7 i 、、、y、、gを加え、Yll、□、、 yl9,
2. y、、 、、、 Ylt9 14を引くことによシ原画素に対する予測はずれの総和
がめられる。同様に予測誤差信号Y2.Y、。
5 +'1 Y, Yl, il', Y,. * Yled
l ''+? (+ and Yltgy's total prediction error is counted. In other words, Yly, ', Y1+ +, Q, Ylt+7 i,,, y,, g is added to the total prediction error for the previous pixel, and Yll, □ ,, yl9,
2. By subtracting y, , , , Ylt9 14, the total sum of prediction errors with respect to the original pixel can be found. Similarly, prediction error signal Y2. Y.

・、 Ynは、遅延回路21a2.21a3. =−、
21anで遅延され、予測はずれ測定回路22a2.2
2a3.・・・。
, Yn are the delay circuits 21a2, 21a3 . =-,
21an and the prediction error measurement circuit 22a2.2
2a3. ....

22anで予測はずれの個数が数えられ、比較回路23
に入力される。比較回路23では、予測誤差信号YI、
Y2.・・・、Ynに対するすでに走査ずみの画素i、
〜110’lat by Cv dy et fy g
の予測はずれの個数が互いに比較され、現画素Xに対す
る予測誤差信号Yを選択する選択信号が端子24よ多出
力される。
22an counts the number of prediction errors, and the comparator circuit 23
is input. In the comparison circuit 23, the prediction error signal YI,
Y2. ..., already scanned pixel i for Yn,
~110'lat by Cv dy et fy g
The numbers of prediction errors are compared with each other, and a selection signal for selecting the prediction error signal Y for the current pixel X is outputted from the terminal 24.

以上本発明の予測選択回路について述べたが、これ等は
本発明に関して何ら制限を付は加えるものではないこと
は勿論である。例えば、予測はずれの程度葡比較する際
に、現画素からの距離に比例した重みを加える等信の方
法が使える事は勿論であシ、また予測はずれの程度を比
較する予測誤差信号の範囲を、すでに走査済であシ、画
素Xの周囲にある網点の大きさに対応した領域の画素に
制限することもできることは勿論である。
Although the prediction selection circuit of the present invention has been described above, it goes without saying that these do not impose any limitations on the present invention. For example, when comparing the degree of prediction error, it is of course possible to use Toshin's method of adding weight proportional to the distance from the current pixel, and also use the range of the prediction error signal to compare the degree of prediction error. Of course, it is also possible to limit the number of pixels to pixels in an area corresponding to the size of the halftone dot around the pixel X, which has already been scanned.

第5図は、第4図に用いられる遅延回路21a。FIG. 5 shows a delay circuit 21a used in FIG. 4.

の一実施例を示す図である。端子20a2には、予測誤
差信号Y、が印加される。ラインメモ’) 30alは
、予測誤差信号を約1ライン遅延させるもので、よシ正
確には1ラインの遅延量をH(= 8000サンプル)
とすれば、その出力端子には(’H−2)−7998サ
ンプル遅延した信号が得られる。またラインメモリ30
b、、 30b、、 30b、は、それぞれ入力信号を
1ライン遅延するものでそれぞれの出力端子には、30
a1の出力端子に比べて1. 2. 3ライン遅延した
信号が得られる。シフトレジスタ31at j31a2
.31a3および31a4は、それぞれ1〜7および4
〜7サンプル時刻遅延するシフトレジスタで第1図にお
ける画素jl +2+ 13y j4* jljy j
18tisoおよびgに対する予測誤差信号YI、、’
、、Y、。
It is a figure showing one example of this. A prediction error signal Y is applied to the terminal 20a2. Line memo') 30al delays the prediction error signal by about one line, and more precisely, the delay amount for one line is H (= 8000 samples).
Then, a signal delayed by ('H-2)-7998 samples is obtained at its output terminal. Also line memory 30
b, , 30b, , 30b each delay the input signal by one line, and each output terminal has 30
1. compared to the output terminal of a1. 2. A signal delayed by 3 lines is obtained. Shift register 31at j31a2
.. 31a3 and 31a4 are 1 to 7 and 4, respectively
Pixel jl +2+ 13y j4* jljy j in Figure 1 with a shift register delayed by ~7 sample times
Prediction error signal YI, ,' for 18tiso and g
,,Y,.

瞥ユ 、、Y、、・暖ツY、ツーJ Yl −、Y、、、雫Y
II゛112 、13 l午 ’+q 1g ’+9お
よびYlt が得られ、端子32al t 32a2.
32a3゜32a4y 32a5.32a6.32a7
および32a8よ多出力される。
Attention Yu,,Y,,,Natsu Y,Two J Yl-,Y,,,Shizuku Y
II'112, 13l'+q1g'+9 and Ylt are obtained, and the terminals 32alt 32a2.
32a3゜32a4y 32a5.32a6.32a7
and 32a8.

第6図(4)は、本発明の適応予測復号化装置の第1の
実施例を示すブロック図である。図において、端子40
に印加された符号は、彷号器41て予測誤差信号Yに復
号されろ。予測誤差イ5 @ Yは、排他的論理オロ回
路4al、 4azg・・・、 4anで予測器3a1
゜3a2.・・・、 3anよ多出力される予測値PI
+P2+・・・。
FIG. 6(4) is a block diagram showing a first embodiment of the adaptive predictive decoding device of the present invention. In the figure, terminal 40
The code applied to is decoded into a prediction error signal Y by a decoder 41. Prediction error I5 @Y is exclusive logic circuit 4al, 4azg..., 4an and predictor 3a1
゜3a2. ..., predicted value PI that is output more than 3an
+P2+...

Pnと排他的論理和かとられ、復号信号X、、X2.・
・・。
Pn and the decoded signals X, , X2 .・
....

Xnを生成する。セレクタ6は、予測選択回路5の信号
に従い、復号信号X1.X、、・・・、Xnより復号信
号Xを選択する。排他的論理和回路42は、予測値P1
yP2+・・・、Pnと復号信号Xより、予測誤差信号
Y、、Y2.・・・、Ynを生成し、予測選択回路5に
入力する。それ以外のラインメモリ2 a 、zb、、
 2b2゜−、2bn、予測器3a3.3a2. ++
 、 3aH、予測選択回路5の部分は、本発明の適応
予測符号器の第1の実施例である第21囚と全く同じ回
路構成で同じ動作をする。また、本発明の予測器3a1
.3a2g(A) ・・・、 3alとしては、第3Je?TE示された予
測器が用いられる。
Generate Xn. The selector 6 selects the decoded signals X1 . Decoded signal X is selected from X, . . . , Xn. The exclusive OR circuit 42 calculates the predicted value P1
From yP2+..., Pn and the decoded signal X, prediction error signals Y,, Y2... , Yn is generated and input to the prediction selection circuit 5. Other line memories 2a, zb, .
2b2°-, 2bn, predictor 3a3.3a2. ++
, 3aH, the prediction selection circuit 5 has exactly the same circuit configuration and the same operation as the 21st embodiment which is the first embodiment of the adaptive predictive encoder of the present invention. Moreover, the predictor 3a1 of the present invention
.. 3a2g(A) ..., as 3al, 3rd Je? A predictor designated TE is used.

第6図(ト))は、本発明の適応予測符号化装置の第2
の実施例を示すブロック図でを)る。図に訃いて第6図
(4)と異なる点は、復号器41′が予測状態(11号
を用いて予測誤差信号をランレングス幾分化する点と、
予測器3a’1.3a’2 、・・・、3a′nとして
第3図(B)に示されたように予測誤差信号および予測
状態信号を発生するものを用いた点と、セレクタ6′と
して、復号信号および予測状態信号を選択するものを用
いた点である。
FIG. 6(g)) shows the second
1 is a block diagram illustrating an embodiment of the present invention. The difference between the figure and FIG. 6 (4) is that the decoder 41' divides the prediction error signal into run lengths using the prediction state (No. 11).
The predictors 3a'1, 3a'2, . . . , 3a'n that generate a prediction error signal and a prediction state signal as shown in FIG. The point is that a method for selecting a decoded signal and a predicted state signal is used.

以上のように本発明は、複数の予測器を用い、その予測
器よシ得られる予測器をすでに走査ずみの予測誤差信号
の予測はずれの程度から選択するので従来の予測方式と
比べて予測効果の大きく国際標準のMH符号器にも適応
できる適応子#+lJ復号化装置となっている。
As described above, the present invention uses a plurality of predictors and selects the resulting predictor based on the degree of prediction error of the scanned prediction error signal, so the prediction effect is higher than that of the conventional prediction method. This is an adaptive #+lJ decoding device that can also be adapted to a large international standard MH encoder.

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

第1図は、本発明に用いられる予測器の参照画素および
予測誤差信号の予測はずれの比較に用いられる画素の一
例を表わす図、第2図(ト)および第2図(J3)は、
本発明に係る適応予測符号化装置の第1および第2の実
施例を示すブロック図、第3図(4)および第3図(B
)は、本発明に用いられる予6(1j器の第1および第
2の例を示すブロック図、第4図は、本発明に用いられ
る予測選択回路の一例を示す図、第5図は、本発明に用
いられる遅延回路の一例を示す図、第6図(ト)および
第6図(B)は、本発明の第1および第2の実施例を示
すブロック図である。 図において、参照数字2a、2bI、2b2.・・・g
 2bm−4g2bmおよび30al、 3ob、、 
aob、、 30bsはラインメモリ、参照数字3al
 t 3a2. ”’ * 3an e 3a’l t
 3a’2*”’ +3a’H,は予測器、参照数字4
a、、 4a2.・・・、 4aHおよび42は、排他
的論理和回路、参照数字5は、予測選択回路、参照数字
6および6′はセレクタ、参照数字7および7′は符号
器、参照数字12a、12b。 12c 、 12d 、 12e 、 12f 、 1
2g t’ 31a1.31a2,31a3゜および3
1a4はシフトレジスタ、参照数字13および13′は
ROM %参照数字21at 、 21a2 、−.2
1an−。 および21anは遅延回路、参照数字22a1.22a
2.・・・。 22an−1および22anは予測はずれ測定回路、参
照数字4工および41’は彷号器を表わす。 △ △ へ オ 3 図 (A)
FIG. 1 is a diagram showing an example of the reference pixel of the predictor used in the present invention and the pixel used for comparing the prediction error of the prediction error signal, and FIG. 2 (G) and FIG. 2 (J3) are
Block diagrams showing the first and second embodiments of the adaptive predictive coding device according to the present invention, FIG. 3(4) and FIG.
) is a block diagram showing first and second examples of the predictor 6 (1j) used in the present invention, FIG. 4 is a diagram showing an example of a prediction selection circuit used in the present invention, and FIG. Figures 6 (G) and 6 (B) showing an example of the delay circuit used in the present invention are block diagrams showing the first and second embodiments of the present invention. Numbers 2a, 2bI, 2b2...g
2bm-4g2bm and 30al, 3ob,,
aob,, 30bs is line memory, reference number 3al
t 3a2. ”' * 3an e 3a'lt
3a'2*"'+3a'H, is a predictor, reference number 4
a,, 4a2. ..., 4aH and 42 are exclusive OR circuits, reference numeral 5 is a prediction selection circuit, reference numerals 6 and 6' are selectors, reference numerals 7 and 7' are encoders, and reference numerals 12a and 12b. 12c, 12d, 12e, 12f, 1
2g t' 31a1.31a2, 31a3° and 3
1a4 is a shift register, reference numbers 13 and 13' are ROM % reference numbers 21at, 21a2, -. 2
1an-. and 21an is a delay circuit, reference number 22a1.22a
2. .... 22an-1 and 22an represent prediction error measuring circuits, and reference numerals 4 and 41' represent signal generators. △ △ Heo 3 Figure (A)

Claims (1)

【特許請求の範囲】 網点写真上の画素Xの標本値Xに対する複数個の予測値
P1yP2y・・・、Pnを発生し、前記複数個の予測
値P1.P2.・・・、Pn(n:正整数)と標本値X
よシ得られた予測誤差信号Y1.Y2.・・・、 yn
よシ1つの予測誤差信号Yを選択し符号化する適応予測
符号化装置で得られた符号を復号化する適応予測復号化
装置において、前記予測誤差信号Yを復号化する手段と
、前記予測誤差信号Yと複数の予測値p、 y P2 
t ”’ ? pnよシ複数の復号信号x、、’x、。 ・・・、Xnを得る手段と、前記画素Xの近傍画素と画
像の2次元網目周期パターン上で、前記画素Xと同一位
相関係にある複数の画素YItY2+・・・、ym(m
:正整数)および前記複数側索Y1tY2.・・・。 yrrLの近傍画素の標本値を用いて前記複数個の予測
値P1.P2+・・・、Pnを発生する手段と、前記標
本値−と複数個の予測値PltPty・・・、Pnより
予測誤差信号y、 t y、 t・・・、Ynを得る手
段と、すでに走査すみの画素の予測誤差信号Y、、Y2
.・・;、Y、よシ前記複数個の予測値P1tP2v・
・・、Pnの予測はずれの程度を計算する手段と、前記
計算結果に基づいて、前記複数の復号信号X、、X2.
・・・、xnより復号画素Xの標本値Xを選択する手段
とから措成されることを特徴とする適応予測復号化装置
Claims: A plurality of predicted values P1yP2y..., Pn are generated for a sample value X of a pixel X on a halftone photograph, and the plurality of predicted values P1. P2. ..., Pn (n: positive integer) and sample value X
The obtained prediction error signal Y1. Y2. ..., yn
In an adaptive predictive decoding device that decodes a code obtained by an adaptive predictive coding device that selects and encodes one prediction error signal Y, means for decoding the prediction error signal Y; Signal Y and multiple predicted values p, y P2
t"'?pn, a plurality of decoded signals x,,'x,..., a means for obtaining Xn, and a means for obtaining A plurality of pixels YItY2+..., ym(m
: positive integer) and the plurality of lateral funiculus Y1tY2. .... The plurality of predicted values P1. means for generating P2+..., Pn; means for obtaining prediction error signals y, ty, t..., Yn from the sample value - and a plurality of predicted values PltPty..., Pn; Prediction error signal Y, Y2 of corner pixel
.. . . .;Y, the plurality of predicted values P1tP2v・
.
..., means for selecting sample value X of decoded pixel X from xn.
JP16077583A 1983-09-01 1983-09-01 Adaptive forecasting decoder Pending JPS6052168A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP16077583A JPS6052168A (en) 1983-09-01 1983-09-01 Adaptive forecasting decoder
US06/646,539 US4633325A (en) 1983-09-01 1984-09-04 Adaptive predictive encoding and/or decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16077583A JPS6052168A (en) 1983-09-01 1983-09-01 Adaptive forecasting decoder

Publications (1)

Publication Number Publication Date
JPS6052168A true JPS6052168A (en) 1985-03-25

Family

ID=15722182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16077583A Pending JPS6052168A (en) 1983-09-01 1983-09-01 Adaptive forecasting decoder

Country Status (1)

Country Link
JP (1) JPS6052168A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5730463A (en) * 1980-07-30 1982-02-18 Nec Corp Adaptive forecasting and decoding device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5730463A (en) * 1980-07-30 1982-02-18 Nec Corp Adaptive forecasting and decoding device

Similar Documents

Publication Publication Date Title
US4633325A (en) Adaptive predictive encoding and/or decoding apparatus
US4125861A (en) Video signal encoding
US4749983A (en) Compression of multilevel signals
US4742399A (en) Method of and apparatus for generating high-resolution bilevel image data
US4559563A (en) Adaptive prediction for binary encoded documents containing a mixture of text, line drawings and halftones
EP0336776A2 (en) Image magnification
JPS60229573A (en) Encoding and transmitting system for half-tone picture information
JPS6052168A (en) Adaptive forecasting decoder
JP3119025B2 (en) Encoding device and decoding device
JPH104551A (en) Image processing unit, method for the unit and storage medium storing the method
JPH0121667B2 (en)
JPS6052167A (en) Adaptive forecasting coder
JPH0132703B2 (en)
JPH04178074A (en) Coding decoding system for picture signal and its device
JPH0121668B2 (en)
JP3308940B2 (en) Encoding method and decoding method
JPS62125787A (en) Picture transmission system
JPS61169086A (en) Encoding system of half tone image
JPH09121286A (en) Method and device for compressing picture data
JP2530093Y2 (en) Dither image signal coding device
JPS61123276A (en) Picture data compression system
JPH046954A (en) Picture prediction coding system
US20020101927A1 (en) Motion vector detecting device and motion vector detecting method
JPH0818798A (en) Binary image encoding device
JPS6022875A (en) Compressing system of intermediate tone picture