JP3735244B2 - Image coding apparatus and image coding method - Google Patents
Image coding apparatus and image coding method Download PDFInfo
- Publication number
- JP3735244B2 JP3735244B2 JP2000308730A JP2000308730A JP3735244B2 JP 3735244 B2 JP3735244 B2 JP 3735244B2 JP 2000308730 A JP2000308730 A JP 2000308730A JP 2000308730 A JP2000308730 A JP 2000308730A JP 3735244 B2 JP3735244 B2 JP 3735244B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- encoded
- pixel value
- value
- encoding
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、画像符号化装置及び画像符号化方法に関し、特に画像信号の記録あるいは伝送を、より少ないビット数でもって画質を損なうことなく行うための符号化処理に関するものである。
【0002】
【従来の技術】
従来の画像符号化処理は、MPEG2準拠の符号化方法により代表されるブロック単位で行われる符号化処理と、差分パルス符号変調(DPCM:Differential Pulse Code Modulation)等の画素単位で行われる符号化処理の2つに大別される。
【0003】
ブロック単位の符号化処理は、1画像表示領域を複数のブロックに区分し、入力される画像信号(以下、画像入力信号ともいう。)の符号化処理を各ブロック毎に行う手法である。ここで、上記1画像表示領域は、MPEG2に準拠した符号化処理では1つの表示画面に相当するものであり、また、MPEG4に準拠した符号化処理では、1つの表示画面上の個々の物体(オブジェクト)に対応した形状及び大きさを有する表示領域に相当するものである。また、上記各ブロックは1画像表示領域内における所定数の画素からなる表示領域であり、該ブロックの形状としては処理が容易な矩形形状がよく使用される。
【0004】
このようにブロック単位で画像入力信号の符号化処理を行う符号化方法では、1画像表示領域に対応する画像入力信号の符号化処理が、各ブロック毎に完結することとなる。このため、上記画像入力信号に符号化処理を施して得られる画像符号化信号を伝送する際に伝送誤りが発生しても、誤りの影響をブロック単位で収束させることが可能であるという長所がある。
【0005】
その反面、上記ブロック単位の符号化方法では以下のような欠点がある。
まず、ブロック単位の符号化方法では、画像入力信号の符号化処理がブロック毎に完結するため、ブロック間の画素相関,つまり異なるブロック間に存在する画素値の相関性を符号化処理の際に利用することが困難である。
【0006】
また、画像信号の予測符号化方法では、符号化の対象となる被符号化画素の画素値(被符号化画素値)を、これより先に符号化した複数の符号化済画素の画素値(符号化済画素値)を参照して予測し、該予測した画素値を用いて被符号化画素値を適応的に符号化する処理を行っている。ところが、このような予測符号化方法において符号化処理をブロック単位で行うと、被符号化画素値の符号化の際に参照される符号化済画素値がブロック内の画素に限定され、該参照される符号化済画素値の数が少なくなる。このため、被符号化画素の予測値の確からしさが小さくなり、符号化効率があまり高くならない。
【0007】
一方、 画素単位の符号化方法は、入力される画像信号を画素毎に符号化する手法であり、この符号化方法では、画像入力信号の符号化処理を画素単位で変更することも可能である。このため、この符号化方法において、例えば、 画像入力信号の特性に合わせて符号語が画素毎に自動的に更新される適応算術符号化等のユニバーサル符号化処理を行うようにすれば、どのような特性の画像信号も非常に高い符号化効率でもって符号化することができる。
【0008】
ところが、上記ユニバーサル符号化処理を行う画素単位の符号化方法により得られた画像符号化信号には、復号化側にて、符号化側と全く同様に符号語を更新する復号化処理が施されるため、上記画像符号化信号を伝送する際に伝送誤りが発生すれば、復号化側では、該伝送誤りの影響により、画像符号化信号の復号化処理を正しく行うことができない状態が長く続くという短所がある。
【0009】
ところで、上記ブロック単位の符号化方法と画素単位の符号化方法は組み合わせることも可能であり、これらを組み合わせた符号化方法(以下、説明の都合上この符号化方法を組合せ符号化方法という。)では、画素毎に適応的に符号語を切り替え、かつ伝送誤りの影響をブロック単位で収束することが可能となり、符号化効率の高い適応算術符号化等の符号化処理を伝送誤りの影響を小さく抑えつつ行うことができる。
【0010】
以下、この組合せ符号化方法について説明する。
図13(a)は1フレーム画面を複数の矩形形状のブロックに区分した状態を示しており、図13(b)はブロック内,特に符号化対象となっている被符号化ブロック及びその周辺のブロック内での画素の配列を示している。なお、各画素は、1フレーム画面内の各水平走査線に沿ってマトリクス状に配列されていることは言うまでもない。
【0011】
図中、FGは1フレームに対応する画面、B1はすでに画像信号に対する符号化処理が施された符号化済ブロック、Bxは符号化処理の対象となっている被符号化ブロック、B0は未だ画像信号に対する符号化処理が施されていない未符号化ブロックである。ただし、上記各ブロックを区別しない場合はブロックBと記載する。BLu,BLs,BLh,BLmは1フレーム画面上での被符号化ブロックの上,下,左,右の境界である。また、実線の丸印はその画素値に対する符号化処理が既に施された符号化済画素を示し、点線の丸印はその画素値に対する符号化処理が未だ施されていない未符号化画素を示している。また、上記各ブロックBは、上記1フレーム画面FG上における、4×4画素からなる画像表示領域である。
【0012】
図14は、符号化処理の対象となる被符号化画素Pxと、その周辺に位置する周辺画素P0〜P9との位置関係を示しており、この周辺画素P0〜P9はその画素値が、被符号化画素Pxの画素値を予測する際に参照されるものであり、以下参照画素P0〜P9という。
【0013】
ここで、上記参照画素P8,P9は上記被符号化画素Pxと同一の水平走査線上に位置する画素であり、該参照画素P9,P8はそれぞれ、上記被符号化画素Pxの1画素分,2画素分だけ手前に位置している。また、上記参照画素P5,P1の、1フレーム画面FG上での水平方向における位置は、上記被符号化画素Pxと同一であり、上記参照画素P5,P1はそれぞれ、上記被符号化画素Pxの1画素分,2画素分だけ上の水平走査線上に位置している。さらに、上記参照画素P3,P4,P6,P7は上記参照画素P5と同一の水平走査線上に位置する画素であり、該参照画素P4,P3はそれぞれ上記被符号化画素Pxの1画素分,2画素分だけ手前に位置し、該参照画素P6,P7はそれぞれ上記被符号化画素Pxの1画素分,2画素分だけ後ろに位置している。さらに、上記参照画素P0,P2は上記参照画素P1と同一の水平走査線上に位置する画素であり、該参照画素P0は上記参照画素P1の1画素分だけ手前に、該参照画素P2は上記参照画素P1の1画素分だけ後ろに位置している。
【0014】
上記組合せ符号化方法では、まず、図13(a)、図13(b) に示すように、1フレーム画面FGに対応する画像信号が、該1フレーム画面を構成する複数のブロックBの各々に対応するよう分割され、該分割された画像信号の符号化処理が各ブロック毎に行われる。
【0015】
そして、このブロック単位の符号化処理は、ブロックB内における横方向画素列に沿って順次左側から右側へ向かって各画素の画素値を符号化する水平処理を、上記各ブロック内の全ての横方向画素列について最上列から順次最下列まで行うことにより完結する。
【0016】
また、この符号化処理では、図14に示すように、被符号化画素Pxの画素値を、それぞれ被符号化画素の周辺に位置する参照画素P0〜P9の画素値から適応的に予測し、予測により得られた予測値に応じて、被符号化画素の符号化処理に用いる符号語を適応的に選択している。
【0017】
これにより、上記組合せ符号化方法では、伝送誤りの復号化側での影響をブロック単位で収束可能とし、しかも、単純なブロック単位の符号化処理に比べて符号化効率を向上することができる。
【0018】
一方、図16(a),図16(b)及び図17は、それぞれ上記組合せ符号化方法に対応する組合せ復号化方法を説明するための図であり、図中、B′は1フレーム画面における各ブロックであり、Bx′は被復号化ブロック、B1′は復号化済ブロック、B0′は未復号化ブロック、BLu′,BLs′,BLh′,BLm′は、被復号化ブロックBx′の上,下,左,右側のブロック境界であり、P0′〜P9′は被復号化画素Px′に対応する参照画素である。ここで、被復号化画素Px′に対する参照画素P0′〜P9′の配置は、図13(a),図13(b),図14に示す符号化処理のものと全く同一となっている。
【0019】
上記組合せ復号化方法では、まず、図16(a)、図16(b) に示すように、1フレーム画面FG′に対応する画像信号が、該1フレーム画面を構成する複数のブロックB′の各々に対応するよう分割され、該分割された画像信号の復号化処理が各ブロック毎に行われる。
【0020】
そして、このブロック単位の復号化処理は、ブロックB′内における横方向画素列に沿って順次左側から右側へ向かって各画素の画素値を復号化する水平処理を、上記各ブロック内の全ての横方向画素列について最上列から順次最下列まで行うことにより完結する。
【0021】
また、この復号化処理では、図17に示すように、被復号化画素Px′の画素値を、それぞれ被復号化画素の周辺に位置する参照画素P0′〜P9′の画素値から適応的に予測し、予測により得られた予測値に応じて、被復号化画素Px′の復号化処理に用いる符号語を適応的に選択している。
【0022】
【発明が解決しようとする課題】
しかしながら、上記ブロック単位の符号化処理と画素単位の符号化処理の両者を組合わた組合せ符号化方法では、以下のような問題があった。
この組合せ符号化方法では、符号化処理はブロック単位で進められるため、図15に示すように被符号化画素Pxが被符号化ブロックBxの右側境界BLmに隣接して位置する場合、該被符号化画素Pxに対する参照画素P2,P6,P7が未符号化画素となる。
【0023】
この場合、上記未符号化画素P2,P6,P7の画素値を参照して被符号化画素Pxの画素値を予測し、この予測値を用いて被符号化画素Pxの画素値を符号化すると、復号化側でこの被符号化画素Pxに対応する画像符号化信号を正しく復号化することが不可能となる。
【0024】
つまり、被符号化画素Pxの画素値をその予測値を用いて符号化して得られる画像符号化信号を復号化側で正しく復号化するには、復号化処理の際に用いる被復号化画素Px′の予測値を、符号化処理の際に用いる、該被復号化画素Px′に対応する被符号化画素Pxの予測値と一致させる必要がある。これは、言い換えると、符号化側では、被符号化画素Pxの予測値を生成する際に参照される参照画素値が、被符号化画素Pxに対応する被復号化画素Px′の予測値を生成する際に参照される参照画素値と完全に一致するようにしておく必要があるということである。
【0025】
このため、例えば、図15に示すように、被符号化画素Pxに対する符号化処理を行う際に、被符号化画素Pxに対する参照画素P0〜P9のうちの未符号化画素P2,P6,P7の画素値を参照して、被符号化画素Pxの予測値を生成した場合、復号化側では、図18に示すように、被復号化画素Px′に対する復号化処理を行う際、被復号化画素Px′に対応する参照画素P0′〜P9′の画素値を参照して被復号化画素Px′の予測値を生成することとなるが、復号化側では、上記参照画素P0′〜P9′のうちの未復号化画素P2′,P6′,P7′については画素値が得られず、上記被符号化画素Pxに対応する被復号化画素Px′の画素値を復号化することができない。
【0026】
そこで、従来の組合せ符号化方法では、上記のように被符号化画素Pxに対応する参照画素P0〜P9に未符号化画素が含まれる場合に復号化処理が困難となるという問題を回避するため、上記未符号化画素については、その画素値を予め設定された固定値(例えば0)と見なして、被符号化画素Pxの予測値を生成し、この予測値を用いて被符号化画素Pxに対する符号化処理を行うという対応策を講じている。
【0027】
このような対応策を講じた組合せ符号化方法では、復号化側では、ブロック内のすべての画素についてその予測値を用いた復号化処理を正しく行うことが可能になるが、未符号化画素となる参照画素の画素値を一律に固定値と置き換えるため、未符号化画素と符号化済画素の間での画素値の相関関係が損なわれることとなり、この結果、被符号化画素の予測効率,つまり被符号化画素に対する予測値の確からしさが劣化するという問題が生ずる。
【0028】
本発明は上記のような課題を解決するためになされたもので、被符号化画素の予測効率の劣化を招くことなく符号化された画像符号化信号の復号化処理を正しく行うことができる画像処理装置を提供することを目的とする。
【0029】
【課題を解決するための手段】
本発明に係る画像符号化装置は、画像信号を構成する画素値を、被符号化画素の周辺に位置する複数の周辺画素の画素値に基づいて符号化する画像符号化装置であって、上記画像信号を、所定数の画素からなるブロックに分割するブロック化手段と、上記被符号化画素の周辺に位置する複数の周辺画素のうちの未符号化画素の画素値を、該複数の周辺画素のうちの符号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換する画素値置換手段と、上記ブロックに対応する複数の画素からなる画像信号を、上記符号化済画素の画素値及び上記未符号化画素の擬似画素値に基づいて符号化して符号化信号を出力する符号化手段と、上記符号化信号を復号化して復号化済画素値を生成する局所復号化手段とを備え、上記画素値置換手段は、上記未符号化画素の画素値を、上記符号化済画素に対応する復号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換し、上記符号化手段は、上記符号化信号を復号化して得られた復号化済画素値及び上記未符号化画素の擬似画素値を参照して、上記被符号化画素の画素値に対して非可逆符号化処理を施す、ものである。
【0030】
本発明に係る画像符号化方法は、画像信号を構成する画素値を、被符号化画素の周辺に位置する複数の周辺画素の画素値に基づいて符号化する画像符号化方法であって、上記画像信号を、所定数の画素からなるブロックに分割するブロック化ステップと、上記被符号化画素の周辺に位置する複数の周辺画素のうちの未符号化画素の画素値を、該複数の周辺画素のうちの符号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換する画素値置換ステップと、上記ブロックに対応する複数の画素からなる画像信号を、上記符号化済画素の画素値及び上記未符号化画素の擬似画素値に基づいて符号化して符号化信号を出力する符号化ステップと、上記符号化信号を復号化して復号化済画素値を生成する局所復号化ステップとを有し、上記画素値置換ステップでは、上記未符号化画素の画素値を、上記符号化済画素に対応する復号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換し、上記符号化ステップでは、上記符号化信号を復号化して得られた復号化済画素値及び上記未符号化画素の擬似画素値を参照して、上記被符号化画素の画素値に対して非可逆符号化処理を施す、ものである。
【0031】
【発明の実施の形態】
以下、本発明の実施の形態について、図1から図12を用いて説明する。
【0032】
実施の形態1.
図1は本発明の実施の形態1による画像符号化装置101の構成を示すブロック図である。
この画像符号化装置101は、入力された画像信号Isを、1画像表示領域(1フレーム)を構成する複数のブロックの各々に対応するよう分割するブロック化器2と、該ブロック化器2の出力Bsを受け、符号化対象となる被符号化ブロックにおける、符号化対象となる被符号化画素の画素値を、該被符号化画素の予測画素値(以下、単に予測値ともいう。)Spを参照して可逆符号化する符号化器16aと、上記予測画素値Spを生成する予測値生成部110とを有している。
【0033】
この予測値生成部110は、入力される画像信号を構成する各画素の画素値を、例えば1フレームに相当する数だけ記憶可能な大容量の主メモリ4と、該主メモリ4から出力される画素値Mを一時的に保持する保持時間の異なる第1,第2補助メモリ6a,6bとを有している。ここで、上記主メモリ4は、1つの画素値の符号化処理に要する時間の間に、上記符号化器16aにて処理の対象となっている被符号化画素Pxの参照画素P0〜P9(図14参照)に対応する画素値を、上記記憶した画素値から順次出力する構成となっている。また、上記第1補助メモリ6aは、主メモリ4から順次出力される画素値Mを1画素分だけ遅延する構成となっており、上記第2補助メモリ6bは主メモリ4から順次出力される画素値Mを2画素分だけ遅延する構成となっている。
【0034】
また、上記予測値生成部110は、各フレームの画像入力信号Isを受け、画素値の数をカウントするカウンタ8と、該カウンタ8の出力Cout及び外部から供給される各フレームにおける縦横のブロック数の情報BNs基づいて、主メモリ4から出力されている画素値が、すでに符号化器16aにて符号化処理が施された符号化済画素の画素値であるか、まだ符号化処理が施されていない未符号化画素の画素値であるかを判定する符号化/未符号化判定器10とを有している。ここで該判定器10は、未符号化画素については、これと同一水平走査線上に位置する最も近い符号化済画素までの距離を画素数でもって計測する処理も行っている。また、上記カウンタ8は、1フレームを構成するすべての画素の画素値が入力された時点でリセットされるようになっている。
【0035】
さらに、上記予測値生成部110は、上記符号化/未符号化判定器10の出力に基づいて上記主メモリ4,第1,第2補助メモリ6a,6bのいずれかの出力M,Ma,Mbを選択して出力する選択スイッチ12と、該選択スイッチ12の出力Soutを、被符号化画素Pxに対応する予測画素値の生成に必要な参照画素P0〜P9の画素値として取得し、該被符号化画素Pxに対応する予測画素値Spを生成する予測値生成器14とを有している。
【0036】
そして、この画像符号化装置101では、上記符号化器16aは、ブロック化器2から出力される被符号化画素Pxの画素値とその予測画素値との差分値に対して符号化処理を施し、符号化した符号化差分値を上記被符号化画素Pxに対応する符号化画素値として出力するようになっている。この符号化処理では、上記参照画素P0〜P9の画素値から得られる予測画素値に基づいて、被符号化画素Pxの画素値を符号化するための符号語を選択するようにしている。
【0037】
次に動作について説明する。
図2は上記画像符号化装置101の符号化処理をフローチャートにより示しており、まず、このフローチャートに従って符号化処理の流れを簡単に説明する。
画像信号が本画像符号化装置101に入力されると、上記画像信号を構成する画素値が順次主メモリ4に格納され、該主メモリ4からは、被符号化画素Pxの符号化の際参照される、被符号化画素Pxの周辺に位置する複数の参照画素(周辺画素)P0〜P9の画素値が出力される(ステップS1)。
【0038】
次に、上記主メモリ4に取得された複数の参照画素のうちの最初の参照画素が判定対象画素とされ(ステップS2)、この判定対象画素が符号化済画素であるか否かの判定が符号化/未符号化判定器10にて行われる(ステップS3)。この符号化/未符号化判定器10では、上記カウンタ出力Coutのインクリメントと、上記主メモリ4から9つの参照画素P0〜P9の画素値が基準クロックに基づいて順次出力される動作とが同期しているため、主メモリ4から出力されている参照画素の、被符号化画素Pxに対する位置を上記カウンタ出力Coutから検知することができる。
【0039】
この判定の結果、判定の対象となっている参照画素が符号化済画素であれば、その画素値が参照画素値として上記予測値生成器14にて取得され(ステップS5)、上記判定の対象となっている参照画素が符号化済画素でなければ、この参照画素についてはその周辺の符号化済画素から参照画素値(擬似画素値)が生成され、上記予測値生成器14にて取得される(ステップS4)。
【0040】
次に、被符号化画素を符号化する際に必要な参照画素値がすべて上記予測値生成器14にて取得できたか否かの判定がなされ(ステップS6)、必要な参照画素値が全て取得されていない場合は、上記主メモリ4に取得された参照画素のうちの次の参照画素が上記判定対象とされ(ステップS8)、上記ステップS3〜S6の処理が繰り返し行われる。一方、上記必要な参照画素値が全て上記予測値生成器14にて取得されている場合は、上記予測値生成器14にて上記参照画素値に基づいて、被符号化画素Pxに対応する予測画素値が生成される(ステップS7)。
【0041】
その後、被符号化画素Pxの画素値が上記符号化器16aに取得されると同時に上記予測値生成器14から被符号化画素Pxの予測画素値が取得され(ステップS9)、上記符号化器16aにて、上記被符号化画素Pxの画素値に対する符号化処理が上記予測画素値を用いて行われる(ステップS10)。
【0042】
次に、画像信号の符号化処理における本画像符号化装置101の動作とともに、上記各ステップS1〜S10での本装置の各部の具体的な動作について詳しく説明する。
画像入力信号Isが本画像符号化装置101に入力されると、該画像入力信号Isを構成する複数の画素はブロック化器2にて、1フレームを構成する、複数の画素からなるブロックに対応するようグループ化され、各ブロック内の画素に対応する画素値が符号化器16aに送られ、該符号化器16aでは、被符号化画素Pxの画素値を画素毎に参照画素値を参照して符号化する符号化処理がブロック単位で行われる。
【0043】
このとき、上記主メモリ4には、走査線構造の画像入力信号Isを構成する画素値が順次格納され、被符号化画素Pxに対応する参照画素P0〜P9の画素値が、一定の読出周期で出力される(ステップS1)。上記主メモリ4の出力Mは一時的に上記第1,第2補助メモリ6a,6bにて保持される。上記第1補助メモリ6aでは、上記主メモリ4の出力は1読出周期の期間だけ、上記第2補助メモリ6bでは2読出周期の期間だけ保持される。
【0044】
また、上記カウンタ8では、1フレームの最初の画素値を基準として、画像入力信号Isに基づいて入力される画素値の数がカウントされ、このカウント値Coutが符号化/未符号化判定器10に出力される。この符号化/未符号化判定器10では、外部から1フレームにおける縦横のブロック数情報BNsが入力されており、このブロック数情報BNs及び上記カウンタ8の出力により指定される参照画素が、上記符号化済画素か未符号化画素であるかの判定がなされる判定対象画素となる。例えば、図14に示すように被符号化画素Pxが決まると、これに対応する参照画素P0〜P9が決まり、このうちの主メモリ4から最初に画素値が出力される画素P0がまず上記判定対象画素となる(ステップS2)。
【0045】
このとき、上記参照画素P0の画素値は、上記第1,第2補助メモリ6a,6bにでそれぞれ1読出期間,2読出期間の間保持される。また、符号化/未符号化判定器10は、上記カウンタ出力Cout及びブロック数情報BNsに基づいて、被符号化ブロック内での被符号化画素の位置が計算され、 各参照画素について符号化済画素であるか未符号化画素であるかが判定され(ステップS3)、この判定結果に応じて上記選択スイッチ12が制御される。
【0046】
上記参照画素P0は図14に示すように符号化済画素であるため、符号化/未符号化判定器10による判定(ステップS3)の結果、選択スイッチ12は該符号化/未符号化判定部10により上記主メモリ4の出力Mを選択するよう制御され、これにより、上記参照画素P0の画素値は参照画素値として予測値生成器14に格納される。
【0047】
その後、上記符号化/未符号化判定部10では、被符号化画素Pxに対応する全ての参照画素の画素値が予測値生成器14にて取得されたか否かが判定される(ステップS6)。この場合は、上記予測値生成器14には参照画素P0〜P9の全ての参照画素値が取得されていないので、上記符号化/未符号化部10では、上記主メモリ4から参照画素P0の画素値の次に出力される参照画素P1の画素値が判定対象画素の画素値とされる(ステップS8)。そして、参照画素P1は上記参照画素P0と同様に符号化済画素であるため、この参照画素P1の画素値についても上記ステップS3,S5,S6,S8の処理が行われる。
【0048】
続いて、上記符号化/未符号化部10では、上記主メモリ4から参照画素P1の画素値の次に出力される参照画素P2の画素値が判定対象画素の画素値とされる(ステップS8)。この参照画素P2は上記参照画素P0,P1とは異なり、符号化済画素の隣に位置している未符号化画素であるため、選択スイッチ12は該符号化/未符号化判定部10により上記第1補助メモリ6aの出力Maを選択するよう制御され、これにより、上記参照画素P1の画素値が、参照画素P2の擬似画素値として予測値生成器14に格納される(ステップS4)。その後は上記ステップS6,ステップS8の処理が行われる。
【0049】
さらに、上記参照画素P3〜P5については上記参照画素P0と同様に上記ステップS3,S5,S6,S8の処理が行われ、さらに参照画素P6については、上記参照画素P2と同様にステップS3,S4,S6,S8の処理が行われる。
【0050】
続いて、上記符号化/未符号化部10では、上記主メモリ4から参照画素P6の画素値の次に出力される参照画素P7の画素値が判定対象画素の画素値とされる(ステップS8)。この参照画素P7は上記参照画素P0〜P6とは異なり、符号化済画素Pxから1画素分隔てて位置している未符号化画素であるため、選択スイッチ12は該符号化/未符号化判定部10により上記第2補助メモリ6bの出力Mbを選択するよう制御され、これにより、上記参照画素P5の画素値が、参照画素P7の擬似画素値として予測値生成器14に格納される(ステップS4)。その後は上記ステップS6,ステップS8の処理が行われる。
【0051】
さらに、上記参照画素P8,P9については上記参照画素P0と同様に上記ステップS3,S5,S6の処理が行われる。この場合、符号化/未符号化部10では、全ての参照画素P0〜P9の全てについての参照画素値が上記予測値生成器14に取得されているという判定がなされ、予測値生成器14にて、取得した参照画素値に基づいて、被符号化画素Pxに対応する予測画素値Spが算出される(ステップS7)。
【0052】
続いて、上記符号化器16aには被符号化画素Pxの画素値とともに上記予測画素値Spが取得され(ステップS9)、被符号化画素Pxの画素値とその予測画素値Spとの差分値に対して符号化処理が施されて、符号化された差分値が、上記被符号化画素Pxの符号化信号として出力される(ステップS10)。この符号化処理には、上記予測画素値Spに基づいて選択された符号語が用いられる。
【0053】
このようにして1フレーム内の各ブロックの画素値が順次符号化されることとなる。なお、1フレームの先頭画素については、その周辺に符号化処理が施された参照画素が存在しないので、予測画素値は0として符号化処理が行われる。
【0054】
このように本実施の形態1では、未符号化画素の画素値を参照する場合は、その周辺の符号化済画素の画素値を参照するようにしたので、画素単位での適応的な符号化処理とブロック単位での符号化処理とを、未符号化画素と被符号化画素との間での画素値の相関を損なうことなく、しかも符号化信号の復号化が困難となるのを回避しつつ組み合わせることができる。これにより伝送誤りの影響をブロック単位で収束可能とするとともに、単純なブロック単位の符号化処理に比べて符号化効率を向上することができ、また復号化側では、被符号化画素の予測効率の劣化を招くことなく符号化された符号化信号の復号化処理を正しく行うことが可能となる。
【0055】
つまり、符号化側にて被符号化画素の符号化処理をその周辺画素の画素値を参照して行う場合は、復号化側においても被復号化画素の復号化処理をその周辺画素の画素値を参照して行うこととなり、しかも符号化処理の際に参照される画素値と復号化処理の際に参照される画素値とを一致させる必要がある。
【0056】
そこで、従来例の符号化方法では、参照される画素が未符号化画素である場合には、その画素値として固定値を用いるようにしていたが、この場合は画素値の相関が損なわれるという問題があった。
【0057】
これに対し、本発明では、参照される画素が未符号化画素である場合には、参照される符号化済画素から所定の規則で未符号化画素に対する擬似画素値を生成するようにしている。例えば、 図15の未符号化画素P2, P6, P7についてはその画素値を符号化済画素P0, P1, P3, P4, P5, P8, P9の画素値から一意的に決定するようにしている。最も簡単な方法としては、未符号化画素と同じ水平走査線上に位置する、距離が近い符号化済画素の画素値を未符号化画素に対する擬似画素値としている。この場合には、 未符号化画素P2の画素値は、符号化済画素P1の画素値に置換され、未符号化画素P6, P7の画素値は符号化済画素P5の画素値に置換される。
【0058】
このようにすれば、ブロック境界での符号化済画素と未符号化画素の間での画素値の相関が大きくなり、画素間相関が大きいブロック内部と同じ予測方式を用いて効率の高い符号化処理が実現できる。
このため、画像信号をより低ビット数で画質を損なうことなく記録伝送することが可能となる。
【0059】
なお、上記実施の形態1では、主メモリ4の出力Mを保持する時間の異なる2つの補助メモリ6a,6bを備えたが、主メモリ4の出力を一時的に保持する補助メモリを1つだけ備え、主メモリ4から出力される画素値を保持する時間を、未符号化画素の被符号化画素からの距離に応じて、符号化/未符号化判定器10によって切り換えるようにしてもよい。
【0060】
また、上記実施の形態1では、画像信号の符号化処理の際、被符号化画素Pxの予測画素値のみを参照するものを示したが、被符号化画素Pxの予測画素値だけでなく、予測画素値の確からしさを示す予測確率に基づいて符号化処理を行うようにしてもよい。
【0061】
また、この場合、符号化処理の対象となる画像信号が2値形状信号である場合には、予測画素値は「0」あるいは「1」のいずれかであるため、予測画素値をその一方に固定しておき、予測確率のみを参照するようにしてもよい。
【0062】
以下、本発明の実施の形態2として、上記予測画素値に代えて予測確率のみを参照して2値形状信号の符号化処理を行う画像符号化装置を、また実施の形態3として、上記予測画素値とともに予測確率を参照して、多値の画像信号の符号化処理を行う画像符号化装置についてそれぞれ説明する。
【0063】
実施の形態2.
図3は本発明の実施の形態2による画像符号化装置102の構成を示すブロック図である。なお、図中、図1と同一符号は上記実施の形態1の画像符号化装置101におけるものと同一のものを示している。
【0064】
この画像符号化装置102は、上記実施の形態1の画像符号化装置101における予測値生成器14に代えて予測確率生成器22を備え、画素値が「0」及び「1」のいずれかである2値形状信号に対して符号化処理を行うよう構成したものである。
【0065】
上記予測確率生成器22は、被符号化画素Pxに対する参照画素P0〜P9の画素値から、被符号化画素Pxの画素値とその予測画素値とが一致する確率を予測確率として求め、被符号化画素Pxに対する予測確率信号Skを上記符号化器16bに出力する構成となっている。
【0066】
ここで、上記符号化器16bは、本画像符号化装置102が2値形状信号の符号化処理を対象するものであるため、被符号化画素Pxの画素値との引き算を行う予測値は「0」及び「1」の一方に設定されている。またこの符号化器16bは、上記予測確率が大きい場合は被符号化画素Pxの画素値とその予測画素値とが一致する確率が高いので、上記被符号化画素Pxの画素値とその予測画素値との差分値を、差分値が0となる場合に符号化効率が高くなる符号化方法により符号化し、一方、上記予測確率が小さい場合は被符号化画素Pxの画素値とその予測画素値とが一致する確率が小さいので、上記被符号化画素Pxの画素値とその予測画素値との差分値を、上記差分値が0でない場合に符号化効率が高くなる符号化方法により符号化する構成となっている。
【0067】
次に作用効果について説明する。
なお、上記実施の形態1の画像符号化装置と共通する動作についてはその説明を省略する。
このような構成の画像符号化装置102による2値形状信号の符号化処理においても、被符号化画素Pxに対する参照画素P0〜P9のうち未符号化画素に相当するものについては、その画素値が上記実施の形態1の画像符号化装置101と同様に符号化済画素の画素値から生成され、すべての参照画素P0〜P9に対応する画素値が予測確率生成器22に格納される。
【0068】
そして、上記予測確率生成器22では、上記参照画素P0〜P9の画素値に基づいて、被符号化画素Pxに対する予測確率を求める。この予測確率情報Skが上記予測確率生成器22から符号化器16bに出力されると、該符号化器16bでは、被符号化画素Pxの画素値と予め設定されている予測画素値との差分値に対して、上記予測確率情報Skに応じた符号化処理を行う。
【0069】
このように本実施の形態2では、2値形状信号の符号化処理を行う画像符号化装置102において、ブロック境界に隣接する予測値生成が困難な被符号化画素を、符号化効率の劣化を抑えつつ符号化することができる。このため、伝送誤りの影響をブロック単位で収束可能とするとともに、単純なブロック単位の符号化処理に比べて符号化効率を向上することができ、また復号化側では、被符号化画素の予測効率の劣化がなく符号化信号の復号化処理を正しく行うことが可能となる。
【0070】
なお、予測確率に基づく符号化処理については、例えば、国際標準規格JBIG(Joint Bi-level Image Coding Experts Group )に記載されているが、この規格に記載されている符号化方法は、符号化処理を画素単位(非ブロック単位)で行うものであるため、参照画素は常に符号化済画素であり、本発明の解決課題であるブロック単位の符号化処理では参照画素が未符号化画素となる場合の問題点はもとより、この未符号化画素に対する画素値をどのように設定するかという対応策については何ら開示されていない。
【0071】
実施の形態3.
図4は本発明の実施の形態3による画像符号化装置103の構成を示すブロック図である。なお、図中、図1と同一符号は上記実施の形態1の画像符号化装置101におけるものと同一のものを示している。
【0072】
この画像符号化装置103は、上述したように多値の画像信号に対して符号化処理を行うものであり、その予測確率生成部130を上記実施の形態1の画像符号化装置101における予測値生成器14に加えて予測確率生成器22を有する構成としたものである。
【0073】
上記予測確率生成器22は、上記予測値生成器14と同様、選択スイッチ12の出力Soutを受け、被符号化画素Pxに対する参照画素P0〜P9の画素値を順次格納し、これらの画素値に基づいて、上記予測値生成器14にて参照画素P0〜P9に基づいて予測される予測画素値Spの確からしさを示す予測確率Skを出力する構成となっている。
【0074】
そして、上記符号化器16cは、上記予測値生成器14からの予測画素値Sp及び予測確率生成器22からの予測確率Skに基づいて、被符号化画素Pxの画素値を符号化する構成となっている。
【0075】
具体的には、予測画素値の確からしさが大きい場合は、被符号化画素の画素値とその予測画素値の差が小さいので、上記符号化器16cでは、被符号化画素の画素値とその予測画素値の差が小さい場合に符号化効率が高くなる符号化方法により、被符号化画素Pxの画素値に対する符号化処理を行う。また、一方、 予測値の確からしさが小さい場合は、被符号化画素の画素値とその予測画素値の差が大きいので、符号化器16cでは、画素値と予測画素値との差分値がやや大きい場合に符号化効率が高い符号化方法により被符号化画素Pxの画素値に対する符号化処理を行う。
【0076】
このような構成の画像符号化装置103による多値の画像信号の符号化処理においても、被符号化画素Pxに対する参照画素P0〜P9のうち未符号化画素に相当するものについては、その画素値が上記実施の形態1の画像符号化装置101と同様に符号化済画素の画素値から生成され、すべての参照画素P0〜P9に対応する画素値が予測確率生成器22及び予測値生成器14に格納される。
【0077】
そして、予測値生成器14では、上記実施の形態1と同様にして参照画素P0〜P9から被符号化画素Pxの予測画素値を求める。また上記予測確率生成器22では、上記参照画素P0〜P9の画素値に基づいて、被符号化画素Pxに対する予測確率Skを求める。
【0078】
上記予測画素値Sp及び予測確率Skが符号化器16cに出力されると、該符号化器16cでは、被符号化画素Pxの画素値と予測値生成器14からの予測画素値との差分値に対して、上記予測確率Skに応じた符号化処理を行う。
【0079】
このように本実施の形態3では、多値の画像信号を符号化する画像符号化装置103において、ブロック境界に隣接する予測値生成が困難な被符号化画素を、符号化効率の劣化を抑えつつ符号化することができる。このため、伝送誤りの影響をブロック単位で収束可能とするとともに、単純なブロック単位の符号化処理に比べて符号化効率を向上することができ、また復号化側では、被符号化画素の予測効率の劣化がなく符号化信号の復号化処理を正しく行うことが可能となる。
【0080】
実施の形態4.
図5は本発明の実施の形態4による画像符号化装置104の構成を示すブロック図である。なお、図中、図1と同一符号は上記実施の形態1の画像符号化装置101におけるものと同一のものを示す。
この画像符号化装置104は、ブロック化された画像信号Bsに対して非可逆符号化処理を施す点で上記実施の形態1の画像符号化装置101とは異なっている。
【0081】
つまり、上記画像符号化装置104は、上記実施の形態1の可逆符号化処理を行う符号化器16aに代えて、上記ブロック化器2の出力Bsに対してDCT(離散コサイン変換)処理を含む非可逆符号化処理を、予測値生成器14からの予測画素値に基づいて施す符号化器16dを有している。さらにこの画像符号化装置104の予測値生成部140は、上記符号化器16dの出力Csを上記予測値生成器14からの予測画素値Spに基づいて復号化する局所復号化器24を備えており、該局所復号化器24の出力LDsが主メモリ4に復号化済画素の画素値として格納され、該出力LDsが上記カウンタ8に入力されるようになっている。その他の構成は実施の形態1の画像符号化装置101と同一である。
【0082】
このような構成の画像符号化装置104では、画像入力信号Isを被符号化画素Pxの予測画素値Spに基づいて符号化処理する際、該予測画素値Spを生成する予測値生成部140では、局所復号化器24にて符号化器16dの出力Csを予測画素値Spを参照して復号化し、この復号化した画素値を主メモリ4に格納するようにしている。
【0083】
このため、非可逆符号化処理を行う画像符号化装置104では、予測画素値の生成には復号化済画素値が使用されることとなり、 これによりこの画像符号化装置により符号化された画像符号化信号を、画像復号化装置で正しく復号化することが可能となる。
【0084】
なお、上記実施の形態4では、画像信号の非可逆符号化処理の際、被符号化画素Pxの予測画素値のみを参照するものを示したが、被符号化画素Pxの予測画素値だけでなく、予測画素値の確からしさを示す予測確率を参照するようにしてもよい。
【0085】
また、この場合、非可逆符号化処理の対象となる画像信号が2値形状信号である場合には、予測画素値は「0」あるいは「1」のいずれかであるため、予測画素値をその一方に固定しておき、予測確率のみを参照するようにしてもよい。
【0086】
そこで、本発明の実施の形態4の変形例1として、上記予測画素値に代えて予測確率のみを参照して2値形状信号の非可逆符号化処理を行う画像符号化装置を、また上記実施の形態4の変形例2として、上記予測画素値とともに予測確率を参照して、多値の画像信号の非可逆符号化処理を行う画像符号化装置についてそれぞれ説明する。
【0087】
図6は本発明の実施の形態4の変形例1による画像符号化装置104aの構成を示すブロック図である。なお、図中、図5と同一符号は実施の形態4の画像符号化装置104におけるものと同一のものを示す。
【0088】
この画像符号化装置104aは、上記実施の形態4の画像符号化装置104における予測値生成器14に代えて、予測確率発生器22を備えたもので、画素値が「0」及び「1」のいずれかである2値形状信号の符号化処理を行うものである。
【0089】
上記予測確率生成器22は、被符号化画素Pxに対する参照画素P0〜P9の画素値から、被符号化画素Pxの画素値とその予測画素値とが一致する確率を予測確率として求め、被符号化画素Pxに対する予測確率Skを上記符号化器16e及び局所復号化器24に出力する構成となっている。
【0090】
ここで、上記符号化器16eは、本画像符号化装置が2値形状信号を処理対象するものであるため、被符号化画素Pxに対する予測画素値は「0」及び「1」の一方に設定されている。またこの符号化器16eは、上記実施の形態2の符号化器16bと同様に、上記予測確率が大きい場合は、上記被符号化画素Pxの画素値とその予測画素値との差分値を、差分値が0となる場合に符号化効率が高くなる符号化方法によって符号化し、一方、上記予測確率が小さい場合は、上記被符号化画素Pxの画素値とその予測画素値との差分値を、上記差分値が0でない場合に符号化効率が高くなる符号化方法によって符号化する構成となっている。
【0091】
さらに上記局所復号化器24は、上記予測確率に基づいて上記符号化器16eと同様に復号化方法を切り替えて復号化処理を行うようになっている。
なお、上記実施の形態4の画像符号化装置と共通する動作についてはその説明を省略する。
【0092】
このような構成の画像符号化装置104aによる2値形状信号の符号化処理においても、被符号化画素Pxに対する参照画素P0〜P9のうち未符号化画素に相当するものについては、その画素値が上記実施の形態4の画像符号化装置104と同様に符号化済画素の画素値から生成され、すべての参照画素P0〜P9に対応する画素値が予測確率生成器22に格納される。
【0093】
そして、上記予測確率生成器22では、上記参照画素P0〜P9の画素値に基づいて、被符号化画素Pxに対する予測確率Skを求める。この予測確率Skが上記予測確率生成器22から符号化器16e及び局所復号化器24に出力されると、該符号化器16eでは、被符号化画素Pxの画素値と予め設定されている予測画素値との差分値に対して、上記予測確率Skに応じた非可逆符号化処理を行う。この際、上記局所復号化器24では、上記予測確率Skに応じた、上記符号化器16eの出力Csに対する復号化処理を行って、被符号化画素Pxの画素値を再生する。この再生された被符号化画素Pxの画素値は上記主メモリ4に格納される。
【0094】
このように本実施の形態4の変形例1では、2値形状信号に対する非可逆符号化処理を行う画像符号化装置104aにおいて、ブロック境界に隣接する予測値生成が困難な被符号化画素を、符号化効率の劣化を抑えつつ符号化することができる。このため、伝送誤りの影響をブロック単位で収束可能とするとともに、単純なブロック単位の符号化処理に比べて符号化効率を向上することができ、また復号化側では、被符号化画素の予測効率の劣化がなく符号化信号の復号化処理を正しく行うことが可能となる。
【0095】
図7は本発明の実施の形態4の変形例2による画像符号化装置104bの構成を示すブロック図である。なお、図中、図4と同一符号は上記実施の形態4の画像符号化装置104におけるものと同一のものを示す。
【0096】
この画像符号化装置104bは、上述したように多値の画像信号に対して非可逆符号化処理を行うものであり、その予測確率生成部140bを上記実施の形態4の画像符号化装置104における予測値生成器14に加えて予測確率生成器22を有する構成としたものである。
【0097】
上記予測確率生成器22は、上記予測値生成器14と同様、選択スイッチ12の出力Soutを受け、被符号化画素Pxに対する参照画素P0〜P9の画素値を順次格納し、これらの画素値に基づいて、上記予測値生成器14にて参照画素P0〜P9に基づいて予測される予測画素値Spの確からしさを示す予測確率Skを出力する構成となっている。
【0098】
そして、上記符号化器16fは、上記予測値生成器14からの予測画素値Sp及び予測確率生成器22からの予測確率Skに基づいて、被符号化画素Pxの画素値に対して非可逆符号化処理を施す構成となっており、その具体的な構成は、上記実施の形態3の符号化器16cと全く同一となっている。
さらに上記局所復号化器24は、上記予測確率に基づいて上記符号化器16eと同様に符号化方法を切り替えて復号化処理を行うようになっている。
【0099】
このような構成の画像符号化装置104bによる多値の画像信号の符号化処理においても、被符号化画素Pxに対する参照画素P0〜P9のうち未符号化画素に相当するものについては、その画素値が上記実施の形態4の画像符号化装置104と同様に符号化済画素の画素値から生成され、すべての参照画素P0〜P9に対応する画素値が予測確率生成器22及び予測値生成器14に格納される。
【0100】
そして、予測値生成器14では、上記実施の形態4と同様にして参照画素P0〜P9から被符号化画素Pxの予測画素値を求める。また上記予測確率生成器22では、上記参照画素P0〜P9の画素値に基づいて、被符号化画素Pxに対する予測確率Skを求める。
【0101】
上記予測画素値Sp及び予測確率Skが符号化器16f及び局所復号化器24に出力されると、該符号化器16fでは、被符号化画素Pxの画素値と予め設定されている予測画素値との差分値に対して、上記予測確率Skに応じた符号化処理を行う。この際、上記局所復号化器24では、上記予測確率Skに応じた、上記符号化器16fの出力Csに対する復号化処理を行って、被符号化画素Pxの画素値を再生する。この再生された被符号化画素Pxの画素値は上記主メモリ4に格納される。
【0102】
これにより予測値生成が困難な画像信号に対しては符号化効率を劣化させず、予測値生成が容易な画像信号に対しては大幅な符号化効率向上を達成することができる。
【0103】
このように本実施の形態4の変形例2では、多値の画像信号を非可逆符号化する画像符号化装置104bにおいて、ブロック境界に隣接する予測値生成が困難な被符号化画素を、符号化効率の劣化を抑えつつ符号化することができる。このため、伝送誤りの影響をブロック単位で収束可能とするとともに、単純なブロック単位の符号化処理に比べて符号化効率を向上することができ、また復号化側では、被符号化画素の予測効率の劣化がなく符号化信号の復号化処理を正しく行うことが可能となる。
【0104】
実施の形態5.
図8は本発明の実施の形態5による画像復号化装置105の構成を示すブロック図である。
この実施の形態5の画像復号化装置105は、実施の形態1の画像符号化装置101により可逆符号化処理を施した画像符号化信号を可逆的に復号化するものである。
【0105】
この画像復号化装置105は、入力された画像符号化信号Csを、1画像表示領域を構成する複数のブロック毎に復号化し、この際、復号化処理の対象となる被復号化画素Px′の画素値,つまり被符号化画素Pxの画素値を符号化した符号化信号を、被復号化画素の予測画素値に基づいて復号化する復号化器26aと、該復号化器26aの出力である各ブロックに対応した画像復号化信号Dsを統合して所定の走査線構造の画像再生信号Rsを生成する逆ブロック化器30と、上記予測画素値を上記被復号化画素Px′の周辺に位置する参照画素P0′〜P9′の画素値に基づいて生成する予測値生成部150とを有している。
【0106】
ここで、上記予測値生成部150は、実施の形態1の画像符号化装置101における予測値生成部110とほぼ同様な構成となっている。
【0107】
すなわち、該予測値生成部150は、例えば1フレームに相当する数だけ記憶可能な大容量の主メモリ4と、該主メモリ4から出力される画素値Mを一時的に保持する保持時間の異なる第1,第2補助メモリ6a,6bとを有している。ここで、上記主メモリ4は、1つの画素値の符号化処理に要する時間の間に、上記復号化器26aにて処理の対象となっている被復号化画素Px′の参照画素P0′〜P9′(図17参照)に対応する画素値を、上記記憶した画素値から順次出力する構成となっている。また、上記第1補助メモリ6aは、主メモリ4から順次出力される画素値Mを1画素分だけ遅延する構成となっており、上記第2補助メモリ6bは主メモリ4から順次出力される画素値Mを2画素分だけ遅延する構成となっている。
【0108】
また、上記予測値生成部150は、各フレームの画像復号化信号Dsを受け、画素値の数をカウントするカウンタ8と、該カウンタ8の出力Cout及び外部から供給される各フレームにおける縦横のブロック数の情報BNs基づいて、主メモリ4から出力されている画素値が、すでに符号化器26aにて復号化処理が施された復号化済画素の画素値であるか、まだ復号化処理が施されていない未復号化画素の画素値であるかを判定する復号化/未復号化判定器20とを有している。ここで該判定器20は、未復号化画素については、これと同一水平走査線上に位置する最も近い復号化済画素までの距離を画素数でもって計測する処理も行っている。また、上記カウンタ8は、1フレームを構成するすべての画素の画素値が入力された時点でリセットされるようになっている。
【0109】
さらに、上記予測値生成部150は、上記復号化/未復号化判定器20の出力Scontに基づいて上記主メモリ4,第1,第2補助メモリ6a,6bのいずれかの出力M,Ma,Mbを選択して出力する選択スイッチ12と、該選択スイッチ12の出力Soutを、被復号化画素Px′に対応する予測画素値の生成に必要な参照画素P0′〜P9′の画素値として取得し、該被復号化画素Px′に対応する予測画素値Spを生成する予測値生成器14とを有している。
【0110】
そして、この画像復号化装置105では、上記復号化器26aは、外部から画像符号化信号として入力される被符号化画素Pxに対する符号化差分値を復号化して復号化差分値を生成し、該復号化差分値に上記予測値生成部150からの予測画素値Spを加算して被復号化画素に対する復号化画素値を生成して逆ブロック化器30に出力するようになっている。
【0111】
次に動作について説明する。
図9は上記画像復号化装置105の復号化処理をフローチャートにより示しており、まず、このフローチャートに従って復号化処理の流れを簡単に説明する。
画像符号化信号Csが本画像符号化装置105に入力され、復号化器26aにて該画像符号化信号Csの復号化処理が予測値生成部150からの予測信号Spに基づいて行われる。
【0112】
このとき上記復号化器26aの出力として、1フレームに対応する複数の復号化画素値が順次主メモリ4に格納され、該主メモリ4からは、被復号化画素Px′の復号化の際に参照される、被復号化画素Px′の周辺に位置する複数の参照画素(周辺画素)P0′〜P9′の画素値が出力される(ステップS11)。
【0113】
次に、上記主メモリ4に取得された複数の参照画素のうちの最初の参照画素が判定対象画素とされ(ステップS12)、この判定対象画素が復号化済画素であるか否かの判定が復号化/未復号化判定器30にて行われる(ステップS13)。この符号化/未符号化判定器30では、上記カウンタ出力Coutのインクリメントと、上記主メモリ4から9つの参照画素P0′〜P9′の画素値が基準クロックに基づいて順次出力される動作とが同期しているため、主メモリ4から出力されている参照画素の、被復号化画素Px′に対する位置を上記カウンタ出力Coutから検知することができる。
【0114】
この判定の結果、判定の対象となっている参照画素が復号化済画素であれば、その画素値が参照画素値として上記予測値生成器14にて取得され(ステップS15)、上記判定の対象となっている参照画素が復号化済画素でなければ、この参照画素についてはその周辺の復号化済画素から参照画素値(擬似画素値)が生成され、上記予測値生成器14にて取得される(ステップS14)。
【0115】
次に、被復号化画素を復号化する際に必要な参照画素値がすべて上記予測値生成器14にて取得できたか否かの判定がなされ(ステップS16)、必要な参照画素値が全て取得されていない場合は、上記主メモリ4に取得された参照画素のうちの次の参照画素が上記判定対象とされ(ステップS18)、上記ステップS13〜S16の処理が繰り返し行われる。一方、上記必要な参照画素値が全て上記予測値生成器14にて取得されている場合は、上記予測値生成器14にて上記参照画素値に基づいて、被復号化画素Px′に対応する予測画素値が生成される(ステップS17)。
【0116】
その後、被復号化画素Px′の画素値が上記復号化器26aに取得されると同時に上記予測値生成器14から被復号化画素Px′の予測画素値が取得され(ステップS19)、上記復号化器26aにて、上記被復号化画素Px′の画素値に対する復号化処理が上記予測画素値を用いて行われる(ステップS20)。
【0117】
次に、画像信号の復号化処理における本画像復号化装置105の動作とともに、上記各ステップS11〜S20での本装置の各部の具体的な動作について詳しく説明する。
【0118】
画像符号化信号Csが本画像復号化装置105に入力されると、該画像復号化信号Csは、復号化器26aに送られ、該復号化器26aでは、被復号化画素Px′の画素値を画素毎に参照画素値を参照して復号化する復号化処理がブロック単位で行われる。
【0119】
このとき、上記主メモリ4には、上記復号化器26aの出力である1フレームを構成する画素値が順次格納され、被復号化画素Px′に対応する参照画素P0′〜P9′の画素値が、一定の読出周期で出力される(ステップS11)。上記主メモリ4の出力Mは一時的に上記第1,第2補助メモリ6a,6bにて保持される。上記第1補助メモリ6aでは、上記主メモリ4の出力は1読出周期の期間だけ、上記第2補助メモリ6bでは2読出周期の期間だけ保持される。
【0120】
また、上記カウンタ8では、上記1フレームの最初の画素値を基準として、復号化器26aの出力Dsに基づいて、入力される画素値の数がカウントされ、このカウント値Coutが復号化/未復号化判定器20に出力される。この復号化/未復号化判定器20では、外部から1フレームにおける縦横のブロック数情報BNsが入力されており、このブロック数情報BNs及び上記カウンタ8の出力により指定される参照画素が、上記復号化済画素か未復号化画素であるかの判定がなされる判定対象画素となる。例えば、図17に示すように被復号化画素Px′が決まると、これに対応する参照画素P0′〜P9′が決まり、このうちの主メモリ4から最初に画素値が出力される画素P0′がまず上記判定対象画素となる(ステップS12)。
【0121】
このとき、上記参照画素P0′の画素値は、上記第1,第2補助メモリ6a,6bにでそれぞれ1読出期間,2読出期間の間保持される。また、復号化/未復号化判定器20は、上記カウンタ出力Cout及びブロック数情報BNsに基づいて、被復号化ブロック内での被復号化画素の位置が計算され、 各参照画素について復号化済画素であるか未復号化画素であるかが判定され、この判定結果に応じて上記選択スイッチ12が制御される。
【0122】
この画素P0′は図17に示すように復号化済画素であるため、復号化/未復号化判定器20による判定(ステップS13)の結果、上記選択スイッチ12は該復号化/未復号化判定器20により上記主メモリ4の出力Mを選択するよう制御され、これにより、上記画素P0′の画素値は参照画素値として予測値生成器14に格納される。
【0123】
その後、上記復号化/未復号化判定器20では、被復号化画素Px′に対応する全ての参照画素の画素値が予測値生成器14にて取得されたか否かを判定する(ステップS16)。この場合は、上記予測値生成器14には参照画素P0′〜P9′の全ての参照画素値が取得されていないので、上記復号化/未復号化判定器20は、上記主メモリ4から参照画素P0′の画素値の次に出力される参照画素P1′の画素値を判定対象画素の画素値とする(ステップS18)。そして、参照画素P1′は上記参照画素P0′と同様に復号化済画素であるため、この参照画素P1′の画素値についても上記ステップS13,S15,S16,S18の処理が行われる。
【0124】
続いて、上記復号化/未復号化判定器20では、上記主メモリ4から参照画素P1′の画素値の次に出力される参照画素P2′の画素値が判定対象画素の画素値とされる(ステップS18)。この参照画素P2′は上記参照画素P0′,P1′とは異なり、復号化済画素の隣に位置している未復号化画素であるため、上記選択スイッチ12は該復号化/未復号化判定器20により上記第1補助メモリ6aの出力Maを選択するよう制御され、これにより、上記参照画素P1′の画素値が、参照画素P2′の擬似画素値として予測値生成器14に格納される(ステップS14)。その後は上記ステップS16,ステップS18の処理が行われる。
【0125】
さらに、上記参照画素P3′〜P5′については上記参照画素P0′と同様に上記ステップS13,S15,S16,S18の処理が行われ、さらに参照画素P6′については、上記参照画素P12′と同様にステップS13′,S14′,S16′,S18′の処理が行われる。
【0126】
続いて、上記復号化/未復号化判定器20では、上記主メモリ4から参照画素P6′の画素値の次に出力される参照画素P7′の画素値が判定対象画素の画素値とされる(ステップS18)。この参照画素P7′は上記参照画素P0′〜P6′とは異なり、復号化済画素から1画素分隔てて位置している未復号化画素であるため、上記選択スイッチ12は該復号化/未復号化判定器20により上記第2補助メモリ6bの出力Mbを選択するよう制御され、これにより、上記参照画素P5′の画素値が、参照画素P7′の擬似画素値として予測値生成器14に格納される(ステップS14)。その後は上記ステップS16,ステップS18の処理が行われる。
【0127】
さらに、上記参照画素P8′,P9′については上記参照画素P0′と同様に上記ステップS13,S15,S16の処理が行われる。この場合、復号化/未復号化判定器20は全ての参照画素P0′〜P9′の全てについての参照画素値が上記予測値生成器14に取得されているという判定がなされ、予測値生成器14にて、取得した参照画素値に基づいて、被復号化画素Px′に対応する予測画素値が算出される(ステップS17)。
【0128】
続いて、上記復号化器26aには被復号化画素Px′の画素値とともに上記予測画素値が取得され(ステップS19)、被復号化画素Px′の画素値とその予測画素値との加算値が、上記被復号化画素Pxの画像復号化信号Dsとして出力される(ステップS20)。
【0129】
このようにして1フレーム内の各ブロックの画素値が復号化処理される。なお、1フレームの先頭画素については、復号化処理を施した参照画素が存在しないので、予測画素値を0として復号化処理が行われる。
【0130】
そして上記画像復号化信号Dsは逆ブロック器30にて1フレーム画面に対応するよう統合されて、走査線構造の画像再生信号Rsが出力される。
【0131】
このように本実施の形態5では、未復号化画素の画素値を参照する場合は、その周辺の符号化済画素の画素値を参照するようにしたので、画素単位での適応的な復号化処理とブロック単位での復号化処理とを、未復号化画素と被復号化画素との間での画素値の相関を損なうことなく行うことができる。これにより伝送誤りの影響をブロック単位で収束可能とするとともに、単純なブロック単位の符号化処理に比べて符号化効率を向上した符号化方法により処理された画像符号化信号Csを正しく復号化することができる。
【0132】
なお、上記実施の形態5では、主メモリ4の出力Mを保持する時間の異なる2つの補助メモリ6a,6bを備えたが、主メモリ4の出力を一時的に保持する補助メモリを1つだけ備え、主メモリ4から出力される画素値を保持する時間を、未復号化画素の被復号化画素からの距離に応じて、復号化/未復号化判定器20によって切り換えるようにしてもよい。
【0133】
また、上記実施の形態5では、画像信号の符号化処理の際、被復号化画素Px′の予測画素値のみを参照するものを示したが、被復号化画素Px′の予測画素値だけでなく、予測画素値の確からしさを示す予測確率に基づいて復号化処理を行うようにしてもよい。
【0134】
また、この場合、復号化処理の対象となる画像信号が2値形状信号である場合には、予測画素値は「0」あるいは「1」のいずれかであるため、予測画素値をその一方に固定しておき、予測確率のみを参照するようにしてもよい。
【0135】
以下、本発明の実施の形態6として、上記予測画素値に代えて予測確率のみを参照して2値形状信号の復号化処理を行う画像復号化装置を、また実施の形態7として、上記予測画素値とともに予測確率を参照して、多値の画像信号の復号化処理を行う画像復号化装置についてそれぞれ説明する。
【0136】
実施の形態6.
図10は本発明の実施の形態6による画像復号化装置の構成を示すブロック図である。なお、図中、図8と同一符号は上記実施の形態5の画像復号化装置105におけるものと同一のものを示す。
【0137】
本実施の形態6の画像復号化装置106は、上記実施の形態5の画像復号化装置105における予測値生成器14に代えて予測確率生成器22を備え、画素値が「0」及び「1」のいずれかである2値形状信号に対する復号化処理を行うようにしたものである。
【0138】
上記予測確率生成器22は、被復号化画素Px′に対する参照画素P0′〜P9′の画素値から、被復号化画素Px′の画素値とその予測画素値とが一致する確率を予測確率Skとして求め、被復号化画素Px′に対する予測確率Skを上記復号化器26bに出力する構成となっている。
【0139】
ここで、上記復号化器26bは、上記実施の形態2の画像符号化装置102により符号化された画像符号化信号Csの復号化処理を行う構成となっている。
【0140】
次に作用効果について説明する。
なお、上記実施の形態1の画像符号化装置と共通する動作についてはその説明を省略する。
このような構成の画像復号化装置105による2値形状信号の復号化処理においても、被復号化画素Px′に対する参照画素P0′〜P9′のうち未復号化画素に相当するものについては、その画素値が上記実施の形態5の画像復号化装置105と同様に復号化済画素の画素値から生成され、すべての参照画素P0′〜P9′に対応する画素値が予測確率生成器22に格納される。
【0141】
そして、上記予測確率生成器22では、上記参照画素P0′〜P9′の画素値に基づいて、被復号化画素Px′に対する予測確率Skを求める。この予測確率Skが上記予測確率生成器22から復号化器26bに出力されると、該復号化器26bでは、被復号化画素Px′の画素値と予め設定されている予測画素値との差分値に対して、上記予測確率Skに応じた復号化処理を行う。
【0142】
このように本実施の形態6では、2値の画像信号を符号化してなる画像符号化信号を復号化する画像復号化装置106において、ブロック境界に隣接する予測値生成が困難な被符号化画素を、符号化効率の劣化を抑えつつ符号化することができる符号化処理に対応する復号化処理を実現できる。
【0143】
実施の形態7.
図11は本発明の実施の形態7による画像復号化装置の構成を示すブロック図である。なお、図中、図8と同一符号は上記実施の形態5の画像符号化装置105におけるものと同一のものを示す。
本実施の形態7の画像復号化装置107は、上述したように多値の画像信号に対して符号化処理を行うもので、上記実施の形態3の画像符号化装置103により符号化された画像符号化信号Csの復号化処理を行う構成となっている。
【0144】
具体的には、上記画像復号化装置107の予測確率生成部170は、上記実施の形態5の画像符号化装置105における予測値生成器14に加えて予測確率生成器22を有する構成となっている。
【0145】
上記予測確率生成器22は、上記予測値生成器14と同様、選択スイッチ12の出力Soutを受け、被復号化画素Px′に対する参照画素P0′〜P9′の画素値を順次格納し、これらの画素値に基づいて、上記予測値生成器14にて参照画素P0′〜P9′に基づいて予測される予測画素値Spの確からしさを示す予測確率Skを出力する構成となっている。
【0146】
そして、上記復号化器26cは上記実施の形態3の符号化器16cによる符号化処理に対応する復号化処理を行うものであり、該復号化器26cは、上記予測値生成器14からの予測画素信号Sp及び予測確率生成器22からの予測確率Skに基づいて、被復号化画素Px′の画素値を復号化する構成となっている。
【0147】
次に作用効果について説明する。
なお、上記実施の形態5の画像符号化装置と共通する動作についてはその説明を省略する。
このような構成の画像復号化装置107による多値の画像信号の復号化処理においても、被復号化画素Px′に対する参照画素P0′〜P9′のうち未復号化画素に相当するものについては、その画素値が上記実施の形態5の画像復号化装置105と同様に復号化済画素の画素値から生成され、すべての参照画素P0′〜P9′に対応する画素値が予測確率生成器22及び予測値生成器14に格納される。
【0148】
そして、予測値生成器14では、上記実施の形態5と同様にして参照画素P0′〜P9′から被復号化画素Px′の予測画素値を求める。また上記予測確率生成器22では、上記参照画素P0′〜P9′の画素値に基づいて、被復号化画素Px′に対する予測確率を求める。
【0149】
上記予測画素値Sp及び予測確率Skが復号化器26c及び局所復号化器24に出力されると、該復号化器26cでは、被復号化画素Px′の画素値と予測値生成器14からの予測画素値との加算値に対して、上記予測確率Skに応じた復号化処理を行う。この再生された被復号化画素Px′の画素値は上記主メモリ4に格納される。
【0150】
このように本実施の形態7では、多値の画像信号を符号化してなる画像符号化信号を復号化する画像復号化装置107において、ブロック境界に隣接する予測値生成が困難な被符号化画素を、符号化効率の劣化を抑えつつ符号化することができる符号化処理に対応する復号化処理を実現できる。
【0151】
なお、上記実施の形態5,6,7では、画像復号化装置として、実施の形態1,2,3の画像復号化装置101,102,103により可逆符号化した画像符号化信号を復号化するものを示したが、上記復号化器26aを、非可逆符号化に対応する復号化処理を行う構成とすることにより、上記実施の形態5,6,7における画像復号化装置105,106,107を、実施の形態4,その変形例1,2の画像符号化装置104,104a,104bに対応するものとできる。
【0152】
また、上記実施の形態で示した符号化装置あるいは復号化装置の構成を実現するための符号化あるいは復号化プログラムを、フロッピーディスク等のデータ記憶媒体に記録するようにすることにより、上記実施の形態で示した処理を、独立したコンピュータシステムにおいて簡単に実施することが可能となる。
【0153】
図12(a) は、上記実施の形態の符号化あるいは復号化処理を、上記符号化あるいは復号化プログラムを格納したフロッピーディスクを用いて、コンピュータシステムにより実施する場合を説明するための図である。
【0154】
図12(b) は、フロッピーディスクの正面からみた外観、断面構造、及びフロッピーディスクを示し、図12(a) は、記録媒体本体であるフロッピーディスクの物理フォーマットの例を示している。フロッピーディスクFDはケースF内に内蔵され、該ディスクの表面には、同心円状に外周からは内周に向かって複数のトラックTrが形成され、各トラックは角度方向に16のセクタSeに分割されている。従って、上記プログラムを格納したフロッピーディスクでは、上記フロッピーディスクFD上に割り当てられた領域に、上記プログラムとしてのデータが記録されている。
【0155】
また、図12(c) は、フロッピーディスクFDに上記プログラムの記録再生を行うための構成を示す。上記プログラムをフロッピーディスクFDに記録する場合は、コンピュータシステムCsから上記プログラムとしてのデータをフロッピーディスクドライブを介して書き込む。また、フロッピーディスク内のプログラムにより上記符号化あるいは復号化装置をコンピュータシステム中に構築する場合は、フロッピーディスクドライブによりプログラムをフロッピーディスクから読み出し、コンピュータシステムに転送する。
【0156】
上記説明では、データ記録媒体としてフロッピーディスクを用いて説明を行ったが、光ディスクを用いても同様に行うことができる。また、記録媒体はこれに限らず、ICカード、ROMカセット等、プログラムを記録できるものであれば同様に実施することができる。
【0157】
また、上記実施の形態2,3及び実施の形態4の変形例1,2では、予測確率に応じて符号化方法を切換える例を、実施の形態5,6では、予測確率に応じて復号化方法を切換える例を示したが、上記予測確率に応じて符号語(符号化テーブル)を変更してもよい。特に算術符号で符号化する場合は予測確率により算術符号に相当する確率テーブルを更新するようにすることにより、簡単な構成により、上記実施の形態2,3及び実施の形態4の変形例1,2の画像符号化装置、あるいは実施の形態5,6の画像復号化装置を実現することができ、この場合、その実用上の効果は非常に大きい。
【0158】
また、本発明は、被符号化画素の予測画素値をその周辺に位置する複数の周辺画素の画素値を参照して予測する際、該周辺画素のうちの未符号化画素については、上記周辺画素のうちの符号化済画素の画素値を用いて擬似画素値を生成するようにしたものであるが、被符号化画素のブロック内での位置に応じて、その予測画素値を生成する際に参照される1群の周辺画素として、被符号化画素周辺での配置が異なるものを用いるようにしてもよい。
【0159】
例えば、図14を用いて具体的に説明すると、被符号化画素Pxがブロックの境界に位置する場合には、その周辺画素P0, P1, P3, P4, P5, P8, P9のみを参照画素とし、被符号化画素Pxがブロックの境界以外に位置する場合には、その周辺画素P0, P1, P2, P3, P4, P5, P6, P7, P8, P9の全てを参照画素とする。そして、被符号化画素Pxを符号化する際には、その周辺画素P0, P1, P3, P4, P5, P8, P9のみで構成される符号語と、周辺画素P0, P1, P2, P3, P4, P5, P6, P7, P8, P9の全てで構成される符号語とを切り替えて使用する。
【0160】
言い換えると、符号化器を、被符号化画素Pxのブロック内での位置に応じた符号語を複数有する構成とし、上記被符号化画素Pxの位置に応じて符号語を切換える構成とする。
【0161】
このような構成によっても、上述した本発明の実施の形態の画像符号化装置と同様な効果が得られることは、本発明の実施の形態から容易に類推できる。
【0162】
なお、復号化器についても、図17に示す被復号化画素Px′のブロック内での位置に応じた符号語を複数有する構成とし、上記被復号化画素Px′の位置に応じて符号語を切換える構成とすることにより、上記実施の形態の画像復号化装置と同様な効果が得られることは言うまでもない。
【0163】
【発明の効果】
本発明に係る画像符号化装置によれば、被符号化画素に対応する複数の周辺画素のうちの未符号化画素の画素値を、上記複数の周辺画素のうちの符号化済画素の画素値に基づいて得られる擬似画素値に置き換える画素値置換手段を備えたので、1画像表示領域に対応する画像信号をブロック単位で符号化する処理を、被符号化画素周辺の周辺画素の画素値を画素毎に参照して行う際、被符号化画素がブロックの境界に隣接して位置し、参照される複数の周辺画素に未符号化画素が含まれる場合であっても、未符号化画素の画素値として、他の周辺画素の画素値との間で相関のとれた擬似画素値を参照することができる。この擬似画素値は被符号化画素周辺の符号化済画素の画素値から得られるものであるので、復号化側においても、被復号化画素の復号化の際に参照される未復号化画素については、その画素値の代わりに、復号化済画素の画素値から得られる擬似画素値を参照することができる。
また、被符号化画素の画素値に対する非可逆符号化処理を、上記符号化済画素の画素値を復号化した復号化画素値に基づいて行うので、被符号化画素に対する非可逆符号化処理の際に参照する周辺画素の画素値を、被復号化画素に対する復号化処理の際に参照される周辺画素の画素値と同一にすることができる。
【0164】
このため、画素単位での適応的な符号化処理とブロック単位での符号化処理とを、未符号化画素と被符号化画素との間での画素値の相関を損なうことなく、しかも復号化側にて符号化信号の復号化が困難となるのを回避しつつ組み合わせることができる。
【0165】
これにより伝送誤りの影響をブロック単位で収束可能とし、かつ符号化効率を単純なブロック単位の符号化処理に比べてより高いものとでき、また、被符号化画素の予測効率の劣化を招くことなく符号化した符号化信号の復号化処理を正しく行うことができるという効果が得られる。
【0166】
本発明によれば、上記画像符号化装置において、未符号化画素の擬似画素値として、最も未符号化画素に近い符号化済画素の画素値を用いることにより、未符号化画素の擬似画素値を、周辺画素の画素値との相関の強いものとできる。
【0167】
本発明によれば、上記画像符号化装置において、未符号化画素の擬似画素値として、未符号化画素と同一水平走査線上で上記未符号化画素から最も近い符号化済画素の画素値を用いることにより、符号化済画素の画素値を所定時間保持するといった簡単な方法により、未符号化画素の擬似画素値を得ることができる。
【0168】
本発明によれば、上記画像符号化装置において、上記被符号化画素の画素値とその予測画素値との差分値を符号化することにより、被符号化画素の画素値の符号化に必要となる符号量を低減して符号化効率を向上するこができる。
【0169】
本発明によれば、上記画像符号化装置において、上記符号化済画素の画素値及び未符号化画素の擬似画素値に基づいて、被符号化画素の画素値を符号化するための符号語を選択するようにすることにより、画像信号の符号化処理の際、画素毎に符号語を適応的に変更して、効率のよい符号化処理を実現することができる。
【0170】
本発明によれば、上記画像符号化装置において、上記符号化済画素の画素値及び未符号化画素の予測画素値に基づいて、被符号化画素を符号化する算術符号に相当する確率テーブルを選択して、被符号化画素に対する画素値の符号化を行うことにより、算術符号化処理における確率テーブルを画素毎に適応的に切り替えて、効率のよい符号化処理を行うことができる。
【0171】
本発明によれば、上記画像符号化装置において、被符号化画素の画素値に対して非可逆符号化処理を、上記符号化済画素の画素値を復号化した復号化画素値に基づいて行うことにより、被符号化画素に対する非可逆符号化処理の際に参照する周辺画素の画素値を、被復号化画素に対する復号化処理の際に参照される周辺画素の画素値と同一にすることができ、これにより周辺画素の画素値に基づいた非可逆符号化により得られる画像符号化信号を、復号化側にて正しく復号化することが可能となる。
【0172】
本発明によれば、上記画像符号化装置において、上記符号化済画素の画素値および未符号化画素の擬似画素値から被符号化画素の予測画素値を生成し、上記被符号化画素の画素値とその予測画素値との差分値を符号化することにより、被符号化画素の画素値の符号化に必要となる符号量を低減して符号化効率を向上するこができる。
【0173】
本発明によれば、上記画像符号化装置において、上記符号化済画素の画素値及び未符号化画素の擬似画素値に基づいて、該被符号化画素の画素値を符号化するための符号語を選択することにより、画像信号の符号化処理の際、画素毎に符号語を適応的に変更して、効率のよい符号化処理を実現することができる。
【0174】
本発明によれば、上記画像符号化装置において、上記符号化済画素の画素値及び未符号化画素の擬似画素値に基づいて、被符号化画素を符号化する算術符号に相当する確率テーブルを選択して、被符号化画素に対する画素値の符号化を行うことにより、算術符号化処理における確率テーブルを画素毎に適応的に切り替えて、効率のよい符号化処理を行うことができる。
【0175】
本発明に係る画像符号化方法によれば、画像信号を1画像表示領域上の各ブロックに対応するようブロック化し、該ブロックにおける被符号化画素の画素値を周辺画素の画素値を参照して符号化し、この際、周辺画素が符号化済画素であればその画素値を参照し、該周辺画素が未符号化画素であれば、その画素値に代えて符号化済画素の画素値から得られる擬似画素値を参照するようにしたので、上記符号化処理の際、被符号化画素がブロックの境界に隣接して位置し、参照される複数の周辺画素に未符号化画素が含まれる場合であっても、未符号化画素の画素値として、他の周辺画素の画素値との間で相関のとれた擬似画素値を参照することができる。この擬似画素値は被符号化画素周辺の符号化済画素の画素値から得られるものであるので、復号化側においても、被復号化画素の復号化の際に参照される未復号化画素については、その画素値に代わりに、復号化済画素の画素値から得られる擬似画素値を参照することができる。
また、被符号化画素の画素値に対する非可逆符号化処理を、上記符号化済画素の画素値を復号化した復号化画素値に基づいて行うので、被符号化画素に対する非可逆符号化処理の際に参照する周辺画素の画素値を、被復号化画素に対する復号化処理の際に参照される周辺画素の画素値と同一にすることができる。
【0176】
このため、画素単位での適応的な符号化処理とブロック単位での符号化処理とを、未符号化画素と被符号化画素との間での画素値の相関を損なうことなく、しかも復号化側にて符号化信号の復号化が困難となるのを回避しつつ組み合わせることができる。
【0177】
これにより伝送誤りの影響をブロック単位で収束可能とし、かつ符号化効率を単純なブロック単位の符号化処理に比べてより高いものとでき、また、被符号化画素の予測効率の劣化がなく符号化信号の復号化処理を正しく行うことができるという効果が得られる。
【0178】
このように本発明の画像符号化装置及び画像符号化方法は、画像信号の圧縮処理における符号化効率を向上することができ、画像信号の伝送や記憶を行うシステムにおける画像符号化処理を実現するものとして極めて有用であり、特に、MPEG4等の規格に準拠した動画像の圧縮,伸長処理に適している。
【図面の簡単な説明】
【図1】 本発明の実施の形態1による画像符号化装置の構成を示すブロック図である。
【図2】 上記画像符号化装置による符号化処理における未符号化画素の画素値を生成する処理をフローチャートにより示す図である。
【図3】 本発明の実施の形態2による画像符号化装置の構成を示すブロック図である。
【図4】 本発明の実施の形態3による画像符号化装置の構成を示すブロック図である。
【図5】 本発明の実施の形態4による画像符号化装置の構成を示すブロック図である。
【図6】 上記実施の形態4の変形例1による画像符号化装置の構成を示すブロック図である。
【図7】 上記実施の形態4の変形例2による画像符号化装置の構成を示すブロック図である。
【図8】 本発明の実施の形態5による画像復号化装置の構成を示すブロック図である。
【図9】 上記画像復号化装置による復号化処理における未復号化画素の画素値を生成する処理をフローチャートにより示す図である。
【図10】 本発明の実施の形態6による画像復号化装置の構成を示すブロック図である。
【図11】 本発明の実施の形態7による画像復号化装置の構成を示すブロック図である。
【図12】 図12(a),図12(b),図12(c)は、上記実施の形態の画像符号化装置による符号化処理あるいは画像復号化装置による復号化処理をコンピュータシステムにより実現するためのプログラムを格納したデータ記憶媒体を示す図である。
【図13】 図13(a)、図13(b)は、ブロック単位の符号化処理における1フレーム画面を複数のブロックに区分する様子を示す模式図である。
【図14】 画素単位での適応的な符号化処理を説明するための模式図である。
【図15】 上記ブロック単位の符号化処理と画素単位での符号化処理とを組み合わせた組合せ符号化方法における問題点を説明するための模式図である。
【図16】 図16(a)、図16(b)は、ブロック単位の復号化処理における1フレーム画面を複数のブロックに区分する様子を示す模式図である。
【図17】 画素単位での適応的な復号化処理を説明するための模式図である。
【図18】 上記ブロック単位の復号化処理と画素単位での復号化処理とを組み合わせた組合せ復号化方法における問題点を説明するための模式図である。
【符号の説明】
2 ブロック化器
4 カウンタ
6a,6b 第1,第2補助メモリ
8 カウンタ
10 符号化/未符号化判定器
12 選択スイッチ
14 予測値生成器
16a,16b,16c,16d,16e,16f 符号化器
20 復号化/未復号化判定器
22 予測確率生成器
24 局所復号化器
26a,26b,26c 復号化器
30 逆ブロック化器
101,102,103,104,104a,104b 画像符号化装置
105,106,107 画像復号化装置
110,120,130,140,140a,140b,150,160,170 予測値生成部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image encoding device and an image encoding method, and more particularly to an encoding process for recording or transmitting an image signal with a smaller number of bits without impairing image quality.
[0002]
[Prior art]
Conventional image encoding processing includes encoding processing performed in units of blocks represented by an encoding method compliant with MPEG2, and encoding processing performed in units of pixels such as differential pulse code modulation (DPCM). It is roughly divided into two.
[0003]
The block-by-block encoding process is a technique in which one image display area is divided into a plurality of blocks and an input image signal (hereinafter also referred to as an image input signal) is encoded for each block. Here, the one image display area corresponds to one display screen in the encoding process conforming to MPEG2, and in the encoding process conforming to MPEG4, individual objects ( This corresponds to a display area having a shape and size corresponding to (object). Each block is a display area composed of a predetermined number of pixels in one image display area, and the shape of the block is often a rectangular shape that can be easily processed.
[0004]
In this way, in the encoding method in which the image input signal is encoded in units of blocks, the encoding process of the image input signal corresponding to one image display area is completed for each block. For this reason, even if a transmission error occurs when transmitting an image encoded signal obtained by performing an encoding process on the image input signal, the influence of the error can be converged in units of blocks. is there.
[0005]
On the other hand, the block unit encoding method has the following drawbacks.
First, in the block unit encoding method, since the encoding process of the image input signal is completed for each block, the pixel correlation between the blocks, that is, the correlation of the pixel values existing between different blocks is determined during the encoding process. It is difficult to use.
[0006]
In addition, in the predictive encoding method of an image signal, pixel values of encoded pixels to be encoded (encoded pixel values) are converted to pixel values of a plurality of encoded pixels that are encoded earlier (encoded pixel values). The encoded pixel value is predicted with reference to the encoded pixel value, and the encoded pixel value is adaptively encoded using the predicted pixel value. However, when encoding processing is performed in units of blocks in such a predictive encoding method, the encoded pixel values referred to when encoding the encoded pixel values are limited to the pixels in the block. The number of encoded pixel values to be reduced is reduced. For this reason, the probability of the predicted value of the encoded pixel is reduced, and the encoding efficiency is not so high.
[0007]
On the other hand, the pixel-by-pixel encoding method is a method of encoding an input image signal for each pixel, and in this encoding method, the encoding process of the image input signal can be changed on a pixel-by-pixel basis. . For this reason, in this encoding method, for example, if universal encoding processing such as adaptive arithmetic encoding in which the code word is automatically updated for each pixel in accordance with the characteristics of the image input signal is performed, It is possible to encode an image signal having various characteristics with a very high encoding efficiency.
[0008]
However, the image encoded signal obtained by the pixel-by-pixel encoding method for performing the universal encoding process is subjected to a decoding process for updating a code word on the decoding side in the same manner as the encoding side. Therefore, if a transmission error occurs when transmitting the above-mentioned image encoded signal, the decoding side will not be able to correctly decode the image encoded signal due to the effect of the transmission error for a long time. There are disadvantages.
[0009]
By the way, the block-unit encoding method and the pixel-unit encoding method can be combined, and an encoding method combining them (hereinafter, this encoding method is referred to as a combined encoding method for convenience of description). Therefore, it is possible to switch codewords adaptively for each pixel and to converge the influence of transmission errors on a block basis, and to reduce the influence of transmission errors by performing coding processing such as adaptive arithmetic coding with high coding efficiency. It can be performed while suppressing.
[0010]
Hereinafter, this combination coding method will be described.
FIG. 13 (a) shows a state in which one frame screen is divided into a plurality of rectangular blocks, and FIG. 13 (b) shows a block, particularly a block to be encoded and its surroundings. An arrangement of pixels within a block is shown. Needless to say, each pixel is arranged in a matrix along each horizontal scanning line in one frame screen.
[0011]
In the figure, FG is a screen corresponding to one frame, B1 is a coded block that has already been subjected to coding processing on an image signal, Bx is a coded block that is a target of coding processing, and B0 is still an image. It is an unencoded block that has not been subjected to encoding processing on a signal. However, when the above blocks are not distinguished, they are referred to as block B. BLu, BLs, BLh, and BLm are the upper, lower, left, and right boundaries of the encoded block on one frame screen. In addition, solid line circles indicate encoded pixels that have already been subjected to the encoding process for that pixel value, and dotted line circles indicate unencoded pixels that have not yet been subjected to the encoding process for that pixel value. ing. Each block B is an image display area composed of 4 × 4 pixels on the one-frame screen FG.
[0012]
FIG. 14 shows the positional relationship between the encoded pixel Px to be encoded and the peripheral pixels P0 to P9 located around the encoded pixel Px. This is referred to when predicting the pixel value of the encoded pixel Px, and is hereinafter referred to as reference pixels P0 to P9.
[0013]
Here, the reference pixels P8 and P9 are pixels located on the same horizontal scanning line as the encoded pixel Px, and the reference pixels P9 and P8 respectively correspond to one pixel of the encoded pixel Px, 2 It is located in front of the pixel. Further, the positions of the reference pixels P5 and P1 in the horizontal direction on the one-frame screen FG are the same as the encoded pixel Px, and the reference pixels P5 and P1 are respectively the same as the encoded pixel Px. It is positioned on the horizontal scanning line that is one pixel and two pixels above. Further, the reference pixels P3, P4, P6 and P7 are pixels located on the same horizontal scanning line as the reference pixel P5, and the reference pixels P4 and P3 are respectively one pixel of the coded pixel Px, 2 The reference pixels P6 and P7 are positioned in front of the pixel, and the reference pixels P6 and P7 are positioned behind the encoded pixel Px by one pixel and two pixels, respectively. Further, the reference pixels P0 and P2 are pixels located on the same horizontal scanning line as the reference pixel P1, the reference pixel P0 is one pixel before the reference pixel P1, and the reference pixel P2 is the reference. It is located behind the pixel P1 by one pixel.
[0014]
In the combination coding method, first, as shown in FIGS. 13A and 13B, an image signal corresponding to one frame screen FG is transmitted to each of a plurality of blocks B constituting the one frame screen. The image is divided so as to correspond to each other, and the coding process of the divided image signal is performed for each block.
[0015]
This block-by-block encoding processing is performed by performing horizontal processing for sequentially encoding the pixel values of each pixel from the left side to the right side along the horizontal pixel row in block B. It completes by performing from the top row to the bottom row sequentially for the direction pixel row.
[0016]
Further, in this encoding process, as shown in FIG. 14, the pixel value of the pixel to be encoded Px is adaptively predicted from the pixel values of the reference pixels P0 to P9 positioned around the pixel to be encoded, According to the prediction value obtained by the prediction, the code word used for the encoding process of the pixel to be encoded is adaptively selected.
[0017]
As a result, in the above-described combination coding method, the influence of transmission errors on the decoding side can be converged on a block basis, and the coding efficiency can be improved as compared with a simple block unit coding process.
[0018]
On the other hand, FIGS. 16 (a), 16 (b), and 17 are diagrams for explaining a combination decoding method corresponding to the above combination encoding method. In FIG. Bx ′ is a decoded block, B1 ′ is a decoded block, B0 ′ is an undecoded block, and BLu ′, BLs ′, BLh ′, and BLm ′ are above the decoded block Bx ′. , Lower, left, and right block boundaries, and P0 'to P9' are reference pixels corresponding to the decoded pixel Px '. Here, the arrangement of the reference pixels P0 ′ to P9 ′ with respect to the decoded pixel Px ′ is exactly the same as that of the encoding process shown in FIGS. 13 (a), 13 (b), and 14.
[0019]
In the combination decoding method, first, as shown in FIGS. 16 (a) and 16 (b), an image signal corresponding to one frame screen FG 'is transmitted to a plurality of blocks B' constituting the one frame screen. The image data is divided so as to correspond to each of the blocks, and the decoded image signal is decoded for each block.
[0020]
This block-by-block decoding processing is performed by performing horizontal processing for sequentially decoding pixel values of each pixel from the left side to the right side along the horizontal pixel row in the block B ′. The horizontal pixel column is completed by performing from the top row to the bottom row sequentially.
[0021]
In this decoding process, as shown in FIG. 17, the pixel value of the pixel Px ′ to be decoded is adaptively determined from the pixel values of the reference pixels P0 ′ to P9 ′ positioned around the pixel to be decoded. Prediction is performed, and a codeword used for decoding processing of the decoding target pixel Px ′ is adaptively selected according to the prediction value obtained by the prediction.
[0022]
[Problems to be solved by the invention]
However, the combination encoding method that combines both the block unit encoding process and the pixel unit encoding process has the following problems.
In this combination encoding method, since the encoding process proceeds in units of blocks, when the encoded pixel Px is located adjacent to the right boundary BLm of the encoded block Bx as shown in FIG. The reference pixels P2, P6, and P7 for the pixel Px are uncoded pixels.
[0023]
In this case, when the pixel value of the encoded pixel Px is predicted with reference to the pixel values of the uncoded pixels P2, P6, P7, and the pixel value of the encoded pixel Px is encoded using the predicted value. Therefore, it becomes impossible for the decoding side to correctly decode the encoded image signal corresponding to the encoded pixel Px.
[0024]
That is, in order to correctly decode the encoded image signal obtained by encoding the pixel value of the encoded pixel Px using the predicted value on the decoding side, the decoded pixel Px used in the decoding process. It is necessary to match the predicted value of ′ with the predicted value of the encoded pixel Px corresponding to the decoded pixel Px ′ used in the encoding process. In other words, on the encoding side, the reference pixel value that is referred to when generating the predicted value of the encoded pixel Px is the predicted value of the decoded pixel Px ′ corresponding to the encoded pixel Px. That is, it is necessary to completely match the reference pixel value that is referred to when generating.
[0025]
For this reason, for example, as shown in FIG. 15, when performing the encoding process on the encoded pixel Px, the unencoded pixels P2, P6, and P7 among the reference pixels P0 to P9 for the encoded pixel Px. When the predicted value of the encoded pixel Px is generated with reference to the pixel value, the decoding side performs decoding processing on the decoded pixel Px ′ on the decoding side as shown in FIG. The prediction value of the decoded pixel Px ′ is generated with reference to the pixel values of the reference pixels P0 ′ to P9 ′ corresponding to Px ′. On the decoding side, the reference pixels P0 ′ to P9 ′ Pixel values are not obtained for the undecoded pixels P2 ′, P6 ′, and P7 ′, and the pixel value of the decoded pixel Px ′ corresponding to the encoded pixel Px cannot be decoded.
[0026]
Therefore, in the conventional combination encoding method, in order to avoid the problem that the decoding process becomes difficult when the reference pixels P0 to P9 corresponding to the encoded pixel Px include uncoded pixels as described above. For the uncoded pixel, the pixel value is regarded as a fixed value (for example, 0) set in advance, a predicted value of the encoded pixel Px is generated, and the encoded pixel Px is generated using the predicted value. Measures are taken to perform the encoding process.
[0027]
In the combination coding method in which such countermeasures are taken, on the decoding side, it becomes possible to correctly perform the decoding process using the prediction values for all the pixels in the block. Since the pixel value of the reference pixel is uniformly replaced with a fixed value, the correlation of the pixel value between the uncoded pixel and the coded pixel is lost, and as a result, the prediction efficiency of the coded pixel, That is, there arises a problem that the accuracy of the predicted value for the encoded pixel deteriorates.
[0028]
The present invention has been made to solve the above-described problems, and is an image that can correctly perform the decoding process of the encoded image signal without degrading the prediction efficiency of the encoded pixel. An object is to provide a processing apparatus.
[0029]
[Means for Solving the Problems]
An image encoding apparatus according to the present invention is an image encoding apparatus that encodes pixel values constituting an image signal based on pixel values of a plurality of peripheral pixels located around a pixel to be encoded. Blocking means for dividing an image signal into blocks each including a predetermined number of pixels, and pixel values of unencoded pixels among a plurality of peripheral pixels located around the pixel to be encoded are represented by the plurality of peripheral pixels. A pixel value replacement unit that replaces a pixel value of an encoded pixel with a pseudo pixel value obtained based on a predetermined rule, and an image signal including a plurality of pixels corresponding to the block. Encoding means for encoding and outputting an encoded signal based on the pixel value of the pixel and the pseudo pixel value of the unencoded pixel, and local decoding means for generating a decoded pixel value by decoding the encoded signal And the pixel value replacement The stage replaces the pixel value of the unencoded pixel with a pseudo pixel value obtained based on a predetermined rule from the pixel value of the decoded pixel corresponding to the encoded pixel, and the encoding means includes: Refer to the decoded pixel value obtained by decoding the encoded signal and the pseudo pixel value of the unencoded pixel, and perform irreversible encoding processing on the pixel value of the encoded pixel. Is.
[0030]
An image encoding method according to the present invention is an image encoding method for encoding pixel values constituting an image signal based on pixel values of a plurality of peripheral pixels located around a pixel to be encoded. A block forming step for dividing the image signal into blocks composed of a predetermined number of pixels, and pixel values of unencoded pixels among a plurality of peripheral pixels located around the encoded pixel are represented by the plurality of peripheral pixels. A pixel value replacement step for replacing a pixel value of an encoded pixel with a pseudo pixel value obtained based on a predetermined rule, and an image signal composed of a plurality of pixels corresponding to the block. An encoding step for encoding and outputting an encoded signal based on the pixel value of the pixel and the pseudo pixel value of the unencoded pixel, and a local decoding step for generating a decoded pixel value by decoding the encoded signal And have In the pixel value replacement step, the pixel value of the unencoded pixel is replaced with a pseudo pixel value obtained based on a predetermined rule from the pixel value of the decoded pixel corresponding to the encoded pixel, and the code In the encoding step, with reference to the decoded pixel value obtained by decoding the encoded signal and the pseudo pixel value of the unencoded pixel, the pixel value of the encoded pixel is irreversibly encoded. It is the one that performs processing.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to FIGS.
[0032]
FIG. 1 is a block diagram showing a configuration of an
The
[0033]
The predicted
[0034]
The predicted
[0035]
Further, the predicted
[0036]
In the
[0037]
Next, the operation will be described.
FIG. 2 is a flowchart showing the encoding process of the
When an image signal is input to the main
[0038]
Next, the first reference pixel among the plurality of reference pixels acquired in the
[0039]
As a result of the determination, if the reference pixel to be determined is an encoded pixel, the pixel value is acquired as the reference pixel value by the predicted value generator 14 (step S5), and the determination target If the reference pixel is not an encoded pixel, for this reference pixel, a reference pixel value (pseudo pixel value) is generated from the surrounding encoded pixels and acquired by the prediction value generator 14 (Step S4).
[0040]
Next, it is determined whether or not all the reference pixel values necessary for encoding the encoded pixel have been acquired by the prediction value generator 14 (step S6), and all the necessary reference pixel values are acquired. If not, the next reference pixel among the reference pixels acquired in the
[0041]
Thereafter, the pixel value of the encoded pixel Px is acquired by the
[0042]
Next, the operation of the
When the image input signal Is is input to the
[0043]
At this time, the
[0044]
The
[0045]
At this time, the pixel value of the reference pixel P0 is held in the first and second
[0046]
Since the reference pixel P0 is an encoded pixel as shown in FIG. 14, as a result of the determination by the encoded / unencoded determination unit 10 (step S3), the
[0047]
Thereafter, the encoded /
[0048]
Subsequently, in the encoding /
[0049]
Further, for the reference pixels P3 to P5, the processes of steps S3, S5, S6, and S8 are performed similarly to the reference pixel P0, and for the reference pixel P6, steps S3 and S4 are performed similarly to the reference pixel P2. , S6, S8 are performed.
[0050]
Subsequently, in the encoding /
[0051]
Further, for the reference pixels P8 and P9, the processes of steps S3, S5 and S6 are performed in the same manner as the reference pixel P0. In this case, the encoding /
[0052]
Subsequently, the
[0053]
In this way, the pixel values of each block in one frame are sequentially encoded. Note that for the first pixel of one frame, there is no reference pixel that has been subjected to the encoding process in the vicinity thereof, and therefore the encoding process is performed with the predicted pixel value being 0.
[0054]
As described above, in the first embodiment, when referring to the pixel value of an unencoded pixel, the pixel value of the surrounding encoded pixel is referred to, so that adaptive encoding in pixel units is performed. Processing and block-by-block encoding processing without compromising the correlation of pixel values between unencoded pixels and encoded pixels, and avoiding difficulty in decoding encoded signals. Can be combined. As a result, the influence of transmission errors can be converged in units of blocks, and the encoding efficiency can be improved as compared with a simple block-unit encoding process. Therefore, it is possible to correctly perform the decoding process of the encoded signal that does not cause degradation of the image.
[0055]
That is, when encoding on the encoding side is performed with reference to the pixel values of the surrounding pixels, the decoding processing on the decoding pixels is performed on the decoding side as well. In addition, it is necessary to match the pixel value referred to in the encoding process with the pixel value referred to in the decoding process.
[0056]
Therefore, in the conventional encoding method, when the referenced pixel is an unencoded pixel, a fixed value is used as the pixel value. In this case, however, the correlation between the pixel values is impaired. There was a problem.
[0057]
On the other hand, in the present invention, when the referenced pixel is an uncoded pixel, a pseudo pixel value for the uncoded pixel is generated from the referenced coded pixel according to a predetermined rule. . For example, the pixel values of the uncoded pixels P2, P6, and P7 in FIG. 15 are uniquely determined from the pixel values of the encoded pixels P0, P1, P3, P4, P5, P8, and P9. . As the simplest method, the pixel value of the encoded pixel located on the same horizontal scanning line as the uncoded pixel and having a short distance is set as the pseudo pixel value for the uncoded pixel. In this case, the pixel value of the uncoded pixel P2 is replaced with the pixel value of the encoded pixel P1, and the pixel values of the uncoded pixels P6 and P7 are replaced with the pixel value of the encoded pixel P5. .
[0058]
In this way, the correlation between the pixel values between the encoded and uncoded pixels at the block boundary increases, and high-efficiency encoding is performed using the same prediction method as in the block where the inter-pixel correlation is large. Processing can be realized.
Therefore, it is possible to record and transmit an image signal with a lower number of bits without impairing the image quality.
[0059]
In the first embodiment, the two
[0060]
In the first embodiment, the image signal is encoded by referring only to the predicted pixel value of the encoded pixel Px. However, not only the predicted pixel value of the encoded pixel Px, You may make it perform an encoding process based on the prediction probability which shows the probability of a prediction pixel value.
[0061]
Further, in this case, when the image signal to be encoded is a binary shape signal, the predicted pixel value is either “0” or “1”, so that the predicted pixel value is set to one of them. It may be fixed and only the prediction probability may be referred to.
[0062]
Hereinafter, as a second embodiment of the present invention, an image coding apparatus that performs a coding process of a binary shape signal with reference to only a prediction probability instead of the predicted pixel value, and as a third embodiment, the prediction Image encoding apparatuses that perform encoding processing of multi-value image signals with reference to pixel values and prediction probabilities will be described.
[0063]
FIG. 3 is a block diagram showing the configuration of the
[0064]
The
[0065]
The
[0066]
Here, since the
[0067]
Next, the function and effect will be described.
Note that description of operations common to those of the image coding apparatus according to
Also in the encoding process of the binary shape signal by the
[0068]
And in the said
[0069]
As described above, in the second embodiment, in the
[0070]
The encoding process based on the prediction probability is described in, for example, the international standard JBIG (Joint Bi-level Image Coding Experts Group). The encoding method described in this standard is an encoding process. Is performed in pixel units (non-block units), the reference pixel is always an encoded pixel, and the reference pixel becomes an uncoded pixel in the block-unit encoding process, which is a problem to be solved by the present invention. In addition to the above problem, there is no disclosure about a countermeasure for how to set the pixel value for the uncoded pixel.
[0071]
FIG. 4 is a block diagram showing the configuration of the
[0072]
As described above, this
[0073]
Similar to the
[0074]
The
[0075]
Specifically, when the probability of the predicted pixel value is large, the difference between the pixel value of the encoded pixel and the predicted pixel value is small. Therefore, the
[0076]
Also in the encoding process of the multi-value image signal by the
[0077]
Then, the predicted
[0078]
When the prediction pixel value Sp and the prediction probability Sk are output to the
[0079]
As described above, in the third embodiment, in the
[0080]
FIG. 5 is a block diagram showing the configuration of the
The
[0081]
That is, the
[0082]
In the
[0083]
For this reason, in the
[0084]
In
[0085]
In this case, when the image signal to be subjected to the irreversible encoding process is a binary shape signal, the predicted pixel value is either “0” or “1”. It may be fixed to one side and only the prediction probability may be referred to.
[0086]
Therefore, as a first modification of the fourth embodiment of the present invention, an image coding apparatus that performs irreversible coding processing of a binary shape signal with reference to only the prediction probability instead of the predicted pixel value is described above. As a second modification of the fourth embodiment, an image encoding device that performs lossy encoding processing of a multi-valued image signal with reference to the prediction probability together with the predicted pixel value will be described.
[0087]
FIG. 6 is a block diagram showing a configuration of an
[0088]
The
[0089]
The
[0090]
Here, since the
[0091]
Further, the
Note that description of operations common to those of the image coding apparatus according to the fourth embodiment is omitted.
[0092]
Also in the encoding process of the binary shape signal by the
[0093]
Then, the
[0094]
As described above, in the first modification of the fourth embodiment, in the
[0095]
FIG. 7 is a block diagram showing a configuration of an
[0096]
As described above, the
[0097]
Similar to the
[0098]
Then, the
Further, the
[0099]
Also in the encoding process of the multi-value image signal by the
[0100]
Then, the predicted
[0101]
When the prediction pixel value Sp and the prediction probability Sk are output to the
[0102]
As a result, it is possible to achieve a significant improvement in coding efficiency for image signals that are easy to generate predicted values without degrading the coding efficiency for image signals that are difficult to generate predicted values.
[0103]
As described above, in the second modification of the fourth embodiment, in the
[0104]
FIG. 8 is a block diagram showing the configuration of the
The
[0105]
The
[0106]
Here, the predicted
[0107]
That is, the predicted
[0108]
The predicted
[0109]
Further, the predicted
[0110]
In the
[0111]
Next, the operation will be described.
FIG. 9 is a flowchart showing the decoding process of the
The encoded image signal Cs is input to the present
[0112]
At this time, a plurality of decoded pixel values corresponding to one frame are sequentially stored in the
[0113]
Next, the first reference pixel among the plurality of reference pixels acquired in the
[0114]
As a result of the determination, if the reference pixel to be determined is a decoded pixel, the pixel value is acquired as the reference pixel value by the predicted value generator 14 (step S15), and the determination target If the reference pixel is not a decoded pixel, for this reference pixel, a reference pixel value (pseudo pixel value) is generated from the surrounding decoded pixels and acquired by the
[0115]
Next, it is determined whether or not all the reference pixel values necessary for decoding the decoded pixel have been acquired by the prediction value generator 14 (step S16), and all the necessary reference pixel values are acquired. If not, the next reference pixel among the reference pixels acquired in the
[0116]
Thereafter, the pixel value of the decoded pixel Px ′ is acquired by the
[0117]
Next, the specific operation of each part of the apparatus in steps S11 to S20 will be described in detail along with the operation of the
[0118]
When the encoded image signal Cs is input to the main
[0119]
At this time, the
[0120]
The
[0121]
At this time, the pixel value of the reference pixel P0 'is held in the first and second
[0122]
Since this pixel P0 ′ is a decoded pixel as shown in FIG. 17, as a result of the determination by the decoding / undecoding determination unit 20 (step S13), the
[0123]
Thereafter, the decoding /
[0124]
Subsequently, in the decoding /
[0125]
Further, the reference pixels P3 ′ to P5 ′ are processed in the same steps S13, S15, S16, and S18 as the reference pixel P0 ′, and the reference pixel P6 ′ is the same as the reference pixel P12 ′. Steps S13 ', S14', S16 ', and S18' are performed.
[0126]
Subsequently, in the decoding /
[0127]
Further, for the reference pixels P8 'and P9', the processes of steps S13, S15, and S16 are performed in the same manner as the reference pixel P0 '. In this case, the decoding /
[0128]
Subsequently, the
[0129]
In this way, the pixel value of each block in one frame is decoded. Note that for the first pixel of one frame, since there is no reference pixel that has been subjected to the decoding process, the decoding process is performed with the predicted pixel value set to 0.
[0130]
The decoded image signal Ds is integrated by the
[0131]
As described above, in the fifth embodiment, when referring to the pixel value of the undecoded pixel, the pixel value of the surrounding encoded pixel is referred to, so that adaptive decoding in pixel units is performed. The process and the decoding process in units of blocks can be performed without impairing the correlation of pixel values between undecoded pixels and decoded pixels. As a result, the influence of transmission errors can be converged in units of blocks, and the image encoded signal Cs processed by the encoding method with improved encoding efficiency compared to the simple block-unit encoding process is correctly decoded. be able to.
[0132]
In the fifth embodiment, the two
[0133]
In the fifth embodiment, the image signal encoding process refers to only the predicted pixel value of the decoded pixel Px ′. However, only the predicted pixel value of the decoded pixel Px ′ is referred to. Instead, the decoding process may be performed based on the prediction probability indicating the likelihood of the predicted pixel value.
[0134]
In this case, when the image signal to be decoded is a binary shape signal, the predicted pixel value is either “0” or “1”, so that the predicted pixel value is set to one of them. It may be fixed and only the prediction probability may be referred to.
[0135]
Hereinafter, as a sixth embodiment of the present invention, an image decoding apparatus that performs a decoding process of a binary shape signal with reference to only a prediction probability instead of the predicted pixel value, and as a seventh embodiment, the prediction Image decoding apparatuses that perform decoding processing of multi-value image signals with reference to pixel values and prediction probabilities will be described.
[0136]
Embodiment 6 FIG.
FIG. 10 is a block diagram showing a configuration of an image decoding apparatus according to Embodiment 6 of the present invention. In the figure, the same reference numerals as those in FIG. 8 denote the same components as those in the
[0137]
The
[0138]
The
[0139]
Here, the
[0140]
Next, the function and effect will be described.
Note that description of operations common to those of the image coding apparatus according to
Also in the decoding process of the binary shape signal by the
[0141]
Then, the
[0142]
As described above, in the sixth embodiment, in the
[0143]
Embodiment 7 FIG.
FIG. 11 is a block diagram showing a configuration of an image decoding apparatus according to Embodiment 7 of the present invention. In the figure, the same reference numerals as those in FIG. 8 denote the same elements as those in the
The
[0144]
Specifically, the prediction
[0145]
Like the
[0146]
The
[0147]
Next, the function and effect will be described.
Note that description of operations common to those of the image coding apparatus according to the fifth embodiment is omitted.
Also in the decoding process of the multi-value image signal by the
[0148]
Then, the predicted
[0149]
When the prediction pixel value Sp and the prediction probability Sk are output to the
[0150]
As described above, in the seventh embodiment, in the
[0151]
In the fifth, sixth, and seventh embodiments, the image encoded signals that have been losslessly encoded by the
[0152]
Further, by recording an encoding or decoding program for realizing the configuration of the encoding device or the decoding device shown in the above embodiment on a data storage medium such as a floppy disk, the above embodiment The processing shown in the form can be easily performed in an independent computer system.
[0153]
FIG. 12 (a) is a diagram for explaining a case where the encoding or decoding process of the above embodiment is performed by a computer system using a floppy disk storing the encoding or decoding program. .
[0154]
FIG. 12B shows an external appearance, a cross-sectional structure, and a floppy disk when viewed from the front of the floppy disk, and FIG. 12A shows an example of a physical format of the floppy disk which is a recording medium body. The floppy disk FD is built in the case F, and on the surface of the disk, a plurality of tracks Tr are formed concentrically from the outer periphery toward the inner periphery, and each track is divided into 16 sectors Se in the angular direction. ing. Therefore, in the floppy disk storing the program, data as the program is recorded in an area allocated on the floppy disk FD.
[0155]
FIG. 12C shows a configuration for recording and reproducing the program on the floppy disk FD. When the program is recorded on the floppy disk FD, data as the program is written from the computer system Cs via the floppy disk drive. When the encoding or decoding device is built in a computer system by a program in a floppy disk, the program is read from the floppy disk by a floppy disk drive and transferred to the computer system.
[0156]
In the above description, a floppy disk is used as the data recording medium, but the same can be done using an optical disk. Further, the recording medium is not limited to this, and any recording medium such as an IC card or a ROM cassette capable of recording a program can be similarly implemented.
[0157]
In the second and third embodiments, and the first and second modifications of the fourth embodiment, the encoding method is switched according to the prediction probability. In the fifth and sixth embodiments, the decoding is performed according to the prediction probability. Although the example which switches a method was shown, you may change a codeword (coding table) according to the said prediction probability. In particular, in the case of encoding with an arithmetic code, the probability table corresponding to the arithmetic code is updated based on the prediction probability, so that the first and second embodiments and the first and second modifications of the fourth and fourth embodiments have a simple configuration. 2 or the image decoding apparatuses according to the fifth and sixth embodiments can be realized. In this case, the practical effect is very large.
[0158]
In the present invention, when predicting a predicted pixel value of a pixel to be encoded with reference to pixel values of a plurality of peripheral pixels located in the vicinity thereof, an uncoded pixel among the peripheral pixels The pseudo pixel value is generated using the pixel value of the encoded pixel of the pixels. When generating the predicted pixel value according to the position of the encoded pixel in the block, As a group of peripheral pixels referred to in FIG. 1, pixels having different arrangements around the pixel to be encoded may be used.
[0159]
For example, referring to FIG. 14, when the encoded pixel Px is located at a block boundary, only the peripheral pixels P0, P1, P3, P4, P5, P8, and P9 are used as reference pixels. When the encoded pixel Px is located outside the block boundary, all the surrounding pixels P0, P1, P2, P3, P4, P5, P6, P7, P8, and P9 are set as reference pixels. When the encoded pixel Px is encoded, a code word composed only of the peripheral pixels P0, P1, P3, P4, P5, P8, P9 and the peripheral pixels P0, P1, P2, P3, A codeword composed of all of P4, P5, P6, P7, P8, and P9 is used by switching.
[0160]
In other words, the encoder is configured to have a plurality of code words corresponding to the position of the encoded pixel Px in the block, and the code word is switched according to the position of the encoded pixel Px.
[0161]
It can be easily inferred from the embodiment of the present invention that the same effect as that of the above-described image encoding device of the embodiment of the present invention can be obtained by such a configuration.
[0162]
Note that the decoder also includes a plurality of codewords corresponding to the position of the decoded pixel Px ′ shown in FIG. 17 in the block, and the codeword is determined according to the position of the decoded pixel Px ′. It goes without saying that the same effect as that of the image decoding apparatus according to the above-described embodiment can be obtained by adopting the switching configuration.
[0163]
【The invention's effect】
According to the image encoding device according to the present invention, the pixel value of an uncoded pixel among the plurality of peripheral pixels corresponding to the pixel to be encoded is set to the pixel value of the encoded pixel among the plurality of peripheral pixels. Since the pixel value replacement means for replacing with the pseudo pixel value obtained based on the above is provided, the process of encoding the image signal corresponding to one image display area in units of blocks is performed, and the pixel values of the peripheral pixels around the pixel to be encoded are When performing the reference for each pixel, even if the encoded pixel is located adjacent to the boundary of the block and the plurality of referenced peripheral pixels include the uncoded pixel, As the pixel value, a pseudo pixel value correlated with the pixel values of other peripheral pixels can be referred to. Since this pseudo pixel value is obtained from the pixel values of the encoded pixels around the encoded pixel, on the decoding side, the undecoded pixel that is referred to when the decoded pixel is decoded. Can refer to the pseudo pixel value obtained from the pixel value of the decoded pixel instead of the pixel value.
Further, since the lossy encoding process for the pixel value of the encoded pixel is performed based on the decoded pixel value obtained by decoding the pixel value of the encoded pixel, the lossy encoding process for the encoded pixel is performed. The pixel value of the peripheral pixel referred to at the time can be made the same as the pixel value of the peripheral pixel referred to in the decoding process for the pixel to be decoded.
[0164]
Therefore, adaptive encoding processing in units of pixels and encoding processing in units of blocks are decoded without impairing the correlation of pixel values between uncoded pixels and encoded pixels. It is possible to combine them while avoiding difficulty in decoding the encoded signals on the side.
[0165]
As a result, the influence of transmission errors can be converged on a block-by-block basis, and the coding efficiency can be made higher than that of a simple block-by-block coding process, and the prediction efficiency of a pixel to be coded is degraded. Thus, there is an effect that it is possible to correctly perform the decoding process of the encoded signal that is encoded without any problem.
[0166]
According to the present invention, in the image encoding device, by using the pixel value of the encoded pixel closest to the uncoded pixel as the pseudo pixel value of the uncoded pixel, the pseudo pixel value of the uncoded pixel is used. Can be made to have a strong correlation with the pixel values of the surrounding pixels.
[0167]
According to the present invention, in the image encoding device, the pixel value of the encoded pixel closest to the uncoded pixel on the same horizontal scanning line as the uncoded pixel is used as the pseudo pixel value of the uncoded pixel. Thus, the pseudo pixel value of the uncoded pixel can be obtained by a simple method of holding the pixel value of the coded pixel for a predetermined time.
[0168]
According to the present invention, in the image encoding device, it is necessary to encode the pixel value of the encoded pixel by encoding the difference value between the pixel value of the encoded pixel and the predicted pixel value. Thus, the coding efficiency can be improved by reducing the amount of code.
[0169]
According to the present invention, in the image encoding device, a codeword for encoding a pixel value of a pixel to be encoded is based on a pixel value of the encoded pixel and a pseudo pixel value of an unencoded pixel. By making the selection, an efficient encoding process can be realized by adaptively changing the code word for each pixel during the encoding process of the image signal.
[0170]
According to the present invention, in the image encoding device, a probability table corresponding to an arithmetic code for encoding an encoded pixel based on a pixel value of the encoded pixel and a predicted pixel value of an unencoded pixel is provided. By selecting and encoding the pixel value for the pixel to be encoded, the probability table in the arithmetic encoding process can be adaptively switched for each pixel, and an efficient encoding process can be performed.
[0171]
According to the present invention, in the image encoding device, the lossy encoding process is performed on the pixel value of the encoded pixel based on the decoded pixel value obtained by decoding the pixel value of the encoded pixel. Thus, the pixel value of the peripheral pixel referred to in the irreversible encoding process for the pixel to be encoded may be the same as the pixel value of the peripheral pixel referred to in the decoding process for the pixel to be decoded. Thus, it is possible to correctly decode an image encoded signal obtained by irreversible encoding based on pixel values of peripheral pixels on the decoding side.
[0172]
According to the present invention, in the image encoding device, a predicted pixel value of an encoded pixel is generated from a pixel value of the encoded pixel and a pseudo pixel value of an uncoded pixel, and the pixel of the encoded pixel By encoding the difference value between the value and the predicted pixel value, it is possible to reduce the amount of code required for encoding the pixel value of the encoded pixel and improve the encoding efficiency.
[0173]
According to the present invention, in the image encoding device, the codeword for encoding the pixel value of the encoded pixel based on the pixel value of the encoded pixel and the pseudo pixel value of the uncoded pixel. By selecting, it is possible to adaptively change the code word for each pixel during the encoding process of the image signal, thereby realizing an efficient encoding process.
[0174]
According to the present invention, in the image encoding device, a probability table corresponding to an arithmetic code for encoding an encoded pixel based on a pixel value of the encoded pixel and a pseudo pixel value of an unencoded pixel is provided. By selecting and encoding the pixel value for the pixel to be encoded, the probability table in the arithmetic encoding process can be adaptively switched for each pixel, and an efficient encoding process can be performed.
[0175]
According to the image coding method of the present invention, an image signal is blocked so as to correspond to each block on one image display area, and the pixel value of the pixel to be encoded in the block is referred to the pixel values of the surrounding pixels. In this case, if the peripheral pixel is an encoded pixel, the pixel value is referred to. If the peripheral pixel is an uncoded pixel, the pixel value is obtained from the encoded pixel value instead of the pixel value. When the encoding process is performed, the encoded pixel is located adjacent to the boundary of the block, and the plurality of peripheral pixels referred to include uncoded pixels. Even so, as the pixel value of the unencoded pixel, a pseudo pixel value correlated with the pixel values of other peripheral pixels can be referred to. Since this pseudo pixel value is obtained from the pixel values of the encoded pixels around the encoded pixel, on the decoding side, the undecoded pixel that is referred to when the decoded pixel is decoded. Can refer to the pseudo pixel value obtained from the pixel value of the decoded pixel instead of the pixel value.
Further, since the lossy encoding process for the pixel value of the encoded pixel is performed based on the decoded pixel value obtained by decoding the pixel value of the encoded pixel, the lossy encoding process for the encoded pixel is performed. The pixel value of the peripheral pixel referred to at the time can be made the same as the pixel value of the peripheral pixel referred to in the decoding process for the pixel to be decoded.
[0176]
Therefore, adaptive encoding processing in units of pixels and encoding processing in units of blocks are decoded without impairing the correlation of pixel values between uncoded pixels and encoded pixels. It is possible to combine them while avoiding difficulty in decoding the encoded signals on the side.
[0177]
As a result, the effects of transmission errors can be converged on a block-by-block basis, and the encoding efficiency can be made higher than that of a simple block-unit encoding process. The effect that the decoding process of the digitized signal can be performed correctly is obtained.
[0178]
As described above, the image encoding device and the image encoding method of the present invention can improve the encoding efficiency in the compression process of the image signal, and realize the image encoding process in the system that transmits and stores the image signal. It is extremely useful as a video image, and is particularly suitable for moving image compression and expansion processing based on standards such as MPEG4.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an image encoding device according to
FIG. 2 is a flowchart illustrating a process for generating a pixel value of an unencoded pixel in an encoding process by the image encoding apparatus.
FIG. 3 is a block diagram showing a configuration of an image coding apparatus according to
FIG. 4 is a block diagram showing a configuration of an image coding apparatus according to
FIG. 5 is a block diagram showing a configuration of an image coding apparatus according to
FIG. 6 is a block diagram showing a configuration of an image encoding device according to a first modification of the fourth embodiment.
7 is a block diagram showing a configuration of an image encoding device according to a second modification of the fourth embodiment. FIG.
FIG. 8 is a block diagram showing a configuration of an image decoding apparatus according to
FIG. 9 is a diagram illustrating a process of generating a pixel value of an undecoded pixel in a decoding process by the image decoding apparatus, using a flowchart.
FIG. 10 is a block diagram showing a configuration of an image decoding apparatus according to Embodiment 6 of the present invention.
FIG. 11 is a block diagram showing a configuration of an image decoding apparatus according to a seventh embodiment of the present invention.
FIGS. 12 (a), 12 (b), and 12 (c) show the computer system that performs the encoding process by the image encoding apparatus or the decoding process by the image decoding apparatus according to the above embodiment. It is a figure which shows the data storage medium which stored the program for doing.
FIGS. 13A and 13B are schematic diagrams illustrating a state in which one frame screen is divided into a plurality of blocks in the block-unit encoding process.
FIG. 14 is a schematic diagram for explaining adaptive encoding processing in units of pixels.
FIG. 15 is a schematic diagram for explaining a problem in the combination encoding method in which the block-unit encoding process and the pixel-unit encoding process are combined.
FIGS. 16A and 16B are schematic diagrams illustrating a state in which one frame screen is divided into a plurality of blocks in a block-unit decoding process.
FIG. 17 is a schematic diagram for explaining an adaptive decoding process in units of pixels.
FIG. 18 is a schematic diagram for explaining a problem in the combined decoding method in which the decoding process in units of blocks and the decoding process in units of pixels are combined.
[Explanation of symbols]
2 Block generator
4 counter
6a, 6b first and second auxiliary memories
8 counter
10 Encoded / uncoded determiner
12 Selection switch
14 Predicted value generator
16a, 16b, 16c, 16d, 16e, 16f Encoder
20 Decoding / undecoding determiner
22 Prediction probability generator
24 Local decoder
26a, 26b, 26c decoder
30 Deblocker
101, 102, 103, 104, 104a, 104b Image coding apparatus
105, 106, 107 Image decoding apparatus
110, 120, 130, 140, 140a, 140b, 150, 160, 170 Predicted value generation unit
Claims (2)
上記画像信号を、所定数の画素からなるブロックに分割するブロック化手段と、
上記被符号化画素の周辺に位置する複数の周辺画素のうちの未符号化画素の画素値を、該複数の周辺画素のうちの符号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換する画素値置換手段と、
上記ブロックに対応する複数の画素からなる画像信号を、上記符号化済画素の画素値及び上記未符号化画素の擬似画素値に基づいて符号化して符号化信号を出力する符号化手段と、
上記符号化信号を復号化して復号化済画素値を生成する局所復号化手段とを備え、
上記画素値置換手段は、上記未符号化画素の画素値を、上記符号化済画素に対応する復号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換し、
上記符号化手段は、上記符号化信号を復号化して得られた復号化済画素値及び上記未符号化画素の擬似画素値を参照して、上記被符号化画素の画素値に対して非可逆符号化処理を施す、
ことを特徴とする画像符号化装置。An image encoding device that encodes pixel values constituting an image signal based on pixel values of a plurality of peripheral pixels located around a pixel to be encoded,
Blocking means for dividing the image signal into blocks composed of a predetermined number of pixels;
A pixel value of an unencoded pixel among a plurality of peripheral pixels located around the encoded pixel is obtained from a pixel value of an encoded pixel of the plurality of peripheral pixels based on a predetermined rule. A pixel value replacement means for replacing the pseudo pixel value;
Encoding means for encoding an image signal composed of a plurality of pixels corresponding to the block based on a pixel value of the encoded pixel and a pseudo pixel value of the unencoded pixel and outputting an encoded signal;
Local decoding means for decoding the encoded signal and generating decoded pixel values,
The pixel value replacement means replaces the pixel value of the unencoded pixel with a pseudo pixel value obtained based on a predetermined rule from the pixel value of the decoded pixel corresponding to the encoded pixel,
The encoding means refers to a decoded pixel value obtained by decoding the encoded signal and a pseudo pixel value of the unencoded pixel, and is irreversible with respect to the pixel value of the encoded pixel. Encoding process,
An image encoding apparatus characterized by that.
上記画像信号を、所定数の画素からなるブロックに分割するブロック化ステップと、
上記被符号化画素の周辺に位置する複数の周辺画素のうちの未符号化画素の画素値を、該複数の周辺画素のうちの符号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換する画素値置換ステップと、
上記ブロックに対応する複数の画素からなる画像信号を、上記符号化済画素の画素値及び上記未符号化画素の擬似画素値に基づいて符号化して符号化信号を出力する符号化ステップと、
上記符号化信号を復号化して復号化済画素値を生成する局所復号化ステップとを有し、
上記画素値置換ステップでは、上記未符号化画素の画素値を、上記符号化済画素に対応する復号化済画素の画素値から所定の規則に基づいて得られる擬似画素値と置換し、
上記符号化ステップでは、上記符号化信号を復号化して得られた復号化済画素値及び上記未符号化画素の擬似画素値を参照して、上記被符号化画素の画素値に対して非可逆符号化処理を施す、
ことを特徴とする画像符号化方法。An image encoding method for encoding pixel values constituting an image signal based on pixel values of a plurality of peripheral pixels located around a pixel to be encoded,
A blocking step for dividing the image signal into blocks each having a predetermined number of pixels;
A pixel value of an unencoded pixel among a plurality of peripheral pixels located around the encoded pixel is obtained from a pixel value of an encoded pixel of the plurality of peripheral pixels based on a predetermined rule. A pixel value replacement step for replacing the pseudo pixel value;
An encoding step of encoding an image signal composed of a plurality of pixels corresponding to the block based on a pixel value of the encoded pixel and a pseudo pixel value of the unencoded pixel, and outputting an encoded signal;
A local decoding step of decoding the encoded signal to generate decoded pixel values;
In the pixel value replacement step, the pixel value of the uncoded pixel is replaced with a pseudo pixel value obtained based on a predetermined rule from the pixel value of the decoded pixel corresponding to the encoded pixel,
In the encoding step, referring to the decoded pixel value obtained by decoding the encoded signal and the pseudo pixel value of the unencoded pixel, the pixel value of the encoded pixel is irreversible. Encoding process,
An image encoding method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000308730A JP3735244B2 (en) | 1996-10-30 | 2000-10-10 | Image coding apparatus and image coding method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28785896 | 1996-10-30 | ||
JP8-287858 | 1996-10-30 | ||
JP2000308730A JP3735244B2 (en) | 1996-10-30 | 2000-10-10 | Image coding apparatus and image coding method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP52029098A Division JP3176378B2 (en) | 1996-10-30 | 1997-10-29 | Image decoding apparatus and image decoding method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2001157212A JP2001157212A (en) | 2001-06-08 |
JP2001157212A5 JP2001157212A5 (en) | 2005-06-16 |
JP3735244B2 true JP3735244B2 (en) | 2006-01-18 |
Family
ID=26556916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000308730A Expired - Lifetime JP3735244B2 (en) | 1996-10-30 | 2000-10-10 | Image coding apparatus and image coding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3735244B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4799477B2 (en) * | 2007-05-08 | 2011-10-26 | キヤノン株式会社 | Image coding apparatus and image coding method |
-
2000
- 2000-10-10 JP JP2000308730A patent/JP3735244B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2001157212A (en) | 2001-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3176378B2 (en) | Image decoding apparatus and image decoding method | |
US5481554A (en) | Data transmission apparatus for transmitting code data | |
JP4788649B2 (en) | Moving image recording method and apparatus | |
US7227900B2 (en) | Differential encoding | |
JP3762392B2 (en) | Video coding method and apparatus | |
JP2570384B2 (en) | Video signal encoding / decoding method | |
US6690724B1 (en) | Image processing method, image processing device, and data recording medium | |
US20030112870A1 (en) | Encoder and decoder | |
KR100266124B1 (en) | Methods, apparatuses and program recording media for image coding and image decoding | |
JPH1175180A (en) | Image processing device and method, and transmission medium and method | |
EP0606856B1 (en) | Digital video recording device with variable speed reproduction | |
KR100537123B1 (en) | Picture signal coding device, picture signal coding method, picture signal decoding device, picture signal decoding method, and recording medium | |
JP3735244B2 (en) | Image coding apparatus and image coding method | |
JP3176601B1 (en) | Image decoding device | |
KR19980087387A (en) | Variable rate encoding device | |
JP2003333600A (en) | Image encoding method and image decoding method | |
JP2001157212A5 (en) | ||
US20010043653A1 (en) | Method and apparatus for image encoding method and appartus for image decoding and recording medium | |
JP3902698B2 (en) | Lossless compression encoding apparatus and lossless decompression decoding apparatus for moving images | |
JP2006108932A (en) | Motion picture encoding device using plural reference pictures, motion picture decoding device, motion picture encoding method, motion picture decoding method, motion picture encoding program and motion picture decoding program | |
JP2002027478A (en) | Image information encoding apparatus and method therefor | |
JP2663627B2 (en) | Image signal recording / reproducing device | |
JPH07107435A (en) | Optical disk recording and reproducing device | |
JP2002232886A (en) | Image encoding method, image encoder, and image decoding method and image decoder | |
JPH02277387A (en) | Moving image encoder/decoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040916 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040916 |
|
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: 20051018 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20051021 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091028 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091028 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101028 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111028 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121028 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131028 Year of fee payment: 8 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R370 | Written measure of declining of transfer procedure |
Free format text: JAPANESE INTERMEDIATE CODE: R370 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S131 | Request for trust registration of transfer of right |
Free format text: JAPANESE INTERMEDIATE CODE: R313135 |
|
SZ02 | Written request for trust registration |
Free format text: JAPANESE INTERMEDIATE CODE: R313Z02 |
|
SZ02 | Written request for trust registration |
Free format text: JAPANESE INTERMEDIATE CODE: R313Z02 |
|
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 |
|
EXPY | Cancellation because of completion of term |