JPH11313331A - Image signal processing system, decoder, image signal processing method and decoding method - Google Patents
Image signal processing system, decoder, image signal processing method and decoding methodInfo
- Publication number
- JPH11313331A JPH11313331A JP573599A JP573599A JPH11313331A JP H11313331 A JPH11313331 A JP H11313331A JP 573599 A JP573599 A JP 573599A JP 573599 A JP573599 A JP 573599A JP H11313331 A JPH11313331 A JP H11313331A
- Authority
- JP
- Japan
- Prior art keywords
- image signal
- encoding
- decoded
- coding
- decoded image
- 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.)
- Withdrawn
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
(57)【要約】
【課題】 圧縮符号化を使用する再エンコードにおい
て、画質劣化を十分に抑制する。
【解決手段】 MPEGデコーダ10は、符号化された
画像信号としてのビットストリームを供給され、これを
復号して復号画像信号を生成して多重化器11に供給す
るとともに、復号の際に(したがって最初の符号化の際
に)使用した、符号化ビット量、平均量子化スケールを
含む符号化パラメータを、多重化器11及び端子16a
に供給する。多重化器11は、これらを復号画像信号に
重畳する。多重化器11の出力は記録/再生系を介して
分離器13に供給され、符号化パラメータが分離されて
端子16bに供給される。一方、画像信号は分離器13
からMPEGエンコーダ14に供給される。スイッチ1
5が端子16b側に倒されることにより、最初の符号化
の際に使用した符号化パラメータの下で再エンコードを
行うことができる。
(57) [Summary] [PROBLEMS] To sufficiently suppress image quality degradation in re-encoding using compression encoding. SOLUTION: An MPEG decoder 10 is supplied with an encoded bit stream as an image signal, decodes the bit stream to generate a decoded image signal, and supplies the decoded image signal to a multiplexer 11. The coding parameters including the coding bit amount and the average quantization scale used at the time of the first coding) are transmitted to the multiplexer 11 and the terminal 16a.
To supply. The multiplexer 11 superimposes these on the decoded image signal. The output of the multiplexer 11 is supplied to a separator 13 via a recording / reproducing system, where the encoding parameters are separated and supplied to a terminal 16b. On the other hand, the image signal is
To the MPEG encoder 14. Switch 1
By turning 5 to the terminal 16b side, re-encoding can be performed under the encoding parameters used in the first encoding.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、特に高画質を要
求される用途に好適な、画像信号処理システム、デコー
ダ、画像信号処理方法及び復号方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal processing system, a decoder, an image signal processing method, and a decoding method that are particularly suitable for applications requiring high image quality.
【0002】[0002]
【従来の技術】MPEG方式でエンコードされた画像信
号に対する編集処理においては、一旦エンコードされた
画像信号を復号し、復号した画像について再エンコード
を行う際に、通常のビデオ信号についてエンコードを行
う場合に比べて大きな画質劣化が生じる場合がある。こ
のような画質劣化の原因として、再エンコードの前後
で、すなわち最初にMPEG方式でエンコードしたとき
と再エンコードを行うときとで、ピクチャタイプ、動き
ベクトル等の各種符号化パラメータが不一致となること
がある。2. Description of the Related Art In an editing process for an image signal encoded by the MPEG system, when an encoded image signal is decoded, and when the decoded image is re-encoded, a normal video signal is encoded. In some cases, the image quality is significantly deteriorated. As a cause of such image quality deterioration, various encoding parameters such as a picture type and a motion vector do not match before and after re-encoding, that is, when encoding is first performed by the MPEG method and when re-encoding is performed. is there.
【0003】このような符号化パラメータの不一致の
内、ピクチャタイプが不一致である場合について図9を
参照して説明する。図9Aにn=15の場合のGOP
(GroupOf Pictures)1つ分の入力復号画像、すなわち
再エンコードすべき復号画像についてピクチャタイプの
一例を示す。図9Bに示すようにピクチャタイプの位相
ロックを行う場合には、再エンコードの際の参照画像と
して、図9Aに示した入力復号画像中において(すなわ
ち最初にエンコードした際に)Iピクチャであったもの
がそのまま用いられる。The case where the picture type is not matched among the coding parameter mismatches will be described with reference to FIG. FIG. 9A shows a GOP when n = 15.
(GroupOf Pictures) An example of a picture type for one input decoded image, that is, a decoded image to be re-encoded is shown. When the picture type phase lock is performed as shown in FIG. 9B, the reference picture at the time of re-encoding is an I picture in the input decoded picture shown in FIG. 9A (that is, at the time of first encoding). The thing is used as it is.
【0004】これに対して、図9Cに示すように位相ロ
ックを行わない場合には、例えば3個目のピクチャのよ
うに、画質劣化の度合いが大きいBピクチャが再エンコ
ードの際の参照画像として用いられることになる。この
結果として、再エンコードの精度が低下し、大きな画質
劣化が生じることになる。On the other hand, when the phase lock is not performed as shown in FIG. 9C, a B picture having a high degree of image quality deterioration, such as a third picture, is used as a reference picture at the time of re-encoding. Will be used. As a result, the accuracy of re-encoding is reduced, and large image quality degradation occurs.
【0005】また、他の符号化パラメータ、例えば動き
ベクトルについて、再エンコードの前後で一致させず
に、再エンコード時に再計算を行って算出する値を使用
する場合にも、予測精度が低くなり、再エンコードの精
度が低下する。[0005] Also, in the case of using a value calculated by performing recalculation at the time of re-encoding without using the same value before and after re-encoding for other encoding parameters, for example, a motion vector, the prediction accuracy is reduced. The accuracy of re-encoding decreases.
【0006】一方、ピクチャタイプ、動きベクトルを含
む全ての符号化パラメータを再エンコードの前後で一致
させれば、再エンコードによる画質劣化はほとんど生じ
ない。ただし、符号化パラメータの数を増加させるに従
って取り扱う情報量が増大するので、全ての符号化パラ
メータを再エンコードの前後で一致させるような処理は
現実的でない。一般的には、ピクチャタイプ又は動きベ
クトルを再エンコードの前後で一致させれば、画質劣化
を相当量低減できることが可能であることが知られてい
る。On the other hand, if all the encoding parameters including the picture type and the motion vector are matched before and after the re-encoding, the image quality hardly deteriorates due to the re-encoding. However, since the amount of information to be handled increases as the number of encoding parameters increases, it is not practical to match all encoding parameters before and after re-encoding. In general, it is known that if the picture type or the motion vector is matched before and after re-encoding, it is possible to reduce image quality degradation by a considerable amount.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、高画質
が要求される場合には、ピクチャタイプ及び動きベクト
ルを再エンコードの前後で一致させようにしても、画質
劣化の抑制が十分でない。However, when high image quality is required, even if the picture type and the motion vector are matched before and after re-encoding, the suppression of image quality deterioration is not sufficient.
【0008】また、動きベクトルはマクロブロック単位
での動き情報を表現するものであり、その情報量は比較
的大きい。このため、再エンコード時の処理効率を向上
させるという観点から、動きベクトルを再エンコードを
行うエンコーダに供給することにより、再エンコードの
前後で動きベクトルを一致させる構成を採用できない場
合にも画質劣化の抑制に有効な、動きベクトルよりも情
報量が小さい符号化パラメータが必要とされる。[0008] A motion vector expresses motion information in macroblock units, and the amount of information is relatively large. For this reason, from the viewpoint of improving the processing efficiency at the time of re-encoding, by supplying the motion vector to the encoder that performs the re-encoding, the image quality can be degraded even when a configuration that matches the motion vector before and after the re-encoding cannot be adopted. A coding parameter that is effective for suppression and has a smaller amount of information than a motion vector is required.
【0009】したがって、この発明の目的は、画質劣化
を十分に抑制することが可能で、伝送すべき情報量が小
さくて済む、画像信号処理システム、デコーダ、画像信
号処理方法及び復号方法を提供することにある。Therefore, an object of the present invention is to provide an image signal processing system, a decoder, an image signal processing method, and a decoding method, which can sufficiently suppress image quality deterioration and require a small amount of information to be transmitted. It is in.
【0010】[0010]
【課題を解決するための手段】本発明に係る画像信号処
理システムは、入力された符号化画像信号の符号化パラ
メータの代表値として、符号化ビット量及び/又は平均
量子化スケールを生成し、上記入力された符号化画像信
号を復号して復号画像信号を生成し、生成した上記復号
画像信号とともに上記符号化パラメータを出力するデコ
ーダと、上記符号化パラメータを使用して、上記復号画
像信号に対する画像符号化を行うエンコーダとを有する
ことを特徴とする。An image signal processing system according to the present invention generates an encoded bit amount and / or an average quantization scale as representative values of encoding parameters of an input encoded image signal. A decoder for decoding the input coded image signal to generate a decoded image signal, and outputting the coding parameter together with the generated decoded image signal; and And an encoder for performing image encoding.
【0011】また、本発明に係る画像信号処理システム
は、入力された符号化画像信号を復号して復号画像信号
を生成し、生成した上記復号画像信号を伝送するための
信号フォ−マット中の無効期間に対応する信号部分に、
上記入力された符号化画像信号の符号化パラメータを重
畳して、上記復号画像信号とともに上記符号化パラメー
タを出力するデコーダと、上記符号化パラメータを使用
して、上記復号画像信号に対する画像符号化を行うエン
コーダを有することを特徴とする。Further, the image signal processing system according to the present invention decodes an input coded image signal to generate a decoded image signal, and generates a decoded image signal in a signal format for transmitting the decoded image signal. In the signal part corresponding to the invalid period,
A decoder that superimposes the coding parameters of the input coded image signal and outputs the coding parameter together with the decoded image signal, and uses the coding parameter to perform image coding on the decoded image signal. It is characterized by having an encoder to perform.
【0012】本発明に係るデコーダは、入力された符号
化画像信号の符号化パラメータの代表値として、符号化
ビット量及び/又は平均量子化スケールを生成する符号
化パラメータ生成手段と、上記入力された符号化画像信
号を復号化して復号画像信号を生成する復号手段とを備
え、上記符号化パラメータ生成手段により生成した上記
符号化パラメータを上記復号手段により生成した上記復
号画像信号とともに出力することを特徴とする。[0012] A decoder according to the present invention comprises: a coding parameter generating means for generating a coding bit amount and / or an average quantization scale as a representative value of coding parameters of an input coded image signal; Decoding means for decoding the encoded image signal to generate a decoded image signal, and outputting the encoding parameter generated by the encoding parameter generating means together with the decoded image signal generated by the decoding means. Features.
【0013】また、本発明に係るデコーダは、入力され
た符号化画像信号を復号して復号画像信号を生成する復
号手段と、上記復号手段により生成した上記復号画像信
号を伝送するための信号フォーマット中の無効期間に対
応する信号部分に、上記入力された符号化画像信号の符
号化パラメータを重畳して、上記復号画像信号とともに
上記符号化パラメータを出力する出力手段とを有するこ
とを特徴とする。Further, a decoder according to the present invention decodes an input coded image signal to generate a decoded image signal, and a signal format for transmitting the decoded image signal generated by the decoding means. Output means for superimposing the coding parameter of the input coded image signal on the signal portion corresponding to the invalid period in the output, and outputting the coding parameter together with the decoded image signal. .
【0014】本発明に係る画像信号処理方法は、入力さ
れた符号化画像信号の符号化パラメータの代表値とし
て、符号化ビット量及び/又は平均量子化スケールを生
成し、上記入力された符号化画像信号を復号して復号画
像信号を生成し、生成した上記復号画像信号とともに上
記符号化パラメータを出力し、上記符号化パラメータを
使用して、上記復号画像信号に対する画像符号化を行う
ことを特徴とする。In the image signal processing method according to the present invention, a coding bit amount and / or an average quantization scale is generated as a representative value of coding parameters of an input coded image signal. Decoding the image signal to generate a decoded image signal, outputting the encoding parameter together with the generated decoded image signal, and performing image encoding on the decoded image signal using the encoding parameter. And
【0015】また、本発明に係る画像信号処理方法は、
入力された符号化画像信号を復号して復号画像信号を生
成し、生成した上記復号画像信号を伝送するための信号
フォーマット中の無効期間に対応する信号部分に、上記
入力された符号化画像信号の符号化パラメータを重畳し
て、上記復号画像信号とともに上記符号化パラメータを
出力し、上記符号化パラメータを使用して、上記復号画
像信号に対する画像符号化を行うことを特徴とする。Further, the image signal processing method according to the present invention comprises:
The input coded image signal is generated by decoding the input coded image signal to generate a decoded image signal, and a signal portion corresponding to an invalid period in a signal format for transmitting the generated decoded image signal. And outputting the coding parameter together with the decoded image signal, and performing image coding on the decoded image signal using the coding parameter.
【0016】本発明に係る復号方法は、入力された符号
化画像信号の符号化パラメータの代表値として、符号化
ビット量及び/又は平均量子化スケールを生成し、上記
入力された符号化画像信号を復号化して復号画像信号を
生成し、上記符号化パラメータを上記復号画像信号とと
もに出力することを特徴とする。In the decoding method according to the present invention, a coding bit amount and / or an average quantization scale is generated as a representative value of a coding parameter of an input coded image signal. Is decoded to generate a decoded image signal, and the encoding parameter is output together with the decoded image signal.
【0017】また、本発明に係る復号方法は、入力され
た符号化画像信号を復号して復号画像信号を生成し、生
成した上記復号画像信号を伝送するための信号フォーマ
ット中の無効期間に対応する信号部分に、上記入力され
た符号化画像信号の符号化パラメータを重畳して、上記
復号画像信号とともに上記符号化パラメータを出力する
ことを特徴とする。Further, the decoding method according to the present invention decodes an input coded image signal to generate a decoded image signal, and corresponds to an invalid period in a signal format for transmitting the generated decoded image signal. The coding parameter of the input coded image signal is superimposed on the signal portion to be output, and the coding parameter is output together with the decoded image signal.
【0018】このような発明によれば、再エンコードを
行うエンコーダに、最初の画像符号化の際に使用した符
号化パラメータが供給される。このため、最初の画像間
圧縮符号化の際に使用したパラメータと同一の符号化パ
ラメータを使用して、再エンコードを行うことができ
る。According to the invention, the encoding parameter used at the time of the first image encoding is supplied to the encoder that performs the re-encoding. Therefore, re-encoding can be performed using the same encoding parameters as those used in the first inter-image compression encoding.
【0019】特に、符号化パラメータとして、最初のエ
ンコード時の符号化ビット量や平均量子化スケール等を
再エンコードを行うエンコーダに供給することにより、
再エンコードの前後で符号化ビット量を一致させる制御
を行うことが可能となる。In particular, by supplying an encoding bit amount at the time of the first encoding, an average quantization scale, and the like as encoding parameters to an encoder that performs re-encoding,
It is possible to perform control to match the coded bit amount before and after re-encoding.
【0020】[0020]
【発明の実施の形態】以下、この発明の実施の形態につ
いて図面を参照しながら詳細に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0021】まず、この発明における基本的な考え方に
ついてまず説明する。First, the basic concept of the present invention will be described.
【0022】各種符号化パラメータの画質劣化に与える
影響について実験等を含む検討を行った結果、再エンコ
ードの前後における符号化ビット量の違いが画質劣化の
要因の一つであることがわかった。再エンコードの前後
で符号化ビット量が違ってしまう原因は、最初のエンコ
ード時のレートコントロールと、再エンコード時のレー
トコントロールとが異なることにある。As a result of a study including an experiment and the like on the effects of various coding parameters on image quality deterioration, it was found that a difference in the amount of coded bits before and after re-encoding is one of the causes of image quality deterioration. The reason that the encoded bit amount differs before and after re-encoding is that the rate control at the time of the first encoding and the rate control at the time of re-encoding are different.
【0023】例えば、フィードフォワード型のレートコ
ントロールでは、画像の符号化難易度に応じてレートコ
ントロールを行う。この場合、一旦MPEG方式でエン
コードしたものをデコードした画像においては、最初の
エンコード時にBピクチャであった画像の情報量がIピ
クチャやPピクチャであったものに比べて少なくなって
いるので、Bピクチャの符号化難易度(後述するよう
に、圧縮の容易さを示すパラメータ)が低いと判断して
しまう。このため、再エンコードの前後でピクチャタイ
プを一致させて再エンコードする際に、Bピクチャのビ
ット量を下げるような制御を行う結果として画質劣化が
生じる。For example, in a feed-forward type rate control, the rate control is performed according to the degree of difficulty in coding an image. In this case, in an image that has been once decoded by the MPEG method and decoded, the information amount of the image that was a B picture at the time of the first encoding is smaller than that of an I picture or a P picture. It is determined that the encoding difficulty of the picture (a parameter indicating the ease of compression as described later) is low. For this reason, when re-encoding by matching the picture type before and after re-encoding, image quality is deteriorated as a result of performing control to reduce the bit amount of the B picture.
【0024】したがって、後述するようにして再エンコ
ードの前後で符号化ビット量が一致するように制御する
ことにより、画質劣化を抑制できる。また、さらに検討
を進めた結果、再エンコードの前後で符号化ビット量を
一致させることは、ピクチャタイプを一致させ、動きベ
クトルを一致させない場合においても有効であることが
わかった。Therefore, as will be described later, by controlling the encoded bit amounts before and after re-encoding so as to match, it is possible to suppress image quality deterioration. Furthermore, as a result of further study, it was found that matching the amount of encoded bits before and after re-encoding is effective even when the picture types are matched and the motion vectors are not matched.
【0025】再エンコードの前後で符号化ビット量を一
致させるためには、符号化ビット量自体を再エンコード
を行うエンコーダに供給する方法と、量子化スケールを
かかるエンコーダに供給する方法とがある。勿論、これ
らを両方ともかかるエンコーダに供給するようにしても
良い。量子化スケール自体は情報量が比較的大きいた
め、この発明においては、処理の効率及び簡便さを配慮
して、量子化スケールに代えて平均量子化スケールを使
用することとした。In order to match the coded bit amount before and after re-encoding, there are a method of supplying the coded bit amount itself to an encoder that performs re-encoding, and a method of supplying a quantization scale to such an encoder. Of course, both of them may be supplied to such an encoder. Since the quantization scale itself has a relatively large amount of information, in the present invention, an average quantization scale is used in place of the quantization scale in consideration of processing efficiency and simplicity.
【0026】上述の説明に沿って、再エンコード時の画
質劣化抑制のために使用し得る符号化パラメータの組合
せを整理すると以下のようになる。なお、これらの符号
化パラメータは、ピクチャ又はスライス単位を単位とす
るエンコード/デコードにおいて使用されるものであ
る。According to the above description, combinations of encoding parameters that can be used for suppressing image quality degradation during re-encoding are as follows. These encoding parameters are used in encoding / decoding in units of pictures or slices.
【0027】ピクチャタイプ、動きベクトル、符号化
ビット量、平均量子化スケール ピクチャタイプ、動きベクトル、符号化ビット量 ピクチャタイプ、動きベクトル、平均量子化スケール ピクチャタイプ、符号化ビット量、平均量子化スケー
ル ピクチャタイプ、符号化ビット量 ピクチャタイプ、平均量子化スケール ここで、符号化ビット量は、ピクチャ又はスライス単位
での符号かビット量の総和である。この値はバイト数で
表される値でよい。また、例えば、128byte(1kbi
t)を単位として丸めた値でもよい。Picture type, motion vector, coding bit amount, average quantization scale Picture type, motion vector, coding bit amount Picture type, motion vector, average quantization scale Picture type, coding bit amount, average quantization scale Picture type, coded bit amount Picture type, average quantization scale Here, the coded bit amount is the sum of the code or bit amount for each picture or slice. This value may be a value represented by the number of bytes. Also, for example, 128 bytes (1 kbi
The value may be rounded in units of t).
【0028】また、平均量子化スケールは、ピクチャ又
はスライス単位での有意なDCT係数を持つMB(マク
ロブロック)の平均値MB(マクロブロック)の量子化
スケールの平均値である。DCT係数を持つMBとは、
MPEGで定義されるSkipped MB及びnot coded MBを除
いたMBである。The average quantization scale is an average value of quantization scales of MBs (macroblocks) having significant DCT coefficients in units of pictures or slices. MB with DCT coefficient is
This is an MB excluding the skipped MB and not coded MB defined by MPEG.
【0029】なお、符号化画像信号が、すべてIピクチ
ャの場合、動きベクトルは存在せず、またピクチャタイ
プをエンコーダに入力する必要はない。When the coded image signals are all I pictures, there is no motion vector, and there is no need to input the picture type to the encoder.
【0030】図1を参照して、上述の組合せの内の例え
ばを実現するこの発明の一実施形態について説明す
る。MPEGデコーダ10は、MPEG方式で符号化さ
れた画像信号としてのビットストリームを供給される。
そして、このビットストリームに、再エンコードに先立
つ復号処理を施し、復号画像信号を生成して多重化器1
1に供給する。また、MPEGデコーダ10は、復号の
際に(したがって上述のビットストリームを生成する最
初の符号化の際に)使用したピクチャタイプ、動きベク
トル、ピクチャの符号化ビット量、及び平均量子化スケ
ールを、多重化器11及び端子16aに供給する。With reference to FIG. 1, an embodiment of the present invention for realizing, for example, one of the above-described combinations will be described. The MPEG decoder 10 is supplied with a bit stream as an image signal encoded by the MPEG method.
Then, the bit stream is subjected to a decoding process prior to re-encoding to generate a decoded image signal.
Feed to 1. The MPEG decoder 10 also calculates the picture type, the motion vector, the coded bit amount of the picture, and the average quantization scale used at the time of decoding (therefore, at the time of the first encoding for generating the above-described bit stream). The signal is supplied to the multiplexer 11 and the terminal 16a.
【0031】多重化器11は、これらの符号化パラメー
タを復号画像信号に重畳する。具体的には、所定の伝送
用信号フォーマット、例えば525ライン/60フィー
ルドシステムによって規定される復号画像信号のヘッダ
情報、ブランキング等の復号画像信号の空き領域にこれ
らの符号化パラメータを埋め込むようにすることができ
る。ブランキングに埋め込む場合には、例えばVB−I
Dフォーマットにおけるユーザ定義領域が使用できる。The multiplexer 11 superimposes these encoding parameters on the decoded image signal. Specifically, these encoding parameters are embedded in a predetermined transmission signal format, for example, header information of a decoded image signal defined by a 525 line / 60 field system, an empty area of the decoded image signal such as blanking, or the like. can do. When embedding in blanking, for example, VB-I
User defined areas in D format can be used.
【0032】多重化器11の出力が磁気テープ等の記録
媒体12を含む記録/再生系に供給され、記録媒体12
に記録される。再生側では、記録媒体12から再生され
た信号が分離器13に供給される。分離器13は、供給
される信号に埋め込まれていた符号化パラメータを分離
して端子16bに供給するとともに、画像信号をMPE
Gエンコーダ14に供給する。そして、スイッチ15が
端子16b側に倒されることによって分離器13からの
符号化パラメータが再エンコードを行うMPEGエンコ
ーダ14に供給される。これにより、復号の際に(した
がって上述のビットストリームを生成する最初の符号化
の際に)使用された符号化パラメータを使用して、再エ
ンコードを行うことが可能となる。The output of the multiplexer 11 is supplied to a recording / reproducing system including a recording medium 12 such as a magnetic tape.
Will be recorded. On the reproduction side, a signal reproduced from the recording medium 12 is supplied to the separator 13. The separator 13 separates the encoding parameter embedded in the supplied signal and supplies it to the terminal 16b, and also outputs the image signal to the MPE.
This is supplied to the G encoder 14. Then, when the switch 15 is turned to the terminal 16b side, the encoding parameters from the separator 13 are supplied to the MPEG encoder 14 that performs re-encoding. This allows re-encoding to be performed using the encoding parameters used during decoding (and thus during the first encoding to generate the bit stream described above).
【0033】一方、図1の構成によれば、復号の際に
(したがって上述のビットストリームを生成する最初の
符号化の際に)使用した符号化パラメータを直接MPE
Gエンコーダ14に供給し、かかる符号化パラメータを
使用して再エンコードを行うことも可能である。この場
合には、スイッチ15を端子16a側に倒すように制御
すれば良い。また、図1においては、各符号化パラメー
タはMPEGデコーダ10から出力するようになされて
いるが、ビットストリームから各符号化パラメータを取
り出し、取り出した各符号化パラメータを出力する構成
を、MPEGデコーダ20とは別個に設けても良い。On the other hand, according to the configuration of FIG. 1, the encoding parameters used at the time of decoding (therefore, at the time of the first encoding for generating the above-mentioned bit stream) are directly transmitted to the MPE.
It is also possible to supply to the G encoder 14 and perform re-encoding using such encoding parameters. In this case, control may be performed so that the switch 15 is moved to the terminal 16a side. In FIG. 1, each of the encoding parameters is output from the MPEG decoder 10. However, the configuration in which each of the encoding parameters is extracted from the bit stream and each of the extracted encoding parameters is output is described in the MPEG decoder 20. May be provided separately.
【0034】次に、図2を参照して、上述のの組合せ
を実現するこの発明の他の実施形態について説明する。
MPEG方式で符号化された画像信号としてのビットス
トリームがMPEGデコーダ20、動きベクトル及びピ
クチャタイプ取り出し回路22及び符号化ビット量カウ
ンタ23に供給される。MPEGデコーダ20は、供給
されるビットストリームを復号して復号画像信号を生成
する。そして、この復号画像信号をMPEGエンコーダ
21に供給する。Next, another embodiment of the present invention for realizing the above-mentioned combination will be described with reference to FIG.
A bit stream as an image signal encoded by the MPEG system is supplied to an MPEG decoder 20, a motion vector and picture type extracting circuit 22, and an encoded bit amount counter 23. The MPEG decoder 20 decodes the supplied bit stream to generate a decoded image signal. Then, the decoded image signal is supplied to the MPEG encoder 21.
【0035】また、動きベクトル及びピクチャタイプ取
り出し回路22は、ビットストリームから動きベクトル
及びピクチャタイプを取り出して、取り出した動きベク
トル及びピクチャタイプをMPEGエンコーダ21に供
給する。同様に、符号化ビット量カウンタ23は、ビッ
トストリームから符号化ビット量を計算して、計算した
符号化ビット量をMPEGエンコーダ21に供給する。
MPEGエンコーダ21は、このようにして供給される
動きベクトル、ピクチャタイプ及び符号化ビット量を使
用して、MPEGデコーダ20から供給される復号画像
信号を再エンコードする。The motion vector and picture type extracting circuit 22 extracts a motion vector and a picture type from a bit stream, and supplies the extracted motion vector and picture type to the MPEG encoder 21. Similarly, the coded bit amount counter 23 calculates the coded bit amount from the bit stream, and supplies the calculated coded bit amount to the MPEG encoder 21.
The MPEG encoder 21 re-encodes the decoded image signal supplied from the MPEG decoder 20 using the motion vector, the picture type, and the coded bit amount supplied in this manner.
【0036】次に、図3を参照して、上述のの組合せ
を実現するこの発明のさらに他の実施形態について説明
する。MPEG方式で符号化された画像信号としてのビ
ットストリームがMPEGデコーダ30、平均量子化ス
ケール取り出し回路32、動きベクトル及びピクチャタ
イプ取り出し回路33及び符号化ビット量カウンタ34
に供給される。MPEGデコーダ30は、供給されるビ
ットストリームを復号して復号画像信号を生成する。そ
して、この復号画像信号をMPEGエンコーダ31に供
給する。Next, another embodiment of the present invention for realizing the above-mentioned combination will be described with reference to FIG. A bit stream as an image signal encoded by the MPEG system is converted into an MPEG decoder 30, an average quantization scale extracting circuit 32, a motion vector and picture type extracting circuit 33, and an encoded bit amount counter.
Supplied to The MPEG decoder 30 decodes the supplied bit stream to generate a decoded image signal. Then, the decoded image signal is supplied to the MPEG encoder 31.
【0037】また、平均量子化スケール取り出し回路3
2は、ビットストリームから量子化スケールを取り出し
て、ピクチャ単位での平均量子化スケールを計算して、
その値をMPEGエンコーダ31に供給する。一方、動
きベクトル及びピクチャタイプ取り出し回路33は、ビ
ットストリームから動きベクトル及びピクチャタイプを
取り出して、取り出した動きベクトル及びピクチャタイ
プをMPEGエンコーダ31に供給する。The average quantization scale extracting circuit 3
2 extracts the quantization scale from the bit stream, calculates the average quantization scale for each picture,
The value is supplied to the MPEG encoder 31. On the other hand, the motion vector and picture type extracting circuit 33 extracts a motion vector and a picture type from the bit stream, and supplies the extracted motion vector and picture type to the MPEG encoder 31.
【0038】同様に、符号化ビット量カウンタ34は、
ビットストリームから符号化ビット量を計算してMPE
Gエンコーダ31に供給する。MPEGエンコーダ31
は、このようにして供給される平均量子化スケール、動
きベクトル、ピクチャタイプ及び符号化ビット量を使用
して、MPEGデコーダ30から供給される復号画像信
号を再エンコードする。Similarly, the coded bit amount counter 34
Calculates the amount of coded bits from the bit stream and MPE
This is supplied to the G encoder 31. MPEG encoder 31
Re-encodes the decoded image signal supplied from the MPEG decoder 30 using the average quantization scale, the motion vector, the picture type, and the coded bit amount supplied in this manner.
【0039】図2及び図3においては、ビットストリー
ムから各符号化パラメータを取り出す回路を、MPEG
デコーダ20とは別個のものとしている。これに対し、
各符号化パラメータはビットストリームに対する復号処
理においても得られるので、MPEGデコーダ20から
各符号化パラメータを出力するように構成しても良い。
また、何れかの符号化パラメータのビット量が伝送を行
う上で負担となる場合には、符号化ビット量、平均量子
化スケール等の符号化パラメータを、画質化が問題とな
らない程度に量子化して伝送するようにしても良い。こ
れにより、伝送される符号化パラメータの総情報量を削
減することができる。In FIG. 2 and FIG. 3, a circuit for extracting each encoding parameter from the bit stream is an MPEG circuit.
It is separate from the decoder 20. In contrast,
Since each encoding parameter is also obtained in the decoding process for the bit stream, the MPEG decoder 20 may be configured to output each encoding parameter.
If the bit amount of any of the coding parameters becomes a burden in transmission, the coding parameters such as the coding bit amount and the average quantization scale are quantized to such an extent that image quality does not matter. May be transmitted. This makes it possible to reduce the total information amount of the coding parameters to be transmitted.
【0040】また、上述したこの発明の一実施形態等
は、上述した組合せの内の又はを実現するものであ
るが、MPEGデコーダ10が上述した〜の組合せ
に対応する符号化パラメータを出力するようにし、MP
EGエンコーダ14がこれらの符号化パラメータを使用
してエンコードを行うように構成すれば、〜の組合
せを実現することが可能である。特に、〜の組合せ
を実現する構成においては、動きベクトルの伝送が不要
となるので、伝送される符号化パラメータの総情報量を
削減することができる。The above-described embodiment of the present invention realizes or among the above-described combinations. However, the MPEG decoder 10 outputs the encoding parameters corresponding to the above-mentioned combinations of the above. And MP
If the EG encoder 14 is configured to perform encoding using these encoding parameters, it is possible to realize a combination of the following. In particular, in the configuration that realizes the combination of the above, the transmission of the motion vector is not required, so that the total information amount of the transmitted coding parameters can be reduced.
【0041】上述したこの発明の一実施形態等における
再エンコードの手順について、図4のフローチャートを
参照して説明する。ここではの符号化パラメータの組
合せを前提として説明するが、他の組合せを用いる場合
も取り扱われる符号化パラメータの種類が変わるだけで
あり、略同様の手順による再エンコードを行うことが可
能である。The re-encoding procedure in the above-described embodiment of the present invention will be described with reference to the flowchart of FIG. Here, the description will be made on the assumption that the combination of the encoding parameters is used. However, when another combination is used, only the type of the encoding parameter to be handled is changed, and the re-encoding can be performed in substantially the same procedure.
【0042】ステップS1では、ビットストリームから
符号化ビット量を計算する。ステップS2では、ビット
ストリームから動きベクトル及びピクチャタイプを符号
化ビット量を抽出する。そして、ステップS3では、割
当てビット量を符号化ビット量として設定し、また、抽
出した動きベクトル、ピクチャタイプを使用してエンコ
ードを行う。さらに、ステップS4では、全てのフレー
ムに対してステップS3によるエンコードが終了したか
否かを判定する。ステップS4において全てのフレーム
に対してエンコードが終了したと判定した場合には再エ
ンコードを終了する。一方、ステップS4において全て
のフレームに対してはエンコードが終了していないと判
定した場合には、ステップS1に移行して残りのフレー
ムに対する処理を行う。In step S1, the amount of coded bits is calculated from the bit stream. In step S2, a motion vector and a picture type are extracted from the bit stream to encode bit amounts. Then, in step S3, the assigned bit amount is set as the coding bit amount, and encoding is performed using the extracted motion vector and picture type. Further, in step S4, it is determined whether or not the encoding in step S3 has been completed for all the frames. If it is determined in step S4 that encoding has been completed for all frames, re-encoding is terminated. On the other hand, if it is determined in step S4 that the encoding has not been completed for all the frames, the process proceeds to step S1 to perform processing on the remaining frames.
【0043】さらに、再エンコードを行うエンコーダに
供給される符号化パラメータを使用して行われるフィー
ドフォワードレートコントロールの手順について、図5
のフローチャートを参照して説明する。ここではの符
号化パラメータの組合せを前提として説明するが、他の
組合せを用いる場合も取り扱われる符号化パラメータの
種類が変わるだけで、略同様の手順による再エンコード
を行うことが可能である。FIG. 5 shows a procedure of feedforward rate control performed using the encoding parameters supplied to the encoder that performs re-encoding.
This will be described with reference to the flowchart of FIG. Here, the description will be given on the assumption that the combination of the encoding parameters is used. However, even when another combination is used, re-encoding can be performed in substantially the same procedure only by changing the type of the encoding parameter to be handled.
【0044】エンコード処理開始後、まず、ステップS
101ではピクチャの順番を表す変数pict_iを1
とする。これにより、最初のピクチャに対する処理を開
始する。ステップS102では、pict_i番目のピ
クチャに対する割当てビット量を元々の符号化ビット量
にセットする。次に、ステップS103では、ピクチャ
内のマクロブロックの順番を表す変数mb_iを1とし
て、最初のマクロブロックに対する処理を開始する。次
に、ステップS104では、学習符号化パラメータの初
期値を平均量子化スケールから以下の式(1)に従って
計算する。学習符号化パラメータは、量子化スケールの
計算(ステップS106)において使用される。After the encoding process starts, first, in step S
In 101, a variable pict_i representing the picture order is set to 1
And Thus, the processing for the first picture is started. In step S102, the bit amount allocated to the pict_i-th picture is set to the original coded bit amount. Next, in step S103, the variable mb_i representing the order of the macroblocks in the picture is set to 1, and the processing for the first macroblock is started. Next, in step S104, an initial value of the learning encoding parameter is calculated from the average quantization scale according to the following equation (1). The learning coding parameters are used in the calculation of the quantization scale (Step S106).
【0045】[0045]
【数1】 (Equation 1)
【0046】ここで、KQ〔1〕が学習符号化パラメー
タの初期値であり、MQTが平均量子化スケールであ
る。また、XA,KRはそれぞれ、以下の式(2)、
(4)に従って計算される。Here, KQ [1] is the initial value of the learning coding parameter, and MQT is the average quantization scale. XA and KR are respectively expressed by the following equation (2):
It is calculated according to (4).
【0047】[0047]
【数2】 (Equation 2)
【0048】ここで、target_bitは、ピクチ
ャ当たりの割当てビット量であり、ステップS102に
おいて元々の符号化ビット量にセットされたものであ
る。また、mb_i番目のピクチャに対する符号化難易
度x_mb〔mb_i〕は、以下の式(3)に従って計
算される。Here, target_bit is the allocated bit amount per picture, which is set to the original coded bit amount in step S102. The encoding difficulty x_mb [mb_i] for the mb_i-th picture is calculated according to the following equation (3).
【0049】[0049]
【数3】 (Equation 3)
【0050】ここで、fbit[mb_i]は、MBを
ある固定の量子化スケールで符号化した時の発生ビット
量の予測値である。fbit[mb_i]の計算は、I
ピクチャについては画像の平均値分離残差に基づいて行
い、また、P,Bピクチャについては、画像間の予測残
差に基づいて行う。また、weight_mb[mb_
i]は、画像劣化の目立ちやすさを示すパラメータであ
り、例えば画像の平坦度、明るさ、赤色度等から決定さ
れる。また、NMBは、フレーム内のマクロブロックの
総数である。Here, fbit [mb_i] is a predicted value of the amount of generated bits when the MB is coded on a fixed quantization scale. The calculation of fbit [mb_i] is I
For a picture, this is performed based on the average separation residual of the image, and for P and B pictures, it is performed based on the prediction residual between the images. Also, weight_mb [mb_
i] is a parameter indicating the degree of conspicuousness of image deterioration, and is determined from, for example, the flatness, brightness, redness, and the like of the image. NMB is the total number of macroblocks in the frame.
【0051】[0051]
【数4】 (Equation 4)
【0052】ここで、frame_rateは、1秒当
たりのフレーム数である。Here, frame_rate is the number of frames per second.
【0053】さらに、ステップS105では、mb_i
番目のマクロブロックに対する割当てビット量を以下の
式(5)に従って計算する。Further, in step S105, mb_i
The allocated bit amount for the macro block is calculated according to the following equation (5).
【0054】[0054]
【数5】 (Equation 5)
【0055】ここで、target_bit_mb[m
b_i]がmb_i番目の割当てビット量である。ま
た、符号化難易度 x_mb[mb_i]は、上述の式
(3)に従って計算される。Here, target_bit_mb [m
b_i] is the mb_i-th assigned bit amount. Further, the encoding difficulty x_mb [mb_i] is calculated according to the above equation (3).
【0056】次に、ステップS106では、mb_i番
目のマクロブロックに対する量子化スケールを以下の式
(6)に従って計算する。Next, in step S106, the quantization scale for the mb_i-th macroblock is calculated according to the following equation (6).
【0057】[0057]
【数6】 (Equation 6)
【0058】ここで、mQ[mb_i]がmb_i番目
のマクロブロックに対する量子化スケールであり、ま
た、KR,XA,weight_mb[mb_i]は上
述したものである。また、mb_i番目の学習符号化パ
ラメータKQ〔mb_i〕は、上述したステップS10
4によって初期設定され、その後、処理の進行に沿っ
て、後述するステップS108によって更新される。Here, mQ [mb_i] is the quantization scale for the mb_i-th macroblock, and KR, XA, and weight_mb [mb_i] are as described above. Further, the mb_i-th learning coding parameter KQ [mb_i] is calculated in step S10 described above.
4 and is updated by the later-described step S108 along with the progress of the processing.
【0059】ステップS107では、mb_i番目のマ
クロブロックの量子化及びエンコードを行う。そして、
ステップS108に移行し、学習符号化パラメータを以
下の式(7)に従って更新する。In step S107, the mb_i-th macroblock is quantized and encoded. And
The process proceeds to step S108, and the learning encoding parameter is updated according to the following equation (7).
【0060】[0060]
【数7】 (Equation 7)
【0061】ここで、frame_bit_gener
ated[mb_i]は、現在のピクチャのmb_i番
目のマクロブロックまでの総符号化ビット量であり、s
um_target_bit_mb[mb_i]は、m
b_i番目のマクロブロックまでの総割当てビット量で
ある。Here, frame_bit_gener
added [mb_i] is the total amount of coded bits up to the mb_i-th macroblock of the current picture,
um_target_bit_mb [mb_i] is m
This is the total allocated bit amount up to the b_i-th macroblock.
【0062】次に、ステップS109では、mb_iに
1を加算することにより、マクロブロックの番号を更新
する。そして、ステップS110においては、mb_i
が1ピクチャ当たりのマクロブロックの総数NMBより
大きいか否かを判定する。mb_iがNMBより大きい
と判定した場合には、そのピクチャに対する処理が終了
したと判断し、ステップS111に移行する。一方、m
b_iがNMB以下であると判定した場合には、ステッ
プS105に移行して、後続の(すなわちmb_iが1
増加した)マクロブロックに対する処理を開始する。Next, in step S109, the number of the macroblock is updated by adding 1 to mb_i. Then, in step S110, mb_i
Is larger than the total number NMB of macroblocks per picture. If it is determined that mb_i is larger than NMB, it is determined that the processing for the picture has been completed, and the flow shifts to step S111. On the other hand, m
When it is determined that b_i is equal to or smaller than NMB, the process proceeds to step S105, and the subsequent (that is, mb_i is 1).
Start processing for the (increased) macroblock.
【0063】ステップS111においては、上述したピ
クチャの番号を示すpict_iに1を加算する。さら
にステップS112に移行して、pict_iを処理の
単位とするピクチャ数、例えば1GOP当たりのピクチ
ャの総数NPICTより大きいか否かを判定する。ステ
ップS102においてpict_iがNPICT以下で
あると判定した場合には、ステップS102に移行して
後続の(すなわちpict_iが1増加した)ピクチャ
に対する処理を開始する。一方、ステップS112にお
いてpict_iがNPICTより大きいと判定した場
合には、そのGOP等の処理単位に対する処理が終了し
たと判断して、エンコードを終了する。In step S111, 1 is added to pict_i indicating the above-mentioned picture number. Further, the processing shifts to step S112, and it is determined whether or not the number of pictures using pict_i as a unit of processing, for example, the total number of pictures NPICT per GOP is larger. If it is determined in step S102 that pict_i is equal to or smaller than NPICT, the process shifts to step S102 to start processing for a subsequent picture (that is, pict_i has increased by 1). On the other hand, if it is determined in step S112 that pict_i is larger than NPICT, it is determined that the processing for the processing unit such as the GOP has been completed, and the encoding ends.
【0064】以上のようなレートコントロールの手順に
おいて、mb_i番目のマクロブロックに対する処理の
精度に関係するmb_i番目の量子化スケールは、ステ
ップS106において計算される。そして、この計算の
ために、学習符号化パラメータの値が使用される(式
(6)参照)。この学習符号化パラメータは、ステップ
S108において更新される(式(7)参照)が、初期
値は、ステップS104において、平均量子化スケール
から計算される(式(1)参照)。In the above-described rate control procedure, the mb_i-th quantization scale related to the processing accuracy of the mb_i-th macroblock is calculated in step S106. Then, for this calculation, the value of the learning coding parameter is used (see equation (6)). The learning encoding parameter is updated in step S108 (see equation (7)), but the initial value is calculated from the average quantization scale in step S104 (see equation (1)).
【0065】この際に使用される平均量子化スケールの
値は、上述したような構成によって伝送される、最初の
エンコードの際に使用された値である。このような処理
により、最初のエンコードの際に使用された平均量子化
スケールの値に基づいて適切なレートコントロールが行
われ、その結果として、再エンコードの前後で符号化ビ
ット量を一致させる制御が可能である。The value of the average quantization scale used at this time is the value used at the time of the first encoding transmitted by the above-described configuration. By such processing, appropriate rate control is performed based on the value of the average quantization scale used at the time of the first encoding, and as a result, control to match the encoded bit amount before and after re-encoding is performed. It is possible.
【0066】なお、上述の説明では、再エンコードの前
後でピクチャの符号化ビット量を一致させる場合を説明
したが、次に、再エンコードをして符号化ビット量を変
更する場合のレートコントロール方法を説明する。処理
の流れは、図5のフローチャートと同じであり、ステッ
プS102とステップS104での処理の細かい内容が
異なる。In the above description, the case where the coded bit amount of the picture is matched before and after the re-encoding has been described. Next, the rate control method for changing the coded bit amount by performing the re-encoding. Will be described. The flow of the process is the same as that of the flowchart of FIG. 5, and the details of the process in step S102 and step S104 are different.
【0067】すなわち、例えば、元々の符号化ビットス
トリームのビットレートをR1とし、それを再エンコー
ドして作る符号化ビットストリームのビットレートをR
2とするとき、図5のフローチャートのステップS10
2でのピクチャの割当てビット量の設定は、次の式
(8)に基づいて行われる。That is, for example, assume that the bit rate of the original coded bit stream is R1, and the bit rate of the coded bit stream created by re-encoding it is R1.
When it is set to 2, step S10 in the flowchart of FIG.
The setting of the number of bits to be allocated to the picture in 2 is performed based on the following equation (8).
【0068】[0068]
【数8】 (Equation 8)
【0069】ここで、picture_bit_siz
eは、元々の符号化ピットストリームのピクチャの符号
化ビット量であり、 target_bitは、再エン
コードするピクチャの割当てビット量である。Here, picture_bit_siz
e is the coding bit amount of the picture of the original coding pit stream, and target_bit is the assigned bit amount of the picture to be re-encoded.
【0070】また、図5のフローチャートのステップS
104での学習符号化パラメータの初期値を次のように
設定する。これは、上述の式(1)のKQ〔1〕の計算
を置き換えるものである。Further, step S in the flowchart of FIG.
The initial value of the learning coding parameter at 104 is set as follows. This replaces the calculation of KQ [1] in equation (1) above.
【0071】[0071]
【数9】 (Equation 9)
【0072】ここでMQTは、元々の符号化ピットスト
リームの平均量子化スケールである。その他の変数は先
に説明した変数と同じで意味である。Where MQT is the average quantization scale of the original coded pit stream. Other variables have the same meanings as the variables described above.
【0073】なお、MPEGの場合では、ピクチャタイ
プと同様に、マクロブロックタイプが3種類ある。すな
わち、フレーム内符号化(Intra) マクロブロックと、過
去から未来を予測する前方向(Forward)フレーム間予測
マクロブロックと、未来から過去を予測する後方向(Bac
kward) フレーム間予測マクロブロックと、前後両方向
から予測する内挿的(Interpolative) マクロブロックと
がある。Note that in the case of MPEG, there are three types of macroblocks, similar to the picture type. That is, an intra-coded (Intra) macroblock, a forward (Forward) inter-frame prediction macroblock that predicts the future from the past, and a backward (Bac) macroblock that predicts the past from the future.
kward) There are an inter-frame prediction macro block and an interpolative macro block predicting from both forward and backward directions.
【0074】Iピクチャ内の全てのマクロブロックは、
フレーム内符号化マクロブロックである。また、Pピク
チャ内には、フレーム内符号化マクロブロックと前方向
フレーム間予測マクロブロックとが含まれる。Bピクチ
ャ内には、上述した4種類の全てのタイプのマクロブロ
ックが含まれる。All macroblocks in an I picture are
This is an intra-coded macroblock. The P picture includes an intra-frame coded macro block and a forward inter-frame prediction macro block. The B picture includes all four types of macroblocks described above.
【0075】この発明は、より具体的には、入力される
アナログ映像信号をディジタル映像信号に変換し圧縮し
てから、又は直接入力されるディジタル映像信号を圧縮
してから記録媒体である光ディスクに記録するととも
に、この光ディスクに記録された圧縮ディジタル映像信
号を伸長して再生する映像信号記録再生装置に対して適
用することができる。More specifically, the present invention relates to a method for converting an input analog video signal into a digital video signal and compressing the converted digital video signal, or compressing a directly input digital video signal and then compressing the digital video signal. The present invention can be applied to a video signal recording / reproducing apparatus which records and expands and reproduces a compressed digital video signal recorded on the optical disk.
【0076】まず、記録処理系の構成と動作について説
明する。図6において、入力端子61にはディジタル映
像信号が直接供給され、また、入力端子62にはアナロ
グ映像信号が供給される。アナログ映像信号は、撮像信
号、アンテナで受信した放送映像信号等である。アナロ
グ映像信号は、A/D変換部63によりディジタル映像
信号へ変換される。入力端子61からのディジタル映像
信号及びA/D変換部63からのディジタル映像信号が
映像信号制御部64を介してMPEGエンコーダ65に
供給される。First, the configuration and operation of the recording processing system will be described. In FIG. 6, a digital video signal is directly supplied to an input terminal 61, and an analog video signal is supplied to an input terminal 62. The analog video signal is an image signal, a broadcast video signal received by an antenna, or the like. The analog video signal is converted into a digital video signal by the A / D converter 63. The digital video signal from the input terminal 61 and the digital video signal from the A / D converter 63 are supplied to the MPEG encoder 65 via the video signal controller 64.
【0077】映像信号制御部64では、ユーザーの設定
に従って記録制御信号入力部74を介して得た情報に基
づいたシステムコントローラ75の制御に応じて、A/
D変換部63からのディジタル映像入力、入力端子61
から入力されるディジタル映像入力のいずれ一つを選択
してMPEGエンコーダ65に供給する。MPEGエン
コーダ65は、映像信号制御部64からの映像信号に対
してMPEGによる圧縮符号化を施す。The video signal control unit 64 controls the A / A in accordance with the control of the system controller 75 based on the information obtained via the recording control signal input unit 74 in accordance with the setting of the user.
Digital video input from D conversion unit 63, input terminal 61
And selects one of the digital video input signals supplied from the above and supplies it to the MPEG encoder 65. The MPEG encoder 65 performs MPEG compression coding on the video signal from the video signal control unit 64.
【0078】MPEGエンコーダ65で圧縮されたディ
ジタル映像信号は、バスを介して、システムコントロー
ラ75によって制御されるメモリ制御部67によりアド
レスが指定され、統合バッファメモリ66の記録系用バ
ッファメモリ部66aに格納される。The address of the digital video signal compressed by the MPEG encoder 65 is specified by a memory control section 67 controlled by a system controller 75 via a bus, and the digital video signal is stored in a recording buffer memory section 66 a of an integrated buffer memory 66. Is stored.
【0079】記録系用バッファメモリ部66aに格納さ
れたディジタル映像信号は、バス、データ処理部68及
び記録再生切替えスイッチ69を介して光ディスクドラ
イブに供給される。データ処理部68は、記録信号処理
部68aと再生信号処理部68bからなる。記録信号処
理部68aは、エラー訂正符号化、ディジタル変調等の
処理を行い、再生信号処理部68bは、エラー訂正、デ
ィジタル変調の復調等の処理を行う。光ディスクドライ
ブは、光ディスク71に記録用のレーザ光を照射して信
号を記録するとともに、再生用のレーザ光を照射して信
号を再生するための光ヘッド70と、光ディスク71を
回転駆動するスピンドルモータ72とを備えている。光
ヘッド70とスピンドルモータ72は、ディスク/ヘッ
ド制御部73により制御される。光ヘッド70によっ
て、記録信号処理部68aの出力信号が光ディスク71
に記録される。光ディスク71は、書換え可能なもの
で、MO(光磁気)ディスク、相変化型ディスク等を使
用できる。The digital video signal stored in the recording buffer memory 66a is supplied to the optical disk drive via the bus, the data processor 68 and the recording / reproduction switch 69. The data processing unit 68 includes a recording signal processing unit 68a and a reproduction signal processing unit 68b. The recording signal processing section 68a performs processing such as error correction encoding and digital modulation, and the reproduction signal processing section 68b performs processing such as error correction and demodulation of digital modulation. The optical disk drive irradiates an optical disk 71 with a recording laser beam to record a signal, and irradiates a reproduction laser beam to reproduce a signal, and a spindle motor for rotating and driving the optical disk 71. 72. The optical head 70 and the spindle motor 72 are controlled by a disk / head controller 73. The optical head 70 converts the output signal of the recording signal processor 68a into an optical disk 71.
Will be recorded. The optical disk 71 is rewritable, and an MO (magneto-optical) disk, a phase change type disk, or the like can be used.
【0080】システムコントローラ75は、光ディスク
ドライブの制御をディスク/ヘッド制御部73を介して
行うとともに、光ディスクドライブの状態も管理してお
り、その情報をメモリ制御部67に伝え、統合バッファ
メモリ66からのデータの供給の制御を行う。The system controller 75 controls the optical disk drive via the disk / head control unit 73 and also manages the state of the optical disk drive. The system controller 75 transmits the information to the memory control unit 67 and transmits the information to the integrated buffer memory 66. The control of the data supply is performed.
【0081】次に、再生処理系について説明する。再生
処理系は、バスを介して統合バッファメモリ66の再生
系用バッファメモリ部66bから供給される再生信号を
復号するMPEGデコーダ77と、MPEGデコーダ7
7からの復号映像信号を切り換える映像信号制御部64
と、映像信号制御部64で切り換えられた映像信号をア
ナログ映像信号に変換するD/A変換部79とを備えて
いる。Next, the reproduction processing system will be described. The reproduction processing system includes an MPEG decoder 77 for decoding a reproduction signal supplied from the reproduction system buffer memory unit 66b of the integrated buffer memory 66 via the bus, and an MPEG decoder 7
Video signal controller 64 for switching the decoded video signal from
And a D / A converter 79 for converting the video signal switched by the video signal controller 64 into an analog video signal.
【0082】再生モード時、光ディスクドライブは、デ
ィスク/ヘッド制御部73によりサーボ、ヘッド移動等
が制御され、再生信号をデータ処理部68の再生信号処
理部68b、バスを介して再生系用バッファメモリ部6
6bに出力する。再生系用バッファメモリ部66bは、
再生信号の書き込みと読み出しのバランスを取りなが
ら、再生映像信号をMPEGデコーダ77に供給する。
MPEGデコーダ77は、再生信号に対してMPEG復
号処理を施し、復号映像信号を映像信号制御部64に供
給する。In the reproduction mode, the optical disk drive is controlled by the disk / head control unit 73 to control the servo and head movement, and reproduces the reproduction signal via the reproduction signal processing unit 68b of the data processing unit 68 and the reproduction system buffer memory via the bus. Part 6
6b. The reproduction-system buffer memory unit 66b includes:
The reproduction video signal is supplied to the MPEG decoder 77 while balancing the writing and reading of the reproduction signal.
The MPEG decoder 77 performs an MPEG decoding process on the reproduced signal, and supplies the decoded video signal to the video signal control unit 64.
【0083】映像信号制御部64は、ユーザの設定に従
って再生制御信号入力部76を介して得た情報に基づい
たシステムコントローラ75により制御され、MPEG
デコーダ77からの復号映像信号に対して切り換え処理
を施し、復号映像信号をD/A変換部79又は出力端子
78に出力する。D/A変換部79は、映像信号制御部
64で切り換え制御されたディジタル映像信号をアナロ
グ映像信号に変換し、アナログ映像信号を出力端子78
に出力する。The video signal control section 64 is controlled by a system controller 75 based on information obtained via a reproduction control signal input section 76 in accordance with a user's setting, and is controlled by the MPEG.
Switching processing is performed on the decoded video signal from the decoder 77, and the decoded video signal is output to the D / A converter 79 or the output terminal 78. The D / A converter 79 converts the digital video signal switched and controlled by the video signal controller 64 into an analog video signal, and converts the analog video signal into an output terminal 78.
Output to
【0084】映像信号制御部64は、切り換えスイッチ
SW1と切り換えスイッチSW2とからなる。切り換え
スイッチSW1は、入力端子61からのディジタル映像
信号入力が供給される入力端子aと、A/D変換部63
からのディジタル映像信号が供給される入力端子bと、
MPEGデコーダ77からの復号映像信号が供給される
入力端子cと、MPEGエンコーダ65に映像信号を入
力する出力端子dとを備えている。また、切り換えスイ
ッチSW2は、入力端子61からのディジタル映像信号
が供給される入力端子eと、MPEGデコーダ77から
の復号映像信号が供給される入力端子fと、出力端子7
8及びD/A変換部79に映像信号を出力する出力端子
gとを備えている。The video signal control section 64 comprises a changeover switch SW1 and a changeover switch SW2. The changeover switch SW1 has an input terminal a to which a digital video signal input from the input terminal 61 is supplied, and an A / D converter 63
An input terminal b to which a digital video signal from
An input terminal c to which a decoded video signal from the MPEG decoder 77 is supplied and an output terminal d to input a video signal to the MPEG encoder 65 are provided. The changeover switch SW2 has an input terminal e to which a digital video signal from the input terminal 61 is supplied, an input terminal f to which a decoded video signal from the MPEG decoder 77 is supplied, and an output terminal
8 and an output terminal g for outputting a video signal to the D / A converter 79.
【0085】この映像信号制御部64におけるスイッチ
SW1及びスイッチSW2の切り換えは、システムコン
トローラ75により制御される。具体的には、システム
コントローラ75に記録制御信号入力部74を介して供
給されたユーザからの指令が、入力端子61からの外部
ディジタル映像信号指定するものであれば、スイッチS
W1の入力端子aが出力端子dに接続される。また、入
力端子62からの映像信号を指定するものであれば、入
力端子bが出力端子dに接続される。The switching of the switches SW1 and SW2 in the video signal control section 64 is controlled by the system controller 75. More specifically, if the command from the user supplied to the system controller 75 via the recording control signal input unit 74 specifies the external digital video signal from the input terminal 61, the switch S
The input terminal a of W1 is connected to the output terminal d. If the video signal from the input terminal 62 is designated, the input terminal b is connected to the output terminal d.
【0086】さらに、何れかの映像入力と光ディスクド
ライブで再生した映像データとを繋ぎ編集して再度光デ
ィスク71に記録するという指令であれば、システムコ
ントローラ75が出力端子dを入力端子cに接続するタ
イミングを制御する。すなわち、MPEGデコーダ77
からの復号出力を直接MPEGエンコーダ65に供給
し、再符号化する。Further, if there is a command to connect any video input and video data reproduced by the optical disk drive to edit and record it again on the optical disk 71, the system controller 75 connects the output terminal d to the input terminal c. Control the timing. That is, the MPEG decoder 77
Is supplied directly to the MPEG encoder 65 for re-encoding.
【0087】なお、この映像信号記録再生装置は、記録
系用と再生系用の記憶領域の割当てを可変する統合バッ
ファメモリ66と、記録モード又は再生モードに応じて
統合バッファメモリ66の記憶領域割当て処理かシステ
ムコントローラ75により制御される。すなわち、記録
系用バッファメモリ部66aと再生系用バッファメモリ
部66bは、メモリ制御部67を介したシステムコント
ローラ75の制御により、そのエリアを可変とする。例
えば、記録時には、記録系用バッファメモリ部66a
は、統合バッファメモリ66の全てを占める。また、再
生時には、再生系用バッファメモリ部66bが全てを占
める。また、同時記録再生時には、半分ずつメモリ容量
を確保するようにしてもよい。The video signal recording / reproducing apparatus includes an integrated buffer memory 66 for changing the allocation of storage areas for the recording system and the reproduction system, and a storage area allocation for the integrated buffer memory 66 according to the recording mode or the reproduction mode. The processing is controlled by the system controller 75. That is, the areas of the recording-system buffer memory unit 66a and the reproduction-system buffer memory unit 66b are variable under the control of the system controller 75 via the memory control unit 67. For example, at the time of recording, the recording system buffer memory 66a
Occupies all of the integrated buffer memory 66. At the time of reproduction, the reproduction system buffer memory unit 66b occupies all. In addition, at the time of simultaneous recording and reproduction, half of the memory capacity may be secured.
【0088】また、この発明による再エンコードを編集
点付近のみにおいて適用し、それ以外の部分では、ビッ
トストリームを切り替えるような編集処理を行っても良
い。Further, the re-encoding according to the present invention may be applied only near the editing point, and in other parts, an editing process for switching the bit stream may be performed.
【0089】次に、従来の再エンコードを比較対象とし
て、この発明による再エンコードの効果について説明す
る。比較は、国際無線通信諮問委員会(CCIR)の基
準において画質劣化の程度を調べるための標準的な5つ
のシーケンス(bus,bicycle,mobil&calender,flower
garden及びcheerleader)について再エンコードを行っ
た時のSNR(Signal Nioze Rate)を用いて行う。1画
素当たり8ビットの画像信号について、SNRは以下の
式(10)に従って算出される。Next, the effect of the re-encoding according to the present invention will be described with reference to the conventional re-encoding. The comparison is based on the standard five sequences (bus, bicycle, mobil & calender, flower) for examining the degree of image quality deterioration according to the standards of the International Council for Wireless Communications (CCIR).
This is performed using SNR (Signal Nioze Rate) when re-encoding is performed for garden and cheerleader. For an image signal of 8 bits per pixel, the SNR is calculated according to the following equation (10).
【0090】[0090]
【数10】 (Equation 10)
【0091】ここで、pixel_numは1ピクチャ
当たりの画素数である。また、MeanErrorは1
画素当たりの平均的な誤り数であり、以下の式(11)
に従って計算される。Here, pixel_num is the number of pixels per picture. Also, MeanError is 1
This is the average number of errors per pixel, and is expressed by the following equation (11).
Is calculated according to
【0092】[0092]
【数11】 [Equation 11]
【0093】ここで、SumErrorは全画素につい
ての誤り総数であり、以下の式(12)に従って計算さ
れる。Here, SumError is the total number of errors for all pixels, and is calculated according to the following equation (12).
【0094】[0094]
【数12】 (Equation 12)
【0095】ここで、Orgi はオリジナル画像のi番
目の画素値である。また、Curiは符号化画像のi番
目の画素値である。[0095] Here, Org i is the i th pixel value of the original image. Cur i is the i-th pixel value of the encoded image.
【0096】図7に、ピクチャタイプ及び動きベクトル
を再エンコード時と最初のエンコード時とで一致させて
なる従来の再エンコードと、ピクチャタイプ及び動きベ
クトルに加えて符号化ビット量をも再エンコード時と最
初のエンコード時とで一致させてなるこの発明による再
エンコードとについて、SNRの比較の一例を示した。
5個のシーケンスの何れについても、この発明による再
エンコードを行った場合のSNRの方が高い値を示して
おり、この発明が画質劣化の抑制に有効であることがわ
かる。FIG. 7 shows the conventional re-encoding in which the picture type and the motion vector are matched between the re-encoding and the first encoding, and the re-encoding of the coded bit amount in addition to the picture type and the motion vector. An example of the comparison of the SNR is shown for the re-encoding according to the present invention and the re-encoding according to the present invention, which is made to coincide with the time of the first encoding.
For any of the five sequences, the SNR when re-encoding according to the present invention is higher shows a higher value, which indicates that the present invention is effective in suppressing image quality deterioration.
【0097】また、図8に、ピクチャタイプのみを再エ
ンコード時と最初のエンコード時とで一致させてなる従
来の再エンコードと、ピクチャタイプに加えて符号化ビ
ット量をも再エンコード時と最初のエンコード時とで一
致させてなるこの発明による再エンコードについて、S
NRの比較の一例を示した。図8においても、5個のシ
ーケンスの何れについてもこの発明による再エンコード
を行った場合のSNRの方が高い値を示しており、この
発明が画質劣化の抑制に有効であることがわかる。FIG. 8 shows the conventional re-encoding in which only the picture type is matched at the time of re-encoding and the first encoding, and the encoding bit amount in addition to the picture type and the initial encoding. Regarding re-encoding according to the present invention, which is matched at the time of encoding,
An example of NR comparison was shown. In FIG. 8 as well, the SNR when re-encoding according to the present invention is performed for any of the five sequences shows a higher value, indicating that the present invention is effective in suppressing image quality degradation.
【0098】[0098]
【発明の効果】上述したように、この発明では、再エン
コード時に、入力された符号化画像信号の符号化パラメ
ータの代表値として、符号化ビット量及び/又は平均量
子化スケールを生成し、上記入力された符号化画像信号
を復号して復号画像信号を生成し、生成した上記復号画
像信号とともに上記符号化パラメータを出力し、上記符
号化パラメータを使用して、上記復号画像信号に対する
画像符号化を行うので、再エンコード時に使用する符号
化ビット量、平均量子化スケール等の符号化パラメータ
を、最初のエンコード時に用いたものと一致させること
ができる。それにより、再エンコード時と最初のエンコ
ード時について符号化ビット量を一致させることができ
る。As described above, according to the present invention, at the time of re-encoding, a coding bit amount and / or an average quantization scale are generated as representative values of coding parameters of an input coded image signal. Decoding the input encoded image signal to generate a decoded image signal, outputting the encoding parameter together with the generated decoded image signal, and using the encoding parameter to perform image encoding on the decoded image signal. Is performed, the coding parameters such as the coding bit amount and the average quantization scale used at the time of re-encoding can be made to match those used at the time of the first encoding. As a result, the amount of encoded bits can be matched between re-encoding and initial encoding.
【0099】一般には、エンコードにおけるレートコン
トロールは画像の符号化難易度に応じて異なったものと
なり、その結果として符号化ビット量が変動する。そし
て、このような符号化ビット量の変動が再エンコードに
おける画質劣化を生じさせる。したがって、再エンコー
ド時と最初のエンコード時の符号化ビット量を一致させ
る上述の処理によって、画質劣化を抑制することができ
る。In general, the rate control in encoding differs depending on the degree of difficulty in encoding an image, and as a result, the amount of encoded bits fluctuates. Such a change in the amount of coded bits causes image quality degradation in re-encoding. Therefore, image quality deterioration can be suppressed by the above-described processing for matching the coded bit amounts at the time of re-encoding and the first encoding.
【0100】また、このようにして符号化ビット量を一
致させることは、ピクチャタイプを一致させ、動きベク
トルを一致させない場合においても画質劣化の抑制に有
効である。かかる点を考慮して、要求される画質によっ
ては、再エンコードの前後で動きベクトルを一致させる
ための動きベクトルの伝送を行わないようにしても良
い。このような場合、符号化パラメータを伝送するため
の総ビット量を削減することができ、伝送に係る構成を
簡略化及び低コスト化することができるので、装置全体
についての回路構成の簡略化及び低コスト化に寄与する
ことができる。In addition, matching the amount of encoded bits in this way is effective in suppressing image quality degradation even when the picture types are matched and the motion vectors are not matched. In consideration of this point, depending on the required image quality, transmission of a motion vector for matching a motion vector before and after re-encoding may not be performed. In such a case, the total bit amount for transmitting the encoding parameters can be reduced, and the configuration related to the transmission can be simplified and the cost can be reduced. This can contribute to cost reduction.
【図1】この発明の一実施形態について説明するための
ブロック図である。FIG. 1 is a block diagram for describing an embodiment of the present invention.
【図2】この発明の他の実施形態について説明するため
のブロック図である。FIG. 2 is a block diagram for explaining another embodiment of the present invention.
【図3】この発明のさらに他の実施形態について説明す
るためのブロック図である。FIG. 3 is a block diagram for explaining still another embodiment of the present invention.
【図4】この発明による再エンコードの手順について説
明するためのフローチャートである。FIG. 4 is a flowchart for explaining a re-encoding procedure according to the present invention.
【図5】この発明による再エンコードにおけるレートコ
ントロールの手順について説明するためのフローチャー
トである。FIG. 5 is a flowchart for explaining a rate control procedure in re-encoding according to the present invention.
【図6】この発明を適用することができる画像信号処理
システムについて説明するためのブロック図である。FIG. 6 is a block diagram for describing an image signal processing system to which the present invention can be applied.
【図7】この発明の効果の一例について説明するための
略線図である。FIG. 7 is a schematic diagram for explaining an example of the effect of the present invention.
【図8】この発明の効果の他の一例について説明するた
めの略線図である。FIG. 8 is a schematic diagram for explaining another example of the effect of the present invention.
【図9】再エンコードの前後でピクチャタイプが一致し
ない場合の問題点について説明するための略線図であ
る。FIG. 9 is a schematic diagram for explaining a problem when picture types do not match before and after re-encoding.
1,11 多重化器、13 分離器、14,21,31
MPEGエンコーダ、23、34 符号化ビット量カ
ウンタ、32 平均量子化スケール取り出し回路1,11 multiplexer, 13 separator, 14, 21, 31
MPEG encoder, 23, 34 Encoding bit amount counter, 32 Average quantization scale extraction circuit
Claims (24)
メータの代表値として、符号化ビット量及び/又は平均
量子化スケールを生成し、上記入力された符号化画像信
号を復号して復号画像信号を生成し、生成した上記復号
画像信号とともに上記符号化パラメータを出力するデコ
ーダと、 上記符号化パラメータを使用して、上記復号画像信号に
対する画像符号化を行うエンコーダとを有することを特
徴とする画像信号処理システム。An encoded bit amount and / or an average quantization scale is generated as a representative value of an encoding parameter of an input encoded image signal, and the input encoded image signal is decoded to decode a decoded image. A decoder that generates a signal and outputs the encoding parameter together with the generated decoded image signal; and an encoder that performs image encoding on the decoded image signal using the encoding parameter. Image signal processing system.
として、符号化ビット量及び/又は平均量子化スケール
に加えて、ピクチャタイプ及び/又は動きベクトルを上
記復号画像信号とともに出力することを特徴とする請求
項1記載の画像信号処理システム。2. The decoder outputs a picture type and / or a motion vector together with the decoded image signal as the encoding parameter, in addition to an encoded bit amount and / or an average quantization scale. The image signal processing system according to claim 1.
て、画像符号化を行う際に使用される符号化パラメータ
を上記復号画像信号とともに出力することを特徴とする
請求項1記載の画像信号処理システム。3. The image signal processing system according to claim 1, wherein the decoder outputs, on a picture basis, an encoding parameter used when performing image encoding together with the decoded image signal.
て、画像符号化を行う際に使用される符号化パラメータ
を上記復号画像信号とともに出力することを特徴とする
請求項1記載の画像信号処理システム。4. The image signal processing system according to claim 1, wherein the decoder outputs, in units of slices, an encoding parameter used when performing image encoding together with the decoded image signal.
ット量及び/又は平均量子化スケールに基づいてレート
コントロールを行うことを特徴とする請求項1記載の画
像信号処理システム。5. The image signal processing system according to claim 1, wherein said encoder performs rate control based on an input coded bit amount and / or an average quantization scale.
号画像信号を生成し、生成した上記復号画像信号を伝送
するための信号フォ−マット中の無効期間に対応する信
号部分に、上記入力された符号化画像信号の符号化パラ
メータを重畳して、上記復号画像信号とともに上記符号
化パラメータを出力するデコーダと、 上記符号化パラメータを使用して、上記復号画像信号に
対する画像符号化を行うエンコーダを有することを特徴
とする画像信号処理システム。6. A decoded image signal is generated by decoding an input coded image signal, and a signal portion corresponding to an invalid period in a signal format for transmitting the generated decoded image signal is provided. A decoder that superimposes the coding parameters of the input coded image signal and outputs the coding parameter together with the decoded image signal; and performs image coding on the decoded image signal using the coding parameter. An image signal processing system comprising an encoder.
信号の符号化パラメータの代表値として、符号化ビット
量及び/又は平均量子化スケールを生成し、生成した符
号化パラメータを上記復号画像信号とともに出力するこ
とを特徴とする請求項6記載の画像信号処理システム。7. The decoder generates a coding bit amount and / or an average quantization scale as a representative value of coding parameters of an input coded image signal, and outputs the generated coding parameter to the decoded image signal. The image signal processing system according to claim 6, wherein the image signal is output together with the image signal.
として、符号化ビット量及び/又は平均量子化スケール
に加えて、ピクチャタイプ及び/又は動きベクトルを上
記復号画像信号とともに出力することを特徴とする請求
項7記載の画像信号処理システム。8. The decoder outputs a picture type and / or a motion vector together with the decoded image signal as the coding parameter, in addition to a coding bit amount and / or an average quantization scale. The image signal processing system according to claim 7.
て、画像符号化を行う際に使用される符号化パラメータ
を上記復号画像信号とともに出力することを特徴とする
請求項7記載の画像信号処理システム。9. The image signal processing system according to claim 7, wherein said decoder outputs, together with said decoded image signal, an encoding parameter used when performing image encoding on a picture basis.
て、画像符号化を行う際に使用される符号化パラメータ
を上記復号画像信号とともに出力することを特徴とする
請求項7記載の画像信号処理システム。10. The image signal processing system according to claim 7, wherein the decoder outputs, in units of slices, an encoding parameter used when performing image encoding together with the decoded image signal.
ビット量及び/又は平均量子化スケールに基づいてレー
トコントロールを行うことを特徴とする請求項7記載の
画像信号処理システム。11. The image signal processing system according to claim 7, wherein said encoder performs rate control based on an input coded bit amount and / or an average quantization scale.
ラメータの代表値として、符号化ビット量及び/又は平
均量子化スケールを生成する符号化パラメータ生成手段
と、 上記入力された符号化画像信号を復号化して復号画像信
号を生成する復号手段とを備え、 上記符号化パラメータ生成手段により生成した上記符号
化パラメータを上記復号手段により生成した上記復号画
像信号とともに出力することを特徴とするデコーダ。12. A coding parameter generating means for generating a coding bit amount and / or an average quantization scale as a representative value of a coding parameter of an input coded image signal; Decoding means for decoding the image data to generate a decoded image signal, and outputting the encoding parameter generated by the encoding parameter generating means together with the decoded image signal generated by the decoding means.
記符号化パラメータの代表値として、符号化ビット量及
び/又は平均量子化スケールに加えて、ピクチャタイプ
及び/又は動きベクトルを生成することを特徴とする請
求項12記載のデコーダ。13. The coding parameter generating means generates a picture type and / or a motion vector in addition to a coding bit amount and / or an average quantization scale as a representative value of the coding parameter. The decoder according to claim 12, wherein
生成される符号化パラメータは、ピクチャを単位とし
て、画像符号化を行う際に使用されるものであることを
特徴とする請求項12記載のデコーダ。14. The decoder according to claim 12, wherein the encoding parameter generated by said encoding parameter generating means is used when performing image encoding on a picture-by-picture basis.
生成される符号化パラメータは、スライスを単位とし
て、画像符号化を行う際に使用されるものであることを
特徴とする請求項12記載のデコーダ。15. The decoder according to claim 12, wherein the encoding parameters generated by said encoding parameter generating means are used when performing image encoding in units of slices.
復号画像信号を生成する復号手段と、 上記復号手段により生成した上記復号画像信号を伝送す
るための信号フォーマット中の無効期間に対応する信号
部分に、上記入力された符号化画像信号の符号化パラメ
ータを重畳して、上記復号画像信号とともに上記符号化
パラメータを出力する出力手段とを有することを特徴と
するデコーダ。16. A decoding unit for decoding an input encoded image signal to generate a decoded image signal, and corresponding to an invalid period in a signal format for transmitting the decoded image signal generated by the decoding unit. Output means for superimposing an encoding parameter of the input encoded image signal on a signal portion and outputting the encoding parameter together with the decoded image signal.
ラメータの代表値として、符号化ビット量及び/又は平
均量子化スケールを生成する符号化パラメータ生成手段
を備え、 上記出力手段は、上記符号化パラメータ生成手段により
生成した符号化パラメータを上記復号画像信号とともに
出力することを特徴とする請求項16記載のデコーダ。17. An image processing apparatus comprising: an encoding parameter generation unit configured to generate an encoding bit amount and / or an average quantization scale as a representative value of an encoding parameter of an input encoded image signal; 17. The decoder according to claim 16, wherein the encoding parameter generated by the encoding parameter generating means is output together with the decoded image signal.
記符号化パラメータとして、符号化ビット量及び/又は
平均量子化スケールに加えて、ピクチャタイプ及び/又
は動きベクトルを生成することを特徴とする請求項17
記載のデコーダ。18. The method according to claim 18, wherein said coding parameter generating means generates a picture type and / or a motion vector in addition to a coding bit amount and / or an average quantization scale as said coding parameter. Item 17
A decoder as described.
生成される上記符号化パラメータは、ピクチャを単位と
して、画像符号化を行う際に使用される符号化パラメー
タであることを特徴とする請求項17記載のデコーダ。19. The image processing apparatus according to claim 17, wherein said encoding parameter generated by said encoding parameter generating means is an encoding parameter used when performing image encoding on a picture basis. Decoder.
生成される上記符号化パラメータは、スライスを単位と
して、画像符号化を行う際に使用される符号化パラメー
タであることを特徴とする請求項17記載のデコーダ。20. The image processing apparatus according to claim 17, wherein said coding parameter generated by said coding parameter generating means is a coding parameter used when performing image coding on a slice basis. Decoder.
ラメータの代表値として、符号化ビット量及び/又は平
均量子化スケールを生成し、 上記入力された符号化画像信号を復号して復号画像信号
を生成し、 生成した上記復号画像信号とともに上記符号化パラメー
タを出力し、 上記符号化パラメータを使用して、上記復号画像信号に
対する画像符号化を行うことを特徴とする画像信号処理
方法。21. An encoded bit amount and / or an average quantization scale is generated as a representative value of an encoding parameter of an input encoded image signal, and the input encoded image signal is decoded to decode a decoded image. An image signal processing method, comprising: generating a signal; outputting the encoding parameter together with the generated decoded image signal; and performing image encoding on the decoded image signal using the encoding parameter.
復号画像信号を生成し、 生成した上記復号画像信号を伝送するための信号フォー
マット中の無効期間に対応する信号部分に、上記入力さ
れた符号化画像信号の符号化パラメータを重畳して、上
記復号画像信号とともに上記符号化パラメータを出力
し、 上記符号化パラメータを使用して、上記復号画像信号に
対する画像符号化を行うことを特徴とする画像信号処理
方法。22. A decoded image signal is generated by decoding the input coded image signal, and the signal portion corresponding to an invalid period in a signal format for transmitting the generated decoded image signal is provided. Superimposing the encoding parameter of the encoded image signal, outputting the encoding parameter together with the decoded image signal, and performing image encoding on the decoded image signal using the encoding parameter. Image signal processing method.
ラメータの代表値として、符号化ビット量及び/又は平
均量子化スケールを生成し、 上記入力された符号化画像信号を復号化して復号画像信
号を生成し、 上記符号化パラメータを上記復号画像信号とともに出力
することを特徴とする復号方法。23. A coded bit amount and / or an average quantization scale is generated as a representative value of a coding parameter of an input coded image signal, and the input coded image signal is decoded to obtain a decoded image. A decoding method, comprising: generating a signal; and outputting the encoding parameter together with the decoded image signal.
復号画像信号を生成し、 生成した上記復号画像信号を伝送するための信号フォー
マット中の無効期間に対応する信号部分に、上記入力さ
れた符号化画像信号の符号化パラメータを重畳して、上
記復号画像信号とともに上記符号化パラメータを出力す
ることを特徴とする復号方法。24. An input coded image signal is decoded to generate a decoded image signal, and the input decoded signal is transmitted to a signal portion corresponding to an invalid period in a signal format for transmitting the generated decoded image signal. And decoding the encoded image signal together with the decoded image signal and outputting the encoded parameter together with the decoded image signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP573599A JPH11313331A (en) | 1998-02-27 | 1999-01-12 | Image signal processing system, decoder, image signal processing method and decoding method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4723198 | 1998-02-27 | ||
| JP10-47231 | 1998-02-27 | ||
| JP573599A JPH11313331A (en) | 1998-02-27 | 1999-01-12 | Image signal processing system, decoder, image signal processing method and decoding method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11313331A true JPH11313331A (en) | 1999-11-09 |
Family
ID=26339736
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP573599A Withdrawn JPH11313331A (en) | 1998-02-27 | 1999-01-12 | Image signal processing system, decoder, image signal processing method and decoding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11313331A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004112397A1 (en) * | 2003-06-16 | 2004-12-23 | Sony Corporation | Image processing device, image processing method, information processing device, information processing method, information recording device, information recording method, information reproduction device, information reproduction method, recording medium, and program |
| KR100724206B1 (en) * | 2000-06-02 | 2007-05-31 | 소니 가부시끼 가이샤 | Information processing apparatus, methods and recording media |
| JP2009118150A (en) * | 2007-11-06 | 2009-05-28 | Nec Corp | Recompression system and recompression method |
-
1999
- 1999-01-12 JP JP573599A patent/JPH11313331A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100724206B1 (en) * | 2000-06-02 | 2007-05-31 | 소니 가부시끼 가이샤 | Information processing apparatus, methods and recording media |
| WO2004112397A1 (en) * | 2003-06-16 | 2004-12-23 | Sony Corporation | Image processing device, image processing method, information processing device, information processing method, information recording device, information recording method, information reproduction device, information reproduction method, recording medium, and program |
| US7826669B2 (en) | 2003-06-16 | 2010-11-02 | Sony Corporation | Image processing device, image processing method, information processing device, information processing method, information recording device, information recording method, information reproduction device, information reproduction method, recording medium and program |
| JP2009118150A (en) * | 2007-11-06 | 2009-05-28 | Nec Corp | Recompression system and recompression method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6574274B2 (en) | Picture signal processing system, decoder, picture signal processing method, and decoding method | |
| JP4480671B2 (en) | Method and apparatus for controlling rate distortion trade-off by mode selection of video encoder | |
| JP3019912B2 (en) | Image data editing device | |
| JP3588970B2 (en) | Signal encoding method, signal encoding device, signal recording medium, and signal transmission method | |
| JPH10145798A (en) | System for processing digital coding signal | |
| JP2000278692A (en) | Compressed data processing method, processor and recording and reproducing system | |
| US6414999B1 (en) | Editing method and editing apparatus | |
| US20040013399A1 (en) | Information processing method and apparatus | |
| JP2000059790A (en) | Dynamic image code string converter and method therefor | |
| JPH11285002A (en) | Moving picture coding apparatus and moving picture coding method | |
| JP2000165802A (en) | Stream editing device and editing method | |
| JP3356004B2 (en) | Variable rate coding apparatus and method | |
| JPH11313331A (en) | Image signal processing system, decoder, image signal processing method and decoding method | |
| JPH10191331A (en) | Method and apparatus for encoding image data | |
| JPH08251582A (en) | Encoded data editing device | |
| JPH11252566A (en) | Image signal decoding method and decoding device, image signal encoding method and encoding device, image signal processing method and processing system | |
| JP2000197010A (en) | Picture data editing device | |
| JP3879252B2 (en) | Editing method and editing apparatus | |
| JPH0888854A (en) | Video coding system | |
| JP4765961B2 (en) | Digital video recording device | |
| JP2002218470A (en) | Method for converting image encoded data rate and device for converting image encoding rate | |
| JP2010056849A (en) | Video signal re-encoding apparatus and method | |
| JP4523606B2 (en) | Moving image recording method and moving image recording apparatus | |
| JP3770466B2 (en) | Image coding rate conversion apparatus and image coding rate conversion method | |
| JP4974583B2 (en) | Image encoding apparatus and encoding method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20060404 |