JPS61107887A - Adaptive type forecasting coding system and device for picture signal - Google Patents

Adaptive type forecasting coding system and device for picture signal

Info

Publication number
JPS61107887A
JPS61107887A JP59228630A JP22863084A JPS61107887A JP S61107887 A JPS61107887 A JP S61107887A JP 59228630 A JP59228630 A JP 59228630A JP 22863084 A JP22863084 A JP 22863084A JP S61107887 A JPS61107887 A JP S61107887A
Authority
JP
Japan
Prior art keywords
signal
prediction
circuit
prediction method
forecasting
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
JP59228630A
Other languages
Japanese (ja)
Inventor
Mutsumi Oota
睦 太田
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
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 filed Critical NEC Corp
Priority to JP59228630A priority Critical patent/JPS61107887A/en
Publication of JPS61107887A publication Critical patent/JPS61107887A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent that a demodulating error of a forecasting coding system due to a signal error in the transmission line is hourly continued, in the forecasting coding system changing over plural pieces of forecasting adaptively in accordance with the character of the screen. CONSTITUTION:A reverse converting coding circuit 21 converts a code supplied from the transmission line by a line 121 to a forecasting error signal and a refreshing signal, the refreshing signal supplies to a selecting device 24 and a memory circuit 26 and a forecasting error signal supplies to an adder 22. At a decision circuit 25 of a optimum forecasting system, the forecasting signal and decoding signal decide which forecasting signal is optimum, and the result is supplied to a memory circuit 26. The circuit 26 stores the necessary part of those signals, and the signal necessary for an estimating circuit 27 to estimate the optimum forecasting system is supplied to the circuit 27. The circuit 24 selects one out of forecasting signals in accordance with the signal showing the optimum forecasting method and supplies it to an adder 22, and when the refreshing signal is supplied from a line 130, the forecasting signal based upon the forecasting system determined beforehand from a line 129 is outputted.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は多値画像信号の予測符号化、特に予測方式を
画面の性質に応じて適応的に切り替える予測符号化に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to predictive coding of multivalued image signals, and particularly to predictive coding in which a prediction method is adaptively switched according to the characteristics of a screen.

(従来技術とその問題点) テレビジョン信号などに代表される多値画像信号の予測
において、(1)一つの予測方式を固定的に用いる場合
の他に、(2)複数個の予測を固定的に組み合わせて用
いる場合、(3)複数個の予測を画面の性質に応じて適
応的に切り替える場合など各種の方式が考えられている
(Prior art and its problems) In predicting multivalued image signals such as television signals, (1) one prediction method is fixedly used, and (2) multiple predictions are fixedly used. Various methods have been considered, such as (3) a case where multiple predictions are used in combination, and (3) a case where a plurality of predictions are adaptively switched according to the characteristics of the screen.

この第3の適応的に予測方式を切り替えて予測を行なう
適応予測の中にも複数画素単位でブロックを構成し、そ
のブロック単位で最適な予測方式を検出し、用いた最適
な予測方式を示す符号とその時の予測誤差とを一緒に伝
送する方式と、すでに符号化済みの画素に対応する情報
のみを用いて画像信号の局所的性質を調べて次の画素に
対する最適予測方式を推定する方式とがある。後者の場
合には受信側でも同様の推定が可能であるため、使用し
た予測方式を示す符号を伝送する必要がなく、それだけ
回路構成が簡単である0本発明はこの後者の発明に間す
るものである。この詳細については、例えば特願昭55
−10899号明細書に記述されているが以下に簡単な
説明を行なう。
In this third adaptive prediction method, which performs prediction by adaptively switching the prediction method, a block is configured in units of multiple pixels, the optimal prediction method is detected for each block, and the optimal prediction method used is shown. There are two methods: one in which the code and the prediction error at that time are transmitted together, and the other in which the local properties of the image signal are investigated using only information corresponding to already encoded pixels to estimate the optimal prediction method for the next pixel. There is. In the latter case, similar estimation is possible on the receiving side, so there is no need to transmit a code indicating the prediction method used, and the circuit configuration is that simple.The present invention is related to this latter invention. It is. For details of this, for example,
Although it is described in the specification of No. 10899, a brief explanation will be given below.

この方式においては予測方式は何通りあっても構わない
が、例えば2種の予測方式■、■が用いられているもの
とする。■、■とじてはフレーム内予測方式、フレーム
間予測方式などが考えられる、いま人力された画素信号
の画面上での走査線(ライン)上における時刻をiとし
て、そのときまでに符号化・復号化済みの画素に対して
どちらの予測方式を用いたほうが予測誤差の絶対値が小
さいかを示した、すなわち最適予測方法を示した表を第
1図の(a)に示す、この表を予測方式の参照パターン
と呼ぶ。この参照パターンから時刻i+1においては予
測方式■の方が予測誤差の絶対値が小さいだろうという
ことがすぐに分かる。これを一般化して考える。n種類
の予測方式を使用し最適予測方法を推定するためにM個
の符号化・復号化済みの画素を参照する方法を考えたと
き、参照パターンにはn8個の状態が想定可能となるか
らそのそれぞれの参照パターンに対してあらかじめ推定
する最適予測方法を決めておく。この参照パターンに予
測方法を対応ずけたものを参照テーブルと呼ぶ、この参
照テーブルを符号器・復号器に記憶させておけば使用し
た予測方法を伝送することなく、符号器・復号器で同じ
予測方法を推定できるため本発明に係わる方式が実現で
きる。
Although any number of prediction methods may be used in this method, it is assumed that, for example, two prediction methods (1) and (2) are used. For ■ and ■, intra-frame prediction method, inter-frame prediction method, etc. can be considered. Let the time on the scanning line (line) on the screen of the pixel signal that has just been manually input be defined as i, and by that time the encoding and Figure 1(a) shows which prediction method has the smaller absolute value of prediction error for decoded pixels, that is, the table showing the optimal prediction method. This is called the reference pattern of the prediction method. From this reference pattern, it is immediately clear that at time i+1, the absolute value of the prediction error will be smaller in prediction method (2). Let's generalize this. When considering a method of referring to M encoded/decoded pixels in order to estimate the optimal prediction method using n types of prediction methods, n8 states can be assumed for the reference pattern. The optimal prediction method to be estimated for each reference pattern is determined in advance. This reference pattern that corresponds to a prediction method is called a reference table.If this reference table is stored in the encoder/decoder, the encoder/decoder can make the same prediction without transmitting the prediction method used. Since the method can be estimated, the method according to the present invention can be realized.

すなわち符号器・復号器は符号化・復号化にあたって参
照パターンを生成しておきその参照パターンを参照テー
ブルに照合してどの予測方法で符号化・復号化するかを
決定すればよい。このとき−画素毎に参照パターンを最
初から生成するのは無駄が多いので各画素でどの予測方
式が最適だったか数ライン分記憶しておき一画素毎に参
照パターンの作成に必要な分を呼び出して参照パターン
を作成し最適予測方法を推定するのが一般的である二こ
で問題となるのは伝送路における信号誤りが生じた場合
の処置である。つまりこの方式では予測方式を示す信号
を伝送する代わりに、送信側では符号化済みの画素に対
応する情報のみを用いて予測方式を決定し受信側では復
号化済みの画素に対応する情報のみを用いて予測方式を
推定するために、符号化済みの画素に対応する情報と復
号化済みの画素に対応する情報とが伝送路に於ける信号
誤りによって一致しなくなった場合、予測方式が送信側
と受信側とで一致しなくなり画素信号の復号の際に誤り
が起こる。そして更にこの誤って復号化された画素信号
はその後の画素に対する復号に際して予測方式の推定に
使用されるために復号誤りが時間的に継続して行くこと
になる。
That is, the encoder/decoder may generate a reference pattern during encoding/decoding, and then check the reference pattern against a reference table to determine which prediction method to use for encoding/decoding. At this time, it would be wasteful to generate a reference pattern from scratch for each pixel, so memorize several lines of which prediction method was optimal for each pixel and recall the amount necessary to create a reference pattern for each pixel. It is common practice to create a reference pattern and estimate an optimal prediction method based on the above two methods.However, the problem is what to do when a signal error occurs in the transmission path. In other words, in this method, instead of transmitting a signal indicating the prediction method, the transmitting side uses only the information corresponding to the encoded pixels to determine the prediction method, and the receiving side only uses the information corresponding to the decoded pixels. If the information corresponding to encoded pixels and the information corresponding to decoded pixels do not match due to a signal error in the transmission path, the prediction method is and the receiving side, and an error occurs when decoding the pixel signal. Further, since this erroneously decoded pixel signal is used for estimating a prediction method when decoding subsequent pixels, decoding errors continue over time.

従来技術によれば伝送路における信号誤りに起因する予
測符号化方式の復号誤りの対策としてはリフレッシュと
称する画面の書き換えを行なうのが一般的であった。す
なわち符号伝送量に余裕がある時、受信側に於ける復号
化済みの画素に対応する情報を使用しない符号化方式を
間欠的にかつ強制的に行なうことで復号誤りが時間的に
継続することを防ぐものである。しかし本発明に係わる
方式に於いてはそれだけでは復号誤りが時間的に継続す
ることを防ぐ事ができない、なぜなら前述したように本
法式に係わる発明では参照パターンを作成するために符
号化済み・復号化済みの画素に対してどの予測方法が最
適であったかを記憶している記憶・回路があるが、その
記憶回路で伝送路に於ける信号誤りによって誤った情報
が記憶されることがあるからである0例えば第1図に於
いて符号器側では(a)の表のように符号化済みの画素
の最適予測方法が記憶されているのに伝送路に於ける信
号誤りによって誤った画像信号が復号されそれが原因で
復号器側では最適予測方法が(b)の表のように求まり
記憶されている。すると(a)の表からは画素時刻i+
1で予測方法■が最適であると推定されるのに反して(
b)の表からは画素時刻1+1で予測方法■が最適であ
る推定され、符号器と復号器とで異なる予測が用いられ
ることになり、誤った復号化が行なわれ、しかも復号器
ではこの誤った画像信号に対してどの予測方式が最適で
あるかを判定し、記憶して、そのあとの画像信号に対す
る参照パターンの作成に使用するために、誤りが時間的
に継続することになる。しかしこうした誤りを訂正する
方法は従来技術では考えられていなかった。
According to the prior art, as a measure against decoding errors in predictive coding methods caused by signal errors in the transmission path, it has been common to rewrite the screen, which is called refresh. In other words, when the amount of code transmission is available, decoding errors continue over time by intermittently and forcibly using an encoding method that does not use information corresponding to decoded pixels on the receiving side. This is to prevent However, in the method related to the present invention, it is not possible to prevent decoding errors from continuing over time, because as mentioned above, in the method related to the present method, in order to create a reference pattern, coded and decoded There is a memory/circuit that stores which prediction method was optimal for pixels that have already been converted, but incorrect information may be stored in that memory circuit due to signal errors in the transmission path. 0 For example, in Figure 1, the encoder side stores the optimal prediction method for encoded pixels as shown in the table (a), but an erroneous image signal is generated due to a signal error in the transmission path. As a result of the decoding, the optimal prediction method is determined and stored on the decoder side as shown in the table (b). Then, from the table in (a), pixel time i+
1, prediction method ■ is estimated to be optimal (
From the table in b), it is estimated that prediction method ■ is optimal at pixel time 1+1, and different predictions will be used in the encoder and decoder, resulting in erroneous decoding. Errors continue over time because it is determined which prediction method is optimal for a given image signal, stored, and used to create a reference pattern for a subsequent image signal. However, no method of correcting such errors has been considered in the prior art.

(発明の目的) 本発明の目的は、複数個の予測を画面の性質に応じて適
応的に切り替える予測符号化方式に於いて、伝送路にお
ける信号誤りに起因する予測符号化方式の復号誤りが時
間的に継続することを防ぐ方式を与えることにある。
(Object of the Invention) An object of the present invention is to reduce decoding errors in the predictive coding method due to signal errors in the transmission path in a predictive coding method that adaptively switches a plurality of predictions according to the characteristics of the screen. The purpose is to provide a method to prevent temporal continuation.

(発明の゛構成) 本発明に於いては符号器側では予測信号と人力信号との
差分信号を発生する差分器と、そ、の差分信号を量子化
する量子化器と、その量子化された信号と前述の予測信
号とを足し合わせ局部復号信号を発生する加算器と、そ
の局部復号信号を記憶しておき複数の予測信号を発生す
る予測器と、前述の予測誤差信号と伝送誤りが原因の復
号誤りが時間的に継続しないようにすることを目的とし
て行なうリフレッシュの実行・停止を示すリフレッシュ
信号とを符号化する符号変換回路と、その符号変換回路
における発生符号量をもとに発生符号量に余裕のある時
は一定間隔でリフレッシュ信号を発生するリフレッシュ
判定回路と、前述の予測器から出力される複数個の予測
信号と前述の加算器において作られる局部復号信号から
その画素の最適だった予測方式を判定しておく回路と、
その結果を記憶しておくが前述のリフレッシュ信号を受
けたときのみ特定の信号を書き込む回路と、そこに記憶
された符号化済みの画素信号に対応する最適予測方式か
ら参照パターンと呼ばれる情報を作成しつぎの予測信号
を発生するのに最適な予測方式を推定する推定回路と、
その推定結果から前述の予測器より発生している複数の
予測信号からひとつ取り出し前述の予測信号とし、前述
の差分器と加算器に供給するが、前述のリフレッシュ信
号を受けたときには予め決められた予測方法に基ずく予
測信号を供給する機能をもつ選択器をもつまた復号器側
では伝送されて来た符号を変換し予測誤差信号とリフレ
ッシュ信号とを発生する逆変換符号化回路と、その予測
誤差信号と予測信号とを加え合わせて復号信号を発生す
る加算器と、その復号信号を記憶しておき複数の予測信
号を発生する予測器と、その予測器から出力される複数
個の予測信号と前述の加算器により得られる復号信号か
らその画素の最適だフた予測方式を判定しておく回路と
、その結果を必要分記憶しておくが前述のリフレッシュ
信号を受けたときのみ特定の信号を書き込む回路と、そ
こに記憶された符号化済みの画素信号に対応する最適予
測方式から参照パターンと呼ばれる情報を作成しつぎの
予測信号を発生するのに最適な予測方式を推定する推定
回路と、その推定結果から前述の予測器より発生してい
る複数の予測信号をひとつ取り出し前述の差分器と加算
器に供給するが、前述のリフレッシュ信号を受けたとき
には予め決められた予測方法に基ずく予測信号を供給す
る機能をもつ選択器をもつ。
(Configuration of the Invention) In the present invention, on the encoder side, there is provided a differentiator that generates a difference signal between a predicted signal and a human input signal, a quantizer that quantizes the difference signal, and a quantizer that quantizes the difference signal. an adder that generates a locally decoded signal by adding the predicted signal and the aforementioned predicted signal; a predictor that stores the locally decoded signal and generates a plurality of predicted signals; Generated based on the code conversion circuit that encodes the refresh signal that indicates execution/stop of refresh performed for the purpose of preventing the decoding error caused by it from continuing over time, and the amount of code generated in the code conversion circuit. A refresh determination circuit that generates a refresh signal at regular intervals when there is enough code, and a refresh judgment circuit that generates a refresh signal at regular intervals, and calculates the optimum value for that pixel from multiple prediction signals output from the aforementioned predictor and a locally decoded signal generated by the aforementioned adder. A circuit that determines the prediction method that was
Information called a reference pattern is created from a circuit that stores the result and writes a specific signal only when it receives the refresh signal mentioned above, and an optimal prediction method that corresponds to the encoded pixel signal stored there. an estimation circuit that estimates an optimal prediction method for generating a subsequent prediction signal;
From the estimation result, one of the multiple prediction signals generated by the above-mentioned predictor is extracted as the above-mentioned prediction signal and is supplied to the above-mentioned differencer and adder. However, when receiving the above-mentioned refresh signal, The decoder side has a selector with a function of supplying a prediction signal based on the prediction method.The decoder side also has an inverse transform encoding circuit that converts the transmitted code and generates a prediction error signal and a refresh signal, and its prediction. An adder that generates a decoded signal by adding an error signal and a predicted signal, a predictor that stores the decoded signal and generates multiple predicted signals, and multiple predicted signals output from the predictor. and a circuit that determines the optimal prediction method for that pixel from the decoded signal obtained by the above-mentioned adder, and stores the result as necessary, but only when the above-mentioned refresh signal is received, a specific signal is output. and an estimation circuit that creates information called a reference pattern from the optimal prediction method corresponding to the encoded pixel signal stored therein and estimates the optimal prediction method for generating the next prediction signal. From the estimation result, one of the plurality of prediction signals generated by the aforementioned predictor is extracted and supplied to the aforementioned differencer and adder, but when the aforementioned refresh signal is received, the prediction signal is generated based on a predetermined prediction method. It has a selector that has the function of supplying a predicted signal.

(発明の原理) リフレッシュは多量の符号発生を伴うから符号変換回路
における発生符号量が伝送容量一杯のときはリフレッシ
ュを行なわないほうがよく発生符号量が伝送容量に対し
て余裕のあるときは一定間隔をもってリフレッシュを行
なう、従って符号変換回路は発生符号量を示す信号を発
生する機能を持ちその信号を使ってリフレッシュ判定回
路がリフレッシュ信号を発生する。
(Principle of the Invention) Since refreshing involves the generation of a large amount of code, it is better not to perform refresh when the amount of generated codes in the code conversion circuit is full of the transmission capacity.When the amount of generated codes is sufficient for the transmission capacity, refresh is performed at regular intervals Therefore, the code conversion circuit has a function of generating a signal indicating the amount of generated code, and using this signal, the refresh determination circuit generates a refresh signal.

リフレッシュは復号化済みの画像信号を用いない符号化
、例えばPCM符号化を用いる方法が考えられる。それ
には複数の予測信号の中から最適と推定される信号を取
り出す選択器に於いてリフレッシュ信号を受は取ったと
きどの予測信号も用いずにゼロを出力する機能を持たせ
ればよい。この時リフレッシュ信号を量子化器にも供給
して量子化特性なPCM符号化に適したものに切り替え
ることも出来る。
For refreshing, a method using encoding that does not use a decoded image signal, such as PCM encoding, can be considered. To do this, a selector that extracts a signal estimated to be optimal from among a plurality of predicted signals may be provided with a function of outputting zero without using any predicted signal when receiving a refresh signal. At this time, the refresh signal can also be supplied to the quantizer to switch to one suitable for PCM encoding with quantization characteristics.

またある期間、例えばlライン分、最初の画素の予測信
号だけは予め決めておきあとの画素は前値予測を用いて
符号化してもよい。そうすればその1ラインはそれ以前
の符号化済み画像信号から無関係に符号化されしかも発
生符号量はPCM符号化よりも遥かに抑えることが出来
る。
Alternatively, for a certain period, for example, one line, only the prediction signal for the first pixel may be determined in advance, and subsequent pixels may be encoded using previous value prediction. In this way, that one line can be encoded without regard to the previously encoded image signal, and the amount of generated code can be much reduced compared to PCM encoding.

このリフレッシュが行なわれている期間リフレッシュ信
号を用いて符号化済みの画素信号の最適予測方法を記憶
している第1図の説明に於いて用いた記憶回路にもリフ
レッシュを行なう、この後者のリフレッシュは前者のリ
フレッシュと別々に行なってもよいが同時に行なった方
が扱いが楽である。この記憶回路に対するリフレッシュ
は前述の最適予測方式の判定回路から供給される最適予
測方式を示す信号を書き込む代わりにあらかじめ決めら
れた信号を書き込むのであればなんでもよくリフレッシ
ュを行なったということを示す信号を特別に設けてそれ
を書き込んでもよい、こうすることによって符号器・復
号器の推定回路で作成される参照パターンがそれまでに
異なっていてもこの段階で必ず一致する。
During this refresh period, the refresh signal is used to refresh the memory circuit used in the explanation of FIG. 1 that stores the optimal prediction method for encoded pixel signals. may be done separately from the former refresh, but it is easier to handle if done at the same time. Refreshing of this memory circuit can be done by writing a predetermined signal instead of writing the signal indicating the optimal prediction method supplied from the optimal prediction method determination circuit described above. It may be specially provided and written in. By doing this, even if the reference patterns created by the estimation circuit of the encoder/decoder have been different up to that point, they will always match at this stage.

(本発明の実施例) 本発明に従って構成した符号器の例を第2図に示す。線
101から入力された原信号と線110から供給される
予測信号との差分を差分器lて計算し予測誤差信号とし
て線102から出力しそれを量子化器2で量子化し線1
03から加算器3と符号変換回路lOに供給する。加算
器3は線103から供給される量子化された予測誤差信
号と線110から供給される予測信号とを加算すること
により局部復号信号を生成し線104を通して予測器4
と最適予測方式の判定回路6へ供給する。
(Embodiment of the present invention) An example of an encoder configured according to the present invention is shown in FIG. The difference between the original signal input from the line 101 and the predicted signal supplied from the line 110 is calculated by a subtractor 1 and outputted from the line 102 as a prediction error signal.The signal is quantized by the quantizer 2 and then converted to the line 1.
The signal is supplied from 03 to the adder 3 and the code conversion circuit 1O. Adder 3 generates a locally decoded signal by adding the quantized prediction error signal supplied from line 103 and the prediction signal supplied from line 110, and outputs the locally decoded signal to predictor 4 through line 104.
and is supplied to the optimal prediction method determination circuit 6.

予測器4はその局部復号信号を必要分記憶しておき複数
の、この例ではふたつの、つぎの画像信号の予測信号を
生成して線105と線106を通して出力する。最適予
測方式の判定回路6ではそれらの予測信号と線104か
ら供給される局部復号信号からどの予測信号が最適であ
ったかを判定しその結果を線107を通して記憶回路7
へ供給し、記憶回路7はそれらの信号を必要分記憶して
おいて推定回路8が最適予測方式を推定するのに必要な
信号を線108を通して推定回路8へ供給し、また線1
12を通してリフレッシュ信号が供給されると予測方式
を記憶する代わりにリフレッシュを示す信号を記憶する
。線108から供給される符号化済みの信号に対応する
最適予測方法を使って推定回路8は最適予測方法を推定
し線109を通して選択器5へ供給する。選択器5は線
105.106を通して供給される予測信号の中からひ
とつを線109から供給される最適予測方法を示す信号
に従って選び出し線110を通して差分器lと加算器3
へ供給するが、線112からリフレッシュ信号が供給さ
れた時には線110からあらかじめ決められた予測方式
に基ずく予測信号を出力する。符号変換回路10は線1
03を通して供給される予測誤差信号と線112を通し
て供給されるリフレッシュ信号とを符号化し線113を
通して伝送路へ送り出すと共に発生符号量を線111を
通してリフレッシュ判定回路9へ供給する、リフレッシ
ュ判定回路9は線111を通して供給される発生符号量
に余裕のあるときにリフレッシュ信号を一定間隔で発生
し線112を通して符号変換回路10と選択器5と記憶
回路7へ供給する。
The predictor 4 stores as many locally decoded signals as necessary, generates a plurality of prediction signals for the next image signal, two in this example, and outputs them through lines 105 and 106. The optimal prediction method determination circuit 6 determines which prediction signal is optimal from these prediction signals and the locally decoded signal supplied from the line 104, and sends the result through the line 107 to the storage circuit 7.
The storage circuit 7 stores the necessary amount of these signals and supplies the signals necessary for the estimation circuit 8 to estimate the optimal prediction method to the estimation circuit 8 through the line 108.
When a refresh signal is supplied through 12, instead of storing the prediction method, a signal indicating refresh is stored. Using the optimal prediction method corresponding to the encoded signal supplied from line 108, estimating circuit 8 estimates the optimal prediction method and supplies it to selector 5 through line 109. The selector 5 selects one of the prediction signals supplied through the lines 105 and 106 according to the signal indicating the optimal prediction method supplied from the line 109, and sends it to the differencer l and the adder 3 through the line 110.
However, when a refresh signal is supplied from line 112, a prediction signal based on a predetermined prediction method is output from line 110. The code conversion circuit 10 is connected to line 1
The refresh determination circuit 9 encodes the prediction error signal supplied through the line 03 and the refresh signal supplied through the line 112 and sends it to the transmission path through the line 113, and supplies the generated code amount to the refresh determination circuit 9 through the line 111. When the amount of generated code supplied through line 111 is sufficient, a refresh signal is generated at regular intervals and is supplied through line 112 to code conversion circuit 10, selector 5, and storage circuit 7.

また本発明に従って構成した復号器の例を第3図に示す
。逆変換符号化回路21は線121で伝送路より供給さ
れた符号を予測誤差信号とリフレッシュ信号とに変換し
リフレッシュ信号は線130を通して選択器24と記憶
回路26へ供給し、予測誤差信号は線122を通して加
算器22へ供給する。加算器22はその予測誤差信号と
線129を通して供給される予測信号とを加え合わせて
復号信号を生成し線123を通して出力すると共に予測
器23と最適予測方式の判定回路25へ供給する。予測
器23はその復号信号を必要分記憶しておき複数の、こ
の例ではふたつの、つぎの信号に対応する予測信号を生
成して線124と線125を通して出力する。最適予測
方式の判定回路25ではそれらの予測信号と線123か
ら供給される復号信号で、どの予測信号が最適であった
かを判定しその結果を線126を通して記憶回路26へ
供給し、記憶回路26はそれらの信号を必要分記憶して
おいて推定回路27が最適予測方式を推定するのに必要
な信号を線127を通して推定回路27へ供給し、また
線130を通してリフレッシュ信号が供給されると予測
方式を記憶する代わりにリフレッシュを示す信号を記憶
する。また線127から供給される符号化済みの信号に
対応する最適予測方法を使って推定回路27は最適予測
方法を推定し線128を通して選択器24へ供給する。
FIG. 3 shows an example of a decoder constructed according to the present invention. The inverse conversion encoding circuit 21 converts the code supplied from the transmission line through the line 121 into a prediction error signal and a refresh signal.The refresh signal is supplied to the selector 24 and the storage circuit 26 through the line 130, and the prediction error signal is transmitted through the line 130. 122 to the adder 22. Adder 22 adds the prediction error signal and the prediction signal supplied through line 129 to generate a decoded signal, outputs it through line 123, and supplies it to predictor 23 and optimal prediction method determination circuit 25. The predictor 23 stores the decoded signals as necessary and generates a plurality of, in this example two, prediction signals corresponding to the next signals and outputs them through lines 124 and 125. The optimal prediction method determination circuit 25 determines which prediction signal is optimal based on these prediction signals and the decoded signal supplied from the line 123, and supplies the result to the storage circuit 26 through the line 126. The necessary amount of these signals is stored and the estimating circuit 27 supplies the signals necessary for estimating the optimal prediction method to the estimating circuit 27 through a line 127, and when a refresh signal is supplied through a line 130, the prediction method Instead of storing , a signal indicating refresh is stored. Further, the estimation circuit 27 estimates the optimal prediction method using the optimal prediction method corresponding to the encoded signal supplied from the line 127, and supplies the estimated optimal prediction method to the selector 24 through the line 128.

選択器24は線124.125を通して供給される予測
信号の中からひとつを線128から供給される最適予測
方法を示す信号に従って選び出し線129を通して加算
器22へ供給するが、線130からリフレッシュ信号が
供給された時には線129からあらかじめ決められた予
測方式に基ずく予測信号を出力する。
The selector 24 supplies one of the prediction signals supplied through lines 124 and 125 to the adder 22 through a selection line 129 in accordance with a signal indicating the optimal prediction method supplied from line 128, but a refresh signal is supplied from line 130. When supplied, a prediction signal based on a predetermined prediction method is output from line 129.

(発明の効果) 本発明に従えば複数の予測方法を用いる予測符号化方式
に於いて伝送路に於ける誤りが原因となって復号誤りが
時間的に継続して起こることを防ぐことが出来る。また
、伝送される信号に誤り訂正符号化を適用しても伝送路
の誤り率がその訂正能力を超えている場合には本発明を
適用しないかぎり本発明の例として用いた適応的な予測
方式を利用することができない。
(Effects of the Invention) According to the present invention, it is possible to prevent decoding errors from occurring continuously over time due to errors in the transmission path in a predictive coding method that uses multiple prediction methods. . Furthermore, even if error correction coding is applied to the transmitted signal, if the error rate of the transmission path exceeds its correction ability, the adaptive prediction method used as an example of the present invention may be used unless the present invention is applied. cannot be used.

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

第1図(a)、(b)は本発明の原理を示す図、第2図
は本発明に従って構成された符号器のブロック図、第3
図は本発明に従って構成された復号器のブロック図であ
る。 第2図、第3図において1は差分器、2は量子化器、3
.22は加算器、4.23は予測器、5.24は選択器
、6.25は最適予測方式の判定回路、7.26は記憶
回路、8.27は推定回路、9はリフレッシュ判定回路
、10は符号変換口オ 1 図 (b)
1(a) and 1(b) are diagrams showing the principle of the present invention, FIG. 2 is a block diagram of an encoder constructed according to the present invention, and FIG.
The figure is a block diagram of a decoder constructed in accordance with the present invention. In Figures 2 and 3, 1 is a differencer, 2 is a quantizer, and 3
.. 22 is an adder, 4.23 is a predictor, 5.24 is a selector, 6.25 is an optimal prediction method determination circuit, 7.26 is a storage circuit, 8.27 is an estimation circuit, 9 is a refresh determination circuit, 10 is code conversion port 1 Figure (b)

Claims (3)

【特許請求の範囲】[Claims] (1)複数個の予測方法のうち、符号化済みの画素に対
してどの予測方法が最適な予測であったかを求めて記憶
しておく手段を有し、その記憶された情報のうち現時刻
において符号化がなされる画素(現画素)の近傍にある
画素に関して記憶した情報から現時刻の最適な予測方法
を推定し予測符号化する手段を有し、復号側においても
復号済みの画素に対して同様の処理を行ない最適な予測
方法を推定し復号を行なう予測符号化方式において、伝
送路誤りによる復号誤りが時間的に継続しないようにす
ることを目的として間欠的に予め定められた符号化方法
を行なうと同時に前記のどの予測方法が最適な予測方法
であったかを求めて記憶する代わりに符号器側・復号器
側であらかじめ取り決められた信号を記憶するようにし
たことを特徴とする予測符号化方式。
(1) It has means for determining and storing which prediction method is the best prediction for encoded pixels among a plurality of prediction methods, and among the stored information, at the current time It has means for estimating the optimal prediction method at the current time from information stored regarding pixels in the vicinity of the pixel to be encoded (current pixel), and performs predictive encoding. In a predictive coding method that performs similar processing to estimate the optimal prediction method and perform decoding, an intermittently predetermined coding method is used for the purpose of preventing decoding errors due to transmission path errors from continuing over time. Predictive coding characterized in that, at the same time, instead of determining and storing which prediction method is the optimal prediction method, a signal determined in advance on the encoder side and the decoder side is stored. method.
(2)予測信号と入力信号との差分信号を発生する差分
器と、その差分信号を量子化する量子化器と、その量子
化された信号と前述の予測信号とを足し合わせ局部復号
信号を発生する加算器と、その局部復号信号を記憶して
おき複数の予測信号を発生する予測器と、前述の予測誤
差信号と伝送誤りが原因の復号誤りが時間的に継続しな
いようにすることを目的として行なうリフレッシュの実
行・停止を示すリフレッシュ信号とを符号化する符号変
換回路と、その符号変換回路における発生符号量をもと
に発生符号量に余裕のある時は一定間隔でリフレッシュ
信号を発生するリフレッシュ判定回路と、前述の予測器
から出力される複数個の予測信号と前述の加算器におい
て作られる局部復号信号からその画素の最適だった予測
方式を判定しておく回路と、その結果を記憶しておくが
前述のリフレッシュ信号を受けたときのみ特定の信号を
書き込む回路と、そこに記憶された符号化済みの画素信
号に対応する最適予測方式から次の予測信号を発生する
のに最適な予測方式を推定する推定回路と、その推定結
果から前述の予測器より発生している複数の予測信号か
らひとつ取り出し前述の予測信号として前述の差分器と
加算器に供給するが、前述のリフレッシュ信号を受けた
ときには予め決められた予測方法に基ずく予測信号を供
給する機能をもつ選択器をもつことを特徴とする予測符
号化方式の符号化装置。
(2) A differentiator that generates a difference signal between the predicted signal and the input signal, a quantizer that quantizes the difference signal, and a locally decoded signal that adds the quantized signal and the aforementioned predicted signal. A predictor that stores the locally decoded signal and generates a plurality of predicted signals, and a predictor that stores the locally decoded signal and generates a plurality of predicted signals, and a device that prevents the decoding errors caused by the aforementioned prediction error signal and transmission error from continuing over time. A code conversion circuit that encodes a refresh signal indicating whether to execute or stop the refresh that is intended to be performed, and a refresh signal that is generated at regular intervals based on the amount of generated code in the code conversion circuit when there is a surplus in the amount of generated code. a refresh determination circuit that determines the optimal prediction method for that pixel from a plurality of prediction signals output from the aforementioned predictor and a local decoded signal generated by the aforementioned adder; A circuit that writes a specific signal only when it receives the above-mentioned refresh signal, and is ideal for generating the next predicted signal from the optimal prediction method corresponding to the encoded pixel signal stored there. The estimation circuit estimates a prediction method, and from the estimation result, extracts one prediction signal from the plurality of prediction signals generated by the above-mentioned predictor and supplies it to the above-mentioned difference unit and adder as the above-mentioned prediction signal. An encoding device using a predictive encoding method, characterized by having a selector having a function of supplying a predicted signal based on a predetermined prediction method when a signal is received.
(3)伝送されて来た符号を変換し予測誤差信号とリフ
レッシュ信号とを発生する逆変換符号化回路と、その予
測誤差信号と予測信号とを加え合わせて復号信号を発生
する加算器と、その復号信号を記憶しておき複数の予測
信号を発生する予測器と、その予測器から出力される複
数個の予測信号と前述の加算器により得られる復号信号
からその画素の最適だった予測方式を判定しておく回路
と、その結果を必要分記憶しておくが前述のリフレッシ
ュ信号を受けたときのみ特定の信号を書き込む回路と、
そこに記憶された符号化済みの画素信号に対応する最適
予測方式から参照パターンと呼ばれる情報を作成しつぎ
の予測信号を発生するのに最適な予測方式を推定する推
定回路と、その推定結果から前述の予測器より発生して
いる複数の予測信号をひとつ取り出し前述の差分器と加
算器に供給するが、前述のリフレッシュ信号を受けたと
きには予め決められた予測方法に基ずく予測信号を供給
する機能をもつ選択器をもつことを特徴とする予測符号
化方式の復号化装置。
(3) an inverse transform encoding circuit that converts the transmitted code and generates a prediction error signal and a refresh signal; an adder that adds the prediction error signal and the prediction signal to generate a decoded signal; A predictor that stores the decoded signal and generates a plurality of prediction signals, and a prediction method that is optimal for that pixel based on the plurality of prediction signals output from the predictor and the decoded signal obtained by the above-mentioned adder. a circuit that stores the results as needed, but writes a specific signal only when receiving the refresh signal mentioned above;
An estimation circuit that creates information called a reference pattern from the optimal prediction method corresponding to the encoded pixel signal stored therein and estimates the optimal prediction method for generating the next prediction signal, and an estimation circuit that estimates the optimal prediction method for generating the next prediction signal, and from the estimation result. One of the multiple prediction signals generated by the aforementioned predictor is extracted and supplied to the aforementioned difference device and adder, but when the aforementioned refresh signal is received, a prediction signal based on a predetermined prediction method is supplied. A predictive coding decoding device characterized by having a selector with functions.
JP59228630A 1984-10-30 1984-10-30 Adaptive type forecasting coding system and device for picture signal Pending JPS61107887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59228630A JPS61107887A (en) 1984-10-30 1984-10-30 Adaptive type forecasting coding system and device for picture signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59228630A JPS61107887A (en) 1984-10-30 1984-10-30 Adaptive type forecasting coding system and device for picture signal

Publications (1)

Publication Number Publication Date
JPS61107887A true JPS61107887A (en) 1986-05-26

Family

ID=16879347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59228630A Pending JPS61107887A (en) 1984-10-30 1984-10-30 Adaptive type forecasting coding system and device for picture signal

Country Status (1)

Country Link
JP (1) JPS61107887A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6392185A (en) * 1986-10-07 1988-04-22 Nippon Board Computer Kk Compression method for quantity of information on picture
JPH01307382A (en) * 1988-06-06 1989-12-12 Mitsubishi Electric Corp Encoding control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53137622A (en) * 1977-05-09 1978-12-01 Nippon Telegr & Teleph Corp <Ntt> Coding system between frames
JPS56109085A (en) * 1980-01-31 1981-08-29 Nec Corp Decoder for adaptive prediction for picture signal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53137622A (en) * 1977-05-09 1978-12-01 Nippon Telegr & Teleph Corp <Ntt> Coding system between frames
JPS56109085A (en) * 1980-01-31 1981-08-29 Nec Corp Decoder for adaptive prediction for picture signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6392185A (en) * 1986-10-07 1988-04-22 Nippon Board Computer Kk Compression method for quantity of information on picture
JPH01307382A (en) * 1988-06-06 1989-12-12 Mitsubishi Electric Corp Encoding control system

Similar Documents

Publication Publication Date Title
KR950011200B1 (en) Compression method of inderlace moving image signals
EP0542195B1 (en) Interframe predicting method and picture signal coding/decoding apparatus
KR950011199B1 (en) Progressive coding system
US5708511A (en) Method for adaptively compressing residual digital image data in a DPCM compression system
US4866510A (en) Digital video encoder
EP1059812B1 (en) Methods and apparatus for context-based inter/intra coding mode selection
CN1980393B (en) Image coding device, method and integrated circuit
KR100541623B1 (en) Prediction method and device with motion compensation
KR0178195B1 (en) Apparatus for encoding an image signal using vector quantization technique
KR20080086766A (en) Method and apparatus for encoding and decoding image using context model of pixel unit
KR20010053814A (en) Apparatus and method for selecting coding type of a imagecoding system
JPH07143495A (en) Coder for moving image
JPS61107887A (en) Adaptive type forecasting coding system and device for picture signal
JP2897082B2 (en) Motion compensation variable length coding
JPH08154250A (en) Moving image coder
JP2797411B2 (en) Encoding device
KR100207391B1 (en) Image coding system and moving information detecting method using adaptive vector quantization
JP2551660B2 (en) Image signal transmission device
JP4326758B2 (en) Moving picture coding apparatus and moving picture decoding apparatus
JPH02288695A (en) Picture coding and decoding device
JPH02913B2 (en)
EP0379038B1 (en) Image signal decoding apparatus
JP2590162B2 (en) High-efficiency image coding system
JP3189068B2 (en) Image data encoding
KR100209133B1 (en) Imgae decoder having functions for reconstructing error of motion vectors