JPH10155149A - Frame rate conversion method and frame rate conversion device - Google Patents
Frame rate conversion method and frame rate conversion deviceInfo
- Publication number
- JPH10155149A JPH10155149A JP31330496A JP31330496A JPH10155149A JP H10155149 A JPH10155149 A JP H10155149A JP 31330496 A JP31330496 A JP 31330496A JP 31330496 A JP31330496 A JP 31330496A JP H10155149 A JPH10155149 A JP H10155149A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- image data
- orthogonal transform
- frame rate
- motion compensation
- 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
- Communication Control (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
(57)【要約】
【課題】 端末の処理能力に合わせたフレームレート変
換を行うこと、および動き補償を伴うブロックを含むハ
イブリッド符号化された画像データの高速で負荷の少な
いフレームレート変換を行うこと。
【解決手段】 入力された動き補償を伴うブロックを含
むハイブリッド符号化された画像データを、逆直交変
換、動き検出、直交変換を行わず、複数枚のフレームを
1枚に合成して、端末の処理能力に合わせたフレーム数
の動き補償を伴わないブロックとフレーム内符号化され
たブロックのハイブリッド符号化された画像データに変
換し出力する。
(57) Abstract: To perform frame rate conversion in accordance with the processing capability of a terminal, and to perform high-speed, low-load frame rate conversion of hybrid-coded image data including blocks with motion compensation. . SOLUTION: A plurality of frames are synthesized into one frame without performing inverse orthogonal transform, motion detection, and orthogonal transform on input hybrid-encoded image data including a block with motion compensation, and The image data is converted into hybrid-encoded image data of a block without motion compensation of the number of frames corresponding to the processing capacity and a block which has been intra-coded, and outputs the image data.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ビデオ会議や動画
像伝送を行うにあたり、勧告H.261などを用い、処
理能力の異なる端末間でハイブリッド符号化された画像
データを伝送する際、または伝送速度の異なる通信回線
を中継しハイブリッド符号化された画像データを伝送す
る際、または処理能力が異なる端末間で伝送速度の異な
る通信回線を中継しハイブリッド符号化された画像デー
タを伝送する際のフレームレート変換方式、および動き
補償を伴うフレーム間予測誤差に対して直交変換を行う
ハイブリッド符号化されたデータが含まれる画像データ
のフレームレート変換方式、および動き補償を伴うフレ
ーム間予測誤差に対して直交変換を行うハイブリッド符
号化されたデータが含まれる画像データのフレームレー
ト変換方式を利用した処理能力の異なる端末間でハイブ
リッド符号化された画像データを伝送する際、または伝
送速度の異なる通信回線を中継しハイブリッド符号化さ
れた画像データを伝送する際、または処理能力が異なる
端末間で、伝送速度の異なる通信回線を中継しハイブリ
ッド符号化された画像データを伝送する際のフレームレ
ート変換方式、およびフレームレート変換装置に関する
ものである。BACKGROUND OF THE INVENTION The present invention relates to a video conference system and a method for transmitting a moving image. 261 or the like, when transmitting hybrid-coded image data between terminals having different processing capabilities, or when transmitting hybrid-coded image data by relaying communication lines having different transmission speeds, or when the processing capability is A frame rate conversion method for transmitting hybrid-coded image data by relaying communication lines with different transmission speeds between different terminals, and a hybrid coding method for performing orthogonal transformation on inter-frame prediction errors involving motion compensation. Processing rate using a frame rate conversion method for image data containing compressed data, and a frame rate conversion method for image data containing hybrid encoded data that performs orthogonal transformation on inter-frame prediction errors involving motion compensation When transmitting hybrid-coded image data between different terminals, When transmitting hybrid-coded image data by relaying communication lines with different transmission speeds, or when transmitting hybrid-coded image data by relaying communication lines with different transmission speeds between terminals with different processing capabilities And a frame rate conversion apparatus.
【0002】[0002]
【従来の技術】従来のフレームレート変換装置について
図面を参照しながら説明する。図20は、従来のフレー
ムレート変換方式(装置)の構成を示すブロック図であ
る。図20において、821,825は端末、822は
端末821に接続されている、伝送速度の速い通信回
線、824は端末825に接続されている、伝送速度の
遅い通信回線、823は、上記伝送速度の速い通信回線
822と上記伝送速度の遅い通信回線824との間に設
けられた従来のフレームレート変換装置であるフレーム
レート変換部である。2. Description of the Related Art A conventional frame rate converter will be described with reference to the drawings. FIG. 20 is a block diagram showing a configuration of a conventional frame rate conversion method (apparatus). 20, 821 and 825 are terminals, 822 is connected to the terminal 821, a communication line with a high transmission speed, 824 is connected to the terminal 825, a communication line with a low transmission speed, and 823 is the transmission speed This is a frame rate conversion unit which is a conventional frame rate conversion device provided between the communication line 822 having a high transmission speed and the communication line 824 having a low transmission speed.
【0003】次に動作について説明する。図20におい
て、フレームレート変換装置は、端末821から出力さ
れたフレームレートの高いハイブリッド符号化された画
像データを実時間で端末825に伝送するために、フレ
ームレート変換部823は、速い通信回線822上の、
フレームレートの高いハイブリッド符号化された画像デ
ータをフレームレート変換し、遅い通信回線824上に
フレームレートの低いハイブリッド符号化された画像デ
ータとして出力していた。Next, the operation will be described. In FIG. 20, the frame rate conversion unit 823 transmits the hybrid-coded image data having a high frame rate output from the terminal 821 to the terminal 825 in real time. upper,
The frame rate of the hybrid-coded image data with a high frame rate is converted and output as hybrid-coded image data with a low frame rate over a slow communication line 824.
【0004】また、動き補償を伴うフレーム間予測誤差
に対して、直交変換を行うハイブリッド符号化された画
像データのフレームレート変換方法として、例えば、特
開平7−50834号公報に示されるレート変換画像符
号化装置において、可変長復号器、及び可変長符号器を
追加した構成の装置によるフレームレート変換方法を例
に挙げて、以下、図面を参照しながら説明する。[0004] As a frame rate conversion method for hybrid-coded image data in which orthogonal transformation is performed on inter-frame prediction errors accompanied by motion compensation, for example, a rate conversion image disclosed in Japanese Patent Application Laid-Open No. 7-50834 is disclosed. A frame rate conversion method using an apparatus having a configuration in which a variable length decoder and a variable length encoder are added to an encoding apparatus will be described below with reference to the drawings.
【0005】図10は上記特開平7−50834号公報
のレート変換画像符号化装置において可変長復号器、可
変長符号器を追加した構成のレート変換画像符号化装置
を示すものである。FIG. 10 shows a rate-converted image coding apparatus having a configuration in which a variable-length decoder and a variable-length encoder are added to the rate-converted image coding apparatus disclosed in JP-A-7-50834.
【0006】図10において、901は画像データの入
力、902は入力された画像データを復号化する可変長
復号化手段、903は復号化されたデータを逆量子化す
る逆量子化手段、919は逆量子化手段903の出力と
画像メモリ920から出力されたデータとを加算する加
算手段、921,922はセレクタ、923は逆直交変
換手段、924は加算手段、925は画像メモリ、92
6は画像メモリ925から出力される画像メモリを入力
とするループ内フィルタ手段、927はセレクタ、92
8は減算手段、930は直交変換手段、931はセレク
タ、914は量子化手段、932は逆量子化手段、93
3は逆直交変換手段、934は加算手段、935は画像
メモリ、936はループ内フィルタ手段、937はセレ
クタ、938は動き検出手段、939は符号化制御手
段、917は可変長符号化手段、918は出力である。In FIG. 10, reference numeral 901 denotes an input of image data; 902, a variable length decoding means for decoding the input image data; 903, an inverse quantization means for inversely quantizing the decoded data; Addition means for adding the output of the inverse quantization means 903 to the data output from the image memory 920; selectors 921 and 922; inverse orthogonal transformation means 923; addition means 924; image memory 925;
Reference numeral 6 denotes an in-loop filter unit that receives an image memory output from the image memory 925 as an input, 927 a selector, 92
8 is a subtraction means, 930 is an orthogonal transformation means, 931 is a selector, 914 is a quantization means, 932 is an inverse quantization means, 93
3 is an inverse orthogonal transforming means, 934 is an adding means, 935 is an image memory, 936 is a filter in a loop, 937 is a selector, 938 is a motion detecting means, 939 is an encoding control means, 917 is a variable length encoding means, and 918. Is the output.
【0007】次に動作について説明する。図10におい
て、入力901より入力された、フレームレートの高い
動き補償を伴うフレームのレート変換を行うには、ま
ず、ハイブリッド符号化された画像データを、可変長復
号化手段902により可変長復号化し、量子化された動
き補償を伴う予測誤差直交変換データに変換し、続い
て、逆量子化手段903によって逆量子化して動き補償
を伴う予測誤差直交変換データに変換する。Next, the operation will be described. In FIG. 10, in order to perform rate conversion of a frame accompanied by motion compensation having a high frame rate and input from an input 901, first, hybrid-encoded image data is subjected to variable-length decoding by a variable-length decoding unit 902. Then, the data is converted into quantized prediction error orthogonal transform data with motion compensation, and then inversely quantized by the inverse quantization means 903 to be converted into prediction error orthogonal transform data with motion compensation.
【0008】そして、上記予測誤差直交変換データは、
セレクタ922により選択され、逆直交変換手段923
により逆直交変換されて動き補償を伴う予測誤差データ
に変換され、加算手段924において、セレクタ927
にて選択されたループ内フィルタ手段926を経由した
画像メモリ925と加算されて係数(画素データ)に変
換される。[0008] The prediction error orthogonal transform data is
The inverse orthogonal transform means 923 selected by the selector 922
, And is converted to prediction error data accompanied by motion compensation.
Is added to the image memory 925 that has passed through the in-loop filter means 926 selected in step (1), and is converted into coefficients (pixel data).
【0009】そして、加算手段924より出力された係
数(画素データ)と画像メモリ935上の係数(画素デ
ータ)とを用いて、動き検出手段938は、動き検出を
行って動きベクトルを求め、減算手段928により、加
算手段924より出力された係数(画素データ)から、
動きベクトルを考慮した画像メモリ935をループ内フ
ィルタ手段936を経由させた後に減算し、動き補償を
伴う予測誤差データに変換する。Using the coefficient (pixel data) output from the adding means 924 and the coefficient (pixel data) on the image memory 935, the motion detecting means 938 performs motion detection to obtain a motion vector, and subtracts the motion vector. By means 928, from the coefficient (pixel data) output from the adding means 924,
After passing through the image memory 935 considering the motion vector through the in-loop filter means 936, the image data is subtracted and converted into prediction error data with motion compensation.
【0010】そして、上記得られた動き補償を伴う予測
誤差データは、直交変換手段930により直交変換され
て、動き補償を伴う予測誤差直交変換データに変換さ
れ、セレクタ931により選択され、後段の量子化手段
914により量子化されて、量子化された動き補償を伴
う予測誤差直交変換データに変換され、続いて、可変長
符号化手段917により可変長符号化され、ハイブリッ
ド符号化された画像データに変換され、出力918より
フレームレートの低い動き補償を伴うフレームとして出
力される。[0010] The obtained prediction error data with motion compensation is orthogonally transformed by orthogonal transform means 930, converted into prediction error orthogonal transformation data with motion compensation, selected by selector 931, and selected at the subsequent stage. Image data that has been quantized by the converting means 914 and converted into quantized prediction error orthogonal transform data with motion compensation, and subsequently, is subjected to variable-length coding by the variable-length coding means 917 and hybrid-coded. It is converted and output as a frame with motion compensation at a lower frame rate than output 918.
【0011】また、フレームレートの高いハイブリッド
符号化された画像データがフレーム内符号化された画像
データのみであれば、逆直交変換,動き検出,直交変換
などの途中の処理を省くことができるが、動き補償を伴
うブロックが1つでも含まれていれば、動きベクトルを
検出する必要が生じるため、上記の処理を全て行う必要
があった。If the hybrid-coded image data having a high frame rate is only intra-frame coded image data, it is possible to omit processing such as inverse orthogonal transformation, motion detection, and orthogonal transformation. If at least one block with motion compensation is included, it is necessary to detect a motion vector, and it is necessary to perform all of the above processing.
【0012】上述のように構成されたフレームレート変
換装置では、フレームレートを変換する際に、通信回線
の伝送速度を基準として変換を行っていた。すなわち、
図20において、例えば、端末821が30fpsのエ
ンコード能力を有し、端末825が5fpsのデコード
能力を有し、通信回線822が30fpsの伝送能力を
有し、通信回線824が15fpsの伝送能力を有する
とする。この時、フレームレート変換装置(変換部82
3)では、30fpsのフレームを15fpsになるよ
うに変換していた。In the frame rate converter configured as described above, when converting the frame rate, the conversion is performed based on the transmission speed of the communication line. That is,
In FIG. 20, for example, terminal 821 has an encoding capability of 30 fps, terminal 825 has a decoding capability of 5 fps, communication line 822 has a transmission capability of 30 fps, and communication line 824 has a transmission capability of 15 fps. Then At this time, the frame rate converter (converter 82
In 3), a 30 fps frame is converted to 15 fps.
【0013】このため、通信回線824上には15fp
sのハイブリッド符号化された画像データが伝送される
ことになるが、端末825は5fpsの速度でしかデコ
ードできないために、5fpsの速度でしか画像を表示
することができない。このことから、デコードされない
不要なハイブリッド符号化された画像データが通信回線
824上を伝送されていたことが分かる。従って、フレ
ームレート変換部823の後段の通信回線824の使用
効率が悪くなる。For this reason, 15 fp is placed on the communication line 824.
Although the hybrid-coded image data of s is transmitted, the terminal 825 can decode only at a speed of 5 fps, and thus can display an image only at a speed of 5 fps. From this, it can be seen that unnecessary hybrid-coded image data that has not been decoded has been transmitted on the communication line 824. Therefore, the use efficiency of the communication line 824 at the subsequent stage of the frame rate conversion unit 823 is deteriorated.
【0014】さらに、上記から分かるように、動き補償
を伴うフレーム、および動き補償を伴うブロックを含む
フレームのレート変換を行うためには、ハイブリッド符
号化されたデータの復号化と、係数(画素データ)の符
号化のための全てのプロセスを実行する必要があり、変
換に時間と負荷がかかっていた。Further, as can be seen from the above, in order to perform rate conversion of a frame including motion compensation and a frame including a block including motion compensation, decoding of hybrid-coded data and coefficients (pixel data) are performed. ), The entire process had to be performed, and the conversion was time-consuming and burdensome.
【0015】[0015]
【発明が解決しようとする課題】従来のフレームレート
変換装置は以上のように構成されており、伝送速度の異
なる通信回線間において、単に、伝送速度の遅い方の通
信回線に合わせて、これに適したフレームレートとなる
ように変換するようにしていたために、フレームレート
変換装置よりも後段の通信回線の使用効率が悪化するこ
とがあるという問題点があった。また、動き補償を伴う
フレームを処理する際の処理時間が長く、かつ、システ
ムにも大きな負荷がかかるという問題点があった。The conventional frame rate conversion apparatus is configured as described above. Between communication lines having different transmission speeds, the frame rate conversion device is simply adapted to the communication line having the lower transmission speed. Since the conversion is performed so as to have an appropriate frame rate, there is a problem that the use efficiency of a communication line downstream of the frame rate conversion device may be deteriorated. In addition, there is a problem that a processing time for processing a frame with motion compensation is long and a heavy load is imposed on the system.
【0016】本発明は以上のような問題点を解消するた
めになされたもので、フレームレートの高いハイブリッ
ド符号化された画像データを、フレームレートの低いハ
イブリッド符号化された画像データに変換する際、端末
の処理能力を考慮することにより、通信回線の使用効率
の向上と、端末の処理能力に対応したフレームレートの
ハイブリッド符号化された画像データを生成することが
できるフレームレート変換方式、及びフレームレート変
換装置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and is intended for converting hybrid-coded image data having a high frame rate into hybrid-coded image data having a low frame rate. A frame rate conversion method capable of improving the efficiency of use of a communication line and generating hybrid-encoded image data having a frame rate corresponding to the processing capability of the terminal by considering the processing capability of the terminal; It is an object to provide a rate conversion device.
【0017】また、動き補償を伴うフレーム、および動
き補償を伴うブロックを含むフレームのレート変換を行
う場合でも、演算量を大幅に減らし、高速で負荷の少な
いフレームレート変換を行うことができるフレームレー
ト変換方式、及びフレームレート変換装置を提供するこ
とを目的とする。In addition, even when performing rate conversion of a frame including motion compensation and a frame including a block including motion compensation, a frame rate capable of performing a high-speed and low-load frame rate conversion by greatly reducing the amount of calculation. It is an object to provide a conversion method and a frame rate conversion device.
【0018】[0018]
【課題を解決するための手段】本発明の請求項1に係る
フレームレート変換方式は、端末間でハイブリッド符号
化された画像データを通信する場合において、一方の端
末をa1、他方の端末をa2とし、端末a1が接続され
ている通信回線の伝送速度をb1、端末a2が接続され
ている通信回線の伝送速度をb2、さらにa1の処理能
力をc1、端末a2の処理能力をc2としたとき、フレ
ームレートの高い画像データを端末a1側から入力し、
端末a2側に出力するフレーム数を、伝送速度がb1≧
b2で、かつ端末の処理能力がc1=c2のときには、
b2で伝送できるフレーム数に設定し、伝送速度がb1
≧b2で、かつ端末の処理能力がc1>c2のときに
は、b2で伝送できるフレーム数とc2で処理できるフ
レーム数のどちらか少ない方のフレーム数に設定し、伝
送速度がb1<b2で、かつ端末の処理能力がc1>c
2のときには、b1で伝送できるフレーム数とc2で処
理できるフレーム数のどちらか少ない方のフレーム数に
設定し、伝送速度がb1>b2で、かつ端末の処理能力
がc1<c2のときには、b2で伝送できるフレーム数
とc1で処理できるフレーム数のどちらか少ない方のフ
レーム数に設定し、上記端末a1から入力されたフレー
ムレートの高い画像データのフレームレートを変換して
上記端末a2側にフレームレートの低い画像データとし
て出力するようにしたものである。According to the frame rate conversion method according to the first aspect of the present invention, when hybrid-coded image data is communicated between terminals, one terminal is a1 and the other terminal is a2. When the transmission speed of the communication line to which the terminal a1 is connected is b1, the transmission speed of the communication line to which the terminal a2 is connected is b2, the processing capability of a1 is c1, and the processing capability of the terminal a2 is c2 , Input image data with a high frame rate from the terminal a1 side,
The number of frames to be output to the terminal a2 is determined by the transmission speed b1 ≧
When b2 and the processing capacity of the terminal is c1 = c2,
Set the number of frames that can be transmitted in b2, and set the transmission speed to b1
If ≧ b2 and the processing capability of the terminal is c1> c2, the number of frames that can be transmitted in b2 or the number of frames that can be processed in c2 is set to the smaller number, the transmission speed is b1 <b2, and The processing capacity of the terminal is c1> c
2, the number of frames that can be transmitted by b1 or the number of frames that can be processed by c2 is set to the smaller number. If the transmission speed is b1> b2 and the processing capability of the terminal is c1 <c2, b2 Is set to the smaller of the number of frames that can be transmitted by c1 and the number of frames that can be processed by c1, and the frame rate of the high frame rate image data input from the terminal a1 is converted to a frame to the terminal a2. The image data is output as low-rate image data.
【0019】また、本発明の請求項2に係るフレームレ
ート変換方式は、フレームレートの高い動き補償を伴う
フレーム間予測誤差に対して直交変換を行うハイブリッ
ド符号化された画像データを入力し、動き補償を伴うフ
レーム間予測誤差に対して直交変換を行うハイブリッド
符号化された画像データのフレームを複数枚まとめて1
枚の動き補償を伴わないフレーム間予測誤差に対して直
交変換を行うハイブリッド符号化された画像データのフ
レームに合成することによりフレームレートを変換し、
フレームレートの低い動き補償を伴わないフレーム間予
測誤差に対して直交変換を行うハイブリッド符号化され
た画像データとして出力するようにしたものである。In the frame rate conversion method according to the second aspect of the present invention, hybrid-coded image data for performing orthogonal transformation on an inter-frame prediction error accompanied by high frame rate motion compensation is input, A plurality of hybrid-encoded image data frames that perform orthogonal transformation on inter-frame prediction errors with compensation
The frame rate is converted by synthesizing a frame of hybrid-coded image data that performs orthogonal transform on inter-frame prediction errors without motion compensation
This is output as hybrid-coded image data that performs orthogonal transformation on an inter-frame prediction error without motion compensation at a low frame rate.
【0020】また、本発明の請求項3に係るフレームレ
ート変換方式は、フレームレートの高い動き補償を伴う
フレーム間予測誤差に対して直交変換を行うハイブリッ
ド符号化された画像データと、動き補償を伴わないフレ
ーム間予測誤差に対して直交変換を行うハイブリッド符
号化された画像データとの両方が含まれる画像データを
入力し、動き補償を伴うフレーム間予測誤差に対して直
交変換を行うハイブリッド符号化された画像データと、
動き補償を伴わないフレーム間予測誤差に対して直交変
換を行うハイブリッド符号化された画像データとの両方
が含まれる画像データのフレームを複数枚まとめて1枚
の動き補償を伴わないフレーム間予測誤差に対して直交
変換を行うハイブリッド符号化された画像データのフレ
ームに合成することによりフレームレートを変換し、フ
レームレートの低い動き補償を伴わないフレーム間予測
誤差に対して直交変換を行うハイブリッド符号化された
画像データとして出力するようにしたものである。Further, the frame rate conversion method according to the third aspect of the present invention is a method of performing a hybrid coded image data for performing an orthogonal transformation on an inter-frame prediction error accompanied by a high frame rate motion compensation, and a motion compensation. Hybrid coding that performs orthogonal transform on inter-frame prediction error without image data and image data that includes both encoded image data and performs orthogonal transform on inter-frame prediction error with motion compensation Image data and
Performs orthogonal transformation on inter-frame prediction error without motion compensation. A plurality of frames of image data including both the hybrid-coded image data and the hybrid-coded image data are grouped together, and one inter-frame prediction error without motion compensation is included. Hybrid encoding that converts the frame rate by combining it with a frame of hybrid-coded image data that performs orthogonal transformation on the frame, and performs orthogonal transformation on inter-frame prediction errors without motion compensation at low frame rates This is output as the processed image data.
【0021】また、本発明の請求項4に係るフレームレ
ート変換方式は、フレームレートの高い動き補償を伴う
フレーム間予測誤差に対して直交変換を行うハイブリッ
ド符号化された画像データと、フレーム内符号化された
画像データとの両方が含まれる画像データを入力し、動
き補償を伴うフレーム間予測誤差に対して直交変換を行
うハイブリッド符号化された画像データと、フレーム内
符号化された画像データとの両方が含まれる画像データ
のフレームを複数枚まとめて1枚の動き補償を伴わない
フレーム間予測誤差に対して直交変換を行うハイブリッ
ド符号化された画像データと、フレーム内符号化された
画像データとの両方が含まれる画像データのフレームに
合成することによりフレームレートを変換し、フレーム
レートの低い動き補償を伴わないフレーム間予測誤差に
対して直交変換を行うハイブリッド符号化された画像デ
ータと、フレーム内符号化された画像データとの両方が
含まれる画像データとして出力するようにしたのであ
る。According to a fourth aspect of the present invention, there is provided a frame rate conversion system, comprising: hybrid-encoded image data for performing orthogonal transformation on an inter-frame prediction error accompanied by motion compensation having a high frame rate; Image data that includes both the image data and the encoded image data, hybrid-encoded image data that performs orthogonal transformation on inter-frame prediction errors involving motion compensation, and intra-frame encoded image data. , A plurality of frames of image data including both of the above, hybrid encoding image data that performs orthogonal transformation on an inter-frame prediction error without motion compensation, and intra-frame encoded image data. The frame rate is converted by synthesizing it into a frame of image data that contains both And image data hybrid coding performing orthogonal transformation on the inter-frame prediction error without amortization is to that output as image data that contains both the intra-frame coded image data.
【0022】また、本発明の請求項5に係るフレームレ
ート変換方式は、フレームレートの高い動き補償を伴う
フレーム間予測誤差に対して直交変換を行うハイブリッ
ド符号化された画像データと、動き補償を伴わないフレ
ーム間予測誤差に対して直交変換を行うハイブリッド符
号化された画像データと、フレーム内符号化された画像
データとの3つが含まれる画像データを入力し、動き補
償を伴うフレーム間予測誤差に対して直交変換を行うハ
イブリッド符号化された画像データと、動き補償を伴わ
ないフレーム間予測誤差に対して直交変換を行うハイブ
リッド符号化された画像データと、フレーム内符号化さ
れた画像データとの3つが含まれる画像データのフレー
ムを複数枚まとめて1枚の動き補償を伴わないフレーム
間予測誤差に対して直交変換を行うハイブリッド符号化
された画像データと、フレーム内符号化された画像デー
タとの両方が含まれる画像データのフレームに合成する
ことによりフレームレートを変換し、フレームレートの
低い動き補償を伴わないフレーム間予測誤差に対して直
交変換を行うハイブリッド符号化された画像データと、
フレーム内符号化された画像データとの両方が含まれる
画像データとして出力するようにしたものである。Further, the frame rate conversion method according to claim 5 of the present invention is characterized in that hybrid-coded image data for performing orthogonal transformation on an inter-frame prediction error accompanied by motion compensation with a high frame rate, and motion compensation are performed. Image data including three pieces of image data, that is, hybrid-coded image data that performs orthogonal transformation on an inter-frame prediction error that is not accompanied by intra-frame coding, and inter-frame prediction error that involves motion compensation Hybrid-encoded image data that performs orthogonal transformation on, and hybrid-encoded image data that performs orthogonal transformation on inter-frame prediction errors without motion compensation, and intra-frame encoded image data A plurality of frames of image data including The frame rate is converted by combining it with a frame of image data that includes both hybrid-coded image data that performs orthogonal transform and intra-frame coded image data, which involves motion compensation with a low frame rate. Hybrid-encoded image data that performs orthogonal transformation on no inter-frame prediction error;
The image data is output as image data including both the intra-frame encoded image data.
【0023】本発明の請求項6に係るフレームレート変
換方式は、上記請求項1記載のフレームレート変換方式
において、フレームレートの変換を行う際に、上記請求
項2ないし請求項5のいずれかに記載のフレームレート
変換方式を用いてフレームレート変換を行うようにした
ものである。According to a sixth aspect of the present invention, there is provided a frame rate conversion system according to any one of the second to fifth aspects, wherein the frame rate conversion is performed in the frame rate conversion system according to the first aspect. The frame rate conversion is performed using the described frame rate conversion method.
【0024】本発明の請求項7に係るフレームレート変
換装置は、上記請求項1ないし請求項6のいずれかに記
載のフレームレート変換方式を用いてフレームレートの
変換を行うようにしたものである。According to a seventh aspect of the present invention, there is provided a frame rate conversion apparatus for converting a frame rate using the frame rate conversion method according to any one of the first to sixth aspects. .
【0025】[0025]
実施の形態1.以下、本発明の請求項1に対応する実施
の形態1.に係るフレームレート変換方式について、図
1 に示す、フレームレート変換方式の構成を参照しなが
ら説明する。Embodiment 1 FIG. Hereinafter, Embodiment 1 corresponding to claim 1 of the present invention. About the frame rate conversion method according to
This will be described with reference to the configuration of the frame rate conversion method shown in FIG.
【0026】図1はフレームレート変換方式の構成を示
すブロック図である。FIG. 1 is a block diagram showing the configuration of the frame rate conversion system.
【0027】図1において、121は端末であり、その
処理能力はc1とする。122は上記端末121の後段
に接続された通信回線であり、その伝送速度はb1とす
る。123は上記通信回線122の後段に接続されたフ
レームレート変換部であり、フレームレート変換情報が
端末125から入力され、通信回線122の伝送速度b
1と、通信回線124の伝送速度b2と、端末125の
処理能力c2とをそれぞれ考慮したフレームレート変換
を行うように構成されている。124は通信回線であ
り、その伝送速度はb2とする。また、125は端末で
あり、その処理能力はc2とする。In FIG. 1, reference numeral 121 denotes a terminal, and its processing capability is assumed to be c1. Reference numeral 122 denotes a communication line connected to the subsequent stage of the terminal 121, and its transmission speed is assumed to be b1. Reference numeral 123 denotes a frame rate conversion unit connected to the subsequent stage of the communication line 122. The frame rate conversion information is input from the terminal 125 and the transmission rate b of the communication line 122.
1, the transmission rate b2 of the communication line 124, and the processing capability c2 of the terminal 125, are configured to perform frame rate conversion. A communication line 124 has a transmission speed b2. A terminal 125 has a processing capability of c2.
【0028】以下、フレームレートの高い画像データを
端末121側から入力し、通信回線の伝送速度が、b1
≧b2となる関係で、かつ、端末の処理能力が、c1=
c2のときのフレームレート変換方式について図1を参
照しながら説明する。Hereinafter, image data having a high frame rate is input from the terminal 121, and the transmission speed of the communication line is set to b1.
≧ b2 and the processing capability of the terminal is c1 =
The frame rate conversion method for c2 will be described with reference to FIG.
【0029】ここで、c1=c2であるので、端末同士
の処理能力は等しく、これに合わせたフレームレートの
変換は考慮する必要はない。よって、通信回線間の伝送
速度b1とb2の関係に着目することになる。Here, since c1 = c2, the processing capabilities of the terminals are equal, and it is not necessary to consider the conversion of the frame rate according to this. Therefore, attention is paid to the relationship between the transmission speeds b1 and b2 between the communication lines.
【0030】今、通信回線124の伝送速度b2は、通
信回線122の伝送速度b1以下であるので、フレーム
レート変換部123では通信回線124の伝送速度b2
で伝送可能なフレームレートに変換すればよいことにな
る。よって、端末121側から入力されたフレームレー
トの高いハイブリッド符号化された画像データは、伝送
速度b2の性能にあった、フレームレートの低いハイブ
リッド符号化された画像データにフレームレート変換さ
れ端末125側に出力される。端末125では、通信回
線124の伝送速度b2 と等しいフレームレートの画像
データが送られて、端末125の処理能力範囲で完全に
再生されて表示されることになる。Since the transmission speed b2 of the communication line 124 is equal to or lower than the transmission speed b1 of the communication line 122, the frame rate converter 123 outputs the transmission speed b2 of the communication line 124.
In this case, the frame rate can be converted to a frame rate that can be transmitted. Therefore, the hybrid-encoded image data with a high frame rate input from the terminal 121 is converted into a hybrid-encoded image data with a low frame rate, which has the performance of the transmission rate b2, and is subjected to frame rate conversion. Is output to At the terminal 125, image data having a frame rate equal to the transmission speed b2 of the communication line 124 is sent, and is completely reproduced and displayed within the processing capability range of the terminal 125.
【0031】次に、フレームレートの高い画像データを
端末121側から入力し、通信回線の伝送速度が、b1
≧b2となる関係で、かつ、端末の処理能力が、c1>
c2の関係となるときのフレームレート変換方式につい
て図1を参照しながら説明する。Next, image data having a high frame rate is input from the terminal 121, and the transmission speed of the communication line is set to b1.
≧ b2 and the processing capability of the terminal is c1>
The frame rate conversion method at the time of c2 will be described with reference to FIG.
【0032】端末121,125の処理能力c1とc2
の関係に着目すると、端末121の処理能力c1よりも
端末125の処理能力c2が低いので、端末125の処
理能力c2で処理可能なフレームレートに変換すればよ
いことになる。また、通信回線122,124の伝送速
度b1とb2の関係に着目すると、通信回線124の伝
送速度b2は通信回線122の伝送速度b1以下である
ので、通信回線124の伝送速度b2で伝送可能なフレ
ームレートに変換すればよいことになる。The processing capacities c1 and c2 of the terminals 121 and 125
Paying attention to the relationship, since the processing capability c2 of the terminal 125 is lower than the processing capability c1 of the terminal 121, the frame rate can be converted to a frame rate that can be processed by the processing capability c2 of the terminal 125. Focusing on the relationship between the transmission speeds b1 and b2 of the communication lines 122 and 124, since the transmission speed b2 of the communication line 124 is equal to or lower than the transmission speed b1 of the communication line 122, transmission is possible at the transmission speed b2 of the communication line 124. What is necessary is to convert it to a frame rate.
【0033】ここで、端末125の処理能力c2で処理
可能なフレーム数よりも、通信回線124の伝送速度b
2で伝送可能なフレーム数の方が多い場合、端末125
の処理能力c2で処理可能なフレーム数を超えるフレー
ムを伝送しても端末125ではデコードできないので、
通信回線の使用効率が悪くなることになる。これを回避
するために、端末121側から入力されたフレームレー
トの高いハイブリッド符号化された画像データは、端末
125の処理能力c2の性能にあった、フレームレート
の低いハイブリッド符号化された画像データにフレーム
レート変換されて端末125側に出力される。Here, the transmission rate b of the communication line 124 is larger than the number of frames that can be processed by the processing capacity c2 of the terminal 125.
If the number of frames that can be transmitted by the terminal 2 is larger, the terminal 125
The terminal 125 cannot decode even if the number of frames that can be processed with the processing capability c2 of
The use efficiency of the communication line becomes worse. In order to avoid this, the hybrid-coded image data with a high frame rate input from the terminal 121 side is a hybrid-coded image data with a low frame rate that is in the performance of the processing capability c2 of the terminal 125. And then output to the terminal 125 side.
【0034】また、端末125の処理能力c2で処理可
能なフレーム数よりも、通信回線124の伝送速度b2
で伝送可能なフレーム数の方が少ない場合、通信回線1
24の伝送速度b2で伝送可能なフレーム数しか伝送す
ることができないので、端末121側から入力されたフ
レームレートの高いハイブリッド符号化された画像デー
タは、通信回線124の伝送速度b2の性能にあった、
フレームレートの低いハイブリッド符号化された画像デ
ータにフレームレート変換されて端末125側に出力さ
れる。The transmission speed b2 of the communication line 124 is larger than the number of frames that can be processed by the processing capability c2 of the terminal 125.
If the number of frames that can be transmitted by the
Since only the number of frames that can be transmitted at the transmission rate b2 of 24 can be transmitted, the hybrid-coded image data having a high frame rate input from the terminal 121 side does not meet the performance of the transmission rate b2 of the communication line 124. Was
The frame rate is converted to hybrid-coded image data having a low frame rate and output to the terminal 125 side.
【0035】また、さらに端末125の処理能力c2で
処理可能なフレーム数と通信回線124の伝送速度b2
で伝送可能なフレーム数とが等しい場合、端末121側
から入力されたフレームレートの高いハイブリッド符号
化された画像データは、通信回線124の伝送速度b
2、もしくは端末125の処理能力c2の性能にあっ
た、フレームレートの低いハイブリッド符号化された画
像データにフレームレート変換されて端末125側に出
力される。Further, the number of frames that can be processed by the processing capability c2 of the terminal 125 and the transmission speed b2 of the communication line 124
When the number of frames that can be transmitted by the terminal 121 is equal, the hybrid-encoded image data having a high frame rate input from the terminal 121 is transmitted at the transmission speed b of the communication line 124.
2 or the frame rate is converted to hybrid-coded image data with a low frame rate that matches the processing capability c2 of the terminal 125 and is output to the terminal 125 side.
【0036】次に、フレームレートの高い画像データ
を、端末121側から入力し、通信回線の伝送速度がb
1<b2となる関係で、かつ、端末の処理能力が、c1
>c2の関係となるときのフレームレート変換方式につ
いて図1を参照しながら説明する。Next, image data having a high frame rate is input from the terminal 121, and the transmission speed of the communication line is set to b.
1 <b2 and the processing capability of the terminal is c1
The frame rate conversion method in the case of> c2 will be described with reference to FIG.
【0037】端末121,125の処理能力c1とc2
の関係に着目すると、端末121の処理能力c1よりも
端末125の処理能力c2が低いので、端末125の処
理能力c2で処理可能なフレームレートに変換すればよ
いことになる。また、通信回線122,124の伝送速
度b1とb2の関係に着目すると、通信回線122の伝
送速度b1は通信回線124の伝送速度b2よりも遅い
ので、伝送速度b1で伝送可能なフレームレートに変換
すればよいことになる。Processing capacities c1 and c2 of terminals 121 and 125
Paying attention to the relationship, since the processing capability c2 of the terminal 125 is lower than the processing capability c1 of the terminal 121, the frame rate can be converted to a frame rate that can be processed by the processing capability c2 of the terminal 125. Focusing on the relationship between the transmission speeds b1 and b2 of the communication lines 122 and 124, since the transmission speed b1 of the communication line 122 is lower than the transmission speed b2 of the communication line 124, it is converted to a frame rate that can be transmitted at the transmission speed b1. That's all I need to do.
【0038】ここで、端末125の処理能力c2で処理
可能なフレーム数よりも通信回線122の伝送速度b1
で伝送可能なフレーム数の方が多い場合、端末125の
処理能力c2で処理可能なフレーム数を超えるフレーム
を伝送しても端末125ではデコードできないので、通
信回線の使用効率が悪くなることになる。これを回避す
るために、端末121側から入力されたフレームレート
の高いハイブリッド符号化された画像データは、端末1
25の処理能力c2の性能にあった、フレームレートの
低いハイブリッド符号化された画像データにフレームレ
ート変換されて端末125側に出力される。Here, the transmission speed b1 of the communication line 122 is larger than the number of frames that can be processed by the processing capability c2 of the terminal 125.
When the number of frames that can be transmitted by the terminal 125 is larger, even if the number of frames that can be processed by the processing capability c2 of the terminal 125 is transmitted, the terminal 125 cannot decode the frame, so that the use efficiency of the communication line deteriorates. . In order to avoid this, the hybrid-coded image data with a high frame rate input from the terminal 121 is
The frame rate is converted to hybrid-coded image data having a low frame rate and having a processing capability c2 of 25 and output to the terminal 125 side.
【0039】また、端末125の処理能力c2で処理可
能なフレーム数よりも、通信回線122の伝送速度b1
で伝送可能なフレーム数の方が少ない場合、通信回線1
22の伝送速度b1で伝送可能なフレーム数しか伝送す
ることができないので、端末121側から入力されたフ
レームレートの高いハイブリッド符号化された画像デー
タは、通信回線122の伝送速度b1の性能にあった、
フレームレートの低いハイブリッド符号化された画像デ
ータにフレームレート変換されて端末125側に出力さ
れる。The transmission speed b1 of the communication line 122 is larger than the number of frames that can be processed by the processing capability c2 of the terminal 125.
If the number of frames that can be transmitted by the
Since only the number of frames that can be transmitted at the transmission rate b1 of 22 can be transmitted, the hybrid-coded image data with a high frame rate input from the terminal 121 does not meet the performance of the transmission rate b1 of the communication line 122. Was
The frame rate is converted to hybrid-coded image data having a low frame rate and output to the terminal 125 side.
【0040】また、さらに、端末125の処理能力c2
で処理可能なフレーム数と通信回線122の伝送速度b
1で伝送可能なフレーム数とが等しい場合、端末121
側から入力されたフレームレートの高いハイブリッド符
号化された画像データは、通信回線122の伝送速度b
1、もしくは端末125の処理能力c2の性能にあっ
た、フレームレートの低いハイブリッド符号化された画
像データにフレームレート変換されて端末125側に出
力される。Further, the processing capability c2 of the terminal 125
Number of frames that can be processed by the communication and the transmission speed b of the communication line 122
1 and the number of frames that can be transmitted is equal, the terminal 121
The hybrid-encoded image data with a high frame rate input from the side
1 or the frame rate is converted to hybrid-encoded image data having a low frame rate that matches the processing capability c2 of the terminal 125, and is output to the terminal 125 side.
【0041】次に、フレームレートの高い画像データを
端末121側から入力し、通信回線の伝送速度がb1>
b2となる関係で、かつ、端末の処理能力が、c1<c
2の関係となるときのフレームレート変換方式について
図1を参照しながら説明する。Next, image data with a high frame rate is input from the terminal 121 side, and the transmission speed of the communication line is b1>
b2 and the processing capability of the terminal is c1 <c
The frame rate conversion method in the case of the relationship 2 will be described with reference to FIG.
【0042】端末121,125の処理能力c1とc2
の関係に着目すると、端末125の処理能力c2よりも
端末121の処理能力c1が低いので、端末121の処
理能力c1で処理可能なフレームレートに変換すればよ
いことになる。また、通信回線122,124のの伝送
速度b1とb2の関係に着目すると、通信回線124の
伝送速度b2は通信回線122の伝送速度b1よりも遅
いので、通信回線124の伝送速度b2で伝送可能なフ
レームレートに変換すればよいことになる。Processing capacities c1 and c2 of terminals 121 and 125
Paying attention to the relationship, since the processing capability c1 of the terminal 121 is lower than the processing capability c2 of the terminal 125, the frame rate may be converted to a frame rate that can be processed by the processing capability c1 of the terminal 121. Focusing on the relationship between the transmission speeds b1 and b2 of the communication lines 122 and 124, since the transmission speed b2 of the communication line 124 is lower than the transmission speed b1 of the communication line 122, transmission is possible at the transmission speed b2 of the communication line 124. It is only necessary to convert the frame rate to an appropriate frame rate.
【0043】ここで、端末121の処理能力c1で処理
可能なフレーム数よりも、通信回線124の伝送速度b
2で伝送可能なフレーム数の方が多い場合、端末121
の処理能力c1で処理可能なフレーム数を超えるフレー
ムは通信回線124の伝送速度b2を利用しても、伝送
できない。よって、端末121側から入力されたハイブ
リッド符号化された画像データは、フレームレート変換
されずに、そのまま端末125側に出力される。Here, the transmission rate b of the communication line 124 is larger than the number of frames that can be processed by the processing capacity c1 of the terminal 121.
If the number of frames that can be transmitted by the terminal 2 is larger, the terminal 121
A frame exceeding the number of frames that can be processed by the processing capability c1 cannot be transmitted even if the transmission speed b2 of the communication line 124 is used. Therefore, the hybrid-encoded image data input from the terminal 121 is output to the terminal 125 without any frame rate conversion.
【0044】また、端末121の処理能力c1で処理可
能なフレーム数よりも、通信回線124の伝送速度b2
で伝送可能なフレーム数の方が少ない場合、通信回線1
24の伝送速度b2で伝送可能なフレーム数しか伝送す
ることができないので、端末121側から入力されたフ
レームレートの高いハイブリッド符号化された画像デー
タは、通信回線124の伝送速度b2の性能にあった、
フレームレートの低いハイブリッド符号化された画像デ
ータにフレームレート変換されて端末125側に出力さ
れる。The transmission speed b2 of the communication line 124 is larger than the number of frames that can be processed by the processing capability c1 of the terminal 121.
If the number of frames that can be transmitted by the
Since only the number of frames that can be transmitted at the transmission rate b2 of 24 can be transmitted, the hybrid-coded image data having a high frame rate input from the terminal 121 side does not meet the performance of the transmission rate b2 of the communication line 124. Was
The frame rate is converted to hybrid-coded image data having a low frame rate and output to the terminal 125 side.
【0045】また、端末121の処理能力c1で処理可
能なフレーム数と通信回線124の伝送速度b2で伝送
可能なフレーム数とが等しい場合、端末121側から入
力されたハイブリッド符号化された画像データは、フレ
ームレート変換されずに、そのまま端末125側に出力
される。When the number of frames that can be processed by the processing capability c1 of the terminal 121 is equal to the number of frames that can be transmitted at the transmission speed b2 of the communication line 124, the hybrid-encoded image data input from the terminal 121 Is output to the terminal 125 as it is without frame rate conversion.
【0046】以下、フレームレート変換処理の詳細につ
いて説明する。入力される画像データを、0からi番目
のフレームまではフレームレート変換なしとし、(i+
1)から(i+n)番目のフレームまでを合成してフレ
ームレート変換を行い、(i+n+1)番目のフレーム
以降のフレームは、フレームレート変換なしとして説明
する。また、入力されたフレームレートの高い画像デー
タがフレーム内符号化されたデータである場合を例にあ
げて、図面を参照しながら説明する。The details of the frame rate conversion processing will be described below. Assuming that the input image data has no frame rate conversion from the 0th to the i-th frame, (i +
It is assumed that the frame rate conversion is performed by combining the frames from (1) to the (i + n) -th frame, and the frame after the (i + n + 1) -th frame has no frame rate conversion. The case where the input image data having a high frame rate is intra-frame encoded data will be described as an example with reference to the drawings.
【0047】図2は入力されたフレームレートの高い画
像データのうち、(i+1)から(i+n)番目のフレ
ームまでが、フレーム内符号化されたデータである場合
の、(i+n)番目のフレームの処理時のフレームレー
ト変換方式を示すものである。FIG. 2 shows a case where (i + 1) to (i + n) -th frames of the input image data having a high frame rate are intra-coded data. It shows a frame rate conversion method at the time of processing.
【0048】図2において、101は入力であり、フレ
ームレートの高い画像データが入力される。In FIG. 2, reference numeral 101 denotes an input to which image data having a high frame rate is input.
【0049】また、102は可変長復号化手段であり、
ハイブリッド符号化データを可変長復号化することによ
り、量子化された動き補償を伴う予測誤差直交変換デー
タ,量子化された動き補償を伴わない予測誤差直交変換
データ,量子化された直交変換係数に変換する。また、
同時に、入力側の端末の符号化装置で設定されたフレー
ム内/フレーム間識別を検出して、フレーム内/フレー
ム間(in)を設定し、また、入力側端末の符号化装置
で設定された、動き補償あり/なし識別を検出して、動
き補償あり/なし(in)を設定し、また、入力側端末
の符号化装置で設定された量子化係数を検出して、量子
化係数(in)を設定し、さらに、入力側端末の符号化
装置で設定された動きベクトルを検出して、動きベクト
ル(in)を設定する。Reference numeral 102 denotes a variable length decoding means.
By performing variable-length decoding of the hybrid coded data, the prediction error orthogonal transform data with quantized motion compensation, the prediction error orthogonal transform data without quantized motion compensation, and the quantized orthogonal transform coefficients are obtained. Convert. Also,
At the same time, the intra-frame / inter-frame identification set by the encoding device of the input terminal is detected, the intra-frame / inter-frame (in) is set, and the setting is made by the encoding device of the input terminal. , The presence / absence of motion compensation is detected, and the presence / absence of motion compensation (in) is set, and the quantization coefficient set in the encoding device of the input terminal is detected, and the quantization coefficient (in ) Is set, and the motion vector set by the coding device of the input terminal is detected, and the motion vector (in) is set.
【0050】103は逆量子化手段であり、上記設定さ
れた量子化係数(in)により、量子化された動き補償
を伴う予測誤差直交変換データ,量子化された動き補償
を伴わない予測誤差直交変換データ,量子化された直交
変換係数を、動き補償を伴う予測誤差直交変換データ,
動き補償を伴わない予測誤差直交変換データ,直交変換
係数にそれぞれ変換する。Reference numeral 103 denotes an inverse quantization means, which uses the set quantization coefficient (in) to quantize the prediction error orthogonal transform data with motion compensation and the quantized prediction error orthogonal transform data without motion compensation. Transform data, the quantized orthogonal transform coefficients are transformed into prediction error orthogonal transform data with motion compensation,
The data is converted into prediction error orthogonal transform data without motion compensation and orthogonal transform coefficients.
【0051】104は予測誤差直交変換データ加算手段
であり、動きベクトル・直交変換係数演算手段108に
て動きベクトルを考慮して演算された直交変換係数、ま
たは画像メモリ106に記憶されている直交変換係数
と、動き補償を伴う予測誤差直交変換データ、または動
き補償を伴わない予測誤差直交変換データとを加算す
る。Numeral 104 denotes a prediction error orthogonal transform data adding means, which is an orthogonal transform coefficient calculated in consideration of the motion vector by the motion vector / orthogonal transform coefficient calculating means 108, or an orthogonal transform coefficient stored in the image memory 106. The coefficient and prediction error orthogonal transform data with motion compensation or prediction error orthogonal transform data without motion compensation are added.
【0052】105は直交変換係数選択手段であり、上
記設定されたフレーム内/フレーム間(in)により制
御される。すなわち、上記フレーム内/フレーム間(i
n)が「フレーム内」の時は、逆量子化手段103によ
り逆量子化された直交変換係数が選択され、上記フレー
ム内/フレーム間(in)が「フレーム間」の時は、予
測誤差直交変換データ加算手段104により算出された
直交変換係数が選択され出力される。Reference numeral 105 denotes an orthogonal transform coefficient selecting means, which is controlled by the set intra-frame / inter-frame (in). That is, within the frame / between frames (i
When n) is “intra-frame”, the orthogonal transform coefficient inversely quantized by the inverse quantization means 103 is selected. When the intra-frame / inter-frame (in) is “inter-frame”, the prediction error orthogonal The orthogonal transform coefficients calculated by the transform data adding means 104 are selected and output.
【0053】106は画像メモリであり、上記直交変換
係数選択手段105により選択された直交変換係数を記
憶するためのものである。Reference numeral 106 denotes an image memory for storing the orthogonal transform coefficients selected by the orthogonal transform coefficient selecting means 105.
【0054】107は動き補償あり/なし(in)判断
手段であり、動き補償が「あり」の時は画像メモリ10
6に記憶されている直交変換係数を後述する動きベクト
ル・直交変換係数演算手段108に出力する。動き補償
が「なし」の時は画像メモリ106に記憶されている直
交変換係数を、予測誤差直交変換データ加算手段104
に出力する。Numeral 107 is a means for judging whether motion compensation is performed or not (in).
6 is output to the motion vector / orthogonal transform coefficient calculating means 108 described later. When the motion compensation is “none”, the orthogonal transformation coefficient stored in the image memory 106 is added to the prediction error orthogonal transformation data adding means 104.
Output to
【0055】108は動きベクトル・直交変換係数演算
手段であり、動きベクトル(in)を用いて、動き補償
あり/なし(in)判断手段107にて「あり」と判断
されたときの画像メモリ106に記憶されていた直交変
換係数を、マトリクス演算することにより、動きベクト
ルを考慮して演算された直交変換係数を算出する。マト
リクス演算については後述する方法を用いることとす
る。Numeral 108 denotes a motion vector / orthogonal transform coefficient calculating means, which uses the motion vector (in) to determine whether or not there is motion compensation (in). By performing a matrix operation on the orthogonal transform coefficients stored in the matrix, the orthogonal transform coefficients calculated in consideration of the motion vector are calculated. For the matrix operation, a method described later is used.
【0056】109は初期画像取込選択手段であり、後
述する符号化制御・フレーム内/フレーム間判断手段1
13により設定された画像取込指示により、画像メモリ
106に記憶されている直交変換係数を取り込み、後述
する画像メモリ110に直交変換係数を出力する。Reference numeral 109 denotes an initial image capturing / selecting unit, which is an encoding control / intra-frame / inter-frame determining unit 1 described later.
In response to an image capture instruction set by 13, the orthogonal transform coefficients stored in the image memory 106 are captured, and the orthogonal transform coefficients are output to an image memory 110 described later.
【0057】110は画像メモリであり、初期画像取込
選択手段109により選択された直交変換係数を記憶す
るためのものである。Reference numeral 110 denotes an image memory for storing the orthogonal transformation coefficients selected by the initial image acquisition selecting means 109.
【0058】111はフレーム内/フレーム間(in)
判断手段であり、「フレーム内」の時は、画像メモリ1
06の直交変換係数を後段の符号化制御・フレーム内/
フレーム間判断手段113へ出力し、「フレーム間」の
時は、画像メモリ106の直交変換係数を後述する直交
変換係数減算手段112へ出力する。Reference numeral 111 denotes within a frame / between frames (in).
It is a judgment means.
06 orthogonal transformation coefficient is set at the subsequent stage of encoding control / in-frame /
It outputs to the inter-frame determination means 113, and in the case of "inter-frame", outputs the orthogonal transform coefficient of the image memory 106 to the orthogonal transform coefficient subtraction means 112 described later.
【0059】112は直交変換係数減算手段であり、フ
レーム内/フレーム間(in)判断手段111で、「フ
レーム間」と判断されたときに画像メモリ106に記憶
されていた直交変換係数から、画像メモリ110の直交
変換係数を減算する。Numeral 112 denotes an orthogonal transform coefficient subtracting means, which calculates an image based on the orthogonal transform coefficient stored in the image memory 106 when the intra-frame / inter-frame (in) judging means 111 judges "inter-frame". The orthogonal transform coefficient of the memory 110 is subtracted.
【0060】113は符号化制御・フレーム内/フレー
ム間判断手段であり、フレームレート変換が行われてい
ない時には、動き補償あり/なし(in)をそのまま動
き補償あり/なし(out)として出力し、フレームレ
ート変換が行われている時には、動き補償あり/なし
(out)を「なし」に設定して出力する。また、フレ
ームレート変換を行う1つ前のフレームを画像メモリ1
10に記憶させるために、画像取込指示を出力する。ま
た、フレーム内/フレーム間(in)を用いて、フレー
ム内/フレーム間(in)判断手段111からの直交変
換係数と、直交変換係数減算手段112からの動き補償
を伴わない予測誤差直交変換データとの選択を行い、後
述する量子化手段114へ出力する。また、量子化係数
(in)を再設定し、これを量子化係数(out)とし
て後述する量子化手段114へ出力する。Numeral 113 denotes encoding control / intra-frame / inter-frame judging means. When frame rate conversion is not performed, motion compensation / no motion (in) is output as motion compensation / no motion (out). When the frame rate conversion is being performed, the motion compensation with / without (out) is set to “none” and output. Also, the frame immediately before the frame rate conversion is stored in the image memory 1.
10 to output an image capture instruction. Also, using the intra-frame / inter-frame (in), the orthogonal transform coefficient from the intra-frame / inter-frame (in) determining means 111 and the prediction error orthogonal transform data without motion compensation from the orthogonal transform coefficient subtracting means 112 are used. And outputs the result to a quantization means 114 described later. Further, the quantization coefficient (in) is reset, and this is output to the quantization means 114 described later as a quantization coefficient (out).
【0061】114は量子化手段であり、上記出力され
た量子化係数(out)により、動き補償を伴わない予
測誤差直交変換データ,直交変換係数を、量子化された
動き補償を伴わない予測誤差直交変換データ,量子化さ
れた直交変換係数にそれぞれ変換する。Numeral 114 denotes a quantizing means for transforming the orthogonal transform data and the orthogonal transform coefficient without motion compensation by the output quantized coefficient (out) into the quantized prediction error without motion compensation. The orthogonal transform data and the quantized orthogonal transform coefficient are respectively converted.
【0062】115はフレームレート変換制御手段であ
り、フレームレート変換情報より、フレームレート変換
の継続/終了を判断する。そして、フレームレート変換
終了後、可変長符号化手段117に、量子化された動き
補償を伴わない予測誤差直交変換データ,量子化された
直交変換係数を出力し、フレームレート変換が行われな
い時は、可変長復号化手段102からの量子化された動
き補償を伴う予測誤差直交変換データ,量子化された動
き補償を伴わない予測誤差直交変換データ,量子化され
た直交変換係数をそのまま出力する。Reference numeral 115 denotes frame rate conversion control means for determining continuation / end of the frame rate conversion based on the frame rate conversion information. Then, after the frame rate conversion is completed, quantized prediction error orthogonal transform data without motion compensation and quantized orthogonal transform coefficients are output to the variable length coding means 117, and the frame rate conversion is not performed. Outputs the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficients from the variable length decoding means 102 as they are. .
【0063】116は動きベクトル選択手段であり、上
記符号化制御・フレーム内/フレーム間判断手段113
から出力された動き補償あり/なし(out)により、
動きベクトルの選択を行う。すなわち、動き補償あり/
なし(out)が「あり」の時は、動きベクトル(i
n)を後述する可変長符号化手段117にそのまま出力
し、「なし」の時には可変長符号化手段117には、動
きベクトル(in)を出力しない。Reference numeral 116 denotes a motion vector selection means, which is the above-described coding control / intra-frame / inter-frame determination means 113
With and without motion compensation (out) output from
Select a motion vector. That is, with motion compensation /
When “out” is “present”, the motion vector (i)
n) is output as it is to the variable length encoding means 117 described later, and when "none", the motion vector (in) is not output to the variable length encoding means 117.
【0064】117は可変長符号化手段であり、量子化
された動き補償を伴う予測誤差直交変換データ,量子化
された動き補償を伴わない予測誤差直交変換データ,量
子化された直交変換係数を可変長符号化することによ
り、ハイブリッド符号化データに変換する。また、同時
に、フレーム内/フレーム間(in)により、出力側端
末の復号化装置に対して設定されたフレーム内/フレー
ム間識別を設定し、動き補償あり/なし(out),動
きベクトル(in)により、出力側端末の復号化装置に
対して動き補償あり/なし識別,動きベクトルを設定
し、量子化係数(in)により、出力側端末の復号化装
置に対して量子化係数を設定する。Numeral 117 denotes a variable-length encoding means which converts the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficient. By performing variable length coding, the data is converted into hybrid coded data. At the same time, the intra-frame / inter-frame discrimination set for the decoding device of the output terminal is set according to the intra-frame / inter-frame (in), and the motion compensation (with / without (out)) and the motion vector (in) are performed. ), A motion vector with / without motion compensation is set for the decoding device of the output terminal, and a quantization coefficient is set for the decoding device of the output terminal by the quantization coefficient (in). .
【0065】118は出力であり、ここからフレームレ
ートの低い画像データが出力される。Reference numeral 118 denotes an output from which image data having a low frame rate is output.
【0066】ここで、Emv(i)は動き補償を伴う予
測誤差直交変換データ、Q(Emv(i))は量子化さ
れた動き補償を伴う予測誤差直交変換データ、V(Q
(Emv(i)))は量子化され可変長符号化された動
き補償を伴う予測誤差直交変換データ、S(i)は直交
変換係数、Q(S(i))は量子化された直交変換係
数、V(Q(S(i)))は量子化され可変長符号化さ
れた直交変換係数、S’(i)は動きベクトルを考慮し
て演算された直交変換係数、E(i)は動き補償を伴わ
ない予測誤差直交変換データ、Q(E(i))は量子化
された動き補償を伴わない予測誤差直交変換データ、V
(Q(E(i)))は量子化され可変長符号化された動
き補償を伴わない予測誤差直交変換データ、Emv_n
onmv(i)は動き補償を伴う予測誤差直交変換デー
タ、または動き補償を伴わない予測誤差直交変換デー
タ、Q(Emv_nonmv(i))は量子化された動
き補償を伴う予測誤差直交変換データ、または量子化さ
れた動き補償を伴わない予測誤差直交変換データ、V
(Q(Emv_nonmv(i)))は量子化され可変
長符号化された動き補償を伴う予測誤差直交変換デー
タ、または量子化され可変長符号化された動き補償を伴
わない予測誤差直交変換データ、SEmv(i)は動き
補償を伴う予測誤差直交変換データ、または直交変換係
数、Q(SEmv(i))は量子化された動き補償を伴
う予測誤差直交変換データ、または量子化された直交変
換係数、V(Q(SEmv(i)))は量子化され可変
長符号化された動き補償を伴う予測誤差直交変換デー
タ、または量子化され可変長符号化された直交変換係
数、SEmv_nonmv(i)は動き補償を伴う予測
誤差直交変換データ、または、動き補償を伴わない予測
誤差直交変換データ、あるいは直交変換係数、Q(SE
mv_nonmv(i))は量子化された動き補償を伴
う予測誤差直交変換データ、または量子化された動き補
償を伴わない予測誤差直交変換データ、あるいは量子化
された直交変換係数、V(Q(SEmv_nonmv
(i)))は量子化され可変長符号化された動き補償を
伴う予測誤差直交変換データ、または量子化され可変長
符号化された動き補償を伴わない予測誤差直交変換デー
タ、または量子化され可変長符号化された直交変換係数
とする。Here, Emv (i) is prediction error orthogonal transform data with motion compensation, Q (Emv (i)) is quantized prediction error orthogonal transform data with motion compensation, and V (Q
(Emv (i))) is quantized and variable-length coded prediction error orthogonal transform data with motion compensation, S (i) is an orthogonal transform coefficient, and Q (S (i)) is a quantized orthogonal transform. Coefficients, V (Q (S (i))) are quantized and variable-length coded orthogonal transform coefficients, S ′ (i) is an orthogonal transform coefficient calculated in consideration of a motion vector, and E (i) is The prediction error orthogonal transform data without motion compensation, Q (E (i)) is the quantized prediction error orthogonal transform data without motion compensation, V
(Q (E (i))) is quantized and variable-length coded prediction error orthogonal transform data without motion compensation, Emv_n
onmv (i) is prediction error orthogonal transform data with motion compensation, or prediction error orthogonal transform data without motion compensation, Q (Emv_nonmv (i)) is quantized prediction error orthogonal transform data with motion compensation, or Prediction error orthogonal transformation data without quantized motion compensation, V
(Q (Emv_nonmv (i))) is quantized and variable-length coded prediction error orthogonal transform data with motion compensation, or quantized and variable-length coded prediction error orthogonal transform data without motion compensation; SEmv (i) is prediction error orthogonal transform data with motion compensation or orthogonal transform coefficient, and Q (SEmv (i)) is quantized prediction error orthogonal transform data with motion compensation or quantized orthogonal transform coefficient. , V (Q (SEmv (i))) are quantized and variable-length coded prediction error orthogonal transform data with motion compensation, or quantized and variable-length coded orthogonal transform coefficients, SEmv_nonmv (i) is Prediction error orthogonal transformation data with motion compensation, prediction error orthogonal transformation data without motion compensation, or orthogonal transformation coefficient, Q (SE
mv_nonmv (i) is quantized prediction error orthogonal transform data with motion compensation, quantized prediction error orthogonal transform data without motion compensation, or quantized orthogonal transform coefficient, V (Q (SEmv_nonmv
(I))) is quantized and variable-length encoded prediction error orthogonal transform data with motion compensation, or is quantized and variable-length encoded prediction error orthogonal transform data without motion compensation, or is quantized and The variable-length-coded orthogonal transform coefficients are used.
【0067】フレームレート変換しない0〜iフレーム
までは、可変長復号化手段102,逆量子化手段10
3,予測誤差直交変換データ加算手段104,直交変換
係数選択手段105,動き補償あり/なし(in)判断
手段107,動きベクトル・直交変換係数演算手段10
8を経由して画像メモリ106にS(i)として記憶さ
れる。また、初期画像取込選択手段109を経由し、画
像メモリ110にもS(i)として記憶される。また、
可変長復号化手段102により可変長復号化されたQ
(SEmv_nonmv(0))からQ(SEmv_n
onmv(i))は、フレームレート変換制御手段11
5により選択されて、可変長符号化手段117により可
変長符号化されて、V(Q(SEmv_nonmv
(0)))からV(Q(SEmv_nonmv
(i)))として出力される。Variable-length decoding means 102, inverse quantization means 10
3. Prediction error orthogonal transform data adding means 104, orthogonal transform coefficient selecting means 105, motion compensation with / without (in) determining means 107, motion vector / orthogonal transform coefficient calculating means 10
8 and stored in the image memory 106 as S (i). The data is also stored as S (i) in the image memory 110 via the initial image capture selecting means 109. Also,
The variable length decoded Q by the variable length decoding means 102
(SEmv_nonmv (0)) to Q (SEmv_n
onmv (i)) is the frame rate conversion control means 11
5 and is variable-length coded by the variable-length coding means 117, and V (Q (SEmv_nonmv
(0))) to V (Q (SEmv_nonmv
(I)) is output as).
【0068】一方、フレームレート変換を行う(i+
1)フレームは、可変長復号化手段102により可変長
復号化され、量子化された直交変換係数Q(S(i+
1))に変換される。On the other hand, frame rate conversion is performed (i +
1) The frame is subjected to variable-length decoding by the variable-length decoding unit 102 and quantized orthogonal transform coefficients Q (S (i +
1)).
【0069】そして、Q(S(i+1))は逆量子化手
段103により、逆量子化され、直交変換係数S(i+
1)に変換される。この、S(i+1)は、直交変換係
数選択手段105にて、「フレーム内」と判断され、画
像メモリ106にS(i+1)として記憶される。Then, Q (S (i + 1)) is inversely quantized by the inverse quantization means 103, and the orthogonal transform coefficient S (i +
Is converted to 1). This orthogonal transformation coefficient selection means 105 determines that S (i + 1) is “in a frame”, and stores it in the image memory 106 as S (i + 1).
【0070】(i+2)から(i+n)番目のフレーム
までについても、上記(i+1)番目のフレームと同様
の処理を繰り返すことで処理される。The processes from the (i + 2) th frame to the (i + n) th frame are processed by repeating the same process as the (i + 1) th frame.
【0071】そして、上記(i+n)フレームの処理が
終了した時点で、画像メモリ106には直交変換係数S
(i+n)が記憶されており、画像メモリ110には直
交変換係数S(i)が記憶されている。When the processing of the (i + n) frame is completed, the orthogonal transform coefficient S is stored in the image memory 106.
(I + n) are stored, and the image memory 110 stores the orthogonal transform coefficient S (i).
【0072】上記直交変換係数S(i+n)はフレーム
内/フレーム間(in)判断手段111で「フレーム
内」と判断され、S(i+n)がそのまま出力される。
ここで、直交変換係数S(i+n)を新たな(i+1)
番目のフレームとし、S(i+1)=S(i+n)とす
る。The orthogonal transformation coefficient S (i + n) is determined to be “in the frame” by the intra-frame / inter-frame (in) determination means 111, and S (i + n) is output as it is.
Here, the orthogonal transform coefficient S (i + n) is replaced with a new (i + 1)
It is assumed that the frame is the first frame and S (i + 1) = S (i + n).
【0073】上記直交変換係数S(i+1)は、符号化
制御・フレーム内/フレーム間判断手段113にて、フ
レーム内/フレーム間(in)を用いることにより、
「フレーム内」と判断され、選択される。フレームレー
ト変換中は、動き補償あり/なし(out)は「なし」
に設定される。画像取込指示は量子化手段114にS
(i+1)が出力された後、出力される。The above-mentioned orthogonal transform coefficient S (i + 1) is obtained by using the intra-frame / inter-frame (in) by the encoding control / intra-frame / inter-frame judging means 113.
It is determined to be "in a frame" and is selected. During frame rate conversion, motion compensation with / without (out) is “none”
Is set to The image capture instruction is sent to the quantization means 114 as S
After (i + 1) is output, it is output.
【0074】S(i+1)は量子化手段114により量
子化されて、量子化された直交変換係数Q(S(i+
1))に変換される。S (i + 1) is quantized by the quantization means 114, and the quantized orthogonal transform coefficient Q (S (i +
1)).
【0075】この量子化された直交変換係数Q(S(i
+1))は、可変長符号化手段117により、可変長符
号化され、量子化され可変長符号化された直交変換係数
V(Q(S(i+1)))として出力される。The quantized orthogonal transform coefficients Q (S (i
+1)) is subjected to variable-length encoding by the variable-length encoding means 117, and is output as a quantized and variable-length encoded orthogonal transform coefficient V (Q (S (i + 1))).
【0076】一方、フレームレート変換しない(i+n
+1)番目のフレームは、可変長復号化手段102,逆
量子化手段103,予測誤差直交変換データ加算手段1
04,直交変換係数選択手段105,動き補償あり/な
し(in)判断手段107,動きベクトル・直交変換係
数演算手段108を経由して画像メモリ106に直交変
換係数S(i+n+1)として記憶される。また、初期
画像取込選択手段109を経由して画像メモリ110に
も直交変換係数S(i+n+1)として記憶される。ま
た、可変長復号化手段102により可変長復号化されて
得られた、Q(SEmv_nonmv(i+n+1))
はフレームレート変換制御手段115により選択され
て、Q(SEmv_nonmv(i+2))となり、さ
らに可変長符号化手段117により可変長符号化され
て、V(Q(SEmv_nonmv(i+2)))とし
て出力される。そして、(i+n+1)より後のフレー
ムについても上記(i+n+1)番目のフレームと同様
の処理が行われる。On the other hand, no frame rate conversion is performed (i + n
The (+1) th frame includes a variable length decoding unit 102, an inverse quantization unit 103, a prediction error orthogonal transform data addition unit 1
04, orthogonal transform coefficient selecting means 105, motion compensation presence / absence (in) judging means 107, and motion vector / orthogonal transform coefficient calculating means 108, and are stored in image memory 106 as orthogonal transform coefficients S (i + n + 1). Further, the orthogonal transformation coefficient S (i + n + 1) is also stored in the image memory 110 via the initial image acquisition selection means 109. Q (SEmv_nonmv (i + n + 1)) obtained by variable-length decoding by the variable-length decoding unit 102
Is selected by the frame rate conversion control means 115, becomes Q (SEmv_nonmv (i + 2)), is further variable-length coded by the variable-length coding means 117, and is output as V (Q (SEmv_nonmv (i + 2))). . Then, the same processing as that of the (i + n + 1) -th frame is performed on the frame after (i + n + 1).
【0077】以上のようにして、フレームレート変換部
123で、フレームレートの高いハイブリッド符号化さ
れた画像データを、フレームレートの低いハイブリッド
符号化された画像データに変換する際に、通信回線の伝
送速度と端末の処理能力とを考慮し、最も律速となる処
理速度に合わせてフレームレートを変換するようにした
から、通信回線の使用効率が悪化することがなくなる。As described above, when the frame rate conversion section 123 converts the hybrid-coded image data with a high frame rate to the hybrid-coded image data with a low frame rate, In consideration of the speed and the processing capability of the terminal, the frame rate is converted in accordance with the processing speed that is the most limiting, so that the efficiency of use of the communication line does not deteriorate.
【0078】また、ハイブリッド符号化された画像デー
タの中の任意の開始フレーム、任意の合成フレーム枚数
を制御することにより、動き補償を伴うフレーム間予測
誤差に対して直交変換を行うハイブリッド符号化された
データ、及びフレーム内符号化されたデータに対して、
該データのみを選択的にフレームレート変換を行うこと
ができ、演算量が大幅に減少し、高速で負荷の少ないフ
レームレート変換を行うことができる。参考までに、勧
告H.261の復号器、および符号器において全ての演
算量を100%とすると、逆直交変換:約10%、直交
変換:約10%、動き検出:約45%の演算量が必要で
あるとの報告(Interface 96 年1 月号)もあり、本実施
の形態によれば演算量が大幅に減ることが期待できる。Further, by controlling an arbitrary start frame and an arbitrary number of combined frames in the hybrid-encoded image data, the hybrid encoding for orthogonally transforming the inter-frame prediction error accompanied by the motion compensation is performed. Data and intra-frame coded data,
It is possible to selectively perform frame rate conversion on only the data, greatly reduce the amount of calculation, and perform high-speed and low-load frame rate conversion. For reference, Recommendation H. Assuming that the total amount of computation in the H.261 decoder and the encoder is 100%, it is necessary to calculate the inverse orthogonal transform: about 10%, the orthogonal transform: about 10%, and the motion detection: about 45%. (Interface January 1996 issue), and it can be expected that the amount of calculation will be greatly reduced according to the present embodiment.
【0079】実施の形態2.以下、本発明の請求項2に
対応する実施の形態2.に係るフレームレート変換方式
について、図面を参照しながら説明する。Embodiment 2 Hereinafter, Embodiment 2 corresponding to claim 2 of the present invention. Will be described with reference to the drawings.
【0080】図3は入力されたフレームレートの高い画
像データで、(i+1)から(i+n)番目のフレーム
までが、動き補償を伴うフレーム間予測誤差に対して直
交変換を行うハイブリッド符号化されたデータである場
合の、(i+n)番目のフレームの処理時のフレームレ
ート変換方式を示すものである。FIG. 3 shows input image data having a high frame rate. From the (i + 1) th frame to the (i + n) th frame, hybrid coding is performed to perform orthogonal transformation on an inter-frame prediction error accompanied by motion compensation. This shows a frame rate conversion method when processing the (i + n) -th frame in the case of data.
【0081】図3において、201は入力であり、フレ
ームレートの高い画像データが入力される。In FIG. 3, reference numeral 201 denotes an input to which image data having a high frame rate is input.
【0082】202は可変長復号化手段であり、ハイブ
リッド符号化データを可変長復号化することにより、量
子化された動き補償を伴う予測誤差直交変換データ,量
子化された動き補償を伴わない予測誤差直交変換デー
タ,量子化された直交変換係数に変換する。また、同時
に、入力側の端末の符号化装置で設定されたフレーム内
/フレーム間識別を検出して、フレーム内/フレーム間
(in)を設定し、また、入力側端末の符号化装置で設
定された動き補償あり/なし識別を検出して、動き補償
あり/なし(in)を設定し、また、入力側端末の符号
化装置で設定された量子化係数を検出して、量子化係数
(in)を設定し、さらに、入力側端末の符号化装置で
設定された動きベクトルを検出して、動きベクトル(i
n)を設定する。Reference numeral 202 denotes a variable-length decoding unit which performs variable-length decoding of the hybrid encoded data to thereby perform prediction error orthogonal transformation data with quantized motion compensation and quantized prediction without motion compensation. The error orthogonal transform data is converted into quantized orthogonal transform coefficients. At the same time, the intra-frame / inter-frame identification set by the encoding device of the input terminal is detected, and the intra-frame / inter-frame (in) is set. Detected motion compensation presence / absence discrimination, set motion compensation presence / absence (in), and detect a quantization coefficient set by the encoding device of the input side terminal to obtain a quantization coefficient ( in), and further, the motion vector set by the encoding device of the input terminal is detected, and the motion vector (i
Set n).
【0083】203は逆量子化手段であり、上記設定さ
れた量子化係数(in)により、量子化された動き補償
を伴う予測誤差直交変換データ,量子化された動き補償
を伴わない予測誤差直交変換データ,量子化された直交
変換係数を、動き補償を伴う予測誤差直交変換データ,
動き補償を伴わない予測誤差直交変換データ,直交変換
係数にそれぞれ変換する。Numeral 203 denotes an inverse quantization means, which uses the set quantization coefficient (in) to quantize the prediction error orthogonal transform data with motion compensation and the quantized prediction error orthogonal transform data without motion compensation. Transform data, the quantized orthogonal transform coefficients are transformed into prediction error orthogonal transform data with motion compensation,
The data is converted into prediction error orthogonal transform data without motion compensation and orthogonal transform coefficients.
【0084】204は予測誤差直交変換データ加算手段
であり、動きベクトル・直交変換係数演算手段208に
て動きベクトルを考慮して演算された直交変換係数、ま
たは画像メモリ206に記憶されている直交変換係数
と、動き補償を伴う予測誤差直交変換データ、または動
き補償を伴わない予測誤差直交変換データとを加算す
る。Reference numeral 204 denotes a prediction error orthogonal transform data adding means, which is an orthogonal transform coefficient calculated in consideration of the motion vector by the motion vector / orthogonal transform coefficient calculating means 208, or an orthogonal transform coefficient stored in the image memory 206. The coefficient and prediction error orthogonal transform data with motion compensation or prediction error orthogonal transform data without motion compensation are added.
【0085】205は直交変換係数選択手段であり、上
記設定されたフレーム内/フレーム間(in)により制
御される。すなわち、上記フレーム内/フレーム間(i
n)が「フレーム内」の時は、逆量子化手段203によ
り逆量子化された直交変換係数が選択され、上記フレー
ム内/フレーム間(in)が「フレーム間」の時は予測
誤差直交変換データ加算手段204により算出された直
交変換係数が選択され出力される。Reference numeral 205 denotes an orthogonal transform coefficient selecting means, which is controlled by the set intra-frame / inter-frame (in). That is, within the frame / between frames (i
When n) is “intra-frame”, the orthogonal transform coefficient inversely quantized by the inverse quantization means 203 is selected. When the intra-frame / inter-frame (in) is “inter-frame”, the prediction error orthogonal transform is performed. The orthogonal transform coefficients calculated by the data adding means 204 are selected and output.
【0086】206は画像メモリであり、上記直交変換
係数選択手段205により選択された直交変換係数を記
憶するためのものである。Reference numeral 206 denotes an image memory for storing the orthogonal transform coefficients selected by the orthogonal transform coefficient selecting means 205.
【0087】207は動き補償あり/なし(in)判断
手段であり、動き補償が「あり」の時は画像メモリ20
6に記憶されている直交変換係数を動きベクトル・直交
変換係数演算手段208に出力する。動き補償が「な
し」の時は画像メモリ206に記憶されている直交変換
係数を予測誤差直交変換データ加算手段204に出力す
る。Reference numeral 207 denotes a means for judging the presence / absence (in) of motion compensation.
6 is output to the motion vector / orthogonal transform coefficient calculating means 208. When the motion compensation is “none”, the orthogonal transform coefficient stored in the image memory 206 is output to the prediction error orthogonal transform data adding means 204.
【0088】208は動きベクトル・直交変換係数演算
手段であり、動きベクトル(in)を用いて、動き補償
あり/なし(in)判断手段207にて「あり」と判断
された画像メモリ206に記憶されていた直交変換係数
を、マトリクス演算することにより、動きベクトルを考
慮して演算された直交変換係数を算出する。マトリクス
演算については後述の方法を用いる。Reference numeral 208 denotes a motion vector / orthogonal transform coefficient calculating means, which is stored in the image memory 206 which has been judged as "present" by the motion compensation with / without (in) judging means 207 using the motion vector (in). By performing a matrix operation on the orthogonal transform coefficients that have been set, an orthogonal transform coefficient calculated in consideration of the motion vector is calculated. For the matrix operation, a method described later is used.
【0089】209は初期画像取込選択手段であり、後
述する符号化制御・フレーム内/フレーム間判断手段2
13により設定された画像取込指示により、画像メモリ
206に記憶されている直交変換係数を取り込み、後述
する画像メモリ210に直交変換係数を出力する。Reference numeral 209 denotes an initial image capturing / selecting unit, which is an encoding control / intra-frame / inter-frame determining unit 2 described later.
In response to an image capture instruction set by 13, the orthogonal transform coefficients stored in the image memory 206 are captured, and the orthogonal transform coefficients are output to an image memory 210 described later.
【0090】210は画像メモリであり、初期画像取込
選択手段209により選択された直交変換係数を記憶す
るためのものである。Reference numeral 210 denotes an image memory for storing the orthogonal transformation coefficients selected by the initial image capture selecting means 209.
【0091】211はフレーム内/フレーム間(in)
判断手段であり、「フレーム内」の時は、画像メモリ2
06の直交変換係数を後段の符号化制御・フレーム内/
フレーム間判断手段213へ出力し、「フレーム間」の
時は、画像メモリ206の直交変換係数を後述する直交
変換係数減算手段212へ出力する。Reference numeral 211 denotes within a frame / between frames (in).
It is a judgment means.
06 orthogonal transformation coefficient is set at the subsequent stage of encoding control / in-frame /
It outputs to the inter-frame determination means 213, and in the case of “inter-frame”, outputs the orthogonal transform coefficient of the image memory 206 to the orthogonal transform coefficient subtraction means 212 described later.
【0092】212は直交変換係数減算手段であり、フ
レーム内/フレーム間(in)判断手段211で、「フ
レーム間」と判断されたときに画像メモリ206に記憶
されていた直交変換係数から、画像メモリ210の直交
変換係数を減算する。Numeral 212 denotes an orthogonal transform coefficient subtracting means. The orthogonal / transform coefficient stored in the image memory 206 when the "intra-frame / inter-frame (in)" judging means 211 judges "inter-frame". The orthogonal transform coefficient in the memory 210 is subtracted.
【0093】213は符号化制御・フレーム内/フレー
ム間判断手段であり、フレームレート変換が行われてい
ない時には、動き補償あり/なし(in)をそのまま動
き補償あり/なし(out)として出力し、フレームレ
ート変換が行われている時には、動き補償あり/なし
(out)は「なし」に設定して出力する。また、フレ
ームレート変換を行う1つ前のフレームを画像メモリ2
10に記憶させるために、画像取込指示を出力する。ま
た、フレーム内/フレーム間(in)を用いて、フレー
ム内/フレーム間(in)判断手段211からの直交変
換係数と、直交変換係数減算手段212からの動き補償
を伴わない予測誤差直交変換データとの選択を行い、後
述する量子化手段214へ出力する。また、量子化係数
(in)を再設定し、量子化係数(out)として後述
する量子化手段214へ出力する。Reference numeral 213 denotes an encoding control / intra-frame / inter-frame judging means. When frame rate conversion is not performed, motion compensation / no motion (in) is output as motion compensation / no motion (out) as it is. When frame rate conversion is being performed, motion compensation with / without (out) is set to “none” and output. Further, the frame immediately before the frame rate conversion is stored in the image memory 2.
10 to output an image capture instruction. Also, using the intra-frame / inter-frame (in), the orthogonal transform coefficient from the intra-frame / inter-frame (in) determining means 211 and the prediction error orthogonal transform data without motion compensation from the orthogonal transform coefficient subtracting means 212 are used. And outputs the result to the quantization means 214 described later. Further, the quantization coefficient (in) is reset and output to the quantization means 214 described later as the quantization coefficient (out).
【0094】214は量子化手段であり、上記出力され
た量子化係数(out)により、動き補償を伴わない予
測誤差直交変換データ,直交変換係数を、量子化された
動き補償を伴わない予測誤差直交変換データ,量子化さ
れた直交変換係数にそれぞれ変換する。Numeral 214 denotes a quantizing means which converts the orthogonal transform data and the orthogonal transform coefficient without motion compensation by the output quantized coefficient (out) into the quantized prediction error without motion compensation. The orthogonal transform data and the quantized orthogonal transform coefficient are respectively converted.
【0095】215はフレームレート変換制御手段であ
り、フレームレート変換情報より、フレームレート変換
の継続/終了を判断する。そして、フレームレート変換
終了後、可変長符号化手段217に、量子化された動き
補償を伴わない予測誤差直交変換データ,量子化された
直交変換係数を出力し、フレームレート変換が行われな
い時は、可変長復号化手段202からの量子化された動
き補償を伴う予測誤差直交変換データ,量子化された動
き補償を伴わない予測誤差直交変換データ,量子化され
た直交変換係数をそのまま出力する。Reference numeral 215 denotes frame rate conversion control means for determining continuation / end of frame rate conversion based on the frame rate conversion information. Then, after the frame rate conversion is completed, quantized prediction error orthogonal transform data without motion compensation and quantized orthogonal transform coefficients are output to the variable length coding means 217, and the frame rate conversion is not performed. Outputs the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficients from the variable length decoding means 202 as they are. .
【0096】216は動きベクトル選択手段であり、上
記符号化制御・フレーム内/フレーム間判断手段213
から出力された動き補償あり/なし(out)により、
動きベクトルの選択を行う。すなわち、動き補償あり/
なし(out)が「あり」の時は、動きベクトル(i
n)を可変長符号化手段217にそのまま出力し、「な
し」の時には、可変長符号化手段217には動きベクト
ル(in)を出力しない。Reference numeral 216 denotes a motion vector selecting means, which is the above-mentioned coding control / intra-frame / inter-frame determining means 213.
With and without motion compensation (out) output from
Select a motion vector. That is, with motion compensation /
When “out” is “present”, the motion vector (i)
n) is output to the variable length coding means 217 as it is, and when "none", the motion vector (in) is not output to the variable length coding means 217.
【0097】217は可変長符号化手段であり、量子化
された動き補償を伴う予測誤差直交変換データ,量子化
された動き補償を伴わない予測誤差直交変換データ,量
子化された直交変換係数を可変長符号化することによ
り、ハイブリッド符号化データに変換する。また、同時
に、フレーム内/フレーム間(in)により、出力側端
末の復号化装置に対して設定されたフレーム内/フレー
ム間識別を設定し、動き補償あり/なし(out),動
きベクトル(in)により、出力側端末の復号化装置に
対して、動き補償あり/なし識別,動きベクトルを設定
し、量子化係数(in)により、出力側端末の復号化装
置に対して量子化係数を設定する。Reference numeral 217 denotes a variable-length encoding unit that converts quantized prediction error orthogonal transform data with motion compensation, quantized prediction error orthogonal transform data without motion compensation, and quantized orthogonal transform coefficients. By performing variable length coding, the data is converted into hybrid coded data. At the same time, the intra-frame / inter-frame discrimination set for the decoding device of the output terminal is set according to the intra-frame / inter-frame (in), and the motion compensation (with / without (out)) and the motion vector (in) are performed. ), A motion vector with / without motion compensation is set for the decoding device of the output terminal, and a quantization coefficient is set for the decoding device of the output terminal by the quantization coefficient (in). I do.
【0098】218は出力であり、ここからフレームレ
ートの低い画像データが出力される。Reference numeral 218 denotes an output from which image data having a low frame rate is output.
【0099】以下、フレームレート変換処理の詳細につ
いて説明する。入力される画像データを、0からi番目
のフレームまではフレームレート変換なしとし、(i+
1)から(i+n)番目のフレームまでを合成して、フ
レームレート変換を行い、(i+n+1)番目のフレー
ム以降のフレームは、フレームレート変換なしとして説
明する。Hereinafter, details of the frame rate conversion processing will be described. Assuming that the input image data has no frame rate conversion from the 0th to the i-th frame, (i +
It is assumed that frames from (1) to the (i + n) -th frame are synthesized and subjected to frame rate conversion, and that frames subsequent to the (i + n + 1) -th frame have no frame rate conversion.
【0100】フレームレート変換しない0〜iフレーム
までは、可変長復号化手段202,逆量子化手段20
3,予測誤差直交変換データ加算手段204,直交変換
係数選択手段205,動き補償あり/なし(in)判断
手段207,動きベクトル・直交変換係数演算手段20
8を経由して画像メモリ206にS(i)として記憶さ
れる。また、初期画像取込選択手段209を経由し、画
像メモリ210にもS(i)として記憶される。また、
可変長復号化手段202により可変長復号化されたQ
(Emv(0))からQ(Emv(i))は、フレーム
レート変換制御手段215により選択されて、可変長符
号化手段217により可変長符号化されて、V(Q(E
mv(0)))からV(Q(Emv(i)))として出
力される。Variable frame decoding means 202, inverse quantization means 20
3. Prediction error orthogonal transform data adding means 204, orthogonal transform coefficient selecting means 205, motion compensation presence / absence (in) judging means 207, motion vector / orthogonal transform coefficient calculating means 20
8 and stored in the image memory 206 as S (i). Further, the data is also stored as S (i) in the image memory 210 via the initial image capture selecting means 209. Also,
The variable length decoded Q by the variable length decoding means 202
(Emv (0)) to Q (Emv (i)) are selected by the frame rate conversion control unit 215, are variable-length coded by the variable-length coding unit 217, and V (Q (E (E)
mv (0))) to V (Q (Emv (i))).
【0101】一方、フレームレート変換を行う(i+
1)フレームは、可変長復号化手段202により可変長
復号化され、量子化された動き補償を伴う予測誤差直交
変換データQ(Emv(i+1))に変換される。On the other hand, frame rate conversion is performed (i +
1) The frame is variable-length decoded by the variable-length decoding unit 202, and is converted into quantized prediction error orthogonal transform data Q (Emv (i + 1)) with motion compensation.
【0102】そして、Q(Emv(i+1))は逆量子
化手段203により、逆量子化され、動き補償を伴う予
測誤差直交変換データEmv(i+1)に変換される。Then, Q (Emv (i + 1)) is inversely quantized by the inverse quantization means 203, and is converted into prediction error orthogonal transform data Emv (i + 1) with motion compensation.
【0103】このEmv(i+1)は、予測誤差直交変
換データ加算手段204により、動き補償あり/なし
(in)判断手段207で「あり」と判断される画像メ
モリ206に記憶されているS(i)を、動きベクトル
・直交変換係数演算手段208で処理したS’(i)と
加算され、直交変換係数選択手段205にて、「フレー
ム間」と判断され、画像メモリ206にS(i+1)と
して記憶される。This Emv (i + 1) is stored in the image memory 206 where the prediction error orthogonal transform data adding means 204 determines that motion compensation is present / absent (in). ) Is added to S ′ (i) processed by the motion vector / orthogonal transform coefficient calculating means 208, determined to be “between frames” by the orthogonal transform coefficient selecting means 205, and stored as S (i + 1) in the image memory 206. It is memorized.
【0104】(i+2)から(i+n)番目のフレーム
までについても、上記(i+1)番目のフレームと同様
の処理を繰り返すことで処理される。The processes from the (i + 2) th frame to the (i + n) th frame are processed by repeating the same processing as the (i + 1) th frame.
【0105】そして、上記(i+n)フレームの処理が
終了した時点で、画像メモリ206には直交変換係数S
(i+n)が記憶されており、画像メモリ210には直
交変換係数S(i)が記憶されている。When the processing of the (i + n) frame is completed, the orthogonal transform coefficient S is stored in the image memory 206.
(I + n) are stored, and the orthogonal transform coefficient S (i) is stored in the image memory 210.
【0106】上記直交変換係数S(i+n)は、フレー
ム内/フレーム間(in)判断手段211で、「フレー
ム間」と判断され、直交変換係数減算手段212によ
り、S(i+n)−S(i)の処理が行われ、S(n)
が算出される。ここで、S(n)は、動き補償を伴わな
い予測誤差直交変換データであり、(i+1)番目のフ
レームのデータとすると、E(i+1)=S(n)とす
ることができる。The orthogonal transform coefficient S (i + n) is determined to be “between frames” by the intra-frame / inter-frame (in) determining means 211, and S (i + n) −S (i) by the orthogonal transform coefficient subtracting means 212. ) Is performed, and S (n)
Is calculated. Here, S (n) is prediction error orthogonal transform data without motion compensation, and assuming that data of the (i + 1) th frame is E (i + 1) = S (n).
【0107】上記動き補償を伴わない予測誤差直交変換
データE(i+1)は符号化制御・フレーム内/フレー
ム間判断手段213にて、フレーム内/フレーム間(i
n)を用いることにより、「フレーム間」と判断され、
選択される。フレームレート変換中は、動き補償あり/
なし(out)は「なし」に設定される。画像取込指示
は量子化手段214にE(i+1)が出力された後、出
力される。The prediction error orthogonal transform data E (i + 1) without the motion compensation is encoded / intra-frame / inter-frame (i.
By using n), it is determined that “between frames”
Selected. With motion compensation during frame rate conversion /
None is set to "none". The image capture instruction is output after E (i + 1) is output to the quantization means 214.
【0108】E(i+1)は量子化手段214により量
子化されて、量子化された動き補償を伴わない予測誤差
直交変換データQ(E(i+1))に変換される。E (i + 1) is quantized by the quantization means 214, and is converted into quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation.
【0109】この量子化された動き補償を伴わない予測
誤差直交変換データQ(E(i+1))は可変長符号化
手段217により、可変長符号化され、量子化され可変
長符号化された動き補償を伴わない予測誤差直交変換デ
ータV(Q(E(i+1)))として出力される。The quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation is subjected to variable length encoding by the variable length encoding means 217, and the quantized and variable length encoded motion It is output as prediction error orthogonal transform data V (Q (E (i + 1))) without compensation.
【0110】一方、フレームレート変換しない(i+n
+1)番目のフレームは、可変長復号化手段202,逆
量子化手段203,予測誤差直交変換データ加算手段2
04,直交変換係数選択手段205,動き補償あり/な
し(in)判断手段207,動きベクトル・直交変換係
数演算手段208を経由して、画像メモリ206に直交
変換係数S(i+n+1)として記憶される。また、初
期画像取込選択手段209を経由して画像メモリ210
にもS(i+n+1)として記憶される。また、可変長
復号化手段202により可変長復号化されて得られたQ
(Emv(i+n+1))は、フレームレート変換制御
手段215により選択されて、Q(Emv(i+2))
となり、さらに可変長符号化手段217により可変長符
号化されて、V(Q(Emv(i+2)))として出力
される。そして、(i+n+1)より後のフレームにつ
いても上記(i+n+1)番目のフレームと同様の処理
が行われる。On the other hand, no frame rate conversion is performed (i + n
The (+1) th frame includes a variable length decoding unit 202, an inverse quantization unit 203, a prediction error orthogonal transform data adding unit 2
04, orthogonal transform coefficient selecting means 205, motion compensation presence / absence (in) judging means 207, and motion vector / orthogonal transform coefficient calculating means 208, and are stored in image memory 206 as orthogonal transform coefficients S (i + n + 1). . Also, the image memory 210 via the initial image capture selection means 209
Is also stored as S (i + n + 1). The Q obtained by variable-length decoding by the variable-length decoding means 202 is
(Emv (i + n + 1)) is selected by the frame rate conversion control means 215, and Q (Emv (i + 2))
Then, the data is further subjected to variable-length encoding by the variable-length encoding means 217 and output as V (Q (Emv (i + 2))). Then, the same processing as that of the (i + n + 1) -th frame is performed on the frame after (i + n + 1).
【0111】以上のように、本実施の形態によれば、ハ
イブリッド符号化された画像データの中の任意の開始フ
レーム、任意の合成フレーム枚数を制御することによ
り、動き補償を伴うフレーム間予測誤差に対して、該デ
ータのみを選択的にフレームレート変換を行うことがで
き、演算量が大幅に減少し、高速で負荷の少ないフレー
ムレート変換を行うことができる。As described above, according to the present embodiment, by controlling an arbitrary start frame and an arbitrary number of combined frames in hybrid-coded image data, the inter-frame prediction error with motion compensation is controlled. On the other hand, the frame rate conversion can be selectively performed only on the data, the amount of calculation can be significantly reduced, and the frame rate conversion with high speed and low load can be performed.
【0112】実施の形態3.以下、本発明の請求項3に
対応する実施の形態3.に係るフレームレート変換方式
について、図面を参照しながら説明する。Embodiment 3 Hereinafter, Embodiment 3 corresponding to claim 3 of the present invention. Will be described with reference to the drawings.
【0113】図4は入力されたフレームレートの高い画
像データで、(i+1)から(i+n)番目のフレーム
までが、動き補償を伴うフレーム間予測誤差に対して直
交変換を行うハイブリッド符号化されたデータと、動き
補償を伴わないフレーム間予測誤差に対して直交変換を
行うハイブリッド符号化されたデータとの両方のデータ
が含まれ、(i+1)、(i+n)番目のフレームが、
動き補償を伴わないフレーム間予測誤差に対して直交変
換を行うハイブリッド符号化されたデータである場合の
(i+n)番目のフレームの処理時のフレームレート変
換方式を示すものである。FIG. 4 shows input image data having a high frame rate. The (i + 1) th to (i + n) th frames are subjected to hybrid encoding in which orthogonal transformation is performed on an inter-frame prediction error accompanied by motion compensation. The data includes both data and hybrid-coded data that performs orthogonal transform on an inter-frame prediction error without motion compensation, and the (i + 1) -th and (i + n) -th frames are:
It shows a frame rate conversion method at the time of processing the (i + n) -th frame in the case of hybrid-coded data that performs orthogonal transformation on inter-frame prediction errors without motion compensation.
【0114】図4において、301は入力であり、フレ
ームレートの高い画像データが入力される。In FIG. 4, reference numeral 301 denotes an input to which image data having a high frame rate is input.
【0115】302は可変長復号化手段であり、ハイブ
リッド符号化データを可変長復号化することにより、量
子化された動き補償を伴う予測誤差直交変換データ,量
子化された動き補償を伴わない予測誤差直交変換デー
タ,量子化された直交変換係数に変換する。また、同時
に、入力側端末の符号化装置で設定されたフレーム内/
フレーム間識別を検出して、フレーム内/フレーム間
(in)を設定し、また、入力側端末の符号化装置で設
定された動き補償あり/なし識別を検出して、動き補償
あり/なし(in)を設定し、また、入力側端末の符号
化装置で設定された量子化係数を検出して、量子化係数
(in)を設定し、さらに、入力側端末の符号化装置で
設定された動きベクトルを検出して、動きベクトル(i
n)を設定する。Numeral 302 denotes a variable-length decoding unit which performs variable-length decoding of the hybrid coded data so as to obtain prediction error orthogonal transform data with quantized motion compensation and quantized prediction without motion compensation. The error orthogonal transform data is converted into quantized orthogonal transform coefficients. At the same time, within the frame set by the coding device of the input side terminal /
Detecting inter-frame discrimination, setting intra-frame / inter-frame (in), detecting motion-compensated / non-compensated discrimination set by the coding device of the input terminal, and performing / without motion compensation ( in), and also detects the quantization coefficient set by the encoding device of the input terminal, sets the quantization coefficient (in), and further sets the quantization coefficient (in) by the encoding device of the input terminal. The motion vector is detected and the motion vector (i
Set n).
【0116】303は逆量子化手段であり、上記設定さ
れた量子化係数(in)により、量子化された動き補償
を伴う予測誤差直交変換データ,量子化された動き補償
を伴わない予測誤差直交変換データ,量子化された直交
変換係数を、動き補償を伴う予測誤差直交変換データ,
動き補償を伴わない予測誤差直交変換データ,直交変換
係数にそれぞれ変換する。Numeral 303 denotes an inverse quantization means, which uses the set quantization coefficient (in) to quantize the prediction error orthogonal transform data with motion compensation and the quantized prediction error orthogonal transform data without motion compensation. Transform data, the quantized orthogonal transform coefficients are transformed into prediction error orthogonal transform data with motion compensation,
The data is converted into prediction error orthogonal transform data without motion compensation and orthogonal transform coefficients.
【0117】304は予測誤差直交変換データ加算手段
であり、動きベクトル・直交変換係数演算手段308に
て動きベクトルを考慮して演算された直交変換係数、ま
たは画像メモリ306に記憶されている直交変換係数
と、動き補償を伴う予測誤差直交変換データ、または動
き補償を伴わない予測誤差直交変換データとを加算す
る。Numeral 304 denotes a prediction error orthogonal transform data adding means, which is an orthogonal transform coefficient calculated in consideration of a motion vector by a motion vector / orthogonal transform coefficient calculating means 308, or an orthogonal transform coefficient stored in an image memory 306. The coefficient and prediction error orthogonal transform data with motion compensation or prediction error orthogonal transform data without motion compensation are added.
【0118】305は直交変換係数選択手段であり、上
記設定されたフレーム内/フレーム間(in)により制
御される。すなわち、上記フレーム内/フレーム間(i
n)が「フレーム内」の時は、逆量子化手段303によ
り逆量子化された直交変換係数が選択され、上記フレー
ム内/フレーム間(in)が「フレーム間」の時は、予
測誤差直交変換データ加算手段304により算出された
直交変換係数が選択され出力される。Reference numeral 305 denotes an orthogonal transform coefficient selection means, which is controlled by the set intra-frame / inter-frame (in). That is, within the frame / between frames (i
When n) is “intra-frame”, the orthogonal transform coefficient inversely quantized by the inverse quantization means 303 is selected. When the intra-frame / inter-frame (in) is “inter-frame”, the prediction error orthogonal The orthogonal transform coefficients calculated by the transform data adding means 304 are selected and output.
【0119】306は画像メモリであり、上記直交変換
係数選択手段305により選択された直交変換係数を記
憶するためのものである。Reference numeral 306 denotes an image memory for storing the orthogonal transform coefficients selected by the orthogonal transform coefficient selecting means 305.
【0120】307は動き補償あり/なし(in)判断
手段であり、動き補償が「あり」の時は画像メモリ30
6に記憶されている直交変換係数を動きベクトル・直交
変換係数演算手段308に出力する。動き補償が「な
し」の時は、画像メモリ306に記憶されている直交変
換係数を予測誤差直交変換データ加算手段304に出力
する。Reference numeral 307 denotes a means for judging whether motion compensation is performed or not (in).
6 is output to the motion vector / orthogonal transform coefficient calculating means 308. When the motion compensation is “none”, the orthogonal transform coefficient stored in the image memory 306 is output to the prediction error orthogonal transform data adding means 304.
【0121】308は動きベクトル・直交変換係数演算
手段であり、動きベクトル(in)を用いて、動き補償
あり/なし(in)判断手段307にて「あり」と判断
された画像メモリ306に記憶されていた直交変換係数
を、マトリクス演算することにより、動きベクトルを考
慮して演算された直交変換係数を算出する。マトリクス
演算については後述の方法を用いる。Numeral 308 denotes a motion vector / orthogonal transform coefficient calculating means, which is stored in the image memory 306 which has been judged as "present" by the motion compensation with / without (in) judging means 307 using the motion vector (in). By performing a matrix operation on the orthogonal transform coefficients that have been set, an orthogonal transform coefficient calculated in consideration of the motion vector is calculated. For the matrix operation, a method described later is used.
【0122】309は初期画像取込選択手段であり、後
述する符号化制御・フレーム内/フレーム間判断手段3
13により設定された画像取込指示により、画像メモリ
306に記憶されている直交変換係数を取り込み、後述
する画像メモリ310に直交変換係数を出力する。Numeral 309 denotes an initial image capture selecting means, which is an encoding control / intra-frame / inter-frame determining means 3 which will be described later.
In response to an image capture instruction set by 13, the orthogonal transform coefficients stored in the image memory 306 are fetched, and the orthogonal transform coefficients are output to an image memory 310 described later.
【0123】310は画像メモリであり、初期画像取込
選択手段309により選択された直交変換係数を記憶す
るためのものである。Reference numeral 310 denotes an image memory for storing the orthogonal transform coefficients selected by the initial image capture selecting means 309.
【0124】311はフレーム内/フレーム間(in)
判断手段であり、「フレーム内」の時は、画像メモリ3
06の直交変換係数を後段の符号化制御・フレーム内/
フレーム間判断手段313へ出力し、「フレーム間」の
時は、画像メモリ306の直交変換係数を後述する直交
変換係数減算手段312へ出力する。Reference numeral 311 denotes within / between frames (in).
It is a judgment means.
06 orthogonal transformation coefficient is set at the subsequent stage of encoding control / in-frame /
It outputs to the inter-frame determination means 313, and in the case of "inter-frame", outputs the orthogonal transform coefficient of the image memory 306 to the orthogonal transform coefficient subtraction means 312 described later.
【0125】312は直交変換係数減算手段であり、フ
レーム内/フレーム間(in)判断手段311で、「フ
レーム間」と判断されたときに画像メモリ306に記憶
されていた直交変換係数から、画像メモリ310の直交
変換係数を減算する。Numeral 312 denotes an orthogonal transform coefficient subtracting means. The intra-frame / inter-frame (in) judging means 311 calculates an image based on the orthogonal transform coefficient stored in the image memory 306 when it is judged "inter-frame". The orthogonal transform coefficient of the memory 310 is subtracted.
【0126】313は符号化制御・フレーム内/フレー
ム間判断手段であり、フレームレート変換が行われてい
ない時には、動き補償あり/なし(in)をそのまま動
き補償あり/なし(out)として出力し、フレームレ
ート変換が行われている時には、動き補償あり/なし
(out)は「なし」に設定して出力する。また、フレ
ームレート変換を行う1つ前のフレームを画像メモリ3
10に記憶させるために、画像取込指示を出力する。ま
た、フレーム内/フレーム間(in)を用いて、フレー
ム内/フレーム間(in)判断手段311からの直交変
換係数と、直交変換係数減算手段312からの動き補償
を伴わない予測誤差直交変換データとの選択を行い、後
述する量子化手段314へ出力する。また、量子化係数
(in)を再設定し、量子化係数(out)として後述
する量子化手段314へ出力する。Reference numeral 313 denotes encoding control / intra-frame / inter-frame judging means. When frame rate conversion is not performed, motion compensation with / without (in) is output as it is as motion compensation with / without (out). When frame rate conversion is being performed, motion compensation with / without (out) is set to “none” and output. Further, the frame immediately before the frame rate conversion is stored in the image memory 3.
10 to output an image capture instruction. Also, using the intra-frame / inter-frame (in), the orthogonal transform coefficient from the intra-frame / inter-frame (in) determining means 311 and the prediction error orthogonal transform data without motion compensation from the orthogonal transform coefficient subtracting means 312 are used. And outputs the result to the quantization means 314 described later. Further, the quantization coefficient (in) is reset and output to the quantization means 314 described later as the quantization coefficient (out).
【0127】314は量子化手段であり、上記出力され
た量子化係数(out)により、動き補償を伴わない予
測誤差直交変換データ,直交変換係数を、量子化された
動き補償を伴わない予測誤差直交変換データ,量子化さ
れた直交変換係数にそれぞれ変換する。Numeral 314 denotes a quantizing means for converting the orthogonal transform data and the orthogonal transform coefficient without motion compensation by the output quantized coefficient (out) into the quantized prediction error without motion compensation. The orthogonal transform data and the quantized orthogonal transform coefficient are respectively converted.
【0128】315はフレームレート変換制御手段であ
り、フレームレート変換情報よりフレームレート変換の
継続/終了を判断する。そして、フレームレート変換終
了後、可変長符号化手段317に、量子化された動き補
償を伴わない予測誤差直交変換データ,量子化された直
交変換係数を出力し、フレームレート変換が行われない
時は、可変長復号化手段302からの量子化された動き
補償を伴う予測誤差直交変換データ,量子化された動き
補償を伴わない予測誤差直交変換データ,量子化された
直交変換係数をそのまま出力する。Reference numeral 315 denotes a frame rate conversion control unit which determines the continuation / end of the frame rate conversion based on the frame rate conversion information. Then, after the frame rate conversion is completed, quantized prediction error orthogonal transform data without motion compensation and quantized orthogonal transform coefficients are output to the variable length coding means 317, and frame rate conversion is not performed. Outputs the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficients from the variable length decoding means 302 as they are. .
【0129】316は動きベクトル選択手段であり、上
記符号化制御・フレーム内/フレーム間判断手段313
から出力された動き補償あり/なし(out)により、
動きベクトルの選択を行う。すなわち、動き補償あり/
なし(out)が「あり」の時は、動きベクトル(i
n)を可変長符号化手段317にそのまま出力し、「な
し」の時には、可変長符号化手段317には動きベクト
ル(in)を出力しない。Reference numeral 316 denotes a motion vector selection means, which is the above-described coding control / intra-frame / inter-frame determination means 313.
With and without motion compensation (out) output from
Select a motion vector. That is, with motion compensation /
When “out” is “present”, the motion vector (i)
n) is output to the variable-length coding unit 317 as it is, and when "none", the motion vector (in) is not output to the variable-length coding unit 317.
【0130】317は可変長符号化手段であり、量子化
された動き補償を伴う予測誤差直交変換データ,量子化
された動き補償を伴わない予測誤差直交変換データ,量
子化された直交変換係数を可変長符号化することによ
り、ハイブリッド符号化データに変換する。また、同時
に、フレーム内/フレーム間(in)により、出力側端
末の復号化装置に対して設定されたフレーム内/フレー
ム間識別を設定し、動き補償あり/なし(out),動
きベクトル(in)により、出力側端末の復号化装置に
対して動き補償あり/なし識別,動きベクトルを設定
し、量子化係数(in)により、出力側端末の復号化装
置に対して量子化係数を設定する。Reference numeral 317 denotes a variable-length encoding unit which converts quantized prediction error orthogonal transform data with motion compensation, quantized prediction error orthogonal transform data without motion compensation, and quantized orthogonal transform coefficients. By performing variable length coding, the data is converted into hybrid coded data. At the same time, the intra-frame / inter-frame discrimination set for the decoding device of the output terminal is set according to the intra-frame / inter-frame (in), and the motion compensation (with / without (out)) and the motion vector (in) are performed. ), A motion vector with / without motion compensation is set for the decoding device of the output terminal, and a quantization coefficient is set for the decoding device of the output terminal by the quantization coefficient (in). .
【0131】318は出力であり、ここからフレームレ
ートの低い画像データが出力される。Reference numeral 318 denotes an output from which image data having a low frame rate is output.
【0132】以下、フレームレート変換処理の詳細につ
いて説明する。入力される画像データを0からi番目の
フレームまではフレームレート変換なしとし、(i+
1)から(i+n)番目のフレームまでを合成して、フ
レームレート変換を行い、(i+n+1)番目のフレー
ム以降のフレームは、フレームレート変換なしとして説
明する。The details of the frame rate conversion process will be described below. Assuming that the input image data has no frame rate conversion from 0 to the i-th frame, (i +
It is assumed that frames from (1) to the (i + n) -th frame are synthesized and subjected to frame rate conversion, and that frames subsequent to the (i + n + 1) -th frame have no frame rate conversion.
【0133】フレームレート変換しない0〜iフレーム
までは、可変長復号化手段302,逆量子化手段30
3,予測誤差直交変換データ加算手段304,直交変換
係数選択手段305,動き補償あり/なし(in)判断
手段307,動きベクトル・直交変換係数演算手段30
8を経由して画像メモリ306にS(i)として記憶さ
れる。また、初期画像取込選択手段309を経由し、画
像メモリ310にもS(i)として記憶される。また、
可変長復号化手段302により可変長復号化されたQ
(Emv_nonmv(0))からQ(Emv_non
mv(i))は、フレームレート変換制御手段315に
より選択されて、可変長符号化手段317により可変長
符号化されて、V(Q(Emv_nonmv(0)))
からV(Q(Emv_nonmv(i)))として出力
される。The variable length decoding means 302 and the inverse quantization means 30
3. Prediction error orthogonal transform data adding means 304, orthogonal transform coefficient selecting means 305, motion compensation with / without (in) determining means 307, motion vector / orthogonal transform coefficient calculating means 30
8 and stored in the image memory 306 as S (i). Further, the image data is also stored as S (i) in the image memory 310 via the initial image capture selecting unit 309. Also,
The variable-length-decoded Q
(Emv_nonmv (0)) to Q (Emv_nonmv (0))
mv (i)) is selected by the frame rate conversion control means 315, is variable-length coded by the variable-length coding means 317, and V (Q (Emv_nonmv (0)))
Is output as V (Q (Emv_nonmv (i))).
【0134】一方、フレームレート変換を行う(i+
1)フレームは、可変長復号化手段302により、可変
長復号化され、量子化された動き補償を伴わない予測誤
差直交変換データQ(E(i+1))に変換される。On the other hand, frame rate conversion is performed (i +
1) The frame is subjected to variable-length decoding by the variable-length decoding unit 302, and is converted into quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation.
【0135】そして、Q(E(i+1))は逆量子化手
段303により、逆量子化され、E(i+1)に変換さ
れる。Then, Q (E (i + 1)) is inversely quantized by the inverse quantization means 303 and converted into E (i + 1).
【0136】このE(i+1)は、予測誤差直交変換デ
ータ加算手段304により、動き補償あり/なし(i
n)判断手段307で「あり」と判断される画像メモリ
306に記憶されているS(i)を、動きベクトル・直
交変換係数演算手段308で処理したS’(i),また
は動き補償あり/なし(in)判断手段307で「な
し」と判断される画像メモリ306に記憶されているS
(i)と加算され、直交変換係数選択手段305にて、
「フレーム間」と判断され、画像メモリ306にS(i
+1)として記憶される。This E (i + 1) is calculated by the prediction error orthogonal transform data adding means 304 with / without motion compensation (i.
n) S ′ (i) stored in the image memory 306 determined to be “present” by the determining unit 307 is processed by the motion vector / orthogonal transform coefficient calculating unit 308, or S ′ (i) with motion compensation / S stored in the image memory 306 determined to be “none” by the absence (in) determination unit 307
(I), and the orthogonal transform coefficient selection means 305 adds
It is determined that “between frames”, and S (i
+1).
【0137】(i+2)から(i+n)番目のフレーム
までについては動き補償を伴わない場合は上記(i+
1)番目のフレーム、動き補償を伴う場合は上記実施の
形態2.と同様の処理を繰り返すことで処理される。When no motion compensation is performed for the (i + 2) to (i + n) th frames, the above (i + 2)
1) The first frame when the motion compensation is performed. The processing is performed by repeating the same processing as described above.
【0138】そして、上記(i+n)フレームの処理が
終了した時点で、画像メモリ306には直交変換係数S
(i+n)が記憶されており、画像メモリ310には直
交変換係数S(i)が記憶されている。When the processing of the (i + n) frame is completed, the orthogonal transform coefficient S is stored in the image memory 306.
(I + n) is stored, and the orthogonal transform coefficient S (i) is stored in the image memory 310.
【0139】上記直交変換係数S(i+n)は、フレー
ム内/フレーム間(in)判断手段311で「フレーム
間」と判断され、直交変換係数減算手段312により、
S(i+n)−S(i)の処理が行われ、S(n)が算
出される。ここで、S(n)は、動き補償を伴わない予
測誤差直交変換データであり、(i+1)番目のフレー
ムのデータとすると、E(i+1)=S(n)とするこ
とができる。The orthogonal transform coefficient S (i + n) is determined as “between frames” by the intra-frame / inter-frame (in) determining means 311, and the orthogonal transform coefficient subtracting means 312
The processing of S (i + n) -S (i) is performed, and S (n) is calculated. Here, S (n) is prediction error orthogonal transform data without motion compensation, and assuming that data of the (i + 1) th frame is E (i + 1) = S (n).
【0140】上記動き補償を伴わない予測誤差直交変換
データE(i+1)は符号化制御・フレーム内/フレー
ム間判断手段313にて、フレーム内/フレーム間(i
n)を用いることにより、「フレーム間」と判断され、
選択される。フレームレート変換中は、動き補償あり/
なし(out)は「なし」に設定される。画像取込指示
は量子化手段314にE(i+1)が出力された後、出
力される。The prediction error orthogonal transform data E (i + 1) without the motion compensation is subjected to encoding control / intra-frame / inter-frame determination means 313 to execute the intra-frame / inter-frame (i
By using n), it is determined that “between frames”
Selected. With motion compensation during frame rate conversion /
None is set to "none". The image capture instruction is output after E (i + 1) is output to the quantization means 314.
【0141】E(i+1)は量子化手段314により、
量子化されて、量子化された動き補償を伴わない予測誤
差直交変換データQ(E(i+1))に変換される。E (i + 1) is calculated by the quantization means 314.
It is quantized and converted to quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation.
【0142】この量子化された動き補償を伴わない予測
誤差直交変換データQ(E(i+1))は可変長符号化
手段317により、可変長符号化され、量子化され可変
長符号化された動き補償を伴わない予測誤差直交変換デ
ータV(Q(E(i+1)))として出力される。The quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation is subjected to variable-length coding by the variable-length coding means 317, and the quantized and variable-length coded motion It is output as prediction error orthogonal transform data V (Q (E (i + 1))) without compensation.
【0143】一方、フレームレート変換しない(i+n
+1)番目のフレームは、可変長復号化手段302,逆
量子化手段303,予測誤差直交変換データ加算手段3
04,直交変換係数選択手段305,動き補償あり/な
し(in)判断手段307,動きベクトル・直交変換係
数演算手段308を経由して画像メモリ306に直交変
換係数S(i+n+1)として記憶される。また、初期
画像取込選択手段309を経由して画像メモリ310に
もS(i+n+1)として記憶される。また、可変長復
号化手段302により可変長復号化されて得られたQ
(Emv_nonmv(i+n+1))は、フレームレ
ート変換制御手段315により選択されて、Q(Emv
_nonmv(i+2))となり、さらに可変長符号化
手段317により可変長符号化されて、V(Q(Emv
_nonmv(i+2)))として出力される。そし
て、(i+n+1)より後のフレームについても上記
(i+n+1)番目のフレームと同様の処理が行われ
る。On the other hand, no frame rate conversion is performed (i + n
The (+1) -th frame includes a variable length decoding unit 302, an inverse quantization unit 303, and a prediction error orthogonal transformation data adding unit 3
04, orthogonal transform coefficient selection means 305, motion compensation presence / absence (in) decision means 307, and motion vector / orthogonal transform coefficient calculation means 308, and are stored in the image memory 306 as orthogonal transform coefficients S (i + n + 1). Further, the image data is also stored as S (i + n + 1) in the image memory 310 via the initial image capture selecting unit 309. Also, Q obtained by variable-length decoding by the variable-length decoding means 302 is obtained.
(Emv_nonmv (i + n + 1)) is selected by the frame rate conversion control means 315, and Q (Emv
_Nonmv (i + 2)), and further subjected to variable-length coding by the variable-length coding unit 317 to obtain V (Q (Emv
_Nonmv (i + 2))). Then, the same processing as that of the (i + n + 1) -th frame is performed on the frame after (i + n + 1).
【0144】以上のように、本実施の形態によれば、ハ
イブリッド符号化された画像データの中の任意の開始フ
レーム、任意の合成フレーム枚数を制御することによ
り、動き補償を伴うフレーム間予測誤差に対して直交変
換を行うハイブリッド符号化されたデータ、及び動き補
償を伴わないフレーム間予測誤差に対して直交変換を行
うハイブリッド符号化されたデータの両方のデータが含
まれるような場合においても、該データのみを選択的に
フレームレート変換を行うことができ、演算量が大幅に
減少し、高速で負荷の少ないフレームレート変換を行う
ことができる。As described above, according to the present embodiment, by controlling an arbitrary start frame and an arbitrary number of combined frames in hybrid-encoded image data, an inter-frame prediction error with motion compensation is controlled. Even in the case where both data of hybrid-coded data performing orthogonal transform on, and data of hybrid-coded data performing orthogonal transform on an inter-frame prediction error without motion compensation are included, It is possible to selectively perform frame rate conversion on only the data, greatly reduce the amount of calculation, and perform high-speed and low-load frame rate conversion.
【0145】実施の形態4.以下、本発明の請求項4に
対応する実施の形態4.に係るフレームレート変換方式
について、図面を参照しながら説明する。Embodiment 4 Hereinafter, a fourth embodiment corresponding to claim 4 of the present invention. Will be described with reference to the drawings.
【0146】図5は入力されたフレームレートの高い画
像データで(i+1)から(i+n)番目のフレームま
でが、動き補償を伴うフレーム間予測誤差に対して直交
変換を行うハイブリッド符号化されたデータと、フレー
ム内符号化されたデータとの両方のデータが含まれ、
(i+n)番目のフレームがフレーム内符号化されたデ
ータである場合の(i+n)番目のフレームの処理時の
フレームレート変換方式を示すものである。FIG. 5 shows the input image data having a high frame rate, in which the (i + 1) to (i + n) th frames are hybrid-coded data in which orthogonal transformation is performed on an inter-frame prediction error accompanied by motion compensation. And both intra-frame encoded data and
It shows a frame rate conversion method at the time of processing the (i + n) -th frame when the (i + n) -th frame is intra-frame encoded data.
【0147】図5において、401は入力であり、フレ
ームレートの高い画像データが入力される。In FIG. 5, reference numeral 401 denotes an input to which image data having a high frame rate is input.
【0148】402は可変長復号化手段であり、ハイブ
リッド符号化データを可変長復号化することにより、量
子化された動き補償を伴う予測誤差直交変換データ,量
子化された動き補償を伴わない予測誤差直交変換デー
タ,量子化された直交変換係数に変換する。また、同時
に、入力側端末の符号化装置で設定されたフレーム内/
フレーム間識別を検出して、フレーム内/フレーム間
(in)を設定し、また、入力側端末の符号化装置で設
定された動き補償あり/なし識別を検出して、動き補償
あり/なし(in)を設定し、また、入力側端末の符号
化装置で設定された量子化係数を検出して、量子化係数
(in)を設定し、さらに、入力側端末の符号化装置で
設定された動きベクトルを検出して、動きベクトル(i
n)を設定する。Reference numeral 402 denotes a variable-length decoding unit which performs variable-length decoding of the hybrid coded data to obtain orthogonally transformed prediction error data with quantized motion compensation and prediction without quantized motion compensation. The error orthogonal transform data is converted into quantized orthogonal transform coefficients. At the same time, within the frame set by the coding device of the input side terminal /
Detecting inter-frame discrimination, setting intra-frame / inter-frame (in), detecting motion-compensated / non-compensated discrimination set by the coding device of the input terminal, and performing / without motion compensation ( in), and also detects the quantization coefficient set by the encoding device of the input terminal, sets the quantization coefficient (in), and further sets the quantization coefficient (in) by the encoding device of the input terminal. The motion vector is detected and the motion vector (i
Set n).
【0149】403は逆量子化手段であり、上記設定さ
れた量子化係数(in)により、量子化された動き補償
を伴う予測誤差直交変換データ,量子化された動き補償
を伴わない予測誤差直交変換データ,量子化された直交
変換係数を、動き補償を伴う予測誤差直交変換データ,
動き補償を伴わない予測誤差直交変換データ,直交変換
係数にそれぞれ変換する。Numeral 403 denotes an inverse quantization means, which uses the set quantization coefficient (in) to quantize the prediction error orthogonal transform data with motion compensation and the quantized prediction error orthogonal transform data without motion compensation. Transform data, the quantized orthogonal transform coefficients are transformed into prediction error orthogonal transform data with motion compensation,
The data is converted into prediction error orthogonal transform data without motion compensation and orthogonal transform coefficients.
【0150】404は予測誤差直交変換データ加算手段
であり、動きベクトル・直交変換係数演算手段408に
て動きベクトルを考慮して演算された直交変換係数、ま
たは画像メモリ406に記憶されている直交変換係数
と、動き補償を伴う予測誤差直交変換データ、または動
き補償を伴わない予測誤差直交変換データとを加算す
る。Numeral 404 denotes a prediction error orthogonal transform data adding means. The orthogonal transform coefficient calculated in consideration of the motion vector by the motion vector / orthogonal transform coefficient calculating means 408 or the orthogonal transform coefficient stored in the image memory 406. The coefficient and prediction error orthogonal transform data with motion compensation or prediction error orthogonal transform data without motion compensation are added.
【0151】405は直交変換係数選択手段であり、上
記設定されたフレーム内/フレーム間(in)により制
御される。すなわち、上記フレーム内/フレーム間(i
n)が「フレーム内」の時は、逆量子化手段403によ
り逆量子化された直交変換係数が選択され、上記フレー
ム内/フレーム間(in)が「フレーム間」の時は、予
測誤差直交変換データ加算手段404により算出された
直交変換係数が選択され出力される。Reference numeral 405 denotes an orthogonal transform coefficient selection means, which is controlled by the set intra-frame / inter-frame (in). That is, within the frame / between frames (i
When n) is “intra-frame”, the orthogonal transform coefficient inversely quantized by the inverse quantization means 403 is selected. When the intra-frame / inter-frame (in) is “inter-frame”, the prediction error orthogonal The orthogonal transform coefficients calculated by the transform data adding means 404 are selected and output.
【0152】406は画像メモリであり、上記直交変換
係数選択手段405により選択された直交変換係数を記
憶するためのものである。Reference numeral 406 denotes an image memory for storing the orthogonal transform coefficients selected by the orthogonal transform coefficient selecting means 405.
【0153】407は動き補償あり/なし(in)判断
手段であり、動き補償が「あり」の時は画像メモリ40
6に記憶されている直交変換係数を動きベクトル・直交
変換係数演算手段408に出力する。動き補償が「な
し」の時は画像メモリ406に記憶されている直交変換
係数を予測誤差直交変換データ加算手段404に出力す
る。Reference numeral 407 denotes a means for judging whether motion compensation is performed or not (in).
6 is output to the motion vector / orthogonal transform coefficient calculating means 408. When the motion compensation is “none”, the orthogonal transform coefficient stored in the image memory 406 is output to the prediction error orthogonal transform data adding means 404.
【0154】408は動きベクトル・直交変換係数演算
手段であり、動きベクトル(in)を用いて、動き補償
あり/なし(in)判断手段407にて「あり」と判断
された画像メモリ406に記憶されていた直交変換係数
を、マトリクス演算することにより、動きベクトルを考
慮して演算された直交変換係数を算出する。マトリクス
演算については後述の方法を用いる。Reference numeral 408 denotes a motion vector / orthogonal transformation coefficient calculating means, which is stored in the image memory 406 which has been judged as "present" by the motion compensation with / without (in) judging means 407 using the motion vector (in). By performing a matrix operation on the orthogonal transform coefficients that have been set, an orthogonal transform coefficient calculated in consideration of the motion vector is calculated. For the matrix operation, a method described later is used.
【0155】409は初期画像取込選択手段であり、後
述する符号化制御・フレーム内/フレーム間判断手段4
13により設定された画像取込指示により、画像メモリ
406に記憶されている直交変換係数を取り込み、後述
する画像メモリ410に直交変換係数を出力する。Reference numeral 409 denotes an initial image capturing / selecting means, which is an encoding control / intra-frame / inter-frame determining means 4 described later.
In response to an image capture instruction set by the CPU 13, the orthogonal transform coefficients stored in the image memory 406 are fetched, and the orthogonal transform coefficients are output to an image memory 410 described later.
【0156】410は画像メモリであり、初期画像取込
選択手段409により選択された直交変換係数を記憶す
るためのものである。Reference numeral 410 denotes an image memory for storing the orthogonal transformation coefficients selected by the initial image capture selecting means 409.
【0157】411はフレーム内/フレーム間(in)
判断手段であり、「フレーム内」の時は、画像メモリ4
06の直交変換係数を後段の符号化制御・フレーム内/
フレーム間判断手段413へ出力し、「フレーム間」の
時は、画像メモリ406の直交変換係数を後述する直交
変換係数減算手段412へ出力する。Reference numeral 411 denotes within / between frames (in).
It is a judgment means.
06 orthogonal transformation coefficient is set at the subsequent stage of encoding control / in-frame /
It outputs to the inter-frame determination means 413, and in the case of “inter-frame”, outputs the orthogonal transform coefficient of the image memory 406 to the orthogonal transform coefficient subtraction means 412 described later.
【0158】412は直交変換係数減算手段であり、フ
レーム内/フレーム間(in)判断手段411で、「フ
レーム間」と判断されたときに画像メモリ406に記憶
されていた直交変換係数から、画像メモリ410の直交
変換係数を減算する。Numeral 412 denotes an orthogonal transform coefficient subtracting means. The intra-frame / inter-frame (in) judging means 411 calculates an image based on the orthogonal transform coefficient stored in the image memory 406 when it is judged “inter-frame”. The orthogonal transform coefficient of the memory 410 is subtracted.
【0159】413は符号化制御・フレーム内/フレー
ム間判断手段であり、フレームレート変換が行われてい
ない時には、動き補償あり/なし(in)をそのまま動
き補償あり/なし(out)として出力し、フレームレ
ート変換が行われている時には、動き補償あり/なし
(out)は「なし」に設定して出力する。また、フレ
ームレート変換を行う1つ前のフレームを画像メモリ4
10に記憶させるために、画像取込指示を出力する。ま
た、フレーム内/フレーム間(in)を用いて、フレー
ム内/フレーム間(in)判断手段411からの直交変
換係数と、直交変換係数減算手段412からの動き補償
を伴わない予測誤差直交変換データとの選択を行い、量
子化手段414へ出力する。また、量子化係数(in)
を再設定し、量子化係数(out)として後述する量子
化手段414へ出力する。Reference numeral 413 denotes an encoding control / intra-frame / inter-frame judging means. When frame rate conversion is not performed, motion compensation with / without (in) is output as it is as motion compensation with / without (out). When frame rate conversion is being performed, motion compensation with / without (out) is set to “none” and output. Also, the frame immediately before the frame rate conversion is stored in the image memory 4.
10 to output an image capture instruction. Also, using the intra-frame / inter-frame (in), the orthogonal transform coefficient from the intra-frame / inter-frame (in) determining means 411 and the prediction error orthogonal transform data without motion compensation from the orthogonal transform coefficient subtracting means 412 are used. And outputs the result to the quantization means 414. Also, the quantization coefficient (in)
Is reset, and is output as a quantization coefficient (out) to a quantization means 414 described later.
【0160】414は量子化手段であり、上記出力され
た量子化係数(out)により、動き補償を伴わない予
測誤差直交変換データ,直交変換係数を、量子化された
動き補償を伴わない予測誤差直交変換データ,量子化さ
れた直交変換係数にそれぞれ変換する。Numeral 414 denotes a quantizing means which converts the orthogonal transform data and the orthogonal transform coefficient without motion compensation by the output quantized coefficient (out) into the quantized prediction error without motion compensation. The orthogonal transform data and the quantized orthogonal transform coefficient are respectively converted.
【0161】415はフレームレート変換制御手段であ
り、フレームレート変換情報よりフレームレート変換の
継続/終了を判断する。そして、フレームレート変換終
了後、可変長符号化手段417に、量子化された動き補
償を伴わない予測誤差直交変換データ,量子化された直
交変換係数を出力し、フレームレート変換が行われない
時は、可変長復号化手段402からの量子化された動き
補償を伴う予測誤差直交変換データ,量子化された動き
補償を伴わない予測誤差直交変換データ,量子化された
直交変換係数をそのまま出力する。Reference numeral 415 denotes frame rate conversion control means for determining continuation / end of frame rate conversion based on the frame rate conversion information. Then, after the frame rate conversion is completed, quantized prediction error orthogonal transform data without motion compensation and quantized orthogonal transform coefficients are output to the variable length coding means 417, and the frame rate conversion is not performed. Outputs the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficients from the variable length decoding means 402 as they are. .
【0162】416は動きベクトル選択手段であり、上
記符号化制御・フレーム内/フレーム間判断手段413
から出力された動き補償あり/なし(out)により、
動きベクトルの選択を行う。すなわち、動き補償あり/
なし(out)が「あり」の時は、動きベクトル(i
n)を可変長符号化手段417にそのまま出力し、「な
し」の時には、可変長符号化手段417には動きベクト
ル(in)を出力しない。Reference numeral 416 denotes a motion vector selecting means, which is the above-described coding control / intra-frame / inter-frame determining means 413.
With and without motion compensation (out) output from
Select a motion vector. That is, with motion compensation /
When “out” is “present”, the motion vector (i)
n) is output to the variable length coding unit 417 as it is, and when “none”, the motion vector (in) is not output to the variable length coding unit 417.
【0163】417は可変長符号化手段であり、量子化
された動き補償を伴う予測誤差直交変換データ,量子化
された動き補償を伴わない予測誤差直交変換データ,量
子化された直交変換係数を可変長符号化することによ
り、ハイブリッド符号化データに変換する。また、同時
に、フレーム内/フレーム間(in)により、出力側端
末の復号化装置に対して設定されたフレーム内/フレー
ム間識別を設定し、動き補償あり/なし(out),動
きベクトル(in)により、出力側端末の復号化装置に
対して動き補償あり/なし識別,動きベクトルを設定
し、量子化係数(in)により、出力側端末の復号化装
置に対して量子化係数を設定する。Reference numeral 417 denotes a variable-length encoding unit that converts quantized prediction error orthogonal transform data with motion compensation, quantized prediction error orthogonal transform data without motion compensation, and quantized orthogonal transform coefficients. By performing variable length coding, the data is converted into hybrid coded data. At the same time, the intra-frame / inter-frame discrimination set for the decoding device of the output terminal is set according to the intra-frame / inter-frame (in), and the motion compensation (with / without (out)) and the motion vector (in) are performed. ), A motion vector with / without motion compensation is set for the decoding device of the output terminal, and a quantization coefficient is set for the decoding device of the output terminal by the quantization coefficient (in). .
【0164】418は出力であり、ここからフレームレ
ートの低い画像データが出力される。Reference numeral 418 denotes an output from which image data having a low frame rate is output.
【0165】以下、フレームレート変換処理の詳細につ
いて説明する。入力される画像データを0からi番目の
フレームまではフレームレート変換なしとし、(i+
1)から(i+n)番目のフレームまでを合成して、フ
レームレート変換を行い、(i+n+1)番目のフレー
ム以降のフレームは、フレームレート変換なしとして説
明する。Hereinafter, details of the frame rate conversion processing will be described. Assuming that the input image data has no frame rate conversion from 0 to the i-th frame, (i +
It is assumed that frames from (1) to the (i + n) -th frame are synthesized and subjected to frame rate conversion, and that frames subsequent to the (i + n + 1) -th frame have no frame rate conversion.
【0166】フレームレート変換しない0〜iフレーム
までは、可変長復号化手段402,逆量子化手段40
3,予測誤差直交変換データ加算手段404,直交変換
係数選択手段405,動き補償あり/なし(in)判断
手段407,動きベクトル・直交変換係数演算手段40
8を経由して画像メモリ406にS(i)として記憶さ
れる。また、初期画像取込選択手段409を経由し、画
像メモリ410にもS(i)として記憶される。また、
可変長復号化手段402により可変長復号化されたQ
(SEmv(0))からQ(SEmv(i))は、フレ
ームレート変換制御手段415により選択されて、可変
長符号化手段417により可変長符号化されて、V(Q
(SEmv(0)))からV(Q(SEmv(i)))
として出力される。The variable length decoding means 402 and the inverse quantization means 40
3, prediction error orthogonal transform data adding means 404, orthogonal transform coefficient selecting means 405, motion compensation presence / absence (in) judging means 407, motion vector / orthogonal transform coefficient calculating means 40
8 and stored in the image memory 406 as S (i). Further, the image data is also stored as S (i) in the image memory 410 via the initial image capture selecting unit 409. Also,
The variable length decoded Q by the variable length decoding means 402
(SEmv (0)) to Q (SEmv (i)) are selected by the frame rate conversion control means 415, are variable-length coded by the variable-length coding means 417, and V (Q
(SEmv (0))) to V (Q (SEmv (i)))
Is output as
【0167】一方、フレームレート変換を行う(i+
1)フレームは、可変長復号化手段402により、可変
長復号化され、量子化された直交変換係数Q(S(i+
1))に変換される。On the other hand, frame rate conversion is performed (i +
1) The frame is subjected to variable-length decoding by the variable-length decoding unit 402, and the quantized orthogonal transform coefficient Q (S (i +
1)).
【0168】そして、Q(S(i+1))は逆量子化手
段403により、逆量子化され、S(i+1)に変換さ
れる。Then, Q (S (i + 1)) is inversely quantized by the inverse quantization means 403 and converted to S (i + 1).
【0169】このS(i+1)は、直交変換係数選択手
段405にて、「フレーム内」と判断され、画像メモリ
406にS(i+1)として記憶される。This orthogonal transform coefficient selection means 405 determines that S (i + 1) is "in a frame", and stores it as S (i + 1) in the image memory 406.
【0170】(i+2)から(i+n)番目のフレーム
までについてはフレーム内の場合は上記(i+1)番目
のフレーム、動き補償を伴う場合は上記実施の形態2.
と同様の処理を繰り返すことで処理される。From the (i + 2) th frame to the (i + n) th frame, the (i + 1) th frame in the case of a frame, and the second embodiment in the case of involving motion compensation.
The processing is performed by repeating the same processing as described above.
【0171】そして、上記(i+n)フレームの処理が
終了した時点で、画像メモリ406には直交変換係数S
(i+n)が記憶されており、画像メモリ410には直
交変換係数S(i)が記憶されている。When the processing of the (i + n) frame is completed, the orthogonal transform coefficient S is stored in the image memory 406.
(I + n) are stored, and the orthogonal transform coefficient S (i) is stored in the image memory 410.
【0172】上記直交変換係数S(i+n)は、フレー
ム内/フレーム間(in)判断手段411で「フレーム
内」と判断され、S(i+n)が出力される。ここで、
S(i+n)を新たな(i+1)番目のフレームとし、
S(i+1)=S(i+n)とする。The orthogonal transformation coefficient S (i + n) is determined to be “in frame” by the intra-frame / inter-frame (in) determination means 411, and S (i + n) is output. here,
Let S (i + n) be the new (i + 1) th frame,
S (i + 1) = S (i + n).
【0173】上記直交変換係数S(i+1)は、符号化
制御・フレーム内/フレーム間判断手段413にて、フ
レーム内/フレーム間(in)を用いることにより、
「フレーム内」と判断され、選択される。フレームレー
ト変換中は、動き補償あり/なし(out)は「なし」
に設定される。画像取込指示は量子化手段414にS
(i+1)が出力された後、出力される。The above-mentioned orthogonal transform coefficient S (i + 1) is obtained by using the intra-frame / inter-frame (in) in the encoding control / intra-frame / inter-frame determining means 413.
It is determined to be "in a frame" and is selected. During frame rate conversion, motion compensation with / without (out) is “none”
Is set to The image capture instruction is sent to the quantization means 414 as S.
After (i + 1) is output, it is output.
【0174】S(i+1)は量子化手段414により、
量子化されて、量子化された直交変換係数Q(S(i+
1))に変換される。S (i + 1) is calculated by the quantization means 414.
The quantized orthogonal transform coefficient Q (S (i +
1)).
【0175】この量子化された上記直交変換係数Q(S
(i+1))は可変長符号化手段417により、可変長
符号化され、V(Q(S(i+1)))として出力され
る。The quantized orthogonal transform coefficient Q (S
(I + 1)) is subjected to variable-length encoding by the variable-length encoding unit 417, and is output as V (Q (S (i + 1))).
【0176】一方、フレームレート変換しない(i+n
+1)番目のフレームは、可変長復号化手段402,逆
量子化手段403,予測誤差直交変換データ加算手段4
04,直交変換係数選択手段405,動き補償あり/な
し(in)判断手段407,動きベクトル・直交変換係
数演算手段408を経由して画像メモリ406に直交変
換係数S(i+n+1)として記憶される。また、初期
画像取込選択手段409を経由して画像メモリ410に
もS(i+n+1)として記憶される。また、可変長復
号化手段402により可変長復号化されて得られたQ
(SEmv(i+n+1))は、フレームレート変換制
御手段415により選択されて、Q(SEmv(i+
2))となり、さらに可変長符号化手段417により可
変長符号化されて、V(Q(SEmv(i+2)))と
して出力される。そして、(i+n+1)より後のフレ
ームについても上記(i+n+1)番目のフレームと同
様の処理が行われる。On the other hand, no frame rate conversion is performed (i + n
The (+1) th frame includes a variable length decoding unit 402, an inverse quantization unit 403, and a prediction error orthogonal transform data addition unit 4
04, orthogonal transform coefficient selection means 405, motion compensation presence / absence (in) determination means 407, and motion vector / orthogonal transform coefficient calculation means 408, and are stored in the image memory 406 as orthogonal transform coefficients S (i + n + 1). Further, it is also stored as S (i + n + 1) in the image memory 410 via the initial image capture selecting means 409. The Q obtained by variable-length decoding by the variable-length decoding unit 402
(SEmv (i + n + 1)) is selected by the frame rate conversion control unit 415, and Q (SEmv (i + n + 1))
2)), and further subjected to variable-length encoding by the variable-length encoding unit 417, and output as V (Q (SEmv (i + 2))). Then, the same processing as that of the (i + n + 1) -th frame is performed on the frame after (i + n + 1).
【0177】以上のように、本実施の形態によれば、ハ
イブリッド符号化された画像データの中の任意の開始フ
レーム、任意の合成フレーム枚数を制御することによ
り、動き補償を伴うフレーム間予測誤差に対して直交変
換を行うハイブリッド符号化されたデータ、及びフレー
ム内符号化されたデータの両方のデータが含まれる場合
においても、該データのみを選択的にフレームレート変
換を行うことができ、演算量が大幅に減少し、高速で負
荷の少ないフレームレート変換を行うことができる。As described above, according to the present embodiment, by controlling an arbitrary start frame and an arbitrary number of combined frames in hybrid-coded image data, the inter-frame prediction error with motion compensation is controlled. Even when both the hybrid-coded data and the intra-frame coded data that perform orthogonal transform are included, it is possible to selectively perform frame rate conversion on only the data. The amount is greatly reduced, and a high-speed and low-load frame rate conversion can be performed.
【0178】実施の形態5.以下、本発明の請求項5に
対応する実施の形態5.に係るフレームレート変換方式
について、図面を参照しながら説明する。Embodiment 5 FIG. Hereinafter, a fifth embodiment corresponding to claim 5 of the present invention. Will be described with reference to the drawings.
【0179】図6は入力されたフレームレートの高い画
像データで(i+1)から(i+n)番目のフレームま
でが、動き補償を伴うフレーム間予測誤差に対して直交
変換を行うハイブリッド符号化されたデータと、動き補
償を伴わないフレーム間予測誤差に対して直交変換を行
うハイブリッド符号化されたデータと、さらには、フレ
ーム内符号化されたデータの3種類のデータが含まれ、
(i+1)番目のフレームがフレーム内符号化されたデ
ータであり、(i+n−1)番目のフレームが動き補償
を伴うフレーム間予測誤差に対して直交変換を行うハイ
ブリッド符号化されたデータフレーム内符号化されたデ
ータであり、(i+n)番目のフレームが動き補償を伴
わないフレーム間予測誤差に対して直交変換を行うハイ
ブリッド符号化されたデータである場合の(i+n)番
目のフレームの処理時のフレームレート変換方式を示す
ものである。FIG. 6 shows input image data having a high frame rate, in which the (i + 1) to (i + n) th frames are hybrid-coded data in which orthogonal transformation is performed on inter-frame prediction errors with motion compensation. And three types of data, that is, hybrid-coded data that performs orthogonal transform on an inter-frame prediction error without motion compensation, and further, intra-frame coded data,
The (i + 1) -th frame is intra-coded data, and the (i + n-1) -th frame is a hybrid-coded data intra code that performs orthogonal transformation on an inter-frame prediction error accompanied by motion compensation. (I + n) -th frame when the (i + n) -th frame is hybrid-coded data that performs orthogonal transform on an inter-frame prediction error without motion compensation. It shows a frame rate conversion method.
【0180】図6において、501は入力であり、フレ
ームレートの高い画像データが入力される。In FIG. 6, reference numeral 501 denotes an input to which image data having a high frame rate is input.
【0181】502は可変長復号化手段であり、ハイブ
リッド符号化データを可変長復号化することにより、量
子化された動き補償を伴う予測誤差直交変換データ,量
子化された動き補償を伴わない予測誤差直交変換デー
タ,量子化された直交変換係数に変換する。また、同時
に、入力側端末の符号化装置で設定されたフレーム内/
フレーム間識別を検出して、フレーム内/フレーム間
(in)を設定し、また、入力側端末の符号化装置で設
定された動き補償あり/なし識別を検出して、動き補償
あり/なし(in)を設定し、また、入力側端末の符号
化装置で設定された量子化係数を検出して、量子化係数
(in)を設定し、さらに、入力側端末の符号化装置で
設定された動きベクトルを検出して、動きベクトル(i
n)を設定する。Reference numeral 502 denotes a variable-length decoding unit that performs variable-length decoding of the hybrid encoded data to thereby perform prediction error orthogonal transformation data with quantized motion compensation and quantized prediction without motion compensation. The error orthogonal transform data is converted into quantized orthogonal transform coefficients. At the same time, within the frame set by the coding device of the input side terminal /
Detecting inter-frame discrimination, setting intra-frame / inter-frame (in), detecting motion-compensated / non-compensated discrimination set by the coding device of the input terminal, and performing / without motion compensation ( in), and also detects the quantization coefficient set by the encoding device of the input terminal, sets the quantization coefficient (in), and further sets the quantization coefficient (in) by the encoding device of the input terminal. The motion vector is detected and the motion vector (i
Set n).
【0182】503は逆量子化手段であり、上記設定さ
れた量子化係数(in)により、量子化された動き補償
を伴う予測誤差直交変換データ,量子化された動き補償
を伴わない予測誤差直交変換データ,量子化された直交
変換係数を、動き補償を伴う予測誤差直交変換データ,
動き補償を伴わない予測誤差直交変換データ,直交変換
係数にそれぞれ変換する。Reference numeral 503 denotes an inverse quantization means, which uses the set quantization coefficient (in) to quantize the prediction error orthogonal transform data with motion compensation and the quantized prediction error orthogonal transform data without motion compensation. Transform data, the quantized orthogonal transform coefficients are transformed into prediction error orthogonal transform data with motion compensation,
The data is converted into prediction error orthogonal transform data without motion compensation and orthogonal transform coefficients.
【0183】504は予測誤差直交変換データ加算手段
であり、動きベクトル・直交変換係数演算手段508に
て動きベクトルを考慮して演算された直交変換係数、ま
たは画像メモリ506に記憶されている直交変換係数
と、動き補償を伴う予測誤差直交変換データ、または動
き補償を伴わない予測誤差直交変換データとを加算す
る。Reference numeral 504 denotes a prediction error orthogonal transform data adding means, which is an orthogonal transform coefficient calculated in consideration of the motion vector by the motion vector / orthogonal transform coefficient calculating means 508, or an orthogonal transform coefficient stored in the image memory 506. The coefficient and prediction error orthogonal transform data with motion compensation or prediction error orthogonal transform data without motion compensation are added.
【0184】505は直交変換係数選択手段であり、上
記設定されたフレーム内/フレーム間(in)により制
御される。すなわち、上記フレーム内/フレーム間(i
n)が「フレーム内」の時は、逆量子化手段503によ
り逆量子化された直交変換係数が選択され、上記フレー
ム内/フレーム間(in)が「フレーム間」の時は、予
測誤差直交変換データ加算手段504により算出された
直交変換係数が選択され出力される。Reference numeral 505 denotes orthogonal transform coefficient selection means, which is controlled by the set intra-frame / inter-frame (in). That is, within the frame / between frames (i
When n) is “intra-frame”, the orthogonal transform coefficient inversely quantized by the inverse quantization means 503 is selected. When the intra-frame / inter-frame (in) is “inter-frame”, the prediction error orthogonal The orthogonal transform coefficients calculated by the transform data adding means 504 are selected and output.
【0185】506は画像メモリであり、上記直交変換
係数選択手段505により選択された直交変換係数を記
憶するためのものである。Reference numeral 506 denotes an image memory for storing the orthogonal transform coefficients selected by the orthogonal transform coefficient selecting means 505.
【0186】507は動き補償あり/なし(in)判断
手段であり、動き補償が「あり」の時は画像メモリ50
6に記憶されている直交変換係数を動きベクトル・直交
変換係数演算手段508に出力する。動き補償が「な
し」の時は画像メモリ506に記憶されている直交変換
係数を予測誤差直交変換データ加算手段504に出力す
る。Reference numeral 507 denotes a means for judging the presence / absence (in) of motion compensation.
6 is output to the motion vector / orthogonal transform coefficient calculating means 508. When the motion compensation is “none”, the orthogonal transform coefficient stored in the image memory 506 is output to the prediction error orthogonal transform data adding means 504.
【0187】508は動きベクトル・直交変換係数演算
手段であり、動きベクトル(in)を用いて、動き補償
あり/なし(in)判断手段507にて「あり」と判断
された画像メモリ506に記憶されていた直交変換係数
を、マトリクス演算することにより、動きベクトルを考
慮して演算された直交変換係数を算出する。マトリクス
演算については後述の方法を用いる。Reference numeral 508 denotes a motion vector / orthogonal transform coefficient calculating means, which is stored in the image memory 506 determined as "present" by the motion compensation with / without (in) determining means 507 using the motion vector (in). By performing a matrix operation on the orthogonal transform coefficients that have been set, an orthogonal transform coefficient calculated in consideration of the motion vector is calculated. For the matrix operation, a method described later is used.
【0188】509は初期画像取込選択手段であり、後
述する符号化制御・フレーム内/フレーム間判断手段5
13により設定された画像取込指示により、画像メモリ
506に記憶されている直交変換係数を取り込み、後述
する画像メモリ510に直交変換係数を出力する。Reference numeral 509 denotes an initial image capturing / selecting means, which is an encoding control / intra-frame / inter-frame determining means 5 described later.
In response to an image capture instruction set by 13, the orthogonal transform coefficients stored in the image memory 506 are fetched, and the orthogonal transform coefficients are output to an image memory 510 described later.
【0189】510は画像メモリであり、初期画像取込
選択手段509により選択された直交変換係数を記憶す
るためのものである。Reference numeral 510 denotes an image memory for storing the orthogonal transformation coefficient selected by the initial image capture selecting means 509.
【0190】511はフレーム内/フレーム間(in)
判断手段であり、「フレーム内」の時は、画像メモリ5
06の直交変換係数を後段の符号化制御・フレーム内/
フレーム間判断手段513へ出力し、「フレーム間」の
時は、画像メモリ506の直交変換係数を後述する直交
変換係数減算手段512へ出力する。Reference numeral 511 denotes within / between frames (in).
It is a judgment means.
06 orthogonal transformation coefficient is set at the subsequent stage of encoding control / in-frame /
It outputs to the inter-frame determination means 513, and in the case of "inter-frame", outputs the orthogonal transform coefficient of the image memory 506 to the orthogonal transform coefficient subtraction means 512 described later.
【0191】512は直交変換係数減算手段であり、フ
レーム内/フレーム間(in)判断手段511で、「フ
レーム間」と判断されたときに画像メモリ506に記憶
されていた直交変換係数から、画像メモリ510の直交
変換係数を減算する。Numeral 512 denotes an orthogonal transform coefficient subtracting means. The intra-frame / inter-frame (in) judging means 511 calculates an image based on the orthogonal transform coefficient stored in the image memory 506 when "inter-frame" is judged. The orthogonal transform coefficient of the memory 510 is subtracted.
【0192】513は符号化制御・フレーム内/フレー
ム間判断手段であり、フレームレート変換が行われてい
ない時には、動き補償あり/なし(in)をそのまま動
き補償あり/なし(out)として出力し、フレームレ
ート変換が行われている時には、動き補償あり/なし
(out)は「なし」に設定して出力する。また、フレ
ームレート変換を行う1つ前のフレームを画像メモリ5
10に記憶させるために、画像取込指示を出力する。ま
た、フレーム内/フレーム間(in)を用いて、フレー
ム内/フレーム間(in)判断手段511からの直交変
換係数と、直交変換係数減算手段512からの動き補償
を伴わない予測誤差直交変換データとの選択を行い、量
子化手段514へ出力する。また、量子化係数(in)
を再設定し、量子化係数(out)として後述する量子
化手段514へ出力する。Reference numeral 513 denotes encoding control / intra-frame / inter-frame determination means. When frame rate conversion is not performed, motion compensation with / without (in) is output as it is as motion compensation with / without (out). When frame rate conversion is being performed, motion compensation with / without (out) is set to “none” and output. Further, the frame immediately before the frame rate conversion is stored in the image memory 5.
10 to output an image capture instruction. Also, using the intra-frame / inter-frame (in), the orthogonal transform coefficient from the intra-frame / inter-frame (in) determining means 511 and the prediction error orthogonal transform data without motion compensation from the orthogonal transform coefficient subtracting means 512 are used. And outputs the result to the quantization means 514. Also, the quantization coefficient (in)
Is reset, and the result is output to a quantization unit 514 described later as a quantization coefficient (out).
【0193】514は量子化手段であり、上記出力され
た量子化係数(out)により、動き補償を伴わない予
測誤差直交変換データ,直交変換係数を、量子化された
動き補償を伴わない予測誤差直交変換データ,量子化さ
れた直交変換係数にそれぞれ変換する。Numeral 514 denotes a quantizing means which converts the orthogonal transformation data and the orthogonal transformation coefficient without motion compensation by the output quantized coefficient (out) into the quantized prediction error without motion compensation. The orthogonal transform data and the quantized orthogonal transform coefficient are respectively converted.
【0194】515はフレームレート変換制御手段であ
り、フレームレート変換情報よりフレームレート変換の
継続/終了を判断する。そして、フレームレート変換終
了後、可変長符号化手段517に、量子化された動き補
償を伴わない予測誤差直交変換データ,量子化された直
交変換係数を出力し、フレームレート変換が行われない
時は、可変長復号化手段502からの量子化された動き
補償を伴う予測誤差直交変換データ,量子化された動き
補償を伴わない予測誤差直交変換データ,量子化された
直交変換係数をそのまま出力する。Reference numeral 515 denotes frame rate conversion control means for determining continuation / end of the frame rate conversion based on the frame rate conversion information. Then, after the frame rate conversion is completed, quantized prediction error orthogonal transform data without motion compensation and quantized orthogonal transform coefficients are output to the variable length coding means 517, and the frame rate conversion is not performed. Outputs the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficients from the variable length decoding means 502 as they are. .
【0195】516は動きベクトル選択手段であり、上
記符号化制御・フレーム内/フレーム間判断手段513
から出力された動き補償あり/なし(out)により、
動きベクトルの選択を行う。すなわち、動き補償あり/
なし(out)が「あり」の時は、動きベクトル(i
n)を可変長符号化手段517にそのまま出力し、「な
し」の時には、可変長符号化手段517には動きベクト
ル(in)を出力しない。Reference numeral 516 denotes a motion vector selection means, which is the above-described coding control / intra-frame / inter-frame determination means 513.
With and without motion compensation (out) output from
Select a motion vector. That is, with motion compensation /
When “out” is “present”, the motion vector (i)
n) is output to the variable length coding unit 517 as it is, and when "none", the motion vector (in) is not output to the variable length coding unit 517.
【0196】517は可変長符号化手段であり、量子化
された動き補償を伴う予測誤差直交変換データ,量子化
された動き補償を伴わない予測誤差直交変換データ,量
子化された直交変換係数を可変長符号化することによ
り、ハイブリッド符号化データに変換する。また、同時
に、フレーム内/フレーム間(in)により、出力側端
末の復号化装置に対して設定されたフレーム内/フレー
ム間識別を設定し、動き補償あり/なし(out)、動
きベクトル(in)により、出力側端末の復号化装置に
対して動き補償あり/なし識別、動きベクトルを設定
し、量子化係数(in)により、出力側端末の復号化装
置に対して量子化係数を設定する。Reference numeral 517 denotes a variable-length encoding unit that converts the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficient. By performing variable length coding, the data is converted into hybrid coded data. At the same time, the intra-frame / inter-frame discrimination set for the decoding device of the output terminal is set based on the intra-frame / inter-frame (in), with / without motion compensation (out), and with the motion vector (in). ), A motion vector with / without motion compensation is set for the decoding device of the output terminal, and a motion vector is set, and a quantization coefficient is set for the decoding device of the output terminal by the quantization coefficient (in). .
【0197】518は出力であり、ここからフレームレ
ートの低い画像データが出力される。Reference numeral 518 denotes an output from which image data having a low frame rate is output.
【0198】以下、フレームレート変換処理の詳細につ
いて説明する。入力される画像データを0からi番目の
フレームまではフレームレート変換なしとし、(i+
1)から(i+n)番目のフレームまでを合成して、フ
レームレート変換を行い、(i+n+1)番目のフレー
ム以降のフレームは、フレームレート変換なしとして説
明する。Hereinafter, details of the frame rate conversion processing will be described. Assuming that the input image data has no frame rate conversion from 0 to the i-th frame, (i +
It is assumed that frames from (1) to the (i + n) -th frame are synthesized and subjected to frame rate conversion, and that frames subsequent to the (i + n + 1) -th frame have no frame rate conversion.
【0199】フレームレート変換しない0〜iフレーム
までは、可変長復号化手段502,逆量子化手段50
3,予測誤差直交変換データ加算手段504,直交変換
係数選択手段505,動き補償あり/なし(in)判断
手段507,動きベクトル・直交変換係数演算手段50
8を経由して画像メモリ506にS(i)として記憶さ
れる。また、初期画像取込選択手段509を経由し、画
像メモリ510にもS(i)として記憶される。また、
可変長復号化手段502により可変長復号化されたQ
(SEmv_nonmv(0))からQ(SEmv_n
onmv(i))は、フレームレート変換制御手段51
5により選択されて、可変長符号化手段517により可
変長符号化されて、V(Q(SEmv_nonmv
(0)))からV(Q(SEmv_nonmv
(i)))として出力される。The variable length decoding means 502 and the inverse quantization means 50
3, prediction error orthogonal transform data adding means 504, orthogonal transform coefficient selecting means 505, with / without motion compensation (in) determining means 507, motion vector / orthogonal transform coefficient calculating means 50
8 and stored in the image memory 506 as S (i). The image data is also stored as S (i) in the image memory 510 via the initial image capture selecting unit 509. Also,
The variable length decoded Q by the variable length decoding means 502
(SEmv_nonmv (0)) to Q (SEmv_n
onmv (i)) is the frame rate conversion control means 51
5 and is variable-length coded by the variable-length coding unit 517, and V (Q (SEmv_nonmv
(0))) to V (Q (SEmv_nonmv
(I)) is output as).
【0200】一方、フレームレート変換を行う(i+
1)フレームは、可変長復号化手段502により、可変
長復号化され、量子化された直交変換係数Q(S(i+
1))に変換される。On the other hand, frame rate conversion is performed (i +
1) The frame is subjected to variable-length decoding by the variable-length decoding unit 502 and the quantized orthogonal transform coefficient Q (S (i +
1)).
【0201】そして、Q(S(i+1))は逆量子化手
段503により、逆量子化され、S(i+1)に変換さ
れる。Then, Q (S (i + 1)) is inversely quantized by the inverse quantization means 503 and is converted into S (i + 1).
【0202】このS(i+1)は、直交変換係数選択手
段505にて、「フレーム内」と判断され、画像メモリ
506にS(i+1)として記憶される。This S (i + 1) is judged to be “within a frame” by the orthogonal transform coefficient selection means 505 and stored in the image memory 506 as S (i + 1).
【0203】(i+2)から(i+n)番目のフレーム
までについてはフレーム内の場合は上記(i+1)番目
のフレーム、動き補償を伴う場合、または動き補償を伴
わない場合は上記実施の形態3.と同様の処理を繰り返
すことで処理される。From the (i + 2) th frame to the (i + n) th frame, the (i + 1) th frame is within the frame, and the motion compensation is performed or the motion compensation is not performed. The processing is performed by repeating the same processing as described above.
【0204】そして、上記(i+n)フレームの処理が
終了した時点で、画像メモリ506には直交変換係数S
(i+n)が記憶されており、画像メモリ510には直
交変換係数S(i)が記憶されている。When the processing of the (i + n) frame is completed, the orthogonal transform coefficient S is stored in the image memory 506.
(I + n) are stored, and the image memory 510 stores the orthogonal transform coefficient S (i).
【0205】上記直交変換係数S(i+n)はフレーム
内/フレーム間(in)判断手段511で「フレーム
間」と判断され、直交変換係数減算手段512により、
S(i+n)−S(i)の処理が行われ、S(n)が算
出される。ここで、S(n)は、動き補償を伴わない予
測誤差直交変換データであり、(i+1)番目のフレー
ムのデータとすると、E(i+1)=S(n)とするこ
とができる。The orthogonal transform coefficient S (i + n) is determined to be “between frames” by the intra-frame / inter-frame (in) determining means 511, and the orthogonal transform coefficient subtracting means 512 determines
The processing of S (i + n) -S (i) is performed, and S (n) is calculated. Here, S (n) is prediction error orthogonal transform data without motion compensation, and assuming that data of the (i + 1) th frame is E (i + 1) = S (n).
【0206】上記動き補償を伴わない予測誤差直交変換
データE(i+1)は符号化制御・フレーム内/フレー
ム間判断手段513にて、フレーム内/フレーム間(i
n)を用いることにより、「フレーム間」と判断され、
選択される。フレームレート変換中は、動き補償あり/
なし(out)は「なし」に設定される。画像取込指示
は量子化手段514にE(i+1)が出力された後、出
力される。The prediction error orthogonal transform data E (i + 1) without the motion compensation is subjected to encoding control / intra-frame / inter-frame determination means 513 to generate the intra-frame / inter-frame (i
By using n), it is determined that “between frames”
Selected. With motion compensation during frame rate conversion /
None is set to "none". The image capture instruction is output after E (i + 1) is output to the quantization means 514.
【0207】E(i+1)は量子化手段514により、
量子化されて、量子化された動き補償を伴わない予測誤
差直交変換データQ(E(i+1))に変換される。E (i + 1) is calculated by the quantization means 514.
It is quantized and converted to quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation.
【0208】この量子化された動き補償を伴わない予測
誤差直交変換データQ(E(i+1))は可変長符号化
手段517により、可変長符号化され、V(Q(E(i
+1)))として出力される。The quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation is variable-length coded by variable-length coding means 517, and V (Q (E (i (i
+1))).
【0209】一方、フレームレート変換しない(i+n
+1)番目のフレームは、可変長復号化手段502,逆
量子化手段503,予測誤差直交変換データ加算手段5
04,直交変換係数選択手段505,動き補償あり/な
し(in)判断手段507,動きベクトル・直交変換係
数演算手段508を経由して画像メモリ506に直交変
換係数S(i+n+1)として記憶される。また、初期
画像取込選択手段509を経由して、画像メモリ510
にもS(i+n+1)として記憶される。また、可変長
復号化手段502により可変長復号化されて得られたQ
(SEmv_nonmv(i+n+1))は、フレーム
レート変換制御手段515により選択されて、Q(SE
mv_nonmv(i+2))となり、さらに可変長符
号化手段517により可変長符号化されて、V(Q(S
Emv_nonmv(i+2)))として出力される。
そして、(i+n+1)より後のフレームについても上
記(i+n+1)番目のフレームと同様の処理が行われ
る。On the other hand, no frame rate conversion is performed (i + n
The (+1) th frame includes a variable-length decoding unit 502, an inverse quantization unit 503, and a prediction error orthogonal transformation data addition unit 5
04, orthogonal transformation coefficient selection means 505, motion compensation presence / absence (in) judgment means 507, and motion vector / orthogonal transformation coefficient calculation means 508, and are stored in the image memory 506 as orthogonal transformation coefficients S (i + n + 1). Further, the image data is stored in the image memory 510 via the initial image capture selecting unit 509.
Is also stored as S (i + n + 1). Also, Q obtained by variable length decoding by the variable length decoding
(SEmv_nonmv (i + n + 1)) is selected by the frame rate conversion control unit 515, and Q (SE
mv_nonmv (i + 2)), and is further subjected to variable-length coding by the variable-length coding unit 517 to obtain V (Q (S
Emv_nonmv (i + 2))).
Then, the same processing as that of the (i + n + 1) -th frame is performed on the frame after (i + n + 1).
【0210】以上のように、本実施の形態によれば、ハ
イブリッド符号化された画像データの中の任意の開始フ
レーム、任意の合成フレーム枚数を制御することによ
り、動き補償を伴うフレーム間予測誤差に対して直交変
換を行うハイブリッド符号化されたデータと、動き補償
を伴わないフレーム間予測誤差に対して直交変換を行う
ハイブリッド符号化されたデータと、フレーム内符号化
されたデータの3種類のデータが含まれる場合において
も、該データのみを選択的にフレームレート変換を行う
ことができ、演算量が大幅に減少し、高速で負荷の少な
いフレームレート変換を行うことができる。As described above, according to the present embodiment, by controlling an arbitrary start frame and an arbitrary number of combined frames in hybrid-encoded image data, an inter-frame prediction error accompanied with motion compensation is controlled. , Hybrid-coded data that performs orthogonal transformation on inter-frame prediction errors without motion compensation, and intra-coded data. Even when data is included, it is possible to selectively perform frame rate conversion on only the data, greatly reduce the amount of calculation, and perform high-speed and low-load frame rate conversion.
【0211】実施の形態6.以下、本発明の請求項6に
対応する実施の形態6.に係るフレームレート変換方式
について、フレームレート変換方式の構成を図面を参照
しながら説明する。Embodiment 6 FIG. Hereinafter, a sixth embodiment corresponding to claim 6 of the present invention. With regard to the frame rate conversion method according to the above, the configuration of the frame rate conversion method will be described with reference to the drawings.
【0212】図7の構成図は上記請求項1におけるフレ
ームレート変換方式の構成を示すものである。FIG. 7 shows the structure of the frame rate conversion method according to the first embodiment.
【0213】図7において、621は端末であり、その
処理能力はc1とする。622は上記端末621の後段
に接続された通信回線であり、その伝送速度はb1とす
る。623は上記通信回線622の後段に接続されたフ
レームレート変換部であり、フレームレート変換情報が
端末625から入力され、通信回線622の伝送速度b
1と、通信回線624の伝送速度b2と端末625の処
理能力c2とをそれぞれ考慮したフレームレート変換を
行うように構成されている。624は通信回線であり、
その伝送速度はb2とする。また、625は端末であ
り、その処理能力はc2とする。In FIG. 7, reference numeral 621 denotes a terminal, and its processing capability is c1. Reference numeral 622 denotes a communication line connected downstream of the terminal 621, and its transmission speed is assumed to be b1. Reference numeral 623 denotes a frame rate conversion unit connected downstream of the communication line 622. The frame rate conversion information is input from the terminal 625, and the transmission rate b of the communication line 622.
1 and the frame rate conversion taking into account the transmission speed b2 of the communication line 624 and the processing capability c2 of the terminal 625, respectively. 624 is a communication line,
The transmission speed is b2. A terminal 625 has a processing capability of c2.
【0214】以下、フレームレートの高い画像データを
端末621側から入力し、通信回線の伝送速度が、b1
≧b2となる関係で、かつ、端末の処理能力が、c1=
c2の関係となるときのフレームレート変換方式につい
て図7を参照しながら説明する。Hereinafter, image data having a high frame rate is input from the terminal 621, and the transmission speed of the communication line is set to b1
≧ b2 and the processing capability of the terminal is c1 =
The frame rate conversion method when the relationship is c2 will be described with reference to FIG.
【0215】ここで、c1=c2であるので、端末同士
の処理能力は等しく、これに合わせたフレームレートの
変換は考慮する必要はない。よって、通信回線間の伝送
速度b1とb2の関係に着目することになる。Here, since c1 = c2, the processing capabilities of the terminals are equal, and it is not necessary to consider the conversion of the frame rate according to this. Therefore, attention is paid to the relationship between the transmission speeds b1 and b2 between the communication lines.
【0216】今、通信回線624の伝送速度b2は通信
回線622の伝送速度b1以下であるので、フレームレ
ート変換部623では通信回線624の伝送速度b2で
伝送可能なフレームレートに変換すればよいことにな
る。よって、端末621側から入力されたフレームレー
トの高いハイブリッド符号化された画像データは、伝送
速度b2の性能にあった、フレームレートの低いハイブ
リッド符号化された画像データにフレームレート変換さ
れて端末625側に出力される。端末625では、通信
回線624の伝送速度b2 と等しいフレームレートの画
像データが送られて、端末625の処理能力範囲で完全
に再生されて表示されることになる。Since the transmission speed b2 of the communication line 624 is equal to or lower than the transmission speed b1 of the communication line 622, the frame rate conversion unit 623 only needs to convert the data into a frame rate that can be transmitted at the transmission speed b2 of the communication line 624. become. Therefore, the hybrid-coded image data with a high frame rate input from the terminal 621 is subjected to frame rate conversion into hybrid-coded image data with a low frame rate, which has the performance of the transmission rate b2, and the terminal 625 Output to the side. At the terminal 625, image data having a frame rate equal to the transmission speed b2 of the communication line 624 is transmitted, and is completely reproduced and displayed within the processing capability range of the terminal 625.
【0217】次に、フレームレートの高い画像データを
端末621側から入力し、通信回線の伝送速度が、b1
≧b2となる関係で、かつ、端末の処理能力が、c1>
c2の関係となるときのフレームレート変換方式につい
て図7を参照しながら説明する。Next, image data having a high frame rate is input from the terminal 621, and the transmission speed of the communication line is changed to b1.
≧ b2 and the processing capability of the terminal is c1>
The frame rate conversion method when the relationship is c2 will be described with reference to FIG.
【0218】端末621,625の処理能力c1とc2
の関係に着目すると、端末621の処理能力c1よりも
端末625の処理能力c2が低いので、端末625の処
理能力c2で処理可能なフレームレートに変換すればよ
いことになる。また、通信回線622,624の伝送速
度b1とb2の関係に着目すると、通信回線624の伝
送速度b2は通信回線622の伝送速度b1以下である
ので、通信回線624の伝送速度b2で伝送可能なフレ
ームレートに変換すればよいことになる。Processing capacities c1 and c2 of terminals 621 and 625
Paying attention to the relationship, since the processing capability c2 of the terminal 625 is lower than the processing capability c1 of the terminal 621, the frame rate may be converted to a frame rate that can be processed by the processing capability c2 of the terminal 625. Focusing on the relationship between the transmission speeds b1 and b2 of the communication lines 622 and 624, since the transmission speed b2 of the communication line 624 is equal to or lower than the transmission speed b1 of the communication line 622, transmission is possible at the transmission speed b2 of the communication line 624. What is necessary is to convert it to a frame rate.
【0219】ここで、端末625の処理能力c2で処理
可能なフレーム数よりも、通信回線624の伝送速度b
2で伝送可能なフレーム数の方が多い場合、端末625
の処理能力c2で処理可能なフレーム数を超えるフレー
ムを伝送しても端末625ではデコードできないので、
通信回線の使用効率が悪くなることになる。これを回避
するために、端末621側から入力されたフレームレー
トの高いハイブリッド符号化された画像データは、端末
625の処理能力c2の性能にあった、フレームレート
の低いハイブリッド符号化された画像データにフレーム
レート変換されて端末625側に出力される。Here, the transmission speed b of the communication line 624 is larger than the number of frames that can be processed by the processing capability c2 of the terminal 625.
If the number of frames that can be transmitted by the terminal 2 is larger, the terminal 625
The terminal 625 cannot decode even if the number of frames that can be processed with the processing capability c2 of
The use efficiency of the communication line becomes worse. In order to avoid this, the hybrid-encoded image data having a high frame rate input from the terminal 621 side is a hybrid-encoded image data having a low frame rate which is in the performance of the processing capability c2 of the terminal 625. Is converted to a frame rate and output to the terminal 625 side.
【0220】また、端末625の処理能力c2で処理可
能なフレーム数よりも、通信回線624の伝送速度b2
で伝送可能なフレーム数の方が少ない場合、通信回線6
24の伝送速度b2で伝送可能なフレーム数しか伝送す
ることができないので、端末621側から入力されたフ
レームレートの高いハイブリッド符号化された画像デー
タは、通信回線624の伝送速度b2の性能にあった、
フレームレートの低いハイブリッド符号化された画像デ
ータにフレームレート変換されて端末625側に出力さ
れる。The transmission rate b2 of the communication line 624 is larger than the number of frames that can be processed by the processing capacity c2 of the terminal 625.
If the number of frames that can be transmitted by the
Since only the number of frames that can be transmitted at the transmission rate b2 of 24 can be transmitted, the hybrid-coded image data with a high frame rate input from the terminal 621 does not meet the performance of the transmission rate b2 of the communication line 624. Was
The frame rate is converted to hybrid-coded image data having a low frame rate and output to the terminal 625 side.
【0221】また、さらに、端末625の処理能力c2
で処理可能なフレーム数と通信回線624の伝送速度b
2で伝送可能なフレーム数が等しい場合、端末621側
から入力されたフレームレートの高いハイブリッド符号
化された画像データは、通信回線624の伝送速度b
2、もしくは端末625の処理能力c2の性能にあっ
た、フレームレートの低いハイブリッド符号化された画
像データにフレームレート変換されて端末625側に出
力される。Furthermore, the processing capability c2 of the terminal 625
Number of frames that can be processed by the system and the transmission speed b of the communication line 624
2 and the number of frames that can be transmitted is equal, the hybrid-coded image data with a high frame rate input from the terminal 621 side is transmitted at the transmission speed b of the communication line 624.
2, or is subjected to frame rate conversion to hybrid-encoded image data having a low frame rate that matches the performance of the processing capability c2 of the terminal 625, and is output to the terminal 625 side.
【0222】次に、フレームレートの高い画像データ
を、端末621側から入力し、通信回線の伝送速度がb
1<b2となる関係で、かつ、端末の処理能力が、c1
>c2の関係となるときのフレームレート変換方式につ
いて図7を参照しながら説明する。Next, image data having a high frame rate is input from the terminal 621, and the transmission speed of the communication line is set to b.
1 <b2 and the processing capability of the terminal is c1
The frame rate conversion method when the relationship of> c2 is satisfied will be described with reference to FIG.
【0223】端末621,625の処理能力c1とc2
の関係に着目すると、端末621の処理能力c1よりも
端末625の処理能力c2が低いので、端末625の処
理能力c2で処理可能なフレームレートに変換すればよ
いことになる。また、通信回線622,624の伝送速
度b1とb2の関係に着目すると、通信回線622の伝
送速度b1は通信回線624の伝送速度b2より遅いの
で、通信回線622の伝送速度b1で伝送可能なフレー
ムレートに変換すればよいことになる。Processing capabilities c1 and c2 of terminals 621 and 625
Paying attention to the relationship, since the processing capability c2 of the terminal 625 is lower than the processing capability c1 of the terminal 621, the frame rate may be converted to a frame rate that can be processed by the processing capability c2 of the terminal 625. Focusing on the relationship between the transmission speeds b1 and b2 of the communication lines 622 and 624, since the transmission speed b1 of the communication line 622 is lower than the transmission speed b2 of the communication line 624, a frame that can be transmitted at the transmission speed b1 of the communication line 622 is used. It just has to be converted to a rate.
【0224】ここで、端末625の処理能力c2で処理
可能なフレーム数よりも、通信回線622の伝送速度b
1で伝送可能なフレーム数の方が多い場合、端末625
の処理能力c2で処理可能なフレーム数を超えるフレー
ムを伝送しても端末625ではデコードできないので、
通信回線の使用効率が悪くなることになる。これを回避
するために、端末621側から入力されたフレームレー
トの高いハイブリッド符号化された画像データは、端末
625の処理能力c2の性能にあった、フレームレート
の低いハイブリッド符号化された画像データにフレーム
レート変換されて端末625側に出力される。Here, the transmission rate b of the communication line 622 is larger than the number of frames that can be processed by the processing capacity c2 of the terminal 625.
If the number of frames that can be transmitted by 1 is larger, the terminal 625
The terminal 625 cannot decode even if the number of frames that can be processed with the processing capability c2 of
The use efficiency of the communication line becomes worse. In order to avoid this, the hybrid-encoded image data having a high frame rate input from the terminal 621 side is a hybrid-encoded image data having a low frame rate which is in the performance of the processing capability c2 of the terminal 625. Is converted to a frame rate and output to the terminal 625 side.
【0225】また、端末625の処理能力c2で処理可
能なフレーム数よりも、通信回線622の伝送速度b1
で伝送可能なフレーム数の方が少ない場合、通信回線6
22の伝送速度b1で伝送可能なフレーム数しか伝送す
ることができないので、端末621側から入力されたフ
レームレートの高いハイブリッド符号化された画像デー
タは、通信回線622の伝送速度b1の性能にあった、
フレームレートの低いハイブリッド符号化された画像デ
ータにフレームレート変換されて端末625側に出力さ
れる。The transmission rate b1 of the communication line 622 is larger than the number of frames that can be processed by the processing capacity c2 of the terminal 625.
If the number of frames that can be transmitted by the
Since only the number of frames that can be transmitted at the transmission speed b1 of 22 can be transmitted, the hybrid-coded image data with a high frame rate input from the terminal 621 does not meet the performance of the transmission speed b1 of the communication line 622. Was
The frame rate is converted to hybrid-coded image data having a low frame rate and output to the terminal 625 side.
【0226】また、さらに、端末625の処理能力c2
で処理可能なフレーム数と通信回線622の伝送速度b
1で伝送可能なフレーム数が等しい場合、端末621側
から入力されたフレームレートの高いハイブリッド符号
化された画像データは、通信回線622の伝送速度b
1、もしくは端末625の処理能力c2の性能にあっ
た、フレームレートの低いハイブリッド符号化された画
像データにフレームレート変換されて端末625側に出
力される。Furthermore, the processing capability c2 of the terminal 625
Number of frames that can be processed by the transmission speed b of the communication line 622
1 and the number of transmittable frames is equal, the hybrid-coded image data with a high frame rate input from the terminal 621 side is transmitted at the transmission speed b of the communication line 622.
1 or the image data subjected to the hybrid encoding with a low frame rate, which has the performance of the processing capability c2 of the terminal 625, is converted to the frame rate and output to the terminal 625 side.
【0227】次に、フレームレートの高い画像データを
端末621側から入力し、通信回線の伝送速度がb1>
b2となる関係で、かつ、端末の処理能力が、c1<c
2の関係となるときのフレームレート変換方式について
図7を参照しながら説明する。Next, image data having a high frame rate is input from the terminal 621, and the transmission speed of the communication line is b1>
b2 and the processing capability of the terminal is c1 <c
The frame rate conversion method in the case of the relationship 2 will be described with reference to FIG.
【0228】端末621,625の処理能力c1とc2
の関係に着目すると、端末625の処理能力c2よりも
端末621の処理能力c1が低いので、端末621の処
理能力c1で処理可能なフレームレートをそのまま使用
すればよいことになる。また、通信回線622,624
の伝送速度b1とb2の関係に着目すると、通信回線6
24の伝送速度b2は通信回線622の伝送速度b1よ
りも遅いので、通信回線624の伝送速度b2で伝送可
能なフレームレートに変換すればよいことになる。The processing capacities c1 and c2 of the terminals 621 and 625
Paying attention to the relationship, since the processing capability c1 of the terminal 621 is lower than the processing capability c2 of the terminal 625, the frame rate that can be processed by the processing capability c1 of the terminal 621 may be used as it is. In addition, communication lines 622 and 624
Focusing on the relationship between the transmission speeds b1 and b2 of the communication line 6,
Since the transmission speed b2 of the communication line 624 is lower than the transmission speed b1 of the communication line 622, the frame rate can be converted to a frame rate that can be transmitted at the transmission speed b2 of the communication line 624.
【0229】ここで、端末621の処理能力c1で処理
可能なフレーム数よりも、通信回線624の伝送速度b
2で伝送可能なフレーム数の方が多い場合、端末621
の処理能力c1で処理可能なフレーム数を超えるフレー
ムは通信回線624の伝送速度b2を利用しても伝送で
きない。よって、端末621側から入力されたハイブリ
ッド符号化された画像データは、フレームレート変換さ
れずに、そのまま端末625側に出力される。Here, the transmission speed b of the communication line 624 is larger than the number of frames that can be processed by the processing capability c1 of the terminal 621.
When the number of frames that can be transmitted by the terminal 2 is larger, the terminal 621
A frame exceeding the number of frames that can be processed by the processing capability c1 cannot be transmitted even if the transmission speed b2 of the communication line 624 is used. Therefore, the hybrid-coded image data input from the terminal 621 is directly output to the terminal 625 without being subjected to frame rate conversion.
【0230】また、端末621の処理能力c1で処理可
能なフレーム数よりも、通信回線624の伝送速度b2
で伝送可能なフレーム数の方が少ない場合、通信回線6
24の伝送速度b2で伝送可能なフレーム数しか伝送す
ることができないので、端末621側から入力されたフ
レームレートの高いハイブリッド符号化された画像デー
タは、通信回線624の伝送速度b2の性能にあった、
フレームレートの低いハイブリッド符号化された画像デ
ータにフレームレート変換されて端末625側に出力さ
れる。The transmission rate b2 of the communication line 624 is larger than the number of frames that can be processed by the processing capacity c1 of the terminal 621.
If the number of frames that can be transmitted by the
Since only the number of frames that can be transmitted at the transmission rate b2 of 24 can be transmitted, the hybrid-coded image data with a high frame rate input from the terminal 621 does not meet the performance of the transmission rate b2 of the communication line 624. Was
The frame rate is converted to hybrid-coded image data having a low frame rate and output to the terminal 625 side.
【0231】また、さらに、端末621の処理能力c1
で処理可能なフレーム数と通信回線624の伝送速度b
2で伝送可能なフレーム数とが等しい場合、端末621
側から入力されたハイブリッド符号化された画像データ
は、フレームレート変換されずに、そのまま端末625
側に出力される。Furthermore, the processing capability c1 of the terminal 621
Number of frames that can be processed by the system and the transmission speed b of the communication line 624
2 and the number of frames that can be transmitted is equal, the terminal 621
The hybrid-coded image data input from the terminal 625 is not subjected to frame rate conversion and is
Output to the side.
【0232】図8は図7に示したフレームレート変換部
の詳細な構成を示す図であり、上記実施の形態2から実
施の形態5において、入力されたフレームレートの高い
画像データで(i+1)から(i+n)番目のフレーム
までが、動き補償を伴うフレーム間予測誤差に対して直
交変換を行うハイブリッド符号化されたデータである場
合の(i+n)番目のフレームの処理時のフレームレー
ト変換方式を示すものである。FIG. 8 is a diagram showing a detailed configuration of the frame rate conversion section shown in FIG. 7. In the second to fifth embodiments, (i + 1) The frame rate conversion method at the time of processing the (i + n) -th frame when the data from (i + n) to the (i + n) -th frame is hybrid-coded data that performs orthogonal transformation on an inter-frame prediction error accompanied by motion compensation. It is shown.
【0233】図8において、601は入力であり、フレ
ームレートの高い画像データが入力される。In FIG. 8, reference numeral 601 denotes an input to which image data having a high frame rate is input.
【0234】602は可変長復号化手段であり、ハイブ
リッド符号化データを可変長復号化することにより、量
子化された動き補償を伴う予測誤差直交変換データ,量
子化された動き補償を伴わない予測誤差直交変換デー
タ,量子化された直交変換係数に変換する。また、同時
に、入力側端末の符号化装置で設定されたフレーム内/
フレーム間識別を検出して、フレーム内/フレーム間
(in)を設定し、また、入力側端末の符号化装置で設
定された動き補償あり/なし識別を検出して、動き補償
あり/なし(in)を設定し、また、入力側端末の符号
化装置で設定された量子化係数を検出して、量子化係数
(in)を設定し、さらに、入力側端末の符号化装置で
設定された動きベクトルを検出して、動きベクトル(i
n)を設定する。Reference numeral 602 denotes a variable-length decoding unit which performs variable-length decoding of the hybrid coded data to obtain quantized prediction error orthogonal transform data with motion compensation and quantized prediction without motion compensation. The error orthogonal transform data is converted into quantized orthogonal transform coefficients. At the same time, within the frame set by the coding device of the input side terminal /
Detecting inter-frame discrimination, setting intra-frame / inter-frame (in), detecting motion-compensated / non-compensated discrimination set by the coding device of the input terminal, and performing / without motion compensation ( in), and also detects the quantization coefficient set by the encoding device of the input terminal, sets the quantization coefficient (in), and further sets the quantization coefficient (in) by the encoding device of the input terminal. The motion vector is detected and the motion vector (i
Set n).
【0235】603は逆量子化手段であり、上記設定さ
れた量子化係数(in)により、量子化された動き補償
を伴う予測誤差直交変換データ,量子化された動き補償
を伴わない予測誤差直交変換データ,量子化された直交
変換係数を、動き補償を伴う予測誤差直交変換データ,
動き補償を伴わない予測誤差直交変換データ,直交変換
係数に変換する。Numeral 603 denotes an inverse quantization means, which uses the set quantization coefficient (in) to quantize the prediction error orthogonal transform data with motion compensation and the quantized prediction error orthogonal transform data without motion compensation. Transform data, the quantized orthogonal transform coefficients are transformed into prediction error orthogonal transform data with motion compensation,
Prediction error orthogonal transformation data without motion compensation is transformed into orthogonal transformation coefficients.
【0236】604は予測誤差直交変換データ加算手段
であり、動きベクトル・直交変換係数演算手段608に
て動きベクトルを考慮して演算された直交変換係数、ま
たは画像メモリ606に記憶されている直交変換係数
と、動き補償を伴う予測誤差直交変換データ、または動
き補償を伴わない予測誤差直交変換データを加算する。Numeral 604 denotes a prediction error orthogonal transform data adding means. The orthogonal transform coefficient calculated by the motion vector / orthogonal transform coefficient calculating means 608 in consideration of the motion vector or the orthogonal transform coefficient stored in the image memory 606. The coefficient and the prediction error orthogonal transform data with motion compensation or the prediction error orthogonal transform data without motion compensation are added.
【0237】605は直交変換係数選択手段であり、上
記設定されたフレーム内/フレーム間(in)により制
御される。すなわち、上記フレーム内/フレーム間(i
n)が「フレーム内」の時は、逆量子化手段603によ
り逆量子化された直交変換係数が選択され、上記フレー
ム内/フレーム間(in)が「フレーム間」の時は、予
測誤差直交変換データ加算手段604により算出された
直交変換係数が選択され出力される。Reference numeral 605 denotes an orthogonal transform coefficient selection means, which is controlled by the set intra-frame / inter-frame (in). That is, within the frame / between frames (i
When n) is “intra-frame”, the orthogonal transform coefficient inversely quantized by the inverse quantization means 603 is selected, and when the intra-frame / inter-frame (in) is “inter-frame”, the prediction error orthogonal The orthogonal transform coefficients calculated by the transform data adding means 604 are selected and output.
【0238】606は画像メモリであり、上記直交変換
係数選択手段605により選択された直交変換係数を記
憶するためのものである。An image memory 606 stores the orthogonal transform coefficients selected by the orthogonal transform coefficient selecting means 605.
【0239】607は動き補償あり/なし(in)判断
手段であり、動き補償が「あり」の時は画像メモリ60
6に記憶されている直交変換係数を動きベクトル・直交
変換係数演算手段608に出力する。動き補償が「な
し」の時は画像メモリ606に記憶されている直交変換
係数を予測誤差直交変換データ加算手段604に出力す
る。Reference numeral 607 denotes a means for judging whether or not there is motion compensation (in).
6 is output to the motion vector / orthogonal transform coefficient calculating means 608. When the motion compensation is “none”, the orthogonal transform coefficient stored in the image memory 606 is output to the prediction error orthogonal transform data adding means 604.
【0240】608は動きベクトル・直交変換係数演算
手段であり、動きベクトル(in)を用いて、動き補償
あり/なし(in)判断手段607にて「あり」と判断
されたときの画像メモリ606に記憶されていた直交変
換係数を、マトリクス演算することにより、動きベクト
ルを考慮して演算された直交変換係数を算出する。マト
リクス演算については後述の方法を用いることとする。Numeral 608 denotes a motion vector / orthogonal transform coefficient calculating means, which uses the motion vector (in) to determine the presence / absence (in) of the motion compensation. By performing a matrix operation on the orthogonal transform coefficients stored in the matrix, the orthogonal transform coefficients calculated in consideration of the motion vector are calculated. For the matrix operation, a method described later is used.
【0241】609は初期画像取込選択手段であり、後
述する符号化制御・フレーム内/フレーム間判断手段6
13により設定された画像取込指示により、画像メモリ
606に記憶されている直交変換係数を取り込み、後述
する画像メモリ610に直交変換係数を出力する。Reference numeral 609 denotes an initial image capturing / selecting means, which is a coding control / intra-frame / inter-frame determining means 6 described later.
In response to an image capture instruction set by 13, the orthogonal transform coefficients stored in the image memory 606 are fetched, and the orthogonal transform coefficients are output to an image memory 610 described later.
【0242】610は画像メモリであり、初期画像取込
選択手段609により選択された直交変換係数を記憶す
るためのものである。Reference numeral 610 denotes an image memory for storing the orthogonal transform coefficients selected by the initial image capture selecting means 609.
【0243】611はフレーム内/フレーム間(in)
判断手段であり、「フレーム内」の時は、画像メモリ6
06の直交変換係数を後段の符号化制御・フレーム内/
フレーム間判断手段613へ出力し、「フレーム間」の
時は、画像メモリ606の直交変換係数を後述する直交
変換係数減算手段612へ出力する。Reference numeral 611 denotes an intra-frame / inter-frame (in).
It is a judgment means.
06 orthogonal transformation coefficient is set at the subsequent stage of encoding control / in-frame /
It outputs to the inter-frame determination means 613, and in the case of “inter-frame”, outputs the orthogonal transform coefficient of the image memory 606 to the orthogonal transform coefficient subtraction means 612 described later.
【0244】612は直交変換係数減算手段であり、フ
レーム内/フレーム間(in)判断手段611で、「フ
レーム間」と判断された画像メモリ606に記憶されて
いた直交変換係数から画像メモリ610の直交変換係数
を減算する。Numeral 612 denotes an orthogonal transform coefficient subtracting means. The intra-frame / inter-frame (in) judging means 611 uses the orthogonal transform coefficient stored in the image memory 606 determined as “inter-frame” to store the image memory 610. Subtract the orthogonal transform coefficients.
【0245】613は符号化制御・フレーム内/フレー
ム間判断手段であり、フレームレート変換が行われてい
ない時には、動き補償あり/なし(in)をそのまま動
き補償あり/なし(out)として出力し、フレームレ
ート変換が行われている時には、動き補償あり/なし
(out)は「なし」に設定して出力する。また、フレ
ームレート変換を行う1つ前のフレームを画像メモリ6
10に記憶させるために、画像取込指示を出力する。ま
た、フレーム内/フレーム間(in)を用いて、フレー
ム内/フレーム間(in)判断手段611からの直交変
換係数と、直交変換係数減算手段612からの動き補償
を伴わない予測誤差直交変換データとの選択を行い、後
述する量子化手段614へ出力する。また、量子化係数
(in)を再設定し、量子化係数(out)として後述
する量子化手段614へ出力する。Reference numeral 613 denotes encoding control / intra-frame / inter-frame judging means. When frame rate conversion is not performed, motion compensation with / without (in) is output as motion compensation with / without (out) as it is. When frame rate conversion is being performed, motion compensation with / without (out) is set to “none” and output. Further, the frame immediately before the frame rate conversion is stored in the image memory 6.
10 to output an image capture instruction. Also, using the intra-frame / inter-frame (in), the orthogonal transform coefficient from the intra-frame / inter-frame (in) determining means 611 and the prediction error orthogonal transform data without motion compensation from the orthogonal transform coefficient subtracting means 612 are used. And outputs the result to a quantization unit 614 described later. Also, the quantization coefficient (in) is reset and output to the quantization means 614 described later as the quantization coefficient (out).
【0246】614は量子化手段であり、上記出力され
た量子化係数(out)により、動き補償を伴わない予
測誤差直交変換データ,直交変換係数を、量子化された
動き補償を伴わない予測誤差直交変換データ,量子化さ
れた直交変換係数にそれぞれ変換する。Numeral 614 denotes a quantizing means for converting the orthogonal transform data and the orthogonal transform coefficient without motion compensation by the output quantized coefficient (out) into the quantized prediction error without motion compensation. The orthogonal transform data and the quantized orthogonal transform coefficient are respectively converted.
【0247】615はフレームレート変換制御手段であ
り、フレームレート変換情報より、フレームレート変換
の継続/終了を判断する。そしてフレームレート変換終
了後、可変長符号化手段617に、量子化された動き補
償を伴わない予測誤差直交変換データ,量子化された直
交変換係数を出力し、フレームレート変換が行われない
時は、可変長復号化手段602からの量子化された動き
補償を伴う予測誤差直交変換データ,量子化された動き
補償を伴わない予測誤差直交変換データ,量子化された
直交変換係数をそのまま出力する。Reference numeral 615 denotes frame rate conversion control means, which determines the continuation / end of the frame rate conversion based on the frame rate conversion information. Then, after the frame rate conversion is completed, quantized prediction error orthogonal transform data without motion compensation and quantized orthogonal transform coefficients are output to the variable-length coding unit 617, and when frame rate conversion is not performed, , The quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficients from the variable length decoding means 602 are output as they are.
【0248】616は動きベクトル選択手段であり、上
記符号化制御・フレーム内/フレーム間判断手段613
から出力された動き補償あり/なし(out)により動
きベクトルの選択を行う。すなわち、動き補償あり/な
し(out)が「あり」の時は、動きベクトル(in)
を後述する可変長符号化手段617にそのまま出力し、
「なし」の時には可変長符号化手段617には動きベク
トル(in)を出力しない。Reference numeral 616 denotes a motion vector selection means, which is the above-described coding control / intra-frame / inter-frame determination means 613.
A motion vector is selected based on the presence / absence (out) of the motion compensation output from. That is, when “with / without motion compensation” (out) is “present”, the motion vector (in)
Is output as it is to the variable length encoding means 617 described later,
When “none”, the motion vector (in) is not output to the variable length coding unit 617.
【0249】617は可変長符号化手段であり、量子化
された動き補償を伴う予測誤差直交変換データ,量子化
された動き補償を伴わない予測誤差直交変換データ,量
子化された直交変換係数を可変長符号化することによ
り、ハイブリッド符号化データに変換する。また、同時
に、フレーム内/フレーム間(in)により、出力側端
末の復号化装置に対して設定されたフレーム内/フレー
ム間識別を設定し、動き補償あり/なし(out),動
きベクトル(in)により、出力側端末の復号化装置に
対して動き補償あり/なし識別,動きベクトルを設定
し、量子化係数(in)により、出力側端末の復号化装
置に対して量子化係数を設定する。Reference numeral 617 denotes a variable-length encoding means for transforming prediction error orthogonal transform data with quantized motion compensation, prediction error orthogonal transform data without quantized motion compensation, and quantized orthogonal transform coefficients. By performing variable length coding, the data is converted into hybrid coded data. At the same time, the intra-frame / inter-frame discrimination set for the decoding device of the output terminal is set according to the intra-frame / inter-frame (in), and the motion compensation (with / without (out)) and the motion vector (in) are performed. ), A motion vector with / without motion compensation is set for the decoding device of the output terminal, and a quantization coefficient is set for the decoding device of the output terminal by the quantization coefficient (in). .
【0250】618は出力であり、ここからフレームレ
ートの低い画像データが出力される。Reference numeral 618 denotes an output from which image data having a low frame rate is output.
【0251】以下、フレームレート変換処理の詳細につ
いて説明する。入力される画像データを、0からi番目
のフレームまではフレームレート変換なしとし、(i+
1)から(i+n)番目のフレームまでを合成して、フ
レームレート変換を行い、(i+n+1)番目のフレー
ム以降のフレームは、フレームレート変換なしとして説
明する。Hereinafter, details of the frame rate conversion processing will be described. Assuming that the input image data has no frame rate conversion from the 0th to the i-th frame, (i +
It is assumed that frames from (1) to the (i + n) -th frame are synthesized and subjected to frame rate conversion, and that frames subsequent to the (i + n + 1) -th frame have no frame rate conversion.
【0252】フレームレート変換しない0〜iフレーム
までは、可変長復号化手段602,逆量子化手段60
3,予測誤差直交変換データ加算手段604,直交変換
係数選択手段605,動き補償あり/なし(in)判断
手段607,動きベクトル・直交変換係数演算手段60
8を経由して画像メモリ606にS(i)として記憶さ
れる。また、初期画像取込選択手段609を経由し、画
像メモリ610にもS(i)として記憶される。また、
可変長復号化手段602により可変長復号化されたQ
(Emv(0))からQ(Emv(i))は、フレーム
レート変換制御手段615により選択されて、可変長符
号化手段617により可変長符号化されて、V(Q(E
mv(0)))からV(Q(Emv(i)))として出
力される。Variable frame decoding means 602, inverse quantization means 60
3, prediction error orthogonal transform data adding means 604, orthogonal transform coefficient selecting means 605, motion compensation presence / absence (in) determining means 607, motion vector / orthogonal transform coefficient calculating means 60
8 and stored in the image memory 606 as S (i). Further, the data is also stored as S (i) in the image memory 610 via the initial image capture selecting unit 609. Also,
The variable length decoded Q by the variable length decoding means 602
(Emv (0)) to Q (Emv (i)) are selected by the frame rate conversion control means 615, are variable-length coded by the variable-length coding means 617, and V (Q (E (E)
mv (0))) to V (Q (Emv (i))).
【0253】一方、フレームレート変換を行う(i+
1)フレームは、可変長復号化手段602により、可変
長復号化され、量子化された動き補償を伴う予測誤差直
交変換データQ(Emv(i+1))に変換される。On the other hand, frame rate conversion is performed (i +
1) The frame is variable-length decoded by the variable-length decoding unit 602, and is converted into quantized prediction error orthogonal transform data Q (Emv (i + 1)) with motion compensation.
【0254】そして、Q(Emv(i+1))は逆量子
化手段603により、逆量子化され、動き補償を伴う予
測誤差直交変換データEmv(i+1)に変換される。Then, Q (Emv (i + 1)) is inversely quantized by the inverse quantization means 603, and is transformed into prediction error orthogonal transform data Emv (i + 1) with motion compensation.
【0255】このEmv(i+1)は、予測誤差直交変
換データ加算手段604により、動き補償あり/なし
(in)判断手段607で「あり」と判断される画像メ
モリ606に記憶されているS(i)を、動きベクトル
・直交変換係数演算手段608で処理したS’(i)と
加算され、直交変換係数選択手段605にて「フレーム
間」と判断され、画像メモリ606にS(i+1)とし
て記憶される。This Emv (i + 1) is stored in the image memory 606 which is judged as “present” by the motion compensation presence / absence (in) decision means 607 by the prediction error orthogonal transform data adding means 604. ) Is added to S ′ (i) processed by the motion vector / orthogonal transform coefficient calculating means 608, determined to be “between frames” by the orthogonal transform coefficient selecting means 605, and stored as S (i + 1) in the image memory 606. Is done.
【0256】(i+2)から(i+n)番目のフレーム
までについても、上記(i+1)番目のフレームと同様
の処理を繰り返すことで処理される。The (i + 2) to (i + n) th frames are processed by repeating the same processing as the (i + 1) th frame.
【0257】そして、上記(i+n)フレームの処理が
終了した時点で、画像メモリ606には、直交変換係数
S(i+n)が記憶されており、画像メモリ610には
直交変換係数S(i)が記憶されている。When the processing of the (i + n) frame is completed, the orthogonal transform coefficient S (i + n) is stored in the image memory 606, and the orthogonal transform coefficient S (i) is stored in the image memory 610. It is remembered.
【0258】上記直交変換係数S(i+n)は、フレー
ム内/フレーム間(in)判断手段611で、「フレー
ム間」と判断され、直交変換係数減算手段612によ
り、S(i+n)−S(i)の処理が行われ、S(n)
が算出される。ここで、S(n)は、動き補償を伴わな
い予測誤差直交変換データであり、(i+1)番目のフ
レームのデータとすると、E(i+1)=S(n)とす
ることができる。The orthogonal transform coefficient S (i + n) is determined as “between frames” by the intra-frame / inter-frame (in) determining means 611, and the orthogonal transform coefficient subtracting means 612 determines S (i + n) −S (i). ) Is performed, and S (n)
Is calculated. Here, S (n) is prediction error orthogonal transform data without motion compensation, and assuming that data of the (i + 1) th frame is E (i + 1) = S (n).
【0259】上記動き補償を伴わない予測誤差直交変換
データE(i+1)は符号化制御・フレーム内/フレー
ム間判断手段613にて、フレーム内/フレーム間(i
n)を用いることにより、「フレーム間」と判断され、
選択される。フレームレート変換中は、動き補償あり/
なし(out)は「なし」に設定される。画像取込指示
は量子化手段614にE(i+1)が出力された後、出
力される。The prediction error orthogonal transform data E (i + 1) without the motion compensation is subjected to encoding control / intra-frame / inter-frame determination means 613 to determine the intra-frame / inter-frame (i
By using n), it is determined that “between frames”
Selected. With motion compensation during frame rate conversion /
None is set to "none". The image capture instruction is output after E (i + 1) is output to the quantization means 614.
【0260】E(i+1)は量子化手段614により量
子化されて、量子化された動き補償を伴わない予測誤差
直交変換データQ(E(i+1))に変換される。E (i + 1) is quantized by the quantization means 614, and is transformed into quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation.
【0261】この量子化された動き補償を伴わない予測
誤差直交変換データQ(E(i+1))は可変長符号化
手段617により、可変長符号化され、量子化され可変
長符号化された動き補償を伴わない予測誤差直交変換デ
ータV(Q(E(i+1)))として出力される。The quantized prediction error orthogonal transform data Q (E (i + 1)) without motion compensation is subjected to variable length coding by the variable length coding means 617, and the quantized and variable length coded motion It is output as prediction error orthogonal transform data V (Q (E (i + 1))) without compensation.
【0262】一方、フレームレート変換しない(i+n
+1)番目のフレームは、可変長復号化手段602,逆
量子化手段603,予測誤差直交変換データ加算手段6
04,直交変換係数選択手段605,動き補償あり/な
し(in)判断手段607,動きベクトル・直交変換係
数演算手段608を経由して、画像メモリ606に、直
交変換係数S(i+n+1)として記憶される。また、
初期画像取込選択手段609を経由して、画像メモリ6
10にもS(i+n+1)として記憶される。また、可
変長復号化手段602により可変長復号化されて得られ
たQ(Emv(i+n+1))は、フレームレート変換
制御手段615により選択されて、Q(Emv(i+
2))となり、さらに可変長符号化手段617により可
変長符号化されて、V(Q(Emv(i+2)))とし
て出力される。そして、(i+n+1)より後のフレー
ムについても上記(i+n+1)番目のフレームと同様
の処理が行われる。On the other hand, no frame rate conversion is performed (i + n
The (+1) th frame is a variable length decoding means 602, an inverse quantization means 603, a prediction error orthogonal transform data adding means 6
04, orthogonal transform coefficient selection means 605, motion compensation presence / absence (in) determination means 607, motion vector / orthogonal transform coefficient calculation means 608, and are stored in the image memory 606 as orthogonal transform coefficients S (i + n + 1). You. Also,
Via the initial image capture selection means 609, the image memory 6
10 is also stored as S (i + n + 1). Further, Q (Emv (i + n + 1)) obtained by performing variable length decoding by the variable length decoding unit 602 is selected by the frame rate conversion control unit 615, and Q (Emv (i +
2)), and further subjected to variable-length encoding by the variable-length encoding means 617, and output as V (Q (Emv (i + 2))). Then, the same processing as that of the (i + n + 1) -th frame is performed on the frame after (i + n + 1).
【0263】以上のように、本実施の形態によれば、フ
レームレート変換部623で、フレームレートの高いハ
イブリッド符号化された画像データを、フレームレート
の低いハイブリッド符号化された画像データに変換する
際に、通信回線の伝送速度と端末の処理能力を考慮し、
最も律速となる処理速度に合わせてフレームレートを変
換するようにしたから、通信回線の使用効率が悪化する
ことがなくなる。As described above, according to the present embodiment, frame-rate converting section 623 converts hybrid-coded image data with a high frame rate into hybrid-coded image data with a low frame rate. In considering the transmission speed of the communication line and the processing capacity of the terminal,
Since the frame rate is converted in accordance with the processing rate which is the most limiting, the use efficiency of the communication line does not deteriorate.
【0264】また、ハイブリッド符号化された画像デー
タの中の任意の開始フレーム、任意の合成フレーム枚数
を制御することにより、動き補償を伴うフレーム間予測
誤差に対して直交変換を行うハイブリッド符号化された
データに対して、該データのみを選択的にフレームレー
ト変換を行うことができ、演算量が大幅に減少し、高速
で負荷の少ないフレームレート変換を行うことができ
る。Also, by controlling an arbitrary start frame and an arbitrary number of combined frames in the hybrid-encoded image data, the hybrid encoding that performs orthogonal transformation on inter-frame prediction errors involving motion compensation is performed. The frame rate conversion can be selectively performed only on the data, and the amount of calculation can be significantly reduced, and the frame rate conversion can be performed at a high speed with a small load.
【0265】実施の形態7.以下、本発明の請求項7に
対応する実施の形態7.に係るフレームレート変換方式
を利用するフレームレート変換装置について、図面を参
照しながら説明する。Embodiment 7 FIG. Hereinafter, a seventh embodiment corresponding to claim 7 of the present invention. A frame rate conversion apparatus using the frame rate conversion method according to the first embodiment will be described with reference to the drawings.
【0266】図9は上記実施の形態1から6におけるフ
レームレート変換方式を利用したフレームレート変換装
置を示すものである。FIG. 9 shows a frame rate conversion apparatus using the frame rate conversion method in the first to sixth embodiments.
【0267】図9において、701は入力端子であり、
処理能力の高い端末からのフレームレートの高い画像デ
ータまたは、伝送速度の速い通信回線からのフレームレ
ートの高い画像データが入力される。In FIG. 9, reference numeral 701 denotes an input terminal.
High frame rate image data from a terminal having high processing capability or high frame rate image data from a communication line having a high transmission speed is input.
【0268】702は可変長復号化手段であり、ハイブ
リッド符号化データを可変長復号化することにより、量
子化された動き補償を伴う予測誤差直交変換データ,量
子化された動き補償を伴わない予測誤差直交変換デー
タ,量子化された直交変換係数に変換する。また、同時
に、入力側端末の符号化装置で設定されたフレーム内/
フレーム間識別を検出して、フレーム内/フレーム間
(in)を設定し、また、入力側端末の符号化装置で設
定された動き補償あり/なし識別を検出して、動き補償
あり/なし(in)を設定し、また、入力側端末の符号
化装置で設定された量子化係数を検出して、量子化係数
(in)を設定し、さらに、入力側端末の符号化装置で
設定された動きベクトルを検出して、動きベクトル(i
n)を設定する。Reference numeral 702 denotes a variable-length decoding unit which performs variable-length decoding of the hybrid coded data, thereby obtaining quantized prediction error orthogonal transformation data with motion compensation, and quantized prediction without motion compensation. The error orthogonal transform data is converted into quantized orthogonal transform coefficients. At the same time, within the frame set by the coding device of the input side terminal /
Detecting inter-frame discrimination, setting intra-frame / inter-frame (in), detecting motion-compensated / non-compensated discrimination set by the coding device of the input terminal, and performing / without motion compensation ( in), and also detects the quantization coefficient set by the encoding device of the input terminal, sets the quantization coefficient (in), and further sets the quantization coefficient (in) by the encoding device of the input terminal. The motion vector is detected and the motion vector (i
Set n).
【0269】703は逆量子化手段であり、上記設定さ
れた量子化係数(in)により、量子化された動き補償
を伴う予測誤差直交変換データ,量子化された動き補償
を伴わない予測誤差直交変換データ,量子化された直交
変換係数を、動き補償を伴う予測誤差直交変換データ,
動き補償を伴わない予測誤差直交変換データ,直交変換
係数にそれぞれ変換する。Numeral 703 denotes an inverse quantization means, which uses the set quantization coefficient (in) to quantize the prediction error orthogonal transform data with motion compensation and the quantized prediction error orthogonal transform data without motion compensation. Transform data, the quantized orthogonal transform coefficients are transformed into prediction error orthogonal transform data with motion compensation,
The data is converted into prediction error orthogonal transform data without motion compensation and orthogonal transform coefficients.
【0270】704は予測誤差直交変換データ加算手段
であり、動きベクトル・直交変換係数演算手段708に
て動きベクトルを考慮して演算された直交変換係数、ま
たは画像メモリ706に記憶されている直交変換係数
と、動き補償を伴う予測誤差直交変換データ、または動
き補償を伴わない予測誤差直交変換データとを加算す
る。Numeral 704 denotes a prediction error orthogonal transform data adding means. The orthogonal transform coefficient calculated in consideration of the motion vector by the motion vector / orthogonal transform coefficient calculating means 708, or the orthogonal transform coefficient stored in the image memory 706. The coefficient and prediction error orthogonal transform data with motion compensation or prediction error orthogonal transform data without motion compensation are added.
【0271】705は直交変換係数選択手段であり、上
記設定されたフレーム内/フレーム間(in)により制
御される。すなわち、上記フレーム内/フレーム間(i
n)が「フレーム内」の時は、逆量子化手段703によ
り逆量子化された直交変換係数が選択され、上記フレー
ム内/フレーム間(in)が「フレーム間」の時は、予
測誤差直交変換データ加算手段704により算出された
直交変換係数が選択され出力される。Reference numeral 705 denotes an orthogonal transform coefficient selecting means, which is controlled by the set intra-frame / inter-frame (in). That is, within the frame / between frames (i
When n) is “intra-frame”, the orthogonal transform coefficient inversely quantized by the inverse quantization means 703 is selected. When the intra-frame / inter-frame (in) is “inter-frame”, the prediction error orthogonal The orthogonal transform coefficients calculated by the transform data adding means 704 are selected and output.
【0272】706は画像メモリであり、上記直交変換
係数選択手段705により選択された直交変換係数を記
憶するためのものである。Reference numeral 706 denotes an image memory for storing the orthogonal transform coefficients selected by the orthogonal transform coefficient selecting means 705.
【0273】707は動き補償あり/なし(in)判断
手段であり、動き補償が「あり」の時は画像メモリ70
6に記憶されている直交変換係数を動きベクトル・直交
変換係数演算手段708に出力する。動き補償が「な
し」の時は画像メモリ706に記憶されている直交変換
係数を予測誤差直交変換データ加算手段704に出力す
る。Reference numeral 707 denotes a means for judging whether or not there is motion compensation (in).
6 is output to the motion vector / orthogonal transform coefficient calculating means 708. When the motion compensation is “none”, the orthogonal transform coefficient stored in the image memory 706 is output to the prediction error orthogonal transform data adding means 704.
【0274】708は動きベクトル・直交変換係数演算
手段であり、動きベクトル(in)を用いて、動き補償
あり/なし(in)判断手段707にて「あり」と判断
された画像メモリ706に記憶されていた直交変換係数
を、マトリクス演算することにより、動きベクトルを考
慮して演算された直交変換係数を算出する。マトリクス
演算については後述の方法を用いる。Reference numeral 708 denotes a motion vector / orthogonal transform coefficient calculating means, which is stored in the image memory 706 determined as “present” by the motion compensation with / without (in) judging means 707 using the motion vector (in). By performing a matrix operation on the orthogonal transform coefficients that have been set, an orthogonal transform coefficient calculated in consideration of the motion vector is calculated. For the matrix operation, a method described later is used.
【0275】709は初期画像取込選択手段であり、後
述する符号化制御・フレーム内/フレーム間判断手段7
13により設定された画像取込指示により、画像メモリ
706に記憶されれているの直交変換係数を取り込み、
後述する画像メモリ710に直交変換係数を出力する。Numeral 709 denotes an initial image capturing / selecting means, which will be described later.
13 fetches the orthogonal transformation coefficient stored in the image memory 706 according to the image capture instruction set by
An orthogonal transform coefficient is output to an image memory 710 described later.
【0276】710は画像メモリであり、初期画像取込
選択手段709により選択された直交変換係数を記憶す
るためのものである。[0276] Reference numeral 710 denotes an image memory for storing the orthogonal transform coefficients selected by the initial image capture selecting means 709.
【0277】711はフレーム内/フレーム間(in)
判断手段であり、「フレーム内」の時は、画像メモリ7
06の直交変換係数を後段の符号化制御・フレーム内/
フレーム間判断手段713へ出力し、「フレーム間」の
時は、画像メモリ706の直交変換係数を後述する直交
変換係数減算手段712へ出力する。Reference numeral 711 denotes within a frame / between frames (in).
It is a judgment means.
06 orthogonal transformation coefficient is set at the subsequent stage of encoding control / in-frame /
It outputs to the inter-frame determination means 713, and in the case of “inter-frame”, outputs the orthogonal transform coefficient of the image memory 706 to the orthogonal transform coefficient subtraction means 712 described later.
【0278】712は直交変換係数減算手段であり、フ
レーム内/フレーム間(in)判断手段711で、「フ
レーム間」と判断されたときに画像メモリ706に記憶
されていた直交変換係数から、画像メモリ710の直交
変換係数を減算する。Numeral 712 denotes an orthogonal transform coefficient subtracting means. The intra-frame / inter-frame (in) judging means 711 calculates an image based on the orthogonal transform coefficient stored in the image memory 706 when it is judged “inter-frame”. The orthogonal transform coefficient of the memory 710 is subtracted.
【0279】713は符号化制御・フレーム内/フレー
ム間判断手段であり、フレームレート変換が行われてい
ない時には、動き補償あり/なし(in)をそのまま動
き補償あり/なし(out)として出力し、フレームレ
ート変換が行われている時には、動き補償あり/なし
(out)は「なし」に設定して出力する。また、フレ
ームレート変換を行う1つ前のフレームを画像メモリ7
10に記憶させるために、画像取込指示を出力する。ま
た、フレーム内/フレーム間(in)を用いて、フレー
ム内/フレーム間(in)判断手段711からの直交変
換係数と、直交変換係数減算手段712からの動き補償
を伴わない予測誤差直交変換データとの選択を行い、量
子化手段714へ出力する。また、量子化係数(in)
を再設定し、量子化係数(out)として後述する量子
化手段714へ出力する。Reference numeral 713 denotes coding control / intra-frame / inter-frame determination means. When frame rate conversion is not performed, motion compensation with / without (in) is output as is with / without motion compensation (out). When frame rate conversion is being performed, motion compensation with / without (out) is set to “none” and output. Further, the frame immediately before the frame rate conversion is stored in the image memory 7.
10 to output an image capture instruction. Also, using the intra-frame / inter-frame (in), the orthogonal transform coefficient from the intra-frame / inter-frame (in) determining means 711 and the prediction error orthogonal transform data without motion compensation from the orthogonal transform coefficient subtracting means 712 are used. And outputs the result to the quantization means 714. Also, the quantization coefficient (in)
Is reset, and the result is output to a quantization unit 714 described later as a quantization coefficient (out).
【0280】714は量子化手段であり、上記出力され
た量子化係数(out)により、動き補償を伴わない予
測誤差直交変換データ,直交変換係数を、量子化された
動き補償を伴わない予測誤差直交変換データ,量子化さ
れた直交変換係数にそれぞれ変換する。Numeral 714 denotes a quantizing means which converts the orthogonal transform data and the orthogonal transform coefficient without motion compensation by the output quantized coefficient (out) into the quantized prediction error without motion compensation. The orthogonal transform data and the quantized orthogonal transform coefficient are respectively converted.
【0281】715はフレームレート変換制御手段であ
り、フレームレート変換情報よりフレームレート変換の
継続/終了を判断する。そして、フレームレート変換終
了後、可変長符号化手段717に、量子化された動き補
償を伴わない予測誤差直交変換データ,量子化された直
交変換係数を出力し、フレームレート変換が行われない
時は、可変長復号化手段702からの量子化された動き
補償を伴う予測誤差直交変換データ,量子化された動き
補償を伴わない予測誤差直交変換データ,量子化された
直交変換係数をそのまま出力する。Reference numeral 715 denotes a frame rate conversion control unit which determines the continuation / end of the frame rate conversion based on the frame rate conversion information. Then, after the frame rate conversion is completed, quantized prediction error orthogonal transform data without motion compensation and quantized orthogonal transform coefficients are output to the variable length encoding means 717, and the frame rate conversion is not performed. Outputs the quantized prediction error orthogonal transform data with motion compensation, the quantized prediction error orthogonal transform data without motion compensation, and the quantized orthogonal transform coefficients from the variable length decoding unit 702 as they are. .
【0282】716は動きベクトル選択手段であり、上
記符号化制御・フレーム内/フレーム間判断手段713
から出力された動き補償あり/なし(out)により、
動きベクトルの選択を行う。すなわち、動き補償あり/
なし(out)が「あり」の時は、動きベクトル(i
n)を可変長符号化手段717にそのまま出力し、「な
し」の時には、可変長符号化手段717には動きベクト
ル(in)を出力しない。Reference numeral 716 denotes a motion vector selection means, which is the above-described coding control / intra-frame / inter-frame determination means 713.
With and without motion compensation (out) output from
Select a motion vector. That is, with motion compensation /
When “out” is “present”, the motion vector (i)
n) is output to the variable-length encoding unit 717 as it is, and when "none", the motion vector (in) is not output to the variable-length encoding unit 717.
【0283】717は可変長符号化手段であり、量子化
された動き補償を伴う予測誤差直交変換データ,量子化
された動き補償を伴わない予測誤差直交変換データ,量
子化された直交変換係数を可変長符号化することによ
り、ハイブリッド符号化データに変換する。また、同時
に、フレーム内/フレーム間(in)により、出力側端
末の復号化装置に対して設定されたフレーム内/フレー
ム間識別を設定し、動き補償あり/なし(out)、動
きベクトル(in)により、出力側端末の復号化装置に
対して動き補償あり/なし識別、動きベクトルを設定
し、量子化係数(in)により、出力側端末の復号化装
置に対して量子化係数を設定する。[0283] Reference numeral 717 denotes a variable-length coding unit that converts quantized prediction error orthogonal transform data with motion compensation, quantized prediction error orthogonal transform data without motion compensation, and quantized orthogonal transform coefficients. By performing variable length coding, the data is converted into hybrid coded data. At the same time, the intra-frame / inter-frame discrimination set for the decoding device of the output terminal is set based on the intra-frame / inter-frame (in), with / without motion compensation (out), and with the motion vector (in). ), A motion vector with / without motion compensation is set for the decoding device of the output terminal, and a motion vector is set, and a quantization coefficient is set for the decoding device of the output terminal by the quantization coefficient (in). .
【0284】718は出力であり、処理能力の低い端末
へのフレームレートの低い画像データまたは、伝送速度
の遅い通信回線へのフレームレートの低い画像データが
出力される。Reference numeral 718 denotes an output, which outputs image data having a low frame rate to a terminal having low processing capability or image data having a low frame rate to a communication line having a low transmission speed.
【0285】以下に、上記実施の形態1〜7で用いられ
る動きベクトル・直交変換係数演算手段(108,20
8,308,408,508,608,708)によ
り、動きベクトルを考慮して演算された直交変換係数を
算出するためのマトリクス演算について説明する。The motion vector / orthogonal transform coefficient calculation means (108, 20) used in the first to seventh embodiments will be described below.
8, 308, 408, 508, 608, 708), a matrix operation for calculating an orthogonal transform coefficient calculated in consideration of a motion vector will be described.
【0286】図11は、上記動きベクトル・直交変換係
数演算手段(108,208,308,408,50
8,608,708)の詳細を説明するフローチャート
を示す図で、1001はブロック探索手段、1002は
直交変換係数演算手段、1003は直交変換係数加算手
段を示す。FIG. 11 shows the motion vector / orthogonal transform coefficient calculating means (108, 208, 308, 408, 50).
8, 608, 708) is a flow chart for explaining the details, wherein 1001 denotes a block search means, 1002 denotes an orthogonal transform coefficient calculating means, and 1003 denotes an orthogonal transform coefficient adding means.
【0287】ここで、動きベクトル・直交変換係数演算
手段(108,208,308,408,508,60
8,708)の詳細を説明するために、以下のことを定
義しておく。Here, the motion vector / orthogonal transform coefficient calculating means (108, 208, 308, 408, 508, 60)
8, 708), the following is defined.
【0288】動きベクトル・直交変換係数演算手段(1
08,208,308,408,508,608,70
8)は、動き補償ありの場合、画像メモリ(106,2
06,306,406,506,606,706)に記
憶されていた直交変換係数と動きベクトル(in)を取
り込む。The motion vector / orthogonal transform coefficient calculating means (1
08, 208, 308, 408, 508, 608, 70
8) In the case where motion compensation is performed, the image memory (106, 2)
06, 306, 406, 506, 606, and 706) and the motion vector (in).
【0289】二次元直交変換の処理をF、二次元直交変
換を一次元直交変換に分解した時の変換行列をT、転置
行列をtで表す。The processing of the two-dimensional orthogonal transformation is represented by F, the transformation matrix when the two-dimensional orthogonal transformation is decomposed into the one-dimensional orthogonal transformation is represented by T, and the transposed matrix is represented by t.
【0290】入力された画像データで動き補償を伴うフ
レーム間予測誤差に対して直交変換を行うハイブリッド
符号化されたデータを逆直交変換した画像ブロックを
M、画像メモリ(106,206,306,406,5
06,606,706)に記憶されていた直交変換係数
を逆直交変換した画像ブロックをAとする。AはMの参
照ブロックである。画像メモリ(106,206,30
6,406,506,606,706)に記憶されてい
たデータは直交変換係数であるのでブロック境界で分割
されており、Aは最大で4分割される場合がある。この
4分割された場合のブロックを左上ブロックをA1、右
上ブロックをA2、左下ブロックをA3、右下ブロック
をA4とする。A1,A2,A3,A4におけるAとの
共通部分をMに対応する位置に移動し、移動した部分以
外を0とした画像ブロックをそれぞれB1,B2,B
3,B4とする。図12は、画像ブロックM、A、A
1,A2,A3,A4、B1,B2,B3,B4を示す
ものである。図12のA1,A2,A3,A4とB1,
B2,B3,B4の同じ網掛け部分はそれぞれの値は等
しい。また、AとMに使用されている記号は位置関係を
示しているだけであり、それぞれの値は異なる。An image block obtained by performing an inverse orthogonal transform on hybrid-coded data for performing an orthogonal transform on an inter-frame prediction error accompanied by motion compensation with input image data is denoted by M, and an image memory (106, 206, 306, 406). , 5
06, 606, and 706), an image block obtained by performing an inverse orthogonal transform on the orthogonal transform coefficient stored in the image block is denoted by A. A is a reference block of M. Image memory (106, 206, 30)
6, 406, 506, 606, and 706) are orthogonal transform coefficients and are therefore divided at block boundaries, and A may be divided into four at the maximum. When the block is divided into four, the upper left block is A1, the upper right block is A2, the lower left block is A3, and the lower right block is A4. In A1, A2, A3, and A4, the common part with A is moved to the position corresponding to M, and the image blocks whose other parts are set to 0 are B1, B2, and B, respectively.
3, B4. FIG. 12 shows image blocks M, A, A
1, A2, A3, A4, B1, B2, B3, B4. A1, A2, A3, A4 and B1, in FIG.
The same shaded portions of B2, B3, and B4 have the same values. Further, the symbols used for A and M only indicate the positional relationship, and their values are different.
【0291】図11の1001はブロック探索手段であ
り、動きベクトル(in)を用いることにより、Aが探
索される。In FIG. 11, reference numeral 1001 denotes a block search means for searching for A by using a motion vector (in).
【0292】図11の1002は直交変換係数演算手段
であり、上記探索されたAから、F(A1),F(A
2),F(A3),F(A4)を求める。ここで、F
(A1),F(A2),F(A3),F(A4)は、画
像メモリ(106,206,306,406,506,
606,706)に記憶されていた直交変換係数の画像
ブロックと等しい。後述するマトリクス演算を利用し
て、F(B1),F(B2),F(B3),F(B4)
を求める。以下に、マトリクス演算の方法を示す。この
演算を行うために用いるマトリクスを図13,図14に
示す。このマトリクスをS行列とする。また、ここでは
ブロックの大きさが8×8である場合について説明す
る。図15,図16,図17,18は、S行列を掛けた
時の8×8のブロックの移動について示したものであ
る。m=1〜7とすると、Sdlmを8×8のブロック
に対して左から掛けると図15に示すように、8×8の
ブロックはm行分下に移動され、上からm行目まで全て
0に変換される。Sdlmを8×8のブロックに対して
右から掛けると図16に示すように、8×8のブロック
はm列分左に移動され、右からm列目まで全て0に変換
される。Surmを8×8のブロックに対して左から掛
けると図17に示すように、8×8のブロックはm行分
上に移動され、下からm行目まで全て0に変換される。
Surmを8×8のブロックに対して右から掛けると図
18に示すように、8×8のブロックはm列分右に移動
され、左からm列目まで全て0に変換される。[0292] Reference numeral 1002 in FIG. 11 denotes orthogonal transform coefficient calculating means. From the searched A, F (A1), F (A
2) Find F (A3) and F (A4). Where F
(A1), F (A2), F (A3) and F (A4) are image memories (106, 206, 306, 406, 506, 506).
606, 706). Using a matrix operation described later, F (B1), F (B2), F (B3), F (B4)
Ask for. Hereinafter, a matrix calculation method will be described. The matrices used to perform this operation are shown in FIGS. This matrix is called an S matrix. Here, a case where the block size is 8 × 8 will be described. FIGS. 15, 16, 17, and 18 show the movement of 8 × 8 blocks when multiplied by the S matrix. Assuming that m = 1 to 7, when Sdlm is multiplied from the left to an 8 × 8 block, the 8 × 8 block is moved down by m rows as shown in FIG. Converted to 0. When Sdlm is multiplied from the right to the 8 × 8 block, as shown in FIG. 16, the 8 × 8 block is moved to the left by m columns, and is all converted to 0 from the right to the mth column. When Surm is multiplied from the left to the 8 × 8 block, the 8 × 8 block is moved up by m rows and converted to 0 from the bottom to the m-th row as shown in FIG.
When Surm is multiplied from the right to the 8 × 8 block, as shown in FIG. 18, the 8 × 8 block is moved right by m columns, and is converted to 0 from the left to the mth column.
【0293】次にF(A1)をF(B1)に変換する方
法については図面を参照しながら説明する。Next, a method of converting F (A1) to F (B1) will be described with reference to the drawings.
【0294】図19はA1をB1に変換する方法の説明
を示したものである。A,A1,B1が8×8のブロッ
クであり、A1とAの共通部分の大きさをa行b列とす
る。A1を上に(8−a)行分、左に(8−b)列分移
動し、右から8−a行目、下から8−b列目まで0に変
換すればよいことになる。この変換は、A1に対してS
ur(8−a)を左から掛け、この後、Sdl(8−
b)を右から掛けることにより行われる。これを式で表
すと、 Sur(8−a)×A1×Sdl(8−b)=B1 となる。F(B1)を求めるには F(B1) =F(Sur(8−a)×A1×Sdl(8−b)) =TSur(8−a)×A1×Sdl(8−b)tT =TSur(8−a)Tt×TA1Tt×TSdl(8−b)tT =F(Sur(8−a))×F(A1)×F(Sdl(8−b)) とすればよい。これにより、S行列自体は必要でないと
いうことが分かり、F(S行列)については予め計算
し、準備しておけば、F(A1)からF(B1)を求め
ることが容易になる。F(B2)、F(B3)、F(B
4)も同様に求めることができる。FIG. 19 illustrates the method of converting A1 to B1. A, A1, and B1 are 8 × 8 blocks, and the size of the common part of A1 and A is a row and b column. A1 may be moved upward by (8-a) rows and leftward by (8-b) columns, and may be converted to 0 from the right to the 8-ath row and from the bottom to the 8-bth column. This conversion is S1 for A1
ur (8-a) is multiplied from the left, and then Sdl (8-a)
b) from the right. When this is represented by an equation, Sur (8-a) × A1 × Sdl (8-b) = B1. To obtain F (B1), F (B1) = F (Sur (8-a) .times.A1.times.Sdl (8-b)) = TSur (8-a) .times.A1.times.Sdl (8-b) tT = TSur (8-a) Tt × TA1Tt × TSdl (8-b) tT = F (Sur (8-a)) × F (A1) × F (Sdl (8-b)) Thus, it is understood that the S matrix itself is unnecessary, and if F (S matrix) is calculated and prepared in advance, it becomes easy to obtain F (B1) from F (A1). F (B2), F (B3), F (B
4) can be similarly obtained.
【0295】図11の1003は直交変換係数加算手段
であり、F(B1),F(B2),F(B3),F(B
4)を加算し、F(A)を求める。この処理の詳細を示
すと、直交変換は線形の操作であるので、F(B1),
F(B2),F(B3),F(B4)を加算すると、 F(B1)+F(B2)+F(B3)+F(B4)=F
(B1+B2+B3+B4) となり、ここで、B1〜B4の網掛け部分とA1〜A4
の網掛け部分が等しいので B1+B2+B3+B4=A であるので、 F(B1+B2+B3+B4)=F(A) よって、 F(B1)+F(B2)+F(B3)+F(B4)=F
(A) となる。[0295] Reference numeral 1003 in FIG. 11 denotes orthogonal transform coefficient adding means, and F (B1), F (B2), F (B3), and F (B
4) is added to obtain F (A). To show the details of this processing, since the orthogonal transformation is a linear operation, F (B1),
When F (B2), F (B3), and F (B4) are added, F (B1) + F (B2) + F (B3) + F (B4) = F
(B1 + B2 + B3 + B4), where the shaded portions of B1 to B4 and A1 to A4
Since the shaded portions are equal, B1 + B2 + B3 + B4 = A, so that F (B1 + B2 + B3 + B4) = F (A) Therefore, F (B1) + F (B2) + F (B3) + F (B4) = F
(A)
【0296】この操作により求まったF(A)はフレー
ム単位でまとめられることにより、S’(i)となる。F (A) obtained by this operation becomes S ′ (i) by being grouped in frame units.
【0297】以上のように、本実施の形態によれば、逆
直交変換,動き検出,直交変換の処理を省略することに
より演算量を減らし、従来の技術に比べ大幅な負荷の軽
減と高速化を図り、通信回線の使用効率の向上をはかる
ことができ、また、端末の処理能力に対応したフレーム
レートの画像データを生成することができるという効果
がある。As described above, according to the present embodiment, the amount of calculation is reduced by omitting the processes of inverse orthogonal transform, motion detection, and orthogonal transform, thereby significantly reducing the load and increasing the speed as compared with the conventional technology. Thus, the use efficiency of the communication line can be improved, and image data having a frame rate corresponding to the processing capability of the terminal can be generated.
【0298】[0298]
【発明の効果】以上のように、本発明の請求項1に係る
フレームレート変換方式によれば、端末間でハイブリッ
ド符号化された画像データを通信する場合において、通
信回線の伝送速度によってフレームレートを変換するだ
けではなく、端末の処理能力を考慮することにより、入
力されたフレームレートの高い画像データを、端末の処
理能力に応じたフレームレートに変換し、フレームレー
トの低い画像データとして出力するようにしたので、出
力において、通信回線で伝送可能なフレーム数よりも、
端末で処理できるフレーム数の方が少ない場合は、端末
の処理能力を考慮してフレームレートの変換が行われ、
端末で処理できないフレーム数のハイブリッド符号化さ
れた画像データが通信回線に出力されることがなくな
り、通信回線の使用効率を向上させることができる効果
がある。As described above, according to the frame rate conversion method according to the first aspect of the present invention, when communicating hybrid-coded image data between terminals, the frame rate is determined by the transmission speed of the communication line. In addition to converting the image data, the input image data having a high frame rate is converted into a frame rate corresponding to the processing capability of the terminal by considering the processing capability of the terminal, and output as image data having a low frame rate. In the output, the number of frames that can be transmitted on the communication line is
If the number of frames that can be processed by the terminal is smaller, the frame rate is converted in consideration of the processing capacity of the terminal,
Hybrid-coded image data of the number of frames that cannot be processed by the terminal is not output to the communication line, and there is an effect that the use efficiency of the communication line can be improved.
【0299】また、本発明の請求項2に係るフレームレ
ート変換方式によれば、フレームレートの高い動き補償
を伴うフレーム間予測誤差に対して直交変換を行うハイ
ブリッド符号化された画像データを入力し、逆直交変
換,動き検出,直交変換の処理を省略することにより演
算量を減らし、従来の技術に比べ大幅な負荷の軽減と高
速化を図ることができ、また、フレームレートの低い動
き補償を伴わないフレーム間予測誤差に対して直交変換
を行うハイブリッド符号化された画像データを生成する
ことができるフレームレート変換方式を提供できるとい
う効果がある。According to the frame rate conversion method of the second aspect of the present invention, hybrid-encoded image data for performing orthogonal transformation on an inter-frame prediction error accompanied by high frame rate motion compensation is input. By omitting the processes of inverse orthogonal transform, motion detection, and orthogonal transform, the amount of calculation can be reduced, the load can be greatly reduced and the speed can be increased as compared with the conventional technology, and motion compensation with a low frame rate can be performed. There is an effect that it is possible to provide a frame rate conversion method capable of generating hybrid-encoded image data that performs orthogonal transformation on an inter-frame prediction error that is not accompanied.
【0300】また、本発明の請求項3に係るフレームレ
ート変換方式によれば、フレームレートの高い動き補償
を伴うフレーム間予測誤差に対して直交変換を行うハイ
ブリッド符号化された画像データと、動き補償を伴わな
いフレーム間予測誤差に対して直交変換を行うハイブリ
ッド符号化された画像データとの両方が含まれる画像デ
ータを入力し、逆直交変換,動き検出,直交変換の処理
を省略することにより演算量を減らし、従来の技術に比
べ大幅な負荷の軽減と高速化を図ることができ、また、
フレームレートの低い動き補償を伴わないフレーム間予
測誤差に対して直交変換を行うハイブリッド符号化され
た画像データを生成することができるフレームレート変
換方式を提供できるという効果がある。Further, according to the frame rate conversion method of the third aspect of the present invention, the hybrid coded image data for performing the orthogonal transform on the inter-frame prediction error accompanied by the high frame rate motion compensation, and By inputting image data including both hybrid-coded image data that performs orthogonal transformation on inter-frame prediction errors without compensation and omitting the processes of inverse orthogonal transformation, motion detection, and orthogonal transformation It can reduce the amount of computation, greatly reduce the load and increase the speed compared to the conventional technology.
There is an effect that it is possible to provide a frame rate conversion method capable of generating hybrid-encoded image data that performs orthogonal transformation on an inter-frame prediction error without motion compensation at a low frame rate.
【0301】また、本発明の請求項4に係るフレームレ
ート変換方式によれば、フレームレートの高い動き補償
を伴うフレーム間予測誤差に対して直交変換を行うハイ
ブリッド符号化された画像データと、フレーム内符号化
された画像データとの両方が含まれる画像データを入力
し、逆直交変換,動き検出,直交変換の処理を省略する
ことにより演算量を減らし、従来の技術に比べ大幅な負
荷の軽減と高速化を図ることができ、また、フレームレ
ートの低い動き補償を伴わないフレーム間予測誤差に対
して直交変換を行うハイブリッド符号化された画像デー
タと、フレーム内符号化された画像データとの両方が含
まれる画像データを生成することができるフレームレー
ト変換方式を提供できるという効果がある。Further, according to the frame rate conversion method of the fourth aspect of the present invention, the hybrid encoded image data for performing the orthogonal transformation on the inter-frame prediction error accompanied by the high frame rate motion compensation, and By inputting image data that includes both the inner-coded image data and the processing of inverse orthogonal transformation, motion detection, and orthogonal transformation, the amount of computation is reduced, and the load is greatly reduced compared to the conventional technology. Between the hybrid-coded image data and the intra-coded image data that perform orthogonal transformation on inter-frame prediction errors without motion compensation at a low frame rate. There is an effect that a frame rate conversion method capable of generating image data including both of them can be provided.
【0302】また、本発明の請求項5に係るフレームレ
ート変換方式によれば、フレームレートの高い動き補償
を伴うフレーム間予測誤差に対して直交変換を行うハイ
ブリッド符号化された画像データと、動き補償を伴わな
いフレーム間予測誤差に対して直交変換を行うハイブリ
ッド符号化された画像データと、フレーム内符号化され
た画像データとの3つが含まれる画像データを入力し、
逆直交変換,動き検出,直交変換の処理を省略すること
により演算量を減らし、従来の技術に比べ大幅な負荷の
軽減と高速化を図ることができ、また、フレームレート
の低い動き補償を伴わないフレーム間予測誤差に対して
直交変換を行うハイブリッド符号化された画像データ
と、フレーム内符号化された画像データとの両方が含ま
れる画像データを生成することができるフレームレート
変換方式を提供できるという効果がある。[0302] According to the frame rate conversion method according to claim 5 of the present invention, the hybrid coded image data for performing orthogonal transform on the inter-frame prediction error accompanied by the high frame rate motion compensation, and Input image data including three of hybrid-coded image data that performs orthogonal transformation on inter-frame prediction errors without compensation and intra-frame coded image data;
By omitting the processes of inverse orthogonal transform, motion detection, and orthogonal transform, the amount of calculation can be reduced, the load can be greatly reduced and the speed can be increased as compared with the conventional technology, and motion compensation with a low frame rate is involved. It is possible to provide a frame rate conversion method capable of generating image data including both hybrid-coded image data that performs orthogonal transform on no inter-frame prediction error and intra-frame coded image data. This has the effect.
【0303】また、本発明の請求項6に係るフレームレ
ート変換方式によれば、端末間でハイブリッド符号化さ
れた画像データを通信する場合において、通信回線の伝
送速度によってフレームレートを変換するだけではな
く、端末の処理能力を考慮することにより、入力された
フレームレートの高い画像データを、端末の処理能力に
応じたフレームレートに、上記請求項2ないし請求項5
のいずれかに記載のフレームレート変換方式を用いて変
換し、逆直交変換,動き検出,直交変換の処理を省略す
ることにより演算量を減らし、従来の技術に比べ大幅な
負荷の軽減と高速化を図ることができ、フレームレート
の低い画像データとして出力するようにしたので、出力
において、通信回線で伝送可能なフレーム数よりも、端
末で処理できるフレーム数の方が少ない場合は、端末の
処理能力を考慮してフレームレートの変換が行われ、端
末で処理できないフレーム数のハイブリッド符号化され
た画像データが通信回線に出力されることがなくなり、
通信回線の使用効率を向上させることができる効果があ
る。Further, according to the frame rate conversion method according to the sixth aspect of the present invention, when communicating hybrid-coded image data between terminals, it is only necessary to convert the frame rate according to the transmission speed of the communication line. The image data having a high frame rate is converted into a frame rate corresponding to the processing capability of the terminal by considering the processing capability of the terminal.
Conversion using the frame rate conversion method described in any one of the above, the amount of computation is reduced by omitting the processing of inverse orthogonal transformation, motion detection, and orthogonal transformation, greatly reducing the load and increasing the speed compared to the conventional technology. And output as image data having a low frame rate. If the number of frames that can be processed by the terminal is smaller than the number of frames that can be transmitted by the communication line in the output, the processing of the terminal is performed. The conversion of the frame rate is performed in consideration of the capability, so that the hybrid-coded image data of the number of frames that cannot be processed by the terminal is not output to the communication line,
There is an effect that the use efficiency of the communication line can be improved.
【0304】また、本発明の請求項7に係るフレームレ
ート変換装置によれば、上記請求項1ないし請求項6の
いずれかに記載のフレームレート変換方式を利用して、
逆直交変換,動き検出,直交変換の処理を省略すること
により演算量を減らし、従来の技術に比べ大幅な負荷の
軽減と高速化を図り、通信回線の使用効率の向上をはか
ることができ、また、端末の処理能力に対応したフレー
ムレートの画像データを生成することができるという効
果がある。According to a frame rate conversion apparatus according to claim 7 of the present invention, the frame rate conversion method according to any one of claims 1 to 6 is used,
By omitting the inverse orthogonal transform, motion detection, and orthogonal transform processes, the amount of computation can be reduced, significantly reducing the load and increasing the speed compared to the conventional technology, and improving the use efficiency of communication lines. Further, there is an effect that image data having a frame rate corresponding to the processing capability of the terminal can be generated.
【図1】本発明の請求項1に係るフレームレート変換方
式の構成を説明するための図である。FIG. 1 is a diagram for explaining a configuration of a frame rate conversion method according to claim 1 of the present invention.
【図2】上記請求項1に係るフレームレート変換方式に
よるフレームレート変換処理を説明するためのフローチ
ャートを示す図である。FIG. 2 is a flowchart illustrating a frame rate conversion process according to the frame rate conversion method according to the first embodiment.
【図3】本発明の請求項2に係るフレームレート変換方
式を説明するためのフローチャートを示す図である。FIG. 3 is a diagram showing a flowchart for explaining a frame rate conversion method according to claim 2 of the present invention.
【図4】本発明の請求項3に係るフレームレート変換方
式を説明するためのフローチャートを示す図である。FIG. 4 is a flowchart illustrating a frame rate conversion method according to a third embodiment of the present invention.
【図5】本発明の請求項4に係るフレームレート変換方
式を説明するためのフローチャートを示す図である。FIG. 5 is a flowchart illustrating a frame rate conversion method according to a fourth embodiment of the present invention.
【図6】本発明の請求項5に係るフレームレート変換方
式を説明するためのフローチャートを示す図である。FIG. 6 is a flowchart illustrating a frame rate conversion method according to claim 5 of the present invention.
【図7】本発明の請求項6に係るフレームレート変換方
式の構成を説明するための図である。FIG. 7 is a diagram for explaining a configuration of a frame rate conversion method according to claim 6 of the present invention.
【図8】上記請求項6に係るフレームレート変換方式に
よるフレームレート変換処理を説明するためのフローチ
ャートを示す図である。FIG. 8 is a flowchart illustrating a frame rate conversion process according to the frame rate conversion method according to claim 6;
【図9】本発明の請求項7に係るフレームレート変換装
置の構成を示す図である。FIG. 9 is a diagram showing a configuration of a frame rate conversion device according to claim 7 of the present invention.
【図10】従来のレート変換画像符号化装置の構成を示
す図である。FIG. 10 is a diagram showing a configuration of a conventional rate conversion image encoding device.
【図11】動きベクトル・直交変換係数演算手段の詳細
を説明するフローチャートを示す図である。FIG. 11 is a flowchart illustrating details of a motion vector / orthogonal transform coefficient calculation unit.
【図12】画像ブロックM、A、A1,A2,A3,A
4、B1,B2,B3,B4を示す図である。FIG. 12 shows image blocks M, A, A1, A2, A3, A
4, B1, B2, B3, and B4.
【図13】動きベクトルを考慮して演算された直交変換
係数を算出するためのマトリクス演算方法にて用いられ
るマトリクスを示す図である。FIG. 13 is a diagram illustrating a matrix used in a matrix calculation method for calculating an orthogonal transform coefficient calculated in consideration of a motion vector.
【図14】動きベクトルを考慮して演算された直交変換
係数を算出するためのマトリクス演算方法にて用いられ
るマトリクスを示す図である。FIG. 14 is a diagram illustrating a matrix used in a matrix calculation method for calculating an orthogonal transform coefficient calculated in consideration of a motion vector.
【図15】Sdlm行列を左から掛けた時の8×8のブ
ロックの移動について示す図である。FIG. 15 is a diagram illustrating movement of an 8 × 8 block when the Sdlm matrix is multiplied from the left.
【図16】Sdlm行列を右から掛けた時の8×8のブ
ロックの移動について示す図である。FIG. 16 is a diagram illustrating movement of an 8 × 8 block when the Sdlm matrix is multiplied from the right.
【図17】Surm行列を左から掛けた時の8×8のブ
ロックの移動について示す図である。FIG. 17 is a diagram illustrating movement of an 8 × 8 block when a Surm matrix is multiplied from the left.
【図18】Surm行列を右から掛けた時の8×8のブ
ロックの移動について示す図である。FIG. 18 is a diagram illustrating movement of an 8 × 8 block when a Surm matrix is multiplied from the right.
【図19】A1をB1に変換する方法の説明を示す図で
ある。FIG. 19 is a diagram illustrating a method of converting A1 to B1.
【図20】従来のフレームレート変換方式の構成を示す
図である。FIG. 20 is a diagram showing a configuration of a conventional frame rate conversion method.
【符号の説明】 104 予測誤差直交変換データ加算手段 112 直交変換係数減算手段 204 予測誤差直交変換データ加算手段 212 直交変換係数減算手段 304 予測誤差直交変換データ加算手段 312 直交変換係数減算手段 404 予測誤差直交変換データ加算手段 412 直交変換係数減算手段 504 予測誤差直交変換データ加算手段 512 直交変換係数減算手段 604 予測誤差直交変換データ加算手段 612 直交変換係数減算手段 704 予測誤差直交変換データ加算手段 705 直交変換係数選択手段 707 動き補償あり/なし(in)判断手段 709 初期画像取込選択手段 711 フレーム内/フレーム間(in)判断手段 712 直交変換係数減算手段 715 フレームレート変換制御手段 919 加算手段 921 スイッチ手段 922 セレクタ 924 加算手段 927 セレクタ 928 減算手段 931 セレクタ 934 加算手段 937 セレクタ[Description of Code] 104 Prediction Error Orthogonal Transform Data Addition Unit 112 Orthogonal Transform Coefficient Subtraction Unit 204 Prediction Error Orthogonal Transform Data Addition Unit 212 Orthogonal Transform Coefficient Subtraction Unit 304 Prediction Error Orthogonal Transform Data Addition Unit 312 Orthogonal Transform Coefficient Subtraction Unit 404 Prediction Error Orthogonal transformation data addition means 412 Orthogonal transformation coefficient subtraction means 504 Prediction error orthogonal transformation data addition means 512 Orthogonal transformation coefficient subtraction means 604 Prediction error orthogonal transformation data addition means 612 Orthogonal transformation coefficient subtraction means 704 Prediction error orthogonal transformation data addition means 705 Orthogonal transformation Coefficient selection means 707 Motion compensation presence / absence (in) determination means 709 Initial image capture selection means 711 Intra-frame / inter-frame (in) determination means 712 Orthogonal transformation coefficient subtraction means 715 Frame rate conversion control means 919 Addition means 921 Pitch means 922 selector 924 adding unit 927 selector 928 subtractor 931 selector 934 adding means 937 Selector
Claims (7)
データを通信する場合において、一方の端末をa1、他
方の端末をa2とし、端末a1が接続されている通信回
線の伝送速度をb1、端末a2が接続されている通信回
線の伝送速度をb2、さらに、端末a1の処理能力をc
1、端末a2の処理能力をc2としたとき、 フレームレートの高い画像データを端末a1側から入力
し、端末a2側に出力するフレーム数を、伝送速度がb
1≧b2で、かつ端末の処理能力がc1=c2のときに
は、b2で伝送できるフレーム数に設定し、伝送速度が
b1≧b2で、かつ端末の処理能力がc1>c2のとき
には、b2で伝送できるフレーム数とc2で処理できる
フレーム数のどちらか少ない方のフレーム数に設定し、
伝送速度がb1<b2で、かつ端末の処理能力がc1>
c2のときには、b1で伝送できるフレーム数とc2で
処理できるフレーム数のどちらか少ない方のフレーム数
に設定し、伝送速度がb1>b2で、かつ端末の処理能
力がc1<c2のときには、b2で伝送できるフレーム
数とc1で処理できるフレーム数のどちらか少ない方の
フレーム数に設定し、上記端末a1から入力されたフレ
ームレートの高い画像データのフレームレートを変換し
て上記端末a2側にフレームレートの低い画像データと
して出力することを特徴とするフレームレート変換方
式。1. When communicating hybrid-coded image data between terminals, one terminal is a1, the other terminal is a2, the transmission speed of a communication line to which the terminal a1 is connected is b1, and the terminal is a1. The transmission speed of the communication line to which a2 is connected is b2, and the processing capability of terminal a1 is c.
1. Assuming that the processing capacity of the terminal a2 is c2, image data with a high frame rate is input from the terminal a1 side, and the number of frames output to the terminal a2 side is represented by the transmission speed b.
When 1 ≧ b2 and the processing capability of the terminal is c1 = c2, the number of frames that can be transmitted is set to b2. When the transmission speed is b1 ≧ b2 and the processing capability of the terminal is c1> c2, transmission is performed at b2. Set to the smaller of the number of frames that can be processed and the number of frames that can be processed in c2,
The transmission speed is b1 <b2 and the processing capability of the terminal is c1>
In the case of c2, the number of frames that can be transmitted in b1 or the number of frames that can be processed in c2 is set to the smaller number. If the transmission speed is b1> b2 and the processing capability of the terminal is c1 <c2, b2 Is set to the smaller of the number of frames that can be transmitted by c1 and the number of frames that can be processed by c1, and the frame rate of the high frame rate image data input from the terminal a1 is converted to a frame to the terminal a2. A frame rate conversion method characterized by outputting as low-rate image data.
レーム間予測誤差に対して直交変換を行うハイブリッド
符号化された画像データを入力し、動き補償を伴うフレ
ーム間予測誤差に対して直交変換を行うハイブリッド符
号化された画像データのフレームを複数枚まとめて1枚
の動き補償を伴わないフレーム間予測誤差に対して直交
変換を行うハイブリッド符号化された画像データのフレ
ームに合成することによりフレームレートを変換し、フ
レームレートの低い動き補償を伴わないフレーム間予測
誤差に対して直交変換を行うハイブリッド符号化された
画像データとして出力することを特徴とするフレームレ
ート変換方式。2. Inputting hybrid-coded image data for performing orthogonal transformation on an inter-frame prediction error accompanied by motion compensation with a high frame rate, and performing orthogonal transformation on an inter-frame prediction error accompanied by motion compensation. The frame rate is obtained by combining a plurality of frames of hybrid-coded image data into a single frame of hybrid-coded image data that performs orthogonal transformation on an inter-frame prediction error without motion compensation. A frame rate conversion method for converting and outputting as hybrid-coded image data that performs orthogonal transformation on an inter-frame prediction error with low frame rate and without motion compensation.
レーム間予測誤差に対して直交変換を行うハイブリッド
符号化された画像データと、動き補償を伴わないフレー
ム間予測誤差に対して直交変換を行うハイブリッド符号
化された画像データとの両方が含まれる画像データを入
力し、動き補償を伴うフレーム間予測誤差に対して直交
変換を行うハイブリッド符号化された画像データと、動
き補償を伴わないフレーム間予測誤差に対して直交変換
を行うハイブリッド符号化された画像データとの両方が
含まれる画像データのフレームを複数枚まとめて1枚の
動き補償を伴わないフレーム間予測誤差に対して直交変
換を行うハイブリッド符号化された画像データのフレー
ムに合成することによりフレームレートを変換し、フレ
ームレートの低い動き補償を伴わないフレーム間予測誤
差に対して直交変換を行うハイブリッド符号化された画
像データとして出力することを特徴とするフレームレー
ト変換方式。3. Hybrid image data for performing orthogonal transformation on an inter-frame prediction error involving motion compensation with a high frame rate, and hybrid performing orthogonal transformation on an inter-frame prediction error without motion compensation. Hybrid encoded image data that inputs image data including both encoded image data and performs orthogonal transformation on inter-frame prediction errors with motion compensation, and inter-frame prediction without motion compensation Hybrid that performs orthogonal transform on error Hybrid that performs orthogonal transform on an inter-frame prediction error that does not involve motion compensation by combining a plurality of frames of image data including both encoded image data The frame rate is converted by synthesizing it with the frame of the encoded image data, and the motion at a low frame rate is performed. A frame rate conversion method for outputting as hybrid-encoded image data that performs orthogonal transformation on an inter-frame prediction error without compensation.
レーム間予測誤差に対して直交変換を行うハイブリッド
符号化された画像データと、フレーム内符号化された画
像データとの両方が含まれる画像データを入力し、動き
補償を伴うフレーム間予測誤差に対して直交変換を行う
ハイブリッド符号化された画像データと、フレーム内符
号化された画像データとの両方が含まれる画像データの
フレームを複数枚まとめて1枚の動き補償を伴わないフ
レーム間予測誤差に対して直交変換を行うハイブリッド
符号化された画像データと、フレーム内符号化された画
像データとの両方が含まれる画像データのフレームに合
成することによりフレームレートを変換し、フレームレ
ートの低い動き補償を伴わないフレーム間予測誤差に対
して直交変換を行うハイブリッド符号化された画像デー
タと、フレーム内符号化された画像データとの両方が含
まれる画像データとして出力することを特徴とするフレ
ームレート変換方式。4. An image data that includes both hybrid-coded image data for performing orthogonal transformation on an inter-frame prediction error accompanied by motion compensation with a high frame rate and intra-frame coded image data. Input, a plurality of image data frames including both hybrid-coded image data and intra-frame coded image data that perform orthogonal transformation on inter-frame prediction errors with motion compensation Combining into a frame of image data that includes both hybrid encoded image data and intra-frame encoded image data that perform orthogonal transformation on one inter-frame prediction error without motion compensation And performs orthogonal transformation on inter-frame prediction errors without motion compensation at low frame rates. A frame rate conversion method for outputting as image data including both hybrid-coded image data and intra-frame coded image data.
レーム間予測誤差に対して直交変換を行うハイブリッド
符号化された画像データと、動き補償を伴わないフレー
ム間予測誤差に対して直交変換を行うハイブリッド符号
化された画像データと、フレーム内符号化された画像デ
ータとの3つが含まれる画像データを入力し、動き補償
を伴うフレーム間予測誤差に対して直交変換を行うハイ
ブリッド符号化された画像データと、動き補償を伴わな
いフレーム間予測誤差に対して直交変換を行うハイブリ
ッド符号化された画像データと、フレーム内符号化され
た画像データとの3つが含まれる画像データのフレーム
を複数枚まとめて1枚の動き補償を伴わないフレーム間
予測誤差に対して直交変換を行うハイブリッド符号化さ
れた画像データと、フレーム内符号化された画像データ
との両方が含まれる画像データのフレームに合成するこ
とによりフレームレートを変換し、フレームレートの低
い動き補償を伴わないフレーム間予測誤差に対して直交
変換を行うハイブリッド符号化された画像データと、フ
レーム内符号化された画像データとの両方が含まれる画
像データとして出力することを特徴とするフレームレー
ト変換方式。5. A hybrid coded image data for performing orthogonal transformation on an inter-frame prediction error involving motion compensation having a high frame rate, and a hybrid for performing an orthogonal transformation on an inter-frame prediction error not involving motion compensation. Hybrid coded image data in which image data including three pieces of coded image data and intra-frame coded image data are input and orthogonal transformation is performed on an inter-frame prediction error accompanied by motion compensation. And a plurality of frames of image data including three, that is, hybrid-coded image data that performs orthogonal transformation on an inter-frame prediction error without motion compensation and intra-frame coded image data. Hybrid-encoded image data that performs orthogonal transformation on an inter-frame prediction error without motion compensation, and A hybrid that converts a frame rate by synthesizing it into a frame of image data that includes both intra-frame encoded image data and performs orthogonal transformation on an inter-frame prediction error without motion compensation at a low frame rate. A frame rate conversion method for outputting as image data that includes both encoded image data and intra-frame encoded image data.
において、 フレームレートの変換を行う際に、上記請求項2ないし
請求項5のいずれかに記載のフレームレート変換方式を
用いてフレームレート変換を行うことを特徴とするフレ
ームレート変換方式。6. The frame rate conversion method according to claim 1, wherein when converting the frame rate, the frame rate conversion is performed using the frame rate conversion method according to any one of claims 2 to 5. A frame rate conversion method characterized by performing.
に記載のフレームレート変換方式を用いてフレームレー
トの変換を行うことを特徴とするフレームレート変換装
置。7. A frame rate conversion apparatus for converting a frame rate using the frame rate conversion method according to claim 1. Description:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31330496A JPH10155149A (en) | 1996-11-25 | 1996-11-25 | Frame rate conversion method and frame rate conversion device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31330496A JPH10155149A (en) | 1996-11-25 | 1996-11-25 | Frame rate conversion method and frame rate conversion device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH10155149A true JPH10155149A (en) | 1998-06-09 |
Family
ID=18039615
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP31330496A Pending JPH10155149A (en) | 1996-11-25 | 1996-11-25 | Frame rate conversion method and frame rate conversion device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10155149A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001043435A1 (en) * | 1999-12-08 | 2001-06-14 | Kabushiki Kaisha Toshiba | Multimedia provider system, multimedia conversion server, and multimedia terminal |
| US6898242B2 (en) | 2000-09-27 | 2005-05-24 | Nec Corporation | Moving picture high-speed coder and moving picture high-speed coding method |
| EP2359596A4 (en) * | 2008-12-15 | 2013-10-30 | Microsoft Corp | VISIBOCONFERENCE FLOW MATCHING |
| WO2014057555A1 (en) | 2012-10-10 | 2014-04-17 | 富士通株式会社 | Information-processing device, information-processing system, information-processing program, and moving image data transmission/reception method |
| US8947492B2 (en) | 2010-06-18 | 2015-02-03 | Microsoft Corporation | Combining multiple bit rate and scalable video coding |
-
1996
- 1996-11-25 JP JP31330496A patent/JPH10155149A/en active Pending
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001043435A1 (en) * | 1999-12-08 | 2001-06-14 | Kabushiki Kaisha Toshiba | Multimedia provider system, multimedia conversion server, and multimedia terminal |
| US6898242B2 (en) | 2000-09-27 | 2005-05-24 | Nec Corporation | Moving picture high-speed coder and moving picture high-speed coding method |
| EP2359596A4 (en) * | 2008-12-15 | 2013-10-30 | Microsoft Corp | VISIBOCONFERENCE FLOW MATCHING |
| US8947492B2 (en) | 2010-06-18 | 2015-02-03 | Microsoft Corporation | Combining multiple bit rate and scalable video coding |
| WO2014057555A1 (en) | 2012-10-10 | 2014-04-17 | 富士通株式会社 | Information-processing device, information-processing system, information-processing program, and moving image data transmission/reception method |
| US9699518B2 (en) | 2012-10-10 | 2017-07-04 | Fujitsu Limited | Information processing apparatus, information processing system, recording medium, and method for transmission and reception of moving image data |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3050736B2 (en) | Video encoding device | |
| CN108769682B (en) | Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, computer device, and storage medium | |
| EP1551186A1 (en) | Video coding apparatus with resolution converter | |
| EP1010330A1 (en) | Transcoding | |
| JPH1093966A (en) | Image coding device | |
| JP3667105B2 (en) | Motion vector detection method and apparatus for implementing the method | |
| JP2009267689A (en) | Moving image coding device, and moving image coding method | |
| JP2900998B2 (en) | Block interpolation predictive encoding apparatus, decoding apparatus, encoding method and decoding method | |
| US20080123748A1 (en) | Compression circuitry for generating an encoded bitstream from a plurality of video frames | |
| JP4494803B2 (en) | Improved noise prediction method and apparatus based on motion compensation, and moving picture encoding method and apparatus using the same | |
| JP3982615B2 (en) | System for converting encoded video data | |
| JPH10336672A (en) | Encoding system converter and motion vector detection method therefor | |
| JPH10155149A (en) | Frame rate conversion method and frame rate conversion device | |
| JPH0730903A (en) | Integrated memory circuit for picture processing | |
| JPH07222173A (en) | Image processing device | |
| JP2900999B2 (en) | Inter-block adaptive interpolation predictive encoding apparatus, decoding apparatus, encoding method and decoding method | |
| JPH01238389A (en) | Predictive coding system for moving image | |
| JP4403549B2 (en) | Moving picture coding apparatus and moving picture coding program | |
| JPH1013836A (en) | Motion vector detection device | |
| JP4458923B2 (en) | Image processing device | |
| JPH10150665A (en) | Predicted image creation method, image encoding method, and image encoding device | |
| JP2005516499A (en) | Calculation of compressed video information | |
| JPH05236456A (en) | Method and device for encoding moving image | |
| JPH09200747A (en) | Image coding method and apparatus | |
| JPH06105299A (en) | Video compression device |