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 PDF

Info

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
Application number
JP2013016414A
Other languages
Japanese (ja)
Other versions
JP2014150307A (en
Inventor
知伸 吉野
知伸 吉野
内藤 整
整 内藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2013016414A priority Critical patent/JP5969408B2/en
Publication of JP2014150307A publication Critical patent/JP2014150307A/en
Application granted granted Critical
Publication of JP5969408B2 publication Critical patent/JP5969408B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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.

Joint Video Team(JVT) of ISO/IEC MPEG and ITU-T VCEG, "Text of ISO/IEC 14496-10 Advanced Video Coding,"Joint Video Team (JVT) of ISO / IEC MPEG and ITU-T VCEG, "Text of ISO / IEC 14496-10 Advanced Video Coding," High Efficiency Video Coding (HEVC) text specification draft 6, JCTVC-H1003High Efficiency Video Coding (HEVC) text specification draft 6, JCTVC-H1003 ISO/IEC MPEG and ITU-T VCEG, "Text of ISO/IEC 13818-2 Generic coding of moving pictures and associated audio information: Video," 2000.ISO / IEC MPEG and ITU-T VCEG, "Text of ISO / IEC 13818-2 Generic coding of moving pictures and associated audio information: Video," 2000.

従来のフォーマット変換技術は、変換の前後で符号化処理の単位ブロックサイズが同一である場合を想定した技術である。   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 format conversion device 1 in FIG. 1, the video compression format conversion device 1A in FIG. 10, or the video compression format in FIG. 14) converts the video compression format into the second compression method. Between the prediction blocks adjacent to each other before conversion based on the characteristics of the video signal in each prediction block before conversion (e.g., corresponding to a motion vector described later or a pixel value described later). Similarity calculation means for calculating the similarity of the video signals of (for example, the MV similarity calculation unit 211 in FIG. 4 and the MV similarity calculation unit 211 in FIG. 12), Similarity determination means for determining the similarity of video signals between the prediction blocks adjacent to each other before the conversion based on the calculation result by the similarity calculation means (for example, the MV similarity determination unit 212 in FIG. 12 MV similarity determination unit 222) and block size determination means for determining a block size after conversion (e.g., corresponding to a PU size or TU size described later) based on the determination result by the similarity determination means (For example, equivalent to the PU size determination unit 213 in FIG. 4 and the TU size determination unit 223 in FIG. 12) has been proposed.

この発明によれば、符号化処理の単位ブロックサイズが第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 similarity calculation section 211 in FIG. 4 or MV similarity calculation section 211 in FIG. 12), similarity determination means (for example, MV similarity in FIG. 4). And a block size determining means (for example, equivalent to the PU size determining unit 213 in FIG. 4 and the TU size determining unit 223 in FIG. 12). 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 the video compression format (for example, the video compression format converter 1 in FIG. 1, the video compression format converter 1A in FIG. 10, and the video compression format in FIG. 14). A video compression format conversion method in the mat conversion device 1B), in which the similarity calculation unit corresponds to a feature (for example, a motion vector described later or a pixel value described later) in each prediction block before conversion. ) Based on the first step (for example, corresponding to the processing of step S1 in FIG. 9 or the processing of step S11 in FIG. 13) for calculating the similarity of video signals between adjacent prediction blocks before conversion A second step (for example, step of FIG. 9) in which the similarity determination unit determines the similarity of video signals between the prediction blocks adjacent to each other before the conversion based on the calculation result in the first step. S2 and the processing in step S12 in FIG. 13) and the block size determination means change the values based on the determination result in the second step. A third step (for example, corresponding to the processing in step S5 in FIG. 9 or the processing in step S15 in FIG. 13) for determining the block size after replacement (for example, corresponding to a PU size or a TU size described later), The video compression format conversion method characterized by comprising is proposed.

この発明によれば、類似性算出手段により、変換前の各予測ブロックにおける映像信号の特徴に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出し、類似性判定手段により、類似性算出手段よる算出結果に基づいて、変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定することとした。また、ブロックサイズ決定手段により、類似性判定手段による判定結果に基づいて、変換後のブロックサイズを決定することとした。このため、上述した効果と同様の効果を奏することができる。   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 similarity calculation section 211 in FIG. 4 and MV similarity calculation section 211 in FIG. 12), similarity determination means (for example, MV similarity in FIG. 4). And a block size determining means (for example, equivalent to the PU size determining unit 213 in FIG. 4 and the TU size determining unit 223 in FIG. 12). 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 the video compression format (for example, the video compression format converter 1 in FIG. 1, the video compression format converter 1A in FIG. 10, and the video compression format in FIG. 14). This is a program for causing a computer to execute the video compression format conversion method in the mat conversion device 1B), wherein the similarity calculation means is characterized by the video signal in each prediction block before the conversion (for example, a motion described later) A first step (for example, the process of step S1 in FIG. 9 or the process of FIG. 13) calculates the similarity of video signals between prediction blocks adjacent to each other before conversion based on a vector or a pixel value described later. And 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 in the first step. (For example, the process of step S2 in FIG. 9 or the process of step S12 in FIG. 13) and the block size determining means Based on the determination result in the second step, a third step (for example, the process in step S5 in FIG. 9 or the process in FIG. Is equivalent to the process of step S15), and a program for causing a computer to execute is proposed.

この発明によれば、コンピュータを用いてプログラムを実行することで、類似性算出手段により、変換前の各予測ブロックにおける映像信号の特徴に基づいて、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出し、類似性判定手段により、類似性算出手段よる算出結果に基づいて、変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定することとした。また、ブロックサイズ決定手段により、類似性判定手段による判定結果に基づいて、変換後のブロックサイズを決定することとした。このため、上述した効果と同様の効果を奏することができる。   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.

本発明の第1実施形態に係る映像圧縮フォーマット変換装置のブロック図である。1 is a block diagram of a video compression format conversion apparatus according to a first embodiment of the present invention. 前記映像圧縮フォーマット変換装置に設けられた変換前復号処理部のブロック図である。It is a block diagram of the pre-conversion decoding process part provided in the said video compression format converter. 前記映像圧縮フォーマット変換装置に設けられた変換処理部のブロック図である。It is a block diagram of the conversion process part provided in the said video compression format converter. 前記変換処理部に設けられた第2の予測値生成部のブロック図である。It is a block diagram of the 2nd predicted value generation part provided in the above-mentioned conversion processing part. 前記第2の予測値生成部の動作を説明するための図である。It is a figure for demonstrating operation | movement of a said 2nd predicted value production | generation part. 前記第2の予測値生成部の動作を説明するための図である。It is a figure for demonstrating operation | movement of a said 2nd predicted value production | generation part. 前記第2の予測値生成部の動作を説明するための図である。It is a figure for demonstrating operation | movement of a said 2nd predicted value production | generation part. 前記第2の予測値生成部の動作を説明するための図である。It is a figure for demonstrating operation | movement of a said 2nd predicted value production | generation part. 前記第2の予測値生成部のフローチャートである。It is a flowchart of a said 2nd predicted value production | generation part. 本発明の第2実施形態に係る映像圧縮フォーマット変換装置のブロック図である。It is a block diagram of the video compression format conversion apparatus which concerns on 2nd Embodiment of this invention. 前記映像圧縮フォーマット変換装置に設けられた変換処理部のブロック図である。It is a block diagram of the conversion process part provided in the said video compression format converter. 前記変換処理部に設けられたDCT/量子化部のブロック図である。It is a block diagram of the DCT / quantization part provided in the said conversion process part. 前記DCT/量子化部のフローチャートである。It is a flowchart of the said DCT / quantization part. 本発明の第3実施形態に係る映像圧縮フォーマット変換装置のブロック図である。It is a block diagram of the video compression format conversion apparatus which concerns on 3rd Embodiment of this invention. 前記映像圧縮フォーマット変換装置に設けられた変換処理部のブロック図である。It is a block diagram of the conversion process part provided in the said video compression format converter.

以下、本発明の実施の形態について図面を参照しながら説明する。なお、以下の実施形態における構成要素は適宜、既存の構成要素などとの置き換えが可能であり、また、他の既存の構成要素との組み合せを含む様々なバリエーションが可能である。したがって、以下の実施形態の記載をもって、特許請求の範囲に記載された発明の内容を限定するものではない。   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 format conversion apparatus 1 according to the first embodiment of the present invention. The video compression format conversion device 1 converts the pre-conversion compressed data a into post-conversion compressed data b of a compression method in which the unit block size of the encoding process is larger than the pre-conversion compressed data a. The video compression format conversion apparatus 1 includes a pre-conversion decoding processing unit 10 and a conversion processing unit 20.

(変換前復号処理部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 decoding processing unit 10. The pre-transform decoding processing unit 10 includes an entropy decoding unit 11, a first predicted value generation unit 12, an inverse DCT / inverse quantization unit 13, and a local memory 14.

エントロピー復号部11は、変換前圧縮データaを入力とする。このエントロピー復号部11は、変換前圧縮データaをエントロピー復号して、変換前における符号化処理の単位ブロックである変換前単位ブロックごとに、予測情報cおよび残差信号eを抽出し、出力する。   The entropy decoding unit 11 receives the pre-conversion compressed data a as an input. The entropy decoding unit 11 performs entropy decoding on the pre-conversion compressed data a, and extracts and outputs the prediction information c and the residual signal e for each pre-conversion unit block that is a unit block for encoding processing before conversion. .

第1の予測値生成部12は、予測情報cと、ローカルメモリ14から出力される後述の復号済み映像dと、を入力とする。この第1の予測値生成部12は、予測情報cに従って、変換前単位ブロックごとに復号済み映像dから予測値fを生成し、出力する。   The first predicted value generation unit 12 receives the prediction information c and a later-described decoded video d output from the local memory 14. The first predicted value generation unit 12 generates and outputs a predicted value f from the decoded video d for each pre-conversion unit block according to the prediction information c.

逆DCT/逆量子化部13は、残差信号eを入力とする。この逆DCT/逆量子化部13は、変換前単位ブロックごとに残差信号eに対して逆DCT処理および逆量子化処理を行って、逆DCTおよび逆量子化された残差信号gとして出力する。   The inverse DCT / inverse quantization unit 13 receives the residual signal e. The inverse DCT / inverse quantization unit 13 performs an inverse DCT process and an inverse quantization process on the residual signal e for each unit block before conversion, and outputs the result as an inverse DCT and an inversely quantized residual signal g. To do.

第1の予測値生成部12から出力された予測値fと、逆DCT/逆量子化部13から出力された残差信号gとは、変換前単位ブロックごとに加算器で加算され、復号済み映像dとして変換前復号処理部10から出力される。   The predicted value f output from the first predicted value generation unit 12 and the residual signal g output from the inverse DCT / inverse quantization unit 13 are added by an adder for each unit block before conversion and decoded. The video d is output from the pre-conversion decoding processing unit 10.

ローカルメモリ14は、復号済み映像dを入力とする。このローカルメモリ14は、入力された復号済み映像dを蓄積し、適宜、第1の予測値生成部12に供給する。   The local memory 14 receives the decoded video d. The local memory 14 stores the input decoded video d and supplies it to the first predicted value generation unit 12 as appropriate.

(変換処理部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 conversion processing unit 20. The transformation processing unit 20 includes a second predicted value generation unit 21, a DCT / quantization unit 22, an entropy encoding unit 23, an inverse DCT / inverse quantization unit 24, and a local memory 25.

第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 value generation unit 21 receives a post-conversion local decoded video m, a prediction information c, and a decoded video d, which will be described later, output from the local memory 25. The second prediction value generation unit 21 converts the prediction unit (PU after conversion) so that the prediction accuracy is optimized based on the motion vector (MV) in each prediction block before conversion included in the prediction information c. : Prediction Unit) size is determined. And about each PU, while calculating | requiring the optimal prediction method and outputting it as the prediction information i, the prediction value by an optimal prediction method is calculated | required and it outputs as the prediction value h. As shown in FIG. 4, the second predicted value generation unit 21 includes an MV similarity calculation unit 211, an MV similarity determination unit 212, a PU size determination unit 213, and a unit predicted value generation unit 214.

MV類似性算出部211は、動きベクトルに基づいて、変換後の処理符号化単位(CU:Coding Unit)に該当する領域に含まれる変換前の互いに隣接する予測ブロック間について、映像信号の類似性を算出する。   Based on the motion vector, the MV similarity calculation unit 211 calculates the similarity of video signals between prediction blocks adjacent to each other before conversion included in a region corresponding to a processing coding unit (CU) after conversion. Is calculated.

映像信号の類似性の算出は、例えば、変換前の互いに隣接する2つの予測ブロックにおける2つの動きベクトル間の距離を用いて行うことができる。具体的には、動きベクトルMVが以下の数式(1)で表されるとともに、動きベクトルMVが以下の数式(2)で表されるものとすると、これら動きベクトルMV、MVの類似性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).

Figure 0005969408
Figure 0005969408

Figure 0005969408
Figure 0005969408

Figure 0005969408
Figure 0005969408

MV類似性判定部212は、MV類似性算出部211による算出結果に基づいて、変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する。具体的には、MV類似性算出部211により算出された映像信号の類似性と、予め定められた閾値TPUと、を比較する。そして、MV類似性算出部211により算出された映像信号の類似性が閾値TPUより小さい場合には、この映像信号の類似性が算出された2つの予測ブロック間における映像信号の類似性が高く、変換後の符号化においてこれら2つの予測ブロックをマージすることが可能であると判定する。一方、MV類似性算出部211により算出された映像信号の類似性が閾値TPU以上である場合には、この映像信号の類似性が算出された2つの予測ブロック間における映像信号の類似性が低く、変換後の符号化においてこれら2つの予測ブロックをマージすることは不可能であると判定する。 The MV similarity determination unit 212 determines the similarity of video signals between prediction blocks adjacent to each other before conversion based on the calculation result by the MV similarity calculation unit 211. Specifically, the similarity of the video signal calculated by the MV similarity calculation unit 211 is compared with a predetermined threshold value TPU . When the similarity of the video signal calculated by the MV similarity calculation unit 211 is smaller than the threshold value T PU , the similarity of the video signal between the two prediction blocks for which the similarity of the video signal is calculated is high. Then, it is determined that these two prediction blocks can be merged in the encoding after conversion. On the other hand, when the similarity of the video signal calculated by the MV similarity calculation unit 211 is equal to or greater than the threshold value TPU , the similarity of the video signal between the two prediction blocks for which the similarity of the video signal is calculated. It is determined that it is impossible to merge these two prediction blocks in the encoding after conversion.

PUサイズ決定部213は、MV類似性判定部212による判定結果に基づいて、変換後の符号化におけるPU1つあたりの面積が最大となるようにPUサイズを決定する。具体的には、予め定められた複数種類のPUサイズのうち、できる限り大きいPUサイズになるように、マージ可能と判断した予測ブロック同士を結合していき、各PUのPUサイズを決定する。   Based on the determination result by the MV similarity determination unit 212, the PU size determination unit 213 determines the PU size so that the area per PU in encoding after conversion is maximized. Specifically, prediction blocks that are determined to be mergeable are combined so that the PU size becomes as large as possible among a plurality of predetermined PU sizes, and the PU size of each PU is determined.

MV類似性算出部211、MV類似性判定部212、およびPUサイズ決定部213の動作について、変換後のCUサイズが64×64である場合を例に、図5〜8を用いて以下に説明する。   The operations of the MV similarity calculation unit 211, the MV similarity determination unit 212, and the PU size determination unit 213 will be described below with reference to FIGS. 5 to 8 by taking as an example the case where the converted CU size is 64 × 64. To do.

図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 similarity calculation unit 211 calculates the similarity of motion vectors between adjacent prediction blocks before conversion based on the motion vector in each prediction block before conversion.

図6は、MV類似性判定部212による判定結果を示す図である。図6において、破線は、その破線を挟んで隣り合う2つの予測ブロックがマージ可能であると判断されたことを表しており、実線は、その実線を挟んで隣り合う2つの予測ブロックがマージ不可能であると判断されたことを表している。   FIG. 6 is a diagram illustrating a determination result by the MV similarity determination unit 212. In FIG. 6, the broken line indicates that it is determined that two prediction blocks adjacent to each other across the broken line can be merged, and the solid line indicates that the two prediction blocks adjacent to each other across the solid line cannot be merged. This means that it was determined that it was possible.

図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 size determination unit 213. In FIG. 7, each rectangular block surrounded by a solid line represents each PU whose PU size has been determined by the PU size determination unit 213. The PU size determination unit 213 combines adjacent prediction blocks with a broken line in FIG. 6 so that the PU size is as large as possible among a plurality of predetermined PU sizes.

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 similarity determination unit 212. Combining all the prediction blocks represented by these diagonal lines most satisfies the above-mentioned condition that the PU size is as large as possible. However, the PU size when all prediction blocks represented by diagonal lines are combined is not predetermined in the PU size determination unit 213. For this reason, as shown in FIG. 7, each prediction block represented by hatching in FIG. 8 is preliminarily stored in the PU size determining unit 213 with a 32 × 32 PU size block and the PU size determining unit 213 in advance. The PU size is determined by combining the three blocks of 16 × 16 PU size defined.

図4に戻って、単位予測値生成部214は、予測値生成手順と、コスト値算出手順と、予測方法決定手順と、を実行する。   Returning to FIG. 4, the unit predicted value generation unit 214 executes a predicted value generation procedure, a cost value calculation procedure, and a prediction method determination procedure.

予測値生成手順では、単位予測値生成部214は、PUサイズ決定部213によりPUサイズが決定されたPUごとに、変換処理部20が適用可能な全ての予測方法のそれぞれにおける予測値を、各予測方法に従って復号済み映像dおよび変換後ローカルデコード映像mから生成する。これによれば、PUサイズ決定部213によりPUサイズが決定された各PUについて、変換処理部20が適用可能である予測方法ごとに、予測値が求まる。   In the prediction value generation procedure, the unit prediction value generation unit 214 calculates the prediction value in each of all prediction methods applicable to the conversion processing unit 20 for each PU whose PU size is determined by the PU size determination unit 213. It is generated from the decoded video d and the converted local decoded video m according to the prediction method. According to this, for each PU whose PU size is determined by the PU size determination unit 213, a prediction value is obtained for each prediction method to which the conversion processing unit 20 can be applied.

コスト値算出手順では、単位予測値生成部214は、PUサイズ決定部213によりPUサイズが決定された各PUについて、変換処理部20が適用可能な各予測方法を適用した場合に生じる符号化歪および符号量を、復号済み映像dと、変換後ローカルデコード映像mと、予測値生成手順において求めた予測値と、に基づいて算出する。これによれば、PUサイズ決定部213によりPUサイズが決定された各PUについて、変換処理部20が適用可能である予測方法ごとに、コスト値が求まる。   In the cost value calculation procedure, the unit prediction value generation unit 214 generates coding distortion when each prediction method applicable to the transform processing unit 20 is applied to each PU whose PU size is determined by the PU size determination unit 213. The code amount is calculated based on the decoded video d, the converted local decoded video m, and the predicted value obtained in the predicted value generation procedure. According to this, for each PU whose PU size is determined by the PU size determination unit 213, a cost value is obtained for each prediction method to which the conversion processing unit 20 can be applied.

予測方法決定手順では、単位予測値生成部214は、PUサイズ決定部213によりPUサイズが決定されたPUごとに、コスト値算出手順において求めたコスト値が最も良い予測方法を、最適な予測方法として決定する。そして、PUサイズ決定部213によりPUサイズが決定されたPUごとに、最適な予測方法を示す情報を予測情報iとして出力するとともに、最適な予測方法による予測値を予測値hとして出力する。   In the prediction method determination procedure, the unit prediction value generation unit 214 determines, for each PU whose PU size has been determined by the PU size determination unit 213, the prediction method with the best cost value obtained in the cost value calculation procedure, as the optimal prediction method. Determine as. Then, for each PU whose PU size is determined by the PU size determination unit 213, information indicating an optimal prediction method is output as prediction information i, and a prediction value by the optimal prediction method is output as a prediction value h.

以上の構成を備える第2の予測値生成部21のフローチャートを、図9に示す。   The flowchart of the 2nd predicted value production | generation part 21 provided with the above structure is shown in FIG.

第2の予測値生成部21は、以下のステップS1〜S4の処理を、変換後の処理CUに該当する領域に含まれる変換前の各予測ブロックに対して、実行する。   The second predicted value generation unit 21 executes the following steps S1 to S4 for each predicted block before conversion included in the region corresponding to the converted process CU.

ステップS1において、第2の予測値生成部21は、MV類似性算出部211により、変換前の互いに隣接する予測ブロック間の映像信号の類似性を算出し、ステップS2に処理を移す。   In step S1, the second predicted value generation unit 21 uses the MV similarity calculation unit 211 to calculate the similarity of video signals between adjacent prediction blocks before conversion, and moves the process to step S2.

ステップS2において、第2の予測値生成部21は、MV類似性判定部212により、ステップS1において算出した映像信号の類似性と、閾値TPUと、を比較する。そして、ステップS1において算出した映像信号の類似性が閾値TPUより小さい場合には、ステップS3に処理を移し、ステップS1において算出した映像信号の類似性が閾値TPU以上である場合には、ステップS4に処理を移す。 In step S2, the second predicted value generation unit 21 uses the MV similarity determination unit 212 to compare the similarity of the video signal calculated in step S1 with the threshold value TPU . When the similarity of the calculated video signal is smaller than the threshold T PU in step S1, the process proceeds to step S3, if the similarity of the video signal calculated in step S1 is the threshold value T PU or more, The process moves to step S4.

ステップS3において、第2の予測値生成部21は、MV類似性判定部212により、ステップS2において映像信号の類似性を判定した2つの予測ブロックを、変換後の符号化においてマージ可能であると判断する。   In step S3, the second predicted value generation unit 21 can merge the two prediction blocks whose similarity of the video signal has been determined in step S2 by the MV similarity determination unit 212 in the encoded encoding. to decide.

ステップS4において、第2の予測値生成部21は、MV類似性判定部212により、ステップS2において映像信号の類似性を判定した2つの予測ブロックを、変換後の符号化においてマージ不可能であると判断する。   In step S4, the second prediction value generation unit 21 cannot merge the two prediction blocks whose similarity is determined in the video signal in step S2 by the MV similarity determination unit 212 in the encoded encoding. Judge.

第2の予測値生成部21は、以上のステップS1〜S4の処理を、変換後の処理CUに該当する領域に含まれる変換前の各予測ブロックに対して実行すると、ステップS5に処理を移す。   When the second predicted value generation unit 21 executes the processes of steps S1 to S4 described above for each predicted block before conversion included in the area corresponding to the converted process CU, the process proceeds to step S5. .

ステップS5において、第2の予測値生成部21は、PUサイズ決定部213により、ステップS1〜S4における結果に基づいてPUサイズを決定し、ステップS6に処理を移す。   In step S5, the 2nd predicted value production | generation part 21 determines PU size based on the result in step S1-S4 by PU size determination part 213, and moves a process to step S6.

ステップS6において、第2の予測値生成部21は、単位予測値生成部214により、ステップS5においてPUサイズを決定した各PUについて、最適な予測方法と、その予測方法による予測値と、を求め、図9に示した処理を終了する。   In step S6, the second predicted value generation unit 21 uses the unit predicted value generation unit 214 to obtain an optimal prediction method and a predicted value based on the prediction method for each PU whose PU size has been determined in step S5. Then, the process shown in FIG.

図3に戻って、DCT/量子化部22は、予測値hと復号済み映像dとの差分信号(残差信号)を入力とする。このDCT/量子化部22は、直行変換ブロック(変換ユニット(TU:Transform Unit))サイズを適宜決定し、決定したTUサイズに従って、残差信号に対してDCTを行ってDCT係数を求め、このDCT係数に対して量子化処理を行って、DCTおよび量子化された残差信号jとして出力する。   Returning to FIG. 3, the DCT / quantization unit 22 receives a difference signal (residual signal) between the predicted value h and the decoded video d. The DCT / quantization unit 22 appropriately determines an orthogonal transform block (transform unit (TU) size), performs DCT on the residual signal according to the determined TU size, and obtains a DCT coefficient. The DCT coefficient is quantized and output as a DCT and a quantized residual signal j.

エントロピー符号化部23は、予測情報iと、DCTおよび量子化された残差信号jと、を入力とする。このエントロピー符号化部23は、変換後単位ブロックごとに、入力された情報に対して可変長符号化または算術符号化を行い、その結果を符号化シンタックスに従って圧縮データストリームとして書き出し、変換後圧縮データbとして出力する。   The entropy encoding unit 23 receives the prediction information i, the DCT, and the quantized residual signal j as inputs. The entropy encoding unit 23 performs variable length encoding or arithmetic encoding on the input information for each unit block after conversion, writes the result as a compressed data stream according to the encoding syntax, and compresses the converted information after the conversion. Output as data b.

逆DCT/逆量子化部24は、DCTおよび量子化された残差信号jを入力とする。この逆DCT/逆量子化部24は、変換後単位ブロックごとに、DCTおよび量子化された残差信号jに対して逆量子化処理および逆DCT処理を行って、逆量子化および逆DCTされた残差信号kとして出力する。   The inverse DCT / inverse quantization unit 24 receives the DCT and the quantized residual signal j as inputs. The inverse DCT / inverse quantization unit 24 performs inverse quantization processing and inverse DCT processing on the DCT and the quantized residual signal j for each unit block after conversion, and performs inverse quantization and inverse DCT. And output as a residual signal k.

ローカルメモリ25は、変換後ローカルデコード映像mを入力とする。変換後ローカルデコード映像mは、予測値hと、逆量子化および逆DCTされた残差信号kと、の加算情報のことである。このローカルメモリ25は、入力された変換後ローカルデコード映像mを蓄積し、適宜、第2の予測値生成部21に供給する。   The local memory 25 receives the converted local decoded video m as an input. The post-conversion local decoded video m is addition information of the predicted value h and the residual signal k that has been subjected to inverse quantization and inverse DCT. The local memory 25 accumulates the input converted local decoded video m and supplies it to the second predicted value generation unit 21 as appropriate.

以上の映像圧縮フォーマット変換装置1によれば、以下の効果を奏することができる。   According to the video compression format converter 1 described above, the following effects can be obtained.

映像圧縮フォーマット変換装置1は、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のPUサイズを決定する。したがって、変換前と比べて変換後の方が符号化処理の単位ブロックサイズが大きくなる圧縮方式間であっても、画質の低下を抑制しつつ、映像圧縮フォーマットを変換できる。   The video compression format conversion apparatus 1 determines an area where the characteristics of the video signal are similar based on the motion vector in each prediction block before conversion, and determines the PU 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.

また、映像圧縮フォーマット変換装置1は、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のPUサイズを決定する。このため、映像信号の特徴が類似する領域において、できる限り大きなPUサイズを適用することができるので、符号化性能を向上させることができる。   In addition, as described above, the video compression format conversion device 1 determines a region where the characteristics of the video signal are similar based on the motion vector in each prediction block before conversion, and the PU size after conversion based on the determination result To decide. For this reason, it is possible to apply a PU size that is as large as possible in a region where the features of the video signal are similar, so that the encoding performance can be improved.

また、映像圧縮フォーマット変換装置1は、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のPUサイズを決定する。このため、変換後のPUサイズとして適用可能な全てのPUサイズのそれぞれについて、適用した場合のコスト値を算出しなくても、変換後のPUサイズを決定することができる。したがって、映像圧縮フォーマットの変換に要する処理コストを低減できる。   In addition, as described above, the video compression format conversion device 1 determines a region where the characteristics of the video signal are similar based on the motion vector in each prediction block before conversion, and the PU size after conversion based on the determination result To decide. For this reason, the PU size after conversion can be determined without calculating the cost value when applied for each of all PU sizes applicable as the PU size after conversion. Therefore, the processing cost required for converting the video compression format can be reduced.

<第2実施形態>
[映像圧縮フォーマット変換装置1Aの構成および動作]
図10は、本発明の第2実施形態に係る映像圧縮フォーマット変換装置1Aのブロック図である。映像圧縮フォーマット変換装置1Aは、図1に示した本発明の第1実施形態に係る映像圧縮フォーマット変換装置1とは、変換処理部20の代わりに変換処理部20Aを備える点が異なる。なお、映像圧縮フォーマット変換装置1Aにおいて、映像圧縮フォーマット変換装置1と同一構成要件については、同一符号を付し、その説明を省略する。
Second Embodiment
[Configuration and Operation of Video Compression Format Conversion Apparatus 1A]
FIG. 10 is a block diagram of a video compression format conversion apparatus 1A according to the second embodiment of the present invention. The video compression format conversion device 1A differs from the video compression format conversion device 1 according to the first embodiment of the present invention shown in FIG. 1 in that a conversion processing unit 20A is provided instead of the conversion processing unit 20. In the video compression format conversion device 1A, the same components as those of the video compression format conversion device 1 are denoted by the same reference numerals and description thereof is omitted.

(変換処理部20Aの構成および動作)
図11は、変換処理部20Aのブロック図である。変換処理部20Aは、図3に示した本発明の第1実施形態に係る変換処理部20とは、第2の予測値生成部21の代わりに第2の予測値生成部21Aを備える点と、DCT/量子化部22の代わりにDCT/量子化部22Aを備える点と、が異なる。
(Configuration and operation of conversion processing unit 20A)
FIG. 11 is a block diagram of the conversion processing unit 20A. The conversion processing unit 20A is different from the conversion processing unit 20 according to the first embodiment of the present invention shown in FIG. 3 in that a second prediction value generation unit 21A is provided instead of the second prediction value generation unit 21. The point that DCT / quantization part 22A is provided instead of DCT / quantization part 22 is different.

第2の予測値生成部21Aは、変換後ローカルデコード映像mと、復号済み映像dと、を入力とする。この第2の予測値生成部21Aは、PUサイズを適宜決定し、PUサイズを決定したPUごとに、変換後ローカルデコード映像mおよび復号済み映像dを用いて最適な予測方法を決定して予測情報iとして出力するとともに、最適な予測方法による予測値を予測値hとして出力する。   The second predicted value generation unit 21A receives the converted local decoded video m and the decoded video d. The second predicted value generation unit 21A appropriately determines the PU size, and determines an optimal prediction method using the converted local decoded video m and the decoded video d for each PU for which the PU size has been determined. While outputting as information i, the predicted value by the optimal prediction method is output as predicted value h.

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 / quantization unit 22A receives the difference signal (residual signal) between the predicted value h and the decoded video d and the prediction information c. The DCT / quantization unit 22A determines the TU size so that the coding performance is the highest based on the motion vector in each prediction block before conversion included in the prediction information c. Then, according to the determined TU size, DCT is performed on the residual signal to obtain a DCT coefficient, the quantization process is performed on the DCT coefficient, and the DCT and the quantized residual signal j are output. As shown in FIG. 12, the DCT / quantization unit 22 includes an MV similarity calculation unit 221, an MV similarity determination unit 222, a TU size determination unit 223, and a unit DCT / quantization unit 224.

MV類似性算出部221およびMV類似性判定部222は、それぞれ、図4のMV類似性算出部211およびMV類似性判定部212と同様に動作する。   The MV similarity calculation unit 221 and the MV similarity determination unit 222 operate in the same manner as the MV similarity calculation unit 211 and the MV similarity determination unit 212 in FIG.

TUサイズ決定部223は、PUサイズ決定部213と同様に動作して、MV類似性判定部222による判定結果に基づいて、変換後の符号化におけるTU1つあたりの面積が最大となるようにTUサイズを決定する。   The TU size determination unit 223 operates in the same manner as the PU size determination unit 213, and based on the determination result by the MV similarity determination unit 222, the TU size determination unit 223 maximizes the area per TU in encoding after conversion. Determine the size.

単位DCT/量子化部224は、TUサイズ決定部223により決定されたTUサイズに従って、残差信号に対してDCTを行ってDCT係数を求め、このDCT係数に対して量子化処理を行って、DCTおよび量子化された残差信号jとして出力する。   The unit DCT / quantization unit 224 performs DCT on the residual signal according to the TU size determined by the TU size determination unit 223 to obtain a DCT coefficient, performs quantization processing on the DCT coefficient, Output as DCT and quantized residual signal j.

以上の構成を備えるDCT/量子化部22Aのフローチャートを、図13に示す。   FIG. 13 shows a flowchart of the DCT / quantization unit 22A having the above configuration.

DCT/量子化部22Aは、ステップS11〜S15のそれぞれにおいて、図8のステップS1〜S5のそれぞれにおいて第2の予測値生成部21が行う処理と同様の処理を行う。   The DCT / quantization unit 22A performs the same process as the process performed by the second predicted value generation unit 21 in each of steps S1 to S5 in FIG. 8 in each of steps S11 to S15.

ステップS16において、DCT/量子化部22Aは、ステップS15において決定したTUサイズに従って、残差信号に対してDCTを行ってDCT係数を求め、DCT係数に対して量子化処理を行って、図13に示した処理を終了する。   In step S16, the DCT / quantization unit 22A performs DCT on the residual signal according to the TU size determined in step S15 to obtain DCT coefficients, performs quantization processing on the DCT coefficients, and performs FIG. The process shown in (5) is terminated.

以上の映像圧縮フォーマット変換装置1Aによれば、以下の効果を奏することができる。   According to the video compression format conversion device 1A described above, the following effects can be obtained.

映像圧縮フォーマット変換装置1Aは、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のTUサイズを決定する。したがって、変換前と比べて変換後の方が符号化処理の単位ブロックサイズが大きくなる圧縮方式間であっても、画質の低下を抑制しつつ、映像圧縮フォーマットを変換できる。   The video compression format conversion device 1A determines a region where the features of the video signal are similar based on the motion vector in each prediction block before conversion, and determines the TU 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.

また、映像圧縮フォーマット変換装置1Aは、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のTUサイズを決定する。このため、映像信号の特徴が類似する領域において、できる限り大きなTUサイズを適用することができるので、ここで、一般に、映像信号の特性が均一な領域では、大きなTUサイズを採用することで、変換後の変換係数についてエネルギー集中度が高くなり、高い符号化性能が得られる。したがって、映像圧縮フォーマット変換装置1Aは、符号化性能を向上させることができる。   Further, as described above, the video compression format conversion device 1A determines a region where the features of the video signal are similar based on the motion vector in each prediction block before conversion, and the TU size after conversion based on the determination result To decide. For this reason, since a TU size as large as possible can be applied in a region where the characteristics of the video signal are similar, in general, by adopting a large TU size in a region where the characteristics of the video signal are uniform, The degree of energy concentration is increased for the transformed transform coefficient, and high coding performance is obtained. Therefore, the video compression format conversion device 1A can improve the encoding performance.

また、映像圧縮フォーマット変換装置1Aは、上述のように、変換前の各予測ブロックにおける動きベクトルに基づいて、映像信号の特徴が類似する領域を判定し、判定結果に基づいて変換後のTUサイズを決定する。このため、変換後のTUサイズとして適用可能な全てのTUサイズのそれぞれについて、適用した場合のコスト値を算出しなくても、変換後のTUサイズを決定することができる。したがって、映像圧縮フォーマットの変換に要する処理コストを低減できる。   Further, as described above, the video compression format conversion device 1A determines a region where the features of the video signal are similar based on the motion vector in each prediction block before conversion, and the TU size after conversion based on the determination result To decide. For this reason, it is possible to determine the TU size after conversion without calculating the cost value when applied to each of all TU sizes applicable as the TU size after conversion. Therefore, the processing cost required for converting the video compression format can be reduced.

<第3実施形態>
[映像圧縮フォーマット変換装置1Bの構成および動作]
図14は、本発明の第3実施形態に係る映像圧縮フォーマット変換装置1Bのブロック図である。映像圧縮フォーマット変換装置1Bは、図1に示した本発明の第1実施形態に係る映像圧縮フォーマット変換装置1とは、変換処理部20の代わりに変換処理部20Bを備える点が異なる。なお、映像圧縮フォーマット変換装置1Bにおいて、映像圧縮フォーマット変換装置1と同一構成要件については、同一符号を付し、その説明を省略する。
<Third Embodiment>
[Configuration and Operation of Video Compression Format Conversion Apparatus 1B]
FIG. 14 is a block diagram of a video compression format conversion apparatus 1B according to the third embodiment of the present invention. The video compression format conversion device 1B is different from the video compression format conversion device 1 according to the first embodiment of the present invention shown in FIG. 1 in that a conversion processing unit 20B is provided instead of the conversion processing unit 20. In the video compression format conversion device 1B, the same components as those of the video compression format conversion device 1 are denoted by the same reference numerals and description thereof is omitted.

(変換処理部20Bの構成および動作)
図15は、変換処理部20Bのブロック図である。変換処理部20Bは、図3に示した本発明の第1実施形態に係る変換処理部20とは、DCT/量子化部22の代わりに、本発明の第2実施形態に係るDCT/量子化部22Aを備える点が異なる。
(Configuration and operation of conversion processing unit 20B)
FIG. 15 is a block diagram of the conversion processing unit 20B. The transform processing unit 20B is different from the transform processing unit 20 according to the first embodiment of the present invention shown in FIG. 3 in place of the DCT / quantization unit 22, and the DCT / quantization according to the second embodiment of the present invention. The difference is that the portion 22A is provided.

なお、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 value generation unit 21 so that the prediction accuracy is optimal. On the other hand, the TU size is determined by the DCT / quantization unit 22A so that the encoding performance is the highest. For this reason, although both the PU size and the TU size are determined depending on the characteristics of the video signal, the norms that contribute to the determination differ between the two. Therefore, it is assumed that the threshold value T PU used by the second predicted value generation unit 21 and the threshold value T TU used by the DCT / quantization unit 22A are independent values.

以上の映像圧縮フォーマット変換装置1Bによれば、映像圧縮フォーマット変換装置1が奏することのできる上述の効果と、映像圧縮フォーマット変換装置1Aが奏することのできる上述の効果と、を奏することができる。   According to the video compression format conversion device 1B described above, the above-described effects that the video compression format conversion device 1 can exhibit and the above-described effects that the video compression format conversion device 1A can achieve can be achieved.

なお、本発明の映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bの処理を、コンピュータ読み取り可能な非一時的な記録媒体に記録し、この記録媒体に記録されたプログラムを映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bに読み込ませ、実行することによって、本発明を実現できる。   The processing of the video compression format converter 1 and the video compression format converters 1A and 1B of the present invention is recorded on a computer-readable non-transitory recording medium, and the program recorded on the recording medium is recorded in a video compression format. The present invention can be realized by causing the conversion device 1 and the video compression format conversion devices 1A and 1B to read and execute them.

ここで、上述の記録媒体には、例えば、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 format conversion device 1 and the video compression format conversion devices 1A and 1B.

また、上述のプログラムは、このプログラムを記憶装置などに格納した映像圧縮フォーマット変換装置1や映像圧縮フォーマット変換装置1A、1Bから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネットなどのネットワーク(通信網)や電話回線などの通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。   In addition, the above-mentioned program is transmitted from the video compression format conversion device 1 or the video compression format conversion devices 1A and 1B storing the program in a storage device or the like via a transmission medium or by transmission waves in the transmission medium. It may be transmitted to a computer system. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.

また、上述のプログラムは、上述の機能の一部を実現するためのものであってもよい。さらに、上述の機能を映像圧縮フォーマット変換装置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 compression format converter 1 or the video compression format converter 1A, 1B, what is called a difference file (difference program) may be sufficient.

以上、この発明の実施形態につき、図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計なども含まれる。   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サイズ決定部
PU、TTU・・・閾値
DESCRIPTION OF SYMBOLS 1, 1A, 1B ... Video compression format conversion apparatus 10 ... Pre-conversion decoding process part 20, 20A, 20B ... Conversion process part 21, 21A ... 2nd prediction value generation part 22, 22A. ··· DCT / quantization unit 211, 221 ... MV similarity calculation unit 212, 222 ... MV similarity determination unit 213 ... PU size determination unit 223 ... TU size determination unit T PU , T TU ... Threshold

Claims (6)

符号化処理の単位ブロックサイズが第1のサイズである第1の圧縮方式から、符号化処理の単位ブロックサイズが当該第1のサイズよりも大きい第2のサイズである第2の圧縮方式に、映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置であって、
変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、当該予測ブロック間の映像信号の類似性を算出する類似性算出手段と、
前記類似性算出手段よる算出結果に基づいて、前記変換前の互いに隣接する予測ブロック同士の映像信号の類似性を判定する類似性判定手段と、
前記類似性判定手段による判定結果に基づいて、変換後のブロックサイズを決定するブロックサイズ決定手段と、を備えることを特徴とする映像圧縮フォーマット変換装置。
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.
前記ブロックサイズ決定手段は、前記変換後のブロックサイズとして、変換後の予測ブロックサイズと、変換後の変換ブロックサイズと、のいずれか一方を決定することを特徴とする請求項に記載の映像圧縮フォーマット変換装置。 2. The video according to claim 1 , wherein the block size determining unit determines one of a predicted block size after conversion and a converted block size after conversion as the block size after conversion. Compression format converter. 前記ブロックサイズ決定手段は、前記変換後のブロックサイズとして、変換後の予測ブロックサイズと、変換後の変換ブロックサイズと、の両方を決定することを特徴とする請求項1または2に記載の映像圧縮フォーマット変換装置。 The video according to claim 1 or 2 , wherein the block size determining means determines both the predicted block size after conversion and the converted block size after conversion as the block size after conversion. Compression format converter. 前記類似性判定手段は、
前記類似性算出手段より算出された変換前の互いに隣接する予測ブロック間の映像信号の類似性と、予め定められた閾値と、を比較し、比較結果に基づいて当該予測ブロック同士の類似性を判定し、
前記ブロックサイズ決定手段により前記変換後の予測ブロックサイズを決定する場合と、前記ブロックサイズ決定手段により前記変換後の変換ブロックサイズを決定する場合とで、互いに独立した値を前記閾値として用いることを特徴とする請求項に記載の映像圧縮フォーマット変換装置。
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の圧縮方式から、符号化処理の単位ブロックサイズが当該第1のサイズよりも大きい第2のサイズである第2の圧縮方式に、映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置における映像圧縮フォーマット変換方法であって、
前記類似性算出手段が、変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、当該予測ブロック間の映像信号の類似性を算出する第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の圧縮方式から、符号化処理の単位ブロックサイズが当該第1のサイズよりも大きい第2のサイズである第2の圧縮方式に、映像圧縮フォーマットの変換を行う映像圧縮フォーマット変換装置における映像圧縮フォーマット変換方法を、コンピュータに実行させるためのプログラムであって、
前記類似性算出手段が、変換前の互いに隣接する予測ブロック間における動きベクトル間の距離を用いて、当該予測ブロック間の映像信号の類似性を算出する第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.
JP2013016414A 2013-01-31 2013-01-31 Video compression format conversion apparatus, video compression format conversion method, and program Expired - Fee Related JP5969408B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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