JP2004364114A - Image processor and image processing method - Google Patents

Image processor and image processing method Download PDF

Info

Publication number
JP2004364114A
JP2004364114A JP2003162230A JP2003162230A JP2004364114A JP 2004364114 A JP2004364114 A JP 2004364114A JP 2003162230 A JP2003162230 A JP 2003162230A JP 2003162230 A JP2003162230 A JP 2003162230A JP 2004364114 A JP2004364114 A JP 2004364114A
Authority
JP
Japan
Prior art keywords
image data
circuit
compressed image
memory
element unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003162230A
Other languages
Japanese (ja)
Inventor
Kazutoshi Funahashi
和年 舟橋
Manabu Kuroda
学 黒田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003162230A priority Critical patent/JP2004364114A/en
Publication of JP2004364114A publication Critical patent/JP2004364114A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce memory capacity to be used to inversely quantize compressed image data in an image processor that decompresses the compressed image data which are subjected to progressive coding and divided into a plurality steps for transferring. <P>SOLUTION: A a first scan component detection result memory 111 and a code bit memory 112 are provided as memories used by a digital signal processing circuit that can perform high-speed processing for each element unit. An inverse quantization circuit 102 converts compressed image data of this stage into inversely quantized data of the step on the basis of the first scan component detection result and code bits. An inverse DCT conversion circuit 104 applies inverse DCT conversion to the inversely quantized data of the step, and a superposition circuit 113 subsequently superimposes the inversely quantized data of the step on inversely DCT converted image data up to the previous step stored in an image data memory 114. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、圧縮画像データを伸張する画像処理装置に関するものである。
【0002】
【従来の技術】
一般に、画像データの圧縮技術として、DCT(離散余弦変換)方式を用いた圧縮方式が広く使用されている。この圧縮方式では、画像のブロック単位(横方向に8又は16画素、縦方向8又は16画素)の各画素の色成分情報R、G、Bの3原色信号を輝度信号等のY、U、Vの3成分に変換した後、DCT変換により画像データを周波数空間に変換し、周波数成分毎にハフマン符号化することにより、画像データを圧縮する。
【0003】
前述した画像データの圧縮には、シーケンシャル符号化とプログレッシブ符号化の2方式がある。シーケンシャル符号化では、1画面の画像データを画像のブロック単位毎に順番に圧縮する方式である。一方、プログレッシブ符号化では、1画面全体の画像データを複数の段階に分けて圧縮する方式である。
【0004】
シーケンシャル符号化された圧縮画像データを伸張するためには、圧縮画像データをブロック毎に伸張処理を行なって、1枚の画像を生成する。一方、プログレッシブ符号化された圧縮画像データを伸張するためには、1枚の画像データを複数の段階に分けて伸張処理する。すなわち、プログレッシブ圧縮画像データの伸張処理では、解像度及び階調性の低いおおまかな1枚の全体画像を伸張処理し、その後に、順次、解像度及び階調性が高くなるように、段階的に伸張処理を行なう。
【0005】
近年のインターネットの急速な普及と共に、画像データを処理する際、前述した画像データの圧縮方式が広く使われるようになって来た。この場合、前述のシーケンシャル符号化された圧縮画像データと同様に、例えば、特許文献1、2又は3に記載されるように、プログレッシブ符号化された圧縮画像データも広く使用される。
【0006】
一方、これらの圧縮画像データを扱う端末装置も、通常のPC(Personal Computer )だけではなく、携帯電話や携帯情報端末等の端末装置が存在する。これらの携帯端末の特徴は、小型軽量である点であり、その画像表示回路には、PC等の画像表示回路とは異なり、解像度の低い、少ない色情報の表示しかできない回路が具備されていることが多い。また、このような携帯端末では、メモリの容量も、より少ない容量で実現することが求められる。
【0007】
以下、これら携帯端末での従来の画像処理装置の一例について、図面を参照しながら説明する。
【0008】
図8は圧縮画像データを伸張する従来の画像処理装置を示すブロック図である。
【0009】
同図において、301はハフマン復号回路、302は逆量子化回路、303は量子化テーブル作成回路、304は逆DCT変換回路、305は色空間変換回路、306は色数削減回路である。また、307は圧縮画像データメモリ、308は逆量子化後の画像データメモリ、309は最終画像データメモリである。
【0010】
更に、図8において、331は圧縮画像データの信号線、332はハフマン復号した画像データ信号線、333は量子化テーブル情報関連データ信号線、334は量子化テーブルデータ信号線、335は逆量子化された画像データ信号線、336はプログレッシブ符号化された画像データの前段階までの逆量子化された画像データ信号線である。また、337は逆DCT変換されたYUV画像データ信号線、338は色空間変換されたRGB画像データ信号線、339は色数削減後のRGB画像データ信号線である。
【0011】
次に、図8に示した従来の画像処理装置において、プログレッシブ符号化された圧縮画像データの伸張処理について、説明する。
【0012】
プログレッシブ符号化された各段階毎の圧縮画像データの伸張処理を行なう場合、周波数分割型プログレッシブ符号化により符号化された圧縮画像データについては、その転送に際して、画像の各要素単位毎に、1つの要素を表現する複数ビットを複数に分割して分割ビット別に順次転送する分割ビット方式があり、この分割ビット方式で転送された圧縮画像データの伸張処理について、以下、説明する。
【0013】
「処理1」
ハフマン復号回路301は、圧縮画像データメモリ307内の圧縮画像データからヘッダー情報を解析し、量子化テーブルデータの抜き取りと、圧縮画像データのハフマン復号処理とを行なう。
【0014】
ここで、圧縮画像データメモリ307に記憶された圧縮画像データは、図3に示すように、64個の要素から成り、この各要素単位は、その要素単位を周波数成分で表現する複数ビット(例えば8ビット)のデータを有する。この各要素の複数ビットは、複数に分割されて、順次転送される。これを具体的に説明すると、例えば各要素単位が8ビットで構成される場合には、例えば4つのビット組に分割されて、図4(a)に例示する各要素単位の分割ビット組が最初に転送され、以下、同図(b)、(c)、(d)に例示する各要素単位の分割ビット組がその後に順番に転送される。図4(a)に示した各要素単位の分割ビット数は、低周波成分ほど多く、図4(d)に示した各要素単位の分割ビット数は高周波成分ほど多い。例えば、低周波成分である第1要素では、図4(a)では3ビット、同図(b)では3ビット、同図(c)では2ビット、同図(d)では0ビットである。一方、高周波成分である第64要素では、図4(a)では0ビット、同図(b)では1ビット、同図(c)では4ビット、同図(d)では3ビットである。従って、各要素単位で最初に転送されるスキャン成分、即ち、各要素の最初のスキャン成分は、図4(a)から判るように、第1〜第58要素単位では第1回目に転送され、第59〜第64要素単位では同図(b)に示すように第2回目に転送される。
【0015】
「処理2」
逆量子化回路302では、ハフマン復号回路301でハフマン復号された今段階の圧縮画像データを、量子化テーブル作成回路303により作成された量子化テーブルに基づいて、逆量子化処理する。この時、この今段階の逆量子化された圧縮画像データと、逆量子化後の画像データメモリ308内に記憶された前段階までの圧縮画像データとを重ね合せて、今段階までの逆量子化された圧縮画像データを作成する。この新しい圧縮画像データは、逆量子化された画像データメモリ308に更新される。
【0016】
「処理3」
逆DCT変換回路304では、逆量子化回路302で逆量子化された今段階までの画像データを逆DCT変換して伸張し、輝度情報等の画素データ(YUVデータ)が生成される。
【0017】
「処理4」
色空間変換回路305では、前記逆DCT変換回路304で逆DCT変換されたYUVデータの色空間変換を行なって、色情報データ(RGB画像データ)が生成され、色数削減回路306に出力される。
【0018】
「処理5」
色数削減回路306では、R(赤)、G(緑)、B(青)の各色の階調を自己の有する画像表示回路の階調に関する性能に合致した階調に色数を削減する。この時、色数削減を実施する前後で画像の見栄えができるだけ相違のないように、誤差拡散手法等の技術を用いて処理する。これらの一連の処理が完了すると、伸張された画像データが最終画像データメモリ309に格納される。
【0019】
【特許文献1】
特開平6−113301号公報
【特許文献2】
特開平6−268873号公報
【特許文献3】
国際公開第99/07155号パンフレット
【0020】
【発明が解決しようとする課題】
しかしながら、前記従来の画像処理装置では、逆量子化された画像データを1画面分全て記憶する大容量の圧縮画像データメモリ308が必要であるという課題がある。これを具体的に説明すると、従来の画像処理装置では、逆DCT変換回路304への入力データの段階、即ち、逆量子化回路302による逆量子化の段階において、今段階の圧縮画像データをその前段階までの圧縮画像データと重ね合せている。このため、逆量子化された圧縮画像データの量は、1画面分の全ての画素について、輝度情報等のYUVデータの必要解像度のビット数分必要であり、逆量子化後の画像データメモリ308の容量は大容量であった。
【0021】
特に、携帯電話や携帯報端末等の小型軽量の端末装置では、メモリの容量もより少ない容量で実現することが求められる。また、これらの携帯電話や携帯情報端末では、低電力及び低コストを実現するため、PC(Personal Computer)に比べて低い処理能力を有する中央演算処理回路(CPU)と、音声やオーディオ、画像等のメディア処理を効率良く高速で実現するデジタル信号処理用プロセッサ(DSP、Digital Signal Processor)を実装している場合が多い。この低い処理能力を有する中央演算処理回路と高速処理するデジタル信号処理用プロセッサの双方を実装したシステムにおいて、プログレッシブ画像データを伸張する場合には、デジタル信号処理用プロセッサが前記ハフマン復号回路301、逆量子化回路302、量子化テーブル作成回路303、逆量子化後の画像データメモリ308、及び逆DCT変換回路304を有し、中央演算処理回路が圧縮画像データメモリ307、色空間変換回路305、色数削減回路306、最終画像データメモリ309を有する。従って、最終画像データメモリ309と圧縮画像データメモリ307とを中央演算処理回路が制御し、逆量子化後の画像データメモリ308をデジタル信号処理用プロセッサが制御する。
【0022】
しかし、デジタル信号処理用プロセッサが制御するメモリは高速動作が必要なメモリであって、記憶単位当りのコストが高価格である。一方、中央演算処理回路が制御するメモリは、低速動作で良く、記憶単位当りのコストは低価格であり、大容量であっても、デジタル信号処理用プロセッサが制御する少容量のメモリよりも低価格である。
【0023】
従って、デジタル信号処理用プロセッサが制御する逆量子化後の画像データメモリ308の容量を低減させることは、システムコストを削減する上で重要である。
【0024】
本発明の目的は、圧縮画像データを伸張する画像処理装置において、この圧縮画像データが周波数分割型プログレッシブ符号化により符号化され、且つ、各要素単位毎に分割ビット方式で順次転送されるものである場合であっても、デジタル信号処理回路が制御する高価で高速動作可能なデータメモリの容量を少なくするように対策する。
【0025】
【課題を解決するための手段】
前記目的を達成するため、本発明では、周波数分割型で且つ分割ビット方式のプログレッシブ符号化により符号化された圧縮画像データを伸張する場合には、ビット分割された各段階の圧縮画像データに対して、各々、その段階の逆量子化データを良好に生成できるように、デジタル信号処理回路が制御する高価且つ高速動作可能なデータメモリには、最小限度の情報のみを格納するようにし、各段階の圧縮画像データの重ね合せは、中央演算処理回路が制御する逆DCT変換後に行うこととする。
【0026】
また、本発明では、他の解決手段として、高価且つ高速動作可能なデータメモリの容量を少なく制限する場合に、再生される画像全体について所望の解像度が得られるように、その高価且つ高速動作可能なデータメモリの容量を圧縮画像データの各要素間で適切に配分する。
【0027】
具体的に、請求項1記載の発明の画像処理装置は、周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理装置であって、前記圧縮画像データの各要素単位別に最初のスキャン成分を検出するスキャン成分検出回路と、前記スキャン成分検出回路により各要素単位別に最初のスキャン成分が検出されたことを記憶するスキャン成分検出結果メモリと、前記スキャン成分検出回路の検出結果に基づいて、前記圧縮画像データの各要素単位別に符号ビットを記憶する符号ビットメモリと、前記スキャン成分検出結果メモリ及び前記符号ビットメモリの出力に基づいて、各要素単位別に圧縮画像データを逆量子化する逆量子化回路と、前記逆量子化回路により得られた各分割ビットに対応した段階の圧縮画像データを伸張する伸張処理回路と、重ね合せ回路と、画像データメモリとを備え、前記重ね合せ回路は、前記画像データメモリに記憶されたデータと、前記伸張処理回路により伸張された今段階の画像データとを重ね合せ、前記画像データメモリは、前記重ね合せ回路により重ね合された画像データを記憶することを特徴とする。
【0028】
請求項2記載の発明は、前記請求項1記載の画像処理装置において、第1及び第2のプロセッサを備え、前記第1のプロセッサは、前記スキャン成分検出回路、前記スキャン成分検出結果メモリ、前記符号ビットメモリ、前記逆量子化回路及び前記伸張処理回路を有し、前記第2のプロセッサは、前記重ね合せ回路及び前記画像データメモリを有することを特徴とする。
【0029】
請求項3記載の発明は、前記請求項1記載の画像処理装置において、前記伸張処理回路により伸張された圧縮画像データについて色空間変換を行って色情報データを得る色空間変換回路と、前記色空間変換回路により得られた色情報データの階調を下げて色数を削減する色数削減回路とを備え、前記重ね合せ回路及び画像データメモリは、前記色空間変換回路と色数削減回路との間に配置されることを特徴とする。
【0030】
請求項4記載の発明は、前記請求項3記載の画像処理装置において、この画像処理装置は、携帯電話及び携帯情報端末を含む携帯端末に備えられることを特徴とする。
【0031】
請求項5記載の発明の画像処理装置は、周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理装置であって、前記圧縮画像データのヘッダー情報を解析して、この圧縮画像データの画面サイズを検出する画面サイズ検出回路と、所定記憶容量を持つ画像データメモリと、前記画面サイズ検出回路により検出された画面サイズ及び前記画像データメモリの記憶容量に基づいて、前記圧縮画像データの各要素単位に割り当てられるビット数を算出するビット数算出回路と、前記圧縮画像データの各要素単位別に最初のスキャン成分を検出するスキャン成分検出回路と、前記スキャン成分検出回路により各要素単位別に最初のスキャン成分が検出されたことを記憶するスキャン成分検出結果メモリと、前記スキャン成分検出結果メモリ及び前記画像データメモリの出力に基づいて、各要素単位別に圧縮画像データを逆量子化し、この逆量子化された圧縮画像データのうち前記ビット数算出回路により各要素単位に割り当てられたビット数分以内の圧縮画像データを前記画像データメモリに記憶させる逆量子化回路と、前記逆量子化回路により得られた圧縮画像データを伸張する伸張処理回路とを備えたことを特徴とする。
【0032】
請求項6記載の発明は、前記請求項5記載の画像処理装置において、第1及び第2のプロセッサを備え、前記第1のプロセッサは、前記画面サイズ検出回路、前記画像データメモリ、前記ビット数算出回路、前記スキャン成分検出回路、前記スキャン成分検出結果メモリ、前記逆量子化回路及び前記伸張処理回路を有することを特徴とする。
【0033】
請求項7記載の発明の画像処理方法は、周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理方法であって、前記圧縮画像データの各要素単位別に最初のスキャン成分を検出し、前記スキャン成分の検出結果に基づいて、各要素単位別に最初のスキャン成分が検出されたことを記憶すると共に、各要素単位別に符号ビットを記憶し、続いて、前記記憶された各要素単位別の最初のスキャン成分の検出結果及び各要素単位別の符号ビットに基づいて、各要素単位別にその圧縮画像データを逆量子化すると共に、前記逆量子化により得られた今段階の圧縮画像データを伸張し、その後、前記伸張された今段階の画像データをその前段階までの画像データと重ね合せることを繰り返すことを特徴とする。
【0034】
請求項8記載の発明の画像処理方法は、周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理方法であって、前記圧縮画像データのヘッダー情報を解析して、この圧縮画像データの画面サイズを検出すると共に、この画面サイズ、及び備える画像データメモリの記憶容量に基づいて、前記圧縮画像データの各要素単位に割り当てられるビット数を算出し、続いて、前記圧縮画像データの各要素単位別に最初のスキャン成分を検出し、前記スキャン成分の検出結果に基づいて、各要素単位別に最初のスキャン成分が検出されたことを記憶し、その後、前記記憶されたスキャン成分検出結果、及び画像データメモリに記憶された圧縮画像データに基づいて、各要素単位別にその圧縮画像データを逆量子化し、この逆量子化された圧縮画像データのうち、各要素単位に割り当てられたビット数分以内の圧縮画像データを前記画像データメモリに記憶すると共に、前記逆量子化された圧縮画像データを伸張することを繰り返すことを特徴とする。
【0035】
以上により、請求項1〜4及び7記載の発明では、スキャン成分検出回路とスキャン成分検出結果メモリと符号ビットメモリとが備えられているので、各要素単位別のスキャン成分検出結果及び符号ビットに基づいて、今段階の圧縮画像データが正しく逆量子化される。この今位階の逆量子化された圧縮画像データは、逆DCT変換された後に、重ね合せ回路により、画像データメモリに記憶された前段階までの逆DCT変換後の圧縮画像データと重ね合わされて、今段階までの逆DCT変換後の圧縮画像データが得られる。
【0036】
ここに、逆DCT変換までの演算処理、即ち、高速処理可能なデジタル信号処理装置が行う演算処理では、スキャン成分検出結果メモリ及び符号ビットメモリが使用され、この両メモリは各々1ビットの容量で足りるので、従来に比べて、デジタル信号処理回路が使用するメモリの容量を大幅に削減することができる。
【0037】
また、請求項5、6及び8記載の発明では、予め、圧縮画像データからその画面サイズが検出され、この画面サイズに応じて画像データメモリの各要素単位に割り当てられるビット数が算出される。そして、その後に、圧縮画像データが逆量子化された際に、その逆量子化された圧縮画像データのうち前記算出された各要素単位の割り当てビット数分が逆量子化後の圧縮画像データメモリに記憶される。従って、逆量子化後の圧縮画像データメモリの各要素単位の容量配分が適切になって、逆量子化後の圧縮画像データメモリが少容量のものであっても、圧縮画像データの画面サイズに拘わらず、その画面全体を均一な解像度でもって良好に表示することができる。
【0038】
【発明の実施の形態】
以下、本発明の実施の形態の画像処理装置を図面に基づいて説明する。
【0039】
(第1の実施の形態)
図1は本発明の第1の実施の形態の画像処理装置の全体構成を示す。同図の画像処理装置は、携帯電話や携帯情報端末などの携帯端末に内蔵され、JPEG(Joint Photographic coding Experts Group)のカラー圧縮静止画像を伸張処理する。
【0040】
図1において、101はハフマン復号回路、102は逆量子化回路、103は量子化テーブル作成回路、104は逆DCT変換回路(伸張処理回路)、105は色空間変換回路、106は色数削減回路、107は圧縮画像データメモリ、109は最終画像データメモリである。前記圧縮画像データメモリ107には、周波数分割型プログレッシブ符号化により符号化された圧縮画像データが記憶されている。
【0041】
110は圧縮画像データの各要素単位別に最初のスキャン成分を検出する最初のスキャン成分検出回路、111は各要素単位毎に最初のスキャン成分を検出したことを記憶するスキャン成分検出結果メモリ、112は各要素単位別にそのデータの「正」又は「負」の符号ビットを記憶する各要素単位毎の符号ビットメモリ、113は重ね合せ回路、114は前段階までに伸張した画像データの重ね合せ後の画像データメモリ、115はセレクタである。
【0042】
また、131は圧縮画像データの信号線、132はハフマン復号した画像データ信号線、133は量子化テーブル情報関連データ信号線、134は量子化テーブルデータ信号線、135は各段階毎の逆量子化データの信号線、136は各段階毎に逆DCT変換されたYUV画像データ信号線、137は前段階までに伸張したYUV画像データと今段階のYUV画像データとを重ね合せた後のYUV画像データ、138は色空間変換されたRGB画像データ信号線、139は色数削減後のRGB画像データ信号線である。
【0043】
更に、140はセレクタ115後のYUV画像データ信号線、141は各要素単位別の最初のスキャン検出結果の信号線、142は各要素単位の符号ビット信号線、143は最初のスキャン検出結果メモリ111からの信号線、144は符号ビットメモリ112からの信号線、145は前段階までの伸張した画像データの重ねあわせ後の画像データの信号線である。
【0044】
図2は、圧縮画像データメモリ107に記憶される圧縮画像データのデータ構成を示す。同図では、64個の画素単位毎に8ビットのデータを有し、最初の1ビット目の符号ビット(11…18〜81…88)と、その符号ビットに続く7ビットのデータ(11x…18x〜81x〜88x)とにより構成される。
【0045】
次に、プログレッシブ符号化された圧縮画像データの伸張処理を説明する。ここでは、図4(a)〜(d)に4段階にビット分割された場合のプログレッシブ符号化された圧縮画像データの伸張処理の例を説明する。
【0046】
図3は8x8の画素データを表し、1〜64までの数字は、圧縮画像データの転送順序を表す。図4(a)〜(d)はこの8x8の画素データの分割ビット数を表す。図4(a)は第1段階の分割ビット数、図4(b)は第2段階の分割ビット数、図4(c)は第3段階の分割ビット数、図4(d)は第4段階の分割ビット数を示す。
【0047】
「処理1」
ハフマン復号回路101は、図4(a)に示した各要素単位別に所定の分割ビット数を持つ第1段階の圧縮画像データが圧縮画像データメモリ107から転送されて、この圧縮画像データのプロフィールであるヘッダー情報を解析する。
【0048】
「処理2」
前記ハフマン復号回路101は、前記第1段階の圧縮画像データのハフマン復号処理を行い、このハフマン復号された圧縮画像データを逆量子化回路102へ出力すると共に、圧縮画像データの中から量子化テーブルに関するデータを量子化テーブル作成回路103へ出力する。
【0049】
「処理3」
最初のスキャン成分検出回路110では、ハフマン復号回路101からのハフマン復号後の圧縮画像データを用いて、各要素単位別に最初のスキャン成分が存在する画素データが否かを検出し、その検出結果を各要素単位別の最初のスキャン検出結果メモリ111に記憶する。
【0050】
例えば、図4を用いて説明すると、同図4(a)に示す第1段階では、図3の第1〜第28番目までの画素データが3ビット分、図3の第29〜第58番目までの画素データが1ビット分存在する。即ち、第1段階において、各要素単位別に最初のスキャン成分が存在するのは、図3の第1〜第58番目までとなる。従って、第1段階では、この1〜58番目までに対応する画素に対して最初のスキャン成分を検出した結果情報“1”を最初のスキャン成分検出結果メモリ111に記憶する。
【0051】
また、図4(b)に示す第2段階では、図3の第59〜第64番目までの画素データに最初のスキャン成分が存在する。従って、第2段階では、この59〜64番目までに対応する画素に対して最初のスキャン成分を検出した結果情報“1”を最初のスキャン成分検出結果メモリ111に上書きして、記憶する。
【0052】
図4(c)及び図4(d)に示す第3段階及び第4段階では、各要素単位の最初のスキャン成分は全ての要素で既に検出された後であって、全ての要素で最初のスキャン成分は存在しないので、最初のスキャン成分検出メモリ111の記憶内容の更新は行わない。
【0053】
更に、同時に、最初のスキャン成分検出回路110において各要素単位別に最初のスキャンが存在する画素データと判断した場合には、その最初のスキャン成分が存在すると判断した各要素単位の画像データの符号ビットを検出し、この各要素単位の符号ビットを符号ビットメモリ112に記憶する。
【0054】
例えば、図4を用いて説明すると、同図(a)に示す第1段階では、最初のスキャン成分が存在する第1〜第28番目までの要素についての3ビット分の符号ビットと、第29〜第58番目までの要素についての1ビット分の符号ビットを符号ビットメモリ112に記憶する。また、図4(b)に示す第2段階では、最初のスキャン成分が存在する第59〜第64番目までの要素についての1ビット分の符号ビットを符号ビットメモリ112に記憶する。図4(c)及び図4(d)に示す第3、第4段階では、最初のスキャン成分は全ての要素で既に検出された後であって、最初のスキャン成分は存在しないので、符号ビットメモリ112の記憶内容の更新は行われない。
【0055】
「処理3」
逆量子化回路102では、量子化テーブル作成回路103からの量子化テーブル情報と、ハフマン復号回路101でハフマン復号された圧縮画像データと、各要素単位毎の最初のスキャン成分検出結果メモリ111の検出結果と、各要素単位別の符号ビットメモリ112の符号ビット情報とを用いて、今段階のハフマン復号された圧縮画像データを逆量子化処理し、逆DCT変換回路104へ出力する。
【0056】
ここで、各要素単位で最初のスキャン成分であることが判明した各要素単位のデータは、そのまま逆量子化される。一方、最初のスキャン成分ではないことが判明した各要素単位のデータは、前段階までに最初のスキャン成分が検出されていれば、逆量子化回路102は、符号ビットメモリ112から各要素単位毎の符号ビット情報を取得した後、今回の各要素単位のデータをその符号ビットが示す「正」又は「負」の符号に合せて逆量子化した後、逆DCT変換回路104へ出力する。
【0057】
例えば、図4(a)に示す第1段階では、最初のスキャン成分が存在する第1〜第28番目までの要素の3ビット分、第29〜第58番目までの要素の1ビット分を用いて逆量子化を行い、逆DCT変換回路104へ出力する。図4(b)に示す第2段階では、最初のスキャン成分が存在する第59〜第64番目までの要素の1ビット分の逆量子化処理を行うと共に、既に最初のスキャン成分を検出した前記第1〜第28番目までの要素の今段階の3ビット分と、前記第29〜第58番目までの要素の今段階の1ビット分とに関しては、符号ビットメモリ112に記憶された自己の要素の符号ビット情報に基づいて、所定の処理を行った後、逆量子化処理を実施し、逆DCT変換回路104へ出力する。図4(c)及び図4(d)に示す第3、第4段階では、最初のスキャン成分は全ての要素で既に検出された後であるので、全ての要素の今段階のビット分に関して、符号ビットメモリ112の符号ビット情報に基づいて該当の処理を行った後、逆量子化処理を実施し、逆DCT変換回路104へ出力する。
【0058】
「処理4」
逆DCT変換回路104では、逆量子化回路102で逆量子化された今段階の圧縮画像データについて逆DCT変換を行なって伸張し、輝度情報等の画素データ(YUVデータ)を生成する。
【0059】
その後、重ね合せ回路113では、前記逆DCT変換回路104からの今段階の画像データと、画像データメモリ114に記憶されている前段階までの画像データとを重ね合せて、今段階までの輝度情報等の画素データ(YUVデータ)を生成する。また、同時に、この生成した画素データを画像データメモリ114に記憶する。
【0060】
「処理5」
色空間変換回路105では、前記逆DCT変換回路104で生成されたYUVデータについて色空間変換を行なって、色情報データ(RGB画像データ)を生成し、色数削減回路106に出力する。
【0061】
「処理6」
色数削減回路106では、R(赤)、G(緑)、B(青)の各色の階調を自己の有する画像表示回路の階調に関わる性能に合った階調に色数を削減する。この時、色数削減を実施する前後で画像の見栄えができるだけ相違のないように、誤差拡散手法等の技術を用いて処理する。これらの一連の処理を完了すると、伸張した画像データは最終画像データメモリ109に格納される。
【0062】
本実施の形態では、ハフマン復号回路101から逆DCT変換回路104までのデジタル信号処理については、各要素単位毎に1ビットの最初の検出結果メモリ111と、各要素単位毎に1ビットの符号ビットメモリ112のみが備えられ、これ等メモリを合せて各要素単位毎に2ビットのメモリでもって、今段階のハフマン復号後の圧縮画像データを今段階の逆量子化データに変換できるので、従来の図8の逆量子化後の圧縮画像データメモリ308のように、各要素単位毎に8ビットのデータを持つ必要がなく、デジタル信号処理で使用するメモリを少容量のもので構成できる。
【0063】
一方、逆DCT変換後の画像データメモリ114は、大容量のものが必要であるが、逆DCT変換後の位置に配置されて、PCに比べて処理能力の低い中央演算処理回路(CPU)が使用するものであって、低速動作で足りるので、大容量であっても低価格で得ることができる。
【0064】
尚、図1に示した画像処理装置は、シーケンシャル符号化された圧縮画像データの伸張処理も可能である。以下、この伸張処理を説明する。
【0065】
「処理1」
圧縮画像データメモリ107内のシーケンシャル符号化された圧縮画像データをそのままハフマン復号回路101に入力する。
【0066】
「処理2」
ハフマン復号回路101では、入力された圧縮画像データのヘッダー情報を解析した後、その圧縮画像データのハフマン復号処理を行なって、逆量子化回路102へ出力すると共に、その圧縮画像データの中から量子化テーブルに関するデータを量子化テーブル作成回路103へ出力する。
【0067】
「処理3」
逆量子化回路102では、量子化テーブル作成回路103からの量子化テーブル情報と、ハフマン復号回路101でハフマン復号された量子化画像データの逆量子化処理を行ない、逆DCT変換回路104へ出力する。
【0068】
「処理4」
逆DCT変換回路104では、逆量子化回路102で逆量子化されたブロック毎の画像データを逆DCT変換することにより、この圧縮画像データを伸張して、輝度情報等の画素データ(YUVデータ)を生成し、色空間変換回路に105出力する。
【0069】
「処理5」
色空間変換回路105では、前記逆DCT変換回路104で生成されたYUVデータについて色空間変換を行なって、色情報データ(RGB画像データ)を生成し、色数削減回路106に出力する。
【0070】
「処理6」
色数削減回路106では、R(赤)、G(緑)、B(青)の各色の階調を自己の有する表示回路の階調に関する性能に合致した階調に下げて、色数を削減する。この時、色数削減を実施する前後で画像の見栄えができるだけ相違のないように、誤差拡散手法等の技術を用いて処理する。これらの一連の処理を完了すると、伸張した画像データを最終画像データメモリ109に格納する。
【0071】
尚、本実施の形態では、逆DCT変換回路104と色空間変換回路105との間に、重ね合せ回路113と画像データメモリ114とを配置したが、これらの重ね合せ回路113及び画像データメモリ114は、色空間変換回路105と色数削減回路106との間に配置しても良い。
【0072】
更に、本実施の形態では、色数削減回路106を備えた携帯端末を例示したが、本発明の画像処理装置が色数削減回路106を備えない画像表示装置に備えられる場合には、最終画像メモリ109を画像データメモリ114で兼用すれば良い。
【0073】
(第2の実施の形態)
次に、本発明の第2の実施の形態を図5に基づいて説明する。
【0074】
図5に示した画像処理装置では、図1に示した画像処理装置に対して、更に、画像サイズに関するヘッダー解析回路116と、記憶容量割り当て回路117と、各要素単位別の逆量子化後の画像データメモリ108とを有する。前記逆量子化後の画像データメモリ108は、符号ビットメモリ112を内蔵する。
【0075】
同図において、151は画像サイズに関するヘッダー情報の信号線、152はヘッダー解析回路116の画像サイズに関する解析結果の信号線、153は記憶容量割り当て回路117の出力であって、逆量子化後の画像データメモリ108のビット割り当て情報である。逆量子化回路102により逆量子化された今段階までの圧縮画像データは、信号線135を介して、逆量子化後の画像データメモリ108に出力されて、記憶される。
【0076】
また、 図5に示した画像処理装置では、図1に示した画像処理装置における重ね合せ回路113、逆DCT変換後の画像データメモリ114、及びセレクタ140は設けられない。
【0077】
次に、周波数分割型プログレッシブ符号化により符号化された圧縮画像データの伸張処理を説明する。前記第1の実施の形態と同様に、図3及び図4(a)〜(d)に4段階にビット分割した場合の例を用いて説明する。
【0078】
「処理1」
圧縮画像データメモリ107に記憶されている圧縮画像データのプロフィールであるヘッダー情報をハフマン復号回路101で解析する。
【0079】
続いて、画像に関するヘッダー解析回路(画面サイズ検出回路)116は、圧縮画像データメモリ107に記憶されている圧縮画像データの画像サイズを解析して、その圧縮画像データの画面サイズを検出する。記憶容量割り当て回路(ビット数算出回路)117は、前記検出された画面サイズに基づいて、逆量子化後の圧縮画像データメモリ108での各要素単位当りのビット割り当て(割り当てビット数)を決定する。
【0080】
例えば、逆量子化後の画像データメモリ108の容量が6Kbyte(49152bit=6x1024x8bit)とし、圧縮されている画像サイズが96x96、YUV=4:2:0とすると、必要な画素データは、Y画素=96×96=9216、U及びV画素=48×48×2=4608となる。従って、画像データメモリ108での1要素単位当りの割り当てビット数は、49152bit÷(9216+4608)画素=3.56bit/画素となる。従って、この場合は、符号ビットを除く1要素単位当りのビット割り当ては、2ビットとなる(符号ビットは符号ビットメモリ112に記憶される)。
【0081】
「処理2」
ハフマン復号回路101では、前記圧縮画像データのヘッダー情報を解析した後に、圧縮画像データのハフマン復号処理を行なって、逆量子化回路102に出力すると共に、圧縮画像データの中から量子化テーブルに関するデータを抜き出し、量子化テーブル作成回路103に出力する。
【0082】
その後、最初のスキャン成分検出回路110では、ハフマン復号回路101の出力であるハフマン復号処理後の圧縮画像データを用いて、各要素単位別に最初のスキャン成分が存在するか否かを検出し、その検出結果を各要素単位別に最初のスキャン成分検出結果メモリ111に記憶する。
【0083】
例えば、図4の場合では、同図(a)に示すように、第1段階では、図3の1〜28番目までの画素データが3ビット分、図3の29〜58番目までの画素データが1ビット分存在する。すなわち、第1段階において、各要素単位別に最初のスキャン成分が存在するのは、図3の1〜58番目までの画素となる。従って、第1段階では、この1〜58番目までに対応する画素に対して、各要素単位別に最初のスキャン成分を検出した結果情報“1”を各要素単位別にスキャン成分検出結果メモリ111に記憶する。同図(b)に示す第2段階では、図3の59〜64番目までの画素データに最初のスキャン成分が存在するので、この第2段階では、この59〜64番目までに対応する画素に対して各要素単位別に最初のスキャン成分を検出した結果情報“1”を最初のスキャン成分検出結果メモリ111に上書きして、記憶する。同図(c)及び同図(d)に示す第3段階及び第4段階では、最初のスキャン成分は全ての要素単位で既に検出された後であって、最初のスキャン成分は全ての要素単位で存在しないので、最初のスキャン成分検出結果メモリ111の記憶内容の更新は行わない。
【0084】
また、同時に、各要素単位でこの最初のスキャン成分検出回路110で最初のスキャン成分が存在すると判断された要素では、その要素の画像データの符号ビットを検出して、その符号ビットを各要素単位別に符号ビットメモリ112に記憶する。
【0085】
「処理3」
逆量子化回路102では、量子化テーブル作成回路103からの量子化テーブル情報と、ハフマン復号回路101でハフマン復号された量子化画像データと、最初のスキャン成分検出結果メモリ111の検出結果と、符号ビットメモリ112の各要素単位別の符号ビット情報と、逆量子化後の画像データ108とを用いて、今段階までの量子化画像データの逆量子化処理を行なって、逆DCT変換回路104へ出力する。その際、逆量子化データのうち、符号ビット以外のビットについては、記憶容量割り当て回路117で制御されている各要素単位当りの割り当てビット数以内で、逆量子化後の画像データメモリ108に記憶する。また、同時に、最初のスキャン成分検出結果メモリ111の各要素単位毎のスキャン成分検出結果情報に基づいて、前段階までに最初のスキャン成分を検出済みと判断した各要素では、今段階の逆量子化データ135のうち、記憶容量割り当て回路117で割り当てられている各要素単位当りの割り当てビット数以内で、逆量子化後の画像データメモリ108に記憶する。
【0086】
例えば、図4の場合では、同図(a)に示す第1段階において、最初のスキャン成分が存在する図3の1〜28番目までの各要素単位のデータの3ビット分の符号ビットと、図3の29〜58番目までの各要素単位のデータの1ビット分の符号ビットとを符号ビットメモリ112に記憶する。同図(b)に示す第2段階では、最初のスキャン成分が存在する図3の59〜64番目までの各要素単位のデータの1ビット分の符号ビットを符号ビットメモリ112に記憶する。同図(c)及び同図(d)に示す第3段階及び第4段階では、全ての要素単位でスキャン成分が既に検出された後であるので、符号ビットメモリ112の記憶内容の更新は行わない。
【0087】
また、本実施の形態では、各要素単位当りの符号ビット以外の割り当ては2ビットであるから、図4(a)に示す第1段階では、図3の1〜28番目までの要素単位の3ビット分のうち、符号ビット以外の2ビットを逆量子化後の画像データメモリ108に記憶する。図3の29〜58番目までの要素単位では符号ビット以外のビットはないため、逆量子化後の画像データメモリ108には記憶されない。図4(b)に示す第2段階では、図3の1〜28番目までは、前回に格納したビットが2ビット分、図3の29〜58番目までは、この第2段階の画素データの1ビット分が各要素単位別に逆量子化後の画像データメモリ108に記憶される。図4(c)に示す第3段階では、図3の1〜28番目までは、前回に格納したビットが2ビット分、図3の29〜58番目までは、第2段階での画素データの1ビット分に加えて、この第3段階での各要素単位の画素データの4ビット分のうち上位1ビットが、図3の59〜64番目までは、この第3段階での各要素単位の画素データの4ビット分のうち上位2ビットが、各要素単位別に逆量子化後の画像データメモリ108に記憶される。
【0088】
「処理4」
逆DCT変換回路104では、前記逆量子化回路102で逆量子化された今段階の画像データの逆DCT変換を行なうことにより、圧縮画像データを伸張して、輝度情報等の画素データ(YUVデータ)を生成する。
【0089】
「処理5」
色空間変換回路105では、前記逆DCT変換回路104で生成されたYUVデータについて色空間変換を行なって、色情報データ(RGB画像データ)を生成し、色数削減回路106に出力する。
【0090】
「処理6」
色数削減回路106では、R(赤)、G(緑)、B(青)の各色の階調を自己の有する表示回路の階調に関する性能に合致した階調に色数を削減する。この時、色数削減を実施する前後で画像の見栄えができるだけ相違のないように、誤差拡散手法等の技術を用いて処理する。これらの一連の処理を完了すると、伸張した画像データを最終画像データメモリ109に格納する。
【0091】
従って、本実施の形態では、予め、圧縮画像データメモリ107内の圧縮画像データの画面サイズをヘッダ解析回路116で検出して、記憶容量割り当て回路117が、その画面検出されたサイズと、逆量子化後の画像データメモリ108の記憶容量とに応じて、各要素単位当りの画素データの割り当てビット数を決定し、その後、逆量子化回路102で逆量子化された各要素単位別の圧縮画像データが、前記割り当てビット数以内で逆量子化後の画像データメモリ108に記憶される。従って、逆量子化後の画像データメモリ108の各要素単位の容量配分が適切になって、この画像データメモリ108が少容量のものであっても、圧縮画像データの画面サイズに拘わらず、その画面全体を均一な解像度でもって良好に表示することができる。
【0092】
(第3の実施の形態)
次に、本発明の第3の実施の形態の画像処理装置を説明する。
【0093】
図6は、本実施の形態の画像処理装置を示し、2つのプロセッサ201、202を有する。この画像処理装置の全体構成は図1に示した構成と同一である。
【0094】
第1のプロセッサ201は、ハフマン復号回路101、逆量子化回路102、量子化テーブル作成回路103、逆DCT変換回路104、各要素単位毎の最初のスキャン成分検出回路110、各要素単位毎の最初のスキャン成分検出結果メモリ111、各要素単位別の符号ビットメモリ112を有し、デジタル信号処理を高速で行うDSPで実現される。
【0095】
一方、第2のプロセッサ202は、色空間変換回路105、色数削減回路106、圧縮画像データメモリ107、最終画像データメモリ109、重ね合せ回路113、前段階までの重ね合せ後の伸張画像データを記憶する画像データメモリ114、セレクタ115を有し、汎用的な処理を行うCPUで実現される。
【0096】
本実施の形態では、具体的に、スキャン成分検出結果メモリ111及び符号ビットメモリ112が、デジタル信号処理を高速で処理する第1のプロセッサ201により制御されて、高速動作する必要があるが、この両メモリ111、112が各々各要素単位別に1ビットのメモリで構成されているので、従来のように各要素単位別に複数ビット(例えば8ビット)で構成する画像データメモリと比較して、極めて少容量にできる。しかも、逆DCT変換後の画像データメモリ114は汎用的な処理を行うCPU202で制御されて、高速動作する必要がないので、大容量であっても低価格で得ることができる。
【0097】
(第4の実施の形態)
続いて、本発明の第4の実施の形態の画像処理装置を説明する。
【0098】
図7は、本実施の形態の画像処理装置を示し、2つのプロセッサ201、202を有する。この画像処理装置の全体構成は図5に示した構成と同一である。
【0099】
第1のプロセッサ201は、ハフマン復号回路101、逆量子化回路102、量子化テーブル作成回路103、逆DCT変換回路104、各要素単位別の最初のスキャン成分検出回路110、各要素単位別の最初のスキャン成分検出結果メモリ111、各要素単位別の符号ビットメモリ112、逆量子化後の画像データメモリ108、ヘッダー解析回路116、及び記憶容量割り当て回路117を有しており、デジタル信号処理を高速で行うDSPで実現される。
【0100】
一方、第2のプロセッサ202は、色空間変換回路105、色数削減回路106、圧縮画像データメモリ107、最終画像データメモリ107を有し、汎用的な処理を行うCPUで実現される。
【0101】
従って、本実施の形態では、符号ビットメモリ112を含む逆量子化後の画像データメモリ108はデジタル信号処理を高速で行う第1のプロセッサ201で制御されて、高速動作する必要があるが、符号ビットメモリ112を含めて各要素単位当り少ビット(3ビット)のメモリで構成されているので、図8に示した従来の画像データメモリ308が各要素単位当り多ビット(8ビット)で構成される場合と比較して、デジタル信号処理を高速で行うプロセッサが使用するメモリの容量を少なくできる。
【0102】
【発明の効果】
以上説明したように、請求項1〜4及び7記載の発明の画像処理装置及び画像処理方法によれば、メモリとして、スキャン成分検出結果メモリ及び符号ビットメモリのみを設けて、ビット分割された今段階の圧縮画像データを正しく今段階の逆量子化データに変換しながら、逆DCT変換後において、今段階の圧縮画像データをその前段階までの圧縮画像データと重ね合せたので、従来のように逆量子化画像データを1画面分全て記憶する大容量のメモリを不要として、デジタル信号処理回路が使用するメモリの容量を大幅に削減することができる。
【0103】
また、請求項5、6及び8記載の発明の画像処理装置及び画像処理方法によれば、予め、圧縮画像データからその画面サイズを検出し、この画面サイズに応じて画像データメモリの各要素単位に割り当てられるビット数を決定したので、逆量子化後の圧縮画像データメモリの各要素単位の容量配分を適切にして、逆量子化後の圧縮画像データメモリを少容量に制限しながら、圧縮画像データの画面サイズに拘わらず、その画面全体を携帯電話や携帯情報端末の小型の画像表示回路に適した均一な解像度でもって良好に表示することが可能である。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態の画像処理装置を示すブロック図である。
【図2】圧縮画像データを構成する各要素単位のデータ構成を示す図である。
【図3】圧縮画像データの圧縮順番を示す図である。
【図4】(a)は第1段階の圧縮画像データにおける画素単位の分割ビット数を示す図、(b)は同第2段階の分割ビット数を示す図、(c)は同第3段階の分割ビット数を示す図、(d)は同第4段階の分割ビット数を示す図である。
【図5】本発明の第2の実施の形態の画像処理装置を示すブロック図である。
【図6】本発明の第3の実施の形態の画像処理装置を示すブロック図である。
【図7】本発明の第4の実施の形態の画像処理装置を示すブロック図である。
【図8】従来の画像処理装置を示すブロック図である。
【符号の説明】
101 ハフマン復号回路
102 逆量子化回路
103 量子化テーブル作成回路
104 逆DCT変換回路(伸張処理回路)
105 色空間変換回路
106 色数削減回路
107 圧縮画像データメモリ
108 逆量子化後の画像データメモリ
109 最終画像データメモリ
110 スキャン成分検出回路
111 スキャン成分検出結果メモリ
112 符号ビットメモリ
113 重ね合せ回路
114 画像データメモリ
115 セレクタ
116 ヘッダー解析回路(画面サイズ検出回路)
117 記憶容量割り当て回路(ビット数算出回路)
201 DSP(第1のプロセッサ)
202 CPU(第2のプロセッサ)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing device for expanding compressed image data.
[0002]
[Prior art]
In general, a compression method using a DCT (Discrete Cosine Transform) method is widely used as a compression technique for image data. In this compression method, three primary color signals of color component information R, G, and B of each pixel in an image block unit (8 or 16 pixels in the horizontal direction and 8 or 16 pixels in the vertical direction) are converted into Y, U, After the conversion into the three components of V, the image data is converted into a frequency space by DCT conversion, and the image data is compressed by performing Huffman coding for each frequency component.
[0003]
There are two methods of compressing the above-described image data: sequential coding and progressive coding. In the sequential coding, image data of one screen is sequentially compressed in units of image blocks. On the other hand, progressive coding is a method of compressing image data of an entire screen in a plurality of stages.
[0004]
In order to decompress the sequentially encoded compressed image data, decompression processing is performed on the compressed image data block by block to generate one image. On the other hand, in order to expand the progressively encoded compressed image data, one image data is expanded in a plurality of stages. That is, in the expansion processing of the progressive compressed image data, one rough whole image having a low resolution and gradation is expanded, and then the image is sequentially expanded stepwise so that the resolution and the gradation become higher. Perform processing.
[0005]
With the rapid spread of the Internet in recent years, when processing image data, the above-described image data compression method has been widely used. In this case, similarly to the above-described sequential-encoded compressed image data, progressive-encoded compressed image data is widely used, for example, as described in Patent Documents 1, 2, or 3.
[0006]
On the other hand, terminal devices that handle such compressed image data include not only ordinary PCs (Personal Computers) but also terminal devices such as mobile phones and personal digital assistants. The feature of these portable terminals is that they are small and lightweight, and their image display circuits are provided with circuits having a low resolution and capable of displaying only a small amount of color information, unlike image display circuits such as PCs. Often. Further, in such a portable terminal, it is required that the capacity of the memory be realized with a smaller capacity.
[0007]
Hereinafter, an example of a conventional image processing apparatus using these portable terminals will be described with reference to the drawings.
[0008]
FIG. 8 is a block diagram showing a conventional image processing apparatus for expanding compressed image data.
[0009]
In the figure, 301 is a Huffman decoding circuit, 302 is an inverse quantization circuit, 303 is a quantization table creation circuit, 304 is an inverse DCT transformation circuit, 305 is a color space transformation circuit, and 306 is a color number reduction circuit. Reference numeral 307 denotes a compressed image data memory; 308, an image data memory after inverse quantization; and 309, a final image data memory.
[0010]
Further, in FIG. 8, 331 is a signal line of compressed image data, 332 is a Huffman-decoded image data signal line, 333 is a quantization table information related data signal line, 334 is a quantization table data signal line, and 335 is inverse quantization. The coded image data signal line 336 is an inversely quantized image data signal line up to the previous stage of the progressively encoded image data. Reference numeral 337 denotes a YUV image data signal line subjected to inverse DCT conversion, 338 denotes an RGB image data signal line subjected to color space conversion, and 339 denotes an RGB image data signal line after the number of colors has been reduced.
[0011]
Next, a description will be given of a process of decompressing progressively encoded compressed image data in the conventional image processing apparatus shown in FIG.
[0012]
When performing the expansion processing of the progressively coded compressed image data at each stage, the compressed image data coded by the frequency division type progressive coding is transferred for each element unit of the image at the time of transfer. There is a divided bit system in which a plurality of bits representing an element are divided into a plurality of bits and sequentially transferred for each divided bit. The expansion processing of compressed image data transferred by the divided bit system will be described below.
[0013]
"Process 1"
The Huffman decoding circuit 301 analyzes header information from the compressed image data in the compressed image data memory 307, extracts quantization table data, and performs Huffman decoding of the compressed image data.
[0014]
Here, the compressed image data stored in the compressed image data memory 307 is made up of 64 elements as shown in FIG. 3, and each element unit has a plurality of bits (for example, 8 bits). The plurality of bits of each element are divided into a plurality of parts and sequentially transferred. More specifically, for example, when each element unit is composed of 8 bits, it is divided into, for example, four bit groups, and the divided bit group of each element unit illustrated in FIG. The divided bit sets for each element illustrated in FIGS. 9B, 9C, and 9D are sequentially transferred thereafter. The number of division bits for each element unit shown in FIG. 4A is larger for lower frequency components, and the number of division bits for each element unit shown in FIG. 4D is larger for higher frequency components. For example, in the first element which is a low-frequency component, there are 3 bits in FIG. 4A, 3 bits in FIG. 4B, 2 bits in FIG. 4C, and 0 bits in FIG. 4D. On the other hand, in the 64th element, which is a high frequency component, 0 bit in FIG. 4A, 1 bit in FIG. 4B, 4 bits in FIG. 4C, and 3 bits in FIG. 4D. Therefore, the scan component transmitted first in each element unit, that is, the first scan component of each element is transmitted for the first time in the first to 58th element units, as can be seen from FIG. In the 59th to 64th element units, the data is transferred for the second time as shown in FIG.
[0015]
"Process 2"
The inverse quantization circuit 302 performs an inverse quantization process on the compressed image data at this stage, which has been Huffman-decoded by the Huffman decoding circuit 301, based on the quantization table created by the quantization table creation circuit 303. At this time, the dequantized compressed image data of this stage and the compressed image data of the previous stage stored in the image data memory 308 after dequantization are superimposed to obtain the inverse quantized image data of this stage. Create compressed image data. The new compressed image data is updated in the dequantized image data memory 308.
[0016]
"Process 3"
In the inverse DCT transform circuit 304, the image data up to this stage, which has been inversely quantized by the inverse quantization circuit 302, is inversely DCT-transformed and expanded to generate pixel data (YUV data) such as luminance information.
[0017]
"Process 4"
The color space conversion circuit 305 performs color space conversion of the YUV data subjected to the inverse DCT conversion by the inverse DCT conversion circuit 304 to generate color information data (RGB image data), and outputs the color information data to the color number reduction circuit 306. .
[0018]
"Process 5"
The number-of-colors reduction circuit 306 reduces the number of colors to a gradation that matches the gradation performance of the image display circuit that has the gradations of R (red), G (green), and B (blue). At this time, processing is performed using a technique such as an error diffusion method so that the appearance of the image is as different as possible before and after the color number reduction is performed. When these series of processes are completed, the decompressed image data is stored in the final image data memory 309.
[0019]
[Patent Document 1]
JP-A-6-113301
[Patent Document 2]
JP-A-6-268873
[Patent Document 3]
WO 99/07155 pamphlet
[0020]
[Problems to be solved by the invention]
However, the conventional image processing apparatus has a problem in that a large-capacity compressed image data memory 308 that stores all of the dequantized image data for one screen is required. More specifically, in the conventional image processing apparatus, in the stage of input data to the inverse DCT transform circuit 304, that is, in the stage of inverse quantization by the inverse quantization circuit 302, the compressed image data at this stage is It is superimposed on the compressed image data up to the previous stage. For this reason, the amount of the inversely quantized compressed image data is required for all the pixels of one screen by the number of bits of the required resolution of the YUV data such as the luminance information. Had a large capacity.
[0021]
In particular, in a small and lightweight terminal device such as a mobile phone or a portable information terminal, it is required that the memory has a smaller capacity. In addition, in order to realize low power and low cost in these mobile phones and portable information terminals, a central processing unit (CPU) having a lower processing capability than a PC (Personal Computer) and a voice, audio, image, etc. In many cases, a digital signal processor (DSP) for implementing the media processing efficiently and at high speed is mounted. In a system equipped with both a central processing circuit having this low processing capability and a processor for digital signal processing for high-speed processing, when the progressive image data is expanded, the digital signal processing processor uses the Huffman decoding circuit 301, It has a quantization circuit 302, a quantization table creation circuit 303, an image data memory 308 after inverse quantization, and an inverse DCT conversion circuit 304, and a central processing circuit is a compressed image data memory 307, a color space conversion circuit 305, a color A number reduction circuit 306 and a final image data memory 309 are provided. Therefore, the central processing circuit controls the final image data memory 309 and the compressed image data memory 307, and the digital signal processing processor controls the image data memory 308 after the inverse quantization.
[0022]
However, the memory controlled by the digital signal processing processor is a memory that requires a high-speed operation, and the cost per storage unit is high. On the other hand, the memory controlled by the central processing circuit can operate at a low speed, the cost per storage unit is low, and even if the memory is large, it is lower than the small memory controlled by the digital signal processing processor. Price.
[0023]
Therefore, it is important to reduce the capacity of the image data memory 308 after the inverse quantization controlled by the digital signal processing processor in order to reduce the system cost.
[0024]
An object of the present invention is to provide an image processing apparatus for decompressing compressed image data, in which the compressed image data is encoded by frequency-division progressive coding, and sequentially transferred in a divided bit system for each element unit. Even in some cases, measures are taken to reduce the capacity of the expensive and high-speed data memory controlled by the digital signal processing circuit.
[0025]
[Means for Solving the Problems]
In order to achieve the above object, in the present invention, when decompressing compressed image data encoded by the progressive encoding of the frequency division type and divided bit system, the compressed image data of each stage divided into bits Each of the expensive and high-speed data memories controlled by the digital signal processing circuit stores only a minimum amount of information so that the dequantized data at that stage can be satisfactorily generated. The superimposition of the compressed image data is performed after the inverse DCT transform controlled by the central processing circuit.
[0026]
According to the present invention, as another solution, when the capacity of an expensive and high-speed data memory is limited to a small amount, the expensive and high-speed operation can be performed so that a desired resolution can be obtained for the entire reproduced image. The appropriate capacity of the data memory is appropriately distributed among the elements of the compressed image data.
[0027]
Specifically, the image processing apparatus according to the first aspect of the present invention provides compressed image data encoded by frequency division progressive coding, divided into a plurality of bits for each element unit, and sequentially transferred for each divided bit. An image processing apparatus for decompressing, wherein a scan component detection circuit that detects a first scan component for each element unit of the compressed image data, and wherein the first scan component is detected for each element unit by the scan component detection circuit. A scan component detection result memory, a code bit memory for storing a code bit for each element unit of the compressed image data based on a detection result of the scan component detection circuit, the scan component detection result memory and the code An inverse quantization circuit that inversely quantizes the compressed image data for each element based on the output of the bit memory; A decompression processing circuit for decompressing the compressed image data at the stage corresponding to each divided bit obtained by the inverse quantization circuit, a superimposition circuit, and an image data memory, wherein the superimposition circuit is provided in the image data memory. The stored data and the current stage image data expanded by the expansion processing circuit are superimposed, and the image data memory stores the image data superimposed by the superimposition circuit.
[0028]
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the image processing apparatus further includes a first processor and a second processor, wherein the first processor includes the scan component detection circuit, the scan component detection result memory, It has a sign bit memory, the inverse quantization circuit and the decompression circuit, and the second processor has the superposition circuit and the image data memory.
[0029]
According to a third aspect of the present invention, in the image processing apparatus according to the first aspect, a color space conversion circuit that performs color space conversion on the compressed image data expanded by the expansion processing circuit to obtain color information data; A color number reduction circuit for reducing the number of colors by lowering the gradation of the color information data obtained by the space conversion circuit, wherein the superimposing circuit and the image data memory include the color space conversion circuit and the color number reduction circuit; It is characterized by being arranged between.
[0030]
According to a fourth aspect of the present invention, in the image processing apparatus of the third aspect, the image processing apparatus is provided in a mobile terminal including a mobile phone and a mobile information terminal.
[0031]
An image processing apparatus according to a fifth aspect of the present invention is an image processing apparatus for expanding compressed image data encoded by frequency division progressive coding, divided into a plurality of bits for each element unit, and sequentially transferred for each divided bit. A screen size detection circuit that analyzes header information of the compressed image data to detect a screen size of the compressed image data; an image data memory having a predetermined storage capacity; A bit number calculation circuit for calculating the number of bits allocated to each element unit of the compressed image data based on the screen size and the storage capacity of the image data memory; and a first scan for each element unit of the compressed image data. A scan component detection circuit for detecting a component, and the first scan for each element unit by the scan component detection circuit. Based on the outputs of the scan component detection result memory and the image data memory, and dequantizes the compressed image data for each element unit. An inverse quantization circuit for storing in the image data memory compressed image data within the number of bits assigned to each element by the bit number calculation circuit in the compressed image data, and an inverse quantization circuit. A decompression processing circuit for decompressing the compressed image data.
[0032]
According to a sixth aspect of the present invention, in the image processing apparatus according to the fifth aspect, the image processing apparatus further includes a first processor and a second processor, wherein the first processor includes the screen size detection circuit, the image data memory, and the number of bits. It has a calculation circuit, the scan component detection circuit, the scan component detection result memory, the inverse quantization circuit, and the decompression processing circuit.
[0033]
The image processing method according to the present invention is an image processing method for decompressing compressed image data encoded by frequency division progressive coding, divided into a plurality of bits for each element unit, and sequentially transferred for each divided bit. A method for detecting a first scan component for each element unit of the compressed image data, and storing that a first scan component is detected for each element unit based on a detection result of the scan component, A code bit is stored for each element unit, and then, based on the stored detection result of the first scan component for each element unit and a code bit for each element unit, the compressed image data is stored for each element unit. In addition to the inverse quantization, the compressed image data at this stage obtained by the inverse quantization is expanded, and then the expanded image data at this stage And repeating the combining image data and superimposed up.
[0034]
The image processing method according to the present invention is an image processing method for expanding compressed image data encoded by frequency division progressive coding, divided into a plurality of bits for each element unit, and sequentially transferred for each divided bit. Analyzing the header information of the compressed image data to detect the screen size of the compressed image data, and based on the screen size and the storage capacity of the provided image data memory, Calculate the number of bits allocated to each element unit, then detect the first scan component for each element unit of the compressed image data, and, based on the detection result of the scan component, determine the first scan component for each element unit. Is detected, and thereafter, the stored scan component detection result and the compression stored in the image data memory are stored. Based on the image data, the compressed image data is dequantized for each element unit, and the compressed image data within the number of bits allocated to each element unit among the dequantized compressed image data is converted to the image data. The method is characterized in that the compressed image data that has been dequantized is repeatedly expanded and stored in the memory.
[0035]
As described above, according to the first to fourth and seventh aspects of the present invention, since the scan component detection circuit, the scan component detection result memory, and the sign bit memory are provided, the scan component detection result and the sign bit for each element unit are stored. Based on this, the compressed image data at this stage is correctly dequantized. The inverse-quantized compressed image data of the current order is subjected to inverse DCT transform, and then superimposed on the compressed image data after inverse DCT transform up to the previous stage stored in the image data memory by the superimposing circuit, The compressed image data after the inverse DCT conversion up to this stage is obtained.
[0036]
Here, in the arithmetic processing up to the inverse DCT transformation, that is, the arithmetic processing performed by the digital signal processing device capable of high-speed processing, a scan component detection result memory and a sign bit memory are used, and each of these memories has a 1-bit capacity. As a result, the capacity of the memory used by the digital signal processing circuit can be significantly reduced as compared with the related art.
[0037]
According to the inventions of claims 5, 6 and 8, the screen size is detected in advance from the compressed image data, and the number of bits allocated to each element of the image data memory is calculated according to the screen size. After that, when the compressed image data is inversely quantized, the calculated number of allocated bits in each element unit of the inversely quantized compressed image data is equal to the dequantized compressed image data memory. Is stored in Accordingly, the capacity distribution of each element of the compressed image data memory after inverse quantization becomes appropriate, and even if the compressed image data memory after inverse quantization has a small capacity, the screen size of the compressed image data is reduced. Regardless, the entire screen can be displayed well with a uniform resolution.
[0038]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[0039]
(First Embodiment)
FIG. 1 shows an overall configuration of an image processing apparatus according to a first embodiment of the present invention. The image processing apparatus shown in the figure is built in a portable terminal such as a portable telephone or a portable information terminal, and expands a JPEG (Joint Photographic Coding Experts Group) color-compressed still image.
[0040]
In FIG. 1, 101 is a Huffman decoding circuit, 102 is an inverse quantization circuit, 103 is a quantization table creation circuit, 104 is an inverse DCT conversion circuit (decompression processing circuit), 105 is a color space conversion circuit, and 106 is a color number reduction circuit. , 107 is a compressed image data memory, and 109 is a final image data memory. The compressed image data memory 107 stores compressed image data encoded by frequency division progressive coding.
[0041]
110 is a first scan component detection circuit for detecting the first scan component for each element unit of the compressed image data, 111 is a scan component detection result memory for storing that the first scan component is detected for each element unit, and 112 is a scan component detection result memory. A sign bit memory for each element unit for storing "positive" or "negative" sign bits of the data for each element unit, 113 is a superimposition circuit, 114 is a superimposed image data expanded up to the previous stage. An image data memory 115 is a selector.
[0042]
Reference numeral 131 denotes a compressed image data signal line, 132 denotes a Huffman-decoded image data signal line, 133 denotes a quantization table information-related data signal line, 134 denotes a quantization table data signal line, and 135 denotes inverse quantization for each stage. A data signal line 136 is a YUV image data signal line subjected to inverse DCT conversion in each stage, and 137 is a YUV image data obtained by superimposing the YUV image data expanded up to the previous stage and the current stage YUV image data. Reference numeral 138 denotes an RGB image data signal line subjected to color space conversion, and 139 denotes an RGB image data signal line after the number of colors has been reduced.
[0043]
Further, 140 is a YUV image data signal line after the selector 115, 141 is a signal line of the first scan detection result for each element unit, 142 is a code bit signal line for each element unit, and 143 is the first scan detection result memory 111 Reference numeral 144 denotes a signal line from the sign bit memory 112, and 145 denotes a signal line of image data obtained by superimposing image data expanded to the previous stage.
[0044]
FIG. 2 shows the data structure of the compressed image data stored in the compressed image data memory 107. In the figure, each of the 64 pixels has 8 bits of data, and the first first sign bit (11... 18 to 81... 88) and 7 bits of data (11x. 18x to 81x to 88x).
[0045]
Next, a description will be given of a process of decompressing progressively encoded compressed image data. Here, FIGS. 4A to 4D illustrate an example of a process of decompressing progressively encoded compressed image data in the case of bit division in four stages.
[0046]
FIG. 3 shows 8 × 8 pixel data, and the numbers 1 to 64 represent the transfer order of the compressed image data. FIGS. 4A to 4D show the number of division bits of the 8 × 8 pixel data. 4A shows the number of divided bits at the first stage, FIG. 4B shows the number of divided bits at the second stage, FIG. 4C shows the number of divided bits at the third stage, and FIG. Indicates the number of division bits in each stage.
[0047]
"Process 1"
The Huffman decoding circuit 101 transfers the first-stage compressed image data having a predetermined number of division bits for each element unit shown in FIG. 4A from the compressed image data memory 107, and obtains a profile of the compressed image data. Parses some header information.
[0048]
"Process 2"
The Huffman decoding circuit 101 performs a Huffman decoding process on the first-stage compressed image data, outputs the Huffman-decoded compressed image data to an inverse quantization circuit 102, and outputs a quantization table from the compressed image data. Is output to the quantization table creation circuit 103.
[0049]
"Process 3"
The first scan component detection circuit 110 uses the compressed image data after Huffman decoding from the Huffman decoding circuit 101 to detect whether or not there is pixel data in which the first scan component exists for each element unit, and determines the detection result. The first scan detection result memory 111 for each element unit is stored.
[0050]
For example, referring to FIG. 4, in the first stage shown in FIG. 4A, the first to 28th pixel data of FIG. 3 correspond to 3 bits, and the 29th to 58th pixel data of FIG. Pixel data up to 1 bit. That is, in the first stage, the first to the 58th scan components in FIG. 3 include the first scan component for each element unit. Therefore, in the first stage, the result information "1" of detecting the first scan component for the pixels corresponding to the 1st to 58th pixels is stored in the first scan component detection result memory 111.
[0051]
In the second stage shown in FIG. 4B, the first scan component exists in the 59th to 64th pixel data in FIG. Therefore, in the second stage, the first scan component detection result memory 111 overwrites and stores the result information “1” of the result of detecting the first scan component for the pixels corresponding to the 59th to 64th pixels.
[0052]
In the third and fourth stages shown in FIG. 4C and FIG. 4D, the first scan component of each element unit has already been detected for all the elements, and the first scan component has been first detected for all the elements. Since there is no scan component, the storage content of the first scan component detection memory 111 is not updated.
[0053]
Further, at the same time, when the first scan component detection circuit 110 determines that the pixel data includes the first scan for each element unit, the code bit of the image data of each element unit for which it is determined that the first scan component exists exists. Is detected, and the code bit in each element unit is stored in the code bit memory 112.
[0054]
For example, referring to FIG. 4, in the first stage shown in FIG. 4A, three bits of code bits for the first to 28th elements in which the first scan component exists, and the 29th element The code bits for one bit for the elements up to the 58th element are stored in the code bit memory 112. In the second stage shown in FIG. 4B, one code bit for the 59th to 64th elements in which the first scan component exists is stored in the code bit memory 112. In the third and fourth stages shown in FIGS. 4 (c) and 4 (d), since the first scan component has already been detected in all the elements and the first scan component does not exist, the code bit The content stored in the memory 112 is not updated.
[0055]
"Process 3"
In the inverse quantization circuit 102, the quantization table information from the quantization table creation circuit 103, the compressed image data Huffman-decoded by the Huffman decoding circuit 101, and the detection of the first scan component detection result memory 111 for each element unit Using the result and the code bit information of the code bit memory 112 for each element unit, the Huffman-decoded compressed image data at this stage is inversely quantized and output to the inverse DCT transform circuit 104.
[0056]
Here, the data of each element unit that has been determined to be the first scan component in each element unit is inversely quantized. On the other hand, if the first scan component has been detected by the previous stage, the inverse quantization circuit 102 outputs the data of each element unit that is determined not to be the first scan component from the sign bit memory 112. After the sign bit information is obtained, the current data of each element unit is inversely quantized according to the “positive” or “negative” sign indicated by the sign bit, and then output to the inverse DCT transform circuit 104.
[0057]
For example, in the first stage shown in FIG. 4A, three bits of the first to 28th elements and one bit of the 29th to 58th elements where the first scan component exists are used. , And outputs the result to the inverse DCT transform circuit 104. In the second stage shown in FIG. 4B, inverse quantization is performed for one bit of the 59th to 64th elements in which the first scan component exists, and the first scan component that has already detected the first scan component is used. Regarding the three bits at this stage of the first to twenty-eighth elements and the one bit at this stage of the twenty-ninth to fifty-eighth elements, the own element stored in the sign bit memory 112 After performing a predetermined process on the basis of the sign bit information, the inverse quantization process is performed and output to the inverse DCT transform circuit 104. In the third and fourth stages shown in FIGS. 4 (c) and 4 (d), since the first scan component has already been detected in all the elements, the bits of the current stage of all the elements are as follows. After performing the corresponding processing based on the sign bit information of the sign bit memory 112, an inverse quantization process is performed and output to the inverse DCT transform circuit 104.
[0058]
"Process 4"
The inverse DCT transform circuit 104 performs an inverse DCT transform on the compressed image data of the current stage that has been inversely quantized by the inverse quantization circuit 102 to expand the image data, thereby generating pixel data (YUV data) such as luminance information.
[0059]
Thereafter, the superimposition circuit 113 superimposes the image data of the current stage from the inverse DCT transform circuit 104 and the image data of the previous stage stored in the image data memory 114 to obtain the luminance information up to this stage. And the like is generated. At the same time, the generated pixel data is stored in the image data memory 114.
[0060]
"Process 5"
The color space conversion circuit 105 performs color space conversion on the YUV data generated by the inverse DCT conversion circuit 104, generates color information data (RGB image data), and outputs the color information data to the color number reduction circuit 106.
[0061]
"Process 6"
The color number reduction circuit 106 reduces the number of colors to R (red), G (green), and B (blue) to a gradation suitable for the performance related to the gradation of the image display circuit of the image processing circuit. . At this time, processing is performed using a technique such as an error diffusion method so that the appearance of the image is as different as possible before and after the color number reduction is performed. When a series of these processes is completed, the decompressed image data is stored in the final image data memory 109.
[0062]
In the present embodiment, for the digital signal processing from the Huffman decoding circuit 101 to the inverse DCT transform circuit 104, a 1-bit first detection result memory 111 for each element unit and a 1-bit code bit for each element unit Only the memory 112 is provided, and the compressed image data after the Huffman decoding at this stage can be converted into the inversely quantized data at this stage by using a 2-bit memory for each element unit. Unlike the compressed image data memory 308 after inverse quantization shown in FIG. 8, it is not necessary to have 8-bit data for each element unit, and the memory used for digital signal processing can be configured with a small capacity.
[0063]
On the other hand, the image data memory 114 after the inverse DCT transformation needs a large capacity, but is arranged at the position after the inverse DCT transformation, and a central processing circuit (CPU) having a lower processing capacity than the PC is required. Since it is used and a low-speed operation is sufficient, even a large capacity can be obtained at a low price.
[0064]
Note that the image processing apparatus shown in FIG. 1 is also capable of decompressing sequentially encoded compressed image data. Hereinafter, this decompression processing will be described.
[0065]
"Process 1"
The sequentially encoded compressed image data in the compressed image data memory 107 is directly input to the Huffman decoding circuit 101.
[0066]
"Process 2"
After analyzing the header information of the input compressed image data, the Huffman decoding circuit 101 performs a Huffman decoding process on the compressed image data, outputs the result to the inverse quantization circuit 102, and outputs a quantized image from the compressed image data. The data related to the quantization table is output to the quantization table creation circuit 103.
[0067]
"Process 3"
The inverse quantization circuit 102 performs an inverse quantization process on the quantization table information from the quantization table creation circuit 103 and the quantized image data Huffman-decoded by the Huffman decoding circuit 101, and outputs the result to the inverse DCT transform circuit 104. .
[0068]
"Process 4"
The inverse DCT transformation circuit 104 expands the compressed image data by inverse DCT transforming the image data of each block dequantized by the inverse quantization circuit 102 to obtain pixel data (YUV data) such as luminance information. Is generated and output to the color space conversion circuit 105.
[0069]
"Process 5"
The color space conversion circuit 105 performs color space conversion on the YUV data generated by the inverse DCT conversion circuit 104, generates color information data (RGB image data), and outputs the color information data to the color number reduction circuit 106.
[0070]
"Process 6"
The number-of-colors reduction circuit 106 reduces the number of colors by reducing the gradation of each color of R (red), G (green), and B (blue) to a gradation that matches the performance related to the gradation of the display circuit of its own. I do. At this time, processing is performed using a technique such as an error diffusion method so that the appearance of the image is as different as possible before and after the color number reduction is performed. When these series of processes are completed, the decompressed image data is stored in the final image data memory 109.
[0071]
In this embodiment, the superposition circuit 113 and the image data memory 114 are arranged between the inverse DCT conversion circuit 104 and the color space conversion circuit 105. May be arranged between the color space conversion circuit 105 and the color number reduction circuit 106.
[0072]
Further, in the present embodiment, the portable terminal provided with the color number reduction circuit 106 is exemplified. However, when the image processing device of the present invention is provided in an image display device not provided with the color number reduction circuit 106, the final image The memory 109 may be shared by the image data memory 114.
[0073]
(Second embodiment)
Next, a second embodiment of the present invention will be described with reference to FIG.
[0074]
The image processing apparatus shown in FIG. 5 further includes a header analysis circuit 116 relating to an image size, a storage capacity allocating circuit 117, and an inverse-quantized And an image data memory 108. The image data memory 108 after the inverse quantization has a built-in sign bit memory 112.
[0075]
In the figure, 151 is a signal line of header information relating to the image size, 152 is a signal line of an analysis result relating to the image size of the header analysis circuit 116, 153 is an output of the storage capacity allocating circuit 117, and is an image after inverse quantization. This is bit allocation information of the data memory 108. The compressed image data up to this stage, which has been inversely quantized by the inverse quantization circuit 102, is output to the image data memory 108 after inverse quantization via the signal line 135 and stored.
[0076]
Further, the image processing apparatus shown in FIG. 5 does not include the superposition circuit 113, the image data memory 114 after the inverse DCT transform, and the selector 140 in the image processing apparatus shown in FIG.
[0077]
Next, expansion processing of compressed image data encoded by the frequency division progressive coding will be described. Similar to the first embodiment, description will be made using an example in which bits are divided into four stages in FIGS. 3 and 4A to 4D.
[0078]
"Process 1"
The Huffman decoding circuit 101 analyzes header information which is a profile of the compressed image data stored in the compressed image data memory 107.
[0079]
Subsequently, a header analysis circuit (screen size detection circuit) 116 relating to the image analyzes the image size of the compressed image data stored in the compressed image data memory 107 and detects the screen size of the compressed image data. The storage capacity allocating circuit (bit number calculating circuit) 117 determines bit allocation (number of allocated bits) for each element unit in the compressed image data memory 108 after inverse quantization based on the detected screen size. .
[0080]
For example, assuming that the capacity of the image data memory 108 after inverse quantization is 6 Kbytes (49152 bits = 6 × 1024 × 8 bits), the compressed image size is 96 × 96, and YUV = 4: 2: 0, the necessary pixel data is Y pixels = 96 × 96 = 9216, U and V pixels = 48 × 48 × 2 = 4608. Therefore, the number of allocated bits per element unit in the image data memory 108 is 49152 bits / (9216 + 4608) pixels = 3.56 bits / pixel. Therefore, in this case, the bit allocation per element unit except for the sign bit is two bits (the sign bit is stored in the sign bit memory 112).
[0081]
"Process 2"
The Huffman decoding circuit 101 analyzes the header information of the compressed image data, performs a Huffman decoding process on the compressed image data, outputs the result to the inverse quantization circuit 102, and outputs data relating to the quantization table from the compressed image data. And outputs it to the quantization table creation circuit 103.
[0082]
Thereafter, the first scan component detection circuit 110 uses the compressed image data after the Huffman decoding process, which is the output of the Huffman decoding circuit 101, to detect whether or not the first scan component exists for each element unit. The detection result is stored in the first scan component detection result memory 111 for each element unit.
[0083]
For example, in the case of FIG. 4, as shown in FIG. 4A, in the first stage, the first to 28th pixel data of FIG. 3 correspond to 3 bits, and the 29th to 58th pixel data of FIG. Exist for one bit. That is, in the first stage, the first scan component exists for each element unit in the 1st to 58th pixels in FIG. Therefore, in the first stage, the result information “1” of detecting the first scan component for each element unit is stored in the scan component detection result memory 111 for each element unit for the pixels corresponding to the 1st to 58th pixels. I do. In the second stage shown in FIG. 3B, the first scan component exists in the 59th to 64th pixel data in FIG. 3, so in the second stage, the pixels corresponding to the 59th to 64th pixels are On the other hand, the result information "1" of detecting the first scan component for each element unit is overwritten and stored in the first scan component detection result memory 111. In the third and fourth stages shown in FIGS. 3C and 3D, the first scan component is already detected in all element units, and the first scan component is in all element units. Therefore, the storage content of the first scan component detection result memory 111 is not updated.
[0084]
At the same time, in the element for which it is determined that the first scan component is present in the first scan component detection circuit 110 in each element unit, the code bit of the image data of the element is detected, and the code bit is detected in each element unit. Separately, it is stored in the sign bit memory 112.
[0085]
"Process 3"
In the inverse quantization circuit 102, the quantization table information from the quantization table creation circuit 103, the quantized image data Huffman-decoded by the Huffman decoding circuit 101, the detection result of the first scan component detection result memory 111, and the code Using the code bit information for each element unit of the bit memory 112 and the image data 108 after the inverse quantization, inverse quantization processing of the quantized image data up to this stage is performed, and the inverse DCT transform circuit 104 Output. At this time, of the inversely quantized data, bits other than the sign bit are stored in the inversely quantized image data memory 108 within the number of allocated bits per element unit controlled by the storage capacity allocating circuit 117. I do. At the same time, based on the scan component detection result information for each element in the first scan component detection result memory 111, each element for which the first scan component has been detected by the previous stage is detected by the inverse quantum The dequantized image 135 is stored in the dequantized image data memory 108 within the number of bits per element unit allocated by the storage capacity allocating circuit 117.
[0086]
For example, in the case of FIG. 4, in the first stage shown in FIG. 4A, three bits of code bits of data of each element unit from 1 to 28 in FIG. The sign bit of one bit of the data of each element from the 29th to 58th in FIG. 3 is stored in the sign bit memory 112. In the second stage shown in FIG. 6B, one sign bit of data of each element unit from 59th to 64th in FIG. 3 where the first scan component exists is stored in the sign bit memory 112. In the third stage and the fourth stage shown in FIGS. 9C and 9D, since the scan components have already been detected in all the element units, the storage contents of the sign bit memory 112 are updated. Absent.
[0087]
Further, in the present embodiment, the assignment other than the code bit for each element unit is 2 bits. Therefore, in the first stage shown in FIG. Of the bits, two bits other than the sign bit are stored in the image data memory 108 after the inverse quantization. Since there are no bits other than the sign bit in the 29th to 58th element units in FIG. 3, the bits are not stored in the image data memory 108 after the inverse quantization. In the second stage shown in FIG. 4B, the previously stored bits correspond to two bits up to the 1st to 28th positions in FIG. 3, and the 29th to 58th positions in FIG. One bit is stored in the image data memory 108 after inverse quantization for each element unit. In the third stage shown in FIG. 4C, the previously stored bits correspond to two bits for the 1st to 28th positions in FIG. 3, and the pixel data in the second stage for the 29th to 58th positions in FIG. In addition to the 1 bit, the upper 1 bit of the 4 bits of the pixel data of each element in the third stage is the 59th to 64th of FIG. The upper two bits of the four bits of the pixel data are stored in the image data memory 108 after inverse quantization for each element unit.
[0088]
"Process 4"
In the inverse DCT transform circuit 104, the compressed image data is expanded by performing inverse DCT transform of the image data at this stage, which has been inversely quantized by the inverse quantization circuit 102, to obtain pixel data such as luminance information (YUV data). ).
[0089]
"Process 5"
The color space conversion circuit 105 performs color space conversion on the YUV data generated by the inverse DCT conversion circuit 104, generates color information data (RGB image data), and outputs the color information data to the color number reduction circuit 106.
[0090]
"Process 6"
The number-of-colors reduction circuit 106 reduces the number of colors to a gradation that matches the performance of the display circuit having the R (red), G (green), and B (blue) colors. At this time, processing is performed using a technique such as an error diffusion method so that the appearance of the image is as different as possible before and after the color number reduction is performed. When these series of processes are completed, the decompressed image data is stored in the final image data memory 109.
[0091]
Therefore, in the present embodiment, the screen size of the compressed image data in the compressed image data memory 107 is detected in advance by the header analysis circuit 116, and the storage capacity allocating circuit 117 determines the screen size and the inverse quantum The number of allocated bits of pixel data for each element unit is determined according to the storage capacity of the image data memory 108 after the quantization, and then the compressed image for each element unit is inversely quantized by the inverse quantization circuit 102. The data is stored in the image data memory 108 after the inverse quantization within the number of allocated bits. Accordingly, the capacity distribution of each element unit of the image data memory 108 after the inverse quantization becomes appropriate, and even if the image data memory 108 has a small capacity, regardless of the screen size of the compressed image data, The entire screen can be displayed well with a uniform resolution.
[0092]
(Third embodiment)
Next, an image processing apparatus according to a third embodiment of the present invention will be described.
[0093]
FIG. 6 shows an image processing apparatus according to the present embodiment, which has two processors 201 and 202. The overall configuration of this image processing apparatus is the same as the configuration shown in FIG.
[0094]
The first processor 201 includes a Huffman decoding circuit 101, an inverse quantization circuit 102, a quantization table creation circuit 103, an inverse DCT transformation circuit 104, a first scan component detection circuit 110 for each element unit, and a first And a DSP for performing digital signal processing at high speed, having a scan component detection result memory 111 and a code bit memory 112 for each element unit.
[0095]
On the other hand, the second processor 202 converts the decompressed image data after superimposition up to the previous stage into a color space conversion circuit 105, a color number reduction circuit 106, a compressed image data memory 107, a final image data memory 109, a superimposition circuit 113. It is realized by a CPU having an image data memory 114 for storing and a selector 115 and performing general-purpose processing.
[0096]
In the present embodiment, specifically, the scan component detection result memory 111 and the code bit memory 112 need to be controlled by the first processor 201 that processes digital signal processing at high speed and operate at high speed. Since each of the memories 111 and 112 is constituted by a 1-bit memory for each element unit, it is extremely small as compared with a conventional image data memory constituted by a plurality of bits (for example, 8 bits) for each element unit. Can be capacity. In addition, since the image data memory 114 after the inverse DCT conversion is controlled by the CPU 202 that performs general-purpose processing and does not need to operate at a high speed, it can be obtained at a low price even with a large capacity.
[0097]
(Fourth embodiment)
Next, an image processing apparatus according to a fourth embodiment of the present invention will be described.
[0098]
FIG. 7 illustrates an image processing apparatus according to the present embodiment, which includes two processors 201 and 202. The overall configuration of this image processing apparatus is the same as the configuration shown in FIG.
[0099]
The first processor 201 includes a Huffman decoding circuit 101, an inverse quantization circuit 102, a quantization table creation circuit 103, an inverse DCT conversion circuit 104, a first scan component detection circuit 110 for each element unit, and a first , A scan component detection result memory 111, a code bit memory 112 for each element unit, an image data memory 108 after inverse quantization, a header analysis circuit 116, and a storage capacity allocating circuit 117. This is realized by the DSP performed in the above.
[0100]
On the other hand, the second processor 202 includes a color space conversion circuit 105, a color number reduction circuit 106, a compressed image data memory 107, and a final image data memory 107, and is realized by a CPU that performs general-purpose processing.
[0101]
Therefore, in the present embodiment, the inversely quantized image data memory 108 including the sign bit memory 112 is controlled by the first processor 201 that performs digital signal processing at high speed, and needs to operate at high speed. Since the image data memory 308 including the bit memory 112 is composed of small bits (3 bits) for each element unit, the conventional image data memory 308 shown in FIG. 8 is composed of multiple bits (8 bits) for each element unit. Memory capacity used by a processor that performs digital signal processing at high speed can be reduced as compared to the case where
[0102]
【The invention's effect】
As described above, according to the image processing apparatus and the image processing method according to the first to fourth and seventh aspects of the present invention, only a scan component detection result memory and a sign bit memory are provided as memories, Since the compressed image data of the current stage is correctly converted into the dequantized data of the current stage, and after the inverse DCT conversion, the compressed image data of the current stage is superimposed on the compressed image data of the previous stage. By eliminating the need for a large-capacity memory for storing all of the dequantized image data for one screen, the capacity of the memory used by the digital signal processing circuit can be significantly reduced.
[0103]
Further, according to the image processing apparatus and the image processing method of the invention according to claims 5, 6 and 8, the screen size is detected in advance from the compressed image data, and each element unit of the image data memory is detected in accordance with the screen size. Since the number of bits allocated to the compressed image data memory after inverse quantization is appropriately determined, the compressed image data memory after inverse quantization is limited to a small capacity by appropriately allocating the capacity of each element unit. Regardless of the screen size of the data, the entire screen can be favorably displayed with a uniform resolution suitable for a small image display circuit of a mobile phone or a portable information terminal.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a diagram showing a data configuration of each element constituting compressed image data.
FIG. 3 is a diagram showing a compression order of compressed image data.
4A is a diagram showing the number of divided bits in pixel units in the first stage of compressed image data, FIG. 4B is a diagram showing the number of divided bits in the second stage, and FIG. 4C is a diagram showing the third stage FIG. 7D is a diagram showing the number of divided bits in the fourth stage.
FIG. 5 is a block diagram illustrating an image processing apparatus according to a second embodiment of the present invention.
FIG. 6 is a block diagram illustrating an image processing apparatus according to a third embodiment of the present invention.
FIG. 7 is a block diagram illustrating an image processing apparatus according to a fourth embodiment of the present invention.
FIG. 8 is a block diagram illustrating a conventional image processing apparatus.
[Explanation of symbols]
101 Huffman decoding circuit
102 Inverse quantization circuit
103 Quantization table creation circuit
104 inverse DCT transformation circuit (decompression processing circuit)
105 Color space conversion circuit
106 color number reduction circuit
107 Compressed image data memory
108 Image data memory after inverse quantization
109 Final image data memory
110 scan component detection circuit
111 Scan component detection result memory
112 Sign bit memory
113 Superposition circuit
114 Image Data Memory
115 selector
116 Header Analysis Circuit (Screen Size Detection Circuit)
117 Storage capacity allocation circuit (bit number calculation circuit)
201 DSP (first processor)
202 CPU (second processor)

Claims (8)

周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理装置であって、
前記圧縮画像データの各要素単位別に最初のスキャン成分を検出するスキャン成分検出回路と、
前記スキャン成分検出回路により各要素単位別に最初のスキャン成分が検出されたことを記憶するスキャン成分検出結果メモリと、
前記スキャン成分検出回路の検出結果に基づいて、前記圧縮画像データの各要素単位別に符号ビットを記憶する符号ビットメモリと、
前記スキャン成分検出結果メモリ及び前記符号ビットメモリの出力に基づいて、各要素単位別に圧縮画像データを逆量子化する逆量子化回路と、
前記逆量子化回路により得られた各分割ビットに対応した段階の圧縮画像データを伸張する伸張処理回路と、
重ね合せ回路と、
画像データメモリとを備え、
前記重ね合せ回路は、前記画像データメモリに記憶されたデータと、前記伸張処理回路により伸張された今段階の画像データとを重ね合せ、
前記画像データメモリは、前記重ね合せ回路により重ね合された画像データを記憶する
ことを特徴とする画像処理装置。
An image processing apparatus that expands compressed image data that is encoded by frequency division type progressive encoding and divided into a plurality of bits for each element unit and sequentially transferred for each divided bit,
A scan component detection circuit that detects a first scan component for each element unit of the compressed image data,
A scan component detection result memory that stores that a first scan component is detected for each element unit by the scan component detection circuit;
A code bit memory that stores a code bit for each element unit of the compressed image data based on a detection result of the scan component detection circuit;
An inverse quantization circuit that inversely quantizes the compressed image data for each element based on the output of the scan component detection result memory and the sign bit memory;
A decompression processing circuit for decompressing the compressed image data at the stage corresponding to each divided bit obtained by the inverse quantization circuit,
A superposition circuit;
With an image data memory,
The superimposing circuit superimposes the data stored in the image data memory and the current stage image data expanded by the expansion processing circuit,
The image processing apparatus according to claim 1, wherein the image data memory stores the image data superimposed by the superimposing circuit.
前記請求項1記載の画像処理装置において、
第1及び第2のプロセッサを備え、
前記第1のプロセッサは、前記スキャン成分検出回路、前記スキャン成分検出結果メモリ、前記符号ビットメモリ、前記逆量子化回路及び前記伸張処理回路を有し、
前記第2のプロセッサは、前記重ね合せ回路及び前記画像データメモリを有する
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1,
Comprising first and second processors,
The first processor includes the scan component detection circuit, the scan component detection result memory, the sign bit memory, the inverse quantization circuit, and the decompression processing circuit,
The image processor according to claim 2, wherein the second processor includes the superimposing circuit and the image data memory.
前記請求項1記載の画像処理装置において、
前記伸張処理回路により伸張された圧縮画像データについて色空間変換を行って色情報データを得る色空間変換回路と、
前記色空間変換回路により得られた色情報データの階調を下げて色数を削減する色数削減回路とを備え、
前記重ね合せ回路及び画像データメモリは、前記色空間変換回路と色数削減回路との間に配置される
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1,
A color space conversion circuit that performs color space conversion on the compressed image data expanded by the expansion processing circuit to obtain color information data,
A color number reduction circuit that reduces the number of colors by lowering the gradation of the color information data obtained by the color space conversion circuit,
The image processing apparatus according to claim 1, wherein the superposition circuit and the image data memory are arranged between the color space conversion circuit and the color number reduction circuit.
前記請求項3記載の画像処理装置において、
この画像処理装置は、携帯電話及び携帯情報端末を含む携帯端末に備えられる
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 3, wherein
The image processing apparatus is provided in a mobile terminal including a mobile phone and a mobile information terminal.
周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理装置であって、
前記圧縮画像データのヘッダー情報を解析して、この圧縮画像データの画面サイズを検出する画面サイズ検出回路と、
所定記憶容量を持つ画像データメモリと、
前記画面サイズ検出回路により検出された画面サイズ及び前記画像データメモリの記憶容量に基づいて、前記圧縮画像データの各要素単位に割り当てられるビット数を算出するビット数算出回路と、
前記圧縮画像データの各要素単位別に最初のスキャン成分を検出するスキャン成分検出回路と、
前記スキャン成分検出回路により各要素単位別に最初のスキャン成分が検出されたことを記憶するスキャン成分検出結果メモリと、
前記スキャン成分検出結果メモリ及び前記画像データメモリの出力に基づいて、各要素単位別に圧縮画像データを逆量子化し、この逆量子化された圧縮画像データのうち前記ビット数算出回路により各要素単位に割り当てられたビット数分以内の圧縮画像データを前記画像データメモリに記憶させる逆量子化回路と、
前記逆量子化回路により得られた圧縮画像データを伸張する伸張処理回路と
を備えたことを特徴とする画像処理装置。
An image processing apparatus that expands compressed image data that is encoded by frequency division type progressive encoding and divided into a plurality of bits for each element unit and sequentially transferred for each divided bit,
A screen size detection circuit that analyzes header information of the compressed image data and detects a screen size of the compressed image data;
An image data memory having a predetermined storage capacity;
A bit number calculation circuit that calculates the number of bits allocated to each element of the compressed image data based on the screen size detected by the screen size detection circuit and the storage capacity of the image data memory;
A scan component detection circuit that detects a first scan component for each element unit of the compressed image data,
A scan component detection result memory that stores that a first scan component is detected for each element unit by the scan component detection circuit;
Based on the outputs of the scan component detection result memory and the image data memory, the compressed image data is dequantized for each element unit, and the bit number calculation circuit converts the dequantized compressed image data to each element unit. An inverse quantization circuit for storing compressed image data within the allocated number of bits in the image data memory;
A decompression circuit for decompressing the compressed image data obtained by the inverse quantization circuit.
前記請求項5記載の画像処理装置において、
第1及び第2のプロセッサを備え、
前記第1のプロセッサは、前記画面サイズ検出回路、前記画像データメモリ、前記ビット数算出回路、前記スキャン成分検出回路、前記スキャン成分検出結果メモリ、前記逆量子化回路及び前記伸張処理回路を有する
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 5, wherein
Comprising first and second processors,
The first processor includes the screen size detection circuit, the image data memory, the bit number calculation circuit, the scan component detection circuit, the scan component detection result memory, the inverse quantization circuit, and the decompression processing circuit. An image processing apparatus characterized by the above-mentioned.
周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理方法であって、
前記圧縮画像データの各要素単位別に最初のスキャン成分を検出し、
前記スキャン成分の検出結果に基づいて、各要素単位別に最初のスキャン成分が検出されたことを記憶すると共に、各要素単位別に符号ビットを記憶し、
続いて、前記記憶された各要素単位別の最初のスキャン成分の検出結果及び各要素単位別の符号ビットに基づいて、各要素単位別にその圧縮画像データを逆量子化すると共に、
前記逆量子化により得られた今段階の圧縮画像データを伸張し、
その後、前記伸張された今段階の画像データをその前段階までの画像データと重ね合せる
ことを繰り返す
ことを特徴とする画像処理方法。
An image processing method for decompressing compressed image data encoded by frequency division progressive encoding and divided into a plurality of bits for each element unit and sequentially transferred for each divided bit,
Detecting the first scan component for each element unit of the compressed image data,
Based on the detection result of the scan component, storing that the first scan component was detected for each element unit, and storing a sign bit for each element unit,
Subsequently, based on the stored detection result of the first scan component for each element unit and the code bit for each element unit, the compressed image data is dequantized for each element unit,
Decompress the compressed image data at this stage obtained by the inverse quantization,
Thereafter, superimposing the decompressed image data of the current stage with the image data of the previous stage is repeated.
周波数分割型プログレッシブ符号化により符号化され且つ各要素単位毎に複数にビット分割されて各分割ビット別に順次転送された圧縮画像データを伸張する画像処理方法であって、
前記圧縮画像データのヘッダー情報を解析して、この圧縮画像データの画面サイズを検出すると共に、
この画面サイズ、及び備える画像データメモリの記憶容量に基づいて、前記圧縮画像データの各要素単位に割り当てられるビット数を算出し、
続いて、前記圧縮画像データの各要素単位別に最初のスキャン成分を検出し、
前記スキャン成分の検出結果に基づいて、各要素単位別に最初のスキャン成分が検出されたことを記憶し、
その後、前記記憶されたスキャン成分検出結果、及び画像データメモリに記憶された圧縮画像データに基づいて、各要素単位別にその圧縮画像データを逆量子化し、
この逆量子化された圧縮画像データのうち、各要素単位に割り当てられたビット数分以内の圧縮画像データを前記画像データメモリに記憶すると共に、
前記逆量子化された圧縮画像データを伸張する
ことを繰り返す
ことを特徴とする画像処理方法。
An image processing method for decompressing compressed image data encoded by frequency division progressive encoding and divided into a plurality of bits for each element unit and sequentially transferred for each divided bit,
Analyzing the header information of the compressed image data to detect the screen size of the compressed image data,
Based on this screen size and the storage capacity of the provided image data memory, calculate the number of bits allocated to each element unit of the compressed image data,
Subsequently, the first scan component is detected for each element unit of the compressed image data,
Based on the detection result of the scan component, storing that the first scan component was detected for each element unit,
Thereafter, based on the stored scan component detection result and the compressed image data stored in the image data memory, the compressed image data is inversely quantized for each element unit,
Of the dequantized compressed image data, the compressed image data within the number of bits allocated to each element unit is stored in the image data memory,
An image processing method characterized by repeating expanding the dequantized compressed image data.
JP2003162230A 2003-06-06 2003-06-06 Image processor and image processing method Pending JP2004364114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003162230A JP2004364114A (en) 2003-06-06 2003-06-06 Image processor and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003162230A JP2004364114A (en) 2003-06-06 2003-06-06 Image processor and image processing method

Publications (1)

Publication Number Publication Date
JP2004364114A true JP2004364114A (en) 2004-12-24

Family

ID=34054439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003162230A Pending JP2004364114A (en) 2003-06-06 2003-06-06 Image processor and image processing method

Country Status (1)

Country Link
JP (1) JP2004364114A (en)

Similar Documents

Publication Publication Date Title
JP6703032B2 (en) Backward compatibility extended image format
KR101161900B1 (en) Multi-mode image processing
US20070076971A1 (en) Compression of images for computer graphics
JP2006311474A (en) Apparatus and method for image processing, compression, decompression, transfer, transmission, and reception, and program and display device
US7574056B2 (en) Method for compression and expansion of display data
CN102271251B (en) Lossless image compression method
US20090067733A1 (en) Byte Representation for Enhanced Image Compression
US8600181B2 (en) Method for compressing images and a format for compressed images
US10165278B2 (en) Image compression device, image compression method, image extension device, and image extension method
JP3633860B2 (en) Image processing apparatus and image processing method
JP2004364114A (en) Image processor and image processing method
KR20050088568A (en) Image coding and decoding method
JP4241517B2 (en) Image encoding apparatus and image decoding apparatus
US20220353482A1 (en) Image signal processor, method of operating the image signal processor and image processing system including the image signal processor
JP4364729B2 (en) Image data compression / decompression method and image processing apparatus
JP3375080B2 (en) Image compression method
JP2009111821A (en) Image encoding apparatus, image decoding apparatus, image data processing apparatus, image encoding method, and image decoding method
JP2003134532A (en) Image compression apparatus, image compression method, image expanding apparatus, and program
JP3375079B2 (en) Image compression device
TWI227631B (en) Image processing method and system
JP3375078B2 (en) Image compression device
JP3002619B2 (en) Image processing control device
JPH0946701A (en) Picture data compression/expansion method and picture communication terminal equipment
JPH10257331A (en) Image processor
JP2007219871A (en) Data processing apparatus