JP2017216625A5 - - Google Patents

Download PDF

Info

Publication number
JP2017216625A5
JP2017216625A5 JP2016110213A JP2016110213A JP2017216625A5 JP 2017216625 A5 JP2017216625 A5 JP 2017216625A5 JP 2016110213 A JP2016110213 A JP 2016110213A JP 2016110213 A JP2016110213 A JP 2016110213A JP 2017216625 A5 JP2017216625 A5 JP 2017216625A5
Authority
JP
Japan
Prior art keywords
code amount
scene change
sub
encoding
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016110213A
Other languages
Japanese (ja)
Other versions
JP6806466B2 (en
JP2017216625A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2016110213A priority Critical patent/JP6806466B2/en
Priority claimed from JP2016110213A external-priority patent/JP6806466B2/en
Publication of JP2017216625A publication Critical patent/JP2017216625A/en
Publication of JP2017216625A5 publication Critical patent/JP2017216625A5/ja
Application granted granted Critical
Publication of JP6806466B2 publication Critical patent/JP6806466B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (15)

撮像手段で撮像した動画像データを符号化する画像符号化装置であって、
前記動画像データにおける着目フレームを周波数変換し、複数のサブバンドを生成する周波数変換手段と、
設定された目標符号量に応じて決定される量子化パラメータに従い、各サブバンドの係数データを量子化する量子化手段と、
量子化後の係数データを符号化し、符号化データを生成する符号化手段と、
前記符号化手段で生成された直前のフレームの符号量に応じて、目標符号量を設定する符号量制御手段と、
前記複数のサブバンド毎に、前記着目フレームと前記直前のフレームとの間でシーンチェンジがあるかを判定する判定手段と
を有することを特徴とする画像符号化装置。
An image encoding apparatus for encoding moving image data captured by an imaging unit, comprising:
Frequency conversion means for frequency converting a frame of interest in the moving image data to generate a plurality of sub bands;
Quantizing means for quantizing coefficient data of each sub-band in accordance with a quantizing parameter determined according to the set target code amount;
Encoding means for encoding coefficient data after quantization to generate encoded data;
Code amount control means for setting a target code amount according to the code amount of the immediately preceding frame generated by the encoding means;
An image coding apparatus characterized by further comprising: determining means for determining whether there is a scene change between the focused frame and the immediately preceding frame for each of the plurality of sub-bands.
前記判定手段は、前記符号化手段によるサブバンドの係数データの符号化結果に応じて、当該サブバンドにシーンチェンジがあるかを決定することを特徴とする請求項1に記載の画像符号化装置。   The image coding apparatus according to claim 1, wherein the determination means determines whether there is a scene change in the sub-band according to a coding result of the coefficient data of the sub-band by the coding means. . 前記符号量制御手段は、前記判定手段によりシーンチェンジがあると判定されたサブバンドについては、前記符号化手段で生成された前のフレームの符号量に応じて決定される目標符号量ではなく、予め設定されているシーンチェンジ用の目標符号量を設定することを特徴とする請求項1に記載の画像符号化装置。   The code amount control unit is not a target code amount determined based on the code amount of the previous frame generated by the encoding unit for the sub-bands determined by the determination unit to have a scene change. The image coding apparatus according to claim 1, wherein a target code amount for a scene change set in advance is set. 前記符号量制御手段は、前記判定手段によりシーンチェンジがないと判定されたサブバンドについては、前記符号化手段で生成された前のフレームの符号量に応じて決定される目標符号量を設定することを特徴とする請求項3に記載の画像符号化装置。   The code amount control means sets a target code amount determined in accordance with the code amount of the previous frame generated by the encoding means for the sub-bands determined by the determination means that there is no scene change. The image coding apparatus according to claim 3, characterized in that: 前記量子化手段は、各サブバンドの係数データを所定の領域単位に量子化し、
前記符号化手段は、前記所定の領域毎に符号化を行い、
前記判定手段は、各サブバンドにおいて、予め設定された領域の符号化が完了したタイミングで、シーンチェンジがあるかを判定することを特徴とする請求項1に記載の画像符号化装置。
The quantizing means quantizes coefficient data of each subband in a predetermined area unit,
The encoding means performs encoding for each of the predetermined areas,
The image coding apparatus according to claim 1, wherein the judgment means judges whether there is a scene change at the timing when coding of a preset area is completed in each subband.
前記所定の領域は1ラインであって、
前記判定手段は、各サブバンドにて、予め設定されたラインの位置の符号化が完了するたびに前記判定を行うことを特徴とする請求項5に記載の画像符号化装置。
The predetermined area is one line, and
6. The image encoding apparatus according to claim 5, wherein the determination unit performs the determination each time encoding of a predetermined line position is completed in each subband.
前記判定手段は、符号化が完了したライン位置までに発生した符号量と、前記直前のフレームにおいて前記ライン位置までに発生した符号量に所定値を乗算した値とを比較することにより、シーンチェンジがあるか否かを判定することを特徴とする請求項6に記載の画像符号化装置。   The determination means compares the code amount generated up to the line position where encoding is completed with a value obtained by multiplying the code amount generated up to the line position in the immediately preceding frame by a predetermined value. The image coding apparatus according to claim 6, wherein it is determined whether or not there is. 前記判定手段は、前記複数のサブバンド毎に、前記着目フレームと前記直前のフレームとの間の変化の程度を示す評価値を算出し、全サブバンドの評価値の合計値と所定の閾値とを比較することでシーンチェンジがあるか否かを判定し、
前記符号量制御手段は、前記判定手段によりシーンチェンジがあると判定された場合は、全サブバンドについて、前記符号化手段で生成された前のフレームの符号量に応じて決定される目標符号量ではなく、予め設定されているシーンチェンジ用の目標符号量を設定することを特徴とする請求項1に記載の画像符号化装置。
The determination means calculates, for each of the plurality of sub-bands, an evaluation value indicating a degree of change between the frame of interest and the immediately preceding frame, and adds a total value of evaluation values of all sub-bands and a predetermined threshold value. Determine whether there is a scene change by comparing
When the determination unit determines that there is a scene change, the code amount control unit determines a target code amount determined according to the code amount of the previous frame generated by the encoding unit for all subbands. 2. The image coding apparatus according to claim 1, wherein a target code amount for a scene change set in advance is not set.
前記判定手段は、前記周波数変換手段により生成された全てのサブバンドではなく、予め決められた複数のサブバンドについてシーンチェンジがあるか否かを判定することを特徴とする請求項1に記載の画像符号化装置。   2. The apparatus according to claim 1, wherein said determination means determines whether or not there is a scene change for a plurality of predetermined sub-bands, not all sub-bands generated by the frequency conversion means. Image coding device. 前記判定手段は、
前記複数のサブバンド毎に、当該サブバンドの画像の難易度を示す指標値づいて、シーンチェンジがあるか否かを判定する
ことを特徴とする請求項1に記載の画像符号化装置。
The determination means
The image coding apparatus according to claim 1, wherein for each of the plurality of sub-bands, it is determined whether there is a scene change based on an index value indicating the degree of difficulty of the image of the sub-band.
前記符号量制御手段は、The code amount control means
前記判定手段によってシーンチェンジが無いと判定されたサブバンドでは、次に量子化することになる前記所定の領域の目標符号量を前記着目フレームにおける当該サブバンドで発生した符号量に関する情報と前記直前のフレームの該当するサブバンドの符号量に関する情報に基づいて算出し、当該目標符号量に対する実際の符号化データ量との差から前記量子化パラメータを設定し、In the sub-band determined to have no scene change by the determination means, target code amount of the predetermined area to be quantized next is information about code amount generated in the sub-band in the frame of interest and the immediately preceding Calculation based on the information on the code amount of the corresponding subband of the frame, and setting the quantization parameter from the difference between the target code amount and the actual coded data amount;
前記判定手段によってシーンチェンジが有ると判定されたサブバンドでは、次に量子化することになる前記所定の領域の目標符号量を予め設定された固定値に設定し、前記着目フレームにおける当該サブバンドで発生した符号量と前記固定値との差から前記量子化パラメータを設定する設定手段とを含むIn a sub-band determined to have a scene change by the determination means, the target code amount of the predetermined area to be quantized next is set to a preset fixed value, and the sub-band in the frame of interest And setting means for setting the quantization parameter from the difference between the code amount generated in
ことを特徴とする請求項5に記載の画像符号化装置。The image coding apparatus according to claim 5, characterized in that:
前記設定手段は、
着目サブバンドにおける着目する第iラインの直前である第i−1ラインで用いた量子化パラメータをQp[i-1]、前記第i−1ラインの符号化データの符号量をS[i-1]としたとき、前記第i−1ラインの複雑度X[i-1]を次式(1)により求め、
X[i-1]=Qp[i-1] × S[i-1] …(1)
着目サブバンドの目標符号量をTsb、前記直前のフレームの該当するサブバンドの複雑度の合計値をXsb_N-1としたとき、シーンチェンジが無いと判定されたサブバンド内の次に量子化することになるラインのライン目標符号量T[i]を
T[i]=Tsb × X[i-1] / Xsb_N-1
として算出し、
シーンチェンジが有りと判定されたサブバンド内の次に量子化することになるラインのライン目標符号量T[i]を予め統計的に求めた値Tscとする
ことを特徴とする請求項11に記載の画像符号化装置。
The setting means is
The quantization parameter used in the i-1th line immediately before the i-th line in the target subband is Qp [i-1], and the code amount of the encoded data in the i-1th line is S [i- 1], the complexity X [i-1] of the (i-1) th line is obtained by the following equation (1),
X [i-1] = Qp [i-1] x S [i-1] (1)
Assuming that the target code amount of the subband of interest is Tsb, and the total value of the complexity of the corresponding subband of the immediately preceding frame is Xsb_N-1, quantize next in the subband determined to have no scene change. Line target code quantity T [i] of the line to be obtained is T [i] = Tsb × X [i−1] / Xsb_N−1
Calculated as
To claim 11, characterized in that a scene change there with the determined next value Tsc which previously statistically determined line target code amount T of the line that will quantized [i] in the sub-band Image coding apparatus as described.
前記設定手段は、
シーンチェンジが無い場合の初期の量子化パラメータをQpini、
シーンチェンジがい場合の制御感度をr、
シーンチェンジが有りの場合の初期の量子化パラメータをQpinisc、
シーンチェンジが有りの場合の制御感度をrsc、
第i−1ラインまでの符号化データ量と目標符号量との差の積算をΣE[i-1]
と定義したとき、
シーンチェンジが無い場合の前記着目サブバンド内の次に量子化するラインの量子化パラメータQp[i]を次式(2)により求め
Qp[i]=Qpini +r × ΣE[i-1] …(2)
シーンチェンジが有りの場合の前記着目サブバンド内の次に量子化するラインの量子化パラメータQp[i]を次式(3)により求める
Qp[i]=Qpinisc +rsc × ΣE[i-1] …(3)
ことを特徴とする請求項12に記載の画像符号化装置。
The setting means is
The initial quantization parameter when there is no scene change, Qpini,
The control sensitivity of the case have a scene change is no r,
The initial quantization parameter when there is a scene change is Qpinisc,
Rsc the control sensitivity of the case of there is a scene change,
Integration of the difference between the encoded data amount up to the (i-1) th line and the target code amount is ΣE [i-1]
When we define
The quantization parameter Qp [i] of the line to be quantized next in the focused subband when there is no scene change is obtained by the following equation (2): Qp [i] = Qpini + r × rE [i−1] ((2) 2)
The quantization parameter Qp [i] of the line to be quantized next in the focused subband in the presence of a scene change is obtained by the following equation (3): Qp [i] = Qpinisc + rsc × ΣE [i-1]. (3)
The image coding apparatus according to claim 12 , characterized in that:
撮像手段で撮像した動画像データを符号化する画像符号化装置の制御方法であって、
周波数変換手段が、前記動画像データにおける着目フレームを周波数変換し、複数のサブバンドを生成する周波数変換工程と、
量子化手段が、設定された目標符号量に応じて決定される量子化パラメータに従い、各サブバンドの係数データを量子化する量子化工程と、
符号化手段が、量子化後の係数データを符号化し、符号化データを生成する符号化工程と、
符号量制御手段が、前記符号化工程で生成された直前のフレームの符号量に応じて、目標符号量を設定する符号量制御工程と、
判定手段が、前記複数のサブバンド毎に、前記着目フレームと前記直前のフレームとの間でシーンチェンジがあるかを判定する判定工程と
を有することを特徴とする画像符号化装置の制御方法。
A control method of an image encoding apparatus for encoding moving image data captured by an imaging unit, comprising:
A frequency conversion step of frequency converting a frame of interest in the moving image data to generate a plurality of sub-bands;
A quantization step of quantizing coefficient data of each subband according to a quantization parameter determined according to the set target code amount;
An encoding process in which encoding means encodes the coefficient data after quantization to generate encoded data;
A code amount control step of setting a target code amount according to the code amount of the immediately preceding frame generated in the encoding step;
A control method of an image coding apparatus, comprising: a determination step of determining whether there is a scene change between the focused frame and the immediately preceding frame for each of the plurality of sub-bands.
コンピュータに読み込ませ実行させることで、前記コンピュータを、請求項1乃至13のいずれか1項に記載の画像符号化装置として機能させるためのプログラム。 By executing read into a computer program to function as the image coding apparatus according to the computer, in any one of claims 1 to 13.
JP2016110213A 2016-06-01 2016-06-01 Image coding device and its control method Active JP6806466B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016110213A JP6806466B2 (en) 2016-06-01 2016-06-01 Image coding device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016110213A JP6806466B2 (en) 2016-06-01 2016-06-01 Image coding device and its control method

Publications (3)

Publication Number Publication Date
JP2017216625A JP2017216625A (en) 2017-12-07
JP2017216625A5 true JP2017216625A5 (en) 2019-06-27
JP6806466B2 JP6806466B2 (en) 2021-01-06

Family

ID=60575869

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016110213A Active JP6806466B2 (en) 2016-06-01 2016-06-01 Image coding device and its control method

Country Status (1)

Country Link
JP (1) JP6806466B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7015183B2 (en) * 2018-02-13 2022-02-02 キヤノン株式会社 Image coding device and its control method and program
CN117675642B (en) * 2023-12-08 2024-05-24 江苏征途技术股份有限公司 AI performance quantitative detection method in intelligent network shutdown

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0618733B1 (en) * 1993-03-29 2000-05-24 Canon Kabushiki Kaisha Code amount control method and encoding apparatus for carrying it out.
US6351491B1 (en) * 1999-06-23 2002-02-26 Sarnoff Corporation Apparatus and method for optimizing the rate control for multiscale entropy encoding
JP3942088B2 (en) * 2002-09-27 2007-07-11 株式会社リコー Image processing apparatus and image processing method
CN101138248A (en) * 2005-12-07 2008-03-05 索尼株式会社 Encoding device, encoding method, encoding program, decoding device, decoding method, and decoding program
JP5257215B2 (en) * 2009-04-16 2013-08-07 ソニー株式会社 Image coding apparatus and image coding method
WO2012101708A1 (en) * 2011-01-28 2012-08-02 日本電気株式会社 2d signal encoding device

Similar Documents

Publication Publication Date Title
RU2464649C1 (en) Audio signal processing method
JP2019140680A5 (en)
JP2016505171A5 (en)
JP2005348390A5 (en)
JP2019140575A5 (en)
RU2011104002A (en) ACTIVATION SIGNAL TRANSMITTER WITH TIME DEFORMATION, AUDIO SIGNAL CODER, METHOD OF TRANSFER OF ACTIVATION SIGNAL WITH TIME DEFORMATION, METHOD OF SOUND SIGNAL PROGRAMS AND COMPUTERS
JP2009260931A5 (en)
ATE509347T1 (en) DEVICE AND METHOD FOR CODING AN INFORMATION SIGNAL
JP2012161074A5 (en)
CN103748876A (en) Method and device for lossy compress-encoding data and corresponding method and device for reconstructing data
RU2009148766A (en) DEVICE AND METHOD FOR VIDEO ENCODING, VIDEO ENCODING PROGRAM AND MEDIA STORING THE PROGRAM
RU2016104403A (en) METHOD AND DEVICE FOR FORMING FROM REPRESENTATION OF HOA-SIGNALS IN THE FIELD OF COEFFICIENTS OF MIXED REPRESENTATION OF MENTED HOA-SIGNALS IN THE SPATIAL AREA / AREA OF COEFFICIENTS
RU2016105764A (en) CONTEXT ENTROPY ENCODING OF SAMPLED VALUES OF SPECTRAL ENBOIDING
RU2012127421A (en) DEVICE AND METHOD FOR PROCESSING IMAGES
RU2017104514A (en) CODER, DECODER, SYSTEM AND METHODS FOR CODING AND DECODING
JP2017085319A5 (en)
JP2017216625A5 (en)
IL309691A (en) Method and apparatus for video encoding and decoding based on block shape
JP2019004428A5 (en)
FI3510773T3 (en) Quantisation parameter determination and layered coding
CA2561435A1 (en) Reduced computational complexity of bit allocation for perceptual coding
CN107615665B (en) Pre-load phase data compression
CA2556325A1 (en) Audio encoding
JP2014531863A5 (en)
JP2004166254A5 (en)