JPH0783479B2 - Method and apparatus for encoding moving image signal - Google Patents

Method and apparatus for encoding moving image signal

Info

Publication number
JPH0783479B2
JPH0783479B2 JP60273937A JP27393785A JPH0783479B2 JP H0783479 B2 JPH0783479 B2 JP H0783479B2 JP 60273937 A JP60273937 A JP 60273937A JP 27393785 A JP27393785 A JP 27393785A JP H0783479 B2 JPH0783479 B2 JP H0783479B2
Authority
JP
Japan
Prior art keywords
screen
moving image
image signal
signal
encoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60273937A
Other languages
Japanese (ja)
Other versions
JPS62132486A (en
Inventor
淳一 大木
章浩 古川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP60273937A priority Critical patent/JPH0783479B2/en
Priority to CA000518045A priority patent/CA1252569A/en
Priority to US06/907,272 priority patent/US4689672A/en
Priority to GB8622170A priority patent/GB2180718B/en
Publication of JPS62132486A publication Critical patent/JPS62132486A/en
Publication of JPH0783479B2 publication Critical patent/JPH0783479B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は画面間の相関を利用する符号化方式を用いた動
画像のデジタル帯域圧縮技術に関するものである。
TECHNICAL FIELD The present invention relates to a digital band compression technique for a moving image using an encoding method that utilizes correlation between screens.

(従来の技術) 従来、画面間の相関を用いる符号化方式としては、例え
ば動き補償を用いたフレーム間予測符号化方式が知られ
ている(二宮他、「動き補正フレーム間符号化方式」信
学論(B),J63−B,11,pp.1140−1147,昭51−11,以下
「文献1」)。
(Prior Art) Conventionally, as an encoding method using correlation between screens, for example, an interframe predictive encoding method using motion compensation is known (Ninomiya et al., "Motion Compensation Interframe Encoding Method"). Academic theory (B), J63-B, 11, pp.1140-1147, Sho 51-11, "Reference 1").

この方式は、画面を小さなブロックに分割し、各ブロッ
ク毎に、記憶されている前画面内で最も高い相関を持つ
ブロックを算出し、該当するブロック間の位置の差(動
ベクトル)とこの該当するブロック間で空間的に同じ位
置にある画素の振幅値の差(動き補償予測誤差)を伝送
する方式である。
This method divides the screen into small blocks, calculates the block with the highest correlation in the stored previous screen for each block, and calculates the difference in position (motion vector) between the corresponding blocks and this corresponding block. This is a method of transmitting a difference in amplitude value (motion compensation prediction error) of pixels at the same spatial position between the blocks.

(発明が解決しようとする問題点) しかしながら上記の従来の技術では、シーンチェンジな
ど画面の内容が大きく変化する場合には、フレーム間の
相関が大幅に低下するため伝送すべき予測誤差が大量に
発生し、一定の伝送速度での伝送を行なうためには、粗
い特性の量子化、フィールド駒落とし、フレーム駒落と
し、最悪の場合は画面の途中での符号化停止などの粗い
符号化モードを適用しなければならなかった。その結果
符号化停止時には画面内で符号化されたばかりの領域
(新しい画面)と未だ符号化されていない領域(以前の
画面)が混在したままでフリーズし、また停止しない場
合であっても符号化されたばかりの領域も粗い符号化モ
ードで符号化されることが多いため、画質劣化が大きく
なるなど非常に目立つ劣化を引き起こす欠点があった。
(Problems to be Solved by the Invention) However, in the above-described conventional technique, when the contents of the screen change significantly such as a scene change, the correlation between frames is significantly reduced, and a large amount of prediction error to be transmitted occurs. Occurrence and transmission at a constant transmission rate, rough coding mode such as quantization of rough characteristics, field dropping, frame dropping, and worst case coding stop in the middle of the screen is applied. I had to do it. As a result, when encoding is stopped, an area that has just been encoded within the screen (new screen) and an area that has not yet been encoded (previous screen) freezes in a mixed state. Since the freshly coded area is also often coded in the rough coding mode, there is a drawback that it causes a very noticeable deterioration such as a large deterioration in image quality.

(問題点を解決するための手段) 本発明によれば、入力された動画像信号が第N画面から
第N+1、N+2…N+M画面に時間的に変化する動画
像信号の符号化に際して、 前記第N+1画面が前記第N画面から大きく変化したか
を判定し、前記判定が大きく変化したとされた場合、前
記第N画面のうちの一定領域を前記第N+1画面で書き
換えた画面を符号化対象の動画像信号とし、前時間の画
面である前記第N画面との相関を用いて符号化し、 その後、前記一定領域を時間の経過とともに徐々に広げ
て、該広げた領域を時間順に前記第N+2、N+3…第
N+M画面で書き換えた画像信号を符号化対象の動画像
信号とし、これを前時間の符号化対象の画像信号との相
関を用いて符号化することを特徴とする動画像信号の符
号化方法が得られる。
(Means for Solving the Problems) According to the present invention, the encoding of the moving image signal in which the input moving image signal temporally changes from the Nth screen to the (N + 1) th, (N + 2) ... It is determined whether or not the N + 1 screen has changed significantly from the Nth screen, and when the determination is determined to have changed significantly, a screen in which a certain area of the Nth screen is rewritten with the N + 1th screen is set as an encoding target. The moving image signal is encoded by using the correlation with the Nth screen, which is the screen of the previous time, and then the certain region is gradually widened with the passage of time, and the widened region is sequentially arranged in the N + 2th, N + 3 ... A code of a moving image signal characterized in that the image signal rewritten on the (N + M) th screen is set as a moving image signal to be encoded, and is encoded by using the correlation with the image signal to be encoded in the previous time. Got the method That.

また、本発明によれば、入力された動画像信号が前時間
の動画像信号から画面の内容が大きく変化したかを判定
する判定手段と、 前記入力された動画像信号から同期信号を発生する同期
信号発生手段と、 前記入力された動画像信号を所定の時間だけ遅延させる
遅延手段と、 前記同期信号に同期して画面の一フレーム時間で画面の
番地をカウントする第1の計数手段と、 前記判定手段の出力が画面の内容が大きく変化したと判
定した場合に、前記同期信号に同期して予め定められた
画面毎に画面の一定領域を指定する番地を該一定領域が
徐々に拡大するように出力する第2の計数手段と、 前記第1の計数手段と前記第2の計数手段の番地を比較
し前記一定領域の書き換えを制御する制御信号を出力す
る比較手段と、 前記制御信号により前記遅延手段から出力された動画像
信号の画面で前時間の画面の一定領域を書き換えて記憶
し、これを符号化対象の動画像信号として出力する記憶
手段と、 前記符号化対象の動画像信号を前時間の符号化対象の動
画像信号との相関をもちいて符号化する符号化手段とを
有することを特徴とする動画像信号の符号化装置が得ら
れる。
Further, according to the present invention, a determination unit that determines whether the input moving image signal has significantly changed the contents of the screen from the moving image signal of the previous time, and a synchronization signal is generated from the input moving image signal. A synchronizing signal generating means; a delaying means for delaying the input moving image signal by a predetermined time; a first counting means for synchronizing an address of the screen in one frame time of the screen in synchronization with the synchronizing signal; When it is determined that the content of the screen has changed significantly by the output of the determination means, the address for designating a certain area of the screen for each predetermined screen is gradually expanded in synchronization with the synchronization signal. The second counting means for outputting, the comparing means for comparing the addresses of the first counting means and the second counting means, and outputting the control signal for controlling the rewriting of the certain area, and the control signal The above A storage unit that rewrites and stores a certain area of the screen of the previous time on the screen of the moving image signal output from the extending unit, and outputs this as the moving image signal of the encoding target, and the moving image signal of the encoding target. A coding device for a moving picture signal, comprising: a coding means for coding by using a correlation with a moving picture signal to be coded at a previous time.

(作用) まず、本発明においては、画面間でその内容が大きく変
化する場合を検出する必要がある。その方法として、動
き補償予測誤差値を用いて画面の切り変わり(シーンチ
ェンジ)を検出する方法を説明する。
(Operation) First, in the present invention, it is necessary to detect a case in which the content changes greatly between screens. As the method, a method of detecting a screen change (scene change) using a motion compensation prediction error value will be described.

動き補償予測誤差は、例えば前記文献1に記述されてい
るブロックマッチング法で検出された動ベクトルを用い
て算出することができる。ブロックマッチング法とは、
第2図にあるように、過去の画面F′をフレームメモリ
ーに記憶しておき、現フレームF内のブロックAと最も
相関の高いブロックA′を、記憶された過去の画面内で
求め、両者の画面内での位置の変位を動ベクトルとす
るものである。動き補償予測誤差は、動ベクトルにより
対応づけられた2ブロック間内の空間的に同一位置にあ
る各画素についての差分値に相当する。相関の高さの評
価基準としては、対応する画素間の差分値の2乗や絶対
値のブロック内総和を最小とすること等が用いられる。
The motion compensation prediction error can be calculated, for example, by using the motion vector detected by the block matching method described in Document 1 above. What is the block matching method?
As shown in FIG. 2, the past screen F ′ is stored in the frame memory, and the block A ′ having the highest correlation with the block A in the current frame F is obtained in the stored past screen. The displacement of the position on the screen is used as a motion vector. The motion compensation prediction error corresponds to the difference value for each pixel at the spatially same position in the two blocks associated by the motion vector. As the evaluation standard of the height of the correlation, the square of the difference value between the corresponding pixels or the minimum sum of absolute values in the block is used.

本発明と動き補償予測誤差の求め方は直接関係はなく、
動き補償予測誤差は上記以外の方法で求められたもので
あっても構わない。
The present invention and the method of obtaining the motion compensation prediction error are not directly related,
The motion compensation prediction error may be obtained by a method other than the above.

第3図は動き補償予測誤差とフレーム間差分値の分散値
が、フレーム間での動きの速さ(パニングの速さ)に
対して変化する様子を表わす図である。フレーム間差分
値の、分散値は、式で表わされ、動きが速くなるにつ
れて単調に増加する。これに対して動き補償予測誤差値
の分散値は、式で表わされ、動きが画素間隔の整数倍
であるときには動き補償予測が的中するので、予測誤差
はこのとき図のようにゼロとなる。
FIG. 3 is a diagram showing how the dispersion value of the motion compensation prediction error and the inter-frame difference value changes with respect to the speed of movement between frames (the speed of panning). The variance value of the inter-frame difference value is expressed by an equation, and increases monotonically as the movement becomes faster. On the other hand, the variance value of the motion compensation prediction error value is expressed by an expression, and when the motion is an integer multiple of the pixel interval, the motion compensation prediction is correct, so the prediction error is zero at this time as shown in the figure. Become.

ここで、▲σ2 FF▼、▲σ2 MC▼は、それぞれフレーム差
分値と動き補償予測誤差値の分散値を表わし、▲σ2 O
は画像の平均電力、αは画面の複雑さに対応するパラメ
ータである。
Here, ▲ σ 2 FF ▼ and ▲ σ 2 MC ▼ represent the variance values of the frame difference value and the motion compensation prediction error value, respectively, and ▲ σ 2 O
Is the average power of the image, and α is a parameter corresponding to the complexity of the screen.

▲σ2 FF▼=2▲σ2 O▼・{1−exp(−α||) ▲σ2 MC▼=2▲σ2 O▼・{1−exp(−α・|−
[]| [v]はの整数部を表わす 一方シーンチェンジ等フレーム間で相関が全く無い画像
の場合にはフレーム間差分値、動き補償予測誤差の分散
値はともに第3図フレーム間差分値に対する分散値の上
限に近い値になる。従ってフレーム間差分値を用いた場
合には、シーンチェンジと動きの速い画像を区別できな
いが、動き補償予測誤差を用いて第3図のように判定閾
値との大小比較を行なうことで、実際のシーンチェンジ
のみ正確に検出することができる。
▲ σ 2 FF ▼ = 2 ▲ σ 2 O ▼ ・ {1-exp (−α ||) ▲ σ 2 MC ▼ = 2 ▲ σ 2 O ▼ ・ {1-exp (−α ・ | −
[] | [V] represents an integer part of the meanwhile, in the case of an image such as a scene change where there is no correlation between frames, the inter-frame difference value and the variance value of the motion compensation prediction error are both relative to the inter-frame difference value in FIG. The value is close to the upper limit of variance. Therefore, when the inter-frame difference value is used, it is impossible to distinguish between a scene change and a fast-moving image, but by using the motion-compensated prediction error to compare with the determination threshold as shown in FIG. Only scene changes can be detected accurately.

以上シーチェンジを含む画面間で内容が大きく変化する
場合の検出方法を説明したが、本発明ではこの検出方法
自体は上記の方法に限定されるものではない。以下では
画面間で内容が大きく変化したことは既に求められてい
るとして、入力のフレームメモリーの内容の書き換えを
行なう領域を徐々に拡大する(以下これを幕引き制御と
称する)方法を説明する。
The detection method in the case where the content changes greatly between the screens including the sea change has been described above, but the detection method itself is not limited to the above method in the present invention. In the following, assuming that the contents have been largely changed between the screens has already been demanded, a method of gradually expanding the area for rewriting the contents of the input frame memory (hereinafter referred to as curtain control) will be described.

第1図の第N画面時間では、画面Nを符号化している。
そして第N画面時間から第N+1画面時間の間で画面の
内容が大きく変化しているものとする。このとき上述の
シーンチェンジ検出方法等で画面N+1を第Lラインま
で符号化したときにシーンチェンジであることが検出さ
れたとする。この後幕引き制御モードに入り、画面N+
1をL+Xラインまでフレームメモリーの内容の書き換
えを行ない以降のラインに対してはフレームメモリーの
書き換えを停止し前の画像を保持する。従って復号され
た画面N+1は第L+Xライン以上には画面N+1の内
容があり、L+Xライン以下は前画面Nの内容が残って
いる。次の第N+2画面時間では、画面N+2を第L+
2Xラインまでフレームメモリーの書き換えを行ない以降
のラインはフレームメモリーの書き換えを停止する。第
N+3画面時間では、画面N+3を第L+3Xラインまで
フレームメモリーの書き換えを行なって停止する。結局
画面時間N+1,N+2,N+3においてはそれぞれL+X,L
+2X,L+3Xライン以下にはフリーズされた画面Nが残
り、L+X,L+2X,L+3Xライン以上には通常の書き換え
を行なった動画像が供給され、時間を追ってその書き換
え領域が拡大するためあたかも上から下に幕を引いたよ
うにみえる。幕を引く速さは、Xライン/画面で定義さ
れる。
In the Nth screen time of FIG. 1, the screen N is coded.
Then, it is assumed that the contents of the screen are largely changed from the Nth screen time to the (N + 1) th screen time. At this time, it is assumed that a scene change is detected when the screen N + 1 is encoded up to the L-th line by the above-mentioned scene change detection method or the like. This goes into the trailing curtain control mode and the screen N +
The contents of the frame memory up to line 1 + L + X are rewritten, and the rewriting of the frame memory is stopped for the subsequent lines and the previous image is held. Therefore, in the decoded screen N + 1, the contents of the screen N + 1 are present above the L + Xth line and the contents of the previous screen N remain below the L + X line. At the next N + 2nd screen time, the screen N + 2 is changed to the L + th screen.
The frame memory is rewritten up to 2X lines, and the rewriting of the frame memory is stopped for the subsequent lines. At the (N + 3) th screen time, the screen N + 3 is rewritten to the (L + 3X) th line in the frame memory and stopped. After all, in the screen time N + 1, N + 2, N + 3, respectively L + X, L
The frozen screen N remains below the + 2X, L + 3X lines, and the moving image that has undergone normal rewriting is supplied above the L + X, L + 2X, L + 3X lines, and the rewriting area expands over time, as if from the top to the bottom. It seems to have started the curtain. The speed at which the curtain is drawn is defined by X line / screen.

(実施例) 次に第4図を用いて本発明の実施例を説明する。(Example) Next, an example of the present invention will be described with reference to FIG.

入力端1000から入力された動画像信号は、線1010を介し
てシーンチェンジ検出回路10、同期信号発生回路12、遅
延回路22へ供給される。
The moving image signal input from the input terminal 1000 is supplied to the scene change detection circuit 10, the synchronization signal generation circuit 12, and the delay circuit 22 via the line 1010.

ここで、シーンチェンジ検出回路10について第5図を用
いて説明する。線1010より入力された動画像信号は、動
ベクトル検出回路31、フレームメモリー32、遅延回路38
へ供給される。動ベクトル検出回路31は、線1010から供
給される動画像信号とフレームメモリー32より供給され
る動画像信号の両者を用いて、ブロック単位にあるいは
画素単位に動ベクトルを算出するものであり、算出され
た動ベクトルを最適予測方式として線1018を介して可変
遅延回路33と第4図可変遅延回路18へ出力する。この動
ベクトル検出方法は、たとえば二宮により「フレーム間
符号化における動き補正」(電子通信学会論文誌、VOL.
J64−BNO.1昭56pp.24−31,以下「文献2」)と題して発
表された論文にある方法を用いることができる。
Here, the scene change detection circuit 10 will be described with reference to FIG. The moving image signal input from the line 1010 is the moving vector detection circuit 31, the frame memory 32, and the delay circuit 38.
Is supplied to. The motion vector detection circuit 31 uses both the motion picture signal supplied from the line 1010 and the motion picture signal supplied from the frame memory 32 to calculate a motion vector in block units or pixel units. The motion vector thus generated is output to the variable delay circuit 33 and the variable delay circuit 18 shown in FIG. This motion vector detection method is described, for example, by Ninomiya in "Motion Compensation in Interframe Coding" (Journal of the Institute of Electronics and Communication Engineers, VOL.
J64-BNO.1 Sho 56 pp. 24-31, hereinafter referred to as "reference 2") can be used.

フレームメモリ32は、動画像信号をおよそ1画面分記憶
できるものであり、動ベクトル検出回路31、可変遅延回
路33へおよそ1画面時間前の画像信号を出力する。可変
遅延回路33は、線1213を介して供給される動画像信号
を、線1018を介して供給される最適予測方式に従って可
変遅延し、動き補償予測値として、線1314を介して減算
器34へ出力する。遅延回路38は、入力信号を、動ベクト
ル検出回路31で動ベクトルを算出し、可変遅延回路33で
動き補償予測値を発生するのに必要な時間遅延させ、減
算器34へ出力する。減算器34は、線1814を介して供給さ
れる遅延された入力信号から動き補償予測値を減算して
動き補償予測誤差を求め、絶対値計算器35へ出力する。
絶対値計算器35は、動き補償予測誤差の絶対値をとり、
線1516を介して加算回路36へ出力する。加算回路36は、
線1210から供給されるフレームの先頭情報でリセット
し、線1516を介して供給される動き補償予測誤差を加算
し始めその結果を比較器37へ出力する。比較器37は、フ
レーム先頭から加算された動き補償予測誤差の絶対値が
定められたしきい値を超えると、シーンチェンジが起き
たとして符号1を線1011を介して制御回路11へ出力す
る。
The frame memory 32 can store a moving image signal for about one screen, and outputs an image signal about one screen time before to the motion vector detection circuit 31 and the variable delay circuit 33. The variable delay circuit 33 variably delays the moving image signal supplied via the line 1213 according to the optimum prediction method supplied via the line 1018, and as a motion compensation prediction value, to the subtractor 34 via the line 1314. Output. The delay circuit 38 delays the input signal by the time required for the motion vector detection circuit 31 to calculate the motion vector and the variable delay circuit 33 to generate the motion compensation predicted value, and outputs the delayed signal to the subtractor 34. The subtractor 34 subtracts the motion compensation prediction value from the delayed input signal supplied via the line 1814 to obtain the motion compensation prediction error, and outputs it to the absolute value calculator 35.
The absolute value calculator 35 takes the absolute value of the motion compensation prediction error,
Output to adder circuit 36 via line 1516. The adder circuit 36 is
It resets with the head information of the frame supplied from the line 1210, starts adding the motion compensation prediction error supplied via the line 1516, and outputs the result to the comparator 37. When the absolute value of the motion compensation prediction error added from the beginning of the frame exceeds the predetermined threshold value, the comparator 37 outputs the code 1 to the control circuit 11 via the line 1011 as a scene change.

第4図に戻る。同期信号発生回路12は入力動画像信号か
らフレームパルスを分離生成し、たとえば各フレームの
先頭では1を、そうでないときは0を線1210を介して制
御回路11、ラインカウンタ13,14、シーンチェンジ検出
回路10、へ出力する。
Return to FIG. The synchronizing signal generating circuit 12 separates and generates a frame pulse from the input moving image signal. For example, 1 at the beginning of each frame, 0 otherwise is controlled through the line 1210 to the control circuit 11, line counters 13 and 14, scene change. Output to the detection circuit 10.

制御回路11は、線1011を介して符号1即ちシーンチェン
ジが生じたことが入力されたときに、線1210から入力さ
れるフレームパルスをもとに、画面の先頭でラインカウ
ンタのリセット信号を線1113を介してラインカウンタ13
へ出力する。ラインカウンタ13は、線1113を介して入力
されるリセット信号でリセットされ、線1210を介して入
力されるフレームパルスで定められた値(第1図の説明
ではX)ずつカウントアップし、線1315を介して比較器
15へ出力する。
The control circuit 11 sends a reset signal of the line counter at the beginning of the screen based on the frame pulse input from the line 1210 when the code 1 or the occurrence of a scene change is input via the line 1011. Line counter 13 through 1113
Output to. The line counter 13 is reset by a reset signal input via the line 1113, counts up by a value (X in the description of FIG. 1) determined by the frame pulse input via the line 1210, and the line 1315. Through the comparator
Output to 15.

ラインカウンタ14は、線1210を介して供給されるフレー
ムパルスでリセットされ、1ライン時間で1ずつカウン
トアップするカウンタであり、その値を線1415を介して
比較器15へ出力する。
The line counter 14 is a counter that is reset by a frame pulse supplied via the line 1210 and counts up by 1 in one line time, and outputs its value to the comparator 15 via the line 1415.

比較器15は線1315と線1415の内容を比較し、線1415の方
が小であるときは符号1を、そうでないときは符号0を
線1525を介してフレームメモリー25へ出力する。遅延回
路22は入力信号を比較器15より供給される符号の生成に
要する時間遅延させフレームメモリー25へ出力する。フ
レームメモリー25は、線1525から符号1が入力されると
きはメモリーの書き換えを行ない画像を記憶し、符号0
が入力されるときはメモリーの書き換えを停止し、前の
画像を保持する。フレームメモリー25の出力は減算器17
に供給される。減算器17は、フレームメモリー25から供
給される入力信号から線1817を介して供給される予測信
号を減じて予測誤差信号を算出し、量子化器へ出力す
る。量子化器19は、予測誤差信号を量子化し符号変換器
23と加算器21へ出力する。加算器21は量子化器19の出力
と線1817を介して供給される予測信号を加算して局部復
号信号を生成し、フレームメモリー20へ出力する。フレ
ームメモリー20は、局部復号信号をおよそ1フレーム時
間分記憶して遅延させるものであり、これを可変遅延回
路18へ出力する。可変遅延回路18は、線1018を介して供
給される動ベクトル(最適予測方式)に従ってフレーム
メモリー20の出力を可変遅延し、予測信号として線1817
を介して減算器17と加算器21へ出力する。符号変換器23
は、量子化器19の出力をハフマン符号等の伝送に適した
符号に変換し、バッファメモリー24へ出力する。バッフ
ァメモリー24は、符号変換器23の出力を一定の伝送速度
で伝送路2000へ出力するものである。
The comparator 15 compares the contents of the lines 1315 and 1415 and outputs the code 1 to the frame memory 25 via the line 1525 when the line 1415 is smaller and the code 0 otherwise. The delay circuit 22 delays the input signal by the time required to generate the code supplied from the comparator 15 and outputs the delayed signal to the frame memory 25. The frame memory 25 stores the image by rewriting the memory when the code 1 is input from the line 1525 and stores the code 0.
When is input, the rewriting of the memory is stopped and the previous image is retained. The output of the frame memory 25 is the subtractor 17
Is supplied to. The subtractor 17 subtracts the prediction signal supplied via the line 1817 from the input signal supplied from the frame memory 25 to calculate a prediction error signal, and outputs the prediction error signal to the quantizer. The quantizer 19 quantizes the prediction error signal, and the code converter
Output to 23 and adder 21. The adder 21 adds the output of the quantizer 19 and the prediction signal supplied via the line 1817 to generate a locally decoded signal, and outputs it to the frame memory 20. The frame memory 20 stores and delays the locally decoded signal for about one frame time, and outputs this to the variable delay circuit 18. The variable delay circuit 18 variably delays the output of the frame memory 20 according to the motion vector (optimal prediction method) supplied via the line 1018, and uses the line 1817 as a prediction signal.
To the subtractor 17 and the adder 21 via. Code converter 23
Converts the output of the quantizer 19 into a code suitable for transmission such as Huffman code and outputs the code to the buffer memory 24. The buffer memory 24 outputs the output of the code converter 23 to the transmission path 2000 at a constant transmission speed.

(発明の効果) 以上本発明によれば、画面の内容が大きく変化する場合
によく発生する画面途中での、符号化停止など目障りな
画質劣化を滑らかに画面に切り替わるように入力のフレ
ームメモリーの書き換えを行なうことにより避けること
ができ、かつ符号化された領域には細かい符号化モード
を適用できるため画質の良い復号画像が提供される。ま
た本発明に於いては、シーンチェンジの検出方法にはな
んら制限はなく、また幕引きの速さについても特に制限
はないことは勿論である。また幕引きを複数箇所から開
始することも勿論可能である。このように、本発明を実
用に適する意義は大きい。
(Effects of the Invention) According to the present invention, as described above, in the frame memory of the input so as to smoothly switch annoying image quality deterioration such as encoding stop to the screen in the middle of the screen that often occurs when the contents of the screen greatly change. This can be avoided by rewriting, and a fine encoding mode can be applied to the encoded area, so that a decoded image with high image quality is provided. Further, in the present invention, the method of detecting a scene change is not limited, and the speed of curtaining is not particularly limited. It is also possible to start the curtain from a plurality of places. As described above, the present invention has great significance for practical use.

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

第1図は、幕引き制御の原理を表わす図。第2図は、ブ
ロックマッチング法による動ベクトル検出原理を表わす
図。第3図は、シーンチェンジの検出原理を表わす図、
第4図は、本発明の実施例を表わす図、第5図は、シー
ンチェンジ検出回路の実施例を表わす図、である。 図中、1000は入力端、10はシーンチェンジ検出回路、11
は制御回路、12は同期信号発生回路、13,14はラインカ
ウンタ、15,37は比較器、17,34は減算器、18,33は可変
遅延回路、19は量子化器、20,25,32はフレームメモリ
ー、22,38は遅延回路、23は符号変換器、24はバッフア
ーメモリー、31は動ベクトル検出回路、35は絶対値計算
器、36は加算回路、37は比較器、2000は出力端、をそれ
ぞれあらわす。
FIG. 1 is a diagram showing the principle of curtain control. FIG. 2 is a diagram showing the principle of motion vector detection by the block matching method. FIG. 3 is a diagram showing the principle of scene change detection,
FIG. 4 is a diagram showing an embodiment of the present invention, and FIG. 5 is a diagram showing an embodiment of a scene change detection circuit. In the figure, 1000 is an input terminal, 10 is a scene change detection circuit, 11
Is a control circuit, 12 is a synchronizing signal generating circuit, 13 and 14 are line counters, 15 and 37 are comparators, 17 and 34 are subtractors, 18 and 33 are variable delay circuits, 19 is a quantizer, and 20 and 25, 32 is a frame memory, 22 and 38 are delay circuits, 23 is a code converter, 24 is a buffer memory, 31 is a motion vector detection circuit, 35 is an absolute value calculator, 36 is an addition circuit, 37 is a comparator, 2000 is Output end, respectively.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】入力された動画像信号が第N画面から第N
+1、N+2…N+M画面に時間的に変化する動画像信
号の符号化に際して、 前記第N+1画面が前記第N画面から大きく変化したか
を判定し、前記判定が大きく変化したとされた場合、前
記第N画面のうちの一定領域を前記第N+1画面で書き
換えた画面を符号化対象の動画像信号とし、前時間の画
面である前記第N画面との相関を用いて符号化し、 その後、前記一定領域を時間の経過とともに徐々に広げ
て、該広げた領域を時間順に前記第N+2、N+3…第
N+M画面で書き換えた画像信号を符号化対象の動画像
信号とし、これを前時間の符号化対象の動画像信号との
相関を用いて符号化することを特徴とする動画像信号の
符号化方法。
1. A moving image signal input from an Nth screen to an Nth screen.
+1, N + 2 ... N + M, when encoding a moving image signal that changes with time, it is determined whether the N + 1th screen has changed significantly from the Nth screen, and if it is determined that the determination has changed significantly, A screen obtained by rewriting a certain area of the Nth screen with the N + 1th screen is set as a moving image signal to be coded, is coded by using the correlation with the Nth screen which is the screen of the previous time, and then the constant The region is gradually widened with the passage of time, and the widened region is rewritten on the N + 2, N + 3 ... N + M screens in time order to be a moving image signal to be encoded, which is to be encoded at the previous time. A method for encoding a moving image signal, which is characterized in that the encoding is performed by using the correlation with the moving image signal.
【請求項2】入力された動画像信号が前時間の動画像信
号から画面の内容が大きく変化したかを判定する判定手
段と、 入力された動画像信号から同期信号を発生する同期信号
発生手段と、 前記入力された動画像信号を所定の時間だけ遅延させる
遅延手段と、 前記同期信号に同期して画面の一フレーム時間で画面の
番地をカウントする第1の計数手段と、 前記判定手段の出力が画面の内容が大きく変化したと判
定した場合に、前記同期信号に同期して予め定められた
画面毎に画面の一定領域を指定する番地を該一定領域が
徐々に拡大するように出力する第2の計数手段と、 前記第1の計数手段と前記第2の計数手段の番地を比較
し前記一定領域の書き換えを制御する制御信号を出力す
る比較手段と、 前記制御信号により前記遅延手段から出力された動画像
信号の画面で前時間の画面の一定領域を書き換えて記憶
し、これを符号化対象の動画像信号として出力する記憶
手段と、 前記符号化対象の動画像信号を前時間の符号化対象の動
画像信号との相関をもちいて符号化する符号化手段とを
有することを特徴とする動画像信号の符号化装置。
2. A judging means for judging whether or not the input moving image signal greatly changes the contents of the screen from the moving image signal of the previous time, and a synchronizing signal generating means for generating a synchronizing signal from the input moving image signal. A delay unit that delays the input moving image signal by a predetermined time; a first counting unit that counts the screen address in one frame time of the screen in synchronization with the synchronization signal; When it is determined that the output has significantly changed the contents of the screen, an address for designating a predetermined area for each screen is output in synchronization with the synchronization signal so that the predetermined area gradually expands. Second counting means, comparing means for comparing the addresses of the first counting means and the second counting means and outputting a control signal for controlling rewriting of the certain area; Out A storage unit that rewrites and stores a certain area of the screen of the previous time on the screen of the generated moving image signal and outputs this as the moving image signal of the encoding target, and the moving image signal of the encoding target of the previous time code. An encoding device for a moving image signal, comprising: an encoding means for encoding by using a correlation with a moving image signal to be encoded.
JP60273937A 1985-09-13 1985-12-04 Method and apparatus for encoding moving image signal Expired - Lifetime JPH0783479B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP60273937A JPH0783479B2 (en) 1985-12-04 1985-12-04 Method and apparatus for encoding moving image signal
CA000518045A CA1252569A (en) 1985-09-13 1986-09-12 Method and device of coding a digital video signal for reproduction of pictures with a high quality even upon occurrence of a drastical change between the pictures
US06/907,272 US4689672A (en) 1985-09-13 1986-09-15 Method and device of coding a digital video signal for reproduction of pictures with a high quality even upon occurrence of a drastical change between the pictures
GB8622170A GB2180718B (en) 1985-09-13 1986-09-15 Method and device for coding a digital video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60273937A JPH0783479B2 (en) 1985-12-04 1985-12-04 Method and apparatus for encoding moving image signal

Publications (2)

Publication Number Publication Date
JPS62132486A JPS62132486A (en) 1987-06-15
JPH0783479B2 true JPH0783479B2 (en) 1995-09-06

Family

ID=17534641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60273937A Expired - Lifetime JPH0783479B2 (en) 1985-09-13 1985-12-04 Method and apparatus for encoding moving image signal

Country Status (1)

Country Link
JP (1) JPH0783479B2 (en)

Also Published As

Publication number Publication date
JPS62132486A (en) 1987-06-15

Similar Documents

Publication Publication Date Title
US5657087A (en) Motion compensation encoding method and apparatus adaptive to motion amount
JP3347954B2 (en) Video encoding device and video decoding device
US4689672A (en) Method and device of coding a digital video signal for reproduction of pictures with a high quality even upon occurrence of a drastical change between the pictures
JPH07112284B2 (en) Predictive encoding device and decoding device
JPS59141887A (en) Estimating and coding device of dynamic picture signal
KR930024519A (en) Motion Estimation Method and Apparatus Considering Variable Coding
US5204740A (en) Image signal decoding apparatus
JPS6146685A (en) Prediction encoder of moving picture signal
JPH0783479B2 (en) Method and apparatus for encoding moving image signal
JP3581382B2 (en) Encoding device and method
JPH02119486A (en) Coding control method for moving picture signal and coding controller
KR100602803B1 (en) Encoding block-organized data
JPH0546155B2 (en)
JPS61201570A (en) Coding system between frames and in frame
JP4676513B2 (en) Encoded picture type determination method, apparatus, program thereof, and recording medium thereof
JP2001008207A (en) Dynamic image coder and method therefor
JPH0691653B2 (en) Adaptive coding system
JPH0526395B2 (en)
JPH0638659B2 (en) Video signal coding method
JPH1013836A (en) Motion vector detector
JP2574572B2 (en) Image encoding method and image encoding device
JP4326758B2 (en) Moving picture coding apparatus and moving picture decoding apparatus
JPS63155888A (en) Picture coding control system
JP2891250B2 (en) Moving picture coding method and apparatus
JPH0529194B2 (en)