JP5969408B2 - Video compression format conversion apparatus, video compression format conversion method, and program - Google Patents
Video compression format conversion apparatus, video compression format conversion method, and program Download PDFInfo
- Publication number
- JP5969408B2 JP5969408B2 JP2013016414A JP2013016414A JP5969408B2 JP 5969408 B2 JP5969408 B2 JP 5969408B2 JP 2013016414 A JP2013016414 A JP 2013016414A JP 2013016414 A JP2013016414 A JP 2013016414A JP 5969408 B2 JP5969408 B2 JP 5969408B2
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- similarity
- block size
- size
- compression format
- 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.)
- Expired - Fee Related
Links
Images
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 larger after the conversion than before the conversion like H.264 to HEVC, if the encoded information before the conversion is simply used for the compression process after the conversion as described above. In some cases, an appropriate prediction block size or conversion block size cannot be selected, and the image quality deteriorates.
上述の画質の低下を抑制するためには、変換後の予測ブロックサイズや変換ブロックサイズを適切に決定する必要がある。 In order to suppress the above-described deterioration in image quality, it is necessary to appropriately determine the predicted block size after conversion and the converted block size.
変換後の予測ブロックサイズや変換ブロックサイズを決定するに際して、変換前の予測ブロックサイズや変換ブロックサイズを変換後の予測ブロックサイズや変換ブロックサイズとして適用することが考えられる。しかしながら、この場合、変換後の予測ブロックサイズや変換ブロックサイズの上限値は、変換前の予測ブロックサイズや変換ブロックサイズの最大値になってしまう。ここで、HEVCのように大きな単位ブロックが許容される符号化では、映像信号の特徴が類似する領域において、できる限り大きな予測ブロックサイズや変換ブロックサイズを適用することで、高い符号化性能を得ることができる。このため、変換前の予測ブロックサイズや変換ブロックサイズを変換後の予測ブロックサイズや変換ブロックサイズとして単純に適用すると、変換後の予測ブロックサイズや変換ブロックサイズの上限が制限されてしまい、高い符号化性能を得ることはできなかった。 When determining the prediction block size and conversion block size after conversion, it is conceivable to apply the prediction block size and conversion block size before conversion as the prediction block size and conversion block size after conversion. However, in this case, the predicted block size after conversion and the upper limit value of the conversion block size are the maximum values of the prediction block size and conversion block size before conversion. Here, in coding in which a large unit block is allowed, such as HEVC, high coding performance is obtained by applying as large a predicted block size and transform block size as possible in a region where the characteristics of the video signal are similar. be able to. For this reason, if the prediction block size before conversion and the conversion block size are simply applied as the prediction block size and conversion block size after conversion, the upper limit of the prediction block size and conversion block size after conversion is limited, and a high code Performance could not be obtained.
また、変換後の予測ブロックサイズや変換ブロックサイズを決定するに際して、変換後のブロックサイズとして適用可能な全てのブロックサイズのそれぞれについて、適用した場合のコスト値を算出することが考えられる。これによれば、コスト値に応じて変換後の予測ブロックサイズや変換ブロックサイズを決定することができるので、変換後の予測ブロックサイズや変換ブロックサイズを適切に決定することができる。しかしながら、コスト値の算出を、変換後のブロックサイズとして適用可能な全てのブロックサイズに対して行うことになるため、映像フォーマットの変換に要する処理コストが高くなってしまっていた。 Further, when determining the predicted block size after conversion and the conversion block size, it is conceivable to calculate the cost value when applied for each of all the block sizes applicable as the block size after conversion. According to this, since the prediction block size and conversion block size after conversion can be determined according to a cost value, the prediction block size and conversion block size after conversion can be determined appropriately. However, since the cost value is calculated for all block sizes applicable as the converted block size, the processing cost required for converting the video format has been increased.
そこで、本発明は、上述の課題に鑑みてなされたものであり、変換前と比べて変換後の方が符号化処理の単位ブロックサイズが大きくなる圧縮方式間であっても、画質の低下の抑制と、符号化性能の向上と、変換に要する処理コストの低減と、を実現できる映像圧縮フォーマット変換装置、映像圧縮フォーマット変換方法、およびプログラムを提供することを目的とする。 Therefore, the present invention has been made in view of the above-described problems, and even after a compression method in which the unit block size of the encoding process is larger after the conversion than before the conversion, the image quality is reduced. An object of the present invention is to provide a video compression format conversion device, a video compression format conversion method, and a program capable of realizing suppression, improvement of encoding performance, and reduction of processing cost required for conversion.
本発明は、上記の課題を解決するために、以下の事項を提案している。
(1) 本発明は、符号化処理の単位ブロックサイズが第1のサイズである第1の圧縮方式から、符号化処理の単位ブロックサイズが当該第1のサイズよりも大きい第2のサイズである第2の圧縮方式に、映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置(例えば、図1の映像圧縮フォーマット変換装置1や、図10の映像圧縮フォーマット変換装置1Aや、図14の映像圧縮フォーマット変換装置1Bに相当)であって、変換前の各予測ブロックにおける映像信号の特徴(例えば、後述の動きベクトルや、後述の画素値に相当)に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出する類似性算出手段(例えば、図4のMV類似性算出部211や、図12のMV類似性算出部211に相当)と、前記類似性算出手段よる算出結果に基づいて、前記変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する類似性判定手段(例えば、図4のMV類似性判定部212や、図12のMV類似性判定部222に相当)と、前記類似性判定手段による判定結果に基づいて、変換後のブロックサイズ(例えば、後述のPUサイズやTUサイズに相当)を決定するブロックサイズ決定手段(例えば、図4のPUサイズ決定部213や、図12のTUサイズ決定部223に相当)と、を備えることを特徴とする映像圧縮フォーマット変換装置を提案している。
The present invention proposes the following matters in order to solve the above problems.
(1) The present invention is a second size in which the unit block size of the encoding process is larger than the first size from the first compression method in which the unit block size of the encoding process is the first size. A video compression format conversion device (for example, the video compression
この発明によれば、符号化処理の単位ブロックサイズが第1のサイズである第1の圧縮方式から、符号化処理の単位ブロックサイズが第1のサイズよりも大きい第2のサイズである第2の圧縮方式に、映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置に、類似性算出手段、類似性判定手段、およびブロックサイズ決定手段を設けた。また、類似性算出手段により、変換前の各予測ブロックにおける映像信号の特徴に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出し、類似性判定手段により、類似性算出手段よる算出結果に基づいて、変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定することとした。また、ブロックサイズ決定手段により、類似性判定手段による判定結果に基づいて、変換後のブロックサイズを決定することとした。 According to this invention, from the first compression method in which the unit block size of the encoding process is the first size, the second unit block size of the encoding process is the second size larger than the first size. In the video compression format conversion apparatus for converting the video compression format to the compression method, similarity calculation means, similarity determination means, and block size determination means are provided. Further, the similarity calculation means calculates the similarity of the video signal between the prediction blocks adjacent to each other before the conversion based on the characteristics of the video signal in each prediction block before the conversion, and the similarity determination means calculates the similarity. Based on the calculation result by the calculation means, the similarity of the video signals between the prediction blocks adjacent to each other before the conversion is determined. Further, the block size determination unit determines the block size after conversion based on the determination result by the similarity determination unit.
このため、変換前の各予測ブロックにおける信号特徴に基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のブロックサイズを決定することができる。したがって、変換前と比べて変換後の方が符号化処理の単位ブロックサイズが大きくなる圧縮方式間であっても、画質の低下を抑制しつつ、映像圧縮フォーマットを変換できる。 For this reason, it is possible to determine a region where the features of the video signal are similar based on the signal features in each prediction block before conversion, and to determine the block size after conversion based on the determination result. Therefore, the video compression format can be converted while suppressing a decrease in image quality even between compression methods in which the unit block size of the encoding process is larger after conversion than before conversion.
また、上述のように、変換前の各予測ブロックにおける信号特徴に基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のブロックサイズを決定することができる。このため、映像信号の特徴が類似する領域において、できる限り大きな予測ブロックサイズや変換ブロックサイズを適用することができるので、符号化性能を向上させることができる。 Further, as described above, based on the signal features in each prediction block before conversion, it is possible to determine a region where the features of the video signal are similar, and to determine the block size after conversion based on the determination result. For this reason, it is possible to apply a prediction block size and a transform block size that are as large as possible in a region where the characteristics of the video signal are similar, so that the encoding performance can be improved.
また、上述のように、変換前の各予測ブロックにおける信号特徴に基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のブロックサイズを決定することができる。このため、変換後のブロックサイズとして適用可能な全てのブロックサイズのそれぞれについて、適用した場合のコスト値を算出しなくても、変換後のブロックサイズを決定することができる。したがって、映像圧縮フォーマットの変換に要する処理コストを低減できる。 Further, as described above, based on the signal features in each prediction block before conversion, it is possible to determine a region where the features of the video signal are similar, and to determine the block size after conversion based on the determination result. For this reason, the block size after conversion can be determined without calculating the cost value when applied for each of all the block sizes applicable as the block size after conversion. Therefore, the processing cost required for converting the video compression format can be reduced.
(2) 本発明は、(1)の映像圧縮フォーマット変換装置について、前記類似性算出手段は、変換前の各予測ブロックにおける動きベクトルに基づいて、前記映像信号の類似性を算出することを特徴とする映像圧縮フォーマット変換装置を提案している。 (2) In the video compression format conversion apparatus according to (1), the similarity calculation unit calculates the similarity of the video signal based on a motion vector in each prediction block before conversion. The video compression format converter is proposed.
この発明によれば、(1)の映像圧縮フォーマット変換装置において、類似性算出手段により、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の類似性を算出することとした。このため、変換前の予測ブロックにおける動きベクトルを用いて、変換後のブロックサイズを決定できる。 According to the present invention, in the video compression format conversion apparatus of (1), the similarity calculation means calculates the similarity of the video signal based on the motion vector in each prediction block before conversion. For this reason, the block size after conversion can be determined using the motion vector in the prediction block before conversion.
(3) 本発明は、(1)または(2)の映像圧縮フォーマット変換装置について、前記類似性算出手段は、変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、当該予測ブロック間の映像信号の類似性を算出することを特徴とする映像圧縮フォーマット変換装置を提案している。 (3) The present invention relates to the video compression format conversion apparatus according to (1) or (2), wherein the similarity calculation means uses the distance between motion vectors between adjacent prediction blocks before conversion to perform the prediction. A video compression format conversion device is proposed that calculates the similarity of video signals between blocks.
この発明によれば、(1)または(2)の映像圧縮フォーマット変換装置において、類似性算出手段により、変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、これら予測ブロック間の映像信号の類似性を算出することとした。このため、変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、変換後のブロックサイズを決定できる。 According to the present invention, in the video compression format conversion device according to (1) or (2), the similarity calculation means uses the distance between motion vectors between adjacent prediction blocks before conversion to convert between these prediction blocks. It was decided to calculate the similarity of the video signal. For this reason, the block size after conversion can be determined using the distance between motion vectors between the prediction blocks adjacent to each other before conversion.
(4) 本発明は、(1)の映像圧縮フォーマット変換装置について、前記類似性算出手段は、変換前の各予測ブロックにおける画素値に基づいて、前記映像信号の類似性を算出することを特徴とする映像圧縮フォーマット変換装置を提案している。 (4) In the video compression format conversion apparatus according to (1), the similarity calculation unit calculates the similarity of the video signal based on a pixel value in each prediction block before conversion. The video compression format converter is proposed.
この発明によれば、(1)の映像圧縮フォーマット変換装置において、類似性算出手段により、変換前の各予測ブロックにおける画素値に基づいて、映像信号の類似性を算出することとした。このため、変換前の各予測ブロックにおける画素値を用いて、変換後のブロックサイズを決定できる。 According to the present invention, in the video compression format conversion apparatus of (1), the similarity calculation means calculates the similarity of the video signal based on the pixel value in each prediction block before conversion. For this reason, the block size after conversion can be determined using the pixel value in each prediction block before conversion.
(5) 本発明は、(1)〜(4)のいずれかの映像圧縮フォーマット変換装置について、前記ブロックサイズ決定手段は、前記変換後のブロックサイズとして、変換後の予測ブロックサイズと、変換後の変換ブロックサイズと、のいずれか一方を決定することを特徴とする映像圧縮フォーマット変換装置を提案している。 (5) In the video compression format conversion device according to any one of (1) to (4), the block size determination unit includes a predicted block size after conversion and a converted block size as the converted block size. The video compression format conversion device is characterized in that either one of the conversion block size or the conversion block size is determined.
この発明によれば、(1)〜(4)のいずれかの映像圧縮フォーマット変換装置において、ブロックサイズ決定手段により、変換後のブロックサイズとして、変換後の予測ブロックサイズと、変換後の変換ブロックサイズと、のいずれか一方を決定することとした。このため、変換前の各予測ブロックにおける映像信号の特徴を用いて、変換後の予測ブロックサイズ、または、変換後の変換ブロックサイズを決定できる。 According to the present invention, in the video compression format conversion device according to any one of (1) to (4), the block size determination unit converts the predicted block size after conversion and the converted block after conversion as the block size after conversion. One of the size and the size was decided. For this reason, the prediction block size after conversion or the conversion block size after conversion can be determined using the characteristics of the video signal in each prediction block before conversion.
(6) 本発明は、(1)〜(5)のいずれかの映像圧縮フォーマット変換装置について、前記ブロックサイズ決定手段は、前記変換後のブロックサイズとして、変換後の予測ブロックサイズと、変換後の変換ブロックサイズと、の両方を決定することを特徴とする映像圧縮フォーマット変換装置を提案している。 (6) The present invention relates to the video compression format conversion device according to any one of (1) to (5), wherein the block size determination unit includes a predicted block size after conversion and a converted block size as the converted block size. The video compression format conversion device is characterized in that both the conversion block size and the conversion block size are determined.
この発明によれば、(1)〜(5)のいずれかの映像圧縮フォーマット変換装置において、ブロックサイズ決定手段により、変換後のブロックサイズとして、変換後の予測ブロックサイズと、変換後の変換ブロックサイズと、の両方を決定することとした。このため、変換前の各予測ブロックにおける映像信号の特徴を用いて、変換後の予測ブロックサイズと、変換後の変換ブロックサイズと、の両方を決定できる。 According to the present invention, in the video compression format conversion device according to any one of (1) to (5), the block size determining unit converts the predicted block size after conversion and the converted block after conversion as the block size after conversion. Both size and size were decided. For this reason, both the prediction block size after conversion and the conversion block size after conversion can be determined using the characteristic of the video signal in each prediction block before conversion.
(7) 本発明は、(6)の映像圧縮フォーマット変換装置について、前記類似性判定手段は、前記類似性算出手段より算出された変換前の互いに隣接する予測ブロック間の映像信号の類似性と、予め定められた閾値(例えば、後述の閾値TPU、TTUに相当)と、を比較し、比較結果に基づいて当該予測ブロック同士の類似性を判定し、前記ブロックサイズ決定手段により前記変換後の予測ブロックサイズを決定する場合と、前記ブロックサイズ決定手段により前記変換後の変換ブロックサイズを決定する場合とで、互いに独立した値を前記閾値として用いることを特徴とする映像圧縮フォーマット変換装置を提案している。 (7) In the video compression format conversion apparatus according to (6), the similarity determination unit includes the similarity of video signals between prediction blocks adjacent to each other before conversion calculated by the similarity calculation unit. Are compared with predetermined threshold values (e.g., corresponding to threshold values T PU and T TU described later), the similarity between the prediction blocks is determined based on the comparison result, and the conversion is performed by the block size determination unit. A video compression format conversion device using a value that is independent of each other as a threshold value when determining a subsequent predicted block size and when determining a converted block size after conversion by the block size determination unit Has proposed.
この発明によれば、(6)の映像圧縮フォーマット変換装置において、類似性判定手段により、類似性算出手段より算出された変換前の互いに隣接する予測ブロック間の映像信号の類似性と、予め定められた閾値と、を比較し、比較結果に基づいて当該予測ブロック同士の類似性を判定することとした。また、ブロックサイズ決定手段により変換後の予測ブロックサイズを決定する場合と、ブロックサイズ決定手段により変換後の変換ブロックサイズを決定する場合とで、互いに独立した値を閾値として用いることとした。このため、変換後の予測ブロックサイズと、変換後の変換ブロックサイズとで、それぞれ最適な閾値を用いることができ、上述した効果をより効果的に奏することができる。 According to the present invention, in the video compression format conversion apparatus of (6), the similarity determination unit determines in advance the similarity of the video signal between the prediction blocks adjacent to each other before conversion calculated by the similarity calculation unit. The determined threshold values are compared, and the similarity between the prediction blocks is determined based on the comparison result. In addition, independent values are used as threshold values when the predicted block size after conversion is determined by the block size determination means and when the converted block size after conversion is determined by the block size determination means. For this reason, optimal threshold values can be used for the predicted block size after conversion and the conversion block size after conversion, respectively, and the above-described effects can be more effectively achieved.
(8) 本発明は、類似性算出手段(例えば、図4のMV類似性算出部211や、図12のMV類似性算出部211に相当)、類似性判定手段(例えば、図4のMV類似性判定部212や、図12のMV類似性判定部222に相当)、およびブロックサイズ決定手段(例えば、図4のPUサイズ決定部213や、図12のTUサイズ決定部223に相当)を備え、符号化処理の単位ブロックサイズが第1のサイズである第1の圧縮方式から、符号化処理の単位ブロックサイズが当該第1のサイズよりも大きい第2のサイズである第2の圧縮方式に、映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置(例えば、図1の映像圧縮フォーマット変換装置1や、図10の映像圧縮フォーマット変換装置1Aや、図14の映像圧縮フォーマット変換装置1Bに相当)における映像圧縮フォーマット変換方法であって、前記類似性算出手段が、変換前の各予測ブロックにおける映像信号の特徴(例えば、後述の動きベクトルや、後述の画素値に相当)に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出する第1のステップ(例えば、図9のステップS1の処理や、図13のステップS11の処理に相当)と、前記類似性判定手段が、前記第1のステップにおける算出結果に基づいて、前記変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する第2のステップ(例えば、図9のステップS2の処理や、図13のステップS12の処理に相当)と、前記ブロックサイズ決定手段が、前記第2のステップにおける判定結果に基づいて、変換後のブロックサイズ(例えば、後述のPUサイズやTUサイズに相当)を決定する第3のステップ(例えば、図9のステップS5の処理や、図13のステップS15の処理に相当)と、を備えることを特徴とする映像圧縮フォーマット変換方法を提案している。
(8) The present invention relates to similarity calculation means (for example, the MV
この発明によれば、類似性算出手段により、変換前の各予測ブロックにおける映像信号の特徴に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出し、類似性判定手段により、類似性算出手段よる算出結果に基づいて、変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定することとした。また、ブロックサイズ決定手段により、類似性判定手段による判定結果に基づいて、変換後のブロックサイズを決定することとした。このため、上述した効果と同様の効果を奏することができる。 According to this invention, the similarity calculation means calculates the similarity of the video signal between the prediction blocks adjacent to each other before the conversion based on the characteristics of the video signal in each prediction block before the conversion, and the similarity determination means Thus, the similarity of the video signals between the prediction blocks adjacent to each other before the conversion is determined based on the calculation result by the similarity calculation means. Further, the block size determination unit determines the block size after conversion based on the determination result by the similarity determination unit. For this reason, the effect similar to the effect mentioned above can be produced.
(9) 本発明は、類似性算出手段(例えば、図4のMV類似性算出部211や、図12のMV類似性算出部211に相当)、類似性判定手段(例えば、図4のMV類似性判定部212や、図12のMV類似性判定部222に相当)、およびブロックサイズ決定手段(例えば、図4のPUサイズ決定部213や、図12のTUサイズ決定部223に相当)を備え、符号化処理の単位ブロックサイズが第1のサイズである第1の圧縮方式から、符号化処理の単位ブロックサイズが当該第1のサイズよりも大きい第2のサイズである第2の圧縮方式に、映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置(例えば、図1の映像圧縮フォーマット変換装置1や、図10の映像圧縮フォーマット変換装置1Aや、図14の映像圧縮フォーマット変換装置1Bに相当)における映像圧縮フォーマット変換方法を、コンピュータに実行させるためのプログラムであって、前記類似性算出手段が、変換前の各予測ブロックにおける映像信号の特徴(例えば、後述の動きベクトルや、後述の画素値に相当)に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出する第1のステップ(例えば、図9のステップS1の処理や、図13のステップS11の処理に相当)と、前記類似性判定手段が、前記第1のステップにおける算出結果に基づいて、前記変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する第2のステップ(例えば、図9のステップS2の処理や、図13のステップS12の処理に相当)と、前記ブロックサイズ決定手段が、前記第2のステップにおける判定結果に基づいて、変換後のブロックサイズ(例えば、後述のPUサイズやTUサイズに相当)を決定する第3のステップ(例えば、図9のステップS5の処理や、図13のステップS15の処理に相当)と、をコンピュータに実行させるためのプログラムを提案している。
(9) The present invention relates to similarity calculation means (for example, the MV
この発明によれば、コンピュータを用いてプログラムを実行することで、類似性算出手段により、変換前の各予測ブロックにおける映像信号の特徴に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出し、類似性判定手段により、類似性算出手段よる算出結果に基づいて、変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定することとした。また、ブロックサイズ決定手段により、類似性判定手段による判定結果に基づいて、変換後のブロックサイズを決定することとした。このため、上述した効果と同様の効果を奏することができる。 According to the present invention, by executing the program using a computer, the similarity calculation means causes the video signal between adjacent prediction blocks before conversion based on the characteristics of the video signal in each prediction block before conversion. The similarity determination unit determines the similarity of the video signals between the prediction blocks adjacent to each other before the conversion based on the calculation result by the similarity calculation unit. Further, the block size determination unit determines the block size after conversion based on the determination result by the similarity determination unit. For this reason, the effect similar to the effect mentioned above can be produced.
本発明によれば、変換前と比べて変換後の方が符号化処理の単位ブロックサイズが大きくなる圧縮方式間であっても、画質の低下の抑制と、符号化性能の向上と、変換に要する処理コストの低減と、を実現できる。 According to the present invention, it is possible to suppress deterioration in image quality, improve encoding performance, and perform conversion even between compression methods in which the unit block size of the encoding process is larger after conversion than before conversion. It is possible to reduce the processing cost required.
以下、本発明の実施の形態について図面を参照しながら説明する。なお、以下の実施形態における構成要素は適宜、既存の構成要素などとの置き換えが可能であり、また、他の既存の構成要素との組み合せを含む様々なバリエーションが可能である。したがって、以下の実施形態の記載をもって、特許請求の範囲に記載された発明の内容を限定するものではない。 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をエントロピー復号して、変換前における符号化処理の単位ブロックである変換前単位ブロックごとに、予測情報cおよび残差信号eを抽出し、出力する。
The
第1の予測値生成部12は、予測情報cと、ローカルメモリ14から出力される後述の復号済み映像dと、を入力とする。この第1の予測値生成部12は、予測情報cに従って、変換前単位ブロックごとに復号済み映像dから予測値fを生成し、出力する。
The first predicted
逆DCT/逆量子化部13は、残差信号eを入力とする。この逆DCT/逆量子化部13は、変換前単位ブロックごとに残差信号eに対して逆DCT処理および逆量子化処理を行って、逆DCTおよび逆量子化された残差信号gとして出力する。
The inverse DCT /
第1の予測値生成部12から出力された予測値fと、逆DCT/逆量子化部13から出力された残差信号gとは、変換前単位ブロックごとに加算器で加算され、復号済み映像dとして変換前復号処理部10から出力される。
The predicted value f output from the first predicted
ローカルメモリ14は、復号済み映像dを入力とする。このローカルメモリ14は、入力された復号済み映像dを蓄積し、適宜、第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から出力される後述の変換後ローカルデコード映像mと、予測情報cと、復号済み映像dと、を入力とする。第2の予測値生成部21は、予測情報cに含まれる変換前の各予測ブロックにおける動きベクトル(MV:Moving Vectors)に基づいて、予測精度が最適となるように変換後の予測ユニット(PU:Prediction Unit)サイズを決定する。そして、各PUについて、最適な予測方法を求めて予測情報iとして出力するとともに、最適な予測方法による予測値を求めて予測値hとして出力する。この第2の予測値生成部21は、図4に示すように、MV類似性算出部211、MV類似性判定部212、PUサイズ決定部213、および単位予測値生成部214を備える。
The second predicted
MV類似性算出部211は、動きベクトルに基づいて、変換後の処理符号化単位(CU:Coding Unit)に該当する領域に含まれる変換前の互いに隣接する予測ブロック間について、映像信号の類似性を算出する。
Based on the motion vector, the MV
映像信号の類似性の算出は、例えば、変換前の互いに隣接する2つの予測ブロックにおける2つの動きベクトル間の距離を用いて行うことができる。具体的には、動きベクトルMVAが以下の数式(1)で表されるとともに、動きベクトルMVBが以下の数式(2)で表されるものとすると、これら動きベクトルMVA、MVBの類似性Sは、以下の数式(3)で求めることができる。 The similarity of video signals can be calculated using, for example, the distance between two motion vectors in two adjacent prediction blocks before conversion. Specifically, when the motion vector MV A is expressed by the following formula (1) and the motion vector MV B is expressed by the following formula (2), the motion vectors MV A and MV B The similarity S can be obtained by the following mathematical formula (3).
MV類似性判定部212は、MV類似性算出部211による算出結果に基づいて、変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する。具体的には、MV類似性算出部211により算出された映像信号の類似性と、予め定められた閾値TPUと、を比較する。そして、MV類似性算出部211により算出された映像信号の類似性が閾値TPUより小さい場合には、この映像信号の類似性が算出された2つの予測ブロック間における映像信号の類似性が高く、変換後の符号化においてこれら2つの予測ブロックをマージすることが可能であると判定する。一方、MV類似性算出部211により算出された映像信号の類似性が閾値TPU以上である場合には、この映像信号の類似性が算出された2つの予測ブロック間における映像信号の類似性が低く、変換後の符号化においてこれら2つの予測ブロックをマージすることは不可能であると判定する。
The MV
PUサイズ決定部213は、MV類似性判定部212による判定結果に基づいて、変換後の符号化におけるPU1つあたりの面積が最大となるようにPUサイズを決定する。具体的には、予め定められた複数種類のPUサイズのうち、できる限り大きいPUサイズになるように、マージ可能と判断した予測ブロック同士を結合していき、各PUのPUサイズを決定する。
Based on the determination result by the MV
MV類似性算出部211、MV類似性判定部212、およびPUサイズ決定部213の動作について、変換後のCUサイズが64×64である場合を例に、図5〜8を用いて以下に説明する。
The operations of the MV
図5は、変換後の処理CUに該当する領域に含まれる変換前の各予測ブロックの形状と、各予測ブロックにおける動きベクトルと、を示す図である。MV類似性算出部211は、変換前の各予測ブロックにおける動きベクトルに基づいて、変換前の互いに隣接する予測ブロック間の動きベクトルの類似性を算出する。
FIG. 5 is a diagram illustrating the shape of each prediction block before conversion included in the area corresponding to the processed CU after conversion, and the motion vector in each prediction block. The MV
図6は、MV類似性判定部212による判定結果を示す図である。図6において、破線は、その破線を挟んで隣り合う2つの予測ブロックがマージ可能であると判断されたことを表しており、実線は、その実線を挟んで隣り合う2つの予測ブロックがマージ不可能であると判断されたことを表している。
FIG. 6 is a diagram illustrating a determination result by the MV
図7は、PUサイズ決定部213により決定された各PUのPUサイズを示す図である。図7において、実線で囲まれた各矩形ブロックが、PUサイズ決定部213によってPUサイズが決定された各PUを表している。PUサイズ決定部213は、予め定められた複数種類のPUサイズのうち、できる限り大きいPUサイズになるように、図6において破線を挟んで隣り合う予測ブロック同士を結合する。
FIG. 7 is a diagram illustrating the PU size of each PU determined by the PU
PUサイズの決定について、図8を用いて詳述する。図8は、図6を書き直したものである。図8において、斜線で表した部分は、全て、MV類似性判定部212によりマージ可能であると判断された予測ブロックである。これら斜線で表した全ての予測ブロック同士を結合することが、上述のできる限り大きいPUサイズになるようにという条件を最も充足することになる。しかしながら、斜線で表した全ての予測ブロック同士を結合した場合のPUサイズは、PUサイズ決定部213に予め定められていない。このため、図8の斜線で表した各予測ブロックは、図7に示すように、PUサイズ決定部213に予め定められている32×32のPUサイズのブロックと、PUサイズ決定部213に予め定められている16×16のPUサイズのブロックと、の3つのブロックに結合され、PUサイズが決定されることになる。
The determination of the PU size will be described in detail with reference to FIG. FIG. 8 is a rewrite of FIG. In FIG. 8, all hatched portions are prediction blocks that are determined to be mergeable by the MV
図4に戻って、単位予測値生成部214は、予測値生成手順と、コスト値算出手順と、予測方法決定手順と、を実行する。
Returning to FIG. 4, the unit predicted
予測値生成手順では、単位予測値生成部214は、PUサイズ決定部213によりPUサイズが決定されたPUごとに、変換処理部20が適用可能な全ての予測方法のそれぞれにおける予測値を、各予測方法に従って復号済み映像dおよび変換後ローカルデコード映像mから生成する。これによれば、PUサイズ決定部213によりPUサイズが決定された各PUについて、変換処理部20が適用可能である予測方法ごとに、予測値が求まる。
In the prediction value generation procedure, the unit prediction
コスト値算出手順では、単位予測値生成部214は、PUサイズ決定部213によりPUサイズが決定された各PUについて、変換処理部20が適用可能な各予測方法を適用した場合に生じる符号化歪および符号量を、復号済み映像dと、変換後ローカルデコード映像mと、予測値生成手順において求めた予測値と、に基づいて算出する。これによれば、PUサイズ決定部213によりPUサイズが決定された各PUについて、変換処理部20が適用可能である予測方法ごとに、コスト値が求まる。
In the cost value calculation procedure, the unit prediction
予測方法決定手順では、単位予測値生成部214は、PUサイズ決定部213によりPUサイズが決定されたPUごとに、コスト値算出手順において求めたコスト値が最も良い予測方法を、最適な予測方法として決定する。そして、PUサイズ決定部213によりPUサイズが決定されたPUごとに、最適な予測方法を示す情報を予測情報iとして出力するとともに、最適な予測方法による予測値を予測値hとして出力する。
In the prediction method determination procedure, the unit prediction
以上の構成を備える第2の予測値生成部21のフローチャートを、図9に示す。
The flowchart of the 2nd predicted value production |
第2の予測値生成部21は、以下のステップS1〜S4の処理を、変換後の処理CUに該当する領域に含まれる変換前の各予測ブロックに対して、実行する。
The second predicted
ステップS1において、第2の予測値生成部21は、MV類似性算出部211により、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出し、ステップS2に処理を移す。
In step S1, the second predicted
ステップS2において、第2の予測値生成部21は、MV類似性判定部212により、ステップS1において算出した映像信号の類似性と、閾値TPUと、を比較する。そして、ステップS1において算出した映像信号の類似性が閾値TPUより小さい場合には、ステップS3に処理を移し、ステップS1において算出した映像信号の類似性が閾値TPU以上である場合には、ステップS4に処理を移す。
In step S2, the second predicted
ステップS3において、第2の予測値生成部21は、MV類似性判定部212により、ステップS2において映像信号の類似性を判定した2つの予測ブロックを、変換後の符号化においてマージ可能であると判断する。
In step S3, the second predicted
ステップS4において、第2の予測値生成部21は、MV類似性判定部212により、ステップS2において映像信号の類似性を判定した2つの予測ブロックを、変換後の符号化においてマージ不可能であると判断する。
In step S4, the second prediction
第2の予測値生成部21は、以上のステップS1〜S4の処理を、変換後の処理CUに該当する領域に含まれる変換前の各予測ブロックに対して実行すると、ステップS5に処理を移す。
When the second predicted
ステップS5において、第2の予測値生成部21は、PUサイズ決定部213により、ステップS1〜S4における結果に基づいてPUサイズを決定し、ステップS6に処理を移す。
In step S5, the 2nd predicted value production |
ステップS6において、第2の予測値生成部21は、単位予測値生成部214により、ステップS5においてPUサイズを決定した各PUについて、最適な予測方法と、その予測方法による予測値と、を求め、図9に示した処理を終了する。
In step S6, the second predicted
図3に戻って、DCT/量子化部22は、予測値hと復号済み映像dとの差分信号(残差信号)を入力とする。このDCT/量子化部22は、直行変換ブロック(変換ユニット(TU:Transform Unit))サイズを適宜決定し、決定したTUサイズに従って、残差信号に対してDCTを行ってDCT係数を求め、このDCT係数に対して量子化処理を行って、DCTおよび量子化された残差信号jとして出力する。
Returning to FIG. 3, the DCT /
エントロピー符号化部23は、予測情報iと、DCTおよび量子化された残差信号jと、を入力とする。このエントロピー符号化部23は、変換後単位ブロックごとに、入力された情報に対して可変長符号化または算術符号化を行い、その結果を符号化シンタックスに従って圧縮データストリームとして書き出し、変換後圧縮データbとして出力する。
The
逆DCT/逆量子化部24は、DCTおよび量子化された残差信号jを入力とする。この逆DCT/逆量子化部24は、変換後単位ブロックごとに、DCTおよび量子化された残差信号jに対して逆量子化処理および逆DCT処理を行って、逆量子化および逆DCTされた残差信号kとして出力する。
The inverse DCT /
ローカルメモリ25は、変換後ローカルデコード映像mを入力とする。変換後ローカルデコード映像mは、予測値hと、逆量子化および逆DCTされた残差信号kと、の加算情報のことである。このローカルメモリ25は、入力された変換後ローカルデコード映像mを蓄積し、適宜、第2の予測値生成部21に供給する。
The
以上の映像圧縮フォーマット変換装置1によれば、以下の効果を奏することができる。
According to the video
映像圧縮フォーマット変換装置1は、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のPUサイズを決定する。したがって、変換前と比べて変換後の方が符号化処理の単位ブロックサイズが大きくなる圧縮方式間であっても、画質の低下を抑制しつつ、映像圧縮フォーマットを変換できる。
The video compression
また、映像圧縮フォーマット変換装置1は、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のPUサイズを決定する。このため、映像信号の特徴が類似する領域において、できる限り大きなPUサイズを適用することができるので、符号化性能を向上させることができる。
In addition, as described above, the video compression
また、映像圧縮フォーマット変換装置1は、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のPUサイズを決定する。このため、変換後のPUサイズとして適用可能な全てのPUサイズのそれぞれについて、適用した場合のコスト値を算出しなくても、変換後のPUサイズを決定することができる。したがって、映像圧縮フォーマットの変換に要する処理コストを低減できる。
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
(変換処理部20Aの構成および動作)
図11は、変換処理部20Aのブロック図である。変換処理部20Aは、図3に示した本発明の第1実施形態に係る変換処理部20とは、第2の予測値生成部21の代わりに第2の予測値生成部21Aを備える点と、DCT/量子化部22の代わりにDCT/量子化部22Aを備える点と、が異なる。
(Configuration and operation of
FIG. 11 is a block diagram of the
第2の予測値生成部21Aは、変換後ローカルデコード映像mと、復号済み映像dと、を入力とする。この第2の予測値生成部21Aは、PUサイズを適宜決定し、PUサイズを決定したPUごとに、変換後ローカルデコード映像mおよび復号済み映像dを用いて最適な予測方法を決定して予測情報iとして出力するとともに、最適な予測方法による予測値を予測値hとして出力する。
The second predicted
DCT/量子化部22Aは、予測値hと復号済み映像dとの差分信号(残差信号)と、予測情報cと、を入力とする。DCT/量子化部22Aは、予測情報cに含まれる変換前の各予測ブロックにおける動きベクトルに基づいて、符号化性能が最も高くなるようにTUサイズを決定する。そして、決定したTUサイズに従って、残差信号に対してDCTを行ってDCT係数を求め、このDCT係数に対して量子化処理を行って、DCTおよび量子化された残差信号jとして出力する。このDCT/量子化部22は、図12に示すように、MV類似性算出部221、MV類似性判定部222、TUサイズ決定部223、および単位DCT/量子化部224を備える。
The DCT /
MV類似性算出部221およびMV類似性判定部222は、それぞれ、図4のMV類似性算出部211およびMV類似性判定部212と同様に動作する。
The MV
TUサイズ決定部223は、PUサイズ決定部213と同様に動作して、MV類似性判定部222による判定結果に基づいて、変換後の符号化におけるTU1つあたりの面積が最大となるようにTUサイズを決定する。
The TU
単位DCT/量子化部224は、TUサイズ決定部223により決定されたTUサイズに従って、残差信号に対してDCTを行ってDCT係数を求め、このDCT係数に対して量子化処理を行って、DCTおよび量子化された残差信号jとして出力する。
The unit DCT /
以上の構成を備えるDCT/量子化部22Aのフローチャートを、図13に示す。
FIG. 13 shows a flowchart of the DCT /
DCT/量子化部22Aは、ステップS11〜S15のそれぞれにおいて、図8のステップS1〜S5のそれぞれにおいて第2の予測値生成部21が行う処理と同様の処理を行う。
The DCT /
ステップS16において、DCT/量子化部22Aは、ステップS15において決定したTUサイズに従って、残差信号に対してDCTを行ってDCT係数を求め、DCT係数に対して量子化処理を行って、図13に示した処理を終了する。
In step S16, the DCT /
以上の映像圧縮フォーマット変換装置1Aによれば、以下の効果を奏することができる。
According to the video compression
映像圧縮フォーマット変換装置1Aは、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のTUサイズを決定する。したがって、変換前と比べて変換後の方が符号化処理の単位ブロックサイズが大きくなる圧縮方式間であっても、画質の低下を抑制しつつ、映像圧縮フォーマットを変換できる。
The video compression
また、映像圧縮フォーマット変換装置1Aは、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のTUサイズを決定する。このため、映像信号の特徴が類似する領域において、できる限り大きなTUサイズを適用することができるので、ここで、一般に、映像信号の特性が均一な領域では、大きなTUサイズを採用することで、変換後の変換係数についてエネルギー集中度が高くなり、高い符号化性能が得られる。したがって、映像圧縮フォーマット変換装置1Aは、符号化性能を向上させることができる。
Further, as described above, the video compression
また、映像圧縮フォーマット変換装置1Aは、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のTUサイズを決定する。このため、変換後のTUサイズとして適用可能な全てのTUサイズのそれぞれについて、適用した場合のコスト値を算出しなくても、変換後のTUサイズを決定することができる。したがって、映像圧縮フォーマットの変換に要する処理コストを低減できる。
Further, as described above, the video compression
<第3実施形態>
[映像圧縮フォーマット変換装置1Bの構成および動作]
図14は、本発明の第3実施形態に係る映像圧縮フォーマット変換装置1Bのブロック図である。映像圧縮フォーマット変換装置1Bは、図1に示した本発明の第1実施形態に係る映像圧縮フォーマット変換装置1とは、変換処理部20の代わりに変換処理部20Bを備える点が異なる。なお、映像圧縮フォーマット変換装置1Bにおいて、映像圧縮フォーマット変換装置1と同一構成要件については、同一符号を付し、その説明を省略する。
<Third Embodiment>
[Configuration and Operation of Video Compression
FIG. 14 is a block diagram of a video compression
(変換処理部20Bの構成および動作)
図15は、変換処理部20Bのブロック図である。変換処理部20Bは、図3に示した本発明の第1実施形態に係る変換処理部20とは、DCT/量子化部22の代わりに、本発明の第2実施形態に係るDCT/量子化部22Aを備える点が異なる。
(Configuration and operation of
FIG. 15 is a block diagram of the
なお、PUサイズについては、第2の予測値生成部21により、予測精度が最適となるように決定される。一方、TUサイズについては、DCT/量子化部22Aにより、符号化性能が最も高くなるように決定される。このため、PUサイズおよびTUサイズは、ともに映像信号の特徴に依存してブロックサイズが決定されるものの、決定に寄与する規範が両者で異なる。したがって、第2の予測値生成部21が用いる閾値TPUと、DCT/量子化部22Aが用いる閾値TTUとは、独立した値であるものとする。
Note that the PU size is determined by the second predicted
以上の映像圧縮フォーマット変換装置1Bによれば、映像圧縮フォーマット変換装置1が奏することのできる上述の効果と、映像圧縮フォーマット変換装置1Aが奏することのできる上述の効果と、を奏することができる。
According to the video compression
なお、本発明の映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bの処理を、コンピュータ読み取り可能な非一時的な記録媒体に記録し、この記録媒体に記録されたプログラムを映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bに読み込ませ、実行することによって、本発明を実現できる。
The processing of the video
ここで、上述の記録媒体には、例えば、EPROMやフラッシュメモリといった不揮発性のメモリ、ハードディスクといった磁気ディスク、CD−ROMなどを適用できる。また、この記録媒体に記録されたプログラムの読み込みおよび実行は、映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bに設けられたプロセッサによって行われる。
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. Also, reading and execution of the program recorded on the recording medium is performed by a processor provided in the video compression
また、上述のプログラムは、このプログラムを記憶装置などに格納した映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネットなどのネットワーク(通信網)や電話回線などの通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
In addition, the above-mentioned program is transmitted from the video compression
また、上述のプログラムは、上述の機能の一部を実現するためのものであってもよい。さらに、上述の機能を映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bにすでに記録されているプログラムとの組み合せで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。
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.
例えば、上述の各実施形態では、変換前の互いに隣接する予測ブロック間の映像信号の類似性の算出を、これら予測ブロックにおける動きベクトルを用いて行うこととした。しかし、これに限らず、例えばこれら予測ブロックの画素値を用いて行ってもよい。この場合には、これら予測ブロックのそれぞれの画素値の平均値や分散値を算出し、各予測ブロックの算出結果の差分値に基づいて、信号類似性を算出する。 For example, in each of the above-described embodiments, the similarity of video signals between prediction blocks adjacent to each other before conversion is calculated using motion vectors in these prediction blocks. However, the present invention is not limited to this. For example, the pixel values of these prediction blocks may be used. In this case, an average value or a variance value of each pixel value of these prediction blocks is calculated, and signal similarity is calculated based on a difference value of calculation results of each prediction block.
なお、上述の各実施形態において、変換前圧縮データaの圧縮方式は、例えばH.264であり、変換後圧縮データbの圧縮方式は、例えばHEVCであってもよい。また、変換前圧縮データaの圧縮方式は、例えばMPEG−2であり、変換後圧縮データbの圧縮方式は、例えばHEVCであってもよい。 In each of the above embodiments, 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、1B・・・映像圧縮フォーマット変換装置
10・・・変換前復号処理部
20、20A、20B・・・変換処理部
21、21A・・・第2の予測値生成部
22、22A・・・DCT/量子化部
211、221・・・MV類似性算出部
212、222・・・MV類似性判定部
213・・・PUサイズ決定部
223・・・TUサイズ決定部
TPU、TTU・・・閾値
DESCRIPTION OF
Claims (6)
変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、当該予測ブロック間の映像信号の類似性を算出する類似性算出手段と、
前記類似性算出手段よる算出結果に基づいて、前記変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する類似性判定手段と、
前記類似性判定手段による判定結果に基づいて、変換後のブロックサイズを決定するブロックサイズ決定手段と、を備えることを特徴とする映像圧縮フォーマット変換装置。 From the first compression method in which the unit block size of the encoding process is the first size, to the second compression method in which the unit block size of the encoding process is a second size larger than the first size, A video compression format converter for converting a video compression format,
Similarity calculation means for calculating the similarity of the video signal between the prediction blocks using the distance between motion vectors between the prediction blocks adjacent to each other before conversion ;
Similarity determination means for determining the similarity of video signals between prediction blocks adjacent to each other before the conversion based on the calculation result by the similarity calculation means;
A video compression format conversion device comprising: a block size determination unit that determines a block size after conversion based on a determination result by the similarity determination unit.
前記類似性算出手段より算出された変換前の互いに隣接する予測ブロック間の映像信号の類似性と、予め定められた閾値と、を比較し、比較結果に基づいて当該予測ブロック同士の類似性を判定し、
前記ブロックサイズ決定手段により前記変換後の予測ブロックサイズを決定する場合と、前記ブロックサイズ決定手段により前記変換後の変換ブロックサイズを決定する場合とで、互いに独立した値を前記閾値として用いることを特徴とする請求項3に記載の映像圧縮フォーマット変換装置。 The similarity determination means includes
The similarity of the video signal between the prediction blocks adjacent to each other before the conversion calculated by the similarity calculation means is compared with a predetermined threshold, and the similarity between the prediction blocks is determined based on the comparison result. Judgment,
In the case where the predicted block size after the conversion is determined by the block size determining means and the case where the converted block size after the conversion is determined by the block size determining means, mutually independent values are used as the threshold values. 4. The video compression format conversion apparatus according to claim 3 , wherein
前記類似性算出手段が、変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、当該予測ブロック間の映像信号の類似性を算出する第1のステップと、
前記類似性判定手段が、前記第1のステップにおける算出結果に基づいて、前記変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する第2のステップと、
前記ブロックサイズ決定手段が、前記第2のステップにおける判定結果に基づいて、変換後のブロックサイズを決定する第3のステップと、を備えることを特徴とする映像圧縮フォーマット変換方法。 A first calculation method including a similarity calculation unit, a similarity determination unit, and a block size determination unit, wherein the unit block size of the encoding process is the first size; A video compression format conversion method in a video compression format conversion apparatus that converts a video compression format to a second compression method that is a second size larger than the size of
A first step in which the similarity calculation means calculates the similarity of the video signal between the prediction blocks using the distance between motion vectors between the prediction blocks adjacent to each other before conversion ;
A second step in which the similarity determination means determines the similarity of video signals between prediction blocks adjacent to each other before the conversion based on the calculation result in the first step;
A video compression format conversion method comprising: a third step in which the block size determination means determines a block size after conversion based on a determination result in the second step.
前記類似性算出手段が、変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、当該予測ブロック間の映像信号の類似性を算出する第1のステップと、
前記類似性判定手段が、前記第1のステップにおける算出結果に基づいて、前記変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する第2のステップと、
前記ブロックサイズ決定手段が、前記第2のステップにおける判定結果に基づいて、変換後のブロックサイズを決定する第3のステップと、をコンピュータに実行させるためのプログラム。 A first calculation method including a similarity calculation unit, a similarity determination unit, and a block size determination unit, wherein the unit block size of the encoding process is the first size; A program for causing a computer to execute a video compression format conversion method in a video compression format conversion apparatus that converts a video compression format to a second compression method that is a second size larger than the size of
A first step in which the similarity calculation means calculates the similarity of the video signal between the prediction blocks using the distance between motion vectors between the prediction blocks adjacent to each other before conversion ;
A second step in which the similarity determination means determines the similarity of video signals between prediction blocks adjacent to each other before the conversion based on the calculation result in the first step;
A program for causing the computer to execute a third step in which the block size determining means determines a block size after conversion based on the determination result in the second step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013016414A JP5969408B2 (en) | 2013-01-31 | 2013-01-31 | Video compression format conversion apparatus, video compression format conversion method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013016414A JP5969408B2 (en) | 2013-01-31 | 2013-01-31 | Video compression format conversion apparatus, video compression format conversion method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014150307A JP2014150307A (en) | 2014-08-21 |
JP5969408B2 true JP5969408B2 (en) | 2016-08-17 |
Family
ID=51572994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013016414A Expired - Fee Related JP5969408B2 (en) | 2013-01-31 | 2013-01-31 | Video compression format conversion apparatus, video compression format conversion method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5969408B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005236584A (en) * | 2004-02-18 | 2005-09-02 | Victor Co Of Japan Ltd | Moving picture information conversion encoding apparatus |
CN102239693B (en) * | 2008-12-03 | 2013-12-18 | 株式会社日立制作所 | Moving picture decoding method and moving picture encoding method |
CN104618720B (en) * | 2009-10-20 | 2018-11-13 | 夏普株式会社 | Dynamic image encoding device, moving image decoding apparatus, dynamic image encoding method and dynamic image decoding method |
JP5727873B2 (en) * | 2011-06-10 | 2015-06-03 | 日本放送協会 | Motion vector detection device, encoding device, and program thereof |
-
2013
- 2013-01-31 JP JP2013016414A patent/JP5969408B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2014150307A (en) | 2014-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6023332B2 (en) | Moving picture coding apparatus, moving picture decoding apparatus, moving picture system, moving picture coding method, moving picture decoding method, and program | |
KR102512053B1 (en) | Methods of decoding using skip mode and apparatuses for using the same | |
KR101493194B1 (en) | Flexible band offset mode in sample adaptive offset in hevc | |
JP6033725B2 (en) | Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, and program | |
JP6005572B2 (en) | Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, and program | |
JP2022521515A (en) | Methods, devices, and programs for cross-component filtering | |
US20130266232A1 (en) | Encoding device and encoding method, and decoding device and decoding method | |
JP6548635B2 (en) | Data encoding and decoding | |
JP5800362B2 (en) | Moving image sending device, moving image receiving device, moving image transmission system, moving image sending method, moving image receiving method, and program | |
KR20130088114A (en) | Image processing device, image processing method, and program | |
JP5707261B2 (en) | Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, and program | |
JP2011082629A (en) | Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and program | |
JP6016488B2 (en) | Video compression format conversion apparatus, video compression format conversion method, and program | |
JP5969408B2 (en) | Video compression format conversion apparatus, video compression format conversion method, and program | |
KR20160088951A (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 | |
JP6154753B2 (en) | Moving picture decoding apparatus, moving picture decoding method, and program | |
US20160127742A1 (en) | Video coding device, video decoding device, video system, video coding method, video decoding method, and computer readable storage medium | |
WO2019187396A1 (en) | Image decoding device, image coding device, image processing system, image decoding method, and program | |
WO2016129185A1 (en) | Moving image coding device, moving image decoding device, moving image processing system, moving image coding method, moving image decoding method, and program | |
JP2016051922A (en) | Dynamic image encoding device, dynamic image decoding device, dynamic image processing system, dynamic image encoding method, dynamic image decoding method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150828 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160411 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160426 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160602 |
|
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: 20160621 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160707 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5969408 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |