JP6341202B2 - 動画像符号化装置、動画像符号化方法、およびプログラム - Google Patents
動画像符号化装置、動画像符号化方法、およびプログラム Download PDFInfo
- Publication number
- JP6341202B2 JP6341202B2 JP2015522495A JP2015522495A JP6341202B2 JP 6341202 B2 JP6341202 B2 JP 6341202B2 JP 2015522495 A JP2015522495 A JP 2015522495A JP 2015522495 A JP2015522495 A JP 2015522495A JP 6341202 B2 JP6341202 B2 JP 6341202B2
- Authority
- JP
- Japan
- Prior art keywords
- picture
- quantization step
- macroblock
- target
- complexity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
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
- H04N19/126—Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
-
- 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/115—Selection of the code volume for a coding unit prior to 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/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/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- 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
Description
該手法は、まず、注目ピクチャ群(現在の符号化対象となる、1等長化単位のピクチャ群)の目標符号量を該注目ピクチャ群内の各ピクチャに割り当てる。以下において、1等長化単位のピクチャ群の目標符号量を「Sg」で表記し、1ピクチャの目標符号量を「Sp」で表記する。
複雑度は、符号化対象の符号化の困難さを示す指標である。該手法は、それまでに符号化した、注目ピクチャと同一のピクチャタイプのピクチャの発生符号量と平均量子化ステップとの積を、注目ピクチャの複雑度Xestとして推定する。
Q=Xest/ Sp(1)
act_j=1+min(vblk_1,vblk_2,vblk_3,vblk_4) (2)
Nact_j=(2×act_j+avg_act)/(act_j+2×avg_act) (3)
Qact _j=Qbase×Nact_j(4)
Xest=a×F2+b×F+c (5)
図1は、本発明の第1の実施の形態にかかる動画像符号化装置100を示す。動画像符号化装置100は、動画像MPを例えばMPEG方式で可変レートで符号化してビットストリームBSを得て出力するものであり、演算器102、直交変換部104、量子化部106、符号化部108、バッファ110、逆量子化部112、逆直交変換部114、演算器116、フレーム内予測部118、フレーム間予測部120、スイッチ122、量子化ステップ算出部200を備える。
TXmb(j)=Xmb(j)/ACTmb(j) (6)
但し,n:1ピクチャ内のマクロブロックの総数
Qmb(j)=Qbase(j)×ACTmb(j) (9)
上述した第1の実施の形態の動画像符号化装置100において、量子化ステップ算出部200の複雑度推定部202は、TM5の手法により、注目ピクチャと同一のタイプの符号化済みピクチャの発生符号量と平均量子化ステップとの積を注目ピクチャの複雑度Xestとして推定する。そして、複雑度推定部202は、推定した複雑度Xestをマクロブロックの総数nで除算することにより各マクロブロックの複雑度Xmbを算出している。
上述した第1と第2の実施の形態において、注目ピクチャの複雑度を推定して、推定した複雑度をマクロブロックの総数で除算することにより、各マクロブロックに対して同一の複雑度Xmbを算出しているが、マクロブロック毎に複雑度Xmbを算出するようにしてもよい。
Xmb=a×(Fmb)2+b×Fmb+c(10)
102 演算器
104 直交変換部
106 量子化部
108 符号化部
110 バッファ
112 逆量子化部
114 逆直交変換部
116 演算器
118 フレーム内予測部
120 フレーム間予測部
122 スイッチ
200 量子化ステップ算出部
202 複雑度推定部
204 アクティビティ算出部
206 複雑度補正部
208 基準量子化ステップ算出部
210 量子化ステップ適応化部
ACTmb 正規化アクティビティ
BS ビットストリーム
MP 動画像
Qbase 基準量子化ステップ
Qmb 適応量子化ステップ
Sg 目標符号量
Sp 目標符号量
Sr 発生符号量
TXmb 補正複雑度
TXp 補正複雑度
Xest 複雑度
Xmb 複雑度
Claims (3)
- 注目ピクチャを直交変換して直交変換係数を得る直交変換手段と、
前記注目ピクチャのマクロブロック毎に、前記直交変換係数を量子化する量子化手段と、
前記注目ピクチャにおける注目マクロブロックに対して、該注目ピクチャに対して設定された目標符号量に該注目ピクチャの発生符号量を一致させるための変数である基準量子化ステップを求めると共に、算出した前記基準量子化ステップを、前記注目マクロブロックのアクティビティで重み付けることにより、該注目マクロブロックの量子化に適用される量子化ステップを決定して前記量子化手段に供する量子化ステップ算出手段とを備え、
前記量子化ステップ算出手段は、
前記注目ピクチャの各マクロブロックに対して、符号化の困難さを示す複雑度を推定する複雑度推定手段と、
各前記マクロブロックについて、アクティビティが大きいほど補正複雑度が小さくなるように、前記アクティビティで前記複雑度を補正して該マクロブロックの前記補正複雑度を求める複雑度補正手段と、
各前記マクロブロックの前記補正複雑度の総和を前記目標符号量で除算することにより前記基準量子化ステップを算出する基準量子化ステップ算出手段とを有する、
動画像符号化装置。 - 出力するビットスストリームが目標レートになるように符号量制御を行う動画像符号化方法において、
注目ピクチャを直交変換して直交変換係数を得て、
前記注目ピクチャのマクロブロック毎に、前記直交変換係数を量子化し、
前記注目ピクチャにおける注目マクロブロックに対して、該注目ピクチャに対して設定された目標符号量に該注目ピクチャの発生符号量を一致させるための変数である基準量子化ステップを求めると共に、算出した前記基準量子化ステップを、前記注目マクロブロックのアクティビティで重み付けることにより、該注目マクロブロックの量子化に適用される量子化ステップを決定して前記直交変換係数を量子化することに供し、
前記量子化ステップの決定においては、
前記注目ピクチャの各マクロブロックに対して、符号化の困難さを示す複雑度を推定すること、
各前記マクロブロックについて、アクティビティが大きいほど補正複雑度が小さくなるように、前記アクティビティで前記複雑度を補正して該マクロブロックの前記補正複雑度を求めること、及び
各前記マクロブロックの前記補正複雑度の総和を前記目標符号量で除算することにより前記基準量子化ステップを算出することを備える、
動画像符号化方法。 - 出力するビットスストリームが目標レートになるように符号量制御を行う動画像符号化に際して、
注目ピクチャを直交変換して直交変換係数を得て、
前記注目ピクチャのマクロブロック毎に、前記直交変換係数を量子化し、
前記注目ピクチャにおける注目マクロブロックに対して、該注目ピクチャに対して設定された目標符号量に該注目ピクチャの発生符号量を一致させるための変数である基準量子化ステップを求めると共に、算出した前記基準量子化ステップを、前記注目マクロブロックのアクティビティで重み付けることにより、該注目マクロブロックの量子化に適用される量子化ステップを決定して前記直交変換係数を量子化することに供することをコンピュータに実行せしめ、
前記量子化ステップの決定においては、
前記注目ピクチャの各マクロブロックに対して、符号化の困難さを示す複雑度を推定すること、
各前記マクロブロックについて、アクティビティが大きいほど補正複雑度が小さくなるように、前記アクティビティで前記複雑度を補正して該マクロブロックの前記補正複雑度を求めること、及び
各前記マクロブロックの前記補正複雑度の総和を前記目標符号量で除算することにより前記基準量子化ステップを算出することを前記コンピュータに実行せしめる、
プログラム。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013124658 | 2013-06-13 | ||
JP2013124658 | 2013-06-13 | ||
PCT/JP2014/002610 WO2014199566A1 (ja) | 2013-06-13 | 2014-05-19 | 動画像符号化装置及び動画像符号化方法並びにプログラムが格納された非一時的なコンピュータ可読媒体 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2014199566A1 JPWO2014199566A1 (ja) | 2017-02-23 |
JP6341202B2 true JP6341202B2 (ja) | 2018-06-13 |
Family
ID=52021888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015522495A Expired - Fee Related JP6341202B2 (ja) | 2013-06-13 | 2014-05-19 | 動画像符号化装置、動画像符号化方法、およびプログラム |
Country Status (3)
Country | Link |
---|---|
US (1) | US10264260B2 (ja) |
JP (1) | JP6341202B2 (ja) |
WO (1) | WO2014199566A1 (ja) |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3872849B2 (ja) * | 1996-11-28 | 2007-01-24 | 松下電器産業株式会社 | 動画像符号化装置 |
JPH10224786A (ja) | 1997-02-06 | 1998-08-21 | Sony Corp | 画像符号化装置および画像符号化方法、画像伝送装置および画像伝送方法、並びに記録媒体 |
JPH11346365A (ja) | 1998-04-03 | 1999-12-14 | Matsushita Electric Ind Co Ltd | 符号化圧縮方法、および符号化圧縮装置 |
JP4362794B2 (ja) | 1999-07-05 | 2009-11-11 | 日本ビクター株式会社 | 動画像符号化装置及びその方法 |
JP2002247584A (ja) | 2001-02-15 | 2002-08-30 | Nippon Telegr & Teleph Corp <Ntt> | 画像符号化方法および装置、並びに、画像符号化処理用プログラム及びそのプログラムの記録媒体 |
US7095784B2 (en) * | 2003-04-14 | 2006-08-22 | Silicon Intergrated Systems Corp. | Method and apparatus for moving picture compression rate control using bit allocation with initial quantization step size estimation at picture level |
JP4249672B2 (ja) * | 2004-08-16 | 2009-04-02 | Kddi株式会社 | ビデオ情報複数同時符号化装置 |
JP4399794B2 (ja) | 2004-09-16 | 2010-01-20 | 日本ビクター株式会社 | 画像符号化装置及び画像符号化方法 |
JP4795223B2 (ja) | 2006-01-31 | 2011-10-19 | キヤノン株式会社 | 画像処理装置 |
JP5078837B2 (ja) | 2007-10-29 | 2012-11-21 | キヤノン株式会社 | 符号化装置、符号化装置の制御方法及びコンピュータプログラム |
US9152875B2 (en) * | 2009-06-11 | 2015-10-06 | Texas Instruments Incorporated | Preserving text quality in video encoding |
-
2014
- 2014-05-19 WO PCT/JP2014/002610 patent/WO2014199566A1/ja active Application Filing
- 2014-05-19 JP JP2015522495A patent/JP6341202B2/ja not_active Expired - Fee Related
- 2014-05-19 US US14/895,028 patent/US10264260B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPWO2014199566A1 (ja) | 2017-02-23 |
US20160127729A1 (en) | 2016-05-05 |
US10264260B2 (en) | 2019-04-16 |
WO2014199566A1 (ja) | 2014-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9071840B2 (en) | Encoder with adaptive rate control for H.264 | |
Guo et al. | Optimal bit allocation at frame level for rate control in HEVC | |
CN109068137B (zh) | 兴趣区域感知的视频编码 | |
US9426475B2 (en) | Scene change detection using sum of variance and estimated picture encoding cost | |
US20100111163A1 (en) | Method for p-domain frame level bit allocation for effective rate control and enhanced video encoding quality | |
US8681858B2 (en) | Rate control for two-pass encoder | |
JP5411144B2 (ja) | ビデオ・エンコードおよびデコードにおけるレート制御の精度のための方法および装置 | |
KR101603747B1 (ko) | 비디오 인코딩에서 속도 제어 정확성을 위한 방법 및 장치 | |
JP2007089035A (ja) | 動画像符号化方法、装置及びプログラム | |
JP2001510311A (ja) | 符号化方式におけるオブジェクトベースのレート制御装置及びその方法 | |
JP2001512643A (ja) | コード化システムにおけるレート制御を最適化するための装置および方法 | |
Rehman et al. | SSIM-inspired perceptual video coding for HEVC | |
US20100111180A1 (en) | Scene change detection | |
US9955168B2 (en) | Constraining number of bits generated relative to VBV buffer | |
JP5618128B2 (ja) | 符号化装置、符号化方法、およびプログラム | |
JP7343817B2 (ja) | 符号化装置、符号化方法、及び符号化プログラム | |
JP5649296B2 (ja) | 画像符号化装置 | |
JP6341202B2 (ja) | 動画像符号化装置、動画像符号化方法、およびプログラム | |
JPH07203430A (ja) | 画像符号化装置 | |
JP5136470B2 (ja) | 動画像符号化装置及び動画像符号化方法 | |
JP4942208B2 (ja) | 符号化装置 | |
JP2011244334A (ja) | 動画像符号化装置、動画像符号化方法及びプログラム | |
CN102202220B (zh) | 编码设备及其控制方法 | |
KR100918560B1 (ko) | 실시간 h.263 영상 부호율 제어를 위한 비트량 예측 장치및 그 방법 | |
KR101197094B1 (ko) | H.264/avc를 위한 통계 모델 기반의 비트율 제어 방법 및 장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170414 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180222 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180227 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180405 |
|
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: 20180417 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180430 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6341202 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |