JP4092830B2 - Image data compression method - Google Patents

Image data compression method Download PDF

Info

Publication number
JP4092830B2
JP4092830B2 JP32838099A JP32838099A JP4092830B2 JP 4092830 B2 JP4092830 B2 JP 4092830B2 JP 32838099 A JP32838099 A JP 32838099A JP 32838099 A JP32838099 A JP 32838099A JP 4092830 B2 JP4092830 B2 JP 4092830B2
Authority
JP
Japan
Prior art keywords
data
image data
image
bits
bit data
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 - Lifetime
Application number
JP32838099A
Other languages
Japanese (ja)
Other versions
JP2000244744A (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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP32838099A priority Critical patent/JP4092830B2/en
Priority to US09/466,869 priority patent/US6744929B1/en
Publication of JP2000244744A publication Critical patent/JP2000244744A/en
Application granted granted Critical
Publication of JP4092830B2 publication Critical patent/JP4092830B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、画像データ圧縮方法に関し、特に、多数の階調を持つ多値中間調画像データの圧縮/復元に適用して有用な画像データ圧縮方法に関する。
【0002】
【従来の技術】
画像入力機器(例えば、ディジタル・カメラに用いられるCCD)の発達に伴い、画像データの取り込みが高精細に行われるようになった。このように高精細に得られた元データ(RAWデータ)に対しては、パーソナルコンピュータ等でユーザによる画像処理が施され、その後、出力機器(例えば、CRT、プリンタ)で所望の画像データが得られるようになっている。
【0003】
CCDからの信号(信号電荷)で表される画像データは、例えばA/Dコンバータによって、1画素当り10ビット〜12ビットのディジタル信号に変換される。12ビットのディジタル信号に変換された場合、最大階調は、「4096」である。
このように10ビット〜12ビットで高精細に取り込まれた画像データは、1画素当り8ビット程度の画像データに変更され、出力機器で画像の再現が行われる。
【0004】
上記のように取り込み時に1画素当りの画像データのビット数を10ビット〜12ビットで表すのは、取り込み時は、撮影環境が著しく明るい場合から著しく暗い場合まで幅広く変化し、この広い範囲で満遍なく画像データを得る必要があるからである。一方、再現時は、1コマ(画面)内で実際に表される明度差が撮影環境に比べて小さいため、8ビット程度の画像データで1コマ内の画像の明暗を十分に表現できる。
【0005】
ところで、CCDによって取り込まれた画像データは、記憶媒体に記憶され、この記憶媒体から適宜、画像データの読み出しが行われるが、従来は、記憶媒体には1画素当り8ビットに変更された画像データが記憶されていた。
ここで、1画素当り8ビットの画像データをそのまま記憶したのでは、1コマ(1画面)当りのデータ量が膨大となるため、画像データを圧縮処理した後、記憶媒体に記憶するようにしている。
【0006】
一般的な、画像データの圧縮処理としては、元データ(RAWデータ)に対するDPCM処理、ハフマン符号化、算術符号化、これらを適宜用いたJPEGロスレス符号化、Ziv-Lempel法に代表されるユニバーサル符号化等が知られている。
【0007】
【発明が解決しようとする課題】
しかしながら、記憶媒体に1画素当り8ビットの画像データを元データとして記憶したのでは、この1画素当り8ビットの画像データに対してユーザが所望の加工/修正を加える場合、加工/修正後の画像データが1画素当り8ビット以下となって、その画質が低下する。
【0008】
従って、記憶媒体には、CCDにより得られた高精細な画像の元データ(10ビット〜12ビット)を元データとしてそのまま保存しておき、この元データを読み出し、これに対して加工/修正を行うことで、加工/修正後の画像データの画質を高めることができる。
この高精細な元データを記憶媒体に記憶する際にも、上記した圧縮処理(特に、可逆圧縮処理)を施す必要があるが、10ビット〜12ビットの画像データに、8ビットの画像データと同様の圧縮処理を施しても、高い圧縮率を達成することができない。これは、画像データを圧縮する場合(特に、DPCM符号化の場合)、近接する画素間の画素データに相関性があればある程に高い圧縮率が得られるが、例えば、12ビット程度の画像データであれば、画素間の画像データの相関性は、上位の6ビット〜8ビットでは顕著であるが、下位側の3〜4ビットに関しては相関性がほとんどないからである。従って、10ビット〜12ビットの画像データに対して、そのまま可逆圧縮を施しても高い圧縮率は得られず、圧縮後であっても、依然、画像データが大きく、容量の大きな記憶媒体が必要になる。
【0009】
更に、10ビット〜12ビットで表される画像データは、画像データ量が大きい分、記憶媒体から画像データを読み出して再現するのに処理時間が長くなると云う不具合もある。
本発明は、かかる事情に鑑みてなされたもので、その第1の目的は、高精細で取得された画像データを高い圧縮率で圧縮することができる画像データ圧縮方法を提供することである。
【0010】
又、第2の目的は、記憶媒体に記憶された画像データ再現するに当って、データ量が少ない粗い画像を選択的に、高速に再現できる画像データ圧縮方法を提供することである。
【0011】
【課題を解決するための手段】
上記目的を達成するため、請求項1に記載の発明は、画像入力手段(1)によって1画素当り一定ビット数で取得された画像データを、前記一定ビット数の画素毎のデータを上位側の所定ビット数で表される上位側ビットデータと下位側の所定ビット数で表される下位側ビットデータとに分離するステップと、前記上位側ビットデータに可変長符号化を施すステップと、前記下位側ビットデータを複数の画素宛ビットシフト演算にてパッキングするステップと、前記可変長符号化された上位側ビットデータ及び前記パッキングされた下位側ビットデータを個別に管理するための管理データを生成するステップと、前記可変長符号化された上位側ビットデータと前記パッキングされた下位側ビットデータと前記生成された管理データとを記憶媒体(2)に記憶するステップとからなり、前記画像入力手段(1)は、画素がマトリックス状に配列された入力手段であり、前記可変長符号化された上位側ビットデータは、少なくとも1行の同一行に含まれる画素毎にブロック化され、前記パッキングされた下位側ビットデータは、少なくとも1行の同一行に含まれる画素毎にブロック化され、前記管理データとして、前記ブロック化された上位側ビットデータ及び前記ブロック化された下位側ビットデータの、各々の記憶位置を示す位置情報が生成され、前記可変長符号化により得られた圧縮後の画像データは、前記管理データのうち前記ブロック化された上位側ビットデータの記憶位置を示す位置情報が、前記可変長符号化された上位側ビットデータよりも先の位置に設けられているようにしたものである。
【0012】
又、請求項2に記載の発明は、請求項1に記載の画像データ圧縮方法において、前記可変長符号化された上位側ビットデータは、1コマ分の画像データの全ての行に含まれる画素毎にブロック化され、前記パッキングされた下位側ビットデータは、1コマ分の画像データの全ての行に含まれる画素毎にブロック化されるようにしたものである。
【0013】
又、請求項3に記載の発明は、請求項1又は請求項2に記載の画像データ圧縮方法において、前記可変長符号化を、ハフマン符号化とDPCM符号化とにより行うようにしたものである。
又、請求項4に記載の発明は、請求項1から請求項3の何れかに記載の画像データ圧縮方法において、前記画素毎のデータの一定ビット数を前記画像入力手段(1)の検出精度に応じた値とし、前記上位側の所定ビット数を近傍の画素との間で相関が生じる傾向の強い上位側のビット数とし、その値を経験則により求めるようにしたものである。
【0014】
又、請求項5に記載の発明は、請求項1から請求項4の何れかに記載の画像データ圧縮方法において、前記画像入力手段(1)によって取得された1画素当りの一定ビット数が、12ビット以上であるようにしたものである。
【0015】
(作用)
発明によれば、高精細に得られた画像データについて、近傍画素との相関性の高い上位側ビットデータに関しては高い圧縮での可変長符号化が可能になり、相関性が低くなる下位側ビットデータに関してはビットシフト、パッキング処理を高速化で行なうことができる。又、管理情報を記憶しておくことで、所望の画像データの高速のアクセスが可能になり、復元処理の高速化が図れる。
【0016】
又、発明によれば、上位側ビットデータと下位側ビットデータが、個別に、各行毎にブロック化されるので、特定行の画像データのみを選択的に再現する際の処理の高速化が図れる。この場合、各ブロックの記憶位置を示す位置情報により、高速に画像を再現することができる。
又、発明によれば、相関性の強い上位側ビットデータに関して高い圧縮率での画像データの符号化が可能になる。
【0017】
又、発明によれば、画像入力手段(1)の取り込み精度に応じた高精細な画像データを、圧縮/復元できる。
又、発明によれば、画像入力手段(1)によって得られた高精細な画像データが、上位側ビットデータと下位側ビットデータとに分離され、記憶媒体(2)に記憶されるので、上位側ビットデータのみを選択的に復元して、粗い画像を高速に再現できる。
【0018】
【発明の実施の形態】
(第1の実施の形態)
以下、本発明の第1の実施の形態について、添付図面を参照して説明する。尚、この第1の実施の形態は、請求項1から請求項5に対応する。
200801181359070460______________________11999328380_____APH_0
は、本発明の画像データ圧縮方法が適用される符号化処理装置10の構成を示すブロック図である。
【0019】
符号化処理装置10は、画像入力機器(CCD)1から入力された画像信号を、ディジタル化したのち、DPCM符号化とハフマン符号化とが併用されたJPEGロスレス符号化により、当該画像データを圧縮して記憶媒体2に記憶するものである。ここで、符号化処理装置10は、CCD1と一体に(例えば、ディジタルカメラ内に)設けられる。又、記憶媒体2に記憶された圧縮画像データは、後述するように、パーソナルコンピュータ等の復号化処理装置20(図6)にて復号化され、その後、ユーザによる加工/修正が加えられて、画像が復元される。
【0020】
ここで、符号化処理装置10の入力側に接続されるCCD1は、画素(セル)がm行×n列のマトリックス状に配置され、図2に示すように、その受光面に3色(図示例では、「R」「G」「B」)のカラーフィルタが配置されている。
符号化処理装置10は、前記CCD1からの信号(信号電荷)を4096階調のディジタル信号(12ビット)に変換するA/D変換器11、ディジタル化された信号(元データ)を一時的に記憶する入力データバッファ12、入力データバッファ12に一時的に記憶された信号(元データ)を符号化するCPU13、CPU13が実行するプログラム等を記憶する主メモリ14、CPU13にて符号化された信号(圧縮画像データ)を一時的に記憶し、所定のタイミングで記憶媒体2側に出力し、記憶させるための出力データバッファ15等により構成されている。
【0021】
このうち入力データバッファ12は、CCD1によって得られた画素毎の画素データ(m×n個)を、各行(ライン)毎に記憶するもので、符号化の対象となる1行分のデータ(n個の画素データ)をひとまとめにして記憶する対象ライン用バッファ12A、対象ライン用バッファ12Aからシフトされた1行前のデータを記憶する1ライン前用バッファ12B、1ライン前用バッファ12Bからシフトされた2行前のデータを記憶する2ライン前用バッファ12Cを構成する。
【0022】
又、出力データバッファ15には、アドレスバッファ15A、ハイバッファ15B、ロウバッファ15Cが構成され、このうちアドレスバッファ15Aに後述する「上位側圧縮データブロック位置情報」、ハイバッファ15Bに後述する「上位側圧縮データ」及び「下位側データブロック位置情報」、ロウバッファ15Cに「下位側データ」が、各々、記憶される。
【0023】
次に、符号化処理装置10のCPU13にて実行される、1コマ(画面)分の画像データの符号化処理について、図3のプログラムフローチャートを用いて説明する。
この符号化処理が開始されると(スタート)、先ず、ステップS1において、入力データバッファ12の対象ライン用バッファ12Aに1行毎にn個宛記憶される画素データ(12ビットの元データ)から、注目画素のデータが読み込まれる。
【0024】
ステップS2では、上記読み込まれた注目画素の画素データ(12ビット)が上位の8ビット(上位側ビットデータ)と下位の4ビット(下位側ビットデータ)に分離される。このように12ビットの画素データ(元データ)を上位8ビットと下位4ビットとに分離するのは、12ビットで得られる画像データにおいては、一般に、上位6ビット〜上位8ビットまでのデータに関しては、近傍の他の画像データとの間に高い相関性が見られ、高い圧縮率での符号化が可能であるのに対し、下位4ビットになると他の近傍画素の下位4ビットとの間での相関性が低くなってしまうからである。
【0025】
ステップS3では、8ビットの上位側ビットデータがJPEGロスレス符号化によって符号化され、この符号化された画素データが「上位側圧縮データ」として、ハイバッファ15Bに記憶される。
このステップS3でのJPEGロスレス符号化は、この第1の実施の形態では、DPCM符号化とハフマン符号化によって、概ね、以下の手順に従って行われる。
【0026】
先ず、注目画素の予測値が、近傍の同色カラーフィルタの画素(同色画素)の画素値(上位側ビットデータの値)又は隣接画素の画素値(上位側ビットデータの値)を基に所定の予測式に従って算出される。
ここで、近傍の画素としては、注目画素(例えば、図2のR44)に対して同一ラインの同色画素(2画素前のR42)又は2ライン前の同色画素(R24,R22)、又は隣接画素(G43,B33,G34)のうち最も予測誤差が小さくなる画素値が得られる画素が用いられる。
【0027】
予測値の算出に何れの画素値を用いるか(どの画素値を変数とした予測式を用いるか)は、具体的には、2画素前の画素の近傍の同色画素又は2画素前の隣接画素の上位側ビットデータの、各々の画素値を用いた複数の予測式にて、複数の仮の予測値を求め、2画素前の画素値と上記複数の仮の予測値とを各々比較し、その予測誤差が最も小さくなる予測式(最適予測式)を記憶しておく。そして、2画素前に記憶された最適予測式を用いて、今回ループでの注目画素の予測値を算出する。
【0028】
このようにして算出された上位側ビットデータの予測値は、前記ステップS2で分離された上位側ビットデータ(8ビット)の画素値と比較されてその予測誤差Δが求められる(DPCM符号化)。そして、この予測誤差Δについて、その発生分布に従ったハフマン符号化が行われて上位側ビットデータが符号化される(可変長符号化)。
【0029】
ここで、予測値の算出に当り、同色画素として、同一行の同色画素と2行前の同色画素の画素値を用いた予測式が用いられるが、これは、図2に示すように、3原色CCDの場合、R、Bについては、同じ色成分のカラーフィルタが配置されている画素は、1行(1ライン前)には存在せず、2行前に同色の近傍画素が存在するからである。
【0030】
このようにステップS3で上位側ビットデータの符号化が行われると、次のステップS4で、注目画素の下位側4ビットが、隣接する画素(図2に示す例では異なる色成分の画素)の下位側ビットデータと合成され、全体として8ビットのデータとして処理される。
即ち、マトリックス状に配置された画素(図2)のうち同一行に含まれる画素(n個)について、最端の位置(図2の1行目では、B11)から奇数番目にあるか偶数番目にあるかが判別され、奇数番目(B11,B13,B15)であれば、下位側4ビットデータがロウバッファ15C(8ビット)の上位4ビットにシフトされて記憶され、偶数番目(G12,G14)であれば、下位側ビットデータがそのままロウバッファ15Cの下位4ビットに記憶される。この結果、ロウバッファ15Cでは、1バイト(8ビット)のうち上位4ビットに奇数番目(B11,B13,B15)の下位側ビットデータ(4ビット)が記憶され、ロウバッファ15Cの下位4ビットに偶数番目の下位側ビットデータ(4ビット)が記憶される(ビットシフト処理、パッキング処理)。
【0031】
ステップS5では、上記したステップS1〜ステップS4の処理が1行分、即ち、今回対象となっている1行に含まれるn個の画素の全てについて行われたか否かが判別され、1行分の処理が終了した時点で(判別結果が“Yes”)、次のステップS6に進む。
ステップS6では、1行分(n個の画素)について得られた上位側圧縮データが上位側圧縮データブロックとして結合され、同様に、下位側データが下位側データブロックとして結合される(ブロック化)。
【0032】
ステップS7では、上位側圧縮データブロックの先頭位置に、同じ行の下位側データブロックの位置情報が付加される。
ステップS8では、アドレスバッファ15Aに、各行の上位側圧縮データブロックの先頭位置を示す位置情報が付加される。
このようにして、アドレスバッファ15Aに記憶された上位側圧縮データブロックの位置情報、下位側データブロックの位置情報が付加された1行分の上位側圧縮データ、下位側データは、記憶媒体2に所定のタイミングで記憶される。
【0033】
今回対象となっている1行分の画像データの符号化が終了すると、次のステップS9では、上記したステップS1〜ステップS8の処理が、1コマ(1画面)を構成するm行全てについて行われたか否かが判別される。未だ、1コマ分の処理(m行の処理)が終了していない場合には、ステップS9の判別結果が“No”となって、上記したステップS1〜ステップS8が繰り返し実行される。
【0034】
一方、ステップS9の判別結果が“Yes”のとき、即ち、1コマの全ての行(m行)についての処理が終了したときには、そのまま本プログラムを終了する。
図4に、記憶媒体2に記憶された符号化後の画像データ(1コマ分)のデータフォーマットを示す。
【0035】
この図に示すように、1コマ分の画像データは、その最先位置に1コマ分(m行分)の上位側圧縮データブロック位置情報が記憶され、その後に、各行毎の画像データブロックが1行目からm行目まで繰り返しパターンで記憶されている。各行の画像データブロックには、その先頭位置に1行分の下位側データブロック位置情報が、各々付加され、これに続いて1行分の上位側圧縮データブロック、1行分の下位側データブロックが順次記憶されている。
【0036】
ここで、1コマ分の画像データの最先位置に設けられた上位側圧縮データブロック位置情報は、1コマ分(m行分)の画像データの各行の画像データブロックの位置情報(図4中↓で示す上位側圧縮データ位置の情報)を示すものである。又、各行の画像データブロックの先頭位置に設けられた下位側データブロック位置情報は、各行の画像データブロック内での下位側データブロックの位置情報(図4中↑で示す位置の情報)を示すものである。
【0037】
具体的には、図4に一部を拡大して示すように(図には2行目の画像データブロックが拡大されている)、2行目の下位側データブロック位置情報に続く上位側圧縮データブロックには、2行目に含まれる画素全て(n画素分)の上位側圧縮データがブロック化されている。又、2画素宛パッキングされて1バイトで表される下位側データ(8ビット)は、1行分(n画素分)が下位側データブロックとしてブロック化される。
【0038】
上記のように1コマ分の画像データの最先位置には上位側圧縮データブロック位置情報が記憶され、これによって、1コマの画像のうち特定の行の上位側圧縮データを、ランダムに読み出すことが可能になる。ここで、上位側圧縮データブロックの位置を示す上位側圧縮データブロック位置は、同時に、各行の画像データブロックの位置を示すことになる。従って、特定の行の上位側圧縮データと下位側データを、共にランダムに読み出すことも可能である。
【0039】
又、上記のように各行の画像データブロックの先頭位置に下位側データブロック位置情報を付加しておくのは、上記したように上位側圧縮データブロックの長さが、JPEGロスレス符号化により可変長符号化されて行毎にそのデータ長が異なるからである。
図5は、上位側圧縮データブロックと下位側データブロックとを記憶媒体2に記憶する際の、他のデータフォーマット例を示すものである。
【0040】
この図に示すデータフォーマットでは、1コマ分の画像データを圧縮して記憶するに当って、その最先位置に、上位側圧縮データブロック位置情報、下位側データブロック位置情報を、各行毎に、交互に記憶している点が、図4に示すデータフォーマットと異なっている。そのため、第2のデータフォーマット例においては、上位側圧縮データブロック位置情報に基づいた特定行の上位側圧縮データのランダムな読み出し、及び、上位側圧縮データブロック位置情報に基づいた特定行の上位側圧縮データと下位側データとを共にランダムに読み出すことが可能になるのに加えて、下位側位置データに基づいた特定行の下位側データのランダムな読み出しを行うことが可能となる。
【0041】
次に、上記手順に従って符号化された圧縮画像データの復号化について説明する。
図6は、記憶媒体2に記憶されている圧縮画像データを復号化するための復号化処理装置20を示すブロック図である。
復号化処理装置20は、記憶媒体2からの圧縮画像データを復号化すると共に復号化した画像データ(12ビットの元データ)を、画像加工/修正装置(パーソナルコンピュータ)30に出力するもので、記憶媒体2から圧縮画像データを読み込む入力データバッファ21、記憶媒体2からの圧縮画像データを復元するCPU22、復元された画像データ(元データ)を各行毎に一時的に記憶すると共に出力する復元データバッファ23、CPU22が実行するプログラム等が記憶されている主メモリ24とによって構成されている。
【0042】
又、復号化処理装置20には、その復元データバッファ23に画像加工/修正装置30が接続されている。この画像加工/修正装置30は、外部から入力された加工/修正情報(ユーザのキーボード操作等で入力された情報)に基づいて、復元された画像データ(12ビットの元データ)に加工/修正を施すものである。加工/修正された後の画像データ(例えば、8ビットの画像データ)は、画像出力機器(例えば、CRT、プリンタ)40に出力され、所望の画像が得られるようになっている。尚、前述した復号化処理装置10がディジタルカメラに用いられる場合には、この復号化処理装置20、画像加工/修正装置30は、主としてパーソナルコンピュータによって構成される。
【0043】
ここで、復号化処理装置20の入力データバッファ21は、アドレスバッファ21A、ハイバッファ21B、ロウバッファ21Cを構成している。そして、アドレスバッファ21Aに記憶媒体2からの「上位側圧縮データブロック位置情報」が一時的に記憶され、記憶媒体2からの「上位側圧縮データ」及び「下位側データブロック位置情報」がハイバッファ21Bに一時的に記憶される。又、ロウバッファ21Cに記憶媒体2からの「下位側データ」が一時的に記憶される。
【0044】
又、復号化処理装置20の復元データバッファ23は、対象ライン用バッファ23A、1ライン前用バッファ23B、2ライン前用バッファ23Cを構成している。そして、対象ライン用バッファ23Cに、今回の復元対象となっている行(復元対象ライン)の復元された画像データ(12ビットの元データ)が一時的に記憶される。1ライン前用バッファ23Bには対象ライン用バッファ23Aからシフトされた1行前の画像データ(12ビットの元データ)が一時的に記憶され、2ライン前用バッファ23Cには1ライン前用バッファ23Bからシフトされた2行前の画像データ(12ビットの元データ)が一時的に記憶される。
【0045】
図7は、上記した復号化処理装置20のCPU22にて実行される画像復号化処理を示すプログラムフローチャートである。
この画像復号化処理のプログラムが開始されると、先ず、ステップS21において、記憶媒体2から入力データバッファ21に取り込まれた位置情報(上位側圧縮データブロック位置情報、下位側データブロック位置情報)が、CPU22に読み込まれる。
【0046】
ステップS22では、読み込まれた上位側圧縮データブロック位置情報(図4の↓の位置を示す情報)に基づいて、今回ループで対象となっている行(1行分)の画像データブロック内の全てのデータの読み込みが行われる。
ステップS23では、ステップS21で読み込まれた下位側データブロック位置情報(図4の↑の位置を示す情報)に基づいて、ステップS22で読み込まれたデータを、上位側圧縮データブロックと下位側データブロックとに分離する処理が行われる。
【0047】
ステップS24では、上記分離された上位側圧縮データブロックに記憶されている上位側圧縮データに対して、周知のJPEGロスレス復号化が行われる。このJPEGロスレス復号化は、前述した画像符号化処理(図3)のステップS3で施された符号化の手順の逆の手順で行われる。
即ち、注目画素の上位側ビットデータ(8ビット)を復号化する場合には、先ず、2ループ前で復号化されている2画素前(同色画素)の画素値を求める。次いで、この2画素前の同色画素の仮の予測値を、その近傍の同色画素の画素、又は隣接画素の画素値を用いた複数の予測式に基づいて、複数求める。そして、2画素前の画素値とこれら仮の予測値とを各々比較してその予測誤差Δを求め、これが最小となる予測式(最適予測式)を決定する。最後に、この最適予測式を用いて、今回ループでの注目画素の予測値を求め、記憶されている予測誤差Δとこの予測値から、注目画素の上位ビットデータ(8ビット)の復号を行う。
【0048】
ステップS25では、前述した画像符号化処理(図3)のステップS4でパッキングされた下位側データ(2画素分が8ビットで表されている。)を、その上位4ビットを奇数番目の画像データ(下位側ビットデータ)として、下位4ビットを偶数番目の画像データ(下位側ビットデータ)として、復元する。
【0049】
ステップS26では、上記ステップS24で復元された上位側ビットデータ(8ビット)と、上記ステップS25で復元された下位側ビットデータ(4ビット)とによって、12ビットの画像データ(元データ)を得る。
ステップS27では、上記したステップS24〜ステップS26の処理が1行分、即ち、同一行に含まれるn個の画素について全て行われたか否かが判別され、1行分の復号処理が終了した時点で、次のステップS28に進む。
【0050】
ステップS28では、上記したステップS22〜ステップS27の処理が、1コマ(1画面)を構成する全ての行(m行)について行われたか否かが判別され、未だ、1コマ分の処理が終了していない場合には、上記したステップS22に戻り、処理を繰り返す。1コマの全ての行(m行)についての処理が終了したときには(ステップS28の判別結果が“Yes”)、そのまま本プログラムを終了する(エンド)。
【0051】
以上説明したように、この第1の実施の形態の画像データの符号化方法及び復号化方法によれば、CCD1によって高精細で取得された画像データ(12ビットの画像データ)について、相関性の高い上位側ビットデータ(8ビット)に対してはJPEGロスレス符号化により高い圧縮率で圧縮し、相関性の低い下位側ビットデータ(4ビット)に関しては処理速度を高めるべく、ビットシフト、パッキング処理を施すようにしているので、12ビットの画像データ(元データ)全体として、高い圧縮率を確保しつつ、符号化処理の速度を速めることができる。
【0052】
尚、符号化された画像データに関して、上位側圧縮データのみ復号することにより、粗い画像を高速に再現することができる。又、このとき上位側圧縮データブロック位置情報が、1コマ分の圧縮画像データの最先位置に記憶されており、上位側圧縮データブロック位置(図4の↓で示す位置)を即座に認識できるため、粗い画像の再現が容易、且つ高速に行われる。又、m行の中から特定の行を選択して、部分的に画像を、高速に再現することもできる。
又、この第1の実施の形態では、処理を効率よく行うために、ステップS27の判別結果が“No”であるうちはステップS24に戻って、ステップS28の判別結果が“No”であるうちはステップS22に戻って、処理を繰り返すようにしているが、図8に示すように、ステップS27の判別結果が“No”であるとき、又は、ステップS28の判別結果が“No”であるときに、ステップS21の位置情報の読み込みから、その処理を繰り返すようにしてもよい。
【0053】
(第2の実施の形態)
次に、本発明の第2の実施の形態について、図9、図10を用いて説明する。尚、この第2の実施の形態も、請求項1から請求項5に対応する。
この第2の実施の形態は、上位側圧縮データブロックと下位側データブロックとを記憶媒体2に記憶するに当って、1コマ分の画像データについて、全ての行(m行)の上位側圧縮データブロックと、全ての行(m行)の下位側データブロックとを、分離して記憶するものである。
【0054】
この場合のデータフォーマットを図9に示す。尚、この第2の実施の形態を実現するための符号化処理装置及び復号化処理装置の構成は、前述した第1の実施の形態の符号化処理装置10(図1)、復号化処理装置20(図6)と同一の装置で行われ、その説明は省略する。
又、上位側ビットデータの符号化(JPEGロスレス符号化)については、図3に示す画像符号化処理のステップS6〜ステップS9で行われる記憶媒体2への記憶の手順が異なるのみである。即ち、この第2の実施の形態では、図9に示すように、上位側圧縮データブロック位置情報、下位側データブロック位置情報を共に1コマ分の画像データの最先位置に記憶し、その後に、m行分まとめて上位側データブロックを記憶し、次いでm行分まとめて下位側データブロックを記憶している。
【0055】
このように、m行分の上位側データブロックをまとめ、m行分の下位側データブロックをまとめ、分離した状態で記憶媒体2に記憶することで、画像データの再現時に、例えば、上位側8ビットのデータのみ復号化して出力する場合(8ビットの粗い画像のみを再現する場合)、最先位置に記憶された上位側圧縮データブロック位置情報に基づいて上位側圧縮データのみを復号すればよく、処理速度が高められる。
【0056】
又、第2の実施の形態における圧縮画像のデータフォーマットにおいては、上位側圧縮データブロック位置情報及び下位側データブロック位置情報の各々がまとめて記憶される。又、上位側圧縮データと下位側データの各々がまとめられて記憶される。そのため、各位置情報に基づいて、1画面に含まれる全ての上位側圧縮データ或いは全ての下位側データの読み出しを高速に行うことが可能になる。
【0057】
以下、上位側圧縮データのみを復号化して、粗い画像(上位8ビット)を高速に再現する場合の手順について、図10に示すプログラムフローチャートに従って説明する。尚、このプログラムは、復号化処理装置20(図6)のCPU22において実行される。
先ず、ステップS31では、上位側データブロック位置情報の読み込みが行われる。
【0058】
ステップS32では、上位側データブロック位置情報を用いて1行分の上位側圧縮データブロック内のデータ(上位側圧縮データ)の読み込みが行われる。
ステップS33では、符号化処理において実行されるJPEGロスレス符号化とは逆の手順によるJPEGロスレス復号化により、上記読み込まれた上位側圧縮データの1画素分の復号化が行われる。このステップS33での復号化は、図7のステップS24と同一の手順で行われる。
【0059】
ステップS34では、上記したステップS33の処理が1行分、即ち、同一行に含まれるn個の画素について行われたか否かが判別され、1行分の処理が終了した時点で、次のステップS35に進む。
ステップS35では、上記したステップS32〜ステップS33の処理が1コマ(1画面)を構成する全ての行(m行)について行われたか否かが判別され、未だ、1コマ分の処理が終了していない場合には、上記したステップS32に戻り、処理を繰り返す。
【0060】
一方、ステップS35において、1コマの全てのラインについての復号化処理が終了したと判別されたときには、そのまま本プログラムを終了する(エンド)。
以上説明した第2の実施の形態によれば、1画素当り12ビットで表される高精細な元データ(RAWデータ)が圧縮して記憶された記憶媒体2から、当該画像データを復元するに当たり、相関性の強い上位8ビットのみを復元することで、粗い画像を高速に再現することができる。
尚、この第2の実施の形態でも、処理を効率よく行うために、ステップS34の判別結果が“No”であるうちはステップS33に戻って、ステップS35の判別結果が“No”であるうちはステップS32に戻って、処理を繰り返すようにしているが、図11に示すように、ステップS34の判別結果が“No”であるとき、又は、ステップS35の判別結果が“No”であるときに、共にステップS31から、その処理を繰り返すようにしてもよい。
【0061】
尚、上記した第1、第2の実施の形態では、共に画像の元データ(RAWデータ)が12ビットの場合について説明したが、12ビットより大きい画像データ、12ビットより小さい画像データの何れであっても、本発明は適用可能であり、この場合にも、高い圧縮率を確保しつつ、処理速度を高めることができる。
又、上記した第1、第2の実施の形態では、12ビットの元データ(RAWデータ)を上位8ビット、下位4ビットに分離する例をあげて説明したが、相関性の強い上位ビット(12ビット画像データであれば、一般に6ビット〜9ビットの範囲であることが経験的に知られている。)であれば、8ビット以外のビット数に設定可能である。この場合、上位何ビットを上位側ビットデータとするかは、1コマ(1画面)毎に決定してもよい。
【0062】
又、上記した第1、第2の実施の形態では、共に、符号化処理装置と復号化処理装置が、別個に構成されている例(例えば、符号化処理装置がディジタルカメラ側、復号化処理装置がパーソナルコンピュータ側)で説明したが、これら2つの装置を1つの装置に内蔵してもよい(例えば、ディジタルカメラ等に双方を内蔵してもよい)。
【0063】
又、上記した第1、第2の実施の形態では、画像データを上位側と下位側に分離する処理、上位側ビットデータのDPCM符号化による符号化処理を、共に、符号化処理装置10内のCPU13で行なう例をあげて説明したが、これに限らず、DPCM符号化による符号化を外付けのチップにまとめられた専用LSIに行わせ、符号化処理装置10内のCPU13に上位側と下位側の分離のみ行わせるようにしてもよい。この場合、外付けの専用LSIには、DPCM符号化に代えてZiv-Lempel等による符号化を行うLSIを使用してもよい。又、復号化に当っては、復号化処理装置20に同様に専用LSIをまとめたチップを外付けし、チップ内の専用LSIで上位側ビットデータのDPCM復号化(又は、Ziv-Lempel等による復号化)を行わせてもよい。この場合には、復号化後の上位側ビットデータと下位側ビットデータの結合を復号化処理装置20のCPU22により行わせればよい。
【0064】
又、上記した第1、第2の実施の形態では、ディジタルカメラ等によって、静止画を取得した場合を想定して説明したが、動画を取得した場合にも、本発明は適用可能である。
【0065】
【発明の効果】
以上説明した発明によれば、高精細に取得された画像データを、近傍画素との間で相関性の高い上位側ビットデータと、相関性の低い下位側ビットデータとに分離して、画像データの符号化を行なうようにしたので、上位側ビットデータに関して圧縮率の高い符号化を施し、下位側ビットデータに関しては処理速度を高めることで、画像データ全体として、高い圧縮率で画像データの符号化を行いつつ、処理速度を高めることができる。又、管理情報により、特定行の画像データを選択的に符号化/復号化する際の処理の高速化が達成される。
【0066】
又、発明によれば、上位側ビットデータと下位側ビットデータが、個別に、各行毎にブロック化されるので、上位側ビットデータを復元することで特定行の画像を選択的に再現する際の処理を、更に高速化できる。
又、発明によれば、相関性の強い上位側ビットデータに関して、高い圧縮率で画像データの圧縮が行われる。
【0067】
又、発明によれば、高精細に取り込まれた画像データを、高精細のまま復元でき、ユーザがこの高精細な画像データに加工/修正を加えることで、加工/修正後の画像データを、出力機器の仕様に応じた画質とすることができる。
又、発明によれば、高精細な画像データの上位側ビットデータのみを選択的に復元することができ、位置情報により、粗い画像を高速に再現でき、更に、特定行の画像のみ部分的に再現する処理の高速化が可能になる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態の符号化処理装置の構成を示すブロック図である。
【図2】画像入力機器2の受光面に配置されたカラーフィルタのレイアウトを示す図である。
【図3】第1の実施の形態の画像符号化処理を示すフローチャートである。
【図4】第1の実施の形態により得られる圧縮画像データのフォーマットの第1の例を示す図である。
【図5】第1の実施の形態により得られる圧縮画像データのフォーマットの第2の例を示す図である。
【図6】本発明の第1の実施の形態の復号化処理装置の構成を示すブロック図である。
【図7】第1の実施の形態の画像復号化処理を示すフローチャートである。
【図8】第1の実施の形態の画像復号化処理の異なる態様を示すフローチャートである。
【図9】第2の実施の形態により得られる圧縮画像データのフォーマットを示す図である。
【図10】第2の実施の形態の画像復号化処理を示すフローチャートである。
【図11】第2の実施の形態の画像復号化処理の異なる態様を示すフローチャートである。
【符号の説明】
1 画像入力機器(CCD)
2 記憶媒体
10 符号化処理装置
12 入力データバッファ
13 CPU
15 出力データバッファ
20 復号化処理装置
21 入力データバッファ
22 CPU
23 復元データバッファ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image data compression method, and is particularly useful when applied to compression / decompression of multilevel halftone image data having a large number of gradations. Image data compression method About.
[0002]
[Prior art]
With the development of image input devices (for example, CCDs used in digital cameras), image data has been captured with high definition. The original data (RAW data) obtained in such a high definition is subjected to image processing by the user with a personal computer or the like, and then desired image data is obtained with an output device (for example, CRT, printer). It is supposed to be.
[0003]
Image data represented by a signal (signal charge) from the CCD is converted into a digital signal of 10 to 12 bits per pixel by, for example, an A / D converter. When converted into a 12-bit digital signal, the maximum gradation is “4096”.
Thus, the image data captured in high definition with 10 to 12 bits is changed to image data of about 8 bits per pixel, and the image is reproduced by the output device.
[0004]
As described above, the number of bits of image data per pixel at the time of capture is represented by 10 to 12 bits. At the time of capture, the shooting environment varies widely from when the shooting environment is extremely bright to when it is extremely dark. This is because it is necessary to obtain image data. On the other hand, at the time of reproduction, the brightness difference actually represented in one frame (screen) is smaller than that in the shooting environment, so that the brightness of the image in one frame can be sufficiently expressed with about 8-bit image data.
[0005]
By the way, the image data captured by the CCD is stored in a storage medium, and the image data is appropriately read out from the storage medium. Conventionally, the image data is changed to 8 bits per pixel in the storage medium. Was remembered.
Here, if 8-bit image data per pixel is stored as it is, the amount of data per frame (one screen) becomes enormous, so that the image data is compressed and stored in a storage medium. Yes.
[0006]
As general image data compression processing, DPCM processing for original data (RAW data), Huffman coding, arithmetic coding, JPEG lossless coding using these as appropriate, universal codes represented by the Ziv-Lempel method Is known.
[0007]
[Problems to be solved by the invention]
However, if image data of 8 bits per pixel is stored as original data in the storage medium, when the user performs desired processing / correction on the image data of 8 bits per pixel, The image data becomes 8 bits or less per pixel, and the image quality deteriorates.
[0008]
Therefore, the original data (10 to 12 bits) of the high-definition image obtained by the CCD is stored in the storage medium as it is, and the original data is read out and processed / modified. By doing so, the image quality of the processed / modified image data can be improved.
When the high-definition original data is stored in the storage medium, it is necessary to perform the above-described compression processing (particularly, lossless compression processing). However, 10-bit to 12-bit image data is converted to 8-bit image data. Even if similar compression processing is performed, a high compression ratio cannot be achieved. This is because when image data is compressed (especially in the case of DPCM coding), the higher the compression rate is, the higher the correlation between pixel data between adjacent pixels is. For example, an image of about 12 bits In the case of data, the correlation of image data between pixels is remarkable in the upper 6 bits to 8 bits, but there is almost no correlation in the lower 3 to 4 bits. Therefore, even if lossless compression is applied to 10-bit to 12-bit image data as it is, a high compression rate cannot be obtained, and even after compression, a storage medium having a large image data and a large capacity is still required. become.
[0009]
Furthermore, the image data represented by 10 to 12 bits has a problem that the processing time is long to read and reproduce the image data from the storage medium because the image data amount is large.
The present invention has been made in view of such circumstances, and a first object thereof is to provide an image data compression method capable of compressing image data acquired with high definition at a high compression rate.
[0010]
The second purpose is image data stored in a storage medium. The When reproducing, a coarse image with a small amount of data can be selectively reproduced at high speed. Image data compression method Is to provide.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, according to the first aspect of the present invention, the image data acquired by the image input means (1) at a constant number of bits per pixel, the data for each pixel of the constant number of bits is transferred to the upper side. Separating the higher-order bit data represented by a predetermined number of bits and the lower-order bit data represented by a lower-order predetermined number of bits; performing variable length encoding on the higher-order bit data; and Packing side bit data by a bit shift operation addressed to a plurality of pixels, and generating management data for individually managing the variable-length-encoded higher-order bit data and the packed lower-order bit data A step, a variable length encoded upper bit data, the packed lower bit data, and the generated management data And storing (2) The image input means (1) is an input means in which pixels are arranged in a matrix, and the variable-length-encoded higher-order bit data is at least for each pixel included in the same row of one row. Blocked and packed lower side bit data is blocked for each pixel included in the same row of at least one row, and as the management data, the upper side bit data and the blocked upper side bit data are blocked. Position information indicating each storage position of the lower-order bit data is generated, and the compressed image data obtained by the variable-length encoding is stored in the management data in the block-order higher-order bit data. Position information indicating the position is provided at a position ahead of the variable-length encoded higher-order bit data. It is what I did.
[0012]
According to a second aspect of the present invention, in the image data compression method according to the first aspect, The variable-length encoded high-order bit data is blocked for each pixel included in all the rows of the image data for one frame, and the packed low-order bit data is the image data for one frame. Blocked for every pixel in every row It is what I did.
[0013]
According to a third aspect of the present invention, in the image data compression method according to the first or second aspect, the variable length coding is performed by Huffman coding and DPCM coding. .
According to a fourth aspect of the present invention, there is provided the image data compression method according to any one of the first to third aspects, wherein a certain number of bits of the data for each pixel is detected by the detection accuracy of the image input means (1). The predetermined number of bits on the upper side is set to the number of upper bits on which there is a strong tendency to generate a correlation with neighboring pixels, and the value is obtained based on empirical rules.
[0014]
The invention according to claim 5 is: 5. The image data compression method according to claim 1, wherein the fixed number of bits per pixel acquired by the image input means (1) is 12 bits or more. It is what I did.
[0015]
(Function)
Book According to the invention, for high-order image data obtained with high definition, high-order bit data having high correlation with neighboring pixels can be variable-length encoded with high compression, and low-order bits that have low correlation. For data, bit shift and packing processing can be performed at high speed. Further, by storing the management information, desired image data can be accessed at high speed, and the restoration process can be speeded up.
[0016]
or, Book According to the invention, the higher-order bit data and the lower-order bit data are individually blocked for each row, so that the processing speed when selectively reproducing only the image data of a specific row can be increased. In this case, the image can be reproduced at high speed by the position information indicating the storage position of each block.
or, Book According to the invention, it is possible to encode image data at a high compression rate with respect to high-order bit data having strong correlation.
[0017]
or, Book According to the invention, high-definition image data corresponding to the capture accuracy of the image input means (1) can be compressed / restored.
or, Book According to the invention, the high-definition image data obtained by the image input means (1) is separated into upper bit data and lower bit data and stored in the storage medium (2). By selectively restoring only the data, a rough image can be reproduced at high speed.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a first embodiment of the invention will be described with reference to the accompanying drawings. The first embodiment corresponds to claims 1 to 5.
200801181359070460______________________11999328380_____APH_0
Of the present invention Image data compression method 1 is a block diagram illustrating a configuration of an encoding processing device 10 to which is applied.
[0019]
The encoding processing apparatus 10 digitizes the image signal input from the image input device (CCD) 1 and then compresses the image data by JPEG lossless encoding in which DPCM encoding and Huffman encoding are used in combination. And stored in the storage medium 2. Here, the encoding processing device 10 is provided integrally with the CCD 1 (for example, in a digital camera). Further, the compressed image data stored in the storage medium 2 is decoded by a decoding processing device 20 (FIG. 6) such as a personal computer, and then processed / modified by the user, as will be described later. The image is restored.
[0020]
Here, the CCD 1 connected to the input side of the encoding processing device 10 has pixels (cells) arranged in a matrix of m rows × n columns, and as shown in FIG. In the illustrated example, color filters “R”, “G”, and “B”) are arranged.
The encoding processing apparatus 10 includes an A / D converter 11 that converts a signal (signal charge) from the CCD 1 into a digital signal (12 bits) of 4096 gradations, and temporarily converts the digitized signal (original data). The input data buffer 12 to be stored, the CPU 13 that encodes the signal (original data) temporarily stored in the input data buffer 12, the main memory 14 that stores the program executed by the CPU 13, and the signal encoded by the CPU 13 (Compressed image data) is temporarily stored, output to the storage medium 2 side at a predetermined timing, and constituted by an output data buffer 15 and the like.
[0021]
Among them, the input data buffer 12 stores pixel data (m × n) for each pixel obtained by the CCD 1 for each row (line), and data for one row (n The target line buffer 12A for storing a plurality of pixel data), the one line previous buffer 12B for storing the previous line data shifted from the target line buffer 12A, and the one line previous buffer 12B. A two-line-before buffer 12C for storing the data two lines before is configured.
[0022]
The output data buffer 15 includes an address buffer 15A, a high buffer 15B, and a row buffer 15C. Among these, the address buffer 15A includes “higher-order compressed data block position information” described later, and the high buffer 15B includes “higher-order” “Side compressed data” and “lower side data block position information”, and “lower side data” are stored in the row buffer 15C, respectively.
[0023]
Next, an image data encoding process for one frame (screen) executed by the CPU 13 of the encoding processing apparatus 10 will be described with reference to a program flowchart of FIG.
When this encoding process is started (start), first, in step S1, from the pixel data (12-bit original data) stored in the target line buffer 12A of the input data buffer 12 for every n rows. , The data of the pixel of interest is read.
[0024]
In step S2, the pixel data (12 bits) of the read target pixel is separated into upper 8 bits (upper bit data) and lower 4 bits (lower bit data). In this way, the 12-bit pixel data (original data) is separated into the upper 8 bits and the lower 4 bits. Generally, in the image data obtained by 12 bits, the upper 6 bits to the upper 8 bits are related. Is highly correlated with other neighboring image data and can be encoded at a high compression rate, whereas when it is in the lower 4 bits, it is between the lower 4 bits of other neighboring pixels. This is because the correlation at the time becomes low.
[0025]
In step S3, 8-bit higher-order bit data is encoded by JPEG lossless encoding, and the encoded pixel data is stored in the high buffer 15B as “upper-side compressed data”.
In this first embodiment, the JPEG lossless encoding in step S3 is generally performed according to the following procedure by DPCM encoding and Huffman encoding.
[0026]
First, a predicted value of a target pixel is determined based on a pixel value (high-order bit data value) of a neighboring pixel (same color pixel) of the same color filter or a neighboring pixel (high-order bit data value). Calculated according to the prediction formula.
Here, as the neighboring pixels, the same color pixels (R42 two pixels before), the same color pixels two lines before (R24, R22), or adjacent pixels with respect to the target pixel (for example, R44 in FIG. 2) Among (G43, B33, G34), a pixel that can obtain a pixel value with the smallest prediction error is used.
[0027]
Which pixel value is used to calculate the predicted value (which prediction value is used as a variable) is specifically the same color pixel in the vicinity of the pixel two pixels before or the adjacent pixel two pixels before A plurality of provisional prediction values in a plurality of prediction formulas using the respective pixel values of the higher-order bit data of each of the two, and comparing the pixel values two pixels before and the plurality of provisional prediction values, respectively, A prediction formula (optimum prediction formula) that minimizes the prediction error is stored. Then, the prediction value of the target pixel in the current loop is calculated using the optimum prediction formula stored two pixels before.
[0028]
The prediction value of the higher-order bit data calculated in this way is compared with the pixel value of the higher-order bit data (8 bits) separated in step S2 to obtain the prediction error Δ (DPCM coding). . Then, the prediction error Δ is subjected to Huffman coding according to the occurrence distribution, and the upper bit data is coded (variable length coding).
[0029]
Here, in the calculation of the predicted value, a prediction formula using the same color pixel of the same row and the pixel value of the same color pixel of the previous row as the same color pixel is used. As shown in FIG. In the case of a primary color CCD, for R and B, pixels in which color filters of the same color component are arranged do not exist in one row (one line before), and neighboring pixels of the same color exist in two rows before. It is.
[0030]
When the upper bit data is encoded in step S3 as described above, in the next step S4, the lower 4 bits of the pixel of interest are adjacent pixels (pixels having different color components in the example shown in FIG. 2). It is combined with the lower bit data and processed as 8-bit data as a whole.
That is, of the pixels arranged in a matrix (FIG. 2), the pixels (n) included in the same row are odd-numbered or even-numbered from the extreme end position (B11 in the first row of FIG. 2). If it is an odd number (B11, B13, B15), the lower 4 bit data is shifted to the upper 4 bits of the row buffer 15C (8 bits) and stored, and the even number (G12, G14) is stored. ), The lower bit data is stored as it is in the lower 4 bits of the row buffer 15C. As a result, in the row buffer 15C, odd-numbered (B11, B13, B15) lower-order bit data (4 bits) is stored in the upper 4 bits of 1 byte (8 bits), and the lower 4 bits of the row buffer 15C. Even-numbered lower-order bit data (4 bits) is stored (bit shift processing and packing processing).
[0031]
In step S5, it is determined whether or not the processing in steps S1 to S4 described above has been performed for one row, that is, whether all n pixels included in the current row are processed. When the above process is completed (the determination result is “Yes”), the process proceeds to the next step S6.
In step S6, the high-order compressed data obtained for one row (n pixels) is combined as a high-order compressed data block, and similarly, the low-order data is combined as a low-order data block (blocking). .
[0032]
In step S7, the position information of the lower data block in the same row is added to the head position of the upper compressed data block.
In step S8, position information indicating the head position of the upper compressed data block in each row is added to the address buffer 15A.
In this way, the upper side compressed data block position information stored in the address buffer 15A, the lower side data block position information to which the upper side compressed data and the lower side data are added are stored in the storage medium 2. It is stored at a predetermined timing.
[0033]
When the encoding of the image data for one line, which is the subject of this time, is completed, in the next step S9, the above-described processing in steps S1 to S8 is performed for all m lines constituting one frame (one screen). It is determined whether or not it has been received. If the processing for one frame (m-line processing) has not been completed yet, the determination result in step S9 is “No”, and the above-described steps S1 to S8 are repeatedly executed.
[0034]
On the other hand, when the determination result of step S9 is “Yes”, that is, when the processing for all the rows (m rows) of one frame is finished, the program is finished as it is.
FIG. 4 shows the data format of the encoded image data (one frame) stored in the storage medium 2.
[0035]
As shown in this figure, the image data for one frame is stored with the upper compressed data block position information for one frame (for m rows) at the earliest position, and thereafter the image data block for each row is stored. It is stored in a repeated pattern from the first line to the m-th line. Each row of image data blocks is appended with one row of lower data block position information at the beginning, followed by one row of upper compressed data blocks and one row of lower data blocks. Are stored sequentially.
[0036]
Here, the higher-order compressed data block position information provided at the earliest position of the image data for one frame is the position information of the image data block in each row of the image data for one frame (for m rows) (in FIG. 4). The information on the upper side compressed data position indicated by ↓). The lower data block position information provided at the head position of the image data block in each row indicates the position information (position information indicated by ↑ in FIG. 4) of the lower data block in the image data block in each row. Is.
[0037]
Specifically, as shown in an enlarged view in FIG. 4 (the image data block in the second row is enlarged in the figure), the upper compressed data following the lower data block position information in the second row In the block, the high-order compressed data of all the pixels included in the second row (for n pixels) is blocked. Further, the lower side data (8 bits) that is packed for two pixels and represented by one byte is divided into one row (n pixels) as a lower side data block.
[0038]
As described above, the high-order compressed data block position information is stored at the earliest position of the image data for one frame, whereby the high-order compressed data of a specific row in one frame image is randomly read out. Is possible. Here, the higher-order compressed data block position indicating the position of the higher-order compressed data block simultaneously indicates the position of the image data block in each row. Therefore, it is also possible to read out both the high-order compressed data and the low-order data in a specific row at random.
[0039]
Also, as described above, the lower data block position information is added to the head position of the image data block in each row because the length of the upper compressed data block is variable by JPEG lossless encoding as described above. This is because the data length is different for each row after encoding.
FIG. 5 shows another data format example when the upper compressed data block and the lower data block are stored in the storage medium 2.
[0040]
In the data format shown in this figure, when compressing and storing image data for one frame, the upper side compressed data block position information and the lower side data block position information are stored for each row at the earliest position. The data format is different from the data format shown in FIG. Therefore, in the second data format example, random reading of higher-order compressed data of a specific row based on higher-order compressed data block position information, and higher-order side of a specific row based on higher-order compressed data block position information In addition to being able to read out both the compressed data and the lower-order data at random, it is possible to read out the lower-order data in a specific row based on the lower-order position data at random.
[0041]
Next, decoding of compressed image data encoded according to the above procedure will be described.
FIG. 6 is a block diagram showing a decoding processing device 20 for decoding the compressed image data stored in the storage medium 2.
The decoding processing device 20 decodes the compressed image data from the storage medium 2 and outputs the decoded image data (12-bit original data) to an image processing / correction device (personal computer) 30. An input data buffer 21 that reads compressed image data from the storage medium 2, a CPU 22 that restores compressed image data from the storage medium 2, and restored data that temporarily stores and outputs the restored image data (original data) for each row. The buffer 23 and the main memory 24 in which programs executed by the CPU 22 are stored.
[0042]
In addition, an image processing / correcting device 30 is connected to the restored data buffer 23 of the decoding processing device 20. This image processing / correction device 30 processes / corrects image data (12-bit original data) restored based on externally input processing / correction information (information input by a user's keyboard operation or the like). Is to be applied. The processed / corrected image data (for example, 8-bit image data) is output to an image output device (for example, CRT, printer) 40 so that a desired image can be obtained. When the above-described decoding processing apparatus 10 is used in a digital camera, the decoding processing apparatus 20 and the image processing / correction apparatus 30 are mainly configured by a personal computer.
[0043]
Here, the input data buffer 21 of the decoding processing device 20 constitutes an address buffer 21A, a high buffer 21B, and a row buffer 21C. Then, “upper compressed data block position information” from the storage medium 2 is temporarily stored in the address buffer 21A, and “upper compressed data” and “lower data block position information” from the storage medium 2 are stored in the high buffer. 21B is temporarily stored. In addition, the “lower data” from the storage medium 2 is temporarily stored in the row buffer 21C.
[0044]
Further, the restoration data buffer 23 of the decoding processing device 20 constitutes a target line buffer 23A, a one-line front buffer 23B, and a two-line front buffer 23C. Then, the restored image data (12-bit original data) of the current restoration target line (restoration target line) is temporarily stored in the target line buffer 23C. The previous line image data (12-bit original data) shifted from the target line buffer 23A is temporarily stored in the previous line buffer 23B, and the previous line buffer 23C is stored in the previous line buffer 23C. Image data (12-bit original data) two rows before shifted from 23B is temporarily stored.
[0045]
FIG. 7 is a program flowchart showing an image decoding process executed by the CPU 22 of the decoding processing apparatus 20 described above.
When the image decoding program is started, first, in step S21, the position information (upper compressed data block position information, lower data block position information) taken into the input data buffer 21 from the storage medium 2 is stored. , Read by the CPU 22.
[0046]
In step S22, all of the image data blocks in the target row (for one row) in the current loop based on the read higher-order compressed data block position information (information indicating the position indicated by ↓ in FIG. 4). The data is read.
In step S23, based on the lower data block position information (information indicating the position of ↑ in FIG. 4) read in step S21, the data read in step S22 is converted into the upper compressed data block and the lower data block. The separation process is performed.
[0047]
In step S24, the well-known JPEG lossless decoding is performed on the high-order compressed data stored in the separated high-order compressed data block. This JPEG lossless decoding is performed in the reverse order of the encoding procedure performed in step S3 of the above-described image encoding process (FIG. 3).
That is, when decoding the higher-order bit data (8 bits) of the target pixel, first, the pixel value of two pixels before (same color pixel) decoded two loops before is obtained. Next, a plurality of provisional prediction values of the same color pixel two pixels before are obtained based on a plurality of prediction expressions using the pixel of the same color pixel in the vicinity or the pixel value of the adjacent pixel. Then, the pixel value two pixels before and the provisional prediction value are respectively compared to determine the prediction error Δ, and the prediction formula (optimal prediction formula) that minimizes the prediction error is determined. Finally, using this optimal prediction formula, the predicted value of the target pixel in the current loop is obtained, and the upper bit data (8 bits) of the target pixel is decoded from the stored prediction error Δ and this predicted value. .
[0048]
In step S25, the lower-order data (two pixels are represented by 8 bits) packed in step S4 of the above-described image encoding process (FIG. 3), and the higher-order 4 bits are odd-numbered image data. As (lower bit data), the lower 4 bits are restored as even-numbered image data (lower bit data).
[0049]
In step S26, 12-bit image data (original data) is obtained from the upper bit data (8 bits) restored in step S24 and the lower bit data (4 bits) restored in step S25. .
In step S27, it is determined whether or not the processing in steps S24 to S26 described above has been performed for one row, that is, all the n pixels included in the same row, and when the decoding processing for one row is completed. The process proceeds to the next step S28.
[0050]
In step S28, it is determined whether or not the processes in steps S22 to S27 described above have been performed for all the lines (m lines) constituting one frame (one screen), and the processing for one frame has been completed. If not, the process returns to step S22 and the process is repeated. When the processing for all the lines (m lines) of one frame is completed (the determination result of step S28 is “Yes”), the program is ended as it is (end).
[0051]
As described above, according to the image data encoding method and decoding method of the first embodiment, image data (12-bit image data) acquired with high definition by the CCD 1 is correlated. High-order bit data (8 bits) is compressed at a high compression rate by JPEG lossless encoding, and low-order bit data (4 bits) with low correlation is bit-shifted and packed to increase the processing speed. Thus, the speed of the encoding process can be increased while ensuring a high compression rate for the entire 12-bit image data (original data).
[0052]
Incidentally, with respect to the encoded image data, a coarse image can be reproduced at high speed by decoding only the higher-order compressed data. At this time, the higher-order compressed data block position information is stored at the earliest position of the compressed image data for one frame, and the higher-order compressed data block position (position indicated by ↓ in FIG. 4) can be recognized immediately. Therefore, a rough image can be easily reproduced at high speed. It is also possible to reproduce a partial image at a high speed by selecting a specific line from m lines.
In the first embodiment, in order to efficiently perform the process, the process returns to step S24 while the determination result of step S27 is “No”, and the determination result of step S28 is “No”. Return to step S22 to repeat the process, but as shown in FIG. 8, when the determination result of step S27 is "No" or the determination result of step S28 is "No" In addition, the processing may be repeated after the position information is read in step S21.
[0053]
(Second Embodiment)
Next, a second embodiment of the present invention will be described with reference to FIGS. This second embodiment also corresponds to claims 1 to 5.
In the second embodiment, when the upper compressed data block and the lower data block are stored in the storage medium 2, the upper compression of all the rows (m rows) is performed on the image data for one frame. The data block and the lower data blocks of all rows (m rows) are stored separately.
[0054]
The data format in this case is shown in FIG. The configuration of the encoding processing device and the decoding processing device for realizing the second embodiment is the same as the encoding processing device 10 (FIG. 1) and the decoding processing device of the first embodiment described above. 20 (FIG. 6) and the description thereof is omitted.
Further, with regard to the encoding of the higher-order bit data (JPEG lossless encoding), only the storage procedure in the storage medium 2 performed in steps S6 to S9 of the image encoding process shown in FIG. 3 is different. That is, in the second embodiment, as shown in FIG. 9, both the upper compressed data block position information and the lower data block position information are stored at the earliest position of the image data for one frame, and thereafter , M rows are stored together and upper data blocks are stored, and then m rows are stored together and lower data blocks are stored.
[0055]
In this way, the upper data blocks for m rows are collected, the lower data blocks for m rows are collected, and stored in the storage medium 2 in a separated state. When decoding and outputting only bit data (when reproducing only an 8-bit coarse image), only the upper compressed data needs to be decoded based on the upper compressed data block position information stored at the earliest position. , Processing speed is increased.
[0056]
In the compressed image data format in the second embodiment, each of the higher-order compressed data block position information and the lower-order data block position information is stored together. Each of the higher-order compressed data and the lower-order data is stored together. Therefore, it becomes possible to read out all the high-order compressed data or all the low-order data included in one screen at high speed based on each position information.
[0057]
Hereinafter, a procedure for decoding only the upper compressed data and reproducing a coarse image (upper 8 bits) at high speed will be described with reference to a program flowchart shown in FIG. This program is executed by the CPU 22 of the decryption processing apparatus 20 (FIG. 6).
First, in step S31, the upper data block position information is read.
[0058]
In step S32, data in the upper compressed data block for one row (upper compressed data) is read using the upper data block position information.
In step S33, decoding of one pixel of the read higher-order compressed data is performed by JPEG lossless decoding according to the reverse procedure of JPEG lossless encoding executed in the encoding process. The decoding in step S33 is performed in the same procedure as in step S24 in FIG.
[0059]
In step S34, it is determined whether or not the processing in step S33 described above has been performed for one row, that is, n pixels included in the same row, and when the processing for one row is completed, the next step Proceed to S35.
In step S35, it is determined whether or not the processing in steps S32 to S33 described above has been performed for all the rows (m rows) constituting one frame (one screen), and the processing for one frame has been completed. If not, the process returns to step S32 to repeat the process.
[0060]
On the other hand, when it is determined in step S35 that the decoding process for all the lines of one frame has been completed, the present program is terminated as it is (END).
According to the second embodiment described above, the image data is restored from the storage medium 2 in which high-definition original data (RAW data) represented by 12 bits per pixel is compressed and stored. By restoring only the upper 8 bits with strong correlation, a coarse image can be reproduced at high speed.
Even in the second embodiment, in order to efficiently perform the process, the process returns to step S33 while the determination result of step S34 is “No”, and the determination result of step S35 is “No”. Returns to step S32 and repeats the process, but as shown in FIG. 11, when the determination result of step S34 is "No", or when the determination result of step S35 is "No" In addition, both of the processes may be repeated from step S31.
[0061]
In the first and second embodiments described above, the case where the original data (RAW data) of the image is 12 bits has been described, but either image data larger than 12 bits or image data smaller than 12 bits is used. Even in this case, the present invention is applicable, and in this case as well, the processing speed can be increased while ensuring a high compression rate.
In the first and second embodiments described above, an example in which 12-bit original data (RAW data) is separated into upper 8 bits and lower 4 bits has been described. If it is 12-bit image data, it is empirically known that it is generally in the range of 6 bits to 9 bits.), It is possible to set the number of bits other than 8 bits. In this case, it may be determined for each frame (one screen) how many upper bits are used as upper bit data.
[0062]
In the first and second embodiments described above, both the encoding processing device and the decoding processing device are configured separately (for example, the encoding processing device is on the digital camera side, the decoding processing is Although the apparatus is described on the personal computer side), these two apparatuses may be incorporated in one apparatus (for example, both may be incorporated in a digital camera or the like).
[0063]
In the first and second embodiments described above, both the processing for separating the image data into the upper side and the lower side and the encoding processing by DPCM encoding of the upper side bit data are both performed in the encoding processing apparatus 10. However, the present invention is not limited to this, and the encoding by DPCM encoding is performed by a dedicated LSI integrated in an external chip so that the CPU 13 in the encoding processing apparatus 10 Only the lower side separation may be performed. In this case, an LSI that performs encoding by Ziv-Lempel or the like may be used as the external dedicated LSI instead of DPCM encoding. For decoding, a chip in which dedicated LSIs are similarly integrated is externally attached to the decoding processing device 20, and DPCM decoding (or Ziv-Lempel or the like) of higher-order bit data is performed by the dedicated LSI in the chip. (Decryption) may be performed. In this case, the CPU 22 of the decoding processing device 20 may perform the combination of the higher-order bit data and the lower-order bit data after decoding.
[0064]
In the first and second embodiments described above, the case where a still image is acquired by a digital camera or the like has been described. However, the present invention can also be applied to a case where a moving image is acquired.
[0065]
【The invention's effect】
Explained above Book According to the invention, high-definition image data is separated into higher-order bit data having high correlation with neighboring pixels and lower-order bit data having low correlation, and image data is encoded. Therefore, high-order bit data is encoded with a high compression rate, and low-order bit data is processed at a high processing speed, so that the image data as a whole is encoded with a high compression rate. However, the processing speed can be increased. Further, the management information can speed up the processing when selectively encoding / decoding image data of a specific row.
[0066]
or, Book According to the invention, the higher-order bit data and the lower-order bit data are individually blocked for each row, so that processing for selectively reproducing an image of a specific row by restoring the higher-order bit data Can be further increased in speed.
or, Book According to the invention, image data is compressed at a high compression rate with respect to high-order bit data having strong correlation.
[0067]
or, Book According to the present invention, image data captured in high definition can be restored as it is in high definition, and the user can process / modify the high-definition image data to output the processed / corrected image data as an output device. The image quality according to the specifications can be obtained.
or, Book According to the invention, it is possible to selectively restore only the high-order bit data of high-definition image data, and it is possible to reproduce a coarse image at a high speed by using the position information, and further to partially reproduce an image of a specific row. The processing speed can be increased.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an encoding processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a diagram illustrating a layout of color filters arranged on a light receiving surface of the image input device 2;
FIG. 3 is a flowchart illustrating image encoding processing according to the first embodiment.
FIG. 4 is a diagram illustrating a first example of a format of compressed image data obtained by the first embodiment.
FIG. 5 is a diagram illustrating a second example of a format of compressed image data obtained according to the first embodiment.
FIG. 6 is a block diagram showing a configuration of a decoding processing apparatus according to the first embodiment of this invention.
FIG. 7 is a flowchart illustrating image decoding processing according to the first embodiment;
FIG. 8 is a flowchart showing a different aspect of the image decoding process of the first embodiment.
FIG. 9 is a diagram showing a format of compressed image data obtained by the second embodiment.
FIG. 10 is a flowchart illustrating image decoding processing according to the second embodiment;
FIG. 11 is a flowchart illustrating a different aspect of the image decoding processing according to the second embodiment.
[Explanation of symbols]
1 Image input device (CCD)
2 storage media
10 Encoding processing device
12 Input data buffer
13 CPU
15 Output data buffer
20 Decoding processing device
21 Input data buffer
22 CPU
23 Restored data buffer

Claims (5)

画像入力手段によって1画素当り一定ビット数で取得された画像データを圧縮する画像データ圧縮方法において、
前記一定ビット数の画素毎のデータを上位側の所定ビット数で表される上位側ビットデータと下位側の所定ビット数で表される下位側ビットデータとに分離するステップと、
前記上位側ビットデータに可変長符号化を施すステップと、
前記下位側ビットデータを複数の画素宛ビットシフト演算にてパッキングするステップと、
前記可変長符号化された上位側ビットデータ及び前記パッキングされた下位側ビットデータを個別に管理するための管理データを生成するステップと、
前記可変長符号化された上位側ビットデータと前記パッキングされた下位側ビットデータと前記生成された管理データとを記憶媒体に記憶するステップとからなり、
前記画像入力手段は、画素がマトリックス状に配列された入力手段であり、
前記可変長符号化された上位側ビットデータは、少なくとも1行の同一行に含まれる画素毎にブロック化され、
前記パッキングされた下位側ビットデータは、少なくとも1行の同一行に含まれる画素毎にブロック化され、
前記管理データとして、前記ブロック化された上位側ビットデータ及び前記ブロック化された下位側ビットデータの、各々の記憶位置を示す位置情報が生成され、
前記可変長符号化により得られた圧縮後の画像データは、前記管理データのうち前記ブロック化された上位側ビットデータの記憶位置を示す位置情報が、前記可変長符号化された上位側ビットデータよりも先の位置に設けられていることを特徴とする画像データ圧縮方法。
In an image data compression method for compressing image data acquired at a constant number of bits per pixel by an image input means,
Separating the data for each pixel having a certain number of bits into upper bit data represented by an upper predetermined bit number and lower bit data represented by a lower predetermined bit number;
Performing variable length encoding on the upper bit data;
Packing the lower bit data with a bit shift operation addressed to a plurality of pixels;
Generating management data for individually managing the variable-length encoded high-order bit data and the packed low-order bit data;
Ri Do and a step of storing the variable length coded significant bits data and the packed lower bit data and the generated management data and the storage medium,
The image input means is an input means in which pixels are arranged in a matrix.
The variable-length encoded high-order bit data is blocked for each pixel included in the same row of at least one row,
The packed lower bit data is blocked for each pixel included in the same row of at least one row,
As the management data, position information indicating each storage position of the blocked upper bit data and the blocked lower bit data is generated,
The compressed image data obtained by the variable-length encoding is the upper bit data in which the position information indicating the storage position of the block upper bit data in the management data is the variable length encoded An image data compression method characterized by being provided at a position ahead of the other .
請求項1に記載の画像データ圧縮方法において、The image data compression method according to claim 1,
前記可変長符号化された上位側ビットデータは、1コマ分の画像データの全ての行に含まれる画素毎にブロック化され、The variable-length encoded high-order bit data is blocked for each pixel included in all the rows of image data for one frame,
前記パッキングされた下位側ビットデータは、1コマ分の画像データの全ての行に含まれる画素毎にブロック化されることを特徴とする画像データ圧縮方法。The packed lower-order bit data is divided into blocks for each pixel included in all the rows of image data for one frame.
請求項1又は請求項2に記載の画像データ圧縮方法において、
前記可変長符号化は、ハフマン符号化とDPCM符号化とにより行われることを特徴とする画像データ圧縮方法。
The image data compression method according to claim 1 or 2,
The variable length coding is performed by Huffman coding and DPCM coding.
請求項1から請求項3の何れかに記載の画像データ圧縮方法において、
前記画素毎のデータの一定ビット数は前記画像入力手段の検出精度に応じた値であり、
前記上位側の所定ビット数は、近傍の画素との間で相関が生じる傾向の強い上位側のビット数であり、その値は経験則により求められることを特徴とする画像データ圧縮方法。
The image data compression method according to any one of claims 1 to 3,
The fixed number of bits of data for each pixel is a value according to the detection accuracy of the image input means,
2. The image data compression method according to claim 1, wherein the upper-order predetermined number of bits is the number of upper-order bits having a strong tendency to correlate with neighboring pixels, and the value is obtained by an empirical rule.
請求項1から請求項4の何れかに記載の画像データ圧縮方法において、The image data compression method according to any one of claims 1 to 4,
前記画像入力手段によって取得された1画素当りの一定ビット数が、12ビット以上であることを特徴とする画像データ圧縮方法。The image data compression method, wherein the fixed number of bits per pixel acquired by the image input means is 12 bits or more.
JP32838099A 1998-12-21 1999-11-18 Image data compression method Expired - Lifetime JP4092830B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP32838099A JP4092830B2 (en) 1998-12-21 1999-11-18 Image data compression method
US09/466,869 US6744929B1 (en) 1999-11-18 1999-12-20 Image data compression method image data compression apparatus and recording medium and data signal for providing image data compression program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP36237598 1998-12-21
JP10-362375 1998-12-21
JP32838099A JP4092830B2 (en) 1998-12-21 1999-11-18 Image data compression method

Publications (2)

Publication Number Publication Date
JP2000244744A JP2000244744A (en) 2000-09-08
JP4092830B2 true JP4092830B2 (en) 2008-05-28

Family

ID=26572852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32838099A Expired - Lifetime JP4092830B2 (en) 1998-12-21 1999-11-18 Image data compression method

Country Status (1)

Country Link
JP (1) JP4092830B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4687216B2 (en) * 2005-04-18 2011-05-25 ソニー株式会社 Image signal processing apparatus, camera system, and image signal processing method
JP5915131B2 (en) * 2011-12-08 2016-05-11 ソニー株式会社 Image processing apparatus, image processing method, and program
US9716889B2 (en) * 2014-12-09 2017-07-25 Sony Corporation Intra and inter-color prediction for Bayer image coding
WO2017090283A1 (en) * 2015-11-26 2017-06-01 ソニー株式会社 Frame generation device, frame generation method, image synthesis device, image synthesis method, signal generation device, signal generation method and image transmission system
JP7444541B2 (en) * 2019-03-01 2024-03-06 キヤノン株式会社 Image encoding device, image decoding device, imaging device, image encoding method, image decoding method, and program
WO2023070455A1 (en) * 2021-10-28 2023-05-04 华为技术有限公司 Data processing method and radar chip

Also Published As

Publication number Publication date
JP2000244744A (en) 2000-09-08

Similar Documents

Publication Publication Date Title
KR100347508B1 (en) Photo Image Pick-Up Device
US7702163B2 (en) Image signal processing apparatus, camera system and image signal processing method
JP4130207B2 (en) Image processing display device and image processing display method
JP4151684B2 (en) Encoding apparatus, encoding method, encoding program, and imaging apparatus
EP0651562A1 (en) An electronic camera utilizing image compression feedback for improved color processing
JP2008294689A (en) Device, circuit and method, for imaging
JP2009273035A (en) Image compression apparatus, image decompression apparatus, and image processor
US6269183B1 (en) Image processing device and still image pickup device, and method for processing image
US20210021796A1 (en) Image processing device and method for operating image processing device
JP4196039B2 (en) Image data compression method
JP4683678B2 (en) Image signal processing method, image signal processing system, storage medium, and imaging apparatus
US8224103B2 (en) Image encoding method and device, image decoding method and device, and imaging device
JP2000244935A (en) Method for compressing picture data
US20210250575A1 (en) Image processing device
JP4288398B2 (en) Image recording apparatus, image reproducing apparatus, and recording medium recording image processing program
JP4092830B2 (en) Image data compression method
JP4892869B2 (en) Image compression apparatus, image compression program, electronic camera, image expansion apparatus, and image expansion program
JP2011029809A (en) Image processing device, image processing method, and image capturing device
JPH1188701A (en) Image compression device and image expansion device
JP4729913B2 (en) Image processing apparatus and method
JP4814826B2 (en) Image processing apparatus and image processing method
JP4720494B2 (en) Imaging apparatus, imaging method and program, and recording medium
JP4139657B2 (en) Video signal encoding apparatus and decoding apparatus
JP4133678B2 (en) Image encoding device
TWI795480B (en) Image processing device for performing data decompression and image processing device for performing data compression

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080118

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: 20080212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080225

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4092830

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term