JP2011171855A - 画像符号化装置及び画像変換装置 - Google Patents
画像符号化装置及び画像変換装置 Download PDFInfo
- Publication number
- JP2011171855A JP2011171855A JP2010031809A JP2010031809A JP2011171855A JP 2011171855 A JP2011171855 A JP 2011171855A JP 2010031809 A JP2010031809 A JP 2010031809A JP 2010031809 A JP2010031809 A JP 2010031809A JP 2011171855 A JP2011171855 A JP 2011171855A
- Authority
- JP
- Japan
- Prior art keywords
- code amount
- level
- correction value
- value
- macroblock
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/136—Incoming video signal characteristics or properties
- H04N19/14—Coding unit complexity, e.g. amount of activity or edge presence estimation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/146—Data rate or code amount at the encoder output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/146—Data rate or code amount at the encoder output
- H04N19/152—Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/189—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
- H04N19/192—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding the adaptation method, adaptation tool or adaptation type being iterative or recursive
- H04N19/194—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding the adaptation method, adaptation tool or adaptation type being iterative or recursive involving only two passes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/146—Data rate or code amount at the encoder output
- H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/146—Data rate or code amount at the encoder output
- H04N19/149—Data rate or code amount at the encoder output by estimating the code amount by means of a model, e.g. mathematical model or statistical model
Abstract
【解決手段】画像符号化装置1は、符号化対象のマクロブロックの量子化パラメータQrを求める。量子化パラメータQrは、補正値Qoffが加算されることにより補正される。符号化部14は、補正された量子化パラメータQrを用いてマクロブロックを符号化する。符号化後、量子化パラメータ補正部13は、符号化済みのマクロブロックごとに設定された目標符号量を累積して累積目標符号量Ttを算出し、符号化済みのマクロブロックの発生符号量RMを累積して累積発生符号量Ctを算出する。累積発生符号量Ctが累積目標符号量Ttよりも大きければ、量子化パラメータ補正部13は、補正値Qoffを増加させる。新たに符号化されるマクロブロックは、符号化済みのマクロブロックよりも粗く量子化される。
【選択図】図1
Description
図1は、本実施の形態に係る画像符号化装置1の機能的構成を示すブロック図である。図1に示すように、画像符号化装置1は、入力された非圧縮画像データ21をH.264方式で符号化して、H.264画像データ22を出力する。
まず、アクティビティレベル決定部12の処理内容について説明する。カレントMBのQP補正値Qoffは、上述したように、カレントMBのアクティビティレベルALに基づいて決定される。このため、アクティビティレベルALの詳細を最初に説明する。以下、アクティビティレベルALを単に「レベルAL」と記載する。
非圧縮画像データ21の符号化の際に行われる符号量制御について詳しく説明する。図5は、非圧縮画像データ21の各ピクチャのエンコードの流れを示すフローチャートである。画像符号化装置1は、マクロブロックを符号化するたびに符号量制御を実行する。
レベル対応補正値HQa(i)の更新処理(ステップS8、図5参照)について詳しく説明する。以下、マクロブロックm8がカレントMBとして符号化された場合を例に説明する。マクロブロックm8のレベルALは「1」であるため(図2参照)、レベル対応補正値HQa(1)が更新の対象となる。
図9は、ステップS807の詳細な処理の流れを示すフローチャートである。以下、図7の説明と同様に、レベルALが「1」であるマクロブロックm8の符号化が終了したときの処理を例に説明する。量子化パラメータ補正部13は、マクロブロックm8のQP補正値Qoffとして用いられたレベル対応補正値HQa(1)の更新条件が満たされているか否かを、レベルALごとに設定されたパラメータを用いて判定する。
本実施の形態で説明した画像符号化装置1を、画像変換装置の符号化部として用いてもよい。図10は、本実施の形態の変形例に係る画像変換装置100の機能的構成を示すブロック図である。画像変換装置100は、画像符号化装置1と、画像復号化装置2とを備える。画像符号化装置1は、上記第1の実施の形態で説明した装置である。
11 量子化パラメータ決定部
12 アクティビティレベル決定部
13 量子化パラメータ補正部
14 符号化部
131 符号量累積部
132 超過符号量算出部
133 補正値更新部
141 量子化部
142 算術符号化部
Claims (9)
- 非圧縮画像データを符号化する画像符号化装置であって、
符号化対象であるカレントマクロブロックの量子化の粗さを示す粗さ設定値を決定する決定部と、
決定された前記粗さ設定値に補正値を加算することにより、前記粗さ設定値を補正する粗さ補正部と、
補正された粗さ設定値を用いて前記カレントマクロブロックを符号化する符号化部と、
を備え、
前記粗さ補正部は、
最初に符号化された先頭マクロブロックから前記カレントマクロブロックまでのマクロブロックごとの発生符号量を累積して第1累積発生符号量を算出し、前記マクロブロックごとに設定された目標符号量を累積して第1累積目標符号量を算出する符号量累積部と、
前記第1累積発生符号量が前記第1累積目標符号量よりも大きい場合、前記補正値を更新する補正値更新部と、
を含む画像符号化装置。 - 請求項1に記載の画像符号化装置において、
前記粗さ補正部は、
前記カレントマクロブロックが符号化されるまでに符号化された符号化済みマクロブロックごとの発生符号量の総和と、前記符号化済みマクロブロックごとの目標符号量の総和との差分値を、超過符号量として算出する超過符号量算出部、
を含み、
前記補正値更新部は、前記第1累積発生符号量から前記第1累積目標符号量を引いた差分値が前記超過符号量よりも大きい場合、前記補正値を更新する画像符号化装置。 - 請求項1または請求項2に記載の画像符号化装置において、さらに、
前記カレントマクロブロックの画素値のばらつき度合いを示すアクティビティに基づいて、前記カレントマクロブロックのレベルを決定するレベル決定部、
を備え、
前記補正値は、
前記レベルに対応したレベル対応補正値、
を含み、
前記粗さ補正部は、前記レベル対応補正値のうち、前記カレントマクロブロックのレベルであるカレントレベルに対応するカレントレベル対応補正値を用いて前記粗さ設定値を補正し、
前記補正値更新部は、前記第1累積発生符号量が前記第1累積目標符号量よりも大きい場合、前記カレントレベル対応補正値を更新する画像符号化装置。 - 請求項3に記載の画像符号化装置において、
前記符号量累積部は、前記マクロブロックのうち、前記カレントレベルに分類された分類マクロブロックごとの発生符号量を累積して第2累積発生符号量を算出し、前記分類マクロブロックごとの目標符号量を累積して第2累積目標符号量を算出し、
前記補正値更新部は、前記第2累積発生符号量が前記第2累積目標符号量よりも大きい場合、前記カレントレベル対応補正値を更新する画像符号化装置。 - 請求項4に記載の画像符号化装置において、
前記カレントマクロブロックが符号化されるまでに符号化された分類マクロブロックごとの発生符号量の総和から、前記符号化された分類マクロブロックの目標符号量の総和を引いた値をレベル超過符号量として算出する超過符号量算出部、
を含み、
前記補正値更新部は、前記第2累積発生符号量と前記第2累積目標符号量との差分値が前記レベル超過符号量よりも大きい場合、前記カレントレベル対応補正値を更新する画像符号化装置。 - 請求項4または請求項5に記載の画像符号化装置において、
前記補正値更新部は、更新された前記カレントレベル対応補正値が予め設定された上限値を超えた場合、前記カレントレベル対応補正値を前記上限値に設定する画像符号化装置。 - 請求項4または請求項5に記載の画像符号化装置において、
前記補正値更新部は、前記第2累積発生符号量が前記第2累積目標符号量と前記カレントレベルに対応して設定された調整値との和である更新基準値よりも大きければ、前記カレントレベル対応補正値を更新する画像符号化装置。 - 請求項4または請求項5に記載の画像符号化装置において、
前記補正値更新部は、前記カレントレベル対応補正値が更新された場合、更新された前記カレントレベル対応補正値を用いて前記粗さ設定値を補正した補正使用回数をカウントし、前記補正使用回数が所定値よりも大きければ、前記カレントレベル対応補正値を再び更新する画像符号化装置。 - 符号化画像データを復号する画像復号化装置と、
請求項1ないし請求項8のいずれかに記載の前記画像符号化装置と、
を備え、
前記画像復号化装置は、デコードした画像データを、前記非圧縮画像データとして前記画像符号化装置に入力する画像変換装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010031809A JP5331024B2 (ja) | 2010-02-16 | 2010-02-16 | 画像符号化装置及び画像変換装置 |
US13/021,315 US9807390B2 (en) | 2010-02-16 | 2011-02-04 | Image coding apparatus for correcting coarseness and encoding uncompressed data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010031809A JP5331024B2 (ja) | 2010-02-16 | 2010-02-16 | 画像符号化装置及び画像変換装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011171855A true JP2011171855A (ja) | 2011-09-01 |
JP5331024B2 JP5331024B2 (ja) | 2013-10-30 |
Family
ID=44369620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010031809A Active JP5331024B2 (ja) | 2010-02-16 | 2010-02-16 | 画像符号化装置及び画像変換装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US9807390B2 (ja) |
JP (1) | JP5331024B2 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016194380A1 (ja) * | 2015-06-03 | 2016-12-08 | 日本電気株式会社 | 動画像符号化装置、動画像符号化方法および動画像符号化プログラムを記憶する記録媒体 |
JP2018082238A (ja) * | 2016-11-14 | 2018-05-24 | キヤノン株式会社 | 画像符号化装置、画像符号化方法、及びプログラム |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6056124B2 (ja) * | 2011-09-05 | 2017-01-11 | 富士ゼロックス株式会社 | 画像処理装置及び画像処理プログラム |
EP3324628B1 (en) * | 2016-11-18 | 2021-12-29 | Axis AB | Method and encoder system for encoding video |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10336649A (ja) * | 1997-05-30 | 1998-12-18 | Nippon Telegr & Teleph Corp <Ntt> | 動画像符号化方法および装置 |
JP2001169281A (ja) * | 1999-12-13 | 2001-06-22 | Matsushita Electric Ind Co Ltd | 動画像符号化装置、および動画像符号化方法 |
JP2002094989A (ja) * | 2000-09-14 | 2002-03-29 | Pioneer Electronic Corp | ビデオ信号符号化装置及びビデオ信号符号化方法 |
WO2009157579A1 (ja) * | 2008-06-27 | 2009-12-30 | ソニー株式会社 | 画像処理装置及び画像処理方法 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4007398B2 (ja) | 2001-03-30 | 2007-11-14 | ソニー株式会社 | 量子化制御装置およびその方法 |
TWI238664B (en) * | 2004-05-12 | 2005-08-21 | Realtek Semiconductor Corp | Method and apparatus for compressing video data |
JP4650173B2 (ja) * | 2005-09-05 | 2011-03-16 | ソニー株式会社 | 符号化装置、符号化方法、符号化方法のプログラム及び符号化方法のプログラムを記録した記録媒体 |
JP4254867B2 (ja) * | 2007-01-31 | 2009-04-15 | ソニー株式会社 | 情報処理装置および方法、プログラム、並びに記録媒体 |
US8681858B2 (en) * | 2009-12-23 | 2014-03-25 | General Instrument Corporation | Rate control for two-pass encoder |
-
2010
- 2010-02-16 JP JP2010031809A patent/JP5331024B2/ja active Active
-
2011
- 2011-02-04 US US13/021,315 patent/US9807390B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10336649A (ja) * | 1997-05-30 | 1998-12-18 | Nippon Telegr & Teleph Corp <Ntt> | 動画像符号化方法および装置 |
JP2001169281A (ja) * | 1999-12-13 | 2001-06-22 | Matsushita Electric Ind Co Ltd | 動画像符号化装置、および動画像符号化方法 |
JP2002094989A (ja) * | 2000-09-14 | 2002-03-29 | Pioneer Electronic Corp | ビデオ信号符号化装置及びビデオ信号符号化方法 |
WO2009157579A1 (ja) * | 2008-06-27 | 2009-12-30 | ソニー株式会社 | 画像処理装置及び画像処理方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016194380A1 (ja) * | 2015-06-03 | 2016-12-08 | 日本電気株式会社 | 動画像符号化装置、動画像符号化方法および動画像符号化プログラムを記憶する記録媒体 |
US10536699B2 (en) | 2015-06-03 | 2020-01-14 | Nec Corporation | Moving image coding device, moving image coding method and recording medium for storing moving image coding program |
JP2018082238A (ja) * | 2016-11-14 | 2018-05-24 | キヤノン株式会社 | 画像符号化装置、画像符号化方法、及びプログラム |
Also Published As
Publication number | Publication date |
---|---|
US9807390B2 (en) | 2017-10-31 |
JP5331024B2 (ja) | 2013-10-30 |
US20110200102A1 (en) | 2011-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5524072B2 (ja) | 動画像符号化装置 | |
JP5472105B2 (ja) | 画像処理装置及び画像処理方法 | |
US8731052B2 (en) | Image processing device and image processing method with feedback control | |
US7899119B2 (en) | Method and device for coding a sequence of source images | |
US9264724B2 (en) | Sign coding for blocks with transform skipped | |
JP5447695B2 (ja) | 動画像符号化装置、動画像符号化方法及び動画像符号化用コンピュータプログラム | |
US8780980B2 (en) | Video image encoding device | |
JP5133290B2 (ja) | 動画像符号化装置および復号装置 | |
JP2009055384A (ja) | 符号化装置、符号化方法、符号化方法のプログラム及び符号化方法のプログラムを記録した記録媒体 | |
EP2978219B1 (en) | Variable rate video encoder | |
JP5331024B2 (ja) | 画像符号化装置及び画像変換装置 | |
JP5094760B2 (ja) | 動画像符号化装置 | |
CN1636405A (zh) | 用于视频代码转换的方法和设备 | |
JP6373033B2 (ja) | 符号化装置及び符号化方法 | |
US8675726B2 (en) | Method and encoder for constrained soft-decision quantization in data compression | |
JP2006295535A (ja) | 動画像符号化装置および方法 | |
JP2010087771A (ja) | 画像符号化装置及び方法 | |
JP4485996B2 (ja) | 画像符号化装置及び画像符号化プログラム | |
JP2010087770A (ja) | 画像符号化装置及び方法 | |
MX2011004849A (es) | Dispositivo de codificacion de imagen y dispositivo de decodificacion de imagen. | |
JP4736619B2 (ja) | 画像処理装置および画像処理方法 | |
JP2008271213A (ja) | 画像符号化装置 | |
JP5250824B2 (ja) | トランスコーダ | |
CN114342383B (en) | Encoding device, decoding device, and program | |
JP6289103B2 (ja) | 画像処理装置及びその制御方法、並びに、プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130122 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130410 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130416 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130611 |
|
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: 20130723 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130726 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5331024 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |
|
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 |