JP2008252931A - Decoding apparatus and method, encoding apparatus and method, image processing system, and image processing method - Google Patents
Decoding apparatus and method, encoding apparatus and method, image processing system, and image processing method Download PDFInfo
- Publication number
- JP2008252931A JP2008252931A JP2008137236A JP2008137236A JP2008252931A JP 2008252931 A JP2008252931 A JP 2008252931A JP 2008137236 A JP2008137236 A JP 2008137236A JP 2008137236 A JP2008137236 A JP 2008137236A JP 2008252931 A JP2008252931 A JP 2008252931A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- image data
- parameter
- picture
- error flag
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、画像データの再エンコードを行うシステムに用いて好適な復号装置及び方法、符号化装置及び方法、画像処理システム、画像処理方法に関し、特に、ビットストリームを復号して画像データを生成するとともに再エンコードを行うときに用いる符号化パラメータを生成する復号装置及び方法、復号装置からの画像データ及び符号化パラメータを用いて再エンコードを行う符号化装置及び方法、ビットストリームを復号して画像データを生成するとともに再エンコードを行うときに用いる符号化パラメータを生成し、復号装置からの画像データ及び符号化パラメータを用いて再エンコードを行う画像処理システム、画像処理方法に関する。 The present invention relates to a decoding apparatus and method suitable for use in a system for re-encoding image data, an encoding apparatus and method, an image processing system, and an image processing method, and in particular, decodes a bit stream to generate image data. And a decoding apparatus and method for generating encoding parameters used when re-encoding, an encoding apparatus and method for performing re-encoding using image data and encoding parameters from the decoding apparatus, and image data by decoding a bitstream The present invention relates to an image processing system and an image processing method that generate encoding parameters used when re-encoding and generate re-encoding using image data and encoding parameters from a decoding device.
従来のエンコーダにおいて、MPEG(Moving Picture Experts Group)方式でエンコードされた画像信号に対する編集処理において、一旦エンコードされた画像信号を復号化し、復号化した画像について再エンコードを行う際に、通常のビデオ信号についてエンコードを行う場合と比較した大きな画質劣化が生ずる場合がある。このような画像劣化の原因としては、再エンコードを行う前後、すなわち最初にMPEG方式でエンコードしたときと再エンコードを行うときとで、ピクチャタイプ、動きベクトル等の各種符号化パラメータの不一致が挙げられる。 In an editing process for an image signal encoded by the MPEG (Moving Picture Experts Group) method in a conventional encoder, an ordinary video signal is decoded when the encoded image signal is once decoded and the decoded image is re-encoded. There is a case where the image quality is greatly deteriorated as compared with the case where encoding is performed. As a cause of such image degradation, there is a mismatch between various encoding parameters such as picture type and motion vector before and after re-encoding, that is, when encoding is first performed in MPEG format and when re-encoding is performed. .
このような符号化パラメータの不一致のうち、ピクチャタイプが不一致であることで画質劣化が発生するときの一例について説明する。例えば、B0,B1,I2,B3,B4,P5,B6,B7,P8とI(Intra)ピクチャ、P(Predictive)ピクチャ、B(Bidirectionally predictive)ピクチャが配されてなるMPEG方式で準拠したピクチャ数N=9、あるI又はPピクチャから次のI又はPピクチャまでのピクチャ数M=3のGOP(Group of Pictures)ひとつ分の入力復号画像、すなわち再エンコードすべき復号画像についてのピクチャタイプがある。そして、上述のように配されてなるGOPに対して、B0,B1,I2,B3,B4,P5,B6,B7,P8と位相ロックを行う場合には再エンコードの際の参照画像として、上記入力復号画像中において、Iピクチャであったものがそのまま用いられる。 An example of a case where image quality degradation occurs due to mismatched picture types among the mismatched encoding parameters will be described. For example, the number of pictures conforming to the MPEG system in which B0, B1, I2, B3, B4, P5, B6, B7, P8 and I (Intra) picture, P (Predictive) picture, and B (Bidirectionally predictive) picture are arranged. N = 9, there is a picture type for an input decoded image corresponding to one GOP (Group of Pictures) with a number of pictures M = 3 from one I or P picture to the next I or P picture, that is, a decoded image to be re-encoded . When the GOP arranged as described above is phase-locked with B0, B1, I2, B3, B4, P5, B6, B7, and P8, the above-mentioned reference image is used as a reference image for re-encoding. In the input decoded image, what was an I picture is used as it is.
これに対して、B0,I1,B2,B3,P4,B5,B6,P7と配列され、位相ロックを行わない場合には例えば3個目のピクチャ(B2)のように、画質劣化の度合いが大きいBピクチャが再エンコードを行うときの参照画像として用いられることになる。その結果として、再エンコードの精度が低下し、大きな画質劣化が発生することになる。 On the other hand, in the case where B0, I1, B2, B3, P4, B5, B6, and P7 are arranged and phase lock is not performed, the degree of image quality degradation is, for example, as in the third picture (B2). A large B picture is used as a reference image when re-encoding is performed. As a result, the re-encoding accuracy is lowered and a large image quality degradation occurs.
また、上述のように、従来のエンコーダにおいて、ピクチャタイプのみならず、他の符号化パラメータ、例えば動きベクトルについても、再エンコードの前後で一致させると、再エンコード時に符号化パラメータの再計算を行って算出する値を使用する場合よりも、再エンコードしたときの画質劣化が小さくなる。そして、従来のエンコーダにおいては、ピクチャタイプ、動きベクトルを含む全ての符号化パラメータを再エンコードの前後で一致させることにより、再エンコードによる画質劣化がほとんど生じない。 In addition, as described above, in the conventional encoder, if not only the picture type but also other encoding parameters such as motion vectors are matched before and after re-encoding, the encoding parameters are recalculated at the time of re-encoding. The image quality degradation when re-encoding is smaller than when using the value calculated in the above. In the conventional encoder, image quality deterioration due to re-encoding hardly occurs by matching all encoding parameters including the picture type and motion vector before and after re-encoding.
ところで、ビットストリームの伝送経路中でエラーが付加されたり、又はオリジナルのビットストリームをエンコードしたエンコーダがMPEG方式に準拠しない符号化パラメータを使用する場合においては、デコーダで受信したビットストリームの中にシンタクスエラーが発生する場合がある。 By the way, when an error is added in the bitstream transmission path or an encoder that encodes the original bitstream uses an encoding parameter that does not conform to the MPEG system, the syntax is included in the bitstream received by the decoder. An error may occur.
このように、ビットストリームの中にシンタクスエラーが発生した場合、デコーダは、ビットストリームのエラーが発生した位置から、次のスタートコード(32ビット長の同期コード)をサーチすることによって、エラーリカバリーをする。そして、デコーダは、ビットストリームのエラーが発生した位置からエラーリカバリーできた位置までのビットストリームからは画像を復号することはできないので、既に復号された画像の情報を用いて、シンタクスエラーで失われた画像部分のエラーコンシールを行う。このとき、デコーダは、例えば過去の表示画像からエラーで失われた画像部分へ画像をコピーして表示する処理を行う。 Thus, when a syntax error occurs in the bitstream, the decoder performs error recovery by searching the next start code (32-bit synchronization code) from the position where the bitstream error occurred. To do. Since the decoder cannot decode an image from the bitstream from the position where the error occurred in the bitstream to the position where error recovery was possible, it is lost due to a syntax error using information on the already decoded image. Perform error concealment on the image portion. At this time, the decoder performs a process of copying and displaying an image from a past display image to an image portion lost due to an error, for example.
従来のエンコーダを例に挙げて説明したようにピクチャタイプ、動きベクトルを含む全ての符号化パラメータを再エンコードの前後で一致させて再エンコードをしている場合において、デコーダで受信したビットストリームの中にシンタクスエラーが発生したとき、エンコーダには、デコーダがエラーコンシールによって再生した画像が入力され、また、その時の符号化パラメータは入力されないか、又は誤った値の符号化パラメータが入力されることになる。そして、エンコーダは、デコーダからの誤った符号化パラメータを用いてエンコードを行うと、非常に画質劣化が大きな符号化結果となってしまう。 In the case of re-encoding with all the encoding parameters including picture type and motion vector being matched before and after re-encoding as described with reference to a conventional encoder as an example, in the bit stream received by the decoder When a syntax error occurs, an image reproduced by the decoder by the error concealment is input to the encoder, and the encoding parameter at that time is not input, or an encoding parameter having an incorrect value is input. Become. When the encoder performs encoding using an incorrect encoding parameter from the decoder, an encoding result with extremely large image quality deterioration is obtained.
上述したように、従来においては、デコーダに入力されたビットストリームにシンタクスエラー等が発生したか否かに関わらず、エンコーダ側でデコーダからの符号化パラメータを用いてエンコードを行うことが多かった。したがって、エンコーダでは、誤った符号化パラメータを用いて画像の符号化を行うことにより、正常な処理を行うことができなくなってしまうという問題があった。 As described above, conventionally, encoding is often performed on the encoder side using the encoding parameter from the decoder regardless of whether a syntax error or the like has occurred in the bitstream input to the decoder. Therefore, the encoder has a problem that normal processing cannot be performed by encoding an image using an incorrect encoding parameter.
そこで、本発明は、上述したような実情に鑑みて提案されたものであり、ビットストリームにエラーが発生したことを示す情報を生成することができる復号装置及び方法、ビットストリームにエラーが発生しても良好な画質で符号化処理を行うことができる符号化装置及び方法、画像処理システム、画像処理方法を提供することを目的とする。 Therefore, the present invention has been proposed in view of the above-described circumstances, and a decoding apparatus and method capable of generating information indicating that an error has occurred in the bitstream, and an error in the bitstream. It is an object of the present invention to provide an encoding apparatus and method, an image processing system, and an image processing method that can perform encoding processing with good image quality.
上述の課題を解決する本発明に係る復号装置は、入力されたビットストリームを復号して画像データを生成する復号手段と、上記復号手段で復号された画像データを再符号化するときに用いる各階層についての符号化パラメータを生成する符号化パラメータ生成手段と、画像データの再符号化を行うときに上記符号化パラメータ生成手段により生成された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成するエラーフラグ生成手段とを備えることを特徴とする。 A decoding apparatus according to the present invention that solves the above-described problems includes a decoding unit that decodes an input bitstream to generate image data, and each of the units used when re-encoding the image data decoded by the decoding unit. The encoding parameter generating means for generating the encoding parameter for the layer and the encoding parameter for each layer generated by the encoding parameter generating means when the image data is re-encoded can be used effectively. And an error flag generation means for generating an error flag indicating whether or not.
また、本発明に係る復号方法は、入力されたビットストリームを復号して画像データを生成するとともに、復号された上記画像データを再符号化するときに用いる各階層についての符号化パラメータを生成し、画像データの再符号化を行うときに各階層ごとの上記符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成することを有することを特徴とする。 In addition, the decoding method according to the present invention generates image data by decoding an input bitstream, and generates encoding parameters for each layer used when re-encoding the decoded image data. The method further comprises generating an error flag indicating whether or not the encoding parameter for each layer can be used effectively when re-encoding the image data.
更に、本発明に係る符号化装置は、復号装置から入力された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグに基づいて、復号装置から入力された画像データの再符号化を行うときに上記符号化パラメータを有効に用いることができるか否かを判定する判定手段と、復号装置からの符号化パラメータが有効でない旨の上記判定手段からの判定結果に基づいて、復号装置からの画像データを用いて符号化パラメータを計算する符号化パラメータ計算手段と、復号装置からの符号化パラメータが有効であると判定手段により判定されたときには復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、復号装置からの符号化パラメータが有効でないと判定手段により判定されたときには上記符号化パラメータ計算手段で生成された符号化パラメータを用いて画像データの符号化を行う符号化手段とを備えることを特徴とする。 Furthermore, the encoding apparatus according to the present invention is configured such that the image data input from the decoding apparatus is based on an error flag indicating whether the encoding parameter for each layer input from the decoding apparatus can be used effectively. Based on a determination unit that determines whether or not the encoding parameter can be used effectively when performing re-encoding, and a determination result from the determination unit that the encoding parameter from the decoding device is not effective The encoding parameter calculation means for calculating the encoding parameter using the image data from the decoding apparatus, and the code input from the decoding apparatus when the determination means determines that the encoding parameter from the decoding apparatus is valid. When the image data is encoded using the encoding parameter and the determination unit determines that the encoding parameter from the decoding device is not valid Characterized in that it comprises a coding means for coding the image data by using the coding parameters generated by the serial coding parameter calculating means.
更にまた、本発明に係る符号化方法は、復号装置から入力された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグに基づいて、復号装置から入力された画像データの再符号化を行うときに上記符号化パラメータを有効に用いることができるか否かを判定する判定処理と、復号装置からの符号化パラメータが有効でない旨の判定結果に基づいて、復号装置からの画像データを用いて符号化パラメータを計算する符号化パラメータ計算処理と、復号装置からの符号化パラメータが有効であると判定されたときには復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、復号装置からの符号化パラメータが有効でないと判定されたときには上記符号化パラメータ計算処理で生成した符号化パラメータを用いて画像データの符号化を行う符号化処理とを有することを特徴とする。 Furthermore, in the encoding method according to the present invention, an image input from the decoding device based on an error flag indicating whether or not the encoding parameter for each layer input from the decoding device can be used effectively. Based on a determination process for determining whether or not the encoding parameter can be used effectively when re-encoding data, and a determination result indicating that the encoding parameter from the decoding apparatus is not valid, the decoding apparatus Encoding parameter calculation processing for calculating encoding parameters using image data from the image data, and image data using the encoding parameters input from the decoding device when it is determined that the encoding parameters from the decoding device are valid When it is determined that the encoding parameter from the decoding device is not valid, the code generated by the above encoding parameter calculation process And having a coding process of coding image data by using the parameters.
更にまた、本発明に係る画像処理システムは、入力されたビットストリームを復号して画像データを生成する復号手段と、上記復号手段で復号された画像データを再符号化するときに用いる各階層についての符号化パラメータを生成する符号化パラメータ生成手段と、画像データの再符号化を行うときに上記符号化パラメータ生成手段により生成された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成するエラーフラグ生成手段とを備える復号装置と、上記復号装置から入力された各階層ごとのエラーフラグに基づいて、再符号化を行うときに上記符号化パラメータを有効に用いることができるか否かを判定する判定手段と、上記復号装置からの符号化パラメータが有効でない旨の上記判定手段からの判定結果に基づいて、上記復号装置からの画像データを用いて符号化パラメータを計算する符号化パラメータ計算手段と、上記復号装置からの符号化パラメータが有効であると判定手段により判定されたときには上記復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、上記復号装置からの符号化パラメータが有効でないと判定手段により判定されたときには上記符号化パラメータ計算手段で生成された符号化パラメータを用いて画像データの符号化を行う符号化手段とを備える符号化装置とを備えることを特徴とするものである。 Furthermore, the image processing system according to the present invention includes a decoding unit that decodes an input bitstream to generate image data, and each layer used when re-encoding the image data decoded by the decoding unit. Whether or not the encoding parameter generating means for generating the encoding parameters and the encoding parameter for each layer generated by the encoding parameter generating means when re-encoding the image data can be used effectively A decoding device comprising an error flag generating means for generating an error flag indicating whether or not the encoding parameter is enabled when re-encoding is performed based on the error flag for each layer input from the decoding device. Determining means for determining whether or not it can be used, and determining means for indicating that the encoding parameter from the decoding device is not valid. Based on the determination result, the encoding parameter calculation means for calculating the encoding parameter using the image data from the decoding device, and the determination means determines that the encoding parameter from the decoding device is valid. The image data is encoded using the encoding parameter input from the decoding device, and is generated by the encoding parameter calculation unit when the determination unit determines that the encoding parameter from the decoding device is not valid. And an encoding device including encoding means for encoding image data using an encoding parameter.
更にまた、本発明に係る他の画像処理システムは、入力されたビットストリームを復号して画像データを生成する復号手段と、上記復号手段からの画像データを逆量子化してDCT変換係数とする逆量子化手段と、上記逆量子化手段からのDCT変換係数を量子化して画像データとする量子化手段と、上記復号手段で復号された画像データを再符号化するときに用いる各階層についての符号化パラメータを生成する符号化パラメータ生成手段と、画像データの再符号化を行うときに上記符号化パラメータ生成手段により生成された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成するエラーフラグ生成手段と、上記エラーフラグ生成手段からのエラーフラグに基づいて符号化パラメータを計算する符号化パラメータ計算手段と、上記符号化パラメータ生成手段又は上記符号化パラメータ計算手段からの符号化パラメータを用いて上記量子化手段からの画像データの符号化を行う上記符号化手段と、上記エラーフラグ生成手段で生成されたエラーフラグに基づいて符号化パラメータが有効であるときには上記符号化パラメータ生成手段で生成された符号化パラメータを用いて画像データの符号化を行なわせ、上記エラーフラグ生成手段で生成されたエラーフラグに基づいて符号化パラメータが有効でないときには上記符号化パラメータ計算手段で生成された符号化パラメータを用いて画像データの符号化を行わせる制御手段とを備えることを特徴とするものである。 Furthermore, another image processing system according to the present invention includes a decoding unit that decodes an input bitstream to generate image data, and an inverse quantization unit that converts the image data from the decoding unit into a DCT transform coefficient. Quantization means, quantization means for quantizing the DCT transform coefficient from the inverse quantization means to make image data, and codes for each layer used when re-encoding the image data decoded by the decoding means Encoding parameter generating means for generating encoding parameters, and whether or not the encoding parameters for each layer generated by the encoding parameter generating means when the image data is re-encoded can be used effectively An error flag generating means for generating an error flag to be indicated, and calculating an encoding parameter based on the error flag from the error flag generating means Encoding parameter calculation means, encoding means for encoding image data from the quantization means using the encoding parameters from the encoding parameter generation means or the encoding parameter calculation means, and the error flag When the encoding parameter is valid based on the error flag generated by the generation means, the image data is encoded using the encoding parameter generated by the encoding parameter generation means, and the error flag generation means Control means for encoding image data using the encoding parameter generated by the encoding parameter calculation means when the encoding parameter is not valid based on the generated error flag. It is.
更にまた、本発明に係る画像処理方法は、入力されたビットストリームを復号して画像データ、上記画像データを再符号化するときに用いる各階層についての符号化パラメータ、上記画像データの再符号化を行うときに各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成する復号処理と、上記画像データを逆量子化してDCT変換係数とする逆量子化処理と、上記DCT変換係数を量子化して画像データとする量子化処理と、上記エラーフラグ生成手段からのエラーフラグに基づいて符号化パラメータを計算する符号化パラメータ計算処理と、上記エラーフラグに基づいて符号化パラメータが有効であるときには復号処理で生成した符号化パラメータを用いて画像データの符号化を行い、上記エラーフラグに基づいて符号化パラメータが有効でないときには上記符号化パラメータ計算処理で生成した符号化パラメータを用いて画像データの符号化を行う符号化処理とを有することを特徴とする。 Still further, the image processing method according to the present invention decodes an input bit stream to decode image data, a coding parameter for each layer used when re-encoding the image data, and re-encoding of the image data. A decoding process for generating an error flag indicating whether or not the encoding parameter for each layer can be used effectively when performing the above, and a dequantization process for dequantizing the image data into a DCT transform coefficient; A quantization process for quantizing the DCT transform coefficient into image data, a coding parameter calculation process for calculating a coding parameter based on an error flag from the error flag generating means, and a code based on the error flag. When the encoding parameters are valid, the image data is encoded using the encoding parameters generated by the decoding process, and the error When the coding parameters based on the lag is not valid, characterized in that it has a coding process of coding image data by using the coding parameters generated by the coding parameter calculation process.
本発明に係る復号装置及び方法は、画像データの再符号化を行うときに各階層ごとの上記符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成することができるので、復号した後、再エンコードを行うときに用いる符号化パラメータを制御させることができる。したがって、この復号装置及び方法によれば、例えば復号した符号化パラメータが無効であるときには、当該符号化パラメータを用いないでエンコーダで生成した符号化パラメータを用いて再エンコードを行うことで、正確に再エンコードを行わせることができる。 Since the decoding apparatus and method according to the present invention can generate an error flag indicating whether or not the encoding parameter for each layer can be used effectively when re-encoding image data, After decoding, the encoding parameters used when re-encoding can be controlled. Therefore, according to this decoding apparatus and method, for example, when a decoded encoding parameter is invalid, re-encoding is performed using the encoding parameter generated by the encoder without using the encoding parameter. Re-encoding can be performed.
更に、本発明に係る符号化装置及び方法は、復号装置からの符号化パラメータが有効であると判定されたときには復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、復号装置からの符号化パラメータが有効でないと判定されたときには上記符号化パラメータ計算処理で生成した符号化パラメータを用いて画像データの符号化を行う符号化処理を有するので、復号装置からの符号化パラメータが有効なときには入力された画像データについての符号化パラメータを用いて再符号化を行い、復号装置からの符号化パラメータが無効のときには自身で計算して得た符号化パラメータで再符号化を行う。したがって、この符号化装置及び方法によれば、エラーフラグにより示された符号化パラメータを用いて再符号化を行うことがないので正確に再符号化を行うことができ、良好な画質で符号化結果を得ることができる。 Furthermore, the encoding device and method according to the present invention encodes image data using the encoding parameter input from the decoding device when it is determined that the encoding parameter from the decoding device is valid, and decoding is performed. Since it has an encoding process for encoding image data using the encoding parameter generated by the encoding parameter calculation process when it is determined that the encoding parameter from the apparatus is not valid, the encoding parameter from the decoding apparatus When is valid, re-encoding is performed using the encoding parameter for the input image data, and when the encoding parameter from the decoding device is invalid, re-encoding is performed with the encoding parameter obtained by itself. . Therefore, according to this encoding apparatus and method, since re-encoding is not performed using the encoding parameter indicated by the error flag, re-encoding can be performed accurately, and encoding can be performed with good image quality. The result can be obtained.
更にまた、本発明に係る画像処理システムは、画像データの再符号化を行うときに符号化パラメータ生成手段により生成された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成するエラーフラグ生成手段を備える復号装置と、復号装置から入力された各階層ごとのエラーフラグに基づいて、再符号化を行うときに符号化パラメータを有効に用いることができるか否かを判定する判定手段と、復号装置からの符号化パラメータが有効でない旨の判定手段からの判定結果に基づいて、復号装置からの画像データを用いて符号化パラメータを計算する符号化パラメータ計算手段と、復号装置からの符号化パラメータが有効であると判定手段により判定されたときには復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、復号装置からの符号化パラメータが有効でないと判定手段により判定されたときには符号化パラメータ計算手段で生成された符号化パラメータを用いて画像データの符号化を行う符号化手段とを備える符号化装置とを備えるので、復号装置からの符号化パラメータが有効なときには入力された画像データについての符号化パラメータを用いて再符号化を行い、復号装置からの符号化パラメータが無効のときには符号化装置で計算して得た符号化パラメータで再符号化を行うことができる。したがって、この画像処理システムによれば、エラーフラグにより示された符号化パラメータを用いて再符号化を行うことがないので正確に再符号化を行うことができ、良好な画質で符号化結果を得ることができる。 Furthermore, the image processing system according to the present invention indicates whether or not the encoding parameter for each layer generated by the encoding parameter generation means can be used effectively when re-encoding image data. Whether or not the encoding parameter can be effectively used when performing re-encoding based on the decoding apparatus having an error flag generating means for generating an error flag and the error flag for each layer input from the decoding apparatus And a coding parameter calculation unit that calculates a coding parameter using image data from the decoding device based on a determination result from the determination unit that the coding parameter from the decoding device is not valid. When the determination unit determines that the encoding parameter from the decoding device is valid, the encoding parameter input from the decoding device is determined. The image data is encoded using the data, and when the determining means determines that the encoding parameter from the decoding device is not valid, the image data is encoded using the encoding parameter generated by the encoding parameter calculating means. And an encoding device including an encoding means for performing re-encoding using the encoding parameter for the input image data when the encoding parameter from the decoding device is valid, and from the decoding device When the encoding parameter is invalid, re-encoding can be performed with the encoding parameter calculated by the encoding device. Therefore, according to this image processing system, since re-encoding is not performed using the encoding parameter indicated by the error flag, re-encoding can be performed accurately, and the encoding result can be obtained with good image quality. Obtainable.
更にまた、本発明に係る画像処理システム及び画像処理方法は、入力されたビットストリームを復号して画像データ、上記画像データを再符号化するときに用いる各階層についての符号化パラメータ、上記画像データの再符号化を行うときに各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成する復号処理と、上記エラーフラグに基づいて符号化パラメータを計算する符号化パラメータ計算処理と、上記エラーフラグに基づいて符号化パラメータが有効であるときには復号処理で生成した符号化パラメータを用いて画像データの符号化を行い、上記エラーフラグに基づいて符号化パラメータが有効でないときには上記符号化パラメータ計算処理で生成した符号化パラメータを用いて画像データの符号化を行う符号化処理とを有するので、符号化パラメータが有効なときには復号処理で生成した符号化パラメータを用いて再符号化を行い、復号処理で生成した符号化パラメータが無効のときには再計算して得た符号化パラメータで再符号化を行うことができる。したがって、この画像処理システム及び画像処理方法によれば、エラーフラグにより示された符号化パラメータを用いて再符号化を行うことがないので正確に再符号化を行うことができ、良好な画質の符号化結果を得ることができる。 Furthermore, the image processing system and the image processing method according to the present invention decode the input bit stream to decode the image data, the encoding parameters for each layer used when re-encoding the image data, and the image data Decoding processing for generating an error flag indicating whether or not the encoding parameter for each layer can be used effectively when performing re-encoding, and encoding for calculating the encoding parameter based on the error flag When the encoding parameter is valid based on the parameter calculation process and the error flag, the image data is encoded using the encoding parameter generated by the decoding process, and the encoding parameter is not valid based on the error flag. Sometimes the encoding of image data using the encoding parameters generated by the above encoding parameter calculation process Therefore, re-encoding is performed using the encoding parameter generated by the decoding process when the encoding parameter is valid, and re-calculation is performed when the encoding parameter generated by the decoding process is invalid. Re-encoding can be performed with the obtained encoding parameters. Therefore, according to the image processing system and the image processing method, since the re-encoding is not performed using the encoding parameter indicated by the error flag, the re-encoding can be performed accurately, and the image quality can be improved. An encoding result can be obtained.
以下、本発明の実施の形態について図面を参照しながら詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本発明は、例えば図1に示すように構成された画像処理システム1に適用される。
The present invention is applied to, for example, an
図1に示す画像処理システム1は、デコーダ10とエンコーダ30とをカスケードに接続してなり、外部からエンコードされたMPEG2規格に準拠したビットストリームが入力されるデコーダ10と、デコーダ10でデコードされた画像データを再エンコードして外部にビットストリームとして出力するエンコーダ30とからなる。
The
デコーダ10は、外部からMPEG2方式で符号化されたビットストリームが入力されるバッファ11を備える。このバッファ11は、ビットストリームを一旦記憶して、可変長復号部(VLD:Variable Length Decoder)12に出力する。
The decoder 10 includes a
可変長復号部12は、バッファ11からの可変長符号のビットストリームに例えばマクロブロック(MB)単位で可変長復号処理を施すことで量子化係数や動きベクトルを求めて、逆量子化部(Inverse Quantization:IQ)14に出力する。
The variable
また、この可変長復号部12は、上述のように可変長復号処理を行うとともに、各MB層について付加された符号化パラメータ(以下、MBパラメータ(MB_parameters)と呼ぶ。)を検出してメモリ13に出力する。更に、可変長復号部12は、ピクチャ層以上の符号化パラメータ(Sequence_GOP_Picure_parameters)を検出するとともに、ピクチャ層の符号化パラメータ及びMBパラメータが有効か否かを示すパラメータ判定情報(picture_mb_parameters_valid)を生成して、後述の制御部41に出力する。
In addition, the variable
上記Sequence_GOP_Picure_parametersには、MPEG2規格において定義されている以下のパラメータを含む。すなわち可変長復号部12に入力されるビットストリームには、シーケンスヘッダ(Sequence_header)の直後配置されるシーケンス拡張部(Sequence_extension)、シーケンスディスプレイ機能拡張部(Sequence_display_extension)、シーケンス・スケーラブル機能拡張部(Sequence_scalable_extension)が含まれ、これらの拡張部に続いてGOPヘッダ(group_of_pictures_header)が付加される。
The Sequence_GOP_Picure_parameters includes the following parameters defined in the MPEG2 standard. That is, the bit stream input to the variable
更に、ビットストリームには、I(Inter)ピクチャ(フレーム内符号化画像)、P(Predictive)ピクチャ(フレーム間順方向予測符号化画像)及びB(Bidirectionally Predictive)ピクチャ(双方向予測符号化画像)のピクチャ毎に関する情報を格納したピクチャヘッダ(picture_header)、ピクチャ符号化機能拡張部(picture_coding_extension)、量子化マトリクス機能拡張部(quant_matrix_extension)、ピクチャディスプレイ機能拡張部(picture_display_extension)等の拡張部が含まれる。 Further, the bitstream includes an I (Inter) picture (intra-frame encoded image), a P (Predictive) picture (inter-frame forward predictive encoded image), and a B (Bidirectionally Predictive) picture (bidirectional predictive encoded image). Extension units such as a picture header (picture_header), a picture encoding function extension unit (picture_coding_extension), a quantization matrix function extension unit (quant_matrix_extension), and a picture display function extension unit (picture_display_extension) that store information related to each picture are included.
更にまた、ピクチャ層以上の符号化パラメータは、画像サイズ(horizontal_size、vertical_size)、piture_coding_type、top_field_first、repeat_first_field等のパラメータをも含む。 Furthermore, the encoding parameters beyond the picture layer include parameters such as image size (horizontal_size, vertical_size), picture_coding_type, top_field_first, repeat_first_field.
上記MBパラメータは、MB層の符号化パラメータであり、MPEG2規格において定義されている以下のパラメータを含む。すなわち、MB層には、マクロブロックアドレス、量子化ステップ・サイズを示す量子化スケール、この量子化スケールが有効であることを示すフラグ(MBがスキップMB又はnot coded MBのとき、“0”とされる。)、DCTがフレームモードかフィールドモードかを示すDCTタイプ、フレームモード、フィールドモード又はデュアルプライムモードで動き補償を行うことを示す動き補償タイプ、前方向、後方向又は両方向で動き予測を行うことを示すMBモード、動きベクトル、フィールド動きベクトルの参照フィールド、デュアルプライムの補助ベクトルが含まれる。 The MB parameter is an MB layer encoding parameter and includes the following parameters defined in the MPEG2 standard. That is, the MB layer includes a macroblock address, a quantization scale indicating a quantization step size, and a flag indicating that this quantization scale is effective (when MB is a skip MB or a not coded MB, “0” is set. DCT type indicating whether DCT is frame mode or field mode, motion compensation type indicating that motion compensation is performed in frame mode, field mode or dual prime mode, forward, backward or bi-directional motion prediction. This includes an MB mode indicating that the operation is to be performed, a motion vector, a field motion vector reference field, and a dual prime auxiliary vector.
可変長復号部12は、復号するマクロブロックが“not coded MB”であるとき、すなわちイントラMB以外でcoded_block_patternが存在しないマクロブロックのとき、上記DCTタイプをフレームモードとする。
The variable
また、可変長復号部12は、スキップMBのとき、上記DCTタイプをフレームモードとし、上記動き補償タイプをフレーム予測とし、上記MBモードをPピクチャのとき前方向予測、Bピクチャのとき直前のMBからの予測とし、上記動きベクトルをPピクチャのとき0、Bピクチャのとき直前のMBと同じ値とする。
Further, the variable
更に、可変長復号部12は、上述したように、シーケンス層、GOP層、ピクチャ層、MB層における種々の符号化パラメータを出力するとともに、下記の表1に示すように、2ビットのフラグ、すなわちピクチャ層の符号化パラメータが有効か否かを示す1ビットのフラグと、MBパラメータが有効か否かを示す1ビットのフラグで表現されるパラメータ判定情報を生成する。
Further, as described above, the variable
すなわち、可変長復号部12は、ピクチャ層の符号化パラメータ及びMBパラメータにエラー(invalid)を含んでいるときにはフラグを“00”とし、ピクチャ層の符号化パラメータにはエラーを含んでない(valid)がMBパラメータにエラーを含んでいるときにはフラグを“10”とし、ピクチャ層の符号化パラメータ及びMBパラメータにエラーを含んでないときにはフラグを“11”としてパラメータ判定情報を生成して制御部41に出力する。
That is, the variable
ピクチャ層の符号化パラメータにエラーが含まれるときとしては、例えば、デコーダ10の可変長復号部12における復号処理中においてビットストリームにエラーが発生したときが挙げられる。このとき、次のGOPヘッダを検出してエラーリカバリーをするまでの間にデコーダ10からエラーコンシールによって出力した画像データはpicture_coding_typeを持たないので、ピクチャ層の符号化パラメータにエラーを含むことになり、ピクチャ層の符号化パラメータが後述の制御部41で無効と判定される。
An example of a case where an error is included in the coding parameter of the picture layer is a case where an error occurs in the bit stream during the decoding process in the variable
また、MBパラメータにエラーが含まれるときとしては、例えば、復号したピクチャ内にMB層のビットストリームエラーがあったときが挙げられる。このとき、MBパラメータにエラーを含むことになり、MBパラメータが後述の制御部41で無効と判定される。 In addition, examples of the case where an error is included in the MB parameter include a case where there is an MB layer bit stream error in the decoded picture. At this time, an error is included in the MB parameter, and the MB parameter is determined to be invalid by the control unit 41 described later.
更に、この可変長復号部12は、スイッチ部21を介してエンコーダ30に出力されるフィールド画像列の画像データの中でスイッチ部31に入力されるフィールド画像と、エンコーダ30から出力するときのフィールド画像とが同じ画像としてエンコーダ30側でエンコードを行わせるため、top_field_first及びrepeat_first_fieldを制御部41に出力する。
Further, the variable
ここで、上記top_field_firstはインタレース画像において、フレーム構造のピクチャのトップフィールドとボトムフィールドとのいずれかを時間的に先に表示するか否かを示すフラグであり、上記repeat_first_fieldはフレーム構造のピクチャを表示するときに一番目に表示するフィールドを2番目に表示するフィールドの後に繰り返して表示するか否かを示すフラグである。 Here, the top_field_first is a flag indicating whether to display either the top field or the bottom field of the frame-structured picture first in the interlaced image, and the repeat_first_field is the frame-structured picture. It is a flag indicating whether or not to repeatedly display the field to be displayed first when it is displayed after the field to be displayed second.
メモリ13は、可変長復号部12からのMBパラメータが入力され、エンコーダ30側の処理タイミングに応じて、後述する所定のピクチャ時間のディレイが制御部41により制御されて出力する。
The
逆量子化部14は、可変長復号部12からの量子化係数からなる画像データについて例えば8×8画素ブロックごとに逆量子化を行う。このとき、逆量子化部14は、画像データに量子化ステップを乗算することでDCT変換係数とする逆量子化処理を行って、画像データを逆DCT(Inverse Discrete Cosine Transform:IDCT)部15に出力する。
The
逆DCT部15は、逆量子化部14からの画像データについて例えば8×8画素ブロック単位で離散コサイン変換の逆変換を行う。これにより、逆DCT部15は、8×8画素ブロック毎にそれぞれの画素値(輝度、色差)を算出する。そして、この逆DCT部15は、逆変換を施して生成した画素値からなる画像データを加算器16に出力する。
The
加算器16は、逆DCT部15からの画像データと、動き補償部18からの画像データとを加算処理して制御部17に出力する。
The
動き補償(Motion Compensation:MC)部18は、時間的に前及び後に位置する画像データを格納するフレームメモリ(FM)を備え、動きベクトルに基づいて当該フレームメモリから予測する画像データをピクチャタイプ毎に読み出して加算器16で加算処理をさせることで動き補償をする。
The motion compensation (MC)
制御部17は、加算器16から復号順序でフレームが配列されてなるフレーム画像シーケンスを、表示順序でフレームが配列されてなるフレーム画像シーケンスとするように、フレームの順序を変更して画像処理部19に出力する。
The
画像処理部19は、後段のエンコーダ30で行う再エンコードを画像サイズを変更して行うとき、制御部17から入力される画像データS10について、画像サイズを変更する処理を行う。この画像処理部19は、例えば720ピクセル×480ピクセルの画像を352ピクセル×480ピクセルの画像データS30としてスイッチ部21に出力する。
When the re-encoding performed by the
また、この画像処理部19は、制御部17からの画像データを構成する各ピクチャについて、ピクチャ内の垂直方向及び水平方向の画素を補間して、制御部17から入力されたときよりも解像度が高いピクチャとするアップサンプリング処理を行う。
Further, the
また、画像処理部19は、各ピクチャのピクチャヘッダに付加されているトップ・フィールド・ファースト(top_field_first)及びリピート・ファースト・フィールド(repeat_first_field)に基づいて、入力されたビットストリームを構成する各ピクチャをフレーム画像からインタレース画像とする。
In addition, the
更に、この画像処理部19は、各ピクチャについて輝度信号、色差信号Cb、Crの比を示す輝度色差フォーマットを変換する処理を行う。すなわち、この画像処理部19は、ピクチャ毎に水平方向及び垂直方向において色情報を半分に削減した輝度色差フォーマットを示す4:2:0から、水平方向において色情報を半分に削減した輝度色差フォーマットを示す4:2:2に切り換える処理を行う。
Further, the
そして、この画像処理部19は、画像サイズを変更する処理、上述したアップサンプリング処理、ピクチャヘッダを書き換えてフレーム画像からフィールド画像に変換する処理、輝度色差フォーマットを変換する処理を行った画像データS30をスイッチ部21を介してエンコーダ30に出力する。
Then, the
ダミーデータ付加部20は、後段のエンコーダ30で行う再エンコードを画像サイズを変更しないで行うとき、制御部17から入力される画像データについて、図2に示すように、例えば水平方向におけるサイズx×垂直方向におけるサイズyの画像データ(図2(a))にダミーデータを付加する処理を行って(図2(b))、ダミーデータを付加した画像データS20をスイッチ部21を介してエンコーダ30に出力する。
When the re-encoding performed by the
このとき、ダミーデータ付加部20は、制御部17からの画像データS10のピクチャ単位の画像サイズが720ピクセル×480又は576ピクセルよりも小さいと判定したときにはダミーデータを付加して、720ピクセル×480又は576ピクセルの画像データとする処理を行う。すなわち、ダミーデータ付加部20は、制御部17からの画像データS10のピクチャ単位の画像サイズが720ピクセル×480又は576ピクセルよりも小さいと判定したときには、画像データが示すピクチャの水平方向において(720−x)ピクセル×480又は576ピクセルのダミーデータを付加し、ピクチャの垂直方向においてxピクセル×(480−y)又は(567−y)ピクセルのダミーデータを付加する処理を行う。
At this time, when the dummy
スイッチ部21は、後述の制御部41からの制御信号にしたがって開閉動作し、端子aが接続されることでダミーデータ付加部20からの画像データS20をエンコーダ30に出力するとともに、端子bが接続されることで画像処理部19からの画像データS30をエンコーダ30に出力する。
The switch unit 21 opens and closes in accordance with a control signal from the control unit 41 to be described later. When the terminal a is connected, the switch unit 21 outputs the image data S20 from the dummy
制御部41は、可変長復号部12からピクチャ層以上の符号化パラメータ(Sequence_GOP_Picure_parameters)が入力され、Sequence_parameters、GOP_parameters、Picure_parametersをエンコーダ30に出力する。また、この制御部41には、可変長復号部12から上述の表1を用いて説明したパラメータ判定情報が入力される。制御部41は、入力した符号化パラメータ及びパラメータ判定情報をメモリ42に格納する処理を行う。
The control unit 41 receives the encoding parameters (Sequence_GOP_Picure_parameters) of the picture layer or higher from the variable
制御部41は、デコーダ10及びエンコーダ30の処理タイミングを制御するため、スイッチ部21、スイッチ部31及びスイッチ部37に制御信号を出力して、各スイッチ部21、31、37の開閉タイミングを制御する。このとき、制御部41は、上記パラメータ判定情報を参照することで、ピクチャ層の符号化パラメータが有効か否かを判定するとともに、MBパラメータが有効か否かを判定して、スイッチ部37を開閉動作させるための制御信号等を生成する。このとき、制御部41は、作業用メモリとして機能するメモリ42に上記各パラメータを格納して上述の処理を行う。
The control unit 41 outputs control signals to the switch unit 21, the switch unit 31, and the
エンコーダ30は、上記スイッチ部21から画像データS20又は画像データS30が入力されるスイッチ部31を備える。
The
スイッチ部31は、制御部41からの制御信号にしたがって開閉動作し、端子aが接続されることでデコーダ10からの画像データS20を入力してダミーデータ除去部32に画像データS21を出力するとともに、端子bが接続されることでデコーダ10からの画像データS30を入力して画像処理部33に画像データS31を出力する。
The switch unit 31 opens and closes in accordance with a control signal from the control unit 41, inputs the image data S20 from the decoder 10 when the terminal a is connected, and outputs the image data S21 to the dummy
ダミーデータ除去部32は、スイッチ部31からの画像データS21について図2(c)に示すように、ダミーデータを除去する処理を行って画像データS40を動き推定部34に出力する。すなわち、このダミーデータ除去部32は、デコーダ10からのダミーデータが付加された画像データS20(図2(b))に付加されているダミーデータを除去する処理を行ってダミーデータが付加される前の画像データとする。
As shown in FIG. 2C, the dummy
画像処理部33は、スイッチ部31からの画像データS31について、上述の画像処理部19で変更された画像サイズを変更するとき、スイッチ部31から入力される画像データS31について、画像サイズを変更する処理等を行って画像データS40を動き推定部34に出力する。この画像処理部33は、例えば352ピクセル×480ピクセルの画像を720ピクセル×480ピクセルの画像として動き推定(ME:Motion Estimation)部34に出力する。
The
また、この画像処理部33は、画像データS31について2−3プルダウン処理を行う。すなわち、この画像処理部33は、例えば24ピクチャ/秒のフィルム映像を、30フレーム/秒の画像データに変換する処理を行う。
The
更に、この画像処理部33は、画像データS31を構成する各ピクチャについて、ピクチャ内の垂直方向及び水平方向の画素を間引いて、スイッチ部31から入力されたときよりも解像度が低いピクチャとするダウンサンプリング処理を行う。
The
更にまた、画像処理部33は、各ピクチャのピクチャ層のヘッダに付加されているトップ・フィールド・ファースト(top_field_first)及びリピート・ファースト・フィールド(repeat_first_field)に基づいて、入力されたビットストリームを構成する各ピクチャをインタレース画像からフレーム画像とする。
Furthermore, the
更に、この画像処理部33は、各ピクチャについて輝度信号、色差信号Cb、Crの比を示す輝度色差フォーマットを変換する処理を行う。すなわち、この画像処理部33は、水平方向において色情報を半分に削減した輝度色差フォーマットを示す4:2:2から、ピクチャ毎に水平方向及び垂直方向において色情報を半分に削減した輝度色差フォーマットを示す4:2:0に切り換える処理を行う。
Further, the
そして、この画像処理部33は、画像サイズを変更する処理、上述した2−3プルダウン処理、ダウンサンプリング処理、ピクチャヘッダを書き換えてインタレース画像からフレーム画像に変換する処理、輝度色差フォーマットを変換する処理を行った画像データS40を動き推定部34に出力する。
Then, the
動き推定部34は、スイッチ部31又はダミーデータ除去部32からの画像データS40を、MB単位で動きベクトルを算出する処理を行う。ここで、動き推定部34は、過去の画像から予測を行う順方向予測、未来の画像から予測を行う逆方向予測及び過去及び未来の画像から予測を行う双方向予測を行って動きベクトルを算出する処理を行う。そして、この動き推定部34は、算出した動きベクトル及びMB単位の画像データを制御部35及びMBパラメータ計算部36に出力する。
The motion estimation unit 34 performs a process of calculating a motion vector in MB units for the image data S40 from the switch unit 31 or the dummy
制御部35は、動き推定部34からの表示順序でフレームが配列されてなるフレーム画像シーケンスを、符号化順序でフレームが配列されてなるフレーム画像シーケンスとするように、フレームの順序を変更してエンコード部38に出力する。
The
MBパラメータ計算部36は、動き推定部34からのMB単位の動きベクトル及びMB単位の画像データを用いて、MBパラメータを生成してスイッチ部37に出力する処理を行う。
The MB
スイッチ部37は、制御部41からの制御信号にしたがって開閉動作し、端子aが接続されることでMBパラメータ計算部36で計算されたMBパラメータを入力してエンコード部38に出力するとともに、端子bが接続されることでデコーダ10からのMBパラメータを入力してエンコード部38に出力する。
The
エンコード部38は、制御部35からのMB単位の画像データが入力される加算器51と、加算器51からのMB単位の画像データについて離散コサイン変換処理を施してDCT変換係数からなる画像データとするDCT処理部(DCT)52と、このDCT処理部52からの画像データを構成するDCT変換係数について量子化を行う量子化処理部(Q)53と、逆量子化処理部(IQ)と、逆DCT処理部(IDCT)55と、加算器56と、フレームメモリ(FM)57a及び動き補償部(MC)57bとからなる。
The
ここで、動き補償部(MC)57bは、時間的に前及び後に位置する画像データを格納するフレームメモリ(FM)を備え、動きベクトルに基づいて当該フレームメモリから予測する画像データを読み出して加算器51及び加算器56で加算処理をさせることで動き補償をする。
Here, the motion compensation unit (MC) 57b includes a frame memory (FM) that stores image data positioned before and after in time, and reads and adds image data to be predicted from the frame memory based on a motion vector. Motion compensation is performed by causing the
このようなエンコード部38は、上述したように構成されることで、MB単位で画像データのエンコードを行うことで、MPEG2規格に準拠してIピクチャ、Pピクチャ及びBピクチャが配列されてなる画像データを生成して可変長符号化部39に出力する。
Such an
可変長符号化部39は、エンコード部38からの量子化係数からなるMB単位の画像データについてハフマン符号化を用いることで可変長圧縮を行ってビットストリームとしバッファ40に出力する。
The variable
バッファ40は、可変長符号化部39からのビットストリームを一旦格納し、再エンコードしたビットストリームを外部に出力する。
The
次に、上述したように構成された画像処理システム1において、エンコードデコーダ10からピクチャ層の符号化パラメータ、パラメータ判定情報等がエンコーダ30に入力されるときのタイミングチャート図3を参照して説明する。
Next, in the
この図3によれば、先ず、図3(a)に示すように、デコーダ10には、ピクチャ時間t1〜t6に亘って、ピクチャI2,B0,B1,P5,B3,B4の順に配されてなるビットストリームがバッファ11に入力される。
According to FIG. 3, first, as shown in FIG. 3A, the decoder 10 is arranged in the order of pictures I2, B0, B1, P5, B3, and B4 over picture times t1 to t6. The bit stream is input to the
ここで、バッファ11にビットストリームがピクチャ時間t1〜t6に亘って入力されることと同じタイミングで、図3(c)に示すように、可変長復号部12は、ピクチャ層以上の符号化パラメータ(Sequence_GOP_Picure_parameters)をピクチャI2,B0,B1,P5,B3,B4の順に検出して制御部41に出力する。
Here, at the same timing that the bit stream is input to the
また、デコーダ10の可変長復号部12では、パラメータ判定情報(picture_mb_parameters_valid)をピクチャの可変長復号するごとに生成し、図3(d)に示すように、図3(a)に示すバッファ11へのビットストリームの入力タイミングに対して1ピクチャ時間だけ遅延して出力する。ここで、可変長復号部12は、ピクチャI2,B0,B1,P5,B3,B4についてのパラメータ判定情報をピクチャ時間t2〜t7に亘って制御部41に出力する。
Further, the variable
更に、デコーダ10のスイッチ部21からは、画像処理部19又はダミーデータ付加部20で上述した処理を施した画像データを図3(b)に示すように、バッファ11にビットストリームの入力タイミングに対して1ピクチャ時間だけ遅延してピクチャ時間t2〜t7に亘ってエンコーダ30にピクチャB0,B1,I2,B3,B4,P5の順に出力する。
Further, from the switch unit 21 of the decoder 10, the image data subjected to the above-described processing by the
図3(a)〜(d)に示したデコーダ10側の処理に対し、エンコーダ30では、図3(e)に示すように、図3(b)に示すデコーダ10からの画像データの出力タイミングに対して遅延なしでピクチャ時間t2〜t7に亘りピクチャB0,B1,I2,B3,B4,P5の順に画像データが入力される。
In contrast to the processing on the decoder 10 side shown in FIGS. 3A to 3D, the
また、エンコーダ30では、図3(f)に示すように、デコーダ10からのピクチャI2,B0,B1,P5,B3,B4の順にピクチャ層以上の符号化パラメータ(Sequence_GOP_Picure_parameters)が、図3(c)に示す可変長復号部12からの出力タイミングから遅延なしで制御部41を介して入力される。
Also, in the
更に、エンコーダ30では、図3(g)に示すように、デコーダ10からのピクチャI2,B0,B1,P5,B3,B4の順にパラメータ判定情報が可変長復号部12から遅延なしで入力される。このとき、エンコーダ30には、可変長復号部12からのピクチャI2,B0,B1,P5,B3,B4についてのパラメータ判定情報をピクチャ時間t2〜t7に亘って制御部41を介して入力される。
Furthermore, in the
更にまた、エンコーダ30では、図3(h)に示すように、M=3のGOPの画像データをエンコードするのに要する遅延タイミングとして、図3(e)の画像データの入力タイミングから3ピクチャ時間の遅延タイミングでピクチャ時間t5〜t10に亘りバッファ40からビットストリームを出力する。このとき、エンコーダ30からは、ピクチャI2,B0,B1,P5,B3,B4の順に出力する。
Furthermore, in the
ここで、エンコーダ30側ではエンコードするのに要するピクチャ時間分だけピクチャ層の符号化パラメータをメモリ42でバッファリングする必要がある。そして、本例において、制御部41は、MPEG2規格に準拠してM=3のGOPから構成されるビットストリームを出力するとき、4ピクチャ時間分(t1〜t4)だけ符号化パラメータのバッファリングを行わせることで、符号化パラメータが付加されエンコードしたビットストリームを出力させる処理を行うように制御する。
Here, on the
次に、上述の画像処理システム1において、デコーダ10からMBパラメータ等がエンコーダ30に入力されるときのタイミングチャートを図4を参照して説明する。
Next, a timing chart when MB parameters and the like are input from the decoder 10 to the
デコーダ10では、図4(a)に示すように、ピクチャ時間t1〜t6に亘って、ピクチャI2,B0,B1,P5,B3,B4の順にピクチャが配されてなるビットストリームがバッファ11に入力される。
In the decoder 10, as shown in FIG. 4A, a bit stream in which pictures are arranged in the order of pictures I 2,
また、デコーダ10の可変長復号部12では、図4(c)に示すように、ピクチャ時間t1〜t6に亘るビットストリームのバッファ11への入力タイミングに対して遅延なく同じタイミングでMBパラメータ(MB_parameters)をデコードして生成する。このとき、可変長復号部12は、ピクチャI2,B0,B1,P5,B3,B4ついてのMBパラメータを順に生成する。
Further, in the variable
そして、デコーダ10の可変長復号部12では、上述の図4(c)に示すタイミングで生成したMBパラメータを、図4(d)に示すように、4ピクチャ時間分だけ遅延させてピクチャ時間t5〜t10に亘って、ピクチャI2,B0,B1,P5,B3,B4ついてのMBパラメータを順に出力する。
Then, in the variable
ここで、制御部41は、GOPのM=3であるときには4ピクチャ時間分(4フレーム分)のMBパラメータをメモリ13にバッファリングさせてエンコーダ30に出力するように制御する。
Here, the control unit 41 controls the MB parameter for 4 picture time (4 frames) to be buffered in the
更にまた、デコーダ10は、図4(b)に示すように、ビットストリームの入力タイミングに対して1ピクチャ時間だけ遅延してピクチャ時間t2〜t7に亘ってエンコーダ30にピクチャB0,B1,I2,B3,B4,P5の順に画像データを出力する。
Furthermore, as shown in FIG. 4B, the decoder 10 delays the picture timings B0, B1, I2, and the
図4(a)〜(d)に示したデコーダ10側の処理に対し、エンコーダ30では、図4(e)に示すように、デコーダ10から画像データが図4(b)に示す出力タイミングに対して遅延なしでピクチャ時間t2〜t7に亘りピクチャB0,B1,I2,B3,B4,P5の順に画像データが入力される。
In contrast to the processing on the decoder 10 side shown in FIGS. 4A to 4D, in the
また、エンコーダ30では、図4(d)に示すMBパラメータの出力タイミングに対して遅延なしでピクチャ時間t5〜t10に亘りピクチャI2,B0,B1,P5,B3,B4ついてのMBパラメータが順に入力される。
The
更に、エンコーダ30では、図4(g)の入力タイミングで入力されたMBパラメータを用いてエンコード部38でエンコード等をすることで生成したビットストリームを、図4(f)に示すように、図4(e)に示すエンコーダ30への画像データ入力の入力タイミングに対して3ピクチャ時間遅延してピクチャ時間t5〜t10に亘りピクチャI2,B0,B1,P5,B3,B4の順に出力する。
Furthermore, in the
ここで、エンコーダ30側ではエンコードするのに要するピクチャ時間分だけピクチャ層の符号化パラメータをメモリ42でバッファリングする必要がある。そして、本例において、制御部41は、M=3のGOPで構成されるビットストリームを出力するとき、画像データの入力タイミングに対して3ピクチャ時間分(t2〜t4)だけ遅延させて出力するように制御する。
Here, on the
次に、上述の画像処理システム1において、デコーダ10からのパラメータ判定情報に応じた処理について説明する。
Next, processing according to the parameter determination information from the decoder 10 in the
画像処理システム1は、可変長復号部12で生成されたパラメータ判定情報に基づいてピクチャ層以上の符号化パラメータ及びMBパラメータが有効か無効かを制御部41で判定させ、制御部41によりエンコーダ30側でエンコードを行うときに用いる符号化パラメータを選択する処理を行わせる。
The
具体的には、制御部41は、可変長復号部12からのパラメータ判定情報に基づいて、ピクチャ層以上の符号化パラメータ及びMBパラメータにエラーを含んでおらず有効であることを示すフラグを検出したときには、デコーダ10に入力されたビットストリームに付加された符号化パラメータと同じ符号化パラメータを用いてデコーダ10から入力される画像データをエンコーダ30でエンコードさせる。
Specifically, the control unit 41 detects, based on the parameter determination information from the variable
また、制御部41は、エンコーダ30でエンコードを行うことでビットレートを下げる場合には、量子化スケールを示す符号化パラメータのみをエンコーダ30で変更してエンコードを行い、他の符号化パラメータについてはデコーダ10に入力されたビットストリームに付加された符号化パラメータを用いてエンコードするように制御する。
In addition, in the case where the bit rate is lowered by encoding with the
更に、制御部41は、エンコーダ30で画像サイズを変更してエンコードを行う場合には、ピクチャ層以上の符号化パラメータのみを用いてエンコードを行わせる。このとき、制御部41は、少なくともpicture_coding_type、top_field_first、repeat_first_fieldについて、エンコードを行うときの符号化パラメータとデコーダ10に入力されるビットストリームに付加された符号化パラメータとを同じくするように制御する。また、制御部41は、可変長復号部12からのMBパラメータを無効とし、MBパラメータ計算部36で計算されたMB層の全ての符号化パラメータを用いてエンコード部38でエンコードを行うようにスイッチ部37を制御する。
Further, when the
一方、上述の画像処理システム1おいて、可変長復号部12からのパラメータ判定情報に基づいて、ピクチャ層以上の符号化パラメータ及びMBパラメータにエラーを含んでおり無効であることを示すフラグを検出したときには、エンコーダ30のMBパラメータ計算部36で計算したMBパラメータを用いてエンコードを行う。以下に、符号化パラメータが無効であるときの処理について図5に示すタイミングチャートを参照して説明する。
On the other hand, in the
この図5に示すタイミングチャートによれば、図5(a)に示すようにピクチャ時間t1〜t12に亘りピクチャI2,B0,B1,P5,B3,B4,P8,B6,B7,I2,B0,B1の順にピクチャが配されてなるビットストリームがデコーダ10のバッファ11に入力される。
According to the timing chart shown in FIG. 5, as shown in FIG. 5A, the pictures I2, B0, B1, P5, B3, B4, P8, B6, B7, I2, B0, A bit stream in which pictures are arranged in the order of
これに応じて、デコーダ10の可変長復号部12では、図5(c)に示すように、ビットストリームの入力タイミングと同じタイミングでピクチャ時間t1〜t12に亘りピクチャI2,B0,B1,P5,B3,B4,P8,B6,B7,I2,B0,B1の順でMBパラメータのデコードを行う。
In response to this, in the variable
ここで、図5(d)に示すように、ピクチャ時間t4において、ピクチャP5についてのMB層のシンタクスエラーが発生すると、可変長復号部12は、図5(e)に示すように、パラメータ判定情報(mb_parameters_valid)のMB層についての1ビットのフラグを“0”とする。そして、可変長復号部12は、ピクチャP5の次のピクチャB3のスタートコードでエラーリカバリーを行う。
Here, as shown in FIG. 5D, when a syntax error of the MB layer for the picture P5 occurs at the picture time t4, the variable
また、可変長復号部12は、ピクチャ時間t1〜t3及びt5〜t12においてはMB層にエラーが発生せずに、パラメータ判定情報のMB層についての1ビットのフラグを“1”とする。
Further, the variable
また、デコーダ10は、図5(f)に示すように、可変長復号部12でデコードして生成したMBパラメータをメモリ13にバッファリングして制御部41からの制御によりビットストリームの入力タイミングに対して4ピクチャ時間だけ遅延させてピクチャ時間t5〜t16に亘りピクチャI2,B0,B1,P5,B3,B4,P8,B6,B7,I2,B0,B1の順でMBパラメータを30に出力する。
Further, as shown in FIG. 5 (f), the decoder 10 buffers the MB parameter generated by decoding by the variable
更に、デコーダ10は、図5(b)に示すように、ビットストリームの入力タイミングに対して1ピクチャ時間だけ遅延してピクチャ時間t2〜t13に亘ってピクチャB0,B1,I2,B3,B4,P5,B6,B7,P8,B0,B1,I2の順に画像データをエンコーダ30に出力する。
Further, as shown in FIG. 5B, the decoder 10 delays pictures B0, B1, I2, B3, B4 over picture times t2 to t13 with a delay of one picture time with respect to the input timing of the bit stream. Image data is output to the
図5(a)〜(f)に示したデコーダ10側の処理に対し、エンコーダ30では、図5(g)に示すように、デコーダ10から画像データが図5(b)に示す出力タイミングに対して遅延なしでピクチャ時間t2〜t10に亘りピクチャB0,B1,I2,B3,B4,P5,B6,B7,P8の順に画像データが入力される。
In contrast to the processing on the decoder 10 side shown in FIGS. 5A to 5F, in the
また、エンコーダ30には、図5(h)に示すように、図5(f)に示すMBパラメータの出力タイミングに対して遅延なしでピクチャ時間t5〜t16に亘りピクチャI2,B0,B1,P5,B3,B4,P8,B6,B7,I2,B0,B1ついてのMBパラメータが入力される。
Further, as shown in FIG. 5 (h), the
そして、図5(i)に示すように、図5(h)に示したMBパラメータの入力タイミングと同じタイミングで、制御部41では、可変長復号部12からのパラメータ判定情報に基づいて、可変長復号部12からのMBパラメータが有効か否かの判定を行う。ここで、図5(i)においては、制御部41によりMBパラメータを有効と判定したときには“1”と表記し、制御部41によりMBパラメータを無効と判定したときには“0”と表記している。
Then, as shown in FIG. 5 (i), at the same timing as the MB parameter input timing shown in FIG. It is determined whether the MB parameter from the
図5(d)に示したようにピクチャ時間t4においてピクチャP5についてのMBパラメータにエラーを含んでいる旨のパラメータ判定情報に応じて、制御部41は、ピクチャP5がエラーコンシールにより生成された画像データであることを認識する。そして、制御部41は、ピクチャP5を用いて予測符号化がなされて生成されたピクチャB3,B4,P8,B6,B7についてのMBパラメータも無効とする。そして、制御部41は、ピクチャP5を用いないで生成されるピクチャI2から再びMBパラメータが有効と判定する。すなわち、制御部41は、ピクチャ時間t5〜t7に入力されるピクチャI2,B0,B1についてのMBパラメータ及びピクチャ時間t14〜t16に入力されるピクチャI2,B0,B1についてのMBパラメータを有効と判定し、ピクチャ時間t8〜t13に入力されるピクチャP5,B3,B4,P8,B6,B7についてのMBパラメータを無効と判定する。 As illustrated in FIG. 5D, in response to the parameter determination information indicating that the MB parameter for the picture P5 includes an error at the picture time t4, the control unit 41 generates an image in which the picture P5 is generated by the error concealment. Recognize that it is data. Then, the control unit 41 also invalidates the MB parameters for the pictures B3, B4, P8, B6, and B7 generated by predictive coding using the picture P5. Then, the control unit 41 determines that the MB parameter is valid again from the picture I2 generated without using the picture P5. That is, the control unit 41 determines that the MB parameters for the pictures I2, B0, and B1 input at the picture times t5 to t7 and the MB parameters for the pictures I2, B0, and B1 input at the picture times t14 to t16 are valid. The MB parameters for the pictures P5, B3, B4, P8, B6, and B7 input during the picture times t8 to t13 are determined to be invalid.
図5(i)に示したように、MBパラメータが有効と判定されたピクチャI2,B0,B1については、制御部41は、スイッチ部37が端子bと接続するように制御し、可変長復号部12からスイッチ部37に入力されたMBパラメータを用いてエンコード部38で動きベクトルの予測等の処理を行ってエンコードを行うように制御する。
As shown in FIG. 5 (i), for the pictures I2, B0, B1 for which the MB parameter is determined to be valid, the control unit 41 controls the
一方、図5(i)に示したように、MBパラメータが無効と判定されたピクチャP5,B3,B4,P8,B6,B7については、制御部41は、スイッチ部37が端子aと接続するように制御し、可変長復号部12で生成されエンコーダ30に入力されたMBパラメータを用いず、MBパラメータ計算部36で計算したMBパラメータを用いてエンコード部38で動きベクトルの予測等の処理を行ってエンコードを行うように制御する。
On the other hand, as shown in FIG. 5I, for the pictures P5, B3, B4, P8, B6, and B7 for which the MB parameter is determined to be invalid, the control unit 41 connects the
そして、エンコーダ30は、エンコード部38でエンコード等をすることで生成したビットストリームを、図5(j)に示すように、図5(g)に示す画像データ入力の入力タイミングに対して3ピクチャ時間分遅延してピクチャ時間t5〜t16に亘りピクチャI2,B0,B1,P5,B3,B4,P8,B6,B7,I2,B0,B1の順に出力する。
Then, the
ここで、エンコーダ30側ではエンコードするのに要するピクチャ時間分だけピクチャ層の符号化パラメータをメモリ42でバッファリングする必要がある。そして、本例において、制御部41は、M=3のGOPで構成されるビットストリームを出力するとき、画像データの入力タイミングに対して3ピクチャ時間分(t2〜t4)だけ遅延させて出力するように制御する。
Here, on the
このように構成された画像処理システム1は、デコーダ10の可変長復号部12でピクチャ層の符号化パラメータ、MBパラメータにエラーが発生していることを示すパラメータ判定情報を生成して、エンコーダ30で用いる符号化パラメータを制御部41により制御することができる。したがって、この画像処理システム1によれば、例えば符号化パラメータが無効であるときには、当該符号化パラメータを用いないでエンコーダ30で計算して生成した符号化パラメータを用いて再エンコードを行うことで、正確に再エンコードを行うことができる。
In the
具体的には、画像処理システム1によれば、図5(d)に示すように、MB層のエラーが発生したときには、デコーダ10の可変長復号部12で生成したMBパラメータを用いないで、MBパラメータ計算部36で計算したMBパラメータを用いてエンコード部38で再エンコードを行うことで、間違いのある符号化パラメータを用いて再エンコードすることを防止することができる。
Specifically, according to the
上述の図3〜図5を用いて説明した動作を行う画像処理システム1に備えられるエンコーダ30は、Iピクチャ又はPピクチャの間隔が3(M=3)以下のGOPで構成される画像データについてエンコードを行うものであり、Mが3以上(M>3)のGOPで構成される画像データが入力されたときには、Mが3以下(M≦3)の画像データに変更する処理を制御部41により行って再エンコードを行う。
The
例えば、エンコーダ30にピクチャI0,B1,B2,B3,B4,P5が順に表示される画像データについては、制御部41は、ピクチャB3をピクチャP3と変更する処理を行ってピクチャI0,B1,B2,P3,B4,P5が順に表示される画像データとする。これにより、制御部41は、M=5のGOPの画像データを、M=3とM=2のGOPの画像データとする。
For example, for image data in which pictures I0, B1, B2, B3, B4, and P5 are displayed in order on the
制御部41は、上述のように、Mを変更するとき、ピクチャの表示順に従ってエンコーダ30に入力されるピクチャパラメータのpicture_coding_typeを参照して、連続して入力されるBピクチャの数をカウントし、当該カウント数が3となったときのBピクチャをPピクチャに変更するように符号化パラメータを生成して再エンコードを行うように制御する。
As described above, when changing the M, the control unit 41 refers to the picture_coding_type of the picture parameter input to the
このような処理を行う画像処理システム1について図6のタイミングチャートを参照して説明する。
The
この図6に示すタイミングチャートによれば、先ず、図6(a)に示すように、ピクチャ時間t1〜t14に亘りピクチャI2,B0,B1,P5,B3,B4,Pa,B6,B7,B8,B9,Pd,Bb,Bcの順にピクチャが配されてなるビットストリームがデコーダ10のバッファ11に入力される。
According to the timing chart shown in FIG. 6, first, as shown in FIG. 6 (a), pictures I2, B0, B1, P5, B3, B4, Pa, B6, B7, B8 over picture times t1 to t14. , B9, Pd, Bb, Bc, a bit stream in which pictures are arranged in this order is input to the
ここで、デコーダ10に入力されたビットストリームについてのMは、あるピクチャ時間のIピクチャ又はPピクチャから後のピクチャ時間に出現するIピクチャ又はPピクチャまでのピクチャ数を検出することにより得られ、図6(b)に示すように、ピクチャI2,B0,B1で3となり、ピクチャP5,B3,B4で“3”となり、ピクチャPa,B6,B7,B8,B9で“5”となり、ピクチャPd,Bb,Bcで“3”となる。 Here, M for the bitstream input to the decoder 10 is obtained by detecting the number of pictures from an I picture or P picture at a certain picture time to an I picture or P picture appearing at a later picture time, As shown in FIG. 6B, the picture I2, B0, B1 becomes 3, the picture P5, B3, B4 becomes “3”, the picture Pa, B6, B7, B8, B9 becomes “5”, and the picture Pd , Bb and Bc become “3”.
図6(a)に示すビットストリームの入力タイミングと同じタイミングで、デコーダ10の可変長復号部12では、図6(d)に示すように、ピクチャ時間t1〜t14に亘りピクチャI2,B0,B1,P5,B3,B4,Pa,B6,B7,B8,B9,Pd,Bb,Bcの順で各ピクチャについてのMBパラメータのデコードを行う。
At the same timing as the input timing of the bit stream shown in FIG. 6A, the variable
そして、デコーダ10は、図6(e)に示すように、可変長復号部12で生成したMBパラメータをメモリ13にバッファリングして制御部41からの制御によりビットストリームの入力タイミングに対して4ピクチャ時間だけ遅延させてピクチャ時間t5〜t16に亘りピクチャI2,B0,B1,P5,B3,B4,P8,B6,B7,I2,B0,B1の順で各ピクチャについてのMBパラメータをエンコーダ30に出力する。
Then, as shown in FIG. 6E, the decoder 10 buffers the MB parameter generated by the variable
更に、デコーダ10は、図6(c)に示すように、ビットストリームの入力タイミングに対して1ピクチャ時間だけ遅延しピクチャ時間t2〜t15に亘ってピクチャB0,B1,I2,B3,B4,P5,B6,B7,B8,B9,Pa,Bb,Bc,Pdの順に画像データをエンコーダ30に出力する。
Further, as shown in FIG. 6 (c), the decoder 10 delays by one picture time with respect to the input timing of the bit stream and delays the pictures B0, B1, I2, B3, B4, P5 over the picture times t2 to t15. , B6, B7, B8, B9, Pa, Bb, Bc, and Pd are output to the
これに対し、エンコーダ30には、図6(f)に示すように、図6(c)に示すデコーダ10からの画像データの出力タイミングと同じタイミングで、ピクチャ時間t2〜t15に亘ってピクチャB0,B1,I2,B3,B4,P5,B6,B7,B8,B9,Pa,Bb,Bc,Pdの順に画像データが入力される。
On the other hand, as shown in FIG. 6F, the
ここで、制御部41は、図6(g)に示すように、図6(f)に示す画像データの入力タイミングに基づいて、エンコーダ30に時間的に連続して入力されるBピクチャの数をカウントして、カウント数を得る。制御部41は、Iピクチャ又はPピクチャがエンコーダ30に入力されたとき、又はカウント数が“3”となったときに、カウント数を“0”にリセットする。
Here, as shown in FIG. 6G, the control unit 41 counts the number of B pictures that are continuously input to the
すなわち、制御部41は、図6(f)に示すように入力された画像データに対し、1,2,0,1,2,0,1,2,3,1,0,1,2,0とピクチャに対応したカウント数を得る。 That is, the control unit 41 applies 1, 2, 0, 1, 2, 0, 1, 2, 3, 1, 0, 1, 2, to the input image data as shown in FIG. 0 and the count corresponding to the picture are obtained.
そして、制御部41は、図6(g)に示すカウント数に基づいて、画像データのMを変更するか否かを判定を行う。すなわち、制御部41は、カウンタ数が“3”となったときに画像データのMを変更する旨の判定をし、図6(h)に示すように、ピクチャ時間t10においてカウンタ数が“3”におけるピクチャB8をPピクチャに変更して、Mを変更する。 Then, the control unit 41 determines whether or not to change M of the image data based on the count number shown in FIG. That is, the control unit 41 determines that M of the image data is to be changed when the counter number reaches “3”, and the counter number is “3” at the picture time t10 as shown in FIG. The picture B8 in "" is changed to a P picture, and M is changed.
このようにBピクチャをPピクチャに変更した場合において、制御部41は、図6(i)に示すように、図6(g)に示すカウンタ数に基づいて、各ピクチャについてのピクチャタイプ(picture_coding_type)を決定する。本例において、制御部41は、ピクチャ時間t10におけるピクチャB8をPピクチャに変更することにより、図6(f)のピクチャタイプをBピクチャからPピクチャに変更する処理を行う。 In this way, when the B picture is changed to the P picture, the control unit 41, as shown in FIG. 6 (i), based on the counter number shown in FIG. 6 (g), the picture type (picture_coding_type) for each picture. ). In this example, the control unit 41 performs a process of changing the picture type in FIG. 6F from the B picture to the P picture by changing the picture B8 at the picture time t10 to the P picture.
ここで、制御部41は、デコーダ10からエンコーダ30に入力されるMBパラメータに関わらず、カウント数に基づいて決定したピクチャタイプに従ってエンコード部38で再エンコードを行うように制御する。
Here, the control unit 41 controls the
また、エンコーダ30には、図6(j)に示すように、図6(e)に示すMBパラメータの出力タイミングに対して遅延なしでピクチャ時間t5〜t18に亘りピクチャI2,B0,B1,P5,B3,B4,Pa,B6,B7,B8,B9,Pd,Bb,BcついてのMBパラメータが順に入力される。
Further, as shown in FIG. 6 (j), the
そして、図6(k)に示すように、図6(j)に示したMBパラメータの入力タイミングと同じタイミングで、制御部41では、可変長復号部12からのパラメータ判定情報に基づいて、可変長復号部12からのMBパラメータが有効か否かの判定を行う。ここで、図6(k)においては、制御部41によりMBパラメータを有効と判定したときには“1”と表記し、制御部41によりMBパラメータを無効と判定したときには“0”と表記している。
Then, as shown in FIG. 6 (k), the control unit 41 is variable based on the parameter determination information from the variable
ここで、制御部41は、上述の図6(i)に示すようにピクチャ時間t10におけるピクチャをBピクチャからPピクチャに変更した場合において、変更した時におけるBピクチャと時間的に連続するBピクチャから、時間的に後のPピクチャまでにおける各ピクチャについてのMBパラメータ(例えば動きベクトル等)を無効と判定する。 Here, when the picture at the picture time t10 is changed from the B picture to the P picture as shown in FIG. 6 (i), the control unit 41 is a B picture that is temporally continuous with the B picture at the time of the change. Therefore, it is determined that the MB parameter (for example, motion vector) for each picture up to the later P picture in time is invalid.
すなわち、制御部41は、カウンタ数が3であるときのピクチャB8と当該ピクチャB8と時間的に連続するピクチャB6,B7,B9から、時間的に後のピクチャPaまでのMBパラメータを無効と判定し、それ以外のピクチャについてのMBパラメータを有効と判定する。 That is, the control unit 41 determines that the MB parameters from the picture B8 when the counter number is 3 and the pictures B6, B7, and B9 temporally continuous to the picture B8 to the picture Pa that is temporally later are invalid. Then, the MB parameters for other pictures are determined to be valid.
そして、制御部41は、無効と判定されたMBパラメータに対応するピクチャについてはMBパラメータ計算部36で計算して得たMBパラメータを用いてエンコード部38で再エンコードを行い、有効と判定されたMBパラメータに対応するピクチャについてはデコーダ10からのMBパラメータを用いてエンコード部38で再エンコードを行う。
Then, the control unit 41 re-encodes the picture corresponding to the MB parameter determined to be invalid by the
すなわち、制御部41は、デコーダ10から入力されたMBパラメータが無効であるピクチャB6〜Paまでについてはスイッチ部37が端子aと接続するように制御し、可変長復号部12で生成されエンコーダ30に入力されたMBパラメータを用いず、MBパラメータ計算部36で計算したMBパラメータ(picture_coding_type)を用いてエンコード部38で動きベクトルの予測等の処理を行ってエンコードを行うようにスイッチ部37を制御する。
That is, the control unit 41 controls the
一方、制御部41は、デコーダ10から入力されたMBパラメータが有効であるピクチャについては、可変長復号部12からスイッチ部37に入力されたMBパラメータを用いてエンコード部38で動きベクトルの予測等の処理を行ってエンコードを行うように制御する。
On the other hand, for the picture for which the MB parameter input from the decoder 10 is valid, the control unit 41 uses the MB parameter input from the variable
そして、エンコーダ30は、エンコード部38でエンコード等をすることで生成したビットストリームを、図6(l)に示すように、図6(f)に示す画像データ入力の入力タイミングに対して3ピクチャ時間遅延してピクチャ時間t5〜t18に亘りピクチャI2,B0,B1,P5,B3,B4,P8,B6,B7,Pa,B9,Pd,Bb,Bcの順に出力する。
Then, the
ここで、エンコーダ30側ではエンコードするのに要するピクチャ時間分だけピクチャ層の符号化パラメータをメモリ42でバッファリングする必要がある。そして、本例において、制御部41は、M=3のGOPで構成されるビットストリームを出力するとき、画像データの入力タイミングに対して3ピクチャ時間分(t2〜t4)だけ遅延させて出力するように制御する。
Here, on the
このような処理を行う画像処理システム1によれば、Mが3以下のGOPの画像データに対応したエンコーダ30において、Mが3以上のGOPの画像データがデコーダ10から入力されたときにはBピクチャをPピクチャに変更してMが3以下のGOPの画像データに変更しても、デコーダ10からの符号化パラメータに代えてMBパラメータ計算部36で計算した符号化パラメータを用いることにより正確に再エンコードを行うことができる。
According to the
すなわち、この画像処理システム1によれば、デコーダ10から入力する符号化パラメータがエンコーダ30で符号化することができる範囲外であっても、MBパラメータ計算部36で計算した符号化パラメータを用いることにより、符号化パラメータを変更して再エンコードを行うことができる。
That is, according to this
また、エンコーダ30は、デコーダ10から入力されたMBパラメータのうち量子化スケールを使用して再エンコードを行った場合であっても、エンコード部38で再エンコードした各ピクチャについての平均量子化スケールを計算する処理を行う。このとき、エンコーダ30では、MBパラメータのうち、量子化スケールが有効であることを示すフラグを検出し、エラーフラグのない有効な量子化スケールのみを用いて各ピクチャについての量子化スケールを計算する処理を行う。このように計算した平均量子化スケールは、レートコントロールに応じて可変長符号化部39で行う符号化の符号化難易度を学習するときに用いられる。これにより、エンコーダ30は、デコーダ10から入力される量子化スケールでエンコードを行う処理モードから、MBパラメータ計算部36で量子化スケールを計算してエンコードを行う処理モードに変更したとき、上述のように計算した平均量子化スケールを用いた学習を可変長符号化部39で再符号化を行うときのレートコントロールに生かすことができる。
Also, the
なお、本発明を適用した画像処理システム1の説明においては、可変長復号部12で生成するパラメータ判定情報をピクチャ層以上の階層及びMB層について生成するときの一例について説明したが、これに限らず、例えばMPEG規格に準拠したGOP層やスライス層等の他の階層(レイヤー)についてパラメータ判定情報を生成しても良い。これにより、画像処理システム1は、エンコーダ30で再エンコードを行うとき、上記各階層に対応したパラメータ判定情報を参照して、デコーダ10からの符号化パラメータを用いて再エンコードを行うか、各階層における符号化パラメータをMBパラメータ計算部36で生成して再エンコードを行うかを制御部41により判定して、正確な再エンコードを行うことができる。
In the description of the
更に、本発明を適用した画像処理システム1においては、パラメータ判定情報を可変長復号部12で生成して制御部41に出力する一例について説明したが、これに限らず、画像データ中のブランキング区間やクロマ信号のLSB(LeastSignificant Bit)等の有効な画像データでない信号部分に書き込んでデコーダ10からエンコーダ30に入力しても良い。このとき、可変長復号部12は、パラメータ判定情報のみならず、ピクチャ層以上の符号化パラメータ及びMBパラメータも画像データ中の有効な部分以外に書き込んであることが望ましい。
Furthermore, in the
つぎに、本発明を適用した他の画像処理システム100について説明する。この画像処理システムは、入力されるビットストリームを画像データにまでは復号しないで、その途中の符号化情報まで復号して、当該符号化情報を用いて再エンコードを行う。
Next, another
この画像処理システム100は、図7に示すように、入力端子101を介してビットストリームS51が入力されるバッファ102と、バッファ102からのビットストリームS51について可変長復号を行って量子化DCT係数からなる画像データとする可変長復号部103と、可変長復号部103からの画像データS52を逆量子化部105に出力するとともに及び画像データS52以外の情報S53を遅延処理部109に出力するスイッチ部104と、スイッチ部104からの画像データS52に逆量子化処理を行ってDCT係数からなる画像データとする逆量子化部105と、逆量子化部105からの画像データについて量子化処理を行って量子化DCT係数からなる画像データS54とする量子化部106と、可変長復号部103からの量子化パラメータに基づいて量子化部106の量子化処理を制御する量子化コントロール部107と、可変長復号部103からのパラメータ判定情報に基づいて符号化パラメータを生成するパラメータ発生部108と、スイッチ部104から量子化DCT係数以外の情報S53が入力される遅延処理部109と、量子化部106からの画像データS54、遅延処理部109で遅延処理がなされた情報S53、パラメータ発生部108で生成した符号化パラメータのいずれかを出力するように制御されるスイッチ部110と、スイッチ部110からの画像データについて可変長符号化処理を施してビットストリームS55を生成する可変長符号化部111と、バッファ11からのビットストリームを一旦格納して出力端子113を介して外部に出力するバッファ112とを備える。
As shown in FIG. 7, the
このように構成された画像処理システム100において、可変長復号部103は、上述した可変長復号部12と同様の処理を行い、バッファ102からのビットストリームに例えばマクロブロック(MB)単位で可変長復号処理を施すことで量子化DCT変換係数からなる画像データを求めてスイッチ部104に出力する。
In the
また、この可変長復号部103は、上述のように可変長復号処理を行うとともに、各MB層について付加されたMBパラメータ(MB_parameters)及びピクチャ層以上の符号化パラメータ(Sequence_GOP_Picure_parameters)を検出してスイッチ部104に出力する。更に、可変長復号部102は、ピクチャ層の符号化パラメータ及びMBパラメータが有効か否かを示すパラメータ判定情報(picture_mb_parameters_valid)を生成してパラメータ発生部108及びスイッチ部104に出力する。
Further, the variable
スイッチ部104は、図示しない制御部から制御信号が入力されることで端子A又は端子Bと接続されるように制御されて動作する。このスイッチ部104は、端子Aと接続することで可変長復号部103からの画像データを逆量子化部105に出力するとともに、端子Bと接続することで可変長復号部103からの符号化パラメータを遅延処理部109に出力する。
The
逆量子化部105は、スイッチ部104からの量子化DCT変換係数からなる画像データについて例えば8×8画素ブロックごとに逆量子化を行う。このとき、逆量子化部14は、画像データに量子化ステップを乗算することでDCT変換係数とする逆量子化処理を行って量子化部106に出力する。
The
量子化部106は、逆量子化部105からのDCT変換係数からなる画像データについて量子化を行うことで量子化DCT変換係数からなる画像データS54にしてスイッチ部110に出力する。
The
遅延処理部109は、逆量子化部105及び量子化部106における処理に要する時間だけスイッチ部110への入力タイミングを遅延させてスイッチ部110に符号化パラメータS53を出力する。
The
量子化コントロール部107は、可変長復号部103からの量子化パラメータに基づいて、バッファ112のビット占有量を計算し、バッファ112から所定のビットレート以下のビットストリームS55が出力されるように、量子化部106で行う量子化処理における量子化スケールを指定する量子化制御信号を生成する。
The
なお、この量子化コントロール部107は、エンコード及びデコードするときに原理上発生してしまう再生画像の動き補償によるビットストリームS55のミスマッチエラーが目立たないように量子化スケールを制御することが望ましい。
It is desirable that the
パラメータ発生部108は、可変長復号部103からパラメータ判定情報に基づいて符号化パラメータを生成する。すなわち、このパラメータ発生部108は、パラメータ判定情報により、エラーが発生している階層における符号化パラメータを生成してスイッチ部110に出力する。
The
スイッチ部110は、可変長復号部103からのパラメータ判定情報及び図示しない制御部から制御信号が入力されることで端子A、端子B又は端子Cと接続され出力タイミングが制御されて動作する。このスイッチ部110は、パラメータ判定情報により可変長復号部103で生成した符号化パラメータが有効と判定したときには遅延処理部109からの符号化パラメータを可変長符号化部111に出力するように端子Bと接続され、パラメータ判定情報により可変長復号部103で生成した符号化パラメータが無効と判定したときにはパラメータ発生部108からの符号化パラメータを可変長符号化部111に出力するように端子Cと接続される。
The
可変長符号化部111は、スイッチ部110からの画像データを可変長符号化してビットストリームS55を生成してバッファ112に出力し、目的とするビットレートで出力端子113を介してビットストリームを出力する。
The variable
このように構成された画像処理システム100において、入力端子101から入力されたビットストリームにシンタクスエラーが発生しないときの動作について説明する。
An operation when a syntax error does not occur in the bit stream input from the
このとき、可変長復号部103で生成されるパラメータ判定情報のフラグは、表1を参照して明らかなように“11”となる。すなわち、可変長復号部103で可変長復号されたビットストリームのピクチャ層及びMBパラメータにはエラーが発生しておらず有効である。したがって、この場合においては、可変長復号部103で生成した符号化パラメータを用いて可変長符号化部111で可変長符号化を行うことでビットレートを変換するように再エンコードをしてビットストリームS55を生成する。
At this time, the flag of the parameter determination information generated by the variable
次に、入力端子101から入力されたビットストリームにシンタクスエラーが発生した場合の画像処理システム100の動作について説明する。
Next, an operation of the
入力されたビットストリームにシンタクスエラーが発生すると、可変長復号部103は、パラメータ判定情報のフラグが“00”又は“10”となる。このとき、パラメータ発生部108は、エラーがIピクチャ又はPピクチャの位置で発生したときには、Pピクチャのピクチャヘッダを出力し、スキップマクロブロックとする旨のMBパラメータをスイッチ部110に出力する。
When a syntax error occurs in the input bitstream, the variable
また、パラメータ発生部108は、エラーがBピクチャの位置で発生したときにはBピクチャのピクチャヘッダを出力し、動きベクトルが“0”でありDCT係数を持たないことを示すMBパラメータをスイッチ部110に出力する。そして、スイッチ部110では、パラメータ判定情報に基づいて、端子Cに入力された符号化パラメータとともに、端子Aに入力された符号化パラメータを可変長符号化部111に出力し、ビットレートを変換するように再エンコードをしてビットストリームS55を生成する。
The
次に、入力端子101から入力されたビットストリームにMB層のシンタクスエラーが発生した場合の画像処理システム100の動作について説明する。
Next, the operation of the
この画像処理システム100において、パラメータ判定情報により、MB層のエラーがIピクチャの中で発生したときには、パラメータ発生部108は、エラーが発生したマクロブロックと隣接するマクロブロックについての符号化パラメータをエラーが発生したマクロブロックの符号化パラメータとしてスイッチ部110に出力する。
In this
また、エラーがPピクチャの中で発生した場合には、パラメータ発生部108は、スキップマクロブロックとする旨のMBパラメータをスイッチ部110に出力する。
When an error occurs in the P picture, the
更に、エラーがBピクチの中で発生したときには、パラメータ発生部108は、動きベクトルが“0”であり、DCT係数を持たないことを示すMBパラメータをスイッチ部110に出力する。そして、スイッチ部110では、パラメータ判定情報に基づいて、端子Cに入力された符号化パラメータとともに、端子Aに入力された符号化パラメータを可変長符号化部111に出力し、ビットレートを変換するように再エンコードをしてビットストリームS55を生成する。
Further, when an error occurs in the B picture, the
このように構成された画像処理システム100は、入力されたビットストリームにシンタクスエラーが発生する場合に置いても、可変長復号部103で生成したパラメータ判定情報に基づいて、パラメータ発生部108でピクチャ層及びMBパラメータを生成するので、シンタクスエラーを修正したビットストリームを生成するように再エンコードして出力端子113から出力することができる。
In the
1,100 画像処理システム、10 デコーダ、30 エンコーダ 1,100 image processing system, 10 decoder, 30 encoder
Claims (17)
上記復号手段で復号された画像データを再符号化するときに用いる各階層についての符号化パラメータを生成する符号化パラメータ生成手段と、
画像データの再符号化を行うときに上記符号化パラメータ生成手段により生成された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成するエラーフラグ生成手段と
を備える復号装置。 Decoding means for decoding the input bitstream to generate image data;
Encoding parameter generation means for generating an encoding parameter for each layer used when re-encoding the image data decoded by the decoding means;
Error flag generation means for generating an error flag indicating whether or not the encoding parameter for each layer generated by the encoding parameter generation means can be used effectively when re-encoding image data; A decoding device provided.
画像データの再符号化を行うときに各階層ごとの上記符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成する復号方法。 The input bitstream is decoded to generate image data, and the encoding parameter for each layer used when re-encoding the decoded image data is generated,
A decoding method for generating an error flag indicating whether or not the above encoding parameters for each layer can be used effectively when re-encoding image data.
復号装置からの符号化パラメータが有効でない旨の上記判定手段からの判定結果に基づいて、復号装置からの画像データを用いて符号化パラメータを計算する符号化パラメータ計算手段と、
復号装置からの符号化パラメータが有効であると判定手段により判定されたときには復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、復号装置からの符号化パラメータが有効でないと判定手段により判定されたときには上記符号化パラメータ計算手段で生成された符号化パラメータを用いて画像データの符号化を行う符号化手段と
を備える符号化装置。 Based on an error flag indicating whether or not the encoding parameter for each layer input from the decoding device can be used effectively, the above encoding is performed when re-encoding the image data input from the decoding device. Determining means for determining whether the parameter can be used effectively;
An encoding parameter calculation unit that calculates an encoding parameter using image data from the decoding device based on a determination result from the determination unit that the encoding parameter from the decoding device is not valid;
When the determination unit determines that the encoding parameter from the decoding device is valid, the image data is encoded using the encoding parameter input from the decoding device, and the encoding parameter from the decoding device is not effective. An encoding device comprising: encoding means for encoding image data using the encoding parameter generated by the encoding parameter calculating means when determined by the determining means.
復号装置からの符号化パラメータが有効でない旨の判定結果に基づいて、復号装置からの画像データを用いて符号化パラメータを計算する符号化パラメータ計算処理と、
復号装置からの符号化パラメータが有効であると判定されたときには復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、復号装置からの符号化パラメータが有効でないと判定されたときには上記符号化パラメータ計算処理で生成した符号化パラメータを用いて画像データの符号化を行う符号化処理と
を有する符号化方法。 Based on an error flag indicating whether or not the encoding parameter for each layer input from the decoding device can be used effectively, the above encoding is performed when re-encoding the image data input from the decoding device. A determination process for determining whether the parameter can be used effectively;
A coding parameter calculation process for calculating a coding parameter using image data from the decoding device based on a determination result that the coding parameter from the decoding device is not valid;
When it is determined that the encoding parameter from the decoding device is valid, the image data is encoded using the encoding parameter input from the decoding device, and it is determined that the encoding parameter from the decoding device is not effective. An encoding method comprising: an encoding process for encoding image data using the encoding parameter generated by the encoding parameter calculation process.
上記復号装置から入力された各階層ごとのエラーフラグに基づいて、再符号化を行うときに上記符号化パラメータを有効に用いることができるか否かを判定する判定手段と、上記復号装置からの符号化パラメータが有効でない旨の上記判定手段からの判定結果に基づいて、上記復号装置からの画像データを用いて符号化パラメータを計算する符号化パラメータ計算手段と、上記復号装置からの符号化パラメータが有効であると判定手段により判定されたときには上記復号装置から入力された符号化パラメータを用いて画像データの符号化を行い、上記復号装置からの符号化パラメータが有効でないと判定手段により判定されたときには上記符号化パラメータ計算手段で生成された符号化パラメータを用いて画像データの符号化を行う符号化手段とを備える符号化装置と
を備える画像処理システム。 Decoding means for decoding input bitstream to generate image data, and encoding parameter generation means for generating encoding parameters for each layer used when re-encoding image data decoded by the decoding means And an error flag generation means for generating an error flag indicating whether or not the encoding parameter for each layer generated by the encoding parameter generation means can be used effectively when re-encoding the image data A decoding device comprising:
A determination means for determining whether or not the encoding parameter can be used effectively when re-encoding based on an error flag for each layer input from the decoding device; An encoding parameter calculation unit that calculates an encoding parameter using image data from the decoding device based on a determination result from the determination unit that the encoding parameter is not valid, and an encoding parameter from the decoding device Is determined to be effective by the determination means, the image data is encoded using the encoding parameter input from the decoding device, and the determination means determines that the encoding parameter from the decoding device is not effective. In such a case, the encoding method for encoding the image data using the encoding parameter generated by the encoding parameter calculation means. Image processing system comprising a coding device comprising a and.
上記復号手段からの画像データを逆量子化してDCT変換係数とする逆量子化手段と、
上記逆量子化手段からのDCT変換係数を量子化して画像データとする量子化手段と、
上記復号手段で復号された画像データを再符号化するときに用いる各階層についての符号化パラメータを生成する符号化パラメータ生成手段と、
画像データの再符号化を行うときに上記符号化パラメータ生成手段により生成された各階層ごとの符号化パラメータを有効に用いることができるか否かを示すエラーフラグを生成するエラーフラグ生成手段と、
上記エラーフラグ生成手段からのエラーフラグに基づいて符号化パラメータを計算する符号化パラメータ計算手段と、
上記符号化パラメータ生成手段又は上記符号化パラメータ計算手段からの符号化パラメータを用いて上記量子化手段からの画像データの符号化を行う上記符号化手段と、
上記エラーフラグ生成手段で生成されたエラーフラグに基づいて符号化パラメータが有効であるときには上記符号化パラメータ生成手段で生成された符号化パラメータを用いて画像データの符号化を行なわせ、上記エラーフラグ生成手段で生成されたエラーフラグに基づいて符号化パラメータが有効でないときには上記符号化パラメータ計算手段で生成された符号化パラメータを用いて画像データの符号化を行わせる制御手段と
を備える徴とする画像処理システム。 Decoding means for decoding the input bitstream to generate image data;
Inverse quantization means for inversely quantizing the image data from the decoding means to obtain DCT transform coefficients;
Quantization means for quantizing the DCT transform coefficient from the inverse quantization means to form image data;
Encoding parameter generation means for generating an encoding parameter for each layer used when re-encoding the image data decoded by the decoding means;
Error flag generating means for generating an error flag indicating whether or not the encoding parameter for each layer generated by the encoding parameter generating means can be used effectively when re-encoding image data;
Coding parameter calculation means for calculating a coding parameter based on the error flag from the error flag generation means;
The encoding means for encoding the image data from the quantizing means using the encoding parameters from the encoding parameter generating means or the encoding parameter calculating means;
When the encoding parameter is valid based on the error flag generated by the error flag generating means, the image data is encoded using the encoding parameter generated by the encoding parameter generating means, and the error flag is set. Control means for encoding image data using the encoding parameter generated by the encoding parameter calculation means when the encoding parameter is not valid based on the error flag generated by the generation means. Image processing system.
上記画像データを逆量子化してDCT変換係数とする逆量子化処理と、上記DCT変換係数を量子化して画像データとする量子化処理と、
上記エラーフラグに基づいて符号化パラメータを計算する符号化パラメータ計算処理と、上記エラーフラグに基づいて符号化パラメータが有効であるときには復号処理で生成した符号化パラメータを用いて画像データの符号化を行い、上記エラーフラグに基づいて符号化パラメータが有効でないときには上記符号化パラメータ計算処理で生成した符号化パラメータを用いて画像データの符号化を行う符号化処理と
を有する画像処理方法。 Decode the input bitstream to obtain image data, encoding parameters for each layer used when re-encoding the image data, and encoding parameters for each layer when re-encoding the image data A decoding process for generating an error flag indicating whether or not it can be used effectively;
An inverse quantization process for inversely quantizing the image data to obtain a DCT transform coefficient; a quantization process for quantizing the DCT transform coefficient to obtain image data;
Encoding parameter calculation processing for calculating the encoding parameter based on the error flag, and encoding of image data using the encoding parameter generated by the decoding processing when the encoding parameter is valid based on the error flag. And an encoding process for encoding image data using the encoding parameter generated by the encoding parameter calculation process when the encoding parameter is not valid based on the error flag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008137236A JP4390009B2 (en) | 2008-05-26 | 2008-05-26 | Encoding apparatus and method, and image processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008137236A JP4390009B2 (en) | 2008-05-26 | 2008-05-26 | Encoding apparatus and method, and image processing system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP14398399A Division JP2000333163A (en) | 1999-05-24 | 1999-05-24 | Decoder, its method, coder, its method, image processing system and image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008252931A true JP2008252931A (en) | 2008-10-16 |
JP4390009B2 JP4390009B2 (en) | 2009-12-24 |
Family
ID=39977251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008137236A Expired - Fee Related JP4390009B2 (en) | 2008-05-26 | 2008-05-26 | Encoding apparatus and method, and image processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4390009B2 (en) |
-
2008
- 2008-05-26 JP JP2008137236A patent/JP4390009B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP4390009B2 (en) | 2009-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2319241B1 (en) | Skip modes for inter-layer residual video coding and decoding | |
RU2659748C2 (en) | Syntax and semantics for buffering information to simplify video concatenation | |
JP3861698B2 (en) | Image information encoding apparatus and method, image information decoding apparatus and method, and program | |
JP2005506815A5 (en) | ||
EP1833256B1 (en) | Selection of encoded data, setting of encoded data, creation of recoded data, and recoding method and device | |
JP2005506815A (en) | Method and apparatus for spatially extensible compression | |
JP2004518342A (en) | Scalable video transcoding method and apparatus | |
KR20060088461A (en) | Method and apparatus for deriving motion vectors of macro blocks from motion vectors of pictures of base layer when encoding/decoding video signal | |
JPH09121358A (en) | Picture coding/decoding device and its method | |
JP2005507589A5 (en) | ||
US7899121B2 (en) | Video encoding method, video encoder, and personal video recorder | |
JP2001145113A (en) | Device and method for image information conversion | |
US6795498B1 (en) | Decoding apparatus, decoding method, encoding apparatus, encoding method, image processing system, and image processing method | |
JP2006279573A (en) | Encoder and encoding method, and decoder and decoding method | |
JP2009290463A (en) | Encoding/decoding device, encoding/decoding method, and program | |
JP2007266749A (en) | Encoding method | |
US6804299B2 (en) | Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation | |
JP2002199392A (en) | Method and device for encoding image | |
KR100364748B1 (en) | Apparatus for transcoding video | |
JP4357560B2 (en) | Moving picture coding apparatus, moving picture coding method, and moving picture coding program | |
KR20070081949A (en) | Transcoding apparatus and method thereof | |
JP4390009B2 (en) | Encoding apparatus and method, and image processing system | |
JP2009246489A (en) | Video-signal switching apparatus | |
JP4133581B2 (en) | Telop synthesis device, telop synthesis method, and telop synthesis program | |
JP4399794B2 (en) | Image coding apparatus and image coding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081125 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090126 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090512 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090803 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20090827 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090915 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090928 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |