JP5000012B2 - Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method - Google Patents

Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method Download PDF

Info

Publication number
JP5000012B2
JP5000012B2 JP2011508238A JP2011508238A JP5000012B2 JP 5000012 B2 JP5000012 B2 JP 5000012B2 JP 2011508238 A JP2011508238 A JP 2011508238A JP 2011508238 A JP2011508238 A JP 2011508238A JP 5000012 B2 JP5000012 B2 JP 5000012B2
Authority
JP
Japan
Prior art keywords
image
prediction
output
unit
pixel
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
JP2011508238A
Other languages
Japanese (ja)
Other versions
JPWO2010116708A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2011508238A priority Critical patent/JP5000012B2/en
Application granted granted Critical
Publication of JP5000012B2 publication Critical patent/JP5000012B2/en
Publication of JPWO2010116708A1 publication Critical patent/JPWO2010116708A1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/523Motion estimation or motion compensation with sub-pixel accuracy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/109Selection of coding mode or of prediction mode among a plurality of temporal predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop

Description

この発明は、動画像を高効率で符号化を行う動画像符号化装置及び動画像符号化方法と、高効率で符号化されている動画像を復号する動画像復号装置及び動画像復号方法とに関するものである。   The present invention relates to a moving image encoding apparatus and moving image encoding method for encoding a moving image with high efficiency, a moving image decoding apparatus and a moving image decoding method for decoding a moving image encoded with high efficiency, and It is about.

例えば、「ITU−TH.264・ISO/IEC_MPEG−4AVC」などの動画像符号化標準方式では、符号化モードの一つとして動き補償予測フレーム間符号化が用いられる。
動き補償予測フレーム間符号化の予測モデルとしては、明るさが時間方向に変化しない場合に最も予測効率が高くなるようなモデルが採用されている。
しかし、自然画像においては、フレーム毎に画像の明るさが変化することがあり、特に画像の明るさが変化すると同時に、被写体が動く場合には、画質を維持するために多くの符号量を必要とする問題点がある。
For example, in motion picture coding standard schemes such as “ITU-TH.264 ISO / IEC_MPEG-4AVC”, motion compensation prediction interframe coding is used as one of the coding modes.
As a prediction model of motion compensated prediction interframe coding, a model is adopted that has the highest prediction efficiency when the brightness does not change in the time direction.
However, in natural images, the brightness of the image may change from frame to frame. In particular, when the subject moves at the same time as the brightness of the image, a large amount of code is required to maintain the image quality. There is a problem.

上記の問題点を解決するために、以下の特許文献1に開示されている動画像符号化装置では、動きベクトルを用いて、動き補償予測符号化を行う際、予め用意されている少なくとも一つ以上の参照画像番号と予測パラメータにおける複数の組み合わせの中から、入力動画像信号の符号化対象ブロック毎に一つの組み合わせを選択し、その選択した組み合わせの参照画像番号と予測パラメータにしたがって予測画像信号を生成する。
そして、入力動画像信号に対する予測画像信号の誤差を表す予測誤差信号を生成し、その予測誤差信号と、動きベクトルの情報と、その選択した組み合わせを示すインデックス情報とを符号化している。
In order to solve the above-described problem, in the moving picture encoding device disclosed in Patent Document 1 below, at least one prepared in advance when performing motion compensation prediction encoding using a motion vector From among the plurality of combinations of the reference image number and the prediction parameter, one combination is selected for each encoding target block of the input moving image signal, and the prediction image signal is determined according to the reference image number and the prediction parameter of the selected combination. Is generated.
Then, a prediction error signal representing an error of the prediction image signal with respect to the input moving image signal is generated, and the prediction error signal, motion vector information, and index information indicating the selected combination are encoded.

特開2004−7377号公報(段落番号[0014]、図1)JP 2004-7377 A (paragraph number [0014], FIG. 1)

従来の動画像符号化装置は以上のように構成されているので、符号化対象ブロックの数と同数のインデックス情報を符号化しなければならず、大きな符号化効率の向上を期待することができない。このため、画像の明るさが変化すると同時に、被写体が動く自然画像を符号化する場合、画質を維持するには、多くの符号量を必要とする課題があった。   Since the conventional moving image encoding apparatus is configured as described above, it is necessary to encode the same number of pieces of index information as the number of blocks to be encoded, and a large improvement in encoding efficiency cannot be expected. For this reason, when a natural image in which the subject moves at the same time as the brightness of the image is encoded, there is a problem that a large amount of code is required to maintain the image quality.

この発明は上記のような課題を解決するためになされたもので、画像の明るさが変化すると同時に、被写体が動く自然画像を符号化する場合でも、画質の劣化を招くことなく、高効率の符号化を実現することができる動画像符号化装置及び動画像符号化方法を得ることを目的とする。
また、この発明は、高効率で符号化されている動画像を復号することができる動画像復号装置及び動画像復号方法を得ることを目的とする。
The present invention has been made to solve the above-described problems. Even when a natural image in which a subject moves is encoded at the same time as the brightness of an image changes, it is highly efficient without causing deterioration in image quality. It is an object of the present invention to obtain a moving picture coding apparatus and a moving picture coding method capable of realizing coding.
Another object of the present invention is to obtain a moving image decoding apparatus and a moving image decoding method capable of decoding a moving image encoded with high efficiency.

この発明に係る動画像符号化装置は、フレーム間予測手段が、局部復号画像出力手段から出力された局部復号画像を補間することで、小数精度単位の拡大参照画像を生成し、その拡大参照画像に対して動き探索で参照する動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素に対して予め設定された所定のオフセット値を加減算し、その参照ブロックの画像を適応的予測画像として出力する適応的予測画像生成部と、適応的予測画像生成部から出力された適応的予測画像と画像分割手段から出力されたマクロブロック画像の誤差を評価し、その評価が最適になる際の動きベクトルをフレーム間予測情報として出力するとともに、その評価が最適になる際の適応的予測画像を予測画像として出力する輝度変化動き検出部とを設けるようにしたものである。   In the moving picture encoding apparatus according to the present invention, the inter-frame prediction unit generates an enlarged reference image in decimal precision units by interpolating the local decoded image output from the local decoded image output unit, and the enlarged reference image For the pixel value in the reference block obtained by sub-sampling in integer precision units starting from the position indicated by the motion vector referred to in motion search, for the pixel having a specific phase with respect to the integer component of the motion vector An adaptive prediction image generation unit that adds and subtracts a predetermined offset value set in advance and outputs an image of the reference block as an adaptive prediction image, and an adaptive prediction image and an image output from the adaptive prediction image generation unit Evaluate the error of the macroblock image output from the dividing means, and output the motion vector when the evaluation is optimal as inter-frame prediction information Both, in which so as to provide a luminance change motion detecting section for outputting an adaptive prediction image when the evaluation is optimized as a prediction image.

この発明によれば、フレーム間予測手段が、局部復号画像出力手段から出力された局部復号画像を補間することで、小数精度単位の拡大参照画像を生成して、その拡大参照画像に対して動き探索で参照する動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素に対して予め設定された所定のオフセット値を加減算し、その参照ブロックの画像を適応的予測画像として出力する適応的予測画像生成部と、適応的予測画像生成部から出力された適応的予測画像と画像分割手段から出力されたマクロブロック画像の誤差を評価し、その評価が最適になる際の動きベクトルをフレーム間予測情報として出力するとともに、その評価が最適になる際の適応的予測画像を予測画像として出力する輝度変化動き検出部とを設けるように構成したので、画像の明るさが変化すると同時に、被写体が動く自然画像を符号化する場合でも、画質の劣化を招くことなく、高効率の符号化を実現することができる効果がある。   According to this invention, the inter-frame prediction unit generates an enlarged reference image in decimal precision units by interpolating the local decoded image output from the local decoded image output unit, and moves with respect to the enlarged reference image. The pixel value in the reference block obtained by subsampling in integer precision units starting from the position pointed to by the motion vector referenced in the search is set in advance for the pixel having a specific phase with respect to the integer component of the motion vector. An adaptive prediction image generation unit that adds and subtracts a predetermined offset value and outputs the image of the reference block as an adaptive prediction image, an adaptive prediction image output from the adaptive prediction image generation unit, and an output from the image dividing unit The error of the generated macroblock image is evaluated, and the motion vector when the evaluation is optimal is output as inter-frame prediction information. When a natural image in which the subject moves at the same time as the brightness of the image changes is encoded, because the brightness change motion detection unit that outputs an adaptive predicted image when the valence is optimal is output as a predicted image However, there is an effect that high-efficiency encoding can be realized without causing deterioration of image quality.

この発明の実施の形態1による動画像符号化装置を示す構成図である。It is a block diagram which shows the moving image encoder by Embodiment 1 of this invention. この発明の実施の形態1による動画像符号化装置の輝度変化動き補償予測部7を示す構成図である。It is a block diagram which shows the brightness | luminance change motion compensation prediction part 7 of the moving image encoder by Embodiment 1 of this invention. この発明の実施の形態1による動画像復号装置を示す構成図である。It is a block diagram which shows the moving image decoding apparatus by Embodiment 1 of this invention. この発明の実施の形態1による動画像符号化装置の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the moving image encoder by Embodiment 1 of this invention. この発明の実施の形態1による動画像復号装置の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the moving image decoding apparatus by Embodiment 1 of this invention. 4分の1画素精度の拡大参照画像の生成例を示す説明図である。It is explanatory drawing which shows the example of a production | generation of the expansion reference image of a quarter pixel precision. 輝度変化の有無を決定する閾値を送信するためのビットストリームの一例を示す説明図である。It is explanatory drawing which shows an example of the bit stream for transmitting the threshold value which determines the presence or absence of a brightness change.

以下、この発明をより詳細に説明する為に、この発明を実施するための形態について、添付の図面に従って説明する。
実施の形態1.
図1はこの発明の実施の形態1による動画像符号化装置を示す構成図である。
図1において、画像分割部1は動画像信号をフレーム単位又はフィールド単位に入力すると、動画像を構成する各フレームを所定サイズのマクロブロックに分割して、そのマクロブロックの画像(以下、「マクロブロック画像」と称する)を出力する処理を実施する。なお、画像分割部1は画像分割手段を構成している。
Hereinafter, in order to explain the present invention in more detail, modes for carrying out the present invention will be described with reference to the accompanying drawings.
Embodiment 1 FIG.
1 is a block diagram showing a moving picture coding apparatus according to Embodiment 1 of the present invention.
In FIG. 1, when a moving image signal is input in units of frames or fields, an image dividing unit 1 divides each frame constituting a moving image into macro blocks of a predetermined size, and images of the macro blocks (hereinafter referred to as “macro blocks”). (Referred to as “block image”). The image dividing unit 1 constitutes an image dividing unit.

減算部2は画像分割部1から出力されたマクロブロック画像と予測画像切替スイッチ9から出力された予測画像の差分を求め(マクロブロック画像を構成する画素の画素値から、予測画像を構成する画素(マクロブロック画像を構成する画素に対応する画素)の画素値を減算して差分を求める)、その差分を示す予測誤差信号を出力する処理を実施する。
量子化変換部3は減算部2から出力された予測誤差信号に対する変換処理及び量子化処理を実施して、その予測誤差信号の量子化変換係数を出力する処理を実施する。
The subtraction unit 2 obtains a difference between the macroblock image output from the image division unit 1 and the prediction image output from the prediction image changeover switch 9 (from the pixel values of the pixels constituting the macroblock image, the pixels constituting the prediction image) The pixel value of the pixel corresponding to the pixel constituting the macroblock image is subtracted to obtain a difference), and a process of outputting a prediction error signal indicating the difference is performed.
The quantization conversion unit 3 performs a conversion process and a quantization process on the prediction error signal output from the subtraction unit 2, and performs a process of outputting a quantization conversion coefficient of the prediction error signal.

ここで、変換処理としては、例えば、DCTやFFTなどの直交周波数変換や、ウェーブレット変換などの直交変換などの処理が該当し、入力信号のエネルギー分布が偏り易い変換であれば、どのような変換の処理も適用可能である。
また、量子化処理としては、例えば、スカラ量子化やベクトル量子化など、与えられる信号に対して、より少ない集合で表現できる量子化であれば、どのような量子化でも適用可能である。
なお、減算部2及び量子化変換部3から量子化変換手段が構成されている。
Here, as the conversion processing, for example, processing such as orthogonal frequency conversion such as DCT or FFT and orthogonal conversion such as wavelet conversion is applicable, and any conversion is possible as long as the energy distribution of the input signal is easily biased. This process is also applicable.
As the quantization processing, any quantization can be applied as long as the quantization can be expressed with a smaller set for a given signal, such as scalar quantization or vector quantization.
The subtraction unit 2 and the quantization conversion unit 3 constitute a quantization conversion unit.

逆量子化変換部4は量子化変換部3から出力された量子化変換係数を逆量子化及び逆変換して復号予測誤差信号を求め、その復号予測誤差信号を出力する処理を実施する。
加算部5は逆量子化変換部4から出力された復号予測誤差信号と予測画像切替スイッチ9から出力された予測画像を加算して、その加算の結果である局部復号画像を出力する処理を実施する。この際、加算の結果得られる局部復号画像の画素値が所定の範囲内に収まるようにクリッピング処理を実施するようにしてもよい。
なお、逆量子化変換部4及び加算部5から局部復号画像出力手段が構成されている。
The inverse quantization transform unit 4 performs a process of inversely quantizing and inverse transforming the quantized transform coefficient output from the quantization transform unit 3 to obtain a decoded prediction error signal and outputting the decoded prediction error signal.
The addition unit 5 adds the decoded prediction error signal output from the inverse quantization conversion unit 4 and the prediction image output from the prediction image change-over switch 9 and outputs a local decoded image as a result of the addition. To do. At this time, the clipping process may be performed so that the pixel value of the locally decoded image obtained as a result of the addition falls within a predetermined range.
The inverse quantization transform unit 4 and the addition unit 5 constitute a local decoded image output unit.

フレームメモリ6は加算部5から出力された局部復号画像を格納するメモリである。
輝度変化動き補償予測部7はフレームメモリ6に格納されている局部復号画像をフレーム間予測参照画像として読み出し、そのフレーム間予測参照画像と画像分割部1から出力されたマクロブロック画像を用いて、フレーム間予測を実施することで、フレーム間予測画像を生成して出力するとともに、そのフレーム間予測の方法を特定するフレーム間予測情報を出力する処理を実施する。
即ち、輝度変化動き補償予測部7はフレーム間予測参照画像を用いて、マクロブロック画像との差分の評価値が最小となる場合のブロック分割情報、動きベクトル、参照フレーム番号(複数の参照画像がある場合に参照する画像を特定するための情報)などをフレーム間予測情報として出力するとともに、そのフレーム間予測情報によって特定される画像領域をフレーム間予測画像として出力する処理を実施する。
なお、輝度変化動き補償予測部7はフレーム間予測手段を構成している。
The frame memory 6 is a memory for storing the locally decoded image output from the adding unit 5.
The luminance change motion compensation prediction unit 7 reads out the locally decoded image stored in the frame memory 6 as an inter-frame prediction reference image, and uses the inter-frame prediction reference image and the macroblock image output from the image division unit 1, By performing inter-frame prediction, an inter-frame prediction image is generated and output, and a process of outputting inter-frame prediction information for specifying the inter-frame prediction method is performed.
That is, the luminance change motion compensation prediction unit 7 uses the inter-frame prediction reference image, and the block division information, the motion vector, and the reference frame number (a plurality of reference images are determined when the evaluation value of the difference from the macro block image is minimized). Information for specifying an image to be referred to in a certain case) is output as inter-frame prediction information, and an image region specified by the inter-frame prediction information is output as an inter-frame prediction image.
Note that the luminance change motion compensation prediction unit 7 constitutes an inter-frame prediction unit.

イントラ予測部8はフレームメモリ6に格納されている局部復号画像をフレーム内予測参照画像として読み出し、そのフレーム内予測参照画像を用いて、画像分割部1から出力されたマクロブロック画像との差分の評価値が最小となる場合の予測モードをフレーム内予測情報として出力するとともに、そのフレーム内予測情報によって特定されるイントラ予測方法によって生成される予測画像をフレーム内予測画像として出力する処理を実施する。
イントラ予測としては、H.264と同様の画素単位の予測でもよいし、当該符号化対象ブロックの周辺情報から予測する方法であれば、いかなる手法であっても、本発明に適用可能である。また、MPEG−4におけるイントラ予測のように量子化変換係数自体を予測する手法であっても本発明に適用可能である。
The intra prediction unit 8 reads out the locally decoded image stored in the frame memory 6 as an intra-frame prediction reference image, and uses the intra-frame prediction reference image to calculate the difference from the macroblock image output from the image division unit 1. The prediction mode when the evaluation value is minimized is output as intra-frame prediction information, and the process of outputting the prediction image generated by the intra prediction method specified by the intra-frame prediction information is performed as the intra-frame prediction image .
Intra prediction includes H.264. Similar to H.264, prediction in pixel units may be used, and any method can be applied to the present invention as long as the prediction is based on the peripheral information of the encoding target block. Further, even a technique for predicting a quantized transform coefficient itself such as intra prediction in MPEG-4 is applicable to the present invention.

予測画像切替スイッチ9は符号化制御部10から出力されるマクロブロック予測モード情報にしたがって、輝度変化動き補償予測部7から出力されるフレーム間予測画像又はイントラ予測部8から出力されるフレーム内予測画像のいずれか一方を選択し、その選択した画像を予測画像として出力する処理を実施する。
符号化制御部10は種々の条件に基づいて最適なマクロブロック予測モードや量子化パラメータを決定し、最適なマクロブロック予測モードや量子化パラメータをマクロブロックモード情報として出力する処理を実施する。
The prediction image changeover switch 9 is an inter-frame prediction image output from the luminance change motion compensation prediction unit 7 or an intra-frame prediction output from the intra prediction unit 8 according to the macroblock prediction mode information output from the encoding control unit 10. A process for selecting one of the images and outputting the selected image as a predicted image is performed.
The encoding control unit 10 determines the optimum macroblock prediction mode and quantization parameter based on various conditions, and performs a process of outputting the optimum macroblock prediction mode and quantization parameter as macroblock mode information.

エントロピー符号化部11は量子化変換部3から出力された量子化変換係数と、輝度変化動き補償予測部7から出力されたフレーム間予測情報と、イントラ予測部8から出力されたフレーム内予測情報と、符号化制御部10から出力されたマクロブロックモード情報を所定のエントロピー符号化方法によって圧縮処理を実施することで、符号化データを出力する処理を実施する。
ここで、エントロピー符号化方法としては、ハフマン符号化、適応的ハフマン符号化、算術符号化、適応的算術符号化など、可逆符号化方法であれば、いかなる符号化方法でも本発明に適用可能である。
なお、エントロピー符号化部11は符号化手段を構成している。
The entropy encoding unit 11 outputs the quantized transform coefficient output from the quantizing transform unit 3, the interframe prediction information output from the luminance change motion compensation prediction unit 7, and the intraframe prediction information output from the intra prediction unit 8. Then, the macro block mode information output from the encoding control unit 10 is compressed by a predetermined entropy encoding method, thereby executing processing for outputting encoded data.
Here, as the entropy coding method, any coding method can be applied to the present invention as long as it is a lossless coding method such as Huffman coding, adaptive Huffman coding, arithmetic coding, and adaptive arithmetic coding. is there.
The entropy encoding unit 11 constitutes an encoding unit.

図2はこの発明の実施の形態1による動画像符号化装置の輝度変化動き補償予測部7を示す構成図である。
図2において、適応的予測画像生成部21はフレームメモリ6に格納されている局部復号画像のうち動き探索情報に含まれている参照フレーム番号が特定する参照画像をフレーム間予測参照画像として読み出し、そのフレーム間予測参照画像を補間することで、小数精度単位の拡大参照画像を生成し、その拡大参照画像に対して動き探索情報に含まれている動きベクトル(動き探索で参照するベクトル)が指し示す位置を起点に輝度変化動き検出部22から出力される動き探索情報に含まれているブロック分割情報(マクロブロックをさらに細かく分割して得られるブロックの形状情報)に従って指定されたサイズのブロックを整数精度単位でサブサンプリングを行うことによって参照ブロックとして得るとともに、動きベクトルの指し示す位置の整数画素位置からの位相を有する画素に対して予め設定された所定のオフセット値を加減算し、その参照ブロックの画像を適応的予測画像として出力する処理を実施する。
輝度変化動き検出部22は探索範囲において動き探索情報を適宜変更しながら、その動き探索情報を適応的予測画像生成部21に出力し、適応的予測画像生成部21から出力された当該動き探索情報に対応する適応的予測画像と画像分割部1から出力されたマクロブロック画像の誤差を評価し、探索範囲において、その評価が最適になる際の動き探索情報をフレーム間予測情報として出力するとともに、その評価が最適になる際の適応的予測画像をフレーム間予測画像として出力する処理を実施する。
FIG. 2 is a block diagram showing the luminance change motion compensation prediction unit 7 of the moving picture coding apparatus according to Embodiment 1 of the present invention.
In FIG. 2, the adaptive prediction image generation unit 21 reads out a reference image identified by the reference frame number included in the motion search information from among the locally decoded images stored in the frame memory 6 as an inter-frame prediction reference image. By interpolating the inter-frame prediction reference image, an enlarged reference image in decimal precision unit is generated, and a motion vector (vector to be referred to in motion search) included in the motion search information points to the enlarged reference image. Starting from the position, a block having a size specified according to block division information (block shape information obtained by further dividing a macroblock) included in the motion search information output from the luminance change motion detector 22 is an integer. Obtained as a reference block by sub-sampling in units of precision, and pointed to motion vectors By adding or subtracting a predetermined offset value that is set in advance for a pixel having a phase from the integer pixel positions location, and carries out a process of outputting the image of the reference block as adaptive prediction image.
The luminance change motion detection unit 22 outputs the motion search information to the adaptive prediction image generation unit 21 while appropriately changing the motion search information in the search range, and the motion search information output from the adaptive prediction image generation unit 21. And an error between the adaptive prediction image corresponding to the image and the macroblock image output from the image dividing unit 1, and in the search range, motion search information when the evaluation is optimal is output as inter-frame prediction information, A process of outputting an adaptive prediction image when the evaluation is optimum as an inter-frame prediction image is performed.

図3はこの発明の実施の形態1による動画像復号装置を示す構成図である。
図3において、エントロピー復号部31は図1の動画像符号化装置から出力された符号化データをエントロピー復号して、量子化変換係数、フレーム間予測情報、フレーム内予測情報及びマクロブロックモード情報を出力する処理を実施する。なお、エントロピー復号部31は復号手段を構成している。
FIG. 3 is a block diagram showing a moving picture decoding apparatus according to Embodiment 1 of the present invention.
In FIG. 3, an entropy decoding unit 31 entropy-decodes the encoded data output from the moving picture encoding apparatus of FIG. 1 to obtain quantization transform coefficients, interframe prediction information, intraframe prediction information, and macroblock mode information. Perform the output process. The entropy decoding unit 31 constitutes a decoding unit.

逆量子化変換部32は図1の動画像符号化装置における逆量子化変換部4と同じ動作をするものであり、エントロピー復号部31から出力された量子化変換係数を逆量子化して復号予測誤差信号を出力する処理を実施する。
加算部33は逆量子化変換部32から出力された復号予測誤差信号と予測画像選択スイッチ37から出力された予測画像を加算して、その加算の結果である復号画像を出力する処理を実施する。
なお、逆量子化変換部32及び加算部33から復号画像出力手段が構成されている。
The inverse quantization transform unit 32 performs the same operation as the inverse quantization transform unit 4 in the moving image coding apparatus in FIG. 1, and performs inverse prediction by quantizing the quantized transform coefficient output from the entropy decoding unit 31. A process of outputting an error signal is performed.
The adding unit 33 adds the decoded prediction error signal output from the inverse quantization conversion unit 32 and the predicted image output from the predicted image selection switch 37, and performs a process of outputting a decoded image as a result of the addition. .
The inverse quantization conversion unit 32 and the addition unit 33 constitute decoded image output means.

フレームメモリ34は加算部33から出力された復号画像を格納するメモリである。
輝度変化動き補償部35はエントロピー復号部31からフレーム間予測情報が出力された場合、フレームメモリ34に格納されている復号画像をフレーム間参照画像として読み出し、そのフレーム間予測情報にしたがって、フレーム間参照画像を用いてフレーム間予測を実施することで、フレーム間予測画像を生成して出力する処理を実施する。
即ち、輝度変化動き補償部35は、動画像復号装置の輝度変化動き補償予測部7と同様に、フレーム間予測情報にしたがって適応的予測を行うものであり、フレーム間予測情報に含まれている参照フレーム番号が特定するフレーム間参照画像を補間することで、小数精度単位の拡大参照画像を生成し、そのフレーム間予測情報に含まれているブロック分割情報にしたがって、その拡大参照画像に対してフレーム間予測情報に含まれている動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素に対して予め設定された所定のオフセット値を加減算し、その参照ブロックの画像をフレーム間予測画像として出力する。
なお、輝度変化動き補償部35は予測画像生成手段を構成している。
The frame memory 34 is a memory that stores the decoded image output from the adding unit 33.
When the interframe prediction information is output from the entropy decoding unit 31, the luminance change motion compensation unit 35 reads the decoded image stored in the frame memory 34 as an interframe reference image, and performs interframe prediction according to the interframe prediction information. By performing inter-frame prediction using a reference image, a process of generating and outputting an inter-frame prediction image is performed.
That is, the luminance change motion compensation unit 35 performs adaptive prediction according to the interframe prediction information, as in the luminance change motion compensation prediction unit 7 of the video decoding device, and is included in the interframe prediction information. By interpolating the inter-frame reference image specified by the reference frame number, an expanded reference image in decimal precision unit is generated, and the expanded reference image is then generated according to the block division information included in the inter-frame prediction information. With respect to the pixel value in the reference block obtained by sub-sampling in integer precision units starting from the position indicated by the motion vector included in the inter-frame prediction information, the pixel having a specific phase with respect to the integer component of the motion vector On the other hand, a predetermined offset value set in advance is added or subtracted, and the image of the reference block is output as an inter-frame prediction image.
The luminance change motion compensation unit 35 constitutes a predicted image generation unit.

イントラ予測画像生成部36はエントロピー復号部31からフレーム内予測情報が出力された場合、フレームメモリ34に格納されている復号画像をフレーム内参照画像として読み出し、そのフレーム内予測情報にしたがってフレーム内参照画像を用いてフレーム内予測を実施することで、フレーム内予測画像を生成して出力する処理を実施する。
予測画像選択スイッチ37はエントロピー復号部31から出力されたマクロブロックモード情報が、最適なマクロブロック予測モードがフレーム内予測モードである旨を示していれば、イントラ予測画像生成部36から出力されたフレーム内予測画像を選択し、そのマクロブロックモード情報が、最適なマクロブロック予測モードがフレーム間予測モードである旨を示していれば、輝度変化動き補償部35から出力されたフレーム間予測画像を選択し、その選択した画像を予測画像として出力する処理を実施する。
When intra-frame prediction information is output from the entropy decoding unit 31, the intra-predicted image generation unit 36 reads out the decoded image stored in the frame memory 34 as an intra-frame reference image, and refers to the intra-frame according to the intra-frame prediction information. By performing intra-frame prediction using an image, a process of generating and outputting an intra-frame prediction image is performed.
If the macroblock mode information output from the entropy decoding unit 31 indicates that the optimal macroblock prediction mode is the intraframe prediction mode, the prediction image selection switch 37 outputs from the intra prediction image generation unit 36. If an intra-frame prediction image is selected and the macroblock mode information indicates that the optimal macroblock prediction mode is the interframe prediction mode, the interframe prediction image output from the luminance change motion compensation unit 35 is selected. A process of selecting and outputting the selected image as a predicted image is performed.

次に動作について説明する。
図4はこの発明の実施の形態1による動画像符号化装置の処理内容を示すフローチャートであり、図5はこの発明の実施の形態1による動画像復号装置の処理内容を示すフローチャートである。
最初に、動画像符号化装置の処理内容を説明する。
Next, the operation will be described.
FIG. 4 is a flowchart showing the processing contents of the moving picture coding apparatus according to the first embodiment of the present invention, and FIG. 5 is a flowchart showing the processing contents of the moving picture decoding apparatus according to the first embodiment of the present invention.
First, the processing content of the moving picture coding apparatus will be described.

画像分割部1は、動画像の動画像信号をフレーム単位又はフィールド単位に入力すると、その動画像を構成する各フレームを所定サイズのマクロブロックに分割して、そのマクロブロックの画像であるマクロブロック画像を出力する(ステップST1)。
減算部2は、画像分割部1からマクロブロック画像を受けると、そのマクロブロック画像と、後述する予測画像切替スイッチ9から出力される予測画像との差分を求め、その差分を示す予測誤差信号を出力する(ステップST2)。
When the moving image signal of the moving image is input in frame units or field units, the image dividing unit 1 divides each frame constituting the moving image into macro blocks of a predetermined size, and the macro block which is an image of the macro block An image is output (step ST1).
When the subtracting unit 2 receives the macroblock image from the image dividing unit 1, the subtracting unit 2 obtains a difference between the macroblock image and a predicted image output from the predicted image switching switch 9 described later, and generates a prediction error signal indicating the difference. Output (step ST2).

量子化変換部3は、減算部2から予測誤差信号を受けると、その予測誤差信号に対する変換処理及び量子化処理を実施して、その予測誤差信号の量子化変換係数を出力する(ステップST3)。
なお、変換処理としては、上述したように、例えば、DCTやFFTなどの直交周波数変換や、ウェーブレット変換などの直交変換などの処理が該当する。
また、量子化処理としては、上述したように、例えば、スカラ量子化やベクトル量子化などの処理が該当する。
Upon receiving the prediction error signal from the subtraction unit 2, the quantization conversion unit 3 performs conversion processing and quantization processing on the prediction error signal, and outputs a quantization conversion coefficient of the prediction error signal (step ST3). .
Note that, as described above, the transformation processing includes, for example, orthogonal frequency transformation such as DCT or FFT, or orthogonal transformation such as wavelet transformation.
Further, as described above, for example, the quantization process corresponds to a process such as scalar quantization or vector quantization.

逆量子化変換部4は、量子化変換部3から量子化変換係数を受けると、その量子化変換係数を逆量子化及び逆変換して復号予測誤差信号を求め、その復号予測誤差信号を出力する(ステップST4)。   Upon receiving the quantized transform coefficient from the quantized transform unit 3, the inverse quantization transform unit 4 performs inverse quantization and inverse transform on the quantized transform coefficient to obtain a decoded prediction error signal, and outputs the decoded prediction error signal (Step ST4).

輝度変化動き補償予測部7は、画像分割部1からマクロブロック画像を受けると、フレームメモリ6に格納されている局部復号画像をフレーム間予測参照画像として読み出し、そのフレーム間予測参照画像とマクロブロック画像を用いて、フレーム間予測を実施することで、フレーム間予測画像を生成する。
以下、輝度変化動き補償予測部7の処理内容を具体的に説明する。
When the luminance change motion compensation prediction unit 7 receives the macroblock image from the image dividing unit 1, the luminance change motion compensation prediction unit 7 reads out the local decoded image stored in the frame memory 6 as an interframe prediction reference image, and the interframe prediction reference image and the macroblock. An inter-frame prediction image is generated by performing inter-frame prediction using an image.
Hereinafter, the processing content of the luminance change motion compensation prediction unit 7 will be specifically described.

まず、輝度変化動き補償予測部7の適応的予測画像生成部21は、フレームメモリ6に格納されている局部復号画像のうち動き探索情報に含まれている参照フレーム番号が特定する参照画像をフレーム間予測参照画像(整数画素単位の画像)として読み出し、そのフレーム間予測参照画像を補間することで(例えば、内挿によって補間する)、小数精度単位の拡大参照画像を生成する。
ここで、図6は4分の1画素精度の拡大参照画像の生成例を示す説明図である。
First, the adaptive prediction image generation unit 21 of the luminance change motion compensation prediction unit 7 frames a reference image specified by the reference frame number included in the motion search information among the locally decoded images stored in the frame memory 6. By reading out as an inter prediction reference image (an image in units of integer pixels) and interpolating the inter frame prediction reference image (for example, interpolation by interpolation), an enlarged reference image in decimal precision units is generated.
Here, FIG. 6 is an explanatory diagram illustrating an example of generation of an enlarged reference image with a quarter-pixel accuracy.

次に、適応的予測画像生成部21は、動き探索情報に含まれている動きベクトル(動き探索で参照するベクトル)が指し示す位置を起点に輝度変化動き検出部22から出力される動き探索情報に含まれているブロック分割情報(マクロブロックをさらに細かく分割して得られるブロックの形状情報)にしたがって、指定されたサイズのブロックを整数精度単位でサブサンプリングを行うことによって参照ブロックとして得る。
図6では、水平および垂直方向にそれぞれ4倍に拡大した参照画像の例を示している。
図6において、黒丸の画素は、動き探索情報に含まれている動きベクトル(動き探索で参照するベクトル)の整数成分が指し示す位置(整数画素位置)にある画素である。
縦縞模様の円形で示す画素は、整数画素位置にある画素に対して、特定の位相(右下方向に4分の1画素の位相)を有する画素であって、所定のオフセット値が加算される対象の画素(以下、「輝度変化加算画素」と称する)である。
また、横縞模様の円形で示す画素は、整数画素位置にある画素に対して、特定の位相(右下方向に4分の3画素の位相)を有する画素であって、所定のオフセット値が減算される対象の画素(以下、「輝度変化減算画素」と称する)である。
Next, the adaptive predicted image generation unit 21 uses the position indicated by the motion vector (vector referred to in the motion search) included in the motion search information as the motion search information output from the luminance change motion detection unit 22. A block having a specified size is obtained as a reference block by performing sub-sampling in units of integer precision in accordance with the block division information contained therein (block shape information obtained by further dividing a macroblock).
FIG. 6 shows an example of a reference image enlarged four times in the horizontal and vertical directions.
In FIG. 6, a black circle pixel is a pixel at a position (integer pixel position) indicated by an integer component of a motion vector (vector referred to in motion search) included in the motion search information.
A pixel indicated by a vertical striped circle is a pixel having a specific phase (a phase of a quarter pixel in the lower right direction) with respect to a pixel at an integer pixel position, and a predetermined offset value is added thereto. This is a target pixel (hereinafter referred to as “brightness change addition pixel”).
In addition, the pixels indicated by the horizontal striped circles are pixels having a specific phase (phase of three quarters of pixels in the lower right direction) with respect to the pixels at the integer pixel positions, and a predetermined offset value is subtracted. The target pixel (hereinafter referred to as “luminance change subtraction pixel”).

すなわち、上記参照ブロックは図6における整数画素位置にある画素に対し、動きベクトルの少数成分で示される位相だけずれた画素を整数画素単位にサブサンプリングすることによって得られる。例えば動きベクトルの水平成分が1.25であり、垂直成分が3.25である場合、その少数成分はそれぞれ0.25となるため図6における縦縞模様の円形で示す画素をサブサンプリングして参照ブロックが構成される。   That is, the reference block is obtained by sub-sampling pixels in the integer pixel unit with respect to the pixel at the integer pixel position in FIG. For example, when the horizontal component of the motion vector is 1.25 and the vertical component is 3.25, the minority components are each 0.25, so the pixels indicated by the vertical stripe pattern in FIG. A block is constructed.

次に適応的予測画像生成部21は、その参照ブロックの平坦度を算出する。平坦度の算出方法は公知の技術であるため説明を省略する。
画像のテクスチャが平坦な場合には、動き探索において、近傍画素位置における輝度値があまり変化しないため、一部の位相の画素に輝度変化を加えることで、動き探索における予測画像の選択肢が広がる。これにより、動き予測が当たる確率が高まり、符号化効率が改善されることが想定される。
Next, the adaptive prediction image generation unit 21 calculates the flatness of the reference block. Since the flatness calculation method is a known technique, a description thereof will be omitted.
When the texture of the image is flat, the luminance value at the neighboring pixel position does not change much in the motion search. Therefore, the choice of the predicted image in the motion search is expanded by adding a luminance change to the pixels of some phases. As a result, it is assumed that the probability that the motion prediction is hit increases and the coding efficiency is improved.

そこで、適応的予測画像生成部21は、その参照ブロックの平坦度が予め設定されている閾値より大きく、かつ、参照ブロックが輝度変化加算画素をサブサンプリングして得られる画素である場合には参照ブロックの各画素値に所定のオフセット値を加算する。また、参照ブロックの平坦度が予め設定されている閾値より大きく、かつ、参照ブロックが各輝度変化減算画素をサブサンプリングして得られる画素である場合には参照ブロックの各画素値から所定のオフセット値を減算する。
逆に、そのブロックの平坦度が予め設定されている閾値より大きくなければ、参照ブロックの各画素値に対するオフセット値の加減算は行わない。
適応的予測画像生成部21は、オフセット値の加減算処理を完了すると、当該ブロックの画像を適応的予測画像として輝度変化動き検出部22に出力する(ステップST5)。
Therefore, the adaptive prediction image generation unit 21 refers to the reference block when the flatness of the reference block is larger than a preset threshold value and the reference block is a pixel obtained by sub-sampling the luminance change addition pixel. A predetermined offset value is added to each pixel value of the block. Further, when the flatness of the reference block is larger than a preset threshold and the reference block is a pixel obtained by subsampling each luminance change subtraction pixel, a predetermined offset from each pixel value of the reference block Subtract the value.
Conversely, if the flatness of the block is not greater than a preset threshold value, the offset value is not added to or subtracted from each pixel value of the reference block.
When the adaptive prediction image generation unit 21 completes the offset value addition / subtraction processing, the adaptive prediction image generation unit 21 outputs the image of the block to the luminance change motion detection unit 22 as an adaptive prediction image (step ST5).

輝度変化動き検出部22は、探索範囲において、動き探索情報を適宜変更しながら、その動き探索情報を適応的予測画像生成部21に出力し、適応的予測画像生成部21から当該動き探索情報に対応する適応的予測画像を受けると、その適応的予測画像と画像分割部1から出力されたマクロブロック画像の誤差を評価する(ステップST6)。
輝度変化動き検出部22は、探索範囲において、その評価が最適になる際の動き探索情報をフレーム間予測情報としてエントロピー符号化部11に出力するとともに、その評価が最適になる際の適応的予測画像をフレーム間予測画像として予測画像切替スイッチ9に出力する(ステップST7)。
The luminance change motion detection unit 22 outputs the motion search information to the adaptive prediction image generation unit 21 while appropriately changing the motion search information in the search range, and the adaptive prediction image generation unit 21 converts the motion search information into the motion search information. When a corresponding adaptive prediction image is received, an error between the adaptive prediction image and the macroblock image output from the image dividing unit 1 is evaluated (step ST6).
The luminance change motion detection unit 22 outputs motion search information when the evaluation is optimal in the search range to the entropy encoding unit 11 as inter-frame prediction information and adaptive prediction when the evaluation is optimal. The image is output to the predicted image changeover switch 9 as an inter-frame predicted image (step ST7).

イントラ予測部8は、画像分割部1からマクロブロック画像を受けると、輝度変化動き補償予測部7の処理と並行して、イントラ予測探索であるフレーム内予測を実施して、フレーム内予測画像を生成する(ステップST8)。
即ち、イントラ予測部8は、フレームメモリ6に格納されている局部復号画像をフレーム内予測参照画像として読み出し、そのフレーム内予測参照画像を用いて、画像分割部1から出力されたマクロブロック画像との差分の評価値が最小となる場合の予測モードをフレーム内予測情報としてエントロピー符号化部11に出力するとともに、そのフレーム内予測情報によって特定されるイントラ予測方法によって生成される予測画像をフレーム内予測画像として予測画像切替スイッチ9に出力する。
When receiving the macroblock image from the image dividing unit 1, the intra prediction unit 8 performs intra-frame prediction, which is intra prediction search, in parallel with the process of the luminance change motion compensation prediction unit 7, thereby obtaining an intra-frame prediction image. Generate (step ST8).
That is, the intra prediction unit 8 reads a locally decoded image stored in the frame memory 6 as an intra-frame prediction reference image, and uses the intra-frame prediction reference image to output the macroblock image output from the image division unit 1 and The prediction mode when the evaluation value of the difference between the two is minimized is output to the entropy encoding unit 11 as intra-frame prediction information, and a prediction image generated by the intra prediction method specified by the intra-frame prediction information is output within the frame. The predicted image is output to the predicted image switch 9 as a predicted image.

符号化制御部10は、例えば、輝度変化動き補償予測部7及びイントラ予測部8の予測結果などに基づいて、最適なマクロブロック予測モードや量子化パラメータを決定し(ステップST9)、選択対象の画像(フレーム内予測画像、または、フレーム間予測画像)を示すマクロブロック予測モード情報を予測画像切替スイッチ9に出力する。
また、符号化制御部10は、最適なマクロブロック予測モードや量子化パラメータをマクロブロックモード情報としてエントロピー符号化部11に出力する。
最適なマクロブロック予測モードの判定方法は、いかなる方法でもよく、公知の技術を使用すれば足りるので、ここでは詳細な説明を省略する。
For example, the encoding control unit 10 determines an optimal macroblock prediction mode and a quantization parameter based on the prediction results of the luminance change motion compensation prediction unit 7 and the intra prediction unit 8 (step ST9), and selects the selection target. Macroblock prediction mode information indicating an image (an intra-frame prediction image or an inter-frame prediction image) is output to the prediction image switch 9.
Also, the encoding control unit 10 outputs an optimal macroblock prediction mode and quantization parameter to the entropy encoding unit 11 as macroblock mode information.
Any method may be used for determining the optimum macroblock prediction mode, and it is sufficient to use a known technique. Therefore, detailed description thereof is omitted here.

予測画像切替スイッチ9は、符号化制御部10からマクロブロック予測モード情報を受けると、そのマクロブロック予測モード情報にしたがって、輝度変化動き補償予測部7から出力されたフレーム間予測画像、または、イントラ予測部8から出力されたフレーム内予測画像のいずれか一方の画像を選択し、その選択した予測画像を減算部2及び加算部5に出力する。   When the prediction image changeover switch 9 receives the macroblock prediction mode information from the encoding control unit 10, the prediction image changeover switch 9 outputs the interframe prediction image output from the luminance change motion compensation prediction unit 7 or the intra according to the macroblock prediction mode information. One of the intra-frame prediction images output from the prediction unit 8 is selected, and the selected prediction image is output to the subtraction unit 2 and the addition unit 5.

加算部5は、逆量子化変換部4から復号予測誤差信号を受け、予測画像切替スイッチ9から予測画像を受けると、その復号予測誤差信号と予測画像を加算し、その加算の結果である局部復号画像をフレームメモリ6に格納する(ステップST10)。この際、加算の結果得られる局部復号画像の画素値が所定の範囲内に収まるようにクリッピング処理を実施するようにしてもよい。   When the addition unit 5 receives the decoded prediction error signal from the inverse quantization conversion unit 4 and receives the prediction image from the prediction image change-over switch 9, the addition unit 5 adds the decoded prediction error signal and the prediction image, and a local part that is the result of the addition The decoded image is stored in the frame memory 6 (step ST10). At this time, the clipping process may be performed so that the pixel value of the locally decoded image obtained as a result of the addition falls within a predetermined range.

エントロピー符号化部11は、量子化変換部3から出力された量子化変換係数と、輝度変化動き補償予測部7から出力されたフレーム間予測情報と、イントラ予測部8から出力されたフレーム内予測情報と、符号化制御部10から出力されたマクロブロックモード情報とを所定のエントロピー符号化方法によって圧縮処理を実施することで、符号化データを出力する(ステップST11)。
以上のステップST1〜ST11の処理が、フレーム内の全てのマクロブロックに対して行われるまで繰り返され、1フレーム分の処理が完了する。
The entropy encoding unit 11 includes the quantization transform coefficient output from the quantization transform unit 3, the interframe prediction information output from the luminance change motion compensation prediction unit 7, and the intraframe prediction output from the intra prediction unit 8. The encoded data is output by compressing the information and the macroblock mode information output from the encoding control unit 10 using a predetermined entropy encoding method (step ST11).
The processes in steps ST1 to ST11 described above are repeated until all the macroblocks in the frame are performed, and the process for one frame is completed.

次に、動画像復号装置の処理内容を説明する。
エントロピー復号部31は、図1の動画像符号化装置から出力された符号化データを入力すると、その符号化データをエントロピー復号して、量子化変換係数を逆量子化変換部32に出力し、フレーム間予測情報を輝度変化動き補償部35に出力し、フレーム内予測情報をイントラ予測画像生成部36に出力し、マクロブロックモード情報を予測画像選択スイッチ37に出力する(ステップST21)。
逆量子化変換部32は、エントロピー復号部31から量子化変換係数を受けると、図1の動画像符号化装置における逆量子化変換部4と同様に、その量子化変換係数を逆量子化して復号予測誤差信号を加算部33に出力する(ステップST22)。
なお、逆量子化処理を実施する際の逆量子化の単位となる量子化パラメータは、フレーム間予測情報に含まれているので、そのフレーム間予測情報から取得する。
Next, processing contents of the video decoding device will be described.
When the encoded data output from the moving image encoding apparatus in FIG. 1 is input, the entropy decoding unit 31 entropy decodes the encoded data and outputs the quantized transform coefficient to the inverse quantization transform unit 32. The inter-frame prediction information is output to the luminance change motion compensation unit 35, the intra-frame prediction information is output to the intra prediction image generation unit 36, and the macroblock mode information is output to the prediction image selection switch 37 (step ST21).
When receiving the quantization transform coefficient from the entropy decoding unit 31, the inverse quantization transform unit 32 performs inverse quantization on the quantized transform coefficient in the same manner as the inverse quantization transform unit 4 in the moving image coding apparatus in FIG. The decoded prediction error signal is output to the adding unit 33 (step ST22).
In addition, since the quantization parameter used as the unit of the inverse quantization at the time of performing an inverse quantization process is contained in the inter-frame prediction information, it is acquired from the inter-frame prediction information.

イントラ予測画像生成部36は、エントロピー復号部31からフレーム内予測情報が出力された場合、フレーム内予測画像を生成する(ステップST23)。
即ち、イントラ予測画像生成部36は、エントロピー復号部31からフレーム内予測情報を受けると、フレームメモリ34に格納されている復号画像をフレーム内参照画像として読み出し、そのフレーム内予測情報にしたがってフレーム内参照画像を用いてフレーム内予測を実施することで、フレーム内予測画像を生成して予測画像選択スイッチ37に出力する。
When the intra-prediction information is output from the entropy decoding unit 31, the intra-predicted image generation unit 36 generates an intra-frame prediction image (step ST23).
That is, when receiving the intra-frame prediction information from the entropy decoding unit 31, the intra-predicted image generation unit 36 reads the decoded image stored in the frame memory 34 as an intra-frame reference image, and performs intra-frame prediction according to the intra-frame prediction information. By performing intra-frame prediction using the reference image, an intra-frame prediction image is generated and output to the predicted image selection switch 37.

輝度変化動き補償部35は、エントロピー復号部31からフレーム間予測情報が出力された場合、フレームメモリ34に格納されている復号画像をフレーム間参照画像として読み出し、そのフレーム間予測情報にしたがって、フレーム間参照画像を用いてフレーム間予測を実施することで、フレーム間予測画像を生成する(ステップST24)。
即ち、輝度変化動き補償部35は、エントロピー復号部31からフレーム間予測情報を受けると、図1の動画像符号化装置の輝度変化動き補償予測部7と同様に、フレーム間予測情報にしたがって適応的予測を行う。
以下、輝度変化動き補償部35の処理内容を具体的に説明する。
When the interframe prediction information is output from the entropy decoding unit 31, the luminance change motion compensation unit 35 reads the decoded image stored in the frame memory 34 as an interframe reference image, and in accordance with the interframe prediction information, An inter-frame prediction image is generated by performing inter-frame prediction using the inter-reference image (step ST24).
That is, when the luminance change motion compensation unit 35 receives the inter-frame prediction information from the entropy decoding unit 31, the luminance change motion compensation unit 35 adapts according to the inter-frame prediction information in the same manner as the luminance change motion compensation prediction unit 7 of the moving image encoding device in FIG. Predictive.
Hereinafter, the processing content of the luminance change motion compensation unit 35 will be specifically described.

まず、輝度変化動き補償部35は、動画像復号装置の適応的予測画像生成部21と同様に、フレームメモリ34に格納されている復号画像のうちフレーム間予測情報に含まれている参照フレーム番号が特定する参照画像をフレーム間参照画像(整数画素単位の画像)として読み出し、そのフレーム間参照画像を補間することで(例えば、内挿によって補間する)、小数精度単位の拡大参照画像を生成する。
次に、輝度変化動き補償部35は、エントロピー復号部31から出力されたフレーム間予測情報(=動き探索情報)に含まれているブロック分割情報にしたがって、指定されたサイズのブロックを整数精度単位でサブサンプリングを行うことによって参照ブロックとして得る(図6を参照)。
First, similarly to the adaptive prediction image generation unit 21 of the video decoding device, the luminance change motion compensation unit 35 includes the reference frame number included in the interframe prediction information among the decoded images stored in the frame memory 34. The reference image specified by is read as an inter-frame reference image (an image in units of integer pixels), and the inter-frame reference image is interpolated (for example, interpolated by interpolation) to generate an enlarged reference image in decimal precision units. .
Next, the luminance change motion compensation unit 35 converts the block of the specified size into an integer precision unit according to the block division information included in the interframe prediction information (= motion search information) output from the entropy decoding unit 31. To obtain a reference block by performing sub-sampling (see FIG. 6).

次に輝度変化動き補償部35は、その参照ブロックの平坦度を算出する。
輝度変化動き補償部35は、動画像復号装置の適応的予測画像生成部21と同様に、そのブロックの平坦度が予め設定されている閾値より大きく、かつ、参照ブロックが輝度変化加算画素をサブサンプリングして得られる画素である場合には参照ブロックの各画素値に所定のオフセット値を加算する。また、参照ブロックの平坦度が予め設定されている閾値より大きく、かつ、参照ブロックが輝度変化減算画素をサブサンプリングして得られる画素である場合には参照ブロックの各画素値から所定のオフセット値を減算する。
逆に、そのブロックの平坦度が予め設定されている閾値より大きくなければ、参照ブロックの各画素値に対するオフセット値の加減算は行わない。
輝度変化動き補償部35は、オフセット値の加減算処理を完了すると、当該ブロックの画像をフレーム間予測画像として予測画像選択スイッチ37に出力する。
Next, the luminance change motion compensation unit 35 calculates the flatness of the reference block.
Similar to the adaptive prediction image generation unit 21 of the video decoding device, the luminance change motion compensation unit 35 has a flatness of the block larger than a preset threshold value, and the reference block subtracts the luminance change addition pixel. When the pixel is obtained by sampling, a predetermined offset value is added to each pixel value of the reference block. Further, when the flatness of the reference block is larger than a preset threshold value and the reference block is a pixel obtained by sub-sampling the luminance change subtraction pixel, a predetermined offset value from each pixel value of the reference block Is subtracted.
Conversely, if the flatness of the block is not greater than a preset threshold value, the offset value is not added to or subtracted from each pixel value of the reference block.
After completing the offset value addition / subtraction process, the luminance change motion compensation unit 35 outputs the image of the block to the predicted image selection switch 37 as an inter-frame predicted image.

予測画像選択スイッチ37は、エントロピー復号部31から出力されたマクロブロックモード情報が、最適なマクロブロック予測モードがフレーム内予測モードである旨を示していれば、イントラ予測画像生成部36から出力されたフレーム内予測画像を選択し、そのマクロブロックモード情報が、最適なマクロブロック予測モードがフレーム間予測モードである旨を示していれば、輝度変化動き補償部35から出力されたフレーム間予測画像を選択し、その選択した画像を予測画像として加算部33に出力する。   If the macroblock mode information output from the entropy decoding unit 31 indicates that the optimal macroblock prediction mode is the intra-frame prediction mode, the predicted image selection switch 37 is output from the intra predicted image generation unit 36. If the intra-frame prediction image is selected and the macroblock mode information indicates that the optimum macroblock prediction mode is the interframe prediction mode, the interframe prediction image output from the luminance change motion compensation unit 35 is selected. Is selected, and the selected image is output to the adding unit 33 as a predicted image.

加算部33は、逆量子化変換部32から復号予測誤差信号を受け、予測画像選択スイッチ37から予測画像を受けると、その復号予測誤差信号と予測画像を加算して、その加算の結果である復号画像を外部に出力するとともに、その復号画像をフレームメモリ34に格納する(ステップST25)。   When the addition unit 33 receives the decoded prediction error signal from the inverse quantization conversion unit 32 and receives the prediction image from the prediction image selection switch 37, the addition unit 33 adds the decoded prediction error signal and the prediction image, and is the result of the addition. The decoded image is output to the outside, and the decoded image is stored in the frame memory 34 (step ST25).

以上で明らかなように、この実施の形態1によれば、輝度変化動き補償予測部7が、フレームメモリ6に格納されている局部復号画像であるフレーム間予測画像を補間することで、小数精度単位の拡大参照画像を生成して、その拡大参照画像に対して動き探索で参照する動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素の画素値に所定のオフセット値を加減算し、その参照ブロックの画像を適応的予測画像として出力する適応的予測画像生成部21と、適応的予測画像生成部21から出力された適応的予測画像と画像分割部1から出力されたマクロブロック画像の誤差を評価し、その評価が最適になる際の動きベクトルをフレーム間予測情報として出力するとともに、その評価が最適になる際の適応的予測画像を予測画像として出力する輝度変化動き検出部22とを設けるように構成したので、画像の明るさが変化すると同時に、被写体が動く自然画像を符号化する場合でも、画質の劣化を招くことなく、高効率の符号化を実現することができる効果を奏する。   As apparent from the above, according to the first embodiment, the luminance change motion compensation prediction unit 7 interpolates the inter-frame prediction image, which is a locally decoded image stored in the frame memory 6, so that the decimal precision is improved. For the pixel value in the reference block obtained by generating a unit expanded reference image and sub-sampling in integer precision units starting from the position indicated by the motion vector referenced by motion search for the expanded reference image, An adaptive prediction image generation unit 21 that adds / subtracts a predetermined offset value to / from a pixel value of a pixel having a specific phase with respect to an integer component of a motion vector, and outputs an image of the reference block as an adaptive prediction image; The error between the adaptive prediction image output from the generation unit 21 and the macroblock image output from the image division unit 1 is evaluated, and the motion vector when the evaluation is optimized is evaluated. And the brightness change motion detection unit 22 that outputs an adaptive prediction image when the evaluation is optimized as a prediction image, and the brightness of the image changes. At the same time, even when a natural image in which a subject moves is encoded, there is an effect that high-efficiency encoding can be realized without causing deterioration in image quality.

また、この実施の形態1によれば、輝度変化動き補償部35が、フレームメモリ34に格納されている復号画像であるフレーム間参照画像を補間することで、小数精度単位の拡大参照画像を生成して、その拡大参照画像に対して、エントロピー復号部31から出力されたフレーム間予測情報に含まれている動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる上記参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素に対して予め設定された所定のオフセット値を加減算し、その参照ブロックの画像を予測画像として出力するように構成したので、高効率で符号化されている動画像を復号することができる効果を奏する。   Further, according to the first embodiment, the luminance change motion compensation unit 35 generates an enlarged reference image in decimal precision units by interpolating an inter-frame reference image that is a decoded image stored in the frame memory 34. In the above reference block obtained by sub-sampling the enlarged reference image in integer precision units starting from the position indicated by the motion vector included in the inter-frame prediction information output from the entropy decoding unit 31 Since a predetermined offset value set in advance for a pixel having a specific phase with respect to the integer component of the motion vector is added to or subtracted from the pixel value, and the image of the reference block is output as a predicted image. There is an effect that a moving image encoded with high efficiency can be decoded.

なお、この実施の形態1では、小数精度画素のうち、整数画素位置に対して右下方向に4分の1画素の位相を有する画素を輝度変化加算画素、整数画素位置に対して右下方向に4分の3画素の位相を有する画素を輝度変化減算画素としている例を示したが、必ずしもこの位相を有する画素である必要はなく、整数画素位置と重なることも含め、所定の位相を有する画素を輝度変化加算画素及び輝度変化減算画素としてもよい。
また、1つの整数画素位置に対して、所定の位相を有する1つの画素を輝度変化加算画素として、他の1つの画素を輝度変化減算画素としている例を示したが、2つ以上の画素を輝度変化加算画素や輝度変化減算画素としてもよい。
In the first embodiment, among the decimal precision pixels, a pixel having a phase of a quarter pixel in the lower right direction with respect to the integer pixel position is set as the luminance change addition pixel, and the lower right direction with respect to the integer pixel position. In the above example, a pixel having a phase of 3/4 pixels is used as a luminance change subtraction pixel. However, the pixel does not necessarily have to have this phase, and has a predetermined phase including overlapping with an integer pixel position. The pixel may be a luminance change addition pixel and a luminance change subtraction pixel.
Also, an example has been shown in which one pixel having a predetermined phase is used as a luminance change addition pixel and one other pixel is used as a luminance change subtraction pixel for one integer pixel position. It may be a luminance change addition pixel or a luminance change subtraction pixel.

この実施の形態1では、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、予め設定された閾値を共有しているものとして説明したが、動画像符号化装置が当該閾値を動画像復号装置に送信するようにしてもよい。
この場合、例えば、動画像符号化装置が、シーケンスヘッダにおいて固定長符号あるいはゴロム符号などの可変長符号を割り当てることで、当該閾値を符号化して送信するように構成することができる(図7を参照)。もちろん、ピクチャヘッダ、スライスヘッダ、ユーザデータあるいは補助情報データなどを用いて送信してもよい。
動画像復号装置では、これらのヘッダ情報に含まれる閾値の符号化データを復号することによって、当該閾値を取得することができる。
なお、閾値については、画面全体の平坦度を算出し、平坦な部分が多い場合には平坦度に対する閾値を低く設定することによって、オフセット値が加減算される確率を高めて、予測効率を高めることができる。
この実施の形態1では、イントラ予測も含めて説明したが、イントラ予測の有無は本発明に直接関係しない。
In the first embodiment, the adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 have been described as sharing a preset threshold value. The converting apparatus may transmit the threshold value to the video decoding apparatus.
In this case, for example, the moving image encoding apparatus can be configured to encode and transmit the threshold value by assigning a variable length code such as a fixed length code or a Golomb code in the sequence header (see FIG. 7). reference). Of course, you may transmit using a picture header, a slice header, user data, or auxiliary information data.
In the moving picture decoding apparatus, the threshold value can be acquired by decoding the encoded data of the threshold value included in the header information.
As for the threshold value, the flatness of the entire screen is calculated, and when there are many flat parts, the threshold value for the flatness is set low, thereby increasing the probability that the offset value is added or subtracted, thereby increasing the prediction efficiency. Can do.
In this Embodiment 1, although demonstrated including intra prediction, the presence or absence of intra prediction is not directly related to this invention.

実施の形態2.
上記実施の形態1では、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、参照ブロックの平坦度を算出して、その平坦度が予め設定されている閾値より大きければ、特定の位相を有する画素の画素値にオフセット値を加減算し、その平坦度が予め設定されている閾値より大きくなければ、そのオフセット値の加減算を行わないものについて示したが、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、ブロック分割情報によって特定されるブロックのサイズが予め設定されている閾値より大きければ、特定の位相を有する画素の画素値にオフセット値を加減算し、そのブロックのサイズが予め設定されている閾値より大きくなければ、そのオフセット値の加減算を行わないようにしてもよく、上記実施の形態1と同様の効果を奏する。
Embodiment 2. FIG.
In the first embodiment, the adaptive predicted image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 calculate the flatness of the reference block, and the flatness is preset. If it is larger than the threshold value, the offset value is added to or subtracted from the pixel value of the pixel having a specific phase, and if the flatness is not larger than the preset threshold value, the offset value is not added or subtracted. If the adaptive predicted image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 have a specific phase if the size of the block specified by the block division information is larger than a preset threshold value. Add / subtract the offset value to / from the pixel value of the pixel, and if the block size is not larger than the preset threshold value, add / subtract the offset value. May also be not adversely, the same effects as in the first embodiment.

マクロブロックを分割するブロックサイズがマクロブロックと同じ大きさであれば、比較的画像が安定していると考えられるので、予測画像の選択肢を広めるためにオフセット値を加減算することによって予測効率を向上させることができると考えられる。
逆に、ブロックサイズが小さい場合には、動きやテクスチャが複雑であり、動きを正確に予測することによって予測効率を向上させることができると考えられる。
そこで、この実施の形態2では、輝度変化加算画素及び輝度変化減算画素について、予め設定された閾値よりも、ブロックサイズが大きい場合には、画素値に対するオフセット値の加減算を行い、逆に、ブロックサイズが予め設定された閾値より大きくない場合には、画素値に対するオフセット値の加減算を行わないように制御している。
If the block size to divide the macroblock is the same size as the macroblock, the image is considered to be relatively stable, so the prediction efficiency is improved by adding and subtracting the offset value to expand the options for the predicted image It is thought that it can be made.
Conversely, when the block size is small, the motion and texture are complex, and it is considered that the prediction efficiency can be improved by accurately predicting the motion.
Therefore, in the second embodiment, when the block size is larger than a preset threshold value for the luminance change addition pixel and the luminance change subtraction pixel, the offset value is added to or subtracted from the pixel value. When the size is not larger than a preset threshold value, control is performed so that the offset value is not added to or subtracted from the pixel value.

実施の形態3.
上記実施の形態1では、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、参照ブロックの平坦度を算出して、その平坦度が予め設定されている閾値より大きければ、特定の位相を有する画素の画素値にオフセット値を加減算し、その平坦度が予め設定されている閾値より大きくなければ、そのオフセット値の加減算を行わないものについて示したが、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、量子化変換部3により量子化処理が実施される際の量子化の単位となる量子化パラメータ(逆量子化変換部32により逆量子化処理が実施される際の逆量子化の単位となる量子化パラメータ)が予め設定されている閾値より大きければ、特定の位相を有する画素の画素値にオフセット値を加減算し、その量子化パラメータが予め設定されている閾値より大きくなければ、そのオフセット値の加減算を行わないようにしてもよく、上記実施の形態1と同様の効果を奏する。
Embodiment 3 FIG.
In the first embodiment, the adaptive predicted image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 calculate the flatness of the reference block, and the flatness is preset. If it is larger than the threshold value, the offset value is added to or subtracted from the pixel value of the pixel having a specific phase, and if the flatness is not larger than the preset threshold value, the offset value is not added or subtracted. The adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 perform the quantization parameter (inverse) when the quantization process is performed by the quantization conversion unit 3. If the quantization parameter, which is a unit of inverse quantization when the inverse quantization process is performed by the quantization conversion unit 32, is larger than a preset threshold value, the pixel having a specific phase If the offset value is added to or subtracted from the prime value and the quantization parameter is not greater than a preset threshold value, the offset value may not be added or subtracted, and the same effect as in the first embodiment is achieved. .

量子化パラメータが大きい場合には、動きを的確に捉えることができないので、予測画像の選択肢を広めるためにオフセット値を加減算することによって予測効率を向上させることができると考えられる。
逆に、量子化パラメータが小さい場合には、動きを的確に捉えることができるため、オフセット値の加減算を行わないようにすることによって予測効率を向上させることができると考えられる。
そこで、この実施の形態3では、輝度変化加算画素及び輝度変化減算画素について、予め設定された閾値よりも、量子化パラメータが大きい場合には、画素値に対するオフセット値の加減算を行い、逆に、量子化パラメータが予め設定された閾値より大きくない場合には、画素値に対するオフセット値の加減算を行わないように制御している。
When the quantization parameter is large, the motion cannot be accurately captured, and it is considered that the prediction efficiency can be improved by adding / subtracting the offset value in order to widen the options of the predicted image.
On the other hand, when the quantization parameter is small, the motion can be accurately grasped. Therefore, it is considered that the prediction efficiency can be improved by not performing the addition / subtraction of the offset value.
Therefore, in the third embodiment, when the quantization parameter is larger than a preset threshold value for the luminance change addition pixel and the luminance change subtraction pixel, addition and subtraction of the offset value with respect to the pixel value is performed. When the quantization parameter is not larger than a preset threshold value, control is performed so that the offset value is not added to or subtracted from the pixel value.

実施の形態4.
上記実施の形態1では、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、参照ブロックの平坦度を算出して、その平坦度が予め設定されている閾値より大きければ、特定の位相を有する画素の画素値にオフセット値を加減算し、その平坦度が予め設定されている閾値より大きくなければ、そのオフセット値の加減算を行わないものについて示したが、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、動きベクトルのベクトル長を算出し、そのベクトル長が予め設定されている閾値より大きければ、特定の位相を有する画素の画素値にオフセット値を加減算し、そのベクトル長が予め設定されている閾値より大きくなければ、そのオフセット値の加減算を行わないようにしてもよく、上記実施の形態1と同様の効果を奏する。
Embodiment 4 FIG.
In the first embodiment, the adaptive predicted image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 calculate the flatness of the reference block, and the flatness is preset. If it is larger than the threshold value, the offset value is added to or subtracted from the pixel value of the pixel having a specific phase, and if the flatness is not larger than the preset threshold value, the offset value is not added or subtracted. The adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 calculate the vector length of the motion vector, and if the vector length is larger than a preset threshold, a specific phase Addition / subtraction of the offset value to / from the pixel value of the pixel having, and if the vector length is not greater than a preset threshold value, the addition / subtraction of the offset value is not performed Unishi at best, the same effects as in the first embodiment.

動きベクトルが大きい場合には、素早い動きであり、対象物体がぼけてしまって動きを的確に捉えることができないので、予測画像の選択肢を広めるためにオフセット値を加減算することによって予測効率を向上させることができると考えられる。
逆に、動きベクトルが小さい場合には、動きが少なく、対象物体がくっきりしていて動きを的確に捉えやすいので、オフセット値の加減算を行わないようにすることによって予測効率を向上させることができると考えられる。
そこで、この実施の形態4では、輝度変化加算画素及び輝度変化減算画素について、予め設定された閾値よりも、動きベクトルが大きい場合には、画素値に対するオフセット値の加減算を行い、逆に、動きベクトルが大きくない場合には、画素値に対するオフセット値の加減算を行わないように制御している。
When the motion vector is large, it is a fast motion and the target object is blurred and the motion cannot be accurately captured, so the prediction efficiency is improved by adding and subtracting the offset value to widen the options of the predicted image It is considered possible.
On the other hand, when the motion vector is small, the motion is small and the target object is clear and it is easy to accurately capture the motion, so that the prediction efficiency can be improved by not adding or subtracting the offset value. it is conceivable that.
Therefore, in the fourth embodiment, when the motion vector is larger than the preset threshold value for the luminance change addition pixel and the luminance change subtraction pixel, addition / subtraction of the offset value is performed on the pixel value, and conversely, When the vector is not large, control is performed so as not to add / subtract the offset value with respect to the pixel value.

実施の形態5.
上記実施の形態1では、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35により使用される閾値が1つだけ設定されているものについて示したが、複数の閾値が設定されている場合、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、複数の閾値との比較結果に応じて、異なる大きさのオフセット値を加減算するようにしてもよい。
Embodiment 5 FIG.
In the first embodiment, the case where only one threshold value used by the adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 is set is shown. When the threshold is set, the adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 set different offset values according to the comparison result with the plurality of thresholds. You may make it add and subtract.

即ち、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35により使用される閾値を複数設け、平坦度(あるいは、ブロックサイズ、量子化パラメータ、動きベクトルのベクトル長)と複数の閾値を比較し、その比較結果に応じて、異なる大きさのオフセット値を加減算するようにしてもよい。
例えば、閾値Th1>Th2であるとき、平坦度PがP>Th1である場合には、輝度変化加算画素及び輝度変化減算画素に“2”を加減算し、Th1>P>Th2である場合には、輝度変化加算画素及び輝度変化減算画素に“1”を加減算し、Th2>Pである場合には、オフセット値の加減算を行わないように制御する。ブロックサイズ、量子化パラメータ、動きベクトルのベクトル長についても同様に制御する。
That is, a plurality of threshold values used by the adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 are provided, and the flatness (or block size, quantization parameter, vector length of the motion vector) is provided. ) And a plurality of threshold values, and offset values having different sizes may be added or subtracted depending on the comparison result.
For example, when the threshold value Th1> Th2 and the flatness P is P> Th1, “2” is added to or subtracted from the luminance change addition pixel and the luminance change subtraction pixel, and when Th1>P> Th2. Then, “1” is added to or subtracted from the luminance change addition pixel and the luminance change subtraction pixel, and when Th2> P, control is performed so as not to add or subtract the offset value. The block size, the quantization parameter, and the vector length of the motion vector are similarly controlled.

実施の形態6.
上記実施の形態1では、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35により使用される閾値が1つだけ設定されているものについて示したが、複数の閾値が設定されている場合、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35が、複数の閾値との比較結果に応じて、オフセット値を加減算する特定の位相を有する画素の数を変えるようにしてもよい。
Embodiment 6 FIG.
In the first embodiment, the case where only one threshold value used by the adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 is set is shown. When the threshold value is set, the adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 perform specific addition / subtraction of the offset value according to the comparison result with a plurality of threshold values. The number of pixels having a phase may be changed.

即ち、輝度変化動き補償予測部7の適応的予測画像生成部21及び輝度変化動き補償部35により使用される閾値を複数設け、平坦度(あるいは、ブロックサイズ、量子化パラメータ、動きベクトルのベクトル長)と複数の閾値を比較し、その比較結果に応じて、輝度変化加算画素及び輝度変化減算画素の数を変化させてもよい。
例えば、閾値Th1>Th2であるとき、平坦度PがP>Th1である場合には、輝度変化加算画素及び輝度変化減算画素をそれぞれ2つずつ、Th1>P>Th2である場合には、輝度変化加算画素及び輝度変化減算画素をそれぞれ1つずつ、Th2>Pである場合には、オフセット値の加減算を行わないように制御する。ブロックサイズ、量子化パラメータ、動きベクトルのベクトル長についても同様に制御する。
That is, a plurality of threshold values used by the adaptive prediction image generation unit 21 and the luminance change motion compensation unit 35 of the luminance change motion compensation prediction unit 7 are provided, and the flatness (or block size, quantization parameter, vector length of the motion vector) is provided. ) And a plurality of threshold values, and the number of luminance change addition pixels and luminance change subtraction pixels may be changed according to the comparison result.
For example, when the threshold Th1> Th2, when the flatness P is P> Th1, two luminance change addition pixels and two luminance change subtraction pixels are provided, and when Th1>P> Th2, the luminance is obtained. When Th2> P, one change addition pixel and one luminance change subtraction pixel are controlled so as not to add / subtract the offset value. The block size, the quantization parameter, and the vector length of the motion vector are similarly controlled.

この発明に係る動画像符号化装置、動画像復号装置等は、画像の明るさが変化すると同時に、被写体が動く自然画像を符号化する場合でも、画質の劣化を招くことなく、高効率の符号化及び複合化を実現できるため、動画像を高効率で符号化を行う動画像符号化装置及び高効率で符号化されている動画像を復号する動画像復号装置等に用いるのに適している。   The moving image encoding device, the moving image decoding device, and the like according to the present invention provide high-efficiency encoding without degrading image quality even when encoding a natural image in which a subject moves at the same time as the brightness of the image changes. Therefore, it is suitable for use in a moving image encoding device that encodes moving images with high efficiency and a moving image decoding device that decodes moving images encoded with high efficiency. .

Claims (16)

動画像を構成する各フレームを所定サイズのマクロブロックに分割して、上記マクロブロックの画像を出力する画像分割手段と、上記画像分割手段から出力された画像であるマクロブロック画像と予測画像の差分を求め、その差分を示す予測誤差信号に対する変換処理及び量子化処理を実施して、上記予測誤差信号の量子化変換係数を出力する量子化変換手段と、上記量子化変換手段から出力された量子化変換係数を逆量子化及び逆変換して復号予測誤差信号を求め、上記復号予測誤差信号と上記予測画像を加算して、その加算の結果である局部復号画像を出力する局部復号画像出力手段と、上記画像分割手段から出力されたマクロブロック画像と上記局部復号画像出力手段から出力された局部復号画像を用いて、フレーム間予測を実施することで、上記予測画像を生成するとともに、上記フレーム間予測の方法を特定するフレーム間予測情報を出力するフレーム間予測手段と、上記量子化変換手段から出力された量子化変換係数と上記フレーム間予測手段から出力されたフレーム間予測情報をエントロピー符号化し、その符号化の結果である符号化データを出力する符号化手段とを備えた動画像符号化装置において、上記フレーム間予測手段は、上記局部復号画像出力手段から出力された局部復号画像を補間することで、小数精度単位の拡大参照画像を生成し、上記拡大参照画像に対して動き探索で参照する動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素に対して予め設定された所定のオフセット値を加減算し、上記参照ブロックの画像を適応的予測画像として出力する適応的予測画像生成部と、上記適応的予測画像生成部から出力された適応的予測画像と上記画像分割手段から出力されたマクロブロック画像の誤差を評価し、上記評価が最適になる際の動きベクトルを上記フレーム間予測情報として出力するとともに、上記評価が最適になる際の適応的予測画像を上記予測画像として出力する輝度変化動き検出部とを設けたことを特徴とする動画像符号化装置。  An image dividing unit that divides each frame constituting a moving image into macroblocks of a predetermined size and outputs an image of the macroblock; a difference between a macroblock image that is an image output from the image dividing unit and a predicted image Quantization conversion means for performing a conversion process and a quantization process on the prediction error signal indicating the difference and outputting a quantization conversion coefficient of the prediction error signal, and a quantum output from the quantization conversion means Decoding prediction error signal is obtained by inverse quantization and inverse transformation of the generalized transform coefficient, the decoded prediction error signal and the prediction image are added, and a local decoded image output means for outputting a local decoded image as a result of the addition And inter-frame prediction using the macroblock image output from the image dividing unit and the local decoded image output from the local decoded image output unit The inter-frame prediction means for generating the predicted image and outputting inter-frame prediction information for specifying the inter-frame prediction method, the quantized transform coefficient output from the quantizing transform means, and the inter-frame In the moving picture coding apparatus comprising: encoding means for entropy encoding the interframe prediction information output from the prediction means and outputting encoded data that is a result of the encoding, the interframe prediction means includes: By interpolating the local decoded image output from the local decoded image output means, an enlarged reference image in decimal precision unit is generated, and an integer starting from the position indicated by the motion vector referred to by the motion search with respect to the enlarged reference image It has a specific phase for the integer component of the motion vector for the pixel value in the reference block obtained by sub-sampling with accuracy unit An adaptive prediction image generation unit that adds and subtracts a predetermined offset value set in advance to pixels and outputs the image of the reference block as an adaptive prediction image, and an adaptive output output from the adaptive prediction image generation unit An error between the predicted image and the macroblock image output from the image dividing unit is evaluated, and a motion vector when the evaluation is optimized is output as the inter-frame prediction information, and adaptation when the evaluation is optimized A moving image encoding apparatus comprising: a luminance change motion detecting unit that outputs a target predicted image as the predicted image. 適応的予測画像生成部は、上記参照ブロックの平坦度を算出して、上記平坦度が予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記平坦度が予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項1記載の動画像符号化装置。  The adaptive prediction image generation unit calculates the flatness of the reference block, and if the flatness is larger than a preset threshold value, the adaptive prediction image generation unit offsets the pixel value of the pixel having a specific phase with respect to the integer component of the motion vector. 2. The moving picture coding apparatus according to claim 1, wherein the offset value is not added or subtracted unless the flatness is larger than a preset threshold value. 適応的予測画像生成部は、上記参照ブロックのサイズが予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記ブロックのサイズが予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項1記載の動画像符号化装置。  If the size of the reference block is larger than a preset threshold, the adaptive prediction image generation unit adds or subtracts an offset value to or from a pixel value of a pixel having a specific phase with respect to the integer component of the motion vector, and the size of the block 2. The moving picture encoding apparatus according to claim 1, wherein the offset value is not added or subtracted if is not greater than a preset threshold value. 適応的予測画像生成部は、量子化変換手段により量子化処理が実施される際の量子化の単位となる量子化パラメータが予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記量子化パラメータが予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項1記載の動画像符号化装置。  The adaptive prediction image generation unit, if a quantization parameter that is a unit of quantization when the quantization process is performed by the quantization conversion unit is greater than a preset threshold value, 2. The moving image according to claim 1, wherein an offset value is added to or subtracted from a pixel value of a pixel having a phase, and the offset value is not added or subtracted unless the quantization parameter is larger than a preset threshold value. Encoding device. 適応的予測画像生成部は、動きベクトルのベクトル長を算出し、上記ベクトル長が予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記ベクトル長が予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項1記載の動画像符号化装置。  The adaptive prediction image generation unit calculates a vector length of the motion vector, and if the vector length is larger than a preset threshold, an offset value is added to the pixel value of the pixel having a specific phase with respect to the integer component of the motion vector. 2. The moving picture encoding apparatus according to claim 1, wherein addition / subtraction is not performed if the addition / subtraction is performed and the vector length is not greater than a preset threshold value. 適応的予測画像生成部は、複数の閾値が設定されている場合、複数の閾値との比較結果に応じて、異なる大きさのオフセット値を加減算することを特徴とする請求項2記載の動画像符号化装置。  3. The moving image according to claim 2, wherein, when a plurality of threshold values are set, the adaptive prediction image generation unit adds or subtracts offset values having different sizes in accordance with a comparison result with the plurality of threshold values. Encoding device. 適応的予測画像生成部は、複数の閾値が設定されている場合、複数の閾値との比較結果に応じて、オフセット値を加減算する動きベクトルの整数成分に対する特定の位相を有する画素の数を変えることを特徴とする請求項2記載の動画像符号化装置。  When a plurality of threshold values are set, the adaptive prediction image generation unit changes the number of pixels having a specific phase with respect to the integer component of the motion vector to which the offset value is added or subtracted according to the comparison result with the plurality of threshold values. The moving picture coding apparatus according to claim 2, wherein: 符号化データをエントロピー復号して、量子化変換係数とフレーム間予測情報を出力する復号手段と、上記復号手段から出力された量子化変換係数を逆量子化及び逆変換して復号予測誤差信号を求め、上記復号予測誤差信号と予測画像を加算して、その加算の結果である復号画像を出力する復号画像出力手段と、上記復号手段から出力されたフレーム間予測情報にしたがって上記復号画像出力手段から出力された復号画像を用いてフレーム間予測を実施することで、上記予測画像を生成する予測画像生成手段とを備えた動画像復号装置において、上記予測画像生成手段は、上記復号画像出力手段から出力された復号画像を補間することで、小数精度単位の拡大参照画像を生成して、上記拡大参照画像に対して、上記フレーム間予測情報である動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる上記参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素に対して予め設定された所定のオフセット値を加減算し、上記参照ブロックの画像を上記予測画像として出力することを特徴とする動画像復号装置。  Decoding means for entropy decoding the encoded data and outputting quantized transform coefficients and inter-frame prediction information; and dequantizing and inverse transforming the quantized transform coefficients output from the decoding means to generate a decoded prediction error signal A decoded image output means for adding the decoded prediction error signal and the predicted image and outputting a decoded image as a result of the addition; and the decoded image output means according to the interframe prediction information output from the decoding means. In the moving picture decoding apparatus including the predicted image generation unit that generates the predicted image by performing inter-frame prediction using the decoded image output from the decoded image, the predicted image generation unit includes the decoded image output unit By interpolating the decoded image output from, an enlarged reference image in decimal precision unit is generated, and the inter-frame prediction information for the enlarged reference image For a pixel value in the reference block obtained by subsampling in integer precision units starting from the position indicated by the vector, a predetermined value set in advance for a pixel having a specific phase with respect to the integer component of the motion vector A moving picture decoding apparatus characterized by adding and subtracting an offset value and outputting an image of the reference block as the predicted image. 予測画像生成手段は、上記参照ブロックの平坦度を算出して、上記平坦度が予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記平坦度が予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項8記載の動画像復号装置。  The predicted image generation means calculates the flatness of the reference block, and if the flatness is larger than a preset threshold value, the predicted image generation means sets an offset value to the pixel value of the pixel having a specific phase with respect to the integer component of the motion vector. 9. The moving picture decoding apparatus according to claim 8, wherein addition / subtraction is performed, and addition / subtraction of the offset value is not performed unless the flatness is larger than a preset threshold value. 予測画像生成手段は、上記参照ブロックのサイズが予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記ブロックのサイズが予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項8記載の動画像復号装置。  If the size of the reference block is larger than a preset threshold, the predicted image generation means adds or subtracts an offset value to or from a pixel value of a pixel having a specific phase with respect to the integer component of the motion vector, and the size of the block is determined in advance. 9. The moving picture decoding apparatus according to claim 8, wherein addition / subtraction of the offset value is not performed unless the threshold value is larger than a set threshold value. 予測画像生成手段は、復号画像出力手段により逆量子化処理が実施される際の逆量子化の単位となる量子化パラメータが予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記量子化パラメータが予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項8記載の動画像復号装置。  The predicted image generation unit is configured to specify a specific value for an integer component of a motion vector if a quantization parameter that is a unit of dequantization when the inverse quantization process is performed by the decoded image output unit is greater than a preset threshold value. 9. The moving image according to claim 8, wherein an offset value is added to or subtracted from a pixel value of a pixel having a phase, and the offset value is not added or subtracted unless the quantization parameter is larger than a preset threshold value. Decoding device. 予測画像生成手段は、動きベクトルのベクトル長を算出し、上記ベクトル長が予め設定されている閾値より大きければ、動きベクトルの整数成分に対する特定の位相を有する画素の画素値にオフセット値を加減算し、上記ベクトル長が予め設定されている閾値より大きくなければ、上記オフセット値の加減算を行わないことを特徴とする請求項8記載の動画像復号装置。  The predicted image generation means calculates the vector length of the motion vector, and if the vector length is greater than a preset threshold value, adds or subtracts an offset value to the pixel value of a pixel having a specific phase with respect to the integer component of the motion vector. 9. The moving picture decoding apparatus according to claim 8, wherein the offset value is not added or subtracted unless the vector length is greater than a preset threshold value. 予測画像生成手段は、複数の閾値が設定されている場合、複数の閾値との比較結果に応じて、異なる大きさのオフセット値を加減算することを特徴とする請求項9記載の動画像復号装置。  10. The moving picture decoding apparatus according to claim 9, wherein, when a plurality of threshold values are set, the predicted image generation unit adds or subtracts offset values having different sizes in accordance with a comparison result with the plurality of threshold values. . 予測画像生成手段は、複数の閾値が設定されている場合、複数の閾値との比較結果に応じて、オフセット値を加減算する動きベクトルの整数成分に対する特定の位相を有する画素の数を変えることを特徴とする請求項9記載の動画像復号装置。  When a plurality of threshold values are set, the predicted image generation means changes the number of pixels having a specific phase with respect to the integer component of the motion vector to which the offset value is added or subtracted according to the comparison result with the plurality of threshold values. The moving picture decoding apparatus according to claim 9, wherein: 画像分割手段が動画像を構成する各フレームを所定サイズのマクロブロックに分割して、上記マクロブロックの画像を出力する画像分割ステップと、量子化変換手段が上記画像分割ステップで出力された画像であるマクロブロック画像と予測画像の差分を求め、その差分を示す予測誤差信号に対する変換処理及び量子化処理を実施して、上記予測誤差信号の量子化変換係数を出力する量子化変換ステップと、局部復号画像出力手段が上記量子化変換ステップで出力された量子化変換係数を逆量子化及び逆変換して復号予測誤差信号を求め、上記復号予測誤差信号と上記予測画像を加算して、その加算の結果である局部復号画像を出力する局部復号画像出力ステップと、フレーム間予測手段が上記画像分割ステップで出力されたマクロブロック画像と上記局部復号画像出力ステップで出力された局部復号画像を用いて、フレーム間予測を実施することで、上記予測画像を生成するとともに、上記フレーム間予測の方法を特定するフレーム間予測情報を出力するフレーム間予測ステップと、符号化手段が上記量子化変換ステップで出力された量子化変換係数と上記フレーム間予測ステップで出力されたフレーム間予測情報をエントロピー符号化し、その符号化の結果である符号化データを出力する符号化ステップとを備えた動画像符号化方法において、上記フレーム間予測手段は、上記局部復号画像出力ステップで出力された局部復号画像を補間することで、小数精度単位の拡大参照画像を生成し、上記拡大参照画像に対して動き探索で参照する動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素に予め設定された所定のオフセット値を加減算し、上記参照ブロックの画像を適応的予測画像として出力する適応的予測画像生成ステップと、上記適応的予測画像生成ステップで出力された適応的予測画像と上記画像分割ステップで出力されたマクロブロック画像の誤差を評価し、上記評価が最適になる際の動きベクトルを上記フレーム間予測情報として出力するとともに、上記評価が最適になる際の適応的予測画像を上記予測画像として出力する輝度変化動き検出ステップとを実施することを特徴とする動画像符号化方法。  The image dividing means divides each frame constituting the moving image into macroblocks of a predetermined size, and outputs an image of the macroblock. The quantization transforming means is an image output in the image dividing step. A quantization transform step for obtaining a difference between a certain macroblock image and a predicted image, performing a transform process and a quantization process on a prediction error signal indicating the difference, and outputting a quantized transform coefficient of the prediction error signal; The decoded image output means dequantizes and inversely transforms the quantized transform coefficient output in the quantization transform step to obtain a decoded prediction error signal, adds the decoded prediction error signal and the predicted image, and adds A local decoded image output step for outputting a local decoded image as a result of the above, and a macroblock output by the inter-frame prediction means in the image division step Inter-frame prediction is performed by performing inter-frame prediction using the local decoded image output in the local decoded image output step and inter-frame prediction information for specifying the inter-frame prediction method. The output interframe prediction step, the encoding means entropy encodes the quantized transform coefficient output in the quantization transform step and the interframe prediction information output in the interframe prediction step, An encoding step for outputting certain encoded data, wherein the inter-frame prediction means interpolates the local decoded image output in the local decoded image output step, thereby obtaining a decimal precision unit. The enlarged reference image is generated, and the position indicated by the motion vector referred to by the motion search for the enlarged reference image is adjusted as the starting point. The pixel value in the reference block obtained by sub-sampling in accuracy units is added or subtracted with a predetermined offset value set in advance to the pixel having a specific phase with respect to the integer component of the motion vector, and the image of the reference block is An adaptive prediction image generation step that outputs as an adaptive prediction image; an error between the adaptive prediction image output in the adaptive prediction image generation step and the macroblock image output in the image division step; And a luminance change motion detection step of outputting an adaptive prediction image when the evaluation is optimized as the prediction image and outputting a motion vector when the evaluation is optimal as the inter-frame prediction information. A video encoding method. 復号手段が符号化データをエントロピー復号して、量子化変換係数とフレーム間予測情報を出力する復号ステップと、復号画像出力手段が上記復号ステップで出力された量子化変換係数を逆量子化及び逆変換して復号予測誤差信号を求め、上記復号予測誤差信号と予測画像を加算して、その加算の結果である復号画像を出力する復号画像出力ステップと、予測画像生成手段が上記復号ステップで出力されたフレーム間予測情報にしたがって上記復号画像出力ステップで出力された復号画像を用いてフレーム間予測を実施することで、上記予測画像を生成する予測画像生成ステップとを備えた動画像復号方法において、上記予測画像生成手段は、上記復号画像出力ステップで出力された復号画像を補間することで、小数精度単位の拡大参照画像を生成して、上記拡大参照画像に対して、上記フレーム間予測情報である動きベクトルが指し示す位置を起点に整数精度単位でサブサンプリングして得られる上記参照ブロック中の画素値に対して、動きベクトルの整数成分に対する特定の位相を有する画素の画素値に対して予め設定された所定のオフセット値を加減算し、上記参照ブロックの画像を上記予測画像として出力することを特徴とする動画像復号方法。  A decoding step in which the decoding means entropy-decodes the encoded data and outputs quantized transform coefficients and inter-frame prediction information; and a decoded image output means dequantizes and reverses the quantized transform coefficients output in the decoding step. A decoded prediction error signal is converted to obtain a decoded prediction error signal, the decoded prediction error signal and the prediction image are added, and a decoded image output step for outputting a decoded image as a result of the addition; In a video decoding method comprising: a predicted image generation step of generating the predicted image by performing inter-frame prediction using the decoded image output in the decoded image output step according to the inter-frame prediction information performed The predicted image generation means interpolates the decoded image output in the decoded image output step, thereby expanding the reference image in decimal precision units. A motion vector is generated with respect to the pixel value in the reference block obtained by sub-sampling in an integer precision unit from the position indicated by the motion vector as the inter-frame prediction information with respect to the enlarged reference image. A moving picture decoding method comprising: adding and subtracting a predetermined offset value set in advance to a pixel value of a pixel having a specific phase with respect to an integer component of the integer component, and outputting an image of the reference block as the predicted image.
JP2011508238A 2009-04-06 2010-04-05 Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method Expired - Fee Related JP5000012B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011508238A JP5000012B2 (en) 2009-04-06 2010-04-05 Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2009092096 2009-04-06
JP2009092096 2009-04-06
PCT/JP2010/002479 WO2010116708A1 (en) 2009-04-06 2010-04-05 Moving image encoding device, moving image decoding device, moving image encoding method, and moving image decoding method
JP2011508238A JP5000012B2 (en) 2009-04-06 2010-04-05 Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method

Publications (2)

Publication Number Publication Date
JP5000012B2 true JP5000012B2 (en) 2012-08-15
JPWO2010116708A1 JPWO2010116708A1 (en) 2012-10-18

Family

ID=42936004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011508238A Expired - Fee Related JP5000012B2 (en) 2009-04-06 2010-04-05 Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method

Country Status (2)

Country Link
JP (1) JP5000012B2 (en)
WO (1) WO2010116708A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561268A (en) * 2010-12-29 2014-02-05 中国移动通信集团公司 Method and device for encoding video monitoring image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003047270A1 (en) * 2001-11-30 2003-06-05 Ntt Docomo, Inc. Moving picture coding apparatus, moving picture decoding apparatus, moving picture coding method, moving picture decoding method, program, and computer-readable recording medium containing the program
JP2004007377A (en) * 2002-04-18 2004-01-08 Toshiba Corp Motion picture coding / decoding method and apparatus
JP2004297566A (en) * 2003-03-27 2004-10-21 Ntt Docomo Inc Moving image encoder, method and program for moving image encoding moving image decoder, and method and program for moving image decoding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003047270A1 (en) * 2001-11-30 2003-06-05 Ntt Docomo, Inc. Moving picture coding apparatus, moving picture decoding apparatus, moving picture coding method, moving picture decoding method, program, and computer-readable recording medium containing the program
JP2004007377A (en) * 2002-04-18 2004-01-08 Toshiba Corp Motion picture coding / decoding method and apparatus
JP2004297566A (en) * 2003-03-27 2004-10-21 Ntt Docomo Inc Moving image encoder, method and program for moving image encoding moving image decoder, and method and program for moving image decoding

Also Published As

Publication number Publication date
JPWO2010116708A1 (en) 2012-10-18
WO2010116708A1 (en) 2010-10-14

Similar Documents

Publication Publication Date Title
JP6667609B2 (en) Image encoding device, image encoding method, image decoding device, and image decoding method
CN108769682B (en) Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, computer device, and storage medium
JP6071922B2 (en) Moving picture decoding apparatus, moving picture decoding method, moving picture encoding apparatus, moving picture encoding method, and moving picture encoded data
CN107046644B (en) Moving image encoding device and moving image decoding device
JP5711370B2 (en) Image encoding apparatus, image decoding apparatus, image encoding method, and image decoding method
WO2010137323A1 (en) Video encoder, video decoder, video encoding method, and video decoding method
WO2011121894A1 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
JP5488612B2 (en) Moving picture encoding apparatus and moving picture decoding apparatus
JP2004048552A (en) Image encoder, image encoding method, image decoder, image decoding method and communication equipment
WO2011061880A1 (en) Image encoder apparatus, image decoder apparatus, image encoding method, and image decoding method
JP4793424B2 (en) Image encoding apparatus, image encoding method, image decoding apparatus, image decoding method, and communication apparatus
JP2011166592A (en) Image encoding device, and image decoding device
WO2011125314A1 (en) Video coding device and video decoding device
JP5648709B2 (en) Image conversion apparatus and method, and program
JP5000012B2 (en) Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method
JP2011223319A (en) Moving image encoding apparatus and moving image decoding apparatus
JP4697802B2 (en) Video predictive coding method and apparatus
JP5533885B2 (en) Moving picture encoding apparatus and moving picture decoding apparatus
KR20120138426A (en) Signaling apparatus and method of interleaving advanced motion vector prediction
JP2012080210A (en) Moving image encoder, moving image decoder, moving image encoding method, and moving image decoding method

Legal Events

Date Code Title Description
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: 20120417

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: 20120515

R150 Certificate of patent or registration of utility model

Ref document number: 5000012

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees