JP2009055236A - Video coder and method - Google Patents
Video coder and method Download PDFInfo
- Publication number
- JP2009055236A JP2009055236A JP2007218910A JP2007218910A JP2009055236A JP 2009055236 A JP2009055236 A JP 2009055236A JP 2007218910 A JP2007218910 A JP 2007218910A JP 2007218910 A JP2007218910 A JP 2007218910A JP 2009055236 A JP2009055236 A JP 2009055236A
- Authority
- JP
- Japan
- Prior art keywords
- deterioration
- code amount
- conversion
- coefficient data
- unit
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は,映像信号を高能率に圧縮符号化する映像符号化装置及び方法に関する。 The present invention relates to a video encoding apparatus and method for compressing and encoding a video signal with high efficiency.
近年、デジタル信号処理技術の進歩により,動画像、静止画像及び音声等の大量のデジタル情報を高能率符号化し、記録媒体への記録及び通信媒体による伝送が可能になっている。 In recent years, with the advancement of digital signal processing technology, a large amount of digital information such as moving images, still images, and sounds can be encoded with high efficiency, and can be recorded on a recording medium and transmitted via a communication medium.
画像を高能率符号化するこのような圧縮方式は、符号化処理の工程に直交変換を含んでいる。直交変換のブロックサイズを適応的に変化させることで、符号化効率を改善できることが知られている。特許文献1には、適応的にブロックサイズを変化させる技術が記載されている。
特許文献1に記載の技術は、画素値の変化に応じてブロックサイズを決定する。しかし、この方法を適用した場合、再生画像が人間の視聴に適したものであるとは限らない。たとえば,数学的にはわずかな劣化であっても,人間にとっては非常に目立ち易い劣化であったり,あるいは,符号化によって大きく情報が欠落しているにも関わらず,人間にはその劣化がほとんど気にならなかったりすることがある。従来の方法は、このような人間に特有の視覚特性を考慮しておらず、感覚的に劣化を感じることが少なくない。 The technique described in Patent Document 1 determines a block size according to a change in pixel value. However, when this method is applied, the reproduced image is not always suitable for human viewing. For example, even if it is a slight deterioration mathematically, it is very conspicuous for human beings, or even though there is a large amount of information missing due to encoding, humans have little deterioration. There are things that I don't care about. The conventional methods do not take into consideration such visual characteristics peculiar to human beings and often feel sensory deterioration.
本発明は、視覚特性を考慮して、符号化ブロックサイズを適応制御する映像符号化装置及び方法を提示することを目的とする。 An object of the present invention is to provide a video encoding apparatus and method for adaptively controlling an encoding block size in consideration of visual characteristics.
上述の目的を達成するため、本発明に係る映像符号化装置は、映像信号の各画面を構成する画像を複数のマクロブロックに分割するブロック分割手段と、前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出手段と、前記特徴抽出手段の抽出結果に従い、前記劣化出現容易部分でない部分に対して、前記ブロック分割手段からの前記マクロブロック単位の画像データを第1の変換ブロックサイズで直交変換し、前記劣化出現容易部分に対して、前記ブロック分割手段からの前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで直交変換する変換手段とを有することを特徴とする。 In order to achieve the above object, a video encoding device according to the present invention includes a block dividing unit that divides an image constituting each screen of a video signal into a plurality of macroblocks, And a feature extraction unit that extracts a portion where deterioration is easy to be noticeable, and an image data in units of macroblocks from the block dividing unit for the portion that is not the portion where deterioration appears easily according to the extraction result of the feature extraction unit. Are orthogonally transformed with the first transformation block size, and the second transformation block size smaller than the first transformation block size is converted into the macro block unit image data from the block dividing means for the portion where deterioration is likely to occur. And a transforming means for performing orthogonal transform at.
本発明に係る映像符号化装置は、映像信号の各画面を構成する画像を複数のマクロブロックに分割するブロック分割手段と、前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出手段と、前記ブロック分割手段からの前記マクロブロック単位の画像データを第1の変換ブロックサイズで第1の変換係数データに変換する第1の変換手段と、前記ブロック分割手段からの前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで第2の変換係数データに変換する第2の変換手段と、前記第1及び第2の変換係数データの一方を選択する切替え手段と、前記第1の変換手段を使った場合の符号量を見積もる第1の符号量見積り手段と、前記第2の変換手段を使った場合の符号量を見積もる第2の符号量見積り手段と、前記第1及び第2の符号量見積り手段の見積り量、並びに前記特徴抽出手段の抽出結果に従い、前記切替え手段を制御する判定手段とを具備し、前記判定手段が、前記特徴抽出手段の抽出結果に従い、前記劣化出現容易部分でない部分に対して、前記第1の符号量見積り手段の見積り量が前記第2の符号量見積り手段の見積り量より少ない場合に、前記切替え手段に前記第1の変換係数データを選択させ、前記第1の符号量見積り手段の見積り量が前記第2の符号量見積り手段の見積り量に等しいか、これより多い場合に、前記切替え手段に前記第2の変換係数データを選択させるとともに、前記劣化出現容易部分に対しては、前記切替え手段に前記第2の変換係数データを選択させることを特徴とする。 The video encoding apparatus according to the present invention includes a block dividing unit that divides an image constituting each screen of the video signal into a plurality of macroblocks, and a visual appearance of deterioration that is easily noticeable in each screen of the video signal. Feature extracting means for extracting a portion, first conversion means for converting the image data in units of macroblocks from the block dividing means into first conversion coefficient data with a first conversion block size, and the block dividing means Second conversion means for converting the image data in units of macroblocks from the image data into second conversion coefficient data with a second conversion block size smaller than the first conversion block size, and the first and second conversions Switching means for selecting one of the coefficient data, first code amount estimating means for estimating a code amount when the first converting means is used, and the second code data A second code amount estimating means for estimating a code amount when the conversion means is used; the switching means is controlled in accordance with the estimated amounts of the first and second code amount estimating means and the extraction result of the feature extracting means; And a determination unit configured to determine, based on the extraction result of the feature extraction unit, that the estimated amount of the first code amount estimation unit is equal to the second code for a portion that is not easily deteriorated. When the amount is smaller than the estimated amount of the amount estimating unit, the switching unit selects the first transform coefficient data, and the estimated amount of the first code amount estimating unit becomes the estimated amount of the second code amount estimating unit. When equal to or greater than this, the switching means selects the second conversion coefficient data, and the switching means causes the switching means to select the second conversion coefficient data for the portion where deterioration easily occurs. Characterized in that to select.
本発明に係る映像符号化方法は、映像信号の各画面を構成する画像を複数のマクロブロックに分割するブロック分割するブロック分割ステップと、前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出ステップと、前記特徴抽出ステップの抽出結果に従い、前記劣化出現容易部分でない部分に対して、前記ブロック分割ステップによる前記マクロブロック単位の画像データを第1の変換ブロックサイズで直交変換し、前記劣化出現容易部分に対して、前記ブロック分割手段による前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで直交変換する変換ステップとを有することを特徴とする。 In the video encoding method according to the present invention, a block division step of dividing an image constituting each screen of the video signal into a plurality of macroblocks, and visual degradation is easily noticeable in each screen of the video signal. A feature extraction step of extracting a deterioration-prone appearance part, and according to the extraction result of the feature extraction step, the macroblock unit image data obtained by the block division step is converted into a first transform block for the part that is not a deterioration-prone appearance part. A transform step of performing orthogonal transform with a size, and orthogonally transforming the image data in units of macroblocks by the block dividing unit with a second transform block size smaller than the first transform block size, with respect to the easily appearing deterioration portion It is characterized by having.
本発明に係る映像符号化方法は、映像信号の各画面を構成する画像を複数のマクロブロックに分割するブロック分割ステップと、前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出ステップと、前記ブロック分割ステップによる前記マクロブロック単位の画像データを第1の変換ブロックサイズで第1の変換係数データに変換する第1の変換ステップと、前記ブロック分割ステップによる前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで第2の変換係数データに変換する第2の変換ステップと、前記第1の変換ステップを使った場合の符号量を見積もる第1の符号量見積りステップと、前記第2の変換ステップを使った場合の符号量を見積もる第2の符号量見積りステップと、前記劣化出現容易部分でない部分に対して、前記第1の符号量見積りステップの見積り量が前記第2の符号量見積りステップの見積り量より少ない場合に、前記第1の変換係数データを選択し、前記第1の符号量見積りステップの見積り量が前記第2の符号量見積りステップの見積り量に等しいか、これより多い場合に、前記第2の変換係数データを選択するとともに、前記劣化出現容易部分に対しては、前記第2の変換係数データを選択する選択ステップとを有することを特徴とする。 The video encoding method according to the present invention includes a block division step for dividing an image constituting each screen of a video signal into a plurality of macroblocks, and a visual appearance of deterioration that is easily noticeable in each screen of the video signal. A feature extraction step of extracting a portion, a first conversion step of converting the image data in units of macroblocks in the block division step into first conversion coefficient data in a first conversion block size, and the block division step When the second conversion step of converting the image data in units of macroblocks into the second conversion coefficient data with a second conversion block size smaller than the first conversion block size, and using the first conversion step The code amount when the first code amount estimation step for estimating the code amount of the second conversion step and the second conversion step are used. When the estimated amount of the first code amount estimating step is smaller than the estimated amount of the second code amount estimating step with respect to the second code amount estimating step for estimating When the first transform coefficient data is selected and the estimated amount of the first code amount estimating step is equal to or larger than the estimated amount of the second code amount estimating step, the second transform coefficient is selected. A selection step of selecting data and selecting the second conversion coefficient data for the portion where deterioration is likely to occur.
本発明では、入力映像信号から抽出した特徴情報に基づいて変換ブロックサイズを決定するので、視覚的に劣化が目立ちにくい符号化を行うことができる。すなわち,人間の視覚特性に好適なストリームを出力する映像符号化装置を実現できる。 In the present invention, since the transform block size is determined based on the feature information extracted from the input video signal, it is possible to perform coding that is less visually noticeable. That is, a video encoding device that outputs a stream suitable for human visual characteristics can be realized.
以下、図面を参照して、本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施例の概略構成ブロック図を示す。入力端子10には、外部から映像信号が入力する。入力端子10に外部の映像ソースから入力した映像信号は、ブロック予測装置12と特徴抽出装置14に供給される。外部の映像ソースは、例えば、ビデオカメラの撮像部であり、又は、テレビ放送設備である。
FIG. 1 shows a schematic block diagram of an embodiment of the present invention. A video signal is input to the
ブロック予測装置12は、入力端子10からの映像信号の各画面を構成するピクチャ(画像)を16×16画素の複数のマクロブロックに分割し、画面内又は画面間の相関を用いた予測処理を行う。ブロック予測装置12は、特許請求の範囲のブロック分割手段に相当する。この予測処理は、例えば、ISO/IEC13818−2規格書、及びITU-TH.264規格書に記載されている。予測方法には、イントラ予測とインター予測がある。イントラ予測は,各マクロブロックに対して、相関性の高い隣接画素情報との差分値を算出する方式である。インター予測は,各マクロブロックに対して、過去に符号化した参照ピクチャから相関性の高い画素ブロックを探索し,差分値を算出する方式である。
The
ブロック予測装置12は、イントラ予測及びインター予測の何れかの予測により算出された差分値を、8×8直交変換装置16、4×4直交変換装置18、8×8符号量見積り装置20及び4×4符号量見積り装置22に供給する。
The
8×8直交変換装置16は、ブロック予測装置12から供給されるマクロブロック単位の画像データ(差分値)を8×8画素(第1の変換ブロックサイズ)の変換ブロックに分割し、二次元離散コサイン変換する。4×4直交変換装置18は、ブロック予測装置12から供給されるマクロブロック単位の画像データ(差分値)を4×4画素(第2の変換ブロックサイズ)の変換ブロックに分割し、二次元離散コサイン変換する。8×8直交変換装置16から出力される変換係数データが、特許請求の範囲の第1の変換係数データに対応し、4×4直交変換装置18から出力される変換係数データが、特許請求の範囲の第2の変換係数データに対応する。16×16画素のマクロブロックと、8×8画素の変換ブロック、4×4画素の変換ブロックとの関係を図2に示す。8×8直交変換装置16及び4×4直交変換装置18は、二次元直交変換の変換係数データを切替え装置24に供給する。
The 8 × 8
8×8符号量見積り装置20は、8×8直交変換装置16の二次元離散コサイン変換による発生符号量を見積もる。4×4符号量見積り装置22は、4×4直交変換装置18の二次元離散コサイン変換による発生符号量を見積もる。8×8符号量見積り装置20は、特許請求の範囲の第1の符号量見積り手段に相当し、4×4直交変換装置18は第2の符号量見積り手段に相当する。例えば、各符号量見積り装置20,22は、ブロック予測装置12から供給される差分値から、各変換ブロックサイズにおける各ブロックの分散値を算出し、その総和を発生符号量の見積り値として出力する。分散の小さいブロックは概ね低周波数の成分から構成されるので,直交変換後の符号量は少ない傾向にある。一方,分散の大きいブロックは概ね高周波数の成分から構成されるので,直交変換後の符号量は多い傾向にある。なお、ここでは、評価値として分散値を用いて説明したが,フーリエ変換などにより高周波成分のパワーを算出したり、実際に直交変換を行って正確な符号量を算出したりしても良い。
The 8 × 8 code
8×8符号量見積り装置20及び4×4符号量見積り装置22は、見積り結果を判定装置26に供給する。判定装置26には更に、特徴抽出装置14の出力データも供給される。判定装置26は、符号量見積り装置20,22からの符号量見積り結果、及び特徴抽出装置14の抽出結果に従い、切替え装置24を制御する。即ち、判定装置26は、切替え装置24に対する切替え制御装置として機能する。
The 8 × 8 code
特徴抽出装置14は、入力端子10からの映像信号から、ブロック予測装置12での処理対象のマクロブロック毎に、人間の視覚特性上、重要な特徴情報を有する部分を抽出する。例えば、草むらや木立などの込み入った領域は、劣化しても人間の目にはあまり気にならない傾向がある。一方,空や壁などの平坦部分や、物質の境界のようなエッジ部分は、僅かな劣化であっても,視覚的に不自然さを感じ易い。あるいはまた,人物の顔のように、視覚的に注視しやすい領域もまた、符号化による劣化が目立ち易い領域と言える。特徴抽出装置14は、このような、人間の視覚特性上、劣化が目立ち易い部分、即ち、劣化出現容易部分を抽出する。
The
具体的には、特徴抽出装置14は、マクロブロック単位での周波数成分分析により、先ず、劣化が目立ち易い平坦部及び劣化が目立ちにくい高周波ブロックを抽出する。なお、周波数成分の分析には、例えばアダマール変換等を用いることができる。平坦部ではない領域に対して、水平、垂直又は斜め等のエッジを含むかどうかを調べ、エッジを含む場合には、劣化が目立ちやすいブロックであるとする。
Specifically, the
更に、特徴抽出装置14は、画面全体又は部分領域に対して既知の顔検出技術鵜又は肌色検出技術等により人物を検出し、処理対象のマクロブロックが人物として検出された範囲内に含まれるか否かを判定する。当該マクロブロックが人物(又は顔)とみなされる範囲内に含まれている場合、平坦部ではない領域に対しても、劣化が目立ちやすいブロックであるとする。
Furthermore, the
更に、特徴抽出装置14は、複数の画面を参照して画面全体又は部分領域に対して移動物体を検出し、処理対象のマクロブロックが移動物体として検出された範囲内に含まれるか否かを判定する。移動物体が検出された場合、それが所定値を基準として低速移動物体か高速移動物体かを判定する。当該マクロブロックが低速移動物体とみなされる範囲内に含まれている場合、平坦部ではないと判定されたブロックであったとしても、劣化が目立ちやすいブロック(劣化出現容易部分)であるとする。高速移動物体とみなされる範囲内に含まれている場合、平坦部と判定されたブロックであったとしても、劣化が目立ちにくいブロック(劣化出現困難部分)であるとする。
Furthermore, the
特徴抽出装置14は、このような複合的な解析により判別される劣化出現容易部分を示す指標値又はフラグを抽出結果として判定装置26に供給する。特徴抽出装置14は、個別的には、劣化出現容易部分として、映像領域の平坦部分、エッジ部分、注目被写体部分、人物部分、肌色部分、及び低速移動物体部分の何れかを抽出する。
The
判定装置26は、基本的に、符号量見積り装置20,22からの発生符号量見積り値が少ない方の直交変換ブロックサイズの変換係数データを選択するように、切替え装置24を制御する。但し、特徴抽出装置14の特徴抽出結果から、劣化が目立ちやすいブロックであるマクロブロックに対しては、判定装置26は、切替え装置24に4×4直交変換装置18の出力を選択させる。図3に模式的に示すように、小さなブロックであるほど劣化が小さな範囲に留まり、大きなブロックであるほど劣化が大きな範囲に波及するからである。即ち、平坦部、エッジ部,及び注目被写体(顔、人物、又は低速で移動する物体等)については,4×4画素の変換ブロックを使用する。
The
特徴抽出装置14が、マクロブロックを、劣化が目立ちやすいブロック(劣化出現容易部分)、劣化が目立ちにくいブロック(劣化出現困難部分)、これらの中間のブロック(劣化出現中間部分)の3種類に分類してもよい。その場合、例えば、判定装置26は、劣化が目立ちやすいブロックに対して切替え装置24に4×4直交変換装置18の出力を選択させ、劣化が目立ちにくいブロックに対して切替え装置24に8×8直交変換装置16の出力を選択させる。そして、判定装置26は、中間のブロックに対して、切替え装置24に符号量見積り装置20,22からの発生符号量見積り値が少ない方の直交変換ブロックサイズの変換係数データを選択させる。
The
判定装置26は更に、圧縮後のストリームデータのビットレート又は圧縮率を加味して、切替え装置24を制御しても良い。
The
量子化装置28は、切替え装置24により選択された直交変換係数データを量子化し、エントロピー符号化装置30に供給する。エントロピー符号化装置30は、量子化装置28からの量子化された変換係数データを算術符号化又は可変長符号化し,符号列をストリーム出力端子32から外部に出力する。
The
以上の構成により、人間の視覚特性を考慮して二種類の直交変換ブロックサイズを選択することで、再生画面上で視覚的に劣化が目立たない符号化を行うことができる。人間の視覚特性に好適なストリームを出力する映像符号化装置を実現できる。 With the above configuration, by selecting two types of orthogonal transform block sizes in consideration of human visual characteristics, it is possible to perform encoding that is visually inconspicuous on the playback screen. A video encoding apparatus that outputs a stream suitable for human visual characteristics can be realized.
また、二種類の直交変換ブロックサイズを発生符号量見積り量に応じて適応的に選択することで、より少ない符号量で符号化可能であり、同じ符号量であれば、情報の劣化がより少ない符号化が可能である。8×8画素と4×4画素の変換ブロックサイズの組み合わせ例を説明したが、本発明は、その他の変換ブロックサイズの組み合わせに適用可能であることは明らかである。 In addition, it is possible to encode with a smaller code amount by adaptively selecting two types of orthogonal transform block sizes according to the estimated amount of generated code. If the code amount is the same, there is less information deterioration. Encoding is possible. Although examples of combinations of transform block sizes of 8 × 8 pixels and 4 × 4 pixels have been described, it is apparent that the present invention can be applied to other combinations of transform block sizes.
10 入力端子
12 ブロック予測装置
14 特徴抽出装置
16 8×8直交変換装置
18 4×4直交変換装置
20 8×8符号量見積り部
22 4×4符号量見積り部
24 切替え装置
26 判定装置
28 量子化装置
30 エントロピー符号化装置
32 ストリーム出力端子
DESCRIPTION OF
Claims (13)
前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出手段と、
前記特徴抽出手段の抽出結果に従い、前記劣化出現容易部分でない部分に対して、前記ブロック分割手段からの前記マクロブロック単位の画像データを第1の変換ブロックサイズで直交変換し、前記劣化出現容易部分に対して、前記ブロック分割手段からの前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで直交変換する変換手段
とを有することを特徴とする映像符号化装置。 Block dividing means for dividing an image constituting each screen of the video signal into a plurality of macroblocks;
In each screen of the video signal, feature extraction means for extracting easy-to-develop portions that are prominent in visual deterioration; and
According to the extraction result of the feature extraction unit, the macro block unit image data from the block dividing unit is orthogonally transformed with a first transform block size to the portion that is not the deterioration-prone portion, and the deterioration-prone portion And a transform unit that orthogonally transforms the image data in units of macroblocks from the block dividing unit with a second transform block size smaller than the first transform block size. apparatus.
前記ブロック分割手段からの前記マクロブロック単位の画像データを第1の変換ブロックサイズで第1の変換係数データに変換する第1の変換手段と、
前記ブロック分割手段からの前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで第2の変換係数データに変換する第2の変換手段と、
前記特徴抽出手段の抽出結果に従い、前記第1及び第2の変換係数データの一方を選択する切替え手段
とを有することを特徴とする請求項1又は2に記載の映像符号化装置。 The converting means is
First conversion means for converting the image data in units of macroblocks from the block dividing means into first conversion coefficient data with a first conversion block size;
Second conversion means for converting the image data in units of macroblocks from the block dividing means into second conversion coefficient data with a second conversion block size smaller than the first conversion block size;
3. The video encoding apparatus according to claim 1, further comprising a switching unit that selects one of the first and second transform coefficient data in accordance with an extraction result of the feature extraction unit.
前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出手段と、
前記ブロック分割手段からの前記マクロブロック単位の画像データを第1の変換ブロックサイズで第1の変換係数データに変換する第1の変換手段と、
前記ブロック分割手段からの前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで第2の変換係数データに変換する第2の変換手段と、
前記第1及び第2の変換係数データの一方を選択する切替え手段と、
前記第1の変換手段を使った場合の符号量を見積もる第1の符号量見積り手段と、
前記第2の変換手段を使った場合の符号量を見積もる第2の符号量見積り手段と、
前記第1及び第2の符号量見積り手段の見積り量、並びに前記特徴抽出手段の抽出結果に従い、前記切替え手段を制御する判定手段
とを具備し、
前記判定手段が、前記特徴抽出手段の抽出結果に従い、前記劣化出現容易部分でない部分に対して、前記第1の符号量見積り手段の見積り量が前記第2の符号量見積り手段の見積り量より少ない場合に、前記切替え手段に前記第1の変換係数データを選択させ、前記第1の符号量見積り手段の見積り量が前記第2の符号量見積り手段の見積り量に等しいか、これより多い場合に、前記切替え手段に前記第2の変換係数データを選択させるとともに、前記劣化出現容易部分に対しては、前記切替え手段に前記第2の変換係数データを選択させる
ことを特徴とする映像符号化装置。 Block dividing means for dividing an image constituting each screen of the video signal into a plurality of macroblocks;
In each screen of the video signal, feature extraction means for extracting easy-to-develop portions that are prominent in visual deterioration; and
First conversion means for converting the image data in units of macroblocks from the block dividing means into first conversion coefficient data with a first conversion block size;
Second conversion means for converting the image data in units of macroblocks from the block dividing means into second conversion coefficient data with a second conversion block size smaller than the first conversion block size;
Switching means for selecting one of the first and second conversion coefficient data;
First code amount estimating means for estimating a code amount when the first converting means is used;
Second code amount estimating means for estimating a code amount when using the second conversion means;
Determining means for controlling the switching means according to the estimated amounts of the first and second code amount estimating means and the extraction result of the feature extracting means;
According to the extraction result of the feature extraction unit, the determination unit has an estimated amount of the first code amount estimating unit smaller than an estimated amount of the second code amount estimating unit with respect to a portion that is not easily deteriorated. If the switching means selects the first transform coefficient data, and the estimated amount of the first code amount estimating means is equal to or larger than the estimated amount of the second code amount estimating means The video coding apparatus characterized in that the switching means selects the second transform coefficient data and causes the switching means to select the second transform coefficient data for the portion where deterioration easily occurs. .
前記判定手段が、
前記劣化出現中間部分に対して、前記第1の符号量見積り手段の見積り量が前記第2の符号量見積り手段の見積り量より少ない場合に、前記切替え手段に前記第1の変換係数データを選択させ、前記第1の符号量見積り手段の見積り量が前記第2の符号量見積り手段の見積り量に等しいか、これより多い場合に、前記切替え手段に前記第2の変換係数データを選択させ、
前記劣化出現容易部分に対して、前記切替え手段に前記第2の変換係数データを選択させ、
前記劣化出現困難部分に対して、前記切替え手段に前記第1の変換係数データを選択させる
ことを特徴とする請求項4に記載の映像符号化装置。 The feature extraction means further extracts a deterioration-appearing difficult portion where visual deterioration is not conspicuous and a deterioration appearance intermediate portion between the deterioration-appearing easy portion and the deterioration-appearing difficult portion in each screen of the video signal. ,
The determination means is
When the estimated amount of the first code amount estimating unit is smaller than the estimated amount of the second code amount estimating unit with respect to the deterioration appearance intermediate portion, the first conversion coefficient data is selected by the switching unit. When the estimated amount of the first code amount estimating unit is equal to or larger than the estimated amount of the second code amount estimating unit, the switching unit selects the second transform coefficient data,
For the easy-to-occur deterioration portion, the switching means selects the second conversion coefficient data,
5. The video encoding apparatus according to claim 4, wherein the first transform coefficient data is selected by the switching unit for the portion where deterioration is difficult to appear.
前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出ステップと、
前記特徴抽出ステップの抽出結果に従い、前記劣化出現容易部分でない部分に対して、前記ブロック分割ステップによる前記マクロブロック単位の画像データを第1の変換ブロックサイズで直交変換し、前記劣化出現容易部分に対して、前記ブロック分割ステップによる前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで直交変換する変換ステップ
とを有することを特徴とする映像符号化方法。 A block dividing step of dividing the image constituting each screen of the video signal into a plurality of macro blocks;
In each screen of the video signal, a feature extraction step of extracting a deterioration appearance easy portion where visual deterioration is conspicuous, and
According to the extraction result of the feature extraction step, the macroblock unit image data obtained by the block division step is orthogonally transformed with a first transform block size for the portion that is not the deterioration-prone appearance portion, and the deterioration appearance-prone portion is obtained. On the other hand, a video encoding method comprising: a transform step of orthogonally transforming the image data in units of macroblocks by the block division step with a second transform block size smaller than the first transform block size.
前記映像信号の各画面において、視覚的な劣化が目立ちやすい劣化出現容易部分を抽出する特徴抽出ステップと、
前記ブロック分割ステップによる前記マクロブロック単位の画像データを第1の変換ブロックサイズで第1の変換係数データに変換する第1の変換ステップと、
前記ブロック分割ステップによる前記マクロブロック単位の画像データを前記第1の変換ブロックサイズより小さい第2の変換ブロックサイズで第2の変換係数データに変換する第2の変換ステップと、
前記第1の変換ステップを使った場合の符号量を見積もる第1の符号量見積りステップと、
前記第2の変換ステップを使った場合の符号量を見積もる第2の符号量見積りステップと、
前記劣化出現容易部分でない部分に対して、前記第1の符号量見積りステップの見積り量が前記第2の符号量見積りステップの見積り量より少ない場合に、前記第1の変換係数データを選択し、前記第1の符号量見積りステップの見積り量が前記第2の符号量見積りステップの見積り量に等しいか、これより多い場合に、前記第2の変換係数データを選択するとともに、前記劣化出現容易部分に対しては、前記第2の変換係数データを選択する選択ステップ
とを有することを特徴とする映像符号化方法。 A block dividing step of dividing an image constituting each screen of the video signal into a plurality of macroblocks;
In each screen of the video signal, a feature extraction step of extracting a deterioration appearance easy portion where visual deterioration is conspicuous, and
A first conversion step of converting the image data in units of macroblocks by the block division step into first conversion coefficient data with a first conversion block size;
A second conversion step of converting the image data in units of macroblocks by the block division step into second conversion coefficient data with a second conversion block size smaller than the first conversion block size;
A first code amount estimating step for estimating a code amount when using the first conversion step;
A second code amount estimating step for estimating a code amount when using the second conversion step;
When the estimated amount of the first code amount estimating step is smaller than the estimated amount of the second code amount estimating step for the portion that is not easy to appear deterioration, the first transform coefficient data is selected, When the estimated amount of the first code amount estimating step is equal to or larger than the estimated amount of the second code amount estimating step, the second transform coefficient data is selected, and the deterioration easily occurring portion And a selection step of selecting the second transform coefficient data.
前記選択ステップは、
前記劣化出現中間部分に対して、前記第1の符号量見積りステップの見積り量が前記第2の符号量見積りステップの見積り量より少ない場合に、前記第1の変換係数データを選択し、前記第1の符号量見積りステップの見積り量が前記第2の符号量見積りステップの見積り量に等しいか、これより多い場合に、前記第2の変換係数データを選択し、前記劣化出現容易部分に対しては、前記第2の変換係数データを選択し、前記劣化出現困難部分に対しては、前記第1の変換係数データを選択する
ことを特徴とする請求項10に記載の映像符号化方法。 The feature extracting step further extracts, in each screen of the video signal, a portion where deterioration is difficult to appear visually, and a portion where deterioration appears easily between the portion where deterioration is easy to appear and the portion where deterioration is difficult to appear. ,
The selection step includes
When the estimated amount of the first code amount estimating step is smaller than the estimated amount of the second code amount estimating step for the deterioration appearance intermediate portion, the first transform coefficient data is selected, and the first When the estimated amount of the one code amount estimating step is equal to or larger than the estimated amount of the second code amount estimating step, the second transform coefficient data is selected, and the deterioration easily appearing portion is selected. 11. The video encoding method according to claim 10, wherein the second transform coefficient data is selected, and the first transform coefficient data is selected for the portion where deterioration is difficult to occur.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007218910A JP2009055236A (en) | 2007-08-24 | 2007-08-24 | Video coder and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007218910A JP2009055236A (en) | 2007-08-24 | 2007-08-24 | Video coder and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009055236A true JP2009055236A (en) | 2009-03-12 |
Family
ID=40505918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007218910A Withdrawn JP2009055236A (en) | 2007-08-24 | 2007-08-24 | Video coder and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009055236A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010288080A (en) * | 2009-06-11 | 2010-12-24 | Sony Corp | Image processing apparatus and image processing method |
WO2011049119A1 (en) * | 2009-10-20 | 2011-04-28 | シャープ株式会社 | Moving image coding device, moving image decoding device, moving image coding/decoding system, moving image coding method and moving image decoding method |
WO2015012253A1 (en) * | 2013-07-25 | 2015-01-29 | 日本電信電話株式会社 | Image coding device and method, and image coding program |
JP2015029348A (en) * | 2010-04-09 | 2015-02-12 | 三菱電機株式会社 | Moving image decoding apparatus |
JP2015115903A (en) * | 2013-12-13 | 2015-06-22 | キヤノン株式会社 | Imaging apparatus, control method of imaging apparatus, and computer program |
-
2007
- 2007-08-24 JP JP2007218910A patent/JP2009055236A/en not_active Withdrawn
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9264714B2 (en) | 2009-06-11 | 2016-02-16 | Sony Corporation | Image processing apparatus and image processing method |
US8472741B2 (en) | 2009-06-11 | 2013-06-25 | Sony Corporation | Image processing apparatus and image processing method |
JP2010288080A (en) * | 2009-06-11 | 2010-12-24 | Sony Corp | Image processing apparatus and image processing method |
WO2011049119A1 (en) * | 2009-10-20 | 2011-04-28 | シャープ株式会社 | Moving image coding device, moving image decoding device, moving image coding/decoding system, moving image coding method and moving image decoding method |
JP5562346B2 (en) * | 2009-10-20 | 2014-07-30 | シャープ株式会社 | Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, and moving picture decoding method |
EA027182B1 (en) * | 2009-10-20 | 2017-06-30 | Шарп Кабусики Кайся | Moving image coding device, moving image decoding device, moving image coding/decoding system, moving image coding method and moving image decoding method |
US9973753B2 (en) | 2010-04-09 | 2018-05-15 | Mitsubishi Electric Corporation | Moving image encoding device and moving image decoding device based on adaptive switching among transformation block sizes |
JP2015029348A (en) * | 2010-04-09 | 2015-02-12 | 三菱電機株式会社 | Moving image decoding apparatus |
US10390011B2 (en) | 2010-04-09 | 2019-08-20 | Mitsubishi Electric Corporation | Moving image encoding device and moving image decoding device based on adaptive switching among transformation block sizes |
US10412385B2 (en) | 2010-04-09 | 2019-09-10 | Mitsubishi Electric Corporation | Moving image encoding device and moving image decoding device based on adaptive switching among transformation block sizes |
US10469839B2 (en) | 2010-04-09 | 2019-11-05 | Mitsubishi Electric Corporation | Moving image encoding device and moving image decoding device based on adaptive switching among transformation block sizes |
US10554970B2 (en) | 2010-04-09 | 2020-02-04 | Mitsubishi Electric Corporation | Moving image encoding device and moving image decoding device based on adaptive switching among transformation block sizes |
WO2015012253A1 (en) * | 2013-07-25 | 2015-01-29 | 日本電信電話株式会社 | Image coding device and method, and image coding program |
US10375402B2 (en) | 2013-07-25 | 2019-08-06 | Nippon Telegraph And Telephone Corporation | Image encoding apparatus and method, and image encoding program |
JP2015115903A (en) * | 2013-12-13 | 2015-06-22 | キヤノン株式会社 | Imaging apparatus, control method of imaging apparatus, and computer program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10013746B2 (en) | High dynamic range video tone mapping | |
EP2207358A1 (en) | Video decoding method and video encoding method | |
JP4804107B2 (en) | Image encoding apparatus, image encoding method and program thereof | |
JP6729170B2 (en) | Image processing system and image decoding device | |
JPWO2008084745A1 (en) | Image coding apparatus and image decoding apparatus | |
KR20090077062A (en) | Method and apparatus for adaptive noise filtering of pixel data | |
JP2008219870A (en) | Moving picture coding method and moving picture encoder | |
US10735724B2 (en) | Method and device for compressing image on basis of photography information | |
US20160100165A1 (en) | Adapting Encoding Properties | |
TW201436542A (en) | System and method for improving video encoding using content information | |
JP2006005650A (en) | Device and method for image encoding | |
CN112543330B (en) | Encoding method, system and storage medium for fuzzy privacy masking | |
JP4023324B2 (en) | Watermark embedding and image compression unit | |
JP2009055236A (en) | Video coder and method | |
JP2010183162A (en) | Motion picture encoder | |
KR101490686B1 (en) | Apparatus and Method for Encoding Video | |
WO2016054306A1 (en) | Adapting encoding properties based on user presence in scene | |
JP5295089B2 (en) | Image encoding device | |
JP2005333610A (en) | Encoding circuit | |
JP4942208B2 (en) | Encoder | |
US10003826B2 (en) | Method of reducing noise of video signal | |
JP2012222417A (en) | Image encoder | |
Lee et al. | A new intra prediction method using channel correlations for the H. 264/AVC intra coding | |
JP4786607B2 (en) | Movie editing device | |
JP4747109B2 (en) | Calculation amount adjustment device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20101102 |