JPH11239352A - Image processing method, image processing apparatus, and data storage medium - Google Patents
Image processing method, image processing apparatus, and data storage mediumInfo
- Publication number
- JPH11239352A JPH11239352A JP34878298A JP34878298A JPH11239352A JP H11239352 A JPH11239352 A JP H11239352A JP 34878298 A JP34878298 A JP 34878298A JP 34878298 A JP34878298 A JP 34878298A JP H11239352 A JPH11239352 A JP H11239352A
- Authority
- JP
- Japan
- Prior art keywords
- image
- processing
- signal
- load
- motion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【課題】 画像復号化信号の動き補償処理に起因して演
算負荷量がシステムの演算処理能力を超えるのを回避し
て、画像復号化信号の動き補償に起因する演算負荷の増
大が再生画像の画質に大きな悪影響を及ぼすのを防止す
る。
【解決手段】 復号化処理の対象となる対象ブロックの
画像復号化信号を所定の方法により予測して予測信号を
生成する予測信号生成部210を、入力される画像符号
化信号の復号化処理における演算負荷の大きさを検出す
る負荷判定器213を有し、該検出した演算負荷の大き
さに応じて、上記予測信号の生成処理における予測方法
を切り替える構成とした。
(57) [Summary] An operation load caused by motion compensation of a decoded image signal is avoided by preventing the operation load amount from exceeding the operation processing capability of the system due to the motion compensation processing of the decoded image signal. Is prevented from having a large adverse effect on the image quality of the reproduced image. SOLUTION: A prediction signal generation unit 210 for predicting an image decoding signal of a target block to be decoded by a predetermined method to generate a prediction signal is provided in a decoding process of an input coded image signal. It has a load determiner 213 that detects the magnitude of the computation load, and switches the prediction method in the prediction signal generation processing according to the detected magnitude of the computation load.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像処理方法及び
画像処理装置、並びにデータ記憶媒体に関し、特に、画
像信号の処理が行われるシステムの演算処理能力が低い
場合でも、再生される映像に破綻をきたすことなく、画
像信号の符号化あるいは復号化が可能な方法及び装置、
並びにこのような方法及び装置による画像信号の符号化
処理及び復号化処理をソフトウェアにより実現するため
のプログラムを格納したデータ記憶媒体に関するもので
ある。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method, an image processing apparatus, and a data storage medium, and more particularly, to a method of processing a video signal even if the processing capability of the system is low. Method and apparatus capable of encoding or decoding an image signal without causing
Also, the present invention relates to a data storage medium storing a program for realizing encoding and decoding of an image signal by software using such a method and apparatus.
【0002】[0002]
【従来の技術】従来のディジタル動画像の符号化方法で
は、動画像は時間的な相関,つまり画面間での画像情報
の相関が強いものであることから、画面間で重複した画
像情報を削減して時間的な冗長度を低減するために、符
号化処理の対象となる被処理画面の画像信号と、該被処
理画面より前に符号化処理がすでに施された前画面の画
像信号から得られる予測信号との差分値を符号化する処
理を行っている。このような符号化処理は差分符号化処
理と言われ、1画面を区分する単位領域毎に行われるも
のである。ここで、上記1画面は、MPEG(Moving P
icture Experts Group)1,2では1フレーム、MPE
G4では個々のオブジェクト画像に対応する画像表示空
間であるオブジェクト領域に相当するものである。2. Description of the Related Art In a conventional digital moving picture coding method, a moving picture has a strong temporal correlation, that is, a strong correlation of image information between screens. In order to reduce the temporal redundancy, the image signal of the target screen to be encoded is obtained from the image signal of the previous screen which has already been subjected to the encoding process before the target screen. And a process of encoding a difference value from the predicted signal to be obtained. Such an encoding process is called a differential encoding process, and is performed for each unit area that divides one screen. Here, the one screen is an MPEG (Moving P
icture Experts Group) 1 and 2 frames, MPE
G4 corresponds to an object area which is an image display space corresponding to each object image.
【0003】上記差分符号化処理では、具体的には、前
画面の画像情報に基づいた動き予測によって、符号化処
理の対象となる対象単位領域の画像信号(画像入力信
号)との誤差が最も小さい画像信号を有する、前画面に
おける予測領域を検出し、該予測領域の画像信号を上記
対象単位領域に対応する予測信号(予測画像入力信号)
とし、該対象単位領域の画像信号と該予測信号の差分値
である差分信号を、上記動き予測に関連する予測関連情
報とともに符号化する。ここで、予測関連情報とは、例
えば動き予測の方法や、予測領域の位置をあらわす情
報,つまり動きベクトルのことである。In the above-described differential encoding process, specifically, an error from an image signal (image input signal) of a target unit area to be subjected to the encoding process is minimized by motion estimation based on image information of the previous screen. A prediction area having a small image signal in the previous screen is detected, and the image signal of the prediction area is converted to a prediction signal (prediction image input signal) corresponding to the target unit area.
Then, a difference signal which is a difference value between the image signal of the target unit area and the prediction signal is encoded together with the prediction related information related to the motion prediction. Here, the prediction-related information is, for example, information indicating a method of motion prediction or a position of a prediction area, that is, a motion vector.
【0004】また、上記差分符号化処理により生成され
た差分符号化信号から画像信号を再生する差分復号化処
理では、動き補償によって、上記予測関連情報に基づい
て、復号化処理の対象となる対象単位領域の画像再生信
号(画像復号化信号)を予測して予測信号(予測画像復
号化信号)を生成するとともに、上記対象単位領域に対
応する差分符号化信号を復号化して差分復号化信号を生
成し、該差分復号化信号に上記予測信号を加算して、対
象単位領域に対応する画像再生信号を生成する。In a differential decoding process for reproducing an image signal from a differentially coded signal generated by the differential encoding process, a target to be decoded by motion compensation based on the prediction related information. A prediction signal (predicted image decoding signal) is generated by predicting an image reproduction signal (image decoding signal) of the unit area, and a difference coded signal corresponding to the target unit area is decoded to generate a difference decoding signal. Then, the prediction signal is added to the decoded difference signal to generate an image reproduction signal corresponding to the target unit area.
【0005】上述したように、画像信号の符号化処理あ
るいは復号化処理においては、従来から動き予測や動き
補償といった画像情報を圧縮するための手法が用いられ
ており、これらの手法の実用例として、具体的には、M
PEG1やMPEG2といった国際標準規格に準拠した
情報圧縮処理が挙げられる。As described above, in the coding or decoding of an image signal, techniques for compressing image information such as motion prediction and motion compensation have been conventionally used. Practical examples of these techniques are as follows. , Specifically, M
Information compression processing based on international standards such as PEG1 and MPEG2 can be mentioned.
【0006】また、現在規格化が進められているMPE
G4に基づく技術には、MPEG1やMPEG2と同様
の動き予測および動き補償の方法だけでなく、新たな動
き予測および動き補償の方法を導入することについて検
討が行われている。なお、ここで上記動き予測は符号化
処理にて、予測領域の位置をあらわす情報,つまり動き
ベクトルを検出する処理、また上記動き補償は符号化処
理あるいは復号化処理にて、上記動きベクトルに基づい
て予測信号を生成する処理である。[0006] MPE which is currently being standardized is
In the technology based on G4, studies are being made on introducing a new motion prediction and motion compensation method as well as a motion prediction and motion compensation method similar to MPEG1 and MPEG2. Here, the motion prediction is a process of detecting information indicating the position of a prediction area, that is, a motion vector, in an encoding process, and the motion compensation is a process of encoding or decoding based on the motion vector in a coding process or a decoding process. This is a process for generating a prediction signal.
【0007】このようなMPEG4準拠の画像処理技術
への導入が検討されている方法の一例として、オーバー
ラップ動き補償が挙げられ、以下、まず、MPEG1,
2準拠の画像処理技術における通常の動き補償とオーバ
ーラップ動き補償について説明する。なお、ここでは、
説明を簡単にするため、動き補償の対象となる信号とし
ては輝度信号のみを示す。また、オーバーラップ動き補
償は、復号化処理(符号化の際の局所復号化処理も含
む)の際にのみ行うのが通常であるため、以下の説明は
復号化処理について行う。As an example of a method which is being considered for introduction to such an image processing technology based on MPEG4, overlap motion compensation is mentioned.
The normal motion compensation and the overlap motion compensation in the 2-compliant image processing technology will be described. Here,
For simplicity of description, only a luminance signal is shown as a signal to be subjected to motion compensation. In addition, the overlap motion compensation is generally performed only during the decoding process (including the local decoding process at the time of encoding), and thus the following description will be made regarding the decoding process.
【0008】まず、従来のMPEG1,2の規格に対応
した復号化処理では、動き補償は、縦方向に16画素、
横方向に16画素を配列した256画素からなる2次元
の画像空間(マクロブロック)を単位領域として行われ
る。First, in the decoding processing corresponding to the conventional MPEG1 and MPEG2 standards, motion compensation is performed for 16 pixels in the vertical direction.
This is performed using a two-dimensional image space (macroblock) consisting of 256 pixels in which 16 pixels are arranged in the horizontal direction as a unit area.
【0009】図7(a) 〜(d) は、復号化処理における動
き補償処理を説明するための図である。図7(a) に示す
ように復号化側では、現時点t(n)にて復号化処理が
行われている被処理フレームF(n)における対象マク
ロブロックMB(n)に対して、動きベクトルMV
(n)を用いて、過去の時点t(n−1)に復号化処理
が施された前フレームF(n−1)内の予測領域PR
(n)が求められる。この予測領域PR(n)は前フレ
ームF(n−1)上にて、被処理フレームF(n)にお
ける対象マクロブロックMB(n)と同じ位置にある同
位置マクロブロックMB(n−1)から、動きベクトル
MV(n)が示す変位量だけ離れた位置にある。FIGS. 7A to 7D are diagrams for explaining the motion compensation processing in the decoding processing. As shown in FIG. 7 (a), on the decoding side, a motion vector is assigned to the target macroblock MB (n) in the frame F (n) being decoded at the current time t (n). MV
Using (n), the prediction region PR in the previous frame F (n-1) that has been decoded at the past time point t (n-1)
(N) is required. This predicted area PR (n) is located on the previous frame F (n-1) at the same position as the target macroblock MB (n) in the frame F (n) to be processed, and is located at the same position as the macroblock MB (n-1). Is located at a position apart from by the displacement amount indicated by the motion vector MV (n).
【0010】そして、上記予測領域PR(n)の有する
画像信号が、上記対象マクロブロックMB(n)の画像
復号化信号に対応する予測信号(予測画像復号化信号)
として求められる。なお、図7(b) ,(c) ,(d) はそれ
ぞれ、同位置マクロブロックMB(n−1),予測領域
PR(n),対象マクロブロックMB(n)を、図7
(a) から抜き出して示している。[0010] An image signal of the prediction area PR (n) is a prediction signal (predicted image decoding signal) corresponding to the image decoding signal of the target macroblock MB (n).
Is required. 7 (b), (c), and (d) show the co-located macroblock MB (n-1), the prediction area PR (n), and the target macroblock MB (n), respectively.
(a) is extracted and shown.
【0011】これに対し、オーバーラップ動き補償処理
は、縦方向に8画素、横方向に8画素を配列した、64
画素からなる2次元の画像空間(ブロック)を単位領域
として行われる。このブロックは4つで上記マクロブロ
ック1つに相当するものである。言い換えると、1つの
マクロブロックは、図8に示すように上記ブロックを縦
方向に2つ、横方向に2つ配列して構成されている。On the other hand, in the overlap motion compensation processing, eight pixels are arranged in the vertical direction and eight pixels are arranged in the horizontal direction.
This is performed using a two-dimensional image space (block) composed of pixels as a unit area. There are four such blocks, which correspond to one macroblock. In other words, one macro block is configured by arranging two blocks in the vertical direction and two blocks in the horizontal direction as shown in FIG.
【0012】また、オーバーラップ動き補償処理では、
各ブロックに対応して、あるいは各マクロブロックに対
応して動きベクトルが存在しており、この動きベクトル
がマクロブロックに対応するものである場合には、その
マクロブロック内の4つのブロックに対応する動きベク
トルは、すべて同一の動きベクトルであるとする。In the overlap motion compensation processing,
If there is a motion vector corresponding to each block or to each macroblock, and this motion vector corresponds to a macroblock, it corresponds to four blocks in the macroblock. The motion vectors are all assumed to be the same motion vector.
【0013】次に図9を用いて具体的なオーバーラップ
動き補償について説明する。ここでは、被処理フレーム
F(n)の対象ブロックBC(n)に対する予測信号
(予測画像復号化信号)を生成する場合について説明す
る。まず、上記対象ブロックBC(n)の動きベクトル
MVC及びその上下右左の周辺ブロックBU(n),B
D(n),BR(n),BL(n)の動きベクトルMV
U,MVD,MVR,MVLを用いて、前フレームF
(n−1)上にて、上記対象ブロックBC(n)と同じ
位置の同位置ブロックBC(n−1)を基準として、上
記対象ブロックBC(n)に対する5つの予測領域を求
める。ここで、上記動きベクトルMVU,MVD,MV
R,MVLは、上記被処理フレームF(n)内の上,
下,右,左周辺ブロックBU(n),BD(n),BR
(n),BL(n)に対する予測領域として、前フレー
ムF(n−1)内の領域PU(n),PD(n),PR
(n),PL(n)を示すものであるため、これらの動
きベクトルを用いて求められる対象ブロックBC(n)
の4つの予測領域は、図10(a) に示す領域PU
(n)′,PD(n)′,PR(n)′,PL(n)′
となる。また、対象ブロックC(n)自体の動きベクト
ルMVCに基づいて、対象ブロックBC(n)に対する
予測領域PC(n)が求められる。Next, specific overlap motion compensation will be described with reference to FIG. Here, a case will be described in which a predicted signal (predicted image decoded signal) for the target block BC (n) of the frame to be processed F (n) is generated. First, the motion vector MVC of the target block BC (n) and its surrounding blocks BU (n), B
Motion vector MV of D (n), BR (n), BL (n)
U, MVD, MVR, MVL,
On (n-1), five prediction regions for the target block BC (n) are obtained based on the same-position block BC (n-1) at the same position as the target block BC (n). Here, the motion vectors MVU, MVD, MV
R and MVL are above the frame to be processed F (n),
Lower, right, left peripheral blocks BU (n), BD (n), BR
(N), regions PU (n), PD (n), PR in the previous frame F (n-1) as prediction regions for BL (n)
(N) and PL (n), the target block BC (n) calculated using these motion vectors
The four prediction regions are the regions PU shown in FIG.
(N) ', PD (n)', PR (n) ', PL (n)'
Becomes Further, a prediction area PC (n) for the target block BC (n) is obtained based on the motion vector MVC of the target block C (n) itself.
【0014】次に、上記対象ブロックBC(n)に対す
る5つの予測領域PC(n),PU(n)′,PD
(n)′,PR(n)′,PL(n)′における画素か
ら、図10(b) に示す予測画像PGC,PGU,PG
D,PGR,PGLを求める。ただし、ここでは、各予
測領域における不要な画素は用いず、予測領域PU
(n)′については上半分の画素から、予測領域PD
(n)′については下半分の画素から、予測領域PR
(n)′については右半分の画素から、予測領域PL
(n)′については左半分の画素から予測画像を形成す
る。Next, five prediction areas PC (n), PU (n) ', PD for the target block BC (n)
From the pixels in (n) ', PR (n)', PL (n) ', the predicted images PGC, PGU, PG shown in FIG.
D, PGR, and PGL are obtained. However, here, unnecessary pixels in each prediction region are not used, and the prediction region PU
For (n) ', the prediction region PD
For (n) ', the prediction region PR
For (n) ', the prediction area PL
For (n) ', a predicted image is formed from the left half pixel.
【0015】そして、各予測画像PGC,PGU,PG
D,PGR,PGLを、それぞれの画素の画素値を、重
み付けマトリクスWVC,WVU,WVD,WVR,W
VL(図10(c) 参照)に示す値で重み付けして合成す
る。ここでは、各重み付けマトリクスで示す重み付け値
は、1つの画素について全て加えると8になるため、上
記各予測画像PGC,PGU,PGD,PGR,PGL
の画素値をPgc,Pgu,Pgd,Pgr,Pglとし、各重み
付けマトリクスで示す重み付け値をWvc,Wvu,Wvd,
Wvr,Wvlとすると、合成画像PGの画素値Pgは、以
下の式により得られる。 Pg =( Pgc・Wvc+Pgu・Wvu+Pgd・Wvd+Pgr・
Wvr+Pgl・Wvl)/8 この合成処理により得られる合成画像PGが、オーバー
ラップ動き補償によって得られる予測画像であり、これ
に対応する画像信号が予測信号(予測画像復号化信号)
となる。Then, each predicted image PGC, PGU, PG
D, PGR, and PGL are represented by pixel values of respective pixels, and weighting matrices WVC, WVU, WVD, WVR, W
VL (see FIG. 10 (c)) is weighted with the value shown in FIG. Here, the weighting value indicated by each weighting matrix becomes 8 when all of the weighting values for one pixel are added. Therefore, each of the predicted images PGC, PGU, PGD, PGR, and PGL is calculated.
Are Pgc, Pgu, Pgd, Pgr, and Pgl, and the weighting values indicated by each weighting matrix are Wvc, Wvu, Wvd,
Assuming Wvr and Wvl, the pixel value Pg of the composite image PG is obtained by the following equation. Pg = (Pgc · Wvc + Pgu · Wvu + Pgd · Wvd + Pgr ·
Wvr + Pgl · Wvl) / 8 The composite image PG obtained by this synthesis processing is a prediction image obtained by overlap motion compensation, and the corresponding image signal is a prediction signal (predicted image decoded signal).
Becomes
【0016】なお、上記オーバラップ動き補償では、動
き補償の対象となる対象ブロックが、マクロブロックの
下段側に位置するものである場合は、この対象ブロック
の下側の周辺ブロックを含むマクロブロックはまだ復号
化処理が施されていないため、該下側の周辺ブロックの
動きベクトルとしては対象ブロックの動きベクトルを用
いる。また、符号化の際の局所復号化処理におけるオー
バーラップ動き補償も、上記復号化処理におけるオーバ
ーラップ動き補償と同様に行われることは言うまでもな
い。In the above-described overlap motion compensation, when the target block to be subjected to motion compensation is located at the lower side of the macro block, the macro block including the peripheral block below the target block is Since the decoding process has not been performed yet, the motion vector of the target block is used as the motion vector of the lower peripheral block. Also, it goes without saying that the overlap motion compensation in the local decoding process at the time of encoding is performed in the same manner as the overlap motion compensation in the decoding process.
【0017】上述したように、通常の動き補償では、動
き補償の単位となる領域(マクロブロック)が有する動
きベクトルのみに基づいて予測画像(予測信号)を生成
しているのに対し、オーバーラップ動き補償では、オー
バーラップ動き補償の対象となる処理単位(対象ブロッ
ク)が有する動きベクトルだけでなく、対象ブロックに
隣接する周辺ブロックの動きベクトルにも基づいて予測
画像(予測信号)を生成している。このため、オーバー
ラップ動き補償処理では、通常の動き補償処理に比べ
て、対象ブロックに対応する画像信号(厳密には各画素
に対応する画像値)とその予測信号(厳密には各画素に
対応する予測値)との差分値を1つのブロック内にて平
滑化する、つまり、マクロブロック内での局所的な大き
な符号化歪みを小さく分散することができ、視覚的な画
質の改善を図ることができる一方で、通常の動き補償処
理に比べてより多くの演算処理が必要となる。As described above, in the ordinary motion compensation, a predicted image (prediction signal) is generated based only on a motion vector of an area (macroblock) serving as a unit of motion compensation. In motion compensation, a prediction image (prediction signal) is generated based on not only a motion vector of a processing unit (target block) to be subjected to overlap motion compensation but also a motion vector of a peripheral block adjacent to the target block. I have. For this reason, in the overlap motion compensation processing, an image signal corresponding to the target block (strictly, an image value corresponding to each pixel) and a prediction signal thereof (strictly, corresponding to each pixel) are different from the normal motion compensation processing. (A predicted value to be obtained) is smoothed in one block, that is, a large local coding distortion in a macroblock can be dispersed and small, thereby improving visual image quality. On the other hand, more arithmetic processing is required as compared with normal motion compensation processing.
【0018】次に、従来のMPEG4の規格に対応した
復号化処理におけるオブジェクト単位の動き補償につい
て説明する。MPEG4に準拠した画像表示では、被処
理フレームと前フレームとではオブジェクト領域のフレ
ーム内での位置が相対的に異なる。以下簡単に図12を
用いて説明すると、図12に示すように復号化側では、
現時点t(n)にて復号化処理が行われている被処理フ
レームF(n)における所定のオブジェクト領域OR
(n)内の対象マクロブロックMB(n)に対して、動
きベクトルMV(n)を用いて、過去の時点t(n−
1)に復号化処理が施された前フレームF(n−1)に
おける、上記オブジェクト領域OR(n)に対応するオ
ブジェクト領域OR(n−1)内の予測領域PR(n)
が求められる。Next, a description will be given of the motion compensation on a per-object basis in the decoding processing corresponding to the conventional MPEG4 standard. In image display conforming to MPEG4, the position of the object area in the frame is relatively different between the frame to be processed and the previous frame. Briefly described with reference to FIG. 12, on the decoding side, as shown in FIG.
A predetermined object area OR in the frame to be processed F (n) that is being decoded at the current time t (n)
For the target macroblock MB (n) in (n), using the motion vector MV (n), a past time point t (n−
The prediction region PR (n) in the object region OR (n-1) corresponding to the object region OR (n) in the previous frame F (n-1) on which the decoding process is performed in 1).
Is required.
【0019】この予測領域PR(n)は、前フレームF
(n−1)上にて、被処理フレームF(n)におけるオ
ブジェクト領域OR(n)内の対象マクロブロックMB
(n)と同位置にある同位置マクロブロックMB(n)
(点線で表示)から、動きベクトルMV(n)が示す変
位量だけ離れた位置にある。This prediction area PR (n)
On (n-1), the target macroblock MB in the object area OR (n) in the frame to be processed F (n)
Co-located macroblock MB (n) at the same position as (n)
(Indicated by a dotted line), it is located at a position separated by a displacement amount indicated by the motion vector MV (n).
【0020】ここで、前フレームF(n−1)では、現
時点t(n)でのオブジェクト領域OR(n)の位置P
(n)は、このオブジェクト領域OR(n)に対応する
過去の時点t(n−1)のオブジェクト領域OR(n−
1)の位置P(n−1)とは異なっているが、被処理フ
レームF(n)におけるオブジェクト領域OR(n)内
のマクロブロックMB(n)の位置Pmb(n) 、及び前フ
レームF(n−1)におけるオブジェクト領域OR(n
−1)内のマクロブロックMB(n−1)の位置Pmb(n
-1) 、さらには上記予測領域PR(n)の位置Ppr(n)
も、各フレームの左隅位置P0を基準とする絶対的位置
として定めることができる。そして、上記予測領域PR
(n)の有する画像信号が、上記被処理フレームF
(n)における対象マクロブロックMB(n)の画像復
号化信号に対応する予測信号(予測画像復号化信号)と
して求められる。Here, in the previous frame F (n-1), the position P of the object area OR (n) at the current time t (n)
(N) is the object area OR (n−n) of the past time point t (n−1) corresponding to this object area OR (n).
Although the position is different from the position P (n-1) of 1), the position Pmb (n) of the macroblock MB (n) in the object area OR (n) in the frame F (n) to be processed and the previous frame F Object area OR (n in (n-1))
-1), the position Pmb (n) of the macroblock MB (n-1)
-1), and the position Ppr (n) of the prediction region PR (n).
Can also be determined as an absolute position based on the left corner position P0 of each frame. Then, the prediction region PR
The image signal of (n) corresponds to the frame to be processed F
It is obtained as a prediction signal (predicted image decoded signal) corresponding to the image decoded signal of the target macroblock MB (n) in (n).
【0021】なお、MPEG4に対応したオーバーラッ
プ動き補償処理も、MPEG1,2におけるものと同
様、縦方向に8画素、横方向に8画素を配列した、64
画素からなる2次元の画像空間(ブロック)を単位領域
として、図12に示すようなオブジェクト領域OR
(n)及びOR(n−1)の間で、図9で説明したよう
に行われる。このように現状では、画像信号の符号化効
率を改善するために、種々の予測信号生成方法が提案さ
れるとともに、符号化方法の規格に取り入れられてお
り、今後も益々多くの予測信号生成方法が考案されると
考えられる。It should be noted that the overlap motion compensation processing corresponding to MPEG4 is performed in the same manner as in MPEG1 and MPEG2 by arranging 8 pixels in the vertical direction and 8 pixels in the horizontal direction.
Using a two-dimensional image space (block) composed of pixels as a unit area, an object area OR as shown in FIG.
The processing is performed between (n) and OR (n-1) as described with reference to FIG. As described above, in order to improve the coding efficiency of an image signal, various prediction signal generation methods have been proposed and incorporated into the coding method standards. Is considered to be devised.
【0022】[0022]
【発明が解決しようとする課題】ところが、上述のオー
バーラップ動き補償の説明で示したように、多くの場
合、新たな動き予測処理や動き補償処理は符号化効率の
改善に寄与する一方で、従来のものに比べて演算処理が
複雑になり、実時間処理を行うためには、画像処理シス
テムに高速な演算性能が要求されることとなる。However, as described in the above description of the overlapped motion compensation, in many cases, new motion prediction processing and motion compensation processing contribute to improvement of coding efficiency, while The arithmetic processing becomes complicated as compared with the conventional one, and in order to perform real-time processing, a high-speed arithmetic performance is required for the image processing system.
【0023】また、従来の画像符号化処理及び画像復号
化処理を行うシステムでは、復号化の際には、符号化時
に決定した予測信号生成方法に基づいた演算処理により
動き補償を行うため、復号化処理において演算処理能力
が不足する状況になったときには、実時間処理により再
生される映像ではコマ落ちなどが生じることとなる。言
い換えると、従来の画像処理システムでは、新たな動き
予測処理や動き補償処理の導入等によって演算処理能力
が不足する事態が生じた場合には、再生画像の画質に大
きな悪影響を及ぼすこととなる。In a conventional system for performing image encoding and image decoding processing, when decoding, motion compensation is performed by an arithmetic process based on a prediction signal generation method determined at the time of encoding. If the calculation processing capacity becomes insufficient in the conversion processing, the frames reproduced by the real-time processing may drop frames. In other words, in the conventional image processing system, if the operation processing capacity is insufficient due to the introduction of a new motion prediction process or a motion compensation process, the image quality of a reproduced image is greatly adversely affected.
【0024】本発明は、上記のような問題点を解決する
ためになされたもので、画像信号を符号化あるいは復号
化する際の演算負荷の状況に応じて、画像処理対象とな
る対象画像信号の予測信号を生成する信号生成処理を演
算負荷の重いものと軽いものとの間で切り替えることが
でき、これにより再生される映像への悪影響を最小限に
抑えつつ、高い符号化効率でもって動き予測処理あるい
は動き補償処理を行うことができる画像処理方法及び画
像処理装置、並びにこれらの方法及び装置による画像処
理をコンピュータにより実現することができるプログラ
ムを格納したデータ記憶媒体を提供することを目的とす
る。SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and a target image signal to be subjected to image processing according to the state of a calculation load at the time of encoding or decoding an image signal. The signal generation process that generates the prediction signal can be switched between the one with a heavy computational load and the one with a light computational load, thereby minimizing the adverse effect on the reproduced video and operating with high coding efficiency. It is an object of the present invention to provide an image processing method and an image processing device capable of performing a prediction process or a motion compensation process, and a data storage medium storing a program capable of realizing image processing by the method and the device by a computer. I do.
【0025】[0025]
【課題を解決するための手段】この発明(請求項1)に
係る画像処理方法は、画像入力信号を、画面を区分する
単位領域毎に符号化して画像符号化信号を出力するとと
もに、該画像符号化信号を復号化して得られる画像復号
化信号に基づいて、符号化処理の対象となる対象単位領
域に対応する予測画像入力信号を所定の予測方法に基づ
く演算により生成する信号生成処理を、所要の単位領域
に対して行う画像符号化方法であって、上記画像入力信
号の符号化処理における演算負荷の大きさを検出し、該
検出した演算負荷の大きさに応じて、上記信号生成処理
における予測方法を切り替えるものである。An image processing method according to the present invention (claim 1) encodes an image input signal for each unit area dividing a screen, outputs an image encoded signal, and outputs the image encoded signal. Based on an image decoded signal obtained by decoding the encoded signal, a signal generation process of generating a predicted image input signal corresponding to a target unit area to be subjected to the encoding process by an operation based on a predetermined prediction method, An image encoding method performed on a required unit area, comprising detecting a magnitude of an arithmetic load in the encoding processing of the image input signal, and performing the signal generation processing in accordance with the detected arithmetic load. The prediction method is switched.
【0026】この発明(請求項2)は、請求項1記載の
画像処理方法において、実時間での上記信号生成処理に
必要な演算処理能力に基づいた演算負荷の閾値と、上記
検出した演算負荷の大きさとの比較結果に基づいて、上
記信号生成処理における予測方法を、必要となる演算処
理量が多い第1の予測方法と、必要となる演算処理量が
少ない第2の予測方法との間で切り替えるものである。According to a second aspect of the present invention, in the image processing method according to the first aspect, a threshold value of a calculation load based on a calculation processing capability necessary for the signal generation processing in real time; Based on the result of comparison with the size of the signal, the prediction method in the signal generation processing is performed between the first prediction method that requires a large amount of calculation processing and the second prediction method that requires a small amount of calculation processing. Is to switch.
【0027】この発明(請求項3)は、請求項1記載の
画像処理方法において、実時間での上記信号生成処理に
必要な演算処理能力に基づいた演算負荷の閾値と、上記
検出した演算負荷の大きさとの比較結果に基づいて、上
記信号生成処理における予測方法として、演算処理量が
異なる複数の予測方法のうちから、検出した演算負荷の
大きさに適した予測方法を選択するものである。According to a third aspect of the present invention, in the image processing method according to the first aspect, a threshold value of a calculation load based on a calculation processing capability required for the signal generation processing in real time, and the detected calculation load is calculated. And selecting a prediction method suitable for the detected calculation load from among a plurality of prediction methods with different amounts of calculation processing as the prediction method in the signal generation processing based on the comparison result with the size of the calculation load. .
【0028】この発明(請求項4)は、請求項1記載の
画像処理方法において、 上記信号生成処理を、上記対
象単位領域に対応する予測領域の位置を所定の画素精度
でもって示す動きベクトルを求める動き予測処理と、該
動きベクトルに基づいて予測領域に対応する画像信号を
上記予測画像入力信号として求める動き補償処理とを含
むものとし、実時間での上記信号生成処理に必要な演算
処理能力に基づいた演算負荷の閾値と、上記検出した演
算負荷の大きさとの比較結果に基づいて、上記信号生成
処理における動き予測処理の方法を、必要となる演算処
理量が多い動き予測方法と、必要となる演算処理量が少
ない動き予測方法との間で切り替え、かつ上記比較結果
に基づいて、上記信号生成処理における動き補償処理の
方法を、必要となる演算処理量が多い動き補償方法と、
必要となる演算処理量が少ない動き補償予測方法との間
で切り替えるものである。According to a fourth aspect of the present invention, in the image processing method according to the first aspect, the signal generation processing includes a motion vector indicating a position of a prediction area corresponding to the target unit area with a predetermined pixel precision. The motion prediction process to be sought and the motion compensation process to obtain an image signal corresponding to a prediction region based on the motion vector as the predicted image input signal are included, and an arithmetic processing capability necessary for the signal generation process in real time is included. Based on a comparison result between the threshold value of the calculation load based on the calculation load and the magnitude of the detected calculation load, the motion prediction method in the signal generation process is required to be a motion prediction method that requires a large amount of calculation processing. It is necessary to switch between a motion prediction method having a small amount of calculation processing and a motion compensation method in the signal generation process based on the comparison result. A motion compensation method with a large amount of arithmetic processing,
This is to switch between a motion compensation prediction method requiring a small amount of calculation processing.
【0029】この発明(請求項5)は、請求項1記載の
画像処理方法において、 上記信号生成処理を、上記対
象単位領域に対応する予測領域の位置を所定の画素精度
でもって示す動きベクトルを求める動き予測処理と、該
動きベクトルに基づいて予測領域に対応する画像信号を
上記予測画像入力信号として求める動き補償処理とを含
むものとし、実時間での上記信号生成処理に必要な演算
処理能力に基づいた演算負荷の閾値と、上記検出した演
算負荷の大きさとの比較結果に基づいて、上記信号生成
処理における動き予測処理の方法を、画素精度の高い動
きベクトルを求める動き予測方法と、画素精度の低い動
きベクトルを求める動き予測方法との間で切り替えるも
のである。According to a fifth aspect of the present invention, in the image processing method according to the first aspect, the signal generation processing includes a motion vector indicating a position of a prediction area corresponding to the target unit area with a predetermined pixel precision. The motion prediction process to be sought and the motion compensation process to obtain an image signal corresponding to a prediction region based on the motion vector as the predicted image input signal are included, and an arithmetic processing capability necessary for the signal generation process in real time is included. A motion prediction method for obtaining a motion vector with high pixel accuracy, based on a comparison result between a threshold value of the calculation load based on the threshold value and the magnitude of the detected calculation load. And a motion prediction method for obtaining a motion vector having a low motion vector.
【0030】この発明(請求項6)は、請求項1記載の
画像処理方法において、上記信号生成処理を、上記対象
単位領域に対応する予測領域の位置を所定の画素精度で
もって示す動きベクトルを求める動き予測処理と、該動
きベクトルに基づいて予測領域に対応する画像信号を上
記予測画像入力信号として求める動き補償処理とを含む
ものとし、実時間での上記信号生成処理に必要な演算処
理能力に基づいた演算負荷の閾値と、上記検出した演算
負荷の大きさとの比較結果に基づいて、上記信号生成処
理における動き補償処理の方法を、画素精度の高い動き
ベクトルに基づいて上記予測画像入力信号を求める動き
補償方法と、画素精度の低い動きベクトルに基づいて上
記予測画像入力信号を求める動き補償方法との間で切り
替えるものである。According to a sixth aspect of the present invention, in the image processing method according to the first aspect, the signal generation processing is performed by using a motion vector indicating a position of a prediction area corresponding to the target unit area with a predetermined pixel precision. The motion prediction process to be sought and the motion compensation process to obtain an image signal corresponding to a prediction region based on the motion vector as the predicted image input signal are included, and an arithmetic processing capability necessary for the signal generation process in real time is included. Based on the comparison result between the threshold value of the calculation load based on the calculation load and the magnitude of the detected calculation load, the method of the motion compensation process in the signal generation process is performed based on the motion vector with high pixel accuracy. Switching between a motion compensation method to be obtained and a motion compensation method to obtain the predicted image input signal based on a motion vector having low pixel accuracy.
【0031】この発明(請求項7)は、請求項6記載の
画像処理方法において、上記演算負荷の閾値と演算負荷
の大きさとの比較結果に基づいて、上記画素精度の高い
動きベクトルに基づいて行われる動き補償方法の種類
を、演算負荷の大きい第1の動き補償方法と、演算負荷
の小さい第2の動き補償方法との間で切り替えるととも
に、上記演算負荷の閾値と演算負荷の大きさとの比較結
果に基づいて、上記画素精度の低い動きベクトルに基づ
いて行われる動き補償方法の種類を、演算負荷の大きい
第1の動き補償方法と、演算負荷の小さい第2の動き補
償方法との間で切り替えるものである。According to a seventh aspect of the present invention, in the image processing method according to the sixth aspect, based on the comparison result between the threshold value of the operation load and the magnitude of the operation load, the image processing method is based on the motion vector with high pixel accuracy. The type of the motion compensation method to be performed is switched between a first motion compensation method having a large computation load and a second motion compensation method having a small computation load. On the basis of the comparison result, the type of the motion compensation method performed based on the motion vector having the low pixel precision is determined by comparing the type of the first motion compensation method with a large computation load with the second motion compensation method with a small computation load. Is to switch.
【0032】この発明(請求項8)は、請求項1記載の
画像処理方法において、上記信号生成処理を、上記対象
単位領域に対応する予測領域の位置を所定の画素精度で
もって示す動きベクトルを求める動き予測処理と、該動
きベクトルに基づいて予測領域に対応する画像信号を上
記予測画像入力信号として求める動き補償処理とを含む
ものとし、実時間での上記信号生成処理に必要な演算処
理能力に基づいた演算負荷の閾値と、上記検出した演算
負荷の大きさとの比較結果に基づいて、上記信号生成処
理における動き補償処理の方法として、それぞれ画素精
度の異なる動きベクトルを用いる複数の動き補償方法の
1つを選択するものである。According to the present invention (claim 8), in the image processing method according to claim 1, the signal generation processing is performed by using a motion vector indicating a position of a prediction area corresponding to the target unit area with a predetermined pixel precision. The motion prediction process to be sought and the motion compensation process to obtain an image signal corresponding to a prediction region based on the motion vector as the predicted image input signal are included, and an arithmetic processing capability necessary for the signal generation process in real time is included. Based on a comparison result between the threshold value of the calculation load based on the calculation load and the magnitude of the detected calculation load, as a method of the motion compensation process in the signal generation process, a plurality of motion compensation methods each using a motion vector having a different pixel precision are used. One is to select one.
【0033】この発明(請求項9)に係る画像処理方法
は、入力された画像符号化信号を、画面を区分する単位
領域毎に復号化して画像復号化信号を出力するととも
に、該画像復号化信号に基づいて、復号化処理の対象と
なる対象単位領域に対応する予測画像復号化信号を所定
の動き補償方法に基づく演算により生成する信号生成処
理を、所要の単位領域に対して行う画像復号化方法であ
って、上記画像符号化信号の復号化処理における演算負
荷の大きさを検出し、該検出した演算負荷の大きさに応
じて、上記信号生成処理における動き補償方法を切り替
えるものである。[0033] In the image processing method according to the present invention (claim 9), the input image coded signal is decoded for each unit area dividing the screen to output an image decoded signal, and the image decoding signal is output. Image decoding for performing a signal generation process for generating a predicted image decoded signal corresponding to a target unit region to be decoded by a calculation based on a predetermined motion compensation method on a required unit region based on the signal And detecting a magnitude of an operation load in the decoding process of the image-encoded signal, and switching a motion compensation method in the signal generation process according to the detected operation load. .
【0034】この発明(請求項10)は、請求項9記載
の画像処理方法において、実時間での上記信号生成処理
に必要な演算処理能力に基づいた演算負荷の閾値と、上
記検出した演算負荷の大きさとの比較結果に基づいて、
上記信号生成処理における動き補償方法を、必要となる
演算処理量が多い第1の動き補償方法と、必要となる演
算処理量が少ない第2の動き補償方法との間で切り替え
るものである。According to a tenth aspect of the present invention, in the image processing method according to the ninth aspect, a threshold value of an arithmetic load based on an arithmetic processing capability required for the signal generation processing in real time, and the detected arithmetic load is calculated. Based on the result of comparison with the size of
The motion compensation method in the signal generation process is switched between a first motion compensation method requiring a large amount of calculation processing and a second motion compensation method requiring a small amount of calculation processing.
【0035】この発明(請求項11)は、請求項9記載
の画像処理方法において、実時間での上記信号生成処理
に必要な演算処理能力に基づいた演算負荷の閾値と、上
記検出した演算負荷の大きさとの比較結果に基づいて、
上記信号生成処理における動き補償方法として、演算処
理量が異なる複数の動き補償方法のうちから、検出した
演算負荷の大きさに適した動き補償方法を選択するもの
である。According to a twelfth aspect of the present invention, in the image processing method according to the ninth aspect, a threshold value of a calculation load based on a calculation processing capability required for the signal generation processing in real time, and the detected calculation load is calculated. Based on the result of comparison with the size of
As the motion compensation method in the signal generation process, a motion compensation method suitable for the detected calculation load is selected from among a plurality of motion compensation methods having different calculation processing amounts.
【0036】この発明(請求項12)は、請求項9記載
の画像処理方法において、実時間での上記信号生成処理
に必要な演算処理能力に基づいた演算負荷の閾値と、上
記検出した演算負荷の大きさとの比較結果に基づいて、
上記信号生成処理における動き補償方法を、画素精度の
高い動きベクトルに基づいて上記予測画像復号化信号を
求める動き補償方法と、画素精度の低い動きベクトルに
基づいて上記予測画像復号化信号を求める動き補償方法
との間で切り替えるものである。According to a twelfth aspect of the present invention, in the image processing method according to the ninth aspect, a threshold value of a calculation load based on a calculation processing capability required for the signal generation processing in real time, and the detected calculation load is calculated. Based on the result of comparison with the size of
The motion compensation method in the signal generation processing includes a motion compensation method for obtaining the predicted image decoded signal based on a motion vector with high pixel accuracy, and a motion for obtaining the decoded image decoded signal based on a motion vector with low pixel accuracy. It switches between the compensation methods.
【0037】この発明(請求項13)は、請求項12記
載の画像処理方法において、上記演算負荷の閾値と演算
負荷の大きさとの比較結果に基づいて、上記画素精度の
高い動きベクトルに基づいて行われる動き補償方法の種
類を、演算負荷の大きい第1の動き補償方法と、演算負
荷の小さい第2の動き補償方法との間で切り替えるとと
もに、上記演算負荷の閾値と演算負荷の大きさとの比較
結果に基づいて、上記画素精度の低い動きベクトルに基
づいて行われる動き補償方法の種類を、演算負荷の大き
い第1の動き補償方法と、演算負荷の小さい第2の動き
補償方法との間で切り替えるものである。According to a thirteenth aspect of the present invention, in the image processing method according to the twelfth aspect, based on the comparison result between the threshold value of the calculation load and the magnitude of the calculation load, the image processing method is based on the motion vector with high pixel accuracy. The type of the motion compensation method to be performed is switched between a first motion compensation method having a large computation load and a second motion compensation method having a small computation load. On the basis of the comparison result, the type of the motion compensation method performed based on the motion vector having the low pixel precision is determined by comparing the type of the first motion compensation method with a large computation load with the second motion compensation method with a small computation load. Is to switch.
【0038】この発明(請求項14)に係る画像処理装
置は、画像入力信号を、画面を区分する単位領域毎に符
号化して画像符号化信号を出力する符号化処理部と、該
画像符号化信号を復号化して得られる画像復号化信号に
基づいて、符号化処理の対象となる対象単位領域に対応
する予測画像入力信号を所定の予測方法に基づく演算に
より生成する信号生成処理を、所要の単位領域に対して
行う予測処理部とを有する画像符号化装置であって、上
記予測処理部を、上記画像入力信号の符号化処理におけ
る演算負荷の大きさを検出する演算負荷検出手段を有
し、該検出した演算負荷の大きさに応じて、上記信号生
成処理における予測方法を切り替える構成としたもので
ある。An image processing device according to the present invention (claim 14) comprises: an encoding processing unit that encodes an image input signal for each unit area for dividing a screen and outputs an image encoded signal; A signal generation process of generating a predicted image input signal corresponding to a target unit area to be subjected to an encoding process by an operation based on a predetermined prediction method based on an image decoded signal obtained by decoding a signal, An image coding apparatus having a prediction processing unit for a unit area, wherein the prediction processing unit includes a calculation load detection unit that detects a magnitude of a calculation load in a coding process of the image input signal. The prediction method in the signal generation process is switched in accordance with the magnitude of the detected calculation load.
【0039】この発明(請求項15)は、請求項14記
載の画像処理装置において、上記予測処理部を、符号化
処理の対象となる被処理画面における対象単位領域に対
応する画像入力信号と、符号化処理が施された前画面に
対応する画像復号化信号とに基づいて、上記対象単位領
域に対する予測画像入力信号を与える前画面における予
測領域の位置を示す動きベクトルを出力する動き検出器
と、該動き検出器から出力される対象単位領域の動きベ
クトルに基づいて上記予測画像入力信号を算出する動き
補償器とを有する構成とし、上記動き検出器を、上記検
出された演算負荷の大きさに応じて、画素精度の低い第
1の動きベクトルと画素精度の高い第2の動きベクトル
のいずれかを上記動きベクトルとして上記動き補償器に
出力する構成としたものである。According to a fifteenth aspect of the present invention, in the image processing apparatus according to the fourteenth aspect, the prediction processing unit comprises: an image input signal corresponding to a target unit area on a target screen to be coded; A motion detector that outputs a motion vector indicating a position of a prediction area in a previous screen that gives a predicted image input signal to the target unit area based on an image decoded signal corresponding to the previous screen that has been subjected to the encoding process; A motion compensator that calculates the predicted image input signal based on the motion vector of the target unit area output from the motion detector, and the motion detector detects the magnitude of the detected calculation load. And outputting either one of the first motion vector with low pixel accuracy and the second motion vector with high pixel accuracy to the motion compensator as the motion vector. It is intended.
【0040】この発明(請求項16)に係る画像処理装
置は、入力された画像符号化信号を、画面を区分する単
位領域毎に復号化して画像復号化信号を出力する復号化
処理部と、該画像復号化信号に基づいて、復号化処理の
対象となる対象単位領域に対応する予測画像復号化信号
を所定の動き補償方法に基づく演算により生成する信号
生成処理を、所要の単位領域に対して行う予測処理部と
を有する画像復号化装置であって、上記予測処理部を、
上記画像符号化信号の復号化処理における演算負荷の大
きさを検出する演算負荷検出手段を備え、該検出した演
算負荷の大きさに応じて、上記信号生成処理における動
き補償方法を切り替える構成としたものである。An image processing apparatus according to the present invention (claim 16) decodes an input image coded signal for each unit area dividing a screen, and outputs an image decoded signal; A signal generation process of generating a predicted image decoded signal corresponding to a target unit region to be decoded by an operation based on a predetermined motion compensation method based on the image decoded signal, for a required unit region An image decoding apparatus having a prediction processing unit that performs the prediction processing unit.
It is provided with an operation load detecting means for detecting the amount of operation load in the decoding process of the image coded signal, and is configured to switch the motion compensation method in the signal generation process according to the detected operation load. Things.
【0041】この発明(請求項17)は、請求項16記
載の画像処理装置において、上記予測処理部を、復号化
処理の対象となる被処理画面より先に復号化処理が施さ
れた前画面における、上記対象単位領域に対応する予測
画像復号化信号を与える予測領域の位置を示す動きベク
トル情報に基づいて、上記予測画像復号化信号を生成す
る構成であって、上記対象単位領域の動きベクトル情報
に基づいて、該対象単位領域に対応する予測画像復号化
信号を算出する、演算処理量の少ない第1の動き補償処
理と、該対象単位領域及びその周辺の単位領域の動きベ
クトル情報に基づいて該対象単位領域に対応する予測画
像復号化信号を算出する、演算処理量の大きい第2の動
き補償処理のうちの一方の処理を、上記検出された演算
負荷の大きさに応じて選択して行う動き補償器を有する
構成としたものである。According to a seventeenth aspect of the present invention, in the image processing apparatus according to the sixteenth aspect, the prediction processing unit is configured to perform the decoding process on the previous screen which has been subjected to the decoding process prior to the target screen to be decoded. Wherein, based on the motion vector information indicating the position of the prediction region that gives the predicted image decoded signal corresponding to the target unit region, the predicted image decoded signal is generated, and the motion vector of the target unit region is generated. Calculating a predicted image decoded signal corresponding to the target unit area based on the information, a first motion compensation process with a small amount of processing, and motion vector information of the target unit area and unit areas surrounding the target unit area; One of the second motion compensation processes that requires a large amount of calculation to calculate a predicted image decoded signal corresponding to the target unit area according to the detected calculation load. It is obtained by a structure having a motion compensator for performing selected Te.
【0042】この発明(請求項18)に係るデータ記憶
媒体は、コンピュータに画像符号化処理を行わせるため
のプログラムを格納したデータ記憶媒体であって、画像
入力信号を、画面を区分する単位領域毎に符号化して画
像符号化信号を出力するとともに、該画像符号化信号を
復号化して得られる画像復号化信号に基づいて、符号化
処理の対象となる対象単位領域に対応する予測画像入力
信号を所定の予測方法に基づく演算により生成する信号
生成処理を、所要の単位領域に対して行い、この際、上
記画像入力信号の符号化処理における演算負荷の大きさ
を検出し、該検出した演算負荷の大きさに応じて、上記
信号生成処理における予測方法を切り替える画像符号化
処理を、コンピュータが行うよう、上記プログラムを構
成したものである。A data storage medium according to the present invention (claim 18) is a data storage medium storing a program for causing a computer to perform an image encoding process, wherein an image input signal is converted into a unit area for dividing a screen. A predicted image input signal corresponding to a target unit area to be subjected to an encoding process, based on an image decoded signal obtained by decoding the image encoded signal while encoding the encoded image signal every time. Is performed on a required unit area by performing a calculation based on a predetermined prediction method. At this time, the magnitude of the calculation load in the coding process of the image input signal is detected, and the detected calculation is performed. The above-described program is configured so that a computer performs an image encoding process for switching a prediction method in the signal generation process according to a magnitude of a load.
【0043】この発明(請求項19)に係るデータ記憶
媒体は、コンピュータに画像復号化処理を行わせるため
のプログラムを格納したデータ記憶媒体であって、入力
された画像符号化信号を、画面を区分する単位領域毎に
復号化して画像復号化信号を出力するとともに、該画像
復号化信号に基づいて、復号化処理の対象となる対象単
位領域に対応する予測画像復号化信号を所定の動き補償
方法に基づく演算により生成する信号生成処理を、所要
の単位領域に対して行い、この際、上記画像符号化信号
の復号化処理における演算負荷の大きさを検出し、該検
出した演算負荷の大きさに応じて、上記信号生成処理に
おける動き補償方法を切り替える画像復号化処理を、コ
ンピュータが行うよう、上記プログラムを構成したもの
である。A data storage medium according to the present invention (claim 19) is a data storage medium storing a program for causing a computer to perform an image decoding process. Decoding is performed for each unit area to be divided, and an image decoded signal is output. Based on the image decoded signal, a predicted image decoded signal corresponding to a target unit area to be decoded is subjected to predetermined motion compensation. A signal generation process generated by a calculation based on the method is performed on a required unit area. At this time, the magnitude of the computation load in the decoding process of the image coded signal is detected, and the magnitude of the detected computation load is detected. The program is configured so that a computer performs an image decoding process for switching a motion compensation method in the signal generation process in accordance with the above.
【0044】[0044]
【発明の実施の形態】以下、本発明の実施の形態につい
て図1から図11を用いて説明する。 実施の形態1.図1は本発明の実施の形態1による画像
処理装置である画像符号化装置を説明するためのブロッ
ク図である。この実施の形態1の画像符号化装置100
は、画像入力信号として、MPEG1,2に準拠した1
フレームに対応する画像信号だけでなく、MPEG4に
準拠した1オブジェクト領域に対応する画像信号も処理
可能な構成となっているが、いずれの画像信号について
も基本的な処理は同一であるため、具体的な説明は、1
フレームの画像信号の処理についてのみ行う。なお、M
PEG4の場合は、1フレームに対応する画像信号の符
号化処理と同様に、個々のオブジェクト領域に対応する
画像信号の符号化処理が行われ、これらが合成されて1
つのビットストリームとして出力される。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS. Embodiment 1 FIG. FIG. 1 is a block diagram for explaining an image coding apparatus which is an image processing apparatus according to Embodiment 1 of the present invention. Image coding apparatus 100 according to the first embodiment
Is an MPEG1 or MPEG1 compliant image input signal.
Although the image signal corresponding to one object area compliant with MPEG4 as well as the image signal corresponding to the frame is configured to be processed, the basic processing is the same for any of the image signals. Typical explanation is 1
Only the processing of the frame image signal is performed. Note that M
In the case of PEG4, similarly to the encoding process of the image signal corresponding to one frame, the encoding process of the image signal corresponding to each object area is performed, and these are combined to form one image.
Output as two bit streams.
【0045】以下詳しく説明すると、上記画像符号化装
置100は、画像入力信号Sgを受け、該画像入力信号
Sgを、符号化処理の単位となるブロックに対応するよ
う分割して画像信号(以下、ブロック化画像信号ともい
う。)Bgを出力するブロック化器101と、該ブロッ
ク化器101の出力Bgに基づいて、符号化処理の対象
となる対象ブロックについて、どのようなモードの符号
化処理を施すかを判定して、この判定結果に応じた制御
信号Cs1,Cs2を出力するモード判定器105と、
該対象ブロックに対応するブロック化画像信号Bgを予
測して、上記対象ブロックに対応する予測信号(予測画
像入力信号)Pg1を所定の予測方法に基づく演算処理
により生成する予測信号生成部(予測処理部)110と
を有している。More specifically, the image encoding apparatus 100 receives an image input signal Sg, divides the image input signal Sg into a unit corresponding to a block serving as an encoding unit, and divides the image input signal Sg into an image signal (hereinafter, referred to as a unit). Based on the block generator 101 that outputs Bg and the output block Bg of the block generator 101, what mode of the encoding process is performed for the target block to be subjected to the encoding process. A mode determiner 105 that determines whether or not to apply the control signal and outputs control signals Cs1 and Cs2 according to the determination result;
A prediction signal generation unit (prediction process) that predicts a blocked image signal Bg corresponding to the target block and generates a prediction signal (predicted image input signal) Pg1 corresponding to the target block by an arithmetic process based on a predetermined prediction method. ) 110.
【0046】また、上記画像符号化装置100は、上記
対象ブロックの画像信号Bgとその予測信号Pg1との
差分を差分信号Bgdとして出力する減算器106と、
上記モード判定器105からの制御信号Cs1に基づい
て、上記ブロック化器101の出力Bgと減算器106
の出力Bgdの一方を選択する第1のスイッチ102
と、該スイッチ102の出力を情報圧縮して画像圧縮信
号Cgを出力する情報圧縮器103と、該情報圧縮器1
03の出力Cgに対して可変長符号化処理を施して画像
符号化信号Egを出力する可変長符号化器(VLC)1
04とを有している。The image coding apparatus 100 further comprises a subtractor 106 for outputting a difference between the image signal Bg of the target block and its prediction signal Pg1 as a difference signal Bgd,
Based on the control signal Cs1 from the mode decision unit 105, the output Bg of the blocking unit 101 and the subtractor 106
Switch 102 for selecting one of the outputs Bgd
An information compressor 103 for compressing the output of the switch 102 to output an image compression signal Cg;
A variable length coder (VLC) 1 that performs a variable length coding process on the output Cg of No. 03 and outputs an image coded signal Eg
04.
【0047】ここで、上記情報圧縮器103は、対象ブ
ロックの画像信号Bgあるいは差分信号Bgdに対し
て、周波数変換処理の一種であるDCT(離散コサイン
変換)処理を施すDCT変換器と、該周波数変換により
得られる周波数成分(DCT係数)を量子化して量子化
係数を上記画像圧縮信号Cgとして出力する量子化器と
から構成されている。なお、上記スイッチ102は、上
記モード判定器105での判定の結果、対象ブロックの
画像信号に対して画面内相関を利用したフレーム内符号
化処理を施す場合には、ブロック化器101の出力Bg
を選択し、上記判定の結果、対象ブロックの画像信号に
対して画面間相関を利用したフレーム間符号化処理を施
す場合には、減算器106の出力Bgdを選択するよう
制御される。Here, the information compressor 103 performs a DCT (discrete cosine transform) process, which is a kind of frequency transform process, on the image signal Bg or the difference signal Bgd of the target block, And a quantizer that quantizes frequency components (DCT coefficients) obtained by the conversion and outputs the quantized coefficients as the image compression signal Cg. The switch 102 sets the output Bg of the block generator 101 when the intra-frame encoding process using the intra-screen correlation is performed on the image signal of the target block as a result of the determination by the mode determiner 105.
Is selected, and as a result of the above-described determination, when the inter-frame encoding process using the inter-screen correlation is performed on the image signal of the target block, the output Bgd of the subtractor 106 is controlled to be selected.
【0048】また、上記予測信号生成部110は、上記
情報圧縮器103の出力Cgを情報伸長して上記画像信
号Bgあるいは差分信号Bgdを画像伸長信号LDとし
て出力する情報伸長器(DEC)112と、該画像伸長
信号LDが該情報伸長された画像信号Bgである場合こ
れをそのまま出力し、該画像伸長信号LDが上記情報伸
長された差分信号Bgdである場合にはこれを予測信号
Pg1と加算して出力する加算処理部111とを有して
いる。The prediction signal generator 110 expands the information Cg of the information compressor 103 and outputs an image signal Bg or a difference signal Bgd as an image expansion signal LD. If the image expansion signal LD is the information-expanded image signal Bg, it is output as it is, and if the image expansion signal LD is the information-expanded difference signal Bgd, it is added to the prediction signal Pg1. And an addition processing section 111 for outputting.
【0049】ここで、上記情報伸長器112は、上記情
報圧縮器103の出力Cgを逆量子化する逆量子化器
と、逆量子化された情報圧縮器の出力Cgに対し、周波
数領域のデータを空間領域のデータに変換する逆DCT
処理を施して上記画像伸長信号LDを出力するIDCT
器とから構成されている。また、上記加算処理部111
は、上記モード判定器105からの制御信号Cs2によ
り切替制御される第2のスイッチ111aと、該スイッ
チ111aの出力と上記情報伸長器112の出力LDと
を加算する加算器111bとから構成されている。な
お、上記スイッチ111aは、上記モード判定器105
での判定の結果、対象ブロックの画像信号をフレーム内
符号化する場合には、開放された入力端子T1を選択
し、上記判定の結果、対象ブロックの画像信号をフレー
ム間符号化する場合には、予測信号が入力される入力端
子T2を選択するよう制御される。Here, the information decompressor 112 is a dequantizer for dequantizing the output Cg of the information compressor 103 and a frequency domain data for the dequantized output Cg of the information compressor. Inverse DCT for transforming に into spatial domain data
IDCT that performs processing and outputs the image expansion signal LD
Container. The addition processing unit 111
Is composed of a second switch 111a that is switched and controlled by a control signal Cs2 from the mode determination unit 105, and an adder 111b that adds the output of the switch 111a and the output LD of the information decompression unit 112. I have. The switch 111a is connected to the mode determiner 105
As a result of the determination in, when the image signal of the target block is to be intra-frame encoded, the open input terminal T1 is selected. As a result of the above determination, when the image signal of the target block is inter-frame encoded, Is controlled to select the input terminal T2 to which the prediction signal is input.
【0050】また、上記予測信号生成部110は、上記
加算器111bの出力LRを被処理フレームの前のフレ
ーム(前フレーム)に対する画像再生信号として格納す
るフレームメモリ113と、上記加算器111bの出力
LRを受け、1フレームに対する符号化処理における演
算負荷の大きさを判定する負荷判定器114と、上記負
荷判定器114から出力される演算負荷の大きさを示す
負荷信号Cpに基づく演算により、対象ブロックの画像
信号Bgに対する予測信号を求める演算処理部120と
を有している。The prediction signal generator 110 includes a frame memory 113 for storing the output LR of the adder 111b as an image reproduction signal for a frame preceding the frame to be processed (previous frame), and an output of the adder 111b. The load determination unit 114 receives the LR and determines the magnitude of the computational load in the encoding process for one frame, and performs the computation based on the load signal Cp indicating the magnitude of the computational load output from the load determination unit 114. And an arithmetic processing unit 120 for obtaining a prediction signal for the image signal Bg of the block.
【0051】ここで、上記負荷判定器114は、例えば
演算負荷の大きさを示す負荷の指標Rを、単位時間(1
フレーム)当たりの符号化処理における演算量であらわ
し、本画像符号化装置100の演算処理能力に対応した
演算負荷の閾値THを、0.5画素精度の動きベクトル
を用いたオーバーラップ動き補償処理に必要とされる単
位時間当たりの符号化処理における演算量とし、上記負
荷の指標Rと閾値THを比較して処理能力が十分である
か否かを動き補償処理を行う度に判定する構成となって
いる。なお、上記負荷判定器114の構成は、上記のも
のに限らず、例えば、上記負荷判定器114は、フレー
ムメモリ113などから1フレームの画像信号に対する
局所復号化処理が終了したタイミングのみを受け、この
タイミング間隔を演算量である負荷の指標Rに変換し、
この負荷の指標Rを上記演算負荷の閾値THと比較し
て、処理能力の判定を行う構成としてもよい。この場
合、加算器111bの出力LRである局所復号化された
画像信号を、上記負荷判定器114に送る必要がなくな
り、該負荷判定器114へ送るデータ量を大きく削減す
ることができる。Here, the load determiner 114 determines, for example, a load index R indicating the magnitude of the operation load by a unit time (1
The amount of calculation in the encoding process per frame) is described, and the threshold value TH of the computation load corresponding to the computation processing capability of the image encoding device 100 is used for the overlap motion compensation process using a 0.5-pixel precision motion vector. The amount of calculation in the required encoding processing per unit time is used, and the load index R is compared with the threshold value TH to determine whether or not the processing capacity is sufficient each time the motion compensation processing is performed. ing. The configuration of the load determiner 114 is not limited to the above. For example, the load determiner 114 receives only the timing at which the local decoding process for the image signal of one frame is completed from the frame memory 113 or the like. This timing interval is converted into a load index R which is a calculation amount,
A configuration may be adopted in which the processing index is determined by comparing the load index R with the threshold value TH of the calculation load. In this case, it is not necessary to send the locally decoded image signal, which is the output LR of the adder 111b, to the load determiner 114, and the amount of data sent to the load determiner 114 can be greatly reduced.
【0052】また、上記演算処理部120は、上記フレ
ームメモリ113の出力Rg1と対象ブロックの画像信
号Bgとに基づいて、対象ブロックの画像信号Bgとの
誤差が最も小さい画像信号を有する、前フレームにおけ
る上記対象ブロックと同一サイズの領域(予測領域)を
示す動き変位情報(動きベクトル)MVを求めて出力す
る動き検出器(ME)121と、該動き検出器121か
らの動きベクトルMVに基づいて上記フレームメモリ1
13のアドレスAdd1を発生し、該アドレスに対応す
るメモリ領域の画像信号に所要の演算処理を施して上記
予測信号Pg1を算出する動き補償器(MC)122と
を有している。The arithmetic processing unit 120 determines, based on the output Rg1 of the frame memory 113 and the image signal Bg of the target block, an image signal having the smallest error between the image signal Bg of the target block and the previous frame. And a motion detector (ME) 121 that obtains and outputs motion displacement information (motion vector) MV indicating an area (prediction area) of the same size as the target block described above, and a motion vector MV from the motion detector 121. The above frame memory 1
And a motion compensator (MC) 122 that generates thirteen addresses Add1 and performs required arithmetic processing on the image signal in the memory area corresponding to the address to calculate the prediction signal Pg1.
【0053】そして、この実施の形態1では、上記動き
検出器121は、上記ブロック化器101の出力Bg及
びフレームメモリ113の出力Rg1を受け、上記負荷
信号Cpに応じた演算処理により、精度の低い第1の動
きベクトル(1画素精度の動きベクトル)あるいは精度
の高い第2の動きベクトル(0.5画素精度の動きベク
トル)を求め、いずれかの動きベクトルを上記動き補償
器122に出力する構成となっている。つまり、上記動
き検出器121では、演算負荷が大きいときは、1画素
精度の動きベクトルを生成する第1の演算処理が行わ
れ、一方、演算負荷が小さいときは、該第1の演算処理
に加えて、該1画素精度の動きベクトルから、これより
精度の高い0.5画素精度の動きベクトルを求める第2
の演算処理が行われる。In the first embodiment, the motion detector 121 receives the output Bg of the blocking unit 101 and the output Rg1 of the frame memory 113, and performs an arithmetic operation in accordance with the load signal Cp to obtain the accuracy. A low first motion vector (a motion vector with one pixel accuracy) or a high accuracy second motion vector (a motion vector with 0.5 pixel accuracy) is obtained, and either motion vector is output to the motion compensator 122. It has a configuration. That is, in the motion detector 121, when the calculation load is large, the first calculation process for generating a motion vector with one-pixel accuracy is performed. On the other hand, when the calculation load is small, the first calculation process is performed. In addition, from the 1-pixel accuracy motion vector, a second 0.5-pixel accuracy motion vector having a higher accuracy is calculated.
Is performed.
【0054】また、この実施の形態1では、上記動き補
償器122は、上記負荷判定器114からの負荷判定出
力Cpに基づいて、上記動き検出器121から出力され
る動きベクトルに基づいて予測信号を求める動き補償処
理を、通常の動き補償とオーバーラップ動き補償との間
で切り替える構成となっている。つまり、上記動き補償
器122では、演算負荷が大きいときは、演算処理量が
少ない通常の動き補償処理が行われ、一方、演算負荷が
小さいときは、演算処理量が多いが画質の向上を図るこ
とができるオーバーラップ動き補償処理が行われるよう
になっている。In the first embodiment, the motion compensator 122 outputs a prediction signal based on the motion vector output from the motion detector 121 based on the load determination output Cp from the load determiner 114. Is switched between normal motion compensation and overlap motion compensation. That is, in the motion compensator 122, when the calculation load is large, normal motion compensation processing with a small calculation processing amount is performed. On the other hand, when the calculation load is small, the image processing amount is large but the image quality is improved. The overlap motion compensation processing is performed.
【0055】次に動作について説明する。図2(a) は本
発明の実施の形態1による画像処理装置による画像信号
の符号化処理を説明するためのフローチャートを示す。
本画像符号化装置100に画像入力信号Sgが入力され
ると、ステップS0にて前処理が行われる。すなわち、
本画像符号化装置100に入力された画像入力信号Sg
は、ブロック化器101にて、画像が表示される1画面
(フレーム)を区分する、所定サイズのブロック領域に
対応するようブロック化されて出力される。ここでは、
上記画像入力信号Sgは、(8×8)個または(16×
16)個のサンプルからなる矩形形状のブロック領域に
対応するよう分割されるが、上記画像入力信号Sgは、
任意の形状のブロック領域に対応するよう分割してもよ
い。Next, the operation will be described. FIG. 2 (a) is a flowchart for explaining an image signal encoding process performed by the image processing apparatus according to the first embodiment of the present invention.
When the image input signal Sg is input to the image encoding device 100, preprocessing is performed in step S0. That is,
The image input signal Sg input to the image encoding device 100
Are divided into blocks by a blocking unit 101 so as to correspond to a block area of a predetermined size, which divides one screen (frame) on which an image is displayed, and is output. here,
The image input signal Sg is (8 × 8) or (16 × 8)
16) The image input signal Sg is divided so as to correspond to a rectangular block area composed of samples.
It may be divided so as to correspond to a block region having an arbitrary shape.
【0056】そして、上記モード判定器105では、各
ブロックの画像信号(ブロック化画像信号)Bgに基づ
いて、符号化処理モードの判定,例えば画面内相関を利
用した画面内符号化処理、画面間相関を利用した画面間
符号化処理などのいずれの符号化処理を施すかの判定が
行われ、判定結果に対応した信号を制御信号Cs1,C
s2として出力する。The mode determination unit 105 determines an encoding processing mode based on the image signal (blocked image signal) Bg of each block, for example, an intra-screen encoding process using intra-screen correlation, A determination is made as to which encoding process, such as an inter-frame encoding process using correlation, is to be performed, and signals corresponding to the determination result are converted to control signals Cs1, Cs1.
Output as s2.
【0057】次に、ステップS1にて予測信号の生成処
理が行われる。つまり、上記予測信号生成部110の情
報伸長器112では、画像圧縮信号Cgに対する伸長処
理が行われ、画像伸長信号LDが出力される。そして、
フレーム間符号化処理を行う場合、この画像伸長信号L
Dは上記加算器111bにて上記予測信号Pg1と加算
され、該加算器111bからは画像再生信号LRが上記
フレームメモリ113及び負荷判定器114に出力され
る。なお、フレーム内符号化処理を行う場合は、予測処
理は行われない。Next, in step S1, a process of generating a prediction signal is performed. That is, the information decompressor 112 of the prediction signal generator 110 performs the decompression process on the compressed image signal Cg and outputs the decompressed signal LD. And
When performing an inter-frame encoding process, the image expansion signal L
D is added to the prediction signal Pg1 by the adder 111b, and the image reproduction signal LR is output from the adder 111b to the frame memory 113 and the load determiner 114. When the intra-frame encoding process is performed, the prediction process is not performed.
【0058】また、上記予測信号生成部110の演算処
理部120には、上記対象ブロックの画像信号Bgが入
力されると同時に、フレームメモリ113からは伸長画
像信号LDが、符号化処理がすでに施された前フレーム
の画像信号として供給される。この演算処理部120で
は、上記負荷判定器114の判定出力Cpに基づいて、
予測信号を算出するための演算処理が行われる。具体的
には、上記対象ブロックの画像信号Bgが動き検出器1
21に入力されると同時に、フレームメモリ113から
画像再生信号Rg1が前フレームの画像信号として動き
検出器121に読み出される。At the same time as the image signal Bg of the target block is input to the arithmetic processing unit 120 of the prediction signal generation unit 110, the decompressed image signal LD from the frame memory 113 is already encoded. Is supplied as the image signal of the previous frame. In the arithmetic processing unit 120, based on the determination output Cp of the load determiner 114,
An arithmetic process for calculating a prediction signal is performed. Specifically, the image signal Bg of the target block is
Simultaneously with the input to the frame memory 21, the image reproduction signal Rg1 is read out from the frame memory 113 to the motion detector 121 as the image signal of the previous frame.
【0059】この動き検出器121では、ブロックマッ
チングなどの方法により、対象ブロックの画像信号Bg
に対し誤差の最も小さい画像信号を有する、前フレーム
における領域が予測領域として検出され、該予測領域の
位置を、被処理フレーム(現フレーム)における対象ブ
ロックと同じ位置の前フレームにおける同位置ブロック
を基準として示す動き変位情報(動きベクトル)MVが
出力される。この動きベクトルMVは動き補償器122
に送られ、該動き補償器122では、前フレームの予測
領域に対応する画像信号から予測信号が生成される。な
お、このとき上記対象ブロックに対する動きベクトルM
Vは可変長符号化器104に供給され、対応する可変長
符号に変換される。ここでは、上記動き検出器121に
よる動きベクトルの検出、及び動き補償器122による
予測信号の算出は、上記負荷判定器104からの負荷判
定出力Cpに基づいて行われる。In the motion detector 121, the image signal Bg of the target block is obtained by a method such as block matching.
The region in the previous frame having the image signal with the smallest error is detected as the prediction region, and the position of the prediction region is determined by using the same position block in the previous frame at the same position as the target block in the processed frame (current frame). The motion displacement information (motion vector) MV shown as a reference is output. This motion vector MV is calculated by the motion compensator 122.
The motion compensator 122 generates a prediction signal from an image signal corresponding to the prediction region of the previous frame. At this time, the motion vector M for the target block
V is supplied to the variable-length encoder 104 and is converted into a corresponding variable-length code. Here, the detection of the motion vector by the motion detector 121 and the calculation of the prediction signal by the motion compensator 122 are performed based on the load determination output Cp from the load determiner 104.
【0060】以下詳述すると、図2(b) は上記予測信号
の生成処理の流れをフローチャートにより示している。
図2(b) に示すように、負荷判定ステップS11では、
負荷判定器114により、その時点での演算負荷の大き
さを表す負荷指標Rの判定が行われる。More specifically, FIG. 2B is a flowchart showing the flow of the process of generating the prediction signal.
As shown in FIG. 2B, in the load determination step S11,
The load index R that indicates the magnitude of the computation load at that time is determined by the load determiner 114.
【0061】この判定の結果、上記負荷指標Rが本画像
符号化装置の演算処理能力から決まる閾値THより小さ
い場合は、ステップS12にて、演算処理量は大きいが
符号化効率を改善できる予測信号の生成処理が行われ
る。つまり、上記動き検出器121では、まず1画素精
度の動きベクトルが求められ、さらにこの動きベクトル
に基づいて0.5画素精度の動きベクトルが求められ、
この0.5画素精度の動きベクトルが上記動き補償器1
22に出力される。また、該動き補償器122では、上
記0.5画素動きベクトルに基づいて、複数の予測領域
に対応する画像信号を、画素毎に設定されている所定の
重み付け比率でもって合成して予測信号を生成するオー
バーラップ動き補償が行われる。As a result of this determination, if the load index R is smaller than the threshold value TH determined by the arithmetic processing capability of the present image encoding apparatus, at step S12, a prediction signal which has a large arithmetic processing amount but can improve the encoding efficiency. Is generated. That is, the motion detector 121 first obtains a motion vector with 1-pixel accuracy, and further obtains a motion vector with 0.5-pixel accuracy based on this motion vector.
The 0.5-pixel-accuracy motion vector is the motion compensator 1
22. In addition, the motion compensator 122 combines the image signals corresponding to the plurality of prediction regions with a predetermined weighting ratio set for each pixel based on the 0.5 pixel motion vector, and generates a prediction signal. The generated overlap motion compensation is performed.
【0062】一方、上記負荷判定の結果、負荷指標Rが
上記閾値THに比べて大きい場合は、ステップS13に
て、演算負荷を削減した演算処理量の少ない予測信号の
生成処理が行われる。つまり、上記動き検出器121で
は、0.5画素精度の動きベクトルを求める処理が省略
され、1画素精度の動きベクトルが上記動き補償器12
2に出力され、上記動き補償器122では、この1画素
精度の動きベクトルに基づいて、1つの予測領域に対応
する画像信号を予測信号として出力する通常の動き補償
処理が行われる。その後、ステップS2にて、対象ブロ
ックの画像信号Bgあるいは差分信号Bgdに対する圧
縮符号化処理が行われる。On the other hand, as a result of the load determination, when the load index R is larger than the threshold value TH, in step S13, a process of generating a prediction signal with a reduced calculation processing amount and a reduced calculation load is performed. That is, in the motion detector 121, the process of obtaining a 0.5-pixel accuracy motion vector is omitted, and the 1-pixel accuracy motion vector is calculated by the motion compensator 12.
2, the motion compensator 122 performs a normal motion compensation process of outputting an image signal corresponding to one prediction region as a prediction signal based on the one-pixel precision motion vector. Thereafter, in step S2, a compression encoding process is performed on the image signal Bg or the difference signal Bgd of the target block.
【0063】すなわち、上記モード判定器105の出力
Cs1に基づいて、上記第1のスイッチ102が切替制
御される。ブロック化画像信号Bgが画面内符号化モー
ドで符号化される場合は、該画像信号Bgは該スイッチ
102を介して情報圧縮器103に出力される。この情
報圧縮器103における圧縮処理は、DCT器による周
波数変換および量子化器による量子化によって行われる
が、上記圧縮処理には、サブバンド変換やベクトル量子
化などの方法を用いてもよい。ここでは、量子化された
画像信号Cgが可変長符号化器104に供給されて可変
長符号化される。That is, the first switch 102 is controlled to be switched based on the output Cs1 of the mode determining unit 105. When the block image signal Bg is encoded in the intra-screen encoding mode, the image signal Bg is output to the information compressor 103 via the switch 102. The compression processing in the information compressor 103 is performed by frequency conversion by a DCT unit and quantization by a quantizer. For the compression processing, a method such as subband conversion or vector quantization may be used. Here, the quantized image signal Cg is supplied to the variable-length encoder 104 and subjected to variable-length encoding.
【0064】一方、ブロック化画像信号Bgが画面間符
号化モードで符号化される場合は、該画像信号Bgから
予測信号Pg1を引き算する減算器106の出力(差分
信号)Bgdが、該スイッチ102を介して情報圧縮器
103に出力される。この情報圧縮器103における上
記差分信号Bgdの圧縮処理は、上記画像信号Bgと同
様に行われる。On the other hand, when the block image signal Bg is encoded in the inter-picture encoding mode, the output (difference signal) Bgd of the subtractor 106 for subtracting the prediction signal Pg1 from the image signal Bg is supplied to the switch 102. Is output to the information compressor 103 via The compression processing of the difference signal Bgd in the information compressor 103 is performed in the same manner as the image signal Bg.
【0065】このように本実施の形態1では、負荷判定
器114により符号化処理における演算負荷の大きさ
(指標)Rを判定し、演算負荷の指標Rが本画像符号化
装置100の演算処理能力に対応した閾値THに比べて
小さい場合は、演算処理量が大きいが符号化効率のよい
予測信号の生成処理を行い、一方、演算負荷の指標Rが
上記演算処理能力に対応した閾値THに比べて大きい場
合は、上記予測信号の生成処理に比べて演算処理量の少
ない通常の予測信号の生成処理を行うようにしたので、
符号化効率のよい予測信号生成処理を、復号化側にて実
時間処理により再生される映像への、演算処理能力の不
足に起因する悪影響を抑えつつ行うことができ、これに
より符号化効率がよく、しかも再生画像の画質劣化を低
減した符号化処理を実現することができる。As described above, in the first embodiment, the load determination unit 114 determines the magnitude (index) R of the computational load in the encoding process, and the index R of the computational load is used as the index of the computational load. If the threshold value TH is smaller than the threshold value TH corresponding to the capacity, the processing of generating a prediction signal having a large amount of processing but high encoding efficiency is performed. If it is larger than the above, the processing of generating a normal prediction signal having a smaller amount of calculation processing than the processing of generating the prediction signal is performed.
It is possible to perform a prediction signal generation process with good encoding efficiency while suppressing the adverse effect due to lack of arithmetic processing capability on a video reproduced by real-time processing on the decoding side. It is possible to realize an encoding process that is good and that reduces degradation in the image quality of a reproduced image.
【0066】例えば、オーバーラップ動き補償に代えて
通常の動き補償を行った場合、画像符号化装置の中央演
算処理装置に対して入出力される画素値としてのデータ
量が1/3に削減されることとなり、また、オーバーラ
ップ動き補償での重み付け処理における乗算処理や周辺
ブロックの動きベクトルに基づくアドレスの発生処理等
の演算処理が削減される。For example, when ordinary motion compensation is performed instead of overlap motion compensation, the amount of data as pixel values input / output to / from the central processing unit of the image encoding device is reduced to 1/3. In addition, arithmetic processing such as multiplication processing in weighting processing in overlap motion compensation and processing for generating addresses based on motion vectors of peripheral blocks is reduced.
【0067】なお、上記実施の形態1では、上記負荷の
指標Rを符号化処理における演算量としているが、上記
負荷の指標Rは、予め定めた演算を処理するのに必要な
時間としてもよい。In the first embodiment, the load index R is a calculation amount in the encoding process. However, the load index R may be a time required for processing a predetermined calculation. .
【0068】また、上記実施の形態1では、負荷の判定
を個々のブロックに対応した動き予測処理(動きベクト
ルの検出)を行う度に実施する場合について示したが、
負荷の判定は必ずしも動きベクトルの検出を行う毎に実
施する必要はなく、例えば、負荷の判定は、符号化処理
の開始時に一度実施して、以降は同じ判定結果を用いる
ようにしてもよく、また、フレーム毎に周期的に行うよ
うにしてもよい。In the first embodiment, a case has been described in which the load is determined each time a motion prediction process (detection of a motion vector) corresponding to each block is performed.
The determination of the load does not necessarily have to be performed every time the motion vector is detected.For example, the determination of the load may be performed once at the start of the encoding process, and thereafter, the same determination result may be used. Further, the processing may be performed periodically for each frame.
【0069】さらに、上記実施の形態1では、演算負荷
の大きさに応じて、動き検出器121及び動き補償器1
22の両方にて、演算処理を切り替える構成としている
が、演算負荷に応じた演算処理の切替は、動き検出器1
21及び動き補償器122のいずれか一方で行うように
してもよい。例えば、動き検出器121における画素精
度の切替,つまり1画素精度の動きベクトルと0.5画
素精度の動きベクトルの両方を生成する処理と、1画素
精度の動きベクトルのみ生成する処理とを切り換える処
理のみ行うようにしてもよく、あるいは動き補償器12
2における通常の動き補償処理とオーバーラップ動き補
償との切替のみ行うようにしてもよい。さらには、動き
補償器122における通常の動き補償処理として、画素
精度が異なる動きベクトルに基づく複数の動き補償処理
のうちの1つを選択して行うようにしてもよい。Further, in the first embodiment, the motion detector 121 and the motion compensator 1
In both cases, the arithmetic processing is switched in accordance with the arithmetic load.
21 or the motion compensator 122. For example, switching of pixel accuracy in the motion detector 121, that is, switching between processing for generating both a motion vector with 1-pixel accuracy and a motion vector with 0.5-pixel accuracy and processing for generating only a motion vector with 1-pixel accuracy. Or the motion compensator 12
Only the switching between the normal motion compensation processing and the overlap motion compensation in step 2 may be performed. Furthermore, as the normal motion compensation processing in the motion compensator 122, one of a plurality of motion compensation processes based on motion vectors having different pixel precisions may be selected and performed.
【0070】また、上記実施の形態1では、動きベクト
ルの生成処理は階層的な演算処理により実現しており、
つまり0.5画素精度の動きベクトルの生成処理は、1
画素精度の動きベクトルを生成する基本的な第1の演算
処理に加えて付加的な第2の演算処理を行うことにより
実現しており、画素精度の切り替えは、上記付加的な演
算処理を行うか否かにより行われているが、動きベクト
ルの生成処理は上記のような階層的な演算処理により実
現されるものに限らない。例えば、動きベクトルの生成
を行うモジュールとして、1画素精度の動きベクトルを
生成するための演算処理を行う第1のモジュールと、
0.5画素精度の動きベクトルを生成するための演算処
理を行う第2のモジュールとを備え、これらのモジュー
ルを切り替えることにより、画素精度の切り替えを行う
ようにしてもよい。In the first embodiment, the motion vector generation process is realized by a hierarchical operation process.
That is, the process of generating a motion vector with 0.5 pixel accuracy is 1
This is realized by performing an additional second operation process in addition to the basic first operation process for generating a pixel-accurate motion vector. Switching of pixel accuracy is performed by the above-described additional operation process. However, the processing for generating the motion vector is not limited to the processing realized by the above-described hierarchical calculation processing. For example, as a module for generating a motion vector, a first module for performing an arithmetic process for generating a motion vector with 1-pixel accuracy;
A second module for performing an arithmetic process for generating a motion vector with 0.5 pixel accuracy may be provided, and the pixel accuracy may be switched by switching these modules.
【0071】さらに、画素精度の切替は、0.5画素精
度と1画素精度の切替に限るものではなく、0.5画素
精度と2画素精度の切替、あるいは1画素精度と2画素
精度の切替であってもよく、さらには、0.5画素精
度,1画素精度,及び2画素精度のうちの1つを演算負
荷に応じて選択するものであってもよい。また、画素精
度としては、上記のものに限らず、0.25画素精度や
0.125画素精度といった非常に精度の高いものも用
いることが可能である。Further, the switching of pixel precision is not limited to switching between 0.5 pixel precision and 1 pixel precision, but switching between 0.5 pixel precision and 2 pixel precision, or switching between 1 pixel precision and 2 pixel precision. Alternatively, one of 0.5 pixel accuracy, 1 pixel accuracy, and 2 pixel accuracy may be selected according to the calculation load. Further, the pixel precision is not limited to the above, and a very high precision such as 0.25 pixel precision or 0.125 pixel precision can be used.
【0072】またさらに、上記実施の形態1では、負荷
指標が閾値より大きいときには、0.5画素精度の動き
ベクトルの生成処理を省略し、かつオーバーラップ動き
補償を通常の動き補償に変更するものを例に挙げたが、
予測方法(予測信号の生成処理)を演算処理量の少ない
予測方法に変更する仕方は、双方向予測やインターレー
ス予測を順方向予測やフレーム予測に変更するものであ
ってもよい。Further, in the first embodiment, when the load index is larger than the threshold value, the processing of generating a 0.5-pixel-accurate motion vector is omitted, and the overlap motion compensation is changed to the normal motion compensation. As an example,
The method of changing the prediction method (processing for generating a prediction signal) to a prediction method with a small amount of computation processing may be to change bidirectional prediction or interlace prediction to forward prediction or frame prediction.
【0073】また、処理のプロセスが同一であるオーバ
ーラップ動き補償であっても、実装方法の異なる場合、
処理速度が異なったものとなるので、オーバーラップ動
き補償処理を、実装方法の異なるものの間で切り替える
ようにしてもよい。個々の実装方法は、CPUによるど
のような処理対象(メモリとのアクセスや加減算等の演
算)に対して最適化されているかによって異なってお
り、例えば、メモリとのアクセスに対して最適化された
実装方法と、演算処理に対して最適化された実装方法と
は異なる実装方法である。In addition, even if the overlapping motion compensation has the same process, if the mounting method is different,
Since the processing speeds are different, the overlap motion compensation processing may be switched between different mounting methods. The individual mounting method differs depending on what processing target (operations such as access to memory and addition / subtraction) by the CPU is optimized. For example, optimization is performed for access to memory. The mounting method is different from the mounting method optimized for the arithmetic processing.
【0074】具体的には、オーバーラップ動き補償を行
うためのソフトウエアにおけるメモリ空間に、画像デー
タを格納するための複数のデータメモリを実装した第1
の実装方法と、これよりデータメモリの数の少ない第2
の実装方法との間で、処理を切り替えて行うようにでき
る。この場合、第1の実装方法では、第2の実装方法に
比べて、処理プロセスで使用するメモリ空間が小さいた
め、処理速度が落ちる反面、データメモリとの間でのデ
ータアクセスは高速で行うことができ、オーバーラップ
動き補償処理の状況によって、上記第1,第2の実装方
法を使い分けることは、動き補償処理全体としての処理
速度の向上につながる。More specifically, a first memory in which a plurality of data memories for storing image data are mounted in a memory space in software for performing overlap motion compensation.
Implementation method and the second with less data memory
It is possible to switch the processing between this and the implementation method. In this case, in the first mounting method, the memory speed used in the processing process is smaller than in the second mounting method, so that the processing speed is reduced, but the data access to the data memory is performed at high speed. If the first and second mounting methods are selectively used depending on the situation of the overlap motion compensation processing, the processing speed of the entire motion compensation processing is improved.
【0075】また、上記実施の形態1における演算負荷
の削減は、符号化処理における演算精度を落とすことに
よる演算の高速化によっても可能であり、また、メモリ
の個数やCPUに対してアクセスされるデータ量に演算
速度が依存した高速な演算アルゴリズムを実装すること
による演算の高速化によっても負荷の削減が可能であ
り、演算精度や演算アルゴリズムの切替により、予測信
号の生成処理における演算負荷を変更することも可能で
ある。The calculation load in the first embodiment can be reduced by reducing the calculation accuracy in the encoding process to increase the speed of the calculation. In addition, the number of memories and access to the CPU can be reduced. The load can be reduced by increasing the calculation speed by implementing a high-speed calculation algorithm whose calculation speed depends on the amount of data, and the calculation load in the prediction signal generation processing is changed by switching the calculation accuracy and calculation algorithm. It is also possible.
【0076】さらに、上記動き検出器あるいは動き補償
器での処理の切替は、実施の形態1のように演算処理量
の多い処理と演算処理量の少ない処理の一方を選択する
ものに限らず、演算処理量の異なる3つ以上の複数の演
算処理のうちの1つを選択するようにしてもよく、以下
このような構成例を実施の形態1の変形例1として説明
する。Further, the switching of the processing by the motion detector or the motion compensator is not limited to the selection of one of the processing having a large amount of arithmetic processing and the processing having a small amount of arithmetic processing as in the first embodiment. One of three or more calculation processes having different calculation processing amounts may be selected. Hereinafter, such a configuration example will be described as a first modification of the first embodiment.
【0077】実施の形態1の変形例1.この実施の形態
1の変形例1は、演算処理部120を、動き検出器12
1では、演算負荷の大きさに応じて演算処理量の異なる
3つ以上の複数の演算処理のうちの1つが選択され、動
き補償器122では、演算負荷の大きさに拘わらず、演
算処理の切替が行われないよう構成したものである。Modification 1 of Embodiment 1 In a first modification of the first embodiment, the arithmetic processing unit 120 is
1, one of the three or more arithmetic processings having different arithmetic processing amounts is selected according to the magnitude of the arithmetic load, and the motion compensator 122 selects the arithmetic processing regardless of the arithmetic load. The switching is not performed.
【0078】簡単に説明すると、この変形例では、上記
負荷判定器114を、演算負荷の指標としての第1閾値
TH1とこれより大きい第2閾値TH2に基づいて、演
算負荷が上記第1閾値TH1以下の値であるか、該両閾
値の間の値であるか、第2閾値TH2以上の値であるか
を判定する構成としている。また、上記動き検出器12
1を、上記負荷判定器114での判定結果に基づいて、
対象ブロックに対する予測領域を示す動き変位情報とし
て、精度の低い2画素精度の動きベクトル、精度の高い
0.5画素精度の動きベクトル,及び中間的な精度の1
画素精度の動きベクトルのうちのいずれかの動きベクト
ルを生成する構成としている。さらに、動き補償器12
2を、演算負荷の大きさに拘わらず1画素精度の動きベ
クトルによる通常の動き補償処理が行われるよう構成と
している。Briefly, in this modification, the load determiner 114 determines the calculation load based on the first threshold TH1 as an index of the calculation load and the second threshold TH2 which is larger than the first threshold TH1. It is configured to determine whether the value is the following value, a value between the two threshold values, or a value equal to or more than the second threshold value TH2. In addition, the motion detector 12
1 based on the determination result of the load determiner 114,
As motion displacement information indicating a prediction area for the target block, a low-precision two-pixel precision motion vector, a high-precision 0.5 pixel precision motion vector, and an intermediate precision 1
The configuration is such that any one of the pixel-accurate motion vectors is generated. Further, the motion compensator 12
2 is configured such that normal motion compensation processing using a motion vector with one-pixel accuracy is performed irrespective of the magnitude of the calculation load.
【0079】次に動作について簡単に説明する。図3
(a) は上記実施の形態1の変形例1における演算処理部
での処理のフローを示している。この実施の形態1の変
形例1では、上記動き検出器121による動きベクトル
の検出が上記負荷判定器104からの負荷判定出力Cp
に基づいて行われ、かつ動き補償器122による予測信
号の算出は、該負荷判定出力Cpに拘わらず所定の方法
(動き補償方法)により行われる。Next, the operation will be briefly described. FIG.
(a) shows a flow of a process in the arithmetic processing unit in the first modification of the first embodiment. In the first modification of the first embodiment, the detection of the motion vector by the motion detector 121 is performed by the load determination output Cp from the load determiner 104.
And the calculation of the prediction signal by the motion compensator 122 is performed by a predetermined method (motion compensation method) regardless of the load determination output Cp.
【0080】以下詳述すると、図3(a) に示すように、
負荷判定ステップS11aでは、負荷判定器114によ
り、その時点での演算負荷の大きさを表す負荷指標Rが
第1閾値TH1より小さいか否かの判定が行われる。こ
の判定の結果、上記負荷指標Rが本画像符号化装置の演
算処理能力に基づいて決まる第1閾値TH1より小さい
場合は、上記動き検出器121では、0.5画素精度の
動きベクトルが生成される(ステップS13a)。一
方、負荷判定ステップS11aでの判定の結果、上記負
荷指標Rが第1閾値TH1以上である場合は、ステップ
S12aにて、上記負荷指標Rが本画像符号化装置の演
算処理能力に基づいて決まる第2閾値TH2より大きい
か否かの判定が行われる。The details will be described below. As shown in FIG.
In the load determining step S11a, the load determiner 114 determines whether or not the load index R indicating the magnitude of the calculation load at that time is smaller than the first threshold TH1. As a result of this determination, when the load index R is smaller than the first threshold value TH1 determined based on the arithmetic processing capability of the present image encoding apparatus, the motion detector 121 generates a 0.5-pixel-accuracy motion vector. (Step S13a). On the other hand, as a result of the determination in the load determination step S11a, when the load index R is equal to or more than the first threshold value TH1, the load index R is determined based on the arithmetic processing capability of the present image encoding device in step S12a. A determination is made as to whether it is greater than the second threshold value TH2.
【0081】このステップS12aでの判定の結果、上
記負荷指標Rが第2閾値TH2より大きくない場合は、
上記動き検出器121では、1画素精度の動きベクトル
が生成され(ステップS14a)、上記負荷指標Rが第
2閾値TH2より大きい場合は、上記動き検出器121
では、2画素精度の動きベクトルが生成される(ステッ
プS15a)。As a result of the determination in step S12a, if the load index R is not larger than the second threshold TH2,
The motion detector 121 generates a motion vector with one-pixel accuracy (step S14a). If the load index R is larger than the second threshold TH2, the motion detector 121
Then, a motion vector with two-pixel accuracy is generated (step S15a).
【0082】そして、上記動き補償器122では、0.
5画素精度,1画素精度,2画素精度のいずれかの動き
ベクトルに基づいて、1つの予測領域に対応する画像信
号を予測信号として出力する所定の動き補償処理が行わ
れる。このような構成の実施の形態1の変形例1では、
実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の第1,第2閾値と、上記検出した演算
負荷の大きさとの比較結果に基づいて、0.5画素精
度,1画素精度,2画素精度のうちから所定の画素精度
の動きベクトルを生成するようにしたので、符号化側で
の演算処理量の切替をきめ細かく行うことができる。Then, in the motion compensator 122,.
A predetermined motion compensation process of outputting an image signal corresponding to one prediction region as a prediction signal is performed based on a motion vector of one of five-pixel accuracy, one-pixel accuracy, and two-pixel accuracy. In Modification 1 of Embodiment 1 having such a configuration,
Based on a comparison result between the first and second threshold values of the calculation load based on the calculation processing capacity necessary for the signal generation processing in real time and the magnitude of the detected calculation load, 0.5 pixel accuracy, 1 Since a motion vector with a predetermined pixel accuracy is generated from the pixel accuracy and the two-pixel accuracy, the amount of calculation processing on the encoding side can be finely switched.
【0083】実施の形態1の変形例2.この実施の形態
1の変形例2は、演算処理部120を、動き検出器12
1では、実施の形態1と同様、演算処理量の異なる2つ
の演算処理のうちの1つが選択され、動き補償器122
では、演算負荷の大きさに応じて、演算負荷量の異なる
4つの演算処理のうちの1つが選択されるよう構成した
ものである。Modification 2 of Embodiment 1 In a second modification of the first embodiment, the arithmetic processing unit 120 is
1, one of the two arithmetic processes having different arithmetic processing amounts is selected as in the first embodiment, and the motion compensator 122 is selected.
In this configuration, one of four arithmetic processes having different arithmetic load amounts is selected according to the magnitude of the arithmetic load.
【0084】簡単に説明すると、この変形例2では、上
記負荷判定器114を、演算負荷の指標である第1,第
2,第3の閾値THs,THm,THb(THs<TH
m<THb)に基づいて、演算負荷が上記第1の閾値よ
り小さい値であるか、該第1の閾値以上かつ第2の閾値
未満の値であるか、第2閾値以上かつ第3閾値未満の値
であるか、第3の閾値以上の値であるかを判定する構成
としている。Briefly, in the second modification, the load determiner 114 is provided with a first, second, and third thresholds THs, THm, THb (THs <TH
Based on m <THb), the calculation load is a value smaller than the first threshold, a value not less than the first threshold and less than the second threshold, or not less than the second threshold and less than the third threshold Or a value equal to or greater than a third threshold value.
【0085】また、上記動き検出器121は、上記負荷
判定器114での判定結果に基づいて、演算負荷が第3
閾値THb以上の値であるとき、対象ブロックに対する
予測領域を示す動き変位情報として、精度の低い1画素
精度の動きベクトルを生成し、演算負荷が第3閾値TH
bの値より小さいとき、対象ブロックに対する予測領域
を示す動き変位情報として、精度の高い0.5画素精度
の動きベクトルを生成する構成としている。Further, based on the result of determination by the load determiner 114, the motion detector
When the value is equal to or larger than the threshold value THb, a low-precision 1-pixel-accuracy motion vector is generated as motion displacement information indicating a prediction area for the target block, and the calculation load is reduced to the third threshold value TH.
When the value is smaller than the value of b, a high-precision 0.5-pixel-accuracy motion vector is generated as the motion displacement information indicating the prediction area for the target block.
【0086】そして、動き補償器122は、演算負荷が
上記第1閾値THsより小さいとき、0.5画素精度の
動きベクトルに基づいてオーバーラップ動き補償を行
い、演算負荷が上記第1閾値THs以上かつ第2閾値T
Hm未満であるとき、1画素精度の動きベクトルに基づ
いてオーバーラップ動き補償を行い、演算負荷が上記第
2閾値THm以上かつ第3閾値THb未満であるとき、
0.5画素精度の動きベクトルに基づいて通常の動き補
償を行い、演算負荷が上記第3閾値THb以上であると
き、1画素精度の動きベクトルに基づいて通常の動き補
償を行う構成となっている。When the operation load is smaller than the first threshold value THs, the motion compensator 122 performs overlap motion compensation based on a 0.5-pixel-precision motion vector, and the operation load is equal to or larger than the first threshold value THs. And the second threshold T
When it is less than Hm, overlap motion compensation is performed based on a motion vector with one pixel accuracy, and when the calculation load is equal to or more than the second threshold THm and less than the third threshold THb,
Normal motion compensation is performed based on a 0.5-pixel accuracy motion vector, and when the calculation load is equal to or greater than the third threshold value THb, normal motion compensation is performed based on a 1-pixel accuracy motion vector. I have.
【0087】次に動作について簡単に説明する。図3
(b) は上記実施の形態1の変形例2における演算処理部
での処理のフローを示している。この実施の形態1の変
形例2では、上記動き検出器121における動き予測処
理(動きベクトルの検出)は、上記負荷判定器114か
らの負荷判定出力Cpに基づいて演算負荷の大きい処理
と演算負荷の小さい処理の間で切替られ、動き補償器1
22による動き補償処理(予測信号の算出)は、該負荷
判定出力Cpに応じて、演算負荷の異なる4つの動き補
償処理のうちの1つが選択される。以下詳述すると、図
3(b) に示すように、負荷判定ステップS11bでは、
負荷判定器114により、その時点での演算負荷の大き
さを表す負荷指標Rが第2閾値THmより小さいか否か
の判定が行われる。Next, the operation will be briefly described. FIG.
(b) shows the flow of the processing in the arithmetic processing unit in the second modification of the first embodiment. In the second modification of the first embodiment, the motion estimation process (detection of a motion vector) in the motion detector 121 is performed based on the load determination output Cp from the load determiner 114, and includes a process with a large calculation load and a calculation load. Of the motion compensator 1
In the motion compensation process (calculation of a prediction signal) by 22, one of four motion compensation processes having different calculation loads is selected according to the load determination output Cp. More specifically, as shown in FIG. 3B, in the load determination step S11b,
The load determiner 114 determines whether or not the load index R indicating the magnitude of the calculation load at that time is smaller than the second threshold value THm.
【0088】この判定の結果、上記負荷指標Rが上記第
2閾値THmより小さい場合は、ステップS12bに
て、上記負荷指標Rが上記第1閾値THs(THs<T
Hm)より小さいか否かの判定が行われる。一方、負荷
判定ステップS11bでの判定の結果、上記負荷指標R
が第2閾値THm以上である場合は、ステップS13b
にて、上記負荷指標Rが上記第3閾値THb(THb>
THm)より小さいか否かの判定が行われる。If the result of this determination is that the load index R is smaller than the second threshold THm, then at step S12b, the load index R is set to the first threshold THs (THs <T
Hm) is determined. On the other hand, as a result of the determination in the load determination step S11b, the load index R
Is greater than or equal to the second threshold value THm, step S13b
, The load index R is equal to the third threshold value THb (THb>
THm) is determined.
【0089】上記負荷判定ステップS12bでの判定の
結果、上記負荷指標Rが第1閾値THsより小さい場合
は、上記動き検出器121では、1画素精度の動きベク
トルとともに0.5画素精度の動きベクトルが生成さ
れ、動き補償器122では、0.5画素精度の動きベク
トルに基づいてオーバーラップ動き補償処理が行われる
(ステップS14b)。If the result of the determination in the load determination step S12b is that the load index R is smaller than the first threshold value THs, the motion detector 121 uses the 0.5-pixel precision motion vector together with the 1-pixel precision motion vector. Is generated, and the motion compensator 122 performs an overlap motion compensation process based on the 0.5-pixel precision motion vector (step S14b).
【0090】上記負荷判定ステップS12bでの判定の
結果、上記負荷指標Rが第1閾値THs以上である場合
は、上記動き検出器121では、1画素精度の動きベク
トルとともに0.5画素精度の動きベクトルが生成さ
れ、動き補償器122では、1画素精度の動きベクトル
に基づいてオーバーラップ動き補償処理が行われる(ス
テップS15b)。If the result of the determination in the load determination step S12b is that the load index R is equal to or greater than the first threshold value THs, the motion detector 121 calculates a 0.5-pixel precision motion vector together with a 1-pixel precision motion vector. A vector is generated, and the motion compensator 122 performs overlap motion compensation processing based on the motion vector with one-pixel accuracy (step S15b).
【0091】上記負荷判定ステップS13bでの判定の
結果、上記負荷指標Rが第3閾値THbより小さい場合
は、上記動き検出器121では、1画素精度の動きベク
トルとともに0.5画素精度の動きベクトルが生成さ
れ、動き補償器122では、0.5画素精度の動きベク
トルに基づいて、通常の補償処理が行われる(ステップ
S16b)。If the load index R is smaller than the third threshold value THb as a result of the determination in the load determination step S13b, the motion detector 121 calculates the 0.5-pixel motion vector together with the 1-pixel precision motion vector. Is generated, and the motion compensator 122 performs a normal compensation process based on the 0.5-pixel-precision motion vector (step S16b).
【0092】上記負荷判定ステップS13bでの判定の
結果、上記負荷指標Rが第3閾値THb以上である場合
は、上記動き検出器121では、1画素精度の動きベク
トルのみが生成され、動き補償器122では、1画素精
度の動きベクトルに基づいて通常の動き補償処理が行わ
れる(ステップS17b)。If the result of the determination in the load determination step S13b is that the load index R is equal to or larger than the third threshold THb, the motion detector 121 generates only a motion vector with one-pixel accuracy, and At 122, a normal motion compensation process is performed based on a motion vector with one pixel accuracy (step S17b).
【0093】このような構成の実施の形態1の変形例2
では、実時間での上記信号生成処理に必要な演算処理能
力に基づいた演算負荷の第1〜第3の閾値と、上記検出
した演算負荷の大きさとの比較結果に基づいて、動き検
出器での画素精度の切替、及び動き補償器での動き補償
の種類の切替を行うようにしたので、符号化側での演算
処理量を徐々に変化させることができ、しかも演算処理
量の可変範囲を広くすることができる。Modified Example 2 of Embodiment 1 Having Such Configuration
Then, based on a comparison result between the first to third threshold values of the calculation load based on the calculation processing capacity necessary for the signal generation processing in real time and the detected calculation load, the motion detector Of the pixel accuracy and the type of motion compensation in the motion compensator, so that the amount of calculation on the encoding side can be gradually changed, and the variable range of the amount of calculation can be changed. Can be wider.
【0094】実施の形態2.図4は本発明の実施の形態
2による画像復号化装置を説明するためのブロックであ
る。この実施の形態2の画像復号化装置200は、上記
実施の形態1の画像符号化装置100に対応したもので
あり、入力される画像符号化信号として、MPEG1,
2に準拠した1フレームに対応する画像符号化信号だけ
でなく、MPEG4に準拠した1オブジェクト領域に対
応する画像符号化信号も処理可能な構成となっている
が、いずれの画像符号化信号についても基本的な復号化
処理は同一であるため、具体的な説明は、1フレーム対
応の画像符号化信号の処理についてのみ行う。なお、M
PEG4の場合は、1フレームに対応する画像符号化信
号の復号化処理と同様に、個々のオブジェクト領域に対
応する画像符号化信号の復号化処理が行われ、これらが
合成されて1つの画面に対応する画像再生信号が得られ
る。Embodiment 2 FIG. 4 is a block diagram for explaining an image decoding apparatus according to Embodiment 2 of the present invention. The image decoding device 200 according to the second embodiment corresponds to the image coding device 100 according to the first embodiment, and the image decoding device 200 uses MPEG1, MPEG1,
2 can process not only an image coded signal corresponding to one frame compliant with MPEG-2, but also an image coded signal corresponding to one object area compliant with MPEG4. Since the basic decoding processing is the same, a specific description will be given only of the processing of an image coded signal corresponding to one frame. Note that M
In the case of PEG4, similarly to the decoding process of the image coded signal corresponding to one frame, the decoding process of the image coded signal corresponding to each object area is performed, and these are combined to form one screen. A corresponding image reproduction signal is obtained.
【0095】以下詳しく説明すると、上記画像復号化装
置200は、復号化処理の対象となる対象領域(対象ブ
ロック)に対応する符号化信号(画像符号化信号あるい
は差分符号化信号)Egを受け、該符号化信号Egを解
析して可変長復号化するデータ解析器201と、該デー
タ解析器201の出力AEgに対して伸長処理を施して
画像伸長信号DEgを出力する情報伸長器(DEC)2
02と、該情報伸長器202の出力DEgと、対象ブロ
ックに対応する予測信号Pg2あるいは基準信号(0レ
ベル)とを加算する加算器203と、該加算器203の
出力PEgである各ブロックに対応する画像再生信号を
統合して走査線構造の画像出力信号REgを出力する逆
ブロック化器204と、所定のブロックに対応する予測
信号Pg2を生成する予測信号生成部210を有してい
る。More specifically, the image decoding apparatus 200 receives a coded signal (image coded signal or differential coded signal) Eg corresponding to a target area (target block) to be decoded, A data analyzer 201 for analyzing the encoded signal Eg and performing variable length decoding, and an information expander (DEC) 2 for performing an expansion process on the output AEg of the data analyzer 201 and outputting an image expansion signal DEg.
02, an output DEg of the information decompressor 202, an adder 203 that adds the prediction signal Pg2 or the reference signal (0 level) corresponding to the target block, and a block corresponding to the output PEg of the adder 203. A deblocking unit 204 that outputs an image output signal REg having a scanning line structure by integrating image reproduction signals to be reproduced, and a prediction signal generation unit 210 that generates a prediction signal Pg2 corresponding to a predetermined block.
【0096】ここで、上記情報伸長器202は、上記デ
ータ解析器201の出力AEgに逆量子化処理を施す逆
量子化器と、該逆量子化器の出力に対して逆周波数変換
処理の一種であるIDCT(逆離散コサイン変換)処理
を施して画像伸長信号DEgを出力するIDCT変換器
とから構成されている。Here, the information decompressor 202 is an inverse quantizer for performing an inverse quantization process on the output AEg of the data analyzer 201, and a type of inverse frequency conversion process for the output of the inverse quantizer. And an IDCT converter that performs an IDCT (Inverse Discrete Cosine Transform) process and outputs an image expansion signal DEg.
【0097】上記予測信号生成部210は、上記加算器
203の出力PEgを画像再生信号として格納するフレ
ームメモリ211と、上記加算器203の出力PEgを
受け、復号化処理における演算負荷の大きさを判定する
負荷判定器213とを有している。The prediction signal generator 210 receives the frame memory 211 for storing the output PEg of the adder 203 as an image reproduction signal and the output PEg of the adder 203, and determines the magnitude of the calculation load in the decoding process. And a load determiner 213 for determination.
【0098】ここで、上記負荷判定器213は、上記実
施の形態1の負荷判定器114と同様な構成となってい
る。つまり該負荷判定器213は、例えば演算負荷の大
きさを示す負荷の指標Rを、単位時間(1フレーム)当
たりの復号化処理における演算量であらわし、本画像復
号化装置200の演算処理能力に対応した演算負荷の閾
値THを、0.5画素精度の動きベクトルを用いたオー
バーラップ動き補償処理に必要とされる単位時間当たり
の復号化処理における演算量とし、上記負荷の指標Rと
閾値THを比較して処理能力が十分であるか否かを動き
補償処理を行う度に判定する構成となっている。なお、
上記負荷判定器213の構成は、上記のものに限らず、
例えば、上記負荷判定器213は、フレームメモリ21
1などから1フレームの画像信号に対する復号化処理が
終了したタイミングのみを受け、このタイミング間隔を
演算量である負荷の指標Rに変換し、この負荷の指標R
を上記演算負荷の閾値THと比較して、処理能力の判定
を行う構成としてもよい。この場合、加算器203の出
力PEgである画像復号化信号を、上記負荷判定器21
3に送る必要がなくなり、該負荷判定器213へ送るデ
ータ量を大きく削減することができる。Here, the load determiner 213 has the same configuration as the load determiner 114 of the first embodiment. That is, the load determiner 213 expresses, for example, a load index R indicating the magnitude of the calculation load as a calculation amount in the decoding processing per unit time (one frame), and indicates the calculation processing capability of the image decoding apparatus 200. The corresponding calculation load threshold value TH is the calculation amount in the decoding process per unit time required for the overlapped motion compensation processing using the 0.5-pixel precision motion vector, and the load index R and the threshold value TH are set. Are compared each time the motion compensation processing is performed to determine whether the processing capacity is sufficient. In addition,
The configuration of the load determiner 213 is not limited to the configuration described above.
For example, the load determiner 213 includes the frame memory 21
Only the timing at which the decoding process for the image signal of one frame from 1 or the like is completed is received, this timing interval is converted into a load index R which is a calculation amount, and this load index R
May be compared with the threshold value TH of the calculation load to determine the processing capacity. In this case, the decoded image signal, which is the output PEg of the adder 203, is output to the load determiner 21
3, the amount of data to be sent to the load determiner 213 can be greatly reduced.
【0099】また、上記予測信号生成部210は、上記
データ解析器201にて復号化された対象ブロックに対
応する動きベクトルMVに基づいて、上記フレームメモ
リ211のアドレスAdd2を生成し、該アドレスAd
d2により上記フレームメモリ211から、対象ブロッ
クの画像再生信号との誤差が最も小さい画像再生信号を
持つ、前フレームにおける領域(予測領域)に対応する
画像再生信号を検出し、該画像再生信号に基づいて予測
信号Pg2を算出する動き補償器212を有し、該予測
信号Pg2が、上記データ解析器201からの制御信号
ACsにより制御されるスイッチ214を介して、上記
加算器203に出力されるようになっている。このスイ
ッチ214は、上記制御信号ACsにより、上記予測信
号Pg2が入力される入力端子I1と、開放された入力
端子I2の一方を選択する。なお、このスイッチ214
が開放入力端子I2を選択した場合には、スイッチ21
4の出力として上記基準信号が上記加算器203に与え
られる。ここでは基準信号は0レベルの信号としてい
る。The prediction signal generator 210 generates an address Add2 of the frame memory 211 based on the motion vector MV corresponding to the target block decoded by the data analyzer 201, and generates the address Add2.
Based on d2, an image reproduction signal corresponding to an area (prediction area) in the previous frame having an image reproduction signal with the smallest error from the image reproduction signal of the target block is detected from the frame memory 211, and based on the image reproduction signal. A motion compensator 212 that calculates a prediction signal Pg2 from the data analyzer 201. The prediction signal Pg2 is output to the adder 203 via a switch 214 controlled by a control signal ACs from the data analyzer 201. It has become. The switch 214 selects one of the input terminal I1 to which the prediction signal Pg2 is input and the opened input terminal I2 according to the control signal ACs. Note that this switch 214
Selects the open input terminal I2, the switch 21
The reference signal is supplied to the adder 203 as the output of the reference numeral 4. Here, the reference signal is a 0-level signal.
【0100】そして、この実施の形態2では、上記動き
補償器212は、上記負荷判定器213からの負荷判定
出力Chに基づいて、上記データ解析器201から出力
される動きベクトルMVに基づいて、対象ブロックの画
像復号化信号に対する予測信号を求める動き補償処理
を、通常の動き補償とオーバーラップ動き補償との間で
切り替える構成となっている。つまり、上記動き補償器
212では、演算負荷が大きいときは、1画素精度の動
きベクトルについてはその値を用いて、0.5画素精度
の動きベクトルについてはその値をまるめた、1画素精
度の動きベクトルに相当するベクトル値を用いて、演算
処理量が少ない通常の動き補償処理が行われ、一方、演
算負荷が小さいときは、1画素精度の動きベクトルある
いは0.5画素精度の動きベクトルの値をそのまま用い
て、演算処理量が多いが画質の向上を図ることができる
オーバーラップ動き補償処理が行われるようになってい
る。In the second embodiment, the motion compensator 212 performs the following operations based on the load determination output Ch from the load determiner 213 and the motion vector MV output from the data analyzer 201. The motion compensation processing for obtaining a prediction signal for the image decoded signal of the target block is switched between normal motion compensation and overlap motion compensation. That is, when the calculation load is large, the motion compensator 212 uses the value of the motion vector of 1-pixel accuracy, and rounds the value of the motion vector of 0.5-pixel accuracy to obtain the 1-pixel accuracy. A normal motion compensation process with a small amount of processing is performed using a vector value corresponding to the motion vector. On the other hand, when the calculation load is small, a 1-pixel precision motion vector or a 0.5-pixel precision motion vector is calculated. Using the values as they are, an overlap motion compensation process that can improve the image quality although the amount of calculation processing is large is performed.
【0101】次に動作について説明する。図5(a) は本
発明の実施の形態2による画像処理装置による画像信号
の復号化処理を説明するためのフローチャートである。
まず、ステップS3にて画像復号化処理が行われる。す
なわち、本画像処理装置200に入力された符号化信号
(画像符号化信号あるいは差分符号化信号)Egは、デ
ータ解析器201にてそのデータ解析が行われ、可変長
復号化された符号化信号が上記情報伸長器202に出力
される。またこのとき、上記データ解析器201から
は、復号化処理の対象となる対象ブロックの動きベクト
ルMVが予測信号生成部210の動き補償器212に出
力され、また対象ブロックの符号化モードに対応した制
御信号ACsが予測信号生成部210のスイッチ214
に供給される。Next, the operation will be described. FIG. 5A is a flowchart for explaining the decoding processing of the image signal by the image processing apparatus according to the second embodiment of the present invention.
First, an image decoding process is performed in step S3. That is, the coded signal (image coded signal or differential coded signal) Eg input to the image processing apparatus 200 is subjected to data analysis by the data analyzer 201 and is subjected to variable-length decoding. Is output to the information decompressor 202. At this time, the data analyzer 201 outputs the motion vector MV of the target block to be subjected to the decoding process to the motion compensator 212 of the prediction signal generation unit 210, and also corresponds to the coding mode of the target block. The control signal ACs is output from the switch 214 of the prediction signal generation unit 210.
Supplied to
【0102】上記情報伸長器202では、可変長復号化
された画像符号化信号に対して伸長処理が施され、画像
信号あるいは差分信号が伸長信号DEgとして復元され
る。具体的には、上記情報伸長器202では、上記可変
長復号化された画像符号化信号は、逆量子化器にて逆量
子化処理が施され、さらに逆離散コサイン変換器にて、
周波数領域の信号を空間領域の信号に変換する逆周波数
変換処理が施される。In the information decompressor 202, a decompression process is performed on the variable-length-decoded image coded signal, and the image signal or the difference signal is restored as a decompression signal DEg. Specifically, in the information decompressor 202, the variable-length-decoded image encoded signal is subjected to inverse quantization by an inverse quantizer, and further, by an inverse discrete cosine transformer,
Inverse frequency conversion processing for converting a signal in the frequency domain into a signal in the spatial domain is performed.
【0103】次にステップS4にて動き補償処理が行わ
れる。上記動き補償器212では、上記動きベクトルM
Vからフレームメモリ211をアクセスするためのアド
レスAdd2が生成され、フレームメモリ211に格納
されている前フレームの画像再生信号から、対象ブロッ
クに対応する予測信号Pg2が読み出される。この動き
補償器212での予測信号の生成は、演算負荷の大きさ
に対応した制御信号Chに基づいて行われる。Next, a motion compensation process is performed in step S4. In the motion compensator 212, the motion vector M
An address Add2 for accessing the frame memory 211 is generated from V, and a prediction signal Pg2 corresponding to the target block is read from the image reproduction signal of the previous frame stored in the frame memory 211. The generation of the prediction signal in the motion compensator 212 is performed based on the control signal Ch corresponding to the magnitude of the calculation load.
【0104】上記モード信号ACsが画面間符号化モー
ドを示す場合、上記スイッチ214が予測信号の入力端
子I1を選択することとなり、上記読み出された予測信
号Pg2と、上記情報伸長器202の出力DEgとが加
算器203に入力され、該加算器203からは、これら
の信号の加算値として、画像復号化信号PEgが出力さ
れる。一方上記モード信号ACsが画面内符号化モード
を示す場合、上記スイッチ214が開放入力端子I2を
選択することとなり、上記情報伸長器202の出力DE
gがそのまま加算器203を介して逆ブロック化器20
4に出力される。When the mode signal ACs indicates the inter-picture coding mode, the switch 214 selects the input terminal I1 of the prediction signal, and the read prediction signal Pg2 and the output of the information decompressor 202 are output. DEg is input to the adder 203, and the adder 203 outputs a decoded image signal PEg as an added value of these signals. On the other hand, when the mode signal ACs indicates the intra-frame encoding mode, the switch 214 selects the open input terminal I2, and the output DE of the information decompressor 202 is output.
g is directly passed through the adder 203 to the deblocker 20
4 is output.
【0105】そして上記加算器203の出力PEgは上
記逆ブロック化器204に供給され、該逆ブロック化器
204にて統合されて走査線構造の画像出力信号REg
に変換される。このとき上記加算器203の出力である
画像再生信号PEgは、上記フレームメモリ211及び
負荷判定器213に出力され、負荷判定器213では、
復号化処理における演算処理量が判定され、判定結果に
対応した制御信号Chが上記動き補償器212に出力さ
れる。The output PEg of the adder 203 is supplied to the deblocking device 204 and integrated by the deblocking device 204 to output an image output signal REg having a scanning line structure.
Is converted to At this time, the image reproduction signal PEg output from the adder 203 is output to the frame memory 211 and the load determiner 213.
A calculation processing amount in the decoding process is determined, and a control signal Ch corresponding to the determination result is output to the motion compensator 212.
【0106】以下、上記動き補償器212における動き
補償処理について詳しく説明する。図5(b) は上記動き
補償処理を示すフローチャートである。負荷判定ステッ
プS41では、負荷判定器213により負荷指標Rの判
定が行われる。その結果、演算負荷の指標Rが本画像復
号化装置200の処理能力に対応する閾値THに比べて
小さい場合は、ステップS42にて、データ解析器20
1からの動きベクトル(0.5画素精度あるいは1画素
精度の動きベクトル)に基づいて、演算処理量が大きい
が符号化効率のよいオーバーラップ動き補償処理が行わ
れる。一方、演算負荷の指標Rが上記THに比べて大き
い場合は、ステップS43にて、上記オーバーラップ動
き補償処理に比べて演算処理量の少ない通常の動き補償
処理が行われる。このとき、データ解析器201からの
動きベクトルが0.5画素精度の動きベクトルである場
合は、その値がまるめられて、1画素精度の動きベクト
ルに相当するベクトル値が用いられる。Hereinafter, the motion compensation processing in the motion compensator 212 will be described in detail. FIG. 5B is a flowchart showing the motion compensation processing. In the load determination step S41, the load index R is determined by the load determiner 213. As a result, if the calculation load index R is smaller than the threshold value TH corresponding to the processing capability of the image decoding apparatus 200, in step S42, the data analyzer 20
Based on the motion vector from 1 (0.5-pixel accuracy or 1-pixel accuracy motion vector), overlap motion compensation processing with a large amount of arithmetic processing but high coding efficiency is performed. On the other hand, when the index R of the calculation load is larger than the above TH, in step S43, a normal motion compensation process having a smaller calculation processing amount than the overlap motion compensation process is performed. At this time, if the motion vector from the data analyzer 201 is a 0.5-pixel precision motion vector, the value is rounded, and a vector value corresponding to a 1-pixel precision motion vector is used.
【0107】このように本実施の形態2では、画像符号
化信号の復号化処理の際、演算負荷量が本画像復号化装
置200の演算処理能力に対応した負荷閾値より大きい
場合には、再生画像の画質向上に有効なオーバーラップ
動き補償処理に代えて、これより演算処理量の少ない通
常の動き補償処理を行うようにしたので、画像符号化信
号の実時間での復号化処理を行う際に、演算負荷の状況
によって動き補償処理が切り換わることとなり、演算処
理能力不足による再生画像への悪影響を回避することが
できる。As described above, according to the second embodiment, when the amount of calculation load is larger than the load threshold corresponding to the calculation processing capability of the present image decoding device 200 during the decoding processing of the image coded signal, the reproduction is performed. Instead of the overlap motion compensation processing that is effective for improving the image quality of the image, the normal motion compensation processing with a smaller amount of calculation processing is performed, so that the decoding processing of the image coded signal in real time is performed. In addition, the motion compensation processing is switched depending on the state of the calculation load, and the adverse effect on the reproduced image due to the lack of the calculation processing ability can be avoided.
【0108】具体的には、従来の復号化方法では、符号
化時に選択した動き補償処理に対応した動き補償処理に
より予測信号を生成するようにしているのに対し、本実
施の形態2では、復号化処理の際に演算処理能力が不足
する場合には、符号化時に選択した動き補償処理に対応
した動き補償処理を行わずに、これとは異なる演算負荷
を削減した動き補償処理を行う。例えば、符号化時にオ
ーバーラップ動き補償処理を行っている場合は、復号化
の際には演算負荷に応じて、オーバーラップ動き補償処
理に代えて演算処理量が少ない通常の動き補償処理を行
う。Specifically, in the conventional decoding method, a prediction signal is generated by a motion compensation process corresponding to the motion compensation process selected at the time of encoding, whereas in the second embodiment, If the arithmetic processing capability is insufficient during the decoding process, the motion compensation process corresponding to the motion compensation process selected at the time of encoding is not performed, and a motion compensation process that is different from the motion compensation process is performed. For example, when the overlap motion compensation process is performed at the time of encoding, a normal motion compensation process with a small calculation processing amount is performed at the time of decoding, instead of the overlap motion compensation process, according to the calculation load.
【0109】このため、本実施の形態2では、従来の画
像復号化処理では演算処理能力が不足して、実時間復号
化処理により得られる映像が大きく劣化するような場合
でも、処理能力に応じた動き補償を行うことができ、演
算処理能力の不足に起因する実時間復号化処理による映
像への悪影響を抑制することができる。Therefore, according to the second embodiment, even if the image processing obtained by the real-time decoding processing is greatly degraded due to the shortage of the arithmetic processing capacity in the conventional image decoding processing, the processing capacity is not changed. Motion compensation can be performed, and adverse effects on a video due to real-time decoding processing due to lack of arithmetic processing capability can be suppressed.
【0110】なお、上記実施の形態2では、負荷指標が
閾値より大きいときにはオーバーラップ動き補償を通常
の動き補償に変更するものを例に挙げたが、これは、上
記実施の形態1と同様、双方向予測やインターレース予
測に対応した動き補償処理を、順方向予測やフレーム予
測に対応した動き補償処理に変更するものであってもよ
い。In the second embodiment, an example in which the overlap motion compensation is changed to the normal motion compensation when the load index is larger than the threshold value has been described. This is similar to the first embodiment. The motion compensation processing corresponding to bidirectional prediction or interlace prediction may be changed to the motion compensation processing corresponding to forward prediction or frame prediction.
【0111】さらに、上記動き補償器での動き補償処理
の切替は、上記実施の形態2のように、動き補償器にて
画素精度の切替と動き補償処理の種類の切替を連動して
行うものに限らず、種々の切替方法が考えられ、以下上
記実施の形態2のとは異なる切替方法について説明す
る。Further, the switching of the motion compensation processing by the motion compensator is performed by interlocking the switching of the pixel precision and the switching of the type of the motion compensation processing by the motion compensator as in the second embodiment. Not only the switching method but also various switching methods are conceivable, and a switching method different from that of the second embodiment will be described below.
【0112】実施の形態2の変形例1.この実施の形態
2の変形例1は、上記実施の形態2における予測信号生
成部210を、動き補償器212では、データ解析器2
01にて得られる動きベクトルが0.5画素精度である
か1画素精度であるかに拘わらず、動きベクトルとして
は1画素精度の動きベクトルを用い、オーバーラップ動
き補償と通常の動き補償の切替が行われるようにしたも
のである。Modification 1 of Embodiment 2 In the first modification of the second embodiment, the prediction signal generator 210 according to the second embodiment is different from the motion compensator 212 in that the data analyzer 2
01, whether the motion vector obtained is 0.5 pixel accuracy or 1 pixel accuracy, a motion vector of 1 pixel accuracy is used as the motion vector, and switching between overlapped motion compensation and normal motion compensation is performed. Is performed.
【0113】つまり、この変形例では、上記動き補償器
212を、上記負荷判定器213での判定結果を受け、
演算負荷Rが本画像復号化装置の演算処理能力に基づい
て決まる閾値THより小さい場合には、1画素精度の動
きベクトルによるオーバーラップ動き補償処理を行い、
演算負荷Rが負荷閾値THより大きい場合には、1画素
精度の動きベクトルによる通常の動き補償処理を行う構
成としている。なお、この変形例においても、データ解
析器201にて得られる動きベクトルが0.5画素精度
である場合には、この値をまるめて1画素精度の動きベ
クトルを生成するようにしている。That is, in this modification, the motion compensator 212 receives the judgment result of the load judgment unit 213,
When the calculation load R is smaller than the threshold value TH determined based on the calculation processing capability of the present image decoding device, an overlap motion compensation process using a motion vector with one-pixel accuracy is performed.
When the calculation load R is larger than the load threshold TH, a normal motion compensation process using a motion vector with one-pixel accuracy is performed. Also in this modified example, when the motion vector obtained by the data analyzer 201 has 0.5-pixel accuracy, this value is rounded to generate a 1-pixel accuracy motion vector.
【0114】なお、この実施の形態2の変形例1による
動き補償処理では、符号化側から1画素精度の動きベク
トルが送られている場合は、この1画素精度の動きベク
トルをそのまま用いるが、符号化側から0.5画素精度
の動きベクトルが送られている場合は、0.5画素精度
の動きベクトルの値をまるめて1画素精度の動きベクト
ルを生成する。In the motion compensation process according to the first modification of the second embodiment, when a one-pixel precision motion vector is sent from the encoding side, the one-pixel precision motion vector is used as it is. When a 0.5-pixel precision motion vector is sent from the encoding side, the value of the 0.5-pixel precision motion vector is rounded to generate a 1-pixel precision motion vector.
【0115】次に動作について簡単に説明する。図6
(a) は上記実施の形態2の変形例1における演算処理部
での処理のフローを示している。この実施の形態2の変
形例1では、上記動き補償器212による動き補償処理
(予測信号の算出)は、上記負荷判定器213からの負
荷判定出力Chに基づいて、オーバーラップ動き補償
と、負荷を削減した通常の動き補償との間で切替られ
る。Next, the operation will be briefly described. FIG.
(a) shows the flow of the processing in the arithmetic processing unit in the first modification of the second embodiment. In the first modification of the second embodiment, the motion compensation processing (calculation of the prediction signal) by the motion compensator 212 is performed based on the load determination output Ch from the load determiner 213 to perform the overlap motion compensation and the load Is switched to the normal motion compensation in which is reduced.
【0116】以下簡単に説明すると、図6(a) に示すよ
うに、負荷判定ステップS41aでは、負荷判定器21
3により、その時点での演算負荷の大きさを表す負荷指
標Rが、本画像復号化装置の演算処理能力に基づいて決
まる閾値THより小さいか否かの判定が行われる。In brief, as shown in FIG. 6A, in the load determination step S41a, the load determiner 21
According to 3, it is determined whether or not the load index R indicating the magnitude of the calculation load at that time is smaller than a threshold value TH determined based on the calculation processing capability of the present image decoding apparatus.
【0117】この判定の結果、上記負荷指標Rが上記閾
値THより小さい場合は、上記動き補償器212では、
1画素精度の動きベクトルに基づいてオーバーラップ動
き補償が行われて、予測信号が生成される(ステップS
42a)。一方、負荷判定ステップS41aでの判定の
結果、上記負荷指標Rが上記閾値TH以上である場合
は、1画素精度の動きベクトルに基づいて、負荷が削減
された通常の動き補償(負荷削減動き補償)が行われ
て、予測信号が生成される(ステップS43a)。As a result of this determination, when the load index R is smaller than the threshold value TH, the motion compensator 212
Overlap motion compensation is performed based on a one-pixel accuracy motion vector to generate a prediction signal (Step S).
42a). On the other hand, as a result of the determination in the load determination step S41a, when the load index R is equal to or larger than the threshold value TH, the normal motion compensation with reduced load (load reduction motion compensation) is performed based on the motion vector with one-pixel accuracy. ) Is performed to generate a prediction signal (step S43a).
【0118】このように本実施の形態2の変形例1で
は、負荷判定器213からの負荷判定出力Chに基づい
て、動き補償器212での動き補償を、1画素精度の動
きベクトルに基づくオーバーラップ動き補償と、1画素
精度の動きベクトルに基づく負荷削減動き補償との間で
切替えるので、画素精度の切替は行われず、動き補償処
理の種類のみが切替られることとなり、このため比較的
簡単な回路構成により、演算負荷の増大による再生画像
の画質劣化を抑制することができる。As described above, in the first modification of the second embodiment, based on the load determination output Ch from the load determiner 213, the motion compensation in the motion compensator 212 is performed based on the motion vector of one pixel accuracy. Since the switching is performed between the wrap motion compensation and the load reduction motion compensation based on the one-pixel accuracy motion vector, the pixel accuracy is not switched, and only the type of the motion compensation processing is switched. With the circuit configuration, it is possible to suppress deterioration in the image quality of the reproduced image due to an increase in the operation load.
【0119】実施の形態2の変形例2.この実施の形態
2の変形例2は、上記実施の形態2における予測信号生
成部210を、動き補償器212では、オーバーラップ
動き補償と、これに比べて演算負荷の小さい通常の動き
補償(負荷削減動き補償)の切替は行わず、画素精度の
切替,つまり1画素精度の動きベクトルに基づく通常の
動き補償と、0.5画素精度の動きベクトルに基づく通
常の動き補償とを切り換えるようにしたものである。Modification 2 of Embodiment 2 In the second modification of the second embodiment, the prediction signal generator 210 according to the second embodiment is different from the motion compensator 212 in that the motion compensator 212 performs overlap motion compensation and normal motion compensation (load Switching of (reduced motion compensation) is not performed, and switching between pixel accuracy, that is, normal motion compensation based on a motion vector with one pixel accuracy and normal motion compensation based on a motion vector with 0.5 pixel accuracy is performed. Things.
【0120】つまり、この変形例では、上記動き補償器
212は、上記負荷判定器213からの負荷判定出力C
hを受け、演算負荷が、本画像復号化装置の演算処理能
力に基づいて決まる閾値THより小さい場合には、0.
5画素精度の動きベクトルに基づいて通常の動き補償処
理を行い、演算負荷が上記閾値THより大きい場合に
は、1画素精度の動きベクトルに基づいて通常の動き補
償処理を行う構成としている。That is, in this modification, the motion compensator 212 outputs the load determination output C from the load determiner 213.
h, when the calculation load is smaller than a threshold value TH determined based on the calculation processing capability of the image decoding apparatus, 0.
A normal motion compensation process is performed based on a 5-pixel precision motion vector, and when the calculation load is larger than the threshold value TH, a normal motion compensation process is performed based on a 1-pixel precision motion vector.
【0121】なお、この実施の形態2の変形例2による
動き補償処理では、符号化側から0.5画素精度の動き
ベクトルが送られている場合のみ、上記のような画素精
度の切り替えを行い、符号化側から1画素精度の動きベ
クトルが送られている場合は、上記のような画素精度の
切替を行わないようにしている。In the motion compensation processing according to the second modification of the second embodiment, the above-described switching of the pixel precision is performed only when a 0.5-pixel precision motion vector is transmitted from the encoding side. When a motion vector with one-pixel accuracy is sent from the encoding side, the above-described switching of pixel accuracy is not performed.
【0122】次に作用効果について説明する。図6(b)
は上記実施の形態2の変形例2における予測信号生成部
での処理のフローを示している。この実施の形態2の変
形例2では、上記動き補償器212による動き補償処理
(予測信号の算出)は、上記負荷判定器213からの負
荷判定出力Chに基づいて、0.5画素精度の動きベク
トルに基づく通常の動き補償と、1画素精度の動きベク
トルに基づく通常の動き補償との間で切替られる。Next, the function and effect will be described. Fig. 6 (b)
Shows a flow of a process performed by the prediction signal generation unit in the second modification of the second embodiment. In the second modification of the second embodiment, the motion compensation processing (calculation of the prediction signal) by the motion compensator 212 is performed based on the load determination output Ch from the load determiner 213, and the motion of 0.5 pixel accuracy is obtained. Switching is performed between normal motion compensation based on a vector and normal motion compensation based on a motion vector with one-pixel accuracy.
【0123】簡単に説明すると、図6(b) に示すよう
に、負荷判定ステップS41bでは、負荷判定器213
により、その時点での演算負荷の大きさを表す負荷指標
Rが、本画像復号化装置の演算処理能力に基づいて決ま
る閾値THより小さいか否かの判定が行われる。Briefly, as shown in FIG. 6B, in the load determination step S41b, the load determination unit 213 is used.
Accordingly, it is determined whether or not the load index R indicating the magnitude of the computational load at that time is smaller than a threshold value TH determined based on the computational processing capability of the present image decoding device.
【0124】この判定の結果、上記負荷指標Rが上記閾
値THより小さい場合は、上記動き補償器212では、
0.5画素精度の動きベクトルに基づいて通常の動き補
償が行われて、予測信号が生成される(ステップS42
b)。一方、負荷判定ステップS41bでの判定の結
果、上記負荷指標Rが上記閾値TH以上である場合は、
1画素精度の動きベクトルに基づいて通常の動き補償が
行われて、予測信号が生成される(ステップS43
b)。As a result of this judgment, when the load index R is smaller than the threshold value TH, the motion compensator 212
Normal motion compensation is performed based on a 0.5-pixel precision motion vector to generate a prediction signal (step S42).
b). On the other hand, as a result of the determination in the load determination step S41b, when the load index R is equal to or larger than the threshold TH,
Normal motion compensation is performed based on the motion vector with one-pixel accuracy, and a prediction signal is generated (step S43).
b).
【0125】このように本実施の形態2の変形例2で
は、負荷判定器213からの負荷判定出力Chに基づい
て、動き補償器212での動き補償を、0.5画素精度
の動きベクトルに基づく通常の動き補償と、1画素精度
の動きベクトルに基づく通常の動き補償との間で切替え
るので、動き補償の種類の切替は行われず、画素精度の
切替のみが行われることとなり、このため非常に簡単な
回路構成により、演算負荷の増大による再生画像の画質
劣化を抑制することができる。As described above, in the second modification of the second embodiment, based on the load determination output Ch from the load determiner 213, the motion compensation by the motion compensator 212 is converted into a 0.5-pixel-precision motion vector. Since the switching between the normal motion compensation based on the motion vector based on the motion vector with one-pixel accuracy and the normal motion compensation based on the one-pixel accuracy is performed, the type of motion compensation is not switched, and only the switching on the pixel accuracy is performed. With a simple circuit configuration, it is possible to suppress deterioration in the image quality of the reproduced image due to an increase in the calculation load.
【0126】なお、この実施の形態2の変形例2による
動き補償処理では、符号化側から0.5画素精度の動き
ベクトルが送られている場合のみ、上記のような画素精
度の切り替えを行い、符号化側から1画素精度の動きベ
クトルが送られている場合は、上記のような画素精度の
切替を行わないようにしているが、動き補償処理におけ
る画素精度の切り替えはこれに限るものではない。In the motion compensation processing according to the second modification of the second embodiment, the above-described switching of the pixel precision is performed only when a 0.5-pixel precision motion vector is transmitted from the encoding side. In the case where a one-pixel precision motion vector is sent from the encoding side, the above-described switching of the pixel precision is not performed. However, the switching of the pixel precision in the motion compensation processing is not limited to this. Absent.
【0127】例えば、符号化側から0.5画素精度の動
きベクトルが送られている場合も1画素精度の動きベク
トルが送られている場合もともに、上記のような画素精
度の切り替えを行うようにしてもよい。For example, the above-described switching of the pixel accuracy is performed regardless of whether a 0.5-pixel precision motion vector or a 1-pixel precision motion vector is transmitted from the encoding side. It may be.
【0128】具体的には、符号化側から0.5画素精度
の動きベクトルが送られている場合は、1画素精度の動
き補償では、0.5画素精度の動きベクトルの値をまる
めて得られる1画素精度の動きベクトルを用い、0.5
画素精度の動き補償では、0.5画素精度の動きベクト
ルをそのまま用いる。一方、符号化側から1画素精度の
動きベクトルが送られている場合は、1画素精度の動き
補償では、この1画素精度の動きベクトルをそのまま用
い、0.5画素精度の動き補償では、上記1画素精度の
動きベクトルに基づいて生成した0.5画素精度の動き
ベクトルを用いる。More specifically, when a 0.5-pixel precision motion vector is sent from the encoding side, in the 1-pixel precision motion compensation, the value of the 0.5-pixel precision motion vector is rounded. Using a 1-pixel precision motion vector,
In motion compensation with pixel accuracy, a motion vector with 0.5 pixel accuracy is used as it is. On the other hand, when a motion vector with one-pixel accuracy is sent from the encoding side, the motion vector with one-pixel accuracy uses the motion vector with one-pixel accuracy as it is, and A 0.5 pixel precision motion vector generated based on a 1 pixel precision motion vector is used.
【0129】さらに、各画素精度の動き補償は階層的な
演算処理により実現しても、あるいは各画素精度に対応
した演算モジュールによる演算処理により実現してもよ
い。例えば、0.5画素精度の動き補償処理は、1画素
精度の動き補償を行うための基本的な第1の演算処理に
加えて付加的な第2の演算処理を行うことにより実現
し、画素精度の切り替えは、上記付加的な演算処理を行
うか否かにより行うようにしてもよい。また、動き補償
のための演算処理を行うモジュールとして、0.5画素
精度の動き補償を行う第1のモジュールと、1画素精度
の動き補償を行う第2のモジュールとを備え、これらの
モジュールを切り替えることにより、各画素精度の動き
補償の切り替えを行うようにしてもよい。Further, the motion compensation for each pixel accuracy may be realized by a hierarchical operation process or by an operation process by an operation module corresponding to each pixel accuracy. For example, a motion compensation process with 0.5 pixel accuracy is realized by performing an additional second calculation process in addition to a basic first calculation process for performing motion compensation with 1 pixel accuracy. The switching of the accuracy may be performed depending on whether or not to perform the additional arithmetic processing. Further, as a module for performing arithmetic processing for motion compensation, a first module for performing motion compensation with 0.5 pixel accuracy and a second module for performing motion compensation with 1 pixel accuracy are provided. By switching, the motion compensation of each pixel accuracy may be switched.
【0130】また、画素精度の切替は、0.5画素精度
と1画素精度の切替に限るものではなく、0.5画素精
度と2画素精度の切替、あるいは1画素精度と2画素精
度の切替であってもよく、さらには、0.5画素精度,
1画素精度,及び2画素精度のうちの1つを演算負荷に
応じて選択するものであってもよい。また、画素精度と
しては、上記のものに限らず、0.25画素精度や0.
125画素精度といった非常に精度の高いものも用いる
ことが可能である。Further, the switching of pixel precision is not limited to switching between 0.5 pixel precision and 1 pixel precision, but switching between 0.5 pixel precision and 2 pixel precision, or switching between 1 pixel precision and 2 pixel precision. , And further, 0.5 pixel accuracy,
One of the one-pixel accuracy and the two-pixel accuracy may be selected according to the calculation load. The pixel accuracy is not limited to the above, but may be 0.25 pixel accuracy or 0.
It is also possible to use very high precision such as 125 pixel precision.
【0131】実施の形態2の変形例3.この実施の形態
2の変形例3は、上記実施の形態2における予測信号生
成部210を、動き補償器212では、演算負荷の大き
さに応じて、演算処理が4段階にわたって切り替わるよ
う構成したものである。簡単に説明すると、この変形例
3では、上記実施の形態2における負荷判定器213
を、演算負荷の指標である第1,第2,第3の閾値TH
s,THm,THb(THs<THm<THb)に基づ
いて、演算負荷が上記第1の閾値より小さい値である
か、該第1の閾値以上かつ第2の閾値未満の値である
か、第2閾値以上かつ第3閾値未満の値であるか、第3
の閾値以上の値であるかを判定する構成としている。Modification 3 of Embodiment 2 In a third modification of the second embodiment, the prediction signal generation unit 210 according to the second embodiment is configured such that the motion compensator 212 switches the arithmetic processing in four stages according to the magnitude of the arithmetic load. It is. Briefly, in the third modification, the load determiner 213 according to the second embodiment is used.
With the first, second, and third threshold values TH, which are indexes of the operation load.
Based on s, THm, THb (THs <THm <THb), whether the calculation load is a value smaller than the first threshold, a value equal to or more than the first threshold and less than the second threshold, A value greater than or equal to two thresholds and less than a third threshold,
Is determined to be a value equal to or larger than the threshold value.
【0132】そして、この変形例3では、上記実施の形
態2における動き補償器212は、演算負荷が上記第1
閾値THsより小さいとき、0.5画素精度の動きベク
トルによるオーバーラップ動き補償を行い、演算負荷が
上記第1閾値THs以上かつ第2閾値THm未満である
とき、1画素精度の動きベクトルによるオーバーラップ
動き補償を行い、演算負荷が上記第2閾値THm以上か
つ第3閾値THb未満であるとき、0.5画素精度の動
きベクトルによる通常の動き補償を行い、演算負荷が上
記第3閾値THb以上であるとき、1画素精度の動きベ
クトルによる通常の動き補償を行う構成となっている。In the third modification, the motion compensator 212 according to the second embodiment has the operation load of the first
When the threshold value is smaller than the threshold value THs, overlap motion compensation is performed using a 0.5-pixel accuracy motion vector. When the calculation load is equal to or more than the first threshold value THs and less than the second threshold value THm, the overlap is performed using a one-pixel accuracy motion vector. When motion compensation is performed and the calculation load is equal to or more than the second threshold value THm and smaller than the third threshold value THb, normal motion compensation is performed using a 0.5-pixel accuracy motion vector. At one time, the configuration is such that normal motion compensation is performed using a motion vector with one-pixel accuracy.
【0133】次に動作について簡単に説明する。図6
(b) は上記実施の形態2の変形例3における予測信号生
成部での処理のフローを示している。この実施の形態2
の変形例3では、上記動き補償器212による動き補償
処理(予測信号の算出)は、負荷判定器213からの負
荷判定出力Chに応じて、演算負荷の異なる4つの動き
補償処理のうちの1つが選択される。Next, the operation will be briefly described. FIG.
(b) shows a flow of a process performed by the prediction signal generation unit according to the third modification of the second embodiment. Embodiment 2
In the third modification, the motion compensation processing (calculation of the prediction signal) by the motion compensator 212 is one of four motion compensation processings having different calculation loads in accordance with the load determination output Ch from the load determiner 213. One is selected.
【0134】以下詳述すると、図6(c) に示すように、
負荷判定ステップS41cでは、負荷判定器213によ
り、その時点での演算負荷の大きさを表す負荷指標Rが
第2閾値THmより小さいか否かの判定が行われる。In detail, as shown in FIG. 6C,
In the load determining step S41c, the load determiner 213 determines whether or not the load index R indicating the magnitude of the calculation load at that time is smaller than the second threshold THm.
【0135】この判定の結果、上記負荷指標Rが上記第
2閾値THmより小さい場合は、ステップS42cに
て、上記負荷指標Rが上記第1閾値THs(THs<T
Hm)より小さいか否かの判定が行われる。一方、負荷
判定ステップS41cでの判定の結果、上記負荷指標R
が第2閾値THm以上である場合は、ステップS43c
にて、上記負荷指標Rが上記第3閾値THb(THb>
THm)より小さいか否かの判定が行われる。If the result of this determination is that the load index R is smaller than the second threshold THm, then at step S42c, the load index R is set to the first threshold THs (THs <T
Hm) is determined. On the other hand, as a result of the determination in the load determination step S41c, the load index R
Is greater than or equal to the second threshold value THm, Step S43c
, The load index R is equal to the third threshold value THb (THb>
THm) is determined.
【0136】上記負荷判定ステップS42cでの判定の
結果、上記負荷指標Rが第1閾値THsより小さい場合
は、0.5画素精度の動きベクトルに基づいてオーバー
ラップ動き補償処理が行われる(ステップS44c)。
上記負荷判定ステップS42cでの判定の結果、上記負
荷指標Rが第1閾値THs以上である場合は、1画素精
度の動きベクトルに基づいてオーバーラップ動き補償処
理が行われる(ステップS45c)。上記負荷判定ステ
ップS43cでの判定の結果、上記負荷指標Rが第3閾
値THbより小さい場合は、0.5画素精度の動きベク
トルに基づいて、通常の動き補償処理(負荷削減動き補
償)が行われる(ステップS46c)。上記負荷判定ス
テップS43cでの判定の結果、上記負荷指標Rが第3
閾値THb以上である場合は、1画素精度の動きベクト
ルを用いて通常の動き補償処理(負荷削減動き補償)が
行われる(ステップS47b)。When the load index R is smaller than the first threshold THs as a result of the determination in the load determination step S42c, the overlap motion compensation processing is performed based on the 0.5-pixel precision motion vector (step S44c). ).
If the result of the determination in the load determination step S42c is that the load index R is equal to or greater than the first threshold value THs, an overlap motion compensation process is performed based on a one-pixel accurate motion vector (step S45c). If the result of the determination in the load determination step S43c is that the load index R is smaller than the third threshold value THb, normal motion compensation processing (load reduction motion compensation) is performed based on a 0.5-pixel precision motion vector. (Step S46c). As a result of the determination in the load determination step S43c, the load index R
If it is equal to or greater than the threshold value THb, normal motion compensation processing (load reduction motion compensation) is performed using a motion vector with one-pixel accuracy (step S47b).
【0137】このような構成の実施の形態2の変形例3
では、実時間での上記信号生成処理に必要な演算処理能
力に基づいた演算負荷の第1〜第3の閾値と、上記検出
した演算負荷の大きさとの比較結果に基づいて、画素精
度及び動き補償の種類を切り換えて、演算負荷の大きさ
を4段階にわたって切り換えるようにしたので、復号化
側での演算処理量を徐々に変化させることができ、しか
も演算処理量の可変範囲を広くすることができる。Modification 3 of Embodiment 2 with Such a Configuration
Then, based on the comparison result between the first to third threshold values of the calculation load based on the calculation processing capacity necessary for the signal generation processing in real time and the magnitude of the detected calculation load, the pixel accuracy and the motion Since the type of compensation is switched and the magnitude of the computational load is switched in four steps, the computational processing amount on the decoding side can be gradually changed, and the variable range of the computational processing amount can be widened. Can be.
【0138】さらに、上記各実施の形態及びその変形例
で示した画像符号化処理および画像復号化処理を実現す
るための符号化あるいは復号化プログラムを、フロッピ
ーディスク等のデータ記憶媒体に記録するようにするこ
とにより、上記各実施の形態及びその変形例で示した処
理を、独立したコンピュータシステムにおいて簡単に実
施することが可能となる。Further, an encoding or decoding program for realizing the image encoding process and the image decoding process described in each of the above embodiments and the modifications thereof is recorded on a data storage medium such as a floppy disk. By doing so, the processing described in each of the above-described embodiments and the modifications thereof can be easily performed by an independent computer system.
【0139】図11は、上記実施の形態1若しくはその
変形例の画像符号化装置による画像符号化処理、あるい
は上記実施の形態2若しくはその変形例の画像復号化装
置による画像復号化処理を、これらの画像処理に対応し
たプログラムを格納したフロッピーディスクを用いて、
コンピュータシステムにより実施する場合を説明するた
めの図である。FIG. 11 shows an image encoding process by the image encoding device according to the first embodiment or its modification, or an image decoding process by the image decoding device according to the second embodiment or its modification. Using a floppy disk storing a program corresponding to the image processing of
FIG. 4 is a diagram for explaining a case where the present invention is implemented by a computer system.
【0140】図11(b) は、フロッピーディスクFDの
正面からみた外観、断面構造、及び記録媒体であるフロ
ッピーディスク本体を示し、図11(a) は、フロッピー
ディスク本体Dの物理フォーマットの例を示している。
フロッピーディスク本体DはケースF内に内蔵され、該
ディスク本体Dの表面には、同心円状に外周からは内周
に向かって複数のトラックTrが形成され、各トラック
は角度方向に16のセクタSeに分割されている。従っ
て、上記プログラムを格納したフロッピーディスク本体
Dでは、上記フロッピーディスク本体D上に割り当てら
れた領域に、上記プログラムとしてのデータが記録され
ている。FIG. 11B shows the external appearance, cross-sectional structure, and main body of a floppy disk as a recording medium when viewed from the front of the floppy disk FD. FIG. 11A shows an example of the physical format of the main body D of the floppy disk. Is shown.
The floppy disk main body D is housed in a case F. On the surface of the disk main body D, a plurality of tracks Tr are formed concentrically from the outer circumference toward the inner circumference, and each track has 16 sectors Se in the angular direction. Is divided into Therefore, in the floppy disk body D storing the program, data as the program is recorded in an area allocated on the floppy disk body D.
【0141】また、図11(c) は、フロッピーディスク
FDに上記プログラムの記録再生を行うための構成を示
す。上記プログラムをフロッピーディスクFDに記録す
る場合は、コンピュータシステムCsから上記プログラ
ムとしてのデータをフロッピーディスクドライブFDDを
介して書き込む。また、フロッピーディスクFD内のプ
ログラムにより上記画像符号化処理あるいは画像復号化
処理をコンピュータシステムCs中に構築する場合は、
フロッピーディスクドライブFDDによりプログラムをフ
ロッピーディスクFDから読み出し、コンピュータシス
テムCsに転送する。FIG. 11C shows a configuration for recording and reproducing the program on the floppy disk FD. When recording the program on the floppy disk FD, data as the program is written from the computer system Cs via the floppy disk drive FDD. In the case where the above image encoding process or image decoding process is constructed in the computer system Cs by a program in the floppy disk FD,
The program is read from the floppy disk FD by the floppy disk drive FDD and transferred to the computer system Cs.
【0142】なお、上記説明では、データ記録媒体とし
てフロッピーディスクを用いたコンピュータシステムに
よる画像処理の説明を行ったが、この画像処理は、光デ
ィスクを用いても同様に行うことができる。また、記録
媒体はこれに限らず、ICカード、ROMカセット等、
プログラムを記録できるものであれば同様に実施するこ
とができる。In the above description, image processing by a computer system using a floppy disk as a data recording medium has been described. However, this image processing can be similarly performed using an optical disk. Further, the recording medium is not limited to this, and may be an IC card, a ROM cassette, or the like.
The present invention can be similarly implemented as long as the program can be recorded.
【0143】[0143]
【発明の効果】以上のように本発明(請求項1)に係る
画像処理方法によれば、画像入力信号の符号化処理にお
ける演算負荷の大きさを検出し、該検出した演算負荷の
大きさに応じて、上記画像入力信号の予測信号を生成す
る処理における予測方法を切り替えるので、上記予測信
号生成処理における演算負荷量が、画像入力信号の符号
化処理を行うシステムの演算処理能力を超えるのを回避
することができ、これにより復号化側で、実時間処理に
より再生される映像にてコマ落ちなどが生じるといった
不具合を防止することができ、この結果、予測信号生成
処理に起因するシテスムの演算負荷の増大が再生画像の
画質に大きな悪影響を及ぼすのを防止することができ
る。As described above, according to the image processing method of the present invention (claim 1), the magnitude of the arithmetic load in the encoding process of the image input signal is detected, and the magnitude of the detected arithmetic load is detected. The prediction method in the process of generating the prediction signal of the image input signal is switched according to the above, so that the calculation load in the prediction signal generation process exceeds the calculation processing capability of the system that performs the encoding process of the image input signal. Thus, it is possible to prevent the decoding side from having a problem such as dropping of frames in the video reproduced by the real-time processing on the decoding side. As a result, it is possible to prevent the occurrence of the system caused by the prediction signal generation processing. It is possible to prevent an increase in the calculation load from having a large adverse effect on the image quality of the reproduced image.
【0144】この発明(請求項2)によれば、請求項1
記載の画像処理方法において、実時間での上記予測信号
生成処理に必要な演算処理量を基準として得られる演算
負荷の閾値と、上記検出した演算負荷の大きさとの比較
結果に基づいて、演算処理量の大きい第1の予測方法と
演算処理量の少ない第2の予測方法との間で、上記予測
信号生成処理における予測方法を切り替えるので、再生
画像の画質の劣化を招くことなく、符号化効率を向上す
ることができる。According to the present invention (claim 2), claim 1
In the image processing method described above, an arithmetic processing is performed based on a comparison result between a threshold of an arithmetic load obtained based on an arithmetic processing amount required for the prediction signal generation processing in real time and the magnitude of the detected arithmetic load. Since the prediction method in the prediction signal generation processing is switched between the first prediction method having a large amount and the second prediction method having a small amount of operation processing, the coding efficiency is not deteriorated without deteriorating the image quality of the reproduced image. Can be improved.
【0145】この発明(請求項3)によれば、請求項1
記載の画像処理方法において、実時間での上記信号生成
処理に必要な演算処理能力に基づいた演算負荷の閾値
と、上記検出した演算負荷の大きさとの比較結果に基づ
いて、上記信号生成処理における予測方法として、演算
処理量が異なる複数の予測方法のうちから、検出した演
算負荷の大きさに適した予測方法を選択するので、演算
処理量の切替をきめ細かく行うことができる。また、そ
の信号処理量が符号化処理全体の信号処理量に占める割
合の大きい動き予測処理が切り替わることとなり、画像
伝送システムにおける演算負荷を大きく減少させること
が可能となる。According to the present invention (claim 3), claim 1
In the image processing method described above, based on a comparison result between a threshold value of a calculation load based on a calculation processing capability required for the signal generation process in real time and the magnitude of the detected calculation load, As the prediction method, a prediction method suitable for the magnitude of the detected computation load is selected from a plurality of prediction methods having different computation processing amounts, so that the computation processing amount can be finely switched. In addition, the motion prediction processing, in which the signal processing amount accounts for a large proportion of the entire coding processing signal processing amount, is switched, and the calculation load in the image transmission system can be greatly reduced.
【0146】この発明(請求項4)によれば、請求項1
記載の画像処理方法において、実時間での上記信号生成
処理に必要な演算処理能力に基づいた演算負荷の閾値
と、上記検出した演算負荷の大きさとの比較結果に基づ
いて、上記信号生成処理における動き予測処理の方法
を、必要となる演算処理量が多い動き予測方法と、必要
となる演算処理量が少ない動き予測方法との間で切り替
え、かつ上記比較結果に基づいて、上記信号生成処理に
おける動き補償処理の方法を、必要となる演算処理量が
多い動き補償方法と、必要となる演算処理量が少ない動
き補償方法との間で切り替えるようにしたので、演算処
理量の切替を、大きな範囲にわたって比較的きめ細かく
行うことができる。According to the present invention (Claim 4), Claim 1
In the image processing method described above, based on a comparison result between a threshold value of a calculation load based on a calculation processing capability required for the signal generation process in real time and the magnitude of the detected calculation load, The method of the motion prediction process is switched between a motion prediction method that requires a large amount of calculation processing and a motion prediction method that requires a small amount of calculation processing, and based on the comparison result, Since the method of motion compensation processing is switched between a motion compensation method requiring a large amount of calculation processing and a motion compensation method requiring a small amount of calculation processing, the switching of the amount of calculation processing can be performed in a large range. Can be performed relatively finely.
【0147】この発明(請求項5)によれば、請求項1
記載の画像処理方法において、実時間での上記信号生成
処理に必要な演算処理能力に基づいた演算負荷の閾値
と、上記検出した演算負荷の大きさとの比較結果に基づ
いて、上記信号生成処理における動き予測処理の方法
を、画素精度の高い動きベクトルを求める動き予測方法
と、画素精度の低い動きベクトルを求める動き予測方法
との間で切り替えるので、画素精度の切替えという比較
的簡単な処理により、再生画像の画質の劣化を招くこと
なく、符号化効率を向上することができる。According to the present invention (Claim 5), Claim 1
In the image processing method described above, based on a comparison result between a threshold value of a calculation load based on a calculation processing capability required for the signal generation process in real time and the magnitude of the detected calculation load, Since the method of the motion prediction process is switched between a motion prediction method for obtaining a motion vector with high pixel accuracy and a motion prediction method for obtaining a motion vector with low pixel accuracy, by a relatively simple process of switching pixel accuracy, Encoding efficiency can be improved without deteriorating the quality of a reproduced image.
【0148】この発明(請求項6)によれば、請求項1
記載の画像処理方法において、実時間での上記信号生成
処理に必要な演算処理能力に基づいた演算負荷の閾値
と、上記検出した演算負荷の大きさとの比較結果に基づ
いて、上記信号生成処理における動き補償処理の方法
を、画素精度の高い動きベクトルに基づいて上記予測画
像入力信号を求める動き補償方法と、画素精度の低い動
きベクトルに基づいて上記予測画像入力信号を求める動
き補償方法との間で切り替えるので、画素精度の切り替
えという比較的簡単な処理により、画像伝送システムに
おける演算負荷を大きく減少させることが可能となる。According to the present invention (claim 6), claim 1
In the image processing method described above, based on a comparison result between a threshold value of a calculation load based on a calculation processing capability required for the signal generation process in real time and the magnitude of the detected calculation load, The motion compensation method is performed between a motion compensation method for obtaining the predicted image input signal based on a motion vector with high pixel accuracy and a motion compensation method for obtaining the predicted image input signal based on a motion vector with low pixel accuracy. Therefore, the calculation load in the image transmission system can be greatly reduced by the relatively simple process of switching the pixel accuracy.
【0149】この発明(請求項7)によれば、請求項6
記載の画像処理方法において、上記演算負荷の閾値と演
算負荷の大きさとの比較結果に基づいて、上記画素精度
の高い動きベクトルに基づいて行われる動き補償方法の
種類を、演算負荷の大きい第1の動き補償方法と、演算
負荷の小さい第2の動き補償方法との間で切り替えると
ともに、上記演算負荷の閾値と演算負荷の大きさとの比
較結果に基づいて、上記画素精度の低い動きベクトルに
基づいて行われる動き補償方法の種類を、演算負荷の大
きい第1の動き補償方法と、演算負荷の小さい第2の動
き補償方法との間で切り替えるので、演算処理量の切替
を、比較的大きな範囲にわたって比較的きめ細かく行う
ことができる。According to the present invention (claim 7), claim 6
In the image processing method described above, the type of the motion compensation method that is performed based on the motion vector with high pixel accuracy is determined based on a comparison result between the threshold value of the computation load and the magnitude of the computation load. And the second motion compensation method with a small computational load, and based on the comparison result between the threshold value of the computational load and the magnitude of the computational load, based on the motion vector with a low pixel accuracy. Is switched between the first motion compensation method having a large computational load and the second motion compensation method having a small computational load. Can be performed relatively finely.
【0150】この発明(請求項8)によれば、請求項1
記載の画像処理方法において、実時間での上記信号生成
処理に必要な演算処理能力に基づいた演算負荷の閾値
と、上記検出した演算負荷の大きさとの比較結果に基づ
いて、上記信号生成処理における動き補償処理の方法と
して、それぞれ画素精度の異なる動きベクトルを用いる
複数の動き補償方法の1つを選択するので、画素精度の
切り替えという比較的簡単な処理により、演算処理量の
切替をきめ細かく行うことができる。According to the present invention (claim 8), claim 1
In the image processing method described above, based on a comparison result between a threshold value of a calculation load based on a calculation processing capability required for the signal generation process in real time and the magnitude of the detected calculation load, Since one of a plurality of motion compensation methods using motion vectors having different pixel precisions is selected as a method of the motion compensation processing, the switching of the amount of arithmetic processing can be finely performed by a relatively simple process of switching the pixel precision. Can be.
【0151】この発明(請求項9)に係る画像処理方法
によれば、画像符号化信号の復号化処理における演算負
荷の大きさを検出し、該検出した演算負荷の大きさに応
じて、画像復号化信号に対する予測信号を生成する処理
における動き補償方法を切り替えるので、上記予測信号
生成処理における演算負荷量が、画像符号化信号の復号
化処理を行うシステムの演算処理能力を超えるのを回避
することができ、これにより、実時間処理により再生さ
れる映像にてコマ落ちなどが生じるといった不具合を防
止することができる。この結果、上記予測信号生成処理
に起因するシテスムの演算負荷の増大が再生画像の画質
に大きな悪影響を及ぼすのを防止することができる。According to the image processing method of the present invention (claim 9), the magnitude of the calculation load in the decoding process of the coded image signal is detected, and the image processing is performed in accordance with the detected calculation load. Since the motion compensation method in the process of generating the prediction signal for the decoded signal is switched, it is possible to prevent the calculation load in the prediction signal generation process from exceeding the calculation processing capability of the system for decoding the image coded signal. As a result, it is possible to prevent a problem such as dropping frames in a video reproduced by real-time processing. As a result, it is possible to prevent an increase in the computational load of the system caused by the prediction signal generation processing from having a large adverse effect on the image quality of the reproduced image.
【0152】この発明(請求項10)によれば、請求項
9記載の画像処理方法において、実時間での上記予測信
号生成処理に必要な演算処理量を基準として得られる演
算負荷の閾値と、上記検出した演算負荷の大きさとの比
較結果に基づいて、演算処理量の小さい第1の動き補償
方法と演算処理量の多い第2の動き補償方法との間で、
上記予測信号生成処理における動き補償方法を切り替え
るので、再生画像の画質の劣化を招くことなく符号化効
率を向上できる符号化処理に対応した復号化処理を実現
することができる。According to the present invention (claim 10), in the image processing method according to claim 9, a threshold value of a calculation load obtained based on a calculation processing amount necessary for the prediction signal generation processing in real time; Based on the result of the comparison with the detected magnitude of the computation load, the first motion compensation method having a small computation processing amount and the second motion compensation method having a large computation processing amount are:
Since the motion compensation method in the prediction signal generation process is switched, it is possible to realize a decoding process corresponding to the encoding process capable of improving the encoding efficiency without deteriorating the image quality of the reproduced image.
【0153】この発明(請求項11)によれば、請求項
9記載の画像処理方法において、実時間での上記信号生
成処理に必要な演算処理能力に基づいた演算負荷の閾値
と、上記検出した演算負荷の大きさとの比較結果に基づ
いて、上記信号生成処理における動き補償方法として、
演算処理量が異なる複数の動き補償方法のうちから、検
出した演算負荷の大きさに適した動き補償方法を選択す
るので、演算処理量の切替をきめ細かく行うことができ
る。According to the present invention (claim 11), in the image processing method according to claim 9, the threshold value of the calculation load based on the calculation processing capability necessary for the signal generation processing in real time and the detection of the detected load are performed. As a motion compensation method in the signal generation processing based on the comparison result with the magnitude of the calculation load,
Since a motion compensation method suitable for the magnitude of the detected computation load is selected from among a plurality of motion compensation methods having different computation processing amounts, switching of the computation processing amount can be performed finely.
【0154】この発明(請求項12)によれば、請求項
9記載の画像処理方法において、実時間での上記信号生
成処理に必要な演算処理能力に基づいた演算負荷の閾値
と、上記検出した演算負荷の大きさとの比較結果に基づ
いて、上記信号生成処理における動き補償方法を、画素
精度の高い動きベクトルに基づいて上記予測画像復号化
信号を求める動き補償方法と、画素精度の低い動きベク
トルに基づいて上記予測画像復号化信号を求める動き補
償方法との間で切り替えるので、画素精度の切り替えと
いう比較的簡単な処理により、演算処理量の切替を行う
ことができる。According to the present invention (claim 12), in the image processing method according to claim 9, the threshold value of the calculation load based on the calculation processing capability required for the signal generation processing in real time and the detection of the detected load are performed. A motion compensation method in the signal generation processing based on a comparison result with the magnitude of the calculation load; a motion compensation method in which the predicted image decoded signal is calculated based on a motion vector with high pixel accuracy; and a motion vector with low pixel accuracy. Therefore, the amount of calculation can be switched by a relatively simple process of switching the pixel accuracy by switching between the motion compensation method for obtaining the predicted image decoded signal based on the above.
【0155】この発明(請求項13)によれば、請求項
12記載の画像処理方法において、上記演算負荷の閾値
と演算負荷の大きさとの比較結果に基づいて、上記画素
精度の高い動きベクトルに基づいて行われる動き補償方
法の種類を、演算負荷の大きい第1の動き補償方法と、
演算負荷の小さい第2の動き補償方法との間で切り替え
るとともに、上記演算負荷の閾値と演算負荷の大きさと
の比較結果に基づいて、上記画素精度の低い動きベクト
ルに基づいて行われる動き補償方法の種類を、演算負荷
の大きい第1の動き補償方法と、演算負荷の小さい第2
の動き補償方法との間で切り替えるので、演算処理量の
切替を比較的きめ細かくしかも大きな範囲にわたって行
うことができる。According to the present invention (claim 13), in the image processing method according to claim 12, the motion vector with high pixel accuracy is obtained based on a comparison result between the threshold value of the calculation load and the magnitude of the calculation load. The type of the motion compensation method performed based on the first motion compensation method with a large computational load,
A motion compensation method performed based on the motion vector with low pixel accuracy based on a comparison result between the threshold value of the computation load and the magnitude of the computation load, while switching between the second motion compensation method having a small computation load. Are classified into a first motion compensation method having a large calculation load and a second motion compensation method having a small calculation load.
, The amount of computation can be relatively finely switched over a large range.
【0156】この発明(請求項14)に係る画像処理装
置によれば、符号化処理の対象となる対象単位領域の画
像入力信号を所定の方法により予測して予測信号を生成
する予測処理部を、画像入力信号の符号化処理における
演算負荷の大きさを検出する演算負荷検出手段を有し、
該検出した演算負荷の大きさに応じて、上記予測信号生
成処理における予測方法を切り替える構成としたので、
上記予測信号生成処理における演算負荷量が、画像入力
信号の符号化処理を行うシステムの演算処理能力を超え
るのを回避することができ、これにより復号化側で、実
時間処理により再生される映像にてコマ落ちなどが生じ
るといった不具合を防止することができる。この結果、
予測信号の生成処理に起因するシテスムの演算負荷の増
大が再生画像の画質に大きな悪影響を及ぼすのを防止す
ることができる。According to the image processing apparatus of the present invention (claim 14), the prediction processing unit for predicting the image input signal of the target unit area to be encoded by a predetermined method to generate a prediction signal is provided. Has an operation load detecting means for detecting the amount of operation load in the encoding process of the image input signal,
Since the prediction method in the prediction signal generation process is switched according to the magnitude of the detected calculation load,
It is possible to prevent the calculation load in the above-described prediction signal generation processing from exceeding the calculation processing capacity of the system that performs the coding processing of the image input signal, whereby the video reproduced on the decoding side by the real-time processing can be prevented. Can prevent a problem such as dropping frames. As a result,
It is possible to prevent an increase in the computational load of the system caused by the generation processing of the prediction signal from having a large adverse effect on the image quality of the reproduced image.
【0157】この発明(請求項15)によれば、請求項
14記載の画像処理装置において、上記予測処理部を構
成する動き検出器を、被処理画面における対象単位領域
と、これに対応する、前画面における予測領域との位置
関係を示す動きベクトルとして、上記検出された演算負
荷の大きさに応じて、画素精度の低い第1の動きベクト
ルと画素精度の高い第2の動きベクトルのいずれかを出
力する構成としたので、再生画像の画質の劣化を招くこ
となく、符号化効率を向上することができる。According to the present invention (claim 15), in the image processing apparatus according to claim 14, the motion detector constituting the prediction processing unit includes a target unit area in a screen to be processed and a corresponding unit area. Either a first motion vector with a low pixel accuracy or a second motion vector with a high pixel accuracy as a motion vector indicating the positional relationship with the prediction area in the previous screen, depending on the magnitude of the detected calculation load. , The coding efficiency can be improved without deteriorating the image quality of the reproduced image.
【0158】この発明(請求項16)に係る画像処理装
置によれば、復号化処理の対象となる対象単位領域の画
像復号化信号を所定の動き補償方法により予測して予測
信号を生成する予測処理部を、画像符号化信号の復号化
処理における演算負荷の大きさを検出する演算負荷検出
手段を備え、該検出した演算負荷の大きさに応じて、上
記予測信号生成処理における動き補償方法を切り替える
構成としたので、該予測信号生成処理における演算処理
量が、画像符号化信号の復号化処理を行うシステムの演
算処理能力を超えるのを回避することができ、これによ
り、実時間処理により再生される映像にてコマ落ちなど
が生じるといった不具合を防止することができる。この
結果、予測信号生成処理に起因するシテスムの演算負荷
の増大が再生画像の画質に大きな悪影響を及ぼすのを防
止することができる。According to the image processing apparatus of the present invention (claim 16), a prediction in which a decoded signal of a target unit area to be decoded is predicted by a predetermined motion compensation method to generate a predicted signal. The processing unit includes an operation load detection unit that detects the amount of operation load in the decoding process of the image encoded signal, and performs a motion compensation method in the prediction signal generation process according to the detected operation load. Since the configuration is switched, it is possible to prevent the amount of arithmetic processing in the prediction signal generation processing from exceeding the arithmetic processing capability of the system that performs the decoding processing of the coded image signal. It is possible to prevent such a problem that a dropped frame occurs in the image to be displayed. As a result, it is possible to prevent an increase in the computational load of the system caused by the prediction signal generation processing from having a large adverse effect on the image quality of the reproduced image.
【0159】この発明(請求項17)によれば、請求項
16記載の画像処理装置において、上記予測処理部を構
成する動き補償器を、上記画像符号化信号に含まれる動
きベクトル情報に基づいて、対象単位領域に対する予測
信号を生成する処理を、上記検出された演算負荷の大き
さに応じて、符号化効率のよいものと演算処理量の少な
いものとの間で選択して行うようにしたので、再生画像
の画質の劣化を招くことなく符号化効率を向上できる符
号化処理に対応した復号化処理を実現できる。According to the present invention (claim 17), in the image processing apparatus according to claim 16, the motion compensator constituting the prediction processing unit is controlled based on the motion vector information included in the coded image signal. The process of generating a prediction signal for a target unit area is performed by selecting between a coding efficiency high level and a processing level low according to the detected calculation load. Therefore, it is possible to realize a decoding process corresponding to the encoding process that can improve the encoding efficiency without deteriorating the image quality of the reproduced image.
【0160】この発明(請求項18)に係るデータ記憶
媒体によれば、画像信号の符号化処理を行うためのプロ
グラムとして、画像入力信号の符号化処理における演算
負荷の大きさを検出する処理、及び該検出した演算負荷
の大きさに応じて、画像入力信号の予測信号を生成する
処理における予測方法を切り替える処理をコンピュータ
に行わせるプログラムを格納したので、該予測信号生成
処理における演算負荷量が、画像入力信号の符号化処理
を行うシステムの演算処理能力を超えるのを回避して、
復号化側で、実時間処理により再生される映像にてコマ
落ちなどが生じるといった不具合を防止することができ
る符号化処理をコンピュータにより実現することができ
る。According to the data storage medium of the present invention (claim 18), the program for performing the encoding process of the image signal includes a process of detecting a magnitude of a calculation load in the encoding process of the image input signal, And a program for causing a computer to perform a process of switching a prediction method in a process of generating a prediction signal of an image input signal in accordance with the magnitude of the detected computation load. In order to avoid exceeding the arithmetic processing capability of the system that performs the encoding process of the image input signal,
On the decoding side, it is possible to realize, by a computer, encoding processing capable of preventing a problem such as dropping of frames in a video reproduced by real-time processing.
【0161】この発明(請求項19)に係るデータ記憶
媒体は、画像符号化信号の復号化処理を行うためのプロ
グラムとして、上記画像符号化信号の復号化処理におけ
る演算負荷の大きさを検出する処理、及び該検出した演
算負荷の大きさに応じて、画像復号化信号の予測信号を
生成する処理における動き補償方法を切り替える処理を
コンピュータに行わせるプログラムを格納したので、該
予測信号生成処理における演算負荷量が、画像符号化信
号の復号化処理を行うシステムの演算処理能力を超える
のを回避して、実時間処理により再生される映像にてコ
マ落ちなどが生じるといった不具合を防止することがで
きる復号化処理をコンピュータにより実現することがで
きる。The data storage medium according to the present invention (claim 19) detects a magnitude of an operation load in the decoding process of the image coded signal as a program for performing the decoding process of the image coded signal. A program for causing a computer to perform a process and a process of switching a motion compensation method in a process of generating a prediction signal of an image decoded signal in accordance with the magnitude of the detected calculation load is stored. It is possible to prevent the calculation load from exceeding the calculation processing capability of a system that performs decoding processing of an image coded signal, and to prevent a problem such as dropping of frames in a video reproduced by real-time processing. A possible decoding process can be realized by a computer.
【図1】本発明の実施の形態1による画像符号化装置を
説明するためのブロック図である。FIG. 1 is a block diagram for describing an image encoding device according to a first embodiment of the present invention.
【図2】上記実施の形態1の画像符号化装置による符号
化処理(図(a) )及び予測信号の生成処理(図(b) )を
フローチャートにより示す図である。FIG. 2 is a diagram showing, by a flow chart, encoding processing (FIG. (A)) and prediction signal generation processing (FIG. (B)) by the image encoding apparatus according to the first embodiment.
【図3】上記実施の形態1の変形例1,2の画像符号化
装置による予測信号の生成処理(図(a) ,(b) )をフロ
ーチャートにより示す図である。FIG. 3 is a diagram showing, by a flowchart, generation processing (FIGS. (A) and (b)) of a prediction signal by an image encoding device according to modifications 1 and 2 of the first embodiment;
【図4】本発明の実施の形態2による画像復号化装置を
説明するためのブロック図である。FIG. 4 is a block diagram for explaining an image decoding device according to a second embodiment of the present invention.
【図5】上記実施の形態2の画像復号化装置による復号
化処理(図(a) )、及び動き補償処理(図(b) )をフロ
ーチャートにより示す図である。FIG. 5 is a diagram showing, by a flowchart, decoding processing (FIG. (A)) and motion compensation processing (FIG. (B)) by the image decoding apparatus according to the second embodiment.
【図6】上記実施の形態2の変形例1,2,3の画像復
号化装置による動き補償処理(図(a) ,(b) ,(c) )を
フローチャートにより示す図である。FIG. 6 is a flowchart showing the motion compensation processing (FIGS. (A), (b), and (c)) by the image decoding apparatus according to Modifications 1, 2, and 3 of the second embodiment.
【図7】従来のMPEG1,2に対応した画像復号化方
法における動き補償処理を説明するための図である。FIG. 7 is a diagram for explaining a motion compensation process in a conventional image decoding method corresponding to MPEG1 and MPEG2.
【図8】16×16画素からなるマクロブロックと8×
8画素からなるブロックとの関係を示す図である。FIG. 8 shows a macro block composed of 16 × 16 pixels and 8 ×
FIG. 3 is a diagram illustrating a relationship with a block including eight pixels.
【図9】従来の画像復号化方法におけるオーバーラップ
動き補償方法を説明するための図である。FIG. 9 is a diagram for explaining an overlap motion compensation method in a conventional image decoding method.
【図10】上記オーバーラップ動き補償方法における予
測信号の生成処理を説明するための図である。FIG. 10 is a diagram for explaining a process of generating a prediction signal in the overlap motion compensation method.
【図11】図11(a) ,(b) ,(c) は上記各実施の形態
の画像処理装置による符号化あるいは復号化処理をコン
ピュータシステムにより実現するためのプログラムを格
納したデータ記憶媒体について説明するための図であ
る。11 (a), 11 (b) and 11 (c) show data storage media storing a program for implementing a coding or decoding process by the image processing apparatus of each of the above-described embodiments by a computer system. It is a figure for explaining.
【図12】従来のMPEG4に対応した画像復号化方法
における動き補償処理を説明するための図である。FIG. 12 is a diagram for explaining motion compensation processing in a conventional image decoding method compatible with MPEG4.
100 画像符号化装置 101 ブロック化器 102 第1のスイッチ 103 情報圧縮器 104 可変長符号化器 105 モード判定器 106 減算器 110,210 予測信号生成部 111 加算処理部 111a 第2のスイッチ 111b,203 加算器 112,202 情報伸長器 113,211 フレームメモリ 114,213 負荷判定器 120 演算処理部 121 動き検出器 122,212 動き補償器 200 画像復号化装置 201 データ解析器 204 逆ブロック化器 214 スイッチ Cs コンピュータ・システム D フロッピディスク本体 FD フロッピディスク FDD フロッピディスクドライブ REFERENCE SIGNS LIST 100 Image encoding device 101 Blocker 102 First switch 103 Information compressor 104 Variable length encoder 105 Mode determiner 106 Subtractor 110, 210 Predicted signal generator 111 Adder 111a Second switch 111b, 203 Adders 112, 202 Information decompressors 113, 211 Frame memories 114, 213 Load determiners 120 Arithmetic processing units 121 Motion detectors 122, 212 Motion compensators 200 Image decoding devices 201 Data analyzers 204 Deblockers 214 Switches Cs Computer system D Floppy disk FD Floppy disk FDD Floppy disk drive
Claims (19)
域毎に符号化して画像符号化信号を出力するとともに、
該画像符号化信号を復号化して得られる画像復号化信号
に基づいて、符号化処理の対象となる対象単位領域に対
応する予測画像入力信号を所定の予測方法に基づく演算
により生成する信号生成処理を、所要の単位領域に対し
て行う画像符号化方法であって、 上記画像入力信号の符号化処理における演算負荷の大き
さを検出し、 該検出した演算負荷の大きさに応じて、上記信号生成処
理における予測方法を切り替えることを特徴とする画像
処理方法。An image input signal is encoded for each unit area for dividing a screen, and an image encoded signal is output.
A signal generation process for generating a predicted image input signal corresponding to a target unit area to be subjected to an encoding process by an operation based on a predetermined prediction method based on an image decoded signal obtained by decoding the image encoded signal Is performed on a required unit area, wherein the magnitude of the computational load in the encoding process of the image input signal is detected, and the signal is supplied in accordance with the magnitude of the detected computational load. An image processing method characterized by switching a prediction method in a generation process.
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
予測方法を、必要となる演算処理量が多い第1の予測方
法と、必要となる演算処理量が少ない第2の予測方法と
の間で切り替えることを特徴とする画像処理方法。2. The image processing method according to claim 1, wherein a threshold value of a calculation load based on a calculation processing capability required for the signal generation processing in real time and a magnitude of the detected calculation load are compared. Based on the above, the prediction method in the signal generation processing is switched between a first prediction method that requires a large amount of arithmetic processing and a second prediction method that requires a small amount of arithmetic processing. Image processing method.
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
予測方法として、演算処理量が異なる複数の予測方法の
うちから、検出した演算負荷の大きさに適した予測方法
を選択することを特徴とする画像処理方法。3. The image processing method according to claim 1, wherein a comparison result between a threshold value of a calculation load based on a calculation processing capability required for the signal generation processing in real time and the magnitude of the detected calculation load is calculated. An image processing method according to claim 1, wherein a prediction method suitable for the detected calculation load is selected from among a plurality of prediction methods having different amounts of calculation processing as the prediction method in the signal generation processing.
素精度でもって示す動きベクトルを求める動き予測処理
と、該動きベクトルに基づいて予測領域に対応する画像
信号を上記予測画像入力信号として求める動き補償処理
とを含むものであり、 実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
動き予測処理の方法を、必要となる演算処理量が多い動
き予測方法と、必要となる演算処理量が少ない動き予測
方法との間で切り替え、 かつ上記比較結果に基づいて、上記信号生成処理におけ
る動き補償処理の方法を、必要となる演算処理量が多い
動き補償方法と、必要となる演算処理量が少ない動き補
償方法との間で切り替えることを特徴とする画像処理方
法。4. The image processing method according to claim 1, wherein the signal generation processing includes a motion prediction processing for obtaining a motion vector indicating a position of a prediction area corresponding to the target unit area with a predetermined pixel precision. A motion compensation process for obtaining an image signal corresponding to the prediction area as the predicted image input signal based on the motion vector, and a calculation load based on a calculation processing capability necessary for the signal generation process in real time. On the basis of the comparison result between the threshold value and the detected magnitude of the computation load, the motion prediction method in the signal generation processing is performed by: Switching between a small motion prediction method and a motion compensation method in the signal generation process based on the result of the comparison is performed for a motion that requires a large amount of arithmetic processing. Compensation method and an image processing method characterized by switching between motion compensation process operation processing amount is small required.
素精度でもって示す動きベクトルを求める動き予測処理
と、該動きベクトルに基づいて予測領域に対応する画像
信号を上記予測画像入力信号として求める動き補償処理
とを含むものであり、 実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
動き予測処理の方法を、画素精度の高い動きベクトルを
求める動き予測方法と、画素精度の低い動きベクトルを
求める動き予測方法との間で切り替えることを特徴とす
る画像処理方法。5. The image processing method according to claim 1, wherein the signal generation processing includes a motion prediction processing for obtaining a motion vector indicating a position of the prediction area corresponding to the target unit area with a predetermined pixel precision. A motion compensation process for obtaining an image signal corresponding to the prediction area as the predicted image input signal based on the motion vector, and a calculation load based on a calculation processing capability necessary for the signal generation process in real time. Based on the comparison result of the threshold value and the magnitude of the detected computation load, the motion prediction method in the signal generation process is performed by using a motion prediction method that determines a motion vector with high pixel accuracy, and a motion vector with low pixel accuracy. An image processing method characterized by switching between a desired motion prediction method and a desired motion prediction method.
素精度でもって示す動きベクトルを求める動き予測処理
と、該動きベクトルに基づいて予測領域に対応する画像
信号を上記予測画像入力信号として求める動き補償処理
とを含むものであり、 実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
動き補償処理の方法を、画素精度の高い動きベクトルに
基づいて上記予測画像入力信号を求める動き補償方法
と、画素精度の低い動きベクトルに基づいて上記予測画
像入力信号を求める動き補償方法との間で切り替えるこ
とを特徴とする画像処理方法。6. The image processing method according to claim 1, wherein the signal generation processing includes a motion prediction processing for obtaining a motion vector indicating a position of a prediction area corresponding to the target unit area with a predetermined pixel accuracy. A motion compensation process for obtaining an image signal corresponding to the prediction area as the predicted image input signal based on the motion vector, and a calculation load based on a calculation processing capability necessary for the signal generation process in real time. A threshold value and a motion compensation method for obtaining the predicted image input signal based on a motion vector having a high pixel accuracy, based on a comparison result between the detected computation load and a magnitude of the detected computation load. And a motion compensation method for obtaining the predicted image input signal based on a motion vector having low pixel accuracy.
基づいて、上記画素精度の高い動きベクトルに基づいて
行われる動き補償方法の種類を、演算負荷の大きい第1
の動き補償方法と、演算負荷の小さい第2の動き補償方
法との間で切り替えるとともに、 上記演算負荷の閾値と演算負荷の大きさとの比較結果に
基づいて、上記画素精度の低い動きベクトルに基づいて
行われる動き補償方法の種類を、演算負荷の大きい第1
の動き補償方法と、演算負荷の小さい第2の動き補償方
法との間で切り替えることを特徴とする画像処理方法。7. The type of motion compensation method according to claim 6, wherein the motion compensation method is performed based on a motion vector with high pixel accuracy based on a comparison result between the threshold value of the computation load and the magnitude of the computation load. To the first calculation load
And the second motion compensation method with a small computational load, and based on the comparison result between the threshold value of the computational load and the magnitude of the computational load, based on the motion vector with a low pixel accuracy. The type of motion compensation method performed by
And a second motion compensation method having a small calculation load.
素精度でもって示す動きベクトルを求める動き予測処理
と、該動きベクトルに基づいて予測領域に対応する画像
信号を上記予測画像入力信号として求める動き補償処理
とを含むものであり、 実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
動き補償処理の方法として、それぞれ画素精度の異なる
動きベクトルを用いる複数の動き補償方法の1つを選択
することを特徴とする画像処理方法。8. The image processing method according to claim 1, wherein the signal generation processing includes a motion prediction processing for obtaining a motion vector indicating a position of a prediction area corresponding to the target unit area with a predetermined pixel accuracy. A motion compensation process for obtaining an image signal corresponding to the prediction area as the predicted image input signal based on the motion vector, and a calculation load based on a calculation processing capability necessary for the signal generation process in real time. Based on the comparison result between the threshold value and the detected magnitude of the calculation load, one of a plurality of motion compensation methods using motion vectors having different pixel precisions is selected as a method of the motion compensation processing in the signal generation processing. An image processing method comprising:
分する単位領域毎に復号化して画像復号化信号を出力す
るとともに、該画像復号化信号に基づいて、復号化処理
の対象となる対象単位領域に対応する予測画像復号化信
号を所定の動き補償方法に基づく演算により生成する信
号生成処理を、所要の単位領域に対して行う画像復号化
方法であって、 上記画像符号化信号の復号化処理における演算負荷の大
きさを検出し、 該検出した演算負荷の大きさに応じて、上記信号生成処
理における動き補償方法を切り替えることを特徴とする
画像処理方法。9. An input image coded signal is decoded for each unit area dividing a screen to output an image decoded signal, and is subjected to a decoding process based on the image decoded signal. An image decoding method for performing a signal generation process of generating a predicted image decoded signal corresponding to a target unit area by an operation based on a predetermined motion compensation method for a required unit area, comprising: An image processing method comprising: detecting a magnitude of an operation load in a decoding process; and switching a motion compensation method in the signal generation process according to the detected operation load.
て、 実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
動き補償方法を、必要となる演算処理量が多い第1の動
き補償方法と、必要となる演算処理量が少ない第2の動
き補償方法との間で切り替えることを特徴とする画像処
理方法。10. The image processing method according to claim 9, wherein a comparison result between a threshold value of a calculation load based on a calculation processing capability necessary for the signal generation processing in real time and the magnitude of the detected calculation load. Based on the above, switching the motion compensation method in the signal generation process between the first motion compensation method that requires a large amount of calculation processing and the second motion compensation method that requires a small amount of calculation processing Characteristic image processing method.
て、 実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
動き補償方法として、演算処理量が異なる複数の動き補
償方法のうちから、検出した演算負荷の大きさに適した
動き補償方法を選択することを特徴とする画像処理方
法。11. The image processing method according to claim 9, wherein a threshold value of a calculation load based on a calculation processing capability required for the signal generation processing in real time and a magnitude of the detected calculation load are compared. Image processing, wherein a motion compensation method suitable for the magnitude of the detected computation load is selected from among a plurality of motion compensation methods having different amounts of computation processing as the motion compensation method in the signal generation processing based on the image processing. Method.
て、 実時間での上記信号生成処理に必要な演算処理能力に基
づいた演算負荷の閾値と、上記検出した演算負荷の大き
さとの比較結果に基づいて、上記信号生成処理における
動き補償方法を、画素精度の高い動きベクトルに基づい
て上記予測画像復号化信号を求める動き補償方法と、画
素精度の低い動きベクトルに基づいて上記予測画像復号
化信号を求める動き補償方法との間で切り替えることを
特徴とする画像処理方法。12. The image processing method according to claim 9, wherein a threshold value of a calculation load based on a calculation processing capability required for the signal generation processing in real time and a magnitude of the detected calculation load are compared. A motion compensation method in the signal generation process, a motion compensation method for obtaining the predicted image decoded signal based on a motion vector with high pixel accuracy, and a motion compensation method for obtaining the predicted image decoded signal based on a motion vector with low pixel accuracy. An image processing method characterized by switching between a motion compensation method and a motion compensation method.
て、 上記演算負荷の閾値と演算負荷の大きさとの比較結果に
基づいて、上記画素精度の高い動きベクトルに基づいて
行われる動き補償方法の種類を、演算負荷の大きい第1
の動き補償方法と、演算負荷の小さい第2の動き補償方
法との間で切り替えるとともに、 上記演算負荷の閾値と演算負荷の大きさとの比較結果に
基づいて、上記画素精度の低い動きベクトルに基づいて
行われる動き補償方法の種類を、演算負荷の大きい第1
の動き補償方法と、演算負荷の小さい第2の動き補償方
法との間で切り替えることを特徴とする画像処理方法。13. The type of motion compensation method according to claim 12, wherein the motion compensation method is performed based on the motion vector with high pixel accuracy based on a comparison result between the threshold value of the computation load and the magnitude of the computation load. To the first calculation load
And the second motion compensation method with a small computational load, and based on the comparison result between the threshold value of the computational load and the magnitude of the computational load, based on the motion vector with a low pixel accuracy. The type of motion compensation method performed by
And a second motion compensation method having a small calculation load.
領域毎に符号化して画像符号化信号を出力する符号化処
理部と、該画像符号化信号を復号化して得られる画像復
号化信号に基づいて、符号化処理の対象となる対象単位
領域に対応する予測画像入力信号を所定の予測方法に基
づく演算により生成する信号生成処理を、所要の単位領
域に対して行う予測処理部とを有する画像符号化装置で
あって、 上記予測処理部を、上記画像入力信号の符号化処理にお
ける演算負荷の大きさを検出する演算負荷検出手段を有
し、該検出した演算負荷の大きさに応じて、上記信号生
成処理における予測方法を切り替える構成としたことを
特徴とする画像処理装置。14. An encoding processing unit which encodes an image input signal for each unit area for dividing a screen and outputs an image encoded signal, and an image decoding signal obtained by decoding the image encoded signal. A prediction processing unit that performs a signal generation process for generating a predicted image input signal corresponding to a target unit region to be encoded based on a predetermined prediction method for a required unit region based on the predetermined prediction method An image encoding device, comprising: a prediction processing unit that includes a computation load detection unit that detects a magnitude of a computation load in the encoding process of the image input signal, and according to the detected computation load, An image processing apparatus configured to switch a prediction method in the signal generation processing.
て、 上記予測処理部は、 符号化処理の対象となる被処理画面における対象単位領
域に対応する画像入力信号と、符号化処理が施された前
画面に対応する画像復号化信号とに基づいて、上記対象
単位領域に対する予測画像入力信号を与える前画面にお
ける予測領域の位置を示す動きベクトルを出力する動き
検出器と、 該動き検出器から出力される対象単位領域の動きベクト
ルに基づいて上記予測画像入力信号を算出する動き補償
器とを有し、 上記動き検出器は、 上記検出された演算負荷の大きさに応じて、画素精度の
低い第1の動きベクトルと画素精度の高い第2の動きベ
クトルのいずれかを上記動きベクトルとして上記動き補
償器に出力する構成となっていることを特徴とする画像
処理装置。15. The image processing apparatus according to claim 14, wherein the prediction processing unit performs an encoding process on an image input signal corresponding to a target unit area on a processing target screen to be encoded. A motion detector that outputs a motion vector indicating a position of a prediction area in the previous screen that provides a predicted image input signal for the target unit area based on an image decoded signal corresponding to the previous screen; A motion compensator that calculates the predicted image input signal based on the motion vector of the target unit area to be calculated. The motion detector has a low pixel accuracy according to the detected calculation load. An image processing unit configured to output one of the first motion vector and the second motion vector with high pixel accuracy to the motion compensator as the motion vector. Apparatus.
区分する単位領域毎に復号化して画像復号化信号を出力
する復号化処理部と、該画像復号化信号に基づいて、復
号化処理の対象となる対象単位領域に対応する予測画像
復号化信号を所定の動き補償方法に基づく演算により生
成する信号生成処理を、所要の単位領域に対して行う予
測処理部とを有する画像復号化装置であって、 上記予測処理部は、 上記画像符号化信号の復号化処理における演算負荷の大
きさを検出する演算負荷検出手段を備え、 該検出した演算負荷の大きさに応じて、上記信号生成処
理における動き補償方法を切り替える構成となっている
ことを特徴とする画像処理装置。16. A decoding processing unit that decodes an input image coded signal for each unit area dividing a screen and outputs an image decoded signal, and a decoding process based on the image decoded signal. Image decoding apparatus having a prediction processing unit that performs signal generation processing for generating a predicted image decoded signal corresponding to a target unit area to be processed by a calculation based on a predetermined motion compensation method on a required unit area The prediction processing unit further comprises: a calculation load detecting unit configured to detect a size of a calculation load in the decoding process of the image coded signal. The signal generation unit generates the signal according to the detected calculation load. An image processing apparatus having a configuration for switching a motion compensation method in processing.
て、 上記予測処理部は、 復号化処理の対象となる被処理画面より先に復号化処理
が施された前画面における、上記対象単位領域に対応す
る予測画像復号化信号を与える予測領域の位置を示す動
きベクトル情報に基づいて、上記予測画像復号化信号を
生成するものであって、 上記対象単位領域の動きベクトル情報に基づいて、該対
象単位領域に対応する予測画像復号化信号を算出する、
演算処理量の少ない第1の動き補償処理と、該対象単位
領域及びその周辺の単位領域の動きベクトル情報に基づ
いて該対象単位領域に対応する予測画像復号化信号を算
出する、演算処理量の大きい第2の動き補償処理のうち
の一方の処理を、上記検出された演算負荷の大きさに応
じて選択して行う動き補償器を有することを特徴とする
画像処理装置。17. The image processing apparatus according to claim 16, wherein the prediction processing unit is configured to perform the decoding on the target unit area in the previous screen on which the decoding process has been performed before the target screen to be decoded. Generating the predicted image decoded signal based on the motion vector information indicating the position of the prediction area for providing the corresponding predicted image decoded signal, wherein the target image is generated based on the motion vector information of the target unit area. Calculating a predicted image decoded signal corresponding to the unit area;
A first motion compensation process having a small arithmetic processing amount, and calculating a predicted image decoded signal corresponding to the target unit region based on motion vector information of the target unit region and unit regions around the target motion region. An image processing device comprising: a motion compensator that performs one of the large second motion compensation processes in accordance with the detected calculation load.
せるためのプログラムを格納したデータ記憶媒体であっ
て、 該プログラムは、 画像入力信号を、画面を区分する単位領域毎に符号化し
て画像符号化信号を出力するとともに、該画像符号化信
号を復号化して得られる画像復号化信号に基づいて、符
号化処理の対象となる対象単位領域に対応する予測画像
入力信号を所定の予測方法に基づく演算により生成する
信号生成処理を、所要の単位領域に対して行い、 この際、上記画像入力信号の符号化処理における演算負
荷の大きさを検出し、 該検出した演算負荷の大きさに応じて、上記信号生成処
理における予測方法を切り替える画像符号化処理を、 コンピュータが行うよう構成されていることを特徴とす
るデータ記憶媒体。18. A data storage medium storing a program for causing a computer to perform an image encoding process, wherein the program encodes an image input signal for each unit area for dividing a screen. Calculating a predicted image input signal corresponding to a target unit area to be encoded based on a decoded image signal obtained by decoding the encoded image signal, based on a predetermined prediction method. Is performed on a required unit area. At this time, the magnitude of the computation load in the encoding process of the image input signal is detected, and according to the magnitude of the detected computation load, A data storage medium characterized in that a computer is configured to perform image encoding processing for switching a prediction method in the signal generation processing.
せるためのプログラムを格納したデータ記憶媒体であっ
て、 上記プログラムは、 入力された画像符号化信号を、画面を区分する単位領域
毎に復号化して画像復号化信号を出力するとともに、該
画像復号化信号に基づいて、復号化処理の対象となる対
象単位領域に対応する予測画像復号化信号を所定の動き
補償方法に基づく演算により生成する信号生成処理を、
所要の単位領域に対して行い、 この際、上記画像符号化信号の復号化処理における演算
負荷の大きさを検出し、 該検出した演算負荷の大きさに応じて、上記信号生成処
理における動き補償方法を切り替える画像復号化処理
を、 コンピュータが行うよう構成されていることを特徴とす
るデータ記憶媒体。19. A data storage medium storing a program for causing a computer to perform an image decoding process, wherein the program decodes an input image coded signal for each unit area for dividing a screen. A decoded image signal corresponding to a target unit area to be decoded, based on the decoded image signal, and a prediction image decoded signal generated by an operation based on a predetermined motion compensation method. The generation process
The processing is performed for a required unit area. At this time, the magnitude of the operation load in the decoding processing of the image coded signal is detected, and the motion compensation in the signal generation processing is performed in accordance with the detected operation load. A data storage medium, wherein a computer is configured to perform an image decoding process for switching a method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34878298A JPH11239352A (en) | 1997-12-10 | 1998-12-08 | Image processing method, image processing apparatus, and data storage medium |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP33967897 | 1997-12-10 | ||
JP9-339678 | 1997-12-10 | ||
JP34878298A JPH11239352A (en) | 1997-12-10 | 1998-12-08 | Image processing method, image processing apparatus, and data storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11239352A true JPH11239352A (en) | 1999-08-31 |
Family
ID=26576493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP34878298A Pending JPH11239352A (en) | 1997-12-10 | 1998-12-08 | Image processing method, image processing apparatus, and data storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11239352A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004047453A1 (en) * | 2002-11-20 | 2004-06-03 | Matsushita Electric Industrial Co., Ltd. | Moving image predicting method, moving image encoding method and device, and moving image decoding method and device |
WO2004093458A1 (en) * | 2003-04-15 | 2004-10-28 | Kanazawa University Technology Licensing Organization Ltd. | Moving picture encoding or decoding processing system and mobin g picture encoding or decoding processing method |
WO2005011286A1 (en) * | 2003-07-24 | 2005-02-03 | Matsushita Electric Industrial Co., Ltd. | Encoding mode deciding apparatus, image encoding apparatus, encoding mode deciding method, and encoding mode deciding program |
JP2005160048A (en) * | 2003-10-28 | 2005-06-16 | Matsushita Electric Ind Co Ltd | In-plane predictive coding method |
JP2006203280A (en) * | 2005-01-18 | 2006-08-03 | Canon Inc | Image decoding method and apparatus |
JP2007235447A (en) * | 2006-02-28 | 2007-09-13 | Toshiba Corp | Information processor, and method for decoding its dynamic image |
JP2007235456A (en) * | 2006-02-28 | 2007-09-13 | Toshiba Corp | Moving image decoding device and moving image decoding method |
JP2010050833A (en) * | 2008-08-22 | 2010-03-04 | Canon Inc | Video coding device |
JP2011013852A (en) * | 2009-06-30 | 2011-01-20 | Toshiba Corp | Information processor and parallel operation control method |
-
1998
- 1998-12-08 JP JP34878298A patent/JPH11239352A/en active Pending
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8204119B2 (en) | 2002-11-20 | 2012-06-19 | Panasonic Corporation | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US7848411B2 (en) | 2002-11-20 | 2010-12-07 | Panasonic Corporation | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US8885713B2 (en) | 2002-11-20 | 2014-11-11 | Panasonic Intellectual Property Corporation Of America | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
WO2004047453A1 (en) * | 2002-11-20 | 2004-06-03 | Matsushita Electric Industrial Co., Ltd. | Moving image predicting method, moving image encoding method and device, and moving image decoding method and device |
US9451276B2 (en) | 2002-11-20 | 2016-09-20 | Godo Kaisha Ip Bridge 1 | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US9973773B2 (en) | 2002-11-20 | 2018-05-15 | Godo Kaisha Ip Bridge 1 | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US9967584B2 (en) | 2002-11-20 | 2018-05-08 | Godo Kaisha Ip Bridge 1 | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US7542510B2 (en) | 2002-11-20 | 2009-06-02 | Panasonic Corporation | Moving picture predicting method, moving image encoding method and device, and moving image decoding method and device |
US8553770B2 (en) | 2002-11-20 | 2013-10-08 | Panasonic Corporation | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US9723320B2 (en) | 2002-11-20 | 2017-08-01 | Godo Kaisha Ip Bridge 1 | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US9729894B2 (en) | 2002-11-20 | 2017-08-08 | Godo Kaisha Ip Bridge 1 | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
US9232220B2 (en) | 2002-11-20 | 2016-01-05 | Godo Kaisha Ip Bridge 1 | Moving picture prediction method, moving picture coding method and apparatus, and moving picture decoding method and apparatus |
WO2004093458A1 (en) * | 2003-04-15 | 2004-10-28 | Kanazawa University Technology Licensing Organization Ltd. | Moving picture encoding or decoding processing system and mobin g picture encoding or decoding processing method |
US8179963B2 (en) | 2003-07-24 | 2012-05-15 | Panasonic Corporation | Coding mode determining apparatus, image coding apparatus, coding mode determining method and coding mode determining program |
WO2005011286A1 (en) * | 2003-07-24 | 2005-02-03 | Matsushita Electric Industrial Co., Ltd. | Encoding mode deciding apparatus, image encoding apparatus, encoding mode deciding method, and encoding mode deciding program |
JP2005160048A (en) * | 2003-10-28 | 2005-06-16 | Matsushita Electric Ind Co Ltd | In-plane predictive coding method |
JP2006203280A (en) * | 2005-01-18 | 2006-08-03 | Canon Inc | Image decoding method and apparatus |
US8630347B2 (en) | 2006-02-28 | 2014-01-14 | Kabushiki Kaisha Toshiba | Video decoding apparatus and video decoding method |
US8611433B2 (en) | 2006-02-28 | 2013-12-17 | Kabushiki Kaisha Toshiba | Information processing apparatus and video decoding method of information processing apparatus |
JP2007235456A (en) * | 2006-02-28 | 2007-09-13 | Toshiba Corp | Moving image decoding device and moving image decoding method |
JP2007235447A (en) * | 2006-02-28 | 2007-09-13 | Toshiba Corp | Information processor, and method for decoding its dynamic image |
JP2010050833A (en) * | 2008-08-22 | 2010-03-04 | Canon Inc | Video coding device |
JP2011013852A (en) * | 2009-06-30 | 2011-01-20 | Toshiba Corp | Information processor and parallel operation control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100525456C (en) | Motion estimation apparatus | |
US6571017B1 (en) | Method and apparatus for digital image coding and decoding, and data recording media | |
JP4884290B2 (en) | Moving picture decoding integrated circuit, moving picture decoding method, moving picture decoding apparatus, and moving picture decoding program | |
US8477847B2 (en) | Motion compensation module with fast intra pulse code modulation mode decisions and methods for use therewith | |
CN113678441A (en) | Cross-component filtering method and device | |
US8204127B2 (en) | Method and apparatus for encoding and decoding image by using multiple reference-based motion prediction | |
CN110876056B (en) | Video decoding method and device, computer equipment and storage medium | |
US20150288968A1 (en) | Motion compensation method, picture coding method and picture decoding method | |
US20050207496A1 (en) | Moving picture coding apparatus | |
US20070286284A1 (en) | Image coding apparatus and image coding method | |
JP3855522B2 (en) | Video converter | |
JP2011147189A (en) | Transcoding apparatus and transcoding method | |
JP3092281B2 (en) | Highly efficient encoding and decoding apparatus for image signals | |
JP4755093B2 (en) | Image encoding method and image encoding apparatus | |
WO2013031071A1 (en) | Moving image decoding apparatus, moving image decoding method, and integrated circuit | |
KR100345968B1 (en) | High-efficiency encoding, decoding and recording media for video signals | |
US20070171977A1 (en) | Moving picture coding method and moving picture coding device | |
JPH11239352A (en) | Image processing method, image processing apparatus, and data storage medium | |
US6353683B1 (en) | Method and apparatus of image processing, and data storage media | |
JP2007228560A (en) | Moving picture coding method and moving picture coding apparatus | |
JP2000333184A (en) | Motion vector detection method, motion vector detection device, and data recording medium | |
JP2010081498A (en) | Image compression coding method and apparatus | |
JP4942610B2 (en) | Transcoding device and transcoding method | |
KR20020065908A (en) | Image reproducing method and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods | |
JPWO2006006489A1 (en) | Motion detection device |