JP2011109385A - Image encoder - Google Patents

Image encoder Download PDF

Info

Publication number
JP2011109385A
JP2011109385A JP2009261970A JP2009261970A JP2011109385A JP 2011109385 A JP2011109385 A JP 2011109385A JP 2009261970 A JP2009261970 A JP 2009261970A JP 2009261970 A JP2009261970 A JP 2009261970A JP 2011109385 A JP2011109385 A JP 2011109385A
Authority
JP
Japan
Prior art keywords
code amount
unit
stripe
step size
bit
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.)
Pending
Application number
JP2009261970A
Other languages
Japanese (ja)
Inventor
Ikuro Ueno
幾朗 上野
Kiyotaka Kato
聖崇 加藤
Ryuta Suzuki
隆太 鈴木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009261970A priority Critical patent/JP2011109385A/en
Publication of JP2011109385A publication Critical patent/JP2011109385A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform high-accuracy rate control by suppressing the occurrence of a control error of a code amount even in one-pass processing. <P>SOLUTION: An image encoder is provided with a quantization step size calculation part 20 that calculates a quantization step size Δ from a target code amount BT(n) and a statistic E(n) so as to give the quantization step size Δ to a quantization part 13 and a lower-bit truncation part 16 that truncates all or a part of lower bits outputted without being compressed from an entropy coding part 15 when a code amount B(n) of code data outputted from the entropy coding part 15 to an output buffer 17 exceeds a target code amount BT(n). <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、符号データの符号量が一定値になるように制御して、所望の符号化レートで伝送を実現する画像符号化装置に関するものである。   The present invention relates to an image encoding apparatus that controls transmission so that the code amount of code data becomes a constant value and realizes transmission at a desired encoding rate.

高解像度の画像を定レートで伝送するために画像を適当なサイズに分割し、各分割画像が一定の符号量になるように、分割画像毎に、量子化ステップサイズを制御して符号化する技術が一般的に採用されている。
図13は量子化ステップサイズを制御して符号化する技術が採用されている一般的な画像符号化装置を示す構成図である。
以下、複数ライン×画像幅からなるストライプn(n=1,2,・・・,N)をレート制御単位として、ストライプnの量子化ステップを制御する手法について説明する(例えば、特許文献1を参照)。
In order to transmit a high-resolution image at a constant rate, the image is divided into an appropriate size, and the quantization step size is controlled and encoded for each divided image so that each divided image has a constant code amount. Technology is generally adopted.
FIG. 13 is a block diagram showing a general image encoding apparatus that employs a technique for controlling and encoding the quantization step size.
Hereinafter, a method for controlling the quantization step of the stripe n using a stripe n (n = 1, 2,..., N) having a plurality of lines × image width as a rate control unit will be described (for example, see Patent Document 1). reference).

(1)ストライプnの目標符号量の算出処理
この算出処理では、既に符号化済みのストライプの符号量から、符号化対象のストライプnの目標符号量を算出する。
このとき、過去のストライプにおいて、符号量が多く発生しすぎている場合には、次のストライプで目標符号量を小さくし、逆に、符号量が少ない場合には、次のストライプで目標符号量を大きくする。
(1) Calculation process of target code amount of stripe n In this calculation process, the target code amount of the stripe n to be encoded is calculated from the code amount of the already encoded stripe.
At this time, if a large amount of code has occurred in the past stripe, the target code amount is decreased in the next stripe, and conversely, if the code amount is small, the target code amount is determined in the next stripe. Increase

(2)ストライプnの統計量の算出処理
この算出処理では、符号化対象のストライプで生成される符号量を予測するために、ストライプnの情報量を示す統計量を算出する。
例えば、ストライプnの統計量として、ストライプnの分散や、隣接画素間の差分電力などを算出する。
(2) Statistic Calculation Processing for Stripe n In this calculation processing, a statistic indicating the information amount of stripe n is calculated in order to predict the code amount generated in the stripe to be encoded.
For example, as the statistic of the stripe n, the distribution of the stripe n, the difference power between adjacent pixels, and the like are calculated.

(3)ストライプnに対する量子化ステップサイズの算出処理
この算出処理では、ストライプnの統計量を参照して、ストライプnの符号量が目標符号量になると予測される量子化ステップサイズを決定する。
例えば、複雑な絵柄のストライプであれば、量子化ステップサイズを大きめに取り、逆に、単純なストライプであれば、量子化ステップサイズを小さめに取るようにする。
これにより、ストライプ毎に適切な値の量子化ステップサイズが設定されて、各ストリップでの発生符号量が制御される。
(3) Quantization Step Size Calculation Processing for Stripe n In this calculation processing, a quantization step size that is predicted that the code amount of stripe n becomes the target code amount is determined with reference to the statistic of stripe n.
For example, if the stripe has a complicated pattern, the quantization step size is increased. Conversely, if it is a simple stripe, the quantization step size is decreased.
Thereby, an appropriate value of the quantization step size is set for each stripe, and the generated code amount in each strip is controlled.

EP0631443A1EP0631443A1

従来の画像符号化装置は以上のように構成されているので、ストライプnの符号量が目標符号量になると予測される量子化ステップサイズが決定されるが、ストライプnの正確な符号量は、実際にハフマン符号化を実施してみないとわからない。このため、1パスの処理では、ある程度の符号量の制御誤差が発生してしまう課題があった。
なお、マルチパスの処理を行うようにすれば、適切な量子化ステップサイズを探すことができるが、何度もハフマン符号化を実施することになるため、処理量の増大を伴うことになる。
Since the conventional image coding apparatus is configured as described above, the quantization step size predicted when the code amount of the stripe n becomes the target code amount is determined, but the accurate code amount of the stripe n is If you do not actually implement Huffman coding, you will not know. For this reason, there is a problem that a control error of a certain amount of code occurs in the one-pass process.
If multi-pass processing is performed, an appropriate quantization step size can be found, but Huffman encoding is performed many times, which increases the amount of processing.

この発明は上記のような課題を解決するためになされたもので、1パスの処理でも、符号量の制御誤差の発生を抑制して、高精度なレート制御を実現することができる画像符号化装置を得ることを目的とする。   The present invention has been made to solve the above-described problems, and is an image coding capable of realizing high-accuracy rate control by suppressing the occurrence of a code amount control error even in one-pass processing. The object is to obtain a device.

この発明に係る画像符号化装置は、既に符号化済みのストライプの符号量から目標符号量を算出する目標符号量算出手段と、画像分割手段により分割されたストライプの統計量を算出する統計量算出手段と、目標符号量算出手段により算出された目標符号量と統計量算出手段により算出された統計量から量子化ステップサイズを算出し、その量子化ステップサイズを量子化手段に与える量子化ステップサイズ算出手段と、エントロピ符号化手段から出力バッファ手段に出力される符号データの符号量が、目標符号量算出手段により算出された目標符号量を上回る場合、エントロピ符号化手段から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる下位ビット切捨手段とを設けるようにしたものである。   An image encoding apparatus according to the present invention includes a target code amount calculating unit that calculates a target code amount from a code amount of an already encoded stripe, and a statistical amount calculation that calculates a statistical amount of a stripe divided by the image dividing unit. A quantization step size calculated from the target code amount calculated by the means and the target code amount calculation unit and the statistic calculated by the statistic calculation unit, and the quantization step size is given to the quantization unit When the code amount of the code data output from the calculating means and the entropy encoding means to the output buffer means exceeds the target code amount calculated by the target code amount calculating means, the code data is output without being compressed from the entropy encoding means. And lower bit truncation means for truncating all or part of the lower bits.

この発明によれば、既に符号化済みのストライプの符号量から目標符号量を算出する目標符号量算出手段と、画像分割手段により分割されたストライプの統計量を算出する統計量算出手段と、目標符号量算出手段により算出された目標符号量と統計量算出手段により算出された統計量から量子化ステップサイズを算出し、その量子化ステップサイズを量子化手段に与える量子化ステップサイズ算出手段と、エントロピ符号化手段から出力バッファ手段に出力される符号データの符号量が、目標符号量算出手段により算出された目標符号量を上回る場合、エントロピ符号化手段から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる下位ビット切捨手段とを設けるように構成したので、1パスの処理でも、符号量の制御誤差の発生を抑制して、高精度なレート制御を実現することができる効果がある。   According to this invention, the target code amount calculating means for calculating the target code amount from the code amount of the already encoded stripe, the statistical amount calculating means for calculating the statistical amount of the stripe divided by the image dividing means, and the target A quantization step size calculating unit that calculates a quantization step size from the target code amount calculated by the code amount calculating unit and the statistic calculated by the statistic calculating unit, and gives the quantization step size to the quantizing unit; When the code amount of the code data output from the entropy encoding unit to the output buffer unit exceeds the target code amount calculated by the target code amount calculation unit, the lower bit of the lower bits output without being compressed from the entropy encoding unit Since it is configured to provide a lower-order bit truncation means that truncates all or part of the code amount, a code amount control error occurs even in one pass processing. To suppress an effect that can realize highly accurate rate control.

この発明の実施の形態1による画像符号化装置を示す構成図である。It is a block diagram which shows the image coding apparatus by Embodiment 1 of this invention. この発明の実施の形態1による画像符号化装置の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the image coding apparatus by Embodiment 1 of this invention. この発明の実施の形態1による画像符号化装置の下位ビット切捨部16の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the low-order bit truncation part 16 of the image coding apparatus by Embodiment 1 of this invention. ストライプ分割部11により分割されるストライプの一例を示す説明図である。It is explanatory drawing which shows an example of the stripe divided | segmented by the stripe division part 11. FIG. QP=3,10,25,150の場合のストライプの統計量と発生符号量の関係を示す説明図である。It is explanatory drawing which shows the relationship between the statistic of a stripe in the case of QP = 3, 10, 25, 150 and the amount of generated codes. 「JPEG XR」の変換係数を示す説明図である。It is explanatory drawing which shows the conversion coefficient of "JPEG XR". 予測誤差の絶対値を自然2進数で表現した場合のMSB(Most Significant Bit)からLSB(Least Significant Bit)までのビットプレーンを模式的に表す説明図である。It is explanatory drawing which represents typically the bit plane from MSB (Most Significant Bit) to LSB (Least Significant Bit) at the time of expressing the absolute value of a prediction error by a natural binary number. 下位ビットの削減ビット数と削減符号量の対応関係を示すテーブル図である。It is a table figure which shows the correspondence of the reduction bit number of a low-order bit, and the reduction code amount. タイルが64×2個のマクロブロックで構成されている例を示す説明図である。It is explanatory drawing which shows the example in which the tile is comprised by the macroblock of 64x2. この発明の実施の形態3による画像符号化装置を示す構成図である。It is a block diagram which shows the image coding apparatus by Embodiment 3 of this invention. 下位ビットの非圧縮伝送を示す説明図である。It is explanatory drawing which shows the uncompressed transmission of a low-order bit. 下位ビットの削減ビット数とサインビットの削減の有無と削減符号量の対応関係を示すテーブル図である。It is a table figure which shows the correspondence of the number of reduction bits of a low-order bit, the presence or absence of reduction of a sign bit, and a reduction code amount. 量子化ステップサイズを制御して符号化する技術が採用されている一般的な画像符号化装置を示す構成図である。It is a block diagram which shows the general image coding apparatus by which the technique which controls and encodes a quantization step size is employ | adopted.

実施の形態1.
図1はこの発明の実施の形態1による画像符号化装置を示す構成図である。
図1において、符号化処理部1は、例えば、静止画像の標準符号化方式である「JPEG XR(ISO/IEC 29199−2)」を使用して、画像データの符号化処理を実施する処理部である。
符号化処理部1のストライプ分割部11は符号化対象の画像をストライプ(n)(n=1,2,・・・,N)単位に分割する処理を実施する。なお、ストライプ分割部11は画像分割手段を構成している。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing an image coding apparatus according to Embodiment 1 of the present invention.
In FIG. 1, the encoding processing unit 1 uses, for example, “JPEG XR (ISO / IEC 29199-2)”, which is a standard encoding method for still images, to perform encoding processing of image data. It is.
The stripe dividing unit 11 of the encoding processing unit 1 performs a process of dividing the image to be encoded into stripe (n) (n = 1, 2,..., N) units. The stripe dividing unit 11 constitutes an image dividing unit.

例えば、「JPEG XR」では、画像をタイルと称する矩形領域に分割し、タイル毎に量子化ステップサイズなどの符号化パラメータを設定して符号化することができる。
ここで、図4はストライプ分割部11により分割されるストライプの一例を示す説明図である。
図4の例では、符号化対象の画像が32ラインからなるストライプに分割されており、このストライプが符号量の制御単位とされる。
図4の例では、符号化対象の画像が水平方向に分割されているが、符号化対象の画像が垂直方向に分割されるものであってもよい。
For example, in “JPEG XR”, an image can be divided into rectangular regions called tiles, and encoding can be performed by setting encoding parameters such as a quantization step size for each tile.
Here, FIG. 4 is an explanatory diagram showing an example of a stripe divided by the stripe dividing unit 11.
In the example of FIG. 4, the image to be encoded is divided into 32 lines of stripes, and this stripe is used as a control unit for the code amount.
In the example of FIG. 4, the image to be encoded is divided in the horizontal direction, but the image to be encoded may be divided in the vertical direction.

変換処理部12はストライプ分割部11により分割されたストライプ(n)の画像信号に対する変換処理を実施し、その画像信号の変換係数を出力する処理を実施する。
量子化部13は量子化ステップサイズ算出部20から与えられる量子化ステップサイズΔで、変換処理部12から出力される変換係数を量子化し、その変換係数の量子化値を出力する処理を実施する。
なお、変換処理部12及び量子化部13から量子化手段が構成されている。
The conversion processing unit 12 performs a conversion process on the image signal of the stripe (n) divided by the stripe dividing unit 11, and performs a process of outputting the conversion coefficient of the image signal.
The quantization unit 13 performs a process of quantizing the transform coefficient output from the transform processing unit 12 with the quantization step size Δ given from the quantization step size calculating unit 20 and outputting a quantized value of the transform coefficient. .
The transform processing unit 12 and the quantization unit 13 constitute a quantization unit.

予測処理部14は量子化部13から出力された量子化値の予測誤差を算出する処理を実施する。
エントロピ符号化部15は予測処理部14により算出された予測誤差の絶対値を示す複数のビットのうち、下位ビットについては圧縮せずに出力し、上位ビットについてはハフマン符号化して出力する処理を実施する。予測誤差絶対値が非0の場合には、予測誤差の正負を示す1ビットの情報も伝送する。
なお、予測処理部14及びエントロピ符号化部15からエントロピ符号化手段が構成されている。
The prediction processing unit 14 performs processing for calculating a prediction error of the quantized value output from the quantization unit 13.
The entropy encoding unit 15 performs a process of outputting the lower bits of the plurality of bits indicating the absolute value of the prediction error calculated by the prediction processing unit 14 without compression, and outputting the upper bits after performing Huffman coding. carry out. When the prediction error absolute value is non-zero, 1-bit information indicating the sign of the prediction error is also transmitted.
The prediction processing unit 14 and the entropy encoding unit 15 constitute entropy encoding means.

下位ビット切捨部16はエントロピ符号化部15から出力されたストライプ(n)の符号データ(ハフマン符号化された上位ビットの符号データのほか、圧縮されずに出力された下位ビットの非圧縮符号データを含む)の符号量B(n)が、目標符号量算出部18により算出された目標符号量BT(n)を上回る場合、エントロピ符号化部15から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる処理を実施する。なお、下位ビット切捨部16は下位ビット切捨手段を構成している。   The lower bit truncation unit 16 outputs the code data of the stripe (n) output from the entropy encoding unit 15 (in addition to the Huffman encoded upper bit code data, the lower bit uncompressed code output without being compressed) If the code amount B (n) of the data (including data) exceeds the target code amount BT (n) calculated by the target code amount calculation unit 18, the lower-order bits output without being compressed from the entropy encoding unit 15 Implement the process of truncating all or part of it. The lower bit truncation unit 16 constitutes lower bit truncation means.

出力バッファ部17は下位ビット切捨部16により切り捨て処理が実施された符号データ(n)を一時的に蓄積し、一定速度で符号データ(n)を出力する処理を実施する。なお、出力バッファ部17は出力バッファ手段を構成している。
目標符号量算出部18は既に符号化済みのストライプの符号量から目標符号量BT(n)を算出する処理を実施する。なお、目標符号量算出部18は目標符号量算出手段を構成している。
The output buffer unit 17 temporarily accumulates the code data (n) subjected to the truncation process by the lower bit truncation unit 16 and performs a process of outputting the code data (n) at a constant speed. The output buffer unit 17 constitutes output buffer means.
The target code amount calculation unit 18 performs processing for calculating the target code amount BT (n) from the code amount of the already encoded stripe. The target code amount calculation unit 18 constitutes a target code amount calculation unit.

統計量算出部19はストライプ分割部11により分割されたストライプ(n)の統計量E(n)を算出する処理を実施する。なお、統計量算出部19は統計量算出手段を構成している。
量子化ステップサイズ算出部20は目標符号量算出部18により算出された目標符号量BT(n)と統計量算出部19により算出された統計量E(n)から量子化パラメータQP(1〜255の値をとるパラメータ)を算出して、その量子化パラメータQPに対応する量子化ステップサイズΔを算出し、その量子化ステップサイズΔを量子化部13に与える処理を実施する。なお、量子化ステップサイズ算出部20は量子化ステップサイズ算出手段を構成している。
The statistic calculation unit 19 performs a process of calculating the statistic E (n) of the stripe (n) divided by the stripe division unit 11. The statistic calculator 19 constitutes a statistic calculator.
The quantization step size calculation unit 20 calculates a quantization parameter QP (1 to 255) from the target code amount BT (n) calculated by the target code amount calculation unit 18 and the statistic E (n) calculated by the statistic calculation unit 19. Is calculated), a quantization step size Δ corresponding to the quantization parameter QP is calculated, and a process of giving the quantization step size Δ to the quantization unit 13 is performed. The quantization step size calculation unit 20 constitutes a quantization step size calculation unit.

図1の例では、画像符号化装置の構成要素であるストライプ分割部11、変換処理部12、量子化部13、予測処理部14、エントロピ符号化部15、下位ビット切捨部16、出力バッファ部17、目標符号量算出部18、統計量算出部19及び量子化ステップサイズ算出部20のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコン)で構成されているものを想定しているが、画像符号化装置がコンピュータで構成される場合、ストライプ分割部11、変換処理部12、量子化部13、予測処理部14、エントロピ符号化部15、下位ビット切捨部16、出力バッファ部17、目標符号量算出部18、統計量算出部19及び量子化ステップサイズ算出部20の処理内容を記述しているプログラムをコンピュータのメモリに格納し、コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In the example of FIG. 1, the stripe division unit 11, the transformation processing unit 12, the quantization unit 13, the prediction processing unit 14, the entropy coding unit 15, the lower bit truncation unit 16, and the output buffer, which are components of the image coding device Each of the unit 17, the target code amount calculation unit 18, the statistic calculation unit 19, and the quantization step size calculation unit 20 is configured by dedicated hardware (for example, a semiconductor integrated circuit in which a CPU is mounted or a one-chip microcomputer). However, when the image coding apparatus is configured by a computer, the stripe dividing unit 11, the transform processing unit 12, the quantization unit 13, the prediction processing unit 14, the entropy coding unit 15, and the lower order Professionals describing the processing contents of the bit truncation unit 16, output buffer unit 17, target code amount calculation unit 18, statistic calculation unit 19 and quantization step size calculation unit 20 Storing the ram in a memory of the computer, may execute a program that the CPU of the computer is stored in the memory.

図2はこの発明の実施の形態1による画像符号化装置の処理内容を示すフローチャートである。
また、図3はこの発明の実施の形態1による画像符号化装置の下位ビット切捨部16の処理内容を示すフローチャートである。
FIG. 2 is a flowchart showing the processing contents of the image coding apparatus according to Embodiment 1 of the present invention.
FIG. 3 is a flowchart showing the processing contents of the lower bit truncation unit 16 of the image coding apparatus according to Embodiment 1 of the present invention.

次に動作について説明する。
この実施の形態1では、符号化処理部1が、静止画像の標準符号化方式である「JPEG XR(ISO/IEC 29199−2)」を使用して、画像データの符号化処理を実施する例を説明するが、符号化方式は「JPEG XR(ISO/IEC 29199−2)」に限るものではなく、他の符号化方式を使用するものであってもよい。
Next, the operation will be described.
In the first embodiment, the encoding processing unit 1 performs encoding processing of image data using “JPEG XR (ISO / IEC 29199-2)” which is a standard encoding method for still images. However, the encoding method is not limited to “JPEG XR (ISO / IEC 29199-2)”, and other encoding methods may be used.

符号化処理部1のストライプ分割部11は、符号化対象の画像を示す画像データを入力すると、図4に示すように、符号化対象の画像を水平方向に分割することによって、32ラインからなるN個のストライプ(n)(n=1,2,・・・,N)に分割する(図2のステップST1)。
ここでは、符号化対象の画像を水平方向に分割しているが、符号化対象の画像を垂直方向に分割するようにしてもよい。
以後、画像符号化装置では、ストライプが符号量の制御単位となる。
When image data indicating an image to be encoded is input, the stripe dividing unit 11 of the encoding processing unit 1 includes 32 lines by dividing the image to be encoded in the horizontal direction as illustrated in FIG. Dividing into N stripes (n) (n = 1, 2,..., N) (step ST1 in FIG. 2).
Here, the image to be encoded is divided in the horizontal direction, but the image to be encoded may be divided in the vertical direction.
Thereafter, in the image coding apparatus, the stripe is the control unit of the code amount.

目標符号量算出部18は、符号化処理部1によって、既に符号化されたストライプ(符号化対象のストライプより前のストライプ)の符号量から目標符号量BT(n)を算出する(ステップST2)。
即ち、目標符号量算出部18は、符号化処理部1がn番目のストライプであるストライプ(n)の符号化処理に使用する量子化ステップサイズΔを算出するために、既に符号化されたストライプの符号量から目標符号量BT(n)を算出する。
The target code amount calculation unit 18 calculates the target code amount BT (n) from the code amount of the stripe already encoded by the encoding processing unit 1 (stripe before the encoding target stripe) (step ST2). .
In other words, the target code amount calculation unit 18 calculates the quantization step size Δ used by the encoding processing unit 1 for the encoding process of the stripe (n) which is the nth stripe. The target code amount BT (n) is calculated from the code amount.

目標符号量算出部18は、過去のストライプにおいて、符号量が多く発生しすぎている場合、ストライプ(n)の目標符号量BT(n)が小さくなるように算出し、逆に、符号量が少ない場合、ストライプ(n)の目標符号量BT(n)が大きくなるように算出する。
具体的には、ストライプ(n)の目標符号量を下記の式(1)で算出する。

Figure 2011109385
ただし、式(1)において、BSはストライプ当りの目標平均符号量、ストライプ(n)で実際に発生する符号量である。
式(1)によれば、過去の5つのストライプで発生したレート制御の誤差がストライプ(n)で補償されるように、目標符号量BT(n)が算出される。 The target code amount calculation unit 18 calculates the target code amount BT (n) of the stripe (n) to be small when the code amount is excessive in the past stripes. When the number is small, the target code amount BT (n) of the stripe (n) is calculated to be large.
Specifically, the target code amount of the stripe (n) is calculated by the following equation (1).
Figure 2011109385
However, in Equation (1), BS is the target average code amount per stripe and the code amount actually generated in the stripe (n).
According to the equation (1), the target code amount BT (n) is calculated so that the rate control error generated in the past five stripes is compensated for by the stripe (n).

統計量算出部19は、ストライプ分割部11が符号化対象の画像をN個のストライプに分割すると、ストライプ(n)の情報量を示す統計量E(n)を算出する(ステップST3)。
ストライプ(n)の統計量E(n)として、ストライプ(n)の分散や隣接画素間の差分電力などを算出してもよいが、ここでは、ストライプ(n)において、「JPEG XR」における変換係数のLP成分(詳細は後述するが、図6のLP係数が該当する)の絶対値の平均値を算出し、その平均値をストライプ(n)の統計量E(n)として使用するものとする。
When the stripe dividing unit 11 divides the image to be encoded into N stripes, the statistic calculating unit 19 calculates a statistic E (n) indicating the information amount of the stripe (n) (step ST3).
As the statistic E (n) of the stripe (n), the distribution of the stripe (n), the difference power between adjacent pixels, and the like may be calculated. Here, in the stripe (n), the conversion in “JPEG XR” is performed. The average value of the absolute value of the LP component of the coefficient (details will be described later, but corresponds to the LP coefficient in FIG. 6), and the average value is used as the statistic E (n) of the stripe (n). To do.

量子化ステップサイズ算出部20は、目標符号量算出部18が目標符号量BT(n)を算出し、統計量算出部19が統計量E(n)を算出すると、その目標符号量BT(n)と統計量E(n)から量子化パラメータQP(1〜255の値をとるパラメータ)を算出する。
具体的には、以下のようにして、量子化パラメータQPを算出する。
When the target code amount calculation unit 18 calculates the target code amount BT (n) and the statistic calculation unit 19 calculates the statistic E (n), the quantization step size calculation unit 20 calculates the target code amount BT (n ) And the statistic E (n), a quantization parameter QP (a parameter taking a value of 1 to 255) is calculated.
Specifically, the quantization parameter QP is calculated as follows.

まず、量子化ステップサイズ算出部20は、一般的な画像を使用して、「JPEG XR」の量子化パラメータQPを変更しながら、ストライプの統計量と発生符号量の関係を調査する。
図5はQP=3,10,25,150の場合のストライプの統計量と発生符号量の関係を示す説明図である。
量子化ステップサイズ算出部20は、ストライプの統計量と発生符号量の関係を調査すると、統計量と発生符号量の関係をテーブル化する。
First, the quantization step size calculation unit 20 investigates the relationship between the stripe statistic and the generated code amount while changing the quantization parameter QP of “JPEG XR” using a general image.
FIG. 5 is an explanatory diagram showing the relationship between the stripe statistic and the generated code amount when QP = 3, 10, 25, 150.
When the quantization step size calculation unit 20 investigates the relationship between the statistic of the stripe and the generated code amount, the quantization step size calculation unit 20 tabulates the relationship between the statistic and the generated code amount.

量子化ステップサイズ算出部20は、統計量と発生符号量の関係をテーブル化すると、そのテーブルを参照して、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPを特定する。
例えば、図5に示す関係がテーブル化されているとき、目標符号量BT(n)が“bt1”で、統計量E(n)が“e1”であれば、QP=3,10,25,150の中で、QP=10が最も近い量子化パラメータとなるため、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPが“10”であると特定する。
また、目標符号量BT(n)が“bt2”で、統計量E(n)が“e2”であれば、QP=3,10,25,150の中で、QP=150が最も近い量子化パラメータとなるため、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPが“150”であると特定する。
When the quantization step size calculator 20 tabulates the relationship between the statistic and the generated code quantity, the quantization parameter QP corresponding to the target code quantity BT (n) and the statistic E (n) is referred to the table. Is identified.
For example, when the relationship shown in FIG. 5 is tabulated, if the target code amount BT (n) is “bt1” and the statistic E (n) is “e1”, QP = 3, 10, 25, Among 150, since QP = 10 is the closest quantization parameter, it is specified that the quantization parameter QP corresponding to the target code amount BT (n) and the statistic E (n) is “10”.
If the target code amount BT (n) is “bt2” and the statistic E (n) is “e2”, QP = 150 is the closest quantization among QP = 3, 10, 25, 150. Since it becomes a parameter, it is specified that the quantization parameter QP corresponding to the target code amount BT (n) and the statistic E (n) is “150”.

量子化ステップサイズ算出部20は、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPを特定すると、その量子化パラメータQPに対応する量子化ステップサイズΔを算出する(ステップST4)。
即ち、量子化ステップサイズ算出部20は、下記の式(2)を用いて、量子化パラメータQPに対応する量子化ステップサイズΔを算出する。

Figure 2011109385
式(2)において、A%Bは、AをBで除算したときの余りを示す演算記号である。
また、C<<Dは、CをDビットだけ左にシフトする旨を示す演算記号であり、E>>Fは、EをFビットだけ右にシフトする旨を示す演算記号である。
量子化ステップサイズ算出部20は、量子化パラメータQPに対応する量子化ステップサイズΔを算出すると、その量子化ステップサイズΔを量子化部13に与える。 When the quantization step size calculation unit 20 specifies the quantization parameter QP corresponding to the target code amount BT (n) and the statistic E (n), the quantization step size calculation unit 20 calculates the quantization step size Δ corresponding to the quantization parameter QP. (Step ST4).
That is, the quantization step size calculation unit 20 calculates the quantization step size Δ corresponding to the quantization parameter QP using the following equation (2).
Figure 2011109385
In equation (2), A% B is an arithmetic symbol indicating the remainder when A is divided by B.
C << D is an operation symbol indicating that C is shifted to the left by D bits, and E >> F is an operation symbol indicating that E is shifted to the right by F bits.
After calculating the quantization step size Δ corresponding to the quantization parameter QP, the quantization step size calculation unit 20 gives the quantization step size Δ to the quantization unit 13.

変換処理部12は、ストライプ分割部11が符号化対象の画像をN個のストライプに分割すると、ストライプ(n)の画像信号に対する変換処理を実施することで、その画像信号の変換係数を生成し、その変換係数を量子化部13に出力する。
即ち、変換処理部12は、ストライプ(n)の画像を16×16からなるマクロブロックに分割し、各マクロブロックに対して2段階のLBT(Lapped Biorthogonal Transform)を実行することにより、図6に示すような3段の階層構造を有する変換係数(DC係数、LP係数、HP係数)を生成する。
When the stripe dividing unit 11 divides the image to be encoded into N stripes, the conversion processing unit 12 performs conversion processing on the image signal of the stripe (n), thereby generating a conversion coefficient of the image signal. The transform coefficient is output to the quantization unit 13.
In other words, the conversion processing unit 12 divides the image of the stripe (n) into 16 × 16 macroblocks, and executes two-stage LBT (Lapped Biorthogonal Transform) on each macroblock, so that FIG. A transform coefficient (DC coefficient, LP coefficient, HP coefficient) having a three-stage hierarchical structure as shown is generated.

具体的には、以下のようにして、画像信号の変換係数(DC係数、LP係数、HP係数)を生成する。
最初に、マクロブロック(16×16画素)を4×4画素からなるブロックに分割して、LBTを実行する。
この第一段階のLBTにより、各ブロックで15個のAC係数と1個のDC係数が生成される。以下、そのAC係数を「HP係数」と称し、マクロブロック当り、HP係数の個数が240個(=15係数×16ブロック)となる。
次に、各ブロックから集められた16個のDC係数に対して再度LBTを実行する。以下、このLBTにより生成される15個のAC係数を「LP係数」と称する。
マクロブロック当り、LP係数の個数は15個となり、さらに、1個のDC係数が生成される。
以後、第二段階で生成されたDC成分の係数を「DC係数」と称し、マクロブロック当りのDC係数の個数は1個となる。
Specifically, conversion coefficients (DC coefficient, LP coefficient, HP coefficient) of the image signal are generated as follows.
First, a macroblock (16 × 16 pixels) is divided into blocks each consisting of 4 × 4 pixels, and LBT is executed.
With this first stage LBT, 15 AC coefficients and 1 DC coefficient are generated in each block. Hereinafter, the AC coefficient is referred to as “HP coefficient”, and the number of HP coefficients per macroblock is 240 (= 15 coefficients × 16 blocks).
Next, LBT is performed again on the 16 DC coefficients collected from each block. Hereinafter, the 15 AC coefficients generated by the LBT are referred to as “LP coefficients”.
The number of LP coefficients per macroblock is 15, and one DC coefficient is generated.
Hereinafter, the coefficient of the DC component generated in the second stage is referred to as “DC coefficient”, and the number of DC coefficients per macroblock is one.

量子化部13は、変換処理部12からストライプ(n)の画像信号の変換係数を受けると、量子化ステップサイズ算出部20から与えられる量子化ステップサイズΔで、その変換係数を量子化し、その変換係数の量子化値を予測処理部14に出力する。   When the quantization unit 13 receives the conversion coefficient of the image signal of the stripe (n) from the conversion processing unit 12, the quantization unit 13 quantizes the conversion coefficient by the quantization step size Δ given from the quantization step size calculation unit 20, The quantized value of the transform coefficient is output to the prediction processing unit 14.

予測処理部14は、量子化部13から変換係数の量子化値を受けると、その量子化値の予測誤差を算出する。
即ち、予測処理部14は、既に変換処理部12の変換処理によって、ある程度、画素間の相関が除去されているが、変換係数の量子化値に対して更に予測を適用することで、圧縮の効率化を図るようにしている。
変換係数がDC係数である場合、符号化対象のマクロブロックの周辺に位置している近傍のマクロブロックのDC係数を参照して予測を行う。
例えば、符号化対象のマクロブロックの上側に位置しているマクロブロックのDC係数の値をT、左側に位置しているマクロブロックの値をL、左上側に位置しているマクロブロックの値をDとする場合、符号化対象のマクロブロックのDC係数の予測値Pは、下記の式(3)から算出される。

Figure 2011109385
When the prediction processing unit 14 receives the quantized value of the transform coefficient from the quantizing unit 13, the prediction processing unit 14 calculates a prediction error of the quantized value.
That is, the prediction processing unit 14 has already eliminated the correlation between the pixels to some extent by the conversion processing of the conversion processing unit 12, but by applying further prediction to the quantized value of the conversion coefficient, We are trying to improve efficiency.
When the transform coefficient is a DC coefficient, prediction is performed with reference to DC coefficients of neighboring macroblocks located around the macroblock to be encoded.
For example, the value of the DC coefficient of the macroblock located above the macroblock to be encoded is T, the value of the macroblock located on the left is L, and the value of the macroblock located on the upper left is In the case of D, the predicted value P of the DC coefficient of the macroblock to be encoded is calculated from the following equation (3).
Figure 2011109385

エントロピ符号化部15は、予測処理部14が量子化値の予測誤差を算出すると、エントロピ符号化の簡略化を図るために、その予測誤差の絶対値を示す複数のビットのうち、下位ビットについては圧縮せずに下位ビット切捨部16に出力し、上位ビットについてはハフマン符号化して下位ビット切捨部16に出力する(ステップST5)。
具体的には、以下のようにして、量子化値の予測誤差をエントロピ符号化する。
When the prediction processing unit 14 calculates the prediction error of the quantized value, the entropy encoding unit 15 calculates lower order bits among a plurality of bits indicating the absolute value of the prediction error in order to simplify entropy encoding. Are output to the lower bit truncation unit 16 without compression, and the upper bits are Huffman encoded and output to the lower bit truncation unit 16 (step ST5).
Specifically, the prediction error of the quantized value is entropy-coded as follows.

LP係数とHP係数は、ブロック(15係数)を単位として、15個の係数を所定の順にスキャンし、非0の係数値とゼロ係数の連続数(ゼロラン)を対象として、ハフマン符号化を適用する。ハフマン符号テーブルは、複数の候補を用意しておき、使う符号テーブルを符号化済みの係数から学習して決定する。
ここで、図7は予測誤差の絶対値を自然2進数で表現した場合のMSB(Most Significant Bit)からLSB(Least Significant Bit)までのビットプレーンを模式的に表す説明図である。
図7に示すように、上位ビットは、ハフマン符号化によって圧縮するが、下位ビットは、ランダムに近い信号であるため、ハフマン符号化しても効率的な圧縮が期待できないので、信号値を非圧縮でそのまま伝送する。
For LP and HP coefficients, 15 coefficients are scanned in a predetermined order in units of blocks (15 coefficients), and Huffman coding is applied to non-zero coefficient values and the number of consecutive zero coefficients (zero run). To do. The Huffman code table is prepared by preparing a plurality of candidates and learning the code table to be used from the encoded coefficients.
Here, FIG. 7 is an explanatory diagram schematically showing bit planes from MSB (Most Significant Bit) to LSB (Least Significant Bit) when the absolute value of the prediction error is expressed in a natural binary number.
As shown in FIG. 7, the upper bits are compressed by Huffman coding, but since the lower bits are signals that are close to random, efficient compression cannot be expected even if Huffman coding is performed, so the signal value is not compressed. Transmit as it is.

ただし、予測誤差の絶対値が非0の値の場合には、予測誤差の正負を示す1ビット情報(サインビット)を下位ビットに付加して伝送する。
下位ビットのビット数は、ハフマン符号化対象となる上位ビットのすべての値が“0”をとる係数の割合が全体のほぼ3/4になるように決定される。
また、HP成分については、非圧縮伝送する下位ビットから指定したビット数だけ削減することができる。削減するビット数は、タイル毎に指定でき、タイル内の全てのHP係数で指定されたビット数が最下位から削減される。
However, when the absolute value of the prediction error is a non-zero value, 1-bit information (sign bit) indicating the sign of the prediction error is added to the lower bits and transmitted.
The number of bits of the lower bits is determined so that the ratio of the coefficients at which all the values of the upper bits to be Huffman encoded are “0” is approximately 3/4 of the whole.
Further, the HP component can be reduced by the number of bits designated from the lower bits to be transmitted without compression. The number of bits to be reduced can be specified for each tile, and the number of bits specified by all the HP coefficients in the tile is reduced from the lowest.

下位ビット切捨部16は、エントロピ符号化部15からストライプ(n)の符号データ(ハフマン符号化された上位ビットの符号データのほか、圧縮されずに出力された下位ビットの非圧縮符号データを含む)を受けると、その符号データの符号量B(n)を目標符号量算出部18により算出された目標符号量BT(n)と比較する。
下位ビット切捨部16は、その符号データの符号量B(n)が目標符号量BT(n)を上回らなければ、下位ビットの切り捨て処理を実施しないが、その符号データの符号量B(n)が目標符号量BT(n)を上回る場合、エントロピ符号化部15から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる処理を実施する(ステップST6)。
The lower bit truncation unit 16 obtains the code data of the stripe (n) from the entropy encoding unit 15 (in addition to the Huffman encoded upper bit code data, the lower bit uncompressed code data output without being compressed). The code amount B (n) of the code data is compared with the target code amount BT (n) calculated by the target code amount calculation unit 18.
If the code amount B (n) of the code data does not exceed the target code amount BT (n), the lower bit truncation unit 16 does not perform the lower bit truncation process, but the code amount B (n of the code data ) Exceeds the target code amount BT (n), a process of truncating all or a part of the lower bits output without being compressed from the entropy encoding unit 15 is performed (step ST6).

量子化部13では、目標符号量BT(n)に対応する量子化ステップサイズΔを用いて、変換係数を量子化する処理を実施しているが、実際にハフマン符号化を実施しなければ、正確な符号量を把握することができないため、1パスの処理では、ある程度の符号量の制御誤差が発生する。
そこで、各ストライプの発生符号量が目標符号量を超える場合には、HP係数のうち、非圧縮で伝送する下位ビットの全部、あるいは、一部を切り捨てることで、より正確に符号量を制御することができる。
以下、下位ビット切捨部16の処理内容を具体的に説明する。
The quantization unit 13 performs the process of quantizing the transform coefficient using the quantization step size Δ corresponding to the target code amount BT (n). If the Huffman coding is not actually performed, Since an accurate code amount cannot be grasped, a control error of a certain amount of code occurs in one-pass processing.
Therefore, when the generated code amount of each stripe exceeds the target code amount, the code amount is controlled more accurately by truncating all or a part of the lower bits transmitted without compression in the HP coefficient. be able to.
Hereinafter, the processing content of the lower-order bit truncation unit 16 will be specifically described.

図8は下位ビットの削減ビット数と削減符号量の対応関係を示すテーブル図である。
図8において、削減ビット数kは、切り捨て対象となる下位ビットの数(最下位ビットからのビット数)を示し、削減符号量b(k)は、削減ビット数kだけ下位ビットを切り捨てたときに、削減される符号量を示している。
まず、下位ビット切捨部16は、エントロピ符号化部15からストライプ(n)の符号データを受けると、削減ビット数kを表すカウンタを用意し、そのカウンタのカウント値k(削減ビット数k)を“0”に初期化する(図3のステップST11)。
FIG. 8 is a table showing the correspondence between the number of reduced bits of the lower bits and the reduced code amount.
In FIG. 8, the reduction bit number k indicates the number of lower bits to be rounded down (the number of bits from the least significant bit), and the reduction code amount b (k) is when the lower bits are rounded down by the reduction bit number k. The code amount to be reduced is shown in FIG.
First, when the lower bit truncation unit 16 receives the code data of the stripe (n) from the entropy encoding unit 15, it prepares a counter representing the reduction bit number k, and the counter value k (reduction bit number k). Is initialized to “0” (step ST11 in FIG. 3).

次に、下位ビット切捨部16は、未だ切り捨てていない下位ビットの中で、最も下位のビットを切り捨てる処理を実施する。
このとき、図8のテーブルを参照して、符号データの符号量B(n)からカウンタのカウント値k(削減ビット数k)に対応する削減符号量b(k)を減算し、減算後の符号量(=符号量B(n)−削減符号量b(k))を目標符号量BT(n)と比較する(ステップST12)。
Next, the lower-order bit truncation unit 16 performs a process of truncating the least significant bit among the lower-order bits that have not yet been discarded.
At this time, with reference to the table of FIG. 8, the reduced code amount b (k) corresponding to the count value k (reduced bit number k) of the counter is subtracted from the code amount B (n) of the code data. The code amount (= code amount B (n) −reduced code amount b (k)) is compared with the target code amount BT (n) (step ST12).

下位ビット切捨部16は、減算後の符号量(=符号量B(n)−削減符号量b(k))が目標符号量BT(n)以下である場合、あるいは、カウンタのカウント値k(削減ビット数k)が最大値kmaxに到達していれば、下位ビットの切り捨て処理を終了する。
一方、減算後の符号量(=符号量B(n)−削減符号量b(k))が目標符号量BT(n)を上回っている場合、切捨対象の下位ビットを増やすため、カウンタのカウント値k(削減ビット数k)を1だけインクリメントして(ステップST13)、ステップST12の処理に戻る。
これにより、出力バッファ部17に出力される符号データの符号量が目標符号量BT(n)を下回るまで、最下位のビットから順番に切り捨てられることになる。
The lower-order bit truncation unit 16 determines that the code amount after subtraction (= code amount B (n) −reduced code amount b (k)) is equal to or smaller than the target code amount BT (n) or the count value k of the counter If (reduction bit number k) has reached the maximum value kmax, the lower-order bit truncation process is terminated.
On the other hand, if the code amount after subtraction (= code amount B (n) −reduced code amount b (k)) exceeds the target code amount BT (n), the lower bits to be cut off are increased, The count value k (reduction bit number k) is incremented by 1 (step ST13), and the process returns to step ST12.
As a result, the code data output to the output buffer unit 17 is truncated in order from the least significant bit until the code amount of the code data falls below the target code amount BT (n).

なお、静止画像の標準符号化方式である「JPEG XR(ISO/IEC 29199−2)」を使用して、画像データの符号化処理を実施する場合、タイル内の全HP係数から、同一の削減ビット数kだけ、非圧縮データである下位ビットが削減される。
したがって、あるタイルが、図9に示すように、64×2個のマクロブロックで構成されている場合において、例えば、削減ビット数がk=3であるとすると、64×2個のマクロブロックにおいて、全HP係数から3ビット分の非圧縮データが削減されることになる。
When image data is encoded using “JPEG XR (ISO / IEC 29199-2)”, which is a standard encoding method for still images, the same reduction is achieved from all HP coefficients in the tile. The lower bits, which are uncompressed data, are reduced by the number of bits k.
Therefore, when a certain tile is composed of 64 × 2 macroblocks as shown in FIG. 9, for example, if the number of bits to be reduced is k = 3, 64 × 2 macroblocks Thus, 3 bits of uncompressed data is reduced from all HP coefficients.

出力バッファ部17は、下位ビット切捨部16により切り捨て処理が実施された符号データ(n)を受けると、その符号データ(n)を一時的に蓄積し、一定速度で符号データ(n)を出力する。
ステップST1〜ST6の処理は、最後のストライプの符号化処理が終了するまで繰り返し実施される(ステップST7)。
When the output buffer unit 17 receives the code data (n) subjected to the truncation process by the lower bit truncation unit 16, the output buffer unit 17 temporarily accumulates the code data (n) and stores the code data (n) at a constant speed. Output.
Steps ST1 to ST6 are repeated until the last stripe encoding process is completed (step ST7).

以上で明らかなように、この実施の形態1によれば、既に符号化済みのストライプの符号量から目標符号量BT(n)を算出する目標符号量算出部18と、ストライプ分割部11により分割されたストライプ(n)の統計量E(n)を算出する統計量算出部19と、目標符号量算出部18により算出された目標符号量BT(n)と統計量算出部19により算出された統計量E(n)から量子化ステップサイズΔを算出し、その量子化ステップサイズΔを量子化部13に与える量子化ステップサイズ算出部20と、エントロピ符号化部15から出力バッファ部17に出力される符号データの符号量B(n)が、目標符号量算出部18により算出された目標符号量BT(n)を上回る場合、エントロピ符号化部15から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる下位ビット切捨部16とを設けるように構成したので、1パスの処理でも、符号量の制御誤差の発生を抑制して、高精度なレート制御を実現することができる効果を奏する。
即ち、量子化ステップサイズΔのみならず、符号データの非圧縮部分を削減することにより、量子化ステップサイズΔのみによって符号量を制御する場合よりも、高い精度で符号量を制御することが可能になる。
As is apparent from the above, according to the first embodiment, the target code amount calculation unit 18 that calculates the target code amount BT (n) from the code amount of the already encoded stripe and the stripe division unit 11 perform division. A statistic calculation unit 19 that calculates a statistic E (n) of the stripe (n) that is calculated, a target code amount BT (n) that is calculated by the target code amount calculation unit 18, and a statistic calculation unit 19 A quantization step size Δ is calculated from the statistic E (n), the quantization step size Δ is supplied to the quantization unit 13, and the entropy encoding unit 15 outputs the output to the output buffer unit 17. When the code amount B (n) of the encoded data exceeds the target code amount BT (n) calculated by the target code amount calculation unit 18, the lower order output without being compressed from the entropy encoding unit 15 Since the low-order bit truncation unit 16 that truncates all or part of the bits is provided, the generation of a code amount control error is suppressed even in one pass processing, and high-accuracy rate control is realized. There is an effect that can.
That is, by reducing not only the quantization step size Δ but also the uncompressed portion of the code data, it is possible to control the code amount with higher accuracy than when the code amount is controlled only by the quantization step size Δ. become.

実施の形態2.
上記実施の形態1では、全てのマクロブロックにおいて、全HP係数から同一の削減ビット数k分の非圧縮データが削減されるものについて示したが、マクロブロック単位で削減ビット数を変えることも可能である(この場合、「JPEG XR」の規格からは外れる)。
したがって、全てのマクロブロックではなく、特定のマクロブロックのHP係数から削減ビット数k分の非圧縮データが削減されるものであってもよい。
Embodiment 2. FIG.
In the first embodiment, it has been shown that uncompressed data corresponding to the same number k of reduction bits is reduced from all HP coefficients in all macroblocks. However, the number of reduction bits can be changed in units of macroblocks. (In this case, it is out of the standard of “JPEG XR”).
Therefore, the uncompressed data corresponding to the reduction bit number k may be reduced from the HP coefficient of a specific macroblock instead of all the macroblocks.

例えば、あるタイルが、図9に示すように、64×2個のマクロブロックで構成されている場合において、全てのマクロブロックの中の全HP係数から最下位2ビットを削減し、その後、マクロブロック(0,0)からラスタスキャン順に、各マクロブロックの最下位から3ビット目を削減する場合を考える。
このとき、マクロブロック(0,0)〜(1,1)の最下位から3ビット目を削減した段階で、符号データの符号量B(n)が目標符号量BT(n)を下回ったとする。
この場合、下位ビットの切り捨て処理をこの段階で止めて、削減ブロック数2ビット、最下位から3ビット目で伝送境界となるマクロブロックのインデックス(1,1)をコードストリームのヘッダに記録するようにする。
このように、マクロブロック単位で下位ビットを削減することにより、より高い精度でレート制御が可能になる。
For example, when a tile is composed of 64 × 2 macroblocks as shown in FIG. 9, the least significant 2 bits are reduced from all HP coefficients in all macroblocks, and then the macro Consider a case in which the third bit from the least significant bit of each macroblock is reduced in the raster scan order from the block (0, 0).
At this time, it is assumed that the code amount B (n) of the code data falls below the target code amount BT (n) at the stage where the third bit from the least significant bit of the macroblocks (0, 0) to (1, 1) is reduced. .
In this case, truncation of the lower bits is stopped at this stage, and the index (1, 1) of the macroblock that becomes the transmission boundary is recorded in the header of the code stream at the number of reduced blocks of 2 bits and the third bit from the lowest. To.
In this manner, rate control can be performed with higher accuracy by reducing lower-order bits in units of macroblocks.

実施の形態3.
図10はこの発明の実施の形態3による画像符号化装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
下位ビット切捨部21は図1の下位ビット切捨部16と同様に、エントロピ符号化部15から出力されたストライプ(n)の符号データの符号量B(n)が、目標符号量算出部18により算出された目標符号量BT(n)を上回る場合、エントロピ符号化部15から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる処理を実施する。また、切り捨てた下位ビットのビット数を示す削減ビット数mを量子化ステップサイズ算出部22に出力する処理を実施する。なお、下位ビット切捨部21は下位ビット切捨手段を構成している。
Embodiment 3 FIG.
10 is a block diagram showing an image coding apparatus according to Embodiment 3 of the present invention. In the figure, the same reference numerals as those in FIG.
As with the lower bit truncation unit 16 in FIG. 1, the lower bit truncation unit 21 uses the code amount B (n) of the code data of the stripe (n) output from the entropy encoding unit 15 as the target code amount calculation unit. When the target code amount BT (n) calculated by 18 is exceeded, a process of truncating all or part of the lower bits output from the entropy encoding unit 15 without being compressed is performed. In addition, a process of outputting the reduced bit number m indicating the number of bits of the lower-order bits rounded down to the quantization step size calculation unit 22 is performed. The lower bit truncation unit 21 constitutes lower bit truncation means.

量子化ステップサイズ算出部22は目標符号量算出部18により算出された目標符号量BT(n)と統計量算出部19により算出された統計量E(n)から量子化パラメータQP(1〜255の値をとるパラメータ)を算出するとともに、その量子化パラメータQPから下位ビット切捨部21より出力された削減ビット数mを減算し、減算後の量子化パラメータQP−mに対応する量子化ステップサイズΔを算出し、その量子化ステップサイズΔを量子化部13に与える処理を実施する。なお、量子化ステップサイズ算出部22は量子化ステップサイズ算出手段を構成している。   The quantization step size calculation unit 22 calculates a quantization parameter QP (1 to 255) from the target code amount BT (n) calculated by the target code amount calculation unit 18 and the statistic E (n) calculated by the statistic calculation unit 19. And a subtracting bit number m output from the lower bit truncation unit 21 from the quantization parameter QP, and a quantization step corresponding to the quantization parameter QP-m after the subtraction A process of calculating the size Δ and giving the quantization step size Δ to the quantization unit 13 is performed. The quantization step size calculation unit 22 constitutes a quantization step size calculation unit.

図10の例では、画像符号化装置の構成要素であるストライプ分割部11、変換処理部12、量子化部13、予測処理部14、エントロピ符号化部15、下位ビット切捨部21、出力バッファ部17、目標符号量算出部18、統計量算出部19及び量子化ステップサイズ算出部22のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路や、ワンチップマイコン)で構成されているものを想定しているが、画像符号化装置がコンピュータで構成される場合、ストライプ分割部11、変換処理部12、量子化部13、予測処理部14、エントロピ符号化部15、下位ビット切捨部21、出力バッファ部17、目標符号量算出部18、統計量算出部19及び量子化ステップサイズ算出部22の処理内容を記述しているプログラムをコンピュータのメモリに格納し、コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。   In the example of FIG. 10, the stripe division unit 11, the transformation processing unit 12, the quantization unit 13, the prediction processing unit 14, the entropy coding unit 15, the lower bit truncation unit 21, and the output buffer, which are components of the image coding device Each of the unit 17, the target code amount calculation unit 18, the statistic calculation unit 19, and the quantization step size calculation unit 22 is configured by dedicated hardware (for example, a semiconductor integrated circuit in which a CPU is mounted or a one-chip microcomputer). However, when the image coding apparatus is configured by a computer, the stripe dividing unit 11, the transform processing unit 12, the quantization unit 13, the prediction processing unit 14, the entropy coding unit 15, and the lower order A profile describing the processing contents of the bit truncation unit 21, the output buffer unit 17, the target code amount calculation unit 18, the statistic calculation unit 19, and the quantization step size calculation unit 22. Stores grams in the memory of a computer, may be executed the program by the CPU of the computer is stored in the memory.

次に動作について説明する。
下位ビット切捨部21及び量子化ステップサイズ算出部22以外は、上記実施の形態1と同様であるため、この実施の形態2では、下位ビット切捨部21及び量子化ステップサイズ算出部22の処理内容について説明する。
Next, the operation will be described.
Other than the lower bit truncation unit 21 and the quantization step size calculation unit 22 are the same as in the first embodiment, and in this second embodiment, the lower bit truncation unit 21 and the quantization step size calculation unit 22 Processing contents will be described.

下位ビット切捨部21は、エントロピ符号化部15からストライプ(n)の符号データを受けると、図1の下位ビット切捨部16と同様に、その符号データの符号量B(n)が、目標符号量算出部18により算出された目標符号量BT(n)を上回る場合、エントロピ符号化部15から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる処理を実施する。
ただし、下位ビット切捨部21は、図1の下位ビット切捨部16と異なり、切り捨てた下位ビットのビット数を示す削減ビット数mを量子化ステップサイズ算出部22に出力する。
When receiving the code data of the stripe (n) from the entropy encoding unit 15, the low-order bit truncation unit 21 determines that the code amount B (n) of the code data is the same as the low-order bit truncation unit 16 of FIG. When the target code amount BT (n) calculated by the target code amount calculation unit 18 is exceeded, a process of truncating all or part of the lower bits output from the entropy encoding unit 15 without being compressed is performed.
However, unlike the lower bit truncation unit 16 in FIG. 1, the lower bit truncation unit 21 outputs a reduced bit number m indicating the number of bits of the lower bits discarded to the quantization step size calculation unit 22.

量子化ステップサイズ算出部22は、図1の量子化ステップサイズ算出部20と同様に、ストライプの統計量と発生符号量の関係を調査して、統計量と発生符号量の関係をテーブル化する。   Similar to the quantization step size calculation unit 20 of FIG. 1, the quantization step size calculation unit 22 investigates the relationship between the stripe statistic and the generated code amount, and tabulates the relationship between the statistic and the generated code amount. .

量子化ステップサイズ算出部22は、統計量と発生符号量の関係をテーブル化すると、そのテーブルを参照して、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPを特定する。
例えば、図5に示す関係がテーブル化されているとき、目標符号量BT(n)が“bt1”で、統計量E(n)が“e1”であれば、QP=3,10,25,150の中で、QP=10が最も近い量子化パラメータとなるため、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPが“10”であると特定する。
また、目標符号量BT(n)が“bt2”で、統計量E(n)が“e2”であれば、QP=3,10,25,150の中で、QP=150が最も近い量子化パラメータとなるため、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPが“150”であると特定する。
When the quantization step size calculation unit 22 tabulates the relationship between the statistical amount and the generated code amount, the quantization parameter QP corresponding to the target code amount BT (n) and the statistical amount E (n) is referred to the table. Is identified.
For example, when the relationship shown in FIG. 5 is tabulated, if the target code amount BT (n) is “bt1” and the statistic E (n) is “e1”, QP = 3, 10, 25, Among 150, since QP = 10 is the closest quantization parameter, it is specified that the quantization parameter QP corresponding to the target code amount BT (n) and the statistic E (n) is “10”.
If the target code amount BT (n) is “bt2” and the statistic E (n) is “e2”, QP = 150 is the closest quantization among QP = 3, 10, 25, 150. Since it becomes a parameter, it is specified that the quantization parameter QP corresponding to the target code amount BT (n) and the statistic E (n) is “150”.

量子化ステップサイズ算出部22は、目標符号量BT(n)と統計量E(n)に対応する量子化パラメータQPを特定すると、その量子化パラメータQPから下位ビット切捨部21より出力された削減ビット数mを減算する。
そして、量子化ステップサイズ算出部22は、上述した式(2)を用いて、減算後の量子化パラメータQP−mに対応する量子化ステップサイズΔを算出する。
量子化ステップサイズ算出部22は、減算後の量子化パラメータQP−mに対応する量子化ステップサイズΔを算出すると、その量子化ステップサイズΔを量子化部13に与える。
When the quantization step size calculation unit 22 specifies the quantization parameter QP corresponding to the target code amount BT (n) and the statistic E (n), the quantization step size calculation unit 22 outputs the quantization parameter QP from the lower bit truncation unit 21. The reduction bit number m is subtracted.
Then, the quantization step size calculation unit 22 calculates the quantization step size Δ corresponding to the quantization parameter QP-m after the subtraction using the above-described equation (2).
When the quantization step size calculation unit 22 calculates the quantization step size Δ corresponding to the quantization parameter QP-m after the subtraction, the quantization step size calculation unit 22 gives the quantization step size Δ to the quantization unit 13.

以上で明らかなように、この実施の形態3によれば、量子化ステップサイズ算出部22が、下位ビット切捨部21により直前のストライプで切り捨てられた下位ビットのビット数を考慮して、量子化ステップサイズΔを算出するように構成したので、更に高い精度でレートを制御することができる効果を奏する。   As is apparent from the above, according to the third embodiment, the quantization step size calculation unit 22 takes into account the number of bits of the lower bits that have been truncated by the lower bit truncation unit 21 in the immediately preceding stripe. Since the conversion step size Δ is calculated, the rate can be controlled with higher accuracy.

実施の形態4.
上記実施の形態1では、エントロピ符号化部15が、予測誤差の正負を示すサインビットを下位ビットに付加するものについて示したが(図7を参照)、全ての上位ビットが“0”である場合において、予測誤差の絶対値の最下位ビットを除く全ての下位ビットが“0”であり、最下位ビットが“1”であれば、最下位ビットを“0”に変更して、下位ビットに付加されているサインビットを削減するようにしてもよい。
即ち、この実施の形態4では、サインビットの伝送を回避することで符号量を削減する方法について説明する。
Embodiment 4 FIG.
In the first embodiment, the entropy encoding unit 15 adds the sign bit indicating the sign of the prediction error to the lower bits (see FIG. 7), but all the upper bits are “0”. In this case, if all the lower bits except the least significant bit of the absolute value of the prediction error are “0” and the least significant bit is “1”, the least significant bit is changed to “0”, You may make it reduce the sign bit added to.
That is, in the fourth embodiment, a method for reducing the code amount by avoiding transmission of the sign bit will be described.

「JPEG XR」における下位ビットの非圧縮伝送では、図11(a)に示すように、予測誤差の絶対値のうち、ハフマン符号化を行う全ての上位ビットが“0”である場合、非圧縮伝送する下位ビットに対して、予測誤差の正負を表すサインビットを付加し、そのサインビットを符号としている。
ただし、上位ビットだけでなく、全ての下位ビットが“0”の場合には、サインビットを付加する必要はない。
In the non-compressed transmission of the lower bits in “JPEG XR”, as shown in FIG. 11A, when all the upper bits to be subjected to Huffman coding are “0” among the absolute values of the prediction errors, uncompressed A sign bit representing the sign of the prediction error is added to the lower bits to be transmitted, and the sign bit is used as a code.
However, when not only the upper bits but all the lower bits are “0”, there is no need to add a sign bit.

そこで、この実施の形態4では、図11(b)に示すように、予測誤差の絶対値の最下位ビットを除く、全てのビットが“0”であり、最下位ビットが“1”である場合には、図11(c)に示すように、強制的に最下位ビットを“0”に変更して、サインビットの伝送を回避することで、符号量の削減を図るようにする。
このように、最下位ビットを“0”に変更することにより、符号化誤差が発生するが、最下位ビットを全て削減するよりも、符号の削減量を少なくすることができる。
Therefore, in the fourth embodiment, as shown in FIG. 11B, all bits except the least significant bit of the absolute value of the prediction error are “0” and the least significant bit is “1”. In this case, as shown in FIG. 11C, the least significant bit is forcibly changed to “0” to avoid the transmission of the sign bit, thereby reducing the code amount.
As described above, by changing the least significant bit to “0”, an encoding error occurs. However, the amount of code reduction can be reduced compared to reducing all the least significant bits.

具体的には、下位ビット切捨部16(または、下位ビット切捨部21)は、図12に示すような下位ビット符号量テーブルを用意する。
図8の下位ビット符号量テーブルでは、下位ビットの削減ビット数と削減符号量の対応関係を示しているが、図12の下位ビット符号量テーブルでは、サインビットを削減した場合の削減符号量と、サインビットを削減しない場合の削減符号量とを載せている。
即ち、削減ビット数とサインビットの削減の有無の組み合わせをパラメータkで表しており、例えば、パラメータk=3では、最下位2ビットを削減するとともに、最下位のビットで生じたサインビットを削減する場合の削減符号量も載せている。
下位ビット切捨部16(または、下位ビット切捨部21)は、図3の下位ビットの切り捨て処理を実施する際、図12の下位ビット符号量テーブルを適用して、ビット量を削減した時の符号量B−b(k)が所望の符号量を満たすパラメータkを算出し、適切な削減ビット数とサインビットの削減の有無を選択するようにする。
Specifically, the lower bit truncation unit 16 (or lower bit truncation unit 21) prepares a lower bit code amount table as shown in FIG.
The lower bit code amount table in FIG. 8 shows the correspondence between the number of bits to be reduced and the reduced code amount, but the lower bit code amount table in FIG. 12 shows the reduced code amount when the sign bit is reduced. The amount of code to be reduced when the sign bit is not reduced is listed.
That is, the combination of the number of bits to be reduced and the presence or absence of sign bit reduction is represented by parameter k. For example, in parameter k = 3, the least significant 2 bits are reduced and the sign bit generated in the least significant bit is reduced. In this case, the amount of reduced code is also listed.
The lower bit truncation unit 16 (or lower bit truncation unit 21) applies the lower bit code amount table of FIG. 12 to reduce the bit amount when performing the lower bit truncation processing of FIG. A parameter k that satisfies the desired code amount B−b (k) is calculated, and an appropriate number of reduction bits and whether or not sign bits are reduced are selected.

以上で明らかなように、この実施の形態4によれば、予測誤差の絶対値の最下位ビットを除く全ての下位ビットが“0”であり、最下位ビットが“1”であれば、最下位ビットを“0”に変更して、下位ビットに付加されているサインビットを削減するように構成したので、非圧縮データのビットプレーン全体を切り捨てるよりも高い精度で符号量を制御することができる効果を奏する。   As apparent from the above, according to the fourth embodiment, if all the lower bits except the least significant bit of the absolute value of the prediction error are “0” and the least significant bit is “1”, Since the sign bit added to the low-order bits is reduced by changing the low-order bits to “0”, the code amount can be controlled with higher accuracy than truncating the entire bit plane of the uncompressed data. There is an effect that can be done.

なお、この実施の形態4では、ストライプ内の全てのHP係数から最下位のサインビットを削減する例を示したが、必ずしもストライプ内の全てのサインビットを削減する必要はなく、任意の変換係数から削減して、より精度の高いレート制御を実現することも可能である。   In the fourth embodiment, the example in which the least significant sign bit is reduced from all the HP coefficients in the stripe is shown. However, it is not always necessary to reduce all the sign bits in the stripe, and an arbitrary conversion coefficient is used. Therefore, it is possible to realize rate control with higher accuracy.

1 符号化処理部、11 ストライプ分割部(画像分割手段)、12 変換処理部(量子化手段)、13 量子化部(量子化手段)、14 予測処理部(エントロピ符号化手段)、15 エントロピ符号化部(エントロピ符号化手段)、16,21 下位ビット切捨部(下位ビット切捨手段)、17 出力バッファ部(出力バッファ手段)、18 目標符号量算出部(目標符号量算出手段)、19 統計量算出部(統計量算出手段)、20,22 量子化ステップサイズ算出部(量子化ステップサイズ算出手段)。   DESCRIPTION OF SYMBOLS 1 encoding process part, 11 stripe division part (image division means), 12 conversion process part (quantization means), 13 quantization part (quantization means), 14 prediction process part (entropy encoding means), 15 entropy code Conversion unit (entropy encoding unit), 16, 21 lower bit truncation unit (lower bit truncation unit), 17 output buffer unit (output buffer unit), 18 target code amount calculation unit (target code amount calculation unit), 19 Statistic calculator (statistics calculator), 20, 22 quantization step size calculator (quantization step size calculator).

Claims (5)

符号化対象の画像をストライプ単位に分割する画像分割手段と、上記画像分割手段により分割されたストライプの画像信号に対する変換処理を実施し、与えられる量子化ステップサイズで、上記画像信号の変換係数を量子化して、上記変換係数の量子化値を出力する量子化手段と、上記量子化手段から出力された量子化値の予測誤差を算出し、上記予測誤差の絶対値を示す複数のビットのうち、下位ビットについては圧縮せずに出力し、上位ビットについてはハフマン符号化して出力するエントロピ符号化手段と、上記エントロピ符号化手段から出力された符号データを一時的に蓄積し、一定速度で上記符号データを出力する出力バッファ手段と、既に符号化済みのストライプの符号量から目標符号量を算出する目標符号量算出手段と、上記画像分割手段により分割されたストライプの統計量を算出する統計量算出手段と、上記目標符号量算出手段により算出された目標符号量と上記統計量算出手段により算出された統計量から量子化ステップサイズを算出し、上記量子化ステップサイズを上記量子化手段に与える量子化ステップサイズ算出手段と、上記エントロピ符号化手段から上記出力バッファ手段に出力される符号データの符号量が、上記目標符号量算出手段により算出された目標符号量を上回る場合、上記エントロピ符号化手段から圧縮されずに出力された下位ビットの全部又は一部を切り捨てる下位ビット切捨手段とを備えた画像符号化装置。   An image dividing unit that divides the image to be encoded into stripe units, and a conversion process on the image signal of the stripe divided by the image dividing unit, and the conversion coefficient of the image signal is set with a given quantization step size. Quantizing means for quantizing and outputting a quantized value of the transform coefficient; calculating a prediction error of the quantized value output from the quantizing means; and a plurality of bits indicating an absolute value of the predictive error The entropy encoding means for outputting the lower bits without compression and the Huffman encoding for the upper bits and the code data output from the entropy encoding means are temporarily stored, and the above-mentioned code is output at a constant rate. Output buffer means for outputting code data, target code amount calculation means for calculating a target code amount from the code amount of an already encoded stripe, and the above A statistic calculating means for calculating the statistic of the stripes divided by the image dividing means; a target code amount calculated by the target code amount calculating means; and a quantization step size from the statistic calculated by the statistic calculating means. And a quantization step size calculation unit that gives the quantization step size to the quantization unit, and a code amount of code data output from the entropy encoding unit to the output buffer unit is calculated as the target code amount calculation. An image encoding apparatus comprising: a lower bit truncation unit that truncates all or part of lower bits output without being compressed from the entropy encoding unit when the target code amount calculated by the unit is exceeded. 下位ビット切捨手段は、エントロピ符号化手段から出力バッファ手段に出力される符号データの符号量が、目標符号量算出手段により算出された目標符号量を上回る場合、上記符号データの符号量が上記目標符号量を下回るまで、最下位のビットから順番に切り捨てることを特徴とする請求項1記載の画像符号化装置。   When the code amount of the code data output from the entropy encoding unit to the output buffer unit exceeds the target code amount calculated by the target code amount calculation unit, the low-order bit truncation unit 2. The image coding apparatus according to claim 1, wherein truncation is performed in order from the least significant bit until the code amount falls below the target code amount. 下位ビット切捨手段は、ストライプを構成している複数のマクロブロックのうち、特定のマクロブロックに係る下位ビットを切り捨てることを特徴とする請求項2記載の画像符号化装置。   3. The image encoding device according to claim 2, wherein the lower-order bit truncation means truncates the lower-order bits related to a specific macro block among the plurality of macro blocks constituting the stripe. 量子化ステップサイズ算出手段は、下位ビット切捨手段により直前のストライプで切り捨てられた下位ビットのビット数を考慮して、量子化ステップサイズを算出することを特徴とする請求項2記載の画像符号化装置。   3. The image code according to claim 2, wherein the quantization step size calculating means calculates the quantization step size in consideration of the number of bits of the lower bits cut off in the immediately preceding stripe by the lower bit truncation means. Device. 下位ビット切捨手段は、エントロピ符号化手段により予測誤差の正負を表すサインビットが下位ビットに付加される場合、上記予測誤差の絶対値を示す複数のビットのうち、最下位ビットを除く全ての下位ビットが“0”であり、かつ、最下位ビットが“1”であれば、最下位ビットを“0”に変更して、下位ビットに付加されているサインビットを削減することを特徴とする請求項2記載の画像符号化装置。   When the sign bit indicating the sign of the prediction error is added to the lower bit by the entropy coding unit, the lower bit truncation means is a plurality of bits indicating the absolute value of the prediction error, except for the least significant bit. If the lower bit is “0” and the least significant bit is “1”, the least significant bit is changed to “0” to reduce the sign bit added to the lower bit The image encoding device according to claim 2.
JP2009261970A 2009-11-17 2009-11-17 Image encoder Pending JP2011109385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009261970A JP2011109385A (en) 2009-11-17 2009-11-17 Image encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009261970A JP2011109385A (en) 2009-11-17 2009-11-17 Image encoder

Publications (1)

Publication Number Publication Date
JP2011109385A true JP2011109385A (en) 2011-06-02

Family

ID=44232397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009261970A Pending JP2011109385A (en) 2009-11-17 2009-11-17 Image encoder

Country Status (1)

Country Link
JP (1) JP2011109385A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016132430A1 (en) * 2015-02-16 2016-08-25 三菱電機株式会社 Data compression apparatus, data decompression apparatus, data compression method, data decompression method, and program
WO2018041379A1 (en) * 2016-08-29 2018-03-08 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Improvements for greatest common line index (gcli) video coding
JP2020145518A (en) * 2019-03-04 2020-09-10 日本放送協会 Encoder and decoder

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016132430A1 (en) * 2015-02-16 2016-08-25 三菱電機株式会社 Data compression apparatus, data decompression apparatus, data compression method, data decompression method, and program
JPWO2016132430A1 (en) * 2015-02-16 2017-06-01 三菱電機株式会社 Data compression apparatus, data expansion apparatus, data compression method, data expansion method, and program
CN107251438A (en) * 2015-02-16 2017-10-13 三菱电机株式会社 Data compression device, data decompression device, data compression method, uncompressing data and program
US9979415B2 (en) 2015-02-16 2018-05-22 Mitsubishi Electric Corporation Data compression apparatus, data decompression apparatus, data compression method, data compression method, and computer readable medium
CN107251438B (en) * 2015-02-16 2020-10-30 三菱电机株式会社 Data compression apparatus and method, data decompression apparatus and method, and recording medium
WO2018041379A1 (en) * 2016-08-29 2018-03-08 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Improvements for greatest common line index (gcli) video coding
JP2020145518A (en) * 2019-03-04 2020-09-10 日本放送協会 Encoder and decoder
JP7216575B2 (en) 2019-03-04 2023-02-01 日本放送協会 Encoding device and decoding device

Similar Documents

Publication Publication Date Title
JP4949462B2 (en) Code amount estimation method, apparatus, program thereof, and recording medium
US20210076069A1 (en) Method for Producing Video Coding and Programme-Product
JP5492206B2 (en) Image encoding method and image decoding method, and image encoding device and image decoding device
JP2005348390A5 (en)
US9210435B2 (en) Video encoding method and apparatus for estimating a code amount based on bit string length and symbol occurrence frequency
JP6828184B2 (en) Devices and methods for coding or decoding using subband-dependent predictive adaptation for entropy coding of GCLI
JPWO2008142956A1 (en) Video encoding apparatus, video encoding method, and video encoding program
CN1913642A (en) Video encoding apparatus and video encoding method
CN102740068A (en) Method and apparatus for frame memory compression
JP2003333346A (en) Image compression coding apparatus and control method therefor
CN101002477A (en) System and method for compression of mixed graphic and video sources
CN108702513A (en) Device and method for the adaptive computation of quantization parameter in display stream compression
JP2014078860A (en) Compressor, driving device, display device, and compression method
TWI247547B (en) Rate controlling method and apparatus for use in a transcoder
JP2011109385A (en) Image encoder
KR100438856B1 (en) By lively table quantum/requantum making for method and status
JP2007300389A (en) Image encoding apparatus and image encoding program
US8422807B2 (en) Encoder and image conversion apparatus
US9485509B2 (en) Image compression device, image compression method, image decompression device, and image decompression method
JP5157490B2 (en) Target code amount calculation device, target code amount calculation method, and target code amount calculation program
JP2013207779A (en) Image processing apparatus and image forming apparatus
JP2011029982A (en) Wavelet transform coding method and apparatus
US7720300B1 (en) System and method for effectively performing an adaptive quantization procedure
TWI646823B (en) Video compression method and video compression device
JP2008236090A (en) Color space conversion apparatus and method, information processor, computer program, and information recording medium