JP2003179936A - Moving image encoding/decoding device - Google Patents

Moving image encoding/decoding device

Info

Publication number
JP2003179936A
JP2003179936A JP2002303875A JP2002303875A JP2003179936A JP 2003179936 A JP2003179936 A JP 2003179936A JP 2002303875 A JP2002303875 A JP 2002303875A JP 2002303875 A JP2002303875 A JP 2002303875A JP 2003179936 A JP2003179936 A JP 2003179936A
Authority
JP
Japan
Prior art keywords
motion vector
frame
image
motion
frequency
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.)
Granted
Application number
JP2002303875A
Other languages
Japanese (ja)
Other versions
JP3394247B1 (en
Inventor
Yukio Go
志雄 呉
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2002303875A priority Critical patent/JP3394247B1/en
Application granted granted Critical
Publication of JP3394247B1 publication Critical patent/JP3394247B1/en
Publication of JP2003179936A publication Critical patent/JP2003179936A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a moving image encoding/decoding device in which encoding efficiency and image quality are improved. <P>SOLUTION: This device comprises a motion vector calculating means (EDT) 11 that calculates a motion vector between images of past two frames, a motion compensation predicting means (PRE) 12 that calculates a difference signal between a current frame image and a reference image after motion compensation as a prediction error, a compressing/encoding means (COD) 16 that compresses/encodes the difference signal, a decoding means (DCD) 17 that decodes the compressed/encoded difference signal, a motion compensation interpolating means (INP) 13 that interpolates the decoded difference signal by using the reference image after motion compensation, and first and second memories (FRM) 14 and 15 in which images of past two frames are stored. The motion of a moving image between frames is detected. When image information is compressed/encoded to transfer based on the reference image whose motion is compensated, there is no necessity to transfer the motion vector. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、画像の低ビット
レート・高能率符号化/復号化装置、画像伝送装置、画
像処理装置などに用いられ、画像の高能率符号化/復号
化が可能な動画像符号化復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used for a low bit rate / high efficiency encoding / decoding device for images, an image transmitting device, an image processing device, etc., and is capable of high efficiency encoding / decoding for images The present invention relates to a moving picture coding / decoding device.

【0002】[0002]

【従来の技術】従来、動画像の符号化や復号化の技術に
は、例えば、つぎの文献に記載されるものがあった。
2. Description of the Related Art Conventionally, there have been techniques for encoding and decoding moving images, for example, those described in the following documents.

【0003】「安田浩著:”ΜPEG/マルチメデイア
符号化の国際標準”」(丸善株式会社,pp.60-75.) この文献には、動画像のフレーム間の動きを検出し、さ
らに動きを補償したフレーム間の差分信号を符号化する
ことによって、動画像の高能率符号化を実現する方法が
記載されている。以下では、フレームとは情報伝送にお
ける情報構成の一つの単位であって、所定サイズの画像
として再生可能な単位のものをいう。
"Hiro Yasuda:" International standard for PEG / multimedia encoding "" (Maruzen Co., Ltd., pp.60-75.) In this document, motion between frames of a moving image is detected and further moved. There is described a method of realizing high-efficiency coding of a moving image by coding a differential signal between frames in which the motion compensation is performed. Hereinafter, a frame is one unit of information structure in information transmission and is a unit that can be reproduced as an image of a predetermined size.

【0004】図3は、上記文献に記載された従来の動画
像符号化装置のブロック図であり、図4は、上記文献に
記載された動画像復号化装置のブロック図である。
FIG. 3 is a block diagram of a conventional moving picture coding apparatus described in the above document, and FIG. 4 is a block diagram of a moving picture decoding apparatus described in the above document.

【0005】この従来の動画像符号化装置は、画像の2
フレーム間の動きベクトルをブロック単位で算出する動
きベクトル算出手段(EDT)31と、画像の2フレー
ム間の動き補償付き差分信号を算出する動き補償予測手
段(PRE)32と、上記差分信号を圧縮符号化する圧
縮符号化手段(COD)36と、上記圧縮された差分信
号及び動きベクトルなどの情報を可変長符号化し混合す
る混合手段(MPX)38と、上記圧縮された差分信号
を復元する復号手段(DCD)37と、この復元された
差分信号によって前フレームの画像信号を動き補償して
復元画像を生成する動き補償補間手段(INP)33
と、生成された画像を格納するメモリ(FRM)34と
から構成されている。
This conventional moving picture coding apparatus uses two
Motion vector calculation means (EDT) 31 for calculating a motion vector between frames in units of blocks, motion compensation prediction means (PRE) 32 for calculating a differential signal with motion compensation between two frames of an image, and compression of the difference signal. A compression coding means (COD) 36 for coding, a mixing means (MPX) 38 for variable-length coding and mixing the information such as the compressed differential signal and motion vector, and decoding for restoring the compressed differential signal. Means (DCD) 37 and motion compensation interpolating means (INP) 33 for compensating the image signal of the previous frame by this restored difference signal to generate a restored image.
And a memory (FRM) 34 for storing the generated image.

【0006】この動画像符号化装置への入力画像信号s
30は、動きベクトル算出手段31及び動き補償予測手
段32に供給される。動きベクトル算出手段31の出力
s31は、動き補償予測手段32、動き補償補間手段3
3及び混合手段38に接続される。動き補償予測手段3
2の出力s32は、圧縮符号化手段36に接続され、圧
縮符号化手段36の出力s36は、混合手段38及び復
号手段37に接続される。また、復号手段37の出力s
37は動き補償補間手段33に接続され、その出力s3
3はメモリ34に接続されている。メモリ34は3つの
出力端子を備え、その第1の出力s34−1は動きベク
トル算出手段31に接続され、その第2の出力s34−
2は動き補償予測手段32に接続され、第3の出力s3
4−3は動き補償補間手段33に接続される。さらに、
混合手段38からは出力信号s38が得られる。
Input image signal s to this moving image encoding apparatus
30 is supplied to the motion vector calculation means 31 and the motion compensation prediction means 32. The output s31 of the motion vector calculation means 31 is the motion compensation prediction means 32 and the motion compensation interpolation means 3
3 and the mixing means 38. Motion compensation prediction means 3
The output s32 of 2 is connected to the compression encoding means 36, and the output s36 of the compression encoding means 36 is connected to the mixing means 38 and the decoding means 37. Also, the output s of the decoding means 37
37 is connected to the motion compensation interpolation means 33, and its output s3
3 is connected to the memory 34. The memory 34 has three output terminals, the first output s34-1 of which is connected to the motion vector calculation means 31, and the second output s34-
2 is connected to the motion compensation prediction means 32, and the third output s3
4-3 is connected to the motion compensation interpolation means 33. further,
An output signal s38 is obtained from the mixing means 38.

【0007】また、図4の動画像復号化装置は、符号化
された画像信号を復号し差分信号と動きベクトルなどの
情報とに分割する分割手段(DMPX)41と、上記差
分信号を復元する復号手段(DCD)42と、復元され
た差分信号によって前フレームの画像信号を動き補償し
て復元画像を生成する動き補償補間手段(INP)43
と、生成された画像を格納するメモリ(FRM)44と
から構成されている。
Further, the moving picture decoding apparatus of FIG. 4 decodes the coded image signal and divides it into a difference signal and information such as a motion vector, and a division means (DMPX) 41, and restores the difference signal. The decoding means (DCD) 42 and the motion compensation interpolation means (INP) 43 which performs motion compensation on the image signal of the previous frame by the restored difference signal to generate a restored image.
And a memory (FRM) 44 for storing the generated image.

【0008】この動画像復号化装置では、符号化された
画像信号である外部入力s40が分割手段41に供給さ
れる。分割手段41は2つの出力端子を備え、その第1
の出力s41−1は復号手段42に接続され、第2の出
力s41−2は動き補償補間手段43に接続される。ま
た、復号手段42の出力s42は動き補償補間手段43
に接続され、その出力s43がメモリ44及び出力端子
に接続される。さらに、メモリ44の出力s44は、動
き補償補間手段43に接続されている。
In this moving picture decoding apparatus, an external input s40 which is a coded image signal is supplied to the dividing means 41. The dividing means 41 comprises two output terminals, the first of which
The output s41-1 of the above is connected to the decoding means 42, and the second output s41-2 is connected to the motion compensation interpolation means 43. The output s42 of the decoding means 42 is the motion compensation interpolation means 43.
The output s43 is connected to the memory 44 and the output terminal. Further, the output s44 of the memory 44 is connected to the motion compensation interpolation means 43.

【0009】図3の動画像符号化装置において、動きベ
クトル算出手段31では、外部より入力される現フレー
ムの画像信号s30及びメモリ34より入力される前フ
レームの画像信号s34−1に対して、現フレーム画像
をn×nの小ブロックに分割し、それぞれのブロックに
対して、ブロックマッチングの手法により、前フレーム
の当該位置から現フレームのブロック位置までの移動距
離(以下、この移動距離を「動きベクトル」と呼ぶ)を
算出し、これを動きベクトル情報s31として出力す
る。
In the moving picture coding apparatus shown in FIG. 3, the motion vector calculating means 31 is provided with respect to the image signal s30 of the current frame inputted from the outside and the image signal s34-1 of the previous frame inputted from the memory 34. The current frame image is divided into n × n small blocks, and for each block, a moving distance (hereinafter, this moving distance is referred to as “moving distance A motion vector ") is calculated and output as motion vector information s31.

【0010】動き補償予測手段32では、現フレームの
画像信号s30のブロック位置及び当該ブロックの動き
ベクトル情報s31に基づいて、前フレームの当該ブロ
ック位置から動きベクトル分だけ動いたところのブロッ
クの画像信号s34−2をメモリ34より読み込んで、
現フレームのブロックと前フレームのブロックとの画像
データの差分値を求め、これを差分信号s32として圧
縮符号化手段36に出力する。
In the motion compensation prediction means 32, based on the block position of the image signal s30 of the current frame and the motion vector information s31 of the block, the image signal of the block moved by the motion vector from the block position of the previous frame. Read s34-2 from the memory 34,
The difference value of the image data between the block of the current frame and the block of the previous frame is obtained, and this is output as the difference signal s32 to the compression encoding means 36.

【0011】圧縮符号化手段36では、入力された上記
差分信号s32に対して、例えば離散余弦変換(DC
T)及び線形量子化によって画像情報を圧縮し、圧縮さ
れた差分信号s36を混合手段38及び復号手段37に
出力する。
In the compression encoding means 36, for example, the discrete cosine transform (DC) is applied to the input difference signal s32.
The image information is compressed by T) and linear quantization, and the compressed difference signal s36 is output to the mixing means 38 and the decoding means 37.

【0012】混合手段38では、上記圧縮された差分信
号s36及び動きベクトル情報s31を可変長符号化す
るとともに、あらかじめ決められたルールに従ってそれ
らを混合し、この混合された信号s38を出力端子に出
力する。
The mixing means 38 performs variable length coding on the compressed differential signal s36 and the motion vector information s31, mixes them according to a predetermined rule, and outputs the mixed signal s38 to the output terminal. To do.

【0013】復号手段37では、上記圧縮された差分信
号s36に対して、例えば線形逆量子化及び逆離散余弦
変換(IDCT)によって画像情報を復元し、復元され
た差分信号s37を動き補償補間手段33に出力する。
The decoding means 37 restores the image information of the compressed differential signal s36 by, for example, linear inverse quantization and inverse discrete cosine transform (IDCT), and the restored differential signal s37 is motion compensated interpolating means. To 33.

【0014】動き補償補間手段33では、入力される現
フレームの画像信号s30の画像ブロック位置と当該ブ
ロックの動きベクトル情報s31とによって、当該ブロ
ック位置から動きベクトル分だけ動いたところの前フレ
ームの対応する画像信号s34−3をメモリ34より読
み込むとともに、現フレームの差分信号s37と前フレ
ームの画像信号s34−3との和を求めて現フレーム画
像を復元し、復元された画像信号s33をメモリ34に
出力している。
The motion compensation interpolating means 33 uses the image block position of the input image signal s30 of the current frame and the motion vector information s31 of the block to correspond to the previous frame at the position moved by the motion vector from the block position. The image signal s34-3 to be read is read from the memory 34, the sum of the difference signal s37 of the current frame and the image signal s34-3 of the previous frame is calculated to restore the current frame image, and the restored image signal s33 is stored in the memory 34. Is output to.

【0015】図4の動画像復号化装置において、分割手
段41では、外部より入力される符号化された画像信号
s40に対して、上記混合手段38に対応した復号方法
で復号するとともに、差分信号s41−1と動きベクト
ル情報s41−2とに分割して、差分信号を復号手段4
2に、動きベクトル情報を動き補償補間手段43に出力
する。
In the moving picture decoding apparatus shown in FIG. 4, the dividing means 41 decodes the coded image signal s40 inputted from the outside by the decoding method corresponding to the mixing means 38, and at the same time, the difference signal. It is divided into s41-1 and motion vector information s41-2, and the difference signal is decoded by the decoding means 4
2, the motion vector information is output to the motion compensation interpolation means 43.

【0016】復号手段42では、上記差分信号s41−
1に対して、上記符号化装置の圧縮符号化手段とは逆
の、例えば線形逆量子化及び逆離散余弦変換(IDC
T)によって画像情報を復元し、復元された差分信号s
42を動き補償補間手段43に出力する。
In the decoding means 42, the difference signal s41-
On the other hand, for example, linear inverse quantization and inverse discrete cosine transform (IDC), which is the reverse of the compression encoding means of the above encoding device, are used.
The image information is restored by T), and the restored difference signal s
42 is output to the motion compensation interpolation means 43.

【0017】動き補償補間手段43では、入力される現
フレームの画像信号s40のブロック位置と当該ブロッ
クの動きベクトル情報s41−2とによって、当該ブロ
ック位置から動きベクトル分だけ動いたところの前フレ
ームの対応する画像信号s44をメモリ44より読み込
むとともに、現フレームの差分信号s42と前フレーム
の画像信号s44との和を求めて現フレーム画像を復元
し、復元された画像信号s43を外部端子及びメモリ4
4に出力している。
The motion compensation interpolation means 43 uses the block position of the input image signal s40 of the current frame and the motion vector information s41-2 of the block to detect the motion vector of the previous frame from the block position. The corresponding image signal s44 is read from the memory 44, the current frame image is restored by obtaining the sum of the difference signal s42 of the current frame and the image signal s44 of the previous frame, and the restored image signal s43 is output to the external terminal and the memory 4.
It is output to 4.

【0018】[0018]

【発明が解決しようとする課題】しかしながら、従来の
画像符号化復号化装置には、次のような課題があった。
However, the conventional image coding / decoding device has the following problems.

【0019】ひとつは、従来の画像符号化装置では、画
像の差分信号とともに動きベクトル情報を復号側に送る
必要があるために、低ビットレート符号化による画像転
送においてはその情報量は大変な負担となることであ
る。また、動きベクトル情報を復号側に送る場合に、決
められたブロック単位でしか動きベクトル情報を符号化
することができないため、限られた容量の画像転送にお
いては画像の動き検出精度を容易に高めることができな
いという問題点があった。
First, in the conventional image coding apparatus, since it is necessary to send the motion vector information together with the image difference signal to the decoding side, the amount of information is a great burden in image transfer by low bit rate coding. Is to be. Further, when the motion vector information is sent to the decoding side, the motion vector information can be encoded only in a predetermined block unit, so that the motion detection accuracy of the image can be easily enhanced in the image transfer of the limited capacity. There was a problem that I could not do it.

【0020】この発明は、上述のような課題を解決する
ためになされたもので、その目的は、符号化効率の向上
と画像品質の向上を可能にする動画像符号化復号化装置
を提供することにある。
The present invention has been made to solve the above problems, and an object thereof is to provide a moving picture coding / decoding apparatus capable of improving coding efficiency and picture quality. Especially.

【0021】[0021]

【課題を解決するための手段】請求項1に係る動画像符
号化装置は、動画像のフレーム間での動きを検出し、動
き補償された参照画像に基づいて画像情報を予測し、符
号化する動画像符号化装置において、入力画像の連続す
る複数のフレームからなるフレーム群ごとに、そのフレ
ーム群の最も後ろに位置するPフレームをそのフレーム
群のその他のBフレームの前に挿入することによって、
入力画像のフレーム順序を変える順序変換手段と、前記
順序変換手段からPフレームが出力されたときには、前
フレーム群のPフレームの動き補償補間された画像を記
憶しており、前記順序変換手段からBフレームが出力さ
れたときには、そのフレーム群のPフレームの動き補償
補間された画像を記憶している第1の記憶手段と、前記
第1の記憶手段に記憶されている画像よりも1つ前のP
フレームの動き補償補間された画像を記憶する第2の記
憶手段と、前記順序変換手段から出力されたフレームが
Pフレームである場合に、このPフレームと前記第1の
記憶手段に格納されているPフレームの間での動きベク
トルを算出する動きベクトル算出手段と、前記順序変換
手段から出力されたフレームがBフレームである場合
に、前記動きベクトルのスケールを変換してこのBフレ
ームと前記第1および第2の記憶手段に格納されている
両Pフレームの間の動きベクトルを生成するスケール変
換手段と、前記順序変換手段から出力されたフレームが
Pフレームである場合に、前記算出された動きベクトル
を選択し、前記順序変換手段から出力されたフレームが
Bフレームである場合に、前記スケール変換された動き
ベクトルを選択する選択手段と、前記選択された動きベ
クトルによる動き補償後の参照画像を用いて前記順序変
換手段から出力されたフレームの予測誤差を演算する動
き補償予測手段と、前記予測誤差から圧縮符号化された
画像信号を生成する圧縮符号化手段と、前記圧縮符号化
された画像信号から画像情報を復号する復号手段と、前
記圧縮符号化された画像信号と前記算出された動きベク
トルとを可変長符号化して混合する混合手段と、前記選
択された動きベクトルによる動き補償後の参照画像を用
いて前記復号された画像情報を補間し、Pフレームの補
間画像を前記第1の記憶手段に格納する動き補償補間手
段とを備える。
According to a first aspect of the present invention, a moving picture coding apparatus detects a motion between frames of a moving picture, predicts image information based on a motion-compensated reference picture, and codes the moving picture. In the moving picture coding apparatus, the P frame located at the back of the frame group is inserted before the other B frames of the frame group for each frame group consisting of a plurality of consecutive frames of the input image. ,
When the P frame is output from the order conversion unit and the order conversion unit that changes the frame order of the input image, the motion compensated interpolated image of the P frame of the previous frame group is stored, and the order conversion unit B When a frame is output, a first storage unit that stores a motion-compensated and interpolated image of the P frame of the frame group, and one image before the image stored in the first storage unit. P
When the frame output from the order conversion means is a P frame, the second storage means for storing the motion compensated interpolated image of the frame is stored in the P frame and the first storage means. When the motion vector calculation means for calculating motion vectors between P frames and the frame output from the order conversion means are B frames, the scale of the motion vector is converted to the B frame and the first frame. And a scale conversion unit that generates a motion vector between both P frames stored in the second storage unit, and the calculated motion vector when the frame output from the order conversion unit is a P frame. And the frame output from the order conversion means is a B frame, the scale-converted motion vector is selected. Selecting means, motion compensation prediction means for calculating a prediction error of the frame output from the order conversion means using the reference image after motion compensation by the selected motion vector, and compression coding from the prediction error. A compression encoding unit for generating an image signal, a decoding unit for decoding image information from the compression encoded image signal, and a variable length encoding for the compression encoded image signal and the calculated motion vector. Motion compensation for interpolating the decoded image information using a mixing means for mixing and a reference image after motion compensation by the selected motion vector, and storing an interpolated image of P frame in the first storage means. And an interpolating means.

【0022】請求項2に係る動画像復号化装置は、入力
される圧縮符号化された画像信号から画像情報を復元す
る動画像復号化装置において、連続する複数のフレーム
からなるフレーム群ごとにそのフレーム群の最も後ろに
位置するPフレームをそのフレーム群のその他のBフレ
ームの前に挿入することによってフレーム順序を変えら
れた画像情報と、Pフレーム間の動きベクトルと含む前
記画像信号から前記動きベクトルを復号分割する分割手
段と、前記圧縮符号化された画像信号から画像情報を復
元する復号手段と、前記復元された画像情報がPフレー
ムのものであるときには、前フレーム群のPフレームの
動き補償補間された画像を記憶しており、前記復元され
た画像情報がBフレームのものであるときには、そのフ
レーム群のPフレームの動き補償補間された画像を記憶
している第1の記憶手段と、前記第1の記憶手段に記憶
されている画像よりも1つ前のPフレームの動き補償補
間された画像を記憶する第2の記憶手段と、前記復元さ
れた画像情報がBフレームのものである場合に、前記動
きベクトルのスケールを変換してこのBフレームと前記
第1および第2の記憶手段に格納されている両Pフレー
ムの間の動きベクトルを生成するスケール変換手段と、
前記復元された画像情報がPフレームのものである場合
に、前記復号分割された動きベクトルを選択し、前記復
元された画像情報がBフレームのものである場合に、前
記スケール変換された動きベクトルを選択する選択手段
と、前記選択された動きベクトルによる動き補償後の参
照画像を用いて前記復元された画像情報を補間し、Pフ
レームの補間画像を前記第1の記憶手段に格納する動き
補償補間手段と、前記補間された画像情報のフレーム順
序を戻す順序逆変換手段とを備える。
A moving picture decoding apparatus according to a second aspect of the present invention is a moving picture decoding apparatus which restores image information from an input compression-coded image signal, for each frame group consisting of a plurality of consecutive frames. The P frame located at the rearmost of the frame group is inserted in front of the other B frames of the frame group, and the image signal including the image information whose frame order has been changed and the motion vector between the P frames is converted into the motion. Dividing means for decoding and dividing a vector, decoding means for restoring image information from the compression-coded image signal, and when the restored image information is for a P frame, the movement of the P frame of the previous frame group When the compensated and interpolated image is stored and the restored image information is for a B frame, the P frame of the frame group is stored. First storage means for storing the motion compensated interpolated image of the frame, and the motion compensated interpolated image of the P frame preceding the image stored in the first storage means. Second storage means, and when the restored image information is of a B frame, the scale of the motion vector is converted and stored in the B frame and the first and second storage means. Scale conversion means for generating a motion vector between both P frames;
When the restored image information is for a P frame, the decoded and divided motion vector is selected, and when the restored image information is for a B frame, the scale-converted motion vector is selected. And the reference image after the motion compensation by the selected motion vector is used to interpolate the restored image information, and the P frame interpolated image is stored in the first storage unit. Interpolation means and order inverse transformation means for returning the frame order of the interpolated image information are provided.

【0023】請求項3に係る動画像符号化復号化装置
は、前記第1項の符号化装置と前記第2項の復号化装置
とを含む。
A moving picture coding / decoding apparatus according to a third aspect includes the coding apparatus according to the first aspect and the decoding apparatus according to the second aspect.

【0024】請求項4に係る動画像符号化装置は、請求
項1のものにおいて、前記スケール変換手段に代えて、
前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記算出された動きベクトルを用いてこ
のBフレームの動きベクトルを内挿予測する動きベクト
ル予測手段と、前記動きベクトル予測手段によって動き
ベクトルが予測された周辺画素位置の動きベクトルを用
いて動きベクトルが予測されない画素位置の動きベクト
ルを補間する動きベクトル補間手段とを備え、前記選択
手段は、前記順序変換手段から出力されたフレームがP
フレームである場合に、前記算出された動きベクトルを
選択し、前記順序変換手段から出力されたフレームがB
フレームである場合に、前記内挿予測された動きベクト
ルおよび前記補間された動きベクトルを選択することを
特徴とする。
A moving picture coding apparatus according to a fourth aspect is the moving picture coding apparatus according to the first aspect, wherein the scale converting means is replaced by
When the frame output from the order conversion unit is a B frame, the motion vector prediction unit that interpolates and predicts the motion vector of the B frame using the calculated motion vector, and the motion vector prediction unit performs motion. A motion vector interpolating means for interpolating a motion vector at a pixel position where the motion vector is not predicted using a motion vector at a peripheral pixel position where the vector is predicted, and the selecting means is characterized in that the frame output from the order converting means is P
If the frame is a frame, the calculated motion vector is selected, and the frame output from the order conversion means is B
If the frame is a frame, the interpolation predicted motion vector and the interpolated motion vector are selected.

【0025】請求項5に係る動画像復号化装置は、請求
項2のものにおいて、前記スケール変換手段に代えて、
前記復元された画像情報がBフレームのものである場合
に、前記復号分割された動きベクトルを用いてこのBフ
レームの動きベクトルを内挿予測する動きベクトル予測
手段と、前記動きベクトル予測手段によって動きベクト
ルが予測された周辺画素位置の動きベクトルを用いて動
きベクトルが予測されない画素位置の動きベクトルを補
間する動きベクトル補間手段とを備え、前記選択手段
は、前記復元された画像情報がPフレームのものである
場合に、前記復号分割された動きベクトルを選択し、前
記復元された画像情報がBフレームのものである場合
に、前記内挿予測された動きベクトルおよび前記補間さ
れた動きベクトルを選択することを特徴とする。
A moving picture decoding apparatus according to a fifth aspect is the moving picture decoding apparatus according to the second aspect, wherein the scale converting means is replaced by
When the restored image information is of a B frame, a motion vector predicting means for interpolating and predicting a motion vector of the B frame using the decoded and divided motion vector, and a motion by the motion vector predicting means. A motion vector interpolating means for interpolating a motion vector at a pixel position where the motion vector is not predicted using a motion vector at a peripheral pixel position where the vector is predicted, wherein the selecting means has the restored image information of a P frame. , The decoding-divided motion vector is selected, and when the restored image information is for a B frame, the interpolation predicted motion vector and the interpolated motion vector are selected. It is characterized by doing.

【0026】請求項6に係る動画像符号化復号化装置
は、前記第4項の符号化装置と前記第5項の復号化装置
とを含む。
A moving picture coding / decoding apparatus according to a sixth aspect includes the coding apparatus according to the fourth aspect and the decoding apparatus according to the fifth aspect.

【0027】請求項7に係る動画像符号化装置は、請求
項1のものにおいて、前記順序変換手段から出力された
フレームがBフレームである場合に、前記算出された動
きベクトルを用いてこのBフレームの動きベクトルを内
挿予測する動きベクトル予測手段を備え、前記選択手段
は、前記順序変換手段から出力されたフレームがPフレ
ームである場合に、前記算出された動きベクトルを選択
し、前記順序変換手段から出力されたフレームがBフレ
ームである場合に、前記内挿予測された動きベクトルを
選択し、さらに、前記動きベクトル予測手段によって第
1の記憶手段に格納されている画像の動きベクトルが予
測された周辺画素を用いて動きベクトルが予測されない
画素を補間し、動き補償参照画像を生成する第1の画像
データ補間手段と、前記動きベクトル予測手段によって
第2の記憶手段に格納されている画像の動きベクトルが
予測された周辺画素を用いて動きベクトルが予測されな
い画素を補間し、動き補償参照画像を生成する第2の画
像データ補間手段とを備える。
According to a seventh aspect of the present invention, in the moving image encoding apparatus according to the first aspect, when the frame output from the order conversion means is a B frame, the B vector is calculated using the calculated motion vector. A motion vector predicting unit that interpolates and predicts a motion vector of a frame is provided, and the selecting unit selects the calculated motion vector when the frame output from the order converting unit is a P frame, and selects the order. When the frame output from the conversion unit is a B frame, the motion vector predicted by interpolation is selected, and the motion vector of the image stored in the first storage unit by the motion vector prediction unit is A first image data interpolating means for interpolating a pixel whose motion vector is not predicted using the predicted peripheral pixels to generate a motion-compensated reference image; A second image for generating a motion-compensation reference image by interpolating a pixel whose motion vector is not predicted using the peripheral pixels whose motion vector of the image stored in the second storage unit has been predicted by the motion vector prediction unit. Data interpolating means.

【0028】請求項8に係る動画像復号化装置は、請求
項2のものにおいて、前記スケール変換手段に代えて、
前記復元された画像情報がBフレームのものである場合
に、前記復号分割された動きベクトルを用いてこのBフ
レームの動きベクトルを内挿予測する動きベクトル予測
手段を備え、前記選択手段は、前記復元された画像情報
がPフレームのものである場合に、前記復号分割された
動きベクトルを選択し、前記復元された画像情報がBフ
レームのものである場合に、前記内挿予測された動きベ
クトルを選択し、さらに、前記動きベクトル予測手段に
よって第1の記憶手段に格納されている画像の動きベク
トルが予測された周辺画素を用いて動きベクトルが予測
されない画素を補間し、動き補償参照画像を生成する第
1の画像データ補間手段と、前記動きベクトル予測手段
によって第2の記憶手段に格納されている画像の動きベ
クトルが予測された周辺画素を用いて動きベクトルが予
測されない画素を補間し、動き補償参照画像を生成する
第2の画像データ補間手段とを備える。
A moving picture decoding apparatus according to an eighth aspect is the moving image decoding apparatus according to the second aspect, wherein the scale converting means is replaced by
When the restored image information is of a B frame, a motion vector prediction unit that interpolates and predicts the motion vector of the B frame using the decoded and divided motion vector is provided, and the selection unit is the When the restored image information is for a P frame, the decoding-divided motion vector is selected, and when the restored image information is for a B frame, the interpolation predicted motion vector is selected. Further, the pixel whose motion vector is not predicted is interpolated by using the peripheral pixels whose motion vector of the image stored in the first storage means has been predicted by the motion vector prediction means, and the motion compensation reference image is obtained. The first image data interpolating means to be generated and the motion vector predicting means predict the motion vector of the image stored in the second storage means. Motion vector by interpolating pixels that are not predicted by using the peripheral pixels, and a second image data interpolation means for generating a motion compensation reference image.

【0029】請求項9に係る動画像符号化復号化装置
は、前記第7項の符号化装置と前記第8項の復号化装置
とを含む。
A moving picture coding / decoding apparatus according to a ninth aspect includes the coding apparatus according to the seventh aspect and the decoding apparatus according to the eighth aspect.

【0030】請求項10に係る動画像符号化装置は、動
画像のフレーム間での動きを検出し、動き補償された参
照画像に基づいて画像情報を予測し、符号化する動画像
符号化装置において、入力画像の連続する複数のフレー
ムからなるフレーム群ごとに、そのフレーム群の最も後
ろに位置するPフレームをそのフレーム群のその他のB
フレームの前に挿入することによって、入力画像のフレ
ーム順序を変える順序変換手段と、前記順序変換手段か
らPフレームが出力されたときには、前フレーム群のP
フレームの動き補償補間された画像を記憶しており、前
記順序変換手段からBフレームが出力されたときには、
そのフレーム群のPフレームの動き補償補間された画像
を記憶している第1の記憶手段と、前記第1の記憶手段
に記憶されている画像よりも1つ前のPフレームの動き
補償補間された画像を記憶する第2の記憶手段と、前記
記憶手段に格納された2フレームの間での動きべクトル
を算出する動きベクトル算出手段と、前記順序変換手段
から出力されたフレームがBフレームである場合に、前
記動きベクトルのスケールを変換してこのBフレームと
前記記憶手段に格納されている両Pフレームの間の動き
ベクトルを生成するスケール変換手段と、前記順序変換
手段から出力されたフレームがPフレームである場合
に、前記算出された動きベクトルを選択し、前記順序変
換手段から出力されたフレームがBフレームである場合
に、前記スケール変換された動きベクトルを選択する選
択手段と、前記選択された動きベクトルによる動き補償
後の参照画像を用いて前記順序変換手段から出力された
フレームの予測誤差を演算する動き補償予測手段と、前
記予測誤差から圧縮符号化された画像信号を生成する圧
縮符号化手段と、前記圧縮符号化された画像信号から画
像情報を復号する復号手段と、前記選択された動きベク
トルによる動き補償後の参照画像を用いて前記復号され
た画像情報を補間し、Pフレームの補間画像を前記第1
の記憶手段に格納する動き補償補間手段とを備える。
A moving picture coding apparatus according to a tenth aspect detects a motion between frames of a moving picture, predicts image information based on a motion-compensated reference picture, and codes the moving picture coding apparatus. For each frame group consisting of a plurality of consecutive frames of the input image, the P frame located at the rearmost of the frame group is replaced with the other B frames of the frame group.
An order conversion means for changing the frame order of an input image by inserting before a frame, and a P frame of the previous frame group when a P frame is output from the order conversion means.
The frame motion-compensated and interpolated image is stored, and when the order conversion means outputs a B frame,
A first storage unit that stores the P frame motion-compensated and interpolated image of the frame group and the P frame motion-compensated and interpolated one before the image stored in the first storage unit. Second storage means for storing an image, a motion vector calculation means for calculating a motion vector between two frames stored in the storage means, and a frame output from the order conversion means is a B frame. In some cases, scale conversion means for converting the scale of the motion vector to generate a motion vector between the B frame and both P frames stored in the storage means, and a frame output from the order conversion means. Is a P frame, the calculated motion vector is selected, and if the frame output from the order conversion means is a B frame, the scale change is performed. Selecting means for selecting the selected motion vector, motion compensation prediction means for calculating the prediction error of the frame output from the order conversion means using the reference image after motion compensation by the selected motion vector, and the prediction A compression encoding unit that generates a compression encoded image signal from an error, a decoding unit that decodes image information from the compression encoded image signal, and a reference image after motion compensation by the selected motion vector The decoded image information is interpolated using the P-frame interpolated image by the first
And a motion compensation interpolating means for storing in the storage means.

【0031】請求項11に係る動画像復号化装置は、入
力される圧縮符号化された画像信号から画像情報を復元
する動画像復号化装置において、連続する複数のフレー
ムからなるフレーム群ごとにそのフレーム群の最も後ろ
に位置するPフレームをそのフレーム群のその他のBフ
レームの前に挿入することによってフレーム順序を変え
られた画像情報を、前記圧縮符号化された画像信号から
復元する復号手段と、前記復元された画像情報がPフレ
ームのものであるときには、前フレーム群のPフレーム
の動き補償補間された画像を記憶しており、前記復元さ
れた画像情報がBフレームのものであるときには、その
フレーム群のPフレームの動き補償補間された画像を記
憶している第1の記憶手段と、前記第1の記憶手段に記
憶されている画像よりも1つ前のPフレームの動き補償
補間された画像を記憶する第2の記憶手段と、前記記憶
手段に格納された2フレームの間での動きべクトルを算
出する動きベクトル算出手段と、前記復元された画像情
報がBフレームのものである場合に、前記動きベクトル
のスケールを変換してこのBフレームと前記第1および
第2の記憶手段に格納されている両Pフレームの間の動
きベクトルを生成するスケール変換手段と、前記復元さ
れた画像情報がPフレームのものである場合に、前記算
出された動きベクトルを選択し、前記復元された画像情
報がBフレームのものである場合に、前記スケール変換
された動きベクトルを選択する選択手段と、前記選択さ
れた動きベクトルによる動き補償後の参照画像を用いて
前記復号された画像情報を補間し、Pフレームの補間画
像を前記第1の記憶手段に格納する動き補償補間手段
と、前記補間された画像情報のフレーム順序を戻す順序
逆変換手段とを備える。
A moving picture decoding apparatus according to an eleventh aspect of the present invention is a moving picture decoding apparatus which restores image information from an input compression-coded image signal, for each frame group consisting of a plurality of consecutive frames. Decoding means for restoring the image information whose frame order has been changed by inserting the P frame located at the rearmost of the frame group before the other B frames of the frame group from the compression-coded image signal. , When the restored image information is of a P frame, the motion compensated interpolated image of the P frame of the previous frame group is stored, and when the restored image information is of a B frame, First storage means for storing a motion-compensated and interpolated image of a P frame of the frame group, and an image stored in the first storage means Second storage means for storing the motion compensated interpolated image of the immediately preceding P frame; and motion vector calculation means for calculating the motion vector between the two frames stored in the storage means. When the restored image information is of a B frame, the scale of the motion vector is converted and a motion between the B frame and both P frames stored in the first and second storage means is performed. Scale conversion means for generating a vector, and when the restored image information is for a P frame, the calculated motion vector is selected, and the restored image information is for a B frame. , Selecting means for selecting the scale-converted motion vector, and interpolating the decoded image information using a reference image after motion compensation by the selected motion vector, Comprising a motion compensated interpolation means for storing the interpolated image frame in the first storage means, and the order inverse transform means for returning the frame order of the interpolated image information.

【0032】請求項12に係る動画像符号化復号化装置
は、前記第10項の符号化装置と前記第11項の復号化
装置とを含む。
A moving picture coding / decoding apparatus according to a twelfth aspect includes the coding apparatus according to the tenth aspect and the decoding apparatus according to the eleventh aspect.

【0033】請求項13に係る動画像符号化装置は、請
求項10のものにおいて、前記スケール変換手段に代え
て、前記動きベクトル算出手段で算出された動きベクト
ルを用いて前記順序変換手段から出力された順序変換さ
れなかった現フレームの動きベクトルを内挿予測する第
1の動きベクトル予測手段と、前記第1の動きベクトル
予測手段によって動きベクトルが予測された周辺画素位
置の動きベクトルを用いて動きベクトルが予測されない
画素位置の動きベクトルを補間する第1の動きベクトル
補間手段と、前記動きベクトル算出手段で算出された動
きベクトルを用いて前記順序変換手段から出力された順
序変換されなかった現フレームの動きベクトルを外挿予
測する第2の動きベクトル予測手段と、前記第2の動き
ベクトル予測手段によって動きベクトルが予測された周
辺画素位置の動きベクトルを用いて動きベクトルが予測
されない画素位置の動きベクトルを補間する第2の動き
ベクトル補間手段とを備え、前記選択手段においては、
前記内挿予測された動きベクトルあるいは外挿予測され
た動きベクトルのいずれかを選択することを特徴とす
る。
The moving picture coding apparatus according to a thirteenth aspect is the moving picture coding apparatus according to the tenth aspect, in which the motion vector calculated by the motion vector calculating means is used in place of the scale converting means, and is output from the order converting means. Using the first motion vector predicting means for interpolating and predicting the motion vector of the current frame which has not been subjected to the order conversion, and the motion vector of the peripheral pixel position where the motion vector is predicted by the first motion vector predicting means. First motion vector interpolating means for interpolating a motion vector at a pixel position where a motion vector is not predicted, and the current unconverted order output from the order converting means using the motion vector calculated by the motion vector calculating means. Second motion vector predicting means for extrapolating and predicting the motion vector of the frame, and the second motion vector predicting means Therefore a second motion vector interpolation means for interpolating the motion vectors of the pixel position motion vector is not estimated using the motion vector of the peripheral pixel position motion vector is predicted, the said selection means,
It is characterized in that either the motion vector predicted by interpolation or the motion vector predicted by extrapolation is selected.

【0034】請求項14に係る動画像復号化装置は、請
求項11のものにおいて、前記スケール変換手段に代え
て、前記動きベクトル算出手段で算出された動きベクト
ルを用いて順序変換されなかった現フレームの動きベク
トルを内挿予測する第1の動きベクトル予測手段と、前
記第1の動きベクトル予測手段によって動きベクトルが
予測された周辺画素位置の動きベクトルを用いて動きベ
クトルが予測されない画素位置の動きベクトルを補間す
る第1の動きベクトル補間手段と、前記動きベクトル算
出手段で算出された動きベクトルを用いて順序変換され
た現フレームの動きベクトルを外挿予測する第2の動き
ベクトル予測手段と、前記第2の動きベクトル予測手段
によって動きベクトルが予測された周辺画素位置の動き
ベクトルを用いて動きベクトルが予測されない画素位置
の動きベクトルを補間する第2の動きベクトル補間手段
とを備え、前記選択手段においては、前記内挿予測され
た動きベクトルあるいは外挿予測された動きベクトルの
いずれかを選択することを特徴とする。
A moving picture decoding apparatus according to a fourteenth aspect is the moving picture decoding apparatus according to the eleventh aspect, in which the motion vector calculated by the motion vector calculating means is used in place of the scale converting means and the order conversion is not performed. A first motion vector predicting unit that interpolates and predicts a motion vector of a frame, and a pixel position where a motion vector is not predicted using a motion vector of a peripheral pixel position where the motion vector is predicted by the first motion vector predicting unit. A first motion vector interpolating means for interpolating the motion vector, and a second motion vector predicting means for extrapolating and predicting the motion vector of the current frame whose order is converted using the motion vector calculated by the motion vector calculating means. , Using the motion vectors at the peripheral pixel positions whose motion vectors have been predicted by the second motion vector prediction means A second motion vector interpolating means for interpolating a motion vector at a pixel position whose prediction vector is not predicted, wherein the selecting means selects either the interpolated predicted motion vector or the extrapolated predicted motion vector. It is characterized by selecting.

【0035】請求項15に係る動画像符号化復号化装置
は、前記第13項の符号化装置と前記第14項の復号化
装置とを含む。
A moving picture coding / decoding apparatus according to a fifteenth aspect includes the coding apparatus according to the thirteenth aspect and the decoding apparatus according to the fourteenth aspect.

【0036】請求項16に係る動画像符号化装置は、請
求項10のものにおいて、前記スケール変換手段に代え
て、前記動きベクトル算出手段で算出された動きベクト
ルを用いて前記順序変換手段から出力された順序変換さ
れなかった現フレームの動きベクトルを内挿予測する第
1の動きベクトル予測手段と、前記動きベクトル算出手
段で算出された動きベクトルを用いて前記順序変換手段
によって順序変換された現フレームの動きベクトルを外
挿予測する第2の動きベクトル予測手段とを備え、前記
選択手段においては、前記内挿予測された動きベクトル
あるいは外挿予測された動きベクトルのいずれかを選択
するとともに、さらに、前記第1または第2の動きベク
トル予測手段によって前記第1の記憶手段に格納されて
いる画像の動きベクトルが予測された周辺画素を用いて
動きベクトルが予測されない画素を補間し、動き補償参
照画像を生成する第1の画像データ補間手段と、前記第
1または第2の動きベクトル予測手段によって前記第2
の記憶手段に格納されている画像の動きベクトルが予測
された周辺画素を用いて動きベクトルが予測されない画
素を補間し、動き補償参照画像を生成する第2の画像デ
ータ補間手段とを備える。
According to a sixteenth aspect of the present invention, in the moving image encoding apparatus according to the tenth aspect, the motion vector calculated by the motion vector calculating means is used instead of the scale converting means, and the order converting means outputs the motion vector. The first motion vector predicting means for interpolating and predicting the motion vector of the current frame which has not been subjected to the order conversion, and the current vector subjected to the order conversion by the order converting means using the motion vector calculated by the motion vector calculating means. A second motion vector predicting unit that extrapolates and predicts a motion vector of the frame, wherein the selecting unit selects either the interpolated predicted motion vector or the extrapolated predicted motion vector; Furthermore, the motion vector of the image stored in the first storage means by the first or second motion vector prediction means. A first image data interpolating unit that interpolates a pixel whose motion vector is not predicted by using a peripheral pixel whose predicted torque is predicted, and generates a motion-compensated reference image; and the first or second motion vector predicting unit. Two
Second image data interpolating means for interpolating pixels whose motion vectors are not predicted using peripheral pixels whose motion vectors are predicted stored in the storage means, and generating a motion compensation reference image.

【0037】請求項17に係る動画像復号化装置は、請
求項11のものにおいて、前記スケール変換手段に代え
て、前記動きベクトル算出手段で算出された動きベクト
ルを用いて順序変換されなかった現フレームの動きベク
トルを内挿予測する第1の動きベクトル予測手段と、前
記動きベクトル算出手段で算出された動きベクトルを用
いて順序変換された現フレームの動きベクトルを外挿予
測する第2の動きベクトル予測手段とを備え、前記選択
手段においては、前記内挿予測された動きベクトルある
いは外挿予測された動きベクトルのいずれかを選択する
とともに、さらに、前記第1または第2の動きベクトル
予測手段によって前記第1の記憶手段に格納されている
画像の動きベクトルが予測された周辺画素を用いて動き
ベクトルが予測されない画素を補間し、動き補償参照画
像を生成する第1の画像データ補間手段と、前記第1ま
たは第2の動きベクトル予測手段によって前記第2の記
憶手段に格納されている画像の動きベクトルが予測され
た周辺画素を用いて動きベクトルが予測されない画素を
補間し、動き補償参照画像を生成する第2の画像データ
補間手段とを備える。
A moving picture decoding apparatus according to a seventeenth aspect is the moving picture decoding apparatus according to the eleventh aspect, in which the order conversion is not performed by using the motion vector calculated by the motion vector calculation means instead of the scale conversion means. A first motion vector predicting means for interpolating and predicting a motion vector of a frame, and a second motion for extrapolating and predicting a motion vector of the current frame whose order is converted using the motion vector calculated by the motion vector calculating means. A vector predicting unit, wherein the selecting unit selects either the interpolated predicted motion vector or the extrapolated predicted motion vector, and further, the first or second motion vector predicting unit. The motion vector is predicted using the peripheral pixels whose motion vector of the image stored in the first storage means is predicted by A first image data interpolating means for interpolating non-existing pixels to generate a motion-compensated reference image, and a motion vector of an image stored in the second storage means by the first or second motion vector predicting means. A second image data interpolating unit for interpolating a pixel whose motion vector is not predicted using the predicted neighboring pixels to generate a motion-compensated reference image.

【0038】請求項18に係る動画像符号化復号化装置
は、前記第16項の符号化装置と前記第17項の復号化
装置とを含む。
A moving picture coding / decoding apparatus according to a eighteenth aspect includes the coding apparatus according to the sixteenth aspect and the decoding apparatus according to the seventeenth aspect.

【0039】請求項19に係る動画像符号化装置は、動
画像のフレーム間での動きを検出し、動き補償された参
照画像に基づいて画像情報を予測し、符号化する動画像
符号化装置において、入力画像の連続する複数のフレー
ムからなるフレーム群ごとに、そのフレーム群の最も後
ろに位置するPフレームをそのフレーム群のその他のB
フレームの前に挿入することによって、入力画像のフレ
ーム順序を変える順序変換手段と、前記順序変換手段か
ら出力された画像を、直流を含む低周波帯域の画像信号
とその他の高周波帯域の画像信号とに帯域分割する帯域
分割手段と、帯域分割されて個別に動き補償補間された
2つの画像を合成する帯域合成手段と、連続する2つの
Pフレームの帯域合成された画像を記憶する合成画像記
憶手段と、前記合成画像記憶手段に格納されている2つ
のPフレームの画像間の動きベクトルを算出する動きベ
クトル算出手段と、前記低周波帯域の画像信号の画像サ
イズに従って前記算出された動きベクトルのスケールを
変換するとともに前記高周波帯域の画像信号の画像サイ
ズに従って前記算出された動きベクトルのスケールを変
換し、前記低周波帯域の画像信号の画像サイズに応じて
スケール変換した低域画像動きベクトルおよび前記高周
波帯域の画像信号の画像サイズに応じてスケール変換し
た高域画像動きベクトルを出力するスケール変換手段
と、前記帯域分割手段から出力された低周波帯域の画像
信号の予測誤差を低域動き補償参照画像を用いて演算
し、低域画像予測誤差信号として出力する低域用動き補
償予測手段と、前記帯域分割手段から出力された高周波
帯域の画像信号の予測誤差を、内挿予測または外挿予測
されて補間された動きベクトルによる高域動き補償参照
画像を用いて演算し、高域画像予測誤差信号として出力
する高域用動き補償予測手段と、前記低域画像予測誤差
信号を圧縮符号化する低域用圧縮符号化手段と、前記高
域画像予測誤差信号を圧縮符号化する高域用圧縮符号化
手段と、前記低域用圧縮符号化手段によって圧縮符号化
された信号を復号する低域用復号手段と、前記高域用圧
縮符号化手段によって圧縮符号化された信号を復号する
高域用復号手段と、前記低域用復号手段によって復号さ
れた信号を前記低域動き補償参照画像を用いて補間する
低域用動き補償補間手段と、前記高域用復号手段によっ
て復号された信号を前記高域動き補償参照画像を用いて
補間する高域用動き補償補間手段と、前記低域用動き補
償補間手段から出力される2フレーム分のPフレームの
補間画像が記憶されており、これら2フレーム分の画像
の内のあとから記憶されたフレームの画像を前記帯域合
成手段に出力する低域用記憶手段と、前記高域用動き補
償補間手段から出力される2フレーム分のPフレームの
補間画像が記憶されており、これら2フレーム分の画像
の内のあとから記憶されたフレームの画像を前記帯域合
成手段に出力する高域用記憶手段と、前記帯域分割手段
から出力された低周波帯域の画像信号がBフレームのも
のである場合に、前記スケール変換された低域画像動き
ベクトルを用いてこの画像信号の動きベクトルを内挿予
測する低域内挿用動きベクトル予測手段と、前記帯域分
割手段から出力された低周波帯域の画像信号がPフレー
ムのものである場合に、前記スケール変換された低域画
像動きベクトルを用いてこの画像信号の動きベクトルを
外挿予測する低域外挿用動きベクトル予測手段と、前記
帯域分割手段から出力された低周波帯域の画像信号がB
フレームのものである場合に、前記内挿予測された動き
ベクトルを選択し、前記帯域分割から出力された低周波
帯域の画像信号がPフレームのものである場合に、前記
外挿予測された動きベクトルを選択する低域用選択手段
と、前記低域内挿用動きベクトル予測手段または前記低
域外挿用動きベクトル予測手段によって動きベクトルが
予測されない画素を前記低域用記憶手段に格納されてい
る2フレーム分の画像の内のあとから格納されたフレー
ムの画像の動きベクトルが予測された周辺画素を用いて
補間し、前記低域動き補償参照画像を生成して前記低域
用動き補償予測手段および前記低域用動き補償補間手段
に出力する第1の低域用画像データ補間手段と、前記低
域内挿用動きベクトル予測手段によって動きベクトルが
予測されない画素を前記低域用記憶手段に格納されてい
る2フレーム分の画像の内の先に格納されたフレームの
画像の動きベクトルが予測された周辺画素を用いて補間
し、前記低域動き補償参照画像を生成して前記低域用動
き補償予測手段および前記低域用動き補償補間手段に出
力する第2の低域用画像データ補間手段と、前記帯域分
割手段から出力された高周波帯域の画像信号がBフレー
ムのものである場合に、前記スケール変換された高域画
像動きベクトルを用いてこの画像信号の動きベクトルを
内挿予測する高域内挿用動きベクトル予測手段と、前記
高域内挿用動きベクトル予測手段によって動きベクトル
が予測されない画素位置の動きベクトルを動きベクトル
が予測された周辺画素位置の動きベクトルを用いて補間
する高域内挿用動きベクトル補間手段と、前記帯域分割
手段から出力された高周波帯域の画像信号がBフレーム
のものである場合に、前記スケール変換された高域画像
動きベクトルを用いてこの画像信号の動きベクトルを外
挿予測する高域外挿用動きベクトル予測手段と、前記高
域外挿用動きベクトル予測手段によって動きベクトルが
予測されない画素位置の動きベクトルを動きベクトルが
予測された周辺画素位置の動きベクトルを用いて補間す
る高域外挿用動きベクトル補間手段と、前記帯域分割手
段から出力された高周波帯域の画像信号がBフレームの
ものである場合に、前記内挿予測されて補間された動き
ベクトルを選択し、前記帯域分割手段から出力された高
周波帯域の画像信号がPフレームのものである場合に、
外挿予測されて補間された動きベクトルを選択し、選択
した動きベクトルを前記高域用動き補償予測手段および
前記高域用動き補償補間手段に出力する高域用選択手段
と、前記低域用圧縮符号化手段、前記高域用圧縮符号化
手段によって圧縮符号化された各帯域の信号を混合する
混合手段とを備える。
A moving picture coding apparatus according to claim 19 detects a motion between frames of a moving picture, predicts image information based on a motion-compensated reference picture, and codes the moving picture coding apparatus. For each frame group consisting of a plurality of consecutive frames of the input image, the P frame located at the rearmost of the frame group is replaced with the other B frames of the frame group.
An order conversion means for changing the frame order of an input image by inserting before a frame, and an image output from the order conversion means, a low frequency band image signal including direct current and other high frequency band image signals. A band dividing unit for dividing the band into two, a band combining unit for combining two images that have been band-divided and individually motion-compensated and interpolated, and a combined image storage unit for storing the band combined images of two consecutive P frames. A motion vector calculation means for calculating a motion vector between two P frame images stored in the composite image storage means; and a scale of the calculated motion vector according to the image size of the low frequency band image signal. And converting the scale of the calculated motion vector according to the image size of the image signal in the high frequency band, the low frequency Scale conversion means for outputting a low-frequency image motion vector scale-converted according to the image size of the high-frequency band image signal and a high-frequency image motion vector scale-converted according to the image size of the high-frequency band image signal, and the band division A low-frequency motion compensation prediction means for calculating a prediction error of a low-frequency band image signal output from the means using a low-frequency motion compensation reference image, and outputting as a low-frequency image prediction error signal; The prediction error of the output image signal in the high frequency band is calculated using the high-frequency motion compensation reference image based on the interpolated or extrapolated motion vector and interpolated, and is output as a high-frequency image prediction error signal. High-frequency motion compensation predicting means, low-frequency compression encoding means for compression-encoding the low-frequency image prediction error signal, and high-frequency compression encoding for the high-frequency image prediction error signal. Compression encoding means, a low frequency decoding means for decoding the signal compressed and encoded by the low frequency compression encoding means, and a signal compression encoded by the high frequency compression encoding means. High frequency decoding means, low frequency motion compensation interpolation means for interpolating the signal decoded by the low frequency decoding means using the low frequency motion compensation reference image, and high frequency decoding means A high-frequency motion-compensated interpolation means for interpolating a signal using the high-frequency motion-compensated reference image and two-frame P-frame interpolated images output from the low-frequency motion-compensated interpolating means are stored. Of these two frames of images, the image of the frame stored later is output to the band synthesizing means, and the low-frequency storage means is output from the high-frequency motion compensation interpolation means. Interpolation of An image is stored, and high-frequency storage means for outputting the image of the frame stored after these two frames of images to the band synthesizing means, and the low-frequency band output from the band dividing means. When the image signal of B frame is of B frame, the low band interpolation motion vector predicting means for interpolating and predicting the motion vector of the image signal using the scaled low band image motion vector, and the band division. When the image signal in the low frequency band output from the means is for a P frame, the motion for low-frequency extrapolation for extrapolating and predicting the motion vector of the image signal using the scale-converted low-frequency image motion vector The image signal in the low frequency band output from the vector predicting means and the band dividing means is B
The motion vector predicted for interpolation is selected for a frame, and the motion predicted for extrapolation is selected when the image signal in the low frequency band output from the band division is for a P frame. A low band selecting unit for selecting a vector, and a pixel for which a motion vector is not predicted by the low band interpolation motion vector predicting unit or the low band extrapolating motion vector predicting unit are stored in the low band storing unit. The low-frequency motion-compensated prediction means and the low-frequency motion-compensated prediction means are generated by interpolating the motion vector of the image of the frame stored later in the image for the frame using the predicted peripheral pixels to generate the low-frequency motion-compensated reference image. Pixels whose motion vector is not predicted by the first low-frequency image data interpolating means for outputting to the low-frequency motion compensation interpolating means and the low-frequency interpolation motion vector predicting means The low-frequency motion compensation reference image is interpolated by using the peripheral pixels in which the motion vector of the image of the previously stored frame of the two-frame images stored in the low-frequency storage unit is predicted. The second low-frequency image data interpolating means for generating and outputting to the low-frequency motion compensation predicting means and the low-frequency motion compensation interpolating means, and the high-frequency band image signal output from the band dividing means are B High-frame interpolation motion vector prediction means for interpolating and predicting the motion vector of the image signal using the scale-converted high-frequency image motion vector, and the high-frequency interpolation motion vector prediction Means for interpolating a motion vector at a pixel position where the motion vector is not predicted by means using the motion vector at a peripheral pixel position where the motion vector is predicted And when the image signal in the high frequency band output from the band dividing means is of a B frame, the motion vector of the image signal is extrapolated and predicted using the scaled high band image motion vector. High-frequency extrapolation motion vector predicting means and high-frequency extrapolation for interpolating a motion vector of a pixel position whose motion vector is not predicted by the high-frequency extrapolation motion vector predicting means using motion vectors of peripheral pixel positions where the motion vector is predicted. If the image signal in the high frequency band output from the motion vector interpolating means and the band dividing means is for a B frame, the interpolation predicted and interpolated motion vector is selected, and the band dividing means outputs the motion vector. When the output high frequency band image signal is of P frame,
Selecting a motion vector that has been extrapolated and interpolated, and outputting the selected motion vector to the high-frequency motion compensation prediction means and the high-frequency motion compensation interpolation means; A compression encoding means and a mixing means for mixing the signals of the respective bands compressed and encoded by the high frequency compression encoding means are provided.

【0040】請求項20に係る動画像復号化装置は、入
力される圧縮符号化された画像信号から画像情報を復元
する動画像復号化装置において、連続する複数のフレー
ムからなるフレーム群ごとにそのフレーム群の最も後ろ
に位置するPフレームをそのフレーム群のその他のBフ
レームの前に挿入することによってフレーム順序を変え
られ、圧縮符号化されて入力される画像信号を、直流を
含む低周波帯域の画像信号とその他の高周波帯域の画像
信号とに分割する分割手段と、個別に復元されて動き補
償補間された2つの画像を合成する帯域合成手段と、連
続する2つのPフレームの帯域合成された画像を記憶す
る合成画像記憶手段と、前記合成画像記憶手段に格納さ
れている2つのPフレームの画像間の動きベクトルを算
出する動きベクトル算出手段と、前記低周波帯域の画像
信号の画像サイズに従って前記算出された動きベクトル
のスケールを変換するとともに前記高周波帯域の画像信
号の画像サイズに従って前記算出された動きベクトルの
スケールを変換し、前記低周波帯域の画像信号の画像サ
イズに応じてスケール変換した低域画像動きベクトルお
よび前記高周波帯域の画像信号の画像サイズに応じてス
ケール変換した高域画像動きベクトルを出力するスケー
ル変換手段と、前記分割手段から出力された圧縮符号化
された低周波帯域の画像信号から画像情報を復元する低
域用復号手段と、前記分割手段から出力された圧縮符号
化された高周波帯域の画像信号から画像情報を復元する
高域用復号手段と、前記低域用復号手段によって復元さ
れた画像情報を低域動き補償参照画像を用いて補間する
低域用動き補償補間手段と、前記高域用復号手段によっ
て復元された画像情報を高域動き補償参照画像を用いて
補間する高域用動き補償補間手段と、前記低域用動き補
償補間手段から出力される2フレーム分のPフレームの
補間画像が記憶されており、これら2フレーム分の画像
の内のあとから記憶されたフレームの画像を前記帯域合
成手段に出力する低域用記憶手段と、前記高域用動き補
償補間手段から出力される2フレーム分のPフレームの
補間画像が記憶されており、これら2フレーム分の画像
の内のあとから記憶されたフレームの画像を前記帯域合
成手段に出力する高域用記憶手段と、前記低域用復号手
段によって復元された画像情報がBフレームのものであ
る場合に、前記スケール変換された低域画像動きベクト
ルを用いてこのBフレームの動きベクトルを内挿予測す
る低域内挿用動きベクトル予測手段と、前記低域用復号
手段によって復元された画像情報がPフレームのもので
ある場合に、前記スケール変換された低域画像動きベク
トルを用いてこのPフレームの動きベクトルを外挿予測
する低域外挿用動きベクトル予測手段と、前記低域用復
号手段によって復元された画像情報がPフレームのもの
である場合に、前記内挿予測された動きベクトルを選択
し、前記低域用復号手段によって復元された画像情報が
Pフレームのものである場合に、前記外挿予測された動
きベクトルを選択する低域用選択手段と、前記低域内挿
用動きベクトル予測手段または前記低域外挿用動きベク
トル予測手段によって動きベクトルが予測されない画素
を前記低域用記憶手段に格納されている2フレーム分の
画像の内のあとから格納されたフレームの画像の動きベ
クトルが予測された周辺画素を用いて補間し、前記低域
動き補償参照画像を生成して前記低域用動き補償予測手
段および前記低域用動き補償補間手段に出力する第1の
低域用画像データ補間手段と、前記低域内挿用動きベク
トル予測手段によって動きベクトルが予測されない画素
を前記低域用記憶手段に格納されている2フレーム分の
画像の内の先に格納されたフレームの画像の動きベクト
ルが予測された周辺画素を用いて補間し、前記低域動き
補償参照画像を生成して前記低域用動き補償予測手段お
よび前記低域用動き補償補間手段に出力する第2の低域
用画像データ補間手段と、前記高域用復号手段によって
復元された画像情報がBフレームのものである場合に、
前記スケール変換された高域画像動きベクトルを用いて
このBフレームの動きベクトルを内挿予測する高域内挿
用動きベクトル予測手段と、前記高域内挿用動きベクト
ル予測手段によって動きベクトルが予測されない画素位
置の動きベクトルを動きベクトルが予測された周辺画素
位置の動きベクトルを用いて補間する高域内挿用動きベ
クトル補間手段と、前記高域用復号手段によって復元さ
れた画像情報がPフレームのものである場合に、前記ス
ケール変換された高域画像動きベクトルを用いてこのP
フレームの動きベクトルを外挿予測する高域外挿用動き
ベクトル予測手段と、前記高域外挿用動きベクトル予測
手段によって動きベクトルが予測されない画素位置の動
きベクトルを動きベクトルが予測された周辺画素位置の
動きベクトルを用いて補間する高域外挿用動きベクトル
補間手段と、前記高域用復号手段によって復元された画
像情報がBフレームのものである場合に、前記内挿予測
されて補間された動きベクトルを選択し、前記高域用復
号手段によって復元された画像情報がPフレームのもの
である場合に、前記外挿予測されて補間された動きベク
トルを選択し、選択した動きベクトルを前記高域用補償
予測手段および前記高域用動き補償補間手段に出力する
高域用選択手段と、前記帯域合成された信号の順序を元
に戻す順序逆変換手段とを備える。
A moving picture decoding apparatus according to a twentieth aspect of the invention is a moving picture decoding apparatus for restoring image information from an input compression-coded image signal, for each frame group consisting of a plurality of consecutive frames. By inserting the P frame located at the back of the frame group in front of the other B frames of the frame group, the frame order can be changed, and the compression-encoded input image signal can be input into a low frequency band including direct current. No. image signal and another high-frequency band image signal, a band synthesizing unit for synthesizing two images individually restored and motion-compensated and interpolated, and band synthesizing for two consecutive P frames. Image storage means for storing the stored image, and a motion vector for calculating a motion vector between the two P frame images stored in the composite image storage means. Calculating means, converting the scale of the calculated motion vector according to the image size of the image signal of the low frequency band and converting the scale of the calculated motion vector according to the image size of the image signal of the high frequency band, Scale conversion means for outputting a low-frequency image motion vector scale-converted according to the image size of the low-frequency band image signal and a high-frequency image motion vector scale-converted according to the image size of the high-frequency band image signal; Low-band decoding means for restoring image information from the compression-coded low-frequency band image signal output from the dividing means, and image information from the compression-coded high-frequency band image signal output from the dividing means And the image information restored by the low-frequency decoding means is used as a low-frequency motion compensation reference image. A low-frequency motion-compensated interpolation means for interpolating using the high-frequency motion compensation reference image, and a high-frequency motion-compensated interpolation means for interpolating the image information restored by the high-frequency decoding means using a high-frequency motion-compensated reference image; 2 frames of P-frame interpolated images output from the motion compensation interpolation means are stored, and a low-order image of the frame stored later from these 2 frames is output to the band synthesis means. Area storage means and two frames of P-frame interpolated images output from the high-frequency motion compensation interpolation means are stored, and the image of the frame stored after these two frames of images is stored. When the image information restored by the low band decoding means is for a B frame, the scale converted low band image motion vector is output. If the image information restored by the low band decoding motion vector predicting unit for interpolating and predicting the motion vector of the B frame by using a video signal is a P frame, the scale conversion is performed. The low-frequency extrapolation motion vector predicting means for extrapolating and predicting the motion vector of the P frame using the low-frequency image motion vector thus generated, and the image information restored by the low-frequency decoding means are for the P frame. In this case, the interpolation predicted motion vector is selected, and when the image information restored by the low band decoding means is of a P frame, the extrapolated predicted motion vector is selected in the low band. Selection means, and a pixel for which a motion vector is not predicted by the low-frequency interpolation motion vector prediction means or the low-frequency extrapolation motion vector prediction means is stored in the low-frequency storage area. The low-frequency motion-compensated reference image is generated by interpolating the motion vector of the image of the frame stored later from the image of the two frames stored in the row using the predicted peripheral pixels. First low-frequency image data interpolating means for outputting to the low-frequency motion compensation predicting means and the low-frequency motion compensation interpolating means, and pixels whose motion vector is not predicted by the low-frequency interpolation motion vector predicting means are the low-frequency areas. Of the two frames of images stored in the storage unit for interpolation, the motion vector of the image of the frame stored earlier is interpolated using the predicted peripheral pixels to generate the low-frequency motion-compensation reference image. The second low frequency image data interpolating means for outputting to the low frequency motion compensation predicting means and the low frequency motion compensation interpolating means, and the image information restored by the high frequency decoding means are B frames. If it is the,
A high-frequency interpolation motion vector prediction unit that interpolates and predicts the motion vector of the B frame using the scale-converted high-frequency image motion vector, and a pixel whose motion vector is not predicted by the high-frequency interpolation motion vector prediction unit. The high-frequency interpolation motion vector interpolating means for interpolating the motion vector of the position using the motion vector of the peripheral pixel position where the motion vector is predicted, and the image information restored by the high-frequency decoding means are of P frames. In some cases, using the scaled high frequency image motion vector, the P
A high-frequency extrapolation motion vector predicting means for extrapolating a motion vector of a frame, and a motion vector of a pixel position for which a motion vector is not predicted by the high-frequency extrapolation motion vector predicting means of a peripheral pixel position where the motion vector is predicted. High-frequency extrapolation motion vector interpolating means for interpolating using motion vectors, and the motion vector interpolated and interpolated when the image information restored by the high-frequency decoding means is of a B frame Is selected, and when the image information restored by the decoding means for the high frequency band is for the P frame, the motion vector interpolated and interpolated is selected, and the selected motion vector is used for the high frequency band. Compensation predicting means and high-frequency selecting means for outputting to the high-frequency motion compensating and interpolating means, and reverse order transform for restoring the order of the band-combined signals. And a stage.

【0041】請求項21に係る動画像符号化復号化装置
は、前記第19項の符号化装置と前記第20項の復号化
装置とを含む。
A moving picture coding / decoding apparatus according to a twenty-first aspect includes the coding apparatus according to the nineteenth aspect and the decoding apparatus according to the twentieth aspect.

【0042】[0042]

【発明の実施の形態】以下、添付した図面を参照して、
この発明の実施の形態について説明する。
DETAILED DESCRIPTION OF THE INVENTION Referring to the accompanying drawings,
An embodiment of the present invention will be described.

【0043】実施の形態1 図1は、この発明の第1の動画像符号化装置のブロック
図である。
Embodiment 1 FIG. 1 is a block diagram of a first moving picture coding apparatus according to the present invention.

【0044】第1の動画像符号化装置は、過去の2フレ
ームの画像間の動きベクトルを算出する動きベクトル算
出手段(EDT)11と、現フレーム画像と動き補償後
の参照画像との差分信号を予測誤差として演算する動き
補償予測手段(PRE)12と、上記差分信号を圧縮符
号化する圧縮符号化手段(COD)16と、上記圧縮符
号化された差分信号を復号する復号手段(DCD)17
と、上記復号された差分信号に動き補償後の参照画像を
用いて補間する動き補償補間手段(INP)13と、過
去の2フレーム分の画像を記憶する第1、第2のメモリ
(FRM)14、15とを備えている。
The first moving picture coding apparatus includes a motion vector calculation means (EDT) 11 for calculating a motion vector between images of the past two frames, and a differential signal between the current frame picture and the reference picture after motion compensation. Motion compensation prediction means (PRE) 12 for calculating as a prediction error, compression coding means (COD) 16 for compressing and coding the difference signal, and decoding means (DCD) for decoding the compression-coded difference signal. 17
A motion compensation interpolating means (INP) 13 for interpolating the decoded differential signal using a reference image after motion compensation, and first and second memories (FRM) for storing images of the past two frames. 14 and 15.

【0045】この動画像符号化装置への入力画像信号s
10は、動き補償予測手段12に供給される。動き補償
予測手段12の出力s12は、圧縮符号化手段16に接
続され、圧縮符号化手段16からは外部への出力信号s
16が得られる。また、この出力信号s16は復号手段
17に接続され、その出力s17は動き補償補間手段1
3に接続されている。動き補償補間手段13は、第1の
メモリ14及び動きベクトル算出手段11に接続され、
この第1のメモリ14は4つの出力端子を備えている。
その第1の出力s14−1は第2のメモリ15に接続さ
れ、第2の出力s14−2は動きベクトル算出手段11
に接続され、第3の出力s14−3は動き補償予測手段
12に接続され、第4の出力s14−4は動き補償補間
手段13に接続される。また、第2のメモリ15の出力
s15は動きべク卜ル算出手段11に接続され、その出
力s11が動き補償予測手段12及び動き補償補間手段
13に接続されている。
Input image signal s to this moving image encoder
10 is supplied to the motion compensation prediction means 12. The output s12 of the motion compensation prediction means 12 is connected to the compression encoding means 16 and the output signal s from the compression encoding means 16 to the outside.
16 is obtained. Also, this output signal s16 is connected to the decoding means 17, and its output s17 is the motion compensation interpolation means 1
Connected to 3. The motion compensation interpolation means 13 is connected to the first memory 14 and the motion vector calculation means 11,
The first memory 14 has four output terminals.
The first output s14-1 is connected to the second memory 15, and the second output s14-2 is the motion vector calculation means 11
, The third output s14-3 is connected to the motion compensation prediction means 12, and the fourth output s14-4 is connected to the motion compensation interpolation means 13. The output s15 of the second memory 15 is connected to the motion vector calculation means 11, and its output s11 is connected to the motion compensation prediction means 12 and the motion compensation interpolation means 13.

【0046】図2は、この発明の第1の動画像復号化装
置のブロック図である。
FIG. 2 is a block diagram of the first moving picture decoding apparatus according to the present invention.

【0047】この動画像復号化装置は、圧縮符号化され
た差分信号を復号する復号手段(DCD)22と、上記
復号された差分信号に動き補償後の参照画像を用いて補
間する動き補償補間手段(INP)23と、過去の2フ
レーム分の画像を記憶する第1、第2のメモリ(FR
M)24、25と、過去の2フレームの画像間の動きベ
クトルを算出する動きベクトル算出手段(EDT)26
とを備えている。
This moving picture decoding apparatus includes a decoding means (DCD) 22 for decoding a compression-encoded differential signal, and a motion compensation interpolation for interpolating the decoded differential signal with a reference image after motion compensation. Means (INP) 23 and first and second memories (FR) for storing images of the past two frames
M) 24, 25 and a motion vector calculation means (EDT) 26 for calculating a motion vector between the images of the past two frames.
It has and.

【0048】この動画像復号化装置では、圧縮符号化さ
れた画像信号s20が復号手段22に供給される。復号
手段22の出力s22は動き補償補間手段23に接続さ
れ、その出力s23が第1のメモリ24及び出力端子2
7に接続される。この第1のメモリ24は3つの出力端
子を備え、その第1の出力s24−1は第2のメモリ2
5に接続され、第2の出力s24−2は動きベクトル算
出手段26に接続され、第3の出力s24−3は動き補
償補間手段23に接続されている。また、第2のメモリ
25の出力s25は動きベクトル算出手段26に接続さ
れ、その出力s26が上記動き補償補間手段23に接続
されている。
In this moving picture decoding apparatus, the compression-coded picture signal s20 is supplied to the decoding means 22. The output s22 of the decoding means 22 is connected to the motion compensation interpolation means 23, and its output s23 is the first memory 24 and the output terminal 2.
Connected to 7. This first memory 24 has three output terminals, and its first output s24-1 is the second memory 2
5, the second output s24-2 is connected to the motion vector calculation means 26, and the third output s24-3 is connected to the motion compensation interpolation means 23. The output s25 of the second memory 25 is connected to the motion vector calculation means 26, and the output s26 is connected to the motion compensation interpolation means 23.

【0049】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0050】図1の動画像符号化装置において、動き補
償予測手段12では、外部より入力される現フレームの
画像信号s10のブロック位置及び動きベクトル算出手
段11より入力される動きベクトル情報s11に基づい
て、現フレームの画像信号s10の当該ブロック位置か
ら動きベクトル分だけ動いたところの前フレームの画像
信号s14−3をメモリ14より読み込んで、誤差情
報、例えば現フレームと前フレームの画像信号との差分
値を求め、これを差分信号s12として圧縮符号化手段
16に出力する。
In the moving picture coding apparatus of FIG. 1, the motion compensation predicting means 12 is based on the block position of the image signal s10 of the current frame inputted from the outside and the motion vector information s11 inputted from the motion vector calculating means 11. Then, the image signal s14-3 of the previous frame, which has been moved by the motion vector from the block position of the image signal s10 of the current frame, is read from the memory 14, and the error information, for example, the image signal of the current frame and the image signal of the previous frame is read. The difference value is obtained and is output to the compression encoding means 16 as the difference signal s12.

【0051】圧縮符号化手段16では、例えばブロック
単位で入力された差分信号s12に対する離散余弦変換
(DCT)、線形量子化、及び可変長符号化を行なっ
て、圧縮符号化された画像情報が、差分信号s16とし
て外部に出力される。また、この差分信号s16は、復
号手段17にも出力される。
In the compression coding means 16, for example, discrete cosine transform (DCT), linear quantization, and variable length coding are performed on the differential signal s12 input in block units, and the compression-coded image information is The difference signal s16 is output to the outside. The difference signal s16 is also output to the decoding means 17.

【0052】復号手段17では、この圧縮符号化された
差分信号s16に対して、例えば、圧縮符号化手段16
に対応した可変長復号を行ない、さらに線形逆量子化及
び逆離散余弦変換(IDCT)によって画像情報を復元
する。復元された画像情報は、差分信号s17として動
き補償補間手段13に出力される。
In the decoding means 17, for example, the compression encoding means 16 is applied to the compression encoded difference signal s16.
, And the image information is restored by linear inverse quantization and inverse discrete cosine transform (IDCT). The restored image information is output to the motion compensation interpolation means 13 as a difference signal s17.

【0053】動き補償補間手段13では、現フレームの
差分信号s17の画像ブロック位置と動きベクトル算出
手段11より入力されるブロック位置での動きベクトル
情報s11とによって、当該ブロック位置から動きベク
トル分だけ動いたところの前フレームの対応する画像信
号s14−4が第1のメモリ14より読み込まれるとと
もに、現フレームの差分信号s17とその前のフレーム
の画像信号s14−4との和を求めて現フレーム画像を
復元する。復元された画像信号s13は、動き補償後の
参照画像として第1のメモリ14に出力される。
The motion compensation interpolation means 13 moves from the block position by the motion vector by the image block position of the difference signal s17 of the current frame and the motion vector information s11 at the block position input from the motion vector calculation means 11. The corresponding image signal s14-4 of the last frame is read from the first memory 14, and the sum of the difference signal s17 of the current frame and the image signal s14-4 of the previous frame is calculated to obtain the current frame image. To restore. The restored image signal s13 is output to the first memory 14 as a reference image after motion compensation.

【0054】第1のメモリ14では、1フレームの画像
信号の処理が終了した時点で、格納されている1フレー
ム分の画像信号s14−1を第2のメモリ15に出力す
る。
In the first memory 14, when the processing of the image signal of one frame is completed, the stored image signal s14-1 for one frame is output to the second memory 15.

【0055】第2のメモリ15では、第1のメモリ14
より入力される1フレームの画像信号s14−1を前の
前のフレームとして格納する。
In the second memory 15, the first memory 14
The image signal s14-1 of one frame further input is stored as the previous previous frame.

【0056】動きベクトル算出手段11では、第1のメ
モリ14より入力される前フレームの画像信号s14−
2と第2のメモリ15より入力される前前フレームの画
像信号s15とから、これら2フレーム間の動きベクト
ルを算出し、これを動きベクトル情報s11として動き
補償予測手段12及び動き補償補間手段13に出力す
る。この動きベクトル算出手段11は、任意の動きベク
トル算出方法で構成することができる。例えば、ブロッ
ク単位の動きベクトル算出法でも良いし、階層化により
可変ブロックサイズにしても良いし、また、任意の形状
の領域動きベクトル算出法でも良いし、さらに画素単位
の動きベクトル算出法でも良い。
In the motion vector calculating means 11, the image signal s14- of the previous frame inputted from the first memory 14 is inputted.
2 and the image signal s15 of the previous frame input from the second memory 15, a motion vector between these two frames is calculated and used as motion vector information s11. Output to. The motion vector calculation means 11 can be configured by any motion vector calculation method. For example, a block-by-block motion vector calculation method, a variable block size by hierarchization, a region motion vector calculation method of an arbitrary shape, or a pixel-based motion vector calculation method may be used. .

【0057】図2の動画像復号化装置において、復号手
段22では、外部より入力される圧縮符号化された差分
信号s20に対して、前述の符号化装置の復号手段17
と同じ処理をして画像情報を復元し、復元された差分信
号s22を動き補償補間手段23に出力する。
In the moving picture decoding apparatus shown in FIG. 2, the decoding means 22 decodes the compression-encoded differential signal s20 inputted from the outside by the decoding means 17 of the above-mentioned encoding apparatus.
The image information is restored by performing the same processing as in step (a), and the restored difference signal s22 is output to the motion compensation interpolation means 23.

【0058】動き補償補間手段23では、復号手段22
から入力される現フレームの差分信号s22のブロック
位置と動きベクトル算出手段26より入力されるブロッ
ク位置での動きベクトル情報s26とによって、前述の
符号化装置の動き補償補間手段13と同様に、前フレー
ムの対応する画像信号s24−3が第1のメモリ24よ
り読み込まれるとともに、現フレームの差分信号s22
とその前のフレームの画像信号s24−3との和を求め
て現フレーム画像を復元している。復元された画像情報
s23を出力端子27及び第1のメモリ24に出力され
る。
In the motion compensation interpolation means 23, the decoding means 22
From the block position of the differential signal s22 of the current frame input from the above and the motion vector information s26 at the block position input from the motion vector calculation unit 26, as in the case of the motion compensation interpolation unit 13 of the above-described encoding device, The corresponding image signal s24-3 of the frame is read from the first memory 24, and the difference signal s22 of the current frame is read.
And the image signal s24-3 of the preceding frame is calculated to restore the current frame image. The restored image information s23 is output to the output terminal 27 and the first memory 24.

【0059】第1のメモリ24では、現フレームの画像
信号の処理が終了した時点でそこに格納されている前フ
レーム分の画像信号s24−1を第2のメモリ25に出
力する。
The first memory 24 outputs the image signal s24-1 for the previous frame stored therein to the second memory 25 when the processing of the image signal of the current frame is completed.

【0060】第2のメモリ25では、第1のメモリ24
から入力される画像信号s24−1を前前フレームの画
像信号として格納する。
In the second memory 25, the first memory 24
The image signal s24-1 input from is stored as the image signal of the previous frame.

【0061】動きベクトル算出手段26では、第1のメ
モリ24より入力される前フレームの画像信号s24−
2と第2のメモリ25より入力される前前フレームの画
像信号s25とから、これら2フレーム間の動きベクト
ルを算出し、これを動きベクトル情報s26として動き
補償補間手段23に出力する。この動きベクトル算出手
段26は、前述の符号化装置の動きベクトル算出手段1
1と同じ動きベクトル算出方法を持つ。
In the motion vector calculating means 26, the image signal s24- of the previous frame input from the first memory 24
2 and the image signal s25 of the previous frame input from the second memory 25, a motion vector between these two frames is calculated and output to the motion compensation interpolation means 23 as motion vector information s26. This motion vector calculation means 26 is the motion vector calculation means 1 of the above-mentioned encoding device.
It has the same motion vector calculation method as 1.

【0062】以上説明したように、本発明の第1の動画
像符号化復号化装置によれば、符号化装置及び復号化装
置にそれぞれ同じ動きベクトル算出手段(EDT)を持
たせ、また動きベクトルの算出に符号化側と復号側とで
共有できる圧縮復元画像を用いることによって、動きベ
クトルを転送する必要が無くなる。したがって、符号化
効率の向上が期待できる。
As described above, according to the first moving picture coding / decoding apparatus of the present invention, the same motion vector calculating means (EDT) is provided in each of the coding apparatus and the decoding apparatus, and the motion vector is calculated. By using a compressed / decompressed image that can be shared by the encoding side and the decoding side for the calculation of, it becomes unnecessary to transfer the motion vector. Therefore, improvement in coding efficiency can be expected.

【0063】また、動きベクトルを転送する必要が無い
ため、転送には不向きであるが高性能な動きベクトル算
出法を適用することが可能になる。したがって、適切な
動きベクトル算出法によって動きベクトルの検出精度が
高められるならば、符号化効率の一層の向上及び画像品
質の向上が期待できる。
Further, since it is not necessary to transfer the motion vector, it is possible to apply a high-performance motion vector calculation method which is not suitable for transfer. Therefore, if the motion vector detection accuracy is improved by an appropriate motion vector calculation method, further improvement in coding efficiency and improvement in image quality can be expected.

【0064】実施の形態2 図5は、この発明の第2の動画像符号化装置のブロック
図である。この第2の動画像符号化装置は、第1の符号
化装置(図1)において、動きベクトル算出手段(ED
T)11の後に動きベクトル予測手段(EPRE)51
及び画像データ補間手段(DINP)52を付け加えた
ものである。図5において、第1の符号化装置と同じも
のは、同じ番号を付与し説明を省略する。
Embodiment 2 FIG. 5 is a block diagram of a second moving picture coding apparatus according to the present invention. This second moving image encoding apparatus is the same as the first encoding apparatus (FIG. 1) except that the motion vector calculating means (ED
T) 11 followed by motion vector prediction means (EPRE) 51
And an image data interpolating means (DINP) 52 are added. In FIG. 5, the same components as those of the first encoding device are given the same numbers and their explanations are omitted.

【0065】この動画像符号化装置では、動きベクトル
算出手段11の出力s11は動きベクトル予測手段51
に接続され、動きベクトル予測手段51の出力s51及
び第1のメモリ14の第3の出力s14−3は、画像デ
ータ補間手段52に接続される。また、画像データ補間
手段52の第1の出力s52−1は、動き補償予測手段
12に接続され、その第2の出力s52−2は動き補償
補間手段13に接続されている。
In this moving picture coding apparatus, the output s11 of the motion vector calculating means 11 is the motion vector predicting means 51.
The output s51 of the motion vector predicting means 51 and the third output s14-3 of the first memory 14 are connected to the image data interpolating means 52. The first output s52-1 of the image data interpolation means 52 is connected to the motion compensation prediction means 12, and the second output s52-2 thereof is connected to the motion compensation interpolation means 13.

【0066】図6は、この発明の第2の動画像復号化装
置のブロック図である。この第2の動画像復号化装置で
は、第1の復号化装置(図2)において、動きベクトル
算出手段(EDT)26の後に動きベクトル予測手段
(EPRE)61及び画像データ補間手段(DINP)
62を付け加えている。図6においても、図5と同様に
第1の復号化装置と同じものは、同じ番号を付与し説明
を省略する。
FIG. 6 is a block diagram of a second moving picture decoding apparatus according to the present invention. In this second moving picture decoding apparatus, in the first decoding apparatus (FIG. 2), the motion vector calculating means (EDT) 26 is followed by the motion vector predicting means (EPRE) 61 and the image data interpolating means (DINP).
62 is added. Also in FIG. 6, the same components as those of the first decoding device are assigned the same numbers as in FIG. 5, and description thereof will be omitted.

【0067】この動画像復号化装置では、動きベクトル
算出手段26の出力s26が、動きベクトル予測手段6
1に接続され、動きベクトル予測手段61の出力s61
及び第1のメモリの第3の出力s24−3が、画像デー
タ補間手段62に接続され、画像データ補間手段62の
出力s62が、動き補償補間手段23に接続されてい
る。
In this moving picture decoding apparatus, the output s26 of the motion vector calculating means 26 is the motion vector predicting means 6
Output s61 of the motion vector predicting means 61
And the third output s24-3 of the first memory is connected to the image data interpolation means 62, and the output s62 of the image data interpolation means 62 is connected to the motion compensation interpolation means 23.

【0068】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0069】図5の動画像符号化装置において、動き補
償予測手段12、圧縮符号化手段16、復号手段17、
動き補償補間手段13、第1のメモリ14、第2のメモ
リ15、及び動きベクトル算出手段11は、いずれも第
1の符号化装置の対応する手段と同じ動作をするので、
説明を省略する。
In the moving picture coding apparatus of FIG. 5, the motion compensation prediction means 12, the compression coding means 16, the decoding means 17,
Since the motion compensation interpolating means 13, the first memory 14, the second memory 15, and the motion vector calculating means 11 all operate in the same manner as the corresponding means of the first encoding device,
The description is omitted.

【0070】動きベクトル予測手段51では、動きベク
トル算出手段11より入力される前フレーム及び前前フ
レームの画像間での動きベクトル情報s11に基づい
て、現フレームの対応するブロックの動きベクトルを予
測し、その動きベクトル情報s51を画像データ補間手
段52に出力する。動きベクトル予測方法としては、例
えば、図23に示す直線外挿予測の方法がある。図23
において、t−2は前前フレームを示し、t−1は前フ
レームを示し、tは現フレームを示す。Vabを動きベク
トル算出手段11により算出された前前フレームのa地
点(画素位置)から前フレームのb地点への動きベクト
ルとすると、動きベクトル予測手段51では、この動き
ベクトルVabを現フレームtまで直線的に延長すること
によって、現フレームの対応するc地点(画素位置)で
の動きベクトルVbcが予測でき、この予測された動きベ
クトル情報s51を画像データ補間手段52に出力す
る。
The motion vector predicting means 51 predicts the motion vector of the corresponding block of the current frame based on the motion vector information s11 between the images of the previous frame and the previous previous frame input from the motion vector calculating means 11. , And outputs the motion vector information s51 to the image data interpolating means 52. As a motion vector prediction method, for example, there is a linear extrapolation method shown in FIG. FIG. 23
In, t-2 indicates the previous frame, t-1 indicates the previous frame, and t indicates the current frame. When Vab is the motion vector from the point a (pixel position) of the previous frame calculated by the motion vector calculation unit 11 to the point b of the previous frame, the motion vector prediction unit 51 sets this motion vector Vab to the current frame t. By linearly extending, the motion vector Vbc at the corresponding point c (pixel position) of the current frame can be predicted, and the predicted motion vector information s51 is output to the image data interpolation means 52.

【0071】画像データ補間手段52では、予測された
動きベクトル情報s51に従って、第1のメモリ14か
ら対応する前フレームの画像データs14−3を読み込
んで、動き補償された参照画像(以下、動き補償参照画
像という)を作る。動きベクトル予測手段51において
は現フレームの全ての画素位置での動きベクトルが予測
できるとは限らない。そこで、動きベクトルが予測され
ない画素位置については、動きベクトルが予測された周
辺画素位置の画像データs14−3を用いて例えば線形
補間によって動き補償参照画像を完成させることが可能
である。したがって、画像データ補間手段52から参照
画像s52−1及びs52−2がそれぞれ動き補償予測
手段12及び動き補償補間手段13に出力され、動き補
償予測手段12では現フレームと前フレームの画像信号
との差分値を求めて、圧縮符号化手段16に出力でき
る。
In the image data interpolating means 52, the image data s14-3 of the corresponding previous frame is read from the first memory 14 in accordance with the predicted motion vector information s51, and the motion-compensated reference image (hereinafter, motion-compensated) is read. Create a reference image). The motion vector prediction unit 51 cannot always predict motion vectors at all pixel positions in the current frame. Therefore, for the pixel position where the motion vector is not predicted, it is possible to complete the motion compensation reference image by, for example, linear interpolation using the image data s14-3 of the peripheral pixel position where the motion vector is predicted. Therefore, the reference images s52-1 and s52-2 are output from the image data interpolating means 52 to the motion compensation predicting means 12 and the motion compensation interpolating means 13, respectively, and the motion compensation predicting means 12 generates the image signals of the current frame and the previous frame. The difference value can be obtained and output to the compression encoding means 16.

【0072】図6の動画像復号化装置において、動きベ
クトル予測手段61及び画像データ補間手段62は、第
2の符号化装置(図5)の対応する手段と同じ動作をな
し、その他の手段は、本発明の第1の復号化装置(図
2)の対応する手段と同じ動作をする。
In the moving picture decoding device of FIG. 6, the motion vector predicting means 61 and the image data interpolating means 62 perform the same operation as the corresponding means of the second coding device (FIG. 5), and other means. , Operates in the same way as the corresponding means of the first decoding device of the invention (FIG. 2).

【0073】これにより、画像データ補間手段62は、
動きベクトル予測手段61により予測された動きベクト
ルに従って、メモリ24から対応する画像データを読み
込んで動き補償補間手段23に供給する。
As a result, the image data interpolation means 62
According to the motion vector predicted by the motion vector prediction means 61, the corresponding image data is read from the memory 24 and supplied to the motion compensation interpolation means 23.

【0074】以上説明したように、本発明の第2の動画
像符号化復号化装置によれば、前フレームの動きベクト
ルから現フレームの動きベクトルを予測することによっ
て、動きベクトルの検出精度を高めることができる。し
たがって、符号化効率の向上及び画像品質の向上が期待
できる。
As described above, according to the second moving picture coding / decoding apparatus of the present invention, the motion vector detection accuracy is improved by predicting the motion vector of the current frame from the motion vector of the previous frame. be able to. Therefore, improvement in coding efficiency and improvement in image quality can be expected.

【0075】また、動きベクトルが予測されない画素に
ついても、周辺画素を用いて画像データを補間すること
によつて、スムーズな参照画像を作成できる。したがっ
て、画素間のギャップによる符号化効率の低減を防ぐこ
とができる。
Also, for pixels for which motion vectors are not predicted, a smooth reference image can be created by interpolating image data using peripheral pixels. Therefore, it is possible to prevent a reduction in coding efficiency due to a gap between pixels.

【0076】実施の形態3 図7は、この発明の第3の動画像符号化装置のブロック
図である。
Embodiment 3 FIG. 7 is a block diagram of a third moving picture coding apparatus according to the present invention.

【0077】第3の動画像符号化装置は、第1の符号化
装置(図1)において、動きベクトル算出手段(ED
T)11の後に動きベクトル予測手段(EPRE)71
及び動きベクトル補間手段(EINP)72を付け加え
たものである。図7において、第1の符号化装置と同じ
ものは、同じ番号を付与し説明を省略する。
The third moving picture coding apparatus is the same as the first coding apparatus (FIG. 1) except that the motion vector calculating means (ED) is used.
T) 11 followed by motion vector prediction means (EPRE) 71
And a motion vector interpolation means (EINP) 72 is added. In FIG. 7, the same components as those of the first encoding device are given the same numbers and their explanations are omitted.

【0078】この動画像符号化装置では、動きベクトル
予測手段71に動きベクトル算出手段11の出力s11
が接続され、動きベクトル予測手段71の出力s71
は、動きベクトル補間手段72に接続され、その出力s
72は動き補償予測手段12及び動き補償補間手段13
に接続される。また、第1のメモリ14の第3の出力s
14−3も、動き補償予測手段12及び動き補償補間手
段13に接続されている。
In this moving picture coding apparatus, the output s11 of the motion vector calculating means 11 is sent to the motion vector predicting means 71.
Is connected to the output s71 of the motion vector predicting means 71.
Is connected to the motion vector interpolation means 72, and its output s
72 is a motion compensation prediction means 12 and a motion compensation interpolation means 13
Connected to. Also, the third output s of the first memory 14
14-3 is also connected to the motion compensation prediction means 12 and the motion compensation interpolation means 13.

【0079】図8は、この発明の第3の動画像復号化装
置のブロック図である。
FIG. 8 is a block diagram of a third moving picture decoding apparatus according to the present invention.

【0080】この第3の動画像復号化装置では、第1の
復号化装置(図2)において、動きベクトル算出手段
(EDT)26の後に動きベクトル予測手段(EPR
E)81及び動きベクトル補間手段(EINP)82を
付け加えている。図8においても、図7と同様に第1の
復号化装置と同じものは、同じ番号を付与し説明を省略
する。
In this third moving picture decoding apparatus, in the first decoding apparatus (FIG. 2), the motion vector calculating means (EDT) 26 is followed by the motion vector predicting means (EPR).
E) 81 and motion vector interpolation means (EINP) 82 are added. In FIG. 8 as well, the same components as those in the first decoding device are assigned the same numbers as in FIG. 7, and description thereof will be omitted.

【0081】この動画像復号化装置では、動きベクトル
予測手段81には動きベクトル算出手段26の出力s2
6が接続され、その出力s81は動きベクトル補間手段
82に接続され、動きベクトル補間手段82の出力s8
2は、動き補償補間手段23に接続されている。
In this moving picture decoding device, the output s2 of the motion vector calculating means 26 is sent to the motion vector predicting means 81.
6 is connected, and its output s81 is connected to the motion vector interpolation means 82, and the output s8 of the motion vector interpolation means 82.
2 is connected to the motion compensation interpolation means 23.

【0082】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0083】図7の動画像符号化装置において、動き補
償予測手段12、圧縮符号化手段16、復号手段17、
動き補償補間手段13、第1のメモリ14、第2のメモ
リ15、及び動きベクトル算出手段11は、いずれも第
1の符号化装置の対応する手段と同じ動作をするので、
説明を省略する。
In the moving picture coding apparatus of FIG. 7, the motion compensation prediction means 12, the compression coding means 16, the decoding means 17,
Since the motion compensation interpolating means 13, the first memory 14, the second memory 15, and the motion vector calculating means 11 all operate in the same manner as the corresponding means of the first encoding device,
The description is omitted.

【0084】動きベクトル予測手段71は、第2の符号
化装置のものと同じく、動きベクトル算出手段11より
入力される前フレーム及び前前フレームの画像間での動
きベクトル情報s11に基づいて、現フレームの対応す
るブロックの動きベクトルを予測し、その動きベクトル
情報s71を動きベクトル補間手段72に出力する。
The motion vector predicting means 71 is the same as that of the second encoding device, based on the motion vector information s11 between the images of the previous frame and the previous previous frame input from the motion vector calculating means 11. The motion vector of the corresponding block of the frame is predicted, and the motion vector information s71 is output to the motion vector interpolation means 72.

【0085】また、動きベクトル補間手段72では、予
測された画素の動きベクトル情報s71に基づいて、予
測されない画素の動きベクトルをその周辺画素位置の予
測されている動きベクトルの線形補間によって演算して
いる。したがって、入力画像の全ての画素についての動
きベクトル情報s72を動き補償予測手段12及び動き
補償補間手段13に出力することができる。
In addition, the motion vector interpolation means 72 calculates the motion vector of an unpredicted pixel based on the motion vector information s71 of the predicted pixel by linear interpolation of the predicted motion vector of the peripheral pixel positions. There is. Therefore, the motion vector information s72 for all the pixels of the input image can be output to the motion compensation prediction unit 12 and the motion compensation interpolation unit 13.

【0086】図8の動画像復号化装置において、動きベ
クトル予測手段81は第2の復号装置(図6)の動きベ
クトル予測手段61と同じ動作をなし、動きベクトル補
間手段82は第3の符号化装置(図7)のものと同じ動
作をする。その他の手段は、いずれも本発明の第1の復
号装置(図2)の対応する手段と同じ動作をする。
In the moving picture decoding apparatus shown in FIG. 8, the motion vector predicting means 81 performs the same operation as the motion vector predicting means 61 of the second decoding apparatus (FIG. 6), and the motion vector interpolating means 82 uses the third code. The same operation as that of the rectification device (FIG. 7) is performed. All other means operate in the same manner as the corresponding means of the first decoding device (FIG. 2) of the present invention.

【0087】これにより、動きベクトル補間手段82
は、動きベクトル予測手段81からの予測された動きベ
クトル情報s82を動き補償補間手段23に供給する。
As a result, the motion vector interpolation means 82
Supplies the predicted motion vector information s82 from the motion vector prediction unit 81 to the motion compensation interpolation unit 23.

【0088】以上説明したように、本発明の第3の動画
像符号化復号化装置によれば、前フレームの動きベクト
ルから現フレームの動きベクトルを予測することによっ
て動きベクトルの検出精度を高めることができる。した
がって、符号化効率の向上及び画像品質の向上が期待で
きる。
As described above, according to the third moving picture coding / decoding apparatus of the present invention, the motion vector detection accuracy is improved by predicting the motion vector of the current frame from the motion vector of the previous frame. You can Therefore, improvement in coding efficiency and improvement in image quality can be expected.

【0089】また、動きベクトルが予測されない画素位
置については、周辺画素位置の動きベクトルを用いて補
間することによって、スムーズに動きベクトルを予測す
ることができる。したがって、動きベクトルの予測誤差
による符号化効率の低減を防ぐことができる。
Further, with respect to the pixel position where the motion vector is not predicted, the motion vector can be predicted smoothly by interpolating using the motion vector of the peripheral pixel position. Therefore, it is possible to prevent a reduction in coding efficiency due to a motion vector prediction error.

【0090】実施の形態4 図9は、この発明の第4の動画像符号化装置のブロック
図である。
Embodiment 4 FIG. 9 is a block diagram of a fourth moving picture coding apparatus according to the present invention.

【0091】第4の動画像符号化装置は、入力画像のフ
レーム順序を変える順序変換手段(ORD)911と、
順序変換されたフレームの復元画像を格納する第1のメ
モリ(FRM)94と、前に生成された復元画像を格納
する第2のメモリ(FRM)95と、画像の2フレーム
間の動きベクトルをブロック単位で算出する動きベクト
ル算出手段(EDT)91と、動きベクトルのスケール
を変換するスケール変換手段(ESCD)99と、動き
ベクトルを選択する選択手段910と、画像のフレーム
間の動き補償付き差分信号を算出する動き補償予測手段
(PRE)92と、差分信号を圧縮符号化する圧縮符号
化手段(COD)96と、圧縮された差分信号を復元す
る復号手段(DCD)97と、圧縮された差分信号及び
動きベクトルなどの情報を可変長符号化して混合する混
合手段(ΜPX)98と、復元された差分信号によって
前または後ろのフレームの画像信号を動き補償して圧縮
されていない復元画像を生成する動き補償補間手段(I
NP)93とを備えている。
The fourth moving picture coding apparatus includes an order conversion means (ORD) 911 for changing the frame order of an input image,
The first memory (FRM) 94 for storing the restored image of the frame subjected to the order conversion, the second memory (FRM) 95 for storing the restored image generated previously, and the motion vector between two frames of the image are stored. Motion vector calculation means (EDT) 91 for calculating in block units, scale conversion means (ESCD) 99 for converting the scale of motion vectors, selection means 910 for selecting motion vectors, and difference with motion compensation between frames of images. A motion compensation prediction unit (PRE) 92 for calculating a signal, a compression encoding unit (COD) 96 for compressing and encoding a differential signal, a decoding unit (DCD) 97 for restoring a compressed differential signal, and a compressed Mixing means (ΜPX) 98 for variable-length coding and mixing information such as a differential signal and a motion vector, and a front or rear frame depending on the restored differential signal. Motion compensated interpolation means for generating a restoration image uncompressed image signal over beam with motion compensation (I
NP) 93.

【0092】この動画像符号化装置への入力画像信号s
90は、まず順序変換手段911に供給され、順序変換
手段911の出力s911が動き補償予測手段92及び
動きベクトル算出手段91に接続される。動きベクトル
算出手段91の出力s91は、スケール変換手段99、
選択手段910、及び混合手段98に接続され、動き補
償予測手段92の出力s92は、圧縮符号化手段96に
接続されている。この圧縮符号化手段96の出力s96
は、混合手段98及び復号手段97に接続され、混合手
段98からは外部への出力信号s98が得られる。ま
た、復号手段97の出力s97は動き補償補間手段93
に接続され、動き補償補間手段93の出力s93が、第
1のメモリ94に接続される。この第1のメモリ94は
4つの出力端子を備えており、その第1の出力s94−
1は第2のメモリ95に接続され、第2の出力s94−
2は動き補償予測手段92に接続され、第3の出力s9
4−3は動き補償補間手段93に接続され、第4の出力
s94−4は動きベクトル算出手段91に接続される。
第2のメモリ95は2つの出力端子を備え、その第1の
出力s95−1は動き補償予測手段92に接続され、第
2の出力s95−2は動き補償補間手段93に接続され
ている。
Input image signal s to this moving image encoder
90 is first supplied to the order conversion means 911, and the output s911 of the order conversion means 911 is connected to the motion compensation prediction means 92 and the motion vector calculation means 91. The output s91 of the motion vector calculation means 91 is the scale conversion means 99,
The output s92 of the motion compensation prediction unit 92 is connected to the selection unit 910 and the mixing unit 98, and is connected to the compression encoding unit 96. The output s96 of this compression encoding means 96
Is connected to the mixing means 98 and the decoding means 97, and an output signal s98 to the outside is obtained from the mixing means 98. The output s97 of the decoding means 97 is the motion compensation interpolation means 93.
The output s93 of the motion compensation interpolation means 93 is connected to the first memory 94. This first memory 94 has four output terminals, and its first output s94-
1 is connected to the second memory 95, and the second output s94-
2 is connected to the motion compensation prediction means 92, and the third output s9
4-3 is connected to the motion compensation interpolation means 93, and the fourth output s94-4 is connected to the motion vector calculation means 91.
The second memory 95 has two output terminals, the first output s95-1 is connected to the motion compensation prediction means 92, and the second output s95-2 is connected to the motion compensation interpolation means 93.

【0093】図10は、この発明の第4の動画像復号化
装置のブロック図である。
FIG. 10 is a block diagram of a fourth moving picture decoding apparatus according to the present invention.

【0094】この動画像復号化装置には、従来のものと
同様に動きベクトルが混合された圧縮符号化された画像
信号が入力される。ここでは、この符号化された画像信
号を復号し差分信号と動きベクトルなどの情報とに分割
する分割手段(DMPX)101と、この差分信号を復
元する復号手段(DCD)102と、順序変換されたフ
レームの復元画像を格納する第1のメモリ(FRM)1
04と、前に生成された画像を格納する第2のメモリ
(FRM)105と、動きベクトルのスケールを変える
スケール変換手段(ESCD)106と、動きベクトル
を選択する選択手段107と、復元された差分信号に前
または後ろのフレームの動き補償後の参照画像を用いて
補間する動き補償補間手段(INP)103と、生成さ
れた画像フレームの順序を戻す順序逆変換手段(ROR
D)108とを備えている。
A compression-encoded image signal in which motion vectors are mixed is input to this moving image decoding apparatus as in the conventional apparatus. Here, a division unit (DMPX) 101 that decodes the encoded image signal and divides it into a differential signal and information such as a motion vector, a decoding unit (DCD) 102 that restores the differential signal, and the order conversion is performed. Memory (FRM) 1 for storing the restored image of the selected frame
04, a second memory (FRM) 105 for storing the previously generated image, a scale conversion unit (ESCD) 106 for changing the scale of the motion vector, a selection unit 107 for selecting the motion vector, and a restored unit. A motion compensation interpolating means (INP) 103 for interpolating a difference signal by using a reference image after motion compensation of a preceding or subsequent frame, and an order reverse transforming means (ROR) for returning the order of generated image frames.
D) 108.

【0095】この動画像復号化装置では、圧縮符号化さ
れた入力画像信号s100は分割手段101に接続さ
れ、分割手段101の第1の出力s101−1が復号手
段102に接続され、第2の出力s101−2がスケー
ル変換手段106及び選択手段107に接続される。復
号手段102の出力s102は動き補償補間手段103
に接続され、その出力s103が順序逆変換手段108
及び第1のメモリ24に接続される。また、スケール変
換手段106の出力s106は選択手段107に接続さ
れ、選択手段107の出力s107が動き補償補間手段
103に接続されている。そして、順序逆変換手段10
8の出力s108は出力端子109に接続されている。
また、第1のメモリ104は2つの出力端子を備え、そ
の第1の出力s104−1は第2のメモリ105に接続
され、第2の出力s104−2は動き補償補間手段10
3に接続される。さらに、第2のメモリ105の出力s
105は動き補償補間手段103に接続されている。
In this moving picture decoding apparatus, the compression-coded input image signal s100 is connected to the dividing means 101, the first output s101-1 of the dividing means 101 is connected to the decoding means 102, and the second output s101-1 is connected to the decoding means 102. The output s101-2 is connected to the scale conversion means 106 and the selection means 107. The output s102 of the decoding means 102 is the motion compensation interpolation means 103.
And the output s103 is connected to
And the first memory 24. The output s106 of the scale conversion means 106 is connected to the selection means 107, and the output s107 of the selection means 107 is connected to the motion compensation interpolation means 103. Then, the order reverse conversion means 10
The eight outputs s108 are connected to the output terminal 109.
Further, the first memory 104 has two output terminals, the first output s104-1 is connected to the second memory 105, and the second output s104-2 is the motion compensation interpolation means 10.
3 is connected. Further, the output s of the second memory 105
Reference numeral 105 is connected to the motion compensation interpolation means 103.

【0096】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0097】図9の動画像符号化装置において、順序変
換手段911では、入力される画像フレームに対して予
め決められた順序に変換して、それらの画像フレームを
画像情報s911として出力する。ここで、予め決めら
れた順序とは、例えば順序変数m=3とした場合に、図
24に示すように、3フレーム置きに1フレームの画像
順序を入れ換えて出力されるフレーム順序である。図2
4において、3、6、9のような順序が変えられた画像
フレームを、以下ではPフレームと呼び、1、2、4、
5のようなフレームをΒフレームと呼ぶ。
In the moving picture coding apparatus of FIG. 9, the order conversion means 911 converts the input image frames into a predetermined order and outputs those image frames as image information s911. Here, the predetermined order is a frame order in which, for example, when the order variable m = 3, as shown in FIG. Figure 2
In FIG. 4, the image frames whose order is changed like 3, 6, 9 are referred to as P frames below, 1, 2, 4,
A frame such as 5 is called a B frame.

【0098】動きベクトル算出手段91では、画像情報
s911としてPフレームが入力されると、従来と同様
にブロックマッチング法などにより動きベクトル情報s
91を求め、それをそれぞれスケール変換手段99、選
択手段910、及び混合手段98に出力する。しかし、
画像情報s911としてΒフレームが入力された場合に
は、ベクトル演算動作及び出力を行なわない。
When the P frame is input as the image information s911, the motion vector calculating means 91 uses the block matching method or the like to calculate the motion vector information s as in the conventional case.
91, and outputs them to the scale converting means 99, the selecting means 910, and the mixing means 98, respectively. But,
When the B frame is input as the image information s911, the vector operation and output are not performed.

【0099】スケール変換手段99では、入力されるP
フレーム間の動きベクトル情報s911に対して、Bフ
レームに適用できるようにスケール変換をして、スケー
ル変換された動きベクトルs99を選択手段910に出
力する。ここでスケール変換方法としては、例えばある
Bフレームが前方のPフレームからの距離をnとし、後
方のPフレームまでの距離を(m−n)とするとき、そ
のBフレームの前方予測動きベクトルは、ここに入力さ
れた前後のPフレーム間での動きベクトルの(n/m)
倍として出力し、またBフレームの後方予測動きベクト
ルは、ここに入力された前後のPフレーム間の動きベク
トルの((m−n)/m)倍として出力する方法が可能
である。
In the scale conversion means 99, the input P
The motion vector information s911 between frames is scale-converted so that it can be applied to the B frame, and the scale-converted motion vector s99 is output to the selection unit 910. As a scale conversion method, for example, when a distance from a front P frame to a certain B frame is n and a distance to a rear P frame is (mn), the forward motion vector predictor of the B frame is , (N / m) of the motion vector between the P frames before and after input here
It is possible to output the backward predicted motion vector of the B frame as ((m−n) / m) times the motion vector between the preceding and following P frames input here.

【0100】選択手段910では、この動画像復号化装
置でPフレームが処理される時には、動きベクトル算出
手段91からのPフレーム間の動きベクトル情報s91
を選択してそれを動きベクトル情報s910として出力
し、Bフレームが処理される時には、スケール変換手段
99でスケール変換された動きベクトル情報s99を選
択し、Bフレームの動きベクトル情報s910として出
力する。
In the selecting means 910, when the P frame is processed by this moving picture decoding apparatus, the motion vector information s91 between P frames from the motion vector calculating means 91.
Is selected and output as motion vector information s910. When the B frame is processed, the scale vector 99 converts the scale-converted motion vector information s99 and outputs it as the B frame motion vector information s910.

【0101】動き補償予測手段92では、Pフレームの
画像信号と動きベクトル情報が入力される時、選択手段
910を介して入力される算出された動きベクトル情報
s91に基づいて、前方のPフレームの動きベクトルに
対応した画像信号s95−1を第2のメモリ95から読
み込み、従来装置の場合と同様に誤差情報、例えば差分
画像信号s92を出力する。また、Bフレームの画像信
号が入力される時には、スケール変換手段99で変換さ
れた前方及び後方の動きベクトル情報s99に基づい
て、それぞれ前方のPフレームの動きベクトルに対応し
た画像信号s95−1及び後方のPフレームの動きベク
トルに対応した画像信号s94−2を第2のメモリ及び
第1のメモリから読み込んで、前方の画像信号、後方の
画像信号、または前後方の平均画像信号の誤差情報を演
算する。そして、これら誤差情報のいずれかのうち、例
えば差分信号の平均自乗誤差が最も小さくなるものを差
分画像s92として選択して、圧縮符号化手段96に出
力する。
In the motion compensation predicting means 92, when the image signal of the P frame and the motion vector information are inputted, the motion vector information s91 calculated through the selecting means 910 is used to calculate the P frame of the preceding P frame. The image signal s95-1 corresponding to the motion vector is read from the second memory 95, and error information, for example, the difference image signal s92 is output as in the conventional device. When the B frame image signal is input, based on the forward and backward motion vector information s99 converted by the scale conversion unit 99, the image signals s95-1 and s95-1 corresponding to the forward P frame motion vector, respectively. The image signal s94-2 corresponding to the motion vector of the rear P frame is read from the second memory and the first memory, and error information of the front image signal, the rear image signal, or the front / rear average image signal is obtained. Calculate Then, of any of the error information, for example, one having the smallest mean square error of the difference signal is selected as the difference image s92, and is output to the compression encoding unit 96.

【0102】ここで圧縮符号化手段96、復号手段9
7、及び混合手段98は、それぞれ従来装置(図3)の
ものと同じ動作をする。
Here, compression encoding means 96 and decoding means 9
7 and the mixing means 98 respectively operate in the same manner as in the conventional device (FIG. 3).

【0103】動き補償補間手段93では、復号手段97
からPフレームの画像情報s97が入力される時、選択
手段910より入力される動きベクトル情報s91に基
づいて、前方のPフレームの動きベクトルに対応した画
像信号s95−1を第2のメモリ95から読み込み、従
来装置の場合と同様に差分画像信号に足し合わせて復元
画像信号s93を出力する。また、復号手段97からB
フレームの画像情報s97が入力される時には、スケー
ル変換手段99で変換された前方及び後方の動きベクト
ル情報s99に基づいて、それぞれ前方のPフレームの
動きベクトルに対応した画像信号s95−2及び後方の
Pフレームの動きベクトルに対応した画像信号s94−
3を第2のメモリ95及び第1のメモリ94から読み込
んで、前方の画像信号、後方の画像信号、または前後方
の平均画像信号を演算する。そして、これら画像情報の
いずれかを転送された情報に従って選択し、差分信号に
足し合わせて復元画像s93を出力する。
In the motion compensating interpolation means 93, the decoding means 97
When the image information s97 of the P frame is input from the second memory 95, the image signal s95-1 corresponding to the motion vector of the preceding P frame is output from the second memory 95 based on the motion vector information s91 input from the selecting means 910. The read image is added and added to the differential image signal as in the case of the conventional apparatus to output the restored image signal s93. Also, the decryption means 97 to B
When the frame image information s97 is input, based on the forward and backward motion vector information s99 converted by the scale conversion means 99, the image signal s95-2 and the backward image signal s95-2 corresponding to the forward P frame motion vector, respectively. Image signal s94-corresponding to the motion vector of P frame
3 is read from the second memory 95 and the first memory 94, and a front image signal, a rear image signal, or a front / rear average image signal is calculated. Then, any one of these image information is selected according to the transferred information and added to the difference signal to output the restored image s93.

【0104】第1のメモリ94では、Pフレームの画像
信号のみを格納し、次のPフレームが処理される直前
に、ここに格納されている1フレーム分の画像信号s9
4−1を第2のメモリ95に出力する。
The first memory 94 stores only the P frame image signal, and immediately before the next P frame is processed, the one frame image signal s9 stored therein is stored.
4-1 is output to the second memory 95.

【0105】第2のメモリ95では、第1のメモリ94
より入力される1フレームの画像信号s94−1を格納
する。
In the second memory 95, the first memory 94
The one-frame image signal s94-1 that is input further is stored.

【0106】図10の動画像復号化装置において、分割
手段101及び復号手段102は、従来装置(図2)の
ものと同じ動作をなし、スケール変換手段106、選択
手段107、動き補償補間手段103、第1のメモリ1
04、及び第2のメモリ105は、第4の符号化装置
(図9)のものと同じ動作をするので、これらの説明は
省略する。
In the moving picture decoding apparatus of FIG. 10, the dividing means 101 and the decoding means 102 perform the same operations as those of the conventional apparatus (FIG. 2), and the scale converting means 106, the selecting means 107, and the motion compensation interpolating means 103. , First memory 1
04 and the second memory 105 perform the same operation as that of the fourth encoding device (FIG. 9), and thus the description thereof will be omitted.

【0107】順序逆変換手段108では、動き補償補間
手段103より入力される復元画像s103に対して、
符号化装置の順序変換手段911によって順序を変えら
れた画像フレームを元の順序に戻して出力端子109に
出力する。
In the order inverse transforming means 108, with respect to the restored image s103 input from the motion compensation interpolating means 103,
The image frames whose order has been changed by the order conversion unit 911 of the encoding device are returned to the original order and output to the output terminal 109.

【0108】以上説明したように、本発明の第4の動画
像符号化復号化装置によれば、画像の順序を変換し、動
きベクトルのスケール変換によりΒフレームの動きベク
トルを生成することによって、動きベクトルの算出をm
フレームおきのPフレーム同士に対してのみ行えば良く
なる。したがって、処理量が軽減されるうえ、動きベク
トルを転送する符号量も軽減することができ、符号化効
率の向上が期待できる。
As described above, according to the fourth moving picture coding / decoding apparatus of the present invention, the order of images is converted and the motion vector of the B frame is generated by the scale conversion of the motion vector. Calculate motion vector by m
It is sufficient to perform it only for P-frames at every other frame. Therefore, the amount of processing can be reduced, and the amount of codes for transferring motion vectors can also be reduced, and improvement in encoding efficiency can be expected.

【0109】また、Bフレームに関しては、前後のPフ
レームを用いて補間することによって動きベクトルを転
送しなくても画像品質がほとんど低下すること無く符号
化できる。したがって、簡単なスケール変換手段、選択
手段、及び1フレーム分のメモリを追加するだけで、符
号化側及び復号側の装置を構成することができるから、
装置への負担も軽くなる。
As for the B frame, by interpolating using the P frames before and after the B frame, the image quality can be coded with almost no deterioration even if the motion vector is not transferred. Therefore, the device on the encoding side and the decoding side can be configured only by adding a simple scale converting means, a selecting means, and a memory for one frame.
The burden on the device is also reduced.

【0110】実施の形態5 図11は、この発明の第5の動画像符号化装置のブロッ
ク図である。この第5の動画像符号化装置は、第4の符
号化装置(図9)において、スケール変換手段(ESC
D)の代わりに、動きベクトル予測手段(EPRE)1
11及び動きベクトル補間手段(EINP)112を設
けたものである。
Embodiment 5 FIG. 11 is a block diagram of a fifth moving picture coding apparatus according to the present invention. This fifth moving image encoding apparatus is the same as the fourth encoding apparatus (FIG. 9) except that the scale conversion means (ESC) is used.
Instead of D), motion vector predictor (EPRE) 1
11 and a motion vector interpolation means (EINP) 112 are provided.

【0111】図11において、順序変換手段(ORD)
911と、動きベクトル算出手段(EDT)91と、選
択手段910と、動き補償予測手段(PRE)92と、
圧縮符号化手段(COD)96と、混合手段(ΜPX)
98と、復号手段(DCD)97と、動き補償補間手段
(INP)93と、第1のメモリ(FRM)94と、第
2のメモリ(FRM)95は、第4の符号化装置と同様
な機能を有し同様に接続されているので、同じ番号を付
与し説明を省略する。
In FIG. 11, the order conversion means (ORD)
911, a motion vector calculation means (EDT) 91, a selection means 910, a motion compensation prediction means (PRE) 92,
Compression encoding means (COD) 96 and mixing means (MPX)
98, a decoding means (DCD) 97, a motion compensation interpolation means (INP) 93, a first memory (FRM) 94, and a second memory (FRM) 95 are similar to those of the fourth encoding device. Since they have a function and are connected in the same manner, the same numbers are given and their explanations are omitted.

【0112】ここで、動きベクトル算出手段91の出力
s91は、動きベクトル予測手段111に接続され、動
きベクトル予測手段111の出力s111は、動きベク
トル補間手段112に接続され、動きベクトル補間手段
112の出力s112は、選択手段910に接続されて
いる。
Here, the output s91 of the motion vector calculation means 91 is connected to the motion vector prediction means 111, and the output s111 of the motion vector prediction means 111 is connected to the motion vector interpolation means 112 and the motion vector interpolation means 112. The output s112 is connected to the selection means 910.

【0113】図12は、この発明の第5の動画像復号化
装置のブロック図である。この第5の動画像復号化装置
は、第4の復号化装置(図10)において、スケール変
換手段(ESCD)の代わりに、動きベクトル予測手段
(EPRE)111及び動きベクトル補間手段(EIN
P)112を設けたものである。
FIG. 12 is a block diagram of a fifth moving picture decoding apparatus according to the present invention. This fifth moving image decoding device is the same as the fourth decoding device (FIG. 10) except that the scale conversion means (ESCD) is replaced by a motion vector prediction means (EPRE) 111 and a motion vector interpolation means (EIN).
P) 112 is provided.

【0114】図12において、分割手段(DMPX)1
01と、復号手段(DCD)102と、動き補償補間手
段(INP)103と、順序逆変換手段(RORD)1
08と、第1のメモリ(FRM)104と、第2のメモ
リ(FRM)105と、選択手段107は、第4の復号
化装置と同様な機能を有し同様に接続されているので、
同じ番号を付与し説明を省略する。
In FIG. 12, the dividing means (DMPX) 1
01, a decoding means (DCD) 102, a motion compensation interpolation means (INP) 103, and a reverse order transformation means (RORD) 1
08, the first memory (FRM) 104, the second memory (FRM) 105, and the selection means 107 have the same functions as the fourth decoding device and are connected in the same manner.
The same numbers are given and explanations are omitted.

【0115】ここで、分割手段101の出力s101−
2は、動きベクトル予測手段121に接続され、動きベ
クトル予測手段121の出力s121は、動きベクトル
補間手段122に接続され、動きベクトル補間手段12
2の出力s122は、選択手段107に接続されてい
る。
Here, the output s101- of the dividing means 101
2 is connected to the motion vector predicting means 121, the output s121 of the motion vector predicting means 121 is connected to the motion vector interpolating means 122, and the motion vector interpolating means 12 is connected.
The second output s122 is connected to the selection means 107.

【0116】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0117】図11の動画像符号化装置において、順序
変換手段911、動きベクトル算出手段91、選択手段
910、動き補償予測手段92、圧縮符号化手段96、
混合手段98、復号手段97、動き補償補間手段93、
第1のメモリ94、及び第2のメモリ95は、いずれも
第4の符号化装置の対応する手段と同じ動作をするの
で、説明を省略する。
In the moving picture coding apparatus of FIG. 11, the order conversion means 911, the motion vector calculation means 91, the selection means 910, the motion compensation prediction means 92, the compression coding means 96,
Mixing means 98, decoding means 97, motion compensation interpolation means 93,
Since the first memory 94 and the second memory 95 both operate in the same way as the corresponding means of the fourth encoding device, their explanations are omitted.

【0118】動きベクトル予測手段111では、動きベ
クトル算出手段91より入力される前のPフレームと後
のPフレームとの動きベクトル情報s91から現Bフレ
ームの対応する位置の画像データの前方予測動きベクト
ル及び後方予測動きベクトルを予測し、これら動きベク
トル情報s111を動きベクトル補間手段112に出力
する。動きベクトル予測方法としては、例えば、図25
に示す直線内挿予測の方法がある。図25において、t
−mは前のPフレームを示し、t+nは後のPフレーム
を示し、tは現在のBフレームを示す。Vabを動きベク
トル算出手段91により算出された前フレーム(Pフレ
ーム)のa地点から後フレーム(Pフレーム)のb地点
への動きベクトルとすると、動きベクトル予測手段11
1では、この動きベクトルVabの現フレーム(Bフレー
ム)を通過するc地点では、その前フレームとの間の動
きベクトルVacと、後フレームとの間の動きベクトルV
cbは、それぞれ式(1)及び式(2)のように直線内挿
予測される。そこで、これら予測動きベクトルVac、V
cbを予測動きベクトル情報s111として動きベクトル
補間手段112に出力する。
In the motion vector predicting means 111, the forward predictive motion vector of the image data at the corresponding position of the current B frame is calculated from the motion vector information s91 of the previous P frame and the subsequent P frame input from the motion vector calculating means 91. And the backward motion vector predictor, and outputs the motion vector information s111 to the motion vector interpolation means 112. As a motion vector prediction method, for example, FIG.
There is a method of linear interpolation prediction shown in. In FIG. 25, t
-M indicates the previous P frame, t + n indicates the subsequent P frame, and t indicates the current B frame. When Vab is a motion vector calculated by the motion vector calculation means 91 from point a of the previous frame (P frame) to point b of the subsequent frame (P frame), the motion vector prediction means 11
In 1, the motion vector Vac between the previous frame and the motion vector Vac between the previous frame and the point c passing through the current frame (B frame) of this motion vector Vab.
cb is linearly interpolated and predicted as in equations (1) and (2), respectively. Therefore, these motion vector predictors Vac, V
The cb is output to the motion vector interpolation means 112 as the motion vector predictor information s111.

【0119】 Vac=Vab・m/(m+n) (1) Vcb=−Vab・n/(m+n) (2) また、動きベクトル補間手段112では、これら予測動
きベクトル情報s111に基づいて、予測されない画素
の動きベクトルをその周辺画素位置の予測されている動
きベクトルの線形補間によって演算している。したがっ
て、入力画像の全ての画素についての動きベクトル情報
s910を選択手段910から動き補償予測手段92及
び動き補償補間手段93に出力することができる。
Vac = Vabm / (m + n) (1) Vcb = -Vabn / (m + n) (2) In the motion vector interpolating unit 112, a pixel that is not predicted based on the predicted motion vector information s111. Is calculated by linearly interpolating the motion vector predicted at the peripheral pixel position. Therefore, the motion vector information s910 for all the pixels of the input image can be output from the selection unit 910 to the motion compensation prediction unit 92 and the motion compensation interpolation unit 93.

【0120】図12の動画像復号化装置において、分割
手段101、復号手段102、動き補償補間手段10
3、順序逆変換手段108、第1のメモリ104、第2
のメモリ105、及び選択手段107は、いずれも第4
の復号化装置(図10)の対応する手段と同じ動作をな
し、動きベクトル予測手段121及び動きベクトル補間
手段122は、それぞれ第5の符号化装置(図11)の
動きベクトル予測手段111及び動きベクトル補間手段
112と同じ動作をする。
In the moving picture decoding apparatus of FIG. 12, the dividing means 101, the decoding means 102, and the motion compensation interpolation means 10
3, order reverse conversion means 108, first memory 104, second
The memory 105 and the selection means 107 are both the fourth
The same operation as the corresponding means of the decoding apparatus of FIG. 10 (FIG. 10) is performed. The same operation as the vector interpolation means 112 is performed.

【0121】これにより、動きベクトル補間手段122
は、動きベクトル予測手段121からの予測された動き
ベクトル情報s122を選択手段107を介して動き補
償補間手段103に供給する。
As a result, the motion vector interpolation means 122
Supplies the predicted motion vector information s122 from the motion vector prediction means 121 to the motion compensation interpolation means 103 via the selection means 107.

【0122】以上説明したように、本発明の第5の動画
像符号化復号化装置によれば、画像の順序を変換した後
で、予測及び補間によりBフレームの動きベクトルを生
成することによって、動きベクトルの算出をmフレーム
おきのPフレーム同士に対してのみ行えば良くなる。し
たがって、処理量が軽減されるうえ、動きベクトルを転
送する符号量も軽減することができ、符号化効率の向上
が期待できる。
As described above, according to the fifth moving picture coding / decoding apparatus of the present invention, by converting the order of the pictures, the motion vector of the B frame is generated by prediction and interpolation, It suffices to calculate the motion vector only for P frames every m frames. Therefore, the amount of processing can be reduced, and the amount of codes for transferring motion vectors can also be reduced, and improvement in encoding efficiency can be expected.

【0123】また、Bフレームに関しては、前後のPフ
レームを用いて補間することによって動きベクトルを転
送しなくても画像品質がほとんど低下すること無く符号
化できる。したがって、簡単な動きベクトル予測手段及
び動きベクトル補間手段を追加するだけで、符号化側及
び復号側の装置を構成することができるから、装置への
負担も軽くなる。
Further, with respect to the B frame, the interpolation can be performed by using the P frames before and after the B frame, without substantially reducing the image quality without transferring the motion vector. Therefore, the device on the encoding side and the device on the decoding side can be configured only by adding the simple motion vector predicting means and the motion vector interpolating means, and the load on the device is lightened.

【0124】さらに、Βフレームの動きベクトルをPフ
レームの動きベクトルから直線内挿予測し、予測されな
い画素に対しても予測されている周辺画素位置の動きベ
クトルを用いて補間したので、動きベクトルのギャップ
を無くすことができる。したがって、画像品質の向上も
期待できる。
Further, the motion vector of the B frame is linearly interpolated and predicted from the motion vector of the P frame, and interpolation is performed using the motion vector of the predicted peripheral pixel position even for the unpredicted pixel. You can eliminate the gap. Therefore, improvement in image quality can be expected.

【0125】実施の形態6 図13は、この発明の第6の動画像符号化装置のブロッ
ク図である。この第6の動画像符号化装置は、第4の動
画像符号化装置(図9)において、スケール変換手段
(ESCD)99の代わりに、動きベクトル予測手段
(EPRE)131、第1の画像データ補間手段(DI
NP1)133、及び第2の画像データ補間手段(DI
NP2)134を設けたものである。
Sixth Embodiment FIG. 13 is a block diagram of a sixth moving picture coding apparatus according to the present invention. This sixth moving picture coding apparatus is the same as the fourth moving picture coding apparatus (FIG. 9), but instead of the scale converting means (ESCD) 99, a motion vector predicting means (EPRE) 131 and a first image data. Interpolation means (DI
NP1) 133 and a second image data interpolating means (DI
NP2) 134 is provided.

【0126】図13において、順序変換手段(ORD)
911と、動きベクトル算出手段(EDT)91と、動
き補償予測手段(PRE)92と、圧縮符号化手段(C
OD)96と、混合手段(MPX)98と、復号手段
(DCD)97と、動き補償補間手段(INP)93
は、第4の符号化装置と同様な機能を有し同様に接続さ
れているので、同じ番号を付与し説明を省略する。
In FIG. 13, the order conversion means (ORD)
911, motion vector calculation means (EDT) 91, motion compensation prediction means (PRE) 92, and compression coding means (C).
OD) 96, mixing means (MPX) 98, decoding means (DCD) 97, motion compensation interpolation means (INP) 93
Has the same function as that of the fourth encoding device and is connected in the same manner.

【0127】この動画像符号化装置では、動きベクトル
算出手段91の出力s91は、動きベクトル予測手段1
31に接続され、動きベクトル予測手段131の出力s
131は、選択手段910に接続される。また、選択手
段910の出力s910は、第1の画像データ補間手段
133及び第2の画像データ補間手段134に接続さ
れ、これら画像データ補間手段133、134の出力s
133、s134は、いずれも動き補償予測手段92及
び動き補償補間手段93に接続されている。さらに、第
1のメモリ94の第3の出力s94−3は、第1の画像
データ補間手段133に接続され、第2のメモリ95の
出力s95は、第2の画像データ補間手段134に接続
されている。
In this moving picture coding apparatus, the output s91 of the motion vector calculation means 91 is the motion vector prediction means 1
31 and output s of the motion vector predictor 131
131 is connected to the selection means 910. The output s910 of the selecting means 910 is connected to the first image data interpolating means 133 and the second image data interpolating means 134, and the outputs s of the image data interpolating means 133 and 134 are connected to each other.
Both 133 and s134 are connected to the motion compensation prediction means 92 and the motion compensation interpolation means 93. Further, the third output s94-3 of the first memory 94 is connected to the first image data interpolating means 133, and the output s95 of the second memory 95 is connected to the second image data interpolating means 134. ing.

【0128】図14は、この発明の第6の動画像復号化
装置のブロック図である。この第6の動画像復号化装置
は、第4の復号化装置(図10)において、スケール変
換手段(ESCD)106の代わりに、動きベクトル予
測手段(EPRE)141、第1の画像データ補間手段
(DINP1)143、及び第2の画像データ補間手段
(DINP2)144を設けたものである。
FIG. 14 is a block diagram of a sixth moving picture decoding apparatus according to the present invention. This sixth moving image decoding apparatus is the same as the fourth decoding apparatus (FIG. 10) except that the scale conversion means (ESCD) 106 is replaced by a motion vector prediction means (EPRE) 141 and a first image data interpolation means. A (DINP1) 143 and a second image data interpolating means (DINP2) 144 are provided.

【0129】図14において、分割手段(DMPX)1
01と、復号手段(DCD)102と、動き補償補間手
段(INP)103と、順序逆変換手段(RORD)1
08は、第4の復号化装置と同様な機能を有し同様に接
続されているので、同じ番号を付与し説明を省略する。
In FIG. 14, the dividing means (DMPX) 1
01, a decoding means (DCD) 102, a motion compensation interpolation means (INP) 103, and a reverse order transformation means (RORD) 1
08 has the same function as that of the fourth decoding device and is connected in the same manner, and therefore, the same number is assigned and description thereof is omitted.

【0130】この復号化装置では、分割手段101の第
2の出力s101−2は、動きベクトル予測手段141
に接続され、動きベクトル予測手段141の出力s14
1は、選択手段107に出力され、選択手段107の出
力s107は、第1の画像データ補間手段143及び第
2の画像データ補間手段144に出力される。また第
1、第2の画像データ補間手段143、144の出力s
143、s144は、いずれも動き補償補間手段103
に接続されている。さらに、第1のメモリ104の第2
の出力s104−2は、第1の画像データ補間手段14
3に接続され、第2のメモリ105の出力s105は、
第2の画像データ補間手段144に接続されている。
In this decoding device, the second output s101-2 of the dividing means 101 is the motion vector predicting means 141.
Connected to the output s14 of the motion vector predicting means 141
1 is output to the selection means 107, and the output s107 of the selection means 107 is output to the first image data interpolation means 143 and the second image data interpolation means 144. Also, the output s of the first and second image data interpolating means 143, 144
143 and s144 are both motion compensation interpolation means 103.
It is connected to the. In addition, the second memory of the first memory 104
Output s104-2 is the first image data interpolating means 14
3, the output s105 of the second memory 105 is
It is connected to the second image data interpolation means 144.

【0131】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0132】図13の動画像符号化装置において、順序
変換手段911、動きベクトル算出手段91、選択手段
910、動き補償予測手段92、圧縮符号化手段96、
混合手段98、復号手段97、動き補償補間手段93、
第1のメモリ94、及び第2のメモリ95は、いずれも
第4の符号化装置の対応する手段と同じ動作をなし、動
きベクトル予測手段131は、第5の符号化装置の動き
ベクトル予測手段111と同じ動作をするので、説明を
省略する。
In the moving picture coding apparatus of FIG. 13, the order conversion means 911, the motion vector calculation means 91, the selection means 910, the motion compensation prediction means 92, the compression coding means 96,
Mixing means 98, decoding means 97, motion compensation interpolation means 93,
The first memory 94 and the second memory 95 both perform the same operation as the corresponding means of the fourth coding apparatus, and the motion vector prediction means 131 is the motion vector prediction means of the fifth coding apparatus. Since the operation is the same as 111, the description is omitted.

【0133】第1の画像データ補間手段133では、入
力される前方予測動きベクトルs910に従って、第1
のメモリ94から対応する前フレーム(Pフレーム)の
画像データs94−3を読み込んで、動き補償参照画像
を作る。動きベクトル予測手段131において予測され
ない現在のBフレームの画素については、動きベクトル
が予測された周辺画素位置の画像データs94−3を用
いて例えば線形補間によって動き補償参照画像を完成さ
せることが可能である。したがって、画像データ補間手
段133から前フレームの参照画像s133をそれぞれ
動き補償予測手段92及び動き補償補間手段93に出力
できる。
In the first image data interpolating means 133, the first image data interpolating means 133 operates in accordance with the input forward motion vector predictor s910.
The corresponding image data s94-3 of the previous frame (P frame) is read from the memory 94 to create a motion compensation reference image. For pixels of the current B frame that are not predicted by the motion vector predicting unit 131, it is possible to complete a motion compensation reference image by using, for example, linear interpolation, using the image data s94-3 at the peripheral pixel position where the motion vector is predicted. is there. Therefore, the reference image s133 of the previous frame can be output from the image data interpolation unit 133 to the motion compensation prediction unit 92 and the motion compensation interpolation unit 93, respectively.

【0134】第2の画像データ補間手段134では、入
力される後方予測動きベクトルs910に従って、第2
のメモリ95から対応する後フレーム(Pフレーム)の
画像データs95を読み込んで、動き補償参照画像を作
る。動きベクトル予測手段において予測されない現在の
Bフレームの画素については、動きベクトルが予測され
た周辺画素位置の画像データs95を用いて例えば線形
補間によって動き補償参照画像を完成させることが可能
である。したがって、画像データ補間手段134から後
フレームの参照画像s134をそれぞれ動き補償予測手
段92及び動き補償補間手段93に出力できる。
In the second image data interpolating means 134, the second image data interpolating means 134 follows the second backward motion vector s910.
The corresponding image data s95 of the subsequent frame (P frame) is read from the memory 95 to create a motion compensation reference image. For the pixels of the current B frame that are not predicted by the motion vector predicting means, it is possible to complete the motion compensation reference image by using, for example, linear interpolation, using the image data s95 at the peripheral pixel position where the motion vector is predicted. Therefore, the reference image s134 of the subsequent frame can be output from the image data interpolation unit 134 to the motion compensation prediction unit 92 and the motion compensation interpolation unit 93, respectively.

【0135】図14の動画像復号化装置において、分割
手段101、復号手段102、動き補償補間手段10
3、順序逆変換手段108、第1のメモリ104、第2
のメモリ105、及び選択手段107は、いずれも第4
の復号化装置(図10)の対応する手段と同じ動作をな
し、動きベクトル予測手段141、第1の画像データ補
間手段143、及び第2の画像データ補間手段144
は、第6の符号化装置(図13)の対応する手段と同じ
動作をする。
In the moving picture decoding apparatus of FIG. 14, the dividing means 101, the decoding means 102, and the motion compensation interpolation means 10
3, order reverse conversion means 108, first memory 104, second
The memory 105 and the selection means 107 are both the fourth
The same operation as that of the corresponding decoding apparatus (FIG. 10) is performed, and the motion vector prediction unit 141, the first image data interpolation unit 143, and the second image data interpolation unit 144 are performed.
Performs the same operation as the corresponding means of the sixth encoding device (FIG. 13).

【0136】これにより、第1の画像データ補間手段1
43、及び第2の画像データ補間手段144は、選択手
段107から各々供給される前方向あるいは後方向の動
きベクトル情報s107に従って、対応する前フレーム
の画像データをそれぞれ第1のメモリ104、第2のメ
モリ105から読み込んで、参照画像s143、s14
4を動き補償補間手段103に供給する。
As a result, the first image data interpolating means 1
43 and the second image data interpolating means 144, in accordance with the forward or backward motion vector information s107 respectively supplied from the selecting means 107, the corresponding image data of the previous frame in the first memory 104 and the second memory 104, respectively. Of the reference images s143 and s14
4 is supplied to the motion compensation interpolation means 103.

【0137】以上説明したように、本発明の第6の動画
像符号化復号化装置によれば、画像の順序を変換した後
で、Bフレームの動きベクトルを予測し、その画像デー
タを生成することによって、動きベクトルの算出をmフ
レームおきのΡフレーム同士に対してのみ行えば良くな
る。したがって、処理量が軽減されるうえ、動きベクト
ルを転送する符号量も軽減することができ、符号化効率
の向上が期待できる。
As described above, according to the sixth moving picture coding / decoding apparatus of the present invention, after the order of the pictures is converted, the motion vector of the B frame is predicted and the picture data thereof is generated. By doing so, it is only necessary to calculate the motion vector for every m frames of Ρ frames. Therefore, the amount of processing can be reduced, and the amount of codes for transferring motion vectors can also be reduced, and improvement in encoding efficiency can be expected.

【0138】また、Βフレームに関しては、前後のPフ
レームを用いて補間することによって動きベクトルを転
送しなくても画像品質がほとんど低下すること無く符号
化できる。したがって、簡単な動きベクトル予測手段及
び動きベクトル補間手段を追加するだけで、符号化側及
び復号側の装置を構成することができるから、装置への
負担も軽くなる。
Further, the B frame can be encoded by interpolating using the P frames before and after it, without substantially reducing the image quality without transferring the motion vector. Therefore, the device on the encoding side and the device on the decoding side can be configured only by adding the simple motion vector predicting means and the motion vector interpolating means, and the load on the device is lightened.

【0139】さらに、Bフレームの動きベクトルをPフ
レームの動きベクトルから直線内挿予測し、動きベクト
ルが予測されない画素に対しても予測されている周辺画
素位置の動きベクトルを用いて補間したので、予測動き
ベクトル間のギャップを無くすることができる。したが
って、画像品質の向上も期待できる。
Furthermore, since the motion vector of the B frame is linearly interpolated and predicted from the motion vector of the P frame, and the pixel of which the motion vector is not predicted is interpolated using the motion vector of the predicted peripheral pixel position, The gap between the motion vector predictors can be eliminated. Therefore, improvement in image quality can be expected.

【0140】実施の形態7 図15は、この発明の第7の動画像符号化装置のブロッ
ク図である。
Embodiment 7 FIG. 15 is a block diagram of a seventh moving picture coding apparatus according to the present invention.

【0141】第7の動画像符号化装置は、入力画像のフ
レーム順序を変える順序変換手段(ORD)150と、
第1、第2のメモリ(FRM)154、155と、これ
らに格納されている2フレームの画像間の動きベクトル
を算出する動きベクトル算出手段(EDT)151と、
動きベクトルのスケールを変換して第1、第2のメモリ
154、155に格納されている2フレーム間の画像の
動きベクトルとするスケール変換手段(ESCD)15
8と、算出された動きベクトルあるいはスケール変換さ
れた動きベクトルのいずれかを選択する選択手段159
と、現フレームの画像と動き補償後の参照画像との予測
誤差を求める動き補償予測手段(PRE)152と、こ
の予測誤差信号を圧縮符号化する圧縮符号化手段(CO
D)156と、圧縮符号化された信号を復号する復号手
段(DCD)157と、復号された信号に動き補償後の
参照画像を用いて補間する動き補償補間手段(INP)
153とを備えている。
The seventh moving picture coding apparatus includes an order conversion means (ORD) 150 for changing the frame order of an input image,
First and second memories (FRM) 154 and 155, and a motion vector calculation means (EDT) 151 for calculating a motion vector between images of two frames stored in these memories;
Scale conversion means (ESCD) 15 for converting the scale of the motion vector into the motion vector of the image between the two frames stored in the first and second memories 154 and 155.
8 and selection means 159 for selecting either the calculated motion vector or the scale-converted motion vector.
, A motion compensation prediction means (PRE) 152 for obtaining a prediction error between the image of the current frame and the reference image after motion compensation, and a compression coding means (CO) for compression coding this prediction error signal.
D) 156, a decoding means (DCD) 157 for decoding the compression-encoded signal, and a motion compensation interpolation means (INP) for interpolating the decoded signal using the reference image after motion compensation.
153 and.

【0142】この動画像符号化装置への入力画像信号s
150は、まず順序変換手段150に供給され、順序変
換手段150の出力s150−1が動き補償予測手段1
52に接続される。この動き補償予測手段152の出力
s152は、圧縮符号化手段156に接続され、圧縮符
号化手段156からは外部への出力信号s156が得ら
れる。また、圧縮符号化手段156の信号s156は復
号手段157に接続され、復号手段157の出力s15
7は動き補償補間手段153に接続され、動き補償補間
手段153の出力s153が、第1のメモリ154に接
続される。この第1のメモリ154は3つの出力端子を
備えており、その第1の出力s154−1は第2のメモ
リ155に接続され、第2の出力s154−2は動きベ
クトル算出手段151に接続され、第3の出力s154
−3は動き補償予測手段152及び動き補償補間手段1
53に接続される。第2のメモリ155は2つの出力端
子を備えており、その第1の出力s155−1は動きベ
クトル算出手段151に接続され、第2の出力s155
−2は動き補償予測手段152及び動き補償補間手段1
53に接続されている。さらに、動きベクトル算出手段
151の出力s151はスケール変換手段158及び選
択手段159に接続され、選択手段159の出力s15
9は動き補償予測手段152及び動き補償補間手段15
3に接続されている。
Input image signal s to this moving image encoding apparatus
150 is first supplied to the order conversion means 150, and the output s150-1 of the order conversion means 150 is the motion compensation prediction means 1
Connected to 52. The output s152 of the motion compensation prediction means 152 is connected to the compression encoding means 156, and the output signal s156 to the outside is obtained from the compression encoding means 156. Further, the signal s156 of the compression coding means 156 is connected to the decoding means 157, and the output s15 of the decoding means 157.
7 is connected to the motion compensation interpolation means 153, and the output s153 of the motion compensation interpolation means 153 is connected to the first memory 154. The first memory 154 has three output terminals, the first output s154-1 is connected to the second memory 155, and the second output s154-2 is connected to the motion vector calculation means 151. , The third output s154
-3 is a motion compensation prediction means 152 and a motion compensation interpolation means 1
Connected to 53. The second memory 155 has two output terminals, the first output s155-1 of which is connected to the motion vector calculation means 151, and the second output s155.
-2 is the motion compensation prediction means 152 and the motion compensation interpolation means 1
It is connected to 53. Further, the output s151 of the motion vector calculating means 151 is connected to the scale converting means 158 and the selecting means 159, and the output s15 of the selecting means 159.
9 is a motion compensation prediction means 152 and a motion compensation interpolation means 15
Connected to 3.

【0143】図16は、この発明の第7の動画像復号化
装置のブロック図である。
FIG. 16 is a block diagram of the seventh moving picture decoding apparatus according to the present invention.

【0144】この動画像復号化装置は、圧縮符号化され
た差分信号を復号する復号手段(DCD)161と、順
序が変換された2フレーム分の画像を記憶する第1、第
2のメモリ(FRM)164、165と、ここに格納さ
れている2フレームの画像間の動きベクトルを算出する
動きベクトル算出手段(EDT)163と、動きベクト
ルのスケールを変換して、格納されている2フレーム間
の画像の動きベクトルとするスケール変換手段(ESC
D)166と、算出された動きベクトルあるいはスケー
ル変換された動きベクトルのいずれかを選択する選択手
段167と、復号された信号に動き補償後の参照画像を
用いて補間する動き補償補間手段(INP)162と、
順序逆変換手段(RORD)168とを備えている。
This moving picture decoding apparatus includes a decoding means (DCD) 161 for decoding a compression-encoded differential signal, and a first and a second memory (for storing two frames of images whose order has been converted). FRM) 164 and 165, a motion vector calculation means (EDT) 163 for calculating a motion vector between the two frames of images stored therein, and a scale of the motion vector to convert the stored two frames. Conversion means (ESC
D) 166, selection means 167 for selecting either the calculated motion vector or the scale-converted motion vector, and motion compensation interpolation means (INP) for interpolating the decoded signal using the motion-compensated reference image. ) 162,
And an order reversing means (RORD) 168.

【0145】この動画像復号化装置では、圧縮符号化さ
れた画像信号s160が復号手段161に供給される。
復号手段161の出力信号s161は動き補償補間手段
162に接続され、その出力s162が順序逆変換手段
168及び第1のメモリ164に接続され、順序逆変換
手段168の出力s168は出力端子169に接続され
る。また、第1のメモリ164は3つの出力端子を備
え、その第1の出力s164−1は第2のメモリ165
に接続され、第2の出力s164−2は動きベクトル算
出手段163に接続され、第3の出力s164−3は動
き補償補間手段162に接続されている。また、第2の
メモリ165は2つの出力端子を備え、その第1の出力
s165−1は動きベクトル算出手段163に接続さ
れ、その第2の出力s165−2は動き補償補間手段1
62に接続されている。さらに、動きベクトル算出手段
163の出力s163はスケール変換手段166及び選
択手段167に接続され、選択手段167の出力s16
7が動き補償補間手段162に接続されている。
In this moving image decoding apparatus, the compression-coded image signal s160 is supplied to the decoding means 161.
The output signal s161 of the decoding means 161 is connected to the motion compensation interpolation means 162, the output s162 thereof is connected to the order inverse transformation means 168 and the first memory 164, and the output s168 of the order inverse transformation means 168 is connected to the output terminal 169. To be done. Further, the first memory 164 has three output terminals, and the first output s164-1 thereof is the second memory 165.
, The second output s164-2 is connected to the motion vector calculation means 163, and the third output s164-3 is connected to the motion compensation interpolation means 162. The second memory 165 has two output terminals, the first output s165-1 is connected to the motion vector calculation means 163, and the second output s165-2 is the motion compensation interpolation means 1
It is connected to 62. Furthermore, the output s163 of the motion vector calculation means 163 is connected to the scale conversion means 166 and the selection means 167, and the output s16 of the selection means 167 is connected.
7 is connected to the motion compensation interpolation means 162.

【0146】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0147】図15の動画像符号化装置において、順序
変換手段150では、本発明の第4の符号化装置(図
9)と同様に、入力される画像フレームに対して予め決
められた順序に変換して、それらの画像フレームを画像
情報s150−1として出力する。
In the moving picture coding apparatus shown in FIG. 15, the order conversion means 150, in the same way as the fourth coding apparatus of the present invention (FIG. 9), has a predetermined order for input image frames. The converted image frames are output as image information s150-1.

【0148】動き補償予測手段152では、第4の符号
化装置と同様に、順序変換手段150からの画像フレー
ムとしてPフレームが入力される時、選択手段159を
介して入力される算出された動きベクトルs158に基
づいて、前方のPフレームの動きベクトルに対応した画
像信号s155−2を第2のメモリ155から読み込
み、誤差情報、例えば差分画像信号s152を出力す
る。また、Bフレームの画像信号が入力される時には、
スケール変換手段158で変換された前方及び後方の動
きベクトル情報s158に基づいて、それぞれ前方のP
フレームの動きベクトルに対応した画像信号s155−
2及び後方のPフレームの動きベクトルに対応した画像
信号s154−3を第2のメモリ及び第1のメモリから
読み込んで、前方の画像信号、後方の画像信号、または
前後方の平均画像信号の誤差情報を演算する。そして、
これら誤差情報のいずれかのうち、例えば差分信号の平
均自乗誤差が最も小さくなるものを差分画像s152と
して選択して、圧縮符号化手段156に出力する。
In the motion compensation predicting means 152, when the P frame is input as the image frame from the order converting means 150, the calculated motion input through the selecting means 159, as in the fourth encoding device. Based on the vector s158, the image signal s155-2 corresponding to the motion vector of the front P frame is read from the second memory 155, and error information, for example, the difference image signal s152 is output. When the B frame image signal is input,
Based on the forward and backward motion vector information s158 converted by the scale conversion means 158, the forward P
Image signal s155-corresponding to the motion vector of the frame
2 and the image signal s154-3 corresponding to the rear P frame motion vector are read from the second memory and the first memory, and the error of the front image signal, the rear image signal, or the front and rear average image signal is read. Compute information. And
Among these pieces of error information, for example, one having the smallest mean square error of the difference signal is selected as the difference image s152 and output to the compression encoding unit 156.

【0149】圧縮符号化手段156では、本発明の第1
の符号化装置と同様に、入力される差分信号s152に
対して、例えば、ブロック単位で離散余弦変換(DC
T)、線形量子化、及び可変長符号化を行なって、圧縮
符号化された画像情報が、差分信号s156として外部
に出力される。また、この差分信号s156は、復号手
段157にも出力される。
The compression encoding means 156 is the first of the present invention.
Similarly to the encoding device of the above, for example, a discrete cosine transform (DC
T), linear quantization, and variable-length coding are performed, and the compression-coded image information is output to the outside as a difference signal s156. The difference signal s156 is also output to the decoding means 157.

【0150】復号手段157では、本発明の第1の符号
化装置と同様に、圧縮符号化された差分信号s156に
対して、圧縮符号化手段156に対応した可変長復号を
行ない、さらに線形逆量子化及び逆離散余弦変換(ID
CT)によって画像情報を復元する。復元された画像情
報は、差分信号s157として動き補償補間手段153
に出力される。
In the decoding means 157, similarly to the first encoding device of the present invention, the compression-encoded difference signal s156 is subjected to variable length decoding corresponding to the compression-encoding means 156, and the linear inverse is performed. Quantization and inverse discrete cosine transform (ID
Image information is restored by CT). The restored image information is used as a differential signal s157 for motion compensation interpolation means 153.
Is output to.

【0151】動き補償補間手段153では、本発明の第
4の符号化装置と同様に、復号手段157からPフレー
ムの画像情報s157が入力される時、選択手段159
より入力される動きベクトルs159に基づいて、前方
のPフレームの動きベクトルに対応した画像信号s15
5−2を第2のメモリ155から読み込み、差分信号に
足し合わせて復元画像信号s153を出力する。また、
復号手段157からBフレームの画像情報s157が入
力される時には、スケール変換手段158で変換された
前方及び後方の動きベクトル情報s159に基づいて、
それぞれ前方のPフレームの動きベクトルに対応した画
像信号s155−2及び後方のPフレームの動きベクト
ルに対応した画像信号s154−3をそれぞれ第2のメ
モリ155及び第1のメモリ154から読み込んで、前
方の画像信号、後方の画像信号、または前後方の平均画
像信号を演算する。そして、これら画像情報のいずれか
を転送された情報に従って選択し、差分信号に足し合わ
せて復元画像s153を出力する。
In the motion compensation interpolation means 153, when the P frame image information s157 is input from the decoding means 157, the selection means 159 is used, as in the fourth encoding apparatus of the present invention.
The image signal s15 corresponding to the motion vector of the preceding P frame based on the motion vector s159 input from
5-2 is read from the second memory 155, added to the difference signal, and the restored image signal s153 is output. Also,
When the B frame image information s157 is input from the decoding means 157, based on the forward and backward motion vector information s159 converted by the scale conversion means 158,
The image signal s154-2 corresponding to the motion vector of the front P frame and the image signal s154-3 corresponding to the motion vector of the rear P frame are read from the second memory 155 and the first memory 154, respectively, The image signal of, the image signal of the rear, or the average image signal of the front and the rear is calculated. Then, any one of these pieces of image information is selected according to the transferred information, added to the difference signal, and the restored image s153 is output.

【0152】第1のメモリ154では、Pフレームの画
像信号のみを格納し、次のPフレームが処理される直前
に、ここに格納されている1フレーム分の画像信号s1
54−1を第2のフレーム155に出力する。
In the first memory 154, only the P frame image signal is stored, and immediately before the next P frame is processed, the one frame image signal s1 stored therein is stored.
54-1 is output to the second frame 155.

【0153】第2のメモリ155では、第1のメモリ1
54より入力される1フレームの画像信号s154−1
を格納する。
In the second memory 155, the first memory 1
1-frame image signal s154-1 input from S54
To store.

【0154】動きベクトル算出手段151では、第1の
メモリ154より入力される後方のPフレームの画像信
号s154−2及び第2のメモリ155より入力される
前方のPフレームの画像信号s155−1から、2フレ
ーム間の動きベクトルを算出し、動きベクトル情報s1
51としてスケール変換手段158及び選択手段159
に出力する。
In the motion vector calculation means 151, from the rearward P frame image signal s154-2 input from the first memory 154 and the frontward P frame image signal s155-1 input from the second memory 155. , A motion vector between two frames is calculated, and motion vector information s1
The scale conversion means 158 and the selection means 159 are designated as 51.
Output to.

【0155】スケール変換手段158では、本発明の第
4の符号化装置と同様に、入力されるPフレーム間の動
きベクトルs151に対して、Βフレームに適用できる
ようにスケール変換をして、スケール変換された動きベ
クトルs158を選択手段159に出力する。
Similar to the fourth encoding apparatus of the present invention, the scale conversion means 158 performs scale conversion on the input motion vector s151 between P frames so that it can be applied to the B frame, and the scale is converted. The converted motion vector s158 is output to the selection unit 159.

【0156】選択手段159では、この動画像復号化装
置でPフレームが処理される時には、動きベクトル算出
手段151からのPフレーム間の動きベクトルs151
を選択してそれを動きベクトル情報s159として出力
し、Bフレームが処理される時には、スケール変換手段
159でBフレーム用にスケール変換された動きベクト
ル情報s158を選択し、Bフレームの動きベクトル情
報s159として出力する。
In the selecting means 159, when the P frame is processed by this moving picture decoding apparatus, the motion vector s151 between P frames from the motion vector calculating means 151.
Is output as the motion vector information s159, and when the B frame is processed, the scale conversion means 159 selects the motion vector information s158 scale-converted for the B frame, and the motion vector information s159 of the B frame. Output as.

【0157】図16の動画像復号化装置において、復号
手段161、動き補償補間手段162、第1のメモリ1
44、第2のメモリ165、動きベクトル算出手段16
3、スケール変換手段166、及び選択手段167は、
いずれも第7の符号化装置(図15)の対応する手段と
同じ動作をするので、説明を省略する。
In the moving picture decoding apparatus of FIG. 16, a decoding means 161, a motion compensation interpolation means 162, a first memory 1
44, second memory 165, motion vector calculation means 16
3, scale conversion means 166, and selection means 167,
Each of them operates in the same way as the corresponding means of the seventh encoding device (FIG. 15), and the explanation thereof is omitted.

【0158】順序逆変換手段168では、動き補償補間
手段162より入力される復元画像s162に対して、
符号化装置の順序変換手段150によって順序を変えら
れた画像フレームを元の順序に戻して出力端子169に
出力する。
The order inversion transforming means 168 applies to the restored image s162 input from the motion compensation interpolating means 162,
The image frames whose order has been changed by the order conversion unit 150 of the encoding device are returned to the original order and output to the output terminal 169.

【0159】以上説明したように、本発明の第7の動画
像符号化復号化装置によれば、符号化装置及び復号化装
置にそれぞれ同じ動きベクトル算出手段(EDT)を持
たせ、また動きベクトルの算出に符号化側と復号側とで
共有できる圧縮復元画像を用いることによって、動きベ
クトルを転送する必要が無くなる。したがって、符号化
効率の向上が期待できる。
As described above, according to the seventh moving picture coding / decoding apparatus of the present invention, the same motion vector calculating means (EDT) is provided in each of the coding apparatus and the decoding apparatus, and the motion vector is calculated. By using a compressed / decompressed image that can be shared by the encoding side and the decoding side for the calculation of, it becomes unnecessary to transfer the motion vector. Therefore, improvement in coding efficiency can be expected.

【0160】また、動きベクトルを転送する必要が無い
ため、転送には不向きであるが高性能な動きベクトル算
出法を適用することが可能になる。したがって、適切な
動きベクトル算出法によって動きベクトルの検出精度が
高められるならば、符号化効率の一層の向上及び画像品
質の向上が期待できる。
Since it is not necessary to transfer the motion vector, it is possible to apply a high-performance motion vector calculation method, which is not suitable for transfer. Therefore, if the motion vector detection accuracy is improved by an appropriate motion vector calculation method, further improvement in coding efficiency and improvement in image quality can be expected.

【0161】さらに、画像の順序を変換し、動きベクト
ルのスケール変換によりΒフレームの動きベクトルを生
成することによって、動きベクトルの算出をmフレーム
おきのPフレーム同士に対してのみ行えば良くなる。し
たがって、処理量が軽減されるうえ、符号化、復号化速
度の高速化が達成できる。
Furthermore, by converting the order of the images and generating the motion vector of the B frame by the scale conversion of the motion vector, it is only necessary to calculate the motion vector for every P frames every m frames. Therefore, the processing amount can be reduced, and the encoding / decoding speed can be increased.

【0162】実施の形態8 図17は、この発明の第8の動画像符号化装置のブロッ
ク図である。
Eighth Embodiment FIG. 17 is a block diagram of an eighth moving picture coding apparatus according to the present invention.

【0163】第8の動画像符号化装置は、第7の符号化
装置(図15)において、動きベクトルのスケールを変
換するスケール変換手段(ESCD)を廃止し、Bフレ
ーム用の動きベクトルを予測する第1の動きベクトル予
測手段(EPRE1)171と、Pフレーム間の動きベ
クトルを予測する第2の動きベクトル予測手段(EPR
E2)172と、Bフレーム用の動きベクトルを補間す
る第1の動きベクトル補間手段(EINP1)173
と、Pフレーム間の動きベクトルを補間する第2の動き
ベクトル補間手段(EINP2)174とを付け加えた
ものである。
The eighth moving picture coding apparatus, in the seventh coding apparatus (FIG. 15), eliminates the scale conversion means (ESCD) for converting the scale of the motion vector, and predicts the motion vector for the B frame. First motion vector predicting means (EPRE1) 171 and second motion vector predicting means (EPR) for predicting a motion vector between P frames.
E2) 172 and first motion vector interpolation means (EINP1) 173 for interpolating the motion vector for B frame
And a second motion vector interpolation means (EINP2) 174 for interpolating the motion vector between P frames.

【0164】図17において、順序変換手段150、動
き補償予測手段152、圧縮符号化手段156、復号手
段157、動き補償補間手段153、第1のメモリ15
4、第2のメモリ155、動きベクトル算出手段15
1、及び選択手段159は、いずれも第7の符号化装置
の対応する手段と同様の機能を有し同様に接続されてい
るので、同じ番号を付与し説明を省略する。
In FIG. 17, the order conversion means 150, the motion compensation prediction means 152, the compression encoding means 156, the decoding means 157, the motion compensation interpolation means 153, and the first memory 15
4, second memory 155, motion vector calculation means 15
Since 1 and the selecting means 159 both have the same function as the corresponding means of the seventh encoding device and are connected in the same manner, the same numbers are given and description thereof is omitted.

【0165】ここで、第1の動きベクトル予測手段17
1及び第2の動きベクトル予測手段172には、動きベ
クトル算出手段151の出力s151が接続され、第1
の動きベクトル予測手段171の出力s171は、第1
の動きベクトル補間手段173に接続され、第2の動き
ベクトル予測手段172の出力s172は、第2の動き
ベクトル補間手段174に接続され、第1の動きベクト
ル補間手段173の出力s173及び第2の動きベクト
ル補間手段174の出力s174は、それぞれ選択手段
159に接続されている。
Here, the first motion vector predicting means 17
The output s151 of the motion vector calculation means 151 is connected to the first and second motion vector prediction means 172, and
The output s171 of the motion vector prediction means 171 of
Output s172 of the second motion vector predicting means 172 is connected to the second motion vector interpolating means 174, and the output s173 of the first motion vector interpolating means 173 and the second s173 The outputs s174 of the motion vector interpolation means 174 are connected to the selection means 159, respectively.

【0166】図18は、この発明の第8の動画像復号化
装置のブロック図である。
FIG. 18 is a block diagram of an eighth moving picture decoding apparatus according to the present invention.

【0167】この第8の動画像復号化装置では、第7の
復号化装置(図16)において、動きベクトルのスケー
ルを変換するスケール変換手段(ESCD)を廃止し、
Bフレーム用の動きベクトルを予測する第1の動きベク
トル予測手段(EPRE1)181と、Pフレーム間の
動きベクトルを予測する第2の動きベクトル予測手段
(EPRE2)182と、Bフレーム用の動きベクトル
を補間する第1の動きベクトル補間手段(EINP1)
183と、Pフレーム間の動きベクトルを補間する第2
の動きベクトル補間手段(EINP2)184とを付け
加えている。
In the eighth moving picture decoding apparatus, the scale converting means (ESCD) for converting the scale of the motion vector is eliminated in the seventh decoding apparatus (FIG. 16),
First motion vector predicting means (EPRE1) 181 for predicting a B frame motion vector, second motion vector predicting means (EPRE2) 182 for predicting a motion vector between P frames, and B frame motion vector Motion vector interpolation means (EINP1) for interpolating
183 and a second interpolating motion vector between P frames
Motion vector interpolation means (EINP2) 184 of FIG.

【0168】図18においても、復号手段161、動き
補償補間手段162、順序逆変換手段168、第1のメ
モリ164、第2のメモリ165、動きベクトル算出手
段163、及び選択手段167は、いずれも本発明の第
7の復号化装置の対応する手段と同じ機能を有し同様に
接続されているので、同じ番号を付与し説明を省略す
る。
Also in FIG. 18, the decoding means 161, the motion compensation interpolation means 162, the order inverse transformation means 168, the first memory 164, the second memory 165, the motion vector calculation means 163, and the selection means 167 are all provided. Since it has the same function as the corresponding means of the seventh decoding device of the present invention and is connected in the same manner, the same numbers are given and the description thereof is omitted.

【0169】この動画像復号化装置では、第1の動きベ
クトル予測手段181及び第2の動きベクトル予測手段
182には、動きベクトル算出手段163の出力s16
3が接続され、第1の動きベクトル予測手段181の出
力s181は、第1の動きベクトル補間手段183に接
続され、第2の動きベクトル予測手段182の出力s1
82は、第2の動きベクトル補間手段184に接続さ
れ、第1の動きベクトル補間手段183の出力s183
及び第2の動きベクトル補間手段184の出力s184
は、それぞれ選択手段167に接続されている。
In this moving picture decoding apparatus, the output s16 of the motion vector calculating means 163 is supplied to the first motion vector predicting means 181 and the second motion vector predicting means 182.
3 is connected, the output s181 of the first motion vector predicting means 181 is connected to the first motion vector interpolating means 183, and the output s1 of the second motion vector predicting means 182.
82 is connected to the second motion vector interpolation means 184, and the output s183 of the first motion vector interpolation means 183.
And the output s184 of the second motion vector interpolation means 184.
Are respectively connected to the selection means 167.

【0170】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0171】図17の動画像符号化装置において、順序
変換手段150、動き補償予測手段152、圧縮符号化
手段156、復号手段157、動き補償補間手段15
3、第1のメモリ154、第2のメモリ155、動きベ
クトル算出手段151、及び選択手段159は、いずれ
も第7の符号化装置の対応する手段と同じ動作をするの
で、説明を省略する。
In the moving picture coding apparatus of FIG. 17, the order conversion means 150, the motion compensation prediction means 152, the compression coding means 156, the decoding means 157, the motion compensation interpolation means 15
3, the first memory 154, the second memory 155, the motion vector calculation means 151, and the selection means 159 all operate in the same way as the corresponding means of the seventh encoding device, and therefore their explanations are omitted.

【0172】第2の動きベクトル予測手段172では、
動きベクトル算出手段151より入力される前フレーム
であるPフレームと、その前前フレームのPフレームと
の間の動きベクトル情報s151から、第2の符号化装
置の動きベクトル予測手段51と同様の外挿予測によ
り、現在のPフレームの対応する位置の画像信号の動き
ベクトルを予測し、それを動きベクトル情報s172と
して第2の動きベクトル補間手段174に出力する。
In the second motion vector predicting means 172,
Based on the motion vector information s151 between the P frame that is the previous frame and the P frame of the previous frame that is input from the motion vector calculation unit 151, the same external information as the motion vector prediction unit 51 of the second encoding device. By the insertion prediction, the motion vector of the image signal at the corresponding position of the current P frame is predicted, and it is output to the second motion vector interpolating means 174 as the motion vector information s172.

【0173】また、第2の動きベクトル補間手段174
では、予測された画素の動きベクトル情報s172に基
づいて、予測されない画素の動きベクトルをその周辺画
素位置の予測されている動きベクトルの線形補間によっ
て演算している。したがって、入力画像のPフレームの
全ての画素についての動きベクトル情報s174を、選
択手段159を介して動き補償予測手段152及び動き
補償補間手段153に出力することができる。
Also, the second motion vector interpolation means 174
Then, based on the predicted pixel motion vector information s172, the motion vector of the unpredicted pixel is calculated by linear interpolation of the predicted motion vector of the peripheral pixel positions. Therefore, the motion vector information s174 for all pixels of the P frame of the input image can be output to the motion compensation prediction unit 152 and the motion compensation interpolation unit 153 via the selection unit 159.

【0174】第1の動きベクトル予測手段171では、
動きベクトル算出手段151より入力される前方のPフ
レームと後方のPフレームとの動きベクトル情報から、
第5の符号化装置の動きベクトル予測手段111と同様
の内挿予測により、現在のBフレームの対応する位置の
画像信号の動きベクトルを予測し、それを動きベクトル
情報s171として第1の動きベクトル補間手段173
に出力する。
In the first motion vector predicting means 171,
From the motion vector information of the front P frame and the rear P frame input from the motion vector calculation means 151,
The motion vector predicting unit 111 of the fifth encoding device performs the same interpolation prediction to predict the motion vector of the image signal at the corresponding position of the current B frame, and the motion vector information s171 is used as the first motion vector. Interpolation means 173
Output to.

【0175】また、第1の動きベクトル補間手段173
では、予測された画素の動きベクトルs171に基づい
て、予測されない画素の動きベクトルをその周辺画素位
置の予測されている動きベクトルから線形補間によって
演算している。したがって、入力画像のBフレームの全
ての画素についての動きベクトル情報s173を、選択
手段159を介して動き補償予測手段152及び動き補
償補間手段153に出力することができる。
Also, the first motion vector interpolation means 173.
Then, based on the predicted pixel motion vector s171, the motion vector of the unpredicted pixel is calculated by linear interpolation from the predicted motion vector of the peripheral pixel positions. Therefore, the motion vector information s173 for all pixels of the B frame of the input image can be output to the motion compensation prediction unit 152 and the motion compensation interpolation unit 153 via the selection unit 159.

【0176】図18の動画像復号化装置において、復号
手段161、動き補償補間手段162、順序逆変換手段
168、第1のメモリ164、第2のメモリ165、動
きベクトル算出手段163、及び選択手段167は、い
ずれも本発明の第7の復号化装置(図16)の対応する
手段と同じ動作をなし、第1の動きベクトル予測手段1
81、第2の動きベクトル予測手段182、第1の動き
ベクトル補間手段183、及び第2の動きベクトル補間
手段184は、それぞれ上述した第8の符号化装置(図
17)の対応する手段と同じ動作をする。
In the moving picture decoding apparatus of FIG. 18, the decoding means 161, the motion compensation interpolation means 162, the order inverse transformation means 168, the first memory 164, the second memory 165, the motion vector calculation means 163, and the selection means. 167 all perform the same operation as the corresponding means of the seventh decoding apparatus (FIG. 16) of the present invention, and the first motion vector prediction means 1
81, the second motion vector predicting means 182, the first motion vector interpolating means 183, and the second motion vector interpolating means 184 are the same as the corresponding means of the eighth encoding device (FIG. 17) described above. To work.

【0177】これにより、第1の動きベクトル補間手段
183は動きベクトル予測手段181からのBフレーム
の全ての画素の予測された動きベクトル情報s183
を、第2の動きベクトル補間手段184は動きベクトル
予測手段182からのPフレームの全ての画素の予測さ
れた動きベクトル情報s184を、それぞれ選択手段1
67を介して動き補償補間手段162に供給する。
As a result, the first motion vector interpolating means 183 receives the predicted motion vector information s183 of all the pixels of the B frame from the motion vector predicting means 181.
The second motion vector interpolation means 184 selects the predicted motion vector information s184 of all the pixels of the P frame from the motion vector prediction means 182, respectively.
It is supplied to the motion compensation interpolation means 162 via 67.

【0178】以上説明したように、本発明の第8の動画
像符号化復号化装置によれば、符号化装置及び復号化装
置にそれぞれ同じ動きベクトル算出手段(EDT)を持
たせ、また動きベクトルの算出に符号化側と復号側とで
共有できる圧縮復元画像を用いることによって、動きベ
クトルを転送する必要が無くなる。したがって、符号化
効率の向上が期待できる。
As described above, according to the eighth moving picture coding / decoding apparatus of the present invention, the same motion vector calculating means (EDT) is provided in each of the coding apparatus and the decoding apparatus, and the motion vector is calculated. By using a compressed / decompressed image that can be shared by the encoding side and the decoding side for the calculation of, it becomes unnecessary to transfer the motion vector. Therefore, improvement in coding efficiency can be expected.

【0179】また、動きベク卜ルを転送する必要が無い
ため、転送には不向きであるが高性能な動きベクトル算
出法を適用することが可能になる。したがって、適切な
動きベクトル算出法によって動きベクトルの検出精度が
高められるならば、符号化効率の一層の向上及び画像品
質の向上が期待できる。
Since it is not necessary to transfer the motion vector, it is possible to apply a high-performance motion vector calculation method, which is not suitable for transfer. Therefore, if the motion vector detection accuracy is improved by an appropriate motion vector calculation method, further improvement in coding efficiency and improvement in image quality can be expected.

【0180】さらに、画像の順序を変換し、Bフレーム
を生成することによって、動きベクトルの算出をmフレ
ームおきのPフレーム同士に対してのみ行えば良くな
る。したがって、処理量が軽減され、符号化、復号化速
度の高速化が達成できる。
Furthermore, by converting the order of the images and generating B frames, the motion vector need only be calculated for P frames at intervals of m frames. Therefore, the processing amount is reduced, and the encoding / decoding speed can be increased.

【0181】さらに、Pフレームの動きベクトルを前の
Pフレームの動きベクトルから外挿予測しているから、
予測されない画素に対しても周辺の動きベクトルを用い
て補間でき、また、Βフレームの動きベクトルを前後の
Pフレームの動きベクトルから内挿予測して、同様にB
フレームの予測されない画素に対しても周辺の動きベク
トルを用いて補間できる。したがって、予測動きベクト
ル間のギャップが無くなり、画像品質の向上が期待でき
る。
Furthermore, since the motion vector of the P frame is extrapolated from the motion vector of the previous P frame,
It is possible to interpolate even unpredicted pixels by using the peripheral motion vector, and the motion vector of the B frame is interpolated and predicted from the motion vectors of the preceding and following P frames, and similarly, B
Interpolation can be performed using a peripheral motion vector even for an unpredicted pixel of a frame. Therefore, the gap between the motion vector predictors is eliminated, and improvement in image quality can be expected.

【0182】実施の形態9 図19は、この発明の第9の動画像符号化装置のブロッ
ク図である。
Ninth Embodiment FIG. 19 is a block diagram of a ninth moving picture coding apparatus according to the present invention.

【0183】第9の動画像符号化装置は、第7の符号化
装置(図15)において、動きベクトルのスケールを変
換するスケール変換手段(ESCD)を廃止し、Bフレ
ーム用の動きベクトルを予測する第1の動きベクトル予
測手段(EPRE1)191と、Pフレーム間の動きベ
クトルを予測する第2の動きベクトル予測手段(EPR
E2)192と、Bフレーム用の動きベクトルが予測さ
れない画素信号を補間する第1の画像データ補間手段
(DINP1)193と、Pフレーム間の動きベクトル
が予測されない画素信号を補間する第2の画像データ補
間手段(DINP2)194とを付け加えたものであ
る。
The ninth moving picture coding apparatus, in the seventh coding apparatus (FIG. 15), eliminates the scale conversion means (ESCD) for converting the scale of the motion vector, and predicts the motion vector for B frame. First motion vector predicting means (EPRE1) 191 and second motion vector predicting means (EPR) for predicting a motion vector between P frames.
E2) 192, a first image data interpolating means (DINP1) 193 for interpolating a pixel signal for which a B frame motion vector is not predicted, and a second image for interpolating a pixel signal for which a motion vector between P frames is not predicted A data interpolating means (DINP2) 194 is added.

【0184】図19において、順序変換手段150、動
き補償予測手段152、圧縮符号化手段156、復号手
段157、動き補償補間手段153、第1のメモリ15
4、第2のメモリ155、動きベクトル算出手段15
1、及び選択手段159は、第7の符号化装置(図1
5)の対応する手段と同じ機能を有し同様に接続されて
いるので、同じ番号を付与し説明を省略する。
In FIG. 19, the order conversion means 150, motion compensation prediction means 152, compression encoding means 156, decoding means 157, motion compensation interpolation means 153, first memory 15
4, second memory 155, motion vector calculation means 15
1 and the selection means 159 are the seventh encoding device (see FIG. 1).
Since it has the same function as the corresponding means of 5) and is connected in the same manner, the same numbers are given and the description thereof is omitted.

【0185】ここで、第1の動きベクトル予測手段19
1及び第2の動きベクトル予測手段192には、動きベ
クトル算出手段151の出力s151が接続され、第1
の動きベクトル予測手段191の出力s191及び第2
の動きベクトル予測手段192の出力s172は、選択
手段159に接続され、選択手段159の出力s159
は、第1の画像データ補間手段193及び第2の画像デ
ータ補間手段194に接続され、第1のメモリの第3の
出力s154−3は、第1の画像データ補間手段193
に接続され、第2のメモリの第2の出力s155−2
は、第2の画像データ補間手段194に接続され、第1
の画像データ補間手段193の出力s193及び第2の
画像データ補間手段194の出力s194は、それぞれ
動き補償予測手段152及び動き補償補間手段153に
接続されている。
Here, the first motion vector predicting means 19
The output s151 of the motion vector calculation means 151 is connected to the first and second motion vector prediction means 192, and
Output s191 of the motion vector prediction means 191 and the second
The output s172 of the motion vector predicting means 192 is connected to the selecting means 159, and the output s159 of the selecting means 159.
Is connected to the first image data interpolating means 193 and the second image data interpolating means 194, and the third output s154-3 of the first memory is the first image data interpolating means 193.
Connected to the second output of the second memory s155-2
Is connected to the second image data interpolating means 194,
The output s193 of the image data interpolation unit 193 and the output s194 of the second image data interpolation unit 194 are connected to the motion compensation prediction unit 152 and the motion compensation interpolation unit 153, respectively.

【0186】図20は、この発明の第9の動画像復号化
装置のブロック図である。
FIG. 20 is a block diagram of the ninth moving picture decoding apparatus according to the present invention.

【0187】この第9の動画像復号化装置では、第7の
復号化装置(図16)において、動きベクトルのスケー
ルを変換するスケール変換手段(ESCD)を廃止し、
Pフレーム間の動きベクトルを予測する第2の動きベク
トル予測手段(EPRE2)202と、Βフレーム用の
動きベクトルを予測する第1の動きベクトル予測手段
(EPRE1)201と、Pフレーム間の動きベクトル
が予測されない画素信号を補間する第2の画像データ補
間手段(DINP2)204と、Bフレーム用の動きベ
クトルが予測されない画素信号を補間する第1の画像デ
ータ補間手段(DINP1)203とを付け加えたもの
である。
In the ninth moving picture decoding apparatus, the scale conversion means (ESCD) for converting the scale of the motion vector is eliminated in the seventh decoding apparatus (FIG. 16),
Second motion vector predicting means (EPRE2) 202 for predicting a motion vector between P frames, first motion vector predicting means (EPRE1) 201 for predicting a motion vector for B frame, and motion vector between P frames A second image data interpolating means (DINP2) 204 for interpolating a pixel signal whose prediction is not predicted, and a first image data interpolating means (DINP1) 203 for interpolating a pixel signal for which a motion vector for a B frame is unpredictable. It is a thing.

【0188】図20においても、復号手段161、動き
補償補間手段162、順序逆変換手段168、第1のメ
モリ164、第2のメモリ165、動きベクトル算出手
段163、及び選択手段167は、本発明の第7の復号
化装置(図16)の対応する手段と同じ機能を有し同様
に接続されているので、同じ番号を付与し説明を省略す
る。
Also in FIG. 20, the decoding means 161, the motion compensation interpolation means 162, the order inverse transformation means 168, the first memory 164, the second memory 165, the motion vector calculation means 163, and the selection means 167 are the same as those of the present invention. Since it has the same function as that of the corresponding means of the seventh decoding device (FIG. 16) and is connected in the same manner, the same numbers are given and the description thereof is omitted.

【0189】この動画像復号化装置では、第1の動きベ
クトル予測手段201及び第2の動きベクトル予測手段
202には動きベクトル算出手段163の出力s163
が接続され、第1の動きベクトル予測手段201の出力
s201及び第2の動きベクトル予測手段202の出力
s202は、選択手段167に接続され、選択手段16
7の出力s167は、第1の画像データ補間手段203
及び第2の画像データ補間手段204に接続され、第1
のメモリの第3の出力s164−3は、第1の画像デー
タ補間手段203に接続され、第2のメモリの第2の出
力s165−2は、第2の画像データ補間手段204に
接続され、第1の画像データ補間手段203の出力s2
03及び第2の画像データ補間手段204の出力s20
4は、それぞれ動き補償補間手段162に接続されてい
る。
In this moving picture decoding apparatus, the output s163 of the motion vector calculating means 163 is output to the first motion vector predicting means 201 and the second motion vector predicting means 202.
The output s201 of the first motion vector predicting means 201 and the output s202 of the second motion vector predicting means 202 are connected to the selecting means 167, and the selecting means 16 is connected.
The output s167 of No. 7 is the first image data interpolation means 203.
And the second image data interpolating means 204,
The third output s164-3 of the second memory is connected to the first image data interpolating means 203, and the second output s165-2 of the second memory is connected to the second image data interpolating means 204. Output s2 of the first image data interpolation means 203
03 and the output s20 of the second image data interpolation means 204
4 are connected to the motion compensation interpolation means 162, respectively.

【0190】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0191】図19の動画像符号化装置において、順序
変換手段150、動き補償予測手段152、圧縮符号化
手段156、復号手段157、動き補償補間手段15
3、第1のメモリ154、第2のメモリ155、動きベ
クトル算出手段151、及び選択手段159は、いずれ
も第7の符号化装置(図15)の対応する手段と同じ動
作をするので、説明を省略する。
In the moving picture coding apparatus of FIG. 19, the order conversion means 150, the motion compensation prediction means 152, the compression coding means 156, the decoding means 157, and the motion compensation interpolation means 15
3, the first memory 154, the second memory 155, the motion vector calculation means 151, and the selection means 159 all operate in the same way as the corresponding means of the seventh encoding device (FIG. 15), and therefore will be described. Is omitted.

【0192】第1の動きベクトル予測手段191及び第
2の動きベクトル予測手段192は、それぞれ本発明の
第8の符号化装置(図17)の第1の動きベクトル予測
手段171及び第2の動きベクトル予測手段172と同
じ動作をする。
The first motion vector predicting means 191 and the second motion vector predicting means 192 are respectively the first motion vector predicting means 171 and the second motion vector predicting means 171 of the eighth encoding apparatus (FIG. 17) of the present invention. It operates in the same manner as the vector predicting means 172.

【0193】第1の画像データ補間手段193では、入
力されるBフレーム用の後方予測動きベクトルs159
に従って、第1のメモリ154から対応する後方のPフ
レームの画像データs154−3を読み込んで、動き補
償参照画像を作る。動きベクトル予測手段191におい
て予測されない画素位置については、動きベクトルが予
測された周辺画素位置の画像データs154−3を用い
て例えば線形補間によって動き補償参照画像を完成させ
ることが可能である。したがって、画像データ補間手段
133から前フレームの参照画像s193をそれぞれ動
き補償予測手段152及び動き補償補間手段153に出
力できる。
In the first image data interpolating means 193, the backward predictive motion vector s159 for the input B frame is inputted.
In accordance with the above, the image data s154-3 of the corresponding rear P frame is read from the first memory 154 to create a motion compensation reference image. For pixel positions that are not predicted by the motion vector predicting means 191, it is possible to complete the motion compensation reference image by using, for example, linear interpolation, using the image data s154-3 of the peripheral pixel positions for which the motion vector was predicted. Therefore, the reference image s193 of the previous frame can be output from the image data interpolation unit 133 to the motion compensation prediction unit 152 and the motion compensation interpolation unit 153, respectively.

【0194】第2の画像データ補間手段194では、入
力されるPフレーム間の予測動きベクトルあるいはBフ
レーム用の前方予測動きベクトルs159に従って、第
2のメモリ155から対応する前方のΡフレームの画像
データs155−2を読み込んで、動き補償参照画像を
作る。動きベクトル予測手段192において予測されな
い現在のBフレームの画素については、動きベクトルが
予測された周辺画素位置の画像データs155−2を用
いて例えば線形補間によって動き補償参照画像を完成さ
せることが可能である。したがって、この画像データ補
間手段194から後フレームの参照画像s194をそれ
ぞれ動き補償予測手段152及び動き補償補間手段15
3に出力できる。
In the second image data interpolating means 194, the image data of the corresponding forward Ρ frame is output from the second memory 155 in accordance with the input predictive motion vector between P frames or the forward predictive motion vector s159 for B frame. s155-2 is read to create a motion compensation reference image. For the pixels of the current B frame that are not predicted by the motion vector predicting unit 192, it is possible to complete the motion compensation reference image by using, for example, linear interpolation, using the image data s155-2 of the peripheral pixel position where the motion vector is predicted. is there. Therefore, the reference image s194 of the subsequent frame is supplied from the image data interpolation unit 194 to the motion compensation prediction unit 152 and the motion compensation interpolation unit 15, respectively.
Can be output to 3.

【0195】図20の動画像復号化装置において、復号
手段161、動き補償補間手段162、順序逆変換手段
168、第1のメモリ164、第2のメモリ165、動
きベクトル算出手段163、及び選択手段167は、い
ずれも本発明の第7の復号化装置(図16)の対応する
手段と同じ動作をなし、第1の動きベクトル予測手段2
01、第2の動きベクトル予測手段202、第1の画像
データ補間手段203、及び第2の画像データ補間手段
204は、それぞれ第9の符号化装置(図19)の対応
する手段と同じ動作をする。
In the moving picture decoding apparatus of FIG. 20, the decoding means 161, the motion compensation interpolation means 162, the order inverse transformation means 168, the first memory 164, the second memory 165, the motion vector calculation means 163, and the selection means. 167 both perform the same operation as the corresponding means of the seventh decoding apparatus (FIG. 16) of the present invention, and the first motion vector predicting means 2
01, the second motion vector predicting means 202, the first image data interpolating means 203, and the second image data interpolating means 204 respectively perform the same operations as the corresponding means of the ninth encoding device (FIG. 19). To do.

【0196】これにより、第1の画像データ補間手段2
03、及び第2の画像データ補間手段204は、選択手
段167から各々供給される前方向あるいは後方向の動
きベクトル情報s167に従って、それぞれPフレーム
及びBフレームの全ての画像データをそれぞれ第1のメ
モリ164、第2のメモリ165から読み込んで、参照
画像s203、s204を動き補償補間手段162に供
給する。
Thereby, the first image data interpolating means 2
03, and the second image data interpolating means 204, according to the forward or backward motion vector information s167 respectively supplied from the selecting means 167, stores all the image data of P frame and B frame respectively in the first memory. 164 is read from the second memory 165, and the reference images s203 and s204 are supplied to the motion compensation interpolation means 162.

【0197】以上説明したように、本発明の第9の動画
像符号化復号化装置によれば、符号化装置及び復号化装
置にそれぞれ同じ動きベクトル算出手段(EDT)を持
たせ、また動きベクトルの算出に符号化側と復号側とで
共有できる圧縮復元画像を用いることによって、動きベ
クトルを転送する必要が無くなる。したがって、符号化
効率の向上が期待できる。
As described above, according to the ninth moving picture coding / decoding apparatus of the present invention, the same motion vector calculating means (EDT) is provided in each of the coding apparatus and the decoding apparatus, and the motion vector is calculated. By using a compressed / decompressed image that can be shared by the encoding side and the decoding side for the calculation of, it becomes unnecessary to transfer the motion vector. Therefore, improvement in coding efficiency can be expected.

【0198】また、動きべク卜ルを転送する必要が無い
ため、転送には不向きであるが高性能な動きベクトル算
出法を適用することが可能になる。したがって、適切な
動きベクトル算出法によって動きベクトルの検出精度が
高められるならば、符号化効率の一層の向上及び画像品
質の向上が期待できる。
Since it is not necessary to transfer the motion vector, it is possible to apply a high-performance motion vector calculation method, which is not suitable for transfer. Therefore, if the motion vector detection accuracy is improved by an appropriate motion vector calculation method, further improvement in coding efficiency and improvement in image quality can be expected.

【0199】さらに、画像の順序を変換し、Βフレーム
を生成することによって、動きベクトルの算出をmフレ
ームおきのPフレーム同士に対してのみ行えば良くな
る。したがって、処理量が軽減され、符号化、復号化速
度の高速化が達成できる。
Furthermore, by converting the order of the images and generating the B frames, it is only necessary to calculate the motion vector only for P frames every m frames. Therefore, the processing amount is reduced, and the encoding / decoding speed can be increased.

【0200】さらに、Pフレームの動きベクトルを前の
Pフレームの動きベクトルから外挿予測しているから、
予測されない画素に対しても周辺の動きベクトルが予測
された画素を用いて補間でき、また、Βフレームの動き
ベクトルを前後のPフレームの動きベクトルから内挿予
測して、同様にBフレームの予測されない画素に対して
も周辺の動きベクトルが予測された画素を用いて補間で
きる。したがって、予測された画像データの画素間での
ギャップが無くなり、画像品質の向上が期待できる。
Furthermore, since the motion vector of the P frame is extrapolated from the motion vector of the previous P frame,
Even for unpredicted pixels, it is possible to interpolate using pixels whose peripheral motion vectors have been predicted, and interpolate the motion vector of the B frame from the motion vectors of the preceding and following P frames to similarly predict the B frame. It is possible to interpolate even the pixels that have not been predicted, by using the pixels for which the surrounding motion vectors have been predicted. Therefore, the gap between the predicted image data pixels is eliminated, and improvement in image quality can be expected.

【0201】実施の形態10 図21は、この発明の第10の動画像符号化装置のブロ
ック図である。
[Embodiment 10] FIG. 21 is a block diagram of a tenth moving picture coding apparatus according to the present invention.

【0202】本発明の第10の符号化装置は、階層分割
符号化方式に適応するものである。そのために、この動
画像符号化装置では、順序変換手段(ORD)211
と、帯域分割手段(ΑNAL)212と、混合手段(M
PX)215と、帯域合成手段(SYNS)245と、
順序逆変換手段(RORD)250と、順序変換された
連続する2フレームの画像を記憶する第1の記憶手段で
ある第1のメモリ(FRM1)246及び第2のメモリ
(FRM2)247と、動きベクトル算出手段(ED
T)248と、スケール変換手段(SCLD)249
と、直流を含む低周波帯域を圧縮符号化するための第1
の動き補償予測手段(PRE1)233と、圧縮符号化
手段(COD1)234と、復号手段(DCD1)23
6と、動き補償補間手段(INP1)237と、第1の
動き補償予測手段233から順序変換された2フレーム
分の画像を記憶する第2の記憶手段である第3のメモリ
(FRM3)238及び第4のメモリ(FRM4)23
9と、第1の動きベクトル予測手段(EPRE1)24
0と、第2の動きベクトル予測手段(EPRE2)24
1と、選択手段244と、第1の画像データ補間手段
(DINP1)242と、第2の画像データ補間手段
(DINP2)243と、その他の高周波帯域を圧縮符
号化するための第2の動き補償予測手段(PRE2)2
13と、圧縮符号化手段(COD2)214と、復号手
段(DCD2)216と、動き補償補間手段(INP
2)217と、第2の動き補償予測手段213から順序
変換された2フレーム分の画像を記憶する第3の記憶手
段である第5のメモリ(FRM5)218及び第6のメ
モリ(FRM6)219と、第3の動きベクトル予測手
段(EPRE3)220と、第4の動きベクトル予測手
段(EPRE4)221と、第1の動きベクトル補間手
段(EINP1)222と、第2の動きベクトル補間手
段(EINP2)223と、選択手段224とを備えて
いる。
The tenth encoding apparatus of the present invention is adapted to the hierarchical division encoding method. Therefore, in this moving image encoding apparatus, the order conversion means (ORD) 211
, Band dividing means (A NAL) 212, and mixing means (M
PX) 215, and a band synthesizing means (SYNC) 245,
An order reverse transformation means (RORD) 250, a first memory (FRM1) 246 and a second memory (FRM2) 247 which are first storage means for storing consecutive two frames of which the order transformation has been performed, and movement. Vector calculation means (ED
T) 248 and scale conversion means (SCLD) 249
And a first for compressing and encoding a low frequency band including direct current
Motion compensation prediction means (PRE1) 233, compression coding means (COD1) 234, and decoding means (DCD1) 23
6, the motion compensation interpolation means (INP1) 237, the third memory (FRM3) 238 which is the second storage means for storing the images of the two frames subjected to the order conversion from the first motion compensation prediction means 233, and Fourth memory (FRM4) 23
9 and first motion vector predicting means (EPRE1) 24
0 and the second motion vector prediction means (EPRE2) 24
1, a selection means 244, a first image data interpolation means (DINP1) 242, a second image data interpolation means (DINP2) 243, and second motion compensation for compression-encoding other high frequency bands. Prediction means (PRE2) 2
13, a compression encoding means (COD2) 214, a decoding means (DCD2) 216, and a motion compensation interpolation means (INP).
2) 217, and a fifth memory (FRM5) 218 and a sixth memory (FRM6) 219, which are third storage means for storing the images of the two frames subjected to the order conversion from the second motion compensation prediction means 213. A third motion vector predicting means (EPRE3) 220, a fourth motion vector predicting means (EPRE4) 221, a first motion vector interpolating means (EINP1) 222, and a second motion vector interpolating means (EINP2). ) 223 and selection means 224.

【0203】この動画像符号化装置には、外部入力端子
からの入力画像s210が順序変換手段211に供給さ
れている。また、順序変換手段211の出力s211
は、帯域分割手段212に接続されている。帯域合成手
段245の出力s245は、順序逆変換手段250及び
第1のメモリ246に接続され、順序逆変換手段250
の出力信号s250は出力端子250−1から例えばモ
ニタ用の画像信号として出力されている。また、第1の
メモリの第1の出力s246−1は、第2のメモリ24
7に接続され、第1のメモリの第2の出力s246−2
が、動きベクトル算出手段248に接続され、第2のメ
モリ247の出力s247が、動きベクトル算出手段2
48に接続され、動きベクトル算出手段248の出力s
248が、スケール変換手段249に接続され、スケー
ル変換手段249の第1の出力s249−1が、第3の
動きベクトル予測手段220及び第4の動きベクトル予
測手段221に接続され、スケール変換手段249の第
2の出力s249−2が、第1の動きベクトル予測手段
240及び第2の動きベクトル予測手段241に接続さ
れている。混合手段215の出力s215は、圧縮符号
化された外部への出力信号として取り出される。
An input image s210 from an external input terminal is supplied to the order conversion means 211 in this moving image coding apparatus. Also, the output s211 of the order conversion means 211
Are connected to the band dividing means 212. The output s245 of the band synthesizing means 245 is connected to the order inverse transforming means 250 and the first memory 246, and the order inverse transforming means 250 is connected.
Output signal s250 is output from the output terminal 250-1 as an image signal for monitoring, for example. In addition, the first output s246-1 of the first memory is the second memory 24
7 is connected to the second output of the first memory s246-2
Is connected to the motion vector calculation means 248, and the output s247 of the second memory 247 is changed to the motion vector calculation means 2
48, and the output s of the motion vector calculation means 248
248 is connected to the scale converting means 249, the first output s249-1 of the scale converting means 249 is connected to the third motion vector predicting means 220 and the fourth motion vector predicting means 221, and the scale converting means 249. Second output s249-2 is connected to the first motion vector predicting means 240 and the second motion vector predicting means 241. The output s215 of the mixing means 215 is taken out as a compression-coded output signal to the outside.

【0204】また、帯域分割手段212の直流を含む低
周波帯域の出力s212−2は、第1の動き補償予測手
段233に接続され、動き補償予測手段233の出力s
233が、圧縮符号化手段234に接続され、圧縮符号
化手段234の出力s234が、混合手段215及び復
号手段236に接続され、復号手段236の出力s23
6が、動き補償補間手段237に接続され、動き補償補
間手段237の出力s237が、第3のメモリ238に
接続され、第3のメモリ238の第1の出力s238−
1が、第4のメモリ239に接続されている。
The output s212-2 of the low frequency band including the direct current of the band division means 212 is connected to the first motion compensation prediction means 233, and the output s of the motion compensation prediction means 233.
233 is connected to the compression encoding means 234, the output s234 of the compression encoding means 234 is connected to the mixing means 215 and the decoding means 236, and the output s23 of the decoding means 236.
6 is connected to the motion compensation interpolation means 237, the output s237 of the motion compensation interpolation means 237 is connected to the third memory 238, and the first output s238- of the third memory 238-
1 is connected to the fourth memory 239.

【0205】第3のメモリ238の第2の出力s238
−2が、帯域合成手段245に接続され、第3の出力s
238−3が、第1の画像データ補間手段242に接続
され、第4のメモリ239の出力s239が、第2の画
像データ補間手段243に接続され、スケール変換手段
249の第2の出力s249−2が、第1の動きベクト
ル予測手段240及び第2の動きベクトル予測手段24
1に接続され、第1の動きベクトル予測手段240の出
力s240、及び第2の動きベクトル予測手段241の
出力s241が選択手段244に接続され、選択手段2
44の出力s244が、第1の画像データ補間手段24
2及び第2の画像データ補間手段243に接続され、第
1の画像データ補間手段242の出力s242及び第2
の画像データ補間手段243の出力s243が、それぞ
れ第1の動き補償予測手段233及び動き補償補間手段
237に接続されている。
Second output s238 of third memory 238
-2 is connected to the band synthesizing means 245, and the third output s
238-3 is connected to the first image data interpolation means 242, the output s239 of the fourth memory 239 is connected to the second image data interpolation means 243, and the second output s249- of the scale conversion means 249 is connected. 2 is a first motion vector predicting means 240 and a second motion vector predicting means 24.
1, the output s240 of the first motion vector predicting means 240 and the output s241 of the second motion vector predicting means 241 are connected to the selecting means 244, and the selecting means 2
The output s244 of 44 is the first image data interpolating means 24.
2 and the second image data interpolating means 243, and the output s242 and the second output 242 of the first image data interpolating means 242.
The output s243 of the image data interpolating means 243 is connected to the first motion compensation predicting means 233 and the motion compensation interpolating means 237, respectively.

【0206】さらに、帯域分割手段212のその他の高
周波帯域の出力s212−1は、第2の動き補償予測手
段213に接続され、第2の動き補償予測手段213の
出力s213が、圧縮符号化手段214に接続され、圧
縮符号化手段214の出力s214が、混合手段215
及び復号手段216に接続され、復号手段216の出力
s216が、動き補償補間手段217に接続され、動き
補償補間手段217の出力s217が、第5のメモリ2
18に接続され、第5のメモリ218の第1の出力s2
18−1が、第6のメモリ219に接続されている。
Furthermore, the output s212-1 of the other high frequency band of the band division means 212 is connected to the second motion compensation prediction means 213, and the output s213 of the second motion compensation prediction means 213 is the compression coding means. The output s214 of the compression coding means 214 is connected to the mixing means 215.
And the decoding means 216, the output s216 of the decoding means 216 is connected to the motion compensation interpolation means 217, and the output s217 of the motion compensation interpolation means 217 is connected to the fifth memory 2.
18 and a first output s2 of the fifth memory 218
18-1 is connected to the sixth memory 219.

【0207】第5のメモリ218の第2の出力s218
−2が、帯域合成手段245に接続され、その第3の出
力s218−3が、第2の動き補償予測手段213及び
動き補償補間手段217に接続され、第6のメモリ21
9の出力s219が、第2の動き補償予測手段213及
び動き補償補間手段217に接続され、スケール変換手
段249の第2の出力s249−2が、第1の動きベク
トル予測手段220及び第2の動きベクトル予測手段2
21に接続され、第3の動きベクトル予測手段220の
出力s220が、第1の動きベクトル補間手段222に
接続され、第4の動きベクトル予測手段221の出力s
221が、第2の動きベクトル補間手段223に接続さ
れ、第1の動きベクトル補間手段222の出力s222
及び第2の動きベクトル補間手段223の出力s223
が、それぞれ選択手段224に接続され、選択手段22
4の出力s224が、動き補償予測手段213及び動き
補償補間手段217に接続されている。
Second output s218 of fifth memory 218
-2 is connected to the band synthesizing means 245, its third output s218-3 is connected to the second motion compensation prediction means 213 and the motion compensation interpolation means 217, and the sixth memory 21 is connected.
9 output s219 is connected to the second motion compensation prediction means 213 and motion compensation interpolation means 217, and the second output s249-2 of the scale conversion means 249 is the first motion vector prediction means 220 and the second motion vector prediction means 220. Motion vector prediction means 2
21, the output s220 of the third motion vector predicting means 220 is connected to the first motion vector interpolating means 222, and the output s of the fourth motion vector predicting means 221.
221 is connected to the second motion vector interpolation means 223, and the output s222 of the first motion vector interpolation means 222
And the output s223 of the second motion vector interpolation means 223.
Are respectively connected to the selection means 224, and the selection means 22
The output s224 of 4 is connected to the motion compensation prediction means 213 and the motion compensation interpolation means 217.

【0208】図22は、この発明の第10の動画像復号
化装置のブロック図である。
FIG. 22 is a block diagram of a tenth moving image decoding apparatus according to the present invention.

【0209】この動画像復号化装置は、分割手段(DM
PX)251と、帯域合成手段(SYNS)271と、
順序逆変換手段(RORD)280と、順序変換された
連続する2フレームの画像を記憶する第1の記憶手段で
ある第1のメモリ(FRM1)272及び第2のメモリ
(FRM2)273と、動きベクトル算出手段(ED
T)274と、スケール変換手段(SCLD)275
と、直流を含む低周波帯域を復号するための第1の復号
手段(DCD1)262と、第1の動き補償補間手段
(INP1)263と、第1の動き補償補間手段263
から順序変換された2フレーム分の画像を記憶する第2
の記憶手段である第3のメモリ(FRM3)264及び
第4のメモリ(FRM4)265と、第1の動きベクト
ル予測手段(EPRE1)266と、第2の動きベクト
ル予測手段(EPRE2)267と、選択手段270
と、第1の画像データ補間手段(DINP1)268
と、第2の画像データ補間手段(DINP2)269
と、その他の高周波帯域を復号するための第2の復号手
段(DCD2)252と、第2の動き補償補間手段(I
NP2)253と、第2の動き補償補間手段253から
順序変換された2フレーム分の画像を記憶する第3の記
憶手段である第5のメモリ(FRM5)254及び第6
のメモリ(FRM6)255と、第3の動きベクトル予
測手段(EPRE3)256と、第4の動きベクトル予
測手段(EPRE4)257と、第1の動きベクトル補
間手段(EINP1)258と、第2の動きベクトル補
間手段(EINP2)259と、選択手段260とを備
えている。
This moving picture decoding apparatus is composed of a dividing means (DM
PX) 251, a band synthesizing means (SYNC) 271,
An order reverse conversion means (RORD) 280, a first memory (FRM1) 272 and a second memory (FRM2) 273 which are first storage means for storing the continuous two frames of the order-converted images, and movement. Vector calculation means (ED
T) 274 and scale conversion means (SCLD) 275
A first decoding means (DCD1) 262 for decoding a low frequency band including direct current, a first motion compensation interpolation means (INP1) 263, and a first motion compensation interpolation means 263.
A second frame for storing two frames of images that have undergone order conversion from
A third memory (FRM3) 264 and a fourth memory (FRM4) 265, which are storage means of the above, a first motion vector prediction means (EPRE1) 266, a second motion vector prediction means (EPRE2) 267, Selecting means 270
And a first image data interpolating means (DINP1) 268
And second image data interpolating means (DINP2) 269
, Second decoding means (DCD2) 252 for decoding other high frequency bands, and second motion compensation interpolation means (I
NP2) 253, and a fifth memory (FRM5) 254 and a sixth memory (FRM5) 254 which are the third storage means for storing the images of the two frames subjected to the order conversion from the second motion compensation interpolation means 253.
Memory (FRM6) 255, third motion vector predicting means (EPRE3) 256, fourth motion vector predicting means (EPRE4) 257, first motion vector interpolating means (EINP1) 258, and second The motion vector interpolation means (EINP2) 259 and the selection means 260 are provided.

【0210】この動画像復号化装置には、圧縮符号化さ
れた入力画像s251が分割手段251に供給されてい
る。また、帯域合成手段271の出力s271は、順序
逆変換手段280及び第1のメモリ272に接続され、
順序逆変換手段280の出力信号s280は出力端子2
81から画像信号として出力されている。また、分割手
段251で分割された直流を含む低周波帯域の出力s2
51−2は、第1の復号手段262に接続され、分割さ
れたその他の高周波帯域の出力s251−1は、第2の
復号手段252に接続されている。その他の各手段は、
上述した第10の符号化装置(図21)のそれぞれ対応
する手段と同様に接続されている。
In this moving picture decoding apparatus, the compression-coded input picture s251 is supplied to the dividing means 251. The output s271 of the band synthesizing unit 271 is connected to the order inverse transforming unit 280 and the first memory 272,
The output signal s280 of the order inversion conversion means 280 is the output terminal 2
It is output from 81 as an image signal. Further, the output s2 in the low frequency band including the direct current divided by the dividing means 251.
51-2 is connected to the first decoding means 262, and the divided output s251-1 of the other high frequency band is connected to the second decoding means 252. Other means are
Connection is made in the same manner as the corresponding means of the tenth encoding device (FIG. 21) described above.

【0211】つぎに、上述の動画像符号化復号化装置の
動作について説明する。
Next, the operation of the above moving picture coding / decoding apparatus will be described.

【0212】図21の動画像符号化装置において、順序
変換手段211では、本発明の第4の符号化装置(図
9)と同様に、入力される画像信号s210のフレーム
順序に対して予め決められた順序に変換して、それらの
画像フレームを画像情報s211として出力する。ここ
で、画像情報s211は例えば図24に示すように、3
フレーム置きに1フレームの順序を入れ換えて出力され
る。
In the moving picture coding apparatus of FIG. 21, the order conversion means 211 predetermines the frame order of the input image signal s210, as in the fourth coding apparatus of the present invention (FIG. 9). The image frames are converted into the given order and the image frames are output as the image information s211. Here, the image information s211 is 3 as shown in FIG.
Every other frame, the order of one frame is exchanged and output.

【0213】帯域分割手段212では、入力される1フ
レームの画像信号s211をm個の周波数帯域に分割
し、直流を含む低周波帯域の画像信号s212−2は低
周波帯域信号を圧縮符号化するための第2の動き補償予
測手段213に出力される。その他の高周波帯域の画像
信号s212−1は高周波帯域信号を圧縮符号化するた
めの第1の動き補償予測手段233に出力される。帯域
分割手段212における分割方法としては、例えば、ウ
ェーブレット変換による方法が可能である。
The band dividing means 212 divides the inputted one-frame image signal s211 into m frequency bands, and the low frequency band image signal s212-2 including direct current is compression-encoded into the low frequency band signal. Is output to the second motion compensation prediction means 213. The image signal s212-1 in the other high frequency band is output to the first motion compensation prediction unit 233 for compressing and encoding the high frequency band signal. As a dividing method in the band dividing means 212, for example, a method by wavelet transform can be used.

【0214】帯域分割手段212の直流を含む低周波帯
域の画像信号s212−2の後に接続されている第1の
動き補償予測手段233、圧縮符号化手段234、復号
手段236、動き補償補間手段237、第3のメモリ2
38、第4のメモリ239、第1の動きベクトル予測手
段240、第2の動きベクトル予測手段241、選択手
段244、第1の画像データ補間手段242、及び第2
の画像データ補間手段243は、本発明の第9の符号化
装置(図19)の対応する手段と同じ動作をするので、
説明を省略する。
The first motion compensation predicting means 233, the compression encoding means 234, the decoding means 236, and the motion compensation interpolation means 237 connected after the image signal s212-2 of the low frequency band including the direct current of the band dividing means 212. , The third memory 2
38, the fourth memory 239, the first motion vector predicting means 240, the second motion vector predicting means 241, the selecting means 244, the first image data interpolating means 242, and the second.
Since the image data interpolating means 243 of No. 2 operates in the same way as the corresponding means of the ninth encoding device (FIG. 19) of the present invention,
The description is omitted.

【0215】帯域分割手段212のその他の高周波帯域
の画像信号s212−1の後に接続されている第2の動
き補償予測手段213、圧縮符号化手段214、復号手
段216、動き補償補間手段217、第5のメモリ21
8、第6のメモリ219、第3の動きベクトル予測手段
220、第4の動きベクトル予測手段221、第1の動
きベクトル補間手段222、第2の動きベクトル補間手
段223、及び選択手段224は、いずれも本発明の第
8の符号化装置(図17)の対応する手段と同じ動作を
するので、説明を省略する。
A second motion compensation predicting means 213, a compression coding means 214, a decoding means 216, a motion compensation interpolation means 217, and a second motion compensation predicting means 213 connected after the image signal s212-1 of the other high frequency band of the band dividing means 212. 5 memory 21
8, the sixth memory 219, the third motion vector predicting means 220, the fourth motion vector predicting means 221, the first motion vector interpolating means 222, the second motion vector interpolating means 223, and the selecting means 224, Each of them operates in the same way as the corresponding means of the eighth encoding device (FIG. 17) of the present invention, and therefore the description thereof is omitted.

【0216】帯域合成手段245では、入力されるm個
の周波数帯域に分割されている画像信号s218−2,
s238−2に対して、帯域分割手段212とは逆の方
法で帯域を合成して1フレームの画像信号s245を復
元する。この帯域合成手段245における画像信号の合
成方法としては、例えば、帯域分割手段212でのウェ
ーブレット変換に対応するウェーブレット逆変換による
方法が可能である。
In the band synthesizing means 245, the image signals s218-2, which are divided into m frequency bands to be inputted,
For s238-2, the bands are combined by a method reverse to that of the band dividing means 212 to restore the image signal s245 of one frame. As a method of synthesizing the image signals in the band synthesizing means 245, for example, a method by wavelet inverse transform corresponding to the wavelet transform in the band dividing means 212 can be used.

【0217】第1のメモリ246では、帯域合成手段2
45によって合成された画像信号s245からPフレー
ムの画像のみを格納しており、また、ここに新しいPフ
レーム画像が格納される直前に、既に格納されているP
フレームの画像信号s245は第2のメモリ247に出
力される。
In the first memory 246, the band synthesizing means 2
Only the P-frame image from the image signal s245 synthesized by S.45 is stored, and the P-frame image already stored immediately before the new P-frame image is stored here.
The frame image signal s245 is output to the second memory 247.

【0218】第2のメモリ247では、第1のメモリ2
46より入力される前のPフレーム画像を格納する。
In the second memory 247, the first memory 2
The P frame image before being input from 46 is stored.

【0219】順序逆変換手段250は、本発明の第4の
符号化装置(図9)における順序逆変換手段と同じ動作
をするものであって、出力信号s250は圧縮符号化さ
れた画像のモニタ信号として利用できる。
The order inverse transforming means 250 performs the same operation as the order inverse transforming means in the fourth coding apparatus (FIG. 9) of the present invention, and the output signal s250 is a monitor of a compression-coded image. It can be used as a signal.

【0220】動きベクトル算出手段248は、本発明の
第4の符号化装置における動きベクトル算出手段と同じ
動作をして、算出されたPフレーム間の動きベクトル情
報s248をスケール変換手段249に出力する。
The motion vector calculation means 248 performs the same operation as the motion vector calculation means in the fourth encoding apparatus of the present invention, and outputs the calculated motion vector information s248 between P frames to the scale conversion means 249. .

【0221】スケール変換手段249では、入力される
動きベクトル情報s248に対して、帯域分割手段21
2によって分割されたそれぞれの帯域の画像サイズに対
応した動きベクトルにスケール変換をして、直流を含む
低周波帯域の画像信号についての動きベクトル情報s2
49−2を第1の動きベクトル予測手段240及び第2
の動きベクトル予測手段241に出力する。その他の高
周波帯域の画像信号についての動きベクトル情報s24
9−1を第3の動きベクトル予測手段220及び第4の
動きベクトル予測手段221に出力する。動きベクトル
のスケール変換方法としては、例えば、直流を含む低周
波帯域の画像を縦及び横のサイズが元の画像の縦及び横
のサイズの4分の1に縮小したとき、スケール変換手段
249では、入力される動きベクトル情報s248を4
分の1のサイズに変換して、新しい動きベクトル情報を
出力する。
In the scale conversion means 249, the band division means 21 is applied to the input motion vector information s248.
The motion vector information s2 about the image signal of the low frequency band including direct current is scale-converted into the motion vector corresponding to the image size of each band divided by 2.
49-2 as the first motion vector predictor 240 and the second
Output to the motion vector predicting means 241. Motion vector information s24 for image signals in other high frequency bands
9-1 is output to the third motion vector predicting means 220 and the fourth motion vector predicting means 221. As a motion vector scale conversion method, for example, when the vertical and horizontal sizes of an image in a low frequency band including direct current are reduced to one fourth of the vertical and horizontal sizes of the original image, the scale conversion means 249 , The input motion vector information s248 is 4
It is converted to one-half the size and new motion vector information is output.

【0222】混合手段215では、入力される各帯域の
圧縮符号化された画像信号s234、s214に対し
て、予め決められた順序に従って混合し、混合された画
像信号s215を外部端子から出力する。あるいは、混
合手段を使用しないで、各帯域の圧縮符号化された画像
信号を予め決められたそれぞれのチャンネルに出力する
ことも可能である。
The mixing means 215 mixes the input compression-coded image signals s234 and s214 in a predetermined order and outputs the mixed image signal s215 from an external terminal. Alternatively, it is also possible to output the compression-coded image signal of each band to each predetermined channel without using the mixing means.

【0223】図22の動画像復号化装置において、分割
手段251では、入力される圧縮符号化され混合された
画像信号s251に対して、前述の符号化装置の混合手
段215と逆の方法によって分割する。そして、直流を
含む低周波帯域の画像信号s251−2は低周波帯域信
号を復号する復号手段262に出力され、その他の高周
波帯域の画像信号s251−1は高周波帯域信号を復号
する復号手段252に出力される。
In the moving picture decoding apparatus of FIG. 22, the dividing means 251 divides the input compression-coded and mixed image signal s251 by a method reverse to that of the mixing means 215 of the above-mentioned encoding device. To do. Then, the low frequency band image signal s251-2 including direct current is output to the decoding unit 262 that decodes the low frequency band signal, and the other high frequency band image signal s251-1 is output to the decoding unit 252 that decodes the high frequency band signal. Is output.

【0224】分割手段251の直流を含む低周波帯域の
画像信号s251−2の後に接続されている復号手段2
62、第1の動き補償補間手段263、第3のメモリ2
64、第4のメモリ265、第1の動きベクトル予測手
段266、第2の動きベクトル予測手段267、選択手
段270、第1の画像データ補間手段268、及び第2
の画像データ補間手段269は、本発明の第9の復号化
装置(図20)の対応する手段と同じ動作をするので、
説明を省略する。
Decoding means 2 connected after the image signal s251-2 in the low frequency band including DC of the dividing means 251
62, first motion compensation interpolation means 263, third memory 2
64, a fourth memory 265, a first motion vector predicting means 266, a second motion vector predicting means 267, a selecting means 270, a first image data interpolating means 268, and a second.
Since the image data interpolating means 269 of No. 6 operates in the same way as the corresponding means of the ninth decoding apparatus (FIG. 20) of the present invention,
The description is omitted.

【0225】分割手段251のその他の高周波帯域の画
像信号s251−1の後に接続されている復号手段25
2、第2の動き補償補間手段253、第5のメモリ25
4、第6のメモリ255、第3の動きベクトル予測手段
256、第4の動きベクトル予測手段257、第1の動
きベクトル補間手段258、第2の動きベクトル補間手
段259及び選択手段260は、本発明の第8の復号化
装置(図18)の対応する手段と同じ動作をするので、
説明を省略する。
Decoding means 25 connected after the image signal s251-1 in the other high frequency band of the dividing means 251.
2, second motion compensation interpolation means 253, fifth memory 25
4, the sixth memory 255, the third motion vector predicting means 256, the fourth motion vector predicting means 257, the first motion vector interpolating means 258, the second motion vector interpolating means 259, and the selecting means 260 are Since it operates the same as the corresponding means of the eighth decoding device (FIG. 18) of the invention,
The description is omitted.

【0226】また、帯域合成手段271、第1のメモリ
272、第2のメモリ273、動きベクトル算出手段2
74、スケール変換手段275、及び順序逆変換手段2
80は、第10の符号化装置(図21)の対応する手段
と同じ動作をする。
Further, the band synthesizing means 271, the first memory 272, the second memory 273, the motion vector calculating means 2
74, scale conversion means 275, and reverse order conversion means 2
80 operates in the same way as the corresponding means of the tenth encoding device (FIG. 21).

【0227】以上説明したように、本発明の第10の動
画像符号化復号化装置によれば、帯域分割処理、及びそ
れぞれの帯域に分割された画像に対して、本発明の第8
及び第9の実施の形態を応用できる。したがって、圧縮
符号化効率の一層の向上が期待できる。
As described above, according to the tenth video encoding / decoding apparatus of the present invention, the band division processing and the eighth division of the present invention are performed on the images divided into the respective bands.
Also, the ninth embodiment can be applied. Therefore, further improvement in compression coding efficiency can be expected.

【0228】また、直流を含む低周波帯域の画像信号に
対しては、参照画像信号がスムーズになるように画像デ
ータ補間手段による補間を行ない、高周波帯域の画像信
号に対しては、輪郭等の高周波成分が途切れないように
動きベクトル補間手段による補間を行なうなど、帯域分
割された画像特性に応じた補間を行なっている。したが
って、画像の品質がより一層向上することが期待でき
る。
Further, the image signal in the low frequency band including direct current is interpolated by the image data interpolating means so that the reference image signal becomes smooth, and the image signal in the high frequency band is subjected to contouring or the like. Interpolation is performed according to the band-divided image characteristics, such as interpolation by a motion vector interpolating unit so that high-frequency components are not interrupted. Therefore, it can be expected that the quality of the image is further improved.

【0229】[0229]

【発明の効果】この発明の動画像符号化復号化装置は、
以上に説明したように構成され、過去の2フレームの画
像から動きベクトルを算出できるため、動きベクトルを
転送する必要が無く、符号化効率の向上が期待できる。
また、適切な動きベクトル算出法によって、または/お
よび前フレームの動きベクトルから現フレームの動きベ
クトルを予測することによって、動きベクトルの検出精
度を高めることができるため、画像品質の向上が期待で
きる。さらに、画像の順序を変換し、動きベクトルをス
ケール変換することによって、動きベクトルを転送する
場合でも、その符号量も軽減することができ、符号化効
率の向上が期待できる。
The moving picture coding / decoding apparatus of the present invention comprises:
Since the motion vector is configured as described above and the motion vector can be calculated from the images of the past two frames, there is no need to transfer the motion vector, and improvement in coding efficiency can be expected.
In addition, since the motion vector detection accuracy can be increased by an appropriate motion vector calculation method and / or by predicting the motion vector of the current frame from the motion vector of the previous frame, improvement in image quality can be expected. Furthermore, by converting the order of the images and scale-converting the motion vector, the code amount can be reduced even when the motion vector is transferred, and improvement in coding efficiency can be expected.

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

【図1】 この発明の第1の動画像符号化装置のブロッ
ク図である。
FIG. 1 is a block diagram of a first moving image coding apparatus according to the present invention.

【図2】 この発明の第1の動画像復号化装置のブロッ
ク図である。
FIG. 2 is a block diagram of a first moving picture decoding apparatus according to the present invention.

【図3】 従来の動画像符号化装置のブロック図であ
る。
FIG. 3 is a block diagram of a conventional moving image encoding device.

【図4】 従来の動画像復号化装置のブロック図であ
る。
FIG. 4 is a block diagram of a conventional moving picture decoding apparatus.

【図5】 この発明の第2の動画像符号化装置のブロッ
ク図である。
FIG. 5 is a block diagram of a second moving image coding apparatus according to the present invention.

【図6】 この発明の第2の動画像復号化装置のブロッ
ク図である。
FIG. 6 is a block diagram of a second moving image decoding apparatus according to the present invention.

【図7】 第3の動画像符号化装置のブロック図であ
る。
FIG. 7 is a block diagram of a third moving image encoding apparatus.

【図8】 第3の動画像復号化装置のブロック図であ
る。
FIG. 8 is a block diagram of a third moving image decoding apparatus.

【図9】 第4の動画像符号化装置のブロック図であ
る。
FIG. 9 is a block diagram of a fourth moving image coding apparatus.

【図10】 第4の動画像復号化装置のブロック図であ
る。
FIG. 10 is a block diagram of a fourth moving image decoding apparatus.

【図11】 第5の動画像符号化装置のブロック図であ
る。
FIG. 11 is a block diagram of a fifth moving image encoding device.

【図12】 第5の動画像復号化装置のブロック図であ
る。
FIG. 12 is a block diagram of a fifth moving image decoding apparatus.

【図13】 第6の動画像符号化装置のブロック図であ
る。
FIG. 13 is a block diagram of a sixth moving image encoding apparatus.

【図14】 第6の動画像復号化装置のブロック図であ
る。
FIG. 14 is a block diagram of a sixth moving image decoding apparatus.

【図15】 第7の動画像符号化装置のブロック図であ
る。
FIG. 15 is a block diagram of a seventh moving image encoding device.

【図16】 第7の動画像復号化装置のブロック図であ
る。
FIG. 16 is a block diagram of a seventh moving image decoding apparatus.

【図17】 第8の動画像符号化装置のブロック図であ
る。
FIG. 17 is a block diagram of an eighth moving image encoding device.

【図18】 第8の動画像復号化装置のブロック図であ
る。
FIG. 18 is a block diagram of an eighth moving image decoding apparatus.

【図19】 第9の動画像符号化装置のブロック図であ
る。
FIG. 19 is a block diagram of a ninth moving image encoding device.

【図20】 第9の動画像復号化装置のブロック図であ
る。
FIG. 20 is a block diagram of a ninth moving image decoding apparatus.

【図21】 第10の動画像符号化装置のブロック図で
ある。
FIG. 21 is a block diagram of a tenth video encoding device.

【図22】 第10の動画像復号化装置のブロック図で
ある。
FIG. 22 is a block diagram of a tenth moving image decoding apparatus.

【図23】 直線外挿予測による動きベクトル予測方法
の説明図である。
FIG. 23 is an explanatory diagram of a motion vector prediction method by linear extrapolation prediction.

【図24】 フレームの順序を入れ換える順序変換方法
の説明図である。
FIG. 24 is an explanatory diagram of an order conversion method for changing the order of frames.

【図25】 直線内挿予測による動きベクトル予測方法
の説明図である。
FIG. 25 is an explanatory diagram of a motion vector prediction method by linear interpolation prediction.

【符号の説明】[Explanation of symbols]

11 動きベクトル算出手段(EDT)、12 動き補
償予測手段(PRE)、13 動き補償補間手段(IN
P)、14 第1のメモリ(FRΜ)、15第2のメモ
リ(FRM)、16 圧縮符号化手段(COD)、17
復号手段(DCD)。
11 motion vector calculation means (EDT), 12 motion compensation prediction means (PRE), 13 motion compensation interpolation means (IN
P), 14 first memory (FRM), 15 second memory (FRM), 16 compression coding means (COD), 17
Decoding means (DCD).

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK19 LB18 MA01 MA23 MC11 ME01 NN01 NN28 PP06 PP07 TA03 TA25 TB07 TC12 UA02 UA05 5J064 AA00 AA02 BA04 BA16 BB03 BB04 BC01 BC02 BC25 BD01   ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5C059 KK19 LB18 MA01 MA23 MC11                       ME01 NN01 NN28 PP06 PP07                       TA03 TA25 TB07 TC12 UA02                       UA05                 5J064 AA00 AA02 BA04 BA16 BB03                       BB04 BC01 BC02 BC25 BD01

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 動画像のフレーム間での動きを検出し、
動き補償された参照画像に基づいて画像情報を予測し、
符号化する動画像符号化装置において、 入力画像の連続する複数のフレームからなるフレーム群
ごとに、そのフレーム群の最も後ろに位置するPフレー
ムをそのフレーム群のその他のBフレームの前に挿入す
ることによって、入力画像のフレーム順序を変える順序
変換手段と、 前記順序変換手段からPフレームが出力されたときに
は、前フレーム群のPフレームの動き補償補間された画
像を記憶しており、前記順序変換手段からBフレームが
出力されたときには、そのフレーム群のPフレームの動
き補償補間された画像を記憶している第1の記憶手段
と、 前記第1の記憶手段に記憶されている画像よりも1つ前
のPフレームの動き補償補間された画像を記憶する第2
の記憶手段と、 前記順序変換手段から出力されたフレームがPフレーム
である場合に、このPフレームと前記第1の記憶手段に
格納されているPフレームの間での動きベクトルを算出
する動きベクトル算出手段と、 前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記動きベクトルのスケールを変換して
このBフレームと前記第1および第2の記憶手段に格納
されている両Pフレームの間の動きベクトルを生成する
スケール変換手段と、 前記順序変換手段から出力されたフレームがPフレーム
である場合に、前記算出された動きベクトルを選択し、
前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記スケール変換された動きベクトルを
選択する選択手段と、 前記選択された動きベクトルによる動き補償後の参照画
像を用いて前記順序変換手段から出力されたフレームの
予測誤差を演算する動き補償予測手段と、 前記予測誤差から圧縮符号化された画像信号を生成する
圧縮符号化手段と、 前記圧縮符号化された画像信号から画像情報を復号する
復号手段と、 前記圧縮符号化された画像信号と前記算出された動きベ
クトルとを可変長符号化して混合する混合手段と、 前記選択された動きベクトルによる動き補償後の参照画
像を用いて前記復号された画像情報を補間し、Pフレー
ムの補間画像を前記第1の記憶手段に格納する動き補償
補間手段とを備えたことを特徴とする動画像符号化装
置。
1. A method for detecting motion between frames of a moving image,
Predict image information based on motion-compensated reference image,
In a moving picture coding apparatus for coding, for each frame group consisting of a plurality of consecutive frames of an input image, a P frame located at the rearmost of the frame group is inserted before another B frame of the frame group. Thus, the order conversion means for changing the frame order of the input image, and the P-frame output from the order conversion means stores the motion-compensated and interpolated image of the P frame of the preceding frame group. When the B-frame is output from the means, the first storage means stores the motion-compensated and interpolated image of the P-frame of the frame group, and 1 more than the image stored in the first storage means. Second for storing motion compensated interpolated image of previous P frame
And a motion vector for calculating a motion vector between the P frame stored in the first storage unit and the P frame stored in the first storage unit when the frame output from the order conversion unit is a P frame. When the frame output from the calculation means and the order conversion means is a B frame, the scale of the motion vector is converted and the B frame and both P's stored in the first and second storage means are converted. Scale conversion means for generating a motion vector between frames, and when the frame output from the order conversion means is a P frame, the calculated motion vector is selected,
When the frame output from the order conversion unit is a B frame, the order conversion is performed using a selection unit selecting the scale-converted motion vector, and a reference image after motion compensation by the selected motion vector. Motion compensation prediction means for calculating the prediction error of the frame output from the means, compression coding means for generating a compression coded image signal from the prediction error, and image information from the compression coded image signal Decoding means for decoding, mixing means for variable-length coding and mixing the compression-coded image signal and the calculated motion vector, and using a reference image after motion compensation by the selected motion vector, Motion compensation interpolation means for interpolating the decoded image information and storing an interpolation image of a P frame in the first storage means. Moving picture coding apparatus for.
【請求項2】 入力される圧縮符号化された画像信号か
ら画像情報を復元する動画像復号化装置において、 連続する複数のフレームからなるフレーム群ごとにその
フレーム群の最も後ろに位置するPフレームをそのフレ
ーム群のその他のBフレームの前に挿入することによっ
てフレーム順序を変えられた画像情報と、Pフレーム間
の動きベクトルと含む前記画像信号から前記動きベクト
ルを復号分割する分割手段と、 前記圧縮符号化された画像信号から画像情報を復元する
復号手段と、 前記復元された画像情報がPフレームのものであるとき
には、前フレーム群のPフレームの動き補償補間された
画像を記憶しており、前記復元された画像情報がBフレ
ームのものであるときには、そのフレーム群のPフレー
ムの動き補償補間された画像を記憶している第1の記憶
手段と、 前記第1の記憶手段に記憶されている画像よりも1つ前
のPフレームの動き補償補間された画像を記憶する第2
の記憶手段と、 前記復元された画像情報がBフレームのものである場合
に、前記動きベクトルのスケールを変換してこのBフレ
ームと前記第1および第2の記憶手段に格納されている
両Pフレームの間の動きベクトルを生成するスケール変
換手段と、 前記復元された画像情報がPフレームのものである場合
に、前記復号分割された動きベクトルを選択し、前記復
元された画像情報がBフレームのものである場合に、前
記スケール変換された動きベクトルを選択する選択手段
と、 前記選択された動きベクトルによる動き補償後の参照画
像を用いて前記復元された画像情報を補間し、Pフレー
ムの補間画像を前記第1の記憶手段に格納する動き補償
補間手段と、 前記補間された画像情報のフレーム順序を戻す順序逆変
換手段とを備えたことを特徴とする動画像復号化装置。
2. A moving image decoding apparatus for restoring image information from an input compression-coded image signal, wherein for each frame group consisting of a plurality of consecutive frames, the P frame located at the rearmost position of the frame group. , Before the other B-frames of the frame group, and the dividing means for decoding and dividing the motion vector from the image signal including the image information whose frame order has been changed and the motion vector between the P-frames, Decoding means for restoring image information from the compression-encoded image signal, and when the restored image information is of a P frame, stores a motion compensated interpolated image of a P frame of the previous frame group. , When the restored image information is of a B frame, the motion compensated interpolated image of the P frame of the frame group is recorded. A first storage unit that is remembered; and a second storage unit that stores a motion-compensated and interpolated image of a P frame preceding the image stored in the first storage unit.
Storage means for converting the scale of the motion vector when the restored image information is for a B frame and both P frames stored in the first and second storage means. Scale conversion means for generating a motion vector between frames, and when the restored image information is for a P frame, the decoded and divided motion vector is selected, and the restored image information is for a B frame. In the case of the P frame, the selecting means for selecting the scale-converted motion vector and the reference image after motion compensation by the selected motion vector are used to interpolate the restored image information, It is provided with a motion compensation interpolating means for storing the interpolated image in the first storage means, and an order inverse transforming means for returning the frame order of the interpolated image information. Video decoding device as a feature.
【請求項3】 前記第1項の符号化装置と前記第2項の
復号化装置とを含む動画像符号化復号化装置。
3. A moving picture coding / decoding apparatus including the coding apparatus according to the first aspect and the decoding apparatus according to the second term.
【請求項4】 前記スケール変換手段に代えて、 前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記算出された動きベクトルを用いてこ
のBフレームの動きベクトルを内挿予測する動きベクト
ル予測手段と、 前記動きベクトル予測手段によって動きベクトルが予測
された周辺画素位置の動きベクトルを用いて動きベクト
ルが予測されない画素位置の動きベクトルを補間する動
きベクトル補間手段とを備え、 前記選択手段は、前記順序変換手段から出力されたフレ
ームがPフレームである場合に、前記算出された動きベ
クトルを選択し、前記順序変換手段から出力されたフレ
ームがBフレームである場合に、前記内挿予測された動
きベクトルおよび前記補間された動きベクトルを選択す
ることを特徴とする請求項1に記載の動画像符号化装
置。
4. In place of the scale conversion means, when the frame output from the order conversion means is a B frame, the motion vector of the B frame is interpolated and predicted by using the calculated motion vector. A motion vector predicting unit; and a motion vector interpolating unit that interpolates a motion vector at a pixel position where the motion vector is not predicted using a motion vector at a peripheral pixel position where the motion vector is predicted by the motion vector predicting unit, The means selects the calculated motion vector when the frame output from the order conversion means is a P frame, and the interpolation is performed when the frame output from the order conversion means is a B frame. The method according to claim 1, wherein the predicted motion vector and the interpolated motion vector are selected. On-board video coding device.
【請求項5】 前記スケール変換手段に代えて、 前記復元された画像情報がBフレームのものである場合
に、前記復号分割された動きベクトルを用いてこのBフ
レームの動きベクトルを内挿予測する動きベクトル予測
手段と、 前記動きベクトル予測手段によって動きベクトルが予測
された周辺画素位置の動きベクトルを用いて動きベクト
ルが予測されない画素位置の動きベクトルを補間する動
きベクトル補間手段とを備え、 前記選択手段は、前記復元された画像情報がPフレーム
のものである場合に、前記復号分割された動きベクトル
を選択し、前記復元された画像情報がBフレームのもの
である場合に、前記内挿予測された動きベクトルおよび
前記補間された動きベクトルを選択することを特徴とす
る請求項2に記載の動画像復号化装置。
5. In place of the scale conversion means, when the restored image information is of a B frame, the motion vector of the B frame is interpolated and predicted by using the decoded and divided motion vector. A motion vector predicting unit; and a motion vector interpolating unit that interpolates a motion vector at a pixel position where the motion vector is not predicted using a motion vector at a peripheral pixel position where the motion vector is predicted by the motion vector predicting unit, The means selects the decoding-divided motion vector when the restored image information is for a P frame, and the interpolation prediction when the restored image information is for a B frame The moving picture decoding apparatus according to claim 2, wherein the selected motion vector and the interpolated motion vector are selected.
【請求項6】 前記第4項の符号化装置と前記第5項の
復号化装置とを含む動画像符号化復号化装置。
6. A moving picture coding / decoding apparatus including the coding apparatus according to claim 4 and the decoding apparatus according to claim 5.
【請求項7】 前記スケール変換手段に代えて、 前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記算出された動きベクトルを用いてこ
のBフレームの動きベクトルを内挿予測する動きベクト
ル予測手段を備え、 前記選択手段は、前記順序変換手段から出力されたフレ
ームがPフレームである場合に、前記算出された動きベ
クトルを選択し、前記順序変換手段から出力されたフレ
ームがBフレームである場合に、前記内挿予測された動
きベクトルを選択し、 さらに、 前記動きベクトル予測手段によって第1の記憶手段に格
納されている画像の動きベクトルが予測された周辺画素
を用いて動きベクトルが予測されない画素を補間し、動
き補償参照画像を生成する第1の画像データ補間手段
と、 前記動きベクトル予測手段によって第2の記憶手段に格
納されている画像の動きベクトルが予測された周辺画素
を用いて動きベクトルが予測されない画素を補間し、動
き補償参照画像を生成する第2の画像データ補間手段と
を備えたことを特徴とする請求項1に記載の動画像符号
化装置。
7. When the frame output from the order conversion unit is a B frame instead of the scale conversion unit, the motion vector of the B frame is interpolated and predicted using the calculated motion vector. Motion vector predicting means, wherein the selecting means selects the calculated motion vector when the frame output from the order conversion means is a P frame, and the frame output from the order conversion means is B In the case of a frame, the interpolation predicted motion vector is selected, and the motion vector predicting means performs motion using peripheral pixels for which the motion vector of the image stored in the first storage means is predicted. First image data interpolating means for interpolating a pixel whose vector is not predicted to generate a motion-compensated reference image; And a second image data interpolating means for generating a motion-compensated reference image by interpolating pixels whose motion vector is not predicted by using peripheral pixels whose motion vector of the image is predicted stored by the second storage means. The moving picture coding apparatus according to claim 1, further comprising:
【請求項8】 前記スケール変換手段に代えて、 前記復元された画像情報がBフレームのものである場合
に、前記復号分割された動きベクトルを用いてこのBフ
レームの動きベクトルを内挿予測する動きベクトル予測
手段を備え、 前記選択手段は、前記復元された画像情報がPフレーム
のものである場合に、前記復号分割された動きベクトル
を選択し、前記復元された画像情報がBフレームのもの
である場合に、前記内挿予測された動きベクトルを選択
し、 さらに、 前記動きベクトル予測手段によって第1の記憶手段に格
納されている画像の動きベクトルが予測された周辺画素
を用いて動きベクトルが予測されない画素を補間し、動
き補償参照画像を生成する第1の画像データ補間手段
と、 前記動きベクトル予測手段によって第2の記憶手段に格
納されている画像の動きベクトルが予測された周辺画素
を用いて動きベクトルが予測されない画素を補間し、動
き補償参照画像を生成する第2の画像データ補間手段と
を備えたことを特徴とする請求項2に記載の動画像復号
化装置。
8. In place of the scale conversion means, when the restored image information is of a B frame, the motion vector of the B frame is interpolated and predicted by using the decoded and divided motion vector. Motion vector predicting means, wherein when the restored image information is for a P frame, the selecting means selects the decoded and split motion vector, and the restored image information is for a B frame , The interpolation predicted motion vector is selected, and the motion vector is predicted using the peripheral pixels for which the motion vector of the image stored in the first storage unit is predicted by the motion vector prediction unit. A first image data interpolating means for interpolating a pixel whose prediction is not predicted to generate a motion-compensated reference image, and a second memory by the motion vector predicting means. Second image data interpolating means for interpolating a pixel whose motion vector is not predicted using peripheral pixels whose motion vector is predicted in the image stored in, and generating a motion compensation reference image. The moving picture decoding apparatus according to claim 2.
【請求項9】 前記第7項の符号化装置と前記第8項の
復号化装置とを含む動画像符号化復号化装置。
9. A moving picture coding / decoding apparatus including the coding apparatus according to the seventh aspect and the decoding apparatus according to the eighth aspect.
【請求項10】 動画像のフレーム間での動きを検出
し、動き補償された参照画像に基づいて画像情報を予測
し、符号化する動画像符号化装置において、 入力画像の連続する複数のフレームからなるフレーム群
ごとに、そのフレーム群の最も後ろに位置するPフレー
ムをそのフレーム群のその他のBフレームの前に挿入す
ることによって、入力画像のフレーム順序を変える順序
変換手段と、 前記順序変換手段からPフレームが出力されたときに
は、前フレーム群のPフレームの動き補償補間された画
像を記憶しており、前記順序変換手段からBフレームが
出力されたときには、そのフレーム群のPフレームの動
き補償補間された画像を記憶している第1の記憶手段
と、 前記第1の記憶手段に記憶されている画像よりも1つ前
のPフレームの動き補償補間された画像を記憶する第2
の記憶手段と、 前記記憶手段に格納された2フレームの間での動きべク
トルを算出する動きベクトル算出手段と、 前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記動きベクトルのスケールを変換して
このBフレームと前記記憶手段に格納されている両Pフ
レームの間の動きベクトルを生成するスケール変換手段
と、 前記順序変換手段から出力されたフレームがPフレーム
である場合に、前記算出された動きベクトルを選択し、
前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記スケール変換された動きベクトルを
選択する選択手段と、 前記選択された動きベクトルによる動き補償後の参照画
像を用いて前記順序変換手段から出力されたフレームの
予測誤差を演算する動き補償予測手段と、 前記予測誤差から圧縮符号化された画像信号を生成する
圧縮符号化手段と、 前記圧縮符号化された画像信号から画像情報を復号する
復号手段と、 前記選択された動きベクトルによる動き補償後の参照画
像を用いて前記復号された画像情報を補間し、Pフレー
ムの補間画像を前記第1の記憶手段に格納する動き補償
補間手段とを備えたことを特徴とする動画像符号化装
置。
10. A moving picture coding apparatus for detecting a motion between frames of a moving picture and predicting and coding image information based on a motion-compensated reference picture, wherein a plurality of consecutive frames of an input picture are provided. For each frame group consisting of, the P frame located at the rearmost of the frame group is inserted before the other B frames of the frame group to change the frame order of the input image; When the P frame is output from the means, the motion-compensated image of the P frame of the preceding frame group is stored, and when the B frame is output from the order conversion means, the motion of the P frame of the frame group is stored. A first storage unit that stores the compensated and interpolated image; and a P-frame motion that is immediately before the image stored in the first storage unit. Second, storing the compensated and interpolated image
Storage unit, a motion vector calculation unit for calculating a motion vector between two frames stored in the storage unit, and the motion vector when the frame output from the order conversion unit is a B frame. Scale conversion means for converting the scale of B to generate a motion vector between the B frame and both P frames stored in the storage means, and when the frame output from the order conversion means is a P frame. , Select the calculated motion vector,
When the frame output from the order conversion unit is a B frame, the order conversion is performed using a selection unit selecting the scale-converted motion vector, and a reference image after motion compensation by the selected motion vector. Motion compensation prediction means for calculating the prediction error of the frame output from the means, compression coding means for generating a compression coded image signal from the prediction error, and image information from the compression coded image signal Decoding means for decoding and interpolation of the decoded image information using the reference image after motion compensation by the selected motion vector, and motion compensation interpolation for storing the interpolated image of P frame in the first storage means. And a moving picture coding apparatus.
【請求項11】 入力される圧縮符号化された画像信号
から画像情報を復元する動画像復号化装置において、 連続する複数のフレームからなるフレーム群ごとにその
フレーム群の最も後ろに位置するPフレームをそのフレ
ーム群のその他のBフレームの前に挿入することによっ
てフレーム順序を変えられた画像情報を、前記圧縮符号
化された画像信号から復元する復号手段と、 前記復元された画像情報がPフレームのものであるとき
には、前フレーム群のPフレームの動き補償補間された
画像を記憶しており、前記復元された画像情報がBフレ
ームのものであるときには、そのフレーム群のPフレー
ムの動き補償補間された画像を記憶している第1の記憶
手段と、 前記第1の記憶手段に記憶されている画像よりも1つ前
のPフレームの動き補償補間された画像を記憶する第2
の記憶手段と、 前記記憶手段に格納された2フレームの間での動きべク
トルを算出する動きベクトル算出手段と、 前記復元された画像情報がBフレームのものである場合
に、前記動きベクトルのスケールを変換してこのBフレ
ームと前記第1および第2の記憶手段に格納されている
両Pフレームの間の動きベクトルを生成するスケール変
換手段と、 前記復元された画像情報がPフレームのものである場合
に、前記算出された動きベクトルを選択し、前記復元さ
れた画像情報がBフレームのものである場合に、前記ス
ケール変換された動きベクトルを選択する選択手段と、 前記選択された動きベクトルによる動き補償後の参照画
像を用いて前記復号された画像情報を補間し、Pフレー
ムの補間画像を前記第1の記憶手段に格納する動き補償
補間手段と、 前記補間された画像情報のフレーム順序を戻す順序逆変
換手段とを備えたことを特徴とする動画像復号化装置。
11. A moving picture decoding apparatus for recovering image information from an input compression-coded image signal, and for each frame group consisting of a plurality of consecutive frames, a P frame located at the rearmost position of the frame group. Is inserted before the other B frames of the frame group, the decoding means restores the image information whose frame order is changed from the compression-coded image signal, and the restored image information is P frames. If the restored image information is for a B frame, the motion compensated interpolation for the P frame of the previous frame group is stored. If the restored image information is for a B frame, the motion compensated interpolation for the P frame of the frame group is stored. A first storage means for storing the captured image, and motion compensation for the P frame immediately preceding the image stored in the first storage means. Second storing the compensated image
Storage means, a motion vector calculation means for calculating a motion vector between the two frames stored in the storage means, and when the restored image information is for a B frame, Scale conversion means for converting a scale to generate a motion vector between the B frame and both P frames stored in the first and second storage means; and the restored image information having P frames The selected motion vector is selected, the selecting unit selects the scale-converted motion vector when the restored image information is for a B frame, and the selected motion. The motion-compensated image interpolation device interpolates the decoded image information using a reference image after motion compensation by a vector and stores an interpolated image of P frame in the first storage means. An interlacing means and an order inverse transforming means for returning the frame order of the interpolated image information, the moving picture decoding apparatus.
【請求項12】 前記第10項の符号化装置と前記第1
1項の復号化装置とを含む動画像符号化復号化装置。
12. The encoding device according to claim 10 and the first device.
A moving picture coding / decoding apparatus including the decoding apparatus according to item 1.
【請求項13】 前記スケール変換手段に代えて、 前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記算出された動きベクトルを用いてこ
のBフレームの動きベクトルを内挿予測する第1の動き
ベクトル予測手段と、 前記第1の動きベクトル予測手段によって動きベクトル
が予測された周辺画素位置の動きベクトルを用いて動き
ベクトルが予測されない画素位置の動きベクトルを補間
する第1の動きベクトル補間手段と、 前記順序変換手段から出力されたフレームがPフレーム
である場合に、前記算出された動きベクトルを用いてこ
のPフレームの動きベクトルを外挿予測する第2の動き
ベクトル予測手段と、 前記第2の動きベクトル予測手段によって動きベクトル
が予測された周辺画素位置の動きベクトルを用いて動き
ベクトルが予測されない画素位置の動きベクトルを補間
する第2の動きベクトル補間手段とを備え、 前記選択手段は、前記順序変換手段から出力されたフレ
ームがBフレームである場合に、前記内挿予測された動
きベクトルおよび前記第1の動きベクトル補間手段によ
って補間された動きベクトルを選択し、前記順序変換手
段から出力されたフレームがPフレームである場合に、
前記外挿予測された動きベクトルおよび前記第2の動き
ベクトル補間手段によって補間された動きベクトルを選
択することを特徴とする請求項10に記載の動画像符号
化装置。
13. A motion vector of the B frame is interpolated and predicted using the calculated motion vector when the frame output from the order conversion unit is a B frame instead of the scale conversion unit. A first motion vector predicting means, and a first motion for interpolating a motion vector at a pixel position where the motion vector is not predicted using the motion vector at the peripheral pixel position where the motion vector is predicted by the first motion vector predicting means. Vector interpolation means, and second motion vector prediction means for extrapolating and predicting the motion vector of the P frame using the calculated motion vector when the frame output from the order conversion means is a P frame , Using the motion vector at the peripheral pixel position where the motion vector is predicted by the second motion vector prediction means A second motion vector interpolating means for interpolating a motion vector at a pixel position for which a motion vector is not predicted; and the selecting means, when the frame output from the order conversion means is a B frame, the interpolation prediction The selected motion vector and the motion vector interpolated by the first motion vector interpolation means, and the frame output from the order conversion means is a P frame,
11. The moving picture coding apparatus according to claim 10, wherein the extrapolated motion vector and the motion vector interpolated by the second motion vector interpolating means are selected.
【請求項14】 前記スケール変換手段に代えて、 前記復元された画像情報がBフレームのものである場合
に、前記算出された動きベクトルを用いてこのBフレー
ムの動きベクトルを内挿予測する第1の動きベクトル予
測手段と、 前記第1の動きベクトル予測手段によって動きベクトル
が予測された周辺画素位置の動きベクトルを用いて動き
ベクトルが予測されない画素位置の動きベクトルを補間
する第1の動きベクトル補間手段と、 前記復元された画像情報がPフレームのものである場合
に、前記算出された動きベクトルを用いてこのPフレー
ムの動きベクトルを外挿予測する第2の動きベクトル予
測手段と、 前記第2の動きベクトル予測手段によって動きベクトル
が予測された周辺画素位置の動きベクトルを用いて動き
ベクトルが予測されない画素位置の動きベクトルを補間
する第2の動きベクトル補間手段とを備え、 前記選択手段は、前記復元された画像情報がBフレーム
のものである場合に、前記内挿予測された動きベクトル
およびおよび前記第1の動きベクトル補間手段によって
補間された動きベクトルを選択し、前記復元された画像
情報がPフレームのものである場合に、前記外挿予測さ
れた動きベクトルおよび前記第2の動きベクトル補間手
段によって補間された動きベクトルを選択することを特
徴とする請求項11に記載の動画像復号化装置。
14. In place of the scale conversion means, when the restored image information is of a B frame, the motion vector of the B frame is interpolated and predicted using the calculated motion vector. One motion vector predicting means, and a first motion vector for interpolating a motion vector at a pixel position where the motion vector is not predicted using the motion vector at the peripheral pixel position where the motion vector is predicted by the first motion vector predicting means. Interpolating means, second motion vector predicting means for extrapolating and predicting a motion vector of the P frame using the calculated motion vector when the restored image information is of a P frame, The motion vector is predicted using the motion vectors at the peripheral pixel positions where the motion vector was predicted by the second motion vector prediction means. Second motion vector interpolating means for interpolating a motion vector of a pixel position that is not present, the selecting means, when the restored image information is for a B frame, the interpolation predicted motion vector. And and and when the motion vector interpolated by the first motion vector interpolating means is selected and the restored image information is of a P frame, the extrapolated predicted motion vector and the second motion The moving picture decoding apparatus according to claim 11, wherein the motion vector interpolated by the vector interpolating means is selected.
【請求項15】 前記第13項の符号化装置と前記第1
4項の復号化装置とを含む動画像符号化復号化装置。
15. The encoding device according to claim 13 and the first device.
A moving picture coding / decoding apparatus including the decoding apparatus according to item 4.
【請求項16】 前記スケール変換手段に代えて、 前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記算出された動きベクトルを用いてこ
のBフレームの動きベクトルを内挿予測する第1の動き
ベクトル予測手段と、 前記順序変換手段から出力されたフレームがPフレーム
である場合に、前記算出された動きベクトルを用いてこ
のPフレームの動きベクトルを外挿予測する第2の動き
ベクトル予測手段とを備え、 前記選択手段は、前記順序変換手段から出力されたフレ
ームがBフレームである場合に、前記内挿予測された動
きベクトルを選択し、前記順序変換手段から出力された
フレームがPフレームである場合に、前記外挿予測され
た動きベクトルを選択し、 さらに、 前記第1または第2の動きベクトル予測手段によって前
記第1の記憶手段に格納されている画像の動きベクトル
が予測された周辺画素を用いて動きベクトルが予測され
ない画素を補間し、動き補償参照画像を生成する第1の
画像データ補間手段と、 前記第1の動きベクトル予測手段によって前記第2の記
憶手段に格納されている画像の動きベクトルが予測され
た周辺画素を用いて動きベクトルが予測されない画素を
補間し、動き補償参照画像を生成する第2の画像データ
補間手段とを備えたことを特徴とする請求項10に記載
の動画像符号化装置。
16. In place of the scale conversion means, when the frame output from the order conversion means is a B frame, the motion vector of the B frame is interpolated and predicted using the calculated motion vector. When the frame output from the first motion vector prediction unit and the order conversion unit is a P frame, a second motion that extrapolates and predicts the motion vector of the P frame using the calculated motion vector. A vector predicting unit, and the selecting unit selects the interpolation predicted motion vector when the frame output from the order conversion unit is a B frame, and outputs the frame output from the order conversion unit. Is a P frame, the extrapolated motion vector is selected, and the first or second motion vector prediction means is further selected. Therefore, the first image data interpolating means for interpolating the pixels for which the motion vector is not predicted by using the peripheral pixels for which the motion vector of the image stored in the first storage means is interpolated, and generating the motion compensation reference image, , A pixel for which a motion vector is not predicted is interpolated using peripheral pixels for which the motion vector of the image stored in the second storage unit is predicted by the first motion vector prediction unit, and a motion compensation reference image is generated. The moving image encoding apparatus according to claim 10, further comprising a second image data interpolating unit that performs the operation.
【請求項17】 前記スケール変換手段に代えて、 前記順序変換手段から出力されたフレームがBフレーム
である場合に、前記算出された動きベクトルを用いてこ
のBフレームの動きベクトルを内挿予測する第1の動き
ベクトル予測手段と、 前記順序変換手段から出力されたフレームがPフレーム
である場合に、前記算出された動きベクトルを用いてこ
のPフレームの動きベクトルを外挿予測する第2の動き
ベクトル予測手段とを備え、 前記選択手段は、前記順序変換手段から出力されたフレ
ームがBフレームである場合に、前記内挿予測された動
きベクトルを選択し、前記順序変換手段から出力された
フレームがPフレームである場合に、前記外挿予測され
た動きベクトルを選択し、 さらに、 前記第1または第2の動きベクトル予測手段によって前
記第1の記憶手段に格納されている画像の動きベクトル
が予測された周辺画素を用いて動きベクトルが予測され
ない画素を補間し、動き補償参照画像を生成する第1の
画像データ補間手段と、 前記第1の動きベクトル予測手段によって前記第2の記
憶手段に格納されている画像の動きベクトルが予測され
た周辺画素を用いて動きベクトルが予測されない画素を
補間し、動き補償参照画像を生成する第2の画像データ
補間手段とを備えたことを特徴とする請求項11に記載
の動画像復号化装置。
17. In place of the scale conversion means, when the frame output from the order conversion means is a B frame, the motion vector of the B frame is interpolated and predicted using the calculated motion vector. When the frame output from the first motion vector prediction unit and the order conversion unit is a P frame, a second motion that extrapolates and predicts the motion vector of the P frame using the calculated motion vector. A vector predicting unit, and the selecting unit selects the interpolation predicted motion vector when the frame output from the order conversion unit is a B frame, and outputs the frame output from the order conversion unit. Is a P frame, the extrapolated motion vector is selected, and the first or second motion vector prediction means is further selected. Therefore, the first image data interpolating means for interpolating the pixels for which the motion vector is not predicted by using the peripheral pixels for which the motion vector of the image stored in the first storage means is interpolated, and generating the motion compensation reference image, , A pixel for which a motion vector is not predicted is interpolated using peripheral pixels for which the motion vector of the image stored in the second storage unit is predicted by the first motion vector prediction unit, and a motion compensation reference image is generated. The moving image decoding apparatus according to claim 11, further comprising a second image data interpolating unit that performs the above.
【請求項18】 前記第16項の符号化装置と前記第1
7項の復号化装置とを含む動画像符号化復号化装置。
18. The encoding device according to claim 16 and the first device.
A moving picture coding / decoding apparatus including the decoding apparatus according to item 7.
【請求項19】 動画像のフレーム間での動きを検出
し、動き補償された参照画像に基づいて画像情報を予測
し、符号化する動画像符号化装置において、 入力画像の連続する複数のフレームからなるフレーム群
ごとに、そのフレーム群の最も後ろに位置するPフレー
ムをそのフレーム群のその他のBフレームの前に挿入す
ることによって、入力画像のフレーム順序を変える順序
変換手段と、 前記順序変換手段から出力された画像を、直流を含む低
周波帯域の画像信号とその他の高周波帯域の画像信号と
に帯域分割する帯域分割手段と、 帯域分割されて個別に動き補償補間された2つの画像を
合成する帯域合成手段と、 連続する2つのPフレームの帯域合成された画像を記憶
する合成画像記憶手段と、 前記合成画像記憶手段に格納されている2つのPフレー
ムの画像間の動きベクトルを算出する動きベクトル算出
手段と、 前記低周波帯域の画像信号の画像サイズに従って前記算
出された動きベクトルのスケールを変換するとともに前
記高周波帯域の画像信号の画像サイズに従って前記算出
された動きベクトルのスケールを変換し、前記低周波帯
域の画像信号の画像サイズに応じてスケール変換した低
域画像動きベクトルおよび前記高周波帯域の画像信号の
画像サイズに応じてスケール変換した高域画像動きベク
トルを出力するスケール変換手段と、 前記帯域分割手段から出力された低周波帯域の画像信号
の予測誤差を低域動き補償参照画像を用いて演算し、低
域画像予測誤差信号として出力する低域用動き補償予測
手段と、 前記帯域分割手段から出力された高周波帯域の画像信号
の予測誤差を、内挿予測または外挿予測されて補間され
た動きベクトルによる高域動き補償参照画像を用いて演
算し、高域画像予測誤差信号として出力する高域用動き
補償予測手段と、 前記低域画像予測誤差信号を圧縮符号化する低域用圧縮
符号化手段と、 前記高域画像予測誤差信号を圧縮符号化する高域用圧縮
符号化手段と、 前記低域用圧縮符号化手段によって圧縮符号化された信
号を復号する低域用復号手段と、 前記高域用圧縮符号化手段によって圧縮符号化された信
号を復号する高域用復号手段と、 前記低域用復号手段によって復号された信号を前記低域
動き補償参照画像を用いて補間する低域用動き補償補間
手段と、 前記高域用復号手段によって復号された信号を前記高域
動き補償参照画像を用いて補間する高域用動き補償補間
手段と、 前記低域用動き補償補間手段から出力される2フレーム
分のPフレームの補間画像が記憶されており、これら2
フレーム分の画像の内のあとから記憶されたフレームの
画像を前記帯域合成手段に出力する低域用記憶手段と、 前記高域用動き補償補間手段から出力される2フレーム
分のPフレームの補間画像が記憶されており、これら2
フレーム分の画像の内のあとから記憶されたフレームの
画像を前記帯域合成手段に出力する高域用記憶手段と、 前記帯域分割手段から出力された低周波帯域の画像信号
がBフレームのものである場合に、前記スケール変換さ
れた低域画像動きベクトルを用いてこの画像信号の動き
ベクトルを内挿予測する低域内挿用動きベクトル予測手
段と、 前記帯域分割手段から出力された低周波帯域の画像信号
がPフレームのものである場合に、前記スケール変換さ
れた低域画像動きベクトルを用いてこの画像信号の動き
ベクトルを外挿予測する低域外挿用動きベクトル予測手
段と、 前記帯域分割手段から出力された低周波帯域の画像信号
がBフレームのものである場合に、前記内挿予測された
動きベクトルを選択し、前記帯域分割から出力された低
周波帯域の画像信号がPフレームのものである場合に、
前記外挿予測された動きベクトルを選択する低域用選択
手段と、 前記低域内挿用動きベクトル予測手段または前記低域外
挿用動きベクトル予測手段によって動きベクトルが予測
されない画素を前記低域用記憶手段に格納されている2
フレーム分の画像の内のあとから格納されたフレームの
画像の動きベクトルが予測された周辺画素を用いて補間
し、前記低域動き補償参照画像を生成して前記低域用動
き補償予測手段および前記低域用動き補償補間手段に出
力する第1の低域用画像データ補間手段と、 前記低域内挿用動きベクトル予測手段によって動きベク
トルが予測されない画素を前記低域用記憶手段に格納さ
れている2フレーム分の画像の内の先に格納されたフレ
ームの画像の動きベクトルが予測された周辺画素を用い
て補間し、前記低域動き補償参照画像を生成して前記低
域用動き補償予測手段および前記低域用動き補償補間手
段に出力する第2の低域用画像データ補間手段と、 前記帯域分割手段から出力された高周波帯域の画像信号
がBフレームのものである場合に、前記スケール変換さ
れた高域画像動きベクトルを用いてこの画像信号の動き
ベクトルを内挿予測する高域内挿用動きベクトル予測手
段と、 前記高域内挿用動きベクトル予測手段によって動きベク
トルが予測されない画素位置の動きベクトルを動きベク
トルが予測された周辺画素位置の動きベクトルを用いて
補間する高域内挿用動きベクトル補間手段と、 前記帯域分割手段から出力された高周波帯域の画像信号
がBフレームのものである場合に、前記スケール変換さ
れた高域画像動きベクトルを用いてこの画像信号の動き
ベクトルを外挿予測する高域外挿用動きベクトル予測手
段と、 前記高域外挿用動きベクトル予測手段によって動きベク
トルが予測されない画素位置の動きベクトルを動きベク
トルが予測された周辺画素位置の動きベクトルを用いて
補間する高域外挿用動きベクトル補間手段と、 前記帯域分割手段から出力された高周波帯域の画像信号
がBフレームのものである場合に、前記内挿予測されて
補間された動きベクトルを選択し、前記帯域分割手段か
ら出力された高周波帯域の画像信号がPフレームのもの
である場合に、外挿予測されて補間された動きベクトル
を選択し、選択した動きベクトルを前記高域用動き補償
予測手段および前記高域用動き補償補間手段に出力する
高域用選択手段と、 前記低域用圧縮符号化手段、前記高域用圧縮符号化手段
によって圧縮符号化された各帯域の信号を混合する混合
手段とを備えたことを特徴とする動画像符号化装置。
19. A moving picture coding apparatus for detecting a motion between frames of a moving picture, predicting and coding picture information based on a motion-compensated reference picture, in a plurality of consecutive frames of an input picture. For each frame group consisting of, the P frame located at the rearmost of the frame group is inserted before the other B frames of the frame group to change the frame order of the input image; A band division means for dividing the image output from the means into an image signal in a low frequency band including direct current and an image signal in another high frequency band, and two images which are band-divided and individually motion-compensated and interpolated. A band synthesizing unit for synthesizing, a synthetic image storing unit for storing a band-synthesized image of two consecutive P frames, and a synthetic image storing unit for storing the synthesized image. A motion vector calculating means for calculating a motion vector between images of one P frame; and a scale of the calculated motion vector according to the image size of the image signal in the low frequency band, and an image size of the image signal in the high frequency band. The scale of the calculated motion vector is converted according to, and the scale conversion is performed according to the image size of the low-frequency image motion vector and the high-frequency band image signal scale-converted according to the image size of the low-frequency band image signal. Scale conversion means for outputting a high-frequency image motion vector, and a prediction error of the low-frequency band image signal output from the band division means is calculated using a low-frequency motion compensation reference image, as a low-frequency image prediction error signal Low-frequency motion compensation predicting means for outputting, and high-frequency band image signal output from the band dividing means A high-frequency motion-compensated prediction unit that calculates a prediction error using a high-frequency motion-compensated reference image based on an interpolated prediction or an extrapolated-predicted and interpolated motion vector, and outputs a high-frequency image prediction error signal, By the low band compression coding means for compressing and coding the low band image prediction error signal, the high band compression coding means for compressing and coding the high band image prediction error signal, and the low band compression coding means. A low-band decoding unit that decodes a compression-encoded signal, a high-band decoding unit that decodes a signal that has been compression-encoded by the high-band compression encoding unit, and a low-band decoding unit that decodes the low-band decoding unit. Motion compensation interpolating means for interpolating the signal using the low frequency motion compensation reference image, and high frequency for interpolating the signal decoded by the high frequency decoding means using the high frequency motion compensation reference image For motion compensation interpolation hand And two frames of P-frame interpolated images output from the low-frequency motion compensation interpolating means are stored.
Low-frequency storage means for outputting to the band synthesis means an image of a frame stored later in the image for frames, and interpolation of P frames for two frames output from the high-frequency motion compensation interpolation means. Images are stored and these 2
The high frequency storage means for outputting the image of the frame stored after the image for the frame to the band synthesizing means, and the image signal of the low frequency band output from the band dividing means are of the B frame. In some cases, a low-frequency interpolation motion vector predicting unit that interpolates and predicts a motion vector of this image signal using the scale-converted low-frequency image motion vector, and a low-frequency band output from the band dividing unit. When the image signal is of a P frame, a low-frequency extrapolation motion vector predicting unit that extrapolates and predicts a motion vector of the image signal by using the scale-converted low-frequency image motion vector, and the band dividing unit. When the image signal in the low frequency band output from the B-frame is of the B frame, the motion vector predicted for interpolation is selected, and the low frequency output from the band division is selected. When the image signal of the band is of P-frame,
Low-frequency selection means for selecting the extrapolated motion vector, and pixels for which a motion vector is not predicted by the low-frequency interpolation motion vector prediction means or the low-frequency extrapolation motion vector prediction means are stored in the low-frequency memory. Stored in means 2
The low-frequency motion-compensated prediction means and the low-frequency motion-compensated prediction means are generated by interpolating the motion vector of the image of the frame stored later in the frame image by using the predicted peripheral pixels, A first low-frequency image data interpolating means for outputting to the low-frequency motion compensation interpolating means, and a pixel whose motion vector is not predicted by the low-frequency interpolation motion vector predicting means are stored in the low-frequency storing means. The motion vector of the image of the previously stored frame of the two frames of images is interpolated using the predicted peripheral pixels to generate the low-frequency motion-compensated reference image to generate the low-frequency motion-compensated prediction. Means and the second low-frequency image data interpolating means to be output to the low-frequency motion compensation interpolating means, and the high-frequency band image signal output from the band dividing means is of the B frame. , A high-frequency interpolation motion vector prediction unit that interpolates and predicts a motion vector of this image signal using the scale-converted high-frequency image motion vector, and a motion vector is not predicted by the high-frequency interpolation motion vector prediction unit A high-frequency interpolation motion vector interpolating unit that interpolates a motion vector at a pixel position using a motion vector at a peripheral pixel position where the motion vector is predicted, and a high-frequency band image signal output from the band dividing unit is a B frame image. If it is a high-frequency extrapolation motion vector prediction means for extrapolating the motion vector of this image signal using the scale-converted high-frequency image motion vector, by the high-frequency extrapolation motion vector prediction means The motion vector of the pixel position where the motion vector is not predicted is set to the motion vector of the peripheral pixel position where the motion vector is predicted. A high-frequency extrapolation motion vector interpolating means for interpolating using a video signal, and a motion vector interpolated and interpolated when the high-frequency band image signal output from the band dividing means is of a B frame. When the image signal in the high frequency band output from the band dividing means is of the P frame, the motion vector interpolated and interpolated is selected, and the selected motion vector is used for the high frequency band. A high-frequency band selection unit that outputs the motion-compensated prediction unit and the high-frequency motion-compensated interpolation unit, and a signal in each band that is compression-coded by the low-band compression coding unit and the high-band compression coding unit. And a mixing means for mixing the moving picture coding device.
【請求項20】 入力される圧縮符号化された画像信号
から画像情報を復元する動画像復号化装置において、 連続する複数のフレームからなるフレーム群ごとにその
フレーム群の最も後ろに位置するPフレームをそのフレ
ーム群のその他のBフレームの前に挿入することによっ
てフレーム順序を変えられ、圧縮符号化されて入力され
る画像信号を、直流を含む低周波帯域の画像信号とその
他の高周波帯域の画像信号とに分割する分割手段と、 個別に復元されて動き補償補間された2つの画像を合成
する帯域合成手段と連続する2つのPフレームの帯域合
成された画像を記憶する合成画像記憶手段と、 前記合成画像記憶手段に格納されている2つのPフレー
ムの画像間の動きベクトルを算出する動きベクトル算出
手段と、 前記低周波帯域の画像信号の画像サイズに従って前記算
出された動きベクトルのスケールを変換するとともに前
記高周波帯域の画像信号の画像サイズに従って前記算出
された動きベクトルのスケールを変換し、前記低周波帯
域の画像信号の画像サイズに応じてスケール変換した低
域画像動きベクトルおよび前記高周波帯域の画像信号の
画像サイズに応じてスケール変換した高域画像動きベク
トルを出力するスケール変換手段と、 前記分割手段から出力された圧縮符号化された低周波帯
域の画像信号から画像情報を復元する低域用復号手段
と、 前記分割手段から出力された圧縮符号化された高周波帯
域の画像信号から画像情報を復元する高域用復号手段
と、 前記低域用復号手段によって復元された画像情報を低域
動き補償参照画像を用いて補間する低域用動き補償補間
手段と、 前記高域用復号手段によって復元された画像情報を高域
動き補償参照画像を用いて補間する高域用動き補償補間
手段と、 前記低域用動き補償補間手段から出力される2フレーム
分のPフレームの補間画像が記憶されており、これら2
フレーム分の画像の内のあとから記憶されたフレームの
画像を前記帯域合成手段に出力する低域用記憶手段と、 前記高域用動き補償補間手段から出力される2フレーム
分のPフレームの補間画像が記憶されており、これら2
フレーム分の画像の内のあとから記憶されたフレームの
画像を前記帯域合成手段に出力する高域用記憶手段と、 前記低域用復号手段によって復元された画像情報がBフ
レームのものである場合に、前記スケール変換された低
域画像動きベクトルを用いてこのBフレームの動きベク
トルを内挿予測する低域内挿用動きベクトル予測手段
と、 前記低域用復号手段によって復元された画像情報がPフ
レームのものである場合に、前記スケール変換された低
域画像動きベクトルを用いてこのPフレームの動きベク
トルを外挿予測する低域外挿用動きベクトル予測手段
と、 前記低域用復号手段によって復元された画像情報がPフ
レームのものである場合に、前記内挿予測された動きベ
クトルを選択し、前記低域用復号手段によって復元され
た画像情報がPフレームのものである場合に、前記外挿
予測された動きベクトルを選択する低域用選択手段と、 前記低域内挿用動きベクトル予測手段または前記低域外
挿用動きベクトル予測手段によって動きベクトルが予測
されない画素を前記低域用記憶手段に格納されている2
フレーム分の画像の内のあとから格納されたフレームの
画像の動きベクトルが予測された周辺画素を用いて補間
し、前記低域動き補償参照画像を生成して前記低域用動
き補償予測手段および前記低域用動き補償補間手段に出
力する第1の低域用画像データ補間手段と、 前記低域内挿用動きベクトル予測手段によって動きベク
トルが予測されない画素を前記低域用記憶手段に格納さ
れている2フレーム分の画像の内の先に格納されたフレ
ームの画像の動きベクトルが予測された周辺画素を用い
て補間し、前記低域動き補償参照画像を生成して前記低
域用動き補償予測手段および前記低域用動き補償補間手
段に出力する第2の低域用画像データ補間手段と、 前記高域用復号手段によって復元された画像情報がBフ
レームのものである場合に、前記スケール変換された高
域画像動きベクトルを用いてこのBフレームの動きベク
トルを内挿予測する高域内挿用動きベクトル予測手段
と、 前記高域内挿用動きベクトル予測手段によって動きベク
トルが予測されない画素位置の動きベクトルを動きベク
トルが予測された周辺画素位置の動きベクトルを用いて
補間する高域内挿用動きベクトル補間手段と、 前記高域用復号手段によって復元された画像情報がPフ
レームのものである場合に、前記スケール変換された高
域画像動きベクトルを用いてこのPフレームの動きベク
トルを外挿予測する高域外挿用動きベクトル予測手段
と、 前記高域外挿用動きベクトル予測手段によって動きベク
トルが予測されない画素位置の動きベクトルを動きベク
トルが予測された周辺画素位置の動きベクトルを用いて
補間する高域外挿用動きベクトル補間手段と、 前記高域用復号手段によって復元された画像情報がBフ
レームのものである場合に、前記内挿予測されて補間さ
れた動きベクトルを選択し、前記高域用復号手段によっ
て復元された画像情報がPフレームのものである場合
に、前記外挿予測されて補間された動きベクトルを選択
し、選択した動きベクトルを前記高域用補償予測手段お
よび前記高域用動き補償補間手段に出力する高域用選択
手段と、 前記帯域合成された信号の順序を元に戻す順序逆変換手
段とを備えたことを特徴とする動画像復号化装置。
20. In a moving picture decoding apparatus for restoring image information from an input compression-coded image signal, for each frame group consisting of a plurality of consecutive frames, a P frame located at the back of the frame group. Is inserted before the other B-frames in the frame group, the frame order is changed, and the image signal input after being compression-encoded is the image signal of the low frequency band including DC and the image of the other high frequency band. Dividing means for dividing into two signals, a band synthesizing means for synthesizing the two images individually restored and motion-compensated and interpolated, and a synthetic image storing means for storing the band-synthesized images of two consecutive P frames, Motion vector calculation means for calculating a motion vector between two P frame images stored in the composite image storage means, and an image in the low frequency band. The scale of the calculated motion vector is converted according to the image size of the signal and the scale of the calculated motion vector is converted according to the image size of the image signal of the high frequency band, and the image size of the image signal of the low frequency band is converted. Scale conversion means for outputting a low-frequency image motion vector scale-converted according to the above and a high-frequency image motion vector scale-converted according to the image size of the image signal in the high-frequency band, and compression-encoded output from the dividing means. A low-band decoding unit that restores image information from the low-frequency band image signal, and a high-band decoding unit that restores image information from the compression-encoded high-frequency band image signal output from the dividing unit, Low-frequency motion compensation for interpolating image information restored by the low-frequency decoding means using a low-frequency motion compensation reference image 2 is output from the interpolation means, the high-frequency motion compensation interpolation means for interpolating the image information restored by the high-frequency decoding means using the high-frequency motion compensation reference image, and the low-frequency motion compensation interpolation means. Interpolated images of P frames for frames are stored.
Low-frequency storage means for outputting to the band synthesis means an image of a frame stored later in the image for frames, and interpolation of P frames for two frames output from the high-frequency motion compensation interpolation means. Images are stored and these 2
In the case where the image information restored by the low-frequency decoding means and the high-frequency storage means for outputting the image of the frame stored after the image for the frame to the band synthesizing means is of the B frame In addition, the low-frequency interpolation motion vector predicting means for interpolating and predicting the motion vector of the B frame using the scale-converted low-frequency image motion vector, and the image information restored by the low-frequency decoding means are P When it is a frame, the low-frequency extrapolation motion vector predicting means for extrapolating and predicting the motion vector of the P frame using the scale-converted low-frequency image motion vector, and the reconstruction by the low-frequency decoding means The image information restored by the low frequency decoding means by selecting the motion vector predicted for interpolation when the obtained image information is for a P frame In the case of a P frame, the low-frequency selecting unit that selects the extrapolated-predicted motion vector, and the low-frequency extrapolating motion vector predicting unit or the low-frequency extrapolating motion vector predicting unit determines a motion vector. Unpredicted pixels are stored in the low band storage means 2
The low-frequency motion-compensated prediction means and the low-frequency motion-compensated prediction means are generated by interpolating the motion vector of the image of the frame stored later in the frame image by using the predicted peripheral pixels, A first low-frequency image data interpolating means for outputting to the low-frequency motion compensation interpolating means, and a pixel whose motion vector is not predicted by the low-frequency interpolation motion vector predicting means are stored in the low-frequency storing means. The motion vector of the image of the previously stored frame of the two frames of images is interpolated using the predicted peripheral pixels to generate the low-frequency motion-compensated reference image to generate the low-frequency motion-compensated prediction. Means and a second low-frequency image data interpolating means for outputting to the low-frequency motion compensation interpolating means, and the image information restored by the high-frequency decoding means is of a B frame, A high-frequency interpolation motion vector predicting unit that interpolates and predicts the motion vector of the B frame using the scale-converted high-frequency image motion vector, and a pixel position where the motion vector is not predicted by the high-frequency interpolation motion vector predicting unit. Motion vector interpolating means for interpolating the above motion vector using the motion vector of the peripheral pixel position where the motion vector is predicted, and the image information restored by the above high frequency decoding means is of P frame. In this case, a motion vector predicting unit for high band extrapolation for extrapolating and predicting the motion vector of the P frame using the scale-converted high band image motion vector, and a motion vector by the motion vector predicting unit for high band extrapolation Use the motion vector of the unpredicted pixel position by using the motion vector of the peripheral pixel position where the motion vector was predicted A high-frequency extrapolation motion vector interpolating means for interpolating, and when the image information restored by the high-frequency decoding means is for a B frame, the interpolation predicted and interpolated motion vector is selected, When the image information restored by the high frequency decoding means is for a P frame, the motion vector interpolated and interpolated is selected, and the selected motion vector is used for the high frequency compensation prediction means and A moving image decoding apparatus comprising: a high band selecting unit for outputting to the high band motion compensating and interpolating unit; and an order inverse transforming unit for restoring the order of the band-combined signals.
【請求項21】 前記第19項の符号化装置と前記第2
0項の復号化装置とを含む動画像符号化復号化装置。
21. The encoding device according to claim 19, and the second device.
A moving picture coding / decoding apparatus including a 0-order decoding apparatus.
JP2002303875A 2002-10-18 2002-10-18 Video encoding / decoding device Expired - Fee Related JP3394247B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002303875A JP3394247B1 (en) 2002-10-18 2002-10-18 Video encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002303875A JP3394247B1 (en) 2002-10-18 2002-10-18 Video encoding / decoding device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP27772495A Division JP3377893B2 (en) 1995-10-25 1995-10-25 Video encoding / decoding device

Publications (2)

Publication Number Publication Date
JP3394247B1 JP3394247B1 (en) 2003-04-07
JP2003179936A true JP2003179936A (en) 2003-06-27

Family

ID=19197367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002303875A Expired - Fee Related JP3394247B1 (en) 2002-10-18 2002-10-18 Video encoding / decoding device

Country Status (1)

Country Link
JP (1) JP3394247B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100474929C (en) * 2005-09-07 2009-04-01 深圳市海思半导体有限公司 Loading device and method for moving compensating data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100474929C (en) * 2005-09-07 2009-04-01 深圳市海思半导体有限公司 Loading device and method for moving compensating data

Also Published As

Publication number Publication date
JP3394247B1 (en) 2003-04-07

Similar Documents

Publication Publication Date Title
US6058143A (en) Motion vector extrapolation for transcoding video sequences
US8358701B2 (en) Switching decode resolution during video decoding
JP3888597B2 (en) Motion compensation coding apparatus and motion compensation coding / decoding method
CA2096431C (en) Systems and methods for coding even fields of interlaced video sequences
CA2452632C (en) Method for sub-pixel value interpolation
US7379501B2 (en) Differential coding of interpolation filters
JP3901287B2 (en) Video signal conversion apparatus, video signal conversion method, and video providing system
EP1725048B1 (en) Video coding apparatus and decoding apparatus
JP3856262B2 (en) Motion compensation encoding apparatus, motion compensation encoding method, and motion compensation code recording medium
KR101742449B1 (en) Video encoding device, video encoding method, video encoding program, video decoding device, video decoding method, and video decoding program
US20050207496A1 (en) Moving picture coding apparatus
US6259734B1 (en) Image processing method, image processing apparatus, and data storage media
JP2004007379A (en) Method for encoding moving image and method for decoding moving image
US20040184546A1 (en) Method and apparatus for control of rate-distortion tradeoff by mode selection in video encoders
US20150201213A1 (en) Video prediction encoding device, video prediction encoding method, video prediction decoding device and video prediction decoding method
US20050152457A1 (en) Signaling and repeat padding for skip frames
JPH01253382A (en) Method of encoding digital video signal and encoder and its decoder
JP3377893B2 (en) Video encoding / decoding device
EP2146510A1 (en) Motion vector detection
JP2006279917A (en) Dynamic image encoding device, dynamic image decoding device and dynamic image transmitting system
JP2007060693A (en) Moving picture coding, decoding method and apparatus
US6353683B1 (en) Method and apparatus of image processing, and data storage media
JP2000023164A (en) Digital video processing system
JPH10136381A (en) Moving image encoding/decoding device and method therefor
JP2006246277A (en) Re-encoding apparatus, re-encoding method, and re-encoding program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030121

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090131

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100131

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100131

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110131

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110131

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120131

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130131

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140131

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees