JP2008167380A - Moving image compression-coding method and apparatus - Google Patents

Moving image compression-coding method and apparatus Download PDF

Info

Publication number
JP2008167380A
JP2008167380A JP2007000572A JP2007000572A JP2008167380A JP 2008167380 A JP2008167380 A JP 2008167380A JP 2007000572 A JP2007000572 A JP 2007000572A JP 2007000572 A JP2007000572 A JP 2007000572A JP 2008167380 A JP2008167380 A JP 2008167380A
Authority
JP
Japan
Prior art keywords
partial image
control block
image
quantization parameter
frame prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007000572A
Other languages
Japanese (ja)
Other versions
JP4789210B2 (en
Inventor
Toshihiro Tsuji
智弘 辻
Akio Yoneyama
暁夫 米山
Hiromasa Yanagihara
広昌 柳原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2007000572A priority Critical patent/JP4789210B2/en
Publication of JP2008167380A publication Critical patent/JP2008167380A/en
Application granted granted Critical
Publication of JP4789210B2 publication Critical patent/JP4789210B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a compression-coding method and apparatus capable of easily compression-coding a logotype portion, in particular, of a moving image containing a partial image of a logotype or the like with high image quality without increasing coding costs. <P>SOLUTION: In a compression-coding apparatus of the present invention, when predictively coding a control block containing a partial image, intra-frame prediction is applied for a picture and an intra-picture first displaying the partial image and a quantization parameter thereof is corrected to be decreased rather than the prior art, thereby improving image quality. On the other hand, inter-frame prediction is applied for a picture displaying the partial image other than the first stage, and the quantization parameter is corrected to be increased rather than the prior art, thereby reducing coding costs. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、動画像の圧縮符号化方法および装置に係り、特に、ロゴなどの部分画像が挿入された動画像の圧縮符号化に好適な圧縮符号化方法および装置に関する。   The present invention relates to a moving image compression coding method and apparatus, and more particularly, to a compression coding method and apparatus suitable for compression coding of a moving image into which a partial image such as a logo is inserted.

ロゴなどの部分画像を動画像に挿入する手法として、MPEGなどの符号化方式により圧縮符号化済みの動画像に、画像を部分的に挿入する技術が特許文献1〜8に開示されている。
これらの手法は、動画像を部分的に復号して非圧縮画像に戻した上で、あるいは変換係数上で、部分画像を挿入する技術であり、いずれも動画像の再利用という点では欠かせない技術であるが、部分画像挿入前の符号化動画像における発生符号量推移に起因する制約が大きいので、挿入する部分画像の画質の劣化を最小限に抑えるような挿入制御を行うことが困難であった。
一方、部分画像の品質を保証する手法として、部分画像を予め非圧縮動画像に重畳し、通常の圧縮符号化処理を行う方法や、部分画像を動画像とは別の手順で圧縮(JPEGなどの静止画符号化、あるいは、MPEG-4におけるオブジェクト符号化など)して再生時に動画像に重畳する方法が知られている。
特開2004-304231号公報 特表2003-532316号公報 特表2002-531019号公報 特表2002-531019号公報 特開平11-261966号公報 特開2001-268572号公報 特開2000-78471号公報 特開2000-78468号公報
As a technique for inserting a partial image such as a logo into a moving image, Patent Documents 1 to 8 disclose techniques for partially inserting an image into a moving image that has been compression-encoded by an encoding method such as MPEG.
These methods are techniques that insert partial images after partially decoding a moving image and returning it to an uncompressed image, or on a conversion coefficient, both of which are essential in terms of reusing moving images. Although there is no technology, it is difficult to perform insertion control that minimizes the degradation of the image quality of the partial image to be inserted because the restriction caused by the amount of generated code in the encoded video before inserting the partial image is large. Met.
On the other hand, as a technique for guaranteeing the quality of partial images, a method of superimposing partial images on uncompressed moving images in advance and performing normal compression encoding processing, or compressing partial images by a procedure different from moving images (such as JPEG) There is known a method of superimposing a moving image on a moving image by performing still image coding or MPEG-4 object coding.
JP 2004-304231 A Special table 2003-532316 Special Table 2002-531019 Special Table 2002-531019 Japanese Patent Laid-Open No. 11-261966 JP 2001-268572 A JP 2000-78471 A Japanese Unexamined Patent Publication No. 2000-78468

特にモバイル向けなどのサービスでは、映像の解像度が低く、また、符号化ビットレートも制限されるため、広告や著作権者を示すロゴや重要な情報を含む文字列を符号化した場合、制限された符号化パラメータの影響を受けるなどして、重要な広告やロゴなどの画像が劣化することが多い。   Especially for services such as mobile, the video resolution is low and the encoding bit rate is limited, so if you encode a character string that contains a logo or important information indicating an advertisement or copyright holder, it will be limited. Images such as important advertisements and logos often deteriorate due to the influence of encoding parameters.

一方、デジタル放送などのサービスでは、これらのロゴ画像や重要な文字列は、符号化された映像コンテンツではなく、高品質な静止画像やテキスト文字コードなどの付加的なデータとして、MPEG-2 TS システムのレイヤで多重化するなどの拡張を行うことで品質を維持している。しかしながら、これらの拡張方式では、再生時の複雑な合成やそのタイミングの制御機能を有した特別な受信機が必要になる。   On the other hand, in services such as digital broadcasting, these logo images and important character strings are not encoded video content, but are added as additional data such as high-quality still images and text character codes. Quality is maintained by extending the system layer for multiplexing. However, these extended systems require a special receiver having a complex composition during reproduction and a function for controlling the timing.

本発明の目的は、上記した従来技術の課題を解決し、ロゴなどの部分画像を含む動画像を、符号化コストを増加させることなく、特にロゴ部分を高画質で、かつ簡単に圧縮符号化できる圧縮符号化方法および装置を提供することにある。   The object of the present invention is to solve the above-mentioned problems of the prior art and to easily compress and encode a moving image including a partial image such as a logo with high image quality, in particular, without increasing the coding cost. It is an object of the present invention to provide a compression encoding method and apparatus.

上記した目的を達成するために、本発明の圧縮符号化装置は、部分画像を含む制御ブロックを符号化する際に、この部分画像を最初に表示するピクチャおよびイントラピクチャの部分画像を含む制御ブロック(例えば、MPEG符号化におけるマクロブロック、あるいは、動き補償ブロック)においてはフレーム内予測を適用すると共に、その量子化パラメータを従来よりも減補正して画質を向上させる一方、部分画像を最初以外に表示するインターピクチャにおける部分画像を含む制御ブロックにおいてはフレーム間予測を適用すると共に、その量子化パラメータを従来よりも増補正して符号化コストを減じるようにした点に特徴がある。   In order to achieve the above object, the compression coding apparatus of the present invention, when coding a control block including a partial image, includes a control block including a partial image of an intra picture and a picture that initially displays the partial image. In (for example, a macroblock or motion compensation block in MPEG encoding), intra-frame prediction is applied, and the quantization parameter is reduced and reduced to improve the image quality. A control block including a partial image in an inter picture to be displayed is characterized in that inter-frame prediction is applied and that the quantization parameter is increased and corrected as compared with the prior art to reduce the coding cost.

本発明によれば、部分画像を最初に表示するピクチャやイントラピクチャのように、発生符号量が多いマクロブロックでは量子化パラメータが減補正されるので部分画像の画質が向上する。また、部分画像を最初以外に表示するピクチャのように、部分画像が静止画であって当該領域の予測差分値の発生符号量が理想的にはゼロまたは十分に小さくなるマクロブロックでは、量子化パラメータが増補正されて符号化コストが減ぜられるので、簡単な構成で、符号化コストを全体としては減じながら、ロゴなどの部分画像の画質を維持することができるようになる。また、静止画である挿入部分画像の画素値に何らかの原因で時間的な揺らぎ(雑音)が発生する場合は、この量子化パラメータの増補正により、その揺らぎを吸収し、主観的な画像品質を向上させる効果も得られる。   According to the present invention, since the quantization parameter is reduced and corrected in a macroblock with a large amount of generated codes, such as a picture that first displays a partial image or an intra picture, the image quality of the partial image is improved. In addition, when a partial image is a still image and the generated code amount of the prediction difference value of the region is ideally zero or sufficiently small, such as a picture that displays a partial image other than the first, quantization is performed. Since the parameter is increased and corrected to reduce the coding cost, the image quality of a partial image such as a logo can be maintained with a simple configuration while reducing the coding cost as a whole. In addition, if temporal fluctuation (noise) occurs for some reason in the pixel value of the inserted partial image that is a still image, this fluctuation is absorbed by increasing the quantization parameter, and subjective image quality is improved. The effect to improve is also acquired.

以下、図面を参照して本発明の最良の実施の形態について詳細に説明する。図1は、本発明に係る動画像圧縮符号化装置の主要部の構成を示したブロック図であり、ここでは、本発明の説明に不用な構成は図示が省略されている。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the best embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a main part of a moving image compression encoding apparatus according to the present invention. Here, illustrations of configurations unnecessary for the description of the present invention are omitted.

本発明の動画像圧縮符号化装置10には、非圧縮動画像Dmと、この非圧縮動画像Dmに挿入されるロゴ画像、標章、重要文字列といった非圧縮の部分画像Dpと、この部分画像Dpの属性情報Daとして、部分画像Dpの形状およびサイズ、ならびに部分画像Dpの空間的および時間的な配置情報等が入力される。前記部分画像Dpの配置情報は、部分画像Dpの再生画像上での挿入位置および挿入タイミングを含む。   The moving image compression encoding apparatus 10 of the present invention includes an uncompressed moving image Dm, an uncompressed partial image Dp such as a logo image, a mark, and an important character string inserted into the uncompressed moving image Dm, and this portion. As the attribute information Da of the image Dp, the shape and size of the partial image Dp, spatial and temporal arrangement information of the partial image Dp, and the like are input. The arrangement information of the partial image Dp includes an insertion position and an insertion timing on the reproduced image of the partial image Dp.

前記動画像圧縮符号化装置10において、配置制御部1は、部分画像Dpの属性情報Daと動画像Dmの各制御ブロックの境界情報とに基づいて、部分画像Dpの再生画像上での空間的な挿入位置を補正すると共に、動画像Dmの各制御ブロックに部分画像Dpが重畳されているか否かを示すブロック属性情報を抽出する。部分画像挿入部2は、前記配置制御部1から指定される非圧縮動画像Dmの挿入位置に前記部分画像Dpを挿入して出力する。   In the moving image compression coding apparatus 10, the arrangement control unit 1 spatially displays the partial image Dp on the reproduced image based on the attribute information Da of the partial image Dp and the boundary information of each control block of the moving image Dm. In addition to correcting the correct insertion position, block attribute information indicating whether or not the partial image Dp is superimposed on each control block of the moving image Dm is extracted. The partial image insertion unit 2 inserts and outputs the partial image Dp at the insertion position of the uncompressed moving image Dm designated by the arrangement control unit 1.

符号化制御部3は、前記配置制御部1から提供される部分画像Dpの属性情報Daおよび各制御ブロックのブロック属性情報とに基づいて、各制御ブロックの符号化モードおよび動きベクトルMV等を決定すると共に、符号化レートや符号化の難しさといった画像パラメータに基づいて量子化パラメータQPを決定する。圧縮符号化部4は、部分画像Dpが挿入された非圧縮動画像Dm+pを、前記符号化制御部3から通知される符号化モード、量子化パラメータQPおよび動きベクトルMV等に基づいて制御ブロックごとに圧縮符号化する。   The encoding control unit 3 determines the encoding mode and motion vector MV of each control block based on the attribute information Da of the partial image Dp provided from the arrangement control unit 1 and the block attribute information of each control block. At the same time, the quantization parameter QP is determined based on the image parameters such as the encoding rate and the difficulty of encoding. The compression encoding unit 4 controls the non-compressed video Dm + p in which the partial image Dp is inserted based on the encoding mode, the quantization parameter QP, the motion vector MV, and the like notified from the encoding control unit 3. Compression encoding is performed for each block.

図2は、部分画像Dpが挿入された非圧縮動画像Dm+pの制御ブロックや部分画像の境界情報を模式的に示した図であり、ここでは、制御ブロックがマクロブロック(MB)および動き補償ブロック(MC)である場合を例にして説明する。   FIG. 2 is a diagram schematically showing the control block of the uncompressed moving image Dm + p into which the partial image Dp is inserted and the boundary information of the partial image. Here, the control block is a macro block (MB) and a motion. A case where the compensation block (MC) is used will be described as an example.

本実施形態では、動画像のMBのうち、図中ハッチングで示したように、少なくとも一部分が部分画像Dpと重なるMBを特にMBlogoと表現する。部分画像Dpの挿入位置は、基準点(本実施形態では、再生画像の左上端部)からのオフセット値として定義される。   In the present embodiment, among MBs of moving images, as indicated by hatching in the figure, MBs that at least partially overlap the partial image Dp are expressed as MBlogo in particular. The insertion position of the partial image Dp is defined as an offset value from the reference point (in this embodiment, the upper left corner of the reproduced image).

図3は、前記配置制御部1の動作を模式的に表現した図であり、本実施形態では、部分画像Dpの形状が正方形を含む長方形であって、その縦横サイズは、MBまたはMCの整数倍にあらかじめ規定されている。部分画像Dpは、その輪郭がMB境界またはMC境界と一致するように配置される。   FIG. 3 is a diagram schematically representing the operation of the arrangement control unit 1. In this embodiment, the partial image Dp has a rectangular shape including a square, and the vertical and horizontal size is an integer of MB or MC. It is prescribed in advance twice. The partial image Dp is arranged so that its outline coincides with the MB boundary or the MC boundary.

前記配置制御部1は、最初に部分画像Dpの輪郭がMB境界と一致するか否かを判定し、一致しない輪郭に関しては、MCを16×16画素から16×8画素、さらには8×16画素、8×8画素、8×4画素、4×8画素、4×4画素へと、部分画像Dpの輪郭がMC境界と一致するまで細分化する。あるいは、部分画像Dpの輪郭とMC境界とが一致するように部分画像Dpの配置座標を修正する。部分画像の輪郭を、より大きなブロック境界と一致させることで、発生符号量を抑えることができる。   The arrangement control unit 1 first determines whether or not the contour of the partial image Dp matches the MB boundary. For the contour that does not match, the MC is changed from 16 × 16 pixels to 16 × 8 pixels, and further to 8 × 16. The pixel, 8 × 8 pixel, 8 × 4 pixel, 4 × 8 pixel, and 4 × 4 pixel are subdivided until the contour of the partial image Dp matches the MC boundary. Alternatively, the arrangement coordinates of the partial image Dp are corrected so that the contour of the partial image Dp matches the MC boundary. The amount of generated codes can be suppressed by matching the contour of the partial image with a larger block boundary.

図4は、前記符号化制御部3および圧縮符号化部4の主要部の構成を示したブロック図であり、圧縮符号化部4は符号化制御部3からの指示に応答して動画像Dm+pを圧縮符号化する。   FIG. 4 is a block diagram showing the configuration of the main parts of the encoding control unit 3 and the compression encoding unit 4, and the compression encoding unit 4 responds to an instruction from the encoding control unit 3 with the moving image Dm. + p compresses and encodes.

圧縮符号化部3において、量子化パラメータ導出部301は、符号化レートや符号化の難しさといった画像パラメータに基づいて既知の手法で量子化パラメータQPを導出する。補正係数記憶部302には、MBlogoにフレーム内予測を適用する際の量子化パラメータQPを減補正して量子化ステップを細かくするための補正係数αと、MBlogoにフレーム間予測を適用する際の量子化パラメータQPを増補正して量子化ステップを粗くするための補正係数βとが記憶されている。MV設定部303は、MBlogoをフレーム間予測する際の動きベクトルを全てゼロに設定する。なお、本実施形態では増補正された量子化パラメータ(QP2)が、減補正された量子化パラメータ(QP1)よりも常に大きくなるように前記補正係数α、βが設定されている。   In the compression encoding unit 3, the quantization parameter deriving unit 301 derives the quantization parameter QP by a known method based on the image parameters such as the encoding rate and the difficulty of encoding. In the correction coefficient storage unit 302, a correction coefficient α for reducing the quantization parameter QP when applying intra-frame prediction to MBlogo to make the quantization step finer, and when applying inter-frame prediction to MBlogo A correction coefficient β for increasing the quantization parameter QP to roughen the quantization step is stored. The MV setting unit 303 sets all motion vectors for MBlogo prediction between frames to zero. In the present embodiment, the correction coefficients α and β are set such that the quantization parameter (QP2) that has been increased and corrected is always larger than the quantization parameter (QP1) that has been corrected and decreased.

動き予測部401は、部分画像が重畳された非圧縮動画像Dm+pと画像メモリ部410に蓄えられている参照画像D7とに基づいて動きベクトルMVを生成すると共に、この動きベクトルMVでフレーム間予測を行った場合の符号化コストCinterを出力する。動き補償部402は、前記動きベクトルMVと前記画像メモリ部410に蓄えられている参照画像D7とに基づいてフレーム間予測を行い、予測結果をフレーム間予測データD1として出力する。   The motion prediction unit 401 generates a motion vector MV based on the uncompressed moving image Dm + p on which the partial image is superimposed and the reference image D7 stored in the image memory unit 410, and uses the motion vector MV to generate a frame The encoding cost Cinter when performing inter prediction is output. The motion compensation unit 402 performs inter-frame prediction based on the motion vector MV and the reference image D7 stored in the image memory unit 410, and outputs a prediction result as inter-frame prediction data D1.

減算器412は、セレクタ407で選択された予測信号D8を前記非圧縮動画像Dm+pから減じて予測残差D2を生成する。予測残差D2は、直交変換部403においてMB単位で直交変換されて直交変換係数D3となる。この直交変換係数D3は、量子化部404において、符号化制御部3から指示される量子化パラメータQPを用いて量子化される。   The subtractor 412 subtracts the prediction signal D8 selected by the selector 407 from the uncompressed moving image Dm + p to generate a prediction residual D2. The prediction residual D2 is orthogonally transformed in units of MB in the orthogonal transformation unit 403 to become an orthogonal transformation coefficient D3. The orthogonal transform coefficient D3 is quantized by the quantization unit 404 using the quantization parameter QP instructed from the encoding control unit 3.

量子化部404で量子化された直交変換係数D4は、エントロピー符号化部405で可変長符号化されて出力される一方、逆量子化部407において逆量子化される。逆量子化部407の出力は直交逆変換部408で直交逆変換される。すなわち、逆量子化部407および直交逆変換部408では、前記量子化部404および直交変換部403と逆の処理が行われ、直交逆変換部408の出力には前記予測残差D2に近似した信号が得られる。   The orthogonal transform coefficient D4 quantized by the quantization unit 404 is output after being variable-length encoded by the entropy encoding unit 405 and dequantized by the inverse quantization unit 407. The output of the inverse quantization unit 407 is orthogonally inverse transformed by an orthogonal inverse transform unit 408. That is, the inverse quantization unit 407 and the orthogonal inverse transform unit 408 perform processing reverse to that of the quantization unit 404 and the orthogonal transform unit 403, and the output of the orthogonal inverse transform unit 408 approximates the prediction residual D2. A signal is obtained.

直交逆変換部408の出力は、加算回路406で前記予測信号D8と加算されて局部復号信号D5が生成される。この局部復号信号D5はデブロッキングフィルタ部409でブロックノイズを除去された後、前記画像メモリ410に参照画像信号D7として記憶される。   The output of the orthogonal inverse transform unit 408 is added to the prediction signal D8 by the adder circuit 406 to generate a local decoded signal D5. The local decoded signal D5 is stored in the image memory 410 as a reference image signal D7 after block noise is removed by the deblocking filter unit 409.

フレーム内予測部411は、前記局部復号信号D5に基づいてフレーム内予測信号D6を生成すると共に、フレーム内予測を行った場合の符号化コストCintraを出力する。前記セレクタ407は、フレーム内予測の符号化コストとフレーム間予測の符号化コストとの比較結果に基づいて、フレーム間予測信号D1およびフレーム内予測信号D6の一方を制御ブロックごとに選択し、これを予測信号として出力する。   The intra-frame prediction unit 411 generates an intra-frame prediction signal D6 based on the local decoded signal D5, and outputs an encoding cost Cintra when intra-frame prediction is performed. The selector 407 selects one of the inter-frame prediction signal D1 and the intra-frame prediction signal D6 for each control block based on the comparison result between the coding cost of the intra-frame prediction and the coding cost of the inter-frame prediction. Is output as a prediction signal.

図5は、本実施形態における予測符号化方式および量子化パラメータQPの設定手順を示したフローチャートであり、主に前記符号化制御部3の動作を示している。   FIG. 5 is a flowchart showing the setting procedure of the predictive coding method and the quantization parameter QP in the present embodiment, and mainly shows the operation of the coding control unit 3.

ステップS1では、今回の注目MBが部分画像Dpを含むMBlogoであるか否かが判定され、MBlogo以外の通常のMBであればステップS10へ進む。ステップS10では、今回の注目MBに対してフレーム内予測およびフレーム間予測が従来と同様に実行され、両者の符号化コストCintra,Cinterに基づいて符号化予測方式がいずれか一方に設定される。このとき、符号化レートや再生画質等に基づいて前記量子化パラメータ導出部301で導出された量子化パラメータQPが量子化部404へ通知される。前記セレクタ407は、設定された予測方式の予測信号を選択して出力する。   In step S1, it is determined whether or not the current attention MB is MBlogo including the partial image Dp. If the MB of interest is a normal MB other than MBlogo, the process proceeds to step S10. In step S10, intra-frame prediction and inter-frame prediction are performed on the current MB of interest in the same manner as in the past, and the encoding prediction method is set to either one based on both encoding costs Cintra and Cinter. At this time, the quantization parameter QP derived by the quantization parameter deriving unit 301 is notified to the quantization unit 404 based on the encoding rate, the reproduction image quality, and the like. The selector 407 selects and outputs a prediction signal of the set prediction method.

これに対して、今回の注目MBがMBlogoであればステップS2へ進み、部分画像Dpが最初に出現するピクチャのMBlogoであるか否かが判定される。図6に示したn番目のピクチャのように、部分画像Dpが最初に出現するピクチャのMBlogoであればステップS3へ進み、今回の注目MB(MBlogo)がフレーム内予測の対象となるイントラMBに設定される。ステップS4では、フレーム内予測時の量子化パラメータQP1が、前記量子化パラメータ導出部301において符号化レートや再生画質等に基づいて導出されたQP値から前記補正係数α(αは不負値の整数)を減じて減補正された値(=QP−α)に設定される。   On the other hand, if the current attention MB is MBlogo, the process proceeds to step S2, and it is determined whether or not the partial image Dp is the MBlogo of the picture that appears first. If the partial image Dp is the MBlogo of the picture in which the partial image Dp first appears as in the nth picture shown in FIG. 6, the process proceeds to step S3, and the current attention MB (MBlogo) is the intra MB that is the target of intraframe prediction. Is set. In step S4, the quantization parameter QP1 at the time of intra-frame prediction is calculated based on the correction coefficient α (α is a non-negative value) from the QP value derived by the quantization parameter deriving unit 301 based on the coding rate, the reproduction image quality, and the like. (Integer) is subtracted and set to the corrected value (= QP-α).

一方、前記ステップS2において、部分画像Dpが最初に出現するピクチャのMBlogoではない、すなわち、図6の(n+1)番目や(n+2)番目のピクチャのMBlogoと判定されればステップS5ヘ進む。ステップS5では、今回の注目MBを含むピクチャが、全てのMBを強制的にフレーム内予測で符号化すイントラピクチャであるか否かが判定される。イントラピクチャでなければステップS6へ進み、今回の注目MBがフレーム間予測の対象となるインターMBに設定される。ステップS7では、フレーム間予測時の量子化パラメータQP2が、前記量子化パラメータ導出部301において符号化レートや再生画質等に基づいて導出されたQP値に前記補正係数β(βは不負値の整数)を加えて増補正された値(=QP+β)に設定される。   On the other hand, if it is determined in step S2 that the partial image Dp is not the MBlogo of the first appearing picture, that is, the MBlogo of the (n + 1) th or (n + 2) th picture in FIG. Go ahead. In step S5, it is determined whether or not the picture including the current MB of interest is an intra picture in which all MBs are forcibly encoded by intra-frame prediction. If it is not an intra picture, the process proceeds to step S6, and the current MB of interest is set as an inter MB to be subjected to inter-frame prediction. In step S7, the quantization parameter QP2 at the time of inter-frame prediction is converted to the QP value derived by the quantization parameter deriving unit 301 based on the coding rate, the reproduction image quality, etc., and the correction coefficient β (β is a non-negative value). It is set to a value (= QP + β) that has been increased and corrected by adding (integer).

なお、前記ステップS5において、今回の注目MBがイントラピクチャと判定されるとステップS8へ進み、今回の注目MBがイントラMBに設定される。ステップS9では、今回の注目MBの量子化パラメータQP1が、符号化レートや再生画質等に基づいて導出されるQPから前記補正係数αを減じて減補正された値(=QP−α)に設定される。   If it is determined in step S5 that the current attention MB is an intra picture, the process proceeds to step S8, where the current attention MB is set as the intra MB. In step S9, the quantization parameter QP1 of the current MB of interest is set to a value (= QP−α) obtained by subtracting the correction coefficient α from the QP derived based on the coding rate, reproduction image quality, and the like. Is done.

なお、ロゴ入り制御ブロックにフレーム間予測が適用されるフレームでは、各制御ブロックが、変換係数(例えば、DCT係数)も動きベクトルも符号化せず、予測可能な情報のみを用いて符号化するスキップモードで符号化される用意すれば、符号化効率を更に向上させることができる。   In a frame in which inter-frame prediction is applied to a control block with a logo, each control block does not encode a transform coefficient (for example, a DCT coefficient) or a motion vector, and encodes using only predictable information. If the encoding is performed in the skip mode, the encoding efficiency can be further improved.

本発明に係る動画像圧縮符号化装置の主要部の構成を示したブロック図である。It is the block diagram which showed the structure of the principal part of the moving image compression encoding apparatus which concerns on this invention. 部分画像が挿入された非圧縮動画像のフレーム構造を模式的に示した図である。It is the figure which showed typically the frame structure of the uncompressed moving image in which the partial image was inserted. 配置制御部の動作を模式的に表現した図である。It is the figure which expressed typically operation | movement of the arrangement | positioning control part. 圧縮符号化部の主要部の構成を示したブロック図である。It is the block diagram which showed the structure of the principal part of a compression encoding part. 予測符号化方式および量子化パラメータの設定手順を示したフローチャートである。It is the flowchart which showed the setting procedure of the prediction encoding system and a quantization parameter. 部分画像の時間的な挿入例を示した図である。It is the figure which showed the example of temporal insertion of a partial image.

符号の説明Explanation of symbols

1…配置制御部,2…部分画像挿入部,3…符号化制御部,4…圧縮符号化部,10…動画像圧縮符号化装置,301…量子化パラメータ導出部,302…補正係数記憶部,303…MV設定部
DESCRIPTION OF SYMBOLS 1 ... Arrangement | positioning control part, 2 ... Partial image insertion part, 3 ... Coding control part, 4 ... Compression encoding part, 10 ... Moving image compression encoding apparatus, 301 ... Quantization parameter deriving part, 302 ... Correction coefficient memory | storage part , 303 ... MV setting section

Claims (8)

画像上の一部の領域に部分画像が挿入された非圧縮動画像を制御ブロック単位で所定の量子化パラメータに基づいてフレーム間予測またはフレーム内予測で圧縮符号化する圧縮符号化装置において、
画像パラメータに基づいて量子化パラメータを導出する手段と、
符号化対象の制御ブロックが部分画像を含む制御ブロックであるか否かを判定する手段と、
前記部分画像を含む制御ブロックが、前記部分画像を最初に表示するピクチャの制御ブロックであるか否かを判定する手段と、
前記部分画像を最初に表示するピクチャおよびイントラピクチャの部分画像を含む制御ブロックにフレーム内予測を適用し、前記部分画像を最初以外に表示するピクチャの部分画像を含む制御ブロックにフレーム間予測を適用する手段と、
前記部分画像を含む制御ブロックをフレーム間予測で圧縮符号化するために導出された量子化パラメータを増補正する手段と、
前記部分画像を含む制御ブロックをフレーム内予測で圧縮符号化するために導出された量子化パラメータを減補正する手段とを含み、
前記部分画像を含む制御ブロックが、前記増減補正された量子化パラメータで量子化されることを特徴とする動画像の圧縮符号化装置。
In a compression encoding apparatus that compresses and encodes an uncompressed moving image in which a partial image is inserted into a partial region on an image by inter-frame prediction or intra-frame prediction based on a predetermined quantization parameter in units of control blocks.
Means for deriving quantization parameters based on image parameters;
Means for determining whether the control block to be encoded is a control block including a partial image;
Means for determining whether or not the control block including the partial image is a control block of a picture that first displays the partial image;
Intraframe prediction is applied to the control block that includes the partial image of the picture that first displays the partial image and the intra picture, and interframe prediction is applied to the control block that includes the partial image of the picture that displays the partial image other than the first Means to
Means for increasing and correcting a quantization parameter derived to compress and encode the control block including the partial image with inter-frame prediction;
Means for decorrecting a quantization parameter derived to compress and encode a control block including the partial image with intra-frame prediction;
A moving image compression encoding apparatus, wherein a control block including the partial image is quantized with the quantization parameter subjected to the increase / decrease correction.
前記部分画像を含む制御ブロックの量子化パラメータは、前記増補正された量子化パラメータが前記減補正された量子化パラメータよりも大きくなるように、それぞれ増減補正されることを特徴とする請求項1に記載の動画像の圧縮符号化装置。   The quantization parameter of the control block including the partial image is corrected to increase or decrease so that the increased correction quantization parameter is larger than the decreased correction quantization parameter. A moving image compression encoding apparatus according to claim 1. 前記部分画像を含む制御ブロックのフレーム間予測では、動きベクトルがゼロに設定されることを特徴とする請求項1または2に記載の動画像の圧縮符号化装置。   3. The moving image compression coding apparatus according to claim 1, wherein a motion vector is set to zero in inter-frame prediction of a control block including the partial image. 部分画像の形状ならびに時間的および空間的な挿入位置を含む属性情報を入力する手段と、
前記属性情報に基づいて、前記部分画像の配置を、当該部分画像の輪郭と制御ブロックの境界とが一致するように設定する手段とを含むことを特徴とする請求項1に記載の動画像の圧縮符号化装置。
Means for inputting attribute information including the shape of the partial image and temporal and spatial insertion positions;
2. The moving image according to claim 1, further comprising: a unit configured to set an arrangement of the partial image based on the attribute information so that an outline of the partial image matches a boundary of the control block. 3. Compression encoding device.
前記部分画像を含む制御ブロックにフレーム間予測が適用されるフレームでは、各制御ブロックがスキップモードで予測されることを特徴とする請求項1ないし4のいずれかに記載の動画像の圧縮符号化装置。     5. The moving image compression coding according to claim 1, wherein each control block is predicted in a skip mode in a frame in which inter-frame prediction is applied to the control block including the partial image. apparatus. 画像上の一部の領域に部分画像が挿入された非圧縮動画像を制御ブロック単位で所定の量子化パラメータに基づいてフレーム間予測またはフレーム内予測で圧縮符号化する圧縮符号化方法において、
符号化対象の制御ブロックが部分画像を含む制御ブロックであるか否かを判定する手順と、
前記部分画像を含む制御ブロックが、前記部分画像を最初に表示するピクチャの制御ブロックであるか否かを判定する手順と、
前記部分画像を最初に表示するピクチャおよびイントラピクチャの部分画像を含む制御ブロックにフレーム内予測を適用する手順と
前記部分画像を最初以外に表示するピクチャの部分画像を含む制御ブロックにフレーム間予測を適用する手順と、
前記部分画像を含む制御ブロックをフレーム間予測で圧縮符号化するために導出された量子化パラメータを増補正する手順と、
前記部分画像を含む制御ブロックをフレーム内予測で圧縮符号化するために導出された量子化パラメータを減補正する手順と、
前記部分画像を含む制御ブロックを、前記増減補正された量子化パラメータで量子化する手順とを含むことを特徴とする動画像の圧縮符号化方法。
In a compression encoding method for compressing and encoding an uncompressed moving image in which a partial image is inserted into a partial region on an image by inter-frame prediction or intra-frame prediction based on a predetermined quantization parameter for each control block,
A procedure for determining whether or not the control block to be encoded is a control block including a partial image;
Determining whether the control block including the partial image is a control block of a picture that first displays the partial image;
A procedure for applying intra-frame prediction to a control block including a partial picture of the picture that first displays the partial image and an intra picture, and inter-frame prediction to a control block including a partial picture of the picture that displays the partial image other than the first The steps to apply,
A step of increasing and correcting a quantization parameter derived to compress and encode the control block including the partial image by inter-frame prediction;
A step of decorrecting a quantization parameter derived for compression-coding the control block including the partial image with intra-frame prediction;
A method for compressing and encoding a moving image, comprising: a step of quantizing a control block including the partial image with the quantization parameter subjected to the increase and decrease correction.
前記部分画像を含む制御ブロックの量子化パラメータは、前記増補正された量子化パラメータが前記減補正された量子化パラメータよりも大きくなるように、それぞれ増減補正されることを特徴とする請求項6に記載の動画像の圧縮符号化方法。   7. The quantization parameter of the control block including the partial image is corrected to increase or decrease so that the increased correction quantization parameter is larger than the decreased correction quantization parameter. 2. A method for compressing and encoding moving images according to 1. 前記部分画像を含む制御ブロックのフレーム間予測では、動きベクトルがゼロに設定されることを特徴とする請求項6または7に記載の動画像の圧縮符号化方法。   The method according to claim 6 or 7, wherein a motion vector is set to zero in inter-frame prediction of a control block including the partial image.
JP2007000572A 2007-01-05 2007-01-05 Method and apparatus for compressing and encoding moving images Expired - Fee Related JP4789210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007000572A JP4789210B2 (en) 2007-01-05 2007-01-05 Method and apparatus for compressing and encoding moving images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007000572A JP4789210B2 (en) 2007-01-05 2007-01-05 Method and apparatus for compressing and encoding moving images

Publications (2)

Publication Number Publication Date
JP2008167380A true JP2008167380A (en) 2008-07-17
JP4789210B2 JP4789210B2 (en) 2011-10-12

Family

ID=39696162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007000572A Expired - Fee Related JP4789210B2 (en) 2007-01-05 2007-01-05 Method and apparatus for compressing and encoding moving images

Country Status (1)

Country Link
JP (1) JP4789210B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009170975A (en) * 2008-01-10 2009-07-30 Kddi Corp Compression encoder of moving image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07193812A (en) * 1993-12-27 1995-07-28 Canon Inc Picture compressor and picture compression method
JPH10178639A (en) * 1996-12-19 1998-06-30 Matsushita Electric Ind Co Ltd Image codec part and image data encoding method
JP2000152249A (en) * 1998-11-10 2000-05-30 Victor Co Of Japan Ltd Image coder
JP2002204459A (en) * 2000-12-28 2002-07-19 Toshiba Corp Moving picture coding method and device
WO2005025231A1 (en) * 2003-09-04 2005-03-17 Samsung Electronics Co., Ltd. Method and apparatus for determining reference data unit for predictive video data coding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07193812A (en) * 1993-12-27 1995-07-28 Canon Inc Picture compressor and picture compression method
JPH10178639A (en) * 1996-12-19 1998-06-30 Matsushita Electric Ind Co Ltd Image codec part and image data encoding method
JP2000152249A (en) * 1998-11-10 2000-05-30 Victor Co Of Japan Ltd Image coder
JP2002204459A (en) * 2000-12-28 2002-07-19 Toshiba Corp Moving picture coding method and device
WO2005025231A1 (en) * 2003-09-04 2005-03-17 Samsung Electronics Co., Ltd. Method and apparatus for determining reference data unit for predictive video data coding

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009170975A (en) * 2008-01-10 2009-07-30 Kddi Corp Compression encoder of moving image

Also Published As

Publication number Publication date
JP4789210B2 (en) 2011-10-12

Similar Documents

Publication Publication Date Title
CN105379284B (en) Moving picture encoding device and method of operating the same
JP2007235456A (en) Moving image decoding device and moving image decoding method
JP2007251758A (en) Moving image coding apparatus, and method
JP2005184042A (en) Image decoding apparatus, image decoding method, and image decoding program
WO2010100672A1 (en) Compressed dynamic image encoding device, compressed dynamic image decoding device, compressed dynamic image encoding method and compressed dynamic image decoding method
JP5015375B2 (en) Image coding method and apparatus compliant with MPEG standard for inserting small images
KR20070006446A (en) Apparatus for encoding or decoding motion image, method therefor, and recording medium storing a program to implement thereof
US20070133689A1 (en) Low-cost motion estimation apparatus and method thereof
KR20160109617A (en) Decoding apparatus of digital video
JP4357560B2 (en) Moving picture coding apparatus, moving picture coding method, and moving picture coding program
JP4789210B2 (en) Method and apparatus for compressing and encoding moving images
JP4786623B2 (en) Moving picture encoding apparatus and moving picture decoding apparatus
JPH09200769A (en) Inter-motion compensation frame encoding system
JP4871305B2 (en) Video compression encoding apparatus
JP5885886B2 (en) Image analysis apparatus and image analysis method
US20060181650A1 (en) Encoding method and device
JP2009290387A (en) Encoder, decoder and recording reproducing device
JP4765961B2 (en) Digital video recording device
JP2002016924A (en) Transcoding device and transcoding method
JP5067492B2 (en) Digital video recording device
JP4390009B2 (en) Encoding apparatus and method, and image processing system
JP2004312689A (en) Mpeg video decoding method and mpeg video decoder
JP2005184495A (en) Moving picture encoding apparatus and method therefor
JP2002010264A (en) Device for replacing compressed data
JP2004040446A (en) Image-coding device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110127

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

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

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

Free format text: PAYMENT UNTIL: 20140729

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees