JP2014017621A - Video compression format converter, video compression format conversion method and program - Google Patents
Video compression format converter, video compression format conversion method and program Download PDFInfo
- Publication number
- JP2014017621A JP2014017621A JP2012152951A JP2012152951A JP2014017621A JP 2014017621 A JP2014017621 A JP 2014017621A JP 2012152951 A JP2012152951 A JP 2012152951A JP 2012152951 A JP2012152951 A JP 2012152951A JP 2014017621 A JP2014017621 A JP 2014017621A
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- prediction method
- unit
- unit block
- prediction
- 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 video compression format conversion device, a video compression format conversion method, and a program.
映像圧縮方式技術の高性能化に関する研究開発が、世界的に継続して実施されている。そして、映像圧縮技術に関する国際標準規格として、数年ごとに新しい技術が規格化されている。 Research and development on high-performance video compression technology is ongoing worldwide. New technologies are being standardized every few years as international standards for video compression technology.
近年では、2003年にH.264(例えば、非特許文献1参照)が規格化され、普及しつつある。しかしながら、国際標準規格の規格化の場では、新たな圧縮技術としてHEVC(例えば、非特許文献2参照)が議論されている。 Recently, in 2003, H.C. H.264 (for example, see Non-Patent Document 1) has been standardized and is becoming widespread. However, in the field of international standardization, HEVC (for example, see Non-Patent Document 2) is being discussed as a new compression technique.
H.264とHEVCといった、互いに異なる圧縮方式間では、類似した技術が用いられるものの、圧縮データのフォーマットとしての互換性はない場合がある。例えばH.264とHEVCとでは、どちらも動き補償および直交変換(離散コサイン変換)をベースとした方式であるが、フォーマットに関する互換性はない。 H. Although a similar technique is used between different compression schemes such as H.264 and HEVC, there are cases where there is no compatibility as a format of compressed data. For example, H.C. Both H.264 and HEVC are based on motion compensation and orthogonal transform (discrete cosine transform), but there is no compatibility with respect to the format.
このため、新たな映像圧縮方式が普及する際には、圧縮データフォーマットが互いに異なる映像コンテンツが、混在することになる。このため、映像コンテンツを、旧来の圧縮データフォーマットから、新たな圧縮データフォーマットに変換する、フォーマット変換技術が求められる。 For this reason, when a new video compression method becomes widespread, video contents having different compression data formats are mixed. Therefore, there is a need for a format conversion technique for converting video content from an old compressed data format to a new compressed data format.
従来のフォーマット変換技術は、変換の前後で符号化処理の単位ブロックサイズが同一である場合を想定した技術である。 The conventional format conversion technique is a technique that assumes a case where the unit block size of the encoding process is the same before and after conversion.
例えばMPEG−2(例えば、非特許文献3参照)とH.264とでは、符号化処理の単位ブロックサイズが同一である。このため、映像コンテンツをMPEG−2からH.264に変換する場合、変換対象となる符号化処理ブロックが1対1で対応するため、変換前の符号化情報を変換後の圧縮処理に用いることは容易であり、従来のフォーマット変換技術を適用することが可能であった。 For example, MPEG-2 (for example, see Non-Patent Document 3) and H.264. In H.264, the unit block size of the encoding process is the same. For this reason, video content is changed from MPEG-2 to H.264. When converting to H.264, since the encoding processing blocks to be converted correspond one-to-one, it is easy to use the encoding information before conversion for the compression processing after conversion, and the conventional format conversion technology is applied. It was possible to do.
しかしながら、H.264からHEVCのように、変換の前後で符号化処理の単位ブロックサイズが異なる場合、上述のように変換前の符号化情報を変換後の圧縮処理に単純に用いると、画質が低下してしまう場合があった。 However, H.C. When the unit block size of the encoding process is different before and after the conversion, such as H.264 to HEVC, if the encoded information before the conversion is simply used for the compression process after the conversion as described above, the image quality is deteriorated. There was a case.
そこで、本発明は、上述の課題に鑑みてなされたものであり、変換の前後で符号化処理の単位ブロックサイズが異なる圧縮方式間であっても、画質の低下を抑制しつつ映像圧縮フォーマットを変換できる映像圧縮フォーマット変換装置、映像圧縮フォーマット変換方法、およびプログラムを提供することを目的とする。 Therefore, the present invention has been made in view of the above-described problems, and a video compression format is suppressed while suppressing deterioration in image quality even between compression methods having different unit block sizes of encoding processing before and after conversion. An object is to provide a video compression format conversion device, a video compression format conversion method, and a program that can be converted.
本発明は、上記の課題を解決するために、以下の事項を提案している。
(1) 本発明は、符号化処理の単位ブロックサイズが異なる圧縮方式間での映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置(例えば、図1の映像圧縮フォーマット変換装置1や、図10の映像圧縮フォーマット変換装置1Aに相当)であって、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、当該変換後単位ブロックで適用し得る全ての予測方法(例えば、図6〜9のIntra8×8、Intra16×16、Inter8×8、およびInter16×16に相当)の中から、1つ以上を予測方法候補として選択する予測方法候補決定手段(例えば、図4の予測方法候補決定部212や、図12の予測方法候補決定部212Aに相当)と、前記変換後単位ブロックごとに、前記予測方法候補を適用した結果を求める適用結果算出手段(例えば、図4や図12の単位予測値生成部213およびコスト値算出部214に相当)と、前記変換後単位ブロックごとに、前記適用結果算出手段により求められた結果に基づいて、前記予測方法候補の中から当該変換後単位ブロックに最適な予測方法を決定する予測方法決定手段(例えば、図4や図12の予測方法決定部215に相当)と、を備えることを特徴とする映像圧縮フォーマット変換装置を提案している。
The present invention proposes the following matters in order to solve the above problems.
(1) The present invention relates to a video compression format conversion device (for example, the video compression
この発明によれば、符号化処理の単位ブロックサイズが異なる圧縮方式間での映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置に、予測方法候補決定手段、適用結果算出手段、および予測方法決定手段を設けた。そして、予測方法候補決定手段により、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、この変換後単位ブロックで適用し得る全ての予測方法の中から、1つ以上を予測方法候補として選択することとした。また、適用結果算出手段により、変換後単位ブロックごとに、予測方法候補を適用した結果を求めることとした。また、予測方法決定手段により、変換後単位ブロックごとに、適用結果算出手段により求められた結果に基づいて、この変換後単位ブロックに最適な予測方法を予測方法候補の中から決定することとした。 According to the present invention, a prediction method candidate determination unit, an application result calculation unit, and a prediction method determination unit are provided in a video compression format conversion device that converts a video compression format between compression methods having different unit block sizes for encoding processing. Was provided. Then, by the prediction method candidate determination means, for each unit block after conversion, which is a unit block of the encoding process after conversion, one or more prediction methods can be selected from all prediction methods applicable to the unit block after conversion It was decided to select as a candidate. Further, the result of applying the prediction method candidate is obtained for each unit block after conversion by the application result calculation means. Further, the prediction method determining means determines, for each unit block after conversion, the prediction method optimum for the converted unit block from prediction method candidates based on the result obtained by the application result calculation means. .
このため、予測方法候補として、変換処理である符号化処理において高い符号化性能が期待される予測方法を選択することで、変換後単位ブロックごとに、符号化処理において高い符号化性能が期待される予測方法を適用できる。したがって、変換の前後で符号化処理の単位ブロックサイズが異なる圧縮方式間であっても、画質の低下を抑制しつつ、映像圧縮フォーマットを変換できる。 Therefore, by selecting a prediction method that is expected to have high encoding performance in the encoding process that is the conversion process as a prediction method candidate, high encoding performance is expected in the encoding process for each unit block after conversion. Can be applied. Therefore, the video compression format can be converted while suppressing a decrease in image quality even between compression methods having different unit block sizes for encoding processing before and after conversion.
また、適用結果算出手段により予測方法候補を適用した結果を求め、この結果に基づいて、予測方法決定手段により変換後単位ブロックに最適な予測方法を決定する。このため、適用結果算出手段は、適用結果を、変換後単位ブロックで適用し得る全ての予測方法について求めるのではなく、これら予測方法のうちの一部である予測方法候補についてのみ求めることになる。したがって、変換の前後で符号化処理の単位ブロックサイズが異なる圧縮方式間において、変換に要する処理コストを低減できる。 Further, a result of applying the prediction method candidate is obtained by the application result calculation means, and based on this result, the prediction method optimum for the converted unit block is determined by the prediction method determination means. For this reason, the application result calculation means does not obtain application results for all prediction methods that can be applied in the converted unit block, but only for prediction method candidates that are a part of these prediction methods. . Therefore, it is possible to reduce the processing cost required for the conversion between the compression methods having different unit block sizes of the encoding process before and after the conversion.
(2) 本発明は、(1)の映像圧縮フォーマット変換装置について、前記変換後単位ブロックで適用し得る全ての予測方法と、変換前における符号化処理の単位ブロックである変換前単位ブロックのうち当該変換後単位ブロックに対応するもので適用し得る全ての予測方法(例えば、図6〜9のIntra4×4、Intra8×8、Inter4×4、およびInter8×8に相当)と、の組み合わせごとに、変換の前後での予測方法の遷移を遷移率で評価する遷移率算出手段(例えば、図4の予測方法候補決定部212や、図12の予測方法候補決定部212Aに相当)を備え、前記予測方法候補決定手段は、前記遷移率に基づいて、前記予測方法候補を選択することを特徴とする映像圧縮フォーマット変換装置を提案している。
(2) In the video compression format conversion apparatus according to (1), the present invention includes all prediction methods that can be applied in the converted unit block, and a unit block before conversion that is a unit block of encoding processing before conversion. For each combination of all prediction methods applicable to the unit block after conversion (for example, equivalent to Intra4 × 4, Intra8 × 8, Inter4 × 4, and Inter8 × 8 in FIGS. 6 to 9) , Comprising a transition rate calculation means (e.g., equivalent to the prediction method
ここで、変換前単位ブロックにおける予測方法と、変換後単位ブロックにおける予測方法と、の間には、相関性が存在する場合がある。 Here, there may be a correlation between the prediction method in the unit block before conversion and the prediction method in the unit block after conversion.
そこで、この発明によれば、(1)の映像圧縮フォーマット変換装置に遷移率算出手段を設けた。そして、遷移率算出手段により、変換後単位ブロックで適用し得る全ての予測方法と、変換前における符号化処理の単位ブロックである変換前単位ブロックのうち変換後単位ブロックに対応するもので適用し得る全ての予測方法と、の組み合わせごとに、変換の前後での予測方法の遷移を遷移率で評価することとした。また、予測方法候補決定手段により、遷移率に基づいて、予測方法候補を選択することとした。 Therefore, according to the present invention, the transition rate calculation means is provided in the video compression format conversion apparatus of (1). Then, the transition rate calculation means applies all prediction methods that can be applied to the unit block after conversion and the one corresponding to the unit block after conversion among the unit blocks before conversion that is the unit block of the encoding process before conversion. For each combination of all prediction methods to be obtained, the transition of the prediction method before and after the conversion is evaluated by the transition rate. Further, the prediction method candidate determining means selects the prediction method candidate based on the transition rate.
このため、変換後単位ブロックにおける予測方法の決定に、変換前単位ブロックにおける予測方法を反映させることができる。したがって、画質の低下をさらに抑制できる。 For this reason, the prediction method in the unit block before conversion can be reflected in the determination of the prediction method in the unit block after conversion. Therefore, it is possible to further suppress the deterioration of the image quality.
(3) 本発明は、(2)の映像圧縮フォーマット変換装置について、前記変換後単位ブロックごとに、当該変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像の特徴量解析を行う画像解析手段(例えば、図4の画像解析部211に相当)を備え、前記遷移率算出手段は、前記画像解析手段による特徴量解析の結果に基づいて、前記遷移率を算出することを特徴とする映像圧縮フォーマット変換装置を提案している。
(3) In the video compression format conversion apparatus according to (2), the present invention is an image analysis unit that performs, for each unit block after conversion, feature value analysis of a decoded video in a unit block before conversion corresponding to the unit block after conversion. (E.g., corresponding to the
ここで、変換前単位ブロックにおける予測方法と、変換後単位ブロックにおける予測方法と、の間には、テクスチャの複雑さやオブジェクトの追従性などの、映像の特徴量に応じた相関性が存在する場合がある。 Here, there is a correlation between the prediction method in the pre-conversion unit block and the prediction method in the post-conversion unit block according to the feature amount of the video, such as texture complexity and object tracking. There is.
そこで、この発明によれば、(2)の映像圧縮フォーマット変換装置に画像解析手段を設けた。そして、画像解析手段により、変換後単位ブロックごとに、この変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像の特徴量解析を行うこととした。また、遷移率算出手段により、画像解析手段による特徴量解析の結果に基づいて、遷移率を算出することとした。 Therefore, according to the present invention, image analysis means is provided in the video compression format conversion apparatus of (2). Then, the feature amount analysis of the decoded video in the unit block before conversion corresponding to the unit block after conversion is performed for each unit block after conversion by the image analysis unit. Further, the transition rate is calculated by the transition rate calculation means based on the result of the feature amount analysis by the image analysis means.
このため、変換後単位ブロックにおける予測方法の決定に、この変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像の特徴量に応じて、変換前単位ブロックにおける予測方法を反映させることができる。したがって、画質の低下をさらに抑制できる。 Therefore, the prediction method in the unit block before conversion can be reflected in the determination of the prediction method in the unit block after conversion according to the feature amount of the decoded video in the unit block before conversion corresponding to the unit block after conversion. Therefore, it is possible to further suppress the deterioration of the image quality.
(4) 本発明は、(3)の映像圧縮フォーマット変換装置について、前記画像解析手段は、前記特徴量解析を行って、変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像についてテクスチャの複雑さを評価し、前記遷移率算出手段は、前記テクスチャの複雑さの評価結果に基づいて前記遷移率を算出し、前記予測方法候補決定手段は、前記遷移率に基づいて、前記テクスチャの複雑さが高くなるに従って高精度になる予測方法を、前記予測方法候補として選択することを特徴とする映像圧縮フォーマット変換装置を提案している。 (4) In the video compression format conversion device according to (3), the image analysis unit performs the feature amount analysis, and the texture of the decoded video in the unit block before conversion corresponding to the unit block after conversion The transition rate calculating means calculates the transition rate based on the texture complexity evaluation result, and the prediction method candidate determining means determines the texture complexity based on the transition rate. A video compression format conversion device is proposed in which a prediction method that becomes more accurate as the value of the image becomes higher is selected as the prediction method candidate.
この発明によれば、(3)の映像圧縮フォーマット変換装置において、画像解析手段により、特徴量解析を行って、変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像についてテクスチャの複雑さを評価し、遷移率算出手段により、テクスチャの複雑さの評価結果に基づいて遷移率を算出することとした。また、予測方法候補決定手段により、遷移率に基づいて、テクスチャの複雑さが高くなるに従って高精度になる予測方法を、予測方法候補として選択することとした。 According to the present invention, in the video compression format conversion apparatus of (3), the feature amount analysis is performed by the image analysis means, and the complexity of the texture is evaluated for the decoded video in the unit block before conversion corresponding to the unit block after conversion. The transition rate is calculated by the transition rate calculation means based on the texture complexity evaluation result. Further, the prediction method candidate determining means selects, as the prediction method candidate, a prediction method that becomes more accurate as the texture complexity increases based on the transition rate.
このため、変換後単位ブロックにおける予測方法の決定に、この変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像のテクスチャの複雑さに応じて、変換前単位ブロックにおける予測方法を反映させることができる。したがって、画質の低下をさらに抑制できる。 Therefore, the prediction method in the unit block before conversion may be reflected in the determination of the prediction method in the unit block after conversion according to the complexity of the texture of the decoded video in the unit block before conversion corresponding to the unit block after conversion. it can. Therefore, it is possible to further suppress the deterioration of the image quality.
(5) 本発明は、(3)または(4)の映像圧縮フォーマット変換装置について、前記画像解析手段は、前記特徴量解析を行って、変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像についてオブジェクトの追従性を評価し、前記遷移率算出手段は、前記オブジェクトの追従性の評価結果に基づいて前記遷移率を算出し、前記予測方法候補決定手段は、前記遷移率に基づいて、前記オブジェクトの追従性が低くなるに従ってイントラ予測を前記予測方法候補として選択する度合いを高くすることを特徴とする映像圧縮フォーマット変換装置を提案している。 (5) In the video compression format conversion apparatus according to (3) or (4), the image analysis unit performs the feature amount analysis and decodes the decoded video in the unit block before conversion corresponding to the unit block after conversion. The tracking rate of the object is evaluated, the transition rate calculating unit calculates the transition rate based on the evaluation result of the tracking property of the object, and the prediction method candidate determining unit is based on the transition rate, A video compression format conversion device has been proposed in which the degree of selecting intra prediction as the prediction method candidate is increased as the object followability decreases.
この発明によれば、(3)または(4)の映像圧縮フォーマット変換装置において、画像解析手段により、特徴量解析を行って、変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像についてオブジェクトの追従性を評価し、遷移率算出手段により、オブジェクトの追従性の評価結果に基づいて遷移率を算出することとした。また、予測方法候補決定手段により、遷移率に基づいて、オブジェクトの追従性が低くなるに従ってイントラ予測を予測方法候補として選択する度合いを高くすることとした。 According to the present invention, in the video compression format conversion device of (3) or (4), the feature amount analysis is performed by the image analysis unit, and the decoded video in the unit block before conversion corresponding to the unit block after conversion The followability is evaluated, and the transition rate is calculated by the transition rate calculation means based on the evaluation result of the object followability. Further, the prediction method candidate determining means increases the degree of selecting intra prediction as a prediction method candidate as the object followability decreases based on the transition rate.
このため、変換後単位ブロックにおける予測方法の決定に、この変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像のオブジェクトの追従性に応じて、変換前単位ブロックにおける予測方法を反映させることができる。したがって、画質の低下をさらに抑制できる。 Therefore, the prediction method in the unit block before conversion may be reflected in the determination of the prediction method in the unit block after conversion according to the followability of the decoded video object in the unit block before conversion corresponding to the unit block after conversion. it can. Therefore, it is possible to further suppress the deterioration of the image quality.
(6) 本発明は、(1)の映像圧縮フォーマット変換装置について、前記予測方法候補決定手段には、前記予測方法候補として選択すべき予測方法を示す情報(例えば、図10や図11の予測方法候補情報pに相当)が入力され、前記予測方法候補決定手段は、前記情報に基づいて前記予測方法候補を選択することを特徴とする映像圧縮フォーマット変換装置を提案している。 (6) In the video compression format conversion apparatus according to (1), the present invention provides the prediction method candidate determination unit with information indicating a prediction method to be selected as the prediction method candidate (for example, prediction in FIGS. 10 and 11). The prediction method candidate determination means proposes a video compression format conversion device that selects the prediction method candidate based on the information.
この発明によれば、(1)の映像圧縮フォーマット変換装置において、予測方法候補決定手段には、予測方法候補として選択すべき予測方法を示す情報が入力され、この予測方法候補決定手段により、上述の情報に基づいて予測方法候補を選択することとした。 According to the present invention, in the video compression format conversion device of (1), information indicating a prediction method to be selected as a prediction method candidate is input to the prediction method candidate determination unit, and the prediction method candidate determination unit performs the above-described operation. The prediction method candidate is selected based on the information.
このため、上述の情報に基づいて、適切な予測方法を予測方法候補として選択することができる。 For this reason, an appropriate prediction method can be selected as a prediction method candidate based on the above information.
(7) 本発明は、(1)〜(6)のいずれかの映像圧縮フォーマット変換装置について、予測ブロックサイズと、符号化方法と、イントラ予測方向と、動きベクトルと、の少なくともいずれかを、前記予測方法として用いることを特徴とする映像圧縮フォーマット変換装置を提案している。 (7) The present invention provides at least one of a prediction block size, an encoding method, an intra prediction direction, and a motion vector for the video compression format conversion device according to any one of (1) to (6). A video compression format conversion device is proposed which is used as the prediction method.
この発明によれば、(1)〜(6)のいずれかの映像圧縮フォーマット変換装置において、予測ブロックサイズと、符号化方法と、イントラ予測方向と、動きベクトルと、の少なくともいずれかを、予測方法として用いることとした。これによれば、上述した効果と同様の効果を奏することができる。 According to the present invention, in the video compression format conversion device according to any one of (1) to (6), at least one of a prediction block size, an encoding method, an intra prediction direction, and a motion vector is predicted. We decided to use it as a method. According to this, an effect similar to the effect mentioned above can be produced.
(8) 本発明は、予測方法候補決定手段(例えば、図4の予測方法候補決定部212や、図12の予測方法候補決定部212Aに相当)、適用結果算出手段(例えば、図4や図12の単位予測値生成部213およびコスト値算出部214に相当)、および予測方法決定手段(例えば、図4や図12の予測方法決定部215に相当)を備え、符号化処理の単位ブロックサイズが異なる圧縮方式間での映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置(例えば、図1の映像圧縮フォーマット変換装置1や、図10の映像圧縮フォーマット変換装置1Aに相当)における映像圧縮フォーマット変換方法であって、前記予測方法候補決定手段が、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、当該変換後単位ブロックで適用し得る全ての予測方法(例えば、図6〜9のIntra8×8、Intra16×16、Inter8×8、およびInter16×16に相当)の中から、1つ以上を予測方法候補として選択する第1のステップ(例えば、図5や図13の予測方法候補決定処理に相当)と、前記適用結果算出手段が、前記変換後単位ブロックごとに、前記予測方法候補を適用した結果を求める第2のステップ(例えば、図5や図13の予測値生成処理およびコスト値算出処理に相当)と、前記予測方法決定手段が、前記変換後単位ブロックごとに、前記第2のステップにおいて求められた結果に基づいて、前記予測方法候補の中から当該変換後単位ブロックに最適な予測方法を決定する第3のステップ(例えば、図5や図13の予測方法決定処理に相当)と、を備えることを特徴とする映像圧縮フォーマット変換方法を提案している。
(8) The present invention provides a prediction method candidate determination unit (for example, equivalent to the prediction method
この発明によれば、予測方法候補決定手段により、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、この変換後単位ブロックで適用し得る全ての予測方法の中から、1つ以上を予測方法候補として選択することとした。また、適用結果算出手段により、変換後単位ブロックごとに、予測方法候補を適用した結果を求めることとした。また、予測方法決定手段により、変換後単位ブロックごとに、適用結果算出手段により求められた結果に基づいて、この変換後単位ブロックに最適な予測方法を予測方法候補の中から決定することとした。このため、上述した効果と同様の効果を奏することができる。 According to this invention, one prediction method that can be applied to each unit block after conversion, which is a unit block for encoding processing after conversion, is selected from among all prediction methods that can be applied to this unit block after conversion. The above was selected as a prediction method candidate. Further, the result of applying the prediction method candidate is obtained for each unit block after conversion by the application result calculation means. Further, the prediction method determining means determines, for each unit block after conversion, the prediction method optimum for the converted unit block from prediction method candidates based on the result obtained by the application result calculation means. . For this reason, the effect similar to the effect mentioned above can be produced.
(9) 本発明は、予測方法候補決定手段(例えば、図4の予測方法候補決定部212や、図12の予測方法候補決定部212Aに相当)、適用結果算出手段(例えば、図4や図12の単位予測値生成部213およびコスト値算出部214に相当)、および予測方法決定手段(例えば、図4や図12の予測方法決定部215に相当)を備え、符号化処理の単位ブロックサイズが異なる圧縮方式間での映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置(例えば、図1の映像圧縮フォーマット変換装置1や、図10の映像圧縮フォーマット変換装置1Aに相当)における映像圧縮フォーマット変換方法を、コンピュータに実行させるためのプログラムであって、前記予測方法候補決定手段が、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、当該変換後単位ブロックで適用し得る全ての予測方法(例えば、図6〜9のIntra8×8、Intra16×16、Inter8×8、およびInter16×16に相当)の中から、1つ以上を予測方法候補として選択する第1のステップ(例えば、図5や図13の予測方法候補決定処理に相当)と、前記適用結果算出手段が、前記変換後単位ブロックごとに、前記予測方法候補を適用した結果を求める第2のステップ(例えば、図5や図13の予測値生成処理およびコスト値算出処理に相当)と、前記予測方法決定手段が、前記変換後単位ブロックごとに、前記第2のステップにおいて求められた結果に基づいて、前記予測方法候補の中から当該変換後単位ブロックに最適な予測方法を決定する第3のステップ(例えば、図5や図13の予測方法決定処理に相当)と、をコンピュータに実行させるためのプログラムを提案している。
(9) The present invention provides a prediction method candidate determination unit (for example, equivalent to the prediction method
この発明によれば、コンピュータを用いてプログラムを実行することで、予測方法候補決定手段により、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、この変換後単位ブロックで適用し得る全ての予測方法の中から、1つ以上を予測方法候補として選択することとした。また、適用結果算出手段により、変換後単位ブロックごとに、予測方法候補を適用した結果を求めることとした。また、予測方法決定手段により、変換後単位ブロックごとに、適用結果算出手段により求められた結果に基づいて、この変換後単位ブロックに最適な予測方法を予測方法候補の中から決定することとした。このため、上述した効果と同様の効果を奏することができる。 According to this invention, by executing the program using a computer, the prediction method candidate determining means applies the converted unit block to each unit block after conversion, which is a unit block of the encoding process after conversion. One or more of the obtained prediction methods are selected as prediction method candidates. Further, the result of applying the prediction method candidate is obtained for each unit block after conversion by the application result calculation means. Further, the prediction method determining means determines, for each unit block after conversion, the prediction method optimum for the converted unit block from prediction method candidates based on the result obtained by the application result calculation means. . For this reason, the effect similar to the effect mentioned above can be produced.
本発明によれば、変換の前後で符号化処理の単位ブロックサイズが異なる圧縮方式間であっても、画質の低下を抑制するとともに、変換に要する処理コストを低減しつつ、映像圧縮フォーマットを変換できる。 According to the present invention, it is possible to convert a video compression format while suppressing deterioration in image quality and reducing the processing cost required for conversion, even between compression methods having different encoding unit block sizes before and after conversion. it can.
以下、本発明の実施の形態について図面を参照しながら説明する。なお、以下の実施形態における構成要素は適宜、既存の構成要素などとの置き換えが可能であり、また、他の既存の構成要素との組み合せを含む様々なバリエーションが可能である。したがって、以下の実施形態の記載をもって、特許請求の範囲に記載された発明の内容を限定するものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the constituent elements in the following embodiments can be appropriately replaced with existing constituent elements, and various variations including combinations with other existing constituent elements are possible. Accordingly, the description of the following embodiments does not limit the contents of the invention described in the claims.
<第1実施形態>
[映像圧縮フォーマット変換装置1の構成および動作]
図1は、本発明の第1実施形態に係る映像圧縮フォーマット変換装置1のブロック図である。映像圧縮フォーマット変換装置1は、変換前圧縮データaを、変換前圧縮データaとは符号化処理の単位ブロックサイズが異なる圧縮方式の変換後圧縮データbに変換する。この映像圧縮フォーマット変換装置1は、変換前復号処理部10および変換処理部20を備える。
<First Embodiment>
[Configuration and Operation of Video Compression Format Conversion Apparatus 1]
FIG. 1 is a block diagram of a video compression
(変換前復号処理部10の構成および動作)
図2は、変換前復号処理部10のブロック図である。変換前復号処理部10は、エントロピー復号部11、第1の予測値生成部12、逆DCT/逆量子化部13、およびローカルメモリ14を備える。
(Configuration and operation of pre-conversion decoding processor 10)
FIG. 2 is a block diagram of the pre-conversion
エントロピー復号部11は、変換前圧縮データaを入力とする。このエントロピー復号部11は、変換前圧縮データaをエントロピー復号して、変換前における符号化処理の単位ブロックである変換前単位ブロックごとに変換前符号化情報dおよび残差信号fを抽出し、出力する。
The
第1の予測値生成部12は、変換前符号化情報dと、ローカルメモリ14から出力される後述の変換前デコード映像eと、を入力とする。この第1の予測値生成部12は、変換前符号化情報dに従って、変換前単位ブロックごとに変換前デコード映像eから予測値gを生成し、出力する。
The first predicted
逆DCT/逆量子化部13は、残差信号fを入力とする。この逆DCT/逆量子化部13は、変換前単位ブロックごとに残差信号fに対して逆DCT処理および逆量子化処理を行って、逆DCTおよび逆量子化された残差信号hとして出力する。
The inverse DCT /
第1の予測値生成部12から出力された予測値gと、逆DCT/逆量子化部13から出力された残差信号hとは、変換前単位ブロックごとに加算器で加算され、変換前デコード映像eとして変換前復号処理部10から出力される。
The predicted value g output from the first predicted
ローカルメモリ14は、変換前デコード映像eを入力とする。このローカルメモリ14は、入力された変換前デコード映像eを蓄積し、適宜、第1の予測値生成部12に供給する。
The
(変換処理部20の構成および動作)
図3は、変換処理部20のブロック図である。変換処理部20は、第2の予測値生成部21、DCT/量子化部22、エントロピー符号化部23、逆DCT/逆量子化部24、およびローカルメモリ25を備える。
(Configuration and operation of conversion processing unit 20)
FIG. 3 is a block diagram of the
第2の予測値生成部21は、ローカルメモリ25から出力される後述の変換後ローカルデコード映像nと、変換処理部20の外部から入力される符号化パラメータcと、変換前符号化情報dと、変換前デコード映像eと、を入力とする。この第2の予測値生成部21は、図4に示すように、画像解析部211、予測方法候補決定部212、単位予測値生成部213、コスト値算出部214、および予測方法決定部215を備えており、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、図5に示す予測処理を行い、現在の変換後単位ブロックについての最適な予測方法を決定して、決定した予測方法による予測値iと、決定した予測方法を示す予測情報jと、を出力する。
The second predicted
なお、本実施形態において、予測方法の種類としては、例えば、予測ブロックサイズ、符号化方法、イントラ符号化における予測方向、動きベクトルなどを挙げることができる。符号化方法としては、例えば、イントラ予測やインター予測などを挙げることができる。 In this embodiment, examples of the prediction method include a prediction block size, a coding method, a prediction direction in intra coding, a motion vector, and the like. Examples of the encoding method include intra prediction and inter prediction.
画像解析部211は、図5の画像解析処理を行う。この画像解析部211は、変換前デコード映像eを入力とし、変換後単位ブロックごとに、この変換後単位ブロックに対応する変換前単位ブロックのデコード映像の特徴量解析を行う。特徴量解析では、後述のテクスチャの複雑さと、後述のオブジェクトの追従性と、の少なくともいずれかを評価し、評価結果に基づいて画像特徴量を決定する。
The
ここで、上述の変換後単位ブロックに対応する変換前単位ブロックについて、説明する。例えば、フレームを構成する全ての変換後単位ブロックのうちの1つを、所定の変換後単位ブロックと呼ぶこととする。すると、所定の変換後単位ブロックに対応する変換前単位ブロックとは、フレームを構成する全ての変換前単位ブロックのうち、所定の変換後単位ブロックに含まれる画素を含む変換前単位ブロックのことである。 Here, the pre-conversion unit block corresponding to the above-described post-conversion unit block will be described. For example, one of all the converted unit blocks constituting the frame is referred to as a predetermined converted unit block. Then, the pre-conversion unit block corresponding to the predetermined post-conversion unit block is a pre-conversion unit block including pixels included in the predetermined post-conversion unit block among all the pre-conversion unit blocks constituting the frame. is there.
テクスチャの複雑さの評価は、イントラ予測の容易性を評価するのに適している。テクスチャの複雑さを評価する場合には、例えば、変換前単位ブロック内の画素値の分散値や、変換前単位ブロック内の各画素にラプラシアンフィルタを適用した結果についてこの変換前単位ブロック内で二乗和した値や、変換前単位ブロック内の画素値をフーリエ変換などで周波数変換したときのAC成分のエネルギーを求める。 The evaluation of the complexity of the texture is suitable for evaluating the ease of intra prediction. When evaluating the complexity of the texture, for example, the variance of pixel values in the unit block before conversion and the result of applying a Laplacian filter to each pixel in the unit block before conversion are squared in the unit block before conversion. The energy of the AC component when the sum value and the pixel value in the unit block before conversion are frequency-converted by Fourier transform or the like is obtained.
一方、オブジェクトの追従性の評価は、インター予測の容易性を評価するのに適している。オブジェクトの追従性を評価する場合には、まず、オブジェクトの動きを検出する。オブジェクトの動きの検出では、例えば、時間的に過去のフレームのローカルデコード画像とブロックマッチングしたときの動きベクトルの大きさや、変換前単位ブロックを包含する領域(またはフレーム全体)でのグローバル動きの大きさなどを求める。なお、時間的に過去のフレームとのブロックマッチングによる動きベクトルの検出では、後述の予測方法候補決定部212への入力である変換前符号化情報に含まれる動きベクトルの情報を、援用できる。
On the other hand, evaluation of object followability is suitable for evaluating the ease of inter prediction. When evaluating the object followability, first, the movement of the object is detected. In detecting the motion of an object, for example, the size of a motion vector when block matching is performed with a local decoded image of a past frame in time, or the size of a global motion in an area (or the entire frame) including a unit block before conversion. I ask for it. Note that in detection of motion vectors by block matching with temporally past frames, motion vector information included in pre-conversion encoded information that is an input to a prediction method
次に、上述の検出したオブジェクトの動きを用いて符号化処理ブロックの動き補償を行った際の、符号化処理ブロック画素値と参照先画素値との差分に関する二乗和または絶対値和を求める。 Next, the sum of squares or the sum of absolute values related to the difference between the encoding processing block pixel value and the reference pixel value when the motion compensation of the encoding processing block is performed using the detected object motion is obtained.
予測方法候補決定部212は、図5の予測方法候補決定処理を行う。予測方法候補決定部212は、変換前符号化情報dと、符号化パラメータcと、上述の画像解析処理で決定された画像特徴量と、を入力とする。この予測方法候補決定部212は、変換後単位ブロックごとに、まず、この変換後単位ブロックで効果的な予測方法を変換前符号化情報dに基づいて抽出する。次に、この変換後単位ブロックで最終的に候補とする予測方法を予測方法候補情報として、画像特徴量や符号化パラメータcを用いて決定する。
The prediction method
ここで、本実施形態に係る映像圧縮フォーマット変換装置1は、映像圧縮フォーマットの変換の前後で符号化処理の単位ブロックサイズが異なる場合を想定している。そこで、予測方法候補決定部212は、変換後単位ブロックに適した予測方法候補として、この変換後単位ブロックに対応する変換前単位ブロックにおける全ての予測方法と、これら全ての予測方法のそれぞれに符号化性能が近い予測方法と、を選択する。
Here, the video compression
具体的には、予測方法候補決定部212は、まず、変換後単位ブロックで適用し得る全ての予測方法と、この変換後単位ブロックに対応する変換前単位ブロックで適用し得る全ての予測方法と、の組み合わせごとに、変換の前後での予測方法の遷移率を初期値に設定するとともに、これら遷移率の閾値を設定する。
Specifically, the prediction method
図6は、遷移率を初期値に設定するとともに、これら遷移率の閾値を設定した例を示す図である。図6では、変換前の予測方法として、Intra4×4、Intra8×8、Inter4×4、およびInter8×8を想定し、変換後の予測方法として、Intra8×8、Intra16×16、Inter8×8、およびInter16×16を想定している。そして、例えばIntra4×4からIntra8×8に遷移する遷移率の初期値として15%を設定し、Inter4×4からInter16×16に遷移する遷移率の初期値として5%を設定している。また、遷移率の閾値として、10%を設定している。 FIG. 6 is a diagram illustrating an example in which transition rates are set to initial values and threshold values for these transition rates are set. In FIG. 6, Intra4 × 4, Intra8 × 8, Inter4 × 4, and Inter8 × 8 are assumed as the prediction methods before conversion, and the prediction methods after conversion are Intra8 × 8, Intra16 × 16, Inter8 × 8, And Inter16 × 16 are assumed. For example, 15% is set as the initial value of the transition rate for transition from Intra4 × 4 to Intra8 × 8, and 5% is set as the initial value of the transition rate for transition from Inter4 × 4 to Inter16 × 16. Further, 10% is set as the threshold of the transition rate.
予測方法候補決定部212は、次に、画像解析部211で決定された画像特徴量と、符号化パラメータcと、に基づいて遷移率を更新する。
Next, the prediction method
図7は、図6に示した遷移率を、テクスチャの複雑さを用いて更新した例を示す図である。図7では、テクスチャの複雑さが高くなるに従って、予測ブロックを細分化する予測方法の遷移率を高くしている。これによれば、テクスチャの複雑さが高くなるに従って、高精度になる予測方法が、後述の予測方法候補決定部212において予測方法候補として選択されることになる。
FIG. 7 is a diagram illustrating an example in which the transition rate illustrated in FIG. 6 is updated using the complexity of the texture. In FIG. 7, as the texture complexity increases, the transition rate of the prediction method for subdividing the prediction block is increased. According to this, as the texture complexity increases, a prediction method that becomes more accurate is selected as a prediction method candidate by the prediction method
図8は、図7に示した遷移率を、オブジェクトの追従性を用いて更新した例を示す図である。図8では、オブジェクトの追従性が低くなるに従って、イントラ予測の遷移率を高くしている。これによれば、オブジェクトの追従性が低くなるに従って、イントラ予測が、後述の予測方法候補決定部212において予測方法候補として選択されることになる。
FIG. 8 is a diagram showing an example in which the transition rate shown in FIG. 7 is updated by using the object followability. In FIG. 8, the transition rate of intra prediction is increased as the object followability decreases. According to this, as the object followability becomes lower, intra prediction is selected as a prediction method candidate in the prediction method
予測方法候補決定部212は、次に、遷移率が閾値以上である予測方法を、変換後の処理ブロックにおける予測方法候補として決定する。
Next, the prediction method
図9は、図8に示した遷移率に基づいて、変換後の処理ブロックにおける予測方法候補を選択した例を示す図である。図9では、上述の設定した閾値(10%)以上である遷移率が、5つある。このため、これら5つの遷移率で遷移すると求められたIntra8×8、Intra16×16、およびInter8×8が予測方法候補として選択される。 FIG. 9 is a diagram illustrating an example in which a prediction method candidate in the converted processing block is selected based on the transition rate illustrated in FIG. In FIG. 9, there are five transition rates that are equal to or greater than the threshold value (10%) set above. For this reason, Intra8 × 8, Intra16 × 16, and Inter8 × 8, which are determined to transition at these five transition rates, are selected as prediction method candidates.
単位予測値生成部213は、図5の予測値生成処理を行う。この単位予測値生成部213は、変換前デコード映像eと、変換後ローカルデコード映像nと、上述の予測方法候補決定処理で決定された予測方法候補と、を入力とし、予測方法候補ごとに、その予測方法にしたがって、入力された映像から予測値を求める。
The unit predicted
コスト値算出部214は、図5のコスト値算出処理を行う。このコスト値算出部214は、予測値生成処理で求められた予測方法候補ごとの予測値と、変換後ローカルデコード映像nと、変換前デコード映像eと、を入力とし、予測方法候補ごとに、その予測方法によって生じる符号化歪および符号量を、コスト値として算出する。
The cost
予測方法決定部215は、図5の予測方法決定処理を行う。この予測方法決定部215は、コスト値算出処理で求められた予測方法候補ごとのコスト値と、変換後ローカルデコード映像nと、変換前デコード映像eと、を入力とし、コスト値の最も高い予測方法候補の予測方法を、現在の変換後単位ブロックについての最適な予測方法として決定し、決定した予測方法による予測値iと、決定した予測方法を示す予測情報jと、を出力する。
The prediction
図3に戻って、DCT/量子化部22は、予測値iと変換前デコード映像eとの差分信号(残差信号)を入力とする。このDCT/量子化部22は、変換後単位ブロックごとに残差信号に対してDCTを行ってDCT係数を求め、このDCT係数に対して量子化処理を行って、DCTおよび量子化された残差信号kとして出力する。
Returning to FIG. 3, the DCT /
エントロピー符号化部23は、予測情報jと、DCTおよび量子化された残差信号kと、を入力とする。このエントロピー符号化部23は、変換後単位ブロックごとに、入力された情報に対して可変長符号化または算術符号化を行い、その結果を符号化シンタックスにしたがって圧縮データストリームとして書き出し、変換後圧縮データbとして出力する。
The
逆DCT/逆量子化部24は、DCTおよび量子化された残差信号kを入力とする。この逆DCT/逆量子化部24は、変換後単位ブロックごとに、DCTおよび量子化された残差信号kに対して逆量子化処理および逆DCT処理を行って、逆量子化および逆DCTされた残差信号mとして出力する。
The inverse DCT /
ローカルメモリ25は、変換後ローカルデコード映像nを入力とする。変換後ローカルデコード映像nは、予測値iと、逆量子化および逆DCTされた残差信号mと、の加算情報のことである。このローカルメモリ25は、入力された変換後ローカルデコード映像nを蓄積し、適宜、第2の予測値生成部21に供給する。
The
以上の映像圧縮フォーマット変換装置1によれば、以下の効果を奏することができる。
According to the video
映像圧縮フォーマット変換装置1は、変換後単位ブロックごとに、この変換後単位ブロックに対応する変換前単位ブロックのデコード映像について、テクスチャの複雑さと、オブジェクトの追従性と、の少なくともいずれかを評価して、評価結果に基づいて画像特徴量を決定する。そして、変換後単位ブロックで適用し得る全ての予測方法の中から、この変換後単位ブロックでの候補を画像特徴量を用いて絞り込み、候補ごとにコスト値を算出して、コスト値に基づいて、絞り込んだ候補の中から1つをこの変換後単位ブロックで適用する予測方法として決定する。このため、変換後単位ブロックにおける予測方法の決定に、この変換後単位ブロックに対応する変換前単位ブロックにおけるデコード映像のテクスチャの複雑さやオブジェクトの追従性に応じて、変換前単位ブロックにおける予測方法を反映させることができる。したがって、画質の低下を抑制しつつ、映像圧縮フォーマットを変換できる。
For each unit block after conversion, the video compression
また、映像圧縮フォーマット変換装置1は、上述のように、変換後単位ブロックで適用し得る全ての予測方法の中から候補を予め絞り込んだ上で、この変換後単位ブロックで適用する予測方法を最終的に1つに決定する。このため、上述のように絞り込まない場合と比べて、コスト値を算出する処理を少なくすることができるため、変換に要する処理コストを低減できる。
In addition, as described above, the video compression
<第2実施形態>
[映像圧縮フォーマット変換装置1Aの構成および動作]
図10は、本発明の第2実施形態に係る映像圧縮フォーマット変換装置1Aのブロック図である。映像圧縮フォーマット変換装置1Aは、図1に示した本発明の第1実施形態に係る映像圧縮フォーマット変換装置1とは、変換処理部20の代わりに変換処理部20Aを備える点が異なる。なお、映像圧縮フォーマット変換装置1Aにおいて、映像圧縮フォーマット変換装置1と同一構成要件については、同一符号を付し、その説明を省略する。
Second Embodiment
[Configuration and Operation of Video Compression
FIG. 10 is a block diagram of a video compression
(変換処理部20の構成および動作)
図11は、変換処理部20Aのブロック図である。変換処理部20Aは、図3に示した本発明の第1実施形態に係る変換処理部20とは、第2の予測値生成部21の代わりに第2の予測値生成部21Aを備える点が異なる。
(Configuration and operation of conversion processing unit 20)
FIG. 11 is a block diagram of the
図12は、第2の予測値生成部21Aのブロック図である。第2の予測値生成部21Aは、図4に示した本発明の第1実施形態に係る第2の予測値生成部21とは、画像解析部211を備えていない点と、予測方法候補決定部212の代わりに予測方法候補決定部212Aを備える点と、が異なる。
FIG. 12 is a block diagram of the second predicted
予測方法候補決定部212Aは、変換前符号化情報dと、予測方法候補情報pと、を入力とする。予測方法候補情報pは、予測方法候補として選択すべき予測方法を示す情報であり、変換処理部20Aの外部から入力される。なお、本実施形態では、変換の前後での予測方法の遷移は、画像特徴量に依存しないものとする。
The prediction method candidate determination unit 212A receives the pre-transform coding information d and the prediction method candidate information p as inputs. The prediction method candidate information p is information indicating a prediction method to be selected as a prediction method candidate, and is input from the outside of the
この予測方法候補決定部212Aは、変換前符号化情報dの予測方法に対して、予測方法候補情報pにしたがって、最終的に処理ブロックで候補とする予測方法を、予測方法候補情報として選択する。予測方法候補情報として選択する際には、例えば、処理ブロックに含まれる変換前の全ての予測方法に対する全ての予測方法を候補としたり、処理ブロックに含まれる変換前の予測方法のうち頻度の高い予測方法に対応する予測方法を候補としたりする。 This prediction method candidate determination unit 212A selects, as prediction method candidate information, a prediction method that is finally made a candidate in a processing block according to the prediction method candidate information p for the prediction method of the pre-transform coding information d. . When selecting as prediction method candidate information, for example, all the prediction methods for all the prediction methods before conversion included in the processing block are candidates, or among the prediction methods before conversion included in the processing block, the frequency is high. A prediction method corresponding to the prediction method is set as a candidate.
以上の映像圧縮フォーマット変換装置1Aによれば、以下の効果を奏することができる。
According to the video compression
映像圧縮フォーマット変換装置1Aは、予測方法候補情報pに基づいて、変換後単位ブロックで適用し得る全ての予測方法の中から、この変換後単位ブロックでの候補を画像特徴量を用いて絞り込み、候補ごとにコスト値を算出して、コスト値に基づいて、絞り込んだ候補の中から1つをこの変換後単位ブロックで適用する予測方法として決定する。このため、映像圧縮フォーマット変換装置1が奏することのできる上述の効果と同様の効果を奏することができる。
Based on the prediction method candidate information p, the video compression
また、映像圧縮フォーマット変換装置1Aでは、映像圧縮フォーマット変換装置1に設けられている画像解析部211が不要である。このため、映像圧縮フォーマット変換装置1と比べて、構成を簡易化できるとともに、変換に要する処理コストをさらに提言できる。
Further, in the video compression
なお、本発明の映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1Aの処理を、コンピュータ読み取り可能な非一時的な記録媒体に記録し、この記録媒体に記録されたプログラムを映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1Aに読み込ませ、実行することによって、本発明を実現できる。
The processing of the video compression
ここで、上述の記録媒体には、例えば、EPROMやフラッシュメモリといった不揮発性のメモリ、ハードディスクといった磁気ディスク、CD−ROMなどを適用できる。また、この記録媒体に記録されたプログラムの読み込みおよび実行は、映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1Aに設けられたプロセッサによって行われる。
Here, for example, a nonvolatile memory such as an EPROM or a flash memory, a magnetic disk such as a hard disk, a CD-ROM, or the like can be applied to the above-described recording medium. Further, reading and execution of the program recorded on the recording medium is performed by a processor provided in the video compression
また、上述のプログラムは、このプログラムを記憶装置などに格納した映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1Aから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネットなどのネットワーク(通信網)や電話回線などの通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
The above-mentioned program is transmitted from the video compression
また、上述のプログラムは、上述の機能の一部を実現するためのものであってもよい。さらに、上述の機能を映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1Aにすでに記録されているプログラムとの組み合せで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。
Further, the above-described program may be for realizing a part of the above-described function. Furthermore, what can implement | achieve the above-mentioned function in combination with the program already recorded on the video
以上、この発明の実施形態につき、図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計なども含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes a design that does not depart from the gist of the present invention.
例えば、上述の第1実施形態や第2実施形態では、映像圧縮フォーマットの変換の前後で符号化処理の単位ブロックサイズが異なる場合を想定しているものとしたが、具体的には、変換前の処理ブロックサイズが、変換後の処理ブロックサイズより小さい場合であってもよいし、変換後の処理ブロックサイズより大きい場合であってもよい。 For example, in the first embodiment and the second embodiment described above, it is assumed that the unit block size of the encoding process is different before and after the conversion of the video compression format. The processing block size may be smaller than the converted processing block size, or may be larger than the converted processing block size.
また、上述の第1実施形態や第2実施形態では、変換前の予測方法として、Intra4×4、Intra8×8、Inter4×4、およびInter8×8を想定するものとしたが、これに限らず、種々の予測方法を想定することができる。また、変換後の予測方法として、Intra8×8、Intra16×16、Inter8×8、およびInter16×16と、を想定するものとしたが、これに限らず、種々の予測方法を想定することができる。 In the first embodiment and the second embodiment described above, Intra4 × 4, Intra8 × 8, Inter4 × 4, and Inter8 × 8 are assumed as prediction methods before conversion, but are not limited thereto. Various prediction methods can be assumed. In addition, as prediction methods after conversion, Intra8 × 8, Intra16 × 16, Inter8 × 8, and Inter16 × 16 are assumed, but not limited thereto, various prediction methods can be assumed. .
また、上述の第2実施形態では、予測方法候補情報pは、変換処理部20Aの外部から入力されるものとしたが、これに限らず、変換処理部20Aの内部で生成されるものとしてもよい。
In the second embodiment described above, the prediction method candidate information p is input from the outside of the
なお、上述の第1実施形態や第2実施形態において、変換前圧縮データaの圧縮方式は、例えばH.264であり、変換後圧縮データbの圧縮方式は、例えばHEVCであってもよい。また、変換前圧縮データaの圧縮方式は、例えばMPEG−2であり、変換後圧縮データbの圧縮方式は、例えばHEVCであってもよい。 In the first embodiment and the second embodiment described above, the compression method of the pre-conversion compressed data a is, for example, H.264. H.264, and the compression method of the converted compressed data b may be HEVC, for example. Further, the compression method of the pre-conversion compressed data a may be MPEG-2, for example, and the compression method of the post-conversion compressed data b may be HEVC, for example.
1、1A・・・映像圧縮フォーマット変換装置
10・・・変換前復号処理部
20、20A・・・変換処理部
21、21A・・・第2の予測値生成部
211・・・画像解析部
212、212A・・・予測方法候補決定部
213・・・単位予測値生成部
214・・・コスト値算出部
215・・・予測方法決定部
DESCRIPTION OF
Claims (9)
変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、当該変換後単位ブロックで適用し得る全ての予測方法の中から、1つ以上を予測方法候補として選択する予測方法候補決定手段と、
前記変換後単位ブロックごとに、前記予測方法候補を適用した結果を求める適用結果算出手段と、
前記変換後単位ブロックごとに、前記適用結果算出手段により求められた結果に基づいて、前記予測方法候補の中から当該変換後単位ブロックに最適な予測方法を決定する予測方法決定手段と、を備えることを特徴とする映像圧縮フォーマット変換装置。 A video compression format converter for converting a video compression format between compression methods having different unit block sizes for encoding processing,
Prediction method candidate determination means for selecting one or more prediction methods as prediction method candidates from all prediction methods applicable to the converted unit block for each unit block after conversion, which is a unit block for encoding processing after conversion. When,
Application result calculation means for obtaining a result of applying the prediction method candidate for each unit block after conversion;
For each converted unit block, a prediction method determining unit that determines an optimal prediction method for the converted unit block from the prediction method candidates based on the result obtained by the application result calculating unit. A video compression format converter characterized by the above.
前記予測方法候補決定手段は、前記遷移率に基づいて、前記予測方法候補を選択することを特徴とする請求項1に記載の映像圧縮フォーマット変換装置。 All prediction methods that can be applied in the unit block after conversion, and all prediction methods that can be applied in the unit block before conversion that is a unit block of encoding processing before conversion, corresponding to the unit block after conversion, For each combination of and, there is provided a transition rate calculation means for evaluating the transition of the prediction method before and after conversion by the transition rate,
The video compression format conversion apparatus according to claim 1, wherein the prediction method candidate determination unit selects the prediction method candidate based on the transition rate.
前記遷移率算出手段は、前記画像解析手段による特徴量解析の結果に基づいて、前記遷移率を算出することを特徴とする請求項2に記載の映像圧縮フォーマット変換装置。 For each unit block after conversion, comprising image analysis means for analyzing the feature amount of the decoded video in the unit block before conversion corresponding to the unit block after conversion,
3. The video compression format conversion apparatus according to claim 2, wherein the transition rate calculation unit calculates the transition rate based on a result of feature amount analysis by the image analysis unit.
前記遷移率算出手段は、前記テクスチャの複雑さの評価結果に基づいて前記遷移率を算出し、
前記予測方法候補決定手段は、前記遷移率に基づいて、前記テクスチャの複雑さが高くなるに従って高精度になる予測方法を、前記予測方法候補として選択することを特徴とする請求項3に記載の映像圧縮フォーマット変換装置。 The image analysis means performs the feature amount analysis, evaluates the complexity of the texture for the decoded video in the unit block before conversion corresponding to the unit block after conversion,
The transition rate calculating means calculates the transition rate based on the evaluation result of the complexity of the texture,
The said prediction method candidate determination means selects the prediction method which becomes high precision as the complexity of the said texture becomes high based on the said transition rate as said prediction method candidate. Video compression format converter.
前記遷移率算出手段は、前記オブジェクトの追従性の評価結果に基づいて前記遷移率を算出し、
前記予測方法候補決定手段は、前記遷移率に基づいて、前記オブジェクトの追従性が低くなるに従ってイントラ予測を前記予測方法候補として選択する度合いを高くすることを特徴とする請求項3または4に記載の映像圧縮フォーマット変換装置。 The image analysis means performs the feature amount analysis, and evaluates the followability of the object for the decoded video in the unit block before conversion corresponding to the unit block after conversion,
The transition rate calculating means calculates the transition rate based on an evaluation result of the followability of the object,
5. The prediction method candidate determining unit increases the degree of selecting intra prediction as the prediction method candidate as the followability of the object decreases based on the transition rate. 6. Video compression format converter.
前記予測方法候補決定手段は、前記情報に基づいて前記予測方法候補を選択することを特徴とする請求項1に記載の映像圧縮フォーマット変換装置。 Information indicating a prediction method to be selected as the prediction method candidate is input to the prediction method candidate determination unit,
The video compression format conversion apparatus according to claim 1, wherein the prediction method candidate determination unit selects the prediction method candidate based on the information.
前記予測方法候補決定手段が、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、当該変換後単位ブロックで適用し得る全ての予測方法の中から、1つ以上を予測方法候補として選択する第1のステップと、
前記適用結果算出手段が、前記変換後単位ブロックごとに、前記予測方法候補を適用した結果を求める第2のステップと、
前記予測方法決定手段が、前記変換後単位ブロックごとに、前記第2のステップにおいて求められた結果に基づいて、前記予測方法候補の中から当該変換後単位ブロックに最適な予測方法を決定する第3のステップと、を備えることを特徴とする映像圧縮フォーマット変換方法。 Video compression format conversion in a video compression format conversion apparatus that includes a prediction method candidate determination unit, an application result calculation unit, and a prediction method determination unit, and performs conversion of a video compression format between compression methods having different unit block sizes of encoding processing A method,
The prediction method candidate determination means selects one or more prediction method candidates from all prediction methods applicable to the converted unit block for each unit block after conversion, which is a unit block for encoding processing after conversion. A first step of selecting as
A second step in which the application result calculation means obtains a result of applying the prediction method candidate for each unit block after conversion;
The prediction method determining means determines, for each unit block after conversion, an optimal prediction method for the unit block after conversion from the prediction method candidates based on the result obtained in the second step. And a video compression format conversion method comprising the steps of:
前記予測方法候補決定手段が、変換後における符号化処理の単位ブロックである変換後単位ブロックごとに、当該変換後単位ブロックで適用し得る全ての予測方法の中から、1つ以上を予測方法候補として選択する第1のステップと、
前記適用結果算出手段が、前記変換後単位ブロックごとに、前記予測方法候補を適用した結果を求める第2のステップと、
前記予測方法決定手段が、前記変換後単位ブロックごとに、前記第2のステップにおいて求められた結果に基づいて、前記予測方法候補の中から当該変換後単位ブロックに最適な予測方法を決定する第3のステップと、をコンピュータに実行させるためのプログラム。 Video compression format conversion in a video compression format conversion apparatus that includes a prediction method candidate determination unit, an application result calculation unit, and a prediction method determination unit, and performs conversion of a video compression format between compression methods having different unit block sizes of encoding processing A program for causing a computer to execute the method,
The prediction method candidate determination means selects one or more prediction method candidates from all prediction methods applicable to the converted unit block for each unit block after conversion, which is a unit block for encoding processing after conversion. A first step of selecting as
A second step in which the application result calculation means obtains a result of applying the prediction method candidate for each unit block after conversion;
The prediction method determining means determines, for each unit block after conversion, an optimal prediction method for the unit block after conversion from the prediction method candidates based on the result obtained in the second step. A program for causing a computer to execute step 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012152951A JP6016488B2 (en) | 2012-07-06 | 2012-07-06 | Video compression format conversion apparatus, video compression format conversion method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012152951A JP6016488B2 (en) | 2012-07-06 | 2012-07-06 | Video compression format conversion apparatus, video compression format conversion method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014017621A true JP2014017621A (en) | 2014-01-30 |
JP6016488B2 JP6016488B2 (en) | 2016-10-26 |
Family
ID=50111955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012152951A Expired - Fee Related JP6016488B2 (en) | 2012-07-06 | 2012-07-06 | Video compression format conversion apparatus, video compression format conversion method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6016488B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015118835A1 (en) * | 2014-02-10 | 2015-08-13 | 日本電気株式会社 | Video encoding apparatus, video encoding method, and video encoding program |
JP2015195470A (en) * | 2014-03-31 | 2015-11-05 | 富士通株式会社 | encoding device, encoding method and encoding program |
-
2012
- 2012-07-06 JP JP2012152951A patent/JP6016488B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
Title |
---|
JPN6015040673; Isabelle Metoevi and Stephane Coulombe: 'Efficient MPEG-4 to H.264 transcoding exploiting MPEG-4 block modes, motion vectors, and residuals' 9th International Symposium on Communications and Information Technology, 2009. ISCIT 2009. , 20090928, pp.224-229 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015118835A1 (en) * | 2014-02-10 | 2015-08-13 | 日本電気株式会社 | Video encoding apparatus, video encoding method, and video encoding program |
JPWO2015118835A1 (en) * | 2014-02-10 | 2017-03-23 | 日本電気株式会社 | Video encoding apparatus, video encoding method, and video encoding program |
JP2015195470A (en) * | 2014-03-31 | 2015-11-05 | 富士通株式会社 | encoding device, encoding method and encoding program |
Also Published As
Publication number | Publication date |
---|---|
JP6016488B2 (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101590511B1 (en) | / / Motion Vector Coding Method and Apparatus | |
TWI535269B (en) | Performing motion vector prediction for video coding | |
JP5684823B2 (en) | Hybrid video coding | |
US20120121020A1 (en) | Motion image encoding apparatus, motion image decoding apparatus, motion image encoding method, motion image decoding method, motion image encoding program, and motion image decoding program | |
US9648340B2 (en) | Method and device for encoding/decoding motion vector | |
US9838709B2 (en) | Motion vector predictive encoding method, motion vector predictive decoding method, moving picture encoding apparatus, moving picture decoding apparatus, and programs thereof | |
JP2008283303A (en) | Image encoding device, and image encoding method | |
JP6409516B2 (en) | Picture coding program, picture coding method, and picture coding apparatus | |
US20110032988A1 (en) | Transcoder, method of transcoding, and digital recorder | |
KR20150135637A (en) | An appratus for scaling a resoltion using decoding information and a method thereof | |
JP2011029863A (en) | Decoding processing method | |
JP4445463B2 (en) | Video re-encoding method and apparatus | |
JP2009290463A (en) | Encoding/decoding device, encoding/decoding method, and program | |
JP2007013298A (en) | Image coding apparatus | |
US10911779B2 (en) | Moving image encoding and decoding method, and non-transitory computer-readable media that code moving image for each of prediction regions that are obtained by dividing coding target region while performing prediction between different views | |
JP6016488B2 (en) | Video compression format conversion apparatus, video compression format conversion method, and program | |
KR101443865B1 (en) | Method and apparatus for inter prediction | |
WO2014006959A1 (en) | Video prediction encoding device, video prediction encoding method, video prediction encoding program, video prediction decoding device, video prediction decoding method, and video prediction decoding program | |
KR101582495B1 (en) | Motion Vector Coding Method and Apparatus | |
KR101582493B1 (en) | Motion Vector Coding Method and Apparatus | |
KR101422058B1 (en) | Motion Vector Coding Method and Apparatus | |
JP5969408B2 (en) | Video compression format conversion apparatus, video compression format conversion method, and program | |
WO2014208688A1 (en) | Video coding device, video decoding device, video system, video coding method, video decoding method, and program | |
JP2006295502A (en) | Reencoding apparatus, re-encoding method and program for re-encoding | |
WO2009128208A1 (en) | Dynamic image encoder, dynamic image decoder, dynamic image encoding method, and dynamic image decoding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150116 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151001 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151013 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151208 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160315 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20160531 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160812 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20160823 |
|
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: 20160920 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160927 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6016488 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |