JP3952116B2 - Image compression apparatus and method - Google Patents

Image compression apparatus and method Download PDF

Info

Publication number
JP3952116B2
JP3952116B2 JP32194699A JP32194699A JP3952116B2 JP 3952116 B2 JP3952116 B2 JP 3952116B2 JP 32194699 A JP32194699 A JP 32194699A JP 32194699 A JP32194699 A JP 32194699A JP 3952116 B2 JP3952116 B2 JP 3952116B2
Authority
JP
Japan
Prior art keywords
coefficient
huffman
zero
value
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP32194699A
Other languages
Japanese (ja)
Other versions
JP2001145106A (en
Inventor
裕希 外川
秀和 徳橋
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP32194699A priority Critical patent/JP3952116B2/en
Publication of JP2001145106A publication Critical patent/JP2001145106A/en
Application granted granted Critical
Publication of JP3952116B2 publication Critical patent/JP3952116B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明が属する技術分野】
本発明は、デジタル画像の圧縮方式に関し、特にJPEGベースライン方式の改良に関する。
【0002】
【従来の技術】
デジタル静止画像の圧縮方式としてJPEGが知られており、JPEGの複数種の圧縮方式のうち、特に、DCT(離散コサイン変換)を用いたベースライン方式は広く用いられている。JPEGベースライン方式の手順は、例えば特許第2711665号に詳細に説明されている。
【0003】
この圧縮方式では、まず、入力ビットマップ画像を所定サイズのブロック、例えば8×8の画素値からなるブロックに分割する。次に、各画素値ブロックに対してDCT(離散コサイン変換)を施す。DCTにより、各8×8の画素値ブロックから8×8の変換係数からなる係数ブロックが新たに生じる。この係数ブロックの最初の変換係数は画素値ブロックのDC(直流)成分の大きさを示し、それ以外の63個の変換係数はそれぞれ周波数の異なるAC(交流)成分の大きさを示している。次に、各係数ブロック内の係数を量子化する。次に、各係数ブロックに対しジグザグスキャンを施して、各係数ブロックの係数をジグザグな順序のシーケンスに並べる。そして、この係数シーケンスに対し、二次元ハフマン符号化(ランレングス・ハフマン符号化)を施して、そのビット数を低減する。
【0004】
上記の圧縮方式では、高い圧縮率を得るために、一般的なデジタル静止画像がもつ特徴が上手く利用されている。すなわち、一般的なデジタル静止画像にDCTを施すと、その結果の係数ブロックでは、高域のAC変換係数の大部分がゼロ又はゼロに近い値になる。そのため、続く量子化によって、高域のAC変換係数の大部分はゼロになる。そのため、次のジグザグスキャンにより得られた係数シーケンスには、連続したゼロの列が多く含まれることになる。続く二次元ハフマン符号化では、連続するゼロの列の長さ(ゼロランレングス)を考慮したハフマン符号化を行うことにより、ビット数が効果的に低減される。
【0005】
すなわち、この二次元ハフマン符号化では、係数シーケンス内に出現する、連続するゼロの列と、それに先行(又は後続)するゼロでない1つの係数(非ゼロ係数)とを合わせたものを、符号化すべき一つの事象として扱う。そして、ハフマン符号化の原理に従がい、統計的な出現頻度のより高い事象に対し、より短い符号語を割り当てる。例えば、ゼロランレングスがゼロ、後続する非ゼロ係数のビット長が1という事象は、出願頻度が最も高いので、最も短い符号語を割り当てる。また、ゼロランレングスが1、後続の非ゼロ係数のビット長が1という事象は、次に出願頻度が高いので、次の符号語を割り当てる。同様に他の事象に対しても、その出現頻度に応じた符号語を割り当てる。このように、ゼロランレングスと後続の非ゼロ係数という二つの次元を採り入れた二次元ハフマン符号化により、全体のビット数が効果的に低減される。
【0006】
また、係数シーケンスの或る位置から後方の係数が全てゼロということは良くある。その最たるものは、完全に一色で塗りつぶされたブロックであり、全てのAC係数がゼロである。このような場合のために、EOB(エンド・オブ・ブロック)という符号語(具体的には、二次元ハフマンテーブルにおける座標X、Y=0、0のハフマン符号語)が設けられている。EOBは、それ以降のAC係数は全てゼロであることを意味する。このEOBによって、全体のビット数は更に低減される。
【0007】
実際の装置では、二次元ハフマン符号化のための事象と符号語を定義した図1に例示するような二次元ハフマンテーブル100をROM又はRAM上に用意して、この二次元ハフマンテーブル100を参照しながら、係数シーケンスに出現する個々の事象を、それに対応する符号語に変換していく。図1に示すように、この二次元ハフマンテーブル100では、ゼロランレングスXと、後続する非ゼロ係数のビット長Yとの組合せ(X,Y)で各事象が表されており、各事象(X,Y)に対応する枠内に、その事象に割り当てられた符号語が記述されている(具体的な符号語は図示省略してある)。
【0008】
【発明が解決しようとする課題】
このように、従来のJPEGベースライン法は、ジグザグスキャン後の変換係数シーケンスには、連続したゼロの列が多く含まれるという前提の下で、ゼロランレングスの要素を採り入れた二次元ハフマン符号化により、高い圧縮効果を図っている。
【0009】
しかし、極めて高画質のデジタル画像では上記の前提は必ずしも成立しない。例えば、近年高画質化が進んだデジタルカメラで撮影されたデジタル画像においては、ジグザグスキャン後の係数シーケンスにおいてEOB以前にゼロが現れる頻度は非常に低い。そのため、デジタルカメラの出力画像に対しては、DCT後のハフマン圧縮でゼロランレングスの要素を採り入れたことによる圧縮効果は薄い。かえって、二次元ハフマンテーブルを用意する分だけ、ROMやRAMのリソース負担が増え、それが特に、ROM制限の厳しい装置や、ゲート数の少ないASICなどに圧縮装置を実装する場合に問題となる。
【0010】
従って、本発明の目的は、できるだけ少ないリソース負担で、高画質デジタル画像に対する高い圧縮効果が得られる、JPEGベースライン法を改良した画像圧縮方法を提供することにある。
【0011】
本発明の別の目的は、上記の目的を達成するともに、既に広く普及している従来のJPEGベースライン法の画像展開装置で画像の展開が可能な、JPEGベースライン法を改良した画像圧縮方法を提供することにある。
【0012】
【課題を解決するための手段】
本発明の改良されたJPEGベースライン圧縮法によれば、デジタル画像のDCT符号化によって生じたAC係数をハフマン符号化する際、AC係数の値のみに関係する一次元の事象群に対してそれぞれ割り当てられたハフマン符号語群を用いる。この係数値のみに応じたハフマン符号語群は、従来の係数値とゼロランレングスとの組み合わせに応じた二次元ハフマンテーブルに比べて符号語数が少ないので、ハフマンテーブルを展開するときのリソース負担が軽い。また、ハフマン符号化でゼロランレングスの要素を取り入れなくても、デジタルカメラの出力画像のような高画質のデジタル画像では、ゼロの発生頻度が低いため、従来方法と遜色のない高画質と高い圧縮率とが得られる。
【0013】
好適な実施形態では、上記のハフマン符号語群には、ゼロのAC係数に対し割り当てられた符号語は含まれていない。そのため、ゼロのAC係数をハフマン符号化するときには、前記ゼロのAC係数を別の所定値(例えば、値1)に置換して、この所定値に対応したハフマン符号語に変換する。このハフマン符号語群に係数値ゼロに対するハフマン符号語が含まれていない理由は、このハフマン符号語群が、従来のJPEGベースライン法で用いられていた二次元ハフマンテーブル中からランレングスがゼロの場合の符号語群だけ取り出したものだからである。このように、従来の二次元ハフマンテーブルに含まれているハフマン符号語群を用いることにより、画像展開の際には従来のJPEG展開装置を用いることが可能となる。なお、AC係数の値ゼロを値1に置き換えても、人の視覚には画質劣化として認識されることはない。
【0014】
好適な実施形態では、画像展開の際に従来のJPEG展開装置を利用できようにするために、更に、圧縮結果の出力ビットストリームを生成する際、従来法で用いられていた二次元ハフマンテーブルであって、そのランレングスがゼロの部分が上記ハフマン符号化で用いた符号語群と一致するような二次元ハフマンテーブルを生成するための情報を、出力ビットストリームに含ませる。
【0015】
【発明の実施の形態】
図1は、本発明の一実施形態にかかる改良されたJPEGベースライン法による画像圧縮処理の流れを示す。
【0016】
図2に示すように、この画像圧縮処理は、前処理1、DCT符号化3、エントロピー符号化5及びビットストリーム生成7の4段階に大別できる。この実施形態では、前処理1、DCT符号化3及びビットストリーム生成7には、従来のJPEGベースライン法と同じ手法を用いる。また、エントロピー符号化5のうち、DC係数に対する処理51、53にも、従来と同じ手法を用いる。さらに、エントロピー符号化5のAC係数に対する処理のうち、ジグザグスキャン55も従来と同じ方法を用いる。従って、この実施形態では、AC係数に対するハフマン符号化57についてのみ、新しい手法を用いる。
【0017】
以下、従来の手法は周知故に簡単な説明に止め、新しい手法(AC係数に対するハフマン符号化57)は詳細に説明する。
【0018】
前処理1では、入力ビットマップ画像の色空間をRGBからYUV(YCbCr)へ変換する色変換、及び、3つの各色成分の画像を例えばサイズ8×8のブロックに細分するブロック化処理を行う。
【0019】
次のDCT符号化3では、まず、各ブロックに対し二次元DCTを施して、例えばサイズ8×8の変換係数ブロックに変換する。次に、各係数ブロックに対し、各変換係数ごとに異なる量子化ステップを用いた量子化を施す。各変換係数ごとの量子化ステップは、予め用意された量子化テーブル9に定義されている。
【0020】
次のエントロピー符号化5では、まず、各8×8係数ブロックの量子化された64個の変換係数を1個のDC係数と63個のAC係数に分ける。そして、DC係数に対しては、差分符号化51を行った後、ハフマン符号化53を行う。差分符号化51は、前ブロックと現ブロックのDC係数が似た値をとることが多いため、次のハフマン符号化53をより効果的にしている。差分符号化51後の値とそれに割当てられたハフマン符号語とは、メモリ上のDC用ハフマンテーブル11に定義されている。
【0021】
エントロピー符号化5のAC成分に対する処理では、まず、各係数ブロックのAC係数にジグザグスキャン55を行なって、各ブロック内の63個のAC係数を、低域が先で高域が後という順序で一つのシーケンスに並べる。次に、この係数シーケンスに対しハフマン符号化57を施す。このハフマン符号化57は、ゼロランレングスの要素は採り入れず、係数のビット長という一次元の要素のみに基づく一次元ハフマン符号化である。係数のビット長とハフマン符号語との対応関係は、メモリ上に用意されたAC用ハフマンテーブル13に定義されている。このAC用ハフマンテーブル13は、従来のJPEGベースライン法で用いられている図1に例示した二次元ハフマンテーブル100から、ゼロランレングスX=0の部分つまり左端の縦一列だけを抜き出したと同様の、係数絶対値のビット長だけに基づく一次元ハフマンテーブルである。
【0022】
最後のビットストリーム生成7では、エントロピー符号化5で生成された符号語の列に、画像サイズ及び量子化ビット数などの画像情報、並びに、色空間、量子化テーブル、DC用ハフマンテーブル11生成用の出現頻度テーブル及びAC用ハフマンテーブル13生成用の出現頻度テーブルなどの圧縮情報を付加して、所定形式のビットストリームとして出力する。この出力ビットストリームに含まれるAC用ハフマンテーブル13生成用の出現頻度テーブルの内容は、これに基づいて図3に例示した一次元ハフマンテーブル13のみが生成できるだけのものではなく、図1に例示した従来のJPEGベースライン法の二次元ハフマンテーブル100が生成できるもの、つまり、従来のJPEGベースライン法で圧縮された出力ビットストリームに含まれているAC用ハフマンテーブル生成用の出現頻度テーブルと同様の内容である。そのため、本実施形態で圧縮された画像は、従来のJPEG画像展開装置を用いて展開することが可能である。
【0023】
以下、上述したエントロピー符号化5におけるAC係数に対するハフマン圧縮57の処理を詳細に説明する。図3は、この処理で用いるAC用一次元ハフマンテーブル13を示している。
【0024】
このハフマン圧縮57では、ジグザグスキャン55で得られた係数シーケンスに出現する個々の係数の絶対値のビット長を、符号化すべき一つの事象として扱う。図3に例示する一次元ハフマンテーブル13では、係数の絶対値のビット長Yが1から15までの各値である場合と、16以上である場合の合計16種類の事象について、その出現頻度に応じた符号語が割り当てられている。これら16種類の事象のうち、Y=1の事象が最も出現頻度が高いので、最も短い(例えば2ビットの)符号語が割り当てられ、Y≧16の事象が最も出現頻度が低いので、最も長い符号語が割り当てられている(図3では、符号語は図示省略してある)。その他、従来技術と同様、「以降のAC係数は全てゼロ」を意味するEOB(エンド・オブ・ブロック)の符号語も用意されており(具体的には、二次元ハフマンテーブルにおける座標X、Y=0、0のハフマン符号語)、これも比較的に短い(例えば4ビットの)符号語である。
【0025】
なお、この一次元ハフマンテーブル13では、係数のビット長Y=0という事象(つまり、係数の値がゼロ)は定義されていない。その理由は、図1に示した従来JPEGベースライン法の二次元ハフマンテーブル100(ゼロランレングスを考慮するという原理上、Y=0はない)からランレングス=0の部分だけを抽出したものが、この一次元ハフマンテーブル13だからである。このように、従来の二次元ハフマンテーブル100に合致した構成の一次元ハフマンテーブル13を用いることによって、既に述べたように、本実施形態で圧縮した画像は、広く普及している従来のJPEG画像展開装置で展開することが可能である。後述するように、一次元ハフマンテーブル13で定義されていないゼロがEOBより前に出現した場合には、その係数値ゼロを値「1」に置き換えることで対処する。
【0026】
図4は、各ブロックごとのAC係数シーケンスに対するハフマン符号化57の全体的な処理流れを示している。
【0027】
まず、ジグザグスキャン55で得られたAC係数シーケンスにおける有効データの最後を決定する(S1)。ここで有効データの最後とは、その係数より後の係数は全て0であるような係数を指す(つまり、その直後にEOBが置かれることになる)。この有効データの最後を決定する処理の詳細を図5に示す。図5に示すように、係数シーケンス内の各係数の位置(先頭からの順位)を示す値Indexに64を初期設定した上で(S21)、Indexを1づつ減らしながらIndexが指す位置のAC係数の値が0か否かチェックしていく(S22,S23)。つまり、係数シーケンスの最後から先頭へ向かって順番に、各AC係数がゼロか否かをチェックしていく。そして、最初のゼロでないAC係数が見つかると、そのAC係数の位置Indexを、有効データの最後として図4のメインの処理に返す(S24)。
【0028】
再び図4を参照して、次に、係数シーケンスの先頭から順番に各AC係数を読み込み(S2)、その読み込んだ係数の絶対値を求め(S3)、その絶対値がゼロか否かをチェックする(S4)。その結果、絶対値がゼロの場合には、その絶対値を「1」に変更する(S5)。これは、前述したように一次元ハフマンテーブル13にゼロの係数が定義されていないため、ゼロをそれに最も近い値「1」に置換えるものである。このようにゼロを「1」に置換えても、ゼロと「1」では人の視覚に与える差は殆ど無く、且つ、特にデジタルカメラの出力画像のような高画質画像では、有効データ中にゼロが出現する頻度が少ないため、実質的な画質劣化は殆どない。
【0029】
次に、AC係数の絶対値のビット長を求める(S6)。この処理の詳細は図6に示されている。図6に示すように、まず、ビット長YをY=0に初期設定した上で(S31)、係数の絶対値を示すバイトデータを1ビットだけ右へシフトし(つまり、絶対値を2で除算し)、ビット長Yを1だけインクリメントする(S33)。次に、いま1ビットだけ右シフトした絶対値データがゼロか否かチェックし(S33)、ゼロでなければステップS32を繰り返す。ステップS33でゼロになると、ステップS32でのインクリメントで求まったビット長Yを、その係数の絶対値のビット長として、図4のメインの処理に返す(S34)。
【0030】
再び図4を参照して、次に、図6の処理から返された係数絶対値のビット長Yに対応するハフマン符号語を、図3に示した一次元ハフマンテーブル13から読み込み(S7)、そのハフマ符号語を、出力すべきビットストリームに書き込む(S8)。ステップS7でメモリ上のハフマン符号テーブル13から読み込んだ符号語のデータはバイト単位の長さをもっているので、ステップS8では、その読み込んだバイトの中から、正味の符号語のビット長部分だけを取り出してビットストリームに書き込む。
【0031】
次に、その係数の正負を調べ(S9)、正の場合にはその係数の値そのものをビットストリームに書き込み(S11)、負の場合には、その係数から1から引き算して(S10)、その差値をビットストリームに書き込む(S11)。このときも、元の係数データのバイトの中から、正味の係数のビット長Yの部分だけを取り出してビットストリームに書き込む。これにより係数データのビット数が低減される。例えば、出現頻度の最も高いビット長Y=1の係数の場合、元々1バイトであったところ、最も短い例えば2ビットのハフマン符号語と正味の係数のビット長1とを合わせた3ビットに短縮される。
【0032】
以上のS2〜S11の処理を、係数シーケンスの有効データの最後まで繰り返す(S12)。そして、有効データの最後が63番目(つまり、係数シーケンスの最後)か否かをチェックし、(S13)、63番目より前であればビットストリームにEOBの符号語を書き込み(S14)。また、63番目であれば、当該ブロックの係数シーケンスに対するハフマン符号化を終了し、次のブロックのハフマン符号化へ移る。
【0033】
以上説明した実施形態では、AC係数に対するハフマン符号化を、ランレングスの要素を考慮せずに係数値の要素だけに基づき行うにより、一次元のハフマンテーブルだけを用意すれば済むことになり、従来のJPEG圧縮装置に比べてRAM又はROMのリソース負担が減り、特に、メモリ制限の厳しい装置やゲート数に制限のあるASICなどでの実装が容易になる。近年のデジタルカメラの出力画像のような高画質の画像に対しては、従来と遜色のない画質が確保できる。さらに、従来の二次元ハフマンテーブルに適合した構成の一次元ハフマンテーブルを用いると共に、出力ビットストリームには従来の二次元ハフマンテーブルが生成できる頻度情報を含めているので、画像の展開は従来のJPEG展開装置を用いて行うことができる。
【0034】
以上の実施形態はあくまで本発明の説明のための例示であり、本発明をこの実施形態にのみ限定する趣旨ではない。従って、本発明は、上記実施形態以外の様々な形態でも実施することができる。例えば、従来のJPEG展開装置を用いて画像展開を行う必要がなければ、出力ビットストリームに含めるAC用ハフマンテーブル生成用の頻度情報を、圧縮に使用したAC用一次元ハフマンテーブルだけが生成できる簡単な内容にしてもよいし、また、AC用一次元ハフマンテーブルに、係数値がゼロという事象を追加してもよい。
【0035】
ところで、本明細書では、本発明に従う画像圧縮の手法を主に説明し、画像展開については特に説明をしていない。しかし、画像の圧縮と展開は表裏一体の関係にあり、圧縮の変換操作を逆に行えば展開が行えるから、当業者とり、圧縮の変換操作を知れば、展開の変換操作は自明である。それ故、各請求項に記述された本発明の技術的範囲には、まさにその記述通りの圧縮装置及び方法のみならず、それと表裏一体の関係にある展開装置及び方法をも含むものである。
【図面の簡単な説明】
【図1】従来のJPEGベースライン法でAC係数のハフマン符号化に用いられている二次元ハフマンテーブルを示す説明図。
【図2】本発明の一実施形態の構成を示すブロック図。
【図3】同実施形態においてAC係数のハフマン符号化に用いられる一次元ハフマンテーブルを示す説明図。
【図4】同実施形態におけるAC係数のハフマン符号化の全体的な流れを示すフローチャート。
【図5】AC係数シーケンスの有効データの最後を検出する処理のフローチャート。
【図6】AC係数の絶対値のビット長を求める処理のフローチャート。
【符号の説明】
1 前処理部
3 DCT符号化部
5 エントロピー符号化
7 ビットストリーム生成部
9 量子化テーブル
11 DC用一次元ハフマンテーブル
13 AC用一次元ハフマンテーブル
[0001]
[Technical field to which the invention belongs]
The present invention relates to a digital image compression method, and more particularly to an improvement of a JPEG baseline method.
[0002]
[Prior art]
JPEG is known as a digital still image compression method, and a baseline method using DCT (discrete cosine transform) is widely used among a plurality of JPEG compression methods. The procedure of the JPEG baseline method is described in detail in, for example, Japanese Patent No. 2711665.
[0003]
In this compression method, first, an input bitmap image is divided into blocks of a predetermined size, for example, blocks composed of 8 × 8 pixel values. Next, DCT (discrete cosine transform) is performed on each pixel value block. The DCT newly generates a coefficient block composed of 8 × 8 transform coefficients from each 8 × 8 pixel value block. The first conversion coefficient of this coefficient block indicates the size of the DC (direct current) component of the pixel value block, and the other 63 conversion coefficients indicate the sizes of AC (alternating current) components having different frequencies. Next, the coefficients in each coefficient block are quantized. Next, zigzag scanning is performed on each coefficient block, and the coefficients of each coefficient block are arranged in a sequence in a zigzag order. The coefficient sequence is subjected to two-dimensional Huffman coding (run-length Huffman coding) to reduce the number of bits.
[0004]
In the above compression method, in order to obtain a high compression rate, the characteristics of a general digital still image are successfully used. That is, when DCT is applied to a general digital still image, most of the high-frequency AC conversion coefficients are zero or close to zero in the resulting coefficient block. Therefore, most of the high-frequency AC conversion coefficient becomes zero by the subsequent quantization. Therefore, the coefficient sequence obtained by the next zigzag scan includes many consecutive zero columns. In the subsequent two-dimensional Huffman coding, the number of bits is effectively reduced by performing Huffman coding in consideration of the length (zero run length) of a series of zeros.
[0005]
That is, in this two-dimensional Huffman coding, a combination of a sequence of consecutive zeros appearing in a coefficient sequence and one non-zero coefficient (non-zero coefficient) preceding (or following) is encoded. Treat as a single event. Then, according to the principle of Huffman coding, a shorter code word is assigned to an event having a higher statistical appearance frequency. For example, an event in which the zero run length is zero and the bit length of the subsequent non-zero coefficient is 1 has the highest filing frequency, so the shortest code word is assigned. Also, the event that zero run length is 1 and the bit length of the subsequent non-zero coefficient is 1 is the next most frequently filed, so the next codeword is assigned. Similarly, code words corresponding to the appearance frequency are assigned to other events. In this way, the total number of bits is effectively reduced by the two-dimensional Huffman coding that adopts the two dimensions of zero run length and subsequent non-zero coefficient.
[0006]
It is often the case that all the coefficients behind a certain position in the coefficient sequence are all zero. The best one is a block that is completely filled with one color, and all AC coefficients are zero. For such a case, a code word called EOB (end of block) (specifically, a Huffman code word of coordinates X, Y = 0, 0 in a two-dimensional Huffman table) is provided. EOB means that all subsequent AC coefficients are zero. By this EOB, the total number of bits is further reduced.
[0007]
In an actual apparatus, a two-dimensional Huffman table 100 as illustrated in FIG. 1 in which events and codewords for two-dimensional Huffman coding are defined is prepared on a ROM or RAM, and the two-dimensional Huffman table 100 is referred to. However, each event appearing in the coefficient sequence is converted into a corresponding code word. As shown in FIG. 1, in this two-dimensional Huffman table 100, each event is represented by a combination (X, Y) of a zero run length X and a bit length Y of a subsequent non-zero coefficient. A code word assigned to the event is described in a frame corresponding to (X, Y) (specific code words are not shown).
[0008]
[Problems to be solved by the invention]
As described above, the conventional JPEG baseline method is a two-dimensional Huffman coding that adopts a zero-run length element on the assumption that a sequence of transform coefficients after zigzag scanning includes a lot of consecutive zero columns. Therefore, a high compression effect is achieved.
[0009]
However, the above premise is not always true for extremely high-quality digital images. For example, in a digital image taken with a digital camera whose image quality has been improved in recent years, the frequency of occurrence of zero before EOB in the coefficient sequence after zigzag scanning is very low. Therefore, for the output image of the digital camera, the compression effect by adopting the zero run length element in the Huffman compression after DCT is small. On the contrary, the resource burden of the ROM and RAM increases as much as the two-dimensional Huffman table is prepared, which becomes a problem particularly when the compression device is mounted on a device having a severe ROM restriction or an ASIC having a small number of gates.
[0010]
Accordingly, it is an object of the present invention to provide an image compression method improved from the JPEG baseline method, which can obtain a high compression effect on a high-quality digital image with as little resource burden as possible.
[0011]
Another object of the present invention is to provide an image compression method improved by the JPEG baseline method, which achieves the above-mentioned object and can develop an image with an image developing apparatus of the conventional JPEG baseline method which has already been widely used. Is to provide.
[0012]
[Means for Solving the Problems]
According to the improved JPEG baseline compression method of the present invention, when AC coefficients generated by DCT encoding of a digital image are Huffman encoded, for each one-dimensional event group related only to the value of the AC coefficient, respectively. The assigned Huffman codeword group is used. The Huffman codeword group corresponding only to this coefficient value has a smaller number of codewords than the two-dimensional Huffman table corresponding to the combination of the conventional coefficient value and zero run length, so the resource burden when developing the Huffman table is reduced. light. Also, even if zero-run length elements are not included in Huffman coding, high-quality digital images such as digital camera output images have a low occurrence frequency of zero. Compression ratio.
[0013]
In a preferred embodiment, the above Huffman codeword group does not include codewords assigned to zero AC coefficients. Therefore, when the zero AC coefficient is Huffman-coded, the zero AC coefficient is replaced with another predetermined value (for example, value 1) and converted to a Huffman codeword corresponding to the predetermined value. The reason why the Huffman codeword group does not include the Huffman codeword for the coefficient value zero is that the Huffman codeword group has a run length of zero from the two-dimensional Huffman table used in the conventional JPEG baseline method. This is because only the codeword group in the case is extracted. In this manner, by using the Huffman codeword group included in the conventional two-dimensional Huffman table, it is possible to use a conventional JPEG expansion device when developing an image. Note that even if the AC coefficient value of zero is replaced with the value of 1, it is not perceived as image quality degradation by human vision.
[0014]
In a preferred embodiment, in order to make it possible to use a conventional JPEG decompression apparatus during image decompression, a two-dimensional Huffman table used in the conventional method is used to generate an output bitstream of a compression result. Thus, information for generating a two-dimensional Huffman table in which the portion whose run length is zero matches the codeword group used in the Huffman coding is included in the output bitstream.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a flow of image compression processing by the improved JPEG baseline method according to an embodiment of the present invention.
[0016]
As shown in FIG. 2, this image compression processing can be roughly divided into four stages: preprocessing 1, DCT encoding 3, entropy encoding 5, and bitstream generation 7. In this embodiment, the same method as the conventional JPEG baseline method is used for the preprocessing 1, the DCT encoding 3 and the bitstream generation 7. In the entropy encoding 5, the same method as the conventional method is used for the processing 51 and 53 for the DC coefficient. Further, among the processes for entropy coding 5 AC coefficients, the zigzag scan 55 uses the same method as the conventional one. Therefore, in this embodiment, a new method is used only for the Huffman coding 57 for the AC coefficient.
[0017]
Hereinafter, since the conventional method is well known, only a simple description will be given, and the new method (Huffman coding 57 for AC coefficients) will be described in detail.
[0018]
In the preprocessing 1, color conversion for converting the color space of the input bitmap image from RGB to YUV (YCbCr) and block processing for subdividing the image of each of the three color components into, for example, blocks of size 8 × 8 are performed.
[0019]
In the next DCT coding 3, first, each block is subjected to two-dimensional DCT, and converted into, for example, a transform coefficient block of size 8 × 8. Next, each coefficient block is quantized using a different quantization step for each transform coefficient. The quantization step for each transform coefficient is defined in a quantization table 9 prepared in advance.
[0020]
In the next entropy coding 5, first, the 64 quantized transform coefficients of each 8 × 8 coefficient block are divided into one DC coefficient and 63 AC coefficients. Then, for the DC coefficient, after performing differential encoding 51, Huffman encoding 53 is performed. In the differential encoding 51, since the DC coefficients of the previous block and the current block often take similar values, the next Huffman encoding 53 is made more effective. The value after the differential encoding 51 and the Huffman codeword assigned to it are defined in the DC Huffman table 11 on the memory.
[0021]
In the process for the AC component of the entropy encoding 5, first, zigzag scanning 55 is performed on the AC coefficient of each coefficient block, and 63 AC coefficients in each block are processed in the order of low frequency first and high frequency after. Arrange them in one sequence. Next, Huffman coding 57 is applied to the coefficient sequence. The Huffman encoding 57 is a one-dimensional Huffman encoding based on only one-dimensional elements such as coefficient bit lengths, without taking in zero-run length elements. The correspondence between the bit length of the coefficient and the Huffman codeword is defined in the AC Huffman table 13 prepared on the memory. This AC Huffman table 13 is the same as the zero run length X = 0 portion, that is, only the vertical column at the left end, extracted from the two-dimensional Huffman table 100 illustrated in FIG. 1 used in the conventional JPEG baseline method. The one-dimensional Huffman table based only on the bit length of the coefficient absolute value.
[0022]
In the final bitstream generation 7, the codeword sequence generated by the entropy encoding 5 is used to generate image information such as the image size and the number of quantization bits, and the color space, quantization table, and DC Huffman table 11 generation. Compression information such as an appearance frequency table and an appearance frequency table for generating an AC Huffman table 13 are added and output as a bit stream of a predetermined format. The contents of the appearance frequency table for generating the AC Huffman table 13 included in this output bitstream are not only those that can be generated only by the one-dimensional Huffman table 13 illustrated in FIG. 3 based on this, but are illustrated in FIG. What can generate the conventional 2D Huffman table 100 of the JPEG baseline method, that is, the appearance frequency table for generating the AC Huffman table included in the output bitstream compressed by the conventional JPEG baseline method Content. Therefore, the image compressed in this embodiment can be expanded using a conventional JPEG image expansion apparatus.
[0023]
Hereinafter, the process of the Huffman compression 57 for the AC coefficient in the entropy encoding 5 will be described in detail. FIG. 3 shows the AC one-dimensional Huffman table 13 used in this processing.
[0024]
In the Huffman compression 57, the bit length of the absolute value of each coefficient appearing in the coefficient sequence obtained by the zigzag scan 55 is handled as one event to be encoded. In the one-dimensional Huffman table 13 illustrated in FIG. 3, the appearance frequency of the total 16 types of events when the bit length Y of the absolute value of the coefficient is each value from 1 to 15 and when the bit length Y is 16 or more is determined. Corresponding codewords are assigned. Among these 16 types of events, the event with Y = 1 has the highest appearance frequency, so the shortest (for example, 2 bits) codeword is assigned, and the event with Y ≧ 16 has the lowest appearance frequency, so it is the longest. Code words are assigned (in FIG. 3, the code words are not shown). In addition, as in the prior art, an EOB (end of block) code word meaning “all subsequent AC coefficients are zero” is also prepared (specifically, coordinates X, Y in the two-dimensional Huffman table) = 0, 0 Huffman codeword), which is also a relatively short (eg, 4 bit) codeword.
[0025]
Note that the one-dimensional Huffman table 13 does not define an event that the coefficient bit length Y = 0 (that is, the coefficient value is zero). The reason is that only the portion of run length = 0 is extracted from the two-dimensional Huffman table 100 of the conventional JPEG baseline method shown in FIG. 1 (there is no Y = 0 on the principle of considering zero run length). This is because the one-dimensional Huffman table 13 is used. In this way, by using the one-dimensional Huffman table 13 having a configuration that matches the conventional two-dimensional Huffman table 100, as described above, the image compressed in the present embodiment is a widely used conventional JPEG image. It is possible to deploy with a deployment device. As will be described later, when zero that is not defined in the one-dimensional Huffman table 13 appears before EOB, the coefficient value zero is replaced with a value “1”.
[0026]
FIG. 4 shows the overall processing flow of Huffman coding 57 for the AC coefficient sequence for each block.
[0027]
First, the end of valid data in the AC coefficient sequence obtained by the zigzag scan 55 is determined (S1). Here, the last valid data indicates a coefficient whose coefficients after the coefficient are all 0 (that is, EOB is placed immediately after that). Details of the process for determining the end of the valid data are shown in FIG. As shown in FIG. 5, after initially setting 64 to the value Index indicating the position (order from the top) of each coefficient in the coefficient sequence (S21), the AC coefficient at the position pointed to by Index while decreasing Index by 1 It is checked whether the value of 0 is 0 (S22, S23). That is, whether or not each AC coefficient is zero is checked in order from the end of the coefficient sequence to the beginning. When the first non-zero AC coefficient is found, the position index of the AC coefficient is returned to the main process in FIG. 4 as the last valid data (S24).
[0028]
Referring again to FIG. 4, next, each AC coefficient is read in order from the beginning of the coefficient sequence (S2), the absolute value of the read coefficient is obtained (S3), and whether or not the absolute value is zero is checked. (S4). As a result, when the absolute value is zero, the absolute value is changed to “1” (S5). Since the zero coefficient is not defined in the one-dimensional Huffman table 13 as described above, the zero is replaced with the closest value “1”. In this way, even if zero is replaced with “1”, there is almost no difference in human vision between zero and “1”, and especially in a high-quality image such as an output image of a digital camera, zero is included in valid data. Since the frequency of occurrence is small, there is almost no substantial image quality degradation.
[0029]
Next, the bit length of the absolute value of the AC coefficient is obtained (S6). Details of this process are shown in FIG. As shown in FIG. 6, first, after initializing the bit length Y to Y = 0 (S31), the byte data indicating the absolute value of the coefficient is shifted to the right by 1 bit (that is, the absolute value is 2). The bit length Y is incremented by 1 (S33). Next, it is checked whether or not the absolute value data right shifted by 1 bit is zero (S33). If it is not zero, step S32 is repeated. When it becomes zero in step S33, the bit length Y obtained by the increment in step S32 is returned to the main processing of FIG. 4 as the bit length of the absolute value of the coefficient (S34).
[0030]
Referring to FIG. 4 again, next, the Huffman code word corresponding to the bit length Y of the coefficient absolute value returned from the processing of FIG. 6 is read from the one-dimensional Huffman table 13 shown in FIG. 3 (S7). The Huffma codeword is written in the bit stream to be output (S8). Since the codeword data read from the Huffman code table 13 in the memory in step S7 has a length in bytes, in step S8, only the bit length portion of the net codeword is extracted from the read bytes. Write to the bitstream.
[0031]
Next, the sign of the coefficient is checked (S9). If the coefficient is positive, the value of the coefficient itself is written into the bitstream (S11). If the coefficient is negative, the coefficient is subtracted from 1 (S10). The difference value is written into the bit stream (S11). Also at this time, only the bit length Y portion of the net coefficient is extracted from the bytes of the original coefficient data and written to the bit stream. Thereby, the number of bits of coefficient data is reduced. For example, in the case of a coefficient having the highest appearance frequency bit length Y = 1, it was originally 1 byte, but it was shortened to 3 bits, for example, the shortest 2 bits Huffman codeword and the net coefficient bit length 1 combined. Is done.
[0032]
The processes of S2 to S11 are repeated until the end of the effective data of the coefficient sequence (S12). Then, it is checked whether or not the last of the valid data is the 63rd (that is, the last of the coefficient sequence) (S13), and if it is before the 63rd, an EOB code word is written in the bit stream (S14). If it is 63rd, the Huffman coding for the coefficient sequence of the block is terminated, and the process proceeds to the Huffman coding of the next block.
[0033]
In the embodiment described above, the Huffman coding for the AC coefficient is performed based only on the coefficient value element without considering the run length element, so that it is only necessary to prepare a one-dimensional Huffman table. Compared to the JPEG compression apparatus, the burden of RAM or ROM is reduced, and in particular, it becomes easy to implement in an apparatus with severe memory restrictions or an ASIC with a limited number of gates. For a high-quality image such as an output image of a recent digital camera, an image quality comparable to that of the conventional image can be secured. Furthermore, since a one-dimensional Huffman table having a configuration adapted to the conventional two-dimensional Huffman table is used, and the output bitstream includes frequency information that can be generated by the conventional two-dimensional Huffman table, image development is performed using conventional JPEG. This can be done using a deployment device.
[0034]
The above embodiment is merely an example for explaining the present invention, and is not intended to limit the present invention only to this embodiment. Therefore, the present invention can be implemented in various forms other than the above-described embodiment. For example, if it is not necessary to perform image expansion using a conventional JPEG expansion device, the frequency information for generating the AC Huffman table included in the output bitstream can be generated only by the AC one-dimensional Huffman table used for compression. In addition, an event that the coefficient value is zero may be added to the AC one-dimensional Huffman table.
[0035]
By the way, in this specification, the image compression method according to the present invention is mainly described, and image development is not particularly described. However, the compression and decompression of the image are in an integrated relationship, and if the compression conversion operation is reversed, the image can be decompressed. Therefore, those skilled in the art will understand the decompression conversion operation if the compression conversion operation is known. Therefore, the technical scope of the present invention described in each claim includes not only a compression device and a method exactly as described, but also a deployment device and a method that are in a relationship of two sides of the same.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a two-dimensional Huffman table used for Huffman coding of AC coefficients in a conventional JPEG baseline method.
FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 3 is an explanatory diagram showing a one-dimensional Huffman table used for Huffman encoding of AC coefficients in the embodiment.
FIG. 4 is a flowchart showing an overall flow of Huffman encoding of AC coefficients in the embodiment.
FIG. 5 is a flowchart of processing for detecting the end of valid data of an AC coefficient sequence.
FIG. 6 is a flowchart of processing for obtaining the bit length of the absolute value of an AC coefficient.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Pre-processing part 3 DCT encoding part 5 Entropy encoding 7 Bit stream production | generation part 9 Quantization table 11 DC one-dimensional Huffman table 13 AC one-dimensional Huffman table

Claims (7)

デジタル画像をJPEGベースライン法で圧縮する装置において、
前記デジタル画像のDCT符号化によって生じたAC係数をハフマン符号化するACハフマン符号化手段と、
前記AC係数の値のみに関係する一次元の事象群に対してそれぞれ割り当てられた第1のハフマン符号語群を定義したAC用一次元ハフマンテーブルと、
を備え、
前記ACハフマン符号化手段が、前記AC用一次元ハフマンテーブルを用いて、前記DCT符号化によって生じた前記AC係数のゼロランレングスを考慮せずに前記AC係数の値だけに基づいてハフマン符号化を行い、
前記第1のハフマン符号語群は、前記AC係数の値がゼロであるという事象に対して割り当てられたハフマン符号語を含まず、
前記AC係数の値がゼロであるという事象をハフマン符号化するときには、前記ACハフマン符号化手段が、前記ゼロであるAC係数の値を別の所定値に置換して、この所定値に対応した事象に割り当てられたハフマン符号語に変換することを特徴とする画像圧縮装置。
In an apparatus for compressing digital images by the JPEG baseline method,
AC Huffman encoding means for Huffman encoding AC coefficients generated by DCT encoding of the digital image;
A one-dimensional Huffman table for AC that defines a first Huffman codeword group assigned to each one-dimensional event group related only to the value of the AC coefficient;
With
The AC Huffman encoding means uses the AC one-dimensional Huffman table to perform Huffman encoding based only on the value of the AC coefficient without considering the zero-run length of the AC coefficient generated by the DCT encoding. And
The first Huffman codeword group does not include the Huffman codeword assigned for the event that the value of the AC coefficient is zero;
When the event that the value of the AC coefficient is zero is Huffman encoded, the AC Huffman encoding means replaces the value of the AC coefficient that is zero with another predetermined value, and corresponds to the predetermined value. An image compression apparatus that converts a Huffman codeword assigned to an event.
前記別の所定値が1である請求項1記載の画像圧縮装置。  The image compression apparatus according to claim 1, wherein the another predetermined value is one. 前記ハフマン符号化の結果を含んだ出力ビットストリームを生成するビットストリーム生成手段を更に備え、
前記ビットストリーム生成手段は、ゼロ以外のAC係数の値とAC係数のゼロランレングスとの組み合わせに関係する二次元の事象群に対してそれぞれ割り当てられ、前記ゼロランレングスがゼロの場合に前記第1のハフマン符号語群と一致するような第2のハフマン符号語群を生成するための出現頻度テーブルを、前記出力ビットストリームに含ませる請求項1記載の画像圧縮装置。
Bitstream generating means for generating an output bitstream including the result of the Huffman encoding;
The bit stream generation means is assigned to each of a two-dimensional event group related to a combination of a non-zero AC coefficient value and a zero run length of the AC coefficient, and the zero stream length is zero when the zero run length is zero. The image compression apparatus according to claim 1, wherein an appearance frequency table for generating a second Huffman codeword group that matches one Huffman codeword group is included in the output bitstream.
デジタル画像をJPEGベースライン法で圧縮する方法において、
前記デジタル画像のDCT符号化によって生じたAC係数をハフマン符号化する際、前記AC係数の値のみに関係する一次元の事象群に対してそれぞれ割り当てられた第1のハフマン符号語群を用いて、前記DCT符号化によって生じた前記AC係数のゼロランレングスを考慮せずに前記AC係数の値だけに基づいてハフマン符号化を行い、
前記第1のハフマン符号語群は、前記AC係数の値がゼロであるという事象に対して割り当てられたハフマン符号語を含まず、
前記AC係数の値がゼロであるという事象をハフマン符号化するときには、前記ゼロであるAC係数の値を別の所定値に置換して、この所定値に対応した事象に割り当てられたハフマン符号語に変換することを特徴とする画像圧縮方法。
In a method of compressing a digital image by the JPEG baseline method,
When Huffman coding the AC coefficient generated by DCT coding of the digital image, the first Huffman codeword group assigned to each one-dimensional event group related only to the value of the AC coefficient is used. Performing Huffman coding based only on the value of the AC coefficient without considering the zero-run length of the AC coefficient generated by the DCT coding,
The first Huffman codeword group does not include the Huffman codeword assigned for the event that the value of the AC coefficient is zero;
When the event that the value of the AC coefficient is zero is Huffman coded, the value of the AC coefficient that is zero is replaced with another predetermined value, and the Huffman codeword assigned to the event corresponding to the predetermined value A method of compressing an image, wherein:
前記別の所定値が1である請求項4記載の画像圧縮方法。  5. The image compression method according to claim 4, wherein the another predetermined value is 1. 前記ハフマン符号化の結果を含んだ出力ビットストリームを生成する際、ゼロ以外のAC係数の値とAC係数のゼロランレングスとの組み合わせに関係する二次元の事象群に対してそれぞれ割り当てられ、前記ゼロランレングスがゼロの場合に前記第1のハフマン符号語群と一致するような第2のハフマン符号語群を生成するための出現頻度テーブルを、前記出力ビットストリームに含ませる請求項4記載の画像圧縮方法。  When generating an output bitstream including the result of the Huffman coding, each is assigned to a two-dimensional event group related to a combination of a non-zero AC coefficient value and a zero run length of the AC coefficient, and 5. The appearance bit table for generating a second Huffman codeword group that matches the first Huffman codeword group when a zero run length is zero is included in the output bitstream. Image compression method. デジタル画像をJPEGベースライン法で圧縮するとき、
前記デジタル画像のDCT符号化によって生じたAC係数をハフマン符号化する際、AC係数の値のみに関係する一次元の事象群に対してそれぞれ割り当てられた第1のハフマン符号語群を用いて、前記DCT符号化によって生じた前記AC係数のゼロランレングスを考慮せずに前記AC係数の値だけに基づいてハフマン符号化を行い、
前記第1のハフマン符号語群は、前記AC係数の値がゼロであるという事象に対して割り当てられたハフマン符号語を含まず、
前記AC係数の値がゼロであるという事象をハフマン符号化するときには、前記ゼロであるAC係数の値を別の所定値に置換して、この所定値に対応した事象に割り当てられたハフマン符号語に変換するようコンピュータを動作させるためのプログラムを担持したコンピュータ読取可能な記録媒体。
When compressing digital images using the JPEG baseline method,
When Huffman coding the AC coefficient generated by DCT coding of the digital image, using a first Huffman codeword group respectively assigned to a one-dimensional event group related only to the value of the AC coefficient, Huffman coding is performed based only on the value of the AC coefficient without considering the zero-run length of the AC coefficient generated by the DCT coding,
The first Huffman codeword group does not include the Huffman codeword assigned for the event that the value of the AC coefficient is zero;
When the event that the value of the AC coefficient is zero is Huffman coded, the value of the AC coefficient that is zero is replaced with another predetermined value, and the Huffman codeword assigned to the event corresponding to the predetermined value A computer-readable recording medium carrying a program for operating a computer to convert to a computer.
JP32194699A 1999-11-12 1999-11-12 Image compression apparatus and method Expired - Fee Related JP3952116B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32194699A JP3952116B2 (en) 1999-11-12 1999-11-12 Image compression apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32194699A JP3952116B2 (en) 1999-11-12 1999-11-12 Image compression apparatus and method

Publications (2)

Publication Number Publication Date
JP2001145106A JP2001145106A (en) 2001-05-25
JP3952116B2 true JP3952116B2 (en) 2007-08-01

Family

ID=18138204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32194699A Expired - Fee Related JP3952116B2 (en) 1999-11-12 1999-11-12 Image compression apparatus and method

Country Status (1)

Country Link
JP (1) JP3952116B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009075107A1 (en) * 2007-12-13 2009-06-18 Panasonic Corporation Image encoding device, encoding rate conversion device, video/audio stream recording device, network distribution system, coefficient conversion device, integrated circuit, and image encoding method
WO2011126277A2 (en) 2010-04-05 2011-10-13 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus
KR20110112168A (en) * 2010-04-05 2011-10-12 삼성전자주식회사 Method and apparatus for video encoding based on internal bitdepth increment, method and apparatus for video decoding based on internal bitdepth increment
US9049450B2 (en) 2010-04-05 2015-06-02 Samsung Electronics Co., Ltd. Method and apparatus for encoding video based on internal bit depth increment, and method and apparatus for decoding video based on internal bit depth increment
US8982961B2 (en) 2010-04-05 2015-03-17 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
CN102968793B (en) * 2012-11-20 2016-02-17 百年金海科技有限公司 Based on the natural image of DCT domain statistical property and the discrimination method of computer generated image
JP5855777B2 (en) * 2015-01-28 2016-02-09 株式会社情報システム総合研究所 Data compression apparatus, data decoding apparatus, data compression method, data decoding method, and data compression and decoding system

Also Published As

Publication number Publication date
JP2001145106A (en) 2001-05-25

Similar Documents

Publication Publication Date Title
JP4113114B2 (en) DCT compression using GOLOMB-RICE coding
JP4365957B2 (en) Image processing method and apparatus and storage medium
US6847735B2 (en) Image processing system, image processing apparatus, image input apparatus, image output apparatus and method, and storage medium
US20060067582A1 (en) Progressive JPEG decoding system
JP2004531995A5 (en)
JP3952116B2 (en) Image compression apparatus and method
JPH08242378A (en) Method for efficiently and repeatedly decompressing standardadct compressed image
JPH1084544A (en) Video signal coder
JP2003199105A (en) Image information compression method, image information compression apparatus, and image information compression program
EP0635807B1 (en) Coding apparatus for image compression
JP2000151415A (en) Data processing method/system/device, computer readable medium and program storage device
EP1734738A2 (en) Image encoding and decoding method and apparatus, and computer-readable recording medium storing program for executing the method
JP2014212374A (en) Image encoding device, image encoding method, image encoding program, and recording medium
Hussin et al. A comparative study on improvement of image compression method using hybrid DCT-DWT techniques with huffman encoding for wireless sensor network application
US8073270B2 (en) Image decoding apparatus and method
US6069980A (en) Adaptive character image generation and synthesis
EP1345449A1 (en) Digital image compression and decompression using block coding
JPH02131671A (en) Picture data compression method
JPH08275153A (en) Image compressor and image decoder
JP4743884B2 (en) Image coding apparatus and control method thereof
JP3676651B2 (en) Stepwise reversible image signal encoding method, decoding method, encoding device, decoding device, and encoding and decoding program recording medium
JPH0774968A (en) Method for compressing/extending picture data
da Nóbrega Costa et al. Image File Formats
JP2002209110A (en) Image encoder
JPH10163880A (en) Data decoder

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060307

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060428

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070404

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070417

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140511

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees