JPH0133994B2 - - Google Patents

Info

Publication number
JPH0133994B2
JPH0133994B2 JP55111265A JP11126580A JPH0133994B2 JP H0133994 B2 JPH0133994 B2 JP H0133994B2 JP 55111265 A JP55111265 A JP 55111265A JP 11126580 A JP11126580 A JP 11126580A JP H0133994 B2 JPH0133994 B2 JP H0133994B2
Authority
JP
Japan
Prior art keywords
signal
signal line
input
value
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.)
Expired
Application number
JP55111265A
Other languages
Japanese (ja)
Other versions
JPS5737988A (en
Inventor
Akira Hirano
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP11126580A priority Critical patent/JPS5737988A/en
Publication of JPS5737988A publication Critical patent/JPS5737988A/en
Publication of JPH0133994B2 publication Critical patent/JPH0133994B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures

Description

【発明の詳細な説明】 本発明はテレビジヨン信号符号化装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a television signal encoding apparatus.

テレビジヨン信号のデイジタル伝送においては
隣接するフレームの差分信号を符号化して伝送す
るというフレーム間符号化を用いることにより通
常のPCMを用いる場合にくらべて伝送ビツト数
を大幅に削減する(帯域圧縮と称する)ことがで
き、特に動きの小さな絵において、大きな圧縮率
(PCMに対して伝送ビツト数が削減される比率)
を得ることができる。しかし、動きの大きな絵に
ついては、隣接するフレーム間で差分信号が大き
くなるため上述の圧縮率が低下するという欠点が
ある。
In the digital transmission of television signals, the number of transmission bits is significantly reduced compared to when using normal PCM by using interframe coding, which encodes and transmits the differential signal of adjacent frames (bandwidth compression and This allows for a large compression ratio (ratio in which the number of transmitted bits is reduced compared to PCM), especially for pictures with small movements.
can be obtained. However, for pictures with large movements, there is a drawback that the compression ratio described above decreases because the difference signal between adjacent frames becomes large.

この対策として「適応予測符号化」というもの
が考えられている。この方式は入力テレビジヨン
信号をブロツクに分割し、個々のブロツクについ
て発生された複数の予測信号の中から前記ブロツ
クに対して最も類似度の高い最適予測信号を1つ
選び入力テレビジヨン信号を予測符号化するもの
である。この適応予測符号化の1種として「動き
補正フレーム間符号化」がある。この方式は、テ
レビジヨン画像の動き(動ベクトル)を検出し前
フレーム信号を動ベクトルだけシフトさせ(この
動ベクトルだけシフトされた信号が前記最適予測
信号に相当する)、入力テレビジヨン信号との差
信号を動ベクトルとを符号して伝送するものであ
る。
As a countermeasure to this problem, something called "adaptive predictive coding" is being considered. This method divides the input television signal into blocks, and selects one optimal prediction signal with the highest similarity to the block from among multiple prediction signals generated for each block to predict the input television signal. It is something that is encoded. One type of adaptive predictive coding is "motion compensated interframe coding." This method detects the motion (motion vector) of the television image, shifts the previous frame signal by the motion vector (the signal shifted by this motion vector corresponds to the optimal predicted signal), and then The difference signal and the motion vector are encoded and transmitted.

以下においてはこの「動き補正フレーム間符号
化」を例にとり本発明を詳細に説明する。
The present invention will be explained in detail below by taking this "motion compensated interframe coding" as an example.

動き補正フレーム間符号化においては画像の動
き(動ベクトル)の検出は次のように行われる。
すなわちTV画像を小さなブロツクに分割し、
各々のブロツクについて、TV画面上で同一の位
置を基準として前フレーム信号をシフトさせ(こ
のシフト量をシフトベクトルと称する。またこの
シフトされたフレーム信号は前記予測信号に相当
する)て、現フレームのブロツクの信号との差分
をとり、この差分信号より評価関数の値を求め評
価関数値(以下評価値と略記する)が最小となる
シフトベクトルをもつてそのブロツクの動ベクト
ルとする。
In motion compensated interframe coding, image motion (motion vector) is detected as follows.
In other words, the TV image is divided into small blocks,
For each block, the previous frame signal is shifted based on the same position on the TV screen (this amount of shift is called a shift vector, and this shifted frame signal corresponds to the predicted signal), and the current frame is The difference from the signal of the block is taken, and the value of the evaluation function is determined from this difference signal, and the shift vector with which the evaluation function value (hereinafter abbreviated as evaluation value) is the minimum is taken as the motion vector of that block.

この場合上述の評価関数としては従来次の2つ
のものが用いられていた。
In this case, the following two evaluation functions have conventionally been used.

第1図を参照して説明すれば、図においてx→i
はTV画面上の画素位置を示す位置ベクトル、v→j
をシフトベクトル、Y(x→i)を画素xiにおける現
フレームの輝度値、Y′(x→i)は画素x→iにおける

フレームの輝度値を示す。
To explain with reference to Figure 1, in the figure x→ i
is a position vector indicating the pixel position on the TV screen, v→ j
is a shift vector, Y(x→ i ) is the brightness value of the current frame at pixel x i , and Y′(x→ i ) is the brightness value of the previous frame at pixel x→ i .

評価関数1(D1(v→j)) D1(v→j)= 〓i dij (1) 評価関数2(D2(v→j)) D2(v→j)= 〓i TH(dij) (2) ただし、dij=〔Y(x→i)−Y′(x→i+v→j
〕 TH(dij)=1(dij≧T(閾値)の時) 0(dij<Tの時) また(1)、(2)式においては 〓i はブロツク内の 画素についての積算を示す。
Evaluation function 1 (D 1 (v→ j )) D 1 (v→ j ) = 〓 i d i , j (1) Evaluation function 2 (D 2 (v→ j )) D 2 (v→ j ) = 〓 i TH(d i , j ) (2) However, d i , j = [Y(x→ i )−Y′(x→ i +v→ j )
] TH (d i , j )=1 (when d i , j ≧T (threshold)) 0 (when d i , j <T) Also, in equations (1) and (2), 〓 i is within the block This shows the integration for pixels.

ここで(1)、(2)式の意味を説明すると、(1)式は前
記差分信号の絶対値dii、をブロツク内の画素に
ついて積算した値を、シフトベクトルv→jに対す
る評価値とすることを示している。また(2)式は
dijが閾値Tを越えた画素数(すなわちv→jなる
シフトを行つたことにより閾値Tを越えた画素の
比率と考えてもよい。)をシフトベクトルv→jに対
する評価値とすることを示している。
Here, to explain the meaning of equations (1) and (2), equation (1) calculates the value obtained by integrating the absolute values d i , i of the difference signal for the pixels in the block, and calculates the value for the shift vector v→ j . It indicates that it is a value. Also, equation (2) is
The number of pixels for which d i , j exceeds the threshold T (that is, it can be considered as the ratio of pixels that exceed the threshold T by performing the shift v → j ) is the evaluation value for the shift vector v → j . It is shown that.

(1)式を用いると動ベクトルの検出精度が高く、
発生情報量の削減効果も大きいが、評価値の計算
や、評価値の大小比較に大きな演算精度を必要と
するため装置規模が大きくなるという欠点があ
る。たとえばブロツクサイズ4ライン×8画素、
差分絶対値dijの精度を8ビツトとすると、(1)式
の積算結果には13ビツトの精度が必要であり、
種々のシフトベクトルに対する13ビツト信号を比
較することとなる。
Using equation (1), the motion vector detection accuracy is high;
Although the effect of reducing the amount of generated information is large, the disadvantage is that the scale of the apparatus becomes large because calculation of evaluation values and comparison of evaluation values require high calculation precision. For example, if the block size is 4 lines x 8 pixels,
Assuming that the precision of the absolute difference values d i and j is 8 bits, the integration result of equation (1) requires a precision of 13 bits,
The 13-bit signals for various shift vectors will be compared.

(2)式はこの問題を解決するために(1)式を簡易化
したものであるが、(1)式にくらべると、特に動き
の大きな絵あるいはブロツクサイズを小さくした
場合に動ベクトルの検出精度が低下するという欠
点を有する。より一般的に述べれば、複数の予測
信号の中から最適でない予測信号をあやまつて選
択してしまう可能性が出てくる。
Equation (2) is a simplified version of Equation (1) in order to solve this problem, but compared to Equation (1), it is easier to detect motion vectors especially in pictures with large movements or when the block size is small. It has the disadvantage of reduced accuracy. More generally, there is a possibility that a non-optimal prediction signal may be mistakenly selected from among a plurality of prediction signals.

本発明の目的は上述の問題点を解決するため(f)
式よりは簡易でかつ(2)式よりも最適な予測の検出
精度の良い評価関数を用いたテレビジヨン信号符
号化装置を提供することにある。
The purpose of the present invention is to solve the above problems (f)
It is an object of the present invention to provide a television signal encoding device using an evaluation function that is simpler than the equation (2) and has a better detection accuracy for optimal prediction than the equation (2).

再び、動き補正フレーム間符号化方式を例にと
り、本発明の特徴を説明する。この場合には、動
ベクトルの検出においてTV画面上で現フレーム
の画素と同一の位置からシフトベクトルだけずれ
た位置にある前フレームの画素と前記現フレーム
の画素とのレベルを比較し、その相違の程度(た
とえば前記dij)を以下に述べる様に数値化し、
数値化された値をブロツク内の画素について積算
し評価値とすることにより動ベクトルを検出し動
き補正フレーム間符号化を行う。数値化の方法に
ついて説明する。本発明では、前記相違の程度dij
すなわちこのシフトベクトルが動ベクトルであつ
たと仮定したときの予測誤差信号電力に対応する
値を入力TV信号を表現するに必要なビツト数よ
りも少ないビツト数で表現できる値に変換するこ
とにより、(1)式と同等の効果を得るとともに、演
算精度を低減し、装置構成を簡易化している。
Again, the features of the present invention will be explained by taking the motion compensated interframe coding method as an example. In this case, in detecting a motion vector, the level of a pixel of the previous frame at a position shifted by the shift vector from the same position as the pixel of the current frame on the TV screen and the pixel of the current frame is compared, and the level of the pixel of the current frame is compared. Quantify the degree of (for example, d i , j ) as described below,
A motion vector is detected by integrating the digitized values for pixels within a block to obtain an evaluation value, and motion-compensated interframe coding is performed. The method of digitization will be explained. In the present invention, the degree of difference d ij
That is, by converting the value corresponding to the prediction error signal power when this shift vector is a motion vector into a value that can be expressed with a smaller number of bits than the number of bits required to express the input TV signal, ( While obtaining the same effect as formula 1), the calculation accuracy is reduced and the device configuration is simplified.

本発明によれば前記(1)式を評価関数として用い
た場合よりも装置規模が小となりかつ(1)式と同等
の動ベクトル検出精度、一般にいえば最適予測信
号の検出精度が得られる。すなわち(1)式と同等の
符号化能率が得られるという利点がある。
According to the present invention, the apparatus scale is smaller than when the above equation (1) is used as the evaluation function, and the motion vector detection accuracy equivalent to that of the equation (1), generally speaking, the optimum prediction signal detection accuracy can be obtained. In other words, there is an advantage that encoding efficiency equivalent to that of equation (1) can be obtained.

次に本発明の原理について説明する。まず(2)式
の検出精度が1式よりも劣る理由から説明する。
Next, the principle of the present invention will be explained. First, the reason why the detection accuracy of equation (2) is inferior to equation 1 will be explained.

動ベクトル検出の評価関数としては、その値で
ある評価値が小さくなるほど被伝送情報量が少く
なるという関係のあるものを用いる必要がある。
その点から見て(1)式は最も理にかなつた評価関数
であるとされている。しかるに(2)式においては差
分絶対値dijが閾値を越えたか否かについてしか
考慮しておらず、dijの大きさ、すなわち誤差電
力の大小はほとんど無視されている。これが検出
精度が(1)式に及ばない理由である。したがつて
dijの大きさをも考慮した評価関数((1)式がこれ
にあたる)を用いれば(2)式よりも動ベクトルの検
出精度が向上する。
As the evaluation function for motion vector detection, it is necessary to use one that has a relationship such that the smaller the evaluation value, the smaller the amount of information to be transmitted.
From this point of view, equation (1) is said to be the most logical evaluation function. However, in equation (2), only consideration is given to whether or not the absolute difference value d i , j exceeds a threshold, and the magnitude of d i , j , that is, the magnitude of the error power, is almost ignored. This is the reason why the detection accuracy is not as high as that of equation (1). Therefore
If an evaluation function (equation (1) corresponds to this) that also takes into account the magnitudes of d i and j is used, the motion vector detection accuracy will be improved compared to the expression (2).

本発明においてはNoビツトで表わされている
差分絶対値dijをN(1<N<No)ビツトで表現
可能な信号eijに変換してブロツク内の画素につ
いて積算し、積算した値を評価値とする。
In the present invention, the absolute difference value di , j expressed by No bits is converted into a signal e i , j that can be expressed by N (1<N<No) bits, and the signals are integrated for the pixels in the block. The accumulated value is the evaluation value.

ここでdijの変換についてより具体的に説明す
る。本発明においてはdijの大きさも考慮して変
換を行う。いいかえればdijに対して次に述べる
様な変換を行いdijより少いビツト数で表現でき
る信号eijに変換する。すなわちdijの値のその
大きさに応じて少くとも3個以上のグループ(そ
の大きさは必ずしも同一ではない)に分け、小さ
なdijは小さなグループに、大きなdijは大きき
なグループに所属させ、また各々のグループに対
してその大きさに応じて1つの値を与える。すな
わち小さなグループには小さな値を、大きなグル
ープには大きな値を与える。この変換の1例を第
2図に示す。第2図において横軸はdij縦軸は変
換出力eijである。第2図は8ビツトのdij信号
を3ビツトで表現可能なeij信号に変換する1例
を示している。
Here, the conversion of d i and j will be explained in more detail. In the present invention, the conversion is performed taking into consideration the sizes of d i and j . In other words, d i , j is converted as described below to convert it into a signal e i , j that can be expressed with a smaller number of bits than d i , j . In other words, the values of d i , j are divided into at least three groups (the sizes are not necessarily the same) according to the size of the values, and small d i , j are grouped into small groups, and large d i , j are grouped into small groups. They are made to belong to large groups, and each group is given one value depending on its size. In other words, a small value is given to a small group, and a large value is given to a large group. An example of this conversion is shown in FIG. In FIG. 2, the horizontal axis is d i , and the vertical axis is conversion output e i , j . FIG. 2 shows an example of converting an 8-bit di, j signal into a 3-bit e i , j signal.

ここで前記グループの数を3個以上と限定する
理由を説明する。
Here, the reason why the number of groups is limited to three or more will be explained.

グループの個数を2とするとこの場合は結果的
に前述の(2)式と同一の方法となるが、この方法で
は前述した通り(1)式及び本発明による方法にくら
べて動ベクトル検出精度が劣るという事情によ
る。このような変換を行う理由は、大きなdij
発生する場合は、TV画像の動ベクトルとは大き
く異つたシフトベクトルについて評価値の計算が
行われる場合であるため、動ベクトル検出の精度
にはほとんど影響しないこと、また動ベクトルに
近いシフトベクトルに対しては小さな値のdij
多く発生するので、小さなdijの値を忠実に評価
値に反映させなければ正確な動ベクトルが検出が
行なえなくなるのである。このような変換を行え
ば、(1)式と同様の動ベクトル検出精度を保ちつ
つ、(1)式を用いた場合よりも小さな装置規模(具
体的には積算を行うために必要なアキユムレータ
への入力信号線の数が減少することから、アキユ
ムレータの容量、及び評価値の大小比較に必要な
コンパレーターの演算ビツト数が減少する。)で、
動ベクトル検出を行える。
If the number of groups is 2, the result in this case is the same method as the above-mentioned equation (2), but as mentioned above, this method has a higher motion vector detection accuracy than the above-mentioned equation (1) and the method according to the present invention. It depends on the circumstances of being inferior. The reason for performing such a conversion is that when large d i , j occurs, the evaluation value is calculated for a shift vector that is significantly different from the motion vector of the TV image, so the accuracy of motion vector detection In addition, small values of d i and j occur frequently for shift vectors close to the motion vector, so unless the small values of d i and j are faithfully reflected in the evaluation value, it will not be accurate. The motion vector cannot be detected. By performing such conversion, while maintaining the same motion vector detection accuracy as in equation (1), it is possible to reduce the equipment size (specifically, the accumulator required for integration) to be smaller than when using equation (1). Since the number of input signal lines is reduced, the capacity of the accumulator and the number of operation bits of the comparator required for comparing the magnitude of the evaluation value are reduced.)
Can perform motion vector detection.

なお以上の説明において、前記相違の程度は前
記dijで評価するものとして説明したが他の尺度
たとえば(dij2などを用いても全く同様であ
る。ここで一言つけ加えれば装置を簡単にするだ
けであれば前記dijの下位ビツトを切すてて、上
位ビツトのみを積算し評価値とする方法が容易に
考えられる。しかしこの方法では演算精度を低下
させたたけであり、dijの値を忠実に評価値に反
映させているとは言い難く、本発明の方法とくら
べると動ベクトル検出精度は低い。
In the above explanation, the degree of difference was described as being evaluated by the above-mentioned d i , j , but the same effect can be obtained using other scales such as (d i , j ) 2 . I would like to add a comment here: If you want to simply simplify the device, it is easy to think of a method of cutting off the lower bits of d i and j and integrating only the higher bits to obtain the evaluation value. However, this method only reduces the calculation accuracy, and it cannot be said that the values of d i and j are faithfully reflected in the evaluation value, and the motion vector detection accuracy is lower than the method of the present invention.

以上述べた通り本発明によれば(1)式を評価関数
に用いた場合よりも装置規模が小さくなりまた(2)
式よりも動ベクトルの検出精度が向上する。
As described above, according to the present invention, the scale of the device is smaller than when formula (1) is used as the evaluation function, and (2)
The motion vector detection accuracy is improved compared to the formula.

次に本発明の実施例について説明する。 Next, examples of the present invention will be described.

第3図は本発明を動き補正フレーム間符号化装
置に適用した場合の一実施例を示すブロツク図で
ある。第3図において予測信号発生部11、第2
の符号器18、及びマルチプレクサ20を除いて
フレームメモリ14の出力を信号線16につなげ
ば従来のフレーム間符号化装置と全く同一の構成
となる。従つて、以下の説明では本発明に特有な
構成部分について詳しく述べる。
FIG. 3 is a block diagram showing an embodiment in which the present invention is applied to a motion compensated interframe coding device. In FIG. 3, the prediction signal generator 11, the second
If the output of the frame memory 14 is connected to the signal line 16 except for the encoder 18 and the multiplexer 20, the configuration becomes exactly the same as the conventional interframe encoding device. Therefore, in the following description, components specific to the present invention will be described in detail.

第3図においては、A/D(アナログ−デジタ
ル)変換されたテレビジヨン信号(以下簡単のた
めTV信号と略記する)が端子1より入力される
ものとする。端子1から入力されたTV信号は遅
延回路3および予測信号発生部11に与えられ
る。遅延回路3は予測信号発生部11から信号線
16を介して出力される予測信号と、端子1から
入力されるTV信号とのタイミングを合わせるた
めに使用される。遅延回路3から信号線4により
出力された遅延されたTV信号は減算器5におい
て予測信号発生部11から信号線16により出力
された予測信号との差分がとられ、この差分信号
(予測誤差信号と称する)は信号線6により量子
器7に入力され、量子化されて信号線8を介して
第1の符号器9および加算器17に入力される。
ここで、第1の符号器9は従来のフレーム間符号
化装置で用いられるものと同様に量子化された予
測誤差信号を不等長符号化するものである。信号
線8に入力された量子化された予測誤差信号は符
号化されて信号線10に出力される。一方、量子
化された予測誤差信号は信号線8を介して加算器
17に与えられ、予測信号発生部11から信号線
16に出力された予測信号と加算されて局部復号
され信号線13を介してフレームメモリ14に書
き込まれ、次のフレームにおいて、予測信号発生
部11が予測信号を発生するために用いられる。
予測信号発生部11は信号線2を介して入力され
る入力テレビジヨン信号と、信号線15を介して
入力される1フレーム前の信号とから、前述した
動ベクトル検出を行い、予測信号を信号線16に
出力する。また、予測信号発生部11は検出され
た動ベクトルを示す信号を信号線19を介して第
2の符号器18に与える。第2の符号器18は入
力された信号を符号化、例えば、不等長符号化し
て信号線12に出力する。
In FIG. 3, it is assumed that an A/D (analog-digital) converted television signal (hereinafter abbreviated as TV signal for simplicity) is input from terminal 1. A TV signal input from terminal 1 is given to delay circuit 3 and predictive signal generator 11 . The delay circuit 3 is used to synchronize the timing of the prediction signal output from the prediction signal generator 11 via the signal line 16 and the TV signal input from the terminal 1. The delayed TV signal output from the delay circuit 3 through the signal line 4 is subtracted by a subtracter 5 from the prediction signal output from the prediction signal generator 11 through the signal line 16, and this difference signal (prediction error signal ) is input to a quantizer 7 via a signal line 6, quantized, and input via a signal line 8 to a first encoder 9 and an adder 17.
Here, the first encoder 9 performs unequal length encoding on the quantized prediction error signal, similar to that used in a conventional interframe encoding device. The quantized prediction error signal input to the signal line 8 is encoded and output to the signal line 10. On the other hand, the quantized prediction error signal is given to the adder 17 via the signal line 8, added to the prediction signal output from the prediction signal generator 11 to the signal line 16, locally decoded, and sent via the signal line 13. The predicted signal generator 11 is used to generate a predicted signal in the next frame.
The predicted signal generator 11 performs the above-mentioned motion vector detection from the input television signal inputted via the signal line 2 and the signal of one frame before inputted via the signal line 15, and converts the predicted signal into a signal. Output on line 16. Further, the predicted signal generating section 11 supplies a signal indicating the detected motion vector to the second encoder 18 via the signal line 19. The second encoder 18 encodes the input signal, for example, performs unequal length encoding, and outputs the encoded signal to the signal line 12 .

信号線12に出力された符号化された動ベクト
ルは、信号線10に出力されている符号化された
予測誤差信号とマルチプレクサ20において多重
化されて信号線21に送出される。信号線21の
多重化された信号は伝送路の伝送速度との速度整
合をとるための送信側バツフアメモリ22に書き
込まれ、送信側バツフアメモリ22に書き込まれ
た信号は伝送路の伝送速度で読み出され伝送路2
3に送出される。
The encoded motion vector outputted to the signal line 12 is multiplexed with the encoded prediction error signal outputted to the signal line 10 in the multiplexer 20 and sent to the signal line 21. The multiplexed signal on the signal line 21 is written to a transmitting side buffer memory 22 for speed matching with the transmission speed of the transmission line, and the signal written to the transmitting side buffer memory 22 is read out at the transmission speed of the transmission line. Transmission line 2
Sent on 3rd.

次に第4図を参照して予測信号発生部11につ
いて説明する。なお、以下においてはTV信号の
水平走査線を複数本パラレルに処理する例につい
て説明する。このパラレル処理の単位はブロツク
の縦方向のサイズ(本実施例においては、ブロツ
クサイズは4水平走査線×8画素として説明する
ので、4となる)と一致するが、特に走査線単位
に分割して説明する必要がある場合を除き、例え
ば、第4図の信号線45のように1本の太い線で
代表して表示する。
Next, the predicted signal generating section 11 will be explained with reference to FIG. Note that an example in which a plurality of horizontal scanning lines of a TV signal are processed in parallel will be described below. The unit of this parallel processing matches the vertical size of the block (in this example, the block size is explained as 4 horizontal scanning lines x 8 pixels, so it is 4), but in particular, it is divided into scanning line units. Unless it is necessary to explain otherwise, for example, a single thick line such as the signal line 45 in FIG. 4 will be used as a representative.

第3図の端子1から入力された入力TV信号は
第1のメモリ40に書き込まれ動ベクトルの検出
が行われる毎に、ブロツクの縦方向サイズ(すな
わち4ライン)だけ並列に読み出され信号線45
に出力される。
The input TV signal input from terminal 1 in FIG. 45
is output to.

メモリ部41には、フレームメモリ14から信
号線15を介して1フレーム前の信号が入力され
動ベクトルの検出が行われる毎に、制御回路42
から信号線53〜55を介して与えられる前述シ
フトベクトルに対応するシフト制御信号が入力さ
れる。メモリ部41は、現フレームのブロツクに
対応したTV画面上の位置を基準として前記シフ
ト制御信号に応じてずれた位置の前フレームの信
号を抜き出して、信号線46〜48に出力する。
すなわち、信号線53のシフト制御信号に応じて
シフトされた前フレーム信号は信号線46、信号
線54のシフト制御信号に応じてシフトされた前
フレームは信号線47に出力される。信号線55
と信号線48についても同様である。
A signal from one frame before is inputted from the frame memory 14 to the memory unit 41 via the signal line 15, and every time a motion vector is detected, the control circuit 42
A shift control signal corresponding to the above-mentioned shift vector given via signal lines 53 to 55 is input from. The memory section 41 extracts the signal of the previous frame at a position shifted according to the shift control signal with reference to the position on the TV screen corresponding to the block of the current frame, and outputs it to signal lines 46-48.
That is, the previous frame signal shifted in response to the shift control signal on the signal line 53 is output to the signal line 46, and the previous frame signal shifted in response to the shift control signal on the signal line 54 is output to the signal line 47. signal line 55
The same applies to the signal line 48.

検出器43は信号線45を介して送られてくる
現フレームの信号と信号線46〜48を介して与
えられる前記シフトベクトルに相当する量だけシ
フトされた信号群とから、前述の評価値を信号線
53〜55を介して入力されたシフトベクトルに
ついて計算して、評価値が最小となるシフトベク
トルを求め、信号線51を介して制御回路42に
与える。
The detector 43 calculates the aforementioned evaluation value from the signal of the current frame sent via the signal line 45 and the signal group shifted by an amount corresponding to the shift vector given via the signal lines 46 to 48. The shift vectors input via the signal lines 53 to 55 are calculated to find the shift vector with the minimum evaluation value, and the shift vector is provided to the control circuit 42 via the signal line 51.

さらに、動き検出が終了した時点において制御
回路42は検出器43から信号線51を介して与
えられてくる評価関数値が最小となつたシフトベ
クトル(動ベクトル)をそのまま信号線19へ送
出し、また、信号線49を介してメモリ部41に
アドレスを供給する。メモリ部41は信号線57
により与えられた動ベクトル信号に応じて前フレ
ームの信号をシフトさせた信号を出力し、第2の
メモリ44に入力する。また、制御回路42は信
号線52を介してアドレスを第2のメモリ44に
供給し、第2のメモリ44に予測信号が書き込ま
れる。第2のメモリ44からは予測信号が読み出
され、信号線16を介して第3図の減算器5およ
び加算器17の与えられる。以上の動作が終了し
たあとに制御回路42は信号線53〜55にふた
たびシフトベクトルに相当するシフト制御信号を
出力し、また、第1のメモリ40およびメモリ部
42に信号線49,50を介して次のブロツクの
アドレスを供給し、次のブロツクに対する動き検
出および予測信号発生が行われる。
Further, at the time when the motion detection is completed, the control circuit 42 sends the shift vector (motion vector) with the minimum evaluation function value given from the detector 43 via the signal line 51 to the signal line 19 as it is. Further, an address is supplied to the memory section 41 via a signal line 49. The memory section 41 is connected to the signal line 57
A signal obtained by shifting the signal of the previous frame according to the motion vector signal given by is outputted and inputted to the second memory 44. Further, the control circuit 42 supplies the address to the second memory 44 via the signal line 52, and the prediction signal is written into the second memory 44. A prediction signal is read out from the second memory 44 and provided to the subtracter 5 and adder 17 in FIG. 3 via the signal line 16. After the above operations are completed, the control circuit 42 outputs the shift control signal corresponding to the shift vector to the signal lines 53 to 55 again, and also outputs the shift control signal corresponding to the shift vector to the first memory 40 and the memory section 42 via the signal lines 49 and 50. provides the address of the next block, and motion detection and prediction signal generation for the next block is performed.

次に第5図を参照してメモリ部41の動作を説
明する。第3図のフレームメモリ14から信号線
15を介して与えられた前フレームの信号は第3
のメモリ60に書き込まれ、信号線49を介して
制御回路42からアドレス信号および読み出し信
号が入力される毎に信号線64に出力される。こ
こで、信号線64によりパラレルに出力される信
号の数は、ブロツクの縦方向のサイズを4ライン
とし、また、TV画面上で、垂直方向に上下4ラ
インまでの範囲まで動き検出を行うとすれば12と
なる。
Next, the operation of the memory section 41 will be explained with reference to FIG. The previous frame signal applied from the frame memory 14 in FIG. 3 via the signal line 15 is the third
, and is output to the signal line 64 every time an address signal and a read signal are input from the control circuit 42 via the signal line 49. Here, the number of signals output in parallel through the signal line 64 is based on the assumption that the vertical size of the block is 4 lines, and that motion detection is performed up to 4 lines above and below in the vertical direction on the TV screen. Then it becomes 12.

信号線64上の信号は、可変遅延回路61〜6
3に与えられる。ここで、可変遅延回路の個数M
は、もしすべてのシフトベクトル(M′ケ、TV画
面上で垂直方向に上下4ライン、水平方向に左右
4ラインの範囲までの動き検出を行うとすれば8
1ケ)についての評価値の計算を並列に一回の演
算で行うものとすればM=M′となる。検出を複
数回に分けて行うこともできるが、この場合につ
いては後述する。
The signal on the signal line 64 is transmitted to variable delay circuits 61 to 6.
given to 3. Here, the number M of variable delay circuits
If all shift vectors (M') are to be detected within a range of 4 lines vertically up and down and 4 lines left and right horizontally on the TV screen, then 8
If the calculation of the evaluation value for item 1) is performed in parallel in one operation, M=M'. Although detection can be performed in multiple steps, this case will be described later.

可変遅延回路61〜63、164は信号線64
を介して入力された信号からそれぞれ信号線53
〜55,19を介して入力されたシフト制御信号
に応じてシフトされた前記フレーム信号を抜き出
してそれぞれ信号線46〜48,57に与える。
The variable delay circuits 61 to 63, 164 are connected to the signal line 64.
from the signal input via the signal line 53.
The frame signals shifted in accordance with the shift control signals inputted through lines 46 to 48 and 57 are extracted and applied to signal lines 46 to 48 and 57, respectively.

可変遅延回路61〜63,164については第
6図を参照して説明する。但し、可変遅延回路6
1〜63,164の動作は、相互に全く同様であ
るので可変遅延回路61についてのみ説明する。
また、以上の説明では、図面上では信号線64は
1本の線で代表させていたが、ここでは12水平走
査線のデータがパラレルに可変遅延回路61に入
力される場合(例えば、ブロツクの縦方向サイズ
が4水平走査線で上下に4水平走線まで動き検出
を行う場合)について説明する。したがつて、信
号線64を分けて図面の上から641〜6412
表示する。また、以上の説明においては、信号線
53〜55はそれぞれテレビジヨン画面上の縦方
向と横方向の各々について最大のシフト量を表現
するのに必要なビツト数に相当する数だけ線が必
要であるが、説明簡単化のため1本の線で代表さ
せた。ここでは、横方向のシフト制御信号が送ら
れる線を531、縦方向のシフト制御信号が送ら
れる線を532として示す。
The variable delay circuits 61-63, 164 will be explained with reference to FIG. However, variable delay circuit 6
Since the operations of circuits 1 to 63 and 164 are completely similar to each other, only the variable delay circuit 61 will be described.
Furthermore, in the above explanation, the signal line 64 is represented by one line in the drawing, but here, the data of 12 horizontal scanning lines is input to the variable delay circuit 61 in parallel (for example, when the data of 12 horizontal scanning lines is input to the variable delay circuit 61 in parallel) A case where the vertical size is 4 horizontal scanning lines and motion detection is performed up to 4 horizontal scanning lines vertically will be described. Therefore, the signal lines 64 are divided and indicated as 64 1 to 64 12 from the top of the drawing. In addition, in the above explanation, each of the signal lines 53 to 55 requires a number of lines corresponding to the number of bits necessary to express the maximum shift amount in each of the vertical and horizontal directions on the television screen. However, to simplify the explanation, I have used one line to represent it. Here, the line to which the horizontal shift control signal is sent is shown as 53 1 , and the line to which the vertical shift control signal is sent is shown as 53 2 .

第6図において、信号線645〜648が現フレ
ームのブロツクに対応するものとする(すなわ
ち、縦方向の動きが0であつた場合に信号線64
〜648上の信号が予測信号として選ばれる)。
また、便宜上64Nの添字Nが小さいほどTV画
面上では上にあるものと定義する。
In FIG. 6, it is assumed that signal lines 64 5 to 64 8 correspond to blocks of the current frame (i.e., when the vertical movement is 0, signal lines 64 5 to 64 8
The signal above 5 to 64 8 is selected as the predicted signal).
Also, for convenience, it is defined that the smaller the subscript N of 64N is, the higher it is on the TV screen.

信号線532が縦方向1ライン上にシフトして
出力させる制御回路が送られて来る場合には、マ
ルチプレクサ70は信号線644の信号を信号線
82に出力し、マルチプレクサ71は信号線64
の信号を信号線83に出力し、同様にマルチプ
レクサ72,73はそれぞれ信号線646,647
の信号を信号線84,85に出力する。他の値の
縦方向シフト制御信号が入力された場合も同様に
して、信号線645〜648を基準としてその値だ
けずれた位置の信号線の信号が、信号線82〜8
5に出力される。
When a control circuit is sent that shifts the signal line 532 up one line in the vertical direction and outputs it, the multiplexer 70 outputs the signal on the signal line 644 to the signal line 82, and the multiplexer 71 outputs the signal on the signal line 644.
Similarly , the multiplexers 72 and 73 output the signals 64 6 and 64 7 to the signal lines 64 6 and 64 7 respectively.
The signals are output to signal lines 84 and 85. Similarly, when a vertical shift control signal with another value is input, the signal on the signal line at a position shifted by that value with respect to the signal lines 64 5 - 64 8 is transferred to the signal lines 82 - 8 .
5 is output.

以上説明したマルチプレクサ70〜73で構成
される回転の動作は、基本的には
POSITIONSCALER(例えば、シグネテツクス
社により1976年発行された″SIGNETICS
DATA MANUAL”の第267頁−第270頁の8−
BIT POSITION SCALER N8245)と全く同一
であるので第5図の第3のメモリ60のパラレル
出力ライン数が少ない場合には、上述の集積回路
を用いることもできる。
The rotation operation made up of the multiplexers 70 to 73 explained above is basically
POSITIONSCALER (e.g. “SIGNETICS” published in 1976 by Signetex)
DATA MANUAL” page 267-page 270-8-
BIT POSITION SCALER N8245), so if the number of parallel output lines of the third memory 60 in FIG. 5 is small, the above-mentioned integrated circuit can also be used.

第6図においては、参照数字86,87,88
および89で示された部分の動作は全く同一であ
るので参照数字86で示す部分についての動作の
説明する。
In Figure 6 reference numerals 86, 87, 88
Since the operations of the parts indicated by reference numeral 86 and 89 are exactly the same, the operation of the part indicated by reference numeral 86 will be explained.

信号線82に出力された信号はタツプ付シフト
レジスタ74に入力される。ここで、このシフト
レジスタのタツプ数は、横方向の速度検出の最大
範囲により決定される。例えば、左右4サンプル
まで横方向の動きを検出する場合タツプ数は9と
なる。シフトレジスタ74の各タツプから出力さ
れた信号はパラレルにマルチプレクサ78に与え
られる。マルチプレクサ78は信号線531を介
して入力される横方向のシフト制御信号に応じて
各入力のうち1本を信号線461に出力する。こ
のようにして、現フレーム信号のブロツクに対し
て信号線531,532のシフト制御信号に応じて
シフトされた前フレームの信号を得ることができ
る。
The signal output to the signal line 82 is input to the shift register 74 with taps. Here, the number of taps of this shift register is determined by the maximum range of velocity detection in the lateral direction. For example, when detecting lateral movement up to 4 samples on the left and right, the number of taps is 9. The signals output from each tap of shift register 74 are applied in parallel to multiplexer 78. The multiplexer 78 outputs one of each input to the signal line 46 1 in response to a horizontal shift control signal input via the signal line 53 1 . In this way, it is possible to obtain the previous frame signal shifted in response to the shift control signals on the signal lines 53 1 and 53 2 with respect to the current frame signal block.

次に第7図を参照して検出器43の動作を説明
する。メモリ部41に関連して述べたとおり、本
発明においては、動ベクトルの検出を並列の演算
1回で行うか、または数回に分けて行うかで2通
りの構成の採用が考えられるが、まず、並列の演
算1回で行う場合について述べる(この場合、レ
ジスタ102およびレジスタ103は不要とな
る。また、信号線98および信号線99も不要と
なる。
Next, the operation of the detector 43 will be explained with reference to FIG. As described in relation to the memory unit 41, in the present invention, two configurations can be considered, depending on whether the motion vector detection is performed in one parallel operation or in several parallel operations. First, a case will be described in which a single parallel operation is performed (in this case, the registers 102 and 103 are unnecessary. Also, the signal lines 98 and 99 are also unnecessary.

信号線46〜48上の信号はそれぞれ演算部9
2〜94に入力される。一方、演算部92〜94
には信号線45を介して現フレームのブロツクの
信号が入力され、前述の評価値が計算される。計
算結果はそれぞれ信号線95〜97により比較部
100に与えられる。また、比較部100には信
号線53〜55を介してシフト制御信号(それぞ
れ信号線46〜48を介して入力されるシフトさ
れた前フレームのシフト量に対応する)が入力さ
れており、比較部100は、信号線95〜97を
介して入力される評価値を比較し最も評価値が小
さいものに対応するシフト制御信号を信号線51
に出力する(例えば、信号線95を介して与えら
れる評価値が最小であれば信号線53のシフト制
御信号を信号線51に出力する)。
The signals on the signal lines 46 to 48 are respectively sent to the calculation unit 9.
2 to 94 are input. On the other hand, calculation units 92 to 94
A block signal of the current frame is inputted to the block through the signal line 45, and the above-mentioned evaluation value is calculated. The calculation results are provided to the comparator 100 via signal lines 95 to 97, respectively. In addition, shift control signals (corresponding to the shift amount of the shifted previous frame input via signal lines 46 to 48, respectively) are input to the comparison unit 100 via signal lines 53 to 55, and The unit 100 compares the evaluation values input via the signal lines 95 to 97 and transmits a shift control signal corresponding to the one with the smallest evaluation value to the signal line 51.
(For example, if the evaluation value given via the signal line 95 is the minimum, the shift control signal of the signal line 53 is output to the signal line 51).

次に動ベクトルの検出を数回に分けて行う場合
について説明する。但し、演算部92〜94の動
作については全く同じであるので説明は省略す
る。この場合、第1回目においては、信号線95
〜97を介して入力された評価値の最小値が信号
線101を介してレジスタ102に与えられる。
また、信号線51を介して出力されたシフト制御
信号はレジスタ103に与えられる。第2回目に
おいては、次に評価値がもとめられるシフトベク
トルに対応するシフト制御信号が与えられ、対応
する評価値が演算部92〜94でもとめられ比較
部100に与えられる。比較部100は信号線9
5〜97を介して与えられる第2回目の演算結果
(すなわち、第2回目に入力されたシフト制御信
号に対する演算結果)とレジスタ102から信号
線98により入力される第1回目の検出による最
小値との比較がなされる(第1回目の最小値を示
すシフトベクトルも信号線99を介してレジスタ
103から入力される)。したがつて、第2回目
以降からは信号線95〜97及び98を介して入
力される評価関数について比較が行われ、すべて
のシフトベクトルについて評価値の計算が終了す
るまで続けられる。なお第1回目においては信号
線98から入力される信号が存在しないが、第1
回目にはレジスタ102を強制的に評価関数が取
りうる最大値にセツトしておけば、第1回目で信
号線98を介して入力される値が最小値となるこ
とはない。
Next, a case will be described in which motion vector detection is performed in several steps. However, since the operations of the calculation units 92 to 94 are exactly the same, a description thereof will be omitted. In this case, in the first time, the signal line 95
The minimum value of the evaluation values input through 97 is given to the register 102 through the signal line 101.
Further, a shift control signal outputted via the signal line 51 is given to the register 103. At the second time, a shift control signal corresponding to a shift vector for which an evaluation value is to be obtained next is applied, and the corresponding evaluation value is obtained by calculation units 92 to 94 and applied to comparison unit 100. The comparison section 100 is connected to the signal line 9
5 to 97 (that is, the result of the operation for the shift control signal input the second time) and the minimum value from the first detection input from the register 102 through the signal line 98. (The shift vector indicating the first minimum value is also input from the register 103 via the signal line 99). Therefore, from the second time onward, the evaluation functions inputted via the signal lines 95 to 97 and 98 are compared, and this is continued until evaluation values are calculated for all shift vectors. Note that at the first time, there is no signal input from the signal line 98;
If the register 102 is forcibly set to the maximum value that the evaluation function can take at the first time, the value input via the signal line 98 at the first time will not be the minimum value.

この構成によれば第5図のメモリー部における
可変遅延回路、及びそれに接続される演算部の個
数を減少させることができるという利点がある。
This configuration has the advantage that the number of variable delay circuits in the memory section of FIG. 5 and the number of arithmetic sections connected thereto can be reduced.

次に第8図を参照して演算部の動作について説
明する。ただし、演算部92〜94の動作は全く
同じであるので、演算部92についてのみ説明す
る。また、演算部92においては縦方向のブロツ
クサイズに相当するライン数(ここでは、4ライ
ンとして図示している)だけパラレル処理を行つ
ているので、第9図の信号線461から加算器1
3に至る系統についてのみ説明する。
Next, the operation of the arithmetic unit will be explained with reference to FIG. However, since the operations of the calculation units 92 to 94 are exactly the same, only the calculation unit 92 will be described. In addition, in the arithmetic unit 92, parallel processing is performed by the number of lines corresponding to the block size in the vertical direction (here, 4 lines are shown), so the signal line 461 in FIG.
Only the system leading to No. 3 will be explained.

信号線451から入力される現フレームの信号
と信号線461を介して入力されるシフトされた
前フレームの信号は減算器1101において引算
され、差分信号が変換回路1111に与えられる。
変換回路は、すでに説明した通り入力された差分
信号の絶対値(前述のdij)をより少いビツト数
の信号すなわち前記eijに変換しアキユムレータ
1121に積算される。ただしアキユムレータは
動ベクトル検出の開始時(検出を複数回に分けて
行う構成とする場合には、各回の検出の開始時)
にクリアーされるものとする。ブロツク内のすべ
ての画素について以上の演算が終了した時点にお
いてアキユムレータ1121〜1124の値が読み
出され加算器113に入力され、信号線461
464に始まる4系統の演算結果が合計されて、
信号線95に出力される。
The current frame signal input from the signal line 45 1 and the shifted previous frame signal input via the signal line 46 1 are subtracted in the subtracter 110 1 , and the difference signal is given to the conversion circuit 111 1 . .
As already explained, the conversion circuit converts the absolute value of the input difference signal (the above di , j ) into a signal with a smaller number of bits, that is, the above e i , j , which is accumulated in the accumulator 112 1 . However, the accumulator is used at the start of motion vector detection (if the configuration is to perform detection in multiple steps, at the start of each detection)
shall be cleared. When the above calculations are completed for all pixels in the block, the values of the accumulators 112 1 to 112 4 are read out and input to the adder 113, and the values are input to the signal lines 46 1 to 112 4 .
46 The calculation results of the four systems starting with 4 are summed,
It is output to the signal line 95.

次に第9図を参照して比較部100について説
明する。第9図は4個の演算部の出力信号及び
各々に対応するシフト制御信号が入力された場合
であるが入力信号数が、他の数の場合でも同様の
やり方で構成できる。
Next, the comparing section 100 will be explained with reference to FIG. Although FIG. 9 shows a case where the output signals of four arithmetic units and the shift control signals corresponding to each are input, the configuration can be made in the same manner even when the number of input signals is other.

まず、信号線95および96を介して入力され
た演算部の計算結果はそれぞれ比較部120およ
びマルチプレクサ(以下「MPX」と略記する)
122に与えられる。比較部120は信号線95
および信号線96上の信号値を比較し、もし信号
線95上の信号値の方が小さければMPX122
に信号線125を通して信号線95の値を信号線
135に出力させ、そうでない場合には信号線9
6の値を出力させる。一方、信号線125上の信
号はMPX132にも接続されており信号線95
の値の方が小さければ、MPX132に信号線9
5の値に対応する信号線53のシフト制御信号を
信号線137に出力させそうでなければ信号線9
6の値に対応する信号線54のシフト制御信号を
出力させる。
First, the calculation results of the arithmetic unit input via signal lines 95 and 96 are sent to the comparator 120 and the multiplexer (hereinafter abbreviated as "MPX"), respectively.
122. The comparison section 120 is connected to the signal line 95
and the signal value on the signal line 96, and if the signal value on the signal line 95 is smaller, the MPX122
output the value of the signal line 95 to the signal line 135 through the signal line 125; otherwise, the value of the signal line 95 is output to the signal line 135.
Output the value of 6. On the other hand, the signal on signal line 125 is also connected to MPX132, and signal line 95
If the value of is smaller, connect signal line 9 to MPX132.
The shift control signal of the signal line 53 corresponding to the value of 5 is output to the signal line 137, otherwise the shift control signal of the signal line 53 is output to the signal line 9.
A shift control signal of the signal line 54 corresponding to the value of 6 is output.

比較部121、MPX123およびMPX133
についても、信号線97および98の値の大小関
係に応じて全く同様の日ことが行われ、信号線9
7および98のうち少い方の値が信号線136に
出力され、少い方の値に対応するシフト制御信号
が信号線138に出力される。
Comparison section 121, MPX123 and MPX133
Exactly the same thing is done on the same day depending on the magnitude relationship of the values of signal lines 97 and 98.
The smaller value of 7 and 98 is output to signal line 136, and the shift control signal corresponding to the smaller value is output to signal line 138.

また、信号線135および136に出力された
値は比較部124およびMPX127に入力され、
もし信号線135の値が方が小さければMPX1
34に信号線137のシフト制御信号を信号線5
1に出力させ、そうでない場合には信号線138
のシフト制御信号を出力させる。また、MPX1
27に信号線135および136のうち小さい方
の値を信号線101に出力させる。
Further, the values output to the signal lines 135 and 136 are input to the comparator 124 and MPX 127,
If the value of signal line 135 is smaller, MPX1
34 to the shift control signal of signal line 137 to signal line 5
1, otherwise the signal line 138
output the shift control signal. Also, MPX1
27 outputs the smaller value of signal lines 135 and 136 to signal line 101.

以上説明した通り、本発明によれば、従来動ベ
クトル検出の評価関数として用いられていた(1)式
よりも簡単で、また(2)式よりも効率の良い動き補
正フレーム間符号化装置を実現することができ
る。
As explained above, according to the present invention, a motion compensated interframe coding device is provided which is simpler than equation (1) and more efficient than equation (2), which has been conventionally used as an evaluation function for motion vector detection. It can be realized.

なお以上においては本発明を「動き補正フレー
ム間符号化」に対して適用した場合について詳細
に説明したが、本発明において用いられる入力
TV信号と予測信号とのレベルの相違の程度を数
値化してブロツク内画素について積算し評価値と
する方法は、すでに詳述した「動き補正フレーム
間符号化」(この方式はフレーム間適応予測の1
種である)のみならず、フイールド間適応予測フ
レーム間・フイールド間適応予測、フレーム間・
フイールド内適応予測などに用いることももちろ
ん可能であり種々の適応予測符号化方式において
最適予測信号を選択する手段として広く用いるこ
とができる。
Although the present invention has been described in detail above when applied to "motion-compensated interframe coding," the input used in the present invention
The method of quantifying the degree of difference in level between the TV signal and the predicted signal and integrating it for pixels within a block to obtain an evaluation value is the already detailed "motion compensated interframe coding" (this method uses interframe adaptive prediction). 1
) as well as inter-field adaptive prediction, inter-frame/inter-field adaptive prediction, and inter-frame/inter-field adaptive prediction.
Of course, it is also possible to use it for intra-field adaptive prediction, etc., and it can be widely used as a means for selecting the optimal prediction signal in various adaptive predictive coding systems.

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

第1図は動ベクトル検出方法を説明するための
図、第2図は本発明における動ベクトル検出方法
に必要な変換回路の特性の1例を示した図、第3
図は本発明の一実施例を示すフレーム間符号化装
置のブロツク図、第4図は予測信号発生部11の
一実施例を示すブロツク図、第5図は第4図中の
メモリ部41の一実施例を示すブロツク図、第6
図は第5図中の可変遅延回路61の一実施例を示
すブロツク図、第7図は第4図中の検出器43の
一実施例を示すブロツク図、第8図は第7図中の
演算部92の一実施例を示すブロツク図、第9図
は第7図中の比較部100の一実施例を示すブロ
ツク図である。 図において3……遅延回路、5……減算器、7
……量子化器、9,18……符号器、11……予
測信号発生部、14……フレームメモリ、17…
…加算器、20……マルチプレクサ、22……バ
ツフアメモリをそれぞれ示す。
FIG. 1 is a diagram for explaining the motion vector detection method, FIG. 2 is a diagram showing an example of the characteristics of the conversion circuit necessary for the motion vector detection method in the present invention, and FIG. 3 is a diagram for explaining the motion vector detection method.
4 is a block diagram of an interframe encoding device showing an embodiment of the present invention, FIG. 4 is a block diagram showing an embodiment of the predicted signal generating section 11, and FIG. Block diagram showing one embodiment, No. 6
The figure is a block diagram showing an embodiment of the variable delay circuit 61 in FIG. 5, FIG. 7 is a block diagram showing an embodiment of the detector 43 in FIG. 4, and FIG. FIG. 9 is a block diagram showing one embodiment of the calculation section 92, and FIG. 9 is a block diagram showing one embodiment of the comparison section 100 in FIG. In the figure, 3...Delay circuit, 5...Subtractor, 7
... Quantizer, 9, 18 ... Encoder, 11 ... Prediction signal generation section, 14 ... Frame memory, 17 ...
. . . adder, 20 . . . multiplexer, 22 . . . buffer memory, respectively.

Claims (1)

【特許請求の範囲】[Claims] 1 入力テレビジヨン信号を標本化して得られる
画素をまとめてブロツクを形成し、個々のブロツ
クについて発生された複数の予測信号の中の1つ
を用いて前記入力テレビジヨン信号を予測符号化
するテレビジヨン符号化装置において、前記入力
テレビジヨン信号の画素と予測信号との差信号の
電力を、前記入力TV信号を表わすビツト数より
も少ないビツト数を数値化して出力する手段と、
前記ブロツク内の画素について、この数値を前記
複数の予測信号の各々につき積算し評価値を出力
する手段と、複数の予測信号について求められた
評価値のなかからその値が小となる予測信号であ
る最適予測信号を求める手段とを備え最適予測信
号を適応的に選択して前記入力テレビジヨン信号
を予測符号化することを特徴とするテレビジヨン
信号符号化装置。
1. A television that collects pixels obtained by sampling an input television signal to form a block, and predictively encodes the input television signal using one of a plurality of prediction signals generated for each block. means for converting the power of a difference signal between a pixel of the input television signal and a predicted signal into a numerical value using a number of bits smaller than the number of bits representing the input TV signal in the prediction encoding device;
means for integrating the numerical values for each of the plurality of prediction signals for the pixels in the block and outputting an evaluation value; and a prediction signal whose value is the smallest among the evaluation values obtained for the plurality of prediction signals. What is claimed is: 1. A television signal encoding apparatus, comprising: means for determining an optimal prediction signal; and adaptively selecting an optimal prediction signal to predictively encode the input television signal.
JP11126580A 1980-08-13 1980-08-13 Television signal encoding equipment Granted JPS5737988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11126580A JPS5737988A (en) 1980-08-13 1980-08-13 Television signal encoding equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11126580A JPS5737988A (en) 1980-08-13 1980-08-13 Television signal encoding equipment

Publications (2)

Publication Number Publication Date
JPS5737988A JPS5737988A (en) 1982-03-02
JPH0133994B2 true JPH0133994B2 (en) 1989-07-17

Family

ID=14556811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11126580A Granted JPS5737988A (en) 1980-08-13 1980-08-13 Television signal encoding equipment

Country Status (1)

Country Link
JP (1) JPS5737988A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55162683A (en) * 1979-06-07 1980-12-18 Nippon Hoso Kyokai <Nhk> Movement detection method for television picture

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55162683A (en) * 1979-06-07 1980-12-18 Nippon Hoso Kyokai <Nhk> Movement detection method for television picture

Also Published As

Publication number Publication date
JPS5737988A (en) 1982-03-02

Similar Documents

Publication Publication Date Title
US4562468A (en) Adaptive predictive coding apparatus of television signal
KR900008455B1 (en) Video encoding apparatus
JP5467141B2 (en) Scalable video coding with lower layer filtering
CA1336619C (en) Image coding and decoding device
JP2924431B2 (en) Coding method
US4667233A (en) Apparatus for discriminating a moving region and a stationary region in a video signal
US4591908A (en) Method and apparatus for adaptive predictive encoding/decoding of multi-level picture signals
JPH0799663A (en) Movement-vector detector
KR100431013B1 (en) Image encoding system
JPS6320075B2 (en)
JPS59194589A (en) Encoding device between movement compensating frames
JPH08265764A (en) Video signal encoding device
JP2765268B2 (en) High efficiency coding method and high efficiency code decoding method
JP2642160B2 (en) Motion detection method of image processing device
JPH0133994B2 (en)
JPH0368597B2 (en)
JPS58107785A (en) Encoder between movement compensation frames
US5206725A (en) Method and apparatus for coding/decoding image signal providing accurate determination of an image contour and efficient compression coding
JP2861381B2 (en) Image signal encoding apparatus and method
JPS61140291A (en) Dynamic/static separator of animation picture signal
JPS6321395B2 (en)
JPH0818974A (en) Encoder and motion detector for dynamic image
JP2625424B2 (en) TV signal encoding device
JP2570795B2 (en) High-efficiency encoder for television signals.
JPH0785287A (en) Predictive coding device and its decoding device