JP5736032B2 - 算術符号化のための適応型2値化 - Google Patents
算術符号化のための適応型2値化 Download PDFInfo
- Publication number
- JP5736032B2 JP5736032B2 JP2013503990A JP2013503990A JP5736032B2 JP 5736032 B2 JP5736032 B2 JP 5736032B2 JP 2013503990 A JP2013503990 A JP 2013503990A JP 2013503990 A JP2013503990 A JP 2013503990A JP 5736032 B2 JP5736032 B2 JP 5736032B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- binary symbol
- probability
- arithmetic
- mapping 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.)
- Active
Links
- 230000003044 adaptive effect Effects 0.000 title description 9
- 238000000034 method Methods 0.000 claims description 101
- 238000013507 mapping Methods 0.000 claims description 45
- 230000007423 decrease Effects 0.000 claims description 8
- 238000000926 separation method Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 75
- 238000012545 processing Methods 0.000 description 32
- 230000036961 partial effect Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 13
- 238000004364 calculation method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000009826 distribution Methods 0.000 description 8
- 230000007704 transition Effects 0.000 description 8
- 230000003068 static effect Effects 0.000 description 6
- 230000003247 decreasing effect Effects 0.000 description 4
- 238000013139 quantization Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- H03M7/4006—Conversion to or from arithmetic code
- H03M7/4012—Binary arithmetic codes
- H03M7/4018—Context adapative binary arithmetic codes [CABAC]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
p(k)=(1−p)k−1×p
kはシンボルの絶対値であり、pはモデルパラメータであり、p(k)はシンボルの出現の確率である。この種の分布は、k−1個の2値シンボルA、次いで1つの2値シンボルBを使用して値kが符号化されるCABACによる2値算術符号化に適している。理想的な算術コーダを用い、既知のパラメータpを有する静的なソースの場合、値kを符号化するのに必要な予想ビット数は、
−(k−1)×log2(1−p)−log2p
に等しい。
−(k−1)×log2(1−p)−log2p+k×z
により概算することができ、zは、0.01〜0.02の範囲の値であり、推定処理に伴う非効率性を表す。kの予想値を1/pで表すことができるとすると、上記式は、
になる。したがって、パラメータpが小さくなるにつれ、zに伴う非効率性が増し、値kを符号化するために使用されるビット数は理論的に必要なビット数よりもかなり多くなる。すなわち、パラメータpが小さくなると、算術コーダはシンボルを効率的に圧縮することができなくなる。さらに、この非効率性は、有限精度環境で課される制約、すなわち、パラメータpが小さい時に正確な符号化計算を行えないことにより増大する。
init_suffix(context) (
suffix_size[context] = 0;
while (p[context] < 0x2000) (
suffix_size[context]++;
p[context] = 2*p[context] - ((p[context]*p[context] +
0x8000) >> 16);
)
)
(1−p’)=(1−p)2又はp’=2p−p2
となる。
update(context, symbol) (
if (val == 0)
p[context] += (Oxffff - p[context] + round) >> loss rate;
else
p[context] -= (p[context] + round) >> loss_rate;
)
while (s--)
put(((N-1)>>s) & 0x01)
update_suffix(context) (
if (p[context] < 0x2000) (
p[context) = 2*p[context] - 0x400;
suffix_size(context)++;
)
else if (p[context] > 0x3c00 && suffix_size[context] != 0) (
p[context] = (p[context] + 0x400) >> 1;
suffix_size[context]--;
)
)
decode_symbol(context) (
R0 = (R * p[context] + 0x8000) >> 16;
R0 = R0 << 15;
if (V < R0) (
symbol = 0;
R = R0;
)
else (
symbol = 1;
R = R - R0;
V = V - R0;
)
while (R < 0x8000) (
R = 2*R;
V = 2*V + getbits(1);
)
update(context, symbol);
return symbol;
)
decode_symbol_unary(context) (
symbol = 1;
while (decode_symbol (context) == 1) (
symbol += 1 << suffix_size[context];
update_suffix(context);
)
for (i=suffix_size[context]-1; i>=0; i--)
symbol += decode_symbol_fixed() << i;
update_suffix(context);
return symbol;
)
Claims (22)
- 1回の符号化のたびに、1つの2値シンボルにマッピングされる非2値シンボルの値であるマッピング単位値を、非2値シンボルから1つの2値シンボルに2値化するように構成されたバイナライザと、
2値シンボルの値の出現確率である確率パラメータであって複数回の符号化を通じて遷移することが可能な確率パラメータを使用して、前記バイナライザからの2値シンボルを1回の符号化のたびに1つ符号化するように構成された算術符号化エンジンと、
を備え、
前記非2値シンボルからの前記マッピング単位値は、前記確率パラメータに合わせて適応的に可変である、
算術エンコーダ。 - ビデオエンコーダのプロセッサによって実行されて、
1回の符号化のたびに、1つの2値シンボルにマッピングされる非2値シンボルの値であるマッピング単位値を、非2値シンボルから1つの2値シンボルに2値化するステップと、
2値シンボルの値の出現確率である確率パラメータであって複数回の符号化を通じて遷移することが可能な確率パラメータを使用して、2値シンボルを1回の符号化のたびに1つ符号化するステップと、
を実施させるコンピュータ実行可能ステップを含み、
前記マッピング単位値は、前記確率パラメータに合わせて適応的に可変である、
算術符号化方法。 - 前記確率パラメータに合わせて適応的に可変のサイズパラメータを使用して、前記サイズパラメータの大きさに基づいて決定される前記マッピング単位値を求めるステップをさらに含む、請求項2に記載の算術符号化方法。
- 前記非2値シンボルの残り値が前記マッピング単位値以下になるまで、1回の符号化のたびに前記非2値シンボルから前記マッピング単位値を反復的に減算するステップをさらに含む、請求項3に記載の算術符号化方法。
- 1回の符号化のたびに前記確率パラメータを更新するステップをさらに含む、請求項2に記載の算術符号化方法。
- 前記確率パラメータが所定の閾値よりも小さいか又は大きいかに基づいて、前記サイズパラメータを変更する必要があるかどうかを1回ごとに判定するステップをさらに含む、請求項3に記載の算術符号化方法。
- 前記確率パラメータが所定の閾値よりも小さい場合に前記サイズパラメータを変更することにより前記マッピング単位値を増大させるステップをさらに含む、請求項3に記載の算術符号化方法。
- 前記確率パラメータを調整して前記所定の閾値に近づけることで前記マッピング単位値の増大を補償するステップをさらに含む、請求項7に記載の算術符号化方法。
- 前記確率パラメータが所定の閾値よりも大きい場合に前記サイズパラメータを変更して前記マッピング単位値を減少させるステップをさらに含む、請求項3に記載の算術符号化方法。
- 前記確率パラメータを調整して前記所定の閾値に近づけることで前記マッピング単位値の減少を補償するステップをさらに含む、請求項9に記載の算術符号化方法。
- 前記非2値シンボルの前記残り値が前記マッピング単位値以下になった時に、前記サイズパラメータを使用して前記非2値シンボルの前記残り値をサフィックスの2値シンボルに変換し、前記サフィックスの2値シンボルを符号化するステップをさらに含む、請求項4に記載の算術符号化方法。
- 2値シンボルの値の出現確率である確率パラメータであって複数回の復号を通じて遷移することが可能な確率パラメータを使用して、算術符号語を1回の復号のたびに1つ復号して2値シンボルにするように構成された算術復号エンジンと、
前記2値シンボルを1回の復号のたびに1つ逆2値化して、非2値シンボルを再構築するために合計される、1つの2値シンボルにマッピングされる非2値シンボルの値であるマッピング単位値にするように構成されたデバイナライザと、
を備え、
前記マッピング単位値は、前記確率パラメータに合わせて適応的に可変である、
算術デコーダ。 - ビデオデコーダのプロセッサによって実行されて、
2値シンボルの値の出現確率である確率パラメータであって複数回の復号を通じて遷移することが可能な確率パラメータを使用して、算術符号語を1回の復号のたびに1つ復号して2値シンボルにするステップと、
前記2値シンボルを1回の復号のたびに1つ逆2値化して、非2値シンボルを再構築するために合計される、1つの2値シンボルにマッピングされる非2値シンボルの値であるマッピング単位値にするステップと、
を実施させるコンピュータ実行可能ステップを含み、
前記マッピング単位値は、前記確率パラメータに合わせて適応的に可変である、
算術復号方法。 - 前記確率パラメータに合わせて適応的に可変のサイズパラメータを使用して、前記サイズパラメータの大きさに基づいて決定される前記マッピング単位値を求めるステップをさらに含む、請求項13に記載の算術復号方法。
- 1回の符号化のたびに前記確率パラメータを更新するステップをさらに含む、請求項13に記載の算術復号方法。
- 前記確率パラメータが所定の閾値よりも小さいか又は大きいかに基づいて、1回の復号のたびに、前記サイズパラメータを変更する必要があるかどうかを判定するステップをさらに含む、請求項14に記載の算術復号方法。
- 前記確率パラメータが所定の閾値よりも小さい場合に前記サイズパラメータを変更することにより前記マッピング単位値を増大させるステップをさらに含む、請求項14に記載の算術復号方法。
- 前記確率パラメータを調整して前記所定の閾値に近づけることで前記マッピング単位値の増大を補償するステップをさらに含む、請求項17に記載の算術復号方法。
- 前記確率パラメータが所定の閾値よりも大きい場合に前記サイズパラメータを変更して前記マッピング単位値を減少させるステップをさらに含む、請求項14に記載の算術復号方法。
- 前記確率パラメータを調整して前記所定の閾値に近づけることで前記マッピング単位値の減少を補償するステップをさらに含む、請求項19に記載の算術復号方法。
- 前記2値シンボルにするステップからの2値シンボルが、分離点となる2値シンボルである時に、残りの算術符号語を復号してサフィックスの2値シンボルにするステップをさらに含む、請求項13に記載の算術復号方法。
- 前記サフィックスの2値シンボルを逆2値化して、前記非2値シンボルを再構築するために加算される値にするステップをさらに含む、請求項21に記載の算術復号方法。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US32259610P | 2010-04-09 | 2010-04-09 | |
US61/322,596 | 2010-04-09 | ||
PCT/US2011/031782 WO2011127403A1 (en) | 2010-04-09 | 2011-04-08 | Adaptive binarization for arithmetic coding |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013526140A JP2013526140A (ja) | 2013-06-20 |
JP5736032B2 true JP5736032B2 (ja) | 2015-06-17 |
Family
ID=44763302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013503990A Active JP5736032B2 (ja) | 2010-04-09 | 2011-04-08 | 算術符号化のための適応型2値化 |
Country Status (3)
Country | Link |
---|---|
US (1) | US8736467B2 (ja) |
JP (1) | JP5736032B2 (ja) |
WO (1) | WO2011127403A1 (ja) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006097931A2 (en) * | 2005-03-17 | 2006-09-21 | Valtech Cardio, Ltd. | Mitral valve treatment techniques |
US20130223528A1 (en) * | 2010-11-15 | 2013-08-29 | Electronics And Telecommunications Research Institute | Method and apparatus for parallel entropy encoding/decoding |
US10123053B2 (en) * | 2011-05-23 | 2018-11-06 | Texas Instruments Incorporated | Acceleration of bypass binary symbol processing in video coding |
CN106101727B (zh) | 2011-08-04 | 2019-10-08 | 寰发股份有限公司 | 基于上下文自适应二进制算术编码的方法及装置 |
US9088796B2 (en) | 2011-11-07 | 2015-07-21 | Sharp Kabushiki Kaisha | Video decoder with enhanced CABAC decoding |
CN108391128A (zh) | 2011-11-08 | 2018-08-10 | 三星电子株式会社 | 用于对视频进行解码的设备 |
US20130114667A1 (en) * | 2011-11-08 | 2013-05-09 | Sony Corporation | Binarisation of last position for higher throughput |
US9503717B2 (en) * | 2012-01-09 | 2016-11-22 | Texas Instruments Incorporated | Context adaptive binary arithmetic coding (CABAC) with scalable throughput and coding efficiency |
US9584802B2 (en) | 2012-04-13 | 2017-02-28 | Texas Instruments Incorporated | Reducing context coded and bypass coded bins to improve context adaptive binary arithmetic coding (CABAC) throughput |
EP2840789B1 (en) * | 2012-04-15 | 2018-09-12 | Samsung Electronics Co., Ltd. | Parameter update method for entropy decoding of conversion coefficient level, and entropy decoding device of conversion coefficient level using same |
KR20130122353A (ko) * | 2012-04-30 | 2013-11-07 | 삼성전자주식회사 | 비트율 추정 장치 및 그것의 비트율 추정 방법 |
GB2513110A (en) * | 2013-04-08 | 2014-10-22 | Sony Corp | Data encoding and decoding |
WO2017041271A1 (en) * | 2015-09-10 | 2017-03-16 | Mediatek Singapore Pte. Ltd. | Efficient context modeling for coding a block of data |
US10158874B2 (en) * | 2015-09-30 | 2018-12-18 | Apple Inc. | Parallel bypass and regular bin coding |
US10394523B2 (en) * | 2015-10-14 | 2019-08-27 | Avanseus Holdings Pte. Ltd. | Method and system for extracting rule specific data from a computer word |
US9851943B2 (en) * | 2016-03-04 | 2017-12-26 | Avanseus Holdings Pte. Ltd. | Method and system for number comparison during stream processing |
US9712830B1 (en) | 2016-09-15 | 2017-07-18 | Dropbox, Inc. | Techniques for image recompression |
US10264264B2 (en) * | 2016-09-24 | 2019-04-16 | Apple Inc. | Multi-bin decoding systems and methods |
US10547869B2 (en) | 2017-12-08 | 2020-01-28 | Google Llc | Template-based entropy coding of quantized transform coefficients |
US10609421B2 (en) | 2018-07-12 | 2020-03-31 | Google Llc | Context derivation for coefficient coding |
US10869062B2 (en) * | 2017-12-21 | 2020-12-15 | Qualcomm Incorporated | Probability initialization and signaling for adaptive arithmetic coding in video coding |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003318740A (ja) * | 2002-04-23 | 2003-11-07 | Matsushita Electric Ind Co Ltd | 可変長符号化方法および可変長復号化方法 |
JP4091108B1 (ja) * | 2002-04-26 | 2008-05-28 | 松下電器産業株式会社 | 可変長復号化装置および画像復号化装置 |
JP4240283B2 (ja) * | 2002-10-10 | 2009-03-18 | ソニー株式会社 | 復号装置及び復号方法 |
US7599438B2 (en) * | 2003-09-07 | 2009-10-06 | Microsoft Corporation | Motion vector block pattern coding and decoding |
US7599435B2 (en) * | 2004-01-30 | 2009-10-06 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Video frame encoding and decoding |
JP4540585B2 (ja) * | 2005-10-20 | 2010-09-08 | パナソニック株式会社 | 符号化装置及び復号化装置 |
JP4878262B2 (ja) * | 2006-10-31 | 2012-02-15 | キヤノン株式会社 | エントロピー符号化装置 |
KR101356733B1 (ko) * | 2007-03-07 | 2014-02-05 | 삼성전자주식회사 | 컨텍스트 기반 적응적 이진 산술 부호화, 복호화 방법 및장치 |
US8509555B2 (en) * | 2008-03-12 | 2013-08-13 | The Boeing Company | Error-resilient entropy coding for partial embedding and fine grain scalability |
-
2011
- 2011-04-08 JP JP2013503990A patent/JP5736032B2/ja active Active
- 2011-04-08 WO PCT/US2011/031782 patent/WO2011127403A1/en active Application Filing
- 2011-04-08 US US13/638,803 patent/US8736467B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US8736467B2 (en) | 2014-05-27 |
US20130028334A1 (en) | 2013-01-31 |
JP2013526140A (ja) | 2013-06-20 |
WO2011127403A1 (en) | 2011-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5736032B2 (ja) | 算術符号化のための適応型2値化 | |
CN113170132B (zh) | 使用或适用于与依赖标量量化的组合的变换系数的有效编码 | |
JP4313771B2 (ja) | 画像および/またはビデオ符号器と復号器における変換係数を符号化するための方法と装置および対応するコンピュータプログラムと対応するコンピュータによる読み出し可能な記憶媒体 | |
JP5952900B2 (ja) | エントロピー符号化をサポートするモード切替 | |
KR100801364B1 (ko) | 산술부호의 복호기 또는 부호화기와 역2치화 변환기 또는2치화 변환기의 사이에 중간 버퍼가 삽입된 복호장치 또는부호화 장치 | |
CN107743239B (zh) | 一种视频数据编码、解码的方法及装置 | |
KR100733795B1 (ko) | 이진상태들의 산술적 인코딩 및 디코딩 방법 및 장치, 및이에 해당하는 컴퓨터 프로그램 및 컴퓨터 판독가능저장매체 | |
TWI827010B (zh) | 算術編碼器、算術解碼器、視訊編碼器、視訊解碼器、編碼方法、解碼方法及電腦程式 | |
JP2006126810A (ja) | 後方適応規則を用いた整数データの無損失適応Golomb−Rice符号化および復号化 | |
RU2693902C2 (ru) | Кодер, декодер и способ | |
JP2008118307A (ja) | 符号化装置及びその制御方法 | |
US11475600B2 (en) | Method and device for digital data compression | |
US20220109891A1 (en) | Features of range asymmetric number system encoding and decoding | |
JP5961189B2 (ja) | 算術符号化及び終了のための方法及び装置 | |
KR100717055B1 (ko) | Cabac 복호기에서 복수의 이진 값들을 파이프라인방식에 의하여 복호화하는 방법 및 이를 위한 복호화 장치 | |
CN102474274B (zh) | 算术编码和解码的方法 | |
CN114731407B (zh) | 算术编码器和解码器、视频编码器和解码器、用于编码或解码符号的方法以及用于编码或解码视频内容的方法 | |
JP2006129467A (ja) | 整数データの無損失適応符号化・復号化 | |
JP2015511443A (ja) | 二値算術符号化スキーム | |
JP4936574B2 (ja) | 符号化装置及びその制御方法 | |
RU2765654C9 (ru) | Способ и устройство для сжатия цифровых данных | |
JP6509916B2 (ja) | 連結されたrom−ramテーブルに基づいて算術コーディングを遂行する方法及び装置 | |
JP2025508344A (ja) | 量子化エントロピーコーディング分布パラメータを使用したニューラルネットワークメディア圧縮 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131101 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140827 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140930 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141201 |
|
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: 20150414 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150417 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5736032 Country of ref document: JP 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 |