JP2006005478A5 - - Google Patents

Download PDF

Info

Publication number
JP2006005478A5
JP2006005478A5 JP2004177346A JP2004177346A JP2006005478A5 JP 2006005478 A5 JP2006005478 A5 JP 2006005478A5 JP 2004177346 A JP2004177346 A JP 2004177346A JP 2004177346 A JP2004177346 A JP 2004177346A JP 2006005478 A5 JP2006005478 A5 JP 2006005478A5
Authority
JP
Japan
Prior art keywords
encoded data
data
image
decoding
jpeg
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
JP2004177346A
Other languages
Japanese (ja)
Other versions
JP4241517B2 (en
JP2006005478A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2004177346A priority Critical patent/JP4241517B2/en
Priority claimed from JP2004177346A external-priority patent/JP4241517B2/en
Priority to US11/152,053 priority patent/US7499592B2/en
Publication of JP2006005478A publication Critical patent/JP2006005478A/en
Publication of JP2006005478A5 publication Critical patent/JP2006005478A5/ja
Application granted granted Critical
Publication of JP4241517B2 publication Critical patent/JP4241517B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Claims (9)

拡張JPEG符号化データを復号する機能を有する画像復号装置であって、
符号化データがベースラインJPEG符号化データであるか、拡張JPEG符号化データであるかを、前記符号化データのヘッダ情報を解析することで判定する判定手段と、
符号化データを復号する復号手段と、
前記判定手段で符号化データがベースラインJPEG符号化データであると判定した場合、前記復号手段で復号された復号値をD、前記符号化データのヘッダに含まれる量子化テーブル情報の量子化ステップ値をQ、逆量子化データをXとしたとき、
X=D×Q×2n
(nは1以上、4以下の整数)
として逆量子化データXを算出する算出手段と、
該算出手段で得られた逆量子化データXに対し、逆DCT変換する逆DCT変換手段と、
前記判定手段で、入力した符号化データがベースラインJPEG符号化データであると判定した場合、前記逆DCT変換後の画像データを丸め処理して出力し、前記判定手段で入力した符号化データが拡張JPEG符号化データであると判定した場合には、前記逆DCT変換後の画像データを復号結果として出力する出力手段と
を備えることを特徴とする画像復号装置。
An image decoding device having a function of decoding extended JPEG encoded data,
Determining means for determining whether the encoded data is baseline JPEG encoded data or extended JPEG encoded data by analyzing header information of the encoded data;
Decoding means for decoding the encoded data;
When the determination means determines that the encoded data is baseline JPEG encoded data, the decoding value decoded by the decoding means is D, and the quantization step of quantization table information included in the header of the encoded data When the value is Q and the inverse quantized data is X,
X = D × Q × 2 n
(N is an integer from 1 to 4)
Calculating means for calculating the dequantized data X as:
An inverse DCT transforming means for inverse DCT transforming the inversely quantized data X obtained by the calculating means;
When the determination unit determines that the input encoded data is baseline JPEG encoded data, the image data after the inverse DCT conversion is rounded and output, and the encoded data input by the determination unit is An image decoding apparatus comprising: output means for outputting the image data after the inverse DCT conversion as a decoding result when it is determined that the data is extended JPEG encoded data.
前記逆DCT変換手段で得られた画像データは、輝度、色差成分であり、更に、前記輝度、色差成分を、カラー画像を構成する各色成分に変換する色変換手段を備えることを特徴とする請求項1に記載の画像復号装置。   The image data obtained by the inverse DCT conversion means is luminance and color difference components, and further comprises color conversion means for converting the luminance and color difference components into color components constituting a color image. Item 2. The image decoding device according to Item 1. 前記算出手段は、
前記判定手段で符号化データがベースラインJPEG符号化データであると判定した場合には、符号化データのヘッダに格納されている量子化テーブル情報の量子化ステップ値Qを2倍した結果を保持し、拡張JPEG符号化データであると判定した場合には、符号化データのヘッダに格納されている量子化テーブル情報の量子化ステップ値Qをそのまま保持する保持手段と、
前記復号手段で復号された復号値Dに前記保持手段で保持された量子化ステップQを乗算することで逆量子化データを演算する演算手段と
を備えることを特徴とする請求項1に記載の画像復号装置。
The calculating means includes
When the determination means determines that the encoded data is baseline JPEG encoded data, the result obtained by multiplying the quantization step value Q of the quantization table information stored in the header of the encoded data by 2 n is obtained. And holding means for holding the quantization step value Q of the quantization table information stored in the header of the encoded data as it is when it is determined to be extended JPEG encoded data;
The computing means for computing inverse quantized data by multiplying the decoded step value D decoded by the decoding means by the quantization step value Q held by the holding means. Image decoding apparatus.
前記算出手段は、
符号化データのヘッダに格納されている量子化テーブル情報の量子化ステップ値を保持する保持手段と、
前記復号手段で復号された復号値に前記保持手段で保持された量子化ステップQを乗算する第1の演算手段と、
前記判定手段で符号化データが拡張JPEG符号化データであると判定した場合には、前記第1の演算手段の演算結果を前記演算手段の演算結果として出力し、ベースラインJPEG符号化データであると判定した場合には、前記第1の演算手段で得られた結果を2倍し、前記演算手段の演算結果として出力する第2の演算手段と
を備えることを特徴とする請求項1に記載の画像復号装置。
The calculating means includes
Holding means for holding the quantization step value Q of the quantization table information stored in the header of the encoded data;
First computing means for multiplying the decoded value decoded by the decoding means by the quantization step value Q held by the holding means;
When the determination unit determines that the encoded data is extended JPEG encoded data, the calculation result of the first calculation unit is output as the calculation result of the calculation unit, and is the baseline JPEG encoded data. And a second calculation means for multiplying the result obtained by the first calculation means by 2 n and outputting the result as the calculation result of the calculation means. The image decoding device described.
前記算出手段は、
符号化データのヘッダに格納されている量子化テーブル情報の量子化ステップ値を保持する保持手段と、
前記判定手段で符号化データが拡張JPEG符号化データであると判定した場合には、前記保持手段に保持されている量子化ステップ値を出力し、ベースラインJPEG符号化データであると判定した場合には、前記保持手段に保持されている量子化ステップ値を2倍して出力する第1の演算手段と、
該第1の演算手段の出力値を、前記復号手段で復号された復号値に乗算する第2の演算手段と
を備えることを特徴とする請求項1に記載の画像復号装置。
The calculating means includes
Holding means for holding the quantization step value Q of the quantization table information stored in the header of the encoded data;
When the determination unit determines that the encoded data is extended JPEG encoded data, the quantization step value Q held in the holding unit is output, and it is determined that the encoded data is baseline JPEG encoded data. In the case, the first calculation means for outputting the quantization step value Q held in the holding means multiplied by 2 n , and
The image decoding apparatus according to claim 1, further comprising: a second calculation unit that multiplies the output value of the first calculation unit by the decoded value decoded by the decoding unit.
複数成分で構成される画像データをJPEG符号化する画像符号化装置であって、
符号化対象の画像データの各成分が12ビットで表現されているか否かを判定する判定手段と、
該判定手段によって各成分が12ビット未満で表現されている画像データであると判定した場合、各成分を2倍(nは1乃至4の整数)してビット数を拡張するビット拡張手段と、
各色成分が12ビットで表現されている画像データ、或いは、前記ビット拡張手段で各成分のビット数が拡張された画像データを入力し、輝度、色差成分に変換する色変換手段と、
該色変換手段で得られた各成分値をDCT変換するDCT変換手段と、
ベースラインJPEG用の量子化テーブル情報、拡張JPEG用の量子化テーブル情報を出力でき、前記判定手段で符号化対象の画像データの各成分が8ビットで表現されていると判定した場合、ベースラインJPEG用の量子化テーブル情報の量子化ステップ値を2倍して出力し、符号化対象の画像データの各成分が12ビットで表現されていると判定した場合、拡張JPEG用の量子化テーブル情報の量子化ステップ値を出力する量子化テーブル出力手段と、
前記DCT変換手段で変換して得られた係数を前記保持手段から出力された量子化ステップ値に基づいて量子化する量子化手段と、
量子化された係数から符号列を生成する符号列生成手段と、
前記判定手段の判定結果を示す情報、及び、使用された量子化テーブル情報をヘッダの所定領域に格納し、前記符号列生成手段で生成された符号列を後続させることでベースラインJPEG符号化データ、或いは、拡張JPEG符号化データを生成する符号化手段と
を備えることを特徴とする画像符号化装置。
An image encoding device for JPEG encoding image data composed of a plurality of components,
Determining means for determining whether each component of image data to be encoded is expressed in 12 bits;
A bit expansion unit that expands the number of bits by multiplying each component by 2n (where n is an integer of 1 to 4) when the determination unit determines that each component is image data represented by less than 12 bits; ,
Color conversion means for inputting image data in which each color component is expressed by 12 bits, or image data in which the number of bits of each component is extended by the bit extension means, and converting it into luminance and color difference components;
DCT conversion means for DCT converting each component value obtained by the color conversion means;
Baseline JPEG quantization table information and extended JPEG quantization table information can be output, and if the determination unit determines that each component of the image data to be encoded is expressed in 8 bits, the baseline When the quantization step value of the JPEG quantization table information is output by multiplying by 2 n and it is determined that each component of the image data to be encoded is represented by 12 bits, the quantization table for extended JPEG A quantization table output means for outputting a quantization step value of information;
Quantization means for quantizing the coefficient obtained by the conversion by the DCT conversion means based on the quantization step value output from the holding means;
Code string generation means for generating a code string from the quantized coefficients;
Baseline JPEG encoded data by storing information indicating the determination result of the determination unit and the used quantization table information in a predetermined area of the header, followed by the code string generated by the code string generation unit Or an encoding means for generating extended JPEG encoded data.
前記ビット拡張手段は、各成分を8倍してビット数を拡張することを特徴とする請求項6に記載の画像符号化装置。   The image coding apparatus according to claim 6, wherein the bit expansion means expands the number of bits by multiplying each component by eight. 前記ビット拡張手段は、各成分を16倍してビット数を拡張することを特徴とする請求項6に記載の画像符号化装置。   The image coding apparatus according to claim 6, wherein the bit expansion means expands the number of bits by multiplying each component by 16. 前記色変換手段は、色変換前の画像データが輝度、色差成分で構成されている場合には、色変換処理を行わないことを特徴とする請求項6に記載の画像符号化装置。   7. The image coding apparatus according to claim 6, wherein the color conversion means does not perform color conversion processing when image data before color conversion is composed of luminance and color difference components.
JP2004177346A 2004-06-15 2004-06-15 Image encoding apparatus and image decoding apparatus Expired - Fee Related JP4241517B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004177346A JP4241517B2 (en) 2004-06-15 2004-06-15 Image encoding apparatus and image decoding apparatus
US11/152,053 US7499592B2 (en) 2004-06-15 2005-06-15 Image decoding apparatus and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004177346A JP4241517B2 (en) 2004-06-15 2004-06-15 Image encoding apparatus and image decoding apparatus

Publications (3)

Publication Number Publication Date
JP2006005478A JP2006005478A (en) 2006-01-05
JP2006005478A5 true JP2006005478A5 (en) 2007-07-19
JP4241517B2 JP4241517B2 (en) 2009-03-18

Family

ID=35773515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004177346A Expired - Fee Related JP4241517B2 (en) 2004-06-15 2004-06-15 Image encoding apparatus and image decoding apparatus

Country Status (1)

Country Link
JP (1) JP4241517B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6882685B2 (en) 2001-09-18 2005-04-19 Microsoft Corporation Block transform and quantization for image and video coding
WO2007116551A1 (en) * 2006-03-30 2007-10-18 Kabushiki Kaisha Toshiba Image coding apparatus and image coding method, and image decoding apparatus and image decoding method
US8942289B2 (en) 2007-02-21 2015-01-27 Microsoft Corporation Computational complexity and precision control in transform-based digital media codec
KR101365444B1 (en) * 2007-11-19 2014-02-21 삼성전자주식회사 Method and apparatus for encoding/decoding moving image efficiently through adjusting a resolution of image
CN115082443B (en) * 2022-07-25 2022-11-08 山东天意机械股份有限公司 Concrete product quality detection method based on intelligent monitoring platform

Similar Documents

Publication Publication Date Title
JP2007520948A5 (en)
RU2391715C2 (en) Vector quantisation with application of single code book for multi-speed applications
JP2004254327A5 (en)
JP2007036566A5 (en)
US7379500B2 (en) Low-complexity 2-power transform for image/video compression
KR20110043684A (en) Method, system, and apparatus for compression or decompression of digital signals
CN108900532B (en) Electronic device, method, storage medium, and apparatus for message processing
WO2018014301A1 (en) Video coding method and device
WO2011097963A1 (en) Encoding method, decoding method, encoder and decoder
JP2003319394A5 (en)
JP2008306510A5 (en)
JP2006005478A5 (en)
KR102219133B1 (en) Apparatus and method for compact bit-plane data compression
JP4241517B2 (en) Image encoding apparatus and image decoding apparatus
JP2013131938A5 (en)
JP2003256405A5 (en)
JP4111761B2 (en) Image processing device
JP4806464B2 (en) Image compression apparatus, image compression method, image restoration apparatus, and program
WO2009127135A1 (en) Method and apparatus for deriving an order-16 integer transform
JP4114144B2 (en) Image encoding device, image encoding program, and image decoding program
JP2006065678A5 (en)
WO1998054841A1 (en) Data compressing device by permutation encoding and decompressing device
JP4448055B2 (en) Image signal conversion method, image signal inverse conversion method, image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program
JP3954032B2 (en) Image coding apparatus, image coding method, image coding program, and computer-readable recording medium on which image coding program is recorded
JP2005354307A (en) Inverse quantizer and image decoder employing same