JP4561701B2 - Video encoding device - Google Patents
Video encoding device Download PDFInfo
- Publication number
- JP4561701B2 JP4561701B2 JP2006183982A JP2006183982A JP4561701B2 JP 4561701 B2 JP4561701 B2 JP 4561701B2 JP 2006183982 A JP2006183982 A JP 2006183982A JP 2006183982 A JP2006183982 A JP 2006183982A JP 4561701 B2 JP4561701 B2 JP 4561701B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- frame
- activity
- field
- encoded
- 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
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
本発明は動画像符号化装置に係り、特に動画像に関する画像データを所定画素数のブロックに分割し、前記ブロックを単位として動き補償予測を用いて圧縮符号化を行う動画像符号化装置に関する。 The present invention relates to a moving image encoding apparatus, and more particularly to a moving image encoding apparatus that divides image data related to a moving image into blocks having a predetermined number of pixels and performs compression encoding using motion compensated prediction in units of the blocks.
現在、動画像に関する画像データを高能率に圧縮して符号化する圧縮符号化規格が多数規格化され、磁気テープ、DVD(Digital Versatile Disc)、半導体メモリなどの蓄積メディアや衛星デジタル放送、インターネットなどの放送通信分野で広く使用されている。 Currently, a number of compression coding standards that efficiently compress and encode image data related to moving images have been standardized, and storage media such as magnetic tape, DVD (Digital Versatile Disc), semiconductor memory, satellite digital broadcasting, the Internet, etc. Widely used in the broadcasting and communication field.
上記の圧縮符号化規格のうち代表的なMPEG(Moving Picture Experts Group)などでは、インタレース走査により得られる動画像データを、所定のブロック単位でインタレース構造とフレーム構造を切り替えて符号化する。これは、フィールド構造の動画像データはフレーム構造の動画像データと比較し、垂直方向の画素が間引きとなるため垂直方向の画素空間相関(空間解像度)が低くなるが、1フレーム分の時間を2フィールドで表現するため画素時間相関(時間解像度)が高くなるため、時間的変化が少ない、動きの少ない画像データの場合は、空間解像度が高くなるフレーム構成で符号化を行うと効率が良くなり、逆に、時間的変化が大きい、動きの多い画像データの場合は、時間解像度が高くなるフィールド構成で符号化を行うと効率が良くなるためである。 In a typical MPEG (Moving Picture Experts Group) among the above compression coding standards, moving image data obtained by interlace scanning is encoded by switching between an interlace structure and a frame structure in a predetermined block unit. This is because the field structure moving image data is compared with the frame structure moving image data, and the vertical pixel spatial correlation (spatial resolution) is low because the vertical pixels are thinned out. Since the pixel time correlation (temporal resolution) is high because it is expressed in two fields, in the case of image data with little temporal change and little motion, encoding with a frame configuration with high spatial resolution will improve efficiency. On the contrary, in the case of image data with a large temporal change and a lot of movement, it is because efficiency is improved if encoding is performed with a field configuration with a high temporal resolution.
そこで、フレーム構造とフィールド構造の垂直方向の画素相関値を比較して、相関の高い方の構造を符号化する動画像符号化装置が開示されている(例えば、特許文献1参照)。 In view of this, there has been disclosed a moving image encoding apparatus that compares the pixel correlation values in the vertical direction of the frame structure and the field structure and encodes the structure having the higher correlation (see, for example, Patent Document 1).
しかし、上記の特許文献1記載の動画像符号化装置では次のような課題がある。一般的に、動画像データをブロック単位で圧縮符号化する動画像符号化装置では、動画像データに対して画像内符号化のみを行うIフレーム、片方向画像間予測符号化を行うPフレーム、双方向画像間予測符号化を行うBフレームの計3つのフレームタイプ(予測タイプとしてのピクチャタイプ)がある。Iフレームでは全てのブロックが画像内符号化され、Pフレームではブロック単位で画像内符号化と片方向画像間予測符号化が切り替えられ、Bフレームではブロック単位で画像内符号化、片方向画像間予測符号化、双方向画像間予測符号化が切り替えられる。上述した動画像符号化装置では、フレームタイプに関わらず、1画像内におけるフレーム構造とフィールド構造の垂直方向の画素相関値を比較して、相関の高い方の構造を符号化している。
However, the moving picture encoding apparatus described in
画像内符号化を行う際には、アクティビティから求めた相関の高い構造を選択することで符号化効率が向上することが期待できるが、画像間予測符号化を行う際には、画像間予測効率の影響を受けるため、1画像内のアクティビティから求めた相関の高い構造を選択することが必ずしも符号化効率の向上には繋がらない。そこで、1画像内のアクティビティに加えて画像間予測効率を考慮することでより符号化効率の向上を図る。 When performing intra-picture coding, it can be expected that the coding efficiency will be improved by selecting a highly correlated structure obtained from the activity. However, when performing inter-picture prediction coding, the inter-picture prediction efficiency is improved. Therefore, the selection of a highly correlated structure obtained from the activity in one image does not necessarily lead to an improvement in coding efficiency. Therefore, the encoding efficiency is further improved by considering the inter-picture prediction efficiency in addition to the activity in one image.
すなわち、図6(a)に示すようにF0、F1、F2の順で1/30秒のフレーム毎に表示が切り替わるフレーム構造での画像間予測距離は1/30秒となり、一方、図6(b)に示すようにあるフレーム0のトップフィールドfT0及びボトムフィールドfB0、次のフレーム1のトップフィールドfT1、ボトムフィールドfTB1、次のフレーム2のトップフィールドfT2、ボトムフィールドfTB2の順で1/60秒のフィールド毎に表示が切り替わるフィールド構造での画像間予測距離は1/60秒である。動画像には時間方向に相関性があるため、画像間予測距離が近いほど予測効率は高くなる。
That is, as shown in FIG. 6 (a), the inter-picture prediction distance in the frame structure in which the display is switched every frame of 1/30 seconds in the order of F0, F1, and F2 is 1/30 seconds, while FIG. As shown in b), the top field fT0 and the bottom field fB0 of the frame 0, the top field fT1 of the
従って、画像間予測符号化を行うフレームタイプ(Pフレーム及びBフレーム)については、フィールド構造の選択率を増加させることで、画像間予測効率を向上させることが可能となる。特に、フィールド/フレーム判定が曖昧になりやすい特徴を持った複雑で細かな動きが多い動画像について効果を期待できる。 Therefore, for frame types (P frames and B frames) for which inter-picture prediction encoding is performed, it is possible to improve inter-picture prediction efficiency by increasing the selection rate of the field structure. In particular, the effect can be expected for a moving image having a complicated and detailed movement with a feature in which field / frame determination tends to be ambiguous.
本発明は以上の点を鑑みてなされたもので、フレームタイプに応じてフレーム構造とフィールド構造の選択率を可変にすることで、画像間予測効率を向上させ、好適な画質の符号化信号を生成し得る動画像符号化装置を提供することを目的とする。 The present invention has been made in view of the above points. By changing the selection rate of the frame structure and the field structure according to the frame type, the inter-picture prediction efficiency is improved, and an encoded signal having a suitable image quality is obtained. It is an object of the present invention to provide a moving image encoding device that can be generated.
上記目的を達成するため、本発明は、インターレース走査による入来動画像信号を予め定められた第1の画素数の第1のブロックを最小符号化単位として、複数の第1のブロックを備えた所定の画像単位毎に画像内符号化又は画像間予測符号化して符号化画像信号を得る動画像符号化装置において、入来動画像信号を第1の画素数よりも少ない第2の画素数の第2のブロック単位で、フレーム構造の垂直画素間エネルギーを示すブロックフレームアクティビティを算出する第1の算出手段と、入来動画像信号を第2のブロック単位で、フィールド構造の垂直画素間エネルギーを示すブロックフィールドアクティビティを算出する第2の算出手段と、動画像信号の各画像単位を画像内符号化と画像間予測符号化のどちらで符号化するかを示す予測タイプ信号と、ブロックフレームアクティビティ及びブロックフィールドアクティビティとが供給され、ブロックフィールドアクティビティに基づいて現符号化対象の第1のブロックにおけるフィールドアクティビティに関する値であるFIを生成すると共に、現符号化対象の第1のブロックを含む画像単位の予測タイプ信号が画像内符号化を示しているときは、ブロックフレームアクティビティに基づいて現符号化対象の第1のブロックにおけるフレームアクティビティに関する値であるFR1を生成し、現符号化対象の第1のブロックを含む画像単位の予測タイプ信号が画像間予測符号化を示しているときは、ブロックフレームアクティビティに基づいて現符号化対象の第1のブロックにおけるフレームアクティビティに関する値であり、FR1より大なる値のFR2を生成する生成手段と、FIがFR1より大又はFIがFR2より大のときは、現符号化対象の第1のブロックをフレーム構造で符号化させるように制御し、FIがFR1より小又はFIがFR2より小のときは、現符号化対象の第1のブロックをフィールド構造で符号化させるように制御し、FIがFR1と等しい又はFIがFR2と等しいときは、現符号化対象の第1のブロックをフィールド構造もしくはフレーム構造のどちらか一方の構造で符号化させるように制御する符号化構造判定手段とを有することをことを特徴とする。 In order to achieve the above object, the present invention comprises a plurality of first blocks, with an incoming moving image signal obtained by interlace scanning as a minimum encoding unit of a first block having a predetermined first number of pixels. In a moving image encoding apparatus that obtains an encoded image signal by performing intra-image encoding or inter-image predictive encoding for each predetermined image unit, an incoming moving image signal having a second number of pixels smaller than the first number of pixels. A first calculation means for calculating a block frame activity indicating a vertical inter-pixel energy of a frame structure in a second block unit; and an incoming moving image signal for a vertical inter-pixel energy of a field structure in a second block unit. A second calculating means for calculating the indicated block field activity, and a prediction indicating whether each image unit of the moving image signal is encoded by intra-picture encoding or inter-picture predictive encoding. A type signal and a block frame activity and a block field activity are supplied, and based on the block field activity, an FI that is a value related to the field activity in the first block to be encoded is generated, and the current encoding target When the prediction unit signal of the image unit including one block indicates intra-picture encoding, FR1 that is a value related to the frame activity in the first block to be encoded is generated based on the block frame activity; When the prediction type signal for each image including the first block to be encoded indicates inter-picture prediction encoding, a value related to the frame activity in the first block to be encoded based on the block frame activity In , Generating means for generating FR2 having a value greater than FR1, and when FI is greater than FR1 or FI is greater than FR2, control is performed so that the first block to be encoded is encoded in a frame structure. When FI is smaller than FR1 or FI is smaller than FR2, control is performed so that the first block to be encoded is encoded with a field structure. When FI is equal to FR1 or FI is equal to FR2 And coding structure determining means for controlling to encode the first block to be coded with either the field structure or the frame structure.
この発明では、画像内符号化を行うときにはブロックフィールドアクティビティに基づいて生成したFIと、ブロックフレームアクティビティに基づいて生成したFR1とを比較し、画像間予測符号化を行うときには上記のFIとブロックフレームアクティビティに基づいて生成したFR1より大なる値のFR2とを比較し、FR1又はFR2がFIより大なる値のときはフィールド構造で符号化した符号化画像信号を出力するが、FR2はFR1よりも大であるので、画像間予測符号化を行うときには画像内符号化を行うときよりもフィールド構造で符号化した符号化画像信号をより高い確率で出力することができる。 In the present invention, when intra-picture encoding is performed, the FI generated based on the block field activity is compared with FR1 generated based on the block frame activity, and when performing inter-picture predictive encoding, the above-described FI and block frame are compared. Compared with FR2 having a value greater than FR1 generated based on the activity, and when FR1 or FR2 is greater than FI, an encoded image signal encoded with a field structure is output, but FR2 is more than FR1. Therefore, when inter-picture predictive coding is performed, a coded image signal coded with a field structure can be output with higher probability than when intra-picture coding is performed.
本発明によれば、フレームタイプに応じてフレーム構造とフィールド構造の選択率を可変にすることで、特に、フィールド/フレーム判定が曖昧になりやすい特徴を持った複雑で細かな動きが多い動画像について、好適な画質の動画像符号化装置を提供することができ、また、画像間予測符号化を行うときには画像内符号化を行うときよりもフィールド構造で符号化した符号化画像信号をより高い確率で出力するようにしたため、画像間予測符号化では予測効率の高いフィールド構造を優先することができ、よりフレームタイプに適合した最適な符号化画像信号の選択出力ができる。 According to the present invention, by making the selection rate of the frame structure and the field structure variable according to the frame type, in particular, a moving image with a lot of complicated and fine motion having a characteristic that field / frame determination is likely to be ambiguous. Therefore, it is possible to provide a moving image coding apparatus having a suitable image quality, and when performing inter-picture predictive coding, a coded image signal coded with a field structure is higher than when performing intra-picture coding. Since output is performed with a probability, a field structure with high prediction efficiency can be prioritized in inter-picture prediction encoding, and an optimal encoded image signal more suitable for the frame type can be selected and output.
次に、本発明の実施の形態について図面と共に説明する。図1は本発明になる動画像符号化装置の一実施の形態の構成図を示す。図2は本発明になる動画像符号化装置の一実施形態の全体的な動作を説明するフローチャートである。図1の実施の形態の構成及び動作について、図2を参照して説明する。まず、符号化対象のインターレース走査動画信号である入力画像信号aは、画像信号aの各画像単位を画像内符号化と画像間予測符号化のどちらで符号化するかを示す予測タイプ信号であるフレームタイプ信号bと共に符号化構造決定器11に入力される。符号化構造決定器11は後述する構成により、フレームタイプ信号bに応じて入力画像信号を基本ブロック毎にフレーム構造またはフィールド構造で符号化するのかを決定し(ステップS100)、決定したフレーム/フィールド構造を示す符号化構造信号cと符号化対象画像信号dを出力する。 Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a configuration diagram of an embodiment of a moving picture encoding apparatus according to the present invention. FIG. 2 is a flowchart for explaining the overall operation of an embodiment of the moving picture coding apparatus according to the present invention. The configuration and operation of the embodiment of FIG. 1 will be described with reference to FIG. First, an input image signal a which is an interlace scanning moving image signal to be encoded is a prediction type signal indicating whether each image unit of the image signal a is encoded by intra-picture encoding or inter-picture predictive encoding. It is input to the coding structure determiner 11 together with the frame type signal b. The coding structure determiner 11 determines whether to encode the input image signal with a frame structure or a field structure for each basic block in accordance with the frame type signal b with the configuration described later (step S100). An encoded structure signal c indicating the structure and an encoding target image signal d are output.
ここで、符号化対象画像信号dは、符号化構造信号cがフレーム構造を示していれば入力画像信号aをフレーム構造で整列した画像信号となり、符号化構造信号cがフィールド構造を示していれば入力画像信号aをフィールド構造で整列した画像信号となる。また、基本ブロックはマクロブロック単位(水平16画素×垂直16画素)を用いる。なお、基本ブロックはマクロブロックペア単位(水平16画素×垂直32画素)とすることもできる。 Here, the encoding target image signal d is an image signal in which the input image signal a is arranged in the frame structure if the encoding structure signal c indicates the frame structure, and the encoding structure signal c indicates the field structure. For example, the input image signal a is an image signal arranged in a field structure. The basic block uses a macroblock unit (16 horizontal pixels × 16 vertical pixels). Note that the basic block may be a macroblock pair unit (horizontal 16 pixels × vertical 32 pixels).
符号化構造信号cと符号化対象画像信号dは動き検出器13に与えられる。動き検出器13は符号化構造信号cに応じて、符号化対象画像信号dと画像メモリ23からの参照画像信号から動きベクトルを求める(ステップS101)。動き補償予測器14は動き検出器13からの動きベクトルと画像メモリ23からの参照画像信号とから予測信号を生成し(ステップS102)、減算器12に送る。減算器12は符号化対象画像信号dから動き補償予測器14からの予測信号を減算して予測誤差信号を生成する(ステップS103)。
The encoded structure signal c and the encoding target image signal d are given to the
直交変換器15は減算器12からの予測誤差信号の直交変換処理を行い(ステップS104)、得られた係数を量子化器16に与える。量子化器16は所定の量子化ステップ幅で係数を量子化し(ステップS105)、量子化された係数をエントロピー符号化器17と逆量子化器19に与える。エントロピー符号化器17は量子化された係数を予め定められた方法に従ってエントロピー符号化する(ステップS106)。多重化器18では、フレームタイプ信号b、符号化構造信号c、動きベクトル及びエントロピー符号化した符号列などと共にヘッダ情報を多重化し(ステップS107)、動画像符号信号eを生成して出力する。
The
一方、逆量子化器19は量子化器16からの量子化された係数を逆量子化し(ステップS108)、逆直交変換器20は、逆量子化器19からの逆量子化された信号に対して直交変換と逆の処理を行い、予測誤差信号を再生する(ステップS109)。加算器21は逆直交変換器20からの予測誤差信号と動き補償予測器14からの予測信号とを加算し(ステップS110)、局部復号された再生画像信号を生成する。この再生画像信号は、符号化時に生じるブロック歪みを減少させるためのデブロック処理がループフィルタ22によって行われた後(ステップS111)、画像メモリ23に供給されて蓄えられる(ステップS112)。画像メモリ23に蓄積された再生画像信号は、必要に応じて読み出され参照画像信号として動き検出器13及び動き補償予測器14にそれぞれ供給される。
On the other hand, the
次に、本実施の形態における動画像符号化装置の特徴的な構成要素である符号化構造決定器11の構成及び動作について更に詳細に説明する。図3は本発明における動画像符号化装置の特徴的な構成要素である符号化構造決定器11の一実施の形態のブロック図を示す。図3に示すように、符号化構造決定器11は、フレームアクティビティ演算器111、フィールドアクティビティ演算器112及び判定器113から構成されている。
Next, the configuration and operation of the
フレームアクティビティ演算器111は図5(a)に示すように、白丸で示すトップフィールド(奇数フィールド)の画素と、黒丸で示すボトムフィールド(偶数フィールド)の画素のうち、アクティビティブロック単位(水平8画素×垂直8画素)毎に後述する(1)式によりブロックフレームアクティビティ(Block Frame Activity)を算出する。このブロックフレームアクティビティ(Block Frame Activity)は、垂直方向に隣接する2ラインの画素間のエネルギーの総和である。
As shown in FIG. 5A, the frame
また、フィールドアクティビティ演算器112は図5(b)に示すように、白丸で示すトップフィールド(奇数フィールド)の画素のうち、又は黒丸で示すボトムフィールド(偶数フィールド)の画素のうち、アクティビティブロック単位(水平8画素×垂直8画素)毎に後述する(2)式によりブロックフィールドアクティビティ(Block Field Activity)を算出する。このブロックフィールドアクティビティ(Block Field Activity)は、垂直方向に隣接する2つの画素間のエネルギーの総和である。
In addition, as shown in FIG. 5B, the
また、図3において、判定器113は、フレームタイプ信号bと、フレームアクティビティ演算器111及びフィールドアクティビティ演算器112の各出力信号とを入力として受け、基本ブロック毎にフレーム構造またはフィールド構造で符号化するのかを決定して、フレーム/フィールド構造を示す符号化構造信号cと符号化対象画像信号dを出力する。
In FIG. 3, the
次に、図3の実施の形態の動作について、図4のフローチャートを併せ参照して説明する。図3において、入力画像信号aはフレームアクティビティ演算器111とフィールドアクティビティ演算器112に入力される。フレームアクティビティ演算器111は入力画像信号aに対して、アクティビティブロック単位(水平8画素×垂直8画素)毎に(1)式に基づいてブロックフレームアクティビティ(Block Frame Activity)を算出して出力する。また、これと並行してフィールドアクティビティ演算器112は入力画像信号aに対して、アクティビティブロック単位(水平8画素×垂直8画素)毎に(2)式に基づいてブロックフィールドアクティビティ(Block Field Activity)を算出して出力する。
Next, the operation of the embodiment of FIG. 3 will be described with reference to the flowchart of FIG. In FIG. 3, an input image signal a is input to a
判定器113は、フレームタイプ信号bと、フレームアクティビティ演算器111及びフィールドアクティビティ演算器112の各出力信号とを入力として受け、まず、フレームタイプ信号bから符号化対象の入力画像信号aのフレームタイプがIフレーム、Pフレーム、Bフレームのいずれであるかを判定する(ステップS201)。
The
また、判定器113は、フレームアクティビティ演算器111からのブロックフレームアクティビティ(Block Frame Activity)から基本ブロックのフレームアクティビティ(FrameActivity)を算出すると共に、フィールドアクティビティ演算器112からのブロックフィールドアクティビティ(Block Field Activity)から基本ブロックのフィールドアクティビティ(FieldActivity)を算出する。ここで、基本ブロックのフレームアクティビティ(FrameActivity)は、基本ブロックに含まれる4つのブロックフレームアクティビティ(Block Frame Activity)の和であり、また、基本ブロックのフィールドアクティビティ(FieldActivity)、基本ブロックに含まれる4つのブロックフィールドアクティビティ(Block Field Activity)の和であり、それぞれ次式で表される。
Further, the
FrameActivity=ΣBlock Frame Activity (3)
FieldActivity=ΣBlock Field Activity (4)
なお、基本ブロックのフレーム(フィールド)アクティビティの算出方法は4つのブロックフレーム(フィールド)アクティビティの和に限定しない。4つのブロックフレーム(フィールド)アクティビティの最小値、最大値、平均値などを用いることもできる。
FrameActivity = ΣBlock Frame Activity (3)
FieldActivity = ΣBlock Field Activity (4)
The method for calculating the basic block frame (field) activity is not limited to the sum of the four block frame (field) activities. The minimum value, maximum value, average value, etc. of the four block frame (field) activities can also be used.
判定器113はステップS201でフレームタイプ信号bがIフレームであると判定した場合には、次式
FR=FrameActivity (5)
FI=FieldActivity (6)
により、それぞれフレームアクティビティFR、フィールドアクティビティFIを算出する(ステップS203)。
If the
FI = FieldActivity (6)
To calculate the frame activity FR and the field activity FI, respectively (step S203).
また、判定器113はステップS201でフレームタイプ信号bがPフレームであると判定した場合には、次式
FR=FrameActivity+Op (7)
FI=FieldActivity (8)
により、それぞれフレームアクティビティFR、フィールドアクティビティFIを算出する(ステップS202)。また、判定器113はステップS201でフレームタイプ信号bがBフレームであると判定した場合には、次式
FR=FrameActivity+Ob (9)
FI=FieldActivity (10)
により、それぞれフレームアクティビティFR、フィールドアクティビティFIを算出する(ステップS204)。すなわち、判定器113はフレームタイプがPフレーム又はBフレームのときには、IフレームのときよりもフレームアクティビティFRの値が大なるように、正の値のオフセット値Op、Ob(すなわち、Op>0、Ob>0)を加算する。
If the
FI = FieldActivity (8)
To calculate the frame activity FR and the field activity FI, respectively (step S202). If the
FI = FieldActivity (10)
Thus, the frame activity FR and the field activity FI are calculated respectively (step S204). That is, when the frame type is P frame or B frame, the
続いて、判定器113はステップ202、203又は204で算出した上記のフレームアクティビティFR及びフィールドアクティビティFIが、FR≦FIであるかどうか判定し(ステップS205)、FR≦FIであるときにはフレーム構造と決定し(ステップS206)、FR>FIであるときにはフィールド構造と決定する(ステップS207)。FR及びFIのうち、相対的に値が小さな方が相関が高いからである。なお、FR=FIの時にはフィールド構造と決定するようにしてもよい(等号が成立する場合にはどちらの符号化構造でも選択可能としておくようにしてもよい。)。
Subsequently, the
判定器113はこのようにして決定したフレーム構造/フィールド構造を示す符号化構造信号cを生成して出力する。判定器113は、符号化構造信号cがフレーム構造を示していれば入力画像信号aをフレーム構造として符号化させるように後段の符号化を制御し、符号化構造信号cがフィールド構造を示していれば入力画像信号aをフィールド構造として符号化させるように後段の符号化を制御する。
The
このように、本実施の形態では、画像間予測符号化を行うフレームタイプであるPフレームとBフレームにおいて、IフレームのときよりもフレームアクティビティFRの値が大なるように、正の値のオフセット値Op、Obを加算したのは、画像間予測を行うPフレームやBフレームのフレームアクティビティが画像内符号化を行うIフレームほど符号化効率との関連性が高くないため、PフレームとBフレームでは予測効率の高いフィールド構造を優先するためである。 As described above, in the present embodiment, in the P frame and the B frame, which are frame types for performing inter-picture predictive coding, the positive value offset is set so that the value of the frame activity FR is larger than that in the I frame. The values Op and Ob are added because the P frame and the B frame are not related to the coding efficiency as much as the I frame in which the frame activity of the P frame or the B frame performing the inter-picture prediction performs the intra-picture coding. This is because priority is given to a field structure with high prediction efficiency.
上記のように、本実施の形態によれば、フレームタイプに応じてフレーム構造とフィールド構造の選択率を可変にすることで、特に、フィールド/フレーム判定が曖昧になりやすい特徴を持った複雑で細かな動きが多い動画像について、好適な画質の動画像符号化装置を提供することができる。 As described above, according to the present embodiment, by making the selection rate of the frame structure and the field structure variable according to the frame type, the field / frame determination is particularly complicated with the characteristic that the field / frame determination tends to be ambiguous. It is possible to provide a moving image encoding device having a suitable image quality for moving images with many fine movements.
なお、本発明は上記の実施の形態に限定されるものではなく、0<Op<Obに設定し、Pフレームよりも更にBフレームの方を予測効率の高いフィールド構造を優先するように設定してもよい。また、本実施の形態では予測タイプ信号としてのフレームタイプ信号に応じてオフセット値の制御を行ったが、これを予測タイプ信号としてのスライスタイプ信号に応じて制御することも可能である(フレームやフィールドよりも小さい画像単位であるスライス単位で予測タイプ[画像内予測、片方向予測、双方向予測]を設定している場合もあり、これに対応させるため)。 The present invention is not limited to the above embodiment, and 0 <Op <Ob is set, and the B frame is set to give priority to the field structure with higher prediction efficiency than the P frame. May be. In this embodiment, the offset value is controlled according to the frame type signal as the prediction type signal. However, it is also possible to control this according to the slice type signal as the prediction type signal (for example, a frame or The prediction type [intra-image prediction, unidirectional prediction, bidirectional prediction] may be set in slice units, which are image units smaller than the field, in order to cope with this).
また、本発明は図1及び図3に示した構成をコンピュータにより実行させる動画像符号化プログラムも包含するものである。ここで、この動画像符号化プログラムは、記録されている記録媒体からコンピュータに取り込まれてもよいし、通信ネットワークを介して配信されてコンピュータに取り込まれてもよく、更にはファームウェアとしてコンピュータに組み込まれていてもよい。 The present invention also includes a moving image encoding program that causes a computer to execute the configuration shown in FIGS. Here, the moving picture encoding program may be taken into a computer from a recorded recording medium, distributed via a communication network, taken into the computer, or further incorporated into the computer as firmware. It may be.
a 入力画像信号
b フレームタイプ信号
c 符号化構造信号
d 符号化対象画像信号
e 動画像符号信号
11 符号化構造決定器
12 減算器
13 動き検出器
14 動き補償予測器
15 直交変換器
16 量子化器
17 エントロピー符号化器
18 多重化器
19 逆量子化器
20 逆直交変換器
21 加算器
22 ループフィルタ
23 画像メモリ
111 フレームアクティビティ演算器
112 フィールドアクティビティ演算器
113 判定器
a input image signal b frame type signal c encoding structure signal d encoding target image signal e moving
Claims (1)
前記入来動画像信号を前記第1の画素数よりも少ない第2の画素数の第2のブロック単位で、フレーム構造の垂直画素間エネルギーを示すブロックフレームアクティビティを算出する第1の算出手段と、
前記入来動画像信号を前記第2のブロック単位で、フィールド構造の垂直画素間エネルギーを示すブロックフィールドアクティビティを算出する第2の算出手段と、
前記動画像信号の各画像単位を前記画像内符号化と前記画像間予測符号化のどちらで符号化するかを示す予測タイプ信号と、前記ブロックフレームアクティビティ及び前記ブロックフィールドアクティビティとが供給され、前記ブロックフィールドアクティビティに基づいて現符号化対象の前記第1のブロックにおけるフィールドアクティビティに関する値であるFIを生成すると共に、前記現符号化対象の第1のブロックを含む画像単位の前記予測タイプ信号が前記画像内符号化を示しているときは、前記ブロックフレームアクティビティに基づいて前記現符号化対象の第1のブロックにおけるフレームアクティビティに関する値であるFR1を生成し、前記現符号化対象の第1のブロックを含む画像単位の前記予測タイプ信号が前記画像間予測符号化を示しているときは、前記ブロックフレームアクティビティに基づいて前記現符号化対象の第1のブロックにおけるフレームアクティビティに関する値であり、前記FR1より大なる値のFR2を生成する生成手段と、
前記FIが前記FR1より大又は前記FIが前記FR2より大のときは、前記現符号化対象の第1のブロックをフレーム構造で符号化させるように制御し、前記FIが前記FR1より小又は前記FIが前記FR2より小のときは、前記現符号化対象の第1のブロックをフィールド構造で符号化させるように制御し、前記FIが前記FR1と等しい又は前記FIが前記FR2と等しいときは、前記現符号化対象の第1のブロックをフィールド構造もしくはフレーム構造のどちらか一方の構造で符号化させるように制御する符号化構造判定手段と
を有することを特徴とする動画像符号化装置。
Intra-picture coding is performed for each predetermined image unit including a plurality of the first blocks, with the first block having a predetermined first number of pixels as the incoming video signal by interlace scanning as a minimum coding unit. Alternatively, in a video encoding device that obtains an encoded image signal by performing inter-picture prediction encoding,
First calculation means for calculating a block frame activity indicating vertical inter-pixel energy of a frame structure in the second block unit having a second pixel number smaller than the first pixel number for the incoming moving image signal; ,
Second calculation means for calculating a block field activity indicating vertical inter-pixel energy of a field structure in the second block unit for the incoming moving image signal;
A prediction type signal indicating whether each image unit of the moving image signal is encoded by the intra-picture encoding or the inter-picture prediction encoding, the block frame activity, and the block field activity are supplied; Based on a block field activity, an FI that is a value related to a field activity in the first block to be encoded is generated, and the prediction type signal in units of images including the first block to be encoded is When intra-picture encoding is indicated, FR1 that is a value related to frame activity in the first block to be encoded is generated based on the block frame activity, and the first block to be encoded The prediction type signal in units of images including the image When showing the predictive coding, on the basis of the said block frame activity is a value for a frame activity in the first block of the current coded, a generating means for generating a FR2 large becomes than the FR1,
When the FI is larger than the FR1 or the FI is larger than the FR2, the first block to be encoded is controlled to be encoded in a frame structure, and the FI is smaller than the FR1 or the When FI is smaller than FR2, control is performed to encode the first block to be encoded with a field structure, and when FI is equal to FR1 or when FI is equal to FR2, A moving picture coding apparatus comprising coding structure determination means for controlling the first block to be coded as a field structure or a frame structure.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006183982A JP4561701B2 (en) | 2006-07-04 | 2006-07-04 | Video encoding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006183982A JP4561701B2 (en) | 2006-07-04 | 2006-07-04 | Video encoding device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008016985A JP2008016985A (en) | 2008-01-24 |
| JP4561701B2 true JP4561701B2 (en) | 2010-10-13 |
Family
ID=39073621
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006183982A Expired - Fee Related JP4561701B2 (en) | 2006-07-04 | 2006-07-04 | Video encoding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4561701B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5800362B2 (en) * | 2011-12-27 | 2015-10-28 | Kddi株式会社 | Moving image sending device, moving image receiving device, moving image transmission system, moving image sending method, moving image receiving method, and program |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3125145B2 (en) * | 1990-08-29 | 2001-01-15 | 日立電子株式会社 | Method and apparatus for highly efficient encoding of image data |
| JP2684941B2 (en) * | 1992-11-25 | 1997-12-03 | 松下電器産業株式会社 | Image encoding method and image encoding device |
| JPH06343171A (en) * | 1993-03-31 | 1994-12-13 | Sony Corp | Method and device for encoding picture |
| EP1003336A1 (en) * | 1998-11-17 | 2000-05-24 | STMicroelectronics S.r.l. | Video pictures compression and coding with decision step for field/frame and motion vectors DCT |
-
2006
- 2006-07-04 JP JP2006183982A patent/JP4561701B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008016985A (en) | 2008-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102845060B (en) | Data compression for video | |
| CN104363457B (en) | Image processing equipment and method | |
| CN101416524B (en) | Dynamic selection of motion estimation search range and extended motion vector range | |
| JP5061179B2 (en) | Illumination change compensation motion prediction encoding and decoding method and apparatus | |
| KR100987765B1 (en) | Method and apparatus for performing prediction in video encoder | |
| JP5328854B2 (en) | Motion vector detection apparatus and motion vector detection method | |
| KR101390620B1 (en) | Power efficient motion estimation techniques for video encoding | |
| CN102986211A (en) | Rate control in video coding | |
| KR101615643B1 (en) | Compression of pictures | |
| JP2008227670A (en) | Image coding device | |
| JP4804423B2 (en) | Motion vector detection apparatus and motion vector detection method | |
| WO2012098845A1 (en) | Image encoding method, image encoding device, image decoding method, and image decoding device | |
| JP5173409B2 (en) | Encoding device and moving image recording system provided with encoding device | |
| JP5598199B2 (en) | Video encoding device | |
| JP5178616B2 (en) | Scene change detection device and video recording device | |
| JP2009049969A (en) | Moving picture coding apparatus and method and moving picture decoding apparatus and method | |
| US20070133689A1 (en) | Low-cost motion estimation apparatus and method thereof | |
| JP2007013298A (en) | Image coding apparatus | |
| JP4561701B2 (en) | Video encoding device | |
| JP5322956B2 (en) | Image coding apparatus and image coding method | |
| JP4697802B2 (en) | Video predictive coding method and apparatus | |
| JP7560995B2 (en) | Encoding device and program | |
| JP2008028882A (en) | Moving image encoding apparatus | |
| JP5943757B2 (en) | Image encoding apparatus and method | |
| JP6016484B2 (en) | Encoder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081226 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100617 |
|
| 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: 20100706 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100719 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130806 Year of fee payment: 3 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4561701 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130806 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130806 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130806 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |